@ganpatiinfo/gids-core-web 9.0.0 → 10.1.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 (218) hide show
  1. package/dist/css/index.css +1504 -1
  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 +11 -0
  6. package/dist/gids-activity-gauge.js +1 -0
  7. package/dist/gids-bar-chart.d.ts +11 -0
  8. package/dist/gids-bar-chart.js +1 -0
  9. package/dist/gids-calendar-header-panel.d.ts +11 -0
  10. package/dist/gids-calendar-header-panel.js +1 -0
  11. package/dist/gids-calendar-month-list.d.ts +11 -0
  12. package/dist/gids-calendar-month-list.js +1 -0
  13. package/dist/gids-calendar-year-list.d.ts +11 -0
  14. package/dist/gids-calendar-year-list.js +1 -0
  15. package/dist/gids-calendar.d.ts +11 -0
  16. package/dist/gids-calendar.js +1 -0
  17. package/dist/gids-chart-legend-item.d.ts +11 -0
  18. package/dist/gids-chart-legend-item.js +1 -0
  19. package/dist/gids-chart-legend.d.ts +11 -0
  20. package/dist/gids-chart-legend.js +1 -0
  21. package/dist/gids-chart.d.ts +11 -0
  22. package/dist/gids-chart.js +1 -0
  23. package/dist/gids-chevron-button.d.ts +11 -0
  24. package/dist/gids-chevron-button.js +1 -0
  25. package/dist/gids-dot.d.ts +11 -0
  26. package/dist/gids-dot.js +1 -0
  27. package/dist/gids-dropdown-field.d.ts +11 -0
  28. package/dist/gids-dropdown-field.js +1 -0
  29. package/dist/gids-dropdown-picker.d.ts +11 -0
  30. package/dist/gids-dropdown-picker.js +1 -0
  31. package/dist/gids-dropdown.d.ts +11 -0
  32. package/dist/gids-dropdown.js +1 -0
  33. package/dist/gids-field.js +1 -1
  34. package/dist/gids-filter.d.ts +11 -0
  35. package/dist/gids-filter.js +1 -0
  36. package/dist/gids-icon.js +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.d.ts +11 -0
  39. package/dist/gids-level-gauge.js +1 -0
  40. package/dist/gids-line-chart.d.ts +11 -0
  41. package/dist/gids-line-chart.js +1 -0
  42. package/dist/gids-notification.js +1 -1
  43. package/dist/gids-overflow-container.js +1 -1
  44. package/dist/gids-overlay-provider.js +1 -1
  45. package/dist/gids-password-field.js +1 -1
  46. package/dist/gids-pie-chart.d.ts +11 -0
  47. package/dist/gids-pie-chart.js +1 -0
  48. package/dist/gids-popover.js +1 -1
  49. package/dist/gids-progress-circle.d.ts +11 -0
  50. package/dist/gids-progress-circle.js +1 -0
  51. package/dist/gids-scrim.js +1 -1
  52. package/dist/gids-snackbar.js +1 -1
  53. package/dist/gids-text-field.js +1 -1
  54. package/dist/gids-toggle-button.js +1 -1
  55. package/dist/gids-tooltip.js +1 -1
  56. package/dist/index.js +1 -1
  57. package/dist/{p-DvoHLz_5.js → p-BQ-ZnlnH.js} +1 -1
  58. package/dist/p-BZCJlqVe.js +1 -0
  59. package/dist/p-Bf3p-DY2.js +1 -0
  60. package/dist/p-BpQB6ncp.js +1 -0
  61. package/dist/{p-DybsMR13.js → p-CHGTBObD.js} +1 -1
  62. package/dist/p-CP1wz2PI.js +1 -0
  63. package/dist/p-CQH7eAs3.js +1 -0
  64. package/dist/p-CW7tw1Fb.js +1 -0
  65. package/dist/p-CaauwQNd.js +1 -0
  66. package/dist/p-Cn3-K5eR.js +1 -0
  67. package/dist/p-CoS0NuDU.js +1 -0
  68. package/dist/{p-veoOgDXg.js → p-D4Pimu_8.js} +1 -1
  69. package/dist/p-D6lxqcxP.js +1 -0
  70. package/dist/p-DMNS1d8v.js +1 -0
  71. package/dist/{p-iCAclJND.js → p-DNTv2BQ5.js} +1 -1
  72. package/dist/p-DPIK2ayL.js +1 -0
  73. package/dist/p-Db62Pz3n.js +1 -0
  74. package/dist/p-Degg_WJz.js +1 -0
  75. package/dist/p-DfxTsSdZ.js +1 -0
  76. package/dist/p-Dg2yoUxw.js +1 -0
  77. package/dist/p-DmLoB2Dn.js +1 -0
  78. package/dist/p-DoCwI_bx.js +1 -0
  79. package/dist/p-H1JIMJ2t.js +1 -0
  80. package/dist/p-JjN8U9B5.js +1 -0
  81. package/dist/p-UVmSPzTd.js +1 -0
  82. package/dist/p-UxDcM-C5.js +1 -0
  83. package/dist/p-V48JyMbP.js +1 -0
  84. package/dist/p-mZJdpfOo.js +1 -0
  85. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  86. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  87. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  88. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +1 -1
  89. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +1 -1
  90. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +1 -1
  91. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +2 -2
  92. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  93. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  94. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  95. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  96. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  97. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  98. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  99. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  100. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  101. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  102. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  103. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  104. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  105. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  106. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  107. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  108. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  109. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  110. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  111. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  112. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  113. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  114. package/dist/types/components.d.ts +1585 -49
  115. package/dist/types/utils/childrenValidityUtils.d.ts +1 -1
  116. package/dist-bundled/es/gids-action-bar.js +177 -0
  117. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  118. package/dist-bundled/es/gids-bar-chart.js +6 -0
  119. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  120. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  121. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  122. package/dist-bundled/es/gids-calendar.js +153 -0
  123. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  124. package/dist-bundled/es/gids-chart-legend.js +6 -0
  125. package/dist-bundled/es/gids-chart.js +108 -0
  126. package/dist-bundled/es/gids-chevron-button.js +56 -0
  127. package/dist-bundled/es/gids-dot.js +6 -0
  128. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  129. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  130. package/dist-bundled/es/gids-dropdown.js +6 -0
  131. package/dist-bundled/es/gids-field.js +1 -1
  132. package/dist-bundled/es/gids-filter.js +6 -0
  133. package/dist-bundled/es/gids-icon.js +3 -29
  134. package/dist-bundled/es/gids-input.js +4 -4
  135. package/dist-bundled/es/gids-level-gauge.js +6 -0
  136. package/dist-bundled/es/gids-line-chart.js +6 -0
  137. package/dist-bundled/es/gids-notification.js +1 -1
  138. package/dist-bundled/es/gids-overflow-container.js +6 -6
  139. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  140. package/dist-bundled/es/gids-password-field.js +39 -38
  141. package/dist-bundled/es/gids-pie-chart.js +6 -0
  142. package/dist-bundled/es/gids-popover.js +10 -10
  143. package/dist-bundled/es/gids-progress-circle.js +6 -0
  144. package/dist-bundled/es/gids-scrim.js +8 -8
  145. package/dist-bundled/es/gids-snackbar.js +1 -1
  146. package/dist-bundled/es/gids-text-field.js +15 -14
  147. package/dist-bundled/es/gids-toggle-button.js +4 -44
  148. package/dist-bundled/es/gids-tooltip.js +2 -2
  149. package/dist-bundled/es/index.js +3 -3
  150. package/dist-bundled/es/{p-DvoHLz_5-C5EvA91N.js → p-BQ-ZnlnH-CUVdDHzX.js} +5 -5
  151. package/dist-bundled/es/p-BZCJlqVe-BcSwze-q.js +71 -0
  152. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  153. package/dist-bundled/es/p-BpQB6ncp-C2AWddf-.js +180 -0
  154. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  155. package/dist-bundled/es/p-CP1wz2PI-DhVAsHFS.js +115 -0
  156. package/dist-bundled/es/p-CQH7eAs3-BVowyVGn.js +88 -0
  157. package/dist-bundled/es/p-CW7tw1Fb-DtJ5TwCU.js +92 -0
  158. package/dist-bundled/es/p-CaauwQNd-D6_PbcRr.js +20 -0
  159. package/dist-bundled/es/p-Cn3-K5eR-tQ1EOnDF.js +243 -0
  160. package/dist-bundled/es/p-CoS0NuDU-CqmDcRWj.js +56 -0
  161. package/dist-bundled/es/{p-veoOgDXg-fRinub-C.js → p-D4Pimu_8-DfEGRQGf.js} +9 -9
  162. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  163. package/dist-bundled/es/p-DMNS1d8v-CHF62UXm.js +29 -0
  164. package/dist-bundled/es/{p-iCAclJND-Bmsvd-W1.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
  165. package/dist-bundled/es/p-DPIK2ayL-DPEbctqo.js +71 -0
  166. package/dist-bundled/es/p-Db62Pz3n-DpQjwBYb.js +31 -0
  167. package/dist-bundled/es/p-Degg_WJz-BLua06el.js +55 -0
  168. package/dist-bundled/es/p-DfxTsSdZ-C2Afv1lS.js +67 -0
  169. package/dist-bundled/es/p-Dg2yoUxw-Cca8ROd_.js +25 -0
  170. package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
  171. package/dist-bundled/es/p-DoCwI_bx-BXHlZI7-.js +37 -0
  172. package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
  173. package/dist-bundled/es/p-JjN8U9B5-GeWjfJBY.js +135 -0
  174. package/dist-bundled/es/{p-CFw4_-5A-Dzvju3VE.js → p-UVmSPzTd-DiTxS9kW.js} +9 -9
  175. package/dist-bundled/es/p-UxDcM-C5-Dr5d_WpJ.js +15 -0
  176. package/dist-bundled/es/p-V48JyMbP-Bx-0od-Z.js +80 -0
  177. package/dist-bundled/es/p-mZJdpfOo-DicbKil0.js +47 -0
  178. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  179. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  180. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  181. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  182. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  183. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  184. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  185. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  186. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  187. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  188. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  189. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  190. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  191. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  192. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  193. package/dist-bundled/umd/gids-field.umd.js +2 -2
  194. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  195. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  196. package/dist-bundled/umd/gids-input.umd.js +2 -2
  197. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  198. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  199. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  200. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  201. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  202. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  203. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  204. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  205. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  206. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  207. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  208. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  209. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  210. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  211. package/dist-bundled/umd/index.umd.js +2 -2
  212. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  213. package/package.json +164 -4
  214. package/dist/p-CFw4_-5A.js +0 -1
  215. package/dist/p-DijVkS9b.js +0 -1
  216. package/dist/p-ibikYq-w.js +0 -1
  217. package/dist-bundled/es/p-DijVkS9b-CeV1i4T-.js +0 -35
  218. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -0,0 +1,88 @@
1
+ import { L as n, u as r, D as s, q as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { a as d } from "./p-Dg2yoUxw-Cca8ROd_.js";
3
+ import { c as l } from "./p-Cn3-K5eR-tQ1EOnDF.js";
4
+ import { h } from "./p-DNTv2BQ5-Bwgd30mM.js";
5
+ import { r as u } from "./p-BQ-ZnlnH-CUVdDHzX.js";
6
+ import { g as c } from "./p-D4Pimu_8-DfEGRQGf.js";
7
+ const i = n(class extends r {
8
+ constructor(e) {
9
+ super(), e !== !1 && this.__registerHost(), this.internals = this.attachInternals(), this.appearance = "default", this.expanded = !1, this.#e = c(), this.handleSelectionChange = (t) => {
10
+ this.value = t.value, this.syncFormValue(t.value), this.onSelectionChange?.(t);
11
+ }, this.handleDropdownFocusAndBlur = (t) => {
12
+ this.hostElement.dispatchEvent(new FocusEvent(t.type, { relatedTarget: t.relatedTarget }));
13
+ };
14
+ }
15
+ #e;
16
+ componentWillLoad() {
17
+ this.syncFormValue(this.value);
18
+ }
19
+ handleValueChange(e) {
20
+ this.syncFormValue(e);
21
+ }
22
+ syncFormValue(e) {
23
+ this.internals.setFormValue(e ?? "");
24
+ }
25
+ getDropdownControl() {
26
+ return this.hostElement.querySelector("gids-dropdown");
27
+ }
28
+ get form() {
29
+ return this.getDropdownControl()?.form ?? null;
30
+ }
31
+ get validity() {
32
+ return this.getDropdownControl()?.validity ?? {};
33
+ }
34
+ get validationMessage() {
35
+ return this.getDropdownControl()?.validationMessage ?? "";
36
+ }
37
+ get willValidate() {
38
+ return this.getDropdownControl()?.willValidate ?? !1;
39
+ }
40
+ async checkValidity() {
41
+ const e = this.getDropdownControl();
42
+ return !e?.checkValidity || await e.checkValidity();
43
+ }
44
+ async reportValidity() {
45
+ const e = this.getDropdownControl();
46
+ return !e?.reportValidity || await e.reportValidity();
47
+ }
48
+ async setCustomValidity(e) {
49
+ const t = this.getDropdownControl();
50
+ if (t?.setCustomValidity) return await t.setCustomValidity(e);
51
+ }
52
+ render() {
53
+ const e = this.inputProps?.id ?? this.#e, t = { ...this.inputProps, id: e, placeholder: this.inputProps?.placeholder ?? "Please select an option" };
54
+ return s("gids-field", { key: "e6a0a13ea0e4af7eed1fe4fdf4a75a0cc2e25781", disabled: this.disabled, helperText: this.helperText, statusText: this.statusText, status: this.status }, this.label !== void 0 ? s(d, { slot: "label", disabled: this.disabled, htmlFor: e, fieldRequirement: this.required ? "required" : void 0 }, this.label) : null, s("gids-dropdown", { key: "8bc3cc97ae4c0aca628ec4b23886084e1e640235", appearance: this.appearance, expanded: this.expanded, inputProps: t, disabled: this.disabled, readOnly: this.readOnly, loading: this.loading, value: this.value, name: this.name, onSelectionChange: this.handleSelectionChange, onFocus: this.handleDropdownFocusAndBlur, onBlur: this.handleDropdownFocusAndBlur, required: this.required }, s("slot", { key: "fc99a57e26453a285f0f0b9f229b6cd51807308d", name: "leadingIconDropdown" }), s("slot", { key: "97ef4d59ff8b845879ac34f3b32e47f8e8174fd2", name: "leadingAccessoryDropdown" }), s("slot", { key: "0b61c948bf3e1419e4db201fb3b659666e112fbf" })));
55
+ }
56
+ static get formAssociated() {
57
+ return !0;
58
+ }
59
+ get hostElement() {
60
+ return this;
61
+ }
62
+ static get watchers() {
63
+ return { value: [{ handleValueChange: 0 }] };
64
+ }
65
+ }, [324, "gids-dropdown-field", { label: [513], helperText: [513, "helper-text"], statusText: [513, "status-text"], status: [513], appearance: [513], expanded: [516], readOnly: [516, "readonly"], disabled: [516], loading: [516], inputProps: [16], value: [1025], name: [513], onSelectionChange: [16], required: [516], checkValidity: [64], reportValidity: [64], setCustomValidity: [64] }, void 0, { value: [{ handleValueChange: 0 }] }]);
66
+ function o() {
67
+ typeof customElements < "u" && ["gids-dropdown-field", "gids-dropdown", "gids-field", "gids-input"].forEach(((e) => {
68
+ switch (e) {
69
+ case "gids-dropdown-field":
70
+ customElements.get(a(e)) || customElements.define(a(e), i);
71
+ break;
72
+ case "gids-dropdown":
73
+ customElements.get(a(e)) || l();
74
+ break;
75
+ case "gids-field":
76
+ customElements.get(a(e)) || h();
77
+ break;
78
+ case "gids-input":
79
+ customElements.get(a(e)) || u();
80
+ }
81
+ }));
82
+ }
83
+ o();
84
+ const b = i, V = o;
85
+ export {
86
+ b as GidsDropdownField,
87
+ V as defineCustomElement
88
+ };
@@ -0,0 +1,6 @@
1
+ import { r, h as o } from "./p-JjN8U9B5-GeWjfJBY.js";
2
+ const s = r, t = o;
3
+ export {
4
+ s as GidsDropdownPicker,
5
+ t as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { l as o, c as e } from "./p-Cn3-K5eR-tQ1EOnDF.js";
2
+ const s = o, t = e;
3
+ export {
4
+ s as GidsDropdown,
5
+ t as defineCustomElement
6
+ };
@@ -1,4 +1,4 @@
1
- import { d as e, h as o } from "./p-iCAclJND-Bmsvd-W1.js";
1
+ import { d as e, h as o } from "./p-DNTv2BQ5-Bwgd30mM.js";
2
2
  const t = e, d = o;
3
3
  export {
4
4
  t as GidsField,
@@ -0,0 +1,6 @@
1
+ import { h as t, a as e } from "./p-H1JIMJ2t-DEXp7M4I.js";
2
+ const s = t, i = e;
3
+ export {
4
+ s as GidsFilter,
5
+ i as defineCustomElement
6
+ };
@@ -1,32 +1,6 @@
1
- import { C as o, H as e, f as d, R as a } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { i as n } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { d as c } from "./p-veoOgDXg-fRinub-C.js";
4
- const t = o(class extends d {
5
- constructor(i) {
6
- super(), i !== !1 && this.__registerHost(), this.__attachShadow();
7
- }
8
- connectedCallback() {
9
- const i = n();
10
- i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
11
- }
12
- render() {
13
- return a(c, { key: "3033afda529cd2143bd0d3c3ca5c985b4b950eae", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
14
- }
15
- get _el() {
16
- return this;
17
- }
18
- static get style() {
19
- return ".gids-icon{color:var(--gidsIcon-color, var(--gids-color-icon-default));fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%);flex-shrink:0}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}";
20
- }
21
- }, [1, "gids-icon", { name: [1], size: [1], appearance: [1], alt: [1], titleId: [1, "title-id"] }]);
22
- function s() {
23
- typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
24
- i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), t));
25
- }));
26
- }
27
- s();
28
- const h = t, m = s;
1
+ import { c as o, d as e } from "./p-Db62Pz3n-DpQjwBYb.js";
2
+ const t = o, m = e;
29
3
  export {
30
- h as GidsIcon,
4
+ t as GidsIcon,
31
5
  m as defineCustomElement
32
6
  };
