jnf-ui
Version:
基于 vue3+ ts+ Element-plus 二次封装组件
148 lines (147 loc) • 6.07 kB
TypeScript
declare const _sfc_main: import("vue").DefineComponent<{
modelValue: {
type: ObjectConstructor;
default: () => {};
};
rowsTotal: {
type: NumberConstructor;
default: number;
};
searchParamet: {
type: ObjectConstructor;
default: () => void;
};
formData: {
type: ObjectConstructor;
default: () => void;
};
}, {
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", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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;
}, {
modelValue: Record<string, any>;
formData: Record<string, any>;
rowsTotal: number;
searchParamet: Record<string, any>;
}>;
export default _sfc_main;