yh-pub 1.0.2 → 2.0.2
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/AdminLogin-W5d0M-rz.js +137 -0
- package/AdminLogin-W5d0M-rz.js.map +1 -0
- package/Dict.vue_vue_type_script_setup_true_lang-CcfyhJln.js +54 -0
- package/Dict.vue_vue_type_script_setup_true_lang-CcfyhJln.js.map +1 -0
- package/Error-BZ9xAkuT.js +43 -0
- package/Error-BZ9xAkuT.js.map +1 -0
- package/Error401-DrA7Y9h3.js +30 -0
- package/Error401-DrA7Y9h3.js.map +1 -0
- package/Error404-C5K4o1R3.js +30 -0
- package/Error404-C5K4o1R3.js.map +1 -0
- package/Error500-D9nu1xhW.js +30 -0
- package/Error500-D9nu1xhW.js.map +1 -0
- package/HomeIndex-DnGu5xD0.js +438 -0
- package/HomeIndex-DnGu5xD0.js.map +1 -0
- package/IconExplorer-IvNeUIhq.js +66 -0
- package/IconExplorer-IvNeUIhq.js.map +1 -0
- package/Index-BMd4lEnI.js +5 -0
- package/Index-BMd4lEnI.js.map +1 -0
- package/MainLogin-CgJLift-.js +153 -0
- package/MainLogin-CgJLift-.js.map +1 -0
- package/MenuManage-BJkQPgpt.js +640 -0
- package/MenuManage-BJkQPgpt.js.map +1 -0
- package/OrgManage-jLpAnwf4.js +378 -0
- package/OrgManage-jLpAnwf4.js.map +1 -0
- package/RoleManage-D2RwwJoM.js +729 -0
- package/RoleManage-D2RwwJoM.js.map +1 -0
- package/SysConfig-CYcl0wCh.js +727 -0
- package/SysConfig-CYcl0wCh.js.map +1 -0
- package/TenantList-CNVwmoEt.js +693 -0
- package/TenantList-CNVwmoEt.js.map +1 -0
- package/index-C75ufNln.js +49816 -0
- package/index-C75ufNln.js.map +1 -0
- package/index-wVC41gTc.js +23955 -0
- package/index-wVC41gTc.js.map +1 -0
- package/index.d.ts +35 -0
- package/index.es.js +66 -0
- package/index.es.js.map +1 -0
- package/package.json +26 -6
- package/style.css +1 -0
- package/README.MD +0 -19
- package/layout/admin/adminIndex.vue +0 -104
- package/layout/admin/api/loginApi.js +0 -24
- package/layout/admin/api/routers.js +0 -93
- package/layout/admin/api/tenantApi.js +0 -123
- package/layout/admin/home/homeIndex.vue +0 -25
- package/layout/admin/login/login.vue +0 -161
- package/layout/admin/menu/MenuIndex.vue +0 -648
- package/layout/admin/menu/icon.vue +0 -108
- package/layout/admin/menu/iconList.js +0 -934
- package/layout/admin/saTenant/saTenant.js +0 -0
- package/layout/admin/saTenant/saTenant.vue +0 -173
- package/layout/admin/saTenant/saTenantForm.js +0 -80
- package/layout/admin/saTenant/saTenantForm.vue +0 -61
- package/layout/admin/saTenant/saTenantRoleManage.js +0 -417
- package/layout/admin/saTenant/saTenantRoleManage.vue +0 -99
- package/layout/admin/user/saUser.less +0 -6
- package/layout/admin/user/saUser.vue +0 -72
- package/layout/main/components/console/console.vue +0 -205
- package/layout/main/components/error-store/error-store.vue +0 -72
- package/layout/main/components/error-store/index.js +0 -2
- package/layout/main/components/fullscreen/fullscreen.vue +0 -57
- package/layout/main/components/fullscreen/index.js +0 -2
- package/layout/main/components/language/language.vue +0 -71
- package/layout/main/components/side-menu/side-menu.less +0 -74
- package/layout/main/components/side-menu/side-menu.vue +0 -75
- package/layout/main/components/tags-nav/tags-nav.less +0 -45
- package/layout/main/components/tags-nav/tags-nav.vue +0 -144
- package/layout/main/components/user/user.less +0 -12
- package/layout/main/components/user/user.vue +0 -185
- package/layout/main/home/home.vue +0 -480
- package/layout/main/home/index.js +0 -2
- package/layout/main/home/toDoList.vue +0 -32
- package/layout/main/login/login.less +0 -93
- package/layout/main/login/login.vue +0 -151
- package/layout/main/main.less +0 -81
- package/layout/main/main.vue +0 -254
- package/layout/main/system/dict.vue +0 -64
- package/layout/main/system/orgManage.vue +0 -473
- package/layout/main/system/roleManage.js +0 -807
- package/layout/main/system/roleManage.vue +0 -424
- package/view/basic/error-logger.vue +0 -74
- package/view/basic/error-page/401.vue +0 -22
- package/view/basic/error-page/404.vue +0 -22
- package/view/basic/error-page/500.vue +0 -22
- package/view/basic/error-page/back-btn-group.vue +0 -48
- package/view/basic/error-page/error-content.vue +0 -28
- package/view/basic/error-page/error.less +0 -46
- package/view/config/component/confFormItem.vue +0 -49
- package/view/config/config.scss +0 -45
- package/view/config/configIndex.vue +0 -150
- package/view/config/subPage/router-config.vue +0 -5
- package/view/config/subPage/sys-config.vue +0 -249
- package/view/window/IframeFReportView.vue +0 -28
- package/view/window/windowIndex.vue +0 -22
package/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { createYhApp } from './createApp';
|
|
2
|
+
export type { CreateYhAppOptions, YhAppResult } from './createApp';
|
|
3
|
+
export { addInitTask, runInitTasks, waitForInit, resetInitTasks, consumeRematch } from './init';
|
|
4
|
+
export type { InitTask } from './init';
|
|
5
|
+
export { createRouter as createAppRouter, router } from './router';
|
|
6
|
+
export { baseRoutes } from './router/base-routes';
|
|
7
|
+
export { loadMainRoutes, loadAdminRoutes, clearBusinessRoutes } from './router/dynamic';
|
|
8
|
+
export { guardBeforeEach, guardAfterEach } from './router/guards';
|
|
9
|
+
export { setComponentMap, getComponentMap, createGlobComponentMap, resetComponentMap, DEFAULT_COMPONENT_MAP, } from './router/component-map';
|
|
10
|
+
export { addAdminMenu, getAdminMenus, getAdminLayoutRoute, registerAdminComponents, } from './router/admin-routes';
|
|
11
|
+
export { mergeComponentMap } from './router/component-map';
|
|
12
|
+
export type { BaseRouterOptions } from './router';
|
|
13
|
+
export type { RouteLoadResult } from './router/dynamic';
|
|
14
|
+
export type { ComponentLoader } from './router/component-map';
|
|
15
|
+
export { pinia } from './store';
|
|
16
|
+
export { useAppStore } from './store/app';
|
|
17
|
+
export { useThemeStore } from './store/theme';
|
|
18
|
+
export { useTabsStore } from './store/tabs';
|
|
19
|
+
export { useKeepaliveStore } from './store/keepalive';
|
|
20
|
+
export { useLayoutStore } from './store/layout';
|
|
21
|
+
export { useSlotsStore } from './store/slots';
|
|
22
|
+
export { useMenusStore } from './store/menus';
|
|
23
|
+
export { useRouterStatusStore, RouterState, showLoading, hideLoading, showSwitching, } from './store/routerStatus';
|
|
24
|
+
export type { ThemeMode } from './store/theme';
|
|
25
|
+
export type { YhSlotLocation, YhSlotRegistration, AppSlotRegistration } from './store/slots';
|
|
26
|
+
export type { TabItem } from './store/tabs';
|
|
27
|
+
export { appErrorHandler } from './utils/errorHandler';
|
|
28
|
+
export { DEFAULT_EL_VARS, DARK_EL_VARS, LAYOUT_VARS, DARK_LAYOUT_VARS, DEFAULT_VXE_VARS, DARK_VXE_VARS, } from './theme/vars';
|
|
29
|
+
export { default as YhIcon } from './components/common/basic/YhIcon.vue';
|
|
30
|
+
export { ChartPie, ChartBar } from './components/common/dataDisplay/echarts';
|
|
31
|
+
export type { ErrorButton, ErrorProps } from './components/common/feedback/types';
|
|
32
|
+
export { setExtraIcons, getIconList, type IconItem } from './components/common/basic/iconData';
|
|
33
|
+
export * from './api/tenantApi';
|
|
34
|
+
export type { AppConfig, ErrorButton as TypeErrorButton, ErrorProps as TypeErrorProps, } from './types';
|
|
35
|
+
export { createYhApp as default } from './createApp';
|
package/index.es.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { C as t, d as n, D as o, t as r, v as u, w as i, x as p, y as A, L as d, R as T, e as R, z as S, A as m, B as M, E as L, F as g, G as h, H as E, I as _, J as c, J as l, K as C, M as I, q as V, g as D, N as w, O as B, P as G, Q as U, S as f, T as F, U as K, V as O, W as P, r as Y, X as k, a as y, p as b, s as v, m as x, n as N, l as W, k as X, f as H, o as J, Y as j, j as q, h as z, Z as Q, $ as Z, a0 as $, a1 as aa, u as sa, a2 as ea, a3 as ta, a4 as na, a5 as oa, a6 as ra, a7 as ua, a8 as ia, a9 as pa } from "./index-C75ufNln.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
export {
|
|
4
|
+
t as ChartBar,
|
|
5
|
+
n as ChartPie,
|
|
6
|
+
o as DARK_EL_VARS,
|
|
7
|
+
r as DARK_LAYOUT_VARS,
|
|
8
|
+
u as DARK_VXE_VARS,
|
|
9
|
+
i as DEFAULT_COMPONENT_MAP,
|
|
10
|
+
p as DEFAULT_EL_VARS,
|
|
11
|
+
A as DEFAULT_VXE_VARS,
|
|
12
|
+
d as LAYOUT_VARS,
|
|
13
|
+
T as RouterState,
|
|
14
|
+
R as YhIcon,
|
|
15
|
+
S as addAdminMenu,
|
|
16
|
+
m as addInitTask,
|
|
17
|
+
M as appErrorHandler,
|
|
18
|
+
L as baseRoutes,
|
|
19
|
+
g as clearBusinessRoutes,
|
|
20
|
+
h as consumeRematch,
|
|
21
|
+
E as createAppRouter,
|
|
22
|
+
_ as createGlobComponentMap,
|
|
23
|
+
c as createYhApp,
|
|
24
|
+
l as default,
|
|
25
|
+
C as getAdminLayoutRoute,
|
|
26
|
+
I as getAdminMenus,
|
|
27
|
+
V as getComponentMap,
|
|
28
|
+
D as getIconList,
|
|
29
|
+
w as guardAfterEach,
|
|
30
|
+
B as guardBeforeEach,
|
|
31
|
+
G as hideLoading,
|
|
32
|
+
U as loadAdminRoutes,
|
|
33
|
+
f as loadMainRoutes,
|
|
34
|
+
F as mergeComponentMap,
|
|
35
|
+
K as pinia,
|
|
36
|
+
O as registerAdminComponents,
|
|
37
|
+
P as resetComponentMap,
|
|
38
|
+
Y as resetInitTasks,
|
|
39
|
+
k as router,
|
|
40
|
+
y as runInitTasks,
|
|
41
|
+
b as saTenantDelete,
|
|
42
|
+
v as saTenantGetById,
|
|
43
|
+
x as saTenantGetMenuList,
|
|
44
|
+
N as saTenantGetMenuWindowButton,
|
|
45
|
+
W as saTenantGetRoleMenus,
|
|
46
|
+
X as saTenantGetRoleWindowButton,
|
|
47
|
+
H as saTenantInsert,
|
|
48
|
+
J as saTenantListPage,
|
|
49
|
+
j as saTenantRemoveMenus,
|
|
50
|
+
q as saTenantSetMenus,
|
|
51
|
+
z as saTenantUpdate,
|
|
52
|
+
Q as setComponentMap,
|
|
53
|
+
Z as setExtraIcons,
|
|
54
|
+
$ as showLoading,
|
|
55
|
+
aa as showSwitching,
|
|
56
|
+
sa as useAppStore,
|
|
57
|
+
ea as useKeepaliveStore,
|
|
58
|
+
ta as useLayoutStore,
|
|
59
|
+
na as useMenusStore,
|
|
60
|
+
oa as useRouterStatusStore,
|
|
61
|
+
ra as useSlotsStore,
|
|
62
|
+
ua as useTabsStore,
|
|
63
|
+
ia as useThemeStore,
|
|
64
|
+
pa as waitForInit
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=index.es.js.map
|
package/index.es.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yh-pub",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.0.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "元海 Vue3 基础包",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./index.es.js",
|
|
10
|
+
"types": "./index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
7
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"**/*.*"
|
|
16
|
+
],
|
|
8
17
|
"peerDependencies": {
|
|
9
|
-
"
|
|
18
|
+
"axios": "1.3.4",
|
|
19
|
+
"element-plus": "^2.9.0",
|
|
20
|
+
"pinia": "^2.2.0",
|
|
21
|
+
"pinyin-pro": "^3.28.1",
|
|
22
|
+
"vue": "^3.5.0",
|
|
23
|
+
"vue-router": "^4.5.0",
|
|
24
|
+
"yh-client": "*"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"pub:npm": "npm publish --registry https://registry.npmjs.org/ --no-git-checks",
|
|
28
|
+
"pub:aliyun": "npm publish --registry https://packages.aliyun.com/60765e0161a945067837bb5f/npm/npm-registry/ --no-git-checks"
|
|
10
29
|
},
|
|
11
|
-
"author": "
|
|
30
|
+
"author": "yunhan",
|
|
31
|
+
"license": "MIT"
|
|
12
32
|
}
|