@ganpatiinfo/gids-core-web 10.0.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dist/css/index.css +260 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +11 -0
  4. package/dist/gids-action-bar.js +1 -0
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-field.d.ts +1 -1
  34. package/dist/gids-field.js +1 -1
  35. package/dist/gids-filter.d.ts +11 -0
  36. package/dist/gids-filter.js +1 -0
  37. package/dist/gids-icon.d.ts +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.d.ts +1 -1
  40. package/dist/gids-input.js +1 -1
  41. package/dist/gids-level-gauge.d.ts +1 -1
  42. package/dist/gids-level-gauge.js +1 -1
  43. package/dist/gids-line-chart.d.ts +1 -1
  44. package/dist/gids-line-chart.js +1 -1
  45. package/dist/gids-notification.d.ts +1 -1
  46. package/dist/gids-notification.js +1 -1
  47. package/dist/gids-overflow-container.d.ts +1 -1
  48. package/dist/gids-overflow-container.js +1 -1
  49. package/dist/gids-overlay-provider.d.ts +1 -1
  50. package/dist/gids-overlay-provider.js +1 -1
  51. package/dist/gids-password-field.d.ts +1 -1
  52. package/dist/gids-password-field.js +1 -1
  53. package/dist/gids-pie-chart.d.ts +1 -1
  54. package/dist/gids-pie-chart.js +1 -1
  55. package/dist/gids-popover.d.ts +1 -1
  56. package/dist/gids-popover.js +1 -1
  57. package/dist/gids-progress-circle.d.ts +1 -1
  58. package/dist/gids-progress-circle.js +1 -1
  59. package/dist/gids-scrim.d.ts +1 -1
  60. package/dist/gids-scrim.js +1 -1
  61. package/dist/gids-snackbar.d.ts +1 -1
  62. package/dist/gids-snackbar.js +1 -1
  63. package/dist/gids-tab-item.d.ts +11 -0
  64. package/dist/gids-tab-item.js +1 -0
  65. package/dist/gids-tab.d.ts +11 -0
  66. package/dist/gids-tab.js +1 -0
  67. package/dist/gids-text-field.d.ts +1 -1
  68. package/dist/gids-text-field.js +1 -1
  69. package/dist/gids-toggle-button.d.ts +1 -1
  70. package/dist/gids-toggle-button.js +1 -1
  71. package/dist/gids-tooltip.d.ts +1 -1
  72. package/dist/gids-tooltip.js +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/{p-h6alWGT8.js → p-5VIPb1eU.js} +1 -1
  75. package/dist/{p-BiPAgxAQ.js → p-8tOn5SjU.js} +1 -1
  76. package/dist/{p-Bmb-HiXg.js → p-B1Jgtjhu.js} +1 -1
  77. package/dist/{p-B81J5HCC.js → p-BYDimyG-.js} +1 -1
  78. package/dist/p-Bf3p-DY2.js +1 -0
  79. package/dist/{p-tyIgTtUC.js → p-BfnzH6wp.js} +1 -1
  80. package/dist/p-Bj28yqMD.js +1 -0
  81. package/dist/{p-CJzporPT.js → p-C-cUL-aA.js} +1 -1
  82. package/dist/{p-BvYnawkJ.js → p-C7ifjRCE.js} +1 -1
  83. package/dist/p-CHGTBObD.js +1 -0
  84. package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
  85. package/dist/p-Ciw-O9qN.js +1 -0
  86. package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
  87. package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
  88. package/dist/p-D6lxqcxP.js +1 -0
  89. package/dist/p-DMNS1d8v.js +1 -0
  90. package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
  91. package/dist/p-Dg2yoUxw.js +1 -0
  92. package/dist/{p-CIP0xyhD.js → p-DiNad9Px.js} +1 -1
  93. package/dist/{p-D93TNeOt.js → p-DoPuGtJd.js} +1 -1
  94. package/dist/{p-DfFqFdmS.js → p-Doi8Yizl.js} +1 -1
  95. package/dist/{p-9_mrQ7ac.js → p-Jdpe4Sgj.js} +1 -1
  96. package/dist/p-UVmSPzTd.js +1 -0
  97. package/dist/p-UxDcM-C5.js +1 -0
  98. package/dist/{p-CPSHPtGE.js → p-bPPm7cuw.js} +1 -1
  99. package/dist/p-qb1aWgjh.js +1 -0
  100. package/dist/p-qrjEbv6g.js +1 -0
  101. package/dist/p-xITwQAMz.js +1 -0
  102. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  103. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  104. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  105. package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
  106. package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
  107. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  108. package/dist/types/components.d.ts +381 -5
  109. package/dist-bundled/es/gids-action-bar.js +177 -0
  110. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  111. package/dist-bundled/es/gids-bar-chart.js +4 -4
  112. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  113. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  114. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  115. package/dist-bundled/es/gids-calendar.js +34 -34
  116. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  117. package/dist-bundled/es/gids-chart-legend.js +4 -4
  118. package/dist-bundled/es/gids-chart.js +22 -22
  119. package/dist-bundled/es/gids-chevron-button.js +9 -9
  120. package/dist-bundled/es/gids-dot.js +1 -1
  121. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  122. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  123. package/dist-bundled/es/gids-dropdown.js +4 -4
  124. package/dist-bundled/es/gids-field.js +1 -1
  125. package/dist-bundled/es/gids-filter.js +6 -0
  126. package/dist-bundled/es/gids-icon.js +4 -4
  127. package/dist-bundled/es/gids-input.js +4 -4
  128. package/dist-bundled/es/gids-level-gauge.js +4 -4
  129. package/dist-bundled/es/gids-line-chart.js +1 -1
  130. package/dist-bundled/es/gids-notification.js +1 -1
  131. package/dist-bundled/es/gids-overflow-container.js +9 -9
  132. package/dist-bundled/es/gids-overlay-provider.js +12 -12
  133. package/dist-bundled/es/gids-password-field.js +48 -48
  134. package/dist-bundled/es/gids-pie-chart.js +3 -3
  135. package/dist-bundled/es/gids-popover.js +5 -5
  136. package/dist-bundled/es/gids-progress-circle.js +1 -1
  137. package/dist-bundled/es/gids-scrim.js +3 -3
  138. package/dist-bundled/es/gids-snackbar.js +1 -1
  139. package/dist-bundled/es/gids-tab-item.js +100 -0
  140. package/dist-bundled/es/gids-tab.js +63 -0
  141. package/dist-bundled/es/gids-text-field.js +17 -17
  142. package/dist-bundled/es/gids-toggle-button.js +4 -44
  143. package/dist-bundled/es/gids-tooltip.js +2 -2
  144. package/dist-bundled/es/index.js +3 -3
  145. package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
  146. package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-5VIPb1eU-MCAo8JCp.js} +8 -8
  147. package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-8tOn5SjU-D9rZ28cf.js} +11 -11
  148. package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-B1Jgtjhu-B_VYp-ZP.js} +15 -15
  149. package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-BYDimyG--DBCLrqDJ.js} +3 -3
  150. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  151. package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-BfnzH6wp-BfLC7Nak.js} +4 -4
  152. package/dist-bundled/es/p-Bj28yqMD-Dz1SWSqM.js +44 -0
  153. package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-C-cUL-aA-2jsvw-Lr.js} +9 -9
  154. package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-C7ifjRCE-CRlorwoN.js} +10 -10
  155. package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  156. package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
  157. package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-Ciw-O9qN-DkWfirFu.js} +24 -22
  158. package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
  159. package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
  160. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  161. package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
  162. package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
  163. package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
  164. package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-DiNad9Px-uOCMHqAq.js} +11 -11
  165. package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-DoPuGtJd-DYlbhh57.js} +14 -14
  166. package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-Doi8Yizl-BszWK5Dq.js} +5 -5
  167. package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-Jdpe4Sgj-acwaxLtK.js} +3 -3
  168. package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
  169. package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
  170. package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-bPPm7cuw-B-dtPJF9.js} +6 -6
  171. package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-qb1aWgjh-CzmMPIME.js} +2 -2
  172. package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +152 -0
  173. package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-xITwQAMz-BMXjOAAQ.js} +20 -18
  174. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  175. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  176. package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
  177. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  178. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  179. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  180. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  181. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  182. package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
  183. package/dist-bundled/umd/gids-chart.umd.js +3 -3
  184. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  185. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  186. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  187. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  188. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  189. package/dist-bundled/umd/gids-field.umd.js +2 -2
  190. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  191. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  192. package/dist-bundled/umd/gids-input.umd.js +2 -2
  193. package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
  194. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  195. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  196. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  197. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  198. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  199. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  200. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  201. package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
  202. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  203. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  204. package/dist-bundled/umd/gids-tab-item.umd.js +5 -0
  205. package/dist-bundled/umd/gids-tab.umd.js +5 -0
  206. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  207. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  208. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  209. package/dist-bundled/umd/index.umd.js +2 -2
  210. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  211. package/package.json +36 -4
  212. package/dist/p-BFHWXEeg.js +0 -1
  213. package/dist/p-B_HaXpJZ.js +0 -1
  214. package/dist/p-BaO-kEWS.js +0 -1
  215. package/dist/p-CRngHsR7.js +0 -1
  216. package/dist/p-Ct3Ixgvf.js +0 -1
  217. package/dist/p-DKsrt7dx.js +0 -1
  218. package/dist/p-DZWWuJac.js +0 -1
  219. package/dist/p-Dehss-X0.js +0 -1
  220. package/dist/p-KxRqlvSh.js +0 -1
  221. package/dist/p-MgTlrSP_.js +0 -1
  222. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
  223. package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +0 -25
  224. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
