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

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_da3532aa_lang.css +1 -0
  39. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  40. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  41. package/TreeDropdown.vue_vue_type_style_index_0_scoped_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 +69 -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,32 +1,32 @@
1
- import { useToggle as Ve } from "../../../composables/useToggle.js";
2
- import { inject as ke, ref as r, computed as c, watch as b, useSlots as Ge, toRaw as P, nextTick as N, provide as Le, onMounted as Ue } from "vue";
3
- import { isObjectInArray as ae } from "../../../utils/array.js";
4
- import { objectsEqual as Be } from "../../../utils/object.js";
5
- import { useClamp as He, useVirtualList as qe, onClickOutside as ne, useInfiniteScroll as Xe } from "@vueuse/core";
6
- import { Mode as T, Type as U, DropdownContext as $e } from "./DropdownContext.js";
7
- import { pxToRem as je } from "../../../utils/style.js";
8
- import { useEditableContext as ze } from "../../table-cells/common/EditableContext.js";
9
- import { useGroupedOptions as We } from "./useGroupedOptions.js";
10
- const al = (e, d, g) => {
11
- const B = ke("isTreeDropdown", !1), {
1
+ import { useToggle as ke } from "../../../composables/useToggle.js";
2
+ import { inject as Ge, ref as r, computed as c, watch as b, useSlots as Le, toRaw as I, nextTick as N, provide as Ue, onMounted as Be } from "vue";
3
+ import { isObjectInArray as ue } from "../../../utils/array.js";
4
+ import { objectsEqual as He } from "../../../utils/object.js";
5
+ import { useClamp as qe, useVirtualList as Xe, onClickOutside as ie, useInfiniteScroll as $e } from "@vueuse/core";
6
+ import { Mode as w, Type as U, DropdownContext as je } from "./DropdownContext.js";
7
+ import { pxToRem as ze } from "../../../utils/style.js";
8
+ import { useEditableContext as We } from "../../table-cells/common/EditableContext.js";
9
+ import { useGroupedOptions as Je } from "./useGroupedOptions.js";
10
+ const nl = (e, d, y) => {
11
+ const B = Ge("isTreeDropdown", !1), {
12
12
  sortOutGroups: H,
13
- flattenAndMarkGroupOptions: ue,
14
- isGroup: q,
15
- selectAllWithGroups: ie,
16
- isIndeterminateGrouped: re,
17
- allSelectedGrouped: X,
18
- areAllPreviousSelected: oe,
19
- groupedChildOptionsLength: ce
20
- } = We(e), se = (l, t) => e.multi && Array.isArray(l) ? e.comparingKey ? l?.findIndex(
13
+ flattenAndMarkGroupOptions: q,
14
+ isGroup: X,
15
+ selectAllWithGroups: re,
16
+ isIndeterminateGrouped: oe,
17
+ allSelectedGrouped: $,
18
+ areAllPreviousSelected: ce,
19
+ groupedChildOptionsLength: se
20
+ } = Je(e), de = (l, t) => e.multi && Array.isArray(l) ? e.comparingKey ? l?.findIndex(
21
21
  (i) => i[e.comparingKey] === t[e.comparingKey]
22
- ) > -1 : ae(l, t) : e.comparingKey ? l?.[e.comparingKey] === t[e.comparingKey] : l === t;
23
- let $;
22
+ ) > -1 : ue(l, t) : e.comparingKey ? l?.[e.comparingKey] === t[e.comparingKey] : l === t;
23
+ let j;
24
24
  ((l) => {
25
25
  l[l.None = 0] = "None", l[l.Next = 1] = "Next", l[l.Previous = -1] = "Previous", l[l.NextPage = 10] = "NextPage", l[l.PrevPage = -10] = "PrevPage";
26
- })($ || ($ = {}));
26
+ })(j || (j = {}));
27
27
  const a = r(
28
28
  e.selected
29
- ), K = ze(), n = c({
29
+ ), K = We(), n = c({
30
30
  get() {
31
31
  return K?.value?.value ?? a.value;
32
32
  },
@@ -40,45 +40,45 @@ const al = (e, d, g) => {
40
40
  a.value = e.selected, v.value = e.selected;
41
41
  }
42
42
  );
43
- const de = Ge(), w = r(null), m = r(null), j = r(null), R = r(null), z = r(null), I = r(null), ve = r(), W = r(null), J = r(null), Q = r(null), fe = 8, ge = c(() => I.value ? I.value.getBoundingClientRect().height + fe + e.distance : 0), D = r(!1), y = r([]), x = r(-1), h = r(""), v = r(e.selected || []), Y = () => I.value?.focus(), [O, ye, he] = Ve({
43
+ const ve = Le(), x = r(null), m = r(null), z = r(null), R = r(null), W = r(null), D = r(null), fe = r(), J = r(null), Q = r(null), Y = r(null), ge = 8, ye = c(() => D.value ? D.value.getBoundingClientRect().height + ge + e.distance : 0), C = r(!1), h = r([]), T = r(-1), O = r(""), v = r(e.selected || []), Z = () => D.value?.focus(), [S, he, Oe] = ke({
44
44
  disabled: e.disabled,
45
45
  initialValue: e.defaultOpen
46
46
  });
47
47
  b(
48
48
  () => e.disabled,
49
49
  (l) => {
50
- l !== void 0 && he(l);
50
+ l !== void 0 && Oe(l);
51
51
  }
52
52
  );
53
- const Z = (l) => {
54
- Oe.value = ye(l);
55
- }, Oe = c({
53
+ const F = (l) => {
54
+ Se.value = he(l);
55
+ }, Se = c({
56
56
  get() {
57
57
  return e.isOpen;
58
58
  },
59
59
  set(l) {
60
60
  d("update:isOpen", l);
61
61
  }
62
- }), Se = c(() => o.value.length - 1), f = He(0, 0, Se), F = c(() => n.value ? e.displayValue(n.value) : ""), me = (l) => {
62
+ }), me = c(() => o.value.length - 1), g = qe(0, 0, me), p = c(() => n.value ? e.displayValue(n.value) : ""), Ae = (l) => {
63
63
  if (!l.value.length && !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix)
64
64
  return e.placeholder;
65
65
  const t = !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix ? `${l.value.length} selected` : `${e.multiOptionsPlaceholderPrefix ?? ""}${l.value.length ?? "0"}${e.multiOptionsPlaceholderSuffix ?? ""}`;
66
66
  return l.value.length == 1 && e.displayValue ? e.displayValue(l.value[0]) : t;
67
- }, Ae = c(() => {
67
+ }, be = c(() => {
68
68
  if (!e.multi)
69
69
  return n.value ? e.displayValue(n.value) : e.placeholder;
70
70
  if (Array.isArray(a.value))
71
- return me(a);
71
+ return Ae(a);
72
72
  }), E = c(() => {
73
73
  if (Array.isArray(a.value))
74
- return e.groupedOptions ? X(o, a) : a.value.length === o.value.length;
75
- }), be = c(() => !e.multi || !Array.isArray(a.value) ? !1 : e.groupedOptions ? re(
74
+ return e.groupedOptions ? $(o, a) : a.value.length === o.value.length;
75
+ }), Te = c(() => !e.multi || !Array.isArray(a.value) ? !1 : e.groupedOptions ? oe(
76
76
  o,
77
77
  a
78
78
  ) : a.value.length > 0 && a.value.length < o.value.length), _ = (l) => {
79
- h.value = l;
80
- }, M = c(() => e.groupedOptions ? ue(e.options) : e.options), Pe = c(() => {
81
- if (oe(
79
+ O.value = l;
80
+ }, M = c(() => e.groupedOptions ? q(e.options) : e.options), Pe = c(() => {
81
+ if (ce(
82
82
  M,
83
83
  v
84
84
  ))
@@ -87,7 +87,7 @@ const al = (e, d, g) => {
87
87
  selected: [],
88
88
  notSelected: []
89
89
  };
90
- P(M).value.forEach((i) => {
90
+ I(M).value.forEach((i) => {
91
91
  const u = (e.comparingKey ? v.value.findIndex(
92
92
  (L) => L[e.comparingKey] === i[e.comparingKey]
93
93
  ) > -1 : v.value.includes(i)) ? "selected" : "notSelected";
@@ -96,62 +96,69 @@ const al = (e, d, g) => {
96
96
  const t = e.groupedOptions ? H(l.notSelected) : l.notSelected;
97
97
  return [].concat(l.selected, t);
98
98
  }), o = c(() => {
99
- const l = Array.isArray(v.value) && e.multi && g.VERSION === 4 && !B ? Pe.value : M.value;
99
+ const l = Array.isArray(v.value) && e.multi && y.VERSION === 4 && !B ? Pe.value : M.value;
100
100
  if (e.onSearch) {
101
- const t = l.filter((i) => e.groupedOptions && q(i) ? i : e.onSearch(i, h.value));
101
+ const t = l.filter((i) => e.groupedOptions && X(i) ? i : e.onSearch(i, O.value));
102
102
  return e.groupedOptions ? H(t) : t;
103
103
  } else
104
104
  return l;
105
- }), Te = c(() => y.value[0]?.hasSubtitle), p = c(() => s.mode === T.Multi), ee = c(
106
- () => Te.value ? g.MULTILINE_LIST_HEIGHT : g.LIST_HEIGHT
105
+ }), Ie = c(() => h.value[0]?.hasSubtitle), ee = c(() => s.mode === w.Multi), le = c(
106
+ () => Ie.value ? y.MULTILINE_LIST_HEIGHT : y.LIST_HEIGHT
107
107
  ), {
108
108
  list: V,
109
109
  containerProps: k,
110
110
  wrapperProps: we,
111
- scrollTo: C
112
- } = qe(o, {
113
- itemHeight: ee.value,
111
+ scrollTo: P
112
+ } = Xe(o, {
113
+ itemHeight: le.value,
114
114
  overscan: e.disableVirtualScroll ? 1 / 0 : 2
115
115
  });
116
116
  b(
117
117
  () => e.isOpen,
118
118
  (l) => {
119
- Z(l);
119
+ F(l);
120
120
  }
121
- ), b([x], async () => {
121
+ ), b([T], async () => {
122
122
  await N();
123
123
  }), b(
124
- [O, f, x],
124
+ [S, g, T],
125
125
  async ([l], [t]) => {
126
- O.value && (await N(), x.value !== -1 && l !== t && setTimeout(() => {
127
- e.multi && g.VERSION === 4 || C(x.value);
128
- }), f.value && setTimeout(() => {
129
- C(f.value);
126
+ S.value && (await N(), T.value !== -1 && l !== t && setTimeout(() => {
127
+ if (!(e.multi && y.VERSION === 4))
128
+ if (P(T.value), e.groupedOptions) {
129
+ const i = M.value.findIndex(
130
+ (f) => f === n.value
131
+ );
132
+ P(i);
133
+ } else
134
+ P(T.value);
135
+ }), g.value && setTimeout(() => {
136
+ P(g.value);
130
137
  }));
131
138
  }
132
- ), b(h, () => {
133
- d("onsearch", h.value), C(0);
139
+ ), b(O, () => {
140
+ d("onsearch", O.value), P(0);
134
141
  });
135
142
  const A = (l, t = !1) => {
136
- e.disabled || (Z(l), N(() => {
137
- O.value && d("opened"), O.value || d("closed"), w.value && t && w.value.focus();
143
+ e.disabled || (F(l), N(() => {
144
+ S.value && d("opened"), S.value || d("closed"), x.value && t && x.value.focus();
138
145
  }));
139
146
  };
140
- b(O, (l) => {
147
+ b(S, (l) => {
141
148
  if (l) {
142
- h.value = "", p.value && Array.isArray(n.value) && (v.value = P(n.value).slice());
149
+ O.value = "", ee.value && Array.isArray(n.value) && (v.value = I(n.value).slice());
143
150
  return;
144
151
  }
145
- Y();
152
+ Z();
146
153
  });
147
- const Ie = () => {
154
+ const xe = () => {
148
155
  if (E.value) {
149
156
  a.value = [];
150
157
  return;
151
158
  }
152
159
  if (Array.isArray(a.value)) {
153
160
  if (e.groupedOptions)
154
- ie(o, a);
161
+ re(o, a);
155
162
  else {
156
163
  if (a.value.length === o.value.length) {
157
164
  a.value = [];
@@ -161,70 +168,70 @@ const al = (e, d, g) => {
161
168
  }
162
169
  d("selectAll");
163
170
  }
164
- }, xe = () => {
165
- Ie(), g.VERSION !== 4 && (n.value = a.value);
166
- }, De = (l = !0) => {
171
+ }, De = () => {
172
+ xe(), y.VERSION !== 4 && (n.value = a.value);
173
+ }, Me = (l = !0) => {
167
174
  a.value = [], l ? (n.value = [], v.value = [], d("clear")) : e.dynamicFilterMode || d("clear");
168
175
  }, G = (l, t) => {
169
- if (l = P(l), g.VERSION === 4 ? l[e.disabledOptionKey] : y.value[t]?.disabled)
176
+ if (l = I(l), y.VERSION === 4 ? l[e.disabledOptionKey] : h.value[t]?.disabled)
170
177
  return;
171
- if (x.value = t, !e.multi) {
178
+ if (T.value = t, !e.multi) {
172
179
  e.keepOpen || A(!1), s.goToOption(
173
180
  0
174
181
  /* None */
175
- ), n.value = l, _(""), Y(), s.type === U.Search && m.value && (m.value.value = e.displayValue(l)), le();
182
+ ), n.value = l, _(""), Z(), s.type === U.Search && m.value && (m.value.value = e.displayValue(l)), ae();
176
183
  return;
177
184
  }
178
185
  if (!Array.isArray(a.value))
179
186
  return;
180
187
  m.value?.focus();
181
- const S = P(a.value);
182
- if (ae(S, l) || e.comparingKey && S.findIndex(
188
+ const f = I(a.value);
189
+ if (ue(f, l) || e.comparingKey && f.findIndex(
183
190
  (u) => u[e.comparingKey] === l[e.comparingKey]
184
191
  ) > -1) {
185
- a.value = S.filter((u) => e.comparingKey ? u[e.comparingKey] !== l[e.comparingKey] : !Be(u, l));
192
+ a.value = f.filter((u) => e.comparingKey ? u[e.comparingKey] !== l[e.comparingKey] : !He(u, l));
186
193
  return;
187
194
  } else {
188
- a.value = [...S, l];
195
+ a.value = [...f, l];
189
196
  return;
190
197
  }
191
- }, Me = (l) => y.value[l]?.disabled, s = {
192
- activeIndex: f,
193
- options: y,
198
+ }, Ce = (l) => h.value[l]?.disabled, s = {
199
+ activeIndex: g,
200
+ options: h,
194
201
  selectedOption: n,
195
- labelRef: z,
202
+ labelRef: W,
196
203
  activeOption: R,
197
- listRef: w,
204
+ listRef: x,
198
205
  clearable: e.clearable,
199
- type: de.input ? U.Search : U.Dropdown,
200
- mode: e.multi ? T.Multi : T.Single,
201
- query: h,
202
- selectedValue: F,
206
+ type: ve.input ? U.Search : U.Dropdown,
207
+ mode: e.multi ? w.Multi : w.Single,
208
+ query: O,
209
+ selectedValue: p,
203
210
  toggle: A,
204
211
  disabled: e.disabled,
205
- open: O,
212
+ open: S,
206
213
  mandatory: e.mandatory,
207
214
  size: e.size,
208
215
  placeholder: e.placeholder,
209
216
  select: G,
210
217
  clearSelection: () => {
211
- _(""), n.value = s.mode === T.Single ? null : [], v.value = s.mode === T.Single ? null : [], m.value && (m.value.value = "");
218
+ _(""), n.value = s.mode === w.Single ? null : [], v.value = s.mode === w.Single ? null : [], m.value && (m.value.value = "");
212
219
  },
213
220
  search: _,
214
221
  goToOption: async (l) => {
215
- if (!O.value)
222
+ if (!S.value)
216
223
  return;
217
- let t = f.value + l;
218
- const i = y.value.filter(
224
+ let t = g.value + l;
225
+ const i = h.value.filter(
219
226
  (u) => u.disabled
220
- ).length, S = o.value.length - i;
221
- for (t > S && (t = S + 1); ; ) {
222
- if (!y.value[t]?.disabled) {
223
- R.value = o.value[t], f.value = t;
227
+ ).length, f = o.value.length - i;
228
+ for (t > f && (t = f + 1); ; ) {
229
+ if (!h.value[t]?.disabled) {
230
+ R.value = o.value[t], g.value = t;
224
231
  return;
225
232
  }
226
- if ((l === 1 || l === 10) && (t = t + 1), (l === -1 || l === -10) && (t = t + -1), !!Me(f.value)) {
227
- R.value = o.value[t], f.value = t;
233
+ if ((l === 1 || l === 10) && (t = t + 1), (l === -1 || l === -10) && (t = t + -1), !!Ce(g.value)) {
234
+ R.value = o.value[t], g.value = t;
228
235
  return;
229
236
  }
230
237
  }
@@ -233,44 +240,48 @@ const al = (e, d, g) => {
233
240
  m.value = l.value;
234
241
  },
235
242
  registerOption: (l, t, i) => {
236
- y.value = [...y.value, { id: l, disabled: t, hasSubtitle: i }];
243
+ h.value = [...h.value, { id: l, disabled: t, hasSubtitle: i }];
237
244
  },
238
245
  unRegisterOption(l) {
239
- y.value = y.value.filter((t) => t.id !== l);
246
+ h.value = h.value.filter((t) => t.id !== l);
240
247
  }
241
248
  };
242
- Le($e, s), ne(
243
- w,
249
+ Ue(je, s), ie(
250
+ x,
244
251
  () => {
245
- O.value && te();
252
+ S.value && ne();
246
253
  },
247
254
  {
248
255
  ignore: [
249
- I,
250
- W,
256
+ D,
251
257
  J,
252
258
  Q,
259
+ Y,
253
260
  m,
254
261
  k.ref
255
262
  ]
256
263
  }
257
264
  );
258
- const Ce = () => {
265
+ const Ne = () => {
259
266
  m.value && (m.value.value = s.query.value = "");
260
- };
261
- Ue(async () => {
262
- e.autoFocus && (await N(), setTimeout(() => {
263
- j.value.focus();
264
- })), s.goToOption(0), e.multi && !B && (e.groupedOptions ? D.value = X(
267
+ }, te = () => {
268
+ e.multi && !B && (e.groupedOptions ? C.value = $(
265
269
  o,
266
270
  a
267
- ) : D.value = e.options.length === e.selected.length);
271
+ ) : C.value = e.options.length === e.selected.length);
272
+ };
273
+ Be(async () => {
274
+ e.autoFocus && (await N(), setTimeout(() => {
275
+ z.value.focus();
276
+ })), s.goToOption(0), te();
277
+ }), b([() => e.options, () => e.selected], () => {
278
+ te();
268
279
  });
269
- const le = () => {
270
- e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value = P(n.value).slice(), D.value = e.groupedOptions ? ce(e.options) === n.value.length : e.options.length === n.value.length)), d("apply", n.value), d("allSelectedChanged", E.value), A(!1), Ce();
271
- }, te = () => {
272
- p.value && Array.isArray(v.value) && (n.value = P(v.value).slice()), h.value = "", A(!1);
273
- }, Ne = (l) => {
280
+ const ae = () => {
281
+ e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value = I(n.value).slice(), C.value = e.groupedOptions ? se(e.options) === n.value.length : e.options.length === n.value.length)), d("apply", n.value), d("allSelectedChanged", E.value), A(!1), Ne();
282
+ }, ne = () => {
283
+ ee.value && Array.isArray(v.value) && (n.value = I(v.value).slice()), O.value = "", A(!1);
284
+ }, Ke = (l) => {
274
285
  if (!e.disableKeyboardEvents)
275
286
  switch (l.key) {
276
287
  case "Space":
@@ -279,7 +290,7 @@ const al = (e, d, g) => {
279
290
  case "ArrowDown":
280
291
  A(!0), l.preventDefault();
281
292
  }
282
- }, Ke = (l) => {
293
+ }, Re = (l) => {
283
294
  if (!e.disableKeyboardEvents)
284
295
  switch (l.key) {
285
296
  case "ArrowUp": {
@@ -315,27 +326,27 @@ const al = (e, d, g) => {
315
326
  break;
316
327
  }
317
328
  case "Enter": {
318
- if (!O.value) {
329
+ if (!S.value) {
319
330
  A(!0);
320
331
  return;
321
332
  }
322
- G(o.value[f.value], f.value), s.mode === T.Single && !e.keepOpen && A(!1), l.preventDefault();
333
+ G(o.value[g.value], g.value), s.mode === w.Single && !e.keepOpen && A(!1), l.preventDefault();
323
334
  break;
324
335
  }
325
336
  }
326
- }, Re = c(() => {
337
+ }, Ee = c(() => {
327
338
  if (e.loading)
328
339
  return 8.5;
329
- const l = e.loadMoreLoading && g.MAX_NUMBER_OF_OPTIONS || e.customNumberOfDisplayedOptions || V.value.reduce((L, Ee) => {
330
- const _e = e.overrideOptionCountCalculation ? e.overrideOptionCountCalculation(Ee.data) : 1;
331
- return L + _e;
332
- }, 0), t = e.multi && e.showSelectAll && !h.value ? 1 : 0, i = l > g.MAX_NUMBER_OF_OPTIONS, S = l + t;
333
- let u = i ? g.MAX_NUMBER_OF_OPTIONS + 0.1 : S;
334
- return e.loadMoreLoading && e.multi && (V.value.length ? u = u + 0.1 : u = u - 0.9), e.noResultsText && u === 0 && (u = u + 1), e.withConditions && h.value && (u = u + 1), je(
335
- u * ee.value + g.PADDING_PX
340
+ const l = e.loadMoreLoading && y.MAX_NUMBER_OF_OPTIONS || e.customNumberOfDisplayedOptions || V.value.reduce((L, _e) => {
341
+ const Ve = e.overrideOptionCountCalculation ? e.overrideOptionCountCalculation(_e.data) : 1;
342
+ return L + Ve;
343
+ }, 0), t = e.multi && e.showSelectAll && !O.value ? 1 : 0, i = l > y.MAX_NUMBER_OF_OPTIONS, f = l + t;
344
+ let u = i ? y.MAX_NUMBER_OF_OPTIONS + 0.1 : f;
345
+ return e.loadMoreLoading && e.multi && (V.value.length ? u = u + 0.1 : u = u - 0.9), e.noResultsText && u === 0 && (u = u + 1), e.withConditions && O.value && (u = u + 1), ze(
346
+ u * le.value + y.PADDING_PX
336
347
  );
337
348
  });
338
- return Xe(
349
+ return $e(
339
350
  k.ref,
340
351
  () => {
341
352
  !e.loadMoreLoading && e.infiniteLoading && d("loadMore");
@@ -344,44 +355,45 @@ const al = (e, d, g) => {
344
355
  ), b(a, () => {
345
356
  d("unsavedSelectionUpdate", a.value);
346
357
  }), {
347
- onKeydown: Ke,
348
- location: ge,
349
- open: O,
358
+ onKeydown: Re,
359
+ location: ye,
360
+ open: S,
350
361
  toggleMenu: A,
351
- onButtonKeydown: Ne,
352
- displayedValue: Ae,
353
- labelRef: z,
354
- query: h,
362
+ onButtonKeydown: Ke,
363
+ displayedValue: be,
364
+ labelRef: W,
365
+ query: O,
355
366
  containerProps: k,
356
- calculateTableHeight: Re,
367
+ calculateTableHeight: Ee,
357
368
  wrapperProps: we,
358
369
  filteredOptions: o,
359
370
  allSelected: E,
360
- allSelectedApplied: D,
361
- isIndeterminate: be,
362
- onSelectAll: xe,
371
+ allSelectedApplied: C,
372
+ isIndeterminate: Te,
373
+ onSelectAll: De,
363
374
  virtualOptions: V,
364
- isSelected: se,
375
+ isSelected: de,
365
376
  selectedOption: n,
366
377
  selectedOptionPrevious: v,
367
- selectedValue: F,
378
+ selectedValue: p,
368
379
  onSelect: G,
369
- activeIndex: f,
370
- onCancel: te,
371
- onApply: le,
372
- scrollTo: C,
373
- onClickOutside: ne,
374
- listRef: w,
375
- buttonRef: I,
376
- apply: W,
377
- cancel: J,
378
- el: j,
379
- triggerRef: ve,
380
- clearAll: Q,
381
- onClearAllSelections: De,
382
- isGroup: q
380
+ activeIndex: g,
381
+ onCancel: ne,
382
+ onApply: ae,
383
+ scrollTo: P,
384
+ onClickOutside: ie,
385
+ listRef: x,
386
+ buttonRef: D,
387
+ apply: J,
388
+ cancel: Q,
389
+ el: z,
390
+ triggerRef: fe,
391
+ clearAll: Y,
392
+ onClearAllSelections: Me,
393
+ isGroup: X,
394
+ flattenAndMarkGroupOptions: q
383
395
  };
384
396
  };
385
397
  export {
386
- al as dropdownCommon
398
+ nl as dropdownCommon
387
399
  };
@@ -185,8 +185,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
185
185
  error: string;
186
186
  skidding: number;
187
187
  modelValue: any;
188
- selected: any;
189
188
  valueToCopy: string;
189
+ selected: any;
190
190
  placeholder: string;
191
191
  autoFocus: boolean;
192
192
  multi: boolean;
@@ -21,8 +21,8 @@ declare const DropdownTypes: () => (({
21
21
  error: string;
22
22
  skidding: number;
23
23
  modelValue: any;
24
- selected: any;
25
24
  valueToCopy: string;
25
+ selected: any;
26
26
  placeholder: string;
27
27
  autoFocus: boolean;
28
28
  multi: boolean;
@@ -104,14 +104,14 @@ declare const DropdownTypes: () => (({
104
104
  type: import("vue").PropType<unknown>;
105
105
  default: any;
106
106
  };
107
- selected: {
108
- type: import("vue").PropType<unknown>;
109
- default: any;
110
- };
111
107
  valueToCopy: {
112
108
  type: import("vue").PropType<string>;
113
109
  default: string;
114
110
  };
111
+ selected: {
112
+ type: import("vue").PropType<unknown>;
113
+ default: any;
114
+ };
115
115
  options: {
116
116
  type: import("vue").PropType<any[]>;
117
117
  required: true;
@@ -203,7 +203,7 @@ declare const DropdownTypes: () => (({
203
203
  "onUpdate:isOpen"?: (value: unknown) => any;
204
204
  onOpened?: () => any;
205
205
  onClosed?: () => any;
206
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "searchPlaceholder" | "helperText" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
206
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "valueToCopy" | "selected" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "searchPlaceholder" | "helperText" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
207
207
  $attrs: {
208
208
  [x: string]: unknown;
209
209
  };
@@ -280,14 +280,14 @@ declare const DropdownTypes: () => (({
280
280
  type: import("vue").PropType<unknown>;
281
281
  default: any;
282
282
  };
283
- selected: {
284
- type: import("vue").PropType<unknown>;
285
- default: any;
286
- };
287
283
  valueToCopy: {
288
284
  type: import("vue").PropType<string>;
289
285
  default: string;
290
286
  };
287
+ selected: {
288
+ type: import("vue").PropType<unknown>;
289
+ default: any;
290
+ };
291
291
  options: {
292
292
  type: import("vue").PropType<any[]>;
293
293
  required: true;
@@ -405,8 +405,8 @@ declare const DropdownTypes: () => (({
405
405
  error: string;
406
406
  skidding: number;
407
407
  modelValue: any;
408
- selected: any;
409
408
  valueToCopy: string;
409
+ selected: any;
410
410
  placeholder: string;
411
411
  autoFocus: boolean;
412
412
  multi: boolean;
@@ -508,14 +508,14 @@ declare const DropdownTypes: () => (({
508
508
  type: import("vue").PropType<unknown>;
509
509
  default: any;
510
510
  };
511
- selected: {
512
- type: import("vue").PropType<unknown>;
513
- default: any;
514
- };
515
511
  valueToCopy: {
516
512
  type: import("vue").PropType<string>;
517
513
  default: string;
518
514
  };
515
+ selected: {
516
+ type: import("vue").PropType<unknown>;
517
+ default: any;
518
+ };
519
519
  options: {
520
520
  type: import("vue").PropType<any[]>;
521
521
  required: true;
@@ -677,14 +677,14 @@ declare const DropdownTypes: () => (({
677
677
  type: import("vue").PropType<unknown>;
678
678
  default: any;
679
679
  };
680
- selected: {
681
- type: import("vue").PropType<unknown>;
682
- default: any;
683
- };
684
680
  valueToCopy: {
685
681
  type: import("vue").PropType<string>;
686
682
  default: string;
687
683
  };
684
+ selected: {
685
+ type: import("vue").PropType<unknown>;
686
+ default: any;
687
+ };
688
688
  options: {
689
689
  type: import("vue").PropType<any[]>;
690
690
  required: true;
@@ -802,8 +802,8 @@ declare const DropdownTypes: () => (({
802
802
  error: string;
803
803
  skidding: number;
804
804
  modelValue: any;
805
- selected: any;
806
805
  valueToCopy: string;
806
+ selected: any;
807
807
  placeholder: string;
808
808
  autoFocus: boolean;
809
809
  multi: boolean;
@@ -66,6 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
66
  hideEndIcon: boolean;
67
67
  }>, {
68
68
  default?(_: {}): any;
69
+ "after-label"?(_: {}): any;
69
70
  }>;
70
71
  export default _default;
71
72
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonDropdownTrigger.vue2.js";
2
- /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css"; //*');
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-604dfc6f"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-adb49e50"]]);
5
5
  export {
6
6
  p as default
7
7
  };