@ganpatiinfo/gids-core-web 10.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/dist/css/index.css +59 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +11 -0
  4. package/dist/gids-action-bar.js +1 -0
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-field.d.ts +1 -1
  34. package/dist/gids-field.js +1 -1
  35. package/dist/gids-filter.d.ts +11 -0
  36. package/dist/gids-filter.js +1 -0
  37. package/dist/gids-icon.d.ts +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.d.ts +1 -1
  40. package/dist/gids-input.js +1 -1
  41. package/dist/gids-level-gauge.d.ts +1 -1
  42. package/dist/gids-level-gauge.js +1 -1
  43. package/dist/gids-line-chart.d.ts +1 -1
  44. package/dist/gids-line-chart.js +1 -1
  45. package/dist/gids-notification.d.ts +1 -1
  46. package/dist/gids-notification.js +1 -1
  47. package/dist/gids-overflow-container.d.ts +1 -1
  48. package/dist/gids-overflow-container.js +1 -1
  49. package/dist/gids-overlay-provider.d.ts +1 -1
  50. package/dist/gids-overlay-provider.js +1 -1
  51. package/dist/gids-password-field.d.ts +1 -1
  52. package/dist/gids-password-field.js +1 -1
  53. package/dist/gids-pie-chart.d.ts +1 -1
  54. package/dist/gids-pie-chart.js +1 -1
  55. package/dist/gids-popover.d.ts +1 -1
  56. package/dist/gids-popover.js +1 -1
  57. package/dist/gids-progress-circle.d.ts +1 -1
  58. package/dist/gids-progress-circle.js +1 -1
  59. package/dist/gids-scrim.d.ts +1 -1
  60. package/dist/gids-scrim.js +1 -1
  61. package/dist/gids-snackbar.d.ts +1 -1
  62. package/dist/gids-snackbar.js +1 -1
  63. package/dist/gids-text-field.d.ts +1 -1
  64. package/dist/gids-text-field.js +1 -1
  65. package/dist/gids-toggle-button.d.ts +1 -1
  66. package/dist/gids-toggle-button.js +1 -1
  67. package/dist/gids-tooltip.d.ts +1 -1
  68. package/dist/gids-tooltip.js +1 -1
  69. package/dist/index.js +1 -1
  70. package/dist/{p-DfFqFdmS.js → p-BQ-ZnlnH.js} +1 -1
  71. package/dist/{p-9_mrQ7ac.js → p-BZCJlqVe.js} +1 -1
  72. package/dist/p-Bf3p-DY2.js +1 -0
  73. package/dist/{p-CIP0xyhD.js → p-BpQB6ncp.js} +1 -1
  74. package/dist/p-CHGTBObD.js +1 -0
  75. package/dist/{p-CPSHPtGE.js → p-CP1wz2PI.js} +1 -1
  76. package/dist/{p-D93TNeOt.js → p-CQH7eAs3.js} +1 -1
  77. package/dist/{p-CJzporPT.js → p-CW7tw1Fb.js} +1 -1
  78. package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
  79. package/dist/p-Cn3-K5eR.js +1 -0
  80. package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
  81. package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
  82. package/dist/p-D6lxqcxP.js +1 -0
  83. package/dist/p-DMNS1d8v.js +1 -0
  84. package/dist/{p-BvYnawkJ.js → p-DNTv2BQ5.js} +1 -1
  85. package/dist/{p-tyIgTtUC.js → p-DPIK2ayL.js} +1 -1
  86. package/dist/{p-BiPAgxAQ.js → p-Db62Pz3n.js} +1 -1
  87. package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
  88. package/dist/{p-h6alWGT8.js → p-DfxTsSdZ.js} +1 -1
  89. package/dist/p-Dg2yoUxw.js +1 -0
  90. package/dist/p-DmLoB2Dn.js +1 -0
  91. package/dist/p-DoCwI_bx.js +1 -0
  92. package/dist/p-H1JIMJ2t.js +1 -0
  93. package/dist/p-JjN8U9B5.js +1 -0
  94. package/dist/p-UVmSPzTd.js +1 -0
  95. package/dist/p-UxDcM-C5.js +1 -0
  96. package/dist/{p-Bmb-HiXg.js → p-V48JyMbP.js} +1 -1
  97. package/dist/{p-B81J5HCC.js → p-mZJdpfOo.js} +1 -1
  98. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  99. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  100. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  101. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  102. package/dist/types/components.d.ts +260 -5
  103. package/dist-bundled/es/gids-action-bar.js +177 -0
  104. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  105. package/dist-bundled/es/gids-bar-chart.js +3 -3
  106. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  107. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  108. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  109. package/dist-bundled/es/gids-calendar.js +22 -22
  110. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  111. package/dist-bundled/es/gids-chart-legend.js +4 -4
  112. package/dist-bundled/es/gids-chart.js +22 -22
  113. package/dist-bundled/es/gids-chevron-button.js +10 -10
  114. package/dist-bundled/es/gids-dot.js +3 -3
  115. package/dist-bundled/es/gids-dropdown-field.js +8 -8
  116. package/dist-bundled/es/gids-dropdown-picker.js +1 -1
  117. package/dist-bundled/es/gids-dropdown.js +4 -4
  118. package/dist-bundled/es/gids-field.js +1 -1
  119. package/dist-bundled/es/gids-filter.js +6 -0
  120. package/dist-bundled/es/gids-icon.js +4 -4
  121. package/dist-bundled/es/gids-input.js +1 -1
  122. package/dist-bundled/es/gids-level-gauge.js +4 -4
  123. package/dist-bundled/es/gids-line-chart.js +4 -4
  124. package/dist-bundled/es/gids-notification.js +1 -1
  125. package/dist-bundled/es/gids-overflow-container.js +2 -2
  126. package/dist-bundled/es/gids-overlay-provider.js +12 -12
  127. package/dist-bundled/es/gids-password-field.js +36 -36
  128. package/dist-bundled/es/gids-pie-chart.js +4 -4
  129. package/dist-bundled/es/gids-popover.js +5 -5
  130. package/dist-bundled/es/gids-progress-circle.js +1 -1
  131. package/dist-bundled/es/gids-scrim.js +2 -2
  132. package/dist-bundled/es/gids-snackbar.js +1 -1
  133. package/dist-bundled/es/gids-text-field.js +12 -12
  134. package/dist-bundled/es/gids-toggle-button.js +4 -44
  135. package/dist-bundled/es/gids-tooltip.js +5 -5
  136. package/dist-bundled/es/index.js +3 -3
  137. package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-BQ-ZnlnH-CUVdDHzX.js} +6 -6
  138. package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-BZCJlqVe-BcSwze-q.js} +6 -6
  139. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  140. package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-BpQB6ncp-C2AWddf-.js} +11 -11
  141. package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  142. package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-CP1wz2PI-DhVAsHFS.js} +4 -4
  143. package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-CQH7eAs3-BVowyVGn.js} +14 -14
  144. package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-CW7tw1Fb-DtJ5TwCU.js} +18 -18
  145. package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
  146. package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-Cn3-K5eR-tQ1EOnDF.js} +22 -20
  147. package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
  148. package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
  149. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  150. package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
  151. package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
  152. package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-DPIK2ayL-DPEbctqo.js} +4 -4
  153. package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-Db62Pz3n-DpQjwBYb.js} +5 -5
  154. package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
  155. package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-DfxTsSdZ-C2Afv1lS.js} +8 -8
  156. package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
  157. package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
  158. package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-DoCwI_bx-BXHlZI7-.js} +7 -7
  159. package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
  160. package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-JjN8U9B5-GeWjfJBY.js} +23 -21
  161. package/dist-bundled/es/{p-KxRqlvSh-JOFDmT0B.js → p-UVmSPzTd-DiTxS9kW.js} +8 -8
  162. package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
  163. package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-V48JyMbP-Bx-0od-Z.js} +12 -12
  164. package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-mZJdpfOo-DicbKil0.js} +7 -7
  165. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  166. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  167. package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
  168. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  169. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  170. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  171. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  172. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  173. package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
  174. package/dist-bundled/umd/gids-chart.umd.js +3 -3
  175. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  176. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  177. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  178. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  179. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  180. package/dist-bundled/umd/gids-field.umd.js +2 -2
  181. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  182. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  183. package/dist-bundled/umd/gids-input.umd.js +2 -2
  184. package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
  185. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  186. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  187. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  188. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  189. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  190. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  191. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  192. package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
  193. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  194. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  195. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  196. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  197. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  198. package/dist-bundled/umd/index.umd.js +2 -2
  199. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  200. package/package.json +20 -4
  201. package/dist/p-BFHWXEeg.js +0 -1
  202. package/dist/p-B_HaXpJZ.js +0 -1
  203. package/dist/p-BaO-kEWS.js +0 -1
  204. package/dist/p-CRngHsR7.js +0 -1
  205. package/dist/p-Ct3Ixgvf.js +0 -1
  206. package/dist/p-DKsrt7dx.js +0 -1
  207. package/dist/p-DZWWuJac.js +0 -1
  208. package/dist/p-Dehss-X0.js +0 -1
  209. package/dist/p-KxRqlvSh.js +0 -1
  210. package/dist/p-MgTlrSP_.js +0 -1
  211. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
  212. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
