fix doc and api-gen

This commit is contained in:
Tuğçe Küçükoğlu 2021-12-07 09:21:20 +03:00
parent 52e2b79a92
commit b97a34f9ac
7 changed files with 26 additions and 26 deletions

View file

@ -13,25 +13,25 @@ const CascadeSelectProps = [
}, },
{ {
name: "optionLabel", name: "optionLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option." description: "Property name or getter function to use as the label of an option."
}, },
{ {
name: "optionValue", name: "optionValue",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
}, },
{ {
name: "optionGroupLabel", name: "optionGroupLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option group." description: "Property name or getter function to use as the label of an option group."
}, },
{ {
name: "optionGroupChildren", name: "optionGroupChildren",
type: "array", type: "array | function",
default: "null", default: "null",
description: "Property name or getter function to retrieve the items of a group." description: "Property name or getter function to retrieve the items of a group."
}, },

View file

@ -13,13 +13,13 @@ const DropdownProps = [
}, },
{ {
name: "optionLabel", name: "optionLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option." description: "Property name or getter function to use as the label of an option."
}, },
{ {
name: "optionValue", name: "optionValue",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
}, },
@ -31,13 +31,13 @@ const DropdownProps = [
}, },
{ {
name: "optionGroupLabel", name: "optionGroupLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option group." description: "Property name or getter function to use as the label of an option group."
}, },
{ {
name: "optionGroupChildren", name: "optionGroupChildren",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function that refers to the children options of option group." description: "Property name or getter function that refers to the children options of option group."
}, },

View file

@ -13,31 +13,31 @@ const ListboxProps = [
}, },
{ {
name: "optionLabel", name: "optionLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option." description: "Property name or getter function to use as the label of an option."
}, },
{ {
name: "optionValue", name: "optionValue",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
}, },
{ {
name: "optionDisabled", name: "optionDisabled",
type: "boolean", type: "boolean | function",
default: "null", default: "null",
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined." description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
}, },
{ {
name: "optionGroupLabel", name: "optionGroupLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option group." description: "Property name or getter function to use as the label of an option group."
}, },
{ {
name: "optionGroupChildren", name: "optionGroupChildren",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function that refers to the children options of option group." description: "Property name or getter function that refers to the children options of option group."
}, },

View file

@ -19,25 +19,25 @@ const MultiSelectProps = [
}, },
{ {
name: "optionValue", name: "optionValue",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
}, },
{ {
name: "optionDisabled", name: "optionDisabled",
type: "boolean", type: "boolean | function",
default: "null", default: "null",
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined." description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
}, },
{ {
name: "optionGroupLabel", name: "optionGroupLabel",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function to use as the label of an option group." description: "Property name or getter function to use as the label of an option group."
}, },
{ {
name: "optionGroupChildren", name: "optionGroupChildren",
type: "string", type: "string | function",
default: "null", default: "null",
description: "Property name or getter function that refers to the children options of option group." description: "Property name or getter function that refers to the children options of option group."
}, },

View file

@ -156,25 +156,25 @@ data() {
</tr> </tr>
<tr> <tr>
<td>optionLabel</td> <td>optionLabel</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to use as the label of an option.</td> <td>Property name or getter function to use as the label of an option.</td>
</tr> </tr>
<tr> <tr>
<td>optionValue</td> <td>optionValue</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to use as the value of an option, defaults to the option itself when not defined.</td> <td>Property name or getter function to use as the value of an option, defaults to the option itself when not defined.</td>
</tr> </tr>
<tr> <tr>
<td>optionGroupLabel</td> <td>optionGroupLabel</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to use as the label of an option group.</td> <td>Property name or getter function to use as the label of an option group.</td>
</tr> </tr>
<tr> <tr>
<td>optionGroupChildren</td> <td>optionGroupChildren</td>
<td>array</td> <td>array | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to retrieve the items of a group.</td> <td>Property name or getter function to retrieve the items of a group.</td>
</tr> </tr>

View file

@ -411,7 +411,7 @@ export default {
<td>option: OptionGroup instance <br /> <td>option: OptionGroup instance <br />
index: Index of the option group</td> index: Index of the option group</td>
</tr> </tr>
<tr> <tr>
<td>value</td> <td>value</td>
<td>value: Value of the component <br /> <td>value: Value of the component <br />
placeholder: Placeholder prop value</td> placeholder: Placeholder prop value</td>

View file

@ -142,13 +142,13 @@ export default {
</tr> </tr>
<tr> <tr>
<td>optionLabel</td> <td>optionLabel</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to use as the label of an option.</td> <td>Property name or getter function to use as the label of an option.</td>
</tr> </tr>
<tr> <tr>
<td>optionValue</td> <td>optionValue</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to use as the value of an option, defaults to the option itself when not defined.</td> <td>Property name or getter function to use as the value of an option, defaults to the option itself when not defined.</td>
</tr> </tr>
@ -160,13 +160,13 @@ export default {
</tr> </tr>
<tr> <tr>
<td>optionGroupLabel</td> <td>optionGroupLabel</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function to use as the label of an option group.</td> <td>Property name or getter function to use as the label of an option group.</td>
</tr> </tr>
<tr> <tr>
<td>optionGroupChildren</td> <td>optionGroupChildren</td>
<td>string</td> <td>string | function</td>
<td>null</td> <td>null</td>
<td>Property name or getter function that refers to the children options of option group.</td> <td>Property name or getter function that refers to the children options of option group.</td>
</tr> </tr>