@maple-design/ui-vue 1.1.0 → 1.1.1

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 (345) hide show
  1. package/es/_components/field-presentation/EditorPanel.vue.mjs +3 -3
  2. package/es/_components/field-presentation/editor-pending.mjs +4 -0
  3. package/es/_components/field-presentation/form-bridge.mjs +1 -1
  4. package/es/_components/field-presentation/with-field-presentation.mjs +51 -8
  5. package/es/_components/picker-field/PickerField.vue.mjs +3 -13
  6. package/es/_components/picker-field/TemporalCurrent.vue.mjs +2 -3
  7. package/es/_components/picker-field/range-labels.mjs +18 -0
  8. package/es/_components/selected-options/style/index.css +33 -15
  9. package/es/_components/selection-field/use-selection-session.mjs +1 -0
  10. package/es/_components/virtual-list-v2/VirtualList2.vue.mjs +26 -4
  11. package/es/action-sheet/ActionSheet2.vue.mjs +2 -3
  12. package/es/auto-complete/auto-complete.mjs +2 -2
  13. package/es/auto-complete/presentation.mjs +1 -0
  14. package/es/auto-complete/props.mjs +2 -0
  15. package/es/auto-complete/style/index.css +7 -2
  16. package/es/back-top/style/index.css +1 -1
  17. package/es/breadcrumb/style/index.css +1 -1
  18. package/es/button/base.mjs +7 -0
  19. package/es/button/index.mjs +9 -9
  20. package/es/button/style/index.css +1 -1
  21. package/es/card/Card.vue.mjs +55 -13
  22. package/es/carousel/style/index.css +1 -1
  23. package/es/carousel/use-carousel-locale.mjs +10 -3
  24. package/es/cascader/CascaderMenu.vue.mjs +2 -2
  25. package/es/cascader/cascader-option.mjs +15 -6
  26. package/es/cascader/field-adapter.mjs +1 -0
  27. package/es/cascader/props.mjs +2 -0
  28. package/es/cascader/style/index.css +36 -9
  29. package/es/cascader/style/index.mjs +1 -0
  30. package/es/cascader/use-cascader-focus.mjs +9 -6
  31. package/es/checkbox/CheckboxGroup.vue.mjs +2 -2
  32. package/es/checkbox/base.mjs +7 -0
  33. package/es/checkbox/index.mjs +1 -1
  34. package/es/checkbox/presentation.mjs +2 -2
  35. package/es/checkbox/style/index.css +1 -1
  36. package/es/countdown/use-countdown.mjs +9 -2
  37. package/es/date/DatePanelActions.vue.mjs +4 -4
  38. package/es/date/DateRangeQuickPanel.vue.mjs +2 -2
  39. package/es/date/DateShortcuts.vue.mjs +2 -2
  40. package/es/date/field-adapter.mjs +2 -3
  41. package/es/date/picker-panels/DayPickerPanel2.vue.mjs +4 -5
  42. package/es/date/picker-panels/MonthPickerPanel2.vue.mjs +5 -6
  43. package/es/date/picker-panels/PanelHeader2.vue.mjs +6 -7
  44. package/es/date/picker-panels/YearPickerPanel2.vue.mjs +2 -2
  45. package/es/date/presentation/CalendarContent2.vue.mjs +13 -14
  46. package/es/date/presentation/CalendarViewport.vue.mjs +2 -3
  47. package/es/date/presentation/use-date-locale.mjs +2 -3
  48. package/es/date/presentation/use-field-locale.mjs +5 -6
  49. package/es/date/presentation/use-panel-actions-locale.mjs +4 -5
  50. package/es/date-range/presentation/RangeContent2.vue.mjs +4 -5
  51. package/es/dialog/Dialog.vue.mjs +3 -3
  52. package/es/ellipsis/style/index.css +1 -1
  53. package/es/fab/Fab.mjs +4 -5
  54. package/es/form/FormItemLabel.vue.mjs +4 -3
  55. package/es/form/focus-explicit-label.mjs +52 -0
  56. package/es/input/base.mjs +7 -0
  57. package/es/input/index.mjs +19 -19
  58. package/es/locale/date-text.mjs +38 -0
  59. package/es/locale/misc-text.mjs +23 -0
  60. package/es/locale/temporal-text.mjs +22 -0
  61. package/es/locale/zh-CN.mjs +235 -131
  62. package/es/maple-vue.mjs +1 -1
  63. package/es/maple.css +273 -207
  64. package/es/maple.esm.js +19385 -18978
  65. package/es/nav-menu/style/index.css +1 -1
  66. package/es/notice-bar/NoticeBar2.vue.mjs +2 -3
  67. package/es/number-keyboard/NumberKeyboard2.vue.mjs +5 -6
  68. package/es/pagination/PageInput.vue.mjs +2 -2
  69. package/es/pagination/style/index.css +2 -2
  70. package/es/people-select/PeopleSelect.mjs +35 -54
  71. package/es/people-select/Person.vue.mjs +3 -3
  72. package/es/people-select/emits.mjs +1 -1
  73. package/es/people-select/people-select.mjs +6 -8
  74. package/es/people-select/presentation.mjs +3 -1
  75. package/es/people-select/props.mjs +9 -3
  76. package/es/people-select/selection.mjs +64 -0
  77. package/es/people-select/style/index.css +6 -0
  78. package/es/picker/Picker.vue.mjs +2 -2
  79. package/es/picker/Picker2.vue.mjs +4 -5
  80. package/es/picker/base.mjs +7 -0
  81. package/es/picker/index.mjs +5 -5
  82. package/es/progress/style/index.css +2 -2
  83. package/es/radio/style/index.css +1 -1
  84. package/es/rate/style/index.css +2 -2
  85. package/es/ripple/index.mjs +78 -0
  86. package/es/search/HistoryContent.vue.mjs +4 -4
  87. package/es/search/Search.vue.mjs +4 -4
  88. package/es/search/props.mjs +1 -2
  89. package/es/select/props.mjs +2 -0
  90. package/es/select/select.mjs +14 -4
  91. package/es/select/style/index.css +22 -12
  92. package/es/select/use-select-controller.mjs +22 -2
  93. package/es/slider/Slider.vue.mjs +43 -21
  94. package/es/slider/SliderInput.vue.mjs +14 -2
  95. package/es/slider/style/index.css +2 -2
  96. package/es/steps/style/index.css +10 -10
  97. package/es/switch/Switch.vue.mjs +12 -1
  98. package/es/switch/style/index.css +1 -1
  99. package/es/tab-bar/TabBar.vue.mjs +2 -2
  100. package/es/tab-bar/style/index.css +2 -2
  101. package/es/tabs/style/index.css +1 -1
  102. package/es/tabs/use-tabs-configuration.mjs +2 -3
  103. package/es/themes/alps-light/index.mjs +10 -11
  104. package/es/themes/create-brand-dark.mjs +18 -0
  105. package/es/themes/dark/breadcrumb-item.mjs +1 -1
  106. package/es/themes/dark/cascader.mjs +1 -1
  107. package/es/themes/dark/index.mjs +2 -2
  108. package/es/themes/firefly-light/index.mjs +12 -13
  109. package/es/themes/index.mjs +2 -2
  110. package/es/themes/maple-light/index.mjs +2 -2
  111. package/es/time/presentation/TimeFieldPanel.vue.mjs +2 -2
  112. package/es/time/presentation/TimePanelContent2.vue.mjs +8 -9
  113. package/es/time/presentation/use-field-locale.mjs +5 -6
  114. package/es/time/props.mjs +1 -1
  115. package/es/time-range/presentation/TimePanelContent2.vue.mjs +6 -7
  116. package/es/time-range/props.mjs +1 -1
  117. package/es/trigger/popup-move-focus.mjs +6 -6
  118. package/es/trigger/position.mjs +49 -3
  119. package/es/trigger/positioner.mjs +34 -5
  120. package/es/trigger/trigger.mjs +1 -1
  121. package/es/upload/Upload.vue.mjs +18 -2
  122. package/es/upload/composables/use-upload-queue.mjs +10 -1
  123. package/es/upload/composables/use-uploader.mjs +45 -11
  124. package/es/upload/use-upload-locale.mjs +16 -12
  125. package/es/utils/modal-focus.mjs +9 -2
  126. package/es/utils/modal-surface.mjs +9 -3
  127. package/highlight/web-types.en-US.json +698 -176
  128. package/highlight/web-types.zh-CN.json +699 -177
  129. package/lib/_components/field-presentation/EditorPanel.vue.js +3 -3
  130. package/lib/_components/field-presentation/editor-pending.js +4 -0
  131. package/lib/_components/field-presentation/with-field-presentation.js +50 -7
  132. package/lib/_components/picker-field/PickerField.vue.js +3 -13
  133. package/lib/_components/picker-field/TemporalCurrent.vue.js +2 -3
  134. package/lib/_components/picker-field/range-labels.js +18 -0
  135. package/lib/_components/selected-options/style/index.css +33 -15
  136. package/lib/_components/selection-field/use-selection-session.js +1 -0
  137. package/lib/_components/virtual-list-v2/VirtualList2.vue.js +25 -3
  138. package/lib/action-sheet/ActionSheet2.vue.js +2 -3
  139. package/lib/auto-complete/auto-complete.js +2 -2
  140. package/lib/auto-complete/presentation.js +1 -0
  141. package/lib/auto-complete/props.js +2 -0
  142. package/lib/auto-complete/style/index.css +7 -2
  143. package/lib/back-top/style/index.css +1 -1
  144. package/lib/breadcrumb/style/index.css +1 -1
  145. package/lib/button/base.js +7 -0
  146. package/lib/button/index.js +4 -4
  147. package/lib/button/style/index.css +1 -1
  148. package/lib/card/Card.vue.js +55 -13
  149. package/lib/carousel/style/index.css +1 -1
  150. package/lib/carousel/use-carousel-locale.js +9 -2
  151. package/lib/cascader/CascaderMenu.vue.js +2 -2
  152. package/lib/cascader/cascader-option.js +15 -6
  153. package/lib/cascader/field-adapter.js +1 -0
  154. package/lib/cascader/props.js +2 -0
  155. package/lib/cascader/style/index.css +36 -9
  156. package/lib/cascader/style/index.js +1 -0
  157. package/lib/cascader/use-cascader-focus.js +9 -6
  158. package/lib/checkbox/base.js +7 -0
  159. package/lib/checkbox/index.js +4 -4
  160. package/lib/checkbox/presentation.js +2 -2
  161. package/lib/checkbox/style/index.css +1 -1
  162. package/lib/countdown/use-countdown.js +9 -2
  163. package/lib/date/DatePanelActions.vue.js +4 -4
  164. package/lib/date/DateRangeQuickPanel.vue.js +2 -2
  165. package/lib/date/DateShortcuts.vue.js +2 -2
  166. package/lib/date/field-adapter.js +2 -3
  167. package/lib/date/picker-panels/DayPickerPanel2.vue.js +6 -7
  168. package/lib/date/picker-panels/MonthPickerPanel2.vue.js +7 -8
  169. package/lib/date/picker-panels/PanelHeader2.vue.js +6 -7
  170. package/lib/date/picker-panels/YearPickerPanel2.vue.js +2 -2
  171. package/lib/date/presentation/CalendarContent2.vue.js +13 -14
  172. package/lib/date/presentation/CalendarViewport.vue.js +2 -3
  173. package/lib/date/presentation/use-date-locale.js +2 -3
  174. package/lib/date/presentation/use-field-locale.js +5 -6
  175. package/lib/date/presentation/use-panel-actions-locale.js +4 -5
  176. package/lib/date-range/presentation/RangeContent2.vue.js +4 -5
  177. package/lib/dialog/Dialog.vue.js +3 -3
  178. package/lib/ellipsis/style/index.css +1 -1
  179. package/lib/fab/Fab.js +4 -5
  180. package/lib/form/FormItemLabel.vue.js +3 -2
  181. package/lib/form/focus-explicit-label.js +52 -0
  182. package/lib/input/base.js +7 -0
  183. package/lib/input/index.js +5 -5
  184. package/lib/locale/date-text.js +38 -0
  185. package/lib/locale/misc-text.js +23 -0
  186. package/lib/locale/temporal-text.js +22 -0
  187. package/lib/locale/zh-CN.js +234 -130
  188. package/lib/maple-vue.js +1 -1
  189. package/lib/maple.cjs.js +3637 -2963
  190. package/lib/maple.css +273 -207
  191. package/lib/nav-menu/style/index.css +1 -1
  192. package/lib/notice-bar/NoticeBar2.vue.js +2 -3
  193. package/lib/number-keyboard/NumberKeyboard2.vue.js +5 -6
  194. package/lib/pagination/PageInput.vue.js +2 -2
  195. package/lib/pagination/style/index.css +2 -2
  196. package/lib/people-select/PeopleSelect.js +34 -53
  197. package/lib/people-select/Person.vue.js +3 -3
  198. package/lib/people-select/emits.js +1 -1
  199. package/lib/people-select/people-select.js +6 -8
  200. package/lib/people-select/presentation.js +3 -1
  201. package/lib/people-select/props.js +9 -3
  202. package/lib/people-select/selection.js +64 -0
  203. package/lib/people-select/style/index.css +6 -0
  204. package/lib/picker/Picker.vue.js +2 -2
  205. package/lib/picker/Picker2.vue.js +4 -5
  206. package/lib/picker/base.js +7 -0
  207. package/lib/picker/index.js +5 -5
  208. package/lib/progress/style/index.css +2 -2
  209. package/lib/radio/style/index.css +1 -1
  210. package/lib/rate/style/index.css +2 -2
  211. package/lib/ripple/index.js +78 -0
  212. package/lib/search/HistoryContent.vue.js +4 -4
  213. package/lib/search/Search.vue.js +4 -4
  214. package/lib/search/props.js +1 -2
  215. package/lib/select/props.js +2 -0
  216. package/lib/select/select.js +14 -4
  217. package/lib/select/style/index.css +22 -12
  218. package/lib/select/use-select-controller.js +22 -2
  219. package/lib/slider/Slider.vue.js +42 -20
  220. package/lib/slider/SliderInput.vue.js +14 -2
  221. package/lib/slider/style/index.css +2 -2
  222. package/lib/steps/style/index.css +10 -10
  223. package/lib/switch/Switch.vue.js +11 -0
  224. package/lib/switch/style/index.css +1 -1
  225. package/lib/tab-bar/TabBar.vue.js +2 -2
  226. package/lib/tab-bar/style/index.css +2 -2
  227. package/lib/tabs/style/index.css +1 -1
  228. package/lib/tabs/use-tabs-configuration.js +2 -3
  229. package/lib/themes/alps-light/index.js +10 -11
  230. package/lib/themes/create-brand-dark.js +18 -0
  231. package/lib/themes/dark/breadcrumb-item.js +1 -1
  232. package/lib/themes/dark/cascader.js +1 -1
  233. package/lib/themes/dark/index.js +2 -2
  234. package/lib/themes/firefly-light/index.js +12 -13
  235. package/lib/themes/index.js +2 -2
  236. package/lib/themes/maple-light/index.js +2 -2
  237. package/lib/time/presentation/TimeFieldPanel.vue.js +2 -2
  238. package/lib/time/presentation/TimePanelContent2.vue.js +8 -9
  239. package/lib/time/presentation/use-field-locale.js +5 -6
  240. package/lib/time/props.js +1 -1
  241. package/lib/time-range/presentation/TimePanelContent2.vue.js +6 -7
  242. package/lib/time-range/props.js +1 -1
  243. package/lib/trigger/popup-move-focus.js +6 -6
  244. package/lib/trigger/position.js +48 -2
  245. package/lib/trigger/positioner.js +33 -4
  246. package/lib/trigger/trigger.js +1 -1
  247. package/lib/upload/Upload.vue.js +17 -1
  248. package/lib/upload/composables/use-upload-queue.js +10 -1
  249. package/lib/upload/composables/use-uploader.js +45 -11
  250. package/lib/upload/use-upload-locale.js +15 -11
  251. package/lib/utils/modal-focus.js +9 -2
  252. package/lib/utils/modal-surface.js +9 -3
  253. package/package.json +6 -6
  254. package/types/styleVars.d.ts +3 -0
  255. package/types-generated/_components/field-presentation/editor-pending.d.ts +3 -0
  256. package/types-generated/_components/field-presentation/with-field-presentation.d.ts +2 -0
  257. package/types-generated/_components/picker-field/range-labels.d.ts +1 -0
  258. package/types-generated/action-sheet/ActionSheet.vue.d.ts +2 -1
  259. package/types-generated/action-sheet/index.d.ts +1 -1
  260. package/types-generated/auto-complete/auto-complete.d.ts +13 -4
  261. package/types-generated/auto-complete/index.d.ts +30 -0
  262. package/types-generated/auto-complete/presentation.d.ts +9 -0
  263. package/types-generated/auto-complete/props.d.ts +5 -1
  264. package/types-generated/breadcrumb/index.d.ts +72 -2
  265. package/types-generated/button/base.d.ts +266 -0
  266. package/types-generated/button/index.d.ts +3 -1
  267. package/types-generated/cascader/Cascader.vue.d.ts +10 -1
  268. package/types-generated/cascader/CascaderPanel.vue.d.ts +1 -1
  269. package/types-generated/cascader/index.d.ts +39 -9
  270. package/types-generated/cascader/presentation.d.ts +18 -3
  271. package/types-generated/cascader/props.d.ts +5 -0
  272. package/types-generated/cascader/style/index.d.ts +1 -0
  273. package/types-generated/cascader/use-cascader-controller.d.ts +4 -0
  274. package/types-generated/checkbox/base.d.ts +361 -0
  275. package/types-generated/checkbox/index.d.ts +362 -3
  276. package/types-generated/date/picker-panels/DayPickerPanel.vue.d.ts +6 -248
  277. package/types-generated/date/picker-panels/MonthPickerPanel.vue.d.ts +8 -249
  278. package/types-generated/date/picker-panels/PanelHeader.vue.d.ts +3 -124
  279. package/types-generated/date/picker-panels/YearPickerPanel.vue.d.ts +6 -248
  280. package/types-generated/date/presentation/CalendarContent.vue.d.ts +1169 -966
  281. package/types-generated/date-range/presentation/RangeContent.vue.d.ts +2561 -1430
  282. package/types-generated/form/focus-explicit-label.d.ts +2 -0
  283. package/types-generated/index.d.ts +1 -1
  284. package/types-generated/input/base.d.ts +481 -0
  285. package/types-generated/input/index.d.ts +2 -0
  286. package/types-generated/locale/date-text.d.ts +2 -0
  287. package/types-generated/locale/misc-text.d.ts +2 -0
  288. package/types-generated/locale/temporal-text.d.ts +2 -0
  289. package/types-generated/maple-vue.d.ts +1 -1
  290. package/types-generated/menu/index.d.ts +1022 -2
  291. package/types-generated/people-select/PeopleSelect.d.ts +38 -16
  292. package/types-generated/people-select/emits.d.ts +3 -2
  293. package/types-generated/people-select/index.d.ts +135 -63
  294. package/types-generated/people-select/people-select.d.ts +47 -16
  295. package/types-generated/people-select/presentation.d.ts +46 -16
  296. package/types-generated/people-select/props.d.ts +18 -7
  297. package/types-generated/people-select/selection.d.ts +11 -0
  298. package/types-generated/people-select/types.d.ts +5 -1
  299. package/types-generated/picker/Picker.vue.d.ts +5 -125
  300. package/types-generated/picker/base.d.ts +2043 -0
  301. package/types-generated/picker/index.d.ts +1134 -206
  302. package/types-generated/radio/index.d.ts +365 -2
  303. package/types-generated/search/Search.vue.d.ts +2 -2
  304. package/types-generated/search/props.d.ts +1 -1
  305. package/types-generated/select/index.d.ts +30 -0
  306. package/types-generated/select/native-editor-owner.d.ts +1 -0
  307. package/types-generated/select/props.d.ts +6 -1
  308. package/types-generated/select/select.d.ts +9 -0
  309. package/types-generated/select/use-select-controller.d.ts +5 -0
  310. package/types-generated/slider/SliderInput.vue.d.ts +4 -0
  311. package/types-generated/themes/dark/cascader.d.ts +1 -1
  312. package/types-generated/themes/index.d.ts +2 -2
  313. package/types-generated/time/presentation/TimePanelContent.vue.d.ts +1117 -309
  314. package/types-generated/time/props.d.ts +3 -2
  315. package/types-generated/time-range/picker-props.d.ts +1 -1
  316. package/types-generated/time-range/presentation/TimePanelContent.vue.d.ts +1125 -317
  317. package/types-generated/time-range/props.d.ts +6 -5
  318. package/types-generated/trigger/position.d.ts +1 -0
  319. package/types-generated/upload/Upload.vue.d.ts +11 -11
  320. package/types-generated/upload/composables/use-upload-queue.d.ts +1 -0
  321. package/types-generated/upload/composables/use-uploader.d.ts +2 -0
  322. package/types-generated/utils/modal-focus.d.ts +1 -0
  323. package/umd/_components/selected-options/style/index.css +33 -15
  324. package/umd/auto-complete/style/index.css +7 -2
  325. package/umd/back-top/style/index.css +1 -1
  326. package/umd/breadcrumb/style/index.css +1 -1
  327. package/umd/button/style/index.css +1 -1
  328. package/umd/carousel/style/index.css +1 -1
  329. package/umd/cascader/style/index.css +36 -9
  330. package/umd/checkbox/style/index.css +1 -1
  331. package/umd/ellipsis/style/index.css +1 -1
  332. package/umd/maple.css +273 -207
  333. package/umd/maple.js +3 -3
  334. package/umd/nav-menu/style/index.css +1 -1
  335. package/umd/pagination/style/index.css +2 -2
  336. package/umd/people-select/style/index.css +6 -0
  337. package/umd/progress/style/index.css +2 -2
  338. package/umd/radio/style/index.css +1 -1
  339. package/umd/rate/style/index.css +2 -2
  340. package/umd/select/style/index.css +22 -12
  341. package/umd/slider/style/index.css +2 -2
  342. package/umd/steps/style/index.css +10 -10
  343. package/umd/switch/style/index.css +1 -1
  344. package/umd/tab-bar/style/index.css +2 -2
  345. package/umd/tabs/style/index.css +1 -1
