@ironsource/shared-ui 2.0.0-rc.5 → 2.0.0-rc.6

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 (288) hide show
  1. package/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_14dcdae5_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_f080f37f_lang.css +1 -0
  4. package/DataGridMenu.vue_vue_type_style_index_0_scoped_99f1dcca_lang.css +1 -0
  5. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c218ef1f_lang.css +1 -0
  6. package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +1 -0
  7. package/DialogV4.vue_vue_type_style_index_0_scoped_c0c12287_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_571b7c2f_lang.css +1 -0
  9. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +1 -0
  11. package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +1 -0
  12. package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +1 -0
  13. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +1 -0
  14. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +1 -0
  15. package/ExpandRowToggle.vue_vue_type_style_index_0_scoped_b053baa6_lang.css +1 -0
  16. package/FieldHelpText.vue_vue_type_style_index_0_scoped_c551c20f_lang.css +1 -0
  17. package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +1 -0
  18. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +1 -0
  19. package/IconButtonV4.vue_vue_type_style_index_0_scoped_2ca54aa8_lang.css +1 -0
  20. package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +1 -0
  21. package/IncludeExclude.vue_vue_type_style_index_0_scoped_2c9debd6_lang.css +1 -0
  22. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +1 -0
  23. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_ff32d111_lang.css +1 -0
  24. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_4a87e4fd_lang.css +1 -0
  25. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +1 -0
  26. package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +1 -0
  27. package/MultiBar.vue_vue_type_style_index_0_scoped_f5061530_lang.css +1 -0
  28. package/MultiBarMenu.vue_vue_type_style_index_0_scoped_ae2bbc6c_lang.css +1 -0
  29. package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +1 -0
  30. package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
  31. package/SortIcon.vue_vue_type_style_index_0_scoped_2bda5d4a_lang.css +1 -0
  32. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_cb20f507_lang.css +1 -0
  33. package/Table.vue_vue_type_style_index_0_scoped_6b769df2_lang.css +1 -0
  34. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +1 -0
  35. package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +1 -0
  36. package/TabsV4.vue_vue_type_style_index_0_scoped_bab86b0a_lang.css +1 -0
  37. package/TextField.vue_vue_type_style_index_0_scoped_d4dc4582_lang.css +1 -0
  38. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_13b5aebd_lang.css +1 -0
  39. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7792f772_lang.css +1 -0
  40. package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +1 -0
  41. package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
  42. package/TooltipV4.vue_vue_type_style_index_0_lang.css +1 -0
  43. package/components/appTrigger/AppTrigger.vue.js +2 -2
  44. package/components/appTrigger/AppTrigger.vue2.js +3 -3
  45. package/components/button/v3/ScrollButton.vue.js +3 -3
  46. package/components/button/v3/ScrollButton.vue2.js +3 -3
  47. package/components/button/v4/IconButtonV4.vue.d.ts +66 -0
  48. package/components/button/v4/IconButtonV4.vue.js +7 -0
  49. package/components/button/v4/IconButtonV4.vue2.js +35 -0
  50. package/components/button/v4/index.d.ts +190 -3
  51. package/components/button/v4/index.js +6 -4
  52. package/components/dialog/common/Dialog.common.d.ts +10 -0
  53. package/components/dialog/common/Dialog.common.js +57 -0
  54. package/components/dialog/{Dialog.vue.d.ts → v3/Dialog.vue.d.ts} +1 -1
  55. package/components/dialog/v3/Dialog.vue.js +7 -0
  56. package/components/dialog/v3/Dialog.vue2.js +137 -0
  57. package/components/dialog/{index.d.ts → v3/index.d.ts} +8 -8
  58. package/components/dialog/v3/index.js +8 -0
  59. package/components/dialog/v4/DialogV4.vue.d.ts +109 -0
  60. package/components/dialog/v4/DialogV4.vue.js +7 -0
  61. package/components/dialog/v4/DialogV4.vue2.js +119 -0
  62. package/components/dialog/v4/index.d.ts +345 -0
  63. package/components/dialog/{index.js → v4/index.js} +1 -1
  64. package/components/dropdown/common/Dropdown.common.js +15 -15
  65. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  66. package/components/dropdown/v3/index.d.ts +40 -40
  67. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +66 -0
  68. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +7 -0
  69. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -0
  70. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  71. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +36 -35
  72. package/components/dropdown/v4/Dropdown.types.d.ts +3 -0
  73. package/components/dropdown/v4/Dropdown.types.js +8 -0
  74. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -20
  75. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  76. package/components/dropdown/v4/DropdownV4.vue2.js +222 -186
  77. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +29 -0
  78. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +7 -0
  79. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +19 -0
  80. package/components/dropdown/v4/index.d.ts +190 -115
  81. package/components/dropdown/v4/index.js +14 -4
  82. package/components/emptyState/v3/EmptyState.vue.js +7 -0
  83. package/components/emptyState/{EmptyState.vue2.js → v3/EmptyState.vue2.js} +7 -7
  84. package/components/emptyState/{EmptyStateIcon.vue.js → v3/EmptyStateIcon.vue.js} +8 -8
  85. package/components/emptyState/v4/EmptyStateV4.types.d.ts +2 -0
  86. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +56 -0
  87. package/components/emptyState/v4/EmptyStateV4.vue.js +7 -0
  88. package/components/emptyState/v4/EmptyStateV4.vue2.js +66 -0
  89. package/components/emptyState/v4/icons/IconError.vue.js +16 -0
  90. package/components/emptyState/v4/icons/IconFiles.vue.d.ts +2 -0
  91. package/components/emptyState/v4/icons/IconFiles.vue.js +16 -0
  92. package/components/emptyState/v4/icons/IconNoAccess.vue.d.ts +2 -0
  93. package/components/emptyState/v4/icons/IconNoAccess.vue.js +16 -0
  94. package/components/emptyState/v4/icons/IconNoData.vue.d.ts +2 -0
  95. package/components/emptyState/v4/icons/IconNoData.vue.js +16 -0
  96. package/components/emptyState/v4/icons/IconNoResults.vue.d.ts +2 -0
  97. package/components/emptyState/v4/icons/IconNoResults.vue.js +16 -0
  98. package/components/emptyState/v4/icons/IconSettings.vue.d.ts +2 -0
  99. package/components/emptyState/v4/icons/IconSettings.vue.js +16 -0
  100. package/components/emptyState/v4/index.d.ts +145 -0
  101. package/components/emptyState/v4/index.js +6 -0
  102. package/components/icon/v4/Icon.types.d.ts +2 -0
  103. package/components/icon/v4/IconV4.vue.d.ts +3 -3
  104. package/components/icon/v4/IconV4.vue.js +4 -4
  105. package/components/icon/v4/IconV4.vue2.js +27 -24
  106. package/components/icon/v4/index.d.ts +7 -7
  107. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  108. package/components/includeExclude/IncludeExclude.vue.js +2 -2
  109. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  110. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
  111. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +3 -3
  112. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  113. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +3 -3
  114. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  115. package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
  116. package/components/includeExclude/IncludeExcludeOption.vue2.js +3 -3
  117. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
  118. package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +3 -3
  119. package/components/includeExclude/index.d.ts +40 -40
  120. package/components/input/common/Input.common.d.ts +1 -1
  121. package/components/input/common/Input.common.js +2 -2
  122. package/components/input/v3/Input.vue.js +2 -2
  123. package/components/input/v3/Input.vue2.js +3 -3
  124. package/components/input/v4/TextField.vue.d.ts +8 -3
  125. package/components/input/v4/TextField.vue.js +3 -3
  126. package/components/input/v4/TextField.vue2.js +81 -74
  127. package/components/input/v4/index.d.ts +27 -8
  128. package/components/menu/Menu.vue.d.ts +1 -1
  129. package/components/menu/index.d.ts +20 -20
  130. package/components/multibar/MultiBar.types.d.ts +6 -0
  131. package/components/multibar/MultiBar.vue.d.ts +65 -0
  132. package/components/multibar/MultiBar.vue.js +7 -0
  133. package/components/multibar/MultiBar.vue2.js +96 -0
  134. package/components/multibar/MultiBarMenu.vue.d.ts +34 -0
  135. package/components/multibar/MultiBarMenu.vue.js +7 -0
  136. package/components/multibar/MultiBarMenu.vue2.js +50 -0
  137. package/components/multibar/index.d.ts +77 -0
  138. package/components/multibar/index.js +6 -0
  139. package/components/popover/index.d.ts +16 -16
  140. package/components/search/v4/SearchV4.vue.js +2 -2
  141. package/components/search/v4/SearchV4.vue2.js +29 -32
  142. package/components/shared/FieldHelpText.vue.js +3 -3
  143. package/components/shared/FieldHelpText.vue2.js +21 -25
  144. package/components/shared/FieldLabel.vue.d.ts +1 -1
  145. package/components/shared/FieldLabel.vue.js +3 -3
  146. package/components/shared/FieldLabel.vue2.js +31 -35
  147. package/components/table/common/Table.common.d.ts +35 -0
  148. package/components/table/common/Table.common.js +114 -0
  149. package/components/table/{Table.types.d.ts → common/Table.types.d.ts} +7 -0
  150. package/components/table/v3/SortOrderIcon.vue.d.ts +2 -0
  151. package/components/table/v3/SortOrderIcon.vue.js +21 -0
  152. package/components/table/{Table.vue.d.ts → v3/Table.vue.d.ts} +2 -3
  153. package/components/table/v3/Table.vue.js +7 -0
  154. package/components/table/v3/Table.vue2.js +248 -0
  155. package/components/table/v3/TableHeaderSorter.vue.js +7 -0
  156. package/components/table/{TableHeaderSorter.vue2.js → v3/TableHeaderSorter.vue2.js} +1 -1
  157. package/components/table/{index.d.ts → v3/index.d.ts} +49 -49
  158. package/components/table/v3/index.js +10 -0
  159. package/components/table/v4/DataGrid.vue.d.ts +182 -0
  160. package/components/table/v4/DataGrid.vue.js +7 -0
  161. package/components/table/v4/DataGrid.vue2.js +296 -0
  162. package/components/table/v4/DataGridMenu.vue.d.ts +34 -0
  163. package/components/table/v4/DataGridMenu.vue.js +7 -0
  164. package/components/table/v4/DataGridMenu.vue2.js +50 -0
  165. package/components/table/v4/ExpandRowToggle.vue.d.ts +33 -0
  166. package/components/table/v4/ExpandRowToggle.vue.js +7 -0
  167. package/components/table/v4/ExpandRowToggle.vue2.js +24 -0
  168. package/components/table/v4/SortIcon.vue.d.ts +15 -0
  169. package/components/table/v4/SortIcon.vue.js +7 -0
  170. package/components/table/v4/SortIcon.vue2.js +24 -0
  171. package/components/table/v4/index.d.ts +601 -0
  172. package/components/table/v4/index.js +8 -0
  173. package/components/table/v4/storyUtils.d.ts +4 -0
  174. package/components/table-cells/common/Editable.common.d.ts +5 -0
  175. package/components/table-cells/common/Editable.common.js +39 -0
  176. package/components/table-cells/v3/Editable.vue.js +7 -0
  177. package/components/table-cells/v3/Editable.vue2.js +43 -0
  178. package/components/table-cells/{index.d.ts → v3/index.d.ts} +2 -2
  179. package/components/table-cells/{index.js → v3/index.js} +2 -2
  180. package/components/table-cells/v4/EditableV4.vue.d.ts +51 -0
  181. package/components/table-cells/v4/EditableV4.vue.js +7 -0
  182. package/components/table-cells/v4/EditableV4.vue2.js +45 -0
  183. package/components/table-cells/v4/index.d.ts +146 -0
  184. package/components/table-cells/v4/index.js +6 -0
  185. package/components/tabs/common/Tabs.types.d.ts +6 -0
  186. package/components/tabs/common/tabsCommon.d.ts +16 -0
  187. package/components/tabs/common/tabsCommon.js +43 -0
  188. package/components/tabs/{Tabs.vue.d.ts → v3/Tabs.vue.d.ts} +1 -6
  189. package/components/tabs/v3/Tabs.vue.js +7 -0
  190. package/components/tabs/v3/Tabs.vue2.js +85 -0
  191. package/components/tabs/{index.d.ts → v3/index.d.ts} +8 -48
  192. package/components/tabs/v4/TabsV4.vue.d.ts +56 -0
  193. package/components/tabs/v4/TabsV4.vue.js +7 -0
  194. package/components/tabs/v4/TabsV4.vue2.js +75 -0
  195. package/components/tabs/v4/index.d.ts +148 -0
  196. package/components/tabs/v4/index.js +6 -0
  197. package/components/toggle/v3/Toggle.vue.js +7 -0
  198. package/components/toggle/{Toggle.vue2.js → v3/Toggle.vue2.js} +17 -17
  199. package/components/toggle/v4/ToggleV4.vue.d.ts +98 -0
  200. package/components/tooltip/common/Tooltip.common.d.ts +3 -0
  201. package/components/tooltip/common/Tooltip.common.js +27 -0
  202. package/components/tooltip/v3/TextWithTitleContent.vue.js +7 -0
  203. package/components/tooltip/{TextWithTitleContent.vue2.js → v3/TextWithTitleContent.vue2.js} +4 -4
  204. package/components/tooltip/v3/Tooltip.vue.js +5 -0
  205. package/components/tooltip/v3/Tooltip.vue2.js +87 -0
  206. package/components/tooltip/{index.js → v3/index.js} +2 -2
  207. package/components/tooltip/v4/TextWithTitleContent.vue.d.ts +33 -0
  208. package/components/tooltip/v4/TextWithTitleContent.vue.js +7 -0
  209. package/components/tooltip/v4/TextWithTitleContent.vue2.js +36 -0
  210. package/components/tooltip/v4/TooltipV4.vue.d.ts +85 -0
  211. package/components/tooltip/v4/TooltipV4.vue.js +67 -0
  212. package/components/tooltip/v4/TooltipV4.vue2.js +0 -0
  213. package/components/tooltip/v4/TooltipV4.vue3.js +4 -0
  214. package/components/tooltip/v4/index.d.ts +249 -0
  215. package/components/tooltip/v4/index.js +6 -0
  216. package/index.d.ts +4897 -333
  217. package/index.js +150 -153
  218. package/package.json +55 -19
  219. package/testids/index.d.ts +11 -3
  220. package/testids/index.js +14 -14
  221. package/utils/storybook-utils.d.ts +1 -0
  222. package/utils/string.d.ts +2 -0
  223. package/utils/string.js +5 -0
  224. package/AppTrigger.vue_vue_type_style_index_0_scoped_512ac1ab_lang.css +0 -1
  225. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_4cbcfcce_lang.css +0 -1
  226. package/Dialog.vue_vue_type_style_index_0_scoped_40b833a0_lang.css +0 -1
  227. package/DropdownV4.vue_vue_type_style_index_0_scoped_34bd23a1_lang.css +0 -1
  228. package/Editable.vue_vue_type_style_index_0_scoped_3b865286_lang.css +0 -1
  229. package/EmptyState.vue_vue_type_style_index_0_scoped_f082a371_lang.css +0 -1
  230. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +0 -1
  231. package/FieldHelpText.vue_vue_type_style_index_0_scoped_d5507827_lang.css +0 -1
  232. package/FieldLabel.vue_vue_type_style_index_0_scoped_90f19704_lang.css +0 -1
  233. package/IconV4.vue_vue_type_style_index_0_scoped_f23078a4_lang.css +0 -1
  234. package/IncludeExclude.vue_vue_type_style_index_0_scoped_802d4031_lang.css +0 -1
  235. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_1621ad67_lang.css +0 -1
  236. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_daccb4bb_lang.css +0 -1
  237. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_18847008_lang.css +0 -1
  238. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_df79f184_lang.css +0 -1
  239. package/Input.vue_vue_type_style_index_0_scoped_79f436f9_lang.css +0 -1
  240. package/ScrollButton.vue_vue_type_style_index_0_scoped_90bacbbc_lang.css +0 -1
  241. package/SearchV4.vue_vue_type_style_index_0_scoped_63f11472_lang.css +0 -1
  242. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +0 -1
  243. package/Table.vue_vue_type_style_index_0_scoped_096d493a_lang.css +0 -1
  244. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +0 -1
  245. package/Tabs.vue_vue_type_style_index_0_scoped_e92a7c21_lang.css +0 -1
  246. package/TextField.vue_vue_type_style_index_0_scoped_7aa32734_lang.css +0 -1
  247. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7da6e1ca_lang.css +0 -1
  248. package/Toggle.vue_vue_type_style_index_0_scoped_d97166d1_lang.css +0 -1
  249. package/components/dialog/Dialog.vue.js +0 -7
  250. package/components/dialog/Dialog.vue2.js +0 -178
  251. package/components/emptyState/EmptyState.vue.js +0 -7
  252. package/components/table/SortOrderIcon.vue.js +0 -21
  253. package/components/table/Table.vue.js +0 -7
  254. package/components/table/Table.vue2.js +0 -298
  255. package/components/table/TableHeaderSorter.vue.js +0 -7
  256. package/components/table/index.js +0 -8
  257. package/components/table-cells/Editable.vue.js +0 -7
  258. package/components/table-cells/Editable.vue2.js +0 -66
  259. package/components/tabs/Tabs.vue.js +0 -7
  260. package/components/tabs/Tabs.vue2.js +0 -96
  261. package/components/toggle/Toggle.vue.js +0 -7
  262. package/components/tooltip/TextWithTitleContent.vue.js +0 -7
  263. package/components/tooltip/Tooltip.vue.js +0 -84
  264. package/components/tooltip/Tooltip.vue2.js +0 -5
  265. /package/components/dialog/{Reason.d.ts → common/Reason.d.ts} +0 -0
  266. /package/components/dialog/{Reason.js → common/Reason.js} +0 -0
  267. /package/components/emptyState/{EmptyState.vue.d.ts → v3/EmptyState.vue.d.ts} +0 -0
  268. /package/components/emptyState/{EmptyStateIcon.vue.d.ts → v3/EmptyStateIcon.vue.d.ts} +0 -0
  269. /package/components/emptyState/{EmptyStateIcon.vue2.js → v3/EmptyStateIcon.vue2.js} +0 -0
  270. /package/components/emptyState/{index.d.ts → v3/index.d.ts} +0 -0
  271. /package/components/emptyState/{index.js → v3/index.js} +0 -0
  272. /package/components/{table/SortOrderIcon.vue.d.ts → emptyState/v4/icons/IconError.vue.d.ts} +0 -0
  273. /package/components/table/{TableContext.d.ts → common/TableContext.d.ts} +0 -0
  274. /package/components/table/{TableContext.js → common/TableContext.js} +0 -0
  275. /package/components/table/{SortOrderIcon.vue2.js → v3/SortOrderIcon.vue2.js} +0 -0
  276. /package/components/table/{TableHeaderSorter.vue.d.ts → v3/TableHeaderSorter.vue.d.ts} +0 -0
  277. /package/components/table/{codeTemplate.d.ts → v3/codeTemplate.d.ts} +0 -0
  278. /package/components/table-cells/{EditableContext.d.ts → common/EditableContext.d.ts} +0 -0
  279. /package/components/table-cells/{EditableContext.js → common/EditableContext.js} +0 -0
  280. /package/components/table-cells/{Editable.vue.d.ts → v3/Editable.vue.d.ts} +0 -0
  281. /package/components/tabs/{index.js → v3/index.js} +0 -0
  282. /package/components/toggle/{Toggle.vue.d.ts → v3/Toggle.vue.d.ts} +0 -0
  283. /package/components/toggle/{index.d.ts → v3/index.d.ts} +0 -0
  284. /package/components/toggle/{index.js → v3/index.js} +0 -0
  285. /package/components/tooltip/{Tooltip.types.d.ts → common/Tooltip.types.d.ts} +0 -0
  286. /package/components/tooltip/{TextWithTitleContent.vue.d.ts → v3/TextWithTitleContent.vue.d.ts} +0 -0
  287. /package/components/tooltip/{Tooltip.vue.d.ts → v3/Tooltip.vue.d.ts} +0 -0
  288. /package/components/tooltip/{index.d.ts → v3/index.d.ts} +0 -0
