hrp-ui-base 1.0.4 → 1.0.5
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/components.cjs +10 -1
- package/dist/components.es.js +3577 -2398
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +87 -80
- package/dist/style.css +1 -1
- package/package.json +4 -2
- package/src/components/layout/LayoutContainer.vue +503 -0
- package/src/components/layout/index.ts +8 -0
- package/src/components/layout/plugin.ts +32 -0
- package/src/components/layout/stores/index.ts +5 -0
- package/src/components/layout/stores/useLayoutConfigStore.ts +229 -0
- package/src/components/layout/stores/useLayoutMenuStore.ts +232 -0
- package/src/components/layout/stores/useLayoutNoticeStore.ts +77 -0
- package/src/components/layout/stores/useLayoutTabsStore.ts +367 -0
- package/src/components.ts +5 -3
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var s=Object.defineProperty;var l=(i,a,r)=>a in i?s(i,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[a]=r;var n=(i,a,r)=>l(i,typeof a!="symbol"?a+"":a,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./components.cjs"),e=require("./transform-data-Dg87X9fi.cjs"),o=require("./string-utils-BDHaWaqb.cjs");class d{constructor(){n(this,"fileId","");n(this,"fileName","");n(this,"url","");n(this,"fileSize","")}}exports.AnnexImgUpload=t.AnnexImgUpload;exports.AnnexUpload=t.AnnexUpload;exports.AnnexUploadWeijian=t.AnnexUploadWeijian;exports.AvatarComponent=t.AvatarComponent;exports.BaseLayout=t.BaseLayout;exports.CustomButton=t.CustomButton;exports.CustonSwitch=t.CustonSwitch;exports.DarkComponent=t.DarkComponent;exports.DownloadComponent=t.DownloadComponent;exports.FontSizeComponent=t.FontSizeComponent;exports.LayoutContainer=t.LayoutContainer;exports.ListSearchContent=t.ListSearchContent;exports.MenuPositionComponent=t.MenuPositionComponent;exports.MessageComponent=t.MessageComponent;exports.MessageNotificationDrawer=t.MessageNotificationDrawer;exports.NOTIFICATION_TYPE=t.NOTIFICATION_TYPE;exports.PersonalizationGuideDialog=t.PersonalizationGuideDialog;exports.SideMenu=t.SideMenu;exports.SideMenuSonList=t.SideMenuSonList;exports.SysHeader=t.SysHeader;exports.SysHeaderLeft=t.SysHeaderLeft;exports.SysHeaderRight=t.SysHeaderRight;exports.SysHeaderTabs=t.SysHeaderTabs;exports.TodoComponent=t.TodoComponent;exports.UserConfigBo=t.UserConfigBo;exports.createLayoutPlugin=t.createLayoutPlugin;exports.default=t.default;exports.useLayoutConfigStore=t.useLayoutConfigStore;exports.useLayoutMenuStore=t.useLayoutMenuStore;exports.useLayoutNoticeStore=t.useLayoutNoticeStore;exports.useLayoutTabsStore=t.useLayoutTabsStore;exports.Debounce=e.debounce;exports.SocketClass=e.Socket;exports.Throttle=e.throttle;exports.addWujieListener=e.addWujieListener;exports.debounceleading=e.debounceleading;exports.download=e.download;exports.filterKey=e.filterKey;exports.forSureMounted=e.forSureMounted;exports.formatterHandler=e.formatterHandler;exports.getDictConfigs=e.getDictConfigs;exports.getFirstLevelPath=e.getFirstLevelPath;exports.getFirstMenuInList=e.getFirstMenuInList;exports.getModuleFirstMenuPath=e.getModuleFirstMenuPath;exports.getModuleNameByPathName=e.getModuleNameByPathName;exports.getPagePermit=e.getPagePermit;exports.getRouteExistIf=e.getRouteExistIf;exports.getUrlParam=e.getUrlParam;exports.isArray=e.isArray;exports.isExternal=e.isExternal;exports.isHavePermit=e.isHavePermit;exports.isHttp=e.isHttp;exports.isString=e.isString;exports.makeAccessPath=e.makeAccessPath;exports.phoneTableHeaderCellStyle=e.phoneTableHeaderCellStyle;exports.routerPush=e.routerPush;exports.scrollToErrorElement=e.scrollToErrorElement;exports.setDarkStyle=e.setDarkStyle;exports.setFontSizeMode=e.setFontSizeMode;exports.setRouterUtilsContext=e.setRouterUtilsContext;exports.setWhiteStyle=e.setWhiteStyle;exports.tableFontCellStyle=e.tableFontCellStyle;exports.tableHeaderCellStyle=e.tableHeaderCellStyle;exports.toMainRouter=e.toMainRouter;exports.toNoPermitPage=e.toNoPermitPage;exports.transformData=e.transformData;exports.validAlphabets=e.validAlphabets;exports.validEmail=e.validEmail;exports.validLowerCase=e.validLowerCase;exports.validURL=e.validURL;exports.validUpperCase=e.validUpperCase;exports.validUsername=e.validUsername;exports.HttpUtil=o.HttpUtil;exports.IsPc=o.IsPc;exports.IsPhone=o.IsPhone;exports.ddWindowOpen=o.ddWindowOpen;exports.digitUppercase=o.digitUppercase;exports.downloadFile=o.downloadFile;exports.exitLogin=o.exitLogin;exports.formatDecimal=o.formatDecimal;exports.formatTwoDecimal=o.formatTwoDecimal;exports.getEllipsis=o.getEllipsis;exports.getFileType=o.getFileType;exports.getProcessAppIdUrl=o.getProcessAppIdUrl;exports.highlightText=o.highlightText;exports.openEncodeUrl=o.openEncodeUrl;exports.setDingDingTitle=o.setDingDingTitle;exports.setExitLoginRouter=o.setExitLoginRouter;exports.FileBaseInfo=d;
|
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var o = Object.defineProperty;
|
|
2
2
|
var i = (a, e, t) => e in a ? o(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
3
|
var s = (a, e, t) => i(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { AnnexImgUpload as
|
|
5
|
-
import { d as
|
|
6
|
-
import { H as
|
|
7
|
-
class
|
|
4
|
+
import { AnnexImgUpload as u, AnnexUpload as g, AnnexUploadWeijian as m, AvatarComponent as p, BaseLayout as S, CustomButton as C, CustonSwitch as f, DarkComponent as c, DownloadComponent as y, FontSizeComponent as h, LayoutContainer as L, ListSearchContent as P, MenuPositionComponent as x, MessageComponent as M, MessageNotificationDrawer as D, NOTIFICATION_TYPE as I, PersonalizationGuideDialog as T, SideMenu as U, SideMenuSonList as H, SysHeader as F, SysHeaderLeft as b, SysHeaderRight as v, SysHeaderTabs as A, TodoComponent as E, UserConfigBo as w, createLayoutPlugin as N, default as k, useLayoutConfigStore as B, useLayoutMenuStore as R, useLayoutNoticeStore as z, useLayoutTabsStore as j } from "./components.es.js";
|
|
5
|
+
import { d as O, S as G, t as K, a as q, b as J, c as Y, f as _, e as Q, g as V, h as X, i as Z, j as $, k as ee, l as ae, m as se, n as te, o as oe, p as ie, q as ne, r as re, s as le, u as de, v as ue, w as ge, x as me, y as pe, z as Se, A as Ce, B as fe, C as ce, D as ye, E as he, F as Le, G as Pe, H as xe, I as Me, J as De, K as Ie, L as Te, M as Ue, N as He } from "./transform-data-DPWR8Ubd.js";
|
|
6
|
+
import { H as be, I as ve, a as Ae, d as Ee, b as we, c as Ne, e as ke, f as Be, g as Re, h as ze, i as je, j as We, k as Oe, o as Ge, s as Ke, l as qe } from "./string-utils-DkXGtIS5.js";
|
|
7
|
+
class r {
|
|
8
8
|
constructor() {
|
|
9
9
|
/**文件ID */
|
|
10
10
|
s(this, "fileId", "");
|
|
@@ -17,86 +17,93 @@ class l {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
u as AnnexImgUpload,
|
|
21
|
+
g as AnnexUpload,
|
|
22
|
+
m as AnnexUploadWeijian,
|
|
23
|
+
p as AvatarComponent,
|
|
24
24
|
S as BaseLayout,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
C as CustomButton,
|
|
26
|
+
f as CustonSwitch,
|
|
27
27
|
c as DarkComponent,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
O as Debounce,
|
|
29
|
+
y as DownloadComponent,
|
|
30
|
+
r as FileBaseInfo,
|
|
31
|
+
h as FontSizeComponent,
|
|
32
|
+
be as HttpUtil,
|
|
33
|
+
ve as IsPc,
|
|
34
|
+
Ae as IsPhone,
|
|
35
|
+
L as LayoutContainer,
|
|
36
|
+
P as ListSearchContent,
|
|
36
37
|
x as MenuPositionComponent,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
M as MessageComponent,
|
|
39
|
+
D as MessageNotificationDrawer,
|
|
40
|
+
I as NOTIFICATION_TYPE,
|
|
41
|
+
T as PersonalizationGuideDialog,
|
|
42
|
+
U as SideMenu,
|
|
43
|
+
H as SideMenuSonList,
|
|
44
|
+
G as SocketClass,
|
|
45
|
+
F as SysHeader,
|
|
46
|
+
b as SysHeaderLeft,
|
|
46
47
|
v as SysHeaderRight,
|
|
47
48
|
A as SysHeaderTabs,
|
|
48
|
-
|
|
49
|
+
K as Throttle,
|
|
49
50
|
E as TodoComponent,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
51
|
+
w as UserConfigBo,
|
|
52
|
+
q as addWujieListener,
|
|
53
|
+
N as createLayoutPlugin,
|
|
54
|
+
Ee as ddWindowOpen,
|
|
55
|
+
J as debounceleading,
|
|
56
|
+
k as default,
|
|
57
|
+
we as digitUppercase,
|
|
58
|
+
Y as download,
|
|
59
|
+
Ne as downloadFile,
|
|
60
|
+
ke as exitLogin,
|
|
61
|
+
_ as filterKey,
|
|
62
|
+
Q as forSureMounted,
|
|
63
|
+
Be as formatDecimal,
|
|
64
|
+
Re as formatTwoDecimal,
|
|
65
|
+
V as formatterHandler,
|
|
66
|
+
X as getDictConfigs,
|
|
67
|
+
ze as getEllipsis,
|
|
68
|
+
je as getFileType,
|
|
69
|
+
Z as getFirstLevelPath,
|
|
70
|
+
$ as getFirstMenuInList,
|
|
71
|
+
ee as getModuleFirstMenuPath,
|
|
72
|
+
ae as getModuleNameByPathName,
|
|
73
|
+
se as getPagePermit,
|
|
74
|
+
We as getProcessAppIdUrl,
|
|
75
|
+
te as getRouteExistIf,
|
|
76
|
+
oe as getUrlParam,
|
|
77
|
+
Oe as highlightText,
|
|
78
|
+
ie as isArray,
|
|
79
|
+
ne as isExternal,
|
|
80
|
+
re as isHavePermit,
|
|
81
|
+
le as isHttp,
|
|
82
|
+
de as isString,
|
|
83
|
+
ue as makeAccessPath,
|
|
84
|
+
Ge as openEncodeUrl,
|
|
85
|
+
ge as phoneTableHeaderCellStyle,
|
|
86
|
+
me as routerPush,
|
|
87
|
+
pe as scrollToErrorElement,
|
|
88
|
+
Se as setDarkStyle,
|
|
89
|
+
Ke as setDingDingTitle,
|
|
90
|
+
qe as setExitLoginRouter,
|
|
91
|
+
Ce as setFontSizeMode,
|
|
92
|
+
fe as setRouterUtilsContext,
|
|
93
|
+
ce as setWhiteStyle,
|
|
94
|
+
ye as tableFontCellStyle,
|
|
95
|
+
he as tableHeaderCellStyle,
|
|
96
|
+
Le as toMainRouter,
|
|
97
|
+
Pe as toNoPermitPage,
|
|
98
|
+
xe as transformData,
|
|
99
|
+
B as useLayoutConfigStore,
|
|
100
|
+
R as useLayoutMenuStore,
|
|
101
|
+
z as useLayoutNoticeStore,
|
|
102
|
+
j as useLayoutTabsStore,
|
|
103
|
+
Me as validAlphabets,
|
|
104
|
+
De as validEmail,
|
|
105
|
+
Ie as validLowerCase,
|
|
106
|
+
Te as validURL,
|
|
107
|
+
Ue as validUpperCase,
|
|
108
|
+
He as validUsername
|
|
102
109
|
};
|