@ironsource/shared-ui 2.1.12-rc.5 → 2.1.12-rc.50

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 (352) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  5. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
  6. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_908ef54f_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css +1 -0
  9. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  10. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_lang.css +1 -0
  11. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  12. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  13. package/DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css +1 -0
  14. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  15. package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
  16. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  17. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  18. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  19. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  20. package/DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_lang.css +1 -0
  21. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  22. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  23. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  24. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  25. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  26. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  27. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  28. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  29. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  30. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  31. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  32. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  33. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  34. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  35. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  36. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  37. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  38. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  39. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  40. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  41. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  42. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  43. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  44. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  45. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  46. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  47. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  48. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  49. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  50. package/components/appIcon/index.d.ts +3 -3
  51. package/components/banner/Banner.vue.d.ts +3 -3
  52. package/components/banner/index.d.ts +7 -7
  53. package/components/button/common/consts.d.ts +1 -0
  54. package/components/button/v3/Button.vue.d.ts +3 -3
  55. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  56. package/components/button/v3/IconButton.vue.d.ts +3 -3
  57. package/components/button/v3/index.d.ts +14 -14
  58. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  59. package/components/button/v4/ButtonV4.vue.js +4 -4
  60. package/components/button/v4/ButtonV4.vue2.js +28 -27
  61. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  62. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  63. package/components/chart/Chart.vue.d.ts +123 -10
  64. package/components/chart/Chart.vue.js +3 -3
  65. package/components/chart/Chart.vue2.js +120 -64
  66. package/components/chart/ChartHeader.vue.d.ts +36 -7
  67. package/components/chart/ChartHeader.vue.js +3 -3
  68. package/components/chart/ChartHeader.vue2.js +60 -63
  69. package/components/chart/ChartHeaderTrend.vue.d.ts +19 -5
  70. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  71. package/components/chart/ChartHeaderTrend.vue2.js +83 -18
  72. package/components/chart/ChartLegend.vue.d.ts +24 -0
  73. package/components/chart/ChartLegend.vue.js +3 -3
  74. package/components/chart/ChartLegend.vue2.js +80 -62
  75. package/components/chart/ChartPlane.vue.d.ts +106 -13
  76. package/components/chart/ChartPlane.vue.js +5 -5
  77. package/components/chart/ChartPlane.vue2.js +313 -238
  78. package/components/chart/ChartStoryArgs.d.ts +63 -2
  79. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  80. package/components/chart/ChartTooltip.vue.js +2 -2
  81. package/components/chart/ChartTooltip.vue2.js +52 -58
  82. package/components/chart/LegendSorting.vue.d.ts +37 -0
  83. package/components/chart/LegendSorting.vue.js +45 -0
  84. package/components/chart/LegendSorting.vue2.js +4 -0
  85. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  86. package/components/chart/SettingsHeader.vue.js +3 -3
  87. package/components/chart/SettingsHeader.vue2.js +17 -16
  88. package/components/chart/SubHeader.vue.d.ts +52 -0
  89. package/components/chart/SubHeader.vue.js +7 -0
  90. package/components/chart/SubHeader.vue2.js +61 -0
  91. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  92. package/components/chart/TooltipHeader.vue.js +7 -0
  93. package/components/chart/TooltipHeader.vue2.js +69 -0
  94. package/components/chart/colorPalette.d.ts +5 -0
  95. package/components/chart/colorPalette.js +68 -0
  96. package/components/chart/composables/useChartHeight.d.ts +2 -2
  97. package/components/chart/composables/useChartHeight.js +16 -14
  98. package/components/chart/composables/useColorsMap.d.ts +5 -3
  99. package/components/chart/composables/useColorsMap.js +43 -12
  100. package/components/chart/consts.d.ts +29 -8
  101. package/components/chart/consts.js +45 -26
  102. package/components/chart/index.d.ts +473 -76
  103. package/components/chart/mockData.d.ts +33 -5
  104. package/components/chart/types.d.ts +35 -6
  105. package/components/chart/types.js +5 -2
  106. package/components/chart/utils/highlightUtils.d.ts +3 -0
  107. package/components/chart/utils/highlightUtils.js +18 -0
  108. package/components/chart/utils/utils.d.ts +3 -3
  109. package/components/chart/utils/utils.js +25 -10
  110. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  111. package/components/checkbox/v3/index.d.ts +7 -7
  112. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  113. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  114. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  115. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  116. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  117. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  118. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  119. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  120. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  121. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  122. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  123. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  124. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  125. package/components/columnConfigurator/consts.d.ts +1 -0
  126. package/components/columnConfigurator/consts.js +4 -0
  127. package/components/columnConfigurator/index.d.ts +72 -0
  128. package/components/columnConfigurator/index.js +6 -0
  129. package/components/columnConfigurator/mockData.d.ts +30 -0
  130. package/components/columnConfigurator/utils.d.ts +2 -0
  131. package/components/columnConfigurator/utils.js +18 -0
  132. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  133. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  134. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  135. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  136. package/components/columnPicker/OptionChip.vue.js +7 -0
  137. package/components/columnPicker/OptionChip.vue2.js +46 -0
  138. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  139. package/components/columnPicker/RemoveButton.vue.js +7 -0
  140. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  141. package/components/columnPicker/index.d.ts +388 -0
  142. package/components/columnPicker/index.js +6 -0
  143. package/components/columnPicker/mockData.d.ts +8 -0
  144. package/components/dateRange/common/DateRange.common.js +100 -94
  145. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  146. package/components/dateRange/common/DateServices.common.js +88 -92
  147. package/components/dateRange/common/consts.common.d.ts +5 -0
  148. package/components/dateRange/common/consts.common.js +9 -3
  149. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  150. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  151. package/components/dateRange/v3/index.d.ts +7 -7
  152. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  153. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  154. package/components/dateRange/v4/index.d.ts +7 -7
  155. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  156. package/components/dialog/v3/index.d.ts +46 -46
  157. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  158. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  159. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  160. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  161. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  162. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  163. package/components/dialog/v4/DialogV4.vue.d.ts +13 -12
  164. package/components/dialog/v4/DialogV4.vue.js +4 -4
  165. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  166. package/components/dialog/v4/index.d.ts +164 -164
  167. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  168. package/components/dropdown/common/Dropdown.common.js +161 -149
  169. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  170. package/components/dropdown/v3/index.d.ts +39 -39
  171. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  172. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  173. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  174. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  175. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  176. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  177. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  178. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  179. package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
  180. package/components/dropdown/v4/DropdownV4.vue.d.ts +35 -1
  181. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  182. package/components/dropdown/v4/DropdownV4.vue2.js +257 -199
  183. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  184. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  185. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  186. package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
  187. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  188. package/components/dropdown/v4/OptionV4.vue2.js +162 -117
  189. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  190. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  191. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  192. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  193. package/components/dropdown/v4/index.d.ts +702 -162
  194. package/components/forms/FormRow.vue.d.ts +9 -2
  195. package/components/forms/FormRow.vue.js +3 -3
  196. package/components/forms/FormRow.vue2.js +25 -14
  197. package/components/forms/index.d.ts +25 -5
  198. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  199. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  200. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  201. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  202. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  203. package/components/includeExclude/index.d.ts +110 -110
  204. package/components/input/v4/TextField.vue.d.ts +12 -0
  205. package/components/input/v4/TextField.vue.js +3 -3
  206. package/components/input/v4/TextField.vue2.js +129 -105
  207. package/components/input/v4/index.d.ts +46 -2
  208. package/components/link/Link.vue.d.ts +95 -0
  209. package/components/link/Link.vue.js +7 -0
  210. package/components/link/Link.vue2.js +65 -0
  211. package/components/link/index.d.ts +296 -0
  212. package/components/link/index.js +6 -0
  213. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  214. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  215. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  216. package/components/radioButton/v3/index.d.ts +20 -1
  217. package/components/search/v3/index.d.ts +3 -3
  218. package/components/shared/FieldLabel.vue.d.ts +19 -7
  219. package/components/shared/FieldLabel.vue.js +3 -3
  220. package/components/shared/FieldLabel.vue2.js +50 -37
  221. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  222. package/components/sortableList/LoaderBars.vue.js +7 -0
  223. package/components/sortableList/LoaderBars.vue2.js +25 -0
  224. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  225. package/components/sortableList/SortableItem.vue.js +5 -5
  226. package/components/sortableList/SortableItem.vue2.js +86 -70
  227. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  228. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  229. package/components/sortableList/SortableList.types.d.ts +1 -0
  230. package/components/sortableList/SortableList.vue.d.ts +12 -2
  231. package/components/sortableList/SortableList.vue.js +5 -5
  232. package/components/sortableList/SortableList.vue2.js +111 -113
  233. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  234. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  235. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  236. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  237. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  238. package/components/sortableList/composables/useHoverEffect.js +1 -1
  239. package/components/sortableList/consts.d.ts +2 -0
  240. package/components/sortableList/consts.js +4 -2
  241. package/components/sortableList/index.d.ts +77 -39
  242. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  243. package/components/switch/v4/SwitchV4.vue.js +3 -3
  244. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  245. package/components/switch/v4/index.d.ts +29 -0
  246. package/components/table/common/Table.common.d.ts +0 -1
  247. package/components/table/common/Table.common.js +38 -39
  248. package/components/table/common/Table.types.d.ts +2 -0
  249. package/components/table/common/consts.d.ts +1 -0
  250. package/components/table/common/consts.js +2 -1
  251. package/components/table/v4/DataGrid.vue.d.ts +19 -7
  252. package/components/table/v4/DataGrid.vue.js +5 -5
  253. package/components/table/v4/DataGrid.vue2.js +375 -307
  254. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  255. package/components/table/v4/DataGridContainer.vue.js +7 -0
  256. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  257. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  258. package/components/table/v4/DataGridHeader.vue.js +7 -0
  259. package/components/table/v4/DataGridHeader.vue2.js +82 -0
  260. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  261. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  262. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  263. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  264. package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
  265. package/components/table/v4/index.d.ts +581 -298
  266. package/components/table/v4/index.js +7 -4
  267. package/components/table/v4/storyUtils.d.ts +27 -0
  268. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  269. package/components/tabs/v3/index.d.ts +7 -7
  270. package/components/tagsField/TagsField.types.d.ts +4 -0
  271. package/components/tagsField/TagsField.vue.d.ts +65 -0
  272. package/components/tagsField/TagsField.vue.js +7 -0
  273. package/components/tagsField/TagsField.vue2.js +90 -0
  274. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  275. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  276. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  277. package/components/tagsField/consts.d.ts +1 -0
  278. package/components/tagsField/consts.js +4 -0
  279. package/components/tagsField/index.d.ts +75 -0
  280. package/components/tagsField/index.js +6 -0
  281. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  282. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  283. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  284. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  285. package/components/tooltip/v3/index.d.ts +7 -7
  286. package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
  287. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  288. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  289. package/components/tooltip/v4/index.d.ts +27 -8
  290. package/components/typography/Text.vue.d.ts +3 -3
  291. package/components/typography/index.d.ts +7 -7
  292. package/composables/useDateService.d.ts +7 -0
  293. package/composables/useDateService.js +10 -0
  294. package/composables/useFormValidation.d.ts +1 -0
  295. package/composables/useFormValidation.js +32 -27
  296. package/consts/common.d.ts +1 -0
  297. package/consts/common.js +4 -0
  298. package/consts/regex.d.ts +1 -0
  299. package/consts/regex.js +2 -1
  300. package/index.d.ts +10373 -8457
  301. package/index.js +158 -134
  302. package/mocks/apps.d.ts +1 -0
  303. package/mocks/optionsWithIcons.d.ts +2 -0
  304. package/package.json +21 -1
  305. package/testids/index.d.ts +24 -1
  306. package/testids/index.js +36 -32
  307. package/utils/date.d.ts +1 -0
  308. package/utils/date.js +9 -0
  309. package/utils/formatNumbers.d.ts +1 -1
  310. package/utils/formatNumbers.js +39 -8
  311. package/utils/index.js +7 -0
  312. package/utils/object.d.ts +2 -0
  313. package/utils/object.js +9 -5
  314. package/utils/search.js +1 -1
  315. package/utils/text.d.ts +3 -0
  316. package/utils/text.js +24 -5
  317. package/utils/totals.d.ts +5 -0
  318. package/utils/totals.js +9 -0
  319. package/utils/utils.d.ts +1 -0
  320. package/utils/utils.js +4 -0
  321. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  322. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  323. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
  324. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
  325. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
  326. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
  327. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
  328. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
  329. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  330. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
  331. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  332. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  333. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  334. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  335. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  336. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  337. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  338. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  339. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  340. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  341. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  342. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  343. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  344. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  345. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  346. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  347. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  348. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  349. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  350. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  351. package/components/chart/composables/useChartValues.d.ts +0 -12
  352. package/components/chart/composables/useChartValues.js +0 -32
