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

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 (358) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
  5. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
  6. package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
  9. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  10. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_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_2d66b7b6_lang.css +1 -0
  21. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
  22. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  23. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  24. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  25. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  26. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  27. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  28. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  29. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  30. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  31. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  32. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  33. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  34. package/SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css +1 -0
  35. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  36. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  37. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  38. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  39. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  40. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  41. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  42. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  43. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  44. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  45. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  46. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  47. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  48. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  49. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  50. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  51. package/components/appIcon/index.d.ts +3 -3
  52. package/components/banner/Banner.vue.d.ts +3 -3
  53. package/components/banner/index.d.ts +7 -7
  54. package/components/button/common/consts.d.ts +1 -0
  55. package/components/button/v3/Button.vue.d.ts +3 -3
  56. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  57. package/components/button/v3/IconButton.vue.d.ts +3 -3
  58. package/components/button/v3/index.d.ts +14 -14
  59. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  60. package/components/button/v4/ButtonV4.vue.js +4 -4
  61. package/components/button/v4/ButtonV4.vue2.js +28 -27
  62. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  63. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  64. package/components/chart/Chart.vue.d.ts +128 -10
  65. package/components/chart/Chart.vue.js +4 -4
  66. package/components/chart/Chart.vue2.js +152 -86
  67. package/components/chart/ChartHeader.vue.d.ts +41 -7
  68. package/components/chart/ChartHeader.vue.js +2 -2
  69. package/components/chart/ChartHeader.vue2.js +67 -65
  70. package/components/chart/ChartHeaderTrend.vue.d.ts +24 -5
  71. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  72. package/components/chart/ChartHeaderTrend.vue2.js +89 -21
  73. package/components/chart/ChartLegend.vue.d.ts +29 -0
  74. package/components/chart/ChartLegend.vue.js +2 -2
  75. package/components/chart/ChartLegend.vue2.js +88 -65
  76. package/components/chart/ChartPlane.vue.d.ts +111 -13
  77. package/components/chart/ChartPlane.vue.js +4 -4
  78. package/components/chart/ChartPlane.vue2.js +321 -240
  79. package/components/chart/ChartStoryArgs.d.ts +63 -2
  80. package/components/chart/ChartTooltip.vue.d.ts +27 -2
  81. package/components/chart/ChartTooltip.vue.js +2 -2
  82. package/components/chart/ChartTooltip.vue2.js +52 -54
  83. package/components/chart/LegendSorting.vue.d.ts +42 -0
  84. package/components/chart/LegendSorting.vue.js +47 -0
  85. package/components/chart/LegendSorting.vue2.js +4 -0
  86. package/components/chart/SettingsHeader.vue.d.ts +20 -3
  87. package/components/chart/SettingsHeader.vue.js +3 -3
  88. package/components/chart/SettingsHeader.vue2.js +39 -31
  89. package/components/chart/SubHeader.vue.d.ts +52 -0
  90. package/components/chart/SubHeader.vue.js +7 -0
  91. package/components/chart/SubHeader.vue2.js +61 -0
  92. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  93. package/components/chart/TooltipHeader.vue.js +7 -0
  94. package/components/chart/TooltipHeader.vue2.js +69 -0
  95. package/components/chart/colorPalette.d.ts +5 -0
  96. package/components/chart/colorPalette.js +68 -0
  97. package/components/chart/composables/useChartHeight.d.ts +2 -2
  98. package/components/chart/composables/useChartHeight.js +16 -14
  99. package/components/chart/composables/useColorsMap.d.ts +5 -3
  100. package/components/chart/composables/useColorsMap.js +43 -12
  101. package/components/chart/consts.d.ts +29 -8
  102. package/components/chart/consts.js +45 -26
  103. package/components/chart/index.d.ts +492 -76
  104. package/components/chart/mockData.d.ts +33 -5
  105. package/components/chart/types.d.ts +35 -6
  106. package/components/chart/types.js +5 -2
  107. package/components/chart/utils/highlightUtils.d.ts +3 -0
  108. package/components/chart/utils/highlightUtils.js +18 -0
  109. package/components/chart/utils/utils.d.ts +3 -3
  110. package/components/chart/utils/utils.js +25 -10
  111. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  112. package/components/checkbox/v3/index.d.ts +7 -7
  113. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  114. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  115. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  116. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  117. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  118. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  119. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  120. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  121. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  122. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  123. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  124. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  125. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  126. package/components/columnConfigurator/consts.d.ts +1 -0
  127. package/components/columnConfigurator/consts.js +4 -0
  128. package/components/columnConfigurator/index.d.ts +73 -0
  129. package/components/columnConfigurator/index.js +6 -0
  130. package/components/columnConfigurator/mockData.d.ts +30 -0
  131. package/components/columnConfigurator/utils.d.ts +2 -0
  132. package/components/columnConfigurator/utils.js +18 -0
  133. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  134. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  135. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  136. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  137. package/components/columnPicker/OptionChip.vue.js +7 -0
  138. package/components/columnPicker/OptionChip.vue2.js +46 -0
  139. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  140. package/components/columnPicker/RemoveButton.vue.js +7 -0
  141. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  142. package/components/columnPicker/index.d.ts +388 -0
  143. package/components/columnPicker/index.js +6 -0
  144. package/components/columnPicker/mockData.d.ts +8 -0
  145. package/components/dateRange/common/DateRange.common.js +100 -94
  146. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  147. package/components/dateRange/common/DateServices.common.js +88 -92
  148. package/components/dateRange/common/consts.common.d.ts +5 -0
  149. package/components/dateRange/common/consts.common.js +9 -3
  150. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  151. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  152. package/components/dateRange/v3/index.d.ts +7 -7
  153. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  154. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  155. package/components/dateRange/v4/index.d.ts +7 -7
  156. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  157. package/components/dialog/v3/index.d.ts +46 -46
  158. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  159. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  160. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  161. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  162. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  163. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  164. package/components/dialog/v4/DialogV4.vue.d.ts +13 -12
  165. package/components/dialog/v4/DialogV4.vue.js +4 -4
  166. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  167. package/components/dialog/v4/index.d.ts +164 -164
  168. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  169. package/components/dropdown/common/Dropdown.common.js +161 -149
  170. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  171. package/components/dropdown/v3/index.d.ts +39 -39
  172. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  173. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  174. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  175. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  176. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  177. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  178. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  179. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  180. package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
  181. package/components/dropdown/v4/DropdownV4.vue.d.ts +36 -1
  182. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  183. package/components/dropdown/v4/DropdownV4.vue2.js +258 -199
  184. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  185. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  186. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  187. package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
  188. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  189. package/components/dropdown/v4/OptionV4.vue2.js +162 -117
  190. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  191. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  192. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  193. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  194. package/components/dropdown/v4/index.d.ts +703 -162
  195. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
  196. package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
  197. package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
  198. package/components/emptyState/v4/index.d.ts +20 -1
  199. package/components/forms/FormRow.vue.d.ts +9 -2
  200. package/components/forms/FormRow.vue.js +3 -3
  201. package/components/forms/FormRow.vue2.js +25 -14
  202. package/components/forms/index.d.ts +25 -5
  203. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  204. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  205. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  206. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  207. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  208. package/components/includeExclude/index.d.ts +110 -110
  209. package/components/input/v4/TextField.vue.d.ts +12 -0
  210. package/components/input/v4/TextField.vue.js +3 -3
  211. package/components/input/v4/TextField.vue2.js +129 -105
  212. package/components/input/v4/index.d.ts +46 -2
  213. package/components/link/Link.vue.d.ts +95 -0
  214. package/components/link/Link.vue.js +7 -0
  215. package/components/link/Link.vue2.js +65 -0
  216. package/components/link/index.d.ts +296 -0
  217. package/components/link/index.js +6 -0
  218. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  219. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  220. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  221. package/components/radioButton/v3/index.d.ts +20 -1
  222. package/components/search/v3/index.d.ts +3 -3
  223. package/components/shared/FieldLabel.vue.d.ts +19 -7
  224. package/components/shared/FieldLabel.vue.js +3 -3
  225. package/components/shared/FieldLabel.vue2.js +50 -37
  226. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  227. package/components/sortableList/LoaderBars.vue.js +7 -0
  228. package/components/sortableList/LoaderBars.vue2.js +25 -0
  229. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  230. package/components/sortableList/SortableItem.vue.js +5 -5
  231. package/components/sortableList/SortableItem.vue2.js +86 -70
  232. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  233. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  234. package/components/sortableList/SortableList.types.d.ts +1 -0
  235. package/components/sortableList/SortableList.vue.d.ts +12 -2
  236. package/components/sortableList/SortableList.vue.js +5 -5
  237. package/components/sortableList/SortableList.vue2.js +111 -113
  238. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  239. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  240. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  241. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  242. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  243. package/components/sortableList/composables/useHoverEffect.js +1 -1
  244. package/components/sortableList/consts.d.ts +2 -0
  245. package/components/sortableList/consts.js +4 -2
  246. package/components/sortableList/index.d.ts +77 -39
  247. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  248. package/components/switch/v4/SwitchV4.vue.js +3 -3
  249. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  250. package/components/switch/v4/index.d.ts +29 -0
  251. package/components/table/common/Table.common.d.ts +0 -1
  252. package/components/table/common/Table.common.js +38 -39
  253. package/components/table/common/Table.types.d.ts +2 -0
  254. package/components/table/common/consts.d.ts +1 -0
  255. package/components/table/common/consts.js +2 -1
  256. package/components/table/v4/DataGrid.vue.d.ts +19 -7
  257. package/components/table/v4/DataGrid.vue.js +5 -5
  258. package/components/table/v4/DataGrid.vue2.js +375 -307
  259. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  260. package/components/table/v4/DataGridContainer.vue.js +7 -0
  261. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  262. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  263. package/components/table/v4/DataGridHeader.vue.js +7 -0
  264. package/components/table/v4/DataGridHeader.vue2.js +82 -0
  265. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  266. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  267. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  268. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  269. package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
  270. package/components/table/v4/index.d.ts +581 -298
  271. package/components/table/v4/index.js +7 -4
  272. package/components/table/v4/storyUtils.d.ts +27 -0
  273. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  274. package/components/tabs/v3/index.d.ts +7 -7
  275. package/components/tagsField/TagsField.types.d.ts +4 -0
  276. package/components/tagsField/TagsField.vue.d.ts +65 -0
  277. package/components/tagsField/TagsField.vue.js +7 -0
  278. package/components/tagsField/TagsField.vue2.js +90 -0
  279. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  280. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  281. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  282. package/components/tagsField/consts.d.ts +1 -0
  283. package/components/tagsField/consts.js +4 -0
  284. package/components/tagsField/index.d.ts +75 -0
  285. package/components/tagsField/index.js +6 -0
  286. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  287. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  288. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  289. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  290. package/components/tooltip/v3/index.d.ts +7 -7
  291. package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
  292. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  293. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  294. package/components/tooltip/v4/index.d.ts +27 -8
  295. package/components/typography/Text.vue.d.ts +3 -3
  296. package/components/typography/index.d.ts +7 -7
  297. package/composables/useDateService.d.ts +7 -0
  298. package/composables/useDateService.js +10 -0
  299. package/composables/useFormValidation.d.ts +1 -0
  300. package/composables/useFormValidation.js +32 -27
  301. package/consts/common.d.ts +1 -0
  302. package/consts/common.js +4 -0
  303. package/consts/regex.d.ts +1 -0
  304. package/consts/regex.js +2 -1
  305. package/index.d.ts +10385 -8429
  306. package/index.js +158 -134
  307. package/mocks/apps.d.ts +1 -0
  308. package/mocks/optionsWithIcons.d.ts +2 -0
  309. package/package.json +22 -1
  310. package/testids/index.d.ts +47 -1
  311. package/testids/index.js +40 -32
  312. package/utils/date.d.ts +1 -0
  313. package/utils/date.js +9 -0
  314. package/utils/formatNumbers.d.ts +1 -1
  315. package/utils/formatNumbers.js +39 -8
  316. package/utils/index.js +7 -0
  317. package/utils/object.d.ts +2 -0
  318. package/utils/object.js +9 -5
  319. package/utils/search.js +1 -1
  320. package/utils/text.d.ts +3 -0
  321. package/utils/text.js +24 -5
  322. package/utils/totals.d.ts +5 -0
  323. package/utils/totals.js +9 -0
  324. package/utils/utils.d.ts +1 -0
  325. package/utils/utils.js +4 -0
  326. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  327. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  328. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
  329. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
  330. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
  331. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
  332. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
  333. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
  334. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  335. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
  336. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  337. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  338. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  339. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  340. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
  341. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  342. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  343. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  344. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  345. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  346. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  347. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  348. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  349. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  350. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  351. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  352. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  353. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  354. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  355. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  356. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  357. package/components/chart/composables/useChartValues.d.ts +0 -12
  358. package/components/chart/composables/useChartValues.js +0 -32
@@ -1,42 +1,45 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as H, watch as me, openBlock as a, createElementBlock as s, mergeProps as y, unref as t, renderSlot as f, createElementVNode as m, createVNode as i, withCtx as u, Transition as pe, normalizeClass as E, normalizeStyle as ge, createTextVNode as T, createCommentVNode as d, isRef as Te, toDisplayString as U, withModifiers as G, Fragment as ke, renderList as he, toRaw as C, createBlock as X, resolveDynamicComponent as be } from "vue";
2
- import O from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ke, computed as B, watch as Te, toRaw as v, openBlock as a, createElementBlock as r, mergeProps as m, unref as t, renderSlot as u, createElementVNode as f, createVNode as d, withCtx as c, Transition as we, normalizeClass as x, normalizeStyle as be, createTextVNode as T, createCommentVNode as s, isRef as Ie, toDisplayString as q, withModifiers as j, Fragment as ve, renderList as Se, createSlots as Ce, createBlock as F, resolveDynamicComponent as Ke } from "vue";
2
+ import N from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
5
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
6
  import "./DropdownV4.vue.js";
7
- import we from "./DefaultDropdownTrigger.vue.js";
8
- import Ie from "./IconButtonDropdownTrigger.vue.js";
9
- import ve from "./ChipDropdownTrigger.vue.js";
10
- import Ce from "./AppDropdownTrigger.vue.js";
7
+ import Ae from "./DefaultDropdownTrigger.vue.js";
8
+ import Oe from "./IconButtonDropdownTrigger.vue.js";
9
+ import Le from "./ChipDropdownTrigger.vue.js";
10
+ import Ee from "./AppDropdownTrigger.vue.js";
11
11
  import "./ButtonDropdownTrigger.vue.js";
