@arkxos/arkos-theme-classic 0.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/README.md +36 -0
- package/ark_dist/ark-meta.json +81 -0
- package/ark_dist/ark_userChunk_1.js +5 -0
- package/ark_dist/ark_userChunk_2.js +5 -0
- package/ark_dist/ark_userChunk_3.js +49 -0
- package/ark_dist/config.js +79 -0
- package/ark_dist/css/layout.93396d23.css +125 -0
- package/ark_dist/favicon.ico +0 -0
- package/ark_dist/img/401.1800ba9e.gif +0 -0
- package/ark_dist/img/404.458c248a.png +0 -0
- package/ark_dist/img/404.png +0 -0
- package/ark_dist/img/auth_banner.jpg +0 -0
- package/ark_dist/img/avatar.jpg +0 -0
- package/ark_dist/img/avatar2.gif +0 -0
- package/ark_dist/img/avatar3.gif +0 -0
- package/ark_dist/img/login-background.1a699c00.jpg +0 -0
- package/ark_dist/img/loginbg.svg +1 -0
- package/ark_dist/img/logo-r.png +0 -0
- package/ark_dist/img/logo.png +0 -0
- package/ark_dist/img/no-widgets.svg +57 -0
- package/ark_dist/img/tasks-example.png +0 -0
- package/ark_dist/img/ver.svg +236 -0
- package/ark_dist/index.html +127 -0
- package/ark_dist/js/app.4a68e1f9.js +1 -0
- package/ark_dist/js/layout.661faa0e.js +3 -0
- package/ark_dist/js/layout.661faa0e.js.LICENSE.txt +6 -0
- package/ark_dist/js/layout.661faa0e.js.map +1 -0
- package/ark_proxy/entry.js +28 -0
- package/ark_proxy_es/entry.js +16 -0
- package/package.json +110 -0
- package/scripts/check.js +13 -0
- package/scripts/meta.js +21 -0
- package/scripts/prepublishOnly.js +28 -0
- package/src/assets/logo.png +0 -0
- package/src/auto-imports.d.ts +307 -0
- package/src/configs/subApp.ts +9 -0
- package/src/entrance/libProperties.ts +28 -0
- package/src/entrance/libTypes.ts +26 -0
- package/src/loadApp.ts +16 -0
- package/src/main.ts +18 -0
- package/src/os-themes/classic/assets/401_images/401.gif +0 -0
- package/src/os-themes/classic/assets/404_images/404.png +0 -0
- package/src/os-themes/classic/assets/404_images/404_cloud.png +0 -0
- package/src/os-themes/classic/assets/images/login-background.jpg +0 -0
- package/src/os-themes/classic/i18n/en.ts +39 -0
- package/src/os-themes/classic/i18n/zh-cn.ts +39 -0
- package/src/os-themes/classic/i18nFileBuilder/index.ts +19 -0
- package/src/os-themes/classic/images/tabs_images/ark-tab.png +0 -0
- package/src/os-themes/classic/index.js +19 -0
- package/src/os-themes/classic/layout/components/NavMenu.vue +56 -0
- package/src/os-themes/classic/layout/components/iframeView.vue +69 -0
- package/src/os-themes/classic/layout/components/search.vue +139 -0
- package/src/os-themes/classic/layout/components/setting.vue +95 -0
- package/src/os-themes/classic/layout/components/sideM.vue +137 -0
- package/src/os-themes/classic/layout/components/tags.vue +476 -0
- package/src/os-themes/classic/layout/components/tasks.vue +83 -0
- package/src/os-themes/classic/layout/components/topbar.vue +49 -0
- package/src/os-themes/classic/layout/components/userbar.vue +238 -0
- package/src/os-themes/classic/layout/index.vue +347 -0
- package/src/os-themes/classic/layout/other/404.vue +44 -0
- package/src/os-themes/classic/layout/other/autoExit.js +51 -0
- package/src/os-themes/classic/layout/other/empty.vue +3 -0
- package/src/os-themes/classic/router/routerStatic.js +103 -0
- package/src/os-themes/classic/router/scrollBehavior.js +22 -0
- package/src/os-themes/classic/router/systemRouter.js +36 -0
- package/src/os-themes/classic/store/index.js +6 -0
- package/src/os-themes/classic/store/modules/global.js +25 -0
- package/src/os-themes/classic/store/modules/iframe.js +40 -0
- package/src/os-themes/classic/store/modules/keepAlive.js +25 -0
- package/src/os-themes/classic/store/modules/viewTags.js +48 -0
- package/src/os-themes/classic/style/app.scss +318 -0
- package/src/os-themes/classic/style/dark.scss +42 -0
- package/src/os-themes/classic/style/fix.scss +87 -0
- package/src/os-themes/classic/style/media.scss +52 -0
- package/src/os-themes/classic/style/pages.scss +46 -0
- package/src/os-themes/classic/style/style.scss +5 -0
- package/src/os-themes/classic/utils/useTabs.js +66 -0
- package/src/os-themes/classic/views/bg.png +0 -0
- package/src/os-themes/classic/views/error/401.vue +82 -0
- package/src/os-themes/classic/views/error/404.vue +230 -0
- package/src/os-themes/classic/views/home.vue +13 -0
- package/src/os-themes/classic/views/login/components/commonPage.vue +35 -0
- package/src/os-themes/classic/views/login/components/passwordForm.vue +174 -0
- package/src/os-themes/classic/views/login/components/phoneForm.vue +74 -0
- package/src/os-themes/classic/views/login/index.vue +210 -0
- package/src/os-themes/classic/views/login/resetPassword.vue +125 -0
- package/src/os-themes/classic/views/login/userRegister.vue +174 -0
- package/src/os-themes/classic/views/redirect/index.vue +14 -0
- package/src/os-themes/classic/views/register.vue +219 -0
- package/src/shims-vue.d.ts +6 -0
- package/src/types/axios.d.ts +13 -0
- package/src/types/func.ts +14 -0
- package/src/types/global.d.ts +108 -0
- package/src/types/layout.d.ts +59 -0
- package/src/types/mitt.d.ts +40 -0
- package/src/types/pinia.d.ts +93 -0
- package/src/types/views.d.ts +27 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* pinia 类型定义
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// 用户信息
|
|
6
|
+
declare interface UserInfosState<T = any> {
|
|
7
|
+
userInfos: {
|
|
8
|
+
authBtnList: string[];
|
|
9
|
+
photo: string;
|
|
10
|
+
roles: string[];
|
|
11
|
+
time: number;
|
|
12
|
+
userName: string;
|
|
13
|
+
[key: string]: T;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// 路由缓存列表
|
|
18
|
+
declare interface KeepAliveNamesState {
|
|
19
|
+
keepAliveNames: string[];
|
|
20
|
+
cachedViews: string[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// 后端返回原始路由(未处理时)
|
|
24
|
+
declare interface RequestOldRoutesState {
|
|
25
|
+
requestOldRoutes: string[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// TagsView 路由列表
|
|
29
|
+
declare interface TagsViewRoutesState<T = any> {
|
|
30
|
+
tagsViewRoutes: T[];
|
|
31
|
+
isTagsViewCurrenFull: Boolean;
|
|
32
|
+
favoriteRoutes: T[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// 路由列表
|
|
36
|
+
declare interface RoutesListState<T = any> {
|
|
37
|
+
routesList: T[];
|
|
38
|
+
isColumnsMenuHover: Boolean;
|
|
39
|
+
isColumnsNavHover: Boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 布局配置
|
|
43
|
+
declare interface ThemeConfigState {
|
|
44
|
+
themeConfig: {
|
|
45
|
+
isDrawer: boolean;
|
|
46
|
+
primary: string;
|
|
47
|
+
topBar: string;
|
|
48
|
+
topBarColor: string;
|
|
49
|
+
isTopBarColorGradual: boolean;
|
|
50
|
+
menuBar: string;
|
|
51
|
+
menuBarColor: string;
|
|
52
|
+
menuBarActiveColor: string;
|
|
53
|
+
isMenuBarColorGradual: boolean;
|
|
54
|
+
columnsMenuBar: string;
|
|
55
|
+
columnsMenuBarColor: string;
|
|
56
|
+
isColumnsMenuBarColorGradual: boolean;
|
|
57
|
+
isColumnsMenuHoverPreload: boolean;
|
|
58
|
+
isCollapse: boolean;
|
|
59
|
+
isUniqueOpened: boolean;
|
|
60
|
+
isFixedHeader: boolean;
|
|
61
|
+
isFixedHeaderChange: boolean;
|
|
62
|
+
isClassicSplitMenu: boolean;
|
|
63
|
+
isLockScreen: boolean;
|
|
64
|
+
lockScreenTime: number;
|
|
65
|
+
isShowLogo: boolean;
|
|
66
|
+
isShowLogoChange: boolean;
|
|
67
|
+
isBreadcrumb: boolean;
|
|
68
|
+
isTagsview: boolean;
|
|
69
|
+
isBreadcrumbIcon: boolean;
|
|
70
|
+
isTagsviewIcon: boolean;
|
|
71
|
+
isCacheTagsView: boolean;
|
|
72
|
+
isSortableTagsView: boolean;
|
|
73
|
+
isShareTagsView: boolean;
|
|
74
|
+
isFooter: boolean;
|
|
75
|
+
isGrayscale: boolean;
|
|
76
|
+
isInvert: boolean;
|
|
77
|
+
isIsDark: boolean;
|
|
78
|
+
isWartermark: boolean;
|
|
79
|
+
wartermarkText: string;
|
|
80
|
+
tagsStyle: string;
|
|
81
|
+
animation: string;
|
|
82
|
+
columnsAsideStyle: string;
|
|
83
|
+
columnsAsideLayout: string;
|
|
84
|
+
layout: string;
|
|
85
|
+
isRequestRoutes: boolean;
|
|
86
|
+
globalTitle: string;
|
|
87
|
+
globalViceTitle: string;
|
|
88
|
+
globalViceTitleMsg: string;
|
|
89
|
+
globalI18n: string;
|
|
90
|
+
globalComponentSize: string;
|
|
91
|
+
footerAuthor: string;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* views personal
|
|
3
|
+
*/
|
|
4
|
+
type NewInfo = {
|
|
5
|
+
title: string;
|
|
6
|
+
date: string;
|
|
7
|
+
link: string;
|
|
8
|
+
};
|
|
9
|
+
type Recommend = {
|
|
10
|
+
title: string;
|
|
11
|
+
msg: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
bg: string;
|
|
14
|
+
iconColor: string;
|
|
15
|
+
};
|
|
16
|
+
declare type PersonalState = {
|
|
17
|
+
newsInfoList: NewInfo[];
|
|
18
|
+
recommendList: Recommend[];
|
|
19
|
+
personalForm: {
|
|
20
|
+
name: string;
|
|
21
|
+
email: string;
|
|
22
|
+
autograph: string;
|
|
23
|
+
occupation: string;
|
|
24
|
+
phone: string;
|
|
25
|
+
sex: string;
|
|
26
|
+
};
|
|
27
|
+
};
|