@ganpatiinfo/gids-core-web 13.0.0 → 15.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 (268) hide show
  1. package/dist/css/index.css +5485 -4131
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-advanced-tooltip.d.ts +11 -0
  8. package/dist/gids-advanced-tooltip.js +1 -0
  9. package/dist/gids-bar-chart.d.ts +1 -1
  10. package/dist/gids-bar-chart.js +1 -1
  11. package/dist/gids-calendar-header-panel.d.ts +1 -1
  12. package/dist/gids-calendar-header-panel.js +1 -1
  13. package/dist/gids-calendar-month-list.d.ts +1 -1
  14. package/dist/gids-calendar-month-list.js +1 -1
  15. package/dist/gids-calendar-year-list.d.ts +1 -1
  16. package/dist/gids-calendar-year-list.js +1 -1
  17. package/dist/gids-calendar.d.ts +1 -1
  18. package/dist/gids-calendar.js +1 -1
  19. package/dist/gids-chart-legend-item.d.ts +1 -1
  20. package/dist/gids-chart-legend-item.js +1 -1
  21. package/dist/gids-chart-legend.d.ts +1 -1
  22. package/dist/gids-chart-legend.js +1 -1
  23. package/dist/gids-chart.d.ts +1 -1
  24. package/dist/gids-chart.js +1 -1
  25. package/dist/gids-chevron-button.d.ts +1 -1
  26. package/dist/gids-chevron-button.js +1 -1
  27. package/dist/gids-dot.d.ts +1 -1
  28. package/dist/gids-dot.js +1 -1
  29. package/dist/gids-dropdown-field.d.ts +1 -1
  30. package/dist/gids-dropdown-field.js +1 -1
  31. package/dist/gids-dropdown-picker.d.ts +1 -1
  32. package/dist/gids-dropdown-picker.js +1 -1
  33. package/dist/gids-dropdown.d.ts +1 -1
  34. package/dist/gids-dropdown.js +1 -1
  35. package/dist/gids-expansion-body-list-item.d.ts +1 -1
  36. package/dist/gids-expansion-body-list-item.js +1 -1
  37. package/dist/gids-expansion-body-list.d.ts +1 -1
  38. package/dist/gids-expansion-body-list.js +1 -1
  39. package/dist/gids-expansion-group.d.ts +1 -1
  40. package/dist/gids-expansion-group.js +1 -1
  41. package/dist/gids-expansion.d.ts +1 -1
  42. package/dist/gids-expansion.js +1 -1
  43. package/dist/gids-field.d.ts +1 -1
  44. package/dist/gids-field.js +1 -1
  45. package/dist/gids-filter.d.ts +1 -1
  46. package/dist/gids-filter.js +1 -1
  47. package/dist/gids-icon.d.ts +1 -1
  48. package/dist/gids-icon.js +1 -1
  49. package/dist/gids-input.d.ts +1 -1
  50. package/dist/gids-input.js +1 -1
  51. package/dist/gids-level-gauge.d.ts +1 -1
  52. package/dist/gids-line-chart.d.ts +1 -1
  53. package/dist/gids-line-chart.js +1 -1
  54. package/dist/gids-md-table.d.ts +1 -1
  55. package/dist/gids-md-table.js +1 -1
  56. package/dist/gids-notification.d.ts +1 -1
  57. package/dist/gids-overflow-container.d.ts +1 -1
  58. package/dist/gids-overflow-container.js +1 -1
  59. package/dist/gids-overlay-provider.d.ts +1 -1
  60. package/dist/gids-overlay-provider.js +1 -1
  61. package/dist/gids-password-field.d.ts +1 -1
  62. package/dist/gids-password-field.js +1 -1
  63. package/dist/gids-pie-chart.d.ts +1 -1
  64. package/dist/gids-pie-chart.js +1 -1
  65. package/dist/gids-popover.d.ts +1 -1
  66. package/dist/gids-popover.js +1 -1
  67. package/dist/gids-progress-circle.d.ts +1 -1
  68. package/dist/gids-scrim.d.ts +1 -1
  69. package/dist/gids-scrim.js +1 -1
  70. package/dist/gids-skeleton.d.ts +11 -0
  71. package/dist/gids-skeleton.js +1 -0
  72. package/dist/gids-snackbar.d.ts +1 -1
  73. package/dist/gids-tab-item.d.ts +1 -1
  74. package/dist/gids-tab-item.js +1 -1
  75. package/dist/gids-tab.d.ts +1 -1
  76. package/dist/gids-tab.js +1 -1
  77. package/dist/gids-text-field.d.ts +1 -1
  78. package/dist/gids-text-field.js +1 -1
  79. package/dist/gids-toggle-button.d.ts +1 -1
  80. package/dist/gids-toggle-button.js +1 -1
  81. package/dist/gids-tooltip.d.ts +1 -1
  82. package/dist/gids-tooltip.js +1 -1
  83. package/dist/gids-transfer-list.d.ts +11 -0
  84. package/dist/gids-transfer-list.js +1 -0
  85. package/dist/p-474lVBcu.js +1 -0
  86. package/dist/{p-DUojHltk.js → p-9NZjfY_u.js} +1 -1
  87. package/dist/{p-C3w3wdCt.js → p-B0Nc9rVM.js} +1 -1
  88. package/dist/p-BBszCFSA.js +1 -0
  89. package/dist/{p-C3We7Q8Q.js → p-BF46eY8H.js} +1 -1
  90. package/dist/{p-4lN1OdcA.js → p-BKIsp763.js} +1 -1
  91. package/dist/p-BKcvOO8o.js +1 -0
  92. package/dist/p-BgvpzBUx.js +1 -0
  93. package/dist/p-BtKwhIx5.js +1 -0
  94. package/dist/{p-6APCjBEI.js → p-CLm5opt9.js} +1 -1
  95. package/dist/{p-Chqeexny.js → p-CZxn31uZ.js} +1 -1
  96. package/dist/{p-C2O_pGky.js → p-Cyant-dw.js} +1 -1
  97. package/dist/{p-COHuQEfZ.js → p-D7qanqNO.js} +1 -1
  98. package/dist/{p-BVAtja26.js → p-DGenc1qz.js} +1 -1
  99. package/dist/p-DLauG0q8.js +1 -0
  100. package/dist/p-DaqhrFRM.js +1 -0
  101. package/dist/{p-BSbOhfLZ.js → p-Db4qRSmH.js} +1 -1
  102. package/dist/{p-BCVFQSjK.js → p-Df5xaj-o.js} +1 -1
  103. package/dist/{p-pSb81aE0.js → p-DhtEw_C2.js} +1 -1
  104. package/dist/p-DshXkAUj.js +1 -0
  105. package/dist/p-Dvh4sPkD.js +1 -0
  106. package/dist/p-Iqbf3Pja.js +1 -0
  107. package/dist/{p-ub0GuVHb.js → p-MnCDY1k9.js} +1 -1
  108. package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +28 -4
  109. package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +15 -0
  110. package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +22 -3
  111. package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +19 -3
  112. package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +26 -3
  113. package/dist/types/components/html/GidsColorSwatch/GidsColorSwatch.d.ts +6 -0
  114. package/dist/types/components/html/GidsCrossTable/GidsCrossTable.d.ts +17 -0
  115. package/dist/types/components/html/GidsCrossTableBody/GidsCrossTableBody.d.ts +12 -0
  116. package/dist/types/components/html/GidsCrossTableRow/GidsCrossTableRow.d.ts +12 -0
  117. package/dist/types/components/html/GidsDialog/GidsDialog.d.ts +12 -0
  118. package/dist/types/components/html/GidsMatrixTable/GidsMatrixTable.d.ts +31 -0
  119. package/dist/types/components/html/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +31 -0
  120. package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +3 -3
  121. package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +3 -3
  122. package/dist/types/components/html/GidsPagination/GidsPagination.d.ts +10 -0
  123. package/dist/types/components/html/GidsPaginator/GidsPaginator.d.ts +6 -0
  124. package/dist/types/components/html/GidsPaginatorItem/GidsPaginatorItem.d.ts +7 -0
  125. package/dist/types/components/html/GidsTable/GidsTable.d.ts +16 -0
  126. package/dist/types/components/html/GidsTableBody/GidsTableBody.d.ts +11 -0
  127. package/dist/types/components/html/GidsTableCell/GidsTableCell.d.ts +21 -0
  128. package/dist/types/components/html/GidsTableEntry/GidsTableEntry.d.ts +9 -0
  129. package/dist/types/components/html/GidsTableFooter/GidsTableFooter.d.ts +12 -0
  130. package/dist/types/components/html/GidsTableFooterControl/GidsTableFooterControl.d.ts +8 -0
  131. package/dist/types/components/html/GidsTableHeader/GidsTableHeader.d.ts +9 -0
  132. package/dist/types/components/html/GidsTableRow/GidsTableRow.d.ts +9 -0
  133. package/dist/types/components/html/GidsTableToolbar/GidsTableToolbar.d.ts +11 -0
  134. package/dist/types/components/html/_GidsDialogControl/GidsDialogControl.d.ts +8 -0
  135. package/dist/types/components/html/_GidsPaginationItem/GidsPaginationItem.d.ts +10 -0
  136. package/dist/types/components/webComponents/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts +28 -0
  137. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +7 -0
  138. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +7 -0
  139. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +7 -0
  140. package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +12 -9
  141. package/dist/types/components/webComponents/GidsSkeleton/GidsSkeleton.d.ts +11 -0
  142. package/dist/types/components/webComponents/GidsTransferList/GidsTransferList.d.ts +49 -0
  143. package/dist/types/components.d.ts +243 -17
  144. package/dist-bundled/es/gids-action-bar.js +28 -27
  145. package/dist-bundled/es/gids-activity-gauge.js +4 -4
  146. package/dist-bundled/es/gids-advanced-tooltip.js +6 -0
  147. package/dist-bundled/es/gids-bar-chart.js +4 -4
  148. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  149. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  150. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  151. package/dist-bundled/es/gids-calendar.js +7 -7
  152. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  153. package/dist-bundled/es/gids-chart-legend.js +4 -4
  154. package/dist-bundled/es/gids-chart.js +38 -34
  155. package/dist-bundled/es/gids-chevron-button.js +4 -4
  156. package/dist-bundled/es/gids-dot.js +3 -3
  157. package/dist-bundled/es/gids-dropdown-field.js +7 -7
  158. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  159. package/dist-bundled/es/gids-dropdown.js +3 -3
  160. package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
  161. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  162. package/dist-bundled/es/gids-expansion-group.js +6 -6
  163. package/dist-bundled/es/gids-expansion.js +1 -1
  164. package/dist-bundled/es/gids-field.js +1 -1
  165. package/dist-bundled/es/gids-filter.js +4 -4
  166. package/dist-bundled/es/gids-icon.js +3 -3
  167. package/dist-bundled/es/gids-input.js +4 -4
  168. package/dist-bundled/es/gids-level-gauge.js +1 -1
  169. package/dist-bundled/es/gids-line-chart.js +4 -4
  170. package/dist-bundled/es/gids-md-table.js +116 -83
  171. package/dist-bundled/es/gids-overflow-container.js +1 -1
  172. package/dist-bundled/es/gids-overlay-provider.js +20 -20
  173. package/dist-bundled/es/gids-password-field.js +52 -52
  174. package/dist-bundled/es/gids-pie-chart.js +1 -1
  175. package/dist-bundled/es/gids-popover.js +2 -2
  176. package/dist-bundled/es/gids-progress-circle.js +1 -1
  177. package/dist-bundled/es/gids-scrim.js +7 -7
  178. package/dist-bundled/es/gids-skeleton.js +41 -0
  179. package/dist-bundled/es/gids-tab-item.js +10 -10
  180. package/dist-bundled/es/gids-tab.js +4 -4
  181. package/dist-bundled/es/gids-text-field.js +10 -10
  182. package/dist-bundled/es/gids-toggle-button.js +1 -1
  183. package/dist-bundled/es/gids-tooltip.js +2 -2
  184. package/dist-bundled/es/gids-transfer-list.js +196 -0
  185. package/dist-bundled/es/p-474lVBcu-B1f8x2o1.js +31 -0
  186. package/dist-bundled/es/{p-DUojHltk-BQ0ryfLD.js → p-9NZjfY_u-CnjUEy1y.js} +2 -2
  187. package/dist-bundled/es/{p-C3w3wdCt-BTH-jYlI.js → p-B0Nc9rVM-SBit1KrF.js} +6 -6
  188. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +115 -0
  189. package/dist-bundled/es/{p-C3We7Q8Q-2EoDLj5m.js → p-BF46eY8H-Xn8Fl9EI.js} +3 -3
  190. package/dist-bundled/es/{p-4lN1OdcA-xYP8gbDc.js → p-BKIsp763-CqL9MgyZ.js} +1 -1
  191. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +1024 -0
  192. package/dist-bundled/es/p-BgvpzBUx-iq-eKBVZ.js +129 -0
  193. package/dist-bundled/es/{p-CI-sN9Lr-BvWzRJw-.js → p-BtKwhIx5-DTEmfdxe.js} +14 -14
  194. package/dist-bundled/es/{p-CHGTBObD-EN4cCwtX.js → p-CHGTBObD-D_K9_Tmh.js} +15 -15
  195. package/dist-bundled/es/{p-6APCjBEI-BREg63Xr.js → p-CLm5opt9-DlxkI38w.js} +5 -5
  196. package/dist-bundled/es/{p-Chqeexny-BuJ-PhNi.js → p-CZxn31uZ-BBHM983b.js} +6 -6
  197. package/dist-bundled/es/{p-CoS0NuDU-CqmDcRWj.js → p-CoS0NuDU-ByDvQAzA.js} +1 -1
  198. package/dist-bundled/es/{p-C2O_pGky-CP4PN55D.js → p-Cyant-dw-Ch2zYNkx.js} +8 -8
  199. package/dist-bundled/es/{p-COHuQEfZ-DcUxD9TI.js → p-D7qanqNO-Dby5jSjA.js} +12 -12
  200. package/dist-bundled/es/{p-BVAtja26-C16IjShX.js → p-DGenc1qz-CMwVEtCm.js} +7 -7
  201. package/dist-bundled/es/{p-_SIWct9h-jMYFZ-VO.js → p-DLauG0q8-CCUuzYl9.js} +6 -6
  202. package/dist-bundled/es/{p-DMNS1d8v-CHF62UXm.js → p-DMNS1d8v-BX8e_AsY.js} +14 -14
  203. package/dist-bundled/es/p-DaqhrFRM-2PqBeu5o.js +111 -0
  204. package/dist-bundled/es/{p-BSbOhfLZ-BdEHhmFM.js → p-Db4qRSmH-B5pzOeve.js} +2 -2
  205. package/dist-bundled/es/{p-Degg_WJz-BLua06el.js → p-Degg_WJz-ORZcjc8G.js} +1 -1
  206. package/dist-bundled/es/{p-BCVFQSjK-CKrYrI4b.js → p-Df5xaj-o-fxAXUmag.js} +1 -1
  207. package/dist-bundled/es/{p-Dg2yoUxw-Cca8ROd_.js → p-Dg2yoUxw-DliMstZy.js} +8 -8
  208. package/dist-bundled/es/{p-pSb81aE0-WzAszFOQ.js → p-DhtEw_C2-D_91JSPC.js} +3 -3
  209. package/dist-bundled/es/{p-C3xv7tfs-DHsjc3Ns.js → p-DshXkAUj-DgCiQIA2.js} +15 -12
  210. package/dist-bundled/es/p-Dvh4sPkD-B-T5C03p.js +99 -0
  211. package/dist-bundled/es/p-Iqbf3Pja-DuajY4uD.js +52 -0
  212. package/dist-bundled/es/{p-ub0GuVHb-C9vrhXyF.js → p-MnCDY1k9-CgbTyJ5R.js} +1 -1
  213. package/dist-bundled/es/{p-UVmSPzTd-6vjXok6h.js → p-UVmSPzTd-CR1higgJ.js} +1 -1
  214. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  215. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  216. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +5 -0
  217. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  218. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  219. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  220. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  221. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  222. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  223. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  224. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  225. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  226. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  227. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  228. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  229. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  230. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  231. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  232. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  233. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  234. package/dist-bundled/umd/gids-field.umd.js +1 -1
  235. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  236. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  237. package/dist-bundled/umd/gids-input.umd.js +2 -2
  238. package/dist-bundled/umd/gids-level-gauge.umd.js +1 -1
  239. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  240. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  241. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  242. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  243. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  244. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  245. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  246. package/dist-bundled/umd/gids-progress-circle.umd.js +1 -1
  247. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  248. package/dist-bundled/umd/gids-skeleton.umd.js +5 -0
  249. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  250. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  251. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  252. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  253. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  254. package/dist-bundled/umd/gids-transfer-list.umd.js +5 -0
  255. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  256. package/package.json +33 -9
  257. package/dist/p-C3xv7tfs.js +0 -1
  258. package/dist/p-C56G7JRy.js +0 -1
  259. package/dist/p-CI-sN9Lr.js +0 -1
  260. package/dist/p-D6lxqcxP.js +0 -1
  261. package/dist/p-DO0MyFf4.js +0 -1
  262. package/dist/p-_SIWct9h.js +0 -1
  263. package/dist/p-a3JfEYJp.js +0 -1
  264. package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -5
  265. package/dist-bundled/es/p-C56G7JRy-BCGZG2-3.js +0 -88
  266. package/dist-bundled/es/p-D6lxqcxP-C6BOC0kV.js +0 -74
  267. package/dist-bundled/es/p-DO0MyFf4-Ddg5sVMx.js +0 -115
  268. package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +0 -1128
