@vunk/plus 0.1.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/routes-menu-content/index.d.ts +4 -0
- package/components/routes-menu-content/index.mjs +305 -0
- package/components/routes-menu-content/src/ctx.d.ts +17 -0
- package/components/routes-menu-content/src/index.vue.d.ts +350 -0
- package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +185 -0
- package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
- package/components/routes-menu-content/src/item/index.vue.d.ts +316 -0
- package/components/routes-menu-content/src/types.d.ts +1 -0
- package/components/table-columns/src/el-ctx.d.ts +1 -1
- package/components/table-columns/src/index.vue.d.ts +3 -3
- package/components/tables-v1/index.css +7 -0
- package/components/tables-v1/index.d.ts +5 -0
- package/components/tables-v1/index.mjs +431 -0
- package/components/tables-v1/src/ctx.d.ts +283 -0
- package/components/tables-v1/src/el-ctx.d.ts +272 -0
- package/components/tables-v1/src/index.vue.d.ts +2997 -0
- package/components/tables-v1/src/types.d.ts +4 -0
- package/components/tables-v1-checkbox/index.d.ts +4 -0
- package/components/tables-v1-checkbox/index.mjs +4092 -0
- package/components/tables-v1-checkbox/src/ctx.d.ts +274 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3723 -0
- package/components/tables-v1-checkbox/src/types.d.ts +1 -0
- package/components/typing-markdown/index.mjs +12 -1
- package/components/typing-markdown/src/ctx.d.ts +9 -0
- package/components/typing-markdown/src/index.vue.d.ts +10 -1
- package/composables/index.d.ts +18 -0
- package/composables/index.mjs +18 -0
- package/fetch/PlusFetch/index.d.ts +14 -0
- package/fetch/PlusFetch/index.mjs +638 -0
- package/fetch/PlusFetch/types.d.ts +54 -0
- package/fetch/index.d.ts +1 -0
- package/fetch/index.mjs +5 -0
- package/index.css +8 -0
- package/package.json +25 -42
- package/api/index.d.ts +0 -0
- package/api/index.mjs +0 -1
- package/api/user/index.d.ts +0 -3
- package/api/user/index.mjs +0 -18
- package/api/user/types.d.ts +0 -5
- package/shared/chatgpt/index.d.ts +0 -1
- package/shared/chatgpt/index.mjs +0 -3
- package/shared/chatgpt/response/enum.d.ts +0 -6
- package/shared/chatgpt/response/index.d.ts +0 -6
- package/shared/chatgpt/response/index.mjs +0 -16
- package/shared/chatgpt/response/sse/index.d.ts +0 -2
- package/shared/chatgpt/response/sse/index.mjs +0 -1
- package/shared/chatgpt/response/sse/message/index.d.ts +0 -4
- package/shared/chatgpt/response/sse/message/index.mjs +0 -8
- package/shared/chatgpt/response/sse/message/types.d.ts +0 -15
- package/shared/chatgpt/response/sse/types.d.ts +0 -6
- package/shared/fetch/base/index.d.ts +0 -9
- package/shared/fetch/base/index.mjs +0 -17
- package/shared/fetch/ssr/index.d.ts +0 -3
- package/shared/fetch/ssr/index.mjs +0 -11
- package/stores/index.d.ts +0 -0
- package/stores/index.mjs +0 -1
- package/theme/index.d.ts +0 -0
- package/theme/index.mjs +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { RouteRecordRaw } from 'vue-router';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<RouteRecordRaw>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
popperClass: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
basePath: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"data", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"basePath", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"basePath", keyof T2>, KE> : Extract<"data", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"basePath", keyof T2>]: { [k in Extract<"data", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"basePath", keyof T2>]: T2[k]; }[P]; }>;
|
|
18
|
+
export declare const emits: {};
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { resolveFullPath } from '@vunk/shared/string/url';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
data: {
|
|
4
|
+
type: import("vue").PropType<import("vue-router").RouteRecordRaw>;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
popperClass: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
basePath: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, {
|
|
16
|
+
resolveFullPath: typeof resolveFullPath;
|
|
17
|
+
hasChildren: import("vue").ComputedRef<boolean>;
|
|
18
|
+
subMenuIndex: import("vue").ComputedRef<string>;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
data: {
|
|
21
|
+
type: import("vue").PropType<import("vue-router").RouteRecordRaw>;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
|
+
popperClass: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
basePath: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {
|
|
33
|
+
data: import("vue-router").RouteRecordRaw;
|
|
34
|
+
popperClass: string;
|
|
35
|
+
basePath: string;
|
|
36
|
+
}, {}, {
|
|
37
|
+
ElSubMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
38
|
+
readonly index: {
|
|
39
|
+
readonly type: import("vue").PropType<string>;
|
|
40
|
+
readonly required: true;
|
|
41
|
+
readonly validator: (val: unknown) => boolean;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
};
|
|
44
|
+
readonly showTimeout: NumberConstructor;
|
|
45
|
+
readonly hideTimeout: NumberConstructor;
|
|
46
|
+
readonly popperClass: StringConstructor;
|
|
47
|
+
readonly disabled: BooleanConstructor;
|
|
48
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
49
|
+
readonly popperOffset: NumberConstructor;
|
|
50
|
+
readonly expandCloseIcon: {
|
|
51
|
+
readonly type: import("vue").PropType<unknown>;
|
|
52
|
+
readonly required: false;
|
|
53
|
+
readonly validator: (val: unknown) => boolean;
|
|
54
|
+
__epPropKey: true;
|
|
55
|
+
};
|
|
56
|
+
readonly expandOpenIcon: {
|
|
57
|
+
readonly type: import("vue").PropType<unknown>;
|
|
58
|
+
readonly required: false;
|
|
59
|
+
readonly validator: (val: unknown) => boolean;
|
|
60
|
+
__epPropKey: true;
|
|
61
|
+
};
|
|
62
|
+
readonly collapseCloseIcon: {
|
|
63
|
+
readonly type: import("vue").PropType<unknown>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: (val: unknown) => boolean;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
readonly collapseOpenIcon: {
|
|
69
|
+
readonly type: import("vue").PropType<unknown>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: (val: unknown) => boolean;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
readonly index: {
|
|
78
|
+
readonly type: import("vue").PropType<string>;
|
|
79
|
+
readonly required: true;
|
|
80
|
+
readonly validator: (val: unknown) => boolean;
|
|
81
|
+
__epPropKey: true;
|
|
82
|
+
};
|
|
83
|
+
readonly showTimeout: NumberConstructor;
|
|
84
|
+
readonly hideTimeout: NumberConstructor;
|
|
85
|
+
readonly popperClass: StringConstructor;
|
|
86
|
+
readonly disabled: BooleanConstructor;
|
|
87
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
88
|
+
readonly popperOffset: NumberConstructor;
|
|
89
|
+
readonly expandCloseIcon: {
|
|
90
|
+
readonly type: import("vue").PropType<unknown>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: (val: unknown) => boolean;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
readonly expandOpenIcon: {
|
|
96
|
+
readonly type: import("vue").PropType<unknown>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: (val: unknown) => boolean;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
101
|
+
readonly collapseCloseIcon: {
|
|
102
|
+
readonly type: import("vue").PropType<unknown>;
|
|
103
|
+
readonly required: false;
|
|
104
|
+
readonly validator: (val: unknown) => boolean;
|
|
105
|
+
__epPropKey: true;
|
|
106
|
+
};
|
|
107
|
+
readonly collapseOpenIcon: {
|
|
108
|
+
readonly type: import("vue").PropType<unknown>;
|
|
109
|
+
readonly required: false;
|
|
110
|
+
readonly validator: (val: unknown) => boolean;
|
|
111
|
+
__epPropKey: true;
|
|
112
|
+
};
|
|
113
|
+
}>>, {
|
|
114
|
+
readonly teleported: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
|
|
115
|
+
readonly disabled: boolean;
|
|
116
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
117
|
+
ElMenuItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
118
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
|
|
119
|
+
readonly route: {
|
|
120
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
121
|
+
readonly required: false;
|
|
122
|
+
readonly validator: (val: unknown) => boolean;
|
|
123
|
+
__epPropKey: true;
|
|
124
|
+
};
|
|
125
|
+
readonly disabled: BooleanConstructor;
|
|
126
|
+
}, {
|
|
127
|
+
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
128
|
+
rootMenu: import("element-plus").MenuProvider;
|
|
129
|
+
active: import("vue").ComputedRef<boolean>;
|
|
130
|
+
nsMenu: {
|
|
131
|
+
namespace: import("vue").ComputedRef<string>;
|
|
132
|
+
b: (blockSuffix?: string) => string;
|
|
133
|
+
e: (element?: string) => string;
|
|
134
|
+
m: (modifier?: string) => string;
|
|
135
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
136
|
+
em: (element?: string, modifier?: string) => string;
|
|
137
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
138
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
139
|
+
is: {
|
|
140
|
+
(name: string, state: boolean): string;
|
|
141
|
+
(name: string): string;
|
|
142
|
+
};
|
|
143
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
144
|
+
cssVarName: (name: string) => string;
|
|
145
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
146
|
+
cssVarBlockName: (name: string) => string;
|
|
147
|
+
};
|
|
148
|
+
nsMenuItem: {
|
|
149
|
+
namespace: import("vue").ComputedRef<string>;
|
|
150
|
+
b: (blockSuffix?: string) => string;
|
|
151
|
+
e: (element?: string) => string;
|
|
152
|
+
m: (modifier?: string) => string;
|
|
153
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
154
|
+
em: (element?: string, modifier?: string) => string;
|
|
155
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
156
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
157
|
+
is: {
|
|
158
|
+
(name: string, state: boolean): string;
|
|
159
|
+
(name: string): string;
|
|
160
|
+
};
|
|
161
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
162
|
+
cssVarName: (name: string) => string;
|
|
163
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
164
|
+
cssVarBlockName: (name: string) => string;
|
|
165
|
+
};
|
|
166
|
+
handleClick: () => void;
|
|
167
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
168
|
+
click: (item: import("element-plus").MenuItemRegistered) => boolean;
|
|
169
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
170
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
|
|
171
|
+
readonly route: {
|
|
172
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
173
|
+
readonly required: false;
|
|
174
|
+
readonly validator: (val: unknown) => boolean;
|
|
175
|
+
__epPropKey: true;
|
|
176
|
+
};
|
|
177
|
+
readonly disabled: BooleanConstructor;
|
|
178
|
+
}>> & {
|
|
179
|
+
onClick?: (item: import("element-plus").MenuItemRegistered) => any;
|
|
180
|
+
}, {
|
|
181
|
+
readonly disabled: boolean;
|
|
182
|
+
readonly index: string;
|
|
183
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
184
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
185
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const props: {
|
|
2
|
+
data: {
|
|
3
|
+
type: import("vue").PropType<import("vue-router").RouteRecordRaw>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
popperClass: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
basePath: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import type { RouteRecordRaw } from 'vue-router';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
data: {
|
|
4
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
popperClass: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
basePath: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, {
|
|
16
|
+
skipRender: symbol;
|
|
17
|
+
onlyData: import("vue").ComputedRef<{
|
|
18
|
+
meta: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
[x: number]: unknown;
|
|
21
|
+
[x: symbol]: unknown;
|
|
22
|
+
};
|
|
23
|
+
_paths: string[];
|
|
24
|
+
path: string;
|
|
25
|
+
component: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
|
|
26
|
+
components?: never;
|
|
27
|
+
children?: never;
|
|
28
|
+
redirect?: never;
|
|
29
|
+
props?: import("vue-router")._RouteRecordProps<string | symbol>;
|
|
30
|
+
alias?: string | string[];
|
|
31
|
+
name?: import("vue-router").RouteRecordName;
|
|
32
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
33
|
+
end?: boolean;
|
|
34
|
+
sensitive?: boolean;
|
|
35
|
+
strict?: boolean;
|
|
36
|
+
} | {
|
|
37
|
+
meta: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
[x: number]: unknown;
|
|
40
|
+
[x: symbol]: unknown;
|
|
41
|
+
};
|
|
42
|
+
_paths: string[];
|
|
43
|
+
path: string;
|
|
44
|
+
component?: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
|
|
45
|
+
components?: never;
|
|
46
|
+
children: RouteRecordRaw[];
|
|
47
|
+
props?: import("vue-router")._RouteRecordProps<string | symbol>;
|
|
48
|
+
redirect?: import("vue-router").RouteRecordRedirectOption;
|
|
49
|
+
alias?: string | string[];
|
|
50
|
+
name?: import("vue-router").RouteRecordName;
|
|
51
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
52
|
+
end?: boolean;
|
|
53
|
+
sensitive?: boolean;
|
|
54
|
+
strict?: boolean;
|
|
55
|
+
} | {
|
|
56
|
+
meta: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
[x: number]: unknown;
|
|
59
|
+
[x: symbol]: unknown;
|
|
60
|
+
};
|
|
61
|
+
_paths: string[];
|
|
62
|
+
path: string;
|
|
63
|
+
components: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)>;
|
|
64
|
+
component?: never;
|
|
65
|
+
children?: never;
|
|
66
|
+
redirect?: never;
|
|
67
|
+
props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol>>;
|
|
68
|
+
alias?: string | string[];
|
|
69
|
+
name?: import("vue-router").RouteRecordName;
|
|
70
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
71
|
+
end?: boolean;
|
|
72
|
+
sensitive?: boolean;
|
|
73
|
+
strict?: boolean;
|
|
74
|
+
} | {
|
|
75
|
+
meta: {
|
|
76
|
+
[x: string]: unknown;
|
|
77
|
+
[x: number]: unknown;
|
|
78
|
+
[x: symbol]: unknown;
|
|
79
|
+
};
|
|
80
|
+
_paths: string[];
|
|
81
|
+
path: string;
|
|
82
|
+
components?: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)>;
|
|
83
|
+
component?: never;
|
|
84
|
+
children: RouteRecordRaw[];
|
|
85
|
+
props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol>>;
|
|
86
|
+
redirect?: import("vue-router").RouteRecordRedirectOption;
|
|
87
|
+
alias?: string | string[];
|
|
88
|
+
name?: import("vue-router").RouteRecordName;
|
|
89
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
90
|
+
end?: boolean;
|
|
91
|
+
sensitive?: boolean;
|
|
92
|
+
strict?: boolean;
|
|
93
|
+
} | {
|
|
94
|
+
meta: {
|
|
95
|
+
[x: string]: unknown;
|
|
96
|
+
[x: number]: unknown;
|
|
97
|
+
[x: symbol]: unknown;
|
|
98
|
+
};
|
|
99
|
+
_paths: string[];
|
|
100
|
+
path: string;
|
|
101
|
+
redirect: import("vue-router").RouteRecordRedirectOption;
|
|
102
|
+
component?: never;
|
|
103
|
+
components?: never;
|
|
104
|
+
props?: never;
|
|
105
|
+
alias?: string | string[];
|
|
106
|
+
name?: import("vue-router").RouteRecordName;
|
|
107
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
108
|
+
children?: RouteRecordRaw[];
|
|
109
|
+
end?: boolean;
|
|
110
|
+
sensitive?: boolean;
|
|
111
|
+
strict?: boolean;
|
|
112
|
+
}>;
|
|
113
|
+
bindProps: import("vue").ComputedRef<{}>;
|
|
114
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
|
+
data: {
|
|
116
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
117
|
+
default: () => {};
|
|
118
|
+
};
|
|
119
|
+
popperClass: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
basePath: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{}>, {
|
|
128
|
+
data: RouteRecordRaw;
|
|
129
|
+
popperClass: string;
|
|
130
|
+
basePath: string;
|
|
131
|
+
}, {}, {
|
|
132
|
+
CoreVue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
133
|
+
data: {
|
|
134
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
popperClass: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
basePath: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
}>, {
|
|
146
|
+
resolveFullPath: typeof import("@vunk/shared/string/url").resolveFullPath;
|
|
147
|
+
hasChildren: import("vue").ComputedRef<boolean>;
|
|
148
|
+
subMenuIndex: import("vue").ComputedRef<string>;
|
|
149
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
150
|
+
data: {
|
|
151
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
152
|
+
default: () => {};
|
|
153
|
+
};
|
|
154
|
+
popperClass: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
basePath: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
}>> & Readonly<{}>, {
|
|
163
|
+
data: RouteRecordRaw;
|
|
164
|
+
popperClass: string;
|
|
165
|
+
basePath: string;
|
|
166
|
+
}, {}, {
|
|
167
|
+
ElSubMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
168
|
+
readonly index: {
|
|
169
|
+
readonly type: import("vue").PropType<string>;
|
|
170
|
+
readonly required: true;
|
|
171
|
+
readonly validator: (val: unknown) => boolean;
|
|
172
|
+
__epPropKey: true;
|
|
173
|
+
};
|
|
174
|
+
readonly showTimeout: NumberConstructor;
|
|
175
|
+
readonly hideTimeout: NumberConstructor;
|
|
176
|
+
readonly popperClass: StringConstructor;
|
|
177
|
+
readonly disabled: BooleanConstructor;
|
|
178
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
179
|
+
readonly popperOffset: NumberConstructor;
|
|
180
|
+
readonly expandCloseIcon: {
|
|
181
|
+
readonly type: import("vue").PropType<unknown>;
|
|
182
|
+
readonly required: false;
|
|
183
|
+
readonly validator: (val: unknown) => boolean;
|
|
184
|
+
__epPropKey: true;
|
|
185
|
+
};
|
|
186
|
+
readonly expandOpenIcon: {
|
|
187
|
+
readonly type: import("vue").PropType<unknown>;
|
|
188
|
+
readonly required: false;
|
|
189
|
+
readonly validator: (val: unknown) => boolean;
|
|
190
|
+
__epPropKey: true;
|
|
191
|
+
};
|
|
192
|
+
readonly collapseCloseIcon: {
|
|
193
|
+
readonly type: import("vue").PropType<unknown>;
|
|
194
|
+
readonly required: false;
|
|
195
|
+
readonly validator: (val: unknown) => boolean;
|
|
196
|
+
__epPropKey: true;
|
|
197
|
+
};
|
|
198
|
+
readonly collapseOpenIcon: {
|
|
199
|
+
readonly type: import("vue").PropType<unknown>;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: (val: unknown) => boolean;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
};
|
|
204
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
207
|
+
readonly index: {
|
|
208
|
+
readonly type: import("vue").PropType<string>;
|
|
209
|
+
readonly required: true;
|
|
210
|
+
readonly validator: (val: unknown) => boolean;
|
|
211
|
+
__epPropKey: true;
|
|
212
|
+
};
|
|
213
|
+
readonly showTimeout: NumberConstructor;
|
|
214
|
+
readonly hideTimeout: NumberConstructor;
|
|
215
|
+
readonly popperClass: StringConstructor;
|
|
216
|
+
readonly disabled: BooleanConstructor;
|
|
217
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
218
|
+
readonly popperOffset: NumberConstructor;
|
|
219
|
+
readonly expandCloseIcon: {
|
|
220
|
+
readonly type: import("vue").PropType<unknown>;
|
|
221
|
+
readonly required: false;
|
|
222
|
+
readonly validator: (val: unknown) => boolean;
|
|
223
|
+
__epPropKey: true;
|
|
224
|
+
};
|
|
225
|
+
readonly expandOpenIcon: {
|
|
226
|
+
readonly type: import("vue").PropType<unknown>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: (val: unknown) => boolean;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
};
|
|
231
|
+
readonly collapseCloseIcon: {
|
|
232
|
+
readonly type: import("vue").PropType<unknown>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: (val: unknown) => boolean;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
};
|
|
237
|
+
readonly collapseOpenIcon: {
|
|
238
|
+
readonly type: import("vue").PropType<unknown>;
|
|
239
|
+
readonly required: false;
|
|
240
|
+
readonly validator: (val: unknown) => boolean;
|
|
241
|
+
__epPropKey: true;
|
|
242
|
+
};
|
|
243
|
+
}>>, {
|
|
244
|
+
readonly teleported: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
|
|
245
|
+
readonly disabled: boolean;
|
|
246
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
247
|
+
ElMenuItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
248
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
|
|
249
|
+
readonly route: {
|
|
250
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
251
|
+
readonly required: false;
|
|
252
|
+
readonly validator: (val: unknown) => boolean;
|
|
253
|
+
__epPropKey: true;
|
|
254
|
+
};
|
|
255
|
+
readonly disabled: BooleanConstructor;
|
|
256
|
+
}, {
|
|
257
|
+
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
258
|
+
rootMenu: import("element-plus").MenuProvider;
|
|
259
|
+
active: import("vue").ComputedRef<boolean>;
|
|
260
|
+
nsMenu: {
|
|
261
|
+
namespace: import("vue").ComputedRef<string>;
|
|
262
|
+
b: (blockSuffix?: string) => string;
|
|
263
|
+
e: (element?: string) => string;
|
|
264
|
+
m: (modifier?: string) => string;
|
|
265
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
266
|
+
em: (element?: string, modifier?: string) => string;
|
|
267
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
268
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
269
|
+
is: {
|
|
270
|
+
(name: string, state: boolean): string;
|
|
271
|
+
(name: string): string;
|
|
272
|
+
};
|
|
273
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
274
|
+
cssVarName: (name: string) => string;
|
|
275
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
276
|
+
cssVarBlockName: (name: string) => string;
|
|
277
|
+
};
|
|
278
|
+
nsMenuItem: {
|
|
279
|
+
namespace: import("vue").ComputedRef<string>;
|
|
280
|
+
b: (blockSuffix?: string) => string;
|
|
281
|
+
e: (element?: string) => string;
|
|
282
|
+
m: (modifier?: string) => string;
|
|
283
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
284
|
+
em: (element?: string, modifier?: string) => string;
|
|
285
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
286
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
287
|
+
is: {
|
|
288
|
+
(name: string, state: boolean): string;
|
|
289
|
+
(name: string): string;
|
|
290
|
+
};
|
|
291
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
292
|
+
cssVarName: (name: string) => string;
|
|
293
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
294
|
+
cssVarBlockName: (name: string) => string;
|
|
295
|
+
};
|
|
296
|
+
handleClick: () => void;
|
|
297
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
298
|
+
click: (item: import("element-plus").MenuItemRegistered) => boolean;
|
|
299
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
300
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
|
|
301
|
+
readonly route: {
|
|
302
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
303
|
+
readonly required: false;
|
|
304
|
+
readonly validator: (val: unknown) => boolean;
|
|
305
|
+
__epPropKey: true;
|
|
306
|
+
};
|
|
307
|
+
readonly disabled: BooleanConstructor;
|
|
308
|
+
}>> & {
|
|
309
|
+
onClick?: (item: import("element-plus").MenuItemRegistered) => any;
|
|
310
|
+
}, {
|
|
311
|
+
readonly disabled: boolean;
|
|
312
|
+
readonly index: string;
|
|
313
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
314
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
315
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
316
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -60,4 +60,4 @@ export declare const tableColumnProps: {
|
|
|
60
60
|
validator: (val: TableColumnCtx<unknown>['sortOrders']) => boolean;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
export declare const createTableColumnBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"fixed", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"
|
|
63
|
+
export declare const createTableColumnBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"fixed", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"index", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"width", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"fixed", keyof T2>, KE> | Exclude<Extract<"filters", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"index", keyof T2>, KE> | Exclude<Extract<"renderHeader", keyof T2>, KE> | Exclude<Extract<"sortMethod", keyof T2>, KE> | Exclude<Extract<"sortBy", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"selectable", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"filteredValue", keyof T2>, KE> | Exclude<Extract<"sortOrders", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"labelClassName", keyof T2>, KE> | Exclude<Extract<"property", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"minWidth", keyof T2>, KE> | Exclude<Extract<"sortable", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"columnKey", keyof T2>, KE> | Exclude<Extract<"align", keyof T2>, KE> | Exclude<Extract<"headerAlign", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"reserveSelection", keyof T2>, KE> | Exclude<Extract<"filterPlacement", keyof T2>, KE> | Exclude<Extract<"filterMultiple", keyof T2>, KE> | Exclude<Extract<"showTooltipWhenOverflow", keyof T2>, KE> : Extract<"fixed", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"index", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"width", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2>]: { [k in Extract<"fixed", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"index", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"width", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2>]: T2[k]; }[P]; }>;
|
|
@@ -179,7 +179,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
179
179
|
align: StringConstructor;
|
|
180
180
|
headerAlign: StringConstructor;
|
|
181
181
|
showOverflowTooltip: {
|
|
182
|
-
type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "
|
|
182
|
+
type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "popperClass" | "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>>;
|
|
183
183
|
default: undefined;
|
|
184
184
|
};
|
|
185
185
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
@@ -241,7 +241,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
241
241
|
align: StringConstructor;
|
|
242
242
|
headerAlign: StringConstructor;
|
|
243
243
|
showOverflowTooltip: {
|
|
244
|
-
type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "
|
|
244
|
+
type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "popperClass" | "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>>;
|
|
245
245
|
default: undefined;
|
|
246
246
|
};
|
|
247
247
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
@@ -269,7 +269,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
269
269
|
type: string;
|
|
270
270
|
width: string | number;
|
|
271
271
|
minWidth: string | number;
|
|
272
|
-
showOverflowTooltip: boolean | Partial<Pick<import("element-plus").ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "
|
|
272
|
+
showOverflowTooltip: boolean | Partial<Pick<import("element-plus").ElTooltipProps, "popperClass" | "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>;
|
|
273
273
|
sortOrders: ("ascending" | "descending")[];
|
|
274
274
|
sortable: string | boolean;
|
|
275
275
|
resizable: boolean;
|