Update API doc

pull/5098/head
GitHub Actions Bot 2024-01-15 14:02:00 +00:00
parent 5cfd122598
commit ac8fedeccf
1 changed files with 96 additions and 2 deletions

View File

@ -7590,6 +7590,53 @@
], ],
"methods": [] "methods": []
}, },
"CalendarDateContext": {
"description": "Defines current date options in Calendar component.",
"relatedProp": "",
"props": [
{
"name": "day",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Current date."
},
{
"name": "month",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Current month state."
},
{
"name": "year",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Current year state."
},
{
"name": "today",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Current today state of the calendar's day."
},
{
"name": "selectable",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Selectable state of the day."
}
],
"methods": []
},
"CalendarContext": { "CalendarContext": {
"description": "Defines current options in Calendar component.", "description": "Defines current options in Calendar component.",
"relatedProp": "", "relatedProp": "",
@ -7598,7 +7645,7 @@
"name": "date", "name": "date",
"optional": false, "optional": false,
"readonly": false, "readonly": false,
"type": "undefined | null | string | string[] | Date | Date[]", "type": "CalendarDateContext",
"default": "", "default": "",
"description": "Current date." "description": "Current date."
}, },
@ -8202,6 +8249,53 @@
], ],
"methods": [] "methods": []
}, },
"CalendarDateSlotOptions": {
"description": "Defines valid options of the date slot in Calendar component.",
"relatedProp": "",
"props": [
{
"name": "day",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Current date."
},
{
"name": "month",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Current month state."
},
{
"name": "year",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Current year state."
},
{
"name": "today",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Current today state of the calendar's day."
},
{
"name": "selectable",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Selectable state of the day."
}
],
"methods": []
},
"CalendarSlots": { "CalendarSlots": {
"description": "Defines valid slots in Calendar component.", "description": "Defines valid slots in Calendar component.",
"relatedProp": "", "relatedProp": "",
@ -8225,7 +8319,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "optional": false,
"type": "{\n \t <span class=\"ml-3 doc-option-parameter-name\">date</span>: <span class=\"doc-option-parameter-type\">undefined</span>, <span class=\"doc-option-parameter-type\">// Value of the component.</span>\n }" "type": "{\n \t <span class=\"ml-3 doc-option-parameter-name\">date</span>: <span class=\"doc-option-parameter-type\">CalendarDateSlotOptions</span>, <span class=\"doc-option-parameter-type\">// Value of the component.</span>\n }"
} }
], ],
"returnType": "VNode<RendererNode, RendererElement, Object>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",