Fixed #2926 - Update for props typing in .vue files

pull/2929/head
Tuğçe Küçükoğlu 2022-09-02 16:18:53 +03:00
parent 133291b6d3
commit 1b2bfb2dd7
14 changed files with 344 additions and 89 deletions

View File

@ -135,13 +135,34 @@ export default {
type: Boolean,
default: false
},
inputId: String,
inputStyle: null,
inputClass: null,
inputProps: null,
panelStyle: null,
panelClass: null,
panelProps: null,
inputId: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputClass: {
type: String,
default: null
},
inputProps: {
type: null,
default: null
},
panelStyle: {
type: null,
default: null
},
panelClass: {
type: String,
default: null
},
panelProps: {
type: null,
default: null
},
loadingIcon: {
type: String,
default: 'pi pi-spinner'

View File

@ -321,14 +321,38 @@ export default {
type: String,
default: null
},
id: null,
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
panelClass: null,
panelStyle: null,
panelProps: null,
id: {
type: String,
default: null
},
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
panelClass: {
type: String,
default: null
},
panelStyle: {
type: null,
default: null
},
panelProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -56,13 +56,34 @@ export default {
placeholder: String,
disabled: Boolean,
dataKey: null,
inputId: null,
inputStyle: null,
inputClass: null,
inputProps: null,
panelStyle: null,
panelClass: null,
panelProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
panelClass: {
type: String,
default: null
},
panelStyle: {
type: null,
default: null
},
panelProps: {
type: null,
default: null
},
appendTo: {
type: String,
default: 'body'

View File

@ -48,10 +48,22 @@ export default {
type: Number,
default: null
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -48,14 +48,26 @@ export default {
type: String,
default: null
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
disabled: {
type: Boolean,
default: false
},
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -107,19 +107,55 @@ export default {
default: null
},
editable: Boolean,
placeholder: String,
disabled: Boolean,
placeholder: {
type: String,
default: null
},
disabled: {
type: Boolean,
default: false
},
dataKey: null,
showClear: Boolean,
inputId: String,
inputStyle: null,
inputClass: null,
inputProps: null,
panelStyle: null,
panelClass: null,
panelProps: null,
filterInputProps: null,
clearIconProps: null,
showClear: {
type: Boolean,
default: false
},
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
panelClass: {
type: String,
default: null
},
panelStyle: {
type: null,
default: null
},
panelProps: {
type: null,
default: null
},
filterInputProps: {
type: null,
default: null
},
clearIconProps: {
type: null,
default: null
},
appendTo: {
type: String,
default: 'body'

View File

@ -119,12 +119,30 @@ export default {
type: String,
default: null
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
incrementButtonProps: null,
decrementButtonProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
incrementButtonProps: {
type: null,
default: null
},
decrementButtonProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -29,10 +29,22 @@ export default {
type: Boolean,
default: false
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -130,13 +130,34 @@ export default {
},
placeholder: String,
disabled: Boolean,
inputId: String,
inputProps: null,
panelStyle: null,
panelClass: null,
panelProps: null,
filterInputProps: null,
closeButtonProps: null,
inputId: {
type: String,
default: null
},
inputProps: {
type: null,
default: null
},
panelClass: {
type: String,
default: null
},
panelStyle: {
type: null,
default: null
},
panelProps: {
type: null,
default: null
},
filterInputProps: {
type: null,
default: null
},
closeButtonProps: {
type: null,
default: null
},
dataKey: null,
filter: Boolean,
filterPlaceholder: String,

View File

@ -91,14 +91,38 @@ export default {
type: Boolean,
required: false
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
panelId: null,
panelClass: null,
panelStyle: null,
panelProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
panelId: {
type: String,
default: null
},
panelClass: {
type: String,
default: null
},
panelStyle: {
type: null,
default: null
},
panelProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -27,10 +27,22 @@ export default {
type: Boolean,
default: false
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -39,10 +39,22 @@ export default {
type: Number,
default: null
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -62,18 +62,22 @@ export default {
type: String,
default: '400px'
},
placeholder: String,
disabled: Boolean,
tabindex: String,
placeholder: {
type: String,
default: null
},
disabled: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: null
},
selectionMode: {
type: String,
default: 'single'
},
panelClass: {
type: String,
default: null
},
panelProps: null,
appendTo: {
type: String,
default: 'body'
@ -90,10 +94,30 @@ export default {
type: Boolean,
default: true
},
inputId: String,
inputClass: String,
inputStyle: null,
inputProps: null,
inputId: {
type: String,
default: null
},
inputClass: {
type: String,
default: null
},
inputStyle: {
type: null,
default: null
},
inputProps: {
type: null,
default: null
},
panelClass: {
type: String,
default: null
},
panelProps: {
type: null,
default: null
},
'aria-labelledby': {
type: String,
default: null

View File

@ -17,8 +17,14 @@ export default {
emits: ['click', 'update:modelValue', 'change', 'keydown', 'focus', 'blur'],
props: {
modelValue: null,
inputId: null,
inputProps: null,
inputId: {
type: String,
default: null
},
inputProps: {
type: null,
default: null
},
disabled: {
type: Boolean,
default: false