Skip to content

@vtj


@vtj / designer / setters

Variable: setters

const setters: object

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

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: IconAccessdeclined<BooleanConstructor, unknown, unknown>; beforeUpload: (rawFile) => IconAccessdeclined<... | ... | ... | ... | ... | ...>; data: IconAccessdeclined<... | ... | ...[], unknown, unknown>; disabled: boolean; drag: boolean; fileList: UploadUserFile[]; httpRequest: UploadRequestHandler; listType: IconAccessdeclined<StringConstructor, "picture" | "text" | "picture-card", unknown>; 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: IconAccessdeclined<BooleanConstructor, unknown, unknown>; withCredentials: boolean; }> & Omit<Readonly<ExtractPropTypes<{ accept: IconAccessdeclined<..., ..., ..., ..., ...>; action: IconAccessdeclined<..., ..., ..., ..., ...>; autoUpload: IconAccessdeclined<..., ..., ..., ..., ...>; beforeRemove: { __epPropKey: ...; required: ...; type: ...; validator: ...; }; beforeUpload: IconAccessdeclined<..., ..., ..., ..., ...>; crossorigin: { __epPropKey: ...; required: ...; type: ...; validator: ...; }; data: IconAccessdeclined<..., ..., ..., ..., ...>; disabled: BooleanConstructor; drag: BooleanConstructor; fileList: IconAccessdeclined<..., ..., ..., ..., ...>; headers: { __epPropKey: ...; required: ...; type: ...; validator: ...; }; httpRequest: IconAccessdeclined<..., ..., ..., ..., ...>; limit: NumberConstructor; listType: IconAccessdeclined<..., ..., ..., ..., ...>; method: IconAccessdeclined<..., ..., ..., ..., ...>; multiple: BooleanConstructor; name: IconAccessdeclined<..., ..., ..., ..., ...>; onChange: IconAccessdeclined<..., ..., ..., ..., ...>; onError: IconAccessdeclined<..., ..., ..., ..., ...>; onExceed: IconAccessdeclined<..., ..., ..., ..., ...>; onPreview: IconAccessdeclined<..., ..., ..., ..., ...>; onProgress: IconAccessdeclined<..., ..., ..., ..., ...>; onRemove: IconAccessdeclined<..., ..., ..., ..., ...>; onSuccess: IconAccessdeclined<..., ..., ..., ..., ...>; showFileList: IconAccessdeclined<..., ..., ..., ..., ...>; 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) => 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.