@choubo/kerthus-web-admin-shell 0.0.0-stage → 0.2.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/README.md +51 -2
- package/dist/agent/AgentApprovalCard.vue.d.ts +34 -0
- package/dist/agent/AgentAttachmentList.vue.d.ts +42 -0
- package/dist/agent/AgentComposer.vue.d.ts +120 -0
- package/dist/agent/AgentModelSelect.vue.d.ts +53 -0
- package/dist/agent/types.d.ts +21 -0
- package/dist/application/AdminAppSwitcher.vue.d.ts +69 -0
- package/dist/application/AdminFullscreenButton.vue.d.ts +34 -0
- package/dist/application/AdminNotificationCenter.vue.d.ts +63 -0
- package/dist/application/AdminUserMenu.vue.d.ts +33 -0
- package/dist/application/AppDarkModeToggle.vue.d.ts +35 -0
- package/dist/application/AppLocalePicker.vue.d.ts +39 -0
- package/dist/application/AppLogo.vue.d.ts +35 -0
- package/dist/application/AppProvider.vue.d.ts +45 -0
- package/dist/application/AppSearch.vue.d.ts +2 -0
- package/dist/application/useAppContext.d.ts +9 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +2632 -0
- package/dist/layout/AdminLayout.vue.d.ts +146 -0
- package/dist/locales/index.d.ts +62 -0
- package/dist/locales/legacy-messages.d.ts +367 -0
- package/dist/menu/AdminMenuNode.d.ts +17 -0
- package/dist/menu/BasicMenu.vue.d.ts +65 -0
- package/dist/menu/SimpleMenu.vue.d.ts +55 -0
- package/dist/menu/SimpleMenuTag.vue.d.ts +38 -0
- package/dist/menu/paths.d.ts +3 -0
- package/dist/menu/runtime.d.ts +8 -0
- package/dist/menu/types.d.ts +39 -0
- package/dist/pages/AdminAboutView.vue.d.ts +66 -0
- package/dist/pages/AdminBreadcrumb.vue.d.ts +23 -0
- package/dist/pages/AdminErrorLogView.vue.d.ts +77 -0
- package/dist/pages/AdminExceptionView.vue.d.ts +25 -0
- package/dist/pages/AdminIframeView.vue.d.ts +51 -0
- package/dist/pages/AdminLockView.vue.d.ts +64 -0
- package/dist/pages/AdminLoginView.vue.d.ts +77 -0
- package/dist/pages/AdminPasswordForm.vue.d.ts +96 -0
- package/dist/pages/AdminProfileForm.vue.d.ts +94 -0
- package/dist/pages/AdminProfileTabs.vue.d.ts +55 -0
- package/dist/pages/AdminSecuritySettings.vue.d.ts +41 -0
- package/dist/settings/AdminSettingsDrawer.vue.d.ts +56 -0
- package/dist/settings/SettingsPanel.vue.d.ts +21 -0
- package/dist/settings/types.d.ts +38 -0
- package/dist/style.css +1 -0
- package/dist/tabs/AdminTabs.vue.d.ts +47 -0
- package/dist/tabs/actions.d.ts +4 -0
- package/dist/tabs/types.d.ts +16 -0
- package/package.json +37 -4
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { AdminMenuItem } from '../menu/types';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
brand?(_: {}): any;
|
|
5
|
+
navigation?(_: {}): any;
|
|
6
|
+
sidebarFooter?(_: {}): any;
|
|
7
|
+
header?(_: {}): any;
|
|
8
|
+
topNavigation?(_: {}): any;
|
|
9
|
+
headerActions?(_: {}): any;
|
|
10
|
+
tabs?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
menus?: AdminMenuItem[];
|
|
16
|
+
topMenus?: AdminMenuItem[];
|
|
17
|
+
mode?: "sidebar" | "top" | "mixed";
|
|
18
|
+
collapsed?: boolean;
|
|
19
|
+
showSidebar?: boolean;
|
|
20
|
+
fullContent?: boolean;
|
|
21
|
+
resizableSidebar?: boolean;
|
|
22
|
+
minSidebarWidth?: number;
|
|
23
|
+
maxSidebarWidth?: number;
|
|
24
|
+
sidebarWidth?: number;
|
|
25
|
+
collapsedWidth?: number;
|
|
26
|
+
headerHeight?: number;
|
|
27
|
+
mobileBreakpoint?: number;
|
|
28
|
+
menuTheme?: "light" | "dark";
|
|
29
|
+
topMenuTheme?: "light" | "dark";
|
|
30
|
+
topNavigationLabel?: string;
|
|
31
|
+
navigationLabel?: string;
|
|
32
|
+
closeNavigationLabel?: string;
|
|
33
|
+
resizeLabel?: string;
|
|
34
|
+
}>, {
|
|
35
|
+
menus: () => never[];
|
|
36
|
+
topMenus: () => never[];
|
|
37
|
+
mode: string;
|
|
38
|
+
collapsed: boolean;
|
|
39
|
+
showSidebar: boolean;
|
|
40
|
+
fullContent: boolean;
|
|
41
|
+
resizableSidebar: boolean;
|
|
42
|
+
minSidebarWidth: number;
|
|
43
|
+
maxSidebarWidth: number;
|
|
44
|
+
sidebarWidth: number;
|
|
45
|
+
collapsedWidth: number;
|
|
46
|
+
headerHeight: number;
|
|
47
|
+
mobileBreakpoint: number;
|
|
48
|
+
menuTheme: string;
|
|
49
|
+
topMenuTheme: string;
|
|
50
|
+
topNavigationLabel: string;
|
|
51
|
+
navigationLabel: string;
|
|
52
|
+
closeNavigationLabel: string;
|
|
53
|
+
resizeLabel: string;
|
|
54
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
|
+
"update:collapsed": (value: boolean) => void;
|
|
56
|
+
menuClick: (path: string) => void;
|
|
57
|
+
"update:sidebarWidth": (value: number) => void;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
59
|
+
menus?: AdminMenuItem[];
|
|
60
|
+
topMenus?: AdminMenuItem[];
|
|
61
|
+
mode?: "sidebar" | "top" | "mixed";
|
|
62
|
+
collapsed?: boolean;
|
|
63
|
+
showSidebar?: boolean;
|
|
64
|
+
fullContent?: boolean;
|
|
65
|
+
resizableSidebar?: boolean;
|
|
66
|
+
minSidebarWidth?: number;
|
|
67
|
+
maxSidebarWidth?: number;
|
|
68
|
+
sidebarWidth?: number;
|
|
69
|
+
collapsedWidth?: number;
|
|
70
|
+
headerHeight?: number;
|
|
71
|
+
mobileBreakpoint?: number;
|
|
72
|
+
menuTheme?: "light" | "dark";
|
|
73
|
+
topMenuTheme?: "light" | "dark";
|
|
74
|
+
topNavigationLabel?: string;
|
|
75
|
+
navigationLabel?: string;
|
|
76
|
+
closeNavigationLabel?: string;
|
|
77
|
+
resizeLabel?: string;
|
|
78
|
+
}>, {
|
|
79
|
+
menus: () => never[];
|
|
80
|
+
topMenus: () => never[];
|
|
81
|
+
mode: string;
|
|
82
|
+
collapsed: boolean;
|
|
83
|
+
showSidebar: boolean;
|
|
84
|
+
fullContent: boolean;
|
|
85
|
+
resizableSidebar: boolean;
|
|
86
|
+
minSidebarWidth: number;
|
|
87
|
+
maxSidebarWidth: number;
|
|
88
|
+
sidebarWidth: number;
|
|
89
|
+
collapsedWidth: number;
|
|
90
|
+
headerHeight: number;
|
|
91
|
+
mobileBreakpoint: number;
|
|
92
|
+
menuTheme: string;
|
|
93
|
+
topMenuTheme: string;
|
|
94
|
+
topNavigationLabel: string;
|
|
95
|
+
navigationLabel: string;
|
|
96
|
+
closeNavigationLabel: string;
|
|
97
|
+
resizeLabel: string;
|
|
98
|
+
}>>> & Readonly<{
|
|
99
|
+
onMenuClick?: ((path: string) => any) | undefined;
|
|
100
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
101
|
+
"onUpdate:sidebarWidth"?: ((value: number) => any) | undefined;
|
|
102
|
+
}>, {
|
|
103
|
+
mode: "sidebar" | "top" | "mixed";
|
|
104
|
+
mobileBreakpoint: number;
|
|
105
|
+
menus: AdminMenuItem[];
|
|
106
|
+
topMenus: AdminMenuItem[];
|
|
107
|
+
collapsed: boolean;
|
|
108
|
+
showSidebar: boolean;
|
|
109
|
+
fullContent: boolean;
|
|
110
|
+
resizableSidebar: boolean;
|
|
111
|
+
minSidebarWidth: number;
|
|
112
|
+
maxSidebarWidth: number;
|
|
113
|
+
sidebarWidth: number;
|
|
114
|
+
collapsedWidth: number;
|
|
115
|
+
headerHeight: number;
|
|
116
|
+
menuTheme: "light" | "dark";
|
|
117
|
+
topMenuTheme: "light" | "dark";
|
|
118
|
+
topNavigationLabel: string;
|
|
119
|
+
navigationLabel: string;
|
|
120
|
+
closeNavigationLabel: string;
|
|
121
|
+
resizeLabel: string;
|
|
122
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
124
|
+
export default _default;
|
|
125
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
126
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
127
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
128
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
129
|
+
} : {
|
|
130
|
+
type: import('vue').PropType<T[K]>;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
type __VLS_WithDefaults<P, D> = {
|
|
135
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
136
|
+
default: D[K];
|
|
137
|
+
}> : P[K];
|
|
138
|
+
};
|
|
139
|
+
type __VLS_Prettify<T> = {
|
|
140
|
+
[K in keyof T]: T[K];
|
|
141
|
+
} & {};
|
|
142
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
143
|
+
new (): {
|
|
144
|
+
$slots: S;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const adminShellMessages: {
|
|
2
|
+
readonly 'en-US': {
|
|
3
|
+
readonly navigation: "Navigation";
|
|
4
|
+
readonly closeNavigation: "Close navigation";
|
|
5
|
+
readonly username: "Username";
|
|
6
|
+
readonly password: "Password";
|
|
7
|
+
readonly signIn: "Sign in";
|
|
8
|
+
readonly signingIn: "Signing in";
|
|
9
|
+
readonly unlock: "Unlock";
|
|
10
|
+
readonly switchAccount: "Switch account";
|
|
11
|
+
readonly attachments: "Attachments";
|
|
12
|
+
readonly attachFiles: "Attach files";
|
|
13
|
+
readonly approvalMode: "Approval mode";
|
|
14
|
+
readonly model: "Model";
|
|
15
|
+
readonly send: "Send";
|
|
16
|
+
readonly stop: "Stop";
|
|
17
|
+
readonly notifications: "Notifications";
|
|
18
|
+
readonly noNotifications: "No notifications";
|
|
19
|
+
readonly markAllRead: "Mark all as read";
|
|
20
|
+
readonly profileSettings: "Profile settings";
|
|
21
|
+
readonly errorLog: "Error log";
|
|
22
|
+
readonly clear: "Clear";
|
|
23
|
+
readonly details: "Details";
|
|
24
|
+
readonly noErrors: "No errors";
|
|
25
|
+
readonly version: "Version";
|
|
26
|
+
readonly builtAt: "Built at";
|
|
27
|
+
readonly dependencies: "Dependencies";
|
|
28
|
+
readonly approve: "Approve";
|
|
29
|
+
readonly reject: "Reject";
|
|
30
|
+
};
|
|
31
|
+
readonly 'zh-CN': {
|
|
32
|
+
readonly navigation: "导航";
|
|
33
|
+
readonly closeNavigation: "关闭导航";
|
|
34
|
+
readonly username: "账号";
|
|
35
|
+
readonly password: "密码";
|
|
36
|
+
readonly signIn: "登录";
|
|
37
|
+
readonly signingIn: "正在登录";
|
|
38
|
+
readonly unlock: "解锁";
|
|
39
|
+
readonly switchAccount: "切换账号";
|
|
40
|
+
readonly attachments: "附件";
|
|
41
|
+
readonly attachFiles: "添加附件";
|
|
42
|
+
readonly approvalMode: "审批模式";
|
|
43
|
+
readonly model: "模型";
|
|
44
|
+
readonly send: "发送";
|
|
45
|
+
readonly stop: "停止";
|
|
46
|
+
readonly notifications: "通知";
|
|
47
|
+
readonly noNotifications: "暂无通知";
|
|
48
|
+
readonly markAllRead: "全部标为已读";
|
|
49
|
+
readonly profileSettings: "个人设置";
|
|
50
|
+
readonly errorLog: "错误日志";
|
|
51
|
+
readonly clear: "清除";
|
|
52
|
+
readonly details: "详情";
|
|
53
|
+
readonly noErrors: "暂无错误";
|
|
54
|
+
readonly version: "版本";
|
|
55
|
+
readonly builtAt: "构建时间";
|
|
56
|
+
readonly dependencies: "依赖";
|
|
57
|
+
readonly approve: "批准";
|
|
58
|
+
readonly reject: "拒绝";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type AdminShellMessageKey = keyof typeof adminShellMessages['en-US'];
|
|
62
|
+
export declare function getAdminShellMessage(locale: string, key: AdminShellMessageKey): string;
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
export declare const legacyAdminMessages: {
|
|
2
|
+
readonly "en-US": {
|
|
3
|
+
readonly layout: {
|
|
4
|
+
readonly footer: {
|
|
5
|
+
readonly onlinePreview: "Preview";
|
|
6
|
+
readonly onlineDocument: "Document";
|
|
7
|
+
};
|
|
8
|
+
readonly header: {
|
|
9
|
+
readonly dropdownItemDoc: "Document";
|
|
10
|
+
readonly dropdownItemLoginOut: "Log Out";
|
|
11
|
+
readonly tooltipErrorLog: "Error log";
|
|
12
|
+
readonly tooltipLock: "Lock screen";
|
|
13
|
+
readonly tooltipNotify: "Notification";
|
|
14
|
+
readonly tooltipEntryFull: "Full Screen";
|
|
15
|
+
readonly tooltipExitFull: "Exit Full Screen";
|
|
16
|
+
readonly lockScreenPassword: "Lock screen password";
|
|
17
|
+
readonly lockScreen: "Lock screen";
|
|
18
|
+
readonly lockScreenBtn: "Locking";
|
|
19
|
+
readonly home: "Home";
|
|
20
|
+
};
|
|
21
|
+
readonly multipleTab: {
|
|
22
|
+
readonly reload: "Refresh current";
|
|
23
|
+
readonly close: "Close current";
|
|
24
|
+
readonly closeLeft: "Close Left";
|
|
25
|
+
readonly closeRight: "Close Right";
|
|
26
|
+
readonly closeOther: "Close Other";
|
|
27
|
+
readonly closeAll: "Close All";
|
|
28
|
+
};
|
|
29
|
+
readonly setting: {
|
|
30
|
+
readonly contentModeFull: "Full";
|
|
31
|
+
readonly contentModeFixed: "Fixed width";
|
|
32
|
+
readonly topMenuAlignLeft: "Left";
|
|
33
|
+
readonly topMenuAlignRight: "Center";
|
|
34
|
+
readonly topMenuAlignCenter: "Right";
|
|
35
|
+
readonly menuTriggerNone: "Not Show";
|
|
36
|
+
readonly menuTriggerBottom: "Bottom";
|
|
37
|
+
readonly menuTriggerTop: "Top";
|
|
38
|
+
readonly menuTypeSidebar: "Left menu mode";
|
|
39
|
+
readonly menuTypeMixSidebar: "Left menu mixed mode";
|
|
40
|
+
readonly menuTypeMix: "Top Menu Mix mode";
|
|
41
|
+
readonly menuTypeTopMenu: "Top menu mode";
|
|
42
|
+
readonly on: "On";
|
|
43
|
+
readonly off: "Off";
|
|
44
|
+
readonly minute: "Minute";
|
|
45
|
+
readonly operatingTitle: "Successful!";
|
|
46
|
+
readonly resetSuccess: "Successfully reset!";
|
|
47
|
+
readonly copyBtn: "Copy";
|
|
48
|
+
readonly clearBtn: "Clear cache and to the login page";
|
|
49
|
+
readonly drawerTitle: "Configuration";
|
|
50
|
+
readonly darkMode: "Dark mode";
|
|
51
|
+
readonly navMode: "Navigation mode";
|
|
52
|
+
readonly interfaceFunction: "Interface function";
|
|
53
|
+
readonly interfaceDisplay: "Interface display";
|
|
54
|
+
readonly animation: "Animation";
|
|
55
|
+
readonly splitMenu: "Split menu";
|
|
56
|
+
readonly closeMixSidebarOnChange: "Switch page to close menu";
|
|
57
|
+
readonly sysTheme: "System theme";
|
|
58
|
+
readonly headerTheme: "Header theme";
|
|
59
|
+
readonly sidebarTheme: "Menu theme";
|
|
60
|
+
readonly menuDrag: "Drag Sidebar";
|
|
61
|
+
readonly menuSearch: "Menu search";
|
|
62
|
+
readonly menuAccordion: "Sidebar accordion";
|
|
63
|
+
readonly menuCollapse: "Collapse menu";
|
|
64
|
+
readonly collapseMenuDisplayName: "Collapse menu display name";
|
|
65
|
+
readonly topMenuLayout: "Top menu layout";
|
|
66
|
+
readonly menuCollapseButton: "Menu collapse button";
|
|
67
|
+
readonly contentMode: "Content area width";
|
|
68
|
+
readonly expandedMenuWidth: "Expanded menu width";
|
|
69
|
+
readonly breadcrumb: "Breadcrumbs";
|
|
70
|
+
readonly breadcrumbIcon: "Breadcrumbs Icon";
|
|
71
|
+
readonly tabs: "Tabs";
|
|
72
|
+
readonly tabDetail: "Tab Detail";
|
|
73
|
+
readonly tabsQuickBtn: "Tabs quick button";
|
|
74
|
+
readonly tabsRedoBtn: "Tabs redo button";
|
|
75
|
+
readonly tabsFoldBtn: "Tabs flod button";
|
|
76
|
+
readonly sidebar: "Sidebar";
|
|
77
|
+
readonly header: "Header";
|
|
78
|
+
readonly footer: "Footer";
|
|
79
|
+
readonly fullContent: "Full content";
|
|
80
|
+
readonly grayMode: "Gray mode";
|
|
81
|
+
readonly colorWeak: "Color Weak Mode";
|
|
82
|
+
readonly progress: "Progress";
|
|
83
|
+
readonly switchLoading: "Switch Loading";
|
|
84
|
+
readonly switchAnimation: "Switch animation";
|
|
85
|
+
readonly animationType: "Animation type";
|
|
86
|
+
readonly autoScreenLock: "Auto screen lock";
|
|
87
|
+
readonly notAutoScreenLock: "Not auto lock";
|
|
88
|
+
readonly fixedHeader: "Fixed header";
|
|
89
|
+
readonly fixedSideBar: "Fixed Sidebar";
|
|
90
|
+
readonly mixSidebarTrigger: "Mixed menu Trigger";
|
|
91
|
+
readonly triggerHover: "Hover";
|
|
92
|
+
readonly triggerClick: "Click";
|
|
93
|
+
readonly mixSidebarFixed: "Fixed expanded menu";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
readonly sys: {
|
|
97
|
+
readonly api: {
|
|
98
|
+
readonly operationSuccess: "Operation Success";
|
|
99
|
+
readonly operationFailed: "Operation failed";
|
|
100
|
+
readonly errorTip: "Error Tip";
|
|
101
|
+
readonly successTip: "Success Tip";
|
|
102
|
+
readonly errorMessage: "The operation failed, the system is abnormal!";
|
|
103
|
+
readonly timeoutMessage: "Login timed out, please log in again!";
|
|
104
|
+
readonly apiTimeoutMessage: "The interface request timed out, please refresh the page and try again!";
|
|
105
|
+
readonly apiRequestFailed: "The interface request failed, please try again later!";
|
|
106
|
+
readonly networkException: "network anomaly";
|
|
107
|
+
readonly networkExceptionMsg: "Please check if your network connection is normal! The network is abnormal";
|
|
108
|
+
readonly errMsg401: "The user does not have permission (token, user name, password error)!";
|
|
109
|
+
readonly errMsg403: "The user is authorized, but access is forbidden!";
|
|
110
|
+
readonly errMsg404: "Network request error, the resource was not found!";
|
|
111
|
+
readonly errMsg405: "Network request error, request method not allowed!";
|
|
112
|
+
readonly errMsg408: "Network request timed out!";
|
|
113
|
+
readonly errMsg500: "Server error, please contact the administrator!";
|
|
114
|
+
readonly errMsg501: "The network is not implemented!";
|
|
115
|
+
readonly errMsg502: "Network Error!";
|
|
116
|
+
readonly errMsg503: "The service is unavailable, the server is temporarily overloaded or maintained!";
|
|
117
|
+
readonly errMsg504: "Network timeout!";
|
|
118
|
+
readonly errMsg505: "The http version does not support the request!";
|
|
119
|
+
};
|
|
120
|
+
readonly app: {
|
|
121
|
+
readonly logoutTip: "Reminder";
|
|
122
|
+
readonly logoutMessage: "Confirm to exit the system?";
|
|
123
|
+
readonly menuLoading: "Menu loading...";
|
|
124
|
+
};
|
|
125
|
+
readonly errorLog: {
|
|
126
|
+
readonly tableTitle: "Error log list";
|
|
127
|
+
readonly tableColumnType: "Type";
|
|
128
|
+
readonly tableColumnDate: "Time";
|
|
129
|
+
readonly tableColumnFile: "File";
|
|
130
|
+
readonly tableColumnMsg: "Error message";
|
|
131
|
+
readonly tableColumnStackMsg: "Stack info";
|
|
132
|
+
readonly tableActionDesc: "Details";
|
|
133
|
+
readonly modalTitle: "Error details";
|
|
134
|
+
readonly clearErrorStore: "Clear Logs";
|
|
135
|
+
};
|
|
136
|
+
readonly exception: {
|
|
137
|
+
readonly backLogin: "Back Login";
|
|
138
|
+
readonly backHome: "Back Home";
|
|
139
|
+
readonly subTitle403: "Sorry, you don't have access to this page.";
|
|
140
|
+
readonly subTitle404: "Sorry, the page you visited does not exist.";
|
|
141
|
+
readonly subTitle500: "Sorry, the server is reporting an error.";
|
|
142
|
+
readonly noDataTitle: "No data on the current page.";
|
|
143
|
+
readonly networkErrorTitle: "Network Error";
|
|
144
|
+
readonly networkErrorSubTitle: "Sorry,Your network connection has been disconnected, please check your network!";
|
|
145
|
+
};
|
|
146
|
+
readonly lock: {
|
|
147
|
+
readonly unlock: "Click to unlock";
|
|
148
|
+
readonly alert: "Lock screen password error";
|
|
149
|
+
readonly backToLogin: "Back to login";
|
|
150
|
+
readonly entry: "Enter the system";
|
|
151
|
+
readonly placeholder: "Please enter the lock screen password or user password";
|
|
152
|
+
};
|
|
153
|
+
readonly login: {
|
|
154
|
+
readonly backSignIn: "Back sign in";
|
|
155
|
+
readonly mobileSignInFormTitle: "Mobile sign in";
|
|
156
|
+
readonly qrSignInFormTitle: "Qr code sign in";
|
|
157
|
+
readonly signInFormTitle: "Sign in";
|
|
158
|
+
readonly signUpFormTitle: "Sign up";
|
|
159
|
+
readonly forgetFormTitle: "Reset password";
|
|
160
|
+
readonly policy: "I agree to the xxx Privacy Policy";
|
|
161
|
+
readonly scanSign: "scanning the code to complete the login";
|
|
162
|
+
readonly loginButton: "Sign in";
|
|
163
|
+
readonly registerButton: "Sign up";
|
|
164
|
+
readonly rememberMe: "Remember me";
|
|
165
|
+
readonly forgetPassword: "Forget Password?";
|
|
166
|
+
readonly otherSignIn: "Sign in with";
|
|
167
|
+
readonly loginSuccessTitle: "Login successful";
|
|
168
|
+
readonly loginSuccessDesc: "Welcome back";
|
|
169
|
+
readonly accountPlaceholder: "Please input username";
|
|
170
|
+
readonly passwordPlaceholder: "Please input password";
|
|
171
|
+
readonly smsPlaceholder: "Please input sms code";
|
|
172
|
+
readonly mobilePlaceholder: "Please input mobile";
|
|
173
|
+
readonly policyPlaceholder: "Register after checking";
|
|
174
|
+
readonly diffPwd: "The two passwords are inconsistent";
|
|
175
|
+
readonly userName: "Username";
|
|
176
|
+
readonly password: "Password";
|
|
177
|
+
readonly confirmPassword: "Confirm Password";
|
|
178
|
+
readonly email: "Email";
|
|
179
|
+
readonly smsCode: "SMS code";
|
|
180
|
+
readonly mobile: "Mobile";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
readonly "zh-CN": {
|
|
185
|
+
readonly layout: {
|
|
186
|
+
readonly footer: {
|
|
187
|
+
readonly onlinePreview: "在线预览";
|
|
188
|
+
readonly onlineDocument: "在线文档";
|
|
189
|
+
};
|
|
190
|
+
readonly header: {
|
|
191
|
+
readonly dropdownItemDoc: "文档";
|
|
192
|
+
readonly dropdownItemLoginOut: "退出系统";
|
|
193
|
+
readonly tooltipErrorLog: "错误日志";
|
|
194
|
+
readonly userCenter: "用户中心";
|
|
195
|
+
readonly tooltipLock: "锁定屏幕";
|
|
196
|
+
readonly tooltipNotify: "消息通知";
|
|
197
|
+
readonly tooltipEntryFull: "全屏";
|
|
198
|
+
readonly tooltipExitFull: "退出全屏";
|
|
199
|
+
readonly lockScreenPassword: "锁屏密码";
|
|
200
|
+
readonly lockScreen: "锁定屏幕";
|
|
201
|
+
readonly lockScreenBtn: "锁定";
|
|
202
|
+
readonly home: "首页";
|
|
203
|
+
};
|
|
204
|
+
readonly multipleTab: {
|
|
205
|
+
readonly reload: "重新加载";
|
|
206
|
+
readonly close: "关闭标签页";
|
|
207
|
+
readonly closeLeft: "关闭左侧标签页";
|
|
208
|
+
readonly closeRight: "关闭右侧标签页";
|
|
209
|
+
readonly closeOther: "关闭其它标签页";
|
|
210
|
+
readonly closeAll: "关闭全部标签页";
|
|
211
|
+
};
|
|
212
|
+
readonly setting: {
|
|
213
|
+
readonly contentModeFull: "流式";
|
|
214
|
+
readonly contentModeFixed: "定宽";
|
|
215
|
+
readonly topMenuAlignLeft: "居左";
|
|
216
|
+
readonly topMenuAlignRight: "居中";
|
|
217
|
+
readonly topMenuAlignCenter: "居右";
|
|
218
|
+
readonly menuTriggerNone: "不显示";
|
|
219
|
+
readonly menuTriggerBottom: "底部";
|
|
220
|
+
readonly menuTriggerTop: "顶部";
|
|
221
|
+
readonly menuTypeSidebar: "左侧菜单模式";
|
|
222
|
+
readonly menuTypeMixSidebar: "左侧菜单混合模式";
|
|
223
|
+
readonly menuTypeMix: "顶部菜单混合模式";
|
|
224
|
+
readonly menuTypeTopMenu: "顶部菜单模式";
|
|
225
|
+
readonly on: "开";
|
|
226
|
+
readonly off: "关";
|
|
227
|
+
readonly minute: "分钟";
|
|
228
|
+
readonly operatingTitle: "操作成功";
|
|
229
|
+
readonly resetSuccess: "重置成功!";
|
|
230
|
+
readonly copyBtn: "拷贝";
|
|
231
|
+
readonly clearBtn: "清空缓存并返回登录页";
|
|
232
|
+
readonly drawerTitle: "项目配置";
|
|
233
|
+
readonly darkMode: "主题";
|
|
234
|
+
readonly navMode: "导航栏模式";
|
|
235
|
+
readonly interfaceFunction: "界面功能";
|
|
236
|
+
readonly interfaceDisplay: "界面显示";
|
|
237
|
+
readonly animation: "动画";
|
|
238
|
+
readonly splitMenu: "分割菜单";
|
|
239
|
+
readonly closeMixSidebarOnChange: "切换页面关闭菜单";
|
|
240
|
+
readonly sysTheme: "系统主题";
|
|
241
|
+
readonly headerTheme: "顶栏主题";
|
|
242
|
+
readonly sidebarTheme: "菜单主题";
|
|
243
|
+
readonly menuDrag: "侧边菜单拖拽";
|
|
244
|
+
readonly menuSearch: "菜单搜索";
|
|
245
|
+
readonly menuAccordion: "侧边菜单手风琴模式";
|
|
246
|
+
readonly menuCollapse: "折叠菜单";
|
|
247
|
+
readonly collapseMenuDisplayName: "折叠菜单显示名称";
|
|
248
|
+
readonly topMenuLayout: "顶部菜单布局";
|
|
249
|
+
readonly menuCollapseButton: "菜单折叠按钮";
|
|
250
|
+
readonly contentMode: "内容区域宽度";
|
|
251
|
+
readonly expandedMenuWidth: "菜单展开宽度";
|
|
252
|
+
readonly breadcrumb: "面包屑";
|
|
253
|
+
readonly breadcrumbIcon: "面包屑图标";
|
|
254
|
+
readonly tabs: "标签页";
|
|
255
|
+
readonly tabDetail: "标签详情页";
|
|
256
|
+
readonly tabsQuickBtn: "标签页快捷按钮";
|
|
257
|
+
readonly tabsRedoBtn: "标签页刷新按钮";
|
|
258
|
+
readonly tabsFoldBtn: "标签页折叠按钮";
|
|
259
|
+
readonly sidebar: "左侧菜单";
|
|
260
|
+
readonly header: "顶栏";
|
|
261
|
+
readonly footer: "页脚";
|
|
262
|
+
readonly fullContent: "全屏内容";
|
|
263
|
+
readonly grayMode: "灰色模式";
|
|
264
|
+
readonly colorWeak: "色弱模式";
|
|
265
|
+
readonly progress: "顶部进度条";
|
|
266
|
+
readonly switchLoading: "切换loading";
|
|
267
|
+
readonly switchAnimation: "切换动画";
|
|
268
|
+
readonly animationType: "动画类型";
|
|
269
|
+
readonly autoScreenLock: "自动锁屏";
|
|
270
|
+
readonly notAutoScreenLock: "不自动锁屏";
|
|
271
|
+
readonly fixedHeader: "固定header";
|
|
272
|
+
readonly fixedSideBar: "固定Sidebar";
|
|
273
|
+
readonly mixSidebarTrigger: "混合菜单触发方式";
|
|
274
|
+
readonly triggerHover: "悬停";
|
|
275
|
+
readonly triggerClick: "点击";
|
|
276
|
+
readonly mixSidebarFixed: "固定展开菜单";
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
readonly sys: {
|
|
280
|
+
readonly api: {
|
|
281
|
+
readonly operationSuccess: "操作成功";
|
|
282
|
+
readonly operationFailed: "操作失败";
|
|
283
|
+
readonly errorTip: "错误提示";
|
|
284
|
+
readonly successTip: "成功提示";
|
|
285
|
+
readonly errorMessage: "操作失败,系统异常!";
|
|
286
|
+
readonly timeoutMessage: "登录超时,请重新登录!";
|
|
287
|
+
readonly apiTimeoutMessage: "接口请求超时,请刷新页面重试!";
|
|
288
|
+
readonly apiRequestFailed: "请求出错,请稍候重试";
|
|
289
|
+
readonly networkException: "网络异常";
|
|
290
|
+
readonly networkExceptionMsg: "网络异常,请检查您的网络连接是否正常!";
|
|
291
|
+
readonly errMsg401: "用户没有权限(令牌、用户名、密码错误)!";
|
|
292
|
+
readonly errMsg403: "用户得到授权,但是访问是被禁止的。!";
|
|
293
|
+
readonly errMsg404: "网络请求错误,未找到该资源!";
|
|
294
|
+
readonly errMsg405: "网络请求错误,请求方法未允许!";
|
|
295
|
+
readonly errMsg408: "网络请求超时!";
|
|
296
|
+
readonly errMsg500: "服务器错误,请联系管理员!";
|
|
297
|
+
readonly errMsg501: "网络未实现!";
|
|
298
|
+
readonly errMsg502: "网络错误!";
|
|
299
|
+
readonly errMsg503: "服务不可用,服务器暂时过载或维护!";
|
|
300
|
+
readonly errMsg504: "网络超时!";
|
|
301
|
+
readonly errMsg505: "http版本不支持该请求!";
|
|
302
|
+
};
|
|
303
|
+
readonly app: {
|
|
304
|
+
readonly logoutTip: "温馨提醒";
|
|
305
|
+
readonly logoutMessage: "是否确认退出系统?";
|
|
306
|
+
readonly menuLoading: "菜单加载中...";
|
|
307
|
+
};
|
|
308
|
+
readonly errorLog: {
|
|
309
|
+
readonly tableTitle: "错误日志列表";
|
|
310
|
+
readonly tableColumnType: "类型";
|
|
311
|
+
readonly tableColumnDate: "时间";
|
|
312
|
+
readonly tableColumnFile: "文件";
|
|
313
|
+
readonly tableColumnMsg: "错误信息";
|
|
314
|
+
readonly tableColumnStackMsg: "stack信息";
|
|
315
|
+
readonly tableActionDesc: "详情";
|
|
316
|
+
readonly modalTitle: "错误详情";
|
|
317
|
+
readonly clearErrorStore: "清除日志";
|
|
318
|
+
};
|
|
319
|
+
readonly exception: {
|
|
320
|
+
readonly backLogin: "返回登录";
|
|
321
|
+
readonly backHome: "返回首页";
|
|
322
|
+
readonly subTitle403: "抱歉,您无权访问此页面。";
|
|
323
|
+
readonly subTitle404: "抱歉,您访问的页面不存在。";
|
|
324
|
+
readonly subTitle500: "抱歉,服务器报告错误。";
|
|
325
|
+
readonly noDataTitle: "当前页无数据";
|
|
326
|
+
readonly networkErrorTitle: "网络错误";
|
|
327
|
+
readonly networkErrorSubTitle: "抱歉,您的网络连接已断开,请检查您的网络!";
|
|
328
|
+
};
|
|
329
|
+
readonly lock: {
|
|
330
|
+
readonly unlock: "点击解锁";
|
|
331
|
+
readonly alert: "锁屏密码错误";
|
|
332
|
+
readonly backToLogin: "返回登录";
|
|
333
|
+
readonly entry: "进入系统";
|
|
334
|
+
readonly placeholder: "请输入锁屏密码或者用户密码";
|
|
335
|
+
};
|
|
336
|
+
readonly login: {
|
|
337
|
+
readonly backSignIn: "返回";
|
|
338
|
+
readonly signInFormTitle: "登录";
|
|
339
|
+
readonly mobileSignInFormTitle: "手机登录";
|
|
340
|
+
readonly qrSignInFormTitle: "二维码登录";
|
|
341
|
+
readonly signUpFormTitle: "注册";
|
|
342
|
+
readonly forgetFormTitle: "重置密码";
|
|
343
|
+
readonly policy: "我同意xxx隐私政策";
|
|
344
|
+
readonly scanSign: "扫码后点击\"确认\",即可完成登录";
|
|
345
|
+
readonly loginButton: "登录";
|
|
346
|
+
readonly registerButton: "注册";
|
|
347
|
+
readonly rememberMe: "记住我";
|
|
348
|
+
readonly forgetPassword: "忘记密码?";
|
|
349
|
+
readonly otherSignIn: "其他登录方式";
|
|
350
|
+
readonly loginSuccessTitle: "登录成功";
|
|
351
|
+
readonly loginSuccessDesc: "欢迎回来";
|
|
352
|
+
readonly accountPlaceholder: "请输入账号";
|
|
353
|
+
readonly passwordPlaceholder: "请输入密码";
|
|
354
|
+
readonly smsPlaceholder: "请输入验证码";
|
|
355
|
+
readonly mobilePlaceholder: "请输入手机号码";
|
|
356
|
+
readonly policyPlaceholder: "勾选后才能注册";
|
|
357
|
+
readonly diffPwd: "两次输入密码不一致";
|
|
358
|
+
readonly userName: "账号";
|
|
359
|
+
readonly password: "密码";
|
|
360
|
+
readonly confirmPassword: "确认密码";
|
|
361
|
+
readonly email: "邮箱";
|
|
362
|
+
readonly smsCode: "短信验证码";
|
|
363
|
+
readonly mobile: "手机号码";
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AdminMenuItem } from './types';
|
|
3
|
+
|
|
4
|
+
declare const AdminMenuNode: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
item: {
|
|
6
|
+
type: PropType<AdminMenuItem>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
item: {
|
|
13
|
+
type: PropType<AdminMenuItem>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default AdminMenuNode;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { AdminMenuItem } from './types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
items?: AdminMenuItem[];
|
|
5
|
+
mode?: "vertical" | "horizontal" | "inline";
|
|
6
|
+
theme?: "dark" | "light";
|
|
7
|
+
type?: string;
|
|
8
|
+
inlineIndent?: number;
|
|
9
|
+
mixSider?: boolean;
|
|
10
|
+
isHorizontal?: boolean;
|
|
11
|
+
accordion?: boolean;
|
|
12
|
+
collapse?: boolean;
|
|
13
|
+
beforeClickFn?: (key: string) => boolean | Promise<boolean>;
|
|
14
|
+
}>, {
|
|
15
|
+
items: () => never[];
|
|
16
|
+
mode: string;
|
|
17
|
+
theme: string;
|
|
18
|
+
inlineIndent: number;
|
|
19
|
+
accordion: boolean;
|
|
20
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
menuClick: (key: string) => void;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
items?: AdminMenuItem[];
|
|
24
|
+
mode?: "vertical" | "horizontal" | "inline";
|
|
25
|
+
theme?: "dark" | "light";
|
|
26
|
+
type?: string;
|
|
27
|
+
inlineIndent?: number;
|
|
28
|
+
mixSider?: boolean;
|
|
29
|
+
isHorizontal?: boolean;
|
|
30
|
+
accordion?: boolean;
|
|
31
|
+
collapse?: boolean;
|
|
32
|
+
beforeClickFn?: (key: string) => boolean | Promise<boolean>;
|
|
33
|
+
}>, {
|
|
34
|
+
items: () => never[];
|
|
35
|
+
mode: string;
|
|
36
|
+
theme: string;
|
|
37
|
+
inlineIndent: number;
|
|
38
|
+
accordion: boolean;
|
|
39
|
+
}>>> & Readonly<{
|
|
40
|
+
onMenuClick?: ((key: string) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
mode: "vertical" | "horizontal" | "inline";
|
|
43
|
+
items: AdminMenuItem[];
|
|
44
|
+
theme: "dark" | "light";
|
|
45
|
+
inlineIndent: number;
|
|
46
|
+
accordion: boolean;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|