@@ -3,7 +3,7 @@ import { peopleSelectProps } from './props';
3
3
  declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
4
4
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
5
  emptyValue: {
6
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
6
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
7
7
  default: undefined;
8
8
  };
9
9
  fallbackOption: {
@@ -59,13 +59,19 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
59
59
  type: StringConstructor;
60
60
  default: string;
61
61
  };
62
+ multiple: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
62
66
  modelValue: {
63
- type: import("vue").PropType<string | null>;
67
+ type: import("vue").PropType<import("./types").PeopleSelectValue>;
64
68
  default: undefined;
65
69
  };
66
70
  defaultValue: {
67
- type: StringConstructor;
68
- default: string;
71
+ type: import("vue").PropType<string | string[]>;
72
+ default: (props: {
73
+ multiple?: boolean | undefined;
74
+ }) => "" | never[];
69
75
  };
70
76
  isLabel: {
71
77
  type: BooleanConstructor;
@@ -110,6 +116,10 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
110
116
  default: undefined;
111
117
  validator: ((value: unknown) => boolean) | undefined;
112
118
  };
119
+ needConfirm: {
120
+ type: BooleanConstructor;
121
+ default: undefined;
122
+ };
113
123
  loading: BooleanConstructor;
114
124
  loadingMode: {
115
125
  type: import("vue").PropType<"default" | "line">;
@@ -119,21 +129,21 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
119
129
  }>> & Readonly<{
120
130
  onClear?: (() => any) | undefined;
121
131
  onSearch?: ((query: string) => any) | undefined;
122
- onChange?: ((value: string | null) => any) | undefined;
132
+ onChange?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
123
133
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
124
134
  "onOpen-change"?: ((open: boolean) => any) | undefined;
125
135
  "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
126
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
136
+ "onUpdate:modelValue"?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
127
137
  "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
128
138
  }>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
