@ganpatiinfo/gids-web-dom-reference 7.2.0 → 9.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 (167) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts +8 -0
  3. package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts.map +1 -0
  4. package/dist/components/GidsActivityGauge/GidsActivityGauge.js +17 -0
  5. package/dist/components/GidsActivityGauge/GidsActivityGauge.js.map +1 -0
  6. package/dist/components/GidsBarChart/GidsBarChart.d.ts +6 -0
  7. package/dist/components/GidsBarChart/GidsBarChart.d.ts.map +1 -0
  8. package/dist/components/GidsBarChart/GidsBarChart.js +19 -0
  9. package/dist/components/GidsBarChart/GidsBarChart.js.map +1 -0
  10. package/dist/components/GidsButton/GidsButton.d.ts +1 -1
  11. package/dist/components/GidsButton/GidsButton.d.ts.map +1 -1
  12. package/dist/components/GidsButton/GidsButton.js +2 -2
  13. package/dist/components/GidsButton/GidsButton.js.map +1 -1
  14. package/dist/components/GidsCalendar/GidsCalendar.d.ts +6 -0
  15. package/dist/components/GidsCalendar/GidsCalendar.d.ts.map +1 -0
  16. package/dist/components/GidsCalendar/GidsCalendar.js +36 -0
  17. package/dist/components/GidsCalendar/GidsCalendar.js.map +1 -0
  18. package/dist/components/GidsCalendarCell/GidsCalendarCell.d.ts +8 -0
  19. package/dist/components/GidsCalendarCell/GidsCalendarCell.d.ts.map +1 -0
  20. package/dist/components/GidsCalendarCell/GidsCalendarCell.js +55 -0
  21. package/dist/components/GidsCalendarCell/GidsCalendarCell.js.map +1 -0
  22. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +6 -0
  23. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.d.ts.map +1 -0
  24. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.js +17 -0
  25. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.js.map +1 -0
  26. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +13 -0
  27. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts.map +1 -0
  28. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js +45 -0
  29. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js.map +1 -0
  30. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +6 -0
  31. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.d.ts.map +1 -0
  32. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.js +19 -0
  33. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.js.map +1 -0
  34. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.d.ts +6 -0
  35. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.d.ts.map +1 -0
  36. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.js +34 -0
  37. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.js.map +1 -0
  38. package/dist/components/GidsChart/GidsChart.d.ts +8 -0
  39. package/dist/components/GidsChart/GidsChart.d.ts.map +1 -0
  40. package/dist/components/GidsChart/GidsChart.js +16 -0
  41. package/dist/components/GidsChart/GidsChart.js.map +1 -0
  42. package/dist/components/GidsChartLegend/GidsChartLegend.d.ts +8 -0
  43. package/dist/components/GidsChartLegend/GidsChartLegend.d.ts.map +1 -0
  44. package/dist/components/GidsChartLegend/GidsChartLegend.js +13 -0
  45. package/dist/components/GidsChartLegend/GidsChartLegend.js.map +1 -0
  46. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts +8 -0
  47. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts.map +1 -0
  48. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js +14 -0
  49. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js.map +1 -0
  50. package/dist/components/GidsChevronButton/GidsChevronButton.d.ts +7 -0
  51. package/dist/components/GidsChevronButton/GidsChevronButton.d.ts.map +1 -0
  52. package/dist/components/GidsChevronButton/GidsChevronButton.js +18 -0
  53. package/dist/components/GidsChevronButton/GidsChevronButton.js.map +1 -0
  54. package/dist/components/GidsDot/GidsDot.d.ts +6 -0
  55. package/dist/components/GidsDot/GidsDot.d.ts.map +1 -0
  56. package/dist/components/GidsDot/GidsDot.js +19 -0
  57. package/dist/components/GidsDot/GidsDot.js.map +1 -0
  58. package/dist/components/GidsDropdown/GidsDropdown.d.ts +15 -0
  59. package/dist/components/GidsDropdown/GidsDropdown.d.ts.map +1 -0
  60. package/dist/components/GidsDropdown/GidsDropdown.js +62 -0
  61. package/dist/components/GidsDropdown/GidsDropdown.js.map +1 -0
  62. package/dist/components/GidsDropdownField/GidsDropdownField.d.ts +10 -0
  63. package/dist/components/GidsDropdownField/GidsDropdownField.d.ts.map +1 -0
  64. package/dist/components/GidsDropdownField/GidsDropdownField.js +38 -0
  65. package/dist/components/GidsDropdownField/GidsDropdownField.js.map +1 -0
  66. package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts +10 -0
  67. package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts.map +1 -0
  68. package/dist/components/GidsDropdownItem/GidsDropdownItem.js +34 -0
  69. package/dist/components/GidsDropdownItem/GidsDropdownItem.js.map +1 -0
  70. package/dist/components/GidsDropdownMenu/GidsDropdownMenu.d.ts +7 -0
  71. package/dist/components/GidsDropdownMenu/GidsDropdownMenu.d.ts.map +1 -0
  72. package/dist/components/GidsDropdownMenu/GidsDropdownMenu.js +24 -0
  73. package/dist/components/GidsDropdownMenu/GidsDropdownMenu.js.map +1 -0
  74. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +7 -0
  75. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts.map +1 -0
  76. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js +24 -0
  77. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js.map +1 -0
  78. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts +20 -0
  79. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts.map +1 -0
  80. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js +62 -0
  81. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js.map +1 -0
  82. package/dist/components/GidsEditButton/GidsEditButton.d.ts +8 -0
  83. package/dist/components/GidsEditButton/GidsEditButton.d.ts.map +1 -0
  84. package/dist/components/GidsEditButton/GidsEditButton.js +44 -0
  85. package/dist/components/GidsEditButton/GidsEditButton.js.map +1 -0
  86. package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts +6 -0
  87. package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts.map +1 -0
  88. package/dist/components/GidsLevelGauge/GidsLevelGauge.js +17 -0
  89. package/dist/components/GidsLevelGauge/GidsLevelGauge.js.map +1 -0
  90. package/dist/components/GidsLineChart/GidsLineChart.d.ts +6 -0
  91. package/dist/components/GidsLineChart/GidsLineChart.d.ts.map +1 -0
  92. package/dist/components/GidsLineChart/GidsLineChart.js +19 -0
  93. package/dist/components/GidsLineChart/GidsLineChart.js.map +1 -0
  94. package/dist/components/GidsListItem/GidsListItem.d.ts +11 -0
  95. package/dist/components/GidsListItem/GidsListItem.d.ts.map +1 -0
  96. package/dist/components/GidsListItem/GidsListItem.js +207 -0
  97. package/dist/components/GidsListItem/GidsListItem.js.map +1 -0
  98. package/dist/components/GidsMenu/GidsMenu.d.ts +7 -0
  99. package/dist/components/GidsMenu/GidsMenu.d.ts.map +1 -0
  100. package/dist/components/GidsMenu/GidsMenu.js +27 -0
  101. package/dist/components/GidsMenu/GidsMenu.js.map +1 -0
  102. package/dist/components/GidsMenuGroup/GidsMenuGroup.d.ts +7 -0
  103. package/dist/components/GidsMenuGroup/GidsMenuGroup.d.ts.map +1 -0
  104. package/dist/components/GidsMenuGroup/GidsMenuGroup.js +24 -0
  105. package/dist/components/GidsMenuGroup/GidsMenuGroup.js.map +1 -0
  106. package/dist/components/GidsPageTitle/GidsPageTitle.d.ts +9 -0
  107. package/dist/components/GidsPageTitle/GidsPageTitle.d.ts.map +1 -0
  108. package/dist/components/GidsPageTitle/GidsPageTitle.js +32 -0
  109. package/dist/components/GidsPageTitle/GidsPageTitle.js.map +1 -0
  110. package/dist/components/GidsPieChart/GidsPieChart.d.ts +8 -0
  111. package/dist/components/GidsPieChart/GidsPieChart.d.ts.map +1 -0
  112. package/dist/components/GidsPieChart/GidsPieChart.js +16 -0
  113. package/dist/components/GidsPieChart/GidsPieChart.js.map +1 -0
  114. package/dist/components/GidsPopover/GidsPopover.d.ts +7 -0
  115. package/dist/components/GidsPopover/GidsPopover.d.ts.map +1 -0
  116. package/dist/components/GidsPopover/GidsPopover.js +16 -0
  117. package/dist/components/GidsPopover/GidsPopover.js.map +1 -0
  118. package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts +6 -0
  119. package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts.map +1 -0
  120. package/dist/components/GidsProgressCircle/GidsProgressCircle.js +17 -0
  121. package/dist/components/GidsProgressCircle/GidsProgressCircle.js.map +1 -0
  122. package/dist/components/GidsTooltip/GidsTooltip.d.ts +6 -0
  123. package/dist/components/GidsTooltip/GidsTooltip.d.ts.map +1 -0
  124. package/dist/components/GidsTooltip/GidsTooltip.js +20 -0
  125. package/dist/components/GidsTooltip/GidsTooltip.js.map +1 -0
  126. package/dist/index.d.ts +31 -0
  127. package/dist/index.d.ts.map +1 -1
  128. package/dist/index.js +31 -0
  129. package/dist/index.js.map +1 -1
  130. package/dist/utils/childrenValidationUtils.d.ts +9 -0
  131. package/dist/utils/childrenValidationUtils.d.ts.map +1 -0
  132. package/dist/utils/childrenValidationUtils.js +27 -0
  133. package/dist/utils/childrenValidationUtils.js.map +1 -0
  134. package/package.json +45 -45
  135. package/src/components/GidsActivityGauge/GidsActivityGauge.ts +48 -0
  136. package/src/components/GidsBarChart/GidsBarChart.ts +47 -0
  137. package/src/components/GidsButton/GidsButton.ts +2 -1
  138. package/src/components/GidsCalendar/GidsCalendar.ts +72 -0
  139. package/src/components/GidsCalendarCell/GidsCalendarCell.ts +95 -0
  140. package/src/components/GidsCalendarDayCell/GidsCalendarDayCell.ts +29 -0
  141. package/src/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.ts +107 -0
  142. package/src/components/GidsCalendarMonthList/GidsCalendarMonthList.ts +56 -0
  143. package/src/components/GidsCalendarYearList/GidsCalendarYearList.ts +76 -0
  144. package/src/components/GidsChart/GidsChart.ts +41 -0
  145. package/src/components/GidsChartLegend/GidsChartLegend.ts +38 -0
  146. package/src/components/GidsChartLegendItem/GidsChartLegendItem.ts +40 -0
  147. package/src/components/GidsChevronButton/GidsChevronButton.ts +55 -0
  148. package/src/components/GidsDot/GidsDot.ts +42 -0
  149. package/src/components/GidsDropdown/GidsDropdown.ts +149 -0
  150. package/src/components/GidsDropdownField/GidsDropdownField.ts +106 -0
  151. package/src/components/GidsDropdownItem/GidsDropdownItem.ts +67 -0
  152. package/src/components/GidsDropdownMenu/GidsDropdownMenu.ts +43 -0
  153. package/src/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.ts +46 -0
  154. package/src/components/GidsDropdownPicker/GidsDropdownPicker.ts +144 -0
  155. package/src/components/GidsEditButton/GidsEditButton.ts +71 -0
  156. package/src/components/GidsLevelGauge/GidsLevelGauge.ts +46 -0
  157. package/src/components/GidsLineChart/GidsLineChart.ts +50 -0
  158. package/src/components/GidsListItem/GidsListItem.ts +293 -0
  159. package/src/components/GidsMenu/GidsMenu.ts +56 -0
  160. package/src/components/GidsMenuGroup/GidsMenuGroup.ts +43 -0
  161. package/src/components/GidsPageTitle/GidsPageTitle.ts +60 -0
  162. package/src/components/GidsPieChart/GidsPieChart.ts +43 -0
  163. package/src/components/GidsPopover/GidsPopover.ts +32 -0
  164. package/src/components/GidsProgressCircle/GidsProgressCircle.ts +46 -0
  165. package/src/components/GidsTooltip/GidsTooltip.ts +37 -0
  166. package/src/index.ts +31 -0
  167. package/src/utils/childrenValidationUtils.ts +47 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,101 @@
