@ironsource/shared-ui 2.2.0-test.9 → 2.2.0-test.91

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 (333) hide show
  1. package/AddFilterButton.vue_vue_type_style_index_0_scoped_e87c83df_lang.css +1 -0
  2. package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +1 -0
  3. package/AppTrigger.vue_vue_type_style_index_0_scoped_735d152c_lang.css +1 -0
  4. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_7bfd1b2b_lang.css +1 -0
  5. package/Banner.vue_vue_type_style_index_0_scoped_c76863fc_lang.css +1 -0
  6. package/Button.vue_vue_type_style_index_0_scoped_35545b8c_lang.css +1 -1
  7. package/ButtonBase.vue_vue_type_style_index_0_scoped_37783fab_lang.css +1 -0
  8. package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +1 -0
  9. package/CalendarMonth.vue_vue_type_style_index_0_scoped_2d8c9e98_lang.css +1 -0
  10. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_c054d65d_lang.css +1 -0
  11. package/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
  12. package/ChartLoader.vue_vue_type_style_index_0_scoped_ffa4cc66_lang.css +1 -1
  13. package/ChartPlane.vue_vue_type_style_index_0_scoped_1fcb0465_lang.css +1 -0
  14. package/Checkbox.vue_vue_type_style_index_0_scoped_d6d0f9ef_lang.css +1 -0
  15. package/Chip.vue_vue_type_style_index_0_scoped_5c5674fc_lang.css +1 -0
  16. package/DatePicker.vue_vue_type_style_index_0_scoped_1e1143ac_lang.css +1 -0
  17. package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -1
  18. package/DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css +1 -1
  19. package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +1 -0
  20. package/DateRange.vue_vue_type_style_index_0_scoped_6249380e_lang.css +1 -0
  21. package/DateRangeV4.vue_vue_type_style_index_0_scoped_eb1733fa_lang.css +1 -0
  22. package/Dialog.vue_vue_type_style_index_0_scoped_5d321934_lang.css +1 -0
  23. package/DollarInput.vue_vue_type_style_index_0_scoped_edfcc8c5_lang.css +1 -0
  24. package/Dropdown.vue_vue_type_style_index_0_scoped_c5e0eb4a_lang.css +1 -0
  25. package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
  26. package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +1 -0
  27. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  28. package/Editable.vue_vue_type_style_index_0_scoped_4cdaada8_lang.css +1 -0
  29. package/EmptyState.vue_vue_type_style_index_0_scoped_93b6937e_lang.css +1 -0
  30. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_9e29e2d2_lang.css +1 -0
  31. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_34409b6b_lang.css +1 -0
  32. package/FiltersPanel.vue_vue_type_style_index_0_scoped_9d2f3413_lang.css +1 -1
  33. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_6b91ae9a_lang.css +1 -0
  34. package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
  35. package/GroupOption.vue_vue_type_style_index_0_scoped_8922333d_lang.css +1 -0
  36. package/Heading.vue_vue_type_style_index_0_scoped_19878c4b_lang.css +1 -1
  37. package/IconButton.vue_vue_type_style_index_0_scoped_6dffd3f6_lang.css +1 -1
  38. package/IncludeExclude.vue_vue_type_style_index_0_scoped_0a5bbce1_lang.css +1 -0
  39. package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_5467ea5e_lang.css +1 -0
  40. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f40d8742_lang.css +1 -0
  41. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_573a8670_lang.css +1 -0
  42. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_d13cebf1_lang.css +1 -0
  43. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_7006d3c6_lang.css +1 -0
  44. package/Input.vue_vue_type_style_index_0_scoped_6e29de03_lang.css +1 -0
  45. package/Label.vue_vue_type_style_index_0_scoped_d9395f53_lang.css +1 -0
  46. package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +1 -0
  47. package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +1 -0
  48. package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
  49. package/MenuItem.vue_vue_type_style_index_0_scoped_9924c6c1_lang.css +1 -0
  50. package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +1 -0
  51. package/Option.vue_vue_type_style_index_0_scoped_83464ba3_lang.css +1 -0
  52. package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +1 -0
  53. package/PasswordInput.vue_vue_type_style_index_0_scoped_8c1082ea_lang.css +1 -0
  54. package/PercentageInput.vue_vue_type_style_index_0_scoped_8afc27af_lang.css +1 -0
  55. package/Popover.vue_vue_type_style_index_0_scoped_7f510cb8_lang.css +1 -0
  56. package/Popover.vue_vue_type_style_index_1_lang.css +1 -1
  57. package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +1 -0
  58. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
  59. package/README.md +2 -2
  60. package/RadioButton.vue_vue_type_style_index_0_scoped_2b66ac25_lang.css +1 -0
  61. package/ScrollButton.vue_vue_type_style_index_0_scoped_c302f4a4_lang.css +1 -0
  62. package/Search.vue_vue_type_style_index_0_scoped_6ada15c9_lang.css +1 -0
  63. package/SearchInput.vue_vue_type_style_index_0_scoped_d3f49471_lang.css +1 -0
  64. package/Skeleton.vue_vue_type_style_index_0_scoped_a45dcbb9_lang.css +1 -0
  65. package/SkeletonV4.vue_vue_type_style_index_0_scoped_93ae1260_lang.css +1 -1
  66. package/Snackbar.vue_vue_type_style_index_0_scoped_26cd9aa3_lang.css +1 -0
  67. package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +1 -0
  68. package/Switch.vue_vue_type_style_index_0_scoped_2c00c273_lang.css +1 -0
  69. package/Table.vue_vue_type_style_index_0_scoped_3ae8705f_lang.css +1 -0
  70. package/Table.vue_vue_type_style_index_1_lang.css +1 -1
  71. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_cc63bc78_lang.css +1 -0
  72. package/Tabs.vue_vue_type_style_index_0_scoped_3ad630ee_lang.css +1 -0
  73. package/Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css +1 -0
  74. package/Text.vue_vue_type_style_index_0_scoped_94bd409b_lang.css +1 -1
  75. package/TextArea.vue_vue_type_style_index_0_scoped_295167e0_lang.css +1 -0
  76. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_adae060d_lang.css +1 -0
  77. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  78. package/Toggle.vue_vue_type_style_index_0_scoped_fbf7dbeb_lang.css +1 -0
  79. package/Tooltip.vue_vue_type_style_index_0_scoped_b9b75a5a_lang.css +1 -0
  80. package/Tooltip.vue_vue_type_style_index_1_lang.css +1 -1
  81. package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +1 -0
  82. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  83. package/components/ThemeWrapper/ThemeStrore.d.ts +2 -1
  84. package/components/ThemeWrapper/ThemeStrore.js +16 -11
  85. package/components/ThemeWrapper/ThemeWrapper.vue.js +3 -3
  86. package/components/ThemeWrapper/ThemeWrapper.vue2.js +8 -11
  87. package/components/ThemeWrapper/index.d.ts +2 -1
  88. package/components/ThemeWrapper/index.js +4 -2
  89. package/components/alert/Alert.vue.js +4 -4
  90. package/components/alert/Alert.vue2.js +1 -1
  91. package/components/appTrigger/AppTrigger.vue.js +2 -2
  92. package/components/appTrigger/AppTrigger.vue2.js +1 -1
  93. package/components/autocompleteDropdown/AutocompleteInput.vue.js +2 -2
  94. package/components/autocompleteDropdown/AutocompleteInput.vue2.js +1 -1
  95. package/components/autocompleteDropdown/GroupOption.vue.js +3 -3
  96. package/components/autocompleteDropdown/GroupOption.vue2.js +1 -1
  97. package/components/banner/Banner.vue.js +3 -3
  98. package/components/banner/Banner.vue2.js +9 -9
  99. package/components/button/v3/ButtonBase.vue.d.ts +1 -1
  100. package/components/button/v3/ButtonBase.vue.js +3 -3
  101. package/components/button/v3/ButtonBase.vue2.js +1 -1
  102. package/components/button/v3/ScrollButton.vue.js +3 -3
  103. package/components/button/v3/ScrollButton.vue2.js +1 -1
  104. package/components/button/v4/ButtonV4.vue.js +3 -3
  105. package/components/button/v4/ButtonV4.vue2.js +1 -1
  106. package/components/chart/Chart.vue.d.ts +5 -0
  107. package/components/chart/Chart.vue.js +3 -3
  108. package/components/chart/Chart.vue2.js +17 -15
  109. package/components/chart/ChartPlane.vue.js +5 -5
  110. package/components/chart/ChartPlane.vue2.js +131 -127
  111. package/components/chart/composables/useChartHeight.d.ts +1 -1
  112. package/components/chart/composables/useChartHeight.js +16 -15
  113. package/components/chart/composables/useChartThemeColors.d.ts +6 -0
  114. package/components/chart/composables/useChartThemeColors.js +21 -0
  115. package/components/chart/consts.d.ts +0 -3
  116. package/components/chart/consts.js +35 -38
  117. package/components/chart/index.d.ts +20 -1
  118. package/components/chart/plugins/HoverVerticalLine.js +5 -3
  119. package/components/chart/types.d.ts +1 -0
  120. package/components/checkbox/v3/Checkbox.vue.js +2 -2
  121. package/components/checkbox/v3/Checkbox.vue2.js +2 -2
  122. package/components/chip/v3/Chip.vue.js +3 -3
  123. package/components/chip/v3/Chip.vue2.js +1 -1
  124. package/components/datePicker/v3/DatePicker.vue.js +2 -2
  125. package/components/datePicker/v3/DatePicker.vue2.js +1 -1
  126. package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
  127. package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
  128. package/components/dateRange/common/consts.common.d.ts +5 -0
  129. package/components/dateRange/common/consts.common.js +9 -0
  130. package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
  131. package/components/dateRange/v3/CalendarMonth.vue2.js +1 -1
  132. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  133. package/components/dateRange/v3/DateRange.vue.js +2 -2
  134. package/components/dateRange/v3/DateRange.vue2.js +1 -1
  135. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  136. package/components/dateRange/v3/index.d.ts +7 -7
  137. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  138. package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
  139. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  140. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  141. package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
  142. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  143. package/components/dateRange/v4/index.d.ts +7 -7
  144. package/components/dialog/v3/Dialog.vue.js +4 -4
  145. package/components/dialog/v3/Dialog.vue2.js +11 -11
  146. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  147. package/components/dropdown/v3/Dropdown.vue.js +4 -4
  148. package/components/dropdown/v3/Dropdown.vue2.js +2 -2
  149. package/components/dropdown/v3/Label.vue.js +5 -5
  150. package/components/dropdown/v3/Label.vue2.js +1 -1
  151. package/components/dropdown/v3/Option.vue.js +4 -4
  152. package/components/dropdown/v3/Option.vue2.js +1 -1
  153. package/components/dropdown/v3/SearchInput.vue.js +4 -4
  154. package/components/dropdown/v3/SearchInput.vue2.js +1 -1
  155. package/components/dropdown/v3/index.d.ts +12 -12
  156. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
  157. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  158. package/components/dropdown/v4/DropdownV4.vue2.js +152 -146
  159. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  160. package/components/dropdown/v4/OptionV4.vue2.js +13 -12
  161. package/components/emptyState/v3/EmptyState.vue.js +2 -2
  162. package/components/emptyState/v3/EmptyState.vue2.js +1 -1
  163. package/components/emptyState/v3/EmptyStateIcon.vue.js +9 -9
  164. package/components/emptyState/v4/icons/IconError.vue.js +9 -9
  165. package/components/emptyState/v4/icons/IconFiles.vue.js +9 -9
  166. package/components/emptyState/v4/icons/IconNoAccess.vue.js +9 -9
  167. package/components/emptyState/v4/icons/IconNoData.vue.js +9 -9
  168. package/components/emptyState/v4/icons/IconNoResults.vue.js +8 -8
  169. package/components/emptyState/v4/icons/IconSettings.vue.js +8 -8
  170. package/components/filterDropdown/AddFilterButton.vue.js +2 -2
  171. package/components/filterDropdown/AddFilterButton.vue2.js +1 -1
  172. package/components/filtersPanel/v3/FilterSearchInput.vue.js +2 -2
  173. package/components/filtersPanel/v3/FilterSearchInput.vue2.js +1 -1
  174. package/components/floatingToolbar/FloatingToolbar.vue.js +4 -4
  175. package/components/floatingToolbar/FloatingToolbar.vue2.js +1 -1
  176. package/components/forms/FormCard.vue.js +3 -3
  177. package/components/forms/FormCard.vue2.js +5 -5
  178. package/components/icon/v3/icons/CubeBackground.vue.js +5 -5
  179. package/components/icon/v3/icons/Duplicate.vue.js +10 -10
  180. package/components/icon/v3/icons/FiltersSearch.vue.js +7 -7
  181. package/components/icon/v3/icons/Marketing.vue.js +2 -2
  182. package/components/icon/v3/icons/TableEdit.vue.js +9 -9
  183. package/components/includeExclude/IncludeExclude.vue.js +5 -5
  184. package/components/includeExclude/IncludeExclude.vue2.js +1 -1
  185. package/components/includeExclude/IncludeExcludeAppHeader.vue.js +3 -3
  186. package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +1 -1
  187. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
  188. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +1 -1
  189. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +5 -5
  190. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +1 -1
  191. package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
  192. package/components/includeExclude/IncludeExcludeOption.vue2.js +1 -1
  193. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
  194. package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +1 -1
  195. package/components/input/v3/DollarInput.vue.js +4 -4
  196. package/components/input/v3/DollarInput.vue2.js +1 -1
  197. package/components/input/v3/Input.vue.js +4 -4
  198. package/components/input/v3/Input.vue2.js +1 -1
  199. package/components/input/v3/PasswordInput.vue.js +2 -2
  200. package/components/input/v3/PasswordInput.vue2.js +1 -1
  201. package/components/input/v3/PercentageInput.vue.js +3 -3
  202. package/components/input/v3/PercentageInput.vue2.js +1 -1
  203. package/components/loader/v4/Loader.vue.js +3 -3
  204. package/components/loader/v4/Loader.vue2.js +1 -1
  205. package/components/menu/Menu.vue.js +3 -3
  206. package/components/menu/Menu.vue2.js +33 -30
  207. package/components/menuItem/MenuItem.vue.js +3 -3
  208. package/components/menuItem/MenuItem.vue2.js +1 -1
  209. package/components/multibar/MultiBar.vue.js +3 -3
  210. package/components/multibar/MultiBar.vue2.js +51 -50
  211. package/components/popover/v3/Popover.vue.js +2 -2
  212. package/components/popover/v3/Popover.vue2.js +1 -1
  213. package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
  214. package/components/popover/v4/PopoverV4.vue.js +2 -2
  215. package/components/popover/v4/PopoverV4.vue2.js +20 -17
  216. package/components/popover/v4/index.d.ts +41 -1
  217. package/components/radioButton/v3/RadioButton.vue.js +2 -2
  218. package/components/radioButton/v3/RadioButton.vue2.js +1 -1
  219. package/components/search/v3/Search.vue.js +5 -5
  220. package/components/search/v3/Search.vue2.js +1 -1
  221. package/components/skeleton/v3/Skeleton.vue.js +5 -5
  222. package/components/skeleton/v3/Skeleton.vue2.js +1 -1
  223. package/components/snackbar/v3/Snackbar.vue.js +4 -4
  224. package/components/snackbar/v3/Snackbar.vue2.js +1 -1
  225. package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
  226. package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
  227. package/components/switch/v3/Switch.vue.js +2 -2
  228. package/components/switch/v3/Switch.vue2.js +1 -1
  229. package/components/table/v3/Table.vue.js +5 -5
  230. package/components/table/v3/Table.vue2.js +2 -2
  231. package/components/table/v3/TableHeaderSorter.vue.js +2 -2
  232. package/components/table/v3/TableHeaderSorter.vue2.js +1 -1
  233. package/components/table-cells/v3/Editable.vue.js +5 -5
  234. package/components/table-cells/v3/Editable.vue2.js +1 -1
  235. package/components/tabs/v3/Tabs.vue.js +4 -4
  236. package/components/tabs/v3/Tabs.vue2.js +15 -15
  237. package/components/tag/Tag.vue.d.ts +26 -0
  238. package/components/tag/Tag.vue.js +3 -3
  239. package/components/tag/Tag.vue2.js +227 -155
  240. package/components/tag/index.d.ts +42 -0
  241. package/components/textArea/v3/TextArea.vue.js +3 -3
  242. package/components/textArea/v3/TextArea.vue2.js +1 -1
  243. package/components/toggle/v3/Toggle.vue.js +3 -3
  244. package/components/toggle/v3/Toggle.vue2.js +14 -14
  245. package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
  246. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  247. package/components/tooltip/v3/Tooltip.vue2.js +11 -11
  248. package/components/tooltip/v3/index.d.ts +20 -20
  249. package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -1
  250. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  251. package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
  252. package/components/tooltip/v4/index.d.ts +39 -20
  253. package/design-foundation.stories/colors/ColorsData.d.ts +114 -0
  254. package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +28 -1
  255. package/index.d.ts +195 -76
  256. package/index.js +1 -1
  257. package/package.json +1 -1
  258. package/style/v3/theme-bridge.css +1 -0
  259. package/style/v3/theme-bridge.css.map +1 -0
  260. package/style/v3/theme-bridge.scss +93 -0
  261. package/style/v4/border-radius.scss +2 -2
  262. package/style/v4/colors.scss +105 -0
  263. package/style/v4/elevations.scss +11 -0
  264. package/style/v4/grid.css +1 -1
  265. package/style/v4/grid.css.map +1 -1
  266. package/style/v4/grid.scss +1 -1
  267. package/style/v4/scrollbar.scss +21 -0
  268. package/style/v4/spacings.scss +1 -1
  269. package/style/v4/styleguideV4.scss +1 -0
  270. package/styleguide.scss +18 -18
  271. package/AddFilterButton.vue_vue_type_style_index_0_scoped_fd98af08_lang.css +0 -1
  272. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +0 -1
  273. package/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +0 -1
  274. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_2b63231b_lang.css +0 -1
  275. package/Banner.vue_vue_type_style_index_0_scoped_a293c6d0_lang.css +0 -1
  276. package/ButtonBase.vue_vue_type_style_index_0_scoped_9021cac4_lang.css +0 -1
  277. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +0 -1
  278. package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +0 -1
  279. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +0 -1
  280. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
  281. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +0 -1
  282. package/Checkbox.vue_vue_type_style_index_0_scoped_58dedb90_lang.css +0 -1
  283. package/Chip.vue_vue_type_style_index_0_scoped_f89d9361_lang.css +0 -1
  284. package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +0 -1
  285. package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +0 -1
  286. package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +0 -1
  287. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +0 -1
  288. package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +0 -1
  289. package/DollarInput.vue_vue_type_style_index_0_scoped_9ef40daf_lang.css +0 -1
  290. package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +0 -1
  291. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +0 -1
  292. package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +0 -1
  293. package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +0 -1
  294. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +0 -1
  295. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_51006ea0_lang.css +0 -1
  296. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_04d485be_lang.css +0 -1
  297. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
  298. package/GroupOption.vue_vue_type_style_index_0_scoped_8aae9eb9_lang.css +0 -1
  299. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +0 -1
  300. package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_947cb1fc_lang.css +0 -1
  301. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +0 -1
  302. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +0 -1
  303. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_91bc7787_lang.css +0 -1
  304. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +0 -1
  305. package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +0 -1
  306. package/Label.vue_vue_type_style_index_0_scoped_48e00c04_lang.css +0 -1
  307. package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +0 -1
  308. package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +0 -1
  309. package/MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css +0 -1
  310. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +0 -1
  311. package/Option.vue_vue_type_style_index_0_scoped_3d6ce2fc_lang.css +0 -1
  312. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +0 -1
  313. package/PasswordInput.vue_vue_type_style_index_0_scoped_243f3e16_lang.css +0 -1
  314. package/PercentageInput.vue_vue_type_style_index_0_scoped_08a15760_lang.css +0 -1
  315. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +0 -1
  316. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
  317. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +0 -1
  318. package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +0 -1
  319. package/Search.vue_vue_type_style_index_0_scoped_63beaf6b_lang.css +0 -1
  320. package/SearchInput.vue_vue_type_style_index_0_scoped_b256f8ef_lang.css +0 -1
  321. package/Skeleton.vue_vue_type_style_index_0_scoped_5ed40068_lang.css +0 -1
  322. package/Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css +0 -1
  323. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +0 -1
  324. package/Switch.vue_vue_type_style_index_0_scoped_9c008fc4_lang.css +0 -1
  325. package/Table.vue_vue_type_style_index_0_scoped_9375215d_lang.css +0 -1
  326. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +0 -1
  327. package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +0 -1
  328. package/Tag.vue_vue_type_style_index_0_scoped_043adaf5_lang.css +0 -1
  329. package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +0 -1
  330. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +0 -1
  331. package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +0 -1
  332. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +0 -1
  333. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css"; import { defineComponent as P, ref as U, computed as d, openBlock as n, createElementBlock as b, Fragment as S, createBlock as D, unref as l, isRef as y, withCtx as s, renderSlot as u, createCommentVNode as A, createElementVNode as L, mergeProps as g, normalizeClass as $, createVNode as k, createSlots as M, renderList as R } from "vue";