129
139
  [key: string]: any;
130
140
  }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
131
141
  [key: string]: any;
132
142
  }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
133
- 'update:modelValue': (value: string | null) => boolean;
143
+ 'update:modelValue': (value: import("./types").PeopleSelectValue) => boolean;
134
144
  'update:open': (open: boolean) => boolean;
135
145
  'open-change': (open: boolean) => boolean;
136
- change: (value: string | null) => boolean;
146
+ change: (value: import("./types").PeopleSelectValue) => boolean;
137
147
  clear: () => boolean;
138
148
  search: (query: string) => boolean;
139
149
  'load-error': (_error: unknown, source: "options") => boolean;
@@ -141,11 +151,12 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
141
151
  }, import("vue").PublicProps, {
142
152
  label: string;
143
153
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
144
- modelValue: string | null;
154
+ multiple: boolean;
155
+ modelValue: import("./types").PeopleSelectValue;
145
156
  readonly: boolean;
146
- defaultValue: string;
157
+ defaultValue: string | string[];
147
158
  disabled: boolean;
148
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
159
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
149
160
  loading: boolean;
150
161
  open: boolean;
151
162
  defaultOpen: boolean;
@@ -156,6 +167,7 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
156
167
  clearable: boolean;
157
168
  emptyValues: readonly unknown[];
158
169
  emptyText: string;
170
+ needConfirm: boolean;
159
171
  searchDelay: number;
160
172
  filterOption: boolean | ((inputValue: string, option: import("..").SelectOptionData) => boolean);
161
173
  caseSensitive: boolean;
@@ -176,7 +188,7 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
176
188
  Defaults: {};
177
189
  }, Readonly<import("vue").ExtractPropTypes<{
178
190
  emptyValue: {
179
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
191
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
180
192
  default: undefined;
181
193
  };
182
194
  fallbackOption: {
@@ -232,13 +244,19 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
232
244
  type: StringConstructor;
233
245
  default: string;
234
246
  };
247
+ multiple: {
248
+ type: BooleanConstructor;
249
+ default: boolean;
250
+ };
235
251
  modelValue: {
236
- type: import("vue").PropType<string | null>;
252
+ type: import("vue").PropType<import("./types").PeopleSelectValue>;
237
253
  default: undefined;
238
254
  };
239
255
  defaultValue: {
240
- type: StringConstructor;
241
- default: string;
256
+ type: import("vue").PropType<string | string[]>;
257
+ default: (props: {
258
+ multiple?: boolean | undefined;
259
+ }) => "" | never[];
242
260
  };
243
261
  isLabel: {
244
262
  type: BooleanConstructor;
@@ -283,6 +301,10 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
283
301
  default: undefined;
284
302
  validator: ((value: unknown) => boolean) | undefined;
285
303
  };
304
+ needConfirm: {
305
+ type: BooleanConstructor;
306
+ default: undefined;
307
+ };
286
308
  loading: BooleanConstructor;
287
309
  loadingMode: {
288
310
  type: import("vue").PropType<"default" | "line">;
@@ -292,11 +314,11 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
292
314
  }>> & Readonly<{
293
315
  onClear?: (() => any) | undefined;
294
316
  onSearch?: ((query: string) => any) | undefined;
295
- onChange?: ((value: string | null) => any) | undefined;
317
+ onChange?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
296
318
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
297
319
  "onOpen-change"?: ((open: boolean) => any) | undefined;
298
320
  "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
299
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
321
+ "onUpdate:modelValue"?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
300
322
  "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
301
323
  }>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
302
324
  [key: string]: any;
@@ -305,11 +327,12 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
305
327
  }>[] | undefined, {}, {}, {}, {
306
328
  label: string;
307
329
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
308
- modelValue: string | null;
330
+ multiple: boolean;
331
+ modelValue: import("./types").PeopleSelectValue;
309
332
  readonly: boolean;
310
- defaultValue: string;
333
+ defaultValue: string | string[];
311
334
  disabled: boolean;
312
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
335
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
313
336
  loading: boolean;
314
337
  open: boolean;
315
338
  defaultOpen: boolean;
@@ -320,6 +343,7 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
320
343
  clearable: boolean;
321
344
  emptyValues: readonly unknown[];
322
345
  emptyText: string;
346
+ needConfirm: boolean;
323
347
  searchDelay: number;
324
348
  filterOption: boolean | ((inputValue: string, option: import("..").SelectOptionData) => boolean);
325
349
  caseSensitive: boolean;
@@ -337,7 +361,7 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
337
361
  __isSuspense?: undefined;
338
362
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
339
363
  emptyValue: {
340
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
364
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
341
365
  default: undefined;
342
366
  };
343
367
  fallbackOption: {
@@ -393,13 +417,19 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
393
417
  type: StringConstructor;
394
418
  default: string;
395
419
  };
420
+ multiple: {
421
+ type: BooleanConstructor;
422
+ default: boolean;
423
+ };
396
424
  modelValue: {
397
- type: import("vue").PropType<string | null>;
425
+ type: import("vue").PropType<import("./types").PeopleSelectValue>;
398
426
  default: undefined;
399
427
  };
400
428
  defaultValue: {
401
- type: StringConstructor;
402
- default: string;
429
+ type: import("vue").PropType<string | string[]>;
430
+ default: (props: {
431
+ multiple?: boolean | undefined;
432
+ }) => "" | never[];
403
433
  };
404
434
  isLabel: {
405
435
  type: BooleanConstructor;
@@ -444,6 +474,10 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
444
474
  default: undefined;
445
475
  validator: ((value: unknown) => boolean) | undefined;
446
476
  };
477
+ needConfirm: {
478
+ type: BooleanConstructor;
479
+ default: undefined;
480
+ };
447
481
  loading: BooleanConstructor;
448
482
  loadingMode: {
449
483
  type: import("vue").PropType<"default" | "line">;
@@ -453,21 +487,21 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
453
487
  }>> & Readonly<{
454
488
  onClear?: (() => any) | undefined;
455
489
  onSearch?: ((query: string) => any) | undefined;
456
- onChange?: ((value: string | null) => any) | undefined;
490
+ onChange?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
457
491
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
458
492
  "onOpen-change"?: ((open: boolean) => any) | undefined;
459
493
  "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
460
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
494
+ "onUpdate:modelValue"?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
461
495
  "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
462
496
  }>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
463
497
  [key: string]: any;
464
498
  }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
