@@ -82,7 +82,7 @@ class T extends ee {
82
82
if ( this . _numberProps = b , r && this . _resolveProps ( o ) , ! this . _config . shadowRoot ) {
83
83
this . _slots = { } ;
84
84
const h = ( c ) => Array . from ( c ) . map ( ( l ) => {
85
- var p ;
85
+ var d ;
86
86
if ( l . nodeType === Node . ELEMENT_NODE ) {
87
87
const f = l , v = Object . fromEntries (
88
88
Array . from ( f . attributes ) . map ( ( O ) => [ O . name , O . value ] )
@@ -93,25 +93,25 @@ class T extends ee {
93
93
h ( f . childNodes )
94
94
) ;
95
95
} else if ( l . nodeType === Node . TEXT_NODE )
96
- return ( ( p = l . textContent ) == null ? void 0 : p . trim ( ) ) || null ;
96
+ return ( ( d = l . textContent ) == null ? void 0 : d . trim ( ) ) || null ;
97
97
return null ;
98
98
} ) . filter ( ( l ) => l != null ) ;
99
99
for ( const c of Array . from ( this . childNodes ) ) {
100
100
const l = c . nodeType === Node . ELEMENT_NODE && c . getAttribute ( "slot" ) || "default" ;
101
101
if ( this . _slots [ l ] || ( this . _slots [ l ] = [ ] ) , c . nodeType === Node . ELEMENT_NODE ) {
102
- const p = c , f = Object . fromEntries (
103
- Array . from ( p . attributes ) . map ( ( v ) => [ v . name , v . value ] )
102
+ const d = c , f = Object . fromEntries (
103
+ Array . from ( d . attributes ) . map ( ( v ) => [ v . name , v . value ] )
104
104
) ;
105
105
this . _slots [ l ] . push (
106
106
R (
107
- p . tagName . toLowerCase ( ) ,
107
+ d . tagName . toLowerCase ( ) ,
108
108
f ,
109
- h ( p . childNodes )
109
+ h ( d . childNodes )
110
110
)
111
111
) ;
112
112
} else if ( c . nodeType === Node . TEXT_NODE ) {
113
- const p = ( E = c . textContent ) == null ? void 0 : E . trim ( ) ;
114
- p && this . _slots [ l ] . push ( p ) ;
113
+ const d = ( E = c . textContent ) == null ? void 0 : E . trim ( ) ;
114
+ d && this . _slots [ l ] . push ( d ) ;
115
115
}
116
116
}
117
117
this . replaceChildren ( ) ;
@@ -219,7 +219,7 @@ const oe = ({
219
219
replaceRootWithHostInCssFramework : h ,
220
220
asyncInitialization : c ,
221
221
loaderAttribute : l ,
222
- hideSlotContentUntilMounted : p
222
+ hideSlotContentUntilMounted : d
223
223
} ) => {
224
224
const f = E ? Y : s , v = h ? se ( t ) : t , O = f ( {
225
225
styles : [ v ] ,
@@ -234,8 +234,8 @@ const oe = ({
234
234
const P = [ ...( e == null ? void 0 : e . emits ) || [ ] , "update:modelValue" ] , _ = r ( ) ;
235
235
if ( _ . component ( "app-root" , e ) , e . provide ) {
236
236
const a = typeof e . provide == "function" ? e . provide ( ) : e . provide ;
237
- Object . keys ( a ) . forEach ( ( d ) => {
238
- _ . provide ( d , a [ d ] ) ;
237
+ Object . keys ( a ) . forEach ( ( p ) => {
238
+ _ . provide ( p , a [ p ] ) ;
239
239
} ) ;
240
240
}
241
241
_ . mixin ( {
@@ -249,10 +249,10 @@ const oe = ({
249
249
if ( a ( ( j = this . $ ) == null ? void 0 : j . type . styles ) , this . $options . components )
250
250
for ( const y of Object . values ( this . $options . components ) )
251
251
a ( y . styles ) ;
252
- const d = ( ( V = this . $el . getRootNode ( ) ) == null ? void 0 : V . host ) || H ( this . $el ) ;
253
- d && ( console . log ( "hideSlotContentUntilMounted" , p ) , p && ( console . log ( "hideSlotContentUntilMounted" , p ) , d . querySelectorAll ( "[hidden]" ) . forEach ( ( k ) => {
252
+ const p = ( ( V = this . $el . getRootNode ( ) ) == null ? void 0 : V . host ) || H ( this . $el ) ;
253
+ p && ( d && p . querySelectorAll ( "[hidden]" ) . forEach ( ( k ) => {
254
254
k . removeAttribute ( "hidden" ) ;
255
- } ) ) , d . querySelectorAll ( `[${ l } ]` ) . forEach ( ( x ) => {
255
+ } ) , p . querySelectorAll ( `[${ l } ]` ) . forEach ( ( x ) => {
256
256
x . remove ( ) ;
257
257
} ) ) ;
258
258
} ,
@@ -265,21 +265,21 @@ const oe = ({
265
265
if ( Object . assign ( w . appContext , _ . _context ) , Object . assign ( w . provides , _ . _context . provides ) , process . env . NODE_ENV === "development" && window . __VUE_DEVTOOLS_GLOBAL_HOOK__ ) {
266
266
const a = document . querySelector ( u ) ;
267
267
_ . _container = a , _ . _instance = w ;
268
- const d = {
268
+ const p = {
269
269
Comment : Symbol ( "v-cmt" ) ,
270
270
Fragment : Symbol ( "v-fgt" ) ,
271
271
Static : Symbol ( "v-stc" ) ,
272
272
Text : Symbol ( "v-txt" )
273
273
} ;
274
- window . __VUE_DEVTOOLS_GLOBAL_HOOK__ . emit ( "app:init" , _ , _ . version , d ) , window . __VUE_DEVTOOLS_GLOBAL_HOOK__ . Vue = _ ;
274
+ window . __VUE_DEVTOOLS_GLOBAL_HOOK__ . emit ( "app:init" , _ , _ . version , p ) , window . __VUE_DEVTOOLS_GLOBAL_HOOK__ . Vue = _ ;
275
275
}
276
- const U = P == null ? void 0 : P . reduce ( ( a , d ) => {
277
- const g = te ( d ) ;
276
+ const U = P == null ? void 0 : P . reduce ( ( a , p ) => {
277
+ const g = te ( p ) ;
278
278
return a [ g ] = ( A ) => {
279
- w . emit ( d , A ) ;
279
+ w . emit ( p , A ) ;
280
280
} , a ;
281
- } , { } ) , z = ( L = e == null ? void 0 : e . namedSlots ) == null ? void 0 : L . reduce ( ( a , d ) => ( a [ d ] = ( ) => o ( "slot" , {
282
- name : d
281
+ } , { } ) , z = ( L = e == null ? void 0 : e . namedSlots ) == null ? void 0 : L . reduce ( ( a , p ) => ( a [ p ] = ( ) => o ( "slot" , {
282
+ name : p
283
283
} ) , a ) , { } ) ;
284
284
return ( ) => o (
285
285
e ,
@@ -310,7 +310,7 @@ const oe = ({
310
310
replaceRootWithHostInCssFramework : h = ! 1 ,
311
311
asyncInitialization : c = ( ) => Promise . resolve ( ) ,
312
312
loaderAttribute : l = "data-web-component-loader" ,
313
- hideSlotContentUntilMounted : p = ! 1
313
+ hideSlotContentUntilMounted : d = ! 1
314
314
} ) => {
315
315
if ( ! n ) {
316
316
console . warn ( "No root component provided. Please provide a root component to create a web component." ) ;
@@ -352,7 +352,7 @@ const oe = ({
352
352
replaceRootWithHostInCssFramework : h ,
353
353
asyncInitialization : c ,
354
354
loaderAttribute : l ,
355
- hideSlotContentUntilMounted : p
355
+ hideSlotContentUntilMounted : d
356
356
} ) . then ( ( f ) => {
357
357
customElements . define (
358
358
e ,
0 commit comments