@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
package/index.js CHANGED
@@ -2,17 +2,17 @@ import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_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,74 +35,82 @@ 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 v from "./components/emptyState/v3/index.js";
50
- import * as H from "./components/emptyState/v4/index.js";
51
- import * as N from "./components/snackbar/v3/index.js";
52
- import * as V from "./components/snackbar/v4/index.js";
53
- import * as J from "./components/radioButton/v3/index.js";
54
- import * as K from "./components/radioButton/v4/index.js";
55
- import * as P from "./components/textArea/v3/index.js";
56
- import * as R from "./components/textArea/v4/index.js";
57
- import * as _ from "./components/ThemeWrapper/index.js";
58
- import * as j from "./components/appHeader/index.js";
59
- import * as k from "./components/inlineCopy/index.js";
60
- import * as q from "./components/statusDot/index.js";
61
- import * as z from "./components/sortableList/index.js";
62
- import * as G from "./components/datePicker/v3/index.js";
63
- import * as L from "./components/datePicker/v4/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
+ import * as R from "./components/appHeader/index.js";
59
+ import * as _ from "./components/inlineCopy/index.js";
60
+ import * as j from "./components/statusDot/index.js";
61
+ import * as q from "./components/sortableList/index.js";
62
+ import * as z from "./components/datePicker/v3/index.js";
63
+ import * as G from "./components/datePicker/v4/index.js";
64
64
  import * as Q from "./components/dateRange/v3/index.js";
65
65
  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 vo } from "./composables/useToggle.js";
