1
- import { defineComponent , pushScopeId , popScopeId , openBlock , createElementBlock , Fragment , renderList , createElementVNode , createCommentVNode , Text , resolveComponent , withDirectives , normalizeStyle , renderSlot , normalizeProps , guardReactiveProps , createVNode , vShow , createBlock , resolveDynamicComponent , createTextVNode , toDisplayString } from 'vue' ;
1
+ import { defineComponent , openBlock , createElementBlock , Fragment , renderList , createElementVNode , createCommentVNode , Text , resolveComponent , withDirectives , normalizeStyle , renderSlot , normalizeProps , guardReactiveProps , createVNode , vShow , createBlock , resolveDynamicComponent , createTextVNode , toDisplayString , pushScopeId , popScopeId } from 'vue' ;
2
2
3
3
function E ( ) {
4
4
// Keep this empty so it's easier to inherit from
@@ -91,8 +91,6 @@ var script$1 = /* #__PURE__ */defineComponent({
91
91
}
92
92
} ) ;
93
93
94
- pushScopeId ( "data-v-18ae5a62" ) ;
95
-
96
94
const _hoisted_1$1 = {
97
95
key : 0 ,
98
96
class : "loading-default"
@@ -113,9 +111,6 @@ const _hoisted_5 = {
113
111
key : 4 ,
114
112
class : "loading-wave-dots"
115
113
} ;
116
-
117
- popScopeId ( ) ;
118
-
119
114
function render$1 ( _ctx , _cache , $props , $setup , $data , $options ) {
120
115
return _ctx . spinnerView === 'default' ? ( openBlock ( ) , createElementBlock ( "i" , _hoisted_1$1 ) ) : _ctx . spinnerView === 'bubbles' ? ( openBlock ( ) , createElementBlock ( "span" , _hoisted_2$1 , [ ( openBlock ( ) , createElementBlock ( Fragment , null , renderList ( 8 , x => {
121
116
return createElementVNode ( "span" , {
@@ -443,10 +438,12 @@ var script = /* #__PURE__ */defineComponent({
443
438
slotStyles ( ) {
444
439
const styles = { } ;
445
440
Object . keys ( config . slots ) . forEach ( key => {
441
+ var _this$$slots$name$ ;
442
+
446
443
const name = kebabCase ( key ) ;
447
444
448
445
if ( // no slot and the configured default slot is not a Vue component
449
- ! this . $slots [ name ] && ! config . slots [ key ] . render || this . $slots [ name ] && this . $slots [ name ] ( ) [ 0 ] . type === Text ) {
446
+ ! this . $slots [ name ] && ! config . slots [ key ] . render || this . $slots [ name ] && ( ( _this$$slots$name$ = this . $slots [ name ] ( ) [ 0 ] ) === null || _this$$slots$name$ === void 0 ? void 0 : _this$$slots$name$ . type ) === Text ) {
450
447
// only apply default styles for pure text slot
451
448
styles [ key ] = SLOT_STYLES ;
452
449
} else {
@@ -682,18 +679,15 @@ var script = /* #__PURE__ */defineComponent({
682
679
683
680
} ) ;
684
681
685
- pushScopeId ( "data-v-7456bf16" ) ;
682
+ const _withScopeId = n => ( pushScopeId ( "data-v-38327aa8" ) , n = n ( ) , popScopeId ( ) , n ) ;
686
683
687
684
const _hoisted_1 = {
688
685
class : "infinite-loading-container"
689
686
} ;
690
687
691
- const _hoisted_2 = /*#__PURE__*/ createElementVNode ( "br" , null , null , - 1 ) ;
688
+ const _hoisted_2 = /*#__PURE__*/ _withScopeId ( ( ) => /*#__PURE__*/ createElementVNode ( "br" , null , null , - 1 ) ) ;
692
689
693
690
const _hoisted_3 = [ "textContent" ] ;
694
-
695
- popScopeId ( ) ;
696
-
697
691
function render ( _ctx , _cache , $props , $setup , $data , $options ) {
698
692
const _component_spinner = resolveComponent ( "spinner" ) ;
699
693
@@ -735,11 +729,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
735
729
} , null , 8 , _hoisted_3 ) ] , 64 ) ) ] ) ] , 4 ) , [ [ vShow , _ctx . isShowError ] ] ) ] ) ;
736
730
}
737
731
738
- var css_248z = ".infinite-loading-container[data-v-7456bf16 ] {\n clear: both;\n text-align: center;\n}\n.infinite-loading-container[data-v-7456bf16 ] *[class^=loading-] {\n display: inline-block;\n margin: 5px 0;\n width: 28px;\n height: 28px;\n font-size: 28px;\n line-height: 28px;\n border-radius: 50%;\n}\n.btn-try-infinite[data-v-7456bf16 ] {\n margin-top: 5px;\n padding: 5px 10px;\n color: #999;\n font-size: 14px;\n line-height: 1;\n background: transparent;\n border: 1px solid #ccc;\n border-radius: 3px;\n outline: none;\n cursor: pointer;\n}\n.btn-try-infinite[data-v-7456bf16 ]:not(:active):hover {\n opacity: 0.8;\n}\n" ;
732
+ var css_248z = ".infinite-loading-container[data-v-38327aa8 ] {\n clear: both;\n text-align: center;\n}\n.infinite-loading-container[data-v-38327aa8 ] *[class^=loading-] {\n display: inline-block;\n margin: 5px 0;\n width: 28px;\n height: 28px;\n font-size: 28px;\n line-height: 28px;\n border-radius: 50%;\n}\n.btn-try-infinite[data-v-38327aa8 ] {\n margin-top: 5px;\n padding: 5px 10px;\n color: #999;\n font-size: 14px;\n line-height: 1;\n background: transparent;\n border: 1px solid #ccc;\n border-radius: 3px;\n outline: none;\n cursor: pointer;\n}\n.btn-try-infinite[data-v-38327aa8 ]:not(:active):hover {\n opacity: 0.8;\n}\n" ;
739
733
styleInject ( css_248z ) ;
740
734
741
735
script . render = render ;
742
- script . __scopeId = "data-v-7456bf16 " ;
736
+ script . __scopeId = "data-v-38327aa8 " ;
743
737
744
738
// Import vue component
745
739
// IIFE injects install function into component, allowing component
0 commit comments