@@ -0,0 +1,63 @@
1
+ import { L as c, u as r, D as a, P as h, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { c as l } from "./clsx-OuTLNxxd.js";
3
+ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
4
+ "gids-tab--full": e === "full",
5
+ "gids-tab--item-subtle": t === "subtle",
6
+ "gids-tab--item-underlined": t === "underlined"
7
+ }, d), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
+ __proto__: null,
9
+ getGidsTabClassNames: o
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: p } = b, i = c(class extends r {
11
+ constructor(e) {
12
+ super(), e !== !1 && this.__registerHost(), this.width = "intrinsic", this.appearance = "default";
13
+ }
14
+ handleWidthChange(e) {
15
+ this.width = e;
16
+ }
17
+ handleAppearanceChange(e) {
18
+ this.appearance = e;
19
+ }
20
+ handleActiveTabIdChange(e) {
21
+ this.activeTabId = e;
22
+ }
23
+ componentDidLoad() {
24
+ this.syncPropsToChildren(), this.hostElement.addEventListener("slotchange", (() => this.syncPropsToChildren()));
25
+ }
26
+ componentDidUpdate() {
27
+ this.syncPropsToChildren();
28
+ }
29
+ syncPropsToChildren() {
30
+ this.hostElement.querySelectorAll("gids-tab-item").forEach(((e) => {
31
+ e && (e.appearance = this.appearance, e.width = this.width, e.active = this.isTabActive(e.itemId), e.onPressGidsTabItem = (t) => {
32
+ this.activeTabId = t?.itemId, this.onPressGidsTab && this.onPressGidsTab(t), this.syncPropsToChildren();
33
+ });
34
+ }));
35
+ }
36
+ isTabActive(e) {
37
+ return e === this.activeTabId;
38
+ }
39
+ render() {
40
+ const e = p({ width: this.width, appearance: this.appearance });
41
+ return a(h, { key: "cc7d6cde876ed48c224b7226f750bb5e4bb4cbf1", class: e }, a("slot", { key: "bb499ecb3dfd5cba0fb59b1f22ec135fe435b28c" }));
42
+ }
43
+ get hostElement() {
44
+ return this;
45
+ }
46
+ static get watchers() {
47
+ return { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], activeTabId: [{ handleActiveTabIdChange: 0 }] };
48
+ }
49
+ static get style() {
50
+ return ".gids-tab{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--gids-gap-150)}.gids-tab--full{display:flex}.gids-tab--item-subtle{gap:0}.gids-tab--item-underlined{gap:0}";
51
+ }
52
+ }, [260, "gids-tab", { width: [1], appearance: [1], activeTabId: [1, "active-tab-id"], onPressGidsTab: [16] }, void 0, { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], activeTabId: [{ handleActiveTabIdChange: 0 }] }]);
53
+ function n() {
54
+ typeof customElements < "u" && ["gids-tab"].forEach(((e) => {
55
+ e === "gids-tab" && (customElements.get(s(e)) || customElements.define(s(e), i));
56
+ }));
57
+ }
58
+ n();
59
+ const m = i, f = n;
60
+ export {
61
+ m as GidsTab,
62
+ f as defineCustomElement
63
+ };
@@ -1,10 +1,10 @@
1
- import { _ as u, u as h, q as c, M as f, T as i, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as m } from "./p-CRngHsR7-DL9wz3Z3.js";
4
- import { r as p } from "./p-DZWWuJac-DNQvnHAr.js";
5
- import { h as g } from "./p-BvYnawkJ-DohV9UNG.js";
6
- import { r as x } from "./p-DfFqFdmS-DjI2pk-0.js";
7
- import { g as _ } from "./p-BnL97lOW-BO0p4EdC.js";
1
+ import { L as u, u as h, z as c, C as f, D as i, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { i as m } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { a as b } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
+ import { r as p } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
+ import { h as g } from "./p-C7ifjRCE-CRlorwoN.js";
6
+ import { r as x } from "./p-Doi8Yizl-BszWK5Dq.js";
7
+ import { g as _ } from "./p-D4Pimu_8-DfEGRQGf.js";
8
8
  const v = (e, t) => {
9
9
  if (!(e === void 0 || t === void 0))
10
10
  return `${e} / ${Math.max(t, 0)}`;
@@ -17,14 +17,14 @@ const v = (e, t) => {
17
17
  default:
18
18
  return "default";
19
19
  }
20
- }, n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ }, l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
21
  __proto__: null,
