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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  5. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
  6. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_908ef54f_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css +1 -0
  9. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  10. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_lang.css +1 -0
  11. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  12. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  13. package/DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css +1 -0
  14. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  15. package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
  16. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  17. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  18. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  19. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  20. package/DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_lang.css +1 -0
  21. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  22. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  23. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  24. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  25. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  26. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  27. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  28. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  29. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  30. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  31. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  32. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  33. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  34. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  35. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  36. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  37. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  38. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  39. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  40. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  41. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  42. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  43. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  44. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  45. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  46. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  47. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  48. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  49. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  50. package/components/appIcon/index.d.ts +3 -3
  51. package/components/banner/Banner.vue.d.ts +3 -3
  52. package/components/banner/index.d.ts +7 -7
  53. package/components/button/common/consts.d.ts +1 -0
  54. package/components/button/v3/Button.vue.d.ts +3 -3
  55. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  56. package/components/button/v3/IconButton.vue.d.ts +3 -3
  57. package/components/button/v3/index.d.ts +14 -14
  58. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  59. package/components/button/v4/ButtonV4.vue.js +4 -4
  60. package/components/button/v4/ButtonV4.vue2.js +28 -27
  61. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  62. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  63. package/components/chart/Chart.vue.d.ts +123 -10
  64. package/components/chart/Chart.vue.js +3 -3
  65. package/components/chart/Chart.vue2.js +120 -64
  66. package/components/chart/ChartHeader.vue.d.ts +36 -7
  67. package/components/chart/ChartHeader.vue.js +3 -3
  68. package/components/chart/ChartHeader.vue2.js +60 -63
  69. package/components/chart/ChartHeaderTrend.vue.d.ts +19 -5
  70. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  71. package/components/chart/ChartHeaderTrend.vue2.js +83 -18
  72. package/components/chart/ChartLegend.vue.d.ts +24 -0
  73. package/components/chart/ChartLegend.vue.js +3 -3
  74. package/components/chart/ChartLegend.vue2.js +80 -62
  75. package/components/chart/ChartPlane.vue.d.ts +106 -13
  76. package/components/chart/ChartPlane.vue.js +5 -5
  77. package/components/chart/ChartPlane.vue2.js +313 -238
  78. package/components/chart/ChartStoryArgs.d.ts +63 -2
  79. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  80. package/components/chart/ChartTooltip.vue.js +2 -2
  81. package/components/chart/ChartTooltip.vue2.js +52 -58
  82. package/components/chart/LegendSorting.vue.d.ts +37 -0
  83. package/components/chart/LegendSorting.vue.js +45 -0
  84. package/components/chart/LegendSorting.vue2.js +4 -0
  85. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  86. package/components/chart/SettingsHeader.vue.js +3 -3
  87. package/components/chart/SettingsHeader.vue2.js +17 -16
  88. package/components/chart/SubHeader.vue.d.ts +52 -0
  89. package/components/chart/SubHeader.vue.js +7 -0
  90. package/components/chart/SubHeader.vue2.js +61 -0
  91. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  92. package/components/chart/TooltipHeader.vue.js +7 -0
  93. package/components/chart/TooltipHeader.vue2.js +69 -0
  94. package/components/chart/colorPalette.d.ts +5 -0
  95. package/components/chart/colorPalette.js +68 -0
  96. package/components/chart/composables/useChartHeight.d.ts +2 -2
  97. package/components/chart/composables/useChartHeight.js +16 -14
  98. package/components/chart/composables/useColorsMap.d.ts +5 -3
  99. package/components/chart/composables/useColorsMap.js +43 -12
  100. package/components/chart/consts.d.ts +29 -8
  101. package/components/chart/consts.js +45 -26
  102. package/components/chart/index.d.ts +473 -76
  103. package/components/chart/mockData.d.ts +33 -5
  104. package/components/chart/types.d.ts +35 -6
  105. package/components/chart/types.js +5 -2
  106. package/components/chart/utils/highlightUtils.d.ts +3 -0
  107. package/components/chart/utils/highlightUtils.js +18 -0
  108. package/components/chart/utils/utils.d.ts +3 -3
  109. package/components/chart/utils/utils.js +25 -10
  110. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  111. package/components/checkbox/v3/index.d.ts +7 -7
  112. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  113. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  114. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  115. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  116. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  117. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  118. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  119. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  120. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  121. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  122. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  123. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  124. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  125. package/components/columnConfigurator/consts.d.ts +1 -0
  126. package/components/columnConfigurator/consts.js +4 -0
  127. package/components/columnConfigurator/index.d.ts +72 -0
  128. package/components/columnConfigurator/index.js +6 -0
  129. package/components/columnConfigurator/mockData.d.ts +30 -0
  130. package/components/columnConfigurator/utils.d.ts +2 -0
  131. package/components/columnConfigurator/utils.js +18 -0
  132. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  133. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  134. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  135. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  136. package/components/columnPicker/OptionChip.vue.js +7 -0
  137. package/components/columnPicker/OptionChip.vue2.js +46 -0
  138. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  139. package/components/columnPicker/RemoveButton.vue.js +7 -0
  140. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  141. package/components/columnPicker/index.d.ts +388 -0
  142. package/components/columnPicker/index.js +6 -0
  143. package/components/columnPicker/mockData.d.ts +8 -0
  144. package/components/dateRange/common/DateRange.common.js +100 -94
  145. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  146. package/components/dateRange/common/DateServices.common.js +88 -92
  147. package/components/dateRange/common/consts.common.d.ts +5 -0
  148. package/components/dateRange/common/consts.common.js +9 -3
  149. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  150. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  151. package/components/dateRange/v3/index.d.ts +7 -7
  152. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  153. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  154. package/components/dateRange/v4/index.d.ts +7 -7
  155. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  156. package/components/dialog/v3/index.d.ts +46 -46
  157. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  158. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  159. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  160. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  161. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  162. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  163. package/components/dialog/v4/DialogV4.vue.d.ts +13 -12
  164. package/components/dialog/v4/DialogV4.vue.js +4 -4
  165. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  166. package/components/dialog/v4/index.d.ts +164 -164
  167. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  168. package/components/dropdown/common/Dropdown.common.js +161 -149
  169. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  170. package/components/dropdown/v3/index.d.ts +39 -39
  171. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  172. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  173. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  174. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  175. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  176. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  177. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  178. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  179. package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
  180. package/components/dropdown/v4/DropdownV4.vue.d.ts +35 -1
  181. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  182. package/components/dropdown/v4/DropdownV4.vue2.js +257 -199
  183. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  184. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  185. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  186. package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
  187. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  188. package/components/dropdown/v4/OptionV4.vue2.js +162 -117
  189. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  190. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  191. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  192. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  193. package/components/dropdown/v4/index.d.ts +702 -162
  194. package/components/forms/FormRow.vue.d.ts +9 -2
  195. package/components/forms/FormRow.vue.js +3 -3
  196. package/components/forms/FormRow.vue2.js +25 -14
  197. package/components/forms/index.d.ts +25 -5
  198. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  199. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  200. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  201. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  202. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  203. package/components/includeExclude/index.d.ts +110 -110
  204. package/components/input/v4/TextField.vue.d.ts +12 -0
  205. package/components/input/v4/TextField.vue.js +3 -3
  206. package/components/input/v4/TextField.vue2.js +129 -105
  207. package/components/input/v4/index.d.ts +46 -2
  208. package/components/link/Link.vue.d.ts +95 -0
  209. package/components/link/Link.vue.js +7 -0
  210. package/components/link/Link.vue2.js +65 -0
  211. package/components/link/index.d.ts +296 -0
  212. package/components/link/index.js +6 -0
  213. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  214. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  215. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  216. package/components/radioButton/v3/index.d.ts +20 -1
  217. package/components/search/v3/index.d.ts +3 -3
  218. package/components/shared/FieldLabel.vue.d.ts +19 -7
  219. package/components/shared/FieldLabel.vue.js +3 -3
  220. package/components/shared/FieldLabel.vue2.js +50 -37
  221. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  222. package/components/sortableList/LoaderBars.vue.js +7 -0
  223. package/components/sortableList/LoaderBars.vue2.js +25 -0
  224. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  225. package/components/sortableList/SortableItem.vue.js +5 -5
  226. package/components/sortableList/SortableItem.vue2.js +86 -70
  227. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  228. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  229. package/components/sortableList/SortableList.types.d.ts +1 -0
  230. package/components/sortableList/SortableList.vue.d.ts +12 -2
  231. package/components/sortableList/SortableList.vue.js +5 -5
  232. package/components/sortableList/SortableList.vue2.js +111 -113
  233. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  234. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  235. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  236. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  237. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  238. package/components/sortableList/composables/useHoverEffect.js +1 -1
  239. package/components/sortableList/consts.d.ts +2 -0
  240. package/components/sortableList/consts.js +4 -2
  241. package/components/sortableList/index.d.ts +77 -39
  242. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  243. package/components/switch/v4/SwitchV4.vue.js +3 -3
  244. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  245. package/components/switch/v4/index.d.ts +29 -0
  246. package/components/table/common/Table.common.d.ts +0 -1
  247. package/components/table/common/Table.common.js +38 -39
  248. package/components/table/common/Table.types.d.ts +2 -0
  249. package/components/table/common/consts.d.ts +1 -0
  250. package/components/table/common/consts.js +2 -1
  251. package/components/table/v4/DataGrid.vue.d.ts +19 -7
  252. package/components/table/v4/DataGrid.vue.js +5 -5
  253. package/components/table/v4/DataGrid.vue2.js +375 -307
  254. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  255. package/components/table/v4/DataGridContainer.vue.js +7 -0
  256. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  257. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  258. package/components/table/v4/DataGridHeader.vue.js +7 -0
  259. package/components/table/v4/DataGridHeader.vue2.js +82 -0
  260. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  261. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  262. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  263. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  264. package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
  265. package/components/table/v4/index.d.ts +581 -298
  266. package/components/table/v4/index.js +7 -4
  267. package/components/table/v4/storyUtils.d.ts +27 -0
  268. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  269. package/components/tabs/v3/index.d.ts +7 -7
  270. package/components/tagsField/TagsField.types.d.ts +4 -0
  271. package/components/tagsField/TagsField.vue.d.ts +65 -0
  272. package/components/tagsField/TagsField.vue.js +7 -0
  273. package/components/tagsField/TagsField.vue2.js +90 -0
  274. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  275. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  276. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  277. package/components/tagsField/consts.d.ts +1 -0
  278. package/components/tagsField/consts.js +4 -0
  279. package/components/tagsField/index.d.ts +75 -0
  280. package/components/tagsField/index.js +6 -0
  281. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  282. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  283. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  284. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  285. package/components/tooltip/v3/index.d.ts +7 -7
  286. package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
  287. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  288. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  289. package/components/tooltip/v4/index.d.ts +27 -8
  290. package/components/typography/Text.vue.d.ts +3 -3
  291. package/components/typography/index.d.ts +7 -7
  292. package/composables/useDateService.d.ts +7 -0
  293. package/composables/useDateService.js +10 -0
  294. package/composables/useFormValidation.d.ts +1 -0
  295. package/composables/useFormValidation.js +32 -27
  296. package/consts/common.d.ts +1 -0
  297. package/consts/common.js +4 -0
  298. package/consts/regex.d.ts +1 -0
  299. package/consts/regex.js +2 -1
  300. package/index.d.ts +10373 -8457
  301. package/index.js +158 -134
  302. package/mocks/apps.d.ts +1 -0
  303. package/mocks/optionsWithIcons.d.ts +2 -0
  304. package/package.json +21 -1
  305. package/testids/index.d.ts +24 -1
  306. package/testids/index.js +36 -32
  307. package/utils/date.d.ts +1 -0
  308. package/utils/date.js +9 -0
  309. package/utils/formatNumbers.d.ts +1 -1
  310. package/utils/formatNumbers.js +39 -8
  311. package/utils/index.js +7 -0
  312. package/utils/object.d.ts +2 -0
  313. package/utils/object.js +9 -5
  314. package/utils/search.js +1 -1
  315. package/utils/text.d.ts +3 -0
  316. package/utils/text.js +24 -5
  317. package/utils/totals.d.ts +5 -0
  318. package/utils/totals.js +9 -0
  319. package/utils/utils.d.ts +1 -0
  320. package/utils/utils.js +4 -0
  321. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  322. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  323. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
  324. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
  325. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
  326. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
  327. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
  328. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
  329. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  330. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
  331. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  332. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  333. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  334. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  335. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  336. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  337. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  338. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  339. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  340. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  341. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  342. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  343. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  344. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  345. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  346. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  347. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  348. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  349. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  350. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  351. package/components/chart/composables/useChartValues.d.ts +0 -12
  352. package/components/chart/composables/useChartValues.js +0 -32
