Fixed #3707 - Class and Style properties type definition defects

pull/3711/head
Tuğçe Küçükoğlu 2023-03-09 10:02:25 +03:00
parent 57175d7a2c
commit d3a7a176e3
36 changed files with 99 additions and 99 deletions

View File

@ -133,7 +133,7 @@ const AutoCompleteProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
@ -151,7 +151,7 @@ const AutoCompleteProps = [
}, },
{ {
name: 'panelClass', name: 'panelClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the overlay panel.' description: 'Style class of the overlay panel.'
}, },

View File

@ -259,13 +259,13 @@ const CalendarProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },
@ -277,13 +277,13 @@ const CalendarProps = [
}, },
{ {
name: 'panelClass', name: 'panelClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the overlay panel.' description: 'Style class of the overlay panel.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
type: 'string', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the overlay panel.' description: 'Inline style of the overlay panel.'
}, },

View File

@ -67,7 +67,7 @@ const CascadeSelectProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
@ -85,7 +85,7 @@ const CascadeSelectProps = [
}, },
{ {
name: 'panelClass', name: 'panelClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the overlay panel.' description: 'Style class of the overlay panel.'
}, },

View File

@ -61,13 +61,13 @@ const CheckboxProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'any', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },

View File

@ -49,13 +49,13 @@ const ChipsProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },

View File

@ -121,7 +121,7 @@ const DropdownProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },

View File

@ -155,13 +155,13 @@ const InputNumberProps = [
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },

View File

@ -25,13 +25,13 @@ const InputSwitchProps = [
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },

View File

@ -97,13 +97,13 @@ const PasswordProps = [
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'any', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
@ -121,13 +121,13 @@ const PasswordProps = [
}, },
{ {
name: 'panelClass', name: 'panelClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the overlay panel.' description: 'Style class of the overlay panel.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
type: 'string', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the overlay panel.' description: 'Inline style of the overlay panel.'
}, },

View File

@ -31,13 +31,13 @@ const RadioButtonProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },

View File

@ -55,13 +55,13 @@ const ToggleButtonProps = [
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },

View File

@ -43,13 +43,13 @@ const TreeSelectProps = [
}, },
{ {
name: 'inputStyle', name: 'inputStyle',
type: 'any', type: 'object',
default: 'null', default: 'null',
description: 'Inline style of the input field.' description: 'Inline style of the input field.'
}, },
{ {
name: 'inputClass', name: 'inputClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the input field.' description: 'Style class of the input field.'
}, },
@ -61,7 +61,7 @@ const TreeSelectProps = [
}, },
{ {
name: 'panelClass', name: 'panelClass',
type: 'string', type: 'string | object',
default: 'null', default: 'null',
description: 'Style class of the overlay panel.' description: 'Style class of the overlay panel.'
}, },

View File

