@phatvu/web-component-poc 1.0.1 → 1.0.3
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/{fast-carousel.cjs.entry.js → fast-button_3.cjs.entry.js} +210 -3
- package/dist/cjs/{index-C756SOR-.js → index-B2BTpdbN.js} +373 -114
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/web-component-poc.cjs.js +2 -2
- package/dist/collection/components/button/button.js +2 -3
- package/dist/collection/components/fast-carousel/carousel.js +2 -3
- package/dist/components/fast-button.js +1 -1
- package/dist/components/fast-carousel.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/jobs-list-only-ui.js +1 -1
- package/dist/components/p-UM9TUfe3.js +1 -0
- package/dist/esm/{fast-carousel.entry.js → fast-button_3.entry.js} +209 -4
- package/dist/esm/{index-D7_MJBO8.js → index-Dk5CvWmb.js} +373 -114
- package/dist/esm/loader.js +3 -3
- package/dist/esm/web-component-poc.js +3 -3
- package/dist/web-component-poc/p-3d68d559.entry.js +1 -0
- package/dist/web-component-poc/p-Dk5CvWmb.js +2 -0
- package/dist/web-component-poc/web-component-poc.esm.js +1 -1
- package/hydrate/index.js +15 -506
- package/hydrate/index.mjs +15 -506
- package/package.json +1 -1
- package/dist/cjs/fast-button_2.cjs.entry.js +0 -211
- package/dist/components/p-Cw2MJ5l2.js +0 -1
- package/dist/esm/fast-button_2.entry.js +0 -208
- package/dist/web-component-poc/index-xE9n11HX.js.map +0 -1
- package/dist/web-component-poc/index.esm.js.map +0 -1
- package/dist/web-component-poc/p-0bc6d45d.entry.js +0 -1
- package/dist/web-component-poc/p-8ab359cc.entry.js +0 -1
- package/dist/web-component-poc/p-D7_MJBO8.js +0 -2
- package/dist/web-component-poc/web-component-poc.esm.js.map +0 -1
package/hydrate/index.js
CHANGED
|
@@ -132,7 +132,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
const NAMESPACE = 'web-component-poc';
|
|
135
|
-
const BUILD = /* web-component-poc */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", prop: true, propChangeCallback: false, slotRelocation: true, updatable: true};
|
|
135
|
+
const BUILD = /* web-component-poc */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", prop: true, propChangeCallback: false, shadowDom: false, slotRelocation: true, updatable: true};
|
|
136
136
|
|
|
137
137
|
/*
|
|
138
138
|
Stencil Hydrate Platform v4.43.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -732,21 +732,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
732
732
|
var attachStyles = (hostRef) => {
|
|
733
733
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
734
734
|
const elm = hostRef.$hostElement$;
|
|
735
|
-
const flags = cmpMeta.$flags$;
|
|
736
735
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
737
|
-
|
|
738
|
-
elm.
|
|
736
|
+
addStyle(
|
|
737
|
+
elm.getRootNode(),
|
|
739
738
|
cmpMeta);
|
|
740
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
741
|
-
elm["s-sc"] = scopeId2;
|
|
742
|
-
elm.classList.add(scopeId2 + "-h");
|
|
743
|
-
}
|
|
744
739
|
endAttachStyles();
|
|
745
740
|
};
|
|
746
741
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
747
|
-
|
|
748
|
-
// src/utils/helpers.ts
|
|
749
|
-
var isDef = (v) => v != null && v !== void 0;
|
|
750
742
|
var isComplexType = (o) => {
|
|
751
743
|
o = typeof o;
|
|
752
744
|
return o === "object" || o === "function";
|
|
@@ -840,7 +832,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
840
832
|
const childRenderNodes = [];
|
|
841
833
|
const slotNodes = [];
|
|
842
834
|
const slottedNodes = [];
|
|
843
|
-
const shadowRootNodes =
|
|
835
|
+
const shadowRootNodes = null;
|
|
844
836
|
const vnode = newVNode(tagName, null);
|
|
845
837
|
vnode.$elm$ = hostElm;
|
|
846
838
|
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
|
@@ -948,27 +940,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
948
940
|
currentPos = (slottedItem.node["s-oo"] || currentPos) + 1;
|
|
949
941
|
}
|
|
950
942
|
}
|
|
951
|
-
if (shadowRoot && !shadowRoot.childNodes.length) {
|
|
952
|
-
let rnIdex = 0;
|
|
953
|
-
const rnLen = shadowRootNodes.length;
|
|
954
|
-
if (rnLen) {
|
|
955
|
-
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
956
|
-
const node = shadowRootNodes[rnIdex];
|
|
957
|
-
if (node) {
|
|
958
|
-
shadowRoot.appendChild(node);
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
Array.from(hostElm.childNodes).forEach((node) => {
|
|
962
|
-
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
963
|
-
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
964
|
-
node.removeAttribute("hidden");
|
|
965
|
-
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue) {
|
|
966
|
-
node.parentNode.removeChild(node);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
});
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
943
|
hostRef.$hostElement$ = hostElm;
|
|
973
944
|
endHydrate();
|
|
974
945
|
};
|
|
@@ -1021,9 +992,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1021
992
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1022
993
|
}
|
|
1023
994
|
parentVNode = childVNode;
|
|
1024
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1025
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1026
|
-
}
|
|
1027
995
|
}
|
|
1028
996
|
}
|
|
1029
997
|
if (node.shadowRoot) {
|
|
@@ -1082,9 +1050,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1082
1050
|
}
|
|
1083
1051
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1084
1052
|
}
|
|
1085
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1086
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1087
|
-
}
|
|
1088
1053
|
}
|
|
1089
1054
|
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
1090
1055
|
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
@@ -1107,9 +1072,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1107
1072
|
slottedNodes
|
|
1108
1073
|
);
|
|
1109
1074
|
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1110
|
-
|
|
1111
|
-
node.remove();
|
|
1112
|
-
} else {
|
|
1075
|
+
{
|
|
1113
1076
|
hostElm["s-cr"] = node;
|
|
1114
1077
|
node["s-cn"] = true;
|
|
1115
1078
|
}
|
|
@@ -1171,22 +1134,7 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1171
1134
|
childVNode.$name$ = slotName || null;
|
|
1172
1135
|
childVNode.$tag$ = "slot";
|
|
1173
1136
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1174
|
-
|
|
1175
|
-
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1176
|
-
if (childVNode.$name$) {
|
|
1177
|
-
childVNode.$elm$.setAttribute("name", slotName);
|
|
1178
|
-
}
|
|
1179
|
-
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1180
|
-
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
1181
|
-
} else {
|
|
1182
|
-
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
1183
|
-
}
|
|
1184
|
-
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1185
|
-
node.remove();
|
|
1186
|
-
if (childVNode.$depth$ === "0") {
|
|
1187
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1188
|
-
}
|
|
1189
|
-
} else {
|
|
1137
|
+
{
|
|
1190
1138
|
const slot = childVNode.$elm$;
|
|
1191
1139
|
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1192
1140
|
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
@@ -1223,417 +1171,6 @@ var findCorrespondingNode = (node, type) => {
|
|
|
1223
1171
|
return sibling;
|
|
1224
1172
|
};
|
|
1225
1173
|
|
|
1226
|
-
// src/utils/regular-expression.ts
|
|
1227
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
1228
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1229
|
-
};
|
|
1230
|
-
|
|
1231
|
-
// src/utils/shadow-css.ts
|
|
1232
|
-
/**
|
|
1233
|
-
* @license
|
|
1234
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
1235
|
-
*
|
|
1236
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1237
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1238
|
-
*
|
|
1239
|
-
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
1240
|
-
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
1241
|
-
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
1242
|
-
*/
|
|
1243
|
-
var safeSelector = (selector) => {
|
|
1244
|
-
const placeholders = [];
|
|
1245
|
-
let index = 0;
|
|
1246
|
-
selector = selector.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g, (_, keep) => {
|
|
1247
|
-
const replaceBy = `__part-${index}__`;
|
|
1248
|
-
placeholders.push(keep);
|
|
1249
|
-
index++;
|
|
1250
|
-
return replaceBy;
|
|
1251
|
-
});
|
|
1252
|
-
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
1253
|
-
const replaceBy = `__ph-${index}__`;
|
|
1254
|
-
placeholders.push(keep);
|
|
1255
|
-
index++;
|
|
1256
|
-
return replaceBy;
|
|
1257
|
-
});
|
|
1258
|
-
const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
1259
|
-
const replaceBy = `__ph-${index}__`;
|
|
1260
|
-
placeholders.push(exp);
|
|
1261
|
-
index++;
|
|
1262
|
-
return pseudo + replaceBy;
|
|
1263
|
-
});
|
|
1264
|
-
const ss = {
|
|
1265
|
-
content,
|
|
1266
|
-
placeholders
|
|
1267
|
-
};
|
|
1268
|
-
return ss;
|
|
1269
|
-
};
|
|
1270
|
-
var restoreSafeSelector = (placeholders, content) => {
|
|
1271
|
-
content = content.replace(/__part-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1272
|
-
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1273
|
-
};
|
|
1274
|
-
var _polyfillHost = "-shadowcsshost";
|
|
1275
|
-
var _polyfillSlotted = "-shadowcssslotted";
|
|
1276
|
-
var _polyfillHostContext = "-shadowcsscontext";
|
|
1277
|
-
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
1278
|
-
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
1279
|
-
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
1280
|
-
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
1281
|
-
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
1282
|
-
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
1283
|
-
var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
1284
|
-
var _safePartRe = /__part-(\d+)__/g;
|
|
1285
|
-
var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
|
|
1286
|
-
var _polyfillHostRe = /-shadowcsshost/gim;
|
|
1287
|
-
var createSupportsRuleRe = (selector) => {
|
|
1288
|
-
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
1289
|
-
return new RegExp(
|
|
1290
|
-
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
1291
|
-
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
1292
|
-
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
1293
|
-
"g"
|
|
1294
|
-
);
|
|
1295
|
-
};
|
|
1296
|
-
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
1297
|
-
var stripComments = (input) => {
|
|
1298
|
-
return input.replace(_commentRe, "");
|
|
1299
|
-
};
|
|
1300
|
-
var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
1301
|
-
var extractCommentsWithHash = (input) => {
|
|
1302
|
-
return input.match(_commentWithHashRe) || [];
|
|
1303
|
-
};
|
|
1304
|
-
var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
1305
|
-
var _curlyRe = /([{}])/g;
|
|
1306
|
-
var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
1307
|
-
var OPEN_CURLY = "{";
|
|
1308
|
-
var CLOSE_CURLY = "}";
|
|
1309
|
-
var BLOCK_PLACEHOLDER = "%BLOCK%";
|
|
1310
|
-
var processRules = (input, ruleCallback) => {
|
|
1311
|
-
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
1312
|
-
let nextBlockIndex = 0;
|
|
1313
|
-
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
1314
|
-
const selector = m[2];
|
|
1315
|
-
let content = "";
|
|
1316
|
-
let suffix = m[4];
|
|
1317
|
-
let contentPrefix = "";
|
|
1318
|
-
if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
|
|
1319
|
-
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
1320
|
-
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
1321
|
-
contentPrefix = "{";
|
|
1322
|
-
}
|
|
1323
|
-
const cssRule = {
|
|
1324
|
-
selector,
|
|
1325
|
-
content
|
|
1326
|
-
};
|
|
1327
|
-
const rule = ruleCallback(cssRule);
|
|
1328
|
-
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
1329
|
-
});
|
|
1330
|
-
};
|
|
1331
|
-
var escapeBlocks = (input) => {
|
|
1332
|
-
const inputParts = input.split(_curlyRe);
|
|
1333
|
-
const resultParts = [];
|
|
1334
|
-
const escapedBlocks = [];
|
|
1335
|
-
let bracketCount = 0;
|
|
1336
|
-
let currentBlockParts = [];
|
|
1337
|
-
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
1338
|
-
const part = inputParts[partIndex];
|
|
1339
|
-
if (part === CLOSE_CURLY) {
|
|
1340
|
-
bracketCount--;
|
|
1341
|
-
}
|
|
1342
|
-
if (bracketCount > 0) {
|
|
1343
|
-
currentBlockParts.push(part);
|
|
1344
|
-
} else {
|
|
1345
|
-
if (currentBlockParts.length > 0) {
|
|
1346
|
-
escapedBlocks.push(currentBlockParts.join(""));
|
|
1347
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
1348
|
-
currentBlockParts = [];
|
|
1349
|
-
}
|
|
1350
|
-
resultParts.push(part);
|
|
1351
|
-
}
|
|
1352
|
-
if (part === OPEN_CURLY) {
|
|
1353
|
-
bracketCount++;
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
if (currentBlockParts.length > 0) {
|
|
1357
|
-
escapedBlocks.push(currentBlockParts.join(""));
|
|
1358
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
1359
|
-
}
|
|
1360
|
-
const strEscapedBlocks = {
|
|
1361
|
-
escapedString: resultParts.join(""),
|
|
1362
|
-
blocks: escapedBlocks
|
|
1363
|
-
};
|
|
1364
|
-
return strEscapedBlocks;
|
|
1365
|
-
};
|
|
1366
|
-
var insertPolyfillHostInCssText = (cssText) => {
|
|
1367
|
-
const supportsBlocks = [];
|
|
1368
|
-
cssText = cssText.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g, (_, selectorContent) => {
|
|
1369
|
-
const placeholder = `__supports_${supportsBlocks.length}__`;
|
|
1370
|
-
supportsBlocks.push(selectorContent);
|
|
1371
|
-
return `@supports selector(${placeholder})`;
|
|
1372
|
-
});
|
|
1373
|
-
const _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
1374
|
-
const _colonHostRe = createSupportsRuleRe(":host");
|
|
1375
|
-
const _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
1376
|
-
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
1377
|
-
supportsBlocks.forEach((originalSelector, index) => {
|
|
1378
|
-
cssText = cssText.replace(`__supports_${index}__`, originalSelector);
|
|
1379
|
-
});
|
|
1380
|
-
return cssText;
|
|
1381
|
-
};
|
|
1382
|
-
var convertColonRule = (cssText, regExp, partReplacer) => {
|
|
1383
|
-
return cssText.replace(regExp, (...m) => {
|
|
1384
|
-
if (m[2]) {
|
|
1385
|
-
const parts = m[2].split(",");
|
|
1386
|
-
const r = [];
|
|
1387
|
-
for (let i2 = 0; i2 < parts.length; i2++) {
|
|
1388
|
-
const p = parts[i2].trim();
|
|
1389
|
-
if (!p) break;
|
|
1390
|
-
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
1391
|
-
}
|
|
1392
|
-
return r.join(",");
|
|
1393
|
-
} else {
|
|
1394
|
-
return _polyfillHostNoCombinator + m[3];
|
|
1395
|
-
}
|
|
1396
|
-
});
|
|
1397
|
-
};
|
|
1398
|
-
var colonHostPartReplacer = (host, part, suffix) => {
|
|
1399
|
-
return host + part.replace(_polyfillHost, "") + suffix;
|
|
1400
|
-
};
|
|
1401
|
-
var convertColonHost = (cssText) => {
|
|
1402
|
-
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
1403
|
-
};
|
|
1404
|
-
var colonHostContextPartReplacer = (host, part, suffix) => {
|
|
1405
|
-
if (part.indexOf(_polyfillHost) > -1) {
|
|
1406
|
-
return colonHostPartReplacer(host, part, suffix);
|
|
1407
|
-
} else {
|
|
1408
|
-
return host + part + suffix + ", " + part + " " + host + suffix;
|
|
1409
|
-
}
|
|
1410
|
-
};
|
|
1411
|
-
var convertColonSlotted = (cssText, slotScopeId) => {
|
|
1412
|
-
const slotClass = "." + slotScopeId + " > ";
|
|
1413
|
-
const selectors = [];
|
|
1414
|
-
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
1415
|
-
if (m[2]) {
|
|
1416
|
-
const compound = m[2].trim();
|
|
1417
|
-
const suffix = m[3];
|
|
1418
|
-
const slottedSelector = slotClass + compound + suffix;
|
|
1419
|
-
let prefixSelector = "";
|
|
1420
|
-
for (let i2 = m[4] - 1; i2 >= 0; i2--) {
|
|
1421
|
-
const char = m[5][i2];
|
|
1422
|
-
if (char === "}" || char === ",") {
|
|
1423
|
-
break;
|
|
1424
|
-
}
|
|
1425
|
-
prefixSelector = char + prefixSelector;
|
|
1426
|
-
}
|
|
1427
|
-
const orgSelector = (prefixSelector + slottedSelector).trim();
|
|
1428
|
-
const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
|
|
1429
|
-
if (orgSelector !== addedSelector) {
|
|
1430
|
-
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
1431
|
-
selectors.push({
|
|
1432
|
-
orgSelector,
|
|
1433
|
-
updatedSelector
|
|
1434
|
-
});
|
|
1435
|
-
}
|
|
1436
|
-
return slottedSelector;
|
|
1437
|
-
} else {
|
|
1438
|
-
return _polyfillHostNoCombinator + m[3];
|
|
1439
|
-
}
|
|
1440
|
-
});
|
|
1441
|
-
return {
|
|
1442
|
-
selectors,
|
|
1443
|
-
cssText
|
|
1444
|
-
};
|
|
1445
|
-
};
|
|
1446
|
-
var convertColonHostContext = (cssText) => {
|
|
1447
|
-
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
1448
|
-
};
|
|
1449
|
-
var convertShadowDOMSelectors = (cssText) => {
|
|
1450
|
-
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
|
|
1451
|
-
};
|
|
1452
|
-
var makeScopeMatcher = (scopeSelector2) => {
|
|
1453
|
-
const lre = /\[/g;
|
|
1454
|
-
const rre = /\]/g;
|
|
1455
|
-
scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
|
|
1456
|
-
return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
|
|
1457
|
-
};
|
|
1458
|
-
var selectorNeedsScoping = (selector, scopeSelector2) => {
|
|
1459
|
-
const re = makeScopeMatcher(scopeSelector2);
|
|
1460
|
-
return !re.test(selector);
|
|
1461
|
-
};
|
|
1462
|
-
var injectScopingSelector = (selector, scopingSelector) => {
|
|
1463
|
-
return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
|
|
1464
|
-
return before + scopingSelector + colon + after;
|
|
1465
|
-
});
|
|
1466
|
-
};
|
|
1467
|
-
var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1468
|
-
_polyfillHostRe.lastIndex = 0;
|
|
1469
|
-
if (_polyfillHostRe.test(selector)) {
|
|
1470
|
-
const replaceBy = `.${hostSelector}`;
|
|
1471
|
-
return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
|
|
1472
|
-
}
|
|
1473
|
-
return scopeSelector2 + " " + selector;
|
|
1474
|
-
};
|
|
1475
|
-
var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1476
|
-
const isRe = /\[is=([^\]]*)\]/g;
|
|
1477
|
-
scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
|
|
1478
|
-
const className = "." + scopeSelector2;
|
|
1479
|
-
const _scopeSelectorPart = (p) => {
|
|
1480
|
-
let scopedP = p.trim();
|
|
1481
|
-
if (!scopedP) {
|
|
1482
|
-
return "";
|
|
1483
|
-
}
|
|
1484
|
-
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
1485
|
-
scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
|
|
1486
|
-
} else {
|
|
1487
|
-
const t = p.replace(_polyfillHostRe, "");
|
|
1488
|
-
if (t.length > 0) {
|
|
1489
|
-
scopedP = injectScopingSelector(t, className);
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
return scopedP;
|
|
1493
|
-
};
|
|
1494
|
-
const safeContent = safeSelector(selector);
|
|
1495
|
-
selector = safeContent.content;
|
|
1496
|
-
let scopedSelector = "";
|
|
1497
|
-
let startIndex = 0;
|
|
1498
|
-
let res;
|
|
1499
|
-
const sep2 = /( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;
|
|
1500
|
-
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1501
|
-
let shouldScope = !hasHost;
|
|
1502
|
-
while ((res = sep2.exec(selector)) !== null) {
|
|
1503
|
-
const separator = res[1];
|
|
1504
|
-
const part2 = selector.slice(startIndex, res.index).trim();
|
|
1505
|
-
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1506
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
1507
|
-
scopedSelector += `${scopedPart} ${separator} `;
|
|
1508
|
-
startIndex = sep2.lastIndex;
|
|
1509
|
-
}
|
|
1510
|
-
const part = selector.substring(startIndex);
|
|
1511
|
-
shouldScope = !part.match(_safePartRe) && (shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1);
|
|
1512
|
-
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
1513
|
-
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
1514
|
-
};
|
|
1515
|
-
var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
1516
|
-
return selector.split(",").map((shallowPart) => {
|
|
1517
|
-
if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
|
|
1518
|
-
return shallowPart.trim();
|
|
1519
|
-
}
|
|
1520
|
-
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
1521
|
-
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
1522
|
-
} else {
|
|
1523
|
-
return shallowPart.trim();
|
|
1524
|
-
}
|
|
1525
|
-
}).join(", ");
|
|
1526
|
-
};
|
|
1527
|
-
var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
1528
|
-
return processRules(cssText, (rule) => {
|
|
1529
|
-
let selector = rule.selector;
|
|
1530
|
-
let content = rule.content;
|
|
1531
|
-
if (rule.selector[0] !== "@") {
|
|
1532
|
-
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
1533
|
-
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1534
|
-
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
1535
|
-
}
|
|
1536
|
-
const cssRule = {
|
|
1537
|
-
selector: selector.replace(/\s{2,}/g, " ").trim(),
|
|
1538
|
-
content
|
|
1539
|
-
};
|
|
1540
|
-
return cssRule;
|
|
1541
|
-
});
|
|
1542
|
-
};
|
|
1543
|
-
var scopeCssText = (cssText, scopeId2, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
1544
|
-
cssText = insertPolyfillHostInCssText(cssText);
|
|
1545
|
-
cssText = convertColonHost(cssText);
|
|
1546
|
-
cssText = convertColonHostContext(cssText);
|
|
1547
|
-
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
1548
|
-
cssText = slotted.cssText;
|
|
1549
|
-
cssText = convertShadowDOMSelectors(cssText);
|
|
1550
|
-
if (scopeId2) {
|
|
1551
|
-
cssText = scopeSelectors(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1552
|
-
}
|
|
1553
|
-
cssText = replaceShadowCssHost(cssText, hostScopeId);
|
|
1554
|
-
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
|
|
1555
|
-
return {
|
|
1556
|
-
cssText: cssText.trim(),
|
|
1557
|
-
// We need to replace the shadow CSS host string in each of these selectors since we created
|
|
1558
|
-
// them prior to the replacement happening in the components CSS text.
|
|
1559
|
-
slottedSelectors: slotted.selectors.map((ref) => ({
|
|
1560
|
-
orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
|
|
1561
|
-
updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
|
|
1562
|
-
}))
|
|
1563
|
-
};
|
|
1564
|
-
};
|
|
1565
|
-
var replaceShadowCssHost = (cssText, hostScopeId) => {
|
|
1566
|
-
return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
1567
|
-
};
|
|
1568
|
-
var expandPartSelectors = (cssText) => {
|
|
1569
|
-
const partSelectorRe = /([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;
|
|
1570
|
-
return processRules(cssText, (rule) => {
|
|
1571
|
-
if (rule.selector[0] === "@") {
|
|
1572
|
-
return rule;
|
|
1573
|
-
}
|
|
1574
|
-
const selectors = rule.selector.split(",").map((sel) => {
|
|
1575
|
-
const out = [sel.trim()];
|
|
1576
|
-
let m;
|
|
1577
|
-
while ((m = partSelectorRe.exec(sel)) !== null) {
|
|
1578
|
-
const before = m[1].trimEnd();
|
|
1579
|
-
const partNames = m[2].trim().split(/\s+/);
|
|
1580
|
-
const after = m[3] || "";
|
|
1581
|
-
const partAttr = partNames.flatMap((p) => {
|
|
1582
|
-
if (!rule.selector.includes(`[part~="${p}"]`)) {
|
|
1583
|
-
return [`[part~="${p}"]`];
|
|
1584
|
-
}
|
|
1585
|
-
return [];
|
|
1586
|
-
}).join("");
|
|
1587
|
-
const expanded = `${before} ${partAttr}${after}`;
|
|
1588
|
-
if (!!partAttr && expanded !== sel.trim()) {
|
|
1589
|
-
out.push(expanded);
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1592
|
-
return out.join(", ");
|
|
1593
|
-
});
|
|
1594
|
-
rule.selector = selectors.join(", ");
|
|
1595
|
-
return rule;
|
|
1596
|
-
});
|
|
1597
|
-
};
|
|
1598
|
-
var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
1599
|
-
const hostScopeId = scopeId2 + "-h";
|
|
1600
|
-
const slotScopeId = scopeId2 + "-s";
|
|
1601
|
-
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
1602
|
-
cssText = stripComments(cssText);
|
|
1603
|
-
const orgSelectors = [];
|
|
1604
|
-
{
|
|
1605
|
-
const processCommentedSelector = (rule) => {
|
|
1606
|
-
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
1607
|
-
const comment = `/*!@${rule.selector}*/`;
|
|
1608
|
-
orgSelectors.push({ placeholder, comment });
|
|
1609
|
-
rule.selector = placeholder + rule.selector;
|
|
1610
|
-
return rule;
|
|
1611
|
-
};
|
|
1612
|
-
cssText = processRules(cssText, (rule) => {
|
|
1613
|
-
if (rule.selector[0] !== "@") {
|
|
1614
|
-
return processCommentedSelector(rule);
|
|
1615
|
-
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1616
|
-
rule.content = processRules(rule.content, processCommentedSelector);
|
|
1617
|
-
return rule;
|
|
1618
|
-
}
|
|
1619
|
-
return rule;
|
|
1620
|
-
});
|
|
1621
|
-
}
|
|
1622
|
-
const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1623
|
-
cssText = [scoped.cssText, ...commentsWithHash].join("\n");
|
|
1624
|
-
{
|
|
1625
|
-
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
1626
|
-
cssText = cssText.replace(placeholder, comment);
|
|
1627
|
-
});
|
|
1628
|
-
}
|
|
1629
|
-
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
1630
|
-
const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector) + "(?=\\s*[,{]|$)", "g");
|
|
1631
|
-
cssText = cssText.replace(regex, slottedSelector.updatedSelector);
|
|
1632
|
-
});
|
|
1633
|
-
cssText = expandPartSelectors(cssText);
|
|
1634
|
-
return cssText;
|
|
1635
|
-
};
|
|
1636
|
-
|
|
1637
1174
|
// src/utils/remote-value.ts
|
|
1638
1175
|
var RemoteValue = class _RemoteValue {
|
|
1639
1176
|
/**
|
|
@@ -1963,9 +1500,6 @@ function sortedAttrNames(attrNames) {
|
|
|
1963
1500
|
attrNames
|
|
1964
1501
|
);
|
|
1965
1502
|
}
|
|
1966
|
-
|
|
1967
|
-
// src/runtime/vdom/vdom-render.ts
|
|
1968
|
-
var scopeId;
|
|
1969
1503
|
var contentRef;
|
|
1970
1504
|
var hostTagName;
|
|
1971
1505
|
var useNativeShadowDom = false;
|
|
@@ -2020,9 +1554,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2020
1554
|
{
|
|
2021
1555
|
updateElement(null, newVNode2, isSvgMode);
|
|
2022
1556
|
}
|
|
2023
|
-
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
2024
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
2025
|
-
}
|
|
2026
1557
|
if (newVNode2.$children$) {
|
|
2027
1558
|
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
2028
1559
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
@@ -2108,9 +1639,6 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
2108
1639
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
2109
1640
|
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
2110
1641
|
let childNode;
|
|
2111
|
-
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
2112
|
-
containerElm = containerElm.shadowRoot;
|
|
2113
|
-
}
|
|
2114
1642
|
if (parentVNode.$tag$ === "template") {
|
|
2115
1643
|
containerElm = containerElm.content;
|
|
2116
1644
|
}
|
|
@@ -2424,11 +1952,8 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2424
1952
|
rootVnode.$tag$ = null;
|
|
2425
1953
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
2426
1954
|
hostRef.$vnode$ = rootVnode;
|
|
2427
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm
|
|
2428
|
-
|
|
2429
|
-
scopeId = hostElm["s-sc"];
|
|
2430
|
-
}
|
|
2431
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
1955
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
|
|
1956
|
+
useNativeShadowDom = supportsShadow;
|
|
2432
1957
|
{
|
|
2433
1958
|
contentRef = hostElm["s-cr"];
|
|
2434
1959
|
checkSlotFallbackVisibility = false;
|
|
@@ -2886,13 +2411,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2886
2411
|
const scopeId2 = getScopeId(cmpMeta);
|
|
2887
2412
|
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
2888
2413
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2889
|
-
{
|
|
2890
|
-
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
2891
|
-
style = scopeCss(style, scopeId2);
|
|
2892
|
-
} else if (needsScopedSSR()) {
|
|
2893
|
-
style = expandPartSelectors(style);
|
|
2894
|
-
}
|
|
2895
|
-
}
|
|
2896
2414
|
registerStyle(scopeId2, style);
|
|
2897
2415
|
endRegisterStyles();
|
|
2898
2416
|
}
|
|
@@ -2937,10 +2455,6 @@ var connectedCallback = (elm) => {
|
|
|
2937
2455
|
{
|
|
2938
2456
|
hostId = elm.getAttribute(HYDRATE_ID);
|
|
2939
2457
|
if (hostId) {
|
|
2940
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
2941
|
-
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
|
|
2942
|
-
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
2943
|
-
}
|
|
2944
2458
|
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
2945
2459
|
}
|
|
2946
2460
|
}
|
|
@@ -4653,7 +4167,6 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
4653
4167
|
const orgDocumentCreateElement = win2.document.createElement;
|
|
4654
4168
|
const orgDocumentCreateElementNS = win2.document.createElementNS;
|
|
4655
4169
|
const resolved2 = Promise.resolve();
|
|
4656
|
-
setScopedSSR(opts);
|
|
4657
4170
|
let tmrId;
|
|
4658
4171
|
let ranCompleted = false;
|
|
4659
4172
|
function hydratedComplete() {
|
|
@@ -4983,6 +4496,7 @@ var plt = {
|
|
|
4983
4496
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
4984
4497
|
ce: (eventName, opts) => new win.CustomEvent(eventName, opts)
|
|
4985
4498
|
};
|
|
4499
|
+
var supportsShadow = BUILD.shadowDom;
|
|
4986
4500
|
var getHostRef = (ref) => {
|
|
4987
4501
|
if (ref.__stencil__getHostRef) {
|
|
4988
4502
|
return ref.__stencil__getHostRef();
|
|
@@ -5016,11 +4530,6 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
5016
4530
|
return hostRef;
|
|
5017
4531
|
};
|
|
5018
4532
|
var styles = /* @__PURE__ */ new Map();
|
|
5019
|
-
var setScopedSSR = (opts) => {
|
|
5020
|
-
scopedSSR = opts.serializeShadowRoot !== false && opts.serializeShadowRoot !== "declarative-shadow-dom";
|
|
5021
|
-
};
|
|
5022
|
-
var needsScopedSSR = () => scopedSSR;
|
|
5023
|
-
var scopedSSR = false;
|
|
5024
4533
|
|
|
5025
4534
|
function isNumber(subject) {
|
|
5026
4535
|
return typeof subject === 'number';
|
|
@@ -6915,17 +6424,17 @@ class AppCarousel {
|
|
|
6915
6424
|
render() {
|
|
6916
6425
|
const itemsArray = this.getItemsArray();
|
|
6917
6426
|
const useItems = itemsArray !== undefined && itemsArray.length > 0;
|
|
6918
|
-
return (hAsync("div", { key: '
|
|
6427
|
+
return (hAsync("div", { key: '3a2ea6c339bf0fe656e5a333789df7a37156b5dc', class: `carousel ${this.class || ''}`.trim() }, hAsync("div", { key: '0a73b925095ae3188e5e40b024bc250e4c183894', class: `carousel__viewport ${this.slideClass || ''}`.trim(), ref: (el) => (this.viewportRef = el) }, hAsync("div", { key: '7fc3b5a72e386f7fa21702aeb363e08da1b728cf', class: "carousel__container", ref: (el) => (this.containerRef = el) }, useItems && itemsArray
|
|
6919
6428
|
? itemsArray.map((item, i) => (hAsync("div", { key: i, class: `carousel__slide ${this.itemClass || ''}`.trim() }, typeof item === 'object' &&
|
|
6920
6429
|
item !== null &&
|
|
6921
6430
|
'content' in item
|
|
6922
6431
|
? item.content
|
|
6923
6432
|
: String(item))))
|
|
6924
|
-
: null)), !useItems && (hAsync("div", { key: '
|
|
6433
|
+
: null)), !useItems && (hAsync("div", { key: 'dee2fc91470728c136c9853cd74ae350ad3c5676', style: { display: 'none' }, "aria-hidden": "true" }, hAsync("slot", { key: '35dd47c03a1b9b6b73d845252c3d0482590f7da2', ref: (el) => (this.slotRef = el) }))), hAsync("div", { key: 'df639ad86ae8533f1dc15eed30afb70d99e36e1a', class: `carousel__controls ${this.controlClass || ''}`.trim() }, hAsync("button", { key: 'c17c0ea9bf023b5d2621e558c957d92b13425584', type: "button", "aria-label": "Previous", class: "carousel__prev", ref: (el) => (this.prevBtnRef = el) }, hAsync("svg", { key: '5125abcae0b08ee72106d511b4c24c2d0f24187b', class: "carousel__icon", "stroke-width": "1.5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", "aria-hidden": "true" }, hAsync("path", { key: '9b7f28be56f451ad14de226d7163a5587a1cd9e6', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M15.75 19.5L8.25 12l7.5-7.5" }))), hAsync("div", { key: '9939d3496092a3f319efac9132cec8097c83b497', class: "carousel__dots", ref: (el) => (this.dotsRef = el) }), hAsync("button", { key: 'a0b1228f6df0065885f1d272386283926e78464b', type: "button", "aria-label": "Next", class: "carousel__next", ref: (el) => (this.nextBtnRef = el) }, hAsync("svg", { key: 'e00c92cc0485f41a30e97d5d0466aaee48a64998', class: "carousel__icon", "stroke-width": "1.5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", "aria-hidden": "true" }, hAsync("path", { key: 'a35c46fdbd1cd333d3e6f76590f45dd837546165', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M8.25 4.5l7.5 7.5-7.5 7.5" }))))));
|
|
6925
6434
|
}
|
|
6926
6435
|
static get style() { return carouselCss(); }
|
|
6927
6436
|
static get cmpMeta() { return {
|
|
6928
|
-
"$flags$":
|
|
6437
|
+
"$flags$": 772,
|
|
6929
6438
|
"$tagName$": "fast-carousel",
|
|
6930
6439
|
"$members$": {
|
|
6931
6440
|
"items": [1],
|
|
@@ -6977,15 +6486,15 @@ class CustomButton {
|
|
|
6977
6486
|
this.buttonClick.emit(e);
|
|
6978
6487
|
};
|
|
6979
6488
|
render() {
|
|
6980
|
-
return (hAsync("button", { key: '
|
|
6489
|
+
return (hAsync("button", { key: '3b74909afe4e305dfd38f0b07657202e3d5bfccd', type: this.type, class: {
|
|
6981
6490
|
'custom-button': true,
|
|
6982
6491
|
[`custom-button--${this.variant}`]: true,
|
|
6983
6492
|
'custom-button--disabled': this.disabled,
|
|
6984
|
-
}, disabled: this.disabled, onClick: this.handleClick }, hAsync("slot", { key: '
|
|
6493
|
+
}, disabled: this.disabled, onClick: this.handleClick }, hAsync("slot", { key: '49845d350e4665c5c66e30bd9262f788eaaa1e20' })));
|
|
6985
6494
|
}
|
|
6986
6495
|
static get style() { return buttonCss(); }
|
|
6987
6496
|
static get cmpMeta() { return {
|
|
6988
|
-
"$flags$":
|
|
6497
|
+
"$flags$": 772,
|
|
6989
6498
|
"$tagName$": "fast-button",
|
|
6990
6499
|
"$members$": {
|
|
6991
6500
|
"variant": [1],
|