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 | |