next-element-vue 0.8.5 → 0.8.7
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/dist/index.css +4 -4
- package/dist/index.js +3 -3
- package/dist/packages/components/container/index.d.ts +2 -2
- package/dist/packages/components/container/src/index.d.ts +2 -2
- package/dist/packages/components/crud-table/index.d.ts +1 -1
- package/dist/packages/components/crud-table/src/config.d.ts +53 -48
- package/dist/packages/components/crud-table/src/hook.d.ts +1 -1
- package/dist/packages/components/crud-table/src/index.d.ts +1 -1
- package/dist/packages/components/crud-table-virtualized/index.d.ts +1 -1
- package/dist/packages/components/crud-table-virtualized/src/index-demo.d.ts +1 -1
- package/dist/packages/components/crud-table-virtualized/src/index.d.ts +1 -1
- package/dist/packages/components/dialog/index.d.ts +1 -1
- package/dist/packages/components/dialog/src/index.d.ts +1 -1
- package/dist/packages/components/form/index.d.ts +6 -6
- package/dist/packages/components/form/src/config.d.ts +27 -27
- package/dist/packages/components/form/src/widgets/input-table-select.d.ts +2 -2
- package/dist/packages/components/form/src/widgets/number-range-picker.d.ts +2 -2
- package/dist/packages/components/form/src/widgets/tree-cascader.d.ts +2 -2
- package/dist/packages/components/form/src/widgets/tree-select.d.ts +2 -2
- package/dist/packages/components/form/src/widgets/upload-image.d.ts +6 -7
- package/dist/packages/components/labelimg/src/hooks/canvas-context-hook.d.ts +4 -1
- package/dist/packages/components/labelme/index.d.ts +1 -1
- package/dist/packages/components/labelme/src/index.d.ts +1 -1
- package/dist/packages/components/layout/src/classic/index.d.ts +3 -3
- package/dist/packages/components/layout/src/composite/index.d.ts +3 -3
- package/dist/packages/components/layout/src/config.d.ts +2 -8
- package/dist/packages/components/layout/src/widgets/header-tools.d.ts +6 -1
- package/dist/packages/components/layout/src/widgets/layout-setting.d.ts +3 -1
- package/dist/packages/components/layout/src/widgets/search-menu.d.ts +16 -0
- package/dist/packages/components/menu/index.d.ts +1 -1
- package/dist/packages/components/menu/src/index.d.ts +1 -1
- package/dist/packages/components/spin-loading/index.d.ts +1 -2
- package/dist/packages/components/spin-loading/src/index.d.ts +1 -2
- package/dist/packages/components/text-ellipsis/index.d.ts +5 -3
- package/dist/packages/components/text-ellipsis/src/index.d.ts +8 -3
- package/dist/packages/components/upload/index.d.ts +1 -2
- package/dist/packages/components/upload/src/index.d.ts +1 -2
- package/dist/packages/components/video-player/src/hook.d.ts +2 -2
- package/dist/packages/hooks/global-config.d.ts +1 -0
- package/dist/packages/hooks/global-hook.d.ts +1 -1
- package/dist/packages/hooks/use-locale/index.d.ts +24 -117
- package/dist/packages/hooks/use-namespace/index.d.ts +3 -3
- package/dist/packages/locale/lang/en.d.ts +12 -0
- package/dist/packages/locale/lang/zh-cn.d.ts +12 -0
- package/dist/packages/locale/lang/zh-tw.d.ts +12 -0
- package/package.json +6 -11
|
@@ -8,10 +8,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
em: (element?: string, modifier?: string) => string;
|
|
9
9
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
10
10
|
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
11
|
-
bf: (...arg:
|
|
11
|
+
bf: (...arg: string[]) => string;
|
|
12
12
|
is: {
|
|
13
|
-
(
|
|
14
|
-
(
|
|
13
|
+
(_name: string, _state: boolean | undefined): string;
|
|
14
|
+
(_name: string): string;
|
|
15
15
|
};
|
|
16
16
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
17
17
|
cssVarName: (name: string) => string;
|
|
@@ -8,10 +8,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
em: (element?: string, modifier?: string) => string;
|
|
9
9
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
10
10
|
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
11
|
-
bf: (...arg:
|
|
11
|
+
bf: (...arg: string[]) => string;
|
|
12
12
|
is: {
|
|
13
|
-
(
|
|
14
|
-
(
|
|
13
|
+
(_name: string, _state: boolean | undefined): string;
|
|
14
|
+
(_name: string): string;
|
|
15
15
|
};
|
|
16
16
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
17
17
|
cssVarName: (name: string) => string;
|
|
@@ -13,17 +13,11 @@ declare const _default: {
|
|
|
13
13
|
value: string;
|
|
14
14
|
label: string;
|
|
15
15
|
}[];
|
|
16
|
-
userDropdown:
|
|
16
|
+
userDropdown: {
|
|
17
17
|
value: string;
|
|
18
18
|
label: string;
|
|
19
19
|
svg: string;
|
|
20
|
-
|
|
21
|
-
} | {
|
|
22
|
-
value: string;
|
|
23
|
-
label: string;
|
|
24
|
-
svg: string;
|
|
25
|
-
divided: boolean;
|
|
26
|
-
})[];
|
|
20
|
+
}[];
|
|
27
21
|
showTabs: boolean;
|
|
28
22
|
activeTab: string;
|
|
29
23
|
tabs: any[];
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
locale: import("vue").Ref<import("../../../../locale").Language, import("../../../../locale").Language>;
|
|
3
3
|
config: any;
|
|
4
|
-
|
|
4
|
+
ns: any;
|
|
5
|
+
emit: any;
|
|
5
6
|
toggle: () => Promise<void>;
|
|
6
7
|
isFullscreen: import("vue").ShallowRef<boolean>;
|
|
7
8
|
language: import("vue").Ref<string, string>;
|
|
9
|
+
menuTree: import("vue").ComputedRef<any>;
|
|
8
10
|
settingDrawer: import("vue").Ref<boolean, boolean>;
|
|
9
11
|
openSettingDrawer: () => void;
|
|
10
12
|
closeSettingDrawer: () => void;
|
|
13
|
+
searchMenuDialog: import("vue").Ref<boolean, boolean>;
|
|
14
|
+
openSearchMenuDialog: () => void;
|
|
15
|
+
closeSearchMenuDialog: () => void;
|
|
11
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
17
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
config: any;
|
|
3
|
-
|
|
3
|
+
slots: any;
|
|
4
|
+
ns: any;
|
|
5
|
+
updateOptions: any;
|
|
4
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
7
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
menuTree: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => any[];
|
|
5
|
+
};
|
|
6
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
menuTree: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => any[];
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{
|
|
12
|
+
onClose?: (...args: any[]) => any;
|
|
13
|
+
}>, {
|
|
14
|
+
menuTree: unknown[];
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -54,9 +54,9 @@ export declare const NextMenu: import("../../utils/install").SFCWithInstall<impo
|
|
|
54
54
|
}>> & Readonly<{}>, {
|
|
55
55
|
style: import("vue").CSSProperties;
|
|
56
56
|
className: string;
|
|
57
|
+
menuTree: import("./src/interface").MenuItemInterface[];
|
|
57
58
|
router: boolean;
|
|
58
59
|
mode: "horizontal" | "vertical";
|
|
59
|
-
menuTree: import("./src/interface").MenuItemInterface[];
|
|
60
60
|
collapse: boolean;
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
62
62
|
export default NextMenu;
|
|
@@ -55,9 +55,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
55
|
}>> & Readonly<{}>, {
|
|
56
56
|
style: CSSProperties;
|
|
57
57
|
className: string;
|
|
58
|
+
menuTree: MenuItemInterface[];
|
|
58
59
|
router: boolean;
|
|
59
60
|
mode: "horizontal" | "vertical";
|
|
60
|
-
menuTree: MenuItemInterface[];
|
|
61
61
|
collapse: boolean;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
export default _default;
|
|
@@ -17,7 +17,6 @@ export declare const NextSpinLoading: import("../../utils/install").SFCWithInsta
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}>, {
|
|
20
|
-
t: import("../..").Translator;
|
|
21
20
|
elementInstance: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
22
21
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
22
|
className: {
|
|
@@ -38,8 +37,8 @@ export declare const NextSpinLoading: import("../../utils/install").SFCWithInsta
|
|
|
38
37
|
};
|
|
39
38
|
}>> & Readonly<{}>, {
|
|
40
39
|
tip: string;
|
|
40
|
+
loading: boolean;
|
|
41
41
|
style: import("vue").CSSProperties;
|
|
42
42
|
className: string;
|
|
43
|
-
loading: boolean;
|
|
44
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
45
44
|
export default NextSpinLoading;
|
|
@@ -17,7 +17,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}>, {
|
|
20
|
-
t: import("packages/hooks").Translator;
|
|
21
20
|
elementInstance: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
22
21
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
22
|
className: {
|
|
@@ -38,8 +37,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
37
|
};
|
|
39
38
|
}>> & Readonly<{}>, {
|
|
40
39
|
tip: string;
|
|
40
|
+
loading: boolean;
|
|
41
41
|
style: CSSProperties;
|
|
42
42
|
className: string;
|
|
43
|
-
loading: boolean;
|
|
44
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
44
|
export default _default;
|
|
@@ -17,8 +17,9 @@ export declare const NextTextEllipsis: import("../../utils/install").SFCWithInst
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
placement: {
|
|
20
|
-
type:
|
|
20
|
+
type: import("vue").PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
|
|
21
21
|
default: string;
|
|
22
|
+
enum: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
22
23
|
};
|
|
23
24
|
textAlign: {
|
|
24
25
|
type: StringConstructor;
|
|
@@ -42,15 +43,16 @@ export declare const NextTextEllipsis: import("../../utils/install").SFCWithInst
|
|
|
42
43
|
default: string;
|
|
43
44
|
};
|
|
44
45
|
placement: {
|
|
45
|
-
type:
|
|
46
|
+
type: import("vue").PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
|
|
46
47
|
default: string;
|
|
48
|
+
enum: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
47
49
|
};
|
|
48
50
|
textAlign: {
|
|
49
51
|
type: StringConstructor;
|
|
50
52
|
default: string;
|
|
51
53
|
};
|
|
52
54
|
}>> & Readonly<{}>, {
|
|
53
|
-
placement:
|
|
55
|
+
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
54
56
|
className: string;
|
|
55
57
|
content: string;
|
|
56
58
|
disabled: boolean;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const enumPlacement: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
3
|
+
type TypePlacement = (typeof enumPlacement)[number];
|
|
1
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
5
|
className: {
|
|
3
6
|
type: StringConstructor;
|
|
@@ -16,8 +19,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
19
|
default: string;
|
|
17
20
|
};
|
|
18
21
|
placement: {
|
|
19
|
-
type:
|
|
22
|
+
type: PropType<TypePlacement>;
|
|
20
23
|
default: string;
|
|
24
|
+
enum: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
21
25
|
};
|
|
22
26
|
textAlign: {
|
|
23
27
|
type: StringConstructor;
|
|
@@ -41,15 +45,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
45
|
default: string;
|
|
42
46
|
};
|
|
43
47
|
placement: {
|
|
44
|
-
type:
|
|
48
|
+
type: PropType<TypePlacement>;
|
|
45
49
|
default: string;
|
|
50
|
+
enum: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
46
51
|
};
|
|
47
52
|
textAlign: {
|
|
48
53
|
type: StringConstructor;
|
|
49
54
|
default: string;
|
|
50
55
|
};
|
|
51
56
|
}>> & Readonly<{}>, {
|
|
52
|
-
placement:
|
|
57
|
+
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
53
58
|
className: string;
|
|
54
59
|
content: string;
|
|
55
60
|
disabled: boolean;
|
|
@@ -18,8 +18,7 @@ export declare const NextUpload: import("../../utils/install").SFCWithInstall<im
|
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
}>, {
|
|
21
|
-
|
|
22
|
-
appContext: any;
|
|
21
|
+
appContext: import("vue").AppContext;
|
|
23
22
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "remove" | "preview")[], "change" | "remove" | "preview", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
23
|
className: {
|
|
25
24
|
type: StringConstructor;
|
|
@@ -18,8 +18,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
}>, {
|
|
21
|
-
|
|
22
|
-
appContext: any;
|
|
21
|
+
appContext: import("vue").AppContext;
|
|
23
22
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "remove" | "preview")[], "change" | "remove" | "preview", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
23
|
className: {
|
|
25
24
|
type: StringConstructor;
|
|
@@ -14,7 +14,7 @@ interface ClassInterfacce {
|
|
|
14
14
|
value: number;
|
|
15
15
|
label: string;
|
|
16
16
|
}
|
|
17
|
-
export declare const detectVideoFrame: (video: HTMLVideoElement, model: any, ctx: CanvasRenderingContext2D, tf: any, classNames: ClassInterfacce[], classInput: ClassInputInterface[], detect_ctx: CanvasRenderingContext2D, success?:
|
|
17
|
+
export declare const detectVideoFrame: (video: HTMLVideoElement, model: any, ctx: CanvasRenderingContext2D, tf: any, classNames: ClassInterfacce[], classInput: ClassInputInterface[], detect_ctx: CanvasRenderingContext2D, success?: (name?: string, score?: number) => void) => Promise<void>;
|
|
18
18
|
/**
|
|
19
19
|
* 普通视频截图
|
|
20
20
|
* @param player
|
|
@@ -35,6 +35,6 @@ interface DetectVideoOptions {
|
|
|
35
35
|
classInput: ClassInputInterface[];
|
|
36
36
|
}
|
|
37
37
|
export declare const useDetectVideo: (tf: any) => {
|
|
38
|
-
detectVideoFrameImage: ({ container, video, modelUrl, classNames, classInput }: DetectVideoOptions, success?:
|
|
38
|
+
detectVideoFrameImage: ({ container, video, modelUrl, classNames, classInput }: DetectVideoOptions, success?: (_name: any, _score: any) => void, error?: (_msg: string) => void) => boolean;
|
|
39
39
|
};
|
|
40
40
|
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { InjectionKey, Ref, MaybeRef } from 'vue';
|
|
2
2
|
import type { Language } from 'packages/locale';
|
|
3
|
-
import zhcnLocale from 'packages/locale/lang/zh-cn';
|
|
4
|
-
import enLocale from 'packages/locale/lang/en';
|
|
5
|
-
import zhtwLocale from 'packages/locale/lang/zh-tw';
|
|
6
3
|
export declare const localeLang: {
|
|
7
|
-
[
|
|
4
|
+
[x: string]: {
|
|
8
5
|
name: string;
|
|
9
6
|
next: {
|
|
10
7
|
loading: string;
|
|
@@ -89,6 +86,18 @@ export declare const localeLang: {
|
|
|
89
86
|
saveSetting: string;
|
|
90
87
|
resetSetting: string;
|
|
91
88
|
};
|
|
89
|
+
search: string;
|
|
90
|
+
searchMenu: {
|
|
91
|
+
title: string;
|
|
92
|
+
placeholder: string;
|
|
93
|
+
empty: string;
|
|
94
|
+
search: string;
|
|
95
|
+
cancel: string;
|
|
96
|
+
navigate: string;
|
|
97
|
+
select: string;
|
|
98
|
+
close: string;
|
|
99
|
+
selectEmpty: string;
|
|
100
|
+
};
|
|
92
101
|
};
|
|
93
102
|
labelimg: {
|
|
94
103
|
saveTxt: string;
|
|
@@ -116,8 +125,7 @@ export declare const localeLang: {
|
|
|
116
125
|
labelDescription: string;
|
|
117
126
|
};
|
|
118
127
|
};
|
|
119
|
-
}
|
|
120
|
-
[enLocale.name]: {
|
|
128
|
+
} | {
|
|
121
129
|
name: string;
|
|
122
130
|
next: {
|
|
123
131
|
loading: string;
|
|
@@ -202,118 +210,17 @@ export declare const localeLang: {
|
|
|
202
210
|
saveSetting: string;
|
|
203
211
|
resetSetting: string;
|
|
204
212
|
};
|
|
205
|
-
};
|
|
206
|
-
labelimg: {
|
|
207
|
-
saveTxt: string;
|
|
208
|
-
emptyLabelText: string;
|
|
209
|
-
confirmDeleteLabel: string;
|
|
210
|
-
saveLabel: string;
|
|
211
|
-
instructions: string;
|
|
212
|
-
labelNoUpdate: string;
|
|
213
|
-
zoomRestore: string;
|
|
214
|
-
};
|
|
215
|
-
labelme: {
|
|
216
|
-
saveLabel: string;
|
|
217
|
-
confirmDeleteLabel: string;
|
|
218
|
-
emptyLabelText: string;
|
|
219
|
-
createPolygon: string;
|
|
220
|
-
editPolygon: string;
|
|
221
|
-
deletePolygon: string;
|
|
222
|
-
createRectangle: string;
|
|
223
|
-
createCircle: string;
|
|
224
|
-
createKeypoint: string;
|
|
225
|
-
selectClasses: string;
|
|
226
|
-
emptyClassesText: string;
|
|
227
|
-
deleteClasses: string;
|
|
228
|
-
labelGroupId: string;
|
|
229
|
-
labelDescription: string;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
[zhtwLocale.name]: {
|
|
234
|
-
name: string;
|
|
235
|
-
next: {
|
|
236
|
-
loading: string;
|
|
237
|
-
table: {
|
|
238
213
|
search: string;
|
|
239
|
-
|
|
240
|
-
add: string;
|
|
241
|
-
delete: string;
|
|
242
|
-
batchDelete: string;
|
|
243
|
-
export: string;
|
|
244
|
-
edit: string;
|
|
245
|
-
view: string;
|
|
246
|
-
unfoldSearch: string;
|
|
247
|
-
foldSearch: string;
|
|
248
|
-
notData: string;
|
|
249
|
-
operation: string;
|
|
250
|
-
selection: string;
|
|
251
|
-
selectionAll: string;
|
|
252
|
-
setting: {
|
|
214
|
+
searchMenu: {
|
|
253
215
|
title: string;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
cancelBatchDelete: string;
|
|
263
|
-
deleteTip: string;
|
|
264
|
-
cancelDelete: string;
|
|
265
|
-
confirmButtonText: string;
|
|
266
|
-
cancelButtonText: string;
|
|
267
|
-
};
|
|
268
|
-
uploadfileExceed: string;
|
|
269
|
-
};
|
|
270
|
-
form: {
|
|
271
|
-
input: string;
|
|
272
|
-
select: string;
|
|
273
|
-
requiredInput: string;
|
|
274
|
-
requiredSelect: string;
|
|
275
|
-
submit: string;
|
|
276
|
-
cancel: string;
|
|
277
|
-
reset: string;
|
|
278
|
-
confirm: string;
|
|
279
|
-
tableSelect: string;
|
|
280
|
-
selectFile: string;
|
|
281
|
-
};
|
|
282
|
-
date: {
|
|
283
|
-
oneWeekAge: string;
|
|
284
|
-
oneMonthAge: string;
|
|
285
|
-
threeMonthsAge: string;
|
|
286
|
-
oneYearAge: string;
|
|
287
|
-
threeYearsAge: string;
|
|
288
|
-
rangeSeparator: string;
|
|
289
|
-
startPlaceholder: string;
|
|
290
|
-
endPlaceholder: string;
|
|
291
|
-
};
|
|
292
|
-
layout: {
|
|
293
|
-
home: string;
|
|
294
|
-
personal: string;
|
|
295
|
-
logOut: string;
|
|
296
|
-
tabsOther: string;
|
|
297
|
-
tabsLeft: string;
|
|
298
|
-
tabsRight: string;
|
|
299
|
-
tabsAll: string;
|
|
300
|
-
setting: {
|
|
301
|
-
systemSetting: string;
|
|
302
|
-
globalTheme: string;
|
|
303
|
-
themeColor: string;
|
|
304
|
-
textPrimary: string;
|
|
305
|
-
darkMode: string;
|
|
306
|
-
themeGlass: string;
|
|
307
|
-
headerBackground: string;
|
|
308
|
-
headerTextColor: string;
|
|
309
|
-
headerActiveTextColor: string;
|
|
310
|
-
headerGradient: string;
|
|
311
|
-
layoutMode: string;
|
|
312
|
-
isShowTab: string;
|
|
313
|
-
themeBackground: string;
|
|
314
|
-
backgroundSetting: string;
|
|
315
|
-
saveSetting: string;
|
|
316
|
-
resetSetting: string;
|
|
216
|
+
placeholder: string;
|
|
217
|
+
empty: string;
|
|
218
|
+
search: string;
|
|
219
|
+
cancel: string;
|
|
220
|
+
navigate: string;
|
|
221
|
+
select: string;
|
|
222
|
+
close: string;
|
|
223
|
+
selectEmpty: string;
|
|
317
224
|
};
|
|
318
225
|
};
|
|
319
226
|
labelimg: {
|
|
@@ -345,7 +252,7 @@ export declare const localeLang: {
|
|
|
345
252
|
};
|
|
346
253
|
};
|
|
347
254
|
export type TranslatorOption = Record<string, string | number>;
|
|
348
|
-
export type Translator = (
|
|
255
|
+
export type Translator = (_path: string, _option?: TranslatorOption) => string;
|
|
349
256
|
export type LocaleContext = {
|
|
350
257
|
locale: Ref<Language>;
|
|
351
258
|
lang: Ref<string>;
|
|
@@ -11,10 +11,10 @@ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<stri
|
|
|
11
11
|
em: (element?: string, modifier?: string) => string;
|
|
12
12
|
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
13
13
|
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
14
|
-
bf: (...arg:
|
|
14
|
+
bf: (...arg: string[]) => string;
|
|
15
15
|
is: {
|
|
16
|
-
(
|
|
17
|
-
(
|
|
16
|
+
(_name: string, _state: boolean | undefined): string;
|
|
17
|
+
(_name: string): string;
|
|
18
18
|
};
|
|
19
19
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
20
20
|
cssVarName: (name: string) => string;
|
|
@@ -83,6 +83,18 @@ declare const _default: {
|
|
|
83
83
|
saveSetting: string;
|
|
84
84
|
resetSetting: string;
|
|
85
85
|
};
|
|
86
|
+
search: string;
|
|
87
|
+
searchMenu: {
|
|
88
|
+
title: string;
|
|
89
|
+
placeholder: string;
|
|
90
|
+
empty: string;
|
|
91
|
+
search: string;
|
|
92
|
+
cancel: string;
|
|
93
|
+
navigate: string;
|
|
94
|
+
select: string;
|
|
95
|
+
close: string;
|
|
96
|
+
selectEmpty: string;
|
|
97
|
+
};
|
|
86
98
|
};
|
|
87
99
|
labelimg: {
|
|
88
100
|
saveTxt: string;
|
|
@@ -83,6 +83,18 @@ declare const _default: {
|
|
|
83
83
|
saveSetting: string;
|
|
84
84
|
resetSetting: string;
|
|
85
85
|
};
|
|
86
|
+
search: string;
|
|
87
|
+
searchMenu: {
|
|
88
|
+
title: string;
|
|
89
|
+
placeholder: string;
|
|
90
|
+
empty: string;
|
|
91
|
+
search: string;
|
|
92
|
+
cancel: string;
|
|
93
|
+
navigate: string;
|
|
94
|
+
select: string;
|
|
95
|
+
close: string;
|
|
96
|
+
selectEmpty: string;
|
|
97
|
+
};
|
|
86
98
|
};
|
|
87
99
|
labelimg: {
|
|
88
100
|
saveTxt: string;
|
|
@@ -83,6 +83,18 @@ declare const _default: {
|
|
|
83
83
|
saveSetting: string;
|
|
84
84
|
resetSetting: string;
|
|
85
85
|
};
|
|
86
|
+
search: string;
|
|
87
|
+
searchMenu: {
|
|
88
|
+
title: string;
|
|
89
|
+
placeholder: string;
|
|
90
|
+
empty: string;
|
|
91
|
+
search: string;
|
|
92
|
+
cancel: string;
|
|
93
|
+
navigate: string;
|
|
94
|
+
select: string;
|
|
95
|
+
close: string;
|
|
96
|
+
selectEmpty: string;
|
|
97
|
+
};
|
|
86
98
|
};
|
|
87
99
|
labelimg: {
|
|
88
100
|
saveTxt: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-element-vue",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "huangteng",
|
|
6
6
|
"email": "junehunter@163.com"
|
|
@@ -38,21 +38,16 @@
|
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@vueuse/core": "^14.3.0",
|
|
41
|
-
"element-plus": "^2.14.
|
|
41
|
+
"element-plus": "^2.14.5",
|
|
42
42
|
"flv.js": "^1.6.2",
|
|
43
43
|
"lodash-es": "^4.17.21",
|
|
44
44
|
"video.js": "^8.23.4",
|
|
45
|
-
"vue": "^3.5.
|
|
46
|
-
"vue-i18n": "^11.4.
|
|
47
|
-
"vue-router": "^5.0
|
|
45
|
+
"vue": "^3.5.42",
|
|
46
|
+
"vue-i18n": "^11.4.8",
|
|
47
|
+
"vue-router": "^5.2.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=18"
|
|
51
51
|
},
|
|
52
|
-
"license": "MIT"
|
|
53
|
-
"pnpm": {
|
|
54
|
-
"overrides": {
|
|
55
|
-
"esbuild@<=0.24.2": ">=0.25.0"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
52
|
+
"license": "MIT"
|
|
58
53
|
}
|