1
1
  # @ganpatiinfo/gids-web-dom-reference
2
2
 
3
+ ## 9.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - bee7915: - Developed `GidsDropdown` component for all web platforms
8
+ - 892c22e: - Developed `GidsCalendar` component for all web platforms
9
+ - 892c22e: - Developed `GidsCalendarDayCell` component for all web platforms
10
+ - 121ce7c: - Developed `GidsLevelGauge` web component for all web platforms
11
+ - 07c5179: - Developed `GidsChart` web component for all web platforms
12
+ - 121ce7c: - Developed `GidsActivityGauge` web component for all web platforms
13
+ - 121ce7c: - Developed `GidsProgressCircle` web component for all web platforms
14
+ - bee7915: - Developed `GidsDropdownField` components for all web platforms
15
+ - 121ce7c: - Developed `GidsChartLegendItem` component for all web platforms
16
+ - 892c22e: - Developed `GidsCalendarHeaderPanel` component for all web platforms
17
+ - 892c22e: - Developed `GidsCalendarCell` component for all web platforms
18
+ - 892c22e: - Developed `GidsDot` component for all web platforms
19
+ - 121ce7c: - Developed `GidsLineChart` web component for all web platforms
20
+ - 892c22e: - Developed `GidsCalendarMonthList` component for all web platforms
21
+ - 892c22e: - Developed `GidsDropdownPicker` component for all web platforms
22
+ - 121ce7c: - Developed `GidsPieChart` web component for all web platforms
23
+ - 892c22e: - Developed `GidsCalendarYearList` component for all web platforms
24
+ - 121ce7c: - Developed `GidsBarChart` web component for all web platforms
25
+ - bee7915: - Developed `GidsChevronButton` components for all web platforms
26
+ - ce1a1c2: - Developed `GidsPageTitle` component for all web platforms
27
+ - 121ce7c: - Developed `GidsChartLegend` component for all web platforms
28
+
29
+ ### Minor Changes
30
+
31
+ - bee7915: - Fixed `GidsDropdownMenuGroup` component. Added types for all web platforms.
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [bee7915]
36
+ - Updated dependencies [892c22e]
37
+ - Updated dependencies [892c22e]
38
+ - Updated dependencies [121ce7c]
39
+ - Updated dependencies [07c5179]
40
+ - Updated dependencies [121ce7c]
41
+ - Updated dependencies [121ce7c]
42
+ - Updated dependencies [bee7915]
43
+ - Updated dependencies [121ce7c]
44
+ - Updated dependencies [892c22e]
45
+ - Updated dependencies [892c22e]
46
+ - Updated dependencies [892c22e]
47
+ - Updated dependencies [121ce7c]
48
+ - Updated dependencies [892c22e]
49
+ - Updated dependencies [892c22e]
50
+ - Updated dependencies [121ce7c]
51
+ - Updated dependencies [892c22e]
52
+ - Updated dependencies [121ce7c]
53
+ - Updated dependencies [bee7915]
54
+ - Updated dependencies [bee7915]
55
+ - Updated dependencies [ce1a1c2]
56
+ - Updated dependencies [121ce7c]
57
+ - @ganpatiinfo/gids-core-shared@9.0.0
58
+ - @ganpatiinfo/gids-web-shared@9.0.0
59
+
60
+ ## 8.0.0
61
+
62
+ ### Major Changes
63
+
64
+ - c2e9c56: - Developed `GidsDropdownItem` component for all web platforms
65
+ - c6c28c4: - Developed `GidsEditButton` for all web platforms
66
+ - d9cfb37: - Updated `GidsStausTag` comoponent with new icons added
67
+ - 657e54f: - Developed `GidsPopover` component for all web platforms
68
+ - c6c28c4: - Developed `GidsListItem` component for all web platforms
69
+ - c2e9c56: - Developed `GidsDropdownMenu` component for all web platforms
70
+ - c2e9c56: - Developed `GidsDropdownMenuGroup` component for all web platforms
71
+ - 657e54f: - Developed `GidsTooltip` component for all web platforms
72
+ - 45d1ea5: - Developed `GidsMenu` component for all web platforms
73
+ - 45d1ea5: - Developed `GidsMenuGroup` component for all web platforms
74
+
75
+ ### Minor Changes
76
+
77
+ - c6c28c4: - Added a new prop `positive` for positive button for all web platforms
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [c2e9c56]
82
+ - Updated dependencies [c6c28c4]
83
+ - Updated dependencies [657e54f]
84
+ - Updated dependencies [d9cfb37]
85
+ - Updated dependencies [657e54f]
86
+ - Updated dependencies [c6c28c4]
87
+ - Updated dependencies [c2e9c56]
88
+ - Updated dependencies [c2e9c56]
89
+ - Updated dependencies [c6c28c4]
90
+ - Updated dependencies [657e54f]
91
+ - Updated dependencies [657e54f]
92
+ - Updated dependencies [71a0639]
93
+ - Updated dependencies [45d1ea5]
94
+ - Updated dependencies [45d1ea5]
95
+ - @ganpatiinfo/gids-core-shared@8.0.0
96
+ - @ganpatiinfo/gids-web-shared@8.0.0
97
+ - @ganpatiinfo/gids-web-theme-interface@5.0.0
98
+
3
99
  ## 7.2.0
