@ganpatiinfo/gids-core-web 10.1.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 (140) hide show
  1. package/dist/css/index.css +201 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.js +1 -1
  4. package/dist/gids-activity-gauge.js +1 -1
  5. package/dist/gids-bar-chart.js +1 -1
  6. package/dist/gids-calendar-header-panel.js +1 -1
  7. package/dist/gids-calendar-month-list.js +1 -1
  8. package/dist/gids-calendar-year-list.js +1 -1
  9. package/dist/gids-calendar.js +1 -1
  10. package/dist/gids-chart-legend-item.js +1 -1
  11. package/dist/gids-chart-legend.js +1 -1
  12. package/dist/gids-chart.js +1 -1
  13. package/dist/gids-chevron-button.js +1 -1
  14. package/dist/gids-dot.js +1 -1
  15. package/dist/gids-dropdown-field.js +1 -1
  16. package/dist/gids-dropdown-picker.js +1 -1
  17. package/dist/gids-dropdown.js +1 -1
  18. package/dist/gids-field.js +1 -1
  19. package/dist/gids-filter.js +1 -1
  20. package/dist/gids-icon.js +1 -1
  21. package/dist/gids-input.js +1 -1
  22. package/dist/gids-line-chart.js +1 -1
  23. package/dist/gids-overflow-container.js +1 -1
  24. package/dist/gids-overlay-provider.js +1 -1
  25. package/dist/gids-password-field.js +1 -1
  26. package/dist/gids-pie-chart.js +1 -1
  27. package/dist/gids-popover.js +1 -1
  28. package/dist/gids-scrim.js +1 -1
  29. package/dist/gids-tab-item.d.ts +11 -0
  30. package/dist/gids-tab-item.js +1 -0
  31. package/dist/gids-tab.d.ts +11 -0
  32. package/dist/gids-tab.js +1 -0
  33. package/dist/gids-text-field.js +1 -1
  34. package/dist/gids-toggle-button.js +1 -1
  35. package/dist/gids-tooltip.js +1 -1
  36. package/dist/{p-DfxTsSdZ.js → p-5VIPb1eU.js} +1 -1
  37. package/dist/{p-Db62Pz3n.js → p-8tOn5SjU.js} +1 -1
  38. package/dist/{p-V48JyMbP.js → p-B1Jgtjhu.js} +1 -1
  39. package/dist/{p-mZJdpfOo.js → p-BYDimyG-.js} +1 -1
  40. package/dist/{p-DPIK2ayL.js → p-BfnzH6wp.js} +1 -1
  41. package/dist/p-Bj28yqMD.js +1 -0
  42. package/dist/{p-CW7tw1Fb.js → p-C-cUL-aA.js} +1 -1
  43. package/dist/{p-DNTv2BQ5.js → p-C7ifjRCE.js} +1 -1
  44. package/dist/{p-JjN8U9B5.js → p-Ciw-O9qN.js} +1 -1
  45. package/dist/{p-BpQB6ncp.js → p-DiNad9Px.js} +1 -1
  46. package/dist/{p-CQH7eAs3.js → p-DoPuGtJd.js} +1 -1
  47. package/dist/{p-BQ-ZnlnH.js → p-Doi8Yizl.js} +1 -1
  48. package/dist/{p-BZCJlqVe.js → p-Jdpe4Sgj.js} +1 -1
  49. package/dist/{p-CP1wz2PI.js → p-bPPm7cuw.js} +1 -1
  50. package/dist/{p-DoCwI_bx.js → p-qb1aWgjh.js} +1 -1
  51. package/dist/{p-H1JIMJ2t.js → p-qrjEbv6g.js} +1 -1
  52. package/dist/{p-Cn3-K5eR.js → p-xITwQAMz.js} +1 -1
  53. package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
  54. package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
  55. package/dist/types/components.d.ts +123 -2
  56. package/dist-bundled/es/gids-action-bar.js +4 -4
  57. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  58. package/dist-bundled/es/gids-bar-chart.js +3 -3
  59. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  60. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  61. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  62. package/dist-bundled/es/gids-calendar.js +33 -33
  63. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  64. package/dist-bundled/es/gids-chart-legend.js +4 -4
  65. package/dist-bundled/es/gids-chart.js +6 -6
  66. package/dist-bundled/es/gids-chevron-button.js +4 -4
  67. package/dist-bundled/es/gids-dot.js +3 -3
  68. package/dist-bundled/es/gids-dropdown-field.js +10 -10
  69. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  70. package/dist-bundled/es/gids-dropdown.js +1 -1
  71. package/dist-bundled/es/gids-field.js +1 -1
  72. package/dist-bundled/es/gids-filter.js +3 -3
  73. package/dist-bundled/es/gids-icon.js +4 -4
  74. package/dist-bundled/es/gids-input.js +4 -4
  75. package/dist-bundled/es/gids-line-chart.js +4 -4
  76. package/dist-bundled/es/gids-overflow-container.js +9 -9
  77. package/dist-bundled/es/gids-overlay-provider.js +2 -2
  78. package/dist-bundled/es/gids-password-field.js +19 -19
  79. package/dist-bundled/es/gids-pie-chart.js +4 -4
  80. package/dist-bundled/es/gids-popover.js +1 -1
  81. package/dist-bundled/es/gids-scrim.js +3 -3
  82. package/dist-bundled/es/gids-tab-item.js +100 -0
  83. package/dist-bundled/es/gids-tab.js +63 -0
  84. package/dist-bundled/es/gids-text-field.js +9 -9
  85. package/dist-bundled/es/gids-toggle-button.js +4 -4
  86. package/dist-bundled/es/gids-tooltip.js +4 -4
  87. package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
  88. package/dist-bundled/es/{p-DfxTsSdZ-C2Afv1lS.js → p-5VIPb1eU-MCAo8JCp.js} +2 -2
  89. package/dist-bundled/es/{p-Db62Pz3n-DpQjwBYb.js → p-8tOn5SjU-D9rZ28cf.js} +10 -10
  90. package/dist-bundled/es/{p-V48JyMbP-Bx-0od-Z.js → p-B1Jgtjhu-B_VYp-ZP.js} +7 -7
  91. package/dist-bundled/es/{p-mZJdpfOo-DicbKil0.js → p-BYDimyG--DBCLrqDJ.js} +6 -6
  92. package/dist-bundled/es/{p-DPIK2ayL-DPEbctqo.js → p-BfnzH6wp-BfLC7Nak.js} +2 -2
  93. package/dist-bundled/es/{p-DmLoB2Dn-D-FSoCvI.js → p-Bj28yqMD-Dz1SWSqM.js} +6 -6
  94. package/dist-bundled/es/{p-CW7tw1Fb-DtJ5TwCU.js → p-C-cUL-aA-2jsvw-Lr.js} +11 -11
  95. package/dist-bundled/es/{p-DNTv2BQ5-Bwgd30mM.js → p-C7ifjRCE-CRlorwoN.js} +12 -12
  96. package/dist-bundled/es/{p-JjN8U9B5-GeWjfJBY.js → p-Ciw-O9qN-DkWfirFu.js} +4 -4
  97. package/dist-bundled/es/{p-BpQB6ncp-C2AWddf-.js → p-DiNad9Px-uOCMHqAq.js} +9 -9
  98. package/dist-bundled/es/{p-CQH7eAs3-BVowyVGn.js → p-DoPuGtJd-DYlbhh57.js} +2 -2
  99. package/dist-bundled/es/{p-BQ-ZnlnH-CUVdDHzX.js → p-Doi8Yizl-BszWK5Dq.js} +3 -3
  100. package/dist-bundled/es/{p-BZCJlqVe-BcSwze-q.js → p-Jdpe4Sgj-acwaxLtK.js} +5 -5
  101. package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
  102. package/dist-bundled/es/{p-CP1wz2PI-DhVAsHFS.js → p-bPPm7cuw-B-dtPJF9.js} +5 -5
  103. package/dist-bundled/es/{p-DoCwI_bx-BXHlZI7-.js → p-qb1aWgjh-CzmMPIME.js} +6 -6
  104. package/dist-bundled/es/{p-H1JIMJ2t-DEXp7M4I.js → p-qrjEbv6g-ITSp3ky_.js} +2 -2
  105. package/dist-bundled/es/{p-Cn3-K5eR-tQ1EOnDF.js → p-xITwQAMz-BMXjOAAQ.js} +12 -12
  106. package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
  107. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  108. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  109. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  110. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  111. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  112. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  113. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  114. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  115. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  116. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  117. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  118. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  119. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  120. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  121. package/dist-bundled/umd/gids-field.umd.js +2 -2
  122. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  123. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  124. package/dist-bundled/umd/gids-input.umd.js +1 -1
  125. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  126. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  127. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  128. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  129. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  130. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  131. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  132. package/dist-bundled/umd/gids-tab-item.umd.js +5 -0
  133. package/dist-bundled/umd/gids-tab.umd.js +5 -0
  134. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  135. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  136. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  137. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  138. package/package.json +20 -4
  139. package/dist/p-DmLoB2Dn.js +0 -1
  140. package/dist-bundled/es/p-UVmSPzTd-DiTxS9kW.js +0 -25