@@ -1,6 +1,6 @@
1
- import { l as r, r as s } from "./p-DvoHLz_5-C5EvA91N.js";
2
- const e = r, o = s;
1
+ import { l as t, r as e } from "./p-BQ-ZnlnH-CUVdDHzX.js";
2
+ const o = t, s = e;
3
3
  export {
4
- e as GidsInput,
5
- o as defineCustomElement
4
+ o as GidsInput,
5
+ s as defineCustomElement
6
6
  };
@@ -0,0 +1,6 @@
1
+ import { d as e, h as o } from "./p-Degg_WJz-BLua06el.js";
2
+ const t = e, m = o;
3
+ export {
4
+ t as GidsLevelGauge,
5
+ m as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { d as e, g as t } from "./p-CQH7eAs3-BVowyVGn.js";
2
+ const r = e, s = t;
3
+ export {
4
+ r as GidsLineChart,
5
+ s as defineCustomElement
6
+ };
@@ -1,4 +1,4 @@
1
- import { C as e, f as s, H as i } from "./p-ibikYq-w-BsGxk8ro.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 { C as i, f as n, R as e, H as o } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { L as a, 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
3
  const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  showGidsOverflowContainerBottomShadow: c,
6
6
  showGidsOverflowContainerTopShadow: h
7
- }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = i(class extends n {
7
+ }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
8
8
  constructor(t) {
9
9
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
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: "0a7916237558157e7122aeb05de6bf2eaaf5df77", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "fda73f846c0ec7371d57b7a8e379c028e0feaa98" }));
23
+ return e("div", { key: "97362225f8b3eb16c63650c2265649f0c10cd02d", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "833add367bb620d6405caab9aa0fddbbf99185a5" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
27
27
  }
28
28
  }, [257, "gids-overflow-container", { shadowLocation: [513, "shadow-location"] }]);