@ -183,11 +183,11 @@ export interface AutoCompleteProps {
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any; inputStyle?: object | undefined;
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */
@ -195,11 +195,11 @@ export interface AutoCompleteProps {
/** /**
* Inline style of the overlay panel. * Inline style of the overlay panel.
*/ */
panelStyle?: any; panelStyle?: object | undefined;
/** /**
* Style class of the overlay panel. * Style class of the overlay panel.
*/ */
panelClass?: any; panelClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/ */
@ -212,7 +212,7 @@ export interface AutoCompleteProps {
/** /**
* Style class of the dropdown button. * Style class of the dropdown button.
*/ */
dropdownClass?: string | undefined; dropdownClass?: string | object | undefined;
/** /**
* Icon to display in loading state. * Icon to display in loading state.
* @defaultValue pi pi-spinner pi-spin * @defaultValue pi pi-spinner pi-spin

View File

@ -222,11 +222,11 @@ export default {
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputProps: { inputProps: {
@ -234,11 +234,11 @@ export default {
default: null default: null
}, },
panelStyle: { panelStyle: {
type: null, type: Object,
default: null default: null
}, },
panelClass: { panelClass: {
type: String, type: [String, Object],
default: null default: null
}, },
panelProps: { panelProps: {
@ -250,7 +250,7 @@ export default {
default: 'pi pi-chevron-down' default: 'pi pi-chevron-down'
}, },
dropdownClass: { dropdownClass: {
type: String, type: [String, Object],
default: null default: null
}, },
loadingIcon: { loadingIcon: {

View File

@ -307,11 +307,11 @@ export interface CalendarProps {
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */
@ -319,11 +319,11 @@ export interface CalendarProps {
/** /**
* Inline style of the overlay panel. * Inline style of the overlay panel.
*/ */
panelStyle?: any | undefined; panelStyle?: object | undefined;
/** /**
* Style class of the overlay panel. * Style class of the overlay panel.
*/ */
panelClass?: any | undefined; panelClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/ */

View File

@ -504,11 +504,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {
@ -516,11 +516,11 @@ export default {
default: null default: null
}, },
panelClass: { panelClass: {
type: String, type: [String, Object],
default: null default: null
}, },
panelStyle: { panelStyle: {
type: null, type: Object,
default: null default: null
}, },
panelProps: { panelProps: {

View File

@ -83,11 +83,11 @@ export interface CascadeSelectProps {
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any; inputStyle?: object | undefined;
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */
@ -95,11 +95,11 @@ export interface CascadeSelectProps {
/** /**
* Inline style of the overlay panel. * Inline style of the overlay panel.
*/ */
panelStyle?: any; panelStyle?: object | undefined;
/** /**
* Style class of the overlay panel. * Style class of the overlay panel.
*/ */
panelClass?: any; panelClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/ */

View File

@ -95,11 +95,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {
@ -107,11 +107,11 @@ export default {
default: null default: null
}, },
panelClass: { panelClass: {
type: String, type: [String, Object],
default: null default: null
}, },
panelStyle: { panelStyle: {
type: null, type: Object,
default: null default: null
}, },
panelProps: { panelProps: {

View File

@ -67,11 +67,11 @@ export interface CheckboxProps {
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: object | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -68,11 +68,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {

View File

@ -64,11 +64,11 @@ export interface ChipsProps {
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -91,11 +91,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {

View File

@ -126,11 +126,11 @@ export interface DropdownProps {
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any; inputStyle?: object | undefined;
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.
*/ */
@ -138,11 +138,11 @@ export interface DropdownProps {
/** /**
* Inline style of the overlay panel. * Inline style of the overlay panel.
*/ */
panelStyle?: any; panelStyle?: object | undefined;
/** /**
* Style class of the overlay panel. * Style class of the overlay panel.
*/ */
panelClass?: any; panelClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/ */

View File

@ -188,11 +188,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {
@ -200,11 +200,11 @@ export default {
default: null default: null
}, },
panelClass: { panelClass: {
type: String, type: [String, Object],
default: null default: null
}, },
panelStyle: { panelStyle: {
type: null, type: Object,
default: null default: null
}, },
panelProps: { panelProps: {

View File

@ -173,11 +173,11 @@ export interface InputNumberProps {
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -152,11 +152,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {

View File

@ -35,11 +35,11 @@ export interface InputSwitchProps {
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -48,11 +48,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {

View File

@ -90,11 +90,11 @@ export interface PasswordProps extends InputHTMLAttributes {
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */
@ -106,11 +106,11 @@ export interface PasswordProps extends InputHTMLAttributes {
/** /**
* Style class of the overlay panel. * Style class of the overlay panel.
*/ */
panelClass?: any | undefined; panelClass?: string | object | undefined;
/** /**
* Inline style of the overlay panel. * Inline style of the overlay panel.
*/ */
panelStyle?: any | undefined; panelStyle?: object | undefined;
/** /**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. * Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/ */

View File

@ -114,11 +114,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {
@ -130,11 +130,11 @@ export default {
default: null default: null
}, },
panelClass: { panelClass: {
type: String, type: [String, Object],
default: null default: null
}, },
panelStyle: { panelStyle: {
type: null, type: Object,
default: null default: null
}, },
panelProps: { panelProps: {

View File

@ -37,11 +37,11 @@ export interface RadioButtonProps {
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any; inputStyle?: object | undefined;
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -46,11 +46,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {

View File

@ -58,11 +58,11 @@ export interface ToggleButtonProps {
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -56,11 +56,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {

View File

@ -77,11 +77,11 @@ export interface TreeSelectProps {
/** /**
* Style class of the input field. * Style class of the input field.
*/ */
inputClass?: any | undefined; inputClass?: string | object | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
inputStyle?: any | undefined; inputStyle?: object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */

View File

@ -128,11 +128,11 @@ export default {
default: null default: null
}, },
inputClass: { inputClass: {
type: String, type: [String, Object],
default: null default: null
}, },
inputStyle: { inputStyle: {
type: null, type: Object,
default: null default: null
}, },
inputProps: { inputProps: {
@ -140,7 +140,7 @@ export default {
default: null default: null
}, },
panelClass: { panelClass: {
type: String, type: [String, Object],
default: null default: null
}, },
panelProps: { panelProps: {