12
12
  import "./ButtonFilterDropdownTrigger.vue.js";
13
13
  import "./TreeDropdown.vue.js";
14
- import q from "./OptionV4.vue.js";
14
+ import J from "./OptionV4.vue.js";
15
15
  import "./ConditionalDropdown.vue.js";
16
- import Se from "../../search/v4/SearchV4.vue.js";
17
- import Y from "../../typography/v4/Typography.vue.js";
18
- import { Dropdown as Ke } from "floating-vue";
16
+ import Be from "../../search/v4/SearchV4.vue.js";
17
+ import Q from "../../typography/v4/Typography.vue.js";
18
+ import { Dropdown as xe } from "floating-vue";
19
19
  import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
20
- import { dropdownCommon as Ae } from "../common/Dropdown.common.js";
21
- import S from "../../skeleton/v4/SkeletonV4.vue.js";
22
- import { useTestIdAttrs as Le } from "../../../utils/testIds.js";
23
- import { TRIGGERS as k } from "./Dropdown.types.js";
24
- import { useElementSize as Ee } from "@vueuse/core";
25
- import Oe from "../../shared/FieldHelpText.vue.js";
26
- import Be from "./GroupOption.vue.js";
27
- const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe = { key: 1 }, De = { key: 2 }, Pe = {
20
+ import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
21
+ import K from "../../skeleton/v4/SkeletonV4.vue.js";
22
+ import { useTestIdAttrs as Ne } from "../../../utils/testIds.js";
23
+ import { TRIGGERS as w } from "./Dropdown.types.js";
24
+ import { useElementSize as Ve } from "@vueuse/core";
25
+ import De from "../../shared/FieldHelpText.vue.js";
26
+ import Pe from "./GroupOption.vue.js";
27
+ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze = { key: 1 }, We = { key: 2 }, Ge = {
28
28
  key: 0,
29
29
  class: "inline-search-wrapper"
30
- }, Re = { class: "dropdown-conditions" }, ze = {
30
+ }, He = { class: "dropdown-conditions" }, Ue = {
31
31
  key: 0,
32
32
  class: "no-result-container"
33
- }, $e = ["aria-selected", "aria-disabled", "onClick"], Me = {
33
+ }, Ye = ["aria-selected", "aria-disabled", "onClick"], Xe = {
34
34
  key: 3,
35
35
  class: "loader"
36
- }, We = {
36
+ }, qe = {
37
37
  key: 1,
38
38
  class: "actions-wrapper"
39
- }, He = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, kt = /* @__PURE__ */ fe({
39
+ }, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, Qe = {
40
+ key: 2,
41
+ class: "dropdown-footer"
42
+ }, Ct = /* @__PURE__ */ ke({
40
43
  __name: "DropdownV4",
41
44
  props: {
42
45
  modelValue: { default: null },
@@ -52,11 +55,14 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
52
55
  isOpen: { type: Boolean },
53
56
  options: null,
54
57
  showSelectAll: { type: Boolean, default: !0 },
58
+ showClearAll: { type: Boolean, default: !0 },
55
59
  defaultOpen: { type: Boolean, default: !1 },
56
60
  keepOpen: { type: Boolean, default: !1 },
57
61
  autoSize: { type: Boolean, default: !1 },
58
62
  disableKeyboardEvents: { type: Boolean, default: !1 },
59
63
  dynamicFilterMode: { type: Boolean, default: !1 },
64
+ minSelections: { default: 0 },
65
+ maxSelections: { default: null },
60
66
  isOnTop: { type: Boolean, default: !1 },
61
67
  distance: { default: 0 },
62
68
  container: { default: "body" },
@@ -69,9 +75,10 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
69
75
  triggerFeedbackVariant: { default: null },
70
76
  triggerFeedbackShowIcon: { type: Boolean, default: !1 },
71
77
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
78
+ triggerShownValuesCount: { default: 1 },
72
79
  size: { default: "medium" },
73
80
  mandatory: { type: Boolean, default: !1 },
74
- predefinedTrigger: { default: k.DEFAULT },
81
+ predefinedTrigger: { default: w.DEFAULT },
75
82
  inlineSearch: { type: Boolean, default: !1 },
76
83
  inlineSearchPlaceholder: { default: "Search" },
77
84
  onSearch: { type: Function, default: null },
@@ -87,6 +94,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
87
94
  optionEndIconType: { default: null },
88
95
  optionsEndTextIconKey: { default: null },
89
96
  optionFlagKey: { default: null },
97
+ optionWarningKey: { default: null },
90
98
  valueToCopy: { default: null },
91
99
  disabledOptionKey: { default: "disabled" },
92
100
  optionTwoLinesVariant: { default: void 0 },
@@ -94,6 +102,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
94
102
  groupedOptions: { type: Boolean, default: !1 },
95
103
  comparingKey: { default: null },
96
104
  customNumberOfDisplayedOptions: { default: null },
105
+ optionTooltipPosition: { default: "right" },
97
106
  theme: { default: "light-theme-v4" },
98
107
  fullWidth: { type: Boolean, default: !0 },
99
108
  optionsListWidth: { default: null },
@@ -103,8 +112,8 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
103
112
  withConditions: { type: Boolean, default: !1 }
104
113
  },
105
114
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
106
- setup(e, { expose: j, emit: B }) {
107
- const n = e, F = {
115
+ setup(e, { expose: Z, emit: V }) {
116
+ const o = e, D = {
108
117
  MULTILINE_LIST_HEIGHT: 48,
109
118
  LIST_HEIGHT: 32 + 4,
110
119
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -112,65 +121,95 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
112
121
  DROPLIST_MIN_WIDTH: 240,
113
122
  VERSION: 4
114
123
  }, {
115
- onKeydown: b,
116
- open: r,
117
- toggleMenu: I,
118
- onButtonKeydown: N,
119
- query: v,
120
- containerProps: J,
121
- calculateTableHeight: Q,
122
- wrapperProps: Z,
123
- filteredOptions: _,
124
- allSelected: V,
125
- allSelectedApplied: K,
126
- isIndeterminate: ee,
127
- onSelectAll: te,
128
- virtualOptions: x,
129
- isSelected: A,
124
+ onKeydown: I,
125
+ open: y,
126
+ toggleMenu: S,
127
+ onButtonKeydown: P,
128
+ query: C,
129
+ containerProps: _,
130
+ calculateTableHeight: ee,
131
+ wrapperProps: te,
132
+ filteredOptions: oe,
133
+ allSelected: $,
134
+ allSelectedApplied: A,
135
+ isIndeterminate: ie,
136
+ onSelectAll: ne,
137
+ virtualOptions: M,
138
+ isSelected: O,
130
139
  selectedOption: h,
131
140
  selectedOptionPrevious: L,
132
- selectedValue: oe,
133
- onSelect: D,
134
- activeIndex: P,
135
- onCancel: le,
136
- onApply: ie,
137
- scrollTo: ne,
138
- listRef: ae,
139
- buttonRef: R,
140
- apply: de,
141
- cancel: se,
142
- el: re,
143
- onClearAllSelections: z,
144
- clearAll: ue,
145
- isGroup: ce
146
- } = Ae(n, B, F), g = Le(n.testId, p), $ = H(() => !n.predefinedTrigger || n.predefinedTrigger === k.DEFAULT ? we : n.predefinedTrigger === k.APP ? Ce : null), { width: M } = Ee(R), ye = H(() => n.optionsListWidth ? n.optionsListWidth : !n.predefinedTrigger || n.predefinedTrigger === k.DEFAULT || n.predefinedTrigger === k.APP ? M.value - 2 > 240 ? `${M.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto");
147
- me(
148
- () => n.optionsListWidth,
141
+ selectedValue: le,
142
+ onSelect: R,
143
+ activeIndex: z,
144
+ onCancel: ae,
145
+ onApply: de,
146
+ scrollTo: se,
147
+ listRef: re,
148
+ buttonRef: W,
149
+ apply: ue,
150
+ cancel: ce,
151
+ el: ye,
152
+ onClearAllSelections: G,
153
+ clearAll: me,
154
+ isGroup: fe,
155
+ flattenAndMarkGroupOptions: pe
156
+ } = Fe(o, V, D), g = Ne(o.testId, p), H = B(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ae : o.predefinedTrigger === w.APP ? Ee : null), { width: U } = Ve(W), ge = B(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? U.value - 2 > 240 ? `${U.value - 2}px` : `${D.DROPLIST_MIN_WIDTH}px` : "auto");
157
+ Te(
158
+ () => o.optionsListWidth,
149
159
  () => {
150
- n.optionsListWidth && document.documentElement.style.setProperty(
160
+ o.optionsListWidth && document.documentElement.style.setProperty(
151
161
  "--options-list-width",
152
- n.optionsListWidth
162
+ o.optionsListWidth
153
163
  );
154
164
  }
155
165
  );
156
- const W = () => {
157
- I();
158
- };
159
- return j({
160
- selectItem: D,
161
- scrollTo: ne
162
- }), (c, l) => (a(), s("div", y({
166
+ const Y = () => {
167
+ S();
168
+ }, X = B(() => {
169
+ const i = {
170
+ tooltipMessage: null,
171
+ selections: []
172
+ };
173
+ if (o.multi && o.comparingKey) {
174
+ const l = v(h.value);
175
+ if (o.minSelections || o.maxSelections) {
176
+ if (Array.isArray(l) && l.length <= o.minSelections)
177
+ return i.tooltipMessage = `You need to select at least ${o.minSelections} item${o.minSelections > 1 ? "s" : ""}`, i.selections = l.map(
178
+ (n) => n[o.comparingKey]
179
+ ), i;
180
+ if (o.maxSelections && Array.isArray(l) && l.length >= o.maxSelections) {
181
+ const n = l.map(
182
+ (b) => b[o.comparingKey]
183
+ ), k = o.groupedOptions ? pe(o.options) : o.options;
184
+ return i.tooltipMessage = `You can only select up to ${o.maxSelections} items`, i.selections = k.map((b) => {
185
+ if (!n.includes(b[o.comparingKey]))
186
+ return b[o.comparingKey];
187
+ }), i;
188
+ }
189
+ }
190
+ }
191
+ return i.tooltipMessage = null, i.selections = [], i;
192
+ }), he = (i) => {
193
+ if ((o.minSelections || o.maxSelections) && o.comparingKey)
194
+ return X.value.selections.includes(
195
+ i[o.comparingKey]
196
+ );
197
+ }, E = (i) => i[o.disabledOptionKey] || he(i);
198
+ return Z({
199
+ selectItem: R,
200
+ scrollTo: se
201
+ }), (i, l) => (a(), r("div", m({
163
202
  ref_key: "el",
164
- ref: re,
203
+ ref: ye,
165
204
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
166
205
  tabindex: e.disabled ? -1 : 0
167
206
  }, t(g)[t(p).WRAPPER], {
168
207
  onKeydown: l[8] || (l[8] = //@ts-ignore
169
- (...o) => t(b) && t(b)(...o))
208
+ (...n) => t(I) && t(I)(...n))
170
209
  }), [
171
- f(c.$slots, "label", {}, void 0, !0),
172
- m("div", Ne, [
173
- i(t(Ke), y({
210
+ u(i.$slots, "label", {}, void 0, !0),
211
+ f("div", Me, [
212
+ d(t(xe), m({
174
213
  theme: e.theme,
175
214
  "popper-class": [
176
215
  e.popperClass,
@@ -183,46 +222,46 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
183
222
  distance: e.distance,
184
223
  flip: e.flip,
185
224
  triggers: [],
186
- shown: !!t(r),
225
+ shown: !!t(y),
187
226
  "auto-hide": !1,
188
227
  container: e.container,
189
228
  "auto-size": e.autoSize
190
229
  }, t(g)[t(p).TRIGGER]), {
191
- popper: u(() => [
192
- i(pe, null, {
193
- default: u(() => [
194
- t(r) ? (a(), s("div", {
230
+ popper: c(() => [
231
+ d(we, null, {
232
+ default: c(() => [
233
+ t(y) ? (a(), r("div", {
195
234
  key: 0,
196
235
  ref_key: "listRef",
197
- ref: ae,
198
- class: E(["light-theme-v4", {
236
+ ref: re,
237
+ class: x(["light-theme-v4", {
199
238
  "dropdown--disabled": e.disabled,
200
239
  "inline-search": e.inlineSearch
201
240
  }]),
202
- style: ge({ width: t(ye) })
241
+ style: be({ width: t(ge) })
203
242
  }, [
204
- t(r) ? (a(), s("div", {
243
+ t(y) ? (a(), r("div", {
205
244
  key: 0,
206
- class: E(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
245
+ class: x(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
207
246
  onKeydown: l[7] || (l[7] = //@ts-ignore
208
- (...o) => t(b) && t(b)(...o))
247
+ (...n) => t(I) && t(I)(...n))
209
248
  }, [
210
- t(r) && e.inlineSearch ? (a(), s("div", Pe, [
211
- e.withConditions ? f(c.$slots, "dropdown-conditions", { key: 0 }, () => [
212
- m("div", Re, [
213
- i(t(Y), { variant: "body2" }, {
214
- default: u(() => [
249
+ t(y) && e.inlineSearch ? (a(), r("div", Ge, [
250
+ e.withConditions ? u(i.$slots, "dropdown-conditions", { key: 0 }, () => [
251
+ f("div", He, [
252
+ d(t(Q), { variant: "body2" }, {
253
+ default: c(() => [
215
254
  T("Conditions")
216
255
  ]),
217
256
  _: 1
218
257
  })
219
258
  ])
220
- ], !0) : d("", !0),
221
- f(c.$slots, "inline-search", {}, () => [
222
- i(t(Se), {
223
- modelValue: t(v),
259
+ ], !0) : s("", !0),
260
+ u(i.$slots, "inline-search", {}, () => [
261
+ d(t(Be), {
262
+ modelValue: t(C),
224
263
  "onUpdate:modelValue": [
225
- l[4] || (l[4] = (o) => Te(v) ? v.value = o : null),
264
+ l[4] || (l[4] = (n) => Ie(C) ? C.value = n : null),
226
265
  e.onClearSearch
227
266
  ],
228
267
  placeholder: e.inlineSearchPlaceholder,
@@ -230,83 +269,86 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
230
269
  size: "md",
231
270
  "auto-focus": e.searchAutoFocus,
232
271
  "test-id": e.testId,
233
- onKeydown: t(b)
272
+ onKeydown: t(I)
234
273
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
235
274
  ], !0)
236
- ])) : d("", !0),
237
- f(c.$slots, "input-list", { open: t(r) }, void 0, !0),
238
- m("div", y({
275
+ ])) : s("", !0),
276
+ u(i.$slots, "input-list", { open: t(y) }, void 0, !0),
277
+ f("div", m({
239
278
  class: ["list-container", { "list-container--multi": e.multi }],
240
- style: { height: `${t(Q)}rem` }
279
+ style: { height: `${t(ee)}rem` }
241
280
  }, {
242
- ...t(J),
281
+ ...t(_),
243
282
  ...t(g)[t(p).LIST_CONTAINER]
244
283
  }), [
245
- f(c.$slots, "custom-list-area", {}, void 0, !0),
246
- m("ul", y(t(Z), {
284
+ u(i.$slots, "custom-list-area", {}, void 0, !0),
285
+ f("ul", m(t(te), {
247
286
  role: "listbox",
248
287
  class: ["list", {
249
288
  "list--multi": e.multi,
250
289
  "list--with-conditions": e.withConditions
251
290
  }]
252
291
  }), [
253
- !t(_).length && !e.loading && !e.withConditions ? (a(), s("li", ze, [
254
- i(t(Y), y({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
255
- default: u(() => [
256
- T(U(e.noResultsText), 1)
292
+ !t(oe).length && !e.loading && !e.withConditions ? (a(), r("li", Ue, [
293
+ d(t(Q), m({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
294
+ default: c(() => [
295
+ T(q(e.noResultsText), 1)
257
296
  ]),
258
297
  _: 1
259
298
  }, 16)
260
- ])) : d("", !0),
261
- e.showSelectAll !== !1 && e.multi && !t(v) && !e.loading && e.options.length ? f(c.$slots, "select-all", { key: 1 }, () => [
262
- m("li", null, [
263
- i(t(q), y(
299
+ ])) : s("", !0),
300
+ e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading && e.options.length && !(e.minSelections || e.maxSelections) ? u(i.$slots, "select-all", { key: 1 }, () => [
301
+ f("li", null, [
302
+ d(t(J), m(
264
303
  {
265
- "aria-selected": t(V),
304
+ "aria-selected": t($),
266
305
  "aria-disabled": !!e.disabled,
267
- "selected-prop": t(V),
268
- "is-indeterminate": t(ee),
306
+ "selected-prop": t($),
307
+ "is-indeterminate": t(ie),
269
308
  "is-multi": e.multi,
270
309
  "select-all-option": ""
271
310
  },
272
311
  t(g)[t(p).SELECT_ALL],
273
312
  {
274
- onClick: l[5] || (l[5] = G((o) => t(te)(), ["stop"]))
313
+ onClick: l[5] || (l[5] = j((n) => t(ne)(), ["stop"]))
275
314
  }
276
315
  ), {
277
- default: u(() => [
316
+ default: c(() => [
278
317
  T(" Select all ")
279
318
  ]),
280
319
  _: 1
281
320
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
282
321
  ])
283
- ], !0) : d("", !0),
284
- t(x).length && !e.loading ? (a(!0), s(ke, { key: 2 }, he(t(x), ({ data: o, index: w }) => (a(), s("li", {
285
- key: w,
286
- "aria-selected": t(A)(C(t(h)), o),
322
+ ], !0) : s("", !0),
323
+ t(M).length && !e.loading ? (a(!0), r(ve, { key: 2 }, Se(t(M), ({ data: n, index: k }) => (a(), r("li", {
324
+ key: k,
325
+ "aria-selected": t(O)(v(t(h)), n),
287
326
  "aria-disabled": !!e.disabled,
288
- onClick: G(() => t(D)(o, w), ["stop"])
327
+ onClick: j(
328
+ () => !E(n) && t(R)(n, k),
329
+ ["stop"]
330
+ )
289
331
  }, [
290
- e.groupedOptions && t(ce)(o) ? f(c.$slots, "group-option", { key: 0 }, () => [
291
- i(Be, null, {
292
- default: u(() => [
293
- T(U(e.displayValue(o) || o[e.optionNameKey]), 1)
332
+ e.groupedOptions && t(fe)(n) ? u(i.$slots, "group-option", { key: 0 }, () => [
333
+ d(Pe, null, {
334
+ default: c(() => [
335
+ T(q(e.displayValue(n) || n[e.optionNameKey]), 1)
294
336
  ]),
295
337
  _: 2
296
338
  }, 1024)
297
- ], !0) : f(c.$slots, "default", {
339
+ ], !0) : u(i.$slots, "default", {
298
340
  key: 1,
299
- option: o,
300
- index: w,
301
- selected: t(A)(C(t(h)), o),
302
- active: C(t(P)) === w,
303
- disabled: o[n.disabledOptionKey]
341
+ option: n,
342
+ index: k,
343
+ selected: t(O)(v(t(h)), n),
344
+ active: v(t(z)) === k,
345
+ disabled: E(n)
304
346
  }, () => [
305
- i(t(q), {
306
- option: o,
307
- "selected-prop": t(A)(t(h), o),
308
- active: C(t(P)) === w,
309
- disabled: o[n.disabledOptionKey],
347
+ d(t(J), {
348
+ option: n,
349
+ "selected-prop": t(O)(t(h), n),
350
+ active: v(t(z)) === k,
351
+ disabled: E(n),
310
352
  "name-key": e.optionNameKey,
311
353
  "image-key": e.optionImageKey,
312
354
  "icon-key": e.optionIconKey,
@@ -315,100 +357,116 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
315
357
  "end-icon-type": e.optionEndIconType,
316
358
  "end-text-icon-key": e.optionsEndTextIconKey,
317
359
  "option-flag-key": e.optionFlagKey,
360
+ "warning-key": e.optionWarningKey,
318
361
  "option-two-lines-variant": e.optionTwoLinesVariant,
319
362
  "option-two-lines-key": e.optionTwoLinesKey,
320
- "is-multi": e.multi
321
- }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "option-two-lines-variant", "option-two-lines-key", "is-multi"])
363
+ "tooltip-placement": e.optionTooltipPosition,
364
+ "is-multi": e.multi,
365
+ "min-max-selection-tooltip-message": t(X)?.tooltipMessage
366
+ }, Ce({ _: 2 }, [
367
+ i.$slots["option-end"] ? {
368
+ name: "option-end",
369
+ fn: c(({ option: b }) => [
370
+ u(i.$slots, "option-end", { option: b }, void 0, !0)
371
+ ]),
372
+ key: "0"
373
+ } : void 0
374
+ ]), 1032, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "warning-key", "option-two-lines-variant", "option-two-lines-key", "tooltip-placement", "is-multi", "min-max-selection-tooltip-message"])
322
375
  ], !0)
323
- ], 8, $e))), 128)) : d("", !0),
324
- e.loading || e.loadMoreLoading ? (a(), s("li", Me, [
325
- i(t(S), { round: "" }),
326
- i(t(S), { round: "" }),
327
- i(t(S), { round: "" }),
328
- i(t(S), { round: "" })
329
- ])) : d("", !0)
376
+ ], 8, Ye))), 128)) : s("", !0),
377
+ e.loading || e.loadMoreLoading ? (a(), r("li", Xe, [
378
+ d(t(K), { round: "" }),
379
+ d(t(K), { round: "" }),
380
+ d(t(K), { round: "" }),
381
+ d(t(K), { round: "" })
382
+ ])) : s("", !0)
330
383
  ], 16)
331
384
  ], 16),
332
- e.multi ? (a(), s("div", We, [
333
- m("div", He, [
334
- i(t(O), y(
385
+ e.multi ? (a(), r("div", qe, [
386
+ f("div", je, [
387
+ e.showClearAll ? (a(), F(t(N), m(
335
388
  {
389
+ key: 0,
336
390
  ref_key: "clearAll",
337
- ref: ue,
391
+ ref: me,
338
392
  size: "small",
339
393
  variant: "text",
340
394
  color: "primary"
341
395
  },
342
396
  t(g)[t(p).ACTION_CLEAR_ALL],
343
397
  {
344
- onClick: l[6] || (l[6] = () => t(z)(!1))
398
+ onClick: l[6] || (l[6] = () => t(G)(!1))
345
399
  }
346
400
  ), {
347
- default: u(() => [
401
+ default: c(() => [
348
402
  T(" Clear all ")
349
403
  ]),
350
404
  _: 1
351
- }, 16)
405
+ }, 16)) : s("", !0)
352
406
  ]),
353
- m("div", Ue, [
354
- i(t(O), y(
407
+ f("div", Je, [
408
+ d(t(N), m(
355
409
  {
356
410
  ref_key: "cancel",
357
- ref: se,
411
+ ref: ce,
358
412
  size: "small",
359
413
  variant: "outlined",
360
414
  color: "primary"
361
415
  },
362
416
  t(g)[t(p).ACTION_CANCEL],
363
- { onClick: t(le) }
417
+ { onClick: t(ae) }
364
418
  ), {
365
- default: u(() => [
419
+ default: c(() => [
366
420
  T(" Cancel ")
367
421
  ]),
368
422
  _: 1
369
423
  }, 16, ["onClick"]),
370
- i(t(O), y({
424
+ d(t(N), m({
371
425
  ref_key: "apply",
372
- ref: de,
426
+ ref: ue,
373
427
  "data-testid": "mutli-apply",
374
428
  size: "small",
375
429
  class: "apply-button"
376
- }, t(g)[t(p).ACTION_APPLY], { onClick: t(ie) }), {
377
- default: u(() => [
430
+ }, t(g)[t(p).ACTION_APPLY], { onClick: t(de) }), {
431
+ default: c(() => [
378
432
  T(" Apply ")
379
433
  ]),
380
434
  _: 1
381
435
  }, 16, ["onClick"])
382
436
  ])
383
- ])) : d("", !0)
384
- ], 34)) : d("", !0)
385
- ], 6)) : d("", !0)
437
+ ])) : s("", !0),
438
+ i.$slots.footer ? (a(), r("div", Qe, [
439
+ u(i.$slots, "footer", {}, void 0, !0)
440
+ ])) : s("", !0)
441
+ ], 34)) : s("", !0)
442
+ ], 6)) : s("", !0)
386
443
  ]),
387
444
  _: 3
388
445
  })
389
446
  ]),
390
- default: u(() => [
391
- m("div", {
392
- class: E(["button__container", {
393
- "button__container--open": !!t(r),
447
+ default: c(() => [
448
+ f("div", {
449
+ class: x(["button__container", {
450
+ "button__container--open": !!t(y),
394
451
  [`button__container--${e.size}`]: !0,
395
452
  "button__container--disabled": e.disabled
396
453
  }])
397
454
  }, [
398
- m("div", {
455
+ f("div", {
399
456
  ref_key: "buttonRef",
400
- ref: R
457
+ ref: W
401
458
  }, [
402
- f(c.$slots, "dropdown-trigger", {
459
+ u(i.$slots, "dropdown-trigger", {
403
460
  buttonTriggerProps: {
404
- open: t(r),
461
+ open: t(y),
405
462
  disabled: e.disabled,
406
- label: t(oe) || e.placeholder,
407
- onClick: () => t(I)()
463
+ label: t(le) || e.placeholder,
464
+ onClick: () => t(S)(),
465
+ testId: e.testId
408
466
  },
409
467
  defaultTriggerProps: {
410
468
  placeholder: e.placeholder,
411
- open: t(r),
469
+ open: t(y),
412
470
  label: e.triggerLabel,
413
471
  showFeedbackIcon: e.triggerFeedbackShowIcon,
414
472
  mandatory: e.mandatory,
@@ -431,15 +489,15 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
431
489
  statusDotType: e.statusType,
432
490
  size: e.size,
433
491
  showAllSelectedText: e.triggerShowAllSelectedText,
434
- allSelected: t(K),
435
- onKeydown: t(N),
436
- onClick: W
492
+ allSelected: t(A),
493
+ onKeydown: t(P),
494
+ onClick: Y
437
495
  }
438
496
  }, () => [
439
- t($) ? (a(), s("div", Ve, [
440
- (a(), X(be(t($)), {
497
+ t(H) ? (a(), r("div", Re, [
498
+ (a(), F(Ke(t(H)), {
441
499
  placeholder: e.placeholder,
442
- open: t(r),
500
+ open: t(y),
443
501
  label: e.triggerLabel,
444
502
  "show-feedback-icon": e.triggerFeedbackShowIcon,
445
503
  mandatory: e.mandatory,
@@ -462,49 +520,50 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
462
520
  "status-dot-type": e.statusType,
463
521
  size: e.size,
464
522
  "show-all-selected-text": e.triggerShowAllSelectedText,
465
- "all-selected": t(K),
466
- onKeydown: t(N),
467
- onClick: W,
468
- onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
523
+ "all-selected": t(A),
524
+ onKeydown: t(P),
525
+ onClick: Y,
526
+ onCopyToClipboard: l[0] || (l[0] = (n) => V("copyToClipboard"))
469
527
  }, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
470
- ])) : d("", !0),
471
- e.predefinedTrigger === t(k).ICON_BUTTON ? (a(), s("div", xe, [
472
- i(t(Ie), {
473
- onClick: l[1] || (l[1] = (o) => t(I)())
528
+ ])) : s("", !0),
529
+ e.predefinedTrigger === t(w).ICON_BUTTON ? (a(), r("div", ze, [
530
+ d(t(Oe), {
531
+ onClick: l[1] || (l[1] = (n) => t(S)())
474
532
  })
475
- ])) : d("", !0),
476
- e.predefinedTrigger === t(k).CHIP ? (a(), s("div", De, [
477
- i(t(ve), {
478
- open: t(r),
533
+ ])) : s("", !0),
534
+ e.predefinedTrigger === t(w).CHIP ? (a(), r("div", We, [
535
+ d(t(Le), {
536
+ open: t(y),
479
537
  label: e.placeholder,
480
538
  "test-id": e.testId,
481
539
  options: e.options,
482
540
  "selected-option": e.multi ? t(L) : t(h),
483
541
  "display-value": e.displayValue,
484
542
  multi: e.multi,
485
- "all-selected": t(K),
486
- onClick: l[2] || (l[2] = (o) => t(I)()),
487
- onClear: l[3] || (l[3] = (o) => t(z)())
488
- }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
489
- ])) : d("", !0)
543
+ "all-selected": t(A),
544
+ "shown-values-count": e.triggerShownValuesCount,
545
+ onClick: l[2] || (l[2] = (n) => t(S)()),
546
+ onClear: l[3] || (l[3] = (n) => t(G)())
547
+ }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
548
+ ])) : s("", !0)
490
549
  ], !0)
491
550
  ], 512)
492
551
  ], 2)
493
552
  ]),
494
553
  _: 3
495
554
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
496
- e.triggerFeedbackText ? (a(), X(Oe, {
555
+ e.triggerFeedbackText ? (a(), F(De, {
497
556
  key: 0,
498
557
  text: e.triggerFeedbackText,
499
558
  variant: e.triggerFeedbackVariant,
500
559
  "show-icon": e.triggerFeedbackShowIcon,
501
560
  "test-id": e.testId,
502
561
  class: "dropdown-field-help-text"
503
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
562
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : s("", !0)
504
563
  ])
505
- ], 16, Fe));
564
+ ], 16, $e));
506
565
  }
507
566
  });
508
567
  export {
509
- kt as default
568
+ Ct as default
510
569
  };