@ganpatiinfo/gids-core-web 22.0.0 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/css/index.css +83 -34
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.js +1 -1
  4. package/dist/gids-activity-gauge.js +1 -1
  5. package/dist/gids-advanced-tooltip.js +1 -1
  6. package/dist/gids-bar-chart.js +1 -1
  7. package/dist/gids-bento-card.js +1 -1
  8. package/dist/gids-calendar-header-panel.js +1 -1
  9. package/dist/gids-calendar-month-list.js +1 -1
  10. package/dist/gids-calendar-picker.d.ts +11 -0
  11. package/dist/gids-calendar-picker.js +1 -0
  12. package/dist/gids-calendar-year-list.js +1 -1
  13. package/dist/gids-calendar.js +1 -1
  14. package/dist/gids-chart-legend-item.js +1 -1
  15. package/dist/gids-chart-legend.js +1 -1
  16. package/dist/gids-chart.js +1 -1
  17. package/dist/gids-chevron-button.js +1 -1
  18. package/dist/gids-date-picker-field.d.ts +11 -0
  19. package/dist/gids-date-picker-field.js +1 -0
  20. package/dist/gids-date-picker.d.ts +11 -0
  21. package/dist/gids-date-picker.js +1 -0
  22. package/dist/gids-day-dropdown-picker.d.ts +11 -0
  23. package/dist/gids-day-dropdown-picker.js +1 -0
  24. package/dist/gids-dot.js +1 -1
  25. package/dist/gids-dropdown-field.js +1 -1
  26. package/dist/gids-dropdown-picker.js +1 -1
  27. package/dist/gids-dropdown.js +1 -1
  28. package/dist/gids-expansion-body-list-item.js +1 -1
  29. package/dist/gids-expansion-body-list.js +1 -1
  30. package/dist/gids-expansion-group.js +1 -1
  31. package/dist/gids-expansion.js +1 -1
  32. package/dist/gids-field.js +1 -1
  33. package/dist/gids-filter.js +1 -1
  34. package/dist/gids-flyout-panel.js +1 -1
  35. package/dist/gids-form.js +1 -1
  36. package/dist/gids-header-navigation-item.js +1 -1
  37. package/dist/gids-header-navigation.js +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.js +1 -1
  40. package/dist/gids-line-chart.js +1 -1
  41. package/dist/gids-md-table.js +1 -1
  42. package/dist/gids-month-dropdown-picker.d.ts +11 -0
  43. package/dist/gids-month-dropdown-picker.js +1 -0
  44. package/dist/gids-overflow-container.js +1 -1
  45. package/dist/gids-overlay-provider.js +1 -1
  46. package/dist/gids-password-field.js +1 -1
  47. package/dist/gids-pie-chart.js +1 -1
  48. package/dist/gids-popover.js +1 -1
  49. package/dist/gids-profile-menu-header.js +1 -1
  50. package/dist/gids-profile-menu.js +1 -1
  51. package/dist/gids-profile.js +1 -1
  52. package/dist/gids-scrim.js +1 -1
  53. package/dist/gids-sidebar-item.js +1 -1
  54. package/dist/gids-sidebar-menu.js +1 -1
  55. package/dist/gids-sidebar.js +1 -1
  56. package/dist/gids-skeleton.js +1 -1
  57. package/dist/gids-tab-item.js +1 -1
  58. package/dist/gids-tab.js +1 -1
  59. package/dist/gids-text-field.js +1 -1
  60. package/dist/gids-toggle-button.js +1 -1
  61. package/dist/gids-tooltip.js +1 -1
  62. package/dist/gids-transfer-list.js +1 -1
  63. package/dist/gids-year-dropdown-picker.d.ts +11 -0
  64. package/dist/gids-year-dropdown-picker.js +1 -0
  65. package/dist/p-62akP0Ad.js +1 -0
  66. package/dist/{p-B_FEFM5I.js → p-B18yNcA0.js} +1 -1
  67. package/dist/p-B2YjHZsu.js +1 -0
  68. package/dist/{p-DLRj-mUX.js → p-B3AB3GQ0.js} +1 -1
  69. package/dist/{p-Ds5IzXj3.js → p-B4d07GWP.js} +1 -1
  70. package/dist/p-BBlUduEr.js +1 -0
  71. package/dist/{p-BAqWcL0K.js → p-BNW2xgxF.js} +1 -1
  72. package/dist/p-BcXumkjZ.js +1 -0
  73. package/dist/{p-DKSnGphd.js → p-C88Z_F_m.js} +1 -1
  74. package/dist/{p-bfWlRsx_.js → p-CKj2Ru6e.js} +1 -1
  75. package/dist/{p-B_St7yaX.js → p-COsSHfdc.js} +1 -1
  76. package/dist/{p-DrxfD2yZ.js → p-CSXuAs_X.js} +1 -1
  77. package/dist/{p-DzOOjiNH.js → p-CZgH5rZs.js} +1 -1
  78. package/dist/{p-BIxBMTG9.js → p-CueywyHC.js} +1 -1
  79. package/dist/p-CxfmNDsm.js +1 -0
  80. package/dist/{p-CV1-78HB.js → p-D2VR17v2.js} +1 -1
  81. package/dist/{p-DMxvWIj1.js → p-DKe6orSY.js} +1 -1
  82. package/dist/{p-D0RJMGGj.js → p-DLX-l0-L.js} +1 -1
  83. package/dist/p-DOiDD7cS.js +1 -0
  84. package/dist/{p-B2flLE0s.js → p-DXlBK8TS.js} +1 -1
  85. package/dist/{p-E13ycS5K.js → p-DYKcsBzA.js} +1 -1
  86. package/dist/{p--kh67-_Z.js → p-D_mszaeq.js} +1 -1
  87. package/dist/p-DdJKIFk0.js +1 -0
  88. package/dist/p-DiX4HaE6.js +1 -0
  89. package/dist/{p-DQQhGF5N.js → p-DjnREsH0.js} +1 -1
  90. package/dist/{p-CIjK3iHM.js → p-FSv82P6v.js} +1 -1
  91. package/dist/p-MaJDBE6u.js +1 -0
  92. package/dist/p-XVlT5H5q.js +1 -0
  93. package/dist/p-fE-MdTCH.js +1 -0
  94. package/dist/{p-mv_7K1EM.js → p-gK9DvcL8.js} +1 -1
  95. package/dist/{p-_W77iniK.js → p-iEUyQs9t.js} +1 -1
  96. package/dist/{p-BCbovLBE.js → p-jtpLLxuw.js} +1 -1
  97. package/dist/p-lvArnlBV.js +1 -0
  98. package/dist/{p-TfH966_e.js → p-vz4tzbld.js} +1 -1
  99. package/dist/{p-DnRuhvRw.js → p-x1tVOUSt.js} +1 -1
  100. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +4 -2
  101. package/dist/types/components/webComponents/GidsCalendarPicker/GidsCalendarPicker.d.ts +55 -0
  102. package/dist/types/components/webComponents/GidsDatePicker/GidsDatePicker.d.ts +74 -0
  103. package/dist/types/components/webComponents/GidsDatePickerField/GidsDatePickerField.d.ts +75 -0
  104. package/dist/types/components/webComponents/GidsDayDropdownPicker/GidsDayDropdownPicker.d.ts +40 -0
  105. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +10 -8
  106. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +5 -1
  107. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +1 -0
  108. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +7 -2
  109. package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +8 -0
  110. package/dist/types/components/webComponents/GidsMonthDropdownPicker/GidsMonthDropdownPicker.d.ts +40 -0
  111. package/dist/types/components/webComponents/GidsYearDropdownPicker/GidsYearDropdownPicker.d.ts +40 -0
  112. package/dist/types/components.d.ts +877 -70
  113. package/dist-bundled/es/GidsDatePickerSharedUtils-Dh5qFlYA.js +105 -0
  114. package/dist-bundled/es/gids-action-bar.js +28 -28
  115. package/dist-bundled/es/gids-activity-gauge.js +3 -3
  116. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  117. package/dist-bundled/es/gids-bar-chart.js +1 -1
  118. package/dist-bundled/es/gids-bento-card.js +1 -1
  119. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  120. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  121. package/dist-bundled/es/gids-calendar-picker.js +6 -0
  122. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  123. package/dist-bundled/es/gids-calendar.js +4 -151
  124. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  125. package/dist-bundled/es/gids-chart-legend.js +4 -4
  126. package/dist-bundled/es/gids-chart.js +7 -7
  127. package/dist-bundled/es/gids-chevron-button.js +7 -7
  128. package/dist-bundled/es/gids-date-picker-field.js +181 -0
  129. package/dist-bundled/es/gids-date-picker.js +6 -0
  130. package/dist-bundled/es/gids-day-dropdown-picker.js +6 -0
  131. package/dist-bundled/es/gids-dot.js +1 -1
  132. package/dist-bundled/es/gids-dropdown-field.js +28 -18
  133. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  134. package/dist-bundled/es/gids-dropdown.js +4 -4
  135. package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
  136. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  137. package/dist-bundled/es/gids-expansion-group.js +5 -5
  138. package/dist-bundled/es/gids-expansion.js +8 -8
  139. package/dist-bundled/es/gids-field.js +4 -4
  140. package/dist-bundled/es/gids-filter.js +1 -1
  141. package/dist-bundled/es/gids-flyout-panel.js +3 -3
  142. package/dist-bundled/es/gids-form.js +65 -49
  143. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  144. package/dist-bundled/es/gids-header-navigation.js +2 -2
  145. package/dist-bundled/es/gids-icon.js +3 -3
  146. package/dist-bundled/es/gids-input.js +1 -1
  147. package/dist-bundled/es/gids-line-chart.js +3 -3
  148. package/dist-bundled/es/gids-md-table.js +1 -1
  149. package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
  150. package/dist-bundled/es/gids-overflow-container.js +9 -9
  151. package/dist-bundled/es/gids-overlay-provider.js +2 -2
  152. package/dist-bundled/es/gids-password-field.js +20 -20
  153. package/dist-bundled/es/gids-pie-chart.js +1 -1
  154. package/dist-bundled/es/gids-popover.js +1 -1
  155. package/dist-bundled/es/gids-profile-menu-header.js +4 -4
  156. package/dist-bundled/es/gids-profile-menu.js +4 -4
  157. package/dist-bundled/es/gids-profile.js +10 -10
  158. package/dist-bundled/es/gids-scrim.js +3 -3
  159. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  160. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  161. package/dist-bundled/es/gids-sidebar.js +12 -12
  162. package/dist-bundled/es/gids-skeleton.js +8 -8
  163. package/dist-bundled/es/gids-tab-item.js +6 -6
  164. package/dist-bundled/es/gids-tab.js +7 -7
  165. package/dist-bundled/es/gids-text-field.js +10 -10
  166. package/dist-bundled/es/gids-toggle-button.js +1 -1
  167. package/dist-bundled/es/gids-tooltip.js +4 -4
  168. package/dist-bundled/es/gids-transfer-list.js +8 -8
  169. package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
  170. package/dist-bundled/es/p-62akP0Ad-D4pJ0a_I.js +86 -0
  171. package/dist-bundled/es/{p-B_FEFM5I-JoBieRfG.js → p-B18yNcA0-BaaXQYM_.js} +2 -2
  172. package/dist-bundled/es/{p-kWyyLyT3-VhX9LNzT.js → p-B2YjHZsu-DxdrSYcE.js} +28 -28
  173. package/dist-bundled/es/{p-DLRj-mUX-BapdQYpI.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
  174. package/dist-bundled/es/{p-Ds5IzXj3-B2o0ML2C.js → p-B4d07GWP-DLyo7HQ9.js} +3 -3
  175. package/dist-bundled/es/{p-CAjDiWIc-C9dOa7FT.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
  176. package/dist-bundled/es/{p-BAqWcL0K-DNkV1R_C.js → p-BNW2xgxF-DWKLliyn.js} +5 -5
  177. package/dist-bundled/es/p-BcXumkjZ-zNpzLmjI.js +240 -0
  178. package/dist-bundled/es/{p-DKSnGphd-CZSPfB-N.js → p-C88Z_F_m-wMA27lx_.js} +3 -3
  179. package/dist-bundled/es/{p-bfWlRsx_-CNZjBYOE.js → p-CKj2Ru6e-B-Nk5B_P.js} +3 -3
  180. package/dist-bundled/es/{p-B_St7yaX-Da4DWjGh.js → p-COsSHfdc-DfDYoLSS.js} +3 -3
  181. package/dist-bundled/es/{p-DrxfD2yZ-Cetyr3S9.js → p-CSXuAs_X-Hw6bT-8r.js} +11 -11
  182. package/dist-bundled/es/{p-DzOOjiNH-CqI4E-mj.js → p-CZgH5rZs-Clk0qfHN.js} +3 -3
  183. package/dist-bundled/es/{p-BIxBMTG9-Ctr342ff.js → p-CueywyHC-CsEetdha.js} +3 -3
  184. package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CxfmNDsm-JHseL2it.js} +30 -18
  185. package/dist-bundled/es/{p-DMxvWIj1-BxbvrlFL.js → p-DKe6orSY-D1kYOeuX.js} +6 -6
  186. package/dist-bundled/es/{p-D0RJMGGj-BflZ9l8y.js → p-DLX-l0-L-gumz4bOG.js} +1 -1
  187. package/dist-bundled/es/{p-BQT5yy5L-C1C_zTi-.js → p-DOiDD7cS-j1RR9K9r.js} +8 -4
  188. package/dist-bundled/es/{p-B2flLE0s-SMg7vg1a.js → p-DXlBK8TS-DazOvEm2.js} +2 -2
  189. package/dist-bundled/es/{p-E13ycS5K-BBDydae3.js → p-DYKcsBzA-BcupA9sw.js} +6 -6
  190. package/dist-bundled/es/{p--kh67-_Z-B-vf_gng.js → p-D_mszaeq-ndcXN34-.js} +4 -4
  191. package/dist-bundled/es/{p-Do_VlNHg-Ck03dQOR.js → p-DdJKIFk0-Co3FvR3K.js} +1 -1
  192. package/dist-bundled/es/p-DiX4HaE6-C35K492C.js +86 -0
  193. package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-DjnREsH0-Cm8vBvIX.js} +7 -7
  194. package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-FSv82P6v-C6jFH7Zo.js} +1 -1
  195. package/dist-bundled/es/p-MaJDBE6u-DjtEX6-I.js +157 -0
  196. package/dist-bundled/es/p-XVlT5H5q-CFIMyrM3.js +148 -0
  197. package/dist-bundled/es/p-fE-MdTCH-CDvG1Xn1.js +122 -0
  198. package/dist-bundled/es/{p-mv_7K1EM-U3yKC45e.js → p-gK9DvcL8-Chw-ya2Q.js} +1 -1
  199. package/dist-bundled/es/{p-_W77iniK-ChKfEOp3.js → p-iEUyQs9t-BUXXVuwz.js} +2 -2
  200. package/dist-bundled/es/{p-BCbovLBE-CDxKiOtS.js → p-jtpLLxuw-BlEPhjmU.js} +1 -1
  201. package/dist-bundled/es/p-lvArnlBV-BxkIAxHG.js +86 -0
  202. package/dist-bundled/es/{p-TfH966_e-BzZRV8Rj.js → p-vz4tzbld-BYJRjHJw.js} +5 -5
  203. package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-x1tVOUSt-CdB8Szfe.js} +6 -6
  204. package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
  205. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  206. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
  207. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  208. package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
  209. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  210. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  211. package/dist-bundled/umd/gids-calendar-picker.umd.js +5 -0
  212. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  213. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  214. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  215. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  216. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  217. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  218. package/dist-bundled/umd/gids-date-picker-field.umd.js +5 -0
  219. package/dist-bundled/umd/gids-date-picker.umd.js +5 -0
  220. package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +5 -0
  221. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  222. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  223. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  224. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  225. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  226. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  227. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  228. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  229. package/dist-bundled/umd/gids-field.umd.js +1 -1
  230. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  231. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  232. package/dist-bundled/umd/gids-form.umd.js +2 -2
  233. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  234. package/dist-bundled/umd/gids-header-navigation.umd.js +1 -1
  235. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  236. package/dist-bundled/umd/gids-input.umd.js +1 -1
  237. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  238. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  239. package/dist-bundled/umd/gids-month-dropdown-picker.umd.js +5 -0
  240. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  241. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  242. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  243. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  244. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  245. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  246. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  247. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  248. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  249. package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
  250. package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
  251. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  252. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  253. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  254. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  255. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  256. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  257. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  258. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  259. package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +5 -0
  260. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  261. package/package.json +55 -7
  262. package/dist/p-BQT5yy5L.js +0 -1
  263. package/dist/p-CAjDiWIc.js +0 -1
  264. package/dist/p-Do_VlNHg.js +0 -1
  265. package/dist/p-DpvdbdZ-.js +0 -1
  266. package/dist/p-kWyyLyT3.js +0 -1
  267. package/dist/p-tEbUT3n3.js +0 -1
  268. package/dist-bundled/es/p-tEbUT3n3-Byef6fQN.js +0 -244
  269. /package/dist-bundled/es/{p-CV1-78HB-C0k_l_CT.js → p-D2VR17v2-C0k_l_CT.js} +0 -0
