@ganpatiinfo/gids-web-dom-reference 8.0.0 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/components/GidsActionBar/GidsActionBar.d.ts +8 -0
  3. package/dist/components/GidsActionBar/GidsActionBar.d.ts.map +1 -0
  4. package/dist/components/GidsActionBar/GidsActionBar.js +29 -0
  5. package/dist/components/GidsActionBar/GidsActionBar.js.map +1 -0
  6. package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts +8 -0
  7. package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts.map +1 -0
  8. package/dist/components/GidsActivityGauge/GidsActivityGauge.js +17 -0
  9. package/dist/components/GidsActivityGauge/GidsActivityGauge.js.map +1 -0
  10. package/dist/components/GidsBarChart/GidsBarChart.d.ts +6 -0
  11. package/dist/components/GidsBarChart/GidsBarChart.d.ts.map +1 -0
  12. package/dist/components/GidsBarChart/GidsBarChart.js +19 -0
  13. package/dist/components/GidsBarChart/GidsBarChart.js.map +1 -0
  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 +1 -1
  67. package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts.map +1 -1
  68. package/dist/components/GidsDropdownItem/GidsDropdownItem.js +8 -3
  69. package/dist/components/GidsDropdownItem/GidsDropdownItem.js.map +1 -1
  70. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +1 -1
  71. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts.map +1 -1
  72. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js +15 -4
  73. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js.map +1 -1
  74. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts +20 -0
  75. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts.map +1 -0
  76. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js +62 -0
  77. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js.map +1 -0
  78. package/dist/components/GidsFilter/GidsFilter.d.ts +16 -0
  79. package/dist/components/GidsFilter/GidsFilter.d.ts.map +1 -0
  80. package/dist/components/GidsFilter/GidsFilter.js +49 -0
  81. package/dist/components/GidsFilter/GidsFilter.js.map +1 -0
  82. package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts +6 -0
  83. package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts.map +1 -0
  84. package/dist/components/GidsLevelGauge/GidsLevelGauge.js +17 -0
  85. package/dist/components/GidsLevelGauge/GidsLevelGauge.js.map +1 -0
  86. package/dist/components/GidsLineChart/GidsLineChart.d.ts +6 -0
  87. package/dist/components/GidsLineChart/GidsLineChart.d.ts.map +1 -0
  88. package/dist/components/GidsLineChart/GidsLineChart.js +19 -0
  89. package/dist/components/GidsLineChart/GidsLineChart.js.map +1 -0
  90. package/dist/components/GidsListItem/GidsListItem.d.ts.map +1 -1
  91. package/dist/components/GidsListItem/GidsListItem.js +30 -15
  92. package/dist/components/GidsListItem/GidsListItem.js.map +1 -1
  93. package/dist/components/GidsMenu/GidsMenu.d.ts.map +1 -1
  94. package/dist/components/GidsMenu/GidsMenu.js +0 -7
  95. package/dist/components/GidsMenu/GidsMenu.js.map +1 -1
  96. package/dist/components/GidsMenuGroup/GidsMenuGroup.d.ts.map +1 -1
  97. package/dist/components/GidsMenuGroup/GidsMenuGroup.js +0 -7
  98. package/dist/components/GidsMenuGroup/GidsMenuGroup.js.map +1 -1
  99. package/dist/components/GidsPageTitle/GidsPageTitle.d.ts +9 -0
  100. package/dist/components/GidsPageTitle/GidsPageTitle.d.ts.map +1 -0
  101. package/dist/components/GidsPageTitle/GidsPageTitle.js +32 -0
  102. package/dist/components/GidsPageTitle/GidsPageTitle.js.map +1 -0
  103. package/dist/components/GidsPieChart/GidsPieChart.d.ts +8 -0
  104. package/dist/components/GidsPieChart/GidsPieChart.d.ts.map +1 -0
  105. package/dist/components/GidsPieChart/GidsPieChart.js +16 -0
  106. package/dist/components/GidsPieChart/GidsPieChart.js.map +1 -0
  107. package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts +6 -0
  108. package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts.map +1 -0
  109. package/dist/components/GidsProgressCircle/GidsProgressCircle.js +17 -0
  110. package/dist/components/GidsProgressCircle/GidsProgressCircle.js.map +1 -0
  111. package/dist/index.d.ts +23 -0
  112. package/dist/index.d.ts.map +1 -1
  113. package/dist/index.js +23 -0
  114. package/dist/index.js.map +1 -1
  115. package/package.json +3 -3
  116. package/src/components/GidsActionBar/GidsActionBar.ts +67 -0
  117. package/src/components/GidsActivityGauge/GidsActivityGauge.ts +48 -0
  118. package/src/components/GidsBarChart/GidsBarChart.ts +47 -0
  119. package/src/components/GidsCalendar/GidsCalendar.ts +72 -0
  120. package/src/components/GidsCalendarCell/GidsCalendarCell.ts +95 -0
  121. package/src/components/GidsCalendarDayCell/GidsCalendarDayCell.ts +29 -0
  122. package/src/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.ts +107 -0
  123. package/src/components/GidsCalendarMonthList/GidsCalendarMonthList.ts +56 -0
  124. package/src/components/GidsCalendarYearList/GidsCalendarYearList.ts +76 -0
  125. package/src/components/GidsChart/GidsChart.ts +41 -0
  126. package/src/components/GidsChartLegend/GidsChartLegend.ts +38 -0
  127. package/src/components/GidsChartLegendItem/GidsChartLegendItem.ts +40 -0
  128. package/src/components/GidsChevronButton/GidsChevronButton.ts +55 -0
  129. package/src/components/GidsDot/GidsDot.ts +42 -0
  130. package/src/components/GidsDropdown/GidsDropdown.ts +149 -0
  131. package/src/components/GidsDropdownField/GidsDropdownField.ts +106 -0
  132. package/src/components/GidsDropdownItem/GidsDropdownItem.ts +11 -3
  133. package/src/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.ts +23 -3
  134. package/src/components/GidsDropdownPicker/GidsDropdownPicker.ts +144 -0
  135. package/src/components/GidsFilter/GidsFilter.ts +110 -0
  136. package/src/components/GidsLevelGauge/GidsLevelGauge.ts +46 -0
  137. package/src/components/GidsLineChart/GidsLineChart.ts +50 -0
  138. package/src/components/GidsListItem/GidsListItem.ts +39 -18
  139. package/src/components/GidsMenu/GidsMenu.ts +0 -8
  140. package/src/components/GidsMenuGroup/GidsMenuGroup.ts +0 -8
  141. package/src/components/GidsPageTitle/GidsPageTitle.ts +60 -0
  142. package/src/components/GidsPieChart/GidsPieChart.ts +43 -0
  143. package/src/components/GidsProgressCircle/GidsProgressCircle.ts +46 -0
  144. package/src/index.ts +23 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # @ganpatiinfo/gids-web-dom-reference