4
100
 
5
101
  ### Minor Changes
@@ -0,0 +1,8 @@
1
+ import { GidsActivityGaugeWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ type GidsActivityGaugeBaseWebProps = GidsActivityGaugeWebProps;
3
+ export interface GidsActivityGaugeDomProps extends GidsActivityGaugeBaseWebProps {
4
+ extraClasses?: string;
5
+ }
6
+ export declare const GidsActivityGaugeDom: ({ label, chartData, legend, breakpoint, chartLoading, chartLoaderSize, chartLoadingSupportingText, chartLoadingTitle, size, extraClasses, }: GidsActivityGaugeDomProps) => HTMLElement;
7
+ export {};
8
+ //# sourceMappingURL=GidsActivityGauge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsActivityGauge.d.ts","sourceRoot":"","sources":["../../../src/components/GidsActivityGauge/GidsActivityGauge.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,yBAAyB,EAEzB,MAAM,8BAA8B,CAAC;AAItC,KAAK,6BAA6B,GAAG,yBAAyB,CAAC;AAI/D,MAAM,WAAW,yBAA0B,SAAQ,6BAA6B;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,oBAAoB,GAAI,6IAWlC,yBAAyB,KAAG,WAqB9B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { GidsActivityGaugeWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsActivityGaugeClassNames } = GidsActivityGaugeWebUtils;
3
+ export const GidsActivityGaugeDom = ({ label, chartData = [], legend = 'none', breakpoint = 'desktop', chartLoading = false, chartLoaderSize, chartLoadingSupportingText, chartLoadingTitle, size = 'xxs', extraClasses, }) => {
4
+ const activityGauge = document.createElement('gids-activity-gauge');
5
+ activityGauge.breakpoint = breakpoint;
6
+ activityGauge.size = size;
7
+ activityGauge.legend = legend;
8
+ activityGauge.label = label;
9
+ activityGauge.chartData = chartData;
10
+ activityGauge.chartLoading = chartLoading;
11
+ activityGauge.chartLoaderSize = chartLoaderSize;
12
+ activityGauge.chartLoadingTitle = chartLoadingTitle;
13
+ activityGauge.chartLoadingSupportingText = chartLoadingSupportingText;
14
+ activityGauge.className = getGidsActivityGaugeClassNames({ breakpoint }, extraClasses);
15
+ return activityGauge;
16
+ };
17
+ //# sourceMappingURL=GidsActivityGauge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsActivityGauge.js","sourceRoot":"","sources":["../../../src/components/GidsActivityGauge/GidsActivityGauge.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,yBAAyB,GACzB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,8BAA8B,EAAE,GAAG,yBAAyB,CAAC;AAUrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACpC,KAAK,EACL,SAAS,GAAG,EAAE,EACd,MAAM,GAAG,MAAM,EACf,UAAU,GAAG,SAAS,EACtB,YAAY,GAAG,KAAK,EACpB,eAAe,EACf,0BAA0B,EAC1B,iBAAiB,EACjB,IAAI,GAAG,KAAK,EACZ,YAAY,GACe,EAAe,EAAE;IAC5C,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAC3C,qBAAqB,CACO,CAAC;IAE9B,aAAa,CAAC,UAAU,GAAG,UAAU,CAAC;IACtC,aAAa,CAAC,IAAI,GAAG,IAAI,CAAC;IAC1B,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC;IAC9B,aAAa,CAAC,KAAK,GAAG,KAAK,CAAC;IAC5B,aAAa,CAAC,SAAS,GAAG,SAAS,CAAC;IACpC,aAAa,CAAC,YAAY,GAAG,YAAY,CAAC;IAC1C,aAAa,CAAC,eAAe,GAAG,eAAe,CAAC;IAChD,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IACpD,aAAa,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAEtE,aAAa,CAAC,SAAS,GAAG,8BAA8B,CACvD,EAAE,UAAU,EAAE,EACd,YAAY,CACZ,CAAC;IAEF,OAAO,aAAa,CAAC;AACtB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { GidsBarChartWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ export interface GidsBarChartDomProps extends GidsBarChartWebProps {
3
+ extraClasses?: string;
4
+ }
5
+ export declare const GidsBarChartDom: ({ breakpoint, legend, chartData, yAxisVisible, xAxisLabel, yAxisLabel, dataPoints, chartLoading, chartLoaderSize, chartLoadingTitle, chartLoadingSupportingText, extraClasses, }: GidsBarChartDomProps) => HTMLElement;
6
+ //# sourceMappingURL=GidsBarChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBarChart.d.ts","sourceRoot":"","sources":["../../../src/components/GidsBarChart/GidsBarChart.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EAEpB,MAAM,8BAA8B,CAAC;AAMtC,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,kLAa7B,oBAAoB,KAAG,WAoBzB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { GidsBarChartWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsBarChartClassNames } = GidsBarChartWebUtils;
3
+ export const GidsBarChartDom = ({ breakpoint = 'desktop', legend = 'none', chartData = [], yAxisVisible = false, xAxisLabel, yAxisLabel, dataPoints, chartLoading, chartLoaderSize, chartLoadingTitle, chartLoadingSupportingText, extraClasses, }) => {
4
+ const barChart = document.createElement('gids-bar-chart');
5
+ barChart.breakpoint = breakpoint;
6
+ barChart.legend = legend;
7
+ barChart.chartData = chartData;
8
+ barChart.yAxisVisible = yAxisVisible;
9
+ barChart.xAxisLabel = xAxisLabel;
10
+ barChart.yAxisLabel = yAxisLabel;
11
+ barChart.dataPoints = dataPoints;
12
+ barChart.chartLoading = chartLoading;
13
+ barChart.chartLoaderSize = chartLoaderSize;
14
+ barChart.chartLoadingTitle = chartLoadingTitle;
15
+ barChart.chartLoadingSupportingText = chartLoadingSupportingText;
16
+ barChart.className = getGidsBarChartClassNames({ breakpoint }, extraClasses);
17
+ return barChart;
18
+ };
19
+ //# sourceMappingURL=GidsBarChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBarChart.js","sourceRoot":"","sources":["../../../src/components/GidsBarChart/GidsBarChart.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,oBAAoB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAQ3D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC/B,UAAU,GAAG,SAAS,EACtB,MAAM,GAAG,MAAM,EACf,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,KAAK,EACpB,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,YAAY,GACU,EAAe,EAAE;IACvC,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CACtC,gBAAgB,CACO,CAAC;IAEzB,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,QAAQ,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,QAAQ,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAEjE,QAAQ,CAAC,SAAS,GAAG,yBAAyB,CAAC,EAAE,UAAU,EAAE,EAAE,YAAY,CAAC,CAAC;IAE7E,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC"}
@@ -5,5 +5,5 @@ export interface GidsButtonDomProps<ButtonElement extends PermittedGidsButtonEle
5
5
  href?: string;
