@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.
Files changed (271) hide show
  1. package/dist/css/elements.css +4 -0
  2. package/dist/css/elements.css.map +1 -1
  3. package/dist/css/index.css +701 -4
  4. package/dist/css/index.css.map +1 -1
  5. package/dist/custom-elements.json +7 -1
  6. package/dist/gids-action-bar.js +1 -1
  7. package/dist/gids-activity-gauge.js +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.js +1 -1
  10. package/dist/gids-bento-card.d.ts +11 -0
  11. package/dist/gids-bento-card.js +1 -0
  12. package/dist/gids-calendar-header-panel.js +1 -1
  13. package/dist/gids-calendar-month-list.js +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.js +1 -1
  16. package/dist/gids-carousel.d.ts +11 -0
  17. package/dist/gids-carousel.js +1 -0
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.js +1 -1
  20. package/dist/gids-chart.js +1 -1
  21. package/dist/gids-chevron-button.js +1 -1
  22. package/dist/gids-dot.js +1 -1
  23. package/dist/gids-dropdown-field.js +1 -1
  24. package/dist/gids-dropdown-picker.js +1 -1
  25. package/dist/gids-dropdown.js +1 -1
  26. package/dist/gids-expansion-body-list-item.js +1 -1
  27. package/dist/gids-expansion-body-list.js +1 -1
  28. package/dist/gids-expansion-group.js +1 -1
  29. package/dist/gids-expansion.js +1 -1
  30. package/dist/gids-field.js +1 -1
  31. package/dist/gids-filter.js +1 -1
  32. package/dist/gids-flyout-panel.d.ts +11 -0
  33. package/dist/gids-flyout-panel.js +1 -0
  34. package/dist/gids-header-navigation-item.js +1 -1
  35. package/dist/gids-header-navigation.js +1 -1
  36. package/dist/gids-icon.js +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.js +1 -1
  39. package/dist/gids-line-chart.js +1 -1
  40. package/dist/gids-md-table.js +1 -1
  41. package/dist/gids-notification.js +1 -1
  42. package/dist/gids-overflow-container.js +1 -1
  43. package/dist/gids-overlay-provider.js +1 -1
  44. package/dist/gids-password-field.js +1 -1
  45. package/dist/gids-pie-chart.js +1 -1
  46. package/dist/gids-popover.js +1 -1
  47. package/dist/gids-profile-menu-header.js +1 -1
  48. package/dist/gids-profile-menu.js +1 -1
  49. package/dist/gids-profile.js +1 -1
  50. package/dist/gids-progress-circle.js +1 -1
  51. package/dist/gids-scrim.js +1 -1
  52. package/dist/gids-skeleton.js +1 -1
  53. package/dist/gids-snackbar.js +1 -1
  54. package/dist/gids-tab-item.js +1 -1
  55. package/dist/gids-tab.js +1 -1
  56. package/dist/gids-text-field.js +1 -1
  57. package/dist/gids-toggle-button.js +1 -1
  58. package/dist/gids-tooltip.js +1 -1
  59. package/dist/gids-transfer-list.js +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/{p-CoS0NuDU.js → p-4zKS6zkg.js} +1 -1
  62. package/dist/{p-Degg_WJz.js → p-83YZrIJw.js} +1 -1
  63. package/dist/{p-oJFgjzK5.js → p-B0hLXifA.js} +1 -1
  64. package/dist/{p-Bf3p-DY2.js → p-B4hcsDH0.js} +1 -1
  65. package/dist/{p-Dd-ec-e0.js → p-BdsUwTgh.js} +1 -1
  66. package/dist/p-BkxmRN-4.js +1 -0
  67. package/dist/p-BsC3-MVH.js +1 -0
  68. package/dist/{p-CiWZdp48.js → p-BthkC6NU.js} +1 -1
  69. package/dist/p-C-Lpfqcg.js +1 -0
  70. package/dist/{p-pVSQxFDF.js → p-C6GHG170.js} +1 -1
  71. package/dist/{p-DGXqnrKo.js → p-CBiu-Vh3.js} +1 -1
  72. package/dist/{p-Co23kQaH.js → p-CH4nrjpL.js} +1 -1
  73. package/dist/p-CIxuyUAl.js +1 -0
  74. package/dist/{p-DiTjFG30.js → p-CMW3SjbP.js} +1 -1
  75. package/dist/p-CPgZgSBN.js +1 -0
  76. package/dist/p-CTri3IsV.js +1 -0
  77. package/dist/{p-CaauwQNd.js → p-CZ_9Mt3B.js} +1 -1
  78. package/dist/{p-DAuO4g6g.js → p-Cacy0Dji.js} +1 -1
  79. package/dist/p-CcKHKwS0.js +1 -0
  80. package/dist/p-Cf3Ny79u.js +1 -0
  81. package/dist/{p-DbaNvRpS.js → p-CrqHKmjy.js} +1 -1
  82. package/dist/{p-UDG6tkD1.js → p-Cz9nwmgK.js} +1 -1
  83. package/dist/{p-Bs8TP3Rb.js → p-D0coZTd2.js} +1 -1
  84. package/dist/{p-CCpxJ8wu.js → p-DKOr5iAk.js} +1 -1
  85. package/dist/{p-Chb2OeFe.js → p-DYjV5XrH.js} +1 -1
  86. package/dist/{p-C-HyXFGR.js → p-DZ6xQXis.js} +1 -1
  87. package/dist/{p-CHGTBObD.js → p-DaB_FzcG.js} +1 -1
  88. package/dist/{p-DxX3B1f0.js → p-DgKrPmDn.js} +1 -1
  89. package/dist/p-Dg_WeHpV.js +1 -0
  90. package/dist/p-Do_VlNHg.js +1 -0
  91. package/dist/{p-DELTZ9Fh.js → p-DrDadv7P.js} +1 -1
  92. package/dist/p-Dw_kb9MC.js +1 -0
  93. package/dist/p-GcC8pCKF.js +1 -0
  94. package/dist/{p-BrYLEey4.js → p-KQxuw_F-.js} +1 -1
  95. package/dist/{p-d-t7__OQ.js → p-PcSMc4jQ.js} +1 -1
  96. package/dist/p-iQRr_fAH.js +1 -0
  97. package/dist/{p-u06XOrpj.js → p-j2_DKwBz.js} +1 -1
  98. package/dist/p-jGho9nbS.js +1 -0
  99. package/dist/{p-Bzjuvoza.js → p-xbqOQZl9.js} +1 -1
  100. package/dist/types/components/html/_GidsCarouselControl/GidsCarouselControl.d.ts +6 -0
  101. package/dist/types/components/html/_GidsCarouselPagination/GidsCarouselPagination.d.ts +5 -0
  102. package/dist/types/components/html/_GidsCarouselPaginationItem/GidsCarouselPaginationItem.d.ts +5 -0
  103. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +6 -1
  104. package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +2 -1
  105. package/dist/types/components/webComponents/GidsBentoCard/GidsBentoCard.d.ts +34 -0
  106. package/dist/types/components/webComponents/GidsCarousel/GidsCarousel.d.ts +49 -0
  107. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +24 -0
  108. package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +2 -0
  109. package/dist/types/components/webComponents/GidsProfile/GidsProfile.d.ts +4 -0
  110. package/dist/types/components/webComponents/GidsProfileMenu/GidsProfileMenu.d.ts +4 -0
  111. package/dist/types/components.d.ts +168 -2
  112. package/dist-bundled/es/gids-action-bar.js +9 -9
  113. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  114. package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
  115. package/dist-bundled/es/gids-bar-chart.js +1 -1
  116. package/dist-bundled/es/gids-bento-card.js +84 -0
  117. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  118. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  119. package/dist-bundled/es/gids-calendar-year-list.js +2 -2
  120. package/dist-bundled/es/gids-calendar.js +24 -24
  121. package/dist-bundled/es/gids-carousel.js +179 -0
  122. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  123. package/dist-bundled/es/gids-chart-legend.js +4 -4
  124. package/dist-bundled/es/gids-chart.js +11 -11
  125. package/dist-bundled/es/gids-chevron-button.js +3 -3
  126. package/dist-bundled/es/gids-dot.js +3 -3
  127. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  128. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  129. package/dist-bundled/es/gids-dropdown.js +4 -4
  130. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  131. package/dist-bundled/es/gids-expansion-body-list.js +3 -3
  132. package/dist-bundled/es/gids-expansion-group.js +4 -4
  133. package/dist-bundled/es/gids-expansion.js +3 -3
  134. package/dist-bundled/es/gids-field.js +4 -4
  135. package/dist-bundled/es/gids-filter.js +2 -2
  136. package/dist-bundled/es/gids-flyout-panel.js +110 -0
  137. package/dist-bundled/es/gids-header-navigation-item.js +1 -1
  138. package/dist-bundled/es/gids-header-navigation.js +5 -5
  139. package/dist-bundled/es/gids-icon.js +4 -4
  140. package/dist-bundled/es/gids-input.js +2 -2
  141. package/dist-bundled/es/gids-level-gauge.js +2 -2
  142. package/dist-bundled/es/gids-line-chart.js +4 -4
  143. package/dist-bundled/es/gids-md-table.js +5 -5
  144. package/dist-bundled/es/gids-notification.js +1 -1
  145. package/dist-bundled/es/gids-overflow-container.js +5 -5
  146. package/dist-bundled/es/gids-overlay-provider.js +4 -4
  147. package/dist-bundled/es/gids-password-field.js +15 -15
  148. package/dist-bundled/es/gids-pie-chart.js +4 -4
  149. package/dist-bundled/es/gids-popover.js +4 -4
  150. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  151. package/dist-bundled/es/gids-profile-menu.js +3 -3
  152. package/dist-bundled/es/gids-profile.js +40 -34
  153. package/dist-bundled/es/gids-progress-circle.js +1 -1
  154. package/dist-bundled/es/gids-scrim.js +2 -2
  155. package/dist-bundled/es/gids-skeleton.js +9 -9
  156. package/dist-bundled/es/gids-snackbar.js +1 -1
  157. package/dist-bundled/es/gids-tab-item.js +7 -7
  158. package/dist-bundled/es/gids-tab.js +2 -2
  159. package/dist-bundled/es/gids-text-field.js +16 -16
  160. package/dist-bundled/es/gids-toggle-button.js +1 -1
  161. package/dist-bundled/es/gids-tooltip.js +7 -7
  162. package/dist-bundled/es/gids-transfer-list.js +7 -7
  163. package/dist-bundled/es/index.js +2 -2
  164. package/dist-bundled/es/{p-CoS0NuDU-ByDvQAzA.js → p-4zKS6zkg-CujzUjb6.js} +3 -3
  165. package/dist-bundled/es/{p-Degg_WJz-ORZcjc8G.js → p-83YZrIJw-Cu-e6WD3.js} +3 -3
  166. package/dist-bundled/es/{p-oJFgjzK5-CzagP1qD.js → p-B0hLXifA-CoImnX3T.js} +4 -4
  167. package/dist-bundled/es/p-BKcvOO8o-DcnO39au.js +1065 -0
  168. package/dist-bundled/es/{p-Dd-ec-e0-BqX_F6y0.js → p-BdsUwTgh-Cc7AQBsx.js} +9 -9
  169. package/dist-bundled/es/{p-Dg2yoUxw-DliMstZy.js → p-BkxmRN-4-DSiXCW8b.js} +5 -5
  170. package/dist-bundled/es/{p-C2POfZhu-DzG_JxV6.js → p-BsC3-MVH-j4fPhip5.js} +1 -1
  171. package/dist-bundled/es/{p-CiWZdp48-1vf7Xh2R.js → p-BthkC6NU-F03MhDw7.js} +7 -7
  172. package/dist-bundled/es/{p-DMNS1d8v-BX8e_AsY.js → p-C-Lpfqcg-DIuBhXzX.js} +5 -5
  173. package/dist-bundled/es/{p-pVSQxFDF-CsWxUaZX.js → p-C6GHG170-Di8lwQkY.js} +4 -4
  174. package/dist-bundled/es/{p-DGXqnrKo-C7feKS94.js → p-CBiu-Vh3-r-McGzCb.js} +9 -9
  175. package/dist-bundled/es/{p-Co23kQaH-QJyKkzgc.js → p-CH4nrjpL-CrEJXTn0.js} +9 -9
  176. package/dist-bundled/es/{p-DObJEzlz-tt9h5cuI.js → p-CIxuyUAl-B2DxRM64.js} +4 -4
  177. package/dist-bundled/es/{p-DiTjFG30-CQkxfu2K.js → p-CMW3SjbP-ZYYIF_i6.js} +4 -4
  178. package/dist-bundled/es/p-CPgZgSBN-DsTNcUR7.js +7 -0
  179. package/dist-bundled/es/p-CTri3IsV-B1u0rrXF.js +122 -0
  180. package/dist-bundled/es/{p-CaauwQNd-D6_PbcRr.js → p-CZ_9Mt3B-BIYkPAXM.js} +1 -1
  181. package/dist-bundled/es/{p-DAuO4g6g-C8miaL-N.js → p-Cacy0Dji-D-D254kT.js} +7 -7
  182. package/dist-bundled/es/{p-CXFvqDBs-offadaUn.js → p-CcKHKwS0-Bw63tTOA.js} +1 -1
  183. package/dist-bundled/es/p-Cf3Ny79u-VGT_IyGI.js +82 -0
  184. package/dist-bundled/es/{p-DbaNvRpS-r7kCW1TY.js → p-CrqHKmjy-DwSsCofb.js} +10 -10
  185. package/dist-bundled/es/{p-UDG6tkD1-JTLPxkEn.js → p-Cz9nwmgK-BO8HUAvD.js} +10 -10
  186. package/dist-bundled/es/{p-Bs8TP3Rb-BdcS7d5q.js → p-D0coZTd2-KhJZ57gK.js} +3 -3
  187. package/dist-bundled/es/{p-CCpxJ8wu-CMYQqNoP.js → p-DKOr5iAk-DA3Kc4Cn.js} +9 -9
  188. package/dist-bundled/es/{p-Chb2OeFe-DDv_WPhe.js → p-DYjV5XrH-CI9LfBFx.js} +3 -3
  189. package/dist-bundled/es/{p-C-HyXFGR-UnFcWLOQ.js → p-DZ6xQXis-XT86MMis.js} +7 -7
  190. package/dist-bundled/es/{p-CHGTBObD-D_K9_Tmh.js → p-DaB_FzcG-DnRTURxL.js} +1 -1
  191. package/dist-bundled/es/{p-DxX3B1f0-D1URliVh.js → p-DgKrPmDn-C2CSKicX.js} +6 -6
  192. package/dist-bundled/es/{p-UVmSPzTd-CR1higgJ.js → p-Dg_WeHpV-DehzGL6g.js} +9 -9
  193. package/dist-bundled/es/{p-UxDcM-C5-BJO4X0jM.js → p-Do_VlNHg-_g7lcvwR.js} +2 -2
  194. package/dist-bundled/es/{p-DELTZ9Fh-Byr0nLtY.js → p-DrDadv7P-D4rbSYTr.js} +4 -4
  195. package/dist-bundled/es/{p-bhEHIxPv-ujyxL30O.js → p-Dw_kb9MC-BTd0lrGA.js} +36 -21
  196. package/dist-bundled/es/{p-CZBiavxU-CIstIm2b.js → p-GcC8pCKF-CZJFTFeN.js} +10 -10
  197. package/dist-bundled/es/{p-BrYLEey4-DuajY4uD.js → p-KQxuw_F--BTSoDfF9.js} +9 -9
  198. package/dist-bundled/es/{p-d-t7__OQ-CKPQZt2t.js → p-PcSMc4jQ-CzYLaIZr.js} +14 -14
  199. package/dist-bundled/es/{p-D4Pimu_8-ARSuGBs4.js → p-iQRr_fAH-ClfWEu03.js} +13 -13
  200. package/dist-bundled/es/{p-u06XOrpj-C1tNznDd.js → p-j2_DKwBz-CqyuxxnN.js} +8 -8
  201. package/dist-bundled/es/{p-Bw2pVReY-K9pdG-hw.js → p-jGho9nbS-BDiBvsn2.js} +10 -10
  202. package/dist-bundled/es/{p-Bzjuvoza-CzNs69NV.js → p-xbqOQZl9-BK9vjfj7.js} +15 -15
  203. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  204. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  205. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  206. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  207. package/dist-bundled/umd/gids-bento-card.umd.js +5 -0
  208. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  209. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  210. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  211. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  212. package/dist-bundled/umd/gids-carousel.umd.js +5 -0
  213. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  214. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  215. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  216. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  217. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  218. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  219. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  220. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  221. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  222. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  223. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  224. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  225. package/dist-bundled/umd/gids-field.umd.js +2 -2
  226. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  227. package/dist-bundled/umd/gids-flyout-panel.umd.js +5 -0
  228. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  229. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  230. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  231. package/dist-bundled/umd/gids-input.umd.js +2 -2
  232. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  233. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  234. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  235. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  236. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  237. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  238. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  239. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  240. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  241. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  242. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  243. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  244. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  245. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  246. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  247. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  248. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  249. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  250. package/dist-bundled/umd/index.umd.js +2 -2
  251. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  252. package/package.json +29 -5
  253. package/dist/p-B8kX8Vqv.js +0 -1
  254. package/dist/p-BBszCFSA.js +0 -1
  255. package/dist/p-Bw2pVReY.js +0 -1
  256. package/dist/p-C2POfZhu.js +0 -1
  257. package/dist/p-CXFvqDBs.js +0 -1
  258. package/dist/p-CZBiavxU.js +0 -1
  259. package/dist/p-CcpdJCql.js +0 -1
  260. package/dist/p-D4Pimu_8.js +0 -1
  261. package/dist/p-DMNS1d8v.js +0 -1
  262. package/dist/p-DObJEzlz.js +0 -1
  263. package/dist/p-Dg2yoUxw.js +0 -1
  264. package/dist/p-UVmSPzTd.js +0 -1
  265. package/dist/p-UxDcM-C5.js +0 -1
  266. package/dist/p-bhEHIxPv.js +0 -1
  267. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +0 -7
  268. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +0 -115
  269. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +0 -1024
  270. package/dist-bundled/es/p-CcpdJCql-CkEW2RAp.js +0 -64
  271. /package/dist-bundled/es/{p-Bf3p-DY2-CPqEc-vc.js → p-B4hcsDH0-CPqEc-vc.js} +0 -0
