@ganpatiinfo/gids-core-web 10.0.0 → 10.2.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 (224) hide show
  1. package/dist/css/index.css +260 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +11 -0
  4. package/dist/gids-action-bar.js +1 -0
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-field.d.ts +1 -1
  34. package/dist/gids-field.js +1 -1
  35. package/dist/gids-filter.d.ts +11 -0
  36. package/dist/gids-filter.js +1 -0
  37. package/dist/gids-icon.d.ts +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.d.ts +1 -1
  40. package/dist/gids-input.js +1 -1
  41. package/dist/gids-level-gauge.d.ts +1 -1
  42. package/dist/gids-level-gauge.js +1 -1
  43. package/dist/gids-line-chart.d.ts +1 -1
  44. package/dist/gids-line-chart.js +1 -1
  45. package/dist/gids-notification.d.ts +1 -1
  46. package/dist/gids-notification.js +1 -1
  47. package/dist/gids-overflow-container.d.ts +1 -1
  48. package/dist/gids-overflow-container.js +1 -1
  49. package/dist/gids-overlay-provider.d.ts +1 -1
  50. package/dist/gids-overlay-provider.js +1 -1
  51. package/dist/gids-password-field.d.ts +1 -1
  52. package/dist/gids-password-field.js +1 -1
  53. package/dist/gids-pie-chart.d.ts +1 -1
  54. package/dist/gids-pie-chart.js +1 -1
  55. package/dist/gids-popover.d.ts +1 -1
  56. package/dist/gids-popover.js +1 -1
  57. package/dist/gids-progress-circle.d.ts +1 -1
  58. package/dist/gids-progress-circle.js +1 -1
  59. package/dist/gids-scrim.d.ts +1 -1
  60. package/dist/gids-scrim.js +1 -1
  61. package/dist/gids-snackbar.d.ts +1 -1
  62. package/dist/gids-snackbar.js +1 -1
  63. package/dist/gids-tab-item.d.ts +11 -0
  64. package/dist/gids-tab-item.js +1 -0
  65. package/dist/gids-tab.d.ts +11 -0
  66. package/dist/gids-tab.js +1 -0
  67. package/dist/gids-text-field.d.ts +1 -1
  68. package/dist/gids-text-field.js +1 -1
  69. package/dist/gids-toggle-button.d.ts +1 -1
  70. package/dist/gids-toggle-button.js +1 -1
  71. package/dist/gids-tooltip.d.ts +1 -1
  72. package/dist/gids-tooltip.js +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/{p-h6alWGT8.js → p-5VIPb1eU.js} +1 -1
  75. package/dist/{p-BiPAgxAQ.js → p-8tOn5SjU.js} +1 -1
  76. package/dist/{p-Bmb-HiXg.js → p-B1Jgtjhu.js} +1 -1
  77. package/dist/{p-B81J5HCC.js → p-BYDimyG-.js} +1 -1
  78. package/dist/p-Bf3p-DY2.js +1 -0
  79. package/dist/{p-tyIgTtUC.js → p-BfnzH6wp.js} +1 -1
  80. package/dist/p-Bj28yqMD.js +1 -0
  81. package/dist/{p-CJzporPT.js → p-C-cUL-aA.js} +1 -1
  82. package/dist/{p-BvYnawkJ.js → p-C7ifjRCE.js} +1 -1
  83. package/dist/p-CHGTBObD.js +1 -0
  84. package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
  85. package/dist/p-Ciw-O9qN.js +1 -0
  86. package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
  87. package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
  88. package/dist/p-D6lxqcxP.js +1 -0
  89. package/dist/p-DMNS1d8v.js +1 -0
  90. package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
  91. package/dist/p-Dg2yoUxw.js +1 -0
  92. package/dist/{p-CIP0xyhD.js → p-DiNad9Px.js} +1 -1
  93. package/dist/{p-D93TNeOt.js → p-DoPuGtJd.js} +1 -1
  94. package/dist/{p-DfFqFdmS.js → p-Doi8Yizl.js} +1 -1
  95. package/dist/{p-9_mrQ7ac.js → p-Jdpe4Sgj.js} +1 -1
  96. package/dist/p-UVmSPzTd.js +1 -0
  97. package/dist/p-UxDcM-C5.js +1 -0
  98. package/dist/{p-CPSHPtGE.js → p-bPPm7cuw.js} +1 -1
  99. package/dist/p-qb1aWgjh.js +1 -0
  100. package/dist/p-qrjEbv6g.js +1 -0
  101. package/dist/p-xITwQAMz.js +1 -0
  102. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  103. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  104. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  105. package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
  106. package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
  107. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  108. package/dist/types/components.d.ts +381 -5
  109. package/dist-bundled/es/gids-action-bar.js +177 -0
  110. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  111. package/dist-bundled/es/gids-bar-chart.js +4 -4
  112. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  113. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  114. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  115. package/dist-bundled/es/gids-calendar.js +34 -34
  116. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  117. package/dist-bundled/es/gids-chart-legend.js +4 -4
  118. package/dist-bundled/es/gids-chart.js +22 -22
  119. package/dist-bundled/es/gids-chevron-button.js +9 -9
  120. package/dist-bundled/es/gids-dot.js +1 -1
  121. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  122. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  123. package/dist-bundled/es/gids-dropdown.js +4 -4
  124. package/dist-bundled/es/gids-field.js +1 -1
  125. package/dist-bundled/es/gids-filter.js +6 -0
  126. package/dist-bundled/es/gids-icon.js +4 -4
  127. package/dist-bundled/es/gids-input.js +4 -4
  128. package/dist-bundled/es/gids-level-gauge.js +4 -4
  129. package/dist-bundled/es/gids-line-chart.js +1 -1
  130. package/dist-bundled/es/gids-notification.js +1 -1
  131. package/dist-bundled/es/gids-overflow-container.js +9 -9
  132. package/dist-bundled/es/gids-overlay-provider.js +12 -12
  133. package/dist-bundled/es/gids-password-field.js +48 -48
  134. package/dist-bundled/es/gids-pie-chart.js +3 -3
  135. package/dist-bundled/es/gids-popover.js +5 -5
  136. package/dist-bundled/es/gids-progress-circle.js +1 -1
  137. package/dist-bundled/es/gids-scrim.js +3 -3
  138. package/dist-bundled/es/gids-snackbar.js +1 -1
  139. package/dist-bundled/es/gids-tab-item.js +100 -0
  140. package/dist-bundled/es/gids-tab.js +63 -0
  141. package/dist-bundled/es/gids-text-field.js +17 -17
  142. package/dist-bundled/es/gids-toggle-button.js +4 -44
  143. package/dist-bundled/es/gids-tooltip.js +2 -2
  144. package/dist-bundled/es/index.js +3 -3
  145. package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
  146. package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-5VIPb1eU-MCAo8JCp.js} +8 -8
  147. package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-8tOn5SjU-D9rZ28cf.js} +11 -11
  148. package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-B1Jgtjhu-B_VYp-ZP.js} +15 -15
  149. package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-BYDimyG--DBCLrqDJ.js} +3 -3
  150. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  151. package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-BfnzH6wp-BfLC7Nak.js} +4 -4
  152. package/dist-bundled/es/p-Bj28yqMD-Dz1SWSqM.js +44 -0
  153. package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-C-cUL-aA-2jsvw-Lr.js} +9 -9
  154. package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-C7ifjRCE-CRlorwoN.js} +10 -10
  155. package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  156. package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
  157. package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-Ciw-O9qN-DkWfirFu.js} +24 -22
  158. package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
  159. package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
  160. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  161. package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
  162. package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
  163. package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
  164. package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-DiNad9Px-uOCMHqAq.js} +11 -11
  165. package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-DoPuGtJd-DYlbhh57.js} +14 -14
  166. package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-Doi8Yizl-BszWK5Dq.js} +5 -5
  167. package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-Jdpe4Sgj-acwaxLtK.js} +3 -3
  168. package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
  169. package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
  170. package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-bPPm7cuw-B-dtPJF9.js} +6 -6
  171. package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-qb1aWgjh-CzmMPIME.js} +2 -2
  172. package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +152 -0
  173. package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-xITwQAMz-BMXjOAAQ.js} +20 -18
  174. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  175. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  176. package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
  177. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  178. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  179. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  180. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  181. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  182. package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
  183. package/dist-bundled/umd/gids-chart.umd.js +3 -3
  184. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  185. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  186. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  187. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  188. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  189. package/dist-bundled/umd/gids-field.umd.js +2 -2
  190. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  191. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  192. package/dist-bundled/umd/gids-input.umd.js +2 -2
  193. package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
  194. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  195. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  196. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  197. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  198. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  199. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  200. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  201. package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
  202. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  203. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  204. package/dist-bundled/umd/gids-tab-item.umd.js +5 -0
  205. package/dist-bundled/umd/gids-tab.umd.js +5 -0
  206. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  207. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  208. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  209. package/dist-bundled/umd/index.umd.js +2 -2
  210. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  211. package/package.json +36 -4
  212. package/dist/p-BFHWXEeg.js +0 -1
  213. package/dist/p-B_HaXpJZ.js +0 -1
  214. package/dist/p-BaO-kEWS.js +0 -1
  215. package/dist/p-CRngHsR7.js +0 -1
  216. package/dist/p-Ct3Ixgvf.js +0 -1
  217. package/dist/p-DKsrt7dx.js +0 -1
  218. package/dist/p-DZWWuJac.js +0 -1
  219. package/dist/p-Dehss-X0.js +0 -1
  220. package/dist/p-KxRqlvSh.js +0 -1
  221. package/dist/p-MgTlrSP_.js +0 -1
  222. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
  223. package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +0 -25
  224. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
