UNPKG

@wocwin/t-ui-plus

Version:

Page level components developed based on Element Plus.

157 lines (155 loc) 5.45 kB
import { TQueryConditionProps } from './type'; import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; import { LooseRequired } from '@vue/shared'; declare function __VLS_template(): Partial<Record<any, (_: { param: any; scope: any; }) => any>> & { footerBtn?(_: {}): any; querybar?(_: {}): any; }; declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TQueryConditionProps>, { opts: () => {}; labelWidth: string; btnCheckBind: () => {}; btnResetBind: () => {}; loading: boolean; reset: boolean; boolEnter: boolean; isShowOpen: boolean; isExpansion: boolean; maxVisibleRows: number; packUpTxt: string; unfoldTxt: string; isFooter: boolean; configChangedReset: boolean; isShowWidthSize: boolean; widthSize: number; isDropDownSelectMore: boolean; moreCheckList: () => never[]; popoverAttrs: () => {}; labelPosition: string; }>, { queryState: { form: any; }; props: Readonly<Omit< LooseRequired<TQueryConditionProps>, "reset" | "widthSize" | "moreCheckList" | "opts" | "labelWidth" | "btnCheckBind" | "btnResetBind" | "loading" | "boolEnter" | "isShowOpen" | "isExpansion" | "maxVisibleRows" | "packUpTxt" | "unfoldTxt" | "isFooter" | "configChangedReset" | "isShowWidthSize" | "isDropDownSelectMore" | "popoverAttrs" | "labelPosition">> & { 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 labelPosition: "right" | "left" | "top"; } & { 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>; resetData: () => void; resetHandle: () => void; checkHandle: (flagText?: any) => void; handleEvent: ({ isChange, type, val }: { isChange?: boolean; type: string; val: any; }, dataIndex?: string) => void; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { reset: (...args: any[]) => void; submit: (...args: any[]) => void; handleEvent: (...args: any[]) => void; getCheckList: (...args: any[]) => void; getRefs: (...args: any[]) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TQueryConditionProps>, { opts: () => {}; labelWidth: string; btnCheckBind: () => {}; btnResetBind: () => {}; loading: boolean; reset: boolean; boolEnter: boolean; isShowOpen: boolean; isExpansion: boolean; maxVisibleRows: number; packUpTxt: string; unfoldTxt: string; isFooter: boolean; configChangedReset: boolean; isShowWidthSize: boolean; widthSize: number; isDropDownSelectMore: boolean; moreCheckList: () => never[]; popoverAttrs: () => {}; labelPosition: string; }>>> & { 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; }, { 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>; labelPosition: "top" | "left" | "right"; }, {}>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };