@everymatrix/general-styling-wrapper 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/general-styling-wrapper.cjs.entry.js +5 -13
- package/dist/cjs/general-styling-wrapper.cjs.js +2 -2
- package/dist/cjs/{index-bd515e45.js → index-0608126f.js} +107 -273
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/general-styling-wrapper/general-styling-wrapper.js +5 -21
- package/dist/esm/general-styling-wrapper.entry.js +5 -13
- package/dist/esm/general-styling-wrapper.js +3 -3
- package/dist/esm/{index-d449ed4b.js → index-5d1b44a7.js} +107 -273
- package/dist/esm/loader.js +2 -2
- package/dist/general-styling-wrapper/general-styling-wrapper.esm.js +1 -1
- package/dist/general-styling-wrapper/p-8f5d4d70.js +2 -0
- package/dist/general-styling-wrapper/p-cbc56d10.entry.js +1 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/general-styling-wrapper/p-4bf9aa97.js +0 -2
- package/dist/general-styling-wrapper/p-fefdf7c8.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'general-styling-wrapper';
|
|
2
|
-
const BUILD = /* general-styling-wrapper */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false,
|
|
2
|
+
const BUILD = /* general-styling-wrapper */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: false, slotRelocation: true, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
// src/client/client-host-ref.ts
|
|
14
12
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
15
13
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
16
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
17
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
18
|
-
};
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
19
15
|
var registerHost = (hostElement, cmpMeta) => {
|
|
20
16
|
const hostRef = {
|
|
21
17
|
$flags$: 0,
|
|
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
28
24
|
hostElement["s-p"] = [];
|
|
29
25
|
hostElement["s-rc"] = [];
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
return ref;
|
|
27
|
+
return hostRefs.set(hostElement, hostRef);
|
|
33
28
|
};
|
|
34
29
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
35
30
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
66
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
67
62
|
/* webpackMode: "lazy" */
|
|
68
63
|
`./${bundleId}.entry.js${""}`
|
|
69
|
-
).then(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
cmpModules.set(bundleId, importedModule);
|
|
73
|
-
}
|
|
74
|
-
return importedModule[exportName];
|
|
75
|
-
},
|
|
76
|
-
(e) => {
|
|
77
|
-
consoleError(e, hostRef.$hostElement$);
|
|
64
|
+
).then((importedModule) => {
|
|
65
|
+
{
|
|
66
|
+
cmpModules.set(bundleId, importedModule);
|
|
78
67
|
}
|
|
79
|
-
|
|
68
|
+
return importedModule[exportName];
|
|
69
|
+
}, consoleError);
|
|
80
70
|
};
|
|
81
71
|
|
|
82
72
|
// src/client/client-style.ts
|
|
83
73
|
var styles = /* @__PURE__ */ new Map();
|
|
84
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
85
74
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
86
75
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
87
76
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -140,6 +129,9 @@ var flush = () => {
|
|
|
140
129
|
};
|
|
141
130
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
142
131
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
132
|
+
|
|
133
|
+
// src/utils/constants.ts
|
|
134
|
+
var EMPTY_OBJ = {};
|
|
143
135
|
var isComplexType = (o) => {
|
|
144
136
|
o = typeof o;
|
|
145
137
|
return o === "object" || o === "function";
|
|
@@ -199,63 +191,6 @@ var unwrapErr = (result) => {
|
|
|
199
191
|
throw result.value;
|
|
200
192
|
}
|
|
201
193
|
};
|
|
202
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
203
|
-
const childNodes = elm.__childNodes || elm.childNodes;
|
|
204
|
-
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
205
|
-
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
206
|
-
var _a;
|
|
207
|
-
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
208
|
-
if ((_a = getHostSlotChildNodes(slotNode, slotNode["s-sn"], false)) == null ? void 0 : _a.length) {
|
|
209
|
-
slotNode.hidden = true;
|
|
210
|
-
} else {
|
|
211
|
-
slotNode.hidden = false;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
for (const childNode of childNodes) {
|
|
217
|
-
if (childNode.nodeType === 1 /* ElementNode */ && (childNode.__childNodes || childNode.childNodes).length) {
|
|
218
|
-
updateFallbackSlotVisibility(childNode);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
223
|
-
let i2 = 0;
|
|
224
|
-
let slottedNodes = [];
|
|
225
|
-
let childNode;
|
|
226
|
-
for (; i2 < childNodes.length; i2++) {
|
|
227
|
-
childNode = childNodes[i2];
|
|
228
|
-
if (childNode["s-sr"] && childNode["s-hn"] === hostName && (slotName === void 0 || childNode["s-sn"] === slotName)) {
|
|
229
|
-
slottedNodes.push(childNode);
|
|
230
|
-
if (typeof slotName !== "undefined") return slottedNodes;
|
|
231
|
-
}
|
|
232
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
233
|
-
}
|
|
234
|
-
return slottedNodes;
|
|
235
|
-
}
|
|
236
|
-
var getHostSlotChildNodes = (node, slotName, includeSlot = true) => {
|
|
237
|
-
const childNodes = [];
|
|
238
|
-
if (includeSlot && node["s-sr"] || !node["s-sr"]) childNodes.push(node);
|
|
239
|
-
while ((node = node.nextSibling) && node["s-sn"] === slotName) {
|
|
240
|
-
childNodes.push(node);
|
|
241
|
-
}
|
|
242
|
-
return childNodes;
|
|
243
|
-
};
|
|
244
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
245
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
246
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
247
|
-
return true;
|
|
248
|
-
}
|
|
249
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
250
|
-
return true;
|
|
251
|
-
}
|
|
252
|
-
return false;
|
|
253
|
-
}
|
|
254
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
255
|
-
return true;
|
|
256
|
-
}
|
|
257
|
-
return slotName === "";
|
|
258
|
-
};
|
|
259
194
|
var createTime = (fnName, tagName = "") => {
|
|
260
195
|
{
|
|
261
196
|
return () => {
|
|
@@ -389,40 +324,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
389
324
|
}
|
|
390
325
|
if (!appliedStyles.has(scopeId2)) {
|
|
391
326
|
{
|
|
392
|
-
styleElm =
|
|
327
|
+
styleElm = doc.createElement("style");
|
|
393
328
|
styleElm.innerHTML = style;
|
|
394
329
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
395
330
|
if (nonce != null) {
|
|
396
331
|
styleElm.setAttribute("nonce", nonce);
|
|
397
332
|
}
|
|
398
|
-
|
|
399
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
400
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
401
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
402
|
-
styleContainerNode.insertBefore(
|
|
403
|
-
styleElm,
|
|
404
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
405
|
-
);
|
|
406
|
-
} else if ("host" in styleContainerNode) {
|
|
407
|
-
if (supportsConstructableStylesheets) {
|
|
408
|
-
const stylesheet = new CSSStyleSheet();
|
|
409
|
-
stylesheet.replaceSync(style);
|
|
410
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
411
|
-
} else {
|
|
412
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
413
|
-
if (existingStyleContainer) {
|
|
414
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
415
|
-
} else {
|
|
416
|
-
styleContainerNode.prepend(styleElm);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
} else {
|
|
420
|
-
styleContainerNode.append(styleElm);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
424
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
425
|
-
}
|
|
333
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
426
334
|
}
|
|
427
335
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
428
336
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -447,18 +355,16 @@ var attachStyles = (hostRef) => {
|
|
|
447
355
|
endAttachStyles();
|
|
448
356
|
};
|
|
449
357
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
450
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
358
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
451
359
|
if (oldValue !== newValue) {
|
|
452
360
|
let isProp = isMemberInElement(elm, memberName);
|
|
453
361
|
memberName.toLowerCase();
|
|
454
362
|
if (memberName === "class") {
|
|
455
363
|
const classList = elm.classList;
|
|
456
364
|
const oldClasses = parseClassList(oldValue);
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
461
|
-
}
|
|
365
|
+
const newClasses = parseClassList(newValue);
|
|
366
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
367
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
462
368
|
} else if (memberName === "key") ; else {
|
|
463
369
|
const isComplex = isComplexType(newValue);
|
|
464
370
|
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
@@ -468,13 +374,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
468
374
|
if (memberName === "list") {
|
|
469
375
|
isProp = false;
|
|
470
376
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
471
|
-
|
|
472
|
-
elm[memberName] = n;
|
|
473
|
-
} else {
|
|
474
|
-
elm.setAttribute(memberName, n);
|
|
475
|
-
}
|
|
377
|
+
elm[memberName] = n;
|
|
476
378
|
}
|
|
477
|
-
} else
|
|
379
|
+
} else {
|
|
478
380
|
elm[memberName] = newValue;
|
|
479
381
|
}
|
|
480
382
|
} catch (e) {
|
|
@@ -496,42 +398,22 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
496
398
|
}
|
|
497
399
|
};
|
|
498
400
|
var parseClassListRegex = /\s/;
|
|
499
|
-
var parseClassList = (value) =>
|
|
500
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
501
|
-
value = value.baseVal;
|
|
502
|
-
}
|
|
503
|
-
if (!value || typeof value !== "string") {
|
|
504
|
-
return [];
|
|
505
|
-
}
|
|
506
|
-
return value.split(parseClassListRegex);
|
|
507
|
-
};
|
|
401
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
508
402
|
|
|
509
403
|
// src/runtime/vdom/update-element.ts
|
|
510
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
404
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
511
405
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
512
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
513
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
406
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
407
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
514
408
|
{
|
|
515
409
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
516
410
|
if (!(memberName in newVnodeAttrs)) {
|
|
517
|
-
setAccessor(
|
|
518
|
-
elm,
|
|
519
|
-
memberName,
|
|
520
|
-
oldVnodeAttrs[memberName],
|
|
521
|
-
void 0,
|
|
522
|
-
isSvgMode2,
|
|
523
|
-
newVnode.$flags$);
|
|
411
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
524
412
|
}
|
|
525
413
|
}
|
|
526
414
|
}
|
|
527
415
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
528
|
-
setAccessor(
|
|
529
|
-
elm,
|
|
530
|
-
memberName,
|
|
531
|
-
oldVnodeAttrs[memberName],
|
|
532
|
-
newVnodeAttrs[memberName],
|
|
533
|
-
isSvgMode2,
|
|
534
|
-
newVnode.$flags$);
|
|
416
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
535
417
|
}
|
|
536
418
|
};
|
|
537
419
|
function sortedAttrNames(attrNames) {
|
|
@@ -549,7 +431,7 @@ var useNativeShadowDom = false;
|
|
|
549
431
|
var checkSlotFallbackVisibility = false;
|
|
550
432
|
var checkSlotRelocate = false;
|
|
551
433
|
var isSvgMode = false;
|
|
552
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
434
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
553
435
|
var _a;
|
|
554
436
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
555
437
|
let i2 = 0;
|
|
@@ -608,7 +490,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
608
490
|
};
|
|
609
491
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
610
492
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
611
|
-
const oldSlotChildNodes = Array.from(parentElm.
|
|
493
|
+
const oldSlotChildNodes = Array.from(parentElm.childNodes);
|
|
612
494
|
if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
|
|
613
495
|
let node = parentElm;
|
|
614
496
|
while (node = node.nextSibling) {
|
|
@@ -620,7 +502,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
620
502
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
621
503
|
const childNode = oldSlotChildNodes[i2];
|
|
622
504
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
623
|
-
insertBefore(
|
|
505
|
+
insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
|
|
624
506
|
childNode["s-ol"].remove();
|
|
625
507
|
childNode["s-ol"] = void 0;
|
|
626
508
|
childNode["s-sh"] = void 0;
|
|
@@ -736,11 +618,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
736
618
|
}
|
|
737
619
|
if (node) {
|
|
738
620
|
{
|
|
739
|
-
insertBefore(
|
|
740
|
-
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
741
|
-
node,
|
|
742
|
-
referenceNode(oldStartVnode.$elm$)
|
|
743
|
-
);
|
|
621
|
+
insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
|
|
744
622
|
}
|
|
745
623
|
}
|
|
746
624
|
}
|
|
@@ -766,14 +644,14 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
766
644
|
if (!isInitialRender) {
|
|
767
645
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
768
646
|
}
|
|
769
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
770
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
771
|
-
}
|
|
772
647
|
return true;
|
|
773
648
|
}
|
|
774
649
|
return false;
|
|
775
650
|
};
|
|
776
|
-
var referenceNode = (node) =>
|
|
651
|
+
var referenceNode = (node) => {
|
|
652
|
+
return node && node["s-ol"] || node;
|
|
653
|
+
};
|
|
654
|
+
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
777
655
|
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
778
656
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
779
657
|
const oldChildren = oldVNode.$children$;
|
|
@@ -789,23 +667,46 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
789
667
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
790
668
|
} else if (newChildren !== null) {
|
|
791
669
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
792
|
-
} else if (
|
|
793
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
794
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
795
|
-
) {
|
|
670
|
+
} else if (oldChildren !== null) {
|
|
796
671
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
797
672
|
}
|
|
798
673
|
}
|
|
799
674
|
};
|
|
675
|
+
var updateFallbackSlotVisibility = (elm) => {
|
|
676
|
+
const childNodes = elm.childNodes;
|
|
677
|
+
for (const childNode of childNodes) {
|
|
678
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
679
|
+
if (childNode["s-sr"]) {
|
|
680
|
+
const slotName = childNode["s-sn"];
|
|
681
|
+
childNode.hidden = false;
|
|
682
|
+
for (const siblingNode of childNodes) {
|
|
683
|
+
if (siblingNode !== childNode) {
|
|
684
|
+
if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
|
|
685
|
+
if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
|
|
686
|
+
childNode.hidden = true;
|
|
687
|
+
break;
|
|
688
|
+
}
|
|
689
|
+
} else {
|
|
690
|
+
if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
|
|
691
|
+
childNode.hidden = true;
|
|
692
|
+
break;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
updateFallbackSlotVisibility(childNode);
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
};
|
|
800
702
|
var relocateNodes = [];
|
|
801
703
|
var markSlotContentForRelocation = (elm) => {
|
|
802
704
|
let node;
|
|
803
705
|
let hostContentNodes;
|
|
804
706
|
let j;
|
|
805
|
-
const
|
|
806
|
-
for (const childNode of children) {
|
|
707
|
+
for (const childNode of elm.childNodes) {
|
|
807
708
|
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
808
|
-
hostContentNodes = node.parentNode.
|
|
709
|
+
hostContentNodes = node.parentNode.childNodes;
|
|
809
710
|
const slotName = childNode["s-sn"];
|
|
810
711
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
811
712
|
node = hostContentNodes[j];
|
|
@@ -847,10 +748,24 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
847
748
|
}
|
|
848
749
|
}
|
|
849
750
|
};
|
|
850
|
-
var
|
|
851
|
-
{
|
|
852
|
-
|
|
751
|
+
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
752
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
753
|
+
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
754
|
+
return true;
|
|
755
|
+
}
|
|
756
|
+
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
757
|
+
return true;
|
|
758
|
+
}
|
|
759
|
+
return false;
|
|
760
|
+
}
|
|
761
|
+
if (nodeToRelocate["s-sn"] === slotName) {
|
|
762
|
+
return true;
|
|
853
763
|
}
|
|
764
|
+
return slotName === "";
|
|
765
|
+
};
|
|
766
|
+
var insertBefore = (parent, newNode, reference) => {
|
|
767
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
768
|
+
return inserted;
|
|
854
769
|
};
|
|
855
770
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
856
771
|
var _a, _b, _c, _d;
|
|
@@ -869,7 +784,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
869
784
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
870
785
|
hostRef.$vnode$ = rootVnode;
|
|
871
786
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
|
|
872
|
-
useNativeShadowDom = supportsShadow
|
|
787
|
+
useNativeShadowDom = supportsShadow ;
|
|
873
788
|
{
|
|
874
789
|
contentRef = hostElm["s-cr"];
|
|
875
790
|
checkSlotFallbackVisibility = false;
|
|
@@ -897,7 +812,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
897
812
|
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
898
813
|
while (orgLocationNode) {
|
|
899
814
|
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
900
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef ===
|
|
815
|
+
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
901
816
|
refNode = refNode.nextSibling;
|
|
902
817
|
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
903
818
|
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
@@ -910,15 +825,13 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
910
825
|
orgLocationNode = orgLocationNode.previousSibling;
|
|
911
826
|
}
|
|
912
827
|
}
|
|
913
|
-
|
|
914
|
-
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
915
|
-
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
828
|
+
if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
916
829
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
917
830
|
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
918
831
|
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
919
832
|
}
|
|
920
833
|
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
921
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */
|
|
834
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
922
835
|
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
923
836
|
}
|
|
924
837
|
}
|
|
@@ -946,14 +859,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
946
859
|
// src/runtime/update-component.ts
|
|
947
860
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
948
861
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
949
|
-
|
|
950
|
-
new Promise(
|
|
951
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
952
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
953
|
-
r();
|
|
954
|
-
}
|
|
955
|
-
)
|
|
956
|
-
);
|
|
862
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
957
863
|
}
|
|
958
864
|
};
|
|
959
865
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -980,7 +886,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
980
886
|
let maybePromise;
|
|
981
887
|
if (isInitialLoad) {
|
|
982
888
|
{
|
|
983
|
-
maybePromise = safeCall(instance, "componentWillLoad"
|
|
889
|
+
maybePromise = safeCall(instance, "componentWillLoad");
|
|
984
890
|
}
|
|
985
891
|
}
|
|
986
892
|
endSchedule();
|
|
@@ -1049,7 +955,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1049
955
|
const instance = hostRef.$lazyInstance$ ;
|
|
1050
956
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1051
957
|
{
|
|
1052
|
-
safeCall(instance, "componentDidRender"
|
|
958
|
+
safeCall(instance, "componentDidRender");
|
|
1053
959
|
}
|
|
1054
960
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1055
961
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -1078,14 +984,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1078
984
|
}
|
|
1079
985
|
};
|
|
1080
986
|
var appDidLoad = (who) => {
|
|
987
|
+
{
|
|
988
|
+
addHydratedFlag(doc.documentElement);
|
|
989
|
+
}
|
|
1081
990
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1082
991
|
};
|
|
1083
|
-
var safeCall = (instance, method, arg
|
|
992
|
+
var safeCall = (instance, method, arg) => {
|
|
1084
993
|
if (instance && instance[method]) {
|
|
1085
994
|
try {
|
|
1086
995
|
return instance[method](arg);
|
|
1087
996
|
} catch (e) {
|
|
1088
|
-
consoleError(e
|
|
997
|
+
consoleError(e);
|
|
1089
998
|
}
|
|
1090
999
|
}
|
|
1091
1000
|
return void 0;
|
|
@@ -1128,68 +1037,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1128
1037
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1129
1038
|
members.map(([memberName, [memberFlags]]) => {
|
|
1130
1039
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1131
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1132
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1133
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1134
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
1135
|
-
Object.defineProperty(prototype, memberName, {
|
|
1136
|
-
get() {
|
|
1137
|
-
{
|
|
1138
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
1139
|
-
return getValue(this, memberName);
|
|
1140
|
-
}
|
|
1141
|
-
const ref = getHostRef(this);
|
|
1142
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1143
|
-
if (!instance) return;
|
|
1144
|
-
return instance[memberName];
|
|
1145
|
-
}
|
|
1146
|
-
},
|
|
1147
|
-
configurable: true,
|
|
1148
|
-
enumerable: true
|
|
1149
|
-
});
|
|
1150
|
-
}
|
|
1151
1040
|
Object.defineProperty(prototype, memberName, {
|
|
1041
|
+
get() {
|
|
1042
|
+
return getValue(this, memberName);
|
|
1043
|
+
},
|
|
1152
1044
|
set(newValue) {
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
1158
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1159
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1160
|
-
}
|
|
1161
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1162
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1163
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1164
|
-
return;
|
|
1165
|
-
}
|
|
1166
|
-
{
|
|
1167
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1168
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1169
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1170
|
-
ref.$onReadyPromise$.then(() => {
|
|
1171
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1172
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
1173
|
-
}
|
|
1174
|
-
});
|
|
1175
|
-
}
|
|
1176
|
-
return;
|
|
1177
|
-
}
|
|
1178
|
-
const setterSetVal = () => {
|
|
1179
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
1180
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1181
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1182
|
-
}
|
|
1183
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1184
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1185
|
-
};
|
|
1186
|
-
if (ref.$lazyInstance$) {
|
|
1187
|
-
setterSetVal();
|
|
1188
|
-
} else {
|
|
1189
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1045
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1046
|
+
},
|
|
1047
|
+
configurable: true,
|
|
1048
|
+
enumerable: true
|
|
1193
1049
|
});
|
|
1194
1050
|
}
|
|
1195
1051
|
});
|
|
@@ -1199,11 +1055,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1199
1055
|
plt.jmp(() => {
|
|
1200
1056
|
var _a2;
|
|
1201
1057
|
const propName = attrNameToPropName.get(attrName);
|
|
1202
|
-
if (this.hasOwnProperty(propName)
|
|
1058
|
+
if (this.hasOwnProperty(propName)) {
|
|
1203
1059
|
newValue = this[propName];
|
|
1204
1060
|
delete this[propName];
|
|
1205
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
1206
|
-
this[propName] == newValue) {
|
|
1061
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
1207
1062
|
return;
|
|
1208
1063
|
} else if (propName == null) {
|
|
1209
1064
|
const hostRef = getHostRef(this);
|
|
@@ -1219,11 +1074,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1219
1074
|
}
|
|
1220
1075
|
return;
|
|
1221
1076
|
}
|
|
1222
|
-
|
|
1223
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1224
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1225
|
-
this[propName] = newValue;
|
|
1226
|
-
}
|
|
1077
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1227
1078
|
});
|
|
1228
1079
|
};
|
|
1229
1080
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1248,7 +1099,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1248
1099
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1249
1100
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1250
1101
|
if (bundleId) {
|
|
1251
|
-
const CstrImport = loadModule(cmpMeta
|
|
1102
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1252
1103
|
if (CstrImport && "then" in CstrImport) {
|
|
1253
1104
|
const endLoad = uniqueTime();
|
|
1254
1105
|
Cstr = await CstrImport;
|
|
@@ -1270,7 +1121,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1270
1121
|
try {
|
|
1271
1122
|
new Cstr(hostRef);
|
|
1272
1123
|
} catch (e) {
|
|
1273
|
-
consoleError(e
|
|
1124
|
+
consoleError(e);
|
|
1274
1125
|
}
|
|
1275
1126
|
{
|
|
1276
1127
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1302,7 +1153,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1302
1153
|
schedule();
|
|
1303
1154
|
}
|
|
1304
1155
|
};
|
|
1305
|
-
var fireConnectedCallback = (instance
|
|
1156
|
+
var fireConnectedCallback = (instance) => {
|
|
1306
1157
|
};
|
|
1307
1158
|
|
|
1308
1159
|
// src/runtime/connected-callback.ts
|
|
@@ -1355,7 +1206,7 @@ var setContentReference = (elm) => {
|
|
|
1355
1206
|
contentRefElm["s-cn"] = true;
|
|
1356
1207
|
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
1357
1208
|
};
|
|
1358
|
-
var disconnectInstance = (instance
|
|
1209
|
+
var disconnectInstance = (instance) => {
|
|
1359
1210
|
};
|
|
1360
1211
|
var disconnectedCallback = async (elm) => {
|
|
1361
1212
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
@@ -1364,12 +1215,6 @@ var disconnectedCallback = async (elm) => {
|
|
|
1364
1215
|
hostRef.$onReadyPromise$.then(() => disconnectInstance());
|
|
1365
1216
|
}
|
|
1366
1217
|
}
|
|
1367
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1368
|
-
rootAppliedStyles.delete(elm);
|
|
1369
|
-
}
|
|
1370
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1371
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1372
|
-
}
|
|
1373
1218
|
};
|
|
1374
1219
|
|
|
1375
1220
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1428,17 +1273,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1428
1273
|
}
|
|
1429
1274
|
disconnectedCallback() {
|
|
1430
1275
|
plt.jmp(() => disconnectedCallback(this));
|
|
1431
|
-
plt.raf(() => {
|
|
1432
|
-
var _a3;
|
|
1433
|
-
const hostRef = getHostRef(this);
|
|
1434
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1435
|
-
if (i2 > -1) {
|
|
1436
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1437
|
-
}
|
|
1438
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1439
|
-
delete hostRef.$vnode$.$elm$;
|
|
1440
|
-
}
|
|
1441
|
-
});
|
|
1442
1276
|
}
|
|
1443
1277
|
componentOnReady() {
|
|
1444
1278
|
return getHostRef(this).$onReadyPromise$;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-5d1b44a7.js';
|
|
2
|
+
export { s as setNonce } from './index-5d1b44a7.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as
|
|
1
|
+
import{p as t,b as n}from"./p-8f5d4d70.js";export{s as setNonce}from"./p-8f5d4d70.js";import{g as r}from"./p-e1255160.js";(()=>{const n=import.meta.url,r={};return""!==n&&(r.resourcesUrl=new URL(".",n).href),t(r)})().then((async t=>(await r(),n([["p-cbc56d10",[[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}]]]],t))));
|