@@ -0,0 +1,6 @@
1
+ import { h as e, a as s } from "./p-qrjEbv6g-ITSp3ky_.js";
2
+ const o = e, i = s;
3
+ export {
4
+ o as GidsFilter,
5
+ i as defineCustomElement
6
+ };
@@ -1,6 +1,6 @@
1
- import { n as o, d as e } from "./p-BiPAgxAQ-BtMBQpJY.js";
2
- const s = o, t = e;
1
+ import { n as o, d as t } from "./p-8tOn5SjU-D9rZ28cf.js";
2
+ const n = o, s = t;
3
3
  export {
4
- s as GidsIcon,
5
- t as defineCustomElement
4
+ n as GidsIcon,
5
+ s as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { c as t, r as e } from "./p-DfFqFdmS-DjI2pk-0.js";
2
- const o = t, s = e;
1
+ import { c as t, r as e } from "./p-Doi8Yizl-BszWK5Dq.js";
2
+ const s = t, i = e;
3
3
  export {
4
- o as GidsInput,
5
- s as defineCustomElement
4
+ s as GidsInput,
5
+ i as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { d as e, h as m } from "./p-uqSjmNkw-Cz2T86sC.js";
2
- const s = e, t = m;
1
+ import { d as e, h as o } from "./p-Degg_WJz-BLua06el.js";
2
+ const t = e, m = o;
3
3
  export {
4
- s as GidsLevelGauge,
5
- t as defineCustomElement
4
+ t as GidsLevelGauge,
5
+ m as defineCustomElement
6
6
  };
@@ -1,4 +1,4 @@
1
- import { d as t, g as e } from "./p-D93TNeOt-Vvshbux8.js";
1
+ import { d as t, g as e } from "./p-DoPuGtJd-DYlbhh57.js";
2
2
  const s = t, i = e;
3
3
  export {
4
4
  s as GidsLineChart,
@@ -1,4 +1,4 @@
1
- import { _ as e, u as s, P as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as e, u as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { e as a } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const o = e(class extends s {
4
4
  constructor(t) {
@@ -1,10 +1,10 @@
1
- import { _ as a, u as n, T as e, P as o } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as i, u as n, D as e, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
- showGidsOverflowContainerBottomShadow: c,
6
- showGidsOverflowContainerTopShadow: h
7
- }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
5
+ showGidsOverflowContainerBottomShadow: h,
6
+ showGidsOverflowContainerTopShadow: c
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 h = (t) => t === "top" || t === "top-bottom", c = (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: "fbc4a9851c77e92b2261392c6d8f00664f8adb94", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "a825b7f435064d06a22f751e507c8a765817abec" }));
23
+ return e("div", { key: "da2e579bb37ac775378a4f53c7c30b4f578d9c94", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "eaa87a33af09ad8a96361c0368c50730c172bdc1" }));
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
@@ -1,8 +1,8 @@
1
- import { _ as C, u as y, T as o, L as w, P as f } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ 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
- import { d as p } from "./p-BnL97lOW-BO0p4EdC.js";
5
- import { o as u } from "./p-KxRqlvSh-JOFDmT0B.js";
4
+ import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
5
+ import { o as u } from "./p-UVmSPzTd-6vjXok6h.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
7
  const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
8
8
  // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
@@ -24,7 +24,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
24
24
  default:
25
25
  return;
26
26
  }
27
- }, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
+ }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
28
  __proto__: null,
