proto-table-wc 0.1.37 → 0.1.39
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/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/demo-table_2.cjs.entry.js +1 -1
- package/dist/cjs/{index-CiPJKzxD.js → index-CvBugKYV.js} +141 -102
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/proto-table-wc.cjs.js +4 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/demo-table_2.entry.js +1 -1
- package/dist/esm/{index-iuNnvtqj.js → index-DLKSnMW4.js} +142 -102
- package/dist/esm/loader.js +3 -2
- package/dist/esm/proto-table-wc.js +4 -3
- package/dist/proto-table-wc/p-DLKSnMW4.js +2 -0
- package/dist/proto-table-wc/p-DQuL1Twl.js +1 -0
- package/dist/proto-table-wc/{p-16bf866f.entry.js → p-d0ca8a2d.entry.js} +1 -1
- package/dist/proto-table-wc/proto-table-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/package.json +4 -4
- package/dist/proto-table-wc/p-iuNnvtqj.js +0 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var index = require('./index-
|
3
|
+
var index = require('./index-CvBugKYV.js');
|
4
4
|
|
5
5
|
const demoTableCss = ".detailWrapper{font-weight:100;font-size:13px;display:flex;flex-direction:column;justify-items:start;padding:5px;padding-left:30px}";
|
6
6
|
|
@@ -3,11 +3,8 @@
|
|
3
3
|
const NAMESPACE = 'proto-table-wc';
|
4
4
|
const BUILD = /* proto-table-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
5
5
|
|
6
|
-
const globalScripts = () => {};
|
7
|
-
const globalStyles = "";
|
8
|
-
|
9
6
|
/*
|
10
|
-
Stencil Client Platform v4.
|
7
|
+
Stencil Client Platform v4.36.0 | MIT Licensed | https://stenciljs.com
|
11
8
|
*/
|
12
9
|
var __defProp = Object.defineProperty;
|
13
10
|
var __export = (target, all) => {
|
@@ -104,6 +101,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
104
101
|
}
|
105
102
|
return false;
|
106
103
|
})() ;
|
104
|
+
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
107
105
|
var queuePending = false;
|
108
106
|
var queueDomReads = [];
|
109
107
|
var queueDomWrites = [];
|
@@ -203,12 +201,24 @@ var unwrapErr = (result) => {
|
|
203
201
|
throw result.value;
|
204
202
|
}
|
205
203
|
};
|
204
|
+
|
205
|
+
// src/utils/style.ts
|
206
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
207
|
+
return void 0;
|
208
|
+
}
|
209
|
+
|
210
|
+
// src/utils/shadow-root.ts
|
211
|
+
var globalStyleSheet;
|
206
212
|
function createShadowRoot(cmpMeta) {
|
213
|
+
var _a;
|
207
214
|
const shadowRoot = this.attachShadow({ mode: "open" });
|
208
|
-
if (
|
209
|
-
|
210
|
-
|
211
|
-
|
215
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
216
|
+
if (globalStyleSheet) {
|
217
|
+
if (supportsMutableAdoptedStyleSheets) {
|
218
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
219
|
+
} else {
|
220
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
221
|
+
}
|
212
222
|
}
|
213
223
|
}
|
214
224
|
var createTime = (fnName, tagName = "") => {
|
@@ -225,93 +235,6 @@ var uniqueTime = (key, measureText) => {
|
|
225
235
|
};
|
226
236
|
}
|
227
237
|
};
|
228
|
-
var h = (nodeName, vnodeData, ...children) => {
|
229
|
-
let child = null;
|
230
|
-
let key = null;
|
231
|
-
let simple = false;
|
232
|
-
let lastSimple = false;
|
233
|
-
const vNodeChildren = [];
|
234
|
-
const walk = (c) => {
|
235
|
-
for (let i2 = 0; i2 < c.length; i2++) {
|
236
|
-
child = c[i2];
|
237
|
-
if (Array.isArray(child)) {
|
238
|
-
walk(child);
|
239
|
-
} else if (child != null && typeof child !== "boolean") {
|
240
|
-
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
241
|
-
child = String(child);
|
242
|
-
}
|
243
|
-
if (simple && lastSimple) {
|
244
|
-
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
245
|
-
} else {
|
246
|
-
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
247
|
-
}
|
248
|
-
lastSimple = simple;
|
249
|
-
}
|
250
|
-
}
|
251
|
-
};
|
252
|
-
walk(children);
|
253
|
-
if (vnodeData) {
|
254
|
-
if (vnodeData.key) {
|
255
|
-
key = vnodeData.key;
|
256
|
-
}
|
257
|
-
{
|
258
|
-
const classData = vnodeData.className || vnodeData.class;
|
259
|
-
if (classData) {
|
260
|
-
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
const vnode = newVNode(nodeName, null);
|
265
|
-
vnode.$attrs$ = vnodeData;
|
266
|
-
if (vNodeChildren.length > 0) {
|
267
|
-
vnode.$children$ = vNodeChildren;
|
268
|
-
}
|
269
|
-
{
|
270
|
-
vnode.$key$ = key;
|
271
|
-
}
|
272
|
-
return vnode;
|
273
|
-
};
|
274
|
-
var newVNode = (tag, text) => {
|
275
|
-
const vnode = {
|
276
|
-
$flags$: 0,
|
277
|
-
$tag$: tag,
|
278
|
-
$text$: text,
|
279
|
-
$elm$: null,
|
280
|
-
$children$: null
|
281
|
-
};
|
282
|
-
{
|
283
|
-
vnode.$attrs$ = null;
|
284
|
-
}
|
285
|
-
{
|
286
|
-
vnode.$key$ = null;
|
287
|
-
}
|
288
|
-
return vnode;
|
289
|
-
};
|
290
|
-
var Host = {};
|
291
|
-
var isHost = (node) => node && node.$tag$ === Host;
|
292
|
-
var createSupportsRuleRe = (selector) => {
|
293
|
-
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
294
|
-
return new RegExp(
|
295
|
-
// First capture group: match any context before the selector that's not inside @supports selector()
|
296
|
-
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
297
|
-
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
298
|
-
"g"
|
299
|
-
);
|
300
|
-
};
|
301
|
-
createSupportsRuleRe("::slotted");
|
302
|
-
createSupportsRuleRe(":host");
|
303
|
-
createSupportsRuleRe(":host-context");
|
304
|
-
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
305
|
-
if (propValue != null && !isComplexType(propValue)) {
|
306
|
-
return propValue;
|
307
|
-
}
|
308
|
-
return propValue;
|
309
|
-
};
|
310
|
-
var emitEvent = (elm, name, opts) => {
|
311
|
-
const ev = plt.ce(name, opts);
|
312
|
-
elm.dispatchEvent(ev);
|
313
|
-
return ev;
|
314
|
-
};
|
315
238
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
316
239
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
317
240
|
let style = styles.get(scopeId2);
|
@@ -363,7 +286,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
363
286
|
if (supportsConstructableStylesheets) {
|
364
287
|
const stylesheet = new CSSStyleSheet();
|
365
288
|
stylesheet.replaceSync(style);
|
366
|
-
|
289
|
+
if (supportsMutableAdoptedStyleSheets) {
|
290
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
291
|
+
} else {
|
292
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
293
|
+
}
|
367
294
|
} else {
|
368
295
|
const existingStyleContainer = styleContainerNode.querySelector("style");
|
369
296
|
if (existingStyleContainer) {
|
@@ -388,7 +315,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
388
315
|
}
|
389
316
|
}
|
390
317
|
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
391
|
-
|
318
|
+
if (supportsMutableAdoptedStyleSheets) {
|
319
|
+
styleContainerNode.adoptedStyleSheets.push(style);
|
320
|
+
} else {
|
321
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
322
|
+
}
|
392
323
|
}
|
393
324
|
}
|
394
325
|
return scopeId2;
|
@@ -408,6 +339,93 @@ var attachStyles = (hostRef) => {
|
|
408
339
|
endAttachStyles();
|
409
340
|
};
|
410
341
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
342
|
+
var h = (nodeName, vnodeData, ...children) => {
|
343
|
+
let child = null;
|
344
|
+
let key = null;
|
345
|
+
let simple = false;
|
346
|
+
let lastSimple = false;
|
347
|
+
const vNodeChildren = [];
|
348
|
+
const walk = (c) => {
|
349
|
+
for (let i2 = 0; i2 < c.length; i2++) {
|
350
|
+
child = c[i2];
|
351
|
+
if (Array.isArray(child)) {
|
352
|
+
walk(child);
|
353
|
+
} else if (child != null && typeof child !== "boolean") {
|
354
|
+
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
355
|
+
child = String(child);
|
356
|
+
}
|
357
|
+
if (simple && lastSimple) {
|
358
|
+
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
359
|
+
} else {
|
360
|
+
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
361
|
+
}
|
362
|
+
lastSimple = simple;
|
363
|
+
}
|
364
|
+
}
|
365
|
+
};
|
366
|
+
walk(children);
|
367
|
+
if (vnodeData) {
|
368
|
+
if (vnodeData.key) {
|
369
|
+
key = vnodeData.key;
|
370
|
+
}
|
371
|
+
{
|
372
|
+
const classData = vnodeData.className || vnodeData.class;
|
373
|
+
if (classData) {
|
374
|
+
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
375
|
+
}
|
376
|
+
}
|
377
|
+
}
|
378
|
+
const vnode = newVNode(nodeName, null);
|
379
|
+
vnode.$attrs$ = vnodeData;
|
380
|
+
if (vNodeChildren.length > 0) {
|
381
|
+
vnode.$children$ = vNodeChildren;
|
382
|
+
}
|
383
|
+
{
|
384
|
+
vnode.$key$ = key;
|
385
|
+
}
|
386
|
+
return vnode;
|
387
|
+
};
|
388
|
+
var newVNode = (tag, text) => {
|
389
|
+
const vnode = {
|
390
|
+
$flags$: 0,
|
391
|
+
$tag$: tag,
|
392
|
+
$text$: text,
|
393
|
+
$elm$: null,
|
394
|
+
$children$: null
|
395
|
+
};
|
396
|
+
{
|
397
|
+
vnode.$attrs$ = null;
|
398
|
+
}
|
399
|
+
{
|
400
|
+
vnode.$key$ = null;
|
401
|
+
}
|
402
|
+
return vnode;
|
403
|
+
};
|
404
|
+
var Host = {};
|
405
|
+
var isHost = (node) => node && node.$tag$ === Host;
|
406
|
+
var createSupportsRuleRe = (selector) => {
|
407
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
408
|
+
return new RegExp(
|
409
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
410
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
411
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
412
|
+
"g"
|
413
|
+
);
|
414
|
+
};
|
415
|
+
createSupportsRuleRe("::slotted");
|
416
|
+
createSupportsRuleRe(":host");
|
417
|
+
createSupportsRuleRe(":host-context");
|
418
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
419
|
+
if (propValue != null && !isComplexType(propValue)) {
|
420
|
+
return propValue;
|
421
|
+
}
|
422
|
+
return propValue;
|
423
|
+
};
|
424
|
+
var emitEvent = (elm, name, opts) => {
|
425
|
+
const ev = plt.ce(name, opts);
|
426
|
+
elm.dispatchEvent(ev);
|
427
|
+
return ev;
|
428
|
+
};
|
411
429
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
412
430
|
if (oldValue === newValue) {
|
413
431
|
return;
|
@@ -725,7 +743,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
725
743
|
!isInitialRender && BUILD.updatable && oldChildren !== null
|
726
744
|
) {
|
727
745
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
728
|
-
}
|
746
|
+
} else ;
|
729
747
|
if (isSvgMode && tag === "svg") {
|
730
748
|
isSvgMode = false;
|
731
749
|
}
|
@@ -787,6 +805,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
787
805
|
}
|
788
806
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
789
807
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
808
|
+
if (isInitialLoad) {
|
809
|
+
queueMicrotask(() => {
|
810
|
+
dispatch();
|
811
|
+
});
|
812
|
+
return;
|
813
|
+
}
|
790
814
|
return writeTask(dispatch) ;
|
791
815
|
};
|
792
816
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
@@ -921,6 +945,9 @@ var addHydratedFlag = (elm) => {
|
|
921
945
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
922
946
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
923
947
|
const hostRef = getHostRef(ref);
|
948
|
+
if (!hostRef) {
|
949
|
+
return;
|
950
|
+
}
|
924
951
|
if (!hostRef) {
|
925
952
|
throw new Error(
|
926
953
|
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
@@ -979,6 +1006,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
979
1006
|
Object.defineProperty(prototype, memberName, {
|
980
1007
|
set(newValue) {
|
981
1008
|
const ref = getHostRef(this);
|
1009
|
+
if (!ref) {
|
1010
|
+
return;
|
1011
|
+
}
|
982
1012
|
if (origSetter) {
|
983
1013
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
984
1014
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
@@ -1040,7 +1070,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1040
1070
|
} else if (propName == null) {
|
1041
1071
|
const hostRef = getHostRef(this);
|
1042
1072
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
1043
|
-
if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
1073
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
1044
1074
|
const instance = hostRef.$lazyInstance$ ;
|
1045
1075
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
1046
1076
|
entry == null ? void 0 : entry.forEach((callbackName) => {
|
@@ -1145,6 +1175,9 @@ var fireConnectedCallback = (instance, elm) => {
|
|
1145
1175
|
var connectedCallback = (elm) => {
|
1146
1176
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
1147
1177
|
const hostRef = getHostRef(elm);
|
1178
|
+
if (!hostRef) {
|
1179
|
+
return;
|
1180
|
+
}
|
1148
1181
|
const cmpMeta = hostRef.$cmpMeta$;
|
1149
1182
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
1150
1183
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
@@ -1259,7 +1292,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1259
1292
|
}
|
1260
1293
|
}
|
1261
1294
|
connectedCallback() {
|
1262
|
-
getHostRef(this);
|
1295
|
+
const hostRef = getHostRef(this);
|
1296
|
+
if (!hostRef) {
|
1297
|
+
return;
|
1298
|
+
}
|
1263
1299
|
if (!this.hasRegisteredEventListeners) {
|
1264
1300
|
this.hasRegisteredEventListeners = true;
|
1265
1301
|
}
|
@@ -1278,6 +1314,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1278
1314
|
plt.raf(() => {
|
1279
1315
|
var _a3;
|
1280
1316
|
const hostRef = getHostRef(this);
|
1317
|
+
if (!hostRef) {
|
1318
|
+
return;
|
1319
|
+
}
|
1281
1320
|
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
1282
1321
|
if (i2 > -1) {
|
1283
1322
|
deferredConnectedCallbacks.splice(i2, 1);
|
@@ -1288,7 +1327,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1288
1327
|
});
|
1289
1328
|
}
|
1290
1329
|
componentOnReady() {
|
1291
|
-
|
1330
|
+
var _a3;
|
1331
|
+
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
1292
1332
|
}
|
1293
1333
|
};
|
1294
1334
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
@@ -1332,7 +1372,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1332
1372
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
1333
1373
|
|
1334
1374
|
exports.bootstrapLazy = bootstrapLazy;
|
1335
|
-
exports.globalScripts = globalScripts;
|
1336
1375
|
exports.h = h;
|
1337
1376
|
exports.promiseResolve = promiseResolve;
|
1338
1377
|
exports.registerInstance = registerInstance;
|
package/dist/cjs/loader.cjs.js
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var index = require('./index-
|
3
|
+
var index = require('./index-CvBugKYV.js');
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
4
5
|
|
5
6
|
const defineCustomElements = async (win, options) => {
|
6
7
|
if (typeof window === 'undefined') return undefined;
|
7
|
-
await
|
8
|
+
await appGlobals.globalScripts();
|
8
9
|
return index.bootstrapLazy([["demo-table_2.cjs",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
|
9
10
|
};
|
10
11
|
|
@@ -1,10 +1,11 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var index = require('./index-
|
3
|
+
var index = require('./index-CvBugKYV.js');
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
4
5
|
|
5
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
6
7
|
/*
|
7
|
-
Stencil Client Patch Browser v4.
|
8
|
+
Stencil Client Patch Browser v4.36.0 | MIT Licensed | https://stenciljs.com
|
8
9
|
*/
|
9
10
|
|
10
11
|
var patchBrowser = () => {
|
@@ -17,7 +18,7 @@ var patchBrowser = () => {
|
|
17
18
|
};
|
18
19
|
|
19
20
|
patchBrowser().then(async (options) => {
|
20
|
-
await
|
21
|
+
await appGlobals.globalScripts();
|
21
22
|
return index.bootstrapLazy([["demo-table_2.cjs",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
|
22
23
|
});
|
23
24
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
1
|
+
import { r as registerInstance, h } from './index-DLKSnMW4.js';
|
2
2
|
|
3
3
|
const demoTableCss = ".detailWrapper{font-weight:100;font-size:13px;display:flex;flex-direction:column;justify-items:start;padding:5px;padding-left:30px}";
|
4
4
|
|
@@ -1,11 +1,8 @@
|
|
1
1
|
const NAMESPACE = 'proto-table-wc';
|
2
2
|
const BUILD = /* proto-table-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
3
3
|
|
4
|
-
const globalScripts = () => {};
|
5
|
-
const globalStyles = "";
|
6
|
-
|
7
4
|
/*
|
8
|
-
Stencil Client Platform v4.
|
5
|
+
Stencil Client Platform v4.36.0 | MIT Licensed | https://stenciljs.com
|
9
6
|
*/
|
10
7
|
var __defProp = Object.defineProperty;
|
11
8
|
var __export = (target, all) => {
|
@@ -102,6 +99,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
102
99
|
}
|
103
100
|
return false;
|
104
101
|
})() ;
|
102
|
+
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
105
103
|
var queuePending = false;
|
106
104
|
var queueDomReads = [];
|
107
105
|
var queueDomWrites = [];
|
@@ -201,12 +199,24 @@ var unwrapErr = (result) => {
|
|
201
199
|
throw result.value;
|
202
200
|
}
|
203
201
|
};
|
202
|
+
|
203
|
+
// src/utils/style.ts
|
204
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
205
|
+
return void 0;
|
206
|
+
}
|
207
|
+
|
208
|
+
// src/utils/shadow-root.ts
|
209
|
+
var globalStyleSheet;
|
204
210
|
function createShadowRoot(cmpMeta) {
|
211
|
+
var _a;
|
205
212
|
const shadowRoot = this.attachShadow({ mode: "open" });
|
206
|
-
if (
|
207
|
-
|
208
|
-
|
209
|
-
|
213
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
214
|
+
if (globalStyleSheet) {
|
215
|
+
if (supportsMutableAdoptedStyleSheets) {
|
216
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
217
|
+
} else {
|
218
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
219
|
+
}
|
210
220
|
}
|
211
221
|
}
|
212
222
|
var createTime = (fnName, tagName = "") => {
|
@@ -223,93 +233,6 @@ var uniqueTime = (key, measureText) => {
|
|
223
233
|
};
|
224
234
|
}
|
225
235
|
};
|
226
|
-
var h = (nodeName, vnodeData, ...children) => {
|
227
|
-
let child = null;
|
228
|
-
let key = null;
|
229
|
-
let simple = false;
|
230
|
-
let lastSimple = false;
|
231
|
-
const vNodeChildren = [];
|
232
|
-
const walk = (c) => {
|
233
|
-
for (let i2 = 0; i2 < c.length; i2++) {
|
234
|
-
child = c[i2];
|
235
|
-
if (Array.isArray(child)) {
|
236
|
-
walk(child);
|
237
|
-
} else if (child != null && typeof child !== "boolean") {
|
238
|
-
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
239
|
-
child = String(child);
|
240
|
-
}
|
241
|
-
if (simple && lastSimple) {
|
242
|
-
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
243
|
-
} else {
|
244
|
-
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
245
|
-
}
|
246
|
-
lastSimple = simple;
|
247
|
-
}
|
248
|
-
}
|
249
|
-
};
|
250
|
-
walk(children);
|
251
|
-
if (vnodeData) {
|
252
|
-
if (vnodeData.key) {
|
253
|
-
key = vnodeData.key;
|
254
|
-
}
|
255
|
-
{
|
256
|
-
const classData = vnodeData.className || vnodeData.class;
|
257
|
-
if (classData) {
|
258
|
-
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
259
|
-
}
|
260
|
-
}
|
261
|
-
}
|
262
|
-
const vnode = newVNode(nodeName, null);
|
263
|
-
vnode.$attrs$ = vnodeData;
|
264
|
-
if (vNodeChildren.length > 0) {
|
265
|
-
vnode.$children$ = vNodeChildren;
|
266
|
-
}
|
267
|
-
{
|
268
|
-
vnode.$key$ = key;
|
269
|
-
}
|
270
|
-
return vnode;
|
271
|
-
};
|
272
|
-
var newVNode = (tag, text) => {
|
273
|
-
const vnode = {
|
274
|
-
$flags$: 0,
|
275
|
-
$tag$: tag,
|
276
|
-
$text$: text,
|
277
|
-
$elm$: null,
|
278
|
-
$children$: null
|
279
|
-
};
|
280
|
-
{
|
281
|
-
vnode.$attrs$ = null;
|
282
|
-
}
|
283
|
-
{
|
284
|
-
vnode.$key$ = null;
|
285
|
-
}
|
286
|
-
return vnode;
|
287
|
-
};
|
288
|
-
var Host = {};
|
289
|
-
var isHost = (node) => node && node.$tag$ === Host;
|
290
|
-
var createSupportsRuleRe = (selector) => {
|
291
|
-
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
292
|
-
return new RegExp(
|
293
|
-
// First capture group: match any context before the selector that's not inside @supports selector()
|
294
|
-
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
295
|
-
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
296
|
-
"g"
|
297
|
-
);
|
298
|
-
};
|
299
|
-
createSupportsRuleRe("::slotted");
|
300
|
-
createSupportsRuleRe(":host");
|
301
|
-
createSupportsRuleRe(":host-context");
|
302
|
-
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
303
|
-
if (propValue != null && !isComplexType(propValue)) {
|
304
|
-
return propValue;
|
305
|
-
}
|
306
|
-
return propValue;
|
307
|
-
};
|
308
|
-
var emitEvent = (elm, name, opts) => {
|
309
|
-
const ev = plt.ce(name, opts);
|
310
|
-
elm.dispatchEvent(ev);
|
311
|
-
return ev;
|
312
|
-
};
|
313
236
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
314
237
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
315
238
|
let style = styles.get(scopeId2);
|
@@ -361,7 +284,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
361
284
|
if (supportsConstructableStylesheets) {
|
362
285
|
const stylesheet = new CSSStyleSheet();
|
363
286
|
stylesheet.replaceSync(style);
|
364
|
-
|
287
|
+
if (supportsMutableAdoptedStyleSheets) {
|
288
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
289
|
+
} else {
|
290
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
291
|
+
}
|
365
292
|
} else {
|
366
293
|
const existingStyleContainer = styleContainerNode.querySelector("style");
|
367
294
|
if (existingStyleContainer) {
|
@@ -386,7 +313,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
386
313
|
}
|
387
314
|
}
|
388
315
|
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
389
|
-
|
316
|
+
if (supportsMutableAdoptedStyleSheets) {
|
317
|
+
styleContainerNode.adoptedStyleSheets.push(style);
|
318
|
+
} else {
|
319
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
320
|
+
}
|
390
321
|
}
|
391
322
|
}
|
392
323
|
return scopeId2;
|
@@ -406,6 +337,93 @@ var attachStyles = (hostRef) => {
|
|
406
337
|
endAttachStyles();
|
407
338
|
};
|
408
339
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
340
|
+
var h = (nodeName, vnodeData, ...children) => {
|
341
|
+
let child = null;
|
342
|
+
let key = null;
|
343
|
+
let simple = false;
|
344
|
+
let lastSimple = false;
|
345
|
+
const vNodeChildren = [];
|
346
|
+
const walk = (c) => {
|
347
|
+
for (let i2 = 0; i2 < c.length; i2++) {
|
348
|
+
child = c[i2];
|
349
|
+
if (Array.isArray(child)) {
|
350
|
+
walk(child);
|
351
|
+
} else if (child != null && typeof child !== "boolean") {
|
352
|
+
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
353
|
+
child = String(child);
|
354
|
+
}
|
355
|
+
if (simple && lastSimple) {
|
356
|
+
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
357
|
+
} else {
|
358
|
+
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
359
|
+
}
|
360
|
+
lastSimple = simple;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
};
|
364
|
+
walk(children);
|
365
|
+
if (vnodeData) {
|
366
|
+
if (vnodeData.key) {
|
367
|
+
key = vnodeData.key;
|
368
|
+
}
|
369
|
+
{
|
370
|
+
const classData = vnodeData.className || vnodeData.class;
|
371
|
+
if (classData) {
|
372
|
+
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
373
|
+
}
|
374
|
+
}
|
375
|
+
}
|
376
|
+
const vnode = newVNode(nodeName, null);
|
377
|
+
vnode.$attrs$ = vnodeData;
|
378
|
+
if (vNodeChildren.length > 0) {
|
379
|
+
vnode.$children$ = vNodeChildren;
|
380
|
+
}
|
381
|
+
{
|
382
|
+
vnode.$key$ = key;
|
383
|
+
}
|
384
|
+
return vnode;
|
385
|
+
};
|
386
|
+
var newVNode = (tag, text) => {
|
387
|
+
const vnode = {
|
388
|
+
$flags$: 0,
|
389
|
+
$tag$: tag,
|
390
|
+
$text$: text,
|
391
|
+
$elm$: null,
|
392
|
+
$children$: null
|
393
|
+
};
|
394
|
+
{
|
395
|
+
vnode.$attrs$ = null;
|
396
|
+
}
|
397
|
+
{
|
398
|
+
vnode.$key$ = null;
|
399
|
+
}
|
400
|
+
return vnode;
|
401
|
+
};
|
402
|
+
var Host = {};
|
403
|
+
var isHost = (node) => node && node.$tag$ === Host;
|
404
|
+
var createSupportsRuleRe = (selector) => {
|
405
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
406
|
+
return new RegExp(
|
407
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
408
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
409
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
410
|
+
"g"
|
411
|
+
);
|
412
|
+
};
|
413
|
+
createSupportsRuleRe("::slotted");
|
414
|
+
createSupportsRuleRe(":host");
|
415
|
+
createSupportsRuleRe(":host-context");
|
416
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
417
|
+
if (propValue != null && !isComplexType(propValue)) {
|
418
|
+
return propValue;
|
419
|
+
}
|
420
|
+
return propValue;
|
421
|
+
};
|
422
|
+
var emitEvent = (elm, name, opts) => {
|
423
|
+
const ev = plt.ce(name, opts);
|
424
|
+
elm.dispatchEvent(ev);
|
425
|
+
return ev;
|
426
|
+
};
|
409
427
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
410
428
|
if (oldValue === newValue) {
|
411
429
|
return;
|
@@ -723,7 +741,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
723
741
|
!isInitialRender && BUILD.updatable && oldChildren !== null
|
724
742
|
) {
|
725
743
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
726
|
-
}
|
744
|
+
} else ;
|
727
745
|
if (isSvgMode && tag === "svg") {
|
728
746
|
isSvgMode = false;
|
729
747
|
}
|
@@ -785,6 +803,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
785
803
|
}
|
786
804
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
787
805
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
806
|
+
if (isInitialLoad) {
|
807
|
+
queueMicrotask(() => {
|
808
|
+
dispatch();
|
809
|
+
});
|
810
|
+
return;
|
811
|
+
}
|
788
812
|
return writeTask(dispatch) ;
|
789
813
|
};
|
790
814
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
@@ -919,6 +943,9 @@ var addHydratedFlag = (elm) => {
|
|
919
943
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
920
944
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
921
945
|
const hostRef = getHostRef(ref);
|
946
|
+
if (!hostRef) {
|
947
|
+
return;
|
948
|
+
}
|
922
949
|
if (!hostRef) {
|
923
950
|
throw new Error(
|
924
951
|
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
@@ -977,6 +1004,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
977
1004
|
Object.defineProperty(prototype, memberName, {
|
978
1005
|
set(newValue) {
|
979
1006
|
const ref = getHostRef(this);
|
1007
|
+
if (!ref) {
|
1008
|
+
return;
|
1009
|
+
}
|
980
1010
|
if (origSetter) {
|
981
1011
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
982
1012
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
@@ -1038,7 +1068,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1038
1068
|
} else if (propName == null) {
|
1039
1069
|
const hostRef = getHostRef(this);
|
1040
1070
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
1041
|
-
if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
1071
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
1042
1072
|
const instance = hostRef.$lazyInstance$ ;
|
1043
1073
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
1044
1074
|
entry == null ? void 0 : entry.forEach((callbackName) => {
|
@@ -1143,6 +1173,9 @@ var fireConnectedCallback = (instance, elm) => {
|
|
1143
1173
|
var connectedCallback = (elm) => {
|
1144
1174
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
1145
1175
|
const hostRef = getHostRef(elm);
|
1176
|
+
if (!hostRef) {
|
1177
|
+
return;
|
1178
|
+
}
|
1146
1179
|
const cmpMeta = hostRef.$cmpMeta$;
|
1147
1180
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
1148
1181
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
@@ -1257,7 +1290,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1257
1290
|
}
|
1258
1291
|
}
|
1259
1292
|
connectedCallback() {
|
1260
|
-
getHostRef(this);
|
1293
|
+
const hostRef = getHostRef(this);
|
1294
|
+
if (!hostRef) {
|
1295
|
+
return;
|
1296
|
+
}
|
1261
1297
|
if (!this.hasRegisteredEventListeners) {
|
1262
1298
|
this.hasRegisteredEventListeners = true;
|
1263
1299
|
}
|
@@ -1276,6 +1312,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1276
1312
|
plt.raf(() => {
|
1277
1313
|
var _a3;
|
1278
1314
|
const hostRef = getHostRef(this);
|
1315
|
+
if (!hostRef) {
|
1316
|
+
return;
|
1317
|
+
}
|
1279
1318
|
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
1280
1319
|
if (i2 > -1) {
|
1281
1320
|
deferredConnectedCallbacks.splice(i2, 1);
|
@@ -1286,7 +1325,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1286
1325
|
});
|
1287
1326
|
}
|
1288
1327
|
componentOnReady() {
|
1289
|
-
|
1328
|
+
var _a3;
|
1329
|
+
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
1290
1330
|
}
|
1291
1331
|
};
|
1292
1332
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
@@ -1329,4 +1369,4 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1329
1369
|
// src/runtime/nonce.ts
|
1330
1370
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
1331
1371
|
|
1332
|
-
export { bootstrapLazy as b,
|
1372
|
+
export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/loader.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
export { s as setNonce } from './index-
|
1
|
+
import { b as bootstrapLazy } from './index-DLKSnMW4.js';
|
2
|
+
export { s as setNonce } from './index-DLKSnMW4.js';
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
3
4
|
|
4
5
|
const defineCustomElements = async (win, options) => {
|
5
6
|
if (typeof window === 'undefined') return undefined;
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { p as promiseResolve,
|
2
|
-
export { s as setNonce } from './index-
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-DLKSnMW4.js';
|
2
|
+
export { s as setNonce } from './index-DLKSnMW4.js';
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
3
4
|
|
4
5
|
/*
|
5
|
-
Stencil Client Patch Browser v4.
|
6
|
+
Stencil Client Patch Browser v4.36.0 | MIT Licensed | https://stenciljs.com
|
6
7
|
*/
|
7
8
|
|
8
9
|
var patchBrowser = () => {
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},o=(t,e)=>e in t,l=(t,e)=>(0,console.error)(t,e),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},f=t=>Promise.resolve(t),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!!a&&(()=>!!c.document&&Object.getOwnPropertyDescriptor(c.document.adoptedStyleSheets,"length").writable)(),h=!1,p=[],m=[],v=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&u.o?b(y):u.raf(y))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){l(t)}t.length=0},y=()=>{w(p),w(m),(h=p.length>0)&&u.raf(y)},b=t=>f().then(t),$=v(m,!0),g=t=>"object"==(t=typeof t)||"function"===t;function S(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>O,map:()=>k,ok:()=>j,unwrap:()=>C,unwrapErr:()=>M});var j=t=>({isOk:!0,isErr:!1,value:t}),O=t=>({isOk:!1,isErr:!0,value:t});function k(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>j(t))):j(n)}if(t.isErr)return O(t.value);throw"should never get here"}var E,C=t=>{if(t.isOk)return t.value;throw t.value},M=t=>{if(t.isErr)return t.value;throw t.value};function x(){const t=this.attachShadow({mode:"open"});void 0===E&&(E=null),E&&(d?t.adoptedStyleSheets.push(E):t.adoptedStyleSheets=[...t.adoptedStyleSheets,E])}var P=new WeakMap,R=t=>"sc-"+t.i,D=(t,e,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!g(o))&&(o+=""),i&&s?r[r.length-1].u+=o:r.push(i?U(null,o):o),s=i)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=U(t,null);return u.h=e,r.length>0&&(u.p=r),u.m=l,u},U=(t,e)=>({o:0,v:t,u:e,$:null,p:null,h:null,m:null}),W={},A=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};A("::slotted"),A(":host"),A(":host-context");var N,L=t=>(null==t||g(t),t),T=(t,e,n,l,i,s)=>{if(n===l)return;let r=o(t,e),f=e.toLowerCase();if("class"===e){const e=t.classList,o=q(n);let i=q(l);e.remove(...o.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!o.includes(t))))}else if("key"===e);else if("ref"===e)l&&l(t);else if(r||"o"!==e[0]||"n"!==e[1]){const o=g(l);if((r||o&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&s||i)&&!o&&1===t.nodeType&&t.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):o(c,f)?f.slice(2):f[2]+e.slice(3),n||l){const o=e.endsWith(z);e=e.replace(F,""),n&&u.rel(t,e,n,o),l&&u.ael(t,e,l,o)}},H=/\s/,q=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(H):[]),z="Capture",F=RegExp(z+"$"),V=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.h||{},i=e.h||{};for(const t of G(Object.keys(l)))t in i||T(o,t,l[t],void 0,n,e.o);for(const t of G(Object.keys(i)))T(o,t,l[t],i[t],n,e.o)};function G(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var I=!1,Y=(t,e,n)=>{const o=e.p[n];let l,i,s=0;if(null!==o.u)l=o.$=c.document.createTextNode(o.u);else{if(I||(I="svg"===o.v),!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.$=c.document.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),I&&"foreignObject"===o.v&&(I=!1),V(null,o,I),o.p)for(s=0;s<o.p.length;++s)i=Y(t,o,s),i&&l.appendChild(i);"svg"===o.v?I=!1:"foreignObject"===l.tagName&&(I=!0)}return l["s-hn"]=N,l},_=(t,e,n,o,l,i)=>{let s,r=t;for(r.shadowRoot&&r.tagName===N&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=Y(null,n,l),s&&(o[l].$=s,X(r,s,e)))},B=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;Q(e),t&&t.remove()}}},J=(t,e,n=!1)=>t.v===e.v&&(n?(n&&!t.m&&e.m&&(t.m=e.m),!0):t.m===e.m),K=(t,e,n=!1)=>{const o=e.$=t.$,l=t.p,i=e.p,s=e.v,r=e.u;null===r?(V(t,e,I="svg"===s||"foreignObject"!==s&&I),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(J(d,m,l))K(d,m,l),d=e[++r],m=o[++c];else if(J(h,v,l))K(h,v,l),h=e[--a],v=o[--p];else if(J(d,v,l))K(d,v,l),X(t,d.$,h.$.nextSibling),d=e[++r],v=o[--p];else if(J(h,m,l))K(h,m,l),X(t,h.$,d.$),h=e[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].m&&e[f].m===m.m){u=f;break}u>=0?(s=e[u],s.v!==m.v?i=Y(e&&e[c],n,u):(K(s,m,l),e[u]=void 0,i=s.$),m=o[++c]):(i=Y(e&&e[c],n,c),m=o[++c]),i&&X(d.$.parentNode,i,d.$)}r>a?_(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&B(e,r,a)})(o,l,e,i,n):null!==i?(null!==t.u&&(o.textContent=""),_(o,null,e,i,0,i.length-1)):!n&&null!==l&&B(l,0,l.length-1),I&&"svg"===s&&(I=!1)):t.u!==r&&(o.data=r)},Q=t=>{t.h&&t.h.ref&&t.h.ref(null),t.p&&t.p.map(Q)},X=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Z=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},tt=(t,e)=>{if(t.o|=16,4&t.o)return void(t.o|=512);Z(t,t.j);const n=()=>et(t,e);if(!e)return $(n);queueMicrotask((()=>{n()}))},et=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=ct(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),l=nt(l,(()=>ct(o,"componentWillRender",void 0,n))),nt(l,(()=>lt(t,o,e)))},nt=(t,e)=>ot(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,lt=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.O,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=R(e),l=s.get(o);if(!c.document)return o;if(t=11===t.nodeType?t:c.document,l)if("string"==typeof l){let i,s=P.get(t=t.head||t);if(s||P.set(t,s=new Set),!s.has(o)){{i=c.document.createElement("style"),i.innerHTML=l;const o=null!=(n=u.k)?n:S(c.document);if(null!=o&&i.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(a){const e=new CSSStyleSheet;e.replaceSync(l),d?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(i)}else t.append(i);1&e.o&&t.insertBefore(i,null)}4&e.o&&(i.innerHTML+=r),s&&s.add(o)}}else t.adoptedStyleSheets.includes(l)||(d?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);it(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>st(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},it=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.C||U(null,null),i=(t=>t&&t.v===W)(e)?e:D(null,null,e);if(N=o.tagName,n&&i.h)for(const t of Object.keys(i.h))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.h[t]=o[t]);i.v=null,i.o|=4,t.C=i,i.$=l.$=o.shadowRoot||o,K(l,i,n)})(t,e,o)}catch(e){l(e,t.$hostElement$)}return null},st=t=>{const e=t.$hostElement$,n=t.t,o=t.j;ct(n,"componentDidRender",void 0,e),64&t.o?ct(n,"componentDidUpdate",void 0,e):(t.o|=64,ut(e),ct(n,"componentDidLoad",void 0,e),t.M(e),o||rt()),t.S&&(t.S(),t.S=void 0),512&t.o&&b((()=>tt(t,!1))),t.o&=-517},rt=()=>{b((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"proto-table-wc"}});return t.dispatchEvent(e),e})(c)))},ct=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){l(t,o)}},ut=t=>t.classList.add("hydrated"),ft=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.i}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.P.get(n),r=i.o,c=i.t;if(o=L(o),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;tt(i,!1)}},at=(t,n,o)=>{var l,i;const s=t.prototype;if(n.R){const r=Object.entries(null!=(l=n.R)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.R[t][0]|=2048),r&&(n.R[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.R[t][0]))return((t,n)=>e(this).P.get(n))(0,t);const o=e(this),l=o?o.t:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=e(this);if(s){if(r){const e=32&l?this[t]:s.$hostElement$[t];return void 0===e&&s.P.get(t)?i=s.P.get(t):!s.P.get(t)&&e&&s.P.set(t,e),r.call(this,L(i)),void ft(this,t,i=32&l?this[t]:s.$hostElement$[t],n)}{if(!(1&o&&4096&n.R[t][0]))return ft(this,t,i,n),void(1&o&&!s.t&&s.D.then((()=>{4096&n.R[t][0]&&s.t[t]!==s.P.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.P.get(t)&&e&&s.P.set(t,e),s.t[t]=L(i),ft(this,t,s.t[t],n)};s.t?e():s.D.then((()=>e()))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=e(this),s=null==o?void 0:o.o;if(o&&s&&!(8&s)&&128&s&&i!==l){const e=o.t,s=null==(r=n.U)?void 0:r[t];null==s||s.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.U)?i:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},dt=(t,e)=>{ct(t,"connectedCallback",void 0,e)},ht=(t,e)=>{ct(t,"disconnectedCallback",void 0,e||t)},pt=(t,n={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),w=[];let y,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{const o={o:n[0],i:n[1],R:n[2],W:n[3]};4&o.o&&($=!0),o.R=n[2];const r=o.i,c=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,O:e,P:new Map};n.D=new Promise((t=>n.M=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,o),1&o.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.i}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else x.call(t,o)}connectedCallback(){e(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),b?w.push(this):u.jmp((()=>(t=>{if(!(1&u.o)){const n=e(t);if(!n)return;const o=n.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?dt(n.t,t):(null==n?void 0:n.D)&&n.D.then((()=>dt(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Z(n,n.j=e);break}}o.R&&Object.entries(o.R).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.A){const s=((t,e)=>{const n=t.i.replace(/-/g,"_"),o=t.A;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{l(t,e.$hostElement$)}))
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.i}#${e.N}" was not found`);o.isProxied||(at(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){l(e,t)}e.o&=-9,r(),dt(e.t,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=R(n);if(!s.has(e)){const o=()=>{};((t,e,n)=>{let o=s.get(t);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,s.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.j,c=()=>tt(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,o)}r()}})(this))))}disconnectedCallback(){u.jmp((()=>(async t=>{if(!(1&u.o)){const n=e(t);(null==n?void 0:n.t)?ht(n.t,t):(null==n?void 0:n.D)&&n.D.then((()=>ht(n.t,t)))}P.has(t)&&P.delete(t),t.shadowRoot&&P.has(t.shadowRoot)&&P.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const n=e(this);if(!n)return;const o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==n?void 0:n.C)?void 0:t.$)instanceof Node&&!n.C.$.isConnected&&delete n.C.$}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.D}};o.A=t[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,at(c,o,1)))}))})),f.length>0&&($&&(v.textContent+=r),v.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(o=u.k)?o:S(c.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,w.length?w.map((t=>t.connectedCallback())):u.jmp((()=>y=setTimeout(rt,30)))},mt=t=>u.k=t;export{pt as b,D as h,f as p,n as r,mt as s}
|
@@ -0,0 +1 @@
|
|
1
|
+
const o=()=>{};export{o as g}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t}from"./p-
|
1
|
+
import{r as e,h as t}from"./p-DLKSnMW4.js";const r=class{constructor(r){e(this,r),this.fields=[{label:"Date",prop:"date"},{label:"List Price",prop:"price"},{label:"% of Market",prop:"market"},{label:"ProfitTime Score",prop:"score"}],this.items=[],this.table=void 0,this.renderDetails=e=>{const{tags:r=[]}=e;return t("div",{class:"detailWrapper"},t("span",null,r.length," details..."),t("ul",null,r.map((e=>t("li",null,e)))))}}componentWillLoad(){this.items=[{date:"08/30/2020",price:"$24,000",market:"98%",score:"No Score",tags:["one","two","three"]},{date:"08/31/2020",price:"$24,000",market:"99%",score:"No Score",tags:["uno","duo"]},{date:"09/01/2020",price:"$27,000",market:"102%",score:"Platinum"},{date:"09/02/2020",price:"$27,423",market:"104%",score:"Platinum",tags:["dog","cat","fish","hamster"]},{date:"09/03/2020",price:"$27,521",market:"106%",score:"Platinum",tags:["4wd","sports"]},{date:"09/04/2020",price:"$27,687",market:"107%",score:"Platinum",tags:["leather","chrome"]}]}componentDidLoad(){const{table:e,items:t,fields:r}=this;e.data=t,e.fields=r,e.details=this.renderDetails}render(){return t("proto-table",{key:"aa5f26287b85073afb5bbd3c133f9ad388fc8138",ref:e=>this.table=e})}};r.style=".detailWrapper{font-weight:100;font-size:13px;display:flex;flex-direction:column;justify-items:start;padding:5px;padding-left:30px}";const s={down:"M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z",up:"M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z",left:"M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z",right:"M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z",more:"M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z","arrow-up":"M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z","arrow-down":"M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z"},i={right:"show",down:"hide","arrow-up":"sort","arrow-down":"sort"},l=class{constructor(r){e(this,r),this.data=[],this.details=void 0,this.fields=[],this.expanded=void 0,this.sort=void 0,this.clicks=0,this.protoIcon=(e,r,l=24)=>{const o=s[e];return t("svg",{width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-labelledby":"title"},t("title",null,(e=>i[e])(e)),t("g",{fill:r},t("path",{d:o})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},this.handleCellClick=(e,t)=>()=>{0===e&&(this.expanded=this.expanded===t?void 0:t)},this.handleSortClick=e=>()=>{this.sort===e?2===this.clicks?(this.clicks=0,this.sort=void 0):this.clicks=this.clicks+1:(this.sort=e,this.clicks=1)},this.iconFor=e=>this.sort===e&&2===this.clicks?"arrow-up":"arrow-down",this.header=()=>{const{fields:e,iconFor:r,protoIcon:s}=this;return t("div",{class:"header"},e.map((({label:e},i)=>{const l=i===this.sort?"headerCell sort":"headerCell",o=r(i);return t("div",{class:l,onClick:this.handleSortClick(i)},s(o),t("span",null,e))})))},this.row=(e,r)=>{const{fields:s,protoIcon:i}=this;return t("div",{class:"rowContainer"},t("div",{class:this.expanded===r?"row expanded":"row"},s.map((({prop:s},l)=>t("div",{class:l===this.sort?"cell sort":"cell",onClick:this.handleCellClick(l,r)},i(0===l&&this.details?this.expanded===r?"down":"right":"pad"),e[s])))),this.details&&this.expanded===r&&this.details(e))}}render(){const e=this.data||[];return t("div",{key:"c30742fde0de976c553234528a7bfb6ce10d3ef5",class:"table"},this.header(),e.map(((e,t)=>this.row(e,t))))}};l.style=".table{font-weight:400;font-size:13px;display:flex;flex-direction:column;width:100%;border:1px solid var(--clrs-navy);border-radius:2px}.table svg{fill:var(--clrs-navy)}.header{display:flex}.headerCell{flex-basis:100%;display:flex;align-items:center;justify-items:start;border-right:1px solid var(--clrs-navy);border-bottom:1px solid var(--clrs-navy);padding:5px;cursor:pointer}.headerCell svg g{display:none}.headerCell.sort svg g{display:inline}.headerCell:hover svg g{display:inline}.headerCell:hover{background-color:var(--clrs-silver)}.headerCell:last-child{border-right:none}.cell{flex-basis:100%;display:flex;align-items:center;justify-items:start;padding:5px}.cell:first-child svg{cursor:pointer}.sort{background-color:var(--cx-column-sort)}.row{display:flex;justify-items:stretch;width:100%}.row.expanded{background-color:var(--cx-row-expanded)}.row.expanded svg{fill:var(--clrs-red)}.row:hover{background-color:var(--cx-row-hover)}";export{r as demo_table,l as proto_table}
|
@@ -1 +1 @@
|
|
1
|
-
import{p as
|
1
|
+
import{p as a,b as t}from"./p-DLKSnMW4.js";export{s as setNonce}from"./p-DLKSnMW4.js";import{g as e}from"./p-DQuL1Twl.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),a(t)})().then((async a=>(await e(),t([["p-d0ca8a2d",[[1,"demo-table"],[0,"proto-table",{data:[16],details:[8],fields:[16],expanded:[32],sort:[32],clicks:[32]}]]]],a))));
|
@@ -846,7 +846,7 @@ export declare namespace JSXBase {
|
|
846
846
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
847
847
|
open?: boolean;
|
848
848
|
name?: string;
|
849
|
-
onToggle?: (event:
|
849
|
+
onToggle?: (event: ToggleEvent) => void;
|
850
850
|
}
|
851
851
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
852
852
|
cite?: string;
|
@@ -1552,6 +1552,13 @@ export declare namespace JSXBase {
|
|
1552
1552
|
z?: number | string;
|
1553
1553
|
zoomAndPan?: string;
|
1554
1554
|
}
|
1555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
1556
|
+
interface ToggleEvent extends Event {
|
1557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
1558
|
+
readonly newState: string;
|
1559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
1560
|
+
readonly oldState: string;
|
1561
|
+
}
|
1555
1562
|
interface DOMAttributes<T> extends JSXAttributes<T> {
|
1556
1563
|
slot?: string;
|
1557
1564
|
part?: string;
|
@@ -1568,6 +1575,10 @@ export declare namespace JSXBase {
|
|
1568
1575
|
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
1569
1576
|
onCompositionupdate?: (event: CompositionEvent) => void;
|
1570
1577
|
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
1578
|
+
onBeforeToggle?: (event: ToggleEvent) => void;
|
1579
|
+
onBeforeToggleCapture?: (event: ToggleEvent) => void;
|
1580
|
+
onToggle?: (event: ToggleEvent) => void;
|
1581
|
+
onToggleCapture?: (event: ToggleEvent) => void;
|
1571
1582
|
onFocus?: (event: FocusEvent) => void;
|
1572
1583
|
onFocusCapture?: (event: FocusEvent) => void;
|
1573
1584
|
onFocusin?: (event: FocusEvent) => void;
|
@@ -1586,10 +1597,6 @@ export declare namespace JSXBase {
|
|
1586
1597
|
onSubmitCapture?: (event: Event) => void;
|
1587
1598
|
onInvalid?: (event: Event) => void;
|
1588
1599
|
onInvalidCapture?: (event: Event) => void;
|
1589
|
-
onBeforeToggle?: (event: Event) => void;
|
1590
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
1591
|
-
onToggle?: (event: Event) => void;
|
1592
|
-
onToggleCapture?: (event: Event) => void;
|
1593
1600
|
onLoad?: (event: Event) => void;
|
1594
1601
|
onLoadCapture?: (event: Event) => void;
|
1595
1602
|
onError?: (event: Event) => void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "proto-table-wc",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.39",
|
4
4
|
"description": "Stencil Component Starter",
|
5
5
|
"main": "dist/index.cjs.js",
|
6
6
|
"module": "dist/index.js",
|
@@ -25,11 +25,11 @@
|
|
25
25
|
"format": "prettier --write src"
|
26
26
|
},
|
27
27
|
"dependencies": {
|
28
|
-
"@stencil/core": "4.
|
28
|
+
"@stencil/core": "4.36.0"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
|
-
"cspell": "9.1.
|
32
|
-
"eslint": "9.
|
31
|
+
"cspell": "9.1.5",
|
32
|
+
"eslint": "9.31.0",
|
33
33
|
"prettier": "3.6.2",
|
34
34
|
"typescript": "5.8.3"
|
35
35
|
},
|
@@ -1,2 +0,0 @@
|
|
1
|
-
const e=()=>{};var t=Object.defineProperty,n=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},o=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),h=!1,p=[],m=[],v=(e,t)=>n=>{e.push(n),h||(h=!0,t&&4&a.o?b(y):a.raf(y))},w=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},y=()=>{w(p),w(m),(h=p.length>0)&&a.raf(y)},b=e=>f().then(e),$=v(m,!0),g=e=>"object"==(e=typeof e)||"function"===e;function S(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>O,map:()=>k,ok:()=>j,unwrap:()=>E,unwrapErr:()=>C});var j=e=>({isOk:!0,isErr:!1,value:e}),O=e=>({isOk:!1,isErr:!0,value:e});function k(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>j(e))):j(n)}if(e.isErr)return O(e.value);throw"should never get here"}var E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value};function M(){const e=this.attachShadow({mode:"open"});if(d){const t=new CSSStyleSheet;t.replaceSync(""),e.adoptedStyleSheets.push(t)}}var x=(e,t,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!g(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?P(null,o):o),i=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=P(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},P=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),R={},D=e=>{const t=(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};D("::slotted"),D(":host"),D(":host-context");var U,W=e=>(null==e||g(e),e),A=new WeakMap,N=e=>"sc-"+e.$,L=(e,t,n,o,s,i)=>{if(n===o)return;let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=H(n);let s=H(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=g(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!l&&1===e.nodeType&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(z);t=t.replace(F,""),n&&a.rel(e,t,n,l),o&&a.ael(e,t,o,l)}},T=/\s/,H=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(T):[]),z="Capture",F=RegExp(z+"$"),V=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},s=t.u||{};for(const e of q(Object.keys(l)))e in s||L(o,e,l[e],void 0,n,t.o);for(const e of q(Object.keys(s)))L(o,e,l[e],s[e],n,t.o)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var G=!1,I=(e,t,n)=>{const o=t.h[n];let l,s,i=0;if(null!==o.i)l=o.v=u.document.createTextNode(o.i);else{if(G||(G="svg"===o.m),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=u.document.createElementNS(G?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),G&&"foreignObject"===o.m&&(G=!1),V(null,o,G),o.h)for(i=0;i<o.h.length;++i)s=I(e,o,i),s&&l.appendChild(s);"svg"===o.m?G=!1:"foreignObject"===l.tagName&&(G=!0)}return l["s-hn"]=U,l},Y=(e,t,n,o,l,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===U&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=I(null,n,l),i&&(o[l].v=i,Q(r,i,t)))},_=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;K(t),e&&e.remove()}}},B=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),J=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,s=t.h,i=t.m,r=t.i;null===r?(V(e,t,G="svg"===i||"foreignObject"!==i&&G),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(B(d,m,l))J(d,m,l),d=t[++r],m=o[++c];else if(B(h,v,l))J(h,v,l),h=t[--f],v=o[--p];else if(B(d,v,l))J(d,v,l),Q(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(B(h,m,l))J(h,m,l),Q(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.m!==m.m?s=I(t&&t[c],n,u):(J(i,m,l),t[u]=void 0,s=i.v),m=o[++c]):(s=I(t&&t[c],n,c),m=o[++c]),s&&Q(d.v.parentNode,s,d.v)}r>f?Y(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&_(t,r,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),Y(o,null,t,s,0,s.length-1)):!n&&null!==l&&_(l,0,l.length-1),G&&"svg"===i&&(G=!1)):e.i!==r&&(o.data=r)},K=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(K)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},Z=(e,t)=>{if(e.o|=16,!(4&e.o))return X(e,e.j),$((()=>ee(e,t)));e.o|=512},ee=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=re(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=te(l,(()=>re(o,"componentWillRender",void 0,n))),te(l,(()=>oe(e,o,t)))},te=(e,t)=>ne(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ne=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,oe=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=N(t),l=r.get(o);if(!u.document)return o;if(e=11===e.nodeType?e:u.document,l)if("string"==typeof l){let s,i=A.get(e=e.head||e);if(i||A.set(e,i=new Set),!i.has(o)){{s=u.document.createElement("style"),s.innerHTML=l;const o=null!=(n=a.k)?n:S(u.document);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);le(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>se(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},le=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.C||P(null,null),s=(e=>e&&e.m===R)(t)?t:x(null,null,t);if(U=o.tagName,n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=l.v=o.shadowRoot||o,J(l,s,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},se=e=>{const t=e.$hostElement$,n=e.t,o=e.j;re(n,"componentDidRender",void 0,t),64&e.o?re(n,"componentDidUpdate",void 0,t):(e.o|=64,ce(t),re(n,"componentDidLoad",void 0,t),e.M(t),o||ie()),e.S&&(e.S(),e.S=void 0),512&e.o&&b((()=>Z(e,!1))),e.o&=-517},ie=()=>{b((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"proto-table-wc"}});return e.dispatchEvent(t),t})(u)))},re=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e,o)}},ce=e=>e.classList.add("hydrated"),ue=(e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const i=s.P.get(t),r=s.o,c=s.t;if(o=W(o),(!(8&r)||void 0===i)&&o!==i&&(!Number.isNaN(i)||!Number.isNaN(o))&&(s.P.set(t,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,i,t))return;Z(s,!1)}},ae=(e,t,o)=>{var l,s;const i=e.prototype;if(t.R){const r=Object.entries(null!=(l=t.R)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,e)||{};s&&(t.R[e][0]|=2048),r&&(t.R[e][0]|=4096),(1&o||!s)&&Object.defineProperty(i,e,{get(){{if(!(2048&t.R[e][0]))return((e,t)=>n(this).P.get(t))(0,e);const o=n(this),l=o?o.t:i;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(s){const i=n(this);if(r){const n=32&l?this[e]:i.$hostElement$[e];return void 0===n&&i.P.get(e)?s=i.P.get(e):!i.P.get(e)&&n&&i.P.set(e,n),r.call(this,W(s)),void ue(this,e,s=32&l?this[e]:i.$hostElement$[e],t)}{if(!(1&o&&4096&t.R[e][0]))return ue(this,e,s,t),void(1&o&&!i.t&&i.D.then((()=>{4096&t.R[e][0]&&i.t[e]!==i.P.get(e)&&(i.t[e]=s)})));const n=()=>{const n=i.t[e];!i.P.get(e)&&n&&i.P.set(e,n),i.t[e]=W(s),ue(this,e,i.t[e],t)};i.t?n():i.D.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){a.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.U)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.U)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},fe=(e,t)=>{re(e,"connectedCallback",void 0,t)},de=(e,t)=>{re(e,"disconnectedCallback",void 0,t||e)},he=(e,t={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],f=t.exclude||[],h=u.customElements,p=u.document.head,m=p.querySelector("meta[charset]"),v=u.document.createElement("style"),w=[];let y,b=!0;Object.assign(a,t),a.l=new URL(t.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((t=>{const o={o:t[0],$:t[1],R:t[2],W:t[3]};4&o.o&&($=!0),o.R=t[2];const c=o.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,O:t,P:new Map};n.D=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else M.call(e,o)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),b?w.push(this):a.jmp((()=>(e=>{if(!(1&a.o)){const t=n(e),o=t.O,l=()=>{};if(1&t.o)(null==t?void 0:t.t)?fe(t.t,e):(null==t?void 0:t.D)&&t.D.then((()=>fe(t.t,e)));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}o.R&&Object.entries(o.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.A){const l=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.A;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{s(e,t.$hostElement$)}))
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(l&&"then"in l){const e=()=>{};o=await l,e()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);o.isProxied||(ae(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){s(t,e)}t.o&=-9,r(),fe(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=N(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>Z(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){a.jmp((()=>(async e=>{if(!(1&a.o)){const t=n(e);(null==t?void 0:t.t)?de(t.t,e):(null==t?void 0:t.D)&&t.D.then((()=>de(t.t,e)))}A.has(e)&&A.delete(e),e.shadowRoot&&A.has(e.shadowRoot)&&A.delete(e.shadowRoot)})(this))),a.raf((()=>{var e;const t=n(this),o=w.findIndex((e=>e===this));o>-1&&w.splice(o,1),(null==(e=null==t?void 0:t.C)?void 0:e.v)instanceof Node&&!t.C.v.isConnected&&delete t.C.v}))}componentOnReady(){return n(this).D}};o.A=e[0],f.includes(c)||h.get(c)||(l.push(c),h.define(c,ae(u,o,1)))}))})),l.length>0&&($&&(v.textContent+=c),v.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=a.k)?o:S(u.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,w.length?w.map((e=>e.connectedCallback())):a.jmp((()=>y=setTimeout(ie,30)))},pe=e=>a.k=e;export{he as b,e as g,x as h,f as p,o as r,pe as s}
|