@ganpatiinfo/gids-core-web 10.0.0 → 10.1.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 +59 -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-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-DfFqFdmS.js → p-BQ-ZnlnH.js} +1 -1
- package/dist/{p-9_mrQ7ac.js → p-BZCJlqVe.js} +1 -1
- package/dist/p-Bf3p-DY2.js +1 -0
- package/dist/{p-CIP0xyhD.js → p-BpQB6ncp.js} +1 -1
- package/dist/p-CHGTBObD.js +1 -0
- package/dist/{p-CPSHPtGE.js → p-CP1wz2PI.js} +1 -1
- package/dist/{p-D93TNeOt.js → p-CQH7eAs3.js} +1 -1
- package/dist/{p-CJzporPT.js → p-CW7tw1Fb.js} +1 -1
- package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
- package/dist/p-Cn3-K5eR.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-BvYnawkJ.js → p-DNTv2BQ5.js} +1 -1
- package/dist/{p-tyIgTtUC.js → p-DPIK2ayL.js} +1 -1
- package/dist/{p-BiPAgxAQ.js → p-Db62Pz3n.js} +1 -1
- package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
- package/dist/{p-h6alWGT8.js → p-DfxTsSdZ.js} +1 -1
- package/dist/p-Dg2yoUxw.js +1 -0
- package/dist/p-DmLoB2Dn.js +1 -0
- package/dist/p-DoCwI_bx.js +1 -0
- package/dist/p-H1JIMJ2t.js +1 -0
- package/dist/p-JjN8U9B5.js +1 -0
- package/dist/p-UVmSPzTd.js +1 -0
- package/dist/p-UxDcM-C5.js +1 -0
- package/dist/{p-Bmb-HiXg.js → p-V48JyMbP.js} +1 -1
- package/dist/{p-B81J5HCC.js → p-mZJdpfOo.js} +1 -1
- 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/GidsToggleButton/GidsToggleButton.d.ts +5 -3
- package/dist/types/components.d.ts +260 -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 +3 -3
- 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 +4 -4
- package/dist-bundled/es/gids-calendar.js +22 -22
- package/dist-bundled/es/gids-chart-legend-item.js +4 -4
- 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 +10 -10
- package/dist-bundled/es/gids-dot.js +3 -3
- package/dist-bundled/es/gids-dropdown-field.js +8 -8
- package/dist-bundled/es/gids-dropdown-picker.js +1 -1
- 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 +1 -1
- package/dist-bundled/es/gids-level-gauge.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-notification.js +1 -1
- package/dist-bundled/es/gids-overflow-container.js +2 -2
- package/dist-bundled/es/gids-overlay-provider.js +12 -12
- package/dist-bundled/es/gids-password-field.js +36 -36
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- 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 +2 -2
- package/dist-bundled/es/gids-snackbar.js +1 -1
- package/dist-bundled/es/gids-text-field.js +12 -12
- package/dist-bundled/es/gids-toggle-button.js +4 -44
- package/dist-bundled/es/gids-tooltip.js +5 -5
- package/dist-bundled/es/index.js +3 -3
- package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-BQ-ZnlnH-CUVdDHzX.js} +6 -6
- package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-BZCJlqVe-BcSwze-q.js} +6 -6
- package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
- package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-BpQB6ncp-C2AWddf-.js} +11 -11
- package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
- package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-CP1wz2PI-DhVAsHFS.js} +4 -4
- package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-CQH7eAs3-BVowyVGn.js} +14 -14
- package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-CW7tw1Fb-DtJ5TwCU.js} +18 -18
- package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
- package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-Cn3-K5eR-tQ1EOnDF.js} +22 -20
- 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-BvYnawkJ-DohV9UNG.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
- package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-DPIK2ayL-DPEbctqo.js} +4 -4
- package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-Db62Pz3n-DpQjwBYb.js} +5 -5
- package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
- package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-DfxTsSdZ-C2Afv1lS.js} +8 -8
- package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
- package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
- package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-DoCwI_bx-BXHlZI7-.js} +7 -7
- package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
- package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-JjN8U9B5-GeWjfJBY.js} +23 -21
- package/dist-bundled/es/{p-KxRqlvSh-JOFDmT0B.js → p-UVmSPzTd-DiTxS9kW.js} +8 -8
- package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
- package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-V48JyMbP-Bx-0od-Z.js} +12 -12
- package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-mZJdpfOo-DicbKil0.js} +7 -7
- 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-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 +20 -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-MgTlrSP_-DifRVv94.js +0 -70
|
@@ -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-DiTxS9kW.js";
|
|
3
|
+
import { d as c } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
+
import { c as u } from "./p-V48JyMbP-Bx-0od-Z.js";
|
|
5
|
+
import { u as b } from "./p-CW7tw1Fb-DtJ5TwCU.js";
|
|
6
|
+
import { h as m } from "./p-JjN8U9B5-GeWjfJBY.js";
|
|
7
|
+
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
8
|
+
const f = (e) => k("gids-calendar-header-panel", e), g = (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
13
|
getCalendarMonthNameViaMonthNumber: g,
|
|
14
|
-
getGidsCalendarHeaderPanelClassNames:
|
|
14
|
+
getGidsCalendarHeaderPanelClassNames: f
|
|
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: "465c3b150920df42f6a9d190f14ad6bc809c0e6a", class: e }, r(h, { key: "45e5d278d5bd65137c2370876de0b436051b3528", 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: "2f06fecf2a5867e1e5e6fc47cd23233b4986e92b", class: "gids-calendar-header-panel__main-container" }, r("gids-dropdown-picker", { key: "a6ae7c21488af8889ad699726f85bfff8dd368bc", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, r("gids-calendar-month-list", { key: "fe3fe13b098d9fa83c25bb13fe7842bd0cd1b908", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), r("span", { key: "eb58738544b7ca0d2880b181d892cfd5f05d2c4f", class: y("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), r("gids-dropdown-picker", { key: "312f4cbf867709075b94c90e22421314b8999fce", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, r("gids-calendar-year-list", { key: "2a66a9cd7a4cea5c819b7fdabde227b6019f3a25", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), r(h, { key: "681dbcb21ce0fa989d61a2a03872fc6eeed6afd8", 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;
|
|
@@ -175,6 +175,6 @@ function Y() {
|
|
|
175
175
|
Y();
|
|
176
176
|
export {
|
|
177
177
|
Y as g,
|
|
178
|
-
P as
|
|
178
|
+
P as r,
|
|
179
179
|
M as u
|
|
180
180
|
};
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { q as x, L as C, u as D, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { p as $ } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { o as L } from "./p-DoCwI_bx-BXHlZI7-.js";
|
|
4
|
+
import { d as E } from "./p-mZJdpfOo-DicbKil0.js";
|
|
5
5
|
import { c as P } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const M = ({ breakpoint: a }, o) => P("gids-bar-chart", {
|
|
7
7
|
"gids-bar-chart--breakpoint-mobile": a === "mobile"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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 { o as w } from "./p-DoCwI_bx-BXHlZI7-.js";
|
|
4
|
+
import { d as k } from "./p-mZJdpfOo-DicbKil0.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
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u,
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
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
|
+
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
5
5
|
const t = e.toString().trim();
|
|
6
6
|
if (!/^\d{4}$/.test(t))
|
|
7
7
|
return !1;
|
|
@@ -21,22 +21,22 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
|
|
|
21
21
|
return s;
|
|
22
22
|
}, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23
23
|
__proto__: null,
|
|
24
|
-
getGidsCalendarYearListClassNames:
|
|
24
|
+
getGidsCalendarYearListClassNames: f,
|
|
25
25
|
getGidsCalendarYearListYears: I,
|
|
26
26
|
isValidFourDigitYear: g
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears:
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: b, isValidFourDigitYear: l } = S, w = 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
|
-
}, this.yearsList = () =>
|
|
39
|
-
const t = this.selectedYear, s = this.yearsList(), a = s.findIndex(((
|
|
38
|
+
}, this.yearsList = () => b({ startYear: this.newStartYear, endYear: this.newEndYear }), this.getSelectedItem = () => {
|
|
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,22 +71,22 @@ 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: "6f7e9060d5bae75255f0c82d6e39c59350e115db", class: e }, i(u, { key: "6d8c2cf5f688ed922abb21d2243c8101ea3a2e45", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "f832e544140b66b74c64e306eb23f7c42a2db960", 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() {
|
|
80
80
|
return this;
|
|
81
81
|
}
|
|
82
82
|
}, [0, "gids-calendar-year-list", { type: [1], noOptionsText: [1, "no-options-text"], disabledIndices: [16], divider: [4], selectedYear: [2, "selected-year"], startYear: [2, "start-year"], endYear: [2, "end-year"], onSelectionYearChange: [16], newStartYear: [32], newEndYear: [32] }]);
|
|
83
|
-
function
|
|
83
|
+
function E() {
|
|
84
84
|
typeof customElements < "u" && ["gids-calendar-year-list"].forEach(((e) => {
|
|
85
|
-
e === "gids-calendar-year-list" && (customElements.get(d(e)) || customElements.define(d(e),
|
|
85
|
+
e === "gids-calendar-year-list" && (customElements.get(d(e)) || customElements.define(d(e), w));
|
|
86
86
|
}));
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
E();
|
|
89
89
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
w as l,
|
|
91
|
+
E as u
|
|
92
92
|
};
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as m } from "./p-
|
|
3
|
-
import { r as g } from "./p-
|
|
4
|
-
import { c as
|
|
5
|
-
const v = ({ expanded: e }, t) =>
|
|
1
|
+
import { q as d, L as u, u as p, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { d as m } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
+
import { r as g } from "./p-BQ-ZnlnH-CUVdDHzX.js";
|
|
4
|
+
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
6
6
|
"gids-dropdown--expanded": e
|
|
7
|
-
}, t), f = ({ size: e }, t) =>
|
|
7
|
+
}, t), f = ({ size: e }, t) => h("gids-chevron-button-control", {
|
|
8
8
|
"gids-chevron-button-control--small": e === "sm",
|
|
9
9
|
// 'gids-chevron-button-control--medium': size === 'md', // Default
|
|
10
10
|
"gids-chevron-button-control--large": e === "lg"
|
|
@@ -12,13 +12,13 @@ const v = ({ expanded: e }, t) => l("gids-dropdown", {
|
|
|
12
12
|
__proto__: null,
|
|
13
13
|
getGidsChevronButtonControlClassNames: f,
|
|
14
14
|
getGidsDropdownClassNames: v
|
|
15
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames:
|
|
15
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames: b, getGidsChevronButtonControlClassNames: I } = y, l = "gids-dropdown-item--active", E = u(class extends p {
|
|
16
16
|
constructor(e) {
|
|
17
17
|
super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.expanded = !1, this.filterValue = "", this.isFilterEditing = !1, this.hasLeadingIcon = !1, this.hasLeadingAccessory = !1, this.activeIndex = -1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.hasDocumentListeners = !1, this.hasPendingControlRevalidation = !1, this.handleDropdownItemSelect = (t) => {
|
|
18
|
-
const { value: i, title: n, disabled: s, id: o } = t.detail;
|
|
18
|
+
const { value: i, title: n, disabled: s, id: o, isPlaceholderItem: r } = t.detail;
|
|
19
19
|
s || typeof i != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
20
20
|
this.suppressNextMenuClickSelection = !1;
|
|
21
|
-
})), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t }));
|
|
21
|
+
})), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t, isPlaceholderItem: r }));
|
|
22
22
|
}, this.handleMenuClick = (t) => {
|
|
23
23
|
if (this.suppressNextMenuClickSelection) return;
|
|
24
24
|
const i = t.target;
|
|
@@ -28,7 +28,9 @@ const v = ({ expanded: e }, t) => l("gids-dropdown", {
|
|
|
28
28
|
const s = n instanceof HTMLButtonElement ? n.value : n.getAttribute("value") ?? "";
|
|
29
29
|
if (typeof s != "string" || s.length === 0) return;
|
|
30
30
|
const o = n instanceof HTMLButtonElement ? n.id : n.getAttribute("id") ?? "";
|
|
31
|
-
typeof o
|
|
31
|
+
if (typeof o != "string" || o.length === 0) return;
|
|
32
|
+
const r = n.getAttribute("is-placeholder-item") ?? "";
|
|
33
|
+
this.applySelection({ id: o, value: s, title: n.textContent?.trim() ?? "", disabled: !1, originalEvent: t, isPlaceholderItem: !(!r || r !== "true") });
|
|
32
34
|
}, this.handleFilterInput = (t) => {
|
|
33
35
|
const i = t.target;
|
|
34
36
|
this.filterValue = i?.value ?? "", this.isFilterEditing = !0, this.clearActive(), this.expanded || this.setExpandedState(!0, t), this.applyFilter();
|
|
@@ -105,14 +107,14 @@ const v = ({ expanded: e }, t) => l("gids-dropdown", {
|
|
|
105
107
|
t && (t.value = e, t.dispatchEvent(new Event("input", { bubbles: !0, composed: !0 })), t.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
106
108
|
}
|
|
107
109
|
clearActive() {
|
|
108
|
-
this.activeIndex = -1, this.getItemElements().forEach(((e) => e.classList.remove(
|
|
110
|
+
this.activeIndex = -1, this.getItemElements().forEach(((e) => e.classList.remove(l))), this.setActiveDescendant(void 0);
|
|
109
111
|
}
|
|
110
112
|
setActiveByIndex(e) {
|
|
111
113
|
const t = this.getVisibleEnabledItems();
|
|
112
|
-
if (this.getItemElements().forEach(((s) => s.classList.remove(
|
|
114
|
+
if (this.getItemElements().forEach(((s) => s.classList.remove(l))), t.length === 0) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
|
|
113
115
|
const i = Math.max(0, Math.min(e, t.length - 1)), n = t[i];
|
|
114
116
|
if (!n) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
|
|
115
|
-
this.activeIndex = i, n.classList.add(
|
|
117
|
+
this.activeIndex = i, n.classList.add(l), n.scrollIntoView({ block: "nearest" }), this.setActiveDescendant(n.id || void 0);
|
|
116
118
|
}
|
|
117
119
|
moveActive(e) {
|
|
118
120
|
const t = this.getVisibleEnabledItems();
|
|
@@ -208,10 +210,10 @@ const v = ({ expanded: e }, t) => l("gids-dropdown", {
|
|
|
208
210
|
}, e;
|
|
209
211
|
}
|
|
210
212
|
render() {
|
|
211
|
-
const e = this.expanded && this.isInteractive(), t =
|
|
213
|
+
const e = this.expanded && this.isInteractive(), t = b({ expanded: e }), i = this.getEnhancedInputProps(), n = typeof i.id == "string" ? i.id : void 0, s = n ? `${n}__menu` : void 0;
|
|
212
214
|
i.role = "combobox", i["aria-expanded"] = e ? "true" : "false", i["aria-haspopup"] = "listbox", i["aria-autocomplete"] = "list", s && (i["aria-controls"] = s);
|
|
213
|
-
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "",
|
|
214
|
-
return a("div", { key: "
|
|
215
|
+
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", r = e ? "true" : "false", c = a("button", { key: "7308fb3cd3804b1945e023107018d16bafd166b3", class: I({ size: "lg" }), slot: "trailingAccessory", type: "button", onClick: this.handleChevronClickToggle, "aria-label": e ? "Collapse options" : "Expanded options", "aria-expanded": r, "aria-haspopup": "listbox", "aria-controls": s, disabled: this.disabled || this.readOnly, tabIndex: -1 }, a("span", { key: "39816bde9d3e2e43f3f0b19bd6abda300e1362c4", class: "gids-button__content" }, a(m, { key: "95d25d7a9f0b9e0ee2f7dcd9bad178580198184b", name: "chevron-vertical", alt: "" })));
|
|
216
|
+
return a("div", { key: "c86f983fe0481939441ef4750ac3af7f41ba1334", class: t }, a("gids-input", { key: "00f171ce20bd3dca41c799993259e19c86ad9df5", appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: o, name: this.name, inputProps: i, onClick: this.handleInputClickToggle, onFocus: this.handleInputFocusAndBlur, onBlur: this.handleInputFocusAndBlur }, this.hasLeadingIcon && a("slot", { key: "fbeb48c6376fb0d35f989bbc97bb7b186a237029", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "32bd6bea5335946f1e78efe067be89dead314ea9", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), c), a("div", { key: "0ea93131baf32b00593992131a4eb866a87af1bf", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "d2b232c3a364e9e467340b45f4ad08e9b5431cf7" })));
|
|
215
217
|
}
|
|
216
218
|
get hostElement() {
|
|
217
219
|
return this;
|
|
@@ -227,15 +229,15 @@ function x() {
|
|
|
227
229
|
typeof customElements < "u" && ["gids-dropdown", "gids-input"].forEach(((e) => {
|
|
228
230
|
switch (e) {
|
|
229
231
|
case "gids-dropdown":
|
|
230
|
-
customElements.get(
|
|
232
|
+
customElements.get(d(e)) || customElements.define(d(e), E);
|
|
231
233
|
break;
|
|
232
234
|
case "gids-input":
|
|
233
|
-
customElements.get(
|
|
235
|
+
customElements.get(d(e)) || g();
|
|
234
236
|
}
|
|
235
237
|
}));
|
|
236
238
|
}
|
|
237
239
|
x();
|
|
238
240
|
export {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
+
x as c,
|
|
242
|
+
E as l
|
|
241
243
|
};
|
|
@@ -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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as h } from "./p-
|
|
1
|
+
import { q as l, L as n, u as r, D as o, 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({
|
|
6
6
|
__proto__: null,
|
|
7
7
|
getGidsFieldClassNames: g
|
|
8
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsFieldClassNames:
|
|
8
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsFieldClassNames: f } = u, p = n(class extends r {
|
|
9
9
|
constructor(t) {
|
|
10
10
|
super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.status = "implicit", this._hasLabel = !1, this._controlListenerTargets = [], this._controlTouched = !1, this._handleLabelSlotChange = () => {
|
|
11
11
|
this._hasLabel = (this._labelSlot?.assignedElements()?.length ?? 0) > 0;
|
|
@@ -56,7 +56,7 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
56
56
|
const a = this._getStatusModifierClass(s, "gids-field__status-text");
|
|
57
57
|
a != null && i.push(a);
|
|
58
58
|
}
|
|
59
|
-
return o(d, { key: "
|
|
59
|
+
return o(d, { key: "f830ae3da5de21c80d9fd5b7161fa3f2845a82df" }, o("div", { key: "8c6c4af1b4ebe897873a49c42975a8730905cf27", class: f() }, o("div", { key: "3afa55c23b729296ff65fb03b501919dcaa420d3", class: "gids-field__header", hidden: !this._hasLabelContent() }, o("slot", { key: "6d8c9adf2b04d19a446fdd2707259d931dbc2eb9", ref: this._setLabelSlot, name: "label", onSlotchange: this._handleControlSlotChange }), o("div", { key: "46cc09d9414bb88622f95e7ccffba84b602b25f0", class: "gids-field__count", "aria-live": "polite" }, this.count)), o("div", { key: "0e6ddf85cf459c53f2cfc5f453cd4fe35e532d9b", class: "gids-field__control" }, o("slot", { key: "d2d007d50a5f7001872b368dee5d648a8751c1af", ref: this._setControlSlot, onSlotchange: this._handleControlSlotChange })), o("p", { key: "09e08e474051efd8bb9e526311cd8d3bb14f8671", class: "gids-field__supporting-text", hidden: !this._shouldShowHelperText() }, this.helperText), t ? o("p", { class: i.join(" "), role: "status", "aria-live": "polite" }, this._renderStatusIcon(s), e !== void 0 ? o("span", null, e) : null) : null));
|
|
60
60
|
}
|
|
61
61
|
_hasLabelContent() {
|
|
62
62
|
return this._hasLabel;
|
|
@@ -171,11 +171,11 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
171
171
|
}, [257, "gids-field", { disabled: [516], count: [513], helperText: [513, "helper-text"], statusText: [513, "status-text"], status: [513], _controlValidationMessage: [32], _hasLabel: [32], reScanControl: [64] }, void 0, { status: [{ _handleStatusChange: 0 }] }]);
|
|
172
172
|
function m() {
|
|
173
173
|
typeof customElements < "u" && ["gids-field"].forEach(((t) => {
|
|
174
|
-
t === "gids-field" && (customElements.get(l(t)) || customElements.define(l(t),
|
|
174
|
+
t === "gids-field" && (customElements.get(l(t)) || customElements.define(l(t), p));
|
|
175
175
|
}));
|
|
176
176
|
}
|
|
177
177
|
m();
|
|
178
178
|
export {
|
|
179
|
-
|
|
179
|
+
p as d,
|
|
180
180
|
m as h
|
|
181
181
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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 { o as u } from "./p-DoCwI_bx-BXHlZI7-.js";
|
|
4
|
+
import { d as v } from "./p-mZJdpfOo-DicbKil0.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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as e, L as t, u as s, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
import { d as a } from "./p-
|
|
3
|
+
import { d as a } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
4
|
const c = t(class extends s {
|
|
5
5
|
constructor(i) {
|
|
6
6
|
super(), i !== !1 && this.__registerHost(), this.__attachShadow();
|
|
@@ -10,7 +10,7 @@ const c = t(class extends s {
|
|
|
10
10
|
i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return o(a, { key: "
|
|
13
|
+
return o(a, { key: "38a60d81d2e4682272e7892c137bad482b471f52", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
|
|
14
14
|
}
|
|
15
15
|
get _el() {
|
|
16
16
|
return this;
|
|
@@ -26,6 +26,6 @@ function n() {
|
|
|
26
26
|
}
|
|
27
27
|
n();
|
|
28
28
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
c,
|
|
30
|
+
n as d
|
|
31
31
|
};
|
|
@@ -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"
|