@ganpatiinfo/gids-core-web 21.0.0 → 23.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 +83 -34
- 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-62akP0Ad.js +1 -0
- package/dist/{p-B_FEFM5I.js → p-B18yNcA0.js} +1 -1
- package/dist/p-B2YjHZsu.js +1 -0
- package/dist/{p-DLRj-mUX.js → p-B3AB3GQ0.js} +1 -1
- package/dist/{p-Ds5IzXj3.js → p-B4d07GWP.js} +1 -1
- package/dist/p-BBlUduEr.js +1 -0
- package/dist/{p-BAqWcL0K.js → p-BNW2xgxF.js} +1 -1
- package/dist/p-BcXumkjZ.js +1 -0
- package/dist/{p-DKSnGphd.js → p-C88Z_F_m.js} +1 -1
- package/dist/{p-bfWlRsx_.js → p-CKj2Ru6e.js} +1 -1
- package/dist/{p-B_St7yaX.js → p-COsSHfdc.js} +1 -1
- package/dist/{p-DrxfD2yZ.js → p-CSXuAs_X.js} +1 -1
- package/dist/{p-DzOOjiNH.js → p-CZgH5rZs.js} +1 -1
- package/dist/{p-BIxBMTG9.js → p-CueywyHC.js} +1 -1
- package/dist/p-CxfmNDsm.js +1 -0
- package/dist/{p-CV1-78HB.js → p-D2VR17v2.js} +1 -1
- package/dist/{p-DMxvWIj1.js → p-DKe6orSY.js} +1 -1
- package/dist/{p-D0RJMGGj.js → p-DLX-l0-L.js} +1 -1
- package/dist/p-DOiDD7cS.js +1 -0
- package/dist/{p-B2flLE0s.js → p-DXlBK8TS.js} +1 -1
- package/dist/{p-E13ycS5K.js → p-DYKcsBzA.js} +1 -1
- package/dist/{p--kh67-_Z.js → p-D_mszaeq.js} +1 -1
- package/dist/p-DdJKIFk0.js +1 -0
- package/dist/p-DiX4HaE6.js +1 -0
- package/dist/{p-DQQhGF5N.js → p-DjnREsH0.js} +1 -1
- package/dist/{p-CIjK3iHM.js → p-FSv82P6v.js} +1 -1
- package/dist/p-MaJDBE6u.js +1 -0
- package/dist/p-XVlT5H5q.js +1 -0
- package/dist/p-fE-MdTCH.js +1 -0
- package/dist/{p-mv_7K1EM.js → p-gK9DvcL8.js} +1 -1
- package/dist/{p-_W77iniK.js → p-iEUyQs9t.js} +1 -1
- package/dist/{p-BCbovLBE.js → p-jtpLLxuw.js} +1 -1
- package/dist/p-lvArnlBV.js +1 -0
- package/dist/{p-TfH966_e.js → p-vz4tzbld.js} +1 -1
- package/dist/{p-DnRuhvRw.js → p-x1tVOUSt.js} +1 -1
- 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/GidsMonthDropdownPicker/GidsMonthDropdownPicker.d.ts +40 -0
- package/dist/types/components/webComponents/GidsYearDropdownPicker/GidsYearDropdownPicker.d.ts +40 -0
- package/dist/types/components.d.ts +877 -70
- package/dist-bundled/es/GidsDatePickerSharedUtils-Dh5qFlYA.js +105 -0
- package/dist-bundled/es/gids-action-bar.js +29 -29
- package/dist-bundled/es/gids-activity-gauge.js +3 -3
- package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- 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 +1 -1
- package/dist-bundled/es/gids-calendar.js +4 -151
- package/dist-bundled/es/gids-carousel.js +1 -1
- package/dist-bundled/es/gids-chart-legend-item.js +1 -1
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +7 -7
- package/dist-bundled/es/gids-chevron-button.js +8 -8
- 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 +28 -18
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list-item.js +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 +9 -9
- 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 +3 -3
- 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 +48 -61
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +3 -3
- package/dist-bundled/es/gids-md-table.js +2 -2
- package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
- package/dist-bundled/es/gids-overflow-container.js +9 -9
- package/dist-bundled/es/gids-overlay-provider.js +3 -3
- package/dist-bundled/es/gids-password-field.js +21 -21
- 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 +4 -4
- package/dist-bundled/es/gids-profile.js +11 -11
- 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 +13 -13
- 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 +7 -7
- package/dist-bundled/es/gids-text-field.js +11 -11
- 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 +10 -10
- package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
- package/dist-bundled/es/p-62akP0Ad-D4pJ0a_I.js +86 -0
- package/dist-bundled/es/{p-B_FEFM5I-WvEFe7I_.js → p-B18yNcA0-BaaXQYM_.js} +2 -2
- package/dist-bundled/es/{p-kWyyLyT3-DhHcKhR9.js → p-B2YjHZsu-DxdrSYcE.js} +30 -30
- package/dist-bundled/es/{p-DLRj-mUX-B_ACFGx6.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
- package/dist-bundled/es/{p-Ds5IzXj3-BC_F0-JJ.js → p-B4d07GWP-DLyo7HQ9.js} +3 -3
- package/dist-bundled/es/{p-CAjDiWIc-BieYBjHk.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
- package/dist-bundled/es/{p-BAqWcL0K-DRjKDzoa.js → p-BNW2xgxF-DWKLliyn.js} +6 -6
- package/dist-bundled/es/p-BcXumkjZ-zNpzLmjI.js +240 -0
- package/dist-bundled/es/{p-DKSnGphd-EpxzqjUA.js → p-C88Z_F_m-wMA27lx_.js} +4 -4
- package/dist-bundled/es/{p-bfWlRsx_-B9hzkHIt.js → p-CKj2Ru6e-B-Nk5B_P.js} +4 -4
- package/dist-bundled/es/{p-B_St7yaX-Dq9UwiaA.js → p-COsSHfdc-DfDYoLSS.js} +4 -4
- package/dist-bundled/es/{p-DrxfD2yZ-Juydw__6.js → p-CSXuAs_X-Hw6bT-8r.js} +11 -11
- package/dist-bundled/es/{p-DzOOjiNH-Wm7KbI3O.js → p-CZgH5rZs-Clk0qfHN.js} +4 -4
- package/dist-bundled/es/{p-BIxBMTG9-Bs6G0Wvv.js → p-CueywyHC-CsEetdha.js} +3 -3
- package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CxfmNDsm-JHseL2it.js} +30 -18
- package/dist-bundled/es/{p-CV1-78HB-DGkn3SPO.js → p-D2VR17v2-C0k_l_CT.js} +1 -1
- package/dist-bundled/es/{p-DMxvWIj1-DPw-ITMY.js → p-DKe6orSY-D1kYOeuX.js} +6 -6
- package/dist-bundled/es/{p-D0RJMGGj-DSjGfUhB.js → p-DLX-l0-L-gumz4bOG.js} +2 -2
- package/dist-bundled/es/{p-BQT5yy5L-DhdgFXTM.js → p-DOiDD7cS-j1RR9K9r.js} +9 -5
- package/dist-bundled/es/{p-B2flLE0s-UXdlvRVr.js → p-DXlBK8TS-DazOvEm2.js} +2 -2
- package/dist-bundled/es/{p-E13ycS5K-D-yK6pqz.js → p-DYKcsBzA-BcupA9sw.js} +7 -7
- package/dist-bundled/es/{p-DZ1ZcTMe-tnPOECry.js → p-DZ1ZcTMe-W8kofPko.js} +1 -1
- package/dist-bundled/es/{p--kh67-_Z-BBhYy4ZX.js → p-D_mszaeq-ndcXN34-.js} +4 -4
- package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-DdJKIFk0-Co3FvR3K.js} +2 -2
- package/dist-bundled/es/p-DiX4HaE6-C35K492C.js +86 -0
- package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-DjnREsH0-Cm8vBvIX.js} +7 -7
- package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-FSv82P6v-C6jFH7Zo.js} +1 -1
- package/dist-bundled/es/p-MaJDBE6u-DjtEX6-I.js +157 -0
- package/dist-bundled/es/p-XVlT5H5q-CFIMyrM3.js +148 -0
- package/dist-bundled/es/p-fE-MdTCH-CDvG1Xn1.js +122 -0
- package/dist-bundled/es/{p-mv_7K1EM-lPgJqpPI.js → p-gK9DvcL8-Chw-ya2Q.js} +2 -2
- package/dist-bundled/es/{p-_W77iniK-DZ9pVDuI.js → p-iEUyQs9t-BUXXVuwz.js} +2 -2
- package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
- package/dist-bundled/es/{p-BCbovLBE-DfkhIEts.js → p-jtpLLxuw-BlEPhjmU.js} +2 -2
- package/dist-bundled/es/p-lvArnlBV-BxkIAxHG.js +86 -0
- package/dist-bundled/es/{p-TfH966_e-tyxLyzL3.js → p-vz4tzbld-BYJRjHJw.js} +6 -6
- package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-x1tVOUSt-CdB8Szfe.js} +6 -6
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
- package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
- package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +2 -2
- package/dist-bundled/umd/gids-carousel.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +5 -5
- package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- 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 +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- 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 +2 -2
- 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 +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 +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
- package/dist-bundled/umd/gids-tab.umd.js +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +5 -0
- package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
- package/package.json +55 -7
- package/dist/p-BQT5yy5L.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-iQRr_fAH-ClfWEu03.js +0 -198
- package/dist-bundled/es/p-tEbUT3n3-CWq8ErgN.js +0 -244
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { q as t, L as o, u as c, D as s, P as h } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { D as m } from "./p-MaJDBE6u-DjtEX6-I.js";
|
|
3
|
+
import { u as g } from "./p-vz4tzbld-BYJRjHJw.js";
|
|
4
|
+
import { c as u } from "./p-CSXuAs_X-Hw6bT-8r.js";
|
|
5
|
+
import { m as p } from "./p-B4d07GWP-DLyo7HQ9.js";
|
|
6
|
+
import { g as C } from "./p-B18yNcA0-BaaXQYM_.js";
|
|
7
|
+
import { m as b } from "./p-BcXumkjZ-zNpzLmjI.js";
|
|
8
|
+
import { a as P } from "./p-DOiDD7cS-j1RR9K9r.js";
|
|
9
|
+
import { h as f } from "./p-CxfmNDsm-JHseL2it.js";
|
|
10
|
+
import { a as k } from "./p-DKe6orSY-D1kYOeuX.js";
|
|
11
|
+
import { r as y } from "./p-CZgH5rZs-Clk0qfHN.js";
|
|
12
|
+
import { f as v, b as Y } from "./GidsDatePickerSharedUtils-Dh5qFlYA.js";
|
|
13
|
+
import { c as D } from "./clsx-OuTLNxxd.js";
|
|
14
|
+
const E = (e) => D("gids-calendar-picker", e), S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
|
+
__proto__: null,
|
|
16
|
+
getGidsCalendarPickerClassNames: E
|
|
17
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarPickerClassNames: O } = S, x = o(class extends c {
|
|
18
|
+
constructor(e) {
|
|
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
|
+
if (this.selectedCalendarPickerObj = a, this.onSelectionCalendarCell) {
|
|
21
|
+
this.onSelectionCalendarCell(a);
|
|
22
|
+
const n = new CustomEvent("gidsCalendarPickerChange", { bubbles: !0, composed: !0, detail: a });
|
|
23
|
+
this.hostElement.dispatchEvent(n), this.disabled || this.readOnly || this.flyoutPanelElement?.isFlyoutPanelVisible().then(((i) => {
|
|
24
|
+
i ? this.flyoutPanelElement?.closeFlyoutPanel(n) : this.flyoutPanelElement?.openFlyoutPanel(n);
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
}, this.handleCalendarNextChange = (a) => {
|
|
28
|
+
this.onNextChange && this.onNextChange(a);
|
|
29
|
+
}, this.handleCalendarPanelMonthChange = (a) => {
|
|
30
|
+
this.onPanelMonthChange && this.onPanelMonthChange(a);
|
|
31
|
+
}, this.handleCalendarPanelYearChange = (a) => {
|
|
32
|
+
this.onPanelYearChange && this.onPanelYearChange(a);
|
|
33
|
+
}, this.handleCalendarPreviousChange = (a) => {
|
|
34
|
+
this.onPreviousChange && this.onPreviousChange(a);
|
|
35
|
+
}, this.syncCalendarPickerValue = () => this?.selectedCalendarPickerObj?.date ? this.selectedCalendarPickerObj.date : this?.value, this.getSelectedDate = () => this?.selectedCalendarPickerObj?.date, this.getActiveMonthNumber = () => this?.selectedCalendarPickerObj?.currentActivePanelState?.monthNumber, this.getActiveYear = () => this?.selectedCalendarPickerObj?.currentActivePanelState?.year;
|
|
36
|
+
}
|
|
37
|
+
handleInteractivityChange(e) {
|
|
38
|
+
this.disabled = e, this.readOnly = e;
|
|
39
|
+
}
|
|
40
|
+
menuPlacementChanged(e) {
|
|
41
|
+
this.menuPlacement = e;
|
|
42
|
+
}
|
|
43
|
+
menuConstrainPlacementsChanged(e) {
|
|
44
|
+
this.menuConstrainPlacements = e;
|
|
45
|
+
}
|
|
46
|
+
startYearChanged(e) {
|
|
47
|
+
this.startYear = e;
|
|
48
|
+
}
|
|
49
|
+
endYearChanged(e) {
|
|
50
|
+
this.endYear = e;
|
|
51
|
+
}
|
|
52
|
+
connectedCallback() {
|
|
53
|
+
}
|
|
54
|
+
componentWillLoad() {
|
|
55
|
+
this.checkSlots();
|
|
56
|
+
}
|
|
57
|
+
componentWillUpdate() {
|
|
58
|
+
this.checkSlots();
|
|
59
|
+
}
|
|
60
|
+
componentDidRender() {
|
|
61
|
+
this.flyoutPanelElement = this.hostElement.querySelector("gids-flyout-panel") ?? void 0;
|
|
62
|
+
}
|
|
63
|
+
checkSlots() {
|
|
64
|
+
this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconDropdown"]');
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
const e = O(), a = typeof this?.inputProps?.id == "string" ? this.inputProps.id : "calendar-picker-input", n = { 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: "7373d9601eaaafee7c9c4f8056982b5b695089c7", class: e }, s("gids-dropdown", { key: "8b36bba505737ffe43aa3abecd90a946a1c39c55", ...n, menuPlacement: this?.menuPlacement ?? "bottom", menuConstrainPlacements: this.menuConstrainPlacements ?? ["bottom", "top"] }, this.hasLeadingIcon && s("slot", { key: "e2eb369f2c6e85482c8866dd3e2c4614edf004bd", name: "leadingIconDropdown", slot: "leadingIconDropdown" }), s("gids-calendar", { key: "e8be0098b49f3b88ac0f061d75f5ca75da82c879", 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
|
+
}
|
|
70
|
+
get hostElement() {
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
static get watchers() {
|
|
74
|
+
return { disabled: [{ handleInteractivityChange: 0 }], readOnly: [{ handleInteractivityChange: 0 }], menuPlacement: [{ menuPlacementChanged: 0 }], menuConstrainPlacements: [{ menuConstrainPlacementsChanged: 0 }], startYear: [{ startYearChanged: 0 }], endYear: [{ endYearChanged: 0 }] };
|
|
75
|
+
}
|
|
76
|
+
static get style() {
|
|
77
|
+
return ".gids-calendar-picker{position:relative;display:flex;flex-direction:column}";
|
|
78
|
+
}
|
|
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 A() {
|
|
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
|
+
switch (e) {
|
|
83
|
+
case "gids-calendar-picker":
|
|
84
|
+
customElements.get(t(e)) || customElements.define(t(e), x);
|
|
85
|
+
break;
|
|
86
|
+
case "gids-calendar":
|
|
87
|
+
customElements.get(t(e)) || m();
|
|
88
|
+
break;
|
|
89
|
+
case "gids-calendar-header-panel":
|
|
90
|
+
customElements.get(t(e)) || g();
|
|
91
|
+
break;
|
|
92
|
+
case "gids-calendar-month-list":
|
|
93
|
+
customElements.get(t(e)) || u();
|
|
94
|
+
break;
|
|
95
|
+
case "gids-calendar-year-list":
|
|
96
|
+
customElements.get(t(e)) || p();
|
|
97
|
+
break;
|
|
98
|
+
case "gids-dot":
|
|
99
|
+
customElements.get(t(e)) || C();
|
|
100
|
+
break;
|
|
101
|
+
case "gids-dropdown":
|
|
102
|
+
customElements.get(t(e)) || b();
|
|
103
|
+
break;
|
|
104
|
+
case "gids-dropdown-picker":
|
|
105
|
+
customElements.get(t(e)) || P();
|
|
106
|
+
break;
|
|
107
|
+
case "gids-flyout-panel":
|
|
108
|
+
customElements.get(t(e)) || f();
|
|
109
|
+
break;
|
|
110
|
+
case "gids-icon":
|
|
111
|
+
customElements.get(t(e)) || k();
|
|
112
|
+
break;
|
|
113
|
+
case "gids-input":
|
|
114
|
+
customElements.get(t(e)) || y();
|
|
115
|
+
}
|
|
116
|
+
}));
|
|
117
|
+
}
|
|
118
|
+
A();
|
|
119
|
+
export {
|
|
120
|
+
A as P,
|
|
121
|
+
x as k
|
|
122
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as l, L as n, u as r, D as o, P as d } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import { d as h } from "./p-iQRr_fAH-
|
|
2
|
+
import { d as h } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
3
3
|
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
4
|
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const g = (t) => _("gids-field", t), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -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: "899cd714d26e107d247b30c032f3bf0990f1c7df" }, o("div", { key: "9d047c25818209f203ed83b6c4b9f5ce1e1791c7", class: p() }, o("div", { key: "cf4ef210e23935aab41dd5540d4fa13ca24707fe", class: "gids-field__header", hidden: !this._hasLabelContent() }, o("slot", { key: "8fa154f9ea5e42179fbb7395c200044e07540b91", ref: this._setLabelSlot, name: "label", onSlotchange: this._handleControlSlotChange }), o("div", { key: "73d8cfb90da4cb0aab9537d559e2fc34670217ae", class: "gids-field__count", "aria-live": "polite" }, this.count)), o("div", { key: "8d3ea2445550ca63932a9fd87239aec27f87daad", class: "gids-field__control" }, o("slot", { key: "bac677a8a4393130c00c98558965069dc242fb7a", ref: this._setControlSlot, onSlotchange: this._handleControlSlotChange })), o("p", { key: "1e493b121065bcef77a8aa38d8756a4ffb162980", 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;
|
|
@@ -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-x1tVOUSt-CdB8Szfe.js";
|
|
4
|
+
import { l as z } from "./p-DYKcsBzA-BcupA9sw.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"
|