@antsoo-lib/components 0.1.4 → 0.1.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 (133) hide show
  1. package/dist/index.mjs +6360 -6412
  2. package/dist/index.umd.js +83 -83
  3. package/dist/src/_util/ActionButton.d.ts +385 -0
  4. package/dist/src/_util/BaseInput.d.ts +80 -0
  5. package/dist/src/_util/BaseInputInner.d.ts +76 -0
  6. package/dist/src/_util/Portal.d.ts +22 -0
  7. package/dist/src/_util/PortalWrapper.d.ts +42 -0
  8. package/dist/src/alert/index.d.ts +158 -0
  9. package/dist/src/auto-complete/index.d.ts +773 -0
  10. package/dist/src/avatar/Avatar.d.ts +88 -0
  11. package/dist/src/badge/Badge.d.ts +128 -0
  12. package/dist/src/badge/Ribbon.d.ts +43 -0
  13. package/dist/src/badge/ScrollNumber.d.ts +28 -0
  14. package/dist/src/breadcrumb/Breadcrumb.d.ts +66 -0
  15. package/dist/src/breadcrumb/BreadcrumbItem.d.ts +1489 -0
  16. package/dist/src/button/button.d.ts +115 -0
  17. package/dist/src/button/buttonTypes.d.ts +59 -0
  18. package/dist/src/card/Card.d.ts +155 -0
  19. package/dist/src/carousel/index.d.ts +576 -0
  20. package/dist/src/cascader/index.d.ts +735 -0
  21. package/dist/src/checkbox/Checkbox.d.ts +117 -0
  22. package/dist/src/checkbox/interface.d.ts +168 -0
  23. package/dist/src/collapse/Collapse.d.ts +133 -0
  24. package/dist/src/collapse/CollapsePanel.d.ts +133 -0
  25. package/dist/src/collapse/PanelContent.d.ts +126 -0
  26. package/dist/src/collapse/commonProps.d.ts +125 -0
  27. package/dist/src/comment/index.d.ts +81 -0
  28. package/dist/src/date-picker/generatePicker/index.d.ts +7404 -0
  29. package/dist/src/descriptions/index.d.ts +173 -0
  30. package/dist/src/drawer/index.d.ts +501 -0
  31. package/dist/src/dropdown/dropdown-button.d.ts +556 -0
  32. package/dist/src/dropdown/dropdown.d.ts +503 -0
  33. package/dist/src/dropdown/props.d.ts +465 -0
  34. package/dist/src/float-button/BackTop.d.ts +67 -0
  35. package/dist/src/float-button/FloatButton.d.ts +57 -0
  36. package/dist/src/float-button/FloatButtonGroup.d.ts +92 -0
  37. package/dist/src/float-button/interface.d.ts +108 -0
  38. package/dist/src/form/Form.d.ts +796 -0
  39. package/dist/src/form/FormItem.d.ts +192 -0
  40. package/dist/src/image/index.d.ts +75 -0
  41. package/dist/src/input/Input.d.ts +198 -0
  42. package/dist/src/input/Password.d.ts +222 -0
  43. package/dist/src/input/ResizableTextArea.d.ts +222 -0
  44. package/dist/src/input/Search.d.ts +199 -0
  45. package/dist/src/input/TextArea.d.ts +223 -0
  46. package/dist/src/input/inputProps.d.ts +211 -0
  47. package/dist/src/input-number/index.d.ts +611 -0
  48. package/dist/src/layout/Sider.d.ts +115 -0
  49. package/dist/src/layout/index.d.ts +298 -0
  50. package/dist/src/list/Item.d.ts +48 -0
  51. package/dist/src/list/ItemMeta.d.ts +27 -0
  52. package/dist/src/list/index.d.ts +962 -0
  53. package/dist/src/mentions/index.d.ts +351 -0
  54. package/dist/src/menu/src/ItemGroup.d.ts +31 -0
  55. package/dist/src/menu/src/MenuItem.d.ts +75 -0
  56. package/dist/src/menu/src/SubMenu.d.ts +87 -0
  57. package/dist/src/modal/Modal.d.ts +1026 -0
  58. package/dist/src/page-header/index.d.ts +456 -0
  59. package/dist/src/pagination/Select.d.ts +723 -0
  60. package/dist/src/popconfirm/index.d.ts +1105 -0
  61. package/dist/src/radio/Group.d.ts +123 -0
  62. package/dist/src/radio/Radio.d.ts +155 -0
  63. package/dist/src/radio/RadioButton.d.ts +107 -0
  64. package/dist/src/rate/Star.d.ts +76 -0
  65. package/dist/src/rate/index.d.ts +160 -0
  66. package/dist/src/result/index.d.ts +70 -0
  67. package/dist/src/select/index.d.ts +567 -0
  68. package/dist/src/slider/SliderTooltip.d.ts +144 -0
  69. package/dist/src/spin/Spin.d.ts +44 -0
  70. package/dist/src/switch/index.d.ts +220 -0
  71. package/dist/src/table/Table.d.ts +1162 -0
  72. package/dist/src/table/index.d.ts +1494 -0
  73. package/dist/src/tabs/src/TabNavList/OperationNode.d.ts +150 -0
  74. package/dist/src/tabs/src/TabNavList/index.d.ts +171 -0
  75. package/dist/src/tabs/src/TabPanelList/TabPane.d.ts +105 -0
  76. package/dist/src/tabs/src/Tabs.d.ts +305 -0
  77. package/dist/src/tag/index.d.ts +102 -0
  78. package/dist/src/timeline/Timeline.d.ts +43 -0
  79. package/dist/src/timeline/TimelineItem.d.ts +50 -0
  80. package/dist/src/tooltip/Tooltip.d.ts +233 -0
  81. package/dist/src/tooltip/index.d.ts +251 -0
  82. package/dist/src/tour/index.d.ts +1024 -0
  83. package/dist/src/tour/interface.d.ts +208 -0
  84. package/dist/src/transfer/ListBody.d.ts +81 -0
  85. package/dist/src/transfer/ListItem.d.ts +70 -0
  86. package/dist/src/transfer/index.d.ts +712 -0
  87. package/dist/src/transfer/list.d.ts +166 -0
  88. package/dist/src/tree/DirectoryTree.d.ts +799 -0
  89. package/dist/src/tree/Tree.d.ts +895 -0
  90. package/dist/src/tree/index.d.ts +1636 -0
  91. package/dist/src/tree-select/index.d.ts +1078 -0
  92. package/dist/src/vc-cascader/Cascader.d.ts +973 -0
  93. package/dist/src/vc-checkbox/Checkbox.d.ts +78 -0
  94. package/dist/src/vc-dialog/Content.d.ts +182 -0
  95. package/dist/src/vc-dialog/Dialog.d.ts +170 -0
  96. package/dist/src/vc-dialog/DialogWrap.d.ts +167 -0
  97. package/dist/src/vc-dialog/IDialogPropTypes.d.ts +80 -0
  98. package/dist/src/vc-drawer/src/DrawerChild.d.ts +165 -0
  99. package/dist/src/vc-drawer/src/IDrawerPropTypes.d.ts +148 -0
  100. package/dist/src/vc-dropdown/Dropdown.d.ts +167 -0
  101. package/dist/src/vc-image/src/Image.d.ts +115 -0
  102. package/dist/src/vc-image/src/Preview.d.ts +293 -0
  103. package/dist/src/vc-input/BaseInput.d.ts +99 -0
  104. package/dist/src/vc-input/Input.d.ts +197 -0
  105. package/dist/src/vc-input/inputProps.d.ts +170 -0
  106. package/dist/src/vc-mentions/src/Mentions.d.ts +94 -0
  107. package/dist/src/vc-mentions/src/mentionsProps.d.ts +127 -0
  108. package/dist/src/vc-overflow/Item.d.ts +35 -0
  109. package/dist/src/vc-overflow/Overflow.d.ts +90 -0
  110. package/dist/src/vc-overflow/RawItem.d.ts +46 -0
  111. package/dist/src/vc-pagination/Options.d.ts +62 -0
  112. package/dist/src/vc-pagination/Pager.d.ts +76 -0
  113. package/dist/src/vc-pagination/Pagination.d.ts +246 -0
  114. package/dist/src/vc-select/BaseSelect.d.ts +579 -0
  115. package/dist/src/vc-select/Select.d.ts +510 -0
  116. package/dist/src/vc-select/Selector/Input.d.ts +187 -0
  117. package/dist/src/vc-slider/src/Range.d.ts +238 -0
  118. package/dist/src/vc-slider/src/Slider.d.ts +238 -0
  119. package/dist/src/vc-slider/src/common/createSlider.d.ts +237 -0
  120. package/dist/src/vc-steps/Step.d.ts +164 -0
  121. package/dist/src/vc-steps/Steps.d.ts +154 -0
  122. package/dist/src/vc-tooltip/src/Content.d.ts +18 -0
  123. package/dist/src/vc-tooltip/src/Tooltip.d.ts +195 -0
  124. package/dist/src/vc-tour/Tour.d.ts +654 -0
  125. package/dist/src/vc-tree/MotionTreeNode.d.ts +123 -0
  126. package/dist/src/vc-tree/Tree.d.ts +439 -0
  127. package/dist/src/vc-tree/TreeNode.d.ts +115 -0
  128. package/dist/src/vc-tree/props.d.ts +354 -0
  129. package/dist/src/vc-tree-select/TreeSelect.d.ts +708 -0
  130. package/dist/src/vc-trigger/Trigger.d.ts +358 -0
  131. package/dist/src/vc-trigger/interface.d.ts +208 -0
  132. package/dist/src/vc-virtual-list/List.d.ts +107 -0
  133. package/package.json +7 -7