70
- import { useSearch as No } from "./composables/useSearch.js";
71
- import { scrollToElementByClass as Jo, scrollToFirstInvalidElement as Ko, useFormValidation as Po, yupValidation as Ro } from "./composables/useFormValidation.js";
72
- import { useDateService as jo } from "./composables/useDateService.js";
73
- import { BannerTypes as qo } from "./components/banner/index.js";
74
- import { AlertTypes as Go } from "./components/alert/index.js";
75
- import { AutocompleteTypes as Qo } from "./components/autocomplete/index.js";
76
- import { ChartTypes as Uo } from "./components/chart/index.js";
77
- import { default as Xo } from "./components/appTrigger/AppTrigger.vue.js";
78
- import { default as or } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
79
- import { default as er } from "./components/menuItem/MenuItem.vue.js";
80
- import { default as mr } from "./components/menu/Menu.vue.js";
81
- import { default as ar } from "./components/appIcon/AppIcon.vue.js";
82
- import { default as fr } from "./components/floatingToolbar/FloatingToolbar.vue.js";
83
- import { default as xr } from "./components/includeExclude/IncludeExclude.vue.js";
84
- import { default as nr } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
85
- import { default as ur } from "./components/includeExclude/IncludeExcludeOption.vue.js";
86
- import { default as Tr } from "./components/includeExclude/IncludeExcludeOptionDraggable.vue.js";
87
- import { default as yr } from "./components/includeExclude/IncludeExcludeAppTrigger.vue.js";
88
- import { default as Fr } from "./components/includeExclude/IncludeExcludeAppHeader.vue.js";
89
- import { default as Ar } from "./components/includeExclude/IncludeExcludeChipFilter.vue.js";
90
- import { default as Dr } from "./components/filterDropdown/FilterDropdown.vue.js";
91
- import { default as hr } from "./components/filterDropdown/AddFilterButton.vue.js";
92
- import { default as Mr } from "./components/typography/Heading.vue.js";
93
- import { default as wr } from "./components/typography/Text.vue.js";
94
- import { default as Sr } from "./components/typography/v4/Typography.vue.js";
95
- import { default as Hr } from "./components/multibar/MultiBar.vue.js";
96
- import { default as Vr } from "./components/layout/FoldableSection.vue.js";
97
- import { default as Kr } from "./components/forms/FormRow.vue.js";
98
- import { default as Rr } from "./components/forms/FormCard.vue.js";
99
- import { default as jr } from "./components/forms/CardPanel.vue.js";
100
- import { default as qr } from "./components/forms/FormField.vue.js";
101
- import { default as Gr } from "./components/banner/Banner.vue.js";
102
- import { default as Qr } from "./components/alert/Alert.vue.js";
103
- import { default as Ur } from "./components/autocomplete/Autocomplete.vue.js";
104
- import { default as Xr } from "./components/chart/Chart.vue.js";
105
- import { ChartType as oe, TooltipOrder as re, TrendDirection as ee } from "./components/chart/types.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
+ import { useDateService as Ro } from "./composables/useDateService.js";
73
+ import { BannerTypes as jo } from "./components/banner/index.js";
74
+ import { AlertTypes as zo } from "./components/alert/index.js";
75
+ import { LinkTypes as Qo } from "./components/link/index.js";
76
+ import { AutocompleteTypes as Uo } from "./components/autocomplete/index.js";
77
+ import { ChartTypes as Xo } from "./components/chart/index.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";
106
114
  const Z = {
107
115
  ...e,
108
116
  ...t,
@@ -111,8 +119,8 @@ const Z = {
111
119
  ...o,
112
120
  ...r,
113
121
  ...a,
114
- ...i,
115
122
  ...f,
123
+ ...i,
116
124
  ...d,
117
125
  ...x,
118
126
  ...s,
@@ -124,34 +132,34 @@ const Z = {
124
132
  ...g,
125
133
  ...F,
126
134
  ...I,
135
+ ...E,
127
136
  ...D,
128
137
  ...C,
129
138
  ...A,
130
- ...E,
131
139
  ...h,
132
140
  ...B,
133
141
  ...M,
134
142
  ...b,
135
- ...v,
136
- ...H,
143
+ ...P,
144
+ ...S,
137
145
  ...w,
146
+ ...k,
138
147
  ...O,
139
- ...S,
140
- ...N,
141
- ...V,
148
+ ...v,
149
+ ...H,
142
150
  ...n,
143
151
  ...l,
144
- ...P,
145
- ...R,
152
+ ...V,
146
153
  ...J,
154
+ ...L,
155
+ ...N,
147
156
  ...K,
157
+ ...R,
148
158
  ..._,
149
159
  ...j,
150
- ...k,
151
160
  ...q,
152
161
  ...z,
153
162
  ...G,
154
- ...L,
155
163
  ...Q,
156
164
  ...Y,
157
165
  ...U,
@@ -159,63 +167,71 @@ const Z = {
159
167
  ...X
160
168
  };
161
169
  export {
162
- hr as AddFilterButton,
163
- Qr as Alert,
164
- Go as AlertTypes,
165
- ar as AppIcon,
170
+ Sr as AddFilterButton,
171
+ ee as Alert,
172
+ zo as AlertTypes,
173
+ ur as AppIcon,
166
174
  so as AppIconTypes,
167
- Xo as AppTrigger,
175
+ ar as AppTrigger,
168
176
  eo as AppTriggerTypes,
169
- Ur as Autocomplete,
170
- or as AutocompleteDropdown,
177
+ ae as Autocomplete,
178
+ ir as AutocompleteDropdown,
171
179
  mo as AutocompleteDropdownTypes,
172
- Qo as AutocompleteTypes,
173
- Gr as Banner,
174
- qo as BannerTypes,
175
- jr as CardPanel,
176
- Xr as Chart,
177
- oe as ChartType,
178
- Uo as ChartTypes,
179
- Dr as FilterDropdown,
180
+ Uo as AutocompleteTypes,
181
+ oe as Banner,
182
+ jo as BannerTypes,
183
+ Ur as CardPanel,
184
+ ie as Chart,
185
+ xe as ChartType,
186
+ Xo as ChartTypes,
187
+ Te as ColumnConfigurator,
188
+ er as ColumnConfiguratorTypes,
189
+ ue as ColumnPicker,
190
+ or as ColumnPickerTypes,
191
+ Or as FilterDropdown,
180
192
  Fo as FilterDropdownTypes,
181
- fr as FloatingToolbar,
193
+ Tr as FloatingToolbar,
182
194
  lo as FloatingToolbarTypes,
183
- Vr as FoldableSection,
195
+ jr as FoldableSection,
184
196
  Mo as FoldableSectionTypes,
185
- Rr as FormCard,
197
+ Qr as FormCard,
186
198
  wo as FormCardTypes,
187
- qr as FormField,
188
- Oo as FormFieldTypes,
189
- Kr as FormRow,
190
- Mr as Heading,
199
+ Xr as FormField,
200
+ ko as FormFieldTypes,
201
+ zr as FormRow,
202
+ Hr as Heading,
191
203
  co as ID_INJECTION_KEY,
192
- xr as IncludeExclude,
193
- Fr as IncludeExcludeAppHeader,
194
- yr as IncludeExcludeAppTrigger,
195
- Ar as IncludeExcludeChipFilter,
196
- nr as IncludeExcludeDragDrop,
197
- ur as IncludeExcludeOption,
198
- Tr 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,
199
211
  $o as IncludeExcludeTypes,
200
- mr as Menu,
201
- er as MenuItem,
212
+ me as Link,
213
+ Qo as LinkTypes,
214
+ nr as Menu,
215
+ xr as MenuItem,
202
216
  ao as MenuItemTypes,
203
- fo as MenuTypes,
204
- Hr as MultiBar,
217
+ io as MenuTypes,
218
+ Rr as MultiBar,
205
219
  ho as MultiBarTypes,
206
- wr as Text,
207
- re as TooltipOrder,
208
- ee as TrendDirection,
209
- Sr as Typography,
210
- Ao as TypographyTypes,
211
- 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,
212
228
  Z as default,
213
- Jo as scrollToElementByClass,
214
- Ko as scrollToFirstInvalidElement,
215
- jo as useDateService,
216
- Po as useFormValidation,
229
+ Lo as scrollToElementByClass,
230
+ No as scrollToFirstInvalidElement,
231
+ Ro as useDateService,
232
+ Vo as useFormValidation,
217
233
  yo as useId,
218
- No as useSearch,
219
- vo as useToggle,
220
- Ro as yupValidation
234
+ vo as useSearch,
235
+ Po as useToggle,
236
+ Jo as yupValidation
221
237
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.12-test.98",
3
+ "version": "2.1.12",
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
  },
@@ -222,6 +226,7 @@
222
226
  "./styleguideV4": "./style/styleguideV4.scss",
223
227
  "./banner": "./components/banner/Banner.vue.js",
224
228
  "./alert": "./components/alert/index.js",
229
+ "./link": "./components/link/index.js",
225
230
  "./multibar": "./components/multibar/index.js",
226
231
  "./typography": "./components/typography/v4/index.js",
227
232
  "./themeWrapper": "./components/ThemeWrapper/index.js",
@@ -254,6 +259,15 @@
254
259
  "menu": [
255
260
  "./components/menu/Menu.vue.d.ts"
256
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
+ ],
257
271
  "editable": [
258
272
  "./components/table-cells/v3/Editable.vue.d.ts"
259
273
  ],
@@ -437,6 +451,9 @@
437
451
  "alert": [
438
452
  "./components/alert/index.d.ts"
439
453
  ],
454
+ "link": [
455
+ "./components/link/index.d.ts"
456
+ ],
440
457
  "multibar": [
441
458
  "./components/multibar/index.d.ts"
442
459
  ],
@@ -29,10 +29,26 @@ 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"
35
47
  }
48
+ export declare enum LinkTestIdModifiers {
49
+ WRAPPER = "link-wrapper",
50
+ ICON = "link-icon"
51
+ }
36
52
  export declare enum AlertTestIdModifiers {
37
53
  WRAPPER = "alert-wrapper",
38
54
  TITLE = "alert-title",
@@ -60,7 +76,14 @@ export declare enum InputTestIdModifiers {
60
76
  LABEL_TEXT = "input-label-text",
61
77
  FIELD = "input-field",
62
78
  EXTRA_TEXT = "input-extra-text",
63
- 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"
64
87
  }
65
88
  export declare enum CheckboxTestIdModifiers {
66
89
  WRAPPER = "cb-wrapper",
@@ -230,3 +253,26 @@ export declare enum ToggleButtonGroupABTestIdModifiers {
230
253
  POPOVER_TRIGGER = "ab-group-popover-trigger",
231
254
  POPOVER_AB = "ab-group-popover"
232
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,37 +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 = "alert-wrapper", E.TITLE = "alert-title", E.MESSAGE = "alert-message", E.ACTION_BUTTON = "alert-action-button", E.CLOSE_BUTTON = "alert-close-button", E))(t || {}), 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 || {}), A = /* @__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))(A || {}), L = /* @__PURE__ */ ((E) => (E.WRAPPER = "cb-wrapper", E.LABEL = "cb-label", E.FIELD = "cb-field", E.CHECKED = "cb-checked", E))(L || {}), P = /* @__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))(P || {}), c = /* @__PURE__ */ ((E) => (E.WRAPPER = "swicth-wrapper", E.BUTTON = "swicth-button", E.TEXT = "swicth-text", E))(c || {}), _ = /* @__PURE__ */ ((E) => (E.WRAPPER = "ta-wrapper", E.LABEL = "ta-label", E.FIELD = "ta-field", E.TEXT = "ta-text", E))(_ || {}), n = /* @__PURE__ */ ((E) => (E.CONTAINER = "search-container", E.FIELD = "search-field", E.CLOSE = "search-close", E.CLEAR = "search-clear", E))(n || {}), l = /* @__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))(l || {}), r = /* @__PURE__ */ ((E) => (E.CONTAINER = "rc-container", E.COUNT = "rc-count", E.TOTAL = "rc-total", E))(r || {}), 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 || {}), b = /* @__PURE__ */ ((E) => (E.TEXT = "tt-text", E.TRIGGER = "tt-trigger", E.HEADER = "tt-header", E))(b || {}), p = /* @__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))(p || {}), v = /* @__PURE__ */ ((E) => (E.WRAPPER = "ai-wrapper", E.SELECTED_OPTION = "ai-selected-option", E.SEARCH_FIELD = "ai-search-field", E))(v || {}), u = /* @__PURE__ */ ((E) => (E.WRAPPER = "chip-wrapper", E.CLEAR = "chip-clear", E))(u || {}), S = /* @__PURE__ */ ((E) => (E.WRAPPER = "dp-wrapper", E.INPUT = "dp-input", E))(S || {}), U = /* @__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))(U || {}), B = /* @__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))(B || {}), h = /* @__PURE__ */ ((E) => (E.WRAPPER = "tabs-wrapper", E.TAB = "tabs-tab", E))(h || {}), T = /* @__PURE__ */ ((E) => (E.TEXT = "t-text", E))(T || {}), W = /* @__PURE__ */ ((E) => (E.HEADER = "h-header", E))(W || {}), X = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-label-container", E.TEXT = "field-label-text", E.MANDATORY = "field-label-mandatory", E.TOOLTIP = "field-label-help-tooltip", E))(X || {}), m = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-help-text-container", E.TEXT = "field-help-text-text", E.ICON = "field-help-text-icon", E))(m || {}), G = /* @__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))(G || {}), H = /* @__PURE__ */ ((E) => (E.TITLE = "foldable-section-title", E.CONTENT = "foldable-section-content", E))(H || {}), 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 || {}), y = /* @__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))(y || {}), x = /* @__PURE__ */ ((E) => (E.TEXT = "ic-text", E.COPY_BTN = "ic-copy-btn", E))(x || {}), g = /* @__PURE__ */ ((E) => (E.WRAPPER = "multibar-wrapper", E.CLOSE_BTN = "multibar-close-button", E.MENU = "multibar-menu", E.ACTION = "multibar-action", E))(g || {}), w = /* @__PURE__ */ ((E) => (E.CONTAINER = "sortable-list-container", E.DRAGGABLE_LIST = "sortable-list-draggable-list", E.LOCKED_LIST = "sortable-list-locked-list", E))(w || {}), V = /* @__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))(V || {});
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
- t as AlertTestIdModifiers,
4
- y as AppHeaderTestIdModifiers,
5
- p as AppTriggerTestIdModifiers,
6
- v as AutocompleteInputTestIdModifiers,
7
- O as BannerTestIdModifiers,
8
- U as CalendarMonthTestIdModifiers,
9
- L as CheckboxTestIdModifiers,
10
- u as ChipTestIdModifiers,
11
- S as DatePickerTestIdModifiers,
12
- B as DateRangeTestIdModifiers,
13
- N as DialogTestIdModifiers,
3
+ A as AlertTestIdModifiers,
4
+ x as AppHeaderTestIdModifiers,
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
- m as FieldHelpTextTestIdModifiers,
16
- X as FieldLabelTestIdModifiers,
17
- H as FoldableSectionTestIdModifiers,
18
- Y as FormCardTestIdModifiers,
19
- W 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
- x as InlineCopyTestIdModifiers,
22
- A as InputTestIdModifiers,
23
- g as MultiBarTestIdModifiers,
24
- P as RadioTestIdModifiers,
25
- r as RowsCounterTestIdModifiers,
26
- n as SearchTestIdModifiers,
27
- G as SnackbarTestIdModifiers,
28
- w as SortableListTestIdModifiers,
29
- c as SwitchTestIdModifiers,
30
- l as TableTestIdModifiers,
31
- h as TabsTestIdModifiers,
32
- _ as TextAreaTestIdModifiers,
33
- T as TextTestIdModifiers,
34
- V as ToggleButtonGroupABTestIdModifiers,
27
+ V as InlineCopyTestIdModifiers,
28
+ r as InputTestIdModifiers,
29
+ c as LinkTestIdModifiers,
30
+ K as MultiBarTestIdModifiers,
31
+ L as RadioTestIdModifiers,
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,
41
+ X as TextTestIdModifiers,
42
+ q as ToggleButtonGroupABTestIdModifiers,
35
43
  C as ToggleTestIdModifiers,
36
- b as TooltipTestIdModifiers
44
+ h as TooltipTestIdModifiers
37
45
  };
@@ -0,0 +1 @@
1
+ export declare const getUTCDate: (date: Date | string | number) => Date;
package/utils/date.js ADDED
@@ -0,0 +1,9 @@
1
+ const n = (t) => {
2
+ const e = new Date(t);
3
+ return new Date(
4
+ e.valueOf() + e.getTimezoneOffset() * 60 * 1e3
5
+ );
6
+ };
7
+ export {
8
+ n as getUTCDate
9
+ };
@@ -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;