22
22
  formatCharCount: v,
23
23
  inputToGidsFieldStatus: T
24
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatus: y } = n, q = (e) => e === "implicit" || e === void 0 ? "implicit" : y(e), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
+ }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatus: y } = l, q = (e) => e === "implicit" || e === void 0 ? "implicit" : y(e), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
25
  __proto__: null,
26
26
  inputToGidsFieldStatus: q
27
- }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = n, { inputToGidsFieldStatus: O } = C, a = u(class extends h {
27
+ }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = l, { inputToGidsFieldStatus: O } = C, n = u(class extends h {
28
28
  constructor(e) {
29
29
  super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = c(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
30
30
  const t = this.#t?.querySelector("input.gids-input__control");
@@ -41,7 +41,7 @@ const v = (e, t) => {
41
41
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
42
42
  }
43
43
  connectedCallback() {
44
- const e = b();
44
+ const e = m();
45
45
  e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this._startSlotContentObserver();
46
46
  }
47
47
  disconnectedCallback() {
@@ -50,8 +50,8 @@ const v = (e, t) => {
50
50
  #e;
51
51
  #t;
52
52
  render() {
53
- const { id: e, ...t } = this.inputProps ?? {}, l = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
54
- return i("gids-field", { key: "d11133ec5a64d0bc929a2c09530e1c4b7040a441", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "edf0168bd4940b9f98fff8b7e03d865f46f4b6ac", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: l }, this.label), i("gids-input", { key: "317347850ebc9f671a16c816807f9ca55f0f9fa6", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: l, maxLength: this.maxLength } }, i("slot", { key: "87815f4d215bbb0c542457b9216f7446595d9ec2", name: "leadingIcon" }), i("slot", { key: "6648b1d8d3585e1df78039a356a297760272af4f", name: "leadingAccessory" }), d && i(p, { key: "7eba5acbfdfe1c9173d43bce1592f8e12c8602cb", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "85017d875b4390fec245b9da8409787a2bd86909", name: "trailingIcon" })));
53
+ const { id: e, ...t } = this.inputProps ?? {}, a = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
54
+ return i("gids-field", { key: "951d6052bb8e98950f01a1c204a35904e3a3ee4c", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(b, { key: "02a0b0308d754a68dd5f1be3cd8dd10b191f32a6", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: a }, this.label), i("gids-input", { key: "9e601808d03998011afd0cef3a683e153ea42f10", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: a, maxLength: this.maxLength } }, i("slot", { key: "f519b7683865ec3bc7d6dc02c3a4d3383b62c09a", name: "leadingIcon" }), i("slot", { key: "4241d7a23659bd3f7fe2b54ad3e9fce5b83de649", name: "leadingAccessory" }), d && i(p, { key: "35d7868cec672757617bad343a3e700a4a9719c8", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "07f1cd892f9eb103110e54f377ed6683da22157d", name: "trailingIcon" })));
55
55
  }
56
56
  get _el() {
57
57
  return this;
@@ -61,7 +61,7 @@ function r() {
61
61
  typeof customElements < "u" && ["gids-text-field", "gids-field", "gids-input"].forEach(((e) => {
62
62
  switch (e) {
63
63
  case "gids-text-field":
64
- customElements.get(s(e)) || customElements.define(s(e), a);
64
+ customElements.get(s(e)) || customElements.define(s(e), n);
65
65
  break;
66
66
  case "gids-field":
67
67
  customElements.get(s(e)) || g();
@@ -72,8 +72,8 @@ function r() {
72
72
  }));
73
73
  }
74
74
  r();
75
- const P = a, G = r;
75
+ const G = n, B = r;
76
76
  export {
77
- P as GidsTextField,
78
- G as defineCustomElement
77
+ G as GidsTextField,
78
+ B as defineCustomElement
79
79
  };
@@ -1,46 +1,6 @@
1
- import { _ as l, u as d, q as n, T as t, H as c, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { o as a } from "./p-KxRqlvSh-JOFDmT0B.js";
3
- import { i as h } from "./p-B2zUuNXz-BLBgQDu7.js";
4
- const i = l(class extends d {
5
- get selected() {
6
- return this.#e ?? this.defaultSelected;
7
- }
8
- set selected(e) {
9
- this.#e = e === void 0 ? void 0 : !!e;
10
- }
11
- constructor(e) {
12
- super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = n(this, "select"), this._toggle = this._toggle.bind(this);
13
- }
14
- #e;
15
- connectedCallback() {
16
- const e = h();
17
- e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
18
- }
19
- _toggle() {
20
- const e = !this.selected;
21
- this._el.selected = e, this.select?.emit(e);
22
- }
23
- render() {
24
- return t(c, { key: "d95b05ee98862e9fa4ee50ae676fded8234de63d" }, t("style", { key: "844be4d370a1d44e4c18b828ed2cfab3bd702cfd" }, `:host {
25
- display: ${this.width === "full" ? "block" : "inline-block"}
26
- }`), t(a, { key: "510307e7bfce966e96422999f5309e0df3e62634", 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: "38bff264ed88090ee4567650417ccb86805fca98" })));
27
- }
28
- _onlyHasLeadingIcon() {
29
- const e = this._el.childNodes;
30
- return e.length === 1 && e[0] instanceof window.Element && e[0].slot === "leadingIcon";
31
- }
32
- get _el() {
33
- return this;
34
- }
35
- }, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [6660] }]);
36
- function o() {
37
- typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
38
- e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e), i));
39
- }));
40
- }
41
- o();
42
- const u = i, b = o;
1
+ import { l as o, o as t } from "./p-Bj28yqMD-Dz1SWSqM.js";
2
+ const s = o, m = t;
43
3
  export {
44
- u as GidsToggleButton,
45
- b as defineCustomElement
4
+ s as GidsToggleButton,
5
+ m as defineCustomElement
46
6
  };