@@ -1,14 +1,14 @@
1
- import { P as l, _ as f, u, T as t } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { r as b } from "./p-Dehss-X0-Di5vMgvd.js";
3
- import { d as x } from "./p-B_HaXpJZ-a2SDgQ0E.js";
4
- import { l as z } from "./p-B81J5HCC-Bkt2yXKi.js";
1
+ import { q as l, L as f, u, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { p as b } from "./p-DMNS1d8v-CHF62UXm.js";
3
+ import { o as x } from "./p-DoCwI_bx-BXHlZI7-.js";
4
+ import { d as z } from "./p-mZJdpfOo-DicbKil0.js";
5
5
  import { c as w } from "./clsx-OuTLNxxd.js";
6
6
  const k = ({ breakpoint: a }, g) => w("gids-activity-gauge", {
7
7
  "gids-activity-gauge--breakpoint-mobile": a === "mobile"
8
8
  }, g), D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
9
  __proto__: null,
10
10
  getGidsActivityGaugeClassNames: k
11
- }, Symbol.toStringTag, { value: "Module" })), { getGidsActivityGaugeClassNames: E } = D, L = f(class extends u {
11
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsActivityGaugeClassNames: L } = D, E = f(class extends u {
12
12
  constructor(a) {
13
13
  super(), a !== !1 && this.__registerHost(), this.breakpoint = "desktop", this.chartData = [], this.label = "", this.size = "xs", this.legend = "none", this.chartLoaderSize = "lg", this.chartLoading = !1, this.width = 0, this.height = 0;
14
14
  }
@@ -30,7 +30,7 @@ const k = ({ breakpoint: a }, g) => w("gids-activity-gauge", {
30
30
  }
31
31
  render() {
32
32
  if (this.chartLoading) return t("div", { class: "gids-activity-gauge__no-data" }, t(b, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
33
- const a = this.chartData.map(((i) => i.value || 0)), g = a.length > 0 ? Math.max(...a) : 0, r = Math.max(1e3, g), p = r.toLocaleString(), y = E({ breakpoint: this.breakpoint }), n = [{ radius: 42, strokeWidth: 5.5 }, { radius: 34, strokeWidth: 5.5 }, { radius: 26, strokeWidth: 5.5 }], o = this.size === "xxs", d = typeof this.label == "string" && this.label.trim() !== "", c = this.legend && this.legend === "right" && this.breakpoint !== "mobile", _ = this.legend && (this.legend === "bottom" || this.breakpoint === "mobile");
33
+ const a = this.chartData.map(((i) => i.value || 0)), g = a.length > 0 ? Math.max(...a) : 0, r = Math.max(1e3, g), p = r.toLocaleString(), y = L({ breakpoint: this.breakpoint }), n = [{ radius: 42, strokeWidth: 5.5 }, { radius: 34, strokeWidth: 5.5 }, { radius: 26, strokeWidth: 5.5 }], o = this.size === "xxs", d = typeof this.label == "string" && this.label.trim() !== "", c = this.legend && this.legend === "right" && this.breakpoint !== "mobile", _ = this.legend && (this.legend === "bottom" || this.breakpoint === "mobile");
34
34
  return t("div", { class: y }, t("div", { class: "gids-activity-gauge__main-container" }, t("div", { class: "gids-activity-gauge__chart-stage-container" }, t("div", { class: `gids-activity-gauge__svg-wrapper gids-activity-gauge--size-${this.size}` }, t("svg", { viewBox: "0 0 100 100", class: "gids-activity-gauge__chart-vector" }, this.chartData.slice(0, 3).map(((i, e) => {
35
35
  const s = n[e] || n[0] || { radius: 26, strokeWidth: 5.5 }, m = r > 0 ? Math.min(Math.max((i.value || 0) / r, 0), 1) : 0, h = 2 * Math.PI * s.radius, v = `${m * h} ${h}`;
36
36
  return t("g", { key: i.label || e }, t("circle", { cx: "50", cy: "50", r: s.radius, "stroke-width": s.strokeWidth, class: "gids-activity-gauge__track-background" }), t("circle", { cx: "50", cy: "50", r: s.radius, "stroke-width": s.strokeWidth, class: `gids-activity-gauge__segment gids-activity-gauge__segment-series-${e + 1}`, "stroke-dasharray": v, "stroke-dashoffset": "0", transform: "rotate(-90 50 50)" }));
@@ -50,7 +50,7 @@ function $() {
50
50
  typeof customElements < "u" && ["gids-activity-gauge", "gids-chart-legend", "gids-chart-legend-item"].forEach(((a) => {
51
51
  switch (a) {
52
52
  case "gids-activity-gauge":
53
- customElements.get(l(a)) || customElements.define(l(a), L);
53
+ customElements.get(l(a)) || customElements.define(l(a), E);
54
54
  break;
55
55
  case "gids-chart-legend":
56
56
  customElements.get(l(a)) || x();
@@ -63,5 +63,5 @@ function $() {
63
63
  $();
64
64
  export {
65
65
  $ as d,
66
- L as o
66
+ E as o
67
67
  };
@@ -1,4 +1,4 @@
1
- import { T as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { c as f } from "./clsx-OuTLNxxd.js";
3
3
  const m = ({ disabled: e }, t) => f("gids-label", { "gids-label--disabled": e }, t), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
@@ -16,9 +16,9 @@ const m = ({ disabled: e }, t) => f("gids-label", { "gids-label--disabled": e },
16
16
  __proto__: null,
17
17
  getIndicatorText: L,
18
18
  isSentence: d
19
- }, Symbol.toStringTag, { value: "Module" })), { getIndicatorText: j } = S, { getGidsLabelClassNames: v } = _, O = ({ disabled: e, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, info: o, htmlFor: s, labelId: u, class: g, isLabelSentence: b, ...p }, l) => {
20
- const a = j({ children: l, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, isLabelSentence: b });
21
- return i("div", { class: v({ disabled: e }, g), ...p }, i("label", { htmlFor: s, id: u }, l, a && i("span", { class: "gids-label__field-requirement" }, a)), o);
19
+ }, Symbol.toStringTag, { value: "Module" })), { getIndicatorText: j } = S, { getGidsLabelClassNames: v } = _, O = ({ disabled: e, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, info: o, htmlFor: s, labelId: u, class: g, isLabelSentence: p, ...b }, l) => {
20
+ const a = j({ children: l, fieldRequirement: t, fieldRequirementOptionalText: r, fieldRequirementRequiredText: n, isLabelSentence: p });
21
+ return i("div", { class: v({ disabled: e }, g), ...b }, i("label", { htmlFor: s, id: u }, l, a && i("span", { class: "gids-label__field-requirement" }, a)), o);
22
22
  };
23
23
  export {
24
24
  O as a
@@ -0,0 +1,44 @@
1
+ import { q as s, L as l, u as d, z as i, D as t, P as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { o } from "./p-UVmSPzTd-DiTxS9kW.js";
3
+ import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
4
+ const a = l(class extends d {
5
+ constructor(e) {
6
+ super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = i(this, "select"), this._toggle = this._toggle.bind(this);
7
+ }
8
+ handleSelctedChange(e) {
9
+ this.selected = e;
10
+ }
11
+ connectedCallback() {
12
+ const e = c();
13
+ e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
14
+ }
15
+ _toggle() {
16
+ const e = !this.selected;
17
+ this._el.selected = this.selected, this.select?.emit(e), this.selected = this.selected;
18
+ }
19
+ render() {
20
+ return t(n, { key: "f7fe1215b0945a6d71c23d3644121dd73ff653cf" }, t("style", { key: "78195ef784f5f4df916d0a61e9b988233db31fef" }, `:host {
21
+ display: ${this.width === "full" ? "block" : "inline-block"}
22
+ }`), t(o, { key: "c0ae6269f93d930064073e1091cd145e453b7e7f", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "1e8fd27fe3a99d3957b0cc4d6334cd297bc8fb21" })));
23
+ }
24
+ _onlyHasLeadingIcon() {
25
+ const e = this._el.childNodes;
26
+ return e.length === 1 && e[0] instanceof window.Element && e[0].slot === "leadingIcon";
27
+ }
28
+ get _el() {
29
+ return this;
30
+ }
31
+ static get watchers() {
32
+ return { selected: [{ handleSelctedChange: 0 }] };
33
+ }
34
+ }, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [1540] }, void 0, { selected: [{ handleSelctedChange: 0 }] }]);
35
+ function h() {
36
+ typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
37
+ e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e), a));
38
+ }));
39
+ }
40
+ h();
41
+ export {
42
+ a as l,
43
+ h as o
44
+ };
@@ -1,4 +1,4 @@
1
- import { P as t, _ as a, u as r, T as n } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { q as t, L as a, u as r, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { c as s } from "./clsx-OuTLNxxd.js";
3
3
  const o = ({ orientation: e }, i) => s("gids-chart-legend", {
4
4
  // 'gids-chart-legend--orientation-horizontal':
@@ -7,7 +7,7 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
7
7
  }, i), d = /* @__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: l } = d, c = 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: "cf7740304d4b3616d7bc15d2a2009c537665bbc7", class: e }, n("slot", { key: "940d3744a6ea0da0684ff2d16c9734e8d265b485" }));
18
+ const e = l({ orientation: this.orientation });
19
+ return n("div", { key: "91b00cc799a723fe520513e41dc67df2b19c871e", class: e }, n("slot", { key: "83968874a18a0fb86706516b4083d6582a3341fb" }));
20
20
  }
21
21
  static get watchers() {
22
22
  return { orientation: [{ handleOrientationChange: 0 }] };
@@ -27,11 +27,11 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
27
27
  }, [260, "gids-chart-legend", { orientation: [1] }, void 0, { orientation: [{ handleOrientationChange: 0 }] }]);
28
28
  function g() {
29
29
  typeof customElements < "u" && ["gids-chart-legend"].forEach(((e) => {
30
- e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e), l));
30
+ e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e), c));
31
31
  }));
32
32
  }
33
33
  g();
34
34
  export {
35
- g as d,
36
- l as r
35
+ g as o,
36
+ c as r
37
37
  };
@@ -0,0 +1,152 @@
1
+ import { q as h, L as g, u as m, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { d as u } from "./p-D4Pimu_8-DfEGRQGf.js";
3
+ import { o as p } from "./p-DmLoB2Dn-D-FSoCvI.js";
4
+ import { c as v } from "./clsx-OuTLNxxd.js";
5
+ const I = ({ expanded: e }, i) => v("gids-filter", {
6
+ "gids-filter--expanded": e
7
+ }, i), y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
+ __proto__: null,
9
+ getGidsFilterClassNames: I
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsFilterClassNames: x } = y, E = g(class extends m {
11
+ constructor(e) {
12
+ super(), e !== !1 && this.__registerHost(), this.expanded = !1, this.type = "none", this.filterItemType = "primary", this.filterSelected = !1, this.filterDefaultSelected = !1, this.disabled = !1, this.size = "sm", this.loading = !1, this.filterIndex = 0, this.hasSlottedMenu = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleFilterPickerItemSelect = (i) => {
13
+ const { value: s, title: t, disabled: l, id: n, selectedIndex: a, isPlaceholderItem: r, defaultSelected: d } = i.detail;
14
+ l || typeof s != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
15
+ this.suppressNextMenuClickSelection = !1;
16
+ })), this.applySelection({ id: n, filterId: this?.filterId, value: s, title: t, disabled: !1, selectedFilterMenuIndex: a, defaultSelected: d, filterType: this.type, filterItemType: this.filterItemType, filterTitle: t, filterIndex: this.filterIndex, hasFilterMenu: !0, originalEvent: i, filterSelected: !r, isPlaceholderItem: r || !1 }));
17
+ }, this.handleMenuClick = (i) => {
18
+ if (this.suppressNextMenuClickSelection) return;
19
+ const s = i.target;
20
+ if (!(s instanceof Element)) return;
21
+ const t = s.closest(".gids-dropdown-item");
22
+ if (!t || !this.hostElement.contains(t) || t.hasAttribute("disabled") || t.getAttribute("aria-disabled") === "true") return;
23
+ const l = t instanceof HTMLButtonElement ? t.value : t.getAttribute("value") ?? "";
24
+ if (typeof l != "string" || l.length === 0) return;
25
+ const n = t instanceof HTMLButtonElement ? t.id : t.getAttribute("id") ?? "";
26
+ if (typeof n != "string" || n.length === 0) return;
27
+ const a = t instanceof HTMLButtonElement ? t.tabIndex : t.getAttribute("tabIndex") ?? "", r = t.getAttribute("is-placeholder-item") ?? "", d = t.querySelector(".gids-dropdown-item__label") || t.querySelector("span"), c = d ? d.textContent?.trim() : t.firstChild?.textContent?.trim() || l, f = !(!r || r !== "true");
28
+ this.applySelection({ id: n, filterId: this.filterId, value: l, title: c, disabled: !1, selectedFilterMenuIndex: Number(a), defaultSelected: this.filterDefaultSelected, filterType: this.type, filterItemType: this.filterItemType, filterTitle: c, filterIndex: this.filterIndex, hasFilterMenu: !0, originalEvent: i, filterSelected: !f, isPlaceholderItem: f });
29
+ }, this.handleTriggerToggle = (i) => {
30
+ this.isInteractive() && this.setExpandedState(!this.expanded, i);
31
+ }, this.handleFilterButtonClickToggle = (i) => {
32
+ if (!i.defaultPrevented) if (i.stopPropagation(), this.isMenuToggler()) this.handleTriggerToggle(i);
33
+ else {
34
+ this.filterSelected = i.detail, i?.detail === !1 && this.handleFormReset(), this.applySelection({ id: "1", filterId: this.filterId, value: this.value, title: this.value, disabled: this.disabled, selectedFilterMenuIndex: void 0, filterType: this.type, filterItemType: this.filterItemType, filterTitle: this.value, filterIndex: this.filterIndex, originalEvent: i, filterSelected: i.detail, hasFilterMenu: !1, isPlaceholderItem: !1 });
35
+ const s = { expanded: !1, originalEvent: i };
36
+ this.onToggle?.(s);
37
+ }
38
+ }, this.handleFormReset = () => {
39
+ this.value = this.initialValue, this.selectedItemTitle = this.initialValue, this.filterSelected = !1, this.isMenuToggler() ? this.setExpandedState(!1) : this.expanded = !1;
40
+ }, this.setFilterDropdownPosition = () => {
41
+ if (!this.hostElement) return;
42
+ const i = this.hostElement.querySelector(".gids-filter__menu");
43
+ if (!i) return;
44
+ const s = window.innerWidth / 2, t = this.hostElement.getBoundingClientRect();
45
+ t.left + t.width / 2 > s ? i.classList.add("gids-filter__menu--align-right") : i.classList.remove("gids-filter__menu--align-right");
46
+ };
47
+ }
48
+ handleExpandedChange(e) {
49
+ e && !this.isInteractive() && (this.expanded = !1);
50
+ }
51
+ handleInteractivityChange() {
52
+ !this.isInteractive() && this.expanded && this.setExpandedState(!1);
53
+ }
54
+ handleFilterTypeChange(e) {
55
+ this.type = e;
56
+ }
57
+ handleFilterSelectedChange(e) {
58
+ this.filterSelected = e;
59
+ }
60
+ connectedCallback() {
61
+ this.attachItemListener(), this.attachFormListener();
62
+ }
63
+ componentDidLoad() {
64
+ this.initialValue = this.value, this.evaluateSlottedMenuExistence();
65
+ }
66
+ disconnectedCallback() {
67
+ this.detachItemListener(), this.detachFormListener();
68
+ }
69
+ getFilterButtonControl() {
70
+ return this.hostElement.querySelector(".gids-button");
71
+ }
72
+ getItemElements() {
73
+ return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"));
74
+ }
75
+ evaluateSlottedMenuExistence() {
76
+ const e = this.hostElement.querySelector(".gids-filter__menu");
77
+ if (!e) return void (this.hasSlottedMenu = !1);
78
+ const i = Array.from(e.childNodes).filter(((s) => s.nodeType !== Node.COMMENT_NODE && !(s.nodeType === Node.TEXT_NODE && !s.textContent?.trim())));
79
+ this.hasSlottedMenu = i.length > 0;
80
+ }
81
+ attachItemListener() {
82
+ this.hasItemListener || (this.hostElement.addEventListener("onPressDropdownItem", this.handleFilterPickerItemSelect), this.hasItemListener = !0);
83
+ }
84
+ detachItemListener() {
85
+ this.hasItemListener && (this.hostElement.removeEventListener("onPressDropdownItem", this.handleFilterPickerItemSelect), this.hasItemListener = !1);
86
+ }
87
+ applySelection(e) {
88
+ this.value = e.value, this.selectedItemTitle = typeof e.title == "string" ? e.title : void 0, this.clearActive(), this.isMenuToggler() ? this.setExpandedState(!1, this.coerceEvent(e.originalEvent)) : this.expanded = !1, this.onFilterMenuItemChange?.(e), this.hostElement.dispatchEvent(new CustomEvent("gidsFilterPickerChange", { bubbles: !0, composed: !0, detail: e }));
89
+ }
90
+ clearActive() {
91
+ this.getItemElements().forEach(((e) => e.classList.remove("gids-dropdown-item--active")));
92
+ }
93
+ setExpandedState(e, i) {
94
+ const s = !!e;
95
+ if (this.setFilterDropdownPosition(), s && !this.isInteractive() || this.expanded === s) return;
96
+ this.expanded = s, s || (this.clearActive(), this.syncFilterDisplayValue());
97
+ const t = { expanded: s, originalEvent: i };
98
+ this.onToggle?.(t);
99
+ }
100
+ syncFilterDisplayValue() {
101
+ const e = this.getFilterButtonControl();
102
+ e && e.value !== (this.selectedItemTitle ?? "") && (e.value = this.selectedItemTitle ?? "");
103
+ }
104
+ attachFormListener() {
105
+ const e = this.hostElement.closest("form");
106
+ this.patternForm !== e && (this.patternForm && this.patternForm.removeEventListener("reset", this.handleFormReset), this.patternForm = e ?? void 0, this.patternForm?.addEventListener("reset", this.handleFormReset));
107
+ }
108
+ detachFormListener() {
109
+ this.patternForm && (this.patternForm.removeEventListener("reset", this.handleFormReset), this.patternForm = void 0);
110
+ }
111
+ isInteractive() {
112
+ return !this.disabled;
113
+ }
114
+ coerceEvent(e) {
115
+ if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
116
+ }
117
+ isMenuToggler() {
118
+ return (this.type === "none" || this.type === "more") && this.hasSlottedMenu;
119
+ }
120
+ handleWindowClick(e) {
121
+ this.expanded && (e.composedPath().includes(this.hostElement) || this.setExpandedState(!1, e));
122
+ }
123
+ render() {
124
+ const e = this.expanded && this.isInteractive(), i = x({ expanded: e }), s = this.isMenuToggler(), t = typeof this.filterPickerId == "string" ? this.filterPickerId : void 0, l = t ? `${t}__menu` : void 0, n = this.selectedItemTitle ?? this.value ?? "", a = this.type === "more", r = this.type === "all", d = this.type === "none";
125
+ return o("div", { key: "278b8b3901a5c836c7e078aeafb2c6338726d76a", class: i, "aria-control": l ?? "" }, o("gids-toggle-button", { key: "b35f6770a815537932f617318e31df74a8031b3c", id: t, name: this.name, expanded: e, value: n, disabled: this.disabled, size: this.size, loading: this.loading, tabIndex: this.filterIndex, defaultSelected: this.filterDefaultSelected, selected: this.filterSelected || this.filterDefaultSelected, onSelect: this.handleFilterButtonClickToggle }, a || r ? o(u, { name: a ? "options" : "filter", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" }) : void 0, d || r ? n : void 0, s && !a ? o(u, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "trailingIcon" }) : void 0), o("div", { key: "d6b40dcae48bfb4b4f6654e2126c707afd2b0801", class: "gids-filter__menu", id: l, role: "pickerbox", onClick: this.handleMenuClick }, o("slot", { key: "32c88f98018ebad487c6acdd02cf5c1e0cc00050", onSlotchange: () => this.evaluateSlottedMenuExistence() })));
126
+ }
127
+ get hostElement() {
128
+ return this;
129
+ }
130
+ static get watchers() {
131
+ return { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }], type: [{ handleFilterTypeChange: 0 }], filterSelected: [{ handleFilterSelectedChange: 0 }] };
132
+ }
133
+ static get style() {
134
+ return ".gids-filter{position:relative}.gids-filter__menu{position:absolute;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;align-self:stretch;min-width:var(--gids-width-2-xs);min-height:55px;max-height:15rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg);left:0;right:auto}.gids-filter__menu--align-right{left:auto !important;right:0 !important}.gids-filter__menu>*{flex-shrink:0}.gids-filter--expanded .gids-filter__menu{display:flex}";
135
+ }
136
+ }, [260, "gids-filter", { name: [1], filterId: [1, "filter-id"], filterPickerId: [1, "filter-picker-id"], expanded: [4], type: [1], filterItemType: [1, "filter-item-type"], value: [1], filterSelected: [1540, "filter-selected"], filterDefaultSelected: [4, "filter-default-selected"], disabled: [4], size: [1], loading: [4], filterIndex: [2, "filter-index"], onFilterMenuItemChange: [16], onToggle: [16], selectedItemTitle: [32], hasSlottedMenu: [32] }, [[8, "click", "handleWindowClick"]], { expanded: [{ handleExpandedChange: 0 }], disabled: [{ handleInteractivityChange: 0 }], type: [{ handleFilterTypeChange: 0 }], filterSelected: [{ handleFilterSelectedChange: 0 }] }]);
137
+ function S() {
138
+ typeof customElements < "u" && ["gids-filter", "gids-toggle-button"].forEach(((e) => {
139
+ switch (e) {
140
+ case "gids-filter":
141
+ customElements.get(h(e)) || customElements.define(h(e), E);
142
+ break;
143
+ case "gids-toggle-button":
144
+ customElements.get(h(e)) || p();
145
+ }
146
+ }));
147
+ }
148
+ S();
149
+ export {
150
+ S as a,
151
+ E as h
152
+ };
@@ -1,29 +1,31 @@
1
- import { P as d, _ as r, u as l, T as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { o as h } from "./p-KxRqlvSh-JOFDmT0B.js";
3
- import { d as c } from "./p-BnL97lOW-BO0p4EdC.js";
4
- import { c as p } from "./clsx-OuTLNxxd.js";
5
- const u = ({ expanded: e }, t) => p("gids-dropdown-picker", {
1
+ import { q as r, L as l, u as h, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { o as c } from "./p-UVmSPzTd-DiTxS9kW.js";
3
+ import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
4
+ import { c as u } from "./clsx-OuTLNxxd.js";
5
+ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
6
6
  "gids-dropdown-picker--expanded": e
7
- }, t), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }, t), g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
- getGidsDropdownPickerClassNames: u
10
- }, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames: g } = m, f = r(class extends l {
9
+ getGidsDropdownPickerClassNames: m
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownPickerClassNames: f } = g, v = 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
- const { value: i, title: n, disabled: o, id: a } = t.detail;
13
+ const { value: i, title: s, disabled: o, id: a, isPlaceholderItem: d } = t.detail;
14
14
  o || typeof i != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
15
15
  this.suppressNextMenuClickSelection = !1;
16
- })), this.applySelection({ id: a, value: i, title: n, disabled: !1, originalEvent: t }));
16
+ })), this.applySelection({ id: a, value: i, title: s, disabled: !1, originalEvent: t, isPlaceholderItem: d }));
17
17
  }, this.handleMenuClick = (t) => {
18
18
  if (this.suppressNextMenuClickSelection) return;
19
19
  const i = t.target;
20
20
  if (!(i instanceof Element)) return;
21
- const n = i.closest(".gids-dropdown-item");
22
- if (!n || !this.hostElement.contains(n) || n.hasAttribute("disabled") || n.getAttribute("aria-disabled") === "true") return;
23
- const o = n instanceof HTMLButtonElement ? n.value : n.getAttribute("value") ?? "";
21
+ const s = i.closest(".gids-dropdown-item");
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") ?? "";
24
24
  if (typeof o != "string" || o.length === 0) return;
25
- const a = n instanceof HTMLButtonElement ? n.id : n.getAttribute("id") ?? "";
26
- typeof a == "string" && a.length !== 0 && this.applySelection({ id: a, value: o, title: n.textContent?.trim() ?? "", disabled: !1, originalEvent: t });
25
+ const a = s instanceof HTMLButtonElement ? s.id : s.getAttribute("id") ?? "";
26
+ if (typeof a != "string" || a.length === 0) return;
27
+ const d = s.getAttribute("is-placeholder-item") ?? "";
28
+ this.applySelection({ id: a, value: o, title: s.textContent?.trim() ?? "", disabled: !1, originalEvent: t, isPlaceholderItem: !(!d || d !== "true") });
27
29
  }, this.handleTriggerToggle = (t) => {
28
30
  this.isInteractive() && this.setExpandedState(!this.expanded, t);
29
31
  }, this.handleDropdownButtonClickToggle = (t) => {
@@ -108,8 +110,8 @@ const u = ({ expanded: e }, t) => p("gids-dropdown-picker", {
108
110
  if (typeof Event < "u" && e !== null) return e instanceof Event ? e : void 0;
109
111
  }
110
112
  render() {
111
- const e = this.expanded && this.isInteractive(), t = g({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, n = i ? `${i}__menu` : void 0;
112
- return s("div", { key: "60aba19be894123a4fb11cf8d682c89c1e1dfc9c", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, s(h, { key: "6e691f9fee63c676d7a66d42024a4688730f9503", role: "pickerbox", "aria-expanded": e ? "true" : "false", "aria-haspopup": "pickerlistbox", "aria-controls": n ?? "", onClick: this.handleDropdownButtonClickToggle, disabled: this.disabled, value: this.selectedItemTitle ?? this.value ?? "", loading: this.loading, appearance: this.appearance, size: this.size }, this.hasLeadingIcon ? s("slot", { name: "leadingIconDropdownPicker", slot: "leadingIcon" }) : s(c, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" })), s("div", { key: "b44514baae627324d71f1114c3ba18bc6b946b01", class: "gids-dropdown-picker__menu", id: n, role: "pickerbox", onClick: this.handleMenuClick }, s("slot", { key: "1e3b9e592646a1bda41d2cf5bfc8556908c0499f" })));
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: "fd8821be1aecb1e5ba7f725d9ebec0f6222a16cd", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "63016b4e74dfeaa3f9c29139f69a2d46ca97ae76", 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: "4f463a8f04de48e3b8b6ceeab69c90cbc8ba7631", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "1fab2b1bd8cd2bcd0fd7031712d0585635620be1" })));
113
115
  }
114
116
  get hostElement() {
115
117
  return this;
@@ -121,13 +123,13 @@ const u = ({ expanded: e }, t) => p("gids-dropdown-picker", {
121
123
  return ".gids-dropdown-picker{position:relative}.gids-dropdown-picker__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;align-self:stretch;min-width:var(--gids-width-2-xs);min-height:55px;max-height:15rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown-picker__menu>*{flex-shrink:0}.gids-dropdown-picker--expanded .gids-dropdown-picker__menu{display:flex}";
122
124
  }
123
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 }] }]);
124
- function v() {
126
+ function E() {
125
127
  typeof customElements < "u" && ["gids-dropdown-picker"].forEach(((e) => {
126
- e === "gids-dropdown-picker" && (customElements.get(d(e)) || customElements.define(d(e), f));
128
+ e === "gids-dropdown-picker" && (customElements.get(r(e)) || customElements.define(r(e), v));
127
129
  }));
128
130
  }
129
- v();
131
+ E();
130
132
  export {
131
- f as h,
133
+ E as h,
132
134
  v as r
133
135
  };
@@ -1,7 +1,7 @@
1
- import { T as a } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { l as h } from "./p-DKsrt7dx-ImYLc4xz.js";
3
- import { c as _ } from "./clsx-OuTLNxxd.js";
4
- const v = ({ appearance: t, size: n, width: d, destructive: s, positive: o, loading: l }, i, e) => _("gids-button", {
1
+ import { D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { l as h } from "./p-CHGTBObD-EN4cCwtX.js";
3
+ import { c as v } from "./clsx-OuTLNxxd.js";
4
+ const _ = ({ appearance: t, size: n, width: d, destructive: s, positive: o, loading: l }, i, e) => v("gids-button", {
5
5
  "gids-button--primary": t === "primary",
6
6
  "gids-button--subtle": t === "subtle",
7
7
  "gids-button--xs": n === "xs",
@@ -15,11 +15,11 @@ const v = ({ appearance: t, size: n, width: d, destructive: s, positive: o, load
15
15
  "gids-button--loading": l
16
16
  }, e), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
17
  __proto__: null,
18
- getGidsButtonClassNames: v
19
- }, Symbol.toStringTag, { value: "Module" })), b = (t) => t !== void 0 && (!Array.isArray(t) || t.length > 0), { getGidsButtonClassNames: I } = x, z = ({ appearance: t, size: n, destructive: d, positive: s, loading: o, width: l, leadingIcon: i, trailingIcon: e, as: c, disabled: p, class: m, forceIconOnly: y = !1, ...u }, g) => {
18
+ getGidsButtonClassNames: _
19
+ }, Symbol.toStringTag, { value: "Module" })), b = (t) => t !== void 0 && (!Array.isArray(t) || t.length > 0), { getGidsButtonClassNames: w } = x, j = ({ appearance: t, size: n, destructive: d, positive: s, loading: o, width: l, leadingIcon: i, trailingIcon: e, as: c, disabled: p, class: m, forceIconOnly: y = !1, ...u }, g) => {
20
20
  const r = c || "button", f = n === "lg" || n === void 0 ? "md" : n;
21
- return r !== "button" || "type" in u || (u.type = "button"), a(r, { class: I({ appearance: t, size: n, destructive: d, loading: o, width: l, positive: s }, y || g.length === 0 && b(i) && !b(e), m), disabled: r === "button" ? p : void 0, ...u }, a("span", { class: "gids-button__content" }, i, g), o && a(h, { size: f, indeterminate: !0 }), e);
21
+ return r !== "button" || "type" in u || (u.type = "button"), a(r, { class: w({ appearance: t, size: n, destructive: d, loading: o, width: l, positive: s }, y || g.length === 0 && b(i) && !b(e), m), disabled: r === "button" ? p : void 0, ...u }, a("span", { class: "gids-button__content" }, i, g), o && a(h, { size: f, indeterminate: !0 }), e);
22
22
  };
23
23
  export {
24
- z as o
24
+ j as o
25
25
  };
@@ -1,5 +1,5 @@
1
- import { T as t } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { d } from "./p-BnL97lOW-BO0p4EdC.js";
1
+ import { D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { d } from "./p-D4Pimu_8-DfEGRQGf.js";
3
3
  import { c as m } from "./clsx-OuTLNxxd.js";
4
4
  const n = ({ appearance: e, size: s }, i) => m("gids-dismiss-button", {
5
5
  "gids-dismiss-button--sm": s === "sm",
@@ -1,7 +1,7 @@
1
- import { P as o, _ as r, u as c, T as d } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { u as h, f as m, B as u } from "./p-MgTlrSP_-DifRVv94.js";
3
- import { c as f } from "./clsx-OuTLNxxd.js";
4
- const p = (t) => f("gids-calendar-month-list", t), I = () => {
1
+ import { q as o, L as r, u as h, D as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { m as c, x as m, N as u } from "./p-D6lxqcxP-DWrZi1Xi.js";
3
+ import { c as p } from "./clsx-OuTLNxxd.js";
4
+ const f = (t) => p("gids-calendar-month-list", t), I = () => {
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 p = (t) => f("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: p,
17
+ getGidsCalendarMonthListClassNames: f,
18
18
  getGidsCalendarMonthListMonths: I
19
- }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, C = r(class extends c {
19
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, x = r(class extends h {
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: l, id: a } = s.detail;
@@ -59,22 +59,22 @@ const p = (t) => f("gids-calendar-month-list", t), I = () => {
59
59
  }
60
60
  render() {
61
61
  const t = g();
62
- return d("div", { key: "a3d78c655f5f3d2fa1c26a06f78d96c6964a8f2b", class: t }, d(h, { key: "ee53fe9e5f94249400d4339c5baf0dcebb87218e", type: this.type, supportingText: this.noOptionsText }, d(m, { key: "50059fdc97b6e206ffd3389470d6fd2f25747cbd", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
62
+ return d("div", { key: "a4c3d291302079299a702892a7feb47fecdc0ab3", class: t }, d(c, { key: "57a34a46ff0d264d11faf29a1c852385d20f4303", type: this.type, supportingText: this.noOptionsText }, d(m, { key: "f6bed17740192c11aabd7de928396147e8da7dfd", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
63
63
  const n = `${e + 1}`, i = this.disabledIndices?.includes(e);
64
- return d(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 });
64
+ return d(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
  })))));
66
66
  }
67
67
  get hostElement() {
68
68
  return this;
69
69
  }
70
70
  }, [0, "gids-calendar-month-list", { type: [1], noOptionsText: [1, "no-options-text"], disabledIndices: [16], divider: [4], selectedMonthNumber: [2, "selected-month-number"], onSelectionMonthChange: [16] }]);
71
- function v() {
71
+ function C() {
72
72
  typeof customElements < "u" && ["gids-calendar-month-list"].forEach(((t) => {
73
- t === "gids-calendar-month-list" && (customElements.get(o(t)) || customElements.define(o(t), C));
73
+ t === "gids-calendar-month-list" && (customElements.get(o(t)) || customElements.define(o(t), x));
74
74
  }));
75
75
  }
76
- v();
76
+ C();
77
77
  export {
78
78
  C as c,
79
- v as l
79
+ x as l
80
80
  };
@@ -1,7 +1,7 @@
1
- import { P as i, _ as s, u as n, T as t } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { d } from "./p-BnL97lOW-BO0p4EdC.js";
3
- import { c as l } from "./clsx-OuTLNxxd.js";
4
- const o = ({ seriesType: e, orientation: a }, r) => l("gids-chart-legend-item", {
1
+ import { q as i, L as s, u as n, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { d as l } from "./p-D4Pimu_8-DfEGRQGf.js";
3
+ import { c as d } from "./clsx-OuTLNxxd.js";
4
+ const o = ({ seriesType: e, orientation: a }, r) => d("gids-chart-legend-item", {
5
5
  // 'gids-chart-legend-item--series-1': seriesType === '1', // by default
6
6
  "gids-chart-legend-item--series-2": e === "2",
7
7
  "gids-chart-legend-item--series-3": e === "3",
@@ -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: "8878b090e147405a847be15581708ec707a806b1", class: e }, t("div", { key: "8ac35d56d1e31cbc613490bec5e5d5a698c5aa7c", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(d, { key: "2edad86b9fd18809923775308e580f39688a7f47", name: "new", alt: "new_icon", appearance: "filled" })), t("span", { key: "db1611c5d945b5e470623d0ac1c93a3bfd24f1e7", class: "gids-chart-legend-item__label" }, t("slot", { key: "e3ad93df0b136e4f80a214131caf77c01dac9049" })));
29
+ return t("div", { key: "a168968003ccd7216f5c69beac50898a1f176dc7", class: e }, t("div", { key: "995b46947af3677386a2c67a7b7fa469483a8745", class: this.orientation === "vertical" ? "gids-chart-legend-item__dot-wrapper-vertical" : "gids-chart-legend-item__dot-wrapper-horizontal" }, t(l, { key: "6b8b0a267e30a77f8c6d4ae18db2f4dfcf4041e7", name: "new", alt: "new_icon", appearance: "filled" })), t("span", { key: "c9e38851fd89a20e06e111fe2ca4faf3211f03fa", class: "gids-chart-legend-item__label" }, t("slot", { key: "aa30a8f07ef92ff658f76fe1dce2d10dbfb636c1" })));
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
  };