@ganpatiinfo/gids-core-web 22.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 +28 -28
- 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-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 +7 -7
- 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 +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 +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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/dist-bundled/es/gids-password-field.js +20 -20
- 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 +10 -10
- 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 +12 -12
- 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 +10 -10
- 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-62akP0Ad-D4pJ0a_I.js +86 -0
- package/dist-bundled/es/{p-B_FEFM5I-JoBieRfG.js → p-B18yNcA0-BaaXQYM_.js} +2 -2
- package/dist-bundled/es/{p-kWyyLyT3-VhX9LNzT.js → p-B2YjHZsu-DxdrSYcE.js} +28 -28
- package/dist-bundled/es/{p-DLRj-mUX-BapdQYpI.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
- package/dist-bundled/es/{p-Ds5IzXj3-B2o0ML2C.js → p-B4d07GWP-DLyo7HQ9.js} +3 -3
- package/dist-bundled/es/{p-CAjDiWIc-C9dOa7FT.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
- package/dist-bundled/es/{p-BAqWcL0K-DNkV1R_C.js → p-BNW2xgxF-DWKLliyn.js} +5 -5
- package/dist-bundled/es/p-BcXumkjZ-zNpzLmjI.js +240 -0
- package/dist-bundled/es/{p-DKSnGphd-CZSPfB-N.js → p-C88Z_F_m-wMA27lx_.js} +3 -3
- package/dist-bundled/es/{p-bfWlRsx_-CNZjBYOE.js → p-CKj2Ru6e-B-Nk5B_P.js} +3 -3
- package/dist-bundled/es/{p-B_St7yaX-Da4DWjGh.js → p-COsSHfdc-DfDYoLSS.js} +3 -3
- package/dist-bundled/es/{p-DrxfD2yZ-Cetyr3S9.js → p-CSXuAs_X-Hw6bT-8r.js} +11 -11
- package/dist-bundled/es/{p-DzOOjiNH-CqI4E-mj.js → p-CZgH5rZs-Clk0qfHN.js} +3 -3
- package/dist-bundled/es/{p-BIxBMTG9-Ctr342ff.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-DMxvWIj1-BxbvrlFL.js → p-DKe6orSY-D1kYOeuX.js} +6 -6
- package/dist-bundled/es/{p-D0RJMGGj-BflZ9l8y.js → p-DLX-l0-L-gumz4bOG.js} +1 -1
- package/dist-bundled/es/{p-BQT5yy5L-C1C_zTi-.js → p-DOiDD7cS-j1RR9K9r.js} +8 -4
- package/dist-bundled/es/{p-B2flLE0s-SMg7vg1a.js → p-DXlBK8TS-DazOvEm2.js} +2 -2
- package/dist-bundled/es/{p-E13ycS5K-BBDydae3.js → p-DYKcsBzA-BcupA9sw.js} +6 -6
- package/dist-bundled/es/{p--kh67-_Z-B-vf_gng.js → p-D_mszaeq-ndcXN34-.js} +4 -4
- package/dist-bundled/es/{p-Do_VlNHg-Ck03dQOR.js → p-DdJKIFk0-Co3FvR3K.js} +1 -1
- 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-U3yKC45e.js → p-gK9DvcL8-Chw-ya2Q.js} +1 -1
- package/dist-bundled/es/{p-_W77iniK-ChKfEOp3.js → p-iEUyQs9t-BUXXVuwz.js} +2 -2
- package/dist-bundled/es/{p-BCbovLBE-CDxKiOtS.js → p-jtpLLxuw-BlEPhjmU.js} +1 -1
- package/dist-bundled/es/p-lvArnlBV-BxkIAxHG.js +86 -0
- package/dist-bundled/es/{p-TfH966_e-BzZRV8Rj.js → p-vz4tzbld-BYJRjHJw.js} +5 -5
- package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-x1tVOUSt-CdB8Szfe.js} +6 -6
- package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- 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 +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 +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 +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-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,73 +1,89 @@
|
|
|
1
|
-
import { L as u, u as
|
|
2
|
-
import { r as
|
|
1
|
+
import { L as u, u as _, D as r, P as y, q as g } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { r as h } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
3
3
|
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const x = ({ appearance:
|
|
4
|
+
const x = ({ appearance: e, hasBorder: o, shadow: i, borderRadius: d, height: a, width: t }, s) => w("gids-form", {
|
|
5
5
|
// Appearances
|
|
6
6
|
// 'gids-form--appearance-default': appearance === 'default', // By Default so not needed
|
|
7
|
-
"gids-form--appearance-subtle":
|
|
7
|
+
"gids-form--appearance-subtle": e === "subtle",
|
|
8
8
|
// Shadows
|
|
9
9
|
// 'gids-form--shadow-none': shadow === 'none', // By default so not needed
|
|
10
|
-
"gids-form--shadow-overflow":
|
|
11
|
-
"gids-form--shadow-overlay":
|
|
12
|
-
"gids-form--shadow-raised":
|
|
10
|
+
"gids-form--shadow-overflow": i === "overflow",
|
|
11
|
+
"gids-form--shadow-overlay": i === "overlay",
|
|
12
|
+
"gids-form--shadow-raised": i === "raised",
|
|
13
13
|
// Border Radius
|
|
14
14
|
// 'gids-form--border-radius-none': borderRadius === 'none', // By default so not needed
|
|
15
|
-
"gids-form--border-radius-sm":
|
|
16
|
-
"gids-form--border-radius-md":
|
|
17
|
-
"gids-form--border-radius-lg":
|
|
15
|
+
"gids-form--border-radius-sm": d === "sm",
|
|
16
|
+
"gids-form--border-radius-md": d === "md",
|
|
17
|
+
"gids-form--border-radius-lg": d === "lg",
|
|
18
18
|
// Settings
|
|
19
19
|
"gids-form--has-border": o,
|
|
20
20
|
// Sizes
|
|
21
|
-
"gids-form--height-full":
|
|
21
|
+
"gids-form--height-full": a === "full",
|
|
22
22
|
"gids-form--width-full": t === "full"
|
|
23
23
|
}, s), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
24
|
__proto__: null,
|
|
25
25
|
getGidsFormClassNames: x
|
|
26
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsFormClassNames: F } = C,
|
|
27
|
-
constructor(
|
|
28
|
-
super(),
|
|
26
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsFormClassNames: F } = C, l = u(class extends _ {
|
|
27
|
+
constructor(e) {
|
|
28
|
+
super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.hasBorder = !0, this.shadow = "none", this.borderRadius = "none", this.height = "intrinsic", this.width = "intrinsic", this.divider = !0, this.footerDividerVisible = !0, this.hasFooterChildren = !1, this.setupObserver = () => {
|
|
29
|
+
this.checkFooterNodes(), this.observer = new MutationObserver((() => {
|
|
30
|
+
this.checkFooterNodes();
|
|
31
|
+
})), this.observer.observe(this.hostElement, { childList: !0, subtree: !0 });
|
|
32
|
+
}, this.handleFooterSlotChange = () => {
|
|
33
|
+
this.checkFooterNodes();
|
|
34
|
+
}, this.checkFooterNodes = () => {
|
|
35
|
+
const o = this.hostElement?.querySelectorAll('[slot="formFooterChildren"]');
|
|
36
|
+
let i = !1;
|
|
37
|
+
o && o.length > 0 && (i = Array.from(o).some(((d) => d.nodeType === Node.ELEMENT_NODE || !!d.textContent?.trim().length))), this.hasFooterChildren = i;
|
|
38
|
+
};
|
|
29
39
|
}
|
|
30
|
-
idChanged(
|
|
31
|
-
this.id =
|
|
40
|
+
idChanged(e) {
|
|
41
|
+
this.id = e;
|
|
32
42
|
}
|
|
33
|
-
appearanceChanged(
|
|
34
|
-
this.appearance =
|
|
43
|
+
appearanceChanged(e) {
|
|
44
|
+
this.appearance = e;
|
|
35
45
|
}
|
|
36
|
-
headingChanged(
|
|
37
|
-
this.heading =
|
|
46
|
+
headingChanged(e) {
|
|
47
|
+
this.heading = e;
|
|
38
48
|
}
|
|
39
|
-
supportingTextChanged(
|
|
40
|
-
this.supportingText =
|
|
49
|
+
supportingTextChanged(e) {
|
|
50
|
+
this.supportingText = e;
|
|
41
51
|
}
|
|
42
|
-
descriptionChanged(
|
|
43
|
-
this.description =
|
|
52
|
+
descriptionChanged(e) {
|
|
53
|
+
this.description = e;
|
|
44
54
|
}
|
|
45
|
-
hasBorderChanged(
|
|
46
|
-
this.hasBorder =
|
|
55
|
+
hasBorderChanged(e) {
|
|
56
|
+
this.hasBorder = e;
|
|
47
57
|
}
|
|
48
|
-
shadowChanged(
|
|
49
|
-
this.shadow =
|
|
58
|
+
shadowChanged(e) {
|
|
59
|
+
this.shadow = e;
|
|
50
60
|
}
|
|
51
|
-
borderColorChanged(
|
|
52
|
-
this.borderColor =
|
|
61
|
+
borderColorChanged(e) {
|
|
62
|
+
this.borderColor = e;
|
|
53
63
|
}
|
|
54
|
-
borderRadiusChanged(
|
|
55
|
-
this.borderRadius =
|
|
64
|
+
borderRadiusChanged(e) {
|
|
65
|
+
this.borderRadius = e;
|
|
56
66
|
}
|
|
57
|
-
heightChanged(
|
|
58
|
-
this.height =
|
|
67
|
+
heightChanged(e) {
|
|
68
|
+
this.height = e;
|
|
59
69
|
}
|
|
60
|
-
widthChanged(
|
|
61
|
-
this.width =
|
|
70
|
+
widthChanged(e) {
|
|
71
|
+
this.width = e;
|
|
62
72
|
}
|
|
63
|
-
dividerChanged(
|
|
64
|
-
this.divider =
|
|
73
|
+
dividerChanged(e) {
|
|
74
|
+
this.divider = e;
|
|
65
75
|
}
|
|
66
76
|
connectedCallback() {
|
|
67
77
|
}
|
|
78
|
+
componentDidLoad() {
|
|
79
|
+
this.setupObserver();
|
|
80
|
+
}
|
|
81
|
+
disconnectedCallback() {
|
|
82
|
+
this.observer && this.observer.disconnect();
|
|
83
|
+
}
|
|
68
84
|
render() {
|
|
69
|
-
const
|
|
70
|
-
return
|
|
85
|
+
const e = this?.id, o = this?.appearance ?? "default", i = this?.heading ?? void 0, d = this?.supportingText ?? void 0, a = this?.description ?? void 0, t = this?.hasBorder ?? !0, s = this?.shadow ?? "none", n = this?.borderColor ?? void 0, c = this?.borderRadius ?? "md", m = this?.height ?? "intrinsic", p = this?.width ?? "intrinsic", v = this?.divider ?? !0, b = F({ appearance: o, hasBorder: t, shadow: s, borderRadius: c, height: m, width: p });
|
|
86
|
+
return r(y, { key: "0be5b51400c4343f16bd5d84bb01db8897282c32", class: b, "data-appearance": o, id: e, style: n && n !== "" ? { "--gidsFormBorder-color": n } : {} }, r("div", { key: "4016d00181af7c61ed2cbaa7babba56508ae9f6f", class: "gids-form__container" }, r("div", { key: "c5422c49aa65e2964fedad41861ea06d24950704", class: "gids-form__header" }, r("slot", { key: "d5cae5ed432d8b75a77a505e16a98b510cd680af", name: "formIcon" }), r("div", { key: "fb05421e00947a54e486cfc7ce7107a08c8c6c1a", class: "gids-form__header-text-content" }, i && i !== "" ? r("label", null, i) : void 0, d && d !== "" ? r("span", null, d) : void 0, a && a !== "" ? r("p", null, a) : void 0), r("div", { key: "d96aa69e038735085bd29eae618bf5d783ef3333", class: "gids-form__header-children" }, r("slot", { key: "1f13f852441c3e71cb1623a32b32332d4637c014", name: "formHeaderChildren" }))), v ? r("div", { class: "gids-form__divider-container" }, r(h, null)) : void 0, r("div", { key: "5689bd0343337573a663c59a316a5913f0213344", class: "gids-form__content" }, r("slot", { key: "124b2199c9b755d5e7e0513afe9dfb51bf8f3e8d" }))), r("div", { key: "b2e4530502c80ec8767d28187543c08c9d6961ef", class: "gids-form__footer " + (this.hasFooterChildren ? "gids-form__footer--has-content" : "gids-form__footer--is-empty") }, this.hasFooterChildren && this.footerDividerVisible ? r("div", { class: "gids-form__footer-divider" }, r(h, null)) : void 0, r("div", { key: "3e90d73c4e963cb7bbb4011e6ca57242c546e86f", class: "gids-form__footer-wrapper" }, r("slot", { key: "10f78988c50c5a851bfacf5ba1eeb13b9b5d6121", name: "formFooterChildren", onSlotchange: this.handleFooterSlotChange }))));
|
|
71
87
|
}
|
|
72
88
|
get hostElement() {
|
|
73
89
|
return this;
|
|
@@ -76,17 +92,17 @@ const x = ({ appearance: r, hasBorder: o, shadow: d, borderRadius: a, height: i,
|
|
|
76
92
|
return { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], heading: [{ headingChanged: 0 }], supportingText: [{ supportingTextChanged: 0 }], description: [{ descriptionChanged: 0 }], hasBorder: [{ hasBorderChanged: 0 }], shadow: [{ shadowChanged: 0 }], borderColor: [{ borderColorChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], height: [{ heightChanged: 0 }], width: [{ widthChanged: 0 }], divider: [{ dividerChanged: 0 }] };
|
|
77
93
|
}
|
|
78
94
|
static get style() {
|
|
79
|
-
return ".gids-form{--gidsFormBorder-color:var(--gids-color-border-default);--gidsFormBg-color:var(--gids-color-background-neutral-default);--gidsForm-shadow:none;--gidsForm-border-radius:var(--gids-border-radius-none);--gidsForm-border:none;--gidsFormPrimaryText-color:var(--gids-color-text-default);--gidsFormSecondaryText-color:var(--gids-color-text-subtle);--gidsFormTertiaryText-color:var(--gids-color-text-subtlest);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;align-self:flex-start;justify-self:flex-start;padding:var(--gids-padding-vertical-edge-to-element-250)
|
|
95
|
+
return ".gids-form{--gidsFormBorder-color:var(--gids-color-border-default);--gidsFormBg-color:var(--gids-color-background-neutral-default);--gidsForm-shadow:none;--gidsForm-border-radius:var(--gids-border-radius-none);--gidsForm-border:none;--gidsFormPrimaryText-color:var(--gids-color-text-default);--gidsFormSecondaryText-color:var(--gids-color-text-subtle);--gidsFormTertiaryText-color:var(--gids-color-text-subtlest);display:flex;flex-direction:column;background-color:var(--gidsFormBg-color);box-shadow:var(--gidsForm-shadow);border-radius:var(--gidsForm-border-radius);border:var(--gidsForm-border)}.gids-form__container{display:flex;flex-direction:column;width:100%;align-items:flex-start;justify-content:flex-start;align-self:flex-start;justify-self:flex-start;padding-top:var(--gids-padding-vertical-edge-to-element-250);padding-left:var(--gids-padding-horizontal-edge-to-element-300);padding-right:var(--gids-padding-horizontal-edge-to-element-300);overflow:hidden}.gids-form__header{display:flex;width:100%;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-form__header-text-content{display:flex;flex-direction:column;flex:1;gap:var(--gids-gap-050)}.gids-form__header-text-content label{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit);color:var(--gidsFormPrimaryText-color)}.gids-form__header-text-content span{font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gidsFormSecondaryText-color)}.gids-form__header-text-content p{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsFormTertiaryText-color)}.gids-form__content{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-300) 0;overflow-x:hidden;overflow-y:auto}.gids-form__divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-form--appearance-subtle{--gidsFormBg-color:transparent}.gids-form--shadow-overflow{--gidsForm-shadow:var(--gids-elevation-shadow-overflow)}.gids-form--shadow-overlay{--gidsForm-shadow:var(--gids-elevation-shadow-overlay)}.gids-form--shadow-raised{--gidsForm-shadow:var(--gids-elevation-shadow-raised)}.gids-form--border-radius-sm{--gidsForm-border-radius:var(--gids-border-radius-sm)}.gids-form--border-radius-md{--gidsForm-border-radius:var(--gids-border-radius-md)}.gids-form--border-radius-lg{--gidsForm-border-radius:var(--gids-border-radius-lg)}.gids-form--has-border{--gidsForm-border:var(--gids-border-width-thin) solid var(--gidsFormBorder-color)}.gids-form--height-full{height:100vh !important;overflow:hidden}.gids-form--width-full{width:100%}.gids-form__footer{width:100%}.gids-form__footer--is-empty{display:none}.gids-form__footer--has-content{display:flex;flex-direction:column}.gids-form__footer-divider{display:flex;flex-direction:column;width:100%}.gids-form__footer-wrapper{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300)}.gids-form__header-children{display:flex;flex-direction:column;align-self:center;justify-content:center;align-items:flex-end}";
|
|
80
96
|
}
|
|
81
|
-
}, [260, "gids-form", { id: [1], appearance: [1], heading: [1], supportingText: [1, "supporting-text"], description: [1], hasBorder: [4, "has-border"], shadow: [1], borderColor: [1, "border-color"], borderRadius: [1, "border-radius"], height: [1], width: [1], divider: [4] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], heading: [{ headingChanged: 0 }], supportingText: [{ supportingTextChanged: 0 }], description: [{ descriptionChanged: 0 }], hasBorder: [{ hasBorderChanged: 0 }], shadow: [{ shadowChanged: 0 }], borderColor: [{ borderColorChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], height: [{ heightChanged: 0 }], width: [{ widthChanged: 0 }], divider: [{ dividerChanged: 0 }] }]);
|
|
82
|
-
function
|
|
83
|
-
typeof customElements < "u" && ["gids-form"].forEach(((
|
|
84
|
-
|
|
97
|
+
}, [260, "gids-form", { id: [1], appearance: [1], heading: [1], supportingText: [1, "supporting-text"], description: [1], hasBorder: [4, "has-border"], shadow: [1], borderColor: [1, "border-color"], borderRadius: [1, "border-radius"], height: [1], width: [1], divider: [4], footerDividerVisible: [4, "footer-divider-visible"], hasFooterChildren: [32] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], heading: [{ headingChanged: 0 }], supportingText: [{ supportingTextChanged: 0 }], description: [{ descriptionChanged: 0 }], hasBorder: [{ hasBorderChanged: 0 }], shadow: [{ shadowChanged: 0 }], borderColor: [{ borderColorChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], height: [{ heightChanged: 0 }], width: [{ widthChanged: 0 }], divider: [{ dividerChanged: 0 }] }]);
|
|
98
|
+
function f() {
|
|
99
|
+
typeof customElements < "u" && ["gids-form"].forEach(((e) => {
|
|
100
|
+
e === "gids-form" && (customElements.get(g(e)) || customElements.define(g(e), l));
|
|
85
101
|
}));
|
|
86
102
|
}
|
|
87
|
-
|
|
88
|
-
const
|
|
103
|
+
f();
|
|
104
|
+
const E = l, z = f;
|
|
89
105
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
106
|
+
E as GidsForm,
|
|
107
|
+
z as defineCustomElement
|
|
92
108
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as e, h as t } from "./p-
|
|
2
|
-
const
|
|
1
|
+
import { l as e, h as t } from "./p-COsSHfdc-DfDYoLSS.js";
|
|
2
|
+
const a = e, i = t;
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
a as GidsHeaderNavigationItem,
|
|
5
5
|
i as defineCustomElement
|
|
6
6
|
};
|
|
@@ -2,7 +2,7 @@ import { L as f, u as C, D as s, P as M, q as r } from "./p-B4hcsDH0-CPqEc-vc.js
|
|
|
2
2
|
import { d as S } from "./p-iQRr_fAH-Dvv1n8QD.js";
|
|
3
3
|
import { r as N } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
4
4
|
import { e as y } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
5
|
-
import { h as x } from "./p-
|
|
5
|
+
import { h as x } from "./p-COsSHfdc-DfDYoLSS.js";
|
|
6
6
|
import { c as b } from "./clsx-OuTLNxxd.js";
|
|
7
7
|
const z = ({ mode: t, type: e }, a) => b("gids-header-navigation", {
|
|
8
8
|
// Modes
|
|
@@ -90,7 +90,7 @@ const z = ({ mode: t, type: e }, a) => b("gids-header-navigation", {
|
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
92
|
const t = this?.appearance ?? "default", e = this?.selectionAppearance ?? "default", a = this?.applyShadow ?? !1, d = this?.applySeparators ?? !1, i = this?.borderRadius ?? "none", g = this?.mode ?? "wrap", u = this?.type ?? "gap", l = this?.size ?? "md", c = this?.navMenus ?? [], I = this?.selectionType ?? "single-deselection-not-allowed", v = E({ mode: g, type: u });
|
|
93
|
-
return s(M, { key: "
|
|
93
|
+
return s(M, { key: "a0e2c481d4b27986c907f71fe4035039ab3a3c64", class: v }, c.map(((n, o) => s("div", { key: "" + (o + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": u === "standard" }) }, s("gids-header-navigation-item", { ...n, id: n.id, menuId: n?.menuId, menuItems: n?.menuItems ?? [], label: n?.label, size: l, appearance: t, selectionAppearance: e, applyShadow: a, borderRadius: i, expanded: this.isThisMenuExpanded(n?.menuId), selected: this.isThisNavigationItemSelected(n?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: I, onPressNavigationItem: (h) => this.onNavigationItemPress({ event: h, itemIndex: o }), onMenuItemChange: (h) => this.onNavigationMenuItemChange({ event: h, itemIndex: o }) }, n?.leadingIconName && n.leadingIconName !== "(none)" ? s(S, { slot: "headerNavItemLeadingIcon", name: n.leadingIconName, size: l !== "xl" ? l : "lg", alt: "", appearance: "regular" }) : void 0), d && o < c.length - 1 ? s(N, { orientation: "vertical" }) : void 0))));
|
|
94
94
|
}
|
|
95
95
|
get hostElement() {
|
|
96
96
|
return this;
|
|
@@ -178,7 +178,7 @@ const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName
|
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
180
|
const e = pe({ width: this.width }), a = this.isTopHeaderVisible, t = this.getTopHeaderCells(), l = this?.constructedTableBodyData ?? [];
|
|
181
|
-
return d(E, { key: "
|
|
181
|
+
return d(E, { key: "4e7a0b703fec737cea126874c1e0ad431befe3c7", class: e }, d("table", { key: "bf9216a504a97404cef829fb0a6ad67a8a29cfb7", class: this.getTableClasses() }, a ? d(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, d("tbody", { key: "8a81bebdfc2c40ca1424ca225e9bdecab2fdec57" }, l.length > 0 ? l.map(((r) => d(D, { layout: "horizontal", rows: r?.items ?? [], width: this.width }))) : void 0)));
|
|
182
182
|
}
|
|
183
183
|
get hostElement() {
|
|
184
184
|
return this;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as
|
|
1
|
+
import { L as i, u as n, D as e, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
const
|
|
3
|
+
const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
|
-
showGidsOverflowContainerBottomShadow:
|
|
6
|
-
showGidsOverflowContainerTopShadow:
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r =
|
|
5
|
+
showGidsOverflowContainerBottomShadow: c,
|
|
6
|
+
showGidsOverflowContainerTopShadow: h
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = i(class extends n {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
|
|
10
10
|
}
|
|
@@ -20,19 +20,19 @@ const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" ||
|
|
|
20
20
|
this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return e("div", { key: "
|
|
23
|
+
return e("div", { key: "227662d2598051caf5cea67f0896fc1a7832fa15", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "0b330e539a919ea33a60da98820babcbf5dab668" }));
|
|
24
24
|
}
|
|
25
25
|
get _el() {
|
|
26
26
|
return this;
|
|
27
27
|
}
|
|
28
28
|
}, [257, "gids-overflow-container", { shadowLocation: [513, "shadow-location"] }]);
|
|
29
|
-
function
|
|
29
|
+
function a() {
|
|
30
30
|
typeof customElements < "u" && ["gids-overflow-container"].forEach(((t) => {
|
|
31
31
|
t === "gids-overflow-container" && (customElements.get(o(t)) || customElements.define(o(t), r));
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
const p = r, m =
|
|
34
|
+
a();
|
|
35
|
+
const p = r, m = a;
|
|
36
36
|
export {
|
|
37
37
|
p as GidsOverflowContainer,
|
|
38
38
|
m as defineCustomElement
|
|
@@ -120,7 +120,7 @@ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
|
|
|
120
120
|
return o("div", { ...a, class: z({ appearance: t }, i) }, o("div", { class: "gids-snackbar-container__content" }, t !== "default" && r != null ? o(p, { name: r, alt: "", appearance: "filled", size: "md", class: "gids-snackbar-container__icon" }) : null, typeof e == "string" ? o("p", null, e) : e), n);
|
|
121
121
|
}, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = j, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
|
|
122
122
|
const c = E(i);
|
|
123
|
-
return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "
|
|
123
|
+
return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "x-circle", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
|
|
124
124
|
}, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = C(class extends y {
|
|
125
125
|
constructor(t) {
|
|
126
126
|
super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this._parentOverlayProvider = null, this._componentQueue = [], this._allowedComponentQueue = [], this._exitingComponents = [], this._renderSnackbar = (e, n) => {
|
|
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
|
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
189
|
const t = this._allowedComponentQueue[0]?.position || "bottom-center";
|
|
190
|
-
return o(w, { key: "
|
|
190
|
+
return o(w, { key: "b05663a31ab6f637e2837b71274b09d50c3e5015" }, o("slot", { key: "bfdbff73c68fe94d7889a30ba9074f4d542f8646" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
|
|
191
191
|
}
|
|
192
192
|
get _el() {
|
|
193
193
|
return this;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
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
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-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
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-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;
|