@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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { L as S, u as P, z as w, 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
|
-
import { g as k, d as j } from "./p-iQRr_fAH-
|
|
7
|
-
import { h as z } from "./p-
|
|
8
|
-
import { r as E } from "./p-
|
|
6
|
+
import { g as k, d as j } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
7
|
+
import { h as z } from "./p-gK9DvcL8-Chw-ya2Q.js";
|
|
8
|
+
import { r as E } from "./p-CZgH5rZs-Clk0qfHN.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,19 +133,19 @@ 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, v = o <= l;
|
|
137
|
+
return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, v) : null : a(o, u, v);
|
|
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
|
})));
|
|
@@ -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: "c4f8525e2e69b41e6f9f52a77d017dc0d686b38b" }, i("gids-field", { key: "03ad63882f2207f20df3a4afedbb59b104e24881", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "33357b64b4c1c62f714a798a7a3c0caa8322e1b1", 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: "4e37191cc806d038c869028fe9a50fed550715e5", 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: "121d46d41d9b243ea803f22d69297a178405c524", name: "leadingIcon" }), i("slot", { key: "2832bcafe28c59ad96f188f3fed037eee9de2bfc", name: "leadingAccessory" }), i("div", { key: "8c12fb646f736cc5c07b2ba145995f1441b94412", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "01c77e00cdbfe815a4448bb20c64624f8152f6e7", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "ef69b5e486745281f985a4a8a51f726f22827239", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "65893ed7dab2df28d03718f4fe97ff9f2b9264df", class: "gids-password-field__meters-container" }, i(ie, { key: "0d03044768e174159aefc7384bd684adbce4b1cb", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "e374f8a7ddbc8b36cd7c0ff4b808fd0cb28febe4", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
|
|
195
195
|
}
|
|
196
196
|
get _el() {
|
|
197
197
|
return this;
|
|
@@ -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: "639f2d4076daa4f4da821412bc6b4dd73a27f41e" }, a("slot", { key: "b8602e01db55dafc9121082db2bad185b8449e95", name: "anchor" }), a("div", { key: "a0f6f67f2e8529c8f295286550212871609ca9a5", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "7d864bc6691ba1229ac713ea89af1bf01a76b465", id: "arrow" }), a("div", { key: "946ce1bf4c97d74b201a8ebf742e7a798a959368" }, a("slot", { key: "701719e3404d9139f85c688f693b2651fef2f516" }))));
|
|
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-jtpLLxuw-BlEPhjmU.js";
|
|
2
|
+
const t = e, r = o;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
t as GidsProfileMenuHeader,
|
|
5
|
+
r as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as e, p as o } from "./p
|
|
2
|
-
const
|
|
1
|
+
import { c as e, p as o } from "./p-D_mszaeq-ndcXN34-.js";
|
|
2
|
+
const s = e, t = o;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
s as GidsProfileMenu,
|
|
5
|
+
t 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-jtpLLxuw-BlEPhjmU.js";
|
|
3
3
|
import { p as $ } from "./p-CcKHKwS0-Bw63tTOA.js";
|
|
4
|
-
import { d as b } from "./p-iQRr_fAH-
|
|
5
|
-
import { p as q } from "./p
|
|
4
|
+
import { d as b } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
5
|
+
import { p as q } from "./p-D_mszaeq-ndcXN34-.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: "1757a0fd6ac6d1f3a980530591ba881dbeeddffe", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "fba459a0a7e65675f89fd5813db84ff85610e516", 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: "10d5e2d94c0dc9b8315980adbbd8699b0204b990", class: "gids-profile__content-container" }, o("span", { key: "e86a04355c50312591c0fb8533d591616a60023c", class: E }, f), o("p", { key: "feacb20a36fd943a4276ed85a2f2b06154aeaecb", 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
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as
|
|
1
|
+
import { L as c, u as o, D as e, q as t } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { c as n } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
getGidsScrimClassNames: d
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i =
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = c(class extends o {
|
|
8
8
|
constructor(s) {
|
|
9
9
|
super(), s !== !1 && this.__registerHost(), this.__attachShadow(), this.activeClasses = "";
|
|
10
10
|
}
|
|
@@ -16,7 +16,7 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
16
16
|
s !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(s), this.activeClasses = a(this.extraClasses);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return e("div", { key: "
|
|
19
|
+
return e("div", { key: "9a1df0ca1a9ec44b2b724d82c6f3e258cf1e4fad", class: this.activeClasses, part: "root" }, e("slot", { key: "f8cf6371fef666315470bf35cdff58a8d4316b25" }));
|
|
20
20
|
}
|
|
21
21
|
get _el() {
|
|
22
22
|
return this;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
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
|
-
import { d as S } from "./p-iQRr_fAH-
|
|
5
|
-
import { A as B, S as F, y as J, P as K } from "./p-
|
|
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-B2YjHZsu-DxdrSYcE.js";
|
|
6
6
|
import { r as p } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
7
|
-
import { h as Q } from "./p-
|
|
8
|
-
import { g as R } from "./p-
|
|
7
|
+
import { h as Q } from "./p-CxfmNDsm-JHseL2it.js";
|
|
8
|
+
import { g as R } from "./p-CKj2Ru6e-B-Nk5B_P.js";
|
|
9
9
|
import { c as U } from "./clsx-OuTLNxxd.js";
|
|
10
10
|
const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
11
11
|
// Appearances
|
|
@@ -18,7 +18,7 @@ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
|
18
18
|
}, t), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
19
|
__proto__: null,
|
|
20
20
|
getGidsSidebarClassNames: V
|
|
21
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsSidebarClassNames: Y } = W,
|
|
21
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsSidebarClassNames: Y } = W, v = O(class extends G {
|
|
22
22
|
constructor(e) {
|
|
23
23
|
super(), e !== !1 && this.__registerHost(), this.id = "sidebar", this.appearance = "default", this.sidebarItemAppearance = "subtle", this.sidebarItemSelectionAppearance = "default", this.sidebarMenuItemAppearance = "subtle", this.sidebarMenuItemSelectionAppearance = "default", this.height = "intrinsic", this.sectionDividers = !0, this.itemDividers = !1, this.headerDivider = !0, this.menuPlacement = "right-end", this.menuConstrainPlacements = ["right-end", "left-end", "left", "right", "right-start", "left-start"], this.listData = [], this.selectedMenuItemSectionIdState = void 0, this.selectedMenuItemIdState = void 0, this.selectedSectionIdState = void 0, this.selectedItemIdState = void 0, this.hasHeaderContent = !1, this.onSidebarItemPress = ({ event: i, sectionId: t, sectionIndex: s, itemIndex: n }) => {
|
|
24
24
|
this.selectedSectionIdState = t, this.selectedItemIdState = i?.sidebarItemId ?? void 0, this.selectedMenuItemSectionIdState = i?.sidebarMenuItemSectionId ?? void 0, this.selectedMenuItemIdState = i?.sidebarMenuItemId ?? void 0, this.onSidebarChange && this.onSidebarChange({ ...i, originalEvent: i?.originalEvent, sidebarSectionId: t, sidebarSectionIndex: s, sidebarItemIndex: n });
|
|
@@ -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: "91b0ee66c7ea0bca4e40daa4deab382eda41af65", 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() {
|
|
@@ -125,11 +125,11 @@ const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
|
|
|
125
125
|
return ".gids-sidebar{display:flex;flex-direction:column;gap:var(--gids-gap-300);padding:var(--gids-padding-vertical-edge-to-element-250) var(--gids-padding-horizontal-edge-to-element-300);background-color:var(--gids-color-background-canvas);border-radius:var(--gids-border-radius-lg);border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-sidebar__header-container{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400)}.gids-sidebar__list-section-container{display:flex;flex-direction:column;gap:var(--gids-gap-150)}.gids-sidebar__list-section-container h4{margin:0;color:var(--gids-color-text-subtlest)}.gids-sidebar__item-container{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-200)}.gids-sidebar__section-divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-sidebar--appearance-subtle{background-color:transparent}.gids-sidebar--appearance-primary{background-color:var(--gids-color-background-brand-subtlest-default)}.gids-sidebar--height-full{height:100vh !important;overflow-x:hidden;overflow-y:auto}";
|
|
126
126
|
}
|
|
127
127
|
}, [260, "gids-sidebar", { id: [1], appearance: [1], sidebarItemAppearance: [1, "sidebar-item-appearance"], sidebarItemSelectionAppearance: [1, "sidebar-item-selection-appearance"], sidebarMenuItemAppearance: [1, "sidebar-menu-item-appearance"], sidebarMenuItemSelectionAppearance: [1, "sidebar-menu-item-selection-appearance"], selectedSectionId: [1, "selected-section-id"], selectedItemId: [1, "selected-item-id"], selectedMenuItemId: [1, "selected-menu-item-id"], selectedMenuItemSectionId: [1, "selected-menu-item-section-id"], height: [1], sectionDividers: [4, "section-dividers"], itemDividers: [4, "item-dividers"], headerDivider: [4, "header-divider"], menuPlacement: [1, "menu-placement"], menuConstrainPlacements: [16], listData: [16], onSidebarChange: [16], selectedMenuItemSectionIdState: [32], selectedMenuItemIdState: [32], selectedSectionIdState: [32], selectedItemIdState: [32], hasHeaderContent: [32] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], sidebarItemAppearance: [{ sidebarItemAppearanceChanged: 0 }], sidebarItemSelectionAppearance: [{ sidebarItemSelectionAppearanceChanged: 0 }], sidebarMenuItemAppearance: [{ sidebarMenuItemAppearanceChanged: 0 }], sidebarMenuItemSelectionAppearance: [{ sidebarMenuItemSelectionAppearanceChanged: 0 }], selectedSectionId: [{ selectedSectionIdChanged: 0 }], selectedItemId: [{ selectedItemIdChanged: 0 }], selectedMenuItemSectionId: [{ selectedMenuItemSectionIdChanged: 0 }], selectedMenuItemId: [{ selectedMenuItemIdChanged: 0 }], height: [{ heightChanged: 0 }], sectionDividers: [{ sectionDividersChanged: 0 }], itemDividers: [{ itemDividersChanged: 0 }], menuPlacement: [{ menuPlacementChanged: 0 }], menuConstrainPlacements: [{ menuConstrainPlacementsChanged: 0 }], listData: [{ listDataChanged: 0 }] }]);
|
|
128
|
-
function
|
|
128
|
+
function C() {
|
|
129
129
|
typeof customElements < "u" && ["gids-sidebar", "gids-flyout-panel", "gids-sidebar-item", "gids-sidebar-menu"].forEach(((e) => {
|
|
130
130
|
switch (e) {
|
|
131
131
|
case "gids-sidebar":
|
|
132
|
-
customElements.get(r(e)) || customElements.define(r(e),
|
|
132
|
+
customElements.get(r(e)) || customElements.define(r(e), v);
|
|
133
133
|
break;
|
|
134
134
|
case "gids-flyout-panel":
|
|
135
135
|
customElements.get(r(e)) || Q();
|
|
@@ -142,8 +142,8 @@ function v() {
|
|
|
142
142
|
}
|
|
143
143
|
}));
|
|
144
144
|
}
|
|
145
|
-
|
|
146
|
-
const ce =
|
|
145
|
+
C();
|
|
146
|
+
const ce = v, le = C;
|
|
147
147
|
export {
|
|
148
148
|
ce as GidsSidebar,
|
|
149
149
|
le as defineCustomElement
|
|
@@ -9,7 +9,7 @@ const u = ({ variant: e, animation: t }) => g("gids-skeleton", {
|
|
|
9
9
|
}), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
10
|
__proto__: null,
|
|
11
11
|
getSkeletonBaseClassNames: u
|
|
12
|
-
}, Symbol.toStringTag, { value: "Module" })), { getSkeletonBaseClassNames: m } = c,
|
|
12
|
+
}, Symbol.toStringTag, { value: "Module" })), { getSkeletonBaseClassNames: m } = c, s = o(class extends r {
|
|
13
13
|
constructor(e) {
|
|
14
14
|
super(), e !== !1 && this.__registerHost(), this.variant = "text", this.animation = "none";
|
|
15
15
|
}
|
|
@@ -22,20 +22,20 @@ const u = ({ variant: e, animation: t }) => g("gids-skeleton", {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const e = m({ variant: this.variant ?? "text", animation: this.animation ?? "none" });
|
|
25
|
-
return d(l, { key: "
|
|
25
|
+
return d(l, { key: "c51bb3ead82b8f16229f1d6623891e3a6bec5663", class: e, style: this.getStyle(), "aria-hidden": "true" });
|
|
26
26
|
}
|
|
27
27
|
static get style() {
|
|
28
28
|
return 'gids-skeleton,.gids-skeleton-host{--gidsSkeleton-background:var( --gids-color-background-accent-9-subtle-default );--gidsSkeleton-wave-background:linear-gradient( 90deg, transparent 0%, var(--gids-color-background-accent-9-subtler-default) 50%, transparent 100% );--gidsSkeleton-text-border-radius:var(--gids-border-radius-sm);--gidsSkeleton-border-radius:var(--gids-border-radius-md);display:inline-block;position:relative;vertical-align:middle;background-color:var(--gidsSkeleton-background);overflow:hidden;width:auto;height:auto}.gids-skeleton--variant-text{border-radius:var(--gidsSkeleton-text-border-radius);min-height:1.2em;transform:scaleY(0.6);transform-origin:0 50%}.gids-skeleton--variant-circular{border-radius:100% !important;aspect-ratio:1/1}.gids-skeleton--variant-rectangular{border-radius:0}.gids-skeleton--variant-rounded{border-radius:var(--gidsSkeleton-border-radius)}.gids-skeleton--animation-none{animation:none}.gids-skeleton--animation-pulse{animation:gids-skeleton-pulse 1.5s ease-in-out infinite}.gids-skeleton--animation-wave::after{content:"";position:absolute;inset:0;width:100%;height:100%;background:var(--gidsSkeleton-wave-background);transform:translateX(-100%);animation:gids-skeleton-wave 1.6s linear infinite}@keyframes gids-skeleton-pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes gids-skeleton-wave{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.gids-skeleton--animation-pulse{animation:none}.gids-skeleton--animation-wave::after{animation:none}}';
|
|
29
29
|
}
|
|
30
30
|
}, [0, "gids-skeleton", { variant: [1], animation: [1], width: [8], height: [8] }]);
|
|
31
|
-
function
|
|
31
|
+
function a() {
|
|
32
32
|
typeof customElements < "u" && ["gids-skeleton"].forEach(((e) => {
|
|
33
|
-
e === "gids-skeleton" && (customElements.get(i(e)) || customElements.define(i(e),
|
|
33
|
+
e === "gids-skeleton" && (customElements.get(i(e)) || customElements.define(i(e), s));
|
|
34
34
|
}));
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
const
|
|
36
|
+
a();
|
|
37
|
+
const v = s, b = a;
|
|
38
38
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
v as GidsSkeleton,
|
|
40
|
+
b as defineCustomElement
|
|
41
41
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as n, u as l, D as r, P as g, q as
|
|
1
|
+
import { L as n, u as l, D as r, P as g, q as d } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-CcKHKwS0-Bw63tTOA.js";
|
|
3
3
|
import { c as v } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const h = ({ appearance: e, width: t = "intrinsic", active: a },
|
|
4
|
+
const h = ({ appearance: e, width: t = "intrinsic", active: a }, o) => v("gids-tab-item", {
|
|
5
5
|
// Widths
|
|
6
6
|
// 'gids-tab-item--intrinsic': width === 'intrinsic', // By default so not needed
|
|
7
7
|
"gids-tab-item--full": t === "full",
|
|
@@ -17,7 +17,7 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, d) => v("gids-t
|
|
|
17
17
|
"gids-tab-item--bordered": e === "bordered" && !a,
|
|
18
18
|
"gids-tab-item--underlined": e === "underlined" && !a,
|
|
19
19
|
"gids-tab-item--subtle": e === "subtle" && !a
|
|
20
|
-
},
|
|
20
|
+
}, o), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
22
|
getGidsTabItemClassNames: h
|
|
23
23
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsTabItemClassNames: m } = u, s = n(class extends l {
|
|
@@ -54,8 +54,8 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, d) => v("gids-t
|
|
|
54
54
|
this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconTabItem"]'), this.hasTrailingIcon = !!this.hostElement.querySelector('[slot="trailingIconTabItem"]');
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
const e = m({ appearance: this.appearance, width: this.width, active: this.active }), t = this.hasTrailingIcon, a = this.badgeVisible,
|
|
58
|
-
return r(g, { key: "
|
|
57
|
+
const e = m({ appearance: this.appearance, width: this.width, active: this.active }), t = this.hasTrailingIcon, a = this.badgeVisible, o = this.appearance === "primary" && this.active ? "inverse" : this.badgeAppearance ?? "information", i = this.label;
|
|
58
|
+
return r(g, { key: "b65559e69561401097fb08ede52c110df0a9f2a0", 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: o, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, t ? r("slot", { name: "trailingIconTabItem" }) : void 0);
|
|
59
59
|
}
|
|
60
60
|
get hostElement() {
|
|
61
61
|
return this;
|
|
@@ -69,7 +69,7 @@ const h = ({ appearance: e, width: t = "intrinsic", active: a }, d) => v("gids-t
|
|
|
69
69
|
}, [260, "gids-tab-item", { itemId: [1, "item-id"], label: [1], active: [4], name: [1], width: [1], appearance: [1], badgeVisible: [4, "badge-visible"], badgeAppearance: [1, "badge-appearance"], badgeCount: [2, "badge-count"], badgeType: [1, "badge-type"], onPressGidsTabItem: [16], hasLeadingIcon: [32], hasTrailingIcon: [32] }, void 0, { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], badgeVisible: [{ handleBadgeVisibilityChange: 0 }], badgeAppearance: [{ handleBadgeAppearanceChange: 0 }], badgeType: [{ handleBadgeTypeChange: 0 }], active: [{ handleActiveChange: 0 }] }]);
|
|
70
70
|
function c() {
|
|
71
71
|
typeof customElements < "u" && ["gids-tab-item"].forEach(((e) => {
|
|
72
|
-
e === "gids-tab-item" && (customElements.get(
|
|
72
|
+
e === "gids-tab-item" && (customElements.get(d(e)) || customElements.define(d(e), s));
|
|
73
73
|
}));
|
|
74
74
|
}
|
|
75
75
|
c();
|
|
@@ -1,13 +1,13 @@
|
|
|
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"
|
|
7
|
-
}, d),
|
|
7
|
+
}, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsTabClassNames: o
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames:
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: b } = p, i = r(class extends h {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.width = "intrinsic", this.appearance = "default";
|
|
13
13
|
}
|
|
@@ -37,8 +37,8 @@ const o = ({ width: e, appearance: t }, d) => c("gids-tab", {
|
|
|
37
37
|
return e === this.activeTabId;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
const e =
|
|
41
|
-
return a(
|
|
40
|
+
const e = b({ width: this.width, appearance: this.appearance });
|
|
41
|
+
return a(c, { key: "019641979327818117e2fb8852ebd56ee2508206", class: e }, a("slot", { key: "3cb4af9d1be44c8975d6d59605ddc4ed967e6b46" }));
|
|
42
42
|
}
|
|
43
43
|
get hostElement() {
|
|
44
44
|
return this;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
7
|
-
import { g as _ } from "./p-iQRr_fAH-
|
|
4
|
+
import { r as p } from "./p-DdJKIFk0-Co3FvR3K.js";
|
|
5
|
+
import { h as g } from "./p-gK9DvcL8-Chw-ya2Q.js";
|
|
6
|
+
import { r as x } from "./p-CZgH5rZs-Clk0qfHN.js";
|
|
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))
|
|
10
10
|
return `${e} / ${Math.max(t, 0)}`;
|
|
@@ -17,16 +17,16 @@ const v = (e, t) => {
|
|
|
17
17
|
default:
|
|
18
18
|
return "default";
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, a = /* @__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 } = a, 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 } = a, { inputToGidsFieldStatus: O } = C, n = 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: "d1d2d381d0ffc2d4b3dc6b33eb7f064961a90b22", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "7b131dd6a2c022a0a3185109aef968b1090def6a", 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: "a7525f0a2e1cfb9d9b9dce61fa277294db8197ee", 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: "e6978fc6459cb0021f1ab2b8936dd2df17a8389a", name: "leadingIcon" }), i("slot", { key: "5146c8dc404c9f64114a95e1925f9e3abea48223", name: "leadingAccessory" }), d && i(p, { key: "e53ca6864fccc936e6449c2d93c04c84bb30432a", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "0d79c869c1ebc55384978d12b8938a730ddd8861", name: "trailingIcon" })));
|
|
55
55
|
}
|
|
56
56
|
get _el() {
|
|
57
57
|
return this;
|
|
@@ -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: "fcf2e6696efb040de12e59a7fe5544283cace7ec" }, e("slot", { key: "097aaf5bc20d9f9fd4f6595b3c4bc2d3622a95f9" }), e("span", { key: "6fa1bf3a74e6d68dfb559186222dd65e246f84da", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "ee64e9db78fd0520f7bc670cfbc23949e55c94ab", 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 u = o, v = a;
|
|
63
63
|
export {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
u as GidsTooltip,
|
|
65
|
+
v as defineCustomElement
|
|
66
66
|
};
|