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