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, type: Boolean,
default: false default: false
}, },
inputId: String, inputId: {
inputStyle: null, type: String,
inputClass: null, default: null
inputProps: null, },
panelStyle: null, inputStyle: {
panelClass: null, type: null,
panelProps: 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: { loadingIcon: {
type: String, type: String,
default: 'pi pi-spinner' default: 'pi pi-spinner'

View File

@ -321,14 +321,38 @@ export default {
type: String, type: String,
default: null default: null
}, },
id: null, id: {
inputId: null, type: String,
inputClass: null, default: null
inputStyle: null, },
inputProps: null, inputId: {
panelClass: null, type: String,
panelStyle: null, default: null
panelProps: 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': { 'aria-labelledby': {
type: String, type: String,
default: null default: null

View File

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

View File

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

View File

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

View File

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

View File

@ -119,12 +119,30 @@ export default {
type: String, type: String,
default: null default: null
}, },
inputId: null, inputId: {
inputClass: null, type: String,
inputStyle: null, default: null
inputProps: null, },
incrementButtonProps: null, inputClass: {
decrementButtonProps: null, 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': { 'aria-labelledby': {
type: String, type: String,
default: null default: null

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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