@ganpatiinfo/gids-core-web 8.2.0 → 10.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 (231) hide show
  1. package/dist/css/index.css +1919 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/custom-elements.json +332 -0
  4. package/dist/gids-activity-gauge.d.ts +11 -0
  5. package/dist/gids-activity-gauge.js +1 -0
  6. package/dist/gids-bar-chart.d.ts +11 -0
  7. package/dist/gids-bar-chart.js +1 -0
  8. package/dist/gids-calendar-header-panel.d.ts +11 -0
  9. package/dist/gids-calendar-header-panel.js +1 -0
  10. package/dist/gids-calendar-month-list.d.ts +11 -0
  11. package/dist/gids-calendar-month-list.js +1 -0
  12. package/dist/gids-calendar-year-list.d.ts +11 -0
  13. package/dist/gids-calendar-year-list.js +1 -0
  14. package/dist/gids-calendar.d.ts +11 -0
  15. package/dist/gids-calendar.js +1 -0
  16. package/dist/gids-chart-legend-item.d.ts +11 -0
  17. package/dist/gids-chart-legend-item.js +1 -0
  18. package/dist/gids-chart-legend.d.ts +11 -0
  19. package/dist/gids-chart-legend.js +1 -0
  20. package/dist/gids-chart.d.ts +11 -0
  21. package/dist/gids-chart.js +1 -0
  22. package/dist/gids-chevron-button.d.ts +11 -0
  23. package/dist/gids-chevron-button.js +1 -0
  24. package/dist/gids-dot.d.ts +11 -0
  25. package/dist/gids-dot.js +1 -0
  26. package/dist/gids-dropdown-field.d.ts +11 -0
  27. package/dist/gids-dropdown-field.js +1 -0
  28. package/dist/gids-dropdown-picker.d.ts +11 -0
  29. package/dist/gids-dropdown-picker.js +1 -0
  30. package/dist/gids-dropdown.d.ts +11 -0
  31. package/dist/gids-dropdown.js +1 -0
  32. package/dist/gids-field.d.ts +1 -1
  33. package/dist/gids-field.js +1 -1
  34. package/dist/gids-icon.d.ts +1 -1
  35. package/dist/gids-icon.js +1 -1
  36. package/dist/gids-input.d.ts +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.d.ts +11 -0
  39. package/dist/gids-level-gauge.js +1 -0
  40. package/dist/gids-line-chart.d.ts +11 -0
  41. package/dist/gids-line-chart.js +1 -0
  42. package/dist/gids-notification.d.ts +1 -1
  43. package/dist/gids-notification.js +1 -1
  44. package/dist/gids-overflow-container.d.ts +1 -1
  45. package/dist/gids-overflow-container.js +1 -1
  46. package/dist/gids-overlay-provider.d.ts +1 -1
  47. package/dist/gids-overlay-provider.js +1 -1
  48. package/dist/gids-password-field.d.ts +1 -1
  49. package/dist/gids-password-field.js +1 -1
  50. package/dist/gids-pie-chart.d.ts +11 -0
  51. package/dist/gids-pie-chart.js +1 -0
  52. package/dist/gids-popover.d.ts +11 -0
  53. package/dist/gids-popover.js +1 -0
  54. package/dist/gids-progress-circle.d.ts +11 -0
  55. package/dist/gids-progress-circle.js +1 -0
  56. package/dist/gids-scrim.d.ts +1 -1
  57. package/dist/gids-scrim.js +1 -1
  58. package/dist/gids-snackbar.d.ts +1 -1
  59. package/dist/gids-snackbar.js +1 -1
  60. package/dist/gids-text-field.d.ts +1 -1
  61. package/dist/gids-text-field.js +1 -1
  62. package/dist/gids-toggle-button.d.ts +1 -1
  63. package/dist/gids-toggle-button.js +1 -1
  64. package/dist/gids-tooltip.d.ts +11 -0
  65. package/dist/gids-tooltip.js +1 -0
  66. package/dist/index.js +1 -1
  67. package/dist/p-9_mrQ7ac.js +1 -0
  68. package/dist/p-B81J5HCC.js +1 -0
  69. package/dist/p-B8kX8Vqv.js +1 -0
  70. package/dist/p-BFHWXEeg.js +1 -0
  71. package/dist/p-B_HaXpJZ.js +1 -0
  72. package/dist/p-BaO-kEWS.js +1 -0
  73. package/dist/p-BiPAgxAQ.js +1 -0
  74. package/dist/p-Bmb-HiXg.js +1 -0
  75. package/dist/{p-veoOgDXg.js → p-BnL97lOW.js} +1 -1
  76. package/dist/{p-DjvDBWCb.js → p-BvYnawkJ.js} +1 -1
  77. package/dist/p-CIP0xyhD.js +1 -0
  78. package/dist/p-CJzporPT.js +1 -0
  79. package/dist/p-CPSHPtGE.js +1 -0
  80. package/dist/p-CRngHsR7.js +1 -0
  81. package/dist/p-Ct3Ixgvf.js +1 -0
  82. package/dist/p-D93TNeOt.js +1 -0
  83. package/dist/p-DKsrt7dx.js +1 -0
  84. package/dist/p-DZWWuJac.js +1 -0
  85. package/dist/p-D_wcwB7E.js +1 -0
  86. package/dist/p-Dehss-X0.js +1 -0
  87. package/dist/{p-Bg3lw2Ae.js → p-DfFqFdmS.js} +1 -1
  88. package/dist/p-KxRqlvSh.js +1 -0
  89. package/dist/p-MgTlrSP_.js +1 -0
  90. package/dist/p-a3JfEYJp.js +1 -0
  91. package/dist/p-h6alWGT8.js +1 -0
  92. package/dist/p-quZYWCxU.js +1 -0
  93. package/dist/p-tyIgTtUC.js +1 -0
  94. package/dist/p-uqSjmNkw.js +1 -0
  95. package/dist/types/components/html/GidsButton/GidsButton.d.ts +1 -1
  96. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  97. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  98. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +9 -0
  99. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +6 -0
  100. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +5 -0
  101. package/dist/types/components/html/GidsEditButton/GidsEditButton.d.ts +7 -0
  102. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +11 -0
  103. package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +6 -0
  104. package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +5 -0
  105. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  106. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +57 -0
  107. package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +4 -0
  108. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  109. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  110. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  111. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  112. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  113. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  114. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  115. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  116. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  117. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  118. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  119. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  120. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  121. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  122. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  123. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  124. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  125. package/dist/types/components/webComponents/GidsPopover/GidsPopover.d.ts +24 -0
  126. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  127. package/dist/types/components/webComponents/GidsTooltip/GidsTooltip.d.ts +23 -0
  128. package/dist/types/components.d.ts +1420 -64
  129. package/dist/types/index.d.ts +2 -0
  130. package/dist/types/utils/childrenValidityUtils.d.ts +8 -0
  131. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  132. package/dist-bundled/es/gids-bar-chart.js +6 -0
  133. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  134. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  135. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  136. package/dist-bundled/es/gids-calendar.js +153 -0
  137. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  138. package/dist-bundled/es/gids-chart-legend.js +6 -0
  139. package/dist-bundled/es/gids-chart.js +108 -0
  140. package/dist-bundled/es/gids-chevron-button.js +56 -0
  141. package/dist-bundled/es/gids-dot.js +6 -0
  142. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  143. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  144. package/dist-bundled/es/gids-dropdown.js +6 -0
  145. package/dist-bundled/es/gids-field.js +1 -1
  146. package/dist-bundled/es/gids-icon.js +4 -30
  147. package/dist-bundled/es/gids-input.js +4 -4
  148. package/dist-bundled/es/gids-level-gauge.js +6 -0
  149. package/dist-bundled/es/gids-line-chart.js +6 -0
  150. package/dist-bundled/es/gids-notification.js +1 -1
  151. package/dist-bundled/es/gids-overflow-container.js +9 -9
  152. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  153. package/dist-bundled/es/gids-password-field.js +21 -20
  154. package/dist-bundled/es/gids-pie-chart.js +6 -0
  155. package/dist-bundled/es/gids-popover.js +110 -0
  156. package/dist-bundled/es/gids-progress-circle.js +6 -0
  157. package/dist-bundled/es/gids-scrim.js +7 -7
  158. package/dist-bundled/es/gids-snackbar.js +1 -1
  159. package/dist-bundled/es/gids-text-field.js +14 -13
  160. package/dist-bundled/es/gids-toggle-button.js +8 -8
  161. package/dist-bundled/es/gids-tooltip.js +66 -0
  162. package/dist-bundled/es/index.js +33 -19
  163. package/dist-bundled/es/p-9_mrQ7ac-If6e6cvJ.js +71 -0
  164. package/dist-bundled/es/p-B81J5HCC-Bkt2yXKi.js +47 -0
  165. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +7 -0
  166. package/dist-bundled/es/p-BFHWXEeg-ByjSjz8i.js +133 -0
  167. package/dist-bundled/es/p-B_HaXpJZ-a2SDgQ0E.js +37 -0
  168. package/dist-bundled/es/p-BaO-kEWS-ZITkeP-j.js +241 -0
  169. package/dist-bundled/es/p-BiPAgxAQ-BtMBQpJY.js +31 -0
  170. package/dist-bundled/es/p-Bmb-HiXg-MyHWdhpw.js +80 -0
  171. package/dist-bundled/es/{p-veoOgDXg-DElc87c0.js → p-BnL97lOW-BO0p4EdC.js} +20 -13
  172. package/dist-bundled/es/{p-DjvDBWCb-C9js0PPL.js → p-BvYnawkJ-DohV9UNG.js} +10 -10
  173. package/dist-bundled/es/p-CIP0xyhD-D6y5soLj.js +180 -0
  174. package/dist-bundled/es/p-CJzporPT-I_OdjJsQ.js +92 -0
  175. package/dist-bundled/es/p-CPSHPtGE-C7baJgXR.js +115 -0
  176. package/dist-bundled/es/p-CRngHsR7-DL9wz3Z3.js +25 -0
  177. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +646 -0
  178. package/dist-bundled/es/p-D93TNeOt-Vvshbux8.js +88 -0
  179. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-DKsrt7dx-ImYLc4xz.js} +1 -1
  180. package/dist-bundled/es/p-DZWWuJac-DNQvnHAr.js +15 -0
  181. package/dist-bundled/es/p-D_wcwB7E-d3jYxfod.js +20 -0
  182. package/dist-bundled/es/p-Dehss-X0-Di5vMgvd.js +29 -0
  183. package/dist-bundled/es/{p-Bg3lw2Ae-CkC8nUqv.js → p-DfFqFdmS-DjI2pk-0.js} +6 -6
  184. package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +25 -0
  185. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +70 -0
  186. package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +1128 -0
  187. package/dist-bundled/es/p-h6alWGT8-CSY2g3c8.js +67 -0
  188. package/dist-bundled/es/p-quZYWCxU-CPyWW0nv.js +56 -0
  189. package/dist-bundled/es/p-tyIgTtUC-C8jR4A5G.js +71 -0
  190. package/dist-bundled/es/p-uqSjmNkw-Cz2T86sC.js +55 -0
  191. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  192. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  193. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  194. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  195. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  196. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  197. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  198. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  199. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  200. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  201. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  202. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  203. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  204. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  205. package/dist-bundled/umd/gids-field.umd.js +2 -2
  206. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  207. package/dist-bundled/umd/gids-input.umd.js +2 -2
  208. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  209. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  210. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  211. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  212. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  213. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  214. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  215. package/dist-bundled/umd/gids-popover.umd.js +5 -0
  216. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  217. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  218. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  219. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  220. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  221. package/dist-bundled/umd/gids-tooltip.umd.js +5 -0
  222. package/dist-bundled/umd/index.umd.js +2 -2
  223. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  224. package/package.json +422 -262
  225. package/dist/p-CWdkmFbc.js +0 -1
  226. package/dist/p-DijVkS9b.js +0 -1
  227. package/dist/p-DybsMR13.js +0 -1
  228. package/dist/p-ibikYq-w.js +0 -1
  229. package/dist-bundled/es/p-CWdkmFbc-D89ZE8Mi.js +0 -24
  230. package/dist-bundled/es/p-DijVkS9b-CtFkEtlE.js +0 -35
  231. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -1,3 +1,5 @@
