jnf-ui
Version:
基于 vue3+ ts+ Element-plus 二次封装组件
450 lines (449 loc) • 22.3 kB
TypeScript
declare const JnTableSearch: ({
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
modelValue: Record<string, any>;
formData: Record<string, any>;
rowsTotal: number;
searchParamet: Record<string, any>;
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: ObjectConstructor;
default: () => {};
};
rowsTotal: {
type: NumberConstructor;
default: number;
};
searchParamet: {
type: ObjectConstructor;
default: () => void;
};
formData: {
type: ObjectConstructor;
default: () => void;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
"onUpdate:formData"?: ((...args: any[]) => any) | undefined;
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "formData" | "rowsTotal" | "searchParamet">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
$emit: (event: "update:modelValue" | "search" | "update:formData", ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: ObjectConstructor;
default: () => {};
};
rowsTotal: {
type: NumberConstructor;
default: number;
};
searchParamet: {
type: ObjectConstructor;
default: () => void;
};
formData: {
type: ObjectConstructor;
default: () => void;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
"onUpdate:formData"?: ((...args: any[]) => any) | undefined;
}, {
props: any;
$emit: (event: "update:modelValue" | "search" | "update:formData", ...args: any[]) => void;
attrs: any;
searchValue: import("vue").Ref<Record<string, any>>;
searchFormRef: import("vue").Ref<any>;
subListHeight: import("vue").Ref<{
[x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number | undefined) => number;
lastIndexOf: (searchString: string, position?: number | undefined) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[] | undefined, options?: Intl.CollatorOptions | undefined): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number | undefined, end?: number | undefined) => string;
split: {
(separator: string | RegExp, limit?: number | undefined): string[];
(splitter: {
[Symbol.split](string: string, limit?: number | undefined): string[];
}, limit?: number | undefined): string[];
};
substring: (start: number, end?: number | undefined) => string;
toLowerCase: () => string;
toLocaleLowerCase: (locales?: string | string[] | undefined) => string;
toUpperCase: () => string;
toLocaleUpperCase: (locales?: string | string[] | undefined) => string;
trim: () => string;
readonly length: number;
substr: (from: number, length?: number | undefined) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number | undefined) => boolean;
endsWith: (searchString: string, endPosition?: number | undefined) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string | undefined): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number | undefined) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string | undefined) => string;
padEnd: (maxLength: number, fillString?: string | undefined) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
replaceAll: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
};
at: (index: number) => string | undefined;
[Symbol.iterator]: () => IterableIterator<string>;
}>;
subListOpenFlag: import("vue").Ref<boolean>;
showSubListBtnFlag: import("vue").Ref<boolean>;
subListRef: import("vue").Ref<any>;
changeExpand: () => void;
resetSearchForm: () => void;
resetSearchFormParams: () => void;
handleSearch: (params: any) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "search" | "update:formData")[], string, {
modelValue: Record<string, any>;
formData: Record<string, any>;
rowsTotal: number;
searchParamet: Record<string, any>;
}, {}, string> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
created?: ((() => void) | (() => void)[]) | undefined;
beforeMount?: ((() => void) | (() => void)[]) | undefined;
mounted?: ((() => void) | (() => void)[]) | undefined;
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
updated?: ((() => void) | (() => void)[]) | undefined;
activated?: ((() => void) | (() => void)[]) | undefined;
deactivated?: ((() => void) | (() => void)[]) | undefined;
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
destroyed?: ((() => void) | (() => void)[]) | undefined;
unmounted?: ((() => void) | (() => void)[]) | undefined;
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
};
$forceUpdate: () => void;
$nextTick: typeof import("vue").nextTick;
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
} & Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: ObjectConstructor;
default: () => {};
};
rowsTotal: {
type: NumberConstructor;
default: number;
};
searchParamet: {
type: ObjectConstructor;
default: () => void;
};
formData: {
type: ObjectConstructor;
default: () => void;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
"onUpdate:formData"?: ((...args: any[]) => any) | undefined;
} & import("vue").ShallowUnwrapRef<{
props: any;
$emit: (event: "update:modelValue" | "search" | "update:formData", ...args: any[]) => void;
attrs: any;
searchValue: import("vue").Ref<Record<string, any>>;
searchFormRef: import("vue").Ref<any>;
subListHeight: import("vue").Ref<{
[x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number | undefined) => number;
lastIndexOf: (searchString: string, position?: number | undefined) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[] | undefined, options?: Intl.CollatorOptions | undefined): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number | undefined, end?: number | undefined) => string;
split: {
(separator: string | RegExp, limit?: number | undefined): string[];
(splitter: {
[Symbol.split](string: string, limit?: number | undefined): string[];
}, limit?: number | undefined): string[];
};
substring: (start: number, end?: number | undefined) => string;
toLowerCase: () => string;
toLocaleLowerCase: (locales?: string | string[] | undefined) => string;
toUpperCase: () => string;
toLocaleUpperCase: (locales?: string | string[] | undefined) => string;
trim: () => string;
readonly length: number;
substr: (from: number, length?: number | undefined) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number | undefined) => boolean;
endsWith: (searchString: string, endPosition?: number | undefined) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string | undefined): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number | undefined) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string | undefined) => string;
padEnd: (maxLength: number, fillString?: string | undefined) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
replaceAll: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
};
at: (index: number) => string | undefined;
[Symbol.iterator]: () => IterableIterator<string>;
}>;
subListOpenFlag: import("vue").Ref<boolean>;
showSubListBtnFlag: import("vue").Ref<boolean>;
subListRef: import("vue").Ref<any>;
changeExpand: () => void;
resetSearchForm: () => void;
resetSearchFormParams: () => void;
handleSearch: (params: any) => void;
}> & {} & import("vue").ComponentCustomProperties & {};
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: ObjectConstructor;
default: () => {};
};
rowsTotal: {
type: NumberConstructor;
default: number;
};
searchParamet: {
type: ObjectConstructor;
default: () => void;
};
formData: {
type: ObjectConstructor;
default: () => void;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
"onUpdate:formData"?: ((...args: any[]) => any) | undefined;
}, {
props: any;
$emit: (event: "update:modelValue" | "search" | "update:formData", ...args: any[]) => void;
attrs: any;
searchValue: import("vue").Ref<Record<string, any>>;
searchFormRef: import("vue").Ref<any>;
subListHeight: import("vue").Ref<{
[x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number | undefined) => number;
lastIndexOf: (searchString: string, position?: number | undefined) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[] | undefined, options?: Intl.CollatorOptions | undefined): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number | undefined, end?: number | undefined) => string;
split: {
(separator: string | RegExp, limit?: number | undefined): string[];
(splitter: {
[Symbol.split](string: string, limit?: number | undefined): string[];
}, limit?: number | undefined): string[];
};
substring: (start: number, end?: number | undefined) => string;
toLowerCase: () => string;
toLocaleLowerCase: (locales?: string | string[] | undefined) => string;
toUpperCase: () => string;
toLocaleUpperCase: (locales?: string | string[] | undefined) => string;
trim: () => string;
readonly length: number;
substr: (from: number, length?: number | undefined) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number | undefined) => boolean;
endsWith: (searchString: string, endPosition?: number | undefined) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string | undefined): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number | undefined) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string | undefined) => string;
padEnd: (maxLength: number, fillString?: string | undefined) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
replaceAll: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
};
at: (index: number) => string | undefined;
[Symbol.iterator]: () => IterableIterator<string>;
}>;
subListOpenFlag: import("vue").Ref<boolean>;
showSubListBtnFlag: import("vue").Ref<boolean>;
subListRef: import("vue").Ref<any>;
changeExpand: () => void;
resetSearchForm: () => void;
resetSearchFormParams: () => void;
handleSearch: (params: any) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "search" | "update:formData")[], "update:modelValue" | "search" | "update:formData", {
modelValue: Record<string, any>;
formData: Record<string, any>;
rowsTotal: number;
searchParamet: Record<string, any>;
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin) & Record<string, any>;
export default JnTableSearch;