UNPKG

yk-element-components-v2

Version:

71 lines (70 loc) 1.75 kB
function v(i, n, a, u, r, s, _, c) { var e = typeof i == "function" ? i.options : i; n && (e.render = n, e.staticRenderFns = a, e._compiled = !0), u && (e.functional = !0), s && (e._scopeId = "data-v-" + s); var o; if (_ ? (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__), r && r.call(this, t), t && t._registeredComponents && t._registeredComponents.add(_); }, e._ssrRegister = o) : r && (o = c ? function() { r.call( this, (e.functional ? this.parent : this).$root.$options.shadowRoot ); } : r), o) if (e.functional) { e._injectStyles = o; var p = e.render; e.render = function(h, d) { return o.call(d), p(h, d); }; } else { var f = e.beforeCreate; e.beforeCreate = f ? [].concat(f, o) : [o]; } return { exports: i, options: e }; } const g = { name: "yk-footer", props: { height: { type: String, default: "50px" }, background: { type: String, default: "#FFFFFF" }, position: { type: String, default: "center" } } }; var m = 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); }, C = [], b = /* @__PURE__ */ v( g, m, C, !1, null, "a5b5c85b", null, null ); const l = b.exports, y = { install(i) { i.component(l.name, l); } }; export { y as default };