@vtj / designer / SetterWrapper
Variable: SetterWrapper
const
SetterWrapper:DefineComponent
<ExtractPropTypes
<{context
: {default
:null
;type
:PropType
<Context
|null
>; };current
: {default
:null
;type
:PropType
<BlockModel
|null
>; };label
:StringConstructor
;name
:StringConstructor
;options
: {type
:ArrayConstructor
;default
:never
[]; };removable
: {default
:boolean
;type
:BooleanConstructor
; };setters
: {required
:true
;type
:PropType
<string
|MaterialSetter
| (string
|MaterialSetter
)[]>;default
:Setter
[]; };title
:StringConstructor
;value
: {default
:undefined
;type
: (BooleanConstructor
|ObjectConstructor
|StringConstructor
|ArrayConstructor
|NumberConstructor
)[]; };variable
: {default
:boolean
;type
:BooleanConstructor
; }; }>, {}, {}, {computedOptions
:unknown
[];computedSetters
:object
[];defaultSetter
:string
; }, {changeValue
:void
;getSetter
:Setter
;onRemove
:void
; },ComponentOptionsMixin
,ComponentOptionsMixin
, ("change"
|"remove"
)[],"change"
|"remove"
,PublicProps
,Readonly
<ExtractPropTypes
<{context
: {default
:null
;type
:PropType
<Context
|null
>; };current
: {default
:null
;type
:PropType
<BlockModel
|null
>; };label
:StringConstructor
;name
:StringConstructor
;options
: {type
:ArrayConstructor
;default
:never
[]; };removable
: {default
:boolean
;type
:BooleanConstructor
; };setters
: {required
:true
;type
:PropType
<string
|MaterialSetter
| (string
|MaterialSetter
)[]>;default
:Setter
[]; };title
:StringConstructor
;value
: {default
:undefined
;type
: (BooleanConstructor
|ObjectConstructor
|StringConstructor
|ArrayConstructor
|NumberConstructor
)[]; };variable
: {default
:boolean
;type
:BooleanConstructor
; }; }>> &Readonly
<{onChange
: (...args
) =>any
;onRemove
: (...args
) =>any
; }>, {context
:Context
|null
;current
:BlockModel
|null
;options
:unknown
[];removable
:boolean
;setters
:string
|MaterialSetter
| (string
|MaterialSetter
)[];value
:string
|number
|boolean
|Record
<string
,any
> |unknown
[];variable
:boolean
; }, {}, {}, {},string
,ComponentProvideOptions
,true
, {},any
>
Defined in: packages/designer/types/wrappers/setter.d.ts:5