2
2
 
3
+ ## 9.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f36f937: - Developed `GidsFilter` web component for all web platforms
8
+ - 50b6356: - Developed `GidsActionBar` web component for all web platforms
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [f36f937]
13
+ - Updated dependencies [50b6356]
14
+ - @ganpatiinfo/gids-core-shared@9.1.0
15
+ - @ganpatiinfo/gids-web-shared@9.1.0
16
+
17
+ ## 9.0.0
18
+
19
+ ### Major Changes
20
+
21
+ - bee7915: - Developed `GidsDropdown` component for all web platforms
22
+ - 892c22e: - Developed `GidsCalendar` component for all web platforms
23
+ - 892c22e: - Developed `GidsCalendarDayCell` component for all web platforms
24
+ - 121ce7c: - Developed `GidsLevelGauge` web component for all web platforms
25
+ - 07c5179: - Developed `GidsChart` web component for all web platforms
26
+ - 121ce7c: - Developed `GidsActivityGauge` web component for all web platforms
27
+ - 121ce7c: - Developed `GidsProgressCircle` web component for all web platforms
28
+ - bee7915: - Developed `GidsDropdownField` components for all web platforms
29
+ - 121ce7c: - Developed `GidsChartLegendItem` component for all web platforms
30
+ - 892c22e: - Developed `GidsCalendarHeaderPanel` component for all web platforms
31
+ - 892c22e: - Developed `GidsCalendarCell` component for all web platforms
32
+ - 892c22e: - Developed `GidsDot` component for all web platforms
33
+ - 121ce7c: - Developed `GidsLineChart` web component for all web platforms
34
+ - 892c22e: - Developed `GidsCalendarMonthList` component for all web platforms
35
+ - 892c22e: - Developed `GidsDropdownPicker` component for all web platforms
36
+ - 121ce7c: - Developed `GidsPieChart` web component for all web platforms
37
+ - 892c22e: - Developed `GidsCalendarYearList` component for all web platforms
38
+ - 121ce7c: - Developed `GidsBarChart` web component for all web platforms
39
+ - bee7915: - Developed `GidsChevronButton` components for all web platforms
40
+ - ce1a1c2: - Developed `GidsPageTitle` component for all web platforms
41
+ - 121ce7c: - Developed `GidsChartLegend` component for all web platforms
42
+
43
+ ### Minor Changes
44
+
45
+ - bee7915: - Fixed `GidsDropdownMenuGroup` component. Added types for all web platforms.
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [bee7915]
50
+ - Updated dependencies [892c22e]
51
+ - Updated dependencies [892c22e]
52
+ - Updated dependencies [121ce7c]
53
+ - Updated dependencies [07c5179]
54
+ - Updated dependencies [121ce7c]
55
+ - Updated dependencies [121ce7c]
56
+ - Updated dependencies [bee7915]
57
+ - Updated dependencies [121ce7c]
58
+ - Updated dependencies [892c22e]
59
+ - Updated dependencies [892c22e]
60
+ - Updated dependencies [892c22e]
61
+ - Updated dependencies [121ce7c]
62
+ - Updated dependencies [892c22e]
63
+ - Updated dependencies [892c22e]
64
+ - Updated dependencies [121ce7c]
65
+ - Updated dependencies [892c22e]
66
+ - Updated dependencies [121ce7c]
67
+ - Updated dependencies [bee7915]
68
+ - Updated dependencies [bee7915]
69
+ - Updated dependencies [ce1a1c2]
70
+ - Updated dependencies [121ce7c]
71
+ - @ganpatiinfo/gids-core-shared@9.0.0
72
+ - @ganpatiinfo/gids-web-shared@9.0.0
73
+
3
74
  ## 8.0.0