@@ -1,64 +1,97 @@
1
- import { L as H, u as C, D as r, P as x, F as A, q as y } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { o as S } from "./p-C2POfZhu-DzG_JxV6.js";
3
- import { d as v } from "./p-D4Pimu_8-ARSuGBs4.js";
4
- import { c as g } from "./clsx-OuTLNxxd.js";
5
- const D = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment: i, width: s }, l) => g("gids-basic-table-cell", {
6
- "gids-basic-table-cell--border-side-top": e?.includes("top"),
7
- "gids-basic-table-cell--border-side-bottom": e?.includes("bottom"),
8
- "gids-basic-table-cell--border-side-left": e?.includes("left"),
9
- "gids-basic-table-cell--border-side-right": e?.includes("right"),
10
- // Border radius sides
11
- "gids-basic-table-cell--border-radius-side-top-left": a?.includes("top-left"),
12
- "gids-basic-table-cell--border-radius-side-bottom-left": a?.includes("bottom-left"),
13
- "gids-basic-table-cell--border-radius-side-top-right": a?.includes("top-right"),
14
- "gids-basic-table-cell--border-radius-side-bottom-right": a?.includes("bottom-right"),
15
- // Background colors
16
- "gids-basic-table-cell--appearance-default": t === "default",
17
- "gids-basic-table-cell--appearance-primal": t === "primal",
18
- "gids-basic-table-cell--appearance-neutral-default": t === "neutral-default",
19
- "gids-basic-table-cell--appearance-info": t === "info",
20
- "gids-basic-table-cell--appearance-warning": t === "warning",
21
- "gids-basic-table-cell--appearance-positive": t === "positive",
22
- "gids-basic-table-cell--appearance-danger": t === "danger",
23
- // Alignments
24
- "gids-basic-table-cell--text-alignment-left": i === "left",
25
- "gids-basic-table-cell--text-alignment-right": i === "right",
26
- "gids-basic-table-cell--text-alignment-center": i === "center",
1
+ import { L as q, u as M, D as r, 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";
5
+ import { c as B } from "./clsx-OuTLNxxd.js";
6
+ const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName && e.leadingIconName !== "" || e?.trailingIconName && e.trailingIconName !== ""), Q = ({ cellActionButton: e, neededIconType: a = "leading" }) => a === "trailing" ? {
7
+ cellIconName: e?.trailingIconName,
8
+ cellIconAppearance: e?.trailingIconAppearance,
9
+ cellIconSize: e?.trailingIconSize
10
+ } : {
11
+ cellIconName: e?.leadingIconName,
12
+ cellIconAppearance: e?.leadingIconAppearance,
13
+ cellIconSize: e?.leadingIconSize
14
+ }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15
+ __proto__: null,
16
+ getTableCellBtnIcon: Q,
17
+ isTableCellActionButtonVisible: F
18
+ }, Symbol.toStringTag, { value: "Module" })), W = ({ width: e }, a) => B("gids-basic-table-header", {
27
19
  // Widths
28
- // 'gids-basic-table-cell--width-full': width === 'full', // Width set by default so not needed
29
- "gids-basic-table-cell--width-intrinsic": s === "intrinsic"
30
- }, l), V = (e) => e && e.toString() !== "" ? `gids-typography-${e}` : "gids-typography-label-medium", R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ // 'gids-basic-table-header--width-full': width === 'full', // Width set by default so not needed
21
+ "gids-basic-table-header--width-intrinsic": e === "intrinsic"
22
+ }, a), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31
23
  __proto__: null,