6
6
  onClick?: (this: HTMLButtonElement, event: Event) => void;
7
7
  }
8
- export declare const GidsButtonDom: <ButtonElement extends PermittedGidsButtonElements = "button">({ as, appearance, size, disabled, destructive, loading, width, children, leadingIcon, trailingIcon, type, href, onClick, }: GidsButtonDomProps<ButtonElement>) => ButtonElement extends "button" ? HTMLButtonElement : HTMLAnchorElement;
8
+ export declare const GidsButtonDom: <ButtonElement extends PermittedGidsButtonElements = "button">({ as, appearance, size, disabled, destructive, positive, loading, width, children, leadingIcon, trailingIcon, type, href, onClick, }: GidsButtonDomProps<ButtonElement>) => ButtonElement extends "button" ? HTMLButtonElement : HTMLAnchorElement;
9
9
  //# sourceMappingURL=GidsButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsButton.d.ts","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI7E,MAAM,WAAW,kBAAkB,CAClC,aAAa,SAAS,2BAA2B,CAChD,SAAQ,kBAAkB,CAAC,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC;IACpE,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAC1D;AAED,eAAO,MAAM,aAAa,GACzB,aAAa,SAAS,2BAA2B,GAAG,QAAQ,EAC3D,4HAcC,kBAAkB,CAAC,aAAa,CAAC,KAAG,aAAa,SAAS,QAAQ,GAClE,iBAAiB,GACjB,iBAmDF,CAAC"}
1
+ {"version":3,"file":"GidsButton.d.ts","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI7E,MAAM,WAAW,kBAAkB,CAClC,aAAa,SAAS,2BAA2B,CAChD,SAAQ,kBAAkB,CAAC,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC;IACpE,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAC1D;AAED,eAAO,MAAM,aAAa,GACzB,aAAa,SAAS,2BAA2B,GAAG,QAAQ,EAC3D,sIAeC,kBAAkB,CAAC,aAAa,CAAC,KAAG,aAAa,SAAS,QAAQ,GAClE,iBAAiB,GACjB,iBAmDF,CAAC"}
@@ -2,9 +2,9 @@ import { GidsButtonWebUtils, nonEmpty, } from '@ganpatiinfo/gids-web-shared';
2
2
  import { GidsSpinnerControlDom } from '../_GidsSpinnerControl/GidsSpinnerControl.js';
3
3
  import { appendAsChildren } from '../../utils/domUtils.js';
4
4
  const { getGidsButtonClassNames } = GidsButtonWebUtils;