4
75
 
5
76
  ### Major Changes
@@ -0,0 +1,8 @@
1
+ import { GidsActionBarWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ type GidsActionBarBaseWebProps = GidsActionBarWebProps<Event>;
3
+ export interface GidsActionBarDomProps extends GidsActionBarBaseWebProps {
4
+ extraClasses?: string;
5
+ }
6
+ export declare const GidsActionBarDom: ({ actionGroup, allFiltersTabVisible, moreFiltersTabVisible, clearAllFiltersVisible, clearAllFiltersButtonAppearance, primaryFilters, secondaryFilters, filterSize, dropdownDividerVisible, onToggleActionBarAllFilter, onToggleActionBarDropdownFilter, onToggleActionBarMoreFilter, onToggleActionBarNoneFilter, onDropdownSelectionActionBarFilterChange, onMoreSelectionActionBarFilterChange, onClearAllFiltersButton, disabled, allFiltersData, moreFiltersData, extraClasses, }: GidsActionBarDomProps) => HTMLElement;
7
+ export {};
8
+ //# sourceMappingURL=GidsActionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsActionBar.d.ts","sourceRoot":"","sources":["../../../src/components/GidsActionBar/GidsActionBar.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EAErB,MAAM,8BAA8B,CAAC;AAItC,KAAK,yBAAyB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAI9D,MAAM,WAAW,qBAAsB,SAAQ,yBAAyB;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,GAAI,udAqB9B,qBAAqB,KAAG,WA8B1B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { GidsActionBarWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ const { getGidsActionBarClassNames } = GidsActionBarWebUtils;
3
+ export const GidsActionBarDom = ({ actionGroup = false, allFiltersTabVisible = false, moreFiltersTabVisible = false, clearAllFiltersVisible = true, clearAllFiltersButtonAppearance = 'primary', primaryFilters = [], secondaryFilters = [], filterSize = 'xs', dropdownDividerVisible, onToggleActionBarAllFilter, onToggleActionBarDropdownFilter, onToggleActionBarMoreFilter, onToggleActionBarNoneFilter, onDropdownSelectionActionBarFilterChange, onMoreSelectionActionBarFilterChange, onClearAllFiltersButton, disabled, allFiltersData, moreFiltersData, extraClasses, }) => {
4
+ const actionBar = document.createElement('gids-action-bar');
5
+ actionBar.actionGroup = actionGroup;
6
+ actionBar.allFiltersTabVisible = allFiltersTabVisible;
7
+ actionBar.moreFiltersTabVisible = moreFiltersTabVisible;
8
+ actionBar.clearAllFiltersVisible = clearAllFiltersVisible;
9
+ actionBar.clearAllFiltersButtonAppearance = clearAllFiltersButtonAppearance;
10
+ actionBar.primaryFilters = primaryFilters;
11
+ actionBar.secondaryFilters = secondaryFilters;
12
+ actionBar.allFiltersData = allFiltersData;
13
+ actionBar.moreFiltersData = moreFiltersData;
14
+ actionBar.filterSize = filterSize;
15
+ actionBar.dropdownDividerVisible = dropdownDividerVisible;
16
+ actionBar.disabled = disabled;
17
+ actionBar.onToggleActionBarAllFilter = onToggleActionBarAllFilter;
18
+ actionBar.onToggleActionBarDropdownFilter = onToggleActionBarDropdownFilter;
19
+ actionBar.onToggleActionBarMoreFilter = onToggleActionBarMoreFilter;
20
+ actionBar.onToggleActionBarNoneFilter = onToggleActionBarNoneFilter;
21
+ actionBar.onDropdownSelectionActionBarFilterChange =
22
+ onDropdownSelectionActionBarFilterChange;
23
+ actionBar.onMoreSelectionActionBarFilterChange =
24
+ onMoreSelectionActionBarFilterChange;
25
+ actionBar.onClearAllFiltersButton = onClearAllFiltersButton;
26
+ actionBar.className = getGidsActionBarClassNames(extraClasses);
27
+ return actionBar;
28
+ };
29
+ //# sourceMappingURL=GidsActionBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsActionBar.js","sourceRoot":"","sources":["../../../src/components/GidsActionBar/GidsActionBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,qBAAqB,GACrB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;AAU7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAChC,WAAW,GAAG,KAAK,EACnB,oBAAoB,GAAG,KAAK,EAC5B,qBAAqB,GAAG,KAAK,EAC7B,s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,GAAG,uBAAuB,CAAC;IAE5D,SAAS,CAAC,SAAS,GAAG,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAE/D,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC"}
@@ -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"}
@@ -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,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C5D,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,GAA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;IACH,CAAC;IAED,MAAM,mBAAmB,GAAG,CAAC,QAAQ,IAAI,QAAQ,KAAK,WAAW,CAAC;IAElE,YAAY,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,KAAiB,EAAE,EAAE;QAC5D,IAAI,KAAK,CAAC,gBAAgB,IAAI,QAAQ,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAChE,OAAO;QACR,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,WAAW,CAClC,qBAAqB,EACrB;YACC,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE;gBACP,SAAS,EAAE,KAAK;gBAChB,QAAQ;gBACR,QAAQ;gBACR,GAAG;gBACH,KAAK;aACL;SACD,CACD,CAAC;QAEF,IAAI,mBAAmB,EAAE,CAAC;YACzB,mBAAmB,CAAC,WAAW,CAAC,CAAC;QAClC,CAAC;IACF,CAAC,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,EAC3B,kBAAkB,GAAG,KAAK,EAC1B,aAAa,GAAG,KAAK,EACrB,gBAAgB,GAAG,KAAK,EACxB,YAAY,GAAG,KAAK,EACpB,mBAAmB,GAAG,KAAK,EAC3B,kBAAkB,GAAG,KAAK,EAC1B,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,GACqB,EAAe,EAAE;IAClD,MAAM,mBAAmB,GAAG,QAAQ,CAAC,aAAa,CACjD,4BAA4B,CACM,CAAC;IAEpC,mBAAmB,CAAC,UAAU,GAAG,UAAU,CAAC;IAC5C,mBAAmB,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IAC9D,mBAAmB,CAAC,YAAY,GAAG,YAAY,CAAC;IAChD,mBAAmB,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IAC9D,mBAAmB,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC5D,mBAAmB,CAAC,aAAa,GAAG,aAAa,CAAC;IAClD,mBAAmB,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IACxD,mBAAmB,CAAC,YAAY,GAAG,YAAY,CAAC;IAChD,mBAAmB,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IAC9D,mBAAmB,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC5D,mBAAmB,CAAC,SAAS,GAAG,SAAS,CAAC;IAC1C,mBAAmB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEtC,mBAAmB,CAAC,SAAS;QAC5B,oCAAoC,CAAC,YAAY,CAAC,CAAC;IAEpD,IAAI,kBAAkB,EAAE,CAAC;QACxB,mBAAmB,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC7D,CAAC;IACD,IAAI,iBAAiB,EAAE,CAAC;QACvB,mBAAmB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC3D,CAAC;IAED,IAAI,YAAY,EAAE,CAAC;QAClB,mBAAmB,CAAC,YAAY,GAAG,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","sourceRo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,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"}
@@ -0,0 +1,8 @@
1
+ import { GidsChartLegendItemWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ import { DomChildren } from '../../utils/domUtils';
3
+ export interface GidsChartLegendItemDomProps extends GidsChartLegendItemWebProps<DomChildren> {
4
+ children?: HTMLElement | HTMLElement[];
5
+ extraClasses?: string;
6
+ }
7
+ export declare const GidsChartLegendItemDom: ({ children, seriesType, orientation, extraClasses, }: GidsChartLegendItemDomProps) => HTMLElement;
8
+ //# sourceMappingURL=GidsChartLegendItem.d.ts.map