@ironsource/shared-ui 2.1.12-rc.9 → 2.1.12-test.100

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