@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,14 +1,14 @@
|
|
|
1
|
-
import { q as
|
|
2
|
-
import {
|
|
3
|
-
import { u as g } from "./p-
|
|
4
|
-
import {
|
|
5
|
-
import { m as p } from "./p-
|
|
6
|
-
import { g as C } from "./p-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { r as y } from "./p-
|
|
1
|
+
import { q as n, L as o, u as c, D as s, P as h } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { N as m } from "./p-CCX8DA2Z-D0OkaCKx.js";
|
|
3
|
+
import { u as g } from "./p-3H10HA8U-DWG31yfh.js";
|
|
4
|
+
import { l as u } from "./p-cXOH6OAQ-BRmZ0lXm.js";
|
|
5
|
+
import { m as p } from "./p-CJ1tQlEt-B8GYL1we.js";
|
|
6
|
+
import { g as C } from "./p-B2CvDGSE-B-50q6JD.js";
|
|
7
|
+
import { u as P } from "./p-Bbw1WCO7-CJU0y0iF.js";
|
|
8
|
+
import { h as b } from "./p-BGBsQSqM-DtooH-AA.js";
|
|
9
|
+
import { c as f } from "./p-CS2U2Mro-6wGJ-t9P.js";
|
|
10
|
+
import { n as k } from "./p-DB0ZJi5J-BEYBVVuq.js";
|
|
11
|
+
import { r as y } from "./p-_OVEnTXa-q7qjnzI3.js";
|
|
12
12
|
import { f as v, b as Y } from "./GidsDatePickerSharedUtils-Dh5qFlYA.js";
|
|
13
13
|
import { c as D } from "./clsx-OuTLNxxd.js";
|
|
14
14
|
const E = (e) => D("gids-calendar-picker", e), S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -19,9 +19,9 @@ const E = (e) => D("gids-calendar-picker", e), S = /* @__PURE__ */ Object.freeze
|
|
|
19
19
|
super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.menuPlacement = "bottom", this.menuConstrainPlacements = ["bottom", "top"], this.panelActionsAppearance = "default", this.hasLeadingIcon = !1, this.selectedCalendarPickerObj = void 0, this.handleCalendarDateSelectionChange = (a) => {
|
|
20
20
|
if (this.selectedCalendarPickerObj = a, this.onSelectionCalendarCell) {
|
|
21
21
|
this.onSelectionCalendarCell(a);
|
|
22
|
-
const
|
|
23
|
-
this.hostElement.dispatchEvent(
|
|
24
|
-
i ? this.flyoutPanelElement?.closeFlyoutPanel(
|
|
22
|
+
const t = new CustomEvent("gidsCalendarPickerChange", { bubbles: !0, composed: !0, detail: a });
|
|
23
|
+
this.hostElement.dispatchEvent(t), this.disabled || this.readOnly || this.flyoutPanelElement?.isFlyoutPanelVisible().then(((i) => {
|
|
24
|
+
i ? this.flyoutPanelElement?.closeFlyoutPanel(t) : this.flyoutPanelElement?.openFlyoutPanel(t);
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
27
|
}, this.handleCalendarNextChange = (a) => {
|
|
@@ -64,8 +64,8 @@ const E = (e) => D("gids-calendar-picker", e), S = /* @__PURE__ */ Object.freeze
|
|
|
64
64
|
this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconDropdown"]');
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
const e = O(), a = typeof this?.inputProps?.id == "string" ? this.inputProps.id : "calendar-picker-input",
|
|
68
|
-
return s(h, { key: "
|
|
67
|
+
const e = O(), a = typeof this?.inputProps?.id == "string" ? this.inputProps.id : "calendar-picker-input", t = { id: a, appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: this.syncCalendarPickerValue(), name: this.name, inputProps: { ...this?.inputProps ?? {}, id: a } }, i = this?.startYear ?? v, r = this?.endYear ?? Y, l = Number(i), d = Number(r);
|
|
68
|
+
return s(h, { key: "e6d401da7242a3244d549c8c75816cdff0903416", class: e }, s("gids-dropdown", { key: "dcbab5412c161277ade41d085efe2b09675a9d7c", ...t, menuPlacement: this?.menuPlacement ?? "bottom", menuConstrainPlacements: this.menuConstrainPlacements ?? ["bottom", "top"] }, this.hasLeadingIcon && s("slot", { key: "a4bbecc7519484113afe2f2c5cf031e82fb9167d", name: "leadingIconDropdown", slot: "leadingIconDropdown" }), s("gids-calendar", { key: "ef8c4d83725ce1434381a2b9dae7bf19036fcb56", onSelectionCalendarCell: this.handleCalendarDateSelectionChange, startYear: l, endYear: d, panelActionsAppearance: this?.panelActionsAppearance ?? "default", monthPickerDisabled: this.monthPickerDisabled, nextDisabled: this.nextDisabled, panelDisabled: this.panelDisabled, previousDisabled: this.previousDisabled, yearPickerDisabled: this.yearPickerDisabled, onNextChange: this.handleCalendarNextChange, onPanelMonthChange: this.handleCalendarPanelMonthChange, onPanelYearChange: this.handleCalendarPanelYearChange, onPreviousChange: this.handleCalendarPreviousChange, selectedDate: this.getSelectedDate(), activeMonthNumber: this.getActiveMonthNumber(), activeYear: this.getActiveYear() })));
|
|
69
69
|
}
|
|
70
70
|
get hostElement() {
|
|
71
71
|
return this;
|
|
@@ -77,46 +77,46 @@ const E = (e) => D("gids-calendar-picker", e), S = /* @__PURE__ */ Object.freeze
|
|
|
77
77
|
return ".gids-calendar-picker{position:relative;display:flex;flex-direction:column}";
|
|
78
78
|
}
|
|
79
79
|
}, [260, "gids-calendar-picker", { appearance: [1], inputProps: [16], disabled: [516], readOnly: [516, "read-only"], loading: [516], value: [513], name: [1], required: [4], menuPlacement: [1, "menu-placement"], menuConstrainPlacements: [16], startYear: [2, "start-year"], endYear: [2, "end-year"], monthPickerDisabled: [4, "month-picker-disabled"], nextDisabled: [4, "next-disabled"], panelDisabled: [4, "panel-disabled"], previousDisabled: [4, "previous-disabled"], yearPickerDisabled: [4, "year-picker-disabled"], panelActionsAppearance: [1, "panel-actions-appearance"], onNextChange: [16], onPreviousChange: [16], onPanelMonthChange: [16], onPanelYearChange: [16], onSelectionCalendarCell: [16], hasLeadingIcon: [32], selectedCalendarPickerObj: [32] }, void 0, { disabled: [{ handleInteractivityChange: 0 }], readOnly: [{ handleInteractivityChange: 0 }], menuPlacement: [{ menuPlacementChanged: 0 }], menuConstrainPlacements: [{ menuConstrainPlacementsChanged: 0 }], startYear: [{ startYearChanged: 0 }], endYear: [{ endYearChanged: 0 }] }]);
|
|
80
|
-
function
|
|
80
|
+
function N() {
|
|
81
81
|
typeof customElements < "u" && ["gids-calendar-picker", "gids-calendar", "gids-calendar-header-panel", "gids-calendar-month-list", "gids-calendar-year-list", "gids-dot", "gids-dropdown", "gids-dropdown-picker", "gids-flyout-panel", "gids-icon", "gids-input"].forEach(((e) => {
|
|
82
82
|
switch (e) {
|
|
83
83
|
case "gids-calendar-picker":
|
|
84
|
-
customElements.get(
|
|
84
|
+
customElements.get(n(e)) || customElements.define(n(e), x);
|
|
85
85
|
break;
|
|
86
86
|
case "gids-calendar":
|
|
87
|
-
customElements.get(
|
|
87
|
+
customElements.get(n(e)) || m();
|
|
88
88
|
break;
|
|
89
89
|
case "gids-calendar-header-panel":
|
|
90
|
-
customElements.get(
|
|
90
|
+
customElements.get(n(e)) || g();
|
|
91
91
|
break;
|
|
92
92
|
case "gids-calendar-month-list":
|
|
93
|
-
customElements.get(
|
|
93
|
+
customElements.get(n(e)) || u();
|
|
94
94
|
break;
|
|
95
95
|
case "gids-calendar-year-list":
|
|
96
|
-
customElements.get(
|
|
96
|
+
customElements.get(n(e)) || p();
|
|
97
97
|
break;
|
|
98
98
|
case "gids-dot":
|
|
99
|
-
customElements.get(
|
|
99
|
+
customElements.get(n(e)) || C();
|
|
100
100
|
break;
|
|
101
101
|
case "gids-dropdown":
|
|
102
|
-
customElements.get(
|
|
102
|
+
customElements.get(n(e)) || P();
|
|
103
103
|
break;
|
|
104
104
|
case "gids-dropdown-picker":
|
|
105
|
-
customElements.get(
|
|
105
|
+
customElements.get(n(e)) || b();
|
|
106
106
|
break;
|
|
107
107
|
case "gids-flyout-panel":
|
|
108
|
-
customElements.get(
|
|
108
|
+
customElements.get(n(e)) || f();
|
|
109
109
|
break;
|
|
110
110
|
case "gids-icon":
|
|
111
|
-
customElements.get(
|
|
111
|
+
customElements.get(n(e)) || k();
|
|
112
112
|
break;
|
|
113
113
|
case "gids-input":
|
|
114
|
-
customElements.get(
|
|
114
|
+
customElements.get(n(e)) || y();
|
|
115
115
|
}
|
|
116
116
|
}));
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
N();
|
|
119
119
|
export {
|
|
120
|
-
|
|
120
|
+
N as P,
|
|
121
121
|
x as k
|
|
122
122
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { q as e, L as t, u as s, D as o } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import { i as
|
|
3
|
-
import { d as
|
|
4
|
-
const
|
|
2
|
+
import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
+
import { d as c } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
4
|
+
const a = t(class extends s {
|
|
5
5
|
constructor(i) {
|
|
6
6
|
super(), i !== !1 && this.__registerHost(), this.__attachShadow();
|
|
7
7
|
}
|
|
8
8
|
connectedCallback() {
|
|
9
|
-
const i =
|
|
9
|
+
const i = d();
|
|
10
10
|
i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return o(
|
|
13
|
+
return o(c, { key: "186df453f30acd372d984cda3cdc1e6ecdc1f55a", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
|
|
14
14
|
}
|
|
15
15
|
get _el() {
|
|
16
16
|
return this;
|
|
@@ -19,13 +19,13 @@ const d = t(class extends s {
|
|
|
19
19
|
return ".gids-icon{color:var(--gidsIcon-color, var(--gids-color-icon-default));fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%);flex-shrink:0}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}";
|
|
20
20
|
}
|
|
21
21
|
}, [1, "gids-icon", { name: [1], size: [1], appearance: [1], alt: [1], titleId: [1, "title-id"] }]);
|
|
22
|
-
function
|
|
22
|
+
function n() {
|
|
23
23
|
typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
|
|
24
|
-
i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i),
|
|
24
|
+
i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), a));
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
n();
|
|
28
28
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
a as d,
|
|
30
|
+
n
|
|
31
31
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as f, L as g, u as v, D as c } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { d as p } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
3
|
-
import { o as I } from "./p-
|
|
3
|
+
import { o as I } from "./p-BwDi-0yS-vyn3pUko.js";
|
|
4
4
|
import { c as y } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const S = ({ expanded: h }, e) => y("gids-filter", {
|
|
6
6
|
"gids-filter--expanded": h
|
|
@@ -142,7 +142,7 @@ const F = g((s = class extends v {
|
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
144
|
const e = this.expanded && this.isInteractive(), t = E({ expanded: e }), l = this.isMenuToggler(), i = typeof this.filterPickerId == "string" ? this.filterPickerId : void 0, n = i ? `${i}__menu` : void 0, r = this.selectedItemTitle ?? this.value ?? "", d = this.type === "more", a = this.type === "all", o = this.type === "none";
|
|
145
|
-
return c("div", { key: "
|
|
145
|
+
return c("div", { key: "2951a29a49334e9a532936ac5d02fa3dd349969c", class: t, "aria-control": n ?? "" }, c("gids-toggle-button", { key: "6f3baa33a5d89b4ca3ef09b4bba8bddf43b2738d", id: i, name: this.name, expanded: e, value: r, disabled: this.disabled, size: this.size, loading: this.loading, tabIndex: this.filterIndex, defaultSelected: this.filterDefaultSelected, selected: this.filterSelected, onSelect: this.handleFilterButtonClickToggle }, d || a ? c(p, { name: d ? "options" : "filter", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" }) : void 0, o || a ? r : void 0, l && !d ? c(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "trailingIcon" }) : void 0), c("div", { key: "3d95a4f59ddb5f2760c2069522f967791a6dd252", class: "gids-filter__menu", id: n, role: "pickerbox", onClick: this.handleMenuClick }, c("slot", { key: "0619fc130d7b4f15bceccf1df07d546abc6ebfdd", onSlotchange: () => this.evaluateSlottedMenuExistence() })));
|
|
146
146
|
}
|
|
147
147
|
get hostElement() {
|
|
148
148
|
return this;
|
|
@@ -154,7 +154,7 @@ const F = g((s = class extends v {
|
|
|
154
154
|
return ".gids-filter{position:relative}.gids-filter__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;align-self:stretch;min-width:var(--gids-width-2-xs);min-height:55px;max-height:15rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg);left:0;right:auto}.gids-filter__menu--align-right{left:auto !important;right:0 !important}.gids-filter__menu>*{flex-shrink:0}.gids-filter--expanded .gids-filter__menu{display:flex}";
|
|
155
155
|
}
|
|
156
156
|
}, s.emittedValuesTracker = /* @__PURE__ */ new Set(), s), [260, "gids-filter", { name: [1], filterId: [1025, "filter-id"], filterPickerId: [1, "filter-picker-id"], expanded: [4], type: [1], filterItemType: [1, "filter-item-type"], value: [1], filterSelected: [1540, "filter-selected"], filterDefaultSelected: [4, "filter-default-selected"], disabled: [4], size: [1], loading: [4], filterIndex: [2, "filter-index"], onFilterMenuItemChange: [16], onToggle: [16], selectedItemTitle: [32], hasSlottedMenu: [32] }, [[8, "click", "handleWindowClick"]], { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }], type: [{ handleFilterTypeChange: 0 }], filterId: [{ handleFilterIdArrival: 0 }], filterSelected: [{ handleFilterSelectedChange: 0 }], filterDefaultSelected: [{ handleFilterDefaultSelectedChange: 0 }] }]);
|
|
157
|
-
function
|
|
157
|
+
function b() {
|
|
158
158
|
typeof customElements < "u" && ["gids-filter", "gids-toggle-button"].forEach(((h) => {
|
|
159
159
|
switch (h) {
|
|
160
160
|
case "gids-filter":
|
|
@@ -165,8 +165,8 @@ function T() {
|
|
|
165
165
|
}
|
|
166
166
|
}));
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
b();
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
b as a,
|
|
171
171
|
F as r
|
|
172
172
|
};
|
|
@@ -2,7 +2,7 @@ import { q as h, L as f, u as p, D as d, P as g } from "./p-B4hcsDH0-CPqEc-vc.js
|
|
|
2
2
|
import { b as P } from "./p-D2VR17v2-C0k_l_CT.js";
|
|
3
3
|
import { i as M, t as b } from "./p-BBlUduEr-CWdvgBS6.js";
|
|
4
4
|
import { r as u } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
5
|
-
import { y as v } from "./p-
|
|
5
|
+
import { y as v } from "./p-Dt270JVs-DJODMRWa.js";
|
|
6
6
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
7
7
|
const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
@@ -50,7 +50,7 @@ const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/*
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const i = this?.headerItem, e = this?.headerVisible, n = this?.headerDividerVisible, o = this?.listSectionDividerVisible, t = this?.profileMenuItems ?? [], r = y();
|
|
53
|
-
return d(g, { key: "
|
|
53
|
+
return d(g, { key: "a9e5e6fa7da9269296f465e35e911df47fc6d19c", class: r }, d(M, { key: "0413c908c8a031094d9dd2cd0c563cba8a201d3f", type: this.hasProfileMenuItems() ? "default" : "no-options" }, e ? d("div", { class: "gids-profile-menu__header-container" }, d("gids-profile-menu-header", { ...i, onHeaderAvatarPress: this.onHeaderAvatarPress, onHeaderTitlePress: this.onHeaderTitlePress, onHeaderSupportingTextPress: this.onHeaderSupportingTextPress })) : void 0, n && this.hasHeaderItem() ? d("div", { class: "gids-profile-menu__header-divider-container" }, d(u, null)) : void 0, t.map(((l, s) => d(b, { key: `${s + 1}`, sectionLabel: l?.sectionLabel ?? "" }, (l?.items ?? []).map(((a, m) => {
|
|
54
54
|
const c = this.isThisItemSelected({ ...a, sectionIndex: s, itemIndex: m });
|
|
55
55
|
return console.log("_thisItemSelected", c), d(P, { ...a, key: `${m + 1}`, id: a.id, index: m, onPressListItem: (I) => this.onListItemPress({ event: I, sectionIndex: s, itemIndex: m, item: a }), selected: c }, a?.leadingLabel);
|
|
56
56
|
})), s < t.length - 1 && o ? d(u, null) : void 0)))));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { q as s, L as b, u as I, D as d, P as C } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { r as m } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
3
3
|
import { d as h } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
4
|
-
import {
|
|
5
|
-
import { u as k } from "./p-
|
|
6
|
-
import {
|
|
7
|
-
import { P as x } from "./p-
|
|
8
|
-
import { m as v } from "./p-
|
|
9
|
-
import { f as M } from "./p-
|
|
10
|
-
import { g as O } from "./p-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { r as Y } from "./p-
|
|
16
|
-
import { f as w } from "./p-
|
|
17
|
-
import {
|
|
18
|
-
import { g as o, c as l, d as c, h as _, i as
|
|
19
|
-
import { c as
|
|
20
|
-
const A = (e) =>
|
|
4
|
+
import { N as P } from "./p-CCX8DA2Z-D0OkaCKx.js";
|
|
5
|
+
import { u as k } from "./p-3H10HA8U-DWG31yfh.js";
|
|
6
|
+
import { l as f } from "./p-cXOH6OAQ-BRmZ0lXm.js";
|
|
7
|
+
import { P as x } from "./p-D8vooi3L-C5jeoC6H.js";
|
|
8
|
+
import { m as v } from "./p-CJ1tQlEt-B8GYL1we.js";
|
|
9
|
+
import { f as M } from "./p-Cf9ipNLT-HF4MWnLF.js";
|
|
10
|
+
import { g as O } from "./p-B2CvDGSE-B-50q6JD.js";
|
|
11
|
+
import { u as j } from "./p-Bbw1WCO7-CJU0y0iF.js";
|
|
12
|
+
import { h as S } from "./p-BGBsQSqM-DtooH-AA.js";
|
|
13
|
+
import { c as N } from "./p-CS2U2Mro-6wGJ-t9P.js";
|
|
14
|
+
import { n as E } from "./p-DB0ZJi5J-BEYBVVuq.js";
|
|
15
|
+
import { r as Y } from "./p-_OVEnTXa-q7qjnzI3.js";
|
|
16
|
+
import { f as w } from "./p-lVcUFx2e-D6N6qefs.js";
|
|
17
|
+
import { b as V } from "./p-DuonIHDh-B6YKWTfP.js";
|
|
18
|
+
import { g as o, c as l, d as c, h as _, i as q } from "./GidsDatePickerSharedUtils-Dh5qFlYA.js";
|
|
19
|
+
import { c as $ } from "./clsx-OuTLNxxd.js";
|
|
20
|
+
const A = (e) => $("gids-date-picker", e), F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
22
|
getGidsDatePickerClassNames: A
|
|
23
23
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsDatePickerClassNames: G } = F, L = b(class extends I {
|
|
@@ -78,8 +78,8 @@ const A = (e) => q("gids-date-picker", e), F = /* @__PURE__ */ Object.freeze(/*
|
|
|
78
78
|
connectedCallback() {
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
const e = G(), a = this?.type ?? "menu", t = this?.startDate ??
|
|
82
|
-
return d(C, { key: "
|
|
81
|
+
const e = G(), a = this?.type ?? "menu", t = this?.startDate ?? q(), n = this?.endDate ?? _(), r = o(t), i = o(n), u = { appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: this.syncYearDropdownPickerValue(), name: this.name, inputProps: { ...this?.yearInputProps ?? {} } }, g = { appearance: this.appearance, loading: this.loading, disabled: this.disabled || !this.isMenuMonthInteractive(), readOnly: this.readOnly, required: this.required, value: this.syncMonthDropdownPickerValue(), name: this.name, inputProps: { ...this?.monthInputProps ?? {} } }, p = { appearance: this.appearance, loading: this.loading, disabled: this.disabled || !this.isMenuDayInteractive(), readOnly: this.readOnly, required: this.required, value: this.syncDayDropdownPickerValue(), name: this.name, inputProps: { ...this?.dateInputProps ?? {} } }, y = { appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: this.syncCalendarPickerValue(), name: this.name, inputProps: { ...this?.calendarPickerInputProps ?? {} } };
|
|
82
|
+
return d(C, { key: "be014448d200ce06f4ff22acc2b12b557ca3b1c7", class: e }, a === "menu" ? d("div", { class: "gids-date-picker__menu-date-picker-container" }, d("gids-year-dropdown-picker", { startYear: r?.year, endYear: i?.year, ...u, onYearChange: this.handleYearChange }, d(h, { name: "calendar", slot: "leadingIconDropdown" })), d("div", { class: "gids-date-picker__menu-divider-container" }, d(m, { orientation: "vertical" })), d("gids-month-dropdown-picker", { startMonth: r?.monthInNumber, endMonth: i?.monthInNumber, ...g, onMonthChange: this.handleMonthChange }, d(h, { name: "calendar", slot: "leadingIconDropdown" })), d("div", { class: "gids-date-picker__menu-divider-container" }, d(m, { orientation: "vertical" })), d("gids-day-dropdown-picker", { startDay: r?.dateInNumber, endDay: i?.dateInNumber, ...p, onDayChange: this.handleDayChange }, d(h, { name: "calendar", slot: "leadingIconDropdown" }))) : d("gids-calendar-picker", { ...y, startYear: r?.year, endYear: i?.year, panelActionsAppearance: this?.panelActionsAppearance ?? "default", monthPickerDisabled: this.monthPickerDisabled, nextDisabled: this.nextDisabled, panelDisabled: this.panelDisabled, previousDisabled: this.previousDisabled, yearPickerDisabled: this.yearPickerDisabled, onNextChange: this.handleCalendarNextChange, onPanelMonthChange: this.handleCalendarPanelMonthChange, onPanelYearChange: this.handleCalendarPanelYearChange, onPreviousChange: this.handleCalendarPreviousChange, onSelectionCalendarCell: (D) => this.handleCalendarDateSelectionChange({ event: D }) }, d(h, { name: "calendar", slot: "leadingIconDropdown" })));
|
|
83
83
|
}
|
|
84
84
|
get hostElement() {
|
|
85
85
|
return this;
|
|
@@ -143,6 +143,6 @@ function z() {
|
|
|
143
143
|
}
|
|
144
144
|
z();
|
|
145
145
|
export {
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
z as E,
|
|
147
|
+
L as w
|
|
148
148
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as s, L as P, u as A, D as n, P as x } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import { P as v, T as L } from "./p-
|
|
2
|
+
import { P as v, T as L } from "./p-69VXkSHc-vZd5gQWS.js";
|
|
3
3
|
import { d as T } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as E } from "./p-CS2U2Mro-6wGJ-t9P.js";
|
|
5
5
|
import { c as y } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const D = (e) => y("gids-sidebar-item", e), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
7
|
__proto__: null,
|
|
@@ -77,7 +77,7 @@ const D = (e) => y("gids-sidebar-item", e), _ = /* @__PURE__ */ Object.freeze(/*
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
const e = this.id, t = this?.appearance ?? "subtle", a = this?.selectionAppearance ?? "default", i = this?.leadingLabel, l = this?.leadingSupportingText, c = this?.trailingLabel, m = this?.trailingSupportingText, u = this?.disabled ?? !1, o = this?.selectedState ?? !1, h = this?.menuId ?? "sidebar-menu-item", g = this?.menuPlacement ?? "right", I = this?.menuConstrainPlacements && this.menuConstrainPlacements.length > 0 ? this.menuConstrainPlacements : ["bottom", "left", "right", "top", "left-start", "left-end", "right-start", "right-end"], p = this?.menuData ?? [], b = this?.sidebarMenuItemAppearance ?? "subtle", S = this?.sidebarMenuItemSelectionAppearance ?? "default", M = this?.selectedMenuItemSectionIdState ?? void 0, C = this?.selectedMenuItemIdState ?? void 0, r = this.hasMenu(), f = k();
|
|
80
|
-
return n(x, { key: "
|
|
80
|
+
return n(x, { key: "a844b77f7e7119f075e0fc56dcf495761d6147db", id: e, class: f }, n(L, { key: "d6f0983f42d4fac33ddcbe40eb24b1eebf6aff71", id: e, appearance: t, selectionAppearance: a, leadingLabel: i, leadingSupportingText: l, trailingLabel: c, trailingSupportingText: m, selected: o, disabled: u, leadingIcon: n("slot", { name: "sidebarItemLeadingIcon" }), leadingAccessory: n("slot", { name: "sidebarItemLeadingAccessory" }), trailingAccessory: n("slot", { name: "sidebarItemTrailingAccessory" }), trailingIcon: r ? n(T, { name: "chevron-right", size: "md", appearance: "regular", alt: "" }) : void 0, onPressSidebarMenuItem: (d) => this.onSidebarMenuItemPress({ event: d }) }), r ? n("div", { class: "gids-sidebar-item__menu-container" }, n("gids-sidebar-menu", { htmlFor: e, menuData: p, id: h, placement: g, constrainPlacements: I, sidebarMenuItemAppearance: b, sidebarMenuItemSelectionAppearance: S, selectedSectionId: M, selectedItemId: C, onSidebarMenuChange: (d) => this.onChangeSidebarMenu({ event: d }) })) : void 0);
|
|
81
81
|
}
|
|
82
82
|
get hostElement() {
|
|
83
83
|
return this;
|
|
@@ -76,7 +76,7 @@ const x = ({ text: e, alt: a }) => a === "" || a === void 0 && e === void 0, P =
|
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
const e = this?.headerItemsPosition ?? "default", a = this?.headerTitle, t = this?.headerSupportingText, n = this?.headerDescription, s = this?.avatarVisible ?? !1, d = this?.avatarBadgeVisible ?? !1, r = this?.avatarProps, o = r?.badgeProps, l = M({ headerItemsPosition: e }), g = r?.size ?? "xl";
|
|
79
|
-
return i(u, { key: "
|
|
79
|
+
return i(u, { key: "3180ee8375929959ca8e809ba5e8d856077789a4", class: l }, s ? i(j, { onClick: this.onAvatarItemPress, appearance: r?.appearance ?? "text", color: r?.color ?? "brand", size: g, text: this.getAvatarText(), imageSrc: r?.imageSrc ?? "", alt: r?.alt ?? "alt-img", badge: d ? i(b, { appearance: o?.appearance ?? "information", type: o?.type, count: o?.count, outline: o?.outline }) : void 0 }) : void 0, i("div", { key: "dbfb85c27e653cdc909164419c07635a501b1bf7", class: y("gids-profile-menu-header__content-container-default", { "gids-profile-menu-header__content-container-centralized": e === "centralized" }) }, i("label", { key: "603b0ea17ffeb015c4f84e648041a36ea083ea4d", onClick: this.onHeaderItemTitlePress }, a), i("span", { key: "8fb6d1f72ef96a939bd4ca3e46ade01a3eec798f", onClick: this.onHeaderItemSupportingTextPress }, t), i("p", { key: "bbe61a312b5754da90fae5280d376324afbc0c35" }, n)));
|
|
80
80
|
}
|
|
81
81
|
get hostElement() {
|
|
82
82
|
return this;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { q as d, L as p, u as g, D as n, P as y } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import { i as Y, t as
|
|
3
|
-
import { i as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as k } from "./p-
|
|
2
|
+
import { i as Y, t as b } from "./p-BBlUduEr-CWdvgBS6.js";
|
|
3
|
+
import { i as f } from "./p-B3AB3GQ0-DdgNC9FJ.js";
|
|
4
|
+
import { u as C } from "./p-Bbw1WCO7-CJU0y0iF.js";
|
|
5
|
+
import { c as P } from "./p-CS2U2Mro-6wGJ-t9P.js";
|
|
6
|
+
import { r as k } from "./p-_OVEnTXa-q7qjnzI3.js";
|
|
7
7
|
import { f as c, b as m, l as I } from "./GidsDatePickerSharedUtils-Dh5qFlYA.js";
|
|
8
8
|
import { c as D } from "./clsx-OuTLNxxd.js";
|
|
9
9
|
const v = (e) => D("gids-year-dropdown-picker", e), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -47,9 +47,9 @@ const v = (e) => D("gids-year-dropdown-picker", e), w = /* @__PURE__ */ Object.f
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const e = S(), t = typeof this?.inputProps?.id == "string" ? this.inputProps.id : "year-input", s = { id: t, appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: this.syncYearDropdownPickerValue(), name: this.name, inputProps: { ...this?.inputProps ?? {}, id: t } }, o = this?.yearsMenuData ?? [];
|
|
50
|
-
return n(y, { key: "
|
|
50
|
+
return n(y, { key: "eb898679c65418280db85683ba0fe83cd9299eae", class: e }, n("gids-dropdown", { key: "208db97501bd7002b47004a66dab7359e66baf85", ...s, menuPlacement: this?.menuPlacement ?? "bottom", menuConstrainPlacements: this.menuConstrainPlacements ?? ["bottom", "top"] }, this.hasLeadingIcon && n("slot", { key: "1be4cf288295891e33d97ffb0ea7912f38316fe6", name: "leadingIconDropdown", slot: "leadingIconDropdown" }), n(Y, { key: "e442aae4fc327ca1aed6a1c81c9de6ea32da622c", type: this.loading ? "loading" : "default" }, o.map(((a, i) => {
|
|
51
51
|
const h = a?.menuItems ?? [];
|
|
52
|
-
return n(
|
|
52
|
+
return n(b, { key: `${a.sectionId}_${i}`, sectionLabel: a?.sectionLabel }, h.map(((r, l) => n(f, { id: r.id, title: r?.title, value: r?.value, index: l, disabled: r?.disabled, selected: this.isYearSelected(r), onPressDropdownItem: (u) => this.handleYearSelectionChange({ event: u, sectionIndex: i, itemIndex: l }) }))));
|
|
53
53
|
})))));
|
|
54
54
|
}
|
|
55
55
|
get hostElement() {
|
|
@@ -81,6 +81,6 @@ function x() {
|
|
|
81
81
|
}
|
|
82
82
|
x();
|
|
83
83
|
export {
|
|
84
|
-
x as
|
|
84
|
+
x as b,
|
|
85
85
|
O as y
|
|
86
86
|
};
|
|
@@ -54,9 +54,9 @@ const c = (e) => e.type === "hidden", f = (e) => {
|
|
|
54
54
|
this._el.removeEventListener("click", this._focusInput);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return a(d, { key: "
|
|
57
|
+
return a(d, { key: "fb7b4c0ef80c583f3507ce4d37db29d24ca2b562" }, a("slot", { key: "d8afd829fa9fbc074538b11d16f313da70edfd41", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "7a1502d42be08f757dfef5e2749562a0d0abc7f0", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "3ad00b2a862b3a99fbaaef28af9a8228e23f6088", name: "leadingAccessory" }), a("input", { key: "1aa8cce113b2584ac9eee246db731c851dc10b83", ...this.inputProps, ref: (e) => {
|
|
58
58
|
this.#t = e, this.#e.value !== void 0 && (this.#t.value = this.#e.value, delete this.#e.value), this.#e.defaultValue !== void 0 && (this.#t.defaultValue = this.#e.defaultValue, delete this.#e.defaultValue);
|
|
59
|
-
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "
|
|
59
|
+
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "dff99e9155afe94cdd7c7cd3229f8c802ca2534f", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "ace6d5236a1b0ab3446befbb9f4461405fae2070", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "c0d3c25ff0386ecb237a6747d2f578570de80f82", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "c95bac733d0938c4ac2735c6aed6c8d4b8245d14", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "0741fdf7121d191ecde85afa1119171752454d62", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(r, { key: "5364733f911f6e1aad02d09084d1ffead9b7fac2", size: "md", indeterminate: !0 }));
|
|
60
60
|
}
|
|
61
61
|
get _el() {
|
|
62
62
|
return this;
|
|
@@ -69,6 +69,6 @@ function h() {
|
|
|
69
69
|
}
|
|
70
70
|
h();
|
|
71
71
|
export {
|
|
72
|
-
o as
|
|
72
|
+
o as l,
|
|
73
73
|
h as r
|
|
74
74
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as
|
|
2
|
-
import { i as
|
|
1
|
+
import { q as a, L as r, u as c, D as l } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { i as h, t as m } from "./p-BBlUduEr-CWdvgBS6.js";
|
|
3
3
|
import { i as u } from "./p-B3AB3GQ0-DdgNC9FJ.js";
|
|
4
4
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
@@ -17,19 +17,19 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
17
17
|
__proto__: null,
|
|
18
18
|
getGidsCalendarMonthListClassNames: f,
|
|
19
19
|
getGidsCalendarMonthListMonths: I
|
|
20
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, C = r(class extends
|
|
20
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, C = r(class extends c {
|
|
21
21
|
constructor(t) {
|
|
22
22
|
super(), t !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (s) => {
|
|
23
|
-
const { title: e, value: n, selectedIndex: i, disabled:
|
|
24
|
-
|
|
23
|
+
const { title: e, value: n, selectedIndex: i, disabled: o, id: d } = s.detail;
|
|
24
|
+
o || typeof e != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
25
25
|
this.suppressNextMenuClickSelection = !1;
|
|
26
|
-
})), this.applySelection({ id:
|
|
26
|
+
})), this.applySelection({ id: d, month: e, monthInNumber: Number(n), disabled: !1, selectedIndex: i }));
|
|
27
27
|
}, this.handleMenuClick = (s) => {
|
|
28
28
|
if (this.suppressNextMenuClickSelection) return;
|
|
29
29
|
const e = s?.detail;
|
|
30
30
|
this.applySelection({ id: e.id, monthInNumber: Number(e.value), month: e.title, disabled: !1, selectedIndex: e.selectedIndex });
|
|
31
31
|
}, this.monthsList = () => M(), this.getSelectedItem = () => {
|
|
32
|
-
const s = this.selectedMonthNumber, e = this.monthsList(), n = e.findIndex(((
|
|
32
|
+
const s = this.selectedMonthNumber, e = this.monthsList(), n = e.findIndex(((o) => o.value === s));
|
|
33
33
|
let i;
|
|
34
34
|
return n != null && n !== -1 && (i = e[n]), { foundItem: i, foundIndex: n };
|
|
35
35
|
}, this.isItemSelected = (s) => {
|
|
@@ -60,7 +60,7 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
const t = g();
|
|
63
|
-
return l("div", { key: "
|
|
63
|
+
return l("div", { key: "1992a073a048cca6005c2c2de241b13a7adca248", class: t }, l(h, { key: "3c26cb68a9760f7387c485e2a224eca4f1256c53", type: this.type, supportingText: this.noOptionsText }, l(m, { key: "647b8f75dc50a05cab39863ab979bb882c9f81c5", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
|
|
64
64
|
const n = `${e + 1}`, i = this.disabledIndices?.includes(e);
|
|
65
65
|
return l(u, { title: s.title, value: `${s.value}`, key: `${e.toString()}`, index: e, id: n, selected: this.isItemSelected(e), onPressDropdownItem: this.handleMenuClick, disabled: i, divider: this.divider, isPlaceholderItem: !1 });
|
|
66
66
|
})))));
|
|
@@ -71,11 +71,11 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
|
|
|
71
71
|
}, [0, "gids-calendar-month-list", { type: [1], noOptionsText: [1, "no-options-text"], disabledIndices: [16], divider: [4], selectedMonthNumber: [2, "selected-month-number"], onSelectionMonthChange: [16] }]);
|
|
72
72
|
function L() {
|
|
73
73
|
typeof customElements < "u" && ["gids-calendar-month-list"].forEach(((t) => {
|
|
74
|
-
t === "gids-calendar-month-list" && (customElements.get(
|
|
74
|
+
t === "gids-calendar-month-list" && (customElements.get(a(t)) || customElements.define(a(t), C));
|
|
75
75
|
}));
|
|
76
76
|
}
|
|
77
77
|
L();
|
|
78
78
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
C as c,
|
|
80
|
+
L as l
|
|
81
81
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q as d, L as p, u as g, D as
|
|
1
|
+
import { q as d, L as p, u as g, D as s, P as M } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as b, t as f } from "./p-BBlUduEr-CWdvgBS6.js";
|
|
3
3
|
import { i as C } from "./p-B3AB3GQ0-DdgNC9FJ.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as k } from "./p-
|
|
4
|
+
import { u as P } from "./p-Bbw1WCO7-CJU0y0iF.js";
|
|
5
|
+
import { c as y } from "./p-CS2U2Mro-6wGJ-t9P.js";
|
|
6
|
+
import { r as k } from "./p-_OVEnTXa-q7qjnzI3.js";
|
|
7
7
|
import { e as l, a as c, k as I } from "./GidsDatePickerSharedUtils-Dh5qFlYA.js";
|
|
8
8
|
import { c as D } from "./clsx-OuTLNxxd.js";
|
|
9
9
|
const v = (e) => D("gids-month-dropdown-picker", e), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -11,12 +11,12 @@ const v = (e) => D("gids-month-dropdown-picker", e), w = /* @__PURE__ */ Object.
|
|
|
11
11
|
getGidsMonthDropdownPickerClassNames: v
|
|
12
12
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsMonthDropdownPickerClassNames: S } = w, O = p(class extends g {
|
|
13
13
|
constructor(e) {
|
|
14
|
-
super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.menuPlacement = "bottom", this.menuConstrainPlacements = ["bottom", "top"], this.startMonth = Number(l), this.endMonth = Number(c), this.hasLeadingIcon = !1, this.monthsMenuData = [], this.selectedMonthObj = void 0, this.handleMonthSelectionChange = ({ event: t, sectionIndex:
|
|
15
|
-
const n = t?.detail, o = { originalEvent: t, id: n.id, month: n?.title ? Number(n.title) : void 0, sectionIndex:
|
|
14
|
+
super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.menuPlacement = "bottom", this.menuConstrainPlacements = ["bottom", "top"], this.startMonth = Number(l), this.endMonth = Number(c), this.hasLeadingIcon = !1, this.monthsMenuData = [], this.selectedMonthObj = void 0, this.handleMonthSelectionChange = ({ event: t, sectionIndex: a, itemIndex: h }) => {
|
|
15
|
+
const n = t?.detail, o = { originalEvent: t, id: n.id, month: n?.title ? Number(n.title) : void 0, sectionIndex: a, itemIndex: h, selected: !0 };
|
|
16
16
|
this.selectedMonthObj = o, this.onMonthChange && this.onMonthChange(o);
|
|
17
17
|
}, this.feedMonthsDataState = () => {
|
|
18
|
-
const t = this?.startMonth ?? l,
|
|
19
|
-
this.monthsMenuData = I({ startMonth: String(t), endMonth: String(
|
|
18
|
+
const t = this?.startMonth ?? l, a = this?.endMonth ?? c;
|
|
19
|
+
this.monthsMenuData = I({ startMonth: String(t), endMonth: String(a) });
|
|
20
20
|
}, this.isMonthSelected = (t) => t?.id === this?.selectedMonthObj?.id, this.syncMonthDropdownPickerValue = () => this?.selectedMonthObj?.month ? String(this.selectedMonthObj.month) : this?.value;
|
|
21
21
|
}
|
|
22
22
|
handleInteractivityChange(e) {
|
|
@@ -46,10 +46,10 @@ const v = (e) => D("gids-month-dropdown-picker", e), w = /* @__PURE__ */ Object.
|
|
|
46
46
|
this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconDropdown"]');
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
const e = S(), t = typeof this?.inputProps?.id == "string" ? this.inputProps.id : "month-input",
|
|
50
|
-
return
|
|
49
|
+
const e = S(), t = typeof this?.inputProps?.id == "string" ? this.inputProps.id : "month-input", a = { id: t, appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: this.syncMonthDropdownPickerValue(), name: this.name, inputProps: { ...this?.inputProps ?? {}, id: t } }, h = this?.monthsMenuData ?? [];
|
|
50
|
+
return s(M, { key: "5c28b117ff8bda651cbe6572772b7fd0031dba46", class: e }, s("gids-dropdown", { key: "4f334893ce786bd71a80c0dd22589c7b0097816b", ...a, menuPlacement: this?.menuPlacement ?? "bottom", menuConstrainPlacements: this.menuConstrainPlacements ?? ["bottom", "top"] }, this.hasLeadingIcon && s("slot", { key: "9db64618e39ae929e6210f954a421bd931a3ddc5", name: "leadingIconDropdown", slot: "leadingIconDropdown" }), s(b, { key: "f32752f4c1a2ff4836560243c44970c5305e04b9", type: this.loading ? "loading" : "default" }, h.map(((n, o) => {
|
|
51
51
|
const m = n?.menuItems ?? [];
|
|
52
|
-
return
|
|
52
|
+
return s(f, { key: `${n.sectionId}_${o}`, sectionLabel: n?.sectionLabel }, m.map(((i, r) => s(C, { id: i.id, title: i?.title, value: i?.value, index: r, disabled: i?.disabled, selected: this.isMonthSelected(i), onPressDropdownItem: (u) => this.handleMonthSelectionChange({ event: u, sectionIndex: o, itemIndex: r }) }))));
|
|
53
53
|
})))));
|
|
54
54
|
}
|
|
55
55
|
get hostElement() {
|
|
@@ -56,7 +56,7 @@ const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
56
56
|
const a = this._getStatusModifierClass(s, "gids-field__status-text");
|
|
57
57
|
a != null && i.push(a);
|
|
58
58
|
}
|
|
59
|
-
return o(d, { key: "
|
|
59
|
+
return o(d, { key: "08955cbc6fa2aa3d1fb77b9adf0f4032b9cf988b" }, o("div", { key: "0c06dde5a88b24f8fa67981ee5a7c811b83ab1e7", class: p() }, o("div", { key: "5692ca38df0daa2b433494395e65281d7bcbf5b3", class: "gids-field__header", hidden: !this._hasLabelContent() }, o("slot", { key: "e87ee4f029ab59859e49b279ee7cefcee96656d5", ref: this._setLabelSlot, name: "label", onSlotchange: this._handleControlSlotChange }), o("div", { key: "77a08b54fd4e03cb9a3a4b4e1477d33aeb3b94f1", class: "gids-field__count", "aria-live": "polite" }, this.count)), o("div", { key: "f129ee9336c06ec9cc5ff57c31ea6ab991dda68e", class: "gids-field__control" }, o("slot", { key: "3e41e194c7f1d7a3b0b9e10a039cf3b0475d4185", ref: this._setControlSlot, onSlotchange: this._handleControlSlotChange })), o("p", { key: "3fa1b008ac769f3b43162e616945be51a00b3f7b", class: "gids-field__supporting-text", hidden: !this._shouldShowHelperText() }, this.helperText), t ? o("p", { class: i.join(" "), role: "status", "aria-live": "polite" }, this._renderStatusIcon(s), e !== void 0 ? o("span", null, e) : null) : null));
|
|
60
60
|
}
|
|
61
61
|
_hasLabelContent() {
|
|
62
62
|
return this._hasLabel;
|