1
+ import "../../Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css"; import { defineComponent as P, ref as U, computed as d, openBlock as n, createElementBlock as g, Fragment as S, createBlock as D, unref as l, isRef as b, withCtx as s, renderSlot as u, createCommentVNode as A, createElementVNode as L, mergeProps as y, normalizeClass as $, createVNode as k, createSlots as M, renderList as R } from "vue";
2
2
  import { useVModel as B } from "@vueuse/core";
3
3
  import K from "./ChartLegend.vue.js";
4
4
  import X from "./SettingsHeader.vue.js";
@@ -60,7 +60,8 @@ const at = {
60
60
  fullHeightBottomSpacing: { default: 50 },
61
61
  withSettingsHeader: { type: Boolean, default: !0 },
62
62
  extraCharts: { default: () => [] },
63
- colorVariant: { default: "default" }
63
+ colorVariant: { default: "default" },
64
+ height: { default: void 0 }
64
65
  },
65
66
  emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
66
67
  setup(e, { emit: c }) {
@@ -106,23 +107,24 @@ const at = {
106
107
  dataSets: E,
107
108
  visibleIds: I,
108
109
  variant: t.colorVariant
109
- }), w = d(() => t.dataSets.map((a) => ({
110
+ }), H = d(() => t.dataSets.map((a) => ({
110
111
  id: a.id,
111
112
  label: a.label,
112
113
  caption: a.caption || null,
113
114
  color: m.value[a.id] || null,
114
115
  icon: a.icon || null,
115
116
  iconType: a.iconType || "branded"
116
- }))), { containerProps: H, eachPlaneHeight: N } = Z({
117
+ }))), { containerProps: w, eachPlaneHeight: N } = Z({
117
118
  chartPlanesCount: C,
118
119
  useFullHeight: t.fullHeight,
119
- bottomSpacing: t.fullHeightBottomSpacing
120
+ bottomSpacing: t.fullHeightBottomSpacing,
121
+ customHeight: t.height
120
122
  }), O = et(t.testId, p);
