@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,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 _commonjsHelpers = require('./_commonjsHelpers-0a7b82d9.js');
|
|
7
7
|
|
|
8
8
|
const DEFAULT_LANGUAGE = 'en';
|
|
@@ -78,6 +78,23 @@ const CustomClockStyle0 = customClockCss;
|
|
|
78
78
|
const CustomClock = class {
|
|
79
79
|
constructor(hostRef) {
|
|
80
80
|
index.registerInstance(this, hostRef);
|
|
81
|
+
/**
|
|
82
|
+
* clockformat
|
|
83
|
+
*/
|
|
84
|
+
this.clockFormat = 'HH:mm:ss';
|
|
85
|
+
/**
|
|
86
|
+
* configurable time zone
|
|
87
|
+
*/
|
|
88
|
+
this.timeZone = '';
|
|
89
|
+
/**
|
|
90
|
+
* custom translation by href
|
|
91
|
+
*/
|
|
92
|
+
this.translationUrl = '';
|
|
93
|
+
/**
|
|
94
|
+
* language
|
|
95
|
+
*/
|
|
96
|
+
this.language = 'en';
|
|
97
|
+
this.timeString = '';
|
|
81
98
|
this.startClock = () => {
|
|
82
99
|
this.intervalId = setInterval(() => {
|
|
83
100
|
if (this.timeZone.length > 0) {
|
|
@@ -90,11 +107,6 @@ const CustomClock = class {
|
|
|
90
107
|
}
|
|
91
108
|
}, 1000);
|
|
92
109
|
};
|
|
93
|
-
this.clockFormat = 'HH:mm:ss';
|
|
94
|
-
this.timeZone = '';
|
|
95
|
-
this.translationUrl = '';
|
|
96
|
-
this.language = 'en';
|
|
97
|
-
this.timeString = '';
|
|
98
110
|
}
|
|
99
111
|
handleNewTranslations() {
|
|
100
112
|
getTranslations(this.translationUrl);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$2 = require('./index-
|
|
5
|
+
const index$2 = require('./index-c1afe75b.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-0a7b82d9.js');
|
|
7
7
|
|
|
8
8
|
var decode = {};
|
|
@@ -3331,7 +3331,7 @@ function filter$1(test, node, recurse = true, limit = Infinity) {
|
|
|
3331
3331
|
function find(test, nodes, recurse, limit) {
|
|
3332
3332
|
const result = [];
|
|
3333
3333
|
/** Stack of the arrays we are looking at. */
|
|
3334
|
-
const nodeStack = [nodes];
|
|
3334
|
+
const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
3335
3335
|
/** Stack of the indices within the arrays. */
|
|
3336
3336
|
const indexStack = [0];
|
|
3337
3337
|
for (;;) {
|
|
@@ -3385,20 +3385,19 @@ function findOneChild(test, nodes) {
|
|
|
3385
3385
|
* @returns The first node that passes `test`.
|
|
3386
3386
|
*/
|
|
3387
3387
|
function findOne(test, nodes, recurse = true) {
|
|
3388
|
-
|
|
3389
|
-
for (let i = 0; i <
|
|
3390
|
-
const node =
|
|
3391
|
-
if (
|
|
3392
|
-
|
|
3393
|
-
}
|
|
3394
|
-
else if (test(node)) {
|
|
3395
|
-
elem = node;
|
|
3388
|
+
const searchedNodes = Array.isArray(nodes) ? nodes : [nodes];
|
|
3389
|
+
for (let i = 0; i < searchedNodes.length; i++) {
|
|
3390
|
+
const node = searchedNodes[i];
|
|
3391
|
+
if (isTag(node) && test(node)) {
|
|
3392
|
+
return node;
|
|
3396
3393
|
}
|
|
3397
|
-
|
|
3398
|
-
|
|
3394
|
+
if (recurse && hasChildren(node) && node.children.length > 0) {
|
|
3395
|
+
const found = findOne(test, node.children, true);
|
|
3396
|
+
if (found)
|
|
3397
|
+
return found;
|
|
3399
3398
|
}
|
|
3400
3399
|
}
|
|
3401
|
-
return
|
|
3400
|
+
return null;
|
|
3402
3401
|
}
|
|
3403
3402
|
/**
|
|
3404
3403
|
* Checks if a tree of nodes contains at least one node passing a test.
|
|
@@ -3409,8 +3408,8 @@ function findOne(test, nodes, recurse = true) {
|
|
|
3409
3408
|
* @returns Whether a tree of nodes contains at least one node passing the test.
|
|
3410
3409
|
*/
|
|
3411
3410
|
function existsOne(test, nodes) {
|
|
3412
|
-
return nodes.some((
|
|
3413
|
-
(
|
|
3411
|
+
return (Array.isArray(nodes) ? nodes : [nodes]).some((node) => (isTag(node) && test(node)) ||
|
|
3412
|
+
(hasChildren(node) && existsOne(test, node.children)));
|
|
3414
3413
|
}
|
|
3415
3414
|
/**
|
|
3416
3415
|
* Search an array of nodes and their children for elements passing a test function.
|
|
@@ -3424,7 +3423,7 @@ function existsOne(test, nodes) {
|
|
|
3424
3423
|
*/
|
|
3425
3424
|
function findAll(test, nodes) {
|
|
3426
3425
|
const result = [];
|
|
3427
|
-
const nodeStack = [nodes];
|
|
3426
|
+
const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
3428
3427
|
const indexStack = [0];
|
|
3429
3428
|
for (;;) {
|
|
3430
3429
|
if (indexStack[0] >= nodeStack[0].length) {
|
|
@@ -3438,11 +3437,9 @@ function findAll(test, nodes) {
|
|
|
3438
3437
|
continue;
|
|
3439
3438
|
}
|
|
3440
3439
|
const elem = nodeStack[0][indexStack[0]++];
|
|
3441
|
-
if (
|
|
3442
|
-
continue;
|
|
3443
|
-
if (test(elem))
|
|
3440
|
+
if (isTag(elem) && test(elem))
|
|
3444
3441
|
result.push(elem);
|
|
3445
|
-
if (elem.children.length > 0) {
|
|
3442
|
+
if (hasChildren(elem) && elem.children.length > 0) {
|
|
3446
3443
|
indexStack.unshift(0);
|
|
3447
3444
|
nodeStack.unshift(elem.children);
|
|
3448
3445
|
}
|
|
@@ -3572,6 +3569,19 @@ function getElementById(id, nodes, recurse = true) {
|
|
|
3572
3569
|
function getElementsByTagName(tagName, nodes, recurse = true, limit = Infinity) {
|
|
3573
3570
|
return filter$1(Checks["tag_name"](tagName), nodes, recurse, limit);
|
|
3574
3571
|
}
|
|
3572
|
+
/**
|
|
3573
|
+
* Returns all nodes with the supplied `className`.
|
|
3574
|
+
*
|
|
3575
|
+
* @category Legacy Query Functions
|
|
3576
|
+
* @param className Class name to search for.
|
|
3577
|
+
* @param nodes Nodes to search through.
|
|
3578
|
+
* @param recurse Also consider child nodes.
|
|
3579
|
+
* @param limit Maximum number of nodes to return.
|
|
3580
|
+
* @returns All nodes with the supplied `className`.
|
|
3581
|
+
*/
|
|
3582
|
+
function getElementsByClassName(className, nodes, recurse = true, limit = Infinity) {
|
|
3583
|
+
return filter$1(getAttribCheck("class", className), nodes, recurse, limit);
|
|
3584
|
+
}
|
|
3575
3585
|
/**
|
|
3576
3586
|
* Returns all nodes with the supplied `type`.
|
|
3577
3587
|
*
|
|
@@ -3939,6 +3949,7 @@ const index = /*#__PURE__*/Object.freeze({
|
|
|
3939
3949
|
getElements: getElements,
|
|
3940
3950
|
getElementById: getElementById,
|
|
3941
3951
|
getElementsByTagName: getElementsByTagName,
|
|
3952
|
+
getElementsByClassName: getElementsByClassName,
|
|
3942
3953
|
getElementsByTagType: getElementsByTagType,
|
|
3943
3954
|
removeSubsets: removeSubsets,
|
|
3944
3955
|
get DocumentPosition () { return DocumentPosition; },
|
|
@@ -5103,6 +5114,10 @@ function sourceOffset(inputCSS, position) {
|
|
|
5103
5114
|
}
|
|
5104
5115
|
|
|
5105
5116
|
class Node$4 {
|
|
5117
|
+
get proxyOf() {
|
|
5118
|
+
return this
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5106
5121
|
constructor(defaults = {}) {
|
|
5107
5122
|
this.raws = {};
|
|
5108
5123
|
this[isClean$2] = false;
|
|
@@ -5249,9 +5264,12 @@ class Node$4 {
|
|
|
5249
5264
|
if (opts.index) {
|
|
5250
5265
|
pos = this.positionInside(opts.index);
|
|
5251
5266
|
} else if (opts.word) {
|
|
5252
|
-
let
|
|
5253
|
-
|
|
5254
|
-
|
|
5267
|
+
let inputString = ('document' in this.source.input)
|
|
5268
|
+
? this.source.input.document
|
|
5269
|
+
: this.source.input.css;
|
|
5270
|
+
let stringRepresentation = inputString.slice(
|
|
5271
|
+
sourceOffset(inputString, this.source.start),
|
|
5272
|
+
sourceOffset(inputString, this.source.end)
|
|
5255
5273
|
);
|
|
5256
5274
|
let index = stringRepresentation.indexOf(opts.word);
|
|
5257
5275
|
if (index !== -1) pos = this.positionInside(index);
|
|
@@ -5262,11 +5280,14 @@ class Node$4 {
|
|
|
5262
5280
|
positionInside(index) {
|
|
5263
5281
|
let column = this.source.start.column;
|
|
5264
5282
|
let line = this.source.start.line;
|
|
5265
|
-
let
|
|
5283
|
+
let inputString = ('document' in this.source.input)
|
|
5284
|
+
? this.source.input.document
|
|
5285
|
+
: this.source.input.css;
|
|
5286
|
+
let offset = sourceOffset(inputString, this.source.start);
|
|
5266
5287
|
let end = offset + index;
|
|
5267
5288
|
|
|
5268
5289
|
for (let i = offset; i < end; i++) {
|
|
5269
|
-
if (
|
|
5290
|
+
if (inputString[i] === '\n') {
|
|
5270
5291
|
column = 1;
|
|
5271
5292
|
line += 1;
|
|
5272
5293
|
} else {
|
|
@@ -5299,9 +5320,12 @@ class Node$4 {
|
|
|
5299
5320
|
};
|
|
5300
5321
|
|
|
5301
5322
|
if (opts.word) {
|
|
5302
|
-
let
|
|
5303
|
-
|
|
5304
|
-
|
|
5323
|
+
let inputString = ('document' in this.source.input)
|
|
5324
|
+
? this.source.input.document
|
|
5325
|
+
: this.source.input.css;
|
|
5326
|
+
let stringRepresentation = inputString.slice(
|
|
5327
|
+
sourceOffset(inputString, this.source.start),
|
|
5328
|
+
sourceOffset(inputString, this.source.end)
|
|
5305
5329
|
);
|
|
5306
5330
|
let index = stringRepresentation.indexOf(opts.word);
|
|
5307
5331
|
if (index !== -1) {
|
|
@@ -5455,10 +5479,6 @@ class Node$4 {
|
|
|
5455
5479
|
for (let i in opts) data[i] = opts[i];
|
|
5456
5480
|
return result.warn(text, data)
|
|
5457
5481
|
}
|
|
5458
|
-
|
|
5459
|
-
get proxyOf() {
|
|
5460
|
-
return this
|
|
5461
|
-
}
|
|
5462
5482
|
}
|
|
5463
5483
|
|
|
5464
5484
|
var node_1 = Node$4;
|
|
@@ -5479,6 +5499,10 @@ Comment$4.default = Comment$4;
|
|
|
5479
5499
|
let Node$2 = node_1;
|
|
5480
5500
|
|
|
5481
5501
|
class Declaration$4 extends Node$2 {
|
|
5502
|
+
get variable() {
|
|
5503
|
+
return this.prop.startsWith('--') || this.prop[0] === '$'
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5482
5506
|
constructor(defaults) {
|
|
5483
5507
|
if (
|
|
5484
5508
|
defaults &&
|
|
@@ -5490,10 +5514,6 @@ class Declaration$4 extends Node$2 {
|
|
|
5490
5514
|
super(defaults);
|
|
5491
5515
|
this.type = 'decl';
|
|
5492
5516
|
}
|
|
5493
|
-
|
|
5494
|
-
get variable() {
|
|
5495
|
-
return this.prop.startsWith('--') || this.prop[0] === '$'
|
|
5496
|
-
}
|
|
5497
5517
|
}
|
|
5498
5518
|
|
|
5499
5519
|
var declaration = Declaration$4;
|
|
@@ -5524,6 +5544,16 @@ function markTreeDirty(node) {
|
|
|
5524
5544
|
}
|
|
5525
5545
|
|
|
5526
5546
|
class Container$7 extends Node$1 {
|
|
5547
|
+
get first() {
|
|
5548
|
+
if (!this.proxyOf.nodes) return undefined
|
|
5549
|
+
return this.proxyOf.nodes[0]
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
get last() {
|
|
5553
|
+
if (!this.proxyOf.nodes) return undefined
|
|
5554
|
+
return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]
|
|
5555
|
+
}
|
|
5556
|
+
|
|
5527
5557
|
append(...children) {
|
|
5528
5558
|
for (let child of children) {
|
|
5529
5559
|
let nodes = this.normalize(child, this.last);
|
|
@@ -5890,16 +5920,6 @@ class Container$7 extends Node$1 {
|
|
|
5890
5920
|
}
|
|
5891
5921
|
})
|
|
5892
5922
|
}
|
|
5893
|
-
|
|
5894
|
-
get first() {
|
|
5895
|
-
if (!this.proxyOf.nodes) return undefined
|
|
5896
|
-
return this.proxyOf.nodes[0]
|
|
5897
|
-
}
|
|
5898
|
-
|
|
5899
|
-
get last() {
|
|
5900
|
-
if (!this.proxyOf.nodes) return undefined
|
|
5901
|
-
return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]
|
|
5902
|
-
}
|
|
5903
5923
|
}
|
|
5904
5924
|
|
|
5905
5925
|
Container$7.registerParse = dependant => {
|
|
@@ -6000,22 +6020,34 @@ Document$3.registerProcessor = dependant => {
|
|
|
6000
6020
|
var document = Document$3;
|
|
6001
6021
|
Document$3.default = Document$3;
|
|
6002
6022
|
|
|
6023
|
+
// This alphabet uses `A-Za-z0-9_-` symbols.
|
|
6024
|
+
// The order of characters is optimized for better gzip and brotli compression.
|
|
6025
|
+
// References to the same file (works both for gzip and brotli):
|
|
6026
|
+
// `'use`, `andom`, and `rict'`
|
|
6027
|
+
// References to the brotli default dictionary:
|
|
6028
|
+
// `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf`
|
|
6003
6029
|
let urlAlphabet =
|
|
6004
6030
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
6031
|
+
|
|
6005
6032
|
let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
6006
6033
|
return (size = defaultSize) => {
|
|
6007
6034
|
let id = '';
|
|
6008
|
-
|
|
6035
|
+
// A compact alternative for `for (var i = 0; i < step; i++)`.
|
|
6036
|
+
let i = size | 0;
|
|
6009
6037
|
while (i--) {
|
|
6038
|
+
// `| 0` is more compact and faster than `Math.floor()`.
|
|
6010
6039
|
id += alphabet[(Math.random() * alphabet.length) | 0];
|
|
6011
6040
|
}
|
|
6012
6041
|
return id
|
|
6013
6042
|
}
|
|
6014
6043
|
};
|
|
6044
|
+
|
|
6015
6045
|
let nanoid$1 = (size = 21) => {
|
|
6016
6046
|
let id = '';
|
|
6017
|
-
|
|
6047
|
+
// A compact alternative for `for (var i = 0; i < step; i++)`.
|
|
6048
|
+
let i = size | 0;
|
|
6018
6049
|
while (i--) {
|
|
6050
|
+
// `| 0` is more compact and faster than `Math.floor()`.
|
|
6019
6051
|
id += urlAlphabet[(Math.random() * 64) | 0];
|
|
6020
6052
|
}
|
|
6021
6053
|
return id
|
|
@@ -6187,6 +6219,10 @@ let sourceMapAvailable$1 = Boolean(SourceMapConsumer$1 && SourceMapGenerator$1);
|
|
|
6187
6219
|
let pathAvailable$1 = Boolean(resolve$1 && isAbsolute);
|
|
6188
6220
|
|
|
6189
6221
|
class Input$4 {
|
|
6222
|
+
get from() {
|
|
6223
|
+
return this.file || this.id
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6190
6226
|
constructor(css, opts = {}) {
|
|
6191
6227
|
if (
|
|
6192
6228
|
css === null ||
|
|
@@ -6205,6 +6241,9 @@ class Input$4 {
|
|
|
6205
6241
|
this.hasBOM = false;
|
|
6206
6242
|
}
|
|
6207
6243
|
|
|
6244
|
+
this.document = this.css;
|
|
6245
|
+
if (opts.document) this.document = opts.document.toString();
|
|
6246
|
+
|
|
6208
6247
|
if (opts.from) {
|
|
6209
6248
|
if (
|
|
6210
6249
|
!pathAvailable$1 ||
|
|
@@ -6406,10 +6445,6 @@ class Input$4 {
|
|
|
6406
6445
|
}
|
|
6407
6446
|
return json
|
|
6408
6447
|
}
|
|
6409
|
-
|
|
6410
|
-
get from() {
|
|
6411
|
-
return this.file || this.id
|
|
6412
|
-
}
|
|
6413
6448
|
}
|
|
6414
6449
|
|
|
6415
6450
|
var input = Input$4;
|
|
@@ -6540,12 +6575,6 @@ let Container$3 = container;
|
|
|
6540
6575
|
let list$1 = list_1;
|
|
6541
6576
|
|
|
6542
6577
|
class Rule$3 extends Container$3 {
|
|
6543
|
-
constructor(defaults) {
|
|
6544
|
-
super(defaults);
|
|
6545
|
-
this.type = 'rule';
|
|
6546
|
-
if (!this.nodes) this.nodes = [];
|
|
6547
|
-
}
|
|
6548
|
-
|
|
6549
6578
|
get selectors() {
|
|
6550
6579
|
return list$1.comma(this.selector)
|
|
6551
6580
|
}
|
|
@@ -6555,6 +6584,12 @@ class Rule$3 extends Container$3 {
|
|
|
6555
6584
|
let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen');
|
|
6556
6585
|
this.selector = values.join(sep);
|
|
6557
6586
|
}
|
|
6587
|
+
|
|
6588
|
+
constructor(defaults) {
|
|
6589
|
+
super(defaults);
|
|
6590
|
+
this.type = 'rule';
|
|
6591
|
+
if (!this.nodes) this.nodes = [];
|
|
6592
|
+
}
|
|
6558
6593
|
}
|
|
6559
6594
|
|
|
6560
6595
|
var rule = Rule$3;
|
|
@@ -7594,6 +7629,8 @@ class Parser$1 {
|
|
|
7594
7629
|
if (prev && prev.type === 'rule' && !prev.raws.ownSemicolon) {
|
|
7595
7630
|
prev.raws.ownSemicolon = this.spaces;
|
|
7596
7631
|
this.spaces = '';
|
|
7632
|
+
prev.source.end = this.getPosition(token[2]);
|
|
7633
|
+
prev.source.end.offset += prev.raws.ownSemicolon.length;
|
|
7597
7634
|
}
|
|
7598
7635
|
}
|
|
7599
7636
|
}
|
|
@@ -7838,7 +7875,7 @@ class Parser$1 {
|
|
|
7838
7875
|
|
|
7839
7876
|
unknownWord(tokens) {
|
|
7840
7877
|
throw this.input.error(
|
|
7841
|
-
'Unknown word',
|
|
7878
|
+
'Unknown word ' + tokens[0][1],
|
|
7842
7879
|
{ offset: tokens[0][2] },
|
|
7843
7880
|
{ offset: tokens[0][2] + tokens[0][1].length }
|
|
7844
7881
|
)
|
|
@@ -7915,6 +7952,10 @@ Warning$2.default = Warning$2;
|
|
|
7915
7952
|
let Warning$1 = warning;
|
|
7916
7953
|
|
|
7917
7954
|
class Result$3 {
|
|
7955
|
+
get content() {
|
|
7956
|
+
return this.css
|
|
7957
|
+
}
|
|
7958
|
+
|
|
7918
7959
|
constructor(processor, root, opts) {
|
|
7919
7960
|
this.processor = processor;
|
|
7920
7961
|
this.messages = [];
|
|
@@ -7944,10 +7985,6 @@ class Result$3 {
|
|
|
7944
7985
|
warnings() {
|
|
7945
7986
|
return this.messages.filter(i => i.type === 'warning')
|
|
7946
7987
|
}
|
|
7947
|
-
|
|
7948
|
-
get content() {
|
|
7949
|
-
return this.css
|
|
7950
|
-
}
|
|
7951
7988
|
}
|
|
7952
7989
|
|
|
7953
7990
|
var result = Result$3;
|
|
@@ -8057,6 +8094,38 @@ function cleanMarks(node) {
|
|
|
8057
8094
|
let postcss$1 = {};
|
|
8058
8095
|
|
|
8059
8096
|
class LazyResult$2 {
|
|
8097
|
+
get content() {
|
|
8098
|
+
return this.stringify().content
|
|
8099
|
+
}
|
|
8100
|
+
|
|
8101
|
+
get css() {
|
|
8102
|
+
return this.stringify().css
|
|
8103
|
+
}
|
|
8104
|
+
|
|
8105
|
+
get map() {
|
|
8106
|
+
return this.stringify().map
|
|
8107
|
+
}
|
|
8108
|
+
|
|
8109
|
+
get messages() {
|
|
8110
|
+
return this.sync().messages
|
|
8111
|
+
}
|
|
8112
|
+
|
|
8113
|
+
get opts() {
|
|
8114
|
+
return this.result.opts
|
|
8115
|
+
}
|
|
8116
|
+
|
|
8117
|
+
get processor() {
|
|
8118
|
+
return this.result.processor
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
get root() {
|
|
8122
|
+
return this.sync().root
|
|
8123
|
+
}
|
|
8124
|
+
|
|
8125
|
+
get [Symbol.toStringTag]() {
|
|
8126
|
+
return 'LazyResult'
|
|
8127
|
+
}
|
|
8128
|
+
|
|
8060
8129
|
constructor(processor, css, opts) {
|
|
8061
8130
|
this.stringified = false;
|
|
8062
8131
|
this.processed = false;
|
|
@@ -8426,21 +8495,38 @@ class LazyResult$2 {
|
|
|
8426
8495
|
warnings() {
|
|
8427
8496
|
return this.sync().warnings()
|
|
8428
8497
|
}
|
|
8498
|
+
}
|
|
8499
|
+
|
|
8500
|
+
LazyResult$2.registerPostcss = dependant => {
|
|
8501
|
+
postcss$1 = dependant;
|
|
8502
|
+
};
|
|
8429
8503
|
|
|
8504
|
+
var lazyResult = LazyResult$2;
|
|
8505
|
+
LazyResult$2.default = LazyResult$2;
|
|
8506
|
+
|
|
8507
|
+
Root$2.registerLazyResult(LazyResult$2);
|
|
8508
|
+
Document$2.registerLazyResult(LazyResult$2);
|
|
8509
|
+
|
|
8510
|
+
let MapGenerator = mapGenerator;
|
|
8511
|
+
let parse$1 = parse_1;
|
|
8512
|
+
const Result$1 = result;
|
|
8513
|
+
let stringify$1 = stringify_1;
|
|
8514
|
+
|
|
8515
|
+
class NoWorkResult$1 {
|
|
8430
8516
|
get content() {
|
|
8431
|
-
return this.
|
|
8517
|
+
return this.result.css
|
|
8432
8518
|
}
|
|
8433
8519
|
|
|
8434
8520
|
get css() {
|
|
8435
|
-
return this.
|
|
8521
|
+
return this.result.css
|
|
8436
8522
|
}
|
|
8437
8523
|
|
|
8438
8524
|
get map() {
|
|
8439
|
-
return this.
|
|
8525
|
+
return this.result.map
|
|
8440
8526
|
}
|
|
8441
8527
|
|
|
8442
8528
|
get messages() {
|
|
8443
|
-
return
|
|
8529
|
+
return []
|
|
8444
8530
|
}
|
|
8445
8531
|
|
|
8446
8532
|
get opts() {
|
|
@@ -8452,30 +8538,31 @@ class LazyResult$2 {
|
|
|
8452
8538
|
}
|
|
8453
8539
|
|
|
8454
8540
|
get root() {
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
get [Symbol.toStringTag]() {
|
|
8459
|
-
return 'LazyResult'
|
|
8460
|
-
}
|
|
8461
|
-
}
|
|
8541
|
+
if (this._root) {
|
|
8542
|
+
return this._root
|
|
8543
|
+
}
|
|
8462
8544
|
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
};
|
|
8545
|
+
let root;
|
|
8546
|
+
let parser = parse$1;
|
|
8466
8547
|
|
|
8467
|
-
|
|
8468
|
-
|
|
8548
|
+
try {
|
|
8549
|
+
root = parser(this._css, this._opts);
|
|
8550
|
+
} catch (error) {
|
|
8551
|
+
this.error = error;
|
|
8552
|
+
}
|
|
8469
8553
|
|
|
8470
|
-
|
|
8471
|
-
|
|
8554
|
+
if (this.error) {
|
|
8555
|
+
throw this.error
|
|
8556
|
+
} else {
|
|
8557
|
+
this._root = root;
|
|
8558
|
+
return root
|
|
8559
|
+
}
|
|
8560
|
+
}
|
|
8472
8561
|
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
let stringify$1 = stringify_1;
|
|
8562
|
+
get [Symbol.toStringTag]() {
|
|
8563
|
+
return 'NoWorkResult'
|
|
8564
|
+
}
|
|
8477
8565
|
|
|
8478
|
-
class NoWorkResult$1 {
|
|
8479
8566
|
constructor(processor, css, opts) {
|
|
8480
8567
|
css = css.toString();
|
|
8481
8568
|
this.stringified = false;
|
|
@@ -8542,56 +8629,6 @@ class NoWorkResult$1 {
|
|
|
8542
8629
|
warnings() {
|
|
8543
8630
|
return []
|
|
8544
8631
|
}
|
|
8545
|
-
|
|
8546
|
-
get content() {
|
|
8547
|
-
return this.result.css
|
|
8548
|
-
}
|
|
8549
|
-
|
|
8550
|
-
get css() {
|
|
8551
|
-
return this.result.css
|
|
8552
|
-
}
|
|
8553
|
-
|
|
8554
|
-
get map() {
|
|
8555
|
-
return this.result.map
|
|
8556
|
-
}
|
|
8557
|
-
|
|
8558
|
-
get messages() {
|
|
8559
|
-
return []
|
|
8560
|
-
}
|
|
8561
|
-
|
|
8562
|
-
get opts() {
|
|
8563
|
-
return this.result.opts
|
|
8564
|
-
}
|
|
8565
|
-
|
|
8566
|
-
get processor() {
|
|
8567
|
-
return this.result.processor
|
|
8568
|
-
}
|
|
8569
|
-
|
|
8570
|
-
get root() {
|
|
8571
|
-
if (this._root) {
|
|
8572
|
-
return this._root
|
|
8573
|
-
}
|
|
8574
|
-
|
|
8575
|
-
let root;
|
|
8576
|
-
let parser = parse$1;
|
|
8577
|
-
|
|
8578
|
-
try {
|
|
8579
|
-
root = parser(this._css, this._opts);
|
|
8580
|
-
} catch (error) {
|
|
8581
|
-
this.error = error;
|
|
8582
|
-
}
|
|
8583
|
-
|
|
8584
|
-
if (this.error) {
|
|
8585
|
-
throw this.error
|
|
8586
|
-
} else {
|
|
8587
|
-
this._root = root;
|
|
8588
|
-
return root
|
|
8589
|
-
}
|
|
8590
|
-
}
|
|
8591
|
-
|
|
8592
|
-
get [Symbol.toStringTag]() {
|
|
8593
|
-
return 'NoWorkResult'
|
|
8594
|
-
}
|
|
8595
8632
|
}
|
|
8596
8633
|
|
|
8597
8634
|
var noWorkResult = NoWorkResult$1;
|
|
@@ -8604,7 +8641,7 @@ let Root$1 = root;
|
|
|
8604
8641
|
|
|
8605
8642
|
class Processor$1 {
|
|
8606
8643
|
constructor(plugins = []) {
|
|
8607
|
-
this.version = '8.
|
|
8644
|
+
this.version = '8.5.3';
|
|
8608
8645
|
this.plugins = this.normalize(plugins);
|
|
8609
8646
|
}
|
|
8610
8647
|
|
|
@@ -9031,6 +9068,15 @@ function sanitizeHtml(html, options, _recursing) {
|
|
|
9031
9068
|
if (skip) {
|
|
9032
9069
|
if (options.disallowedTagsMode === 'discard' || options.disallowedTagsMode === 'completelyDiscard') {
|
|
9033
9070
|
// We want the contents but not this tag
|
|
9071
|
+
if (frame.innerText && !hasText) {
|
|
9072
|
+
const escaped = escapeHtml(frame.innerText);
|
|
9073
|
+
if (options.textFilter) {
|
|
9074
|
+
result += options.textFilter(escaped, name);
|
|
9075
|
+
} else {
|
|
9076
|
+
result += escapeHtml(frame.innerText);
|
|
9077
|
+
}
|
|
9078
|
+
addedText = true;
|
|
9079
|
+
}
|
|
9034
9080
|
return;
|
|
9035
9081
|
}
|
|
9036
9082
|
tempResult = result;
|
|
@@ -9683,9 +9729,13 @@ const CustomContentSectionStyle0 = customContentSectionCss;
|
|
|
9683
9729
|
const CustomContentSection = class {
|
|
9684
9730
|
constructor(hostRef) {
|
|
9685
9731
|
index$2.registerInstance(this, hostRef);
|
|
9686
|
-
|
|
9687
|
-
|
|
9732
|
+
/**
|
|
9733
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
9734
|
+
*/
|
|
9688
9735
|
this.navigateViaEvent = false;
|
|
9736
|
+
/**
|
|
9737
|
+
* Post Message event to be sent on navigation via Event
|
|
9738
|
+
*/
|
|
9689
9739
|
this.postMessageEvent = '';
|
|
9690
9740
|
}
|
|
9691
9741
|
render() {
|
|
@@ -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
|
/**
|
|
8
8
|
* custom rules for component types
|
|
@@ -276,28 +276,48 @@ const GeneralFooterTemplateStyle0 = demoFooterCss;
|
|
|
276
276
|
const GeneralFooterTemplate = class {
|
|
277
277
|
constructor(hostRef) {
|
|
278
278
|
index.registerInstance(this, hostRef);
|
|
279
|
-
this.platform = getDevicePlatform();
|
|
280
279
|
/**
|
|
281
|
-
*
|
|
280
|
+
* Environment segregation
|
|
282
281
|
*/
|
|
283
|
-
this.MANDATORY_FIELDS = ['endpoint', 'language', 'sections'];
|
|
284
|
-
this.language = undefined;
|
|
285
|
-
this.sections = undefined;
|
|
286
|
-
this.endpoint = undefined;
|
|
287
282
|
this.env = 'stage';
|
|
283
|
+
/**
|
|
284
|
+
* User roles
|
|
285
|
+
*/
|
|
288
286
|
this.userRoles = 'everyone';
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
287
|
+
/**
|
|
288
|
+
* If this is true it will emit an event at the moment the content with url its clicked
|
|
289
|
+
*/
|
|
292
290
|
this.navigateViaEvent = 'false';
|
|
291
|
+
/**
|
|
292
|
+
* Post Message event to be sent on navigation via Event
|
|
293
|
+
*/
|
|
293
294
|
this.postMessageEvent = 'NavigateTo';
|
|
295
|
+
/**
|
|
296
|
+
* custom styling by string content
|
|
297
|
+
*/
|
|
294
298
|
this.clientStyling = '';
|
|
299
|
+
/**
|
|
300
|
+
* custom styling by href
|
|
301
|
+
*/
|
|
295
302
|
this.clientStylingUrl = '';
|
|
303
|
+
/**
|
|
304
|
+
* custom translation by href
|
|
305
|
+
*/
|
|
296
306
|
this.translationUrl = '';
|
|
307
|
+
/**
|
|
308
|
+
* clockformat
|
|
309
|
+
*/
|
|
297
310
|
this.clockFormat = 'HH:MM:ss';
|
|
311
|
+
/**
|
|
312
|
+
* configurable time zone
|
|
313
|
+
*/
|
|
298
314
|
this.timeZone = '';
|
|
299
|
-
this.mbSource = undefined;
|
|
300
315
|
this.hasErrors = false;
|
|
316
|
+
this.platform = getDevicePlatform();
|
|
317
|
+
/**
|
|
318
|
+
* Host element
|
|
319
|
+
*/
|
|
320
|
+
this.MANDATORY_FIELDS = ['endpoint', 'language', 'sections'];
|
|
301
321
|
}
|
|
302
322
|
validateMandatoryFields() {
|
|
303
323
|
this.MANDATORY_FIELDS.forEach((field) => {
|