@@ -1,4 +1,4 @@
1
- import { _ as n, u as l, T as e, L as s, P as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as n, u as l, D as e, F as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { g as r } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
3
  import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
4
4
  import { o as h } from "./p-B8kX8Vqv-trBz4jdS.js";
@@ -38,7 +38,7 @@ const o = n(class extends l {
38
38
  t && (t.removeEventListener("mouseenter", this.handleShowEvent), t.removeEventListener("focus", this.handleShowEvent), t.removeEventListener("mouseleave", this.handleHideEvent), t.removeEventListener("blur", this.handleHideEvent));
39
39
  }
40
40
  render() {
41
- return e(s, { key: "f9e6c76e1f2b3faa2c2ed5b1f5c28c4b11878819" }, e("slot", { key: "1c36da89ba7d6a20f0e5204d5c079dbc64226d56" }), e("span", { key: "ac4972259978f2e52fc15545a28dc2375ef370cd", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "49a7b319f5f0a87befe6e5d355d846dae12a9644", id: "arrow" }), this.tooltipText));
41
+ return e(s, { key: "b1339ba783e86f33840b20038f900b09ba70e61f" }, e("slot", { key: "1103b8056a880282cad202905f8a606ffd8ed119" }), e("span", { key: "ad2f4fc135f7d26d7224e134149f2075f66bed4e", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "c1edf194581bd0696b32b92657a59bc6f876774d", id: "arrow" }), this.tooltipText));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,6 +1,6 @@
1
- import { j as y, a as A, O as u, F as G, b as P } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { O as y, V as A, S as u, U as G, W as P } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as E, n as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { o as $ } from "./p-B8kX8Vqv-trBz4jdS.js";
3
+ import { o as T } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  import { s as d } from "./assets-Drv1fXkA.js";
5
5
  function i(e, r) {
6
6
  d(e, r);
@@ -22,7 +22,7 @@ const c = (e) => {
22
22
  }
23
23
  };
24
24
  export {
25
- $ as GidsFloatingElementType,
25
+ T as GidsFloatingElementType,
26
26
  y as getAssetPath,
27
27
  E as getConstructedGidsStylesheet,
28
28
  x as refreshConstructedGidsStylesheet,
@@ -0,0 +1,4 @@
1
+ const e = (n) => n !== void 0 && (!Array.isArray(n) || n.length > 0);
2
+ export {
3
+ e as n
4
+ };
@@ -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 { d as x } from "./p-qb1aWgjh-CzmMPIME.js";
4
+ import { l as z } from "./p-BYDimyG--DBCLrqDJ.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,16 +1,16 @@
1
- import { P as e, _ as t, u as s, T as o } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { d as a } from "./p-BnL97lOW-BO0p4EdC.js";
4
- const c = t(class extends s {
1
+ import { q as e, L as t, u as s, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { d } from "./p-D4Pimu_8-DfEGRQGf.js";
4
+ const n = t(class extends s {
5
5
  constructor(i) {
6
6
  super(), i !== !1 && this.__registerHost(), this.__attachShadow();
7
7
  }
8
8
  connectedCallback() {
9
- const i = d();
9
+ const i = c();
10
10
  i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
11
11
  }
12
12
  render() {
13
- return o(a, { key: "7c74510543b6eae79c31fbf55124ad4e37f64c63", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
13
+ return o(d, { key: "cb54fb7ca0ded77690f44cbf794b2e192cf9c681", 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 c = 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 n() {
22
+ function a() {
23
23
  typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
24
- i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), c));
24
+ i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), n));
25
25
  }));
26
26
  }
27
- n();
27
+ a();
28
28
  export {
29
- n as d,
30
- c as n
29
+ a as d,
30
+ n
31
31
  };
@@ -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 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";
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,13 +14,13 @@ 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
- const { title: e, value: n, selectedIndex: i, disabled: l, id: a } = s.detail;
23
- l || typeof e != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
22
+ const { title: e, value: n, selectedIndex: i, disabled: o, id: a } = s.detail;
23
+ o || typeof e != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
24
24
  this.suppressNextMenuClickSelection = !1;
25
25
  })), this.applySelection({ id: a, month: e, monthInNumber: Number(n), disabled: !1, selectedIndex: i }));
