1 | {
|
2 | "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3 | "framework": "vue",
|
4 | "name": "ant-design-vue",
|
5 | "version": "3.1.0-rc.4",
|
6 | "contributions": {
|
7 | "html": {
|
8 | "tags": [
|
9 | {
|
10 | "name": "a-alert",
|
11 | "slots": [
|
12 | {
|
13 | "name": "closeIcon",
|
14 | "description": "Custom close icon"
|
15 | },
|
16 | {
|
17 | "name": "closeText",
|
18 | "description": "Close text to show"
|
19 | },
|
20 | {
|
21 | "name": "description",
|
22 | "description": "Additional content of Alert"
|
23 | },
|
24 | {
|
25 | "name": "icon",
|
26 | "description": "Custom icon, effective when `showIcon` is `true`"
|
27 | },
|
28 | {
|
29 | "name": "message",
|
30 | "description": "Content of Alert"
|
31 | }
|
32 | ],
|
33 | "events": [
|
34 | {
|
35 | "name": "close",
|
36 | "description": "Callback when Alert is closed"
|
37 | }
|
38 | ],
|
39 | "attributes": [
|
40 | {
|
41 | "name": "afterClose",
|
42 | "default": "-",
|
43 | "description": "Called when close animation is finished",
|
44 | "value": {
|
45 | "type": "() => void",
|
46 | "kind": "expression"
|
47 | }
|
48 | },
|
49 | {
|
50 | "name": "banner",
|
51 | "default": "false",
|
52 | "description": "Whether to show as banner",
|
53 | "value": {
|
54 | "type": "boolean",
|
55 | "kind": "expression"
|
56 | }
|
57 | },
|
58 | {
|
59 | "name": "closable",
|
60 | "default": "",
|
61 | "description": "Whether Alert can be closed",
|
62 | "value": {
|
63 | "type": "boolean",
|
64 | "kind": "expression"
|
65 | }
|
66 | },
|
67 | {
|
68 | "name": "closeIcon",
|
69 | "default": "<CloseOutlined />",
|
70 | "description": "Custom close icon",
|
71 | "value": {
|
72 | "type": "slot",
|
73 | "kind": "expression"
|
74 | }
|
75 | },
|
76 | {
|
77 | "name": "closeText",
|
78 | "default": "-",
|
79 | "description": "Close text to show",
|
80 | "value": {
|
81 | "type": "string|slot",
|
82 | "kind": "expression"
|
83 | }
|
84 | },
|
85 | {
|
86 | "name": "description",
|
87 | "default": "-",
|
88 | "description": "Additional content of Alert",
|
89 | "value": {
|
90 | "type": "string|slot",
|
91 | "kind": "expression"
|
92 | }
|
93 | },
|
94 | {
|
95 | "name": "icon",
|
96 | "default": "-",
|
97 | "description": "Custom icon, effective when `showIcon` is `true`",
|
98 | "value": {
|
99 | "type": "vnode | slot",
|
100 | "kind": "expression"
|
101 | }
|
102 | },
|
103 | {
|
104 | "name": "message",
|
105 | "default": "-",
|
106 | "description": "Content of Alert",
|
107 | "value": {
|
108 | "type": "string|slot",
|
109 | "kind": "expression"
|
110 | }
|
111 | },
|
112 | {
|
113 | "name": "showIcon",
|
114 | "default": "false,in `banner` mode default is true",
|
115 | "description": "Whether to show icon",
|
116 | "value": {
|
117 | "type": "boolean",
|
118 | "kind": "expression"
|
119 | }
|
120 | },
|
121 | {
|
122 | "name": "type",
|
123 | "default": "`info`,in `banner` mode default is `warning`",
|
124 | "description": "Type of Alert styles, options: `success`, `info`, `warning`, `error`",
|
125 | "value": {
|
126 | "type": "string",
|
127 | "kind": "expression"
|
128 | }
|
129 | }
|
130 | ]
|
131 | },
|
132 | {
|
133 | "name": "a-anchor",
|
134 | "slots": [],
|
135 | "events": [],
|
136 | "attributes": []
|
137 | },
|
138 | {
|
139 | "name": "a-anchor",
|
140 | "slots": [],
|
141 | "events": [],
|
142 | "attributes": [
|
143 | {
|
144 | "name": "affix",
|
145 | "default": "true",
|
146 | "description": "Fixed mode of Anchor",
|
147 | "value": {
|
148 | "type": "boolean",
|
149 | "kind": "expression"
|
150 | }
|
151 | },
|
152 | {
|
153 | "name": "bounds",
|
154 | "default": "5(px)",
|
155 | "description": "Bounding distance of anchor area",
|
156 | "value": {
|
157 | "type": "number",
|
158 | "kind": "expression"
|
159 | }
|
160 | },
|
161 | {
|
162 | "name": "getContainer",
|
163 | "default": "() => window",
|
164 | "description": "Scrolling container",
|
165 | "value": {
|
166 | "type": "() => HTMLElement",
|
167 | "kind": "expression"
|
168 | }
|
169 | },
|
170 | {
|
171 | "name": "getCurrentAnchor",
|
172 | "default": "-",
|
173 | "description": "Customize the anchor highlight",
|
174 | "value": {
|
175 | "type": "() => string",
|
176 | "kind": "expression"
|
177 | }
|
178 | },
|
179 | {
|
180 | "name": "offsetBottom",
|
181 | "default": "-",
|
182 | "description": "Pixels to offset from bottom when calculating position of scroll",
|
183 | "value": {
|
184 | "type": "number",
|
185 | "kind": "expression"
|
186 | }
|
187 | },
|
188 | {
|
189 | "name": "offsetTop",
|
190 | "default": "0",
|
191 | "description": "Pixels to offset from top when calculating position of scroll",
|
192 | "value": {
|
193 | "type": "number",
|
194 | "kind": "expression"
|
195 | }
|
196 | },
|
197 | {
|
198 | "name": "showInkInFixed",
|
199 | "default": "false",
|
200 | "description": "Whether show ink-balls when `:affix=\"false\"`",
|
201 | "value": {
|
202 | "type": "boolean",
|
203 | "kind": "expression"
|
204 | }
|
205 | },
|
206 | {
|
207 | "name": "targetOffset",
|
208 | "default": "`offsetTop`",
|
209 | "description": "Anchor scroll offset, default as `offsetTop`, [example](#components-anchor-demo-targetOffset)",
|
210 | "value": {
|
211 | "type": "number",
|
212 | "kind": "expression"
|
213 | }
|
214 | },
|
215 | {
|
216 | "name": "wrapperClass",
|
217 | "default": "-",
|
218 | "description": "The class name of the container",
|
219 | "value": {
|
220 | "type": "string",
|
221 | "kind": "expression"
|
222 | }
|
223 | },
|
224 | {
|
225 | "name": "wrapperStyle",
|
226 | "default": "-",
|
227 | "description": "The style of the container",
|
228 | "value": {
|
229 | "type": "object",
|
230 | "kind": "expression"
|
231 | }
|
232 | }
|
233 | ]
|
234 | },
|
235 | {
|
236 | "name": "a-affix",
|
237 | "slots": [],
|
238 | "events": [
|
239 | {
|
240 | "name": "change",
|
241 | "description": "Callback for when Affix state is changed"
|
242 | }
|
243 | ],
|
244 | "attributes": [
|
245 | {
|
246 | "name": "offsetBottom",
|
247 | "default": "-",
|
248 | "description": "Offset from the bottom of the viewport (in pixels)",
|
249 | "value": {
|
250 | "type": "number",
|
251 | "kind": "expression"
|
252 | }
|
253 | },
|
254 | {
|
255 | "name": "offsetTop",
|
256 | "default": "0",
|
257 | "description": "Offset from the top of the viewport (in pixels)",
|
258 | "value": {
|
259 | "type": "number",
|
260 | "kind": "expression"
|
261 | }
|
262 | },
|
263 | {
|
264 | "name": "target",
|
265 | "default": "() => window",
|
266 | "description": "Specifies the scrollable area DOM node",
|
267 | "value": {
|
268 | "type": "() => HTMLElement",
|
269 | "kind": "expression"
|
270 | }
|
271 | }
|
272 | ]
|
273 | },
|
274 | {
|
275 | "name": "a-avatar",
|
276 | "slots": [],
|
277 | "events": [],
|
278 | "attributes": []
|
279 | },
|
280 | {
|
281 | "name": "a-avatar",
|
282 | "slots": [
|
283 | {
|
284 | "name": "icon",
|
285 | "description": "the `Icon` type for an icon avatar, see `Icon` Component"
|
286 | }
|
287 | ],
|
288 | "events": [],
|
289 | "attributes": [
|
290 | {
|
291 | "name": "alt",
|
292 | "default": "-",
|
293 | "description": "This attribute defines the alternative text describing the image",
|
294 | "value": {
|
295 | "type": "string",
|
296 | "kind": "expression"
|
297 | }
|
298 | },
|
299 | {
|
300 | "name": "crossOrigin",
|
301 | "default": "`''`",
|
302 | "description": "CORS settings attributes",
|
303 | "value": {
|
304 | "type": "`'anonymous'` | `'use-credentials'` ",
|
305 | "kind": "expression"
|
306 | }
|
307 | },
|
308 | {
|
309 | "name": "draggable",
|
310 | "default": "`'false'`",
|
311 | "description": "Whether the picture is allowed to be dragged",
|
312 | "value": {
|
313 | "type": "boolean | `'true'` ",
|
314 | "kind": "expression"
|
315 | }
|
316 | },
|
317 | {
|
318 | "name": "gap",
|
319 | "default": "4",
|
320 | "description": "Letter type unit distance between left and right sides",
|
321 | "value": {
|
322 | "type": "number",
|
323 | "kind": "expression"
|
324 | }
|
325 | },
|
326 | {
|
327 | "name": "icon",
|
328 | "default": "-",
|
329 | "description": "the `Icon` type for an icon avatar, see `Icon` Component",
|
330 | "value": {
|
331 | "type": "VNode | slot",
|
332 | "kind": "expression"
|
333 | }
|
334 | },
|
335 | {
|
336 | "name": "loadError",
|
337 | "default": "-",
|
338 | "description": "handler when img load error, return false to prevent default fallback behavior",
|
339 | "value": {
|
340 | "type": "() => boolean",
|
341 | "kind": "expression"
|
342 | }
|
343 | },
|
344 | {
|
345 | "name": "shape",
|
346 | "default": "`circle`",
|
347 | "description": "the shape of avatar",
|
348 | "value": {
|
349 | "type": "`circle` | `square`",
|
350 | "kind": "expression"
|
351 | }
|
352 | },
|
353 | {
|
354 | "name": "size",
|
355 | "default": "`small` \\",
|
356 | "description": "The size of the avatar",
|
357 | "value": {
|
358 | "type": "number | `large` ",
|
359 | "kind": "expression"
|
360 | }
|
361 | },
|
362 | {
|
363 | "name": "src",
|
364 | "default": "-",
|
365 | "description": "the address of the image for an image avatar",
|
366 | "value": {
|
367 | "type": "string",
|
368 | "kind": "expression"
|
369 | }
|
370 | },
|
371 | {
|
372 | "name": "srcset",
|
373 | "default": "-",
|
374 | "description": "a list of sources to use for different screen resolutions",
|
375 | "value": {
|
376 | "type": "string",
|
377 | "kind": "expression"
|
378 | }
|
379 | }
|
380 | ]
|
381 | },
|
382 | {
|
383 | "name": "a-avatar-group",
|
384 | "slots": [],
|
385 | "events": [],
|
386 | "attributes": [
|
387 | {
|
388 | "name": "maxCount",
|
389 | "default": "-",
|
390 | "description": "Max avatars to show",
|
391 | "value": {
|
392 | "type": "number",
|
393 | "kind": "expression"
|
394 | }
|
395 | },
|
396 | {
|
397 | "name": "maxPopoverPlacement",
|
398 | "default": "`top`",
|
399 | "description": "The placement of excess avatar Popover",
|
400 | "value": {
|
401 | "type": "`top` | `bottom`",
|
402 | "kind": "expression"
|
403 | }
|
404 | },
|
405 | {
|
406 | "name": "maxPopoverTrigger",
|
407 | "default": "`click`",
|
408 | "description": "Set the trigger of excess avatar Popover",
|
409 | "value": {
|
410 | "type": "`hover` | `focus` ",
|
411 | "kind": "expression"
|
412 | }
|
413 | },
|
414 | {
|
415 | "name": "maxStyle",
|
416 | "default": "-",
|
417 | "description": "The style of excess avatar style",
|
418 | "value": {
|
419 | "type": "CSSProperties",
|
420 | "kind": "expression"
|
421 | }
|
422 | },
|
423 | {
|
424 | "name": "size",
|
425 | "default": "`small` \\",
|
426 | "description": "The size of the avatar",
|
427 | "value": {
|
428 | "type": "number | `large` ",
|
429 | "kind": "expression"
|
430 | }
|
431 | }
|
432 | ]
|
433 | },
|
434 | {
|
435 | "name": "a-autocomplete",
|
436 | "slots": [
|
437 | {
|
438 | "name": "default (for customize input element)",
|
439 | "description": "customize input element"
|
440 | },
|
441 | {
|
442 | "name": "option",
|
443 | "description": "custom render option by slot"
|
444 | }
|
445 | ],
|
446 | "events": [
|
447 | {
|
448 | "name": "blur",
|
449 | "description": "Called when leaving the component."
|
450 | },
|
451 | {
|
452 | "name": "change",
|
453 | "description": "Called when select an option or input value change, or value of input is changed"
|
454 | },
|
455 | {
|
456 | "name": "dropdownVisibleChange",
|
457 | "description": "Call when dropdown open"
|
458 | },
|
459 | {
|
460 | "name": "focus",
|
461 | "description": "Called when entering the component"
|
462 | },
|
463 | {
|
464 | "name": "search",
|
465 | "description": "Called when searching items."
|
466 | },
|
467 | {
|
468 | "name": "select",
|
469 | "description": "Called when a option is selected. param is option's value and option instance."
|
470 | }
|
471 | ],
|
472 | "attributes": [
|
473 | {
|
474 | "name": "allowClear",
|
475 | "default": "false",
|
476 | "description": "Show clear button, effective in multiple mode only.",
|
477 | "value": {
|
478 | "type": "boolean",
|
479 | "kind": "expression"
|
480 | }
|
481 | },
|
482 | {
|
483 | "name": "autofocus",
|
484 | "default": "false",
|
485 | "description": "get focus when component mounted",
|
486 | "value": {
|
487 | "type": "boolean",
|
488 | "kind": "expression"
|
489 | }
|
490 | },
|
491 | {
|
492 | "name": "backfill",
|
493 | "default": "false",
|
494 | "description": "backfill selected item the input when using keyboard",
|
495 | "value": {
|
496 | "type": "boolean",
|
497 | "kind": "expression"
|
498 | }
|
499 | },
|
500 | {
|
501 | "name": "default (for customize input element)",
|
502 | "default": "`<Input />`",
|
503 | "description": "customize input element",
|
504 | "value": {
|
505 | "type": "slot",
|
506 | "kind": "expression"
|
507 | }
|
508 | },
|
509 | {
|
510 | "name": "defaultActiveFirstOption",
|
511 | "default": "true",
|
512 | "description": "Whether active first option by default",
|
513 | "value": {
|
514 | "type": "boolean",
|
515 | "kind": "expression"
|
516 | }
|
517 | },
|
518 | {
|
519 | "name": "defaultOpen",
|
520 | "default": "-",
|
521 | "description": "Initial open state of dropdown",
|
522 | "value": {
|
523 | "type": "boolean",
|
524 | "kind": "expression"
|
525 | }
|
526 | },
|
527 | {
|
528 | "name": "disabled",
|
529 | "default": "false",
|
530 | "description": "Whether disabled select",
|
531 | "value": {
|
532 | "type": "boolean",
|
533 | "kind": "expression"
|
534 | }
|
535 | },
|
536 | {
|
537 | "name": "dropdownMatchSelectWidth",
|
538 | "default": "true",
|
539 | "description": "Determine whether the dropdown menu and the select input are the same width. Default set `min-width` same as input. Will ignore when value less than select width. `false` will disable virtual scroll",
|
540 | "value": {
|
541 | "type": "boolean | number",
|
542 | "kind": "expression"
|
543 | }
|
544 | },
|
545 | {
|
546 | "name": "dropdownMenuStyle",
|
547 | "default": "",
|
548 | "description": "additional style applied to dropdown menu",
|
549 | "value": {
|
550 | "type": "object",
|
551 | "kind": "expression"
|
552 | }
|
553 | },
|
554 | {
|
555 | "name": "filterOption",
|
556 | "default": "true",
|
557 | "description": "If true, filter options by input, if function, filter options against it. The function will receive two arguments, `inputValue` and `option`, if the function returns `true`, the option will be included in the filtered set; Otherwise, it will be excluded.",
|
558 | "value": {
|
559 | "type": "boolean or function(inputValue, option)",
|
560 | "kind": "expression"
|
561 | }
|
562 | },
|
563 | {
|
564 | "name": "open",
|
565 | "default": "-",
|
566 | "description": "Controlled open state of dropdown",
|
567 | "value": {
|
568 | "type": "boolean",
|
569 | "kind": "expression"
|
570 | }
|
571 | },
|
572 | {
|
573 | "name": "option",
|
574 | "default": "-",
|
575 | "description": "custom render option by slot",
|
576 | "value": {
|
577 | "type": "v-slot:option=\"{value, label, [disabled, key, title]}\"",
|
578 | "kind": "expression"
|
579 | }
|
580 | },
|
581 | {
|
582 | "name": "options",
|
583 | "default": "",
|
584 | "description": "Data source for autocomplete",
|
585 | "value": {
|
586 | "type": "[DataSourceItemType](https://github.com/vueComponent/ant-design-vue/blob/724d53b907e577cf5880c1e6742d4c3f924f8f49/components/auto-complete/index.vue#L9)[]",
|
587 | "kind": "expression"
|
588 | }
|
589 | },
|
590 | {
|
591 | "name": "placeholder",
|
592 | "default": "-",
|
593 | "description": "placeholder of input",
|
594 | "value": {
|
595 | "type": "string",
|
596 | "kind": "expression"
|
597 | }
|
598 | },
|
599 | {
|
600 | "name": "v-model:value",
|
601 | "default": "{ key: string, label: string\\",
|
602 | "description": "selected option",
|
603 | "value": {
|
604 | "type": "string|string[]",
|
605 | "kind": "expression"
|
606 | }
|
607 | }
|
608 | ]
|
609 | },
|
610 | {
|
611 | "name": "a-backtop",
|
612 | "slots": [],
|
613 | "events": [
|
614 | {
|
615 | "name": "click",
|
616 | "description": "a callback function, which can be executed when you click the button"
|
617 | }
|
618 | ],
|
619 | "attributes": [
|
620 | {
|
621 | "name": "target",
|
622 | "default": "() => window",
|
623 | "description": "specifies the scrollable area dom node",
|
624 | "value": {
|
625 | "type": "() => HTMLElement",
|
626 | "kind": "expression"
|
627 | }
|
628 | },
|
629 | {
|
630 | "name": "visibilityHeight",
|
631 | "default": "400",
|
632 | "description": "the `BackTop` button will not show until the scroll height reaches this value",
|
633 | "value": {
|
634 | "type": "number",
|
635 | "kind": "expression"
|
636 | }
|
637 | }
|
638 | ]
|
639 | },
|
640 | {
|
641 | "name": "a-button",
|
642 | "slots": [
|
643 | {
|
644 | "name": "icon",
|
645 | "description": "set the icon of button, see: Icon component"
|
646 | }
|
647 | ],
|
648 | "events": [
|
649 | {
|
650 | "name": "click",
|
651 | "description": "set the handler to handle `click` event"
|
652 | }
|
653 | ],
|
654 | "attributes": [
|
655 | {
|
656 | "name": "block",
|
657 | "default": "`false`",
|
658 | "description": "option to fit button width to its parent width",
|
659 | "value": {
|
660 | "type": "boolean",
|
661 | "kind": "expression"
|
662 | }
|
663 | },
|
664 | {
|
665 | "name": "danger",
|
666 | "default": "`false`",
|
667 | "description": "set the danger status of button",
|
668 | "value": {
|
669 | "type": "boolean",
|
670 | "kind": "expression"
|
671 | }
|
672 | },
|
673 | {
|
674 | "name": "disabled",
|
675 | "default": "`false`",
|
676 | "description": "disabled state of button",
|
677 | "value": {
|
678 | "type": "boolean",
|
679 | "kind": "expression"
|
680 | }
|
681 | },
|
682 | {
|
683 | "name": "ghost",
|
684 | "default": "`false`",
|
685 | "description": "make background transparent and invert text and border colors",
|
686 | "value": {
|
687 | "type": "boolean",
|
688 | "kind": "expression"
|
689 | }
|
690 | },
|
691 | {
|
692 | "name": "href",
|
693 | "default": "-",
|
694 | "description": "redirect url of link button",
|
695 | "value": {
|
696 | "type": "string",
|
697 | "kind": "expression"
|
698 | }
|
699 | },
|
700 | {
|
701 | "name": "htmlType",
|
702 | "default": "`button`",
|
703 | "description": "set the original html `type` of `button`, see: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)",
|
704 | "value": {
|
705 | "type": "string",
|
706 | "kind": "expression"
|
707 | }
|
708 | },
|
709 | {
|
710 | "name": "icon",
|
711 | "default": "-",
|
712 | "description": "set the icon of button, see: Icon component",
|
713 | "value": {
|
714 | "type": "v-slot",
|
715 | "kind": "expression"
|
716 | }
|
717 | },
|
718 | {
|
719 | "name": "loading",
|
720 | "default": "`false`",
|
721 | "description": "set the loading status of button",
|
722 | "value": {
|
723 | "type": "boolean | { delay: number }",
|
724 | "kind": "expression"
|
725 | }
|
726 | },
|
727 | {
|
728 | "name": "shape",
|
729 | "default": "`round`",
|
730 | "description": "Can be set button shape",
|
731 | "value": {
|
732 | "type": "`default` | `circle` ",
|
733 | "kind": "expression"
|
734 | }
|
735 | },
|
736 | {
|
737 | "name": "size",
|
738 | "default": "`small`",
|
739 | "description": "set the size of button",
|
740 | "value": {
|
741 | "type": "`large` | `middle` ",
|
742 | "kind": "expression"
|
743 | }
|
744 | },
|
745 | {
|
746 | "name": "target",
|
747 | "default": "-",
|
748 | "description": "same as target attribute of a, works when href is specified",
|
749 | "value": {
|
750 | "type": "string",
|
751 | "kind": "expression"
|
752 | }
|
753 | },
|
754 | {
|
755 | "name": "type",
|
756 | "default": "`dashed` \\",
|
757 | "description": "can be set button type",
|
758 | "value": {
|
759 | "type": "`primary` | `ghost` ",
|
760 | "kind": "expression"
|
761 | }
|
762 | }
|
763 | ]
|
764 | },
|
765 | {
|
766 | "name": "a-breadcrumb",
|
767 | "slots": [
|
768 | {
|
769 | "name": "separator",
|
770 | "description": "Custom separator"
|
771 | }
|
772 | ],
|
773 | "events": [],
|
774 | "attributes": [
|
775 | {
|
776 | "name": "itemRender",
|
777 | "default": "",
|
778 | "description": "Custom item renderer, #itemRender=\"{route, params, routes, paths}\"",
|
779 | "value": {
|
780 | "type": "({route, params, routes, paths}) => vNode",
|
781 | "kind": "expression"
|
782 | }
|
783 | },
|
784 | {
|
785 | "name": "params",
|
786 | "default": "",
|
787 | "description": "Routing parameters",
|
788 | "value": {
|
789 | "type": "object",
|
790 | "kind": "expression"
|
791 | }
|
792 | },
|
793 | {
|
794 | "name": "routes",
|
795 | "default": "",
|
796 | "description": "The routing stack information of router",
|
797 | "value": {
|
798 | "type": "[routes[]](#routes)",
|
799 | "kind": "expression"
|
800 | }
|
801 | },
|
802 | {
|
803 | "name": "separator",
|
804 | "default": "",
|
805 | "description": "Custom separator",
|
806 | "value": {
|
807 | "type": "string|slot",
|
808 | "kind": "expression"
|
809 | }
|
810 | }
|
811 | ]
|
812 | },
|
813 | {
|
814 | "name": "a-breadcrumb-item",
|
815 | "slots": [],
|
816 | "events": [],
|
817 | "attributes": [
|
818 | {
|
819 | "name": "href",
|
820 | "default": "-",
|
821 | "description": "Target of hyperlink",
|
822 | "value": {
|
823 | "type": "string",
|
824 | "kind": "expression"
|
825 | }
|
826 | },
|
827 | {
|
828 | "name": "overlay",
|
829 | "default": "-",
|
830 | "description": "The dropdown menu",
|
831 | "value": {
|
832 | "type": "[Menu](/components/menu) | () => Menu",
|
833 | "kind": "expression"
|
834 | }
|
835 | }
|
836 | ]
|
837 | },
|
838 | {
|
839 | "name": "a-breadcrumb-separator",
|
840 | "slots": [],
|
841 | "events": [],
|
842 | "attributes": []
|
843 | },
|
844 | {
|
845 | "name": "a-calendar",
|
846 | "slots": [
|
847 | {
|
848 | "name": "dateCellRender",
|
849 | "description": "Customize the display of the date cell by setting a scoped slot, the returned content will be appended to the cell"
|
850 | },
|
851 | {
|
852 | "name": "dateFullCellRender",
|
853 | "description": "Customize the display of the date cell by setting a scoped slot, the returned content will override the cell"
|
854 | },
|
855 | {
|
856 | "name": "headerRender",
|
857 | "description": "render custom header in panel"
|
858 | },
|
859 | {
|
860 | "name": "monthCellRender",
|
861 | "description": "Customize the display of the month cell by setting a scoped slot, the returned content will be appended to the cell"
|
862 | },
|
863 | {
|
864 | "name": "monthFullCellRender",
|
865 | "description": "Customize the display of the month cell by setting a scoped slot, the returned content will override the cell"
|
866 | }
|
867 | ],
|
868 | "events": [
|
869 | {
|
870 | "name": "change",
|
871 | "description": "Callback for when value change"
|
872 | },
|
873 | {
|
874 | "name": "panelChange",
|
875 | "description": "Callback for when panel changes"
|
876 | },
|
877 | {
|
878 | "name": "select",
|
879 | "description": "Callback for when a date is selected"
|
880 | }
|
881 | ],
|
882 | "attributes": [
|
883 | {
|
884 | "name": "dateCellRender",
|
885 | "default": "-",
|
886 | "description": "Customize the display of the date cell by setting a scoped slot, the returned content will be appended to the cell",
|
887 | "value": {
|
888 | "type": "v-slot:dateCellRender=\"{current: dayjs}\"",
|
889 | "kind": "expression"
|
890 | }
|
891 | },
|
892 | {
|
893 | "name": "dateFullCellRender",
|
894 | "default": "-",
|
895 | "description": "Customize the display of the date cell by setting a scoped slot, the returned content will override the cell",
|
896 | "value": {
|
897 | "type": "v-slot:dateFullCellRender=\"{current: dayjs}\"",
|
898 | "kind": "expression"
|
899 | }
|
900 | },
|
901 | {
|
902 | "name": "disabledDate",
|
903 | "default": "-",
|
904 | "description": "Function that specifies the dates that cannot be selected",
|
905 | "value": {
|
906 | "type": "(currentDate: dayjs) => boolean",
|
907 | "kind": "expression"
|
908 | }
|
909 | },
|
910 | {
|
911 | "name": "fullscreen",
|
912 | "default": "`true`",
|
913 | "description": "Whether to display in full-screen",
|
914 | "value": {
|
915 | "type": "boolean",
|
916 | "kind": "expression"
|
917 | }
|
918 | },
|
919 | {
|
920 | "name": "headerRender",
|
921 | "default": "-",
|
922 | "description": "render custom header in panel",
|
923 | "value": {
|
924 | "type": "v-slot:headerRender=\"{value: dayjs, type: string, onChange: f(), onTypeChange: f()}\"",
|
925 | "kind": "expression"
|
926 | }
|
927 | },
|
928 | {
|
929 | "name": "locale",
|
930 | "default": "[default](https://github.com/vueComponent/ant-design-vue/blob/next/components/date-picker/locale/example.json)",
|
931 | "description": "The calendar's locale",
|
932 | "value": {
|
933 | "type": "object",
|
934 | "kind": "expression"
|
935 | }
|
936 | },
|
937 | {
|
938 | "name": "mode",
|
939 | "default": "`month`",
|
940 | "description": "The display mode of the calendar",
|
941 | "value": {
|
942 | "type": "`month` | `year`",
|
943 | "kind": "expression"
|
944 | }
|
945 | },
|
946 | {
|
947 | "name": "monthCellRender",
|
948 | "default": "-",
|
949 | "description": "Customize the display of the month cell by setting a scoped slot, the returned content will be appended to the cell",
|
950 | "value": {
|
951 | "type": "v-slot:monthCellRender=\"{current: dayjs}\"",
|
952 | "kind": "expression"
|
953 | }
|
954 | },
|
955 | {
|
956 | "name": "monthFullCellRender",
|
957 | "default": "-",
|
958 | "description": "Customize the display of the month cell by setting a scoped slot, the returned content will override the cell",
|
959 | "value": {
|
960 | "type": "v-slot:monthFullCellRender=\"{current: dayjs}\"",
|
961 | "kind": "expression"
|
962 | }
|
963 | },
|
964 | {
|
965 | "name": "validRange",
|
966 | "default": "-",
|
967 | "description": "to set valid range",
|
968 | "value": {
|
969 | "type": "[[dayjs](https://day.js.org/), [dayjs](https://day.js.org/)]",
|
970 | "kind": "expression"
|
971 | }
|
972 | },
|
973 | {
|
974 | "name": "value(v-model)",
|
975 | "default": "current date",
|
976 | "description": "The current selected date",
|
977 | "value": {
|
978 | "type": "[dayjs](https://day.js.org/)",
|
979 | "kind": "expression"
|
980 | }
|
981 | },
|
982 | {
|
983 | "name": "valueFormat",
|
984 | "default": "-",
|
985 | "description": "optional, format of binding value. If not specified, the binding value will be a Date object",
|
986 | "value": {
|
987 | "type": "string,[date formats](https://day.js.org/docs/en/display/format)",
|
988 | "kind": "expression"
|
989 | }
|
990 | }
|
991 | ]
|
992 | },
|
993 | {
|
994 | "name": "a-card",
|
995 | "slots": [],
|
996 | "events": [
|
997 | {
|
998 | "name": "tabChange",
|
999 | "description": "Callback when tab is switched"
|
1000 | }
|
1001 | ],
|
1002 | "attributes": []
|
1003 | },
|
1004 | {
|
1005 | "name": "a-card",
|
1006 | "slots": [
|
1007 | {
|
1008 | "name": "extra",
|
1009 | "description": "Content to render in the top-right corner of the card"
|
1010 | },
|
1011 | {
|
1012 | "name": "title",
|
1013 | "description": "Card title"
|
1014 | }
|
1015 | ],
|
1016 | "events": [],
|
1017 | "attributes": [
|
1018 | {
|
1019 | "name": "activeTabKey",
|
1020 | "default": "-",
|
1021 | "description": "Current TabPane's key",
|
1022 | "value": {
|
1023 | "type": "string",
|
1024 | "kind": "expression"
|
1025 | }
|
1026 | },
|
1027 | {
|
1028 | "name": "bodyStyle",
|
1029 | "default": "-",
|
1030 | "description": "Inline style to apply to the card content",
|
1031 | "value": {
|
1032 | "type": "object",
|
1033 | "kind": "expression"
|
1034 | }
|
1035 | },
|
1036 | {
|
1037 | "name": "bordered",
|
1038 | "default": "`true`",
|
1039 | "description": "Toggles rendering of the border around the card",
|
1040 | "value": {
|
1041 | "type": "boolean",
|
1042 | "kind": "expression"
|
1043 | }
|
1044 | },
|
1045 | {
|
1046 | "name": "defaultActiveTabKey",
|
1047 | "default": "-",
|
1048 | "description": "Initial active TabPane's key, if `activeTabKey` is not set.",
|
1049 | "value": {
|
1050 | "type": "string",
|
1051 | "kind": "expression"
|
1052 | }
|
1053 | },
|
1054 | {
|
1055 | "name": "extra",
|
1056 | "default": "-",
|
1057 | "description": "Content to render in the top-right corner of the card",
|
1058 | "value": {
|
1059 | "type": "string|slot",
|
1060 | "kind": "expression"
|
1061 | }
|
1062 | },
|
1063 | {
|
1064 | "name": "headStyle",
|
1065 | "default": "-",
|
1066 | "description": "Inline style to apply to the card head",
|
1067 | "value": {
|
1068 | "type": "object",
|
1069 | "kind": "expression"
|
1070 | }
|
1071 | },
|
1072 | {
|
1073 | "name": "hoverable",
|
1074 | "default": "false",
|
1075 | "description": "Lift up when hovering card",
|
1076 | "value": {
|
1077 | "type": "boolean",
|
1078 | "kind": "expression"
|
1079 | }
|
1080 | },
|
1081 | {
|
1082 | "name": "loading",
|
1083 | "default": "false",
|
1084 | "description": "Shows a loading indicator while the contents of the card are being fetched",
|
1085 | "value": {
|
1086 | "type": "boolean",
|
1087 | "kind": "expression"
|
1088 | }
|
1089 | },
|
1090 | {
|
1091 | "name": "size",
|
1092 | "default": "`default`",
|
1093 | "description": "Size of card",
|
1094 | "value": {
|
1095 | "type": "`default` | `small`",
|
1096 | "kind": "expression"
|
1097 | }
|
1098 | },
|
1099 | {
|
1100 | "name": "tabList",
|
1101 | "default": "-",
|
1102 | "description": "List of TabPane's head, Custom tabs with the customTab(v3.0) slot",
|
1103 | "value": {
|
1104 | "type": "Array<{key: string, tab: any}>",
|
1105 | "kind": "expression"
|
1106 | }
|
1107 | },
|
1108 | {
|
1109 | "name": "title",
|
1110 | "default": "-",
|
1111 | "description": "Card title",
|
1112 | "value": {
|
1113 | "type": "string|slot",
|
1114 | "kind": "expression"
|
1115 | }
|
1116 | },
|
1117 | {
|
1118 | "name": "type",
|
1119 | "default": "-",
|
1120 | "description": "Card style type, can be set to `inner` or not set",
|
1121 | "value": {
|
1122 | "type": "string",
|
1123 | "kind": "expression"
|
1124 | }
|
1125 | }
|
1126 | ]
|
1127 | },
|
1128 | {
|
1129 | "name": "a-card",
|
1130 | "slots": [],
|
1131 | "events": [],
|
1132 | "attributes": [
|
1133 | {
|
1134 | "name": "actions",
|
1135 | "default": "",
|
1136 | "description": "The action list, shows at the bottom of the Card.",
|
1137 | "value": {
|
1138 | "type": "-",
|
1139 | "kind": "expression"
|
1140 | }
|
1141 | },
|
1142 | {
|
1143 | "name": "cover",
|
1144 | "default": "",
|
1145 | "description": "Card cover",
|
1146 | "value": {
|
1147 | "type": "-",
|
1148 | "kind": "expression"
|
1149 | }
|
1150 | },
|
1151 | {
|
1152 | "name": "customTab",
|
1153 | "default": "",
|
1154 | "description": "custom tabList tab",
|
1155 | "value": {
|
1156 | "type": "{ item: tabList[number] }",
|
1157 | "kind": "expression"
|
1158 | }
|
1159 | },
|
1160 | {
|
1161 | "name": "extra",
|
1162 | "default": "",
|
1163 | "description": "Content to render in the top-right corner of the card",
|
1164 | "value": {
|
1165 | "type": "-",
|
1166 | "kind": "expression"
|
1167 | }
|
1168 | },
|
1169 | {
|
1170 | "name": "tabBarExtraContent",
|
1171 | "default": "",
|
1172 | "description": "Extra content in tab bar",
|
1173 | "value": {
|
1174 | "type": "-",
|
1175 | "kind": "expression"
|
1176 | }
|
1177 | },
|
1178 | {
|
1179 | "name": "title",
|
1180 | "default": "",
|
1181 | "description": "Card title",
|
1182 | "value": {
|
1183 | "type": "-",
|
1184 | "kind": "expression"
|
1185 | }
|
1186 | }
|
1187 | ]
|
1188 | },
|
1189 | {
|
1190 | "name": "a-card-meta",
|
1191 | "slots": [
|
1192 | {
|
1193 | "name": "avatar",
|
1194 | "description": "avatar or icon"
|
1195 | },
|
1196 | {
|
1197 | "name": "description",
|
1198 | "description": "description content"
|
1199 | },
|
1200 | {
|
1201 | "name": "title",
|
1202 | "description": "title content"
|
1203 | }
|
1204 | ],
|
1205 | "events": [],
|
1206 | "attributes": [
|
1207 | {
|
1208 | "name": "avatar",
|
1209 | "default": "-",
|
1210 | "description": "avatar or icon",
|
1211 | "value": {
|
1212 | "type": "slot",
|
1213 | "kind": "expression"
|
1214 | }
|
1215 | },
|
1216 | {
|
1217 | "name": "description",
|
1218 | "default": "-",
|
1219 | "description": "description content",
|
1220 | "value": {
|
1221 | "type": "string|slot",
|
1222 | "kind": "expression"
|
1223 | }
|
1224 | },
|
1225 | {
|
1226 | "name": "title",
|
1227 | "default": "-",
|
1228 | "description": "title content",
|
1229 | "value": {
|
1230 | "type": "string|slot",
|
1231 | "kind": "expression"
|
1232 | }
|
1233 | }
|
1234 | ]
|
1235 | },
|
1236 | {
|
1237 | "name": "a-carousel",
|
1238 | "slots": [],
|
1239 | "events": [],
|
1240 | "attributes": [
|
1241 | {
|
1242 | "name": "autoplay",
|
1243 | "default": "`false`",
|
1244 | "description": "Whether to scroll automatically",
|
1245 | "value": {
|
1246 | "type": "boolean",
|
1247 | "kind": "expression"
|
1248 | }
|
1249 | },
|
1250 | {
|
1251 | "name": "dotPosition",
|
1252 | "default": "`bottom`",
|
1253 | "description": "The position of the dots, which can be one of `top` `bottom` `left` `right`",
|
1254 | "value": {
|
1255 | "type": "string",
|
1256 | "kind": "expression"
|
1257 | }
|
1258 | },
|
1259 | {
|
1260 | "name": "dots",
|
1261 | "default": "`true`",
|
1262 | "description": "Whether to show the dots at the bottom of the gallery",
|
1263 | "value": {
|
1264 | "type": "boolean",
|
1265 | "kind": "expression"
|
1266 | }
|
1267 | },
|
1268 | {
|
1269 | "name": "dotsClass",
|
1270 | "default": "`slick-dots`",
|
1271 | "description": "Class name of the dots",
|
1272 | "value": {
|
1273 | "type": "string",
|
1274 | "kind": "expression"
|
1275 | }
|
1276 | },
|
1277 | {
|
1278 | "name": "easing",
|
1279 | "default": "`linear`",
|
1280 | "description": "Transition interpolation function name",
|
1281 | "value": {
|
1282 | "type": "string",
|
1283 | "kind": "expression"
|
1284 | }
|
1285 | },
|
1286 | {
|
1287 | "name": "effect",
|
1288 | "default": "`scrollx`",
|
1289 | "description": "Transition effect",
|
1290 | "value": {
|
1291 | "type": "`scrollx` | `fade`",
|
1292 | "kind": "expression"
|
1293 | }
|
1294 | },
|
1295 | {
|
1296 | "name": "afterChange",
|
1297 | "default": "-",
|
1298 | "description": "Callback function called after the current index changes",
|
1299 | "value": {
|
1300 | "type": "function(current)",
|
1301 | "kind": "expression"
|
1302 | }
|
1303 | },
|
1304 | {
|
1305 | "name": "beforeChange",
|
1306 | "default": "-",
|
1307 | "description": "Callback function called before the current index changes",
|
1308 | "value": {
|
1309 | "type": "function(from, to)",
|
1310 | "kind": "expression"
|
1311 | }
|
1312 | }
|
1313 | ]
|
1314 | },
|
1315 | {
|
1316 | "name": "a-cascader",
|
1317 | "slots": [
|
1318 | {
|
1319 | "name": "expandIcon",
|
1320 | "description": "Customize the current item expand icon"
|
1321 | },
|
1322 | {
|
1323 | "name": "maxTagPlaceholder",
|
1324 | "description": "Placeholder for not showing tags"
|
1325 | },
|
1326 | {
|
1327 | "name": "notFoundContent",
|
1328 | "description": "Specify content to show when no result matches."
|
1329 | },
|
1330 | {
|
1331 | "name": "tagRender",
|
1332 | "description": "Customize tag render when `multiple`"
|
1333 | }
|
1334 | ],
|
1335 | "events": [
|
1336 | {
|
1337 | "name": "change",
|
1338 | "description": "callback when finishing cascader select"
|
1339 | },
|
1340 | {
|
1341 | "name": "dropdownVisibleChange",
|
1342 | "description": "callback when popup shown or hidden"
|
1343 | },
|
1344 | {
|
1345 | "name": "search",
|
1346 | "description": "callback when input value change"
|
1347 | }
|
1348 | ],
|
1349 | "attributes": [
|
1350 | {
|
1351 | "name": "allowClear",
|
1352 | "default": "true",
|
1353 | "description": "whether allow clear",
|
1354 | "value": {
|
1355 | "type": "boolean",
|
1356 | "kind": "expression"
|
1357 | }
|
1358 | },
|
1359 | {
|
1360 | "name": "autofocus",
|
1361 | "default": "false",
|
1362 | "description": "get focus when component mounted",
|
1363 | "value": {
|
1364 | "type": "boolean",
|
1365 | "kind": "expression"
|
1366 | }
|
1367 | },
|
1368 | {
|
1369 | "name": "changeOnSelect",
|
1370 | "default": "false",
|
1371 | "description": "(Work on single select) change value on each selection if set to true, see above demo for details",
|
1372 | "value": {
|
1373 | "type": "boolean",
|
1374 | "kind": "expression"
|
1375 | }
|
1376 | },
|
1377 | {
|
1378 | "name": "disabled",
|
1379 | "default": "false",
|
1380 | "description": "whether disabled select",
|
1381 | "value": {
|
1382 | "type": "boolean",
|
1383 | "kind": "expression"
|
1384 | }
|
1385 | },
|
1386 | {
|
1387 | "name": "displayRender",
|
1388 | "default": "`labels => labels.join(' / ')`",
|
1389 | "description": "render function of displaying selected options, you can use #displayRender=\"{labels, selectedOptions}\".",
|
1390 | "value": {
|
1391 | "type": "`({labels, selectedOptions}) => VNode`",
|
1392 | "kind": "expression"
|
1393 | }
|
1394 | },
|
1395 | {
|
1396 | "name": "dropdownClassName",
|
1397 | "default": "-",
|
1398 | "description": "additional className of popup overlay",
|
1399 | "value": {
|
1400 | "type": "string",
|
1401 | "kind": "expression"
|
1402 | }
|
1403 | },
|
1404 | {
|
1405 | "name": "dropdownStyle",
|
1406 | "default": "{}",
|
1407 | "description": "additional style of popup overlay",
|
1408 | "value": {
|
1409 | "type": "CSSProperties",
|
1410 | "kind": "expression"
|
1411 | }
|
1412 | },
|
1413 | {
|
1414 | "name": "expandIcon",
|
1415 | "default": "-",
|
1416 | "description": "Customize the current item expand icon",
|
1417 | "value": {
|
1418 | "type": "slot",
|
1419 | "kind": "expression"
|
1420 | }
|
1421 | },
|
1422 | {
|
1423 | "name": "expandTrigger",
|
1424 | "default": "'click'",
|
1425 | "description": "expand current item when click or hover, one of 'click' 'hover'",
|
1426 | "value": {
|
1427 | "type": "string",
|
1428 | "kind": "expression"
|
1429 | }
|
1430 | },
|
1431 | {
|
1432 | "name": "fieldNames",
|
1433 | "default": "`{ label: 'label', value: 'value', children: 'children' }`",
|
1434 | "description": "custom field name for label and value and children",
|
1435 | "value": {
|
1436 | "type": "object",
|
1437 | "kind": "expression"
|
1438 | }
|
1439 | },
|
1440 | {
|
1441 | "name": "getPopupContainer",
|
1442 | "default": "() => document.body",
|
1443 | "description": "Parent Node which the selector should be rendered to. Default to `body`. When position issues happen, try to modify it into scrollable content and position it relative.",
|
1444 | "value": {
|
1445 | "type": "Function(triggerNode)",
|
1446 | "kind": "expression"
|
1447 | }
|
1448 | },
|
1449 | {
|
1450 | "name": "loadData",
|
1451 | "default": "-",
|
1452 | "description": "To load option lazily, and it cannot work with `showSearch`",
|
1453 | "value": {
|
1454 | "type": "`(selectedOptions) => void`",
|
1455 | "kind": "expression"
|
1456 | }
|
1457 | },
|
1458 | {
|
1459 | "name": "maxTagCount",
|
1460 | "default": "-",
|
1461 | "description": "Max tag count to show. `responsive` will cost render performance",
|
1462 | "value": {
|
1463 | "type": "number | `responsive`",
|
1464 | "kind": "expression"
|
1465 | }
|
1466 | },
|
1467 | {
|
1468 | "name": "maxTagPlaceholder",
|
1469 | "default": "-",
|
1470 | "description": "Placeholder for not showing tags",
|
1471 | "value": {
|
1472 | "type": "v-slot | function(omittedValues)",
|
1473 | "kind": "expression"
|
1474 | }
|
1475 | },
|
1476 | {
|
1477 | "name": "multiple",
|
1478 | "default": "-",
|
1479 | "description": "Support multiple or not",
|
1480 | "value": {
|
1481 | "type": "boolean",
|
1482 | "kind": "expression"
|
1483 | }
|
1484 | },
|
1485 | {
|
1486 | "name": "notFoundContent",
|
1487 | "default": "'Not Found'",
|
1488 | "description": "Specify content to show when no result matches.",
|
1489 | "value": {
|
1490 | "type": "string | slot",
|
1491 | "kind": "expression"
|
1492 | }
|
1493 | },
|
1494 | {
|
1495 | "name": "open",
|
1496 | "default": "-",
|
1497 | "description": "set visible of cascader popup",
|
1498 | "value": {
|
1499 | "type": "boolean",
|
1500 | "kind": "expression"
|
1501 | }
|
1502 | },
|
1503 | {
|
1504 | "name": "options",
|
1505 | "default": "-",
|
1506 | "description": "data options of cascade",
|
1507 | "value": {
|
1508 | "type": "[Option](#option)[]",
|
1509 | "kind": "expression"
|
1510 | }
|
1511 | },
|
1512 | {
|
1513 | "name": "placeholder",
|
1514 | "default": "'Please select'",
|
1515 | "description": "input placeholder",
|
1516 | "value": {
|
1517 | "type": "string",
|
1518 | "kind": "expression"
|
1519 | }
|
1520 | },
|
1521 | {
|
1522 | "name": "placement",
|
1523 | "default": "`bottomLeft`",
|
1524 | "description": "use preset popup align config from builtinPlacements:`bottomLeft` `bottomRight` `topLeft` `topRight`",
|
1525 | "value": {
|
1526 | "type": "string",
|
1527 | "kind": "expression"
|
1528 | }
|
1529 | },
|
1530 | {
|
1531 | "name": "searchValue",
|
1532 | "default": "-",
|
1533 | "description": "Set search value,Need work with `showSearch`",
|
1534 | "value": {
|
1535 | "type": "string",
|
1536 | "kind": "expression"
|
1537 | }
|
1538 | },
|
1539 | {
|
1540 | "name": "showSearch",
|
1541 | "default": "false",
|
1542 | "description": "Whether show search input in single mode.",
|
1543 | "value": {
|
1544 | "type": "boolean | [object](#showsearch)",
|
1545 | "kind": "expression"
|
1546 | }
|
1547 | },
|
1548 | {
|
1549 | "name": "size",
|
1550 | "default": "`default`",
|
1551 | "description": "input size, one of `large` `default` `small`",
|
1552 | "value": {
|
1553 | "type": "string",
|
1554 | "kind": "expression"
|
1555 | }
|
1556 | },
|
1557 | {
|
1558 | "name": "suffixIcon",
|
1559 | "default": "slot",
|
1560 | "description": "The custom suffix icon",
|
1561 | "value": {
|
1562 | "type": "string | VNode ",
|
1563 | "kind": "expression"
|
1564 | }
|
1565 | },
|
1566 | {
|
1567 | "name": "tagRender",
|
1568 | "default": "-",
|
1569 | "description": "Customize tag render when `multiple`",
|
1570 | "value": {
|
1571 | "type": "slot",
|
1572 | "kind": "expression"
|
1573 | }
|
1574 | },
|
1575 | {
|
1576 | "name": "value(v-model)",
|
1577 | "default": "-",
|
1578 | "description": "selected value",
|
1579 | "value": {
|
1580 | "type": "string[] | number[]",
|
1581 | "kind": "expression"
|
1582 | }
|
1583 | }
|
1584 | ]
|
1585 | },
|
1586 | {
|
1587 | "name": "a-checkbox",
|
1588 | "slots": [],
|
1589 | "events": [
|
1590 | {
|
1591 | "name": "change",
|
1592 | "description": "The callback function that is triggered when the state changes."
|
1593 | },
|
1594 | {
|
1595 | "name": "change",
|
1596 | "description": "The callback function that is triggered when the state changes."
|
1597 | }
|
1598 | ],
|
1599 | "attributes": []
|
1600 | },
|
1601 | {
|
1602 | "name": "a-checkbox",
|
1603 | "slots": [],
|
1604 | "events": [],
|
1605 | "attributes": [
|
1606 | {
|
1607 | "name": "autofocus",
|
1608 | "default": "false",
|
1609 | "description": "get focus when component mounted",
|
1610 | "value": {
|
1611 | "type": "boolean",
|
1612 | "kind": "expression"
|
1613 | }
|
1614 | },
|
1615 | {
|
1616 | "name": "checked(v-model)",
|
1617 | "default": "false",
|
1618 | "description": "Specifies whether the checkbox is selected.",
|
1619 | "value": {
|
1620 | "type": "boolean",
|
1621 | "kind": "expression"
|
1622 | }
|
1623 | },
|
1624 | {
|
1625 | "name": "disabled",
|
1626 | "default": "false",
|
1627 | "description": "Disable checkbox",
|
1628 | "value": {
|
1629 | "type": "boolean",
|
1630 | "kind": "expression"
|
1631 | }
|
1632 | },
|
1633 | {
|
1634 | "name": "indeterminate",
|
1635 | "default": "false",
|
1636 | "description": "indeterminate checked state of checkbox",
|
1637 | "value": {
|
1638 | "type": "boolean",
|
1639 | "kind": "expression"
|
1640 | }
|
1641 | },
|
1642 | {
|
1643 | "name": "value",
|
1644 | "default": "number",
|
1645 | "description": "value of checkbox in CheckboxGroup",
|
1646 | "value": {
|
1647 | "type": "boolean | string ",
|
1648 | "kind": "expression"
|
1649 | }
|
1650 | }
|
1651 | ]
|
1652 | },
|
1653 | {
|
1654 | "name": "a-checkbox",
|
1655 | "slots": [],
|
1656 | "events": [],
|
1657 | "attributes": [
|
1658 | {
|
1659 | "name": "disabled",
|
1660 | "default": "false",
|
1661 | "description": "Disable all checkboxes",
|
1662 | "value": {
|
1663 | "type": "boolean",
|
1664 | "kind": "expression"
|
1665 | }
|
1666 | },
|
1667 | {
|
1668 | "name": "name",
|
1669 | "default": "-",
|
1670 | "description": "The `name` property of all `input[type=\"checkbox\"]` children",
|
1671 | "value": {
|
1672 | "type": "string",
|
1673 | "kind": "expression"
|
1674 | }
|
1675 | },
|
1676 | {
|
1677 | "name": "options",
|
1678 | "default": "\\[]",
|
1679 | "description": "Specifies options, you can customize `label` with slot = \"label\" slot-scope=\"option\"",
|
1680 | "value": {
|
1681 | "type": "string[] | Array<{ label: string value: string disabled?: boolean, indeterminate?: boolean, onChange?: function }>",
|
1682 | "kind": "expression"
|
1683 | }
|
1684 | },
|
1685 | {
|
1686 | "name": "value(v-model)",
|
1687 | "default": "\\[]",
|
1688 | "description": "Used for setting the currently selected value.",
|
1689 | "value": {
|
1690 | "type": "string[]",
|
1691 | "kind": "expression"
|
1692 | }
|
1693 | }
|
1694 | ]
|
1695 | },
|
1696 | {
|
1697 | "name": "a-checkbox",
|
1698 | "slots": [],
|
1699 | "events": [],
|
1700 | "attributes": [
|
1701 | {
|
1702 | "name": "blur()",
|
1703 | "description": "remove focus",
|
1704 | "value": {
|
1705 | "type": "",
|
1706 | "kind": "expression"
|
1707 | }
|
1708 | },
|
1709 | {
|
1710 | "name": "focus()",
|
1711 | "description": "get focus",
|
1712 | "value": {
|
1713 | "type": "",
|
1714 | "kind": "expression"
|
1715 | }
|
1716 | }
|
1717 | ]
|
1718 | },
|
1719 | {
|
1720 | "name": "a-collapse",
|
1721 | "slots": [],
|
1722 | "events": [
|
1723 | {
|
1724 | "name": "change",
|
1725 | "description": "Callback function executed when active panel is changed"
|
1726 | }
|
1727 | ],
|
1728 | "attributes": []
|
1729 | },
|
1730 | {
|
1731 | "name": "a-collapse",
|
1732 | "slots": [
|
1733 | {
|
1734 | "name": "expandIcon",
|
1735 | "description": "allow to customize collapse icon"
|
1736 | }
|
1737 | ],
|
1738 | "events": [],
|
1739 | "attributes": [
|
1740 | {
|
1741 | "name": "accordion",
|
1742 | "default": "`false`",
|
1743 | "description": "If `true`, `Collapse` renders as `Accordion`",
|
1744 | "value": {
|
1745 | "type": "boolean",
|
1746 | "kind": "expression"
|
1747 | }
|
1748 | },
|
1749 | {
|
1750 | "name": "activeKey(v-model)",
|
1751 | "default": "No default value. In `accordion` mode, it's the key of the first panel.",
|
1752 | "description": "Key of the active panel",
|
1753 | "value": {
|
1754 | "type": "string[]|string",
|
1755 | "kind": "expression"
|
1756 | }
|
1757 | },
|
1758 | {
|
1759 | "name": "bordered",
|
1760 | "default": "`true`",
|
1761 | "description": "Toggles rendering of the border around the collapse block",
|
1762 | "value": {
|
1763 | "type": "boolean",
|
1764 | "kind": "expression"
|
1765 | }
|
1766 | },
|
1767 | {
|
1768 | "name": "collapsible",
|
1769 | "default": "-",
|
1770 | "description": "Specify whether the panels of children be collapsible or the trigger area of collapsible",
|
1771 | "value": {
|
1772 | "type": "`header` | `disabled`",
|
1773 | "kind": "expression"
|
1774 | }
|
1775 | },
|
1776 | {
|
1777 | "name": "destroyInactivePanel",
|
1778 | "default": "`false`",
|
1779 | "description": "Destroy Inactive Panel",
|
1780 | "value": {
|
1781 | "type": "boolean",
|
1782 | "kind": "expression"
|
1783 | }
|
1784 | },
|
1785 | {
|
1786 | "name": "expandIcon",
|
1787 | "default": "",
|
1788 | "description": "allow to customize collapse icon",
|
1789 | "value": {
|
1790 | "type": "Function(props):VNode | v-slot:expandIcon=\"props\"",
|
1791 | "kind": "expression"
|
1792 | }
|
1793 | },
|
1794 | {
|
1795 | "name": "expandIconPosition",
|
1796 | "default": "-",
|
1797 | "description": "Set expand icon position: `left`, `right`",
|
1798 | "value": {
|
1799 | "type": "`left`",
|
1800 | "kind": "expression"
|
1801 | }
|
1802 | },
|
1803 | {
|
1804 | "name": "ghost",
|
1805 | "default": "false",
|
1806 | "description": "Make the collapse borderless and its background transparent",
|
1807 | "value": {
|
1808 | "type": "boolean",
|
1809 | "kind": "expression"
|
1810 | }
|
1811 | }
|
1812 | ]
|
1813 | },
|
1814 | {
|
1815 | "name": "a-collapse-panel",
|
1816 | "slots": [
|
1817 | {
|
1818 | "name": "extra",
|
1819 | "description": "extra element in the corner"
|
1820 | },
|
1821 | {
|
1822 | "name": "header",
|
1823 | "description": "Title of the panel"
|
1824 | }
|
1825 | ],
|
1826 | "events": [],
|
1827 | "attributes": [
|
1828 | {
|
1829 | "name": "collapsible",
|
1830 | "default": "-",
|
1831 | "description": "Specify whether the panel be collapsible or the trigger area of collapsible",
|
1832 | "value": {
|
1833 | "type": "`header` | `disabled`",
|
1834 | "kind": "expression"
|
1835 | }
|
1836 | },
|
1837 | {
|
1838 | "name": "disabled",
|
1839 | "default": "`false`",
|
1840 | "description": "If `true`, panel cannot be opened or closed",
|
1841 | "value": {
|
1842 | "type": "boolean",
|
1843 | "kind": "expression"
|
1844 | }
|
1845 | },
|
1846 | {
|
1847 | "name": "extra",
|
1848 | "default": "-",
|
1849 | "description": "extra element in the corner",
|
1850 | "value": {
|
1851 | "type": "VNode | slot",
|
1852 | "kind": "expression"
|
1853 | }
|
1854 | },
|
1855 | {
|
1856 | "name": "forceRender",
|
1857 | "default": "`false`",
|
1858 | "description": "Forced render of content on panel, instead of lazy rending after clicking on header",
|
1859 | "value": {
|
1860 | "type": "boolean",
|
1861 | "kind": "expression"
|
1862 | }
|
1863 | },
|
1864 | {
|
1865 | "name": "header",
|
1866 | "default": "-",
|
1867 | "description": "Title of the panel",
|
1868 | "value": {
|
1869 | "type": "string | slot",
|
1870 | "kind": "expression"
|
1871 | }
|
1872 | },
|
1873 | {
|
1874 | "name": "key",
|
1875 | "default": "-",
|
1876 | "description": "Unique key identifying the panel from among its siblings",
|
1877 | "value": {
|
1878 | "type": "string | number",
|
1879 | "kind": "expression"
|
1880 | }
|
1881 | },
|
1882 | {
|
1883 | "name": "showArrow",
|
1884 | "default": "`true`",
|
1885 | "description": "If `false`, panel will not show arrow icon",
|
1886 | "value": {
|
1887 | "type": "boolean",
|
1888 | "kind": "expression"
|
1889 | }
|
1890 | }
|
1891 | ]
|
1892 | },
|
1893 | {
|
1894 | "name": "a-colorpicker",
|
1895 | "slots": [],
|
1896 | "events": [],
|
1897 | "attributes": [
|
1898 | {
|
1899 | "name": "colorRounded",
|
1900 | "default": "0",
|
1901 | "description": "precision of color",
|
1902 | "value": {
|
1903 | "type": "number",
|
1904 | "kind": "expression"
|
1905 | }
|
1906 | },
|
1907 | {
|
1908 | "name": "config",
|
1909 | "default": "-",
|
1910 | "description": "pickr config",
|
1911 | "value": {
|
1912 | "type": "[pickr options](https://github.com/Simonwep/pickr)",
|
1913 | "kind": "expression"
|
1914 | }
|
1915 | },
|
1916 | {
|
1917 | "name": "defaultValue",
|
1918 | "default": "-",
|
1919 | "description": "default color",
|
1920 | "value": {
|
1921 | "type": "string",
|
1922 | "kind": "expression"
|
1923 | }
|
1924 | },
|
1925 | {
|
1926 | "name": "disabled",
|
1927 | "default": "false",
|
1928 | "description": "whether disabled picker",
|
1929 | "value": {
|
1930 | "type": "boolean",
|
1931 | "kind": "expression"
|
1932 | }
|
1933 | },
|
1934 | {
|
1935 | "name": "format",
|
1936 | "default": "'HSVA' \\",
|
1937 | "description": "Color format",
|
1938 | "value": {
|
1939 | "type": "'HEXA' |'RGBA' ",
|
1940 | "kind": "expression"
|
1941 | }
|
1942 | },
|
1943 | {
|
1944 | "name": "getPopupContainer",
|
1945 | "default": "() => document.body",
|
1946 | "description": "to set the container of the floating layer, while the default is to create a div element in body",
|
1947 | "value": {
|
1948 | "type": "Function(triggerNode)",
|
1949 | "kind": "expression"
|
1950 | }
|
1951 | },
|
1952 | {
|
1953 | "name": "locale",
|
1954 | "default": "-",
|
1955 | "description": "locale package",
|
1956 | "value": {
|
1957 | "type": "[default setting](https://github.com/vueComponent/ant-design-vue/blob/next/components/color-picker/locale)",
|
1958 | "kind": "expression"
|
1959 | }
|
1960 | },
|
1961 | {
|
1962 | "name": "size",
|
1963 | "default": "'default'",
|
1964 | "description": "size of pickr",
|
1965 | "value": {
|
1966 | "type": "'large'|'small'",
|
1967 | "kind": "expression"
|
1968 | }
|
1969 | },
|
1970 | {
|
1971 | "name": "value",
|
1972 | "default": "-",
|
1973 | "description": "color value",
|
1974 | "value": {
|
1975 | "type": "string",
|
1976 | "kind": "expression"
|
1977 | }
|
1978 | }
|
1979 | ]
|
1980 | },
|
1981 | {
|
1982 | "name": "a-comment",
|
1983 | "slots": [
|
1984 | {
|
1985 | "name": "actions",
|
1986 | "description": "List of action items rendered below the comment content"
|
1987 | },
|
1988 | {
|
1989 | "name": "author",
|
1990 | "description": "The element to display as the comment author"
|
1991 | },
|
1992 | {
|
1993 | "name": "avatar",
|
1994 | "description": "The element to display as the comment avatar - generally an antd `Avatar` or src"
|
1995 | },
|
1996 | {
|
1997 | "name": "content",
|
1998 | "description": "The main content of the comment"
|
1999 | },
|
2000 | {
|
2001 | "name": "datetime",
|
2002 | "description": "A datetime element containing the time to be displayed"
|
2003 | }
|
2004 | ],
|
2005 | "events": [],
|
2006 | "attributes": [
|
2007 | {
|
2008 | "name": "actions",
|
2009 | "default": "-",
|
2010 | "description": "List of action items rendered below the comment content",
|
2011 | "value": {
|
2012 | "type": "Array | slot",
|
2013 | "kind": "expression"
|
2014 | }
|
2015 | },
|
2016 | {
|
2017 | "name": "author",
|
2018 | "default": "-",
|
2019 | "description": "The element to display as the comment author",
|
2020 | "value": {
|
2021 | "type": "string|slot",
|
2022 | "kind": "expression"
|
2023 | }
|
2024 | },
|
2025 | {
|
2026 | "name": "avatar",
|
2027 | "default": "-",
|
2028 | "description": "The element to display as the comment avatar - generally an antd `Avatar` or src",
|
2029 | "value": {
|
2030 | "type": "string|slot",
|
2031 | "kind": "expression"
|
2032 | }
|
2033 | },
|
2034 | {
|
2035 | "name": "content",
|
2036 | "default": "-",
|
2037 | "description": "The main content of the comment",
|
2038 | "value": {
|
2039 | "type": "string|slot",
|
2040 | "kind": "expression"
|
2041 | }
|
2042 | },
|
2043 | {
|
2044 | "name": "datetime",
|
2045 | "default": "-",
|
2046 | "description": "A datetime element containing the time to be displayed",
|
2047 | "value": {
|
2048 | "type": "string|slot",
|
2049 | "kind": "expression"
|
2050 | }
|
2051 | }
|
2052 | ]
|
2053 | },
|
2054 | {
|
2055 | "name": "a-configprovider",
|
2056 | "slots": [
|
2057 | {
|
2058 | "name": "renderEmpty",
|
2059 | "description": "set empty content of components. Ref [Empty](/components/empty/)"
|
2060 | }
|
2061 | ],
|
2062 | "events": [],
|
2063 | "attributes": [
|
2064 | {
|
2065 | "name": "autoInsertSpaceInButton",
|
2066 | "default": "true",
|
2067 | "description": "Set `false` to remove space between 2 chinese characters on Button",
|
2068 | "value": {
|
2069 | "type": "boolean",
|
2070 | "kind": "expression"
|
2071 | }
|
2072 | },
|
2073 | {
|
2074 | "name": "componentSize",
|
2075 | "default": "`large`",
|
2076 | "description": "Config antd component size",
|
2077 | "value": {
|
2078 | "type": "`small` | `middle` ",
|
2079 | "kind": "expression"
|
2080 | }
|
2081 | },
|
2082 | {
|
2083 | "name": "csp",
|
2084 | "default": "-",
|
2085 | "description": "Set [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) config",
|
2086 | "value": {
|
2087 | "type": "{ nonce: string }",
|
2088 | "kind": "expression"
|
2089 | }
|
2090 | },
|
2091 | {
|
2092 | "name": "direction",
|
2093 | "default": "`ltr`",
|
2094 | "description": "Set direction of layout. See [demo](#components-config-provider-demo-direction)",
|
2095 | "value": {
|
2096 | "type": "`ltr` | `rtl`",
|
2097 | "kind": "expression"
|
2098 | }
|
2099 | },
|
2100 | {
|
2101 | "name": "dropdownMatchSelectWidth",
|
2102 | "default": "-",
|
2103 | "description": "Determine whether the dropdown menu and the select input are the same width. Default set `min-width` same as input. Will ignore when value less than select width. `false` will disable virtual scroll",
|
2104 | "value": {
|
2105 | "type": "boolean | number",
|
2106 | "kind": "expression"
|
2107 | }
|
2108 | },
|
2109 | {
|
2110 | "name": "form",
|
2111 | "default": "-",
|
2112 | "description": "Set Form common props",
|
2113 | "value": {
|
2114 | "type": "{ validateMessages?: [ValidateMessages](/components/form/#validateMessages), requiredMark?: boolean | `optional` }",
|
2115 | "kind": "expression"
|
2116 | }
|
2117 | },
|
2118 | {
|
2119 | "name": "getPopupContainer",
|
2120 | "default": "`() => document.body`",
|
2121 | "description": "to set the container of the popup element. The default is to create a `div` element in `body`.",
|
2122 | "value": {
|
2123 | "type": "Function(triggerNode, dialogContext)",
|
2124 | "kind": "expression"
|
2125 | }
|
2126 | },
|
2127 | {
|
2128 | "name": "getTargetContainer",
|
2129 | "default": "() => window",
|
2130 | "description": "Config Affix, Anchor scroll target container",
|
2131 | "value": {
|
2132 | "type": "() => HTMLElement",
|
2133 | "kind": "expression"
|
2134 | }
|
2135 | },
|
2136 | {
|
2137 | "name": "input",
|
2138 | "default": "-",
|
2139 | "description": "Set Input common props",
|
2140 | "value": {
|
2141 | "type": "{ autocomplete?: string }",
|
2142 | "kind": "expression"
|
2143 | }
|
2144 | },
|
2145 | {
|
2146 | "name": "locale",
|
2147 | "default": "-",
|
2148 | "description": "language package setting, you can find the packages in [ant-design-vue/es/locale](http://unpkg.com/ant-design-vue/es/locale/)",
|
2149 | "value": {
|
2150 | "type": "object",
|
2151 | "kind": "expression"
|
2152 | }
|
2153 | },
|
2154 | {
|
2155 | "name": "pageHeader",
|
2156 | "default": "'true'",
|
2157 | "description": "Unify the ghost of pageHeader ,Ref [pageHeader]\\(<(/components/page-header)>",
|
2158 | "value": {
|
2159 | "type": "{ ghost:boolean }",
|
2160 | "kind": "expression"
|
2161 | }
|
2162 | },
|
2163 | {
|
2164 | "name": "prefixCls",
|
2165 | "default": "ant",
|
2166 | "description": "set prefix class",
|
2167 | "value": {
|
2168 | "type": "string",
|
2169 | "kind": "expression"
|
2170 | }
|
2171 | },
|
2172 | {
|
2173 | "name": "renderEmpty",
|
2174 | "default": "-",
|
2175 | "description": "set empty content of components. Ref [Empty](/components/empty/)",
|
2176 | "value": {
|
2177 | "type": "slot-scope | Function(componentName: string): ReactNode",
|
2178 | "kind": "expression"
|
2179 | }
|
2180 | },
|
2181 | {
|
2182 | "name": "space",
|
2183 | "default": "`large` \\",
|
2184 | "description": "Set Space `size`, ref [Space](/components/space)",
|
2185 | "value": {
|
2186 | "type": "{ size: `small` | `middle` ",
|
2187 | "kind": "expression"
|
2188 | }
|
2189 | },
|
2190 | {
|
2191 | "name": "transformCellText",
|
2192 | "default": "-",
|
2193 | "description": "Table data can be changed again before rendering. The default configuration of general user empty data.",
|
2194 | "value": {
|
2195 | "type": "Function({ text, column, record, index }) => any",
|
2196 | "kind": "expression"
|
2197 | }
|
2198 | },
|
2199 | {
|
2200 | "name": "virtual",
|
2201 | "default": "true",
|
2202 | "description": "Disable virtual scroll when set to false",
|
2203 | "value": {
|
2204 | "type": "boolean",
|
2205 | "kind": "expression"
|
2206 | }
|
2207 | }
|
2208 | ]
|
2209 | },
|
2210 | {
|
2211 | "name": "a-datepicker",
|
2212 | "slots": [
|
2213 | {
|
2214 | "name": "dateRender",
|
2215 | "description": "Custom rendering function for date cells"
|
2216 | },
|
2217 | {
|
2218 | "name": "nextIcon",
|
2219 | "description": "The custom next icon"
|
2220 | },
|
2221 | {
|
2222 | "name": "prevIcon",
|
2223 | "description": "The custom prev icon"
|
2224 | },
|
2225 | {
|
2226 | "name": "suffixIcon",
|
2227 | "description": "The custom suffix icon"
|
2228 | },
|
2229 | {
|
2230 | "name": "superNextIcon",
|
2231 | "description": "The custom super next icon"
|
2232 | },
|
2233 | {
|
2234 | "name": "superPrevIcon",
|
2235 | "description": "The custom super prev icon"
|
2236 | }
|
2237 | ],
|
2238 | "events": [],
|
2239 | "attributes": [
|
2240 | {
|
2241 | "name": "allowClear",
|
2242 | "default": "true",
|
2243 | "description": "Whether to show clear button",
|
2244 | "value": {
|
2245 | "type": "boolean",
|
2246 | "kind": "expression"
|
2247 | }
|
2248 | },
|
2249 | {
|
2250 | "name": "autofocus",
|
2251 | "default": "false",
|
2252 | "description": "If get focus when component mounted",
|
2253 | "value": {
|
2254 | "type": "boolean",
|
2255 | "kind": "expression"
|
2256 | }
|
2257 | },
|
2258 | {
|
2259 | "name": "bordered",
|
2260 | "default": "true",
|
2261 | "description": "Whether has border style",
|
2262 | "value": {
|
2263 | "type": "boolean",
|
2264 | "kind": "expression"
|
2265 | }
|
2266 | },
|
2267 | {
|
2268 | "name": "dateRender",
|
2269 | "default": "-",
|
2270 | "description": "Custom rendering function for date cells",
|
2271 | "value": {
|
2272 | "type": "v-slot:dateRender=\"{current, today}\"",
|
2273 | "kind": "expression"
|
2274 | }
|
2275 | },
|
2276 | {
|
2277 | "name": "disabled",
|
2278 | "default": "false",
|
2279 | "description": "Determine whether the DatePicker is disabled",
|
2280 | "value": {
|
2281 | "type": "boolean",
|
2282 | "kind": "expression"
|
2283 | }
|
2284 | },
|
2285 | {
|
2286 | "name": "disabledDate",
|
2287 | "default": "-",
|
2288 | "description": "Specify the date that cannot be selected",
|
2289 | "value": {
|
2290 | "type": "(currentDate: dayjs) => boolean",
|
2291 | "kind": "expression"
|
2292 | }
|
2293 | },
|
2294 | {
|
2295 | "name": "dropdownClassName",
|
2296 | "default": "-",
|
2297 | "description": "To customize the className of the popup calendar",
|
2298 | "value": {
|
2299 | "type": "string",
|
2300 | "kind": "expression"
|
2301 | }
|
2302 | },
|
2303 | {
|
2304 | "name": "getPopupContainer",
|
2305 | "default": "-",
|
2306 | "description": "To set the container of the floating layer, while the default is to create a `div` element in `body`",
|
2307 | "value": {
|
2308 | "type": "function(trigger)",
|
2309 | "kind": "expression"
|
2310 | }
|
2311 | },
|
2312 | {
|
2313 | "name": "inputReadOnly",
|
2314 | "default": "false",
|
2315 | "description": "Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices)",
|
2316 | "value": {
|
2317 | "type": "boolean",
|
2318 | "kind": "expression"
|
2319 | }
|
2320 | },
|
2321 | {
|
2322 | "name": "locale",
|
2323 | "default": "[default](https://github.com/vueComponent/ant-design-vue/blob/next/components/date-picker/locale/example.json)",
|
2324 | "description": "Localization configuration",
|
2325 | "value": {
|
2326 | "type": "object",
|
2327 | "kind": "expression"
|
2328 | }
|
2329 | },
|
2330 | {
|
2331 | "name": "mode",
|
2332 | "default": "`month` \\",
|
2333 | "description": "The picker panel mode",
|
2334 | "value": {
|
2335 | "type": "`time` | `date` ",
|
2336 | "kind": "expression"
|
2337 | }
|
2338 | },
|
2339 | {
|
2340 | "name": "nextIcon",
|
2341 | "default": "-",
|
2342 | "description": "The custom next icon",
|
2343 | "value": {
|
2344 | "type": "slot",
|
2345 | "kind": "expression"
|
2346 | }
|
2347 | },
|
2348 | {
|
2349 | "name": "open",
|
2350 | "default": "-",
|
2351 | "description": "The open state of picker",
|
2352 | "value": {
|
2353 | "type": "boolean",
|
2354 | "kind": "expression"
|
2355 | }
|
2356 | },
|
2357 | {
|
2358 | "name": "picker",
|
2359 | "default": "`month` \\",
|
2360 | "description": "Set picker type",
|
2361 | "value": {
|
2362 | "type": "`date` | `week` ",
|
2363 | "kind": "expression"
|
2364 | }
|
2365 | },
|
2366 | {
|
2367 | "name": "placeholder",
|
2368 | "default": "-",
|
2369 | "description": "The placeholder of date input",
|
2370 | "value": {
|
2371 | "type": "string | [string,string]",
|
2372 | "kind": "expression"
|
2373 | }
|
2374 | },
|
2375 | {
|
2376 | "name": "popupStyle",
|
2377 | "default": "{}",
|
2378 | "description": "To customize the style of the popup calendar",
|
2379 | "value": {
|
2380 | "type": "CSSProperties",
|
2381 | "kind": "expression"
|
2382 | }
|
2383 | },
|
2384 | {
|
2385 | "name": "prevIcon",
|
2386 | "default": "-",
|
2387 | "description": "The custom prev icon",
|
2388 | "value": {
|
2389 | "type": "slot",
|
2390 | "kind": "expression"
|
2391 | }
|
2392 | },
|
2393 | {
|
2394 | "name": "size",
|
2395 | "default": "`small`",
|
2396 | "description": "To determine the size of the input box, the height of `large` and `small`, are 40px and 24px respectively, while default size is 32px",
|
2397 | "value": {
|
2398 | "type": "`large` | `middle` ",
|
2399 | "kind": "expression"
|
2400 | }
|
2401 | },
|
2402 | {
|
2403 | "name": "suffixIcon",
|
2404 | "default": "-",
|
2405 | "description": "The custom suffix icon",
|
2406 | "value": {
|
2407 | "type": "v-slot:suffixIcon",
|
2408 | "kind": "expression"
|
2409 | }
|
2410 | },
|
2411 | {
|
2412 | "name": "superNextIcon",
|
2413 | "default": "-",
|
2414 | "description": "The custom super next icon",
|
2415 | "value": {
|
2416 | "type": "slot",
|
2417 | "kind": "expression"
|
2418 | }
|
2419 | },
|
2420 | {
|
2421 | "name": "superPrevIcon",
|
2422 | "default": "-",
|
2423 | "description": "The custom super prev icon",
|
2424 | "value": {
|
2425 | "type": "slot",
|
2426 | "kind": "expression"
|
2427 | }
|
2428 | },
|
2429 | {
|
2430 | "name": "valueFormat",
|
2431 | "default": "-",
|
2432 | "description": "optional, format of binding value. If not specified, the binding value will be a Date object",
|
2433 | "value": {
|
2434 | "type": "string,[date formats](https://day.js.org/docs/en/display/format)",
|
2435 | "kind": "expression"
|
2436 | }
|
2437 | }
|
2438 | ]
|
2439 | },
|
2440 | {
|
2441 | "name": "a-descriptions",
|
2442 | "slots": [],
|
2443 | "events": [],
|
2444 | "attributes": []
|
2445 | },
|
2446 | {
|
2447 | "name": "a-descriptions",
|
2448 | "slots": [],
|
2449 | "events": [],
|
2450 | "attributes": [
|
2451 | {
|
2452 | "name": "bordered",
|
2453 | "default": "false",
|
2454 | "description": "whether to display the border",
|
2455 | "value": {
|
2456 | "type": "boolean",
|
2457 | "kind": "expression"
|
2458 | }
|
2459 | },
|
2460 | {
|
2461 | "name": "colon",
|
2462 | "default": "true",
|
2463 | "description": "change default props `colon` value of `Descriptions.Item`",
|
2464 | "value": {
|
2465 | "type": "boolean",
|
2466 | "kind": "expression"
|
2467 | }
|
2468 | },
|
2469 | {
|
2470 | "name": "column",
|
2471 | "default": "3",
|
2472 | "description": "the number of `DescriptionItems` in a row,could be a number or a object like `{ xs: 8, sm: 16, md: 24}`,(Only set `bordered={true}` to take effect)",
|
2473 | "value": {
|
2474 | "type": "number",
|
2475 | "kind": "expression"
|
2476 | }
|
2477 | },
|
2478 | {
|
2479 | "name": "contentStyle",
|
2480 | "default": "-",
|
2481 | "description": "Customize content style",
|
2482 | "value": {
|
2483 | "type": "CSSProperties",
|
2484 | "kind": "expression"
|
2485 | }
|
2486 | },
|
2487 | {
|
2488 | "name": "extra",
|
2489 | "default": "slot",
|
2490 | "description": "The action area of the description list, placed at the top-right",
|
2491 | "value": {
|
2492 | "type": "string | VNode ",
|
2493 | "kind": "expression"
|
2494 | }
|
2495 | },
|
2496 | {
|
2497 | "name": "labelStyle",
|
2498 | "default": "-",
|
2499 | "description": "Customize label style",
|
2500 | "value": {
|
2501 | "type": "CSSProperties",
|
2502 | "kind": "expression"
|
2503 | }
|
2504 | },
|
2505 | {
|
2506 | "name": "layout",
|
2507 | "default": "vertical\\`",
|
2508 | "description": "Define description layout",
|
2509 | "value": {
|
2510 | "type": "`horizontal",
|
2511 | "kind": "expression"
|
2512 | }
|
2513 | },
|
2514 | {
|
2515 | "name": "size",
|
2516 | "default": "middle",
|
2517 | "description": "set the size of the list. Can be set to `middle`,`small`, or not filled",
|
2518 | "value": {
|
2519 | "type": "`default",
|
2520 | "kind": "expression"
|
2521 | }
|
2522 | },
|
2523 | {
|
2524 | "name": "title",
|
2525 | "default": "slot",
|
2526 | "description": "The title of the description list, placed at the top",
|
2527 | "value": {
|
2528 | "type": "string | VNode ",
|
2529 | "kind": "expression"
|
2530 | }
|
2531 | }
|
2532 | ]
|
2533 | },
|
2534 | {
|
2535 | "name": "a-divider",
|
2536 | "slots": [],
|
2537 | "events": [],
|
2538 | "attributes": [
|
2539 | {
|
2540 | "name": "dashed",
|
2541 | "default": "false",
|
2542 | "description": "whether line is dashed",
|
2543 | "value": {
|
2544 | "type": "Boolean",
|
2545 | "kind": "expression"
|
2546 | }
|
2547 | },
|
2548 | {
|
2549 | "name": "orientation",
|
2550 | "default": "`center`",
|
2551 | "description": "position of title inside divider",
|
2552 | "value": {
|
2553 | "type": "enum: `left` `right` `center`",
|
2554 | "kind": "expression"
|
2555 | }
|
2556 | },
|
2557 | {
|
2558 | "name": "orientationMargin",
|
2559 | "default": "-",
|
2560 | "description": "The margin-left/right between the title and its closest border, while the `orientation` must be `left` or `right`",
|
2561 | "value": {
|
2562 | "type": "string | number",
|
2563 | "kind": "expression"
|
2564 | }
|
2565 | },
|
2566 | {
|
2567 | "name": "plain",
|
2568 | "default": "true",
|
2569 | "description": "Divider text show as plain style",
|
2570 | "value": {
|
2571 | "type": "boolean",
|
2572 | "kind": "expression"
|
2573 | }
|
2574 | },
|
2575 | {
|
2576 | "name": "type",
|
2577 | "default": "`horizontal`",
|
2578 | "description": "direction type of divider",
|
2579 | "value": {
|
2580 | "type": "enum: `horizontal` `vertical`",
|
2581 | "kind": "expression"
|
2582 | }
|
2583 | }
|
2584 | ]
|
2585 | },
|
2586 | {
|
2587 | "name": "a-drawer",
|
2588 | "slots": [
|
2589 | {
|
2590 | "name": "closeIcon",
|
2591 | "description": "Custom close icon"
|
2592 | },
|
2593 | {
|
2594 | "name": "extra",
|
2595 | "description": "Extra actions area at corner"
|
2596 | },
|
2597 | {
|
2598 | "name": "footer",
|
2599 | "description": "The footer for Drawer"
|
2600 | },
|
2601 | {
|
2602 | "name": "title",
|
2603 | "description": "The title for Drawer"
|
2604 | }
|
2605 | ],
|
2606 | "events": [],
|
2607 | "attributes": [
|
2608 | {
|
2609 | "name": "autofocus",
|
2610 | "default": "true",
|
2611 | "description": "Whether Drawer should get focused after open",
|
2612 | "value": {
|
2613 | "type": "boolean",
|
2614 | "kind": "expression"
|
2615 | }
|
2616 | },
|
2617 | {
|
2618 | "name": "bodyStyle",
|
2619 | "default": "-",
|
2620 | "description": "Style of the drawer content part",
|
2621 | "value": {
|
2622 | "type": "CSSProperties",
|
2623 | "kind": "expression"
|
2624 | }
|
2625 | },
|
2626 | {
|
2627 | "name": "class",
|
2628 | "default": "-",
|
2629 | "description": "The class name of the container of the Drawer dialog",
|
2630 | "value": {
|
2631 | "type": "string",
|
2632 | "kind": "expression"
|
2633 | }
|
2634 | },
|
2635 | {
|
2636 | "name": "closable",
|
2637 | "default": "true",
|
2638 | "description": "Whether a close (x) button is visible on top left of the Drawer dialog or not",
|
2639 | "value": {
|
2640 | "type": "boolean",
|
2641 | "kind": "expression"
|
2642 | }
|
2643 | },
|
2644 | {
|
2645 | "name": "closeIcon",
|
2646 | "default": "<CloseOutlined />",
|
2647 | "description": "Custom close icon",
|
2648 | "value": {
|
2649 | "type": "VNode | slot",
|
2650 | "kind": "expression"
|
2651 | }
|
2652 | },
|
2653 | {
|
2654 | "name": "contentWrapperStyle",
|
2655 | "default": "-",
|
2656 | "description": "Style of the drawer wrapper of content part",
|
2657 | "value": {
|
2658 | "type": "CSSProperties",
|
2659 | "kind": "expression"
|
2660 | }
|
2661 | },
|
2662 | {
|
2663 | "name": "destroyOnClose",
|
2664 | "default": "false",
|
2665 | "description": "Whether to unmount child components on closing drawer or not",
|
2666 | "value": {
|
2667 | "type": "boolean",
|
2668 | "kind": "expression"
|
2669 | }
|
2670 | },
|
2671 | {
|
2672 | "name": "drawerStyle",
|
2673 | "default": "-",
|
2674 | "description": "Style of the popup layer element",
|
2675 | "value": {
|
2676 | "type": "object",
|
2677 | "kind": "expression"
|
2678 | }
|
2679 | },
|
2680 | {
|
2681 | "name": "extra",
|
2682 | "default": "-",
|
2683 | "description": "Extra actions area at corner",
|
2684 | "value": {
|
2685 | "type": "VNode | slot",
|
2686 | "kind": "expression"
|
2687 | }
|
2688 | },
|
2689 | {
|
2690 | "name": "footer",
|
2691 | "default": "-",
|
2692 | "description": "The footer for Drawer",
|
2693 | "value": {
|
2694 | "type": "VNode | slot",
|
2695 | "kind": "expression"
|
2696 | }
|
2697 | },
|
2698 | {
|
2699 | "name": "footerStyle",
|
2700 | "default": "-",
|
2701 | "description": "Style of the drawer footer part",
|
2702 | "value": {
|
2703 | "type": "CSSProperties",
|
2704 | "kind": "expression"
|
2705 | }
|
2706 | },
|
2707 | {
|
2708 | "name": "forceRender",
|
2709 | "default": "false",
|
2710 | "description": "Prerender Drawer component forcely",
|
2711 | "value": {
|
2712 | "type": "boolean",
|
2713 | "kind": "expression"
|
2714 | }
|
2715 | },
|
2716 | {
|
2717 | "name": "getContainer",
|
2718 | "default": "Selectors",
|
2719 | "description": "Return the mounted node for Drawer",
|
2720 | "value": {
|
2721 | "type": "HTMLElement | `() => HTMLElement` ",
|
2722 | "kind": "expression"
|
2723 | }
|
2724 | },
|
2725 | {
|
2726 | "name": "headerStyle",
|
2727 | "default": "-",
|
2728 | "description": "Style of the drawer header part",
|
2729 | "value": {
|
2730 | "type": "CSSProperties",
|
2731 | "kind": "expression"
|
2732 | }
|
2733 | },
|
2734 | {
|
2735 | "name": "height",
|
2736 | "default": "378",
|
2737 | "description": "Placement is `top` or `bottom`, height of the Drawer dialog",
|
2738 | "value": {
|
2739 | "type": "string | number",
|
2740 | "kind": "expression"
|
2741 | }
|
2742 | },
|
2743 | {
|
2744 | "name": "keyboard",
|
2745 | "default": "true",
|
2746 | "description": "Whether support press esc to close",
|
2747 | "value": {
|
2748 | "type": "boolean",
|
2749 | "kind": "expression"
|
2750 | }
|
2751 | },
|
2752 | {
|
2753 | "name": "mask",
|
2754 | "default": "true",
|
2755 | "description": "Whether to show mask or not",
|
2756 | "value": {
|
2757 | "type": "Boolean",
|
2758 | "kind": "expression"
|
2759 | }
|
2760 | },
|
2761 | {
|
2762 | "name": "maskClosable",
|
2763 | "default": "true",
|
2764 | "description": "Clicking on the mask (area outside the Drawer) to close the Drawer or not",
|
2765 | "value": {
|
2766 | "type": "boolean",
|
2767 | "kind": "expression"
|
2768 | }
|
2769 | },
|
2770 | {
|
2771 | "name": "maskStyle",
|
2772 | "default": "{}",
|
2773 | "description": "Style for Drawer's mask element",
|
2774 | "value": {
|
2775 | "type": "CSSProperties",
|
2776 | "kind": "expression"
|
2777 | }
|
2778 | },
|
2779 | {
|
2780 | "name": "placement",
|
2781 | "default": "'bottom' \\",
|
2782 | "description": "The placement of the Drawer",
|
2783 | "value": {
|
2784 | "type": "'top' | 'right' ",
|
2785 | "kind": "expression"
|
2786 | }
|
2787 | },
|
2788 | {
|
2789 | "name": "push",
|
2790 | "default": "number}",
|
2791 | "description": "Nested drawers push behavior",
|
2792 | "value": {
|
2793 | "type": "boolean | {distance: string ",
|
2794 | "kind": "expression"
|
2795 | }
|
2796 | },
|
2797 | {
|
2798 | "name": "size",
|
2799 | "default": "`default`",
|
2800 | "description": "presetted size of drawer, default `378px` and large `736px`",
|
2801 | "value": {
|
2802 | "type": "`default` | `large`",
|
2803 | "kind": "expression"
|
2804 | }
|
2805 | },
|
2806 | {
|
2807 | "name": "style",
|
2808 | "default": "-",
|
2809 | "description": "Style of wrapper element which contains mask compare to drawerStyle",
|
2810 | "value": {
|
2811 | "type": "CSSProperties",
|
2812 | "kind": "expression"
|
2813 | }
|
2814 | },
|
2815 | {
|
2816 | "name": "title",
|
2817 | "default": "-",
|
2818 | "description": "The title for Drawer",
|
2819 | "value": {
|
2820 | "type": "string | slot",
|
2821 | "kind": "expression"
|
2822 | }
|
2823 | },
|
2824 | {
|
2825 | "name": "visible(v-model)",
|
2826 | "default": "-",
|
2827 | "description": "Whether the Drawer dialog is visible or not",
|
2828 | "value": {
|
2829 | "type": "boolean",
|
2830 | "kind": "expression"
|
2831 | }
|
2832 | },
|
2833 | {
|
2834 | "name": "width",
|
2835 | "default": "378",
|
2836 | "description": "Width of the Drawer dialog",
|
2837 | "value": {
|
2838 | "type": "string | number",
|
2839 | "kind": "expression"
|
2840 | }
|
2841 | },
|
2842 | {
|
2843 | "name": "zIndex",
|
2844 | "default": "1000",
|
2845 | "description": "The `z-index` of the Drawer",
|
2846 | "value": {
|
2847 | "type": "Number",
|
2848 | "kind": "expression"
|
2849 | }
|
2850 | }
|
2851 | ]
|
2852 | },
|
2853 | {
|
2854 | "name": "a-dropdown",
|
2855 | "slots": [],
|
2856 | "events": [
|
2857 | {
|
2858 | "name": "visibleChange",
|
2859 | "description": "a callback function takes an argument: `visible`, is executed when the visible state is changed. Not trigger when hidden by click item"
|
2860 | }
|
2861 | ],
|
2862 | "attributes": []
|
2863 | },
|
2864 | {
|
2865 | "name": "a-dropdown",
|
2866 | "slots": [],
|
2867 | "events": [],
|
2868 | "attributes": [
|
2869 | {
|
2870 | "name": "destroyPopupOnHide",
|
2871 | "default": "false",
|
2872 | "description": "Whether destroy dropdown when hidden",
|
2873 | "value": {
|
2874 | "type": "boolean",
|
2875 | "kind": "expression"
|
2876 | }
|
2877 | },
|
2878 | {
|
2879 | "name": "disabled",
|
2880 | "default": "-",
|
2881 | "description": "whether the dropdown menu is disabled",
|
2882 | "value": {
|
2883 | "type": "boolean",
|
2884 | "kind": "expression"
|
2885 | }
|
2886 | },
|
2887 | {
|
2888 | "name": "getPopupContainer",
|
2889 | "default": "`() => document.body`",
|
2890 | "description": "to set the container of the dropdown menu. The default is to create a `div` element in `body`, you can reset it to the scrolling area and make a relative reposition. [example](https://codepen.io/afc163/pen/zEjNOy?editors=0010)",
|
2891 | "value": {
|
2892 | "type": "Function(triggerNode)",
|
2893 | "kind": "expression"
|
2894 | }
|
2895 | },
|
2896 | {
|
2897 | "name": "overlay(v-slot)",
|
2898 | "default": "-",
|
2899 | "description": "the dropdown menu",
|
2900 | "value": {
|
2901 | "type": "[Menu](/components/menu)",
|
2902 | "kind": "expression"
|
2903 | }
|
2904 | },
|
2905 | {
|
2906 | "name": "overlayClassName",
|
2907 | "default": "-",
|
2908 | "description": "Class name of the dropdown root element",
|
2909 | "value": {
|
2910 | "type": "string",
|
2911 | "kind": "expression"
|
2912 | }
|
2913 | },
|
2914 | {
|
2915 | "name": "overlayStyle",
|
2916 | "default": "-",
|
2917 | "description": "Style of the dropdown root element",
|
2918 | "value": {
|
2919 | "type": "object",
|
2920 | "kind": "expression"
|
2921 | }
|
2922 | },
|
2923 | {
|
2924 | "name": "placement",
|
2925 | "default": "`bottomLeft`",
|
2926 | "description": "placement of pop menu: `bottomLeft` `bottom` `bottomRight` `topLeft` `top` `topRight`",
|
2927 | "value": {
|
2928 | "type": "String",
|
2929 | "kind": "expression"
|
2930 | }
|
2931 | },
|
2932 | {
|
2933 | "name": "trigger",
|
2934 | "default": "`contextmenu`>",
|
2935 | "description": "the trigger mode which executes the drop-down action, hover doesn't work on mobile device",
|
2936 | "value": {
|
2937 | "type": "Array<`click`|`hover`",
|
2938 | "kind": "expression"
|
2939 | }
|
2940 | },
|
2941 | {
|
2942 | "name": "visible(v-model)",
|
2943 | "default": "-",
|
2944 | "description": "whether the dropdown menu is visible",
|
2945 | "value": {
|
2946 | "type": "boolean",
|
2947 | "kind": "expression"
|
2948 | }
|
2949 | }
|
2950 | ]
|
2951 | },
|
2952 | {
|
2953 | "name": "a-dropdown-button",
|
2954 | "slots": [
|
2955 | {
|
2956 | "name": "icon",
|
2957 | "description": "Icon (appears on the right)"
|
2958 | }
|
2959 | ],
|
2960 | "events": [
|
2961 | {
|
2962 | "name": "click",
|
2963 | "description": "a callback function, the same as [Button](/components/button), which will be executed when you click the button on the left"
|
2964 | },
|
2965 | {
|
2966 | "name": "visibleChange",
|
2967 | "description": "a callback function takes an argument: `visible`, is executed when the visible state is changed. Not trigger when hidden by click item"
|
2968 | }
|
2969 | ],
|
2970 | "attributes": [
|
2971 | {
|
2972 | "name": "disabled",
|
2973 | "default": "-",
|
2974 | "description": "whether the dropdown menu is disabled",
|
2975 | "value": {
|
2976 | "type": "boolean",
|
2977 | "kind": "expression"
|
2978 | }
|
2979 | },
|
2980 | {
|
2981 | "name": "icon",
|
2982 | "default": "-",
|
2983 | "description": "Icon (appears on the right)",
|
2984 | "value": {
|
2985 | "type": "vNode | slot",
|
2986 | "kind": "expression"
|
2987 | }
|
2988 | },
|
2989 | {
|
2990 | "name": "loading",
|
2991 | "default": "false",
|
2992 | "description": "Set the loading status of button",
|
2993 | "value": {
|
2994 | "type": "boolean | { delay: number }",
|
2995 | "kind": "expression"
|
2996 | }
|
2997 | },
|
2998 | {
|
2999 | "name": "overlay(v-slot)",
|
3000 | "default": "-",
|
3001 | "description": "the dropdown menu",
|
3002 | "value": {
|
3003 | "type": "[Menu](/components/menu)",
|
3004 | "kind": "expression"
|
3005 | }
|
3006 | },
|
3007 | {
|
3008 | "name": "placement",
|
3009 | "default": "`bottomLeft`",
|
3010 | "description": "placement of pop menu: `bottomLeft` `bottom` `bottomRight` `topLeft` `top` `topRight`",
|
3011 | "value": {
|
3012 | "type": "String",
|
3013 | "kind": "expression"
|
3014 | }
|
3015 | },
|
3016 | {
|
3017 | "name": "size",
|
3018 | "default": "`default`",
|
3019 | "description": "size of the button, the same as [Button](/components/button)",
|
3020 | "value": {
|
3021 | "type": "string",
|
3022 | "kind": "expression"
|
3023 | }
|
3024 | },
|
3025 | {
|
3026 | "name": "trigger",
|
3027 | "default": "`contextmenu`>",
|
3028 | "description": "the trigger mode which executes the drop-down action",
|
3029 | "value": {
|
3030 | "type": "Array<`click`|`hover`",
|
3031 | "kind": "expression"
|
3032 | }
|
3033 | },
|
3034 | {
|
3035 | "name": "type",
|
3036 | "default": "`default`",
|
3037 | "description": "type of the button, the same as [Button](/components/button)",
|
3038 | "value": {
|
3039 | "type": "string",
|
3040 | "kind": "expression"
|
3041 | }
|
3042 | },
|
3043 | {
|
3044 | "name": "visible(v-model)",
|
3045 | "default": "-",
|
3046 | "description": "whether the dropdown menu is visible",
|
3047 | "value": {
|
3048 | "type": "boolean",
|
3049 | "kind": "expression"
|
3050 | }
|
3051 | }
|
3052 | ]
|
3053 | },
|
3054 | {
|
3055 | "name": "a-empty",
|
3056 | "slots": [
|
3057 | {
|
3058 | "name": "description",
|
3059 | "description": "Customize description"
|
3060 | },
|
3061 | {
|
3062 | "name": "image",
|
3063 | "description": "Customize image. Will tread as image url when string provided"
|
3064 | }
|
3065 | ],
|
3066 | "events": [],
|
3067 | "attributes": [
|
3068 | {
|
3069 | "name": "description",
|
3070 | "default": "-",
|
3071 | "description": "Customize description",
|
3072 | "value": {
|
3073 | "type": "string | v-slot",
|
3074 | "kind": "expression"
|
3075 | }
|
3076 | },
|
3077 | {
|
3078 | "name": "image",
|
3079 | "default": "false",
|
3080 | "description": "Customize image. Will tread as image url when string provided",
|
3081 | "value": {
|
3082 | "type": "string | v-slot",
|
3083 | "kind": "expression"
|
3084 | }
|
3085 | },
|
3086 | {
|
3087 | "name": "imageStyle",
|
3088 | "default": "-",
|
3089 | "description": "style of image",
|
3090 | "value": {
|
3091 | "type": "CSSProperties",
|
3092 | "kind": "expression"
|
3093 | }
|
3094 | }
|
3095 | ]
|
3096 | },
|
3097 | {
|
3098 | "name": "a-form",
|
3099 | "slots": [],
|
3100 | "events": [],
|
3101 | "attributes": []
|
3102 | },
|
3103 | {
|
3104 | "name": "a-form",
|
3105 | "slots": [],
|
3106 | "events": [],
|
3107 | "attributes": [
|
3108 | {
|
3109 | "name": "colon",
|
3110 | "default": "true",
|
3111 | "description": "change default props colon value of Form.Item (only effective when prop layout is horizontal)",
|
3112 | "value": {
|
3113 | "type": "boolean",
|
3114 | "kind": "expression"
|
3115 | }
|
3116 | },
|
3117 | {
|
3118 | "name": "hideRequiredMark",
|
3119 | "default": "false",
|
3120 | "description": "Hide required mark of all form items",
|
3121 | "value": {
|
3122 | "type": "Boolean",
|
3123 | "kind": "expression"
|
3124 | }
|
3125 | },
|
3126 | {
|
3127 | "name": "labelAlign",
|
3128 | "default": "'right'",
|
3129 | "description": "text align of label of all items",
|
3130 | "value": {
|
3131 | "type": "'left' | 'right'",
|
3132 | "kind": "expression"
|
3133 | }
|
3134 | },
|
3135 | {
|
3136 | "name": "labelCol",
|
3137 | "default": "",
|
3138 | "description": "The layout of label. You can set `span` `offset` to something like `{span: 3, offset: 12}` or `sm: {span: 3, offset: 12}` same as with `<Col>`",
|
3139 | "value": {
|
3140 | "type": "[object](/components/grid/#Col)",
|
3141 | "kind": "expression"
|
3142 | }
|
3143 | },
|
3144 | {
|
3145 | "name": "labelWrap",
|
3146 | "default": "false",
|
3147 | "description": "whether label can be wrap",
|
3148 | "value": {
|
3149 | "type": "boolean",
|
3150 | "kind": "expression"
|
3151 | }
|
3152 | },
|
3153 | {
|
3154 | "name": "layout",
|
3155 | "default": "'inline'",
|
3156 | "description": "Define form layout",
|
3157 | "value": {
|
3158 | "type": "'horizontal'|'vertical'",
|
3159 | "kind": "expression"
|
3160 | }
|
3161 | },
|
3162 | {
|
3163 | "name": "model",
|
3164 | "default": "",
|
3165 | "description": "data of form component",
|
3166 | "value": {
|
3167 | "type": "object",
|
3168 | "kind": "expression"
|
3169 | }
|
3170 | },
|
3171 | {
|
3172 | "name": "name",
|
3173 | "default": "-",
|
3174 | "description": "Form name. Will be the prefix of Field `id`",
|
3175 | "value": {
|
3176 | "type": "string",
|
3177 | "kind": "expression"
|
3178 | }
|
3179 | },
|
3180 | {
|
3181 | "name": "noStyle",
|
3182 | "default": "false",
|
3183 | "description": "No style for `true`, used as a pure field control",
|
3184 | "value": {
|
3185 | "type": "boolean",
|
3186 | "kind": "expression"
|
3187 | }
|
3188 | },
|
3189 | {
|
3190 | "name": "rules",
|
3191 | "default": "",
|
3192 | "description": "validation rules of form",
|
3193 | "value": {
|
3194 | "type": "object",
|
3195 | "kind": "expression"
|
3196 | }
|
3197 | },
|
3198 | {
|
3199 | "name": "scrollToFirstError",
|
3200 | "default": "false",
|
3201 | "description": "Auto scroll to first failed field when submit",
|
3202 | "value": {
|
3203 | "type": "boolean | [options](https://github.com/stipsan/scroll-into-view-if-needed/#options)",
|
3204 | "kind": "expression"
|
3205 | }
|
3206 | },
|
3207 | {
|
3208 | "name": "validateOnRuleChange",
|
3209 | "default": "true",
|
3210 | "description": "whether to trigger validation when the `rules` prop is changed",
|
3211 | "value": {
|
3212 | "type": "boolean",
|
3213 | "kind": "expression"
|
3214 | }
|
3215 | },
|
3216 | {
|
3217 | "name": "validateTrigger",
|
3218 | "default": "`change`",
|
3219 | "description": "Config field validate trigger",
|
3220 | "value": {
|
3221 | "type": "string | string[]",
|
3222 | "kind": "expression"
|
3223 | }
|
3224 | },
|
3225 | {
|
3226 | "name": "wrapperCol",
|
3227 | "default": "",
|
3228 | "description": "The layout for input controls, same as `labelCol`",
|
3229 | "value": {
|
3230 | "type": "[object](/components/grid/#Col)",
|
3231 | "kind": "expression"
|
3232 | }
|
3233 | }
|
3234 | ]
|
3235 | },
|
3236 | {
|
3237 | "name": "a-form-item",
|
3238 | "slots": [
|
3239 | {
|
3240 | "name": "extra",
|
3241 | "description": "The extra prompt message. It is similar to help. Usage example: to display error message and prompt message at the same time."
|
3242 | },
|
3243 | {
|
3244 | "name": "help",
|
3245 | "description": "The prompt message. If not provided, the prompt message will be generated by the validation rule."
|
3246 | },
|
3247 | {
|
3248 | "name": "label",
|
3249 | "description": "Label text"
|
3250 | }
|
3251 | ],
|
3252 | "events": [],
|
3253 | "attributes": [
|
3254 | {
|
3255 | "name": "autoLink",
|
3256 | "default": "true",
|
3257 | "description": "Whether to automatically associate form fields. In most cases, you can use automatic association. If the conditions for automatic association are not met, you can manually associate them. See the notes below.",
|
3258 | "value": {
|
3259 | "type": "boolean",
|
3260 | "kind": "expression"
|
3261 | }
|
3262 | },
|
3263 | {
|
3264 | "name": "colon",
|
3265 | "default": "true",
|
3266 | "description": "Used with `label`, whether to display `:` after label text.",
|
3267 | "value": {
|
3268 | "type": "boolean",
|
3269 | "kind": "expression"
|
3270 | }
|
3271 | },
|
3272 | {
|
3273 | "name": "extra",
|
3274 | "default": "",
|
3275 | "description": "The extra prompt message. It is similar to help. Usage example: to display error message and prompt message at the same time.",
|
3276 | "value": {
|
3277 | "type": "string|slot",
|
3278 | "kind": "expression"
|
3279 | }
|
3280 | },
|
3281 | {
|
3282 | "name": "hasFeedback",
|
3283 | "default": "false",
|
3284 | "description": "Used with `validateStatus`, this option specifies the validation status icon. Recommended to be used only with `Input`.",
|
3285 | "value": {
|
3286 | "type": "boolean",
|
3287 | "kind": "expression"
|
3288 | }
|
3289 | },
|
3290 | {
|
3291 | "name": "help",
|
3292 | "default": "",
|
3293 | "description": "The prompt message. If not provided, the prompt message will be generated by the validation rule.",
|
3294 | "value": {
|
3295 | "type": "string|slot",
|
3296 | "kind": "expression"
|
3297 | }
|
3298 | },
|
3299 | {
|
3300 | "name": "htmlFor",
|
3301 | "default": "",
|
3302 | "description": "Set sub label `htmlFor`.",
|
3303 | "value": {
|
3304 | "type": "string",
|
3305 | "kind": "expression"
|
3306 | }
|
3307 | },
|
3308 | {
|
3309 | "name": "label",
|
3310 | "default": "",
|
3311 | "description": "Label text",
|
3312 | "value": {
|
3313 | "type": "string|slot",
|
3314 | "kind": "expression"
|
3315 | }
|
3316 | },
|
3317 | {
|
3318 | "name": "labelAlign",
|
3319 | "default": "'right'",
|
3320 | "description": "text align of label",
|
3321 | "value": {
|
3322 | "type": "'left' | 'right'",
|
3323 | "kind": "expression"
|
3324 | }
|
3325 | },
|
3326 | {
|
3327 | "name": "labelCol",
|
3328 | "default": "",
|
3329 | "description": "The layout of label. You can set `span` `offset` to something like `{span: 3, offset: 12}` or `sm: {span: 3, offset: 12}` same as with `<Col>`",
|
3330 | "value": {
|
3331 | "type": "[object](/components/grid/#Col)",
|
3332 | "kind": "expression"
|
3333 | }
|
3334 | },
|
3335 | {
|
3336 | "name": "name",
|
3337 | "default": "",
|
3338 | "description": "a key of `model`. In the use of validate and resetFields method, the attribute is required",
|
3339 | "value": {
|
3340 | "type": "string",
|
3341 | "kind": "expression"
|
3342 | }
|
3343 | },
|
3344 | {
|
3345 | "name": "required",
|
3346 | "default": "false",
|
3347 | "description": "Whether provided or not, it will be generated by the validation rule.",
|
3348 | "value": {
|
3349 | "type": "boolean",
|
3350 | "kind": "expression"
|
3351 | }
|
3352 | },
|
3353 | {
|
3354 | "name": "rules",
|
3355 | "default": "",
|
3356 | "description": "validation rules of form",
|
3357 | "value": {
|
3358 | "type": "object | array",
|
3359 | "kind": "expression"
|
3360 | }
|
3361 | },
|
3362 | {
|
3363 | "name": "validateFirst",
|
3364 | "default": "false",
|
3365 | "description": "Whether stop validate on first rule of error for this field.",
|
3366 | "value": {
|
3367 | "type": "boolean",
|
3368 | "kind": "expression"
|
3369 | }
|
3370 | },
|
3371 | {
|
3372 | "name": "validateStatus",
|
3373 | "default": "",
|
3374 | "description": "The validation status. If not provided, it will be generated by validation rule. options: 'success' 'warning' 'error' 'validating'",
|
3375 | "value": {
|
3376 | "type": "string",
|
3377 | "kind": "expression"
|
3378 | }
|
3379 | },
|
3380 | {
|
3381 | "name": "validateTrigger",
|
3382 | "default": "`change`",
|
3383 | "description": "When to validate the value of children node",
|
3384 | "value": {
|
3385 | "type": "string | string[]",
|
3386 | "kind": "expression"
|
3387 | }
|
3388 | },
|
3389 | {
|
3390 | "name": "wrapperCol",
|
3391 | "default": "",
|
3392 | "description": "The layout for input controls, same as `labelCol`",
|
3393 | "value": {
|
3394 | "type": "[object](/components/grid/#Col)",
|
3395 | "kind": "expression"
|
3396 | }
|
3397 | }
|
3398 | ]
|
3399 | },
|
3400 | {
|
3401 | "name": "a-grid",
|
3402 | "slots": [],
|
3403 | "events": [],
|
3404 | "attributes": []
|
3405 | },
|
3406 | {
|
3407 | "name": "a-icon",
|
3408 | "slots": [],
|
3409 | "events": [],
|
3410 | "attributes": []
|
3411 | },
|
3412 | {
|
3413 | "name": "a-common",
|
3414 | "slots": [],
|
3415 | "events": [],
|
3416 | "attributes": [
|
3417 | {
|
3418 | "name": "rotate",
|
3419 | "default": "-",
|
3420 | "description": "Rotate by n degrees (not working in IE9)",
|
3421 | "value": {
|
3422 | "type": "number",
|
3423 | "kind": "expression"
|
3424 | }
|
3425 | },
|
3426 | {
|
3427 | "name": "spin",
|
3428 | "default": "false",
|
3429 | "description": "Rotate icon with animation",
|
3430 | "value": {
|
3431 | "type": "boolean",
|
3432 | "kind": "expression"
|
3433 | }
|
3434 | },
|
3435 | {
|
3436 | "name": "style",
|
3437 | "default": "-",
|
3438 | "description": "Style properties of icon, like `fontSize` and `color`",
|
3439 | "value": {
|
3440 | "type": "CSSProperties",
|
3441 | "kind": "expression"
|
3442 | }
|
3443 | },
|
3444 | {
|
3445 | "name": "twoToneColor",
|
3446 | "default": "-",
|
3447 | "description": "Only supports the two-tone icon. Specify the primary color.",
|
3448 | "value": {
|
3449 | "type": "string (hex color)",
|
3450 | "kind": "expression"
|
3451 | }
|
3452 | }
|
3453 | ]
|
3454 | },
|
3455 | {
|
3456 | "name": "a-custom",
|
3457 | "slots": [],
|
3458 | "events": [],
|
3459 | "attributes": [
|
3460 | {
|
3461 | "name": "component",
|
3462 | "default": "-",
|
3463 | "description": "The component used for the root node.",
|
3464 | "value": {
|
3465 | "type": "ComponentType<CustomIconComponentProps>",
|
3466 | "kind": "expression"
|
3467 | }
|
3468 | },
|
3469 | {
|
3470 | "name": "rotate",
|
3471 | "default": "-",
|
3472 | "description": "Rotate degrees (not working in IE9)",
|
3473 | "value": {
|
3474 | "type": "number",
|
3475 | "kind": "expression"
|
3476 | }
|
3477 | },
|
3478 | {
|
3479 | "name": "spin",
|
3480 | "default": "false",
|
3481 | "description": "Rotate icon with animation",
|
3482 | "value": {
|
3483 | "type": "boolean",
|
3484 | "kind": "expression"
|
3485 | }
|
3486 | },
|
3487 | {
|
3488 | "name": "style",
|
3489 | "default": "-",
|
3490 | "description": "Style properties of icon, like `fontSize` and `color`",
|
3491 | "value": {
|
3492 | "type": "CSSProperties",
|
3493 | "kind": "expression"
|
3494 | }
|
3495 | }
|
3496 | ]
|
3497 | },
|
3498 | {
|
3499 | "name": "a-custom",
|
3500 | "slots": [],
|
3501 | "events": [],
|
3502 | "attributes": [
|
3503 | {
|
3504 | "name": "extraCommonProps",
|
3505 | "default": "{}",
|
3506 | "description": "Define extra properties to the component",
|
3507 | "value": {
|
3508 | "type": "`{ class, attrs, props, on, style }`",
|
3509 | "kind": "expression"
|
3510 | }
|
3511 | },
|
3512 | {
|
3513 | "name": "scriptUrl",
|
3514 | "default": "-",
|
3515 | "description": "The URL generated by [iconfont.cn](http://iconfont.cn/) project.",
|
3516 | "value": {
|
3517 | "type": "string",
|
3518 | "kind": "expression"
|
3519 | }
|
3520 | }
|
3521 | ]
|
3522 | },
|
3523 | {
|
3524 | "name": "a-custom",
|
3525 | "slots": [],
|
3526 | "events": [],
|
3527 | "attributes": [
|
3528 | {
|
3529 | "name": "class",
|
3530 | "default": "-",
|
3531 | "description": "The computed class name of the `svg` element",
|
3532 | "value": {
|
3533 | "type": "string",
|
3534 | "kind": "expression"
|
3535 | }
|
3536 | },
|
3537 | {
|
3538 | "name": "fill",
|
3539 | "default": "'currentColor'",
|
3540 | "description": "Define the color used to paint the `svg` element",
|
3541 | "value": {
|
3542 | "type": "string",
|
3543 | "kind": "expression"
|
3544 | }
|
3545 | },
|
3546 | {
|
3547 | "name": "height",
|
3548 | "default": "'1em'",
|
3549 | "description": "The height of the `svg` element",
|
3550 | "value": {
|
3551 | "type": "string | number",
|
3552 | "kind": "expression"
|
3553 | }
|
3554 | },
|
3555 | {
|
3556 | "name": "style",
|
3557 | "default": "-",
|
3558 | "description": "The computed style of the `svg` element",
|
3559 | "value": {
|
3560 | "type": "CSSProperties",
|
3561 | "kind": "expression"
|
3562 | }
|
3563 | },
|
3564 | {
|
3565 | "name": "width",
|
3566 | "default": "'1em'",
|
3567 | "description": "The width of the `svg` element",
|
3568 | "value": {
|
3569 | "type": "string | number",
|
3570 | "kind": "expression"
|
3571 | }
|
3572 | }
|
3573 | ]
|
3574 | },
|
3575 | {
|
3576 | "name": "a-image",
|
3577 | "slots": [
|
3578 | {
|
3579 | "name": "placeholder",
|
3580 | "description": "Load placeholder, use default placeholder when set `true`"
|
3581 | }
|
3582 | ],
|
3583 | "events": [],
|
3584 | "attributes": [
|
3585 | {
|
3586 | "name": "alt",
|
3587 | "default": "-",
|
3588 | "description": "Image description",
|
3589 | "value": {
|
3590 | "type": "string",
|
3591 | "kind": "expression"
|
3592 | }
|
3593 | },
|
3594 | {
|
3595 | "name": "fallback",
|
3596 | "default": "-",
|
3597 | "description": "Load failure fault-tolerant src",
|
3598 | "value": {
|
3599 | "type": "string",
|
3600 | "kind": "expression"
|
3601 | }
|
3602 | },
|
3603 | {
|
3604 | "name": "height",
|
3605 | "default": "-",
|
3606 | "description": "Image height",
|
3607 | "value": {
|
3608 | "type": "string | number",
|
3609 | "kind": "expression"
|
3610 | }
|
3611 | },
|
3612 | {
|
3613 | "name": "placeholder",
|
3614 | "default": "-",
|
3615 | "description": "Load placeholder, use default placeholder when set `true`",
|
3616 | "value": {
|
3617 | "type": "boolean | slot",
|
3618 | "kind": "expression"
|
3619 | }
|
3620 | },
|
3621 | {
|
3622 | "name": "preview",
|
3623 | "default": "true",
|
3624 | "description": "preview config, disabled when `false`",
|
3625 | "value": {
|
3626 | "type": "boolean | [previewType](#previewType)",
|
3627 | "kind": "expression"
|
3628 | }
|
3629 | },
|
3630 | {
|
3631 | "name": "src",
|
3632 | "default": "-",
|
3633 | "description": "Image path",
|
3634 | "value": {
|
3635 | "type": "string",
|
3636 | "kind": "expression"
|
3637 | }
|
3638 | },
|
3639 | {
|
3640 | "name": "width",
|
3641 | "default": "-",
|
3642 | "description": "Image width",
|
3643 | "value": {
|
3644 | "type": "string | number",
|
3645 | "kind": "expression"
|
3646 | }
|
3647 | }
|
3648 | ]
|
3649 | },
|
3650 | {
|
3651 | "name": "a-input",
|
3652 | "slots": [],
|
3653 | "events": [],
|
3654 | "attributes": []
|
3655 | },
|
3656 | {
|
3657 | "name": "a-input",
|
3658 | "slots": [
|
3659 | {
|
3660 | "name": "addonAfter",
|
3661 | "description": "The label text displayed after (on the right side of) the input field."
|
3662 | },
|
3663 | {
|
3664 | "name": "addonBefore",
|
3665 | "description": "The label text displayed before (on the left side of) the input field."
|
3666 | },
|
3667 | {
|
3668 | "name": "prefix",
|
3669 | "description": "The prefix icon for the Input."
|
3670 | },
|
3671 | {
|
3672 | "name": "suffix",
|
3673 | "description": "The suffix icon for the Input."
|
3674 | }
|
3675 | ],
|
3676 | "events": [],
|
3677 | "attributes": [
|
3678 | {
|
3679 | "name": "addonAfter",
|
3680 | "default": "",
|
3681 | "description": "The label text displayed after (on the right side of) the input field.",
|
3682 | "value": {
|
3683 | "type": "string|slot",
|
3684 | "kind": "expression"
|
3685 | }
|
3686 | },
|
3687 | {
|
3688 | "name": "addonBefore",
|
3689 | "default": "",
|
3690 | "description": "The label text displayed before (on the left side of) the input field.",
|
3691 | "value": {
|
3692 | "type": "string|slot",
|
3693 | "kind": "expression"
|
3694 | }
|
3695 | },
|
3696 | {
|
3697 | "name": "allowClear",
|
3698 | "default": "",
|
3699 | "description": "allow to remove input content with clear icon",
|
3700 | "value": {
|
3701 | "type": "boolean",
|
3702 | "kind": "expression"
|
3703 | }
|
3704 | },
|
3705 | {
|
3706 | "name": "bordered",
|
3707 | "default": "true",
|
3708 | "description": "Whether has border style",
|
3709 | "value": {
|
3710 | "type": "boolean",
|
3711 | "kind": "expression"
|
3712 | }
|
3713 | },
|
3714 | {
|
3715 | "name": "defaultValue",
|
3716 | "default": "",
|
3717 | "description": "The initial input content",
|
3718 | "value": {
|
3719 | "type": "string",
|
3720 | "kind": "expression"
|
3721 | }
|
3722 | },
|
3723 | {
|
3724 | "name": "disabled",
|
3725 | "default": "false",
|
3726 | "description": "Whether the input is disabled.",
|
3727 | "value": {
|
3728 | "type": "boolean",
|
3729 | "kind": "expression"
|
3730 | }
|
3731 | },
|
3732 | {
|
3733 | "name": "id",
|
3734 | "default": "",
|
3735 | "description": "The ID for input",
|
3736 | "value": {
|
3737 | "type": "string",
|
3738 | "kind": "expression"
|
3739 | }
|
3740 | },
|
3741 | {
|
3742 | "name": "maxlength",
|
3743 | "default": "",
|
3744 | "description": "max length",
|
3745 | "value": {
|
3746 | "type": "number",
|
3747 | "kind": "expression"
|
3748 | }
|
3749 | },
|
3750 | {
|
3751 | "name": "prefix",
|
3752 | "default": "",
|
3753 | "description": "The prefix icon for the Input.",
|
3754 | "value": {
|
3755 | "type": "string|slot",
|
3756 | "kind": "expression"
|
3757 | }
|
3758 | },
|
3759 | {
|
3760 | "name": "showCount",
|
3761 | "default": "false",
|
3762 | "description": "Whether show text count",
|
3763 | "value": {
|
3764 | "type": "boolean",
|
3765 | "kind": "expression"
|
3766 | }
|
3767 | },
|
3768 | {
|
3769 | "name": "size",
|
3770 | "default": "`default`",
|
3771 | "description": "The size of the input box. Note: in the context of a form, the `large` size is used. Available: `large` `default` `small`",
|
3772 | "value": {
|
3773 | "type": "string",
|
3774 | "kind": "expression"
|
3775 | }
|
3776 | },
|
3777 | {
|
3778 | "name": "suffix",
|
3779 | "default": "",
|
3780 | "description": "The suffix icon for the Input.",
|
3781 | "value": {
|
3782 | "type": "string|slot",
|
3783 | "kind": "expression"
|
3784 | }
|
3785 | },
|
3786 | {
|
3787 | "name": "type",
|
3788 | "default": "`text`",
|
3789 | "description": "The type of input, see: [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types)(use `<a-textarea />` instead of `type=\"textarea\"`)",
|
3790 | "value": {
|
3791 | "type": "string",
|
3792 | "kind": "expression"
|
3793 | }
|
3794 | },
|
3795 | {
|
3796 | "name": "value(v-model)",
|
3797 | "default": "",
|
3798 | "description": "The input content value",
|
3799 | "value": {
|
3800 | "type": "string",
|
3801 | "kind": "expression"
|
3802 | }
|
3803 | }
|
3804 | ]
|
3805 | },
|
3806 | {
|
3807 | "name": "a-input",
|
3808 | "slots": [],
|
3809 | "events": [],
|
3810 | "attributes": [
|
3811 | {
|
3812 | "name": "change",
|
3813 | "default": "",
|
3814 | "description": "callback when user input",
|
3815 | "value": {
|
3816 | "type": "function(e)",
|
3817 | "kind": "expression"
|
3818 | }
|
3819 | },
|
3820 | {
|
3821 | "name": "pressEnter",
|
3822 | "default": "",
|
3823 | "description": "The callback function that is triggered when Enter key is pressed.",
|
3824 | "value": {
|
3825 | "type": "function(e)",
|
3826 | "kind": "expression"
|
3827 | }
|
3828 | }
|
3829 | ]
|
3830 | },
|
3831 | {
|
3832 | "name": "a-input-search",
|
3833 | "slots": [
|
3834 | {
|
3835 | "name": "enterButton",
|
3836 | "description": "to show an enter button after input. This prop is conflict with addon."
|
3837 | }
|
3838 | ],
|
3839 | "events": [],
|
3840 | "attributes": [
|
3841 | {
|
3842 | "name": "enterButton",
|
3843 | "default": "false",
|
3844 | "description": "to show an enter button after input. This prop is conflict with addon.",
|
3845 | "value": {
|
3846 | "type": "boolean|slot",
|
3847 | "kind": "expression"
|
3848 | }
|
3849 | }
|
3850 | ]
|
3851 | },
|
3852 | {
|
3853 | "name": "a-input-search",
|
3854 | "slots": [],
|
3855 | "events": [],
|
3856 | "attributes": [
|
3857 | {
|
3858 | "name": "loading",
|
3859 | "default": "",
|
3860 | "description": "Search box with loading.",
|
3861 | "value": {
|
3862 | "type": "boolean",
|
3863 | "kind": "expression"
|
3864 | }
|
3865 | },
|
3866 | {
|
3867 | "name": "search",
|
3868 | "default": "",
|
3869 | "description": "The callback function that is triggered when you click on the search-icon or press Enter key.",
|
3870 | "value": {
|
3871 | "type": "function(value, event)",
|
3872 | "kind": "expression"
|
3873 | }
|
3874 | }
|
3875 | ]
|
3876 | },
|
3877 | {
|
3878 | "name": "a-input-group",
|
3879 | "slots": [],
|
3880 | "events": [],
|
3881 | "attributes": [
|
3882 | {
|
3883 | "name": "compact",
|
3884 | "default": "false",
|
3885 | "description": "Whether use compact style",
|
3886 | "value": {
|
3887 | "type": "boolean",
|
3888 | "kind": "expression"
|
3889 | }
|
3890 | },
|
3891 | {
|
3892 | "name": "size",
|
3893 | "default": "`default`",
|
3894 | "description": "The size of `Input.Group` specifies the size of the included `Input` fields. Available: `large` `default` `small`",
|
3895 | "value": {
|
3896 | "type": "string",
|
3897 | "kind": "expression"
|
3898 | }
|
3899 | }
|
3900 | ]
|
3901 | },
|
3902 | {
|
3903 | "name": "a-input-password",
|
3904 | "slots": [],
|
3905 | "events": [],
|
3906 | "attributes": [
|
3907 | {
|
3908 | "name": "visibilityToggle",
|
3909 | "default": "true",
|
3910 | "description": "Whether show toggle button",
|
3911 | "value": {
|
3912 | "type": "boolean",
|
3913 | "kind": "expression"
|
3914 | }
|
3915 | }
|
3916 | ]
|
3917 | },
|
3918 | {
|
3919 | "name": "a-inputnumber",
|
3920 | "slots": [
|
3921 | {
|
3922 | "name": "addonAfter",
|
3923 | "description": "The label text displayed after (on the right side of) the input field"
|
3924 | },
|
3925 | {
|
3926 | "name": "addonBefore",
|
3927 | "description": "The label text displayed before (on the left side of) the input field"
|
3928 | },
|
3929 | {
|
3930 | "name": "prefix",
|
3931 | "description": "The prefix icon for the Input"
|
3932 | }
|
3933 | ],
|
3934 | "events": [
|
3935 | {
|
3936 | "name": "change",
|
3937 | "description": "The callback triggered when the value is changed."
|
3938 | },
|
3939 | {
|
3940 | "name": "pressEnter",
|
3941 | "description": "The callback function that is triggered when Enter key is pressed."
|
3942 | },
|
3943 | {
|
3944 | "name": "step",
|
3945 | "description": "The callback function that is triggered when click up or down buttons"
|
3946 | }
|
3947 | ],
|
3948 | "attributes": [
|
3949 | {
|
3950 | "name": "addonAfter",
|
3951 | "default": "-",
|
3952 | "description": "The label text displayed after (on the right side of) the input field",
|
3953 | "value": {
|
3954 | "type": "slot",
|
3955 | "kind": "expression"
|
3956 | }
|
3957 | },
|
3958 | {
|
3959 | "name": "addonBefore",
|
3960 | "default": "-",
|
3961 | "description": "The label text displayed before (on the left side of) the input field",
|
3962 | "value": {
|
3963 | "type": "slot",
|
3964 | "kind": "expression"
|
3965 | }
|
3966 | },
|
3967 | {
|
3968 | "name": "autofocus",
|
3969 | "default": "false",
|
3970 | "description": "get focus when component mounted",
|
3971 | "value": {
|
3972 | "type": "boolean",
|
3973 | "kind": "expression"
|
3974 | }
|
3975 | },
|
3976 | {
|
3977 | "name": "bordered",
|
3978 | "default": "true",
|
3979 | "description": "Whether has border style",
|
3980 | "value": {
|
3981 | "type": "boolean",
|
3982 | "kind": "expression"
|
3983 | }
|
3984 | },
|
3985 | {
|
3986 | "name": "controls",
|
3987 | "default": "true",
|
3988 | "description": "Whether to show `+-` controls",
|
3989 | "value": {
|
3990 | "type": "boolean",
|
3991 | "kind": "expression"
|
3992 | }
|
3993 | },
|
3994 | {
|
3995 | "name": "controls",
|
3996 | "default": "true",
|
3997 | "description": "Whether to show `+-` controls",
|
3998 | "value": {
|
3999 | "type": "boolean",
|
4000 | "kind": "expression"
|
4001 | }
|
4002 | },
|
4003 | {
|
4004 | "name": "decimalSeparator",
|
4005 | "default": "-",
|
4006 | "description": "decimal separator",
|
4007 | "value": {
|
4008 | "type": "string",
|
4009 | "kind": "expression"
|
4010 | }
|
4011 | },
|
4012 | {
|
4013 | "name": "defaultValue",
|
4014 | "default": "",
|
4015 | "description": "initial value",
|
4016 | "value": {
|
4017 | "type": "number",
|
4018 | "kind": "expression"
|
4019 | }
|
4020 | },
|
4021 | {
|
4022 | "name": "disabled",
|
4023 | "default": "false",
|
4024 | "description": "disable the input",
|
4025 | "value": {
|
4026 | "type": "boolean",
|
4027 | "kind": "expression"
|
4028 | }
|
4029 | },
|
4030 | {
|
4031 | "name": "formatter",
|
4032 | "default": "-",
|
4033 | "description": "Specifies the format of the value presented",
|
4034 | "value": {
|
4035 | "type": "function(value: number | string, info: { userTyping: boolean, input: string }): string",
|
4036 | "kind": "expression"
|
4037 | }
|
4038 | },
|
4039 | {
|
4040 | "name": "keyboard",
|
4041 | "default": "true",
|
4042 | "description": "If enable keyboard behavior",
|
4043 | "value": {
|
4044 | "type": "boolean",
|
4045 | "kind": "expression"
|
4046 | }
|
4047 | },
|
4048 | {
|
4049 | "name": "max",
|
4050 | "default": "Infinity",
|
4051 | "description": "max value",
|
4052 | "value": {
|
4053 | "type": "number",
|
4054 | "kind": "expression"
|
4055 | }
|
4056 | },
|
4057 | {
|
4058 | "name": "min",
|
4059 | "default": "-Infinity",
|
4060 | "description": "min value",
|
4061 | "value": {
|
4062 | "type": "number",
|
4063 | "kind": "expression"
|
4064 | }
|
4065 | },
|
4066 | {
|
4067 | "name": "parser",
|
4068 | "default": "-",
|
4069 | "description": "Specifies the value extracted from formatter",
|
4070 | "value": {
|
4071 | "type": "function( string): number",
|
4072 | "kind": "expression"
|
4073 | }
|
4074 | },
|
4075 | {
|
4076 | "name": "precision",
|
4077 | "default": "-",
|
4078 | "description": "precision of input value",
|
4079 | "value": {
|
4080 | "type": "number",
|
4081 | "kind": "expression"
|
4082 | }
|
4083 | },
|
4084 | {
|
4085 | "name": "prefix",
|
4086 | "default": "-",
|
4087 | "description": "The prefix icon for the Input",
|
4088 | "value": {
|
4089 | "type": "slot",
|
4090 | "kind": "expression"
|
4091 | }
|
4092 | },
|
4093 | {
|
4094 | "name": "size",
|
4095 | "default": "-",
|
4096 | "description": "height of input box",
|
4097 | "value": {
|
4098 | "type": "string",
|
4099 | "kind": "expression"
|
4100 | }
|
4101 | },
|
4102 | {
|
4103 | "name": "step",
|
4104 | "default": "1",
|
4105 | "description": "The number to which the current value is increased or decreased. It can be an integer or decimal.",
|
4106 | "value": {
|
4107 | "type": "number|string",
|
4108 | "kind": "expression"
|
4109 | }
|
4110 | },
|
4111 | {
|
4112 | "name": "stringMode",
|
4113 | "default": "false",
|
4114 | "description": "Set value as string to support high precision decimals. Will return string value by `change`",
|
4115 | "value": {
|
4116 | "type": "boolean",
|
4117 | "kind": "expression"
|
4118 | }
|
4119 | },
|
4120 | {
|
4121 | "name": "value(v-model)",
|
4122 | "default": "",
|
4123 | "description": "current value",
|
4124 | "value": {
|
4125 | "type": "number",
|
4126 | "kind": "expression"
|
4127 | }
|
4128 | }
|
4129 | ]
|
4130 | },
|
4131 | {
|
4132 | "name": "a-layout",
|
4133 | "slots": [],
|
4134 | "events": [],
|
4135 | "attributes": []
|
4136 | },
|
4137 | {
|
4138 | "name": "a-layout",
|
4139 | "slots": [],
|
4140 | "events": [],
|
4141 | "attributes": [
|
4142 | {
|
4143 | "name": "class",
|
4144 | "default": "-",
|
4145 | "description": "container className",
|
4146 | "value": {
|
4147 | "type": "string",
|
4148 | "kind": "expression"
|
4149 | }
|
4150 | },
|
4151 | {
|
4152 | "name": "hasSider",
|
4153 | "default": "-",
|
4154 | "description": "whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering",
|
4155 | "value": {
|
4156 | "type": "boolean",
|
4157 | "kind": "expression"
|
4158 | }
|
4159 | },
|
4160 | {
|
4161 | "name": "style",
|
4162 | "default": "-",
|
4163 | "description": "to customize the styles",
|
4164 | "value": {
|
4165 | "type": "object|string",
|
4166 | "kind": "expression"
|
4167 | }
|
4168 | }
|
4169 | ]
|
4170 | },
|
4171 | {
|
4172 | "name": "a-layout-sider",
|
4173 | "slots": [
|
4174 | {
|
4175 | "name": "trigger",
|
4176 | "description": "specify the customized trigger, set to null to hide the trigger"
|
4177 | }
|
4178 | ],
|
4179 | "events": [],
|
4180 | "attributes": [
|
4181 | {
|
4182 | "name": "breakpoint",
|
4183 | "default": "-",
|
4184 | "description": "[breakpoints](/components/grid#api) of the responsive layout",
|
4185 | "value": {
|
4186 | "type": "Enum { 'xs', 'sm', 'md', 'lg', 'xl', 'xxl' }",
|
4187 | "kind": "expression"
|
4188 | }
|
4189 | },
|
4190 | {
|
4191 | "name": "class",
|
4192 | "default": "-",
|
4193 | "description": "container className",
|
4194 | "value": {
|
4195 | "type": "string",
|
4196 | "kind": "expression"
|
4197 | }
|
4198 | },
|
4199 | {
|
4200 | "name": "collapsed(v-model)",
|
4201 | "default": "-",
|
4202 | "description": "to set the current status",
|
4203 | "value": {
|
4204 | "type": "boolean",
|
4205 | "kind": "expression"
|
4206 | }
|
4207 | },
|
4208 | {
|
4209 | "name": "collapsedWidth",
|
4210 | "default": "80",
|
4211 | "description": "width of the collapsed sidebar, by setting to `0` a special trigger will appear",
|
4212 | "value": {
|
4213 | "type": "number",
|
4214 | "kind": "expression"
|
4215 | }
|
4216 | },
|
4217 | {
|
4218 | "name": "collapsible",
|
4219 | "default": "false",
|
4220 | "description": "whether can be collapsed",
|
4221 | "value": {
|
4222 | "type": "boolean",
|
4223 | "kind": "expression"
|
4224 | }
|
4225 | },
|
4226 | {
|
4227 | "name": "defaultCollapsed",
|
4228 | "default": "false",
|
4229 | "description": "to set the initial status",
|
4230 | "value": {
|
4231 | "type": "boolean",
|
4232 | "kind": "expression"
|
4233 | }
|
4234 | },
|
4235 | {
|
4236 | "name": "reverseArrow",
|
4237 | "default": "false",
|
4238 | "description": "reverse direction of arrow, for a sider that expands from the right",
|
4239 | "value": {
|
4240 | "type": "boolean",
|
4241 | "kind": "expression"
|
4242 | }
|
4243 | },
|
4244 | {
|
4245 | "name": "style",
|
4246 | "default": "-",
|
4247 | "description": "to customize the styles",
|
4248 | "value": {
|
4249 | "type": "object|string",
|
4250 | "kind": "expression"
|
4251 | }
|
4252 | },
|
4253 | {
|
4254 | "name": "theme",
|
4255 | "default": "`dark`",
|
4256 | "description": "color theme of the sidebar",
|
4257 | "value": {
|
4258 | "type": "string: `light` `dark`",
|
4259 | "kind": "expression"
|
4260 | }
|
4261 | },
|
4262 | {
|
4263 | "name": "trigger",
|
4264 | "default": "-",
|
4265 | "description": "specify the customized trigger, set to null to hide the trigger",
|
4266 | "value": {
|
4267 | "type": "string|slot",
|
4268 | "kind": "expression"
|
4269 | }
|
4270 | },
|
4271 | {
|
4272 | "name": "width",
|
4273 | "default": "200",
|
4274 | "description": "width of the sidebar",
|
4275 | "value": {
|
4276 | "type": "number|string",
|
4277 | "kind": "expression"
|
4278 | }
|
4279 | },
|
4280 | {
|
4281 | "name": "zeroWidthTriggerStyle",
|
4282 | "default": "-",
|
4283 | "description": "to customize the styles of the special trigger that appears when `collapsedWidth` is 0",
|
4284 | "value": {
|
4285 | "type": "object",
|
4286 | "kind": "expression"
|
4287 | }
|
4288 | }
|
4289 | ]
|
4290 | },
|
4291 | {
|
4292 | "name": "a-list",
|
4293 | "slots": [],
|
4294 | "events": [],
|
4295 | "attributes": []
|
4296 | },
|
4297 | {
|
4298 | "name": "a-list",
|
4299 | "slots": [
|
4300 | {
|
4301 | "name": "footer",
|
4302 | "description": "List footer renderer"
|
4303 | },
|
4304 | {
|
4305 | "name": "header",
|
4306 | "description": "List header renderer"
|
4307 | },
|
4308 | {
|
4309 | "name": "loadMore",
|
4310 | "description": "Shows a load more content"
|
4311 | }
|
4312 | ],
|
4313 | "events": [],
|
4314 | "attributes": [
|
4315 | {
|
4316 | "name": "bordered",
|
4317 | "default": "false",
|
4318 | "description": "Toggles rendering of the border around the list",
|
4319 | "value": {
|
4320 | "type": "boolean",
|
4321 | "kind": "expression"
|
4322 | }
|
4323 | },
|
4324 | {
|
4325 | "name": "dataSource",
|
4326 | "default": "-",
|
4327 | "description": "dataSource array for list",
|
4328 | "value": {
|
4329 | "type": "any[]",
|
4330 | "kind": "expression"
|
4331 | }
|
4332 | },
|
4333 | {
|
4334 | "name": "footer",
|
4335 | "default": "-",
|
4336 | "description": "List footer renderer",
|
4337 | "value": {
|
4338 | "type": "string|slot",
|
4339 | "kind": "expression"
|
4340 | }
|
4341 | },
|
4342 | {
|
4343 | "name": "grid",
|
4344 | "default": "-",
|
4345 | "description": "The grid type of list. You can set grid to something like {gutter: 16, column: 4}",
|
4346 | "value": {
|
4347 | "type": "object",
|
4348 | "kind": "expression"
|
4349 | }
|
4350 | },
|
4351 | {
|
4352 | "name": "header",
|
4353 | "default": "-",
|
4354 | "description": "List header renderer",
|
4355 | "value": {
|
4356 | "type": "string|slot",
|
4357 | "kind": "expression"
|
4358 | }
|
4359 | },
|
4360 | {
|
4361 | "name": "itemLayout",
|
4362 | "default": "-",
|
4363 | "description": "The layout of list, default is `horizontal`, If a vertical list is desired, set the itemLayout property to `vertical`",
|
4364 | "value": {
|
4365 | "type": "string",
|
4366 | "kind": "expression"
|
4367 | }
|
4368 | },
|
4369 | {
|
4370 | "name": "loading",
|
4371 | "default": "false",
|
4372 | "description": "Shows a loading indicator while the contents of the list are being fetched",
|
4373 | "value": {
|
4374 | "type": "boolean|[object](https://www.antdv.com/components/spin/#API)",
|
4375 | "kind": "expression"
|
4376 | }
|
4377 | },
|
4378 | {
|
4379 | "name": "loadMore",
|
4380 | "default": "-",
|
4381 | "description": "Shows a load more content",
|
4382 | "value": {
|
4383 | "type": "string|slot",
|
4384 | "kind": "expression"
|
4385 | }
|
4386 | },
|
4387 | {
|
4388 | "name": "locale",
|
4389 | "default": "emptyText: 'No Data' <br>",
|
4390 | "description": "i18n text including empty text",
|
4391 | "value": {
|
4392 | "type": "object",
|
4393 | "kind": "expression"
|
4394 | }
|
4395 | },
|
4396 | {
|
4397 | "name": "pagination",
|
4398 | "default": "false",
|
4399 | "description": "Pagination [config](https://www.antdv.com/components/pagination/#API), hide it by setting it to false",
|
4400 | "value": {
|
4401 | "type": "boolean | object",
|
4402 | "kind": "expression"
|
4403 | }
|
4404 | },
|
4405 | {
|
4406 | "name": "renderItem",
|
4407 | "default": "",
|
4408 | "description": "Custom item renderer, #renderItem=\"{item, index}\"",
|
4409 | "value": {
|
4410 | "type": "({item, index}) => vNode",
|
4411 | "kind": "expression"
|
4412 | }
|
4413 | },
|
4414 | {
|
4415 | "name": "rowKey",
|
4416 | "default": "`key`",
|
4417 | "description": "Item's unique key, could be a string or function that returns a string",
|
4418 | "value": {
|
4419 | "type": "string|Function(record):string",
|
4420 | "kind": "expression"
|
4421 | }
|
4422 | },
|
4423 | {
|
4424 | "name": "split",
|
4425 | "default": "true",
|
4426 | "description": "Toggles rendering of the split under the list item",
|
4427 | "value": {
|
4428 | "type": "boolean",
|
4429 | "kind": "expression"
|
4430 | }
|
4431 | }
|
4432 | ]
|
4433 | },
|
4434 | {
|
4435 | "name": "a-list",
|
4436 | "slots": [],
|
4437 | "events": [],
|
4438 | "attributes": [
|
4439 | {
|
4440 | "name": "column",
|
4441 | "default": "-",
|
4442 | "description": "column of grid",
|
4443 | "value": {
|
4444 | "type": "number oneOf [ 1, 2, 3, 4, 6, 8, 12, 24]",
|
4445 | "kind": "expression"
|
4446 | }
|
4447 | },
|
4448 | {
|
4449 | "name": "gutter",
|
4450 | "default": "0",
|
4451 | "description": "spacing between grid",
|
4452 | "value": {
|
4453 | "type": "number",
|
4454 | "kind": "expression"
|
4455 | }
|
4456 | },
|
4457 | {
|
4458 | "name": "size",
|
4459 | "default": "`small`",
|
4460 | "description": "Size of list",
|
4461 | "value": {
|
4462 | "type": "`default` | `middle` ",
|
4463 | "kind": "expression"
|
4464 | }
|
4465 | },
|
4466 | {
|
4467 | "name": "xxxl",
|
4468 | "default": "-",
|
4469 | "description": "`≥2000px` column of grid",
|
4470 | "value": {
|
4471 | "type": "number",
|
4472 | "kind": "expression"
|
4473 | }
|
4474 | },
|
4475 | {
|
4476 | "name": "xs",
|
4477 | "default": "-",
|
4478 | "description": "`<576px` column of grid",
|
4479 | "value": {
|
4480 | "type": "number",
|
4481 | "kind": "expression"
|
4482 | }
|
4483 | },
|
4484 | {
|
4485 | "name": "sm",
|
4486 | "default": "-",
|
4487 | "description": "`≥576px` column of grid",
|
4488 | "value": {
|
4489 | "type": "number",
|
4490 | "kind": "expression"
|
4491 | }
|
4492 | },
|
4493 | {
|
4494 | "name": "md",
|
4495 | "default": "-",
|
4496 | "description": "`≥768px` column of grid",
|
4497 | "value": {
|
4498 | "type": "number",
|
4499 | "kind": "expression"
|
4500 | }
|
4501 | },
|
4502 | {
|
4503 | "name": "lg",
|
4504 | "default": "-",
|
4505 | "description": "`≥992px` column of grid",
|
4506 | "value": {
|
4507 | "type": "number",
|
4508 | "kind": "expression"
|
4509 | }
|
4510 | },
|
4511 | {
|
4512 | "name": "xl",
|
4513 | "default": "-",
|
4514 | "description": "`≥1200px` column of grid",
|
4515 | "value": {
|
4516 | "type": "number",
|
4517 | "kind": "expression"
|
4518 | }
|
4519 | },
|
4520 | {
|
4521 | "name": "xxl",
|
4522 | "default": "-",
|
4523 | "description": "`≥1600px` column of grid",
|
4524 | "value": {
|
4525 | "type": "number",
|
4526 | "kind": "expression"
|
4527 | }
|
4528 | }
|
4529 | ]
|
4530 | },
|
4531 | {
|
4532 | "name": "a-list-item",
|
4533 | "slots": [
|
4534 | {
|
4535 | "name": "actions",
|
4536 | "description": "The actions content of list item. If `itemLayout` is `vertical`, shows the content on bottom, otherwise shows content on the far right."
|
4537 | },
|
4538 | {
|
4539 | "name": "extra",
|
4540 | "description": "The extra content of list item. If `itemLayout` is `vertical`, shows the content on right, otherwise shows content on the far right."
|
4541 | }
|
4542 | ],
|
4543 | "events": [],
|
4544 | "attributes": [
|
4545 | {
|
4546 | "name": "actions",
|
4547 | "default": "-",
|
4548 | "description": "The actions content of list item. If `itemLayout` is `vertical`, shows the content on bottom, otherwise shows content on the far right.",
|
4549 | "value": {
|
4550 | "type": "vNode[] |slot",
|
4551 | "kind": "expression"
|
4552 | }
|
4553 | },
|
4554 | {
|
4555 | "name": "extra",
|
4556 | "default": "-",
|
4557 | "description": "The extra content of list item. If `itemLayout` is `vertical`, shows the content on right, otherwise shows content on the far right.",
|
4558 | "value": {
|
4559 | "type": "string|slot",
|
4560 | "kind": "expression"
|
4561 | }
|
4562 | }
|
4563 | ]
|
4564 | },
|
4565 | {
|
4566 | "name": "a-list-item.-meta",
|
4567 | "slots": [
|
4568 | {
|
4569 | "name": "avatar",
|
4570 | "description": "The avatar of list item"
|
4571 | },
|
4572 | {
|
4573 | "name": "description",
|
4574 | "description": "The description of list item"
|
4575 | },
|
4576 | {
|
4577 | "name": "title",
|
4578 | "description": "The title of list item"
|
4579 | }
|
4580 | ],
|
4581 | "events": [],
|
4582 | "attributes": [
|
4583 | {
|
4584 | "name": "avatar",
|
4585 | "default": "-",
|
4586 | "description": "The avatar of list item",
|
4587 | "value": {
|
4588 | "type": "slot",
|
4589 | "kind": "expression"
|
4590 | }
|
4591 | },
|
4592 | {
|
4593 | "name": "description",
|
4594 | "default": "-",
|
4595 | "description": "The description of list item",
|
4596 | "value": {
|
4597 | "type": "string|slot",
|
4598 | "kind": "expression"
|
4599 | }
|
4600 | },
|
4601 | {
|
4602 | "name": "title",
|
4603 | "default": "-",
|
4604 | "description": "The title of list item",
|
4605 | "value": {
|
4606 | "type": "string|slot",
|
4607 | "kind": "expression"
|
4608 | }
|
4609 | }
|
4610 | ]
|
4611 | },
|
4612 | {
|
4613 | "name": "a-mentions",
|
4614 | "slots": [],
|
4615 | "events": [],
|
4616 | "attributes": []
|
4617 | },
|
4618 | {
|
4619 | "name": "a-menu",
|
4620 | "slots": [],
|
4621 | "events": [],
|
4622 | "attributes": []
|
4623 | },
|
4624 | {
|
4625 | "name": "a-menu",
|
4626 | "slots": [
|
4627 | {
|
4628 | "name": "overflowedIndicator",
|
4629 | "description": "Customized the ellipsis icon when menu is collapsed horizontally"
|
4630 | }
|
4631 | ],
|
4632 | "events": [],
|
4633 | "attributes": [
|
4634 | {
|
4635 | "name": "forceSubMenuRender",
|
4636 | "default": "false",
|
4637 | "description": "render submenu into DOM before it shows",
|
4638 | "value": {
|
4639 | "type": "boolean",
|
4640 | "kind": "expression"
|
4641 | }
|
4642 | },
|
4643 | {
|
4644 | "name": "inlineCollapsed",
|
4645 | "default": "-",
|
4646 | "description": "specifies the collapsed status when menu is inline mode",
|
4647 | "value": {
|
4648 | "type": "boolean",
|
4649 | "kind": "expression"
|
4650 | }
|
4651 | },
|
4652 | {
|
4653 | "name": "inlineIndent",
|
4654 | "default": "24",
|
4655 | "description": "indent px of inline menu item on each level",
|
4656 | "value": {
|
4657 | "type": "number",
|
4658 | "kind": "expression"
|
4659 | }
|
4660 | },
|
4661 | {
|
4662 | "name": "mode",
|
4663 | "default": "`inline`",
|
4664 | "description": "type of the menu; `vertical`, `horizontal`, and `inline` modes are supported",
|
4665 | "value": {
|
4666 | "type": "`vertical` | `horizontal` ",
|
4667 | "kind": "expression"
|
4668 | }
|
4669 | },
|
4670 | {
|
4671 | "name": "multiple",
|
4672 | "default": "false",
|
4673 | "description": "Allow selection of multiple items",
|
4674 | "value": {
|
4675 | "type": "boolean",
|
4676 | "kind": "expression"
|
4677 | }
|
4678 | },
|
4679 | {
|
4680 | "name": "openKeys(v-model)",
|
4681 | "default": "",
|
4682 | "description": "array with the keys of currently opened sub menus",
|
4683 | "value": {
|
4684 | "type": "string[]",
|
4685 | "kind": "expression"
|
4686 | }
|
4687 | },
|
4688 | {
|
4689 | "name": "overflowedIndicator",
|
4690 | "default": "`<EllipsisOutlined />`",
|
4691 | "description": "Customized the ellipsis icon when menu is collapsed horizontally",
|
4692 | "value": {
|
4693 | "type": "slot",
|
4694 | "kind": "expression"
|
4695 | }
|
4696 | },
|
4697 | {
|
4698 | "name": "selectable",
|
4699 | "default": "true",
|
4700 | "description": "allow selecting menu items",
|
4701 | "value": {
|
4702 | "type": "boolean",
|
4703 | "kind": "expression"
|
4704 | }
|
4705 | },
|
4706 | {
|
4707 | "name": "selectedKeys(v-model)",
|
4708 | "default": "",
|
4709 | "description": "array with the keys of currently selected menu items",
|
4710 | "value": {
|
4711 | "type": "string[]",
|
4712 | "kind": "expression"
|
4713 | }
|
4714 | },
|
4715 | {
|
4716 | "name": "style",
|
4717 | "default": "",
|
4718 | "description": "style of the root node",
|
4719 | "value": {
|
4720 | "type": "object",
|
4721 | "kind": "expression"
|
4722 | }
|
4723 | },
|
4724 | {
|
4725 | "name": "subMenuCloseDelay",
|
4726 | "default": "0.1",
|
4727 | "description": "delay time to hide submenu when mouse leave, unit: second",
|
4728 | "value": {
|
4729 | "type": "number",
|
4730 | "kind": "expression"
|
4731 | }
|
4732 | },
|
4733 | {
|
4734 | "name": "subMenuOpenDelay",
|
4735 | "default": "0",
|
4736 | "description": "delay time to show submenu when mouse enter, unit: second",
|
4737 | "value": {
|
4738 | "type": "number",
|
4739 | "kind": "expression"
|
4740 | }
|
4741 | },
|
4742 | {
|
4743 | "name": "theme",
|
4744 | "default": "`light`",
|
4745 | "description": "color theme of the menu",
|
4746 | "value": {
|
4747 | "type": "string: `light` `dark`",
|
4748 | "kind": "expression"
|
4749 | }
|
4750 | },
|
4751 | {
|
4752 | "name": "triggerSubMenuAction",
|
4753 | "default": "`hover`",
|
4754 | "description": "method of trigger submenu",
|
4755 | "value": {
|
4756 | "type": "`click` | `hover`",
|
4757 | "kind": "expression"
|
4758 | }
|
4759 | }
|
4760 | ]
|
4761 | },
|
4762 | {
|
4763 | "name": "a-menu",
|
4764 | "slots": [],
|
4765 | "events": [],
|
4766 | "attributes": [
|
4767 | {
|
4768 | "name": "click",
|
4769 | "description": "callback executed when a menu item is clicked",
|
4770 | "value": {
|
4771 | "type": "function({ item, key, keyPath })",
|
4772 | "kind": "expression"
|
4773 | }
|
4774 | },
|
4775 | {
|
4776 | "name": "deselect",
|
4777 | "description": "callback executed when a menu item is deselected, only supported for multiple mode",
|
4778 | "value": {
|
4779 | "type": "function({ item, key, selectedKeys })",
|
4780 | "kind": "expression"
|
4781 | }
|
4782 | },
|
4783 | {
|
4784 | "name": "openChange",
|
4785 | "description": "called when open/close sub menu",
|
4786 | "value": {
|
4787 | "type": "function(openKeys: string[])",
|
4788 | "kind": "expression"
|
4789 | }
|
4790 | },
|
4791 | {
|
4792 | "name": "select",
|
4793 | "description": "callback executed when a menu item is selected",
|
4794 | "value": {
|
4795 | "type": "function({ item, key, selectedKeys })",
|
4796 | "kind": "expression"
|
4797 | }
|
4798 | }
|
4799 | ]
|
4800 | },
|
4801 | {
|
4802 | "name": "a-menu-item",
|
4803 | "slots": [],
|
4804 | "events": [],
|
4805 | "attributes": [
|
4806 | {
|
4807 | "name": "disabled",
|
4808 | "default": "false",
|
4809 | "description": "whether menu item is disabled or not",
|
4810 | "value": {
|
4811 | "type": "boolean",
|
4812 | "kind": "expression"
|
4813 | }
|
4814 | },
|
4815 | {
|
4816 | "name": "key",
|
4817 | "default": "",
|
4818 | "description": "unique id of the menu item",
|
4819 | "value": {
|
4820 | "type": "string",
|
4821 | "kind": "expression"
|
4822 | }
|
4823 | },
|
4824 | {
|
4825 | "name": "title",
|
4826 | "default": "",
|
4827 | "description": "set display title for collapsed item",
|
4828 | "value": {
|
4829 | "type": "string",
|
4830 | "kind": "expression"
|
4831 | }
|
4832 | }
|
4833 | ]
|
4834 | },
|
4835 | {
|
4836 | "name": "a-menu-sub-menu",
|
4837 | "slots": [
|
4838 | {
|
4839 | "name": "expandIcon",
|
4840 | "description": "Customized expandIcon"
|
4841 | },
|
4842 | {
|
4843 | "name": "title",
|
4844 | "description": "title of the sub menu"
|
4845 | }
|
4846 | ],
|
4847 | "events": [],
|
4848 | "attributes": [
|
4849 | {
|
4850 | "name": "disabled",
|
4851 | "default": "false",
|
4852 | "description": "whether sub menu is disabled or not",
|
4853 | "value": {
|
4854 | "type": "boolean",
|
4855 | "kind": "expression"
|
4856 | }
|
4857 | },
|
4858 | {
|
4859 | "name": "expandIcon",
|
4860 | "default": "arrow icon",
|
4861 | "description": "Customized expandIcon",
|
4862 | "value": {
|
4863 | "type": "slot",
|
4864 | "kind": "expression"
|
4865 | }
|
4866 | },
|
4867 | {
|
4868 | "name": "key",
|
4869 | "default": "",
|
4870 | "description": "Unique ID of the sub menu, required",
|
4871 | "value": {
|
4872 | "type": "string",
|
4873 | "kind": "expression"
|
4874 | }
|
4875 | },
|
4876 | {
|
4877 | "name": "popupClassName",
|
4878 | "default": "",
|
4879 | "description": "Sub-menu class name",
|
4880 | "value": {
|
4881 | "type": "string",
|
4882 | "kind": "expression"
|
4883 | }
|
4884 | },
|
4885 | {
|
4886 | "name": "popupOffset",
|
4887 | "default": "-",
|
4888 | "description": "Sub-menu offset, not working when `mode=\"inline\"`",
|
4889 | "value": {
|
4890 | "type": "[number, number]",
|
4891 | "kind": "expression"
|
4892 | }
|
4893 | },
|
4894 | {
|
4895 | "name": "title",
|
4896 | "default": "",
|
4897 | "description": "title of the sub menu",
|
4898 | "value": {
|
4899 | "type": "string|slot",
|
4900 | "kind": "expression"
|
4901 | }
|
4902 | }
|
4903 | ]
|
4904 | },
|
4905 | {
|
4906 | "name": "a-menu-sub-menu",
|
4907 | "slots": [],
|
4908 | "events": [],
|
4909 | "attributes": [
|
4910 | {
|
4911 | "name": "titleClick",
|
4912 | "description": "callback executed when the sub menu title is clicked",
|
4913 | "value": {
|
4914 | "type": "function({ key, domEvent })",
|
4915 | "kind": "expression"
|
4916 | }
|
4917 | }
|
4918 | ]
|
4919 | },
|
4920 | {
|
4921 | "name": "a-menu-item-group",
|
4922 | "slots": [
|
4923 | {
|
4924 | "name": "title",
|
4925 | "description": "title of the group"
|
4926 | }
|
4927 | ],
|
4928 | "events": [],
|
4929 | "attributes": [
|
4930 | {
|
4931 | "name": "children",
|
4932 | "default": "",
|
4933 | "description": "sub-menu items",
|
4934 | "value": {
|
4935 | "type": "MenuItem[]",
|
4936 | "kind": "expression"
|
4937 | }
|
4938 | },
|
4939 | {
|
4940 | "name": "title",
|
4941 | "default": "",
|
4942 | "description": "title of the group",
|
4943 | "value": {
|
4944 | "type": "string|slot",
|
4945 | "kind": "expression"
|
4946 | }
|
4947 | }
|
4948 | ]
|
4949 | },
|
4950 | {
|
4951 | "name": "a-menu-divider",
|
4952 | "slots": [],
|
4953 | "events": [],
|
4954 | "attributes": [
|
4955 | {
|
4956 | "name": "dashed",
|
4957 | "default": "false",
|
4958 | "description": "Whether line is dashed",
|
4959 | "value": {
|
4960 | "type": "boolean",
|
4961 | "kind": "expression"
|
4962 | }
|
4963 | }
|
4964 | ]
|
4965 | },
|
4966 | {
|
4967 | "name": "a-message",
|
4968 | "slots": [],
|
4969 | "events": [],
|
4970 | "attributes": [
|
4971 | {
|
4972 | "name": "content",
|
4973 | "default": "() => VNode",
|
4974 | "description": "content of the message",
|
4975 | "value": {
|
4976 | "type": "string| VNode ",
|
4977 | "kind": "expression"
|
4978 | }
|
4979 | },
|
4980 | {
|
4981 | "name": "duration",
|
4982 | "default": "1.5",
|
4983 | "description": "time(seconds) before auto-dismiss, don't dismiss if set to 0",
|
4984 | "value": {
|
4985 | "type": "number",
|
4986 | "kind": "expression"
|
4987 | }
|
4988 | },
|
4989 | {
|
4990 | "name": "onClose",
|
4991 | "default": "-",
|
4992 | "description": "Specify a function that will be called when the message is closed",
|
4993 | "value": {
|
4994 | "type": "Function",
|
4995 | "kind": "expression"
|
4996 | }
|
4997 | }
|
4998 | ]
|
4999 | },
|
5000 | {
|
5001 | "name": "a-modal",
|
5002 | "slots": [
|
5003 | {
|
5004 | "name": "cancelText",
|
5005 | "description": "Text of the Cancel button"
|
5006 | },
|
5007 | {
|
5008 | "name": "closeIcon",
|
5009 | "description": "custom close icon"
|
5010 | },
|
5011 | {
|
5012 | "name": "footer",
|
5013 | "description": "Footer content, set as `:footer=\"null\"` when you don't need default buttons"
|
5014 | },
|
5015 | {
|
5016 | "name": "okText",
|
5017 | "description": "Text of the OK button"
|
5018 | },
|
5019 | {
|
5020 | "name": "title",
|
5021 | "description": "The modal dialog's title"
|
5022 | }
|
5023 | ],
|
5024 | "events": [
|
5025 | {
|
5026 | "name": "cancel",
|
5027 | "description": "Specify a function that will be called when a user clicks mask, close button on top right or Cancel button"
|
5028 | },
|
5029 | {
|
5030 | "name": "ok",
|
5031 | "description": "Specify a function that will be called when a user clicks the OK button"
|
5032 | }
|
5033 | ],
|
5034 | "attributes": [
|
5035 | {
|
5036 | "name": "afterClose",
|
5037 | "default": "-",
|
5038 | "description": "Specify a function that will be called when modal is closed completely.",
|
5039 | "value": {
|
5040 | "type": "function",
|
5041 | "kind": "expression"
|
5042 | }
|
5043 | },
|
5044 | {
|
5045 | "name": "bodyStyle",
|
5046 | "default": "{}",
|
5047 | "description": "Body style for modal body element. Such as height, padding etc.",
|
5048 | "value": {
|
5049 | "type": "object",
|
5050 | "kind": "expression"
|
5051 | }
|
5052 | },
|
5053 | {
|
5054 | "name": "cancelButtonProps",
|
5055 | "default": "-",
|
5056 | "description": "The cancel button props",
|
5057 | "value": {
|
5058 | "type": "[ButtonProps](/components/button/#API)",
|
5059 | "kind": "expression"
|
5060 | }
|
5061 | },
|
5062 | {
|
5063 | "name": "cancelText",
|
5064 | "default": "`Cancel`",
|
5065 | "description": "Text of the Cancel button",
|
5066 | "value": {
|
5067 | "type": "string|slot",
|
5068 | "kind": "expression"
|
5069 | }
|
5070 | },
|
5071 | {
|
5072 | "name": "centered",
|
5073 | "default": "`false`",
|
5074 | "description": "Centered Modal",
|
5075 | "value": {
|
5076 | "type": "Boolean",
|
5077 | "kind": "expression"
|
5078 | }
|
5079 | },
|
5080 | {
|
5081 | "name": "closable",
|
5082 | "default": "true",
|
5083 | "description": "Whether a close (x) button is visible on top right of the modal dialog or not",
|
5084 | "value": {
|
5085 | "type": "boolean",
|
5086 | "kind": "expression"
|
5087 | }
|
5088 | },
|
5089 | {
|
5090 | "name": "closeIcon",
|
5091 | "default": "-",
|
5092 | "description": "custom close icon",
|
5093 | "value": {
|
5094 | "type": "VNode | slot",
|
5095 | "kind": "expression"
|
5096 | }
|
5097 | },
|
5098 | {
|
5099 | "name": "confirmLoading",
|
5100 | "default": "false",
|
5101 | "description": "Whether to apply loading visual effect for OK button or not",
|
5102 | "value": {
|
5103 | "type": "boolean",
|
5104 | "kind": "expression"
|
5105 | }
|
5106 | },
|
5107 | {
|
5108 | "name": "destroyOnClose",
|
5109 | "default": "false",
|
5110 | "description": "Whether to unmount child components on onClose",
|
5111 | "value": {
|
5112 | "type": "boolean",
|
5113 | "kind": "expression"
|
5114 | }
|
5115 | },
|
5116 | {
|
5117 | "name": "dialogClass",
|
5118 | "default": "-",
|
5119 | "description": "className of floating layer.",
|
5120 | "value": {
|
5121 | "type": "string",
|
5122 | "kind": "expression"
|
5123 | }
|
5124 | },
|
5125 | {
|
5126 | "name": "dialogStyle",
|
5127 | "default": "-",
|
5128 | "description": "Style of floating layer, typically used at least for adjusting the position.",
|
5129 | "value": {
|
5130 | "type": "object",
|
5131 | "kind": "expression"
|
5132 | }
|
5133 | },
|
5134 | {
|
5135 | "name": "footer",
|
5136 | "default": "OK and Cancel buttons",
|
5137 | "description": "Footer content, set as `:footer=\"null\"` when you don't need default buttons",
|
5138 | "value": {
|
5139 | "type": "string|slot",
|
5140 | "kind": "expression"
|
5141 | }
|
5142 | },
|
5143 | {
|
5144 | "name": "forceRender",
|
5145 | "default": "false",
|
5146 | "description": "Force render Modal",
|
5147 | "value": {
|
5148 | "type": "boolean",
|
5149 | "kind": "expression"
|
5150 | }
|
5151 | },
|
5152 | {
|
5153 | "name": "getContainer",
|
5154 | "default": "() => document.body",
|
5155 | "description": "Return the mount node for Modal",
|
5156 | "value": {
|
5157 | "type": "(instance): HTMLElement",
|
5158 | "kind": "expression"
|
5159 | }
|
5160 | },
|
5161 | {
|
5162 | "name": "mask",
|
5163 | "default": "true",
|
5164 | "description": "Whether show mask or not.",
|
5165 | "value": {
|
5166 | "type": "Boolean",
|
5167 | "kind": "expression"
|
5168 | }
|
5169 | },
|
5170 | {
|
5171 | "name": "maskClosable",
|
5172 | "default": "true",
|
5173 | "description": "Whether to close the modal dialog when the mask (area outside the modal) is clicked",
|
5174 | "value": {
|
5175 | "type": "boolean",
|
5176 | "kind": "expression"
|
5177 | }
|
5178 | },
|
5179 | {
|
5180 | "name": "maskStyle",
|
5181 | "default": "{}",
|
5182 | "description": "Style for modal's mask element.",
|
5183 | "value": {
|
5184 | "type": "object",
|
5185 | "kind": "expression"
|
5186 | }
|
5187 | },
|
5188 | {
|
5189 | "name": "okButtonProps",
|
5190 | "default": "-",
|
5191 | "description": "The ok button props",
|
5192 | "value": {
|
5193 | "type": "[ButtonProps](/components/button/#API)",
|
5194 | "kind": "expression"
|
5195 | }
|
5196 | },
|
5197 | {
|
5198 | "name": "okText",
|
5199 | "default": "`OK`",
|
5200 | "description": "Text of the OK button",
|
5201 | "value": {
|
5202 | "type": "string|slot",
|
5203 | "kind": "expression"
|
5204 | }
|
5205 | },
|
5206 | {
|
5207 | "name": "okType",
|
5208 | "default": "`primary`",
|
5209 | "description": "Button `type` of the OK button",
|
5210 | "value": {
|
5211 | "type": "string",
|
5212 | "kind": "expression"
|
5213 | }
|
5214 | },
|
5215 | {
|
5216 | "name": "title",
|
5217 | "default": "-",
|
5218 | "description": "The modal dialog's title",
|
5219 | "value": {
|
5220 | "type": "string|slot",
|
5221 | "kind": "expression"
|
5222 | }
|
5223 | },
|
5224 | {
|
5225 | "name": "visible",
|
5226 | "default": "false",
|
5227 | "description": "Whether the modal dialog is visible or not",
|
5228 | "value": {
|
5229 | "type": "boolean",
|
5230 | "kind": "expression"
|
5231 | }
|
5232 | },
|
5233 | {
|
5234 | "name": "width",
|
5235 | "default": "520",
|
5236 | "description": "Width of the modal dialog",
|
5237 | "value": {
|
5238 | "type": "string|number",
|
5239 | "kind": "expression"
|
5240 | }
|
5241 | },
|
5242 | {
|
5243 | "name": "wrapClassName",
|
5244 | "default": "-",
|
5245 | "description": "The class name of the container of the modal dialog",
|
5246 | "value": {
|
5247 | "type": "string",
|
5248 | "kind": "expression"
|
5249 | }
|
5250 | },
|
5251 | {
|
5252 | "name": "zIndex",
|
5253 | "default": "1000",
|
5254 | "description": "The `z-index` of the Modal",
|
5255 | "value": {
|
5256 | "type": "Number",
|
5257 | "kind": "expression"
|
5258 | }
|
5259 | }
|
5260 | ]
|
5261 | },
|
5262 | {
|
5263 | "name": "a-modalmethod()",
|
5264 | "slots": [],
|
5265 | "events": [],
|
5266 | "attributes": [
|
5267 | {
|
5268 | "name": "appContext",
|
5269 | "default": "-",
|
5270 | "description": "The context of the pop-up window is generally used to obtain content such as global registered components, vuex, etc.",
|
5271 | "value": {
|
5272 | "type": "-",
|
5273 | "kind": "expression"
|
5274 | }
|
5275 | },
|
5276 | {
|
5277 | "name": "autoFocusButton",
|
5278 | "default": "`ok`",
|
5279 | "description": "Specify which button to autofocus",
|
5280 | "value": {
|
5281 | "type": "null|string: `ok` `cancel`",
|
5282 | "kind": "expression"
|
5283 | }
|
5284 | },
|
5285 | {
|
5286 | "name": "cancelButtonProps",
|
5287 | "default": "-",
|
5288 | "description": "The cancel button props",
|
5289 | "value": {
|
5290 | "type": "[ButtonProps](/components/button)",
|
5291 | "kind": "expression"
|
5292 | }
|
5293 | },
|
5294 | {
|
5295 | "name": "cancelText",
|
5296 | "default": "`Cancel`",
|
5297 | "description": "Text of the Cancel button",
|
5298 | "value": {
|
5299 | "type": "string",
|
5300 | "kind": "expression"
|
5301 | }
|
5302 | },
|
5303 | {
|
5304 | "name": "centered",
|
5305 | "default": "`false`",
|
5306 | "description": "Centered Modal",
|
5307 | "value": {
|
5308 | "type": "Boolean",
|
5309 | "kind": "expression"
|
5310 | }
|
5311 | },
|
5312 | {
|
5313 | "name": "class",
|
5314 | "default": "-",
|
5315 | "description": "class of container",
|
5316 | "value": {
|
5317 | "type": "string",
|
5318 | "kind": "expression"
|
5319 | }
|
5320 | },
|
5321 | {
|
5322 | "name": "closable",
|
5323 | "default": "`false`",
|
5324 | "description": "Whether a close (x) button is visible on top right of the modal dialog or not",
|
5325 | "value": {
|
5326 | "type": "boolean",
|
5327 | "kind": "expression"
|
5328 | }
|
5329 | },
|
5330 | {
|
5331 | "name": "content",
|
5332 | "default": "function(h)",
|
5333 | "description": "Content",
|
5334 | "value": {
|
5335 | "type": "string|vNode ",
|
5336 | "kind": "expression"
|
5337 | }
|
5338 | },
|
5339 | {
|
5340 | "name": "icon",
|
5341 | "default": "-",
|
5342 | "description": "custom icon (`Added in 1.14.0`)",
|
5343 | "value": {
|
5344 | "type": "VNode |()=>VNode",
|
5345 | "kind": "expression"
|
5346 | }
|
5347 | },
|
5348 | {
|
5349 | "name": "keyboard",
|
5350 | "default": "true",
|
5351 | "description": "Whether support press esc to close",
|
5352 | "value": {
|
5353 | "type": "Boolean",
|
5354 | "kind": "expression"
|
5355 | }
|
5356 | },
|
5357 | {
|
5358 | "name": "mask",
|
5359 | "default": "true",
|
5360 | "description": "Whether show mask or not.",
|
5361 | "value": {
|
5362 | "type": "Boolean",
|
5363 | "kind": "expression"
|
5364 | }
|
5365 | },
|
5366 | {
|
5367 | "name": "maskClosable",
|
5368 | "default": "`false`",
|
5369 | "description": "Whether to close the modal dialog when the mask (area outside the modal) is clicked",
|
5370 | "value": {
|
5371 | "type": "Boolean",
|
5372 | "kind": "expression"
|
5373 | }
|
5374 | },
|
5375 | {
|
5376 | "name": "okButtonProps",
|
5377 | "default": "-",
|
5378 | "description": "The ok button props",
|
5379 | "value": {
|
5380 | "type": "[ButtonProps](/components/button)",
|
5381 | "kind": "expression"
|
5382 | }
|
5383 | },
|
5384 | {
|
5385 | "name": "okText",
|
5386 | "default": "`OK`",
|
5387 | "description": "Text of the OK button",
|
5388 | "value": {
|
5389 | "type": "string",
|
5390 | "kind": "expression"
|
5391 | }
|
5392 | },
|
5393 | {
|
5394 | "name": "okType",
|
5395 | "default": "`primary`",
|
5396 | "description": "Button `type` of the OK button",
|
5397 | "value": {
|
5398 | "type": "string",
|
5399 | "kind": "expression"
|
5400 | }
|
5401 | },
|
5402 | {
|
5403 | "name": "title",
|
5404 | "default": "function(h)",
|
5405 | "description": "Title",
|
5406 | "value": {
|
5407 | "type": "string|vNode ",
|
5408 | "kind": "expression"
|
5409 | }
|
5410 | },
|
5411 | {
|
5412 | "name": "width",
|
5413 | "default": "416",
|
5414 | "description": "Width of the modal dialog",
|
5415 | "value": {
|
5416 | "type": "string|number",
|
5417 | "kind": "expression"
|
5418 | }
|
5419 | },
|
5420 | {
|
5421 | "name": "wrapClassName",
|
5422 | "default": "-",
|
5423 | "description": "The class name of the container of the modal dialog",
|
5424 | "value": {
|
5425 | "type": "string",
|
5426 | "kind": "expression"
|
5427 | }
|
5428 | },
|
5429 | {
|
5430 | "name": "zIndex",
|
5431 | "default": "1000",
|
5432 | "description": "The `z-index` of the Modal",
|
5433 | "value": {
|
5434 | "type": "Number",
|
5435 | "kind": "expression"
|
5436 | }
|
5437 | },
|
5438 | {
|
5439 | "name": "onCancel",
|
5440 | "default": "-",
|
5441 | "description": "Specify a function that will be called when the user clicks the Cancel button. The parameter of this function is a function whose execution should include closing the dialog. You can also just return a promise and when the promise is resolved, the modal dialog will also be closed",
|
5442 | "value": {
|
5443 | "type": "function",
|
5444 | "kind": "expression"
|
5445 | }
|
5446 | },
|
5447 | {
|
5448 | "name": "onOk",
|
5449 | "default": "-",
|
5450 | "description": "Specify a function that will be called when the user clicks the OK button. The parameter of this function is a function whose execution should include closing the dialog. You can also just return a promise and when the promise is resolved, the modal dialog will also be closed",
|
5451 | "value": {
|
5452 | "type": "function",
|
5453 | "kind": "expression"
|
5454 | }
|
5455 | }
|
5456 | ]
|
5457 | },
|
5458 | {
|
5459 | "name": "a-notification",
|
5460 | "slots": [],
|
5461 | "events": [],
|
5462 | "attributes": [
|
5463 | {
|
5464 | "name": "bottom",
|
5465 | "default": "`24px`",
|
5466 | "description": "Distance from the bottom of the viewport, when `placement` is `bottomRight` or `bottomLeft` (unit: pixels).",
|
5467 | "value": {
|
5468 | "type": "string",
|
5469 | "kind": "expression"
|
5470 | }
|
5471 | },
|
5472 | {
|
5473 | "name": "btn",
|
5474 | "default": "-",
|
5475 | "description": "Customized close button",
|
5476 | "value": {
|
5477 | "type": "VNode | () => VNode",
|
5478 | "kind": "expression"
|
5479 | }
|
5480 | },
|
5481 | {
|
5482 | "name": "class",
|
5483 | "default": "-",
|
5484 | "description": "Customized CSS class",
|
5485 | "value": {
|
5486 | "type": "string",
|
5487 | "kind": "expression"
|
5488 | }
|
5489 | },
|
5490 | {
|
5491 | "name": "closeIcon",
|
5492 | "default": "-",
|
5493 | "description": "custom close icon",
|
5494 | "value": {
|
5495 | "type": "VNode | () => VNode",
|
5496 | "kind": "expression"
|
5497 | }
|
5498 | },
|
5499 | {
|
5500 | "name": "description",
|
5501 | "default": "() => VNode",
|
5502 | "description": "The content of notification box (required)",
|
5503 | "value": {
|
5504 | "type": "string| VNode ",
|
5505 | "kind": "expression"
|
5506 | }
|
5507 | },
|
5508 | {
|
5509 | "name": "duration",
|
5510 | "default": "4.5",
|
5511 | "description": "Time in seconds before Notification is closed. When set to 0 or null, it will never be closed automatically",
|
5512 | "value": {
|
5513 | "type": "number",
|
5514 | "kind": "expression"
|
5515 | }
|
5516 | },
|
5517 | {
|
5518 | "name": "getContainer",
|
5519 | "default": "() => document.body",
|
5520 | "description": "Return the mount node for Notification",
|
5521 | "value": {
|
5522 | "type": "() => HTMLNode",
|
5523 | "kind": "expression"
|
5524 | }
|
5525 | },
|
5526 | {
|
5527 | "name": "icon",
|
5528 | "default": "-",
|
5529 | "description": "Customized icon",
|
5530 | "value": {
|
5531 | "type": "VNode | () => VNode",
|
5532 | "kind": "expression"
|
5533 | }
|
5534 | },
|
5535 | {
|
5536 | "name": "key",
|
5537 | "default": "-",
|
5538 | "description": "The unique identifier of the Notification",
|
5539 | "value": {
|
5540 | "type": "string",
|
5541 | "kind": "expression"
|
5542 | }
|
5543 | },
|
5544 | {
|
5545 | "name": "message",
|
5546 | "default": "() => VNode",
|
5547 | "description": "The title of notification box (required)",
|
5548 | "value": {
|
5549 | "type": "string| VNode ",
|
5550 | "kind": "expression"
|
5551 | }
|
5552 | },
|
5553 | {
|
5554 | "name": "placement",
|
5555 | "default": "`topRight`",
|
5556 | "description": "Position of Notification, can be one of `topLeft` `topRight` `bottomLeft` `bottomRight`",
|
5557 | "value": {
|
5558 | "type": "string",
|
5559 | "kind": "expression"
|
5560 | }
|
5561 | },
|
5562 | {
|
5563 | "name": "style",
|
5564 | "default": "-",
|
5565 | "description": "Customized inline style",
|
5566 | "value": {
|
5567 | "type": "Object | string",
|
5568 | "kind": "expression"
|
5569 | }
|
5570 | },
|
5571 | {
|
5572 | "name": "top",
|
5573 | "default": "`24px`",
|
5574 | "description": "Distance from the top of the viewport, when `placement` is `topRight` or `topLeft` (unit: pixels).",
|
5575 | "value": {
|
5576 | "type": "string",
|
5577 | "kind": "expression"
|
5578 | }
|
5579 | },
|
5580 | {
|
5581 | "name": "onClick",
|
5582 | "default": "-",
|
5583 | "description": "Specify a function that will be called when the notification is clicked",
|
5584 | "value": {
|
5585 | "type": "Function",
|
5586 | "kind": "expression"
|
5587 | }
|
5588 | },
|
5589 | {
|
5590 | "name": "onClose",
|
5591 | "default": "-",
|
5592 | "description": "Specify a function that will be called when the close button is clicked",
|
5593 | "value": {
|
5594 | "type": "Function",
|
5595 | "kind": "expression"
|
5596 | }
|
5597 | }
|
5598 | ]
|
5599 | },
|
5600 | {
|
5601 | "name": "a-pageheader",
|
5602 | "slots": [
|
5603 | {
|
5604 | "name": "backIcon",
|
5605 | "description": "custom back icon, if false the back icon will not be displayed"
|
5606 | },
|
5607 | {
|
5608 | "name": "extra",
|
5609 | "description": "Operating area, at the end of the line of the title line"
|
5610 | },
|
5611 | {
|
5612 | "name": "footer",
|
5613 | "description": "PageHeader's footer, generally used to render TabBar"
|
5614 | },
|
5615 | {
|
5616 | "name": "subTitle",
|
5617 | "description": "custom subTitle text"
|
5618 | },
|
5619 | {
|
5620 | "name": "title",
|
5621 | "description": "custom title text"
|
5622 | }
|
5623 | ],
|
5624 | "events": [],
|
5625 | "attributes": [
|
5626 | {
|
5627 | "name": "avatar",
|
5628 | "default": "-",
|
5629 | "description": "Avatar next to the title bar",
|
5630 | "value": {
|
5631 | "type": "[avatar props](/components/avatar/)",
|
5632 | "kind": "expression"
|
5633 | }
|
5634 | },
|
5635 | {
|
5636 | "name": "backIcon",
|
5637 | "default": "`<ArrowLeft />`",
|
5638 | "description": "custom back icon, if false the back icon will not be displayed",
|
5639 | "value": {
|
5640 | "type": "string|slot",
|
5641 | "kind": "expression"
|
5642 | }
|
5643 | },
|
5644 | {
|
5645 | "name": "breadcrumb",
|
5646 | "default": "-",
|
5647 | "description": "Breadcrumb configuration",
|
5648 | "value": {
|
5649 | "type": "[breadcrumb](/components/breadcrumb/)",
|
5650 | "kind": "expression"
|
5651 | }
|
5652 | },
|
5653 | {
|
5654 | "name": "extra",
|
5655 | "default": "-",
|
5656 | "description": "Operating area, at the end of the line of the title line",
|
5657 | "value": {
|
5658 | "type": "string|slot",
|
5659 | "kind": "expression"
|
5660 | }
|
5661 | },
|
5662 | {
|
5663 | "name": "footer",
|
5664 | "default": "-",
|
5665 | "description": "PageHeader's footer, generally used to render TabBar",
|
5666 | "value": {
|
5667 | "type": "string|slot",
|
5668 | "kind": "expression"
|
5669 | }
|
5670 | },
|
5671 | {
|
5672 | "name": "ghost",
|
5673 | "default": "true",
|
5674 | "description": "PageHeader type, will change background color",
|
5675 | "value": {
|
5676 | "type": "boolean",
|
5677 | "kind": "expression"
|
5678 | }
|
5679 | },
|
5680 | {
|
5681 | "name": "subTitle",
|
5682 | "default": "-",
|
5683 | "description": "custom subTitle text",
|
5684 | "value": {
|
5685 | "type": "string|slot",
|
5686 | "kind": "expression"
|
5687 | }
|
5688 | },
|
5689 | {
|
5690 | "name": "tags",
|
5691 | "default": "-",
|
5692 | "description": "Tag list next to title",
|
5693 | "value": {
|
5694 | "type": "[Tag](/components/tag/)[] | [Tag](/components/tag/)",
|
5695 | "kind": "expression"
|
5696 | }
|
5697 | },
|
5698 | {
|
5699 | "name": "title",
|
5700 | "default": "-",
|
5701 | "description": "custom title text",
|
5702 | "value": {
|
5703 | "type": "string|slot",
|
5704 | "kind": "expression"
|
5705 | }
|
5706 | }
|
5707 | ]
|
5708 | },
|
5709 | {
|
5710 | "name": "a-pagination",
|
5711 | "slots": [],
|
5712 | "events": [
|
5713 | {
|
5714 | "name": "change",
|
5715 | "description": "Called when the page number or `pageSize` is changed, and it takes the resulting page number and pageSize as its arguments"
|
5716 | },
|
5717 | {
|
5718 | "name": "showSizeChange",
|
5719 | "description": "a callback function, executed when `pageSize` is changed"
|
5720 | }
|
5721 | ],
|
5722 | "attributes": [
|
5723 | {
|
5724 | "name": "current(v-model)",
|
5725 | "default": "-",
|
5726 | "description": "current page number",
|
5727 | "value": {
|
5728 | "type": "number",
|
5729 | "kind": "expression"
|
5730 | }
|
5731 | },
|
5732 | {
|
5733 | "name": "defaultCurrent",
|
5734 | "default": "1",
|
5735 | "description": "default initial page number",
|
5736 | "value": {
|
5737 | "type": "number",
|
5738 | "kind": "expression"
|
5739 | }
|
5740 | },
|
5741 | {
|
5742 | "name": "defaultPageSize",
|
5743 | "default": "10",
|
5744 | "description": "default number of data items per page",
|
5745 | "value": {
|
5746 | "type": "number",
|
5747 | "kind": "expression"
|
5748 | }
|
5749 | },
|
5750 | {
|
5751 | "name": "disabled",
|
5752 | "default": "-",
|
5753 | "description": "Disable pagination",
|
5754 | "value": {
|
5755 | "type": "boolean",
|
5756 | "kind": "expression"
|
5757 | }
|
5758 | },
|
5759 | {
|
5760 | "name": "hideOnSinglePage",
|
5761 | "default": "false",
|
5762 | "description": "Whether to hide pager on single page",
|
5763 | "value": {
|
5764 | "type": "boolean",
|
5765 | "kind": "expression"
|
5766 | }
|
5767 | },
|
5768 | {
|
5769 | "name": "itemRender",
|
5770 | "default": "'next', originalElement) => vNode \\",
|
5771 | "description": "to customize item innerHTML",
|
5772 | "value": {
|
5773 | "type": "(page, type: 'page' | 'prev' ",
|
5774 | "kind": "expression"
|
5775 | }
|
5776 | },
|
5777 | {
|
5778 | "name": "pageSize(v-model)",
|
5779 | "default": "-",
|
5780 | "description": "number of data items per page",
|
5781 | "value": {
|
5782 | "type": "number",
|
5783 | "kind": "expression"
|
5784 | }
|
5785 | },
|
5786 | {
|
5787 | "name": "pageSizeOptions",
|
5788 | "default": "\\['10', '20', '30', '40']",
|
5789 | "description": "specify the sizeChanger options",
|
5790 | "value": {
|
5791 | "type": "string[]",
|
5792 | "kind": "expression"
|
5793 | }
|
5794 | },
|
5795 | {
|
5796 | "name": "responsive",
|
5797 | "default": "-",
|
5798 | "description": "If `size` is not specified, `Pagination` would resize according to the width of the window",
|
5799 | "value": {
|
5800 | "type": "boolean",
|
5801 | "kind": "expression"
|
5802 | }
|
5803 | },
|
5804 | {
|
5805 | "name": "showLessItems",
|
5806 | "default": "false",
|
5807 | "description": "Show less page items",
|
5808 | "value": {
|
5809 | "type": "boolean",
|
5810 | "kind": "expression"
|
5811 | }
|
5812 | },
|
5813 | {
|
5814 | "name": "showQuickJumper",
|
5815 | "default": "false",
|
5816 | "description": "determine whether you can jump to pages directly",
|
5817 | "value": {
|
5818 | "type": "boolean",
|
5819 | "kind": "expression"
|
5820 | }
|
5821 | },
|
5822 | {
|
5823 | "name": "showSizeChanger",
|
5824 | "default": "false",
|
5825 | "description": "determine whether `pageSize` can be changed",
|
5826 | "value": {
|
5827 | "type": "boolean",
|
5828 | "kind": "expression"
|
5829 | }
|
5830 | },
|
5831 | {
|
5832 | "name": "showTitle",
|
5833 | "default": "true",
|
5834 | "description": "Show page item's title",
|
5835 | "value": {
|
5836 | "type": "boolean",
|
5837 | "kind": "expression"
|
5838 | }
|
5839 | },
|
5840 | {
|
5841 | "name": "showTotal",
|
5842 | "default": "-",
|
5843 | "description": "to display the total number and range",
|
5844 | "value": {
|
5845 | "type": "Function(total, range)",
|
5846 | "kind": "expression"
|
5847 | }
|
5848 | },
|
5849 | {
|
5850 | "name": "simple",
|
5851 | "default": "-",
|
5852 | "description": "whether to use simple mode",
|
5853 | "value": {
|
5854 | "type": "boolean",
|
5855 | "kind": "expression"
|
5856 | }
|
5857 | },
|
5858 | {
|
5859 | "name": "size",
|
5860 | "default": "\"\"",
|
5861 | "description": "specify the size of `Pagination`, can be set to `small`",
|
5862 | "value": {
|
5863 | "type": "string",
|
5864 | "kind": "expression"
|
5865 | }
|
5866 | },
|
5867 | {
|
5868 | "name": "total",
|
5869 | "default": "0",
|
5870 | "description": "total number of data items",
|
5871 | "value": {
|
5872 | "type": "number",
|
5873 | "kind": "expression"
|
5874 | }
|
5875 | }
|
5876 | ]
|
5877 | },
|
5878 | {
|
5879 | "name": "a-popconfirm",
|
5880 | "slots": [
|
5881 | {
|
5882 | "name": "cancelButton",
|
5883 | "description": "custom render cancel button"
|
5884 | },
|
5885 | {
|
5886 | "name": "cancelText",
|
5887 | "description": "text of the Cancel button"
|
5888 | },
|
5889 | {
|
5890 | "name": "icon",
|
5891 | "description": "customize icon of confirmation"
|
5892 | },
|
5893 | {
|
5894 | "name": "okButton",
|
5895 | "description": "custom render confirm button"
|
5896 | },
|
5897 | {
|
5898 | "name": "okText",
|
5899 | "description": "text of the Confirm button"
|
5900 | },
|
5901 | {
|
5902 | "name": "title",
|
5903 | "description": "title of the confirmation box"
|
5904 | }
|
5905 | ],
|
5906 | "events": [
|
5907 | {
|
5908 | "name": "cancel",
|
5909 | "description": "callback of cancel"
|
5910 | },
|
5911 | {
|
5912 | "name": "confirm",
|
5913 | "description": "callback of confirmation"
|
5914 | },
|
5915 | {
|
5916 | "name": "visibleChange",
|
5917 | "description": "Callback executed when visibility of the tooltip card is changed"
|
5918 | }
|
5919 | ],
|
5920 | "attributes": [
|
5921 | {
|
5922 | "name": "cancelButton",
|
5923 | "default": "-",
|
5924 | "description": "custom render cancel button",
|
5925 | "value": {
|
5926 | "type": "slot",
|
5927 | "kind": "expression"
|
5928 | }
|
5929 | },
|
5930 | {
|
5931 | "name": "cancelButtonProps",
|
5932 | "default": "-",
|
5933 | "description": "The cancel button props",
|
5934 | "value": {
|
5935 | "type": "[ButtonProps](/components/button/#API)",
|
5936 | "kind": "expression"
|
5937 | }
|
5938 | },
|
5939 | {
|
5940 | "name": "cancelText",
|
5941 | "default": "`Cancel`",
|
5942 | "description": "text of the Cancel button",
|
5943 | "value": {
|
5944 | "type": "string|slot",
|
5945 | "kind": "expression"
|
5946 | }
|
5947 | },
|
5948 | {
|
5949 | "name": "disabled",
|
5950 | "default": "false",
|
5951 | "description": "is show popconfirm when click its childrenNode",
|
5952 | "value": {
|
5953 | "type": "boolean",
|
5954 | "kind": "expression"
|
5955 | }
|
5956 | },
|
5957 | {
|
5958 | "name": "icon",
|
5959 | "default": "<Icon type=\"exclamation-circle\" />",
|
5960 | "description": "customize icon of confirmation",
|
5961 | "value": {
|
5962 | "type": "vNode|slot",
|
5963 | "kind": "expression"
|
5964 | }
|
5965 | },
|
5966 | {
|
5967 | "name": "okButton",
|
5968 | "default": "-",
|
5969 | "description": "custom render confirm button",
|
5970 | "value": {
|
5971 | "type": "slot",
|
5972 | "kind": "expression"
|
5973 | }
|
5974 | },
|
5975 | {
|
5976 | "name": "okButtonProps",
|
5977 | "default": "-",
|
5978 | "description": "The ok button props",
|
5979 | "value": {
|
5980 | "type": "[ButtonProps](/components/button/#API)",
|
5981 | "kind": "expression"
|
5982 | }
|
5983 | },
|
5984 | {
|
5985 | "name": "okText",
|
5986 | "default": "`Confirm`",
|
5987 | "description": "text of the Confirm button",
|
5988 | "value": {
|
5989 | "type": "string|slot",
|
5990 | "kind": "expression"
|
5991 | }
|
5992 | },
|
5993 | {
|
5994 | "name": "okType",
|
5995 | "default": "`primary`",
|
5996 | "description": "Button `type` of the Confirm button",
|
5997 | "value": {
|
5998 | "type": "string",
|
5999 | "kind": "expression"
|
6000 | }
|
6001 | },
|
6002 | {
|
6003 | "name": "showCancel",
|
6004 | "default": "true",
|
6005 | "description": "Show cancel button",
|
6006 | "value": {
|
6007 | "type": "boolean",
|
6008 | "kind": "expression"
|
6009 | }
|
6010 | },
|
6011 | {
|
6012 | "name": "title",
|
6013 | "default": "-",
|
6014 | "description": "title of the confirmation box",
|
6015 | "value": {
|
6016 | "type": "string|slot",
|
6017 | "kind": "expression"
|
6018 | }
|
6019 | },
|
6020 | {
|
6021 | "name": "visible (v-model)",
|
6022 | "default": "-",
|
6023 | "description": "hide or show",
|
6024 | "value": {
|
6025 | "type": "boolean",
|
6026 | "kind": "expression"
|
6027 | }
|
6028 | }
|
6029 | ]
|
6030 | },
|
6031 | {
|
6032 | "name": "a-popover",
|
6033 | "slots": [
|
6034 | {
|
6035 | "name": "content",
|
6036 | "description": "Content of the card"
|
6037 | },
|
6038 | {
|
6039 | "name": "title",
|
6040 | "description": "Title of the card"
|
6041 | }
|
6042 | ],
|
6043 | "events": [],
|
6044 | "attributes": [
|
6045 | {
|
6046 | "name": "content",
|
6047 | "default": "vNode",
|
6048 | "description": "Content of the card",
|
6049 | "value": {
|
6050 | "type": "string|slot",
|
6051 | "kind": "expression"
|
6052 | }
|
6053 | },
|
6054 | {
|
6055 | "name": "title",
|
6056 | "default": "VNode",
|
6057 | "description": "Title of the card",
|
6058 | "value": {
|
6059 | "type": "string|slot",
|
6060 | "kind": "expression"
|
6061 | }
|
6062 | }
|
6063 | ]
|
6064 | },
|
6065 | {
|
6066 | "name": "a-progress",
|
6067 | "slots": [],
|
6068 | "events": [],
|
6069 | "attributes": [
|
6070 | {
|
6071 | "name": "format",
|
6072 | "default": "(percent) => percent + `%`",
|
6073 | "description": "The template function of the content",
|
6074 | "value": {
|
6075 | "type": "function(percent, successPercent)",
|
6076 | "kind": "expression"
|
6077 | }
|
6078 | },
|
6079 | {
|
6080 | "name": "percent",
|
6081 | "default": "0",
|
6082 | "description": "To set the completion percentage",
|
6083 | "value": {
|
6084 | "type": "number",
|
6085 | "kind": "expression"
|
6086 | }
|
6087 | },
|
6088 | {
|
6089 | "name": "showInfo",
|
6090 | "default": "true",
|
6091 | "description": "Whether to display the progress value and the status icon",
|
6092 | "value": {
|
6093 | "type": "boolean",
|
6094 | "kind": "expression"
|
6095 | }
|
6096 | },
|
6097 | {
|
6098 | "name": "status",
|
6099 | "default": "-",
|
6100 | "description": "To set the status of the Progress, options: `success` `exception` `normal` `active`(line only)",
|
6101 | "value": {
|
6102 | "type": "string",
|
6103 | "kind": "expression"
|
6104 | }
|
6105 | },
|
6106 | {
|
6107 | "name": "strokeColor",
|
6108 | "default": "-",
|
6109 | "description": "The color of progress bar",
|
6110 | "value": {
|
6111 | "type": "string",
|
6112 | "kind": "expression"
|
6113 | }
|
6114 | },
|
6115 | {
|
6116 | "name": "strokeLinecap",
|
6117 | "default": "`round`",
|
6118 | "description": "To set the style of the progress linecap",
|
6119 | "value": {
|
6120 | "type": "`round` | `square`",
|
6121 | "kind": "expression"
|
6122 | }
|
6123 | },
|
6124 | {
|
6125 | "name": "success",
|
6126 | "default": "-",
|
6127 | "description": "Configs of successfully progress bar",
|
6128 | "value": {
|
6129 | "type": "{ percent: number, strokeColor: string }",
|
6130 | "kind": "expression"
|
6131 | }
|
6132 | },
|
6133 | {
|
6134 | "name": "title",
|
6135 | "default": "-",
|
6136 | "description": "html dom title",
|
6137 | "value": {
|
6138 | "type": "string",
|
6139 | "kind": "expression"
|
6140 | }
|
6141 | },
|
6142 | {
|
6143 | "name": "trailColor",
|
6144 | "default": "-",
|
6145 | "description": "The color of unfilled part",
|
6146 | "value": {
|
6147 | "type": "string",
|
6148 | "kind": "expression"
|
6149 | }
|
6150 | },
|
6151 | {
|
6152 | "name": "type",
|
6153 | "default": "`line`",
|
6154 | "description": "To set the type, options: `line` `circle` `dashboard`",
|
6155 | "value": {
|
6156 | "type": "string",
|
6157 | "kind": "expression"
|
6158 | }
|
6159 | }
|
6160 | ]
|
6161 | },
|
6162 | {
|
6163 | "name": "a-radio",
|
6164 | "slots": [],
|
6165 | "events": [],
|
6166 | "attributes": []
|
6167 | },
|
6168 | {
|
6169 | "name": "a-radio/-radio-button",
|
6170 | "slots": [],
|
6171 | "events": [],
|
6172 | "attributes": [
|
6173 | {
|
6174 | "name": "autofocus",
|
6175 | "default": "false",
|
6176 | "description": "get focus when component mounted",
|
6177 | "value": {
|
6178 | "type": "boolean",
|
6179 | "kind": "expression"
|
6180 | }
|
6181 | },
|
6182 | {
|
6183 | "name": "checked(v-model)",
|
6184 | "default": "-",
|
6185 | "description": "Specifies whether the radio is selected.",
|
6186 | "value": {
|
6187 | "type": "boolean",
|
6188 | "kind": "expression"
|
6189 | }
|
6190 | },
|
6191 | {
|
6192 | "name": "disabled",
|
6193 | "default": "false",
|
6194 | "description": "Disable radio",
|
6195 | "value": {
|
6196 | "type": "boolean",
|
6197 | "kind": "expression"
|
6198 | }
|
6199 | },
|
6200 | {
|
6201 | "name": "value",
|
6202 | "default": "-",
|
6203 | "description": "According to value for comparison, to determine whether the selected",
|
6204 | "value": {
|
6205 | "type": "any",
|
6206 | "kind": "expression"
|
6207 | }
|
6208 | }
|
6209 | ]
|
6210 | },
|
6211 | {
|
6212 | "name": "a-radio-group",
|
6213 | "slots": [],
|
6214 | "events": [],
|
6215 | "attributes": [
|
6216 | {
|
6217 | "name": "buttonStyle",
|
6218 | "default": "`outline`",
|
6219 | "description": "style type of radio button",
|
6220 | "value": {
|
6221 | "type": "`outline` | `solid`",
|
6222 | "kind": "expression"
|
6223 | }
|
6224 | },
|
6225 | {
|
6226 | "name": "disabled",
|
6227 | "default": "false",
|
6228 | "description": "Disable all radio buttons",
|
6229 | "value": {
|
6230 | "type": "boolean",
|
6231 | "kind": "expression"
|
6232 | }
|
6233 | },
|
6234 | {
|
6235 | "name": "name",
|
6236 | "default": "-",
|
6237 | "description": "The `name` property of all `input[type=\"radio\"]` children",
|
6238 | "value": {
|
6239 | "type": "string",
|
6240 | "kind": "expression"
|
6241 | }
|
6242 | },
|
6243 | {
|
6244 | "name": "options",
|
6245 | "default": "Array<{ label: string value: string disabled?: boolean }>",
|
6246 | "description": "set children optional",
|
6247 | "value": {
|
6248 | "type": "string[] | number[] \\",
|
6249 | "kind": "expression"
|
6250 | }
|
6251 | },
|
6252 | {
|
6253 | "name": "optionType",
|
6254 | "default": "`default`",
|
6255 | "description": "Set Radio optionType",
|
6256 | "value": {
|
6257 | "type": "`default` | `button`",
|
6258 | "kind": "expression"
|
6259 | }
|
6260 | },
|
6261 | {
|
6262 | "name": "size",
|
6263 | "default": "`small`",
|
6264 | "description": "size for radio button style",
|
6265 | "value": {
|
6266 | "type": "`large` | `default` ",
|
6267 | "kind": "expression"
|
6268 | }
|
6269 | },
|
6270 | {
|
6271 | "name": "value(v-model)",
|
6272 | "default": "-",
|
6273 | "description": "Used for setting the currently selected value.",
|
6274 | "value": {
|
6275 | "type": "any",
|
6276 | "kind": "expression"
|
6277 | }
|
6278 | }
|
6279 | ]
|
6280 | },
|
6281 | {
|
6282 | "name": "a-radio-group",
|
6283 | "slots": [],
|
6284 | "events": [],
|
6285 | "attributes": [
|
6286 | {
|
6287 | "name": "change",
|
6288 | "description": "The callback function that is triggered when the state changes.",
|
6289 | "value": {
|
6290 | "type": "Function(e:Event)",
|
6291 | "kind": "expression"
|
6292 | }
|
6293 | }
|
6294 | ]
|
6295 | },
|
6296 | {
|
6297 | "name": "a-radio",
|
6298 | "slots": [],
|
6299 | "events": [],
|
6300 | "attributes": [
|
6301 | {
|
6302 | "name": "blur()",
|
6303 | "description": "remove focus",
|
6304 | "value": {
|
6305 | "type": "",
|
6306 | "kind": "expression"
|
6307 | }
|
6308 | },
|
6309 | {
|
6310 | "name": "focus()",
|
6311 | "description": "get focus",
|
6312 | "value": {
|
6313 | "type": "",
|
6314 | "kind": "expression"
|
6315 | }
|
6316 | }
|
6317 | ]
|
6318 | },
|
6319 | {
|
6320 | "name": "a-rate",
|
6321 | "slots": [
|
6322 | {
|
6323 | "name": "character",
|
6324 | "description": "custom character of rate"
|
6325 | }
|
6326 | ],
|
6327 | "events": [
|
6328 | {
|
6329 | "name": "blur",
|
6330 | "description": "callback when component lose focus"
|
6331 | },
|
6332 | {
|
6333 | "name": "change",
|
6334 | "description": "callback when select value"
|
6335 | },
|
6336 | {
|
6337 | "name": "focus",
|
6338 | "description": "callback when component get focus"
|
6339 | },
|
6340 | {
|
6341 | "name": "hoverChange",
|
6342 | "description": "callback when hover item"
|
6343 | },
|
6344 | {
|
6345 | "name": "keydown",
|
6346 | "description": "callback when keydown on component"
|
6347 | }
|
6348 | ],
|
6349 | "attributes": [
|
6350 | {
|
6351 | "name": "allowClear",
|
6352 | "default": "true",
|
6353 | "description": "whether to allow clear when click again",
|
6354 | "value": {
|
6355 | "type": "boolean",
|
6356 | "kind": "expression"
|
6357 | }
|
6358 | },
|
6359 | {
|
6360 | "name": "allowHalf",
|
6361 | "default": "false",
|
6362 | "description": "whether to allow semi selection",
|
6363 | "value": {
|
6364 | "type": "boolean",
|
6365 | "kind": "expression"
|
6366 | }
|
6367 | },
|
6368 | {
|
6369 | "name": "autofocus",
|
6370 | "default": "false",
|
6371 | "description": "get focus when component mounted",
|
6372 | "value": {
|
6373 | "type": "boolean",
|
6374 | "kind": "expression"
|
6375 | }
|
6376 | },
|
6377 | {
|
6378 | "name": "character",
|
6379 | "default": "`<StarOutlined />`",
|
6380 | "description": "custom character of rate",
|
6381 | "value": {
|
6382 | "type": "String or slot=\"character\"",
|
6383 | "kind": "expression"
|
6384 | }
|
6385 | },
|
6386 | {
|
6387 | "name": "count",
|
6388 | "default": "5",
|
6389 | "description": "star count",
|
6390 | "value": {
|
6391 | "type": "number",
|
6392 | "kind": "expression"
|
6393 | }
|
6394 | },
|
6395 | {
|
6396 | "name": "disabled",
|
6397 | "default": "false",
|
6398 | "description": "read only, unable to interact",
|
6399 | "value": {
|
6400 | "type": "boolean",
|
6401 | "kind": "expression"
|
6402 | }
|
6403 | },
|
6404 | {
|
6405 | "name": "tooltips",
|
6406 | "default": "-",
|
6407 | "description": "Customize tooltip by each character",
|
6408 | "value": {
|
6409 | "type": "string[]",
|
6410 | "kind": "expression"
|
6411 | }
|
6412 | },
|
6413 | {
|
6414 | "name": "value(v-model)",
|
6415 | "default": "-",
|
6416 | "description": "current value",
|
6417 | "value": {
|
6418 | "type": "number",
|
6419 | "kind": "expression"
|
6420 | }
|
6421 | }
|
6422 | ]
|
6423 | },
|
6424 | {
|
6425 | "name": "a-result",
|
6426 | "slots": [],
|
6427 | "events": [],
|
6428 | "attributes": [
|
6429 | {
|
6430 | "name": "extra",
|
6431 | "default": "-",
|
6432 | "description": "operating area",
|
6433 | "value": {
|
6434 | "type": "#extra",
|
6435 | "kind": "expression"
|
6436 | }
|
6437 | },
|
6438 | {
|
6439 | "name": "icon",
|
6440 | "default": "-",
|
6441 | "description": "custom back icon",
|
6442 | "value": {
|
6443 | "type": "#icon",
|
6444 | "kind": "expression"
|
6445 | }
|
6446 | },
|
6447 | {
|
6448 | "name": "status",
|
6449 | "default": "'error'",
|
6450 | "description": "result status,decide icons and colors",
|
6451 | "value": {
|
6452 | "type": "`'success'",
|
6453 | "kind": "expression"
|
6454 | }
|
6455 | },
|
6456 | {
|
6457 | "name": "subTitle",
|
6458 | "default": "#subTitle",
|
6459 | "description": "subTitle string",
|
6460 | "value": {
|
6461 | "type": "string | VNode ",
|
6462 | "kind": "expression"
|
6463 | }
|
6464 | },
|
6465 | {
|
6466 | "name": "title",
|
6467 | "default": "#title",
|
6468 | "description": "title string",
|
6469 | "value": {
|
6470 | "type": "string | VNode ",
|
6471 | "kind": "expression"
|
6472 | }
|
6473 | }
|
6474 | ]
|
6475 | },
|
6476 | {
|
6477 | "name": "a-select",
|
6478 | "slots": [],
|
6479 | "events": [
|
6480 | {
|
6481 | "name": "blur",
|
6482 | "description": "Called when blur"
|
6483 | },
|
6484 | {
|
6485 | "name": "change",
|
6486 | "description": "Called when select an option or input value change, or value of input is changed in combobox mode"
|
6487 | },
|
6488 | {
|
6489 | "name": "deselect",
|
6490 | "description": "Called when a option is deselected, the params are option's value (or key) . only called for multiple or tags, effective in multiple or tags mode only."
|
6491 | },
|
6492 | {
|
6493 | "name": "dropdownVisibleChange",
|
6494 | "description": "Call when dropdown open"
|
6495 | },
|
6496 | {
|
6497 | "name": "focus",
|
6498 | "description": "Called when focus"
|
6499 | },
|
6500 | {
|
6501 | "name": "inputKeyDown",
|
6502 | "description": "Called when key pressed"
|
6503 | },
|
6504 | {
|
6505 | "name": "mouseenter",
|
6506 | "description": "Called when mouse enter"
|
6507 | },
|
6508 | {
|
6509 | "name": "mouseleave",
|
6510 | "description": "Called when mouse leave"
|
6511 | },
|
6512 | {
|
6513 | "name": "popupScroll",
|
6514 | "description": "Called when dropdown scrolls"
|
6515 | },
|
6516 | {
|
6517 | "name": "search",
|
6518 | "description": "Callback function that is fired when input changed."
|
6519 | },
|
6520 | {
|
6521 | "name": "select",
|
6522 | "description": "Called when a option is selected, the params are option's value (or key) and option instance."
|
6523 | }
|
6524 | ],
|
6525 | "attributes": []
|
6526 | },
|
6527 | {
|
6528 | "name": "a-select",
|
6529 | "slots": [
|
6530 | {
|
6531 | "name": "clearIcon",
|
6532 | "description": "The custom clear icon"
|
6533 | },
|
6534 | {
|
6535 | "name": "dropdownRender",
|
6536 | "description": "Customize dropdown content"
|
6537 | },
|
6538 | {
|
6539 | "name": "maxTagPlaceholder",
|
6540 | "description": "Placeholder for not showing tags"
|
6541 | },
|
6542 | {
|
6543 | "name": "menuItemSelectedIcon",
|
6544 | "description": "The custom menuItemSelected icon"
|
6545 | },
|
6546 | {
|
6547 | "name": "notFoundContent",
|
6548 | "description": "Specify content to show when no result matches.."
|
6549 | },
|
6550 | {
|
6551 | "name": "option",
|
6552 | "description": "custom render option by slot"
|
6553 | },
|
6554 | {
|
6555 | "name": "placeholder",
|
6556 | "description": "Placeholder of select"
|
6557 | },
|
6558 | {
|
6559 | "name": "removeIcon",
|
6560 | "description": "The custom remove icon"
|
6561 | },
|
6562 | {
|
6563 | "name": "suffixIcon",
|
6564 | "description": "The custom suffix icon"
|
6565 | },
|
6566 | {
|
6567 | "name": "tagRender",
|
6568 | "description": "Customize tag render, only applies when `mode` is set to `multiple` or `tags`"
|
6569 | }
|
6570 | ],
|
6571 | "events": [],
|
6572 | "attributes": [
|
6573 | {
|
6574 | "name": "allowClear",
|
6575 | "default": "false",
|
6576 | "description": "Show clear button.",
|
6577 | "value": {
|
6578 | "type": "boolean",
|
6579 | "kind": "expression"
|
6580 | }
|
6581 | },
|
6582 | {
|
6583 | "name": "autoClearSearchValue",
|
6584 | "default": "true",
|
6585 | "description": "Whether the current search will be cleared on selecting an item. Only applies when `mode` is set to `multiple` or `tags`.",
|
6586 | "value": {
|
6587 | "type": "boolean",
|
6588 | "kind": "expression"
|
6589 | }
|
6590 | },
|
6591 | {
|
6592 | "name": "autofocus",
|
6593 | "default": "false",
|
6594 | "description": "Get focus by default",
|
6595 | "value": {
|
6596 | "type": "boolean",
|
6597 | "kind": "expression"
|
6598 | }
|
6599 | },
|
6600 | {
|
6601 | "name": "bordered",
|
6602 | "default": "true",
|
6603 | "description": "Whether has border style",
|
6604 | "value": {
|
6605 | "type": "boolean",
|
6606 | "kind": "expression"
|
6607 | }
|
6608 | },
|
6609 | {
|
6610 | "name": "clearIcon",
|
6611 | "default": "-",
|
6612 | "description": "The custom clear icon",
|
6613 | "value": {
|
6614 | "type": "VNode | slot",
|
6615 | "kind": "expression"
|
6616 | }
|
6617 | },
|
6618 | {
|
6619 | "name": "defaultActiveFirstOption",
|
6620 | "default": "true",
|
6621 | "description": "Whether active first option by default",
|
6622 | "value": {
|
6623 | "type": "boolean",
|
6624 | "kind": "expression"
|
6625 | }
|
6626 | },
|
6627 | {
|
6628 | "name": "defaultOpen",
|
6629 | "default": "-",
|
6630 | "description": "Initial open state of dropdown",
|
6631 | "value": {
|
6632 | "type": "boolean",
|
6633 | "kind": "expression"
|
6634 | }
|
6635 | },
|
6636 | {
|
6637 | "name": "disabled",
|
6638 | "default": "false",
|
6639 | "description": "Whether disabled select",
|
6640 | "value": {
|
6641 | "type": "boolean",
|
6642 | "kind": "expression"
|
6643 | }
|
6644 | },
|
6645 | {
|
6646 | "name": "dropdownClassName",
|
6647 | "default": "-",
|
6648 | "description": "className of dropdown menu",
|
6649 | "value": {
|
6650 | "type": "string",
|
6651 | "kind": "expression"
|
6652 | }
|
6653 | },
|
6654 | {
|
6655 | "name": "dropdownMatchSelectWidth",
|
6656 | "default": "true",
|
6657 | "description": "Determine whether the dropdown menu and the select input are the same width. Default set `min-width` same as input. Will ignore when value less than select width. `false` will disable virtual scroll",
|
6658 | "value": {
|
6659 | "type": "boolean | number",
|
6660 | "kind": "expression"
|
6661 | }
|
6662 | },
|
6663 | {
|
6664 | "name": "dropdownMenuStyle",
|
6665 | "default": "-",
|
6666 | "description": "additional style applied to dropdown menu",
|
6667 | "value": {
|
6668 | "type": "object",
|
6669 | "kind": "expression"
|
6670 | }
|
6671 | },
|
6672 | {
|
6673 | "name": "dropdownRender",
|
6674 | "default": "-",
|
6675 | "description": "Customize dropdown content",
|
6676 | "value": {
|
6677 | "type": "({menuNode: VNode, props}) => VNode | v-slot",
|
6678 | "kind": "expression"
|
6679 | }
|
6680 | },
|
6681 | {
|
6682 | "name": "dropdownStyle",
|
6683 | "default": "-",
|
6684 | "description": "style of dropdown menu",
|
6685 | "value": {
|
6686 | "type": "object",
|
6687 | "kind": "expression"
|
6688 | }
|
6689 | },
|
6690 | {
|
6691 | "name": "fieldNames",
|
6692 | "default": "{ label: `label`, value: `value`, options: `options` }",
|
6693 | "description": "Customize node label, value, options field name",
|
6694 | "value": {
|
6695 | "type": "object",
|
6696 | "kind": "expression"
|
6697 | }
|
6698 | },
|
6699 | {
|
6700 | "name": "filterOption",
|
6701 | "default": "true",
|
6702 | "description": "If true, filter options by input, if function, filter options against it. The function will receive two arguments, `inputValue` and `option`, if the function returns `true`, the option will be included in the filtered set; Otherwise, it will be excluded.",
|
6703 | "value": {
|
6704 | "type": "boolean or function(inputValue, option)",
|
6705 | "kind": "expression"
|
6706 | }
|
6707 | },
|
6708 | {
|
6709 | "name": "filterSort",
|
6710 | "default": "-",
|
6711 | "description": "Sort function for search options sorting, see [Array.sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)'s compareFunction",
|
6712 | "value": {
|
6713 | "type": "(optionA: Option, optionB: Option) => number",
|
6714 | "kind": "expression"
|
6715 | }
|
6716 | },
|
6717 | {
|
6718 | "name": "firstActiveValue",
|
6719 | "default": "-",
|
6720 | "description": "Value of action option by default",
|
6721 | "value": {
|
6722 | "type": "string|string[]",
|
6723 | "kind": "expression"
|
6724 | }
|
6725 | },
|
6726 | {
|
6727 | "name": "getPopupContainer",
|
6728 | "default": "() => document.body",
|
6729 | "description": "Parent Node which the selector should be rendered to. Default to `body`. When position issues happen, try to modify it into scrollable content and position it relative.",
|
6730 | "value": {
|
6731 | "type": "function(triggerNode)",
|
6732 | "kind": "expression"
|
6733 | }
|
6734 | },
|
6735 | {
|
6736 | "name": "labelInValue",
|
6737 | "default": "false",
|
6738 | "description": "whether to embed label in value, turn the format of value from `string` to `{key: string, label: vNodes}`",
|
6739 | "value": {
|
6740 | "type": "boolean",
|
6741 | "kind": "expression"
|
6742 | }
|
6743 | },
|
6744 | {
|
6745 | "name": "listHeight",
|
6746 | "default": "256",
|
6747 | "description": "Config popup height",
|
6748 | "value": {
|
6749 | "type": "number",
|
6750 | "kind": "expression"
|
6751 | }
|
6752 | },
|
6753 | {
|
6754 | "name": "loading",
|
6755 | "default": "false",
|
6756 | "description": "indicate loading state",
|
6757 | "value": {
|
6758 | "type": "Boolean",
|
6759 | "kind": "expression"
|
6760 | }
|
6761 | },
|
6762 | {
|
6763 | "name": "maxTagCount",
|
6764 | "default": "-",
|
6765 | "description": "Max tag count to show",
|
6766 | "value": {
|
6767 | "type": "number",
|
6768 | "kind": "expression"
|
6769 | }
|
6770 | },
|
6771 | {
|
6772 | "name": "maxTagPlaceholder",
|
6773 | "default": "-",
|
6774 | "description": "Placeholder for not showing tags",
|
6775 | "value": {
|
6776 | "type": "slot/function(omittedValues)",
|
6777 | "kind": "expression"
|
6778 | }
|
6779 | },
|
6780 | {
|
6781 | "name": "maxTagTextLength",
|
6782 | "default": "-",
|
6783 | "description": "Max text length to show",
|
6784 | "value": {
|
6785 | "type": "number",
|
6786 | "kind": "expression"
|
6787 | }
|
6788 | },
|
6789 | {
|
6790 | "name": "menuItemSelectedIcon",
|
6791 | "default": "-",
|
6792 | "description": "The custom menuItemSelected icon",
|
6793 | "value": {
|
6794 | "type": "VNode | slot",
|
6795 | "kind": "expression"
|
6796 | }
|
6797 | },
|
6798 | {
|
6799 | "name": "mode",
|
6800 | "default": "-",
|
6801 | "description": "Set mode of Select",
|
6802 | "value": {
|
6803 | "type": "'multiple' | 'tags'",
|
6804 | "kind": "expression"
|
6805 | }
|
6806 | },
|
6807 | {
|
6808 | "name": "notFoundContent",
|
6809 | "default": "'Not Found'",
|
6810 | "description": "Specify content to show when no result matches..",
|
6811 | "value": {
|
6812 | "type": "string|slot",
|
6813 | "kind": "expression"
|
6814 | }
|
6815 | },
|
6816 | {
|
6817 | "name": "open",
|
6818 | "default": "-",
|
6819 | "description": "Controlled open state of dropdown",
|
6820 | "value": {
|
6821 | "type": "boolean",
|
6822 | "kind": "expression"
|
6823 | }
|
6824 | },
|
6825 | {
|
6826 | "name": "option",
|
6827 | "default": "-",
|
6828 | "description": "custom render option by slot",
|
6829 | "value": {
|
6830 | "type": "v-slot:option=\"{value, label, [disabled, key, title]}\"",
|
6831 | "kind": "expression"
|
6832 | }
|
6833 | },
|
6834 | {
|
6835 | "name": "optionFilterProp",
|
6836 | "default": "value",
|
6837 | "description": "Which prop value of option will be used for filter if filterOption is true",
|
6838 | "value": {
|
6839 | "type": "string",
|
6840 | "kind": "expression"
|
6841 | }
|
6842 | },
|
6843 | {
|
6844 | "name": "optionLabelProp",
|
6845 | "default": "`children` | `label`(when use options)",
|
6846 | "description": "Which prop value of option will render as content of select.",
|
6847 | "value": {
|
6848 | "type": "string",
|
6849 | "kind": "expression"
|
6850 | }
|
6851 | },
|
6852 | {
|
6853 | "name": "options",
|
6854 | "default": "\\[]",
|
6855 | "description": "Data of the selectOption, manual construction work is no longer needed if this property has been set",
|
6856 | "value": {
|
6857 | "type": "array<{value, label, [disabled, key, title]}>",
|
6858 | "kind": "expression"
|
6859 | }
|
6860 | },
|
6861 | {
|
6862 | "name": "placeholder",
|
6863 | "default": "-",
|
6864 | "description": "Placeholder of select",
|
6865 | "value": {
|
6866 | "type": "string|slot",
|
6867 | "kind": "expression"
|
6868 | }
|
6869 | },
|
6870 | {
|
6871 | "name": "removeIcon",
|
6872 | "default": "-",
|
6873 | "description": "The custom remove icon",
|
6874 | "value": {
|
6875 | "type": "VNode | slot",
|
6876 | "kind": "expression"
|
6877 | }
|
6878 | },
|
6879 | {
|
6880 | "name": "searchValue",
|
6881 | "default": "-",
|
6882 | "description": "The current input \"search\" text",
|
6883 | "value": {
|
6884 | "type": "string",
|
6885 | "kind": "expression"
|
6886 | }
|
6887 | },
|
6888 | {
|
6889 | "name": "showArrow",
|
6890 | "default": "true",
|
6891 | "description": "Whether to show the drop-down arrow",
|
6892 | "value": {
|
6893 | "type": "boolean",
|
6894 | "kind": "expression"
|
6895 | }
|
6896 | },
|
6897 | {
|
6898 | "name": "showSearch",
|
6899 | "default": "false",
|
6900 | "description": "Whether show search input in single mode.",
|
6901 | "value": {
|
6902 | "type": "boolean",
|
6903 | "kind": "expression"
|
6904 | }
|
6905 | },
|
6906 | {
|
6907 | "name": "size",
|
6908 | "default": "default",
|
6909 | "description": "Size of Select input. `default` `large` `small`",
|
6910 | "value": {
|
6911 | "type": "string",
|
6912 | "kind": "expression"
|
6913 | }
|
6914 | },
|
6915 | {
|
6916 | "name": "suffixIcon",
|
6917 | "default": "-",
|
6918 | "description": "The custom suffix icon",
|
6919 | "value": {
|
6920 | "type": "VNode | slot",
|
6921 | "kind": "expression"
|
6922 | }
|
6923 | },
|
6924 | {
|
6925 | "name": "tagRender",
|
6926 | "default": "-",
|
6927 | "description": "Customize tag render, only applies when `mode` is set to `multiple` or `tags`",
|
6928 | "value": {
|
6929 | "type": "slot | (props) => any",
|
6930 | "kind": "expression"
|
6931 | }
|
6932 | },
|
6933 | {
|
6934 | "name": "tokenSeparators",
|
6935 | "default": "",
|
6936 | "description": "Separator used to tokenize on tag/multiple mode",
|
6937 | "value": {
|
6938 | "type": "string[]",
|
6939 | "kind": "expression"
|
6940 | }
|
6941 | },
|
6942 | {
|
6943 | "name": "value(v-model)",
|
6944 | "default": "string\\[]\\",
|
6945 | "description": "Current selected option.",
|
6946 | "value": {
|
6947 | "type": "string|number",
|
6948 | "kind": "expression"
|
6949 | }
|
6950 | },
|
6951 | {
|
6952 | "name": "virtual",
|
6953 | "default": "true",
|
6954 | "description": "Disable virtual scroll when set to false",
|
6955 | "value": {
|
6956 | "type": "boolean",
|
6957 | "kind": "expression"
|
6958 | }
|
6959 | }
|
6960 | ]
|
6961 | },
|
6962 | {
|
6963 | "name": "a-select",
|
6964 | "slots": [],
|
6965 | "events": [],
|
6966 | "attributes": [
|
6967 | {
|
6968 | "name": "blur()",
|
6969 | "description": "Remove focus",
|
6970 | "value": {
|
6971 | "type": "",
|
6972 | "kind": "expression"
|
6973 | }
|
6974 | },
|
6975 | {
|
6976 | "name": "focus()",
|
6977 | "description": "Get focus",
|
6978 | "value": {
|
6979 | "type": "",
|
6980 | "kind": "expression"
|
6981 | }
|
6982 | }
|
6983 | ]
|
6984 | },
|
6985 | {
|
6986 | "name": "a-skeleton",
|
6987 | "slots": [],
|
6988 | "events": [],
|
6989 | "attributes": []
|
6990 | },
|
6991 | {
|
6992 | "name": "a-skeleton",
|
6993 | "slots": [],
|
6994 | "events": [],
|
6995 | "attributes": [
|
6996 | {
|
6997 | "name": "active",
|
6998 | "default": "false",
|
6999 | "description": "Show animation effect",
|
7000 | "value": {
|
7001 | "type": "boolean",
|
7002 | "kind": "expression"
|
7003 | }
|
7004 | },
|
7005 | {
|
7006 | "name": "avatar",
|
7007 | "default": "false",
|
7008 | "description": "Show avatar placeholder",
|
7009 | "value": {
|
7010 | "type": "boolean | [SkeletonAvatarProps](#SkeletonAvatarProps)",
|
7011 | "kind": "expression"
|
7012 | }
|
7013 | },
|
7014 | {
|
7015 | "name": "loading",
|
7016 | "default": "-",
|
7017 | "description": "Display the skeleton when `true`",
|
7018 | "value": {
|
7019 | "type": "boolean",
|
7020 | "kind": "expression"
|
7021 | }
|
7022 | },
|
7023 | {
|
7024 | "name": "paragraph",
|
7025 | "default": "true",
|
7026 | "description": "Show paragraph placeholder",
|
7027 | "value": {
|
7028 | "type": "boolean | [SkeletonParagraphProps](#SkeletonParagraphProps)",
|
7029 | "kind": "expression"
|
7030 | }
|
7031 | },
|
7032 | {
|
7033 | "name": "title",
|
7034 | "default": "true",
|
7035 | "description": "Show title placeholder",
|
7036 | "value": {
|
7037 | "type": "boolean | [SkeletonTitleProps](#SkeletonTitleProps)",
|
7038 | "kind": "expression"
|
7039 | }
|
7040 | }
|
7041 | ]
|
7042 | },
|
7043 | {
|
7044 | "name": "a-skeleton-avatar-props",
|
7045 | "slots": [],
|
7046 | "events": [],
|
7047 | "attributes": [
|
7048 | {
|
7049 | "name": "shape",
|
7050 | "default": "-",
|
7051 | "description": "Set the shape of avatar",
|
7052 | "value": {
|
7053 | "type": "`circle` | `square`",
|
7054 | "kind": "expression"
|
7055 | }
|
7056 | },
|
7057 | {
|
7058 | "name": "size",
|
7059 | "default": "`small` \\",
|
7060 | "description": "Set the size of avatar",
|
7061 | "value": {
|
7062 | "type": "number | `large` ",
|
7063 | "kind": "expression"
|
7064 | }
|
7065 | }
|
7066 | ]
|
7067 | },
|
7068 | {
|
7069 | "name": "a-skeleton-title-props",
|
7070 | "slots": [],
|
7071 | "events": [],
|
7072 | "attributes": [
|
7073 | {
|
7074 | "name": "width",
|
7075 | "default": "-",
|
7076 | "description": "Set the width of title",
|
7077 | "value": {
|
7078 | "type": "number | string",
|
7079 | "kind": "expression"
|
7080 | }
|
7081 | }
|
7082 | ]
|
7083 | },
|
7084 | {
|
7085 | "name": "a-skeleton-paragraph-props",
|
7086 | "slots": [],
|
7087 | "events": [],
|
7088 | "attributes": [
|
7089 | {
|
7090 | "name": "rows",
|
7091 | "default": "-",
|
7092 | "description": "Set the row count of paragraph",
|
7093 | "value": {
|
7094 | "type": "number",
|
7095 | "kind": "expression"
|
7096 | }
|
7097 | },
|
7098 | {
|
7099 | "name": "width",
|
7100 | "default": "Array<number \\",
|
7101 | "description": "Set the width of paragraph. When width is an Array, it can set the width of each row. Otherwise only set the last row width",
|
7102 | "value": {
|
7103 | "type": "number | string ",
|
7104 | "kind": "expression"
|
7105 | }
|
7106 | }
|
7107 | ]
|
7108 | },
|
7109 | {
|
7110 | "name": "a-skeleton-button-props",
|
7111 | "slots": [],
|
7112 | "events": [],
|
7113 | "attributes": [
|
7114 | {
|
7115 | "name": "active",
|
7116 | "default": "false",
|
7117 | "description": "Show animation effect",
|
7118 | "value": {
|
7119 | "type": "boolean",
|
7120 | "kind": "expression"
|
7121 | }
|
7122 | },
|
7123 | {
|
7124 | "name": "block",
|
7125 | "default": "false",
|
7126 | "description": "Option to fit button width to its parent width",
|
7127 | "value": {
|
7128 | "type": "boolean",
|
7129 | "kind": "expression"
|
7130 | }
|
7131 | },
|
7132 | {
|
7133 | "name": "shape",
|
7134 | "default": "`default`",
|
7135 | "description": "Set the shape of button",
|
7136 | "value": {
|
7137 | "type": "`circle` | `round` ",
|
7138 | "kind": "expression"
|
7139 | }
|
7140 | },
|
7141 | {
|
7142 | "name": "size",
|
7143 | "default": "`default`",
|
7144 | "description": "Set the size of button",
|
7145 | "value": {
|
7146 | "type": "`large` | `small` ",
|
7147 | "kind": "expression"
|
7148 | }
|
7149 | }
|
7150 | ]
|
7151 | },
|
7152 | {
|
7153 | "name": "a-skeleton-input-props",
|
7154 | "slots": [],
|
7155 | "events": [],
|
7156 | "attributes": [
|
7157 | {
|
7158 | "name": "active",
|
7159 | "default": "false",
|
7160 | "description": "Show animation effect",
|
7161 | "value": {
|
7162 | "type": "boolean",
|
7163 | "kind": "expression"
|
7164 | }
|
7165 | },
|
7166 | {
|
7167 | "name": "size",
|
7168 | "default": "`default`",
|
7169 | "description": "Set the size of input",
|
7170 | "value": {
|
7171 | "type": "`large` | `small` ",
|
7172 | "kind": "expression"
|
7173 | }
|
7174 | }
|
7175 | ]
|
7176 | },
|
7177 | {
|
7178 | "name": "a-slider",
|
7179 | "slots": [
|
7180 | {
|
7181 | "name": "mark",
|
7182 | "description": "Custom tick mark of Slider,"
|
7183 | }
|
7184 | ],
|
7185 | "events": [
|
7186 | {
|
7187 | "name": "change",
|
7188 | "description": "Callback function that is fired when the user changes the slider's value."
|
7189 | },
|
7190 | {
|
7191 | "name": "afterChange",
|
7192 | "description": "Fire when `mouseup` is fired."
|
7193 | }
|
7194 | ],
|
7195 | "attributes": [
|
7196 | {
|
7197 | "name": "autofocus",
|
7198 | "default": "false",
|
7199 | "description": "get focus when component mounted",
|
7200 | "value": {
|
7201 | "type": "boolean",
|
7202 | "kind": "expression"
|
7203 | }
|
7204 | },
|
7205 | {
|
7206 | "name": "disabled",
|
7207 | "default": "false",
|
7208 | "description": "If true, the slider will not be interactable.",
|
7209 | "value": {
|
7210 | "type": "boolean",
|
7211 | "kind": "expression"
|
7212 | }
|
7213 | },
|
7214 | {
|
7215 | "name": "dots",
|
7216 | "default": "false",
|
7217 | "description": "Whether the thumb can drag over tick only.",
|
7218 | "value": {
|
7219 | "type": "boolean",
|
7220 | "kind": "expression"
|
7221 | }
|
7222 | },
|
7223 | {
|
7224 | "name": "getTooltipPopupContainer",
|
7225 | "default": "() => document.body",
|
7226 | "description": "The DOM container of the Tooltip, the default behavior is to create a div element in body.",
|
7227 | "value": {
|
7228 | "type": "Function",
|
7229 | "kind": "expression"
|
7230 | }
|
7231 | },
|
7232 | {
|
7233 | "name": "handleStyle",
|
7234 | "default": "-",
|
7235 | "description": "The style of slider handle",
|
7236 | "value": {
|
7237 | "type": "CSSProperties",
|
7238 | "kind": "expression"
|
7239 | }
|
7240 | },
|
7241 | {
|
7242 | "name": "included",
|
7243 | "default": "true",
|
7244 | "description": "Make effect when `marks` not null,`true` means containment and `false` means coordinative",
|
7245 | "value": {
|
7246 | "type": "boolean",
|
7247 | "kind": "expression"
|
7248 | }
|
7249 | },
|
7250 | {
|
7251 | "name": "mark",
|
7252 | "default": "{ point: number, label: any }",
|
7253 | "description": "Custom tick mark of Slider,",
|
7254 | "value": {
|
7255 | "type": "v-slot:mark",
|
7256 | "kind": "expression"
|
7257 | }
|
7258 | },
|
7259 | {
|
7260 | "name": "marks",
|
7261 | "default": "{ number: string|VNode } or { number: { style: object, label: string\\",
|
7262 | "description": "Tick mark of Slider, type of key must be `number`, and must in closed interval \\[min, max], each mark can declare its own style.",
|
7263 | "value": {
|
7264 | "type": "object",
|
7265 | "kind": "expression"
|
7266 | }
|
7267 | },
|
7268 | {
|
7269 | "name": "max",
|
7270 | "default": "100",
|
7271 | "description": "The maximum value the slider can slide to",
|
7272 | "value": {
|
7273 | "type": "number",
|
7274 | "kind": "expression"
|
7275 | }
|
7276 | },
|
7277 | {
|
7278 | "name": "min",
|
7279 | "default": "0",
|
7280 | "description": "The minimum value the slider can slide to.",
|
7281 | "value": {
|
7282 | "type": "number",
|
7283 | "kind": "expression"
|
7284 | }
|
7285 | },
|
7286 | {
|
7287 | "name": "range",
|
7288 | "default": "false",
|
7289 | "description": "dual thumb mode",
|
7290 | "value": {
|
7291 | "type": "boolean",
|
7292 | "kind": "expression"
|
7293 | }
|
7294 | },
|
7295 | {
|
7296 | "name": "reverse",
|
7297 | "default": "false",
|
7298 | "description": "reverse the component",
|
7299 | "value": {
|
7300 | "type": "boolean",
|
7301 | "kind": "expression"
|
7302 | }
|
7303 | },
|
7304 | {
|
7305 | "name": "step",
|
7306 | "default": "1",
|
7307 | "description": "The granularity the slider can step through values. Must greater than 0, and be divided by (max - min) . When `marks` no null, `step` can be `null`.",
|
7308 | "value": {
|
7309 | "type": "number|null",
|
7310 | "kind": "expression"
|
7311 | }
|
7312 | },
|
7313 | {
|
7314 | "name": "tipFormatter",
|
7315 | "default": "IDENTITY",
|
7316 | "description": "Slider will pass its value to `tipFormatter`, and display its value in Tooltip, and hide Tooltip when return value is null.",
|
7317 | "value": {
|
7318 | "type": "Function|null",
|
7319 | "kind": "expression"
|
7320 | }
|
7321 | },
|
7322 | {
|
7323 | "name": "tooltipPlacement",
|
7324 | "default": "",
|
7325 | "description": "Set Tooltip display position. Ref [`Tooltip`](/components/tooltip/).",
|
7326 | "value": {
|
7327 | "type": "string",
|
7328 | "kind": "expression"
|
7329 | }
|
7330 | },
|
7331 | {
|
7332 | "name": "tooltipVisible",
|
7333 | "default": "",
|
7334 | "description": "If true, Tooltip will show always, or it will not show anyway, even if dragging or hovering.",
|
7335 | "value": {
|
7336 | "type": "Boolean",
|
7337 | "kind": "expression"
|
7338 | }
|
7339 | },
|
7340 | {
|
7341 | "name": "trackStyle",
|
7342 | "default": "-",
|
7343 | "description": "The style of slider track",
|
7344 | "value": {
|
7345 | "type": "CSSProperties",
|
7346 | "kind": "expression"
|
7347 | }
|
7348 | },
|
7349 | {
|
7350 | "name": "value(v-model)",
|
7351 | "default": "",
|
7352 | "description": "The value of slider. When `range` is `false`, use `number`, otherwise, use `[number, number]`",
|
7353 | "value": {
|
7354 | "type": "number|number[]",
|
7355 | "kind": "expression"
|
7356 | }
|
7357 | },
|
7358 | {
|
7359 | "name": "vertical",
|
7360 | "default": "false",
|
7361 | "description": "If true, the slider will be vertical.",
|
7362 | "value": {
|
7363 | "type": "Boolean",
|
7364 | "kind": "expression"
|
7365 | }
|
7366 | }
|
7367 | ]
|
7368 | },
|
7369 | {
|
7370 | "name": "a-space",
|
7371 | "slots": [],
|
7372 | "events": [],
|
7373 | "attributes": [
|
7374 | {
|
7375 | "name": "align",
|
7376 | "default": "`center` \\",
|
7377 | "description": "Align items",
|
7378 | "value": {
|
7379 | "type": "`start` | `end` ",
|
7380 | "kind": "expression"
|
7381 | }
|
7382 | },
|
7383 | {
|
7384 | "name": "direction",
|
7385 | "default": "`horizontal`",
|
7386 | "description": "The space direction",
|
7387 | "value": {
|
7388 | "type": "`vertical` | `horizontal`",
|
7389 | "kind": "expression"
|
7390 | }
|
7391 | },
|
7392 | {
|
7393 | "name": "size",
|
7394 | "default": "`large` \\",
|
7395 | "description": "The space size",
|
7396 | "value": {
|
7397 | "type": "`small` | `middle` ",
|
7398 | "kind": "expression"
|
7399 | }
|
7400 | }
|
7401 | ]
|
7402 | },
|
7403 | {
|
7404 | "name": "a-spin",
|
7405 | "slots": [
|
7406 | {
|
7407 | "name": "indicator",
|
7408 | "description": "vue node of the spinning indicator"
|
7409 | },
|
7410 | {
|
7411 | "name": "tip",
|
7412 | "description": "customize description content when Spin has children"
|
7413 | }
|
7414 | ],
|
7415 | "events": [],
|
7416 | "attributes": [
|
7417 | {
|
7418 | "name": "delay",
|
7419 | "default": "-",
|
7420 | "description": "specifies a delay in milliseconds for loading state (prevent flush)",
|
7421 | "value": {
|
7422 | "type": "number (milliseconds)",
|
7423 | "kind": "expression"
|
7424 | }
|
7425 | },
|
7426 | {
|
7427 | "name": "indicator",
|
7428 | "default": "-",
|
7429 | "description": "vue node of the spinning indicator",
|
7430 | "value": {
|
7431 | "type": "vNode |slot",
|
7432 | "kind": "expression"
|
7433 | }
|
7434 | },
|
7435 | {
|
7436 | "name": "size",
|
7437 | "default": "`default`",
|
7438 | "description": "size of Spin, options: `small`, `default` and `large`",
|
7439 | "value": {
|
7440 | "type": "string",
|
7441 | "kind": "expression"
|
7442 | }
|
7443 | },
|
7444 | {
|
7445 | "name": "spinning",
|
7446 | "default": "true",
|
7447 | "description": "whether Spin is spinning",
|
7448 | "value": {
|
7449 | "type": "boolean",
|
7450 | "kind": "expression"
|
7451 | }
|
7452 | },
|
7453 | {
|
7454 | "name": "tip",
|
7455 | "default": "-",
|
7456 | "description": "customize description content when Spin has children",
|
7457 | "value": {
|
7458 | "type": "string | slot",
|
7459 | "kind": "expression"
|
7460 | }
|
7461 | },
|
7462 | {
|
7463 | "name": "wrapperClassName",
|
7464 | "default": "-",
|
7465 | "description": "className of wrapper when Spin has children",
|
7466 | "value": {
|
7467 | "type": "string",
|
7468 | "kind": "expression"
|
7469 | }
|
7470 | }
|
7471 | ]
|
7472 | },
|
7473 | {
|
7474 | "name": "a-statistic",
|
7475 | "slots": [],
|
7476 | "events": [],
|
7477 | "attributes": []
|
7478 | },
|
7479 | {
|
7480 | "name": "a-statistic",
|
7481 | "slots": [
|
7482 | {
|
7483 | "name": "formatter",
|
7484 | "description": "customize value display logic"
|
7485 | },
|
7486 | {
|
7487 | "name": "prefix",
|
7488 | "description": "prefix node of value"
|
7489 | },
|
7490 | {
|
7491 | "name": "suffix",
|
7492 | "description": "suffix node of value"
|
7493 | },
|
7494 | {
|
7495 | "name": "title",
|
7496 | "description": "Display title"
|
7497 | }
|
7498 | ],
|
7499 | "events": [],
|
7500 | "attributes": [
|
7501 | {
|
7502 | "name": "decimalSeparator",
|
7503 | "default": ".",
|
7504 | "description": "decimal separator",
|
7505 | "value": {
|
7506 | "type": "string",
|
7507 | "kind": "expression"
|
7508 | }
|
7509 | },
|
7510 | {
|
7511 | "name": "formatter",
|
7512 | "default": "-",
|
7513 | "description": "customize value display logic",
|
7514 | "value": {
|
7515 | "type": "v-slot |({value}) => VNode",
|
7516 | "kind": "expression"
|
7517 | }
|
7518 | },
|
7519 | {
|
7520 | "name": "groupSeparator",
|
7521 | "default": ",",
|
7522 | "description": "group separator",
|
7523 | "value": {
|
7524 | "type": "string",
|
7525 | "kind": "expression"
|
7526 | }
|
7527 | },
|
7528 | {
|
7529 | "name": "precision",
|
7530 | "default": "-",
|
7531 | "description": "precision of input value",
|
7532 | "value": {
|
7533 | "type": "number",
|
7534 | "kind": "expression"
|
7535 | }
|
7536 | },
|
7537 | {
|
7538 | "name": "prefix",
|
7539 | "default": "-",
|
7540 | "description": "prefix node of value",
|
7541 | "value": {
|
7542 | "type": "string | v-slot",
|
7543 | "kind": "expression"
|
7544 | }
|
7545 | },
|
7546 | {
|
7547 | "name": "suffix",
|
7548 | "default": "-",
|
7549 | "description": "suffix node of value",
|
7550 | "value": {
|
7551 | "type": "string | v-slot",
|
7552 | "kind": "expression"
|
7553 | }
|
7554 | },
|
7555 | {
|
7556 | "name": "title",
|
7557 | "default": "-",
|
7558 | "description": "Display title",
|
7559 | "value": {
|
7560 | "type": "string | v-slot",
|
7561 | "kind": "expression"
|
7562 | }
|
7563 | },
|
7564 | {
|
7565 | "name": "value",
|
7566 | "default": "-",
|
7567 | "description": "Display value",
|
7568 | "value": {
|
7569 | "type": "string | number",
|
7570 | "kind": "expression"
|
7571 | }
|
7572 | },
|
7573 | {
|
7574 | "name": "valueStyle",
|
7575 | "default": "-",
|
7576 | "description": "Set value css style",
|
7577 | "value": {
|
7578 | "type": "style",
|
7579 | "kind": "expression"
|
7580 | }
|
7581 | }
|
7582 | ]
|
7583 | },
|
7584 | {
|
7585 | "name": "a-statistic-countdown",
|
7586 | "slots": [
|
7587 | {
|
7588 | "name": "prefix",
|
7589 | "description": "prefix node of value"
|
7590 | },
|
7591 | {
|
7592 | "name": "suffix",
|
7593 | "description": "suffix node of value"
|
7594 | },
|
7595 | {
|
7596 | "name": "title",
|
7597 | "description": "Display title"
|
7598 | }
|
7599 | ],
|
7600 | "events": [],
|
7601 | "attributes": [
|
7602 | {
|
7603 | "name": "format",
|
7604 | "default": "'HH:mm:ss'",
|
7605 | "description": "Format as [dayjs](https://day.js.org/)",
|
7606 | "value": {
|
7607 | "type": "string",
|
7608 | "kind": "expression"
|
7609 | }
|
7610 | },
|
7611 | {
|
7612 | "name": "prefix",
|
7613 | "default": "-",
|
7614 | "description": "prefix node of value",
|
7615 | "value": {
|
7616 | "type": "string | v-slot",
|
7617 | "kind": "expression"
|
7618 | }
|
7619 | },
|
7620 | {
|
7621 | "name": "suffix",
|
7622 | "default": "-",
|
7623 | "description": "suffix node of value",
|
7624 | "value": {
|
7625 | "type": "string | v-slot",
|
7626 | "kind": "expression"
|
7627 | }
|
7628 | },
|
7629 | {
|
7630 | "name": "title",
|
7631 | "default": "-",
|
7632 | "description": "Display title",
|
7633 | "value": {
|
7634 | "type": "string | v-slot",
|
7635 | "kind": "expression"
|
7636 | }
|
7637 | },
|
7638 | {
|
7639 | "name": "value",
|
7640 | "default": "-",
|
7641 | "description": "Set target countdown time",
|
7642 | "value": {
|
7643 | "type": "number | dayjs",
|
7644 | "kind": "expression"
|
7645 | }
|
7646 | },
|
7647 | {
|
7648 | "name": "valueStyle",
|
7649 | "default": "-",
|
7650 | "description": "Set value css style",
|
7651 | "value": {
|
7652 | "type": "style",
|
7653 | "kind": "expression"
|
7654 | }
|
7655 | }
|
7656 | ]
|
7657 | },
|
7658 | {
|
7659 | "name": "a-statistic-countdown",
|
7660 | "slots": [],
|
7661 | "events": [],
|
7662 | "attributes": [
|
7663 | {
|
7664 | "name": "finish",
|
7665 | "default": "-",
|
7666 | "description": "Trigger when time's up",
|
7667 | "value": {
|
7668 | "type": "() => void",
|
7669 | "kind": "expression"
|
7670 | }
|
7671 | }
|
7672 | ]
|
7673 | },
|
7674 | {
|
7675 | "name": "a-steps",
|
7676 | "slots": [],
|
7677 | "events": [],
|
7678 | "attributes": []
|
7679 | },
|
7680 | {
|
7681 | "name": "a-steps",
|
7682 | "slots": [
|
7683 | {
|
7684 | "name": "progressDot",
|
7685 | "description": "Steps with progress dot style, customize the progress dot by setting a scoped slot. labelPlacement will be `vertical`"
|
7686 | }
|
7687 | ],
|
7688 | "events": [],
|
7689 | "attributes": [
|
7690 | {
|
7691 | "name": "current(v-model)",
|
7692 | "default": "0",
|
7693 | "description": "to set the current step, counting from 0. You can overwrite this state by using `status` of `Step`, support v-model after 1.5.0",
|
7694 | "value": {
|
7695 | "type": "number",
|
7696 | "kind": "expression"
|
7697 | }
|
7698 | },
|
7699 | {
|
7700 | "name": "direction",
|
7701 | "default": "`horizontal`",
|
7702 | "description": "to specify the direction of the step bar, `horizontal` and `vertical` are currently supported",
|
7703 | "value": {
|
7704 | "type": "string",
|
7705 | "kind": "expression"
|
7706 | }
|
7707 | },
|
7708 | {
|
7709 | "name": "initial",
|
7710 | "default": "0",
|
7711 | "description": "set the initial step, counting from 0",
|
7712 | "value": {
|
7713 | "type": "number",
|
7714 | "kind": "expression"
|
7715 | }
|
7716 | },
|
7717 | {
|
7718 | "name": "labelPlacement",
|
7719 | "default": "`horizontal`",
|
7720 | "description": "support vertial title and description",
|
7721 | "value": {
|
7722 | "type": "string",
|
7723 | "kind": "expression"
|
7724 | }
|
7725 | },
|
7726 | {
|
7727 | "name": "percent",
|
7728 | "default": "-",
|
7729 | "description": "Progress circle percentage of current step in `process` status (only works on basic Steps)",
|
7730 | "value": {
|
7731 | "type": "number",
|
7732 | "kind": "expression"
|
7733 | }
|
7734 | },
|
7735 | {
|
7736 | "name": "progressDot",
|
7737 | "default": "false",
|
7738 | "description": "Steps with progress dot style, customize the progress dot by setting a scoped slot. labelPlacement will be `vertical`",
|
7739 | "value": {
|
7740 | "type": "Boolean or v-slot:progressDot=\"{index, status, title, description, prefixCls, iconDot}\"",
|
7741 | "kind": "expression"
|
7742 | }
|
7743 | },
|
7744 | {
|
7745 | "name": "responsive",
|
7746 | "default": "true",
|
7747 | "description": "change to vertical direction when screen width smaller than `532px`",
|
7748 | "value": {
|
7749 | "type": "boolean",
|
7750 | "kind": "expression"
|
7751 | }
|
7752 | },
|
7753 | {
|
7754 | "name": "size",
|
7755 | "default": "`default`",
|
7756 | "description": "to specify the size of the step bar, `default` and `small` are currently supported",
|
7757 | "value": {
|
7758 | "type": "string",
|
7759 | "kind": "expression"
|
7760 | }
|
7761 | },
|
7762 | {
|
7763 | "name": "status",
|
7764 | "default": "`process`",
|
7765 | "description": "to specify the status of current step, can be set to one of the following values: `wait` `process` `finish` `error`",
|
7766 | "value": {
|
7767 | "type": "string",
|
7768 | "kind": "expression"
|
7769 | }
|
7770 | },
|
7771 | {
|
7772 | "name": "type",
|
7773 | "default": "`default`",
|
7774 | "description": "Type of steps, can be set to one of the following values: `default`, `navigation`",
|
7775 | "value": {
|
7776 | "type": "string",
|
7777 | "kind": "expression"
|
7778 | }
|
7779 | }
|
7780 | ]
|
7781 | },
|
7782 | {
|
7783 | "name": "a-steps",
|
7784 | "slots": [],
|
7785 | "events": [],
|
7786 | "attributes": [
|
7787 | {
|
7788 | "name": "change",
|
7789 | "default": "-",
|
7790 | "description": "Trigger when Step is changed",
|
7791 | "value": {
|
7792 | "type": "(current) => void",
|
7793 | "kind": "expression"
|
7794 | }
|
7795 | }
|
7796 | ]
|
7797 | },
|
7798 | {
|
7799 | "name": "a-steps-step",
|
7800 | "slots": [
|
7801 | {
|
7802 | "name": "description",
|
7803 | "description": "description of the step, optional property"
|
7804 | },
|
7805 | {
|
7806 | "name": "icon",
|
7807 | "description": "icon of the step, optional property"
|
7808 | },
|
7809 | {
|
7810 | "name": "subTitle",
|
7811 | "description": "Subtitle of the step"
|
7812 | },
|
7813 | {
|
7814 | "name": "title",
|
7815 | "description": "title of the step"
|
7816 | }
|
7817 | ],
|
7818 | "events": [],
|
7819 | "attributes": [
|
7820 | {
|
7821 | "name": "description",
|
7822 | "default": "-",
|
7823 | "description": "description of the step, optional property",
|
7824 | "value": {
|
7825 | "type": "string|slot",
|
7826 | "kind": "expression"
|
7827 | }
|
7828 | },
|
7829 | {
|
7830 | "name": "disabled",
|
7831 | "default": "false",
|
7832 | "description": "Disable click",
|
7833 | "value": {
|
7834 | "type": "boolean",
|
7835 | "kind": "expression"
|
7836 | }
|
7837 | },
|
7838 | {
|
7839 | "name": "icon",
|
7840 | "default": "-",
|
7841 | "description": "icon of the step, optional property",
|
7842 | "value": {
|
7843 | "type": "string|slot",
|
7844 | "kind": "expression"
|
7845 | }
|
7846 | },
|
7847 | {
|
7848 | "name": "status",
|
7849 | "default": "`wait`",
|
7850 | "description": "to specify the status. It will be automatically set by `current` of `Steps` if not configured. Optional values are: `wait` `process` `finish` `error`",
|
7851 | "value": {
|
7852 | "type": "string",
|
7853 | "kind": "expression"
|
7854 | }
|
7855 | },
|
7856 | {
|
7857 | "name": "subTitle",
|
7858 | "default": "-",
|
7859 | "description": "Subtitle of the step",
|
7860 | "value": {
|
7861 | "type": "string|slot",
|
7862 | "kind": "expression"
|
7863 | }
|
7864 | },
|
7865 | {
|
7866 | "name": "title",
|
7867 | "default": "-",
|
7868 | "description": "title of the step",
|
7869 | "value": {
|
7870 | "type": "string|slot",
|
7871 | "kind": "expression"
|
7872 | }
|
7873 | }
|
7874 | ]
|
7875 | },
|
7876 | {
|
7877 | "name": "a-switch",
|
7878 | "slots": [
|
7879 | {
|
7880 | "name": "checkedChildren",
|
7881 | "description": "content to be shown when the state is checked"
|
7882 | },
|
7883 | {
|
7884 | "name": "unCheckedChildren",
|
7885 | "description": "content to be shown when the state is unchecked"
|
7886 | }
|
7887 | ],
|
7888 | "events": [],
|
7889 | "attributes": [
|
7890 | {
|
7891 | "name": "autofocus",
|
7892 | "default": "false",
|
7893 | "description": "get focus when component mounted",
|
7894 | "value": {
|
7895 | "type": "boolean",
|
7896 | "kind": "expression"
|
7897 | }
|
7898 | },
|
7899 | {
|
7900 | "name": "checked(v-model)",
|
7901 | "default": "false",
|
7902 | "description": "determine whether the `Switch` is checked",
|
7903 | "value": {
|
7904 | "type": "checkedValue | unCheckedValue",
|
7905 | "kind": "expression"
|
7906 | }
|
7907 | },
|
7908 | {
|
7909 | "name": "checkedChildren",
|
7910 | "default": "",
|
7911 | "description": "content to be shown when the state is checked",
|
7912 | "value": {
|
7913 | "type": "string|slot",
|
7914 | "kind": "expression"
|
7915 | }
|
7916 | },
|
7917 | {
|
7918 | "name": "checkedValue",
|
7919 | "default": "number",
|
7920 | "description": "value for checked state",
|
7921 | "value": {
|
7922 | "type": "boolean | string ",
|
7923 | "kind": "expression"
|
7924 | }
|
7925 | },
|
7926 | {
|
7927 | "name": "disabled",
|
7928 | "default": "false",
|
7929 | "description": "Disable switch",
|
7930 | "value": {
|
7931 | "type": "boolean",
|
7932 | "kind": "expression"
|
7933 | }
|
7934 | },
|
7935 | {
|
7936 | "name": "loading",
|
7937 | "default": "false",
|
7938 | "description": "loading state of switch",
|
7939 | "value": {
|
7940 | "type": "boolean",
|
7941 | "kind": "expression"
|
7942 | }
|
7943 | },
|
7944 | {
|
7945 | "name": "size",
|
7946 | "default": "default",
|
7947 | "description": "the size of the `Switch`, options: `default` `small`",
|
7948 | "value": {
|
7949 | "type": "string",
|
7950 | "kind": "expression"
|
7951 | }
|
7952 | },
|
7953 | {
|
7954 | "name": "unCheckedChildren",
|
7955 | "default": "",
|
7956 | "description": "content to be shown when the state is unchecked",
|
7957 | "value": {
|
7958 | "type": "string|slot",
|
7959 | "kind": "expression"
|
7960 | }
|
7961 | },
|
7962 | {
|
7963 | "name": "unCheckedValue",
|
7964 | "default": "number",
|
7965 | "description": "value for unchecked state",
|
7966 | "value": {
|
7967 | "type": "boolean | string ",
|
7968 | "kind": "expression"
|
7969 | }
|
7970 | }
|
7971 | ]
|
7972 | },
|
7973 | {
|
7974 | "name": "a-table",
|
7975 | "slots": [],
|
7976 | "events": [],
|
7977 | "attributes": []
|
7978 | },
|
7979 | {
|
7980 | "name": "a-table",
|
7981 | "slots": [
|
7982 | {
|
7983 | "name": "bodyCell",
|
7984 | "description": "custom body cell by slot"
|
7985 | },
|
7986 | {
|
7987 | "name": "customFilterDropdown",
|
7988 | "description": "Customized filter overlay,need set `column.customFilterDropdown`"
|
7989 | },
|
7990 | {
|
7991 | "name": "customFilterIcon",
|
7992 | "description": "Customized filter icon"
|
7993 | },
|
7994 | {
|
7995 | "name": "emptyText",
|
7996 | "description": "Customize the display content when empty data"
|
7997 | },
|
7998 | {
|
7999 | "name": "expandedRowRender",
|
8000 | "description": "Expanded container render for each row"
|
8001 | },
|
8002 | {
|
8003 | "name": "expandIcon",
|
8004 | "description": "Customize row expand Icon."
|
8005 | },
|
8006 | {
|
8007 | "name": "footer",
|
8008 | "description": "Table footer renderer"
|
8009 | },
|
8010 | {
|
8011 | "name": "headerCell",
|
8012 | "description": "custom head cell by slot"
|
8013 | },
|
8014 | {
|
8015 | "name": "summary",
|
8016 | "description": "Summary content"
|
8017 | },
|
8018 | {
|
8019 | "name": "title",
|
8020 | "description": "Table title renderer"
|
8021 | }
|
8022 | ],
|
8023 | "events": [],
|
8024 | "attributes": [
|
8025 | {
|
8026 | "name": "bodyCell",
|
8027 | "default": "-",
|
8028 | "description": "custom body cell by slot",
|
8029 | "value": {
|
8030 | "type": "v-slot:bodyCell=\"{text, record, index, column}\"",
|
8031 | "kind": "expression"
|
8032 | }
|
8033 | },
|
8034 | {
|
8035 | "name": "bordered",
|
8036 | "default": "`false`",
|
8037 | "description": "Whether to show all table borders",
|
8038 | "value": {
|
8039 | "type": "boolean",
|
8040 | "kind": "expression"
|
8041 | }
|
8042 | },
|
8043 | {
|
8044 | "name": "childrenColumnName",
|
8045 | "default": "`children`",
|
8046 | "description": "The column contains children to display",
|
8047 | "value": {
|
8048 | "type": "string",
|
8049 | "kind": "expression"
|
8050 | }
|
8051 | },
|
8052 | {
|
8053 | "name": "columns",
|
8054 | "default": "-",
|
8055 | "description": "Columns of table [config](#Column)",
|
8056 | "value": {
|
8057 | "type": "array",
|
8058 | "kind": "expression"
|
8059 | }
|
8060 | },
|
8061 | {
|
8062 | "name": "components",
|
8063 | "default": "-",
|
8064 | "description": "Override default table elements",
|
8065 | "value": {
|
8066 | "type": "object",
|
8067 | "kind": "expression"
|
8068 | }
|
8069 | },
|
8070 | {
|
8071 | "name": "customFilterDropdown",
|
8072 | "default": "-",
|
8073 | "description": "Customized filter overlay,need set `column.customFilterDropdown`",
|
8074 | "value": {
|
8075 | "type": "v-slot:customFilterDropdown=\"[FilterDropdownProps](#FilterDropdownProps)\"",
|
8076 | "kind": "expression"
|
8077 | }
|
8078 | },
|
8079 | {
|
8080 | "name": "customFilterIcon",
|
8081 | "default": "-",
|
8082 | "description": "Customized filter icon",
|
8083 | "value": {
|
8084 | "type": "v-slot:customFilterIcon=\"{filtered, column}\"",
|
8085 | "kind": "expression"
|
8086 | }
|
8087 | },
|
8088 | {
|
8089 | "name": "customHeaderRow",
|
8090 | "default": "-",
|
8091 | "description": "Set props on per header row",
|
8092 | "value": {
|
8093 | "type": "Function(columns, index)",
|
8094 | "kind": "expression"
|
8095 | }
|
8096 | },
|
8097 | {
|
8098 | "name": "customRow",
|
8099 | "default": "-",
|
8100 | "description": "Set props on per row",
|
8101 | "value": {
|
8102 | "type": "Function(record, index)",
|
8103 | "kind": "expression"
|
8104 | }
|
8105 | },
|
8106 | {
|
8107 | "name": "dataSource",
|
8108 | "default": "-",
|
8109 | "description": "Data record array to be displayed",
|
8110 | "value": {
|
8111 | "type": "any[]",
|
8112 | "kind": "expression"
|
8113 | }
|
8114 | },
|
8115 | {
|
8116 | "name": "defaultExpandAllRows",
|
8117 | "default": "`false`",
|
8118 | "description": "Expand all rows initially",
|
8119 | "value": {
|
8120 | "type": "boolean",
|
8121 | "kind": "expression"
|
8122 | }
|
8123 | },
|
8124 | {
|
8125 | "name": "defaultExpandedRowKeys",
|
8126 | "default": "-",
|
8127 | "description": "Initial expanded row keys",
|
8128 | "value": {
|
8129 | "type": "string[]",
|
8130 | "kind": "expression"
|
8131 | }
|
8132 | },
|
8133 | {
|
8134 | "name": "emptyText",
|
8135 | "default": "-",
|
8136 | "description": "Customize the display content when empty data",
|
8137 | "value": {
|
8138 | "type": "v-slot:emptyText",
|
8139 | "kind": "expression"
|
8140 | }
|
8141 | },
|
8142 | {
|
8143 | "name": "expandedRowKeys",
|
8144 | "default": "-",
|
8145 | "description": "Current expanded row keys",
|
8146 | "value": {
|
8147 | "type": "string[]",
|
8148 | "kind": "expression"
|
8149 | }
|
8150 | },
|
8151 | {
|
8152 | "name": "expandedRowRender",
|
8153 | "default": "-",
|
8154 | "description": "Expanded container render for each row",
|
8155 | "value": {
|
8156 | "type": "Function({record, index, indent, expanded}):VNode|v-slot",
|
8157 | "kind": "expression"
|
8158 | }
|
8159 | },
|
8160 | {
|
8161 | "name": "expandFixed",
|
8162 | "default": "false",
|
8163 | "description": "Set column to be fixed: `true`(same as left) `'left'` `'right'`",
|
8164 | "value": {
|
8165 | "type": "boolean | string",
|
8166 | "kind": "expression"
|
8167 | }
|
8168 | },
|
8169 | {
|
8170 | "name": "expandIcon",
|
8171 | "default": "-",
|
8172 | "description": "Customize row expand Icon.",
|
8173 | "value": {
|
8174 | "type": "Function(props):VNode | v-slot:expandIcon=\"props\"",
|
8175 | "kind": "expression"
|
8176 | }
|
8177 | },
|
8178 | {
|
8179 | "name": "expandRowByClick",
|
8180 | "default": "`false`",
|
8181 | "description": "Whether to expand row by clicking anywhere in the whole row",
|
8182 | "value": {
|
8183 | "type": "boolean",
|
8184 | "kind": "expression"
|
8185 | }
|
8186 | },
|
8187 | {
|
8188 | "name": "footer",
|
8189 | "default": "",
|
8190 | "description": "Table footer renderer",
|
8191 | "value": {
|
8192 | "type": "Function(currentPageData)| v-slot:footer=\"currentPageData\"",
|
8193 | "kind": "expression"
|
8194 | }
|
8195 | },
|
8196 | {
|
8197 | "name": "getPopupContainer",
|
8198 | "default": "`() => TableHtmlElement`",
|
8199 | "description": "the render container of dropdowns in table",
|
8200 | "value": {
|
8201 | "type": "(triggerNode) => HTMLElement",
|
8202 | "kind": "expression"
|
8203 | }
|
8204 | },
|
8205 | {
|
8206 | "name": "headerCell",
|
8207 | "default": "-",
|
8208 | "description": "custom head cell by slot",
|
8209 | "value": {
|
8210 | "type": "v-slot:headerCell=\"{title, column}\"",
|
8211 | "kind": "expression"
|
8212 | }
|
8213 | },
|
8214 | {
|
8215 | "name": "indentSize",
|
8216 | "default": "15",
|
8217 | "description": "Indent size in pixels of tree data",
|
8218 | "value": {
|
8219 | "type": "number",
|
8220 | "kind": "expression"
|
8221 | }
|
8222 | },
|
8223 | {
|
8224 | "name": "loading",
|
8225 | "default": "`false`",
|
8226 | "description": "Loading status of table",
|
8227 | "value": {
|
8228 | "type": "boolean|[object](/components/spin)",
|
8229 | "kind": "expression"
|
8230 | }
|
8231 | },
|
8232 | {
|
8233 | "name": "locale",
|
8234 | "default": "filterConfirm: 'Ok' <br /> filterReset: 'Reset' <br /> emptyText: 'No Data'",
|
8235 | "description": "i18n text including filter, sort, empty text, etc",
|
8236 | "value": {
|
8237 | "type": "object",
|
8238 | "kind": "expression"
|
8239 | }
|
8240 | },
|
8241 | {
|
8242 | "name": "pagination",
|
8243 | "default": "",
|
8244 | "description": "Config of pagination. You can ref table pagination [config](#pagination) or full [`pagination`](/components/pagination/) document, hide it by setting it to `false`",
|
8245 | "value": {
|
8246 | "type": "object",
|
8247 | "kind": "expression"
|
8248 | }
|
8249 | },
|
8250 | {
|
8251 | "name": "rowClassName",
|
8252 | "default": "-",
|
8253 | "description": "Row's className",
|
8254 | "value": {
|
8255 | "type": "Function(record, index):string",
|
8256 | "kind": "expression"
|
8257 | }
|
8258 | },
|
8259 | {
|
8260 | "name": "rowExpandable",
|
8261 | "default": "-",
|
8262 | "description": "Enable row can be expandable",
|
8263 | "value": {
|
8264 | "type": "(record) => boolean",
|
8265 | "kind": "expression"
|
8266 | }
|
8267 | },
|
8268 | {
|
8269 | "name": "rowKey",
|
8270 | "default": "`key`",
|
8271 | "description": "Row's unique key, could be a string or function that returns a string",
|
8272 | "value": {
|
8273 | "type": "string|Function(record, index):string",
|
8274 | "kind": "expression"
|
8275 | }
|
8276 | },
|
8277 | {
|
8278 | "name": "rowSelection",
|
8279 | "default": "null",
|
8280 | "description": "Row selection [config](#rowSelection)",
|
8281 | "value": {
|
8282 | "type": "object",
|
8283 | "kind": "expression"
|
8284 | }
|
8285 | },
|
8286 | {
|
8287 | "name": "scroll",
|
8288 | "default": "-",
|
8289 | "description": "Whether the table can be scrollable, [config](#scroll)",
|
8290 | "value": {
|
8291 | "type": "object",
|
8292 | "kind": "expression"
|
8293 | }
|
8294 | },
|
8295 | {
|
8296 | "name": "showExpandColumn",
|
8297 | "default": "true",
|
8298 | "description": "Show expand column",
|
8299 | "value": {
|
8300 | "type": "boolean",
|
8301 | "kind": "expression"
|
8302 | }
|
8303 | },
|
8304 | {
|
8305 | "name": "showHeader",
|
8306 | "default": "`true`",
|
8307 | "description": "Whether to show table header",
|
8308 | "value": {
|
8309 | "type": "boolean",
|
8310 | "kind": "expression"
|
8311 | }
|
8312 | },
|
8313 | {
|
8314 | "name": "showSorterTooltip",
|
8315 | "default": "true",
|
8316 | "description": "The header show next sorter direction tooltip. It will be set as the property of Tooltip if its type is object",
|
8317 | "value": {
|
8318 | "type": "boolean | [Tooltip props](/components/tooltip/#API)",
|
8319 | "kind": "expression"
|
8320 | }
|
8321 | },
|
8322 | {
|
8323 | "name": "size",
|
8324 | "default": "`small` \\",
|
8325 | "description": "Size of table",
|
8326 | "value": {
|
8327 | "type": "`default` | `middle` ",
|
8328 | "kind": "expression"
|
8329 | }
|
8330 | },
|
8331 | {
|
8332 | "name": "sortDirections",
|
8333 | "default": "\\[`ascend`, `descend`]",
|
8334 | "description": "Supported sort way, could be `ascend`, `descend`",
|
8335 | "value": {
|
8336 | "type": "Array",
|
8337 | "kind": "expression"
|
8338 | }
|
8339 | },
|
8340 | {
|
8341 | "name": "sticky",
|
8342 | "default": "-",
|
8343 | "description": "Set sticky header and scroll bar",
|
8344 | "value": {
|
8345 | "type": "boolean | `{offsetHeader?: number, offsetScroll?: number, getContainer?: () => HTMLElement}`",
|
8346 | "kind": "expression"
|
8347 | }
|
8348 | },
|
8349 | {
|
8350 | "name": "summary",
|
8351 | "default": "-",
|
8352 | "description": "Summary content",
|
8353 | "value": {
|
8354 | "type": "v-slot:summary",
|
8355 | "kind": "expression"
|
8356 | }
|
8357 | },
|
8358 | {
|
8359 | "name": "tableLayout",
|
8360 | "default": "'fixed'",
|
8361 | "description": "[table-layout](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout) attribute of table element",
|
8362 | "value": {
|
8363 | "type": "- | 'auto' ",
|
8364 | "kind": "expression"
|
8365 | }
|
8366 | },
|
8367 | {
|
8368 | "name": "title",
|
8369 | "default": "",
|
8370 | "description": "Table title renderer",
|
8371 | "value": {
|
8372 | "type": "Function(currentPageData)| v-slot:title=\"currentPageData\"",
|
8373 | "kind": "expression"
|
8374 | }
|
8375 | },
|
8376 | {
|
8377 | "name": "transformCellText",
|
8378 | "default": "number",
|
8379 | "description": "The data can be changed again before rendering, generally used for the default configuration of empty data. You can configured globally through [ConfigProvider](/components/config-provider-cn/)",
|
8380 | "value": {
|
8381 | "type": "Function({ text, column, record, index }) => any, The `text` here is the data processed by other defined cell api, and it may be of type VNode | string ",
|
8382 | "kind": "expression"
|
8383 | }
|
8384 | }
|
8385 | ]
|
8386 | },
|
8387 | {
|
8388 | "name": "a-tabs",
|
8389 | "slots": [],
|
8390 | "events": [],
|
8391 | "attributes": []
|
8392 | },
|
8393 | {
|
8394 | "name": "a-tabs",
|
8395 | "slots": [],
|
8396 | "events": [],
|
8397 | "attributes": [
|
8398 | {
|
8399 | "name": "activeKey(v-model)",
|
8400 | "default": "-",
|
8401 | "description": "Current TabPane's key",
|
8402 | "value": {
|
8403 | "type": "string",
|
8404 | "kind": "expression"
|
8405 | }
|
8406 | },
|
8407 | {
|
8408 | "name": "animated",
|
8409 | "default": "{inkBar:boolean, tabPane:boolean}",
|
8410 | "description": "Whether to change tabs with animation. Only works while `tabPosition=\"top\"|\"bottom\"`",
|
8411 | "value": {
|
8412 | "type": "boolean ",
|
8413 | "kind": "expression"
|
8414 | }
|
8415 | },
|
8416 | {
|
8417 | "name": "destroyInactiveTabPane",
|
8418 | "default": "false",
|
8419 | "description": "Whether destroy inactive TabPane when change tab",
|
8420 | "value": {
|
8421 | "type": "boolean",
|
8422 | "kind": "expression"
|
8423 | }
|
8424 | },
|
8425 | {
|
8426 | "name": "hideAdd",
|
8427 | "default": "`false`",
|
8428 | "description": "Hide plus icon or not. Only works while `type=\"editable-card\"`",
|
8429 | "value": {
|
8430 | "type": "boolean",
|
8431 | "kind": "expression"
|
8432 | }
|
8433 | },
|
8434 | {
|
8435 | "name": "size",
|
8436 | "default": "`small`",
|
8437 | "description": "preset tab bar size",
|
8438 | "value": {
|
8439 | "type": "`large` | `default` ",
|
8440 | "kind": "expression"
|
8441 | }
|
8442 | },
|
8443 | {
|
8444 | "name": "tabBarGutter",
|
8445 | "default": "-",
|
8446 | "description": "The gap between tabs",
|
8447 | "value": {
|
8448 | "type": "number",
|
8449 | "kind": "expression"
|
8450 | }
|
8451 | },
|
8452 | {
|
8453 | "name": "tabBarStyle",
|
8454 | "default": "-",
|
8455 | "description": "Tab bar style object",
|
8456 | "value": {
|
8457 | "type": "object",
|
8458 | "kind": "expression"
|
8459 | }
|
8460 | },
|
8461 | {
|
8462 | "name": "tabPosition",
|
8463 | "default": "`bottom` \\",
|
8464 | "description": "Position of tabs",
|
8465 | "value": {
|
8466 | "type": "`top` | `right` ",
|
8467 | "kind": "expression"
|
8468 | }
|
8469 | },
|
8470 | {
|
8471 | "name": "type",
|
8472 | "default": "`editable-card`",
|
8473 | "description": "Basic style of tabs",
|
8474 | "value": {
|
8475 | "type": "`line` | `card` ",
|
8476 | "kind": "expression"
|
8477 | }
|
8478 | }
|
8479 | ]
|
8480 | },
|
8481 | {
|
8482 | "name": "a-tabs",
|
8483 | "slots": [],
|
8484 | "events": [],
|
8485 | "attributes": [
|
8486 | {
|
8487 | "name": "addIcon",
|
8488 | "default": "-",
|
8489 | "description": "Customize add icon",
|
8490 | "value": {
|
8491 | "type": "-",
|
8492 | "kind": "expression"
|
8493 | }
|
8494 | },
|
8495 | {
|
8496 | "name": "leftExtra",
|
8497 | "default": "-",
|
8498 | "description": "Extra content in tab bar left",
|
8499 | "value": {
|
8500 | "type": "-",
|
8501 | "kind": "expression"
|
8502 | }
|
8503 | },
|
8504 | {
|
8505 | "name": "moreIcon",
|
8506 | "default": "-",
|
8507 | "description": "The custom icon of ellipsis",
|
8508 | "value": {
|
8509 | "type": "-",
|
8510 | "kind": "expression"
|
8511 | }
|
8512 | },
|
8513 | {
|
8514 | "name": "renderTabBar",
|
8515 | "default": "",
|
8516 | "description": "Replace the TabBar",
|
8517 | "value": {
|
8518 | "type": "{ DefaultTabBar }",
|
8519 | "kind": "expression"
|
8520 | }
|
8521 | },
|
8522 | {
|
8523 | "name": "rightExtra",
|
8524 | "default": "-",
|
8525 | "description": "Extra content in tab bar right",
|
8526 | "value": {
|
8527 | "type": "-",
|
8528 | "kind": "expression"
|
8529 | }
|
8530 | }
|
8531 | ]
|
8532 | },
|
8533 | {
|
8534 | "name": "a-tabs",
|
8535 | "slots": [],
|
8536 | "events": [],
|
8537 | "attributes": [
|
8538 | {
|
8539 | "name": "change",
|
8540 | "description": "Callback executed when active tab is changed",
|
8541 | "value": {
|
8542 | "type": "Function(activeKey) {}",
|
8543 | "kind": "expression"
|
8544 | }
|
8545 | },
|
8546 | {
|
8547 | "name": "edit",
|
8548 | "description": "Callback executed when tab is added or removed. Only works while `type=\"editable-card\"`",
|
8549 | "value": {
|
8550 | "type": "(targetKey, action): void",
|
8551 | "kind": "expression"
|
8552 | }
|
8553 | },
|
8554 | {
|
8555 | "name": "nextClick",
|
8556 | "description": "Callback executed when next button is clicked",
|
8557 | "value": {
|
8558 | "type": "Function",
|
8559 | "kind": "expression"
|
8560 | }
|
8561 | },
|
8562 | {
|
8563 | "name": "prevClick",
|
8564 | "description": "Callback executed when prev button is clicked",
|
8565 | "value": {
|
8566 | "type": "Function",
|
8567 | "kind": "expression"
|
8568 | }
|
8569 | },
|
8570 | {
|
8571 | "name": "tabClick",
|
8572 | "description": "Callback executed when tab is clicked",
|
8573 | "value": {
|
8574 | "type": "Function",
|
8575 | "kind": "expression"
|
8576 | }
|
8577 | }
|
8578 | ]
|
8579 | },
|
8580 | {
|
8581 | "name": "a-tabs-tab-pane",
|
8582 | "slots": [
|
8583 | {
|
8584 | "name": "tab",
|
8585 | "description": "Show text in TabPane's head"
|
8586 | }
|
8587 | ],
|
8588 | "events": [],
|
8589 | "attributes": [
|
8590 | {
|
8591 | "name": "forceRender",
|
8592 | "default": "false",
|
8593 | "description": "Forced render of content in tabs, not lazy render after clicking on tabs",
|
8594 | "value": {
|
8595 | "type": "boolean",
|
8596 | "kind": "expression"
|
8597 | }
|
8598 | },
|
8599 | {
|
8600 | "name": "key",
|
8601 | "default": "-",
|
8602 | "description": "TabPane's key",
|
8603 | "value": {
|
8604 | "type": "string",
|
8605 | "kind": "expression"
|
8606 | }
|
8607 | },
|
8608 | {
|
8609 | "name": "tab",
|
8610 | "default": "-",
|
8611 | "description": "Show text in TabPane's head",
|
8612 | "value": {
|
8613 | "type": "string|slot",
|
8614 | "kind": "expression"
|
8615 | }
|
8616 | }
|
8617 | ]
|
8618 | },
|
8619 | {
|
8620 | "name": "a-tabs-tab-pane",
|
8621 | "slots": [],
|
8622 | "events": [],
|
8623 | "attributes": [
|
8624 | {
|
8625 | "name": "closeIcon",
|
8626 | "description": "自定义关闭图标,`在 type=\"editable-card\"`时有效",
|
8627 | "value": {
|
8628 | "type": "-",
|
8629 | "kind": "expression"
|
8630 | }
|
8631 | },
|
8632 | {
|
8633 | "name": "tab",
|
8634 | "description": "Show text in TabPane's head",
|
8635 | "value": {
|
8636 | "type": "-",
|
8637 | "kind": "expression"
|
8638 | }
|
8639 | }
|
8640 | ]
|
8641 | },
|
8642 | {
|
8643 | "name": "a-tag",
|
8644 | "slots": [],
|
8645 | "events": [],
|
8646 | "attributes": []
|
8647 | },
|
8648 | {
|
8649 | "name": "a-tag",
|
8650 | "slots": [],
|
8651 | "events": [],
|
8652 | "attributes": [
|
8653 | {
|
8654 | "name": "closable",
|
8655 | "default": "`false`",
|
8656 | "description": "Whether the Tag can be closed",
|
8657 | "value": {
|
8658 | "type": "boolean",
|
8659 | "kind": "expression"
|
8660 | }
|
8661 | },
|
8662 | {
|
8663 | "name": "closeIcon",
|
8664 | "default": "-",
|
8665 | "description": "Custom close icon",
|
8666 | "value": {
|
8667 | "type": "VNode | #closeIcon",
|
8668 | "kind": "expression"
|
8669 | }
|
8670 | },
|
8671 | {
|
8672 | "name": "color",
|
8673 | "default": "-",
|
8674 | "description": "Color of the Tag",
|
8675 | "value": {
|
8676 | "type": "string",
|
8677 | "kind": "expression"
|
8678 | }
|
8679 | },
|
8680 | {
|
8681 | "name": "icon",
|
8682 | "default": "-",
|
8683 | "description": "Set the icon of tag",
|
8684 | "value": {
|
8685 | "type": "VNode | #icon",
|
8686 | "kind": "expression"
|
8687 | }
|
8688 | },
|
8689 | {
|
8690 | "name": "visible(v-model)",
|
8691 | "default": "`true`",
|
8692 | "description": "Whether the Tag is closed or not",
|
8693 | "value": {
|
8694 | "type": "boolean",
|
8695 | "kind": "expression"
|
8696 | }
|
8697 | }
|
8698 | ]
|
8699 | },
|
8700 | {
|
8701 | "name": "a-tag",
|
8702 | "slots": [],
|
8703 | "events": [],
|
8704 | "attributes": [
|
8705 | {
|
8706 | "name": "close",
|
8707 | "description": "Callback executed when tag is closed",
|
8708 | "value": {
|
8709 | "type": "(e) => void",
|
8710 | "kind": "expression"
|
8711 | }
|
8712 | }
|
8713 | ]
|
8714 | },
|
8715 | {
|
8716 | "name": "a-tag-checkable-tag",
|
8717 | "slots": [],
|
8718 | "events": [],
|
8719 | "attributes": [
|
8720 | {
|
8721 | "name": "checked(v-model)",
|
8722 | "default": "`false`",
|
8723 | "description": "Checked status of Tag",
|
8724 | "value": {
|
8725 | "type": "boolean",
|
8726 | "kind": "expression"
|
8727 | }
|
8728 | }
|
8729 | ]
|
8730 | },
|
8731 | {
|
8732 | "name": "a-tag-checkable-tag",
|
8733 | "slots": [],
|
8734 | "events": [],
|
8735 | "attributes": [
|
8736 | {
|
8737 | "name": "change",
|
8738 | "description": "Callback executed when Tag is checked/unchecked",
|
8739 | "value": {
|
8740 | "type": "(checked) => void",
|
8741 | "kind": "expression"
|
8742 | }
|
8743 | }
|
8744 | ]
|
8745 | },
|
8746 | {
|
8747 | "name": "a-timepicker",
|
8748 | "slots": [
|
8749 | {
|
8750 | "name": "clearIcon",
|
8751 | "description": "The custom clear icon"
|
8752 | },
|
8753 | {
|
8754 | "name": "renderExtraFooter",
|
8755 | "description": "Called from time picker panel to render some addon to its bottom"
|
8756 | },
|
8757 | {
|
8758 | "name": "suffixIcon",
|
8759 | "description": "The custom suffix icon"
|
8760 | }
|
8761 | ],
|
8762 | "events": [
|
8763 | {
|
8764 | "name": "change",
|
8765 | "description": "a callback function, can be executed when the selected time is changing"
|
8766 | },
|
8767 | {
|
8768 | "name": "openChange",
|
8769 | "description": "a callback function which will be called while panel opening/closing"
|
8770 | }
|
8771 | ],
|
8772 | "attributes": [
|
8773 | {
|
8774 | "name": "allowClear",
|
8775 | "default": "true",
|
8776 | "description": "Whether allow clearing text",
|
8777 | "value": {
|
8778 | "type": "boolean",
|
8779 | "kind": "expression"
|
8780 | }
|
8781 | },
|
8782 | {
|
8783 | "name": "autofocus",
|
8784 | "default": "false",
|
8785 | "description": "If get focus when component mounted",
|
8786 | "value": {
|
8787 | "type": "boolean",
|
8788 | "kind": "expression"
|
8789 | }
|
8790 | },
|
8791 | {
|
8792 | "name": "bordered",
|
8793 | "default": "true",
|
8794 | "description": "Whether has border style",
|
8795 | "value": {
|
8796 | "type": "boolean",
|
8797 | "kind": "expression"
|
8798 | }
|
8799 | },
|
8800 | {
|
8801 | "name": "clearIcon",
|
8802 | "default": "-",
|
8803 | "description": "The custom clear icon",
|
8804 | "value": {
|
8805 | "type": "v-slot:clearIcon",
|
8806 | "kind": "expression"
|
8807 | }
|
8808 | },
|
8809 | {
|
8810 | "name": "clearText",
|
8811 | "default": "clear",
|
8812 | "description": "The clear tooltip of icon",
|
8813 | "value": {
|
8814 | "type": "string",
|
8815 | "kind": "expression"
|
8816 | }
|
8817 | },
|
8818 | {
|
8819 | "name": "disabled",
|
8820 | "default": "false",
|
8821 | "description": "Determine whether the TimePicker is disabled",
|
8822 | "value": {
|
8823 | "type": "boolean",
|
8824 | "kind": "expression"
|
8825 | }
|
8826 | },
|
8827 | {
|
8828 | "name": "disabledHours",
|
8829 | "default": "-",
|
8830 | "description": "To specify the hours that cannot be selected",
|
8831 | "value": {
|
8832 | "type": "function()",
|
8833 | "kind": "expression"
|
8834 | }
|
8835 | },
|
8836 | {
|
8837 | "name": "disabledMinutes",
|
8838 | "default": "-",
|
8839 | "description": "To specify the minutes that cannot be selected",
|
8840 | "value": {
|
8841 | "type": "function(selectedHour)",
|
8842 | "kind": "expression"
|
8843 | }
|
8844 | },
|
8845 | {
|
8846 | "name": "disabledSeconds",
|
8847 | "default": "-",
|
8848 | "description": "To specify the seconds that cannot be selected",
|
8849 | "value": {
|
8850 | "type": "function(selectedHour, selectedMinute)",
|
8851 | "kind": "expression"
|
8852 | }
|
8853 | },
|
8854 | {
|
8855 | "name": "format",
|
8856 | "default": "`HH:mm:ss`",
|
8857 | "description": "To set the time format",
|
8858 | "value": {
|
8859 | "type": "string",
|
8860 | "kind": "expression"
|
8861 | }
|
8862 | },
|
8863 | {
|
8864 | "name": "getPopupContainer",
|
8865 | "default": "-",
|
8866 | "description": "To set the container of the floating layer, while the default is to create a div element in body",
|
8867 | "value": {
|
8868 | "type": "function(trigger)",
|
8869 | "kind": "expression"
|
8870 | }
|
8871 | },
|
8872 | {
|
8873 | "name": "hideDisabledOptions",
|
8874 | "default": "false",
|
8875 | "description": "Whether hide the options that can not be selected",
|
8876 | "value": {
|
8877 | "type": "boolean",
|
8878 | "kind": "expression"
|
8879 | }
|
8880 | },
|
8881 | {
|
8882 | "name": "hourStep",
|
8883 | "default": "1",
|
8884 | "description": "Interval between hours in picker",
|
8885 | "value": {
|
8886 | "type": "number",
|
8887 | "kind": "expression"
|
8888 | }
|
8889 | },
|
8890 | {
|
8891 | "name": "inputReadOnly",
|
8892 | "default": "false",
|
8893 | "description": "Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices)",
|
8894 | "value": {
|
8895 | "type": "boolean",
|
8896 | "kind": "expression"
|
8897 | }
|
8898 | },
|
8899 | {
|
8900 | "name": "minuteStep",
|
8901 | "default": "1",
|
8902 | "description": "Interval between minutes in picker",
|
8903 | "value": {
|
8904 | "type": "number",
|
8905 | "kind": "expression"
|
8906 | }
|
8907 | },
|
8908 | {
|
8909 | "name": "open(v-model)",
|
8910 | "default": "false",
|
8911 | "description": "Whether to popup panel",
|
8912 | "value": {
|
8913 | "type": "boolean",
|
8914 | "kind": "expression"
|
8915 | }
|
8916 | },
|
8917 | {
|
8918 | "name": "placeholder",
|
8919 | "default": "`Select a time`",
|
8920 | "description": "Display when there's no value",
|
8921 | "value": {
|
8922 | "type": "string | [string, string]",
|
8923 | "kind": "expression"
|
8924 | }
|
8925 | },
|
8926 | {
|
8927 | "name": "popupClassName",
|
8928 | "default": "-",
|
8929 | "description": "The className of panel",
|
8930 | "value": {
|
8931 | "type": "string",
|
8932 | "kind": "expression"
|
8933 | }
|
8934 | },
|
8935 | {
|
8936 | "name": "popupStyle",
|
8937 | "default": "-",
|
8938 | "description": "The style of panel",
|
8939 | "value": {
|
8940 | "type": "CSSProperties",
|
8941 | "kind": "expression"
|
8942 | }
|
8943 | },
|
8944 | {
|
8945 | "name": "renderExtraFooter",
|
8946 | "default": "-",
|
8947 | "description": "Called from time picker panel to render some addon to its bottom",
|
8948 | "value": {
|
8949 | "type": "v-slot:renderExtraFooter",
|
8950 | "kind": "expression"
|
8951 | }
|
8952 | },
|
8953 | {
|
8954 | "name": "secondStep",
|
8955 | "default": "1",
|
8956 | "description": "Interval between seconds in picker",
|
8957 | "value": {
|
8958 | "type": "number",
|
8959 | "kind": "expression"
|
8960 | }
|
8961 | },
|
8962 | {
|
8963 | "name": "showNow",
|
8964 | "default": "-",
|
8965 | "description": "Whether to show `Now` button on panel",
|
8966 | "value": {
|
8967 | "type": "boolean",
|
8968 | "kind": "expression"
|
8969 | }
|
8970 | },
|
8971 | {
|
8972 | "name": "suffixIcon",
|
8973 | "default": "-",
|
8974 | "description": "The custom suffix icon",
|
8975 | "value": {
|
8976 | "type": "v-slot:suffixIcon",
|
8977 | "kind": "expression"
|
8978 | }
|
8979 | },
|
8980 | {
|
8981 | "name": "use12Hours",
|
8982 | "default": "false",
|
8983 | "description": "Display as 12 hours format, with default format `h:mm:ss a`",
|
8984 | "value": {
|
8985 | "type": "boolean",
|
8986 | "kind": "expression"
|
8987 | }
|
8988 | },
|
8989 | {
|
8990 | "name": "value(v-model)",
|
8991 | "default": "-",
|
8992 | "description": "To set time",
|
8993 | "value": {
|
8994 | "type": "[dayjs](https://day.js.org/)",
|
8995 | "kind": "expression"
|
8996 | }
|
8997 | },
|
8998 | {
|
8999 | "name": "valueFormat",
|
9000 | "default": "-",
|
9001 | "description": "optional, format of binding value. If not specified, the binding value will be a Date object",
|
9002 | "value": {
|
9003 | "type": "string,[date formats](https://day.js.org/docs/en/display/format)",
|
9004 | "kind": "expression"
|
9005 | }
|
9006 | }
|
9007 | ]
|
9008 | },
|
9009 | {
|
9010 | "name": "a-timeline",
|
9011 | "slots": [],
|
9012 | "events": [],
|
9013 | "attributes": []
|
9014 | },
|
9015 | {
|
9016 | "name": "a-timeline",
|
9017 | "slots": [
|
9018 | {
|
9019 | "name": "pendingDot",
|
9020 | "description": "Set the dot of the last ghost node when pending is true"
|
9021 | }
|
9022 | ],
|
9023 | "events": [],
|
9024 | "attributes": [
|
9025 | {
|
9026 | "name": "mode",
|
9027 | "default": "`right`",
|
9028 | "description": "By sending `alternate` the timeline will distribute the nodes to the left and right.",
|
9029 | "value": {
|
9030 | "type": "`left` | `alternate` ",
|
9031 | "kind": "expression"
|
9032 | }
|
9033 | },
|
9034 | {
|
9035 | "name": "pending",
|
9036 | "default": "slot",
|
9037 | "description": "Set the last ghost node's existence or its content",
|
9038 | "value": {
|
9039 | "type": "boolean|string",
|
9040 | "kind": "expression"
|
9041 | }
|
9042 | },
|
9043 | {
|
9044 | "name": "pendingDot",
|
9045 | "default": "`<LoadingOutlined />`",
|
9046 | "description": "Set the dot of the last ghost node when pending is true",
|
9047 | "value": {
|
9048 | "type": "string|slot",
|
9049 | "kind": "expression"
|
9050 | }
|
9051 | },
|
9052 | {
|
9053 | "name": "reverse",
|
9054 | "default": "false",
|
9055 | "description": "reverse nodes or not",
|
9056 | "value": {
|
9057 | "type": "boolean",
|
9058 | "kind": "expression"
|
9059 | }
|
9060 | }
|
9061 | ]
|
9062 | },
|
9063 | {
|
9064 | "name": "a-timeline-item",
|
9065 | "slots": [
|
9066 | {
|
9067 | "name": "dot",
|
9068 | "description": "Customize timeline dot"
|
9069 | },
|
9070 | {
|
9071 | "name": "label",
|
9072 | "description": "Set the label"
|
9073 | }
|
9074 | ],
|
9075 | "events": [],
|
9076 | "attributes": [
|
9077 | {
|
9078 | "name": "color",
|
9079 | "default": "`blue`",
|
9080 | "description": "Set the circle's color to `blue`, `red`, `green` or other custom colors",
|
9081 | "value": {
|
9082 | "type": "string",
|
9083 | "kind": "expression"
|
9084 | }
|
9085 | },
|
9086 | {
|
9087 | "name": "dot",
|
9088 | "default": "-",
|
9089 | "description": "Customize timeline dot",
|
9090 | "value": {
|
9091 | "type": "string|slot",
|
9092 | "kind": "expression"
|
9093 | }
|
9094 | },
|
9095 | {
|
9096 | "name": "label",
|
9097 | "default": "-",
|
9098 | "description": "Set the label",
|
9099 | "value": {
|
9100 | "type": "string | slot",
|
9101 | "kind": "expression"
|
9102 | }
|
9103 | },
|
9104 | {
|
9105 | "name": "position",
|
9106 | "default": "-",
|
9107 | "description": "Customize node position",
|
9108 | "value": {
|
9109 | "type": "`left` | `right`",
|
9110 | "kind": "expression"
|
9111 | }
|
9112 | }
|
9113 | ]
|
9114 | },
|
9115 | {
|
9116 | "name": "a-tooltip",
|
9117 | "slots": [
|
9118 | {
|
9119 | "name": "title",
|
9120 | "description": "The text shown in the tooltip"
|
9121 | }
|
9122 | ],
|
9123 | "events": [
|
9124 | {
|
9125 | "name": "visibleChange",
|
9126 | "description": "Callback executed when visibility of the tooltip card is changed"
|
9127 | }
|
9128 | ],
|
9129 | "attributes": [
|
9130 | {
|
9131 | "name": "title",
|
9132 | "default": "-",
|
9133 | "description": "The text shown in the tooltip",
|
9134 | "value": {
|
9135 | "type": "string|slot",
|
9136 | "kind": "expression"
|
9137 | }
|
9138 | },
|
9139 | {
|
9140 | "name": "align",
|
9141 | "default": "-",
|
9142 | "description": "this value will be merged into placement's config, please refer to the settings [dom-align](https://github.com/yiminghe/dom-align)",
|
9143 | "value": {
|
9144 | "type": "Object",
|
9145 | "kind": "expression"
|
9146 | }
|
9147 | },
|
9148 | {
|
9149 | "name": "arrowPointAtCenter",
|
9150 | "default": "`false`",
|
9151 | "description": "Whether the arrow is pointed at the center of target",
|
9152 | "value": {
|
9153 | "type": "boolean",
|
9154 | "kind": "expression"
|
9155 | }
|
9156 | },
|
9157 | {
|
9158 | "name": "autoAdjustOverflow",
|
9159 | "default": "`true`",
|
9160 | "description": "Whether to adjust popup placement automatically when popup is off screen",
|
9161 | "value": {
|
9162 | "type": "boolean",
|
9163 | "kind": "expression"
|
9164 | }
|
9165 | },
|
9166 | {
|
9167 | "name": "color",
|
9168 | "default": "-",
|
9169 | "description": "The background color",
|
9170 | "value": {
|
9171 | "type": "string",
|
9172 | "kind": "expression"
|
9173 | }
|
9174 | },
|
9175 | {
|
9176 | "name": "defaultVisible",
|
9177 | "default": "`false`",
|
9178 | "description": "Whether the floating tooltip card is visible by default",
|
9179 | "value": {
|
9180 | "type": "boolean",
|
9181 | "kind": "expression"
|
9182 | }
|
9183 | },
|
9184 | {
|
9185 | "name": "destroyTooltipOnHide",
|
9186 | "default": "false",
|
9187 | "description": "Whether to destroy tooltip on hide",
|
9188 | "value": {
|
9189 | "type": "boolean",
|
9190 | "kind": "expression"
|
9191 | }
|
9192 | },
|
9193 | {
|
9194 | "name": "getPopupContainer",
|
9195 | "default": "() => document.body",
|
9196 | "description": "The DOM container of the tip, the default behavior is to create a `div` element in `body`.",
|
9197 | "value": {
|
9198 | "type": "Function(triggerNode)",
|
9199 | "kind": "expression"
|
9200 | }
|
9201 | },
|
9202 | {
|
9203 | "name": "mouseEnterDelay",
|
9204 | "default": "0.1",
|
9205 | "description": "Delay in seconds, before tooltip is shown on mouse enter",
|
9206 | "value": {
|
9207 | "type": "number",
|
9208 | "kind": "expression"
|
9209 | }
|
9210 | },
|
9211 | {
|
9212 | "name": "mouseLeaveDelay",
|
9213 | "default": "0.1",
|
9214 | "description": "Delay in seconds, before tooltip is hidden on mouse leave",
|
9215 | "value": {
|
9216 | "type": "number",
|
9217 | "kind": "expression"
|
9218 | }
|
9219 | },
|
9220 | {
|
9221 | "name": "overlayClassName",
|
9222 | "default": "-",
|
9223 | "description": "Class name of the tooltip card",
|
9224 | "value": {
|
9225 | "type": "string",
|
9226 | "kind": "expression"
|
9227 | }
|
9228 | },
|
9229 | {
|
9230 | "name": "overlayStyle",
|
9231 | "default": "-",
|
9232 | "description": "Style of the tooltip card",
|
9233 | "value": {
|
9234 | "type": "object",
|
9235 | "kind": "expression"
|
9236 | }
|
9237 | },
|
9238 | {
|
9239 | "name": "placement",
|
9240 | "default": "`top`",
|
9241 | "description": "The position of the tooltip relative to the target, which can be one of `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom`",
|
9242 | "value": {
|
9243 | "type": "string",
|
9244 | "kind": "expression"
|
9245 | }
|
9246 | },
|
9247 | {
|
9248 | "name": "trigger",
|
9249 | "default": "`click` \\",
|
9250 | "description": "Tooltip trigger mode",
|
9251 | "value": {
|
9252 | "type": "`hover` | `focus` ",
|
9253 | "kind": "expression"
|
9254 | }
|
9255 | },
|
9256 | {
|
9257 | "name": "visible(v-model)",
|
9258 | "default": "`false`",
|
9259 | "description": "Whether the floating tooltip card is visible or not",
|
9260 | "value": {
|
9261 | "type": "boolean",
|
9262 | "kind": "expression"
|
9263 | }
|
9264 | }
|
9265 | ]
|
9266 | },
|
9267 | {
|
9268 | "name": "a-transfer",
|
9269 | "slots": [
|
9270 | {
|
9271 | "name": "footer",
|
9272 | "description": "customize the progress dot by setting a scoped slot"
|
9273 | },
|
9274 | {
|
9275 | "name": "render",
|
9276 | "description": "The function to generate the item shown on a column. Based on an record (element of the dataSource array), this function should return a element which is generated from that record. Also, it can return a plain object with `value` and `label`, `label` is a element and `value` is for title"
|
9277 | }
|
9278 | ],
|
9279 | "events": [
|
9280 | {
|
9281 | "name": "change",
|
9282 | "description": "A callback function that is executed when the transfer between columns is complete."
|
9283 | },
|
9284 | {
|
9285 | "name": "scroll",
|
9286 | "description": "A callback function which is executed when scroll options list"
|
9287 | },
|
9288 | {
|
9289 | "name": "search",
|
9290 | "description": "A callback function which is executed when search field are changed"
|
9291 | },
|
9292 | {
|
9293 | "name": "selectChange",
|
9294 | "description": "A callback function which is executed when selected items are changed."
|
9295 | }
|
9296 | ],
|
9297 | "attributes": [
|
9298 | {
|
9299 | "name": "dataSource",
|
9300 | "default": "\\[]",
|
9301 | "description": "Used for setting the source data. The elements that are part of this array will be present the left column. Except the elements whose keys are included in `targetKeys` prop.",
|
9302 | "value": {
|
9303 | "type": "[{key: string.isRequired,title: string.isRequired,description: string,disabled: bool}]",
|
9304 | "kind": "expression"
|
9305 | }
|
9306 | },
|
9307 | {
|
9308 | "name": "disabled",
|
9309 | "default": "false",
|
9310 | "description": "Whether disabled transfer",
|
9311 | "value": {
|
9312 | "type": "boolean",
|
9313 | "kind": "expression"
|
9314 | }
|
9315 | },
|
9316 | {
|
9317 | "name": "filterOption",
|
9318 | "default": "",
|
9319 | "description": "A function to determine whether an item should show in search result list",
|
9320 | "value": {
|
9321 | "type": "(inputValue, option): boolean",
|
9322 | "kind": "expression"
|
9323 | }
|
9324 | },
|
9325 | {
|
9326 | "name": "footer",
|
9327 | "default": "",
|
9328 | "description": "customize the progress dot by setting a scoped slot",
|
9329 | "value": {
|
9330 | "type": "slot=\"footer\" slot-scope=\"props\"",
|
9331 | "kind": "expression"
|
9332 | }
|
9333 | },
|
9334 | {
|
9335 | "name": "listStyle",
|
9336 | "default": "",
|
9337 | "description": "A custom CSS style used for rendering the transfer columns.",
|
9338 | "value": {
|
9339 | "type": "CSSProperties",
|
9340 | "kind": "expression"
|
9341 | }
|
9342 | },
|
9343 | {
|
9344 | "name": "locale",
|
9345 | "default": "`{ itemUnit: 'item', itemsUnit: 'items', notFoundContent: 'The list is empty', searchPlaceholder: 'Search here' }`",
|
9346 | "description": "i18n text including filter, empty text, item unit, etc",
|
9347 | "value": {
|
9348 | "type": "object",
|
9349 | "kind": "expression"
|
9350 | }
|
9351 | },
|
9352 | {
|
9353 | "name": "oneWay",
|
9354 | "default": "false",
|
9355 | "description": "Display as single direction style",
|
9356 | "value": {
|
9357 | "type": "boolean",
|
9358 | "kind": "expression"
|
9359 | }
|
9360 | },
|
9361 | {
|
9362 | "name": "operations",
|
9363 | "default": "\\['>', '<']",
|
9364 | "description": "A set of operations that are sorted from top to bottom.",
|
9365 | "value": {
|
9366 | "type": "string[]",
|
9367 | "kind": "expression"
|
9368 | }
|
9369 | },
|
9370 | {
|
9371 | "name": "operationStyle",
|
9372 | "default": "-",
|
9373 | "description": "A custom CSS style used for rendering the operations column",
|
9374 | "value": {
|
9375 | "type": "CSSProperties",
|
9376 | "kind": "expression"
|
9377 | }
|
9378 | },
|
9379 | {
|
9380 | "name": "pagination",
|
9381 | "default": "false",
|
9382 | "description": "Use pagination. Not work in render props",
|
9383 | "value": {
|
9384 | "type": "boolean | { pageSize: number }",
|
9385 | "kind": "expression"
|
9386 | }
|
9387 | },
|
9388 | {
|
9389 | "name": "render",
|
9390 | "default": "",
|
9391 | "description": "The function to generate the item shown on a column. Based on an record (element of the dataSource array), this function should return a element which is generated from that record. Also, it can return a plain object with `value` and `label`, `label` is a element and `value` is for title",
|
9392 | "value": {
|
9393 | "type": "Function(record) | slot",
|
9394 | "kind": "expression"
|
9395 | }
|
9396 | },
|
9397 | {
|
9398 | "name": "selectedKeys(v-model)",
|
9399 | "default": "\\[]",
|
9400 | "description": "A set of keys of selected items.",
|
9401 | "value": {
|
9402 | "type": "string[]",
|
9403 | "kind": "expression"
|
9404 | }
|
9405 | },
|
9406 | {
|
9407 | "name": "showSearch",
|
9408 | "default": "false",
|
9409 | "description": "If included, a search box is shown on each column.",
|
9410 | "value": {
|
9411 | "type": "boolean",
|
9412 | "kind": "expression"
|
9413 | }
|
9414 | },
|
9415 | {
|
9416 | "name": "showSelectAll",
|
9417 | "default": "true",
|
9418 | "description": "Show select all checkbox on the header",
|
9419 | "value": {
|
9420 | "type": "boolean",
|
9421 | "kind": "expression"
|
9422 | }
|
9423 | },
|
9424 | {
|
9425 | "name": "targetKeys(v-model)",
|
9426 | "default": "\\[]",
|
9427 | "description": "A set of keys of elements that are listed on the right column.",
|
9428 | "value": {
|
9429 | "type": "string[]",
|
9430 | "kind": "expression"
|
9431 | }
|
9432 | },
|
9433 | {
|
9434 | "name": "titles",
|
9435 | "default": "-",
|
9436 | "description": "A set of titles that are sorted from left to right.",
|
9437 | "value": {
|
9438 | "type": "string[]",
|
9439 | "kind": "expression"
|
9440 | }
|
9441 | }
|
9442 | ]
|
9443 | },
|
9444 | {
|
9445 | "name": "a-tree",
|
9446 | "slots": [],
|
9447 | "events": [],
|
9448 | "attributes": []
|
9449 | },
|
9450 | {
|
9451 | "name": "a-tree",
|
9452 | "slots": [
|
9453 | {
|
9454 | "name": "switcherIcon",
|
9455 | "description": "customize collapse/expand icon of tree node"
|
9456 | },
|
9457 | {
|
9458 | "name": "title",
|
9459 | "description": "custom title"
|
9460 | }
|
9461 | ],
|
9462 | "events": [],
|
9463 | "attributes": [
|
9464 | {
|
9465 | "name": "autoExpandParent",
|
9466 | "default": "false",
|
9467 | "description": "Whether to automatically expand a parent treeNode",
|
9468 | "value": {
|
9469 | "type": "boolean",
|
9470 | "kind": "expression"
|
9471 | }
|
9472 | },
|
9473 | {
|
9474 | "name": "blockNode",
|
9475 | "default": "false",
|
9476 | "description": "Whether treeNode fill remaining horizontal space",
|
9477 | "value": {
|
9478 | "type": "boolean",
|
9479 | "kind": "expression"
|
9480 | }
|
9481 | },
|
9482 | {
|
9483 | "name": "checkable",
|
9484 | "default": "false",
|
9485 | "description": "Adds a `Checkbox` before the treeNodes",
|
9486 | "value": {
|
9487 | "type": "boolean",
|
9488 | "kind": "expression"
|
9489 | }
|
9490 | },
|
9491 | {
|
9492 | "name": "checkedKeys(v-model)",
|
9493 | "default": "{checked: string\\[] \\",
|
9494 | "description": "(Controlled) Specifies the keys of the checked treeNodes (PS: When this specifies the key of a treeNode which is also a parent treeNode, all the children treeNodes of will be checked; and vice versa, when it specifies the key of a treeNode which is a child treeNode, its parent treeNode will also be checked. When `checkable` and `checkStrictly` is true, its object has `checked` and `halfChecked` property. Regardless of whether the child or parent treeNode is checked, they won't impact each other.",
|
9495 | "value": {
|
9496 | "type": "string[] | number[] \\",
|
9497 | "kind": "expression"
|
9498 | }
|
9499 | },
|
9500 | {
|
9501 | "name": "checkStrictly",
|
9502 | "default": "false",
|
9503 | "description": "Check treeNode precisely; parent treeNode and children treeNodes are not associated",
|
9504 | "value": {
|
9505 | "type": "boolean",
|
9506 | "kind": "expression"
|
9507 | }
|
9508 | },
|
9509 | {
|
9510 | "name": "defaultExpandAll",
|
9511 | "default": "false",
|
9512 | "description": "Whether to expand all treeNodes by default",
|
9513 | "value": {
|
9514 | "type": "boolean",
|
9515 | "kind": "expression"
|
9516 | }
|
9517 | },
|
9518 | {
|
9519 | "name": "disabled",
|
9520 | "default": "false",
|
9521 | "description": "whether disabled the tree",
|
9522 | "value": {
|
9523 | "type": "bool",
|
9524 | "kind": "expression"
|
9525 | }
|
9526 | },
|
9527 | {
|
9528 | "name": "draggable",
|
9529 | "default": "false",
|
9530 | "description": "Specifies whether this Tree is draggable (IE > 8)",
|
9531 | "value": {
|
9532 | "type": "boolean",
|
9533 | "kind": "expression"
|
9534 | }
|
9535 | },
|
9536 | {
|
9537 | "name": "expandedKeys(v-model)",
|
9538 | "default": "\\[]",
|
9539 | "description": "(Controlled) Specifies the keys of the expanded treeNodes",
|
9540 | "value": {
|
9541 | "type": "string[] | number[]",
|
9542 | "kind": "expression"
|
9543 | }
|
9544 | },
|
9545 | {
|
9546 | "name": "fieldNames",
|
9547 | "default": "{ children:'children', title:'title', key:'key' }",
|
9548 | "description": "Replace the title,key and children fields in treeNode with the corresponding fields in treeData",
|
9549 | "value": {
|
9550 | "type": "object",
|
9551 | "kind": "expression"
|
9552 | }
|
9553 | },
|
9554 | {
|
9555 | "name": "filterTreeNode",
|
9556 | "default": "-",
|
9557 | "description": "Defines a function to filter (highlight) treeNodes. When the function returns `true`, the corresponding treeNode will be highlighted",
|
9558 | "value": {
|
9559 | "type": "function(node)",
|
9560 | "kind": "expression"
|
9561 | }
|
9562 | },
|
9563 | {
|
9564 | "name": "loadData",
|
9565 | "default": "-",
|
9566 | "description": "Load data asynchronously",
|
9567 | "value": {
|
9568 | "type": "function(node)",
|
9569 | "kind": "expression"
|
9570 | }
|
9571 | },
|
9572 | {
|
9573 | "name": "loadedKeys",
|
9574 | "default": "\\[]",
|
9575 | "description": "(Controlled) Set loaded tree nodes. Need work with `loadData`",
|
9576 | "value": {
|
9577 | "type": "string[] | number[]",
|
9578 | "kind": "expression"
|
9579 | }
|
9580 | },
|
9581 | {
|
9582 | "name": "multiple",
|
9583 | "default": "false",
|
9584 | "description": "Allows selecting multiple treeNodes",
|
9585 | "value": {
|
9586 | "type": "boolean",
|
9587 | "kind": "expression"
|
9588 | }
|
9589 | },
|
9590 | {
|
9591 | "name": "selectable",
|
9592 | "default": "true",
|
9593 | "description": "whether can be selected",
|
9594 | "value": {
|
9595 | "type": "boolean",
|
9596 | "kind": "expression"
|
9597 | }
|
9598 | },
|
9599 | {
|
9600 | "name": "selectedKeys(v-model)",
|
9601 | "default": "-",
|
9602 | "description": "(Controlled) Specifies the keys of the selected treeNodes",
|
9603 | "value": {
|
9604 | "type": "string[] | number[]",
|
9605 | "kind": "expression"
|
9606 | }
|
9607 | },
|
9608 | {
|
9609 | "name": "showIcon",
|
9610 | "default": "false",
|
9611 | "description": "Shows the icon before a TreeNode's title. There is no default style; you must set a custom style for it if set to `true`",
|
9612 | "value": {
|
9613 | "type": "boolean",
|
9614 | "kind": "expression"
|
9615 | }
|
9616 | },
|
9617 | {
|
9618 | "name": "showLine",
|
9619 | "default": "false",
|
9620 | "description": "Shows a connecting line",
|
9621 | "value": {
|
9622 | "type": "boolean | {showLeafIcon: boolean}(3.0+)",
|
9623 | "kind": "expression"
|
9624 | }
|
9625 | },
|
9626 | {
|
9627 | "name": "switcherIcon",
|
9628 | "default": "-",
|
9629 | "description": "customize collapse/expand icon of tree node",
|
9630 | "value": {
|
9631 | "type": "slot",
|
9632 | "kind": "expression"
|
9633 | }
|
9634 | },
|
9635 | {
|
9636 | "name": "title",
|
9637 | "default": "",
|
9638 | "description": "custom title",
|
9639 | "value": {
|
9640 | "type": "slot",
|
9641 | "kind": "expression"
|
9642 | }
|
9643 | },
|
9644 | {
|
9645 | "name": "treeData",
|
9646 | "default": "-",
|
9647 | "description": "treeNode of tree, please use `treeNodes` before v1.1.4",
|
9648 | "value": {
|
9649 | "type": "[TreeNode[]](#TreeNode)",
|
9650 | "kind": "expression"
|
9651 | }
|
9652 | },
|
9653 | {
|
9654 | "name": "virtual",
|
9655 | "default": "true",
|
9656 | "description": "Disable virtual scroll when set to false",
|
9657 | "value": {
|
9658 | "type": "boolean",
|
9659 | "kind": "expression"
|
9660 | }
|
9661 | }
|
9662 | ]
|
9663 | },
|
9664 | {
|
9665 | "name": "a-tree-node",
|
9666 | "slots": [
|
9667 | {
|
9668 | "name": "icon",
|
9669 | "description": "customize icon. When you pass component, whose render will receive full TreeNode props as component props"
|
9670 | }
|
9671 | ],
|
9672 | "events": [],
|
9673 | "attributes": [
|
9674 | {
|
9675 | "name": "checkable",
|
9676 | "default": "-",
|
9677 | "description": "When Tree is checkable, set TreeNode display Checkbox or not",
|
9678 | "value": {
|
9679 | "type": "boolean",
|
9680 | "kind": "expression"
|
9681 | }
|
9682 | },
|
9683 | {
|
9684 | "name": "class",
|
9685 | "default": "-",
|
9686 | "description": "className",
|
9687 | "value": {
|
9688 | "type": "string",
|
9689 | "kind": "expression"
|
9690 | }
|
9691 | },
|
9692 | {
|
9693 | "name": "disableCheckbox",
|
9694 | "default": "false",
|
9695 | "description": "Disables the checkbox of the treeNode",
|
9696 | "value": {
|
9697 | "type": "boolean",
|
9698 | "kind": "expression"
|
9699 | }
|
9700 | },
|
9701 | {
|
9702 | "name": "disabled",
|
9703 | "default": "false",
|
9704 | "description": "Disables the treeNode",
|
9705 | "value": {
|
9706 | "type": "boolean",
|
9707 | "kind": "expression"
|
9708 | }
|
9709 | },
|
9710 | {
|
9711 | "name": "icon",
|
9712 | "default": "-",
|
9713 | "description": "customize icon. When you pass component, whose render will receive full TreeNode props as component props",
|
9714 | "value": {
|
9715 | "type": "slot|slot-scope",
|
9716 | "kind": "expression"
|
9717 | }
|
9718 | },
|
9719 | {
|
9720 | "name": "isLeaf",
|
9721 | "default": "false",
|
9722 | "description": "Determines if this is a leaf node(effective when `loadData` is specified)",
|
9723 | "value": {
|
9724 | "type": "boolean",
|
9725 | "kind": "expression"
|
9726 | }
|
9727 | },
|
9728 | {
|
9729 | "name": "key",
|
9730 | "default": "internal calculated position of treeNode",
|
9731 | "description": "Used with (default)ExpandedKeys / (default)CheckedKeys / (default)SelectedKeys. P.S.: It must be unique in all of treeNodes of the tree!",
|
9732 | "value": {
|
9733 | "type": "string | number",
|
9734 | "kind": "expression"
|
9735 | }
|
9736 | },
|
9737 | {
|
9738 | "name": "selectable",
|
9739 | "default": "true",
|
9740 | "description": "Set whether the treeNode can be selected",
|
9741 | "value": {
|
9742 | "type": "boolean",
|
9743 | "kind": "expression"
|
9744 | }
|
9745 | },
|
9746 | {
|
9747 | "name": "style",
|
9748 | "default": "-",
|
9749 | "description": "style",
|
9750 | "value": {
|
9751 | "type": "string|object",
|
9752 | "kind": "expression"
|
9753 | }
|
9754 | },
|
9755 | {
|
9756 | "name": "title",
|
9757 | "default": "'---'",
|
9758 | "description": "Title",
|
9759 | "value": {
|
9760 | "type": "string",
|
9761 | "kind": "expression"
|
9762 | }
|
9763 | }
|
9764 | ]
|
9765 | },
|
9766 | {
|
9767 | "name": "a-directory-tree",
|
9768 | "slots": [],
|
9769 | "events": [],
|
9770 | "attributes": [
|
9771 | {
|
9772 | "name": "expandAction",
|
9773 | "default": "click",
|
9774 | "description": "Directory open logic, optional `false` `'click'` `'dblclick'`",
|
9775 | "value": {
|
9776 | "type": "string",
|
9777 | "kind": "expression"
|
9778 | }
|
9779 | }
|
9780 | ]
|
9781 | },
|
9782 | {
|
9783 | "name": "a-treeselect",
|
9784 | "slots": [],
|
9785 | "events": [],
|
9786 | "attributes": []
|
9787 | },
|
9788 | {
|
9789 | "name": "a-typography",
|
9790 | "slots": [],
|
9791 | "events": [],
|
9792 | "attributes": []
|
9793 | },
|
9794 | {
|
9795 | "name": "a-typography-text",
|
9796 | "slots": [],
|
9797 | "events": [],
|
9798 | "attributes": [
|
9799 | {
|
9800 | "name": "code",
|
9801 | "default": "false",
|
9802 | "description": "Code style",
|
9803 | "value": {
|
9804 | "type": "boolean",
|
9805 | "kind": "expression"
|
9806 | }
|
9807 | },
|
9808 | {
|
9809 | "name": "content(v-model)",
|
9810 | "default": "-",
|
9811 | "description": "When using ellipsis or editable, use content instead of children",
|
9812 | "value": {
|
9813 | "type": "string",
|
9814 | "kind": "expression"
|
9815 | }
|
9816 | },
|
9817 | {
|
9818 | "name": "copyable",
|
9819 | "default": "false",
|
9820 | "description": "Whether to be copyable, customize it via setting an object",
|
9821 | "value": {
|
9822 | "type": "boolean | [copyable](#copyable)",
|
9823 | "kind": "expression"
|
9824 | }
|
9825 | },
|
9826 | {
|
9827 | "name": "delete",
|
9828 | "default": "false",
|
9829 | "description": "Deleted line style",
|
9830 | "value": {
|
9831 | "type": "boolean",
|
9832 | "kind": "expression"
|
9833 | }
|
9834 | },
|
9835 | {
|
9836 | "name": "disabled",
|
9837 | "default": "false",
|
9838 | "description": "Disabled content",
|
9839 | "value": {
|
9840 | "type": "boolean",
|
9841 | "kind": "expression"
|
9842 | }
|
9843 | },
|
9844 | {
|
9845 | "name": "editable",
|
9846 | "default": "false",
|
9847 | "description": "If editable. Can control edit state when is object",
|
9848 | "value": {
|
9849 | "type": "boolean | [editable](#editable)",
|
9850 | "kind": "expression"
|
9851 | }
|
9852 | },
|
9853 | {
|
9854 | "name": "ellipsis",
|
9855 | "default": "false",
|
9856 | "description": "Display ellipsis when text overflows",
|
9857 | "value": {
|
9858 | "type": "boolean",
|
9859 | "kind": "expression"
|
9860 | }
|
9861 | },
|
9862 | {
|
9863 | "name": "keyboard",
|
9864 | "default": "false",
|
9865 | "description": "Keyboard style",
|
9866 | "value": {
|
9867 | "type": "boolean",
|
9868 | "kind": "expression"
|
9869 | }
|
9870 | },
|
9871 | {
|
9872 | "name": "mark",
|
9873 | "default": "false",
|
9874 | "description": "Marked style",
|
9875 | "value": {
|
9876 | "type": "boolean",
|
9877 | "kind": "expression"
|
9878 | }
|
9879 | },
|
9880 | {
|
9881 | "name": "strong",
|
9882 | "default": "false",
|
9883 | "description": "Bold style",
|
9884 | "value": {
|
9885 | "type": "boolean",
|
9886 | "kind": "expression"
|
9887 | }
|
9888 | },
|
9889 | {
|
9890 | "name": "type",
|
9891 | "default": "`warning` \\",
|
9892 | "description": "Content type",
|
9893 | "value": {
|
9894 | "type": "`secondary` | `success` ",
|
9895 | "kind": "expression"
|
9896 | }
|
9897 | },
|
9898 | {
|
9899 | "name": "underline",
|
9900 | "default": "false",
|
9901 | "description": "Underlined style",
|
9902 | "value": {
|
9903 | "type": "boolean",
|
9904 | "kind": "expression"
|
9905 | }
|
9906 | }
|
9907 | ]
|
9908 | },
|
9909 | {
|
9910 | "name": "a-typography-title",
|
9911 | "slots": [],
|
9912 | "events": [],
|
9913 | "attributes": [
|
9914 | {
|
9915 | "name": "code",
|
9916 | "default": "false",
|
9917 | "description": "Code style",
|
9918 | "value": {
|
9919 | "type": "boolean",
|
9920 | "kind": "expression"
|
9921 | }
|
9922 | },
|
9923 | {
|
9924 | "name": "content(v-model)",
|
9925 | "default": "-",
|
9926 | "description": "When using ellipsis or editable, use content instead of children",
|
9927 | "value": {
|
9928 | "type": "string",
|
9929 | "kind": "expression"
|
9930 | }
|
9931 | },
|
9932 | {
|
9933 | "name": "copyable",
|
9934 | "default": "false",
|
9935 | "description": "Whether to be copyable, customize it via setting an object",
|
9936 | "value": {
|
9937 | "type": "boolean | [copyable](#copyable)",
|
9938 | "kind": "expression"
|
9939 | }
|
9940 | },
|
9941 | {
|
9942 | "name": "delete",
|
9943 | "default": "false",
|
9944 | "description": "Deleted line style",
|
9945 | "value": {
|
9946 | "type": "boolean",
|
9947 | "kind": "expression"
|
9948 | }
|
9949 | },
|
9950 | {
|
9951 | "name": "disabled",
|
9952 | "default": "false",
|
9953 | "description": "Disabled content",
|
9954 | "value": {
|
9955 | "type": "boolean",
|
9956 | "kind": "expression"
|
9957 | }
|
9958 | },
|
9959 | {
|
9960 | "name": "editable",
|
9961 | "default": "false",
|
9962 | "description": "If editable. Can control edit state when is object",
|
9963 | "value": {
|
9964 | "type": "boolean | [editable](#editable)",
|
9965 | "kind": "expression"
|
9966 | }
|
9967 | },
|
9968 | {
|
9969 | "name": "ellipsis",
|
9970 | "default": "false",
|
9971 | "description": "Display ellipsis when text overflows, can configure rows and expandable by using object",
|
9972 | "value": {
|
9973 | "type": "boolean | [ellipsis](#ellipsis)",
|
9974 | "kind": "expression"
|
9975 | }
|
9976 | },
|
9977 | {
|
9978 | "name": "level",
|
9979 | "default": "1",
|
9980 | "description": "Set content importance. Match with `h1`, `h2`, `h3`, `h4`, `h5`",
|
9981 | "value": {
|
9982 | "type": "number: 1, 2, 3, 4, 5",
|
9983 | "kind": "expression"
|
9984 | }
|
9985 | },
|
9986 | {
|
9987 | "name": "mark",
|
9988 | "default": "false",
|
9989 | "description": "Marked style",
|
9990 | "value": {
|
9991 | "type": "boolean",
|
9992 | "kind": "expression"
|
9993 | }
|
9994 | },
|
9995 | {
|
9996 | "name": "type",
|
9997 | "default": "`warning` \\",
|
9998 | "description": "Content type",
|
9999 | "value": {
|
10000 | "type": "`secondary` | `success` ",
|
10001 | "kind": "expression"
|
10002 | }
|
10003 | },
|
10004 | {
|
10005 | "name": "underline",
|
10006 | "default": "false",
|
10007 | "description": "Underlined style",
|
10008 | "value": {
|
10009 | "type": "boolean",
|
10010 | "kind": "expression"
|
10011 | }
|
10012 | }
|
10013 | ]
|
10014 | },
|
10015 | {
|
10016 | "name": "a-typography-paragraph",
|
10017 | "slots": [],
|
10018 | "events": [],
|
10019 | "attributes": [
|
10020 | {
|
10021 | "name": "code",
|
10022 | "default": "false",
|
10023 | "description": "Code style",
|
10024 | "value": {
|
10025 | "type": "boolean",
|
10026 | "kind": "expression"
|
10027 | }
|
10028 | },
|
10029 | {
|
10030 | "name": "content(v-model)",
|
10031 | "default": "-",
|
10032 | "description": "When using ellipsis or editable, use content instead of children",
|
10033 | "value": {
|
10034 | "type": "string",
|
10035 | "kind": "expression"
|
10036 | }
|
10037 | },
|
10038 | {
|
10039 | "name": "copyable",
|
10040 | "default": "false",
|
10041 | "description": "Whether to be copyable, customize it via setting an object",
|
10042 | "value": {
|
10043 | "type": "boolean | [copyable](#copyable)",
|
10044 | "kind": "expression"
|
10045 | }
|
10046 | },
|
10047 | {
|
10048 | "name": "delete",
|
10049 | "default": "false",
|
10050 | "description": "Deleted line style",
|
10051 | "value": {
|
10052 | "type": "boolean",
|
10053 | "kind": "expression"
|
10054 | }
|
10055 | },
|
10056 | {
|
10057 | "name": "disabled",
|
10058 | "default": "false",
|
10059 | "description": "Disabled content",
|
10060 | "value": {
|
10061 | "type": "boolean",
|
10062 | "kind": "expression"
|
10063 | }
|
10064 | },
|
10065 | {
|
10066 | "name": "editable",
|
10067 | "default": "false",
|
10068 | "description": "If editable. Can control edit state when is object",
|
10069 | "value": {
|
10070 | "type": "boolean | [editable](#editable)",
|
10071 | "kind": "expression"
|
10072 | }
|
10073 | },
|
10074 | {
|
10075 | "name": "ellipsis",
|
10076 | "default": "false",
|
10077 | "description": "Display ellipsis when text overflows, can configure rows and expandable by using object",
|
10078 | "value": {
|
10079 | "type": "boolean | [ellipsis](#ellipsis)",
|
10080 | "kind": "expression"
|
10081 | }
|
10082 | },
|
10083 | {
|
10084 | "name": "mark",
|
10085 | "default": "false",
|
10086 | "description": "Marked style",
|
10087 | "value": {
|
10088 | "type": "boolean",
|
10089 | "kind": "expression"
|
10090 | }
|
10091 | },
|
10092 | {
|
10093 | "name": "strong",
|
10094 | "default": "false",
|
10095 | "description": "Bold style",
|
10096 | "value": {
|
10097 | "type": "boolean",
|
10098 | "kind": "expression"
|
10099 | }
|
10100 | },
|
10101 | {
|
10102 | "name": "type",
|
10103 | "default": "`warning` \\",
|
10104 | "description": "Content type",
|
10105 | "value": {
|
10106 | "type": "`secondary` | `success` ",
|
10107 | "kind": "expression"
|
10108 | }
|
10109 | },
|
10110 | {
|
10111 | "name": "underline",
|
10112 | "default": "false",
|
10113 | "description": "Underlined style",
|
10114 | "value": {
|
10115 | "type": "boolean",
|
10116 | "kind": "expression"
|
10117 | }
|
10118 | }
|
10119 | ]
|
10120 | },
|
10121 | {
|
10122 | "name": "a-upload",
|
10123 | "slots": [
|
10124 | {
|
10125 | "name": "downloadIcon",
|
10126 | "description": "custom download icon"
|
10127 | },
|
10128 | {
|
10129 | "name": "iconRender",
|
10130 | "description": "Custom show icon"
|
10131 | },
|
10132 | {
|
10133 | "name": "itemRender",
|
10134 | "description": "Custom item of uploadList"
|
10135 | },
|
10136 | {
|
10137 | "name": "previewIcon",
|
10138 | "description": "custom preview icon"
|
10139 | },
|
10140 | {
|
10141 | "name": "removeIcon",
|
10142 | "description": "custom remove icon"
|
10143 | }
|
10144 | ],
|
10145 | "events": [
|
10146 | {
|
10147 | "name": "change",
|
10148 | "description": "A callback function, can be executed when uploading state is changing. See [change](#change)"
|
10149 | },
|
10150 | {
|
10151 | "name": "download",
|
10152 | "description": "Click the method to download the file, pass the method to perform the method logic, do not pass the default jump to the new TAB."
|
10153 | },
|
10154 | {
|
10155 | "name": "drop",
|
10156 | "description": "A callback function executed when files are dragged and dropped into upload area"
|
10157 | },
|
10158 | {
|
10159 | "name": "preview",
|
10160 | "description": "A callback function, will be executed when file link or preview icon is clicked."
|
10161 | },
|
10162 | {
|
10163 | "name": "reject",
|
10164 | "description": "A callback function, will be executed when drop files is not accept."
|
10165 | },
|
10166 | {
|
10167 | "name": "remove",
|
10168 | "description": "A callback function, will be executed when removing file button is clicked, remove event will be prevented when return value is false or a Promise which resolve(false) or reject"
|
10169 | }
|
10170 | ],
|
10171 | "attributes": [
|
10172 | {
|
10173 | "name": "accept",
|
10174 | "default": "-",
|
10175 | "description": "File types that can be accepted. See [input accept Attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept)",
|
10176 | "value": {
|
10177 | "type": "string",
|
10178 | "kind": "expression"
|
10179 | }
|
10180 | },
|
10181 | {
|
10182 | "name": "action",
|
10183 | "default": "-",
|
10184 | "description": "Uploading URL",
|
10185 | "value": {
|
10186 | "type": "string|(file) => `Promise`",
|
10187 | "kind": "expression"
|
10188 | }
|
10189 | },
|
10190 | {
|
10191 | "name": "beforeUpload",
|
10192 | "default": "Promise\\`",
|
10193 | "description": "Hook function which will be executed before uploading. Uploading will be stopped with `false` or a rejected Promise returned.",
|
10194 | "value": {
|
10195 | "type": "(file, fileList) => `boolean",
|
10196 | "kind": "expression"
|
10197 | }
|
10198 | },
|
10199 | {
|
10200 | "name": "customRequest",
|
10201 | "default": "-",
|
10202 | "description": "override for the default xhr behavior allowing for additional customization and ability to implement your own XMLHttpRequest",
|
10203 | "value": {
|
10204 | "type": "Function",
|
10205 | "kind": "expression"
|
10206 | }
|
10207 | },
|
10208 | {
|
10209 | "name": "data",
|
10210 | "default": "-",
|
10211 | "description": "Uploading params or function which can return uploading params.",
|
10212 | "value": {
|
10213 | "type": "object|function(file)",
|
10214 | "kind": "expression"
|
10215 | }
|
10216 | },
|
10217 | {
|
10218 | "name": "directory",
|
10219 | "default": "false",
|
10220 | "description": "support upload whole directory ([caniuse](https://caniuse.com/#feat=input-file-directory))",
|
10221 | "value": {
|
10222 | "type": "boolean",
|
10223 | "kind": "expression"
|
10224 | }
|
10225 | },
|
10226 | {
|
10227 | "name": "directory",
|
10228 | "default": "false",
|
10229 | "description": "Support upload whole directory([caniuse](https://caniuse.com/#feat=input-file-directory))",
|
10230 | "value": {
|
10231 | "type": "boolean",
|
10232 | "kind": "expression"
|
10233 | }
|
10234 | },
|
10235 | {
|
10236 | "name": "disabled",
|
10237 | "default": "false",
|
10238 | "description": "disable upload button",
|
10239 | "value": {
|
10240 | "type": "boolean",
|
10241 | "kind": "expression"
|
10242 | }
|
10243 | },
|
10244 | {
|
10245 | "name": "downloadIcon",
|
10246 | "default": "-",
|
10247 | "description": "custom download icon",
|
10248 | "value": {
|
10249 | "type": "v-slot:iconRender=\"{file: UploadFile}\"",
|
10250 | "kind": "expression"
|
10251 | }
|
10252 | },
|
10253 | {
|
10254 | "name": "fileList",
|
10255 | "default": "-",
|
10256 | "description": "List of files that have been uploaded (controlled). Here is a common issue [#2423](https://github.com/ant-design/ant-design/issues/2423) when using it",
|
10257 | "value": {
|
10258 | "type": "object[]",
|
10259 | "kind": "expression"
|
10260 | }
|
10261 | },
|
10262 | {
|
10263 | "name": "headers",
|
10264 | "default": "-",
|
10265 | "description": "Set request headers, valid above IE10.",
|
10266 | "value": {
|
10267 | "type": "object",
|
10268 | "kind": "expression"
|
10269 | }
|
10270 | },
|
10271 | {
|
10272 | "name": "iconRender",
|
10273 | "default": "-",
|
10274 | "description": "Custom show icon",
|
10275 | "value": {
|
10276 | "type": "v-slot:iconRender=\"{file: UploadFile, listType?: UploadListType}\"",
|
10277 | "kind": "expression"
|
10278 | }
|
10279 | },
|
10280 | {
|
10281 | "name": "isImageUrl",
|
10282 | "default": "-",
|
10283 | "description": "Customize if render <img /> in thumbnail",
|
10284 | "value": {
|
10285 | "type": "(file: UploadFile) => boolean",
|
10286 | "kind": "expression"
|
10287 | }
|
10288 | },
|
10289 | {
|
10290 | "name": "itemRender",
|
10291 | "default": "-",
|
10292 | "description": "Custom item of uploadList",
|
10293 | "value": {
|
10294 | "type": "v-slot:itemRender=\"{originNode: ReactElement, file: UploadFile, fileList: object[], actions: { download: function, preview: function, remove: function }\"",
|
10295 | "kind": "expression"
|
10296 | }
|
10297 | },
|
10298 | {
|
10299 | "name": "listType",
|
10300 | "default": "`text`",
|
10301 | "description": "Built-in stylesheets, support for three types: `text`, `picture` or `picture-card`",
|
10302 | "value": {
|
10303 | "type": "string",
|
10304 | "kind": "expression"
|
10305 | }
|
10306 | },
|
10307 | {
|
10308 | "name": "maxCount",
|
10309 | "default": "-",
|
10310 | "description": "Limit the number of uploaded files. Will replace current one when `maxCount` is `1`",
|
10311 | "value": {
|
10312 | "type": "number",
|
10313 | "kind": "expression"
|
10314 | }
|
10315 | },
|
10316 | {
|
10317 | "name": "method",
|
10318 | "default": "`post`",
|
10319 | "description": "http method of upload request",
|
10320 | "value": {
|
10321 | "type": "string",
|
10322 | "kind": "expression"
|
10323 | }
|
10324 | },
|
10325 | {
|
10326 | "name": "multiple",
|
10327 | "default": "false",
|
10328 | "description": "Whether to support selected multiple file. `IE10+` supported. You can select multiple files with CTRL holding down while multiple is set to be true",
|
10329 | "value": {
|
10330 | "type": "boolean",
|
10331 | "kind": "expression"
|
10332 | }
|
10333 | },
|
10334 | {
|
10335 | "name": "name",
|
10336 | "default": "`file`",
|
10337 | "description": "The name of uploading file",
|
10338 | "value": {
|
10339 | "type": "string",
|
10340 | "kind": "expression"
|
10341 | }
|
10342 | },
|
10343 | {
|
10344 | "name": "openFileDialogOnClick",
|
10345 | "default": "true",
|
10346 | "description": "click open file dialog",
|
10347 | "value": {
|
10348 | "type": "boolean",
|
10349 | "kind": "expression"
|
10350 | }
|
10351 | },
|
10352 | {
|
10353 | "name": "openFileDialogOnClick",
|
10354 | "default": "true",
|
10355 | "description": "Click open file dialog",
|
10356 | "value": {
|
10357 | "type": "boolean",
|
10358 | "kind": "expression"
|
10359 | }
|
10360 | },
|
10361 | {
|
10362 | "name": "previewFile",
|
10363 | "default": "-",
|
10364 | "description": "Customize preview file logic",
|
10365 | "value": {
|
10366 | "type": "(file: File | Blob) => Promise<dataURL: string>",
|
10367 | "kind": "expression"
|
10368 | }
|
10369 | },
|
10370 | {
|
10371 | "name": "previewIcon",
|
10372 | "default": "-",
|
10373 | "description": "custom preview icon",
|
10374 | "value": {
|
10375 | "type": "v-slot:iconRender=\"{file: UploadFile}\"",
|
10376 | "kind": "expression"
|
10377 | }
|
10378 | },
|
10379 | {
|
10380 | "name": "progress",
|
10381 | "default": "{ strokeWidth: 2, showInfo: false }",
|
10382 | "description": "Custom progress bar",
|
10383 | "value": {
|
10384 | "type": "[ProgressProps](/components/progress/#API) (support `type=\"line\"` only)",
|
10385 | "kind": "expression"
|
10386 | }
|
10387 | },
|
10388 | {
|
10389 | "name": "removeIcon",
|
10390 | "default": "-",
|
10391 | "description": "custom remove icon",
|
10392 | "value": {
|
10393 | "type": "v-slot:iconRender=\"{file: UploadFile}\"",
|
10394 | "kind": "expression"
|
10395 | }
|
10396 | },
|
10397 | {
|
10398 | "name": "showUploadList",
|
10399 | "default": "true",
|
10400 | "description": "Whether to show default upload list, could be an object to specify `showPreviewIcon` and `showRemoveIcon` individually",
|
10401 | "value": {
|
10402 | "type": "Boolean or { showPreviewIcon?: boolean, showRemoveIcon?: booleanshowDownloadIcon?: boolean }",
|
10403 | "kind": "expression"
|
10404 | }
|
10405 | },
|
10406 | {
|
10407 | "name": "supportServerRender",
|
10408 | "default": "false",
|
10409 | "description": "Need to be turned on while the server side is rendering.",
|
10410 | "value": {
|
10411 | "type": "boolean",
|
10412 | "kind": "expression"
|
10413 | }
|
10414 | },
|
10415 | {
|
10416 | "name": "withCredentials",
|
10417 | "default": "false",
|
10418 | "description": "ajax upload with cookie sent",
|
10419 | "value": {
|
10420 | "type": "boolean",
|
10421 | "kind": "expression"
|
10422 | }
|
10423 | }
|
10424 | ]
|
10425 | },
|
10426 | {
|
10427 | "name": "a-upload-file",
|
10428 | "slots": [],
|
10429 | "events": [],
|
10430 | "attributes": [
|
10431 | {
|
10432 | "name": "name",
|
10433 | "default": "-",
|
10434 | "description": "File name",
|
10435 | "value": {
|
10436 | "type": "string",
|
10437 | "kind": "expression"
|
10438 | }
|
10439 | },
|
10440 | {
|
10441 | "name": "percent",
|
10442 | "default": "-",
|
10443 | "description": "Upload progress percent",
|
10444 | "value": {
|
10445 | "type": "number",
|
10446 | "kind": "expression"
|
10447 | }
|
10448 | },
|
10449 | {
|
10450 | "name": "status",
|
10451 | "default": "`done` \\",
|
10452 | "description": "Upload status. Show different style when configured",
|
10453 | "value": {
|
10454 | "type": "`error` | `success` ",
|
10455 | "kind": "expression"
|
10456 | }
|
10457 | },
|
10458 | {
|
10459 | "name": "thumbUrl",
|
10460 | "default": "-",
|
10461 | "description": "Thumb image url",
|
10462 | "value": {
|
10463 | "type": "string",
|
10464 | "kind": "expression"
|
10465 | }
|
10466 | },
|
10467 | {
|
10468 | "name": "uid",
|
10469 | "default": "-",
|
10470 | "description": "unique id. Will auto generate when not provided",
|
10471 | "value": {
|
10472 | "type": "string",
|
10473 | "kind": "expression"
|
10474 | }
|
10475 | },
|
10476 | {
|
10477 | "name": "url",
|
10478 | "default": "-",
|
10479 | "description": "Download url",
|
10480 | "value": {
|
10481 | "type": "string",
|
10482 | "kind": "expression"
|
10483 | }
|
10484 | }
|
10485 | ]
|
10486 | }
|
10487 | ],
|
10488 | "attributes": [],
|
10489 | "types-syntax": "typescript"
|
10490 | }
|
10491 | }
|
10492 | } |
\ | No newline at end of file |