32
- getGidsBasicTableCellClassNames: D,
33
- getGidsBasicTableCellLabelTypographyClass: V
34
- }, Symbol.toStringTag, { value: "Module" })), L = ({ width: e }, a) => g("gids-basic-table-row", {
24
+ getGidsBasicTableHeaderClassNames: W
25
+ }, Symbol.toStringTag, { value: "Module" })), Y = ({ width: e }, a) => B("gids-basic-table-row", {
35
26
  // Widths
36
27
  // 'gids-basic-table-row--width-full': width === 'full', // Width set by default so not needed
37
28
  "gids-basic-table-row--width-intrinsic": e === "intrinsic"
38
- }, a), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
+ }, a), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39
30
  __proto__: null,
40
- getGidsBasicTableRowClassNames: L
41
- }, Symbol.toStringTag, { value: "Module" })), G = ({ width: e }, a) => g("gids-basic-table-header", {
42
- // Widths
43
- // 'gids-basic-table-header--width-full': width === 'full', // Width set by default so not needed
44
- "gids-basic-table-header--width-intrinsic": e === "intrinsic"
45
- }, a), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46
- __proto__: null,
47
- getGidsBasicTableHeaderClassNames: G
48
- }, Symbol.toStringTag, { value: "Module" })), O = ({ width: e }, a) => g("gids-md-table", {
31
+ getGidsBasicTableRowClassNames: Y
32
+ }, Symbol.toStringTag, { value: "Module" })), ee = ({ width: e }, a) => B("gids-md-table", {
49
33
  // Widths
50
34
  // 'gids-md-table--width-full': width === 'full', // Width set by default so not needed
51
35
  "gids-md-table--width-intrinsic": e === "intrinsic"
52
- }, a), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
+ }, a), ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
+ __proto__: null,
38
+ getGidsMdTableClassNames: ee
39
+ }, Symbol.toStringTag, { value: "Module" })), te = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment: l, width: d }, i) => B("gids-table-cell", {
40
+ "gids-table-cell--border-side-top": e?.includes("top"),
41
+ "gids-table-cell--border-side-bottom": e?.includes("bottom"),
42
+ "gids-table-cell--border-side-left": e?.includes("left"),
43
+ "gids-table-cell--border-side-right": e?.includes("right"),
44
+ // Border radius sides
45
+ "gids-table-cell--border-radius-side-top-left": a?.includes("top-left"),
46
+ "gids-table-cell--border-radius-side-bottom-left": a?.includes("bottom-left"),
47
+ "gids-table-cell--border-radius-side-top-right": a?.includes("top-right"),
48
+ "gids-table-cell--border-radius-side-bottom-right": a?.includes("bottom-right"),
49
+ // Background colors
50
+ "gids-table-cell--appearance-default": t === "default",
51
+ "gids-table-cell--appearance-primal": t === "primal",
52
+ "gids-table-cell--appearance-neutral-default": t === "neutral-default",
53
+ "gids-table-cell--appearance-info": t === "info",
54
+ "gids-table-cell--appearance-warning": t === "warning",
55
+ "gids-table-cell--appearance-positive": t === "positive",
56
+ "gids-table-cell--appearance-danger": t === "danger",
57
+ // Alignments
58
+ "gids-table-cell--text-alignment-left": l === "left",
59
+ "gids-table-cell--text-alignment-right": l === "right",
60
+ "gids-table-cell--text-alignment-center": l === "center",
61
+ // Widths
62
+ // 'gids-table-cell--width-full': width === 'full', // Width set by default so not needed
63
+ "gids-table-cell--width-intrinsic": d === "intrinsic"
64
+ }, i), le = (e) => e && e.toString() !== "" ? `gids-typography-${e}` : "gids-typography-label-medium", ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53
65
  __proto__: null,
