UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

174 lines (173 loc) 5.67 kB
import type { ButtonProps } from '../../../button/buttonTypes'; import type { ColEx } from '../types/index'; import type { FormProps, FormSchema } from '../types/form'; import { PropType } from 'vue'; declare type ButtonOptions = Partial<ButtonProps> & { text: string; }; declare const _default: import("vue").DefineComponent<{ schemas: { type: PropType<FormSchema[]>; default: () => any[]; }; formProps: { type: PropType<FormProps>; default: FormProps; }; layout: import("vue-types").VueTypeDef<string> & { default: string; }; actionAffix: import("vue-types").VueTypeValidableDef<boolean>; actionTarget: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; showActionButtonGroup: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; } & { default: boolean; }; showResetButton: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; } & { default: boolean; }; showSubmitButton: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; } & { default: boolean; }; showAdvancedButton: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; } & { default: boolean; }; resetButtonOptions: { type: PropType<Partial<Partial<{ title: string; onClick: (...args: any[]) => any; prefixCls: string; color: string; size: "small" | "large" | "default"; href: string; htmlType: "button" | "reset" | "submit"; } & { type?: "link" | "default" | "dashed" | "primary" | "ghost" | "danger"; icon?: import("../../../_util/type").VueNode; block?: boolean; disabled?: boolean; loading?: boolean | { [key: string]: any; }; ghost?: boolean; shape?: "circle" | "round" | "circle-outline"; }>>>; default: () => {}; }; submitButtonOptions: { type: PropType<Partial<Partial<{ title: string; onClick: (...args: any[]) => any; prefixCls: string; color: string; size: "small" | "large" | "default"; href: string; htmlType: "button" | "reset" | "submit"; } & { type?: "link" | "default" | "dashed" | "primary" | "ghost" | "danger"; icon?: import("../../../_util/type").VueNode; block?: boolean; disabled?: boolean; loading?: boolean | { [key: string]: any; }; ghost?: boolean; shape?: "circle" | "round" | "circle-outline"; }>>>; default: () => {}; }; actionColOptions: { type: PropType<Partial<ColEx>>; default: () => {}; }; actionSpan: import("vue-types").VueTypeValidableDef<number> & { default: number; } & { default: number; }; isAdvanced: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; }; hideAdvanceBtn: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; }; actionAlgin: import("vue-types").VueTypeDef<string> & { default: string; }; resetText: import("vue-types").VueTypeValidableDef<string> & { default: string; }; okText: import("vue-types").VueTypeValidableDef<string> & { default: string; }; prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; labelWidth: { type: PropType<string | number>; }; }, { hasLabel: import("vue").ComputedRef<boolean>; hasChildrenInSchemas: any; actionColOpt: import("vue").ComputedRef<Partial<ColEx>>; getResetBtnOptions: import("vue").ComputedRef<ButtonOptions>; getSubmitBtnOptions: import("vue").ComputedRef<{ text: any; }>; toggleAdvanced: () => void; prefixClsNew: import("vue").ComputedRef<string>; resetAction: () => Promise<void>; submitAction: () => Promise<void>; itemLabelWidthProp: import("vue").ComputedRef<Partial<ColEx>>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggle-advanced"[], "toggle-advanced", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ prefixCls: string; layout: string; okText: string; actionAlgin: string; resetText: string; schemas: FormSchema[]; showAdvancedButton: boolean; showActionButtonGroup: boolean; resetButtonOptions: {}; submitButtonOptions: {}; actionColOptions: {}; actionTarget: (...args: any[]) => any; showResetButton: boolean; showSubmitButton: boolean; formProps: FormProps; actionSpan: number; isAdvanced: boolean; hideAdvanceBtn: boolean; } & { labelWidth?: string | number; actionAffix?: boolean; }>, { prefixCls: string; layout: string; okText: string; actionAlgin: string; resetText: string; schemas: FormSchema[]; showAdvancedButton: boolean; showActionButtonGroup: boolean; resetButtonOptions: {}; submitButtonOptions: {}; actionColOptions: {}; actionTarget: (...args: any[]) => any; showResetButton: boolean; showSubmitButton: boolean; formProps: FormProps; actionSpan: number; isAdvanced: boolean; hideAdvanceBtn: boolean; }>; export default _default;