yh-pub 1.0.2 → 2.0.1
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-BoxKRRwd.js +140 -0
- package/AdminLogin-BoxKRRwd.js.map +1 -0
- package/Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js +55 -0
- package/Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js.map +1 -0
- package/Error-BCu4KHfU.js +43 -0
- package/Error-BCu4KHfU.js.map +1 -0
- package/Error401-C5kTyMSM.js +30 -0
- package/Error401-C5kTyMSM.js.map +1 -0
- package/Error404-P3qKjHk6.js +30 -0
- package/Error404-P3qKjHk6.js.map +1 -0
- package/Error500-NVnuOBIQ.js +30 -0
- package/Error500-NVnuOBIQ.js.map +1 -0
- package/HomeIndex-C806Fp-9.js +438 -0
- package/HomeIndex-C806Fp-9.js.map +1 -0
- package/IconExplorer-CBg1lvD0.js +66 -0
- package/IconExplorer-CBg1lvD0.js.map +1 -0
- package/Index-AjfvK7Ss.js +5 -0
- package/Index-AjfvK7Ss.js.map +1 -0
- package/MainLogin-wW7bSk0F.js +155 -0
- package/MainLogin-wW7bSk0F.js.map +1 -0
- package/MenuManage-CIxqmusr.js +641 -0
- package/MenuManage-CIxqmusr.js.map +1 -0
- package/OrgManage-BcTWbnyc.js +378 -0
- package/OrgManage-BcTWbnyc.js.map +1 -0
- package/RoleManage-Bw83c_7q.js +729 -0
- package/RoleManage-Bw83c_7q.js.map +1 -0
- package/SysConfig-L0A1eY-O.js +727 -0
- package/SysConfig-L0A1eY-O.js.map +1 -0
- package/TenantList-B5imzQc5.js +696 -0
- package/TenantList-B5imzQc5.js.map +1 -0
- package/index-BP41Ph8K.js +55257 -0
- package/index-BP41Ph8K.js.map +1 -0
- package/index-CJ0So9-k.js +7 -0
- package/index-CJ0So9-k.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 +27 -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/Error.vue';
|
|
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, f as n, D as o, x as r, y as u, z as i, A as p, B as A, L as T, R as d, h as R, E as S, F as m, G as M, H as L, I as c, J as g, K as h, M as E, N as _, N as l, O as C, P as I, w as V, g as D, Q as w, S as B, T as G, U, V as f, W as F, X as K, Y as O, Z as P, r as Y, $ as b, c as k, v as y, s as N, p as v, q as x, o as W, n as X, k as H, t as q, a0 as z, m as J, l as Q, a1 as Z, a2 as $, a3 as j, a4 as aa, a as sa, a5 as ea, a6 as ta, a7 as na, a8 as oa, a9 as ra, aa as ua, ab as ia, ac as pa } from "./index-BP41Ph8K.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
|
+
T as LAYOUT_VARS,
|
|
13
|
+
d as RouterState,
|
|
14
|
+
R as YhIcon,
|
|
15
|
+
S as addAdminMenu,
|
|
16
|
+
m as addInitTask,
|
|
17
|
+
M as appErrorHandler,
|
|
18
|
+
L as baseRoutes,
|
|
19
|
+
c as clearBusinessRoutes,
|
|
20
|
+
g as consumeRematch,
|
|
21
|
+
h as createAppRouter,
|
|
22
|
+
E as createGlobComponentMap,
|
|
23
|
+
_ 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
|
+
b as router,
|
|
40
|
+
k as runInitTasks,
|
|
41
|
+
y as saTenantDelete,
|
|
42
|
+
N as saTenantGetById,
|
|
43
|
+
v as saTenantGetMenuList,
|
|
44
|
+
x as saTenantGetMenuWindowButton,
|
|
45
|
+
W as saTenantGetRoleMenus,
|
|
46
|
+
X as saTenantGetRoleWindowButton,
|
|
47
|
+
H as saTenantInsert,
|
|
48
|
+
q as saTenantListPage,
|
|
49
|
+
z as saTenantRemoveMenus,
|
|
50
|
+
J as saTenantSetMenus,
|
|
51
|
+
Q as saTenantUpdate,
|
|
52
|
+
Z as setComponentMap,
|
|
53
|
+
$ as setExtraIcons,
|
|
54
|
+
j 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,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yh-pub",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "优汇 Vue3 基础包 - 整合版",
|
|
5
|
+
"main": "./index.ts",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./index.ts",
|
|
10
|
+
"types": "./index.ts"
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
7
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"**/*.*",
|
|
16
|
+
"package.json"
|
|
17
|
+
],
|
|
8
18
|
"peerDependencies": {
|
|
9
|
-
"vue": "^3.
|
|
19
|
+
"vue": "^3.5.0",
|
|
20
|
+
"vue-router": "^4.5.0",
|
|
21
|
+
"pinia": "^2.2.0",
|
|
22
|
+
"element-plus": "^2.9.0",
|
|
23
|
+
"axios": "^1.7.0",
|
|
24
|
+
"lodash-es": "^4.17.21",
|
|
25
|
+
"qs": "^6.12.0"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"pub:npm": "npm publish --registry https://registry.npmjs.org/ --no-git-checks",
|
|
29
|
+
"pub:aliyun": "npm publish --registry https://packages.aliyun.com/60765e0161a945067837bb5f/npm/npm-registry/ --no-git-checks"
|
|
10
30
|
},
|
|
11
|
-
"author": "
|
|
31
|
+
"author": "yh",
|
|
32
|
+
"license": "MIT"
|
|
12
33
|
}
|