54
- getGidsMdTableClassNames: O
55
- }, Symbol.toStringTag, { value: "Module" })), { getGidsBasicTableCellClassNames: N, getGidsBasicTableCellLabelTypographyClass: j } = R, T = ({ id: e, uniqueKey: a, extraData: t, label: i, cellDataType: s = "text", displayTags: l = [], width: d = "full", appearance: o = "none", borderSides: n = [], borderRadiusSides: b = [], textAlignment: p = "center", labelTypography: c = "label-medium", isHeaderCell: m = !1, class: u, ..._ }) => r(m ? "th" : "td", { ..._, class: N({ borderSides: n, borderRadiusSides: b, appearance: o, textAlignment: p, width: d }, u), id: e, "unique-key": a, "extra-data": JSON.stringify(t) }, s === "text" && i && i !== "" ? r("span", { class: "" + j(c) }, i) : void 0, s === "display-tag" && l && l.length > 0 ? r("div", { class: "gids-basic-table-cell__display-tags-container" }, l.map(((h) => r(S, { label: h?.label ?? "", appearance: h?.displayTagAppearance ?? "subtle", size: h?.displayTagSize ?? "xs", icon: h?.displayTagIcon ? r(v, { name: h.displayTagIcon, size: h?.displayTagSize ?? "xs", appearance: h?.displayTagIconAppearance ?? "regular" }) : void 0, color: h?.displayTagColor ?? "accent-5" })))) : void 0), { getGidsBasicTableRowClassNames: q } = z, f = ({ width: e = "full", layout: a = "horizontal", rows: t = [], isHeaderRow: i = !1, class: s, ...l }) => {
56
- const d = q({ width: e }, s);
57
- return a === "vertical" ? r(A, null, t.map(((o, n) => r("tr", { ...l, key: "row-v-" + (n + 1), class: d }, r(T, { ...o, width: e, isHeaderCell: i }))))) : r("tr", { ...l, class: d }, t.map(((o, n) => r(T, { key: "row-h-" + (n + 1), ...o, width: e, isHeaderCell: i }))));
58
- }, { getGidsBasicTableHeaderClassNames: M } = I, E = ({ width: e = "full", headerCells: a = [], appearance: t = "none", labelTypography: i = "label-medium", textAlignment: s = "center", layout: l = "horizontal", class: d, ...o }) => {
59
- const n = M({ width: e }, d);
60
- return r("thead", { ...o, class: n }, r(f, { rows: a.map(((b) => ({ appearance: t, labelTypography: i, textAlignment: s, ...b }))), width: e, layout: l, isHeaderRow: !0 }));
61
- }, { getGidsMdTableClassNames: P } = k, B = H(class extends C {
66
+ getGidsTableCellClassNames: te,
67
+ getGidsTableCellLabelTypographyClass: le
68
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsTableCellClassNames: de, getGidsTableCellLabelTypographyClass: re } = ie, { isTableCellActionButtonVisible: ne, getTableCellBtnIcon: se } = U, v = ({ id: e, uniqueKey: a, extraData: t, label: l, cellDataType: d = "text", displayTags: i = [], width: n = "full", appearance: p = "none", borderSides: g = [], borderRadiusSides: o = [], textAlignment: h = "center", labelTypography: c = "label-medium", isHeaderCell: b = !1, cellPrimaryActionButtons: m = [], cellSecondaryActionButtons: z = [], onClickCellActionBtn: f, class: R, ...L }) => {
69
+ function C({ cellActionBtn: s, neededIconType: y = "leading" }) {
70
+ const T = se({ cellActionButton: s, neededIconType: y });
71
+ return T?.cellIconName && "" + T.cellIconName != "" ? r(S, { name: T.cellIconName, size: T.cellIconSize, appearance: T.cellIconAppearance }) : void 0;
72
+ }
73
+ function _(s) {
74
+ const y = s === "primary" ? m : z;
75
+ if (y && !(y.length <= 0)) return r("div", { class: s === "primary" ? "gids-table-cell__primary-action-btn-container" : "gids-table-cell__secondary-action-btn-container" }, y.map(((T, w) => {
76
+ const H = s === "primary" ? y.length - w - 1 : w, A = y[H];
77
+ return ne(A) ? (function({ cellActionBtn: u, actionBtnIndex: P, actionBtnPosition: k }) {
78
+ return r(J, { as: "button", appearance: u?.appearance ?? "default", size: u?.size ?? "md", disabled: u?.disabled, destructive: u?.destructive, positive: u?.positive, loading: u?.loading, width: u?.width ?? "intrinsic", type: "button", leadingIcon: C({ cellActionBtn: u, neededIconType: "leading" }), trailingIcon: C({ cellActionBtn: u, neededIconType: "trailing" }), onClick: (O) => (function({ event: G, actionBtnIndex: x, actionBtnPosition: j }) {
79
+ f && f({ originalEvent: G, details: { appearance: p, cellDataType: d, displayTags: i, label: l, id: e, extraData: t, isHeaderCell: b, uniqueKey: a, actionBtnNumber: "action-btn-" + (x + 1), actionBtnIndex: x, actionBtnPosition: j ?? "secondary" } });
80
+ })({ event: O, actionBtnIndex: P, actionBtnPosition: k }) }, u?.buttonLabel ?? "");
81
+ })({ cellActionBtn: A, actionBtnIndex: H, actionBtnPosition: s }) : void 0;
82
+ })));
83
+ }
84
+ return r(b ? "th" : "td", { ...L, class: de({ borderSides: g, borderRadiusSides: o, appearance: p, textAlignment: h, width: n }, R), id: e, "unique-key": a, "extra-data": JSON.stringify(t) }, _("primary"), d === "text" && l && l !== "" ? r("span", { class: "" + re(c) }, l) : void 0, d === "display-tag" && i && i.length > 0 ? r("div", { class: "gids-table-cell__display-tags-container" }, i.map(((s) => r($, { label: s?.label ?? "", appearance: s?.displayTagAppearance ?? "subtle", size: s?.displayTagSize ?? "xs", icon: s?.displayTagIcon ? r(S, { name: s.displayTagIcon, size: s?.displayTagSize ?? "xs", appearance: s?.displayTagIconAppearance ?? "regular" }) : void 0, color: s?.displayTagColor ?? "accent-5" })))) : void 0, _("secondary"));
85
+ }, { getGidsBasicTableRowClassNames: oe } = Z, D = ({ width: e = "full", layout: a = "horizontal", rows: t = [], isHeaderRow: l = !1, cellPrimaryActionButtons: d, cellSecondaryActionButtons: i, onClickRowActionBtn: n, class: p, ...g }) => {
86
+ const o = oe({ width: e }, p);
87
+ function h({ event: c, cellIndex: b }) {
88
+ n && n({ ...c, details: { ...c.details, cellIndex: b } });
89
+ }
90
+ return a === "vertical" ? r(K, null, t.map(((c, b) => r("tr", { ...g, key: "row-v-" + (b + 1), class: o }, r(v, { ...c, width: e, isHeaderCell: l, cellPrimaryActionButtons: d, cellSecondaryActionButtons: i, onClickCellActionBtn: (m) => h({ event: m, cellIndex: b }) }))))) : r("tr", { ...g, class: o }, t.map(((c, b) => r(v, { key: "row-h-" + (b + 1), ...c, width: e, isHeaderCell: l, cellPrimaryActionButtons: d, cellSecondaryActionButtons: i, onClickCellActionBtn: (m) => h({ event: m, cellIndex: b }) }))));
91
+ }, { getGidsBasicTableHeaderClassNames: ce } = X, be = ({ width: e = "full", headerCells: a = [], appearance: t = "none", labelTypography: l = "label-medium", textAlignment: d = "center", layout: i = "horizontal", cellPrimaryActionButtons: n, cellSecondaryActionButtons: p, onClickHeaderActionBtn: g, class: o, ...h }) => {
92
+ const c = ce({ width: e }, o);
93
+ return r("thead", { ...h, class: c }, r(D, { rows: a.map(((b) => ({ appearance: t, labelTypography: l, textAlignment: d, ...b }))), width: e, layout: i, isHeaderRow: !0, cellPrimaryActionButtons: n, cellSecondaryActionButtons: p, onClickRowActionBtn: g }));
94
+ }, { getGidsMdTableClassNames: pe } = ae, N = q(class extends M {
62
95
  constructor(e) {
63
96
  super(), e !== !1 && this.__registerHost(), this.isTopHeaderVisible = !1, this.isSideHeaderVisible = !1, this.width = "full", this.topHeaderAppearance = "none", this.sideHeaderAppearance = "none", this.rowAppearance = "none", this.tableBorders = "none", this.tableBorderRadius = [], this.topHeaderLabelTypography = "eyebrow-small", this.sideHeaderLabelTypography = "label-small", this.rowLabelTypography = "label-small", this.topHeaderTextAlignment = "left", this.sideHeaderTextAlignment = "left", this.rowTextAlignment = "left", this.topHeaderCells = [], this.tableBody = [], this.constructedTableBodyData = [];
64
97
  }
@@ -85,35 +118,35 @@ const D = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
85
118
  }
86
119
  makeTableBodyData() {
87
120
  const e = this.isSideHeaderVisible, a = this?.tableBody ?? [], t = [];
88
- a.map(((i, s) => {
89
- let l = [];
90
- const d = i.heading, o = i.id, n = i.uniqueKey, b = i.extraData, p = i?.items ?? [];
91
- if (e && d && d !== "") {
92
- const c = this.getSideHeaderBorderSides({ _tableBodyData: a, _itemsArr: p, indexI: s });
93
- l = [{ id: o, uniqueKey: n, extraData: b, label: d, appearance: this.sideHeaderAppearance, labelTypography: this.sideHeaderLabelTypography, textAlignment: this.sideHeaderTextAlignment, isHeader: !0, borderSides: c }];
121
+ a.map(((l, d) => {
122
+ let i = [];
123
+ const n = l.heading, p = l.id, g = l.uniqueKey, o = l.extraData, h = l?.items ?? [];
124
+ if (e && n && n !== "") {
125
+ const c = this.getSideHeaderBorderSides({ _tableBodyData: a, _itemsArr: h, indexI: d });
126
+ i = [{ id: p, uniqueKey: g, extraData: o, label: n, appearance: this.sideHeaderAppearance, labelTypography: this.sideHeaderLabelTypography, textAlignment: this.sideHeaderTextAlignment, isHeader: !0, borderSides: c }];
94
127
  }
95
- p.map(((c, m) => {
96
- const u = this.getRowBorderSides({ _tableBodyData: a, _itemsArr: p, indexI: s, indexJ: m });
97
- l.push({ ...c, appearance: this.rowAppearance, labelTypography: this.rowLabelTypography, textAlignment: this.rowTextAlignment, isHeader: !1, borderSides: u });
98
- })), t.push({ heading: d, id: o, uniqueKey: n, extraData: b, items: l });
128
+ h.map(((c, b) => {
129
+ const m = this.getRowBorderSides({ _tableBodyData: a, _itemsArr: h, indexI: d, indexJ: b });
130
+ i.push({ ...c, appearance: this.rowAppearance, labelTypography: this.rowLabelTypography, textAlignment: this.rowTextAlignment, isHeader: !1, borderSides: m });
131
+ })), t.push({ heading: n, id: p, uniqueKey: g, extraData: o, items: i });
99
132
  })), this.constructedTableBodyData = t;
100
133
  }
101
- getRowBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t, indexJ: i }) {
102
- const s = this.applyTableInternalBorders(), l = this.applyTableAllBorders();
103
- let d = [];
104
- return (s || l) && (i < a.length && t + 1 < e.length && (d = ["bottom"]), i + 1 < a.length && (d = [...d, "right"])), d;
134
+ getRowBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t, indexJ: l }) {
135
+ const d = this.applyTableInternalBorders(), i = this.applyTableAllBorders();
136
+ let n = [];
137
+ return (d || i) && (l < a.length && t + 1 < e.length && (n = ["bottom"]), l + 1 < a.length && (n = [...n, "right"])), n;
105
138
  }
106
139
  getSideHeaderBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t }) {
107
- const i = this.applyTableInternalBorders(), s = this.applyTableAllBorders();
108
- let l = [];
109
- return (i || s) && (t + 1 < e.length && (l = ["bottom"]), a.length > 0 && (l = [...l, "right"])), l;
140
+ const l = this.applyTableInternalBorders(), d = this.applyTableAllBorders();
141
+ let i = [];
142
+ return (l || d) && (t + 1 < e.length && (i = ["bottom"]), a.length > 0 && (i = [...i, "right"])), i;
110
143
  }
111
144
  getTableClasses() {
112
145
  const e = this.width === "full" ? "gids-md-table__main-table gids-md-table__main-table-width-full" : "gids-md-table__main-table gids-md-table__main-table-width-intrinsic";
113
146
  let a = e;
114
147
  this.applyTableOuterBorders() && (a = e + " gids-md-table__outer-borders");
115
- const t = this.addBorderRadiusDirectlyToTable(), i = t && t !== "" ? `${a} ${t}` : "" + a;
116
- return console.log("finalTableClass", i), i;
148
+ const t = this.addBorderRadiusDirectlyToTable();
149
+ return t && t !== "" ? `${a} ${t}` : "" + a;
117
150
  }
118
151
  addBorderRadiusDirectlyToTable() {
119
152
  let e = "";
@@ -124,11 +157,11 @@ const D = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
124
157
  const e = this.isSideHeaderVisible, a = this?.topHeaderCells ?? [];
125
158
  let t = [...a];
126
159
  e === !1 && a.length > 0 ? t.splice(0, 1) : t = [...a];
127
- const i = this.applyTableInternalBorders(), s = this.applyTableAllBorders(), l = this.applyTableTopHeaderBorders(), d = [];
128
- return t.map(((o, n) => {
129
- let b = [];
130
- (i || s || l) && (b = ["bottom"], n + 1 < t.length && (b = [...b, "right"])), d.push({ ...o, borderSides: b });
131
- })), d;
160
+ const l = this.applyTableInternalBorders(), d = this.applyTableAllBorders(), i = this.applyTableTopHeaderBorders(), n = [];
161
+ return t.map(((p, g) => {
162
+ let o = [];
163
+ (l || d || i) && (o = ["bottom"], g + 1 < t.length && (o = [...o, "right"])), n.push({ ...p, borderSides: o });
164
+ })), n;
132
165
  }
133
166
  applyTableOuterBorders() {
134
167
  const e = this.tableBorders;
@@ -144,8 +177,8 @@ const D = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
144
177
  return this.tableBorders === "top-header-only";
145
178
  }
146
179
  render() {
147
- const e = P({ width: this.width }), a = this.isTopHeaderVisible, t = this.getTopHeaderCells(), i = this?.constructedTableBodyData ?? [];
148
- return r(x, { key: "814e05e15c2d08c626885f95c5729b3fa7e66c49", class: e }, r("table", { key: "d11cf92544c1281c39917ac74f0c236456ca19c2", class: this.getTableClasses() }, a ? r(E, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, r("tbody", { key: "88458110e1d34b7405a06ab51ae7d0fffd3bc57a" }, i.length > 0 ? i.map(((s) => r(f, { layout: "horizontal", rows: s?.items ?? [], width: this.width }))) : void 0)));
180
+ const e = pe({ width: this.width }), a = this.isTopHeaderVisible, t = this.getTopHeaderCells(), l = this?.constructedTableBodyData ?? [];
181
+ return r(E, { key: "e1404c2afc5cd310aac72861cd62a5675d60debd", class: e }, r("table", { key: "6af19657d96525fb5835ff78018633dbeac233bc", class: this.getTableClasses() }, a ? r(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, r("tbody", { key: "c43e3a3121839c191c18a8621f902de504dc8fba" }, l.length > 0 ? l.map(((d) => r(D, { layout: "horizontal", rows: d?.items ?? [], width: this.width }))) : void 0)));
149
182
  }
150
183
  get hostElement() {
151
184
  return this;
@@ -157,14 +190,14 @@ const D = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
157
190
  return ".gids-md-table{display:flex;flex-direction:column;width:100%}.gids-md-table__main-table{border-collapse:separate;border-spacing:0;overflow:hidden;table-layout:fixed}.gids-md-table__main-table-width-full{width:100%}.gids-md-table__main-table-width-intrinsic{width:max-content}.gids-md-table--width-intrinsic{width:max-content}.gids-md-table__outer-borders{border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-md-table__radius-top-left{border-top-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-left{border-bottom-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-top-right{border-top-right-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-right{border-bottom-right-radius:var(--gids-border-radius-md)}";
158
191
  }
159
192
  }, [0, "gids-md-table", { isTopHeaderVisible: [4, "is-top-header-visible"], isSideHeaderVisible: [4, "is-side-header-visible"], width: [1], topHeaderAppearance: [1, "top-header-appearance"], sideHeaderAppearance: [1, "side-header-appearance"], rowAppearance: [1, "row-appearance"], tableBorders: [1, "table-borders"], tableBorderRadius: [16], topHeaderLabelTypography: [1, "top-header-label-typography"], sideHeaderLabelTypography: [1, "side-header-label-typography"], rowLabelTypography: [1, "row-label-typography"], topHeaderTextAlignment: [1, "top-header-text-alignment"], sideHeaderTextAlignment: [1, "side-header-text-alignment"], rowTextAlignment: [1, "row-text-alignment"], topHeaderCells: [16], tableBody: [16], constructedTableBodyData: [32] }, void 0, { isTopHeaderVisible: [{ handleTopHeaderVisibilityChange: 0 }], isSideHeaderVisible: [{ handleSideHeaderVisibilityChange: 0 }, { handleTableBodyChange: 0 }], tableBorders: [{ handleTableBordersChange: 0 }, { handleTableBodyChange: 0 }], tableBorderRadius: [{ handleTableBorderRadiusChange: 0 }, { handleTableBodyChange: 0 }], topHeaderCells: [{ handleTopHeaderCellsChange: 0 }], tableBody: [{ handleTableBodyChange: 0 }] }]);
160
- function w() {
193
+ function V() {
161
194
  typeof customElements < "u" && ["gids-md-table"].forEach(((e) => {
162
- e === "gids-md-table" && (customElements.get(y(e)) || customElements.define(y(e), B));
195
+ e === "gids-md-table" && (customElements.get(I(e)) || customElements.define(I(e), N));
163
196
  }));
164
197
  }
165
- w();
166
- const Q = B, U = w;
198
+ V();
199
+ const Te = N, Be = V;
167
200
  export {
168
- Q as GidsMdTable,
169
- U as defineCustomElement
201
+ Te as GidsMdTable,
202
+ Be as defineCustomElement
170
203
  };
@@ -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: "cfdffbc49db84a4ac18172a6b8ed9fb4a0e3ad1f", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "f3d5811cc2991941c14fdc655826f69620968248" }));
23
+ return e("div", { key: "66d29a2d7da02c695def7edaa9c338161b382cfa", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "dd1c0a97cf7e93a50ab40cceb14e50b6e59efdc7" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
@@ -2,14 +2,14 @@ import { L as C, u as y, D as o, F as w, q as f } from "./p-Bf3p-DY2-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
4
  import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
5
- import { o as u } from "./p-UVmSPzTd-6vjXok6h.js";
5
+ import { o as u } from "./p-UVmSPzTd-CR1higgJ.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
- const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
8
- // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
9
- "gids-snackbar-container--appearance-information": t === "information",
10
- "gids-snackbar-container--appearance-success": t === "success",
11
- "gids-snackbar-container--appearance-warning": t === "warning",
12
- "gids-snackbar-container--appearance-error": t === "error"
7
+ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
8
+ // 'gids-notification-container--appearance-default': appearance === 'default' // its a default
9
+ "gids-notification-container--appearance-information": t === "information",
10
+ "gids-notification-container--appearance-success": t === "success",
11
+ "gids-notification-container--appearance-warning": t === "warning",
12
+ "gids-notification-container--appearance-error": t === "error"
13
13
  }, e), S = (t) => {
14
14
  if (t)
15
15
  switch (t) {
@@ -26,8 +26,8 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
26
26
  }
27
27
  }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