465
499
  [key: string]: any;
466
500
  }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
467
- 'update:modelValue': (value: string | null) => boolean;
501
+ 'update:modelValue': (value: import("./types").PeopleSelectValue) => boolean;
468
502
  'update:open': (open: boolean) => boolean;
469
503
  'open-change': (open: boolean) => boolean;
470
- change: (value: string | null) => boolean;
504
+ change: (value: import("./types").PeopleSelectValue) => boolean;
471
505
  clear: () => boolean;
472
506
  search: (query: string) => boolean;
473
507
  'load-error': (_error: unknown, source: "options") => boolean;
@@ -475,11 +509,12 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
475
509
  }, string, {
476
510
  label: string;
477
511
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
478
- modelValue: string | null;
512
+ multiple: boolean;
513
+ modelValue: import("./types").PeopleSelectValue;
479
514
  readonly: boolean;
480
- defaultValue: string;
515
+ defaultValue: string | string[];
481
516
  disabled: boolean;
482
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
517
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
483
518
  loading: boolean;
484
519
  open: boolean;
485
520
  defaultOpen: boolean;
@@ -490,6 +525,7 @@ declare const PeopleSelect: import("../utils/components").ComponentWithInstall<{
490
525
  clearable: boolean;
491
526
  emptyValues: readonly unknown[];
492
527
  emptyText: string;
528
+ needConfirm: boolean;
493
529
  searchDelay: number;
494
530
  filterOption: boolean | ((inputValue: string, option: import("..").SelectOptionData) => boolean);
495
531
  caseSensitive: boolean;
@@ -509,7 +545,7 @@ export { PeopleSelect };
509
545
  export declare const _PeopleSelectComponent: import("../utils/components").ComponentWithInstall<{
510
546
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
511
547
  emptyValue: {
512
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
548
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
513
549
  default: undefined;
514
550
  };
515
551
  fallbackOption: {
@@ -565,13 +601,19 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
565
601
  type: StringConstructor;
566
602
  default: string;
567
603
  };
604
+ multiple: {
605
+ type: BooleanConstructor;
606
+ default: boolean;
607
+ };
568
608
  modelValue: {
569
- type: import("vue").PropType<string | null>;
609
+ type: import("vue").PropType<import("./types").PeopleSelectValue>;
570
610
  default: undefined;
571
611
  };
572
612
  defaultValue: {
573
- type: StringConstructor;
574
- default: string;
613
+ type: import("vue").PropType<string | string[]>;
614
+ default: (props: {
615
+ multiple?: boolean | undefined;
616
+ }) => "" | never[];
575
617
  };
576
618
  isLabel: {
577
619
  type: BooleanConstructor;
@@ -616,6 +658,10 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
616
658
  default: undefined;
617
659
  validator: ((value: unknown) => boolean) | undefined;
618
660
  };
661
+ needConfirm: {
662
+ type: BooleanConstructor;
663
+ default: undefined;
664
+ };
619
665
  loading: BooleanConstructor;
620
666
  loadingMode: {
621
667
  type: import("vue").PropType<"default" | "line">;
@@ -625,21 +671,21 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
625
671
  }>> & Readonly<{
626
672
  onClear?: (() => any) | undefined;
627
673
  onSearch?: ((query: string) => any) | undefined;
628
- onChange?: ((value: string | null) => any) | undefined;
674
+ onChange?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
629
675
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
630
676
  "onOpen-change"?: ((open: boolean) => any) | undefined;
631
677
  "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
632
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
678
+ "onUpdate:modelValue"?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
633
679
  "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
634
680
  }>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
635
681
  [key: string]: any;
636
682
  }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
637
683
  [key: string]: any;
638
684
  }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
639
- 'update:modelValue': (value: string | null) => boolean;
685
+ 'update:modelValue': (value: import("./types").PeopleSelectValue) => boolean;
640
686
  'update:open': (open: boolean) => boolean;
641
687
  'open-change': (open: boolean) => boolean;
642
- change: (value: string | null) => boolean;
688
+ change: (value: import("./types").PeopleSelectValue) => boolean;
643
689
  clear: () => boolean;
644
690
  search: (query: string) => boolean;
645
691
  'load-error': (_error: unknown, source: "options") => boolean;
@@ -647,11 +693,12 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
647
693
  }, import("vue").PublicProps, {
648
694
  label: string;
649
695
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
650
- modelValue: string | null;
696
+ multiple: boolean;
697
+ modelValue: import("./types").PeopleSelectValue;
651
698
  readonly: boolean;
652
- defaultValue: string;
699
+ defaultValue: string | string[];
653
700
  disabled: boolean;
654
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
701
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
655
702
  loading: boolean;
656
703
  open: boolean;
657
704
  defaultOpen: boolean;
@@ -662,6 +709,7 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
662
709
  clearable: boolean;
663
710
  emptyValues: readonly unknown[];
664
711
  emptyText: string;
712
+ needConfirm: boolean;
665
713
  searchDelay: number;
666
714
  filterOption: boolean | ((inputValue: string, option: import("..").SelectOptionData) => boolean);
667
715
  caseSensitive: boolean;
@@ -682,7 +730,7 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
682
730
  Defaults: {};
683
731
  }, Readonly<import("vue").ExtractPropTypes<{
684
732
  emptyValue: {
685
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
733
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
686
734
  default: undefined;
687
735
  };
688
736
  fallbackOption: {
@@ -738,13 +786,19 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
738
786
  type: StringConstructor;
739
787
  default: string;
740
788
  };
789
+ multiple: {
790
+ type: BooleanConstructor;
791
+ default: boolean;
792
+ };
741
793
  modelValue: {
742
- type: import("vue").PropType<string | null>;
794
+ type: import("vue").PropType<import("./types").PeopleSelectValue>;
743
795
  default: undefined;
744
796
  };
745
797
  defaultValue: {
746
- type: StringConstructor;
747
- default: string;
798
+ type: import("vue").PropType<string | string[]>;
799
+ default: (props: {
800
+ multiple?: boolean | undefined;
801
+ }) => "" | never[];
748
802
  };
749
803
  isLabel: {
750
804
  type: BooleanConstructor;
@@ -789,6 +843,10 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
789
843
  default: undefined;
790
844
  validator: ((value: unknown) => boolean) | undefined;
791
845
  };
846
+ needConfirm: {
847
+ type: BooleanConstructor;
848
+ default: undefined;
849
+ };
792
850
  loading: BooleanConstructor;
793
851
  loadingMode: {
794
852
  type: import("vue").PropType<"default" | "line">;
@@ -798,11 +856,11 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
798
856
  }>> & Readonly<{
799
857
  onClear?: (() => any) | undefined;
800
858
  onSearch?: ((query: string) => any) | undefined;
801
- onChange?: ((value: string | null) => any) | undefined;
859
+ onChange?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
802
860
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
803
861
  "onOpen-change"?: ((open: boolean) => any) | undefined;
804
862
  "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
805
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
863
+ "onUpdate:modelValue"?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
806
864
  "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
807
865
  }>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
808
866
  [key: string]: any;
@@ -811,11 +869,12 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
811
869
  }>[] | undefined, {}, {}, {}, {
812
870
  label: string;
813
871
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
814
- modelValue: string | null;
872
+ multiple: boolean;
873
+ modelValue: import("./types").PeopleSelectValue;
815
874
  readonly: boolean;
816
- defaultValue: string;
875
+ defaultValue: string | string[];
817
876
  disabled: boolean;
818
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
877
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
819
878
  loading: boolean;
820
879
  open: boolean;
821
880
  defaultOpen: boolean;
@@ -826,6 +885,7 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
826
885
  clearable: boolean;
827
886
  emptyValues: readonly unknown[];
828
887
  emptyText: string;
888
+ needConfirm: boolean;
829
889
  searchDelay: number;
830
890
  filterOption: boolean | ((inputValue: string, option: import("..").SelectOptionData) => boolean);
831
891
  caseSensitive: boolean;
@@ -843,7 +903,7 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
843
903
  __isSuspense?: undefined;
844
904
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
845
905
  emptyValue: {
846
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
906
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
847
907
  default: undefined;
848
908
  };
849
909
  fallbackOption: {
@@ -899,13 +959,19 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
899
959
  type: StringConstructor;
900
960
  default: string;
901
961
  };
962
+ multiple: {
963
+ type: BooleanConstructor;
964
+ default: boolean;
965
+ };
902
966
  modelValue: {
903
- type: import("vue").PropType<string | null>;
967
+ type: import("vue").PropType<import("./types").PeopleSelectValue>;
904
968
  default: undefined;
905
969
  };
906
970
  defaultValue: {
907
- type: StringConstructor;
908
- default: string;
971
+ type: import("vue").PropType<string | string[]>;
972
+ default: (props: {
973
+ multiple?: boolean | undefined;
974
+ }) => "" | never[];
909
975
  };
910
976
  isLabel: {
911
977
  type: BooleanConstructor;
@@ -950,6 +1016,10 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
950
1016
  default: undefined;
951
1017
  validator: ((value: unknown) => boolean) | undefined;
952
1018
  };
1019
+ needConfirm: {
1020
+ type: BooleanConstructor;
1021
+ default: undefined;
1022
+ };
953
1023
  loading: BooleanConstructor;
954
1024
  loadingMode: {
955
1025
  type: import("vue").PropType<"default" | "line">;
@@ -959,21 +1029,21 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
959
1029
  }>> & Readonly<{
960
1030
  onClear?: (() => any) | undefined;
961
1031
  onSearch?: ((query: string) => any) | undefined;
962
- onChange?: ((value: string | null) => any) | undefined;
1032
+ onChange?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
963
1033
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
964
1034
  "onOpen-change"?: ((open: boolean) => any) | undefined;
965
1035
  "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
966
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
1036
+ "onUpdate:modelValue"?: ((value: import("./types").PeopleSelectValue) => any) | undefined;
967
1037
  "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
968
1038
  }>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
969
1039
  [key: string]: any;
970
1040
  }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