29
- function a() {
29
+ function i() {
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
- a();
35
- const p = r, m = a;
34
+ i();
35
+ const p = r, m = i;
36
36
  export {
37
37
  p as GidsOverflowContainer,
38
38
  m as defineCustomElement
@@ -1,8 +1,8 @@
1
- import { C as k, f as y, R as o, L as w, H as f } from "./p-ibikYq-w-BsGxk8ro.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-veoOgDXg-fRinub-C.js";
5
- import { o as u } from "./p-CFw4_-5A-Dzvju3VE.js";
4
+ import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
5
+ import { o as u } from "./p-UVmSPzTd-DiTxS9kW.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
@@ -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,24 +111,24 @@ 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 } = j, R = ({ 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: X, getNotificationContainerIconNames: Y } = q, E = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
122
- const c = Y(i);
123
- return o("div", { class: X({ 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
- }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = k(class extends y {
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
+ const c = E(i);
123
+ return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "cross", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
124
+ }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = C(class extends y {
125
125
  constructor(t) {
126
126
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this._parentOverlayProvider = null, this._componentQueue = [], this._allowedComponentQueue = [], this._exitingComponents = [], this._renderSnackbar = (e, n) => {
127
127
  const { id: i, message: a, appearance: r, buttonLabel: s, onButtonClick: m } = e;
128
- return o(R, { key: i, class: n, children: a, appearance: r, button: s != null && s !== "" ? o(u, { appearance: "subtle", onClick: m }, s) : void 0 });
128
+ return o(X, { key: i, class: n, children: a, appearance: r, button: s != null && s !== "" ? o(u, { appearance: "subtle", onClick: m }, s) : void 0 });
129
129
  }, this._renderNotification = (e, n) => {
130
130
  const { id: i, notificationTitle: a, message: r, pronunciation: s, appearance: m, buttonLabel: c, onButtonClick: l, timerInMs: d } = e;
131
- return o(E, { key: i, class: n, notificationTitle: a, children: r, pronunciation: s, appearance: m, onCloseNotificationClick: () => this.removeComponent(e, d || 0, !0), button: c != null && c !== "" ? o(u, { appearance: "default", size: "sm", onClick: l }, c) : void 0 });
131
+ return o(R, { key: i, class: n, notificationTitle: a, children: r, pronunciation: s, appearance: m, onCloseNotificationClick: () => this.removeComponent(e, d || 0, !0), button: c != null && c !== "" ? o(u, { appearance: "default", size: "sm", onClick: l }, c) : void 0 });
132
132
  }, this._renderComponent = (e) => {
133
133
  const { componentName: n, position: i = "bottom-center", id: a } = e, r = B({ position: i, id: a, exitingComponents: this._exitingComponents });
134
134
  return n == null || n === "snackbar" ? this._renderSnackbar(e, r) : n === "notification" ? this._renderNotification(e, r) : null;
@@ -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: "cfacf71807978b22d6f2a9e33c0518e9aefc3a58" }, o("slot", { key: "4b4fa08f00a46a95ed4af543f85aad06affee847" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "98b34b44016b714b3ea32f097a954e7044928a09" }, o("slot", { key: "81a68d3e2087bb2cb547e33579bd9f92ef45e968" }), 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;
@@ -196,13 +196,13 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
196
196
  return ".common-component-stack{display:flex;flex-direction:column;position:fixed;gap:var(--gids-gap-200);min-width:var(--gids-width-2-xs);max-width:var(--gids-width-md);width:100%}.component-stack-bottom-left{justify-self:left;bottom:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-right{justify-self:right;bottom:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-left{top:50%;justify-self:left;align-self:center;left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-right{top:50%;justify-self:right;align-self:center;right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-center{justify-self:center;top:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-left{justify-self:left;top:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-right{justify-self:right;top:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-center{justify-self:center;bottom:var(--gids-padding-vertical-edge-to-element-250)}.component-enter-bottom-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-center{animation-name:slide-up-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-center{animation-name:slide-up-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-center{animation-name:slide-down-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-center{animation-name:slide-down-invisible;animation-duration:0.3s;animation-fill-mode:forwards}@keyframes slide-up-visible{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-invisible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(100%)}}@keyframes slide-up-invisible{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-visible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-100%)}}@keyframes left-to-right-visible{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@keyframes right-to-left-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-100%)}}@keyframes right-to-left-visible{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@keyframes left-to-right-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(100%)}}";
197
197
  }
198
198
  }, [257, "gids-overlay-provider", { _componentQueue: [32], _allowedComponentQueue: [32], _exitingComponents: [32], queueComponent: [64] }]);
199
- function C() {
199
+ function k() {
200
200
  typeof customElements < "u" && ["gids-overlay-provider"].forEach(((t) => {
201
201
  t === "gids-overlay-provider" && (customElements.get(f(t)) || customElements.define(f(t), _));
202
202
  }));
203
203
  }
204
- C();
205
- const K = _, U = C;
204
+ k();
205
+ const K = _, U = k;
206
206
  export {
207
207
  K as GidsOverlayProvider,
208
208
  U as defineCustomElement
@@ -1,28 +1,29 @@
1
- import { C as S, f as P, V as v, N as x, R as i, L as T, H as h } from "./p-ibikYq-w-BsGxk8ro.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 { n as L, o as O } from "./p-DijVkS9b-CeV1i4T-.js";
4
- import { o as F } from "./p-CFw4_-5A-Dzvju3VE.js";
5
- import { g as k, d as j } from "./p-veoOgDXg-fRinub-C.js";
6
- import { h as E } from "./p-iCAclJND-Bmsvd-W1.js";
7
- import { r as G } from "./p-DvoHLz_5-C5EvA91N.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-DiTxS9kW.js";
6
+ import { g as k, d as j } from "./p-D4Pimu_8-DfEGRQGf.js";
7
+ import { h as z } from "./p-DNTv2BQ5-Bwgd30mM.js";
8
+ import { r as E } from "./p-BQ-ZnlnH-CUVdDHzX.js";
8
9
  import { c as g } from "./clsx-OuTLNxxd.js";
9
- 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]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
10
11
  if (!e || e === "")
11
12
  return 0;
12
13
  let n = 0;
13
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;
14
- }, A = ({ textScore: e, maxScore: t }) => {
15
+ }, B = ({ textScore: e, maxScore: t }) => {
15
16
  const s = t > 0 ? e / t * 100 : 0;
16
17
  return s <= 20 ? "is-weak" : s <= 40 ? "is-medium" : s <= 60 ? "is-good-enough" : s <= 80 ? "is-good" : "is-strong";
17
- }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
19
  __proto__: null,
19
- getColorModifierByScore: A,
20
- getStrengthMeterScore: z,
20
+ getColorModifierByScore: B,
21
+ getStrengthMeterScore: G,
21
22
  include1DigitReg: b,
22
23
  include1LowercaseLetterReg: p,
23
24
  include1SpecialCharReg: q,
24
25
  include1UppercaseLetterReg: f
25
- }, Symbol.toStringTag, { value: "Module" })), d = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
26
+ }, Symbol.toStringTag, { value: "Module" })), o = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
26
27
  const t = [];
27
28
  return e && e.length > 0 && e.map((s) => {
28
29
  s?.requirementRule && t.push(s.requirementRule);
@@ -40,7 +41,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
40
41
  case "1-special-character":
41
42
  return q.test(s);
42
43
  case "include-min-length":
43
- return d({
44
+ return o({
44
45
  requirementRule: "include-min-length",
45
46
  textMinLength: t
46
47
  }) === !0 && s.length >= t;
@@ -66,7 +67,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
66
67
  requirementText: "Password must contain atleast 1 lowercase letter."
67
68
  }
68
69
  ];
69
- return d({
70
+ return o({
70
71
  requirementRule: "include-min-length",
71
72
  textMinLength: e
72
73
  }) && t.push({
@@ -76,13 +77,13 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
76
77
  defaultMeterRules: R(t),
77
78
  defaultRequirementsMeterRules: t
78
79
  };
79
- }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
80
+ }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
80
81
  __proto__: null,
81
82
  checkRequirementRuleSatisfied: I,
82
83
  getDefaultRulesAndRequirementsForMeters: m,
83
84
  getMeterRulesFromRequirements: R,
84
- minLengthRuleCanBeApplied: d
85
- }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
85
+ minLengthRuleCanBeApplied: o
86
+ }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
86
87
  switch (e) {
87
88
  case "error":
88
89
  return "danger";
@@ -95,10 +96,10 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
95
96
  default:
96
97
  return "globe";
97
98
  }
98
- }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
100
  __proto__: null,
100
- getRequirementsMeterLabelLeadingIcon: V
101
- }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
101
+ getRequirementsMeterLabelLeadingIcon: D
102
+ }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
102
103
  switch (e) {
103
104
  case "error":
104
105
  return "error";
@@ -107,12 +108,12 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
107
108
  default:
108
109
  return "default";
109
110
  }
