@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-rc.40

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