@ironsource/shared-ui 2.1.12-test.98 → 2.1.12

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 (248) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
  2. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
  3. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
  7. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
  8. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
  11. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  12. package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
  13. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  14. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  15. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  16. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  17. package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
  18. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  19. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
  20. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  21. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  22. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  23. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  24. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  25. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  26. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  27. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  28. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  29. package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
  30. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  31. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  32. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  33. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  34. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  35. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  36. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  37. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  38. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  39. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  40. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  41. package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
  42. package/components/chart/Chart.vue.d.ts +21 -1
  43. package/components/chart/Chart.vue.js +3 -3
  44. package/components/chart/Chart.vue2.js +130 -114
  45. package/components/chart/ChartHeader.vue.d.ts +5 -0
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +49 -44
  48. package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
  49. package/components/chart/ChartHeaderTrend.vue.js +2 -2
  50. package/components/chart/ChartHeaderTrend.vue2.js +43 -39
  51. package/components/chart/ChartLegend.vue.d.ts +5 -0
  52. package/components/chart/ChartLegend.vue.js +3 -3
  53. package/components/chart/ChartLegend.vue2.js +76 -71
  54. package/components/chart/ChartPlane.vue.d.ts +15 -0
  55. package/components/chart/ChartPlane.vue.js +5 -5
  56. package/components/chart/ChartPlane.vue2.js +173 -156
  57. package/components/chart/ChartStoryArgs.d.ts +17 -0
  58. package/components/chart/ChartTooltip.vue.d.ts +5 -0
  59. package/components/chart/ChartTooltip.vue.js +2 -2
  60. package/components/chart/ChartTooltip.vue2.js +39 -35
  61. package/components/chart/LegendSorting.vue.d.ts +5 -0
  62. package/components/chart/LegendSorting.vue.js +16 -14
  63. package/components/chart/SettingsHeader.vue.d.ts +19 -3
  64. package/components/chart/SettingsHeader.vue.js +3 -3
  65. package/components/chart/SettingsHeader.vue2.js +36 -29
  66. package/components/chart/TooltipHeader.vue.js +3 -3
  67. package/components/chart/TooltipHeader.vue2.js +26 -26
  68. package/components/chart/colorPalette.d.ts +2 -1
  69. package/components/chart/colorPalette.js +47 -33
  70. package/components/chart/composables/useColorsMap.d.ts +3 -1
  71. package/components/chart/composables/useColorsMap.js +32 -30
  72. package/components/chart/consts.d.ts +5 -1
  73. package/components/chart/consts.js +30 -26
  74. package/components/chart/index.d.ts +77 -1
  75. package/components/chart/mockData.d.ts +15 -0
  76. package/components/chart/types.d.ts +3 -1
  77. package/components/chart/types.js +5 -5
  78. package/components/chart/utils/utils.d.ts +1 -1
  79. package/components/chart/utils/utils.js +20 -14
  80. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  81. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  82. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  83. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  84. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  85. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  86. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  87. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  88. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  89. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  90. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  91. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  92. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  93. package/components/columnConfigurator/consts.d.ts +1 -0
  94. package/components/columnConfigurator/consts.js +4 -0
  95. package/components/columnConfigurator/index.d.ts +73 -0
  96. package/components/columnConfigurator/index.js +6 -0
  97. package/components/columnConfigurator/mockData.d.ts +30 -0
  98. package/components/columnConfigurator/utils.d.ts +2 -0
  99. package/components/columnConfigurator/utils.js +18 -0
  100. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  101. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  102. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  103. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  104. package/components/columnPicker/OptionChip.vue.js +7 -0
  105. package/components/columnPicker/OptionChip.vue2.js +46 -0
  106. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  107. package/components/columnPicker/RemoveButton.vue.js +7 -0
  108. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  109. package/components/columnPicker/index.d.ts +388 -0
  110. package/components/columnPicker/index.js +6 -0
  111. package/components/columnPicker/mockData.d.ts +8 -0
  112. package/components/dateRange/common/DateRange.common.js +60 -60
  113. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  114. package/components/dialog/v3/index.d.ts +46 -46
  115. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  116. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  117. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  118. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  119. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  120. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  121. package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
  122. package/components/dialog/v4/DialogV4.vue.js +3 -3
  123. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  124. package/components/dialog/v4/index.d.ts +157 -157
  125. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  126. package/components/dropdown/v3/index.d.ts +20 -20
  127. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  128. package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
  129. package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
  130. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  131. package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
  132. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  133. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  134. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  135. package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
  136. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  137. package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
  138. package/components/dropdown/v4/index.d.ts +81 -3
  139. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
  140. package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
  141. package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
  142. package/components/emptyState/v4/index.d.ts +20 -1
  143. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  144. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  145. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  146. package/components/includeExclude/index.d.ts +70 -70
  147. package/components/input/v4/TextField.vue.d.ts +12 -0
  148. package/components/input/v4/TextField.vue.js +3 -3
  149. package/components/input/v4/TextField.vue2.js +129 -105
  150. package/components/input/v4/index.d.ts +46 -2
  151. package/components/link/Link.vue.d.ts +95 -0
  152. package/components/link/Link.vue.js +7 -0
  153. package/components/link/Link.vue2.js +65 -0
  154. package/components/link/index.d.ts +296 -0
  155. package/components/link/index.js +6 -0
  156. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  157. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  158. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  159. package/components/radioButton/v3/index.d.ts +20 -1
  160. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  161. package/components/sortableList/LoaderBars.vue.js +7 -0
  162. package/components/sortableList/LoaderBars.vue2.js +25 -0
  163. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  164. package/components/sortableList/SortableItem.vue.js +5 -5
  165. package/components/sortableList/SortableItem.vue2.js +86 -70
  166. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  167. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  168. package/components/sortableList/SortableList.types.d.ts +1 -0
  169. package/components/sortableList/SortableList.vue.d.ts +12 -2
  170. package/components/sortableList/SortableList.vue.js +5 -5
  171. package/components/sortableList/SortableList.vue2.js +111 -113
  172. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  173. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  174. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  175. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  176. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  177. package/components/sortableList/composables/useHoverEffect.js +1 -1
  178. package/components/sortableList/consts.d.ts +2 -0
  179. package/components/sortableList/consts.js +4 -2
  180. package/components/sortableList/index.d.ts +77 -39
  181. package/components/table/common/consts.d.ts +2 -0
  182. package/components/table/common/consts.js +6 -4
  183. package/components/table/v4/DataGrid.vue.d.ts +12 -7
  184. package/components/table/v4/DataGrid.vue.js +4 -4
  185. package/components/table/v4/DataGrid.vue2.js +273 -268
  186. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  187. package/components/table/v4/DataGridContainer.vue.js +7 -0
  188. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  189. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  190. package/components/table/v4/DataGridHeader.vue.js +7 -0
  191. package/components/table/v4/DataGridHeader.vue2.js +84 -0
  192. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  193. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  194. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  195. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  196. package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
  197. package/components/table/v4/index.d.ts +646 -332
  198. package/components/table/v4/index.js +11 -5
  199. package/components/table/v4/storyUtils.d.ts +25 -0
  200. package/components/tagsField/TagsField.types.d.ts +4 -0
  201. package/components/tagsField/TagsField.vue.d.ts +65 -0
  202. package/components/tagsField/TagsField.vue.js +7 -0
  203. package/components/tagsField/TagsField.vue2.js +90 -0
  204. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  205. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  206. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  207. package/components/tagsField/consts.d.ts +1 -0
  208. package/components/tagsField/consts.js +4 -0
  209. package/components/tagsField/index.d.ts +75 -0
  210. package/components/tagsField/index.js +6 -0
  211. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  212. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  213. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  214. package/components/tooltip/v4/index.d.ts +20 -1
  215. package/index.d.ts +2675 -1649
  216. package/index.js +137 -121
  217. package/package.json +18 -1
  218. package/testids/index.d.ts +47 -1
  219. package/testids/index.js +40 -32
  220. package/utils/date.d.ts +1 -0
  221. package/utils/date.js +9 -0
  222. package/utils/formatNumbers.d.ts +1 -1
  223. package/utils/formatNumbers.js +38 -21
  224. package/utils/object.d.ts +2 -0
  225. package/utils/object.js +9 -5
  226. package/utils/search.js +1 -1
  227. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
  228. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
  229. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
  230. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
  231. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
  232. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
  233. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
  234. package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
  235. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  236. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
  237. package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
  238. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
  239. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  240. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
  241. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  242. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  243. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  244. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  245. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  246. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
  247. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
  248. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