@@ -1,9 +1,9 @@
1
1
  import { L as J, q as v, u as K, D as r } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { p as V, m as _, x as z, N as $ } from "./p-D6lxqcxP-DWrZi1Xi.js";
3
- import { o as E } from "./p-UVmSPzTd-DiTxS9kW.js";
3
+ import { o as E } from "./p-UVmSPzTd-6vjXok6h.js";
4
4
  import { d as G } from "./p-D4Pimu_8-DfEGRQGf.js";
5
- import { a as Q } from "./p-H1JIMJ2t-DEXp7M4I.js";
6
- import { o as R } from "./p-DmLoB2Dn-D-FSoCvI.js";
5
+ import { a as Q } from "./p-qrjEbv6g-ITSp3ky_.js";
6
+ import { o as R } from "./p-Bj28yqMD-Dz1SWSqM.js";
7
7
  import { c as U } from "./clsx-OuTLNxxd.js";
8
8
  const W = (e) => U("gids-action-bar", e), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
9
  __proto__: null,
@@ -128,7 +128,7 @@ const W = (e) => U("gids-action-bar", e), X = /* @__PURE__ */ Object.freeze(/* @
128
128
  }
129
129
  render() {
130
130
  const e = Y(), t = this?.primaryFilters ?? [], l = this?.secondaryFilters ?? [], a = this.isMoreFilterVisible(), d = this.moreFiltersData, f = d?.filterPickerData ?? [], p = { disabled: this?.moreFiltersData?.disabled, filterDefaultSelected: this?.moreFiltersData?.filterDefaultSelected, loading: this?.moreFiltersData?.loading }, u = this.isAllFilterVisible(), g = this.getAllFiltersValue(), y = { defaultSelected: this?.allFiltersData?.defaultSelected, disabled: this?.allFiltersData?.disabled, loading: this?.allFiltersData?.loading }, m = this.dropdownDividerVisible, n = this.filterSize, b = this.isActionGroup(), F = this?.allFiltersData?.filterId && this.allFiltersData.filterId !== "" ? this.allFiltersData.filterId : `1_${g}_primary`, s = this?.moreFiltersData?.filterId && this.moreFiltersData.filterId !== "" ? this.moreFiltersData.filterId : l.length + 1 + "_more_secondary", A = "secondary", w = "more", M = l.length + 1, L = this.getSelectedDropdownFilterTitle(s);
131
- return r("div", { key: "5488b75338374739aad8fbca04538fb7eb195cb8", class: e }, r("div", { key: "e91a050f2b0e0b6c43b2d9c3d5739690535df94b", class: "gids-action-bar__primary-filters" }, r(V, { key: "e90539d289a5ef842d17a31fef13d5efb71e1503", layout: "wrap" }, u ? r("gids-filter", { type: "all", filterId: F, filterIndex: 0, filterItemType: "primary", filterSelected: this.isNormalFilterSelected(F), value: g, ...y, disabled: this.isAllFiltersTabDisabled(), size: n, onFilterMenuItemChange: this.handleAllFilterClick }) : void 0, t.map(((i, o) => {
131
+ return r("div", { key: "bcdc09481518a9951c8e790fd3e4962e4a7f2c04", class: e }, r("div", { key: "b03978a9f7f516fc8da66291a9aac44a90bbbb94", class: "gids-action-bar__primary-filters" }, r(V, { key: "48635f38cf5aac9949d515e0816c3154bb7f1331", layout: "wrap" }, u ? r("gids-filter", { type: "all", filterId: F, filterIndex: 0, filterItemType: "primary", filterSelected: this.isNormalFilterSelected(F), value: g, ...y, disabled: this.isAllFiltersTabDisabled(), size: n, onFilterMenuItemChange: this.handleAllFilterClick }) : void 0, t.map(((i, o) => {
132
132
  const S = i?.filterPickerData ?? [], c = i?.filterId && i.filterId !== "" ? i.filterId : o + 1 + "_primary", h = "primary", C = "none", T = this.getSelectedDropdownFilterTitle(c);
133
133
  return r("gids-filter", { key: `${c}_${T}`, ...i, filterIndex: o + 1, filterId: c, disabled: i?.disabled || this.disabled, filterDefaultSelected: i?.filterDefaultSelected, filterSelected: this.isDropdownFilterSelected(c), type: C, filterItemType: h, title: T, value: T, size: n, expanded: this.activeExpandedFilterId === c, onToggle: (I) => this.toggleDropdownFilter({ detail: I, filterId: c, pickerData: S }) }, r(_, { type: "default" }, S.map(((I, k) => {
134
134
  const x = I?.sectionLabel;
@@ -1,4 +1,4 @@
1
- import { o as t, d as e } from "./p-DfxTsSdZ-C2Afv1lS.js";
1
+ import { o as t, d as e } from "./p-5VIPb1eU-MCAo8JCp.js";
2
2
  const i = t, s = e;
3
3
  export {
4
4
  i as GidsActivityGauge,
@@ -1,6 +1,6 @@
1
- import { d as r, g as t } from "./p-CP1wz2PI-DhVAsHFS.js";
2
- const o = r, s = t;
1
+ import { d as t, g as e } from "./p-bPPm7cuw-B-dtPJF9.js";
2
+ const o = t, r = e;
3
3
  export {
4
4
  o as GidsBarChart,
5
- s as defineCustomElement
5
+ r as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { u as e, g as a } from "./p-BpQB6ncp-C2AWddf-.js";
2
- const s = e, n = a;
1
+ import { u as e, g as a } from "./p-DiNad9Px-uOCMHqAq.js";
2
+ const o = e, r = a;
3
3
  export {
4
- s as GidsCalendarHeaderPanel,
5
- n as defineCustomElement
4
+ o as GidsCalendarHeaderPanel,
5
+ r as defineCustomElement
6
6
  };
@@ -1,4 +1,4 @@
1
- import { l as t, c as e } from "./p-V48JyMbP-Bx-0od-Z.js";
1
+ import { l as t, c as e } from "./p-B1Jgtjhu-B_VYp-ZP.js";
2
2
  const s = t, n = e;
3
3
  export {
4
4
  s as GidsCalendarMonthList,
@@ -1,6 +1,6 @@
1
- import { l as e, u as t } from "./p-CW7tw1Fb-DtJ5TwCU.js";
2
- const a = e, o = t;
1
+ import { l as e, u as a } from "./p-C-cUL-aA-2jsvw-Lr.js";
2
+ const t = e, o = a;
3
3
  export {
4
- a as GidsCalendarYearList,
4
+ t as GidsCalendarYearList,
5
5
  o as defineCustomElement
6
6
  };
@@ -1,12 +1,12 @@
1
- import { L as P, u as D, D as d, q as c } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { r as S, g as M } from "./p-BpQB6ncp-C2AWddf-.js";
3
- import { c as N } from "./p-V48JyMbP-Bx-0od-Z.js";
4
- import { u as Y } from "./p-CW7tw1Fb-DtJ5TwCU.js";
5
- import { g as k } from "./p-BZCJlqVe-BcSwze-q.js";
6
- import { h as w } from "./p-JjN8U9B5-GeWjfJBY.js";
7
- import { d as x } from "./p-Db62Pz3n-DpQjwBYb.js";
8
- import { c as f } from "./clsx-OuTLNxxd.js";
9
- const _ = ({ disabled: e, selected: t, today: a, cellType: n, dot: r }, l) => f("gids-calendar-cell", {
1
+ import { L as P, u as D, D as d, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { n as S, g as M } from "./p-DiNad9Px-uOCMHqAq.js";
3
+ import { c as N } from "./p-B1Jgtjhu-B_VYp-ZP.js";
4
+ import { u as Y } from "./p-C-cUL-aA-2jsvw-Lr.js";
5
+ import { g as k } from "./p-Jdpe4Sgj-acwaxLtK.js";
6
+ import { a as w } from "./p-Ciw-O9qN-DkWfirFu.js";
7
+ import { d as x } from "./p-8tOn5SjU-D9rZ28cf.js";
8
+ import { c as p } from "./clsx-OuTLNxxd.js";
9
+ const _ = ({ disabled: e, selected: t, today: a, cellType: n, dot: r }, l) => p("gids-calendar-cell", {
10
10
  "gids-calendar-cell--selected": t && !e && !a,
11
11
  "gids-calendar-cell--today": a && !e && !r,
12
12
  "gids-calendar-cell--label-non-effective": n === "non-effective",
@@ -22,53 +22,53 @@ const _ = ({ disabled: e, selected: t, today: a, cellType: n, dot: r }, l) => f(
22
22
  }, l), E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
23
  __proto__: null,
24
24
  getGidsCalendarCellClassNames: _
25
- }, Symbol.toStringTag, { value: "Module" })), A = (e) => f("gids-calendar-day-cell", e), O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
+ }, Symbol.toStringTag, { value: "Module" })), A = (e) => p("gids-calendar-day-cell", e), O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
26
  __proto__: null,
27
27
  getGidsCalendarDayCellClassNames: A
28
- }, Symbol.toStringTag, { value: "Module" })), $ = ({ width: e }, t) => f("gids-calendar", {
28
+ }, Symbol.toStringTag, { value: "Module" })), $ = ({ width: e }, t) => p("gids-calendar", {
29
29
  "gids-calendar--width-fixed": e === "fixed",
30
30
  "gids-calendar--width-intrinsic": e === "intrinsic"
31
31
  }, t), T = ({ currentMonth: e, currentYear: t }) => {
32
32
  if (!t || !e)
33
33
  return [];
34
- const a = t, n = e - 1, r = new Date(a, n, 1).getDay(), l = new Date(a, n + 1, 0).getDate(), g = new Date(a, n, 0).getDate(), o = [], h = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
34
+ const a = t, n = e - 1, r = new Date(a, n, 1).getDay(), l = new Date(a, n + 1, 0).getDate(), g = new Date(a, n, 0).getDate(), c = [], h = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
35
35
  for (let s = r - 1; s >= 0; s--) {
36
- const i = g - s, u = n === 0 ? 12 : n, b = `${n === 0 ? a - 1 : a}-${String(u).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
37
- o.push({
36
+ const i = g - s, u = n === 0 ? 12 : n, f = `${n === 0 ? a - 1 : a}-${String(u).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
37
+ c.push({
38
38
  day: i,
39
39
  isCurrentMonth: !1,
40
- dateString: b,
41
- isToday: h === b
40
+ dateString: f,
41
+ isToday: h === f
42
42
  });
43
43
  }
44
44
  for (let s = 1; s <= l; s++) {
45
45
  const i = `${a}-${String(e).padStart(2, "0")}-${String(s).padStart(2, "0")}`;
46
- o.push({
46
+ c.push({
47
47
  day: s,
48
48
  isCurrentMonth: !0,
49
49
  dateString: i,
50
50
  isToday: h === i
51
51
  });
52
52
  }
53
- const m = 42 - o.length;
53
+ const m = 42 - c.length;
54
54
  for (let s = 1; s <= m; s++) {
55
- const i = n === 11 ? 1 : n + 2, p = `${n === 11 ? a + 1 : a}-${String(i).padStart(2, "0")}-${String(s).padStart(2, "0")}`;
56
- o.push({
55
+ const i = n === 11 ? 1 : n + 2, b = `${n === 11 ? a + 1 : a}-${String(i).padStart(2, "0")}-${String(s).padStart(2, "0")}`;
56
+ c.push({
57
57
  day: s,
58
58
  isCurrentMonth: !1,
59
- dateString: p,
60
- isToday: h === p
59
+ dateString: b,
60
+ isToday: h === b
61
61
  });
62
62
  }
63
- return o;
63
+ return c;
64
64
  }, H = () => ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
65
  __proto__: null,
66
66
  generateCalendarDays: T,
67
67
  generateCalendarWeekdays: H,
68
68
  getGidsCalendarClassNames: $
69
- }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarCellClassNames: V } = E, C = ({ label: e, dot: t, disabled: a, selected: n, today: r, onPressCalendarCell: l, class: g, role: o = "gridcell", cellType: h = "effective", ...m }) => {
69
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarCellClassNames: V } = E, C = ({ label: e, dot: t, disabled: a, selected: n, today: r, onPressCalendarCell: l, class: g, role: c = "gridcell", cellType: h = "effective", ...m }) => {
70
70
  const s = !a && h === "effective";
71
- return d("button", { class: V({ disabled: a, selected: n, today: r, cellType: h, dot: t }, g), type: "button", role: o, "aria-selected": n ? "true" : "false", disabled: a, onClick: (i) => {
71
+ return d("button", { class: V({ disabled: a, selected: n, today: r, cellType: h, dot: t }, g), type: "button", role: c, "aria-selected": n ? "true" : "false", disabled: a, onClick: (i) => {
72
72
  if (i.defaultPrevented || a || !s) return;
73
73
  const u = new CustomEvent("onPressCalendarCell", { bubbles: !0, composed: !0, detail: { cellValue: e, selected: n, disabled: a, dot: t, today: r } });
74
74
  l && l(u);
@@ -107,7 +107,7 @@ const _ = ({ disabled: e, selected: t, today: a, cellType: n, dot: r }, l) => f(
107
107
  }
108
108
  render() {
109
109
  const e = I({ currentYear: this.currentYear, currentMonth: this.currentMonth }), t = W(), a = z({ width: this.width });
110
- return d("div", { key: "c2ea7d80305333995ae64525aa8aea441ee608e2", class: a }, d("gids-calendar-header-panel", { key: "5331e43e9e2c91767b94100ce6cea5cf0e9f1afe", appearance: this.panelActionsAppearance, startYear: this.startYear, endYear: this.endYear, monthPickerDisabled: this.monthPickerDisabled, yearPickerDisabled: this.yearPickerDisabled, previousDisabled: this.previousDisabled, nextDisabled: this.nextDisabled, panelDisabled: this.panelDisabled, selectedMonthNumber: this.currentMonth, selectedYear: this.currentYear, onPanelMonthChange: this.handleCHPOnPanelMonthChangeEvent, onPanelYearChange: this.handleCHPOnPanelYearChangeEvent, onNextChange: this.handleCHPOnNextActionEvent, onPreviousChange: this.handleCHPOnPreviousActionEvent }), d("div", { key: "59e02ed20a285cd6d8f28132ec56f96548ef4bcc", class: "gids-calendar__weekdays-grid" }, t.map(((n) => d(G, { label: n })))), d("div", { key: "d6cba0bf0a15a393ffb56865fd9f57af5f6086ca", class: "gids-calendar__days-grid" }, e.map(((n) => {
110
+ return d("div", { key: "003d0aa83d81d0c798d047555c05c8685e201c5f", class: a }, d("gids-calendar-header-panel", { key: "723e65be1a59eb101692248a2e9d27c360adb896", appearance: this.panelActionsAppearance, startYear: this.startYear, endYear: this.endYear, monthPickerDisabled: this.monthPickerDisabled, yearPickerDisabled: this.yearPickerDisabled, previousDisabled: this.previousDisabled, nextDisabled: this.nextDisabled, panelDisabled: this.panelDisabled, selectedMonthNumber: this.currentMonth, selectedYear: this.currentYear, onPanelMonthChange: this.handleCHPOnPanelMonthChangeEvent, onPanelYearChange: this.handleCHPOnPanelYearChangeEvent, onNextChange: this.handleCHPOnNextActionEvent, onPreviousChange: this.handleCHPOnPreviousActionEvent }), d("div", { key: "fb254d78210b4204c923dfbe64e0c057f82f21fe", class: "gids-calendar__weekdays-grid" }, t.map(((n) => d(G, { label: n })))), d("div", { key: "35bdf1389a11c99d4a2712f1904bc113b468eb5b", class: "gids-calendar__days-grid" }, e.map(((n) => {
111
111
  const r = this.selectedDate === n.dateString, l = this.dotVisibleDates?.includes(n.dateString);
112
112
  return d(C, { label: n.day + "", today: n.isToday, selected: r, dot: l, cellType: "effective", disabled: !n.isCurrentMonth, onPressCalendarCell: (g) => this.handleDateCellClick({ event: g, dateStr: n.dateString, isCurrentMonth: n.isCurrentMonth }) });
113
113
  }))));
@@ -123,25 +123,25 @@ function y() {
123
123
  typeof customElements < "u" && ["gids-calendar", "gids-calendar-header-panel", "gids-calendar-month-list", "gids-calendar-year-list", "gids-dot", "gids-dropdown-picker", "gids-icon"].forEach(((e) => {
124
124
  switch (e) {
125
125
  case "gids-calendar":
126
- customElements.get(c(e)) || customElements.define(c(e), v);
126
+ customElements.get(o(e)) || customElements.define(o(e), v);
127
127
  break;
128
128
  case "gids-calendar-header-panel":
129
- customElements.get(c(e)) || M();
129
+ customElements.get(o(e)) || M();
130
130
  break;
131
131
  case "gids-calendar-month-list":
132
- customElements.get(c(e)) || N();
132
+ customElements.get(o(e)) || N();
133
133
  break;
134
134
  case "gids-calendar-year-list":
135
- customElements.get(c(e)) || Y();
135
+ customElements.get(o(e)) || Y();
136
136
  break;
137
137
  case "gids-dot":
138
- customElements.get(c(e)) || k();
138
+ customElements.get(o(e)) || k();
139
139
  break;
140
140
  case "gids-dropdown-picker":
141
- customElements.get(c(e)) || w();
141
+ customElements.get(o(e)) || w();
142
142
  break;
143
143
  case "gids-icon":
144
- customElements.get(c(e)) || x();
144
+ customElements.get(o(e)) || x();
145
145
  }
146
146
  }));
147
147
  }
@@ -1,6 +1,6 @@
1
- import { l as e, d as t } from "./p-mZJdpfOo-DicbKil0.js";
2
- const s = e, o = t;
1
+ import { d as e, l as t } from "./p-BYDimyG--DBCLrqDJ.js";
2
+ const o = e, s = t;
3
3
  export {
4
- s as GidsChartLegendItem,
5
- o as defineCustomElement
4
+ o as GidsChartLegendItem,
5
+ s as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { r as e, o as r } from "./p-DoCwI_bx-BXHlZI7-.js";
2
- const s = e, t = r;
1
+ import { r as e, d as t } from "./p-qb1aWgjh-CzmMPIME.js";
2
+ const r = e, s = t;
3
3
  export {
4
- s as GidsChartLegend,
5
- t as defineCustomElement
4
+ r as GidsChartLegend,
5
+ s as defineCustomElement
6
6
  };
@@ -1,12 +1,12 @@
1
1
  import { L as u, u as m, D as a, q as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { r as o, c as y, b, a as T, C } from "./p-CaauwQNd-D6_PbcRr.js";
3
- import { d as v } from "./p-DfxTsSdZ-C2Afv1lS.js";
4
- import { g as f } from "./p-CP1wz2PI-DhVAsHFS.js";
5
- import { o as k } from "./p-DoCwI_bx-BXHlZI7-.js";
6
- import { d as _ } from "./p-mZJdpfOo-DicbKil0.js";
3
+ import { d as v } from "./p-5VIPb1eU-MCAo8JCp.js";
4
+ import { g as f } from "./p-bPPm7cuw-B-dtPJF9.js";
5
+ import { d as k } from "./p-qb1aWgjh-CzmMPIME.js";
6
+ import { l as _ } from "./p-BYDimyG--DBCLrqDJ.js";
7
7
  import { h as A } from "./p-Degg_WJz-BLua06el.js";
8
- import { g as P } from "./p-CQH7eAs3-BVowyVGn.js";
9
- import { c as E } from "./p-DPIK2ayL-DPEbctqo.js";
8
+ import { g as P } from "./p-DoPuGtJd-DYlbhh57.js";
9
+ import { c as E } from "./p-BfnzH6wp-BfLC7Nak.js";
10
10
  import { d as D } from "./p-CoS0NuDU-CqmDcRWj.js";
11
11
  import { c as x } from "./clsx-OuTLNxxd.js";
12
12
  const G = (r) => x("gids-chart", r), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -31,7 +31,7 @@ const b = ({ size: e }, o) => g("gids-chevron-button", {
31
31
  this.activeClasses = t({ size: this.size }, this.extraClasses);
32
32
  }
33
33
  render() {
34
- return s("button", { key: "dd10979a904980892fbb220bfe6da96375414eda", class: this.activeClasses, slot: "trailingAccessory", type: "button", onClick: (e) => this.gidsChevronButton.emit(e), "aria-label": this?.ariaLabel ?? "", "aria-expanded": this?.ariaExpanded ?? "", "aria-haspopup": this?.ariaHaspopup ?? "", "aria-controls": this?.ariaControls ?? "", disabled: this.disabled, tabIndex: -1 }, s("span", { key: "629b4c694e59bcd6c6c0d5ab86845dba8afb055b", class: "gids-button__content" }, s(h, { key: "770618c0d5e45311be0aa155813226b66bb14a77", name: "chevron-vertical", alt: "" })));
34
+ return s("button", { key: "fbf4cca7180faabe095dadf14a9b0d2a032d3221", class: this.activeClasses, slot: "trailingAccessory", type: "button", onClick: (e) => this.gidsChevronButton.emit(e), "aria-label": this?.ariaLabel ?? "", "aria-expanded": this?.ariaExpanded ?? "", "aria-haspopup": this?.ariaHaspopup ?? "", "aria-controls": this?.ariaControls ?? "", disabled: this.disabled, tabIndex: -1 }, s("span", { key: "f4b5b4ddee310e1a17ce82b5db26c76bff100201", class: "gids-button__content" }, s(h, { key: "d88b104d7baffc178c620f7d48b3bf1c83377cc1", name: "chevron-vertical", alt: "" })));
35
35
  }
36
36
  get _el() {
37
37
  return this;
@@ -49,8 +49,8 @@ function n() {
49
49
  }));
50
50
  }
51
51
  n();
52
- const z = i, f = n;
52
+ const m = i, z = n;
53
53
  export {
54
- z as GidsChevronButton,
55
- f as defineCustomElement
54
+ m as GidsChevronButton,
55
+ z as defineCustomElement
56
56
  };
@@ -1,6 +1,6 @@
1
- import { h as o, g as t } from "./p-BZCJlqVe-BcSwze-q.js";
2
- const s = o, m = t;
1
+ import { h as o, g as s } from "./p-Jdpe4Sgj-acwaxLtK.js";
2
+ const e = o, m = s;
3
3
  export {
4
- s as GidsDot,
4
+ e as GidsDot,
5
5
  m as defineCustomElement
6
6
  };
@@ -1,12 +1,12 @@
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 {
1
+ import { L as n, u as d, D as s, q as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { a as r } from "./p-Dg2yoUxw-Cca8ROd_.js";
3
+ import { l } from "./p-xITwQAMz-BMXjOAAQ.js";
4
+ import { h } from "./p-C7ifjRCE-CRlorwoN.js";
5
+ import { r as c } from "./p-Doi8Yizl-BszWK5Dq.js";
6
+ import { g as u } from "./p-D4Pimu_8-DfEGRQGf.js";
7
+ const i = n(class extends d {
8
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) => {
9
+ super(), e !== !1 && this.__registerHost(), this.internals = this.attachInternals(), this.appearance = "default", this.expanded = !1, this.#e = u(), this.handleSelectionChange = (t) => {
10
10
  this.value = t.value, this.syncFormValue(t.value), this.onSelectionChange?.(t);
11
11
  }, this.handleDropdownFocusAndBlur = (t) => {
12
12
  this.hostElement.dispatchEvent(new FocusEvent(t.type, { relatedTarget: t.relatedTarget }));
@@ -51,7 +51,7 @@ const i = n(class extends r {
51
51
  }
52
52
  render() {
53
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" })));
54
+ return s("gids-field", { key: "fb0965fc37a06b9937a6806516c7cddedadfe125", disabled: this.disabled, helperText: this.helperText, statusText: this.statusText, status: this.status }, this.label !== void 0 ? s(r, { slot: "label", disabled: this.disabled, htmlFor: e, fieldRequirement: this.required ? "required" : void 0 }, this.label) : null, s("gids-dropdown", { key: "8ccb36c6505cd9363f1f4334bc2a2be7e7045f52", 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: "21bb6152c67fd767f8a55b7134d1eced8ae0516f", name: "leadingIconDropdown" }), s("slot", { key: "8b06bf5e9ac9f787b74ed6603a37c953fae67fe0", name: "leadingAccessoryDropdown" }), s("slot", { key: "9d653e38ecebdc233614f00a03fdaead3cf17fc7" })));
55
55
  }
56
56
  static get formAssociated() {
57
57
  return !0;
@@ -76,7 +76,7 @@ function o() {
76
76
  customElements.get(a(e)) || h();
77
77
  break;
78
78
  case "gids-input":
79
- customElements.get(a(e)) || u();
79
+ customElements.get(a(e)) || c();
80
80
  }
81
81
  }));
82
82
  }
@@ -1,5 +1,5 @@
1
- import { r, h as o } from "./p-JjN8U9B5-GeWjfJBY.js";
2
- const s = r, t = o;
1
+ import { h as o, a as e } from "./p-Ciw-O9qN-DkWfirFu.js";
2
+ const s = o, t = e;
3
3
  export {
4
4
  s as GidsDropdownPicker,
5
5
  t as defineCustomElement
@@ -1,4 +1,4 @@
1
- import { l as o, c as e } from "./p-Cn3-K5eR-tQ1EOnDF.js";
1
+ import { c as o, l as e } from "./p-xITwQAMz-BMXjOAAQ.js";
2
2
  const s = o, t = e;
3
3
  export {
4
4
  s as GidsDropdown,
@@ -1,4 +1,4 @@
1
- import { d as e, h as o } from "./p-DNTv2BQ5-Bwgd30mM.js";
1
+ import { d as e, h as o } from "./p-C7ifjRCE-CRlorwoN.js";
2
2
  const t = e, d = o;
3
3
  export {
4
4
  t as GidsField,
@@ -1,6 +1,6 @@
1
- import { h as t, a as e } from "./p-H1JIMJ2t-DEXp7M4I.js";
2
- const s = t, i = e;
1
+ import { h as e, a as s } from "./p-qrjEbv6g-ITSp3ky_.js";
2
+ const o = e, i = s;
3
3
  export {
4
- s as GidsFilter,
4
+ o as GidsFilter,
5
5
  i as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { c as o, d as e } from "./p-Db62Pz3n-DpQjwBYb.js";
2
- const t = o, m = e;
1
+ import { n as o, d as t } from "./p-8tOn5SjU-D9rZ28cf.js";
2
+ const n = o, s = t;
3
3
  export {
4
- t as GidsIcon,
5
- m as defineCustomElement
4
+ n as GidsIcon,
5
+ s as defineCustomElement
6
6
  };
@@ -1,6 +1,6 @@
1
- import { l as t, r as e } from "./p-BQ-ZnlnH-CUVdDHzX.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, g as t } from "./p-CQH7eAs3-BVowyVGn.js";
2
- const r = e, s = t;
1
+ import { d as t, g as e } from "./p-DoPuGtJd-DYlbhh57.js";
2
+ const s = t, i = e;
3
3
  export {
4
- r as GidsLineChart,
5
- s as defineCustomElement
4
+ s as GidsLineChart,
5
+ i as defineCustomElement
6
6
  };
@@ -1,10 +1,10 @@
1
- import { L as a, u as n, D as e, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as 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: "97362225f8b3eb16c63650c2265649f0c10cd02d", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "833add367bb620d6405caab9aa0fddbbf99185a5" }));
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
@@ -2,7 +2,7 @@ import { L as C, u as y, D as o, F as w, q as f } from "./p-Bf3p-DY2-CPqEc-vc.js
2
2
  import { i as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { e as N, n as g } from "./p-CVtNa0cL-sSVeJsR3.js";
4
4
  import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
5
- import { o as u } from "./p-UVmSPzTd-DiTxS9kW.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
@@ -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: "98b34b44016b714b3ea32f097a954e7044928a09" }, o("slot", { key: "81a68d3e2087bb2cb547e33579bd9f92ef45e968" }), 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;
@@ -2,16 +2,16 @@ 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
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
4
  import { r as L } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
- import { o as O } from "./p-UVmSPzTd-DiTxS9kW.js";
5
+ import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
6
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";
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]/, G = ({ 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;
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
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";
@@ -19,11 +19,11 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
19
19
  __proto__: null,
20
20
  getColorModifierByScore: B,
21
21
  getStrengthMeterScore: G,
22
- include1DigitReg: b,
23
- include1LowercaseLetterReg: p,
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]/, G = ({ 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]/, G = ({ 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,7 +82,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
82
82
  checkRequirementRuleSatisfied: I,
83
83
  getDefaultRulesAndRequirementsForMeters: m,
84
84
  getMeterRulesFromRequirements: R,
85
- minLengthRuleCanBeApplied: o
85
+ minLengthRuleCanBeApplied: d
86
86
  }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
87
87
  switch (e) {
88
88
  case "error":
@@ -133,19 +133,19 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
133
133
  return s.length > 0 ? i("div", { class: te(n) }, (() => {
134
134
  const r = s.length, l = se({ text: e, textMinLength: t, meterRules: s }), u = re({ textScore: l, maxScore: r });
135
135
  return Array.from({ length: r }, ((_, c) => {
136
- const d = c + 1, w = d <= l;
137
- return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, w) : null : a(d, u, w);
136
+ const o = c + 1, w = o <= l;
137
+ return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, w) : null : a(o, u, w);
138
138
  }));
139
139
  })()) : null;
140
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
  })));
@@ -191,7 +191,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
191
191
  #e;
192
192
  render() {
193
193
  const { id: e, ...t } = this.inputProps ?? {}, s = e ?? this.#t, n = this.showClearButton && this.value !== void 0 && this.value.length > 0, a = this.showRevealPasswordButton, r = { ...t }, l = r?.placeholder !== void 0 && r.placeholder !== null && r.placeholder != "" ? r.placeholder : "Enter password", u = this.isPasswordRevealed, _ = this.meterRules, c = this.textMinLength !== void 0 ? this.textMinLength : 8;
194
- return i(T, { key: "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
+ 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;
@@ -1,6 +1,6 @@
1
- import { n as e, c as t } from "./p-DPIK2ayL-DPEbctqo.js";
2
- const s = e, a = t;
1
+ import { n as e, c as s } from "./p-BfnzH6wp-BfLC7Nak.js";
2
+ const o = e, r = s;
3
3
  export {
4
- s as GidsPieChart,
5
- a as defineCustomElement
4
+ o as GidsPieChart,
5
+ r as defineCustomElement
6
6
  };
@@ -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: "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" }))));
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();