UNPKG

yk-element-components-v2

Version:

2 lines (1 loc) 1.48 kB
(function(f,r){typeof exports=="object"&&typeof module<"u"?module.exports=r():typeof define=="function"&&define.amd?define(r):(f=typeof globalThis<"u"?globalThis:f||self,f.index=r())})(this,function(){"use strict";const f="";function r(i,n,a,m,s,_,u,y){var e=typeof i=="function"?i.options:i;n&&(e.render=n,e.staticRenderFns=a,e._compiled=!0),m&&(e.functional=!0),_&&(e._scopeId="data-v-"+_);var o;if(u?(o=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},e._ssrRegister=o):s&&(o=y?function(){s.call(this,(e.functional?this.parent:this).$root.$options.shadowRoot)}:s),o)if(e.functional){e._injectStyles=o;var C=e.render;e.render=function(b,p){return o.call(p),C(b,p)}}else{var l=e.beforeCreate;e.beforeCreate=l?[].concat(l,o):[o]}return{exports:i,options:e}}const c={name:"yk-footer",props:{height:{type:String,default:"50px"},background:{type:String,default:"#FFFFFF"},position:{type:String,default:"center"}}};var h=function(){var n=this,a=n._self._c;return a("footer",{staticClass:"yk-footer",style:{height:n.height,minHeight:n.height,background:n.background,justifyContent:n.position=="left"?"":n.position=="right"?"flex-end":"center"}},[n._t("default")],2)},v=[],g=r(c,h,v,!1,null,"a5b5c85b",null,null);const d=g.exports;return{install(i){i.component(d.name,d)}}});