@everymatrix/general-footer-template 1.55.0 → 1.56.0
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/custom-clock.cjs.entry.js +18 -6
- package/dist/cjs/custom-content-section.cjs.entry.js +189 -139
- package/dist/cjs/general-footer-template.cjs.entry.js +31 -11
- package/dist/cjs/general-footer-template.cjs.js +2 -2
- package/dist/cjs/image-list.cjs.entry.js +9 -4
- package/dist/cjs/{index-d85e54c5.js → index-c1afe75b.js} +194 -92
- package/dist/cjs/link-section-list.cjs.entry.js +7 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/custom-clock/custom-clock.js +25 -5
- package/dist/collection/components/custom-content-section/custom-content-section.js +14 -2
- package/dist/collection/components/general-footer-template/general-footer-template.js +62 -10
- package/dist/collection/components/image-list/image-list.js +14 -3
- package/dist/collection/components/link-section-list/link-section-list.js +16 -3
- package/dist/esm/custom-clock.entry.js +18 -6
- package/dist/esm/custom-content-section.entry.js +189 -139
- package/dist/esm/general-footer-template.entry.js +31 -11
- package/dist/esm/general-footer-template.js +3 -3
- package/dist/esm/image-list.entry.js +9 -4
- package/dist/esm/{index-7f32a4a7.js → index-732f640c.js} +194 -92
- package/dist/esm/link-section-list.entry.js +7 -4
- package/dist/esm/loader.js +2 -2
- package/dist/general-footer-template/general-footer-template.esm.js +1 -1
- package/dist/general-footer-template/p-1fc2e24a.js +2 -0
- package/dist/general-footer-template/{p-f5a17365.entry.js → p-3eda45d5.entry.js} +1 -1
- package/dist/general-footer-template/p-55524eed.entry.js +1 -0
- package/dist/general-footer-template/p-a4b44512.entry.js +1 -0
- package/dist/general-footer-template/{p-cd14a119.entry.js → p-a8c0f5a0.entry.js} +2 -2
- package/dist/general-footer-template/p-dd7ffd49.entry.js +1 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/general-footer-template/p-122e0353.entry.js +0 -1
- package/dist/general-footer-template/p-905acd21.js +0 -2
- package/dist/general-footer-template/p-9aeab1ea.entry.js +0 -1
- package/dist/general-footer-template/p-a6279430.entry.js +0 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -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-c1afe75b.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.26.0 | 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('general-footer-template.cjs.js', document.baseURI).href));
|
|
@@ -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-c1afe75b.js');
|
|
6
6
|
|
|
7
7
|
const imageListCss = ".sc-image-list-h {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.ImageListContainer.sc-image-list {\n height: 100%;\n}\n.ImageListWrapper.sc-image-list {\n box-sizing: border-box;\n height: 100%;\n display: flex;\n flex-direction: column;\n max-width: 90%;\n margin: auto;\n padding: var(--emw--spacing-large, 20px) 0;\n}\n.ImageListSectionTitle.sc-image-list {\n width: 100%;\n display: flex;\n justify-content: left;\n align-content: center;\n padding: var(--emw--spacing-large, 20px) var(--emw--spacing-medium, 14px) var(--emw--spacing-x-large, 30px);\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n text-transform: uppercase;\n font-size: 24px;\n font-weight: 100;\n}\n.ImageListLineup.sc-image-list {\n box-sizing: border-box;\n display: flex;\n flex-wrap: wrap;\n gap: var(--emw--spacing-x-large, 30px);\n justify-content: left;\n align-items: flex-start;\n padding-left: var(--emw--spacing-large, 20px);\n}\n.ImageListIcon.sc-image-list img.sc-image-list {\n max-height: var(--emw--size-medium-2x-minus, 40px);\n}\n\na.sc-image-list {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-end;\n text-decoration: none;\n}\n\na.sc-image-list p.sc-image-list {\n text-decoration: none;\n color: var(--emw--color-gray-100, #666);\n margin: 0;\n}\n\n@container (max-width: 750px) {\n .ImageListSectionTitle.sc-image-list {\n justify-content: center;\n font-size: var(--emw--font-size-medium, 16px);\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n padding: var(--emw--spacing-large, 20px) 0 var(--emw--spacing-x-large, 30px);\n justify-content: center;\n }\n .ImageListLineup.sc-image-list {\n justify-content: center;\n padding: 0;\n }\n}";
|
|
8
8
|
const ImageListStyle0 = imageListCss;
|
|
@@ -10,12 +10,17 @@ const ImageListStyle0 = imageListCss;
|
|
|
10
10
|
const ImageList = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
15
|
+
*/
|
|
16
|
+
this.navigateViaEvent = false;
|
|
17
|
+
/**
|
|
18
|
+
* Post Message event to be sent on navigation via event
|
|
19
|
+
*/
|
|
20
|
+
this.postMessageEvent = '';
|
|
13
21
|
this.navigateLink = (url, target, externalLink) => {
|
|
14
22
|
window.postMessage({ type: this.postMessageEvent, path: url, url, target, externalLink }, window.location.href);
|
|
15
23
|
};
|
|
16
|
-
this.repeaterContent = undefined;
|
|
17
|
-
this.navigateViaEvent = false;
|
|
18
|
-
this.postMessageEvent = '';
|
|
19
24
|
}
|
|
20
25
|
render() {
|
|
21
26
|
var _a, _b, _c;
|
|
@@ -21,19 +21,23 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'general-footer-template';
|
|
24
|
-
const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, 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: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
24
|
+
const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, 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, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
31
31
|
for (var name in all)
|
|
32
32
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
33
33
|
};
|
|
34
|
+
|
|
35
|
+
// src/client/client-host-ref.ts
|
|
34
36
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
35
37
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
36
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
38
|
+
var registerInstance = (lazyInstance, hostRef) => {
|
|
39
|
+
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
40
|
+
};
|
|
37
41
|
var registerHost = (hostElement, cmpMeta) => {
|
|
38
42
|
const hostRef = {
|
|
39
43
|
$flags$: 0,
|
|
@@ -46,7 +50,8 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
46
50
|
hostElement["s-p"] = [];
|
|
47
51
|
hostElement["s-rc"] = [];
|
|
48
52
|
}
|
|
49
|
-
|
|
53
|
+
const ref = hostRefs.set(hostElement, hostRef);
|
|
54
|
+
return ref;
|
|
50
55
|
};
|
|
51
56
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
52
57
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -99,16 +104,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
99
104
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
100
105
|
/* webpackMode: "lazy" */
|
|
101
106
|
`./${bundleId}.entry.js${""}`
|
|
102
|
-
)); }).then(
|
|
103
|
-
{
|
|
104
|
-
|
|
107
|
+
)); }).then(
|
|
108
|
+
(importedModule) => {
|
|
109
|
+
{
|
|
110
|
+
cmpModules.set(bundleId, importedModule);
|
|
111
|
+
}
|
|
112
|
+
return importedModule[exportName];
|
|
113
|
+
},
|
|
114
|
+
(e) => {
|
|
115
|
+
consoleError(e, hostRef.$hostElement$);
|
|
105
116
|
}
|
|
106
|
-
|
|
107
|
-
}, consoleError);
|
|
117
|
+
);
|
|
108
118
|
};
|
|
109
119
|
|
|
110
120
|
// src/client/client-style.ts
|
|
111
121
|
var styles = /* @__PURE__ */ new Map();
|
|
122
|
+
var HYDRATED_STYLE_ID = "sty-id";
|
|
112
123
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
113
124
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
114
125
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -167,11 +178,8 @@ var flush = () => {
|
|
|
167
178
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
168
179
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
169
180
|
|
|
170
|
-
// src/utils/constants.ts
|
|
171
|
-
var EMPTY_OBJ = {};
|
|
172
|
-
|
|
173
181
|
// src/utils/helpers.ts
|
|
174
|
-
var isDef = (v) => v != null;
|
|
182
|
+
var isDef = (v) => v != null && v !== void 0;
|
|
175
183
|
var isComplexType = (o) => {
|
|
176
184
|
o = typeof o;
|
|
177
185
|
return o === "object" || o === "function";
|
|
@@ -393,7 +401,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
393
401
|
}
|
|
394
402
|
if (!appliedStyles.has(scopeId2)) {
|
|
395
403
|
{
|
|
396
|
-
styleElm = doc.createElement("style");
|
|
404
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
397
405
|
styleElm.innerHTML = style;
|
|
398
406
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
399
407
|
if (nonce != null) {
|
|
@@ -403,7 +411,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
403
411
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
404
412
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
405
413
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
406
|
-
styleContainerNode.insertBefore(
|
|
414
|
+
styleContainerNode.insertBefore(
|
|
415
|
+
styleElm,
|
|
416
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
417
|
+
);
|
|
407
418
|
} else if ("host" in styleContainerNode) {
|
|
408
419
|
if (supportsConstructableStylesheets) {
|
|
409
420
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -421,7 +432,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
421
432
|
styleContainerNode.append(styleElm);
|
|
422
433
|
}
|
|
423
434
|
}
|
|
424
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
435
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
425
436
|
styleContainerNode.insertBefore(styleElm, null);
|
|
426
437
|
}
|
|
427
438
|
}
|
|
@@ -446,26 +457,25 @@ var attachStyles = (hostRef) => {
|
|
|
446
457
|
const scopeId2 = addStyle(
|
|
447
458
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
448
459
|
cmpMeta);
|
|
449
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
460
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
450
461
|
elm["s-sc"] = scopeId2;
|
|
451
462
|
elm.classList.add(scopeId2 + "-h");
|
|
452
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
453
|
-
elm.classList.add(scopeId2 + "-s");
|
|
454
|
-
}
|
|
455
463
|
}
|
|
456
464
|
endAttachStyles();
|
|
457
465
|
};
|
|
458
466
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
459
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
467
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
460
468
|
if (oldValue !== newValue) {
|
|
461
469
|
let isProp = isMemberInElement(elm, memberName);
|
|
462
470
|
let ln = memberName.toLowerCase();
|
|
463
471
|
if (memberName === "class") {
|
|
464
472
|
const classList = elm.classList;
|
|
465
473
|
const oldClasses = parseClassList(oldValue);
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
474
|
+
let newClasses = parseClassList(newValue);
|
|
475
|
+
{
|
|
476
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
477
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
478
|
+
}
|
|
469
479
|
} else if (memberName === "style") {
|
|
470
480
|
{
|
|
471
481
|
for (const prop in oldValue) {
|
|
@@ -524,7 +534,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
524
534
|
elm.setAttribute(memberName, n);
|
|
525
535
|
}
|
|
526
536
|
}
|
|
527
|
-
} else {
|
|
537
|
+
} else if (elm[memberName] !== newValue) {
|
|
528
538
|
elm[memberName] = newValue;
|
|
529
539
|
}
|
|
530
540
|
} catch (e) {
|
|
@@ -546,24 +556,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
546
556
|
}
|
|
547
557
|
};
|
|
548
558
|
var parseClassListRegex = /\s/;
|
|
549
|
-
var parseClassList = (value) =>
|
|
559
|
+
var parseClassList = (value) => {
|
|
560
|
+
if (typeof value === "object" && value && "baseVal" in value) {
|
|
561
|
+
value = value.baseVal;
|
|
562
|
+
}
|
|
563
|
+
if (!value || typeof value !== "string") {
|
|
564
|
+
return [];
|
|
565
|
+
}
|
|
566
|
+
return value.split(parseClassListRegex);
|
|
567
|
+
};
|
|
550
568
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
551
569
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
552
570
|
|
|
553
571
|
// src/runtime/vdom/update-element.ts
|
|
554
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
572
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
|
555
573
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
556
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
557
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
574
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
|
575
|
+
const newVnodeAttrs = newVnode.$attrs$ || {};
|
|
558
576
|
{
|
|
559
577
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
560
578
|
if (!(memberName in newVnodeAttrs)) {
|
|
561
|
-
setAccessor(
|
|
579
|
+
setAccessor(
|
|
580
|
+
elm,
|
|
581
|
+
memberName,
|
|
582
|
+
oldVnodeAttrs[memberName],
|
|
583
|
+
void 0,
|
|
584
|
+
isSvgMode2,
|
|
585
|
+
newVnode.$flags$);
|
|
562
586
|
}
|
|
563
587
|
}
|
|
564
588
|
}
|
|
565
589
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
566
|
-
setAccessor(
|
|
590
|
+
setAccessor(
|
|
591
|
+
elm,
|
|
592
|
+
memberName,
|
|
593
|
+
oldVnodeAttrs[memberName],
|
|
594
|
+
newVnodeAttrs[memberName],
|
|
595
|
+
isSvgMode2,
|
|
596
|
+
newVnode.$flags$);
|
|
567
597
|
}
|
|
568
598
|
};
|
|
569
599
|
function sortedAttrNames(attrNames) {
|
|
@@ -581,7 +611,7 @@ var scopeId;
|
|
|
581
611
|
var hostTagName;
|
|
582
612
|
var useNativeShadowDom = false;
|
|
583
613
|
var isSvgMode = false;
|
|
584
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex
|
|
614
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
585
615
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
586
616
|
let i2 = 0;
|
|
587
617
|
let elm;
|
|
@@ -595,17 +625,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
595
625
|
{
|
|
596
626
|
updateElement(null, newVNode2, isSvgMode);
|
|
597
627
|
}
|
|
598
|
-
|
|
599
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
600
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
628
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
601
629
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
602
630
|
}
|
|
603
|
-
{
|
|
604
|
-
updateElementScopeIds(elm, parentElm);
|
|
605
|
-
}
|
|
606
631
|
if (newVNode2.$children$) {
|
|
607
632
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
608
|
-
childNode = createElm(oldParentVNode, newVNode2, i2
|
|
633
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
609
634
|
if (childNode) {
|
|
610
635
|
elm.appendChild(childNode);
|
|
611
636
|
}
|
|
@@ -623,7 +648,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
623
648
|
}
|
|
624
649
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
625
650
|
if (vnodes[startIdx]) {
|
|
626
|
-
childNode = createElm(null, parentVNode, startIdx
|
|
651
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
627
652
|
if (childNode) {
|
|
628
653
|
vnodes[startIdx].$elm$ = childNode;
|
|
629
654
|
insertBefore(containerElm, childNode, before);
|
|
@@ -696,7 +721,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
696
721
|
if (idxInOld >= 0) {
|
|
697
722
|
elmToMove = oldCh[idxInOld];
|
|
698
723
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
699
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld
|
|
724
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
700
725
|
} else {
|
|
701
726
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
702
727
|
oldCh[idxInOld] = void 0;
|
|
@@ -704,7 +729,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
704
729
|
}
|
|
705
730
|
newStartVnode = newCh[++newStartIdx];
|
|
706
731
|
} else {
|
|
707
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx
|
|
732
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
708
733
|
newStartVnode = newCh[++newStartIdx];
|
|
709
734
|
}
|
|
710
735
|
if (node) {
|
|
@@ -732,6 +757,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
732
757
|
if (!isInitialRender) {
|
|
733
758
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
734
759
|
}
|
|
760
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
761
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
762
|
+
}
|
|
735
763
|
return true;
|
|
736
764
|
}
|
|
737
765
|
return false;
|
|
@@ -771,38 +799,34 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
771
799
|
}
|
|
772
800
|
};
|
|
773
801
|
var insertBefore = (parent, newNode, reference) => {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
updateElementScopeIds(newNode, parent);
|
|
802
|
+
if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
|
803
|
+
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
777
804
|
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
var findScopeIds = (element) => {
|
|
781
|
-
const scopeIds = [];
|
|
782
|
-
if (element) {
|
|
783
|
-
scopeIds.push(
|
|
784
|
-
...element["s-scs"] || [],
|
|
785
|
-
element["s-si"],
|
|
786
|
-
element["s-sc"],
|
|
787
|
-
...findScopeIds(element.parentElement)
|
|
788
|
-
);
|
|
805
|
+
{
|
|
806
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
789
807
|
}
|
|
790
|
-
return scopeIds;
|
|
791
808
|
};
|
|
792
|
-
|
|
793
|
-
var _a;
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
809
|
+
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
810
|
+
var _a, _b;
|
|
811
|
+
let scopeId2;
|
|
812
|
+
if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
|
|
813
|
+
const scopeName = slotNode["s-sn"];
|
|
814
|
+
const hostName = slotNode["s-hn"];
|
|
815
|
+
(_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
|
|
816
|
+
if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
|
|
817
|
+
let child = (oldParent.__childNodes || oldParent.childNodes)[0];
|
|
818
|
+
let found = false;
|
|
819
|
+
while (child) {
|
|
820
|
+
if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
|
|
821
|
+
found = true;
|
|
822
|
+
break;
|
|
801
823
|
}
|
|
824
|
+
child = child.nextSibling;
|
|
802
825
|
}
|
|
826
|
+
if (!found) oldParent.classList.remove(scopeId2 + "-s");
|
|
803
827
|
}
|
|
804
828
|
}
|
|
805
|
-
}
|
|
829
|
+
}
|
|
806
830
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
807
831
|
const hostElm = hostRef.$hostElement$;
|
|
808
832
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -829,14 +853,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
829
853
|
{
|
|
830
854
|
scopeId = hostElm["s-sc"];
|
|
831
855
|
}
|
|
832
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
856
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
833
857
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
834
858
|
};
|
|
835
859
|
|
|
836
860
|
// src/runtime/update-component.ts
|
|
837
861
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
838
862
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
839
|
-
ancestorComponent["s-p"].push(
|
|
863
|
+
const index = ancestorComponent["s-p"].push(
|
|
864
|
+
new Promise(
|
|
865
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
866
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
867
|
+
r();
|
|
868
|
+
}
|
|
869
|
+
)
|
|
870
|
+
);
|
|
840
871
|
}
|
|
841
872
|
};
|
|
842
873
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -863,7 +894,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
863
894
|
let maybePromise;
|
|
864
895
|
if (isInitialLoad) {
|
|
865
896
|
{
|
|
866
|
-
maybePromise = safeCall(instance, "componentWillLoad");
|
|
897
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
867
898
|
}
|
|
868
899
|
}
|
|
869
900
|
endSchedule();
|
|
@@ -937,7 +968,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
937
968
|
addHydratedFlag(elm);
|
|
938
969
|
}
|
|
939
970
|
{
|
|
940
|
-
safeCall(instance, "componentDidLoad");
|
|
971
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
941
972
|
}
|
|
942
973
|
endPostUpdate();
|
|
943
974
|
{
|
|
@@ -961,17 +992,14 @@ var postUpdateComponent = (hostRef) => {
|
|
|
961
992
|
}
|
|
962
993
|
};
|
|
963
994
|
var appDidLoad = (who) => {
|
|
964
|
-
{
|
|
965
|
-
addHydratedFlag(doc.documentElement);
|
|
966
|
-
}
|
|
967
995
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
968
996
|
};
|
|
969
|
-
var safeCall = (instance, method, arg) => {
|
|
997
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
970
998
|
if (instance && instance[method]) {
|
|
971
999
|
try {
|
|
972
1000
|
return instance[method](arg);
|
|
973
1001
|
} catch (e) {
|
|
974
|
-
consoleError(e);
|
|
1002
|
+
consoleError(e, elm);
|
|
975
1003
|
}
|
|
976
1004
|
}
|
|
977
1005
|
return void 0;
|
|
@@ -1030,15 +1058,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1030
1058
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1031
1059
|
members.map(([memberName, [memberFlags]]) => {
|
|
1032
1060
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1061
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1062
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1063
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1064
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
1065
|
+
Object.defineProperty(prototype, memberName, {
|
|
1066
|
+
get() {
|
|
1067
|
+
{
|
|
1068
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
1069
|
+
return getValue(this, memberName);
|
|
1070
|
+
}
|
|
1071
|
+
const ref = getHostRef(this);
|
|
1072
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1073
|
+
if (!instance) return;
|
|
1074
|
+
return instance[memberName];
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
configurable: true,
|
|
1078
|
+
enumerable: true
|
|
1079
|
+
});
|
|
1080
|
+
}
|
|
1033
1081
|
Object.defineProperty(prototype, memberName, {
|
|
1034
|
-
get() {
|
|
1035
|
-
return getValue(this, memberName);
|
|
1036
|
-
},
|
|
1037
1082
|
set(newValue) {
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1083
|
+
const ref = getHostRef(this);
|
|
1084
|
+
if (origSetter) {
|
|
1085
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1086
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
1087
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
1088
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1089
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1090
|
+
}
|
|
1091
|
+
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1092
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1093
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1094
|
+
return;
|
|
1095
|
+
}
|
|
1096
|
+
{
|
|
1097
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1098
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1099
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1100
|
+
ref.$onReadyPromise$.then(() => {
|
|
1101
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1102
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
1103
|
+
}
|
|
1104
|
+
});
|
|
1105
|
+
}
|
|
1106
|
+
return;
|
|
1107
|
+
}
|
|
1108
|
+
const setterSetVal = () => {
|
|
1109
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
1110
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1111
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1112
|
+
}
|
|
1113
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1114
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1115
|
+
};
|
|
1116
|
+
if (ref.$lazyInstance$) {
|
|
1117
|
+
setterSetVal();
|
|
1118
|
+
} else {
|
|
1119
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1042
1123
|
});
|
|
1043
1124
|
}
|
|
1044
1125
|
});
|
|
@@ -1048,7 +1129,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1048
1129
|
plt.jmp(() => {
|
|
1049
1130
|
var _a2;
|
|
1050
1131
|
const propName = attrNameToPropName.get(attrName);
|
|
1051
|
-
if (this.hasOwnProperty(propName)) {
|
|
1132
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
1052
1133
|
newValue = this[propName];
|
|
1053
1134
|
delete this[propName];
|
|
1054
1135
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1068,7 +1149,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1068
1149
|
}
|
|
1069
1150
|
return;
|
|
1070
1151
|
}
|
|
1071
|
-
|
|
1152
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1153
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1154
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1155
|
+
this[propName] = newValue;
|
|
1156
|
+
}
|
|
1072
1157
|
});
|
|
1073
1158
|
};
|
|
1074
1159
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1097,7 +1182,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1097
1182
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1098
1183
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1099
1184
|
if (bundleId) {
|
|
1100
|
-
const CstrImport = loadModule(cmpMeta);
|
|
1185
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1101
1186
|
if (CstrImport && "then" in CstrImport) {
|
|
1102
1187
|
const endLoad = uniqueTime();
|
|
1103
1188
|
Cstr = await CstrImport;
|
|
@@ -1122,7 +1207,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1122
1207
|
try {
|
|
1123
1208
|
new Cstr(hostRef);
|
|
1124
1209
|
} catch (e) {
|
|
1125
|
-
consoleError(e);
|
|
1210
|
+
consoleError(e, elm);
|
|
1126
1211
|
}
|
|
1127
1212
|
{
|
|
1128
1213
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1157,7 +1242,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1157
1242
|
schedule();
|
|
1158
1243
|
}
|
|
1159
1244
|
};
|
|
1160
|
-
var fireConnectedCallback = (instance) => {
|
|
1245
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
1161
1246
|
};
|
|
1162
1247
|
|
|
1163
1248
|
// src/runtime/connected-callback.ts
|
|
@@ -1197,20 +1282,26 @@ var connectedCallback = (elm) => {
|
|
|
1197
1282
|
endConnected();
|
|
1198
1283
|
}
|
|
1199
1284
|
};
|
|
1200
|
-
var disconnectInstance = (instance) => {
|
|
1285
|
+
var disconnectInstance = (instance, elm) => {
|
|
1201
1286
|
{
|
|
1202
|
-
safeCall(instance, "disconnectedCallback");
|
|
1287
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
1203
1288
|
}
|
|
1204
1289
|
};
|
|
1205
1290
|
var disconnectedCallback = async (elm) => {
|
|
1206
1291
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1207
1292
|
const hostRef = getHostRef(elm);
|
|
1208
1293
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1209
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
1294
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
1210
1295
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1211
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
1296
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
1212
1297
|
}
|
|
1213
1298
|
}
|
|
1299
|
+
if (rootAppliedStyles.has(elm)) {
|
|
1300
|
+
rootAppliedStyles.delete(elm);
|
|
1301
|
+
}
|
|
1302
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1303
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1304
|
+
}
|
|
1214
1305
|
};
|
|
1215
1306
|
|
|
1216
1307
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1291,6 +1382,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1291
1382
|
}
|
|
1292
1383
|
disconnectedCallback() {
|
|
1293
1384
|
plt.jmp(() => disconnectedCallback(this));
|
|
1385
|
+
plt.raf(() => {
|
|
1386
|
+
var _a3;
|
|
1387
|
+
const hostRef = getHostRef(this);
|
|
1388
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1389
|
+
if (i2 > -1) {
|
|
1390
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
1391
|
+
}
|
|
1392
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1393
|
+
delete hostRef.$vnode$.$elm$;
|
|
1394
|
+
}
|
|
1395
|
+
});
|
|
1294
1396
|
}
|
|
1295
1397
|
componentOnReady() {
|
|
1296
1398
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -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-c1afe75b.js');
|
|
6
6
|
|
|
7
7
|
const linkSectionListCss = ":host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.LinkSectionListContainer {\n display: block;\n container-type: inline-size;\n}\n.LinkSectionListWrapper {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n grid-template-columns: 1fr;\n}\n.LinkSectionListTitle {\n font-weight: var(--emw--font-weight-semibold, 500);\n text-transform: uppercase;\n}\n.LinkSectionListLink {\n font-weight: var(--emw--font-weight-light, 300);\n}\n\nul {\n width: fit-content;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: var(--emw--spacing-medium, 16px);\n padding-left: var(--emw--spacing-small-minus, 10px);\n font-size: var(--emw--font-size-small, 16px);\n text-transform: uppercase;\n}\nul li {\n list-style: disc;\n display: flex;\n align-items: center;\n padding-left: 25px;\n position: relative;\n}\nul li::before {\n content: \"\";\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n height: 8px;\n background-color: var(--emw--footer-color-primary, var(--emw--color-primary, #22B04E));\n border-radius: 50%;\n}\nul li .LinkSectionListLinkText {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\nul li .LinkSectionListLinkText span {\n text-align: center;\n cursor: pointer;\n}\nul li .LinkSectionListLinkText img.LinkSectionIcon {\n position: relative;\n height: 25px;\n padding: 0 5px;\n}\n\na {\n color: inherit;\n}\n\n@container (min-width: 280px) {\n .LinkSectionListWrapper {\n grid-template-columns: repeat(2, 1fr);\n }\n}\n@container (min-width: 650px) {\n .LinkSectionListWrapper {\n grid-gap: 2rem;\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: 1fr;\n }\n}";
|
|
8
8
|
const LinkSectionListStyle0 = linkSectionListCss;
|
|
@@ -10,10 +10,13 @@ const LinkSectionListStyle0 = linkSectionListCss;
|
|
|
10
10
|
const LinkSectionList = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
/**
|
|
14
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
15
|
+
*/
|
|
16
16
|
this.navigateViaEvent = false;
|
|
17
|
+
/**
|
|
18
|
+
* Post Message event to be sent on navigation via event
|
|
19
|
+
*/
|
|
17
20
|
this.postMessageEvent = '';
|
|
18
21
|
}
|
|
19
22
|
navigateLink(link) {
|
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-c1afe75b.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|