29
29
  getGidsSnackbarContainerClassNames: Q,
30
30
  getSnackbarContainerIconNames: S
@@ -66,7 +66,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
66
66
  default:
67
67
  return "component-exit-bottom-center";
68
68
  }
69
- }, j = ({ position: t, id: e, exitingComponents: n }) => n.includes(e) ? v(t) : b(t), M = ({ position: t }) => {
69
+ }, P = ({ position: t, id: e, exitingComponents: n }) => n.includes(e) ? v(t) : b(t), M = ({ position: t }) => {
70
70
  switch (t) {
71
71
  case "bottom-left":
72
72
  return "common-component-stack component-stack-bottom-left";
@@ -87,7 +87,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
87
87
  }
88
88
  }, O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89
89
  __proto__: null,
90
- getComponentClasses: j,
90
+ getComponentClasses: P,
91
91
  getComponentEntryClasses: b,
92
92
  getComponentExitClasses: v,
93
93
  getComponentStackClasses: M
@@ -97,7 +97,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
97
97
  "gids-notification-container--appearance-success": t === "success",
98
98
  "gids-notification-container--appearance-warning": t === "warning",
99
99
  "gids-notification-container--appearance-error": t === "error"
100
- }, e), I = (t) => {
100
+ }, e), q = (t) => {
101
101
  if (t)
102
102
  switch (t) {
103
103
  case "information":
@@ -111,14 +111,14 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
111
111
  default:
112
112
  return;
113
113
  }
114
- }, q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
114
+ }, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
116
  getGidsNotificationContainerClassNames: T,
