UNPKG

ll-package

Version:

2 lines (1 loc) 912 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./LazyContainer.vue2.js"),e=require("vue");require("./LazyContainer.vue3.js");const r=require("../../../../_virtual/_plugin-vue_export-helper.js"),l={key:"component"},s={key:"skeleton"};function a(o,u,c,d,p,k){const t=e.resolveComponent("Skeleton");return e.openBlock(),e.createBlock(e.TransitionGroup,e.mergeProps({class:"ll-transition-group"},o.$attrs,{ref:"elRef",name:o.transitionName,tag:o.tag,mode:"out-in"}),{default:e.withCtx(()=>[o.isInit?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(o.$slots,"default",{loading:o.loading})])):(e.openBlock(),e.createElementBlock("div",s,[o.$slots.skeleton?e.renderSlot(o.$slots,"skeleton",{key:0}):(e.openBlock(),e.createBlock(t,{key:1}))]))]),_:3},16,["name","tag"])}const i=r.default(n.default,[["render",a]]);exports.default=i;