UNPKG

@ywfe/materials-design

Version:
1,052 lines 98.6 kB
import { IPublicTypeFieldConfig } from '@alilc/lowcode-types'; export declare const primaryKeyConfig: { name: string; title: { label: string; tip: string; }; condition: () => boolean; setter: { componentName: string; initialValue: string; }; }; export declare const customComponentProps: { title: { label: string; tip: string; }; name: string; supportVariable: boolean; defaultValue: any; setter: { componentName: string; title: string; hideParams: boolean; initialValue: { type: string; params: string[]; value: any[]; }; }; condition: (target: any) => boolean; }; export declare const sizeConfig: { name: string; supportVariable: boolean; title: { label: string; tip: string; }; setter: { componentName: string; props: { options: { label: string; value: string; }[]; }; }; defaultValue: string; }; export declare const layoutConfig: ({ name: string; supportVariable: boolean; title: { label: string; tip: string; }; setter: { componentName: string; initialValue: number; props?: undefined; }; } | { name: string; supportVariable: boolean; title: { label: string; tip: string; }; setter: { componentName: string; props: { options: { title: string; value: string; }[]; }; initialValue?: undefined; }; })[]; export declare const descriptionProps: { title: { label: string; tip: string; }; name: string; setter: { componentName: string; props: { placeholder: string; }; }; supportVariable: boolean; }; export declare const defaultValueProps: { title: { label: string; tip: string; }; name: string; setter: { componentName: string; props: { setters: (string | { componentName: string; props: { placeholder: string; }; })[]; }; }; }; export declare const readOnlyProps: { title: { label: string; tip: string; }; name: string; setter: string; supportVariable: boolean; }; export declare const requiredProps: { title: { label: string; tip: string; }; name: string; setter: string; supportVariable: boolean; }; export declare const disabledProps: { title: { label: string; tip: string; }; name: string; setter: string; }; export declare const previewProps: { title: { label: string; tip: string; }; name: string; setter: string; condition: (target: any) => boolean; }; export declare const rulesProps: { supportVariable: boolean; title: { label: string; tip: string; }; name: string; setter: { componentName: string; }; }; export declare const decoratorProps: { name: string; title: { label: string; tip: string; }; defaultValue: string; setter: { componentName: string; props: { options: { label: string; value: string; }[]; }; }; supportVariable: boolean; }; export declare const propsProps: { title: { label: string; tip: string; }; name: string; display: string; setter: { componentName: string; props: { config: { items: ({ name: string; display: string; title: { label: string; tip: string; }; propType: string; setter: string; supportVariable: boolean; } | { name: string; display: string; title: { label: string; tip: string; }; propType: string; setter: { componentName: string; props: { options: { label: string; value: string; }[]; placeholder?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; } | { name: string; display: string; title: { label: string; tip: string; }; setter: string; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { placeholder: string; options?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; title: string; hideParams: boolean; initialValue: { type: string; params: string[]; value: any[]; }; props?: undefined; }; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { options: { label: string; value: string; }[]; placeholder?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; propType?: undefined; })[]; }; }; }; supportVariable: boolean; condition: (target: any) => boolean; }; export declare const getDataSourceProps: { title: { label: string; tip: string; }; name: string; supportVariable: boolean; setter: (target: any) => { componentName: string; props: { setters: { componentName: string; props: { title: string; async: boolean; properties: {}; }; }[]; }; }; }; export declare const componentPropsProps: { title: { label: string; tip: string; }; name: string; display: string; supportVariable: boolean; setter: { componentName: string; props: { config: { items: ({ condition: (target: any) => boolean; } | { title: { label: string; tip: string; }; name: string; setter: { componentName: string; }; supportVariable: boolean; } | { name: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { placeholder: string; }; }; supportVariable: boolean; } | { title: { label: string; tip: string; }; name: string; setter: string; supportVariable: boolean; })[]; }; defaultValue: {}; }; }; }; export declare const reactionsProps: { title: { label: string; tip: string; }; name: string; setter: { componentName: string; }; supportVariable: boolean; }; export declare const visibleProps: { title: { label: string; tip: string; }; name: string; supportVariable: boolean; setter: string[]; }; export declare const childrenProps: { title: { label: string; tip: string; }; name: string; setter: { componentName: string; }; supportVariable: boolean; condition: (target: any) => boolean; }; export declare const arrayTableItemsProps: { type: string; setter: { componentName: string; props: { config: { items: { name: string; condition: boolean; title: { label: string; tip: string; }; setter: { componentName: string; props: { itemSetter: { componentName: string; props: { descriptor: string; config: { items: ({ name: string; title: { label: string; tip: string; }; condition: () => boolean; setter: { componentName: string; initialValue: string; }; } | { title: { label: string; tip: string; }; name: string; supportVariable: boolean; defaultValue: any; setter: { componentName: string; title: string; hideParams: boolean; initialValue: { type: string; params: string[]; value: any[]; }; }; condition: (target: any) => boolean; } | { name: string; title: { label: string; tip: string; }; important: boolean; supportVariable: boolean; defaultValue: string; setter: { componentName: string; props: { placeholder: string; }; }; } | { name: string; title: { label: string; tip: string; }; supportVariable: boolean; setter: { componentName: string; props: { options: { label: string; value: string; }[]; }; initialValue: string; }; extraProps: { setValue: (target: any, value: any) => void; }; } | { title: { label: string; tip: string; }; name: string; setter: { componentName: string; props: { setters: (string | { componentName: string; props: { placeholder: string; }; })[]; }; }; } | { title: { label: string; tip: string; }; name: string; setter: string; } | { name: string; title: { label: string; tip: string; }; defaultValue: string; setter: { componentName: string; props: { options: { label: string; value: string; }[]; }; }; supportVariable: boolean; } | { title: { label: string; tip: string; }; name: string; display: string; setter: { componentName: string; props: { config: { items: ({ name: string; display: string; title: { label: string; tip: string; }; propType: string; setter: string; supportVariable: boolean; } | { name: string; display: string; title: { label: string; tip: string; }; propType: string; setter: { componentName: string; props: { options: { label: string; value: string; }[]; placeholder?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; } | { name: string; display: string; title: { label: string; tip: string; }; setter: string; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { placeholder: string; options?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; title: string; hideParams: boolean; initialValue: { type: string; params: string[]; value: any[]; }; props?: undefined; }; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { options: { label: string; value: string; }[]; placeholder?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; propType?: undefined; })[]; }; }; }; supportVariable: boolean; condition: (target: any) => boolean; } | { title: { label: string; tip: string; }; name: string; display: string; supportVariable: boolean; setter: { componentName: string; props: { config: { items: ({ condition: (target: any) => boolean; } | { title: { label: string; tip: string; }; name: string; setter: { componentName: string; }; supportVariable: boolean; } | { name: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { placeholder: string; }; }; supportVariable: boolean; } | { title: { label: string; tip: string; }; name: string; setter: string; supportVariable: boolean; })[]; }; defaultValue: {}; }; }; })[]; }; }; initialValue: { title: string; name: string; component: string; props: { feedbackLayout: string; }; }; }; }; }; }[]; }; }; }; extraProps: { setValue: (target: any, value?: any[]) => { type: string; component: string; decorator: string; componentProps: { title: any; align: string; width: any; }; children: any[]; }[]; }; condition: (target: any) => boolean; }; export declare const arrayItemsItemsProps: { type: string; setter: { componentName: string; props: { config: { items: { name: string; condition: boolean; title: { label: string; tip: string; }; setter: { componentName: string; props: { itemSetter: { componentName: string; props: { descriptor: string; config: { items: ({ name: string; title: { label: string; tip: string; }; condition: () => boolean; setter: { componentName: string; initialValue: string; }; } | { name: string; title: { label: string; tip: string; }; important: boolean; supportVariable: boolean; defaultValue: string; setter: { componentName: string; props: { placeholder: string; }; }; } | { name: string; title: { label: string; tip: string; }; supportVariable: boolean; setter: { componentName: string; props: { options: { label: string; value: string; }[]; }; initialValue: string; }; extraProps: { setValue: (target: any, value: any) => void; }; } | { title: { label: string; tip: string; }; name: string; setter: { componentName: string; props: { setters: (string | { componentName: string; props: { placeholder: string; }; })[]; }; }; } | { title: { label: string; tip: string; }; name: string; setter: string; } | { name: string; title: { label: string; tip: string; }; defaultValue: string; setter: { componentName: string; props: { options: { label: string; value: string; }[]; }; }; supportVariable: boolean; } | { title: { label: string; tip: string; }; name: string; display: string; setter: { componentName: string; props: { config: { items: ({ name: string; display: string; title: { label: string; tip: string; }; propType: string; setter: string; supportVariable: boolean; } | { name: string; display: string; title: { label: string; tip: string; }; propType: string; setter: { componentName: string; props: { options: { label: string; value: string; }[]; placeholder?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; } | { name: string; display: string; title: { label: string; tip: string; }; setter: string; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { placeholder: string; options?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; title: string; hideParams: boolean; initialValue: { type: string; params: string[]; value: any[]; }; props?: undefined; }; supportVariable: boolean; propType?: undefined; } | { name: string; display: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { options: { label: string; value: string; }[]; placeholder?: undefined; }; title?: undefined; hideParams?: undefined; initialValue?: undefined; }; supportVariable: boolean; propType?: undefined; })[]; }; }; }; supportVariable: boolean; condition: (target: any) => boolean; } | { title: { label: string; tip: string; }; name: string; display: string; supportVariable: boolean; setter: { componentName: string; props: { config: { items: ({ condition: (target: any) => boolean; } | { title: { label: string; tip: string; }; name: string; setter: { componentName: string; }; supportVariable: boolean; } | { name: string; title: { label: string; tip: string; }; setter: { componentName: string; props: { placeholder: string; }; }; supportVariable: boolean; } | { title: { label: string; tip: string; }; name: string; setter: string; supportVariable: boolean; })[]; }; defaultValue: {}; }; }; })[]; }; }; initialValue: { name: string; component: string; props: { feedbackLayout: string; }; }; }; }; }; }[]; }; }; }; extraProps: { setValue: (target: any, value?: any[]) => void; }; condition: (target: any) => boolean; }; export declare const BaseFormItemProps: ({ name: string; title: { label: string; tip: string; }; condition: () => boolean; setter: { componentName: string; initialValue: string; }; } | { name: string; title: { label: string; tip: string; }; display: string; defaultValue: string; isRequir