117
- getNotificationContainerIconNames: I
118
- }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = P, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
117
+ getNotificationContainerIconNames: q
118
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = j, 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 } = q, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
121
+ }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = I, 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: "c130346274545aa8cb3b12390fa28f65b612dcd9" }, o("slot", { key: "6bfbde0f8f8a9cc75e3236ac806d762a9f2e0049" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "c33ac4169b668a47a2a2a68dd2578378379e8b71" }, o("slot", { key: "a404014f33eb6a13ca999a97c657e4d6c743e946" }), 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,29 +1,29 @@
1
- import { _ as y, u as S, q as w, M as T, T as i, L as x, P as h } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as S, u as P, z as v, C as x, D as i, F as T, q as h } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as L } from "./p-CRngHsR7-DL9wz3Z3.js";
4
- import { r as O } from "./p-DZWWuJac-DNQvnHAr.js";
5
- import { o as F } from "./p-KxRqlvSh-JOFDmT0B.js";
6
- import { g as k, d as j } from "./p-BnL97lOW-BO0p4EdC.js";
7
- import { h as E } from "./p-BvYnawkJ-DohV9UNG.js";
8
- import { r as G } from "./p-DfFqFdmS-DjI2pk-0.js";
3
+ import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
+ import { r as L } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
+ import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
6
+ import { g as k, d as j } from "./p-D4Pimu_8-DfEGRQGf.js";
7
+ import { h as z } from "./p-C7ifjRCE-CRlorwoN.js";
8
+ import { r as E } from "./p-Doi8Yizl-BszWK5Dq.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
- const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
10
+ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
11
11
  if (!e || e === "")
12
12
  return 0;
13
13
  let n = 0;
14
- 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;
15
- }, A = ({ textScore: e, maxScore: t }) => {
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 }) => {
16
16
  const s = t > 0 ? e / t * 100 : 0;
17
17
  return s <= 20 ? "is-weak" : s <= 40 ? "is-medium" : s <= 60 ? "is-good-enough" : s <= 80 ? "is-good" : "is-strong";
18
- }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
19
  __proto__: null,
20
- getColorModifierByScore: A,
21
- getStrengthMeterScore: z,
22
- include1DigitReg: b,
23
- include1LowercaseLetterReg: p,
20
+ getColorModifierByScore: B,
21
+ getStrengthMeterScore: G,
22
+ include1DigitReg: p,
23
+ include1LowercaseLetterReg: b,
24
24
  include1SpecialCharReg: q,
25
25
  include1UppercaseLetterReg: f
26
- }, Symbol.toStringTag, { value: "Module" })), o = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
26
+ }, Symbol.toStringTag, { value: "Module" })), d = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
27
27
  const t = [];
