Skip to content

@vtj


@vtj / designer / setters

Variable: setters

const setters: object

Defined in: packages/designer/types/components/setters/index.d.ts:21

Type Declaration

BooleanSetter

BooleanSetter: DefineComponent<{ }, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { }, string, PublicProps, Readonly<{ }> & Readonly<{ }>, { }, { }, { }, { }, string, ComponentProvideOptions, true, { }, any>

ColorSetter

ColorSetter: DefineComponent<{ }, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { }, string, PublicProps, Readonly<{ }> & Readonly<{ }>, { }, { }, { }, { }, string, ComponentProvideOptions, true, { }, any>

CssSetter

CssSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { modelValue: any; type: "CSS"; }, { }, { }, { }, string, ComponentProvideOptions, false, { codeEditor: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{ onBlur?: (...args) => ...; onChange?: (...args) => ...; onUpdate:modelValue?: (...args) => ...; }>, { getEditor: () => editor.IStandaloneCodeEditor | null; }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { blur: (...args) => void; change: (...args) => void; update:modelValue: (...args) => void; }, PublicProps, { dark: boolean; height: string; lang: string; minimap: boolean; modelValue: string; options: editor.IEditorConstructionOptions; readonly: boolean; }, false, { }, { }, GlobalComponents, GlobalDirectives, string, { container: HTMLDivElement; }, HTMLDivElement, ComponentProvideOptions, { B: { }; C: { }; D: { }; Defaults: { }; M: { }; P: { }; }, Readonly<Props> & Readonly<{ onBlur?: (...args) => ...; onChange?: (...args) => ...; onUpdate:modelValue?: (...args) => ...; }>, { getEditor: () => editor.IStandaloneCodeEditor | null; }, { }, { }, { }, { dark: boolean; height: string; lang: string; minimap: boolean; modelValue: string; options: editor.IEditorConstructionOptions; readonly: boolean; }> | null; }, HTMLDivElement>

ExpressionSetter

ExpressionSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { }, { }, { }, { }, string, ComponentProvideOptions, false, { }, any>

FileSetter

FileSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; update:modelValue: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; onUpdate:modelValue?: (...args) => any; }>, { acceptFilter: boolean; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, HTMLDivElement>

FunctionSetter

FunctionSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { defaultCode: string; modelValue: JSFunction; title: string; }, { }, { }, { }, string, ComponentProvideOptions, false, { codeEditor: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{ onBlur?: (...args) => ...; onChange?: (...args) => ...; onUpdate:modelValue?: (...args) => ...; }>, { getEditor: () => editor.IStandaloneCodeEditor | null; }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { blur: (...args) => void; change: (...args) => void; update:modelValue: (...args) => void; }, PublicProps, { dark: boolean; height: string; lang: string; minimap: boolean; modelValue: string; options: editor.IEditorConstructionOptions; readonly: boolean; }, false, { }, { }, GlobalComponents, GlobalDirectives, string, { container: HTMLDivElement; }, HTMLDivElement, ComponentProvideOptions, { B: { }; C: { }; D: { }; Defaults: { }; M: { }; P: { }; }, Readonly<Props> & Readonly<{ onBlur?: (...args) => ...; onChange?: (...args) => ...; onUpdate:modelValue?: (...args) => ...; }>, { getEditor: () => editor.IStandaloneCodeEditor | null; }, { }, { }, { }, { dark: boolean; height: string; lang: string; minimap: boolean; modelValue: string; options: editor.IEditorConstructionOptions; readonly: boolean; }> | null; }, HTMLDivElement>

IconSetter

IconSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; update:modelValue: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; onUpdate:modelValue?: (...args) => any; }>, { modelValue: string; size: "small" | "large" | "default" | ""; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, HTMLDivElement>

ImageSetter

ImageSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; update:modelValue: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; onUpdate:modelValue?: (...args) => any; }>, { limit: number; }, { }, { }, { }, string, ComponentProvideOptions, false, { uploadRef: object & Readonly<{ accept: string; action: string; autoUpload: boolean; beforeUpload: (rawFile) => boolean | void | File | Blob | Promise<...> | null | undefined; data: ... | ... | (rawFile) => ...; disabled: boolean; drag: boolean; fileList: UploadUserFile[]; httpRequest: UploadRequestHandler; listType: "text" | "picture" | "picture-card"; method: string; multiple: boolean; name: string; onChange: (uploadFile, uploadFiles) => void; onError: (error, uploadFile, uploadFiles) => void; onExceed: (files, uploadFiles) => void; onPreview: (uploadFile) => void; onProgress: (evt, uploadFile, uploadFiles) => void; onRemove: (uploadFile, uploadFiles) => void; onSuccess: (response, uploadFile, uploadFiles) => void; showFileList: boolean; withCredentials: boolean; }> & Omit<Readonly<ExtractPropTypes<{ accept: ... & ...; action: ... & ...; autoUpload: ... & ...; beforeRemove: { __epPropKey: ...; required: ...; type: ...; validator: ...; }; beforeUpload: ... & ...; crossorigin: { __epPropKey: ...; required: ...; type: ...; validator: ...; }; data: ... & ...; disabled: BooleanConstructor; drag: BooleanConstructor; fileList: ... & ...; headers: { __epPropKey: ...; required: ...; type: ...; validator: ...; }; httpRequest: ... & ...; limit: NumberConstructor; listType: ... & ...; method: ... & ...; multiple: BooleanConstructor; name: ... & ...; onChange: ... & ...; onError: ... & ...; onExceed: ... & ...; onPreview: ... & ...; onProgress: ... & ...; onRemove: ... & ...; onSuccess: ... & ...; showFileList: ... & ...; withCredentials: BooleanConstructor; }>>, "name" | "method" | "disabled" | "submit" | "data" | "onChange" | "onError" | "onProgress" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{ abort: (file) => void; clearFiles: (states?) => void; handleRemove: (file, rawFile?) => void; handleStart: (rawFile) => void; submit: () => void; }> & object & ComponentCustomProperties & object & object | null; }, any>