@@ -1,16 +1,18 @@
1
- import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css"; import { defineComponent as m, openBlock as a, createElementBlock as o, createBlock as c, createCommentVNode as r, Fragment as y, renderList as v, createElementVNode as f, normalizeStyle as h, unref as l, createVNode as i, withCtx as n, createTextVNode as s, toDisplayString as u } from "vue";
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
2
  import d from "../typography/v4/Typography.vue.js";
3
- import b from "../icon/v4/IconV4.vue.js";
3
+ import A from "../icon/v4/IconV4.vue.js";
4
4
  import "../icon/v4/IconFlag.vue.js";
5
- import { formatValue as x } from "./utils/utils.js";
6
- import k from "./TooltipHeader.vue.js";
7
- const C = { class: "chart-tooltip" }, g = {
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 = {
8
10
  key: 1,
9
11
  class: "list"
10
- }, V = { class: "popover-label-wrapper" }, A = {
12
+ }, p = { class: "popover-label-wrapper" }, V = {
11
13
  key: 2,
12
14
  class: "tooltip-footer"
13
- }, L = /* @__PURE__ */ m({
15
+ }, O = /* @__PURE__ */ v({
14
16
  __name: "ChartTooltip",
15
17
  props: {
16
18
  title: { default: "" },
@@ -22,11 +24,13 @@ const C = { class: "chart-tooltip" }, g = {
22
24
  totalValue: { default: null },
23
25
  totalsChart: { type: Boolean, default: !1 },
24
26
  valueSuffix: { default: "" },
25
- valuePrefix: { default: "" }
27
+ valuePrefix: { default: "" },
28
+ testId: { default: "" }
26
29
  },
27
30
  setup(t) {
28
- return (F, S) => (a(), o("div", C, [
29
- t.title ? (a(), c(k, {
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, {
30
34
  key: 0,
31
35
  title: t.title,
32
36
  "data-points": t.dataPoints,
@@ -34,64 +38,64 @@ const C = { class: "chart-tooltip" }, g = {
34
38
  "x-axis-format": t.xAxisFormat,
35
39
  "x-axis-date-interval": t.xAxisDateInterval
36
40
  }, 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,
41
+ t.totalsChart ? r("", !0) : (l(), o("ul", g, [
42
+ (l(!0), o(b, null, C(t.dataPoints, (a) => (l(), o("li", {
43
+ key: a.datasetIndex,
40
44
  class: "list__item"
41
45
  }, [
42
- f("span", {
46
+ c("span", {
43
47
  class: "color-box",
44
- style: h({
45
- backgroundColor: String(e.dataset.pointBackgroundColor)
48
+ style: k({
49
+ backgroundColor: String(a.dataset.pointBackgroundColor)
46
50
  })
47
51
  }, null, 4),
48
- e.dataset.icon ? (a(), c(l(b), {
52
+ a.dataset.icon ? (l(), f(e(A), {
49
53
  key: 0,
50
54
  class: "platform-icon",
51
- type: e.dataset.iconType,
52
- name: e.dataset.icon,
55
+ type: a.dataset.iconType,
56
+ name: a.dataset.icon,
53
57
  size: "16px"
54
58
  }, null, 8, ["type", "name"])) : r("", !0),
55
- f("div", V, [
56
- i(l(d), {
59
+ c("div", p, [
60
+ i(e(d), {
57
61
  variant: "body2",
58
62
  class: "flex-grow truncated-label",
59
63
  "is-truncated": ""
60
64
  }, {
61
- default: n(() => [
62
- s(u(e.dataset.label), 1)
65
+ default: s(() => [
66
+ u(n(a.dataset.label), 1)
63
67
  ]),
64
68
  _: 2
65
69
  }, 1024)
66
70
  ]),
67
- i(l(d), { variant: "body2" }, {
68
- default: n(() => [
69
- s(u(t.valuePrefix + l(x)(e.parsed.y, t.yAxisFormat) + t.valueSuffix), 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)
70
74
  ]),
71
75
  _: 2
72
76
  }, 1024)
73
77
  ]))), 128))
74
78
  ])),
75
- t.totalValue !== null ? (a(), o("div", A, [
76
- i(l(d), {
79
+ t.totalValue !== null ? (l(), o("div", V, [
80
+ i(e(d), {
77
81
  variant: "body2",
78
82
  class: "flex-grow"
79
83
  }, {
80
- default: n(() => [
81
- s(u(t.totalLabel), 1)
84
+ default: s(() => [
85
+ u(n(t.totalLabel), 1)
82
86
  ]),
83
87
  _: 1
84
88
  }),
85
- i(l(d), { variant: "body2" }, {
86
- default: n(() => [
87
- s(u(t.valuePrefix + l(x)(t.totalValue, t.yAxisFormat) + t.valueSuffix), 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)
88
92
  ]),
89
93
  _: 1
90
94
  })
91
95
  ])) : r("", !0)
92
- ]));
96
+ ], 16));
93
97
  }
94
98
  });
95
99
  export {
96
- L as default
100
+ O as default
97
101
  };
@@ -2,19 +2,24 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
2
2
  selected: unknown;
3
3
  options: unknown[];
4
4
  optionNameKey: string;
5
+ testId?: string;
5
6
  }>, {
6
7
  options: () => any[];
8
+ testId: string;
7
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
10
  "update:selected": (option: unknown) => void;
9
11
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
12
  selected: unknown;
11
13
  options: unknown[];
12
14
  optionNameKey: string;
15
+ testId?: string;
13
16
  }>, {
14
17
  options: () => any[];
18
+ testId: string;
15
19
  }>>> & {
16
20
  "onUpdate:selected"?: (option: unknown) => any;
17
21
  }, {
22
+ testId: string;
18
23
  options: unknown[];
19
24
  }>;
20
25
  export default _default;
@@ -1,4 +1,4 @@
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";
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
2
  import u from "../dropdown/v4/DropdownV4.vue.js";
3
3
  import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
4
  import f from "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
@@ -15,28 +15,30 @@ const y = { class: "legend-sorting" }, L = /* @__PURE__ */ l({
15
15
  props: {
16
16
  selected: null,
17
17
  options: { default: () => [] },
18
- optionNameKey: null
18
+ optionNameKey: null,
19
+ testId: { default: "" }
19
20
  },
20
21
  emits: ["update:selected"],
21
- setup(o, { emit: p }) {
22
- const t = g(o, "selected", p);
23
- return (v, i) => (m(), s("div", y, [
22
+ setup(e, { emit: p }) {
23
+ const o = g(e, "selected", p);
24
+ return (v, i) => (s(), m("div", y, [
24
25
  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"
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
31
33
  }, {
32
- "dropdown-trigger": a(({ buttonTriggerProps: e }) => [
33
- r(n(f), c(e, {
34
+ "dropdown-trigger": a(({ buttonTriggerProps: t }) => [
35
+ r(n(f), c(t, {
34
36
  "icon-name": "funnel-simple",
35
37
  "icon-type": "regular"
36
38
  }), null, 16)
37
39
  ]),
38
40
  _: 1
39
- }, 8, ["selected", "display-value", "options", "option-name-key"])
41
+ }, 8, ["selected", "display-value", "options", "option-name-key", "test-id"])
40
42
  ]));
41
43
  }
42
44
  });
@@ -1,15 +1,23 @@
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
+ }>, {
13
21
  "before-chart-type"?(_: {}): any;
14
22
  metric?(_: {}): any;
15
23
  breakdowns?(_: {}): any;
@@ -24,6 +32,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
24
32
  required: true;
25
33
  };
26
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
+ } & {};
27
43
  type __VLS_WithTemplateSlots<T, S> = T & {
28
44
  new (): {
29
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_01f78cd7_lang.css"; //*');
4
- const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-01f78cd7"]]);
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
- c as default
6
+ a as default
7
7
  };
@@ -1,66 +1,73 @@
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";
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 B = { class: "settings-header-container" }, C = { class: "chart-type-selection" }, H = /* @__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
- }), d = (e) => `Chart: ${e.name}`;
29
- return (e, a) => (y(), f("div", B, [
30
- r("div", {
31
- class: l(["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
39
  i(e.$slots, "before-chart-type", {}, void 0, !0),
34
- r("div", C, [
35
- p(t(w), {
40
+ s("div", C, [
41
+ u(t(N), {
36
42
  selected: t(o),
37
- "onUpdate:selected": a[0] || (a[0] = (n) => v(o) ? o.value = n : null),
38
- options: t(c),
43
+ "onUpdate:selected": p[0] || (p[0] = (d) => b(o) ? o.value = d : null),
44
+ options: t(f),
39
45
  "option-name-key": "name",
40
- "display-value": d,
46
+ "display-value": l,
41
47
  placeholder: "Select chart type",
42
- size: "small"
48
+ size: "small",
49
+ "test-id": `${r.testId}-${t(n).TYPE_DROPDOWN}`
43
50
  }, {
44
- "dropdown-trigger": T(({ buttonTriggerProps: n }) => [
45
- p(t(k), b(n, {
46
- label: d(t(o))
51
+ "dropdown-trigger": w(({ buttonTriggerProps: d }) => [
52
+ u(t(O), m(d, {
53
+ label: l(t(o))
47
54
  }), null, 16, ["label"])
48
55
  ]),
49
56
  _: 1
50
- }, 8, ["selected", "options"])
57
+ }, 8, ["selected", "options", "test-id"])
51
58
  ]),
52
- r("div", null, [
59
+ s("div", null, [
53
60
  i(e.$slots, "metric", {}, void 0, !0)
54
61
  ])
55
62
  ], 2),
56
- r("div", {
57
- class: l(["breakdowns", { "breakdowns-border": !s.hideLegend }])
63
+ s("div", {
64
+ class: c(["breakdowns", { "breakdowns-border": !r.hideLegend }])
58
65
  }, [
59
66
  i(e.$slots, "breakdowns", {}, void 0, !0)
60
67
  ], 2)
61
- ]));
68
+ ], 16));
62
69
  }
63
70
  });
64
71
  export {
65
- H as default
72
+ M as default
66
73
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TooltipHeader.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3b15c693"]]);
3
+ // import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-da3532aa"]]);
5
5
  export {
6
- s as default
6
+ p as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css"; import { defineComponent as v, computed as m, openBlock as n, createElementBlock as f, createElementVNode as A, unref as t, createCommentVNode as s, createBlock as u, createVNode as D, withCtx as d, createTextVNode as x, toDisplayString as p } from "vue";
2
- import { formatValue as r } from "./utils/utils.js";
1
+ import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css"; import { defineComponent as v, computed as m, openBlock as n, createElementBlock as f, createElementVNode as A, unref as t, createCommentVNode as s, createBlock as u, createVNode as T, withCtx as d, createTextVNode as x, toDisplayString as p } from "vue";
2
+ import { formatValue as o } from "./utils/utils.js";
3
3
  import y from "../typography/v4/Typography.vue.js";
4
4
  import { DateInterval as c } from "./types.js";
5
- import T from "../icon/v4/IconV4.vue.js";
6
- import k from "../icon/v4/IconFlag.vue.js";
7
- import { startOfWeek as C, endOfWeek as F, startOfMonth as I, endOfMonth as O } from "date-fns";
5
+ import k from "../icon/v4/IconV4.vue.js";
6
+ import O from "../icon/v4/IconFlag.vue.js";
7
+ import { startOfWeek as C, startOfDay as h, endOfWeek as F, startOfMonth as I, endOfMonth as E } from "date-fns";
8
8
  import { LONG_DATE_FORMAT as i } from "./consts.js";
9
- const E = { class: "tooltip-title-wrapper" }, N = { class: "main-title" }, L = ["src"], P = /* @__PURE__ */ v({
9
+ const N = { class: "tooltip-title-wrapper" }, L = { class: "main-title" }, M = ["src"], K = /* @__PURE__ */ v({
10
10
  __name: "TooltipHeader",
11
11
  props: {
12
12
  title: { default: "" },
@@ -16,37 +16,37 @@ const E = { class: "tooltip-title-wrapper" }, N = { class: "main-title" }, L = [
16
16
  totalsChart: { type: Boolean, default: !1 }
17
17
  },
18
18
  setup(a) {
19
- const e = a, o = m(() => e.dataPoints.length ? e.dataPoints[0].dataset : null), h = m(() => e.totalsChart ? o.value?.label || e.title : e.xAxisFormat === "date" ? g(new Date(e.title)) : r(e.title, e.xAxisFormat)), g = (l) => e.xAxisDateInterval === c.WEEKLY ? `
20
- ${r(C(l), i)} -
21
- ${r(F(l), i)}
19
+ const e = a, r = m(() => e.dataPoints.length ? e.dataPoints[0].dataset : null), D = m(() => e.totalsChart ? r.value?.label || e.title : e.xAxisFormat === "date" ? g(new Date(e.title)) : o(e.title, e.xAxisFormat)), g = (l) => e.xAxisDateInterval === c.WEEKLY ? `
20
+ ${o(C(l), i)} -
21
+ ${o(h(F(l)), i)}
22
22
  ` : e.xAxisDateInterval === c.MONTHLY ? `
23
- ${r(I(l), i)} -
24
- ${r(O(l), i)}
25
- ` : r(l, i);
26
- return (l, M) => (n(), f("div", E, [
27
- A("div", N, [
28
- a.totalsChart && t(o)?.image ? (n(), f("img", {
23
+ ${o(I(l), i)} -
24
+ ${o(h(E(l)), i)}
25
+ ` : o(l, i);
26
+ return (l, V) => (n(), f("div", N, [
27
+ A("div", L, [
28
+ a.totalsChart && t(r)?.image ? (n(), f("img", {
29
29
  key: 0,
30
30
  class: "title-image",
31
- src: t(o)?.image
32
- }, null, 8, L)) : s("", !0),
33
- a.totalsChart && t(o)?.countryFlag ? (n(), u(t(k), {
31
+ src: t(r)?.image
32
+ }, null, 8, M)) : s("", !0),
33
+ a.totalsChart && t(r)?.countryFlag ? (n(), u(t(O), {
34
34
  key: 1,
35
- "country-code": t(o).countryFlag
35
+ "country-code": t(r).countryFlag
36
36
  }, null, 8, ["country-code"])) : s("", !0),
37
- a.totalsChart && t(o)?.icon ? (n(), u(t(T), {
37
+ a.totalsChart && t(r)?.icon ? (n(), u(t(k), {
38
38
  key: 2,
39
39
  class: "platform-icon",
40
- type: t(o)?.iconType,
41
- name: t(o)?.icon,
40
+ type: t(r)?.iconType,
41
+ name: t(r)?.icon,
42
42
  size: "16px"
43
43
  }, null, 8, ["type", "name"])) : s("", !0),
44
- D(t(y), {
44
+ T(t(y), {
45
45
  class: "title-text",
46
46
  variant: "subtitle2"
47
47
  }, {
48
48
  default: d(() => [
49
- x(p(t(h)), 1)
49
+ x(p(t(D)), 1)
50
50
  ]),
51
51
  _: 1
52
52
  })
@@ -57,7 +57,7 @@ const E = { class: "tooltip-title-wrapper" }, N = { class: "main-title" }, L = [
57
57
  variant: "caption"
58
58
  }, {
59
59
  default: d(() => [
60
- x(p(t(r)(a.title, "day")), 1)
60
+ x(p(t(o)(a.title, "day")), 1)
61
61
  ]),
62
62
  _: 1
63
63
  })) : s("", !0)
@@ -65,5 +65,5 @@ const E = { class: "tooltip-title-wrapper" }, N = { class: "main-title" }, L = [
65
65
  }
66
66
  });
67
67
  export {
68
- P as default
68
+ K as default
69
69
  };
@@ -1,4 +1,5 @@
1
1
  import { HexColor } from '@/components/chart/types';
2
2
  export declare const DEFAULT_CHART_COLOR: HexColor;
3
- export declare const COLOR_PALETTE: HexColor[];
3
+ export declare const DEFAULT_COLOR_PALETTE: HexColor[];
4
+ export declare const MEDIATION_COLOR_PALETTE: HexColor[];
4
5
  export declare const RESERVED_COLORS_MAP: Record<string, HexColor>;
@@ -1,5 +1,5 @@
1
- import { NETWORK_UNITY_ADS as _, BIDDING_PREFIX as F, NETWORK_AD_MOB as N, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as T, NETWORK_APPLOVIN as A, NETWORK_FACEBOOK_META as $, NETWORK_LIFTOFF as O, NETWORK_PANGLE as C, NETWORK_INMOBI as R, NETWORK_DT_EXCHANGE as B } from "./consts.js";
2
- const I = "#c9c9c9", K = [
1
+ import { NETWORK_UNITY_ADS as R, BIDDING_PREFIX as F, NETWORK_AD_MOB as T, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as _, NETWORK_APPLOVIN as C, NETWORK_FACEBOOK_META as A, NETWORK_LIFTOFF as B, NETWORK_PANGLE as O, NETWORK_INMOBI as $, NETWORK_DT_EXCHANGE as D } from "./consts.js";
2
+ const I = "#c9c9c9", L = [
3
3
  "#80BCFE",
4
4
  "#9999FF",
5
5
  "#5883E4",
@@ -10,45 +10,59 @@ const I = "#c9c9c9", K = [
10
10
  "#673AFF",
11
11
  "#CA80DC",
12
12
  "#FEBBB2"
13
- ], t = {
13
+ ], t = [
14
+ "#487BEC",
15
+ "#FFC670",
16
+ "#80CBC4",
17
+ "#FF7557",
18
+ "#7856FF",
19
+ "#FEBBB2",
20
+ "#DA88EE",
21
+ "#0D7EA0",
22
+ "#01AB01",
23
+ "#B3596E"
24
+ ], K = {
14
25
  Total: "#646464",
15
26
  // AB tests
16
27
  A: "#FFC134",
17
28
  B: "#4F4FF5",
18
29
  // Countries
19
- US: "#272EC4",
20
- CN: "#F52E1E",
21
- GB: "#0082FF",
22
- DE: "#FFD600",
23
- JP: "#BA0029",
24
- AU: "#009BCB",
25
- FR: "#34A853",
30
+ US: "#9999FF",
31
+ CN: "#FF1200",
32
+ GB: "#89009B",
33
+ DE: "#FBE32D",
34
+ JP: "#8D001F",
35
+ AU: "#E57D00",
36
+ FR: "#ACC62C",
37
+ RU: "#FF70AA",
26
38
  // Ad formats
27
- Rewarded: "#0082FF",
28
- Interstitial: "#009BCB",
29
- Banner: "#9668FF",
30
- Native: "#FF35A2",
39
+ Rewarded: "#80BCFE",
40
+ Interstitial: "#8D001F",
41
+ Banner: "#E57D00",
42
+ Native: "#ACC62C",
43
+ Offerwall: "#9999FF",
31
44
  // Ad sources
32
- [`${_} ${F}`]: "#9668FF",
33
- [`${N} ${F}`]: "#34A853",
34
- [`${E} ${F}`]: "#272EC4",
35
- [`${E}`]: "#5C63E7",
36
- [`${T} ${F}`]: "#00D8B2",
37
- [`${A} ${F}`]: "#009BCB",
38
- [`${A}`]: "#80CDE5",
39
- [`${$} ${F}`]: "#0082FF",
40
- [`${$}`]: "#52AAFF",
41
- [`${O} ${F}`]: "#FF35A2",
42
- [`${O}`]: "#FF9AD1",
43
- [`${C} ${F}`]: "#F52E1E",
44
- [`${C}`]: "#FA9F97",
45
- [`${R} ${F}`]: "#FFD600",
46
- [`${R}`]: "#FFEC8A",
47
- [`${B} ${F}`]: "#BA0029",
48
- [`${B}`]: "#DD8094"
45
+ [`${R} ${F}`]: "#80BCFE",
46
+ [`${T} ${F}`]: "#ACC62C",
47
+ [`${E} ${F}`]: "#9999FF",
48
+ [`${E}`]: "#CCCCFF",
49
+ [`${_} ${F}`]: "#E57D00",
50
+ [`${C} ${F}`]: "#00CCD7",
51
+ [`${C}`]: "#80E5EB",
52
+ [`${A} ${F}`]: "#89009B",
53
+ [`${A}`]: "#B866C3",
54
+ [`${B} ${F}`]: "#FF70AA",
55
+ [`${B}`]: "#FFB1DB",
56
+ [`${O} ${F}`]: "#FF1200",
57
+ [`${O}`]: "#FF8880",
58
+ [`${$} ${F}`]: "#FBE32D",
59
+ [`${$}`]: "#FDF196",
60
+ [`${D} ${F}`]: "#8D001F",
61
+ [`${D}`]: "#C6808F"
49
62
  };
50
63
  export {
51
- K as COLOR_PALETTE,
52
64
  I as DEFAULT_CHART_COLOR,
53
- t as RESERVED_COLORS_MAP
65
+ L as DEFAULT_COLOR_PALETTE,
66
+ t as MEDIATION_COLOR_PALETTE,
67
+ K as RESERVED_COLORS_MAP
54
68
  };
@@ -1,10 +1,12 @@
1
1
  import { Ref } from 'vue';
2
2
  import { ChartDataSet } from '@/components/chart';
3
+ import { ColorVariant } from '@/components/chart/types';
3
4
  type UseColorsMapArgs = {
4
5
  dataSets: Ref<ChartDataSet[]>;
5
6
  visibleIds: Ref<unknown[]>;
7
+ variant?: ColorVariant;
6
8
  };
7
- export declare const useColorsMap: ({ dataSets, visibleIds }: UseColorsMapArgs) => {
9
+ export declare const useColorsMap: ({ dataSets, visibleIds, variant, }: UseColorsMapArgs) => {
8
10
  colorsMap: Ref<Record<string, `#${string}`>>;
9
11
  };
10
12
  export {};