@ganpatiinfo/gids-core-web 10.3.0 → 13.0.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 +374 -107
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +11 -0
- package/dist/gids-md-table.js +1 -0
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/p-4lN1OdcA.js +1 -0
- package/dist/{p-CD_BHkBE.js → p-6APCjBEI.js} +1 -1
- package/dist/p-BCVFQSjK.js +1 -0
- package/dist/{p-DfrYaprq.js → p-BSbOhfLZ.js} +1 -1
- package/dist/{p-DA_atCAU.js → p-BVAtja26.js} +1 -1
- package/dist/{p-BeP2XcqY.js → p-C2O_pGky.js} +1 -1
- package/dist/p-C2POfZhu.js +1 -0
- package/dist/{p-3Ni1-UuQ.js → p-C3We7Q8Q.js} +1 -1
- package/dist/{p-C4yEV6pT.js → p-C3w3wdCt.js} +1 -1
- package/dist/{p-BQCMjWpK.js → p-C3xv7tfs.js} +1 -1
- package/dist/{p-Ditd1zV7.js → p-C56G7JRy.js} +1 -1
- package/dist/p-CI-sN9Lr.js +1 -0
- package/dist/{p-WHI6NO_h.js → p-COHuQEfZ.js} +1 -1
- package/dist/{p-CkydANOS.js → p-Chqeexny.js} +1 -1
- package/dist/{p-C2PfO9h9.js → p-DO0MyFf4.js} +1 -1
- package/dist/p-DUojHltk.js +1 -0
- package/dist/p-_SIWct9h.js +1 -0
- package/dist/{p-qIkbfIF3.js → p-pSb81aE0.js} +1 -1
- package/dist/{p-BE2G21MT.js → p-ub0GuVHb.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +7 -0
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +5 -0
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +5 -0
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +5 -0
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +12 -0
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
- package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +5 -4
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +42 -0
- package/dist/types/components.d.ts +199 -12
- package/dist-bundled/es/gids-action-bar.js +168 -126
- package/dist-bundled/es/gids-activity-gauge.js +4 -4
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +7 -7
- 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 +18 -18
- package/dist-bundled/es/gids-chevron-button.js +2 -2
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +5 -5
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +35 -35
- package/dist-bundled/es/gids-expansion-group.js +5 -5
- package/dist-bundled/es/gids-expansion.js +4 -4
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +2 -2
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +170 -0
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +24 -24
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-scrim.js +6 -6
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +16 -16
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/{p-DlI2raNo-5V-p1A9Z.js → p-4lN1OdcA-xYP8gbDc.js} +17 -34
- package/dist-bundled/es/{p-CD_BHkBE-DX2546yK.js → p-6APCjBEI-BREg63Xr.js} +5 -5
- package/dist-bundled/es/{p-Cn-t3SGc-CwvvOdlK.js → p-BCVFQSjK-CKrYrI4b.js} +15 -15
- package/dist-bundled/es/{p-DfrYaprq-CeZqb0rn.js → p-BSbOhfLZ-BdEHhmFM.js} +3 -3
- package/dist-bundled/es/{p-DA_atCAU-KdxJYYDE.js → p-BVAtja26-C16IjShX.js} +8 -8
- package/dist-bundled/es/{p-BeP2XcqY-DMXmX4Mc.js → p-C2O_pGky-CP4PN55D.js} +10 -10
- package/dist-bundled/es/p-C2POfZhu-DzG_JxV6.js +24 -0
- package/dist-bundled/es/{p-3Ni1-UuQ-CPn15cat.js → p-C3We7Q8Q-2EoDLj5m.js} +2 -2
- package/dist-bundled/es/{p-C4yEV6pT-8IjLINXB.js → p-C3w3wdCt-BTH-jYlI.js} +6 -6
- package/dist-bundled/es/{p-BQCMjWpK-CLxPNItn.js → p-C3xv7tfs-DHsjc3Ns.js} +4 -4
- package/dist-bundled/es/{p-Ditd1zV7-DdQjXthS.js → p-C56G7JRy-BCGZG2-3.js} +2 -2
- package/dist-bundled/es/{p-DVVJrKxO-Bdl0HX_u.js → p-CI-sN9Lr-BvWzRJw-.js} +20 -19
- package/dist-bundled/es/{p-WHI6NO_h-DHNy0JzV.js → p-COHuQEfZ-DcUxD9TI.js} +11 -11
- package/dist-bundled/es/{p-CkydANOS-CzTX9wng.js → p-Chqeexny-BuJ-PhNi.js} +6 -6
- package/dist-bundled/es/{p-D4Pimu_8-DfEGRQGf.js → p-D4Pimu_8-ARSuGBs4.js} +0 -1
- package/dist-bundled/es/{p-D6lxqcxP-DWrZi1Xi.js → p-D6lxqcxP-C6BOC0kV.js} +1 -1
- package/dist-bundled/es/{p-C2PfO9h9-H_toZwKo.js → p-DO0MyFf4-Ddg5sVMx.js} +5 -5
- package/dist-bundled/es/p-DUojHltk-BQ0ryfLD.js +172 -0
- package/dist-bundled/es/{p-UxDcM-C5-Dr5d_WpJ.js → p-UxDcM-C5-BJO4X0jM.js} +1 -1
- package/dist-bundled/es/{p-KaaOtnwV-D7HTbhvI.js → p-_SIWct9h-jMYFZ-VO.js} +12 -12
- package/dist-bundled/es/{p-qIkbfIF3-B7NovGEi.js → p-pSb81aE0-WzAszFOQ.js} +2 -2
- package/dist-bundled/es/{p-BE2G21MT-WGW-ehxu.js → p-ub0GuVHb-C9vrhXyF.js} +2 -2
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
- package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion.umd.js +1 -1
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +1 -1
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +5 -0
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-popover.umd.js +1 -1
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
- package/dist-bundled/umd/gids-tab.umd.js +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +1 -1
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +17 -9
- package/dist/p-2wB6zkno.js +0 -1
- package/dist/p-Cn-t3SGc.js +0 -1
- package/dist/p-DVVJrKxO.js +0 -1
- package/dist/p-DlI2raNo.js +0 -1
- package/dist/p-KaaOtnwV.js +0 -1
- package/dist-bundled/es/p-2wB6zkno-57WAxATm.js +0 -152
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as r, L as l, u as h, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { o as c } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
-
import { d as p } from "./p-D4Pimu_8-
|
|
3
|
+
import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
6
6
|
"gids-dropdown-picker--expanded": e
|
|
@@ -20,7 +20,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
20
20
|
if (!(i instanceof Element)) return;
|
|
21
21
|
const s = i.closest(".gids-dropdown-item");
|
|
22
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")
|
|
23
|
+
const o = s instanceof HTMLButtonElement ? s.value : s.getAttribute("value") || "";
|
|
24
24
|
if (typeof o != "string" || o.length === 0) return;
|
|
25
25
|
const a = s instanceof HTMLButtonElement ? s.id : s.getAttribute("id") ?? "";
|
|
26
26
|
if (typeof a != "string" || a.length === 0) return;
|
|
@@ -111,7 +111,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
const e = this.expanded && this.isInteractive(), t = v({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
|
|
114
|
-
return n("div", { key: "
|
|
114
|
+
return n("div", { key: "853c2b26fc0e64ac2f4d04dc1ae83f72eefd1403", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "e1abb285cd9649aa542620de7a683a9f21dbe19a", 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: "4907e8cc94b306a36096e07a662d87b1b687fee7", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "921b888c10135a2baeda9183b3a06f7bf9aa4abb" })));
|
|
115
115
|
}
|
|
116
116
|
get hostElement() {
|
|
117
117
|
return this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as s, L as l, u, D as
|
|
2
|
-
import { d as n } from "./p-D4Pimu_8-
|
|
3
|
-
import { l as
|
|
1
|
+
import { q as s, L as l, u, D as i, F as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { d as n } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
|
+
import { l as r } from "./p-CHGTBObD-EN4cCwtX.js";
|
|
4
4
|
const c = (e) => e.type === "hidden", f = (e) => {
|
|
5
5
|
if (!(e instanceof HTMLElement))
|
|
6
6
|
return !1;
|
|
@@ -18,8 +18,8 @@ const c = (e) => e.type === "hidden", f = (e) => {
|
|
|
18
18
|
}, o = l(class extends u {
|
|
19
19
|
constructor(e) {
|
|
20
20
|
super(), e !== !1 && this.__registerHost(), this.#e = {}, this._focusInput = (t) => {
|
|
21
|
-
const
|
|
22
|
-
|
|
21
|
+
const a = t.target;
|
|
22
|
+
a === this.#t || this._isWithinInteractiveElement(a) || this.#t?.focus();
|
|
23
23
|
}, this._handleInputFocusAndBlur = (t) => {
|
|
24
24
|
this._el.dispatchEvent(new FocusEvent(t.type, { relatedTarget: t.relatedTarget }));
|
|
25
25
|
};
|
|
@@ -54,9 +54,9 @@ const c = (e) => e.type === "hidden", f = (e) => {
|
|
|
54
54
|
this._el.removeEventListener("click", this._focusInput);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return
|
|
57
|
+
return i(d, { key: "afdbc2c51c4a1f688534c76757ef7cdfb27d1cd0" }, i("slot", { key: "83781fe23a5648cdd8345326e88e235c03cf60bc", name: "leadingIcon" }), this.leadingLabel && i("span", { key: "b457d5343b714096c80ffebce6abd9e62fc57664", class: "gids-input__label" }, this.leadingLabel), i("slot", { key: "e156f0f311bd7b662eb56c07c101b673c0945d14", name: "leadingAccessory" }), i("input", { key: "34d77865f743fab2e85d154b966c90b1434d212d", ...this.inputProps, ref: (e) => {
|
|
58
58
|
this.#t = e, this.#e.value !== void 0 && (this.#t.value = this.#e.value, delete this.#e.value), this.#e.defaultValue !== void 0 && (this.#t.defaultValue = this.#e.defaultValue, delete this.#e.defaultValue);
|
|
59
|
-
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }),
|
|
59
|
+
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), i("slot", { key: "fafb91d6e965e33b40577a10475e9a69a83e7a98", name: "trailingAccessory" }), this.trailingLabel && i("span", { key: "3d673d4b05b850c165817615145e629f39b5859c", class: "gids-input__label" }, this.trailingLabel), i("slot", { key: "ee39bb2e061ace41b7192f0fd2eae7edb35918e2", name: "trailingIcon" }), this.status === "incomplete" && i(n, { key: "5d2faed6c95395d82a2ae1e72483fd15599f14b6", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && i(n, { key: "106200c1b025e3ee1467ffed2f246962933d42d0", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && i(r, { key: "9125ce5ef482066da33b9429e0cb544e1a646cca", size: "md", indeterminate: !0 }));
|
|
60
60
|
}
|
|
61
61
|
get _el() {
|
|
62
62
|
return this;
|
|
@@ -69,6 +69,6 @@ function h() {
|
|
|
69
69
|
}
|
|
70
70
|
h();
|
|
71
71
|
export {
|
|
72
|
-
o as
|
|
72
|
+
o as c,
|
|
73
73
|
h as r
|
|
74
74
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { q as e, L as t, u as s, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { i as
|
|
3
|
-
import { d } from "./p-D4Pimu_8-
|
|
4
|
-
const
|
|
2
|
+
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
+
import { d } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
|
+
const a = t(class extends s {
|
|
5
5
|
constructor(i) {
|
|
6
6
|
super(), i !== !1 && this.__registerHost(), this.__attachShadow();
|
|
7
7
|
}
|
|
8
8
|
connectedCallback() {
|
|
9
|
-
const i =
|
|
9
|
+
const i = c();
|
|
10
10
|
i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return o(d, { key: "
|
|
13
|
+
return o(d, { key: "bc81f0bb3a1e558071dc334873802ac8c8ec31ef", 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;
|
|
@@ -19,13 +19,13 @@ const n = t(class extends s {
|
|
|
19
19
|
return ".gids-icon{color:var(--gidsIcon-color, var(--gids-color-icon-default));fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%);flex-shrink:0}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}";
|
|
20
20
|
}
|
|
21
21
|
}, [1, "gids-icon", { name: [1], size: [1], appearance: [1], alt: [1], titleId: [1, "title-id"] }]);
|
|
22
|
-
function
|
|
22
|
+
function n() {
|
|
23
23
|
typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
|
|
24
|
-
i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i),
|
|
24
|
+
i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), a));
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
n();
|
|
28
28
|
export {
|
|
29
|
-
n as
|
|
30
|
-
|
|
29
|
+
n as d,
|
|
30
|
+
a as n
|
|
31
31
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { D as g } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { c as e } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
const n = ({ size: a, appearance: s, color: t }, d) => e("gids-display-tag", {
|
|
4
|
+
"gids-display-tag--xsmall": a === "xs",
|
|
5
|
+
"gids-display-tag--small": a === "sm",
|
|
6
|
+
// 'gids-display-tag--medium': size === 'md',
|
|
7
|
+
"gids-display-tag--large": a === "lg",
|
|
8
|
+
"gids-display-tag--accent-1": s === "subtle" && t === "accent-1",
|
|
9
|
+
"gids-display-tag--accent-2": s === "subtle" && t === "accent-2",
|
|
10
|
+
"gids-display-tag--accent-3": s === "subtle" && t === "accent-3",
|
|
11
|
+
"gids-display-tag--accent-4": s === "subtle" && t === "accent-4",
|
|
12
|
+
"gids-display-tag--accent-5": s === "subtle" && t === "accent-5",
|
|
13
|
+
"gids-display-tag--bold-accent-1": s === "bold" && t === "accent-1",
|
|
14
|
+
"gids-display-tag--bold-accent-2": s === "bold" && t === "accent-2",
|
|
15
|
+
"gids-display-tag--bold-accent-3": s === "bold" && t === "accent-3",
|
|
16
|
+
"gids-display-tag--bold-accent-4": s === "bold" && t === "accent-4",
|
|
17
|
+
"gids-display-tag--bold-accent-5": s === "bold" && t === "accent-5"
|
|
18
|
+
}, d), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
|
+
__proto__: null,
|
|
20
|
+
getGidsDisplaTagClassNames: n
|
|
21
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDisplaTagClassNames: y } = b, u = ({ label: a, appearance: s = "subtle", color: t, size: d = "md", icon: l, class: i, ...c }) => g("span", { class: y({ size: d, appearance: s, color: t }, i), ...c }, l, a);
|
|
22
|
+
export {
|
|
23
|
+
u as o
|
|
24
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as a, L as _, u as m, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { o as u } from "./p-BCVFQSjK-CKrYrI4b.js";
|
|
4
|
+
import { d as v } from "./p-C3xv7tfs-DHsjc3Ns.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,10 +1,10 @@
|
|
|
1
1
|
import { q as l, L as d, u as o, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { o as h } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
-
import { d as c } from "./p-D4Pimu_8-
|
|
3
|
+
import { d as c } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
5
|
-
import { l as u } from "./p-
|
|
6
|
-
import { u as b } from "./p-
|
|
7
|
-
import { h as m } from "./p-
|
|
5
|
+
import { l as u } from "./p-COHuQEfZ-DcUxD9TI.js";
|
|
6
|
+
import { u as b } from "./p-Chqeexny-BuJ-PhNi.js";
|
|
7
|
+
import { h as m } from "./p-BSbOhfLZ-BdEHhmFM.js";
|
|
8
8
|
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
9
9
|
const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
|
|
10
10
|
const t = new Date(2e3, e - 1, 1);
|
|
@@ -130,7 +130,7 @@ const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
|
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
132
|
const e = M(), a = this.expandedMonthPicker && this.isMonthPickerInteractive() && !this.expandedYearPicker, t = this.expandedYearPicker && this.isYearPickerInteractive() && !this.expandedMonthPicker, i = this.internalPreviousDisabled || this.previousDisabled, s = this.internalNextDisabled || this.nextDisabled;
|
|
133
|
-
return n("div", { key: "
|
|
133
|
+
return n("div", { key: "95eed567dae266c88b75c8fe606ef5dc1f72b8f2", class: e }, n(h, { key: "fcaa7636d1dddf0fe32ebeb70cdb6d0b726111ab", leadingIcon: n(c, { name: "arrow-left", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handlePreviousActionClick, disabled: i }), n("div", { key: "91925ca2dc02cc964e58902f0d12a90a670b22fa", class: "gids-calendar-header-panel__main-container" }, n("gids-dropdown-picker", { key: "ae734185b01ab0ec8a5776fb7577ef0a051f94d5", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, n("gids-calendar-month-list", { key: "c3396d08af747adcba8b066bf750b5cf2194b4a9", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), n("span", { key: "2789e719ad1774484ce2359b85fc9d54a0f135f4", class: p("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), n("gids-dropdown-picker", { key: "330f4a4486f308fc2d4680da417dcf7c7a2e5ec3", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, n("gids-calendar-year-list", { key: "09f54b5d3b93d01595adbd30cf961354cb5e48fa", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), n(h, { key: "5f4ce2b0e4c8a55a5691b4c096955e05e49db919", leadingIcon: n(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: s }));
|
|
134
134
|
}
|
|
135
135
|
get hostElement() {
|
|
136
136
|
return this;
|
|
@@ -162,6 +162,6 @@ function y() {
|
|
|
162
162
|
y();
|
|
163
163
|
export {
|
|
164
164
|
v as m,
|
|
165
|
-
P as
|
|
165
|
+
P as n,
|
|
166
166
|
y as u
|
|
167
167
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as i, L as s, u as n, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { d } from "./p-D4Pimu_8-
|
|
2
|
+
import { d } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
3
|
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const o = ({ seriesType: e, orientation: a }, r) => l("gids-chart-legend-item", {
|
|
5
5
|
// 'gids-chart-legend-item--series-1': seriesType === '1', // by default
|
|
@@ -26,7 +26,7 @@ const o = ({ seriesType: e, orientation: a }, r) => l("gids-chart-legend-item",
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const e = c({ seriesType: this.seriesType, orientation: this.orientation });
|
|
29
|
-
return t("div", { key: "
|
|
29
|
+
return t("div", { key: "53426e6c9a945d640fd4ac57018c92d19f13ed12", class: e }, t("div", { key: "c6a5115aa46ea3b08eb8163d1c572beb9e1133a6", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(d, { key: "32eda54148964970c44c09149c6962934fb4381e", name: "new", alt: "new_icon", appearance: "filled" })), t("span", { key: "dfad8f6a6cd0f623bfdc827c826a20ca88f0aa56", class: "gids-chart-legend-item__label" }, t("slot", { key: "acc890c13bfa893c419a8001998f64fa1ba88bcb" })));
|
|
30
30
|
}
|
|
31
31
|
static get watchers() {
|
|
32
32
|
return { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }] };
|
|
@@ -42,6 +42,6 @@ function m() {
|
|
|
42
42
|
}
|
|
43
43
|
m();
|
|
44
44
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
m as d,
|
|
46
|
+
h as l
|
|
47
47
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as d, L as f, u as v, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as u } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { o as w } from "./p-BCVFQSjK-CKrYrI4b.js";
|
|
4
|
+
import { d as k } from "./p-C3xv7tfs-DHsjc3Ns.js";
|
|
5
5
|
import { c as z } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const L = ({ breakpoint: a }, s) => z("gids-line-chart", {
|
|
7
7
|
"gids-line-chart--breakpoint-mobile": a === "mobile"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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-
|
|
3
|
-
import { r as g } from "./p-
|
|
4
|
-
import { c
|
|
5
|
-
const v = ({ expanded: e }, t) =>
|
|
2
|
+
import { d as m } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
|
+
import { r as g } from "./p-BVAtja26-C16IjShX.js";
|
|
4
|
+
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const v = ({ expanded: e }, t) => c("gids-dropdown", {
|
|
6
6
|
"gids-dropdown--expanded": e
|
|
7
|
-
}, t), f = ({ size: e }, t) =>
|
|
7
|
+
}, t), f = ({ size: e }, t) => c("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,25 +12,26 @@ const v = ({ expanded: e }, t) => h("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, h = "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, isPlaceholderItem:
|
|
18
|
+
const { value: i, title: n, disabled: s, id: o, isPlaceholderItem: l } = 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, isPlaceholderItem:
|
|
21
|
+
})), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t, isPlaceholderItem: l }));
|
|
22
22
|
}, this.handleMenuClick = (t) => {
|
|
23
23
|
if (this.suppressNextMenuClickSelection) return;
|
|
24
24
|
const i = t.target;
|
|
25
25
|
if (!(i instanceof Element)) return;
|
|
26
26
|
const n = i.closest(".gids-dropdown-item");
|
|
27
27
|
if (!n || !this.hostElement.contains(n) || n.hasAttribute("disabled") || n.getAttribute("aria-disabled") === "true") return;
|
|
28
|
-
const s = n instanceof HTMLButtonElement ? n.value : n.getAttribute("value")
|
|
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
31
|
if (typeof o != "string" || o.length === 0) return;
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const l = n.getAttribute("is-placeholder-item") ?? "";
|
|
33
|
+
let r = n.textContent?.trim() ?? "";
|
|
34
|
+
r.endsWith("checkmark") && (r = r.slice(0, -9).trim()), console.log("cleanTitle", r), this.applySelection({ id: o, value: s, title: r.trim(), disabled: !1, originalEvent: t, isPlaceholderItem: !(!l || l !== "true") });
|
|
34
35
|
}, this.handleFilterInput = (t) => {
|
|
35
36
|
const i = t.target;
|
|
36
37
|
this.filterValue = i?.value ?? "", this.isFilterEditing = !0, this.clearActive(), this.expanded || this.setExpandedState(!0, t), this.applyFilter();
|
|
@@ -107,14 +108,14 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
|
107
108
|
t && (t.value = e, t.dispatchEvent(new Event("input", { bubbles: !0, composed: !0 })), t.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
108
109
|
}
|
|
109
110
|
clearActive() {
|
|
110
|
-
this.activeIndex = -1, this.getItemElements().forEach(((e) => e.classList.remove(
|
|
111
|
+
this.activeIndex = -1, this.getItemElements().forEach(((e) => e.classList.remove(h))), this.setActiveDescendant(void 0);
|
|
111
112
|
}
|
|
112
113
|
setActiveByIndex(e) {
|
|
113
114
|
const t = this.getVisibleEnabledItems();
|
|
114
|
-
if (this.getItemElements().forEach(((s) => s.classList.remove(
|
|
115
|
+
if (this.getItemElements().forEach(((s) => s.classList.remove(h))), t.length === 0) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
|
|
115
116
|
const i = Math.max(0, Math.min(e, t.length - 1)), n = t[i];
|
|
116
117
|
if (!n) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
|
|
117
|
-
this.activeIndex = i, n.classList.add(
|
|
118
|
+
this.activeIndex = i, n.classList.add(h), n.scrollIntoView({ block: "nearest" }), this.setActiveDescendant(n.id || void 0);
|
|
118
119
|
}
|
|
119
120
|
moveActive(e) {
|
|
120
121
|
const t = this.getVisibleEnabledItems();
|
|
@@ -210,10 +211,10 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
|
210
211
|
}, e;
|
|
211
212
|
}
|
|
212
213
|
render() {
|
|
213
|
-
const e = this.expanded && this.isInteractive(), t =
|
|
214
|
+
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;
|
|
214
215
|
i.role = "combobox", i["aria-expanded"] = e ? "true" : "false", i["aria-haspopup"] = "listbox", i["aria-autocomplete"] = "list", s && (i["aria-controls"] = s);
|
|
215
|
-
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "",
|
|
216
|
-
return a("div", { key: "
|
|
216
|
+
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", l = e ? "true" : "false", r = a("button", { key: "3c948278bf289c4fd943e4bff51c8e44e73ba6c9", class: I({ size: "lg" }), slot: "trailingAccessory", type: "button", onClick: this.handleChevronClickToggle, "aria-label": e ? "Collapse options" : "Expanded options", "aria-expanded": l, "aria-haspopup": "listbox", "aria-controls": s, disabled: this.disabled || this.readOnly, tabIndex: -1 }, a("span", { key: "284f2a2141baa75624fcd9eeee21e6c98fd1e86e", class: "gids-button__content" }, a(m, { key: "1e6567b3d5aefedfef1697f59d79de1a0635f86b", name: "chevron-vertical", alt: "" })));
|
|
217
|
+
return a("div", { key: "82b234b661a97f00fbfb69b1c24d3b1f468521dc", class: t }, a("gids-input", { key: "6068c25be9fc8533a26525083c6082bfdfffbbfa", 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: "8230d44f492a98c05c5830fa984270122f0963ca", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "3a80369ad171bc0e37dfccbb9661d0db93dd55c1", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), r), a("div", { key: "2cad6d5213802acf9b673971a748bd16c06b986a", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "90e9298103623d8a87677470c0f7e9b8655be880" })));
|
|
217
218
|
}
|
|
218
219
|
get hostElement() {
|
|
219
220
|
return this;
|
|
@@ -229,7 +230,7 @@ function x() {
|
|
|
229
230
|
typeof customElements < "u" && ["gids-dropdown", "gids-input"].forEach(((e) => {
|
|
230
231
|
switch (e) {
|
|
231
232
|
case "gids-dropdown":
|
|
232
|
-
customElements.get(d(e)) || customElements.define(d(e),
|
|
233
|
+
customElements.get(d(e)) || customElements.define(d(e), E);
|
|
233
234
|
break;
|
|
234
235
|
case "gids-input":
|
|
235
236
|
customElements.get(d(e)) || g();
|
|
@@ -238,6 +239,6 @@ function x() {
|
|
|
238
239
|
}
|
|
239
240
|
x();
|
|
240
241
|
export {
|
|
241
|
-
|
|
242
|
+
E as c,
|
|
242
243
|
x as l
|
|
243
244
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as
|
|
2
|
-
import { m as h, x as m, N as u } from "./p-D6lxqcxP-
|
|
1
|
+
import { q as d, L as r, u as c, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { m as h, x as m, N as u } from "./p-D6lxqcxP-C6BOC0kV.js";
|
|
3
3
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const
|
|
4
|
+
const I = (t) => p("gids-calendar-month-list", t), f = () => {
|
|
5
5
|
const t = [], s = new Intl.DateTimeFormat("en-US", { month: "long" });
|
|
6
6
|
for (let e = 1; e <= 12; e += 1) {
|
|
7
7
|
const n = new Date(2e3, e - 1, 1), i = s.format(n);
|
|
@@ -14,13 +14,13 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
14
14
|
return t;
|
|
15
15
|
}, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16
16
|
__proto__: null,
|
|
17
|
-
getGidsCalendarMonthListClassNames:
|
|
18
|
-
getGidsCalendarMonthListMonths:
|
|
17
|
+
getGidsCalendarMonthListClassNames: I,
|
|
18
|
+
getGidsCalendarMonthListMonths: f
|
|
19
19
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, x = r(class extends c {
|
|
20
20
|
constructor(t) {
|
|
21
21
|
super(), t !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (s) => {
|
|
22
|
-
const { title: e, value: n, selectedIndex: i, disabled:
|
|
23
|
-
|
|
22
|
+
const { title: e, value: n, selectedIndex: i, disabled: o, id: a } = s.detail;
|
|
23
|
+
o || typeof e != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
24
24
|
this.suppressNextMenuClickSelection = !1;
|
|
25
25
|
})), this.applySelection({ id: a, month: e, monthInNumber: Number(n), disabled: !1, selectedIndex: i }));
|
|
26
26
|
}, this.handleMenuClick = (s) => {
|
|
@@ -28,7 +28,7 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
28
28
|
const e = s?.detail;
|
|
29
29
|
this.applySelection({ id: e.id, monthInNumber: Number(e.value), month: e.title, disabled: !1, selectedIndex: e.selectedIndex });
|
|
30
30
|
}, this.monthsList = () => M(), this.getSelectedItem = () => {
|
|
31
|
-
const s = this.selectedMonthNumber, e = this.monthsList(), n = e.findIndex(((
|
|
31
|
+
const s = this.selectedMonthNumber, e = this.monthsList(), n = e.findIndex(((o) => o.value === s));
|
|
32
32
|
let i;
|
|
33
33
|
return n != null && n !== -1 && (i = e[n]), { foundItem: i, foundIndex: n };
|
|
34
34
|
}, this.isItemSelected = (s) => {
|
|
@@ -59,9 +59,9 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const t = g();
|
|
62
|
-
return
|
|
62
|
+
return l("div", { key: "03c81c7b6d2fb6a1439f4a51a91817661b208175", class: t }, l(h, { key: "218015b22be3ab5dc1257ab99710759fcc91a60f", type: this.type, supportingText: this.noOptionsText }, l(m, { key: "63be7405e6ec2c1e658429832c3a484aa149880b", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
|
|
63
63
|
const n = `${e + 1}`, i = this.disabledIndices?.includes(e);
|
|
64
|
-
return
|
|
64
|
+
return l(u, { title: s.title, value: `${s.value}`, key: `${e.toString()}`, index: e, id: n, selected: this.isItemSelected(e), onPressDropdownItem: this.handleMenuClick, disabled: i, divider: this.divider, isPlaceholderItem: !1 });
|
|
65
65
|
})))));
|
|
66
66
|
}
|
|
67
67
|
get hostElement() {
|
|
@@ -70,7 +70,7 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
70
70
|
}, [0, "gids-calendar-month-list", { type: [1], noOptionsText: [1, "no-options-text"], disabledIndices: [16], divider: [4], selectedMonthNumber: [2, "selected-month-number"], onSelectionMonthChange: [16] }]);
|
|
71
71
|
function C() {
|
|
72
72
|
typeof customElements < "u" && ["gids-calendar-month-list"].forEach(((t) => {
|
|
73
|
-
t === "gids-calendar-month-list" && (customElements.get(
|
|
73
|
+
t === "gids-calendar-month-list" && (customElements.get(d(t)) || customElements.define(d(t), x));
|
|
74
74
|
}));
|
|
75
75
|
}
|
|
76
76
|
C();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as d, L as
|
|
2
|
-
import { m as u, x as m, N as Y } from "./p-D6lxqcxP-
|
|
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-C6BOC0kV.js";
|
|
3
3
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
5
5
|
const t = e.toString().trim();
|
|
@@ -24,13 +24,13 @@ const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
|
24
24
|
getGidsCalendarYearListClassNames: f,
|
|
25
25
|
getGidsCalendarYearListYears: I,
|
|
26
26
|
isValidFourDigitYear: g
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: b, isValidFourDigitYear: l } = S, w =
|
|
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: n, id:
|
|
30
|
+
const { title: s, value: a, selectedIndex: r, disabled: n, id: o } = t.detail;
|
|
31
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;
|
|
@@ -71,7 +71,7 @@ const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
const e = y();
|
|
74
|
-
return i("div", { key: "
|
|
74
|
+
return i("div", { key: "af9ef0437dbeba878bb5d09b0dcb4339ab819efd", class: e }, i(u, { key: "8083aa3b6a0160923f514bf067475cc835c3256b", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "d9c7ec1df68bd2e67e236e7135927f27dd7bc328", sectionLabel: "Years" }, this.yearsList().map(((t, s) => {
|
|
75
75
|
const a = `${s + 1}`, r = this.disabledIndices?.includes(t.value);
|
|
76
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
|
})))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as t, F as w } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as O } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
-
import { d as C } from "./p-D4Pimu_8-
|
|
3
|
+
import { d as C } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { c as a } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const T = ({ orientation: e }, i) => a("gids-divider", {
|
|
6
6
|
"gids-divider--vertical": e === "vertical"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { p as $ } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { o as L } from "./p-BCVFQSjK-CKrYrI4b.js";
|
|
4
|
+
import { d as E } from "./p-C3xv7tfs-DHsjc3Ns.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"
|
|
@@ -35,7 +35,7 @@ const M = ({ breakpoint: a }, o) => P("gids-bar-chart", {
|
|
|
35
35
|
this.width = a.width, this.height = a.height > 0 ? a.height : 300;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
if (this.chartLoading) return e("div", { class: "gids-bar-chart__no-data" }, e(
|
|
38
|
+
if (this.chartLoading) return e("div", { class: "gids-bar-chart__no-data" }, e($, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
|
|
39
39
|
const a = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], o = a.length, d = Array(o).fill(0);
|
|
40
40
|
this.chartData.forEach(((t) => {
|
|
41
41
|
Array.isArray(t?.data) && t.data.forEach(((i, r) => {
|
|
@@ -101,7 +101,7 @@ function O() {
|
|
|
101
101
|
customElements.get(x(a)) || customElements.define(x(a), j);
|
|
102
102
|
break;
|
|
103
103
|
case "gids-chart-legend":
|
|
104
|
-
customElements.get(x(a)) ||
|
|
104
|
+
customElements.get(x(a)) || L();
|
|
105
105
|
break;
|
|
106
106
|
case "gids-chart-legend-item":
|
|
107
107
|
customElements.get(x(a)) || E();
|