@@ -1,73 +1,89 @@
1
- import { L as u, u as y, D as e, P as b, q as n } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { r as _ } from "./p-BRNvHMdK-CqGtfAsn.js";
1
+ import { L as u, u as _, D as r, P as y, q as g } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { r as h } from "./p-BRNvHMdK-CqGtfAsn.js";
3
3
  import { c as w } from "./clsx-OuTLNxxd.js";
4
- const x = ({ appearance: r, hasBorder: o, shadow: d, borderRadius: a, height: i, width: t }, s) => w("gids-form", {
4
+ const x = ({ appearance: e, hasBorder: o, shadow: i, borderRadius: d, height: a, width: t }, s) => w("gids-form", {
5
5
  // Appearances
6
6
  // 'gids-form--appearance-default': appearance === 'default', // By Default so not needed
7
- "gids-form--appearance-subtle": r === "subtle",
7
+ "gids-form--appearance-subtle": e === "subtle",
8
8
  // Shadows
9
9
  // 'gids-form--shadow-none': shadow === 'none', // By default so not needed
10
- "gids-form--shadow-overflow": d === "overflow",
11
- "gids-form--shadow-overlay": d === "overlay",
12
- "gids-form--shadow-raised": d === "raised",
10
+ "gids-form--shadow-overflow": i === "overflow",
11
+ "gids-form--shadow-overlay": i === "overlay",
12
+ "gids-form--shadow-raised": i === "raised",
13
13
  // Border Radius
14
14
  // 'gids-form--border-radius-none': borderRadius === 'none', // By default so not needed
15
- "gids-form--border-radius-sm": a === "sm",
16
- "gids-form--border-radius-md": a === "md",
17
- "gids-form--border-radius-lg": a === "lg",
15
+ "gids-form--border-radius-sm": d === "sm",
16
+ "gids-form--border-radius-md": d === "md",
17
+ "gids-form--border-radius-lg": d === "lg",
18
18
  // Settings
19
19
  "gids-form--has-border": o,
20
20
  // Sizes
21
- "gids-form--height-full": i === "full",
21
+ "gids-form--height-full": a === "full",
22
22
  "gids-form--width-full": t === "full"
23
23
  }, s), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
24
  __proto__: null,
25
25
  getGidsFormClassNames: x
26
- }, Symbol.toStringTag, { value: "Module" })), { getGidsFormClassNames: F } = C, h = u(class extends y {
27
- constructor(r) {
28
- super(), r !== !1 && this.__registerHost(), this.appearance = "default", this.hasBorder = !0, this.shadow = "none", this.borderRadius = "none", this.height = "intrinsic", this.width = "intrinsic", this.divider = !0;
26
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsFormClassNames: F } = C, l = u(class extends _ {
27
+ constructor(e) {
28
+ super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.hasBorder = !0, this.shadow = "none", this.borderRadius = "none", this.height = "intrinsic", this.width = "intrinsic", this.divider = !0, this.footerDividerVisible = !0, this.hasFooterChildren = !1, this.setupObserver = () => {
29
+ this.checkFooterNodes(), this.observer = new MutationObserver((() => {
30
+ this.checkFooterNodes();
31
+ })), this.observer.observe(this.hostElement, { childList: !0, subtree: !0 });
32
+ }, this.handleFooterSlotChange = () => {
33
+ this.checkFooterNodes();
34
+ }, this.checkFooterNodes = () => {
35
+ const o = this.hostElement?.querySelectorAll('[slot="formFooterChildren"]');
36
+ let i = !1;
37
+ o && o.length > 0 && (i = Array.from(o).some(((d) => d.nodeType === Node.ELEMENT_NODE || !!d.textContent?.trim().length))), this.hasFooterChildren = i;
38
+ };
29
39
  }
30
- idChanged(r) {
31
- this.id = r;
40
+ idChanged(e) {
41
+ this.id = e;
32
42
  }
33
- appearanceChanged(r) {
34
- this.appearance = r;
43
+ appearanceChanged(e) {
44
+ this.appearance = e;
35
45
  }
36
- headingChanged(r) {
37
- this.heading = r;
46
+ headingChanged(e) {
47
+ this.heading = e;
38
48
  }
39
- supportingTextChanged(r) {
40
- this.supportingText = r;
49
+ supportingTextChanged(e) {
50
+ this.supportingText = e;
41
51
  }
42
- descriptionChanged(r) {
43
- this.description = r;
52
+ descriptionChanged(e) {
53
+ this.description = e;
44
54
  }
45
- hasBorderChanged(r) {
46
- this.hasBorder = r;
55
+ hasBorderChanged(e) {
56
+ this.hasBorder = e;
47
57
  }
48
- shadowChanged(r) {
49
- this.shadow = r;
58
+ shadowChanged(e) {
59
+ this.shadow = e;
50
60
  }
51
- borderColorChanged(r) {
52
- this.borderColor = r;
61
+ borderColorChanged(e) {
62
+ this.borderColor = e;
53
63
  }
54
- borderRadiusChanged(r) {
55
- this.borderRadius = r;
64
+ borderRadiusChanged(e) {
65
+ this.borderRadius = e;
56
66
  }
57
- heightChanged(r) {
58
- this.height = r;
67
+ heightChanged(e) {
68
+ this.height = e;
59
69
  }
60
- widthChanged(r) {
61
- this.width = r;
70
+ widthChanged(e) {
71
+ this.width = e;
62
72
  }
63
- dividerChanged(r) {
64
- this.divider = r;
73
+ dividerChanged(e) {
74
+ this.divider = e;
65
75
  }
66
76
  connectedCallback() {
67
77
  }
78
+ componentDidLoad() {
79
+ this.setupObserver();
80
+ }
81
+ disconnectedCallback() {
82
+ this.observer && this.observer.disconnect();
83
+ }
68
84
  render() {
69
- const r = this?.id, o = this?.appearance ?? "default", d = this?.heading ?? void 0, a = this?.supportingText ?? void 0, i = this?.description ?? void 0, t = this?.hasBorder ?? !0, s = this?.shadow ?? "none", g = this?.borderColor ?? void 0, p = this?.borderRadius ?? "md", m = this?.height ?? "intrinsic", f = this?.width ?? "intrinsic", c = this?.divider ?? !0, v = F({ appearance: o, hasBorder: t, shadow: s, borderRadius: p, height: m, width: f });
70
- return e(b, { key: "ecac7fa5b56967978f783a9ac0c230d93fac2a21", class: v, "data-appearance": o, id: r, style: g && g !== "" ? { "--gidsFormBorder-color": g } : {} }, e("div", { key: "175e6350f8963b0b61ee5837a340559a5cac13f2", class: "gids-form__header" }, e("slot", { key: "550c63b8bafc6a3601dad6e4ac1ebd240d20759e", name: "formIcon" }), e("div", { key: "fdcf331ed74023cb82fd45b2c9f4fa8ea96f2fd8", class: "gids-form__header-text-content" }, d && d !== "" ? e("label", null, d) : void 0, a && a !== "" ? e("span", null, a) : void 0, i && i !== "" ? e("p", null, i) : void 0)), c ? e("div", { class: "gids-form__divider-container" }, e(_, null)) : void 0, e("div", { key: "812f6accd9c8442d45dd6e940b0872918ba0629c", class: "gids-form__content" }, e("slot", { key: "78a11643da76c77bbf5a875e707605782ec5c78b" })));
85
+ const e = this?.id, o = this?.appearance ?? "default", i = this?.heading ?? void 0, d = this?.supportingText ?? void 0, a = this?.description ?? void 0, t = this?.hasBorder ?? !0, s = this?.shadow ?? "none", n = this?.borderColor ?? void 0, c = this?.borderRadius ?? "md", m = this?.height ?? "intrinsic", p = this?.width ?? "intrinsic", v = this?.divider ?? !0, b = F({ appearance: o, hasBorder: t, shadow: s, borderRadius: c, height: m, width: p });
86
+ return r(y, { key: "0be5b51400c4343f16bd5d84bb01db8897282c32", class: b, "data-appearance": o, id: e, style: n && n !== "" ? { "--gidsFormBorder-color": n } : {} }, r("div", { key: "4016d00181af7c61ed2cbaa7babba56508ae9f6f", class: "gids-form__container" }, r("div", { key: "c5422c49aa65e2964fedad41861ea06d24950704", class: "gids-form__header" }, r("slot", { key: "d5cae5ed432d8b75a77a505e16a98b510cd680af", name: "formIcon" }), r("div", { key: "fb05421e00947a54e486cfc7ce7107a08c8c6c1a", class: "gids-form__header-text-content" }, i && i !== "" ? r("label", null, i) : void 0, d && d !== "" ? r("span", null, d) : void 0, a && a !== "" ? r("p", null, a) : void 0), r("div", { key: "d96aa69e038735085bd29eae618bf5d783ef3333", class: "gids-form__header-children" }, r("slot", { key: "1f13f852441c3e71cb1623a32b32332d4637c014", name: "formHeaderChildren" }))), v ? r("div", { class: "gids-form__divider-container" }, r(h, null)) : void 0, r("div", { key: "5689bd0343337573a663c59a316a5913f0213344", class: "gids-form__content" }, r("slot", { key: "124b2199c9b755d5e7e0513afe9dfb51bf8f3e8d" }))), r("div", { key: "b2e4530502c80ec8767d28187543c08c9d6961ef", class: "gids-form__footer " + (this.hasFooterChildren ? "gids-form__footer--has-content" : "gids-form__footer--is-empty") }, this.hasFooterChildren && this.footerDividerVisible ? r("div", { class: "gids-form__footer-divider" }, r(h, null)) : void 0, r("div", { key: "3e90d73c4e963cb7bbb4011e6ca57242c546e86f", class: "gids-form__footer-wrapper" }, r("slot", { key: "10f78988c50c5a851bfacf5ba1eeb13b9b5d6121", name: "formFooterChildren", onSlotchange: this.handleFooterSlotChange }))));
71
87
  }
72
88
  get hostElement() {
73
89
  return this;
@@ -76,17 +92,17 @@ const x = ({ appearance: r, hasBorder: o, shadow: d, borderRadius: a, height: i,
76
92
  return { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], heading: [{ headingChanged: 0 }], supportingText: [{ supportingTextChanged: 0 }], description: [{ descriptionChanged: 0 }], hasBorder: [{ hasBorderChanged: 0 }], shadow: [{ shadowChanged: 0 }], borderColor: [{ borderColorChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], height: [{ heightChanged: 0 }], width: [{ widthChanged: 0 }], divider: [{ dividerChanged: 0 }] };
77
93
  }
78
94
  static get style() {
79
- return ".gids-form{--gidsFormBorder-color:var(--gids-color-border-default);--gidsFormBg-color:var(--gids-color-background-neutral-default);--gidsForm-shadow:none;--gidsForm-border-radius:var(--gids-border-radius-none);--gidsForm-border:none;--gidsFormPrimaryText-color:var(--gids-color-text-default);--gidsFormSecondaryText-color:var(--gids-color-text-subtle);--gidsFormTertiaryText-color:var(--gids-color-text-subtlest);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;align-self:flex-start;justify-self:flex-start;padding:var(--gids-padding-vertical-edge-to-element-250) var(--gids-padding-horizontal-edge-to-element-300);background-color:var(--gidsFormBg-color);box-shadow:var(--gidsForm-shadow);border-radius:var(--gidsForm-border-radius);border:var(--gidsForm-border);overflow:hidden}.gids-form__header{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-form__header-text-content{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-form__header-text-content label{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit);color:var(--gidsFormPrimaryText-color)}.gids-form__header-text-content span{font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gidsFormSecondaryText-color)}.gids-form__header-text-content p{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsFormTertiaryText-color)}.gids-form__content{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-300) 0;overflow-x:hidden;overflow-y:auto}.gids-form__divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-form--appearance-subtle{--gidsFormBg-color:transparent}.gids-form--shadow-overflow{--gidsForm-shadow:var(--gids-elevation-shadow-overflow)}.gids-form--shadow-overlay{--gidsForm-shadow:var(--gids-elevation-shadow-overlay)}.gids-form--shadow-raised{--gidsForm-shadow:var(--gids-elevation-shadow-raised)}.gids-form--border-radius-sm{--gidsForm-border-radius:var(--gids-border-radius-sm)}.gids-form--border-radius-md{--gidsForm-border-radius:var(--gids-border-radius-md)}.gids-form--border-radius-lg{--gidsForm-border-radius:var(--gids-border-radius-lg)}.gids-form--has-border{--gidsForm-border:var(--gids-border-width-thin) solid var(--gidsFormBorder-color)}.gids-form--height-full{height:100vh !important;overflow:hidden}.gids-form--width-full{width:100%}";
95
+ return ".gids-form{--gidsFormBorder-color:var(--gids-color-border-default);--gidsFormBg-color:var(--gids-color-background-neutral-default);--gidsForm-shadow:none;--gidsForm-border-radius:var(--gids-border-radius-none);--gidsForm-border:none;--gidsFormPrimaryText-color:var(--gids-color-text-default);--gidsFormSecondaryText-color:var(--gids-color-text-subtle);--gidsFormTertiaryText-color:var(--gids-color-text-subtlest);display:flex;flex-direction:column;background-color:var(--gidsFormBg-color);box-shadow:var(--gidsForm-shadow);border-radius:var(--gidsForm-border-radius);border:var(--gidsForm-border)}.gids-form__container{display:flex;flex-direction:column;width:100%;align-items:flex-start;justify-content:flex-start;align-self:flex-start;justify-self:flex-start;padding-top:var(--gids-padding-vertical-edge-to-element-250);padding-left:var(--gids-padding-horizontal-edge-to-element-300);padding-right:var(--gids-padding-horizontal-edge-to-element-300);overflow:hidden}.gids-form__header{display:flex;width:100%;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-form__header-text-content{display:flex;flex-direction:column;flex:1;gap:var(--gids-gap-050)}.gids-form__header-text-content label{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit);color:var(--gidsFormPrimaryText-color)}.gids-form__header-text-content span{font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gidsFormSecondaryText-color)}.gids-form__header-text-content p{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsFormTertiaryText-color)}.gids-form__content{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-300) 0;overflow-x:hidden;overflow-y:auto}.gids-form__divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-form--appearance-subtle{--gidsFormBg-color:transparent}.gids-form--shadow-overflow{--gidsForm-shadow:var(--gids-elevation-shadow-overflow)}.gids-form--shadow-overlay{--gidsForm-shadow:var(--gids-elevation-shadow-overlay)}.gids-form--shadow-raised{--gidsForm-shadow:var(--gids-elevation-shadow-raised)}.gids-form--border-radius-sm{--gidsForm-border-radius:var(--gids-border-radius-sm)}.gids-form--border-radius-md{--gidsForm-border-radius:var(--gids-border-radius-md)}.gids-form--border-radius-lg{--gidsForm-border-radius:var(--gids-border-radius-lg)}.gids-form--has-border{--gidsForm-border:var(--gids-border-width-thin) solid var(--gidsFormBorder-color)}.gids-form--height-full{height:100vh !important;overflow:hidden}.gids-form--width-full{width:100%}.gids-form__footer{width:100%}.gids-form__footer--is-empty{display:none}.gids-form__footer--has-content{display:flex;flex-direction:column}.gids-form__footer-divider{display:flex;flex-direction:column;width:100%}.gids-form__footer-wrapper{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300)}.gids-form__header-children{display:flex;flex-direction:column;align-self:center;justify-content:center;align-items:flex-end}";
80
96
  }
81
- }, [260, "gids-form", { id: [1], appearance: [1], heading: [1], supportingText: [1, "supporting-text"], description: [1], hasBorder: [4, "has-border"], shadow: [1], borderColor: [1, "border-color"], borderRadius: [1, "border-radius"], height: [1], width: [1], divider: [4] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], heading: [{ headingChanged: 0 }], supportingText: [{ supportingTextChanged: 0 }], description: [{ descriptionChanged: 0 }], hasBorder: [{ hasBorderChanged: 0 }], shadow: [{ shadowChanged: 0 }], borderColor: [{ borderColorChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], height: [{ heightChanged: 0 }], width: [{ widthChanged: 0 }], divider: [{ dividerChanged: 0 }] }]);
82
- function l() {
83
- typeof customElements < "u" && ["gids-form"].forEach(((r) => {
84
- r === "gids-form" && (customElements.get(n(r)) || customElements.define(n(r), h));
97
+ }, [260, "gids-form", { id: [1], appearance: [1], heading: [1], supportingText: [1, "supporting-text"], description: [1], hasBorder: [4, "has-border"], shadow: [1], borderColor: [1, "border-color"], borderRadius: [1, "border-radius"], height: [1], width: [1], divider: [4], footerDividerVisible: [4, "footer-divider-visible"], hasFooterChildren: [32] }, void 0, { id: [{ idChanged: 0 }], appearance: [{ appearanceChanged: 0 }], heading: [{ headingChanged: 0 }], supportingText: [{ supportingTextChanged: 0 }], description: [{ descriptionChanged: 0 }], hasBorder: [{ hasBorderChanged: 0 }], shadow: [{ shadowChanged: 0 }], borderColor: [{ borderColorChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], height: [{ heightChanged: 0 }], width: [{ widthChanged: 0 }], divider: [{ dividerChanged: 0 }] }]);
98
+ function f() {
99
+ typeof customElements < "u" && ["gids-form"].forEach(((e) => {
100
+ e === "gids-form" && (customElements.get(g(e)) || customElements.define(g(e), l));
85
101
  }));
86
102
  }
87
- l();
88
- const z = h, R = l;
103
+ f();
104
+ const E = l, z = f;
89
105
  export {
90
- z as GidsForm,
91
- R as defineCustomElement
106
+ E as GidsForm,
107
+ z as defineCustomElement
92
108
  };
@@ -1,6 +1,6 @@
1
- import { l as e, h as t } from "./p-B_St7yaX-Da4DWjGh.js";
2
- const o = e, i = t;
1
+ import { l as e, h as t } from "./p-COsSHfdc-DfDYoLSS.js";
2
+ const a = e, i = t;
3
3
  export {
4
- o as GidsHeaderNavigationItem,
4
+ a as GidsHeaderNavigationItem,
5
5
  i as defineCustomElement
6
6
  };
@@ -2,7 +2,7 @@ import { L as f, u as C, D as s, P as M, q as r } from "./p-B4hcsDH0-CPqEc-vc.js
2
2
  import { d as S } from "./p-iQRr_fAH-Dvv1n8QD.js";
3
3
  import { r as N } from "./p-BRNvHMdK-CqGtfAsn.js";
4
4
  import { e as y } from "./p-ChV9xqsO-CJSPCx6p.js";
5
- import { h as x } from "./p-B_St7yaX-Da4DWjGh.js";
5
+ import { h as x } from "./p-COsSHfdc-DfDYoLSS.js";
6
6
  import { c as b } from "./clsx-OuTLNxxd.js";
7
7
  const z = ({ mode: t, type: e }, a) => b("gids-header-navigation", {
8
8
  // Modes
@@ -90,7 +90,7 @@ const z = ({ mode: t, type: e }, a) => b("gids-header-navigation", {
90
90
  }
91
91
  render() {
92
92
  const t = this?.appearance ?? "default", e = this?.selectionAppearance ?? "default", a = this?.applyShadow ?? !1, d = this?.applySeparators ?? !1, i = this?.borderRadius ?? "none", g = this?.mode ?? "wrap", u = this?.type ?? "gap", l = this?.size ?? "md", c = this?.navMenus ?? [], I = this?.selectionType ?? "single-deselection-not-allowed", v = E({ mode: g, type: u });
93
- return s(M, { key: "2c22b5282ab8c0799fc19bcd26fbb506dfa93488", class: v }, c.map(((n, o) => s("div", { key: "" + (o + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": u === "standard" }) }, s("gids-header-navigation-item", { ...n, id: n.id, menuId: n?.menuId, menuItems: n?.menuItems ?? [], label: n?.label, size: l, appearance: t, selectionAppearance: e, applyShadow: a, borderRadius: i, expanded: this.isThisMenuExpanded(n?.menuId), selected: this.isThisNavigationItemSelected(n?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: I, onPressNavigationItem: (h) => this.onNavigationItemPress({ event: h, itemIndex: o }), onMenuItemChange: (h) => this.onNavigationMenuItemChange({ event: h, itemIndex: o }) }, n?.leadingIconName && n.leadingIconName !== "(none)" ? s(S, { slot: "headerNavItemLeadingIcon", name: n.leadingIconName, size: l !== "xl" ? l : "lg", alt: "", appearance: "regular" }) : void 0), d && o < c.length - 1 ? s(N, { orientation: "vertical" }) : void 0))));
93
+ return s(M, { key: "a0e2c481d4b27986c907f71fe4035039ab3a3c64", class: v }, c.map(((n, o) => s("div", { key: "" + (o + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": u === "standard" }) }, s("gids-header-navigation-item", { ...n, id: n.id, menuId: n?.menuId, menuItems: n?.menuItems ?? [], label: n?.label, size: l, appearance: t, selectionAppearance: e, applyShadow: a, borderRadius: i, expanded: this.isThisMenuExpanded(n?.menuId), selected: this.isThisNavigationItemSelected(n?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: I, onPressNavigationItem: (h) => this.onNavigationItemPress({ event: h, itemIndex: o }), onMenuItemChange: (h) => this.onNavigationMenuItemChange({ event: h, itemIndex: o }) }, n?.leadingIconName && n.leadingIconName !== "(none)" ? s(S, { slot: "headerNavItemLeadingIcon", name: n.leadingIconName, size: l !== "xl" ? l : "lg", alt: "", appearance: "regular" }) : void 0), d && o < c.length - 1 ? s(N, { orientation: "vertical" }) : void 0))));
94
94
  }
95
95
  get hostElement() {
96
96
  return this;
@@ -1,6 +1,6 @@
1
- import { n as o, d as e } from "./p-DMxvWIj1-BxbvrlFL.js";
2
- const s = o, t = e;
1
+ import { n as o, a as s } from "./p-DKe6orSY-D1kYOeuX.js";
2
+ const n = o, t = s;
3
3
  export {
4
- s as GidsIcon,
4
+ n as GidsIcon,
5
5
  t as defineCustomElement
6
6
  };
@@ -1,4 +1,4 @@
1
- import { l as r, r as s } from "./p-DzOOjiNH-CqI4E-mj.js";
1
+ import { c as r, r as s } from "./p-CZgH5rZs-Clk0qfHN.js";
2
2
  const e = r, o = s;
3
3
  export {
4
4
  e as GidsInput,
@@ -1,6 +1,6 @@
1
- import { g as e, c as s } from "./p-DKSnGphd-CZSPfB-N.js";
2
- const o = e, r = s;
1
+ import { g as e, c as t } from "./p-C88Z_F_m-wMA27lx_.js";
2
+ const o = e, s = t;
3
3
  export {
4
4
  o as GidsLineChart,
5
- r as defineCustomElement
5
+ s as defineCustomElement
6
6
  };
@@ -178,7 +178,7 @@ const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName
178
178
  }
179
179
  render() {
180
180
  const e = pe({ width: this.width }), a = this.isTopHeaderVisible, t = this.getTopHeaderCells(), l = this?.constructedTableBodyData ?? [];
181
- return d(E, { key: "fe688b52bb4df76f2c0f8abb54f9a19434694a88", class: e }, d("table", { key: "35103313b64ebff661829fa6075a737fa7e29d0a", class: this.getTableClasses() }, a ? d(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, d("tbody", { key: "9407c8ee64790ac91562397a4d2f5b55b61b9402" }, l.length > 0 ? l.map(((r) => d(D, { layout: "horizontal", rows: r?.items ?? [], width: this.width }))) : void 0)));
181
+ return d(E, { key: "4e7a0b703fec737cea126874c1e0ad431befe3c7", class: e }, d("table", { key: "bf9216a504a97404cef829fb0a6ad67a8a29cfb7", class: this.getTableClasses() }, a ? d(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, d("tbody", { key: "8a81bebdfc2c40ca1424ca225e9bdecab2fdec57" }, l.length > 0 ? l.map(((r) => d(D, { layout: "horizontal", rows: r?.items ?? [], width: this.width }))) : void 0)));
182
182
  }
183
183
  get hostElement() {
184
184
  return this;
@@ -0,0 +1,6 @@
1
+ import { b as o, f as e } from "./p-62akP0Ad-D4pJ0a_I.js";
2
+ const n = o, r = e;
3
+ export {
4
+ n as GidsMonthDropdownPicker,
5
+ r as defineCustomElement
6
+ };
@@ -1,10 +1,10 @@
1
- import { L as a, u as n, D as e, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
1
+ import { L as i, u as n, D as e, q as o } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- const 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
7
- }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
5
+ showGidsOverflowContainerBottomShadow: c,
6
+ showGidsOverflowContainerTopShadow: h
7
+ }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = i(class extends n {
8
8
  constructor(t) {
9
9
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
10
10
  }
@@ -20,19 +20,19 @@ const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" ||
20
20
  this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
21
21
  }
22
22
  render() {
23
- return e("div", { key: "4ffa0e4c4825a8217ca66de06b5977df972631a6", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "366c313169c0541a02f893f5b8cca57921f992e2" }));
23
+ return e("div", { key: "227662d2598051caf5cea67f0896fc1a7832fa15", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "0b330e539a919ea33a60da98820babcbf5dab668" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
27
27
  }
28
28
  }, [257, "gids-overflow-container", { shadowLocation: [513, "shadow-location"] }]);
29
- function i() {
29
+ function a() {
30
30
  typeof customElements < "u" && ["gids-overflow-container"].forEach(((t) => {
31
31
  t === "gids-overflow-container" && (customElements.get(o(t)) || customElements.define(o(t), r));
32
32
  }));
33
33
  }
34
- i();
35
- const p = r, m = i;
34
+ a();
35
+ const p = r, m = a;
36
36
  export {
37
37
  p as GidsOverflowContainer,
38
38
  m as defineCustomElement
@@ -120,7 +120,7 @@ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
120
120
  return o("div", { ...a, class: z({ appearance: t }, i) }, o("div", { class: "gids-snackbar-container__content" }, t !== "default" && r != null ? o(p, { name: r, alt: "", appearance: "filled", size: "md", class: "gids-snackbar-container__icon" }) : null, typeof e == "string" ? o("p", null, e) : e), n);
121
121
  }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = j, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
122
122
  const c = E(i);
123
- return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "cross", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
123
+ return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "x-circle", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
124
124
  }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = C(class extends y {
125
125
  constructor(t) {
126
126
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this._parentOverlayProvider = null, this._componentQueue = [], this._allowedComponentQueue = [], this._exitingComponents = [], this._renderSnackbar = (e, n) => {
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
187
187
  }
188
188
  render() {
189
189
  const t = this._allowedComponentQueue[0]?.position || "bottom-center";
190
- return o(w, { key: "f3a0ab5debe5b2f6b777cf48653028627f89d8a1" }, o("slot", { key: "88f4108449b47807c1936e9133a3a4ee8a1b122b" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "b05663a31ab6f637e2837b71274b09d50c3e5015" }, o("slot", { key: "bfdbff73c68fe94d7889a30ba9074f4d542f8646" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
191
191
  }
192
192
  get _el() {
193
193
  return this;
@@ -1,11 +1,11 @@
1
1
  import { L as S, u as P, z as w, C as x, D as i, F as T, q as h } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { s as F } from "./p-BkxmRN-4-DSiXCW8b.js";
4
- import { r as L } from "./p-Do_VlNHg-Ck03dQOR.js";
4
+ import { r as L } from "./p-DdJKIFk0-Co3FvR3K.js";
5
5
  import { o as O } from "./p-Dg_WeHpV-DehzGL6g.js";
6
6
  import { g as k, d as j } from "./p-iQRr_fAH-Dvv1n8QD.js";
7
- import { h as z } from "./p-mv_7K1EM-U3yKC45e.js";
8
- import { r as E } from "./p-DzOOjiNH-CqI4E-mj.js";
7
+ import { h as z } from "./p-gK9DvcL8-Chw-ya2Q.js";
8
+ import { r as E } from "./p-CZgH5rZs-Clk0qfHN.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
10
  const G = (e) => {
11
11
  switch (e) {
@@ -16,10 +16,10 @@ const G = (e) => {
16
16
  default:
17
17
  return "default";
18
18
  }
19
- }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
20
  __proto__: null,
21
21
  inputToGidsFieldStatusForPassword: G
22
- }, Symbol.toStringTag, { value: "Module" })), f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, A = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
22
+ }, Symbol.toStringTag, { value: "Module" })), f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, B = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
23
23
  if (!e || e === "")
24
24
  return 0;
25
25
  let n = 0;
@@ -30,17 +30,17 @@ const G = (e) => {
30
30
  }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31
31
  __proto__: null,
32
32
  getColorModifierByScore: I,
33
- getStrengthMeterScore: A,
33
+ getStrengthMeterScore: B,
34
34
  include1DigitReg: b,
35
35
  include1LowercaseLetterReg: p,
36
36
  include1SpecialCharReg: q,
37
37
  include1UppercaseLetterReg: f
38
- }, Symbol.toStringTag, { value: "Module" })), o = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
38
+ }, Symbol.toStringTag, { value: "Module" })), d = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
39
39
  const t = [];
40
40
  return e && e.length > 0 && e.map((s) => {
41
41
  s?.requirementRule && t.push(s.requirementRule);
42
42
  }), t;
43
- }, N = ({ rule: e, textMinLength: t = 0, text: s }) => {
43
+ }, D = ({ rule: e, textMinLength: t = 0, text: s }) => {
44
44
  if (!s || s === "" || !e && !t)
45
45
  return !1;
46
46
  switch (e) {
@@ -53,7 +53,7 @@ const G = (e) => {
53
53
  case "1-special-character":
54
54
  return q.test(s);
55
55
  case "include-min-length":
56
- return o({
56
+ return d({
57
57
  requirementRule: "include-min-length",
58
58
  textMinLength: t
59
59
  }) === !0 && s.length >= t;
@@ -79,7 +79,7 @@ const G = (e) => {
79
79
  requirementText: "Password must contain atleast 1 lowercase letter."
80
80
  }
81
81
  ];
82
- return o({
82
+ return d({
83
83
  requirementRule: "include-min-length",
84
84
  textMinLength: e
85
85
  }) && t.push({
@@ -89,12 +89,12 @@ const G = (e) => {
89
89
  defaultMeterRules: R(t),
90
90
  defaultRequirementsMeterRules: t
91
91
  };
92
- }, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93
93
  __proto__: null,
94
- checkRequirementRuleSatisfied: N,
94
+ checkRequirementRuleSatisfied: D,
95
95
  getDefaultRulesAndRequirementsForMeters: m,
96
96
  getMeterRulesFromRequirements: R,
97
- minLengthRuleCanBeApplied: o
97
+ minLengthRuleCanBeApplied: d
98
98
  }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
99
99
  switch (e) {
100
100
  case "error":
@@ -111,7 +111,7 @@ const G = (e) => {
111
111
  }, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
113
  getRequirementsMeterLabelLeadingIcon: V
114
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: U } = B, Z = (e) => e === "implicit" || e === void 0 ? "implicit" : U(e), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
114
+ }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: U } = A, Z = (e) => e === "implicit" || e === void 0 ? "implicit" : U(e), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
116
  inputToGidsFieldStatusForPassword: Z
117
117
  }, Symbol.toStringTag, { value: "Module" })), J = ({ status: e }, t) => g("gids-requirements-meter-label", {
@@ -133,19 +133,19 @@ const G = (e) => {
133
133
  return s.length > 0 ? i("div", { class: te(n) }, (() => {
134
134
  const r = s.length, l = se({ text: e, textMinLength: t, meterRules: s }), u = re({ textScore: l, maxScore: r });
135
135
  return Array.from({ length: r }, ((_, c) => {
136
- const d = c + 1, v = d <= l;
137
- return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, v) : null : a(d, u, v);
136
+ const o = c + 1, v = o <= l;
137
+ return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, v) : null : a(o, u, v);
138
138
  }));
139
139
  })()) : null;
140
140
  }, { getGidsRequirementsMeterLabelClassNames: ne } = K, { getRequirementsMeterLabelLeadingIcon: le } = H, ae = (e) => {
141
141
  const { label: t, status: s = "default", leadingIconVisible: n = !0, class: a } = e, r = le(s);
142
142
  return i("div", { class: ne({ status: s }, a) }, n && s && r ? i(j, { name: r, size: "sm", appearance: "filled" }) : null, t && t !== "" ? i("span", null, t) : null);
143
- }, { checkRequirementRuleSatisfied: ue } = D, { getGidsRequirementsMeterClassNames: de } = X, oe = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
143
+ }, { checkRequirementRuleSatisfied: ue } = N, { getGidsRequirementsMeterClassNames: oe } = X, de = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
144
144
  const a = (r, l) => i(ae, { status: l ? "success" : "error", label: r.requirementText });
145
- return i("div", { class: de(n) }, e.map(((r) => {
145
+ return i("div", { class: oe(n) }, e.map(((r) => {
146
146
  if (r?.requirementText != null && r?.requirementRule != null) {
147
147
  const l = ue({ rule: r.requirementRule, textMinLength: s, text: t });
148
- return r.requirementRule === "include-min-length" ? o({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
148
+ return r.requirementRule === "include-min-length" ? d({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
149
149
  }
150
150
  return null;
151
151
  })));
@@ -191,7 +191,7 @@ const G = (e) => {
191
191
  #e;
192
192
  render() {
193
193
  const { id: e, ...t } = this.inputProps ?? {}, s = e ?? this.#t, n = this.showClearButton && this.value !== void 0 && this.value.length > 0, a = this.showRevealPasswordButton, r = { ...t }, l = r?.placeholder !== void 0 && r.placeholder !== null && r.placeholder != "" ? r.placeholder : "Enter password", u = this.isPasswordRevealed, _ = this.meterRules, c = this.textMinLength !== void 0 ? this.textMinLength : 8;
194
- return i(T, { key: "0d66c19fb7f8d8a17f32e8c7d03438454fc6d592" }, i("gids-field", { key: "579bfcbd6f2a75eae77d636e94caab9df0870e78", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "3099c7ae5c08e7fb8fc7cdbd7b8b44c79aa33615", 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: "467581b51585f240c024f19d2accb6aa66adc07b", 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: "c3f015e63ba61c3f7146a1ce4aa2971eccbebcd1", name: "leadingIcon" }), i("slot", { key: "aac4530d91bfe25eaf2bf12f0b77504d421fab18", name: "leadingAccessory" }), i("div", { key: "dc538841be19f14399fc4f323e659fbc455d29b2", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "18cb399d6e14eed55d19c70dba5148706e5ea3b4", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "1968cc139cf5f24502bf468c73c63ed55c7d0e91", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "c7079d0d74519e3dffc5f626b998f298057ae80b", class: "gids-password-field__meters-container" }, i(ie, { key: "750887a530a98be4734dd20740ab1ed7b82c730d", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "a87854e137fb1972fd6079a600f097d3ee5eebb8", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "c4f8525e2e69b41e6f9f52a77d017dc0d686b38b" }, i("gids-field", { key: "03ad63882f2207f20df3a4afedbb59b104e24881", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "33357b64b4c1c62f714a798a7a3c0caa8322e1b1", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "4e37191cc806d038c869028fe9a50fed550715e5", ref: (o) => this.#e = o, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "121d46d41d9b243ea803f22d69297a178405c524", name: "leadingIcon" }), i("slot", { key: "2832bcafe28c59ad96f188f3fed037eee9de2bfc", name: "leadingAccessory" }), i("div", { key: "8c12fb646f736cc5c07b2ba145995f1441b94412", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "01c77e00cdbfe815a4448bb20c64624f8152f6e7", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "ef69b5e486745281f985a4a8a51f726f22827239", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "65893ed7dab2df28d03718f4fe97ff9f2b9264df", class: "gids-password-field__meters-container" }, i(ie, { key: "0d03044768e174159aefc7384bd684adbce4b1cb", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "e374f8a7ddbc8b36cd7c0ff4b808fd0cb28febe4", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -1,4 +1,4 @@
1
- import { n as e, c as t } from "./p-B2flLE0s-SMg7vg1a.js";
1
+ import { n as e, c as t } from "./p-DXlBK8TS-DazOvEm2.js";
2
2
  const r = e, s = t;
3
3
  export {
4
4
  r as GidsPieChart,
@@ -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: "3554da5077c5559833eff3e75b879747d5b2e8d9" }, a("slot", { key: "a2ff6891af63297a0851a73073d71ff07a43b588", name: "anchor" }), a("div", { key: "2026889b3345cad4e0c9e7f3322e9202989911f5", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "5d4a3d2627badbc918b5d1ce165ff9713192255d", id: "arrow" }), a("div", { key: "e7f2c5681fbfe9aa83f45c6c6007384dac051210" }, a("slot", { key: "3a7392b090bb697361bc26ee6f3f8d8dbbcd2de5" }))));
67
+ return a(f, { key: "639f2d4076daa4f4da821412bc6b4dd73a27f41e" }, a("slot", { key: "b8602e01db55dafc9121082db2bad185b8449e95", name: "anchor" }), a("div", { key: "a0f6f67f2e8529c8f295286550212871609ca9a5", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "7d864bc6691ba1229ac713ea89af1bf01a76b465", id: "arrow" }), a("div", { key: "946ce1bf4c97d74b201a8ebf742e7a798a959368" }, a("slot", { key: "701719e3404d9139f85c688f693b2651fef2f516" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,6 +1,6 @@
1
- import { _ as e, y as o } from "./p-BCbovLBE-CDxKiOtS.js";
2
- const s = e, t = o;
1
+ import { _ as e, y as o } from "./p-jtpLLxuw-BlEPhjmU.js";
2
+ const t = e, r = o;
3
3
  export {
4
- s as GidsProfileMenuHeader,
5
- t as defineCustomElement
4
+ t as GidsProfileMenuHeader,
5
+ r as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { c as e, p as o } from "./p--kh67-_Z-B-vf_gng.js";
2
- const p = e, r = o;
1
+ import { c as e, p as o } from "./p-D_mszaeq-ndcXN34-.js";
2
+ const s = e, t = o;
3
3
  export {
4
- p as GidsProfileMenu,
5
- r as defineCustomElement
4
+ s as GidsProfileMenu,
5
+ t as defineCustomElement
6
6
  };
@@ -1,8 +1,8 @@
1
- import { L as z, u as B, D as o, P as L, q as f } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { m as R, l as j, y as G } from "./p-BCbovLBE-CDxKiOtS.js";
1
+ import { L as z, u as B, D as o, P as L, q as c } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { m as R, l as j, y as G } from "./p-jtpLLxuw-BlEPhjmU.js";
3
3
  import { p as $ } from "./p-CcKHKwS0-Bw63tTOA.js";
4
4
  import { d as b } from "./p-iQRr_fAH-Dvv1n8QD.js";
5
- import { p as q } from "./p--kh67-_Z-B-vf_gng.js";
5
+ import { p as q } from "./p-D_mszaeq-ndcXN34-.js";
6
6
  import { c as N } from "./clsx-OuTLNxxd.js";
7
7
  const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profileControlShadow: r, expanded: a }, l) => N("gids-profile", {
8
8
  // Appearances
@@ -88,8 +88,8 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
88
88
  if (!i) return;
89
89
  const r = this.hostElement.getBoundingClientRect(), a = window.innerWidth, l = window.innerHeight;
90
90
  i.style.maxHeight = "none";
91
- const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s, c = d ? n : s;
92
- i.style.maxHeight = g.height > c ? c + "px" : "none";
91
+ const g = i.getBoundingClientRect(), s = l - r.bottom - 8, n = r.top - 4, d = g.height > s && n > s, f = d ? n : s;
92
+ i.style.maxHeight = g.height > f ? f + "px" : "none";
93
93
  const p = i.getBoundingClientRect();
94
94
  let t = r.left;
95
95
  t + p.width > a - 4 && (t = a - p.width - 4), t < 4 && (t = 4), i.style.left = t - r.left + "px", i.style.top = d ? -p.height - 4 + "px" : r.height + 4 + "px";
@@ -169,9 +169,9 @@ const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profile
169
169
  document.removeEventListener("click", this.handleDocumentClick);
170
170
  }
171
171
  render() {
172
- const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, r = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, c = 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 });
172
+ const e = this?.profileControlAppearance ?? "default", i = this?.profileControlAvatarProps, r = i?.badgeProps, a = this?.profileControlAvatarVisible ?? !1, l = this?.profileControlAvatarBadgeVisible ?? !1, g = this?.profileControlBorderRadius ?? "none", s = this?.profileControlShadow ?? "none", n = this?.profileControlLeadingIcon, d = this?.profileControlTrailingIcon, f = this?.profileControlTitle ?? "", p = this?.profileControlSupportingText ?? "", t = this?.profileMenuItems ?? [], _ = this?.headerDividerVisible ?? !1, x = this?.headerVisible ?? !1, y = this?.headerItem, I = this?.listSectionDividerVisible ?? !1, P = this?.menuId, h = this?.isMenuExpanded ?? !1, u = this.hasMenu(), w = this.selectedProfileMenuItemId, k = this?.profileControlLeadingIconSize ?? "sm", T = this?.profileControlTrailingIconSize ?? "sm", A = this?.profileControlLeadingIconAppearance ?? "filled", V = this?.profileControlTrailingIconAppearance ?? "filled", M = J({ profileControlAppearance: e, profileControlBorderRadius: g, profileControlShadow: s, expanded: h && u }), S = i?.size ?? "sm", { titleClasses: E, supportingTextClasses: D } = K({ profileControlAppearance: e });
173
173
  let v = i?.color ?? "brand";
174
- return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "6544a8b12ca555b005aada8583aee6af2716d19b", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "e2ee877c0168c5c27a64f6e51799294d03c62ac9", class: "gids-profile__main-container" }, a ? o(R, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? o($, { appearance: r?.appearance ?? "information", type: r?.type, count: r?.count, outline: r?.outline }) : void 0 }) : void 0, o("div", { key: "285373353d7ebec41f82e87393f0395d2033331e", class: "gids-profile__content-container" }, o("span", { key: "fdb40d72e3c78cf520b8c066e4b046a418eb8d28", class: E }, c), o("p", { key: "ea66a5d582c3223357c7da2c38c12286f349f185", 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);
174
+ return e === "brand" && (v = i?.color ?? "default"), o(L, { key: "1757a0fd6ac6d1f3a980530591ba881dbeeddffe", class: M, onClick: this.onProfileControlPress, "menu-expanded": h }, n ? o(b, { name: n, size: k, appearance: A }) : void 0, o("div", { key: "fba459a0a7e65675f89fd5813db84ff85610e516", class: "gids-profile__main-container" }, a ? o(R, { appearance: i?.appearance ?? "text", color: v, size: S, text: this.getProfileControlAvatarText(), imageSrc: i?.imageSrc ?? "", alt: i?.alt ?? "alt-img", badge: l ? o($, { appearance: r?.appearance ?? "information", type: r?.type, count: r?.count, outline: r?.outline }) : void 0 }) : void 0, o("div", { key: "10d5e2d94c0dc9b8315980adbbd8699b0204b990", class: "gids-profile__content-container" }, o("span", { key: "e86a04355c50312591c0fb8533d591616a60023c", class: E }, f), o("p", { key: "feacb20a36fd943a4276ed85a2f2b06154aeaecb", class: D }, p))), d ? o(b, { name: d, size: T, appearance: V }) : void 0, u && h ? o("div", { class: "gids-profile__dropdown-menu-container", id: P, role: "profilePickerbox", onClick: (H) => H.stopPropagation() }, o("gids-profile-menu", { headerItem: y, headerDividerVisible: _, headerVisible: x, listSectionDividerVisible: I, profileMenuItems: t, onHeaderAvatarPress: this.onPressHeaderAvatar, onHeaderTitlePress: this.onPressHeaderTitle, onHeaderSupportingTextPress: this.onPressHeaderSupportingText, onProfileMenuItemPress: this.onPressProfileMenuItem, selectedProfileMenuItemId: w })) : void 0);
175
175
  }
176
176
  get hostElement() {
177
177
  return this;
@@ -187,13 +187,13 @@ function m() {
187
187
  typeof customElements < "u" && ["gids-profile", "gids-profile-menu", "gids-profile-menu-header"].forEach(((e) => {
188
188
  switch (e) {
189
189
  case "gids-profile":
190
- customElements.get(f(e)) || customElements.define(f(e), C);
190
+ customElements.get(c(e)) || customElements.define(c(e), C);
191
191
  break;
192
192
  case "gids-profile-menu":
193
- customElements.get(f(e)) || q();
193
+ customElements.get(c(e)) || q();
194
194
  break;
195
195
  case "gids-profile-menu-header":
196
- customElements.get(f(e)) || G();
196
+ customElements.get(c(e)) || G();
197
197
  }
198
198
  }));
199
199
  }
@@ -1,10 +1,10 @@
1
- import { L as o, u as c, D as e, q as t } from "./p-B4hcsDH0-CPqEc-vc.js";
1
+ import { L as c, u as o, D as e, q as t } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { c as n } from "./clsx-OuTLNxxd.js";
4
4
  const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
5
  __proto__: null,
6
6
  getGidsScrimClassNames: d
7
- }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = o(class extends c {
7
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = c(class extends o {
8
8
  constructor(s) {
9
9
  super(), s !== !1 && this.__registerHost(), this.__attachShadow(), this.activeClasses = "";
10
10
  }
@@ -16,7 +16,7 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
16
16
  s !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(s), this.activeClasses = a(this.extraClasses);
17
17
  }
18
18
  render() {
19
- return e("div", { key: "dabb463e89a0f58e4293299df536b475f3dcad88", class: this.activeClasses, part: "root" }, e("slot", { key: "417013f19fdaf3d704712a7fd85e9b39b721d561" }));
19
+ return e("div", { key: "9a1df0ca1a9ec44b2b724d82c6f3e258cf1e4fad", class: this.activeClasses, part: "root" }, e("slot", { key: "f8cf6371fef666315470bf35cdff58a8d4316b25" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -1,4 +1,4 @@
1
- import { m as e, g as m } from "./p-bfWlRsx_-CNZjBYOE.js";
1
+ import { m as e, g as m } from "./p-CKj2Ru6e-B-Nk5B_P.js";
2
2
  const o = e, r = m;
3
3
  export {
4
4
  o as GidsSidebarItem,
@@ -1,4 +1,4 @@
1
- import { G as e, P as o } from "./p-kWyyLyT3-VhX9LNzT.js";
1
+ import { G as e, P as o } from "./p-B2YjHZsu-DxdrSYcE.js";
2
2
  const s = e, t = o;
3
3
  export {
4
4
  s as GidsSidebarMenu,