110
- }, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
+ }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
112
  __proto__: null,
112
- inputToGidsFieldStatusForPassword: D
113
- }, 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({
114
115
  __proto__: null,
115
- getGidsStrengthMeterClassNames: U
116
+ getGidsStrengthMeterClassNames: H
116
117
  }, Symbol.toStringTag, { value: "Module" })), W = ({ status: e }, t) => g("gids-requirements-meter-label", {
117
118
  "gids-requirements-meter-label--error": e === "error",
118
119
  "gids-requirements-meter-label--information": e === "information",
@@ -124,27 +125,27 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
124
125
  }, Symbol.toStringTag, { value: "Module" })), K = (e) => g("gids-requirements-meter", e), Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
125
126
  __proto__: null,
126
127
  getGidsRequirementsMeterClassNames: K
127
- }, 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({
128
129
  __proto__: null,
129
130
  inputToGidsFieldStatusForPassword: Y
130
- }, 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 }) => {
131
132
  const a = (r, l, u) => i("div", { key: r, class: ["gids-strength-meter__strength-" + r, u ? "is-active" : "", u ? l : ""].filter(Boolean).join(" ") });
132
133
  return s.length > 0 ? i("div", { class: te(n) }, (() => {
133
134
  const r = s.length, l = se({ text: e, textMinLength: t, meterRules: s }), u = re({ textScore: l, maxScore: r });
134
135
  return Array.from({ length: r }, ((_, c) => {
135
- const o = c + 1, w = o <= l;
136
- return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, w) : null : a(o, u, w);
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);
137
138
  }));
138
139
  })()) : null;
