@ganpatiinfo/gids-core-web 10.2.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/dist/css/index.css +525 -3
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-expansion-body-list-item.d.ts +11 -0
  34. package/dist/gids-expansion-body-list-item.js +1 -0
  35. package/dist/gids-expansion-body-list.d.ts +11 -0
  36. package/dist/gids-expansion-body-list.js +1 -0
  37. package/dist/gids-expansion-group.d.ts +11 -0
  38. package/dist/gids-expansion-group.js +1 -0
  39. package/dist/gids-expansion.d.ts +11 -0
  40. package/dist/gids-expansion.js +1 -0
  41. package/dist/gids-field.d.ts +1 -1
  42. package/dist/gids-field.js +1 -1
  43. package/dist/gids-filter.d.ts +1 -1
  44. package/dist/gids-filter.js +1 -1
  45. package/dist/gids-icon.d.ts +1 -1
  46. package/dist/gids-icon.js +1 -1
  47. package/dist/gids-input.d.ts +1 -1
  48. package/dist/gids-input.js +1 -1
  49. package/dist/gids-level-gauge.d.ts +1 -1
  50. package/dist/gids-line-chart.d.ts +1 -1
  51. package/dist/gids-line-chart.js +1 -1
  52. package/dist/gids-md-table.d.ts +11 -0
  53. package/dist/gids-md-table.js +1 -0
  54. package/dist/gids-notification.d.ts +1 -1
  55. package/dist/gids-overflow-container.d.ts +1 -1
  56. package/dist/gids-overflow-container.js +1 -1
  57. package/dist/gids-overlay-provider.d.ts +1 -1
  58. package/dist/gids-overlay-provider.js +1 -1
  59. package/dist/gids-password-field.d.ts +1 -1
  60. package/dist/gids-password-field.js +1 -1
  61. package/dist/gids-pie-chart.d.ts +1 -1
  62. package/dist/gids-pie-chart.js +1 -1
  63. package/dist/gids-popover.d.ts +1 -1
  64. package/dist/gids-popover.js +1 -1
  65. package/dist/gids-progress-circle.d.ts +1 -1
  66. package/dist/gids-scrim.d.ts +1 -1
  67. package/dist/gids-scrim.js +1 -1
  68. package/dist/gids-snackbar.d.ts +1 -1
  69. package/dist/gids-tab-item.d.ts +1 -1
  70. package/dist/gids-tab-item.js +1 -1
  71. package/dist/gids-tab.d.ts +1 -1
  72. package/dist/gids-tab.js +1 -1
  73. package/dist/gids-text-field.d.ts +1 -1
  74. package/dist/gids-text-field.js +1 -1
  75. package/dist/gids-toggle-button.d.ts +1 -1
  76. package/dist/gids-toggle-button.js +1 -1
  77. package/dist/gids-tooltip.d.ts +1 -1
  78. package/dist/gids-tooltip.js +1 -1
  79. package/dist/{p-Jdpe4Sgj.js → p-6APCjBEI.js} +1 -1
  80. package/dist/{p-qb1aWgjh.js → p-BCVFQSjK.js} +1 -1
  81. package/dist/{p-Ciw-O9qN.js → p-BSbOhfLZ.js} +1 -1
  82. package/dist/{p-Doi8Yizl.js → p-BVAtja26.js} +1 -1
  83. package/dist/{p-8tOn5SjU.js → p-C2O_pGky.js} +1 -1
  84. package/dist/{p-BfnzH6wp.js → p-C3We7Q8Q.js} +1 -1
  85. package/dist/p-C3w3wdCt.js +1 -0
  86. package/dist/{p-BYDimyG-.js → p-C3xv7tfs.js} +1 -1
  87. package/dist/{p-DoPuGtJd.js → p-C56G7JRy.js} +1 -1
  88. package/dist/p-CI-sN9Lr.js +1 -0
  89. package/dist/{p-B1Jgtjhu.js → p-COHuQEfZ.js} +1 -1
  90. package/dist/p-ChV9xqsO.js +1 -0
  91. package/dist/{p-C-cUL-aA.js → p-Chqeexny.js} +1 -1
  92. package/dist/{p-bPPm7cuw.js → p-DO0MyFf4.js} +1 -1
  93. package/dist/p-DUojHltk.js +1 -0
  94. package/dist/p-VJAcf53T.js +1 -0
  95. package/dist/p-_SIWct9h.js +1 -0
  96. package/dist/{p-5VIPb1eU.js → p-pSb81aE0.js} +1 -1
  97. package/dist/{p-C7ifjRCE.js → p-ub0GuVHb.js} +1 -1
  98. package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +6 -0
  99. package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +4 -0
  100. package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
  101. package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +4 -0
  102. package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +4 -0
  103. package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +11 -0
  104. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
  105. package/dist/types/components/webComponents/GidsExpansion/GidsExpansion.d.ts +24 -0
  106. package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +25 -0
  107. package/dist/types/components/webComponents/GidsExpansionBodyListItem/GidsExpansionBodyListItem.d.ts +38 -0
  108. package/dist/types/components/webComponents/GidsExpansionGroup/GidsExpansionGroup.d.ts +4 -0
  109. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
  110. package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +40 -0
  111. package/dist/types/components.d.ts +323 -6
  112. package/dist-bundled/es/gids-action-bar.js +168 -126
  113. package/dist-bundled/es/gids-activity-gauge.js +4 -4
  114. package/dist-bundled/es/gids-bar-chart.js +3 -3
  115. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  116. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  117. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  118. package/dist-bundled/es/gids-calendar.js +7 -7
  119. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  120. package/dist-bundled/es/gids-chart-legend.js +4 -4
  121. package/dist-bundled/es/gids-chart.js +50 -50
  122. package/dist-bundled/es/gids-chevron-button.js +7 -7
  123. package/dist-bundled/es/gids-dot.js +3 -3
  124. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  125. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  126. package/dist-bundled/es/gids-dropdown.js +1 -1
  127. package/dist-bundled/es/gids-expansion-body-list-item.js +6 -0
  128. package/dist-bundled/es/gids-expansion-body-list.js +78 -0
  129. package/dist-bundled/es/gids-expansion-group.js +28 -0
  130. package/dist-bundled/es/gids-expansion.js +90 -0
  131. package/dist-bundled/es/gids-field.js +1 -1
  132. package/dist-bundled/es/gids-filter.js +4 -4
  133. package/dist-bundled/es/gids-icon.js +3 -3
  134. package/dist-bundled/es/gids-input.js +3 -3
  135. package/dist-bundled/es/gids-line-chart.js +4 -4
  136. package/dist-bundled/es/gids-md-table.js +165 -0
  137. package/dist-bundled/es/gids-overflow-container.js +6 -6
  138. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  139. package/dist-bundled/es/gids-password-field.js +18 -18
  140. package/dist-bundled/es/gids-pie-chart.js +4 -4
  141. package/dist-bundled/es/gids-popover.js +1 -1
  142. package/dist-bundled/es/gids-scrim.js +7 -7
  143. package/dist-bundled/es/gids-tab-item.js +6 -6
  144. package/dist-bundled/es/gids-tab.js +6 -6
  145. package/dist-bundled/es/gids-text-field.js +12 -12
  146. package/dist-bundled/es/gids-toggle-button.js +1 -1
  147. package/dist-bundled/es/gids-tooltip.js +4 -4
  148. package/dist-bundled/es/{p-Jdpe4Sgj-acwaxLtK.js → p-6APCjBEI-roDSyEYu.js} +5 -5
  149. package/dist-bundled/es/{p-qb1aWgjh-CzmMPIME.js → p-BCVFQSjK-CKrYrI4b.js} +5 -5
  150. package/dist-bundled/es/{p-Ciw-O9qN-DkWfirFu.js → p-BSbOhfLZ-ByjjVMqG.js} +7 -7
  151. package/dist-bundled/es/{p-Doi8Yizl-BszWK5Dq.js → p-BVAtja26-Xjd4_b4e.js} +5 -5
  152. package/dist-bundled/es/{p-8tOn5SjU-D9rZ28cf.js → p-C2O_pGky-C_30AJ3m.js} +7 -7
  153. package/dist-bundled/es/{p-BfnzH6wp-BfLC7Nak.js → p-C3We7Q8Q-DT_NDg87.js} +2 -2
  154. package/dist-bundled/es/{p-DiNad9Px-uOCMHqAq.js → p-C3w3wdCt-I6zwuecb.js} +24 -37
  155. package/dist-bundled/es/{p-BYDimyG--DBCLrqDJ.js → p-C3xv7tfs-RodXvmql.js} +3 -3
  156. package/dist-bundled/es/{p-DoPuGtJd-DYlbhh57.js → p-C56G7JRy-B3HO4aVF.js} +2 -2
  157. package/dist-bundled/es/{p-xITwQAMz-BMXjOAAQ.js → p-CI-sN9Lr-DHC9DyS8.js} +19 -18
  158. package/dist-bundled/es/{p-B1Jgtjhu-B_VYp-ZP.js → p-COHuQEfZ-C_POuXNC.js} +9 -9
  159. package/dist-bundled/es/p-ChV9xqsO-CJSPCx6p.js +16 -0
  160. package/dist-bundled/es/{p-C-cUL-aA-2jsvw-Lr.js → p-Chqeexny-C4hlPbBP.js} +11 -11
  161. package/dist-bundled/es/{p-bPPm7cuw-B-dtPJF9.js → p-DO0MyFf4-D7XItX1k.js} +5 -5
  162. package/dist-bundled/es/p-DUojHltk-GyvsWoCM.js +172 -0
  163. package/dist-bundled/es/p-VJAcf53T-2X0vBJ1A.js +106 -0
  164. package/dist-bundled/es/{p-Bj28yqMD-Dz1SWSqM.js → p-_SIWct9h-jMYFZ-VO.js} +4 -4
  165. package/dist-bundled/es/{p-5VIPb1eU-MCAo8JCp.js → p-pSb81aE0-CNrq7SQW.js} +2 -2
  166. package/dist-bundled/es/{p-C7ifjRCE-CRlorwoN.js → p-ub0GuVHb-C_PFTi1_.js} +9 -9
  167. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  168. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  169. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  170. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  171. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  172. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  173. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  174. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  175. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  176. package/dist-bundled/umd/gids-chart.umd.js +2 -2
  177. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  178. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  179. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  180. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  181. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  182. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +5 -0
  183. package/dist-bundled/umd/gids-expansion-body-list.umd.js +5 -0
  184. package/dist-bundled/umd/gids-expansion-group.umd.js +5 -0
  185. package/dist-bundled/umd/gids-expansion.umd.js +5 -0
  186. package/dist-bundled/umd/gids-field.umd.js +1 -1
  187. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  188. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  189. package/dist-bundled/umd/gids-input.umd.js +2 -2
  190. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  191. package/dist-bundled/umd/gids-md-table.umd.js +5 -0
  192. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  193. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  194. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  195. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  196. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  197. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  198. package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
  199. package/dist-bundled/umd/gids-tab.umd.js +2 -2
  200. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  201. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  202. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  203. package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
  204. package/package.json +44 -4
  205. package/dist/p-Bj28yqMD.js +0 -1
  206. package/dist/p-DiNad9Px.js +0 -1
  207. package/dist/p-qrjEbv6g.js +0 -1
  208. package/dist/p-xITwQAMz.js +0 -1
  209. package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +0 -152