@@ -0,0 +1,712 @@
1
+ import { CSSProperties, ExtractPropTypes, PropType, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
+ import { CustomSlotsType, VueNode } from '../_util/type';
3
+ import { TransferListBodyProps } from './ListBody';
4
+ import { PaginationType } from './interface';
5
+ import { VueTypeValidableDef } from 'vue-types';
6
+ export type { TransferListProps } from './list';
7
+ export type { TransferOperationProps } from './operation';
8
+ export type { TransferSearchProps } from './search';
9
+ export type TransferDirection = 'left' | 'right';
10
+ export interface RenderResultObject {
11
+ label: VueNode;
12
+ value: string;
13
+ }
14
+ export type RenderResult = VueNode | RenderResultObject | string | null;
15
+ export interface TransferItem {
16
+ key?: string;
17
+ title?: string;
18
+ description?: string;
19
+ disabled?: boolean;
20
+ [name: string]: any;
21
+ }
22
+ export type KeyWise<T> = T & {
23
+ key: string;
24
+ };
25
+ export type KeyWiseTransferItem = KeyWise<TransferItem>;
26
+ type TransferRender<RecordType> = (item: RecordType) => RenderResult;
27
+ export interface ListStyle {
28
+ direction: TransferDirection;
29
+ }
30
+ export type SelectAllLabel = VueNode | ((info: {
31
+ selectedCount: number;
32
+ totalCount: number;
33
+ }) => VueNode);
34
+ export interface TransferLocale {
35
+ titles?: VueNode[];
36
+ notFoundContent?: VueNode;
37
+ searchPlaceholder: string;
38
+ itemUnit: string;
39
+ itemsUnit: string;
40
+ remove?: string;
41
+ selectAll?: string;
42
+ selectCurrent?: string;
43
+ selectInvert?: string;
44
+ removeAll?: string;
45
+ removeCurrent?: string;
46
+ }
47
+ export declare const transferProps: () => {
48
+ id: StringConstructor;
49
+ prefixCls: StringConstructor;
50
+ dataSource: {
51
+ type: PropType<TransferItem[]>;
52
+ default: TransferItem[];
53
+ };
54
+ disabled: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ targetKeys: {
59
+ type: PropType<string[]>;
60
+ default: string[];
61
+ };
62
+ selectedKeys: {
63
+ type: PropType<string[]>;
64
+ default: string[];
65
+ };
66
+ render: {
67
+ type: PropType<TransferRender<TransferItem>>;
68
+ default: TransferRender<TransferItem>;
69
+ };
70
+ listStyle: {
71
+ type: PropType<CSSProperties | ((style: ListStyle) => CSSProperties)>;
72
+ default: CSSProperties | ((style: ListStyle) => CSSProperties);
73
+ };
74
+ operationStyle: {
75
+ type: PropType<CSSProperties>;
76
+ default: CSSProperties;
77
+ };
78
+ titles: {
79
+ type: PropType<string[]>;
80
+ default: string[];
81
+ };
82
+ operations: {
83
+ type: PropType<string[]>;
84
+ default: string[];
85
+ };
86
+ showSearch: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ filterOption: {
91
+ type: PropType<(inputValue: string, item: TransferItem) => boolean>;
92
+ default: (inputValue: string, item: TransferItem) => boolean;
93
+ };
94
+ searchPlaceholder: StringConstructor;
95
+ notFoundContent: VueTypeValidableDef<any>;
96
+ locale: {
97
+ type: PropType<{}>;
98
+ default: {};
99
+ };
100
+ rowKey: {
101
+ type: PropType<(record: TransferItem) => string>;
102
+ default: (record: TransferItem) => string;
103
+ };
104
+ showSelectAll: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ selectAllLabels: {
109
+ type: PropType<SelectAllLabel[]>;
110
+ default: SelectAllLabel[];
111
+ };
112
+ children: {
113
+ type: PropType<(props: TransferListBodyProps) => VueNode>;
114
+ default: (props: TransferListBodyProps) => VueNode;
115
+ };
116
+ oneWay: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ pagination: {
121
+ type: PropType<PaginationType>;
122
+ default: PaginationType;
123
+ };
124
+ status: {
125
+ type: PropType<"" | "error" | "warning">;
126
+ default: "" | "error" | "warning";
127
+ };
128
+ onChange: {
129
+ type: PropType<(targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void>;
130
+ default: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
131
+ };
132
+ onSelectChange: {
133
+ type: PropType<(sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void>;
134
+ default: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
135
+ };
136
+ onSearch: {
137
+ type: PropType<(direction: TransferDirection, value: string) => void>;
138
+ default: (direction: TransferDirection, value: string) => void;
139
+ };
140
+ onScroll: {
141
+ type: PropType<(direction: TransferDirection, e: UIEvent) => void>;
142
+ default: (direction: TransferDirection, e: UIEvent) => void;
143
+ };
144
+ 'onUpdate:targetKeys': {
145
+ type: PropType<(keys: string[]) => void>;
146
+ default: (keys: string[]) => void;
147
+ };
148
+ 'onUpdate:selectedKeys': {
149
+ type: PropType<(keys: string[]) => void>;
150
+ default: (keys: string[]) => void;
151
+ };
152
+ };
153
+ export type TransferProps = Partial<ExtractPropTypes<ReturnType<typeof transferProps>>>;
154
+ declare const _default: {
155
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
156
+ id: StringConstructor;
157
+ prefixCls: StringConstructor;
158
+ dataSource: {
159
+ type: PropType<TransferItem[]>;
160
+ default: TransferItem[];
161
+ };
162
+ disabled: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ targetKeys: {
167
+ type: PropType<string[]>;
168
+ default: string[];
169
+ };
170
+ selectedKeys: {
171
+ type: PropType<string[]>;
172
+ default: string[];
173
+ };
174
+ render: {
175
+ type: PropType<TransferRender<TransferItem>>;
176
+ default: TransferRender<TransferItem>;
177
+ };
178
+ listStyle: {
179
+ type: PropType<CSSProperties | ((style: ListStyle) => CSSProperties)>;
180
+ default: CSSProperties | ((style: ListStyle) => CSSProperties);
181
+ };
182
+ operationStyle: {
183
+ type: PropType<CSSProperties>;
184
+ default: CSSProperties;
185
+ };
186
+ titles: {
187
+ type: PropType<string[]>;
188
+ default: string[];
189
+ };
190
+ operations: {
191
+ type: PropType<string[]>;
192
+ default: string[];
193
+ };
194
+ showSearch: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ filterOption: {
199
+ type: PropType<(inputValue: string, item: TransferItem) => boolean>;
200
+ default: (inputValue: string, item: TransferItem) => boolean;
201
+ };
202
+ searchPlaceholder: StringConstructor;
203
+ notFoundContent: VueTypeValidableDef<any>;
204
+ locale: {
205
+ type: PropType<{}>;
206
+ default: {};
207
+ };
208
+ rowKey: {
209
+ type: PropType<(record: TransferItem) => string>;
210
+ default: (record: TransferItem) => string;
211
+ };
212
+ showSelectAll: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
216
+ selectAllLabels: {
217
+ type: PropType<SelectAllLabel[]>;
218
+ default: SelectAllLabel[];
219
+ };
220
+ children: {
221
+ type: PropType<(props: Partial<ExtractPropTypes<{
222
+ prefixCls: StringConstructor;
223
+ filteredRenderItems: VueTypeValidableDef<unknown[]> & {
224
+ default: () => unknown[];
225
+ } & {
226
+ default: () => unknown[];
227
+ };
228
+ selectedKeys: VueTypeValidableDef<unknown[]> & {
229
+ default: () => unknown[];
230
+ };
231
+ disabled: {
232
+ type: BooleanConstructor;
233
+ default: boolean;
234
+ };
235
+ showRemove: {
236
+ type: BooleanConstructor;
237
+ default: boolean;
238
+ };
239
+ pagination: VueTypeValidableDef<any>;
240
+ onItemSelect: FunctionConstructor;
241
+ onScroll: FunctionConstructor;
242
+ onItemRemove: FunctionConstructor;
243
+ }>>) => VueNode>;
244
+ default: (props: Partial<ExtractPropTypes<{
245
+ prefixCls: StringConstructor;
246
+ filteredRenderItems: VueTypeValidableDef<unknown[]> & {
247
+ default: () => unknown[];
248
+ } & {
249
+ default: () => unknown[];
250
+ };
251
+ selectedKeys: VueTypeValidableDef<unknown[]> & {
252
+ default: () => unknown[];
253
+ };
254
+ disabled: {
255
+ type: BooleanConstructor;
256
+ default: boolean;
257
+ };
258
+ showRemove: {
259
+ type: BooleanConstructor;
260
+ default: boolean;
261
+ };
262
+ pagination: VueTypeValidableDef<any>;
263
+ onItemSelect: FunctionConstructor;
264
+ onScroll: FunctionConstructor;
265
+ onItemRemove: FunctionConstructor;
266
+ }>>) => VueNode;
267
+ };
268
+ oneWay: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ pagination: {
273
+ type: PropType<PaginationType>;
274
+ default: PaginationType;
275
+ };
276
+ status: {
277
+ type: PropType<"" | "error" | "warning">;
278
+ default: "" | "error" | "warning";
279
+ };
280
+ onChange: {
281
+ type: PropType<(targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void>;
282
+ default: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
283
+ };
284
+ onSelectChange: {
285
+ type: PropType<(sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void>;
286
+ default: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
287
+ };
288
+ onSearch: {
289
+ type: PropType<(direction: TransferDirection, value: string) => void>;
290
+ default: (direction: TransferDirection, value: string) => void;
291
+ };
292
+ onScroll: {
293
+ type: PropType<(direction: TransferDirection, e: UIEvent) => void>;
294
+ default: (direction: TransferDirection, e: UIEvent) => void;
295
+ };
296
+ 'onUpdate:targetKeys': {
297
+ type: PropType<(keys: string[]) => void>;
298
+ default: (keys: string[]) => void;
299
+ };
300
+ 'onUpdate:selectedKeys': {
301
+ type: PropType<(keys: string[]) => void>;
302
+ default: (keys: string[]) => void;
303
+ };
304
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
305
+ render: TransferRender<TransferItem>;
306
+ listStyle: CSSProperties | ((style: ListStyle) => CSSProperties);
307
+ disabled: boolean;
308
+ onChange: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
309
+ onScroll: (direction: TransferDirection, e: UIEvent) => void;
310
+ children: (props: Partial<ExtractPropTypes<{
311
+ prefixCls: StringConstructor;
312
+ filteredRenderItems: VueTypeValidableDef<unknown[]> & {
313
+ default: () => unknown[];
314
+ } & {
315
+ default: () => unknown[];
316
+ };
317
+ selectedKeys: VueTypeValidableDef<unknown[]> & {
318
+ default: () => unknown[];
319
+ };
320
+ disabled: {
321
+ type: BooleanConstructor;
322
+ default: boolean;
323
+ };
324
+ showRemove: {
325
+ type: BooleanConstructor;
326
+ default: boolean;
327
+ };
328
+ pagination: VueTypeValidableDef<any>;
329
+ onItemSelect: FunctionConstructor;
330
+ onScroll: FunctionConstructor;
331
+ onItemRemove: FunctionConstructor;
332
+ }>>) => VueNode;
333
+ locale: {};
334
+ status: "" | "error" | "warning";
335
+ titles: string[];
336
+ showSearch: boolean;
337
+ selectedKeys: string[];
338
+ 'onUpdate:selectedKeys': (keys: string[]) => void;
339
+ onSearch: (direction: TransferDirection, value: string) => void;
340
+ filterOption: (inputValue: string, item: TransferItem) => boolean;
341
+ pagination: PaginationType;
342
+ rowKey: (record: TransferItem) => string;
343
+ dataSource: TransferItem[];
344
+ showSelectAll: boolean;
345
+ oneWay: boolean;
346
+ targetKeys: string[];
347
+ operationStyle: CSSProperties;
348
+ operations: string[];
349
+ selectAllLabels: SelectAllLabel[];
350
+ onSelectChange: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
351
+ 'onUpdate:targetKeys': (keys: string[]) => void;
352
+ }, true, {}, CustomSlotsType<{
353
+ leftTitle?: any;
354
+ rightTitle?: any;
355
+ children?: any;
356
+ render?: TransferItem;
357
+ notFoundContent?: any;
358
+ leftSelectAllLabel?: any;
359
+ rightSelectAllLabel?: any;
360
+ footer?: any;
361
+ default?: any;
362
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
363
+ P: {};
364
+ B: {};
365
+ D: {};
366
+ C: {};
367
+ M: {};
368
+ Defaults: {};
369
+ }, Readonly<ExtractPropTypes<{
370
+ id: StringConstructor;
371
+ prefixCls: StringConstructor;
372
+ dataSource: {
373
+ type: PropType<TransferItem[]>;
374
+ default: TransferItem[];
375
+ };
376
+ disabled: {
377
+ type: BooleanConstructor;
378
+ default: boolean;
379
+ };
380
+ targetKeys: {
381
+ type: PropType<string[]>;
382
+ default: string[];
383
+ };
384
+ selectedKeys: {
385
+ type: PropType<string[]>;
386
+ default: string[];
387
+ };
388
+ render: {
389
+ type: PropType<TransferRender<TransferItem>>;
390
+ default: TransferRender<TransferItem>;
391
+ };
392
+ listStyle: {
393
+ type: PropType<CSSProperties | ((style: ListStyle) => CSSProperties)>;
394
+ default: CSSProperties | ((style: ListStyle) => CSSProperties);
395
+ };
396
+ operationStyle: {
397
+ type: PropType<CSSProperties>;
398
+ default: CSSProperties;
399
+ };
400
+ titles: {
401
+ type: PropType<string[]>;
402
+ default: string[];
403
+ };
404
+ operations: {
405
+ type: PropType<string[]>;
406
+ default: string[];
407
+ };
408
+ showSearch: {
409
+ type: BooleanConstructor;
410
+ default: boolean;
411
+ };
412
+ filterOption: {
413
+ type: PropType<(inputValue: string, item: TransferItem) => boolean>;
414
+ default: (inputValue: string, item: TransferItem) => boolean;
415
+ };
416
+ searchPlaceholder: StringConstructor;
417
+ notFoundContent: VueTypeValidableDef<any>;
418
+ locale: {
419
+ type: PropType<{}>;
420
+ default: {};
421
+ };
422
+ rowKey: {
423
+ type: PropType<(record: TransferItem) => string>;
424
+ default: (record: TransferItem) => string;
425
+ };
426
+ showSelectAll: {
427
+ type: BooleanConstructor;
428
+ default: boolean;
429
+ };
430
+ selectAllLabels: {
431
+ type: PropType<SelectAllLabel[]>;
432
+ default: SelectAllLabel[];
433
+ };
434
+ children: {
435
+ type: PropType<(props: Partial<ExtractPropTypes<{
436
+ prefixCls: StringConstructor;
437
+ filteredRenderItems: VueTypeValidableDef<unknown[]> & {
438
+ default: () => unknown[];
439
+ } & {
440
+ default: () => unknown[];
441
+ };
442
+ selectedKeys: VueTypeValidableDef<unknown[]> & {
443
+ default: () => unknown[];
444
+ };
445
+ disabled: {
446
+ type: BooleanConstructor;
447
+ default: boolean;
448
+ };
449
+ showRemove: {
450
+ type: BooleanConstructor;
451
+ default: boolean;
452
+ };
453
+ pagination: VueTypeValidableDef<any>;
454
+ onItemSelect: FunctionConstructor;
455
+ onScroll: FunctionConstructor;
456
+ onItemRemove: FunctionConstructor;
457
+ }>>) => VueNode>;
458
+ default: (props: Partial<ExtractPropTypes<{
459
+ prefixCls: StringConstructor;
460
+ filteredRenderItems: VueTypeValidableDef<unknown[]> & {
461
+ default: () => unknown[];
462
+ } & {
463
+ default: () => unknown[];
464
+ };
465
+ selectedKeys: VueTypeValidableDef<unknown[]> & {
466
+ default: () => unknown[];
467
+ };
468
+ disabled: {
469
+ type: BooleanConstructor;
470
+ default: boolean;
471
+ };
472
+ showRemove: {
473
+ type: BooleanConstructor;
474
+ default: boolean;
475
+ };
476
+ pagination: VueTypeValidableDef<any>;
477
+ onItemSelect: FunctionConstructor;
478
+ onScroll: FunctionConstructor;
479
+ onItemRemove: FunctionConstructor;
480
+ }>>) => VueNode;
481
+ };
482
+ oneWay: {
483
+ type: BooleanConstructor;
484
+ default: boolean;
485
+ };
486
+ pagination: {
487
+ type: PropType<PaginationType>;
488
+ default: PaginationType;
489
+ };
490
+ status: {
491
+ type: PropType<"" | "error" | "warning">;
492
+ default: "" | "error" | "warning";
493
+ };
494
+ onChange: {
495
+ type: PropType<(targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void>;
496
+ default: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
497
+ };
498
+ onSelectChange: {
499
+ type: PropType<(sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void>;
500
+ default: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
501
+ };
502
+ onSearch: {
503
+ type: PropType<(direction: TransferDirection, value: string) => void>;
504
+ default: (direction: TransferDirection, value: string) => void;
505
+ };
506
+ onScroll: {
507
+ type: PropType<(direction: TransferDirection, e: UIEvent) => void>;
508
+ default: (direction: TransferDirection, e: UIEvent) => void;
509
+ };
510
+ 'onUpdate:targetKeys': {
511
+ type: PropType<(keys: string[]) => void>;
512
+ default: (keys: string[]) => void;
513
+ };
514
+ 'onUpdate:selectedKeys': {
515
+ type: PropType<(keys: string[]) => void>;
516
+ default: (keys: string[]) => void;
517
+ };
518
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
519
+ render: TransferRender<TransferItem>;
520
+ listStyle: CSSProperties | ((style: ListStyle) => CSSProperties);
521
+ disabled: boolean;
522
+ onChange: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
523
+ onScroll: (direction: TransferDirection, e: UIEvent) => void;
524
+ children: (props: Partial<ExtractPropTypes<{
525
+ prefixCls: StringConstructor;
526
+ filteredRenderItems: VueTypeValidableDef<unknown[]> & {
527
+ default: () => unknown[];
528
+ } & {
529
+ default: () => unknown[];
530
+ };
531
+ selectedKeys: VueTypeValidableDef<unknown[]> & {
532
+ default: () => unknown[];
533
+ };
534
+ disabled: {
535
+ type: BooleanConstructor;
536
+ default: boolean;
537
+ };
538
+ showRemove: {
539
+ type: BooleanConstructor;
540
+ default: boolean;
541
+ };
542
+ pagination: VueTypeValidableDef<any>;
543
+ onItemSelect: FunctionConstructor;
544
+ onScroll: FunctionConstructor;
545
+ onItemRemove: FunctionConstructor;
546
+ }>>) => VueNode;
547
+ locale: {};
548
+ status: "" | "error" | "warning";
549
+ titles: string[];
550
+ showSearch: boolean;
551
+ selectedKeys: string[];
552
+ 'onUpdate:selectedKeys': (keys: string[]) => void;
553
+ onSearch: (direction: TransferDirection, value: string) => void;
554
+ filterOption: (inputValue: string, item: TransferItem) => boolean;
555
+ pagination: PaginationType;
556
+ rowKey: (record: TransferItem) => string;
557
+ dataSource: TransferItem[];
558
+ showSelectAll: boolean;
559
+ oneWay: boolean;
560
+ targetKeys: string[];
561
+ operationStyle: CSSProperties;
562
+ operations: string[];
563
+ selectAllLabels: SelectAllLabel[];
564
+ onSelectChange: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
565
+ 'onUpdate:targetKeys': (keys: string[]) => void;
566
+ }>;
567
+ __isFragment?: never;
568
+ __isTeleport?: never;
569
+ __isSuspense?: never;
570
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
571
+ id: StringConstructor;
572
+ prefixCls: StringConstructor;
573
+ dataSource: {
574
+ type: PropType<TransferItem[]>;
575
+ default: TransferItem[];
576
+ };
577
+ disabled: {
578
+ type: BooleanConstructor;
579
+ default: boolean;
580
+ };
581
+ targetKeys: {
582
+ type: PropType<string[]>;
583
+ default: string[];
584
+ };
585
+ selectedKeys: {
586
+ type: PropType<string[]>;
587
+ default: string[];
588
+ };
589
+ render: {
590
+ type: PropType<TransferRender<TransferItem>>;
591
+ default: TransferRender<TransferItem>;
592
+ };
593
+ listStyle: {
594
+ type: PropType<CSSProperties | ((style: ListStyle) => CSSProperties)>;
595
+ default: CSSProperties | ((style: ListStyle) => CSSProperties);
596
+ };
597
+ operationStyle: {
598
+ type: PropType<CSSProperties>;
599
+ default: CSSProperties;
600
+ };
601
+ titles: {
602
+ type: PropType<string[]>;
603
+ default: string[];
604
+ };
605
+ operations: {
606
+ type: PropType<string[]>;
607
+ default: string[];
608
+ };
609
+ showSearch: {
610
+ type: BooleanConstructor;
611
+ default: boolean;
612
+ };
613
+ filterOption: {
614
+ type: PropType<(inputValue: string, item: TransferItem) => boolean>;
615
+ default: (inputValue: string, item: TransferItem) => boolean;
616
+ };
617
+ searchPlaceholder: StringConstructor;
618
+ notFoundContent: VueTypeValidableDef<any>;
619
+ locale: {
620
+ type: PropType<{}>;
621
+ default: {};
622
+ };
623
+ rowKey: {
624
+ type: PropType<(record: TransferItem) => string>;
625
+ default: (record: TransferItem) => string;
626
+ };
627
+ showSelectAll: {
628
+ type: BooleanConstructor;
629
+ default: boolean;
630
+ };
631
+ selectAllLabels: {
632
+ type: PropType<SelectAllLabel[]>;
633
+ default: SelectAllLabel[];
634
+ };
635
+ children: {
636
+ type: PropType<(props: TransferListBodyProps) => VueNode>;
637
+ default: (props: TransferListBodyProps) => VueNode;
638
+ };
639
+ oneWay: {
640
+ type: BooleanConstructor;
641
+ default: boolean;
642
+ };
643
+ pagination: {
644
+ type: PropType<PaginationType>;
645
+ default: PaginationType;
646
+ };
647
+ status: {
648
+ type: PropType<"" | "error" | "warning">;
649
+ default: "" | "error" | "warning";
650
+ };
651
+ onChange: {
652
+ type: PropType<(targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void>;
653
+ default: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
654
+ };
655
+ onSelectChange: {
656
+ type: PropType<(sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void>;
657
+ default: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
658
+ };
659
+ onSearch: {
660
+ type: PropType<(direction: TransferDirection, value: string) => void>;
661
+ default: (direction: TransferDirection, value: string) => void;
662
+ };
663
+ onScroll: {
664
+ type: PropType<(direction: TransferDirection, e: UIEvent) => void>;
665
+ default: (direction: TransferDirection, e: UIEvent) => void;
666
+ };
667
+ 'onUpdate:targetKeys': {
668
+ type: PropType<(keys: string[]) => void>;
669
+ default: (keys: string[]) => void;
670
+ };
671
+ 'onUpdate:selectedKeys': {
672
+ type: PropType<(keys: string[]) => void>;
673
+ default: (keys: string[]) => void;
674
+ };
675
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
676
+ render: TransferRender<TransferItem>;
677
+ listStyle: CSSProperties | ((style: ListStyle) => CSSProperties);
678
+ disabled: boolean;
679
+ onChange: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
680
+ onScroll: (direction: TransferDirection, e: UIEvent) => void;
681
+ children: (props: TransferListBodyProps) => VueNode;
682
+ locale: {};
683
+ status: "" | "error" | "warning";
684
+ titles: string[];
685
+ showSearch: boolean;
686
+ selectedKeys: string[];
687
+ 'onUpdate:selectedKeys': (keys: string[]) => void;
688
+ onSearch: (direction: TransferDirection, value: string) => void;
689
+ filterOption: (inputValue: string, item: TransferItem) => boolean;
690
+ pagination: PaginationType;
691
+ rowKey: (record: TransferItem) => string;
692
+ dataSource: TransferItem[];
693
+ showSelectAll: boolean;
694
+ oneWay: boolean;
695
+ targetKeys: string[];
696
+ operationStyle: CSSProperties;
697
+ operations: string[];
698
+ selectAllLabels: SelectAllLabel[];
699
+ onSelectChange: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
700
+ 'onUpdate:targetKeys': (keys: string[]) => void;
701
+ }, {}, string, CustomSlotsType<{
702
+ leftTitle?: any;
703
+ rightTitle?: any;
704
+ children?: any;
705
+ render?: TransferItem;
706
+ notFoundContent?: any;
707
+ leftSelectAllLabel?: any;
708
+ rightSelectAllLabel?: any;
709
+ footer?: any;
710
+ default?: any;
711
+ }>, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin;
712
+ export default _default;