proto-table-wc 0.1.6 → 0.1.7
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-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +2 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/demo-table_2.cjs.entry.js +5 -7
- package/dist/cjs/demo-table_2.cjs.entry.js.map +1 -0
- package/dist/cjs/{index-3fc164b0.js → index-1iSZQqFT.js} +11 -32
- package/dist/cjs/index-1iSZQqFT.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/proto-table-wc.cjs.js +8 -6
- package/dist/cjs/proto-table-wc.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +2 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/demo-table_2.entry.js +5 -5
- package/dist/esm/demo-table_2.entry.js.map +1 -0
- package/dist/esm/{index-80b85344.js → index-D4ltOQKp.js} +9 -10
- package/dist/esm/index-D4ltOQKp.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/proto-table-wc.js +7 -4
- package/dist/esm/proto-table-wc.js.map +1 -0
- package/dist/proto-table-wc/index.esm.js +2 -0
- package/dist/proto-table-wc/index.esm.js.map +1 -0
- package/dist/proto-table-wc/{p-3f414ffe.entry.js → p-8a8c1367.entry.js} +2 -1
- package/dist/proto-table-wc/p-8a8c1367.entry.js.map +1 -0
- package/dist/proto-table-wc/{p-3f30a655.js → p-D4ltOQKp.js} +3 -2
- package/dist/proto-table-wc/p-D4ltOQKp.js.map +1 -0
- package/dist/proto-table-wc/p-DQuL1Twl.js +2 -0
- package/dist/proto-table-wc/p-DQuL1Twl.js.map +1 -0
- package/dist/proto-table-wc/proto-table-wc.esm.js +2 -1
- package/dist/proto-table-wc/proto-table-wc.esm.js.map +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/package.json +3 -3
- package/dist/proto-table-wc/p-e1255160.js +0 -1
- package/loader/package.json +0 -11
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,11 +1,8 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
const index = require('./index-3fc164b0.js');
|
3
|
+
var index = require('./index-1iSZQqFT.js');
|
6
4
|
|
7
5
|
const demoTableCss = ".detailWrapper{font-weight:100;font-size:13px;display:flex;flex-direction:column;justify-items:start;padding:5px;padding-left:30px}";
|
8
|
-
const DemoTableStyle0 = demoTableCss;
|
9
6
|
|
10
7
|
const DemoTable = class {
|
11
8
|
constructor(hostRef) {
|
@@ -78,7 +75,7 @@ const DemoTable = class {
|
|
78
75
|
return index.h("proto-table", { key: 'aa5f26287b85073afb5bbd3c133f9ad388fc8138', ref: el => (this.table = el) });
|
79
76
|
}
|
80
77
|
};
|
81
|
-
DemoTable.style =
|
78
|
+
DemoTable.style = demoTableCss;
|
82
79
|
|
83
80
|
const iconPaths = {
|
84
81
|
'down': 'M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z',
|
@@ -91,7 +88,6 @@ const iconPaths = {
|
|
91
88
|
};
|
92
89
|
|
93
90
|
const protoTableCss = ".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)}";
|
94
|
-
const ProtoTableStyle0 = protoTableCss;
|
95
91
|
|
96
92
|
const iconAliases = {
|
97
93
|
'right': 'show',
|
@@ -165,7 +161,9 @@ const ProtoTable = class {
|
|
165
161
|
return (index.h("div", { key: 'c30742fde0de976c553234528a7bfb6ce10d3ef5', class: "table" }, this.header(), items.map((item, index) => this.row(item, index))));
|
166
162
|
}
|
167
163
|
};
|
168
|
-
ProtoTable.style =
|
164
|
+
ProtoTable.style = protoTableCss;
|
169
165
|
|
170
166
|
exports.demo_table = DemoTable;
|
171
167
|
exports.proto_table = ProtoTable;
|
168
|
+
|
169
|
+
//# sourceMappingURL=demo-table_2.cjs.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,30 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
function _interopNamespace(e) {
|
4
|
-
if (e && e.__esModule) return e;
|
5
|
-
var n = Object.create(null);
|
6
|
-
if (e) {
|
7
|
-
Object.keys(e).forEach(function (k) {
|
8
|
-
if (k !== 'default') {
|
9
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
10
|
-
Object.defineProperty(n, k, d.get ? d : {
|
11
|
-
enumerable: true,
|
12
|
-
get: function () {
|
13
|
-
return e[k];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
}
|
17
|
-
});
|
18
|
-
}
|
19
|
-
n['default'] = e;
|
20
|
-
return Object.freeze(n);
|
21
|
-
}
|
22
|
-
|
23
3
|
const NAMESPACE = 'proto-table-wc';
|
24
|
-
const BUILD = /* proto-table-wc */ {
|
4
|
+
const BUILD = /* proto-table-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
25
5
|
|
26
6
|
/*
|
27
|
-
Stencil Client Platform v4.
|
7
|
+
Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
|
28
8
|
*/
|
29
9
|
var __defProp = Object.defineProperty;
|
30
10
|
var __export = (target, all) => {
|
@@ -79,13 +59,13 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
79
59
|
return module[exportName];
|
80
60
|
}
|
81
61
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
82
|
-
return
|
62
|
+
return import(
|
83
63
|
/* @vite-ignore */
|
84
64
|
/* webpackInclude: /\.entry\.js$/ */
|
85
65
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
86
66
|
/* webpackMode: "lazy" */
|
87
67
|
`./${bundleId}.entry.js${""}`
|
88
|
-
)
|
68
|
+
).then(
|
89
69
|
(importedModule) => {
|
90
70
|
{
|
91
71
|
cmpModules.set(bundleId, importedModule);
|
@@ -523,7 +503,6 @@ function sortedAttrNames(attrNames) {
|
|
523
503
|
);
|
524
504
|
}
|
525
505
|
var hostTagName;
|
526
|
-
var useNativeShadowDom = false;
|
527
506
|
var isSvgMode = false;
|
528
507
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
529
508
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
@@ -543,7 +522,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
543
522
|
}
|
544
523
|
elm = newVNode2.$elm$ = win.document.createElementNS(
|
545
524
|
isSvgMode ? SVG_NS : HTML_NS,
|
546
|
-
|
525
|
+
newVNode2.$tag$
|
547
526
|
) ;
|
548
527
|
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
549
528
|
isSvgMode = false;
|
@@ -740,7 +719,6 @@ var insertBefore = (parent, newNode, reference) => {
|
|
740
719
|
};
|
741
720
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
742
721
|
const hostElm = hostRef.$hostElement$;
|
743
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
744
722
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
745
723
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
746
724
|
hostTagName = hostElm.tagName;
|
@@ -755,7 +733,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
755
733
|
rootVnode.$flags$ |= 4 /* isHost */;
|
756
734
|
hostRef.$vnode$ = rootVnode;
|
757
735
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
758
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
759
736
|
patch(oldVNode, rootVnode, isInitialLoad);
|
760
737
|
};
|
761
738
|
|
@@ -842,7 +819,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
842
819
|
try {
|
843
820
|
instance = instance.render() ;
|
844
821
|
{
|
845
|
-
hostRef.$flags$ &=
|
822
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
846
823
|
}
|
847
824
|
{
|
848
825
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
@@ -891,7 +868,7 @@ var postUpdateComponent = (hostRef) => {
|
|
891
868
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
892
869
|
nextTick(() => scheduleUpdate(hostRef, false));
|
893
870
|
}
|
894
|
-
hostRef.$flags$ &=
|
871
|
+
hostRef.$flags$ &= -517;
|
895
872
|
}
|
896
873
|
};
|
897
874
|
var appDidLoad = (who) => {
|
@@ -946,7 +923,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
946
923
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
947
924
|
var _a, _b;
|
948
925
|
const prototype = Cstr.prototype;
|
949
|
-
if (cmpMeta.$members$ || BUILD.watchCallback
|
926
|
+
if (cmpMeta.$members$ || BUILD.watchCallback) {
|
950
927
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
951
928
|
members.map(([memberName, [memberFlags]]) => {
|
952
929
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
@@ -1095,7 +1072,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1095
1072
|
consoleError(e, elm);
|
1096
1073
|
}
|
1097
1074
|
{
|
1098
|
-
hostRef.$flags$ &=
|
1075
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
1099
1076
|
}
|
1100
1077
|
endNewInstance();
|
1101
1078
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
@@ -1328,3 +1305,5 @@ exports.h = h;
|
|
1328
1305
|
exports.promiseResolve = promiseResolve;
|
1329
1306
|
exports.registerInstance = registerInstance;
|
1330
1307
|
exports.setNonce = setNonce;
|
1308
|
+
|
1309
|
+
//# sourceMappingURL=index-1iSZQqFT.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/cjs/index.cjs.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/cjs/loader.cjs.js
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
const index = require('./index-3fc164b0.js');
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
3
|
+
var index = require('./index-1iSZQqFT.js');
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
7
5
|
|
8
6
|
const defineCustomElements = async (win, options) => {
|
9
7
|
if (typeof window === 'undefined') return undefined;
|
@@ -13,3 +11,5 @@ const defineCustomElements = async (win, options) => {
|
|
13
11
|
|
14
12
|
exports.setNonce = index.setNonce;
|
15
13
|
exports.defineCustomElements = defineCustomElements;
|
14
|
+
|
15
|
+
//# sourceMappingURL=loader.cjs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
const index = require('./index-3fc164b0.js');
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
3
|
+
var index = require('./index-1iSZQqFT.js');
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
7
5
|
|
6
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
8
7
|
/*
|
9
|
-
Stencil Client Patch Browser v4.
|
8
|
+
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
|
10
9
|
*/
|
10
|
+
|
11
11
|
var patchBrowser = () => {
|
12
|
-
const importMeta = (typeof document === 'undefined' ?
|
12
|
+
const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('proto-table-wc.cjs.js', document.baseURI).href));
|
13
13
|
const opts = {};
|
14
14
|
if (importMeta !== "") {
|
15
15
|
opts.resourcesUrl = new URL(".", importMeta).href;
|
@@ -23,3 +23,5 @@ patchBrowser().then(async (options) => {
|
|
23
23
|
});
|
24
24
|
|
25
25
|
exports.setNonce = index.setNonce;
|
26
|
+
|
27
|
+
//# sourceMappingURL=proto-table-wc.cjs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
1
|
+
import { r as registerInstance, h } from './index-D4ltOQKp.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
|
-
const DemoTableStyle0 = demoTableCss;
|
5
4
|
|
6
5
|
const DemoTable = class {
|
7
6
|
constructor(hostRef) {
|
@@ -74,7 +73,7 @@ const DemoTable = class {
|
|
74
73
|
return h("proto-table", { key: 'aa5f26287b85073afb5bbd3c133f9ad388fc8138', ref: el => (this.table = el) });
|
75
74
|
}
|
76
75
|
};
|
77
|
-
DemoTable.style =
|
76
|
+
DemoTable.style = demoTableCss;
|
78
77
|
|
79
78
|
const iconPaths = {
|
80
79
|
'down': 'M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z',
|
@@ -87,7 +86,6 @@ const iconPaths = {
|
|
87
86
|
};
|
88
87
|
|
89
88
|
const protoTableCss = ".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)}";
|
90
|
-
const ProtoTableStyle0 = protoTableCss;
|
91
89
|
|
92
90
|
const iconAliases = {
|
93
91
|
'right': 'show',
|
@@ -161,6 +159,8 @@ const ProtoTable = class {
|
|
161
159
|
return (h("div", { key: 'c30742fde0de976c553234528a7bfb6ce10d3ef5', class: "table" }, this.header(), items.map((item, index) => this.row(item, index))));
|
162
160
|
}
|
163
161
|
};
|
164
|
-
ProtoTable.style =
|
162
|
+
ProtoTable.style = protoTableCss;
|
165
163
|
|
166
164
|
export { DemoTable as demo_table, ProtoTable as proto_table };
|
165
|
+
|
166
|
+
//# sourceMappingURL=demo-table_2.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
const NAMESPACE = 'proto-table-wc';
|
2
|
-
const BUILD = /* proto-table-wc */ {
|
2
|
+
const BUILD = /* proto-table-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
3
3
|
|
4
4
|
/*
|
5
|
-
Stencil Client Platform v4.
|
5
|
+
Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
|
6
6
|
*/
|
7
7
|
var __defProp = Object.defineProperty;
|
8
8
|
var __export = (target, all) => {
|
@@ -501,7 +501,6 @@ function sortedAttrNames(attrNames) {
|
|
501
501
|
);
|
502
502
|
}
|
503
503
|
var hostTagName;
|
504
|
-
var useNativeShadowDom = false;
|
505
504
|
var isSvgMode = false;
|
506
505
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
507
506
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
@@ -521,7 +520,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
521
520
|
}
|
522
521
|
elm = newVNode2.$elm$ = win.document.createElementNS(
|
523
522
|
isSvgMode ? SVG_NS : HTML_NS,
|
524
|
-
|
523
|
+
newVNode2.$tag$
|
525
524
|
) ;
|
526
525
|
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
527
526
|
isSvgMode = false;
|
@@ -718,7 +717,6 @@ var insertBefore = (parent, newNode, reference) => {
|
|
718
717
|
};
|
719
718
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
720
719
|
const hostElm = hostRef.$hostElement$;
|
721
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
722
720
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
723
721
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
724
722
|
hostTagName = hostElm.tagName;
|
@@ -733,7 +731,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
733
731
|
rootVnode.$flags$ |= 4 /* isHost */;
|
734
732
|
hostRef.$vnode$ = rootVnode;
|
735
733
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
736
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
737
734
|
patch(oldVNode, rootVnode, isInitialLoad);
|
738
735
|
};
|
739
736
|
|
@@ -820,7 +817,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
820
817
|
try {
|
821
818
|
instance = instance.render() ;
|
822
819
|
{
|
823
|
-
hostRef.$flags$ &=
|
820
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
824
821
|
}
|
825
822
|
{
|
826
823
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
@@ -869,7 +866,7 @@ var postUpdateComponent = (hostRef) => {
|
|
869
866
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
870
867
|
nextTick(() => scheduleUpdate(hostRef, false));
|
871
868
|
}
|
872
|
-
hostRef.$flags$ &=
|
869
|
+
hostRef.$flags$ &= -517;
|
873
870
|
}
|
874
871
|
};
|
875
872
|
var appDidLoad = (who) => {
|
@@ -924,7 +921,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
924
921
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
925
922
|
var _a, _b;
|
926
923
|
const prototype = Cstr.prototype;
|
927
|
-
if (cmpMeta.$members$ || BUILD.watchCallback
|
924
|
+
if (cmpMeta.$members$ || BUILD.watchCallback) {
|
928
925
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
929
926
|
members.map(([memberName, [memberFlags]]) => {
|
930
927
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
@@ -1073,7 +1070,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1073
1070
|
consoleError(e, elm);
|
1074
1071
|
}
|
1075
1072
|
{
|
1076
|
-
hostRef.$flags$ &=
|
1073
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
1077
1074
|
}
|
1078
1075
|
endNewInstance();
|
1079
1076
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
@@ -1302,3 +1299,5 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1302
1299
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
1303
1300
|
|
1304
1301
|
export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
1302
|
+
|
1303
|
+
//# sourceMappingURL=index-D4ltOQKp.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/esm/index.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/esm/loader.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
2
|
-
export { s as setNonce } from './index-
|
3
|
-
import { g as globalScripts } from './app-globals-
|
1
|
+
import { b as bootstrapLazy } from './index-D4ltOQKp.js';
|
2
|
+
export { s as setNonce } from './index-D4ltOQKp.js';
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
4
4
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
@@ -9,3 +9,5 @@ const defineCustomElements = async (win, options) => {
|
|
9
9
|
};
|
10
10
|
|
11
11
|
export { defineCustomElements };
|
12
|
+
|
13
|
+
//# sourceMappingURL=loader.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
2
|
-
export { s as setNonce } from './index-
|
3
|
-
import { g as globalScripts } from './app-globals-
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-D4ltOQKp.js';
|
2
|
+
export { s as setNonce } from './index-D4ltOQKp.js';
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
4
4
|
|
5
5
|
/*
|
6
|
-
Stencil Client Patch Browser v4.
|
6
|
+
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
|
7
7
|
*/
|
8
|
+
|
8
9
|
var patchBrowser = () => {
|
9
10
|
const importMeta = import.meta.url;
|
10
11
|
const opts = {};
|
@@ -18,3 +19,5 @@ patchBrowser().then(async (options) => {
|
|
18
19
|
await globalScripts();
|
19
20
|
return bootstrapLazy([["demo-table_2",[[1,"demo-table"],[0,"proto-table",{"data":[16],"details":[8],"fields":[16],"expanded":[32],"sort":[32],"clicks":[32]}]]]], options);
|
20
21
|
});
|
22
|
+
|
23
|
+
//# sourceMappingURL=proto-table-wc.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1 +1,2 @@
|
|
1
|
-
import{r as e,h as t}from"./p-
|
1
|
+
import{r as e,h as t}from"./p-D4ltOQKp.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}
|
2
|
+
//# sourceMappingURL=p-8a8c1367.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1,2 +1,3 @@
|
|
1
|
-
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),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: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),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?w(y):u.raf(y))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},y=()=>{v(h),v(p),(d=h.length>0)&&u.raf(y)},w=e=>f().then(e),b=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function g(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}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>O,ok:()=>S,unwrap:()=>E,unwrapErr:()=>C});var S=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>S(e))):S(n)}if(e.isErr)return j(e.value);throw"should never get here"}var k,E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=(e,t,...n)=>{let o=null,l=null,i=!1,s=!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&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?x(null,o):o),s=i)};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=x(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},x=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},D=e=>(null==e||$(e),e),R=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=N(n);let i=N(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!i)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,f)?f.slice(2):f[2]+t.slice(3),n||l){const o=t.endsWith(L);t=t.replace(T,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},A=/\s/,N=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(A):[]),L="Capture",T=RegExp(L+"$"),H=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of z(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of z(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var F=!1,V=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(F||(F="svg"===o.m),!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.v=c.document.createElementNS(F?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),F&&"foreignObject"===o.m&&(F=!1),H(null,o,F),o.h)for(s=0;s<o.h.length;++s)i=V(e,o,s),i&&l.appendChild(i);"svg"===o.m?F=!1:"foreignObject"===l.tagName&&(F=!0)}return l["s-hn"]=k,l},q=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=V(null,n,l),s&&(o[l].v=s,B(r,s,t)))},G=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;_(t),e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),Y=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.m,r=t.i;null===r?(H(e,t,F="svg"===s||"foreignObject"!==s&&F),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,f=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(I(d,m,l))Y(d,m,l),d=t[++r],m=o[++c];else if(I(h,v,l))Y(h,v,l),h=t[--a],v=o[--p];else if(I(d,v,l))Y(d,v,l),B(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(I(h,m,l))Y(h,m,l),B(e,h.v,d.v),h=t[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].p&&t[f].p===m.p){u=f;break}u>=0?(s=t[u],s.m!==m.m?i=V(t&&t[c],n,u):(Y(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=V(t&&t[c],n,c),m=o[++c]),i&&B(d.v.parentNode,i,d.v)}r>a?q(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&G(t,r,a)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),q(o,null,t,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),F&&"svg"===s&&(F=!1)):e.i!==r&&(o.data=r)},_=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(_)},B=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(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()})))}},K=(e,t)=>{if(e.o|=16,!(4&e.o))return J(e,e.j),b((()=>Q(e,t)));e.o|=512},Q=(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=le(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=X(l,(()=>le(o,"componentWillRender",void 0,n))),X(l,(()=>ee(e,o,t)))},X=(e,t)=>Z(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Z=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ee=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let i,s=R.get(e=e.head||e);if(s||R.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.k)?n:g(c.document);if(null!=s&&i.setAttribute("nonce",s),!(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(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(a){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(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);te(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},te=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.O,i=e.C||x(null,null),s=(e=>e&&e.m===P)(t)?t:M(null,null,t);if(k=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=i.v=o.shadowRoot||o,Y(i,s,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},ne=e=>{const t=e.$hostElement$,n=e.t,o=e.j;le(n,"componentDidRender",void 0,t),64&e.o?le(n,"componentDidUpdate",void 0,t):(e.o|=64,ie(t),le(n,"componentDidLoad",void 0,t),e.M(t),o||oe()),e.S&&(e.S(),e.S=void 0),512&e.o&&w((()=>K(e,!1))),e.o&=-517},oe=()=>{w((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"proto-table-wc"}});return e.dispatchEvent(t),t})(c)))},le=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},ie=e=>e.classList.add("hydrated"),se=(e,n,o,l)=>{const i=t(e);if(!i)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 s=i.P.get(n),r=i.o,c=i.t;if(o=D(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;K(i,!1)}},re=(e,n,o)=>{var l,i;const s=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).P.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.P.get(e)?i=s.P.get(e):!s.P.get(e)&&t&&s.P.set(e,t),r.call(this,D(i)),void se(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return se(this,e,i,n),void(1&o&&!s.t&&s.R.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.P.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.P.get(e)&&t&&s.P.set(e,t),s.t[e]=D(i),se(this,e,s.t[e],n)};s.t?t():s.R.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){u.jmp((()=>{var r;const c=o.get(e);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=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.U)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.U)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},ce=(e,t)=>{le(e,"connectedCallback",void 0,t)},ue=(e,t)=>{le(e,"disconnectedCallback",void 0,t||e)},fe=(e,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"),y=[];let w,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],$:n[1],D:n[2],W:n[3]};4&o.o&&($=!0),o.D=n[2];const r=o.$,c=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.R=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 e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?ce(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>ce(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){J(n,n.j=t);break}}o.D&&Object.entries(o.D).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 s=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.A;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);o.isProxied||(re(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),ce(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=U(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>K(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?ue(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>ue(n.t,e)))}R.has(e)&&R.delete(e),e.shadowRoot&&R.has(e.shadowRoot)&&R.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).R}};o.A=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,re(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 e=null!=(o=u.k)?o:g(c.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((e=>e.connectedCallback())):u.jmp((()=>w=setTimeout(oe,30)))},ae=e=>u.k=e;export{fe as b,M as h,f as p,n as r,ae as s}
|
1
|
+
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),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: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),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?w(y):u.raf(y))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},y=()=>{v(h),v(p),(d=h.length>0)&&u.raf(y)},w=e=>f().then(e),b=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function g(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}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>O,ok:()=>S,unwrap:()=>E,unwrapErr:()=>C});var S=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>S(e))):S(n)}if(e.isErr)return j(e.value);throw"should never get here"}var k,E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=(e,t,...n)=>{let o=null,l=null,i=!1,s=!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&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?x(null,o):o),s=i)};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=x(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},x=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},D=e=>(null==e||$(e),e),R=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=N(n);let i=N(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!i)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,f)?f.slice(2):f[2]+t.slice(3),n||l){const o=t.endsWith(L);t=t.replace(T,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},A=/\s/,N=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(A):[]),L="Capture",T=RegExp(L+"$"),H=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of z(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of z(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var F=!1,V=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(F||(F="svg"===o.m),!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.v=c.document.createElementNS(F?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),F&&"foreignObject"===o.m&&(F=!1),H(null,o,F),o.h)for(s=0;s<o.h.length;++s)i=V(e,o,s),i&&l.appendChild(i);"svg"===o.m?F=!1:"foreignObject"===l.tagName&&(F=!0)}return l["s-hn"]=k,l},q=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=V(null,n,l),s&&(o[l].v=s,B(r,s,t)))},G=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;_(t),e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),Y=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.m,r=t.i;null===r?(H(e,t,F="svg"===s||"foreignObject"!==s&&F),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,f=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(I(d,m,l))Y(d,m,l),d=t[++r],m=o[++c];else if(I(h,v,l))Y(h,v,l),h=t[--a],v=o[--p];else if(I(d,v,l))Y(d,v,l),B(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(I(h,m,l))Y(h,m,l),B(e,h.v,d.v),h=t[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].p&&t[f].p===m.p){u=f;break}u>=0?(s=t[u],s.m!==m.m?i=V(t&&t[c],n,u):(Y(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=V(t&&t[c],n,c),m=o[++c]),i&&B(d.v.parentNode,i,d.v)}r>a?q(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&G(t,r,a)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),q(o,null,t,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),F&&"svg"===s&&(F=!1)):e.i!==r&&(o.data=r)},_=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(_)},B=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(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()})))}},K=(e,t)=>{if(e.o|=16,!(4&e.o))return J(e,e.j),b((()=>Q(e,t)));e.o|=512},Q=(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=le(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=X(l,(()=>le(o,"componentWillRender",void 0,n))),X(l,(()=>ee(e,o,t)))},X=(e,t)=>Z(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Z=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ee=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let i,s=R.get(e=e.head||e);if(s||R.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.k)?n:g(c.document);if(null!=s&&i.setAttribute("nonce",s),!(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(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(a){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(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);te(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},te=(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||x(null,null),i=(e=>e&&e.m===P)(t)?t:M(null,null,t);if(k=o.tagName,n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.C=i,i.v=l.v=o.shadowRoot||o,Y(l,i,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},ne=e=>{const t=e.$hostElement$,n=e.t,o=e.j;le(n,"componentDidRender",void 0,t),64&e.o?le(n,"componentDidUpdate",void 0,t):(e.o|=64,ie(t),le(n,"componentDidLoad",void 0,t),e.M(t),o||oe()),e.S&&(e.S(),e.S=void 0),512&e.o&&w((()=>K(e,!1))),e.o&=-517},oe=()=>{w((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"proto-table-wc"}});return e.dispatchEvent(t),t})(c)))},le=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},ie=e=>e.classList.add("hydrated"),se=(e,n,o,l)=>{const i=t(e);if(!i)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 s=i.P.get(n),r=i.o,c=i.t;if(o=D(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;K(i,!1)}},re=(e,n,o)=>{var l,i;const s=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).P.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.P.get(e)?i=s.P.get(e):!s.P.get(e)&&t&&s.P.set(e,t),r.call(this,D(i)),void se(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return se(this,e,i,n),void(1&o&&!s.t&&s.R.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.P.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.P.get(e)&&t&&s.P.set(e,t),s.t[e]=D(i),se(this,e,s.t[e],n)};s.t?t():s.R.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){u.jmp((()=>{var r;const c=o.get(e);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=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.U)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.U)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},ce=(e,t)=>{le(e,"connectedCallback",void 0,t)},ue=(e,t)=>{le(e,"disconnectedCallback",void 0,t||e)},fe=(e,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"),y=[];let w,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],$:n[1],D:n[2],W:n[3]};4&o.o&&($=!0),o.D=n[2];const r=o.$,c=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.R=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 e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?ce(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>ce(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){J(n,n.j=t);break}}o.D&&Object.entries(o.D).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 s=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.A;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);o.isProxied||(re(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),ce(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=U(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>K(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?ue(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>ue(n.t,e)))}R.has(e)&&R.delete(e),e.shadowRoot&&R.has(e.shadowRoot)&&R.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).R}};o.A=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,re(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 e=null!=(o=u.k)?o:g(c.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((e=>e.connectedCallback())):u.jmp((()=>w=setTimeout(oe,30)))},ae=e=>u.k=e;export{fe as b,M as h,f as p,n as r,ae as s}
|
3
|
+
//# sourceMappingURL=p-D4ltOQKp.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -1 +1,2 @@
|
|
1
|
-
import{p as
|
1
|
+
import{p as t,b as a}from"./p-D4ltOQKp.js";export{s as setNonce}from"./p-D4ltOQKp.js";import{g as e}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),t(s)})().then((async t=>(await e(),a([["p-8a8c1367",[[1,"demo-table"],[0,"proto-table",{data:[16],details:[8],fields:[16],expanded:[32],sort:[32],clicks:[32]}]]]],t))));
|
2
|
+
//# sourceMappingURL=proto-table-wc.esm.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"sourcesContent":[]}
|
@@ -826,6 +826,7 @@ export declare namespace JSXBase {
|
|
826
826
|
}
|
827
827
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
828
828
|
open?: boolean;
|
829
|
+
name?: string;
|
829
830
|
onToggle?: (event: Event) => void;
|
830
831
|
}
|
831
832
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "proto-table-wc",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.7",
|
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.28.2"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
31
|
"cspell": "8.17.5",
|
32
|
-
"eslint": "9.
|
32
|
+
"eslint": "9.22.0",
|
33
33
|
"prettier": "3.5.3",
|
34
34
|
"typescript": "5.8.2"
|
35
35
|
},
|
@@ -1 +0,0 @@
|
|
1
|
-
const o=()=>{};export{o as g}
|
package/loader/package.json
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "proto-table-wc-loader",
|
3
|
-
"private": true,
|
4
|
-
"typings": "./index.d.ts",
|
5
|
-
"module": "./index.js",
|
6
|
-
"main": "./index.cjs.js",
|
7
|
-
"jsnext:main": "./index.es2017.js",
|
8
|
-
"es2015": "./index.es2017.js",
|
9
|
-
"es2017": "./index.es2017.js",
|
10
|
-
"unpkg": "./cdn.js"
|
11
|
-
}
|