28
  __proto__: null,
29
- getGidsSnackbarContainerClassNames: Q,
30
- getSnackbarContainerIconNames: S
29
+ getGidsNotificationContainerClassNames: Q,
30
+ getNotificationContainerIconNames: S
31
31
  }, Symbol.toStringTag, { value: "Module" })), b = (t) => {
32
32
  switch (t) {
33
33
  case "bottom-left":
@@ -91,12 +91,12 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
91
91
  getComponentEntryClasses: b,
92
92
  getComponentExitClasses: v,
93
93
  getComponentStackClasses: M
94
- }, Symbol.toStringTag, { value: "Module" })), T = ({ appearance: t }, e) => h("gids-notification-container", {
95
- // 'gids-notification-container--appearance-default': appearance === 'default' // its a default
96
- "gids-notification-container--appearance-information": t === "information",
97
- "gids-notification-container--appearance-success": t === "success",
98
- "gids-notification-container--appearance-warning": t === "warning",
99
- "gids-notification-container--appearance-error": t === "error"
94
+ }, Symbol.toStringTag, { value: "Module" })), T = ({ appearance: t }, e) => h("gids-snackbar-container", {
95
+ // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
96
+ "gids-snackbar-container--appearance-information": t === "information",
97
+ "gids-snackbar-container--appearance-success": t === "success",
98
+ "gids-snackbar-container--appearance-warning": t === "warning",
99
+ "gids-snackbar-container--appearance-error": t === "error"
100
100
  }, e), q = (t) => {
101
101
  if (t)
102
102
  switch (t) {
@@ -113,12 +113,12 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
113
113
  }
114
114
  }, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
