@ironsource/shared-ui 2.1.12-rc.9 → 2.1.12-test.100

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