1
1
  export * from './utils/constructedGidsStylesheet.js';
2
2
  export * from './utils/assets.js';
3
+ export * from './utils/childrenValidityUtils.js';
4
+ export { GidsFloatingElementType } from './components/shared/GidsFloatingElementTypes.js';
3
5
  export type * from './components.d.ts';
@@ -0,0 +1,8 @@
1
+ import type { FunctionalComponent, VNode } from '../stencil-public-runtime';
2
+ export interface TestHtmlChildrenValidity<T = Record<string, unknown>> {
3
+ children?: VNode | VNode[];
4
+ classNameToBeValidated?: string;
5
+ childrenToBeValidated?: FunctionalComponent<T>;
6
+ currentComponentName?: string;
7
+ }
8
+ export declare const testHtmlChildrenValidity: <T>({ children, classNameToBeValidated, childrenToBeValidated, currentComponentName, }: TestHtmlChildrenValidity<T>) => void;
@@ -0,0 +1,6 @@
1
+ import { o as t, d as e } from "./p-h6alWGT8-CSY2g3c8.js";
2
+ const i = t, s = e;
3
+ export {
4
+ i as GidsActivityGauge,
5
+ s as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { d as t, g as e } from "./p-CPSHPtGE-C7baJgXR.js";
2
+ const r = t, s = e;
3
+ export {
4
+ r as GidsBarChart,
5
+ s as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { u as e, g as a } from "./p-CIP0xyhD-D6y5soLj.js";
2
+ const n = e, o = a;
3
+ export {
4
+ n as GidsCalendarHeaderPanel,
5
+ o as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { c as t, l as e } from "./p-Bmb-HiXg-MyHWdhpw.js";
2
+ const s = t, m = e;
3
+ export {
4
+ s as GidsCalendarMonthList,
5
+ m as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { l as e, u as s } from "./p-CJzporPT-I_OdjJsQ.js";
2
+ const t = e, a = s;
3
+ export {
4
+ t as GidsCalendarYearList,
5
+ a as defineCustomElement
6
+ };
@@ -0,0 +1,153 @@
1
+ import { _ as P, P as c, u as D, T as d } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { g as S, n as M } from "./p-CIP0xyhD-D6y5soLj.js";
3
+ import { l as N } from "./p-Bmb-HiXg-MyHWdhpw.js";
4
+ import { u as Y } from "./p-CJzporPT-I_OdjJsQ.js";
5
+ import { g as k } from "./p-9_mrQ7ac-If6e6cvJ.js";
6
+ import { r as w } from "./p-BFHWXEeg-ByjSjz8i.js";
7
+ import { d as x } from "./p-BiPAgxAQ-BtMBQpJY.js";
8
+ import { c as b } from "./clsx-OuTLNxxd.js";
9
+ const _ = ({ disabled: e, selected: t, today: a, cellType: n, dot: r }, l) => b("gids-calendar-cell", {
10
+ "gids-calendar-cell--selected": t && !e && !a,
11
+ "gids-calendar-cell--today": a && !e && !r,
12
+ "gids-calendar-cell--label-non-effective": n === "non-effective",
13
+ "gids-calendar-cell--default-effective": n === "effective" && !e && !a && !t,
14
+ "gids-calendar-cell--selected-effective": t && n === "effective" && !e && !a,
15
+ "gids-calendar-cell--today-effective": a && n === "effective" && !e && !r,
16
+ "gids-calendar-cell--default-disabled": e && !a && !t,
17
+ "gids-calendar-cell--selected-disabled": e && t && !a,
18
+ "gids-calendar-cell--today-disabled": e && a && !r,
19
+ "gids-calendar-cell--today-dot": a && !e && r,
20
+ "gids-calendar-cell--today-dot-effective": a && n === "effective" && !e && r,
21
+ "gids-calendar-cell--today-dot-disabled": e && a && r
22
+ }, l), E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ __proto__: null,
24
+ getGidsCalendarCellClassNames: _
25
+ }, Symbol.toStringTag, { value: "Module" })), A = (e) => b("gids-calendar-day-cell", e), O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
+ __proto__: null,
27
+ getGidsCalendarDayCellClassNames: A
28
+ }, Symbol.toStringTag, { value: "Module" })), $ = ({ width: e }, t) => b("gids-calendar", {
29
+ "gids-calendar--width-fixed": e === "fixed",
30
+ "gids-calendar--width-intrinsic": e === "intrinsic"
31
+ }, t), T = ({ currentMonth: e, currentYear: t }) => {
32
+ if (!t || !e)
33
+ return [];
34
+ const a = t, n = e - 1, r = new Date(a, n, 1).getDay(), l = new Date(a, n + 1, 0).getDate(), g = new Date(a, n, 0).getDate(), o = [], h = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
35
+ for (let s = r - 1; s >= 0; s--) {
36
+ const i = g - s, u = n === 0 ? 12 : n, f = `${n === 0 ? a - 1 : a}-${String(u).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
37
+ o.push({
38
+ day: i,
39
+ isCurrentMonth: !1,
40
+ dateString: f,
41
+ isToday: h === f
42
+ });
43
+ }
44
+ for (let s = 1; s <= l; s++) {
45
+ const i = `${a}-${String(e).padStart(2, "0")}-${String(s).padStart(2, "0")}`;
46
+ o.push({
47
+ day: s,
48
+ isCurrentMonth: !0,
49
+ dateString: i,
50
+ isToday: h === i
51
+ });
52
+ }
53
+ const m = 42 - o.length;
54
+ for (let s = 1; s <= m; s++) {
55
+ const i = n === 11 ? 1 : n + 2, p = `${n === 11 ? a + 1 : a}-${String(i).padStart(2, "0")}-${String(s).padStart(2, "0")}`;
56
+ o.push({
57
+ day: s,
58
+ isCurrentMonth: !1,
59
+ dateString: p,
60
+ isToday: h === p
61
+ });
62
+ }
63
+ return o;
64
+ }, H = () => ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
+ __proto__: null,
66
+ generateCalendarDays: T,
67
+ generateCalendarWeekdays: H,
68
+ getGidsCalendarClassNames: $
69
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarCellClassNames: j } = E, C = ({ label: e, dot: t, disabled: a, selected: n, today: r, onPressCalendarCell: l, class: g, role: o = "gridcell", cellType: h = "effective", ...m }) => {
70
+ const s = !a && h === "effective";
71
+ return d("button", { class: j({ disabled: a, selected: n, today: r, cellType: h, dot: t }, g), type: "button", role: o, "aria-selected": n ? "true" : "false", disabled: a, onClick: (i) => {
72
+ if (i.defaultPrevented || a || !s) return;
73
+ const u = new CustomEvent("onPressCalendarCell", { bubbles: !0, composed: !0, detail: { cellValue: e, selected: n, disabled: a, dot: t, today: r } });
74
+ l && l(u);
75
+ }, ...m }, e ? d("span", null, e) : null, t ? d("gids-dot", { appearance: (() => {
76
+ let i = "subtle";
77
+ return n && !a && (i = "static-inverse"), i;
78
+ })(), disabled: a, size: "xs" }) : null);
79
+ }, { getGidsCalendarDayCellClassNames: G } = O, z = ({ id: e, label: t, class: a, ...n }) => d(C, { ...n, id: e, label: t, name: t, dot: !1, disabled: !1, selected: !1, today: !1, cellType: "non-effective", class: G(a) }), { getGidsCalendarClassNames: L, generateCalendarDays: I, generateCalendarWeekdays: W } = V, { getCalendarMonthNameViaMonthNumber: F } = M, v = P(class extends D {
80
+ constructor(e) {
81
+ super(), e !== !1 && this.__registerHost(), this.width = "intrinsic", this.panelActionsAppearance = "primary", this.dotVisibleDates = [], this.monthPickerDisabled = !1, this.yearPickerDisabled = !1, this.previousDisabled = !1, this.nextDisabled = !1, this.panelDisabled = !1, this.currentMonth = (/* @__PURE__ */ new Date()).getMonth() + 1, this.currentYear = (/* @__PURE__ */ new Date()).getFullYear(), this.handleCHPOnPreviousActionEvent = (t) => {
82
+ t && (this.setLocalStates({ monthNumber: t.monthNumber, year: t.year }), this.onPreviousChange && this.onPreviousChange(t));
83
+ }, this.handleCHPOnNextActionEvent = (t) => {
84
+ t && (this.setLocalStates({ monthNumber: t.monthNumber, year: t.year }), this.onNextChange && this.onNextChange(t));
85
+ }, this.handleCHPOnPanelMonthChangeEvent = (t) => {
86
+ t && (this.setLocalStates({ monthNumber: t.monthNumber, year: t.year }), this.onPanelMonthChange && this.onPanelMonthChange(t));
87
+ }, this.handleCHPOnPanelYearChangeEvent = (t) => {
88
+ t && (this.setLocalStates({ monthNumber: t.monthNumber, year: t.year }), this.onPanelYearChange && this.onPanelYearChange(t));
89
+ }, this.setLocalStates = (t) => {
90
+ const { monthNumber: a, year: n } = t;
91
+ a && (this.currentMonth = Number(a)), n && (this.currentYear = Number(n));
92
+ };
93
+ }
94
+ handleActiveMonthPropChange(e) {
95
+ e != null && (this.currentMonth = Number(e));
96
+ }
97
+ handleActiveYearPropChange(e) {
98
+ e != null && (this.currentYear = Number(e));
99
+ }
100
+ componentWillLoad() {
101
+ this.activeMonthNumber != null && (this.currentMonth = Number(this.activeMonthNumber)), this.activeYear != null && (this.currentYear = Number(this.activeYear));
102
+ }
103
+ handleDateCellClick({ event: e, dateStr: t, isCurrentMonth: a }) {
104
+ if (e?.detail?.disabled) return;
105
+ const r = (/* @__PURE__ */ new Date()).toISOString().split("T")[0], l = F(this.currentMonth);
106
+ this.onSelectionCalendarCell && this.onSelectionCalendarCell({ currentActivePanelState: { monthNumber: this.currentMonth, year: this.currentYear, month: l, panelValue: `${l} ${this.currentYear}` }, date: t, isCurrentMonth: a, selected: !0, today: r === t, dotVisibleDates: this.dotVisibleDates ?? [] });
107
+ }
108
+ render() {
109
+ const e = I({ currentYear: this.currentYear, currentMonth: this.currentMonth }), t = W(), a = L({ width: this.width });
110
+ return d("div", { key: "aff90d6c0767654bc26a6d8d50af709d9aa8cdb9", class: a }, d("gids-calendar-header-panel", { key: "c3aba25935a89601684765269f5b4c51c7060519", appearance: this.panelActionsAppearance, startYear: this.startYear, endYear: this.endYear, monthPickerDisabled: this.monthPickerDisabled, yearPickerDisabled: this.yearPickerDisabled, previousDisabled: this.previousDisabled, nextDisabled: this.nextDisabled, panelDisabled: this.panelDisabled, selectedMonthNumber: this.currentMonth, selectedYear: this.currentYear, onPanelMonthChange: this.handleCHPOnPanelMonthChangeEvent, onPanelYearChange: this.handleCHPOnPanelYearChangeEvent, onNextChange: this.handleCHPOnNextActionEvent, onPreviousChange: this.handleCHPOnPreviousActionEvent }), d("div", { key: "de085679ec28367ad327d87e69ff5a8aa69739cc", class: "gids-calendar__weekdays-grid" }, t.map(((n) => d(z, { label: n })))), d("div", { key: "e538630d3e1084de6b76be7c4eea40ab835267c4", class: "gids-calendar__days-grid" }, e.map(((n) => {
111
+ const r = this.selectedDate === n.dateString, l = this.dotVisibleDates?.includes(n.dateString);
112
+ return d(C, { label: n.day + "", today: n.isToday, selected: r, dot: l, cellType: "effective", disabled: !n.isCurrentMonth, onPressCalendarCell: (g) => this.handleDateCellClick({ event: g, dateStr: n.dateString, isCurrentMonth: n.isCurrentMonth }) });
113
+ }))));
114
+ }
115
+ static get watchers() {
116
+ return { activeMonthNumber: [{ handleActiveMonthPropChange: 0 }], activeYear: [{ handleActiveYearPropChange: 0 }] };
117
+ }
118
+ static get style() {
119
+ return ".gids-calendar{display:flex;flex-direction:column;background-color:transparent;box-sizing:border-box;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-300);gap:var(--gids-gap-200)}.gids-calendar--width-fixed{width:100%;max-width:var(--gids-width-xs)}.gids-calendar--width-intrinsic{width:100%;max-width:100%}.gids-calendar--width-intrinsic .gids-calendar-cell{--cell-width:100%;--cell-aspect-ratio:1 / 1}.gids-calendar__weekdays-grid{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center;align-items:center;width:100%}.gids-calendar__days-grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:var(--gids-gap-050);justify-items:center;align-items:center;width:100%}";
120
+ }
121
+ }, [0, "gids-calendar", { width: [1], panelActionsAppearance: [1, "panel-actions-appearance"], selectedDate: [1, "selected-date"], dotVisibleDates: [16], startYear: [2, "start-year"], endYear: [2, "end-year"], monthPickerDisabled: [4, "month-picker-disabled"], yearPickerDisabled: [4, "year-picker-disabled"], previousDisabled: [4, "previous-disabled"], nextDisabled: [4, "next-disabled"], panelDisabled: [4, "panel-disabled"], activeMonthNumber: [2, "active-month-number"], activeYear: [2, "active-year"], onNextChange: [16], onPreviousChange: [16], onPanelMonthChange: [16], onPanelYearChange: [16], onSelectionCalendarCell: [16], currentMonth: [32], currentYear: [32] }, void 0, { activeMonthNumber: [{ handleActiveMonthPropChange: 0 }], activeYear: [{ handleActiveYearPropChange: 0 }] }]);
122
+ function y() {
123
+ typeof customElements < "u" && ["gids-calendar", "gids-calendar-header-panel", "gids-calendar-month-list", "gids-calendar-year-list", "gids-dot", "gids-dropdown-picker", "gids-icon"].forEach(((e) => {
124
+ switch (e) {
125
+ case "gids-calendar":
126
+ customElements.get(c(e)) || customElements.define(c(e), v);
127
+ break;
128
+ case "gids-calendar-header-panel":
129
+ customElements.get(c(e)) || S();
130
+ break;
131
+ case "gids-calendar-month-list":
132
+ customElements.get(c(e)) || N();
133
+ break;
134
+ case "gids-calendar-year-list":
135
+ customElements.get(c(e)) || Y();
136
+ break;
137
+ case "gids-dot":
138
+ customElements.get(c(e)) || k();
139
+ break;
140
+ case "gids-dropdown-picker":
141
+ customElements.get(c(e)) || w();
142
+ break;
143
+ case "gids-icon":
144
+ customElements.get(c(e)) || x();
145
+ }
146
+ }));
147
+ }
148
+ y();
149
+ const Z = v, ee = y;
150
+ export {
151
+ Z as GidsCalendar,
152
+ ee as defineCustomElement
153
+ };
@@ -0,0 +1,6 @@
1
+ import { d as e, l as t } from "./p-B81J5HCC-Bkt2yXKi.js";
2
+ const o = e, r = t;
3
+ export {
4
+ o as GidsChartLegendItem,
5
+ r as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { r as e, d as s } from "./p-B_HaXpJZ-a2SDgQ0E.js";
2
+ const o = e, r = s;
3
+ export {
4
+ o as GidsChartLegend,
5
+ r as defineCustomElement
6
+ };
@@ -0,0 +1,108 @@
1
+ import { _ as u, u as m, T as a, P as n } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { r as o, c as y, b as T, a as b, C } from "./p-D_wcwB7E-d3jYxfod.js";
3
+ import { d as v } from "./p-h6alWGT8-CSY2g3c8.js";
4
+ import { g as _ } from "./p-CPSHPtGE-C7baJgXR.js";
5
+ import { d as f } from "./p-B_HaXpJZ-a2SDgQ0E.js";
6
+ import { l as k } from "./p-B81J5HCC-Bkt2yXKi.js";
7
+ import { h as P } from "./p-uqSjmNkw-Cz2T86sC.js";
8
+ import { g as A } from "./p-D93TNeOt-Vvshbux8.js";
9
+ import { c as E } from "./p-tyIgTtUC-C8jR4A5G.js";
10
+ import { d as D } from "./p-quZYWCxU-CPyWW0nv.js";
11
+ import { c as x } from "./clsx-OuTLNxxd.js";
12
+ const G = (r) => x("gids-chart", r), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
+ __proto__: null,
14
+ getGidsChartClassNames: G
15
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsChartClassNames: N } = I, c = u(class extends m {
16
+ constructor(r) {
17
+ super(), r !== !1 && this.__registerHost(), this.breakpoint = "desktop", this.chartType = "line-chart", this.getChartTypes = () => ["line-chart", "bar-chart", "pie-chart", "activity-gauge", "level-gauge", "progress-circle", "radar-chart"], this.isChartTypeValid = () => {
18
+ const i = this.getChartTypes(), e = this.chartType;
19
+ return !(!e || !i.includes(e));
20
+ }, this.isChartDataValid = () => {
21
+ const i = this.chartType;
22
+ if (i === "line-chart") {
23
+ const e = this.lineChartProps, t = e?.chartData ?? [], s = t?.[0]?.data ?? [];
24
+ return Array.isArray(t) && t.length > 0 && Array.isArray(s) && s.length > 0;
25
+ }
26
+ if (i === "bar-chart") {
27
+ const e = this.barChartProps, t = e?.chartData ?? [], s = t?.[0]?.data ?? [];
28
+ return Array.isArray(t) && t.length > 0 && Array.isArray(s) && s.length > 0;
29
+ }
30
+ if (i === "pie-chart") {
31
+ const e = this.pieChartProps, t = e?.chartData ?? [];
32
+ return Array.isArray(t) && t.length > 0;
33
+ }
34
+ if (i === "activity-gauge") {
35
+ const e = this.activityGaugeProps, t = e?.chartData ?? [];
36
+ return Array.isArray(t) && t.length > 0;
37
+ }
38
+ return i === "radar-chart";
39
+ }, this.getChartTypeText = () => {
40
+ const i = this.chartType;
41
+ if (i) {
42
+ const e = i.split("-");
43
+ let t = "";
44
+ return e.map(((s, h) => {
45
+ t = h === 0 ? "" + s : `${t} ${s}`;
46
+ })), t;
47
+ }
48
+ return "";
49
+ };
50
+ }
51
+ handleBreakpointChange(r) {
52
+ this.breakpoint = r;
53
+ }
54
+ handleChartTypeChange(r) {
55
+ this.chartType = r;
56
+ }
57
+ render() {
58
+ if (!this.isChartTypeValid()) return a("div", { class: "gids-chart__no-data" }, a(o, { title: y, supportingText: T(this.getChartTypes().join(", ")) }));
59
+ const r = this.isChartDataValid(), i = this.getChartTypeText();
60
+ if (!r) return a("div", { class: "gids-activity-gauge__no-data" }, a(o, { title: b, supportingText: C(i) }));
61
+ const e = N(), t = this.chartType, s = this.barChartProps, h = this.pieChartProps, l = this.activityGaugeProps, d = this.levelGaugeProps, p = this.progressCircleProps;
62
+ return a("div", { class: e }, t === "line-chart" ? a("gids-line-chart", { ...this.lineChartProps, breakpoint: this.breakpoint }) : null, t === "bar-chart" ? a("gids-bar-chart", { ...s, breakpoint: this.breakpoint }) : null, t === "pie-chart" ? a("gids-pie-chart", { ...h, breakpoint: this.breakpoint }) : null, t === "activity-gauge" ? a("gids-activity-gauge", { ...l, breakpoint: this.breakpoint }) : null, t === "level-gauge" ? a("gids-level-gauge", { ...d, breakpoint: this.breakpoint }) : null, t === "progress-circle" ? a("gids-progress-circle", { ...p, breakpoint: this.breakpoint }) : null, t === "radar-chart" ? a("div", { class: "gids-chart__no-data" }, a(o, { title: "Coming Soon!", supportingText: "Radar chart is under progress. This will be available in next major version of GIDS." })) : null);
63
+ }
64
+ static get watchers() {
65
+ return { breakpoint: [{ handleBreakpointChange: 0 }], chartType: [{ handleChartTypeChange: 0 }] };
66
+ }
67
+ static get style() {
68
+ return ".gids-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}";
69
+ }
70
+ }, [0, "gids-chart", { breakpoint: [1], chartType: [1, "chart-type"], lineChartProps: [16], barChartProps: [16], pieChartProps: [16], activityGaugeProps: [16], levelGaugeProps: [16], progressCircleProps: [16] }, void 0, { breakpoint: [{ handleBreakpointChange: 0 }], chartType: [{ handleChartTypeChange: 0 }] }]);
71
+ function g() {
72
+ typeof customElements < "u" && ["gids-chart", "gids-activity-gauge", "gids-bar-chart", "gids-chart-legend", "gids-chart-legend-item", "gids-level-gauge", "gids-line-chart", "gids-pie-chart", "gids-progress-circle"].forEach(((r) => {
73
+ switch (r) {
74
+ case "gids-chart":
75
+ customElements.get(n(r)) || customElements.define(n(r), c);
76
+ break;
77
+ case "gids-activity-gauge":
78
+ customElements.get(n(r)) || v();
79
+ break;
80
+ case "gids-bar-chart":
81
+ customElements.get(n(r)) || _();
82
+ break;
83
+ case "gids-chart-legend":
84
+ customElements.get(n(r)) || f();
85
+ break;
86
+ case "gids-chart-legend-item":
87
+ customElements.get(n(r)) || k();
88
+ break;
89
+ case "gids-level-gauge":
90
+ customElements.get(n(r)) || P();
91
+ break;
92
+ case "gids-line-chart":
93
+ customElements.get(n(r)) || A();
94
+ break;
95
+ case "gids-pie-chart":
96
+ customElements.get(n(r)) || E();
97
+ break;
98
+ case "gids-progress-circle":
99
+ customElements.get(n(r)) || D();
100
+ }
101
+ }));
102
+ }
103
+ g();
104
+ const z = c, F = g;
105
+ export {
106
+ z as GidsChart,
107
+ F as defineCustomElement
108
+ };
@@ -0,0 +1,56 @@
1
+ import { _ as r, u as d, q as l, T as s, P as a } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { d as h } from "./p-BnL97lOW-BO0p4EdC.js";
4
+ import { c as g } from "./clsx-OuTLNxxd.js";
5
+ const u = ({ size: e }, o) => g("gids-chevron-button", {
6
+ // 'gids-chevron-button--xs': size === 'xs', // By default xs
7
+ "gids-chevron-button--sm": e === "sm",
8
+ "gids-chevron-button--md": e === "md",
9
+ "gids-chevron-button--lg": e === "lg"
10
+ }, o), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ __proto__: null,
12
+ getGidsChevronButtonClassNames: u
13
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsChevronButtonClassNames: t } = b, i = r(class extends d {
14
+ constructor(e) {
15
+ super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.gidsChevronButton = l(this, "gidsChevronButton"), this.activeClasses = "", this.size = "xs";
16
+ }
17
+ handleExtraClassesAndSizeChange(e) {
18
+ this.activeClasses = t({ size: this.size }, e);
19
+ }
20
+ handleSizeChange(e) {
21
+ this.size = e;
22
+ }
23
+ handleDisabledChange(e) {
24
+ this.disabled = e;
25
+ }
26
+ connectedCallback() {
27
+ const e = c();
28
+ e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this.activeClasses = t({ size: this.size }, this.extraClasses);
29
+ }
30
+ componentDidLoad() {
31
+ this.activeClasses = t({ size: this.size }, this.extraClasses);
32
+ }
33
+ render() {
34
+ return s("button", { key: "b2c4dce0b1b731f18f7bc51d4f2dc3b2bc4814e0", class: this.activeClasses, slot: "trailingAccessory", type: "button", onClick: (e) => this.gidsChevronButton.emit(e), "aria-label": this?.ariaLabel ?? "", "aria-expanded": this?.ariaExpanded ?? "", "aria-haspopup": this?.ariaHaspopup ?? "", "aria-controls": this?.ariaControls ?? "", disabled: this.disabled, tabIndex: -1 }, s("span", { key: "42f01ac64723aa9195d2f36b0b02e0a36811f19e", class: "gids-button__content" }, s(h, { key: "a78239b33647d4f4653f8c7660ae7cf69f9a1307", name: "chevron-vertical", alt: "" })));
35
+ }
36
+ get _el() {
37
+ return this;
38
+ }
39
+ static get watchers() {
40
+ return { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleDisabledChange: 0 }] };
41
+ }
42
+ static get style() {
43
+ return ".gids-chevron-button{color:inherit;background-color:transparent;border:none;margin:0;padding:0;text-align:inherit;font:inherit;border-radius:0;appearance:none;display:inline-flex;justify-content:center;align-self:center;border-radius:var(--gids-border-radius-full);--gidsIcon-color:var(--gids-color-icon-default);--gidsIcon-height:var(--gidsChevronButtonIcon-height);--gidsChevronButtonIcon-height:var(--gids-size-120)}.gids-chevron-button--sm{--gidsIcon-height:var(--gids-size-160)}.gids-chevron-button--md{--gidsIcon-height:var(--gids-size-200)}.gids-chevron-button--lg{--gidsIcon-height:var(--gids-size-240)}.gids-chevron-button:hover{background-color:var(--gids-color-background-neutral-subtle-hovered)}.gids-chevron-button:active{background-color:var(--gids-color-background-neutral-subtle-pressed)}.gids-chevron-button:disabled .gids-icon{--gidsIcon-color:var(--gids-color-icon-disabled)}.gids-chevron-button:disabled:hover{background-color:transparent}.gids-chevron-button:disabled:active{background-color:transparent}";
44
+ }
45
+ }, [1, "gids-chevron-button", { extraClasses: [513, "extra-classes"], size: [513], disabled: [516], ariaLabel: [513, "aria-label"], ariaHaspopup: [513, "aria-haspopup"], ariaExpanded: [513, "aria-expanded"], ariaControls: [513, "aria-controls"], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleDisabledChange: 0 }] }]);
46
+ function n() {
47
+ typeof customElements < "u" && ["gids-chevron-button"].forEach(((e) => {
48
+ e === "gids-chevron-button" && (customElements.get(a(e)) || customElements.define(a(e), i));
49
+ }));
50
+ }
51
+ n();
52
+ const m = i, x = n;
53
+ export {
54
+ m as GidsChevronButton,
55
+ x as defineCustomElement
56
+ };
@@ -0,0 +1,6 @@
1
+ import { h as o, g as s } from "./p-9_mrQ7ac-If6e6cvJ.js";
2
+ const e = o, m = s;
3
+ export {
4
+ e as GidsDot,
5
+ m as defineCustomElement
6
+ };
@@ -0,0 +1,88 @@
1
+ import { _ as n, u as d, T as s, P as a } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { a as r } from "./p-CRngHsR7-DL9wz3Z3.js";
3
+ import { l } from "./p-BaO-kEWS-ZITkeP-j.js";
4
+ import { h } from "./p-BvYnawkJ-DohV9UNG.js";
5
+ import { r as u } from "./p-DfFqFdmS-DjI2pk-0.js";
6
+ import { g as c } from "./p-BnL97lOW-BO0p4EdC.js";
7
+ const i = n(class extends d {
8
+ constructor(e) {
9
+ super(), e !== !1 && this.__registerHost(), this.internals = this.attachInternals(), this.appearance = "default", this.expanded = !1, this.#e = c(), this.handleSelectionChange = (t) => {
10
+ this.value = t.value, this.syncFormValue(t.value), this.onSelectionChange?.(t);
11
+ }, this.handleDropdownFocusAndBlur = (t) => {
12
+ this.hostElement.dispatchEvent(new FocusEvent(t.type, { relatedTarget: t.relatedTarget }));
13
+ };
14
+ }
15
+ #e;
16
+ componentWillLoad() {
17
+ this.syncFormValue(this.value);
18
+ }
19
+ handleValueChange(e) {
20
+ this.syncFormValue(e);
21
+ }
22
+ syncFormValue(e) {
23
+ this.internals.setFormValue(e ?? "");
24
+ }
25
+ getDropdownControl() {
26
+ return this.hostElement.querySelector("gids-dropdown");
27
+ }
28
+ get form() {
29
+ return this.getDropdownControl()?.form ?? null;
30
+ }
31
+ get validity() {
32
+ return this.getDropdownControl()?.validity ?? {};
33
+ }
34
+ get validationMessage() {
35
+ return this.getDropdownControl()?.validationMessage ?? "";
36
+ }
37
+ get willValidate() {
38
+ return this.getDropdownControl()?.willValidate ?? !1;
39
+ }
40
+ async checkValidity() {
41
+ const e = this.getDropdownControl();
42
+ return !e?.checkValidity || await e.checkValidity();
43
+ }
44
+ async reportValidity() {
45
+ const e = this.getDropdownControl();
46
+ return !e?.reportValidity || await e.reportValidity();
47
+ }
48
+ async setCustomValidity(e) {
49
+ const t = this.getDropdownControl();
50
+ if (t?.setCustomValidity) return await t.setCustomValidity(e);
51
+ }
52
+ render() {
53
+ const e = this.inputProps?.id ?? this.#e, t = { ...this.inputProps, id: e, placeholder: this.inputProps?.placeholder ?? "Please select an option" };
54
+ return s("gids-field", { key: "9d896c1a60c010c49f17578133b1f593637ee25a", disabled: this.disabled, helperText: this.helperText, statusText: this.statusText, status: this.status }, this.label !== void 0 ? s(r, { slot: "label", disabled: this.disabled, htmlFor: e, fieldRequirement: this.required ? "required" : void 0 }, this.label) : null, s("gids-dropdown", { key: "cb5e873f42af870aec073f553a660aea8f61ffcb", appearance: this.appearance, expanded: this.expanded, inputProps: t, disabled: this.disabled, readOnly: this.readOnly, loading: this.loading, value: this.value, name: this.name, onSelectionChange: this.handleSelectionChange, onFocus: this.handleDropdownFocusAndBlur, onBlur: this.handleDropdownFocusAndBlur, required: this.required }, s("slot", { key: "fbdd00ab717487697bc705af19c6e304ff77bd82", name: "leadingIconDropdown" }), s("slot", { key: "1f6ffc78105de5a1e2e4f8906271e8e2c5ca385d", name: "leadingAccessoryDropdown" }), s("slot", { key: "04404c104113d9b83afbe594bd7b9381864b526f" })));
55
+ }
56
+ static get formAssociated() {
57
+ return !0;
58
+ }
59
+ get hostElement() {
60
+ return this;
61
+ }
62
+ static get watchers() {
63
+ return { value: [{ handleValueChange: 0 }] };
64
+ }
65
+ }, [324, "gids-dropdown-field", { label: [513], helperText: [513, "helper-text"], statusText: [513, "status-text"], status: [513], appearance: [513], expanded: [516], readOnly: [516, "readonly"], disabled: [516], loading: [516], inputProps: [16], value: [1025], name: [513], onSelectionChange: [16], required: [516], checkValidity: [64], reportValidity: [64], setCustomValidity: [64] }, void 0, { value: [{ handleValueChange: 0 }] }]);
66
+ function o() {
67
+ typeof customElements < "u" && ["gids-dropdown-field", "gids-dropdown", "gids-field", "gids-input"].forEach(((e) => {
68
+ switch (e) {
69
+ case "gids-dropdown-field":
70
+ customElements.get(a(e)) || customElements.define(a(e), i);
71
+ break;
72
+ case "gids-dropdown":
73
+ customElements.get(a(e)) || l();
74
+ break;
75
+ case "gids-field":
76
+ customElements.get(a(e)) || h();
77
+ break;
78
+ case "gids-input":
79
+ customElements.get(a(e)) || u();
80
+ }
81
+ }));
82
+ }
83
+ o();
84
+ const b = i, V = o;
85
+ export {
86
+ b as GidsDropdownField,
87
+ V as defineCustomElement
88
+ };
@@ -0,0 +1,6 @@
1
+ import { h as r, r as o } from "./p-BFHWXEeg-ByjSjz8i.js";
2
+ const s = r, t = o;
3
+ export {
4
+ s as GidsDropdownPicker,
5
+ t as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { c as o, l as e } from "./p-BaO-kEWS-ZITkeP-j.js";
2
+ const t = o, m = e;
3
+ export {
4
+ t as GidsDropdown,
5
+ m as defineCustomElement
6
+ };
@@ -1,4 +1,4 @@
1
- import { d as e, h as o } from "./p-DjvDBWCb-C9js0PPL.js";
1
+ import { d as e, h as o } from "./p-BvYnawkJ-DohV9UNG.js";
2
2
  const t = e, d = o;
3
3
  export {
4
4
  t as GidsField,
@@ -1,32 +1,6 @@
1
- import { C as o, H as e, f as n, R as d } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { i as a } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { d as c } from "./p-veoOgDXg-DElc87c0.js";
4
- const t = o(class extends n {
5
- constructor(i) {
6
- super(), i !== !1 && this.__registerHost(), this.__attachShadow();
7
- }
8
- connectedCallback() {
9
- const i = a();
10
- i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
11
- }
12
- render() {
13
- return d(c, { key: "55114b6e5f7f440dcb4a892c0a25b234509b884e", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
14
- }
15
- get _el() {
16
- return this;
17
- }
18
- static get style() {
19
- return ".gids-icon{fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%);flex-shrink:0}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}";
20
- }
21
- }, [1, "gids-icon", { name: [1], size: [1], appearance: [1], alt: [1], titleId: [1, "title-id"] }]);
22
- function s() {
23
- typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
24
- i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), t));
25
- }));
26
- }
27
- s();
28
- const l = t, m = s;
1
+ import { n as o, d as e } from "./p-BiPAgxAQ-BtMBQpJY.js";
2
+ const s = o, t = e;
29
3
  export {
30
- l as GidsIcon,
31
- m as defineCustomElement
4
+ s as GidsIcon,
5
+ t as defineCustomElement
32
6
  };
@@ -1,6 +1,6 @@
1
- import { c as t, f as e } from "./p-Bg3lw2Ae-CkC8nUqv.js";
2
- const s = t, m = e;
1
+ import { c as t, r as e } from "./p-DfFqFdmS-DjI2pk-0.js";
2
+ const o = t, s = e;
3
3
  export {
4
- s as GidsInput,
5
- m as defineCustomElement
4
+ o as GidsInput,
5
+ s as defineCustomElement
6
6
  };
@@ -0,0 +1,6 @@
1
+ import { d as e, h as m } from "./p-uqSjmNkw-Cz2T86sC.js";
2
+ const s = e, t = m;
3
+ export {
4
+ s as GidsLevelGauge,
5
+ t as defineCustomElement
6
+ };
@@ -0,0 +1,6 @@
1
+ import { d as t, g as e } from "./p-D93TNeOt-Vvshbux8.js";
2
+ const s = t, i = e;
3
+ export {
4
+ s as GidsLineChart,
5
+ i as defineCustomElement
6
+ };
@@ -1,4 +1,4 @@
1
- import { C as e, f as s, H as i } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as e, u as s, P as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
2
  import { e as a } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const o = e(class extends s {
4
4
  constructor(t) {
@@ -1,10 +1,10 @@
1
- import { C as i, f as n, R as e, H as o } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as a, u as n, T as e, P as o } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
- showGidsOverflowContainerBottomShadow: h,
6
- showGidsOverflowContainerTopShadow: c
7
- }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = i(class extends n {
5
+ showGidsOverflowContainerBottomShadow: c,
6
+ showGidsOverflowContainerTopShadow: h
7
+ }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
8
8
  constructor(t) {
9
9
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
10
10
  }
@@ -20,19 +20,19 @@ const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" ||
20
20
  this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
21
21
  }
22
22
  render() {
23
- return e("div", { key: "6ec89d7178cf344a3127aa5913df8ff65c523592", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "0cf9630efe8337aa0c7a239fa5f09ca30d368513" }));
23
+ return e("div", { key: "fbc4a9851c77e92b2261392c6d8f00664f8adb94", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "a825b7f435064d06a22f751e507c8a765817abec" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
27
27
  }
28
28
  }, [257, "gids-overflow-container", { shadowLocation: [513, "shadow-location"] }]);
29
- function a() {
29
+ function i() {
30
30
  typeof customElements < "u" && ["gids-overflow-container"].forEach(((t) => {
31
31
  t === "gids-overflow-container" && (customElements.get(o(t)) || customElements.define(o(t), r));
32
32
  }));
33
33
  }
34
- a();
35
- const p = r, m = a;
34
+ i();
35
+ const p = r, m = i;
36
36
  export {
37
37
  p as GidsOverflowContainer,
38
38
  m as defineCustomElement