121
- return (a, i) => (n(), b(S, null, [
123
+ return (a, i) => (n(), g(S, null, [
122
124
  e.withSettingsHeader ? (n(), D(X, {
123
125
  key: 0,
124
126
  "chart-type": l(r),
125
- "onUpdate:chart-type": i[0] || (i[0] = (o) => y(r) ? r.value = o : null),
127
+ "onUpdate:chart-type": i[0] || (i[0] = (o) => b(r) ? r.value = o : null),
126
128
  "hide-legend": e.hideLegend,
127
129
  "test-id": e.testId
128
130
  }, {
@@ -137,16 +139,16 @@ const at = {
137
139
  ]),
138
140
  _: 3
139
141
  }, 8, ["chart-type", "hide-legend", "test-id"])) : A("", !0),
140
- L("div", g({ class: "chart-container" }, {
141
- ...l(H),
142
+ L("div", y({ class: "chart-container" }, {
143
+ ...l(w),
142
144
  ...l(O)[l(p).CONTAINER]
143
145
  }), [
144
146
  L("section", {
145
147
  class: $(["chart-planes", [{ "with-legend": !e.hideLegend }]])
146
148
  }, [
147
- k(V, g({
149
+ k(V, y({
148
150
  "chart-type": l(r),
149
- "onUpdate:chart-type": i[1] || (i[1] = (o) => y(r) ? r.value = o : null)
151
+ "onUpdate:chart-type": i[1] || (i[1] = (o) => b(r) ? r.value = o : null)
150
152
  }, l(v)), M({ _: 2 }, [
151
153
  a.$slots["subheader-tooltip"] ? {
152
154
  name: "subheader-tooltip",
@@ -156,7 +158,7 @@ const at = {
156
158
  key: "0"
157
159
  } : void 0
158
160
  ]), 1040, ["chart-type"]),
159
- (n(!0), b(S, null, R(e.extraCharts, (o, T) => (n(), D(V, g({
161
+ (n(!0), g(S, null, R(e.extraCharts, (o, T) => (n(), D(V, y({
160
162
  key: T,
161
163
  class: "extra-chart-plane"
162
164
  }, { ...l(v), ...o }, {
@@ -167,13 +169,13 @@ const at = {
167
169
  "test-id": `${e.testId}-${l(p).EXTRA_CHART}-${T}`
168
170
  }), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge", "test-id"]))), 128))
169
171
  ], 2),
170
- e.hideLegend ? A("", !0) : (n(), b("section", at, [
172
+ e.hideLegend ? A("", !0) : (n(), g("section", at, [
171
173
  k(K, {
172
174
  "sort-selected": l(f),
173
- "onUpdate:sort-selected": i[2] || (i[2] = (o) => y(f) ? f.value = o : null),
175
+ "onUpdate:sort-selected": i[2] || (i[2] = (o) => b(f) ? f.value = o : null),
174
176
  "highlighted-id": h.value,
175
177
  "onUpdate:highlighted-id": i[3] || (i[3] = (o) => h.value = o),
176
- items: l(w),
178
+ items: l(H),
177
179
  "visible-ids": l(I),
178
180
  "max-limit-tooltip-text": e.maxLimitTooltipText,
179
181
  "sort-options": e.sortOptions,
@@ -1,7 +1,7 @@
1
- import e from "./ChartPlane.vue2.js";
2
- /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-6de5cddb"]]);
1
+ import o from "./ChartPlane.vue2.js";
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../ChartPlane.vue_vue_type_style_index_0_scoped_1fcb0465_lang.css"; //*');
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-1fcb0465"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,29 +1,31 @@
1
- import "../../ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css"; import { defineComponent as ne, useCssVars as se, unref as n, computed as i, ref as E, onMounted as de, watch as v, nextTick as ue, openBlock as p, createElementBlock as S, createVNode as ce, isRef as fe, createSlots as pe, withCtx as he, renderSlot as me, createCommentVNode as L, createElementVNode as R, normalizeStyle as Te, createBlock as I, mergeProps as ve } from "vue";
2
- import { Chart as V, ArcElement as ye, LineElement as Ce, BarElement as ge, PointElement as be, LineController as xe, BarController as Ae, PieController as ke, ScatterController as Ee, CategoryScale as Se, LinearScale as Le, Filler as Re, Tooltip as Ie } from "chart.js";
3
- import { HoverVerticalLine as De } from "./plugins/HoverVerticalLine.js";
4
- import { prepareTickLabel as Be, formatValue as Oe } from "./utils/utils.js";
5
- import { DEFAULT_TICK_COUNT as Pe, TOTALS_HELPER_KEY as F, LINE_DASH_STYLE as Ne, BASE_COLOR_KEY as M, CHART_PADDING as He, POINT_BORDER_COLOR as we, TICK_LABEL_COLOR as Y, TICK_LABEL_FONT as K, TICKS_EXTRA_PADDING as Ve, GRID_LINE_COLOR as U, HEADER_HEIGHT as Fe, COMPACT_HEADER_HEIGHT as Me, HOVER_AREA_TRANSPARENCY as Ye, HOVER_TRANSPARENCY as y, CHART_ITEM_TRANSPARENCY as Ke, INCOMPLETE_DATA_BAR_TRANSPARENCY as Ue, STACKED_LINE_TRANSPARENCY as Ge } from "./consts.js";
6
- import { ChartType as d, DateInterval as _e, TooltipOrder as G, TrendDirection as $e } from "./types.js";
1
+ import "../../ChartPlane.vue_vue_type_style_index_0_scoped_1fcb0465_lang.css"; import { defineComponent as se, useCssVars as de, unref as n, computed as i, ref as E, onMounted as ue, watch as y, nextTick as M, openBlock as p, createElementBlock as L, createVNode as ce, isRef as fe, createSlots as pe, withCtx as he, renderSlot as me, createCommentVNode as D, createElementVNode as I, normalizeStyle as ve, createBlock as R, mergeProps as Te } from "vue";
2
+ import { Chart as Y, ArcElement as ye, LineElement as Ce, BarElement as ge, PointElement as be, LineController as xe, BarController as Ae, PieController as ke, ScatterController as Se, CategoryScale as Ee, LinearScale as Le, Filler as De, Tooltip as Ie } from "chart.js";
3
+ import { HoverVerticalLine as Re } from "./plugins/HoverVerticalLine.js";
4
+ import { prepareTickLabel as Be, formatValue as Pe } from "./utils/utils.js";
5
+ import { DEFAULT_TICK_COUNT as He, TOTALS_HELPER_KEY as K, LINE_DASH_STYLE as Ne, BASE_COLOR_KEY as U, CHART_PADDING as we, TICK_LABEL_FONT as G, TICKS_EXTRA_PADDING as Oe, HEADER_HEIGHT as Ve, COMPACT_HEADER_HEIGHT as Fe, HOVER_AREA_TRANSPARENCY as Me, HOVER_TRANSPARENCY as C, CHART_ITEM_TRANSPARENCY as Ye, INCOMPLETE_DATA_BAR_TRANSPARENCY as Ke, STACKED_LINE_TRANSPARENCY as Ue } from "./consts.js";
6
+ import { ChartType as d, DateInterval as Ge, TooltipOrder as $, TrendDirection as $e } from "./types.js";
7
7
  import { useTooltipPosition as ze } from "./composables/useTooltipPosition.js";
8
- import We from "./ChartTooltip.vue.js";
8
+ import { useChartThemeColors as We } from "./composables/useChartThemeColors.js";
9
+ import { useThemeStore as Ze } from "../ThemeWrapper/ThemeStrore.js";
10
+ import Xe from "./ChartTooltip.vue.js";
9
11
  import { hexColorToRgba as h } from "../../utils/color.js";
10
- import Ze from "./ChartHeader.vue.js";
11
- import { useMemoize as Xe, useVModel as je } from "@vueuse/core";
12
- import qe from "../emptyState/v4/EmptyStateV4.vue.js";
13
- import Je from "./ChartLoader.vue.js";
14
- import { DEFAULT_CHART_COLOR as Qe } from "./colorPalette.js";
15
- import { TotalType as _, calculateTotal as et } from "../../utils/totals.js";
16
- import { isNullOrUndefined as tt } from "../../utils/utils.js";
17
- import { storeOriginalDatasetColors as at, restoreOriginalDatasetColors as ot } from "./utils/highlightUtils.js";
18
- import { useTestIdAttrs as lt } from "../../utils/testIds.js";
19
- import { ChartTestIdModifiers as $ } from "../../testids/index.js";
20
- const rt = { class: "chart-plane-container" }, it = {
12
+ import je from "./ChartHeader.vue.js";
13
+ import { useMemoize as qe, useVModel as Je } from "@vueuse/core";
14
+ import Qe from "../emptyState/v4/EmptyStateV4.vue.js";
15
+ import _e from "./ChartLoader.vue.js";
16
+ import { DEFAULT_CHART_COLOR as et } from "./colorPalette.js";
17
+ import { TotalType as z, calculateTotal as tt } from "../../utils/totals.js";
18
+ import { isNullOrUndefined as at } from "../../utils/utils.js";
19
+ import { storeOriginalDatasetColors as ot, restoreOriginalDatasetColors as lt } from "./utils/highlightUtils.js";
20
+ import { useTestIdAttrs as rt } from "../../utils/testIds.js";
21
+ import { ChartTestIdModifiers as W } from "../../testids/index.js";
22
+ const it = { class: "chart-plane-container" }, nt = {
21
23
  key: 0,
22
24
  class: "header-wrapper"
23
- }, nt = {
25
+ }, st = {
24
26
  key: 1,
25
27
  class: "chart-plane"
26
- }, st = { class: "chart" }, Rt = /* @__PURE__ */ ne({
28
+ }, dt = { class: "chart" }, Bt = /* @__PURE__ */ se({
27
29
  __name: "ChartPlane",
28
30
  props: {
29
31
  dataSets: { default: () => [] },
@@ -33,8 +35,8 @@ const rt = { class: "chart-plane-container" }, it = {
33
35
  parsing: { default: void 0 },
34
36
  xAxisFormat: { default: "string" },
35
37
  yAxisFormat: { default: "number" },
36
- xAxisDateInterval: { default: _e.DAILY },
37
- tickCount: { default: Pe },
38
+ xAxisDateInterval: { default: Ge.DAILY },
39
+ tickCount: { default: He },
38
40
  truncateTickLabels: { type: Boolean, default: !1 },
39
41
  header: { default: "" },
40
42
  headerTooltip: { default: null },
@@ -52,9 +54,9 @@ const rt = { class: "chart-plane-container" }, it = {
52
54
  compactHeader: { type: Boolean, default: !1 },
53
55
  noteText: { default: "" },
54
56
  tooltipRespectsTopEdge: { type: Boolean, default: !0 },
55
- tooltipTotalType: { default: _.Total },
56
- tooltipTotalCalcFn: { type: Function, default: et },
57
- tooltipOrder: { default: G.Legend },
57
+ tooltipTotalType: { default: z.Total },
58
+ tooltipTotalCalcFn: { type: Function, default: tt },
59
+ tooltipOrder: { default: $.Legend },
58
60
  trendValue: { default: null },
59
61
  trendDirection: { default: $e.UP },
60
62
  trendTooltip: { default: null },
@@ -67,14 +69,14 @@ const rt = { class: "chart-plane-container" }, it = {
67
69
  testId: { default: "" }
68
70
  },
69
71
  emits: ["update:chartType"],
70
- setup(o, { emit: z }) {
72
+ setup(o, { emit: Z }) {
71
73
  const e = o;
72
- se((t) => ({
73
- f01f0522: n(oe),
74
- "77889a5a": o.height
74
+ de((t) => ({
75
+ "88f7e4ae": n(le),
76
+ ccb5f6d8: o.height
75
77
  }));
76
- const W = Xe(Be);
77
- V.register(
78
+ const X = qe(Be);
79
+ Y.register(
78
80
  ye,
79
81
  Ce,
80
82
  ge,
@@ -82,65 +84,67 @@ const rt = { class: "chart-plane-container" }, it = {
82
84
  xe,
83
85
  Ae,
84
86
  ke,
85
- Ee,
86
87
  Se,
88
+ Ee,
87
89
  Le,
88
- Re,
90
+ De,
89
91
  Ie,
90
- De
92
+ Re
91
93
  );
92
- const C = je(e, "chartType", z), Z = i(
94
+ const g = Je(e, "chartType", Z), j = i(
93
95
  () => e.withAnimation ? "" : "none"
94
- ), T = E(null);
96
+ ), m = E(null), v = We(m), { theme: q } = Ze();
95
97
  let s = null;
96
- const D = i(() => e.empty || e.dataSets.length === 0), c = i(() => !e.loading && !D.value), g = () => {
97
- T.value && (s && s.destroy(), s = new V(T.value, P.value));
98
- }, X = () => {
99
- s && (s.data.datasets = O.value, s.options = P.value.options, s.update(Z.value));
98
+ const B = i(() => e.empty || e.dataSets.length === 0), c = i(() => !e.loading && !B.value), b = () => {
99
+ m.value && (s && s.destroy(), s = new Y(m.value, w.value));
100
+ }, P = () => {
101
+ s && (s.data.datasets = N.value, s.options = w.value.options, s.update(j.value));
100
102
  };
101
- de(g), v(() => e.chartType, g), v(c, async (t) => {
102
- t && (await ue(), g());
103
- }), v(
103
+ ue(b), y(() => e.chartType, b), y(c, async (t) => {
104
+ t && (await M(), b());
105
+ }), y(
104
106
  [
105
107
  () => e.visibleIds,
106
108
  () => e.dataSets,
107
109
  () => e.valuePrefix,
108
110
  () => e.valueSuffix
109
111
  ],
110
- X
111
- );
112
- const f = i(() => e.totalsChart), b = i(
112
+ P
113
+ ), y(q, async () => {
114
+ await M(), P();
115
+ });
116
+ const f = i(() => e.totalsChart), x = i(
113
117
  () => e.chartType === d.StackedLine || e.chartType === d.StackedBar || f.value
114
- ), x = i(
118
+ ), A = i(
115
119
  () => e.chartType === d.Line || e.chartType === d.StackedLine
116
- ), j = i(() => f.value && !e.parsing.xAxisKey ? { ...e.parsing, xAxisKey: F } : e.parsing), q = i(() => f.value ? e.dataSets.map((t) => ({
120
+ ), J = i(() => f.value && !e.parsing.xAxisKey ? { ...e.parsing, xAxisKey: K } : e.parsing), Q = i(() => f.value ? e.dataSets.map((t) => ({
117
121
  ...t,
118
122
  data: t.data.map((r) => ({
119
123
  ...r,
120
- [F]: t.label
124
+ [K]: t.label
121
125
  }))
122
- })) : e.dataSets), A = i(
123
- () => q.value.filter((t) => e.visibleIds.includes(t.id))
124
- ), J = (t) => e.colorsMap[t] || Qe, B = i(
125
- () => A.value.length && A.value.every(
126
+ })) : e.dataSets), k = i(
127
+ () => Q.value.filter((t) => e.visibleIds.includes(t.id))
128
+ ), _ = (t) => e.colorsMap[t] || et, H = i(
129
+ () => k.value.length && k.value.every(
126
130
  (t) => t.data.length === 1
127
131
  )
128
- ), Q = (t) => (r) => {
132
+ ), ee = (t) => (r) => {
129
133
  const a = r.chart.data.labels.length - 1;
130
- let l = Ke;
131
- return e.chartType === d.Bar && e.indicateIncompleteData && r.index === a ? l = Ue : e.chartType === d.StackedLine && (l = Ge), h(t, l);
132
- }, O = i(() => A.value.map((t, r) => {
133
- const a = J(t.id), l = b.value ? r !== 0 ? "-1" : "start" : void 0, m = e.indicateIncompleteData ? {
134
- borderDash: (w) => {
135
- if (w.p1DataIndex === w.chart.data.labels.length - 1)
134
+ let l = Ye;
135
+ return e.chartType === d.Bar && e.indicateIncompleteData && r.index === a ? l = Ke : e.chartType === d.StackedLine && (l = Ue), h(t, l);
136
+ }, N = i(() => k.value.map((t, r) => {
137
+ const a = _(t.id), l = x.value ? r !== 0 ? "-1" : "start" : void 0, T = e.indicateIncompleteData ? {
138
+ borderDash: (F) => {
139
+ if (F.p1DataIndex === F.chart.data.labels.length - 1)
136
140
  return Ne;
137
141
  }
138
- } : void 0, k = Q(a);
142
+ } : void 0, S = ee(a);
139
143
  return {
140
144
  ...t,
141
145
  fill: l,
142
- segment: m,
143
- backgroundColor: k,
146
+ segment: T,
147
+ backgroundColor: S,
144
148
  borderColor: a,
145
149
  pointBackgroundColor: a,
146
150
  pointHoverBorderColor: a,
@@ -149,22 +153,22 @@ const rt = { class: "chart-plane-container" }, it = {
149
153
  // draw a bit outside the chart area
150
154
  icon: t.icon || null,
151
155
  iconType: t.iconType || "branded",
152
- [M]: a
156
+ [U]: a
153
157
  // store base color for later use
154
158
  };
155
- })), ee = i(
156
- () => e.tooltipTotalType === _.Total ? "Total" : "Mean"
157
- ), te = (t) => t.filter(
159
+ })), te = i(
160
+ () => e.tooltipTotalType === z.Total ? "Total" : "Mean"
161
+ ), ae = (t) => t.filter(
158
162
  (r) => !r.dataset.isTotal
159
- ), P = i(() => ({
163
+ ), w = i(() => ({
160
164
  type: e.chartType == d.Bar || e.chartType === d.StackedBar ? "bar" : "line",
161
165
  // Chart Data
162
166
  data: {
163
- datasets: O.value
167
+ datasets: N.value
164
168
  },
165
169
  // Chart Options
166
170
  options: {
167
- parsing: j.value,
171
+ parsing: J.value,
168
172
  interaction: {
169
173
  intersect: !1,
170
174
  mode: f.value ? "point" : "index",
@@ -174,7 +178,7 @@ const rt = { class: "chart-plane-container" }, it = {
174
178
  plugins: {
175
179
  legend: { display: !1 },
176
180
  title: { display: !1 },
177
- hoverVerticalLine: x.value,
181
+ hoverVerticalLine: A.value,
178
182
  // tooltip
179
183
  tooltip: {
180
184
  enabled: !1,
@@ -184,15 +188,15 @@ const rt = { class: "chart-plane-container" }, it = {
184
188
  },
185
189
  callbacks: {
186
190
  footer: (t) => {
187
- const a = (e.tooltipExcludeTotalItem && t.length > 1 ? te(t) : t).map((m) => m.parsed.y || 0), l = e.tooltipTotalCalcFn(
191
+ const a = (e.tooltipExcludeTotalItem && t.length > 1 ? ae(t) : t).map((T) => T.parsed.y || 0), l = e.tooltipTotalCalcFn(
188
192
  a,
189
193
  e.tooltipTotalType
190
194
  );
191
- return [ee.value, String(l)];
195
+ return [te.value, String(l)];
192
196
  }
193
197
  },
194
198
  itemSort: (t, r) => {
195
- if (e.tooltipOrder === G.YAxis) {
199
+ if (e.tooltipOrder === $.YAxis) {
196
200
  const a = t.parsed.y || 0, l = r.parsed.y || 0;
197
201
  return a === l ? 0 : a > l ? -1 : 1;
198
202
  }
@@ -204,7 +208,7 @@ const rt = { class: "chart-plane-container" }, it = {
204
208
  responsive: !0,
205
209
  maintainAspectRatio: !1,
206
210
  layout: {
207
- padding: He
211
+ padding: we
208
212
  },
209
213
  // basic styles
210
214
  elements: {
@@ -213,12 +217,12 @@ const rt = { class: "chart-plane-container" }, it = {
213
217
  tension: 0
214
218
  },
215
219
  point: {
216
- radius: B.value ? 3 : 1,
220
+ radius: H.value ? 3 : 1,
217
221
  hitRadius: 8,
218
222
  borderWidth: 0,
219
223
  hoverRadius: 4,
220
224
  hoverBorderWidth: 2,
221
- pointHoverBackgroundColor: we
225
+ pointHoverBackgroundColor: v.value.pointBorderColor
222
226
  },
223
227
  bar: {
224
228
  borderRadius: 4
@@ -228,31 +232,31 @@ const rt = { class: "chart-plane-container" }, it = {
228
232
  // Horizontal Axis (X)
229
233
  x: {
230
234
  beginAtZero: !0,
231
- offset: !x.value || B.value,
235
+ offset: !A.value || H.value,
232
236
  border: { display: !1 },
233
- stacked: b.value,
237
+ stacked: x.value,
234
238
  // stack on top of each other
235
239
  // ticks
236
240
  ticks: {
237
- color: Y,
238
- font: K,
241
+ color: v.value.tickLabelColor,
242
+ font: G,
239
243
  padding: 4,
240
244
  maxRotation: 0,
241
245
  autoSkip: !e.truncateTickLabels,
242
246
  autoSkipPadding: 8,
243
247
  callback: function(t, r, a) {
244
- const l = this.getLabelForValue(t), m = x.value && !f.value ? a.length - 1 : a.length, k = this.chart.scales?.x?.width / m - Ve;
245
- return W({
248
+ const l = this.getLabelForValue(t), T = A.value && !f.value ? a.length - 1 : a.length, S = this.chart.scales?.x?.width / T - Oe;
249
+ return X({
246
250
  label: l,
247
251
  format: e.xAxisFormat,
248
- availableSpace: k,
252
+ availableSpace: S,
249
253
  truncate: e.truncateTickLabels
250
254
  });
251
255
  }
252
256
  },
253
257
  // grid lines
254
258
  grid: {
255
- color: U,
259
+ color: v.value.gridLineColor,
256
260
  drawOnChartArea: !1,
257
261
  drawTicks: !0,
258
262
  drawBorder: !1,
@@ -264,61 +268,61 @@ const rt = { class: "chart-plane-container" }, it = {
264
268
  beginAtZero: !0,
265
269
  border: { display: !1 },
266
270
  // hide left borderline
267
- stacked: b.value,
271
+ stacked: x.value,
268
272
  // stack on top of each other
269
273
  // ticks
270
274
  ticks: {
271
- color: Y,
272
- font: K,
275
+ color: v.value.tickLabelColor,
276
+ font: G,
273
277
  count: e.tickCount + 1,
274
278
  padding: 8,
275
279
  min: 0,
276
- callback: (t) => e.valuePrefix + Oe(t, e.yAxisFormat, { formatLowDigits: !0 }) + e.valueSuffix
280
+ callback: (t) => e.valuePrefix + Pe(t, e.yAxisFormat, { formatLowDigits: !0 }) + e.valueSuffix
277
281
  },
278
282
  // grid lines
279
283
  grid: {
280
- color: U,
284
+ color: v.value.gridLineColor,
281
285
  drawOnChartArea: !0,
282
286
  drawTicks: !1
283
287
  }
284
288
  }
285
289
  }
286
290
  }
287
- })), N = E(null), u = E(null), { position: H } = ze(
288
- T,
289
- N,
291
+ })), O = E(null), u = E(null), { position: V } = ze(
292
+ m,
293
+ O,
290
294
  u,
291
295
  e.tooltipRespectsTopEdge
292
- ), ae = i(() => ({
293
- left: `${H.value.left}px`,
294
- top: `${H.value.top}px`,
296
+ ), oe = i(() => ({
297
+ left: `${V.value.left}px`,
298
+ top: `${V.value.top}px`,
295
299
  opacity: u.value?.opacity || 0
296
- })), oe = i(
297
- () => (e.compactHeader ? Me : Fe) + "px"
300
+ })), le = i(
301
+ () => (e.compactHeader ? Fe : Ve) + "px"
298
302
  );
299
- v(
303
+ y(
300
304
  () => e.highlightedId,
301
305
  (t) => {
302
- s && (tt(t) ? re() : le(t), s.update());
306
+ s && (at(t) ? ie() : re(t), s.update());
303
307
  }
304
308
  );
305
- const le = (t) => {
309
+ const re = (t) => {
306
310
  (s?.data.datasets || []).forEach((a) => {
307
- at(a);
308
- const l = a[M];
311
+ ot(a);
312
+ const l = a[U];
309
313
  a.id === t ? e.chartType === d.StackedLine && (a.backgroundColor = h(
310
314
  l,
311
- Ye
312
- )) : (a.backgroundColor = h(l, y), a.borderColor = h(l, y), a.pointBackgroundColor = h(l, y), a.pointHoverBorderColor = h(l, y));
315
+ Me
316
+ )) : (a.backgroundColor = h(l, C), a.borderColor = h(l, C), a.pointBackgroundColor = h(l, C), a.pointHoverBorderColor = h(l, C));
313
317
  });
314
- }, re = () => {
315
- (s?.data.datasets || []).forEach(ot);
316
- }, ie = lt(e.testId, $);
317
- return (t, r) => (p(), S("div", rt, [
318
- n(c) || o.keepSubheaderVisible ? (p(), S("div", it, [
319
- ce(Ze, {
320
- "chart-type": n(C),
321
- "onUpdate:chart-type": r[0] || (r[0] = (a) => fe(C) ? C.value = a : null),
318
+ }, ie = () => {
319
+ (s?.data.datasets || []).forEach(lt);
320
+ }, ne = rt(e.testId, W);
321
+ return (t, r) => (p(), L("div", it, [
322
+ n(c) || o.keepSubheaderVisible ? (p(), L("div", nt, [
323
+ ce(je, {
324
+ "chart-type": n(g),
325
+ "onUpdate:chart-type": r[0] || (r[0] = (a) => fe(g) ? g.value = a : null),
322
326
  "type-switcher": n(c) ? o.typeSwitcher : !1,
323
327
  header: n(c) ? o.header : null,
324
328
  subheader: o.subheader,
@@ -339,21 +343,21 @@ const rt = { class: "chart-plane-container" }, it = {
339
343
  key: "0"
340
344
  } : void 0
341
345
  ]), 1032, ["chart-type", "type-switcher", "header", "subheader", "subheader-tooltip", "header-tooltip", "trend-tooltip", "compact", "trend-value", "trend-direction", "note-text", "test-id"])
342
- ])) : L("", !0),
343
- n(c) ? (p(), S("section", nt, [
344
- R("div", st, [
345
- R("canvas", {
346
+ ])) : D("", !0),
347
+ n(c) ? (p(), L("section", st, [
348
+ I("div", dt, [
349
+ I("canvas", {
346
350
  ref_key: "chartRef",
347
- ref: T,
351
+ ref: m,
348
352
  class: "chart__canvas"
349
353
  }, null, 512),
350
- R("div", {
354
+ I("div", {
351
355
  ref_key: "tooltipRef",
352
- ref: N,
356
+ ref: O,
353
357
  class: "chart__tooltip",
354
- style: Te(n(ae))
358
+ style: ve(n(oe))
355
359
  }, [
356
- u.value ? (p(), I(We, {
360
+ u.value ? (p(), R(Xe, {
357
361
  key: 0,
358
362
  "totals-chart": n(f),
359
363
  title: String(u.value.title),
@@ -366,13 +370,13 @@ const rt = { class: "chart-plane-container" }, it = {
366
370
  "value-suffix": o.valueSuffix,
367
371
  "value-prefix": o.valuePrefix,
368
372
  "test-id": o.testId
369
- }, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "x-axis-date-interval", "total-label", "total-value", "value-suffix", "value-prefix", "test-id"])) : L("", !0)
373
+ }, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "x-axis-date-interval", "total-label", "total-value", "value-suffix", "value-prefix", "test-id"])) : D("", !0)
370
374
  ], 4)
371
375
  ])
372
- ])) : o.loading ? (p(), I(Je, ve({
376
+ ])) : o.loading ? (p(), R(_e, Te({
373
377
  key: 2,
374
378
  class: "chart-loading"
375
- }, n(ie)[n($).LOADER]), null, 16)) : n(D) ? (p(), I(n(qe), {
379
+ }, n(ne)[n(W).LOADER]), null, 16)) : n(B) ? (p(), R(n(Qe), {
376
380
  key: 3,
377
381
  class: "chart-empty",
378
382
  variant: null,
@@ -380,10 +384,10 @@ const rt = { class: "chart-plane-container" }, it = {
380
384
  subtitle: o.noDataSubtitle,
381
385
  "icon-name": o.noDataIcon,
382
386
  "test-id": o.testId
383
- }, null, 8, ["title", "subtitle", "icon-name", "test-id"])) : L("", !0)
387
+ }, null, 8, ["title", "subtitle", "icon-name", "test-id"])) : D("", !0)
384
388
  ]));
385
389
  }
386
390
  });
387
391
  export {
388
- Rt as default
392
+ Bt as default
389
393
  };
@@ -1,5 +1,5 @@
1
1
  import { UseChartHeightArgs } from '@/components/chart/types';
2
- export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, bottomSpacing, }: UseChartHeightArgs) => {
2
+ export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, bottomSpacing, customHeight, }: UseChartHeightArgs) => {
3
3
  containerProps: import("vue").ComputedRef<Record<string, unknown>>;
4
4
  eachPlaneHeight: import("vue").ComputedRef<string>;
5
5
  };
@@ -1,24 +1,25 @@
1
- import { ref as g, computed as o } from "vue";
2
- import { useElementBounding as m, useWindowScroll as f } from "@vueuse/core";
3
- import { useFullPageHeight as p } from "../../../composables/useFullPageHeight.js";
4
- import { DEFAULT_CHART_PLANE_HEIGHT as E, HEADER_HEIGHT as v, MIN_PLANE_HEIGHT as r } from "../consts.js";
5
- const T = ({
1
+ import { ref as f, computed as r } from "vue";
2
+ import { useElementBounding as m, useWindowScroll as p } from "@vueuse/core";
3
+ import { useFullPageHeight as E } from "../../../composables/useFullPageHeight.js";
4
+ import { DEFAULT_CHART_PLANE_HEIGHT as v, HEADER_HEIGHT as d, MIN_PLANE_HEIGHT as n } from "../consts.js";
5
+ const I = ({
6
6
  chartPlanesCount: e,
7
- useFullHeight: n,
8
- bottomSpacing: i = 50
7
+ useFullHeight: i,
8
+ bottomSpacing: c = 50,
9
+ customHeight: o
9
10
  }) => {
10
- const t = g(), { height: c } = m(t), { cssHeightValue: l } = p({
11
+ const t = f(), { height: l } = m(t), { cssHeightValue: u } = E({
11
12
  elem: t,
12
- bottomSpacing: i
13
- }), { y: s } = f(), u = o(() => n && !s.value ? l.value : E + v + "px"), h = o(() => ({
13
+ bottomSpacing: c
14
+ }), { y: s } = p(), h = r(() => o || (i && !s.value ? u.value : v + d + "px")), a = r(() => ({
14
15
  ref: t,
15
- style: { height: u.value }
16
- })), a = o(() => e.value === 1 ? "100%" : c.value / e.value < r ? `${r}px` : 100 / e.value + "%");
16
+ style: { height: h.value }
17
+ })), H = r(() => e.value === 1 ? "100%" : l.value / e.value < n ? `${n}px` : 100 / e.value + "%");
17
18
  return {
18
- containerProps: h,
19
- eachPlaneHeight: a
19
+ containerProps: a,
20
+ eachPlaneHeight: H
20
21
  };
21
22
  };
22
23
  export {
23
- T as useChartHeight
24
+ I as useChartHeight
24
25
  };
@@ -0,0 +1,6 @@
1
+ import { Ref } from 'vue';
2
+ export declare const useChartThemeColors: (elRef: Ref<HTMLElement | null>) => import("vue").ComputedRef<{
3
+ gridLineColor: string;
4
+ tickLabelColor: string;
5
+ pointBorderColor: string;
6
+ }>;