@ganpatiinfo/gids-core-web 15.0.0 → 16.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 +598 -0
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-advanced-tooltip.d.ts +1 -1
- package/dist/gids-advanced-tooltip.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.d.ts +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.d.ts +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.d.ts +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-header-navigation-item.d.ts +11 -0
- package/dist/gids-header-navigation-item.js +1 -0
- package/dist/gids-header-navigation.d.ts +11 -0
- package/dist/gids-header-navigation.js +1 -0
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-profile-menu-header.d.ts +11 -0
- package/dist/gids-profile-menu-header.js +1 -0
- package/dist/gids-profile-menu.d.ts +11 -0
- package/dist/gids-profile-menu.js +1 -0
- package/dist/gids-profile.d.ts +11 -0
- package/dist/gids-profile.js +1 -0
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-skeleton.d.ts +1 -1
- package/dist/gids-skeleton.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/gids-transfer-list.d.ts +1 -1
- package/dist/gids-transfer-list.js +1 -1
- package/dist/{p-Iqbf3Pja.js → p-BrYLEey4.js} +1 -1
- package/dist/p-Bs8TP3Rb.js +1 -0
- package/dist/p-Bw2pVReY.js +1 -0
- package/dist/{p-BtKwhIx5.js → p-Bzjuvoza.js} +1 -1
- package/dist/p-C-HyXFGR.js +1 -0
- package/dist/{p-Cyant-dw.js → p-CCpxJ8wu.js} +1 -1
- package/dist/p-CXFvqDBs.js +1 -0
- package/dist/{p-DLauG0q8.js → p-CZBiavxU.js} +1 -1
- package/dist/p-CcpdJCql.js +1 -0
- package/dist/{p-BKIsp763.js → p-Chb2OeFe.js} +1 -1
- package/dist/{p-Df5xaj-o.js → p-CiWZdp48.js} +1 -1
- package/dist/{p-DaqhrFRM.js → p-Co23kQaH.js} +1 -1
- package/dist/{p-DshXkAUj.js → p-DAuO4g6g.js} +1 -1
- package/dist/{p-BF46eY8H.js → p-DELTZ9Fh.js} +1 -1
- package/dist/{p-CLm5opt9.js → p-DGXqnrKo.js} +1 -1
- package/dist/p-DObJEzlz.js +1 -0
- package/dist/{p-MnCDY1k9.js → p-DbaNvRpS.js} +1 -1
- package/dist/{p-Dvh4sPkD.js → p-Dd-ec-e0.js} +1 -1
- package/dist/{p-DhtEw_C2.js → p-DiTjFG30.js} +1 -1
- package/dist/{p-Db4qRSmH.js → p-DxX3B1f0.js} +1 -1
- package/dist/{p-B0Nc9rVM.js → p-UDG6tkD1.js} +1 -1
- package/dist/p-bhEHIxPv.js +1 -0
- package/dist/{p-BgvpzBUx.js → p-d-t7__OQ.js} +1 -1
- package/dist/p-oJFgjzK5.js +1 -0
- package/dist/p-pVSQxFDF.js +1 -0
- package/dist/{p-DGenc1qz.js → p-u06XOrpj.js} +1 -1
- package/dist/types/components/webComponents/GidsHeaderNavigation/GidsHeaderNavigation.d.ts +51 -0
- package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +42 -0
- package/dist/types/components/webComponents/GidsProfile/GidsProfile.d.ts +66 -0
- package/dist/types/components/webComponents/GidsProfileMenu/GidsProfileMenu.d.ts +29 -0
- package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +30 -0
- package/dist/types/components.d.ts +596 -2
- package/dist-bundled/es/gids-action-bar.js +22 -21
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
- package/dist-bundled/es/gids-bar-chart.js +4 -4
- package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +2 -2
- package/dist-bundled/es/gids-calendar.js +24 -24
- package/dist-bundled/es/gids-chart-legend-item.js +1 -1
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +7 -7
- package/dist-bundled/es/gids-chevron-button.js +4 -4
- package/dist-bundled/es/gids-dot.js +2 -2
- package/dist-bundled/es/gids-dropdown-field.js +9 -9
- package/dist-bundled/es/gids-dropdown-picker.js +4 -4
- package/dist-bundled/es/gids-dropdown.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list-item.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list.js +2 -2
- package/dist-bundled/es/gids-expansion-group.js +5 -5
- package/dist-bundled/es/gids-expansion.js +1 -1
- package/dist-bundled/es/gids-field.js +2 -2
- package/dist-bundled/es/gids-filter.js +2 -2
- package/dist-bundled/es/gids-header-navigation-item.js +6 -0
- package/dist-bundled/es/gids-header-navigation.js +134 -0
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +2 -2
- package/dist-bundled/es/gids-line-chart.js +3 -3
- package/dist-bundled/es/gids-md-table.js +59 -59
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +12 -12
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-profile-menu-header.js +6 -0
- package/dist-bundled/es/gids-profile-menu.js +6 -0
- package/dist-bundled/es/gids-profile.js +199 -0
- package/dist-bundled/es/gids-scrim.js +1 -1
- package/dist-bundled/es/gids-skeleton.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +16 -36
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +6 -6
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +1 -1
- package/dist-bundled/es/gids-transfer-list.js +3 -3
- package/dist-bundled/es/p-Bs8TP3Rb-BdcS7d5q.js +20 -0
- package/dist-bundled/es/{p-9NZjfY_u-CnjUEy1y.js → p-Bw2pVReY-K9pdG-hw.js} +2 -2
- package/dist-bundled/es/{p-BtKwhIx5-DTEmfdxe.js → p-Bzjuvoza-CzNs69NV.js} +12 -12
- package/dist-bundled/es/{p-D7qanqNO-Dby5jSjA.js → p-C-HyXFGR-UnFcWLOQ.js} +6 -5
- package/dist-bundled/es/{p-Cyant-dw-Ch2zYNkx.js → p-CCpxJ8wu-CMYQqNoP.js} +6 -6
- package/dist-bundled/es/p-CXFvqDBs-offadaUn.js +27 -0
- package/dist-bundled/es/{p-DLauG0q8-CCUuzYl9.js → p-CZBiavxU-CIstIm2b.js} +9 -9
- package/dist-bundled/es/p-CcpdJCql-CkEW2RAp.js +64 -0
- package/dist-bundled/es/{p-BKIsp763-CqL9MgyZ.js → p-Chb2OeFe-DDv_WPhe.js} +1 -1
- package/dist-bundled/es/{p-Df5xaj-o-fxAXUmag.js → p-CiWZdp48-1vf7Xh2R.js} +5 -5
- package/dist-bundled/es/{p-DaqhrFRM-2PqBeu5o.js → p-Co23kQaH-QJyKkzgc.js} +3 -3
- package/dist-bundled/es/{p-DshXkAUj-DgCiQIA2.js → p-DAuO4g6g-C8miaL-N.js} +6 -6
- package/dist-bundled/es/{p-BF46eY8H-Xn8Fl9EI.js → p-DELTZ9Fh-Byr0nLtY.js} +2 -2
- package/dist-bundled/es/{p-CLm5opt9-DlxkI38w.js → p-DGXqnrKo-C7feKS94.js} +5 -5
- package/dist-bundled/es/p-DObJEzlz-tt9h5cuI.js +17 -0
- package/dist-bundled/es/{p-MnCDY1k9-CgbTyJ5R.js → p-DbaNvRpS-r7kCW1TY.js} +9 -9
- package/dist-bundled/es/{p-Dvh4sPkD-B-T5C03p.js → p-Dd-ec-e0-BqX_F6y0.js} +5 -5
- package/dist-bundled/es/{p-DhtEw_C2-D_91JSPC.js → p-DiTjFG30-CQkxfu2K.js} +2 -2
- package/dist-bundled/es/{p-Db4qRSmH-B5pzOeve.js → p-DxX3B1f0-D1URliVh.js} +5 -5
- package/dist-bundled/es/{p-B0Nc9rVM-SBit1KrF.js → p-UDG6tkD1-JTLPxkEn.js} +5 -5
- package/dist-bundled/es/p-bhEHIxPv-ujyxL30O.js +136 -0
- package/dist-bundled/es/{p-BgvpzBUx-iq-eKBVZ.js → p-d-t7__OQ-CKPQZt2t.js} +3 -3
- package/dist-bundled/es/p-oJFgjzK5-CzagP1qD.js +99 -0
- package/dist-bundled/es/{p-CZxn31uZ-BBHM983b.js → p-pVSQxFDF-CsWxUaZX.js} +10 -9
- package/dist-bundled/es/{p-DGenc1qz-CMwVEtCm.js → p-u06XOrpj-C1tNznDd.js} +6 -6
- 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-advanced-tooltip.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 +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- 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 +1 -1
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- 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 +2 -2
- package/dist-bundled/umd/gids-header-navigation-item.umd.js +5 -0
- package/dist-bundled/umd/gids-header-navigation.umd.js +5 -0
- 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 +1 -1
- package/dist-bundled/umd/gids-md-table.umd.js +1 -1
- 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 +1 -1
- 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-profile-menu-header.umd.js +5 -0
- package/dist-bundled/umd/gids-profile-menu.umd.js +5 -0
- package/dist-bundled/umd/gids-profile.umd.js +5 -0
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
- 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/gids-transfer-list.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
- package/package.json +44 -4
- package/dist/p-474lVBcu.js +0 -1
- package/dist/p-9NZjfY_u.js +0 -1
- package/dist/p-CZxn31uZ.js +0 -1
- package/dist/p-D7qanqNO.js +0 -1
- package/dist-bundled/es/p-474lVBcu-B1f8x2o1.js +0 -31
- /package/dist-bundled/es/{p-Iqbf3Pja-DuajY4uD.js → p-BrYLEey4-DuajY4uD.js} +0 -0
|
@@ -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
|
|
2
|
+
import { i as a } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
+
import { d } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
const c = 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: "0df7b2a3d5ce805afa4a3e72a868ba027272d333", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
|
|
14
14
|
}
|
|
15
15
|
get _el() {
|
|
16
16
|
return this;
|
|
@@ -26,6 +26,6 @@ function n() {
|
|
|
26
26
|
}
|
|
27
27
|
n();
|
|
28
28
|
export {
|
|
29
|
-
c as
|
|
30
|
-
n
|
|
29
|
+
c as a,
|
|
30
|
+
n as c
|
|
31
31
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { n as a } from "./nonEmpty-B284_5ai.js";
|
|
3
|
+
import { c } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const i = 99, b = (e, t, n) => e === "dot" || t !== void 0 && t > i || n, p = (e, t) => e === void 0 ? t ?? "" : e > i ? `${i}+` : e.toString(), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
|
+
__proto__: null,
|
|
6
|
+
getDisplayContent: p,
|
|
7
|
+
maxCount: i,
|
|
8
|
+
shouldIncludeA11yText: b
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), m = ({ appearance: e, type: t, outline: n }, s) => c("gids-badge", {
|
|
10
|
+
"gids-badge--danger": e === "danger",
|
|
11
|
+
"gids-badge--positive": e === "positive",
|
|
12
|
+
"gids-badge--warning": e === "warning",
|
|
13
|
+
"gids-badge--inverse": e === "inverse"
|
|
14
|
+
}, {
|
|
15
|
+
"gids-badge--dot": t === "dot"
|
|
16
|
+
}, {
|
|
17
|
+
"gids-badge--outline": n
|
|
18
|
+
}, s), y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
|
+
__proto__: null,
|
|
20
|
+
getGidsBadgeClassNames: m
|
|
21
|
+
}, Symbol.toStringTag, { value: "Module" })), { getDisplayContent: r, shouldIncludeA11yText: _ } = f, { getGidsBadgeClassNames: v } = y, T = ({ appearance: e, type: t, count: n, accessibleText: s, outline: g, class: l, ...u }) => {
|
|
22
|
+
const d = _(t, n, a(s));
|
|
23
|
+
return o("span", { class: v({ appearance: e, type: t, outline: g }, l), ...u }, d && o("span", { class: "gids-visually-hidden" }, a(s) ? s : n), t === "notification" ? d ? o("span", { "aria-hidden": "true" }, r(n, s)) : r(n, s) : null);
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
T as p
|
|
27
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { q as s, L as l, u as
|
|
1
|
+
import { q as s, L as l, u as i, z as d, D as t, P as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { o } from "./p-UVmSPzTd-CR1higgJ.js";
|
|
3
|
-
import { i as
|
|
4
|
-
const
|
|
3
|
+
import { i as a } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
|
+
const c = l(class extends i {
|
|
5
5
|
constructor(e) {
|
|
6
|
-
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select =
|
|
6
|
+
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = d(this, "select"), this._toggle = this._toggle.bind(this);
|
|
7
7
|
}
|
|
8
8
|
handleSelctedChange(e) {
|
|
9
9
|
this.selected !== e && (this.selected = e);
|
|
10
10
|
}
|
|
11
11
|
connectedCallback() {
|
|
12
|
-
const e =
|
|
12
|
+
const e = a();
|
|
13
13
|
e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
|
|
14
14
|
}
|
|
15
15
|
_toggle() {
|
|
@@ -17,9 +17,9 @@ const a = l(class extends d {
|
|
|
17
17
|
this._el.selected = e, this.select?.emit(e), this.selected = e;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return t(n, { key: "
|
|
20
|
+
return t(n, { key: "1983afcf383a912114f488508c106e78947258ef" }, t("style", { key: "f982a6113f2fee97b24fe1253a8c4d5e472970c2" }, `:host {
|
|
21
21
|
display: ${this.width === "full" ? "block" : "inline-block"}
|
|
22
|
-
}`), t(o, { key: "
|
|
22
|
+
}`), t(o, { key: "2cfddcc0c052d848a904edab75665bd5082b3277", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "7537b4d1f9d6ae68a3d03ed589efe3e564281a4b" })));
|
|
23
23
|
}
|
|
24
24
|
_onlyHasLeadingIcon() {
|
|
25
25
|
const e = this._el.childNodes;
|
|
@@ -34,11 +34,11 @@ const a = l(class extends d {
|
|
|
34
34
|
}, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [1540] }, void 0, { selected: [{ handleSelctedChange: 0 }] }]);
|
|
35
35
|
function h() {
|
|
36
36
|
typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
|
|
37
|
-
e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e),
|
|
37
|
+
e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e), c));
|
|
38
38
|
}));
|
|
39
39
|
}
|
|
40
40
|
h();
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
c as l,
|
|
43
43
|
h as o
|
|
44
44
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { q as h, L as I, u as f, D as s, P as p } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { b as c, v as g } from "./p-BrYLEey4-DuajY4uD.js";
|
|
3
|
+
import { i as b, a as v } from "./p-Bs8TP3Rb-BdcS7d5q.js";
|
|
4
|
+
import { u as P } from "./p-oJFgjzK5-CzagP1qD.js";
|
|
5
|
+
import { c as M } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
const x = (i) => M("gids-profile-menu", i), S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
getGidsProfileMenuClassNames: x
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsProfileMenuClassNames: V } = S, y = I(class extends f {
|
|
10
|
+
constructor(i) {
|
|
11
|
+
super(), i !== !1 && this.__registerHost(), this.headerVisible = !1, this.listSectionDividerVisible = !1, this.headerDividerVisible = !0, this.profileMenuItems = [], this.selectedProfileMenuItem = void 0, this.onListItemPress = ({ event: e, sectionIndex: r, itemIndex: n, item: t }) => {
|
|
12
|
+
const l = { ...t, sectionIndex: r, itemIndex: n };
|
|
13
|
+
this.onProfileMenuItemPress && !this.isItemAlreadySelected(l) && this.onProfileMenuItemPress({ originalEvent: e, id: t.id, sectionIndex: r, itemIndex: n, leadingLabel: t?.leadingLabel, leadingSupport: t?.leadingSupport, trailingLabel: t?.trailingLabel, trailingSupport: t?.trailingSupport }), this.profileMenuItemSelection(l);
|
|
14
|
+
}, this.profileMenuItemSelection = (e) => {
|
|
15
|
+
e?.id && (this.isItemAlreadySelected(e) || (this.selectedProfileMenuItem = e));
|
|
16
|
+
}, this.isItemAlreadySelected = (e) => e.id === this?.selectedProfileMenuItem?.id && e?.sectionIndex === this?.selectedProfileMenuItem?.sectionIndex && e?.itemIndex === this?.selectedProfileMenuItem?.itemIndex, this.isThisItemSelected = (e) => e?.id === this?.selectedProfileMenuItem?.id && e?.sectionIndex === this?.selectedProfileMenuItem?.sectionIndex && e?.itemIndex === this?.selectedProfileMenuItem?.itemIndex, this.hasHeaderItem = () => {
|
|
17
|
+
const e = this?.headerItem;
|
|
18
|
+
return !(!this?.headerVisible || !(e?.avatarVisible || e?.avatarProps && Object.keys(e).length > 0 || e?.headerSupportingText || e?.headerTitle));
|
|
19
|
+
}, this.hasProfileMenuItems = () => {
|
|
20
|
+
const e = this?.profileMenuItems ?? [];
|
|
21
|
+
return !!(e.length > 0 && e[0]?.items && e[0].items.length > 0 || this.hasHeaderItem());
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
headerItemChanged(i) {
|
|
25
|
+
this.headerItem = i;
|
|
26
|
+
}
|
|
27
|
+
headerVisibleChanged(i) {
|
|
28
|
+
this.headerVisible = i;
|
|
29
|
+
}
|
|
30
|
+
profileMenuItemsChanged(i) {
|
|
31
|
+
this.profileMenuItems = i;
|
|
32
|
+
}
|
|
33
|
+
connectedCallback() {
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
const i = this?.headerItem, e = this?.headerVisible, r = this?.headerDividerVisible, n = this?.listSectionDividerVisible, t = this?.profileMenuItems ?? [], l = V();
|
|
37
|
+
return s(p, { key: "407f61b49299da79647d4896ae4aa5b5e1e47646", class: l }, s(b, { key: "6fb114148ee80d37e707f6c7fe74670b6f9b5fd2", type: this.hasProfileMenuItems() ? "default" : "no-options" }, e ? s("div", { class: "gids-profile-menu__header-container" }, s("gids-profile-menu-header", { ...i, onHeaderAvatarPress: this.onHeaderAvatarPress, onHeaderTitlePress: this.onHeaderTitlePress, onHeaderSupportingTextPress: this.onHeaderSupportingTextPress })) : void 0, r && this.hasHeaderItem() ? s("div", { class: "gids-profile-menu__header-divider-container" }, s(c, null)) : void 0, t.map(((m, a) => s(v, { key: `${a + 1}`, sectionLabel: m?.sectionLabel ?? "" }, (m?.items ?? []).map(((d, o) => s(g, { ...d, key: `${o + 1}`, id: d.id, index: o, onPressListItem: (u) => this.onListItemPress({ event: u, sectionIndex: a, itemIndex: o, item: d }), selected: this.isThisItemSelected({ ...d, sectionIndex: a, itemIndex: o }) }, d?.leadingLabel))), a < t.length - 1 && n ? s(c, null) : void 0)))));
|
|
38
|
+
}
|
|
39
|
+
get hostElement() {
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
static get watchers() {
|
|
43
|
+
return { headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] };
|
|
44
|
+
}
|
|
45
|
+
static get style() {
|
|
46
|
+
return ".gids-profile-menu .gids-divider{width:100%}.gids-profile-menu__header-divider-container{width:100%;padding-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-profile-menu__header-container{display:flex;width:100%;padding:var(--gids-padding-vertical-edge-to-element-150) 0px}";
|
|
47
|
+
}
|
|
48
|
+
}, [0, "gids-profile-menu", { headerItem: [16], headerVisible: [4, "header-visible"], listSectionDividerVisible: [4, "list-section-divider-visible"], headerDividerVisible: [4, "header-divider-visible"], profileMenuItems: [16], onHeaderAvatarPress: [16], onHeaderTitlePress: [16], onHeaderSupportingTextPress: [16], onProfileMenuItemPress: [16], selectedProfileMenuItem: [32] }, void 0, { headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] }]);
|
|
49
|
+
function _() {
|
|
50
|
+
typeof customElements < "u" && ["gids-profile-menu", "gids-profile-menu-header"].forEach(((i) => {
|
|
51
|
+
switch (i) {
|
|
52
|
+
case "gids-profile-menu":
|
|
53
|
+
customElements.get(h(i)) || customElements.define(h(i), y);
|
|
54
|
+
break;
|
|
55
|
+
case "gids-profile-menu-header":
|
|
56
|
+
customElements.get(h(i)) || P();
|
|
57
|
+
}
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
_();
|
|
61
|
+
export {
|
|
62
|
+
_ as c,
|
|
63
|
+
y as p
|
|
64
|
+
};
|
|
@@ -65,7 +65,7 @@ const u = (t) => y("gids-expansion-body-list-item", t), m = /* @__PURE__ */ Obje
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
const t = x(), i = this?.label, o = this?.subtitle, r = this?.supportingText, s = this.isValidLabel(), l = this.isValidSubtitle(), p = this.isValidSupportingText(), a = this.isDisplayTagVisible(), d = this?.displayTagLabel ?? "";
|
|
68
|
-
return e(c, { key: "
|
|
68
|
+
return e(c, { key: "5cb935888ba9e9fd2693caf1d4aca489f7dcb9d0", class: t }, s || l || a ? e("div", { class: "gids-expansion-body-list-item__primary-container" }, s || a ? e("div", { class: "gids-expansion-body-list-item__primary-content" }, s ? e("span", { class: "gids-expansion-body-list-item__label" }, this.convertTextToUppercase(i)) : void 0, a ? e(b, { color: this.displayTagColor || "accent-5", label: d, size: this.displayTagSize, appearance: this.displayTagAppearance }) : void 0) : void 0, l ? e("button", { type: "button", class: "gids-expansion-body-list-item__subtitle", onClick: this.handleSubtitleClick }, o) : void 0) : void 0, p ? e("div", { class: "gids-expansion-body-list-item__secondary-container" }, e("button", { type: "button", class: "gids-expansion-body-list-item__supporting-text", onClick: this.handleSupportingTextClick }, this.convertTextToUppercase(r))) : void 0);
|
|
69
69
|
}
|
|
70
70
|
get hostElement() {
|
|
71
71
|
return this;
|
|
@@ -7,7 +7,7 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
7
7
|
}, i), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsChartLegendClassNames: o
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames:
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: l } = c, d = a(class extends r {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.orientation = "horizontal";
|
|
13
13
|
}
|
|
@@ -15,8 +15,8 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
15
15
|
this.orientation = e;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
const e =
|
|
19
|
-
return n("div", { key: "
|
|
18
|
+
const e = l({ orientation: this.orientation });
|
|
19
|
+
return n("div", { key: "272620a7f72242f5e3559ee178c520f641bdca35", class: e }, n("slot", { key: "e67141f00bb68f420b8af53c0f75ea55e1ccbe95" }));
|
|
20
20
|
}
|
|
21
21
|
static get watchers() {
|
|
22
22
|
return { orientation: [{ handleOrientationChange: 0 }] };
|
|
@@ -27,11 +27,11 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
27
27
|
}, [260, "gids-chart-legend", { orientation: [1] }, void 0, { orientation: [{ handleOrientationChange: 0 }] }]);
|
|
28
28
|
function g() {
|
|
29
29
|
typeof customElements < "u" && ["gids-chart-legend"].forEach(((e) => {
|
|
30
|
-
e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e),
|
|
30
|
+
e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e), d));
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
33
|
g();
|
|
34
34
|
export {
|
|
35
35
|
g as o,
|
|
36
|
-
|
|
36
|
+
d as r
|
|
37
37
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { q as h, L as v, u as f, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as u } from "./p-DMNS1d8v-BX8e_AsY.js";
|
|
3
3
|
import { d as w } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
|
-
import { _ as k } from "./p-
|
|
5
|
-
import { o as z } from "./p-
|
|
6
|
-
import { l as C } from "./p-
|
|
4
|
+
import { _ as k } from "./p-Dd-ec-e0-BqX_F6y0.js";
|
|
5
|
+
import { o as z } from "./p-CiWZdp48-1vf7Xh2R.js";
|
|
6
|
+
import { l as C } from "./p-DAuO4g6g-C8miaL-N.js";
|
|
7
7
|
import { c as L } from "./clsx-OuTLNxxd.js";
|
|
8
8
|
const D = ({ breakpoint: i }, r) => L("gids-line-chart", {
|
|
9
9
|
"gids-line-chart--breakpoint-mobile": i === "mobile"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as
|
|
1
|
+
import { q as r, L as s, u as n, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as o } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
3
|
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const d = ({ seriesType: e, orientation: i },
|
|
4
|
+
const d = ({ seriesType: e, orientation: i }, a) => 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",
|
|
@@ -11,7 +11,7 @@ const d = ({ seriesType: e, orientation: i }, r) => l("gids-chart-legend-item",
|
|
|
11
11
|
// 'gids-chart-legend-item--orientation-horizontal':
|
|
12
12
|
// orientation === 'horizontal', // not needed as by default
|
|
13
13
|
"gids-chart-legend-item--orientation-vertical": i === "vertical"
|
|
14
|
-
},
|
|
14
|
+
}, a), g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
15
|
__proto__: null,
|
|
16
16
|
getGidsChartLegendItemClassNames: d
|
|
17
17
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendItemClassNames: c } = g, h = s(class extends n {
|
|
@@ -28,8 +28,8 @@ const d = ({ seriesType: e, orientation: i }, r) => l("gids-chart-legend-item",
|
|
|
28
28
|
this.seriesColor = e;
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
const e = this.seriesColor, i = e && e !== "",
|
|
32
|
-
return t("div", { key: "
|
|
31
|
+
const e = this.seriesColor, i = e && e !== "", a = c({ seriesType: i ? "none" : this.seriesType, orientation: this.orientation });
|
|
32
|
+
return t("div", { key: "ca543ca5462e15113d66a6be93e565751433bb96", class: a }, t("div", { key: "78951ec28f3ae6753ca538e456f393514229ff4b", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(o, { key: "81aa6b456c2bcad7fcf9fbad82d66906f3cf4959", name: "new", alt: "new_icon", appearance: "filled", style: i ? { "--gidsIcon-color": e } : {} })), t("span", { key: "9d23d232d1351d8d535c213118b2f0cc2caed629", class: "gids-chart-legend-item__label" }, t("slot", { key: "33e5ef6da9de59e00057baa5e61e5a448999ac8a" })));
|
|
33
33
|
}
|
|
34
34
|
static get watchers() {
|
|
35
35
|
return { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }], seriesColor: [{ handleSeriesColorChange: 0 }] };
|
|
@@ -40,7 +40,7 @@ const d = ({ seriesType: e, orientation: i }, r) => l("gids-chart-legend-item",
|
|
|
40
40
|
}, [260, "gids-chart-legend-item", { orientation: [1], seriesType: [1, "series-type"], seriesColor: [1, "series-color"] }, void 0, { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }], seriesColor: [{ handleSeriesColorChange: 0 }] }]);
|
|
41
41
|
function m() {
|
|
42
42
|
typeof customElements < "u" && ["gids-chart-legend-item"].forEach(((e) => {
|
|
43
|
-
e === "gids-chart-legend-item" && (customElements.get(
|
|
43
|
+
e === "gids-chart-legend-item" && (customElements.get(r(e)) || customElements.define(r(e), h));
|
|
44
44
|
}));
|
|
45
45
|
}
|
|
46
46
|
m();
|
|
@@ -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-BX8e_AsY.js";
|
|
3
|
-
import { o as u } from "./p-
|
|
4
|
-
import { l as v } from "./p-
|
|
3
|
+
import { o as u } from "./p-CiWZdp48-1vf7Xh2R.js";
|
|
4
|
+
import { l as v } from "./p-DAuO4g6g-C8miaL-N.js";
|
|
5
5
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const f = ({ breakpoint: e }, r) => x("gids-pie-chart", {
|
|
7
7
|
"gids-pie-chart--breakpoint-mobile": e === "mobile"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 {
|
|
3
|
+
import { c as r } from "./p-CCpxJ8wu-CMYQqNoP.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: "5e38b94a7bcf1f43502815044e8e51b570d52d05", 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 b() {
|
|
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 x() {
|
|
|
64
64
|
}
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
b();
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
b as g,
|
|
70
70
|
C as h
|
|
71
71
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { D as I } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { v as P } from "./p-BrYLEey4-DuajY4uD.js";
|
|
3
|
+
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const x = (e) => w("gids-dropdown-item", e), y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
|
+
__proto__: null,
|
|
6
|
+
getGidsDropdownItemClassNames: x
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownItemClassNames: D } = y, C = ({ id: e, title: t, class: d, selected: n = !1, disabled: s = !1, role: a = "list-item-option", value: o, name: c, onPressDropdownItem: m, index: l, defaultSelected: r, leadingAccessory: u, divider: p, isPlaceholderItem: i, ...f }) => {
|
|
8
|
+
const v = D(typeof d == "string" ? d : void 0);
|
|
9
|
+
return I(P, { id: e, index: l ?? 0, defaultSelected: r, selected: n, disabled: s, role: a, value: o, name: c, leadingAccessory: u, class: v, onPressListItem: (b) => {
|
|
10
|
+
if (b.defaultPrevented) return;
|
|
11
|
+
const g = new CustomEvent("onPressDropdownItem", { bubbles: !0, composed: !0, detail: { id: e, title: t, value: o, disabled: s, selectedIndex: l, defaultSelected: r, isPlaceholderItem: i } });
|
|
12
|
+
m?.(g);
|
|
13
|
+
}, divider: p, isPlaceholderItem: i, ...f }, t);
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
C as i
|
|
17
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as l, L as n, u as r, D as
|
|
1
|
+
import { q as l, L as n, u as r, D as a, P as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as h } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
3
|
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
4
|
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
@@ -53,10 +53,10 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
53
53
|
render() {
|
|
54
54
|
const t = this._hasStatusText(), e = this._controlValidationMessage !== void 0 ? this._controlValidationMessage : this._shouldRenderExplicitStatusText() ? this.statusText : void 0, s = this._getCurrentStatus(), i = ["gids-field__status-text"];
|
|
55
55
|
if (t) {
|
|
56
|
-
const
|
|
57
|
-
|
|
56
|
+
const o = this._getStatusModifierClass(s, "gids-field__status-text");
|
|
57
|
+
o != null && i.push(o);
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return a(d, { key: "7f674a66838197fe683f85296d7fd167fba5ff9d" }, a("div", { key: "5679ac007f6d0f0aa4382b3a6bad542cff5f2966", class: p() }, a("div", { key: "67d73571f6a8128e7373ea8d41d49dce557f39ab", class: "gids-field__header", hidden: !this._hasLabelContent() }, a("slot", { key: "0431cdfb250434f45d553d9921b002511bbfb775", ref: this._setLabelSlot, name: "label", onSlotchange: this._handleControlSlotChange }), a("div", { key: "9fcc4055877708ddae999907000c85d473568c5c", class: "gids-field__count", "aria-live": "polite" }, this.count)), a("div", { key: "9d1cf6954d7b958c9250a5b4f6bcf9cddeddec2b", class: "gids-field__control" }, a("slot", { key: "1c74237743475d245ec93b520566394c5a18eb7c", ref: this._setControlSlot, onSlotchange: this._handleControlSlotChange })), a("p", { key: "75123447715b194d6157d791682fc186f0eae495", class: "gids-field__supporting-text", hidden: !this._shouldShowHelperText() }, this.helperText), t ? a("p", { class: i.join(" "), role: "status", "aria-live": "polite" }, this._renderStatusIcon(s), e !== void 0 ? a("span", null, e) : null) : null));
|
|
60
60
|
}
|
|
61
61
|
_hasLabelContent() {
|
|
62
62
|
return this._hasLabel;
|
|
@@ -79,8 +79,8 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
79
79
|
if (e === void 0) return;
|
|
80
80
|
const s = ["gids-field__status-icon"], i = this._getStatusModifierClass(t, "gids-field__status-icon");
|
|
81
81
|
i != null && s.push(i);
|
|
82
|
-
let
|
|
83
|
-
return t === "error" && (
|
|
82
|
+
let o = t;
|
|
83
|
+
return t === "error" && (o = "danger"), t === "success" && (o = "positive"), a(h, { appearance: "filled", size: "sm", alt: "", name: e, class: s.join(" "), style: { "--gidsIcon-color": `var(--gids-color-icon-${o})` } });
|
|
84
84
|
}
|
|
85
85
|
_getCurrentStatus() {
|
|
86
86
|
return this._isImplicitStatus() && this._controlValidationMessage != null ? "error" : this.status ?? "implicit";
|
|
@@ -120,7 +120,7 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
120
120
|
if (e && t.name != null) {
|
|
121
121
|
const s = e.elements.namedItem(t.name);
|
|
122
122
|
if (s instanceof RadioNodeList) {
|
|
123
|
-
const i = Array.from(s).filter(((
|
|
123
|
+
const i = Array.from(s).filter(((o) => o instanceof HTMLInputElement && o.type === "radio" && this._el.contains(o)));
|
|
124
124
|
if (i.length > 0) return i;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -141,8 +141,8 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
141
141
|
if (e.nodeType !== Node.ELEMENT_NODE) continue;
|
|
142
142
|
const s = e, i = this._asTextControl(s);
|
|
143
143
|
if (i !== null) return i;
|
|
144
|
-
const
|
|
145
|
-
if (
|
|
144
|
+
const o = s.querySelector("input, textarea");
|
|
145
|
+
if (o instanceof HTMLInputElement || o instanceof HTMLTextAreaElement) return o;
|
|
146
146
|
}
|
|
147
147
|
return null;
|
|
148
148
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as
|
|
1
|
+
import { q as n, L as c, u as r, D as a, P as g } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { b as h, o as f, d as m, s as v, a as u, c as b, p, f as _ } from "./p-BKcvOO8o-L5KtCP_k.js";
|
|
3
3
|
import { i as y } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
4
|
import { d as w } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
@@ -52,7 +52,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
52
52
|
if (this.tooltipElement) try {
|
|
53
53
|
const { x: t, y: e, placement: s, middlewareData: l } = await b(this.virtualReference, this.tooltipElement, { placement: this.placement, strategy: "fixed", middleware: this.getMiddleware(), platform: { ...p, getOffsetParent: (o) => p.getOffsetParent(o, _) } });
|
|
54
54
|
if (this.currentPlacement = s, Object.assign(this.tooltipElement.style, { left: `${t}px`, top: `${e}px`, position: "fixed" }), l.arrow && this.arrowElement) {
|
|
55
|
-
const { x: o, y:
|
|
55
|
+
const { x: o, y: d } = l.arrow;
|
|
56
56
|
let i;
|
|
57
57
|
switch (s.split("-")[0] ?? "top") {
|
|
58
58
|
case "top":
|
|
@@ -67,7 +67,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
67
67
|
default:
|
|
68
68
|
i = "right";
|
|
69
69
|
}
|
|
70
|
-
Object.assign(this.arrowElement.style, { left: o != null ? `${o}px` : "", top:
|
|
70
|
+
Object.assign(this.arrowElement.style, { left: o != null ? `${o}px` : "", top: d != null ? `${d}px` : "", right: "", bottom: "", [i]: "-5px", transform: "rotate(45deg)" });
|
|
71
71
|
}
|
|
72
72
|
} catch (t) {
|
|
73
73
|
console.error("computePosition failed", t);
|
|
@@ -75,7 +75,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
77
|
const t = P({ visible: this.visible });
|
|
78
|
-
return a(g, { key: "
|
|
78
|
+
return a(g, { key: "2c70f3d6677ca6e2cf379250db5b6cdbb442c8fb", class: t, role: "tooltip", part: "tooltip" }, a("div", { key: "45bb876df55d76fe4651b7a0e87bd714c5dcf828", class: "gids-advanced-tooltip__arrow", part: "arrow" }), a("div", { key: "634615debc56fa003fd07617fe3339464d3c6893", class: "gids-advanced-tooltip__content" }, this.items.map(((e) => a("div", { class: "gids-advanced-tooltip__item", key: `${e.label}-${e.value}` }, a("div", { class: "gids-advanced-tooltip__left" }, a(w, { name: "new", size: "xs", appearance: "filled", style: { "--gidsIcon-color": e.seriesIndicatorColor } }), a("span", { class: "gids-advanced-tooltip__label" }, e.label)), a("span", { class: "gids-advanced-tooltip__value" }, e.value))))));
|
|
79
79
|
}
|
|
80
80
|
get host() {
|
|
81
81
|
return this;
|
|
@@ -89,7 +89,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
89
89
|
}, [1, "gids-advanced-tooltip", { visible: [516], x: [2], y: [2], offset: [2], placement: [1], items: [16], currentPlacement: [32] }, void 0, { visible: [{ visibleChanged: 0 }], x: [{ positionChanged: 0 }], y: [{ positionChanged: 0 }], placement: [{ placementChanged: 0 }], items: [{ itemsChanged: 0 }] }]);
|
|
90
90
|
function E() {
|
|
91
91
|
typeof customElements < "u" && ["gids-advanced-tooltip"].forEach(((t) => {
|
|
92
|
-
t === "gids-advanced-tooltip" && (customElements.get(
|
|
92
|
+
t === "gids-advanced-tooltip" && (customElements.get(n(t)) || customElements.define(n(t), A));
|
|
93
93
|
}));
|
|
94
94
|
}
|
|
95
95
|
E();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as l, L as f, u, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-DMNS1d8v-BX8e_AsY.js";
|
|
3
|
-
import { o as x } from "./p-
|
|
4
|
-
import { l as z } from "./p-
|
|
3
|
+
import { o as x } from "./p-CiWZdp48-1vf7Xh2R.js";
|
|
4
|
+
import { l as z } from "./p-DAuO4g6g-C8miaL-N.js";
|
|
5
5
|
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const k = ({ breakpoint: a }, g) => w("gids-activity-gauge", {
|
|
7
7
|
"gids-activity-gauge--breakpoint-mobile": a === "mobile"
|
|
@@ -7,7 +7,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
7
7
|
}, t), g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsDropdownPickerClassNames: m
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames:
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames: f } = g, v = l(class extends h {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "sm", this.idPicker = "", this.expanded = !1, this.hasLeadingIcon = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.hasDocumentListeners = !1, this.handleDropdownPickerItemSelect = (t) => {
|
|
13
13
|
const { value: i, title: s, disabled: o, id: a, isPlaceholderItem: d } = t.detail;
|
|
@@ -110,8 +110,8 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
110
110
|
if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
const e = this.expanded && this.isInteractive(), t =
|
|
114
|
-
return n("div", { key: "
|
|
113
|
+
const e = this.expanded && this.isInteractive(), t = f({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
|
|
114
|
+
return n("div", { key: "d089e5540c0f7d9c60b54f1adda5d3660fc1472e", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "181791f6af8f98616dafd904bbc7f24f693f81e2", 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: "ad430fdd8302e6ea0132e7b86dab9f01148c0520", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "a3978616691ddafc976ef1a45d7577a95a35a954" })));
|
|
115
115
|
}
|
|
116
116
|
get hostElement() {
|
|
117
117
|
return this;
|
|
@@ -125,11 +125,11 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
125
125
|
}, [260, "gids-dropdown-picker", { appearance: [1], size: [1], idPicker: [1, "id-picker"], expanded: [1540], disabled: [516], loading: [516], value: [513], name: [1], onSelectionChange: [16], selectedItemTitle: [32], hasLeadingIcon: [32] }, void 0, { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }] }]);
|
|
126
126
|
function E() {
|
|
127
127
|
typeof customElements < "u" && ["gids-dropdown-picker"].forEach(((e) => {
|
|
128
|
-
e === "gids-dropdown-picker" && (customElements.get(r(e)) || customElements.define(r(e),
|
|
128
|
+
e === "gids-dropdown-picker" && (customElements.get(r(e)) || customElements.define(r(e), v));
|
|
129
129
|
}));
|
|
130
130
|
}
|
|
131
131
|
E();
|
|
132
132
|
export {
|
|
133
133
|
E as h,
|
|
134
|
-
|
|
134
|
+
v as r
|
|
135
135
|
};
|
|
@@ -2,9 +2,9 @@ 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-CR1higgJ.js";
|
|
3
3
|
import { d as c } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
5
|
-
import { c as u } from "./p-
|
|
6
|
-
import {
|
|
7
|
-
import { h as m } from "./p-
|
|
5
|
+
import { c as u } from "./p-C-HyXFGR-UnFcWLOQ.js";
|
|
6
|
+
import { m as b } from "./p-pVSQxFDF-CsWxUaZX.js";
|
|
7
|
+
import { h as m } from "./p-DxX3B1f0-D1URliVh.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: "5856eb25fab236a046196b5a2acb3cacec398112", class: e }, n(h, { key: "718198d64b4819bf3ee78ac7ba2be34a03851e6a", 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: "25b0d99d4c97dfa031a0228acfbaec467d4f960d", class: "gids-calendar-header-panel__main-container" }, n("gids-dropdown-picker", { key: "3821a4897f347ccf97211d2927a71f81b5997bd3", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, n("gids-calendar-month-list", { key: "e61c442cb151dc54f8f02d480ac1cfc537fc42ec", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), n("span", { key: "9fdbbb26e5f1c78588ed553cd2bff6a9519eb666", class: p("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), n("gids-dropdown-picker", { key: "300fcc08eae7b5f394c25a82fa1d92d945f46ece", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, n("gids-calendar-year-list", { key: "0ff82ac77577032064a8fc49a95b6aa67387877d", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), n(h, { key: "069b5af91c8b4e259a18d722b1cd44b557f72bc4", 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;
|
|
@@ -161,7 +161,7 @@ function y() {
|
|
|
161
161
|
}
|
|
162
162
|
y();
|
|
163
163
|
export {
|
|
164
|
-
P as d,
|
|
165
164
|
v as m,
|
|
165
|
+
P as r,
|
|
166
166
|
y as u
|
|
167
167
|
};
|