28
28
  return e && e.length > 0 && e.map((s) => {
29
29
  s?.requirementRule && t.push(s.requirementRule);
@@ -35,13 +35,13 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
35
35
  case "1-uppercase":
36
36
  return f.test(s);
37
37
  case "1-lowercase":
38
- return p.test(s);
39
- case "1-digit":
40
38
  return b.test(s);
39
+ case "1-digit":
40
+ return p.test(s);
41
41
  case "1-special-character":
42
42
  return q.test(s);
43
43
  case "include-min-length":
44
- return o({
44
+ return d({
45
45
  requirementRule: "include-min-length",
46
46
  textMinLength: t
47
47
  }) === !0 && s.length >= t;
@@ -67,7 +67,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
67
67
  requirementText: "Password must contain atleast 1 lowercase letter."
68
68
  }
69
69
  ];
70
- return o({
70
+ return d({
71
71
  requirementRule: "include-min-length",
72
72
  textMinLength: e
73
73
  }) && t.push({
@@ -82,8 +82,8 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
82
82
  checkRequirementRuleSatisfied: I,
83
83
  getDefaultRulesAndRequirementsForMeters: m,
84
84
  getMeterRulesFromRequirements: R,
85
- minLengthRuleCanBeApplied: o
86
- }, Symbol.toStringTag, { value: "Module" })), N = (e) => {
85
+ minLengthRuleCanBeApplied: d
86
+ }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
87
87
  switch (e) {
88
88
  case "error":
89
89
  return "danger";
@@ -96,10 +96,10 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
96
96
  default:
97
97
  return "globe";
98
98
  }
99
- }, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
100
  __proto__: null,
101
- getRequirementsMeterLabelLeadingIcon: N
102
- }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
101
+ getRequirementsMeterLabelLeadingIcon: D
102
+ }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
103
103
  switch (e) {
104
104
  case "error":
105
105
  return "error";
@@ -108,12 +108,12 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
108
108
  default:
109
109
  return "default";
110
110
  }
111
- }, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
+ }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
- inputToGidsFieldStatusForPassword: D
114
- }, Symbol.toStringTag, { value: "Module" })), U = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
113
+ inputToGidsFieldStatusForPassword: V
114
+ }, Symbol.toStringTag, { value: "Module" })), H = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
- getGidsStrengthMeterClassNames: U
116
+ getGidsStrengthMeterClassNames: H
117
117
  }, Symbol.toStringTag, { value: "Module" })), W = ({ 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",
@@ -125,33 +125,33 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
125
125
  }, Symbol.toStringTag, { value: "Module" })), K = (e) => g("gids-requirements-meter", e), Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
126
126
  __proto__: null,
127
127
  getGidsRequirementsMeterClassNames: K