@@ -0,0 +1,119 @@
1
+ import "../../../DialogV4.vue_vue_type_style_index_0_scoped_c0c12287_lang.css"; import { defineComponent as g, openBlock as o, createBlock as d, Teleport as N, createVNode as E, Transition as A, withCtx as r, unref as e, createElementBlock as c, createElementVNode as f, mergeProps as n, renderSlot as B, createTextVNode as C, toDisplayString as k, createCommentVNode as l } from "vue";
2
+ import { NOOP as I } from "@vue/shared";
3
+ import p from "../../typography/v4/Typography.vue.js";
4
+ import "../../button/v4/ButtonV4.vue.js";
5
+ import w from "../../button/v4/IconButtonV4.vue.js";
6
+ import { Reason as v } from "../common/Reason.js";
7
+ import { dialogCommon as D } from "../common/Dialog.common.js";
8
+ import { DialogTestIdModifiers as a } from "../../../testids/index.js";
9
+ import { useTestIdAttrs as P } from "../../../utils/testIds.js";
10
+ import { useMagicKeys as R, whenever as V } from "@vueuse/core";
11
+ const $ = {
12
+ key: 0,
13
+ class: "container light-theme-v4"
14
+ }, S = { class: "title" }, z = {
15
+ key: 1,
16
+ class: "footer"
17
+ }, G = /* @__PURE__ */ g({
18
+ __name: "DialogV4",
19
+ props: {
20
+ modelValue: { type: Boolean },
21
+ content: { default: null },
22
+ title: { default: "" },
23
+ subtitle: { default: "" },
24
+ appendToBody: { type: Boolean, default: !0 },
25
+ size: { default: "small" },
26
+ showBackdrop: { type: Boolean, default: !0 },
27
+ closeDelay: { default: 0 },
28
+ openDelay: { default: 0 },
29
+ escapeToClose: { type: Boolean, default: !0 },
30
+ closeOnClickOutside: { type: Boolean, default: !0 },
31
+ beforeClose: { type: Function, default: null },
32
+ showCloseButton: { type: Boolean, default: !0 },
33
+ testId: { default: "" }
34
+ },
35
+ emits: ["update:modelValue", "open", "close"],
36
+ setup(t, { emit: b }) {
37
+ const m = t, { escape: h } = R(), s = P(m.testId, a), { visible: T, handleClose: y } = D(m, b);
38
+ return V(h, () => {
39
+ T.value && m.escapeToClose && y(v.Escape);
40
+ }), (i, u) => (o(), d(N, {
41
+ to: "body",
42
+ disabled: !t.appendToBody
43
+ }, [
44
+ E(A, null, {
45
+ default: r(() => [
46
+ e(T) ? (o(), c("div", $, [
47
+ f("div", n({
48
+ class: ["dialog", [`dialog--${t.size}`]]
49
+ }, e(s)[e(a).WRAPPER]), [
50
+ t.title || t.subtitle || t.showCloseButton ? (o(), c("header", n({
51
+ key: 0,
52
+ class: "header"
53
+ }, e(s)[e(a).HEADER]), [
54
+ f("div", S, [
55
+ B(i.$slots, "header", {}, () => [
56
+ t.title ? (o(), d(e(p), {
57
+ key: 0,
58
+ variant: "h3"
59
+ }, {
60
+ default: r(() => [
61
+ C(k(t.title), 1)
62
+ ]),
63
+ _: 1
64
+ })) : l("", !0),
65
+ t.subtitle ? (o(), d(e(p), {
66
+ key: 1,
67
+ class: "subtitle",
68
+ variant: "body1"
69
+ }, {
70
+ default: r(() => [
71
+ C(k(t.subtitle), 1)
72
+ ]),
73
+ _: 1
74
+ })) : l("", !0)
75
+ ], !0)
76
+ ]),
77
+ t.showCloseButton ? (o(), d(e(w), n({
78
+ key: 0,
79
+ class: "close-button",
80
+ "icon-name": "x"
81
+ }, e(s)[e(a).ACTION_CLOSE], {
82
+ onClick: u[0] || (u[0] = (O) => e(y)(e(v).CloseButton))
83
+ }), null, 16)) : l("", !0)
84
+ ], 16)) : l("", !0),
85
+ f("div", n({ class: "content" }, e(s)[e(a).CONTENT]), [
86
+ B(i.$slots, "default", {}, () => [
87
+ t.content ? (o(), d(e(p), {
88
+ key: 0,
89
+ variant: "body1"
90
+ }, {
91
+ default: r(() => [
92
+ C(k(t.content), 1)
93
+ ]),
94
+ _: 1
95
+ })) : l("", !0)
96
+ ], !0)
97
+ ], 16),
98
+ i.$slots.footer ? (o(), c("footer", z, [
99
+ f("div", n({ class: "action-buttons" }, e(s)[e(a).ACTION_BUTTONS_WRAPPER]), [
100
+ B(i.$slots, "footer", {}, void 0, !0)
101
+ ], 16)
102
+ ])) : l("", !0)
103
+ ], 16),
104
+ t.showBackdrop ? (o(), c("div", n({
105
+ key: 0,
106
+ class: "dialog-backdrop"
107
+ }, e(s)[e(a).BACKDROP], {
108
+ onClick: u[1] || (u[1] = (O) => t.closeOnClickOutside ? e(y)(e(v).Backdrop) : e(I)())
109
+ }), null, 16)) : l("", !0)
110
+ ])) : l("", !0)
111
+ ]),
112
+ _: 3
113
+ })
114
+ ], 8, ["disabled"]));
115
+ }
116
+ });
117
+ export {
118
+ G as default
119
+ };
@@ -0,0 +1,345 @@
1
+ import Dialog from './DialogV4.vue';
2
+ declare const DialogTypes: () => ({
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ title: string;
8
+ size: "small" | "medium" | "extraSmall";
9
+ testId: string;
10
+ content: string;
11
+ subtitle: string;
12
+ appendToBody: boolean;
13
+ closeDelay: number;
14
+ openDelay: number;
15
+ escapeToClose: boolean;
16
+ showBackdrop: boolean;
17
+ closeOnClickOutside: boolean;
18
+ beforeClose: (show: () => void) => void;
19
+ showCloseButton: boolean;
20
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
21
+ title: {
22
+ type: import("vue").PropType<string>;
23
+ default: string;
24
+ };
25
+ size: {
26
+ type: import("vue").PropType<"small" | "medium" | "extraSmall">;
27
+ default: string;
28
+ };
29
+ testId: {
30
+ type: import("vue").PropType<string>;
31
+ default: string;
32
+ };
33
+ content: {
34
+ type: import("vue").PropType<string>;
35
+ default: any;
36
+ };
37
+ subtitle: {
38
+ type: import("vue").PropType<string>;
39
+ default: string;
40
+ };
41
+ modelValue: {
42
+ type: import("vue").PropType<boolean>;
43
+ required: true;
44
+ };
45
+ appendToBody: {
46
+ type: import("vue").PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ closeDelay: {
50
+ type: import("vue").PropType<number>;
51
+ default: number;
52
+ };
53
+ openDelay: {
54
+ type: import("vue").PropType<number>;
55
+ default: number;
56
+ };
57
+ escapeToClose: {
58
+ type: import("vue").PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ showBackdrop: {
62
+ type: import("vue").PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ closeOnClickOutside: {
66
+ type: import("vue").PropType<boolean>;
67
+ default: boolean;
68
+ };
69
+ beforeClose: {
70
+ type: import("vue").PropType<(show: () => void) => void>;
71
+ default: any;
72
+ };
73
+ showCloseButton: {
74
+ type: import("vue").PropType<boolean>;
75
+ default: boolean;
76
+ };
77
+ }>> & {
78
+ onClose?: (reason: import("../v3").Reason) => any;
79
+ "onUpdate:modelValue"?: (value: boolean) => any;
80
+ onOpen?: () => any;
81
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size" | "testId" | "content" | "subtitle" | "appendToBody" | "closeDelay" | "openDelay" | "escapeToClose" | "showBackdrop" | "closeOnClickOutside" | "beforeClose" | "showCloseButton">;
82
+ $attrs: {
83
+ [x: string]: unknown;
84
+ };
85
+ $refs: {
86
+ [x: string]: unknown;
87
+ };
88
+ $slots: Readonly<{
89
+ [name: string]: import("vue").Slot;
90
+ }>;
91
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
92
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
93
+ $emit: ((event: "close", reason: import("../v3").Reason) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void);
94
+ $el: any;
95
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
96
+ title: {
97
+ type: import("vue").PropType<string>;
98
+ default: string;
99
+ };
100
+ size: {
101
+ type: import("vue").PropType<"small" | "medium" | "extraSmall">;
102
+ default: string;
103
+ };
104
+ testId: {
105
+ type: import("vue").PropType<string>;
106
+ default: string;
107
+ };
108
+ content: {
109
+ type: import("vue").PropType<string>;
110
+ default: any;
111
+ };
112
+ subtitle: {
113
+ type: import("vue").PropType<string>;
114
+ default: string;
115
+ };
116
+ modelValue: {
117
+ type: import("vue").PropType<boolean>;
118
+ required: true;
119
+ };
120
+ appendToBody: {
121
+ type: import("vue").PropType<boolean>;
122
+ default: boolean;
123
+ };
124
+ closeDelay: {
125
+ type: import("vue").PropType<number>;
126
+ default: number;
127
+ };
128
+ openDelay: {
129
+ type: import("vue").PropType<number>;
130
+ default: number;
131
+ };
132
+ escapeToClose: {
133
+ type: import("vue").PropType<boolean>;
134
+ default: boolean;
135
+ };
136
+ showBackdrop: {
137
+ type: import("vue").PropType<boolean>;
138
+ default: boolean;
139
+ };
140
+ closeOnClickOutside: {
141
+ type: import("vue").PropType<boolean>;
142
+ default: boolean;
143
+ };
144
+ beforeClose: {
145
+ type: import("vue").PropType<(show: () => void) => void>;
146
+ default: any;
147
+ };
148
+ showCloseButton: {
149
+ type: import("vue").PropType<boolean>;
150
+ default: boolean;
151
+ };
152
+ }>> & {
153
+ onClose?: (reason: import("../v3").Reason) => any;
154
+ "onUpdate:modelValue"?: (value: boolean) => any;
155
+ onOpen?: () => any;
156
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
157
+ "update:modelValue": (value: boolean) => void;
158
+ open: () => void;
159
+ close: (reason: import("../v3").Reason) => void;
160
+ }, string, {
161
+ title: string;
162
+ size: "small" | "medium" | "extraSmall";
163
+ testId: string;
164
+ content: string;
165
+ subtitle: string;
166
+ appendToBody: boolean;
167
+ closeDelay: number;
168
+ openDelay: number;
169
+ escapeToClose: boolean;
170
+ showBackdrop: boolean;
171
+ closeOnClickOutside: boolean;
172
+ beforeClose: (show: () => void) => void;
173
+ showCloseButton: boolean;
174
+ }, {}, string> & {
175
+ beforeCreate?: (() => void) | (() => void)[];
176
+ created?: (() => void) | (() => void)[];
177
+ beforeMount?: (() => void) | (() => void)[];
178
+ mounted?: (() => void) | (() => void)[];
179
+ beforeUpdate?: (() => void) | (() => void)[];
180
+ updated?: (() => void) | (() => void)[];
181
+ activated?: (() => void) | (() => void)[];
182
+ deactivated?: (() => void) | (() => void)[];
183
+ beforeDestroy?: (() => void) | (() => void)[];
184
+ beforeUnmount?: (() => void) | (() => void)[];
185
+ destroyed?: (() => void) | (() => void)[];
186
+ unmounted?: (() => void) | (() => void)[];
187
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
188
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
189
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
190
+ };
191
+ $forceUpdate: () => void;
192
+ $nextTick: typeof import("vue").nextTick;
193
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
194
+ } & Readonly<import("vue").ExtractPropTypes<{
195
+ title: {
196
+ type: import("vue").PropType<string>;
197
+ default: string;
198
+ };
199
+ size: {
200
+ type: import("vue").PropType<"small" | "medium" | "extraSmall">;
201
+ default: string;
202
+ };
203
+ testId: {
204
+ type: import("vue").PropType<string>;
205
+ default: string;
206
+ };
207
+ content: {
208
+ type: import("vue").PropType<string>;
209
+ default: any;
210
+ };
211
+ subtitle: {
212
+ type: import("vue").PropType<string>;
213
+ default: string;
214
+ };
215
+ modelValue: {
216
+ type: import("vue").PropType<boolean>;
217
+ required: true;
218
+ };
219
+ appendToBody: {
220
+ type: import("vue").PropType<boolean>;
221
+ default: boolean;
222
+ };
223
+ closeDelay: {
224
+ type: import("vue").PropType<number>;
225
+ default: number;
226
+ };
227
+ openDelay: {
228
+ type: import("vue").PropType<number>;
229
+ default: number;
230
+ };
231
+ escapeToClose: {
232
+ type: import("vue").PropType<boolean>;
233
+ default: boolean;
234
+ };
235
+ showBackdrop: {
236
+ type: import("vue").PropType<boolean>;
237
+ default: boolean;
238
+ };
239
+ closeOnClickOutside: {
240
+ type: import("vue").PropType<boolean>;
241
+ default: boolean;
242
+ };
243
+ beforeClose: {
244
+ type: import("vue").PropType<(show: () => void) => void>;
245
+ default: any;
246
+ };
247
+ showCloseButton: {
248
+ type: import("vue").PropType<boolean>;
249
+ default: boolean;
250
+ };
251
+ }>> & {
252
+ onClose?: (reason: import("../v3").Reason) => any;
253
+ "onUpdate:modelValue"?: (value: boolean) => any;
254
+ onOpen?: () => any;
255
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
256
+ __isFragment?: never;
257
+ __isTeleport?: never;
258
+ __isSuspense?: never;
259
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
260
+ title: {
261
+ type: import("vue").PropType<string>;
262
+ default: string;
263
+ };
264
+ size: {
265
+ type: import("vue").PropType<"small" | "medium" | "extraSmall">;
266
+ default: string;
267
+ };
268
+ testId: {
269
+ type: import("vue").PropType<string>;
270
+ default: string;
271
+ };
272
+ content: {
273
+ type: import("vue").PropType<string>;
274
+ default: any;
275
+ };
276
+ subtitle: {
277
+ type: import("vue").PropType<string>;
278
+ default: string;
279
+ };
280
+ modelValue: {
281
+ type: import("vue").PropType<boolean>;
282
+ required: true;
283
+ };
284
+ appendToBody: {
285
+ type: import("vue").PropType<boolean>;
286
+ default: boolean;
287
+ };
288
+ closeDelay: {
289
+ type: import("vue").PropType<number>;
290
+ default: number;
291
+ };
292
+ openDelay: {
293
+ type: import("vue").PropType<number>;
294
+ default: number;
295
+ };
296
+ escapeToClose: {
297
+ type: import("vue").PropType<boolean>;
298
+ default: boolean;
299
+ };
300
+ showBackdrop: {
301
+ type: import("vue").PropType<boolean>;
302
+ default: boolean;
303
+ };
304
+ closeOnClickOutside: {
305
+ type: import("vue").PropType<boolean>;
306
+ default: boolean;
307
+ };
308
+ beforeClose: {
309
+ type: import("vue").PropType<(show: () => void) => void>;
310
+ default: any;
311
+ };
312
+ showCloseButton: {
313
+ type: import("vue").PropType<boolean>;
314
+ default: boolean;
315
+ };
316
+ }>> & {
317
+ onClose?: (reason: import("../v3").Reason) => any;
318
+ "onUpdate:modelValue"?: (value: boolean) => any;
319
+ onOpen?: () => any;
320
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
321
+ "update:modelValue": (value: boolean) => void;
322
+ open: () => void;
323
+ close: (reason: import("../v3").Reason) => void;
324
+ }, string, {
325
+ title: string;
326
+ size: "small" | "medium" | "extraSmall";
327
+ testId: string;
328
+ content: string;
329
+ subtitle: string;
330
+ appendToBody: boolean;
331
+ closeDelay: number;
332
+ openDelay: number;
333
+ escapeToClose: boolean;
334
+ showBackdrop: boolean;
335
+ closeOnClickOutside: boolean;
336
+ beforeClose: (show: () => void) => void;
337
+ showCloseButton: boolean;
338
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
339
+ $slots: {
340
+ header?(_: {}): any;
341
+ default?(_: {}): any;
342
+ footer?(_: {}): any;
343
+ };
344
+ }))[];
345
+ export { Dialog, DialogTypes };
@@ -1,4 +1,4 @@
1
- import o from "./Dialog.vue.js";
1
+ import o from "./DialogV4.vue.js";
2
2
  const p = () => [o];
3
3
  export {
4
4
  o as Dialog,
@@ -1,5 +1,5 @@
1
1
  import { useToggle as Oe } from "../../../composables/useToggle.js";
2
- import { ref as u, computed as r, watch as b, useSlots as Ae, nextTick as D, toRaw as x, provide as Pe, onMounted as Se } from "vue";
2
+ import { ref as n, computed as r, watch as b, useSlots as Ae, nextTick as D, toRaw as x, provide as Pe, onMounted as Se } from "vue";
3
3
  import { isObjectInArray as z } from "../../../utils/array.js";
4
4
  import { objectsEqual as Te } from "../../../utils/object.js";
5
5
  import { useClamp as we, useVirtualList as xe, onClickOutside as J } from "@vueuse/core";
@@ -11,9 +11,9 @@ const Ve = (l, O, A) => {
11
11
  ((e) => {
12
12
  e[e.None = 0] = "None", e[e.Next = 1] = "Next", e[e.Previous = -1] = "Previous", e[e.NextPage = 10] = "NextPage", e[e.PrevPage = -10] = "PrevPage";
13
13
  })(E || (E = {}));
14
- const a = u(
14
+ const a = n(
15
15
  l.selected
16
- ), n = r({
16
+ ), u = r({
17
17
  get() {
18
18
  return a.value;
19
19
  },
@@ -27,7 +27,7 @@ const Ve = (l, O, A) => {
27
27
  a.value = l.selected;
28
28
  }
29
29
  );
30
- const W = Ae(), P = u(null), d = u(null), C = u(null), I = u(null), V = u(null), S = u(null), Y = u(), p = u(null), H = u(null), L = u(null), Z = 8, F = r(() => S.value ? S.value.getBoundingClientRect().height + Z + l.distance : 0), c = u([]), T = u(-1), w = u(""), M = u([]), U = () => S.value?.focus(), [v, ee, le] = Oe({
30
+ const W = Ae(), P = n(null), d = n(null), C = n(null), I = n(null), V = n(null), S = n(null), Y = n(), p = n(null), H = n(null), L = n(null), Z = 8, F = r(() => S.value ? S.value.getBoundingClientRect().height + Z + l.distance : 0), c = n([]), T = n(-1), w = n(""), M = n([]), U = () => S.value?.focus(), [v, ee, le] = Oe({
31
31
  disabled: l.disabled,
32
32
  initialValue: l.defaultOpen
33
33
  });
@@ -46,14 +46,14 @@ const Ve = (l, O, A) => {
46
46
  set(e) {
47
47
  O("update:isOpen", e);
48
48
  }
49
- }), ae = r(() => s.value.length - 1), o = we(0, 0, ae), ue = r(() => n.value ? l.displayValue(n.value) : ""), ne = (e) => {
49
+ }), ae = r(() => s.value.length - 1), o = we(0, 0, ae), ue = r(() => u.value ? l.displayValue(u.value) : ""), ne = (e) => {
50
50
  if (!e.value.length && !l.multiOptionsPlaceholderPrefix && !l.multiOptionsPlaceholderSuffix)
51
51
  return l.placeholder;
52
52
  const t = !l.multiOptionsPlaceholderPrefix && !l.multiOptionsPlaceholderSuffix ? `${e.value.length} selected` : `${l.multiOptionsPlaceholderPrefix ?? ""}${e.value.length ?? "0"}${l.multiOptionsPlaceholderSuffix ?? ""}`;
53
53
  return e.value.length == 1 && l.displayValue ? l.displayValue(e.value[0]) : t;
54
54
  }, ie = r(() => {
55
55
  if (!l.multi)
56
- return n.value ? l.displayValue(n.value) : l.placeholder;
56
+ return u.value ? l.displayValue(u.value) : l.placeholder;
57
57
  if (Array.isArray(a.value))
58
58
  return ne(a);
59
59
  }), q = r(() => {
@@ -97,13 +97,13 @@ const Ve = (l, O, A) => {
97
97
  };
98
98
  b(v, (e) => {
99
99
  if (e) {
100
- G.value && Array.isArray(n.value) && (M.value = x(n.value).slice());
100
+ G.value && Array.isArray(u.value) && (M.value = x(u.value).slice());
101
101
  return;
102
102
  }
103
103
  U();
104
104
  });
105
105
  const ce = () => {
106
- ve(), n.value = a.value;
106
+ ve(), u.value = a.value;
107
107
  }, ve = () => {
108
108
  if (q.value) {
109
109
  a.value = [];
@@ -117,7 +117,7 @@ const Ve = (l, O, A) => {
117
117
  a.value = s.value;
118
118
  }
119
119
  }, de = () => {
120
- a.value = [];
120
+ a.value = [], u.value = [];
121
121
  }, _ = (e, t) => {
122
122
  if (e = x(e), c.value[t]?.disabled)
123
123
  return;
@@ -125,7 +125,7 @@ const Ve = (l, O, A) => {
125
125
  l.keepOpen || f(!1), i.goToOption(
126
126
  0
127
127
  /* None */
128
- ), n.value = e, N(""), U(), i.type === k.Search && d.value && (d.value.value = l.displayValue(e));
128
+ ), u.value = e, N(""), U(), i.type === k.Search && d.value && (d.value.value = l.displayValue(e));
129
129
  return;
130
130
  }
131
131
  if (!Array.isArray(a.value))
@@ -144,7 +144,7 @@ const Ve = (l, O, A) => {
144
144
  }, fe = (e) => c.value[e]?.disabled, i = {
145
145
  activeIndex: o,
146
146
  options: c,
147
- selectedOption: n,
147
+ selectedOption: u,
148
148
  labelRef: V,
149
149
  activeOption: I,
150
150
  listRef: P,
@@ -161,7 +161,7 @@ const Ve = (l, O, A) => {
161
161
  placeholder: l.placeholder,
162
162
  select: _,
163
163
  clearSelection: () => {
164
- N(""), n.value = i.mode === m.Single ? null : [], d.value && (d.value.value = "");
164
+ N(""), u.value = i.mode === m.Single ? null : [], d.value && (d.value.value = "");
165
165
  },
166
166
  search: N,
167
167
  goToOption: async (e) => {
@@ -217,9 +217,9 @@ const Ve = (l, O, A) => {
217
217
  })), i.goToOption(0);
218
218
  });
219
219
  const he = () => {
220
- n.value = a.value, O("apply", n.value), f(!1), ge();
220
+ u.value = a.value, O("apply", u.value), f(!1), ge();
221
221
  }, j = () => {
222
- G.value && Array.isArray(M.value) && (n.value = x(M.value).slice()), w.value = "", f(!1);
222
+ G.value && Array.isArray(M.value) && (u.value = x(M.value).slice()), w.value = "", f(!1);
223
223
  }, ye = (e) => {
224
224
  if (!l.disableKeyboardEvents)
225
225
  switch (e.key) {
@@ -298,7 +298,7 @@ const Ve = (l, O, A) => {
298
298
  onSelectAll: ce,
299
299
  virtualOptions: $,
300
300
  isSelected: Q,
301
- selectedOption: n,
301
+ selectedOption: u,
302
302
  onSelect: _,
303
303
  activeIndex: o,
304
304
  onCancel: j,
@@ -175,7 +175,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
175
175
  placement: Placement;
176
176
  disabled: boolean;
177
177
  container: string;
178
+ popperClass: string;
178
179
  selected: any;
180
+ distance: number;
179
181
  mandatory: boolean;
180
182
  modelValue: any;
181
183
  placeholder: string;
@@ -185,11 +187,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
185
187
  isOnTop: boolean;
186
188
  multi: boolean;
187
189
  inlineSearch: boolean;
188
- popperClass: string;
189
190
  noResultsText: string;
190
191
  defaultOpen: boolean;
191
192
  showButtonOnOpen: boolean;
192
- distance: number;
193
193
  skidding: number;
194
194
  clearable: boolean;
195
195
  onSearch: (option: any, term: string) => boolean;