proto-ikons-wc 0.1.0 → 0.1.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/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-5079b1b1.js → index-975ba1f5.js} +123 -71
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-9f1252b7.js → index-854c1ae4.js} +123 -71
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-f03cde32.entry.js → p-99f94268.entry.js} +1 -1
- package/dist/proto-ikons-wc/p-c5e0683b.js +2 -0
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-063ff2f3.js +0 -2
|
@@ -21,10 +21,10 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'proto-ikons-wc';
|
|
24
|
-
const BUILD = /* proto-ikons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false,
|
|
24
|
+
const BUILD = /* proto-ikons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: 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: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, 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: true, vdomXlink: true, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.27.1 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -37,10 +37,15 @@ var SVG_NS = "http://www.w3.org/2000/svg";
|
|
|
37
37
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
38
38
|
|
|
39
39
|
// src/client/client-host-ref.ts
|
|
40
|
-
var
|
|
41
|
-
|
|
40
|
+
var getHostRef = (ref) => {
|
|
41
|
+
if (ref.__stencil__getHostRef) {
|
|
42
|
+
return ref.__stencil__getHostRef();
|
|
43
|
+
}
|
|
44
|
+
return void 0;
|
|
45
|
+
};
|
|
42
46
|
var registerInstance = (lazyInstance, hostRef) => {
|
|
43
|
-
|
|
47
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
48
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
|
44
49
|
};
|
|
45
50
|
var registerHost = (hostElement, cmpMeta) => {
|
|
46
51
|
const hostRef = {
|
|
@@ -54,7 +59,8 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
54
59
|
hostElement["s-p"] = [];
|
|
55
60
|
hostElement["s-rc"] = [];
|
|
56
61
|
}
|
|
57
|
-
const ref =
|
|
62
|
+
const ref = hostRef;
|
|
63
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
58
64
|
return ref;
|
|
59
65
|
};
|
|
60
66
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
@@ -99,7 +105,6 @@ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
|
99
105
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
100
106
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
101
107
|
var win = typeof window !== "undefined" ? window : {};
|
|
102
|
-
var doc = win.document || { head: {} };
|
|
103
108
|
var plt = {
|
|
104
109
|
$flags$: 0,
|
|
105
110
|
$resourcesUrl$: "",
|
|
@@ -160,9 +165,9 @@ var isComplexType = (o) => {
|
|
|
160
165
|
};
|
|
161
166
|
|
|
162
167
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
163
|
-
function queryNonceMetaTagContent(
|
|
168
|
+
function queryNonceMetaTagContent(doc) {
|
|
164
169
|
var _a, _b, _c;
|
|
165
|
-
return (_c = (_b = (_a =
|
|
170
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
166
171
|
}
|
|
167
172
|
|
|
168
173
|
// src/utils/result.ts
|
|
@@ -330,7 +335,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
330
335
|
var _a;
|
|
331
336
|
const scopeId2 = getScopeId(cmpMeta);
|
|
332
337
|
const style = styles.get(scopeId2);
|
|
333
|
-
|
|
338
|
+
if (!win.document) {
|
|
339
|
+
return scopeId2;
|
|
340
|
+
}
|
|
341
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
334
342
|
if (style) {
|
|
335
343
|
if (typeof style === "string") {
|
|
336
344
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -341,9 +349,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
341
349
|
}
|
|
342
350
|
if (!appliedStyles.has(scopeId2)) {
|
|
343
351
|
{
|
|
344
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) ||
|
|
352
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
|
345
353
|
styleElm.innerHTML = style;
|
|
346
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
354
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
347
355
|
if (nonce != null) {
|
|
348
356
|
styleElm.setAttribute("nonce", nonce);
|
|
349
357
|
}
|
|
@@ -400,61 +408,62 @@ var attachStyles = (hostRef) => {
|
|
|
400
408
|
};
|
|
401
409
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
402
410
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
403
|
-
if (oldValue
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
411
|
+
if (oldValue === newValue) {
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
415
|
+
let ln = memberName.toLowerCase();
|
|
416
|
+
if (memberName === "class") {
|
|
417
|
+
const classList = elm.classList;
|
|
418
|
+
const oldClasses = parseClassList(oldValue);
|
|
419
|
+
let newClasses = parseClassList(newValue);
|
|
420
|
+
{
|
|
421
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
422
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
423
|
+
}
|
|
424
|
+
} else if (memberName === "key") ; else {
|
|
425
|
+
const isComplex = isComplexType(newValue);
|
|
426
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
427
|
+
try {
|
|
428
|
+
if (!elm.tagName.includes("-")) {
|
|
429
|
+
const n = newValue == null ? "" : newValue;
|
|
430
|
+
if (memberName === "list") {
|
|
431
|
+
isProp = false;
|
|
432
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
433
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
434
|
+
elm[memberName] = n;
|
|
435
|
+
} else {
|
|
436
|
+
elm.setAttribute(memberName, n);
|
|
428
437
|
}
|
|
429
|
-
} else if (elm[memberName] !== newValue) {
|
|
430
|
-
elm[memberName] = newValue;
|
|
431
438
|
}
|
|
432
|
-
}
|
|
439
|
+
} else if (elm[memberName] !== newValue) {
|
|
440
|
+
elm[memberName] = newValue;
|
|
433
441
|
}
|
|
442
|
+
} catch (e) {
|
|
434
443
|
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
444
|
+
}
|
|
445
|
+
let xlink = false;
|
|
446
|
+
{
|
|
447
|
+
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
448
|
+
memberName = ln;
|
|
449
|
+
xlink = true;
|
|
441
450
|
}
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
446
|
-
} else {
|
|
447
|
-
elm.removeAttribute(memberName);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
451
|
-
newValue = newValue === true ? "" : newValue;
|
|
451
|
+
}
|
|
452
|
+
if (newValue == null || newValue === false) {
|
|
453
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
452
454
|
if (xlink) {
|
|
453
|
-
elm.
|
|
455
|
+
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
454
456
|
} else {
|
|
455
|
-
elm.
|
|
457
|
+
elm.removeAttribute(memberName);
|
|
456
458
|
}
|
|
457
459
|
}
|
|
460
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
461
|
+
newValue = newValue === true ? "" : newValue;
|
|
462
|
+
if (xlink) {
|
|
463
|
+
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
464
|
+
} else {
|
|
465
|
+
elm.setAttribute(memberName, newValue);
|
|
466
|
+
}
|
|
458
467
|
}
|
|
459
468
|
}
|
|
460
469
|
};
|
|
@@ -515,12 +524,17 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
515
524
|
let elm;
|
|
516
525
|
let childNode;
|
|
517
526
|
if (newVNode2.$text$ !== null) {
|
|
518
|
-
elm = newVNode2.$elm$ =
|
|
527
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
519
528
|
} else {
|
|
520
529
|
if (!isSvgMode) {
|
|
521
530
|
isSvgMode = newVNode2.$tag$ === "svg";
|
|
522
531
|
}
|
|
523
|
-
|
|
532
|
+
if (!win.document) {
|
|
533
|
+
throw new Error(
|
|
534
|
+
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
535
|
+
);
|
|
536
|
+
}
|
|
537
|
+
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
524
538
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
525
539
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
526
540
|
) ;
|
|
@@ -680,9 +694,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
680
694
|
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
681
695
|
}
|
|
682
696
|
{
|
|
683
|
-
|
|
684
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
685
|
-
}
|
|
697
|
+
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
686
698
|
}
|
|
687
699
|
if (oldChildren !== null && newChildren !== null) {
|
|
688
700
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
@@ -764,6 +776,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
764
776
|
);
|
|
765
777
|
}
|
|
766
778
|
let maybePromise;
|
|
779
|
+
if (isInitialLoad) {
|
|
780
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
781
|
+
} else {
|
|
782
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
783
|
+
}
|
|
784
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
767
785
|
endSchedule();
|
|
768
786
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
769
787
|
};
|
|
@@ -827,12 +845,15 @@ var postUpdateComponent = (hostRef) => {
|
|
|
827
845
|
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
828
846
|
const elm = hostRef.$hostElement$;
|
|
829
847
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
848
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
830
849
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
850
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
831
851
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
832
852
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
833
853
|
{
|
|
834
854
|
addHydratedFlag(elm);
|
|
835
855
|
}
|
|
856
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
836
857
|
endPostUpdate();
|
|
837
858
|
{
|
|
838
859
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -841,6 +862,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
841
862
|
}
|
|
842
863
|
}
|
|
843
864
|
} else {
|
|
865
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
844
866
|
endPostUpdate();
|
|
845
867
|
}
|
|
846
868
|
{
|
|
@@ -857,6 +879,16 @@ var postUpdateComponent = (hostRef) => {
|
|
|
857
879
|
var appDidLoad = (who) => {
|
|
858
880
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
859
881
|
};
|
|
882
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
883
|
+
if (instance && instance[method]) {
|
|
884
|
+
try {
|
|
885
|
+
return instance[method](arg);
|
|
886
|
+
} catch (e) {
|
|
887
|
+
consoleError(e, elm);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
return void 0;
|
|
891
|
+
};
|
|
860
892
|
var addHydratedFlag = (elm) => {
|
|
861
893
|
var _a;
|
|
862
894
|
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
@@ -881,6 +913,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
881
913
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
882
914
|
if (instance) {
|
|
883
915
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
916
|
+
if (instance.componentShouldUpdate) {
|
|
917
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
918
|
+
return;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
884
921
|
scheduleUpdate(hostRef, false);
|
|
885
922
|
}
|
|
886
923
|
}
|
|
@@ -1043,6 +1080,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1043
1080
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1044
1081
|
}
|
|
1045
1082
|
endNewInstance();
|
|
1083
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1046
1084
|
} else {
|
|
1047
1085
|
Cstr = elm.constructor;
|
|
1048
1086
|
const cmpTag = elm.localName;
|
|
@@ -1070,6 +1108,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1070
1108
|
}
|
|
1071
1109
|
};
|
|
1072
1110
|
var fireConnectedCallback = (instance, elm) => {
|
|
1111
|
+
{
|
|
1112
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1113
|
+
}
|
|
1073
1114
|
};
|
|
1074
1115
|
|
|
1075
1116
|
// src/runtime/connected-callback.ts
|
|
@@ -1102,20 +1143,27 @@ var connectedCallback = (elm) => {
|
|
|
1102
1143
|
initializeComponent(elm, hostRef, cmpMeta);
|
|
1103
1144
|
}
|
|
1104
1145
|
} else {
|
|
1105
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
|
1106
|
-
hostRef.$
|
|
1146
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1147
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1148
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1149
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1107
1150
|
}
|
|
1108
1151
|
}
|
|
1109
1152
|
endConnected();
|
|
1110
1153
|
}
|
|
1111
1154
|
};
|
|
1112
1155
|
var disconnectInstance = (instance, elm) => {
|
|
1156
|
+
{
|
|
1157
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
1158
|
+
}
|
|
1113
1159
|
};
|
|
1114
1160
|
var disconnectedCallback = async (elm) => {
|
|
1115
1161
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1116
1162
|
const hostRef = getHostRef(elm);
|
|
1117
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
|
1118
|
-
hostRef.$
|
|
1163
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1164
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
1165
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1166
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
1119
1167
|
}
|
|
1120
1168
|
}
|
|
1121
1169
|
if (rootAppliedStyles.has(elm)) {
|
|
@@ -1129,18 +1177,22 @@ var disconnectedCallback = async (elm) => {
|
|
|
1129
1177
|
// src/runtime/bootstrap-lazy.ts
|
|
1130
1178
|
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1131
1179
|
var _a;
|
|
1180
|
+
if (!win.document) {
|
|
1181
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
1182
|
+
return;
|
|
1183
|
+
}
|
|
1132
1184
|
const endBootstrap = createTime();
|
|
1133
1185
|
const cmpTags = [];
|
|
1134
1186
|
const exclude = options.exclude || [];
|
|
1135
1187
|
const customElements2 = win.customElements;
|
|
1136
|
-
const head =
|
|
1188
|
+
const head = win.document.head;
|
|
1137
1189
|
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
1138
|
-
const dataStyles = /* @__PURE__ */
|
|
1190
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
1139
1191
|
const deferredConnectedCallbacks = [];
|
|
1140
1192
|
let appLoadFallback;
|
|
1141
1193
|
let isBootstrapping = true;
|
|
1142
1194
|
Object.assign(plt, options);
|
|
1143
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./",
|
|
1195
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
1144
1196
|
let hasSlotRelocation = false;
|
|
1145
1197
|
lazyBundles.map((lazyBundle) => {
|
|
1146
1198
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -1217,7 +1269,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1217
1269
|
}
|
|
1218
1270
|
if (dataStyles.innerHTML.length) {
|
|
1219
1271
|
dataStyles.setAttribute("data-styles", "");
|
|
1220
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
1272
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1221
1273
|
if (nonce != null) {
|
|
1222
1274
|
dataStyles.setAttribute("nonce", nonce);
|
|
1223
1275
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-975ba1f5.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-975ba1f5.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-ikons-wc.cjs.js', document.baseURI).href));
|