128
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: X } = H, Y = (e) => e === "implicit" || e === void 0 ? "implicit" : X(e), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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({
129
129
  __proto__: null,
130
130
  inputToGidsFieldStatusForPassword: Y
131
- }, Symbol.toStringTag, { value: "Module" })), { getGidsStrengthMeterClassNames: te } = Z, { getStrengthMeterScore: se, getColorModifierByScore: re } = B, ie = ({ text: e, textMinLength: t, meterRules: s = ["1-uppercase", "1-lowercase", "1-digit", "1-special-character", "include-min-length"], class: n }) => {
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 }) => {
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, 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, 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 } = V, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = N, 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 } = $, { getGidsRequirementsMeterClassNames: oe } = Q, 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 = y(class extends S {
152
+ }, { inputToGidsFieldStatusForPassword: ce } = ee, M = S(class extends P {
153
153
  constructor(e) {
154
- super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = w(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = w(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
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");
156
156
  t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsPasswordFieldClear.emit();
157
157
  }, this._handleRevealPassword = () => {
@@ -171,7 +171,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
171
171
  }
172
172
  _startSlotContentObserver() {
173
173
  this._slotContentObserver = new MutationObserver((() => {
174
- T(this);
174
+ x(this);
175
175
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
176
176
  }
177
177
  handleRequirementsChange(e) {
@@ -191,7 +191,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ 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(x, { key: "20e80248a1bf89a1fbcc45afde2d53bd51fbdbcc" }, i("gids-field", { key: "f3b8a64102cca5dc4342cc06c24c42ade33ff182", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(L, { key: "49d56818bb59470c86a1375540849ac72a85ec39", 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: "b4c52f50b940fd6d9bf8102cd8e9982827348294", 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: "125c163e6d2b647aee98931303cd133e67ccdd75", name: "leadingIcon" }), i("slot", { key: "137a5bf21cd658dc4eca833fb09954b3b68393d4", name: "leadingAccessory" }), i("div", { key: "4e87732b5d198ac176dc0fc68a99cb4b82cbcdf4", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(O, { key: "a8016058d8823a75c0188fe707f39aad1834a6e6", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(F, { key: "3bfe55f6787c42df0a9a9351ac96b12fa90826ab", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "d2b12032cafa7414481251d9b2c5cacc94bcf745", class: "gids-password-field__meters-container" }, i(ie, { key: "5aa93ffa5361c3b4d5b8f9d7fd13ff6628821ebe", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "96131ad3f4c4318450952b2c6b8325d2bd567cf6", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "5a01700ed2e889989e76a785a4ea9f0832d43cba" }, i("gids-field", { key: "82a848875d90d33e909277e9caca152802263775", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "cbc12d98213148de3bd0bd24f73122fcc1bb0175", 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: "86182396314618b1191b5af4dad1974ecec29d90", 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: "e0b5bfe6509975144dbb6eb9051cc161ee3730fb", name: "leadingIcon" }), i("slot", { key: "591d68804011e67edefbebd2ecbb0477608a6b9e", name: "leadingAccessory" }), i("div", { key: "e0b980ba3896b39aa59601f6ccc1940459de83da", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "29890daceaa8d95274eb501dba3ba139b1992b3f", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "6e278e24e56531945fd9ee76b85278d31bf359d7", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "6b379f62ce81fc6c2c641e98c53f3b5a57abe939", class: "gids-password-field__meters-container" }, i(ie, { key: "de60ed4d66045e988f60a8240b1e649003c7a841", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "8bcaae4c9d45b10b8462f81c885dbb4998f62a8f", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -200,23 +200,23 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
200
200
  return { requirements: [{ handleRequirementsChange: 0 }], textMinLength: [{ handleRequirementsChange: 0 }] };
201
201
  }
202
202
  }, [260, "gids-password-field", { label: [513], showClearButton: [516, "show-clear-button"], showRevealPasswordButton: [516, "show-reveal-password-button"], helperText: [513, "helper-text"], statusText: [513, "status-text"], status: [513], loading: [516], name: [513], required: [516], maxLength: [514, "maxlength"], value: [1], defaultValue: [513, "default-value"], disabled: [516], readOnly: [516, "readonly"], inputProps: [16], fieldRequirement: [513, "field-requirement"], fieldRequirementOptionalText: [1, "field-requirement-optional-text"], fieldRequirementRequiredText: [1, "field-requirement-required-text"], isLabelSentence: [16], textMinLength: [514, "text-min-length"], requirements: [16], isPasswordRevealed: [32], meterRules: [32], requirementsMeterRequirements: [32] }, void 0, { requirements: [{ handleRequirementsChange: 0 }], textMinLength: [{ handleRequirementsChange: 0 }] }]);
203
- function P() {
203
+ function y() {
204
204
  typeof customElements < "u" && ["gids-password-field", "gids-field", "gids-input"].forEach(((e) => {
205
205
  switch (e) {
206
206
  case "gids-password-field":
207
207
  customElements.get(h(e)) || customElements.define(h(e), M);
208
208
  break;
209
209
  case "gids-field":
210
- customElements.get(h(e)) || E();
210
+ customElements.get(h(e)) || z();
211
211
  break;
212
212
  case "gids-input":
213
- customElements.get(h(e)) || G();
213
+ customElements.get(h(e)) || E();
214
214
  }
215
215
  }));
216
216
  }
217
- P();
218
- const ve = M, we = P;
217
+ y();
218
+ const we = M, ve = y;
219
219
  export {
220
- ve as GidsPasswordField,
221
- we as defineCustomElement
220
+ we as GidsPasswordField,
221
+ ve as defineCustomElement
222
222
  };
@@ -1,6 +1,6 @@
1
- import { n as e, c as s } from "./p-tyIgTtUC-C8jR4A5G.js";
2
- const o = e, i = s;
1
+ import { n as e, c as s } from "./p-BfnzH6wp-BfLC7Nak.js";
2
+ const o = e, r = s;
3
3
  export {
4
4
  o as GidsPieChart,
5
- i as defineCustomElement
5
+ r as defineCustomElement
6
6
  };
@@ -1,4 +1,4 @@
1
- import { _ as v, u as p, T as a, L as f, P as l } from "./p-Ct3Ixgvf-CNP_PKwP.js";
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
2
  import { g as E } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
3
  import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  const h = v(class extends p {
@@ -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: "4147e2407a0e2592d65db07e6d92dcbd37e52b5d" }, a("slot", { key: "82f2de1b78ee81f7b2363a2fbf4fc80029c6529f", name: "anchor" }), a("div", { key: "371b9c7c170bf8621e2a847eca6771e140ee161e", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "19dbf2c247353839c075674f068f2d435a23bec1", id: "arrow" }), a("div", { key: "374d276cdd13093c74b8a35d7447c328f4f90d0c" }, a("slot", { key: "45d5f02df1f6aa160d080a5f5a10e0ba9e6aa8f8" }))));
67
+ return a(f, { key: "da99dff29f34b163522c42a2a17bf4556dd9ba02" }, a("slot", { key: "776a6ca0c9379f9059f8522feda55210476e0cd1", name: "anchor" }), a("div", { key: "1a73966a626ae553e28dca105f9b567312362497", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "06f5ddfd7795fa4f7a8c6fc7106e128d0ec51e54", id: "arrow" }), a("div", { key: "aed89418ee2297532a0655fca1a0d1bc8d24c06b" }, a("slot", { key: "2474edda5a80075dabc0b19af54ea2585e62ca1d" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -103,8 +103,8 @@ function g() {
103
103
  }));
104
104
  }
105
105
  g();
106
- const k = h, F = g;
106
+ const F = h, k = g;
107
107
  export {
108
- k as GidsPopover,
109
- F as defineCustomElement
108
+ F as GidsPopover,
109
+ k as defineCustomElement
110
110
  };
@@ -1,4 +1,4 @@
1
- import { h as e, d as r } from "./p-quZYWCxU-CPyWW0nv.js";
1
+ import { h as e, d as r } from "./p-CoS0NuDU-CqmDcRWj.js";
2
2
  const o = e, t = r;
3
3
  export {
4
4
  o as GidsProgressCircle,
@@ -1,10 +1,10 @@
1
- import { _ as o, u as c, T as e, P as t } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as c, u as o, D as e, q as t } from "./p-Bf3p-DY2-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: "bb28bc59d4522f27c3637774153603462d628be0", class: this.activeClasses, part: "root" }, e("slot", { key: "24becefcfa3a4842163b62a255266d71dd27d765" }));
19
+ return e("div", { key: "f9bf11077e7b7141816116d1cace7a87d9dfa652", class: this.activeClasses, part: "root" }, e("slot", { key: "221cacbb0a57c9c356d20988b02e7730e74b4430" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -1,4 +1,4 @@
1
- import { _ as a, u as o, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as a, u as o, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { e as i } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const e = a(class extends o {
4
4
  constructor(t) {
@@ -0,0 +1,100 @@
1
+ import { L as m, u as p, D as r, P as f, q as c } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { n } from "./nonEmpty-B284_5ai.js";
3
+ import { c as g } from "./clsx-OuTLNxxd.js";
4
+ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
5
+ "gids-badge--danger": e === "danger",
6
+ "gids-badge--positive": e === "positive",
7
+ "gids-badge--warning": e === "warning",
8
+ "gids-badge--inverse": e === "inverse"
9
+ }, {
10
+ "gids-badge--dot": a === "dot"
11
+ }, {
12
+ "gids-badge--outline": i
13
+ }, t), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
+ __proto__: null,
15
+ getGidsBadgeClassNames: y
16
+ }, Symbol.toStringTag, { value: "Module" })), o = 99, I = (e, a, i) => e === "dot" || a !== void 0 && a > o || i, C = (e, a) => e === void 0 ? a ?? "" : e > o ? `${o}+` : e.toString(), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
+ __proto__: null,
18
+ getDisplayContent: C,
19
+ maxCount: o,
20
+ shouldIncludeA11yText: I
21
+ }, Symbol.toStringTag, { value: "Module" })), T = ({ appearance: e, width: a = "intrinsic", active: i }, t) => g("gids-tab-item", {
22
+ // Widths
23
+ // 'gids-tab-item--intrinsic': width === 'intrinsic', // By default so not needed
24
+ "gids-tab-item--full": a === "full",
25
+ // Apperances on active
26
+ "gids-tab-item--active-default": e === "default" && i,
27
+ "gids-tab-item--active-primary": e === "primary" && i,
28
+ "gids-tab-item--active-bordered": e === "bordered" && i,
29
+ "gids-tab-item--active-underlined": e === "underlined" && i,
30
+ "gids-tab-item--active-subtle": e === "subtle" && i,
31
+ // Apperances on inactive
32
+ "gids-tab-item--default": e === "default" && !i,
33
+ "gids-tab-item--primary": e === "primary" && !i,
34
+ "gids-tab-item--bordered": e === "bordered" && !i,
35
+ "gids-tab-item--underlined": e === "underlined" && !i,
36
+ "gids-tab-item--subtle": e === "subtle" && !i
37
+ }, t), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38
+ __proto__: null,
39
+ getGidsTabItemClassNames: T
40
+ }, Symbol.toStringTag, { value: "Module" })), { getDisplayContent: l, shouldIncludeA11yText: w } = _, { getGidsBadgeClassNames: A } = k, S = ({ appearance: e, type: a, count: i, accessibleText: t, outline: d, class: v, ...h }) => {
41
+ const s = w(a, i, n(t));
42
+ return r("span", { class: A({ appearance: e, type: a, outline: d }, v), ...h }, s && r("span", { class: "gids-visually-hidden" }, n(t) ? t : i), a === "notification" ? s ? r("span", { "aria-hidden": "true" }, l(i, t)) : l(i, t) : null);
43
+ }, { getGidsTabItemClassNames: B } = x, b = m(class extends p {
44
+ constructor(e) {
45
+ super(), e !== !1 && this.__registerHost(), this.active = !1, this.width = "intrinsic", this.appearance = "default", this.badgeVisible = !1, this.badgeAppearance = "information", this.badgeType = "dot", this.hasLeadingIcon = !1, this.hasTrailingIcon = !1, this.handleHostClick = () => {
46
+ this.onPressGidsTabItem && this.onPressGidsTabItem({ itemId: this.itemId, label: this?.label ?? "", active: this?.active ?? !1, appearance: this?.appearance ?? "default", name: this?.name, badgeCount: this?.badgeCount ?? 0 });
47
+ };
48
+ }
49
+ handleWidthChange(e) {
50
+ this.width = e;
51
+ }
52
+ handleAppearanceChange(e) {
53
+ this.appearance = e;
54
+ }
55
+ handleBadgeVisibilityChange(e) {
56
+ this.badgeVisible = e;
57
+ }
58
+ handleBadgeAppearanceChange(e) {
59
+ this.badgeAppearance = e;
60
+ }
61
+ handleBadgeTypeChange(e) {
62
+ this.badgeType = e;
63
+ }
64
+ handleActiveChange(e) {
65
+ this.active = e;
66
+ }
67
+ componentWillLoad() {
68
+ this.checkSlots();
69
+ }
70
+ componentWillUpdate() {
71
+ this.checkSlots();
72
+ }
73
+ checkSlots() {
74
+ this.hasLeadingIcon = !!this.hostElement.querySelector('[slot="leadingIconTabItem"]'), this.hasTrailingIcon = !!this.hostElement.querySelector('[slot="trailingIconTabItem"]');
75
+ }
76
+ render() {
77
+ const e = B({ appearance: this.appearance, width: this.width, active: this.active }), a = this.hasTrailingIcon, i = this.badgeVisible, t = this.appearance === "primary" && this.active ? "inverse" : this.badgeAppearance ?? "information", d = this.label;
78
+ return r(f, { key: "111117f9953d07da3af26834ab19352c9334a36a", class: e, onClick: this.handleHostClick }, this.hasLeadingIcon ? r("slot", { name: "leadingIconTabItem" }) : void 0, d && d !== "" ? r("span", { class: "gids-tab-item__label" }, d && d !== "" ? d : void 0, i ? r(S, { appearance: t, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, a ? r("slot", { name: "trailingIconTabItem" }) : void 0);
79
+ }
80
+ get hostElement() {
81
+ return this;
82
+ }
83
+ static get watchers() {
84
+ return { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], badgeVisible: [{ handleBadgeVisibilityChange: 0 }], badgeAppearance: [{ handleBadgeAppearanceChange: 0 }], badgeType: [{ handleBadgeTypeChange: 0 }], active: [{ handleActiveChange: 0 }] };
85
+ }
86
+ static get style() {
87
+ return ".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);display:flex;justify-content:center;align-items:center;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}";
88
+ }
89
+ }, [260, "gids-tab-item", { itemId: [1, "item-id"], label: [1], active: [4], name: [1], width: [1], appearance: [1], badgeVisible: [4, "badge-visible"], badgeAppearance: [1, "badge-appearance"], badgeCount: [2, "badge-count"], badgeType: [1, "badge-type"], onPressGidsTabItem: [16], hasLeadingIcon: [32], hasTrailingIcon: [32] }, void 0, { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], badgeVisible: [{ handleBadgeVisibilityChange: 0 }], badgeAppearance: [{ handleBadgeAppearanceChange: 0 }], badgeType: [{ handleBadgeTypeChange: 0 }], active: [{ handleActiveChange: 0 }] }]);
90
+ function u() {
91
+ typeof customElements < "u" && ["gids-tab-item"].forEach(((e) => {
92
+ e === "gids-tab-item" && (customElements.get(c(e)) || customElements.define(c(e), b));
93
+ }));
94
+ }
95
+ u();
96
+ const G = b, L = u;
97
+ export {
98
+ G as GidsTabItem,
99
+ L as defineCustomElement
100
+ };