26
26
  }, this.handleMenuClick = (s) => {
@@ -28,7 +28,7 @@ const p = (t) => f("gids-calendar-month-list", t), I = () => {
28
28
  const e = s?.detail;
29
29
  this.applySelection({ id: e.id, monthInNumber: Number(e.value), month: e.title, disabled: !1, selectedIndex: e.selectedIndex });
30
30
  }, this.monthsList = () => M(), this.getSelectedItem = () => {
31
- const s = this.selectedMonthNumber, e = this.monthsList(), n = e.findIndex(((l) => l.value === s));
31
+ const s = this.selectedMonthNumber, e = this.monthsList(), n = e.findIndex(((o) => o.value === s));
32
32
  let i;
33
33
  return n != null && n !== -1 && (i = e[n]), { foundItem: i, foundIndex: n };
34
34
  }, this.isItemSelected = (s) => {
@@ -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 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) => {
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 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
  })))));
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(d(t)) || customElements.define(d(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,5 +1,5 @@
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";
1
+ import { q as i, L as s, u as n, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { d } from "./p-D4Pimu_8-DfEGRQGf.js";
3
3
  import { c as l } from "./clsx-OuTLNxxd.js";
4
4
  const o = ({ seriesType: e, orientation: a }, r) => l("gids-chart-legend-item", {
5
5
  // 'gids-chart-legend-item--series-1': seriesType === '1', // by default
@@ -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: "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" })));
30
30
  }
31
31
  static get watchers() {
32
32
  return { orientation: [{ handleOrientationChange: 0 }], seriesType: [{ handleSeriesTypeChange: 0 }] };