t-ui-plus
Version:
Page level components developed based on Element Plus.
480 lines (479 loc) • 15 kB
TypeScript
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
export * from './src/type';
export declare const TQueryCondition: {
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
reset: {
type: PropType<boolean>;
default: boolean;
};
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;
};
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: () => {};
};
}>> & Readonly<{
onReset?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
onHandleEvent?: ((...args: any[]) => any) | undefined;
onGetCheckList?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, {
queryState: {
form: any;
};
props: Readonly<{}> & {
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 reset: boolean;
readonly loading: 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, number>;
resetData: () => void;
resetHandle: () => void;
checkHandle: (flagText?: any) => void;
handleEvent: ({ isChange, type, val }: {
isChange?: boolean;
type: string;
val: any;
}, dataIndex?: string) => void;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
reset: (...args: any[]) => void;
submit: (...args: any[]) => void;
handleEvent: (...args: any[]) => void;
getCheckList: (...args: any[]) => void;
getRefs: (...args: any[]) => void;
}, PublicProps, {
reset: boolean;
widthSize: number;
moreCheckList: any[];
opts: Record<string, any>;
labelWidth: string;
btnCheckBind: Record<string, any>;
btnResetBind: Record<string, any>;
loading: 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, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly< ExtractPropTypes<{
reset: {
type: PropType<boolean>;
default: boolean;
};
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;
};
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: () => {};
};
}>> & Readonly<{
onReset?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
onHandleEvent?: ((...args: any[]) => any) | undefined;
onGetCheckList?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, {
queryState: {
form: any;
};
props: Readonly<{}> & {
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 reset: boolean;
readonly loading: 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, number>;
resetData: () => void;
resetHandle: () => void;
checkHandle: (flagText?: any) => void;
handleEvent: ({ isChange, type, val }: {
isChange?: boolean;
type: string;
val: any;
}, dataIndex?: string) => void;
}, {}, {}, {}, {
reset: boolean;
widthSize: number;
moreCheckList: any[];
opts: Record<string, any>;
labelWidth: string;
btnCheckBind: Record<string, any>;
btnResetBind: Record<string, any>;
loading: 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<{
reset: {
type: PropType<boolean>;
default: boolean;
};
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;
};
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: () => {};
};
}>> & Readonly<{
onReset?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
onHandleEvent?: ((...args: any[]) => any) | undefined;
onGetCheckList?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, {
queryState: {
form: any;
};
props: Readonly<{}> & {
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 reset: boolean;
readonly loading: 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, number>;
resetData: () => void;
resetHandle: () => void;
checkHandle: (flagText?: any) => void;
handleEvent: ({ isChange, type, val }: {
isChange?: boolean;
type: string;
val: any;
}, dataIndex?: string) => void;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
reset: (...args: any[]) => void;
submit: (...args: any[]) => void;
handleEvent: (...args: any[]) => void;
getCheckList: (...args: any[]) => void;
getRefs: (...args: any[]) => void;
}, string, {
reset: boolean;
widthSize: number;
moreCheckList: any[];
opts: Record<string, any>;
labelWidth: string;
btnCheckBind: Record<string, any>;
btnResetBind: Record<string, any>;
loading: 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, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
$slots: Partial<Record<any, (_: {
param: any;
scope: any;
}) => any>> & {
footerBtn?(_: {}): any;
querybar?(_: {}): any;
};
});