971
1041
  [key: string]: any;
972
1042
  }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
973
- 'update:modelValue': (value: string | null) => boolean;
1043
+ 'update:modelValue': (value: import("./types").PeopleSelectValue) => boolean;
974
1044
  'update:open': (open: boolean) => boolean;
975
1045
  'open-change': (open: boolean) => boolean;
976
- change: (value: string | null) => boolean;
1046
+ change: (value: import("./types").PeopleSelectValue) => boolean;
977
1047
  clear: () => boolean;
978
1048
  search: (query: string) => boolean;
979
1049
  'load-error': (_error: unknown, source: "options") => boolean;
@@ -981,11 +1051,12 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
981
1051
  }, string, {
982
1052
  label: string;
983
1053
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
984
- modelValue: string | null;
1054
+ multiple: boolean;
1055
+ modelValue: import("./types").PeopleSelectValue;
985
1056
  readonly: boolean;
986
- defaultValue: string;
1057
+ defaultValue: string | string[];
987
1058
  disabled: boolean;
988
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
1059
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
989
1060
  loading: boolean;
990
1061
  open: boolean;
991
1062
  defaultOpen: boolean;
@@ -996,6 +1067,7 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
996
1067
  clearable: boolean;
997
1068
  emptyValues: readonly unknown[];
998
1069
  emptyText: string;
1070
+ needConfirm: boolean;
999
1071
  searchDelay: number;
1000
1072
  filterOption: boolean | ((inputValue: string, option: import("..").SelectOptionData) => boolean);
1001
1073
  caseSensitive: boolean;
@@ -1009,4 +1081,4 @@ export declare const _PeopleSelectComponent: import("../utils/components").Compo
1009
1081
  isLabel: boolean;
1010
1082
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
1011
1083
  export default PeopleSelect;
1012
- export type { PeopleSelectReadScope, PeopleSelectSlots, PeopleSelectEmits, PeopleSelectExpose, PeopleSelectOption, PeopleSelectOptionsLoader, PeopleSelectAction, PeopleSelectFallbackOption, PeopleSelectRenderActions, PeopleSelectActionScope, } from './types';
1084
+ export type { PeopleSelectValue, PeopleSelectReadScope, PeopleSelectSlots, PeopleSelectEmits, PeopleSelectExpose, PeopleSelectOption, PeopleSelectOptionsLoader, PeopleSelectAction, PeopleSelectFallbackOption, PeopleSelectRenderActions, PeopleSelectActionScope, } from './types';
@@ -1,6 +1,7 @@
1
+ import type { PeopleSelectValue } from './types';
1
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
3
  emptyValue: {
3
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
4
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
4
5
  default: undefined;
5
6
  };
6
7
  fallbackOption: {
@@ -56,13 +57,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
56
57
  type: StringConstructor;
57
58
  default: string;
58
59
  };
60
+ multiple: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
59
64
  modelValue: {
60
- type: import("vue").PropType<string | null>;
65
+ type: import("vue").PropType<PeopleSelectValue>;
61
66
  default: undefined;
62
67
  };
63
68
  defaultValue: {
64
- type: StringConstructor;
65
- default: string;
69
+ type: import("vue").PropType<string | string[]>;
70
+ default: (props: {
71
+ multiple?: boolean | undefined;
72
+ }) => "" | never[];
66
73
  };
67
74
  isLabel: {
68
75
  type: BooleanConstructor;
@@ -107,6 +114,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
107
114
  default: undefined;
108
115
  validator: ((value: unknown) => boolean) | undefined;
109
116
  };
117
+ needConfirm: {
118
+ type: BooleanConstructor;
119
+ default: undefined;
120
+ };
110
121
  loading: BooleanConstructor;
111
122
  loadingMode: {
112
123
  type: import("vue").PropType<"default" | "line">;
@@ -114,13 +125,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
114
125
  validator: (value: "default" | "line") => boolean;
115
126
  };
116
127
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
117
- 'update:modelValue': (value: string | null) => boolean;
118
- change: (value: string | null) => boolean;
119
- clear: () => true;
128
+ 'update:modelValue': (value: PeopleSelectValue) => boolean;
129
+ 'update:open': (open: boolean) => boolean;
130
+ 'open-change': (open: boolean) => boolean;
131
+ change: (value: PeopleSelectValue) => boolean;
132
+ clear: () => boolean;
120
133
  search: (query: string) => boolean;
134
+ 'load-error': (_error: unknown, source: "options") => boolean;
135
+ 'action-error': (_error: unknown, action: "call" | "chat") => boolean;
121
136
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
122
137
  emptyValue: {
123
- type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string>>;
138
+ type: import("vue").PropType<import("../utils/empty-value").EmptyValue<string | string[]>>;
124
139
  default: undefined;
125
140
  };
126
141
  fallbackOption: {
@@ -176,13 +191,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
176
191
  type: StringConstructor;
177
192
  default: string;
178
193
  };
194
+ multiple: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
179
198
  modelValue: {
180
- type: import("vue").PropType<string | null>;
199
+ type: import("vue").PropType<PeopleSelectValue>;
181
200
  default: undefined;
182
201
  };
183
202
  defaultValue: {
184
- type: StringConstructor;
185
- default: string;
203
+ type: import("vue").PropType<string | string[]>;
204
+ default: (props: {
205
+ multiple?: boolean | undefined;
206
+ }) => "" | never[];
186
207
  };
187
208
  isLabel: {
188
209
  type: BooleanConstructor;
@@ -227,6 +248,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
227
248
  default: undefined;
228
249
  validator: ((value: unknown) => boolean) | undefined;
229
250
  };
251
+ needConfirm: {
252
+ type: BooleanConstructor;
253
+ default: undefined;
254
+ };
230
255
  loading: BooleanConstructor;
231
256
  loadingMode: {
232
257
  type: import("vue").PropType<"default" | "line">;
@@ -236,16 +261,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
236
261
  }>> & Readonly<{
237
262
  onClear?: (() => any) | undefined;
238
263
  onSearch?: ((query: string) => any) | undefined;
239
- onChange?: ((value: string | null) => any) | undefined;
240
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
264
+ onChange?: ((value: PeopleSelectValue) => any) | undefined;
265
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
266
+ "onOpen-change"?: ((open: boolean) => any) | undefined;
267
+ "onLoad-error"?: ((_error: unknown, source: "options") => any) | undefined;
268
+ "onUpdate:modelValue"?: ((value: PeopleSelectValue) => any) | undefined;
269
+ "onAction-error"?: ((_error: unknown, action: "call" | "chat") => any) | undefined;
241
270
  }>, {
242
271
  label: string;
243
272
  options: readonly import("./types").PeopleSelectOption[] | import("./types").PeopleSelectOptionsLoader;
244
- modelValue: string | null;
273
+ multiple: boolean;
274
+ modelValue: PeopleSelectValue;
245
275
  readonly: boolean;
246
- defaultValue: string;
276
+ defaultValue: string | string[];
247
277
  disabled: boolean;
248
- emptyValue: import("../utils/empty-value").EmptyValue<string>;
278
+ emptyValue: import("../utils/empty-value").EmptyValue<string | string[]>;
249
279
  loading: boolean;
250
280
  open: boolean;
251
281
  defaultOpen: boolean;
@@ -256,6 +286,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
256
286
  clearable: boolean;
257
287
  emptyValues: readonly unknown[];
258
288
  emptyText: string;
289
+ needConfirm: boolean;
259
290
  searchDelay: number;
260
291
  filterOption: boolean | ((inputValue: string, option: import("../select").SelectOptionData) => boolean);
261
292
  caseSensitive: boolean;