- getGidsNotificationContainerClassNames: T,
117
- getNotificationContainerIconNames: q
118
- }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = j, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
116
+ getGidsSnackbarContainerClassNames: T,
117
+ getSnackbarContainerIconNames: q
118
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = I, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
119
119
  const r = L(t);
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
- }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = I, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
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
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));
124
124
  }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = C(class extends y {
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
187
187
  }
188
188
  render() {
189
189
  const t = this._allowedComponentQueue[0]?.position || "bottom-center";
190
- return o(w, { key: "bb974c7b42f4efc210a2b879538d3d34c963327c" }, o("slot", { key: "3bf4f43195851eda44a7a3adee27388e59842f85" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "c97e5540b3c302e9c548d03166a67755bc195237" }, o("slot", { key: "0b29ba9fec23311a5fd8d0ce3c6b8f5f15f96a16" }), 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,47 +1,59 @@
1
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";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
3
+ import { a as F } from "./p-Dg2yoUxw-DliMstZy.js";
4
4
  import { r as L } from "./p-UxDcM-C5-BJO4X0jM.js";
5
- import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
5
+ import { o as O } from "./p-UVmSPzTd-CR1higgJ.js";
6
6
  import { g as k, d as j } from "./p-D4Pimu_8-ARSuGBs4.js";
7
- import { h as z } from "./p-ub0GuVHb-C9vrhXyF.js";
8
- import { r as E } from "./p-BVAtja26-C16IjShX.js";
7
+ import { h as z } from "./p-MnCDY1k9-CgbTyJ5R.js";
8
+ import { r as E } from "./p-DGenc1qz-CMwVEtCm.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
- const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
10
+ const G = (e) => {
11
+ switch (e) {
12
+ case "error":
13
+ return "error";
14
+ case "success":
15
+ return "success";
16
+ default:
17
+ return "default";
18
+ }
19
+ }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ __proto__: null,
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 }) => {
11
23
  if (!e || e === "")
12
24
  return 0;
13
25
  let n = 0;
14
- return t.includes("1-uppercase") && f.test(e) && n++, t.includes("1-lowercase") && b.test(e) && n++, t.includes("1-digit") && p.test(e) && n++, t.includes("1-special-character") && q.test(e) && n++, t.includes("include-min-length") && s && s > 0 && e.length >= s && n++, n;
15
- }, B = ({ textScore: e, maxScore: t }) => {
26
+ return t.includes("1-uppercase") && f.test(e) && n++, t.includes("1-lowercase") && p.test(e) && n++, t.includes("1-digit") && b.test(e) && n++, t.includes("1-special-character") && q.test(e) && n++, t.includes("include-min-length") && s && s > 0 && e.length >= s && n++, n;
27
+ }, I = ({ textScore: e, maxScore: t }) => {
16
28
  const s = t > 0 ? e / t * 100 : 0;
17
29
  return s <= 20 ? "is-weak" : s <= 40 ? "is-medium" : s <= 60 ? "is-good-enough" : s <= 80 ? "is-good" : "is-strong";
18
- }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30
+ }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
31
  __proto__: null,
20
- getColorModifierByScore: B,
21
- getStrengthMeterScore: G,
22
- include1DigitReg: p,
23
- include1LowercaseLetterReg: b,
32
+ getColorModifierByScore: I,
33
+ getStrengthMeterScore: A,
34
+ include1DigitReg: b,
35
+ include1LowercaseLetterReg: p,
24
36
  include1SpecialCharReg: q,
25
37
  include1UppercaseLetterReg: f
26
- }, 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) => {
27
39
  const t = [];
28
40
  return e && e.length > 0 && e.map((s) => {
29
41
  s?.requirementRule && t.push(s.requirementRule);
30
42
  }), t;
31
- }, I = ({ rule: e, textMinLength: t = 0, text: s }) => {
43
+ }, D = ({ rule: e, textMinLength: t = 0, text: s }) => {
32
44
  if (!s || s === "" || !e && !t)
33
45
  return !1;
34
46
  switch (e) {
35
47
  case "1-uppercase":
36
48
  return f.test(s);
37
49
  case "1-lowercase":
38
- return b.test(s);
39
- case "1-digit":
40
50
  return p.test(s);
51
+ case "1-digit":
52
+ return b.test(s);
41
53
  case "1-special-character":
42
54
  return q.test(s);
43
55
  case "include-min-length":
44
- return o({
56
+ return d({
45
57
  requirementRule: "include-min-length",
46
58
  textMinLength: t
47
59
  }) === !0 && s.length >= t;
@@ -67,7 +79,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
67
79
  requirementText: "Password must contain atleast 1 lowercase letter."
68
80
  }
69
81
  ];
70
- return o({
82
+ return d({
71
83
  requirementRule: "include-min-length",
72
84
  textMinLength: e
73
85
  }) && t.push({
@@ -77,12 +89,12 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
77
89
  defaultMeterRules: R(t),
78
90
  defaultRequirementsMeterRules: t
79
91
  };
80
- }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81
93
  __proto__: null,
82
- checkRequirementRuleSatisfied: I,
94
+ checkRequirementRuleSatisfied: D,
83
95
  getDefaultRulesAndRequirementsForMeters: m,
84
96
  getMeterRulesFromRequirements: R,
85
- minLengthRuleCanBeApplied: o
97
+ minLengthRuleCanBeApplied: d
86
98
  }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
87
99
  switch (e) {
88
100
  case "error":
@@ -96,60 +108,48 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
96
108
  default:
97
109
  return "globe";
98
110
  }
99
- }, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
- __proto__: null,
101
- getRequirementsMeterLabelLeadingIcon: V
102
- }, Symbol.toStringTag, { value: "Module" })), N = (e) => {
103
- switch (e) {
104
- case "error":
105
- return "error";
106
- case "success":
107
- return "success";
108
- default:
109
- return "default";
110
- }
111
111
  }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
