@ironsource/shared-ui 2.1.12-test.52 → 2.1.12-test.54

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 (245) 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_6db25923_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_2d66b7b6_lang.css +1 -0
  18. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
  19. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  20. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  21. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  22. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  23. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  24. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  25. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  26. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  27. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  28. 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
  29. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  30. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  31. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  32. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  33. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  34. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  35. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  36. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  37. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  38. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  39. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  40. package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
  41. package/components/chart/Chart.vue.d.ts +21 -1
  42. package/components/chart/Chart.vue.js +3 -3
  43. package/components/chart/Chart.vue2.js +130 -114
  44. package/components/chart/ChartHeader.vue.d.ts +5 -0
  45. package/components/chart/ChartHeader.vue.js +3 -3
  46. package/components/chart/ChartHeader.vue2.js +49 -44
  47. package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
  48. package/components/chart/ChartHeaderTrend.vue.js +2 -2
  49. package/components/chart/ChartHeaderTrend.vue2.js +43 -39
  50. package/components/chart/ChartLegend.vue.d.ts +5 -0
  51. package/components/chart/ChartLegend.vue.js +3 -3
  52. package/components/chart/ChartLegend.vue2.js +76 -71
  53. package/components/chart/ChartPlane.vue.d.ts +15 -0
  54. package/components/chart/ChartPlane.vue.js +5 -5
  55. package/components/chart/ChartPlane.vue2.js +173 -156
  56. package/components/chart/ChartStoryArgs.d.ts +17 -0
  57. package/components/chart/ChartTooltip.vue.d.ts +5 -0
  58. package/components/chart/ChartTooltip.vue.js +2 -2
  59. package/components/chart/ChartTooltip.vue2.js +39 -35
  60. package/components/chart/LegendSorting.vue.d.ts +5 -0
  61. package/components/chart/LegendSorting.vue.js +16 -14
  62. package/components/chart/SettingsHeader.vue.d.ts +19 -3
  63. package/components/chart/SettingsHeader.vue.js +3 -3
  64. package/components/chart/SettingsHeader.vue2.js +36 -29
  65. package/components/chart/TooltipHeader.vue.js +3 -3
  66. package/components/chart/TooltipHeader.vue2.js +25 -26
  67. package/components/chart/colorPalette.d.ts +2 -1
  68. package/components/chart/colorPalette.js +47 -33
  69. package/components/chart/composables/useColorsMap.d.ts +3 -1
  70. package/components/chart/composables/useColorsMap.js +32 -30
  71. package/components/chart/consts.d.ts +5 -1
  72. package/components/chart/consts.js +30 -26
  73. package/components/chart/index.d.ts +77 -1
  74. package/components/chart/mockData.d.ts +15 -0
  75. package/components/chart/types.d.ts +3 -1
  76. package/components/chart/types.js +5 -5
  77. package/components/chart/utils/utils.d.ts +1 -1
  78. package/components/chart/utils/utils.js +18 -13
  79. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  80. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  81. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  82. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  83. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  84. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  85. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  86. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  87. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  88. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  89. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  90. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  91. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  92. package/components/columnConfigurator/consts.d.ts +1 -0
  93. package/components/columnConfigurator/consts.js +4 -0
  94. package/components/columnConfigurator/index.d.ts +73 -0
  95. package/components/columnConfigurator/index.js +6 -0
  96. package/components/columnConfigurator/mockData.d.ts +30 -0
  97. package/components/columnConfigurator/utils.d.ts +2 -0
  98. package/components/columnConfigurator/utils.js +18 -0
  99. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  100. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  101. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  102. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  103. package/components/columnPicker/OptionChip.vue.js +7 -0
  104. package/components/columnPicker/OptionChip.vue2.js +46 -0
  105. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  106. package/components/columnPicker/RemoveButton.vue.js +7 -0
  107. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  108. package/components/columnPicker/index.d.ts +388 -0
  109. package/components/columnPicker/index.js +6 -0
  110. package/components/columnPicker/mockData.d.ts +8 -0
  111. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  112. package/components/dialog/v3/index.d.ts +46 -46
  113. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  114. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  115. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  116. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  117. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  118. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  119. package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
  120. package/components/dialog/v4/DialogV4.vue.js +3 -3
  121. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  122. package/components/dialog/v4/index.d.ts +157 -157
  123. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  124. package/components/dropdown/v3/index.d.ts +20 -20
  125. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  126. package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
  127. package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -0
  128. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  129. package/components/dropdown/v4/DropdownV4.vue2.js +89 -82
  130. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  131. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  132. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  133. package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
  134. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  135. package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
  136. package/components/dropdown/v4/index.d.ts +61 -2
  137. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
  138. package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
  139. package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
  140. package/components/emptyState/v4/index.d.ts +20 -1
  141. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  142. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  143. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  144. package/components/includeExclude/index.d.ts +70 -70
  145. package/components/input/v4/TextField.vue.d.ts +12 -0
  146. package/components/input/v4/TextField.vue.js +3 -3
  147. package/components/input/v4/TextField.vue2.js +129 -105
  148. package/components/input/v4/index.d.ts +46 -2
  149. package/components/link/Link.vue.d.ts +25 -0
  150. package/components/link/Link.vue.js +3 -3
  151. package/components/link/Link.vue2.js +40 -18
  152. package/components/link/index.d.ts +96 -1
  153. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  154. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  155. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  156. package/components/radioButton/v3/index.d.ts +20 -1
  157. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  158. package/components/sortableList/LoaderBars.vue.js +7 -0
  159. package/components/sortableList/LoaderBars.vue2.js +25 -0
  160. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  161. package/components/sortableList/SortableItem.vue.js +5 -5
  162. package/components/sortableList/SortableItem.vue2.js +86 -70
  163. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  164. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  165. package/components/sortableList/SortableList.types.d.ts +1 -0
  166. package/components/sortableList/SortableList.vue.d.ts +12 -2
  167. package/components/sortableList/SortableList.vue.js +5 -5
  168. package/components/sortableList/SortableList.vue2.js +111 -113
  169. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  170. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  171. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  172. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  173. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  174. package/components/sortableList/composables/useHoverEffect.js +1 -1
  175. package/components/sortableList/consts.d.ts +2 -0
  176. package/components/sortableList/consts.js +4 -2
  177. package/components/sortableList/index.d.ts +77 -39
  178. package/components/table/common/consts.d.ts +2 -0
  179. package/components/table/common/consts.js +6 -4
  180. package/components/table/v4/DataGrid.vue.d.ts +8 -7
  181. package/components/table/v4/DataGrid.vue.js +3 -3
  182. package/components/table/v4/DataGrid.vue2.js +375 -355
  183. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  184. package/components/table/v4/DataGridContainer.vue.js +7 -0
  185. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  186. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  187. package/components/table/v4/DataGridHeader.vue.js +7 -0
  188. package/components/table/v4/DataGridHeader.vue2.js +84 -0
  189. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  190. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  191. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  192. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  193. package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
  194. package/components/table/v4/index.d.ts +577 -329
  195. package/components/table/v4/index.js +7 -4
  196. package/components/table/v4/storyUtils.d.ts +25 -0
  197. package/components/tagsField/TagsField.types.d.ts +4 -0
  198. package/components/tagsField/TagsField.vue.d.ts +65 -0
  199. package/components/tagsField/TagsField.vue.js +7 -0
  200. package/components/tagsField/TagsField.vue2.js +90 -0
  201. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  202. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  203. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  204. package/components/tagsField/consts.d.ts +1 -0
  205. package/components/tagsField/consts.js +4 -0
  206. package/components/tagsField/index.d.ts +75 -0
  207. package/components/tagsField/index.js +6 -0
  208. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  209. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  210. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  211. package/components/tooltip/v4/index.d.ts +20 -1
  212. package/index.d.ts +2412 -1556
  213. package/index.js +118 -106
  214. package/package.json +14 -1
  215. package/testids/index.d.ts +43 -1
  216. package/testids/index.js +38 -31
  217. package/utils/date.js +3 -3
  218. package/utils/formatNumbers.d.ts +1 -1
  219. package/utils/formatNumbers.js +38 -21
  220. package/utils/object.d.ts +2 -0
  221. package/utils/object.js +9 -5
  222. package/utils/search.js +1 -1
  223. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
  224. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
  225. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
  226. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
  227. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
  228. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +0 -1
  229. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
  230. package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +0 -1
  231. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  232. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
  233. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
  234. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
  235. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +0 -1
  236. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  237. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
  238. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  239. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  240. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  241. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  242. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  243. package/TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_lang.css +0 -1
  244. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
  245. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
