@everymatrix/general-footer-template 1.52.6 → 1.53.10
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/_commonjsHelpers-0a7b82d9.js +21 -0
- package/dist/cjs/custom-clock.cjs.entry.js +43 -2194
- package/dist/cjs/custom-content-section.cjs.entry.js +164 -132
- package/dist/cjs/general-footer-template.cjs.entry.js +43 -18
- package/dist/cjs/general-footer-template.cjs.js +3 -3
- package/dist/cjs/image-list.cjs.entry.js +9 -4
- package/dist/cjs/{index-465b4ca9.js → index-bd066c40.js} +188 -92
- package/dist/cjs/link-section-list.cjs.entry.js +7 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/custom-clock/custom-clock.js +56 -8
- package/dist/collection/components/custom-content-section/custom-content-section.js +14 -2
- package/dist/collection/components/general-footer-template/general-footer-template.js +90 -17
- 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/_commonjsHelpers-57e89916.js +18 -0
- package/dist/esm/custom-clock.entry.js +43 -2194
- package/dist/esm/custom-content-section.entry.js +155 -123
- package/dist/esm/general-footer-template.entry.js +43 -18
- package/dist/esm/general-footer-template.js +4 -4
- package/dist/esm/image-list.entry.js +9 -4
- package/dist/esm/{index-9775f5ee.js → index-f9286439.js} +188 -92
- package/dist/esm/link-section-list.entry.js +7 -4
- package/dist/esm/loader.js +3 -3
- package/dist/general-footer-template/general-footer-template.esm.js +1 -1
- package/dist/general-footer-template/p-9db940d5.entry.js +1 -0
- package/dist/general-footer-template/p-a1261e98.entry.js +1 -0
- package/dist/general-footer-template/p-bf402206.entry.js +1 -0
- package/dist/general-footer-template/p-c032aa40.entry.js +1 -0
- package/dist/general-footer-template/p-cb65c223.js +1 -0
- package/dist/general-footer-template/p-f798fd15.js +2 -0
- package/dist/general-footer-template/p-faca7e12.entry.js +8 -0
- package/dist/types/components/custom-clock/custom-clock.d.ts +4 -0
- package/dist/types/components/general-footer-template/general-footer-template.d.ts +4 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/general-footer-template/p-2fce3c9f.js +0 -2
- package/dist/general-footer-template/p-330130cd.entry.js +0 -1
- package/dist/general-footer-template/p-5982a2ca.entry.js +0 -8
- package/dist/general-footer-template/p-8a165606.entry.js +0 -1
- package/dist/general-footer-template/p-abce093a.entry.js +0 -1
- package/dist/general-footer-template/p-e19d7226.entry.js +0 -1
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
|
|
3
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
|
-
|
|
5
|
-
function getAugmentedNamespace(n) {
|
|
6
|
-
if (n.__esModule) return n;
|
|
7
|
-
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
8
|
-
Object.keys(n).forEach(function (k) {
|
|
9
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
10
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return n[k];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
return a;
|
|
18
|
-
}
|
|
1
|
+
import { r as registerInstance, h } from './index-f9286439.js';
|
|
2
|
+
import { c as commonjsGlobal, g as getAugmentedNamespace } from './_commonjsHelpers-57e89916.js';
|
|
19
3
|
|
|
20
4
|
var decode = {};
|
|
21
5
|
|
|
@@ -2119,18 +2103,18 @@ const CDATA$1 = ElementType.CDATA;
|
|
|
2119
2103
|
const Doctype = ElementType.Doctype;
|
|
2120
2104
|
|
|
2121
2105
|
const index$1 = /*#__PURE__*/Object.freeze({
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2106
|
+
__proto__: null,
|
|
2107
|
+
get ElementType () { return ElementType; },
|
|
2108
|
+
isTag: isTag$1,
|
|
2109
|
+
Root: Root$7,
|
|
2110
|
+
Text: Text$1,
|
|
2111
|
+
Directive: Directive,
|
|
2112
|
+
Comment: Comment$6,
|
|
2113
|
+
Script: Script,
|
|
2114
|
+
Style: Style,
|
|
2115
|
+
Tag: Tag,
|
|
2116
|
+
CDATA: CDATA$1,
|
|
2117
|
+
Doctype: Doctype
|
|
2134
2118
|
});
|
|
2135
2119
|
|
|
2136
2120
|
/**
|
|
@@ -3343,7 +3327,7 @@ function filter$1(test, node, recurse = true, limit = Infinity) {
|
|
|
3343
3327
|
function find(test, nodes, recurse, limit) {
|
|
3344
3328
|
const result = [];
|
|
3345
3329
|
/** Stack of the arrays we are looking at. */
|
|
3346
|
-
const nodeStack = [nodes];
|
|
3330
|
+
const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
3347
3331
|
/** Stack of the indices within the arrays. */
|
|
3348
3332
|
const indexStack = [0];
|
|
3349
3333
|
for (;;) {
|
|
@@ -3397,20 +3381,19 @@ function findOneChild(test, nodes) {
|
|
|
3397
3381
|
* @returns The first node that passes `test`.
|
|
3398
3382
|
*/
|
|
3399
3383
|
function findOne(test, nodes, recurse = true) {
|
|
3400
|
-
|
|
3401
|
-
for (let i = 0; i <
|
|
3402
|
-
const node =
|
|
3403
|
-
if (
|
|
3404
|
-
|
|
3405
|
-
}
|
|
3406
|
-
else if (test(node)) {
|
|
3407
|
-
elem = node;
|
|
3384
|
+
const searchedNodes = Array.isArray(nodes) ? nodes : [nodes];
|
|
3385
|
+
for (let i = 0; i < searchedNodes.length; i++) {
|
|
3386
|
+
const node = searchedNodes[i];
|
|
3387
|
+
if (isTag(node) && test(node)) {
|
|
3388
|
+
return node;
|
|
3408
3389
|
}
|
|
3409
|
-
|
|
3410
|
-
|
|
3390
|
+
if (recurse && hasChildren(node) && node.children.length > 0) {
|
|
3391
|
+
const found = findOne(test, node.children, true);
|
|
3392
|
+
if (found)
|
|
3393
|
+
return found;
|
|
3411
3394
|
}
|
|
3412
3395
|
}
|
|
3413
|
-
return
|
|
3396
|
+
return null;
|
|
3414
3397
|
}
|
|
3415
3398
|
/**
|
|
3416
3399
|
* Checks if a tree of nodes contains at least one node passing a test.
|
|
@@ -3421,8 +3404,8 @@ function findOne(test, nodes, recurse = true) {
|
|
|
3421
3404
|
* @returns Whether a tree of nodes contains at least one node passing the test.
|
|
3422
3405
|
*/
|
|
3423
3406
|
function existsOne(test, nodes) {
|
|
3424
|
-
return nodes.some((
|
|
3425
|
-
(
|
|
3407
|
+
return (Array.isArray(nodes) ? nodes : [nodes]).some((node) => (isTag(node) && test(node)) ||
|
|
3408
|
+
(hasChildren(node) && existsOne(test, node.children)));
|
|
3426
3409
|
}
|
|
3427
3410
|
/**
|
|
3428
3411
|
* Search an array of nodes and their children for elements passing a test function.
|
|
@@ -3436,7 +3419,7 @@ function existsOne(test, nodes) {
|
|
|
3436
3419
|
*/
|
|
3437
3420
|
function findAll(test, nodes) {
|
|
3438
3421
|
const result = [];
|
|
3439
|
-
const nodeStack = [nodes];
|
|
3422
|
+
const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
3440
3423
|
const indexStack = [0];
|
|
3441
3424
|
for (;;) {
|
|
3442
3425
|
if (indexStack[0] >= nodeStack[0].length) {
|
|
@@ -3450,11 +3433,9 @@ function findAll(test, nodes) {
|
|
|
3450
3433
|
continue;
|
|
3451
3434
|
}
|
|
3452
3435
|
const elem = nodeStack[0][indexStack[0]++];
|
|
3453
|
-
if (
|
|
3454
|
-
continue;
|
|
3455
|
-
if (test(elem))
|
|
3436
|
+
if (isTag(elem) && test(elem))
|
|
3456
3437
|
result.push(elem);
|
|
3457
|
-
if (elem.children.length > 0) {
|
|
3438
|
+
if (hasChildren(elem) && elem.children.length > 0) {
|
|
3458
3439
|
indexStack.unshift(0);
|
|
3459
3440
|
nodeStack.unshift(elem.children);
|
|
3460
3441
|
}
|
|
@@ -3584,6 +3565,19 @@ function getElementById(id, nodes, recurse = true) {
|
|
|
3584
3565
|
function getElementsByTagName(tagName, nodes, recurse = true, limit = Infinity) {
|
|
3585
3566
|
return filter$1(Checks["tag_name"](tagName), nodes, recurse, limit);
|
|
3586
3567
|
}
|
|
3568
|
+
/**
|
|
3569
|
+
* Returns all nodes with the supplied `className`.
|
|
3570
|
+
*
|
|
3571
|
+
* @category Legacy Query Functions
|
|
3572
|
+
* @param className Class name to search for.
|
|
3573
|
+
* @param nodes Nodes to search through.
|
|
3574
|
+
* @param recurse Also consider child nodes.
|
|
3575
|
+
* @param limit Maximum number of nodes to return.
|
|
3576
|
+
* @returns All nodes with the supplied `className`.
|
|
3577
|
+
*/
|
|
3578
|
+
function getElementsByClassName(className, nodes, recurse = true, limit = Infinity) {
|
|
3579
|
+
return filter$1(getAttribCheck("class", className), nodes, recurse, limit);
|
|
3580
|
+
}
|
|
3587
3581
|
/**
|
|
3588
3582
|
* Returns all nodes with the supplied `type`.
|
|
3589
3583
|
*
|
|
@@ -3915,48 +3909,49 @@ function isValidFeed(value) {
|
|
|
3915
3909
|
}
|
|
3916
3910
|
|
|
3917
3911
|
const index = /*#__PURE__*/Object.freeze({
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3912
|
+
__proto__: null,
|
|
3913
|
+
isTag: isTag,
|
|
3914
|
+
isCDATA: isCDATA,
|
|
3915
|
+
isText: isText,
|
|
3916
|
+
isComment: isComment,
|
|
3917
|
+
isDocument: isDocument,
|
|
3918
|
+
hasChildren: hasChildren,
|
|
3919
|
+
getOuterHTML: getOuterHTML,
|
|
3920
|
+
getInnerHTML: getInnerHTML,
|
|
3921
|
+
getText: getText,
|
|
3922
|
+
textContent: textContent,
|
|
3923
|
+
innerText: innerText,
|
|
3924
|
+
getChildren: getChildren,
|
|
3925
|
+
getParent: getParent,
|
|
3926
|
+
getSiblings: getSiblings,
|
|
3927
|
+
getAttributeValue: getAttributeValue,
|
|
3928
|
+
hasAttrib: hasAttrib,
|
|
3929
|
+
getName: getName,
|
|
3930
|
+
nextElementSibling: nextElementSibling,
|
|
3931
|
+
prevElementSibling: prevElementSibling,
|
|
3932
|
+
removeElement: removeElement,
|
|
3933
|
+
replaceElement: replaceElement,
|
|
3934
|
+
appendChild: appendChild,
|
|
3935
|
+
append: append,
|
|
3936
|
+
prependChild: prependChild,
|
|
3937
|
+
prepend: prepend,
|
|
3938
|
+
filter: filter$1,
|
|
3939
|
+
find: find,
|
|
3940
|
+
findOneChild: findOneChild,
|
|
3941
|
+
findOne: findOne,
|
|
3942
|
+
existsOne: existsOne,
|
|
3943
|
+
findAll: findAll,
|
|
3944
|
+
testElement: testElement,
|
|
3945
|
+
getElements: getElements,
|
|
3946
|
+
getElementById: getElementById,
|
|
3947
|
+
getElementsByTagName: getElementsByTagName,
|
|
3948
|
+
getElementsByClassName: getElementsByClassName,
|
|
3949
|
+
getElementsByTagType: getElementsByTagType,
|
|
3950
|
+
removeSubsets: removeSubsets,
|
|
3951
|
+
get DocumentPosition () { return DocumentPosition; },
|
|
3952
|
+
compareDocumentPosition: compareDocumentPosition,
|
|
3953
|
+
uniqueSort: uniqueSort,
|
|
3954
|
+
getFeed: getFeed
|
|
3960
3955
|
});
|
|
3961
3956
|
|
|
3962
3957
|
// Helper methods
|
|
@@ -4007,18 +4002,18 @@ function parseFeed(feed, options = parseFeedDefaultOptions) {
|
|
|
4007
4002
|
}
|
|
4008
4003
|
|
|
4009
4004
|
const esm = /*#__PURE__*/Object.freeze({
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4005
|
+
__proto__: null,
|
|
4006
|
+
parseDocument: parseDocument,
|
|
4007
|
+
parseDOM: parseDOM,
|
|
4008
|
+
createDomStream: createDomStream,
|
|
4009
|
+
parseFeed: parseFeed,
|
|
4010
|
+
Parser: Parser$2,
|
|
4011
|
+
DomHandler: DomHandler,
|
|
4012
|
+
DefaultHandler: DomHandler,
|
|
4013
|
+
Tokenizer: Tokenizer,
|
|
4014
|
+
ElementType: index$1,
|
|
4015
|
+
getFeed: getFeed,
|
|
4016
|
+
DomUtils: index
|
|
4022
4017
|
});
|
|
4023
4018
|
|
|
4024
4019
|
const require$$0$1 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
@@ -4069,8 +4064,8 @@ function isPlainObject$1(o) {
|
|
|
4069
4064
|
}
|
|
4070
4065
|
|
|
4071
4066
|
const isPlainObject$2 = /*#__PURE__*/Object.freeze({
|
|
4072
|
-
|
|
4073
|
-
|
|
4067
|
+
__proto__: null,
|
|
4068
|
+
isPlainObject: isPlainObject$1
|
|
4074
4069
|
});
|
|
4075
4070
|
|
|
4076
4071
|
const require$$2$1 = /*@__PURE__*/getAugmentedNamespace(isPlainObject$2);
|
|
@@ -4546,8 +4541,8 @@ picocolors_browser.exports.createColors = create;
|
|
|
4546
4541
|
const _nodeResolve_empty = {};
|
|
4547
4542
|
|
|
4548
4543
|
const _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
|
|
4549
|
-
|
|
4550
|
-
|
|
4544
|
+
__proto__: null,
|
|
4545
|
+
'default': _nodeResolve_empty
|
|
4551
4546
|
});
|
|
4552
4547
|
|
|
4553
4548
|
const require$$2 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
|
|
@@ -5261,9 +5256,12 @@ class Node$4 {
|
|
|
5261
5256
|
if (opts.index) {
|
|
5262
5257
|
pos = this.positionInside(opts.index);
|
|
5263
5258
|
} else if (opts.word) {
|
|
5264
|
-
let
|
|
5265
|
-
|
|
5266
|
-
|
|
5259
|
+
let inputString = ('document' in this.source.input)
|
|
5260
|
+
? this.source.input.document
|
|
5261
|
+
: this.source.input.css;
|
|
5262
|
+
let stringRepresentation = inputString.slice(
|
|
5263
|
+
sourceOffset(inputString, this.source.start),
|
|
5264
|
+
sourceOffset(inputString, this.source.end)
|
|
5267
5265
|
);
|
|
5268
5266
|
let index = stringRepresentation.indexOf(opts.word);
|
|
5269
5267
|
if (index !== -1) pos = this.positionInside(index);
|
|
@@ -5274,11 +5272,14 @@ class Node$4 {
|
|
|
5274
5272
|
positionInside(index) {
|
|
5275
5273
|
let column = this.source.start.column;
|
|
5276
5274
|
let line = this.source.start.line;
|
|
5277
|
-
let
|
|
5275
|
+
let inputString = ('document' in this.source.input)
|
|
5276
|
+
? this.source.input.document
|
|
5277
|
+
: this.source.input.css;
|
|
5278
|
+
let offset = sourceOffset(inputString, this.source.start);
|
|
5278
5279
|
let end = offset + index;
|
|
5279
5280
|
|
|
5280
5281
|
for (let i = offset; i < end; i++) {
|
|
5281
|
-
if (
|
|
5282
|
+
if (inputString[i] === '\n') {
|
|
5282
5283
|
column = 1;
|
|
5283
5284
|
line += 1;
|
|
5284
5285
|
} else {
|
|
@@ -5311,9 +5312,12 @@ class Node$4 {
|
|
|
5311
5312
|
};
|
|
5312
5313
|
|
|
5313
5314
|
if (opts.word) {
|
|
5314
|
-
let
|
|
5315
|
-
|
|
5316
|
-
|
|
5315
|
+
let inputString = ('document' in this.source.input)
|
|
5316
|
+
? this.source.input.document
|
|
5317
|
+
: this.source.input.css;
|
|
5318
|
+
let stringRepresentation = inputString.slice(
|
|
5319
|
+
sourceOffset(inputString, this.source.start),
|
|
5320
|
+
sourceOffset(inputString, this.source.end)
|
|
5317
5321
|
);
|
|
5318
5322
|
let index = stringRepresentation.indexOf(opts.word);
|
|
5319
5323
|
if (index !== -1) {
|
|
@@ -6012,31 +6016,43 @@ Document$3.registerProcessor = dependant => {
|
|
|
6012
6016
|
var document = Document$3;
|
|
6013
6017
|
Document$3.default = Document$3;
|
|
6014
6018
|
|
|
6019
|
+
// This alphabet uses `A-Za-z0-9_-` symbols.
|
|
6020
|
+
// The order of characters is optimized for better gzip and brotli compression.
|
|
6021
|
+
// References to the same file (works both for gzip and brotli):
|
|
6022
|
+
// `'use`, `andom`, and `rict'`
|
|
6023
|
+
// References to the brotli default dictionary:
|
|
6024
|
+
// `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf`
|
|
6015
6025
|
let urlAlphabet =
|
|
6016
6026
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
6027
|
+
|
|
6017
6028
|
let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
6018
6029
|
return (size = defaultSize) => {
|
|
6019
6030
|
let id = '';
|
|
6020
|
-
|
|
6031
|
+
// A compact alternative for `for (var i = 0; i < step; i++)`.
|
|
6032
|
+
let i = size | 0;
|
|
6021
6033
|
while (i--) {
|
|
6034
|
+
// `| 0` is more compact and faster than `Math.floor()`.
|
|
6022
6035
|
id += alphabet[(Math.random() * alphabet.length) | 0];
|
|
6023
6036
|
}
|
|
6024
6037
|
return id
|
|
6025
6038
|
}
|
|
6026
6039
|
};
|
|
6040
|
+
|
|
6027
6041
|
let nanoid$1 = (size = 21) => {
|
|
6028
6042
|
let id = '';
|
|
6029
|
-
|
|
6043
|
+
// A compact alternative for `for (var i = 0; i < step; i++)`.
|
|
6044
|
+
let i = size | 0;
|
|
6030
6045
|
while (i--) {
|
|
6046
|
+
// `| 0` is more compact and faster than `Math.floor()`.
|
|
6031
6047
|
id += urlAlphabet[(Math.random() * 64) | 0];
|
|
6032
6048
|
}
|
|
6033
6049
|
return id
|
|
6034
6050
|
};
|
|
6035
6051
|
|
|
6036
6052
|
const nonSecure = /*#__PURE__*/Object.freeze({
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6053
|
+
__proto__: null,
|
|
6054
|
+
nanoid: nanoid$1,
|
|
6055
|
+
customAlphabet: customAlphabet
|
|
6040
6056
|
});
|
|
6041
6057
|
|
|
6042
6058
|
const require$$0 = /*@__PURE__*/getAugmentedNamespace(nonSecure);
|
|
@@ -6217,6 +6233,9 @@ class Input$4 {
|
|
|
6217
6233
|
this.hasBOM = false;
|
|
6218
6234
|
}
|
|
6219
6235
|
|
|
6236
|
+
this.document = this.css;
|
|
6237
|
+
if (opts.document) this.document = opts.document.toString();
|
|
6238
|
+
|
|
6220
6239
|
if (opts.from) {
|
|
6221
6240
|
if (
|
|
6222
6241
|
!pathAvailable$1 ||
|
|
@@ -8616,7 +8635,7 @@ let Root$1 = root;
|
|
|
8616
8635
|
|
|
8617
8636
|
class Processor$1 {
|
|
8618
8637
|
constructor(plugins = []) {
|
|
8619
|
-
this.version = '8.
|
|
8638
|
+
this.version = '8.5.1';
|
|
8620
8639
|
this.plugins = this.normalize(plugins);
|
|
8621
8640
|
}
|
|
8622
8641
|
|
|
@@ -9043,6 +9062,15 @@ function sanitizeHtml(html, options, _recursing) {
|
|
|
9043
9062
|
if (skip) {
|
|
9044
9063
|
if (options.disallowedTagsMode === 'discard' || options.disallowedTagsMode === 'completelyDiscard') {
|
|
9045
9064
|
// We want the contents but not this tag
|
|
9065
|
+
if (frame.innerText && !hasText) {
|
|
9066
|
+
const escaped = escapeHtml(frame.innerText);
|
|
9067
|
+
if (options.textFilter) {
|
|
9068
|
+
result += options.textFilter(escaped, name);
|
|
9069
|
+
} else {
|
|
9070
|
+
result += escapeHtml(frame.innerText);
|
|
9071
|
+
}
|
|
9072
|
+
addedText = true;
|
|
9073
|
+
}
|
|
9046
9074
|
return;
|
|
9047
9075
|
}
|
|
9048
9076
|
tempResult = result;
|
|
@@ -9695,9 +9723,13 @@ const CustomContentSectionStyle0 = customContentSectionCss;
|
|
|
9695
9723
|
const CustomContentSection = class {
|
|
9696
9724
|
constructor(hostRef) {
|
|
9697
9725
|
registerInstance(this, hostRef);
|
|
9698
|
-
|
|
9699
|
-
|
|
9726
|
+
/**
|
|
9727
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
9728
|
+
*/
|
|
9700
9729
|
this.navigateViaEvent = false;
|
|
9730
|
+
/**
|
|
9731
|
+
* Post Message event to be sent on navigation via Event
|
|
9732
|
+
*/
|
|
9701
9733
|
this.postMessageEvent = '';
|
|
9702
9734
|
}
|
|
9703
9735
|
render() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-f9286439.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* custom rules for component types
|
|
@@ -224,6 +224,47 @@ const GeneralFooterTemplateStyle3 = generalFooterTemplateCss;
|
|
|
224
224
|
const GeneralFooterTemplate = class {
|
|
225
225
|
constructor(hostRef) {
|
|
226
226
|
registerInstance(this, hostRef);
|
|
227
|
+
/**
|
|
228
|
+
* Environment segregation
|
|
229
|
+
*/
|
|
230
|
+
this.env = 'stage';
|
|
231
|
+
/**
|
|
232
|
+
* User roles
|
|
233
|
+
*/
|
|
234
|
+
this.userRoles = 'everyone';
|
|
235
|
+
/**
|
|
236
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
237
|
+
*/
|
|
238
|
+
this.navigateViaEvent = 'false';
|
|
239
|
+
/**
|
|
240
|
+
* Post Message event to be sent on navigation via Event
|
|
241
|
+
*/
|
|
242
|
+
this.postMessageEvent = 'NavigateTo';
|
|
243
|
+
/**
|
|
244
|
+
* custom styling by string content
|
|
245
|
+
*/
|
|
246
|
+
this.clientStyling = '';
|
|
247
|
+
/**
|
|
248
|
+
* custom styling by href
|
|
249
|
+
*/
|
|
250
|
+
this.clientStylingUrl = '';
|
|
251
|
+
/**
|
|
252
|
+
* custom translation by href
|
|
253
|
+
*/
|
|
254
|
+
this.translationUrl = '';
|
|
255
|
+
/**
|
|
256
|
+
* clockformat
|
|
257
|
+
*/
|
|
258
|
+
this.clockFormat = 'HH:MM:ss';
|
|
259
|
+
/**
|
|
260
|
+
* configurable time zone
|
|
261
|
+
*/
|
|
262
|
+
this.timeZone = '';
|
|
263
|
+
/**
|
|
264
|
+
* wether or not styling appends should be disallowed
|
|
265
|
+
*/
|
|
266
|
+
this.hasErrors = false;
|
|
267
|
+
this.stylingAppends = false;
|
|
227
268
|
this.platform = getDevicePlatform();
|
|
228
269
|
/**
|
|
229
270
|
* Host element
|
|
@@ -247,22 +288,6 @@ const GeneralFooterTemplate = class {
|
|
|
247
288
|
console.log('error ', err);
|
|
248
289
|
});
|
|
249
290
|
};
|
|
250
|
-
this.language = undefined;
|
|
251
|
-
this.sections = undefined;
|
|
252
|
-
this.endpoint = undefined;
|
|
253
|
-
this.env = 'stage';
|
|
254
|
-
this.userRoles = 'everyone';
|
|
255
|
-
this.userid = undefined;
|
|
256
|
-
this.session = undefined;
|
|
257
|
-
this.baseUrl = undefined;
|
|
258
|
-
this.navigateViaEvent = 'false';
|
|
259
|
-
this.postMessageEvent = 'NavigateTo';
|
|
260
|
-
this.clientStyling = '';
|
|
261
|
-
this.clientStylingUrl = '';
|
|
262
|
-
this.translationUrl = '';
|
|
263
|
-
this.clockFormat = 'HH:MM:ss';
|
|
264
|
-
this.hasErrors = false;
|
|
265
|
-
this.stylingAppends = false;
|
|
266
291
|
}
|
|
267
292
|
validateMandatoryFields() {
|
|
268
293
|
this.MANDATORY_FIELDS.forEach((field) => {
|
|
@@ -310,7 +335,7 @@ const GeneralFooterTemplate = class {
|
|
|
310
335
|
const FooterElement = componentRules[section].component;
|
|
311
336
|
const elementIsRepeater = this.footerContent.repeaters.hasOwnProperty(section);
|
|
312
337
|
const elementIsCustom = this.footerContent.wysiwyg.hasOwnProperty(section);
|
|
313
|
-
return h(FooterElement, { class: `${section} FooterSectionContainer FooterSectionContainer${i + 1}`, userid: this.userid, session: this.session, "base-url": this.baseUrl, language: this.language, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent, ruleset: componentRules[section], repeaterContent: elementIsRepeater ? this.footerContent.repeaters[section] : null, customContent: elementIsCustom ? this.footerContent.wysiwyg[section].content : null, "translation-url": this.translationUrl, "clock-format": this.clockFormat });
|
|
338
|
+
return h(FooterElement, { class: `${section} FooterSectionContainer FooterSectionContainer${i + 1}`, userid: this.userid, session: this.session, "base-url": this.baseUrl, language: this.language, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent, ruleset: componentRules[section], repeaterContent: elementIsRepeater ? this.footerContent.repeaters[section] : null, customContent: elementIsCustom ? this.footerContent.wysiwyg[section].content : null, "translation-url": this.translationUrl, "clock-format": this.clockFormat, "time-zone": this.timeZone });
|
|
314
339
|
});
|
|
315
340
|
return (h("footer", { class: "FooterContainer", ref: el => this.stylingContainer = el }, h("div", { class: "FooterGrid customStyle" }, footerSections)));
|
|
316
341
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-f9286439.js';
|
|
2
|
+
export { s as setNonce } from './index-f9286439.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["custom-content-section",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["general-footer-template",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"hasErrors":[32],"stylingAppends":[32]}]]],["link-section-list",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
|
|
19
|
+
return bootstrapLazy([["custom-content-section",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["general-footer-template",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"hasErrors":[32],"stylingAppends":[32]}]]],["link-section-list",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
|
|
20
20
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-f9286439.js';
|
|
2
2
|
|
|
3
3
|
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}";
|
|
4
4
|
const ImageListStyle0 = imageListCss;
|
|
@@ -6,12 +6,17 @@ const ImageListStyle0 = imageListCss;
|
|
|
6
6
|
const ImageList = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
11
|
+
*/
|
|
12
|
+
this.navigateViaEvent = false;
|
|
13
|
+
/**
|
|
14
|
+
* Post Message event to be sent on navigation via event
|
|
15
|
+
*/
|
|
16
|
+
this.postMessageEvent = '';
|
|
9
17
|
this.navigateLink = (url, target, externalLink) => {
|
|
10
18
|
window.postMessage({ type: this.postMessageEvent, path: url, url, target, externalLink }, window.location.href);
|
|
11
19
|
};
|
|
12
|
-
this.repeaterContent = undefined;
|
|
13
|
-
this.navigateViaEvent = false;
|
|
14
|
-
this.postMessageEvent = '';
|
|
15
20
|
}
|
|
16
21
|
render() {
|
|
17
22
|
var _a, _b, _c;
|