- inputToGidsFieldStatusForPassword: N
114
- }, Symbol.toStringTag, { value: "Module" })), H = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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({
115
115
  __proto__: null,
116
- getGidsStrengthMeterClassNames: H
117
- }, Symbol.toStringTag, { value: "Module" })), W = ({ status: e }, t) => g("gids-requirements-meter-label", {
116
+ inputToGidsFieldStatusForPassword: Z
117
+ }, Symbol.toStringTag, { value: "Module" })), J = ({ status: e }, t) => g("gids-requirements-meter-label", {
118
118
  "gids-requirements-meter-label--error": e === "error",
119
119
  "gids-requirements-meter-label--information": e === "information",
120
120
  "gids-requirements-meter-label--warning": e === "warning",
121
121
  "gids-requirements-meter-label--success": e === "success"
122
- }, t), J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
122
+ }, t), K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
123
123
  __proto__: null,
124
- getGidsRequirementsMeterLabelClassNames: W
125
- }, Symbol.toStringTag, { value: "Module" })), K = (e) => g("gids-requirements-meter", e), Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
124
+ getGidsRequirementsMeterLabelClassNames: J
125
+ }, Symbol.toStringTag, { value: "Module" })), Q = (e) => g("gids-requirements-meter", e), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
126
126
  __proto__: null,