5
- export const GidsButtonDom = ({ as, appearance, size, disabled, destructive, loading, width, children, leadingIcon, trailingIcon, type, href, onClick, }) => {
5
+ export const GidsButtonDom = ({ as, appearance, size, disabled, destructive, positive, loading, width, children, leadingIcon, trailingIcon, type, href, onClick, }) => {
6
6
  const button = document.createElement(as || 'button');
7
- button.className = getGidsButtonClassNames({ appearance, size, width, destructive, loading }, !children && nonEmpty(leadingIcon) && !nonEmpty(trailingIcon));
7
+ button.className = getGidsButtonClassNames({ appearance, size, width, destructive, loading, positive }, !children && nonEmpty(leadingIcon) && !nonEmpty(trailingIcon));
8
8
  if (as !== 'a') {
9
9
  button.setAttribute('type', type ?? 'button');
10
10
  if (disabled) {
@@ -1 +1 @@
1
- {"version":3,"file":"GidsButton.js","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,QAAQ,GAGR,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAoB,MAAM,yBAAyB,CAAC;AAE7E,MAAM,EAAE,uBAAuB,EAAE,GAAG,kBAAkB,CAAC;AAUvD,MAAM,CAAC,MAAM,aAAa,GAAG,CAE3B,EACD,EAAE,EACF,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,OAAO,EACP,KAAK,EACL,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,OAAO,GAC4B,EAEf,EAAE;IACtB,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CACpC,EAAE,IAAI,QAAQ,CAC4D,CAAC;IAE5E,MAAM,CAAC,SAAS,GAAG,uBAAuB,CACzC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EACjD,CAAC,QAAQ,IAAI,QAAQ,CAAC,WAAW,CAAC,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MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACnC,CAAC;IACF,CAAC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC/C,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;IAE9C,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAEvC,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAEpC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAE5B,gBAAgB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAEvC,IAAI,OAAO,EAAE,CAAC;QACb,MAAM,CAAC,WAAW,CACjB,qBAAqB,CAAC;YACrB,IAAI,EAAE,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;YACvD,aAAa,EAAE,IAAI;SACnB,CAAC,CACF,CAAC;IACH,CAAC;IAED,IAAI,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;QACzB,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { GidsCalendarWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ export interface GidsCalendarDomProps extends GidsCalendarWebProps {
3
+ extraClasses?: string;
4
+ }
5
+ export declare const GidsCalendarDom: ({ width, activeMonthNumber, activeYear, panelActionsAppearance, selectedDate, dotVisibleDates, endYear, startYear, monthPickerDisabled, nextDisabled, panelDisabled, previousDisabled, yearPickerDisabled, onNextChange, onPreviousChange, onPanelMonthChange, onPanelYearChange, onSelectionCalendarCell, extraClasses, }: GidsCalendarDomProps) => HTMLElement;
6
+ //# sourceMappingURL=GidsCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendar.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCalendar/GidsCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EAEpB,MAAM,8BAA8B,CAAC;AAMtC,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,4TAoB7B,oBAAoB,KAAG,WAsCzB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { GidsCalendarWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsCalendarClassNames } = GidsCalendarWebUtils;
3
+ export const GidsCalendarDom = ({ width = 'intrinsic', activeMonthNumber, activeYear, panelActionsAppearance, selectedDate, dotVisibleDates = [], endYear, startYear, monthPickerDisabled, nextDisabled, panelDisabled, previousDisabled, yearPickerDisabled, onNextChange, onPreviousChange, onPanelMonthChange, onPanelYearChange, onSelectionCalendarCell, extraClasses, }) => {
4
+ const calendar = document.createElement('gids-calendar');
5
+ calendar.width = width;
6
+ calendar.activeMonthNumber = activeMonthNumber;
7
+ calendar.activeYear = activeYear;
8
+ calendar.panelActionsAppearance = panelActionsAppearance;
9
+ calendar.selectedDate = selectedDate;
10
+ calendar.dotVisibleDates = dotVisibleDates;
11
+ calendar.startYear = startYear;
12
+ calendar.endYear = endYear;
13
+ calendar.monthPickerDisabled = monthPickerDisabled;
14
+ calendar.yearPickerDisabled = yearPickerDisabled;
15
+ calendar.nextDisabled = nextDisabled;
16
+ calendar.panelDisabled = panelDisabled;
17
+ calendar.previousDisabled = previousDisabled;
18
+ calendar.className = getGidsCalendarClassNames({ width }, extraClasses);
19
+ if (onNextChange) {
20
+ calendar.onNextChange = onNextChange;
21
+ }
22
+ if (onPreviousChange) {
23
+ calendar.onPreviousChange = onPreviousChange;
24
+ }
25
+ if (onPanelMonthChange) {
26
+ calendar.onPanelMonthChange = onPanelMonthChange;
27
+ }
28
+ if (onPanelYearChange) {
29
+ calendar.onPanelYearChange = onPanelYearChange;
30
+ }
31
+ if (onSelectionCalendarCell) {
32
+ calendar.onSelectionCalendarCell = onSelectionCalendarCell;
33
+ }
34
+ return calendar;
35
+ };
36
+ //# sourceMappingURL=GidsCalendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendar.js","sourceRoot":"","sources":["../../../src/components/GidsCalendar/GidsCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,oBAAoB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAQ3D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC/B,KAAK,GAAG,WAAW,EACnB,iBAAiB,EACjB,UAAU,EACV,sBAAsB,EACtB,YAAY,EACZ,eAAe,GAAG,EAAE,EACpB,OAAO,EACP,SAAS,EACT,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACU,EAAe,EAAE;IACvC,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CACtC,eAAe,CACQ,CAAC;IAEzB,QAAQ,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACzD,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,QAAQ,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,QAAQ,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACnD,QAAQ,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,QAAQ,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAE7C,QAAQ,CAAC,SAAS,GAAG,yBAAyB,CAAC,EAAE,KAAK,EAAE,EAAE,YAAY,CAAC,CAAC;IAExE,IAAI,YAAY,EAAE,CAAC;QAClB,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;IACtC,CAAC;IACD,IAAI,gBAAgB,EAAE,CAAC;QACtB,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC9C,CAAC;IACD,IAAI,kBAAkB,EAAE,CAAC;QACxB,QAAQ,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAClD,CAAC;IACD,IAAI,iBAAiB,EAAE,CAAC;QACvB,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAChD,CAAC;IACD,IAAI,uBAAuB,EAAE,CAAC;QAC7B,QAAQ,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;IAC5D,CAAC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { GidsCalendarCellWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ import { GidsCalendarCellSelectEventDetail } from '@ganpatiinfo/gids-core-shared';
3
+ export interface GidsCalendarCellDomProps extends GidsCalendarCellWebProps {
4
+ onPressCalendarCell?: (event: CustomEvent<GidsCalendarCellSelectEventDetail>) => void;
5
+ extraClasses?: string;
6
+ }
7
+ export declare const GidsCalendarCellDom: ({ id, name, label, dot, disabled, selected, today, onPressCalendarCell, extraClasses, cellType, }: GidsCalendarCellDomProps) => HTMLButtonElement;
8
+ //# sourceMappingURL=GidsCalendarCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarCell.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCalendarCell/GidsCalendarCell.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,wBAAwB,EAExB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,iCAAiC,EAEjC,MAAM,+BAA+B,CAAC;AAKvC,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;IACzE,mBAAmB,CAAC,EAAE,CACrB,KAAK,EAAE,WAAW,CAAC,iCAAiC,CAAC,KACjD,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,GAAI,mGAWjC,wBAAwB,KAAG,iBAgE7B,CAAC"}
@@ -0,0 +1,55 @@
1
+ import { GidsCalendarCellWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { GidsDotDom } from '../GidsDot/GidsDot';
3
+ const { getGidsCalendarCellClassNames } = GidsCalendarCellWebUtils;
4
+ export const GidsCalendarCellDom = ({ id, name, label, dot, disabled = false, selected, today, onPressCalendarCell, extraClasses, cellType = 'effective', }) => {
5
+ const calendarCell = document.createElement('button');
6
+ calendarCell.type = 'button';
7
+ calendarCell.className = getGidsCalendarCellClassNames({ disabled, selected, today, cellType, dot }, extraClasses);
8
+ calendarCell.setAttribute('role', 'gridcell');
9
+ calendarCell.setAttribute('aria-selected', selected ? 'true' : 'false');
10
+ calendarCell.disabled = disabled;
11
+ if (id) {
12
+ calendarCell.setAttribute('id', id);
13
+ }
14
+ if (name) {
15
+ calendarCell.name = name;
16
+ }
17
+ if (label) {
18
+ const childrenLabel = document.createElement('span');
19
+ childrenLabel.textContent = label;
20
+ calendarCell.appendChild(childrenLabel);
21
+ }
22
+ if (dot) {
23
+ let dotAppearance = 'subtle';
24
+ if (selected && !disabled) {
25
+ dotAppearance = 'static-inverse';
26
+ }
27
+ calendarCell.appendChild(GidsDotDom({
28
+ appearance: dotAppearance,
29
+ disabled,
30
+ size: 'xs',
31
+ }));
32
+ }
33
+ const hasPressableContent = !disabled && cellType === 'effective';
34
+ calendarCell.addEventListener('click', (event) => {
35
+ if (event.defaultPrevented || disabled || !hasPressableContent) {
36
+ return;
37
+ }
38
+ const customEvent = new CustomEvent('onPressCalendarCell', {
39
+ bubbles: true,
40
+ composed: true,
41
+ detail: {
42
+ cellValue: label,
43
+ selected,
44
+ disabled,
45
+ dot,
46
+ today,
47
+ },
48
+ });
49
+ if (onPressCalendarCell) {
50
+ onPressCalendarCell(customEvent);
51
+ }
52
+ });
53
+ return calendarCell;
54
+ };
55
+ //# sourceMappingURL=GidsCalendarCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarCell.js","sourceRoot":"","sources":["../../../src/components/GidsCalendarCell/GidsCalendarCell.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,wBAAwB,GACxB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,MAAM,EAAE,6BAA6B,EAAE,GAAG,wBAAwB,CAAC;AASnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EACnC,EAAE,EACF,IAAI,EACJ,KAAK,EACL,GAAG,EACH,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,QAAQ,GAAG,WAAW,GACI,EAAqB,EAAE;IACjD,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACtD,YAAY,CAAC,IAAI,GAAG,QAAQ,CAAC;IAC7B,YAAY,CAAC,SAAS,GAAG,6BAA6B,CACrD,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,EAC5C,YAAY,CACZ,CAAC;IACF,YAAY,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC9C,YAAY,CAAC,YAAY,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IACxE,YAAY,CAAC,QAAQ,GAAG,QAAQ,C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CAAC,CAAC;IAEH,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type GidsCalendarDayCellWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ export interface GidsCalendarDayCellDomProps extends GidsCalendarDayCellWebProps {
3
+ extraClasses?: string;
4
+ }
5
+ export declare const GidsCalendarDayCellDom: ({ label, id, extraClasses, }: GidsCalendarDayCellDomProps) => HTMLButtonElement;
6
+ //# sourceMappingURL=GidsCalendarDayCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarDayCell.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCalendarDayCell/GidsCalendarDayCell.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,2BAA2B,EAEhC,MAAM,8BAA8B,CAAC;AAKtC,MAAM,WAAW,2BAA4B,SAAQ,2BAA2B;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,sBAAsB,GAAI,8BAIpC,2BAA2B,KAAG,iBAYhC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { GidsCalendarDayCellWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { GidsCalendarCellDom } from '../GidsCalendarCell/GidsCalendarCell';
3
+ const { getGidsCalendarDayCellClassNames } = GidsCalendarDayCellWebUtils;
4
+ export const GidsCalendarDayCellDom = ({ label, id, extraClasses, }) => {
5
+ return GidsCalendarCellDom({
6
+ id,
7
+ name: label,
8
+ label,
9
+ dot: false,
10
+ disabled: false,
11
+ selected: false,
12
+ today: false,
13
+ cellType: 'non-effective',
14
+ extraClasses: getGidsCalendarDayCellClassNames(extraClasses),
15
+ });
16
+ };
17
+ //# sourceMappingURL=GidsCalendarDayCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarDayCell.js","sourceRoot":"","sources":["../../../src/components/GidsCalendarDayCell/GidsCalendarDayCell.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,2BAA2B,GAC3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,MAAM,EAAE,gCAAgC,EAAE,GAAG,2BAA2B,CAAC;AAMzE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACtC,KAAK,EACL,EAAE,EACF,YAAY,GACiB,EAAqB,EAAE;IACpD,OAAO,mBAAmB,CAAC;QAC1B,EAAE;QACF,IAAI,EAAE,KAAK;QACX,KAAK;QACL,GAAG,EAAE,KAAK;QACV,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,eAAe;QACzB,YAAY,EAAE,gCAAgC,CAAC,YAAY,CAAC;KAC5D,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { GidsCalendarHeaderPanelWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ export interface GidsCalendarHeaderPanelToggleEventDetail {
3
+ expandedMonthPicker: boolean;
4
+ expandedYearPicker: boolean;
5
+ originalEvent?: Event;
6
+ }
7
+ export interface GidsCalendarHeaderPanelDomProps extends GidsCalendarHeaderPanelWebProps {
8
+ onToggleMonthPicker?: (detail: GidsCalendarHeaderPanelToggleEventDetail) => void;
9
+ onToggleYearPicker?: (detail: GidsCalendarHeaderPanelToggleEventDetail) => void;
10
+ extraClasses?: string;
11
+ }
12
+ export declare const GidsCalendarHeaderPanelDom: ({ appearance, selectedMonthNumber, startYear, endYear, selectedYear, monthPickerDisabled, yearPickerDisabled, panelDisabled, previousDisabled, nextDisabled, expandedMonthPicker, expandedYearPicker, onNextChange, onPreviousChange, onPanelMonthChange, onPanelYearChange, onToggleMonthPicker, onToggleYearPicker, extraClasses, }: GidsCalendarHeaderPanelDomProps) => HTMLElement;
13
+ //# sourceMappingURL=GidsCalendarHeaderPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarHeaderPanel.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,+BAA+B,EAE/B,MAAM,8BAA8B,CAAC;AAKtC,MAAM,WAAW,wCAAwC;IACxD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,KAAK,CAAC;CACtB;AAKD,MAAM,WAAW,+BAAgC,SAAQ,+BAA+B;IACvF,mBAAmB,CAAC,EAAE,CACrB,MAAM,EAAE,wCAAwC,KAC5C,IAAI,CAAC;IACV,kBAAkB,CAAC,EAAE,CACpB,MAAM,EAAE,wCAAwC,KAC5C,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,0BAA0B,GAAI,uUAoBxC,+BAA+B,KAAG,WA2DpC,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { GidsCalendarHeaderPanelWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsCalendarHeaderPanelClassNames } = GidsCalendarHeaderPanelWebUtils;
3
+ export const GidsCalendarHeaderPanelDom = ({ appearance = 'primary', selectedMonthNumber, startYear, endYear, selectedYear, monthPickerDisabled = false, yearPickerDisabled = false, panelDisabled = false, previousDisabled = false, nextDisabled = false, expandedMonthPicker = false, expandedYearPicker = false, onNextChange, onPreviousChange, onPanelMonthChange, onPanelYearChange, onToggleMonthPicker, onToggleYearPicker, extraClasses, }) => {
4
+ const calendarHeaderPanel = document.createElement('gids-calendar-header-panel');
5
+ calendarHeaderPanel.appearance = appearance;
6
+ calendarHeaderPanel.selectedMonthNumber = selectedMonthNumber;
7
+ calendarHeaderPanel.selectedYear = selectedYear;
8
+ calendarHeaderPanel.monthPickerDisabled = monthPickerDisabled;
9
+ calendarHeaderPanel.yearPickerDisabled = yearPickerDisabled;
10
+ calendarHeaderPanel.panelDisabled = panelDisabled;
11
+ calendarHeaderPanel.previousDisabled = previousDisabled;
12
+ calendarHeaderPanel.nextDisabled = nextDisabled;
13
+ calendarHeaderPanel.expandedMonthPicker = expandedMonthPicker;
14
+ calendarHeaderPanel.expandedYearPicker = expandedYearPicker;
15
+ calendarHeaderPanel.startYear = startYear;
16
+ calendarHeaderPanel.endYear = endYear;
17
+ calendarHeaderPanel.className =
18
+ getGidsCalendarHeaderPanelClassNames(extraClasses);
19
+ if (onPanelMonthChange) {
20
+ calendarHeaderPanel.onPanelMonthChange = onPanelMonthChange;
21
+ }
22
+ if (onPanelYearChange) {
23
+ calendarHeaderPanel.onPanelYearChange = onPanelYearChange;
24
+ }
25
+ if (onNextChange) {
26
+ calendarHeaderPanel.onNextChange = onNextChange;
27
+ }
28
+ if (onPreviousChange) {
29
+ calendarHeaderPanel.onPreviousChange = onPreviousChange;
30
+ }
31
+ if (onToggleMonthPicker) {
32
+ calendarHeaderPanel.addEventListener('gidsCalendarHeaderPanelMonthToggle', (event) => {
33
+ onToggleMonthPicker(event
34
+ .detail);
35
+ });
36
+ }
37
+ if (onToggleYearPicker) {
38
+ calendarHeaderPanel.addEventListener('gidsCalendarHeaderPanelYearToggle', (event) => {
39
+ onToggleYearPicker(event
40
+ .detail);
41
+ });
42
+ }
43
+ return calendarHeaderPanel;
44
+ };
45
+ //# sourceMappingURL=GidsCalendarHeaderPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarHeaderPanel.js","sourceRoot":"","sources":["../../../src/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,+BAA+B,GAC/B,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,oCAAoC,EAAE,GAC7C,+BAA+B,CAAC;AAqBjC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EAC1C,UAAU,GAAG,SAAS,EACtB,mBAAmB,EACnB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,mBAAmB,GAAG,KAAK,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AG,YAAY,CAAC;IACjD,CAAC;IACD,IAAI,gBAAgB,EAAE,CAAC;QACtB,mBAAmB,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IACzD,CAAC;IAED,IAAI,mBAAmB,EAAE,CAAC;QACzB,mBAAmB,CAAC,gBAAgB,CACnC,oCAAoC,EACpC,CAAC,KAAY,EAAE,EAAE;YAChB,mBAAmB,CACjB,KAA+D;iBAC9D,MAAM,CACR,CAAC;QACH,CAAC,CACD,CAAC;IACH,CAAC;IACD,IAAI,kBAAkB,EAAE,CAAC;QACxB,mBAAmB,CAAC,gBAAgB,CACnC,mCAAmC,EACnC,CAAC,KAAY,EAAE,EAAE;YAChB,kBAAkB,CAChB,KAA+D;iBAC9D,MAAM,CACR,CAAC;QACH,CAAC,CACD,CAAC;IACH,CAAC;IAED,OAAO,mBAAmB,CAAC;AAC5B,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { GidsCalendarMonthListWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ export interface GidsCalendarMonthListDomProps extends GidsCalendarMonthListWebProps {
3
+ extraClasses?: string;
4
+ }
5
+ export declare const GidsCalendarMonthListDom: ({ type, noOptionsText, onSelectionMonthChange, disabledIndices, divider, selectedMonthNumber, extraClasses, }: GidsCalendarMonthListDomProps) => HTMLElement;
6
+ //# sourceMappingURL=GidsCalendarMonthList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarMonthList.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCalendarMonthList/GidsCalendarMonthList.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,6BAA6B,EAE7B,MAAM,8BAA8B,CAAC;AAmBtC,MAAM,WAAW,6BAA8B,SAAQ,6BAA6B;IACnF,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,wBAAwB,GAAI,+GAQtC,6BAA6B,KAAG,WAqBlC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { GidsCalendarMonthListWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsCalendarMonthListClassNames } = GidsCalendarMonthListWebUtils;
3
+ export const GidsCalendarMonthListDom = ({ type = 'default', noOptionsText, onSelectionMonthChange, disabledIndices = [], divider = false, selectedMonthNumber, extraClasses, }) => {
4
+ const calendarMonthList = document.createElement('gids-calendar-month-list');
5
+ calendarMonthList.type = type;
6
+ if (noOptionsText) {
7
+ calendarMonthList.noOptionsText = noOptionsText;
8
+ }
9
+ calendarMonthList.disabledIndices = disabledIndices;
10
+ calendarMonthList.divider = divider;
11
+ calendarMonthList.selectedMonthNumber = selectedMonthNumber;
12
+ calendarMonthList.className =
13
+ getGidsCalendarMonthListClassNames(extraClasses);
14
+ if (onSelectionMonthChange) {
15
+ calendarMonthList.onSelectionMonthChange = onSelectionMonthChange;
16
+ }
17
+ return calendarMonthList;
18
+ };
19
+ //# sourceMappingURL=GidsCalendarMonthList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarMonthList.js","sourceRoot":"","sources":["../../../src/components/GidsCalendarMonthList/GidsCalendarMonthList.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,6BAA6B,GAC7B,MAAM,8BAA8B,CAAC;AAMtC,MAAM,EAAE,kCAAkC,EAAE,GAAG,6BAA6B,CAAC;AAiB7E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EACxC,IAAI,GAAG,SAAS,EAChB,aAAa,EACb,sBAAsB,EACtB,eAAe,GAAG,EAAE,EACpB,OAAO,GAAG,KAAK,EACf,mBAAmB,EACnB,YAAY,GACmB,EAAe,EAAE;IAChD,MAAM,iBAAiB,GAAG,QAAQ,CAAC,aAAa,CAC/C,0BAA0B,CACM,CAAC;IAElC,iBAAiB,CAAC,IAAI,GAAG,IAAI,CAAC;IAC9B,IAAI,aAAa,EAAE,CAAC;QACnB,iBAAiB,CAAC,aAAa,GAAG,aAAa,CAAC;IACjD,CAAC;IACD,iBAAiB,CAAC,eAAe,GAAG,eAAe,CAAC;IACpD,iBAAiB,CAAC,OAAO,GAAG,OAAO,CAAC;IACpC,iBAAiB,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IAE5D,iBAAiB,CAAC,SAAS;QAC1B,kCAAkC,CAAC,YAAY,CAAC,CAAC;IAElD,IAAI,sBAAsB,EAAE,CAAC;QAC5B,iBAAiB,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACnE,CAAC;IAED,OAAO,iBAAiB,CAAC;AAC1B,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { GidsCalendarYearListWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ export interface GidsCalendarYearListDomProps extends GidsCalendarYearListWebProps {
3
+ extraClasses?: string;
4
+ }
5
+ export declare const GidsCalendarYearListDom: ({ type, noOptionsText, disabledIndices, divider, selectedYear, startYear, endYear, onSelectionYearChange, extraClasses, }: GidsCalendarYearListDomProps) => HTMLElement;
6
+ //# sourceMappingURL=GidsCalendarYearList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarYearList.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCalendarYearList/GidsCalendarYearList.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,4BAA4B,EAE5B,MAAM,8BAA8B,CAAC;AAsBtC,MAAM,WAAW,4BAA6B,SAAQ,4BAA4B;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,GAAI,2HAUrC,4BAA4B,KAAG,WAoCjC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { GidsCalendarYearListWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsCalendarYearListClassNames, isValidFourDigitYear } = GidsCalendarYearListWebUtils;
3
+ export const GidsCalendarYearListDom = ({ type = 'default', noOptionsText, disabledIndices = [], divider = false, selectedYear, startYear, endYear, onSelectionYearChange, extraClasses, }) => {
4
+ const calendarYearList = document.createElement('gids-calendar-year-list');
5
+ calendarYearList.type = type;
6
+ if (noOptionsText) {
7
+ calendarYearList.noOptionsText = noOptionsText;
8
+ }
9
+ calendarYearList.disabledIndices = disabledIndices;
10
+ calendarYearList.divider = divider;
11
+ calendarYearList.selectedYear = selectedYear;
12
+ calendarYearList.className = getGidsCalendarYearListClassNames(extraClasses);
13
+ if (onSelectionYearChange) {
14
+ calendarYearList.onSelectionYearChange = onSelectionYearChange;
15
+ }
16
+ let newStartYear = 0;
17
+ let newEndYear = 0;
18
+ if (startYear && startYear > 0 && isValidFourDigitYear(startYear)) {
19
+ newStartYear = startYear;
20
+ }
21
+ else {
22
+ newStartYear = new Date().getFullYear();
23
+ }
24
+ if (endYear && endYear > 0 && isValidFourDigitYear(endYear)) {
25
+ newEndYear = endYear;
26
+ }
27
+ else {
28
+ newEndYear = newStartYear + 100;
29
+ }
30
+ calendarYearList.startYear = newStartYear;
31
+ calendarYearList.endYear = newEndYear;
32
+ return calendarYearList;
33
+ };
34
+ //# sourceMappingURL=GidsCalendarYearList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsCalendarYearList.js","sourceRoot":"","sources":["../../../src/components/GidsCalendarYearList/GidsCalendarYearList.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,4BAA4B,GAC5B,MAAM,8BAA8B,CAAC;AAMtC,MAAM,EAAE,iCAAiC,EAAE,oBAAoB,EAAE,GAChE,4BAA4B,CAAC;AAmB9B,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACvC,IAAI,GAAG,SAAS,EAChB,aAAa,EACb,eAAe,GAAG,EAAE,EACpB,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,SAAS,EACT,OAAO,EACP,qBAAqB,EACrB,YAAY,GACkB,EAAe,EAAE;IAC/C,MAAM,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAC9C,yBAAyB,CACM,CAAC;IAEjC,gBAAgB,CAAC,IAAI,GAAG,IAAI,CAAC;IAC7B,IAAI,aAAa,EAAE,CAAC;QACnB,gBAAgB,CAAC,aAAa,GAAG,aAAa,CAAC;IAChD,CAAC;IACD,gBAAgB,CAAC,eAAe,GAAG,eAAe,CAAC;IACnD,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IACnC,gBAAgB,CAAC,YAAY,GAAG,YAAY,CAAC;IAE7C,gBAAgB,CAAC,SAAS,GAAG,iCAAiC,CAAC,YAAY,CAAC,CAAC;IAE7E,IAAI,qBAAqB,EAAE,CAAC;QAC3B,gBAAgB,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IAChE,CAAC;IAED,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,IAAI,SAAS,IAAI,SAAS,GAAG,CAAC,IAAI,oBAAoB,CAAC,SAAS,CAAC,EAAE,CAAC;QACnE,YAAY,GAAG,SAAS,CAAC;IAC1B,CAAC;SAAM,CAAC;QACP,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IACzC,CAAC;IACD,IAAI,OAAO,IAAI,OAAO,GAAG,CAAC,IAAI,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;QAC7D,UAAU,GAAG,OAAO,CAAC;IACtB,CAAC;SAAM,CAAC;QACP,UAAU,GAAG,YAAY,GAAG,GAAG,CAAC;IACjC,CAAC;IAED,gBAAgB,CAAC,SAAS,GAAG,YAAY,CAAC;IAC1C,gBAAgB,CAAC,OAAO,GAAG,UAAU,CAAC;IAEtC,OAAO,gBAAgB,CAAC;AACzB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { GidsChartWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ type GidsChartBaseWebProps = GidsChartWebProps;
3
+ export interface GidsChartDomProps extends GidsChartBaseWebProps {
4
+ extraClasses?: string;
5
+ }
6
+ export declare const GidsChartDom: ({ breakpoint, chartType, lineChartProps, barChartProps, pieChartProps, activityGaugeProps, levelGaugeProps, progressCircleProps, extraClasses, }: GidsChartDomProps) => HTMLElement;
7
+ export {};
8
+ //# sourceMappingURL=GidsChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsChart.d.ts","sourceRoot":"","sources":["../../../src/components/GidsChart/GidsChart.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EAEjB,MAAM,8BAA8B,CAAC;AAItC,KAAK,qBAAqB,GAAG,iBAAiB,CAAC;AAI/C,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,GAAI,kJAU1B,iBAAiB,KAAG,WAetB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { GidsChartWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsChartClassNames } = GidsChartWebUtils;
3
+ export const GidsChartDom = ({ breakpoint = 'desktop', chartType = 'line-chart', lineChartProps, barChartProps, pieChartProps, activityGaugeProps, levelGaugeProps, progressCircleProps, extraClasses, }) => {
4
+ const chart = document.createElement('gids-chart');
5
+ chart.breakpoint = breakpoint;
6
+ chart.chartType = chartType;
7
+ chart.lineChartProps = lineChartProps;
8
+ chart.barChartProps = barChartProps;
9
+ chart.pieChartProps = pieChartProps;
10
+ chart.activityGaugeProps = activityGaugeProps;
11
+ chart.levelGaugeProps = levelGaugeProps;
12
+ chart.progressCircleProps = progressCircleProps;
13
+ chart.className = getGidsChartClassNames(extraClasses);
14
+ return chart;
15
+ };
16
+ //# sourceMappingURL=GidsChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsChart.js","sourceRoot":"","sources":["../../../src/components/GidsChart/GidsChart.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,iBAAiB,GACjB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,sBAAsB,EAAE,GAAG,iBAAiB,CAAC;AAUrD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAC5B,UAAU,GAAG,SAAS,EACtB,SAAS,GAAG,YAAY,EACxB,cAAc,EACd,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,YAAY,GACO,EAAe,EAAE;IACpC,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAqB,CAAC;IAEvE,KAAK,CAAC,UAAU,GAAG,UAAU,CAAC;IAC9B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,cAAc,GAAG,cAAc,CAAC;IACtC,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;IACpC,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;IACpC,KAAK,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC9C,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;IACxC,KAAK,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IAEhD,KAAK,CAAC,SAAS,GAAG,sBAAsB,CAAC,YAAY,CAAC,CAAC;IAEvD,OAAO,KAAK,CAAC;AACd,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { GidsChartLegendWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ import { DomChildren } from '../../utils/domUtils';
3
+ export interface GidsChartLegendDomProps extends GidsChartLegendWebProps<DomChildren> {
4
+ children?: HTMLElement | HTMLElement[];
5
+ extraClasses?: string;
6
+ }
7
+ export declare const GidsChartLegendDom: ({ children, orientation, extraClasses, }: GidsChartLegendDomProps) => HTMLElement;
8
+ //# sourceMappingURL=GidsChartLegend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsChartLegend.d.ts","sourceRoot":"","sources":["../../../src/components/GidsChartLegend/GidsChartLegend.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EAEvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAoB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAOrE,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB,CAAC,WAAW,CAAC;IACpF,QAAQ,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,kBAAkB,GAAI,0CAIhC,uBAAuB,KAAG,WAiB5B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { GidsChartLegendWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { appendAsChildren } from '../../utils/domUtils';
3
+ const { getGidsChartLegendClassNames } = GidsChartLegendWebUtils;
4
+ export const GidsChartLegendDom = ({ children, orientation = 'horizontal', extraClasses, }) => {
5
+ const chartLegend = document.createElement('gids-chart-legend');
6
+ if (children) {
7
+ appendAsChildren(chartLegend, children);
8
+ }
9
+ chartLegend.orientation = orientation;
10
+ chartLegend.className = getGidsChartLegendClassNames({ orientation }, extraClasses);
11
+ return chartLegend;
12
+ };
13
+ //# sourceMappingURL=GidsChartLegend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsChartLegend.js","sourceRoot":"","sources":["../../../src/components/GidsChartLegend/GidsChartLegend.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,uBAAuB,GACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAe,MAAM,sBAAsB,CAAC;AAErE,MAAM,EAAE,4BAA4B,EAAE,GAAG,uBAAuB,CAAC;AAUjE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAClC,QAAQ,EACR,WAAW,GAAG,YAAY,EAC1B,YAAY,GACa,EAAe,EAAE;IAC1C,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CACzC,mBAAmB,CACO,CAAC;IAE5B,IAAI,QAAQ,EAAE,CAAC;QACd,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IACzC,CAAC;IAED,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC;IAEtC,WAAW,CAAC,SAAS,GAAG,4BAA4B,CACnD,EAAE,WAAW,EAAE,EACf,YAAY,CACZ,CAAC;IAEF,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC"}