@ganpatiinfo/gids-core-web 22.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 +111 -64
- 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.d.ts +11 -0
- package/dist/gids-calendar-picker.js +1 -0
- 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.d.ts +11 -0
- package/dist/gids-date-picker-field.js +1 -0
- package/dist/gids-date-picker.d.ts +11 -0
- package/dist/gids-date-picker.js +1 -0
- package/dist/gids-day-dropdown-picker.d.ts +11 -0
- package/dist/gids-day-dropdown-picker.js +1 -0
- 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.d.ts +11 -0
- package/dist/gids-month-dropdown-picker.js +1 -0
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-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.d.ts +11 -0
- package/dist/gids-year-dropdown-picker.js +1 -0
- package/dist/{p-TfH966_e.js → p-3H10HA8U.js} +1 -1
- package/dist/{p-_W77iniK.js → p-5SNf54JN.js} +1 -1
- package/dist/p-69VXkSHc.js +1 -0
- package/dist/{p-B_FEFM5I.js → p-B2CvDGSE.js} +1 -1
- package/dist/{p-DLRj-mUX.js → p-B3AB3GQ0.js} +1 -1
- package/dist/p-BBlUduEr.js +1 -0
- package/dist/p-BGBsQSqM.js +1 -0
- package/dist/{p-BIxBMTG9.js → p-BWrCtA6O.js} +1 -1
- package/dist/{p-D0RJMGGj.js → p-BZdaC92p.js} +1 -1
- package/dist/p-Bbw1WCO7.js +1 -0
- package/dist/{p-CIjK3iHM.js → p-Bi-yBBYT.js} +1 -1
- package/dist/{p-DQQhGF5N.js → p-BwDi-0yS.js} +1 -1
- package/dist/{p-DKSnGphd.js → p-By0R-oJV.js} +1 -1
- package/dist/p-CCX8DA2Z.js +1 -0
- package/dist/{p-Ds5IzXj3.js → p-CJ1tQlEt.js} +1 -1
- package/dist/{p-DnRuhvRw.js → p-CL9pZVrx.js} +1 -1
- package/dist/p-CS2U2Mro.js +1 -0
- package/dist/p-Cf9ipNLT.js +1 -0
- package/dist/{p-B2flLE0s.js → p-Cs-QTqUM.js} +1 -1
- package/dist/{p-E13ycS5K.js → p-CytAVtIP.js} +1 -1
- package/dist/{p-CV1-78HB.js → p-D2VR17v2.js} +1 -1
- package/dist/p-D8vooi3L.js +1 -0
- package/dist/{p-DMxvWIj1.js → p-DB0ZJi5J.js} +1 -1
- package/dist/{p-BAqWcL0K.js → p-DHOvFnv4.js} +1 -1
- package/dist/{p--kh67-_Z.js → p-DIrAYgqX.js} +1 -1
- package/dist/p-DJH7wtiu.js +1 -0
- package/dist/{p-bfWlRsx_.js → p-DMN5PI18.js} +1 -1
- package/dist/p-DdJKIFk0.js +1 -0
- package/dist/{p-BCbovLBE.js → p-Dt270JVs.js} +1 -1
- package/dist/p-DuonIHDh.js +1 -0
- package/dist/{p-DzOOjiNH.js → p-_OVEnTXa.js} +1 -1
- package/dist/{p-DrxfD2yZ.js → p-cXOH6OAQ.js} +1 -1
- package/dist/p-lVcUFx2e.js +1 -0
- package/dist/{p-mv_7K1EM.js → p-peMqbYbz.js} +1 -1
- package/dist/p-piTNUZit.js +1 -0
- package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +4 -2
- package/dist/types/components/webComponents/GidsCalendarPicker/GidsCalendarPicker.d.ts +55 -0
- package/dist/types/components/webComponents/GidsDatePicker/GidsDatePicker.d.ts +74 -0
- package/dist/types/components/webComponents/GidsDatePickerField/GidsDatePickerField.d.ts +75 -0
- package/dist/types/components/webComponents/GidsDayDropdownPicker/GidsDayDropdownPicker.d.ts +40 -0
- package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +10 -8
- package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +5 -1
- package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +1 -0
- package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +7 -2
- package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +8 -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/webComponents/GidsMonthDropdownPicker/GidsMonthDropdownPicker.d.ts +40 -0
- package/dist/types/components/webComponents/GidsYearDropdownPicker/GidsYearDropdownPicker.d.ts +40 -0
- package/dist/types/components.d.ts +894 -70
- package/dist-bundled/es/GidsDatePickerSharedUtils-Dh5qFlYA.js +105 -0
- package/dist-bundled/es/gids-action-bar.js +17 -17
- package/dist-bundled/es/gids-activity-gauge.js +3 -3
- 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 +3 -3
- package/dist-bundled/es/gids-calendar-picker.js +6 -0
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +4 -151
- package/dist-bundled/es/gids-chart-legend-item.js +4 -4
- package/dist-bundled/es/gids-chart-legend.js +3 -3
- package/dist-bundled/es/gids-chart.js +21 -21
- package/dist-bundled/es/gids-chevron-button.js +3 -3
- package/dist-bundled/es/gids-date-picker-field.js +181 -0
- package/dist-bundled/es/gids-date-picker.js +6 -0
- package/dist-bundled/es/gids-day-dropdown-picker.js +6 -0
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +29 -19
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- 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 +1 -1
- package/dist-bundled/es/gids-expansion.js +8 -8
- package/dist-bundled/es/gids-field.js +4 -4
- package/dist-bundled/es/gids-filter.js +1 -1
- package/dist-bundled/es/gids-flyout-panel.js +1 -1
- package/dist-bundled/es/gids-form.js +65 -49
- package/dist-bundled/es/gids-header-navigation-item.js +3 -3
- package/dist-bundled/es/gids-header-navigation.js +59 -60
- package/dist-bundled/es/gids-icon.js +1 -1
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +60 -60
- package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +25 -25
- 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 +10 -10
- package/dist-bundled/es/gids-scrim.js +1 -1
- 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 +7 -7
- package/dist-bundled/es/gids-skeleton.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +1 -1
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +12 -12
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/gids-transfer-list.js +8 -8
- package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
- package/dist-bundled/es/{p-TfH966_e-BzZRV8Rj.js → p-3H10HA8U-DWG31yfh.js} +9 -9
- package/dist-bundled/es/{p-_W77iniK-ChKfEOp3.js → p-5SNf54JN-Dke4QoYK.js} +2 -2
- package/dist-bundled/es/{p-kWyyLyT3-VhX9LNzT.js → p-69VXkSHc-vZd5gQWS.js} +28 -28
- package/dist-bundled/es/{p-B_FEFM5I-JoBieRfG.js → p-B2CvDGSE-B-50q6JD.js} +5 -5
- package/dist-bundled/es/{p-DLRj-mUX-BapdQYpI.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
- package/dist-bundled/es/{p-CAjDiWIc-C9dOa7FT.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
- package/dist-bundled/es/{p-BQT5yy5L-C1C_zTi-.js → p-BGBsQSqM-DtooH-AA.js} +8 -4
- package/dist-bundled/es/{p-BIxBMTG9-Ctr342ff.js → p-BWrCtA6O-DHaJx1bg.js} +3 -3
- package/dist-bundled/es/{p-D0RJMGGj-BflZ9l8y.js → p-BZdaC92p-DjVPKyfk.js} +5 -5
- package/dist-bundled/es/p-Bbw1WCO7-CJU0y0iF.js +240 -0
- package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-Bi-yBBYT-CC0Ktxng.js} +1 -1
- package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-BwDi-0yS-vyn3pUko.js} +8 -8
- package/dist-bundled/es/{p-DKSnGphd-CZSPfB-N.js → p-By0R-oJV-DkI-JpEG.js} +3 -3
- package/dist-bundled/es/p-CCX8DA2Z-D0OkaCKx.js +157 -0
- package/dist-bundled/es/{p-Ds5IzXj3-B2o0ML2C.js → p-CJ1tQlEt-B8GYL1we.js} +13 -13
- package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-CL9pZVrx-BYVOaGDA.js} +8 -8
- package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CS2U2Mro-6wGJ-t9P.js} +31 -19
- package/dist-bundled/es/p-Cf9ipNLT-HF4MWnLF.js +86 -0
- package/dist-bundled/es/{p-B2flLE0s-SMg7vg1a.js → p-Cs-QTqUM-CcvsSUzr.js} +2 -2
- package/dist-bundled/es/{p-E13ycS5K-BBDydae3.js → p-CytAVtIP-IZSm6SZx.js} +1 -1
- package/dist-bundled/es/p-D8vooi3L-C5jeoC6H.js +122 -0
- package/dist-bundled/es/{p-DMxvWIj1-BxbvrlFL.js → p-DB0ZJi5J-BEYBVVuq.js} +9 -9
- package/dist-bundled/es/{p-BAqWcL0K-DNkV1R_C.js → p-DHOvFnv4-DZQmbUn3.js} +2 -2
- package/dist-bundled/es/{p--kh67-_Z-B-vf_gng.js → p-DIrAYgqX-BoR42JaL.js} +4 -4
- package/dist-bundled/es/p-DJH7wtiu-BDWtYcRw.js +148 -0
- package/dist-bundled/es/{p-bfWlRsx_-CNZjBYOE.js → p-DMN5PI18-CiBpBUeE.js} +3 -3
- package/dist-bundled/es/{p-Do_VlNHg-Ck03dQOR.js → p-DdJKIFk0-Co3FvR3K.js} +1 -1
- package/dist-bundled/es/{p-BCbovLBE-CDxKiOtS.js → p-Dt270JVs-DJODMRWa.js} +1 -1
- package/dist-bundled/es/p-DuonIHDh-B6YKWTfP.js +86 -0
- package/dist-bundled/es/{p-DzOOjiNH-CqI4E-mj.js → p-_OVEnTXa-q7qjnzI3.js} +2 -2
- package/dist-bundled/es/{p-DrxfD2yZ-Cetyr3S9.js → p-cXOH6OAQ-BRmZ0lXm.js} +10 -10
- package/dist-bundled/es/p-lVcUFx2e-D6N6qefs.js +86 -0
- package/dist-bundled/es/{p-mv_7K1EM-U3yKC45e.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 +5 -0
- 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 +5 -0
- package/dist-bundled/umd/gids-date-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-form.umd.js +2 -2
- 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 +5 -0
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +1 -1
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- 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 +1 -1
- package/dist-bundled/umd/gids-profile.umd.js +1 -1
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
- package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
- 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 +5 -0
- package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
- package/package.json +55 -7
- package/dist/p-BQT5yy5L.js +0 -1
- package/dist/p-B_St7yaX.js +0 -1
- package/dist/p-CAjDiWIc.js +0 -1
- package/dist/p-Do_VlNHg.js +0 -1
- package/dist/p-DpvdbdZ-.js +0 -1
- package/dist/p-kWyyLyT3.js +0 -1
- package/dist/p-tEbUT3n3.js +0 -1
- package/dist-bundled/es/p-B_St7yaX-Da4DWjGh.js +0 -151
- package/dist-bundled/es/p-tEbUT3n3-Byef6fQN.js +0 -244
- /package/dist-bundled/es/{p-CV1-78HB-C0k_l_CT.js → p-D2VR17v2-C0k_l_CT.js} +0 -0
|
@@ -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
|
-
import { r as L } from "./p-
|
|
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) {
|
|
@@ -16,10 +16,10 @@ const G = (e) => {
|
|
|
16
16
|
default:
|
|
17
17
|
return "default";
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
20
|
__proto__: null,
|
|
21
21
|
inputToGidsFieldStatusForPassword: G
|
|
22
|
-
}, Symbol.toStringTag, { value: "Module" })), f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/,
|
|
22
|
+
}, Symbol.toStringTag, { value: "Module" })), f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, B = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
|
|
23
23
|
if (!e || e === "")
|
|
24
24
|
return 0;
|
|
25
25
|
let n = 0;
|
|
@@ -30,17 +30,17 @@ const G = (e) => {
|
|
|
30
30
|
}, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31
31
|
__proto__: null,
|
|
32
32
|
getColorModifierByScore: I,
|
|
33
|
-
getStrengthMeterScore:
|
|
33
|
+
getStrengthMeterScore: B,
|
|
34
34
|
include1DigitReg: b,
|
|
35
35
|
include1LowercaseLetterReg: p,
|
|
36
36
|
include1SpecialCharReg: q,
|
|
37
37
|
include1UppercaseLetterReg: f
|
|
38
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
38
|
+
}, Symbol.toStringTag, { value: "Module" })), d = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
|
|
39
39
|
const t = [];
|
|
40
40
|
return e && e.length > 0 && e.map((s) => {
|
|
41
41
|
s?.requirementRule && t.push(s.requirementRule);
|
|
42
42
|
}), t;
|
|
43
|
-
},
|
|
43
|
+
}, D = ({ rule: e, textMinLength: t = 0, text: s }) => {
|
|
44
44
|
if (!s || s === "" || !e && !t)
|
|
45
45
|
return !1;
|
|
46
46
|
switch (e) {
|
|
@@ -53,7 +53,7 @@ const G = (e) => {
|
|
|
53
53
|
case "1-special-character":
|
|
54
54
|
return q.test(s);
|
|
55
55
|
case "include-min-length":
|
|
56
|
-
return
|
|
56
|
+
return d({
|
|
57
57
|
requirementRule: "include-min-length",
|
|
58
58
|
textMinLength: t
|
|
59
59
|
}) === !0 && s.length >= t;
|
|
@@ -79,7 +79,7 @@ const G = (e) => {
|
|
|
79
79
|
requirementText: "Password must contain atleast 1 lowercase letter."
|
|
80
80
|
}
|
|
81
81
|
];
|
|
82
|
-
return
|
|
82
|
+
return d({
|
|
83
83
|
requirementRule: "include-min-length",
|
|
84
84
|
textMinLength: e
|
|
85
85
|
}) && t.push({
|
|
@@ -89,12 +89,12 @@ const G = (e) => {
|
|
|
89
89
|
defaultMeterRules: R(t),
|
|
90
90
|
defaultRequirementsMeterRules: t
|
|
91
91
|
};
|
|
92
|
-
},
|
|
92
|
+
}, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93
93
|
__proto__: null,
|
|
94
|
-
checkRequirementRuleSatisfied:
|
|
94
|
+
checkRequirementRuleSatisfied: D,
|
|
95
95
|
getDefaultRulesAndRequirementsForMeters: m,
|
|
96
96
|
getMeterRulesFromRequirements: R,
|
|
97
|
-
minLengthRuleCanBeApplied:
|
|
97
|
+
minLengthRuleCanBeApplied: d
|
|
98
98
|
}, Symbol.toStringTag, { value: "Module" })), V = (e) => {
|
|
99
99
|
switch (e) {
|
|
100
100
|
case "error":
|
|
@@ -111,7 +111,7 @@ const G = (e) => {
|
|
|
111
111
|
}, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
112
112
|
__proto__: null,
|
|
113
113
|
getRequirementsMeterLabelLeadingIcon: V
|
|
114
|
-
}, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: U } =
|
|
114
|
+
}, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: U } = A, Z = (e) => e === "implicit" || e === void 0 ? "implicit" : U(e), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
115
115
|
__proto__: null,
|
|
116
116
|
inputToGidsFieldStatusForPassword: Z
|
|
117
117
|
}, Symbol.toStringTag, { value: "Module" })), J = ({ status: e }, t) => g("gids-requirements-meter-label", {
|
|
@@ -133,25 +133,25 @@ 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
|
|
137
|
-
return s[
|
|
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) => {
|
|
141
141
|
const { label: t, status: s = "default", leadingIconVisible: n = !0, class: a } = e, r = le(s);
|
|
142
142
|
return i("div", { class: ne({ status: s }, a) }, n && s && r ? i(j, { name: r, size: "sm", appearance: "filled" }) : null, t && t !== "" ? i("span", null, t) : null);
|
|
143
|
-
}, { checkRequirementRuleSatisfied: ue } =
|
|
143
|
+
}, { checkRequirementRuleSatisfied: ue } = N, { getGidsRequirementsMeterClassNames: oe } = X, de = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
|
|
144
144
|
const a = (r, l) => i(ae, { status: l ? "success" : "error", label: r.requirementText });
|
|
145
|
-
return i("div", { class:
|
|
145
|
+
return i("div", { class: oe(n) }, e.map(((r) => {
|
|
146
146
|
if (r?.requirementText != null && r?.requirementRule != null) {
|
|
147
147
|
const l = ue({ rule: r.requirementRule, textMinLength: s, text: t });
|
|
148
|
-
return r.requirementRule === "include-min-length" ?
|
|
148
|
+
return r.requirementRule === "include-min-length" ? d({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
|
|
149
149
|
}
|
|
150
150
|
return null;
|
|
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
|
-
import { L as z, u as B, D as o, P as L, q as
|
|
2
|
-
import { m as R, l as j, y as G } from "./p-
|
|
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-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
|
|
@@ -88,8 +88,8 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
|
|
|
88
88
|
if (!i) return;
|
|
89
89
|
const r = this.hostElement.getBoundingClientRect(), a = window.innerWidth, l = window.innerHeight;
|
|
90
90
|
i.style.maxHeight = "none";
|
|
91
|
-
const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s,
|
|
92
|
-
i.style.maxHeight = g.height >
|
|
91
|
+
const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s, f = d ? n : s;
|
|
92
|
+
i.style.maxHeight = g.height > f ? f + "px" : "none";
|
|
93
93
|
const p = i.getBoundingClientRect();
|
|
94
94
|
let t = r.left;
|
|
95
95
|
t + p.width > a - 4 && (t = a - p.width - 4), t < 4 && (t = 4), i.style.left = t - r.left + "px", i.style.top = d ? -p.height - 4 + "px" : r.height + 4 + "px";
|
|
@@ -169,9 +169,9 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
|
|
|
169
169
|
document.removeEventListener("click", this.handleDocumentClick);
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
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,
|
|
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;
|
|
@@ -187,13 +187,13 @@ function m() {
|
|
|
187
187
|
typeof customElements < "u" && ["gids-profile", "gids-profile-menu", "gids-profile-menu-header"].forEach(((e) => {
|
|
188
188
|
switch (e) {
|
|
189
189
|
case "gids-profile":
|
|
190
|
-
customElements.get(
|
|
190
|
+
customElements.get(c(e)) || customElements.define(c(e), C);
|
|
191
191
|
break;
|
|
192
192
|
case "gids-profile-menu":
|
|
193
|
-
customElements.get(
|
|
193
|
+
customElements.get(c(e)) || q();
|
|
194
194
|
break;
|
|
195
195
|
case "gids-profile-menu-header":
|
|
196
|
-
customElements.get(
|
|
196
|
+
customElements.get(c(e)) || G();
|
|
197
197
|
}
|
|
198
198
|
}));
|
|
199
199
|
}
|
|
@@ -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
|
|
@@ -106,13 +106,13 @@ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
|
106
106
|
this.selectedMenuItemSectionIdState = this.selectedMenuItemSectionId, this.selectedMenuItemIdState = this.selectedMenuItemId, this.selectedSectionIdState = this.selectedSectionId, this.selectedItemIdState = this.selectedItemId, this.hasHeaderContent = Array.from(this.hostElement.childNodes).some(((e) => e.nodeType === Node.ELEMENT_NODE || e.nodeType === Node.TEXT_NODE && (e.textContent?.trim().length ?? 0) > 0));
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
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",
|
|
110
|
-
return a(j, { key: "
|
|
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: "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;
|
|
114
|
-
return a("div", { class: "gids-sidebar__item-container" }, a("gids-sidebar-item", { ...z, key: k, id: d.id, appearance: t, selectionAppearance: s, sidebarMenuItemAppearance: n, sidebarMenuItemSelectionAppearance: l, menuPlacement: M, menuConstrainPlacements:
|
|
115
|
-
})),
|
|
114
|
+
return a("div", { class: "gids-sidebar__item-container" }, a("gids-sidebar-item", { ...z, key: k, id: d.id, appearance: t, selectionAppearance: s, sidebarMenuItemAppearance: n, sidebarMenuItemSelectionAppearance: l, menuPlacement: M, menuConstrainPlacements: A, menuData: d?.menuData ?? [], menuId: d?.menuId, leadingLabel: d?.leadingLabel, leadingSupportingText: d?.leadingSupportingText, trailingLabel: d?.trailingLabel, trailingSupportingText: d?.trailingSupportingText, disabled: d?.disabled, selectedMenuItemSectionId: x, selectedMenuItemId: _, selected: this.sidebarItemSelected({ listItem: d, listItemSectionId: m }), onPressSidebarItem: (H) => this.onSidebarItemPress({ event: H, sectionId: m, sectionIndex: c, itemIndex: h }) }, this.renderAccessory({ accessoryType: E, accessory: N, slotName: "sidebarItemLeadingAccessory" }), this.renderIcon($), this.renderAccessory({ accessoryType: L, accessory: w, slotName: "sidebarItemTrailingAccessory" })), P && h < u.length - 1 ? a(p, null) : void 0);
|
|
115
|
+
})), y && c < I.length - 1 ? a("div", { class: "gids-sidebar__section-divider-container" }, a(p, null)) : void 0);
|
|
116
116
|
})));
|
|
117
117
|
}
|
|
118
118
|
get hostElement() {
|
|
@@ -22,7 +22,7 @@ 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}}';
|
|
@@ -55,7 +55,7 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, d) => v("gids-t
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
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: "
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as r, u as h, D as a, P as
|
|
2
|
-
import { c } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
const o = ({ width: e, appearance: t }, d) =>
|
|
1
|
+
import { L as r, u as h, D as a, P as c, q as s } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
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"
|
|
@@ -38,7 +38,7 @@ const o = ({ width: e, appearance: t }, d) => c("gids-tab", {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const e = p({ width: this.width, appearance: this.appearance });
|
|
41
|
-
return a(
|
|
41
|
+
return a(c, { key: "bf4ff19523b01e6b50f32b47613a7ee743b110e8", class: e }, a("slot", { key: "5d324badcc753b4abd616817ac913e79fc5c2ed0" }));
|
|
42
42
|
}
|
|
43
43
|
get hostElement() {
|
|
44
44
|
return this;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as u, u as
|
|
1
|
+
import { L as u, u as c, z as h, C as f, D as i, q as s } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { s as m } from "./p-BkxmRN-4-DSiXCW8b.js";
|
|
4
|
-
import { r as p } from "./p-
|
|
5
|
-
import { h as g } from "./p-
|
|
6
|
-
import { r as x } from "./p-
|
|
4
|
+
import { r as p } from "./p-DdJKIFk0-Co3FvR3K.js";
|
|
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,16 +17,16 @@ 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
|
-
super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear =
|
|
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");
|
|
31
31
|
t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsTextFieldClear.emit();
|
|
32
32
|
}, this._handleInput = (t) => {
|
|
@@ -50,8 +50,8 @@ const v = (e, t) => {
|
|
|
50
50
|
#e;
|
|
51
51
|
#t;
|
|
52
52
|
render() {
|
|
53
|
-
const { id: e, ...t } = this.inputProps ?? {},
|
|
54
|
-
return i("gids-field", { key: "
|
|
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: "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
|
-
|
|
65
|
-
|
|
64
|
+
f as GidsTooltip,
|
|
65
|
+
v as defineCustomElement
|
|
66
66
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as y, u as
|
|
1
|
+
import { L as y, u as b, D as a, P as _, q as p } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as T } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
-
import { b as L, _ as x } from "./p-
|
|
3
|
+
import { b as L, _ as x } from "./p-D2VR17v2-C0k_l_CT.js";
|
|
4
4
|
import { r as C } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
5
5
|
import { i as f } from "./p-DZ1ZcTMe-W8kofPko.js";
|
|
6
6
|
import { o as d } from "./p-Dg_WeHpV-DehzGL6g.js";
|
|
@@ -20,7 +20,7 @@ const H = ({ type: t }, e) => c("gids-menu-group", {
|
|
|
20
20
|
}, Symbol.toStringTag, { value: "Module" })), k = (t) => c("gids-transfer-list", t), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
22
|
getGidsTransferListClassNames: k
|
|
23
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsMenuGroupClassNames: O } = A, I = ({ type: t = "no-options", supportingText: e = "No options", class: s, ...n }, l) => a("div", { class: O({ type: t }, s), ...n }, t === "loading" ? a(T, { indeterminate: !0, size: "md" }) : null, t === "no-options" ? a("span", null, e) : null, t === "default" && l != null ? l : null), { getGidsMenuClassNames: z } = R, S = ({ heading: t, supportingText: e, level: s, supportingTextTypography: n, isHeaderDividerVisible: l = !1, class: i, ...r }, h) => a("div", { class: z(i), ...r }, t != null && t !== "" || e != null && e !== "" ? a(x, { heading: t, supportingText: e, level: s, supportingTextTypography: n ?? "eyebrow-medium" }) : null, l ? a("div", { class: "gids-menu__header-divider" }, a(C, { orientation: "horizontal" })) : void 0, h != null ? a("div", { class: "gids-menu__children" }, h) : null), { getGidsTransferListClassNames: D } = w, u = y(class extends
|
|
23
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsMenuGroupClassNames: O } = A, I = ({ type: t = "no-options", supportingText: e = "No options", class: s, ...n }, l) => a("div", { class: O({ type: t }, s), ...n }, t === "loading" ? a(T, { indeterminate: !0, size: "md" }) : null, t === "no-options" ? a("span", null, e) : null, t === "default" && l != null ? l : null), { getGidsMenuClassNames: z } = R, S = ({ heading: t, supportingText: e, level: s, supportingTextTypography: n, isHeaderDividerVisible: l = !1, class: i, ...r }, h) => a("div", { class: z(i), ...r }, t != null && t !== "" || e != null && e !== "" ? a(x, { heading: t, supportingText: e, level: s, supportingTextTypography: n ?? "eyebrow-medium" }) : null, l ? a("div", { class: "gids-menu__header-divider" }, a(C, { orientation: "horizontal" })) : void 0, h != null ? a("div", { class: "gids-menu__children" }, h) : null), { getGidsTransferListClassNames: D } = w, u = y(class extends b {
|
|
24
24
|
constructor(t) {
|
|
25
25
|
super(), t !== !1 && this.__registerHost(), this.leftListHeading = "Choices", this.rightListHeading = "Choosen", this.moveAllVisible = !1, this.transferListType = "basic", this.leftListItems = [], this.rightListItems = [], this.listsMaxHeight = "200px", this.leftListItemsState = [], this.rightListItemsState = [], this.tempLeftListItemsState = [], this.tempRightListItemsState = [];
|
|
26
26
|
}
|
|
@@ -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(
|
|
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
|
}))))));
|
|
@@ -188,8 +188,8 @@ function v() {
|
|
|
188
188
|
}));
|
|
189
189
|
}
|
|
190
190
|
v();
|
|
191
|
-
const
|
|
191
|
+
const $ = u, U = v;
|
|
192
192
|
export {
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
$ as GidsTransferList,
|
|
194
|
+
U as defineCustomElement
|
|
195
195
|
};
|
|
@@ -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 { l as u } from "./p-
|
|
6
|
-
import { m as b } from "./p-
|
|
7
|
-
import { h as m } from "./p-
|
|
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"
|