package/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
1
+ import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
5
- import { MenuTypes as fo } from "./components/menu/index.js";
5
+ import { MenuTypes as io } from "./components/menu/index.js";
6
6
  import { AppIconTypes as so } from "./components/appIcon/index.js";
7
7
  import { FloatingToolbarTypes as lo } from "./components/floatingToolbar/index.js";
8
8
  import { IncludeExcludeTypes as $o } from "./components/includeExclude/index.js";
9
9
  import { ID_INJECTION_KEY as co, useId as yo } from "./composables/useId.js";
10
10
  import { FilterDropdownTypes as Fo } from "./components/filterDropdown/index.js";
11
- import { TypographyTypes as Ao } from "./components/typography/index.js";
12
- import { TypographyTypesV4 as Do } from "./components/typography/v4/index.js";
11
+ import { TypographyTypes as Co } from "./components/typography/index.js";
12
+ import { TypographyTypesV4 as Eo } from "./components/typography/v4/index.js";
13
13
  import { MultiBarTypes as ho } from "./components/multibar/index.js";
14
14
  import { FoldableSectionTypes as Mo } from "./components/layout/index.js";
15
- import { FormCardTypes as wo, FormFieldTypes as Oo } from "./components/forms/index.js";
15
+ import { FormCardTypes as wo, FormFieldTypes as ko } from "./components/forms/index.js";
16
16
  import * as o from "./components/button/v3/index.js";
17
17
  import * as r from "./components/button/v4/index.js";
18
18
  import * as e from "./components/chip/v3/index.js";
@@ -20,8 +20,8 @@ import * as t from "./components/chip/v4/index.js";
20
20
  import * as m from "./components/switch/v3/index.js";
21
21
  import * as p from "./components/switch/v4/index.js";
22
22
  import * as a from "./components/dropdown/v3/index.js";
23
- import * as i from "./components/dropdown/v4/index.js";
24
- import * as f from "./components/search/v3/index.js";
23
+ import * as f from "./components/dropdown/v4/index.js";
24
+ import * as i from "./components/search/v3/index.js";
25
25
  import * as d from "./components/search/v4/index.js";
26
26
  import * as x from "./components/filtersPanel/v3/index.js";
27
27
  import * as s from "./components/filtersPanel/v4/index.js";
@@ -35,26 +35,26 @@ import * as y from "./components/tabs/v3/index.js";
35
35
  import * as g from "./components/tabs/v4/index.js";
36
36
  import * as F from "./components/dialog/v3/index.js";
37
37
  import * as I from "./components/dialog/v4/index.js";
38
- import * as A from "./components/toggle/v3/index.js";
39
- import * as E from "./components/toggle/v4/index.js";
40
- import * as D from "./components/tooltip/v3/index.js";
41
- import * as C from "./components/tooltip/v4/index.js";
38
+ import * as C from "./components/toggle/v3/index.js";
39
+ import * as A from "./components/toggle/v4/index.js";
40
+ import * as E from "./components/tooltip/v3/index.js";
41
+ import * as D from "./components/tooltip/v4/index.js";
42
42
  import * as h from "./components/table/v3/index.js";
43
43
  import * as B from "./components/table/v4/index.js";
44
44
  import * as M from "./components/table-cells/v3/index.js";
45
45
  import * as b from "./components/table-cells/v4/index.js";
46
46
  import * as w from "./components/skeleton/v3/index.js";
47
- import * as O from "./components/skeleton/v4/index.js";
48
- import * as S from "./components/loader/v4/index.js";
49
- import * as k from "./components/emptyState/v3/index.js";
50
- import * as v from "./components/emptyState/v4/index.js";
51
- import * as H from "./components/snackbar/v3/index.js";
52
- import * as L from "./components/snackbar/v4/index.js";
53
- import * as N from "./components/radioButton/v3/index.js";
54
- import * as V from "./components/radioButton/v4/index.js";
55
- import * as J from "./components/textArea/v3/index.js";
56
- import * as K from "./components/textArea/v4/index.js";
57
- import * as P from "./components/ThemeWrapper/index.js";
47
+ import * as k from "./components/skeleton/v4/index.js";
48
+ import * as O from "./components/loader/v4/index.js";
49
+ import * as P from "./components/emptyState/v3/index.js";
50
+ import * as S from "./components/emptyState/v4/index.js";
51
+ import * as v from "./components/snackbar/v3/index.js";
52
+ import * as H from "./components/snackbar/v4/index.js";
53
+ import * as L from "./components/radioButton/v3/index.js";
54
+ import * as N from "./components/radioButton/v4/index.js";
55
+ import * as V from "./components/textArea/v3/index.js";
56
+ import * as J from "./components/textArea/v4/index.js";
57
+ import * as K from "./components/ThemeWrapper/index.js";
58
58
  import * as R from "./components/appHeader/index.js";
59
59
  import * as _ from "./components/inlineCopy/index.js";
60
60
  import * as j from "./components/statusDot/index.js";
@@ -66,45 +66,51 @@ import * as Y from "./components/dateRange/v4/index.js";
66
66
  import * as U from "./components/popover/v3/index.js";
67
67
  import * as W from "./components/popover/v4/index.js";
68
68
  import * as X from "./utils/index.js";
69
- import { useToggle as ko } from "./composables/useToggle.js";
70
- import { useSearch as Ho } from "./composables/useSearch.js";
71
- import { scrollToElementByClass as No, scrollToFirstInvalidElement as Vo, useFormValidation as Jo, yupValidation as Ko } from "./composables/useFormValidation.js";
69
+ import { useToggle as Po } from "./composables/useToggle.js";
70
+ import { useSearch as vo } from "./composables/useSearch.js";
71
+ import { scrollToElementByClass as Lo, scrollToFirstInvalidElement as No, useFormValidation as Vo, yupValidation as Jo } from "./composables/useFormValidation.js";
72
72
  import { useDateService as Ro } from "./composables/useDateService.js";
73
73
  import { BannerTypes as jo } from "./components/banner/index.js";
74
74
  import { AlertTypes as zo } from "./components/alert/index.js";
75
75
  import { LinkTypes as Qo } from "./components/link/index.js";
76
76
  import { AutocompleteTypes as Uo } from "./components/autocomplete/index.js";
77
77
  import { ChartTypes as Xo } from "./components/chart/index.js";
