UNPKG

@wocwin/t-ui-plus

Version:

Page level components developed based on Element Plus.

566 lines (565 loc) 18.2 kB
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue'; import { LooseRequired } from '@vue/shared'; import { TQueryConditionProps } from './src/type'; export * from './src/type'; export declare const TQueryCondition: { new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{ widthSize: { type: PropType<number>; default: number; }; moreCheckList: { type: PropType<any[]>; default: () => never[]; }; opts: { type: PropType<Record<string, any>>; required: true; default: () => {}; }; labelWidth: { type: PropType<string>; default: string; }; btnCheckBind: { type: PropType<Record<string, any>>; default: () => {}; }; btnResetBind: { type: PropType<Record<string, any>>; default: () => {}; }; loading: { type: PropType<boolean>; default: boolean; }; reset: { type: PropType<boolean>; default: boolean; }; boolEnter: { type: PropType<boolean>; default: boolean; }; isShowOpen: { type: PropType<boolean>; default: boolean; }; isExpansion: { type: PropType<boolean>; default: boolean; }; maxVisibleRows: { type: PropType<number>; default: number; }; packUpTxt: { type: PropType<string>; default: string; }; unfoldTxt: { type: PropType<string>; default: string; }; isFooter: { type: PropType<boolean>; default: boolean; }; configChangedReset: { type: PropType<boolean>; default: boolean; }; isShowWidthSize: { type: PropType<boolean>; default: boolean; }; isDropDownSelectMore: { type: PropType<boolean>; default: boolean; }; popoverAttrs: { type: PropType<Record<string, any>>; default: () => {}; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; onReset?: ((...args: any[]) => any) | undefined; onSubmit?: ((...args: any[]) => any) | undefined; onGetCheckList?: ((...args: any[]) => any) | undefined; }, { queryState: { form: any; }; props: Readonly<Omit< LooseRequired<TQueryConditionProps>, "widthSize" | "moreCheckList" | "opts" | "labelWidth" | "btnCheckBind" | "btnResetBind" | "loading" | "reset" | "boolEnter" | "isShowOpen" | "isExpansion" | "maxVisibleRows" | "packUpTxt" | "unfoldTxt" | "isFooter" | "configChangedReset" | "isShowWidthSize" | "isDropDownSelectMore" | "popoverAttrs">> & { readonly opts: Record<string, any>; readonly labelWidth: string; readonly btnCheckBind: Record<string, any>; readonly btnResetBind: Record<string, any>; readonly loading: boolean; readonly reset: boolean; readonly boolEnter: boolean; readonly isShowOpen: boolean; readonly isExpansion: boolean; readonly maxVisibleRows: number; readonly packUpTxt: string; readonly unfoldTxt: string; readonly isFooter: boolean; readonly configChangedReset: boolean; readonly isShowWidthSize: boolean; readonly widthSize: number; readonly isDropDownSelectMore: boolean; readonly moreCheckList: any[]; readonly popoverAttrs: Record<string, any>; } & { readonly loading: boolean; readonly reset: boolean; readonly boolEnter: boolean; readonly isShowOpen: boolean; readonly isExpansion: boolean; readonly isFooter: boolean; readonly configChangedReset: boolean; readonly isShowWidthSize: boolean; readonly isDropDownSelectMore: boolean; }; colLength: Ref<number>; resetData: () => void; resetHandle: () => void; checkHandle: (flagText?: any) => void; handleEvent: ({ isChange, type, val }: { isChange?: boolean; type: string; val: any; }, dataIndex?: string) => void; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { handleEvent: (...args: any[]) => void; getRefs: (...args: any[]) => void; submit: (...args: any[]) => void; getCheckList: (...args: any[]) => void; reset: (...args: any[]) => void; }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{ widthSize: { type: PropType<number>; default: number; }; moreCheckList: { type: PropType<any[]>; default: () => never[]; }; opts: { type: PropType<Record<string, any>>; required: true; default: () => {}; }; labelWidth: { type: PropType<string>; default: string; }; btnCheckBind: { type: PropType<Record<string, any>>; default: () => {}; }; btnResetBind: { type: PropType<Record<string, any>>; default: () => {}; }; loading: { type: PropType<boolean>; default: boolean; }; reset: { type: PropType<boolean>; default: boolean; }; boolEnter: { type: PropType<boolean>; default: boolean; }; isShowOpen: { type: PropType<boolean>; default: boolean; }; isExpansion: { type: PropType<boolean>; default: boolean; }; maxVisibleRows: { type: PropType<number>; default: number; }; packUpTxt: { type: PropType<string>; default: string; }; unfoldTxt: { type: PropType<string>; default: string; }; isFooter: { type: PropType<boolean>; default: boolean; }; configChangedReset: { type: PropType<boolean>; default: boolean; }; isShowWidthSize: { type: PropType<boolean>; default: boolean; }; isDropDownSelectMore: { type: PropType<boolean>; default: boolean; }; popoverAttrs: { type: PropType<Record<string, any>>; default: () => {}; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; onReset?: ((...args: any[]) => any) | undefined; onSubmit?: ((...args: any[]) => any) | undefined; onGetCheckList?: ((...args: any[]) => any) | undefined; }, { widthSize: number; moreCheckList: any[]; opts: Record<string, any>; labelWidth: string; btnCheckBind: Record<string, any>; btnResetBind: Record<string, any>; loading: boolean; reset: boolean; boolEnter: boolean; isShowOpen: boolean; isExpansion: boolean; maxVisibleRows: number; packUpTxt: string; unfoldTxt: string; isFooter: boolean; configChangedReset: boolean; isShowWidthSize: boolean; isDropDownSelectMore: boolean; popoverAttrs: Record<string, any>; }, true, {}, {}, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ widthSize: { type: PropType<number>; default: number; }; moreCheckList: { type: PropType<any[]>; default: () => never[]; }; opts: { type: PropType<Record<string, any>>; required: true; default: () => {}; }; labelWidth: { type: PropType<string>; default: string; }; btnCheckBind: { type: PropType<Record<string, any>>; default: () => {}; }; btnResetBind: { type: PropType<Record<string, any>>; default: () => {}; }; loading: { type: PropType<boolean>; default: boolean; }; reset: { type: PropType<boolean>; default: boolean; }; boolEnter: { type: PropType<boolean>; default: boolean; }; isShowOpen: { type: PropType<boolean>; default: boolean; }; isExpansion: { type: PropType<boolean>; default: boolean; }; maxVisibleRows: { type: PropType<number>; default: number; }; packUpTxt: { type: PropType<string>; default: string; }; unfoldTxt: { type: PropType<string>; default: string; }; isFooter: { type: PropType<boolean>; default: boolean; }; configChangedReset: { type: PropType<boolean>; default: boolean; }; isShowWidthSize: { type: PropType<boolean>; default: boolean; }; isDropDownSelectMore: { type: PropType<boolean>; default: boolean; }; popoverAttrs: { type: PropType<Record<string, any>>; default: () => {}; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; onReset?: ((...args: any[]) => any) | undefined; onSubmit?: ((...args: any[]) => any) | undefined; onGetCheckList?: ((...args: any[]) => any) | undefined; }, { queryState: { form: any; }; props: Readonly<Omit< LooseRequired<TQueryConditionProps>, "widthSize" | "moreCheckList" | "opts" | "labelWidth" | "btnCheckBind" | "btnResetBind" | "loading" | "reset" | "boolEnter" | "isShowOpen" | "isExpansion" | "maxVisibleRows" | "packUpTxt" | "unfoldTxt" | "isFooter" | "configChangedReset" | "isShowWidthSize" | "isDropDownSelectMore" | "popoverAttrs">> & { readonly opts: Record<string, any>; readonly labelWidth: string; readonly btnCheckBind: Record<string, any>; readonly btnResetBind: Record<string, any>; readonly loading: boolean; readonly reset: boolean; readonly boolEnter: boolean; readonly isShowOpen: boolean; readonly isExpansion: boolean; readonly maxVisibleRows: number; readonly packUpTxt: string; readonly unfoldTxt: string; readonly isFooter: boolean; readonly configChangedReset: boolean; readonly isShowWidthSize: boolean; readonly widthSize: number; readonly isDropDownSelectMore: boolean; readonly moreCheckList: any[]; readonly popoverAttrs: Record<string, any>; } & { readonly loading: boolean; readonly reset: boolean; readonly boolEnter: boolean; readonly isShowOpen: boolean; readonly isExpansion: boolean; readonly isFooter: boolean; readonly configChangedReset: boolean; readonly isShowWidthSize: boolean; readonly isDropDownSelectMore: boolean; }; colLength: Ref<number>; resetData: () => void; resetHandle: () => void; checkHandle: (flagText?: any) => void; handleEvent: ({ isChange, type, val }: { isChange?: boolean; type: string; val: any; }, dataIndex?: string) => void; }, {}, {}, {}, { widthSize: number; moreCheckList: any[]; opts: Record<string, any>; labelWidth: string; btnCheckBind: Record<string, any>; btnResetBind: Record<string, any>; loading: boolean; reset: boolean; boolEnter: boolean; isShowOpen: boolean; isExpansion: boolean; maxVisibleRows: number; packUpTxt: string; unfoldTxt: string; isFooter: boolean; configChangedReset: boolean; isShowWidthSize: boolean; isDropDownSelectMore: boolean; popoverAttrs: Record<string, any>; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase<Readonly< ExtractPropTypes<{ widthSize: { type: PropType<number>; default: number; }; moreCheckList: { type: PropType<any[]>; default: () => never[]; }; opts: { type: PropType<Record<string, any>>; required: true; default: () => {}; }; labelWidth: { type: PropType<string>; default: string; }; btnCheckBind: { type: PropType<Record<string, any>>; default: () => {}; }; btnResetBind: { type: PropType<Record<string, any>>; default: () => {}; }; loading: { type: PropType<boolean>; default: boolean; }; reset: { type: PropType<boolean>; default: boolean; }; boolEnter: { type: PropType<boolean>; default: boolean; }; isShowOpen: { type: PropType<boolean>; default: boolean; }; isExpansion: { type: PropType<boolean>; default: boolean; }; maxVisibleRows: { type: PropType<number>; default: number; }; packUpTxt: { type: PropType<string>; default: string; }; unfoldTxt: { type: PropType<string>; default: string; }; isFooter: { type: PropType<boolean>; default: boolean; }; configChangedReset: { type: PropType<boolean>; default: boolean; }; isShowWidthSize: { type: PropType<boolean>; default: boolean; }; isDropDownSelectMore: { type: PropType<boolean>; default: boolean; }; popoverAttrs: { type: PropType<Record<string, any>>; default: () => {}; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; onReset?: ((...args: any[]) => any) | undefined; onSubmit?: ((...args: any[]) => any) | undefined; onGetCheckList?: ((...args: any[]) => any) | undefined; }, { queryState: { form: any; }; props: Readonly<Omit< LooseRequired<TQueryConditionProps>, "widthSize" | "moreCheckList" | "opts" | "labelWidth" | "btnCheckBind" | "btnResetBind" | "loading" | "reset" | "boolEnter" | "isShowOpen" | "isExpansion" | "maxVisibleRows" | "packUpTxt" | "unfoldTxt" | "isFooter" | "configChangedReset" | "isShowWidthSize" | "isDropDownSelectMore" | "popoverAttrs">> & { readonly opts: Record<string, any>; readonly labelWidth: string; readonly btnCheckBind: Record<string, any>; readonly btnResetBind: Record<string, any>; readonly loading: boolean; readonly reset: boolean; readonly boolEnter: boolean; readonly isShowOpen: boolean; readonly isExpansion: boolean; readonly maxVisibleRows: number; readonly packUpTxt: string; readonly unfoldTxt: string; readonly isFooter: boolean; readonly configChangedReset: boolean; readonly isShowWidthSize: boolean; readonly widthSize: number; readonly isDropDownSelectMore: boolean; readonly moreCheckList: any[]; readonly popoverAttrs: Record<string, any>; } & { readonly loading: boolean; readonly reset: boolean; readonly boolEnter: boolean; readonly isShowOpen: boolean; readonly isExpansion: boolean; readonly isFooter: boolean; readonly configChangedReset: boolean; readonly isShowWidthSize: boolean; readonly isDropDownSelectMore: boolean; }; colLength: Ref<number>; resetData: () => void; resetHandle: () => void; checkHandle: (flagText?: any) => void; handleEvent: ({ isChange, type, val }: { isChange?: boolean; type: string; val: any; }, dataIndex?: string) => void; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { handleEvent: (...args: any[]) => void; getRefs: (...args: any[]) => void; submit: (...args: any[]) => void; getCheckList: (...args: any[]) => void; reset: (...args: any[]) => void; }, string, { widthSize: number; moreCheckList: any[]; opts: Record<string, any>; labelWidth: string; btnCheckBind: Record<string, any>; btnResetBind: Record<string, any>; loading: boolean; reset: boolean; boolEnter: boolean; isShowOpen: boolean; isExpansion: boolean; maxVisibleRows: number; packUpTxt: string; unfoldTxt: string; isFooter: boolean; configChangedReset: boolean; isShowWidthSize: boolean; isDropDownSelectMore: boolean; popoverAttrs: Record<string, any>; }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: Partial<Record<any, (_: { param: any; scope: any; }) => any>> & { footerBtn?(_: {}): any; querybar?(_: {}): any; }; });