@ganpatiinfo/gids-core-web 10.1.0 → 10.3.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 +467 -0
- 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.d.ts +11 -0
- package/dist/gids-expansion-body-list-item.js +1 -0
- package/dist/gids-expansion-body-list.d.ts +11 -0
- package/dist/gids-expansion-body-list.js +1 -0
- package/dist/gids-expansion-group.d.ts +11 -0
- package/dist/gids-expansion-group.js +1 -0
- package/dist/gids-expansion.d.ts +11 -0
- package/dist/gids-expansion.js +1 -0
- 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-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.d.ts +11 -0
- package/dist/gids-tab-item.js +1 -0
- package/dist/gids-tab.d.ts +11 -0
- package/dist/gids-tab.js +1 -0
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/{p-H1JIMJ2t.js → p-2wB6zkno.js} +1 -1
- package/dist/{p-DPIK2ayL.js → p-3Ni1-UuQ.js} +1 -1
- package/dist/{p-DNTv2BQ5.js → p-BE2G21MT.js} +1 -1
- package/dist/{p-mZJdpfOo.js → p-BQCMjWpK.js} +1 -1
- package/dist/{p-Db62Pz3n.js → p-BeP2XcqY.js} +1 -1
- package/dist/{p-CP1wz2PI.js → p-C2PfO9h9.js} +1 -1
- package/dist/p-C4yEV6pT.js +1 -0
- package/dist/{p-BZCJlqVe.js → p-CD_BHkBE.js} +1 -1
- package/dist/p-ChV9xqsO.js +1 -0
- package/dist/{p-CW7tw1Fb.js → p-CkydANOS.js} +1 -1
- package/dist/p-Cn-t3SGc.js +1 -0
- package/dist/{p-BQ-ZnlnH.js → p-DA_atCAU.js} +1 -1
- package/dist/{p-Cn3-K5eR.js → p-DVVJrKxO.js} +1 -1
- package/dist/{p-JjN8U9B5.js → p-DfrYaprq.js} +1 -1
- package/dist/{p-CQH7eAs3.js → p-Ditd1zV7.js} +1 -1
- package/dist/p-DlI2raNo.js +1 -0
- package/dist/p-KaaOtnwV.js +1 -0
- package/dist/{p-V48JyMbP.js → p-WHI6NO_h.js} +1 -1
- package/dist/{p-DfxTsSdZ.js → p-qIkbfIF3.js} +1 -1
- package/dist/types/components/webComponents/GidsExpansion/GidsExpansion.d.ts +24 -0
- package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +24 -0
- package/dist/types/components/webComponents/GidsExpansionBodyListItem/GidsExpansionBodyListItem.d.ts +38 -0
- package/dist/types/components/webComponents/GidsExpansionGroup/GidsExpansionGroup.d.ts +4 -0
- package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
- package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
- package/dist/types/components.d.ts +269 -2
- package/dist-bundled/es/gids-action-bar.js +4 -4
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
- 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 +33 -33
- package/dist-bundled/es/gids-chart-legend-item.js +3 -3
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +46 -46
- package/dist-bundled/es/gids-chevron-button.js +8 -8
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +10 -10
- 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 +6 -0
- package/dist-bundled/es/gids-expansion-body-list.js +78 -0
- package/dist-bundled/es/gids-expansion-group.js +28 -0
- package/dist-bundled/es/gids-expansion.js +90 -0
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +4 -4
- package/dist-bundled/es/gids-icon.js +1 -1
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-overflow-container.js +4 -4
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +23 -23
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-scrim.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +100 -0
- package/dist-bundled/es/gids-tab.js +63 -0
- package/dist-bundled/es/gids-text-field.js +15 -15
- package/dist-bundled/es/gids-toggle-button.js +4 -4
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
- package/dist-bundled/es/{p-H1JIMJ2t-DEXp7M4I.js → p-2wB6zkno-57WAxATm.js} +2 -2
- package/dist-bundled/es/{p-DPIK2ayL-DPEbctqo.js → p-3Ni1-UuQ-CPn15cat.js} +2 -2
- package/dist-bundled/es/{p-DNTv2BQ5-Bwgd30mM.js → p-BE2G21MT-WGW-ehxu.js} +4 -4
- package/dist-bundled/es/{p-mZJdpfOo-DicbKil0.js → p-BQCMjWpK-CLxPNItn.js} +6 -6
- package/dist-bundled/es/{p-Db62Pz3n-DpQjwBYb.js → p-BeP2XcqY-DMXmX4Mc.js} +10 -10
- package/dist-bundled/es/{p-CP1wz2PI-DhVAsHFS.js → p-C2PfO9h9-H_toZwKo.js} +5 -5
- package/dist-bundled/es/{p-BpQB6ncp-C2AWddf-.js → p-C4yEV6pT-8IjLINXB.js} +28 -41
- package/dist-bundled/es/{p-BZCJlqVe-BcSwze-q.js → p-CD_BHkBE-DX2546yK.js} +5 -5
- package/dist-bundled/es/p-ChV9xqsO-CJSPCx6p.js +16 -0
- package/dist-bundled/es/{p-CW7tw1Fb-DtJ5TwCU.js → p-CkydANOS-CzTX9wng.js} +5 -5
- package/dist-bundled/es/{p-DoCwI_bx-BXHlZI7-.js → p-Cn-t3SGc-CwvvOdlK.js} +14 -14
- package/dist-bundled/es/{p-BQ-ZnlnH-CUVdDHzX.js → p-DA_atCAU-KdxJYYDE.js} +5 -5
- package/dist-bundled/es/{p-Cn3-K5eR-tQ1EOnDF.js → p-DVVJrKxO-Bdl0HX_u.js} +8 -8
- package/dist-bundled/es/{p-JjN8U9B5-GeWjfJBY.js → p-DfrYaprq-CeZqb0rn.js} +6 -6
- package/dist-bundled/es/{p-CQH7eAs3-BVowyVGn.js → p-Ditd1zV7-DdQjXthS.js} +2 -2
- package/dist-bundled/es/p-DlI2raNo-5V-p1A9Z.js +106 -0
- package/dist-bundled/es/{p-DmLoB2Dn-D-FSoCvI.js → p-KaaOtnwV-D7HTbhvI.js} +9 -9
- package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
- package/dist-bundled/es/{p-V48JyMbP-Bx-0od-Z.js → p-WHI6NO_h-DHNy0JzV.js} +6 -6
- package/dist-bundled/es/{p-DfxTsSdZ-C2Afv1lS.js → p-qIkbfIF3-B7NovGEi.js} +2 -2
- package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion-group.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion.umd.js +5 -0
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- 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 +5 -0
- package/dist-bundled/umd/gids-tab.umd.js +5 -0
- package/dist-bundled/umd/gids-text-field.umd.js +1 -1
- package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
- package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
- package/package.json +52 -4
- package/dist/p-BpQB6ncp.js +0 -1
- package/dist/p-DmLoB2Dn.js +0 -1
- package/dist/p-DoCwI_bx.js +0 -1
- package/dist-bundled/es/p-UVmSPzTd-DiTxS9kW.js +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as o, o as t } from "./p-
|
|
2
|
-
const
|
|
1
|
+
import { l as o, o as t } from "./p-KaaOtnwV-D7HTbhvI.js";
|
|
2
|
+
const s = o, m = t;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
s as GidsToggleButton,
|
|
5
|
+
m as defineCustomElement
|
|
6
6
|
};
|
|
@@ -38,7 +38,7 @@ const o = n(class extends l {
|
|
|
38
38
|
t && (t.removeEventListener("mouseenter", this.handleShowEvent), t.removeEventListener("focus", this.handleShowEvent), t.removeEventListener("mouseleave", this.handleHideEvent), t.removeEventListener("blur", this.handleHideEvent));
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return e(s, { key: "
|
|
41
|
+
return e(s, { key: "b0f08c29ac34e9b5dc1f0ebbc677d6eb0bc0e832" }, e("slot", { key: "a43f148f89fc86e1f02ee24a001159c3719e96e1" }), e("span", { key: "df16bd00d7b07684669ec8f446d9b9ddb4be2ada", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "03335fae5e572f20f19882a7ca30ca43b1199dca", id: "arrow" }), this.tooltipText));
|
|
42
42
|
}
|
|
43
43
|
disconnectedCallback() {
|
|
44
44
|
this.cleanupEventListeners(), this.floatingElementManager?.destroy();
|
|
@@ -59,8 +59,8 @@ function a() {
|
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
61
|
a();
|
|
62
|
-
const
|
|
62
|
+
const f = o, v = a;
|
|
63
63
|
export {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
f as GidsTooltip,
|
|
65
|
+
v as defineCustomElement
|
|
66
66
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as h, L as g, u as m, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as u } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
-
import { o as p } from "./p-
|
|
3
|
+
import { o as p } from "./p-KaaOtnwV-D7HTbhvI.js";
|
|
4
4
|
import { c as v } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const I = ({ expanded: e }, i) => v("gids-filter", {
|
|
6
6
|
"gids-filter--expanded": e
|
|
@@ -122,7 +122,7 @@ const I = ({ expanded: e }, i) => v("gids-filter", {
|
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
124
|
const e = this.expanded && this.isInteractive(), i = x({ expanded: e }), s = this.isMenuToggler(), t = typeof this.filterPickerId == "string" ? this.filterPickerId : void 0, l = t ? `${t}__menu` : void 0, n = this.selectedItemTitle ?? this.value ?? "", a = this.type === "more", r = this.type === "all", d = this.type === "none";
|
|
125
|
-
return o("div", { key: "
|
|
125
|
+
return o("div", { key: "7ce1a0e82d461380ec599d66d82176a6cb4d7912", class: i, "aria-control": l ?? "" }, o("gids-toggle-button", { key: "6b546ac9944f8adf858804484e420b6a41f44419", id: t, name: this.name, expanded: e, value: n, disabled: this.disabled, size: this.size, loading: this.loading, tabIndex: this.filterIndex, defaultSelected: this.filterDefaultSelected, selected: this.filterSelected || this.filterDefaultSelected, onSelect: this.handleFilterButtonClickToggle }, a || r ? o(u, { name: a ? "options" : "filter", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" }) : void 0, d || r ? n : void 0, s && !a ? o(u, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "trailingIcon" }) : void 0), o("div", { key: "f04a85608a8d2bad62687e78da08acca6838f93b", class: "gids-filter__menu", id: l, role: "pickerbox", onClick: this.handleMenuClick }, o("slot", { key: "ce7aeb157d8a342cc7ba0479637795516a4ae3b2", onSlotchange: () => this.evaluateSlottedMenuExistence() })));
|
|
126
126
|
}
|
|
127
127
|
get hostElement() {
|
|
128
128
|
return this;
|
|
@@ -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 { d as u } from "./p-Cn-t3SGc-CwvvOdlK.js";
|
|
4
|
+
import { l as v } from "./p-BQCMjWpK-CLxPNItn.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"
|
|
@@ -5,7 +5,7 @@ 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: p } = u, f = 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: "57aae828a0cdd8ac1044cdafab34dc0f76731814" }, o("div", { key: "3455d9ff33bf012679e0c25869cbdcf43ea40742", class: p() }, o("div", { key: "ca6948c95470527551c40ef14ae5af5e40a0e301", class: "gids-field__header", hidden: !this._hasLabelContent() }, o("slot", { key: "caac19c05af1b41de4e6301c3c7060bbb995cb5c", ref: this._setLabelSlot, name: "label", onSlotchange: this._handleControlSlotChange }), o("div", { key: "9151fef3965568bd2f9e7fc9971b56791b681de6", class: "gids-field__count", "aria-live": "polite" }, this.count)), o("div", { key: "b2e41f4ccb83f9c3b2f310250a28f68758689649", class: "gids-field__control" }, o("slot", { key: "faad5db257df90576e73fb7383c20ecc796c3b43", ref: this._setControlSlot, onSlotchange: this._handleControlSlotChange })), o("p", { key: "e4bc41ccde6d8713e599d6595aceeb7d60a833ed", 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), f));
|
|
175
175
|
}));
|
|
176
176
|
}
|
|
177
177
|
m();
|
|
178
178
|
export {
|
|
179
|
-
|
|
179
|
+
f as d,
|
|
180
180
|
m as h
|
|
181
181
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
3
|
-
import { c as
|
|
4
|
-
const o = ({ seriesType: e, orientation: a }, r) =>
|
|
2
|
+
import { d } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
+
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
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
|
|
6
6
|
"gids-chart-legend-item--series-2": e === "2",
|
|
7
7
|
"gids-chart-legend-item--series-3": e === "3",
|
|
@@ -26,7 +26,7 @@ const o = ({ seriesType: e, orientation: a }, r) => d("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: "95b40a19bc088a8a0ac0348f6360d1139f35bb23", class: e }, t("div", { key: "65238bd4092f415de80b88f3ac530f4a8831cdcd", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(d, { key: "9c828d91159da787d2490fea7986cc4dd3c3d4c3", name: "new", alt: "new_icon", appearance: "filled" })), t("span", { key: "acb00fec9429b31e483985cc2b06c9a7612a530d", class: "gids-chart-legend-item__label" }, t("slot", { key: "9b05c1308df2e4f3b706206740eb924f00a6a196" })));
|
|
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
|
+
h as d,
|
|
46
|
+
m as l
|
|
47
47
|
};
|
|
@@ -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
|
|
4
|
-
const
|
|
2
|
+
import { i as a } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
+
import { d } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
+
const n = 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 = a();
|
|
10
10
|
i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return o(
|
|
13
|
+
return o(d, { key: "955185abe280726949b4d98e59357e69b4aa7604", 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 c = 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 c() {
|
|
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), n));
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
c();
|
|
28
28
|
export {
|
|
29
|
-
c,
|
|
30
|
-
|
|
29
|
+
n as c,
|
|
30
|
+
c as d
|
|
31
31
|
};
|
|
@@ -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 L } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { d as $ } from "./p-Cn-t3SGc-CwvvOdlK.js";
|
|
4
|
+
import { l as E } from "./p-BQCMjWpK-CLxPNItn.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(L, { 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)) || $();
|
|
105
105
|
break;
|
|
106
106
|
case "gids-chart-legend-item":
|
|
107
107
|
customElements.get(x(a)) || E();
|
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
import { q as l, L as
|
|
2
|
-
import { o as h } from "./p-UVmSPzTd-
|
|
1
|
+
import { q as l, L as d, u as o, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o as h } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
3
|
import { d as c } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
5
|
+
import { l as u } from "./p-WHI6NO_h-DHNy0JzV.js";
|
|
6
|
+
import { u as b } from "./p-CkydANOS-CzTX9wng.js";
|
|
7
|
+
import { h as m } from "./p-DfrYaprq-CeZqb0rn.js";
|
|
7
8
|
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
8
|
-
const
|
|
9
|
+
const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
|
|
9
10
|
const t = new Date(2e3, e - 1, 1);
|
|
10
11
|
return new Intl.DateTimeFormat(a, { month: "long" }).format(t);
|
|
11
12
|
}, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
13
|
__proto__: null,
|
|
13
|
-
getCalendarMonthNameViaMonthNumber:
|
|
14
|
-
getGidsCalendarHeaderPanelClassNames:
|
|
15
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
16
|
-
function d(e) {
|
|
17
|
-
var a, t, n = "";
|
|
18
|
-
if (typeof e == "string" || typeof e == "number") n += e;
|
|
19
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
20
|
-
var i = e.length;
|
|
21
|
-
for (a = 0; a < i; a++) e[a] && (t = d(e[a])) && (n && (n += " "), n += t);
|
|
22
|
-
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
23
|
-
return n;
|
|
24
|
-
}
|
|
25
|
-
function y() {
|
|
26
|
-
for (var e, a, t = 0, n = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (a = d(e)) && (n && (n += " "), n += a);
|
|
27
|
-
return n;
|
|
28
|
-
}
|
|
29
|
-
const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNumber: s } = P, M = o(class extends p {
|
|
14
|
+
getCalendarMonthNameViaMonthNumber: f,
|
|
15
|
+
getGidsCalendarHeaderPanelClassNames: g
|
|
16
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarHeaderPanelClassNames: M, getCalendarMonthNameViaMonthNumber: r } = P, v = d(class extends o {
|
|
30
17
|
constructor(e) {
|
|
31
18
|
super(), e !== !1 && this.__registerHost(), this.appearance = "primary", this.monthPickerDisabled = !1, this.yearPickerDisabled = !1, this.panelDisabled = !1, this.previousDisabled = !1, this.nextDisabled = !1, this.expandedMonthPicker = !1, this.expandedYearPicker = !1, this.internalPreviousDisabled = !1, this.internalNextDisabled = !1, this.suppressNextMenuClickSelection = !1, this.suppressNextActionClickSelection = !1, this.fallbackYear = (/* @__PURE__ */ new Date()).getFullYear(), this.fallbackMonth = 1, this.fallbackStartYear = (/* @__PURE__ */ new Date()).getFullYear(), this.fallbackEndYear = (/* @__PURE__ */ new Date()).getFullYear() + 100, this.handleMonthPickerMenuClick = (a) => {
|
|
32
19
|
if (this.suppressNextMenuClickSelection) return;
|
|
@@ -38,20 +25,20 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
38
25
|
this.updateActionProps({ newSelectedMonthNumber: this?.panelMonthNumber ?? this.fallbackMonth, newSelectedYear: t?.year ?? this.fallbackYear }), this.applyYearSelection({ id: t.id, type: "year", month: this.panelMonth, monthNumber: Number(this?.panelMonthNumber), year: t?.year, disabled: !1, panelValue: `${this.panelMonth} ${t.year}` });
|
|
39
26
|
}, this.handlePreviousActionClick = (a) => {
|
|
40
27
|
if (this.suppressNextActionClickSelection || !(a.target instanceof Element) || !this.isPreviousActionInteractive()) return;
|
|
41
|
-
const { newSelectedMonthNumber: t, newSelectedYear:
|
|
42
|
-
this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear:
|
|
43
|
-
const
|
|
44
|
-
this.applyActionsSelection({ type: "previous", month:
|
|
28
|
+
const { newSelectedMonthNumber: t, newSelectedYear: i } = this.onPreviousActionChange();
|
|
29
|
+
this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear: i });
|
|
30
|
+
const s = r(t);
|
|
31
|
+
this.applyActionsSelection({ type: "previous", month: s, monthNumber: t, year: i, disabled: !1, panelValue: `${s} ${i}` });
|
|
45
32
|
}, this.handleNextActionClick = (a) => {
|
|
46
33
|
if (this.suppressNextActionClickSelection || !(a.target instanceof Element) || !this.isNextActionInteractive()) return;
|
|
47
|
-
const { newSelectedMonthNumber: t, newSelectedYear:
|
|
48
|
-
this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear:
|
|
49
|
-
const
|
|
50
|
-
this.applyActionsSelection({ type: "next", month:
|
|
34
|
+
const { newSelectedMonthNumber: t, newSelectedYear: i } = this.onNextActionChange();
|
|
35
|
+
this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear: i });
|
|
36
|
+
const s = r(t);
|
|
37
|
+
this.applyActionsSelection({ type: "next", month: s, monthNumber: t, year: i, disabled: !1, panelValue: `${s} ${i}` });
|
|
51
38
|
};
|
|
52
39
|
}
|
|
53
40
|
handleSelectedMonthNumberChange(e) {
|
|
54
|
-
e != null && (this.panelMonthNumber = e, this.panelMonth =
|
|
41
|
+
e != null && (this.panelMonthNumber = e, this.panelMonth = r(e), this.syncPanelDisplayValue());
|
|
55
42
|
}
|
|
56
43
|
handleSelectedYearChange(e) {
|
|
57
44
|
e != null && (this.panelYear = e, this.syncPanelDisplayValue());
|
|
@@ -72,7 +59,7 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
72
59
|
this.appearance = e;
|
|
73
60
|
}
|
|
74
61
|
connectedCallback() {
|
|
75
|
-
this.panelMonthNumber = this.selectedMonthNumber ?? this.fallbackMonth, this.panelMonth =
|
|
62
|
+
this.panelMonthNumber = this.selectedMonthNumber ?? this.fallbackMonth, this.panelMonth = r(this.selectedMonthNumber ?? this.fallbackMonth), this.panelYear = this.selectedYear ?? this.fallbackYear, this.panelDisplayValue = `${this.panelMonth} ${this.panelYear}`, this.syncPanelDisplayValue(), this.setPreviousActionInteractivity(), this.setNextActionInteractivity();
|
|
76
63
|
}
|
|
77
64
|
applyMonthSelection(e) {
|
|
78
65
|
this.setExpandedMonthPickerState(!1, this.coerceEvent(e?.originalEvent)), this.setPreviousActionInteractivity(), this.setNextActionInteractivity(), this.onPanelMonthChange?.(e), this.hostElement.dispatchEvent(new CustomEvent("gidsPanelMonthChange", { bubbles: !0, composed: !0, detail: e }));
|
|
@@ -124,7 +111,7 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
124
111
|
if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
|
|
125
112
|
}
|
|
126
113
|
updatePanelMonth(e) {
|
|
127
|
-
e ? (this.selectedMonthNumber = e, this.panelMonth =
|
|
114
|
+
e ? (this.selectedMonthNumber = e, this.panelMonth = r(e), this.panelMonthNumber = e) : (this.selectedMonthNumber = this.fallbackMonth, this.panelMonth = r(this.fallbackMonth), this.panelMonthNumber = this.fallbackMonth);
|
|
128
115
|
}
|
|
129
116
|
updatePanelYear(e) {
|
|
130
117
|
e ? (this.selectedYear = e, this.panelYear = e) : this.panelYear = this.fallbackYear;
|
|
@@ -142,8 +129,8 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
142
129
|
return this.panelDisplayValue;
|
|
143
130
|
}
|
|
144
131
|
render() {
|
|
145
|
-
const e =
|
|
146
|
-
return
|
|
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: "e4b66a94d8231d12b192fcd4604ed00785cdbe91", class: e }, n(h, { key: "d85879529f2f84aba5767c7d144b427e69ca1a04", 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: "2aab7043594f93444499b37616c7e67fe79d02ba", class: "gids-calendar-header-panel__main-container" }, n("gids-dropdown-picker", { key: "239d01bd37c5364fc6cf05542799c65c05070c07", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, n("gids-calendar-month-list", { key: "1ef396f99523642bf8d789f0781505fc338ed622", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), n("span", { key: "53a67033648d85511c6a78488b68c1cab5944b83", class: p("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), n("gids-dropdown-picker", { key: "578c5efef11f30ac846e51edc7931f1e945f7de7", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, n("gids-calendar-year-list", { key: "281aae60274864b42473b66d87fbe97143c9232f", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), n(h, { key: "dfe96fcc37c604f220dcc95568fb8c94e44493dc", leadingIcon: n(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: s }));
|
|
147
134
|
}
|
|
148
135
|
get hostElement() {
|
|
149
136
|
return this;
|
|
@@ -155,11 +142,11 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
155
142
|
return ".gids-calendar-header-panel{display:flex;justify-content:center;align-items:center;align-self:stretch;gap:var(--gids-gap-150);width:100%}.gids-calendar-header-panel__main-container{display:flex;flex:1 0 0;align-items:center;justify-content:center;align-self:stretch;gap:var(--gids-gap-100)}.gids-calendar-header-panel__panel-value{font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);text-align:center}.gids-calendar-header-panel__panel-value-disabled{color:var(--gids-color-text-disabled)}";
|
|
156
143
|
}
|
|
157
144
|
}, [0, "gids-calendar-header-panel", { selectedMonthNumber: [1538, "selected-month-number"], selectedYear: [1538, "selected-year"], startYear: [1538, "start-year"], endYear: [1538, "end-year"], appearance: [1], monthPickerDisabled: [4, "month-picker-disabled"], yearPickerDisabled: [4, "year-picker-disabled"], panelDisabled: [4, "panel-disabled"], previousDisabled: [4, "previous-disabled"], nextDisabled: [4, "next-disabled"], expandedMonthPicker: [1540, "expanded-month-picker"], expandedYearPicker: [1540, "expanded-year-picker"], onPreviousChange: [16], onNextChange: [16], onPanelMonthChange: [16], onPanelYearChange: [16], panelMonth: [32], panelMonthNumber: [32], panelYear: [32], panelDisplayValue: [32], internalPreviousDisabled: [32], internalNextDisabled: [32] }, void 0, { selectedMonthNumber: [{ handleSelectedMonthNumberChange: 0 }], selectedYear: [{ handleSelectedYearChange: 0 }], expandedMonthPicker: [{ handleExpandedMonthPickerChange: 0 }], expandedYearPicker: [{ handleExpandedYearPickerChange: 0 }], monthPickerDisabled: [{ handleMonthPickerInteractivityChange: 0 }], yearPickerDisabled: [{ handleYearPickerInteractivityChange: 0 }], appearance: [{ handleAppearanceChange: 0 }] }]);
|
|
158
|
-
function
|
|
145
|
+
function y() {
|
|
159
146
|
typeof customElements < "u" && ["gids-calendar-header-panel", "gids-calendar-month-list", "gids-calendar-year-list", "gids-dropdown-picker"].forEach(((e) => {
|
|
160
147
|
switch (e) {
|
|
161
148
|
case "gids-calendar-header-panel":
|
|
162
|
-
customElements.get(l(e)) || customElements.define(l(e),
|
|
149
|
+
customElements.get(l(e)) || customElements.define(l(e), v);
|
|
163
150
|
break;
|
|
164
151
|
case "gids-calendar-month-list":
|
|
165
152
|
customElements.get(l(e)) || u();
|
|
@@ -172,9 +159,9 @@ function Y() {
|
|
|
172
159
|
}
|
|
173
160
|
}));
|
|
174
161
|
}
|
|
175
|
-
|
|
162
|
+
y();
|
|
176
163
|
export {
|
|
177
|
-
|
|
164
|
+
v as m,
|
|
178
165
|
P as r,
|
|
179
|
-
|
|
166
|
+
y as u
|
|
180
167
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as i, L as o, u as n, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
import { d as r } from "./p-
|
|
3
|
+
import { d as r } from "./p-BeP2XcqY-DMXmX4Mc.js";
|
|
4
4
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
6
6
|
"gids-dot--disabled": a,
|
|
@@ -41,7 +41,7 @@ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
|
41
41
|
this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return l("gids-icon", { key: "
|
|
44
|
+
return l("gids-icon", { key: "f3def666269d9c84a93ec4224d077eabda4ffcd8", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
|
|
45
45
|
}
|
|
46
46
|
get _el() {
|
|
47
47
|
return this;
|
|
@@ -53,7 +53,7 @@ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
|
53
53
|
return ".gids-dot{display:flex;--gidsDotIcon-height:var(--gids-size-040);--gidsIcon-height:var(--gidsDotIcon-height);--gidsDotIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsDotIcon-color)}.gids-dot--sm{--gidsDotIcon-height:var(--gids-size-060)}.gids-dot--md{--gidsDotIcon-height:var(--gids-size-080)}.gids-dot--lg{--gidsDotIcon-height:var(--gids-size-100)}.gids-dot--xl{--gidsDotIcon-height:var(--gids-size-120)}.gids-dot--2xl{--gidsDotIcon-height:var(--gids-size-160)}.gids-dot--3xl{--gidsDotIcon-height:var(--gids-size-200)}.gids-dot--subtle{--gidsDotIcon-color:var(--gids-color-icon-subtle)}.gids-dot--static-inverse{--gidsDotIcon-color:var(--gids-color-icon-inverse)}.gids-dot--disabled{--gidsDotIcon-color:var(--gids-color-icon-disabled)}";
|
|
54
54
|
}
|
|
55
55
|
}, [0, "gids-dot", { extraClasses: [513, "extra-classes"], appearance: [513], size: [513], disabled: [516], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], appearance: [{ handleExtraClassesAndSizeChange: 0 }, { handleAppearanceChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleExtraClassesAndSizeChange: 0 }, { handleDisabledChange: 0 }] }]);
|
|
56
|
-
function
|
|
56
|
+
function x() {
|
|
57
57
|
typeof customElements < "u" && ["gids-dot", "gids-icon"].forEach(((s) => {
|
|
58
58
|
switch (s) {
|
|
59
59
|
case "gids-dot":
|
|
@@ -64,8 +64,8 @@ function b() {
|
|
|
64
64
|
}
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
x();
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
x as g,
|
|
70
70
|
C as h
|
|
71
71
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function i(r) {
|
|
2
|
+
var f, t, n = "";
|
|
3
|
+
if (typeof r == "string" || typeof r == "number") n += r;
|
|
4
|
+
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
5
|
+
var o = r.length;
|
|
6
|
+
for (f = 0; f < o; f++) r[f] && (t = i(r[f])) && (n && (n += " "), n += t);
|
|
7
|
+
} else for (t in r) r[t] && (n && (n += " "), n += t);
|
|
8
|
+
return n;
|
|
9
|
+
}
|
|
10
|
+
function a() {
|
|
11
|
+
for (var r, f, t = 0, n = "", o = arguments.length; t < o; t++) (r = arguments[t]) && (f = i(r)) && (n && (n += " "), n += f);
|
|
12
|
+
return n;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
a as e
|
|
16
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as d, L as
|
|
1
|
+
import { q as d, L as o, u as h, D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { m as u, x as m, N as Y } from "./p-D6lxqcxP-DWrZi1Xi.js";
|
|
3
3
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
@@ -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 = o(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: c } = 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: c, 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: "437079d36b448c67c91fd2bb32bee64b6f57520d", class: e }, i(u, { key: "2bddf92e842bbc64b382d62a9f35a238496ce9c7", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "272a885760064e8c6979d2acd895df5babda30c9", 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,22 +1,22 @@
|
|
|
1
|
-
import { q as
|
|
1
|
+
import { q as e, L as i, u as r, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { c as s } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
const o = ({ orientation:
|
|
3
|
+
const o = ({ orientation: t }, a) => s("gids-chart-legend", {
|
|
4
4
|
// 'gids-chart-legend--orientation-horizontal':
|
|
5
5
|
// orientation === 'horizontal', // not needed as by default
|
|
6
|
-
"gids-chart-legend--orientation-vertical":
|
|
7
|
-
},
|
|
6
|
+
"gids-chart-legend--orientation-vertical": t === "vertical"
|
|
7
|
+
}, a), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsChartLegendClassNames: o
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: l } = d, c =
|
|
11
|
-
constructor(
|
|
12
|
-
super(),
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: l } = d, c = i(class extends r {
|
|
11
|
+
constructor(t) {
|
|
12
|
+
super(), t !== !1 && this.__registerHost(), this.orientation = "horizontal";
|
|
13
13
|
}
|
|
14
|
-
handleOrientationChange(
|
|
15
|
-
this.orientation =
|
|
14
|
+
handleOrientationChange(t) {
|
|
15
|
+
this.orientation = t;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
const
|
|
19
|
-
return n("div", { key: "
|
|
18
|
+
const t = l({ orientation: this.orientation });
|
|
19
|
+
return n("div", { key: "9a2373a89d0abf628fb88acffb9f30c23b65ddad", class: t }, n("slot", { key: "bf7b24fc56282dad2ada575add2744bf062965f5" }));
|
|
20
20
|
}
|
|
21
21
|
static get watchers() {
|
|
22
22
|
return { orientation: [{ handleOrientationChange: 0 }] };
|
|
@@ -26,12 +26,12 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
26
26
|
}
|
|
27
27
|
}, [260, "gids-chart-legend", { orientation: [1] }, void 0, { orientation: [{ handleOrientationChange: 0 }] }]);
|
|
28
28
|
function g() {
|
|
29
|
-
typeof customElements < "u" && ["gids-chart-legend"].forEach(((
|
|
30
|
-
|
|
29
|
+
typeof customElements < "u" && ["gids-chart-legend"].forEach(((t) => {
|
|
30
|
+
t === "gids-chart-legend" && (customElements.get(e(t)) || customElements.define(e(t), c));
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
33
|
g();
|
|
34
34
|
export {
|
|
35
|
-
g as
|
|
35
|
+
g as d,
|
|
36
36
|
c as r
|
|
37
37
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as s, L as l, u, D as a, F as
|
|
1
|
+
import { q as s, L as l, u, D as a, F as r } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as n } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
-
import { l as
|
|
3
|
+
import { l as d } 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;
|
|
@@ -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 a(
|
|
57
|
+
return a(r, { key: "3364c49f298dc7205bfd1b173f7eeaf2f89c7c9a" }, a("slot", { key: "c997142ff339b65f0631afeb7996bc50f921c82a", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "ef61a3c8a1fb0e796cc7a783cc87054c8186af06", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "5c9b81e5ac0367f31d303f0310b6f2e65b085223", name: "leadingAccessory" }), a("input", { key: "6435d4d1e656d4ca44c7800ccb888090d40b59cd", ...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 }), a("slot", { key: "
|
|
59
|
+
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "c5e15100d71349d57f3d0af1f8e5ab6b6808b350", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "50ee400d7731b6ae7de40cb918ee2f3887fa2857", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "62e4f88e0e73611a4ccd2952b2d907ae430ad1de", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "7594ffc84d2fecca11158d91eaabcf023586778a", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "24fd3813e2aa8d5139da021064c62333bbec9592", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(d, { key: "bbf9ac97350dfb2a84c3a4c1095c5baa886ad3c9", 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 d,
|
|
73
73
|
h as r
|
|
74
74
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as d, L as u, u as p, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as m } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
-
import { r as g } from "./p-
|
|
3
|
+
import { r as g } from "./p-DA_atCAU-KdxJYYDE.js";
|
|
4
4
|
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
6
6
|
"gids-dropdown--expanded": e
|
|
@@ -12,7 +12,7 @@ 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: I, getGidsChevronButtonControlClassNames: E } = y, l = "gids-dropdown-item--active", b = 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
18
|
const { value: i, title: n, disabled: s, id: o, isPlaceholderItem: r } = t.detail;
|
|
@@ -210,10 +210,10 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
|
210
210
|
}, e;
|
|
211
211
|
}
|
|
212
212
|
render() {
|
|
213
|
-
const e = this.expanded && this.isInteractive(), t =
|
|
213
|
+
const e = this.expanded && this.isInteractive(), t = I({ expanded: e }), i = this.getEnhancedInputProps(), n = typeof i.id == "string" ? i.id : void 0, s = n ? `${n}__menu` : void 0;
|
|
214
214
|
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 ?? "", r = e ? "true" : "false", c = a("button", { key: "
|
|
216
|
-
return a("div", { key: "
|
|
215
|
+
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", r = e ? "true" : "false", c = a("button", { key: "99a40510073627975e39603ce6a8221afa33b1fd", class: E({ 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: "aaa7754a3a47f4b3d9fd87876ef0d325c2257a13", class: "gids-button__content" }, a(m, { key: "666627197262d2001c5daf094b0672ddefea4259", name: "chevron-vertical", alt: "" })));
|
|
216
|
+
return a("div", { key: "377633cfdf472a56971b063704e1cc062900f15a", class: t }, a("gids-input", { key: "a33f3bf0dded59fb75e17413e74185a7c61f9694", 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: "bcf24ea40c3818afc738167ce5f840170c243e64", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "01a8ac787d71ebd9f4c785cc43ced091de62962f", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), c), a("div", { key: "5de88270802bd09428e42b2f5a9960ab63a4a181", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "fb52af150876d3805ce00d5dff14ff02378b9415" })));
|
|
217
217
|
}
|
|
218
218
|
get hostElement() {
|
|
219
219
|
return this;
|
|
@@ -229,7 +229,7 @@ function x() {
|
|
|
229
229
|
typeof customElements < "u" && ["gids-dropdown", "gids-input"].forEach(((e) => {
|
|
230
230
|
switch (e) {
|
|
231
231
|
case "gids-dropdown":
|
|
232
|
-
customElements.get(d(e)) || customElements.define(d(e),
|
|
232
|
+
customElements.get(d(e)) || customElements.define(d(e), b);
|
|
233
233
|
break;
|
|
234
234
|
case "gids-input":
|
|
235
235
|
customElements.get(d(e)) || g();
|
|
@@ -238,6 +238,6 @@ function x() {
|
|
|
238
238
|
}
|
|
239
239
|
x();
|
|
240
240
|
export {
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
b as c,
|
|
242
|
+
x as l
|
|
243
243
|
};
|