78
- import { default as or } from "./components/appTrigger/AppTrigger.vue.js";
79
- import { default as er } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
80
- import { default as mr } from "./components/menuItem/MenuItem.vue.js";
81
- import { default as ar } from "./components/menu/Menu.vue.js";
82
- import { default as fr } from "./components/appIcon/AppIcon.vue.js";
83
- import { default as xr } from "./components/floatingToolbar/FloatingToolbar.vue.js";
84
- import { default as nr } from "./components/includeExclude/IncludeExclude.vue.js";
85
- import { default as ur } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
86
- import { default as Tr } from "./components/includeExclude/IncludeExcludeOption.vue.js";
87
- import { default as yr } from "./components/includeExclude/IncludeExcludeOptionDraggable.vue.js";
88
- import { default as Fr } from "./components/includeExclude/IncludeExcludeAppTrigger.vue.js";
89
- import { default as Ar } from "./components/includeExclude/IncludeExcludeAppHeader.vue.js";
90
- import { default as Dr } from "./components/includeExclude/IncludeExcludeChipFilter.vue.js";
91
- import { default as hr } from "./components/filterDropdown/FilterDropdown.vue.js";
92
- import { default as Mr } from "./components/filterDropdown/AddFilterButton.vue.js";
93
- import { default as wr } from "./components/typography/Heading.vue.js";
94
- import { default as Sr } from "./components/typography/Text.vue.js";
95
- import { default as vr } from "./components/typography/v4/Typography.vue.js";
96
- import { default as Lr } from "./components/multibar/MultiBar.vue.js";
97
- import { default as Vr } from "./components/layout/FoldableSection.vue.js";
98
- import { default as Kr } from "./components/forms/FormRow.vue.js";
99
- import { default as Rr } from "./components/forms/FormCard.vue.js";
100
- import { default as jr } from "./components/forms/CardPanel.vue.js";
101
- import { default as zr } from "./components/forms/FormField.vue.js";
102
- import { default as Qr } from "./components/banner/Banner.vue.js";
103
- import { default as Ur } from "./components/alert/Alert.vue.js";
104
- import { default as Xr } from "./components/link/Link.vue.js";
105
- import { default as oe } from "./components/autocomplete/Autocomplete.vue.js";
106
- import { default as ee } from "./components/chart/Chart.vue.js";
107
- import { ChartType as me, TooltipOrder as pe, TrendDirection as ae } from "./components/chart/types.js";
78
+ import { ColumnPickerTypes as or } from "./components/columnPicker/index.js";
79
+ import { ColumnConfiguratorTypes as er } from "./components/columnConfigurator/index.js";
80
+ import { TagsFieldTypes as mr } from "./components/tagsField/index.js";
81
+ import { default as ar } from "./components/appTrigger/AppTrigger.vue.js";
82
+ import { default as ir } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
83
+ import { default as xr } from "./components/menuItem/MenuItem.vue.js";
84
+ import { default as nr } from "./components/menu/Menu.vue.js";
85
+ import { default as ur } from "./components/appIcon/AppIcon.vue.js";
86
+ import { default as Tr } from "./components/floatingToolbar/FloatingToolbar.vue.js";
87
+ import { default as yr } from "./components/includeExclude/IncludeExclude.vue.js";
88
+ import { default as Fr } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
89
+ import { default as Cr } from "./components/includeExclude/IncludeExcludeOption.vue.js";
90
+ import { default as Er } from "./components/includeExclude/IncludeExcludeOptionDraggable.vue.js";
91
+ import { default as hr } from "./components/includeExclude/IncludeExcludeAppTrigger.vue.js";
92
+ import { default as Mr } from "./components/includeExclude/IncludeExcludeAppHeader.vue.js";
93
+ import { default as wr } from "./components/includeExclude/IncludeExcludeChipFilter.vue.js";
94
+ import { default as Or } from "./components/filterDropdown/FilterDropdown.vue.js";
95
+ import { default as Sr } from "./components/filterDropdown/AddFilterButton.vue.js";
96
+ import { default as Hr } from "./components/typography/Heading.vue.js";
97
+ import { default as Nr } from "./components/typography/Text.vue.js";
98
+ import { default as Jr } from "./components/typography/v4/Typography.vue.js";
99
+ import { default as Rr } from "./components/multibar/MultiBar.vue.js";
100
+ import { default as jr } from "./components/layout/FoldableSection.vue.js";
101
+ import { default as zr } from "./components/forms/FormRow.vue.js";
102
+ import { default as Qr } from "./components/forms/FormCard.vue.js";
103
+ import { default as Ur } from "./components/forms/CardPanel.vue.js";
104
+ import { default as Xr } from "./components/forms/FormField.vue.js";
105
+ import { default as oe } from "./components/banner/Banner.vue.js";
106
+ import { default as ee } from "./components/alert/Alert.vue.js";
107
+ import { default as me } from "./components/link/Link.vue.js";
108
+ import { default as ae } from "./components/autocomplete/Autocomplete.vue.js";
109
+ import { default as ie } from "./components/chart/Chart.vue.js";
110
+ import { ChartType as xe, TooltipOrder as se, TrendDirection as ne } from "./components/chart/types.js";
111
+ import { default as ue } from "./components/columnPicker/ColumnPicker.vue.js";
112
+ import { default as Te } from "./components/columnConfigurator/ColumnConfigurator.vue.js";
113
+ import { default as ye } from "./components/tagsField/TagsField.vue.js";
108
114
  const Z = {
109
115
  ...e,
110
116
  ...t,
@@ -113,8 +119,8 @@ const Z = {
113
119
  ...o,
114
120
  ...r,
115
121
  ...a,
116
- ...i,
117
122
  ...f,
123
+ ...i,
118
124
  ...d,
119
125
  ...x,
120
126
  ...s,
@@ -126,28 +132,28 @@ const Z = {
126
132
  ...g,
127
133
  ...F,
128
134
  ...I,
135
+ ...E,
129
136
  ...D,
130
137
  ...C,
131
138
  ...A,
132
- ...E,
133
139
  ...h,
134
140
  ...B,
135
141
  ...M,
136
142
  ...b,
137
- ...k,
138
- ...v,
143
+ ...P,
144
+ ...S,
139
145
  ...w,
146
+ ...k,
140
147
  ...O,
141
- ...S,
148
+ ...v,
142
149
  ...H,
143
- ...L,
144
150
  ...n,
145
151
  ...l,
152
+ ...V,
146
153
  ...J,
147
- ...K,
154
+ ...L,
148
155
  ...N,
149
- ...V,
150
- ...P,
156
+ ...K,
151
157
  ...R,
152
158
  ..._,
153
159
  ...j,
@@ -161,65 +167,71 @@ const Z = {
161
167
  ...X
162
168
  };
163
169
  export {
164
- Mr as AddFilterButton,
165
- Ur as Alert,
170
+ Sr as AddFilterButton,
171
+ ee as Alert,
166
172
  zo as AlertTypes,
167
- fr as AppIcon,
173
+ ur as AppIcon,
168
174
  so as AppIconTypes,
169
- or as AppTrigger,
175
+ ar as AppTrigger,
170
176
  eo as AppTriggerTypes,
171
- oe as Autocomplete,
172
- er as AutocompleteDropdown,
177
+ ae as Autocomplete,
178
+ ir as AutocompleteDropdown,
173
179
  mo as AutocompleteDropdownTypes,
174
180
  Uo as AutocompleteTypes,
175
- Qr as Banner,
181
+ oe as Banner,
176
182
  jo as BannerTypes,
177
- jr as CardPanel,
178
- ee as Chart,
179
- me as ChartType,
183
+ Ur as CardPanel,
184
+ ie as Chart,
185
+ xe as ChartType,
180
186
  Xo as ChartTypes,
181
- hr as FilterDropdown,
187
+ Te as ColumnConfigurator,
188
+ er as ColumnConfiguratorTypes,
189
+ ue as ColumnPicker,
190
+ or as ColumnPickerTypes,
191
+ Or as FilterDropdown,
182
192
  Fo as FilterDropdownTypes,
183
- xr as FloatingToolbar,
193
+ Tr as FloatingToolbar,
184
194
  lo as FloatingToolbarTypes,
185
- Vr as FoldableSection,
195
+ jr as FoldableSection,
186
196
  Mo as FoldableSectionTypes,
187
- Rr as FormCard,
197
+ Qr as FormCard,
188
198
  wo as FormCardTypes,
189
- zr as FormField,
190
- Oo as FormFieldTypes,
191
- Kr as FormRow,
192
- wr as Heading,
199
+ Xr as FormField,
200
+ ko as FormFieldTypes,
201
+ zr as FormRow,
202
+ Hr as Heading,
193
203
  co as ID_INJECTION_KEY,
194
- nr as IncludeExclude,
195
- Ar as IncludeExcludeAppHeader,
196
- Fr as IncludeExcludeAppTrigger,
197
- Dr as IncludeExcludeChipFilter,
198
- ur as IncludeExcludeDragDrop,
199
- Tr as IncludeExcludeOption,
200
- yr as IncludeExcludeOptionDraggable,
204
+ yr as IncludeExclude,
205
+ Mr as IncludeExcludeAppHeader,
206
+ hr as IncludeExcludeAppTrigger,
207
+ wr as IncludeExcludeChipFilter,
208
+ Fr as IncludeExcludeDragDrop,
209
+ Cr as IncludeExcludeOption,
210
+ Er as IncludeExcludeOptionDraggable,
201
211
  $o as IncludeExcludeTypes,
202
- Xr as Link,
212
+ me as Link,
203
213
  Qo as LinkTypes,
204
- ar as Menu,
205
- mr as MenuItem,
214
+ nr as Menu,
215
+ xr as MenuItem,
206
216
  ao as MenuItemTypes,
207
- fo as MenuTypes,
208
- Lr as MultiBar,
217
+ io as MenuTypes,
218
+ Rr as MultiBar,
209
219
  ho as MultiBarTypes,
210
- Sr as Text,
211
- pe as TooltipOrder,
212
- ae as TrendDirection,
213
- vr as Typography,
214
- Ao as TypographyTypes,
215
- Do as TypographyTypesV4,
220
+ ye as TagsField,
221
+ mr as TagsFieldTypes,
222
+ Nr as Text,
223
+ se as TooltipOrder,
224
+ ne as TrendDirection,
225
+ Jr as Typography,
226
+ Co as TypographyTypes,
227
+ Eo as TypographyTypesV4,
216
228
  Z as default,
217
- No as scrollToElementByClass,
218
- Vo as scrollToFirstInvalidElement,
229
+ Lo as scrollToElementByClass,
230
+ No as scrollToFirstInvalidElement,
219
231
  Ro as useDateService,
220
- Jo as useFormValidation,
232
+ Vo as useFormValidation,
221
233
  yo as useId,
222
- Ho as useSearch,
223
- ko as useToggle,
224
- Ko as yupValidation
234
+ vo as useSearch,
235
+ Po as useToggle,
236
+ Jo as yupValidation
225
237
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.12-test.52",
3
+ "version": "2.1.12-test.54",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -33,6 +33,7 @@
33
33
  "check-update": "npx npm-check-updates -u",
34
34
  "generate:component": "npx hygen component new",
35
35
  "generate:composable": "npx hygen composable new",
36
+ "generate:test-ids": "cd e2e/shared-test-ids && npm run build",
36
37
  "prepare": "(node -e \"if (require('fs').existsSync('./.git')){process.exit(1)} \") || husky install",
37
38
  "icons:download": "figus download",
38
39
  "icons:generate": "figus",
@@ -152,6 +153,9 @@
152
153
  "./chart": "./components/chart/index.js",
153
154
  "./menuItem": "./components/menuItem/MenuItem.vue.js",
154
155
  "./menu": "./components/menu/Menu.vue.js",
156
+ "./columnPicker": "./components/columnPicker/index.js",
157
+ "./tagsField": "./components/tagsField/index.js",
158
+ "./columnConfigurator": "./components/columnConfigurator/index.js",
155
159
  ".": {
156
160
  "import": "./index.js"
157
161
  },
@@ -255,6 +259,15 @@
255
259
  "menu": [
256
260
  "./components/menu/Menu.vue.d.ts"
257
261
  ],
262
+ "columnPicker": [
263
+ "./components/columnPicker/index.d.ts"
264
+ ],
265
+ "tagsField": [
266
+ "./components/tagsField/index.d.ts"
267
+ ],
268
+ "columnConfigurator": [
269
+ "./components/columnConfigurator/index.d.ts"
270
+ ],
258
271
  "editable": [
259
272
  "./components/table-cells/v3/Editable.vue.d.ts"
260
273
  ],
@@ -29,6 +29,18 @@ export declare enum DropdownTestIdModifiers {
29
29
  SELECT_ALL = "dd-select-all",
30
30
  NO_RESULT = "dd-no-result"
31
31
  }
32
+ export declare enum ColumnPickerTestIdModifiers {
33
+ TRIGGER = "column-picker-trigger",
34
+ WRAPPER = "column-picker-wrapper"
35
+ }
36
+ export declare enum ColumnConfiguratorTestIdModifiers {
37
+ WRAPPER = "column-configurator-wrapper",
38
+ SECTION_HEADER = "column-configurator-section-header",
39
+ ADD_BUTTON = "column-configurator-add-button",
40
+ DROPDOWN = "column-configurator-dropdown",
41
+ LIST = "column-configurator-list",
42
+ REMOVE_BUTTON = "column-configurator-remove-button"
43
+ }
32
44
  export declare enum BannerTestIdModifiers {
33
45
  WRAPPER = "banner-wrapper",
34
46
  CONTENT = "banner-content"
@@ -64,7 +76,14 @@ export declare enum InputTestIdModifiers {
64
76
  LABEL_TEXT = "input-label-text",
65
77
  FIELD = "input-field",
66
78
  EXTRA_TEXT = "input-extra-text",
67
- TOGGLE_PASSWORD = "input-toggle-password-icon"
79
+ TOGGLE_PASSWORD = "input-toggle-password-icon",
80
+ CLEAR_BUTTON = "input-clear-button",
81
+ LOADING = "input-loading"
82
+ }
83
+ export declare enum TagsFieldTestIdModifiers {
84
+ WRAPPER = "tags-field-wrapper",
85
+ FIELD = "tags-field-field",
86
+ CHIP = "tags-field-chip"
68
87
  }
69
88
  export declare enum CheckboxTestIdModifiers {
70
89
  WRAPPER = "cb-wrapper",
@@ -234,3 +253,26 @@ export declare enum ToggleButtonGroupABTestIdModifiers {
234
253
  POPOVER_TRIGGER = "ab-group-popover-trigger",
235
254
  POPOVER_AB = "ab-group-popover"
236
255
  }
256
+ export declare enum ChartTestIdModifiers {
257
+ CONTAINER = "chart-container",
258
+ HEADER = "chart-header",
259
+ TREND = "chart-trend",
260
+ TYPE_SWITCHER = "chart-type-switcher",
261
+ LEGEND = "chart-legend",
262
+ LEGEND_CONTAINER = "chart-legend-container",
263
+ LEGEND_SORT = "chart-legend-sort",
264
+ EXTRA_CHART = "chart-extra-chart",
265
+ LOADER = "chart-loader"
266
+ }
267
+ export declare enum ChartSettingsHeaderTestIdModifiers {
268
+ CONTAINER = "chart-settings-header-container",
269
+ TYPE_DROPDOWN = "chart-settings-header-type-dropdown"
270
+ }
271
+ export declare enum ChartTooltipTestIdModifiers {
272
+ CONTAINER = "chart-tooltip-container"
273
+ }
274
+ export declare enum EmptyStateTestIdModifiers {
275
+ CONTAINER = "empty-state-container",
276
+ TITLE = "empty-state-title",
277
+ SUBTITLE = "empty-state-subtitle"
278
+ }
package/testids/index.js CHANGED
@@ -1,38 +1,45 @@
1
- var a = /* @__PURE__ */ ((E) => (E.TRIGGER = "ie-trigger", E.CONTENT = "ie-content", E.SEARCH = "ie-search", E.LIST = "ie-list", E.LIST_SELECTED = "ie-list-selected", E.ACTION_CANCEL = "ie-action-cancel", E.ACTION_APPLY = "ie-action-apply", E.SELECT_ALL = "ie-select-all", E.CLEAR_ALL = "ie-clear-all", E))(a || {}), R = /* @__PURE__ */ ((E) => (E.TRIGGER = "dd-trigger", E.WRAPPER = "dd-wrapper", E.BUTTON = "dd-button", E.BUTTON_WRAPPER = "dd-button-wrapper", E.BUTTON_CONTENT = "dd-button-content", E.BUTTON_CONTENT_SUFFIX = "dd-button-content-suffix", E.BUTTON_CLEAR = "dd-button-clear", E.LABEL = "dd-label", E.LIST_CONTAINER = "dd-list-container", E.SEARCH = "dd-search", E.TITLE = "dd-title", E.ACTION_CANCEL = "dd-action-cancel", E.ACTION_APPLY = "dd-action-apply", E.ACTION_CLEAR_ALL = "dd-action-clear-all", E.HELPER_TEXT = "dd-helper-text", E.HELPER_TEXT_ERROR = "dd-helper-text-error", E.SELECT_ALL = "dd-select-all", E.NO_RESULT = "dd-no-result", E))(R || {}), O = /* @__PURE__ */ ((E) => (E.WRAPPER = "banner-wrapper", E.CONTENT = "banner-content", E))(O || {}), t = /* @__PURE__ */ ((E) => (E.WRAPPER = "link-wrapper", E.ICON = "link-icon", E))(t || {}), N = /* @__PURE__ */ ((E) => (E.WRAPPER = "alert-wrapper", E.TITLE = "alert-title", E.MESSAGE = "alert-message", E.ACTION_BUTTON = "alert-action-button", E.CLOSE_BUTTON = "alert-close-button", E))(N || {}), A = /* @__PURE__ */ ((E) => (E.WRAPPER = "dialog-wrapper", E.HEADER = "dialog-header", E.ACTION_CLOSE = "dialog-action-close", E.HEADER_SECONDARY = "dialog-header-secondary", E.CONTENT = "dialog-content", E.ACTION_BUTTONS_WRAPPER = "dialog-action-buttons-wrapper", E.BACKDROP = "dialog-backdrop", E.SAVE_BUTTON = "dialog-save-button", E.CANCEL_BUTTON = "dialog-cancel-button", E))(A || {}), P = /* @__PURE__ */ ((E) => (E.WRAPPER = "input-wrapper", E.TOOLTIP = "input-tooltip", E.TOOLTIP_WITHOUT_ICON = "input-tooltip-without-icon", E.MANDATORY = "input-mandatory", E.LABEL_CONTAINER = "input-label-container", E.LABEL_TEXT = "input-label-text", E.FIELD = "input-field", E.EXTRA_TEXT = "input-extra-text", E.TOGGLE_PASSWORD = "input-toggle-password-icon", E))(P || {}), c = /* @__PURE__ */ ((E) => (E.WRAPPER = "cb-wrapper", E.LABEL = "cb-label", E.FIELD = "cb-field", E.CHECKED = "cb-checked", E))(c || {}), L = /* @__PURE__ */ ((E) => (E.FIELD = "radio-field", E.LABEL = "radio-label", E.ERROR_TEXT = "radio-error-text", E.GROUP = "radio-group", E.LABEL_DESCRIPTION = "label-description", E))(L || {}), n = /* @__PURE__ */ ((E) => (E.WRAPPER = "swicth-wrapper", E.BUTTON = "swicth-button", E.TEXT = "swicth-text", E))(n || {}), _ = /* @__PURE__ */ ((E) => (E.WRAPPER = "ta-wrapper", E.LABEL = "ta-label", E.FIELD = "ta-field", E.TEXT = "ta-text", E))(_ || {}), l = /* @__PURE__ */ ((E) => (E.CONTAINER = "search-container", E.FIELD = "search-field", E.CLOSE = "search-close", E.CLEAR = "search-clear", E))(l || {}), r = /* @__PURE__ */ ((E) => (E.CONTAINER = "tbl-container", E.TABLE = "tbl-table", E.HEADER = "tbl-header", E.TITLE = "tbl-title", E.HEADER_RIGHT = "tbl-header-right", E.ACTIONS = "tbl-actions", E.SECTIONS = "tbl-sections", E.BODY_WRAPPER = "tbl-body-wrapper", E.EMPTY_STATE = "tbl-empty-state", E.PRE_SEARCH_HEADER = "tbl-pre-search-header", E))(r || {}), C = /* @__PURE__ */ ((E) => (E.CONTAINER = "rc-container", E.COUNT = "rc-count", E.TOTAL = "rc-total", E))(C || {}), b = /* @__PURE__ */ ((E) => (E.WRAPPER = "toggle-wrapper", E.BODY = "toggle-body", E.FIELD = "toggle-field", E.TEXT = "toggle-text", E.HELPER_TEXT = "toggle-helper-text", E.ERROR_TEXT = "toggle-error-text", E))(b || {}), p = /* @__PURE__ */ ((E) => (E.TEXT = "tt-text", E.TRIGGER = "tt-trigger", E.HEADER = "tt-header", E))(p || {}), v = /* @__PURE__ */ ((E) => (E.WRAPPER = "at-wrapper", E.TITLE_TEXT = "at-title-text", E.TITLE_TOOLTIP_TEXT = "at-tooltip-text", E.DESCRIPTION_TOOLTIP_TEXT = "at-description-tooltip-text", E.DESCRIPTION_TEXT = "at-description-text", E.TRIGGER_BUTTON = "at-trigger-button", E))(v || {}), u = /* @__PURE__ */ ((E) => (E.WRAPPER = "ai-wrapper", E.SELECTED_OPTION = "ai-selected-option", E.SEARCH_FIELD = "ai-search-field", E))(u || {}), S = /* @__PURE__ */ ((E) => (E.WRAPPER = "chip-wrapper", E.CLEAR = "chip-clear", E))(S || {}), U = /* @__PURE__ */ ((E) => (E.WRAPPER = "dp-wrapper", E.INPUT = "dp-input", E))(U || {}), B = /* @__PURE__ */ ((E) => (E.WRAPPER = "cm-wrapper", E.DAYS_HEADER = "cm-days-header", E.PREVIOUS = "cm-previous", E.NEXT = "cm-next", E.DAYS_WRAPPER = "cm-days-wrapper", E.DAY = "cm-day", E.MONTH_HEADER_TEXT = "cm-month-header-text", E.MONTH_HEADER = "cm-month-header", E))(B || {}), h = /* @__PURE__ */ ((E) => (E.WRAPPER = "dr-wrapper", E.FIELD = "dr-field", E.TRIGGER = "dr-trigger", E.CONTAINER = "dr-container", E.MENU = "dr-menu", E.MESSAGE = "dr-message", E.ACTION_APPLY = "dr-action-apply", E.ACTION_CANCEL = "dr-action-cancel", E))(h || {}), W = /* @__PURE__ */ ((E) => (E.WRAPPER = "tabs-wrapper", E.TAB = "tabs-tab", E))(W || {}), X = /* @__PURE__ */ ((E) => (E.TEXT = "t-text", E))(X || {}), m = /* @__PURE__ */ ((E) => (E.HEADER = "h-header", E))(m || {}), T = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-label-container", E.TEXT = "field-label-text", E.MANDATORY = "field-label-mandatory", E.TOOLTIP = "field-label-help-tooltip", E))(T || {}), G = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-help-text-container", E.TEXT = "field-help-text-text", E.ICON = "field-help-text-icon", E))(G || {}), H = /* @__PURE__ */ ((E) => (E.CONTAINER = "sb-container", E.TITLE = "sb-title", E.MESSAGE = "sb-message", E.CLOSE = "sb-close", E.ICON = "sb-icon", E.ACTION_BUTTON = "sb-action-button", E))(H || {}), Y = /* @__PURE__ */ ((E) => (E.TITLE = "foldable-section-title", E.CONTENT = "foldable-section-content", E))(Y || {}), y = /* @__PURE__ */ ((E) => (E.TITLE = "form-card-title", E.CONTENT = "form-card-content", E.ACTIONS = "form-card-actions", E.SAVE_BUTTON = "form-card-save-btn", E.CANCEL_BUTTON = "form-card-cancel-btn", E))(y || {}), x = /* @__PURE__ */ ((E) => (E.TITLE = "ah-title", E.APP_KEY = "ah-app-key", E.APP_PLATFORM = "ah-app-platform", E.AB_ICON = "ah-ab-icon", E))(x || {}), w = /* @__PURE__ */ ((E) => (E.TEXT = "ic-text", E.COPY_BTN = "ic-copy-btn", E))(w || {}), g = /* @__PURE__ */ ((E) => (E.WRAPPER = "multibar-wrapper", E.CLOSE_BTN = "multibar-close-button", E.MENU = "multibar-menu", E.ACTION = "multibar-action", E))(g || {}), V = /* @__PURE__ */ ((E) => (E.CONTAINER = "sortable-list-container", E.DRAGGABLE_LIST = "sortable-list-draggable-list", E.LOCKED_LIST = "sortable-list-locked-list", E))(V || {}), K = /* @__PURE__ */ ((E) => (E.BUTTON_A = "ab-group-button-a", E.BUTTON_B = "ab-group-button-b", E.POPOVER_TRIGGER = "ab-group-popover-trigger", E.POPOVER_AB = "ab-group-popover", E))(K || {});
1
+ var a = /* @__PURE__ */ ((E) => (E.TRIGGER = "ie-trigger", E.CONTENT = "ie-content", E.SEARCH = "ie-search", E.LIST = "ie-list", E.LIST_SELECTED = "ie-list-selected", E.ACTION_CANCEL = "ie-action-cancel", E.ACTION_APPLY = "ie-action-apply", E.SELECT_ALL = "ie-select-all", E.CLEAR_ALL = "ie-clear-all", E))(a || {}), R = /* @__PURE__ */ ((E) => (E.TRIGGER = "dd-trigger", E.WRAPPER = "dd-wrapper", E.BUTTON = "dd-button", E.BUTTON_WRAPPER = "dd-button-wrapper", E.BUTTON_CONTENT = "dd-button-content", E.BUTTON_CONTENT_SUFFIX = "dd-button-content-suffix", E.BUTTON_CLEAR = "dd-button-clear", E.LABEL = "dd-label", E.LIST_CONTAINER = "dd-list-container", E.SEARCH = "dd-search", E.TITLE = "dd-title", E.ACTION_CANCEL = "dd-action-cancel", E.ACTION_APPLY = "dd-action-apply", E.ACTION_CLEAR_ALL = "dd-action-clear-all", E.HELPER_TEXT = "dd-helper-text", E.HELPER_TEXT_ERROR = "dd-helper-text-error", E.SELECT_ALL = "dd-select-all", E.NO_RESULT = "dd-no-result", E))(R || {}), t = /* @__PURE__ */ ((E) => (E.TRIGGER = "column-picker-trigger", E.WRAPPER = "column-picker-wrapper", E))(t || {}), O = /* @__PURE__ */ ((E) => (E.WRAPPER = "column-configurator-wrapper", E.SECTION_HEADER = "column-configurator-section-header", E.ADD_BUTTON = "column-configurator-add-button", E.DROPDOWN = "column-configurator-dropdown", E.LIST = "column-configurator-list", E.REMOVE_BUTTON = "column-configurator-remove-button", E))(O || {}), N = /* @__PURE__ */ ((E) => (E.WRAPPER = "banner-wrapper", E.CONTENT = "banner-content", E))(N || {}), c = /* @__PURE__ */ ((E) => (E.WRAPPER = "link-wrapper", E.ICON = "link-icon", E))(c || {}), A = /* @__PURE__ */ ((E) => (E.WRAPPER = "alert-wrapper", E.TITLE = "alert-title", E.MESSAGE = "alert-message", E.ACTION_BUTTON = "alert-action-button", E.CLOSE_BUTTON = "alert-close-button", E))(A || {}), n = /* @__PURE__ */ ((E) => (E.WRAPPER = "dialog-wrapper", E.HEADER = "dialog-header", E.ACTION_CLOSE = "dialog-action-close", E.HEADER_SECONDARY = "dialog-header-secondary", E.CONTENT = "dialog-content", E.ACTION_BUTTONS_WRAPPER = "dialog-action-buttons-wrapper", E.BACKDROP = "dialog-backdrop", E.SAVE_BUTTON = "dialog-save-button", E.CANCEL_BUTTON = "dialog-cancel-button", E))(n || {}), r = /* @__PURE__ */ ((E) => (E.WRAPPER = "input-wrapper", E.TOOLTIP = "input-tooltip", E.TOOLTIP_WITHOUT_ICON = "input-tooltip-without-icon", E.MANDATORY = "input-mandatory", E.LABEL_CONTAINER = "input-label-container", E.LABEL_TEXT = "input-label-text", E.FIELD = "input-field", E.EXTRA_TEXT = "input-extra-text", E.TOGGLE_PASSWORD = "input-toggle-password-icon", E.CLEAR_BUTTON = "input-clear-button", E.LOADING = "input-loading", E))(r || {}), P = /* @__PURE__ */ ((E) => (E.WRAPPER = "tags-field-wrapper", E.FIELD = "tags-field-field", E.CHIP = "tags-field-chip", E))(P || {}), l = /* @__PURE__ */ ((E) => (E.WRAPPER = "cb-wrapper", E.LABEL = "cb-label", E.FIELD = "cb-field", E.CHECKED = "cb-checked", E))(l || {}), L = /* @__PURE__ */ ((E) => (E.FIELD = "radio-field", E.LABEL = "radio-label", E.ERROR_TEXT = "radio-error-text", E.GROUP = "radio-group", E.LABEL_DESCRIPTION = "label-description", E))(L || {}), _ = /* @__PURE__ */ ((E) => (E.WRAPPER = "swicth-wrapper", E.BUTTON = "swicth-button", E.TEXT = "swicth-text", E))(_ || {}), p = /* @__PURE__ */ ((E) => (E.WRAPPER = "ta-wrapper", E.LABEL = "ta-label", E.FIELD = "ta-field", E.TEXT = "ta-text", E))(p || {}), b = /* @__PURE__ */ ((E) => (E.CONTAINER = "search-container", E.FIELD = "search-field", E.CLOSE = "search-close", E.CLEAR = "search-clear", E))(b || {}), u = /* @__PURE__ */ ((E) => (E.CONTAINER = "tbl-container", E.TABLE = "tbl-table", E.HEADER = "tbl-header", E.TITLE = "tbl-title", E.HEADER_RIGHT = "tbl-header-right", E.ACTIONS = "tbl-actions", E.SECTIONS = "tbl-sections", E.BODY_WRAPPER = "tbl-body-wrapper", E.EMPTY_STATE = "tbl-empty-state", E.PRE_SEARCH_HEADER = "tbl-pre-search-header", E))(u || {}), v = /* @__PURE__ */ ((E) => (E.CONTAINER = "rc-container", E.COUNT = "rc-count", E.TOTAL = "rc-total", E))(v || {}), C = /* @__PURE__ */ ((E) => (E.WRAPPER = "toggle-wrapper", E.BODY = "toggle-body", E.FIELD = "toggle-field", E.TEXT = "toggle-text", E.HELPER_TEXT = "toggle-helper-text", E.ERROR_TEXT = "toggle-error-text", E))(C || {}), h = /* @__PURE__ */ ((E) => (E.TEXT = "tt-text", E.TRIGGER = "tt-trigger", E.HEADER = "tt-header", E))(h || {}), S = /* @__PURE__ */ ((E) => (E.WRAPPER = "at-wrapper", E.TITLE_TEXT = "at-title-text", E.TITLE_TOOLTIP_TEXT = "at-tooltip-text", E.DESCRIPTION_TOOLTIP_TEXT = "at-description-tooltip-text", E.DESCRIPTION_TEXT = "at-description-text", E.TRIGGER_BUTTON = "at-trigger-button", E))(S || {}), U = /* @__PURE__ */ ((E) => (E.WRAPPER = "ai-wrapper", E.SELECTED_OPTION = "ai-selected-option", E.SEARCH_FIELD = "ai-search-field", E))(U || {}), W = /* @__PURE__ */ ((E) => (E.WRAPPER = "chip-wrapper", E.CLEAR = "chip-clear", E))(W || {}), B = /* @__PURE__ */ ((E) => (E.WRAPPER = "dp-wrapper", E.INPUT = "dp-input", E))(B || {}), m = /* @__PURE__ */ ((E) => (E.WRAPPER = "cm-wrapper", E.DAYS_HEADER = "cm-days-header", E.PREVIOUS = "cm-previous", E.NEXT = "cm-next", E.DAYS_WRAPPER = "cm-days-wrapper", E.DAY = "cm-day", E.MONTH_HEADER_TEXT = "cm-month-header-text", E.MONTH_HEADER = "cm-month-header", E))(m || {}), G = /* @__PURE__ */ ((E) => (E.WRAPPER = "dr-wrapper", E.FIELD = "dr-field", E.TRIGGER = "dr-trigger", E.CONTAINER = "dr-container", E.MENU = "dr-menu", E.MESSAGE = "dr-message", E.ACTION_APPLY = "dr-action-apply", E.ACTION_CANCEL = "dr-action-cancel", E))(G || {}), T = /* @__PURE__ */ ((E) => (E.WRAPPER = "tabs-wrapper", E.TAB = "tabs-tab", E))(T || {}), X = /* @__PURE__ */ ((E) => (E.TEXT = "t-text", E))(X || {}), H = /* @__PURE__ */ ((E) => (E.HEADER = "h-header", E))(H || {}), D = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-label-container", E.TEXT = "field-label-text", E.MANDATORY = "field-label-mandatory", E.TOOLTIP = "field-label-help-tooltip", E))(D || {}), y = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-help-text-container", E.TEXT = "field-help-text-text", E.ICON = "field-help-text-icon", E))(y || {}), Y = /* @__PURE__ */ ((E) => (E.CONTAINER = "sb-container", E.TITLE = "sb-title", E.MESSAGE = "sb-message", E.CLOSE = "sb-close", E.ICON = "sb-icon", E.ACTION_BUTTON = "sb-action-button", E))(Y || {}), g = /* @__PURE__ */ ((E) => (E.TITLE = "foldable-section-title", E.CONTENT = "foldable-section-content", E))(g || {}), w = /* @__PURE__ */ ((E) => (E.TITLE = "form-card-title", E.CONTENT = "form-card-content", E.ACTIONS = "form-card-actions", E.SAVE_BUTTON = "form-card-save-btn", E.CANCEL_BUTTON = "form-card-cancel-btn", E))(w || {}), x = /* @__PURE__ */ ((E) => (E.TITLE = "ah-title", E.APP_KEY = "ah-app-key", E.APP_PLATFORM = "ah-app-platform", E.AB_ICON = "ah-ab-icon", E))(x || {}), V = /* @__PURE__ */ ((E) => (E.TEXT = "ic-text", E.COPY_BTN = "ic-copy-btn", E))(V || {}), K = /* @__PURE__ */ ((E) => (E.WRAPPER = "multibar-wrapper", E.CLOSE_BTN = "multibar-close-button", E.MENU = "multibar-menu", E.ACTION = "multibar-action", E))(K || {}), j = /* @__PURE__ */ ((E) => (E.CONTAINER = "sortable-list-container", E.DRAGGABLE_LIST = "sortable-list-draggable-list", E.LOCKED_LIST = "sortable-list-locked-list", E))(j || {}), q = /* @__PURE__ */ ((E) => (E.BUTTON_A = "ab-group-button-a", E.BUTTON_B = "ab-group-button-b", E.POPOVER_TRIGGER = "ab-group-popover-trigger", E.POPOVER_AB = "ab-group-popover", E))(q || {}), z = /* @__PURE__ */ ((E) => (E.CONTAINER = "chart-container", E.HEADER = "chart-header", E.TREND = "chart-trend", E.TYPE_SWITCHER = "chart-type-switcher", E.LEGEND = "chart-legend", E.LEGEND_CONTAINER = "chart-legend-container", E.LEGEND_SORT = "chart-legend-sort", E.EXTRA_CHART = "chart-extra-chart", E.LOADER = "chart-loader", E))(z || {}), F = /* @__PURE__ */ ((E) => (E.CONTAINER = "chart-settings-header-container", E.TYPE_DROPDOWN = "chart-settings-header-type-dropdown", E))(F || {}), J = /* @__PURE__ */ ((E) => (E.CONTAINER = "chart-tooltip-container", E))(J || {}), Q = /* @__PURE__ */ ((E) => (E.CONTAINER = "empty-state-container", E.TITLE = "empty-state-title", E.SUBTITLE = "empty-state-subtitle", E))(Q || {});
2
2
  export {
3
- N as AlertTestIdModifiers,
3
+ A as AlertTestIdModifiers,
4
4
  x as AppHeaderTestIdModifiers,
5
- v as AppTriggerTestIdModifiers,
6
- u as AutocompleteInputTestIdModifiers,
7
- O as BannerTestIdModifiers,
8
- B as CalendarMonthTestIdModifiers,
9
- c as CheckboxTestIdModifiers,
10
- S as ChipTestIdModifiers,
11
- U as DatePickerTestIdModifiers,
12
- h as DateRangeTestIdModifiers,
13
- A as DialogTestIdModifiers,
5
+ S as AppTriggerTestIdModifiers,
6
+ U as AutocompleteInputTestIdModifiers,
7
+ N as BannerTestIdModifiers,
8
+ m as CalendarMonthTestIdModifiers,
9
+ F as ChartSettingsHeaderTestIdModifiers,
10
+ z as ChartTestIdModifiers,
11
+ J as ChartTooltipTestIdModifiers,
12
+ l as CheckboxTestIdModifiers,
13
+ W as ChipTestIdModifiers,
14
+ O as ColumnConfiguratorTestIdModifiers,
15
+ t as ColumnPickerTestIdModifiers,
16
+ B as DatePickerTestIdModifiers,
17
+ G as DateRangeTestIdModifiers,
18
+ n as DialogTestIdModifiers,
14
19
  R as DropdownTestIdModifiers,
15
- G as FieldHelpTextTestIdModifiers,
16
- T as FieldLabelTestIdModifiers,
17
- Y as FoldableSectionTestIdModifiers,
18
- y as FormCardTestIdModifiers,
19
- m as HeaderTestIdModifiers,
20
+ Q as EmptyStateTestIdModifiers,
21
+ y as FieldHelpTextTestIdModifiers,
22
+ D as FieldLabelTestIdModifiers,
23
+ g as FoldableSectionTestIdModifiers,
24
+ w as FormCardTestIdModifiers,
25
+ H as HeaderTestIdModifiers,
20
26
  a as IncludeExcludeTestIdModifiers,
21
- w as InlineCopyTestIdModifiers,
22
- P as InputTestIdModifiers,
23
- t as LinkTestIdModifiers,
24
- g as MultiBarTestIdModifiers,
27
+ V as InlineCopyTestIdModifiers,
28
+ r as InputTestIdModifiers,
29
+ c as LinkTestIdModifiers,
30
+ K as MultiBarTestIdModifiers,
25
31
  L as RadioTestIdModifiers,
26
- C as RowsCounterTestIdModifiers,
27
- l as SearchTestIdModifiers,
28
- H as SnackbarTestIdModifiers,
29
- V as SortableListTestIdModifiers,
30
- n as SwitchTestIdModifiers,
31
- r as TableTestIdModifiers,
32
- W as TabsTestIdModifiers,
33
- _ as TextAreaTestIdModifiers,
32
+ v as RowsCounterTestIdModifiers,
33
+ b as SearchTestIdModifiers,
34
+ Y as SnackbarTestIdModifiers,
35
+ j as SortableListTestIdModifiers,
36
+ _ as SwitchTestIdModifiers,
37
+ u as TableTestIdModifiers,
38
+ T as TabsTestIdModifiers,
39
+ P as TagsFieldTestIdModifiers,
40
+ p as TextAreaTestIdModifiers,
34
41
  X as TextTestIdModifiers,
35
- K as ToggleButtonGroupABTestIdModifiers,
36
- b as ToggleTestIdModifiers,
37
- p as TooltipTestIdModifiers
42
+ q as ToggleButtonGroupABTestIdModifiers,
43
+ C as ToggleTestIdModifiers,
44
+ h as TooltipTestIdModifiers
38
45
  };
package/utils/date.js CHANGED
@@ -1,7 +1,7 @@
1
- const n = (e) => {
2
- const t = typeof e == "string" || typeof e == "number" ? new Date(e) : e;
1
+ const n = (t) => {
2
+ const e = new Date(t);
3
3
  return new Date(
4
- t.valueOf() + t.getTimezoneOffset() * 60 * 1e3
4
+ e.valueOf() + e.getTimezoneOffset() * 60 * 1e3
5
5
  );
6
6
  };
7
7
  export {
@@ -1,4 +1,4 @@
1
1
  export declare const DEFAULT_FALLBACK = "N/A";
2
- export declare function nFormatter(num: number, formatLowDigits?: boolean): string;
2
+ export declare const nFormatter: (num: number | string, formatLowDigits?: boolean, fallback?: string | null, withSuffixSpace?: boolean) => string;
3
3
  export declare const diffInPersentage: (valueA: number | string, valueB: number | string, fallback?: string | null) => string | number;
4
4
  export declare const formatNumberWithCommas: (num: number | string, fallback?: string | null) => string;
@@ -1,24 +1,41 @@
1
- const s = "N/A", f = (e, t, i) => e.toLocaleString("en", {
2
- minimumFractionDigits: t,
3
- maximumFractionDigits: i
4
- });
5
- function u(e, t = !1) {
6
- return e >= 1e12 ? "∞" : e >= 1e9 ? o(e, 1e9, "B") : e >= 1e6 ? o(e, 1e6, "M") : e >= 1e3 ? o(e, 1e3, "K") : e >= 100 ? e.toFixed(0) : e >= 10 ? e.toFixed(t ? 1 : 0) : e.toFixed(t ? 2 : 0);
7
- }
8
- function o(e, t, i) {
9
- const r = e / t;
10
- return r >= 100 ? r.toFixed(0) + i : r >= 10 ? r.toFixed(1) + i : r.toFixed(2) + i;
11
- }
12
- const N = (e, t, i = s) => {
13
- const r = Number(e), n = Number(t);
14
- return i && (isNaN(r) || isNaN(n)) ? i : r >= n ? (n - r) / r * 100 : (r - n) / r * -100;
15
- }, c = (e, t = s) => {
16
- const i = Number(e);
17
- return isNaN(i) && t ? t : f(i, 0, 2);
1
+ const L = "N/A", O = "∞", T = "B", i = "M", S = "K";
2
+ const _ = " ", N = (s, e, r) => s.toLocaleString("en", {
3
+ minimumFractionDigits: e,
4
+ maximumFractionDigits: r
5
+ }), I = (s, e, r, n = !0) => {
6
+ const t = s / e, o = ((H) => H >= 100 ? 0 : H >= 10 ? 1 : 2)(t), c = t.toFixed(o);
7
+ return n ? `${c}${_}${r}` : `${c}${r}`;
8
+ }, m = (s, e = !1, r = L, n = !0) => {
9
+ const t = Number(s), u = t % 1 !== 0;
10
+ if (isNaN(t) && r)
11
+ return r;
12
+ const o = Math.abs(t);
13
+ return o >= 1e12 ? O : o >= 1e9 ? I(
14
+ t,
15
+ 1e9,
16
+ T,
17
+ n
18
+ ) : o >= 1e6 ? I(
19
+ t,
20
+ 1e6,
21
+ i,
22
+ n
23
+ ) : o >= 1e3 ? I(
24
+ t,
25
+ 1e3,
26
+ S,
27
+ n
28
+ ) : u ? o >= 100 ? N(t, 0, 0) : o >= 10 ? N(t, 0, e ? 1 : 0) : N(t, e ? 2 : 0, e ? 2 : 0) : N(t, 0, 0);
29
+ }, D = (s, e, r = L) => {
30
+ const n = Number(s), t = Number(e);
31
+ return r && (isNaN(n) || isNaN(t)) ? r : n >= t ? (t - n) / n * 100 : (n - t) / n * -100;
32
+ }, a = (s, e = L) => {
33
+ const r = Number(s);
34
+ return isNaN(r) && e ? e : N(r, 0, 2);
18
35
  };
19
36
  export {
20
- s as DEFAULT_FALLBACK,
21
- N as diffInPersentage,
22
- c as formatNumberWithCommas,
23
- u as nFormatter
37
+ L as DEFAULT_FALLBACK,
38
+ D as diffInPersentage,
39
+ a as formatNumberWithCommas,
40
+ m as nFormatter
24
41
  };
package/utils/object.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export declare const objectsEqual: (objA: any, objB: any) => boolean;
2
+ export declare const omitKeys: <T>(obj: Record<string, T>, keys: string[]) => Record<string, T>;
3
+ export declare const mapOverObject: <T, U>(obj: Record<string, T>, fn: (value: T, key: string) => U) => Record<string, U>;