@@ -0,0 +1,110 @@
1
+ import { L as p, u, D as s, F as y, q as r } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { c as E } from "./p-CTri3IsV-B1u0rrXF.js";
3
+ import { o as v } from "./p-CPgZgSBN-DsTNcUR7.js";
4
+ const h = p(class extends u {
5
+ constructor(e) {
6
+ super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.placement = "bottom", this.previouslyFocusedElement = null, this.focusableElements = [], this.handleToggleEvent = (t) => {
7
+ t.stopPropagation();
8
+ const l = this.floatingElementManager.isVisible();
9
+ this.floatingElementManager.toggle(), !l && this.floatingElementManager.isVisible() ? this.onFlyoutPanelShow() : l && !this.floatingElementManager.isVisible() && this.onFlyoutPanelHide();
10
+ }, this.handleDocumentClick = (t) => {
11
+ this.floatingElementManager.isVisible() && !this._el.contains(t.target) && (this.floatingElementManager.hide(), this.onFlyoutPanelHide());
12
+ }, this.handleKeyDown = (t) => {
13
+ if (this.floatingElementManager.isVisible()) return t.key === "Escape" ? (t.preventDefault(), this.floatingElementManager.hide(), void this.onFlyoutPanelHide()) : void (t.key === "Tab" && this.trapFocus(t));
14
+ };
15
+ }
16
+ componentDidLoad() {
17
+ this.floatingElementManager = new E(this._el, { htmlFor: this.htmlFor, placement: this.placement, showWithoutDelay: !0, floatingElementSelector: "#flyout-panel", showArrow: !1, visibilityClass: "gids-flyout-panel--visible", elementType: v.FLYOUT_PANEL, constrainPlacements: ["top", "bottom"], constrainToViewportHeight: !0, getAnchorElementFromSlot: (e) => e.querySelector('slot[name="anchor"]')?.assignedElements()[0] || null }), this.floatingElementManager.initialize(), this.setupEventListeners();
18
+ }
19
+ setupEventListeners() {
20
+ const e = this.floatingElementManager.getAnchorElement();
21
+ e && (e.addEventListener("click", this.handleToggleEvent), document.addEventListener("click", this.handleDocumentClick), document.addEventListener("keydown", this.handleKeyDown));
22
+ }
23
+ onFlyoutPanelShow() {
24
+ this.previouslyFocusedElement = document.activeElement, this.updateFocusableElements(), setTimeout((() => {
25
+ this.focusableElements.length > 0 && this.focusableElements[0] && this.focusableElements[0].focus();
26
+ }), 50);
27
+ }
28
+ onFlyoutPanelHide() {
29
+ this.previouslyFocusedElement && (this.previouslyFocusedElement.focus(), this.previouslyFocusedElement = null);
30
+ }
31
+ updateFocusableElements() {
32
+ const e = this._el.shadowRoot?.querySelector("#flyout-panel");
33
+ if (!e) return;
34
+ const t = [], l = d(e);
35
+ t.push(...l);
36
+ const n = this._el.shadowRoot?.querySelector("slot:not([name])");
37
+ n && n.assignedElements({ flatten: !0 }).forEach(((a) => {
38
+ const o = d(a);
39
+ t.push(...o);
40
+ })), this.focusableElements = t.sort(((a, o) => {
41
+ const i = a.compareDocumentPosition(o), m = !!(i & Node.DOCUMENT_POSITION_FOLLOWING), f = !!(i & Node.DOCUMENT_POSITION_PRECEDING);
42
+ return m ? -1 : f ? 1 : 0;
43
+ }));
44
+ }
45
+ trapFocus(e) {
46
+ if (this.focusableElements.length === 0) return;
47
+ const t = this.focusableElements[0], l = this.focusableElements[this.focusableElements.length - 1];
48
+ let n = document.activeElement;
49
+ if (n === this._el) {
50
+ const o = this._el.shadowRoot?.activeElement;
51
+ o !== null && (n = o);
52
+ }
53
+ const a = this.focusableElements.indexOf(n) !== -1;
54
+ e.shiftKey ? n !== t && a || (e.preventDefault(), l && l.focus()) : n !== l && a || (e.preventDefault(), t && t.focus());
55
+ }
56
+ placementChanged(e) {
57
+ this.floatingElementManager?.updateConfig({ placement: e }), this.floatingElementManager?.isVisible() && this.floatingElementManager?.reposition();
58
+ }
59
+ htmlForChanged(e) {
60
+ this.floatingElementManager?.updateConfig({ htmlFor: e }), this.cleanupEventListeners(), this.floatingElementManager?.initialize(), this.setupEventListeners();
61
+ }
62
+ cleanupEventListeners() {
63
+ const e = this.floatingElementManager?.getAnchorElement();
64
+ e && e.removeEventListener("click", this.handleToggleEvent), document.removeEventListener("click", this.handleDocumentClick), document.removeEventListener("keydown", this.handleKeyDown);
65
+ }
66
+ render() {
67
+ return s(y, { key: "a230e6a4aad47d106c536c22e62e983847c61134" }, s("slot", { key: "c32fcfd2e943f94f9e733022cfafbb17d48f0579", name: "anchor" }), s("div", { key: "0bcac3ab2c843fc1bd7137e72b6362fce1188cb9", id: "flyout-panel", part: "flyout-panel", role: "dialog", "aria-modal": "true", tabindex: "-1" }, s("div", { key: "33cfcf17f75c22f5185dced5c4f6a070c6d7455c" }, s("slot", { key: "e30b5a128c4f3668553c3d0246d2cb400c42f8eb" }))));
68
+ }
69
+ disconnectedCallback() {
70
+ this.cleanupEventListeners(), this.floatingElementManager?.destroy();
71
+ }
72
+ get _el() {
73
+ return this;
74
+ }
75
+ static get watchers() {
76
+ return { placement: [{ placementChanged: 0 }], htmlFor: [{ htmlForChanged: 0 }] };
77
+ }
78
+ static get style() {
79
+ return "gids-flyout-panel{--gidsFlyoutPanel-background:var(--gids-elevation-surface-overlay-default);--gidsFlyoutPanel-text-color:var(--gids-color-text-default);--gidsFlyoutPanel-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsFlyoutPanel-border-radius:var(--gids-border-radius-lg);--gidsFlyoutPanel-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsFlyoutPanel-background)}[part=flyout-panel]{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);position:absolute;display:inline-block;background-color:var(--gidsFlyoutPanel-background);color:var(--gidsFlyoutPanel-text-color);border-radius:var(--gidsFlyoutPanel-border-radius);box-shadow:var(--gidsFlyoutPanel-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=flyout-panel]:focus{outline:none}[part=flyout-panel].gids-flyout-panel--visible{pointer-events:initial;opacity:1}";
80
+ }
81
+ }, [257, "gids-flyout-panel", { htmlFor: [513, "for"], placement: [513] }, void 0, { placement: [{ placementChanged: 0 }], htmlFor: [{ htmlForChanged: 0 }] }]), c = (e) => {
82
+ if (!(e instanceof u) || e.tabIndex === -1 || e.hasAttribute("disabled")) return !1;
83
+ const t = getComputedStyle(e);
84
+ if (t.display === "none" || t.visibility === "hidden" || e.hidden) return !1;
85
+ try {
86
+ const l = e.tabIndex;
87
+ e.tabIndex = -1, e.focus();
88
+ const n = document.activeElement === e;
89
+ return e.tabIndex = l, n && e.blur(), n;
90
+ } catch {
91
+ return !1;
92
+ }
93
+ }, d = (e) => {
94
+ const t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (a) => c(a) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP }), l = [];
95
+ c(e) && l.push(e);
96
+ let n = t.nextNode();
97
+ for (; n !== null; ) l.push(n), n = t.nextNode();
98
+ return l;
99
+ };
100
+ function g() {
101
+ typeof customElements < "u" && ["gids-flyout-panel"].forEach(((e) => {
102
+ e === "gids-flyout-panel" && (customElements.get(r(e)) || customElements.define(r(e), h));
103
+ }));
104
+ }
105
+ g();
106
+ const P = h, k = g;
107
+ export {
108
+ P as GidsFlyoutPanel,
109
+ k as defineCustomElement
110
+ };
@@ -1,4 +1,4 @@
1
- import { c as e, h as t } from "./p-bhEHIxPv-ujyxL30O.js";
1
+ import { l as e, h as t } from "./p-Dw_kb9MC-BTd0lrGA.js";
2
2
  const a = e, i = t;
