@ganpatiinfo/gids-core-web 23.0.0 → 24.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 +28 -30
- 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-advanced-tooltip.js +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-bento-card.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-picker.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-date-picker-field.js +1 -1
- package/dist/gids-date-picker.js +1 -1
- package/dist/gids-day-dropdown-picker.js +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-flyout-panel.js +1 -1
- package/dist/gids-form.js +1 -1
- package/dist/gids-header-navigation-item.js +1 -1
- package/dist/gids-header-navigation.js +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-month-dropdown-picker.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-profile-menu-header.js +1 -1
- package/dist/gids-profile-menu.js +1 -1
- package/dist/gids-profile.js +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-sidebar-item.js +1 -1
- package/dist/gids-sidebar-menu.js +1 -1
- package/dist/gids-sidebar.js +1 -1
- package/dist/gids-skeleton.js +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/gids-transfer-list.js +1 -1
- package/dist/gids-year-dropdown-picker.js +1 -1
- package/dist/{p-vz4tzbld.js → p-3H10HA8U.js} +1 -1
- package/dist/{p-iEUyQs9t.js → p-5SNf54JN.js} +1 -1
- package/dist/{p-B2YjHZsu.js → p-69VXkSHc.js} +1 -1
- package/dist/{p-B18yNcA0.js → p-B2CvDGSE.js} +1 -1
- package/dist/{p-DOiDD7cS.js → p-BGBsQSqM.js} +1 -1
- package/dist/{p-CueywyHC.js → p-BWrCtA6O.js} +1 -1
- package/dist/{p-DLX-l0-L.js → p-BZdaC92p.js} +1 -1
- package/dist/{p-BcXumkjZ.js → p-Bbw1WCO7.js} +1 -1
- package/dist/{p-FSv82P6v.js → p-Bi-yBBYT.js} +1 -1
- package/dist/{p-DjnREsH0.js → p-BwDi-0yS.js} +1 -1
- package/dist/{p-C88Z_F_m.js → p-By0R-oJV.js} +1 -1
- package/dist/{p-MaJDBE6u.js → p-CCX8DA2Z.js} +1 -1
- package/dist/{p-B4d07GWP.js → p-CJ1tQlEt.js} +1 -1
- package/dist/{p-x1tVOUSt.js → p-CL9pZVrx.js} +1 -1
- package/dist/{p-CxfmNDsm.js → p-CS2U2Mro.js} +1 -1
- package/dist/{p-lvArnlBV.js → p-Cf9ipNLT.js} +1 -1
- package/dist/{p-DXlBK8TS.js → p-Cs-QTqUM.js} +1 -1
- package/dist/{p-DYKcsBzA.js → p-CytAVtIP.js} +1 -1
- package/dist/{p-fE-MdTCH.js → p-D8vooi3L.js} +1 -1
- package/dist/{p-DKe6orSY.js → p-DB0ZJi5J.js} +1 -1
- package/dist/{p-BNW2xgxF.js → p-DHOvFnv4.js} +1 -1
- package/dist/{p-D_mszaeq.js → p-DIrAYgqX.js} +1 -1
- package/dist/{p-XVlT5H5q.js → p-DJH7wtiu.js} +1 -1
- package/dist/{p-CKj2Ru6e.js → p-DMN5PI18.js} +1 -1
- package/dist/{p-jtpLLxuw.js → p-Dt270JVs.js} +1 -1
- package/dist/{p-DiX4HaE6.js → p-DuonIHDh.js} +1 -1
- package/dist/{p-CZgH5rZs.js → p-_OVEnTXa.js} +1 -1
- package/dist/{p-CSXuAs_X.js → p-cXOH6OAQ.js} +1 -1
- package/dist/{p-62akP0Ad.js → p-lVcUFx2e.js} +1 -1
- package/dist/{p-gK9DvcL8.js → p-peMqbYbz.js} +1 -1
- package/dist/p-piTNUZit.js +1 -0
- package/dist/types/components/webComponents/GidsHeaderNavigation/GidsHeaderNavigation.d.ts +0 -1
- package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +4 -6
- package/dist/types/components.d.ts +24 -7
- package/dist-bundled/es/gids-action-bar.js +16 -16
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-advanced-tooltip.js +4 -4
- package/dist-bundled/es/gids-bar-chart.js +3 -3
- package/dist-bundled/es/gids-bento-card.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-picker.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +2 -2
- package/dist-bundled/es/gids-chart-legend-item.js +4 -4
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +21 -21
- package/dist-bundled/es/gids-chevron-button.js +5 -5
- package/dist-bundled/es/gids-date-picker-field.js +21 -21
- package/dist-bundled/es/gids-date-picker.js +4 -4
- package/dist-bundled/es/gids-day-dropdown-picker.js +3 -3
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +11 -11
- package/dist-bundled/es/gids-dropdown-picker.js +1 -1
- package/dist-bundled/es/gids-dropdown.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
- 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 +1 -1
- package/dist-bundled/es/gids-flyout-panel.js +3 -3
- package/dist-bundled/es/gids-form.js +4 -4
- package/dist-bundled/es/gids-header-navigation-item.js +4 -4
- package/dist-bundled/es/gids-header-navigation.js +59 -60
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +3 -3
- package/dist-bundled/es/gids-md-table.js +60 -60
- package/dist-bundled/es/gids-month-dropdown-picker.js +4 -4
- package/dist-bundled/es/gids-overflow-container.js +9 -9
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +10 -10
- 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 +4 -4
- package/dist-bundled/es/gids-profile-menu.js +3 -3
- package/dist-bundled/es/gids-profile.js +3 -3
- package/dist-bundled/es/gids-scrim.js +3 -3
- package/dist-bundled/es/gids-sidebar-item.js +1 -1
- package/dist-bundled/es/gids-sidebar-menu.js +1 -1
- package/dist-bundled/es/gids-sidebar.js +9 -9
- package/dist-bundled/es/gids-skeleton.js +8 -8
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +8 -8
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +3 -3
- package/dist-bundled/es/gids-transfer-list.js +2 -2
- package/dist-bundled/es/gids-year-dropdown-picker.js +1 -1
- package/dist-bundled/es/{p-vz4tzbld-BYJRjHJw.js → p-3H10HA8U-DWG31yfh.js} +9 -9
- package/dist-bundled/es/{p-iEUyQs9t-BUXXVuwz.js → p-5SNf54JN-Dke4QoYK.js} +2 -2
- package/dist-bundled/es/{p-B2YjHZsu-DxdrSYcE.js → p-69VXkSHc-vZd5gQWS.js} +2 -2
- package/dist-bundled/es/{p-B18yNcA0-BaaXQYM_.js → p-B2CvDGSE-B-50q6JD.js} +5 -5
- package/dist-bundled/es/{p-DOiDD7cS-j1RR9K9r.js → p-BGBsQSqM-DtooH-AA.js} +3 -3
- package/dist-bundled/es/{p-CueywyHC-CsEetdha.js → p-BWrCtA6O-DHaJx1bg.js} +3 -3
- package/dist-bundled/es/{p-DLX-l0-L-gumz4bOG.js → p-BZdaC92p-DjVPKyfk.js} +5 -5
- package/dist-bundled/es/{p-BcXumkjZ-zNpzLmjI.js → p-Bbw1WCO7-CJU0y0iF.js} +7 -7
- package/dist-bundled/es/{p-FSv82P6v-C6jFH7Zo.js → p-Bi-yBBYT-CC0Ktxng.js} +1 -1
- package/dist-bundled/es/{p-DjnREsH0-Cm8vBvIX.js → p-BwDi-0yS-vyn3pUko.js} +5 -5
- package/dist-bundled/es/{p-C88Z_F_m-wMA27lx_.js → p-By0R-oJV-DkI-JpEG.js} +3 -3
- package/dist-bundled/es/{p-MaJDBE6u-DjtEX6-I.js → p-CCX8DA2Z-D0OkaCKx.js} +25 -25
- package/dist-bundled/es/{p-B4d07GWP-DLyo7HQ9.js → p-CJ1tQlEt-B8GYL1we.js} +11 -11
- package/dist-bundled/es/{p-x1tVOUSt-CdB8Szfe.js → p-CL9pZVrx-BYVOaGDA.js} +8 -8
- package/dist-bundled/es/{p-CxfmNDsm-JHseL2it.js → p-CS2U2Mro-6wGJ-t9P.js} +2 -2
- package/dist-bundled/es/{p-lvArnlBV-BxkIAxHG.js → p-Cf9ipNLT-HF4MWnLF.js} +10 -10
- package/dist-bundled/es/{p-DXlBK8TS-DazOvEm2.js → p-Cs-QTqUM-CcvsSUzr.js} +2 -2
- package/dist-bundled/es/{p-DYKcsBzA-BcupA9sw.js → p-CytAVtIP-IZSm6SZx.js} +6 -6
- package/dist-bundled/es/{p-fE-MdTCH-CDvG1Xn1.js → p-D8vooi3L-C5jeoC6H.js} +30 -30
- package/dist-bundled/es/{p-DKe6orSY-D1kYOeuX.js → p-DB0ZJi5J-BEYBVVuq.js} +10 -10
- package/dist-bundled/es/{p-BNW2xgxF-DWKLliyn.js → p-DHOvFnv4-DZQmbUn3.js} +5 -5
- package/dist-bundled/es/{p-D_mszaeq-ndcXN34-.js → p-DIrAYgqX-BoR42JaL.js} +2 -2
- package/dist-bundled/es/{p-XVlT5H5q-CFIMyrM3.js → p-DJH7wtiu-BDWtYcRw.js} +21 -21
- package/dist-bundled/es/{p-CKj2Ru6e-B-Nk5B_P.js → p-DMN5PI18-CiBpBUeE.js} +3 -3
- package/dist-bundled/es/{p-jtpLLxuw-BlEPhjmU.js → p-Dt270JVs-DJODMRWa.js} +1 -1
- package/dist-bundled/es/{p-DiX4HaE6-C35K492C.js → p-DuonIHDh-B6YKWTfP.js} +8 -8
- package/dist-bundled/es/{p-CZgH5rZs-Clk0qfHN.js → p-_OVEnTXa-q7qjnzI3.js} +3 -3
- package/dist-bundled/es/{p-CSXuAs_X-Hw6bT-8r.js → p-cXOH6OAQ-BRmZ0lXm.js} +11 -11
- package/dist-bundled/es/{p-62akP0Ad-D4pJ0a_I.js → p-lVcUFx2e-D6N6qefs.js} +11 -11
- package/dist-bundled/es/{p-gK9DvcL8-Chw-ya2Q.js → p-peMqbYbz-BnWVSfKD.js} +1 -1
- package/dist-bundled/es/p-piTNUZit-Jq4qQLgn.js +137 -0
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
- package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
- package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar.umd.js +2 -2
- 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-date-picker-field.umd.js +2 -2
- package/dist-bundled/umd/gids-date-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
- 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-flyout-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-form.umd.js +1 -1
- package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
- package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +1 -1
- 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-month-dropdown-picker.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 +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 +1 -1
- package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
- package/dist-bundled/umd/gids-profile.umd.js +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-sidebar-item.umd.js +1 -1
- package/dist-bundled/umd/gids-sidebar-menu.umd.js +1 -1
- package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
- package/dist-bundled/umd/gids-skeleton.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
- package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
- package/package.json +4 -4
- package/dist/p-COsSHfdc.js +0 -1
- package/dist-bundled/es/p-COsSHfdc-DfDYoLSS.js +0 -151
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as
|
|
1
|
+
import { L as a, u as n, D as e, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
const
|
|
3
|
+
const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
|
-
showGidsOverflowContainerBottomShadow:
|
|
6
|
-
showGidsOverflowContainerTopShadow:
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r =
|
|
5
|
+
showGidsOverflowContainerBottomShadow: h,
|
|
6
|
+
showGidsOverflowContainerTopShadow: c
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
|
|
10
10
|
}
|
|
@@ -20,19 +20,19 @@ const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" ||
|
|
|
20
20
|
this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return e("div", { key: "
|
|
23
|
+
return e("div", { key: "84f74e45eb32f9e460b257495ec6db4e354a4aa8", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "73deabbe3b4c769890153d41dcc85f4e1cd8c923" }));
|
|
24
24
|
}
|
|
25
25
|
get _el() {
|
|
26
26
|
return this;
|
|
27
27
|
}
|
|
28
28
|
}, [257, "gids-overflow-container", { shadowLocation: [513, "shadow-location"] }]);
|
|
29
|
-
function
|
|
29
|
+
function i() {
|
|
30
30
|
typeof customElements < "u" && ["gids-overflow-container"].forEach(((t) => {
|
|
31
31
|
t === "gids-overflow-container" && (customElements.get(o(t)) || customElements.define(o(t), r));
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
const p = r, m =
|
|
34
|
+
i();
|
|
35
|
+
const p = r, m = i;
|
|
36
36
|
export {
|
|
37
37
|
p as GidsOverflowContainer,
|
|
38
38
|
m as defineCustomElement
|
|
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
|
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
189
|
const t = this._allowedComponentQueue[0]?.position || "bottom-center";
|
|
190
|
-
return o(w, { key: "
|
|
190
|
+
return o(w, { key: "e8671c22c0d96bf4cdb6011ae5f292261d180bb3" }, o("slot", { key: "f6fb5a4dc84ae31ea4fef0af1809f75f228b464a" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
|
|
191
191
|
}
|
|
192
192
|
get _el() {
|
|
193
193
|
return this;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { L as S, u as P, z as
|
|
1
|
+
import { L as S, u as P, z as v, C as x, D as i, F as T, q as h } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { s as F } from "./p-BkxmRN-4-DSiXCW8b.js";
|
|
4
4
|
import { r as L } from "./p-DdJKIFk0-Co3FvR3K.js";
|
|
5
5
|
import { o as O } from "./p-Dg_WeHpV-DehzGL6g.js";
|
|
6
6
|
import { g as k, d as j } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
7
|
-
import { h as z } from "./p-
|
|
8
|
-
import { r as E } from "./p-
|
|
7
|
+
import { h as z } from "./p-peMqbYbz-BnWVSfKD.js";
|
|
8
|
+
import { r as E } from "./p-_OVEnTXa-q7qjnzI3.js";
|
|
9
9
|
import { c as g } from "./clsx-OuTLNxxd.js";
|
|
10
10
|
const G = (e) => {
|
|
11
11
|
switch (e) {
|
|
@@ -133,8 +133,8 @@ const G = (e) => {
|
|
|
133
133
|
return s.length > 0 ? i("div", { class: te(n) }, (() => {
|
|
134
134
|
const r = s.length, l = se({ text: e, textMinLength: t, meterRules: s }), u = re({ textScore: l, maxScore: r });
|
|
135
135
|
return Array.from({ length: r }, ((_, c) => {
|
|
136
|
-
const o = c + 1,
|
|
137
|
-
return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u,
|
|
136
|
+
const o = c + 1, w = o <= l;
|
|
137
|
+
return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, w) : null : a(o, u, w);
|
|
138
138
|
}));
|
|
139
139
|
})()) : null;
|
|
140
140
|
}, { getGidsRequirementsMeterLabelClassNames: ne } = K, { getRequirementsMeterLabelLeadingIcon: le } = H, ae = (e) => {
|
|
@@ -151,7 +151,7 @@ const G = (e) => {
|
|
|
151
151
|
})));
|
|
152
152
|
}, { inputToGidsFieldStatusForPassword: ce } = W, M = S(class extends P {
|
|
153
153
|
constructor(e) {
|
|
154
|
-
super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear =
|
|
154
|
+
super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = v(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = v(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
|
|
155
155
|
const t = this.#e?.querySelector("input.gids-input__control");
|
|
156
156
|
t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsPasswordFieldClear.emit();
|
|
157
157
|
}, this._handleRevealPassword = () => {
|
|
@@ -191,7 +191,7 @@ const G = (e) => {
|
|
|
191
191
|
#e;
|
|
192
192
|
render() {
|
|
193
193
|
const { id: e, ...t } = this.inputProps ?? {}, s = e ?? this.#t, n = this.showClearButton && this.value !== void 0 && this.value.length > 0, a = this.showRevealPasswordButton, r = { ...t }, l = r?.placeholder !== void 0 && r.placeholder !== null && r.placeholder != "" ? r.placeholder : "Enter password", u = this.isPasswordRevealed, _ = this.meterRules, c = this.textMinLength !== void 0 ? this.textMinLength : 8;
|
|
194
|
-
return i(T, { key: "
|
|
194
|
+
return i(T, { key: "fffaaf3dd6efd669be31bbccb1edca7e266f641e" }, i("gids-field", { key: "349c0d755cfc6801540db1eff75ae4c8423e5025", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "0cf59df5881a5ea2808e12c8fb73b3d0c65370f5", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "6f51347f6d1bae54d2cd839c0deac29007a7482b", ref: (o) => this.#e = o, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "be68e4be3fe6116c567a2e8d535a9ce553224b3c", name: "leadingIcon" }), i("slot", { key: "f937e609a89c84994d3354557c4450214b047a89", name: "leadingAccessory" }), i("div", { key: "cb749a9160baf95b96dc284bf314c6d1139bec5c", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "4331e2128c55b9b8aa086b3509b90c5c57968cfa", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "0357e86633496df9a7f5dba004d4163d3502b097", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "aa4d1cf3df932403efd38f6ff0c2d7c8b9fc3795", class: "gids-password-field__meters-container" }, i(ie, { key: "abea823deeb2b42fbe764c5f726cdb9b8c2e801d", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "0c376badeba1d43a6b166287b6e66eecaf552453", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
|
|
195
195
|
}
|
|
196
196
|
get _el() {
|
|
197
197
|
return this;
|
|
@@ -215,8 +215,8 @@ function y() {
|
|
|
215
215
|
}));
|
|
216
216
|
}
|
|
217
217
|
y();
|
|
218
|
-
const
|
|
218
|
+
const we = M, ve = y;
|
|
219
219
|
export {
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
we as GidsPasswordField,
|
|
221
|
+
ve as defineCustomElement
|
|
222
222
|
};
|
|
@@ -64,7 +64,7 @@ const h = v(class extends p {
|
|
|
64
64
|
e && e.removeEventListener("click", this.handleToggleEvent), document.removeEventListener("click", this.handleDocumentClick), document.removeEventListener("keydown", this.handleKeyDown);
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return a(f, { key: "
|
|
67
|
+
return a(f, { key: "c4e632570862480013ccd269beae45f17d74c8c2" }, a("slot", { key: "21ba826d596028ada112f2d37059dda691cafcc5", name: "anchor" }), a("div", { key: "5e88905735a3eb4c8d8cd2df23249e5b10ab912d", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "2a6e6de7810ac84fb2b97e0ba878dc5cba951dc5", id: "arrow" }), a("div", { key: "cea7f80fae6004966672ab22ec7b7656a8a8b854" }, a("slot", { key: "cce96163a7ec7a5c400b25b1e60a20944f0b5537" }))));
|
|
68
68
|
}
|
|
69
69
|
disconnectedCallback() {
|
|
70
70
|
this.cleanupEventListeners(), this.floatingElementManager?.destroy();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as e, y as o } from "./p-
|
|
2
|
-
const
|
|
1
|
+
import { _ as e, y as o } from "./p-Dt270JVs-DJODMRWa.js";
|
|
2
|
+
const r = e, s = o;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
r as GidsProfileMenuHeader,
|
|
5
|
+
s as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { L as z, u as B, D as o, P as L, q as c } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import { m as R, l as j, y as G } from "./p-
|
|
2
|
+
import { m as R, l as j, y as G } from "./p-Dt270JVs-DJODMRWa.js";
|
|
3
3
|
import { p as $ } from "./p-CcKHKwS0-Bw63tTOA.js";
|
|
4
4
|
import { d as b } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
5
|
-
import { p as q } from "./p-
|
|
5
|
+
import { p as q } from "./p-DIrAYgqX-BoR42JaL.js";
|
|
6
6
|
import { c as N } from "./clsx-OuTLNxxd.js";
|
|
7
7
|
const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profileControlShadow: r, expanded: a }, l) => N("gids-profile", {
|
|
8
8
|
// Appearances
|
|
@@ -171,7 +171,7 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
|
|
|
171
171
|
render() {
|
|
172
172
|
const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, r = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, f = this?.profileControlTitle ?? "", p = this?.profileControlSupportingText ?? "", t = this?.profileMenuItems ?? [], _ = this?.headerDividerVisible ?? !1, x = this?.headerVisible ?? !1, y = this?.headerItem, I = this?.listSectionDividerVisible ?? !1, P = this?.menuId, h = this?.isMenuExpanded ?? !1, u = this.hasMenu(), w = this.selectedProfileMenuItemId, k = this?.profileControlLeadingIconSize ?? "sm", T = this?.profileControlTrailingIconSize ?? "sm", A = this?.profileControlLeadingIconAppearance ?? "filled", V = this?.profileControlTrailingIconAppearance ?? "filled", M = J({ profileControlAppearance: e, profileControlBorderRadius: g, profileControlShadow: s, expanded: h && u }), S = i?.size ?? "sm", { titleClasses: E, supportingTextClasses: D } = K({ profileControlAppearance: e });
|
|
173
173
|
let v = i?.color ?? "brand";
|
|
174
|
-
return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "
|
|
174
|
+
return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "89495ba91ebb0dc283ee22e822a1f8e2f40c784f", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "dff2ef5b5715ddf4ad057fb2c2adde60867ca761", class: "gids-profile__main-container" }, a ? o(R, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? o($, { appearance: r?.appearance ?? "information", type: r?.type, count: r?.count, outline: r?.outline }) : void 0 }) : void 0, o("div", { key: "1c502055d1852cf09061d2ba67fd3c3d0193e5ce", class: "gids-profile__content-container" }, o("span", { key: "6bb63ec756bff613c970bc9f461697d503a30ef2", class: E }, f), o("p", { key: "fc73f0fd7065e5f9b2d4d8fda09e37387e565ee7", class: D }, p))), d ? o(b, { name: d, size: T, appearance: V }) : void 0, u && h ? o("div", { class: "gids-profile__dropdown-menu-container", id: P, role: "profilePickerbox", onClick: (H) => H.stopPropagation() }, o("gids-profile-menu", { headerItem: y, headerDividerVisible: _, headerVisible: x, listSectionDividerVisible: I, profileMenuItems: t, onHeaderAvatarPress: this.onPressHeaderAvatar, onHeaderTitlePress: this.onPressHeaderTitle, onHeaderSupportingTextPress: this.onPressHeaderSupportingText, onProfileMenuItemPress: this.onPressProfileMenuItem, selectedProfileMenuItemId: w })) : void 0);
|
|
175
175
|
}
|
|
176
176
|
get hostElement() {
|
|
177
177
|
return this;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as
|
|
1
|
+
import { L as o, u as c, D as e, q as t } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { c as n } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
getGidsScrimClassNames: d
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i =
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = o(class extends c {
|
|
8
8
|
constructor(s) {
|
|
9
9
|
super(), s !== !1 && this.__registerHost(), this.__attachShadow(), this.activeClasses = "";
|
|
10
10
|
}
|
|
@@ -16,7 +16,7 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
16
16
|
s !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(s), this.activeClasses = a(this.extraClasses);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return e("div", { key: "
|
|
19
|
+
return e("div", { key: "afee2cdcc550ba80921f82b755d42f72605226fa", class: this.activeClasses, part: "root" }, e("slot", { key: "aef36cdad954f7f7f025ae5fbfa686099af8af31" }));
|
|
20
20
|
}
|
|
21
21
|
get _el() {
|
|
22
22
|
return this;
|
|
@@ -2,10 +2,10 @@ import { L as O, u as G, D as a, P as j, q as r } from "./p-B4hcsDH0-CPqEc-vc.js
|
|
|
2
2
|
import { p as q } from "./p-CcKHKwS0-Bw63tTOA.js";
|
|
3
3
|
import { o as X } from "./p-BsC3-MVH-j4fPhip5.js";
|
|
4
4
|
import { d as S } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
5
|
-
import { A as B, S as F, y as J, P as K } from "./p-
|
|
5
|
+
import { A as B, S as F, y as J, P as K } from "./p-69VXkSHc-vZd5gQWS.js";
|
|
6
6
|
import { r as p } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
7
|
-
import {
|
|
8
|
-
import { g as R } from "./p-
|
|
7
|
+
import { c as Q } from "./p-CS2U2Mro-6wGJ-t9P.js";
|
|
8
|
+
import { g as R } from "./p-DMN5PI18-CiBpBUeE.js";
|
|
9
9
|
import { c as U } from "./clsx-OuTLNxxd.js";
|
|
10
10
|
const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
11
11
|
// Appearances
|
|
@@ -18,7 +18,7 @@ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
|
18
18
|
}, t), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
19
|
__proto__: null,
|
|
20
20
|
getGidsSidebarClassNames: V
|
|
21
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsSidebarClassNames: Y } = W,
|
|
21
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsSidebarClassNames: Y } = W, C = O(class extends G {
|
|
22
22
|
constructor(e) {
|
|
23
23
|
super(), e !== !1 && this.__registerHost(), this.id = "sidebar", this.appearance = "default", this.sidebarItemAppearance = "subtle", this.sidebarItemSelectionAppearance = "default", this.sidebarMenuItemAppearance = "subtle", this.sidebarMenuItemSelectionAppearance = "default", this.height = "intrinsic", this.sectionDividers = !0, this.itemDividers = !1, this.headerDivider = !0, this.menuPlacement = "right-end", this.menuConstrainPlacements = ["right-end", "left-end", "left", "right", "right-start", "left-start"], this.listData = [], this.selectedMenuItemSectionIdState = void 0, this.selectedMenuItemIdState = void 0, this.selectedSectionIdState = void 0, this.selectedItemIdState = void 0, this.hasHeaderContent = !1, this.onSidebarItemPress = ({ event: i, sectionId: t, sectionIndex: s, itemIndex: n }) => {
|
|
24
24
|
this.selectedSectionIdState = t, this.selectedItemIdState = i?.sidebarItemId ?? void 0, this.selectedMenuItemSectionIdState = i?.sidebarMenuItemSectionId ?? void 0, this.selectedMenuItemIdState = i?.sidebarMenuItemId ?? void 0, this.onSidebarChange && this.onSidebarChange({ ...i, originalEvent: i?.originalEvent, sidebarSectionId: t, sidebarSectionIndex: s, sidebarItemIndex: n });
|
|
@@ -107,7 +107,7 @@ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
109
|
const e = this.id, i = this?.appearance ?? "default", t = this?.sidebarItemAppearance ?? "subtle", s = this?.sidebarItemSelectionAppearance ?? "default", n = this?.sidebarMenuItemAppearance ?? "subtle", l = this?.sidebarMenuItemSelectionAppearance ?? "default", f = this?.height ?? "intrinsic", M = this?.menuPlacement ?? "right-end", A = this?.menuConstrainPlacements && this.menuConstrainPlacements.length > 0 ? this.menuConstrainPlacements : ["right-end", "left-end", "left", "right", "right-start", "left-start"], I = this?.listData ?? [], y = this?.sectionDividers ?? !0, P = this?.itemDividers ?? !1, D = this?.headerDivider ?? !0, x = this?.selectedMenuItemSectionIdState ?? void 0, _ = this?.selectedMenuItemIdState ?? void 0, g = this.hasHeaderContent, T = Y({ appearance: i, height: f });
|
|
110
|
-
return a(j, { key: "
|
|
110
|
+
return a(j, { key: "71b93e935f9da8f1748243314eec925f6a66d328", class: T, id: e, "data-appearance": i }, g ? a("div", { class: "gids-sidebar__header-container" }, a("slot", null), g && D ? a(p, null) : void 0) : void 0, I.map(((o, c) => {
|
|
111
111
|
const u = o?.lisItems ?? [], b = o?.listSectionLabel, m = o?.listSectionId;
|
|
112
112
|
return a("div", { key: `${c + 1}-${m}`, class: "gids-sidebar__list-section-container" }, b ? a("h4", null, b) : void 0, u.map(((d, h) => {
|
|
113
113
|
const k = `${h + 1}-${c + 1}-${d.id}`, { leadingAccessoryType: E, leadingAccessory: N, trailingAccessoryType: L, trailingAccessory: w, leadingIconProps: $, ...z } = d;
|
|
@@ -125,11 +125,11 @@ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
|
125
125
|
return ".gids-sidebar{display:flex;flex-direction:column;gap:var(--gids-gap-300);padding:var(--gids-padding-vertical-edge-to-element-250) var(--gids-padding-horizontal-edge-to-element-300);background-color:var(--gids-color-background-canvas);border-radius:var(--gids-border-radius-lg);border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-sidebar__header-container{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400)}.gids-sidebar__list-section-container{display:flex;flex-direction:column;gap:var(--gids-gap-150)}.gids-sidebar__list-section-container h4{margin:0;color:var(--gids-color-text-subtlest)}.gids-sidebar__item-container{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-200)}.gids-sidebar__section-divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-sidebar--appearance-subtle{background-color:transparent}.gids-sidebar--appearance-primary{background-color:var(--gids-color-background-brand-subtlest-default)}.gids-sidebar--height-full{height:100vh !important;overflow-x:hidden;overflow-y:auto}";
|
|
126
126
|
}
|
|
127
127
|
}, [260, "gids-sidebar", { id: [1], appearance: [1], sidebarItemAppearance: [1, "sidebar-item-appearance"], sidebarItemSelectionAppearance: [1, "sidebar-item-selection-appearance"], sidebarMenuItemAppearance: [1, "sidebar-menu-item-appearance"], sidebarMenuItemSelectionAppearance: [1, "sidebar-menu-item-selection-appearance"], selectedSectionId: [1, "selected-section-id"], selectedItemId: [1, "selected-item-id"], selectedMenuItemId: [1, "selected-menu-item-id"], selectedMenuItemSectionId: [1, "selected-menu-item-section-id"], height: [1], sectionDividers: [4, "section-dividers"], itemDividers: [4, "item-dividers"], headerDivider: [4, "header-divider"], menuPlacement: [1, "menu-placement"], menuConstrainPlacements: [16], listData: [16], onSidebarChange: [16], selectedMenuItemSectionIdState: [32], selectedMenuItemIdState: [32], selectedSectionIdState: [32], selectedItemIdState: [32], hasHeaderContent: [32] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], sidebarItemAppearance: [{ sidebarItemAppearanceChanged: 0 }], sidebarItemSelectionAppearance: [{ sidebarItemSelectionAppearanceChanged: 0 }], sidebarMenuItemAppearance: [{ sidebarMenuItemAppearanceChanged: 0 }], sidebarMenuItemSelectionAppearance: [{ sidebarMenuItemSelectionAppearanceChanged: 0 }], selectedSectionId: [{ selectedSectionIdChanged: 0 }], selectedItemId: [{ selectedItemIdChanged: 0 }], selectedMenuItemSectionId: [{ selectedMenuItemSectionIdChanged: 0 }], selectedMenuItemId: [{ selectedMenuItemIdChanged: 0 }], height: [{ heightChanged: 0 }], sectionDividers: [{ sectionDividersChanged: 0 }], itemDividers: [{ itemDividersChanged: 0 }], menuPlacement: [{ menuPlacementChanged: 0 }], menuConstrainPlacements: [{ menuConstrainPlacementsChanged: 0 }], listData: [{ listDataChanged: 0 }] }]);
|
|
128
|
-
function
|
|
128
|
+
function v() {
|
|
129
129
|
typeof customElements < "u" && ["gids-sidebar", "gids-flyout-panel", "gids-sidebar-item", "gids-sidebar-menu"].forEach(((e) => {
|
|
130
130
|
switch (e) {
|
|
131
131
|
case "gids-sidebar":
|
|
132
|
-
customElements.get(r(e)) || customElements.define(r(e),
|
|
132
|
+
customElements.get(r(e)) || customElements.define(r(e), C);
|
|
133
133
|
break;
|
|
134
134
|
case "gids-flyout-panel":
|
|
135
135
|
customElements.get(r(e)) || Q();
|
|
@@ -142,8 +142,8 @@ function C() {
|
|
|
142
142
|
}
|
|
143
143
|
}));
|
|
144
144
|
}
|
|
145
|
-
|
|
146
|
-
const ce =
|
|
145
|
+
v();
|
|
146
|
+
const ce = C, le = v;
|
|
147
147
|
export {
|
|
148
148
|
ce as GidsSidebar,
|
|
149
149
|
le as defineCustomElement
|
|
@@ -9,7 +9,7 @@ const u = ({ variant: e, animation: t }) => g("gids-skeleton", {
|
|
|
9
9
|
}), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
10
|
__proto__: null,
|
|
11
11
|
getSkeletonBaseClassNames: u
|
|
12
|
-
}, Symbol.toStringTag, { value: "Module" })), { getSkeletonBaseClassNames: m } = c,
|
|
12
|
+
}, Symbol.toStringTag, { value: "Module" })), { getSkeletonBaseClassNames: m } = c, a = o(class extends r {
|
|
13
13
|
constructor(e) {
|
|
14
14
|
super(), e !== !1 && this.__registerHost(), this.variant = "text", this.animation = "none";
|
|
15
15
|
}
|
|
@@ -22,20 +22,20 @@ const u = ({ variant: e, animation: t }) => g("gids-skeleton", {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const e = m({ variant: this.variant ?? "text", animation: this.animation ?? "none" });
|
|
25
|
-
return d(l, { key: "
|
|
25
|
+
return d(l, { key: "5de75518be515770f799ef9aa6dfaf79ef3c3116", class: e, style: this.getStyle(), "aria-hidden": "true" });
|
|
26
26
|
}
|
|
27
27
|
static get style() {
|
|
28
28
|
return 'gids-skeleton,.gids-skeleton-host{--gidsSkeleton-background:var( --gids-color-background-accent-9-subtle-default );--gidsSkeleton-wave-background:linear-gradient( 90deg, transparent 0%, var(--gids-color-background-accent-9-subtler-default) 50%, transparent 100% );--gidsSkeleton-text-border-radius:var(--gids-border-radius-sm);--gidsSkeleton-border-radius:var(--gids-border-radius-md);display:inline-block;position:relative;vertical-align:middle;background-color:var(--gidsSkeleton-background);overflow:hidden;width:auto;height:auto}.gids-skeleton--variant-text{border-radius:var(--gidsSkeleton-text-border-radius);min-height:1.2em;transform:scaleY(0.6);transform-origin:0 50%}.gids-skeleton--variant-circular{border-radius:100% !important;aspect-ratio:1/1}.gids-skeleton--variant-rectangular{border-radius:0}.gids-skeleton--variant-rounded{border-radius:var(--gidsSkeleton-border-radius)}.gids-skeleton--animation-none{animation:none}.gids-skeleton--animation-pulse{animation:gids-skeleton-pulse 1.5s ease-in-out infinite}.gids-skeleton--animation-wave::after{content:"";position:absolute;inset:0;width:100%;height:100%;background:var(--gidsSkeleton-wave-background);transform:translateX(-100%);animation:gids-skeleton-wave 1.6s linear infinite}@keyframes gids-skeleton-pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes gids-skeleton-wave{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.gids-skeleton--animation-pulse{animation:none}.gids-skeleton--animation-wave::after{animation:none}}';
|
|
29
29
|
}
|
|
30
30
|
}, [0, "gids-skeleton", { variant: [1], animation: [1], width: [8], height: [8] }]);
|
|
31
|
-
function
|
|
31
|
+
function s() {
|
|
32
32
|
typeof customElements < "u" && ["gids-skeleton"].forEach(((e) => {
|
|
33
|
-
e === "gids-skeleton" && (customElements.get(i(e)) || customElements.define(i(e),
|
|
33
|
+
e === "gids-skeleton" && (customElements.get(i(e)) || customElements.define(i(e), a));
|
|
34
34
|
}));
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
const
|
|
36
|
+
s();
|
|
37
|
+
const h = a, v = s;
|
|
38
38
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
h as GidsSkeleton,
|
|
40
|
+
v as defineCustomElement
|
|
41
41
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as n, u as l, D as r, P as g, q as
|
|
1
|
+
import { L as n, u as l, D as r, P as g, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-CcKHKwS0-Bw63tTOA.js";
|
|
3
3
|
import { c as v } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const h = ({ appearance: e, width: t = "intrinsic", active: a },
|
|
4
|
+
const h = ({ appearance: e, width: t = "intrinsic", active: a }, d) => v("gids-tab-item", {
|
|
5
5
|
// Widths
|
|
6
6
|
// 'gids-tab-item--intrinsic': width === 'intrinsic', // By default so not needed
|
|
7
7
|
"gids-tab-item--full": t === "full",
|
|
@@ -17,7 +17,7 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, o) => v("gids-t
|
|
|
17
17
|
"gids-tab-item--bordered": e === "bordered" && !a,
|
|
18
18
|
"gids-tab-item--underlined": e === "underlined" && !a,
|
|
19
19
|
"gids-tab-item--subtle": e === "subtle" && !a
|
|
20
|
-
},
|
|
20
|
+
}, d), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
22
|
getGidsTabItemClassNames: h
|
|
23
23
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsTabItemClassNames: m } = u, s = n(class extends l {
|
|
@@ -54,8 +54,8 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, o) => v("gids-t
|
|
|
54
54
|
this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconTabItem"]'), this.hasTrailingIcon = !!this.hostElement.querySelector('[slot="trailingIconTabItem"]');
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
const e = m({ appearance: this.appearance, width: this.width, active: this.active }), t = this.hasTrailingIcon, a = this.badgeVisible,
|
|
58
|
-
return r(g, { key: "
|
|
57
|
+
const e = m({ appearance: this.appearance, width: this.width, active: this.active }), t = this.hasTrailingIcon, a = this.badgeVisible, d = this.appearance === "primary" && this.active ? "inverse" : this.badgeAppearance ?? "information", i = this.label;
|
|
58
|
+
return r(g, { key: "5848ae28d9a7071c451a16d66229f8057249fd6d", class: e, onClick: this.handleHostClick }, this.hasLeadingIcon ? r("slot", { name: "leadingIconTabItem" }) : void 0, i && i !== "" ? r("span", { class: "gids-tab-item__label" }, i && i !== "" ? i : void 0, a ? r(b, { appearance: d, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, t ? r("slot", { name: "trailingIconTabItem" }) : void 0);
|
|
59
59
|
}
|
|
60
60
|
get hostElement() {
|
|
61
61
|
return this;
|
|
@@ -69,7 +69,7 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, o) => v("gids-t
|
|
|
69
69
|
}, [260, "gids-tab-item", { itemId: [1, "item-id"], label: [1], active: [4], name: [1], width: [1], appearance: [1], badgeVisible: [4, "badge-visible"], badgeAppearance: [1, "badge-appearance"], badgeCount: [2, "badge-count"], badgeType: [1, "badge-type"], onPressGidsTabItem: [16], hasLeadingIcon: [32], hasTrailingIcon: [32] }, void 0, { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], badgeVisible: [{ handleBadgeVisibilityChange: 0 }], badgeAppearance: [{ handleBadgeAppearanceChange: 0 }], badgeType: [{ handleBadgeTypeChange: 0 }], active: [{ handleActiveChange: 0 }] }]);
|
|
70
70
|
function c() {
|
|
71
71
|
typeof customElements < "u" && ["gids-tab-item"].forEach(((e) => {
|
|
72
|
-
e === "gids-tab-item" && (customElements.get(
|
|
72
|
+
e === "gids-tab-item" && (customElements.get(o(e)) || customElements.define(o(e), s));
|
|
73
73
|
}));
|
|
74
74
|
}
|
|
75
75
|
c();
|
|
@@ -4,10 +4,10 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
|
|
|
4
4
|
"gids-tab--full": e === "full",
|
|
5
5
|
"gids-tab--item-subtle": t === "subtle",
|
|
6
6
|
"gids-tab--item-underlined": t === "underlined"
|
|
7
|
-
}, d),
|
|
7
|
+
}, d), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsTabClassNames: o
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames:
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: p } = b, i = r(class extends h {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.width = "intrinsic", this.appearance = "default";
|
|
13
13
|
}
|
|
@@ -37,8 +37,8 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
|
|
|
37
37
|
return e === this.activeTabId;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
const e =
|
|
41
|
-
return a(c, { key: "
|
|
40
|
+
const e = p({ width: this.width, appearance: this.appearance });
|
|
41
|
+
return a(c, { key: "bf4ff19523b01e6b50f32b47613a7ee743b110e8", class: e }, a("slot", { key: "5d324badcc753b4abd616817ac913e79fc5c2ed0" }));
|
|
42
42
|
}
|
|
43
43
|
get hostElement() {
|
|
44
44
|
return this;
|
|
@@ -2,8 +2,8 @@ import { L as u, u as c, z as h, C as f, D as i, q as s } from "./p-B4hcsDH0-CPq
|
|
|
2
2
|
import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { s as m } from "./p-BkxmRN-4-DSiXCW8b.js";
|
|
4
4
|
import { r as p } from "./p-DdJKIFk0-Co3FvR3K.js";
|
|
5
|
-
import { h as g } from "./p-
|
|
6
|
-
import { r as x } from "./p-
|
|
5
|
+
import { h as g } from "./p-peMqbYbz-BnWVSfKD.js";
|
|
6
|
+
import { r as x } from "./p-_OVEnTXa-q7qjnzI3.js";
|
|
7
7
|
import { g as _ } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
8
8
|
const v = (e, t) => {
|
|
9
9
|
if (!(e === void 0 || t === void 0))
|
|
@@ -17,14 +17,14 @@ const v = (e, t) => {
|
|
|
17
17
|
default:
|
|
18
18
|
return "default";
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
22
|
formatCharCount: v,
|
|
23
23
|
inputToGidsFieldStatus: T
|
|
24
|
-
}, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatus: y } =
|
|
24
|
+
}, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatus: y } = n, q = (e) => e === "implicit" || e === void 0 ? "implicit" : y(e), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
25
|
__proto__: null,
|
|
26
26
|
inputToGidsFieldStatus: q
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } =
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = n, { inputToGidsFieldStatus: O } = C, a = u(class extends c {
|
|
28
28
|
constructor(e) {
|
|
29
29
|
super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = h(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
|
|
30
30
|
const t = this.#t?.querySelector("input.gids-input__control");
|
|
@@ -51,7 +51,7 @@ const v = (e, t) => {
|
|
|
51
51
|
#t;
|
|
52
52
|
render() {
|
|
53
53
|
const { id: e, ...t } = this.inputProps ?? {}, l = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
|
|
54
|
-
return i("gids-field", { key: "
|
|
54
|
+
return i("gids-field", { key: "57738cea13f14510c13f71f1b9ae9df832972707", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "7b55143df4fbc1443d2a69f5ac1c2fbc843f21a1", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: l }, this.label), i("gids-input", { key: "061a3711651de6b3d4662cf6f582da7f744c5df1", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: l, maxLength: this.maxLength } }, i("slot", { key: "fa59ceedb8cf030f2282264f4ac7453551762aea", name: "leadingIcon" }), i("slot", { key: "00585648c652064fbb56663588c0de101db56934", name: "leadingAccessory" }), d && i(p, { key: "9c56c8ab2b27ac3f2885ba2d55c7b51bc00f2542", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "427830f0d9b7472ce26c5200b062a617cc415e8a", name: "trailingIcon" })));
|
|
55
55
|
}
|
|
56
56
|
get _el() {
|
|
57
57
|
return this;
|
|
@@ -61,7 +61,7 @@ function r() {
|
|
|
61
61
|
typeof customElements < "u" && ["gids-text-field", "gids-field", "gids-input"].forEach(((e) => {
|
|
62
62
|
switch (e) {
|
|
63
63
|
case "gids-text-field":
|
|
64
|
-
customElements.get(s(e)) || customElements.define(s(e),
|
|
64
|
+
customElements.get(s(e)) || customElements.define(s(e), a);
|
|
65
65
|
break;
|
|
66
66
|
case "gids-field":
|
|
67
67
|
customElements.get(s(e)) || g();
|
|
@@ -72,7 +72,7 @@ function r() {
|
|
|
72
72
|
}));
|
|
73
73
|
}
|
|
74
74
|
r();
|
|
75
|
-
const G =
|
|
75
|
+
const G = a, B = r;
|
|
76
76
|
export {
|
|
77
77
|
G as GidsTextField,
|
|
78
78
|
B as defineCustomElement
|
|
@@ -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: "6caed45a03495bc806582bc41579a8b3b835f935" }, e("slot", { key: "ff2dbe3d0d337b8a413cb1ba6d5797aea333da64" }), e("span", { key: "8faf24f98277dfbb44c34ad8bf6e700270a15fa2", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "efc5280e4bf08551f3bb32ed966fd3b1921d5741", 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
|
-
|
|
64
|
+
f as GidsTooltip,
|
|
65
65
|
v as defineCustomElement
|
|
66
66
|
};
|
|
@@ -164,10 +164,10 @@ const H = ({ type: t }, e) => c("gids-menu-group", {
|
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
166
|
const t = D(), e = this?.leftListItemsState ?? [], s = this?.rightListItemsState ?? [], n = this.listsMaxHeight, l = this?.transferListType ?? "basic";
|
|
167
|
-
return a(_, { key: "
|
|
167
|
+
return a(_, { key: "204cb69d84cc8957fe51c9ac37f01009db59756a", class: t }, a("div", { key: "6ea166769c28f7bd9717ec8d916d5a62589facb0", class: "gids-transfer-list__left-container" }, a(I, { key: "697d02bf9a9eb6b27308120a7ae8a988e0dbc492", type: e.length > 0 ? "default" : "no-options" }, a(S, { key: "186b95114e6a0a7d5aeb3ba1d64301b06b8b13da", heading: this.renderListHeading("left"), style: { "--gidsMenuChildren-max-height": n }, isHeaderDividerVisible: l !== "basic" }, e.map(((i, r) => {
|
|
168
168
|
const h = i?.id ? i.id : "" + (r + 1), m = this.isItemSelected({ id: h, listSide: "left" });
|
|
169
169
|
return a(L, { id: "" + h, index: r, leadingAccessory: a(f, { checked: m }), selected: m, onPressListItem: (o) => this.onPressingListItem({ event: o, pressedIndex: r, listSide: "left" }) }, i?.listLabel);
|
|
170
|
-
}))))), a("div", { key: "
|
|
170
|
+
}))))), a("div", { key: "54746b827f3521525b79118b10314e0513039849", class: "gids-transfer-list__middle-container" }, a(d, { key: "450602d58efe7a93019670cebbb7fdc444a21194", leadingIcon: a(g, { name: "forward" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "left", movementType: "move-all" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "left", movementType: "move-all" }) }), a(d, { key: "7890ffb0b4059d9febd9852ac1f3da2e80dcbc06", leadingIcon: a(g, { name: "chevron-right" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "left", movementType: "move-single" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "left", movementType: "move-single" }) }), a(d, { key: "0de37783b705b9ddc1f3db8fbbed1728e8f589ec", leadingIcon: a(g, { name: "chevron-left" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "right", movementType: "move-single" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "right", movementType: "move-single" }) }), a(d, { key: "2ff344a7ee67a68e108322333cd8bf8bb116b58f", leadingIcon: a(g, { name: "backward" }), appearance: "default", size: "sm", width: "full", disabled: this.movementButtonDisabled({ listSide: "right", movementType: "move-all" }), onClick: (i) => this.onItemsMovement({ event: i, listSide: "right", movementType: "move-all" }) })), a("div", { key: "58a9d3a843871a24fbb1f3597a228e64d6729c2d", class: "gids-transfer-list__right-container" }, a(I, { key: "ce70f53e7f24f91a17fd3cdcb98cd0163ad50732", type: s.length > 0 ? "default" : "no-options" }, a(S, { key: "2fc87d113eb7f7f0e469962fc0bc806bcd6a8234", heading: this.renderListHeading("right"), style: { "--gidsMenuChildren-max-height": n }, isHeaderDividerVisible: l !== "basic" }, s.map(((i, r) => {
|
|
171
171
|
const h = i?.id ? i.id : "" + (r + 1), m = this.isItemSelected({ id: h, listSide: "right" });
|
|
172
172
|
return a(L, { id: "" + h, index: r, selected: m, leadingAccessory: a(f, { checked: m }), onPressListItem: (o) => this.onPressingListItem({ event: o, pressedIndex: r, listSide: "right" }) }, i?.listLabel);
|
|
173
173
|
}))))));
|
|
@@ -2,18 +2,18 @@ import { q as l, L as d, u as o, D as n } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
|
2
2
|
import { o as h } from "./p-Dg_WeHpV-DehzGL6g.js";
|
|
3
3
|
import { d as c } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
4
4
|
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
5
|
-
import {
|
|
6
|
-
import { m as b } from "./p-
|
|
7
|
-
import {
|
|
5
|
+
import { l as u } from "./p-cXOH6OAQ-BRmZ0lXm.js";
|
|
6
|
+
import { m as b } from "./p-CJ1tQlEt-B8GYL1we.js";
|
|
7
|
+
import { h as m } from "./p-BGBsQSqM-DtooH-AA.js";
|
|
8
8
|
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
9
|
-
const g = (e) => k("gids-calendar-header-panel", e),
|
|
9
|
+
const g = (e) => k("gids-calendar-header-panel", e), P = (e, a = "en-US") => {
|
|
10
10
|
const t = new Date(2e3, e - 1, 1);
|
|
11
11
|
return new Intl.DateTimeFormat(a, { month: "long" }).format(t);
|
|
12
|
-
},
|
|
12
|
+
}, f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
13
|
__proto__: null,
|
|
14
|
-
getCalendarMonthNameViaMonthNumber:
|
|
14
|
+
getCalendarMonthNameViaMonthNumber: P,
|
|
15
15
|
getGidsCalendarHeaderPanelClassNames: g
|
|
16
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarHeaderPanelClassNames: M, getCalendarMonthNameViaMonthNumber: r } =
|
|
16
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarHeaderPanelClassNames: M, getCalendarMonthNameViaMonthNumber: r } = f, v = d(class extends o {
|
|
17
17
|
constructor(e) {
|
|
18
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) => {
|
|
19
19
|
if (this.suppressNextMenuClickSelection) return;
|
|
@@ -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: "58c5ea4f5980766a7de4ab0aa1f5cac1e8f63b9e", class: e }, n(h, { key: "63636e2b1ba9b8c51c3867ed3aacbf6650d24b94", 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: "8553dc4c307250f60e72c058700f41f9e2b62d81", class: "gids-calendar-header-panel__main-container" }, n("gids-dropdown-picker", { key: "66517fe1ee2337dead5c2967f5a28bc36cd87101", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, n("gids-calendar-month-list", { key: "05edc8f408d56e80f2403cb7b9960c1eb4382492", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), n("span", { key: "6f0371f222645093696ee90e28583417652352da", class: p("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), n("gids-dropdown-picker", { key: "f736ae3cd81ee0681e2c90e4f9f3584b48e11934", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, n("gids-calendar-year-list", { key: "dd1592c6e1d525dfa5aaa5eb095ba505e723fca3", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), n(h, { key: "76183404c1c03cd5156736cf90b444a7cdeed7f6", leadingIcon: n(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: s }));
|
|
134
134
|
}
|
|
135
135
|
get hostElement() {
|
|
136
136
|
return this;
|
|
@@ -162,6 +162,6 @@ function y() {
|
|
|
162
162
|
y();
|
|
163
163
|
export {
|
|
164
164
|
v as m,
|
|
165
|
-
|
|
165
|
+
f as r,
|
|
166
166
|
y as u
|
|
167
167
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as l, L as f, u, D as t } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
-
import { o as x } from "./p-
|
|
4
|
-
import { l as z } from "./p-
|
|
3
|
+
import { o as x } from "./p-CL9pZVrx-BYVOaGDA.js";
|
|
4
|
+
import { l as z } from "./p-CytAVtIP-IZSm6SZx.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"
|