@ganpatiinfo/gids-core-web 20.0.0 → 21.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 +607 -59
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-advanced-tooltip.d.ts +1 -1
- package/dist/gids-advanced-tooltip.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-bento-card.d.ts +1 -1
- package/dist/gids-bento-card.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-carousel.d.ts +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.d.ts +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.d.ts +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.d.ts +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-flyout-panel.d.ts +1 -1
- package/dist/gids-flyout-panel.js +1 -1
- package/dist/gids-form.d.ts +11 -0
- package/dist/gids-form.js +1 -0
- package/dist/gids-header-navigation-item.d.ts +1 -1
- package/dist/gids-header-navigation-item.js +1 -1
- package/dist/gids-header-navigation.d.ts +1 -1
- package/dist/gids-header-navigation.js +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-profile-menu-header.d.ts +1 -1
- package/dist/gids-profile-menu-header.js +1 -1
- package/dist/gids-profile-menu.d.ts +1 -1
- package/dist/gids-profile-menu.js +1 -1
- package/dist/gids-profile.d.ts +1 -1
- package/dist/gids-profile.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-sidebar-item.d.ts +11 -0
- package/dist/gids-sidebar-item.js +1 -0
- package/dist/gids-sidebar-menu.d.ts +11 -0
- package/dist/gids-sidebar-menu.js +1 -0
- package/dist/gids-sidebar.d.ts +11 -0
- package/dist/gids-sidebar.js +1 -0
- package/dist/gids-skeleton.d.ts +1 -1
- package/dist/gids-skeleton.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/gids-transfer-list.d.ts +1 -1
- package/dist/gids-transfer-list.js +1 -1
- package/dist/p--kh67-_Z.js +1 -0
- package/dist/{p-DrDadv7P.js → p-B2flLE0s.js} +1 -1
- package/dist/{p-jGho9nbS.js → p-BAqWcL0K.js} +1 -1
- package/dist/p-BCbovLBE.js +1 -0
- package/dist/{p-PcSMc4jQ.js → p-BIxBMTG9.js} +1 -1
- package/dist/{p-DgKrPmDn.js → p-BQT5yy5L.js} +1 -1
- package/dist/p-BRNvHMdK.js +1 -0
- package/dist/{p-CBiu-Vh3.js → p-B_FEFM5I.js} +1 -1
- package/dist/{p-Dw_kb9MC.js → p-B_St7yaX.js} +1 -1
- package/dist/{p-D0coZTd2.js → p-CAjDiWIc.js} +1 -1
- package/dist/{p-DYjV5XrH.js → p-CIjK3iHM.js} +1 -1
- package/dist/p-CV1-78HB.js +1 -0
- package/dist/{p-BdsUwTgh.js → p-D0RJMGGj.js} +1 -1
- package/dist/{p-CH4nrjpL.js → p-DKSnGphd.js} +1 -1
- package/dist/{p-CIxuyUAl.js → p-DLRj-mUX.js} +1 -1
- package/dist/{p-DKOr5iAk.js → p-DMxvWIj1.js} +1 -1
- package/dist/p-DQQhGF5N.js +1 -0
- package/dist/p-DZ1ZcTMe.js +1 -0
- package/dist/{p-BthkC6NU.js → p-DnRuhvRw.js} +1 -1
- package/dist/p-DpvdbdZ-.js +1 -0
- package/dist/{p-DZ6xQXis.js → p-DrxfD2yZ.js} +1 -1
- package/dist/{p-C6GHG170.js → p-Ds5IzXj3.js} +1 -1
- package/dist/{p-j2_DKwBz.js → p-DzOOjiNH.js} +1 -1
- package/dist/{p-Cacy0Dji.js → p-E13ycS5K.js} +1 -1
- package/dist/{p-Cz9nwmgK.js → p-TfH966_e.js} +1 -1
- package/dist/{p-CMW3SjbP.js → p-_W77iniK.js} +1 -1
- package/dist/p-bfWlRsx_.js +1 -0
- package/dist/p-kWyyLyT3.js +1 -0
- package/dist/{p-CrqHKmjy.js → p-mv_7K1EM.js} +1 -1
- package/dist/{p-xbqOQZl9.js → p-tEbUT3n3.js} +1 -1
- package/dist/types/components/html/GidsSidebarMenuItem/GidsSidebarMenuItem.d.ts +6 -0
- package/dist/types/components/shared/GidsFloatingElementManager.d.ts +1 -1
- package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +4 -0
- package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +32 -0
- package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +2 -0
- package/dist/types/components/webComponents/GidsSidebar/GidsSidebar.d.ts +55 -0
- package/dist/types/components/webComponents/GidsSidebarItem/GidsSidebarItem.d.ts +56 -0
- package/dist/types/components/webComponents/GidsSidebarMenu/GidsSidebarMenu.d.ts +38 -0
- package/dist/types/components.d.ts +462 -2
- package/dist-bundled/es/gids-action-bar.js +6 -6
- 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 +3 -3
- package/dist-bundled/es/gids-bento-card.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +1 -1
- package/dist-bundled/es/gids-calendar.js +23 -23
- package/dist-bundled/es/gids-chart-legend-item.js +3 -3
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +21 -21
- package/dist-bundled/es/gids-chevron-button.js +3 -3
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +4 -4
- package/dist-bundled/es/gids-dropdown-picker.js +4 -4
- package/dist-bundled/es/gids-dropdown.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +2 -2
- package/dist-bundled/es/gids-expansion-group.js +4 -4
- package/dist-bundled/es/gids-expansion.js +6 -6
- package/dist-bundled/es/gids-field.js +3 -3
- package/dist-bundled/es/gids-filter.js +1 -1
- package/dist-bundled/es/gids-flyout-panel.js +4 -108
- package/dist-bundled/es/gids-form.js +92 -0
- package/dist-bundled/es/gids-header-navigation-item.js +3 -3
- package/dist-bundled/es/gids-header-navigation.js +3 -3
- 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 +1 -1
- package/dist-bundled/es/gids-md-table.js +53 -53
- package/dist-bundled/es/gids-overflow-container.js +4 -4
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +10 -10
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-profile-menu-header.js +1 -1
- package/dist-bundled/es/gids-profile-menu.js +4 -4
- package/dist-bundled/es/gids-profile.js +12 -12
- package/dist-bundled/es/gids-scrim.js +1 -1
- package/dist-bundled/es/gids-sidebar-item.js +6 -0
- package/dist-bundled/es/gids-sidebar-menu.js +6 -0
- package/dist-bundled/es/gids-sidebar.js +150 -0
- package/dist-bundled/es/gids-skeleton.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +13 -13
- package/dist-bundled/es/gids-tab.js +7 -7
- package/dist-bundled/es/gids-text-field.js +3 -3
- 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 +25 -26
- package/dist-bundled/es/{p-Cf3Ny79u-VGT_IyGI.js → p--kh67-_Z-BBhYy4ZX.js} +12 -11
- package/dist-bundled/es/{p-DrDadv7P-D4rbSYTr.js → p-B2flLE0s-UXdlvRVr.js} +2 -2
- package/dist-bundled/es/{p-jGho9nbS-BDiBvsn2.js → p-BAqWcL0K-DRjKDzoa.js} +8 -8
- package/dist-bundled/es/p-BCbovLBE-DfkhIEts.js +102 -0
- package/dist-bundled/es/{p-PcSMc4jQ-CzYLaIZr.js → p-BIxBMTG9-Bs6G0Wvv.js} +12 -12
- package/dist-bundled/es/{p-DgKrPmDn-C2CSKicX.js → p-BQT5yy5L-DhdgFXTM.js} +3 -3
- package/dist-bundled/es/p-BRNvHMdK-CqGtfAsn.js +11 -0
- package/dist-bundled/es/{p-CBiu-Vh3-r-McGzCb.js → p-B_FEFM5I-WvEFe7I_.js} +5 -5
- package/dist-bundled/es/{p-Dw_kb9MC-BTd0lrGA.js → p-B_St7yaX-Dq9UwiaA.js} +3 -3
- package/dist-bundled/es/{p-D0coZTd2-KhJZ57gK.js → p-CAjDiWIc-BieYBjHk.js} +1 -1
- package/dist-bundled/es/{p-DYjV5XrH-CI9LfBFx.js → p-CIjK3iHM-DEW8PRM5.js} +7 -7
- package/dist-bundled/es/{p-KQxuw_F--BTSoDfF9.js → p-CV1-78HB-DGkn3SPO.js} +18 -23
- package/dist-bundled/es/{p-BdsUwTgh-Cc7AQBsx.js → p-D0RJMGGj-DSjGfUhB.js} +3 -3
- package/dist-bundled/es/{p-CH4nrjpL-CrEJXTn0.js → p-DKSnGphd-EpxzqjUA.js} +7 -7
- package/dist-bundled/es/{p-CIxuyUAl-B2DxRM64.js → p-DLRj-mUX-B_ACFGx6.js} +6 -6
- package/dist-bundled/es/{p-DKOr5iAk-DA3Kc4Cn.js → p-DMxvWIj1-DPw-ITMY.js} +11 -11
- package/dist-bundled/es/{p-GcC8pCKF-CZJFTFeN.js → p-DQQhGF5N-mCqb5VTE.js} +8 -8
- package/dist-bundled/es/p-DZ1ZcTMe-tnPOECry.js +10 -0
- package/dist-bundled/es/{p-BthkC6NU-F03MhDw7.js → p-DnRuhvRw-Beh0bANh.js} +2 -2
- package/dist-bundled/es/p-DpvdbdZ--C7QlXxK2.js +118 -0
- package/dist-bundled/es/{p-DZ6xQXis-XT86MMis.js → p-DrxfD2yZ-Juydw__6.js} +9 -9
- package/dist-bundled/es/{p-C6GHG170-Di8lwQkY.js → p-Ds5IzXj3-BC_F0-JJ.js} +13 -13
- package/dist-bundled/es/{p-j2_DKwBz-CqyuxxnN.js → p-DzOOjiNH-Wm7KbI3O.js} +5 -5
- package/dist-bundled/es/{p-Cacy0Dji-D-D254kT.js → p-E13ycS5K-D-yK6pqz.js} +1 -1
- package/dist-bundled/es/{p-Cz9nwmgK-BO8HUAvD.js → p-TfH966_e-tyxLyzL3.js} +7 -7
- package/dist-bundled/es/{p-CMW3SjbP-ZYYIF_i6.js → p-_W77iniK-DZ9pVDuI.js} +2 -2
- package/dist-bundled/es/p-bfWlRsx_-B9hzkHIt.js +110 -0
- package/dist-bundled/es/p-kWyyLyT3-DhHcKhR9.js +267 -0
- package/dist-bundled/es/{p-CrqHKmjy-DwSsCofb.js → p-mv_7K1EM-lPgJqpPI.js} +1 -1
- package/dist-bundled/es/{p-xbqOQZl9-BK9vjfj7.js → p-tEbUT3n3-CWq8ErgN.js} +10 -10
- 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 +1 -1
- package/dist-bundled/umd/gids-bento-card.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- 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-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion.umd.js +1 -1
- 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 +5 -0
- 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 +2 -2
- 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-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +1 -1
- package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-popover.umd.js +1 -1
- package/dist-bundled/umd/gids-profile-menu-header.umd.js +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 +5 -0
- package/dist-bundled/umd/gids-sidebar-menu.umd.js +5 -0
- package/dist-bundled/umd/gids-sidebar.umd.js +5 -0
- 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-complete/gids-core-web.umd.js +4 -4
- package/package.json +35 -3
- package/dist/p-B0hLXifA.js +0 -1
- package/dist/p-Cf3Ny79u.js +0 -1
- package/dist/p-GcC8pCKF.js +0 -1
- package/dist/p-KQxuw_F-.js +0 -1
- package/dist-bundled/es/p-B0hLXifA-CoImnX3T.js +0 -99
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as a, L as _, u as m, D as t } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
-
import {
|
|
4
|
-
import { l as v } from "./p-
|
|
3
|
+
import { o as u } from "./p-DnRuhvRw-Beh0bANh.js";
|
|
4
|
+
import { l as v } from "./p-E13ycS5K-D-yK6pqz.js";
|
|
5
5
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const f = ({ breakpoint: e }, r) => x("gids-pie-chart", {
|
|
7
7
|
"gids-pie-chart--breakpoint-mobile": e === "mobile"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as f, L as g, u as v, D as c } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { d as p } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
3
|
-
import { o as I } from "./p-
|
|
3
|
+
import { o as I } from "./p-DQQhGF5N-mCqb5VTE.js";
|
|
4
4
|
import { c as y } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const S = ({ expanded: h }, e) => y("gids-filter", {
|
|
6
6
|
"gids-filter--expanded": h
|
|
@@ -9,7 +9,7 @@ const S = ({ expanded: h }, e) => y("gids-filter", {
|
|
|
9
9
|
getGidsFilterClassNames: S
|
|
10
10
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsFilterClassNames: E } = x;
|
|
11
11
|
var s;
|
|
12
|
-
const
|
|
12
|
+
const F = g((s = class extends v {
|
|
13
13
|
constructor(e) {
|
|
14
14
|
super(), e !== !1 && this.__registerHost(), this.expanded = !1, this.type = "none", this.filterItemType = "primary", this.filterSelected = !1, this.filterDefaultSelected = !1, this.disabled = !1, this.size = "sm", this.loading = !1, this.filterIndex = 0, this.hasSlottedMenu = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.setupDefaultSelctedFilterEmission = () => {
|
|
15
15
|
this.setupDefaultSelectedNoneAllFilterEmission();
|
|
@@ -142,7 +142,7 @@ const b = g((s = class extends v {
|
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
144
|
const e = this.expanded && this.isInteractive(), t = E({ expanded: e }), l = this.isMenuToggler(), i = typeof this.filterPickerId == "string" ? this.filterPickerId : void 0, n = i ? `${i}__menu` : void 0, r = this.selectedItemTitle ?? this.value ?? "", d = this.type === "more", a = this.type === "all", o = this.type === "none";
|
|
145
|
-
return c("div", { key: "
|
|
145
|
+
return c("div", { key: "585c3018b1f5e50fe268648883fba7bda102b5ab", class: t, "aria-control": n ?? "" }, c("gids-toggle-button", { key: "21524dd8e6327022b17a91f41abdf7e1db7a0295", id: i, name: this.name, expanded: e, value: r, disabled: this.disabled, size: this.size, loading: this.loading, tabIndex: this.filterIndex, defaultSelected: this.filterDefaultSelected, selected: this.filterSelected, onSelect: this.handleFilterButtonClickToggle }, d || a ? c(p, { name: d ? "options" : "filter", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" }) : void 0, o || a ? r : void 0, l && !d ? c(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "trailingIcon" }) : void 0), c("div", { key: "3cb8fe6ed4e06a8c0c64d1e753040c1dd61b14dd", class: "gids-filter__menu", id: n, role: "pickerbox", onClick: this.handleMenuClick }, c("slot", { key: "28fa646b9f75307b046372d602238e96121dbd14", onSlotchange: () => this.evaluateSlottedMenuExistence() })));
|
|
146
146
|
}
|
|
147
147
|
get hostElement() {
|
|
148
148
|
return this;
|
|
@@ -154,19 +154,19 @@ const b = g((s = class extends v {
|
|
|
154
154
|
return ".gids-filter{position:relative}.gids-filter__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;align-self:stretch;min-width:var(--gids-width-2-xs);min-height:55px;max-height:15rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg);left:0;right:auto}.gids-filter__menu--align-right{left:auto !important;right:0 !important}.gids-filter__menu>*{flex-shrink:0}.gids-filter--expanded .gids-filter__menu{display:flex}";
|
|
155
155
|
}
|
|
156
156
|
}, s.emittedValuesTracker = /* @__PURE__ */ new Set(), s), [260, "gids-filter", { name: [1], filterId: [1025, "filter-id"], filterPickerId: [1, "filter-picker-id"], expanded: [4], type: [1], filterItemType: [1, "filter-item-type"], value: [1], filterSelected: [1540, "filter-selected"], filterDefaultSelected: [4, "filter-default-selected"], disabled: [4], size: [1], loading: [4], filterIndex: [2, "filter-index"], onFilterMenuItemChange: [16], onToggle: [16], selectedItemTitle: [32], hasSlottedMenu: [32] }, [[8, "click", "handleWindowClick"]], { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }], type: [{ handleFilterTypeChange: 0 }], filterId: [{ handleFilterIdArrival: 0 }], filterSelected: [{ handleFilterSelectedChange: 0 }], filterDefaultSelected: [{ handleFilterDefaultSelectedChange: 0 }] }]);
|
|
157
|
-
function
|
|
157
|
+
function b() {
|
|
158
158
|
typeof customElements < "u" && ["gids-filter", "gids-toggle-button"].forEach(((h) => {
|
|
159
159
|
switch (h) {
|
|
160
160
|
case "gids-filter":
|
|
161
|
-
customElements.get(f(h)) || customElements.define(f(h),
|
|
161
|
+
customElements.get(f(h)) || customElements.define(f(h), F);
|
|
162
162
|
break;
|
|
163
163
|
case "gids-toggle-button":
|
|
164
164
|
customElements.get(f(h)) || I();
|
|
165
165
|
}
|
|
166
166
|
}));
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
b();
|
|
169
169
|
export {
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
b as a,
|
|
171
|
+
F as r
|
|
172
172
|
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { D as i, q as h, L as f, u as v, P as u } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { d as _ } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
3
|
+
import { e as y } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
4
|
+
import { p as b } from "./p-CcKHKwS0-Bw63tTOA.js";
|
|
5
|
+
import { c } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
const x = ({ text: e, alt: a }) => a === "" || a === void 0 && e === void 0, P = 5, T = () => `accent-${Math.floor(Math.random() * P) + 1}`, m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
getRandomColor: T,
|
|
9
|
+
shouldTextBeHiddenFromAt: x
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), z = ({ headerTitle: e }) => e && e !== "" ? e.charAt(0).toUpperCase() : "U", C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
|
+
__proto__: null,
|
|
12
|
+
getProfileHeaderMenuAvatarText: z
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), { getRandomColor: S } = m, H = ({ color: e, size: a }, t) => {
|
|
14
|
+
const n = e === "random" ? S() : e;
|
|
15
|
+
return c("gids-avatar", {
|
|
16
|
+
"gids-avatar--sm": a === "sm",
|
|
17
|
+
// 'gids-avatar--md': size === 'md',
|
|
18
|
+
"gids-avatar--lg": a === "lg",
|
|
19
|
+
"gids-avatar--xl": a === "xl"
|
|
20
|
+
}, n && n !== "brand" && `gids-avatar--${n}`, t);
|
|
21
|
+
}, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
|
+
__proto__: null,
|
|
23
|
+
getGidsAvatarClassNames: H
|
|
24
|
+
}, Symbol.toStringTag, { value: "Module" })), V = ({ headerItemsPosition: e }, a) => c("gids-profile-menu-header", {
|
|
25
|
+
// Positions
|
|
26
|
+
// 'gids-profile-menu-header--position-default':
|
|
27
|
+
// headerItemsPosition === 'default', // Default so not needed
|
|
28
|
+
"gids-profile-menu-header--position-centralized": e === "centralized"
|
|
29
|
+
}, a), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30
|
+
__proto__: null,
|
|
31
|
+
getGidsProfileMenuHeaderClassNames: V
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" })), { shouldTextBeHiddenFromAt: A } = m, { getGidsAvatarClassNames: B } = I, j = ({ appearance: e, color: a, size: t, badge: n, text: s, imageSrc: d, alt: r, iconTitleId: o, class: l, ...g }) => {
|
|
33
|
+
const p = A({ text: s, alt: r });
|
|
34
|
+
return i("span", { class: B({ color: a, size: t }, l), ...g }, e === "image" ? i("img", { src: d, alt: r ?? s ?? "", width: "100", height: "100" }) : e === "icon" ? i(_, { name: "user", alt: r ?? s, titleId: o }) : i("span", { role: p ? void 0 : "img", "aria-hidden": p ? "true" : void 0, "aria-label": p ? void 0 : r ?? s }, s), n);
|
|
35
|
+
}, { getGidsProfileMenuHeaderClassNames: M } = w, { getProfileHeaderMenuAvatarText: k } = C, D = f(class extends v {
|
|
36
|
+
constructor(e) {
|
|
37
|
+
super(), e !== !1 && this.__registerHost(), this.headerItemsPosition = "default", this.avatarVisible = !1, this.avatarBadgeVisible = !1, this.onAvatarItemPress = (a) => {
|
|
38
|
+
const t = this.pressHeaderItems(a);
|
|
39
|
+
this.onHeaderAvatarPress && this.onHeaderAvatarPress({ ...t });
|
|
40
|
+
}, this.onHeaderItemTitlePress = (a) => {
|
|
41
|
+
const t = this.pressHeaderItems(a);
|
|
42
|
+
this.onHeaderTitlePress && this.onHeaderTitlePress({ ...t });
|
|
43
|
+
}, this.onHeaderItemSupportingTextPress = (a) => {
|
|
44
|
+
const t = this.pressHeaderItems(a);
|
|
45
|
+
this.onHeaderSupportingTextPress && this.onHeaderSupportingTextPress({ ...t });
|
|
46
|
+
}, this.pressHeaderItems = (a) => {
|
|
47
|
+
const t = this.avatarProps, n = t?.badgeProps ?? {};
|
|
48
|
+
return { originalEvent: a, appearance: t?.appearance ?? "text", color: t?.color ?? "brand", imageSrc: t?.imageSrc ?? "", size: t?.size ?? "xl", text: this.getAvatarText(), badgeProps: { ...n }, headerItemsPosition: this?.headerItemsPosition ?? "default", headerTitle: this?.headerTitle ?? "", headerSupportingText: this?.headerSupportingText ?? "" };
|
|
49
|
+
}, this.getAvatarText = () => {
|
|
50
|
+
const a = this?.avatarProps, t = this?.headerTitle;
|
|
51
|
+
return a?.text ?? k({ headerTitle: t });
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
avatarPropsChanged(e) {
|
|
55
|
+
this.avatarProps = e;
|
|
56
|
+
}
|
|
57
|
+
headerItemsPositionChanged(e) {
|
|
58
|
+
this.headerItemsPosition = e;
|
|
59
|
+
}
|
|
60
|
+
headerTitleChanged(e) {
|
|
61
|
+
this.headerTitle = e;
|
|
62
|
+
}
|
|
63
|
+
headerSupportingTextChanged(e) {
|
|
64
|
+
this.headerSupportingText = e;
|
|
65
|
+
}
|
|
66
|
+
headerDescriptionChanged(e) {
|
|
67
|
+
this.headerDescription = e;
|
|
68
|
+
}
|
|
69
|
+
avatarVisibilityChanged(e) {
|
|
70
|
+
this.avatarVisible = e;
|
|
71
|
+
}
|
|
72
|
+
avatarBadgeVisibilityChanged(e) {
|
|
73
|
+
this.avatarBadgeVisible = e;
|
|
74
|
+
}
|
|
75
|
+
connectedCallback() {
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
const e = this?.headerItemsPosition ?? "default", a = this?.headerTitle, t = this?.headerSupportingText, n = this?.headerDescription, s = this?.avatarVisible ?? !1, d = this?.avatarBadgeVisible ?? !1, r = this?.avatarProps, o = r?.badgeProps, l = M({ headerItemsPosition: e }), g = r?.size ?? "xl";
|
|
79
|
+
return i(u, { key: "830704cc0616b1347eebe6041ebe14f57f35aafd", class: l }, s ? i(j, { onClick: this.onAvatarItemPress, appearance: r?.appearance ?? "text", color: r?.color ?? "brand", size: g, text: this.getAvatarText(), imageSrc: r?.imageSrc ?? "", alt: r?.alt ?? "alt-img", badge: d ? i(b, { appearance: o?.appearance ?? "information", type: o?.type, count: o?.count, outline: o?.outline }) : void 0 }) : void 0, i("div", { key: "b7a3e59194a6554c5cd50bc36a5eaa2f6ca0c8e1", class: y("gids-profile-menu-header__content-container-default", { "gids-profile-menu-header__content-container-centralized": e === "centralized" }) }, i("label", { key: "15b4582569e247c7f95b4c0082112f22f3e208e5", onClick: this.onHeaderItemTitlePress }, a), i("span", { key: "f6b20cf4490bd6068ca809d2c6399e5233b7ac96", onClick: this.onHeaderItemSupportingTextPress }, t), i("p", { key: "477ed8e8dc51791f9c95b031de8cc9f94ce0cc7b" }, n)));
|
|
80
|
+
}
|
|
81
|
+
get hostElement() {
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
static get watchers() {
|
|
85
|
+
return { avatarProps: [{ avatarPropsChanged: 0 }], headerItemsPosition: [{ headerItemsPositionChanged: 0 }], headerTitle: [{ headerTitleChanged: 0 }], headerSupportingText: [{ headerSupportingTextChanged: 0 }], headerDescription: [{ headerDescriptionChanged: 0 }], avatarVisible: [{ avatarVisibilityChanged: 0 }], avatarBadgeVisible: [{ avatarBadgeVisibilityChanged: 0 }] };
|
|
86
|
+
}
|
|
87
|
+
static get style() {
|
|
88
|
+
return ".gids-profile-menu-header{display:flex;gap:var(--gids-gap-100);align-items:center;justify-content:flex-start;width:100%}.gids-profile-menu-header .gids-avatar{cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header .gids-avatar:hover{transform:scale(1.2)}.gids-profile-menu-header .gids-avatar:active{transform:scale(1)}.gids-profile-menu-header--position-centralized{flex-direction:column;justify-content:center;align-items:center;gap:var(--gids-gap-150)}.gids-profile-menu-header__content-container-default{display:flex;flex-direction:column;text-align:left;gap:var(--gids-gap-050)}.gids-profile-menu-header__content-container-default label{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header__content-container-default label:hover{transform:scale(1.1);padding-bottom:var(--gids-padding-vertical-edge-to-element-050);padding-left:var(--gids-padding-horizontal-edge-to-element-100)}.gids-profile-menu-header__content-container-default label:active{transform:scale(1)}.gids-profile-menu-header__content-container-default 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(--gids-color-text-subtle);cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header__content-container-default span:hover{transform:scale(1.1);padding-top:var(--gids-padding-vertical-edge-to-element-050);padding-left:var(--gids-padding-horizontal-edge-to-element-100)}.gids-profile-menu-header__content-container-default span:active{transform:scale(1)}.gids-profile-menu-header__content-container-default p{margin:0;padding: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(--gids-color-text-subtlest);cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header__content-container-default p:hover{transform:scale(1.1);padding-top:var(--gids-padding-vertical-edge-to-element-050);padding-left:var(--gids-padding-horizontal-edge-to-element-100)}.gids-profile-menu-header__content-container-default p:active{transform:scale(1)}.gids-profile-menu-header__content-container-centralized{text-align:center;gap:var(--gids-gap-050)}.gids-profile-menu-header__content-container-centralized label{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header__content-container-centralized label:hover{transform:scale(1.1);padding-bottom:var(--gids-padding-vertical-edge-to-element-050)}.gids-profile-menu-header__content-container-centralized label:active{transform:scale(1)}.gids-profile-menu-header__content-container-centralized span{margin:0;padding:0;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(--gids-color-text-subtle);cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header__content-container-centralized span:hover{transform:scale(1.1);padding-top:var(--gids-padding-vertical-edge-to-element-050)}.gids-profile-menu-header__content-container-centralized span:active{transform:scale(1)}.gids-profile-menu-header__content-container-centralized p{margin:0;padding: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(--gids-color-text-subtlest);cursor:pointer;transition:all 0.3s ease-in-out}.gids-profile-menu-header__content-container-centralized p:hover{transform:scale(1.1);padding-top:var(--gids-padding-vertical-edge-to-element-050)}.gids-profile-menu-header__content-container-centralized p:active{transform:scale(1)}";
|
|
89
|
+
}
|
|
90
|
+
}, [0, "gids-profile-menu-header", { avatarProps: [16], headerItemsPosition: [1, "header-items-position"], headerTitle: [1, "header-title"], headerSupportingText: [1, "header-supporting-text"], headerDescription: [1, "header-description"], avatarVisible: [4, "avatar-visible"], avatarBadgeVisible: [4, "avatar-badge-visible"], onHeaderAvatarPress: [16], onHeaderTitlePress: [16], onHeaderSupportingTextPress: [16] }, void 0, { avatarProps: [{ avatarPropsChanged: 0 }], headerItemsPosition: [{ headerItemsPositionChanged: 0 }], headerTitle: [{ headerTitleChanged: 0 }], headerSupportingText: [{ headerSupportingTextChanged: 0 }], headerDescription: [{ headerDescriptionChanged: 0 }], avatarVisible: [{ avatarVisibilityChanged: 0 }], avatarBadgeVisible: [{ avatarBadgeVisibilityChanged: 0 }] }]);
|
|
91
|
+
function O() {
|
|
92
|
+
typeof customElements < "u" && ["gids-profile-menu-header"].forEach(((e) => {
|
|
93
|
+
e === "gids-profile-menu-header" && (customElements.get(h(e)) || customElements.define(h(e), D));
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
|
+
O();
|
|
97
|
+
export {
|
|
98
|
+
D as _,
|
|
99
|
+
C as l,
|
|
100
|
+
j as m,
|
|
101
|
+
O as y
|
|
102
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { q as b, L as A, u as D, D as a } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as L } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { l as
|
|
6
|
-
import { c as
|
|
7
|
-
const P = ({ breakpoint: e }, l) =>
|
|
3
|
+
import { _ as E } from "./p-D0RJMGGj-DSjGfUhB.js";
|
|
4
|
+
import { o as M } from "./p-DnRuhvRw-Beh0bANh.js";
|
|
5
|
+
import { l as I } from "./p-E13ycS5K-D-yK6pqz.js";
|
|
6
|
+
import { c as $ } from "./clsx-OuTLNxxd.js";
|
|
7
|
+
const P = ({ breakpoint: e }, l) => $("gids-bar-chart", {
|
|
8
8
|
"gids-bar-chart--breakpoint-mobile": e === "mobile"
|
|
9
9
|
}, l), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
10
|
__proto__: null,
|
|
@@ -60,12 +60,12 @@ const P = ({ breakpoint: e }, l) => I("gids-bar-chart", {
|
|
|
60
60
|
const s = w / 4;
|
|
61
61
|
for (let r = 0; r < 5; r++) p.push(Math.round(0 + r * s));
|
|
62
62
|
}
|
|
63
|
-
const
|
|
64
|
-
let
|
|
65
|
-
this.breakpoint === "mobile" ? this.legend !== "none" && (
|
|
63
|
+
const _ = Math.max(...p) - 0 || 1, k = S({ breakpoint: this.breakpoint });
|
|
64
|
+
let v = !1, z = !1;
|
|
65
|
+
this.breakpoint === "mobile" ? this.legend !== "none" && (v = !0) : this.legend === "top" ? v = !0 : this.legend === "right" && (z = !0);
|
|
66
66
|
const f = 100 / l, g = 0.4 * f;
|
|
67
|
-
return a("div", { class: k },
|
|
68
|
-
const s = 100 - (t - 0) /
|
|
67
|
+
return a("div", { class: k }, v ? a("div", { class: "gids-bar-chart__header" }, a("gids-chart-legend", { orientation: "horizontal" }, this.chartData.map(((t) => a("gids-chart-legend-item", { key: t.label, seriesColor: t?.seriesColor, orientation: "horizontal" }, t.label))))) : null, a("div", { class: "gids-bar-chart__main-container" }, a("div", { class: "gids-bar-chart__grid-layout" }, a("span", { class: "gids-bar-chart__y-axis-label" }, this.yAxisLabel), a("div", { class: "gids-bar-chart__chart-stage-container" }, this.yAxisVisible ? a("div", { class: "gids-bar-chart__y-axis-scale-container" }, p.map(((t) => a("span", { class: "gids-bar-chart__scale-text gids-bar-chart__y-axis-scale-value", key: t, style: { bottom: (t - 0) / _ * 100 + "%" } }, t)))) : null, a("div", { class: "gids-bar-chart__chart-stage" }, a("svg", { viewBox: "0 0 100 100", class: "gids-bar-chart__chart-vector", preserveAspectRatio: "none" }, p.map(((t) => {
|
|
68
|
+
const s = 100 - (t - 0) / _ * 100;
|
|
69
69
|
return a("line", { x1: "0", y1: s, x2: "100", y2: s, class: "gids-bar-chart__grid-line", key: t });
|
|
70
70
|
})), e.map(((t, s) => {
|
|
71
71
|
const r = s * f + (f - g) / 2;
|
|
@@ -74,7 +74,7 @@ const P = ({ breakpoint: e }, l) => I("gids-bar-chart", {
|
|
|
74
74
|
if (!Array.isArray(i.data)) return null;
|
|
75
75
|
const y = i.data[s];
|
|
76
76
|
if (!y) return null;
|
|
77
|
-
const u = (y.value || 0) /
|
|
77
|
+
const u = (y.value || 0) / _ * 100, C = 100 - u - x;
|
|
78
78
|
return x += u, { seriesIdx: n, crownY: C, height: u, seriesColor: i?.seriesColor };
|
|
79
79
|
})).filter(((i) => i !== null && i.height > 0))].sort(((i, n) => n.seriesIdx - i.seriesIdx));
|
|
80
80
|
return a("g", { key: s }, h.map(((i) => {
|
|
@@ -118,7 +118,7 @@ function Y() {
|
|
|
118
118
|
customElements.get(b(e)) || M();
|
|
119
119
|
break;
|
|
120
120
|
case "gids-chart-legend-item":
|
|
121
|
-
customElements.get(b(e)) ||
|
|
121
|
+
customElements.get(b(e)) || I();
|
|
122
122
|
}
|
|
123
123
|
}));
|
|
124
124
|
}
|
|
@@ -111,7 +111,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
const e = this.expanded && this.isInteractive(), t = f({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
|
|
114
|
-
return n("div", { key: "
|
|
114
|
+
return n("div", { key: "f4e12af57681f548e0b716745c483a31efbce9b5", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "9b57b9f953d0e0727a5ae1304b2fca67f193108f", role: "pickerbox", "aria-expanded": e ? "true" : "false", "aria-haspopup": "pickerlistbox", "aria-controls": s ?? "", onClick: this.handleDropdownButtonClickToggle, disabled: this.disabled, value: this.selectedItemTitle ?? this.value ?? "", loading: this.loading, appearance: this.appearance, size: this.size }, this.hasLeadingIcon ? n("slot", { name: "leadingIconDropdownPicker", slot: "leadingIcon" }) : n(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" })), n("div", { key: "0360e3130abaa72d80b5f495dc3aec556d3fc0bf", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "44cb6172ec327f229d5239ae2730bc7c9a07a244" })));
|
|
115
115
|
}
|
|
116
116
|
get hostElement() {
|
|
117
117
|
return this;
|
|
@@ -130,6 +130,6 @@ function E() {
|
|
|
130
130
|
}
|
|
131
131
|
E();
|
|
132
132
|
export {
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
E as h,
|
|
134
|
+
v as r
|
|
135
135
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { D as r } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { c as t } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
const o = ({ orientation: e }, i) => t("gids-divider", {
|
|
4
|
+
"gids-divider--vertical": e === "vertical"
|
|
5
|
+
}, i), s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
|
+
__proto__: null,
|
|
7
|
+
getGidsDividerClassNames: o
|
|
8
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDividerClassNames: a } = s, n = ({ orientation: e }) => r("hr", { class: a({ orientation: e }) });
|
|
9
|
+
export {
|
|
10
|
+
n as r
|
|
11
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { q as i, L as o, u as n, D as l } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
import { d as r } from "./p-
|
|
4
|
-
import { c
|
|
5
|
-
const
|
|
3
|
+
import { d as r } from "./p-DMxvWIj1-DPw-ITMY.js";
|
|
4
|
+
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
6
6
|
"gids-dot--disabled": a,
|
|
7
7
|
"gids-dot--subtle": s === "subtle" && !a,
|
|
8
8
|
"gids-dot--static-inverse": s === "static-inverse" && !a,
|
|
@@ -16,7 +16,7 @@ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
|
|
|
16
16
|
"gids-dot--3xl": e === "3xl"
|
|
17
17
|
}, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
18
|
__proto__: null,
|
|
19
|
-
getGidsDotClassNames:
|
|
19
|
+
getGidsDotClassNames: h
|
|
20
20
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsDotClassNames: t } = p, C = o(class extends n {
|
|
21
21
|
constructor(s) {
|
|
22
22
|
super(), s !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "xs", this.disabled = !1, this.activeClasses = "";
|
|
@@ -41,7 +41,7 @@ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
|
|
|
41
41
|
this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return l("gids-icon", { key: "
|
|
44
|
+
return l("gids-icon", { key: "1c8c6036a44dd686aa263a2e3bf426d904a60f1c", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
|
|
45
45
|
}
|
|
46
46
|
get _el() {
|
|
47
47
|
return this;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as b, L as x, u as _, D as d, P as w } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { d as M } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
3
|
-
import { i as C, a as S } from "./p-
|
|
4
|
-
import { i as z } from "./p-
|
|
3
|
+
import { i as C, a as S } from "./p-CAjDiWIc-BieYBjHk.js";
|
|
4
|
+
import { i as z } from "./p-DLRj-mUX-B_ACFGx6.js";
|
|
5
5
|
import { c as E } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const T = ({ selected: e, appearance: i, selectionAppearance: a, size: n, expanded: o, borderRadius: t, applyShadow: r }, g) => E("gids-header-navigation-item", {
|
|
7
7
|
// Appearances
|
|
@@ -121,7 +121,7 @@ const T = ({ selected: e, appearance: i, selectionAppearance: a, size: n, expand
|
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
123
|
const e = this?.isSelected ?? !1, i = this?.appearance ?? "default", a = this?.selectionAppearance ?? "default", n = this.label, o = this?.size ?? "sm", t = this.id, r = this.menuId, g = this?.menuItems ?? [], c = this?.isMenuExpanded ?? !1, m = this?.borderRadius ?? "none", h = this?.applyShadow ?? !1, s = this.hasMenu(), f = R({ selected: e, appearance: i, selectionAppearance: a, size: o, expanded: c && s, applyShadow: h, borderRadius: m });
|
|
124
|
-
return d(w, { key: "
|
|
124
|
+
return d(w, { key: "a4d69317daff54b5abc4ebb64095f208da12ef26", id: t, "header-nav-item-appearance": i, "header-nav-item-size": o, "header-nav-item-selection-appearance": a, "header-nav-item-selected": e ? "true" : "false", class: f, onClick: this.onItemClick, "header-nav-item-expanded": c }, d("slot", { key: "d0ba32dd346cc17b322945454201fff5d7457419", name: "headerNavItemLeadingIcon" }), n && n !== "" ? d("div", { class: "gids-header-navigation-item__label" }, d("span", null, n)) : void 0, s ? d("div", { class: "gids-header-navigation-item__chevron" }, d(M, { name: "chevron-down", size: o !== "xl" ? o : "lg" })) : void 0, s && c ? d("div", { class: "gids-header-navigation-item__dropdown-menu-container", id: r, role: "headerNavigationPickerbox", onClick: (u) => u.stopPropagation() }, d(C, { type: "default" }, g.map(((u, p) => {
|
|
125
125
|
const I = u?.data ?? [];
|
|
126
126
|
return d(S, { key: `${p + 1}`, sectionLabel: u?.sectionLabel ?? "" }, I.map(((l, v) => {
|
|
127
127
|
const y = this.isMenuItemSelected(l.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as n } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as d } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
-
import { _ as u } from "./p-
|
|
3
|
+
import { _ as u } from "./p-CV1-78HB-DGkn3SPO.js";
|
|
4
4
|
import { c as t } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const p = ({ type: o }, e) => t("gids-dropdown-menu-group", {
|
|
6
6
|
"gids-dropdown-menu-group--default": o === "default",
|
|
@@ -4,7 +4,7 @@ import { c as y } from "./clsx-OuTLNxxd.js";
|
|
|
4
4
|
const u = (t) => y("gids-expansion-body-list-item", t), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
getGidsExpansionBodyListItemClassNames: u
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionBodyListItemClassNames: x } = m,
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionBodyListItemClassNames: x } = m, v = g(class extends h {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(), t !== !1 && this.__registerHost(), this.displayTagVisible = !1, this.displayTagColor = "accent-5", this.displayTagSize = "xs", this.displayTagAppearance = "subtle", this.hasSubtitleItemListener = !1, this.hasSupportingTextItemListener = !1, this.handleSubtitleClick = (i) => {
|
|
10
10
|
this.applySubtitleSelection({ listItemId: this.listItemId, label: this.label, subtitle: this.subtitle, supportingText: this.supportingText, listItemPressedType: "subtitle", originalEvent: i });
|
|
@@ -65,7 +65,7 @@ const u = (t) => y("gids-expansion-body-list-item", t), m = /* @__PURE__ */ Obje
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
const t = x(), i = this?.label, o = this?.subtitle, r = this?.supportingText, s = this.isValidLabel(), l = this.isValidSubtitle(), p = this.isValidSupportingText(), a = this.isDisplayTagVisible(), d = this?.displayTagLabel ?? "";
|
|
68
|
-
return e(c, { key: "
|
|
68
|
+
return e(c, { key: "8da02d6491ec86087b4b42c64d553e31c533fade", class: t }, s || l || a ? e("div", { class: "gids-expansion-body-list-item__primary-container" }, s || a ? e("div", { class: "gids-expansion-body-list-item__primary-content" }, s ? e("span", { class: "gids-expansion-body-list-item__label" }, this.convertTextToUppercase(i)) : void 0, a ? e(b, { color: this.displayTagColor || "accent-5", label: d, size: this.displayTagSize, appearance: this.displayTagAppearance }) : void 0) : void 0, l ? e("button", { type: "button", class: "gids-expansion-body-list-item__subtitle", onClick: this.handleSubtitleClick }, o) : void 0) : void 0, p ? e("div", { class: "gids-expansion-body-list-item__secondary-container" }, e("button", { type: "button", class: "gids-expansion-body-list-item__supporting-text", onClick: this.handleSupportingTextClick }, this.convertTextToUppercase(r))) : void 0);
|
|
69
69
|
}
|
|
70
70
|
get hostElement() {
|
|
71
71
|
return this;
|
|
@@ -77,13 +77,13 @@ const u = (t) => y("gids-expansion-body-list-item", t), m = /* @__PURE__ */ Obje
|
|
|
77
77
|
return '.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;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(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}';
|
|
78
78
|
}
|
|
79
79
|
}, [0, "gids-expansion-body-list-item", { listItemId: [1, "list-item-id"], label: [1], subtitle: [1], supportingText: [1, "supporting-text"], displayTagVisible: [4, "display-tag-visible"], displayTagColor: [1, "display-tag-color"], displayTagSize: [1, "display-tag-size"], displayTagAppearance: [1, "display-tag-appearance"], displayTagLabel: [1, "display-tag-label"], onSubtitlePress: [16], onSupportingTextPress: [16] }, void 0, { displayTagVisible: [{ handleDisplayTagVisibilityChange: 0 }], displayTagColor: [{ handleDisplayTagColorChange: 0 }], displayTagSize: [{ handleDisplayTagSizeChange: 0 }], displayTagAppearance: [{ handleDisplayTagAppearanceChange: 0 }] }]);
|
|
80
|
-
function
|
|
80
|
+
function f() {
|
|
81
81
|
typeof customElements < "u" && ["gids-expansion-body-list-item"].forEach(((t) => {
|
|
82
|
-
t === "gids-expansion-body-list-item" && (customElements.get(n(t)) || customElements.define(n(t),
|
|
82
|
+
t === "gids-expansion-body-list-item" && (customElements.get(n(t)) || customElements.define(n(t), v));
|
|
83
83
|
}));
|
|
84
84
|
}
|
|
85
|
-
|
|
85
|
+
f();
|
|
86
86
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
f as d,
|
|
88
|
+
v as r
|
|
89
89
|
};
|
|
@@ -1,52 +1,47 @@
|
|
|
1
1
|
import { D as t, F as S } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { d as f } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
3
|
+
import { r as N } from "./p-BRNvHMdK-CqGtfAsn.js";
|
|
4
|
+
import { c as b } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const O = ({ layout: e }, i) => b("gids-button-group", {
|
|
5
6
|
"gids-button-group--scroll": e === "scroll"
|
|
6
|
-
}, i),
|
|
7
|
+
}, i), E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
8
|
__proto__: null,
|
|
8
9
|
getGidsButtonGroupClassNames: O
|
|
9
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10
|
-
"gids-divider--vertical": e === "vertical"
|
|
11
|
-
}, i), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
|
-
__proto__: null,
|
|
13
|
-
getGidsDividerClassNames: E
|
|
14
|
-
}, Symbol.toStringTag, { value: "Module" })), M = ({ size: e }, i) => c("gids-edit-button", {
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), I = ({ size: e }, i) => b("gids-edit-button", {
|
|
15
11
|
"gids-edit-button--xs": e === "xs",
|
|
16
12
|
"gids-edit-button--sm": e === "sm",
|
|
17
13
|
// 'gids-button--md': size === 'md',
|
|
18
14
|
"gids-edit-button--lg": e === "lg"
|
|
19
15
|
}, i), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
16
|
__proto__: null,
|
|
21
|
-
getGidsEditButtonClassNames:
|
|
22
|
-
}, Symbol.toStringTag, { value: "Module" })), A = (e) =>
|
|
17
|
+
getGidsEditButtonClassNames: I
|
|
18
|
+
}, Symbol.toStringTag, { value: "Module" })), A = (e) => b("gids-heading", e), H = (e) => e && e.toString() !== "" && e !== "(none)" ? `gids-typography-${e}` : "", L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23
19
|
__proto__: null,
|
|
24
20
|
getGidsHeadingClassNames: A,
|
|
25
21
|
getGidsHeadingSupportingTextTypographyClass: H
|
|
26
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
22
|
+
}, Symbol.toStringTag, { value: "Module" })), M = ({ disabled: e, selected: i }, n) => b("gids-list-item", {
|
|
27
23
|
// selected
|
|
28
24
|
"gids-list-item--selected": i,
|
|
29
25
|
// Disable
|
|
30
26
|
"gids-list-item--disabled": e
|
|
31
27
|
}, n), $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32
28
|
__proto__: null,
|
|
33
|
-
getGidsListItemClassNames:
|
|
34
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsButtonGroupClassNames: w } =
|
|
29
|
+
getGidsListItemClassNames: M
|
|
30
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsButtonGroupClassNames: w } = E, F = ({ layout: e, class: i }, n) => t("span", { class: w({ layout: e }, i) }, n), { getGidsHeadingClassNames: D, getGidsHeadingSupportingTextTypographyClass: q } = L, X = ({ heading: e, supportingText: i, level: n = "section", children: d, supportingTextTypography: s, class: o }) => t("div", { class: D(o) }, t("div", { class: "gids-heading__content-container" }, e != null && e !== "" ? typeof e == "string" ? e !== "" ? t("span", { class: n === "section" ? "gids-heading__heading-text-section" : "gids-heading__heading-text-group" }, e) : null : e : null, i != null && i !== "" ? typeof i == "string" ? i !== "" ? t("span", { class: `${n === "section" ? "gids-heading__supporting-text-section" : "gids-heading__supporting-text-group"} ${q(s)}` }, i) : null : i : null), d ? t(F, { layout: "wrap" }, d) : null), { getGidsEditButtonClassNames: J } = k, K = ({ disabled: e, children: i, size: n = "md", editButtonType: d = "add", onPressEditButton: s, class: o, ...r }) => t("button", { class: J({ size: n }, o), ...r, onClick: s, disabled: e }, d === "custom" && i ? t("div", null, i) : d === "add" ? t("div", { class: e ? "gids-edit-button__add gids-edit-button__disabled" : "gids-edit-button__add" }, t(f, { name: "add", appearance: "filled", size: n })) : d === "remove" ? t("div", { class: e ? "gids-edit-button__remove gids-edit-button__disabled" : "gids-edit-button__remove" }, t(f, { appearance: "filled", name: "remove", size: n })) : void 0), { getGidsListItemClassNames: Q } = $, Y = ({ id: e, value: i, index: n, defaultSelected: d, disabled: s, selected: o, editButton: r, onPressEditButton: C, onPressListItem: P, leadingAccessory: v, leadingSupport: c, leadingParagraph: u, trailingContent: _, trailingAccessory: x, trailingSupport: m, trailingParagraph: p, divider: G, role: j = "list-item-option", isPlaceholderItem: h, class: B, ...z }, y) => {
|
|
35
31
|
const g = o || d;
|
|
36
|
-
return t("button", { type: "button", id: e, class:
|
|
32
|
+
return t("button", { type: "button", id: e, class: Q({ selected: g, disabled: s }, B), role: j, "aria-selected": g ? "true" : "false", disabled: s, value: (() => {
|
|
37
33
|
if (typeof i == "string" && i.trim() !== "") return i;
|
|
38
34
|
const a = y;
|
|
39
35
|
return a ? (Array.isArray(a) ? a : [a]).map(((l) => typeof l == "string" || typeof l == "number" ? String(l) : l && typeof l == "object" && "text" in l ? l.text ?? "" : "")).join("").trim() : "";
|
|
40
36
|
})(), tabIndex: n, onClick: (a) => {
|
|
41
37
|
const l = a.currentTarget;
|
|
42
38
|
if (!l || a.defaultPrevented || l.disabled) return;
|
|
43
|
-
const
|
|
44
|
-
P?.(
|
|
45
|
-
}, "is-placeholder-item": h ? "true" : "false", ...
|
|
39
|
+
const T = new CustomEvent("onPressListItem", { bubbles: !0, composed: !0, detail: { selectedIndex: n, defaultSelected: d, isPlaceholderItem: h } });
|
|
40
|
+
P?.(T);
|
|
41
|
+
}, "is-placeholder-item": h ? "true" : "false", ...z }, t("div", { class: "gids-list-item__main-container" }, r == null || r === "none" || s ? null : t(K, { size: "md", editButtonType: r, onPressEditButton: C }), v != null ? t("div", { class: s ? "gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled" : "gids-list-item__leading-accessory-container" }, v) : null, t("div", { class: "gids-list-item__middle-content-container" }, t("div", { class: "gids-list-item__leading-content-container" }, t(S, null, y != null ? t("span", { class: s ? "gids-list-item__leading-content-label gids-list-item__text-content-disabled" : "gids-list-item__leading-content-label" }, y) : null, t("div", { class: "gids-list-item__leading-support-content" }, c != null ? typeof c == "string" ? t("p", { class: s ? "gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled" : "gids-list-item__leading-content-supporting-text" }, c) : c : null, u != null ? typeof u == "string" ? t("p", { class: s ? "gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled" : "gids-list-item__leading-content-paragraph-text" }, u) : u : null))), t("div", { class: "gids-list-item__trailing-content-container" }, t(S, null, _ != null ? typeof _ == "string" ? t("span", { class: s ? "gids-list-item__trailing-content-label gids-list-item__text-content-disabled" : "gids-list-item__trailing-content-label" }, _) : _ : null, t("div", { class: "gids-list-item__trailing-support-content" }, m != null ? typeof m == "string" ? t("p", { class: s ? "gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled" : "gids-list-item__trailing-content-supporting-text" }, m) : m : null, p != null ? typeof p == "string" ? t("p", { class: s ? "gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled" : "gids-list-item__trailing-content-paragraph-text" }, p) : p : null)))), g ? t("div", { class: s ? "gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled" : "gids-list-item__trailing-accessory-container" }, t(f, { name: "checkmark", size: "md", appearance: "regular" })) : null, g || x == null ? null : t("div", { class: s ? "gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled" : "gids-list-item__trailing-accessory-container" }, x)), G && !g ? t("div", { class: "gids-list-item__divider" }, t(N, { orientation: "horizontal" })) : null);
|
|
46
42
|
};
|
|
47
43
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
F as r
|
|
51
|
-
tt as v
|
|
44
|
+
X as _,
|
|
45
|
+
Y as b,
|
|
46
|
+
F as r
|
|
52
47
|
};
|
|
@@ -75,7 +75,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
77
|
const t = P({ visible: this.visible });
|
|
78
|
-
return a(g, { key: "
|
|
78
|
+
return a(g, { key: "13bb6a794c624327216a1cc03550a9afc6f7d9cb", class: t, role: "tooltip", part: "tooltip" }, a("div", { key: "1edafa4de30dc67dece07b8283e6233e26f71986", class: "gids-advanced-tooltip__arrow", part: "arrow" }), a("div", { key: "8b4b08220a7d2c444cca9f62eb4ed2d367b79a13", class: "gids-advanced-tooltip__content" }, this.items.map(((e) => a("div", { class: "gids-advanced-tooltip__item", key: `${e.label}-${e.value}` }, a("div", { class: "gids-advanced-tooltip__left" }, a(w, { name: "new", size: "xs", appearance: "filled", style: { "--gidsIcon-color": e.seriesIndicatorColor } }), a("span", { class: "gids-advanced-tooltip__label" }, e.label)), a("span", { class: "gids-advanced-tooltip__value" }, e.value))))));
|
|
79
79
|
}
|
|
80
80
|
get host() {
|
|
81
81
|
return this;
|
|
@@ -94,6 +94,6 @@ function E() {
|
|
|
94
94
|
}
|
|
95
95
|
E();
|
|
96
96
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
E as _,
|
|
98
|
+
A as b
|
|
99
99
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { q as h, L as
|
|
1
|
+
import { q as h, L as v, u as f, D as e } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { p as u } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
3
|
import { d as w } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { l as C } from "./p-
|
|
4
|
+
import { _ as k } from "./p-D0RJMGGj-DSjGfUhB.js";
|
|
5
|
+
import { o as z } from "./p-DnRuhvRw-Beh0bANh.js";
|
|
6
|
+
import { l as C } from "./p-E13ycS5K-D-yK6pqz.js";
|
|
7
7
|
import { c as L } from "./clsx-OuTLNxxd.js";
|
|
8
8
|
const D = ({ breakpoint: i }, r) => L("gids-line-chart", {
|
|
9
9
|
"gids-line-chart--breakpoint-mobile": i === "mobile"
|
|
10
10
|
}, r), A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
11
|
__proto__: null,
|
|
12
12
|
getGidsLineChartClassNames: D
|
|
13
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsLineChartClassNames: E } = A, M =
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsLineChartClassNames: E } = A, M = v(class extends f {
|
|
14
14
|
constructor(i) {
|
|
15
15
|
super(), i !== !1 && this.__registerHost(), this.breakpoint = "desktop", this.legend = "none", this.chartData = [], this.yAxisVisible = !1, this.dataPoints = [], this.chartLoaderSize = "lg", this.chartLoading = !1, this.width = 0, this.height = 0, this.hoveredIndex = null, this.tooltip = { visible: !1, x: 0, y: 0 };
|
|
16
16
|
}
|
|
@@ -54,9 +54,9 @@ const D = ({ breakpoint: i }, r) => L("gids-line-chart", {
|
|
|
54
54
|
const a = m / 4;
|
|
55
55
|
for (let s = 0; s < 5; s++) d.push(Math.round(0 + s * a));
|
|
56
56
|
}
|
|
57
|
-
const g = Math.max(...d, m) - 0 || 1, x = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], c = x.length,
|
|
57
|
+
const g = Math.max(...d, m) - 0 || 1, x = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], c = x.length, _ = E({ breakpoint: this.breakpoint });
|
|
58
58
|
let p = !1, y = !1;
|
|
59
|
-
return this.breakpoint === "mobile" ? this.legend !== "none" && (p = !0) : this.legend === "top" ? p = !0 : this.legend === "right" && (y = !0), e("div", { class:
|
|
59
|
+
return this.breakpoint === "mobile" ? this.legend !== "none" && (p = !0) : this.legend === "top" ? p = !0 : this.legend === "right" && (y = !0), e("div", { class: _ }, p ? e("div", { class: "gids-line-chart__header" }, e("gids-chart-legend", { orientation: "horizontal" }, this.chartData.map(((t) => e("gids-chart-legend-item", { key: t.label, seriesColor: t?.seriesColor, orientation: "horizontal" }, t.label))))) : null, e("div", { class: "gids-line-chart__main-container" }, e("div", { class: "gids-line-chart__grid-layout" }, e("span", { class: "gids-line-chart__y-axis-label" }, this.yAxisLabel), e("div", { class: "gids-line-chart__chart-stage-container" }, this.yAxisVisible ? e("div", { class: "gids-line-chart__y-axis-scale-container" }, d.map(((t) => e("span", { id: "y-value", class: "gids-line-chart__scale-text gids-line-chart__y-axis-scale-value", key: t, style: { bottom: (t - 0) / g * 100 + "%" } }, t)))) : null, e("div", { class: "gids-line-chart__chart-stage" }, e("svg", { viewBox: "0 0 100 100", class: "gids-line-chart__chart-vector", preserveAspectRatio: "none" }, e("defs", null, this.chartData.map(((t, a) => {
|
|
60
60
|
const s = t?.fillGradientStartColor, o = t?.fillGradientEndColor;
|
|
61
61
|
return e("linearGradient", { id: `areaGradient-${a}`, x1: "0", y1: "0", x2: "0", y2: "1", key: a }, e("stop", { offset: "0%", style: { stopColor: s, stopOpacity: "1" } }), e("stop", { offset: "100%", style: { stopColor: o, stopOpacity: "0" } }));
|
|
62
62
|
}))), d.map(((t) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { D as I } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
-
import {
|
|
2
|
+
import { b as P } from "./p-CV1-78HB-DGkn3SPO.js";
|
|
3
3
|
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const x = (e) => w("gids-dropdown-item", e), y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
getGidsDropdownItemClassNames: x
|
|
7
7
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownItemClassNames: D } = y, C = ({ id: e, title: t, class: d, selected: n = !1, disabled: s = !1, role: a = "list-item-option", value: o, name: c, onPressDropdownItem: m, index: l, defaultSelected: r, leadingAccessory: u, divider: f, isPlaceholderItem: i, ...p }) => {
|
|
8
|
-
const
|
|
9
|
-
return I(P, { id: e, index: l ?? 0, defaultSelected: r, selected: n, disabled: s, role: a, value: o, name: c, leadingAccessory: u, class:
|
|
10
|
-
if (
|
|
11
|
-
const
|
|
12
|
-
m?.(
|
|
8
|
+
const b = D(typeof d == "string" ? d : void 0);
|
|
9
|
+
return I(P, { id: e, index: l ?? 0, defaultSelected: r, selected: n, disabled: s, role: a, value: o, name: c, leadingAccessory: u, class: b, onPressListItem: (g) => {
|
|
10
|
+
if (g.defaultPrevented) return;
|
|
11
|
+
const v = new CustomEvent("onPressDropdownItem", { bubbles: !0, composed: !0, detail: { id: e, title: t, value: o, disabled: s, selectedIndex: l, defaultSelected: r, isPlaceholderItem: i } });
|
|
12
|
+
m?.(v);
|
|
13
13
|
}, divider: f, isPlaceholderItem: i, ...p }, t);
|
|
14
14
|
};
|
|
15
15
|
export {
|