3
3
  export {
4
4
  a as GidsHeaderNavigationItem,
@@ -1,8 +1,8 @@
1
- import { L as f, u as M, D as r, P as S, q as p } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { d as C } from "./p-D4Pimu_8-ARSuGBs4.js";
3
- import { b as N } from "./p-BrYLEey4-DuajY4uD.js";
1
+ import { L as f, u as M, D as r, P as S, q as p } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { d as C } from "./p-iQRr_fAH-ClfWEu03.js";
3
+ import { b as N } from "./p-KQxuw_F--BTSoDfF9.js";
4
4
  import { e as y } from "./p-ChV9xqsO-CJSPCx6p.js";
5
- import { h as x } from "./p-bhEHIxPv-ujyxL30O.js";
5
+ import { h as x } from "./p-Dw_kb9MC-BTd0lrGA.js";
6
6
  import { c as b } from "./clsx-OuTLNxxd.js";
7
7
  const E = ({ mode: a, type: e }, t) => b("gids-header-navigation", {
8
8
  // Modes
@@ -103,7 +103,7 @@ const E = ({ mode: a, type: e }, t) => b("gids-header-navigation", {
103
103
  }
104
104
  render() {
105
105
  const a = this?.appearance ?? "default", e = this?.selectionAppearance ?? "default", t = this?.applyShadow ?? !1, d = this?.applySeparators ?? !1, n = this?.borderRadius ?? "none", u = this?.mode ?? "wrap", l = this?.type ?? "gap", s = this?.size ?? "md", h = this?.navMenus ?? [], o = this?.selectionType ?? "single-deselection-not-allowed", I = w({ mode: u, type: l });
106
- return r(S, { key: "e21ba360d14f0095b3070d5b88a4d153c8e36a99", class: I }, h.map(((i, m) => r("div", { key: "" + (m + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": l === "standard" }) }, r("gids-header-navigation-item", { ...i, id: i.id, menuId: i?.menuId, menuItems: i?.menuItems ?? [], label: i?.label, size: s, appearance: a, selectionAppearance: e, applyShadow: t, borderRadius: n, expanded: this.isThisMenuExpanded(i?.menuId), selected: this.isThisNavigationItemSelected(i?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: o, onPressNavigationItem: (c) => this.onNavigationItemPress({ event: c, itemIndex: m }), onMenuItemChange: (c) => this.onNavigationMenuItemChange({ event: c, itemIndex: m }) }, i?.leadingIconName && i.leadingIconName !== "(none)" ? r(C, { slot: "headerNavItemLeadingIcon", name: i.leadingIconName, size: s !== "xl" ? s : "lg", alt: "", appearance: "regular" }) : void 0), d && m < h.length - 1 ? r(N, { orientation: "vertical" }) : void 0))));
106
+ return r(S, { key: "277cd1197cd4e7b442e9c65ba5430effe4f34afb", class: I }, h.map(((i, m) => r("div", { key: "" + (m + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": l === "standard" }) }, r("gids-header-navigation-item", { ...i, id: i.id, menuId: i?.menuId, menuItems: i?.menuItems ?? [], label: i?.label, size: s, appearance: a, selectionAppearance: e, applyShadow: t, borderRadius: n, expanded: this.isThisMenuExpanded(i?.menuId), selected: this.isThisNavigationItemSelected(i?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: o, onPressNavigationItem: (c) => this.onNavigationItemPress({ event: c, itemIndex: m }), onMenuItemChange: (c) => this.onNavigationMenuItemChange({ event: c, itemIndex: m }) }, i?.leadingIconName && i.leadingIconName !== "(none)" ? r(C, { slot: "headerNavItemLeadingIcon", name: i.leadingIconName, size: s !== "xl" ? s : "lg", alt: "", appearance: "regular" }) : void 0), d && m < h.length - 1 ? r(N, { orientation: "vertical" }) : void 0))));
107
107
  }
108
108
  get hostElement() {
109
109
  return this;
@@ -1,6 +1,6 @@
1
- import { a as o, c as s } from "./p-CCpxJ8wu-CMYQqNoP.js";
2
- const t = o, m = s;
1
+ import { n as o, d as s } from "./p-DKOr5iAk-DA3Kc4Cn.js";
2
+ const n = o, t = s;
3
3
  export {
4
- t as GidsIcon,
5
- m as defineCustomElement
4
+ n as GidsIcon,
5
+ t as defineCustomElement
6
6
  };
@@ -1,5 +1,5 @@
1
- import { d as s, r } from "./p-u06XOrpj-C1tNznDd.js";
2
- const e = s, o = r;
1
+ import { l as r, r as s } from "./p-j2_DKwBz-CqyuxxnN.js";
2
+ const e = r, o = s;
3
3
  export {
4
4
  e as GidsInput,
5
5
  o as defineCustomElement
@@ -1,5 +1,5 @@
1
- import { d as e, h as o } from "./p-Degg_WJz-ORZcjc8G.js";
2
- const t = e, m = o;
1
+ import { d as e, h as s } from "./p-83YZrIJw-Cu-e6WD3.js";
2
+ const t = e, m = s;
3
3
  export {
4
4
  t as GidsLevelGauge,
5
5
  m as defineCustomElement
@@ -1,6 +1,6 @@
1
- import { g as e, c as t } from "./p-Co23kQaH-QJyKkzgc.js";
2
- const s = e, a = t;
1
+ import { g as e, c as s } from "./p-CH4nrjpL-CrEJXTn0.js";
2
+ const o = e, r = s;
3
3
  export {
4
- s as GidsLineChart,
5
- a as defineCustomElement
4
+ o as GidsLineChart,
5
+ r as defineCustomElement
6
6
  };
@@ -1,7 +1,7 @@
1
- import { L as q, u as M, D as d, P as E, F as K, q as I } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { o as $ } from "./p-C2POfZhu-DzG_JxV6.js";
3
- import { d as S } from "./p-D4Pimu_8-ARSuGBs4.js";
4
- import { o as J } from "./p-UVmSPzTd-CR1higgJ.js";
1
+ import { L as q, u as M, D as d, P as E, F as K, q as I } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { o as $ } from "./p-BsC3-MVH-j4fPhip5.js";
3
+ import { d as S } from "./p-iQRr_fAH-ClfWEu03.js";
4
+ import { o as J } from "./p-Dg_WeHpV-DehzGL6g.js";
5
5
  import { c as B } from "./clsx-OuTLNxxd.js";
6
6
  const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName && e.leadingIconName !== "" || e?.trailingIconName && e.trailingIconName !== ""), Q = ({ cellActionButton: e, neededIconType: t = "leading" }) => t === "trailing" ? {
7
7
  cellIconName: e?.trailingIconName,
@@ -178,7 +178,7 @@ const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName
178
178
  }
179
179
  render() {
180
180
  const e = pe({ width: this.width }), t = this.isTopHeaderVisible, a = this.getTopHeaderCells(), l = this?.constructedTableBodyData ?? [];
181
- return d(E, { key: "60af8ea62394a418efefe9bf46d0008f1f0200d4", class: e }, d("table", { key: "962e075bf378ef34c69fb14ae5d456b25803bc26", class: this.getTableClasses() }, t ? d(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: a, width: this.width }) : void 0, d("tbody", { key: "175eeebdc1400e2e9a344de972b00f9fdcce21c0" }, l.length > 0 ? l.map(((r) => d(D, { layout: "horizontal", rows: r?.items ?? [], width: this.width }))) : void 0)));
181
+ return d(E, { key: "149503cf732a979d70841de56fb5a48aefc6dd1d", class: e }, d("table", { key: "4ec02288773274ed0856493709f09637d999b94e", class: this.getTableClasses() }, t ? d(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: a, width: this.width }) : void 0, d("tbody", { key: "e4d16bb9f0ae934c1551f5c866fb353bf74f8ac6" }, l.length > 0 ? l.map(((r) => d(D, { layout: "horizontal", rows: r?.items ?? [], width: this.width }))) : void 0)));
182
182
  }
183
183
  get hostElement() {
184
184
  return this;
@@ -1,4 +1,4 @@
1
- import { L as e, u as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as e, u as s, q as i } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { e as a } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const o = e(class extends s {
4
4
  constructor(t) {
@@ -1,9 +1,9 @@
1
- import { L as a, u as n, D as e, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as a, u as n, D as e, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
- showGidsOverflowContainerBottomShadow: h,
6
- showGidsOverflowContainerTopShadow: c
5
+ showGidsOverflowContainerBottomShadow: c,
6
+ showGidsOverflowContainerTopShadow: h
7
7
  }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
8
8
  constructor(t) {
9
9
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
@@ -20,7 +20,7 @@ const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" ||
20
20
  this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
21
21
  }
22
22
  render() {
23
- return e("div", { key: "cd83395337678f4f497c73dff4dc20e64c586838", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "d8344e1fd7cb5ffd06c996c41bfa2ac7db2048c7" }));
23
+ return e("div", { key: "a4664a98e3e473eb4067a1d25ab9440ca3609253", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "df5ada977be1fef755d901097519fa12de591bbe" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
@@ -1,8 +1,8 @@
1
- import { L as C, u as y, D as o, F as w, q as f } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as C, u as y, D as o, F as w, q as f } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { e as N, n as g } from "./p-CVtNa0cL-sSVeJsR3.js";
4
- import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
5
- import { o as u } from "./p-UVmSPzTd-CR1higgJ.js";
4
+ import { d as p } from "./p-iQRr_fAH-ClfWEu03.js";
5
+ import { o as u } from "./p-Dg_WeHpV-DehzGL6g.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
7
  const Q = ({ appearance: t }, e) => h("gids-notification-container", {
8
8
  // 'gids-notification-container--appearance-default': appearance === 'default' // its a default
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
187
187
  }
188
188
  render() {
189
189
  const t = this._allowedComponentQueue[0]?.position || "bottom-center";
190
- return o(w, { key: "4a91595d7251366ce27a84de27cfb0c33e1627e7" }, o("slot", { key: "4782807311af412105091c5cd31b99a313a6973a" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "9b08b3e4542dd26ea2f7097b71f65205f75ff35b" }, o("slot", { key: "6ee78e50172ae07b8f0370ee6bc0438ae5275d8d" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
191
191
  }
192
192
  get _el() {
193
193
  return this;
@@ -1,11 +1,11 @@
1
- import { L as S, u as P, z as v, C as x, D as i, F as T, q as h } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as S, u as P, z as v, C as x, D as i, F as T, q as h } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as F } from "./p-Dg2yoUxw-DliMstZy.js";
4
- import { r as L } from "./p-UxDcM-C5-BJO4X0jM.js";
5
- import { o as O } from "./p-UVmSPzTd-CR1higgJ.js";
6
- import { g as k, d as j } from "./p-D4Pimu_8-ARSuGBs4.js";
7
- import { h as z } from "./p-DbaNvRpS-r7kCW1TY.js";
8
- import { r as E } from "./p-u06XOrpj-C1tNznDd.js";
3
+ import { s as F } from "./p-BkxmRN-4-DSiXCW8b.js";
4
+ import { r as L } from "./p-Do_VlNHg-_g7lcvwR.js";
5
+ import { o as O } from "./p-Dg_WeHpV-DehzGL6g.js";
6
+ import { g as k, d as j } from "./p-iQRr_fAH-ClfWEu03.js";
7
+ import { h as z } from "./p-CrqHKmjy-DwSsCofb.js";
8
+ import { r as E } from "./p-j2_DKwBz-CqyuxxnN.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
10
  const G = (e) => {
11
11
  switch (e) {
@@ -40,7 +40,7 @@ const G = (e) => {
40
40
  return e && e.length > 0 && e.map((s) => {
41
41
  s?.requirementRule && t.push(s.requirementRule);
42
42
  }), t;
43
- }, D = ({ rule: e, textMinLength: t = 0, text: s }) => {
43
+ }, N = ({ rule: e, textMinLength: t = 0, text: s }) => {
44
44
  if (!s || s === "" || !e && !t)
45
45
  return !1;
46
46
  switch (e) {
@@ -89,9 +89,9 @@ const G = (e) => {
89
89
  defaultMeterRules: R(t),
90
90
  defaultRequirementsMeterRules: t
91
91
  };
92
- }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92
+ }, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93
93
  __proto__: null,
94
- checkRequirementRuleSatisfied: D,
94
+ checkRequirementRuleSatisfied: N,
95
95
  getDefaultRulesAndRequirementsForMeters: m,
96
96
  getMeterRulesFromRequirements: R,
97
97
  minLengthRuleCanBeApplied: o
@@ -108,10 +108,10 @@ const G = (e) => {
108
108
  default:
109
109
  return "globe";
110
110
  }
111
- }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
+ }, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
113
  getRequirementsMeterLabelLeadingIcon: V
114
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: H } = B, Z = (e) => e === "implicit" || e === void 0 ? "implicit" : H(e), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
114
+ }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: U } = B, Z = (e) => e === "implicit" || e === void 0 ? "implicit" : U(e), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
116
  inputToGidsFieldStatusForPassword: Z
117
117
  }, Symbol.toStringTag, { value: "Module" })), J = ({ status: e }, t) => g("gids-requirements-meter-label", {
@@ -137,10 +137,10 @@ const G = (e) => {
137
137
  return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, w) : null : a(d, u, w);
138
138
  }));
139
139
  })()) : null;
140
- }, { getGidsRequirementsMeterLabelClassNames: ne } = K, { getRequirementsMeterLabelLeadingIcon: le } = U, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = K, { getRequirementsMeterLabelLeadingIcon: le } = H, ae = (e) => {
141
141
  const { label: t, status: s = "default", leadingIconVisible: n = !0, class: a } = e, r = le(s);
142
142
  return i("div", { class: ne({ status: s }, a) }, n && s && r ? i(j, { name: r, size: "sm", appearance: "filled" }) : null, t && t !== "" ? i("span", null, t) : null);
143
- }, { checkRequirementRuleSatisfied: ue } = N, { getGidsRequirementsMeterClassNames: de } = X, oe = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
143
+ }, { checkRequirementRuleSatisfied: ue } = D, { getGidsRequirementsMeterClassNames: de } = X, oe = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
144
144
  const a = (r, l) => i(ae, { status: l ? "success" : "error", label: r.requirementText });
145
145
  return i("div", { class: de(n) }, e.map(((r) => {
146
146
  if (r?.requirementText != null && r?.requirementRule != null) {
@@ -191,7 +191,7 @@ const G = (e) => {
191
191
  #e;
192
192
  render() {
193
193
  const { id: e, ...t } = this.inputProps ?? {}, s = e ?? this.#t, n = this.showClearButton && this.value !== void 0 && this.value.length > 0, a = this.showRevealPasswordButton, r = { ...t }, l = r?.placeholder !== void 0 && r.placeholder !== null && r.placeholder != "" ? r.placeholder : "Enter password", u = this.isPasswordRevealed, _ = this.meterRules, c = this.textMinLength !== void 0 ? this.textMinLength : 8;
194
- return i(T, { key: "7df7d3728c9f711a3c00768c55298d752e8a07b5" }, i("gids-field", { key: "2392eda0b4df36a21b4b3f149a250bfea9f16727", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "159069efc87c3f8692555b9fbee07874fc2a304f", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "2c99942f57e718374276796cd933b454a10d4dd7", ref: (d) => this.#e = d, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "9307a86dd8fc6e43ddae1d2ff6b2174794e29048", name: "leadingIcon" }), i("slot", { key: "b3726c1b4d47ed2bacdc4a5b2ef089a905595edd", name: "leadingAccessory" }), i("div", { key: "cfec09576f336a83bafde345ea8234e658916bd2", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "915ae8aaf871c6d98a28941924d5388ddb033baa", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "0564d39de2f6b6cebe1ce48758b424af3351145e", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "44c403d7a597739b19916d00e642b31af48273ec", class: "gids-password-field__meters-container" }, i(ie, { key: "75fd0f35471e85774ef531e333e73d2d41d6f21b", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "4d8de1a229975bee753e6959d540df947199b83c", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "33d42d67ea997bb2211c70f79f0f0c68b4d5aa0b" }, i("gids-field", { key: "0516b66d60f440703d05611b811724ed83b0615e", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "b2d0edc9e74776be766c37ea423f5d810de39360", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "d98ecca02fcc0e415505de1c3da64bd1fbbef7cc", ref: (d) => this.#e = d, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "911415321782269e1a2963a0d8e54475fd12290d", name: "leadingIcon" }), i("slot", { key: "3405d4af56614f95da92da66a82922a55c249c97", name: "leadingAccessory" }), i("div", { key: "0456836067f779a41359ccf41e865fadefd1b6ae", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "a656b56bd471a945ce3484047d03392ec8907920", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "408e89f1ddec04984b9f5bb915da9d68b0076eb4", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "bf780a37fd0ca6a4ca773ad635ad7a4ce1505633", class: "gids-password-field__meters-container" }, i(ie, { key: "c0402c0aed753fad61628defdd15cdba196435ee", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "269763f5c9f138c0de85e36357fd985064705a8f", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -1,6 +1,6 @@
1
- import { n as e, c as t } from "./p-DELTZ9Fh-Byr0nLtY.js";
2
- const r = e, s = t;
1
+ import { n as e, c as s } from "./p-DrDadv7P-D4rbSYTr.js";
2
+ const o = e, a = s;
3
3
  export {
4
- r as GidsPieChart,
5
- s as defineCustomElement
4
+ o as GidsPieChart,
5
+ a as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { L as v, u as p, D as a, F as f, q as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { l as E } from "./p-BBszCFSA-BN0-eWJX.js";
3
- import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
1
+ import { L as v, u as p, D as a, F as f, q as l } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { c as E } from "./p-CTri3IsV-B1u0rrXF.js";
3
+ import { o as b } from "./p-CPgZgSBN-DsTNcUR7.js";
4
4
  const h = v(class extends p {
5
5
  constructor(e) {
6
6
  super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.placement = "bottom", this.previouslyFocusedElement = null, this.focusableElements = [], this.handleToggleEvent = (t) => {
@@ -64,7 +64,7 @@ const h = v(class extends p {
64
64
  e && e.removeEventListener("click", this.handleToggleEvent), document.removeEventListener("click", this.handleDocumentClick), document.removeEventListener("keydown", this.handleKeyDown);
65
65
  }
66
66
  render() {
67
- return a(f, { key: "069d0a9b27894896c2404c8f944745706522717a" }, a("slot", { key: "181cbaf400aaa8601fa5d5e0c33c526e6f0978d8", name: "anchor" }), a("div", { key: "b45cde4ef3461c11ec9d79401b7cb2574f9019b7", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "2552aaa4f343229e4bf302677e7680f2f180b6f4", id: "arrow" }), a("div", { key: "824fc2495120d154e9b190cd11f3cac48cee3890" }, a("slot", { key: "60e1718fb6b9e02f5aa84a2b93d40d58d1fcceca" }))));
67
+ return a(f, { key: "73497d9ef4f14eebabf001242caef76381b5991d" }, a("slot", { key: "7b765462348d7a0c4340bdefd665d5b06149f404", name: "anchor" }), a("div", { key: "c08d46d227c0a7427d6e32f7999cfe0bc4ef7761", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "f7d42809d784ac6a83ccf02fc0d3d206429cdd8c", id: "arrow" }), a("div", { key: "869b33ab701c0fe3bd1e9e98e1174366d78a9807" }, a("slot", { key: "9c3e5e4d37cc1da657984f1807e8f000011f8161" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,4 +1,4 @@
1
- import { _ as e, u as o } from "./p-oJFgjzK5-CzagP1qD.js";
1
+ import { _ as e, u as o } from "./p-B0hLXifA-CoImnX3T.js";
2
2
  const s = e, t = o;
3
3
  export {
4
4
  s as GidsProfileMenuHeader,
@@ -1,6 +1,6 @@
1
- import { p as e, c as o } from "./p-CcpdJCql-CkEW2RAp.js";
2
- const r = e, t = o;
1
+ import { c as e, u as o } from "./p-Cf3Ny79u-VGT_IyGI.js";
2
+ const s = e, t = o;
3
3
  export {
4
- r as GidsProfileMenu,
4
+ s as GidsProfileMenu,
5
5
  t as defineCustomElement
6
6
  };
@@ -1,10 +1,10 @@
1
- import { L as z, u as B, D as r, P as L, q as c } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { m as H, l as R, u as $ } from "./p-oJFgjzK5-CzagP1qD.js";
3
- import { p as j } from "./p-CXFvqDBs-offadaUn.js";
4
- import { d as b } from "./p-D4Pimu_8-ARSuGBs4.js";
5
- import { c as G } from "./p-CcpdJCql-CkEW2RAp.js";
6
- import { c as q } from "./clsx-OuTLNxxd.js";
7
- const N = ({ profileControlAppearance: e, profileControlBorderRadius: i, profileControlShadow: o, expanded: a }, l) => q("gids-profile", {
1
+ import { L as z, u as B, D as o, P as L, q as c } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { m as R, l as $, u as j } from "./p-B0hLXifA-CoImnX3T.js";
3
+ import { p as G } from "./p-CcKHKwS0-Bw63tTOA.js";
4
+ import { d as b } from "./p-iQRr_fAH-ClfWEu03.js";
5
+ import { u as q } from "./p-Cf3Ny79u-VGT_IyGI.js";
6
+ import { c as N } from "./clsx-OuTLNxxd.js";
7
+ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profileControlShadow: r, expanded: a }, l) => N("gids-profile", {
8
8
  // Appearances
9
9
  // 'gids-profile--appearance-default': profileControlAppearance === 'default', // By default so not needed
10
10
  "gids-profile--appearance-brand": e === "brand",
@@ -21,12 +21,12 @@ const N = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
21
21
  "gids-profile--border-radius-full": i === "full",
22
22
  // Shadows
23
23
  // 'gids-profile--shadow-none': profileControlShadow === 'none', // By default so not needed
24
- "gids-profile--shadow-overflow": o === "overflow",
25
- "gids-profile--shadow-overlay": o === "overlay",
26
- "gids-profile--shadow-raised": o === "raised",
24
+ "gids-profile--shadow-overflow": r === "overflow",
25
+ "gids-profile--shadow-overlay": r === "overlay",
26
+ "gids-profile--shadow-raised": r === "raised",
27
27
  // Expansion
28
28
  "gids-profile--expanded": a
29
- }, l), O = ({ profileControlAppearance: e }) => {
29
+ }, l), F = ({ profileControlAppearance: e }) => {
30
30
  switch (e) {
31
31
  case "brand":
32
32
  return {
@@ -64,32 +64,38 @@ const N = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
64
64
  supportingTextClasses: "gids-profile__supporting-text-typography gids-profile__supporting-text-default"
65
65
  };
66
66
  }
67
- }, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
67
+ }, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
68
68
  __proto__: null,
69
- getGidsProfileClassNames: N,
70
- getGidsProfileTextClassNames: O
71
- }, Symbol.toStringTag, { value: "Module" })), { getGidsProfileClassNames: W, getGidsProfileTextClassNames: J } = F, { getProfileHeaderMenuAvatarText: K } = R, C = z(class extends B {
69
+ getGidsProfileClassNames: O,
70
+ getGidsProfileTextClassNames: F
71
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsProfileClassNames: J, getGidsProfileTextClassNames: K } = W, { getProfileHeaderMenuAvatarText: Q } = $, C = z(class extends B {
72
72
  constructor(e) {
73
- super(), e !== !1 && this.__registerHost(), this.expanded = !1, this.profileControlAppearance = "default", this.profileControlAvatarVisible = !0, this.profileControlAvatarBadgeVisible = !0, this.profileControlBorderRadius = "none", this.profileControlShadow = "none", this.profileControlLeadingIconSize = "sm", this.profileControlTrailingIconSize = "sm", this.profileControlLeadingIconAppearance = "filled", this.profileControlTrailingIconAppearance = "filled", this.profileMenuItems = [], this.headerDividerVisible = !1, this.headerVisible = !1, this.listSectionDividerVisible = !1, this.isMenuExpanded = !1, this.onProfileControlPress = (i) => {
74
- if (this.hasMenu()) {
75
- const o = !this.isMenuExpanded;
76
- this.isMenuExpanded = o, this.onPressProfileControl && this.onPressProfileControl({ originalEvent: i, id: this.id, menuId: this?.menuId, expanded: o, profileControlTitle: this?.profileControlTitle, profileControlSupportingText: this?.profileControlSupportingText });
73
+ super(), e !== !1 && this.__registerHost(), this.expanded = !1, this.profileControlAppearance = "default", this.profileControlAvatarVisible = !0, this.profileControlAvatarBadgeVisible = !0, this.profileControlBorderRadius = "none", this.profileControlShadow = "none", this.profileControlLeadingIconSize = "sm", this.profileControlTrailingIconSize = "sm", this.profileControlLeadingIconAppearance = "filled", this.profileControlTrailingIconAppearance = "filled", this.profileMenuItems = [], this.headerDividerVisible = !1, this.headerVisible = !1, this.listSectionDividerVisible = !1, this.isMenuExpanded = !1, this.selectedProfileMenuItemId = void 0, this.onProfileControlPress = (i) => {
74
+ if (i && i.stopPropagation(), this.hasMenu()) {
75
+ const r = !this.isMenuExpanded;
76
+ this.isMenuExpanded = r, this.onPressProfileControl && this.onPressProfileControl({ originalEvent: i, id: this.id, menuId: this?.menuId, expanded: r, profileControlTitle: this?.profileControlTitle, profileControlSupportingText: this?.profileControlSupportingText });
77
77
  }
78
78
  }, this.onPressProfileMenuItem = (i) => {
79
- this.isMenuExpanded = !1, this.onPressProfileMenuItem && this.onPressProfileMenuItem({ ...i });
79
+ i?.originalEvent && (i.originalEvent?.stopPropagation(), i.originalEvent?.preventDefault()), this.isMenuExpanded = !1, this.selectedProfileMenuItemId = i.id, this.onProfileMenuItemPress && this.onProfileMenuItemPress({ ...i });
80
+ }, this.onPressHeaderAvatar = (i) => {
81
+ i?.originalEvent && i.originalEvent?.stopPropagation(), this.isMenuExpanded = !1, this.onHeaderAvatarPress && this.onHeaderAvatarPress({ ...i });
82
+ }, this.onPressHeaderTitle = (i) => {
83
+ i?.originalEvent && i.originalEvent?.stopPropagation(), this.isMenuExpanded = !1, this.onHeaderAvatarPress && this.onHeaderAvatarPress({ ...i });
84
+ }, this.onPressHeaderSupportingText = (i) => {
85
+ i?.originalEvent && i.originalEvent?.stopPropagation(), this.isMenuExpanded = !1, this.onHeaderAvatarPress && this.onHeaderAvatarPress({ ...i });
80
86
  }, this.positionProfileMenu = () => {
81
87
  const i = this.hostElement?.querySelector(".gids-profile__dropdown-menu-container");
82
88
  if (!i) return;
83
- const o = this.hostElement.getBoundingClientRect(), a = window.innerWidth, l = window.innerHeight;
89
+ const r = this.hostElement.getBoundingClientRect(), a = window.innerWidth, l = window.innerHeight;
84
90
  i.style.maxHeight = "none";
85
- const g = i.getBoundingClientRect(), s = l - o.bottom - 8, n = o.top - 4, d = g.height > s && n > s, f = d ? n : s;
91
+ const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s, f = d ? n : s;
86
92
  i.style.maxHeight = g.height > f ? f + "px" : "none";
87
93
  const p = i.getBoundingClientRect();
88
- let t = o.left;
89
- t + p.width > a - 4 && (t = a - p.width - 4), t < 4 && (t = 4), i.style.left = t - o.left + "px", i.style.top = d ? -p.height - 4 + "px" : o.height + 4 + "px";
94
+ let t = r.left;
95
+ t + p.width > a - 4 && (t = a - p.width - 4), t < 4 && (t = 4), i.style.left = t - r.left + "px", i.style.top = d ? -p.height - 4 + "px" : r.height + 4 + "px";
90
96
  }, this.getProfileControlAvatarText = () => {
91
- const i = this?.profileControlAvatarProps, o = this?.profileControlTitle;
92
- return i?.text ?? K({ headerTitle: o });
97
+ const i = this?.profileControlAvatarProps, r = this?.profileControlTitle;
98
+ return i?.text ?? Q({ headerTitle: r });
93
99
  }, this.hasHeaderItem = () => {
94
100
  const i = this?.headerItem;
95
101
  return !(!this?.headerVisible || !(i?.avatarVisible || i?.avatarProps && Object.keys(i).length > 0 || i?.headerSupportingText || i?.headerTitle));
@@ -163,9 +169,9 @@ const N = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
163
169
  document.removeEventListener("click", this.handleDocumentClick);
164
170
  }
165
171
  render() {
166
- const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, o = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, f = this?.profileControlTitle ?? "", p = this?.profileControlSupportingText ?? "", t = this?.profileMenuItems ?? [], _ = this?.headerDividerVisible ?? !1, x = this?.headerVisible ?? !1, y = this?.headerItem, I = this?.listSectionDividerVisible ?? !1, w = this?.menuId, h = this?.isMenuExpanded ?? !1, u = this.hasMenu(), k = this?.profileControlLeadingIconSize ?? "sm", T = this?.profileControlTrailingIconSize ?? "sm", P = this?.profileControlLeadingIconAppearance ?? "filled", V = this?.profileControlTrailingIconAppearance ?? "filled", A = W({ profileControlAppearance: e, profileControlBorderRadius: g, profileControlShadow: s, expanded: h && u }), S = i?.size ?? "sm", { titleClasses: M, supportingTextClasses: D } = J({ profileControlAppearance: e });
172
+ const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, r = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, f = this?.profileControlTitle ?? "", p = this?.profileControlSupportingText ?? "", t = this?.profileMenuItems ?? [], _ = this?.headerDividerVisible ?? !1, x = this?.headerVisible ?? !1, y = this?.headerItem, I = this?.listSectionDividerVisible ?? !1, P = this?.menuId, h = this?.isMenuExpanded ?? !1, u = this.hasMenu(), w = this.selectedProfileMenuItemId, k = this?.profileControlLeadingIconSize ?? "sm", T = this?.profileControlTrailingIconSize ?? "sm", A = this?.profileControlLeadingIconAppearance ?? "filled", V = this?.profileControlTrailingIconAppearance ?? "filled", M = J({ profileControlAppearance: e, profileControlBorderRadius: g, profileControlShadow: s, expanded: h && u }), S = i?.size ?? "sm", { titleClasses: E, supportingTextClasses: D } = K({ profileControlAppearance: e });
167
173
  let v = i?.color ?? "brand";
168
- return e === "brand" && (v = i?.color ?? "default"), r(L, { key: "e3b93542314bfff5a8f7c901b83fb66aa6339df5", class: A, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? r(b, { name: n, size: k, appearance: P }) : void 0, r("div", { key: "4d9c9cb57ead65b8f9df399f1aca1588d34d9746", class: "gids-profile__main-container" }, a ? r(H, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? r(j, { appearance: o?.appearance ?? "information", type: o?.type, count: o?.count, outline: o?.outline }) : void 0 }) : void 0, r("div", { key: "0f77df6a414da0a0c4322aff50790354ff43d0a0", class: "gids-profile__content-container" }, r("span", { key: "a5b101bb070f00b90615e5589f31db479d0c9dc2", class: M }, f), r("p", { key: "d55873ea2defcd4d456a513daecc8e3e907984fe", class: D }, p))), d ? r(b, { name: d, size: T, appearance: V }) : void 0, u && h ? r("div", { class: "gids-profile__dropdown-menu-container", id: w, role: "profilePickerbox", onClick: (E) => E.stopPropagation() }, r("gids-profile-menu", { headerItem: y, headerDividerVisible: _, headerVisible: x, listSectionDividerVisible: I, profileMenuItems: t, onHeaderAvatarPress: this.onHeaderAvatarPress, onHeaderTitlePress: this.onHeaderTitlePress, onHeaderSupportingTextPress: this.onHeaderSupportingTextPress, onProfileMenuItemPress: this.onPressProfileMenuItem })) : void 0);
174
+ return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "af2b1019426d4afb25d17e13cbcfd9c68ff93ae3", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "0236ae2295f37e17c119fb2aef82ce640e0f5176", class: "gids-profile__main-container" }, a ? o(R, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? o(G, { appearance: r?.appearance ?? "information", type: r?.type, count: r?.count, outline: r?.outline }) : void 0 }) : void 0, o("div", { key: "24ff9b5beb2f85c80bd6f4995f121c07ea419a30", class: "gids-profile__content-container" }, o("span", { key: "eee7c917840c9e50235c7ff6a1521257aad5b7b0", class: E }, f), o("p", { key: "13f067ccbf54ec8562644a80959f78a0ece5ac68", class: D }, p))), d ? o(b, { name: d, size: T, appearance: V }) : void 0, u && h ? o("div", { class: "gids-profile__dropdown-menu-container", id: P, role: "profilePickerbox", onClick: (H) => H.stopPropagation() }, o("gids-profile-menu", { headerItem: y, headerDividerVisible: _, headerVisible: x, listSectionDividerVisible: I, profileMenuItems: t, onHeaderAvatarPress: this.onPressHeaderAvatar, onHeaderTitlePress: this.onPressHeaderTitle, onHeaderSupportingTextPress: this.onPressHeaderSupportingText, onProfileMenuItemPress: this.onPressProfileMenuItem, selectedProfileMenuItemId: w })) : void 0);
169
175
  }
170
176
  get hostElement() {
171
177
  return this;
@@ -174,9 +180,9 @@ const N = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
174
180
  return { id: [{ idChanged: 0 }], profileControlAppearance: [{ profileControlAppearanceChanged: 0 }], profileControlAvatarProps: [{ profileControlAvatarPropsChanged: 0 }], expanded: [{ expansionChanged: 0 }], profileControlAvatarVisible: [{ profileControlAvatarVisibleChanged: 0 }], profileControlAvatarBadgeVisible: [{ profileControlAvatarBadgeVisibleChanged: 0 }], profileControlBorderRadius: [{ profileControlBorderRadiusChanged: 0 }], profileControlShadow: [{ profileControlShadowChanged: 0 }], listSectionDividerVisible: [{ listSectionDividerVisibleChanged: 0 }], profileControlLeadingIcon: [{ profileControlLeadingIconChanged: 0 }], profileControlTrailingIcon: [{ profileControlTrailingIconChanged: 0 }], profileControlTitle: [{ profileControlTitleChanged: 0 }], profileControlSupportingText: [{ profileControlSupportingTextChanged: 0 }], headerDividerVisible: [{ headerDividerVisibleChanged: 0 }], headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] };
175
181
  }
176
182
  static get style() {
177
- return ".gids-profile{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--gids-gap-150);cursor:pointer;background-color:var(--gids-color-background-neutral-default);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-200);--gidsIcon-color:var(--gids-color-icon-subtle);border-radius:var(--gids-border-radius-none)}.gids-profile:hover{background-color:var(--gids-color-background-neutral-hovered)}.gids-profile:active{background-color:var(--gids-color-background-neutral-pressed)}.gids-profile__main-container{display:flex;align-items:center;flex:1;gap:var(--gids-gap-100)}.gids-profile__content-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.gids-profile__title-typography{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit)}.gids-profile__supporting-text-typography{margin:0;padding:0;font-family:var(--gids-typography-paragraph-x-small__font-family);font-size:var(--gids-typography-paragraph-x-small__font-size);font-weight:var(--gids-typography-paragraph-x-small__font-weight);letter-spacing:var(--gids-typography-paragraph-x-small__letter-spacing);line-height:var(--gids-typography-paragraph-x-small__line-height);text-transform:var(--gids-typography-paragraph-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-x-small__font-variant-caps, inherit)}.gids-profile__title-default{color:var(--gids-color-text-default)}.gids-profile__supporting-text-default{color:var(--gids-color-text-subtlest)}.gids-profile__title-brand{color:var(--gids-color-text-default)}.gids-profile__supporting-text-brand{color:var(--gids-color-text-subtlest)}.gids-profile__title-subtle{color:var(--gids-color-text-default)}.gids-profile__supporting-text-subtle{color:var(--gids-color-text-subtlest)}.gids-profile__title-positive{color:var(--gids-color-text-default)}.gids-profile__supporting-text-positive{color:var(--gids-color-text-subtlest)}.gids-profile__title-information{color:var(--gids-color-text-default)}.gids-profile__supporting-text-information{color:var(--gids-color-text-subtlest)}.gids-profile__title-warning{color:var(--gids-color-text-default)}.gids-profile__supporting-text-warning{color:var(--gids-color-text-subtlest)}.gids-profile__title-danger{color:var(--gids-color-text-default)}.gids-profile__supporting-text-danger{color:var(--gids-color-text-subtlest)}.gids-profile--appearance-brand{background-color:var(--gids-color-background-brand-subtlest-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-brand:hover{background-color:var(--gids-color-background-brand-subtlest-hovered)}.gids-profile--appearance-brand:active{background-color:var(--gids-color-background-brand-subtlest-pressed)}.gids-profile--appearance-danger{background-color:var(--gids-color-background-danger-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-danger:hover{background-color:var(--gids-color-background-danger-hovered)}.gids-profile--appearance-danger:active{background-color:var(--gids-color-background-danger-pressed)}.gids-profile--appearance-information{background-color:var(--gids-color-background-information-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-information:hover{background-color:var(--gids-color-background-information-hovered)}.gids-profile--appearance-information:active{background-color:var(--gids-color-background-information-pressed)}.gids-profile--appearance-positive{background-color:var(--gids-color-background-positive-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-positive:hover{background-color:var(--gids-color-background-positive-hovered)}.gids-profile--appearance-positive:active{background-color:var(--gids-color-background-positive-pressed)}.gids-profile--appearance-subtle{background-color:var(--gids-color-background-neutral-subtle-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-subtle:hover{background-color:var(--gids-color-background-neutral-subtle-hovered)}.gids-profile--appearance-subtle:active{background-color:var(--gids-color-background-neutral-subtle-pressed)}.gids-profile--appearance-warning{background-color:var(--gids-color-background-warning-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-warning:hover{background-color:var(--gids-color-background-warning-hovered)}.gids-profile--appearance-warning:active{background-color:var(--gids-color-background-warning-pressed)}.gids-profile--border-radius-sm{border-radius:var(--gids-border-radius-sm)}.gids-profile--border-radius-md{border-radius:var(--gids-border-radius-md)}.gids-profile--border-radius-lg{border-radius:var(--gids-border-radius-lg)}.gids-profile--border-radius-full{border-radius:var(--gids-border-radius-full)}.gids-profile--shadow-overflow{box-shadow:var(--gids-elevation-shadow-overflow)}.gids-profile--shadow-overlay{box-shadow:var(--gids-elevation-shadow-overlay)}.gids-profile--shadow-raised{box-shadow:var(--gids-elevation-shadow-raised)}.gids-profile__dropdown-menu-container{position:absolute;left: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;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)}.gids-profile__dropdown-menu-container>*{flex-shrink:0}.gids-profile--expanded .gids-profile__dropdown-menu-container{display:flex}.gids-profile--expanded .gids-profile__chevron{transform:rotate(180deg)}";
183
+ return ".gids-profile{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--gids-gap-150);cursor:pointer;background-color:var(--gids-color-background-neutral-default);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-200);--gidsIcon-color:var(--gids-color-icon-subtle);border-radius:var(--gids-border-radius-none)}.gids-profile:hover{background-color:var(--gids-color-background-neutral-hovered)}.gids-profile:active{background-color:var(--gids-color-background-neutral-pressed)}.gids-profile__main-container{display:flex;align-items:center;flex:1;gap:var(--gids-gap-100)}.gids-profile__content-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.gids-profile__title-typography{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit)}.gids-profile__supporting-text-typography{margin:0;padding:0;font-family:var(--gids-typography-paragraph-x-small__font-family);font-size:var(--gids-typography-paragraph-x-small__font-size);font-weight:var(--gids-typography-paragraph-x-small__font-weight);letter-spacing:var(--gids-typography-paragraph-x-small__letter-spacing);line-height:var(--gids-typography-paragraph-x-small__line-height);text-transform:var(--gids-typography-paragraph-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-x-small__font-variant-caps, inherit)}.gids-profile__title-default{color:var(--gids-color-text-default)}.gids-profile__supporting-text-default{color:var(--gids-color-text-subtlest)}.gids-profile__title-brand{color:var(--gids-color-text-default)}.gids-profile__supporting-text-brand{color:var(--gids-color-text-subtlest)}.gids-profile__title-subtle{color:var(--gids-color-text-default)}.gids-profile__supporting-text-subtle{color:var(--gids-color-text-subtlest)}.gids-profile__title-positive{color:var(--gids-color-text-default)}.gids-profile__supporting-text-positive{color:var(--gids-color-text-subtlest)}.gids-profile__title-information{color:var(--gids-color-text-default)}.gids-profile__supporting-text-information{color:var(--gids-color-text-subtlest)}.gids-profile__title-warning{color:var(--gids-color-text-default)}.gids-profile__supporting-text-warning{color:var(--gids-color-text-subtlest)}.gids-profile__title-danger{color:var(--gids-color-text-default)}.gids-profile__supporting-text-danger{color:var(--gids-color-text-subtlest)}.gids-profile--appearance-brand{background-color:var(--gids-color-background-brand-subtlest-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-brand:hover{background-color:var(--gids-color-background-brand-subtlest-hovered)}.gids-profile--appearance-brand:active{background-color:var(--gids-color-background-brand-subtlest-pressed)}.gids-profile--appearance-danger{background-color:var(--gids-color-background-danger-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-danger:hover{background-color:var(--gids-color-background-danger-hovered)}.gids-profile--appearance-danger:active{background-color:var(--gids-color-background-danger-pressed)}.gids-profile--appearance-information{background-color:var(--gids-color-background-information-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-information:hover{background-color:var(--gids-color-background-information-hovered)}.gids-profile--appearance-information:active{background-color:var(--gids-color-background-information-pressed)}.gids-profile--appearance-positive{background-color:var(--gids-color-background-positive-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-positive:hover{background-color:var(--gids-color-background-positive-hovered)}.gids-profile--appearance-positive:active{background-color:var(--gids-color-background-positive-pressed)}.gids-profile--appearance-subtle{background-color:var(--gids-color-background-neutral-subtle-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-subtle:hover{background-color:var(--gids-color-background-neutral-subtle-hovered)}.gids-profile--appearance-subtle:active{background-color:var(--gids-color-background-neutral-subtle-pressed)}.gids-profile--appearance-warning{background-color:var(--gids-color-background-warning-default);--gidsIcon-color:var(--gids-color-icon-subtle)}.gids-profile--appearance-warning:hover{background-color:var(--gids-color-background-warning-hovered)}.gids-profile--appearance-warning:active{background-color:var(--gids-color-background-warning-pressed)}.gids-profile--border-radius-sm{border-radius:var(--gids-border-radius-sm)}.gids-profile--border-radius-md{border-radius:var(--gids-border-radius-md)}.gids-profile--border-radius-lg{border-radius:var(--gids-border-radius-lg)}.gids-profile--border-radius-full{border-radius:var(--gids-border-radius-full)}.gids-profile--shadow-overflow{box-shadow:var(--gids-elevation-shadow-overflow)}.gids-profile--shadow-overlay{box-shadow:var(--gids-elevation-shadow-overlay)}.gids-profile--shadow-raised{box-shadow:var(--gids-elevation-shadow-raised)}.gids-profile__dropdown-menu-container{position:absolute;left: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;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)}.gids-profile__dropdown-menu-container>*{flex-shrink:0}.gids-profile--expanded .gids-profile__dropdown-menu-container{display:flex}";
178
184
  }
179
- }, [0, "gids-profile", { id: [1], menuId: [1, "menu-id"], expanded: [4], profileControlAppearance: [1, "profile-control-appearance"], profileControlAvatarProps: [16], profileControlAvatarVisible: [4, "profile-control-avatar-visible"], profileControlAvatarBadgeVisible: [4, "profile-control-avatar-badge-visible"], profileControlBorderRadius: [1, "profile-control-border-radius"], profileControlShadow: [1, "profile-control-shadow"], profileControlLeadingIcon: [1, "profile-control-leading-icon"], profileControlTrailingIcon: [1, "profile-control-trailing-icon"], profileControlLeadingIconSize: [1, "profile-control-leading-icon-size"], profileControlTrailingIconSize: [1, "profile-control-trailing-icon-size"], profileControlLeadingIconAppearance: [1, "profile-control-leading-icon-appearance"], profileControlTrailingIconAppearance: [1, "profile-control-trailing-icon-appearance"], profileControlTitle: [1, "profile-control-title"], profileControlSupportingText: [1, "profile-control-supporting-text"], profileMenuItems: [16], headerDividerVisible: [4, "header-divider-visible"], headerVisible: [4, "header-visible"], headerItem: [16], listSectionDividerVisible: [4, "list-section-divider-visible"], onHeaderAvatarPress: [16], onHeaderTitlePress: [16], onHeaderSupportingTextPress: [16], onProfileMenuItemPress: [16], onPressProfileControl: [16], isMenuExpanded: [32] }, void 0, { id: [{ idChanged: 0 }], profileControlAppearance: [{ profileControlAppearanceChanged: 0 }], profileControlAvatarProps: [{ profileControlAvatarPropsChanged: 0 }], expanded: [{ expansionChanged: 0 }], profileControlAvatarVisible: [{ profileControlAvatarVisibleChanged: 0 }], profileControlAvatarBadgeVisible: [{ profileControlAvatarBadgeVisibleChanged: 0 }], profileControlBorderRadius: [{ profileControlBorderRadiusChanged: 0 }], profileControlShadow: [{ profileControlShadowChanged: 0 }], listSectionDividerVisible: [{ listSectionDividerVisibleChanged: 0 }], profileControlLeadingIcon: [{ profileControlLeadingIconChanged: 0 }], profileControlTrailingIcon: [{ profileControlTrailingIconChanged: 0 }], profileControlTitle: [{ profileControlTitleChanged: 0 }], profileControlSupportingText: [{ profileControlSupportingTextChanged: 0 }], headerDividerVisible: [{ headerDividerVisibleChanged: 0 }], headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] }]);
185
+ }, [0, "gids-profile", { id: [1], menuId: [1, "menu-id"], expanded: [4], profileControlAppearance: [1, "profile-control-appearance"], profileControlAvatarProps: [16], profileControlAvatarVisible: [4, "profile-control-avatar-visible"], profileControlAvatarBadgeVisible: [4, "profile-control-avatar-badge-visible"], profileControlBorderRadius: [1, "profile-control-border-radius"], profileControlShadow: [1, "profile-control-shadow"], profileControlLeadingIcon: [1, "profile-control-leading-icon"], profileControlTrailingIcon: [1, "profile-control-trailing-icon"], profileControlLeadingIconSize: [1, "profile-control-leading-icon-size"], profileControlTrailingIconSize: [1, "profile-control-trailing-icon-size"], profileControlLeadingIconAppearance: [1, "profile-control-leading-icon-appearance"], profileControlTrailingIconAppearance: [1, "profile-control-trailing-icon-appearance"], profileControlTitle: [1, "profile-control-title"], profileControlSupportingText: [1, "profile-control-supporting-text"], profileMenuItems: [16], headerDividerVisible: [4, "header-divider-visible"], headerVisible: [4, "header-visible"], headerItem: [16], listSectionDividerVisible: [4, "list-section-divider-visible"], onHeaderAvatarPress: [16], onHeaderTitlePress: [16], onHeaderSupportingTextPress: [16], onProfileMenuItemPress: [16], onPressProfileControl: [16], isMenuExpanded: [32], selectedProfileMenuItemId: [32] }, void 0, { id: [{ idChanged: 0 }], profileControlAppearance: [{ profileControlAppearanceChanged: 0 }], profileControlAvatarProps: [{ profileControlAvatarPropsChanged: 0 }], expanded: [{ expansionChanged: 0 }], profileControlAvatarVisible: [{ profileControlAvatarVisibleChanged: 0 }], profileControlAvatarBadgeVisible: [{ profileControlAvatarBadgeVisibleChanged: 0 }], profileControlBorderRadius: [{ profileControlBorderRadiusChanged: 0 }], profileControlShadow: [{ profileControlShadowChanged: 0 }], listSectionDividerVisible: [{ listSectionDividerVisibleChanged: 0 }], profileControlLeadingIcon: [{ profileControlLeadingIconChanged: 0 }], profileControlTrailingIcon: [{ profileControlTrailingIconChanged: 0 }], profileControlTitle: [{ profileControlTitleChanged: 0 }], profileControlSupportingText: [{ profileControlSupportingTextChanged: 0 }], headerDividerVisible: [{ headerDividerVisibleChanged: 0 }], headerItem: [{ headerItemChanged: 0 }], headerVisible: [{ headerVisibleChanged: 0 }], profileMenuItems: [{ profileMenuItemsChanged: 0 }] }]);
180
186
  function m() {
181
187
  typeof customElements < "u" && ["gids-profile", "gids-profile-menu", "gids-profile-menu-header"].forEach(((e) => {
182
188
  switch (e) {
@@ -184,16 +190,16 @@ function m() {
184
190
  customElements.get(c(e)) || customElements.define(c(e), C);
185
191
  break;
186
192
  case "gids-profile-menu":
187
- customElements.get(c(e)) || G();
193
+ customElements.get(c(e)) || q();
188
194
  break;
189
195
  case "gids-profile-menu-header":
190
- customElements.get(c(e)) || $();
196
+ customElements.get(c(e)) || j();
191
197
  }
192
198
  }));
193
199
  }
194
200
  m();
195
- const ie = C, oe = m;
201
+ const re = C, oe = m;
196
202
  export {
197
- ie as GidsProfile,
203
+ re as GidsProfile,
198
204
  oe as defineCustomElement
199
205
  };
@@ -1,4 +1,4 @@
1
- import { h as e, d as r } from "./p-CoS0NuDU-ByDvQAzA.js";
1
+ import { h as e, d as r } from "./p-4zKS6zkg-CujzUjb6.js";
2
2
  const o = e, t = r;
3
3
  export {
4
4
  o as GidsProgressCircle,