@ganpatiinfo/gids-core-web 10.0.0 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/index.css +260 -0
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +11 -0
- package/dist/gids-action-bar.js +1 -0
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +11 -0
- package/dist/gids-filter.js +1 -0
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-level-gauge.js +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-notification.js +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-progress-circle.js +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-snackbar.js +1 -1
- package/dist/gids-tab-item.d.ts +11 -0
- package/dist/gids-tab-item.js +1 -0
- package/dist/gids-tab.d.ts +11 -0
- package/dist/gids-tab.js +1 -0
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{p-h6alWGT8.js → p-5VIPb1eU.js} +1 -1
- package/dist/{p-BiPAgxAQ.js → p-8tOn5SjU.js} +1 -1
- package/dist/{p-Bmb-HiXg.js → p-B1Jgtjhu.js} +1 -1
- package/dist/{p-B81J5HCC.js → p-BYDimyG-.js} +1 -1
- package/dist/p-Bf3p-DY2.js +1 -0
- package/dist/{p-tyIgTtUC.js → p-BfnzH6wp.js} +1 -1
- package/dist/p-Bj28yqMD.js +1 -0
- package/dist/{p-CJzporPT.js → p-C-cUL-aA.js} +1 -1
- package/dist/{p-BvYnawkJ.js → p-C7ifjRCE.js} +1 -1
- package/dist/p-CHGTBObD.js +1 -0
- package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
- package/dist/p-Ciw-O9qN.js +1 -0
- package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
- package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
- package/dist/p-D6lxqcxP.js +1 -0
- package/dist/p-DMNS1d8v.js +1 -0
- package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
- package/dist/p-Dg2yoUxw.js +1 -0
- package/dist/{p-CIP0xyhD.js → p-DiNad9Px.js} +1 -1
- package/dist/{p-D93TNeOt.js → p-DoPuGtJd.js} +1 -1
- package/dist/{p-DfFqFdmS.js → p-Doi8Yizl.js} +1 -1
- package/dist/{p-9_mrQ7ac.js → p-Jdpe4Sgj.js} +1 -1
- package/dist/p-UVmSPzTd.js +1 -0
- package/dist/p-UxDcM-C5.js +1 -0
- package/dist/{p-CPSHPtGE.js → p-bPPm7cuw.js} +1 -1
- package/dist/p-qb1aWgjh.js +1 -0
- package/dist/p-qrjEbv6g.js +1 -0
- package/dist/p-xITwQAMz.js +1 -0
- package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
- package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
- package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
- package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
- package/dist/types/components.d.ts +381 -5
- package/dist-bundled/es/gids-action-bar.js +177 -0
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +4 -4
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +3 -3
- package/dist-bundled/es/gids-calendar.js +34 -34
- package/dist-bundled/es/gids-chart-legend-item.js +3 -3
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +22 -22
- package/dist-bundled/es/gids-chevron-button.js +9 -9
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +9 -9
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +6 -0
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-level-gauge.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +1 -1
- package/dist-bundled/es/gids-notification.js +1 -1
- package/dist-bundled/es/gids-overflow-container.js +9 -9
- package/dist-bundled/es/gids-overlay-provider.js +12 -12
- package/dist-bundled/es/gids-password-field.js +48 -48
- package/dist-bundled/es/gids-pie-chart.js +3 -3
- package/dist-bundled/es/gids-popover.js +5 -5
- package/dist-bundled/es/gids-progress-circle.js +1 -1
- package/dist-bundled/es/gids-scrim.js +3 -3
- package/dist-bundled/es/gids-snackbar.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +100 -0
- package/dist-bundled/es/gids-tab.js +63 -0
- package/dist-bundled/es/gids-text-field.js +17 -17
- package/dist-bundled/es/gids-toggle-button.js +4 -44
- package/dist-bundled/es/gids-tooltip.js +2 -2
- package/dist-bundled/es/index.js +3 -3
- package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
- package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-5VIPb1eU-MCAo8JCp.js} +8 -8
- package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-8tOn5SjU-D9rZ28cf.js} +11 -11
- package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-B1Jgtjhu-B_VYp-ZP.js} +15 -15
- package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-BYDimyG--DBCLrqDJ.js} +3 -3
- package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
- package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-BfnzH6wp-BfLC7Nak.js} +4 -4
- package/dist-bundled/es/p-Bj28yqMD-Dz1SWSqM.js +44 -0
- package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-C-cUL-aA-2jsvw-Lr.js} +9 -9
- package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-C7ifjRCE-CRlorwoN.js} +10 -10
- package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
- package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
- package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-Ciw-O9qN-DkWfirFu.js} +24 -22
- package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
- package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
- package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
- package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
- package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
- package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
- package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-DiNad9Px-uOCMHqAq.js} +11 -11
- package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-DoPuGtJd-DYlbhh57.js} +14 -14
- package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-Doi8Yizl-BszWK5Dq.js} +5 -5
- package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-Jdpe4Sgj-acwaxLtK.js} +3 -3
- package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
- package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
- package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-bPPm7cuw-B-dtPJF9.js} +6 -6
- package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-qb1aWgjh-CzmMPIME.js} +2 -2
- package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +152 -0
- package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-xITwQAMz-BMXjOAAQ.js} +20 -18
- package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
- package/dist-bundled/umd/gids-chart.umd.js +3 -3
- package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
- package/dist-bundled/umd/gids-dot.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +7 -0
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-notification.umd.js +2 -2
- package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
- package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +2 -2
- package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +2 -2
- package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
- package/dist-bundled/umd/gids-tab-item.umd.js +5 -0
- package/dist-bundled/umd/gids-tab.umd.js +5 -0
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
- package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
- package/dist-bundled/umd/index.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +36 -4
- package/dist/p-BFHWXEeg.js +0 -1
- package/dist/p-B_HaXpJZ.js +0 -1
- package/dist/p-BaO-kEWS.js +0 -1
- package/dist/p-CRngHsR7.js +0 -1
- package/dist/p-Ct3Ixgvf.js +0 -1
- package/dist/p-DKsrt7dx.js +0 -1
- package/dist/p-DZWWuJac.js +0 -1
- package/dist/p-Dehss-X0.js +0 -1
- package/dist/p-KxRqlvSh.js +0 -1
- package/dist/p-MgTlrSP_.js +0 -1
- package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
- package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +0 -25
- package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
|
@@ -1,646 +0,0 @@
|
|
|
1
|
-
function we(e, t, s) {
|
|
2
|
-
const o = typeof HTMLElement < "u" ? HTMLElement.prototype : null;
|
|
3
|
-
for (; e && e !== o; ) {
|
|
4
|
-
const n = Object.getOwnPropertyDescriptor(e, t);
|
|
5
|
-
if (n && (!s || n.get)) return n;
|
|
6
|
-
e = Object.getPrototypeOf(e);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
var F, Fe = (e, t) => {
|
|
10
|
-
var s;
|
|
11
|
-
Object.entries((s = t.o.t) != null ? s : {}).map((([o, [n]]) => {
|
|
12
|
-
if (31 & n || 32 & n) {
|
|
13
|
-
const r = e[o], c = we(Object.getPrototypeOf(e), o, !0) || Object.getOwnPropertyDescriptor(e, o);
|
|
14
|
-
c && Object.defineProperty(e, o, { get() {
|
|
15
|
-
return c.get.call(this);
|
|
16
|
-
}, set(i) {
|
|
17
|
-
c.set.call(this, i);
|
|
18
|
-
}, configurable: !0, enumerable: !0 }), t.l.has(o) ? e[o] = t.l.get(o) : r !== void 0 && (e[o] = r);
|
|
19
|
-
}
|
|
20
|
-
}));
|
|
21
|
-
}, A = (e) => {
|
|
22
|
-
if (e.__stencil__getHostRef) return e.__stencil__getHostRef();
|
|
23
|
-
}, ce = (e, t) => t in e, P = (e, t) => (0, console.error)(e, t), W = /* @__PURE__ */ new Map(), ae = "http://www.w3.org/1999/xlink", Me = ["formAssociatedCallback", "formResetCallback", "formDisabledCallback", "formStateRestoreCallback"], w = typeof window < "u" ? window : {}, ot = w.HTMLElement || class {
|
|
24
|
-
}, _ = { i: 0, u: "", jmp: (e) => e(), raf: (e) => requestAnimationFrame(e), ael: (e, t, s, o) => e.addEventListener(t, s, o), rel: (e, t, s, o) => e.removeEventListener(t, s, o), ce: (e, t) => new CustomEvent(e, t) }, se = (() => {
|
|
25
|
-
try {
|
|
26
|
-
return !!w.document.adoptedStyleSheets && (new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function");
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return !1;
|
|
30
|
-
})(), G = !!se && !!w.document && Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets, "length").writable, J = !1, ue = [], Oe = [], De = (e, t) => (s) => {
|
|
31
|
-
e.push(s), J || (J = !0, 4 & _.i ? ne(K) : _.raf(K));
|
|
32
|
-
}, de = (e) => {
|
|
33
|
-
for (let t = 0; t < e.length; t++) try {
|
|
34
|
-
e[t](performance.now());
|
|
35
|
-
} catch (s) {
|
|
36
|
-
P(s);
|
|
37
|
-
}
|
|
38
|
-
e.length = 0;
|
|
39
|
-
}, K = () => {
|
|
40
|
-
de(ue), de(Oe), (J = ue.length > 0) && _.raf(K);
|
|
41
|
-
}, ne = (e) => Promise.resolve(void 0).then(e), He = De(Oe), st = (e) => {
|
|
42
|
-
const t = new URL(e, _.u);
|
|
43
|
-
return t.origin !== w.location.origin ? t.href : t.pathname;
|
|
44
|
-
}, nt = (e) => _.u = e;
|
|
45
|
-
function Ue() {
|
|
46
|
-
const e = this.attachShadow({ mode: "open" });
|
|
47
|
-
F === void 0 && (F = null), F && (G ? e.adoptedStyleSheets.push(F) : e.adoptedStyleSheets = [...e.adoptedStyleSheets, F]);
|
|
48
|
-
}
|
|
49
|
-
var _e = (e) => {
|
|
50
|
-
const t = Q(e, "childNodes");
|
|
51
|
-
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && le(t, e.tagName).forEach(((o) => {
|
|
52
|
-
o.nodeType === 1 && o.tagName === "SLOT-FB" && (o.hidden = !!Ve(o, U(o), !1).length);
|
|
53
|
-
}));
|
|
54
|
-
let s = 0;
|
|
55
|
-
for (s = 0; s < t.length; s++) {
|
|
56
|
-
const o = t[s];
|
|
57
|
-
o.nodeType === 1 && Q(o, "childNodes").length && _e(o);
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
function le(e, t, s) {
|
|
61
|
-
let o, n = 0, r = [];
|
|
62
|
-
for (; n < e.length; n++) {
|
|
63
|
-
if (o = e[n], o["s-sr"] && (!t || o["s-hn"] === t) && (s === void 0 || U(o) === s) && (r.push(o), s !== void 0)) return r;
|
|
64
|
-
r = [...r, ...le(o.childNodes, t, s)];
|
|
65
|
-
}
|
|
66
|
-
return r;
|
|
67
|
-
}
|
|
68
|
-
var Ve = (e, t, s = !0) => {
|
|
69
|
-
const o = [];
|
|
70
|
-
(s && e["s-sr"] || !e["s-sr"]) && o.push(e);
|
|
71
|
-
let n = e;
|
|
72
|
-
for (; n = n.nextSibling; ) U(n) !== t || !s && n["s-sr"] || o.push(n);
|
|
73
|
-
return o;
|
|
74
|
-
}, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t || t === "", U = (e) => typeof e["s-sn"] == "string" ? e["s-sn"] : e.nodeType === 1 && e.getAttribute("slot") || void 0;
|
|
75
|
-
function Q(e, t) {
|
|
76
|
-
if ("__" + t in e) {
|
|
77
|
-
const s = e["__" + t];
|
|
78
|
-
return typeof s != "function" ? s : s.bind(e);
|
|
79
|
-
}
|
|
80
|
-
return typeof e[t] != "function" ? e[t] : e[t].bind(e);
|
|
81
|
-
}
|
|
82
|
-
var X, T, R = /* @__PURE__ */ new WeakMap(), ke = (e) => "sc-" + e.p, re = (e) => (e = typeof e) == "object" || e === "function", je = (e, t, ...s) => {
|
|
83
|
-
let o = null, n = null, r = null, c = !1, i = !1;
|
|
84
|
-
const l = [], u = (a) => {
|
|
85
|
-
for (let f = 0; f < a.length; f++) o = a[f], Array.isArray(o) ? u(o) : o != null && typeof o != "boolean" && ((c = typeof e != "function" && !re(o)) && (o = String(o)), c && i ? l[l.length - 1].h += o : l.push(c ? B(null, o) : o), i = c);
|
|
86
|
-
};
|
|
87
|
-
if (u(s), t) {
|
|
88
|
-
t.key && (n = t.key), t.name && (r = t.name);
|
|
89
|
-
{
|
|
90
|
-
const a = t.className || t.class;
|
|
91
|
-
a && (t.class = typeof a != "object" ? a : Object.keys(a).filter(((f) => a[f])).join(" "));
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
if (typeof e == "function") return e(t === null ? {} : t, l, Be);
|
|
95
|
-
const d = B(e, null);
|
|
96
|
-
return d.v = t, l.length > 0 && (d.m = l), d.$ = n, d.j = r, d;
|
|
97
|
-
}, B = (e, t) => ({ i: 0, O: e, h: t ?? null, S: null, m: null, v: null, $: null, j: null }), We = {}, Be = { forEach: (e, t) => e.map(he).forEach(t), map: (e, t) => e.map(he).map(t).map(qe) }, he = (e) => ({ vattrs: e.v, vchildren: e.m, vkey: e.$, vname: e.j, vtag: e.O, vtext: e.h }), qe = (e) => {
|
|
98
|
-
if (typeof e.vtag == "function") {
|
|
99
|
-
const s = { ...e.vattrs };
|
|
100
|
-
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), je(e.vtag, s, ...e.vchildren || []);
|
|
101
|
-
}
|
|
102
|
-
const t = B(e.vtag, e.vtext);
|
|
103
|
-
return t.v = e.vattrs, t.m = e.vchildren, t.$ = e.vkey, t.j = e.vname, t;
|
|
104
|
-
}, Ce = (e) => {
|
|
105
|
-
if (!e) return;
|
|
106
|
-
const t = Object.keys(e);
|
|
107
|
-
if (t.length === 0) return;
|
|
108
|
-
let s = !1;
|
|
109
|
-
for (const n of t) {
|
|
110
|
-
if (s) break;
|
|
111
|
-
for (const r of e[n]) if (typeof r == "string") {
|
|
112
|
-
s = !0;
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
if (!s) return e;
|
|
117
|
-
const o = {};
|
|
118
|
-
for (const n of t) o[n] = e[n].map(((r) => typeof r == "string" ? { [r]: 0 } : r));
|
|
119
|
-
return o;
|
|
120
|
-
}, Ee = (e, t, s) => e == null || re(e) ? e : 4 & t ? (s && typeof e == "string" || e !== "false") && (e === "" || !!e) : 2 & t ? typeof e == "string" ? parseFloat(e) : typeof e == "number" ? e : NaN : 1 & t ? String(e) : e, lt = (e, t) => {
|
|
121
|
-
const s = e;
|
|
122
|
-
return { emit: (o) => $e(s, t, { bubbles: !0, composed: !0, cancelable: !0, detail: o }) };
|
|
123
|
-
}, $e = (e, t, s) => {
|
|
124
|
-
const o = _.ce(t, s);
|
|
125
|
-
return e.dispatchEvent(o), o;
|
|
126
|
-
}, pe = (e, t, s, o, n, r) => {
|
|
127
|
-
if (s === o) return;
|
|
128
|
-
let c = ce(e, t), i = t.toLowerCase();
|
|
129
|
-
if (t === "class") {
|
|
130
|
-
const l = e.classList, u = me(s);
|
|
131
|
-
let d = me(o);
|
|
132
|
-
l.remove(...u.filter(((a) => a && !d.includes(a)))), l.add(...d.filter(((a) => a && !u.includes(a))));
|
|
133
|
-
} else if (t === "style") {
|
|
134
|
-
for (const l in s) o && o[l] != null || (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
|
|
135
|
-
for (const l in o) s && o[l] === s[l] || (l.includes("-") ? e.style.setProperty(l, o[l]) : e.style[l] = o[l]);
|
|
136
|
-
} else if (t !== "key") {
|
|
137
|
-
if (t === "ref") o && Ie(o, e);
|
|
138
|
-
else if (e.__lookupSetter__(t) || t[0] !== "o" || t[1] !== "n") {
|
|
139
|
-
if (t[0] === "a" && t.startsWith("attr:")) {
|
|
140
|
-
const l = t.slice(5);
|
|
141
|
-
let u;
|
|
142
|
-
{
|
|
143
|
-
const d = A(e);
|
|
144
|
-
if (d && d.o && d.o.t) {
|
|
145
|
-
const a = d.o.t[l];
|
|
146
|
-
a && a[1] && (u = a[1]);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
return u || (u = l.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()), void (o == null || o === !1 ? o === !1 && e.getAttribute(u) !== "" || e.removeAttribute(u) : e.setAttribute(u, o === !0 ? "" : o));
|
|
150
|
-
}
|
|
151
|
-
if (t[0] === "p" && t.startsWith("prop:")) {
|
|
152
|
-
const l = t.slice(5);
|
|
153
|
-
try {
|
|
154
|
-
e[l] = o;
|
|
155
|
-
} catch {
|
|
156
|
-
}
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
{
|
|
160
|
-
const l = re(o);
|
|
161
|
-
if ((c || l && o !== null) && !n) try {
|
|
162
|
-
if (e.tagName.includes("-")) e[t] !== o && (e[t] = o);
|
|
163
|
-
else {
|
|
164
|
-
const d = o ?? "";
|
|
165
|
-
t === "list" ? c = !1 : s != null && e[t] === d || (typeof e.__lookupSetter__(t) == "function" ? e[t] = d : e.setAttribute(t, d));
|
|
166
|
-
}
|
|
167
|
-
} catch {
|
|
168
|
-
}
|
|
169
|
-
let u = !1;
|
|
170
|
-
i !== (i = i.replace(/^xlink\:?/, "")) && (t = i, u = !0), o == null || o === !1 ? o === !1 && e.getAttribute(t) !== "" || (u ? e.removeAttributeNS(ae, t) : e.removeAttribute(t)) : (!c || 4 & r || n) && !l && e.nodeType === 1 && (o = o === !0 ? "" : o, u ? e.setAttributeNS(ae, t, o) : e.setAttribute(t, o));
|
|
171
|
-
}
|
|
172
|
-
} else if (t = t[2] === "-" ? t.slice(3) : ce(w, i) ? i.slice(2) : i[2] + t.slice(3), s || o) {
|
|
173
|
-
const l = t.endsWith(Ae);
|
|
174
|
-
t = t.replace(Ye, ""), s && _.rel(e, t, s, l), o && _.ael(e, t, o, l);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}, ze = /\s/, me = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), e && typeof e == "string" ? e.split(ze) : []), Ae = "Capture", Ye = new RegExp(Ae + "$"), ee = (e, t, s) => {
|
|
178
|
-
const o = t.S.nodeType === 11 && t.S.host ? t.S.host : t.S, n = e && e.v || {}, r = t.v || {};
|
|
179
|
-
for (const c of ye(Object.keys(n))) c in r || pe(o, c, n[c], void 0, s, t.i);
|
|
180
|
-
for (const c of ye(Object.keys(r))) pe(o, c, n[c], r[c], s, t.i);
|
|
181
|
-
};
|
|
182
|
-
function ye(e) {
|
|
183
|
-
return e.includes("ref") ? [...e.filter(((t) => t !== "ref")), "ref"] : e;
|
|
184
|
-
}
|
|
185
|
-
var D = !1, q = !1, I = !1, j = !1, te = [], oe = [], z = (e, t, s) => {
|
|
186
|
-
var o;
|
|
187
|
-
const n = t.m[s];
|
|
188
|
-
let r, c, i, l = 0;
|
|
189
|
-
if (D || (I = !0, n.O === "slot" && (n.i |= n.m ? 2 : 1)), n.h != null) r = n.S = w.document.createTextNode(n.h);
|
|
190
|
-
else if (1 & n.i) r = n.S = w.document.createTextNode(""), ee(null, n, j);
|
|
191
|
-
else {
|
|
192
|
-
if (j || (j = n.O === "svg"), !w.document) throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
193
|
-
if (r = n.S = w.document.createElementNS(j ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", !D && 2 & n.i ? "slot-fb" : n.O), j && n.O === "foreignObject" && (j = !1), ee(null, n, j), n.m) {
|
|
194
|
-
const u = n.O === "template" ? r.content : r;
|
|
195
|
-
for (l = 0; l < n.m.length; ++l) c = z(e, n, l), c && u.appendChild(c);
|
|
196
|
-
}
|
|
197
|
-
n.O === "svg" ? j = !1 : r.tagName === "foreignObject" && (j = !0);
|
|
198
|
-
}
|
|
199
|
-
return r["s-hn"] = T, 3 & n.i && (r["s-sr"] = !0, r["s-cr"] = X, r["s-sn"] = n.j || "", r["s-rf"] = (o = n.v) == null ? void 0 : o.ref, (function(u) {
|
|
200
|
-
if (u.assignedElements || u.assignedNodes || !u["s-sr"]) return;
|
|
201
|
-
const d = (a) => (function(f) {
|
|
202
|
-
const m = [], h = this["s-sn"];
|
|
203
|
-
f?.flatten && console.error(`
|
|
204
|
-
Flattening is not supported for Stencil non-shadow slots.
|
|
205
|
-
You can use \`.childNodes\` to nested slot fallback content.
|
|
206
|
-
If you have a particular use case, please open an issue on the Stencil repo.
|
|
207
|
-
`);
|
|
208
|
-
const b = this["s-cr"].parentElement;
|
|
209
|
-
return (b.__childNodes ? b.childNodes : ((S) => {
|
|
210
|
-
const g = [];
|
|
211
|
-
for (let y = 0; y < S.length; y++) {
|
|
212
|
-
const p = S[y]["s-nr"] || void 0;
|
|
213
|
-
p && p.isConnected && g.push(p);
|
|
214
|
-
}
|
|
215
|
-
return g;
|
|
216
|
-
})(b.childNodes)).forEach(((S) => {
|
|
217
|
-
h === U(S) && m.push(S);
|
|
218
|
-
})), a ? m.filter(((S) => S.nodeType === 1)) : m;
|
|
219
|
-
}).bind(u);
|
|
220
|
-
u.assignedElements = d(!0), u.assignedNodes = d(!1);
|
|
221
|
-
})(r), i = e && e.m && e.m[s], i && i.O === n.O && e.S && xe(e.S)), r;
|
|
222
|
-
}, xe = (e) => {
|
|
223
|
-
_.i |= 1;
|
|
224
|
-
const t = e.closest(T.toLowerCase());
|
|
225
|
-
if (t != null) {
|
|
226
|
-
const s = Array.from(t.__childNodes || t.childNodes).find(((n) => n["s-cr"])), o = Array.from(e.__childNodes || e.childNodes);
|
|
227
|
-
for (const n of s ? o.reverse() : o) n["s-sh"] != null && (E(t, n, s ?? null), n["s-sh"] = void 0, I = !0);
|
|
228
|
-
}
|
|
229
|
-
_.i &= -2;
|
|
230
|
-
}, Y = (e, t) => {
|
|
231
|
-
_.i |= 1;
|
|
232
|
-
const s = Array.from(e.__childNodes || e.childNodes);
|
|
233
|
-
if (e["s-sr"]) {
|
|
234
|
-
let o = e;
|
|
235
|
-
for (; o = o.nextSibling; ) o && o["s-sn"] === e["s-sn"] && o["s-sh"] === T && s.push(o);
|
|
236
|
-
}
|
|
237
|
-
for (let o = s.length - 1; o >= 0; o--) {
|
|
238
|
-
const n = s[o];
|
|
239
|
-
n["s-hn"] !== T && n["s-ol"] && (E(H(n).parentNode, n, H(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, I = !0), t && Y(n, t);
|
|
240
|
-
}
|
|
241
|
-
_.i &= -2;
|
|
242
|
-
}, ge = (e, t, s, o, n, r) => {
|
|
243
|
-
let c, i = e["s-cr"] && e["s-cr"].parentNode || e;
|
|
244
|
-
for (i.shadowRoot && i.tagName === T && (i = i.shadowRoot), s.O === "template" && (i = i.content); n <= r; ++n) o[n] && (c = z(null, s, n), c && (o[n].S = c, E(i, c, H(t))));
|
|
245
|
-
}, ve = (e, t, s) => {
|
|
246
|
-
for (let o = t; o <= s; ++o) {
|
|
247
|
-
const n = e[o];
|
|
248
|
-
if (n) {
|
|
249
|
-
const r = n.S;
|
|
250
|
-
Te(n), r && (q = !0, r["s-ol"] ? r["s-ol"].remove() : Y(r, !0), r.remove());
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}, V = (e, t, s = !1) => e.O === t.O && (e.O === "slot" ? e.j === t.j : s ? (s && !e.$ && t.$ && (e.$ = t.$), !0) : e.$ === t.$), H = (e) => e && e["s-ol"] || e, L = (e, t, s = !1) => {
|
|
254
|
-
const o = t.S = e.S, n = e.m, r = t.m, c = t.O, i = t.h;
|
|
255
|
-
let l;
|
|
256
|
-
i == null ? (j = c === "svg" || c !== "foreignObject" && j, c !== "slot" || D || e.j !== t.j && (t.S["s-sn"] = t.j || "", xe(t.S.parentElement)), ee(e, t, j), n !== null && r !== null ? ((u, d, a, f, m = !1) => {
|
|
257
|
-
let h, b, S = 0, g = 0, y = 0, p = 0, O = d.length - 1, v = d[0], N = d[O], k = f.length - 1, C = f[0], $ = f[k];
|
|
258
|
-
const ie = a.O === "template" ? u.content : u;
|
|
259
|
-
for (; S <= O && g <= k; ) if (v == null) v = d[++S];
|
|
260
|
-
else if (N == null) N = d[--O];
|
|
261
|
-
else if (C == null) C = f[++g];
|
|
262
|
-
else if ($ == null) $ = f[--k];
|
|
263
|
-
else if (V(v, C, m)) L(v, C, m), v = d[++S], C = f[++g];
|
|
264
|
-
else if (V(N, $, m)) L(N, $, m), N = d[--O], $ = f[--k];
|
|
265
|
-
else if (V(v, $, m)) v.O !== "slot" && $.O !== "slot" || Y(v.S.parentNode, !1), L(v, $, m), E(ie, v.S, N.S.nextSibling), v = d[++S], $ = f[--k];
|
|
266
|
-
else if (V(N, C, m)) v.O !== "slot" && $.O !== "slot" || Y(N.S.parentNode, !1), L(N, C, m), E(ie, N.S, v.S), N = d[--O], C = f[++g];
|
|
267
|
-
else {
|
|
268
|
-
for (y = -1, p = S; p <= O; ++p) if (d[p] && d[p].$ !== null && d[p].$ === C.$) {
|
|
269
|
-
y = p;
|
|
270
|
-
break;
|
|
271
|
-
}
|
|
272
|
-
y >= 0 ? (b = d[y], b.O !== C.O ? h = z(d && d[g], a, y) : (L(b, C, m), d[y] = void 0, h = b.S), C = f[++g]) : (h = z(d && d[g], a, g), C = f[++g]), h && E(H(v.S).parentNode, h, H(v.S));
|
|
273
|
-
}
|
|
274
|
-
S > O ? ge(u, f[k + 1] == null ? null : f[k + 1].S, a, f, g, k) : g > k && ve(d, S, O);
|
|
275
|
-
})(o, n, t, r, s) : r !== null ? (e.h !== null && (o.textContent = ""), ge(o, null, t, r, 0, r.length - 1)) : !s && n !== null && ve(n, 0, n.length - 1), j && c === "svg" && (j = !1)) : (l = o["s-cr"]) ? l.parentNode.textContent = i : e.h !== i && (o.data = i);
|
|
276
|
-
}, x = [], Re = (e) => {
|
|
277
|
-
let t, s, o;
|
|
278
|
-
const n = e.__childNodes || e.childNodes;
|
|
279
|
-
for (const r of n) {
|
|
280
|
-
if (r["s-sr"] && (t = r["s-cr"]) && t.parentNode) {
|
|
281
|
-
s = t.parentNode.__childNodes || t.parentNode.childNodes;
|
|
282
|
-
const c = r["s-sn"];
|
|
283
|
-
for (o = s.length - 1; o >= 0; o--) if (t = s[o], !(t["s-cn"] || t["s-nr"] || t["s-hn"] === r["s-hn"] || t["s-sh"] && t["s-sh"] === r["s-hn"])) if (fe(t, c)) {
|
|
284
|
-
let i = x.find(((l) => l.k === t));
|
|
285
|
-
q = !0, t["s-sn"] = t["s-sn"] || c, i ? (i.k["s-sh"] = r["s-hn"], i.N = r) : (t["s-sh"] = r["s-hn"], x.push({ N: r, k: t })), t["s-sr"] && x.map(((l) => {
|
|
286
|
-
fe(l.k, t["s-sn"]) && (i = x.find(((u) => u.k === t)), i && !l.N && (l.N = i.N));
|
|
287
|
-
}));
|
|
288
|
-
} else x.some(((i) => i.k === t)) || x.push({ k: t });
|
|
289
|
-
}
|
|
290
|
-
r.nodeType === 1 && Re(r);
|
|
291
|
-
}
|
|
292
|
-
}, Te = (e) => {
|
|
293
|
-
e.v && e.v.ref && te.push((() => e.v.ref(null))), e.m && e.m.map(Te);
|
|
294
|
-
}, Ie = (e, t) => {
|
|
295
|
-
oe.push((() => e(t)));
|
|
296
|
-
}, E = (e, t, s, o) => {
|
|
297
|
-
if (typeof t["s-sn"] == "string") {
|
|
298
|
-
e.insertBefore(t, s);
|
|
299
|
-
const { slotNode: n } = (function(r, c) {
|
|
300
|
-
var i;
|
|
301
|
-
if (!(c = c || ((i = r["s-ol"]) == null ? void 0 : i.parentElement))) return { slotNode: null, slotName: "" };
|
|
302
|
-
const l = r["s-sn"] = U(r) || "";
|
|
303
|
-
return { slotNode: le(Q(c, "childNodes"), c.tagName, l)[0], slotName: l };
|
|
304
|
-
})(t);
|
|
305
|
-
return n && !o && n.dispatchEvent(new CustomEvent("slotchange", { bubbles: !1, cancelable: !1, composed: !1 })), t;
|
|
306
|
-
}
|
|
307
|
-
return e.__insertBefore ? e.__insertBefore(t, s) : e?.insertBefore(t, s);
|
|
308
|
-
}, Le = (e, t, s = !1) => {
|
|
309
|
-
var o, n, r, c, i;
|
|
310
|
-
const l = e.$hostElement$, u = e.o, d = e.M || B(null, null);
|
|
311
|
-
var a;
|
|
312
|
-
const f = (a = t) && a.O === We ? t : je(null, null, t);
|
|
313
|
-
if (T = l.tagName, u.C && (f.v = f.v || {}, u.C.forEach((([m, h]) => {
|
|
314
|
-
f.v[h] = l[m];
|
|
315
|
-
}))), s && f.v) for (const m of Object.keys(f.v)) l.hasAttribute(m) && !["key", "ref", "style", "class"].includes(m) && (f.v[m] = l[m]);
|
|
316
|
-
if (f.O = null, f.i |= 4, e.M = f, f.S = d.S = l.shadowRoot || l, D = !(!(1 & u.i) || 128 & u.i), X = l["s-cr"], q = !1, L(d, f, s), _.i |= 1, I) {
|
|
317
|
-
Re(f.S);
|
|
318
|
-
for (const m of x) {
|
|
319
|
-
const h = m.k;
|
|
320
|
-
if (!h["s-ol"] && w.document) {
|
|
321
|
-
const b = w.document.createTextNode("");
|
|
322
|
-
b["s-nr"] = h, E(h.parentNode, h["s-ol"] = b, h, s);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
for (const m of x) {
|
|
326
|
-
const h = m.k, b = m.N;
|
|
327
|
-
if (h.nodeType === 1 && s && (h["s-ih"] = (o = h.hidden) != null && o), b) {
|
|
328
|
-
const S = b.parentNode;
|
|
329
|
-
let g = b.nextSibling;
|
|
330
|
-
if (g && g.nodeType === 1) {
|
|
331
|
-
let y = (n = h["s-ol"]) == null ? void 0 : n.previousSibling;
|
|
332
|
-
for (; y; ) {
|
|
333
|
-
let p = (r = y["s-nr"]) != null ? r : null;
|
|
334
|
-
if (p && p["s-sn"] === h["s-sn"] && S === (p.__parentNode || p.parentNode)) {
|
|
335
|
-
for (p = p.nextSibling; p === h || p?.["s-sr"]; ) p = p?.nextSibling;
|
|
336
|
-
if (!p || !p["s-nr"]) {
|
|
337
|
-
g = p;
|
|
338
|
-
break;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
y = y.previousSibling;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
if ((!g && S !== (h.__parentNode || h.parentNode) || (h.__nextSibling || h.nextSibling) !== g) && h !== g) {
|
|
345
|
-
if (E(S, h, g, s), h.nodeType === 8 && h.nodeValue.startsWith("s-nt-")) {
|
|
346
|
-
const y = w.document.createTextNode(h.nodeValue.replace(/^s-nt-/, ""));
|
|
347
|
-
y["s-hn"] = h["s-hn"], y["s-sn"] = h["s-sn"], y["s-sh"] = h["s-sh"], y["s-sr"] = h["s-sr"], y["s-ol"] = h["s-ol"], y["s-ol"]["s-nr"] = y, E(h.parentNode, y, h, s), h.parentNode.removeChild(h);
|
|
348
|
-
}
|
|
349
|
-
h.nodeType === 1 && h.tagName !== "SLOT-FB" && (h.hidden = (c = h["s-ih"]) != null && c);
|
|
350
|
-
}
|
|
351
|
-
h && typeof b["s-rf"] == "function" && b["s-rf"](b);
|
|
352
|
-
} else h.nodeType === 1 && (h.hidden = !0);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
if (q && _e(f.S), _.i &= -2, x.length = 0, !D && !(1 & u.i) && l["s-cr"]) {
|
|
356
|
-
const m = f.S.__childNodes || f.S.childNodes;
|
|
357
|
-
for (const h of m) if (h["s-hn"] !== T && !h["s-sh"]) {
|
|
358
|
-
if (s && h["s-ih"] == null && (h["s-ih"] = (i = h.hidden) != null && i), h.nodeType === 1) h.hidden = !0;
|
|
359
|
-
else if (h.nodeType === 3 && h.nodeValue.trim()) {
|
|
360
|
-
const b = w.document.createComment("s-nt-" + h.nodeValue);
|
|
361
|
-
b["s-sn"] = h["s-sn"], E(h.parentNode, b, h, s), h.parentNode.removeChild(h);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
X = void 0, te.forEach(((m) => m())), te.length = 0, oe.forEach(((m) => m())), oe.length = 0;
|
|
366
|
-
}, Pe = (e, t) => {
|
|
367
|
-
if (t && !e.A && t["s-p"]) {
|
|
368
|
-
const s = t["s-p"].push(new Promise(((o) => e.A = () => {
|
|
369
|
-
t["s-p"].splice(s - 1, 1), o();
|
|
370
|
-
})));
|
|
371
|
-
}
|
|
372
|
-
}, Z = (e, t) => {
|
|
373
|
-
if (e.i |= 16, 4 & e.i) return void (e.i |= 512);
|
|
374
|
-
Pe(e, e.R);
|
|
375
|
-
const s = () => Ze(e, t);
|
|
376
|
-
if (!t) return He(s);
|
|
377
|
-
queueMicrotask((() => {
|
|
378
|
-
s();
|
|
379
|
-
}));
|
|
380
|
-
}, Ze = (e, t) => {
|
|
381
|
-
const s = e.$hostElement$, o = s;
|
|
382
|
-
if (!o) throw new Error(`Can't render component <${s.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`);
|
|
383
|
-
let n;
|
|
384
|
-
return n = M(o, t ? "componentWillLoad" : "componentWillUpdate", void 0, s), n = Se(n, (() => M(o, "componentWillRender", void 0, s))), Se(n, (() => Je(e, o, t)));
|
|
385
|
-
}, Se = (e, t) => Ge(e) ? e.then(t).catch(((s) => {
|
|
386
|
-
console.error(s), t();
|
|
387
|
-
})) : t(), Ge = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, s) => {
|
|
388
|
-
var o;
|
|
389
|
-
const n = e.$hostElement$, r = n["s-rc"];
|
|
390
|
-
s && ((c) => {
|
|
391
|
-
const i = c.o, l = c.$hostElement$, u = i.i, d = ((a, f) => {
|
|
392
|
-
var m, h, b;
|
|
393
|
-
const S = ke(f), g = W.get(S);
|
|
394
|
-
if (!w.document) return S;
|
|
395
|
-
if (a = a.nodeType === 11 ? a : w.document, g) if (typeof g == "string") {
|
|
396
|
-
let y, p = R.get(a = a.head || a);
|
|
397
|
-
if (p || R.set(a, p = /* @__PURE__ */ new Set()), !p.has(S)) {
|
|
398
|
-
y = w.document.createElement("style"), y.textContent = g;
|
|
399
|
-
const O = (m = _._) != null ? m : (function() {
|
|
400
|
-
var v, N, k;
|
|
401
|
-
return (k = (N = (v = w.document.head) == null ? void 0 : v.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : N.getAttribute("content")) != null ? k : void 0;
|
|
402
|
-
})();
|
|
403
|
-
if (O != null && y.setAttribute("nonce", O), !(1 & f.i)) if (a.nodeName === "HEAD") {
|
|
404
|
-
const v = a.querySelectorAll("link[rel=preconnect]"), N = v.length > 0 ? v[v.length - 1].nextSibling : a.querySelector("style");
|
|
405
|
-
a.insertBefore(y, N?.parentNode === a ? N : null);
|
|
406
|
-
} else if ("host" in a) if (se) {
|
|
407
|
-
const v = new ((h = a.defaultView) != null ? h : a.ownerDocument.defaultView).CSSStyleSheet();
|
|
408
|
-
v.replaceSync(g), G ? a.adoptedStyleSheets.unshift(v) : a.adoptedStyleSheets = [v, ...a.adoptedStyleSheets];
|
|
409
|
-
} else {
|
|
410
|
-
const v = a.querySelector("style");
|
|
411
|
-
v ? v.textContent = g + v.textContent : a.prepend(y);
|
|
412
|
-
}
|
|
413
|
-
else a.append(y);
|
|
414
|
-
1 & f.i && a.insertBefore(y, null), 4 & f.i && (y.textContent += "slot-fb{display:contents}slot-fb[hidden]{display:none}"), p && p.add(S);
|
|
415
|
-
}
|
|
416
|
-
} else {
|
|
417
|
-
let y = R.get(a);
|
|
418
|
-
if (y || R.set(a, y = /* @__PURE__ */ new Set()), !y.has(S)) {
|
|
419
|
-
const p = (b = a.defaultView) != null ? b : a.ownerDocument.defaultView;
|
|
420
|
-
let O;
|
|
421
|
-
if (g.constructor === p.CSSStyleSheet) O = g;
|
|
422
|
-
else {
|
|
423
|
-
O = new p.CSSStyleSheet();
|
|
424
|
-
for (let v = 0; v < g.cssRules.length; v++) O.insertRule(g.cssRules[v].cssText, v);
|
|
425
|
-
}
|
|
426
|
-
G ? a.adoptedStyleSheets.push(O) : a.adoptedStyleSheets = [...a.adoptedStyleSheets, O], y.add(S);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
return S;
|
|
430
|
-
})(l.shadowRoot ? l.shadowRoot : l.getRootNode(), i);
|
|
431
|
-
10 & u && (l["s-sc"] = d, l.classList.add(d + "-h"));
|
|
432
|
-
})(e), Ke(e, t, n, s), r && (r.map(((c) => c())), n["s-rc"] = void 0);
|
|
433
|
-
{
|
|
434
|
-
const c = (o = n["s-p"]) != null ? o : [], i = () => Qe(e);
|
|
435
|
-
c.length === 0 ? i() : (Promise.all(c).then(i).catch(i), e.i |= 4, c.length = 0);
|
|
436
|
-
}
|
|
437
|
-
}, Ke = (e, t, s, o) => {
|
|
438
|
-
try {
|
|
439
|
-
t = t.render(), e.i &= -17, e.i |= 2, Le(e, t, o);
|
|
440
|
-
} catch (n) {
|
|
441
|
-
P(n, e.$hostElement$);
|
|
442
|
-
}
|
|
443
|
-
return null;
|
|
444
|
-
}, Qe = (e) => {
|
|
445
|
-
const t = e.$hostElement$, s = t, o = e.R;
|
|
446
|
-
M(s, "componentDidRender", void 0, t), 64 & e.i ? M(s, "componentDidUpdate", void 0, t) : (e.i |= 64, et(t), M(s, "componentDidLoad", void 0, t), e.L(t), o || Xe()), e.A && (e.A(), e.A = void 0), 512 & e.i && ne((() => Z(e, !1))), e.i &= -517;
|
|
447
|
-
}, rt = (e) => {
|
|
448
|
-
var t;
|
|
449
|
-
{
|
|
450
|
-
const s = A(e), o = (t = s?.$hostElement$) == null ? void 0 : t.isConnected;
|
|
451
|
-
return o && (18 & s.i) == 2 && Z(s, !1), o;
|
|
452
|
-
}
|
|
453
|
-
}, Xe = () => {
|
|
454
|
-
ne((() => $e(w, "appload", { detail: { namespace: "gids-core-web" } })));
|
|
455
|
-
}, M = (e, t, s, o) => {
|
|
456
|
-
if (e && e[t]) try {
|
|
457
|
-
return e[t](s);
|
|
458
|
-
} catch (n) {
|
|
459
|
-
P(n, o);
|
|
460
|
-
}
|
|
461
|
-
}, et = (e) => e.classList.add("hydrated"), be = (e, t, s, o) => {
|
|
462
|
-
const n = A(e);
|
|
463
|
-
if (!n) return;
|
|
464
|
-
const r = e, c = n.l.get(t), i = n.i, l = r;
|
|
465
|
-
s = Ee(s, o.t[t][0], !!(64 & o.i));
|
|
466
|
-
const u = Number.isNaN(c) && Number.isNaN(s);
|
|
467
|
-
if (s !== c && !u) {
|
|
468
|
-
if (n.l.set(t, s), o.F) {
|
|
469
|
-
const d = o.F[t];
|
|
470
|
-
d && d.map(((a) => {
|
|
471
|
-
try {
|
|
472
|
-
const [[f, m]] = Object.entries(a);
|
|
473
|
-
(128 & i || 1 & m) && (l ? l[f](s, c, t) : n.T.push((() => {
|
|
474
|
-
n.D[f](s, c, t);
|
|
475
|
-
})));
|
|
476
|
-
} catch (f) {
|
|
477
|
-
P(f, r);
|
|
478
|
-
}
|
|
479
|
-
}));
|
|
480
|
-
}
|
|
481
|
-
if (2 & i) {
|
|
482
|
-
if (l.componentShouldUpdate && l.componentShouldUpdate(s, c, t) === !1 && !(16 & i)) return;
|
|
483
|
-
16 & i || Z(n, !1);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}, tt = (e, t, s) => {
|
|
487
|
-
var o, n;
|
|
488
|
-
const r = e.prototype;
|
|
489
|
-
64 & t.i && 1 & s && Me.forEach(((c) => {
|
|
490
|
-
const i = r[c];
|
|
491
|
-
Object.defineProperty(r, c, { value(...l) {
|
|
492
|
-
var u;
|
|
493
|
-
const d = A(this), a = this;
|
|
494
|
-
a ? typeof i == "function" && i.call(a, ...l) : (u = d?.H) == null || u.then(((f) => {
|
|
495
|
-
const m = f[c];
|
|
496
|
-
typeof m == "function" && m.call(f, ...l);
|
|
497
|
-
}));
|
|
498
|
-
} });
|
|
499
|
-
}));
|
|
500
|
-
{
|
|
501
|
-
e.watchers && !t.F && (t.F = Ce(e.watchers)), e.deserializers && !t.P && (t.P = e.deserializers), e.serializers && !t.U && (t.U = e.serializers);
|
|
502
|
-
const c = Object.entries((o = t.t) != null ? o : {});
|
|
503
|
-
c.map((([i, [l]]) => {
|
|
504
|
-
if (31 & l || 32 & l) {
|
|
505
|
-
const { get: u, set: d } = we(r, i) || {};
|
|
506
|
-
u && (t.t[i][0] |= 2048), d && (t.t[i][0] |= 4096), Object.defineProperty(r, i, { get() {
|
|
507
|
-
return u ? u.apply(this) : (a = i, A(this).l.get(a));
|
|
508
|
-
var a;
|
|
509
|
-
}, configurable: !0, enumerable: !0 }), Object.defineProperty(r, i, { set(a) {
|
|
510
|
-
const f = A(this);
|
|
511
|
-
if (f) {
|
|
512
|
-
if (d) return (32 & l ? this[i] : f.$hostElement$[i]) === void 0 && f.l.get(i) && (a = f.l.get(i)), d.apply(this, [Ee(a, l, !!(64 & t.i))]), void be(this, i, a = 32 & l ? this[i] : f.$hostElement$[i], t);
|
|
513
|
-
be(this, i, a, t);
|
|
514
|
-
}
|
|
515
|
-
} });
|
|
516
|
-
}
|
|
517
|
-
}));
|
|
518
|
-
{
|
|
519
|
-
const i = /* @__PURE__ */ new Map();
|
|
520
|
-
r.attributeChangedCallback = function(l, u, d) {
|
|
521
|
-
_.jmp((() => {
|
|
522
|
-
var a;
|
|
523
|
-
const f = i.get(l), m = A(this);
|
|
524
|
-
if (this.hasOwnProperty(f), r.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == d) return;
|
|
525
|
-
if (f == null) {
|
|
526
|
-
const y = m?.i;
|
|
527
|
-
if (m && y && !(8 & y) && d !== u) {
|
|
528
|
-
const p = this, O = (a = t.F) == null ? void 0 : a[l];
|
|
529
|
-
O?.forEach(((v) => {
|
|
530
|
-
const [[N, k]] = Object.entries(v);
|
|
531
|
-
p[N] != null && (128 & y || 1 & k) && p[N].call(p, d, u, l);
|
|
532
|
-
}));
|
|
533
|
-
}
|
|
534
|
-
return;
|
|
535
|
-
}
|
|
536
|
-
const h = c.find((([y]) => y === f)), b = h && 4 & h[1][0], S = b && d === null && this[f] === void 0;
|
|
537
|
-
b && (d = d !== null && d !== "false");
|
|
538
|
-
const g = Object.getOwnPropertyDescriptor(r, f);
|
|
539
|
-
S || d == this[f] || g.get && !g.set || (this[f] = d);
|
|
540
|
-
}));
|
|
541
|
-
}, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([...Object.keys((n = t.F) != null ? n : {}), ...c.filter((([l, u]) => 31 & u[0])).map((([l, u]) => {
|
|
542
|
-
var d;
|
|
543
|
-
const a = u[1] || l;
|
|
544
|
-
return i.set(a, l), 512 & u[0] && ((d = t.C) == null || d.push([l, a])), a;
|
|
545
|
-
}))]));
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
return e;
|
|
549
|
-
}, it = (e, t) => {
|
|
550
|
-
const s = { i: t[0], p: t[1] };
|
|
551
|
-
try {
|
|
552
|
-
s.t = t[2], s.F = Ce(e.F), s.P = e.P, s.U = e.U, s.C = [];
|
|
553
|
-
const o = e.prototype.connectedCallback, n = e.prototype.disconnectedCallback;
|
|
554
|
-
return Object.assign(e.prototype, { __hasHostListenerAttached: !1, __registerHost() {
|
|
555
|
-
((r, c) => {
|
|
556
|
-
const i = { i: 0, $hostElement$: r, o: c, l: /* @__PURE__ */ new Map(), W: /* @__PURE__ */ new Map() };
|
|
557
|
-
i.H = new Promise(((u) => i.L = u)), r["s-p"] = [], r["s-rc"] = [];
|
|
558
|
-
const l = i;
|
|
559
|
-
r.__stencil__getHostRef = () => l, 512 & c.i && Fe(r, i);
|
|
560
|
-
})(this, s);
|
|
561
|
-
}, connectedCallback() {
|
|
562
|
-
if (!this.__hasHostListenerAttached) {
|
|
563
|
-
if (!A(this)) return;
|
|
564
|
-
this.__hasHostListenerAttached = !0;
|
|
565
|
-
}
|
|
566
|
-
((r) => {
|
|
567
|
-
if (!(1 & _.i)) {
|
|
568
|
-
const c = A(r);
|
|
569
|
-
if (!c) return;
|
|
570
|
-
const i = c.o;
|
|
571
|
-
if (1 & c.i) c?.D || c?.H && c.H.then((() => {
|
|
572
|
-
}));
|
|
573
|
-
else {
|
|
574
|
-
c.i |= 1, 12 & i.i && ((l) => {
|
|
575
|
-
if (!w.document) return;
|
|
576
|
-
const u = l["s-cr"] = w.document.createComment("");
|
|
577
|
-
u["s-cn"] = !0, E(l, u, l.firstChild);
|
|
578
|
-
})(r);
|
|
579
|
-
{
|
|
580
|
-
let l = r;
|
|
581
|
-
for (; l = l.parentNode || l.host; ) if (l["s-p"]) {
|
|
582
|
-
Pe(c, c.R = l);
|
|
583
|
-
break;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
i.t && Object.entries(i.t).map((([l, [u]]) => {
|
|
587
|
-
if (31 & u && Object.prototype.hasOwnProperty.call(r, l)) {
|
|
588
|
-
const d = r[l];
|
|
589
|
-
delete r[l], r[l] = d;
|
|
590
|
-
}
|
|
591
|
-
})), (async (l, u, d) => {
|
|
592
|
-
let a;
|
|
593
|
-
try {
|
|
594
|
-
if (!(32 & u.i) && (u.i |= 32, a = l.constructor, customElements.whenDefined(l.localName).then((() => u.i |= 128)), a && a.style)) {
|
|
595
|
-
let h;
|
|
596
|
-
typeof a.style == "string" && (h = a.style);
|
|
597
|
-
const b = ke(d);
|
|
598
|
-
W.has(b) || ((S, g, y) => {
|
|
599
|
-
let p = W.get(S);
|
|
600
|
-
se && y ? (p = p || new CSSStyleSheet(), typeof p == "string" ? p = g : p.replaceSync(g)) : p = g, W.set(S, p);
|
|
601
|
-
})(b, h, !!(1 & d.i));
|
|
602
|
-
}
|
|
603
|
-
const f = u.R, m = () => Z(u, !0);
|
|
604
|
-
f && f["s-rc"] ? f["s-rc"].push(m) : m();
|
|
605
|
-
} catch (f) {
|
|
606
|
-
P(f, l), u.A && (u.A(), u.A = void 0), u.L && u.L(l);
|
|
607
|
-
}
|
|
608
|
-
})(r, c, i);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
})(this), o && o.call(this);
|
|
612
|
-
}, disconnectedCallback() {
|
|
613
|
-
(async (r) => {
|
|
614
|
-
1 & _.i || A(r), R.has(r) && R.delete(r), r.shadowRoot && R.has(r.shadowRoot) && R.delete(r.shadowRoot);
|
|
615
|
-
})(this), n && n.call(this);
|
|
616
|
-
}, __attachShadow() {
|
|
617
|
-
if (this.shadowRoot) {
|
|
618
|
-
if (this.shadowRoot.mode !== "open") throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
|
|
619
|
-
} else Ue.call(this, s);
|
|
620
|
-
} }), Object.defineProperty(e, "is", { value: s.p, configurable: !0 }), tt(e, s, 3);
|
|
621
|
-
} catch (o) {
|
|
622
|
-
return P(o), e;
|
|
623
|
-
}
|
|
624
|
-
}, ct = (e, t) => t, at = (e) => _._ = e, ut = (e) => Object.assign(_, e), Ne = /* @__PURE__ */ new WeakMap();
|
|
625
|
-
function dt(e, t) {
|
|
626
|
-
let s = Ne.get(t);
|
|
627
|
-
s || (s = { i: 0, o: { i: 0, p: t.tagName }, $hostElement$: t }, Ne.set(t, s)), Le(s, e);
|
|
628
|
-
}
|
|
629
|
-
function ft(e) {
|
|
630
|
-
return e;
|
|
631
|
-
}
|
|
632
|
-
export {
|
|
633
|
-
at as F,
|
|
634
|
-
We as H,
|
|
635
|
-
ct as L,
|
|
636
|
-
rt as M,
|
|
637
|
-
nt as O,
|
|
638
|
-
ft as P,
|
|
639
|
-
je as T,
|
|
640
|
-
it as _,
|
|
641
|
-
dt as a,
|
|
642
|
-
ut as b,
|
|
643
|
-
st as j,
|
|
644
|
-
lt as q,
|
|
645
|
-
ot as u
|
|
646
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { T as a } from "./p-Ct3Ixgvf-CNP_PKwP.js";
|
|
2
|
-
import { l as h } from "./p-DKsrt7dx-ImYLc4xz.js";
|
|
3
|
-
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const v = ({ appearance: t, size: n, width: d, destructive: s, positive: o, loading: l }, i, e) => _("gids-button", {
|
|
5
|
-
"gids-button--primary": t === "primary",
|
|
6
|
-
"gids-button--subtle": t === "subtle",
|
|
7
|
-
"gids-button--xs": n === "xs",
|
|
8
|
-
"gids-button--sm": n === "sm",
|
|
9
|
-
// 'gids-button--md': size === 'md',
|
|
10
|
-
"gids-button--lg": n === "lg",
|
|
11
|
-
"gids-button--full-width": d === "full",
|
|
12
|
-
"gids-button--destructive": s && !o,
|
|
13
|
-
"gids-button--positive": o && !s,
|
|
14
|
-
"gids-button--icon-only": i,
|
|
15
|
-
"gids-button--loading": l
|
|
16
|
-
}, e), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17
|
-
__proto__: null,
|
|
18
|
-
getGidsButtonClassNames: v
|
|
19
|
-
}, Symbol.toStringTag, { value: "Module" })), b = (t) => t !== void 0 && (!Array.isArray(t) || t.length > 0), { getGidsButtonClassNames: I } = x, z = ({ appearance: t, size: n, destructive: d, positive: s, loading: o, width: l, leadingIcon: i, trailingIcon: e, as: c, disabled: p, class: m, forceIconOnly: y = !1, ...u }, g) => {
|
|
20
|
-
const r = c || "button", f = n === "lg" || n === void 0 ? "md" : n;
|
|
21
|
-
return r !== "button" || "type" in u || (u.type = "button"), a(r, { class: I({ appearance: t, size: n, destructive: d, loading: o, width: l, positive: s }, y || g.length === 0 && b(i) && !b(e), m), disabled: r === "button" ? p : void 0, ...u }, a("span", { class: "gids-button__content" }, i, g), o && a(h, { size: f, indeterminate: !0 }), e);
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
z as o
|
|
25
|
-
};
|