@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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { d as u } from "./p-
|
|
4
|
-
import { l as v } from "./p-
|
|
1
|
+
import { q as a, L as _, u as m, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { p as b } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { d as u } from "./p-qb1aWgjh-CzmMPIME.js";
|
|
4
|
+
import { l as v } from "./p-BYDimyG--DBCLrqDJ.js";
|
|
5
5
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const f = ({ breakpoint: e }, r) => x("gids-pie-chart", {
|
|
7
7
|
"gids-pie-chart--breakpoint-mobile": e === "mobile"
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { q as s, L as l, u as i, z as d, D as t, P as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
+
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
|
+
const a = l(class extends i {
|
|
5
|
+
constructor(e) {
|
|
6
|
+
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = d(this, "select"), this._toggle = this._toggle.bind(this);
|
|
7
|
+
}
|
|
8
|
+
handleSelctedChange(e) {
|
|
9
|
+
this.selected = e;
|
|
10
|
+
}
|
|
11
|
+
connectedCallback() {
|
|
12
|
+
const e = c();
|
|
13
|
+
e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
|
|
14
|
+
}
|
|
15
|
+
_toggle() {
|
|
16
|
+
const e = !this.selected;
|
|
17
|
+
this._el.selected = this.selected, this.select?.emit(e), this.selected = this.selected;
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return t(n, { key: "60cd33c1303b2f0d79c359f79f77c5e0b2055c73" }, t("style", { key: "5780343ecee89c7f6df46aebae53895784314a71" }, `:host {
|
|
21
|
+
display: ${this.width === "full" ? "block" : "inline-block"}
|
|
22
|
+
}`), t(o, { key: "03705a1d3fb0807af87d6e85083bf424c462f328", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "05e75b6a46032ddfe7448b81f5ac929105d20383" })));
|
|
23
|
+
}
|
|
24
|
+
_onlyHasLeadingIcon() {
|
|
25
|
+
const e = this._el.childNodes;
|
|
26
|
+
return e.length === 1 && e[0] instanceof window.Element && e[0].slot === "leadingIcon";
|
|
27
|
+
}
|
|
28
|
+
get _el() {
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
static get watchers() {
|
|
32
|
+
return { selected: [{ handleSelctedChange: 0 }] };
|
|
33
|
+
}
|
|
34
|
+
}, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [1540] }, void 0, { selected: [{ handleSelctedChange: 0 }] }]);
|
|
35
|
+
function h() {
|
|
36
|
+
typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
|
|
37
|
+
e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e), a));
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
40
|
+
h();
|
|
41
|
+
export {
|
|
42
|
+
a as l,
|
|
43
|
+
h as o
|
|
44
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u,
|
|
1
|
+
import { q as d, L as c, u as h, D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { m as u, x as m, N as Y } from "./p-D6lxqcxP-DWrZi1Xi.js";
|
|
3
3
|
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
|
|
5
5
|
const t = e.toString().trim();
|
|
@@ -24,19 +24,19 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
|
|
|
24
24
|
getGidsCalendarYearListClassNames: p,
|
|
25
25
|
getGidsCalendarYearListYears: I,
|
|
26
26
|
isValidFourDigitYear: g
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: w, isValidFourDigitYear: l } = S, E =
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: w, isValidFourDigitYear: l } = S, E = c(class extends h {
|
|
28
28
|
constructor(e) {
|
|
29
29
|
super(), e !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.newStartYear = (/* @__PURE__ */ new Date()).getFullYear(), this.newEndYear = (/* @__PURE__ */ new Date()).getFullYear() + 100, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (t) => {
|
|
30
|
-
const { title: s, value: a, selectedIndex: r, disabled:
|
|
31
|
-
|
|
30
|
+
const { title: s, value: a, selectedIndex: r, disabled: n, id: o } = t.detail;
|
|
31
|
+
n || typeof s != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
32
32
|
this.suppressNextMenuClickSelection = !1;
|
|
33
|
-
})), this.applySelection({ id:
|
|
33
|
+
})), this.applySelection({ id: o, year: Number(a), disabled: !1, selectedIndex: r, startYear: this.newStartYear, endYear: this.newEndYear }));
|
|
34
34
|
}, this.handleMenuClick = (t) => {
|
|
35
35
|
if (this.suppressNextMenuClickSelection) return;
|
|
36
36
|
const s = t?.detail;
|
|
37
37
|
this.applySelection({ id: s.id, year: Number(s.value), disabled: !1, selectedIndex: s.selectedIndex, startYear: this.newStartYear, endYear: this.newEndYear });
|
|
38
38
|
}, this.yearsList = () => w({ startYear: this.newStartYear, endYear: this.newEndYear }), this.getSelectedItem = () => {
|
|
39
|
-
const t = this.selectedYear, s = this.yearsList(), a = s.findIndex(((
|
|
39
|
+
const t = this.selectedYear, s = this.yearsList(), a = s.findIndex(((n) => n.value === t));
|
|
40
40
|
let r;
|
|
41
41
|
return a != null && a !== -1 && (r = s[a]), { foundItem: r, foundIndex: a };
|
|
42
42
|
}, this.isItemSelected = (t) => {
|
|
@@ -71,9 +71,9 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
const e = y();
|
|
74
|
-
return
|
|
74
|
+
return i("div", { key: "bfcd01860c33d9e76df2050ea70a1f3b2bfaf46c", class: e }, i(u, { key: "159e5afcf58334206f70bd5dde34d9d4aa8373f7", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "8ba8e9441574b35f00faad1ccf151cdd543dab90", sectionLabel: "Years" }, this.yearsList().map(((t, s) => {
|
|
75
75
|
const a = `${s + 1}`, r = this.disabledIndices?.includes(t.value);
|
|
76
|
-
return
|
|
76
|
+
return i(Y, { title: t.title, value: `${t.value}`, key: `${s.toString()}`, index: s, id: a, selected: this.isItemSelected(s), onPressDropdownItem: this.handleMenuClick, disabled: r, divider: this.divider, isPlaceholderItem: !1 });
|
|
77
77
|
})))));
|
|
78
78
|
}
|
|
79
79
|
get hostElement() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as h } from "./p-
|
|
1
|
+
import { q as l, L as n, u as r, D as a, P as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { d as h } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
3
|
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
4
|
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -53,10 +53,10 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
53
53
|
render() {
|
|
54
54
|
const t = this._hasStatusText(), e = this._controlValidationMessage !== void 0 ? this._controlValidationMessage : this._shouldRenderExplicitStatusText() ? this.statusText : void 0, s = this._getCurrentStatus(), i = ["gids-field__status-text"];
|
|
55
55
|
if (t) {
|
|
56
|
-
const
|
|
57
|
-
|
|
56
|
+
const o = this._getStatusModifierClass(s, "gids-field__status-text");
|
|
57
|
+
o != null && i.push(o);
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return a(d, { key: "55afcede8d0a565f98b1cdd20293c9f885997d6c" }, a("div", { key: "4c9ce99475a4c38e5b8c62b2bef588eb48fcec28", class: p() }, a("div", { key: "4c254203e9d4414e59c2564e86119280a7f89186", class: "gids-field__header", hidden: !this._hasLabelContent() }, a("slot", { key: "3f8c6df5ac4098e821490edf0699d002ee8ca430", ref: this._setLabelSlot, name: "label", onSlotchange: this._handleControlSlotChange }), a("div", { key: "c2da3ba663158c54514d959e98ad2861fc64bd57", class: "gids-field__count", "aria-live": "polite" }, this.count)), a("div", { key: "da5091c74fb3df1146b4eecb4d7ee6537a322f32", class: "gids-field__control" }, a("slot", { key: "bc49fb537279473305d616f900d5df696d9c2c3c", ref: this._setControlSlot, onSlotchange: this._handleControlSlotChange })), a("p", { key: "326849f878b531e4695368f1f112ce6d36c3ef4d", class: "gids-field__supporting-text", hidden: !this._shouldShowHelperText() }, this.helperText), t ? a("p", { class: i.join(" "), role: "status", "aria-live": "polite" }, this._renderStatusIcon(s), e !== void 0 ? a("span", null, e) : null) : null));
|
|
60
60
|
}
|
|
61
61
|
_hasLabelContent() {
|
|
62
62
|
return this._hasLabel;
|
|
@@ -79,8 +79,8 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
79
79
|
if (e === void 0) return;
|
|
80
80
|
const s = ["gids-field__status-icon"], i = this._getStatusModifierClass(t, "gids-field__status-icon");
|
|
81
81
|
i != null && s.push(i);
|
|
82
|
-
let
|
|
83
|
-
return t === "error" && (
|
|
82
|
+
let o = t;
|
|
83
|
+
return t === "error" && (o = "danger"), t === "success" && (o = "positive"), a(h, { appearance: "filled", size: "sm", alt: "", name: e, class: s.join(" "), style: { "--gidsIcon-color": `var(--gids-color-icon-${o})` } });
|
|
84
84
|
}
|
|
85
85
|
_getCurrentStatus() {
|
|
86
86
|
return this._isImplicitStatus() && this._controlValidationMessage != null ? "error" : this.status ?? "implicit";
|
|
@@ -120,7 +120,7 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
120
120
|
if (e && t.name != null) {
|
|
121
121
|
const s = e.elements.namedItem(t.name);
|
|
122
122
|
if (s instanceof RadioNodeList) {
|
|
123
|
-
const i = Array.from(s).filter(((
|
|
123
|
+
const i = Array.from(s).filter(((o) => o instanceof HTMLInputElement && o.type === "radio" && this._el.contains(o)));
|
|
124
124
|
if (i.length > 0) return i;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -141,8 +141,8 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
141
141
|
if (e.nodeType !== Node.ELEMENT_NODE) continue;
|
|
142
142
|
const s = e, i = this._asTextControl(s);
|
|
143
143
|
if (i !== null) return i;
|
|
144
|
-
const
|
|
145
|
-
if (
|
|
144
|
+
const o = s.querySelector("input, textarea");
|
|
145
|
+
if (o instanceof HTMLInputElement || o instanceof HTMLTextAreaElement) return o;
|
|
146
146
|
}
|
|
147
147
|
return null;
|
|
148
148
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const f = ({ size: e, indeterminate: t, value: n }, r) => x("gids-spinner-control", {
|
|
4
4
|
"gids-spinner-control--xs": e === "xs",
|
|
@@ -22,9 +22,9 @@ const f = ({ size: e, indeterminate: t, value: n }, r) => x("gids-spinner-contro
|
|
|
22
22
|
radius: u,
|
|
23
23
|
thickness: g,
|
|
24
24
|
viewBox: y
|
|
25
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerControlClassNames: S } = h, { calculateStrokeDasharray: b, thickness: d, radius: p, centerPosition: s, viewBox:
|
|
25
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerControlClassNames: S } = h, { calculateStrokeDasharray: b, thickness: d, radius: p, centerPosition: s, viewBox: D } = v, P = ({ size: e, indeterminate: t, value: n, max: r, ...i }) => {
|
|
26
26
|
let o;
|
|
27
|
-
return t || (o = { strokeDashArray: b(n, r || 0), strokeDashoffset: "0" }), l("svg", { class: S({ size: e, indeterminate: t, value: n }), viewBox:
|
|
27
|
+
return t || (o = { strokeDashArray: b(n, r || 0), strokeDashoffset: "0" }), l("svg", { class: S({ size: e, indeterminate: t, value: n }), viewBox: D, ...i }, l("circle", { class: "gids-spinner-control__track", cx: s, cy: s, r: p, "stroke-width": d }), l("circle", { style: o, class: "gids-spinner-control__progress", cx: s, cy: s, r: p, "stroke-width": d }));
|
|
28
28
|
};
|
|
29
29
|
export {
|
|
30
30
|
P as l
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const u = "No Data!", b = (e) => `There is no data series provided for ${e}. Check the data you have passed to draw ${e}.`, A = 100, C = 50, L = "Invalid Progress Value!", k = (e) => `The provided progress value is invalid or exceeds the maximum(${e}%) allowed capacity configuration bounds for this specific layout shape profile.`, m = "Invalid Chart Type!", v = (e) => `You have passed an invalid chart type. Valid chart types are ${e}. Pass one of these types.`, i = (e) => c("gids-button-dock", e), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as
|
|
3
|
-
import { d as
|
|
4
|
-
import { c as
|
|
5
|
-
const
|
|
1
|
+
import { q as r, L as l, u as h, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o as c } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
+
import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
+
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
6
6
|
"gids-dropdown-picker--expanded": e
|
|
7
|
-
}, t),
|
|
7
|
+
}, t), g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
|
-
getGidsDropdownPickerClassNames:
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames:
|
|
9
|
+
getGidsDropdownPickerClassNames: m
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames: f } = g, v = l(class extends h {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "sm", this.idPicker = "", this.expanded = !1, this.hasLeadingIcon = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.hasDocumentListeners = !1, this.handleDropdownPickerItemSelect = (t) => {
|
|
13
|
-
const { value: i, title:
|
|
13
|
+
const { value: i, title: s, disabled: o, id: a, isPlaceholderItem: d } = t.detail;
|
|
14
14
|
o || typeof i != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
15
15
|
this.suppressNextMenuClickSelection = !1;
|
|
16
|
-
})), this.applySelection({ id: a, value: i, title:
|
|
16
|
+
})), this.applySelection({ id: a, value: i, title: s, disabled: !1, originalEvent: t, isPlaceholderItem: d }));
|
|
17
17
|
}, this.handleMenuClick = (t) => {
|
|
18
18
|
if (this.suppressNextMenuClickSelection) return;
|
|
19
19
|
const i = t.target;
|
|
20
20
|
if (!(i instanceof Element)) return;
|
|
21
|
-
const
|
|
22
|
-
if (!
|
|
23
|
-
const o =
|
|
21
|
+
const s = i.closest(".gids-dropdown-item");
|
|
22
|
+
if (!s || !this.hostElement.contains(s) || s.hasAttribute("disabled") || s.getAttribute("aria-disabled") === "true") return;
|
|
23
|
+
const o = s instanceof HTMLButtonElement ? s.value : s.getAttribute("value") ?? "";
|
|
24
24
|
if (typeof o != "string" || o.length === 0) return;
|
|
25
|
-
const a =
|
|
26
|
-
typeof a
|
|
25
|
+
const a = s instanceof HTMLButtonElement ? s.id : s.getAttribute("id") ?? "";
|
|
26
|
+
if (typeof a != "string" || a.length === 0) return;
|
|
27
|
+
const d = s.getAttribute("is-placeholder-item") ?? "";
|
|
28
|
+
this.applySelection({ id: a, value: o, title: s.textContent?.trim() ?? "", disabled: !1, originalEvent: t, isPlaceholderItem: !(!d || d !== "true") });
|
|
27
29
|
}, this.handleTriggerToggle = (t) => {
|
|
28
30
|
this.isInteractive() && this.setExpandedState(!this.expanded, t);
|
|
29
31
|
}, this.handleDropdownButtonClickToggle = (t) => {
|
|
@@ -108,8 +110,8 @@ const u = ({ expanded: e }, t) => p("gids-dropdown-picker", {
|
|
|
108
110
|
if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
|
|
109
111
|
}
|
|
110
112
|
render() {
|
|
111
|
-
const e = this.expanded && this.isInteractive(), t =
|
|
112
|
-
return
|
|
113
|
+
const e = this.expanded && this.isInteractive(), t = f({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
|
|
114
|
+
return n("div", { key: "1ee449ed3c2d93b14e4b2df8d535bd30e580fb0f", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "e566f446f656a90c51ff25206d1b56918641904c", role: "pickerbox", "aria-expanded": e ? "true" : "false", "aria-haspopup": "pickerlistbox", "aria-controls": s ?? "", onClick: this.handleDropdownButtonClickToggle, disabled: this.disabled, value: this.selectedItemTitle ?? this.value ?? "", loading: this.loading, appearance: this.appearance, size: this.size }, this.hasLeadingIcon ? n("slot", { name: "leadingIconDropdownPicker", slot: "leadingIcon" }) : n(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" })), n("div", { key: "ff00f5d0f0ecd11fd67ba8748f983a0444400c50", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "ea983b061c69295bc6756a44617cc35267d6ce70" })));
|
|
113
115
|
}
|
|
114
116
|
get hostElement() {
|
|
115
117
|
return this;
|
|
@@ -121,13 +123,13 @@ const u = ({ expanded: e }, t) => p("gids-dropdown-picker", {
|
|
|
121
123
|
return ".gids-dropdown-picker{position:relative}.gids-dropdown-picker__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;align-self:stretch;min-width:var(--gids-width-2-xs);min-height:55px;max-height:15rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown-picker__menu>*{flex-shrink:0}.gids-dropdown-picker--expanded .gids-dropdown-picker__menu{display:flex}";
|
|
122
124
|
}
|
|
123
125
|
}, [260, "gids-dropdown-picker", { appearance: [1], size: [1], idPicker: [1, "id-picker"], expanded: [1540], disabled: [516], loading: [516], value: [513], name: [1], onSelectionChange: [16], selectedItemTitle: [32], hasLeadingIcon: [32] }, void 0, { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }] }]);
|
|
124
|
-
function
|
|
126
|
+
function E() {
|
|
125
127
|
typeof customElements < "u" && ["gids-dropdown-picker"].forEach(((e) => {
|
|
126
|
-
e === "gids-dropdown-picker" && (customElements.get(
|
|
128
|
+
e === "gids-dropdown-picker" && (customElements.get(r(e)) || customElements.define(r(e), v));
|
|
127
129
|
}));
|
|
128
130
|
}
|
|
129
|
-
|
|
131
|
+
E();
|
|
130
132
|
export {
|
|
131
|
-
|
|
132
|
-
v as
|
|
133
|
+
E as a,
|
|
134
|
+
v as h
|
|
133
135
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as m, e as f, d as v, H as x, F as b } from "./p-
|
|
3
|
-
import {
|
|
1
|
+
import { q as c, L as _, u as y, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { r as m, e as f, d as v, H as x, F as b } from "./p-CaauwQNd-D6_PbcRr.js";
|
|
3
|
+
import { p as u } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
4
4
|
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
const z = ({ breakpoint: s },
|
|
5
|
+
const z = ({ breakpoint: s }, t) => w("gids-progress-circle", {
|
|
6
6
|
"gids-progress-circle--breakpoint-mobile": s === "mobile"
|
|
7
|
-
},
|
|
7
|
+
}, t), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsProgressCircleClassNames: z
|
|
10
10
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsProgressCircleClassNames: L } = k, C = _(class extends y {
|
|
@@ -28,11 +28,11 @@ const z = ({ breakpoint: s }, r) => w("gids-progress-circle", {
|
|
|
28
28
|
if (this.chartLoading) return e("div", { class: "gids-progress-circle__no-data" }, e(u, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
|
|
29
29
|
const s = this.shape === "half-circle" ? x : b;
|
|
30
30
|
if (!(typeof this.value == "number" && !isNaN(this.value) && this.value <= s && this.value >= 0)) return e("div", { class: "gids-progress-circle__no-data" }, e(m, { title: f, supportingText: v(s) }));
|
|
31
|
-
const
|
|
32
|
-
let i = 2 * Math.PI * 40,
|
|
33
|
-
l && (i = 40 * Math.PI,
|
|
31
|
+
const t = this.value / s, h = `${this.value}%`, d = L({ breakpoint: this.breakpoint }), l = this.shape === "half-circle";
|
|
32
|
+
let i = 2 * Math.PI * 40, r = t * i, a = 0, g = "0 0 100 100", o = "rotate(-90 50 50)";
|
|
33
|
+
l && (i = 40 * Math.PI, r = t * i, a = 0, g = "0 0 100 50", o = "");
|
|
34
34
|
const p = this.size === "xxs", n = typeof this.label == "string" && this.label.trim() !== "";
|
|
35
|
-
return e("div", { class: d }, e("div", { class: "gids-progress-circle__main-container" }, e("div", { class: `gids-progress-circle__svg-wrapper gids-progress-circle__svg-wrapper--shape-${this.shape}--size-${this.size}` }, e("svg", { viewBox: g, class: "gids-progress-circle__chart-vector" }, l ? e("g", null, e("path", { d: "M 10,50 A 40,40 0 0,1 90,50", fill: "none", class: "gids-progress-circle__track-background" }), e("path", { d: "M 10,50 A 40,40 0 0,1 90,50", fill: "none", class: "gids-progress-circle__segment", "stroke-dasharray": `${
|
|
35
|
+
return e("div", { class: d }, e("div", { class: "gids-progress-circle__main-container" }, e("div", { class: `gids-progress-circle__svg-wrapper gids-progress-circle__svg-wrapper--shape-${this.shape}--size-${this.size}` }, e("svg", { viewBox: g, class: "gids-progress-circle__chart-vector" }, l ? e("g", null, e("path", { d: "M 10,50 A 40,40 0 0,1 90,50", fill: "none", class: "gids-progress-circle__track-background" }), e("path", { d: "M 10,50 A 40,40 0 0,1 90,50", fill: "none", class: "gids-progress-circle__segment", "stroke-dasharray": `${r} ${i}`, "stroke-dashoffset": a })) : e("g", null, e("circle", { cx: "50", cy: "50", r: 40, class: "gids-progress-circle__track-background" }), e("circle", { cx: "50", cy: "50", r: 40, class: "gids-progress-circle__segment", "stroke-dasharray": `${r} ${i}`, "stroke-dashoffset": a, transform: o }))), e("div", { class: `gids-progress-circle__center-content gids-progress-circle__shape-${this.shape}` }, n && !p ? e("span", { class: `gids-progress-circle__label-common gids-progress-circle__label-${this.size}` }, this.label) : null, e("span", { class: `gids-progress-circle__percentage-common gids-progress-circle__percentage-${this.size}` }, h))), p && n ? e("div", { class: "gids-progress-circle__bottom-content" }, e("span", { class: `gids-progress-circle__label-common gids-progress-circle__label-${this.size}` }, this.label)) : null));
|
|
36
36
|
}
|
|
37
37
|
get hostElement() {
|
|
38
38
|
return this;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { D as t, F as w } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { p as O } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { d as C } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
+
import { c as a } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const T = ({ orientation: e }, i) => a("gids-divider", {
|
|
6
|
+
"gids-divider--vertical": e === "vertical"
|
|
7
|
+
}, i), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
|
+
__proto__: null,
|
|
9
|
+
getGidsDividerClassNames: T
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), M = ({ layout: e }, i) => a("gids-button-group", {
|
|
11
|
+
"gids-button-group--scroll": e === "scroll"
|
|
12
|
+
}, i), D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
|
+
__proto__: null,
|
|
14
|
+
getGidsButtonGroupClassNames: M
|
|
15
|
+
}, Symbol.toStringTag, { value: "Module" })), B = (e) => a("gids-heading", e), E = (e) => e && e.toString() !== "" && e !== "(none)" ? `gids-typography-${e}` : "", A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16
|
+
__proto__: null,
|
|
17
|
+
getGidsHeadingClassNames: B,
|
|
18
|
+
getGidsHeadingSupportingTextTypographyClass: E
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" })), L = ({ size: e }, i) => a("gids-edit-button", {
|
|
20
|
+
"gids-edit-button--xs": e === "xs",
|
|
21
|
+
"gids-edit-button--sm": e === "sm",
|
|
22
|
+
// 'gids-button--md': size === 'md',
|
|
23
|
+
"gids-edit-button--lg": e === "lg"
|
|
24
|
+
}, i), $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
getGidsEditButtonClassNames: L
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" })), k = ({ disabled: e, selected: i }, n) => a("gids-list-item", {
|
|
28
|
+
// selected
|
|
29
|
+
"gids-list-item--selected": i,
|
|
30
|
+
// Disable
|
|
31
|
+
"gids-list-item--disabled": e
|
|
32
|
+
}, n), H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33
|
+
__proto__: null,
|
|
34
|
+
getGidsListItemClassNames: k
|
|
35
|
+
}, Symbol.toStringTag, { value: "Module" })), F = (e) => a("gids-dropdown-item", e), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
36
|
+
__proto__: null,
|
|
37
|
+
getGidsDropdownItemClassNames: F
|
|
38
|
+
}, Symbol.toStringTag, { value: "Module" })), J = (e) => a("gids-dropdown-menu", e), K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
39
|
+
__proto__: null,
|
|
40
|
+
getGidsDropdownMenuClassNames: J
|
|
41
|
+
}, Symbol.toStringTag, { value: "Module" })), Q = ({ type: e }, i) => a("gids-dropdown-menu-group", {
|
|
42
|
+
"gids-dropdown-menu-group--default": e === "default",
|
|
43
|
+
// by default so no need to have this class
|
|
44
|
+
"gids-dropdown-menu-group--no-options": e === "no-options",
|
|
45
|
+
"gids-dropdown-menu-group--loading": e === "loading"
|
|
46
|
+
}, i), R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47
|
+
__proto__: null,
|
|
48
|
+
getGidsDropdownMenuGroupClassNames: Q
|
|
49
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsButtonGroupClassNames: U } = D, V = ({ layout: e, class: i }, n) => t("span", { class: U({ layout: e }, i) }, n), { getGidsDropdownMenuGroupClassNames: W } = R, ue = ({ type: e = "no-options", supportingText: i = "No options", class: n, ...l }, s) => t("div", { class: W({ type: e }, n), ...l }, e === "loading" ? t(O, { indeterminate: !0, size: "md" }) : null, e === "no-options" ? t("span", null, i) : null, e === "default" && s != null ? s : null), { getGidsHeadingClassNames: X, getGidsHeadingSupportingTextTypographyClass: Y } = A, Z = ({ heading: e, supportingText: i, level: n = "section", children: l, supportingTextTypography: s, class: r }) => t("div", { class: X(r) }, t("div", { class: "gids-heading__content-container" }, e != null && e !== "" ? typeof e == "string" ? e !== "" ? t("span", { class: n === "section" ? "gids-heading__heading-text-section" : "gids-heading__heading-text-group" }, e) : null : e : null, i != null && i !== "" ? typeof i == "string" ? i !== "" ? t("span", { class: `${n === "section" ? "gids-heading__supporting-text-section" : "gids-heading__supporting-text-group"} ${Y(s)}` }, i) : null : i : null), l ? t(V, { layout: "wrap" }, l) : null), { getGidsDropdownMenuClassNames: ee } = K, pe = ({ sectionLabel: e, class: i, ...n }, l) => t("div", { class: ee(i), ...n }, e != null && e !== "" ? t(Z, { supportingText: e, supportingTextTypography: "eyebrow-medium" }) : null, l != null ? t("div", { class: "gids-dropdown-menu__children" }, l) : null), { getGidsEditButtonClassNames: te } = $, ie = ({ disabled: e, children: i, size: n = "md", editButtonType: l = "add", onPressEditButton: s, class: r, ...o }) => t("button", { class: te({ size: n }, r), ...o, onClick: s, disabled: e }, l === "custom" && i ? t("div", null, i) : l === "add" ? t("div", { class: e ? "gids-edit-button__add gids-edit-button__disabled" : "gids-edit-button__add" }, t(C, { name: "add", appearance: "filled", size: n })) : l === "remove" ? t("div", { class: e ? "gids-edit-button__remove gids-edit-button__disabled" : "gids-edit-button__remove" }, t(C, { appearance: "filled", name: "remove", size: n })) : void 0), { getGidsDividerClassNames: se } = z, ne = ({ orientation: e }) => t("hr", { class: se({ orientation: e }) }), { getGidsListItemClassNames: le } = H, de = ({ id: e, value: i, index: n, defaultSelected: l, disabled: s, selected: r, editButton: o, onPressEditButton: v, onPressListItem: x, leadingAccessory: b, leadingSupport: g, leadingParagraph: u, trailingContent: p, trailingAccessory: f, trailingSupport: m, trailingParagraph: _, divider: h, role: S = "list-item-option", isPlaceholderItem: G, class: N, ...j }, P) => {
|
|
50
|
+
const y = r || l;
|
|
51
|
+
return t("button", { type: "button", id: e, class: le({ selected: y, disabled: s }, N), role: S, "aria-selected": y ? "true" : "false", disabled: s, value: (() => {
|
|
52
|
+
if (typeof i == "string" && i.trim() !== "") return i;
|
|
53
|
+
const c = P;
|
|
54
|
+
return c ? (Array.isArray(c) ? c : [c]).map(((d) => typeof d == "string" || typeof d == "number" ? String(d) : d && typeof d == "object" && "text" in d ? d.text ?? "" : "")).join("").trim() : "";
|
|
55
|
+
})(), tabIndex: n, onClick: (c) => {
|
|
56
|
+
const d = c.currentTarget;
|
|
57
|
+
if (!d || c.defaultPrevented || d.disabled) return;
|
|
58
|
+
const I = new CustomEvent("onPressListItem", { bubbles: !0, composed: !0, detail: { selectedIndex: n, defaultSelected: l, isPlaceholderItem: G } });
|
|
59
|
+
x?.(I);
|
|
60
|
+
}, "is-placeholder-item": G ? "true" : "false", ...j }, t("div", { class: "gids-list-item__main-container" }, o == null || o === "none" || s ? null : t(ie, { size: "md", editButtonType: o, onPressEditButton: v }), b != null ? t("div", { class: s ? "gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled" : "gids-list-item__leading-accessory-container" }, b) : null, t("div", { class: "gids-list-item__middle-content-container" }, t("div", { class: "gids-list-item__leading-content-container" }, t(w, null, P != null ? t("span", { class: s ? "gids-list-item__leading-content-label gids-list-item__text-content-disabled" : "gids-list-item__leading-content-label" }, P) : null, t("div", { class: "gids-list-item__leading-support-content" }, g != null ? typeof g == "string" ? t("p", { class: s ? "gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled" : "gids-list-item__leading-content-supporting-text" }, g) : g : null, u != null ? typeof u == "string" ? t("p", { class: s ? "gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled" : "gids-list-item__leading-content-paragraph-text" }, u) : u : null))), t("div", { class: "gids-list-item__trailing-content-container" }, t(w, null, p != null ? typeof p == "string" ? t("span", { class: s ? "gids-list-item__trailing-content-label gids-list-item__text-content-disabled" : "gids-list-item__trailing-content-label" }, p) : p : null, t("div", { class: "gids-list-item__trailing-support-content" }, m != null ? typeof m == "string" ? t("p", { class: s ? "gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled" : "gids-list-item__trailing-content-supporting-text" }, m) : m : null, _ != null ? typeof _ == "string" ? t("p", { class: s ? "gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled" : "gids-list-item__trailing-content-paragraph-text" }, _) : _ : null)))), y ? t("div", { class: s ? "gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled" : "gids-list-item__trailing-accessory-container" }, t(C, { name: "checkmark", size: "md", appearance: "regular" })) : null, y || f == null ? null : t("div", { class: s ? "gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled" : "gids-list-item__trailing-accessory-container" }, f)), h && !y ? t("div", { class: "gids-list-item__divider" }, t(ne, { orientation: "horizontal" })) : null);
|
|
61
|
+
}, { getGidsDropdownItemClassNames: oe } = q, me = ({ id: e, title: i, class: n, selected: l = !1, disabled: s = !1, role: r = "list-item-option", value: o, name: v, onPressDropdownItem: x, index: b, defaultSelected: g, leadingAccessory: u, divider: p, isPlaceholderItem: f, ...m }) => {
|
|
62
|
+
const _ = oe(typeof n == "string" ? n : void 0);
|
|
63
|
+
return t(de, { id: e, index: b ?? 0, defaultSelected: g, selected: l, disabled: s, role: r, value: o, name: v, leadingAccessory: u, class: _, onPressListItem: (h) => {
|
|
64
|
+
if (h.defaultPrevented) return;
|
|
65
|
+
const S = new CustomEvent("onPressDropdownItem", { bubbles: !0, composed: !0, detail: { id: e, title: i, value: o, disabled: s, selectedIndex: b, defaultSelected: g, isPlaceholderItem: f } });
|
|
66
|
+
x?.(S);
|
|
67
|
+
}, divider: p, isPlaceholderItem: f, ...m }, i);
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
me as N,
|
|
71
|
+
ue as m,
|
|
72
|
+
V as p,
|
|
73
|
+
pe as x
|
|
74
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as m } from "./p-
|
|
1
|
+
import { D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { l as m } from "./p-CHGTBObD-EN4cCwtX.js";
|
|
3
3
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const d = ({ size: e }, t) => c("gids-spinner", {
|
|
5
5
|
"gids-spinner--xs": e === "xs",
|
|
@@ -25,5 +25,5 @@ const d = ({ size: e }, t) => c("gids-spinner", {
|
|
|
25
25
|
return n("span", { class: _({ size: s }, o), ...p }, n(m, { size: s, indeterminate: i, value: r, max: l }), a && n("span", { class: "gids-spinner__label" }, e), g && n("span", { class: "gids-spinner__supporting-text" }, t));
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
28
|
-
h as
|
|
28
|
+
h as p
|
|
29
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as h, e as _, d as v, F as y } from "./p-
|
|
3
|
-
import {
|
|
1
|
+
import { q as g, L as p, u as d, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { r as h, e as _, d as v, F as y } from "./p-CaauwQNd-D6_PbcRr.js";
|
|
3
|
+
import { p as m } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
4
4
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const f = ({ breakpoint: a }, t) => c("gids-level-gauge", {
|
|
6
6
|
"gids-level-gauge--breakpoint-mobile": a === "mobile"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const m = ({ disabled: e }, t) => f("gids-label", { "gids-label--disabled": e }, t), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
@@ -16,9 +16,9 @@ const m = ({ disabled: e }, t) => f("gids-label", { "gids-label--disabled": e },
|
|
|
16
16
|
__proto__: null,
|
|
17
17
|
getIndicatorText: L,
|
|
18
18
|
isSentence: d
|
|
19
|
-
}, Symbol.toStringTag, { value: "Module" })), { getIndicatorText: j } = S, { getGidsLabelClassNames: v } = _, O = ({ disabled: e, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, info: o, htmlFor: s, labelId: u, class: g, isLabelSentence:
|
|
20
|
-
const a = j({ children: l, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, isLabelSentence:
|
|
21
|
-
return i("div", { class: v({ disabled: e }, g), ...
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" })), { getIndicatorText: j } = S, { getGidsLabelClassNames: v } = _, O = ({ disabled: e, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, info: o, htmlFor: s, labelId: u, class: g, isLabelSentence: p, ...b }, l) => {
|
|
20
|
+
const a = j({ children: l, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, isLabelSentence: p });
|
|
21
|
+
return i("div", { class: v({ disabled: e }, g), ...b }, i("label", { htmlFor: s, id: u }, l, a && i("span", { class: "gids-label__field-requirement" }, a)), o);
|
|
22
22
|
};
|
|
23
23
|
export {
|
|
24
24
|
O as a
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as h } from "./p-
|
|
3
|
-
import { d as c } from "./p-
|
|
4
|
-
import {
|
|
5
|
-
import { u as b } from "./p-
|
|
6
|
-
import {
|
|
7
|
-
import { c as
|
|
8
|
-
const
|
|
1
|
+
import { q as l, L as o, u as p, D as r } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o as h } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
+
import { d as c } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
+
import { c as u } from "./p-B1Jgtjhu-B_VYp-ZP.js";
|
|
5
|
+
import { u as b } from "./p-C-cUL-aA-2jsvw-Lr.js";
|
|
6
|
+
import { a as m } from "./p-Ciw-O9qN-DkWfirFu.js";
|
|
7
|
+
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
8
|
+
const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
|
|
9
9
|
const t = new Date(2e3, e - 1, 1);
|
|
10
10
|
return new Intl.DateTimeFormat(a, { month: "long" }).format(t);
|
|
11
11
|
}, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
12
|
__proto__: null,
|
|
13
|
-
getCalendarMonthNameViaMonthNumber:
|
|
14
|
-
getGidsCalendarHeaderPanelClassNames:
|
|
13
|
+
getCalendarMonthNameViaMonthNumber: f,
|
|
14
|
+
getGidsCalendarHeaderPanelClassNames: g
|
|
15
15
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16
16
|
function d(e) {
|
|
17
17
|
var a, t, n = "";
|
|
@@ -143,7 +143,7 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
145
|
const e = v(), a = this.expandedMonthPicker && this.isMonthPickerInteractive() && !this.expandedYearPicker, t = this.expandedYearPicker && this.isYearPickerInteractive() && !this.expandedMonthPicker, n = this.internalPreviousDisabled || this.previousDisabled, i = this.internalNextDisabled || this.nextDisabled;
|
|
146
|
-
return r("div", { key: "
|
|
146
|
+
return r("div", { key: "4e86a7c844e70c90e05e2a1ddd5ad51e68fc5bb0", class: e }, r(h, { key: "d50159e90799c9e9b8069d507c35804e2fd9b548", leadingIcon: r(c, { name: "arrow-left", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handlePreviousActionClick, disabled: n }), r("div", { key: "2dd55f8c20c09562ce9102378893dd7b2b4932d3", class: "gids-calendar-header-panel__main-container" }, r("gids-dropdown-picker", { key: "f8249e38d451bb29a22e8a267691ed36353e4ca1", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, r("gids-calendar-month-list", { key: "f1a39772965a30147741d4dd7cad7bbfaa646164", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), r("span", { key: "0b134f7c394a01ec8f37fb310e2fa2640dfcb0ed", class: y("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), r("gids-dropdown-picker", { key: "89947df44ab95f08ede5fc3f2a47e8659d507b52", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, r("gids-calendar-year-list", { key: "2b240db8514dc0c4257bea698f614981674a33f6", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), r(h, { key: "b087f4fc376b6b2a0e0a2d52178f70d462ab97bb", leadingIcon: r(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: i }));
|
|
147
147
|
}
|
|
148
148
|
get hostElement() {
|
|
149
149
|
return this;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { d as w } from "./p-
|
|
4
|
-
import { l as k } from "./p-
|
|
1
|
+
import { q as d, L as f, u as v, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { p as u } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { d as w } from "./p-qb1aWgjh-CzmMPIME.js";
|
|
4
|
+
import { l as k } from "./p-BYDimyG--DBCLrqDJ.js";
|
|
5
5
|
import { c as z } from "./clsx-OuTLNxxd.js";
|
|
6
|
-
const
|
|
6
|
+
const L = ({ breakpoint: a }, s) => z("gids-line-chart", {
|
|
7
7
|
"gids-line-chart--breakpoint-mobile": a === "mobile"
|
|
8
|
-
}, s),
|
|
8
|
+
}, s), A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
9
|
__proto__: null,
|
|
10
|
-
getGidsLineChartClassNames:
|
|
11
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsLineChartClassNames:
|
|
10
|
+
getGidsLineChartClassNames: L
|
|
11
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsLineChartClassNames: D } = A, C = f(class extends v {
|
|
12
12
|
constructor(a) {
|
|
13
13
|
super(), a !== !1 && this.__registerHost(), this.breakpoint = "desktop", this.legend = "none", this.chartData = [], this.yAxisVisible = !1, this.dataPoints = [], this.chartLoaderSize = "lg", this.chartLoading = !1, this.width = 0, this.height = 0;
|
|
14
14
|
}
|
|
@@ -46,7 +46,7 @@ const A = ({ breakpoint: a }, s) => z("gids-line-chart", {
|
|
|
46
46
|
const i = c / 4;
|
|
47
47
|
for (let r = 0; r < 5; r++) n.push(Math.round(0 + r * i));
|
|
48
48
|
}
|
|
49
|
-
const g = Math.max(...n, c) - 0 || 1, p = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], b = p.length, y =
|
|
49
|
+
const g = Math.max(...n, c) - 0 || 1, p = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], b = p.length, y = D({ breakpoint: this.breakpoint });
|
|
50
50
|
let h = !1, _ = !1;
|
|
51
51
|
return this.breakpoint === "mobile" ? this.legend !== "none" && (h = !0) : this.legend === "top" ? h = !0 : this.legend === "right" && (_ = !0), e("div", { class: y }, h ? e("div", { class: "gids-line-chart__header" }, e("gids-chart-legend", { orientation: "horizontal" }, this.chartData.map(((t, i) => e("gids-chart-legend-item", { key: t.label, seriesType: `${i + 1}`, orientation: "horizontal" }, t.label))))) : null, e("div", { class: "gids-line-chart__main-container" }, e("div", { class: "gids-line-chart__grid-layout" }, e("span", { class: "gids-line-chart__y-axis-label" }, this.yAxisLabel), e("div", { class: "gids-line-chart__chart-stage-container" }, this.yAxisVisible ? e("div", { class: "gids-line-chart__y-axis-scale-container" }, n.map(((t) => e("span", { class: "gids-line-chart__scale-text gids-line-chart__y-axis-scale-value", key: t, style: { bottom: (t - 0) / g * 100 + "%" } }, t)))) : null, e("div", { class: "gids-line-chart__chart-stage" }, e("svg", { viewBox: "0 0 100 100", class: "gids-line-chart__chart-vector", preserveAspectRatio: "none" }, e("defs", null, this.chartData.map(((t, i) => e("linearGradient", { id: `areaGradient-${i}`, x1: "0", y1: "0", x2: "0", y2: "1", key: i }, e("stop", { offset: "0%", class: `gids-line-chart__gradient-start-${i}` }), e("stop", { offset: "100%", class: `gids-line-chart__gradient-end-${i}` }))))), n.map(((t) => {
|
|
52
52
|
const i = 100 - (t - 0) / g * 100;
|
|
@@ -67,11 +67,11 @@ const A = ({ breakpoint: a }, s) => z("gids-line-chart", {
|
|
|
67
67
|
return ":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-line-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-line-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-line-chart__main-container{display:flex;gap:var(--gids-gap-200)}.gids-line-chart__header{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-line-chart__grid-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:minmax(180px, 280px) auto auto;flex:1;width:100%;height:100%;box-sizing:border-box}.gids-line-chart__y-axis-label{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;margin-right:var(--gids-padding-horizontal-edge-to-element-150);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}.gids-line-chart__chart-stage-container{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;padding-left:var(--gids-container-padding-desktop);box-sizing:border-box}.gids-line-chart__y-axis-scale-container{position:absolute;top:0;bottom:0;left:0;width:calc(var(--gids-container-padding-desktop) - var(--gids-padding-horizontal-edge-to-element-100));pointer-events:none}.gids-line-chart__y-axis-scale-value{position:absolute;right:0;transform:translateY(50%)}.gids-line-chart__chart-stage{position:relative;width:100%;height:100%;border-bottom:var(--gids-border-width-thin) solid var(--gids-color-border-default);box-sizing:border-box}.gids-line-chart__chart-vector{display:block;width:100%;height:100%;overflow:visible}.gids-line-chart__grid-line{stroke:var(--gids-color-border-default);stroke-width:0.5;fill:none}.gids-line-chart__chart-area{stroke:none}.gids-line-chart__chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.gids-line-chart__chart-line.gids-line-chart__series-line-1{stroke:var(--gids-color-icon-subtle)}.gids-line-chart__chart-line.gids-line-chart__series-line-2{stroke:var(--gids-color-icon-warning)}.gids-line-chart__chart-line.gids-line-chart__series-line-3{stroke:var(--gids-color-icon-danger)}.gids-line-chart__gradient-start-0{stop-color:rgba(127, 86, 217, 0.09);stop-opacity:1}.gids-line-chart__gradient-end-0{stop-color:rgba(127, 86, 217, 0.09);stop-opacity:0}.gids-line-chart__gradient-start-1{stop-color:rgba(127, 86, 217, 0.1);stop-opacity:1}.gids-line-chart__gradient-end-1{stop-color:rgba(127, 86, 217, 0.1);stop-opacity:0}.gids-line-chart__gradient-start-2{stop-color:rgba(127, 86, 217, 0.12);stop-opacity:1}.gids-line-chart__gradient-end-2{stop-color:rgba(127, 86, 217, 0.12);stop-opacity:0}.gids-line-chart__x-axis-scale-container{display:flex;grid-column:2;grid-row:2;justify-content:space-between;align-items:center;padding-left:var(--gids-container-padding-desktop);padding-top:var(--gids-padding-vertical-edge-to-element-100);box-sizing:border-box}.gids-line-chart__x-axis-label{grid-column:2;grid-row:3;display:flex;justify-content:center;align-items:center;padding-top:var(--gids-padding-vertical-edge-to-element-100);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);white-space:nowrap}.gids-line-chart__scale-text{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);user-select:none;white-space:nowrap}.gids-line-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}";
|
|
68
68
|
}
|
|
69
69
|
}, [0, "gids-line-chart", { breakpoint: [1], legend: [1], chartData: [16], yAxisVisible: [4, "y-axis-visible"], xAxisLabel: [1, "x-axis-label"], yAxisLabel: [1, "y-axis-label"], dataPoints: [16], chartLoaderSize: [1, "chart-loader-size"], chartLoading: [4, "chart-loading"], chartLoadingTitle: [1, "chart-loading-title"], chartLoadingSupportingText: [1, "chart-loading-supporting-text"], width: [32], height: [32] }, void 0, { chartData: [{ chartDataChanged: 0 }], dataPoints: [{ dataPointsChanged: 0 }], legend: [{ legendChanged: 0 }], yAxisVisible: [{ yAxisVisibilityChanged: 0 }] }]);
|
|
70
|
-
function
|
|
70
|
+
function $() {
|
|
71
71
|
typeof customElements < "u" && ["gids-line-chart", "gids-chart-legend", "gids-chart-legend-item"].forEach(((a) => {
|
|
72
72
|
switch (a) {
|
|
73
73
|
case "gids-line-chart":
|
|
74
|
-
customElements.get(d(a)) || customElements.define(d(a),
|
|
74
|
+
customElements.get(d(a)) || customElements.define(d(a), C);
|
|
75
75
|
break;
|
|
76
76
|
case "gids-chart-legend":
|
|
77
77
|
customElements.get(d(a)) || w();
|
|
@@ -81,8 +81,8 @@ function P() {
|
|
|
81
81
|
}
|
|
82
82
|
}));
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
$();
|
|
85
85
|
export {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
C as d,
|
|
87
|
+
$ as g
|
|
88
88
|
};
|