@ganpatiinfo/gids-core-web 16.0.0 → 18.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/elements.css +4 -0
- package/dist/css/elements.css.map +1 -1
- package/dist/css/index.css +701 -4
- package/dist/css/index.css.map +1 -1
- package/dist/custom-elements.json +7 -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.d.ts +11 -0
- package/dist/gids-bento-card.js +1 -0
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-carousel.d.ts +11 -0
- package/dist/gids-carousel.js +1 -0
- 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-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.d.ts +11 -0
- package/dist/gids-flyout-panel.js +1 -0
- 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-level-gauge.js +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-notification.js +1 -1
- 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-progress-circle.js +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-skeleton.js +1 -1
- package/dist/gids-snackbar.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/index.js +1 -1
- package/dist/{p-CoS0NuDU.js → p-4zKS6zkg.js} +1 -1
- package/dist/{p-Degg_WJz.js → p-83YZrIJw.js} +1 -1
- package/dist/{p-oJFgjzK5.js → p-B0hLXifA.js} +1 -1
- package/dist/{p-Bf3p-DY2.js → p-B4hcsDH0.js} +1 -1
- package/dist/{p-Dd-ec-e0.js → p-BdsUwTgh.js} +1 -1
- package/dist/p-BkxmRN-4.js +1 -0
- package/dist/p-BsC3-MVH.js +1 -0
- package/dist/{p-CiWZdp48.js → p-BthkC6NU.js} +1 -1
- package/dist/p-C-Lpfqcg.js +1 -0
- package/dist/{p-pVSQxFDF.js → p-C6GHG170.js} +1 -1
- package/dist/{p-DGXqnrKo.js → p-CBiu-Vh3.js} +1 -1
- package/dist/{p-Co23kQaH.js → p-CH4nrjpL.js} +1 -1
- package/dist/p-CIxuyUAl.js +1 -0
- package/dist/{p-DiTjFG30.js → p-CMW3SjbP.js} +1 -1
- package/dist/p-CPgZgSBN.js +1 -0
- package/dist/p-CTri3IsV.js +1 -0
- package/dist/{p-CaauwQNd.js → p-CZ_9Mt3B.js} +1 -1
- package/dist/{p-DAuO4g6g.js → p-Cacy0Dji.js} +1 -1
- package/dist/p-CcKHKwS0.js +1 -0
- package/dist/p-Cf3Ny79u.js +1 -0
- package/dist/{p-DbaNvRpS.js → p-CrqHKmjy.js} +1 -1
- package/dist/{p-UDG6tkD1.js → p-Cz9nwmgK.js} +1 -1
- package/dist/{p-Bs8TP3Rb.js → p-D0coZTd2.js} +1 -1
- package/dist/{p-CCpxJ8wu.js → p-DKOr5iAk.js} +1 -1
- package/dist/{p-Chb2OeFe.js → p-DYjV5XrH.js} +1 -1
- package/dist/{p-C-HyXFGR.js → p-DZ6xQXis.js} +1 -1
- package/dist/{p-CHGTBObD.js → p-DaB_FzcG.js} +1 -1
- package/dist/{p-DxX3B1f0.js → p-DgKrPmDn.js} +1 -1
- package/dist/p-Dg_WeHpV.js +1 -0
- package/dist/p-Do_VlNHg.js +1 -0
- package/dist/{p-DELTZ9Fh.js → p-DrDadv7P.js} +1 -1
- package/dist/p-Dw_kb9MC.js +1 -0
- package/dist/p-GcC8pCKF.js +1 -0
- package/dist/{p-BrYLEey4.js → p-KQxuw_F-.js} +1 -1
- package/dist/{p-d-t7__OQ.js → p-PcSMc4jQ.js} +1 -1
- package/dist/p-iQRr_fAH.js +1 -0
- package/dist/{p-u06XOrpj.js → p-j2_DKwBz.js} +1 -1
- package/dist/p-jGho9nbS.js +1 -0
- package/dist/{p-Bzjuvoza.js → p-xbqOQZl9.js} +1 -1
- package/dist/types/components/html/_GidsCarouselControl/GidsCarouselControl.d.ts +6 -0
- package/dist/types/components/html/_GidsCarouselPagination/GidsCarouselPagination.d.ts +5 -0
- package/dist/types/components/html/_GidsCarouselPaginationItem/GidsCarouselPaginationItem.d.ts +5 -0
- package/dist/types/components/shared/GidsFloatingElementManager.d.ts +6 -1
- package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +2 -1
- package/dist/types/components/webComponents/GidsBentoCard/GidsBentoCard.d.ts +34 -0
- package/dist/types/components/webComponents/GidsCarousel/GidsCarousel.d.ts +49 -0
- package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +24 -0
- package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +2 -0
- package/dist/types/components/webComponents/GidsProfile/GidsProfile.d.ts +4 -0
- package/dist/types/components/webComponents/GidsProfileMenu/GidsProfileMenu.d.ts +4 -0
- package/dist/types/components.d.ts +168 -2
- package/dist-bundled/es/gids-action-bar.js +9 -9
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-bento-card.js +84 -0
- package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +2 -2
- package/dist-bundled/es/gids-calendar.js +24 -24
- package/dist-bundled/es/gids-carousel.js +179 -0
- 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 +11 -11
- package/dist-bundled/es/gids-chevron-button.js +3 -3
- package/dist-bundled/es/gids-dot.js +3 -3
- package/dist-bundled/es/gids-dropdown-field.js +9 -9
- package/dist-bundled/es/gids-dropdown-picker.js +4 -4
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +3 -3
- package/dist-bundled/es/gids-expansion-group.js +4 -4
- package/dist-bundled/es/gids-expansion.js +3 -3
- package/dist-bundled/es/gids-field.js +4 -4
- package/dist-bundled/es/gids-filter.js +2 -2
- package/dist-bundled/es/gids-flyout-panel.js +110 -0
- package/dist-bundled/es/gids-header-navigation-item.js +1 -1
- package/dist-bundled/es/gids-header-navigation.js +5 -5
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +2 -2
- package/dist-bundled/es/gids-level-gauge.js +2 -2
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +5 -5
- package/dist-bundled/es/gids-notification.js +1 -1
- package/dist-bundled/es/gids-overflow-container.js +5 -5
- package/dist-bundled/es/gids-overlay-provider.js +4 -4
- package/dist-bundled/es/gids-password-field.js +15 -15
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +4 -4
- package/dist-bundled/es/gids-profile-menu-header.js +1 -1
- package/dist-bundled/es/gids-profile-menu.js +3 -3
- package/dist-bundled/es/gids-profile.js +40 -34
- package/dist-bundled/es/gids-progress-circle.js +1 -1
- package/dist-bundled/es/gids-scrim.js +2 -2
- package/dist-bundled/es/gids-skeleton.js +9 -9
- package/dist-bundled/es/gids-snackbar.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +7 -7
- package/dist-bundled/es/gids-tab.js +2 -2
- package/dist-bundled/es/gids-text-field.js +16 -16
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +7 -7
- package/dist-bundled/es/gids-transfer-list.js +7 -7
- package/dist-bundled/es/index.js +2 -2
- package/dist-bundled/es/{p-CoS0NuDU-ByDvQAzA.js → p-4zKS6zkg-CujzUjb6.js} +3 -3
- package/dist-bundled/es/{p-Degg_WJz-ORZcjc8G.js → p-83YZrIJw-Cu-e6WD3.js} +3 -3
- package/dist-bundled/es/{p-oJFgjzK5-CzagP1qD.js → p-B0hLXifA-CoImnX3T.js} +4 -4
- package/dist-bundled/es/p-BKcvOO8o-DcnO39au.js +1065 -0
- package/dist-bundled/es/{p-Dd-ec-e0-BqX_F6y0.js → p-BdsUwTgh-Cc7AQBsx.js} +9 -9
- package/dist-bundled/es/{p-Dg2yoUxw-DliMstZy.js → p-BkxmRN-4-DSiXCW8b.js} +5 -5
- package/dist-bundled/es/{p-C2POfZhu-DzG_JxV6.js → p-BsC3-MVH-j4fPhip5.js} +1 -1
- package/dist-bundled/es/{p-CiWZdp48-1vf7Xh2R.js → p-BthkC6NU-F03MhDw7.js} +7 -7
- package/dist-bundled/es/{p-DMNS1d8v-BX8e_AsY.js → p-C-Lpfqcg-DIuBhXzX.js} +5 -5
- package/dist-bundled/es/{p-pVSQxFDF-CsWxUaZX.js → p-C6GHG170-Di8lwQkY.js} +4 -4
- package/dist-bundled/es/{p-DGXqnrKo-C7feKS94.js → p-CBiu-Vh3-r-McGzCb.js} +9 -9
- package/dist-bundled/es/{p-Co23kQaH-QJyKkzgc.js → p-CH4nrjpL-CrEJXTn0.js} +9 -9
- package/dist-bundled/es/{p-DObJEzlz-tt9h5cuI.js → p-CIxuyUAl-B2DxRM64.js} +4 -4
- package/dist-bundled/es/{p-DiTjFG30-CQkxfu2K.js → p-CMW3SjbP-ZYYIF_i6.js} +4 -4
- package/dist-bundled/es/p-CPgZgSBN-DsTNcUR7.js +7 -0
- package/dist-bundled/es/p-CTri3IsV-B1u0rrXF.js +122 -0
- package/dist-bundled/es/{p-CaauwQNd-D6_PbcRr.js → p-CZ_9Mt3B-BIYkPAXM.js} +1 -1
- package/dist-bundled/es/{p-DAuO4g6g-C8miaL-N.js → p-Cacy0Dji-D-D254kT.js} +7 -7
- package/dist-bundled/es/{p-CXFvqDBs-offadaUn.js → p-CcKHKwS0-Bw63tTOA.js} +1 -1
- package/dist-bundled/es/p-Cf3Ny79u-VGT_IyGI.js +82 -0
- package/dist-bundled/es/{p-DbaNvRpS-r7kCW1TY.js → p-CrqHKmjy-DwSsCofb.js} +10 -10
- package/dist-bundled/es/{p-UDG6tkD1-JTLPxkEn.js → p-Cz9nwmgK-BO8HUAvD.js} +10 -10
- package/dist-bundled/es/{p-Bs8TP3Rb-BdcS7d5q.js → p-D0coZTd2-KhJZ57gK.js} +3 -3
- package/dist-bundled/es/{p-CCpxJ8wu-CMYQqNoP.js → p-DKOr5iAk-DA3Kc4Cn.js} +9 -9
- package/dist-bundled/es/{p-Chb2OeFe-DDv_WPhe.js → p-DYjV5XrH-CI9LfBFx.js} +3 -3
- package/dist-bundled/es/{p-C-HyXFGR-UnFcWLOQ.js → p-DZ6xQXis-XT86MMis.js} +7 -7
- package/dist-bundled/es/{p-CHGTBObD-D_K9_Tmh.js → p-DaB_FzcG-DnRTURxL.js} +1 -1
- package/dist-bundled/es/{p-DxX3B1f0-D1URliVh.js → p-DgKrPmDn-C2CSKicX.js} +6 -6
- package/dist-bundled/es/{p-UVmSPzTd-CR1higgJ.js → p-Dg_WeHpV-DehzGL6g.js} +9 -9
- package/dist-bundled/es/{p-UxDcM-C5-BJO4X0jM.js → p-Do_VlNHg-_g7lcvwR.js} +2 -2
- package/dist-bundled/es/{p-DELTZ9Fh-Byr0nLtY.js → p-DrDadv7P-D4rbSYTr.js} +4 -4
- package/dist-bundled/es/{p-bhEHIxPv-ujyxL30O.js → p-Dw_kb9MC-BTd0lrGA.js} +36 -21
- package/dist-bundled/es/{p-CZBiavxU-CIstIm2b.js → p-GcC8pCKF-CZJFTFeN.js} +10 -10
- package/dist-bundled/es/{p-BrYLEey4-DuajY4uD.js → p-KQxuw_F--BTSoDfF9.js} +9 -9
- package/dist-bundled/es/{p-d-t7__OQ-CKPQZt2t.js → p-PcSMc4jQ-CzYLaIZr.js} +14 -14
- package/dist-bundled/es/{p-D4Pimu_8-ARSuGBs4.js → p-iQRr_fAH-ClfWEu03.js} +13 -13
- package/dist-bundled/es/{p-u06XOrpj-C1tNznDd.js → p-j2_DKwBz-CqyuxxnN.js} +8 -8
- package/dist-bundled/es/{p-Bw2pVReY-K9pdG-hw.js → p-jGho9nbS-BDiBvsn2.js} +10 -10
- package/dist-bundled/es/{p-Bzjuvoza-CzNs69NV.js → p-xbqOQZl9-BK9vjfj7.js} +15 -15
- 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 +5 -0
- 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-year-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-carousel.umd.js +5 -0
- 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 +2 -2
- 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 +1 -1
- 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 +5 -0
- package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
- package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +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 +2 -2
- 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-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 +3 -3
- 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/index.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
- package/package.json +29 -5
- package/dist/p-B8kX8Vqv.js +0 -1
- package/dist/p-BBszCFSA.js +0 -1
- package/dist/p-Bw2pVReY.js +0 -1
- package/dist/p-C2POfZhu.js +0 -1
- package/dist/p-CXFvqDBs.js +0 -1
- package/dist/p-CZBiavxU.js +0 -1
- package/dist/p-CcpdJCql.js +0 -1
- package/dist/p-D4Pimu_8.js +0 -1
- package/dist/p-DMNS1d8v.js +0 -1
- package/dist/p-DObJEzlz.js +0 -1
- package/dist/p-Dg2yoUxw.js +0 -1
- package/dist/p-UVmSPzTd.js +0 -1
- package/dist/p-UxDcM-C5.js +0 -1
- package/dist/p-bhEHIxPv.js +0 -1
- package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +0 -7
- package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +0 -115
- package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +0 -1024
- package/dist-bundled/es/p-CcpdJCql-CkEW2RAp.js +0 -64
- /package/dist-bundled/es/{p-Bf3p-DY2-CPqEc-vc.js → p-B4hcsDH0-CPqEc-vc.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as
|
|
2
|
-
import { b as h, o as f, d as m, s as v, a as u, c as b, p, f as _ } from "./p-BKcvOO8o-
|
|
1
|
+
import { q as d, L as c, u as r, D as a, P as g } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { b as h, o as f, d as m, s as v, a as u, c as b, p, f as _ } from "./p-BKcvOO8o-DcnO39au.js";
|
|
3
3
|
import { i as y } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
|
-
import { d as w } from "./p-
|
|
4
|
+
import { d as w } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
5
5
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
7
7
|
"gids-advanced-tooltip--visible": t
|
|
@@ -52,7 +52,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
52
52
|
if (this.tooltipElement) try {
|
|
53
53
|
const { x: t, y: e, placement: s, middlewareData: l } = await b(this.virtualReference, this.tooltipElement, { placement: this.placement, strategy: "fixed", middleware: this.getMiddleware(), platform: { ...p, getOffsetParent: (o) => p.getOffsetParent(o, _) } });
|
|
54
54
|
if (this.currentPlacement = s, Object.assign(this.tooltipElement.style, { left: `${t}px`, top: `${e}px`, position: "fixed" }), l.arrow && this.arrowElement) {
|
|
55
|
-
const { x: o, y:
|
|
55
|
+
const { x: o, y: n } = l.arrow;
|
|
56
56
|
let i;
|
|
57
57
|
switch (s.split("-")[0] ?? "top") {
|
|
58
58
|
case "top":
|
|
@@ -67,7 +67,7 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
67
67
|
default:
|
|
68
68
|
i = "right";
|
|
69
69
|
}
|
|
70
|
-
Object.assign(this.arrowElement.style, { left: o != null ? `${o}px` : "", top:
|
|
70
|
+
Object.assign(this.arrowElement.style, { left: o != null ? `${o}px` : "", top: n != null ? `${n}px` : "", right: "", bottom: "", [i]: "-5px", transform: "rotate(45deg)" });
|
|
71
71
|
}
|
|
72
72
|
} catch (t) {
|
|
73
73
|
console.error("computePosition failed", t);
|
|
@@ -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: "6152e667a5224e6808917a1182a5e105239457b9", class: t, role: "tooltip", part: "tooltip" }, a("div", { key: "038cf107a7ff1936ca8bc28cfd0a913f4c1bf7d2", class: "gids-advanced-tooltip__arrow", part: "arrow" }), a("div", { key: "6cae35d1b61d4e45175909375f69754e762b38b2", 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;
|
|
@@ -89,11 +89,11 @@ const C = ({ visible: t }, e) => x("gids-advanced-tooltip", {
|
|
|
89
89
|
}, [1, "gids-advanced-tooltip", { visible: [516], x: [2], y: [2], offset: [2], placement: [1], items: [16], currentPlacement: [32] }, void 0, { visible: [{ visibleChanged: 0 }], x: [{ positionChanged: 0 }], y: [{ positionChanged: 0 }], placement: [{ placementChanged: 0 }], items: [{ itemsChanged: 0 }] }]);
|
|
90
90
|
function E() {
|
|
91
91
|
typeof customElements < "u" && ["gids-advanced-tooltip"].forEach(((t) => {
|
|
92
|
-
t === "gids-advanced-tooltip" && (customElements.get(
|
|
92
|
+
t === "gids-advanced-tooltip" && (customElements.get(d(t)) || customElements.define(d(t), A));
|
|
93
93
|
}));
|
|
94
94
|
}
|
|
95
95
|
E();
|
|
96
96
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
A as _,
|
|
98
|
+
E as b
|
|
99
99
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as i } from "./p-
|
|
1
|
+
import { D as i } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const d = (e) => {
|
|
4
4
|
const t = Array.isArray(e) ? e[e.length - 1] : e;
|
|
@@ -16,10 +16,10 @@ const d = (e) => {
|
|
|
16
16
|
}, Symbol.toStringTag, { value: "Module" })), L = ({ disabled: e }, t) => f("gids-label", { "gids-label--disabled": e }, t), S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17
17
|
__proto__: null,
|
|
18
18
|
getGidsLabelClassNames: L
|
|
19
|
-
}, Symbol.toStringTag, { value: "Module" })), { getIndicatorText: j } = h, { getGidsLabelClassNames: v } = S, O = ({ disabled: e, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, info: o, htmlFor: s, labelId: u, class: g, isLabelSentence:
|
|
20
|
-
const a = j({ children: l, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, isLabelSentence:
|
|
21
|
-
return i("div", { class: v({ disabled: e }, g), ...
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" })), { getIndicatorText: j } = h, { getGidsLabelClassNames: v } = S, O = ({ disabled: e, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, info: o, htmlFor: s, labelId: u, class: g, isLabelSentence: b, ...p }, l) => {
|
|
20
|
+
const a = j({ children: l, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, isLabelSentence: b });
|
|
21
|
+
return i("div", { class: v({ disabled: e }, g), ...p }, i("label", { htmlFor: s, id: u }, l, a && i("span", { class: "gids-label__field-requirement" }, a)), o);
|
|
22
22
|
};
|
|
23
23
|
export {
|
|
24
|
-
O as
|
|
24
|
+
O as s
|
|
25
25
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as g } from "./p-
|
|
1
|
+
import { D as g } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { c as e } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const n = ({ size: a, appearance: s, color: t }, d) => e("gids-display-tag", {
|
|
4
4
|
"gids-display-tag--xsmall": a === "xs",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { q as t, L as a, u as r, D as n } from "./p-
|
|
1
|
+
import { q as t, L as a, u as r, D as n } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { c as s } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
4
4
|
// 'gids-chart-legend--orientation-horizontal':
|
|
5
5
|
// orientation === 'horizontal', // not needed as by default
|
|
6
6
|
"gids-chart-legend--orientation-vertical": e === "vertical"
|
|
7
|
-
}, i),
|
|
7
|
+
}, i), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsChartLegendClassNames: o
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: l } =
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: l } = d, c = a(class extends r {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.orientation = "horizontal";
|
|
13
13
|
}
|
|
@@ -16,7 +16,7 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const e = l({ orientation: this.orientation });
|
|
19
|
-
return n("div", { key: "
|
|
19
|
+
return n("div", { key: "d8930dd78a4d923145c5985f2c04f033281c98e7", class: e }, n("slot", { key: "df109d03028671987581408c825d870ae8a5d28e" }));
|
|
20
20
|
}
|
|
21
21
|
static get watchers() {
|
|
22
22
|
return { orientation: [{ handleOrientationChange: 0 }] };
|
|
@@ -27,11 +27,11 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
27
27
|
}, [260, "gids-chart-legend", { orientation: [1] }, void 0, { orientation: [{ handleOrientationChange: 0 }] }]);
|
|
28
28
|
function g() {
|
|
29
29
|
typeof customElements < "u" && ["gids-chart-legend"].forEach(((e) => {
|
|
30
|
-
e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e),
|
|
30
|
+
e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e), c));
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
33
|
g();
|
|
34
34
|
export {
|
|
35
|
-
g as
|
|
36
|
-
|
|
35
|
+
g as d,
|
|
36
|
+
c as r
|
|
37
37
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as n } from "./p-
|
|
2
|
-
import { l as
|
|
3
|
-
import { c } from "./clsx-OuTLNxxd.js";
|
|
1
|
+
import { D as n } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { l as c } from "./p-DaB_FzcG-DnRTURxL.js";
|
|
3
|
+
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const d = (e) => {
|
|
5
5
|
const { label: t, supportingText: s } = e, i = typeof t == "string" && t.trim().length > 0, r = typeof s == "string" && s.trim().length > 0;
|
|
6
6
|
return {
|
|
@@ -10,7 +10,7 @@ const d = (e) => {
|
|
|
10
10
|
}, u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
11
|
__proto__: null,
|
|
12
12
|
getElementVisibility: d
|
|
13
|
-
}, Symbol.toStringTag, { value: "Module" })), x = ({ size: e }, t) =>
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), x = ({ size: e }, t) => m("gids-spinner", {
|
|
14
14
|
"gids-spinner--xs": e === "xs",
|
|
15
15
|
"gids-spinner--sm": e === "sm",
|
|
16
16
|
// 'gids-spinner--md': size === 'md',
|
|
@@ -22,7 +22,7 @@ const d = (e) => {
|
|
|
22
22
|
getGidsSpinnerClassNames: x
|
|
23
23
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerClassNames: _ } = b, { getElementVisibility: f } = u, h = ({ label: e, supportingText: t, size: s, indeterminate: i, value: r, max: l, class: o, ...p }) => {
|
|
24
24
|
const { hasLabel: a, hasSupportingText: g } = f({ label: e, supportingText: t });
|
|
25
|
-
return n("span", { class: _({ size: s }, o), ...p }, n(
|
|
25
|
+
return n("span", { class: _({ size: s }, o), ...p }, n(c, { size: s, indeterminate: i, value: r, max: l }), a && n("span", { class: "gids-spinner__label" }, e), g && n("span", { class: "gids-spinner__supporting-text" }, t));
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
28
28
|
h as p
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as d, L as o, u as h, D as i } from "./p-
|
|
2
|
-
import { i as u, a as m } from "./p-
|
|
3
|
-
import { i as Y } from "./p-
|
|
1
|
+
import { q as d, L as o, u as h, D as i } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { i as u, a as m } from "./p-D0coZTd2-KhJZ57gK.js";
|
|
3
|
+
import { i as Y } from "./p-CIxuyUAl-B2DxRM64.js";
|
|
4
4
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
6
6
|
const t = e.toString().trim();
|
|
@@ -72,7 +72,7 @@ const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const e = y();
|
|
75
|
-
return i("div", { key: "
|
|
75
|
+
return i("div", { key: "e4b410c9635ccf4192eb579d63539c9221a16099", class: e }, i(u, { key: "4c66b03bb635a2c29fac54129d0874ded0e29caf", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "5efe0a41ad6f0264fcd1cc18669e265dc2317022", sectionLabel: "Years" }, this.yearsList().map(((t, s) => {
|
|
76
76
|
const a = `${s + 1}`, r = this.disabledIndices?.includes(t.value);
|
|
77
77
|
return i(Y, { title: t.title, value: `${t.value}`, key: `${s.toString()}`, index: s, id: a, selected: this.isItemSelected(s), onPressDropdownItem: this.handleMenuClick, disabled: r, divider: this.divider, isPlaceholderItem: !1 });
|
|
78
78
|
})))));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { q as i, L as o, u as n, D as l } from "./p-
|
|
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 {
|
|
4
|
-
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
const
|
|
3
|
+
import { d as r } from "./p-DKOr5iAk-DA3Kc4Cn.js";
|
|
4
|
+
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const c = ({ appearance: s, size: e, disabled: a }, d) => h("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 h = ({ appearance: s, size: e, disabled: a }, d) => c("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: c
|
|
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 h = ({ appearance: s, size: e, disabled: a }, d) => c("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: "210eb96840d97372d7d07ad3b139d2a0fe6705f3", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
|
|
45
45
|
}
|
|
46
46
|
get _el() {
|
|
47
47
|
return this;
|
|
@@ -53,7 +53,7 @@ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
|
53
53
|
return ".gids-dot{display:flex;--gidsDotIcon-height:var(--gids-size-040);--gidsIcon-height:var(--gidsDotIcon-height);--gidsDotIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsDotIcon-color)}.gids-dot--sm{--gidsDotIcon-height:var(--gids-size-060)}.gids-dot--md{--gidsDotIcon-height:var(--gids-size-080)}.gids-dot--lg{--gidsDotIcon-height:var(--gids-size-100)}.gids-dot--xl{--gidsDotIcon-height:var(--gids-size-120)}.gids-dot--2xl{--gidsDotIcon-height:var(--gids-size-160)}.gids-dot--3xl{--gidsDotIcon-height:var(--gids-size-200)}.gids-dot--subtle{--gidsDotIcon-color:var(--gids-color-icon-subtle)}.gids-dot--static-inverse{--gidsDotIcon-color:var(--gids-color-icon-inverse)}.gids-dot--disabled{--gidsDotIcon-color:var(--gids-color-icon-disabled)}";
|
|
54
54
|
}
|
|
55
55
|
}, [0, "gids-dot", { extraClasses: [513, "extra-classes"], appearance: [513], size: [513], disabled: [516], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], appearance: [{ handleExtraClassesAndSizeChange: 0 }, { handleAppearanceChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleExtraClassesAndSizeChange: 0 }, { handleDisabledChange: 0 }] }]);
|
|
56
|
-
function
|
|
56
|
+
function x() {
|
|
57
57
|
typeof customElements < "u" && ["gids-dot", "gids-icon"].forEach(((s) => {
|
|
58
58
|
switch (s) {
|
|
59
59
|
case "gids-dot":
|
|
@@ -64,8 +64,8 @@ function b() {
|
|
|
64
64
|
}
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
x();
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
x as g,
|
|
70
70
|
C as h
|
|
71
71
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { q as h, L as
|
|
2
|
-
import { p as u } from "./p-
|
|
3
|
-
import { d as w } from "./p-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { l as C } from "./p-
|
|
1
|
+
import { q as h, L as _, u as f, D as e } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { p as u } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
+
import { d as w } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
4
|
+
import { b as k } from "./p-BdsUwTgh-Cc7AQBsx.js";
|
|
5
|
+
import { d as z } from "./p-BthkC6NU-F03MhDw7.js";
|
|
6
|
+
import { l as C } from "./p-Cacy0Dji-D-D254kT.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 = _(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, v = 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: v }, 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,16 +1,16 @@
|
|
|
1
|
-
import { D as I } from "./p-
|
|
2
|
-
import { v as P } from "./p-
|
|
1
|
+
import { D as I } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { v as P } from "./p-KQxuw_F--BTSoDfF9.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
|
-
}, 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:
|
|
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
8
|
const v = D(typeof d == "string" ? d : void 0);
|
|
9
9
|
return I(P, { id: e, index: l ?? 0, defaultSelected: r, selected: n, disabled: s, role: a, value: o, name: c, leadingAccessory: u, class: v, onPressListItem: (b) => {
|
|
10
10
|
if (b.defaultPrevented) return;
|
|
11
11
|
const g = new CustomEvent("onPressDropdownItem", { bubbles: !0, composed: !0, detail: { id: e, title: t, value: o, disabled: s, selectedIndex: l, defaultSelected: r, isPlaceholderItem: i } });
|
|
12
12
|
m?.(g);
|
|
13
|
-
}, divider:
|
|
13
|
+
}, divider: f, isPlaceholderItem: i, ...p }, t);
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
C as i
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as l, L as f, u, D as t } from "./p-
|
|
2
|
-
import { p as b } from "./p-
|
|
3
|
-
import {
|
|
4
|
-
import { l as z } from "./p-
|
|
1
|
+
import { q as l, L as f, u, D as t } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { p as b } from "./p-C-Lpfqcg-DIuBhXzX.js";
|
|
3
|
+
import { d as x } from "./p-BthkC6NU-F03MhDw7.js";
|
|
4
|
+
import { l as z } from "./p-Cacy0Dji-D-D254kT.js";
|
|
5
5
|
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const k = ({ breakpoint: a }, g) => w("gids-activity-gauge", {
|
|
7
7
|
"gids-activity-gauge--breakpoint-mobile": a === "mobile"
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { b as v, o as F, d as O, s as P, e as w, a as S, c as W, p as y, f as I } from "./p-BKcvOO8o-DcnO39au.js";
|
|
2
|
+
import { o as x } from "./p-CPgZgSBN-DsTNcUR7.js";
|
|
3
|
+
const h = class h {
|
|
4
|
+
constructor(t, e) {
|
|
5
|
+
this.el = t, this.config = e, this.offset = 10, this.timeDelayBeforeFadingOut = 50, this.popoverMainAxisEnabled = !0, this.currentPlacement = e.placement, this.cleanup = null;
|
|
6
|
+
}
|
|
7
|
+
getRootElement() {
|
|
8
|
+
return this.el.shadowRoot ?? this.el;
|
|
9
|
+
}
|
|
10
|
+
initialize() {
|
|
11
|
+
this.timeBeforeElementShows = this.config.showWithoutDelay ? 50 : 500, this.timeOfAnimation = this.config.showWithoutDelay ? 50 : 250;
|
|
12
|
+
const t = this.getRootElement();
|
|
13
|
+
this.floatingElement = t.querySelector(this.config.floatingElementSelector), this.floatingElement && this.applyViewportMaxWidth(), this.arrowEl = this.config.showArrow !== !1 && this.config.arrowElementSelector ? t.querySelector(this.config.arrowElementSelector) : null, this.anchorElement = this.config.htmlFor?.length > 0 ? document.getElementById(this.config.htmlFor) : this.config.getAnchorElement ? this.config.getAnchorElement(t) : this.el.shadowRoot ? this.config.getAnchorElementFromSlot(this.el.shadowRoot) : null, this.anchorElement ? this.setupPositioning() : console.warn("Could not determine the element associated with this floating element." + (this.config.htmlFor?.length > 0 ? `Element with id=${this.config.htmlFor} could not be found on the DOM.` : ""));
|
|
14
|
+
}
|
|
15
|
+
getAnchorElement() {
|
|
16
|
+
return this.anchorElement;
|
|
17
|
+
}
|
|
18
|
+
updateConfig(t) {
|
|
19
|
+
this.config = { ...this.config, ...t }, "showWithoutDelay" in t && (this.timeBeforeElementShows = this.config.showWithoutDelay ? 50 : 500, this.timeOfAnimation = this.config.showWithoutDelay ? 50 : 250), this.forceUpdate();
|
|
20
|
+
}
|
|
21
|
+
getConfig() {
|
|
22
|
+
return this.config;
|
|
23
|
+
}
|
|
24
|
+
getCurrentPlacement() {
|
|
25
|
+
return this.currentPlacement || this.config.placement;
|
|
26
|
+
}
|
|
27
|
+
reposition() {
|
|
28
|
+
this.forceUpdate();
|
|
29
|
+
}
|
|
30
|
+
forceUpdate() {
|
|
31
|
+
this.anchorElement && this.floatingElement && this.updatePosition();
|
|
32
|
+
}
|
|
33
|
+
setupPositioning() {
|
|
34
|
+
this.anchorElement && this.updatePosition();
|
|
35
|
+
}
|
|
36
|
+
setupAutoUpdate() {
|
|
37
|
+
!this.cleanup && this.anchorElement && (this.cleanup = v(this.anchorElement, this.floatingElement, (() => {
|
|
38
|
+
this.updatePosition();
|
|
39
|
+
}), { ancestorScroll: !0, ancestorResize: !1, elementResize: !0, layoutShift: !0, animationFrame: !1 }));
|
|
40
|
+
}
|
|
41
|
+
cleanupAutoUpdate() {
|
|
42
|
+
this.cleanup && (this.cleanup(), this.cleanup = null);
|
|
43
|
+
}
|
|
44
|
+
updatePosition() {
|
|
45
|
+
if (!this.anchorElement) return;
|
|
46
|
+
const t = this.config.offset ?? this.offset, e = [F(t)], l = this.config.lockToMainAxis ?? !1, i = this.config.constrainPlacements, n = i && i.length > 0 ? i.includes(this.config.placement) ? this.config.placement : i[0] : this.config.placement, a = O(i && i.length > 0 ? { mainAxis: !0, crossAxis: !1, padding: t, fallbackPlacements: i.filter(((o) => o !== n)), fallbackAxisSideDirection: "none" } : { mainAxis: !0, crossAxis: !l && "alignment", fallbackAxisSideDirection: "end", padding: t }), r = this.config.elementType === x.POPOVER, c = P({ padding: t, mainAxis: this.config.constrainToViewportHeight || this.config.elementType === x.TOOLTIP || r && this.popoverMainAxisEnabled, crossAxis: !1 });
|
|
47
|
+
this.config.matchReferenceWidth && e.push(w({ apply({ elements: o, rects: m }) {
|
|
48
|
+
Object.assign(o.floating.style, { width: `${m.reference.width}px` });
|
|
49
|
+
} })), n?.includes("-") ? e.push(a, c) : e.push(c, a), this.config.constrainToViewportHeight && e.push(w({ padding: t, apply: ({ availableHeight: o, elements: m }) => {
|
|
50
|
+
const f = Array.from(m.floating.children).find(((s) => s !== this.arrowEl));
|
|
51
|
+
f instanceof HTMLElement && Object.assign(f.style, { maxHeight: `${Math.max(0, o)}px`, overflowY: "auto", overflowX: "hidden" });
|
|
52
|
+
} })), this.config.showArrow !== !1 && this.arrowEl && e.push(S({ element: this.arrowEl, padding: t })), W(this.anchorElement, this.floatingElement, { placement: n, strategy: "fixed", middleware: e, platform: { ...y, getOffsetParent: (o) => y.getOffsetParent(o, I) } }).then((({ x: o, y: m, middlewareData: f, placement: s }) => {
|
|
53
|
+
if (r) {
|
|
54
|
+
const p = s.startsWith("left") || s.startsWith("right"), g = s.startsWith("top") || s.startsWith("bottom"), d = this.isAnchorInViewport(), E = !!g || (p ? d : this.popoverMainAxisEnabled);
|
|
55
|
+
if (E !== this.popoverMainAxisEnabled) return this.popoverMainAxisEnabled = E, void this.updatePosition();
|
|
56
|
+
}
|
|
57
|
+
this.currentPlacement = s, Object.assign(this.floatingElement.style, { left: `${o}px`, top: `${m}px`, position: "fixed", transition: `opacity ${this.timeOfAnimation}ms ease` });
|
|
58
|
+
const u = s.split("-")[0] ?? "bottom", A = { top: "bottom", right: "left", bottom: "top", left: "right" }[u], { arrowZIndex: T } = this.normalizeFloatingElementStacking();
|
|
59
|
+
if (f.arrow && this.arrowEl) {
|
|
60
|
+
const p = this.arrowEl.offsetWidth, { x: g, y: d } = f.arrow;
|
|
61
|
+
this.arrowEl.style.borderRadius = `${["left", "right"].includes(u) ? "0 " : ""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top", "bottom"].includes(u) ? " 0" : ""}`, Object.assign(this.arrowEl.style, { left: g !== null ? `${g}px` : "", top: d !== null ? `${d}px` : "", right: "", bottom: "", [A]: -p / 2 + "px", transform: "rotate(45deg)", zIndex: `${T}`, background: "var(--gidsFloatingElement-background)" });
|
|
62
|
+
}
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
applyViewportMaxWidth() {
|
|
66
|
+
const t = `calc(100vw - ${2 * this.offset}px)`;
|
|
67
|
+
this.floatingElement && this.floatingElement?.style.maxWidth !== t && (this.floatingElement.style.maxWidth = t);
|
|
68
|
+
}
|
|
69
|
+
normalizeFloatingElementStacking() {
|
|
70
|
+
const t = this.floatingElement.style.zIndex || (window.getComputedStyle?.(this.floatingElement).zIndex ?? ""), e = Number.parseInt(t, 10), l = Number.isNaN(e) ? -1 : e - 1, i = Number.isNaN(e) ? l + 1 : e;
|
|
71
|
+
return Number.isNaN(i) || (this.floatingElement.style.zIndex = `${i}`), Array.from(this.floatingElement.children).forEach(((n) => {
|
|
72
|
+
if (!(n instanceof HTMLElement) || n === this.arrowEl) return;
|
|
73
|
+
const a = n.style.zIndex || (window.getComputedStyle?.(n).zIndex ?? ""), r = Number.parseInt(a, 10), c = window.getComputedStyle?.(n).position ?? "";
|
|
74
|
+
(a === "" || a === "auto" || Number.isNaN(r) || r < i) && (n.style.zIndex = `${i}`, c !== "" && c !== "static" || (n.style.position = "relative"));
|
|
75
|
+
})), { contentZIndex: i, arrowZIndex: l };
|
|
76
|
+
}
|
|
77
|
+
hideFloatingElement() {
|
|
78
|
+
this.floatingElement.classList.remove(this.config.visibilityClass), h.currentFloatingElements.delete(this.config.elementType);
|
|
79
|
+
}
|
|
80
|
+
showFloatingElement() {
|
|
81
|
+
const t = h.currentFloatingElements.get(this.config.elementType);
|
|
82
|
+
t && t.hideFloatingElement(), this.floatingElement.classList.add(this.config.visibilityClass), h.currentFloatingElements.set(this.config.elementType, this);
|
|
83
|
+
}
|
|
84
|
+
isVisible() {
|
|
85
|
+
return this.floatingElement.classList.contains(this.config.visibilityClass);
|
|
86
|
+
}
|
|
87
|
+
show() {
|
|
88
|
+
this.setupAutoUpdate(), this.showFloatingElement();
|
|
89
|
+
}
|
|
90
|
+
hide() {
|
|
91
|
+
this.cleanupAutoUpdate(), this.hideFloatingElement();
|
|
92
|
+
}
|
|
93
|
+
toggle() {
|
|
94
|
+
this.isVisible() ? this.hide() : this.show();
|
|
95
|
+
}
|
|
96
|
+
showAfterDelay() {
|
|
97
|
+
clearTimeout(this.hoverOutTimeout), this.hoverTimeout = setTimeout((() => {
|
|
98
|
+
this.show();
|
|
99
|
+
}), this.timeBeforeElementShows);
|
|
100
|
+
}
|
|
101
|
+
hideAfterDelay() {
|
|
102
|
+
clearTimeout(this.hoverTimeout), this.hoverOutTimeout = setTimeout((() => {
|
|
103
|
+
this.hide();
|
|
104
|
+
}), this.timeDelayBeforeFadingOut);
|
|
105
|
+
}
|
|
106
|
+
cancelDelayedActions() {
|
|
107
|
+
clearTimeout(this.hoverTimeout), clearTimeout(this.hoverOutTimeout);
|
|
108
|
+
}
|
|
109
|
+
destroy() {
|
|
110
|
+
this.cleanupAutoUpdate(), this.cancelDelayedActions();
|
|
111
|
+
}
|
|
112
|
+
isAnchorInViewport() {
|
|
113
|
+
if (!(this.anchorElement && this.anchorElement instanceof Element)) return !1;
|
|
114
|
+
const t = this.anchorElement.getBoundingClientRect(), e = window.innerHeight || document.documentElement?.clientHeight || 0, l = window.innerWidth || document.documentElement?.clientWidth || 0, i = t.height / 2 + 2 * this.offset;
|
|
115
|
+
return t.bottom >= i && t.top <= e - i && t.right >= 0 && t.left <= l;
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
h.currentFloatingElements = /* @__PURE__ */ new Map();
|
|
119
|
+
let b = h;
|
|
120
|
+
export {
|
|
121
|
+
b as c
|
|
122
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s } from "./p-
|
|
1
|
+
import { D as s } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const u = "No Data!", b = (e) => `There is no data series provided for ${e}. Check the data you have passed to draw ${e}.`, A = 100, C = 50, L = "Invalid Progress Value!", k = (e) => `The provided progress value is invalid or exceeds the maximum(${e}%) allowed capacity configuration bounds for this specific layout shape profile.`, m = "Invalid Chart Type!", v = (e) => `You have passed an invalid chart type. Valid chart types are ${e}. Pass one of these types.`, i = (e) => c("gids-button-dock", e), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as
|
|
2
|
-
import { d as o } from "./p-
|
|
1
|
+
import { q as a, L as s, u as n, D as t } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { d as o } from "./p-iQRr_fAH-ClfWEu03.js";
|
|
3
3
|
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const d = ({ seriesType: e, orientation: i },
|
|
4
|
+
const d = ({ seriesType: e, orientation: i }, r) => l("gids-chart-legend-item", {
|
|
5
5
|
// 'gids-chart-legend-item--series-1': seriesType === '1', // by default
|
|
6
6
|
"gids-chart-legend-item--series-2": e === "2",
|
|
7
7
|
"gids-chart-legend-item--series-3": e === "3",
|
|
@@ -11,7 +11,7 @@ const d = ({ seriesType: e, orientation: i }, a) => l("gids-chart-legend-item",
|
|
|
11
11
|
// 'gids-chart-legend-item--orientation-horizontal':
|
|
12
12
|
// orientation === 'horizontal', // not needed as by default
|
|
13
13
|
"gids-chart-legend-item--orientation-vertical": i === "vertical"
|
|
14
|
-
},
|
|
14
|
+
}, r), g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
15
|
__proto__: null,
|
|
16
16
|
getGidsChartLegendItemClassNames: d
|
|
17
17
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendItemClassNames: c } = g, h = s(class extends n {
|
|
@@ -28,8 +28,8 @@ const d = ({ seriesType: e, orientation: i }, a) => l("gids-chart-legend-item",
|
|
|
28
28
|
this.seriesColor = e;
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
const e = this.seriesColor, i = e && e !== "",
|
|
32
|
-
return t("div", { key: "
|
|
31
|
+
const e = this.seriesColor, i = e && e !== "", r = c({ seriesType: i ? "none" : this.seriesType, orientation: this.orientation });
|
|
32
|
+
return t("div", { key: "db67ecf697bef6636b7355746b627db8c3611fa2", class: r }, t("div", { key: "b97a49db6ba7bd04b1627105a3620630bd49271d", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(o, { key: "1377932ffbdeff6a20afc18cd9afdaf766373858", name: "new", alt: "new_icon", appearance: "filled", style: i ? { "--gidsIcon-color": e } : {} })), t("span", { key: "66484c78316a9f49d439b2866db123f8744dae18", class: "gids-chart-legend-item__label" }, t("slot", { key: "2c641289641133bc01400d0b8e280514d8661ad6" })));
|
|
33
33
|
}
|
|
34
34
|
static get watchers() {
|
|
35
35
|
return { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }], seriesColor: [{ handleSeriesColorChange: 0 }] };
|
|
@@ -40,7 +40,7 @@ const d = ({ seriesType: e, orientation: i }, a) => l("gids-chart-legend-item",
|
|
|
40
40
|
}, [260, "gids-chart-legend-item", { orientation: [1], seriesType: [1, "series-type"], seriesColor: [1, "series-color"] }, void 0, { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }], seriesColor: [{ handleSeriesColorChange: 0 }] }]);
|
|
41
41
|
function m() {
|
|
42
42
|
typeof customElements < "u" && ["gids-chart-legend-item"].forEach(((e) => {
|
|
43
|
-
e === "gids-chart-legend-item" && (customElements.get(
|
|
43
|
+
e === "gids-chart-legend-item" && (customElements.get(a(e)) || customElements.define(a(e), h));
|
|
44
44
|
}));
|
|
45
45
|
}
|
|
46
46
|
m();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as o } from "./p-
|
|
1
|
+
import { D as o } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
2
|
import { n as a } from "./nonEmpty-B284_5ai.js";
|
|
3
3
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const i = 99, b = (e, t, n) => e === "dot" || t !== void 0 && t > i || n, p = (e, t) => e === void 0 ? t ?? "" : e > i ? `${i}+` : e.toString(), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { q as h, L as f, u as p, D as d, P as g } from "./p-B4hcsDH0-CPqEc-vc.js";
|
|
2
|
+
import { b as u, v as P } from "./p-KQxuw_F--BTSoDfF9.js";
|
|
3
|
+
import { i as b, a as M } from "./p-D0coZTd2-KhJZ57gK.js";
|
|
4
|
+
import { u as v } from "./p-B0hLXifA-CoImnX3T.js";
|
|
5
|
+
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
getGidsProfileMenuClassNames: S
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsProfileMenuClassNames: C } = V, _ = f(class extends p {
|
|
10
|
+
constructor(i) {
|
|
11
|
+
super(), i !== !1 && this.__registerHost(), this.headerVisible = !1, this.listSectionDividerVisible = !1, this.headerDividerVisible = !0, this.profileMenuItems = [], this.selectedProfileMenuItem = void 0, this.onListItemPress = ({ event: e, sectionIndex: n, itemIndex: o, item: t }) => {
|
|
12
|
+
const r = { ...t, sectionIndex: n, itemIndex: o };
|
|
13
|
+
this.onProfileMenuItemPress && !this.isItemAlreadySelected(r) && this.onProfileMenuItemPress({ originalEvent: e, id: t.id, sectionIndex: n, itemIndex: o, leadingLabel: t?.leadingLabel, leadingSupport: t?.leadingSupport, trailingLabel: t?.trailingLabel, trailingSupport: t?.trailingSupport }), this.profileMenuItemSelection(r);
|
|
14
|
+
}, this.defaultSelectedProfileMenuItem = () => {
|
|
15
|
+
const e = this?.profileMenuItems ?? [], n = this?.selectedProfileMenuItemId ?? void 0;
|
|
16
|
+
e.length > 0 && n && e.map(((o, t) => {
|
|
17
|
+
const r = o?.items ?? [], l = r.findIndex(((s) => s?.id === n));
|
|
18
|
+
if (l != null && l !== -1) {
|
|
19
|
+
const s = r[l];
|
|
20
|
+
s && (this.selectedProfileMenuItem = { ...s, id: s.id, sectionIndex: t, itemIndex: l });
|
|
21
|
+
}
|
|
22
|
+
}));
|
|
23
|
+
}, this.profileMenuItemSelection = (e) => {
|
|
24
|
+
e?.id && (this.isItemAlreadySelected(e) || (this.selectedProfileMenuItem = e));
|
|
25
|
+
}, this.isItemAlreadySelected = (e) => e.id === this?.selectedProfileMenuItem?.id && e?.sectionIndex === this?.selectedProfileMenuItem?.sectionIndex && e?.itemIndex === this?.selectedProfileMenuItem?.itemIndex, this.isThisItemSelected = (e) => e?.id === this?.selectedProfileMenuItem?.id && e?.sectionIndex === this?.selectedProfileMenuItem?.sectionIndex && e?.itemIndex === this?.selectedProfileMenuItem?.itemIndex, this.hasHeaderItem = () => {
|
|
26
|
+
const e = this?.headerItem;
|
|
27
|
+
return !(!this?.headerVisible || !(e?.avatarVisible || e?.avatarProps && Object.keys(e).length > 0 || e?.headerSupportingText || e?.headerTitle));
|
|
28
|
+
}, this.hasProfileMenuItems = () => {
|
|
29
|
+
const e = this?.profileMenuItems ?? [];
|
|
30
|
+
return !!(e.length > 0 && e[0]?.items && e[0].items.length > 0 || this.hasHeaderItem());
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
headerItemChanged(i) {
|
|
34
|
+
this.headerItem = i;
|
|
35
|
+
}
|
|
36
|
+
headerVisibleChanged(i) {
|
|
37
|
+
this.headerVisible = i;
|
|
38
|
+
}
|
|
39
|
+
selectedProfileMenuItemIdChanged(i) {
|
|
40
|
+
this.selectedProfileMenuItemId = i;
|
|
41
|
+
}
|
|
42
|
+
profileMenuItemsChanged(i) {
|
|
43
|
+
this.profileMenuItems = i, this.defaultSelectedProfileMenuItem();
|
|
44
|
+
}
|
|
45
|
+
connectedCallback() {
|
|
46
|
+
}
|
|
47
|
+
componentDidLoad() {
|
|
48
|
+
this.defaultSelectedProfileMenuItem();
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
const i = this?.headerItem, e = this?.headerVisible, n = this?.headerDividerVisible, o = this?.listSectionDividerVisible, t = this?.profileMenuItems ?? [], r = C();
|
|
52
|
+
return d(g, { key: "4baa2263eed55afa652eba0f1e819b1e67e9b1a2", class: r }, d(b, { key: "4ccae5d9463d84deaddacbf88c8c082b3e320db7", type: this.hasProfileMenuItems() ? "default" : "no-options" }, e ? d("div", { class: "gids-profile-menu__header-container" }, d("gids-profile-menu-header", { ...i, onHeaderAvatarPress: this.onHeaderAvatarPress, onHeaderTitlePress: this.onHeaderTitlePress, onHeaderSupportingTextPress: this.onHeaderSupportingTextPress })) : void 0, n && this.hasHeaderItem() ? d("div", { class: "gids-profile-menu__header-divider-container" }, d(u, null)) : void 0, t.map(((l, s) => d(M, { key: `${s + 1}`, sectionLabel: l?.sectionLabel ?? "" }, (l?.items ?? []).map(((a, m) => {
|
|
53
|
+
const c = this.isThisItemSelected({ ...a, sectionIndex: s, itemIndex: m });
|
|
54
|
+
return console.log("_thisItemSelected", c), d(P, { ...a, key: `${m + 1}`, id: a.id, index: m, onPressListItem: (I) => this.onListItemPress({ event: I, sectionIndex: s, itemIndex: m, item: a }), selected: c }, a?.leadingLabel);
|
|
55
|
+
})), s < t.length - 1 && o ? d(u, null) : void 0)))));
|
|
56
|
+
}
|
|
57
|
+
get hostElement() {
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
static get watchers() {
|
|
61
|
+
return { headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], selectedProfileMenuItemId: [{ selectedProfileMenuItemIdChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] };
|
|
62
|
+
}
|
|
63
|
+
static get style() {
|
|
64
|
+
return ".gids-profile-menu .gids-divider{width:100%}.gids-profile-menu__header-divider-container{width:100%;padding-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-profile-menu__header-container{display:flex;width:100%;padding:var(--gids-padding-vertical-edge-to-element-150) 0px}";
|
|
65
|
+
}
|
|
66
|
+
}, [0, "gids-profile-menu", { headerItem: [16], selectedProfileMenuItemId: [1, "selected-profile-menu-item-id"], headerVisible: [4, "header-visible"], listSectionDividerVisible: [4, "list-section-divider-visible"], headerDividerVisible: [4, "header-divider-visible"], profileMenuItems: [16], onHeaderAvatarPress: [16], onHeaderTitlePress: [16], onHeaderSupportingTextPress: [16], onProfileMenuItemPress: [16], selectedProfileMenuItem: [32] }, void 0, { headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], selectedProfileMenuItemId: [{ selectedProfileMenuItemIdChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] }]);
|
|
67
|
+
function y() {
|
|
68
|
+
typeof customElements < "u" && ["gids-profile-menu", "gids-profile-menu-header"].forEach(((i) => {
|
|
69
|
+
switch (i) {
|
|
70
|
+
case "gids-profile-menu":
|
|
71
|
+
customElements.get(h(i)) || customElements.define(h(i), _);
|
|
72
|
+
break;
|
|
73
|
+
case "gids-profile-menu-header":
|
|
74
|
+
customElements.get(h(i)) || v();
|
|
75
|
+
}
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
y();
|
|
79
|
+
export {
|
|
80
|
+
_ as c,
|
|
81
|
+
y as u
|
|
82
|
+
};
|