139
- }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = $, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = N, ae = (e) => {
140
141
  const { label: t, status: s = "default", leadingIconVisible: n = !0, class: a } = e, r = le(s);
141
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);
142
- }, { checkRequirementRuleSatisfied: ue } = N, { getGidsRequirementsMeterClassNames: oe } = Q, de = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
143
+ }, { checkRequirementRuleSatisfied: ue } = $, { getGidsRequirementsMeterClassNames: de } = Q, oe = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
143
144
  const a = (r, l) => i(ae, { status: l ? "success" : "error", label: r.requirementText });
144
- return i("div", { class: oe(n) }, e.map(((r) => {
145
+ return i("div", { class: de(n) }, e.map(((r) => {
145
146
  if (r?.requirementText != null && r?.requirementRule != null) {
146
147
  const l = ue({ rule: r.requirementRule, textMinLength: s, text: t });
147
- return r.requirementRule === "include-min-length" ? d({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
148
+ return r.requirementRule === "include-min-length" ? o({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
148
149
  }
149
150
  return null;
150
151
  })));
@@ -190,7 +191,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
190
191
  #e;
191
192
  render() {
192
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;
193
- return i(T, { key: "674d6baf90ed0a3b9bf6821fb288972ffe255909" }, i("gids-field", { key: "2b1f7f67ef3616edf29843b663c4e1efa8ce416a", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(L, { key: "ccd09eba06b8876d216181b8dd7fbcb1ff742d86", 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: "f9a8c8f13347b5dd7620e8498aeb85ec646f000f", 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: "56c43774f755d7ae1ac6e633e39426d2b489414a", name: "leadingIcon" }), i("slot", { key: "1e964257af8f053e0d7c9de51fc0ec48a38b6d18", name: "leadingAccessory" }), i("div", { key: "f453197e76a4c8c01f1fa12a6f0c551a14f71f5d", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(O, { key: "3127641007c6eb5db4e9b8c6bd521e6cdf80e59b", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(F, { key: "bc537fa18fabe13e16ec2a7c8b5f4611e589c4c7", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "355033afd60090f7b04e48db5c1d675f29663e18", class: "gids-password-field__meters-container" }, i(ie, { key: "fb407fffb5de91b9bc30c1e7593fee01b5fa2a09", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "6888d147c99ea7902954e55ad91a5d64d7c1a031", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "ad8824cc057aa37efa91c06726fdc1b557d409de" }, i("gids-field", { key: "59ebf5007857762d94d9b97e43b78ddff47c9ff0", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "48268834c82d79a615a8664cc82392ced99fdca7", 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: "b788da8c254e5d60500d61d304ec651d3fedea0c", 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: "d391d4aa12d3141c90ed75738407d1c67b0d0702", name: "leadingIcon" }), i("slot", { key: "6e832b40ffd56cf269c1a0a864f5d87766a27388", name: "leadingAccessory" }), i("div", { key: "583893f7fa33d8f6a38f3751e47294ac48f96176", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "405c0a96c792c3ea4ab9ed3f62b902865328a878", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "20239498d925c2b88a0197cd24d32dc5f0a3d241", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "0f86c1cdf84b819848c7e4051720482ff5a5247f", class: "gids-password-field__meters-container" }, i(ie, { key: "646c27887adf3f4913bfa78c9f2c30758a4c2491", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "07ff4be07b41ea41504a40c775402b138c2c0dc8", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
195
  }
195
196
  get _el() {
196
197
  return this;
@@ -206,16 +207,16 @@ function y() {
206
207
  customElements.get(h(e)) || customElements.define(h(e), M);
207
208
  break;
208
209
  case "gids-field":
209
- customElements.get(h(e)) || E();
210
+ customElements.get(h(e)) || z();
210
211
  break;
211
212
  case "gids-input":
212
- customElements.get(h(e)) || G();
213
+ customElements.get(h(e)) || E();
213
214
  }
214
215
  }));
215
216
  }
216
217
  y();
217
- const _e = M, we = y;
218
+ const we = M, ve = y;
218
219
  export {
219
- _e as GidsPasswordField,
220
- we as defineCustomElement
220
+ we as GidsPasswordField,
221
+ ve as defineCustomElement
221
222
  };
@@ -0,0 +1,6 @@
1
+ import { n as e, c as t } from "./p-DPIK2ayL-DPEbctqo.js";
2
+ const s = e, a = t;
3
+ export {
4
+ s as GidsPieChart,
5
+ a as defineCustomElement
6
+ };
@@ -1,6 +1,6 @@
1
- import { C as v, f as p, R as a, L as f, H as l } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { g as b } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
- import { o as E } from "./p-B8kX8Vqv-trBz4jdS.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
+ import { g as E } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
+ import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  const h = v(class extends p {
5
5
  constructor(e) {
6
6
  super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.placement = "bottom", this.previouslyFocusedElement = null, this.focusableElements = [], this.handleToggleEvent = (t) => {
@@ -14,7 +14,7 @@ const h = v(class extends p {
14
14
  };
15
15
  }
16
16
  componentDidLoad() {
17
- this.floatingElementManager = new b(this._el, { htmlFor: this.htmlFor, placement: this.placement, showWithoutDelay: !0, floatingElementSelector: "#popover", arrowElementSelector: "#arrow", visibilityClass: "gids-popover--visible", elementType: E.POPOVER, getAnchorElementFromSlot: (e) => e.querySelector('slot[name="anchor"]')?.assignedElements()[0] || null }), this.floatingElementManager.initialize(), this.setupEventListeners();
17
+ this.floatingElementManager = new E(this._el, { htmlFor: this.htmlFor, placement: this.placement, showWithoutDelay: !0, floatingElementSelector: "#popover", arrowElementSelector: "#arrow", visibilityClass: "gids-popover--visible", elementType: b.POPOVER, getAnchorElementFromSlot: (e) => e.querySelector('slot[name="anchor"]')?.assignedElements()[0] || null }), this.floatingElementManager.initialize(), this.setupEventListeners();
18
18
  }
19
19
  setupEventListeners() {
20
20
  const e = this.floatingElementManager.getAnchorElement();
@@ -38,8 +38,8 @@ const h = v(class extends p {
38
38
  const s = c(i);
39
39
  t.push(...s);
40
40
  })), this.focusableElements = t.sort(((i, s) => {
41
- const r = i.compareDocumentPosition(s), m = !!(r & Node.DOCUMENT_POSITION_FOLLOWING), u = !!(r & Node.DOCUMENT_POSITION_PRECEDING);
42
- return m ? -1 : u ? 1 : 0;
41
+ const r = i.compareDocumentPosition(s), u = !!(r & Node.DOCUMENT_POSITION_FOLLOWING), m = !!(r & Node.DOCUMENT_POSITION_PRECEDING);
42
+ return u ? -1 : m ? 1 : 0;
43
43
  }));
44
44
  }
45
45
  trapFocus(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: "da6cbab41d3390a940444809d9fe809225c9426e" }, a("slot", { key: "5a5e5f72ab9c793e02b7bd633381363ab37cbf22", name: "anchor" }), a("div", { key: "49ab365961e8a3d9bf0e6ac67f2c73fda1eb7bb3", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "9815148f291ebca88b4a2bbe09b0e93fcbaab4a7", id: "arrow" }), a("div", { key: "b6d83da9bd180933b5f2453f3e66f66f692e35c1" }, a("slot", { key: "90aaeadfe9d09ebdd6534afa762b35c38a5cc57f" }))));
67
+ return a(f, { key: "d46aad4680cea0578107034ca4945659910c6dd8" }, a("slot", { key: "71b5b313244ca9be78ca0e76e0056a8d6f201f89", name: "anchor" }), a("div", { key: "9be3b9f604bf8a15795ff2f6cbbc439936734795", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "48f4b97c8c0f2df0bea15c067ebf7cc28f98e98c", id: "arrow" }), a("div", { key: "5547088b9b186ab816e4d6a9e9a3c6bfdde41fd2" }, a("slot", { key: "460c256bddf41d061352917b129501fdd3f383a2" }))));
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
  };
@@ -0,0 +1,6 @@
1
+ import { h as e, d as r } from "./p-CoS0NuDU-CqmDcRWj.js";
2
+ const o = e, t = r;
3
+ export {
4
+ o as GidsProgressCircle,
5
+ t as defineCustomElement
6
+ };
@@ -1,10 +1,10 @@
1
- import { C as o, f as c, R as e, H as t } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { L as o, u as c, 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, r = o(class extends c {
7
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = o(class extends c {
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: "da4b587303359a6075411a1843e03eff6eed68ce", class: this.activeClasses, part: "root" }, e("slot", { key: "5a52f6e5628c771b2dd0f5a6221005a0ed8b9fbb" }));
19
+ return e("div", { key: "43ae2df4c05e5ce29bb2cd6755ef4472e9a6e078", class: this.activeClasses, part: "root" }, e("slot", { key: "2610048a1d440e95632575b232ca7d923f66cea5" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -28,14 +28,14 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
28
28
  return ".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}";
29
29
  }
30
30
  }, [257, "gids-scrim", { extraClasses: [513, "extra-classes"], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesChange: 0 }] }]);
31
- function i() {
31
+ function r() {
32
32
  typeof customElements < "u" && ["gids-scrim"].forEach(((s) => {
33
- s === "gids-scrim" && (customElements.get(t(s)) || customElements.define(t(s), r));
33
+ s === "gids-scrim" && (customElements.get(t(s)) || customElements.define(t(s), i));
34
34
  }));
35
35
  }
36
- i();
37
- const u = r, C = i;
36
+ r();
37
+ const f = i, C = r;
38
38
  export {
39
- u as GidsScrim,
39
+ f as GidsScrim,
40
40
  C as defineCustomElement
41
41
  };