update api-generator
parent
2a2c97703c
commit
cb659b73ef
|
@ -5,12 +5,6 @@ const AccordionTabProps = [
|
||||||
default: "null",
|
default: "null",
|
||||||
description: "Orientation of tab headers."
|
description: "Orientation of tab headers."
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "active",
|
|
||||||
type: "boolean",
|
|
||||||
default: "null",
|
|
||||||
description: "Visibility of the content."
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: "disabled",
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
|
|
|
@ -95,6 +95,18 @@ const AutoCompleteProps = [
|
||||||
default: "false",
|
default: "false",
|
||||||
description: "When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions."
|
description: "When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: "panelClass",
|
||||||
type: "string",
|
type: "string",
|
||||||
|
|
|
@ -233,6 +233,18 @@ const CalendarProps = [
|
||||||
type: "string",
|
type: "string",
|
||||||
default: "null",
|
default: "null",
|
||||||
description: "Style class of the input field."
|
description: "Style class of the input field."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,43 @@ const CheckboxProps = [
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: "false",
|
default: "false",
|
||||||
description: "Allows to select a boolean value instead of multiple values."
|
description: "Allows to select a boolean value instead of multiple values."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
const CheckboxEvents = [
|
||||||
|
{
|
||||||
|
"name": "click",
|
||||||
|
"description": "Callback to invoke on value click.",
|
||||||
|
arguments: [
|
||||||
|
{
|
||||||
|
name: "event",
|
||||||
|
type: "object",
|
||||||
|
description: "Browser event"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "change",
|
||||||
|
"description": "Callback to invoke on value change.",
|
||||||
|
arguments: [
|
||||||
|
{
|
||||||
|
name: "event",
|
||||||
|
type: "object",
|
||||||
|
description: "Browser event"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -23,6 +60,7 @@ module.exports = {
|
||||||
checkbox: {
|
checkbox: {
|
||||||
name: "Checkbox",
|
name: "Checkbox",
|
||||||
description: "Checkbox is an extension to standard checkbox element with theming.",
|
description: "Checkbox is an extension to standard checkbox element with theming.",
|
||||||
props: CheckboxProps
|
props: CheckboxProps,
|
||||||
|
events: CheckboxEvents
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,18 @@ const ChipsProps = [
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: "false",
|
default: "false",
|
||||||
description: "Whether to allow duplicate values or not."
|
description: "Whether to allow duplicate values or not."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -130,25 +130,11 @@ const DialogProps = [
|
||||||
const DialogEvents = [
|
const DialogEvents = [
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: "hide",
|
||||||
description: "Callback to invoke when dialog is hidden.",
|
description: "Callback to invoke when dialog is hidden."
|
||||||
arguments: [
|
|
||||||
{
|
|
||||||
name: "event",
|
|
||||||
type: "object",
|
|
||||||
description: "Event Object"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: "show",
|
||||||
description: "Callback to invoke when dialog is showed.",
|
description: "Callback to invoke when dialog is showed."
|
||||||
arguments: [
|
|
||||||
{
|
|
||||||
name: "event",
|
|
||||||
type: "object",
|
|
||||||
description: "Event Object"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maximize",
|
name: "maximize",
|
||||||
|
|
|
@ -136,6 +136,18 @@ const InputNumberProps = [
|
||||||
type: "string",
|
type: "string",
|
||||||
default: "null",
|
default: "null",
|
||||||
description: "Style class of the input field."
|
description: "Style class of the input field."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,29 @@ const InputSwitchProps = [
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: "null",
|
default: "null",
|
||||||
description: "Specifies whether a inputswitch should be checked or not."
|
description: "Specifies whether a inputswitch should be checked or not."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
const InputSwitchEvents = [
|
||||||
|
{
|
||||||
|
name: "click",
|
||||||
|
description: "Callback to invoke on click."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "change",
|
||||||
|
description: "Callback to invoke on value change."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -11,6 +34,7 @@ module.exports = {
|
||||||
inputswitch: {
|
inputswitch: {
|
||||||
name: "InputSwitch",
|
name: "InputSwitch",
|
||||||
description: "InputSwitch is used to select a boolean value.",
|
description: "InputSwitch is used to select a boolean value.",
|
||||||
props: InputSwitchProps
|
props: InputSwitchProps,
|
||||||
|
events: InputSwitchEvents
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -65,6 +65,22 @@ const OrderListEvents = [
|
||||||
'Direction of the change; "up", "down", "bottom", "top"'
|
'Direction of the change; "up", "down", "bottom", "top"'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "selection-change",
|
||||||
|
description: "Callback to invoke when selection changes.",
|
||||||
|
arguments: [
|
||||||
|
{
|
||||||
|
name: "event.originalEvent",
|
||||||
|
type: "object",
|
||||||
|
description: "Browser event"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "event.value",
|
||||||
|
type: "array",
|
||||||
|
description: "Ordered list"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,18 @@ const PasswordProps = [
|
||||||
default: "body",
|
default: "body",
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "hideIcon",
|
||||||
|
type: "string",
|
||||||
|
default: "pi pi-eye-slash",
|
||||||
|
description: "Icon to hide displaying the password as plain text."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "showIcon",
|
||||||
|
type: "string",
|
||||||
|
default: "pi pi-eye",
|
||||||
|
description: "Icon to show displaying the password as plain text."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: "inputStyle",
|
||||||
type: "any",
|
type: "any",
|
||||||
|
@ -72,16 +84,22 @@ const PasswordProps = [
|
||||||
description: "Style class of the input field."
|
description: "Style class of the input field."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hideIcon",
|
name: "class",
|
||||||
type: "string",
|
type: "string",
|
||||||
default: "pi pi-eye-slash",
|
default: "null",
|
||||||
description: "Icon to hide displaying the password as plain text."
|
description: "Style class of the component."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIcon",
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "panelClass",
|
||||||
type: "string",
|
type: "string",
|
||||||
default: "pi pi-eye",
|
default: "null",
|
||||||
description: "Icon to show displaying the password as plain text."
|
description: "Style class of the overlay panel."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -133,6 +133,22 @@ const PickListEvents = [
|
||||||
description: "Moved items"
|
description: "Moved items"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "selection-change",
|
||||||
|
description: "Callback to invoke when one or more items are moved to the other list.",
|
||||||
|
arguments: [
|
||||||
|
{
|
||||||
|
name: "event.originalEvent",
|
||||||
|
type: "object",
|
||||||
|
description: "Browser event"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "event.value",
|
||||||
|
type: "array",
|
||||||
|
description: "Selected items"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,43 @@ const RadioButtonProps = [
|
||||||
type: "any",
|
type: "any",
|
||||||
default: "null",
|
default: "null",
|
||||||
description: "Value binding of the checkbox."
|
description: "Value binding of the checkbox."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
const RadioButtonEvents = [
|
||||||
|
{
|
||||||
|
name: "click",
|
||||||
|
description: "Callback to invoke on radio button click.",
|
||||||
|
arguments: [
|
||||||
|
{
|
||||||
|
name: "event",
|
||||||
|
type: "object",
|
||||||
|
description: "Browser event"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "change",
|
||||||
|
description: "Callback to invoke on radio button value change.",
|
||||||
|
arguments: [
|
||||||
|
{
|
||||||
|
name: "event",
|
||||||
|
type: "object",
|
||||||
|
description: "Browser event"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -17,6 +54,7 @@ module.exports = {
|
||||||
radiobutton: {
|
radiobutton: {
|
||||||
name: "RadioButton",
|
name: "RadioButton",
|
||||||
description: "RadioButton is an extension to standard radio button element with theming.",
|
description: "RadioButton is an extension to standard radio button element with theming.",
|
||||||
props: RadioButtonProps
|
props: RadioButtonProps,
|
||||||
|
events: RadioButtonEvents
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,6 +34,18 @@ const SplitButtonProps = [
|
||||||
type: "string",
|
type: "string",
|
||||||
default: "body",
|
default: "body",
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,18 @@ const TriStateCheckboxProps = [
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: "null",
|
default: "null",
|
||||||
description: "Value of the component."
|
description: "Value of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "class",
|
||||||
|
type: "string",
|
||||||
|
default: "null",
|
||||||
|
description: "Style class of the component."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "style",
|
||||||
|
type: "any",
|
||||||
|
default: "null",
|
||||||
|
description: "Inline of the component."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue