tk-eui-plus
Version:
2 lines (1 loc) • 699 B
JavaScript
(function(t,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(t=typeof globalThis<"u"?globalThis:t||self,t.index=n(t.Vue))})(this,function(t){"use strict";const n=(e,i)=>{const o=e.__vccOpts||e;for(const[d,a]of i)o[d]=a;return o},c={};function s(e,i){const o=t.resolveComponent("el-switch");return t.openBlock(),t.createBlock(o,t.normalizeProps(t.guardReactiveProps(e.$attrs)),{"active-action":t.withCtx(()=>[t.renderSlot(e.$slots,"active-action")]),"inactive-action":t.withCtx(()=>[t.renderSlot(e.$slots,"inactive-action")]),_:3},16)}const r=n(c,[["render",s]]);return{install(e){e.component("tkSwitch",r)}}});