@@ -1,8 +1,8 @@
1
1
  import { q as i, L as o, u as n, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { d as r } from "./p-8tOn5SjU-D9rZ28cf.js";
4
- import { c as h } from "./clsx-OuTLNxxd.js";
5
- const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
3
+ import { d as r } from "./p-C2O_pGky-C_30AJ3m.js";
4
+ import { c } from "./clsx-OuTLNxxd.js";
5
+ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
6
6
  "gids-dot--disabled": a,
7
7
  "gids-dot--subtle": s === "subtle" && !a,
8
8
  "gids-dot--static-inverse": s === "static-inverse" && !a,
@@ -16,7 +16,7 @@ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
16
16
  "gids-dot--3xl": e === "3xl"
17
17
  }, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
18
  __proto__: null,
19
- getGidsDotClassNames: c
19
+ getGidsDotClassNames: h
20
20
  }, Symbol.toStringTag, { value: "Module" })), { getGidsDotClassNames: t } = p, C = o(class extends n {
21
21
  constructor(s) {
22
22
  super(), s !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "xs", this.disabled = !1, this.activeClasses = "";
@@ -41,7 +41,7 @@ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
41
41
  this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
42
42
  }
43
43
  render() {
44
- return l("gids-icon", { key: "480701db1853f39d641ed1b1478644f90202bad6", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
44
+ return l("gids-icon", { key: "81581bd6fb72e8ff6ce203c8e63b2f1c5d9c1121", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
45
45
  }
46
46
  get _el() {
47
47
  return this;
@@ -4,10 +4,10 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
4
4
  // 'gids-chart-legend--orientation-horizontal':
5
5
  // orientation === 'horizontal', // not needed as by default
6
6
  "gids-chart-legend--orientation-vertical": e === "vertical"
7
- }, i), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }, i), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  getGidsChartLegendClassNames: o
10
- }, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: c } = d, l = a(class extends r {
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: d } = c, l = a(class extends r {
11
11
  constructor(e) {
12
12
  super(), e !== !1 && this.__registerHost(), this.orientation = "horizontal";
13
13
  }
@@ -15,8 +15,8 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
15
15
  this.orientation = e;
16
16
  }
17
17
  render() {
18
- const e = c({ orientation: this.orientation });
19
- return n("div", { key: "7e7c09b41e9b2cb54dd61e9c7b5d3e0d68ab59d7", class: e }, n("slot", { key: "9c7cebdc6a73c349bfe6359671810cd2fe4c77f1" }));
18
+ const e = d({ orientation: this.orientation });
19
+ return n("div", { key: "644b3200e4de07c715a1da903635dadb90b44c97", class: e }, n("slot", { key: "bf5e22c6a549cf9f9fb64e5edc9cc2a48173933e" }));
20
20
  }
21
21
  static get watchers() {
22
22
  return { orientation: [{ handleOrientationChange: 0 }] };
@@ -32,6 +32,6 @@ function g() {
32
32
  }
33
33
  g();
34
34
  export {
35
- g as d,
35
+ g as o,
36
36
  l as r
37
37
  };
@@ -7,7 +7,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
7
7
  }, t), g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  getGidsDropdownPickerClassNames: m
10
- }, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames: f } = g, v = l(class extends h {
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames: v } = g, f = l(class extends h {
11
11
  constructor(e) {
12
12
  super(), e !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "sm", this.idPicker = "", this.expanded = !1, this.hasLeadingIcon = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.hasDocumentListeners = !1, this.handleDropdownPickerItemSelect = (t) => {
13
13
  const { value: i, title: s, disabled: o, id: a, isPlaceholderItem: d } = t.detail;
@@ -20,7 +20,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
20
20
  if (!(i instanceof Element)) return;
21
21
  const s = i.closest(".gids-dropdown-item");
22
22
  if (!s || !this.hostElement.contains(s) || s.hasAttribute("disabled") || s.getAttribute("aria-disabled") === "true") return;
23
- const o = s instanceof HTMLButtonElement ? s.value : s.getAttribute("value") ?? "";
23
+ const o = s instanceof HTMLButtonElement ? s.value : s.getAttribute("value") || "";
24
24
  if (typeof o != "string" || o.length === 0) return;
25
25
  const a = s instanceof HTMLButtonElement ? s.id : s.getAttribute("id") ?? "";
26
26
  if (typeof a != "string" || a.length === 0) return;
@@ -110,8 +110,8 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
110
110
  if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
111
111
  }
112
112
  render() {
113
- const e = this.expanded && this.isInteractive(), t = f({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
114
- return n("div", { key: "1ee449ed3c2d93b14e4b2df8d535bd30e580fb0f", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "e566f446f656a90c51ff25206d1b56918641904c", role: "pickerbox", "aria-expanded": e ? "true" : "false", "aria-haspopup": "pickerlistbox", "aria-controls": s ?? "", onClick: this.handleDropdownButtonClickToggle, disabled: this.disabled, value: this.selectedItemTitle ?? this.value ?? "", loading: this.loading, appearance: this.appearance, size: this.size }, this.hasLeadingIcon ? n("slot", { name: "leadingIconDropdownPicker", slot: "leadingIcon" }) : n(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" })), n("div", { key: "ff00f5d0f0ecd11fd67ba8748f983a0444400c50", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "ea983b061c69295bc6756a44617cc35267d6ce70" })));
113
+ const e = this.expanded && this.isInteractive(), t = v({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
114
+ return n("div", { key: "853c2b26fc0e64ac2f4d04dc1ae83f72eefd1403", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "e1abb285cd9649aa542620de7a683a9f21dbe19a", role: "pickerbox", "aria-expanded": e ? "true" : "false", "aria-haspopup": "pickerlistbox", "aria-controls": s ?? "", onClick: this.handleDropdownButtonClickToggle, disabled: this.disabled, value: this.selectedItemTitle ?? this.value ?? "", loading: this.loading, appearance: this.appearance, size: this.size }, this.hasLeadingIcon ? n("slot", { name: "leadingIconDropdownPicker", slot: "leadingIcon" }) : n(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" })), n("div", { key: "4907e8cc94b306a36096e07a662d87b1b687fee7", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "921b888c10135a2baeda9183b3a06f7bf9aa4abb" })));
115
115
  }
116
116
  get hostElement() {
117
117
  return this;
@@ -125,11 +125,11 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
125
125
  }, [260, "gids-dropdown-picker", { appearance: [1], size: [1], idPicker: [1, "id-picker"], expanded: [1540], disabled: [516], loading: [516], value: [513], name: [1], onSelectionChange: [16], selectedItemTitle: [32], hasLeadingIcon: [32] }, void 0, { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }] }]);
126
126
  function E() {
127
127
  typeof customElements < "u" && ["gids-dropdown-picker"].forEach(((e) => {
128
- e === "gids-dropdown-picker" && (customElements.get(r(e)) || customElements.define(r(e), v));
128
+ e === "gids-dropdown-picker" && (customElements.get(r(e)) || customElements.define(r(e), f));
129
129
  }));
130
130
  }
131
131
  E();
132
132
  export {
133
- E as a,
134
- v as h
133
+ E as h,
134
+ f as r
135
135
  };
@@ -1,4 +1,4 @@
1
- import { q as s, L as l, u, D as a, F as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { q as s, L as l, u, D as i, F as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { d as n } from "./p-D4Pimu_8-DfEGRQGf.js";
3
3
  import { l as r } from "./p-CHGTBObD-EN4cCwtX.js";
4
4
  const c = (e) => e.type === "hidden", f = (e) => {
@@ -18,8 +18,8 @@ const c = (e) => e.type === "hidden", f = (e) => {
18
18
  }, o = l(class extends u {
19
19
  constructor(e) {
20
20
  super(), e !== !1 && this.__registerHost(), this.#e = {}, this._focusInput = (t) => {
21
- const i = t.target;
22
- i === this.#t || this._isWithinInteractiveElement(i) || this.#t?.focus();
21
+ const a = t.target;
22
+ a === this.#t || this._isWithinInteractiveElement(a) || this.#t?.focus();
23
23
  }, this._handleInputFocusAndBlur = (t) => {
24
24
  this._el.dispatchEvent(new FocusEvent(t.type, { relatedTarget: t.relatedTarget }));
25
25
  };
@@ -54,9 +54,9 @@ const c = (e) => e.type === "hidden", f = (e) => {
54
54
  this._el.removeEventListener("click", this._focusInput);
55
55
  }
56
56
  render() {
57
- return a(d, { key: "94b08611da249786439b37e6ea7961ea3e5ee851" }, a("slot", { key: "d334ee7f99214b10ddecafcbc9a8a851723eba89", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "8c650986f8a51f563f2499d9f68704702d67d3d6", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "d6f6f0f53e0af2b3de306fbb4bda2b4199567060", name: "leadingAccessory" }), a("input", { key: "8429cdabbbc2034cac2d76cc72fa5e40298d5ec7", ...this.inputProps, ref: (e) => {
57
+ return i(d, { key: "afdbc2c51c4a1f688534c76757ef7cdfb27d1cd0" }, i("slot", { key: "83781fe23a5648cdd8345326e88e235c03cf60bc", name: "leadingIcon" }), this.leadingLabel && i("span", { key: "b457d5343b714096c80ffebce6abd9e62fc57664", class: "gids-input__label" }, this.leadingLabel), i("slot", { key: "e156f0f311bd7b662eb56c07c101b673c0945d14", name: "leadingAccessory" }), i("input", { key: "34d77865f743fab2e85d154b966c90b1434d212d", ...this.inputProps, ref: (e) => {
58
58
  this.#t = e, this.#e.value !== void 0 && (this.#t.value = this.#e.value, delete this.#e.value), this.#e.defaultValue !== void 0 && (this.#t.defaultValue = this.#e.defaultValue, delete this.#e.defaultValue);
59
- }, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "aa7a6d1b0551a88801ef75da893ecf41e1eaafa8", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "5f683d6c71ef3802c3749959b921b9046c168437", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "b7d26fe16f35c0147b7b1a34dd41cd0f85ed5ab5", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "66f1da3df7907675feace05c11e2e31e892d6251", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "3fc74b5623174d2a321a5367854ff180bde2cd9f", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(r, { key: "ceb78121856acade2513cffcae16170d91a3fb74", size: "md", indeterminate: !0 }));
59
+ }, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), i("slot", { key: "fafb91d6e965e33b40577a10475e9a69a83e7a98", name: "trailingAccessory" }), this.trailingLabel && i("span", { key: "3d673d4b05b850c165817615145e629f39b5859c", class: "gids-input__label" }, this.trailingLabel), i("slot", { key: "ee39bb2e061ace41b7192f0fd2eae7edb35918e2", name: "trailingIcon" }), this.status === "incomplete" && i(n, { key: "5d2faed6c95395d82a2ae1e72483fd15599f14b6", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && i(n, { key: "106200c1b025e3ee1467ffed2f246962933d42d0", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && i(r, { key: "9125ce5ef482066da33b9429e0cb544e1a646cca", size: "md", indeterminate: !0 }));
60
60
  }
61
61
  get _el() {
62
62
  return this;
@@ -1,7 +1,7 @@
1
1
  import { q as e, L as t, u as s, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { d } from "./p-D4Pimu_8-DfEGRQGf.js";
4
- const n = t(class extends s {
4
+ const a = t(class extends s {
5
5
  constructor(i) {
6
6
  super(), i !== !1 && this.__registerHost(), this.__attachShadow();
7
7
  }
@@ -10,7 +10,7 @@ const n = t(class extends s {
10
10
  i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
11
11
  }
12
12
  render() {
13
- return o(d, { key: "cb54fb7ca0ded77690f44cbf794b2e192cf9c681", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
13
+ return o(d, { key: "bc81f0bb3a1e558071dc334873802ac8c8ec31ef", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
14
14
  }
15
15
  get _el() {
16
16
  return this;
@@ -19,13 +19,13 @@ const n = t(class extends s {
19
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
20
  }
21
21
  }, [1, "gids-icon", { name: [1], size: [1], appearance: [1], alt: [1], titleId: [1, "title-id"] }]);
22
- function a() {
22
+ function n() {
23
23
  typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
24
- i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), n));
24
+ i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), a));
25
25
  }));
26
26
  }
27
- a();
27
+ n();
28
28
  export {
29
- a as d,
30
- n
29
+ n as d,
30
+ a as n
31
31
  };
@@ -1,7 +1,7 @@
1
1
  import { q as a, L as _, u as m, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { p as b } from "./p-DMNS1d8v-CHF62UXm.js";
3
- import { d as u } from "./p-qb1aWgjh-CzmMPIME.js";
4
- import { l as v } from "./p-BYDimyG--DBCLrqDJ.js";
3
+ import { o as u } from "./p-BCVFQSjK-CKrYrI4b.js";
4
+ import { d as v } from "./p-C3xv7tfs-RodXvmql.js";
5
5
  import { c as x } from "./clsx-OuTLNxxd.js";
6
6
  const f = ({ breakpoint: e }, r) => x("gids-pie-chart", {
7
7
  "gids-pie-chart--breakpoint-mobile": e === "mobile"
@@ -1,9 +1,10 @@
1
- import { q as l, L as o, u as p, D as r } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { q as l, L as d, u as o, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { o as h } from "./p-UVmSPzTd-6vjXok6h.js";
3
3
  import { d as c } from "./p-D4Pimu_8-DfEGRQGf.js";
4
- import { c as u } from "./p-B1Jgtjhu-B_VYp-ZP.js";
5
- import { u as b } from "./p-C-cUL-aA-2jsvw-Lr.js";
6
- import { a as m } from "./p-Ciw-O9qN-DkWfirFu.js";
4
+ import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
5
+ import { l as u } from "./p-COHuQEfZ-C_POuXNC.js";
6
+ import { u as b } from "./p-Chqeexny-C4hlPbBP.js";
7
+ import { h as m } from "./p-BSbOhfLZ-ByjjVMqG.js";
7
8
  import { c as k } from "./clsx-OuTLNxxd.js";
8
9
  const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
9
10
  const t = new Date(2e3, e - 1, 1);
@@ -12,21 +13,7 @@ const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
12
13
  __proto__: null,
13
14
  getCalendarMonthNameViaMonthNumber: f,
14
15
  getGidsCalendarHeaderPanelClassNames: g
15
- }, Symbol.toStringTag, { value: "Module" }));
16
- function d(e) {
17
- var a, t, n = "";
18
- if (typeof e == "string" || typeof e == "number") n += e;
19
- else if (typeof e == "object") if (Array.isArray(e)) {
20
- var i = e.length;
21
- for (a = 0; a < i; a++) e[a] && (t = d(e[a])) && (n && (n += " "), n += t);
22
- } else for (t in e) e[t] && (n && (n += " "), n += t);
23
- return n;
24
- }
25
- function y() {
26
- for (var e, a, t = 0, n = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (a = d(e)) && (n && (n += " "), n += a);
27
- return n;
28
- }
29
- const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNumber: s } = P, M = o(class extends p {
16
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarHeaderPanelClassNames: M, getCalendarMonthNameViaMonthNumber: r } = P, v = d(class extends o {
30
17
  constructor(e) {
31
18
  super(), e !== !1 && this.__registerHost(), this.appearance = "primary", this.monthPickerDisabled = !1, this.yearPickerDisabled = !1, this.panelDisabled = !1, this.previousDisabled = !1, this.nextDisabled = !1, this.expandedMonthPicker = !1, this.expandedYearPicker = !1, this.internalPreviousDisabled = !1, this.internalNextDisabled = !1, this.suppressNextMenuClickSelection = !1, this.suppressNextActionClickSelection = !1, this.fallbackYear = (/* @__PURE__ */ new Date()).getFullYear(), this.fallbackMonth = 1, this.fallbackStartYear = (/* @__PURE__ */ new Date()).getFullYear(), this.fallbackEndYear = (/* @__PURE__ */ new Date()).getFullYear() + 100, this.handleMonthPickerMenuClick = (a) => {
32
19
  if (this.suppressNextMenuClickSelection) return;
@@ -38,20 +25,20 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
38
25
  this.updateActionProps({ newSelectedMonthNumber: this?.panelMonthNumber ?? this.fallbackMonth, newSelectedYear: t?.year ?? this.fallbackYear }), this.applyYearSelection({ id: t.id, type: "year", month: this.panelMonth, monthNumber: Number(this?.panelMonthNumber), year: t?.year, disabled: !1, panelValue: `${this.panelMonth} ${t.year}` });
39
26
  }, this.handlePreviousActionClick = (a) => {
40
27
  if (this.suppressNextActionClickSelection || !(a.target instanceof Element) || !this.isPreviousActionInteractive()) return;
41
- const { newSelectedMonthNumber: t, newSelectedYear: n } = this.onPreviousActionChange();
42
- this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear: n });
43
- const i = s(t);
44
- this.applyActionsSelection({ type: "previous", month: i, monthNumber: t, year: n, disabled: !1, panelValue: `${i} ${n}` });
28
+ const { newSelectedMonthNumber: t, newSelectedYear: i } = this.onPreviousActionChange();
29
+ this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear: i });
30
+ const s = r(t);
31
+ this.applyActionsSelection({ type: "previous", month: s, monthNumber: t, year: i, disabled: !1, panelValue: `${s} ${i}` });
45
32
  }, this.handleNextActionClick = (a) => {
46
33
  if (this.suppressNextActionClickSelection || !(a.target instanceof Element) || !this.isNextActionInteractive()) return;
47
- const { newSelectedMonthNumber: t, newSelectedYear: n } = this.onNextActionChange();
48
- this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear: n });
49
- const i = s(t);
50
- this.applyActionsSelection({ type: "next", month: i, monthNumber: t, year: n, disabled: !1, panelValue: `${i} ${n}` });
34
+ const { newSelectedMonthNumber: t, newSelectedYear: i } = this.onNextActionChange();
35
+ this.updateActionProps({ newSelectedMonthNumber: t, newSelectedYear: i });
36
+ const s = r(t);
37
+ this.applyActionsSelection({ type: "next", month: s, monthNumber: t, year: i, disabled: !1, panelValue: `${s} ${i}` });
51
38
  };
52
39
  }
53
40
  handleSelectedMonthNumberChange(e) {
54
- e != null && (this.panelMonthNumber = e, this.panelMonth = s(e), this.syncPanelDisplayValue());
41
+ e != null && (this.panelMonthNumber = e, this.panelMonth = r(e), this.syncPanelDisplayValue());
55
42
  }
56
43
  handleSelectedYearChange(e) {
57
44
  e != null && (this.panelYear = e, this.syncPanelDisplayValue());
@@ -72,7 +59,7 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
72
59
  this.appearance = e;
73
60
  }
74
61
  connectedCallback() {
75
- this.panelMonthNumber = this.selectedMonthNumber ?? this.fallbackMonth, this.panelMonth = s(this.selectedMonthNumber ?? this.fallbackMonth), this.panelYear = this.selectedYear ?? this.fallbackYear, this.panelDisplayValue = `${this.panelMonth} ${this.panelYear}`, this.syncPanelDisplayValue(), this.setPreviousActionInteractivity(), this.setNextActionInteractivity();
62
+ this.panelMonthNumber = this.selectedMonthNumber ?? this.fallbackMonth, this.panelMonth = r(this.selectedMonthNumber ?? this.fallbackMonth), this.panelYear = this.selectedYear ?? this.fallbackYear, this.panelDisplayValue = `${this.panelMonth} ${this.panelYear}`, this.syncPanelDisplayValue(), this.setPreviousActionInteractivity(), this.setNextActionInteractivity();
76
63
  }
77
64
  applyMonthSelection(e) {
78
65
  this.setExpandedMonthPickerState(!1, this.coerceEvent(e?.originalEvent)), this.setPreviousActionInteractivity(), this.setNextActionInteractivity(), this.onPanelMonthChange?.(e), this.hostElement.dispatchEvent(new CustomEvent("gidsPanelMonthChange", { bubbles: !0, composed: !0, detail: e }));
@@ -124,7 +111,7 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
124
111
  if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
125
112
  }
126
113
  updatePanelMonth(e) {
127
- e ? (this.selectedMonthNumber = e, this.panelMonth = s(e), this.panelMonthNumber = e) : (this.selectedMonthNumber = this.fallbackMonth, this.panelMonth = s(this.fallbackMonth), this.panelMonthNumber = this.fallbackMonth);
114
+ e ? (this.selectedMonthNumber = e, this.panelMonth = r(e), this.panelMonthNumber = e) : (this.selectedMonthNumber = this.fallbackMonth, this.panelMonth = r(this.fallbackMonth), this.panelMonthNumber = this.fallbackMonth);
128
115
  }
129
116
  updatePanelYear(e) {
130
117
  e ? (this.selectedYear = e, this.panelYear = e) : this.panelYear = this.fallbackYear;
@@ -142,8 +129,8 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
142
129
  return this.panelDisplayValue;
143
130
  }
144
131
  render() {
145
- const e = v(), a = this.expandedMonthPicker && this.isMonthPickerInteractive() && !this.expandedYearPicker, t = this.expandedYearPicker && this.isYearPickerInteractive() && !this.expandedMonthPicker, n = this.internalPreviousDisabled || this.previousDisabled, i = this.internalNextDisabled || this.nextDisabled;
146
- return r("div", { key: "4e86a7c844e70c90e05e2a1ddd5ad51e68fc5bb0", class: e }, r(h, { key: "d50159e90799c9e9b8069d507c35804e2fd9b548", leadingIcon: r(c, { name: "arrow-left", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handlePreviousActionClick, disabled: n }), r("div", { key: "2dd55f8c20c09562ce9102378893dd7b2b4932d3", class: "gids-calendar-header-panel__main-container" }, r("gids-dropdown-picker", { key: "f8249e38d451bb29a22e8a267691ed36353e4ca1", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, r("gids-calendar-month-list", { key: "f1a39772965a30147741d4dd7cad7bbfaa646164", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), r("span", { key: "0b134f7c394a01ec8f37fb310e2fa2640dfcb0ed", class: y("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), r("gids-dropdown-picker", { key: "89947df44ab95f08ede5fc3f2a47e8659d507b52", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, r("gids-calendar-year-list", { key: "2b240db8514dc0c4257bea698f614981674a33f6", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), r(h, { key: "b087f4fc376b6b2a0e0a2d52178f70d462ab97bb", leadingIcon: r(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: i }));
132
+ const e = M(), a = this.expandedMonthPicker && this.isMonthPickerInteractive() && !this.expandedYearPicker, t = this.expandedYearPicker && this.isYearPickerInteractive() && !this.expandedMonthPicker, i = this.internalPreviousDisabled || this.previousDisabled, s = this.internalNextDisabled || this.nextDisabled;
133
+ return n("div", { key: "95eed567dae266c88b75c8fe606ef5dc1f72b8f2", class: e }, n(h, { key: "fcaa7636d1dddf0fe32ebeb70cdb6d0b726111ab", leadingIcon: n(c, { name: "arrow-left", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handlePreviousActionClick, disabled: i }), n("div", { key: "91925ca2dc02cc964e58902f0d12a90a670b22fa", class: "gids-calendar-header-panel__main-container" }, n("gids-dropdown-picker", { key: "ae734185b01ab0ec8a5776fb7577ef0a051f94d5", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, n("gids-calendar-month-list", { key: "c3396d08af747adcba8b066bf750b5cf2194b4a9", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), n("span", { key: "2789e719ad1774484ce2359b85fc9d54a0f135f4", class: p("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), n("gids-dropdown-picker", { key: "330f4a4486f308fc2d4680da417dcf7c7a2e5ec3", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, n("gids-calendar-year-list", { key: "09f54b5d3b93d01595adbd30cf961354cb5e48fa", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), n(h, { key: "5f4ce2b0e4c8a55a5691b4c096955e05e49db919", leadingIcon: n(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: s }));
147
134
  }
148
135
  get hostElement() {
149
136
  return this;
@@ -155,11 +142,11 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
155
142
  return ".gids-calendar-header-panel{display:flex;justify-content:center;align-items:center;align-self:stretch;gap:var(--gids-gap-150);width:100%}.gids-calendar-header-panel__main-container{display:flex;flex:1 0 0;align-items:center;justify-content:center;align-self:stretch;gap:var(--gids-gap-100)}.gids-calendar-header-panel__panel-value{font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);text-align:center}.gids-calendar-header-panel__panel-value-disabled{color:var(--gids-color-text-disabled)}";
156
143
  }
157
144
  }, [0, "gids-calendar-header-panel", { selectedMonthNumber: [1538, "selected-month-number"], selectedYear: [1538, "selected-year"], startYear: [1538, "start-year"], endYear: [1538, "end-year"], appearance: [1], monthPickerDisabled: [4, "month-picker-disabled"], yearPickerDisabled: [4, "year-picker-disabled"], panelDisabled: [4, "panel-disabled"], previousDisabled: [4, "previous-disabled"], nextDisabled: [4, "next-disabled"], expandedMonthPicker: [1540, "expanded-month-picker"], expandedYearPicker: [1540, "expanded-year-picker"], onPreviousChange: [16], onNextChange: [16], onPanelMonthChange: [16], onPanelYearChange: [16], panelMonth: [32], panelMonthNumber: [32], panelYear: [32], panelDisplayValue: [32], internalPreviousDisabled: [32], internalNextDisabled: [32] }, void 0, { selectedMonthNumber: [{ handleSelectedMonthNumberChange: 0 }], selectedYear: [{ handleSelectedYearChange: 0 }], expandedMonthPicker: [{ handleExpandedMonthPickerChange: 0 }], expandedYearPicker: [{ handleExpandedYearPickerChange: 0 }], monthPickerDisabled: [{ handleMonthPickerInteractivityChange: 0 }], yearPickerDisabled: [{ handleYearPickerInteractivityChange: 0 }], appearance: [{ handleAppearanceChange: 0 }] }]);
158
- function Y() {
145
+ function y() {
159
146
  typeof customElements < "u" && ["gids-calendar-header-panel", "gids-calendar-month-list", "gids-calendar-year-list", "gids-dropdown-picker"].forEach(((e) => {
160
147
  switch (e) {
161
148
  case "gids-calendar-header-panel":
162
- customElements.get(l(e)) || customElements.define(l(e), M);
149
+ customElements.get(l(e)) || customElements.define(l(e), v);
163
150
  break;
164
151
  case "gids-calendar-month-list":
165
152
  customElements.get(l(e)) || u();
@@ -172,9 +159,9 @@ function Y() {
172
159
  }
173
160
  }));
174
161
  }
175
- Y();
162
+ y();
176
163
  export {
177
- Y as g,
164
+ v as m,
178
165
  P as n,
179
- M as u
166
+ y as u
180
167
  };
@@ -26,7 +26,7 @@ const o = ({ seriesType: e, orientation: a }, r) => l("gids-chart-legend-item",
26
26
  }
27
27
  render() {
28
28
  const e = c({ seriesType: this.seriesType, orientation: this.orientation });
29
- return t("div", { key: "43080c591c0fd7decf794c10b12c6ec423374aca", class: e }, t("div", { key: "52b09fe027b6ce228bafdeb1b0631ce1f3a9860f", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(d, { key: "749d70e3b0d3d1117d7de2b3ce00ae76372c05b9", name: "new", alt: "new_icon", appearance: "filled" })), t("span", { key: "f6fd7ecf6d4dfcdafed4bf25dd3b763fffa78a96", class: "gids-chart-legend-item__label" }, t("slot", { key: "885035e521300c2d061b8aa41f0d4258caa22ce7" })));
29
+ return t("div", { key: "53426e6c9a945d640fd4ac57018c92d19f13ed12", class: e }, t("div", { key: "c6a5115aa46ea3b08eb8163d1c572beb9e1133a6", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(d, { key: "32eda54148964970c44c09149c6962934fb4381e", name: "new", alt: "new_icon", appearance: "filled" })), t("span", { key: "dfad8f6a6cd0f623bfdc827c826a20ca88f0aa56", class: "gids-chart-legend-item__label" }, t("slot", { key: "acc890c13bfa893c419a8001998f64fa1ba88bcb" })));
30
30
  }
31
31
  static get watchers() {
32
32
  return { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }] };
@@ -42,6 +42,6 @@ function m() {
42
42
  }
43
43
  m();
44
44
  export {
45
- h as d,
46
- m as l
45
+ m as d,
46
+ h as l
47
47
  };
@@ -1,7 +1,7 @@
1
1
  import { q as d, L as f, u as v, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { p as u } from "./p-DMNS1d8v-CHF62UXm.js";
3
- import { d as w } from "./p-qb1aWgjh-CzmMPIME.js";
4
- import { l as k } from "./p-BYDimyG--DBCLrqDJ.js";
3
+ import { o as w } from "./p-BCVFQSjK-CKrYrI4b.js";
4
+ import { d as k } from "./p-C3xv7tfs-RodXvmql.js";
5
5
  import { c as z } from "./clsx-OuTLNxxd.js";
6
6
  const L = ({ breakpoint: a }, s) => z("gids-line-chart", {
7
7
  "gids-line-chart--breakpoint-mobile": a === "mobile"
@@ -1,10 +1,10 @@
1
- import { q as r, L as u, u as p, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { q as d, L as u, u as p, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { d as m } from "./p-D4Pimu_8-DfEGRQGf.js";
3
- import { r as g } from "./p-Doi8Yizl-BszWK5Dq.js";
4
- import { c as h } from "./clsx-OuTLNxxd.js";
5
- const v = ({ expanded: e }, t) => h("gids-dropdown", {
3
+ import { r as g } from "./p-BVAtja26-Xjd4_b4e.js";
4
+ import { c } from "./clsx-OuTLNxxd.js";
5
+ const v = ({ expanded: e }, t) => c("gids-dropdown", {
6
6
  "gids-dropdown--expanded": e
7
- }, t), f = ({ size: e }, t) => h("gids-chevron-button-control", {
7
+ }, t), f = ({ size: e }, t) => c("gids-chevron-button-control", {
8
8
  "gids-chevron-button-control--small": e === "sm",
9
9
  // 'gids-chevron-button-control--medium': size === 'md', // Default
10
10
  "gids-chevron-button-control--large": e === "lg"
@@ -12,25 +12,26 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
12
12
  __proto__: null,
13
13
  getGidsChevronButtonControlClassNames: f,
14
14
  getGidsDropdownClassNames: v
15
- }, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames: b, getGidsChevronButtonControlClassNames: I } = y, l = "gids-dropdown-item--active", E = u(class extends p {
15
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames: b, getGidsChevronButtonControlClassNames: I } = y, h = "gids-dropdown-item--active", E = u(class extends p {
16
16
  constructor(e) {
17
17
  super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.expanded = !1, this.filterValue = "", this.isFilterEditing = !1, this.hasLeadingIcon = !1, this.hasLeadingAccessory = !1, this.activeIndex = -1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.hasDocumentListeners = !1, this.hasPendingControlRevalidation = !1, this.handleDropdownItemSelect = (t) => {
18
- const { value: i, title: n, disabled: s, id: o, isPlaceholderItem: d } = t.detail;
18
+ const { value: i, title: n, disabled: s, id: o, isPlaceholderItem: l } = t.detail;
19
19
  s || typeof i != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
20
20
  this.suppressNextMenuClickSelection = !1;
21
- })), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t, isPlaceholderItem: d }));
21
+ })), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t, isPlaceholderItem: l }));
22
22
  }, this.handleMenuClick = (t) => {
23
23
  if (this.suppressNextMenuClickSelection) return;
24
24
  const i = t.target;
25
25
  if (!(i instanceof Element)) return;
26
26
  const n = i.closest(".gids-dropdown-item");
27
27
  if (!n || !this.hostElement.contains(n) || n.hasAttribute("disabled") || n.getAttribute("aria-disabled") === "true") return;
28
- const s = n instanceof HTMLButtonElement ? n.value : n.getAttribute("value") ?? "";
28
+ const s = n instanceof HTMLButtonElement ? n.value : n.getAttribute("value") || "";
29
29
  if (typeof s != "string" || s.length === 0) return;
30
30
  const o = n instanceof HTMLButtonElement ? n.id : n.getAttribute("id") ?? "";
31
31
  if (typeof o != "string" || o.length === 0) return;
32
- const d = n.getAttribute("is-placeholder-item") ?? "";
33
- this.applySelection({ id: o, value: s, title: n.textContent?.trim() ?? "", disabled: !1, originalEvent: t, isPlaceholderItem: !(!d || d !== "true") });
32
+ const l = n.getAttribute("is-placeholder-item") ?? "";
33
+ let r = n.textContent?.trim() ?? "";
34
+ r.endsWith("checkmark") && (r = r.slice(0, -9).trim()), console.log("cleanTitle", r), this.applySelection({ id: o, value: s, title: r.trim(), disabled: !1, originalEvent: t, isPlaceholderItem: !(!l || l !== "true") });
34
35
  }, this.handleFilterInput = (t) => {
35
36
  const i = t.target;
36
37
  this.filterValue = i?.value ?? "", this.isFilterEditing = !0, this.clearActive(), this.expanded || this.setExpandedState(!0, t), this.applyFilter();
@@ -107,14 +108,14 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
107
108
  t && (t.value = e, t.dispatchEvent(new Event("input", { bubbles: !0, composed: !0 })), t.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
108
109
  }
109
110
  clearActive() {
110
- this.activeIndex = -1, this.getItemElements().forEach(((e) => e.classList.remove(l))), this.setActiveDescendant(void 0);
111
+ this.activeIndex = -1, this.getItemElements().forEach(((e) => e.classList.remove(h))), this.setActiveDescendant(void 0);
111
112
  }
112
113
  setActiveByIndex(e) {
113
114
  const t = this.getVisibleEnabledItems();
114
- if (this.getItemElements().forEach(((s) => s.classList.remove(l))), t.length === 0) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
115
+ if (this.getItemElements().forEach(((s) => s.classList.remove(h))), t.length === 0) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
115
116
  const i = Math.max(0, Math.min(e, t.length - 1)), n = t[i];
116
117
  if (!n) return this.activeIndex = -1, void this.setActiveDescendant(void 0);
117
- this.activeIndex = i, n.classList.add(l), n.scrollIntoView({ block: "nearest" }), this.setActiveDescendant(n.id || void 0);
118
+ this.activeIndex = i, n.classList.add(h), n.scrollIntoView({ block: "nearest" }), this.setActiveDescendant(n.id || void 0);
118
119
  }
119
120
  moveActive(e) {
120
121
  const t = this.getVisibleEnabledItems();
@@ -212,8 +213,8 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
212
213
  render() {
213
214
  const e = this.expanded && this.isInteractive(), t = b({ expanded: e }), i = this.getEnhancedInputProps(), n = typeof i.id == "string" ? i.id : void 0, s = n ? `${n}__menu` : void 0;
214
215
  i.role = "combobox", i["aria-expanded"] = e ? "true" : "false", i["aria-haspopup"] = "listbox", i["aria-autocomplete"] = "list", s && (i["aria-controls"] = s);
215
- const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", d = e ? "true" : "false", c = a("button", { key: "c4482da12927a1e47e6ef8aeaa8948d928f44c82", class: I({ size: "lg" }), slot: "trailingAccessory", type: "button", onClick: this.handleChevronClickToggle, "aria-label": e ? "Collapse options" : "Expanded options", "aria-expanded": d, "aria-haspopup": "listbox", "aria-controls": s, disabled: this.disabled || this.readOnly, tabIndex: -1 }, a("span", { key: "19b889b60ea764f63f885092201e950b35d78a45", class: "gids-button__content" }, a(m, { key: "0ac5ccbd16fc7bd223f45107ede23aa698c1f4b1", name: "chevron-vertical", alt: "" })));
216
- return a("div", { key: "5e1ecfa73b2790753739dfb374a4220b9470dc5b", class: t }, a("gids-input", { key: "945e19939a10b6c3415c6794f6d594d8c6e4288e", appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: o, name: this.name, inputProps: i, onClick: this.handleInputClickToggle, onFocus: this.handleInputFocusAndBlur, onBlur: this.handleInputFocusAndBlur }, this.hasLeadingIcon && a("slot", { key: "3f73972a3e445cb40bfdb1a319e7f2094a100ec6", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "2c53bfbd7fa8dd1cb03295bf6994c5ebabfd4c3b", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), c), a("div", { key: "b09e3a03faba23b1fa1b641543803322d05d6cc6", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "90acae2dad52ae43ddada1acc294d8b5291ab668" })));
216
+ const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", l = e ? "true" : "false", r = a("button", { key: "3c948278bf289c4fd943e4bff51c8e44e73ba6c9", class: I({ size: "lg" }), slot: "trailingAccessory", type: "button", onClick: this.handleChevronClickToggle, "aria-label": e ? "Collapse options" : "Expanded options", "aria-expanded": l, "aria-haspopup": "listbox", "aria-controls": s, disabled: this.disabled || this.readOnly, tabIndex: -1 }, a("span", { key: "284f2a2141baa75624fcd9eeee21e6c98fd1e86e", class: "gids-button__content" }, a(m, { key: "1e6567b3d5aefedfef1697f59d79de1a0635f86b", name: "chevron-vertical", alt: "" })));
217
+ return a("div", { key: "82b234b661a97f00fbfb69b1c24d3b1f468521dc", class: t }, a("gids-input", { key: "6068c25be9fc8533a26525083c6082bfdfffbbfa", appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: o, name: this.name, inputProps: i, onClick: this.handleInputClickToggle, onFocus: this.handleInputFocusAndBlur, onBlur: this.handleInputFocusAndBlur }, this.hasLeadingIcon && a("slot", { key: "8230d44f492a98c05c5830fa984270122f0963ca", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "3a80369ad171bc0e37dfccbb9661d0db93dd55c1", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), r), a("div", { key: "2cad6d5213802acf9b673971a748bd16c06b986a", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "90e9298103623d8a87677470c0f7e9b8655be880" })));
217
218
  }
218
219
  get hostElement() {
219
220
  return this;
@@ -229,10 +230,10 @@ function x() {
229
230
  typeof customElements < "u" && ["gids-dropdown", "gids-input"].forEach(((e) => {
230
231
  switch (e) {
231
232
  case "gids-dropdown":
232
- customElements.get(r(e)) || customElements.define(r(e), E);
233
+ customElements.get(d(e)) || customElements.define(d(e), E);
233
234
  break;
234
235
  case "gids-input":
235
- customElements.get(r(e)) || g();
236
+ customElements.get(d(e)) || g();
236
237
  }
237
238
  }));
238
239
  }
@@ -1,7 +1,7 @@
1
- import { q as d, L as r, u as h, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { m as c, x as m, N as u } from "./p-D6lxqcxP-DWrZi1Xi.js";
1
+ import { q as d, L as r, u as c, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { m as h, x as m, N as u } from "./p-D6lxqcxP-DWrZi1Xi.js";
3
3
  import { c as p } from "./clsx-OuTLNxxd.js";
4
- const f = (t) => p("gids-calendar-month-list", t), I = () => {
4
+ const I = (t) => p("gids-calendar-month-list", t), f = () => {
5
5
  const t = [], s = new Intl.DateTimeFormat("en-US", { month: "long" });
6
6
  for (let e = 1; e <= 12; e += 1) {
7
7
  const n = new Date(2e3, e - 1, 1), i = s.format(n);
@@ -14,9 +14,9 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
14
14
  return t;
15
15
  }, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16
16
  __proto__: null,
17
- getGidsCalendarMonthListClassNames: f,
18
- getGidsCalendarMonthListMonths: I
19
- }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, x = r(class extends h {
17
+ getGidsCalendarMonthListClassNames: I,
18
+ getGidsCalendarMonthListMonths: f
19
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, x = r(class extends c {
20
20
  constructor(t) {
21
21
  super(), t !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (s) => {
22
22
  const { title: e, value: n, selectedIndex: i, disabled: o, id: a } = s.detail;
@@ -59,7 +59,7 @@ const f = (t) => p("gids-calendar-month-list", t), I = () => {
59
59
  }
60
60
  render() {
61
61
  const t = g();
62
- return l("div", { key: "edfe08732e3f5a916c9c4b20d45aa60ee435bafb", class: t }, l(c, { key: "745227860a28c875576b70e5cbc8676bb4966ae2", type: this.type, supportingText: this.noOptionsText }, l(m, { key: "e428a8ff2525a0e2815d96938ef8e852b9275ba9", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
62
+ return l("div", { key: "03c81c7b6d2fb6a1439f4a51a91817661b208175", class: t }, l(h, { key: "218015b22be3ab5dc1257ab99710759fcc91a60f", type: this.type, supportingText: this.noOptionsText }, l(m, { key: "63be7405e6ec2c1e658429832c3a484aa149880b", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
63
63
  const n = `${e + 1}`, i = this.disabledIndices?.includes(e);
64
64
  return l(u, { title: s.title, value: `${s.value}`, key: `${e.toString()}`, index: e, id: n, selected: this.isItemSelected(e), onPressDropdownItem: this.handleMenuClick, disabled: i, divider: this.divider, isPlaceholderItem: !1 });
65
65
  })))));
@@ -75,6 +75,6 @@ function C() {
75
75
  }
76
76
  C();
77
77
  export {
78
- C as c,
79
- x as l
78
+ x as c,
79
+ C as l
80
80
  };
@@ -0,0 +1,16 @@
1
+ function i(r) {
2
+ var f, t, n = "";
3
+ if (typeof r == "string" || typeof r == "number") n += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) {
5
+ var o = r.length;
6
+ for (f = 0; f < o; f++) r[f] && (t = i(r[f])) && (n && (n += " "), n += t);
7
+ } else for (t in r) r[t] && (n && (n += " "), n += t);
8
+ return n;
9
+ }
10
+ function a() {
11
+ for (var r, f, t = 0, n = "", o = arguments.length; t < o; t++) (r = arguments[t]) && (f = i(r)) && (n && (n += " "), n += f);
12
+ return n;
13
+ }
14
+ export {
15
+ a as e
16
+ };
@@ -1,7 +1,7 @@
1
1
  import { q as d, L as c, u as h, D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { m as u, x as m, N as Y } from "./p-D6lxqcxP-DWrZi1Xi.js";
3
- import { c as f } from "./clsx-OuTLNxxd.js";
4
- const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
3
+ import { c as p } from "./clsx-OuTLNxxd.js";
4
+ const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
5
5
  const t = e.toString().trim();
6
6
  if (!/^\d{4}$/.test(t))
7
7
  return !1;
@@ -21,10 +21,10 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
21
21
  return s;
22
22
  }, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
23
  __proto__: null,
24
- getGidsCalendarYearListClassNames: p,
24
+ getGidsCalendarYearListClassNames: f,
25
25
  getGidsCalendarYearListYears: I,
26
26
  isValidFourDigitYear: g
27
- }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: w, isValidFourDigitYear: l } = S, E = c(class extends h {
27
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: b, isValidFourDigitYear: l } = S, w = c(class extends h {
28
28
  constructor(e) {
29
29
  super(), e !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.newStartYear = (/* @__PURE__ */ new Date()).getFullYear(), this.newEndYear = (/* @__PURE__ */ new Date()).getFullYear() + 100, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (t) => {
30
30
  const { title: s, value: a, selectedIndex: r, disabled: n, id: o } = t.detail;
@@ -35,7 +35,7 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
35
35
  if (this.suppressNextMenuClickSelection) return;
36
36
  const s = t?.detail;
37
37
  this.applySelection({ id: s.id, year: Number(s.value), disabled: !1, selectedIndex: s.selectedIndex, startYear: this.newStartYear, endYear: this.newEndYear });
38
- }, this.yearsList = () => w({ startYear: this.newStartYear, endYear: this.newEndYear }), this.getSelectedItem = () => {
38
+ }, this.yearsList = () => b({ startYear: this.newStartYear, endYear: this.newEndYear }), this.getSelectedItem = () => {
39
39
  const t = this.selectedYear, s = this.yearsList(), a = s.findIndex(((n) => n.value === t));
40
40
  let r;
41
41
  return a != null && a !== -1 && (r = s[a]), { foundItem: r, foundIndex: a };
@@ -71,7 +71,7 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
71
71
  }
72
72
  render() {
73
73
  const e = y();
74
- return i("div", { key: "bfcd01860c33d9e76df2050ea70a1f3b2bfaf46c", class: e }, i(u, { key: "159e5afcf58334206f70bd5dde34d9d4aa8373f7", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "8ba8e9441574b35f00faad1ccf151cdd543dab90", sectionLabel: "Years" }, this.yearsList().map(((t, s) => {
74
+ return i("div", { key: "af9ef0437dbeba878bb5d09b0dcb4339ab819efd", class: e }, i(u, { key: "8083aa3b6a0160923f514bf067475cc835c3256b", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "d9c7ec1df68bd2e67e236e7135927f27dd7bc328", sectionLabel: "Years" }, this.yearsList().map(((t, s) => {
75
75
  const a = `${s + 1}`, r = this.disabledIndices?.includes(t.value);
76
76
  return i(Y, { title: t.title, value: `${t.value}`, key: `${s.toString()}`, index: s, id: a, selected: this.isItemSelected(s), onPressDropdownItem: this.handleMenuClick, disabled: r, divider: this.divider, isPlaceholderItem: !1 });
77
77
  })))));
@@ -80,13 +80,13 @@ const p = (e) => f("gids-calendar-year-list", e), g = (e) => {
80
80
  return this;
81
81
  }
82
82
  }, [0, "gids-calendar-year-list", { type: [1], noOptionsText: [1, "no-options-text"], disabledIndices: [16], divider: [4], selectedYear: [2, "selected-year"], startYear: [2, "start-year"], endYear: [2, "end-year"], onSelectionYearChange: [16], newStartYear: [32], newEndYear: [32] }]);
83
- function b() {
83
+ function E() {
84
84
  typeof customElements < "u" && ["gids-calendar-year-list"].forEach(((e) => {
85
- e === "gids-calendar-year-list" && (customElements.get(d(e)) || customElements.define(d(e), E));
85
+ e === "gids-calendar-year-list" && (customElements.get(d(e)) || customElements.define(d(e), w));
86
86
  }));
87
87
  }
88
- b();
88
+ E();
89
89
  export {
90
- E as l,
91
- b as u
90
+ w as l,
91
+ E as u
92
92
  };
@@ -1,7 +1,7 @@
1
1
  import { q as x, L as C, u as D, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { p as L } from "./p-DMNS1d8v-CHF62UXm.js";
3
- import { d as $ } from "./p-qb1aWgjh-CzmMPIME.js";
4
- import { l as E } from "./p-BYDimyG--DBCLrqDJ.js";
2
+ import { p as $ } from "./p-DMNS1d8v-CHF62UXm.js";
3
+ import { o as L } from "./p-BCVFQSjK-CKrYrI4b.js";
4
+ import { d as E } from "./p-C3xv7tfs-RodXvmql.js";
5
5
  import { c as P } from "./clsx-OuTLNxxd.js";
6
6
  const M = ({ breakpoint: a }, o) => P("gids-bar-chart", {
7
7
  "gids-bar-chart--breakpoint-mobile": a === "mobile"
@@ -35,7 +35,7 @@ const M = ({ breakpoint: a }, o) => P("gids-bar-chart", {
35
35
  this.width = a.width, this.height = a.height > 0 ? a.height : 300;
36
36
  }
37
37
  render() {
38
- if (this.chartLoading) return e("div", { class: "gids-bar-chart__no-data" }, e(L, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
38
+ if (this.chartLoading) return e("div", { class: "gids-bar-chart__no-data" }, e($, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
39
39
  const a = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], o = a.length, d = Array(o).fill(0);
40
40
  this.chartData.forEach(((t) => {
41
41
  Array.isArray(t?.data) && t.data.forEach(((i, r) => {
@@ -101,7 +101,7 @@ function O() {
101
101
  customElements.get(x(a)) || customElements.define(x(a), j);
102
102
  break;
103
103
  case "gids-chart-legend":
104
- customElements.get(x(a)) || $();
104
+ customElements.get(x(a)) || L();
105
105
  break;
106
106
  case "gids-chart-legend-item":
107
107
  customElements.get(x(a)) || E();