JsonSetter

JsonSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { modelValue: any; type: "Array" | "Object" | "JSON"; }, { }, { }, { }, string, ComponentProvideOptions, false, { codeEditor: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{ onBlur?: (...args) => ...; onChange?: (...args) => ...; onUpdate:modelValue?: (...args) => ...; }>, { getEditor: () => editor.IStandaloneCodeEditor | null; }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { blur: (...args) => void; change: (...args) => void; update:modelValue: (...args) => void; }, PublicProps, { dark: boolean; height: string; lang: string; minimap: boolean; modelValue: string; options: editor.IEditorConstructionOptions; readonly: boolean; }, false, { }, { }, GlobalComponents, GlobalDirectives, string, { container: HTMLDivElement; }, HTMLDivElement, ComponentProvideOptions, { B: { }; C: { }; D: { }; Defaults: { }; M: { }; P: { }; }, Readonly<Props> & Readonly<{ onBlur?: (...args) => ...; onChange?: (...args) => ...; onUpdate:modelValue?: (...args) => ...; }>, { getEditor: () => editor.IStandaloneCodeEditor | null; }, { }, { }, { }, { dark: boolean; height: string; lang: string; minimap: boolean; modelValue: string; options: editor.IEditorConstructionOptions; readonly: boolean; }> | null; }, HTMLDivElement>

NumberSetter

NumberSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { }, { }, { }, { }, string, ComponentProvideOptions, false, { }, any>

RadioSetter

RadioSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { }, string, PublicProps, Readonly<Props> & Readonly<{ }>, { options: object[]; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, any>

SectionSetter

SectionSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { sections: number; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, HTMLDivElement>

SelectSetter

SelectSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { }, string, PublicProps, Readonly<Props> & Readonly<{ }>, { options: object[]; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, any>

SizeSetter

SizeSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; }>, { }, { }, { }, { }, string, ComponentProvideOptions, false, { }, any>

SliderSetter

SliderSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; update:modelValue: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; onUpdate:modelValue?: (...args) => any; }>, { modelValue: number | number[]; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, HTMLDivElement>

StringSetter

StringSetter: DefineComponent<{ }, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { }, string, PublicProps, Readonly<{ }> & Readonly<{ }>, { }, { }, { }, { }, string, ComponentProvideOptions, true, { }, any>

TagSetter

TagSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; update:modelValue: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; onUpdate:modelValue?: (...args) => any; }>, { options: object[]; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, HTMLDivElement>

VanIconSetter

VanIconSetter: DefineComponent<Props, { }, { }, { }, { }, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args) => void; update:modelValue: (...args) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: (...args) => any; onUpdate:modelValue?: (...args) => any; }>, { modelValue: string; size: "small" | "large" | "default" | ""; }, { }, { }, { }, string, ComponentProvideOptions, false, { }, HTMLDivElement>

Released under the MIT License.