127
- getGidsRequirementsMeterClassNames: K
128
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: X } = U, Y = (e) => e === "implicit" || e === void 0 ? "implicit" : X(e), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
127
+ getGidsRequirementsMeterClassNames: Q
128
+ }, Symbol.toStringTag, { value: "Module" })), Y = (e) => g("gids-strength-meter", e), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
129
129
  __proto__: null,
130
- inputToGidsFieldStatusForPassword: Y
131
- }, Symbol.toStringTag, { value: "Module" })), { getGidsStrengthMeterClassNames: te } = Z, { getStrengthMeterScore: se, getColorModifierByScore: re } = A, ie = ({ text: e, textMinLength: t, meterRules: s = ["1-uppercase", "1-lowercase", "1-digit", "1-special-character", "include-min-length"], class: n }) => {
130
+ getGidsStrengthMeterClassNames: Y
131
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsStrengthMeterClassNames: te } = ee, { getStrengthMeterScore: se, getColorModifierByScore: re } = $, ie = ({ text: e, textMinLength: t, meterRules: s = ["1-uppercase", "1-lowercase", "1-digit", "1-special-character", "include-min-length"], class: n }) => {
132
132
  const a = (r, l, u) => i("div", { key: r, class: ["gids-strength-meter__strength-" + r, u ? "is-active" : "", u ? l : ""].filter(Boolean).join(" ") });
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, w = d <= l;
137
- return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, w) : null : a(d, u, w);
136
+ const o = c + 1, w = o <= l;
137
+ return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, w) : null : a(o, u, w);
138
138
  }));
139
139
  })()) : null;
140
- }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = D, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = K, { getRequirementsMeterLabelLeadingIcon: le } = U, 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 } = $, { getGidsRequirementsMeterClassNames: de } = Q, 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
  })));
152
- }, { inputToGidsFieldStatusForPassword: ce } = ee, M = S(class extends P {
152
+ }, { inputToGidsFieldStatusForPassword: ce } = W, M = S(class extends P {
153
153
  constructor(e) {
154
154
  super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = v(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = v(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
155
155
  const t = this.#e?.querySelector("input.gids-input__control");
@@ -191,7 +191,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: 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: "d432cef8c1647b87dedff271d5885e927e43f308" }, i("gids-field", { key: "48ef08affb80f0d9b5784a0eb68f38311e3c4f81", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "6a19f405851738b1b8ca2178a5b59dfe910fc8a8", 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: "628fed42fcc93b0cffa343eb0f36b5873f9602f2", 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: "f5eb222b74d657ea54030c23dcc65fdaa0c6613e", name: "leadingIcon" }), i("slot", { key: "a0a850d852fca98bbc5373e4ba768a08276f0538", name: "leadingAccessory" }), i("div", { key: "4ce3a44dcf00ac7d3cac81d9447cc6b715c92e7e", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "fb8bb65b5efb02717f2d91c59e9abc875cce3a7a", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "8aff9bce69af15a78d366e286fa7ee63ba1119f7", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "bb9734d4d57e146ea40d8bdee28f14b65a9a6c7b", class: "gids-password-field__meters-container" }, i(ie, { key: "f3bbc38d7f5d8b3cb26a9dcc6817b72084d1ef77", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "bd4d1dfb45f868e9bce181a46ef8d60e70d0d492", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "3d2b0215e3ecf5f3177b6bbd814cbb25cfff0f99" }, i("gids-field", { key: "55406ad952e16aadfabb54e7e0881232abfa0ad4", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "d43dfd8b4e972b2877be1dfc559e1c7dd26503af", 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: "91296ff92342eaabd1e4b90a9eac42ef84bdfe00", 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: "34e19a0410259e1fccc7fe019f0aaca4ed767221", name: "leadingIcon" }), i("slot", { key: "c2182fcca49768b6cad85ef1e6878267e9039356", name: "leadingAccessory" }), i("div", { key: "76b96027037623e0489eda79783b8eb526fc3506", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "10faa5658661a006a0dfa3772c78aa68285cebfe", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "9035e639421b9a4ccfe781cbc6f90d629ac2d9c3", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "c5ebe85a024f0726428fd68f35940909fd0ffba2", class: "gids-password-field__meters-container" }, i(ie, { key: "113412cc82015efae5c899786cb4550f04454ae4", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "12e2c502ed1d0b0e22048d92eb17c1cec3baee05", 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-C3We7Q8Q-2EoDLj5m.js";
1
+ import { n as e, c as t } from "./p-BF46eY8H-Xn8Fl9EI.js";
2
2
  const r = e, s = t;
3
3
  export {
4
4
  r as GidsPieChart,
@@ -1,5 +1,5 @@
1
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 { g as E } from "./p-a3JfEYJp-DyhDK6VZ.js";
2
+ import { l as E } from "./p-BBszCFSA-BN0-eWJX.js";
3
3
  import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  const h = v(class extends p {
5
5
  constructor(e) {
@@ -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: "8ba926923396baba700ffdd150285e2b1d5fdadb" }, a("slot", { key: "f6f2124fa92e77a40d9ef3daad50746d7c19d525", name: "anchor" }), a("div", { key: "e38abaca1c99ae58185684dec56372aac6cdf169", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "6eaef30f452a72b3221d2c5ddef5ac21aab3ba62", id: "arrow" }), a("div", { key: "cd3bb7bf24a8f2a8273bcb891df314c50a3d00ce" }, a("slot", { key: "18e66983483c84164787fc2f999dbb93bee6f929" }))));
67
+ return a(f, { key: "94d73fbb3f1717237610f6841f6d71bb358f88af" }, a("slot", { key: "e32847e40a883de4a28bab3c34472b1fcf373175", name: "anchor" }), a("div", { key: "91a5b221e8dc9ad5ccd001da496d9fa55f1fb39a", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "92e4d0a5abbed72f846669c60ca2d5b5423f7d2b", id: "arrow" }), a("div", { key: "9f70b0e84f4d82809668f57725707e6c681fb7c8" }, a("slot", { key: "52f87218d40c71eb70a23552e77b38d3b9f85b2f" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,4 +1,4 @@
1
- import { h as e, d as r } from "./p-CoS0NuDU-CqmDcRWj.js";
1
+ import { h as e, d as r } from "./p-CoS0NuDU-ByDvQAzA.js";
2
2
  const o = e, t = r;
3
3
  export {
4
4
  o as GidsProgressCircle,