@@ -1,4 +1,4 @@
1
- import { ChartType } from '@/components/chart/types';
1
+ import { ChartType, DateInterval, TooltipOrder, TrendDirection } from '@/components/chart/types';
2
2
  export declare const chartStoryArgs: {
3
3
  chartType: {
4
4
  control: {
@@ -17,6 +17,10 @@ export declare const chartStoryArgs: {
17
17
  options: string[];
18
18
  description: string;
19
19
  };
20
+ xAxisDateInterval: {
21
+ options: DateInterval[];
22
+ description: string;
23
+ };
20
24
  parsing: {
21
25
  description: string;
22
26
  };
@@ -69,6 +73,18 @@ export declare const chartStoryArgs: {
69
73
  category: string;
70
74
  };
71
75
  };
76
+ subheaderTooltip: {
77
+ table: {
78
+ category: string;
79
+ };
80
+ description: string;
81
+ };
82
+ keepSubheaderVisible: {
83
+ table: {
84
+ category: string;
85
+ };
86
+ description: string;
87
+ };
72
88
  trendValue: {
73
89
  table: {
74
90
  category: string;
@@ -82,18 +98,30 @@ export declare const chartStoryArgs: {
82
98
  description: string;
83
99
  control: {
84
100
  type: string;
85
- options: string[];
86
101
  };
102
+ options: TrendDirection[];
87
103
  };
88
104
  tickCount: {
89
105
  description: string;
90
106
  };
107
+ truncateTickLabels: {
108
+ description: string;
109
+ control: {
110
+ type: string;
111
+ };
112
+ };
91
113
  loading: {
92
114
  description: string;
93
115
  control: {
94
116
  type: string;
95
117
  };
96
118
  };
119
+ empty: {
120
+ description: string;
121
+ control: {
122
+ type: string;
123
+ };
124
+ };
97
125
  withAnimation: {
98
126
  control: {
99
127
  type: string;
@@ -114,6 +142,15 @@ export declare const chartStoryArgs: {
114
142
  type: string;
115
143
  };
116
144
  };
145
+ fullHeightBottomSpacing: {
146
+ table: {
147
+ category: string;
148
+ };
149
+ description: string;
150
+ control: {
151
+ type: string;
152
+ };
153
+ };
117
154
  withSettingsHeader: {
118
155
  table: {
119
156
  category: string;
@@ -132,4 +169,28 @@ export declare const chartStoryArgs: {
132
169
  type: string;
133
170
  };
134
171
  };
172
+ tooltipOrder: {
173
+ description: string;
174
+ control: {
175
+ type: string;
176
+ };
177
+ options: TooltipOrder[];
178
+ };
179
+ colorVariant: {
180
+ description: string;
181
+ control: string;
182
+ options: string[];
183
+ };
184
+ indicateIncompleteData: {
185
+ description: string;
186
+ control: {
187
+ type: string;
188
+ };
189
+ };
190
+ tooltipExcludeTotalItem: {
191
+ description: string;
192
+ control: {
193
+ type: string;
194
+ };
195
+ };
135
196
  };
@@ -1,39 +1,59 @@
1
- import { MyTooltipItem, ValueFormat } from '@/components/chart/types';
1
+ import { DateInterval, MyTooltipItem, ValueFormat } from '@/components/chart/types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  title?: string;
4
4
  dataPoints: MyTooltipItem<'line'>[];
5
5
  xAxisFormat?: ValueFormat;
6
6
  yAxisFormat?: ValueFormat;
7
+ xAxisDateInterval?: DateInterval;
7
8
  totalLabel?: string;
8
9
  totalValue?: number;
10
+ totalsChart?: boolean;
11
+ valueSuffix?: string;
12
+ valuePrefix?: string;
9
13
  }>, {
10
14
  title: string;
11
15
  dataPoints: () => any[];
12
16
  xAxisFormat: any;
13
17
  yAxisFormat: any;
18
+ xAxisDateInterval: any;
14
19
  totalLabel: string;
15
20
  totalValue: any;
21
+ totalsChart: boolean;
22
+ valueSuffix: string;
23
+ valuePrefix: string;
16
24
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
25
  title?: string;
18
26
  dataPoints: MyTooltipItem<'line'>[];
19
27
  xAxisFormat?: ValueFormat;
20
28
  yAxisFormat?: ValueFormat;
29
+ xAxisDateInterval?: DateInterval;
21
30
  totalLabel?: string;
22
31
  totalValue?: number;
32
+ totalsChart?: boolean;
33
+ valueSuffix?: string;
34
+ valuePrefix?: string;
23
35
  }>, {
24
36
  title: string;
25
37
  dataPoints: () => any[];
26
38
  xAxisFormat: any;
27
39
  yAxisFormat: any;
40
+ xAxisDateInterval: any;
28
41
  totalLabel: string;
29
42
  totalValue: any;
43
+ totalsChart: boolean;
44
+ valueSuffix: string;
45
+ valuePrefix: string;
30
46
  }>>>, {
31
47
  title: string;
32
- dataPoints: MyTooltipItem<'line'>[];
33
48
  xAxisFormat: ValueFormat;
49
+ xAxisDateInterval: DateInterval;
50
+ dataPoints: MyTooltipItem<'line'>[];
51
+ totalsChart: boolean;
34
52
  yAxisFormat: ValueFormat;
35
53
  totalLabel: string;
36
54
  totalValue: number;
55
+ valueSuffix: string;
56
+ valuePrefix: string;
37
57
  }>;
38
58
  export default _default;
39
59
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./ChartTooltip.vue2.js";
2
2
  /* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css"; //*');
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-25d0e129"]]);
3
+ // import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css"; //*');
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3a6b2681"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,103 +1,97 @@
1
- import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css"; import { defineComponent as F, computed as x, openBlock as l, createElementBlock as n, createVNode as u, unref as t, withCtx as o, createTextVNode as r, toDisplayString as i, createBlock as y, createCommentVNode as d, createElementVNode as f, Fragment as v, renderList as h, normalizeStyle as k } from "vue";
2
- import s from "../typography/v4/Typography.vue.js";
3
- import { formatValue as m } from "./utils/utils.js";
4
- import g from "../icon/v4/IconV4.vue.js";
1
+ import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css"; import { defineComponent as m, openBlock as a, createElementBlock as o, createBlock as f, createCommentVNode as r, Fragment as y, renderList as v, createElementVNode as c, normalizeStyle as h, unref as l, createVNode as i, withCtx as n, createTextVNode as u, toDisplayString as s } from "vue";
2
+ import d from "../typography/v4/Typography.vue.js";
3
+ import b from "../icon/v4/IconV4.vue.js";
5
4
  import "../icon/v4/IconFlag.vue.js";
6
- const A = { class: "chart-tooltip" }, V = {
7
- key: 0,
8
- class: "tooltip-title-wrapper"
9
- }, C = { class: "list" }, T = { class: "popover-label-wrapper" }, w = {
5
+ import { formatValue as x } from "./utils/utils.js";
6
+ import k from "./TooltipHeader.vue.js";
7
+ const C = { class: "chart-tooltip" }, g = {
10
8
  key: 1,
9
+ class: "list"
10
+ }, V = { class: "popover-label-wrapper" }, A = {
11
+ key: 2,
11
12
  class: "tooltip-footer"
12
- }, I = /* @__PURE__ */ F({
13
+ }, L = /* @__PURE__ */ m({
13
14
  __name: "ChartTooltip",
14
15
  props: {
15
16
  title: { default: "" },
16
17
  dataPoints: { default: () => [] },
17
18
  xAxisFormat: { default: null },
18
19
  yAxisFormat: { default: null },
20
+ xAxisDateInterval: { default: null },
19
21
  totalLabel: { default: "Total" },
20
- totalValue: { default: null }
22
+ totalValue: { default: null },
23
+ totalsChart: { type: Boolean, default: !1 },
24
+ valueSuffix: { default: "" },
25
+ valuePrefix: { default: "" }
21
26
  },
22
- setup(e) {
23
- const c = e, p = x(() => c.xAxisFormat === "date" ? "dateLong" : c.xAxisFormat), b = x(() => c.xAxisFormat === "date" ? "day" : c.xAxisFormat);
24
- return (B, L) => (l(), n("div", A, [
25
- e.title ? (l(), n("div", V, [
26
- u(t(s), { variant: "subtitle2" }, {
27
- default: o(() => [
28
- r(i(t(m)(e.title, t(p))), 1)
29
- ]),
30
- _: 1
31
- }),
32
- e.xAxisFormat === "date" ? (l(), y(t(s), {
33
- key: 0,
34
- class: "tooltip-sub-title",
35
- variant: "caption"
36
- }, {
37
- default: o(() => [
38
- r(i(t(m)(e.title, t(b))), 1)
39
- ]),
40
- _: 1
41
- })) : d("", !0)
42
- ])) : d("", !0),
43
- f("ul", C, [
44
- (l(!0), n(v, null, h(e.dataPoints, (a) => (l(), n("li", {
45
- key: a.datasetIndex,
27
+ setup(t) {
28
+ return (F, S) => (a(), o("div", C, [
29
+ t.title ? (a(), f(k, {
30
+ key: 0,
31
+ title: t.title,
32
+ "data-points": t.dataPoints,
33
+ "totals-chart": t.totalsChart,
34
+ "x-axis-format": t.xAxisFormat,
35
+ "x-axis-date-interval": t.xAxisDateInterval
36
+ }, null, 8, ["title", "data-points", "totals-chart", "x-axis-format", "x-axis-date-interval"])) : r("", !0),
37
+ t.totalsChart ? r("", !0) : (a(), o("ul", g, [
38
+ (a(!0), o(y, null, v(t.dataPoints, (e) => (a(), o("li", {
39
+ key: e.datasetIndex,
46
40
  class: "list__item"
47
41
  }, [
48
- f("span", {
42
+ c("span", {
49
43
  class: "color-box",
50
- style: k({
51
- backgroundColor: String(a.dataset.pointBackgroundColor)
44
+ style: h({
45
+ backgroundColor: String(e.dataset.pointBackgroundColor)
52
46
  })
53
47
  }, null, 4),
54
- a.dataset.icon ? (l(), y(t(g), {
48
+ e.dataset.icon ? (a(), f(l(b), {
55
49
  key: 0,
56
50
  class: "platform-icon",
57
- type: a.dataset.iconType,
58
- name: a.dataset.icon,
51
+ type: e.dataset.iconType,
52
+ name: e.dataset.icon,
59
53
  size: "16px"
60
- }, null, 8, ["type", "name"])) : d("", !0),
61
- f("div", T, [
62
- u(t(s), {
54
+ }, null, 8, ["type", "name"])) : r("", !0),
55
+ c("div", V, [
56
+ i(l(d), {
63
57
  variant: "body2",
64
58
  class: "flex-grow truncated-label",
65
59
  "is-truncated": ""
66
60
  }, {
67
- default: o(() => [
68
- r(i(a.dataset.label), 1)
61
+ default: n(() => [
62
+ u(s(e.dataset.label), 1)
69
63
  ]),
70
64
  _: 2
71
65
  }, 1024)
72
66
  ]),
73
- u(t(s), { variant: "body2" }, {
74
- default: o(() => [
75
- r(i(t(m)(a.parsed.y, e.yAxisFormat)), 1)
67
+ i(l(d), { variant: "body2" }, {
68
+ default: n(() => [
69
+ u(s(t.valuePrefix + l(x)(e.parsed.y, t.yAxisFormat, !0, !1) + t.valueSuffix), 1)
76
70
  ]),
77
71
  _: 2
78
72
  }, 1024)
79
73
  ]))), 128))
80
- ]),
81
- e.totalValue !== null ? (l(), n("div", w, [
82
- u(t(s), {
74
+ ])),
75
+ t.totalValue !== null ? (a(), o("div", A, [
76
+ i(l(d), {
83
77
  variant: "body2",
84
78
  class: "flex-grow"
85
79
  }, {
86
- default: o(() => [
87
- r(i(e.totalLabel), 1)
80
+ default: n(() => [
81
+ u(s(t.totalLabel), 1)
88
82
  ]),
89
83
  _: 1
90
84
  }),
91
- u(t(s), { variant: "body2" }, {
92
- default: o(() => [
93
- r(i(t(m)(e.totalValue, e.yAxisFormat)), 1)
85
+ i(l(d), { variant: "body2" }, {
86
+ default: n(() => [
87
+ u(s(t.valuePrefix + l(x)(t.totalValue, t.yAxisFormat, !0) + t.valueSuffix), 1)
94
88
  ]),
95
89
  _: 1
96
90
  })
97
- ])) : d("", !0)
91
+ ])) : r("", !0)
98
92
  ]));
99
93
  }
100
94
  });
101
95
  export {
102
- I as default
96
+ L as default
103
97
  };
@@ -0,0 +1,37 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ selected: unknown;
3
+ options: unknown[];
4
+ optionNameKey: string;
5
+ }>, {
6
+ options: () => any[];
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:selected": (option: unknown) => void;
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ selected: unknown;
11
+ options: unknown[];
12
+ optionNameKey: string;
13
+ }>, {
14
+ options: () => any[];
15
+ }>>> & {
16
+ "onUpdate:selected"?: (option: unknown) => any;
17
+ }, {
18
+ options: unknown[];
19
+ }>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
@@ -0,0 +1,45 @@
1
+ import { defineComponent as l, openBlock as m, createElementBlock as s, createVNode as r, unref as n, isRef as d, withCtx as a, mergeProps as c } from "vue";
2
+ import u from "../dropdown/v4/DropdownV4.vue.js";
3
+ import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
+ import f from "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
5
+ import "../dropdown/v4/ChipDropdownTrigger.vue.js";
6
+ import "../dropdown/v4/AppDropdownTrigger.vue.js";
7
+ import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
+ import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
+ import "../dropdown/v4/TreeDropdown.vue.js";
10
+ import "../dropdown/v4/OptionV4.vue.js";
11
+ import "../dropdown/v4/ConditionalDropdown.vue.js";
12
+ import { useVModel as g } from "@vueuse/core";
13
+ const y = { class: "legend-sorting" }, L = /* @__PURE__ */ l({
14
+ __name: "LegendSorting",
15
+ props: {
16
+ selected: null,
17
+ options: { default: () => [] },
18
+ optionNameKey: null
19
+ },
20
+ emits: ["update:selected"],
21
+ setup(o, { emit: p }) {
22
+ const t = g(o, "selected", p);
23
+ return (v, i) => (m(), s("div", y, [
24
+ r(n(u), {
25
+ selected: n(t),
26
+ "onUpdate:selected": i[0] || (i[0] = (e) => d(t) ? t.value = e : null),
27
+ "display-value": (e) => e[o.optionNameKey],
28
+ options: o.options,
29
+ "option-name-key": o.optionNameKey,
30
+ placement: "bottom-end"
31
+ }, {
32
+ "dropdown-trigger": a(({ buttonTriggerProps: e }) => [
33
+ r(n(f), c(e, {
34
+ "icon-name": "funnel-simple",
35
+ "icon-type": "regular"
36
+ }), null, 16)
37
+ ]),
38
+ _: 1
39
+ }, 8, ["selected", "display-value", "options", "option-name-key"])
40
+ ]));
41
+ }
42
+ });
43
+ export {
44
+ L as default
45
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./LegendSorting.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -10,6 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  }>>> & {
11
11
  "onUpdate:chartType"?: (type: ChartType) => any;
12
12
  }, {}>, {
13
+ "before-chart-type"?(_: {}): any;
13
14
  metric?(_: {}): any;
14
15
  breakdowns?(_: {}): any;
15
16
  }>;
@@ -1,7 +1,7 @@
1
1
  import e from "./SettingsHeader.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css"; //*');
4
- const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-9b6cd9d9"]]);
3
+ // import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css"; //*');
4
+ const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-01f78cd7"]]);
5
5
  export {
6
- d as default
6
+ c as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css"; import { defineComponent as h, computed as g, openBlock as y, createElementBlock as f, createElementVNode as r, normalizeClass as a, createVNode as l, unref as t, isRef as v, withCtx as T, mergeProps as w, renderSlot as p } from "vue";
2
- import b from "../dropdown/v4/DropdownV4.vue.js";
1
+ import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css"; import { defineComponent as h, computed as g, openBlock as y, createElementBlock as f, createElementVNode as r, normalizeClass as l, renderSlot as i, createVNode as p, unref as t, isRef as v, withCtx as T, mergeProps as b } from "vue";
2
+ import w from "../dropdown/v4/DropdownV4.vue.js";
3
3
  import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
4
  import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
5
5
  import "../dropdown/v4/ChipDropdownTrigger.vue.js";
@@ -10,7 +10,7 @@ import "../dropdown/v4/TreeDropdown.vue.js";
10
10
  import "../dropdown/v4/OptionV4.vue.js";
11
11
  import "../dropdown/v4/ConditionalDropdown.vue.js";
12
12
  import { DROPDOWN_TYPE_OPTIONS as c } from "./consts.js";
13
- const _ = { class: "settings-header-container" }, B = { class: "chart-type-selection" }, x = /* @__PURE__ */ h({
13
+ const B = { class: "settings-header-container" }, C = { class: "chart-type-selection" }, H = /* @__PURE__ */ h({
14
14
  __name: "SettingsHeader",
15
15
  props: {
16
16
  chartType: null,
@@ -25,41 +25,42 @@ const _ = { class: "settings-header-container" }, B = { class: "chart-type-selec
25
25
  set(e) {
26
26
  m("update:chartType", e.id);
27
27
  }
28
- }), i = (e) => `Chart: ${e.name}`;
29
- return (e, d) => (y(), f("div", _, [
28
+ }), d = (e) => `Chart: ${e.name}`;
29
+ return (e, a) => (y(), f("div", B, [
30
30
  r("div", {
31
- class: a(["settings", { "settings-spacer": !s.hideLegend }])
31
+ class: l(["settings", { "settings-spacer": !s.hideLegend }])
32
32
  }, [
33
- r("div", B, [
34
- l(t(b), {
33
+ i(e.$slots, "before-chart-type", {}, void 0, !0),
34
+ r("div", C, [
35
+ p(t(w), {
35
36
  selected: t(o),
36
- "onUpdate:selected": d[0] || (d[0] = (n) => v(o) ? o.value = n : null),
37
+ "onUpdate:selected": a[0] || (a[0] = (n) => v(o) ? o.value = n : null),
37
38
  options: t(c),
38
39
  "option-name-key": "name",
39
- "display-value": i,
40
+ "display-value": d,
40
41
  placeholder: "Select chart type",
41
42
  size: "small"
42
43
  }, {
43
44
  "dropdown-trigger": T(({ buttonTriggerProps: n }) => [
44
- l(t(k), w(n, {
45
- label: i(t(o))
45
+ p(t(k), b(n, {
46
+ label: d(t(o))
46
47
  }), null, 16, ["label"])
47
48
  ]),
48
49
  _: 1
49
50
  }, 8, ["selected", "options"])
50
51
  ]),
51
52
  r("div", null, [
52
- p(e.$slots, "metric", {}, void 0, !0)
53
+ i(e.$slots, "metric", {}, void 0, !0)
53
54
  ])
54
55
  ], 2),
55
56
  r("div", {
56
- class: a(["breakdowns", { "breakdowns-border": !s.hideLegend }])
57
+ class: l(["breakdowns", { "breakdowns-border": !s.hideLegend }])
57
58
  }, [
58
- p(e.$slots, "breakdowns", {}, void 0, !0)
59
+ i(e.$slots, "breakdowns", {}, void 0, !0)
59
60
  ], 2)
60
61
  ]));
61
62
  }
62
63
  });
63
64
  export {
64
- x as default
65
+ H as default
65
66
  };
@@ -0,0 +1,52 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ subheader: string;
3
+ subheaderTooltip?: {
4
+ header?: string;
5
+ text?: string;
6
+ };
7
+ showSeparator?: boolean;
8
+ }>, {
9
+ subheader: string;
10
+ subheaderTooltip: any;
11
+ showSeparator: boolean;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ subheader: string;
14
+ subheaderTooltip?: {
15
+ header?: string;
16
+ text?: string;
17
+ };
18
+ showSeparator?: boolean;
19
+ }>, {
20
+ subheader: string;
21
+ subheaderTooltip: any;
22
+ showSeparator: boolean;
23
+ }>>>, {
24
+ subheader: string;
25
+ subheaderTooltip: any;
26
+ showSeparator: boolean;
27
+ }>, {
28
+ "subheader-tooltip"?(_: {}): any;
29
+ }>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ default: D[K];
43
+ }> : P[K];
44
+ };
45
+ type __VLS_Prettify<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./SubHeader.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css"; //*');
4
+ const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-e6008b6c"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -0,0 +1,61 @@
1
+ import "../../SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css"; import { defineComponent as b, useSlots as f, computed as m, openBlock as a, createElementBlock as T, createVNode as u, unref as t, withCtx as o, renderSlot as x, createElementVNode as y, createBlock as i, createTextVNode as r, toDisplayString as d, createCommentVNode as h } from "vue";
2
+ import l from "../typography/v4/Typography.vue.js";
3
+ import S from "../tooltip/v4/TooltipV4.vue.js";
4
+ const k = { class: "header-row" }, v = { class: "subheader-tooltip" }, g = /* @__PURE__ */ b({
5
+ __name: "SubHeader",
6
+ props: {
7
+ subheader: { default: "" },
8
+ subheaderTooltip: { default: null },
9
+ showSeparator: { type: Boolean, default: !1 }
10
+ },
11
+ setup(e) {
12
+ const s = e, n = f(), c = m(() => n["subheader-tooltip"] || s.subheaderTooltip?.text || s.subheaderTooltip?.header);
13
+ return (p, w) => (a(), T("div", k, [
14
+ u(t(S), {
15
+ placement: "right",
16
+ disabled: !t(c)
17
+ }, {
18
+ tooltip: o(() => [
19
+ x(p.$slots, "subheader-tooltip", {}, () => [
20
+ y("div", v, [
21
+ e.subheaderTooltip?.header ? (a(), i(t(l), {
22
+ key: 0,
23
+ variant: "h5"
24
+ }, {
25
+ default: o(() => [
26
+ r(d(e.subheaderTooltip.header), 1)
27
+ ]),
28
+ _: 1
29
+ })) : h("", !0),
30
+ e.subheaderTooltip?.text ? (a(), i(t(l), {
31
+ key: 1,
32
+ variant: "body2",
33
+ class: "subheader-tooltip__text"
34
+ }, {
35
+ default: o(() => [
36
+ r(d(e.subheaderTooltip.text), 1)
37
+ ]),
38
+ _: 1
39
+ })) : h("", !0)
40
+ ])
41
+ ], !0)
42
+ ]),
43
+ default: o(() => [
44
+ u(t(l), {
45
+ class: "subheader",
46
+ variant: "h5"
47
+ }, {
48
+ default: o(() => [
49
+ r(d(e.subheader + (e.showSeparator ? ":" : "")), 1)
50
+ ]),
51
+ _: 1
52
+ })
53
+ ]),
54
+ _: 3
55
+ }, 8, ["disabled"])
56
+ ]));
57
+ }
58
+ });
59
+ export {
60
+ g as default
61
+ };