@@ -6,6 +6,7 @@ declare const SortableListTypes: () => ({
6
6
  $props: Partial<{
7
7
  search: string;
8
8
  testId: string;
9
+ variant: "default" | "compact";
9
10
  isLoading: boolean;
10
11
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
11
12
  searchPlaceholder: string;
@@ -13,13 +14,14 @@ declare const SortableListTypes: () => ({
13
14
  selectedChildId: string | number;
14
15
  childListMaxHeight: string;
15
16
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
17
+ draggableArea: "handle" | "full";
18
+ loadingRowCount: number;
16
19
  openId: string | number;
20
+ zIndexBase: number;
17
21
  selectedId: string | number;
18
22
  showSearch: boolean;
19
- loadingRowCount: number;
20
23
  emptyStateTitle: string;
21
24
  isSticky: boolean;
22
- zIndexBase: number;
23
25
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
24
26
  search: {
25
27
  type: import("vue").PropType<string>;
@@ -29,6 +31,10 @@ declare const SortableListTypes: () => ({
29
31
  type: import("vue").PropType<string>;
30
32
  default: string;
31
33
  };
34
+ variant: {
35
+ type: import("vue").PropType<"default" | "compact">;
36
+ default: string;
37
+ };
32
38
  isLoading: {
33
39
  type: import("vue").PropType<boolean>;
34
40
  default: boolean;
@@ -59,10 +65,22 @@ declare const SortableListTypes: () => ({
59
65
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
60
66
  default: any;
61
67
  };
68
+ draggableArea: {
69
+ type: import("vue").PropType<"handle" | "full">;
70
+ default: string;
71
+ };
72
+ loadingRowCount: {
73
+ type: import("vue").PropType<number>;
74
+ default: number;
75
+ };
62
76
  openId: {
63
77
  type: import("vue").PropType<string | number>;
64
78
  default: any;
65
79
  };
80
+ zIndexBase: {
81
+ type: import("vue").PropType<number>;
82
+ default: number;
83
+ };
66
84
  selectedId: {
67
85
  type: import("vue").PropType<string | number>;
68
86
  default: any;
@@ -71,10 +89,6 @@ declare const SortableListTypes: () => ({
71
89
  type: import("vue").PropType<boolean>;
72
90
  default: boolean;
73
91
  };
74
- loadingRowCount: {
75
- type: import("vue").PropType<number>;
76
- default: number;
77
- };
78
92
  emptyStateTitle: {
79
93
  type: import("vue").PropType<string>;
80
94
  default: string;
@@ -83,10 +97,6 @@ declare const SortableListTypes: () => ({
83
97
  type: import("vue").PropType<boolean>;
84
98
  default: boolean;
85
99
  };
86
- zIndexBase: {
87
- type: import("vue").PropType<number>;
88
- default: number;
89
- };
90
100
  }>> & {
91
101
  onClearSearch?: () => any;
92
102
  onSortableItemDragged?: (event: {
@@ -98,7 +108,7 @@ declare const SortableListTypes: () => ({
98
108
  "onUpdate:selectedId"?: (id: string | number) => any;
99
109
  "onUpdate:selectedChildId"?: (id: string | number) => any;
100
110
  "onUpdate:search"?: (query: string) => any;
101
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase">;
111
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "variant" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "draggableArea" | "loadingRowCount" | "openId" | "zIndexBase" | "selectedId" | "showSearch" | "emptyStateTitle" | "isSticky">;
102
112
  $attrs: {
103
113
  [x: string]: unknown;
104
114
  };
@@ -124,6 +134,10 @@ declare const SortableListTypes: () => ({
124
134
  type: import("vue").PropType<string>;
125
135
  default: string;
126
136
  };
137
+ variant: {
138
+ type: import("vue").PropType<"default" | "compact">;
139
+ default: string;
140
+ };
127
141
  isLoading: {
128
142
  type: import("vue").PropType<boolean>;
129
143
  default: boolean;
@@ -154,10 +168,22 @@ declare const SortableListTypes: () => ({
154
168
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
155
169
  default: any;
156
170
  };
171
+ draggableArea: {
172
+ type: import("vue").PropType<"handle" | "full">;
173
+ default: string;
174
+ };
175
+ loadingRowCount: {
176
+ type: import("vue").PropType<number>;
177
+ default: number;
178
+ };
157
179
  openId: {
158
180
  type: import("vue").PropType<string | number>;
159
181
  default: any;
160
182
  };
183
+ zIndexBase: {
184
+ type: import("vue").PropType<number>;
185
+ default: number;
186
+ };
161
187
  selectedId: {
162
188
  type: import("vue").PropType<string | number>;
163
189
  default: any;
@@ -166,10 +192,6 @@ declare const SortableListTypes: () => ({
166
192
  type: import("vue").PropType<boolean>;
167
193
  default: boolean;
168
194
  };
169
- loadingRowCount: {
170
- type: import("vue").PropType<number>;
171
- default: number;
172
- };
173
195
  emptyStateTitle: {
174
196
  type: import("vue").PropType<string>;
175
197
  default: string;
@@ -178,10 +200,6 @@ declare const SortableListTypes: () => ({
178
200
  type: import("vue").PropType<boolean>;
179
201
  default: boolean;
180
202
  };
181
- zIndexBase: {
182
- type: import("vue").PropType<number>;
183
- default: number;
184
- };
185
203
  }>> & {
186
204
  onClearSearch?: () => any;
187
205
  onSortableItemDragged?: (event: {
@@ -207,6 +225,7 @@ declare const SortableListTypes: () => ({
207
225
  }, string, {
208
226
  search: string;
209
227
  testId: string;
228
+ variant: "default" | "compact";
210
229
  isLoading: boolean;
211
230
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
212
231
  searchPlaceholder: string;
@@ -214,13 +233,14 @@ declare const SortableListTypes: () => ({
214
233
  selectedChildId: string | number;
215
234
  childListMaxHeight: string;
216
235
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
236
+ draggableArea: "handle" | "full";
237
+ loadingRowCount: number;
217
238
  openId: string | number;
239
+ zIndexBase: number;
218
240
  selectedId: string | number;
219
241
  showSearch: boolean;
220
- loadingRowCount: number;
221
242
  emptyStateTitle: string;
222
243
  isSticky: boolean;
223
- zIndexBase: number;
224
244
  }, {}, string> & {
225
245
  beforeCreate?: (() => void) | (() => void)[];
226
246
  created?: (() => void) | (() => void)[];
@@ -250,6 +270,10 @@ declare const SortableListTypes: () => ({
250
270
  type: import("vue").PropType<string>;
251
271
  default: string;
252
272
  };
273
+ variant: {
274
+ type: import("vue").PropType<"default" | "compact">;
275
+ default: string;
276
+ };
253
277
  isLoading: {
254
278
  type: import("vue").PropType<boolean>;
255
279
  default: boolean;
@@ -280,10 +304,22 @@ declare const SortableListTypes: () => ({
280
304
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
281
305
  default: any;
282
306
  };
307
+ draggableArea: {
308
+ type: import("vue").PropType<"handle" | "full">;
309
+ default: string;
310
+ };
311
+ loadingRowCount: {
312
+ type: import("vue").PropType<number>;
313
+ default: number;
314
+ };
283
315
  openId: {
284
316
  type: import("vue").PropType<string | number>;
285
317
  default: any;
286
318
  };
319
+ zIndexBase: {
320
+ type: import("vue").PropType<number>;
321
+ default: number;
322
+ };
287
323
  selectedId: {
288
324
  type: import("vue").PropType<string | number>;
289
325
  default: any;
@@ -292,10 +328,6 @@ declare const SortableListTypes: () => ({
292
328
  type: import("vue").PropType<boolean>;
293
329
  default: boolean;
294
330
  };
295
- loadingRowCount: {
296
- type: import("vue").PropType<number>;
297
- default: number;
298
- };
299
331
  emptyStateTitle: {
300
332
  type: import("vue").PropType<string>;
301
333
  default: string;
@@ -304,10 +336,6 @@ declare const SortableListTypes: () => ({
304
336
  type: import("vue").PropType<boolean>;
305
337
  default: boolean;
306
338
  };
307
- zIndexBase: {
308
- type: import("vue").PropType<number>;
309
- default: number;
310
- };
311
339
  }>> & {
312
340
  onClearSearch?: () => any;
313
341
  onSortableItemDragged?: (event: {
@@ -332,6 +360,10 @@ declare const SortableListTypes: () => ({
332
360
  type: import("vue").PropType<string>;
333
361
  default: string;
334
362
  };
363
+ variant: {
364
+ type: import("vue").PropType<"default" | "compact">;
365
+ default: string;
366
+ };
335
367
  isLoading: {
336
368
  type: import("vue").PropType<boolean>;
337
369
  default: boolean;
@@ -362,10 +394,22 @@ declare const SortableListTypes: () => ({
362
394
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
363
395
  default: any;
364
396
  };
397
+ draggableArea: {
398
+ type: import("vue").PropType<"handle" | "full">;
399
+ default: string;
400
+ };
401
+ loadingRowCount: {
402
+ type: import("vue").PropType<number>;
403
+ default: number;
404
+ };
365
405
  openId: {
366
406
  type: import("vue").PropType<string | number>;
367
407
  default: any;
368
408
  };
409
+ zIndexBase: {
410
+ type: import("vue").PropType<number>;
411
+ default: number;
412
+ };
369
413
  selectedId: {
370
414
  type: import("vue").PropType<string | number>;
371
415
  default: any;
@@ -374,10 +418,6 @@ declare const SortableListTypes: () => ({
374
418
  type: import("vue").PropType<boolean>;
375
419
  default: boolean;
376
420
  };
377
- loadingRowCount: {
378
- type: import("vue").PropType<number>;
379
- default: number;
380
- };
381
421
  emptyStateTitle: {
382
422
  type: import("vue").PropType<string>;
383
423
  default: string;
@@ -386,10 +426,6 @@ declare const SortableListTypes: () => ({
386
426
  type: import("vue").PropType<boolean>;
387
427
  default: boolean;
388
428
  };
389
- zIndexBase: {
390
- type: import("vue").PropType<number>;
391
- default: number;
392
- };
393
429
  }>> & {
394
430
  onClearSearch?: () => any;
395
431
  onSortableItemDragged?: (event: {
@@ -415,6 +451,7 @@ declare const SortableListTypes: () => ({
415
451
  }, string, {
416
452
  search: string;
417
453
  testId: string;
454
+ variant: "default" | "compact";
418
455
  isLoading: boolean;
419
456
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
420
457
  searchPlaceholder: string;
@@ -422,13 +459,14 @@ declare const SortableListTypes: () => ({
422
459
  selectedChildId: string | number;
423
460
  childListMaxHeight: string;
424
461
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
462
+ draggableArea: "handle" | "full";
463
+ loadingRowCount: number;
425
464
  openId: string | number;
465
+ zIndexBase: number;
426
466
  selectedId: string | number;
427
467
  showSearch: boolean;
428
- loadingRowCount: number;
429
468
  emptyStateTitle: string;
430
469
  isSticky: boolean;
431
- zIndexBase: number;
432
470
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
433
471
  $slots: {
434
472
  header?(_: {}): any;
@@ -1,26 +1,42 @@
1
+ import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  options: unknown[];
3
4
  modelValue: unknown;
5
+ variant: 'primary' | 'default';
4
6
  testId?: string;
5
7
  iconKey?: string;
8
+ tooltipTextKey?: string;
9
+ tooltipPlacement?: TooltipPositions;
6
10
  }>, {
7
11
  testId: string;
12
+ variant: string;
8
13
  iconKey: string;
14
+ tooltipTextKey: string;
15
+ tooltipPlacement: string;
9
16
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
17
  "update:modelValue": (...args: any[]) => void;
11
18
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
19
  options: unknown[];
13
20
  modelValue: unknown;
21
+ variant: 'primary' | 'default';
14
22
  testId?: string;
15
23
  iconKey?: string;
24
+ tooltipTextKey?: string;
25
+ tooltipPlacement?: TooltipPositions;
16
26
  }>, {
17
27
  testId: string;
28
+ variant: string;
18
29
  iconKey: string;
30
+ tooltipTextKey: string;
31
+ tooltipPlacement: string;
19
32
  }>>> & {
20
33
  "onUpdate:modelValue"?: (...args: any[]) => any;
21
34
  }, {
22
35
  testId: string;
36
+ variant: 'primary' | 'default';
37
+ tooltipPlacement: TooltipPositions;
23
38
  iconKey: string;
39
+ tooltipTextKey: string;
24
40
  }>;
25
41
  export default _default;
26
42
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./SwitchV4.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c2e356f5"]]);
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-cd6621a7"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,44 +1,59 @@
1
- import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css"; import { defineComponent as p, ref as k, onMounted as v, openBlock as a, createElementBlock as d, unref as s, Fragment as I, renderList as V, createBlock as h, normalizeClass as B } from "vue";
2
- import { useVModel as C } from "@vueuse/core";
1
+ import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; import { defineComponent as T, ref as h, onMounted as k, openBlock as c, createElementBlock as r, normalizeClass as m, unref as a, Fragment as x, renderList as V, createBlock as w, withCtx as y, createVNode as C } from "vue";
2
+ import { useVModel as I } from "@vueuse/core";
3
+ import { SwitchTestIdModifiers as u } from "../../../testids/index.js";
3
4
  import "../../button/v4/ButtonV4.vue.js";
4
5
  import $ from "../../button/v4/IconButtonV4.vue.js";
5
6
  import "../../button/v4/ButtonGroup.vue.js";
6
7
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
7
- import { SwitchTestIdModifiers as r } from "../../../testids/index.js";
8
- const w = ["data-testid"], S = /* @__PURE__ */ p({
8
+ import B from "../../tooltip/v4/TooltipV4.vue.js";
9
+ const K = ["data-testid"], A = /* @__PURE__ */ T({
9
10
  __name: "SwitchV4",
10
11
  props: {
11
12
  options: null,
12
13
  modelValue: null,
14
+ variant: { default: "default" },
13
15
  testId: { default: "" },
14
- iconKey: { default: "icon" }
16
+ iconKey: { default: "icon" },
17
+ tooltipTextKey: { default: "tooltipText" },
18
+ tooltipPlacement: { default: "top" }
15
19
  },
16
20
  emits: ["update:modelValue"],
17
- setup(e, { emit: m }) {
18
- const o = e, n = k(), u = C(o, "modelValue", m);
19
- v(() => {
20
- n.value = o.options.findIndex(
21
- (t) => t === o.modelValue
21
+ setup(t, { emit: f }) {
22
+ const i = t, n = h(), p = I(i, "modelValue", f), d = (e) => n.value === e;
23
+ k(() => {
24
+ n.value = i.options.findIndex(
25
+ (e) => e === i.modelValue
22
26
  );
23
27
  });
24
- const f = (t, i) => {
25
- n.value = i, u.value = t;
28
+ const v = (e, s) => {
29
+ n.value = s, p.value = e;
26
30
  };
27
- return (t, i) => (a(), d("div", {
28
- class: "switch",
29
- "data-testid": `${e.testId}-${s(r).WRAPPER}`
31
+ return (e, s) => (c(), r("div", {
32
+ class: m(["switch", [`switch--variant-${t.variant}`]]),
33
+ "data-testid": `${t.testId}-${a(u).WRAPPER}`
30
34
  }, [
31
- (a(!0), d(I, null, V(e.options, (c, l) => (a(), h(s($), {
35
+ (c(!0), r(x, null, V(t.options, (o, l) => (c(), w(a(B), {
32
36
  key: l,
33
- class: B(["option", { "option--selected": n.value === l }]),
34
- "icon-name": c[e.iconKey],
35
- size: "small",
36
- "data-testid": `${e.testId}-${s(r).BUTTON}`,
37
- onClick: (y) => f(c, l)
38
- }, null, 8, ["class", "icon-name", "data-testid", "onClick"]))), 128))
39
- ], 8, w));
37
+ text: o[t.tooltipTextKey],
38
+ disabled: !o[t.tooltipTextKey],
39
+ placement: t.tooltipPlacement,
40
+ class: "option-wrapper"
41
+ }, {
42
+ default: y(() => [
43
+ C(a($), {
44
+ class: m(["option", { "option--selected": d(l) }]),
45
+ "icon-name": o[t.iconKey],
46
+ size: "small",
47
+ color: d(l) ? t.variant : "default",
48
+ "data-testid": `${t.testId}-${a(u).BUTTON}`,
49
+ onClick: (P) => v(o, l)
50
+ }, null, 8, ["class", "icon-name", "color", "data-testid", "onClick"])
51
+ ]),
52
+ _: 2
53
+ }, 1032, ["text", "disabled", "placement"]))), 128))
54
+ ], 10, K));
40
55
  }
41
56
  });
42
57
  export {
43
- S as default
58
+ A as default
44
59
  };
@@ -3,6 +3,15 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
3
3
  type: import("vue").PropType<string>;
4
4
  default: string;
5
5
  };
6
+ variant: {
7
+ type: import("vue").PropType<"default" | "primary">;
8
+ required: true;
9
+ default: string;
10
+ };
11
+ tooltipPlacement: {
12
+ type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
13
+ default: string;
14
+ };
6
15
  modelValue: {
7
16
  type: import("vue").PropType<unknown>;
8
17
  required: true;
@@ -15,6 +24,10 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
15
24
  type: import("vue").PropType<string>;
16
25
  default: string;
17
26
  };
27
+ tooltipTextKey: {
28
+ type: import("vue").PropType<string>;
29
+ default: string;
30
+ };
18
31
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
32
  "update:modelValue": (...args: any[]) => void;
20
33
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -22,6 +35,15 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
22
35
  type: import("vue").PropType<string>;
23
36
  default: string;
24
37
  };
38
+ variant: {
39
+ type: import("vue").PropType<"default" | "primary">;
40
+ required: true;
41
+ default: string;
42
+ };
43
+ tooltipPlacement: {
44
+ type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
45
+ default: string;
46
+ };
25
47
  modelValue: {
26
48
  type: import("vue").PropType<unknown>;
27
49
  required: true;
@@ -34,11 +56,18 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
34
56
  type: import("vue").PropType<string>;
35
57
  default: string;
36
58
  };
59
+ tooltipTextKey: {
60
+ type: import("vue").PropType<string>;
61
+ default: string;
62
+ };
37
63
  }>> & {
38
64
  "onUpdate:modelValue"?: (...args: any[]) => any;
39
65
  }, {
40
66
  testId: string;
67
+ variant: "default" | "primary";
68
+ tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
41
69
  iconKey: string;
70
+ tooltipTextKey: string;
42
71
  }>[];
43
72
  export { default as Switch } from './SwitchV4.vue';
44
73
  export { SwitchTypes };
@@ -31,7 +31,6 @@ export declare const tableCommon: (props: any, emit: any) => {
31
31
  hasCheckboxes: import("vue").ComputedRef<boolean>;
32
32
  toggleExpandRow: (index: number, event: any) => Promise<void>;
33
33
  isRowExpanded: (rowIndex: number) => boolean;
34
- cssRowHeight: import("vue").ComputedRef<string>;
35
34
  cssExpandGridCol: import("vue").ComputedRef<string>;
36
35
  activeMenuRow: import("vue").Ref<number>;
37
36
  };
@@ -1,10 +1,10 @@
1
- import { useSlots as V, ref as a, provide as Y, computed as n, onMounted as j, nextTick as q } from "vue";
2
- import { useVirtualList as F, useInfiniteScroll as J } from "@vueuse/core";
3
- import { TableContext as Q } from "./TableContext.js";
4
- import { CHECKBOX_STICKY_COL_WIDTH as Z, CHECKBOX_COL_WIDTH as p, EXPAND_COL_WIDTH as tt, CHECKBOX_COLUMN_ID as et } from "./consts.js";
5
- const rt = (e, d) => {
6
- const x = V(), u = a([]);
7
- Y(Q, {
1
+ import { useSlots as U, ref as a, provide as V, computed as n, onMounted as Y, nextTick as j } from "vue";
2
+ import { useVirtualList as q, useInfiniteScroll as F } from "@vueuse/core";
3
+ import { TableContext as J } from "./TableContext.js";
4
+ import { CHECKBOX_STICKY_COL_WIDTH as Q, CHECKBOX_COL_WIDTH as Z, EXPAND_COL_WIDTH as p, CHECKBOX_COLUMN_ID as tt } from "./consts.js";
5
+ const it = (e, d) => {
6
+ const T = U(), u = a([]);
7
+ V(J, {
8
8
  onClose({ rowIndex: t, cellIndex: o, value: i } = {}) {
9
9
  u.value = [...u.value, t], d("saveRow", {
10
10
  rowIndex: t,
@@ -19,27 +19,27 @@ const rt = (e, d) => {
19
19
  R.value = t;
20
20
  }
21
21
  });
22
- const h = n(() => !!e.selection), T = n(() => e.isSelectionSticky ? Z : p), b = n(() => {
23
- const t = (h.value ? `${T.value}px ` : "") + (v.value ? `${tt}px ` : "");
22
+ const g = n(() => !!e.selection), x = n(() => e.isSelectionSticky ? Q : Z), O = n(() => {
23
+ const t = (g.value ? `${x.value}px ` : "") + (h.value ? `${p}px ` : "");
24
24
  return e.columns.reduce((o, { width: i, colSpan: l }) => {
25
25
  const s = typeof i == "number" ? `${i}px` : i, S = s || `${l || 1}fr`;
26
26
  return `${o} ${S}`;
27
27
  }, t);
28
- }), v = n(() => !!x.expanded), O = a(null), R = a(null), k = n(() => Array(e.loadingRowCount).fill(
28
+ }), h = n(() => !!T.expanded), H = a(null), R = a(null), k = n(() => Array(e.loadingRowCount).fill(
29
29
  Array(e.columns.length).fill("")
30
30
  )), I = n(() => e.rows.length && Array.isArray(e.rows[0]) ? e.isLoading ? [...e.rows, ...k.value] : e.rows : e.isLoading ? [
31
31
  ...e.rows.map((o) => o[e.rowDataKey]),
32
32
  ...k.value
33
- ] : e.rows.map((o) => o[e.rowDataKey])), { list: H, containerProps: r, wrapperProps: A, scrollTo: B } = F(
33
+ ] : e.rows.map((o) => o[e.rowDataKey])), { list: b, containerProps: r, wrapperProps: A, scrollTo: B } = q(
34
34
  I,
35
35
  {
36
- itemHeight: v.value ? (t) => m[t] ?? e.rowHeight : e.rowHeight
36
+ itemHeight: h.value ? (t) => w[t] ?? e.rowHeight : e.rowHeight
37
37
  }
38
- ), $ = a(null), w = a(0), L = n(() => !!x.search), _ = (t) => {
39
- r.onScroll(), w.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, d("onScroll", t.target.scrollTop);
38
+ ), L = a(null), m = a(0), _ = n(() => !!T.search), $ = (t) => {
39
+ r.onScroll(), m.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, d("onScroll", t.target.scrollTop);
40
40
  };
41
- j(() => {
42
- w.value = r.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
41
+ Y(() => {
42
+ m.value = r.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
43
43
  r.ref.value?.scrollTo({
44
44
  top: e.defaultScrollPosition,
45
45
  behavior: "smooth"
@@ -47,17 +47,17 @@ const rt = (e, d) => {
47
47
  }, 300);
48
48
  });
49
49
  const E = n(() => {
50
- const [t] = H.value;
50
+ const [t] = b.value;
51
51
  return t && t.index > 0;
52
52
  }), P = n(() => r.style), D = n(() => {
53
53
  const t = {
54
- id: et,
54
+ id: tt,
55
55
  isSticky: e.isSelectionSticky,
56
- width: T.value
56
+ width: x.value
57
57
  };
58
- return h.value ? [t] : [];
58
+ return g.value ? [t] : [];
59
59
  }), f = n(() => [...D.value, ...e.columns]), K = n(() => f.value.reduce((t, o) => (o.isSticky && (t[o.id] = X(o)), t), {}));
60
- J(
60
+ F(
61
61
  r.ref,
62
62
  () => {
63
63
  e.isInfiniteScroll && d("loadMore");
@@ -89,43 +89,42 @@ const rt = (e, d) => {
89
89
  zIndex: 1
90
90
  };
91
91
  }
92
- const g = a([]), m = {}, N = (t) => g.value.includes(t), z = async (t, o) => {
93
- const i = g.value.indexOf(t);
92
+ const v = a([]), w = {}, N = (t) => v.value.includes(t), z = async (t, o) => {
93
+ const i = v.value.indexOf(t);
94
94
  if (i === -1) {
95
- g.value.push(t);
95
+ v.value.push(t);
96
96
  const l = o.target.closest("tr");
97
- await q(), l && (m[t] = l.offsetHeight);
97
+ await j(), l && (w[t] = l.offsetHeight);
98
98
  } else
99
- g.value.splice(i, 1), delete m[t];
100
- }, G = n(() => `${e.rowHeight}px`), U = n(
99
+ v.value.splice(i, 1), delete w[t];
100
+ }, G = n(
101
101
  () => `1 / span ${e.columns.length + 1}`
102
102
  );
103
103
  return {
104
- list: H,
104
+ list: b,
105
105
  containerProps: r,
106
106
  wrapperProps: A,
107
- activeRow: O,
108
- gridColumnTemplate: b,
109
- floatingActionRef: $,
107
+ activeRow: H,
108
+ gridColumnTemplate: O,
109
+ floatingActionRef: L,
110
110
  scrollToTop: M,
111
111
  toggleSortOrder: W,
112
112
  columnsStickyPositions: K,
113
- hasSearchSlot: L,
113
+ hasSearchSlot: _,
114
114
  showBackToTopButton: E,
115
115
  containerStyle: P,
116
- onScroll: _,
116
+ onScroll: $,
117
117
  scrollTo: B,
118
118
  savingRows: u,
119
- floatingActionPosition: w,
120
- hasExpandSlot: v,
121
- hasCheckboxes: h,
119
+ floatingActionPosition: m,
120
+ hasExpandSlot: h,
121
+ hasCheckboxes: g,
122
122
  toggleExpandRow: z,
123
123
  isRowExpanded: N,
124
- cssRowHeight: G,
125
- cssExpandGridCol: U,
124
+ cssExpandGridCol: G,
126
125
  activeMenuRow: R
127
126
  };
128
127
  };
129
128
  export {
130
- rt as tableCommon
129
+ it as tableCommon
131
130
  };
@@ -42,3 +42,5 @@ export type SaveRowEvent = {
42
42
  rowIndex: number;
43
43
  cellIndex: number;
44
44
  };
45
+ export declare const HELP_TOOLTIP_VARIANTS: readonly ["icon", "underline"];
46
+ export type HelpTooltipVariant = (typeof HELP_TOOLTIP_VARIANTS)[number];
@@ -2,3 +2,4 @@ export declare const CHECKBOX_COLUMN_ID = "__CHECKBOX_COLUMN_ID__";
2
2
  export declare const EXPAND_COL_WIDTH = 46;
3
3
  export declare const CHECKBOX_COL_WIDTH = 46;
4
4
  export declare const CHECKBOX_STICKY_COL_WIDTH = 57;
5
+ export declare const DEFAULT_ROW_HEIGHT = 48;