@utogether/udp-core 1.0.1-beta.4 → 1.0.1-beta.6
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/build/plugins.ts +39 -37
- package/dist/{403-CT4J-t-o.js → 403-Co4hnzlW.js} +1 -1
- package/dist/{404-BAudfnaK.js → 404-BsseeBQQ.js} +1 -1
- package/dist/{500-BlOGtpEE.js → 500-DtKz7MA4.js} +1 -1
- package/dist/{AuthorityInfo-Bl03tEhF.js → AuthorityInfo-iWYEWOmC.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CUwS2F3R.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BWp7PKyH.js} +1 -1
- package/dist/{Company-CIj9XgQn.js → Company-CK8Zkcv3.js} +3 -3
- package/dist/{CompanyPanel-CublK5NN.js → CompanyPanel-DL4UrYYG.js} +1 -1
- package/dist/{Department-BolPW-W3.js → Department-BPHn8to4.js} +3 -3
- package/dist/{DepartmentPanel-BttxSHfM.js → DepartmentPanel-Bqraa_NB.js} +1 -1
- package/dist/{DesignPanel-BwCbn92O.js → DesignPanel-CFOIOZme.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-y2AnCTg6.js → DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js} +2 -2
- package/dist/{DictView-D85ziNV2.js → DictView-CaD1yHQS.js} +1 -1
- package/dist/{InvOrganization-CaAk_f7F.js → InvOrganization-CoO0_wsY.js} +1 -1
- package/dist/{Org-CreIihFE.js → Org-BU3oaFx3.js} +1 -1
- package/dist/{Preview-DMGbhV6q.js → Preview-B-K_bxDG.js} +1 -1
- package/dist/{ReportDefine-DogZwa8T.js → ReportDefine-DElbukSL.js} +1 -1
- package/dist/{ReportDesign-CdSsJJeA.js → ReportDesign-DvUHOKDK.js} +27 -27
- package/dist/{ReportQuery-DPvKqeUm.js → ReportQuery-BcSYRNT3.js} +1 -1
- package/dist/{ReportQueryFrom-UokkfBx_.js → ReportQueryFrom-BGEA4Pqk.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BlOoThY7.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-B-KEPnfY.js} +1 -1
- package/dist/{ReportTemplate-DCnmllXW.js → ReportTemplate-DnPtEoxn.js} +28 -28
- package/dist/{Role-sfmwLiNM.js → Role-CMKkWZil.js} +3 -3
- package/dist/{RoleAssign-WRk90VO2.js → RoleAssign-BToNzG9a.js} +8 -8
- package/dist/{RolePanel-iWysS02n.js → RolePanel-BNqd7-M6.js} +1 -1
- package/dist/{RolePanel-DhP0_5ur.js → RolePanel-BikZ-D2u.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CYXqW-d4.js → RolePanel.vue_vue_type_script_setup_true_lang-DYP3u1Nv.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-_hVY31HC.js → RolePanel.vue_vue_type_script_setup_true_lang-Nngq860f.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BozDFES-.js → ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js} +21 -21
- package/dist/{Staff-Bha-Ijax.js → Staff-DBFATgM_.js} +3 -3
- package/dist/{StaffInfo-CbfYI8UW.js → StaffInfo-CrfwZcEL.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-Ce-MUVYH.js → StaffInfo.vue_vue_type_script_setup_true_lang-CE3_NJF_.js} +11 -11
- package/dist/{StaffPanel-B8094e97.js → StaffPanel-D54Rl_Bg.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-_kJIBCtx.js → StaffPanel.vue_vue_type_script_setup_true_lang-B8wtuSZD.js} +2 -2
- package/dist/{SysUser-D1J9vPnb.js → SysUser-CsuovBei.js} +2 -2
- package/dist/{SysUserPanel-DGDPKKoY.js → SysUserPanel-DNUwWEVp.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-D-5-zKn6.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CY6mhBV0.js} +55 -53
- package/dist/{SystemMenu-Dz8Pllh5.js → SystemMenu-oLmwvaqT.js} +26 -26
- package/dist/{UserInfo-ecAJA2Yg.js → UserInfo-LyrDwBG1.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-4_-I_sQN.js → UserInfo.vue_vue_type_style_index_0_lang-vinrRyOG.js} +1 -1
- package/dist/{childView-4uI_RT2m.js → childView-DGKp87fT.js} +1 -1
- package/dist/{childView-OXXoMFg3.js → childView-SmYl4G6c.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DC-yx4Kv.js → childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js} +40 -40
- package/dist/{childView.vue_vue_type_style_index_0_lang-e43PUsUO.js → childView.vue_vue_type_style_index_0_lang-wVoPvyRY.js} +1 -1
- package/dist/{code-rule-B667R66s.js → code-rule-CfbGjmOs.js} +9 -10
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DcmGSr2D.js → cron-task-DMfwGfms.js} +1 -1
- package/dist/{frameView-BzgaLYjQ.js → frameView-D-hu_pqQ.js} +1 -1
- package/dist/index-ADANSV-q.js +4278 -0
- package/dist/{layoutView-BBQB8pDc.js → layoutView-D3SikBPr.js} +5 -5
- package/dist/{login-DIG7pRU7.js → login-CQ1yBBdY.js} +39 -38
- package/dist/{login-log-CvVnyGi3.js → login-log-kqKzKTto.js} +1 -1
- package/dist/{lov-view-CSIPKZSY.js → lov-view-CSobDBH7.js} +2 -2
- package/dist/{menuInfo-CPHjl7id.js → menuInfo-mFuM30f1.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BXNiinTg.js → menuInfo.vue_vue_type_style_index_0_lang-BsIPzYg0.js} +1 -1
- package/dist/{pda-app-BLjbMcdt.js → pda-app-CIGFsvrX.js} +51 -47
- package/dist/{resource-MxqaSJqB.js → resource-mbd4LPi-.js} +15 -15
- package/dist/{su-welcome-C0flTYCx.js → su-welcome-DruLsVvu.js} +109 -110
- package/dist/{sys-config-CXzGs3Nl.js → sys-config-TXb5cJM4.js} +7 -7
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CFdIDuAT.js → utogether-Cv0UXnEX.js} +1 -1
- package/package.json +18 -18
- package/src/App.vue +1 -1
- package/src/api/index.ts +1 -1
- package/src/components/SuScrollTree/ScrollPanel.vue +3 -3
- package/src/components/udp/count-down.vue +536 -0
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +251 -0
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +4 -0
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +113 -0
- package/src/components/udp/form.vue +107 -0
- package/src/components/udp/grid.vue +12 -6
- package/src/components/udp/index.ts +4 -1
- package/src/components/udp/lov.vue +1 -1
- package/src/components/udp/modal-form.vue +9 -0
- package/src/components/udp/upload.vue +425 -0
- package/src/components/udp/utils.ts +72 -3
- package/src/layout/components/lay-panel/index.vue +3 -3
- package/src/layout/components/lay-search/index.vue +25 -25
- package/src/main.ts +21 -20
- package/src/plugins/i18n/zh.ts +342 -338
- package/src/plugins/vxe-table/render.tsx +5 -3
- package/src/style/vxetable.scss +24 -2
- package/src/utils/{http → udp/http}/index.ts +8 -24
- package/src/utils/{http → udp/http}/types.d.ts +8 -5
- package/src/views/login/login-view.vue +2 -2
- package/src/views/system/menu/menuInfo.vue +1 -1
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/sys/sys-config.vue +1 -1
- package/src/views/system/sysUser/SysUserPanel.vue +9 -5
- package/src/views/uapp/pda/pda-app.vue +9 -3
- package/src/views/udev/dict/childView.vue +6 -1
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/su-welcome.vue +3 -3
- package/src/views/ulogin/login.vue +11 -2
- package/src/views/upms/user/login-log.vue +1 -1
- package/src/views/urpt/design/ReportDesign.vue +8 -8
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/dist/index-CLliRySq.js +0 -2606
package/dist/index-CLliRySq.js
DELETED
|
@@ -1,2606 +0,0 @@
|
|
|
1
|
-
import * as Re from "vue";
|
|
2
|
-
import { defineComponent as A, resolveComponent as K, createBlock as Ge, openBlock as Ye, withCtx as Qe, createVNode as Oe, toRaw as ce, isProxy as me, defineAsyncComponent as Ze, h as k, createApp as Xe } from "vue";
|
|
3
|
-
import { ElConfigProvider as de } from "element-plus";
|
|
4
|
-
import { checkVersion as et } from "version-rocket";
|
|
5
|
-
import { useI18n as tt, createI18n as ot } from "vue-i18n";
|
|
6
|
-
import { http as C, storageLocal as g, cookies as Le, buildHierarchyTree as Z, dbstorage as V, isUrl as Me, openLink as nt, NProgress as at, VxetableRender as rt } from "@utogether/utils";
|
|
7
|
-
import { merge as X, clone as R, debounce as st, findLastIndexOf as it, isBoolean as ut, isEqual as pe, findIndexOf as lt, isEmpty as ct, isArray as mt } from "xe-utils";
|
|
8
|
-
import { createPinia as dt, defineStore as ee } from "pinia";
|
|
9
|
-
import { useTimeoutFn as pt } from "@vueuse/core";
|
|
10
|
-
import Be, { VxeUI as te } from "vxe-table";
|
|
11
|
-
import ht from "v-viewer";
|
|
12
|
-
import { Icon as he } from "@iconify/vue";
|
|
13
|
-
import gt from "vue-tippy";
|
|
14
|
-
import ft from "element-resize-detector";
|
|
15
|
-
var yt = {
|
|
16
|
-
name: "en",
|
|
17
|
-
el: {
|
|
18
|
-
breadcrumb: {
|
|
19
|
-
label: "Breadcrumb"
|
|
20
|
-
},
|
|
21
|
-
colorpicker: {
|
|
22
|
-
confirm: "OK",
|
|
23
|
-
clear: "Clear",
|
|
24
|
-
defaultLabel: "color picker",
|
|
25
|
-
description: "current color is {color}. press enter to select a new color.",
|
|
26
|
-
alphaLabel: "pick alpha value"
|
|
27
|
-
},
|
|
28
|
-
datepicker: {
|
|
29
|
-
now: "Now",
|
|
30
|
-
today: "Today",
|
|
31
|
-
cancel: "Cancel",
|
|
32
|
-
clear: "Clear",
|
|
33
|
-
confirm: "OK",
|
|
34
|
-
dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
|
|
35
|
-
monthTablePrompt: "Use the arrow keys and enter to select the month",
|
|
36
|
-
yearTablePrompt: "Use the arrow keys and enter to select the year",
|
|
37
|
-
selectedDate: "Selected date",
|
|
38
|
-
selectDate: "Select date",
|
|
39
|
-
selectTime: "Select time",
|
|
40
|
-
startDate: "Start Date",
|
|
41
|
-
startTime: "Start Time",
|
|
42
|
-
endDate: "End Date",
|
|
43
|
-
endTime: "End Time",
|
|
44
|
-
prevYear: "Previous Year",
|
|
45
|
-
nextYear: "Next Year",
|
|
46
|
-
prevMonth: "Previous Month",
|
|
47
|
-
nextMonth: "Next Month",
|
|
48
|
-
year: "",
|
|
49
|
-
month1: "January",
|
|
50
|
-
month2: "February",
|
|
51
|
-
month3: "March",
|
|
52
|
-
month4: "April",
|
|
53
|
-
month5: "May",
|
|
54
|
-
month6: "June",
|
|
55
|
-
month7: "July",
|
|
56
|
-
month8: "August",
|
|
57
|
-
month9: "September",
|
|
58
|
-
month10: "October",
|
|
59
|
-
month11: "November",
|
|
60
|
-
month12: "December",
|
|
61
|
-
week: "week",
|
|
62
|
-
weeks: {
|
|
63
|
-
sun: "Sun",
|
|
64
|
-
mon: "Mon",
|
|
65
|
-
tue: "Tue",
|
|
66
|
-
wed: "Wed",
|
|
67
|
-
thu: "Thu",
|
|
68
|
-
fri: "Fri",
|
|
69
|
-
sat: "Sat"
|
|
70
|
-
},
|
|
71
|
-
weeksFull: {
|
|
72
|
-
sun: "Sunday",
|
|
73
|
-
mon: "Monday",
|
|
74
|
-
tue: "Tuesday",
|
|
75
|
-
wed: "Wednesday",
|
|
76
|
-
thu: "Thursday",
|
|
77
|
-
fri: "Friday",
|
|
78
|
-
sat: "Saturday"
|
|
79
|
-
},
|
|
80
|
-
months: {
|
|
81
|
-
jan: "Jan",
|
|
82
|
-
feb: "Feb",
|
|
83
|
-
mar: "Mar",
|
|
84
|
-
apr: "Apr",
|
|
85
|
-
may: "May",
|
|
86
|
-
jun: "Jun",
|
|
87
|
-
jul: "Jul",
|
|
88
|
-
aug: "Aug",
|
|
89
|
-
sep: "Sep",
|
|
90
|
-
oct: "Oct",
|
|
91
|
-
nov: "Nov",
|
|
92
|
-
dec: "Dec"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
inputNumber: {
|
|
96
|
-
decrease: "decrease number",
|
|
97
|
-
increase: "increase number"
|
|
98
|
-
},
|
|
99
|
-
select: {
|
|
100
|
-
loading: "Loading",
|
|
101
|
-
noMatch: "No matching data",
|
|
102
|
-
noData: "No data",
|
|
103
|
-
placeholder: "Select"
|
|
104
|
-
},
|
|
105
|
-
mention: {
|
|
106
|
-
loading: "Loading"
|
|
107
|
-
},
|
|
108
|
-
dropdown: {
|
|
109
|
-
toggleDropdown: "Toggle Dropdown"
|
|
110
|
-
},
|
|
111
|
-
cascader: {
|
|
112
|
-
noMatch: "No matching data",
|
|
113
|
-
loading: "Loading",
|
|
114
|
-
placeholder: "Select",
|
|
115
|
-
noData: "No data"
|
|
116
|
-
},
|
|
117
|
-
pagination: {
|
|
118
|
-
goto: "Go to",
|
|
119
|
-
pagesize: "/page",
|
|
120
|
-
total: "Total {total}",
|
|
121
|
-
pageClassifier: "",
|
|
122
|
-
page: "Page",
|
|
123
|
-
prev: "Go to previous page",
|
|
124
|
-
next: "Go to next page",
|
|
125
|
-
currentPage: "page {pager}",
|
|
126
|
-
prevPages: "Previous {pager} pages",
|
|
127
|
-
nextPages: "Next {pager} pages",
|
|
128
|
-
deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
|
|
129
|
-
},
|
|
130
|
-
dialog: {
|
|
131
|
-
close: "Close this dialog"
|
|
132
|
-
},
|
|
133
|
-
drawer: {
|
|
134
|
-
close: "Close this dialog"
|
|
135
|
-
},
|
|
136
|
-
messagebox: {
|
|
137
|
-
title: "Message",
|
|
138
|
-
confirm: "OK",
|
|
139
|
-
cancel: "Cancel",
|
|
140
|
-
error: "Illegal input",
|
|
141
|
-
close: "Close this dialog"
|
|
142
|
-
},
|
|
143
|
-
upload: {
|
|
144
|
-
deleteTip: "press delete to remove",
|
|
145
|
-
delete: "Delete",
|
|
146
|
-
preview: "Preview",
|
|
147
|
-
continue: "Continue"
|
|
148
|
-
},
|
|
149
|
-
slider: {
|
|
150
|
-
defaultLabel: "slider between {min} and {max}",
|
|
151
|
-
defaultRangeStartLabel: "pick start value",
|
|
152
|
-
defaultRangeEndLabel: "pick end value"
|
|
153
|
-
},
|
|
154
|
-
table: {
|
|
155
|
-
emptyText: "No Data",
|
|
156
|
-
confirmFilter: "Confirm",
|
|
157
|
-
resetFilter: "Reset",
|
|
158
|
-
clearFilter: "All",
|
|
159
|
-
sumText: "Sum"
|
|
160
|
-
},
|
|
161
|
-
tour: {
|
|
162
|
-
next: "Next",
|
|
163
|
-
previous: "Previous",
|
|
164
|
-
finish: "Finish"
|
|
165
|
-
},
|
|
166
|
-
tree: {
|
|
167
|
-
emptyText: "No Data"
|
|
168
|
-
},
|
|
169
|
-
transfer: {
|
|
170
|
-
noMatch: "No matching data",
|
|
171
|
-
noData: "No data",
|
|
172
|
-
titles: ["List 1", "List 2"],
|
|
173
|
-
filterPlaceholder: "Enter keyword",
|
|
174
|
-
noCheckedFormat: "{total} items",
|
|
175
|
-
hasCheckedFormat: "{checked}/{total} checked"
|
|
176
|
-
},
|
|
177
|
-
image: {
|
|
178
|
-
error: "FAILED"
|
|
179
|
-
},
|
|
180
|
-
pageHeader: {
|
|
181
|
-
title: "Back"
|
|
182
|
-
},
|
|
183
|
-
popconfirm: {
|
|
184
|
-
confirmButtonText: "Yes",
|
|
185
|
-
cancelButtonText: "No"
|
|
186
|
-
},
|
|
187
|
-
carousel: {
|
|
188
|
-
leftArrow: "Carousel arrow left",
|
|
189
|
-
rightArrow: "Carousel arrow right",
|
|
190
|
-
indicator: "Carousel switch to index {index}"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}, wt = {
|
|
194
|
-
name: "zh-cn",
|
|
195
|
-
el: {
|
|
196
|
-
breadcrumb: {
|
|
197
|
-
label: "面包屑"
|
|
198
|
-
},
|
|
199
|
-
colorpicker: {
|
|
200
|
-
confirm: "确定",
|
|
201
|
-
clear: "清空",
|
|
202
|
-
defaultLabel: "颜色选择器",
|
|
203
|
-
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
204
|
-
alphaLabel: "选择透明度的值"
|
|
205
|
-
},
|
|
206
|
-
datepicker: {
|
|
207
|
-
now: "此刻",
|
|
208
|
-
today: "今天",
|
|
209
|
-
cancel: "取消",
|
|
210
|
-
clear: "清空",
|
|
211
|
-
confirm: "确定",
|
|
212
|
-
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
213
|
-
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
214
|
-
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
215
|
-
selectedDate: "已选日期",
|
|
216
|
-
selectDate: "选择日期",
|
|
217
|
-
selectTime: "选择时间",
|
|
218
|
-
startDate: "开始日期",
|
|
219
|
-
startTime: "开始时间",
|
|
220
|
-
endDate: "结束日期",
|
|
221
|
-
endTime: "结束时间",
|
|
222
|
-
prevYear: "前一年",
|
|
223
|
-
nextYear: "后一年",
|
|
224
|
-
prevMonth: "上个月",
|
|
225
|
-
nextMonth: "下个月",
|
|
226
|
-
year: "年",
|
|
227
|
-
month1: "1 月",
|
|
228
|
-
month2: "2 月",
|
|
229
|
-
month3: "3 月",
|
|
230
|
-
month4: "4 月",
|
|
231
|
-
month5: "5 月",
|
|
232
|
-
month6: "6 月",
|
|
233
|
-
month7: "7 月",
|
|
234
|
-
month8: "8 月",
|
|
235
|
-
month9: "9 月",
|
|
236
|
-
month10: "10 月",
|
|
237
|
-
month11: "11 月",
|
|
238
|
-
month12: "12 月",
|
|
239
|
-
weeks: {
|
|
240
|
-
sun: "日",
|
|
241
|
-
mon: "一",
|
|
242
|
-
tue: "二",
|
|
243
|
-
wed: "三",
|
|
244
|
-
thu: "四",
|
|
245
|
-
fri: "五",
|
|
246
|
-
sat: "六"
|
|
247
|
-
},
|
|
248
|
-
weeksFull: {
|
|
249
|
-
sun: "星期日",
|
|
250
|
-
mon: "星期一",
|
|
251
|
-
tue: "星期二",
|
|
252
|
-
wed: "星期三",
|
|
253
|
-
thu: "星期四",
|
|
254
|
-
fri: "星期五",
|
|
255
|
-
sat: "星期六"
|
|
256
|
-
},
|
|
257
|
-
months: {
|
|
258
|
-
jan: "一月",
|
|
259
|
-
feb: "二月",
|
|
260
|
-
mar: "三月",
|
|
261
|
-
apr: "四月",
|
|
262
|
-
may: "五月",
|
|
263
|
-
jun: "六月",
|
|
264
|
-
jul: "七月",
|
|
265
|
-
aug: "八月",
|
|
266
|
-
sep: "九月",
|
|
267
|
-
oct: "十月",
|
|
268
|
-
nov: "十一月",
|
|
269
|
-
dec: "十二月"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
inputNumber: {
|
|
273
|
-
decrease: "减少数值",
|
|
274
|
-
increase: "增加数值"
|
|
275
|
-
},
|
|
276
|
-
select: {
|
|
277
|
-
loading: "加载中",
|
|
278
|
-
noMatch: "无匹配数据",
|
|
279
|
-
noData: "无数据",
|
|
280
|
-
placeholder: "请选择"
|
|
281
|
-
},
|
|
282
|
-
dropdown: {
|
|
283
|
-
toggleDropdown: "切换下拉选项"
|
|
284
|
-
},
|
|
285
|
-
mention: {
|
|
286
|
-
loading: "加载中"
|
|
287
|
-
},
|
|
288
|
-
cascader: {
|
|
289
|
-
noMatch: "无匹配数据",
|
|
290
|
-
loading: "加载中",
|
|
291
|
-
placeholder: "请选择",
|
|
292
|
-
noData: "暂无数据"
|
|
293
|
-
},
|
|
294
|
-
pagination: {
|
|
295
|
-
goto: "前往",
|
|
296
|
-
pagesize: "条/页",
|
|
297
|
-
total: "共 {total} 条",
|
|
298
|
-
pageClassifier: "页",
|
|
299
|
-
page: "页",
|
|
300
|
-
prev: "上一页",
|
|
301
|
-
next: "下一页",
|
|
302
|
-
currentPage: "第 {pager} 页",
|
|
303
|
-
prevPages: "向前 {pager} 页",
|
|
304
|
-
nextPages: "向后 {pager} 页",
|
|
305
|
-
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
306
|
-
},
|
|
307
|
-
dialog: {
|
|
308
|
-
close: "关闭此对话框"
|
|
309
|
-
},
|
|
310
|
-
drawer: {
|
|
311
|
-
close: "关闭此对话框"
|
|
312
|
-
},
|
|
313
|
-
messagebox: {
|
|
314
|
-
title: "提示",
|
|
315
|
-
confirm: "确定",
|
|
316
|
-
cancel: "取消",
|
|
317
|
-
error: "输入的数据不合法!",
|
|
318
|
-
close: "关闭此对话框"
|
|
319
|
-
},
|
|
320
|
-
upload: {
|
|
321
|
-
deleteTip: "按 Delete 键可删除",
|
|
322
|
-
delete: "删除",
|
|
323
|
-
preview: "查看图片",
|
|
324
|
-
continue: "继续上传"
|
|
325
|
-
},
|
|
326
|
-
slider: {
|
|
327
|
-
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
328
|
-
defaultRangeStartLabel: "选择起始值",
|
|
329
|
-
defaultRangeEndLabel: "选择结束值"
|
|
330
|
-
},
|
|
331
|
-
table: {
|
|
332
|
-
emptyText: "暂无数据",
|
|
333
|
-
confirmFilter: "筛选",
|
|
334
|
-
resetFilter: "重置",
|
|
335
|
-
clearFilter: "全部",
|
|
336
|
-
sumText: "合计"
|
|
337
|
-
},
|
|
338
|
-
tour: {
|
|
339
|
-
next: "下一步",
|
|
340
|
-
previous: "上一步",
|
|
341
|
-
finish: "结束导览"
|
|
342
|
-
},
|
|
343
|
-
tree: {
|
|
344
|
-
emptyText: "暂无数据"
|
|
345
|
-
},
|
|
346
|
-
transfer: {
|
|
347
|
-
noMatch: "无匹配数据",
|
|
348
|
-
noData: "无数据",
|
|
349
|
-
titles: ["列表 1", "列表 2"],
|
|
350
|
-
filterPlaceholder: "请输入搜索内容",
|
|
351
|
-
noCheckedFormat: "共 {total} 项",
|
|
352
|
-
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
353
|
-
},
|
|
354
|
-
image: {
|
|
355
|
-
error: "加载失败"
|
|
356
|
-
},
|
|
357
|
-
pageHeader: {
|
|
358
|
-
title: "返回"
|
|
359
|
-
},
|
|
360
|
-
popconfirm: {
|
|
361
|
-
confirmButtonText: "确定",
|
|
362
|
-
cancelButtonText: "取消"
|
|
363
|
-
},
|
|
364
|
-
carousel: {
|
|
365
|
-
leftArrow: "上一张幻灯片",
|
|
366
|
-
rightArrow: "下一张幻灯片",
|
|
367
|
-
indicator: "幻灯片切换至索引 {index}"
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
|
-
const bt = "menu_zh", vt = "menu_en", Fn = "authorized-token", Dn = "kCookies_token", Ct = "kSysConfig", Et = "loginer";
|
|
372
|
-
let W = {}, ze = {};
|
|
373
|
-
const Tt = (e, t) => {
|
|
374
|
-
W = Object.assign(W, t), e.config.globalProperties.$config = oe();
|
|
375
|
-
}, oe = () => W, St = (e = {}) => {
|
|
376
|
-
ze = e;
|
|
377
|
-
}, ge = () => ze, F = () => oe().ResponsiveStorageNameSpace, $ = () => ({
|
|
378
|
-
post: (e, t, o) => C.post(`${v()}${e}`, t, o),
|
|
379
|
-
get: (e, t, o) => C.get(`${v()}${e}`, t, o),
|
|
380
|
-
put: (e, t) => C.put(`${v()}${e}`, t),
|
|
381
|
-
delete: (e, t) => C.delete(`${v()}${e}`, t)
|
|
382
|
-
}), Ft = (e) => {
|
|
383
|
-
C.setRouter(e), console.log("====url", v());
|
|
384
|
-
}, Dt = window.location.origin + "/gateway", v = () => ge().VITE_BASE_URL === "origin" ? Dt : ge().VITE_BASE_URL, kt = A({
|
|
385
|
-
name: "app",
|
|
386
|
-
components: {
|
|
387
|
-
[de.name]: de
|
|
388
|
-
},
|
|
389
|
-
beforeRouteEnter(e, t, o) {
|
|
390
|
-
$().get("/upfm/v1/sysConfig", {}).then((n) => {
|
|
391
|
-
console.log(n), o();
|
|
392
|
-
});
|
|
393
|
-
},
|
|
394
|
-
computed: {
|
|
395
|
-
currentLocale() {
|
|
396
|
-
var e, t;
|
|
397
|
-
return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? wt : yt;
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
beforeCreate() {
|
|
401
|
-
const { t: e } = tt(), n = (g.getItem(Ct) || { title: "U-DP" }).title;
|
|
402
|
-
et(
|
|
403
|
-
{
|
|
404
|
-
pollingTime: 3e5,
|
|
405
|
-
checkOriginSpecifiedFilesUrl: [`${location.origin}/index.html`],
|
|
406
|
-
enable: process.env.NODE_ENV !== "development"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
title: n,
|
|
410
|
-
description: e("message.udp.newVersion"),
|
|
411
|
-
buttonText: e("message.udp.updatenow"),
|
|
412
|
-
cancelButtonText: e("message.udp.updateLater")
|
|
413
|
-
}
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
}), xt = (e, t) => {
|
|
417
|
-
const o = e.__vccOpts || e;
|
|
418
|
-
for (const [n, a] of t)
|
|
419
|
-
o[n] = a;
|
|
420
|
-
return o;
|
|
421
|
-
};
|
|
422
|
-
function It(e, t, o, n, a, r) {
|
|
423
|
-
const i = K("router-view"), u = K("el-config-provider");
|
|
424
|
-
return Ye(), Ge(u, {
|
|
425
|
-
size: "small",
|
|
426
|
-
"z-index": 12e3,
|
|
427
|
-
locale: e.currentLocale
|
|
428
|
-
}, {
|
|
429
|
-
default: Qe(() => [
|
|
430
|
-
Oe(i)
|
|
431
|
-
]),
|
|
432
|
-
_: 1
|
|
433
|
-
}, 8, ["locale"]);
|
|
434
|
-
}
|
|
435
|
-
const Nt = /* @__PURE__ */ xt(kt, [["render", It]]), q = dt();
|
|
436
|
-
function Pt(e) {
|
|
437
|
-
e.use(q);
|
|
438
|
-
}
|
|
439
|
-
const ne = [
|
|
440
|
-
{
|
|
441
|
-
path: "/welcome",
|
|
442
|
-
meta: {
|
|
443
|
-
title: "message.udp.home",
|
|
444
|
-
icon: "home-filled"
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
], At = (e, t) => {
|
|
448
|
-
const o = [];
|
|
449
|
-
for (const n of e)
|
|
450
|
-
n[t] && o.push(n[t]);
|
|
451
|
-
return Array.from(new Set(o));
|
|
452
|
-
}, je = (e) => {
|
|
453
|
-
const t = e.replace("#", "").match(/../g);
|
|
454
|
-
for (let o = 0; o < 3; o++) t[o] = parseInt(t[o], 16);
|
|
455
|
-
return t;
|
|
456
|
-
}, Ue = (e, t, o) => {
|
|
457
|
-
const n = [e.toString(16), t.toString(16), o.toString(16)];
|
|
458
|
-
for (let a = 0; a < 3; a++)
|
|
459
|
-
n[a].length == 1 && (n[a] = `0${n[a]}`);
|
|
460
|
-
return `#${n.join("")}`;
|
|
461
|
-
}, kn = (e, t) => {
|
|
462
|
-
const o = je(e);
|
|
463
|
-
for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
|
|
464
|
-
return Ue(o[0], o[1], o[2]);
|
|
465
|
-
}, xn = (e, t) => {
|
|
466
|
-
const o = je(e);
|
|
467
|
-
for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
|
|
468
|
-
return Ue(o[0], o[1], o[2]);
|
|
469
|
-
}, fe = {
|
|
470
|
-
zh: {
|
|
471
|
-
message: {
|
|
472
|
-
reportCode: "报表编号",
|
|
473
|
-
tempPath: "模版路径",
|
|
474
|
-
tempFile: "模版文件",
|
|
475
|
-
exportFileType: "文件类型",
|
|
476
|
-
parameterType: "参数类型",
|
|
477
|
-
valueType: "值类型",
|
|
478
|
-
parameterField: "参数字段名",
|
|
479
|
-
parameterName: "参数名称",
|
|
480
|
-
showField: "显示字段",
|
|
481
|
-
valueField: "值字段",
|
|
482
|
-
exportNo: "导出编号",
|
|
483
|
-
moduleName: "模块名称",
|
|
484
|
-
exportResult: "导出结果",
|
|
485
|
-
exportStatus: "导出状态",
|
|
486
|
-
exportMsg: "提示信息",
|
|
487
|
-
fileType: "文件类型",
|
|
488
|
-
exportDate: "完成时间"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
en: {
|
|
492
|
-
message: {
|
|
493
|
-
tempPath: "tempPath",
|
|
494
|
-
tempFile: "tempFile",
|
|
495
|
-
exportFileType: "exportFileType",
|
|
496
|
-
parameterType: "parameterType",
|
|
497
|
-
valueType: "valueType",
|
|
498
|
-
serviceCode: "serviceCode",
|
|
499
|
-
parameterField: "parameterField",
|
|
500
|
-
parameterName: "parameterName",
|
|
501
|
-
showField: "showField",
|
|
502
|
-
valueField: "valueField",
|
|
503
|
-
exportNo: "exportNo",
|
|
504
|
-
moduleName: "moduleName",
|
|
505
|
-
printPosition: "Print Position",
|
|
506
|
-
exportResult: "exportResult",
|
|
507
|
-
exportStatus: "exportStatus",
|
|
508
|
-
exportMsg: "exportMsg",
|
|
509
|
-
fileType: "fileType",
|
|
510
|
-
exportDate: "Export Date",
|
|
511
|
-
dataSetCode: "Dataset Code",
|
|
512
|
-
dataSetName: "Dataset Name",
|
|
513
|
-
dataSetType: "Dataset Type",
|
|
514
|
-
dataSetUrl: "Dataset Url",
|
|
515
|
-
defaultValue: "Default Value",
|
|
516
|
-
isRequired: "Required"
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}, Rt = {
|
|
520
|
-
zh: { ...fe.zh.message },
|
|
521
|
-
en: { ...fe.en.message }
|
|
522
|
-
}, Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
523
|
-
__proto__: null,
|
|
524
|
-
default: Rt
|
|
525
|
-
}, Symbol.toStringTag, { value: "Module" })), Lt = {
|
|
526
|
-
zh: {
|
|
527
|
-
message: {
|
|
528
|
-
taskName: "任务名称",
|
|
529
|
-
processInstId: "任务编码",
|
|
530
|
-
taskTitle: "任务标题",
|
|
531
|
-
taskPhase: "流程阶段",
|
|
532
|
-
agreement: "审批意见",
|
|
533
|
-
description: "备注",
|
|
534
|
-
actuatorCode: "执行器编码",
|
|
535
|
-
actuatorName: "执行器名称",
|
|
536
|
-
actuatorType: "注册方式",
|
|
537
|
-
actuatorAddress: "机器地址"
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
en: {
|
|
541
|
-
message: {
|
|
542
|
-
taskName: "taskName",
|
|
543
|
-
processInstId: "processInstId",
|
|
544
|
-
taskTitle: "taskTitle",
|
|
545
|
-
taskPhase: "taskPhase",
|
|
546
|
-
agreement: "agreement",
|
|
547
|
-
description: "description",
|
|
548
|
-
actuatorCode: "Actuator Code",
|
|
549
|
-
actuatorName: "Actuator Name",
|
|
550
|
-
actuatorType: "Actuator Type",
|
|
551
|
-
actuatorAddress: "Actuator Adress"
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
}, Mt = {
|
|
555
|
-
zh: {
|
|
556
|
-
message: {
|
|
557
|
-
flowId: "流程标识",
|
|
558
|
-
flowName: "流程名称",
|
|
559
|
-
flowCode: "流程编码",
|
|
560
|
-
description: "流程描述",
|
|
561
|
-
flowDesign: "流程设计",
|
|
562
|
-
version: "版本",
|
|
563
|
-
effectDate: "生效日期"
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
en: {
|
|
567
|
-
message: {
|
|
568
|
-
flowId: "flowId",
|
|
569
|
-
flowName: "flowName",
|
|
570
|
-
flowCode: "flowCode",
|
|
571
|
-
description: "description",
|
|
572
|
-
flowDesign: "Flow Design"
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}, ye = [Lt, Mt], Bt = {
|
|
576
|
-
zh: {
|
|
577
|
-
...Object.assign({}, ...ye.map((e) => e.zh.message))
|
|
578
|
-
},
|
|
579
|
-
en: {
|
|
580
|
-
...Object.assign({}, ...ye.map((e) => e.en.message))
|
|
581
|
-
}
|
|
582
|
-
}, zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
583
|
-
__proto__: null,
|
|
584
|
-
default: Bt
|
|
585
|
-
}, Symbol.toStringTag, { value: "Module" })), jt = {
|
|
586
|
-
zh: {
|
|
587
|
-
message: {
|
|
588
|
-
msgtemplateCode: "模板代码",
|
|
589
|
-
msgtemplateName: "模板名称",
|
|
590
|
-
msgTitle: "消息标题",
|
|
591
|
-
msgType: "消息类型",
|
|
592
|
-
language: "语言",
|
|
593
|
-
templateContent: "模板内容",
|
|
594
|
-
msgCode: "消息代码",
|
|
595
|
-
msgName: "消息名称",
|
|
596
|
-
msgService: "消息服务",
|
|
597
|
-
msgServiceName: "消息服务名称"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
en: {
|
|
601
|
-
message: {
|
|
602
|
-
xx: "xxx"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
}, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
606
|
-
__proto__: null,
|
|
607
|
-
default: jt
|
|
608
|
-
}, Symbol.toStringTag, { value: "Module" })), _t = {
|
|
609
|
-
udp: {
|
|
610
|
-
dark: "深色",
|
|
611
|
-
light: "浅色",
|
|
612
|
-
smart: "灵动",
|
|
613
|
-
card: "卡片",
|
|
614
|
-
theme: "主题色",
|
|
615
|
-
pageStyle: "整体风格",
|
|
616
|
-
navigationMode: "导航模式",
|
|
617
|
-
tagStyle: "页签风格",
|
|
618
|
-
collapse: "折叠",
|
|
619
|
-
expand: "展开",
|
|
620
|
-
login: "登 陆",
|
|
621
|
-
home: "首页",
|
|
622
|
-
logout: "退出系统",
|
|
623
|
-
userName: "账户",
|
|
624
|
-
password: "密码",
|
|
625
|
-
passwordReset: "密码重置",
|
|
626
|
-
oldPwd: "旧密码",
|
|
627
|
-
newPwd: "新密码",
|
|
628
|
-
confirmPwd: "确认密码",
|
|
629
|
-
reload: "重新加载",
|
|
630
|
-
closeCurrentTab: "关闭当前标签页",
|
|
631
|
-
closeLeftTabs: "关闭左侧标签页",
|
|
632
|
-
closeRightTabs: "关闭右侧标签页",
|
|
633
|
-
closeOtherTabs: "关闭其他标签页",
|
|
634
|
-
closeAllTabs: "关闭全部标签页",
|
|
635
|
-
wholeFullScreen: "整体页面全屏",
|
|
636
|
-
wholeExitFullScreen: "整体页面退出全屏",
|
|
637
|
-
contentFullScreen: "内容区全屏",
|
|
638
|
-
contentExitFullScreen: "内容区退出全屏",
|
|
639
|
-
fourZeroFour: "404",
|
|
640
|
-
fourZeroThree: "403",
|
|
641
|
-
five: "500",
|
|
642
|
-
backtop: "回到顶部",
|
|
643
|
-
error: "Error Page",
|
|
644
|
-
continueAdd: "连续添加",
|
|
645
|
-
menuQuery: "菜单搜索",
|
|
646
|
-
systemTitle: "系统标题",
|
|
647
|
-
systemLogo: "LOGO",
|
|
648
|
-
systemFavicon: "favicon",
|
|
649
|
-
homeBackimg: "首页背景",
|
|
650
|
-
baseUrl: "服务路径",
|
|
651
|
-
copyright: "版权信息",
|
|
652
|
-
i18nEnabled: "国际化",
|
|
653
|
-
defaultLanguage: "默认语言",
|
|
654
|
-
roleName: "角色名称",
|
|
655
|
-
roleCode: "角色编码",
|
|
656
|
-
roleDesc: "角色说明",
|
|
657
|
-
loginTime: "登录时间",
|
|
658
|
-
operatingSystem: "操作系统",
|
|
659
|
-
ip: "ip地址",
|
|
660
|
-
browserVersion: "浏览器版本",
|
|
661
|
-
browser: "浏览器",
|
|
662
|
-
dictCode: "字典编码",
|
|
663
|
-
dictName: "字典名称",
|
|
664
|
-
dictType: "字典类型",
|
|
665
|
-
ruleCode: "规则代码",
|
|
666
|
-
ruleName: "规则名称",
|
|
667
|
-
fieldType: "段类型",
|
|
668
|
-
fieldValue: "段值",
|
|
669
|
-
dateMask: "日期掩码",
|
|
670
|
-
resetFrequency: "重置频率",
|
|
671
|
-
seqLength: "位数",
|
|
672
|
-
startValue: "开始值",
|
|
673
|
-
currentValue: "当前值",
|
|
674
|
-
haveBeenUsed: "使用中",
|
|
675
|
-
unitName: "单位名称",
|
|
676
|
-
unitCode: "单位编码",
|
|
677
|
-
unitNote: "单位介绍",
|
|
678
|
-
deleteCompany: "部门存在子级,请先删除子级",
|
|
679
|
-
tip: "温馨提示",
|
|
680
|
-
today: "今天",
|
|
681
|
-
yesterday: "昨天",
|
|
682
|
-
lastWeek: "一周内",
|
|
683
|
-
lastMonth: "1月内",
|
|
684
|
-
threeMonth: "3月内",
|
|
685
|
-
halfYear: "半年内",
|
|
686
|
-
anniversary: "1年内",
|
|
687
|
-
newVersion: "检测到新版本",
|
|
688
|
-
updatenow: "立即更新",
|
|
689
|
-
updateLater: "稍后更新"
|
|
690
|
-
},
|
|
691
|
-
btn: {
|
|
692
|
-
passwordReset: "密码重置",
|
|
693
|
-
add: "新增",
|
|
694
|
-
agree: "同意",
|
|
695
|
-
approve: "审批",
|
|
696
|
-
appupper: "上架",
|
|
697
|
-
applower: "下架",
|
|
698
|
-
auth: "权限",
|
|
699
|
-
back: "返回",
|
|
700
|
-
cancel: "取消",
|
|
701
|
-
completed: "完工",
|
|
702
|
-
close: "关闭",
|
|
703
|
-
toggle: "切换",
|
|
704
|
-
confirm: "确认",
|
|
705
|
-
config: "配置",
|
|
706
|
-
copy: "复制",
|
|
707
|
-
customSize: "自定义纸张",
|
|
708
|
-
detail: "详情",
|
|
709
|
-
directPrint: "直接打印",
|
|
710
|
-
design: "设 计",
|
|
711
|
-
delete: "删除",
|
|
712
|
-
del: "删除",
|
|
713
|
-
download: "下载",
|
|
714
|
-
dispatchUser: "分配用户",
|
|
715
|
-
dispatchAuth: "分配权限",
|
|
716
|
-
FAQ: "常见问题",
|
|
717
|
-
finish: "完成",
|
|
718
|
-
fetch: "查询",
|
|
719
|
-
edit: "编辑",
|
|
720
|
-
export: "导出",
|
|
721
|
-
import: "导入",
|
|
722
|
-
encode: "编码",
|
|
723
|
-
importJSON: "导入模板数据",
|
|
724
|
-
downloadTemp: "模板下载",
|
|
725
|
-
inv: "库存组织",
|
|
726
|
-
look: "查看",
|
|
727
|
-
lov: "值集",
|
|
728
|
-
inbound: "入库",
|
|
729
|
-
more: "更多",
|
|
730
|
-
outbound: "出库",
|
|
731
|
-
preview: "预览",
|
|
732
|
-
print: "打印",
|
|
733
|
-
paramSet: "参数集",
|
|
734
|
-
reset: "重置",
|
|
735
|
-
resumeTask: "继续",
|
|
736
|
-
role: "角色",
|
|
737
|
-
repaint: "重绘",
|
|
738
|
-
save: "保存",
|
|
739
|
-
scan: "扫码下载",
|
|
740
|
-
stopTask: "停止",
|
|
741
|
-
suspendTask: "暂停",
|
|
742
|
-
search: "搜索",
|
|
743
|
-
sync: "同步",
|
|
744
|
-
submit: "提交",
|
|
745
|
-
taskLog: "任务日志",
|
|
746
|
-
revoke: "撤销",
|
|
747
|
-
reject: "拒绝",
|
|
748
|
-
upload: "上传",
|
|
749
|
-
goback: "返回",
|
|
750
|
-
disabled: "禁用",
|
|
751
|
-
enable: "启用"
|
|
752
|
-
},
|
|
753
|
-
file: {
|
|
754
|
-
templateName: "模版名称",
|
|
755
|
-
templateCode: "模版编码",
|
|
756
|
-
paperType: "纸张类型",
|
|
757
|
-
printPosition: "打印视图",
|
|
758
|
-
buttonCode: "按钮编码",
|
|
759
|
-
resourceCode: "资源编码",
|
|
760
|
-
resourceName: "资源名称",
|
|
761
|
-
resourceUrl: "资源路径",
|
|
762
|
-
fileName: "文件名称",
|
|
763
|
-
fileSize: "文件大小",
|
|
764
|
-
filePath: "文件路径",
|
|
765
|
-
fileExtend: "文件类型",
|
|
766
|
-
textAlign: "对齐方式",
|
|
767
|
-
color: "色彩",
|
|
768
|
-
fillOpacity: "透明度",
|
|
769
|
-
fontSize: "字体大小",
|
|
770
|
-
rotation: "倾斜角度",
|
|
771
|
-
watermarkCode: "水印编码",
|
|
772
|
-
watermarkContent: "水印内容",
|
|
773
|
-
watermarkTrigger: "触发时机",
|
|
774
|
-
watermarkType: "水印类型",
|
|
775
|
-
xAxis: "横坐标",
|
|
776
|
-
yAxis: "纵坐标"
|
|
777
|
-
},
|
|
778
|
-
add: "新增",
|
|
779
|
-
operate: "操作",
|
|
780
|
-
emptyData: "暂无数据",
|
|
781
|
-
creationDate: "创建时间",
|
|
782
|
-
createdByName: "创建人",
|
|
783
|
-
creationName: "创建人",
|
|
784
|
-
lastUpdateDate: "更新日期",
|
|
785
|
-
lastUpdatedByName: "更新人",
|
|
786
|
-
sort: "序号",
|
|
787
|
-
seqNo: "序号",
|
|
788
|
-
remark: "备注",
|
|
789
|
-
loading: "加载中...",
|
|
790
|
-
keyword: "关键字",
|
|
791
|
-
required: "请录入",
|
|
792
|
-
isRequired: "必填否",
|
|
793
|
-
dataSetCode: "数据集编码",
|
|
794
|
-
dataSetName: "数据集名称",
|
|
795
|
-
dataSetType: "数据集类型",
|
|
796
|
-
dataSetUrl: "URL/服务编码",
|
|
797
|
-
paramCode: "参数编码",
|
|
798
|
-
paramName: "参数名称",
|
|
799
|
-
defaultValue: "默认值",
|
|
800
|
-
enabled: "启用",
|
|
801
|
-
disabled: "禁用",
|
|
802
|
-
to: "至",
|
|
803
|
-
startDate: "开始日期",
|
|
804
|
-
endDate: "截至日期",
|
|
805
|
-
operateSuccess: "操作成功!",
|
|
806
|
-
operateFailed: "操作失败!",
|
|
807
|
-
selectedRecord: "请至少选择一条记录",
|
|
808
|
-
delRecord: "您确定要删除选择的数据吗?",
|
|
809
|
-
importSuccess: "导入成功!",
|
|
810
|
-
importFailed: "数据导入失败,请往下滚动以便查看错误信息",
|
|
811
|
-
importRecord: "您确定要导入数据吗?",
|
|
812
|
-
importEmpty: "数据列表为空,请先导入数据列表",
|
|
813
|
-
importTip: `1、表格模板的【列标题】不可修改;
|
|
814
|
-
2、单次导入数据数量应小于2000条;
|
|
815
|
-
3、数据字典直接录入字典值表示,能极大的提高表格渲染速度哦。例如: 数据字典【是否】Y/N
|
|
816
|
-
4、导入成功,系统提示【导入成功数量xxx条】其中的数量包括表头行`,
|
|
817
|
-
errorInfo: "异常信息",
|
|
818
|
-
publish: "发布",
|
|
819
|
-
menuName: "菜单名称(中文)",
|
|
820
|
-
menuNameEn: "菜单名称(英文)",
|
|
821
|
-
menuType: "菜单类型",
|
|
822
|
-
menuCode: "菜单编码",
|
|
823
|
-
permissionCode: "权限编码",
|
|
824
|
-
permissionName: "权限名称",
|
|
825
|
-
menuPath: "路由",
|
|
826
|
-
frameSrc: "内链URI",
|
|
827
|
-
externalURI: "外链URI",
|
|
828
|
-
redirect: "重定向路径",
|
|
829
|
-
i18nField: "标题字段",
|
|
830
|
-
extraIcon: "额外图标",
|
|
831
|
-
icon: "图标",
|
|
832
|
-
jobResult: "执行结果",
|
|
833
|
-
endTime: "结束时间",
|
|
834
|
-
startTime: "开始时间",
|
|
835
|
-
errorMessage: "异常信息",
|
|
836
|
-
jobStatus: "任务状态",
|
|
837
|
-
jobParam: "执行器任务参数",
|
|
838
|
-
jobHandler: "任务处理类",
|
|
839
|
-
jobClassName: "实现类",
|
|
840
|
-
jobCron: "任务执行corn",
|
|
841
|
-
jobName: "任务名称",
|
|
842
|
-
jobDescription: "任务描述",
|
|
843
|
-
interfaceName: "接口名称",
|
|
844
|
-
interfaceUrl: "接口地址",
|
|
845
|
-
requestDate: "请求日期",
|
|
846
|
-
requestStatus: "请求状态",
|
|
847
|
-
requestParameter: "body参数",
|
|
848
|
-
responseTimeConsume: "响应时间(ms)",
|
|
849
|
-
responseContent: "响应内容",
|
|
850
|
-
stacktrace: "错误堆栈",
|
|
851
|
-
userName: "用户姓名",
|
|
852
|
-
userCode: "用户编码",
|
|
853
|
-
status: "状态",
|
|
854
|
-
email: "邮箱",
|
|
855
|
-
userPassword: "登录密码",
|
|
856
|
-
remarks: "备注",
|
|
857
|
-
sysType: "用户类型",
|
|
858
|
-
userPwd: "用户密码",
|
|
859
|
-
unitName: "用户单位",
|
|
860
|
-
employeeCode: "编号",
|
|
861
|
-
employeeName: "姓名",
|
|
862
|
-
department: "部门",
|
|
863
|
-
gender: "性别",
|
|
864
|
-
releateUser: "关联用户",
|
|
865
|
-
identity: "身份证号码",
|
|
866
|
-
employeeDate: "入职日期",
|
|
867
|
-
solarDay: "出生日期",
|
|
868
|
-
phone: "座机号",
|
|
869
|
-
mobile: "手机号",
|
|
870
|
-
deptName: "部门名称",
|
|
871
|
-
deptCode: "部门编码",
|
|
872
|
-
deptType: "部门类型",
|
|
873
|
-
deletePartment: "部门存在子级,请先删除子级",
|
|
874
|
-
orgCode: "业务实体编码",
|
|
875
|
-
orgName: "业务实体名称",
|
|
876
|
-
orgAlias: "业务实体简称",
|
|
877
|
-
orgDesc: "业务实体描述",
|
|
878
|
-
organizationName: "组织名称",
|
|
879
|
-
organizationCode: "组织编码",
|
|
880
|
-
lovCode: "视图编码",
|
|
881
|
-
lovName: "视图名称",
|
|
882
|
-
valueField: "值字段名",
|
|
883
|
-
displayField: "显示字段名",
|
|
884
|
-
lovTitle: "视图标题",
|
|
885
|
-
lovType: "视图类型",
|
|
886
|
-
lovUrl: "视图URI",
|
|
887
|
-
colField: "表格字段名",
|
|
888
|
-
colTitle: "表格列标题",
|
|
889
|
-
colWidth: "列宽度",
|
|
890
|
-
fieldType: "字段类型",
|
|
891
|
-
dictName: "数据字典",
|
|
892
|
-
isSearch: "查询字段",
|
|
893
|
-
isCol: "表格列",
|
|
894
|
-
sqlStatement: "SQL语句",
|
|
895
|
-
fileName: "附件名称",
|
|
896
|
-
fileSize: "附件大小",
|
|
897
|
-
tip: {
|
|
898
|
-
projectConfig: "项目配置",
|
|
899
|
-
closeConfig: "关闭配置",
|
|
900
|
-
clearCache: "清空缓存",
|
|
901
|
-
toLogin: "清空缓存并返回登录页",
|
|
902
|
-
del: "确定要删除{msg}吗?",
|
|
903
|
-
uploadFormat: "上传格式{type}",
|
|
904
|
-
imageSize: "图片尺寸{size}",
|
|
905
|
-
imageCapacity: "图片大小{capacity}",
|
|
906
|
-
singleImg: "仅支持设置单张图",
|
|
907
|
-
emptyAuth: "无系统权限, 请先给用户分配角色重试",
|
|
908
|
-
initPassword: "初始密码为:【123456】,请及时修改密码",
|
|
909
|
-
loginFailure: "用户名或密码不能为空",
|
|
910
|
-
updatenow: "立即更新",
|
|
911
|
-
newVersion: "检测到新版本",
|
|
912
|
-
updateLater: "稍后更新"
|
|
913
|
-
},
|
|
914
|
-
title: {
|
|
915
|
-
employeeInfo: "员工信息",
|
|
916
|
-
cronLog: "执行日志",
|
|
917
|
-
memuInfo: "菜单配置",
|
|
918
|
-
authority: "【{role}】权限明细",
|
|
919
|
-
authUser: "【{role}】分配用户",
|
|
920
|
-
authEdit: "角色编辑",
|
|
921
|
-
roleInfo: "角色列表",
|
|
922
|
-
appAdd: "App版本新增",
|
|
923
|
-
dictList: "【{name}】字典值列表",
|
|
924
|
-
dictInfo: "【{name}】字典值",
|
|
925
|
-
lovView: "值集视图",
|
|
926
|
-
lovColConfig: "值集列配置",
|
|
927
|
-
sequenceInfo: "{name}单据序列配置"
|
|
928
|
-
}
|
|
929
|
-
}, $t = {
|
|
930
|
-
udp: {
|
|
931
|
-
dark: "深色",
|
|
932
|
-
light: "浅色",
|
|
933
|
-
smart: "灵动",
|
|
934
|
-
card: "卡片",
|
|
935
|
-
theme: "主题色",
|
|
936
|
-
pageStyle: "Page Style",
|
|
937
|
-
navigationMode: "Navigation Node",
|
|
938
|
-
tagStyle: "Tag Style",
|
|
939
|
-
collapse: "Collapse",
|
|
940
|
-
expand: "Expand",
|
|
941
|
-
login: "Login",
|
|
942
|
-
home: "Home",
|
|
943
|
-
logout: "Logout",
|
|
944
|
-
userName: "User Name",
|
|
945
|
-
password: "Password",
|
|
946
|
-
passwordReset: "Password Reset",
|
|
947
|
-
oldPwd: "Old Password",
|
|
948
|
-
newPwd: "New Password",
|
|
949
|
-
confirmPwd: "Confirm Password",
|
|
950
|
-
reload: "Reload",
|
|
951
|
-
closeCurrentTab: "Close Current Tab",
|
|
952
|
-
closeLeftTabs: "Close Left Tabs",
|
|
953
|
-
closeRightTabs: "Close Right Tabs",
|
|
954
|
-
closeOtherTabs: "Close Other Tabs",
|
|
955
|
-
closeAllTabs: "Close All Tabs",
|
|
956
|
-
wholeFullScreen: "Whole Full Screen",
|
|
957
|
-
wholeExitFullScreen: "Whole Exit Full Screen",
|
|
958
|
-
contentFullScreen: "Content Fulll Screen",
|
|
959
|
-
contentExitFullScreen: "Content Exit Full Screen",
|
|
960
|
-
fourZeroFour: "404",
|
|
961
|
-
fourZeroThree: "403",
|
|
962
|
-
five: "500",
|
|
963
|
-
backtop: "Back Top",
|
|
964
|
-
error: "Error Page",
|
|
965
|
-
continueAdd: "Continue Add",
|
|
966
|
-
menuQuery: "Menu Search",
|
|
967
|
-
systemTitle: "System Title",
|
|
968
|
-
systemLogo: "LOGO",
|
|
969
|
-
systemFavicon: "favicon",
|
|
970
|
-
homeBackimg: "Home Background Image",
|
|
971
|
-
baseUrl: "Base Url",
|
|
972
|
-
copyright: "Copy Right",
|
|
973
|
-
i18nEnabled: "Internationalize",
|
|
974
|
-
defaultLanguage: "Language",
|
|
975
|
-
roleName: "Role Name",
|
|
976
|
-
roleCode: "Role Code",
|
|
977
|
-
roleDesc: "Role Desc",
|
|
978
|
-
loginTime: "Login Time",
|
|
979
|
-
operatingSystem: "Operate System",
|
|
980
|
-
ip: "ip",
|
|
981
|
-
browserVersion: "Browser Version",
|
|
982
|
-
browser: "Browser",
|
|
983
|
-
dictCode: "Dict Code",
|
|
984
|
-
dictName: "Dict Name",
|
|
985
|
-
dictType: "Dict Type",
|
|
986
|
-
ruleCode: "Rule Code",
|
|
987
|
-
ruleName: "Rule Name",
|
|
988
|
-
fieldType: "Field Type",
|
|
989
|
-
fieldValue: "Field Value",
|
|
990
|
-
dateMask: "Data Mask",
|
|
991
|
-
resetFrequency: "Reset Frequency",
|
|
992
|
-
seqLength: "Seq Length",
|
|
993
|
-
startValue: "Start Value",
|
|
994
|
-
currentValue: "Current Value",
|
|
995
|
-
haveBeenUsed: "Have Been Used",
|
|
996
|
-
unitName: "Unit Name",
|
|
997
|
-
unitCode: "Unit Code",
|
|
998
|
-
unitNote: "Unit Note",
|
|
999
|
-
deleteCompany: "There are child levels in the Company, please delete the child level first",
|
|
1000
|
-
tip: "tip",
|
|
1001
|
-
today: "Today",
|
|
1002
|
-
yesterday: "Yesterday",
|
|
1003
|
-
lastWeek: "Last Week",
|
|
1004
|
-
lastMonth: "Last Month",
|
|
1005
|
-
threeMonth: "Three Month",
|
|
1006
|
-
halfYear: "Half Year",
|
|
1007
|
-
anniversary: "Anniversary"
|
|
1008
|
-
},
|
|
1009
|
-
btn: {
|
|
1010
|
-
add: "Add",
|
|
1011
|
-
agree: "Agree",
|
|
1012
|
-
approve: "Approval",
|
|
1013
|
-
appupper: "App Add",
|
|
1014
|
-
applower: "App Remove",
|
|
1015
|
-
auth: "Authority",
|
|
1016
|
-
back: "Back",
|
|
1017
|
-
cancel: "Cancel",
|
|
1018
|
-
completed: "Completed",
|
|
1019
|
-
close: "Close",
|
|
1020
|
-
toggle: "Toggle",
|
|
1021
|
-
confirm: "Confirm",
|
|
1022
|
-
config: "Config",
|
|
1023
|
-
copy: "Copy",
|
|
1024
|
-
customSize: "Custom Size",
|
|
1025
|
-
detail: "Detail",
|
|
1026
|
-
directPrint: "Direct Print",
|
|
1027
|
-
design: "Design",
|
|
1028
|
-
delete: "Delete",
|
|
1029
|
-
del: "Delete",
|
|
1030
|
-
download: "Download",
|
|
1031
|
-
dispatchUser: "Dispatch User",
|
|
1032
|
-
dispatchAuth: "Dispatch Authority",
|
|
1033
|
-
finish: "Finish",
|
|
1034
|
-
fetch: "Fetch",
|
|
1035
|
-
edit: "Edit",
|
|
1036
|
-
export: "Export",
|
|
1037
|
-
import: "Import",
|
|
1038
|
-
encode: "Encode",
|
|
1039
|
-
importJSON: "Import Data",
|
|
1040
|
-
look: "Look",
|
|
1041
|
-
lov: "Lov",
|
|
1042
|
-
inbound: "Inbound",
|
|
1043
|
-
more: "More",
|
|
1044
|
-
outbound: "Outbound",
|
|
1045
|
-
preview: "Preview",
|
|
1046
|
-
print: "Print",
|
|
1047
|
-
paramSet: "Param Set",
|
|
1048
|
-
reset: "Reset",
|
|
1049
|
-
resumeTask: "Resume",
|
|
1050
|
-
role: "Role",
|
|
1051
|
-
repaint: "Repaint",
|
|
1052
|
-
save: "Save",
|
|
1053
|
-
scan: "Scan Download",
|
|
1054
|
-
stopTask: "Stop",
|
|
1055
|
-
suspendTask: "Suspend",
|
|
1056
|
-
search: "Search",
|
|
1057
|
-
sync: "Sync",
|
|
1058
|
-
submit: "Submit",
|
|
1059
|
-
taskLog: "Log",
|
|
1060
|
-
revoke: "Revoke",
|
|
1061
|
-
reject: "Reject",
|
|
1062
|
-
upload: "Upload"
|
|
1063
|
-
},
|
|
1064
|
-
file: {
|
|
1065
|
-
templateName: "Template Name",
|
|
1066
|
-
templateCode: "Template Code",
|
|
1067
|
-
paperType: "Paper Type",
|
|
1068
|
-
printPosition: "Print Position",
|
|
1069
|
-
buttonCode: "Button Code",
|
|
1070
|
-
resourceCode: "Resource Code",
|
|
1071
|
-
resourceName: "Resource Name",
|
|
1072
|
-
resourceUrl: "Resource Url",
|
|
1073
|
-
fileName: "File Name",
|
|
1074
|
-
fileSize: "File Size",
|
|
1075
|
-
filePath: "File Path",
|
|
1076
|
-
fileExtend: "File Extend",
|
|
1077
|
-
textAlign: "Text Align",
|
|
1078
|
-
color: "Color",
|
|
1079
|
-
fillOpacity: "Fill Opacity",
|
|
1080
|
-
fontSize: "Font Size",
|
|
1081
|
-
rotation: "Rotation",
|
|
1082
|
-
watermarkCode: "Watermark Code",
|
|
1083
|
-
watermarkContent: "Watermark Content",
|
|
1084
|
-
watermarkTrigger: "Watermark Trigger",
|
|
1085
|
-
watermarkType: "Watermark Type",
|
|
1086
|
-
xAxis: "xAxis",
|
|
1087
|
-
yAxis: "yAxis"
|
|
1088
|
-
},
|
|
1089
|
-
add: "Add",
|
|
1090
|
-
operate: "Operate",
|
|
1091
|
-
emptyData: "Empty Data",
|
|
1092
|
-
creationDate: "Creation Date",
|
|
1093
|
-
createdByName: "CreatedBy Name",
|
|
1094
|
-
creationName: "Creation Name",
|
|
1095
|
-
lastUpdateDate: "LastUpdate Date",
|
|
1096
|
-
lastUpdatedByName: "LastUpdatedBy Name",
|
|
1097
|
-
sort: "Sort",
|
|
1098
|
-
seqNo: "Seq No",
|
|
1099
|
-
remark: "Remark",
|
|
1100
|
-
loading: "Loading...",
|
|
1101
|
-
keyword: "Keyword",
|
|
1102
|
-
required: "Required",
|
|
1103
|
-
isRequired: "Is Required",
|
|
1104
|
-
dataSetCode: "Dataset Code",
|
|
1105
|
-
dataSetName: "Dataset Name",
|
|
1106
|
-
dataSetType: "Dataset Type",
|
|
1107
|
-
dataSetUrl: "Dataset Url",
|
|
1108
|
-
paramCode: "Param Code",
|
|
1109
|
-
paramName: "Param Name",
|
|
1110
|
-
defaultValue: "Default Value",
|
|
1111
|
-
enabled: "Enabled",
|
|
1112
|
-
disabled: "Disabled",
|
|
1113
|
-
to: "To",
|
|
1114
|
-
startDate: "Start Date",
|
|
1115
|
-
endDate: "End Date",
|
|
1116
|
-
operateSuccess: "Operate Success!",
|
|
1117
|
-
operateFailed: "Operate Failed!",
|
|
1118
|
-
selectedRecord: "Please select at least one record",
|
|
1119
|
-
delRecord: "Are you sure you want to delete this record?",
|
|
1120
|
-
importSuccess: "Import Success!",
|
|
1121
|
-
importFailed: "Data import failed, please scroll down to view the error message",
|
|
1122
|
-
importRecord: "Are you sure you want to import the data?",
|
|
1123
|
-
importEmpty: "The data list is empty, please import the data list first",
|
|
1124
|
-
importTip: `1. The column headings in the table template cannot be modified;
|
|
1125
|
-
2. The number of data imported at a time should be less than 2000;
|
|
1126
|
-
3. Directly entering dictionary values into the data dictionary can greatly improve the speed of table rendering. For example: Data Dictionary [Yes/No] Y/N
|
|
1127
|
-
4. Import successful, system prompts' xxx successful imports', including header rows`,
|
|
1128
|
-
errorInfo: "Error Info",
|
|
1129
|
-
publish: "Publish",
|
|
1130
|
-
menuName: "Menu Name",
|
|
1131
|
-
menuNameEn: "Menu Name",
|
|
1132
|
-
menuType: "Menu Type",
|
|
1133
|
-
menuCode: "Menu Code",
|
|
1134
|
-
permissionCode: "Permission Code",
|
|
1135
|
-
permissionName: "Permission Name",
|
|
1136
|
-
menuPath: "Menu Path",
|
|
1137
|
-
frameSrc: "Internal Link URI",
|
|
1138
|
-
externalURI: "External Link URI",
|
|
1139
|
-
redirect: "Redirect",
|
|
1140
|
-
i18nField: "Language Field",
|
|
1141
|
-
extraIcon: "Extra Icon",
|
|
1142
|
-
icon: "Icon",
|
|
1143
|
-
jobResult: "Job Result",
|
|
1144
|
-
endTime: "End Time",
|
|
1145
|
-
startTime: "Start Time",
|
|
1146
|
-
errorMessage: "Error Message",
|
|
1147
|
-
jobStatus: "Job Status",
|
|
1148
|
-
jobParam: "Job Param",
|
|
1149
|
-
jobHandler: "Job Handler",
|
|
1150
|
-
jobClassName: "Job ClassName",
|
|
1151
|
-
jobCron: "Job Cron",
|
|
1152
|
-
jobName: "Job Name",
|
|
1153
|
-
jobDescription: "Job Description",
|
|
1154
|
-
interfaceName: "Interface Name",
|
|
1155
|
-
interfaceUrl: "Interface Url",
|
|
1156
|
-
requestDate: "Request Date",
|
|
1157
|
-
requestStatus: "Request Status",
|
|
1158
|
-
requestParameter: "Request Parameter",
|
|
1159
|
-
responseTimeConsume: "Response TimeConsume(ms)",
|
|
1160
|
-
responseContent: "Response Content",
|
|
1161
|
-
stacktrace: "Stacktrace",
|
|
1162
|
-
userName: "User Name",
|
|
1163
|
-
userCode: "user Code",
|
|
1164
|
-
status: "Status",
|
|
1165
|
-
email: "Email",
|
|
1166
|
-
userPassword: "Password",
|
|
1167
|
-
remarks: "Remarks",
|
|
1168
|
-
sysType: "User Type",
|
|
1169
|
-
userPwd: "Password",
|
|
1170
|
-
unitName: "Department",
|
|
1171
|
-
employeeCode: "Employee Code",
|
|
1172
|
-
employeeName: "Employee Name",
|
|
1173
|
-
department: "Department",
|
|
1174
|
-
gender: "Sex",
|
|
1175
|
-
releateUser: "Releate User",
|
|
1176
|
-
identity: "Identity",
|
|
1177
|
-
employeeDate: "Employee Date",
|
|
1178
|
-
solarDay: "Solar Day",
|
|
1179
|
-
phone: "Phone",
|
|
1180
|
-
mobile: "Mobile",
|
|
1181
|
-
deptName: "Department Name",
|
|
1182
|
-
deptCode: "Department Code",
|
|
1183
|
-
deptType: "Department Type",
|
|
1184
|
-
deletePartment: "There are child levels in the department, please delete the child level first",
|
|
1185
|
-
orgCode: "Business Unit Code",
|
|
1186
|
-
orgName: "Business Unit Name",
|
|
1187
|
-
orgAlias: "Business Unit Alias",
|
|
1188
|
-
orgDesc: "Business Unit Descript",
|
|
1189
|
-
organizationName: "Organization Name",
|
|
1190
|
-
organizationCode: "Organization Code",
|
|
1191
|
-
lovCode: "LovCode",
|
|
1192
|
-
lovName: "lovName",
|
|
1193
|
-
valueField: "valueField",
|
|
1194
|
-
displayField: "displayField",
|
|
1195
|
-
lovTitle: "lovTitle",
|
|
1196
|
-
colField: "colField",
|
|
1197
|
-
colTitle: "colTitle",
|
|
1198
|
-
width: "width",
|
|
1199
|
-
dictDispose: "dictDispose",
|
|
1200
|
-
isSearch: "isSearch",
|
|
1201
|
-
isCol: "isCol"
|
|
1202
|
-
}, we = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": Ot, "./module/u-workflow.ts": zt, "./module/umsg.ts": Ut }), M = {};
|
|
1203
|
-
for (const e in we)
|
|
1204
|
-
M[e.replace(/(\.\/module\/|\.ts)/g, "")] = we[e].default;
|
|
1205
|
-
const be = Object.keys(M).filter((e) => M[e]).map((e) => M[e]), ve = {
|
|
1206
|
-
zh: {
|
|
1207
|
-
...g.getItem(bt),
|
|
1208
|
-
message: X(_t, ...be.map((e) => e.zh.message))
|
|
1209
|
-
},
|
|
1210
|
-
en: {
|
|
1211
|
-
...g.getItem(vt),
|
|
1212
|
-
message: Object.assign($t, ...be.map((e) => e.en.message))
|
|
1213
|
-
}
|
|
1214
|
-
};
|
|
1215
|
-
let P = null;
|
|
1216
|
-
function qt(e, t = { messages: {} }) {
|
|
1217
|
-
var o;
|
|
1218
|
-
console.log("message=====", ve), P = ot({
|
|
1219
|
-
legacy: !1,
|
|
1220
|
-
locale: ((o = g.getItem(`${F()}locale`)) == null ? void 0 : o.locale) ?? "zh",
|
|
1221
|
-
fallbackLocale: "en",
|
|
1222
|
-
globalInjection: !0,
|
|
1223
|
-
messages: X(ve, t.messages)
|
|
1224
|
-
}), te.setLanguage("zh-CN"), e.use(P);
|
|
1225
|
-
}
|
|
1226
|
-
const B = () => P;
|
|
1227
|
-
function Ht(e = "", t = !0) {
|
|
1228
|
-
if (!e)
|
|
1229
|
-
return "";
|
|
1230
|
-
if (typeof e == "object") {
|
|
1231
|
-
const o = P.global.locale;
|
|
1232
|
-
return e[o.value];
|
|
1233
|
-
}
|
|
1234
|
-
return t ? P.global.t.call(P.global, e) : e;
|
|
1235
|
-
}
|
|
1236
|
-
const Vt = ee("udp-system", {
|
|
1237
|
-
state: () => ({
|
|
1238
|
-
baseURL: "",
|
|
1239
|
-
userInfo: {},
|
|
1240
|
-
systemInfo: {},
|
|
1241
|
-
dataDict: {},
|
|
1242
|
-
sysConfig: {},
|
|
1243
|
-
menui18n: {},
|
|
1244
|
-
i18n: {},
|
|
1245
|
-
dicts: [],
|
|
1246
|
-
orgList: [],
|
|
1247
|
-
invOrgList: [],
|
|
1248
|
-
homeMenus: [],
|
|
1249
|
-
sessionKey: "",
|
|
1250
|
-
orgId: "",
|
|
1251
|
-
userName: "",
|
|
1252
|
-
organizationId: "",
|
|
1253
|
-
isAdminRole: !1
|
|
1254
|
-
}),
|
|
1255
|
-
getters: {
|
|
1256
|
-
getBaseURL() {
|
|
1257
|
-
return this.baseURL;
|
|
1258
|
-
},
|
|
1259
|
-
getUserInfo() {
|
|
1260
|
-
return this.userInfo;
|
|
1261
|
-
},
|
|
1262
|
-
getSysConfig() {
|
|
1263
|
-
return this.sysConfig;
|
|
1264
|
-
},
|
|
1265
|
-
getEmployee() {
|
|
1266
|
-
return this.employee;
|
|
1267
|
-
},
|
|
1268
|
-
getSessionKey() {
|
|
1269
|
-
return this.sessionKey;
|
|
1270
|
-
},
|
|
1271
|
-
getMenuI18n() {
|
|
1272
|
-
return this.menui18n;
|
|
1273
|
-
},
|
|
1274
|
-
getI18n() {
|
|
1275
|
-
return this.i18n;
|
|
1276
|
-
},
|
|
1277
|
-
getOrglist() {
|
|
1278
|
-
return this.orgList;
|
|
1279
|
-
},
|
|
1280
|
-
getOrgId() {
|
|
1281
|
-
return this.orgId;
|
|
1282
|
-
},
|
|
1283
|
-
getOrganizationId() {
|
|
1284
|
-
return this.organizationId;
|
|
1285
|
-
},
|
|
1286
|
-
getDataDict() {
|
|
1287
|
-
return this.dataDict;
|
|
1288
|
-
},
|
|
1289
|
-
getUserName() {
|
|
1290
|
-
return this.userName;
|
|
1291
|
-
},
|
|
1292
|
-
getAdminRole(e) {
|
|
1293
|
-
return e.isAdminRole;
|
|
1294
|
-
},
|
|
1295
|
-
getHomeMenus(e) {
|
|
1296
|
-
return e.homeMenus;
|
|
1297
|
-
},
|
|
1298
|
-
getOrganizationCode(e) {
|
|
1299
|
-
var t, o;
|
|
1300
|
-
return (o = (t = e.invOrgList) == null ? void 0 : t.find((n) => n.id === e.organizationId)) == null ? void 0 : o.organizationCode;
|
|
1301
|
-
},
|
|
1302
|
-
getOrg(e) {
|
|
1303
|
-
return e.orgList.find((t) => t.id === e.orgId);
|
|
1304
|
-
}
|
|
1305
|
-
},
|
|
1306
|
-
actions: {
|
|
1307
|
-
// baseURL
|
|
1308
|
-
setBaseURL(e) {
|
|
1309
|
-
this.sessionKey = e;
|
|
1310
|
-
},
|
|
1311
|
-
setSessionKey(e) {
|
|
1312
|
-
this.sessionKey = e.access_token || e;
|
|
1313
|
-
},
|
|
1314
|
-
// sysConfig
|
|
1315
|
-
setSysConfig(e) {
|
|
1316
|
-
this.sysConfig = e;
|
|
1317
|
-
},
|
|
1318
|
-
// orgId
|
|
1319
|
-
setOrgId(e) {
|
|
1320
|
-
this.orgId = e;
|
|
1321
|
-
},
|
|
1322
|
-
setOrganizationId(e) {
|
|
1323
|
-
this.organizationId = e;
|
|
1324
|
-
},
|
|
1325
|
-
setMenuI18n(e) {
|
|
1326
|
-
this.menui18n = e;
|
|
1327
|
-
},
|
|
1328
|
-
setI18n(e) {
|
|
1329
|
-
this.i18n = e;
|
|
1330
|
-
},
|
|
1331
|
-
setUserName(e) {
|
|
1332
|
-
this.userName = e;
|
|
1333
|
-
},
|
|
1334
|
-
// 首页子菜单列表
|
|
1335
|
-
setHomeMenus(e) {
|
|
1336
|
-
this.homeMenus = e;
|
|
1337
|
-
},
|
|
1338
|
-
// 库存组织列表
|
|
1339
|
-
setInvOrgList(e) {
|
|
1340
|
-
this.invOrgList = e;
|
|
1341
|
-
},
|
|
1342
|
-
setOrgList(e) {
|
|
1343
|
-
this.orgList = e;
|
|
1344
|
-
},
|
|
1345
|
-
setDict(e) {
|
|
1346
|
-
this.dicts = e, e == null || e.forEach((t) => {
|
|
1347
|
-
this.dataDict[t.dictCode] = t;
|
|
1348
|
-
}), g.setItem("kLov", this.dataDict);
|
|
1349
|
-
},
|
|
1350
|
-
// 系统信息
|
|
1351
|
-
setSystemInfo(e) {
|
|
1352
|
-
var n;
|
|
1353
|
-
this.systemInfo = e;
|
|
1354
|
-
const t = (n = e.employeeList) != null && n.length ? e.employeeList[0] : "";
|
|
1355
|
-
this.userInfo = e.user || {}, this.employee = Object.assign({}, t, e.user), this.orgId = e.orgId, this.organizationId = e.organizationId, this.orgList = e.orgList;
|
|
1356
|
-
const o = {
|
|
1357
|
-
orgId: e.orgId,
|
|
1358
|
-
organizationId: e.organizationId
|
|
1359
|
-
};
|
|
1360
|
-
Le.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some(
|
|
1361
|
-
(a) => a.roleCode === "admin" || ["管理员"].includes(a.roleName)
|
|
1362
|
-
), f().setAuthButton(e.dataMenus);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
});
|
|
1366
|
-
function z() {
|
|
1367
|
-
return Vt(q);
|
|
1368
|
-
}
|
|
1369
|
-
function Jt(e, t) {
|
|
1370
|
-
return /* @__PURE__ */ A({
|
|
1371
|
-
name: e,
|
|
1372
|
-
components: {
|
|
1373
|
-
asyncComponent: t
|
|
1374
|
-
},
|
|
1375
|
-
setup() {
|
|
1376
|
-
return () => Oe(K("async-component"), null, null);
|
|
1377
|
-
}
|
|
1378
|
-
});
|
|
1379
|
-
}
|
|
1380
|
-
C.setBaseUrl(v());
|
|
1381
|
-
const Kt = () => C.get(`${v()}/uums/roleMenu`), Wt = () => C.get(`${v()}/upfm/v1/lov/selectAll`), Ce = (e) => C.get(`${v()}/uums/roleMenu/userMenu`, e), Gt = () => import("./layoutView-BBQB8pDc.js"), Yt = () => import("./frameView-BzgaLYjQ.js");
|
|
1382
|
-
function L(e) {
|
|
1383
|
-
return e.forEach((t) => {
|
|
1384
|
-
var o, n;
|
|
1385
|
-
((o = t == null ? void 0 : t.meta) == null ? void 0 : o.rank) === null && (t.meta.rank = void 0), ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) === 0 && t.name !== "home" && t.path !== "/" && console.warn("rank only the home page can be 0");
|
|
1386
|
-
}), e.sort((t, o) => {
|
|
1387
|
-
var n, a;
|
|
1388
|
-
return ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) - ((a = o == null ? void 0 : o.meta) == null ? void 0 : a.rank);
|
|
1389
|
-
});
|
|
1390
|
-
}
|
|
1391
|
-
function _e(e) {
|
|
1392
|
-
const t = R(e, !0).filter(
|
|
1393
|
-
(o) => {
|
|
1394
|
-
var n;
|
|
1395
|
-
return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
|
|
1396
|
-
}
|
|
1397
|
-
);
|
|
1398
|
-
return t.forEach((o) => o.children && (o.children = _e(o.children))), t;
|
|
1399
|
-
}
|
|
1400
|
-
function In(e, t, o = "path") {
|
|
1401
|
-
function n(a, r, i) {
|
|
1402
|
-
for (let u = 0; u < a.length; u++) {
|
|
1403
|
-
const m = a[u];
|
|
1404
|
-
if (m[o] === r) return i;
|
|
1405
|
-
if (!(!m.children || !m.children.length)) {
|
|
1406
|
-
if (i.push(m.path), n(m.children, r, i).length) return i;
|
|
1407
|
-
i.pop();
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
return [];
|
|
1411
|
-
}
|
|
1412
|
-
return n(t, e, []);
|
|
1413
|
-
}
|
|
1414
|
-
function $e(e, t) {
|
|
1415
|
-
let o = t.find((n) => n.path == e);
|
|
1416
|
-
if (o)
|
|
1417
|
-
return me(o) ? ce(o) : o;
|
|
1418
|
-
for (let n = 0; n < t.length; n++)
|
|
1419
|
-
if (t[n].children instanceof Array && t[n].children.length > 0 && (o = $e(e, t[n].children), o))
|
|
1420
|
-
return me(o) ? ce(o) : o;
|
|
1421
|
-
return null;
|
|
1422
|
-
}
|
|
1423
|
-
function Qt() {
|
|
1424
|
-
h.hasRoute("pathMatch") || h.addRoute({
|
|
1425
|
-
path: "/:pathMatch(.*)",
|
|
1426
|
-
name: "pathMatch",
|
|
1427
|
-
redirect: "/error/404"
|
|
1428
|
-
});
|
|
1429
|
-
}
|
|
1430
|
-
function Zt() {
|
|
1431
|
-
var t, o;
|
|
1432
|
-
const e = B();
|
|
1433
|
-
(t = e.global) == null || t.mergeLocaleMessage("zh", N.zh), (o = e.global) == null || o.mergeLocaleMessage("en", N.en), g.setItem("menu_zh", N.zh), g.setItem("menu_en", N.en);
|
|
1434
|
-
}
|
|
1435
|
-
function Ee(e) {
|
|
1436
|
-
if (e != null && e.length) {
|
|
1437
|
-
const t = e.findIndex((n) => n.menuCode === "SysHome");
|
|
1438
|
-
if (t !== -1) {
|
|
1439
|
-
const n = [], a = [];
|
|
1440
|
-
e[t].children.forEach((r) => {
|
|
1441
|
-
r.menuCategory !== "1" ? n.push(r) : a.push(r);
|
|
1442
|
-
}), e[t].children = a, z().setHomeMenus(n);
|
|
1443
|
-
}
|
|
1444
|
-
const o = R(He(e), !0);
|
|
1445
|
-
Zt(), H(o).map((n) => {
|
|
1446
|
-
const { options: a } = h;
|
|
1447
|
-
a.routes[0].children.findIndex((r) => r.path === n.path) === -1 && (h.options.routes[0].children.push(n), L(h.options.routes[0].children), h.hasRoute(n == null ? void 0 : n.name) || h.addRoute(n));
|
|
1448
|
-
});
|
|
1449
|
-
}
|
|
1450
|
-
f().changeSetting(e), x().getMultiTagsCache || x().handleTags("equal", [
|
|
1451
|
-
...ne,
|
|
1452
|
-
...f().flatteningRoutes.filter((t) => {
|
|
1453
|
-
var o;
|
|
1454
|
-
return (o = t == null ? void 0 : t.meta) == null ? void 0 : o.fixedTag;
|
|
1455
|
-
})
|
|
1456
|
-
]), Qt();
|
|
1457
|
-
}
|
|
1458
|
-
async function Xt(e) {
|
|
1459
|
-
let t = [];
|
|
1460
|
-
const o = `U-${e}-ROUTES`;
|
|
1461
|
-
return oe().CachingAsyncRoutes && await V.getItem(o).then((n) => t = n), Wt().then((n) => z().setDict(n)), await Kt().then(async (n) => {
|
|
1462
|
-
z().setSystemInfo(n), await $().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => z().setInvOrgList((a == null ? void 0 : a.list) || []));
|
|
1463
|
-
}), t != null && t.length ? new Promise((n) => {
|
|
1464
|
-
Ee(t), Ce({ userName: e }).then((a) => {
|
|
1465
|
-
V.setItem(o, a);
|
|
1466
|
-
}), n(h);
|
|
1467
|
-
}) : new Promise((n) => {
|
|
1468
|
-
Ce({ userName: e }).then((a) => {
|
|
1469
|
-
Ee(R(a, !0)), V.setItem(o, a), n(h);
|
|
1470
|
-
});
|
|
1471
|
-
});
|
|
1472
|
-
}
|
|
1473
|
-
function H(e) {
|
|
1474
|
-
if (e.length === 0) return e;
|
|
1475
|
-
let t = Z(e);
|
|
1476
|
-
for (let o = 0; o < t.length; o++)
|
|
1477
|
-
t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
|
|
1478
|
-
return t;
|
|
1479
|
-
}
|
|
1480
|
-
function qe(e) {
|
|
1481
|
-
if (e.length === 0) return e;
|
|
1482
|
-
const t = [];
|
|
1483
|
-
return e.forEach((o) => {
|
|
1484
|
-
o.path === "/" ? t.push({
|
|
1485
|
-
component: o.component,
|
|
1486
|
-
name: o.name,
|
|
1487
|
-
path: o.path,
|
|
1488
|
-
redirect: o.redirect,
|
|
1489
|
-
meta: o.meta,
|
|
1490
|
-
children: []
|
|
1491
|
-
}) : t[0].children.push({ ...o });
|
|
1492
|
-
}), t;
|
|
1493
|
-
}
|
|
1494
|
-
function eo({ name: e }, t) {
|
|
1495
|
-
switch (t) {
|
|
1496
|
-
case "add":
|
|
1497
|
-
f().cacheOperate({ mode: "add", name: e });
|
|
1498
|
-
break;
|
|
1499
|
-
case "delete":
|
|
1500
|
-
f().cacheOperate({ mode: "delete", name: e });
|
|
1501
|
-
break;
|
|
1502
|
-
case "refresh":
|
|
1503
|
-
f().cacheOperate({ mode: "refresh", name: e });
|
|
1504
|
-
break;
|
|
1505
|
-
default:
|
|
1506
|
-
f().cacheOperate({ mode: "delete", name: e }), pt(() => {
|
|
1507
|
-
f().cacheOperate({ mode: "add", name: e });
|
|
1508
|
-
}, 100);
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
const N = {
|
|
1512
|
-
zh: {},
|
|
1513
|
-
en: {}
|
|
1514
|
-
}, He = (e) => {
|
|
1515
|
-
var n;
|
|
1516
|
-
const t = mo();
|
|
1517
|
-
if (!e || !e.length) return;
|
|
1518
|
-
const o = Object.keys(t);
|
|
1519
|
-
for (let a = 0; a < e.length; a++) {
|
|
1520
|
-
const r = e[a];
|
|
1521
|
-
r != null && r.children && r.children.length && !r.redirect && (r.redirect = r.children[0].path);
|
|
1522
|
-
const { icon: i, permissionCode: u, extraIcon: m, frameSrc: s } = r;
|
|
1523
|
-
if (r.meta = { keepAlive: !0, rank: r.sort, title: `${r.i18nField}` }, Object.assign(r.meta, { icon: i, permissionCode: u, extraIcon: m, frameSrc: s }), N.zh[r.i18nField] = r.menuName || r.menuNameEn, N.en[r.i18nField] = r.menuNameEn || r.menuName, r.name = r.menuCode || r.name, r.path = r.menuPath || r.path, !r.parentId)
|
|
1524
|
-
r.component = Gt;
|
|
1525
|
-
else if ((n = r.meta) != null && n.frameSrc)
|
|
1526
|
-
r.component = Yt;
|
|
1527
|
-
else if (r.menuCategory === "10") {
|
|
1528
|
-
const d = o.findIndex((p) => p.includes("lowcode-contain"));
|
|
1529
|
-
r.component = Jt(
|
|
1530
|
-
r.name,
|
|
1531
|
-
Ze(() => import(
|
|
1532
|
-
/* @vite-ignore */
|
|
1533
|
-
o[d]
|
|
1534
|
-
))
|
|
1535
|
-
), Object.assign(r.meta, { moduleType: r.moduleType });
|
|
1536
|
-
} else if (r.menuCategory !== "5") {
|
|
1537
|
-
const d = o.findIndex((p) => p.includes(r.path));
|
|
1538
|
-
r.component = t[o[d]];
|
|
1539
|
-
}
|
|
1540
|
-
r != null && r.children && r.children.length ? He(r.children) : delete r.children;
|
|
1541
|
-
}
|
|
1542
|
-
return e;
|
|
1543
|
-
};
|
|
1544
|
-
function Nn(e, t = !0) {
|
|
1545
|
-
const o = x().multiTags.findIndex((n) => {
|
|
1546
|
-
if (e.query) {
|
|
1547
|
-
if (e.path === n.path)
|
|
1548
|
-
return e.query === n.query;
|
|
1549
|
-
} else
|
|
1550
|
-
return e.path === n.path;
|
|
1551
|
-
});
|
|
1552
|
-
if (x().handleTags("splice", "", { startIndex: o, length: 1 }), eo(e.matched, "delete"), t) {
|
|
1553
|
-
const n = x().handleTags("slice");
|
|
1554
|
-
h.push({
|
|
1555
|
-
path: n[0].path,
|
|
1556
|
-
query: n[0].query
|
|
1557
|
-
});
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
const to = ee("udp-permission", {
|
|
1561
|
-
state: () => ({
|
|
1562
|
-
// 静态路由生成的菜单
|
|
1563
|
-
constantMenus: lo,
|
|
1564
|
-
// 整体路由生成的菜单(静态、动态)
|
|
1565
|
-
wholeMenus: [],
|
|
1566
|
-
// 深拷贝一个菜单树,与导航菜单不冲突
|
|
1567
|
-
menusTree: [],
|
|
1568
|
-
// 整体路由(一维数组格式)
|
|
1569
|
-
flatteningRoutes: [],
|
|
1570
|
-
buttonAuth: [],
|
|
1571
|
-
// 缓存页面keepAlive
|
|
1572
|
-
cachePageList: []
|
|
1573
|
-
}),
|
|
1574
|
-
getters: {
|
|
1575
|
-
getButtonAuth() {
|
|
1576
|
-
return this.buttonAuth;
|
|
1577
|
-
}
|
|
1578
|
-
},
|
|
1579
|
-
actions: {
|
|
1580
|
-
asyncActionRoutes(e = []) {
|
|
1581
|
-
if (this.wholeMenus.length > 0) return;
|
|
1582
|
-
const t = it(e, (n) => n.menuCode === "SysHome"), o = R(this.constantMenus, !0);
|
|
1583
|
-
if (t !== -1) {
|
|
1584
|
-
const n = this.constantMenus.find((a) => a.name === "home");
|
|
1585
|
-
e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
|
|
1586
|
-
}
|
|
1587
|
-
this.wholeMenus = _e(L(this.constantMenus.concat(e))), this.flatteningRoutes = H(this.constantMenus.concat(e)), this.menusTree = R(this.wholeMenus, !0), this.constantMenus = o;
|
|
1588
|
-
},
|
|
1589
|
-
async changeSetting(e) {
|
|
1590
|
-
await this.asyncActionRoutes(e);
|
|
1591
|
-
},
|
|
1592
|
-
setAuthButton(e) {
|
|
1593
|
-
this.buttonAuth = e;
|
|
1594
|
-
},
|
|
1595
|
-
setWholeMenus(e) {
|
|
1596
|
-
this.wholeMenus = e;
|
|
1597
|
-
},
|
|
1598
|
-
cacheOperate({ mode: e, name: t }) {
|
|
1599
|
-
const o = this.cachePageList.findIndex((n) => n === t);
|
|
1600
|
-
switch (e) {
|
|
1601
|
-
case "refresh":
|
|
1602
|
-
this.cachePageList = this.cachePageList.filter((n) => n !== t);
|
|
1603
|
-
break;
|
|
1604
|
-
case "add":
|
|
1605
|
-
this.cachePageList.push(t);
|
|
1606
|
-
break;
|
|
1607
|
-
case "delete":
|
|
1608
|
-
o !== -1 && this.cachePageList.splice(o, 1);
|
|
1609
|
-
break;
|
|
1610
|
-
case "reset":
|
|
1611
|
-
this.cachePageList = [];
|
|
1612
|
-
break;
|
|
1613
|
-
}
|
|
1614
|
-
st(() => {
|
|
1615
|
-
let n = this.cachePageList.length;
|
|
1616
|
-
const a = At(x().multiTags, "name");
|
|
1617
|
-
for (; n > 0; )
|
|
1618
|
-
a.findIndex((r) => r === this.cachePageList[n - 1]) === -1 && this.cachePageList.splice(
|
|
1619
|
-
this.cachePageList.indexOf(this.cachePageList[n - 1]),
|
|
1620
|
-
1
|
|
1621
|
-
), n--;
|
|
1622
|
-
}, 500)();
|
|
1623
|
-
},
|
|
1624
|
-
/** 清空缓存页面 */
|
|
1625
|
-
clearAllCachePage() {
|
|
1626
|
-
this.wholeMenus = [], this.menusTree = [], this.buttonAuth = [], this.cachePageList = [];
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
});
|
|
1630
|
-
function f() {
|
|
1631
|
-
return to(q);
|
|
1632
|
-
}
|
|
1633
|
-
const oo = ee("udp-multiTags", {
|
|
1634
|
-
state: () => {
|
|
1635
|
-
var e, t;
|
|
1636
|
-
return {
|
|
1637
|
-
// 存储标签页信息(路由信息)
|
|
1638
|
-
multiTags: (e = g.getItem(`${F()}configure`)) != null && e.multiTagsCache ? g.getItem(`${F()}tags`) : [...ne, ...f().flatteningRoutes.filter((o) => {
|
|
1639
|
-
var n;
|
|
1640
|
-
return (n = o == null ? void 0 : o.meta) == null ? void 0 : n.fixedTag;
|
|
1641
|
-
})],
|
|
1642
|
-
multiTagsCache: (t = g.getItem(`${F()}configure`)) == null ? void 0 : t.multiTagsCache
|
|
1643
|
-
};
|
|
1644
|
-
},
|
|
1645
|
-
getters: {
|
|
1646
|
-
getMultiTagsCache(e) {
|
|
1647
|
-
return e.multiTagsCache;
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
|
-
actions: {
|
|
1651
|
-
multiTagsCacheChange(e) {
|
|
1652
|
-
this.multiTagsCache = e, e ? g.setItem(`${F()}tags`, this.multiTags) : g.removeItem(`${F()}tags`);
|
|
1653
|
-
},
|
|
1654
|
-
tagsCache(e) {
|
|
1655
|
-
this.getMultiTagsCache && g.setItem(`${F()}tags`, e);
|
|
1656
|
-
},
|
|
1657
|
-
handleTags(e, t, o) {
|
|
1658
|
-
var n, a, r, i, u, m;
|
|
1659
|
-
switch (e) {
|
|
1660
|
-
case "equal":
|
|
1661
|
-
this.multiTags = t, this.tagsCache(this.multiTags);
|
|
1662
|
-
break;
|
|
1663
|
-
case "push":
|
|
1664
|
-
{
|
|
1665
|
-
const s = t;
|
|
1666
|
-
if ((n = s == null ? void 0 : s.meta) != null && n.hiddenTag || Me(s == null ? void 0 : s.name) || ((r = (a = s == null ? void 0 : s.meta) == null ? void 0 : a.title) == null ? void 0 : r.length) === 0 || ut((i = s == null ? void 0 : s.meta) == null ? void 0 : i.showLink) && !((u = s == null ? void 0 : s.meta) != null && u.showLink)) return;
|
|
1667
|
-
const d = s.path, p = this.multiTags.some((c) => c.path === d), E = this.multiTags.some((c) => pe(c == null ? void 0 : c.query, s == null ? void 0 : s.query)), T = this.multiTags.some((c) => pe(c == null ? void 0 : c.params, s == null ? void 0 : s.params));
|
|
1668
|
-
if (p && E && T) return;
|
|
1669
|
-
const w = ((m = s == null ? void 0 : s.meta) == null ? void 0 : m.dynamicLevel) ?? -1;
|
|
1670
|
-
if (w > 0 && this.multiTags.filter((c) => (c == null ? void 0 : c.path) === d).length >= w) {
|
|
1671
|
-
const c = this.multiTags.findIndex((l) => (l == null ? void 0 : l.path) === d);
|
|
1672
|
-
c !== -1 && this.multiTags.splice(c, 1);
|
|
1673
|
-
}
|
|
1674
|
-
this.multiTags.push(t), this.tagsCache(this.multiTags);
|
|
1675
|
-
}
|
|
1676
|
-
break;
|
|
1677
|
-
case "splice":
|
|
1678
|
-
if (o)
|
|
1679
|
-
this.multiTags.splice(o == null ? void 0 : o.startIndex, o == null ? void 0 : o.length);
|
|
1680
|
-
else {
|
|
1681
|
-
const s = this.multiTags.findIndex((d) => d.path === t);
|
|
1682
|
-
if (s === -1) return;
|
|
1683
|
-
this.multiTags.splice(s, 1);
|
|
1684
|
-
}
|
|
1685
|
-
return this.tagsCache(this.multiTags), this.multiTags;
|
|
1686
|
-
case "slice":
|
|
1687
|
-
return this.multiTags.slice(-1);
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
});
|
|
1692
|
-
function x() {
|
|
1693
|
-
return oo(q);
|
|
1694
|
-
}
|
|
1695
|
-
const no = () => import("./layoutView-BBQB8pDc.js"), ao = {
|
|
1696
|
-
path: "/",
|
|
1697
|
-
name: "home",
|
|
1698
|
-
component: no,
|
|
1699
|
-
redirect: "/welcome",
|
|
1700
|
-
meta: {
|
|
1701
|
-
icon: "home-filled",
|
|
1702
|
-
title: "message.udp.home",
|
|
1703
|
-
rank: 0
|
|
1704
|
-
},
|
|
1705
|
-
children: [
|
|
1706
|
-
{
|
|
1707
|
-
path: "/welcome",
|
|
1708
|
-
name: "SuHome",
|
|
1709
|
-
component: () => import("./su-welcome-C0flTYCx.js"),
|
|
1710
|
-
meta: {
|
|
1711
|
-
title: "message.udp.home",
|
|
1712
|
-
keepAlive: !0
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
]
|
|
1716
|
-
}, ro = () => import("./layoutView-BBQB8pDc.js"), so = {
|
|
1717
|
-
path: "/error",
|
|
1718
|
-
name: "error",
|
|
1719
|
-
component: ro,
|
|
1720
|
-
redirect: "/error/403",
|
|
1721
|
-
meta: {
|
|
1722
|
-
showLink: !1,
|
|
1723
|
-
icon: "information-line",
|
|
1724
|
-
title: "message.udp.error",
|
|
1725
|
-
rank: 999
|
|
1726
|
-
},
|
|
1727
|
-
children: [
|
|
1728
|
-
{
|
|
1729
|
-
path: "/error/403",
|
|
1730
|
-
name: "403",
|
|
1731
|
-
component: () => import("./403-CT4J-t-o.js"),
|
|
1732
|
-
meta: {
|
|
1733
|
-
title: "message.udp.fourZeroThree"
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
]
|
|
1737
|
-
}, io = () => import("./layoutView-BBQB8pDc.js"), O = [
|
|
1738
|
-
{
|
|
1739
|
-
path: "/login",
|
|
1740
|
-
name: "login",
|
|
1741
|
-
component: () => import("./login-DIG7pRU7.js"),
|
|
1742
|
-
meta: {
|
|
1743
|
-
title: "message.udp.login",
|
|
1744
|
-
showLink: !1
|
|
1745
|
-
}
|
|
1746
|
-
},
|
|
1747
|
-
{
|
|
1748
|
-
path: "/error/404",
|
|
1749
|
-
name: "404",
|
|
1750
|
-
component: () => import("./404-BAudfnaK.js"),
|
|
1751
|
-
meta: {
|
|
1752
|
-
title: "message.udp.fourZeroFour",
|
|
1753
|
-
showLink: !1
|
|
1754
|
-
}
|
|
1755
|
-
},
|
|
1756
|
-
{
|
|
1757
|
-
path: "/error/500",
|
|
1758
|
-
name: "500",
|
|
1759
|
-
component: () => import("./500-BlOGtpEE.js"),
|
|
1760
|
-
meta: {
|
|
1761
|
-
title: "message.udp.five",
|
|
1762
|
-
showLink: !1
|
|
1763
|
-
}
|
|
1764
|
-
},
|
|
1765
|
-
{
|
|
1766
|
-
path: "/redirect",
|
|
1767
|
-
name: "redirect",
|
|
1768
|
-
component: io,
|
|
1769
|
-
meta: {
|
|
1770
|
-
icon: "home-filled",
|
|
1771
|
-
title: "message.udp.home",
|
|
1772
|
-
showLink: !1,
|
|
1773
|
-
rank: 104
|
|
1774
|
-
},
|
|
1775
|
-
children: [
|
|
1776
|
-
{
|
|
1777
|
-
path: "/redirect/:path(.*)",
|
|
1778
|
-
// 2024-12-17
|
|
1779
|
-
name: "redirectView",
|
|
1780
|
-
component: () => import("./redirect-BqegffKC.js")
|
|
1781
|
-
}
|
|
1782
|
-
]
|
|
1783
|
-
}
|
|
1784
|
-
], uo = /* @__PURE__ */ Object.assign({
|
|
1785
|
-
"../views/organization/company/Company.vue": () => import("./Company-CIj9XgQn.js"),
|
|
1786
|
-
"../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-CublK5NN.js"),
|
|
1787
|
-
"../views/organization/department/Department.vue": () => import("./Department-BolPW-W3.js"),
|
|
1788
|
-
"../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-BttxSHfM.js"),
|
|
1789
|
-
"../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-CaAk_f7F.js"),
|
|
1790
|
-
"../views/organization/org/Org.vue": () => import("./Org-CreIihFE.js"),
|
|
1791
|
-
"../views/organization/staff/Staff.vue": () => import("./Staff-Bha-Ijax.js"),
|
|
1792
|
-
"../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-CbfYI8UW.js"),
|
|
1793
|
-
"../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-B8094e97.js"),
|
|
1794
|
-
"../views/system/cron/cron-task.vue": () => import("./cron-task-DcmGSr2D.js"),
|
|
1795
|
-
"../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-BeBNiwqc.js"),
|
|
1796
|
-
"../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-Dz8Pllh5.js"),
|
|
1797
|
-
"../views/system/menu/menuInfo.vue": () => import("./menuInfo-CPHjl7id.js"),
|
|
1798
|
-
"../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-WRk90VO2.js"),
|
|
1799
|
-
"../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-DhP0_5ur.js"),
|
|
1800
|
-
"../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-Bl03tEhF.js"),
|
|
1801
|
-
"../views/system/role/Role.vue": () => import("./Role-sfmwLiNM.js"),
|
|
1802
|
-
"../views/system/role/RolePanel.vue": () => import("./RolePanel-iWysS02n.js"),
|
|
1803
|
-
"../views/system/role/UserInfo.vue": () => import("./UserInfo-ecAJA2Yg.js"),
|
|
1804
|
-
"../views/system/sys/sys-config.vue": () => import("./sys-config-CXzGs3Nl.js"),
|
|
1805
|
-
"../views/system/sysUser/SysUser.vue": () => import("./SysUser-D1J9vPnb.js"),
|
|
1806
|
-
"../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-DGDPKKoY.js"),
|
|
1807
|
-
"../views/uapp/pda/pda-app.vue": () => import("./pda-app-BLjbMcdt.js"),
|
|
1808
|
-
"../views/udev/coderule/code-rule.vue": () => import("./code-rule-B667R66s.js"),
|
|
1809
|
-
"../views/udev/dict/DictView.vue": () => import("./DictView-D85ziNV2.js"),
|
|
1810
|
-
"../views/udev/dict/childView.vue": () => import("./childView-4uI_RT2m.js"),
|
|
1811
|
-
"../views/udev/lov/childView.vue": () => import("./childView-OXXoMFg3.js"),
|
|
1812
|
-
"../views/udev/lov/lov-view.vue": () => import("./lov-view-CSIPKZSY.js"),
|
|
1813
|
-
"../views/upms/interface/log-in.vue": () => import("./log-in-e7D5Ss1P.js"),
|
|
1814
|
-
"../views/upms/interface/log-out.vue": () => import("./log-out--RRncZhN.js"),
|
|
1815
|
-
"../views/upms/user/login-log.vue": () => import("./login-log-CvVnyGi3.js"),
|
|
1816
|
-
"../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-DT-rGICv.js"),
|
|
1817
|
-
"../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-BwCbn92O.js"),
|
|
1818
|
-
"../views/urpt/design/Preview.vue": () => import("./Preview-DMGbhV6q.js"),
|
|
1819
|
-
"../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-CdSsJJeA.js"),
|
|
1820
|
-
"../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-DPvKqeUm.js"),
|
|
1821
|
-
"../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-UokkfBx_.js"),
|
|
1822
|
-
"../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-DogZwa8T.js"),
|
|
1823
|
-
"../views/urpt/static-resource/resource.vue": () => import("./resource-MxqaSJqB.js"),
|
|
1824
|
-
"../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-DCnmllXW.js")
|
|
1825
|
-
}), Pn = O, ae = [ao, so], An = qe(
|
|
1826
|
-
H(Z(L(ae)))
|
|
1827
|
-
), lo = L(ae).concat(...O), Rn = Object.keys(O).map((e) => O[e].path);
|
|
1828
|
-
function On() {
|
|
1829
|
-
h.getRoutes().forEach((e) => {
|
|
1830
|
-
const { name: t, meta: o } = e;
|
|
1831
|
-
t && h.hasRoute(t) && (o != null && o.backstage) && (h.removeRoute(t), h.options.routes = qe(
|
|
1832
|
-
H(Z(L(ae)))
|
|
1833
|
-
));
|
|
1834
|
-
}), f().clearAllCachePage();
|
|
1835
|
-
}
|
|
1836
|
-
let G = null, h = null;
|
|
1837
|
-
function co(e, t) {
|
|
1838
|
-
G = e, h = t, Object.assign(G, uo);
|
|
1839
|
-
}
|
|
1840
|
-
function mo() {
|
|
1841
|
-
return G;
|
|
1842
|
-
}
|
|
1843
|
-
const po = ["/login"], Ln = (e, t, o) => {
|
|
1844
|
-
var i, u, m;
|
|
1845
|
-
const n = Le.get(Et), a = Me(e == null ? void 0 : e.name);
|
|
1846
|
-
function r() {
|
|
1847
|
-
po.includes(e.fullPath) ? o(t.fullPath) : o();
|
|
1848
|
-
}
|
|
1849
|
-
if (t != null && t.name && (t == null ? void 0 : t.name) !== "login") {
|
|
1850
|
-
const s = (i = e.matched.find(
|
|
1851
|
-
(d) => d.path === e.path || d.name === e.name && e.params
|
|
1852
|
-
)) == null ? void 0 : i.components;
|
|
1853
|
-
a ? (nt(e == null ? void 0 : e.name), (u = at) == null || u.done()) : s != null && s.default || e.name === "redirect" ? r() : o({ path: "/error/404" });
|
|
1854
|
-
} else
|
|
1855
|
-
f().wholeMenus.length === 0 && Xt(n).then((s) => {
|
|
1856
|
-
var d;
|
|
1857
|
-
if (!x().getMultiTagsCache) {
|
|
1858
|
-
const { path: p } = e, T = lt(O, (c) => c.path === p) === -1 ? s.options.routes[0].children : s.options.routes, w = $e(p, T);
|
|
1859
|
-
if (w && ((d = w.meta) != null && d.title)) {
|
|
1860
|
-
const { path: c, name: l, meta: I } = w;
|
|
1861
|
-
x().handleTags("push", { path: c, name: l, meta: I });
|
|
1862
|
-
}
|
|
1863
|
-
}
|
|
1864
|
-
ct(e.name) && s.push(e.fullPath);
|
|
1865
|
-
}), t.fullPath === "/" && e.fullPath === "/login" && !((m = e.query) != null && m.tokenExpire) ? (e.path = "/welcome", e.fullPath = "/welcome", e.name = "SuHome") : t.fullPath === "/" && e.path === "/workflow/approve/index" && (e.path = "/welcome", e.fullPath = "/welcome", e.name = "SuHome", e.query = {}), r();
|
|
1866
|
-
};
|
|
1867
|
-
rt(Be, { serviceApi: $(), i18n: Ht });
|
|
1868
|
-
const ho = {
|
|
1869
|
-
// 对组件内置的提示语进行国际化翻译
|
|
1870
|
-
// @ts-ignore
|
|
1871
|
-
i18n: (e, t) => B().global.t(e, t),
|
|
1872
|
-
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
1873
|
-
translate(e) {
|
|
1874
|
-
return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? B().global.t.call(B().global.locale, e) : e;
|
|
1875
|
-
}
|
|
1876
|
-
};
|
|
1877
|
-
function go(e = {}) {
|
|
1878
|
-
Be.setConfig(X(ho, e)), te.interceptor.add("event.clearEdit", {
|
|
1879
|
-
tableInterceptorMethod(t) {
|
|
1880
|
-
const { $event: o } = t;
|
|
1881
|
-
if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
|
|
1882
|
-
}
|
|
1883
|
-
});
|
|
1884
|
-
}
|
|
1885
|
-
function Mn(e) {
|
|
1886
|
-
te.setTheme(e);
|
|
1887
|
-
}
|
|
1888
|
-
var re = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, yo = Object.getOwnPropertyNames, wo = Object.prototype.hasOwnProperty, bo = (e, t, o) => t in e ? re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, vo = (e, t) => {
|
|
1889
|
-
for (var o in t) re(e, o, { get: t[o], enumerable: !0 });
|
|
1890
|
-
}, Co = (e, t, o, n) => {
|
|
1891
|
-
if (t && typeof t == "object" || typeof t == "function") for (let a of yo(t)) !wo.call(e, a) && a !== o && re(e, a, { get: () => t[a], enumerable: !(n = fo(t, a)) || n.enumerable });
|
|
1892
|
-
return e;
|
|
1893
|
-
}, Eo = (e, t, o) => (Co(e, t, "default"), o), Te = (e, t, o) => (bo(e, typeof t != "symbol" ? t + "" : t, o), o), se = {};
|
|
1894
|
-
vo(se, { Vue: () => Re });
|
|
1895
|
-
Eo(se, Re);
|
|
1896
|
-
var U = class {
|
|
1897
|
-
static install(e, t) {
|
|
1898
|
-
let { nameSpace: o = this._nameSpace, memory: n } = t;
|
|
1899
|
-
return n && this.clearAll(o, n), new U(e, t);
|
|
1900
|
-
}
|
|
1901
|
-
static clearAll(e, t) {
|
|
1902
|
-
Object.keys(t).forEach((o) => {
|
|
1903
|
-
let n = e + o;
|
|
1904
|
-
Object.prototype.hasOwnProperty.call(window.localStorage, n) && window.localStorage.removeItem(n);
|
|
1905
|
-
});
|
|
1906
|
-
}
|
|
1907
|
-
static get(e) {
|
|
1908
|
-
return JSON.parse(window.localStorage.getItem(e));
|
|
1909
|
-
}
|
|
1910
|
-
static set(e, t) {
|
|
1911
|
-
t = typeof t == "object" ? JSON.stringify(t) : t, window.localStorage.setItem(e, t);
|
|
1912
|
-
}
|
|
1913
|
-
static getData(e, t) {
|
|
1914
|
-
if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
|
|
1915
|
-
}
|
|
1916
|
-
constructor(e, t) {
|
|
1917
|
-
let o = U, { version: n = 3, nameSpace: a = o._nameSpace, memory: r } = t, i = (s) => a + s, u = n === 3 ? (0, se.reactive)(r) : r;
|
|
1918
|
-
Object.keys(u).length === 0 && console.warn("key cannot be empty"), Object.keys(u).forEach((s) => {
|
|
1919
|
-
let d = u[s];
|
|
1920
|
-
o.set(i(s), d), Reflect.defineProperty(u, s, { get: () => o.get(i(s)), set: (p) => o.set(i(s), p), configurable: !0 }), n === 2 && e.util.defineReactive(u, s, u[s]);
|
|
1921
|
-
});
|
|
1922
|
-
let m = n === 3 ? e.config.globalProperties : e.prototype;
|
|
1923
|
-
Reflect.defineProperty(m, "$storage", { get: () => u });
|
|
1924
|
-
}
|
|
1925
|
-
}, D = U;
|
|
1926
|
-
Te(D, "_nameSpace", "rs-"), Te(D, "_getStaticKey", (e, t) => `${e ?? U._nameSpace}${t}`);
|
|
1927
|
-
const To = (e, t) => {
|
|
1928
|
-
const o = F(), n = Object.assign(
|
|
1929
|
-
{
|
|
1930
|
-
// 国际化 默认中文zh
|
|
1931
|
-
locale: D.getData("locale", o) ?? {
|
|
1932
|
-
locale: t.Locale ?? "zh"
|
|
1933
|
-
},
|
|
1934
|
-
// layout模式以及主题
|
|
1935
|
-
layout: D.getData("layout", o) ?? {
|
|
1936
|
-
layout: t.Layout ?? "vertical",
|
|
1937
|
-
theme: t.Theme ?? "default",
|
|
1938
|
-
darkMode: t.DarkMode ?? !1,
|
|
1939
|
-
sidebarStatus: t.SidebarStatus ?? !0,
|
|
1940
|
-
epThemeColor: t.EpThemeColor ?? "#409EFF",
|
|
1941
|
-
themeColor: t.Theme ?? "light",
|
|
1942
|
-
// 主题色(对应项目配置中的主题色,与theme不同的是它不会受到浅色、深色整体风格切换的影响,只会在手动点击主题色时改变)
|
|
1943
|
-
overallStyle: t.OverallStyle ?? "light"
|
|
1944
|
-
// 整体风格(浅色:light、深色:dark、自动:system)
|
|
1945
|
-
},
|
|
1946
|
-
configure: D.getData("configure", o) ?? {
|
|
1947
|
-
grey: t.Grey ?? !1,
|
|
1948
|
-
weak: t.Weak ?? !1,
|
|
1949
|
-
hideTabs: t.HideTabs ?? !1,
|
|
1950
|
-
showLogo: t.ShowLogo ?? !0,
|
|
1951
|
-
showModel: t.ShowModel ?? "smart",
|
|
1952
|
-
multiTagsCache: t.MultiTagsCache ?? !1
|
|
1953
|
-
},
|
|
1954
|
-
cnd: D.getData("cnd", o) ?? {}
|
|
1955
|
-
},
|
|
1956
|
-
t.MultiTagsCache ? {
|
|
1957
|
-
// 默认显示首页tag
|
|
1958
|
-
tags: D.getData("tags", o) ?? ne
|
|
1959
|
-
} : {}
|
|
1960
|
-
);
|
|
1961
|
-
e.use(D, { nameSpace: o, memory: n });
|
|
1962
|
-
}, So = (e) => {
|
|
1963
|
-
var a;
|
|
1964
|
-
if (!e) return !0;
|
|
1965
|
-
const t = (a = h.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
|
|
1966
|
-
if (!t) return !0;
|
|
1967
|
-
mt(e) || (e = [e]);
|
|
1968
|
-
const o = f().getButtonAuth;
|
|
1969
|
-
if (!o) return !0;
|
|
1970
|
-
let n = !1;
|
|
1971
|
-
return e.forEach((r) => {
|
|
1972
|
-
if (!n) {
|
|
1973
|
-
const i = `${t}.${r}`;
|
|
1974
|
-
n = o.includes(i);
|
|
1975
|
-
}
|
|
1976
|
-
}), n;
|
|
1977
|
-
}, Ve = Object.freeze(
|
|
1978
|
-
{
|
|
1979
|
-
left: 0,
|
|
1980
|
-
top: 0,
|
|
1981
|
-
width: 16,
|
|
1982
|
-
height: 16
|
|
1983
|
-
}
|
|
1984
|
-
), _ = Object.freeze({
|
|
1985
|
-
rotate: 0,
|
|
1986
|
-
vFlip: !1,
|
|
1987
|
-
hFlip: !1
|
|
1988
|
-
}), ie = Object.freeze({
|
|
1989
|
-
...Ve,
|
|
1990
|
-
..._
|
|
1991
|
-
}), Y = Object.freeze({
|
|
1992
|
-
...ie,
|
|
1993
|
-
body: "",
|
|
1994
|
-
hidden: !1
|
|
1995
|
-
});
|
|
1996
|
-
function Fo(e, t) {
|
|
1997
|
-
const o = {};
|
|
1998
|
-
!e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
|
|
1999
|
-
const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2000
|
-
return n && (o.rotate = n), o;
|
|
2001
|
-
}
|
|
2002
|
-
function Se(e, t) {
|
|
2003
|
-
const o = Fo(e, t);
|
|
2004
|
-
for (const n in Y)
|
|
2005
|
-
n in _ ? n in e && !(n in o) && (o[n] = _[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
|
|
2006
|
-
return o;
|
|
2007
|
-
}
|
|
2008
|
-
function Do(e, t) {
|
|
2009
|
-
const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
|
|
2010
|
-
function r(i) {
|
|
2011
|
-
if (o[i])
|
|
2012
|
-
return a[i] = [];
|
|
2013
|
-
if (!(i in a)) {
|
|
2014
|
-
a[i] = null;
|
|
2015
|
-
const u = n[i] && n[i].parent, m = u && r(u);
|
|
2016
|
-
m && (a[i] = [u].concat(m));
|
|
2017
|
-
}
|
|
2018
|
-
return a[i];
|
|
2019
|
-
}
|
|
2020
|
-
return Object.keys(o).concat(Object.keys(n)).forEach(r), a;
|
|
2021
|
-
}
|
|
2022
|
-
function ko(e, t, o) {
|
|
2023
|
-
const n = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
2024
|
-
let r = {};
|
|
2025
|
-
function i(u) {
|
|
2026
|
-
r = Se(
|
|
2027
|
-
n[u] || a[u],
|
|
2028
|
-
r
|
|
2029
|
-
);
|
|
2030
|
-
}
|
|
2031
|
-
return i(t), o.forEach(i), Se(e, r);
|
|
2032
|
-
}
|
|
2033
|
-
function xo(e, t) {
|
|
2034
|
-
const o = [];
|
|
2035
|
-
if (typeof e != "object" || typeof e.icons != "object")
|
|
2036
|
-
return o;
|
|
2037
|
-
e.not_found instanceof Array && e.not_found.forEach((a) => {
|
|
2038
|
-
t(a, null), o.push(a);
|
|
2039
|
-
});
|
|
2040
|
-
const n = Do(e);
|
|
2041
|
-
for (const a in n) {
|
|
2042
|
-
const r = n[a];
|
|
2043
|
-
r && (t(a, ko(e, a, r)), o.push(a));
|
|
2044
|
-
}
|
|
2045
|
-
return o;
|
|
2046
|
-
}
|
|
2047
|
-
const Io = {
|
|
2048
|
-
provider: "",
|
|
2049
|
-
aliases: {},
|
|
2050
|
-
not_found: {},
|
|
2051
|
-
...Ve
|
|
2052
|
-
};
|
|
2053
|
-
function J(e, t) {
|
|
2054
|
-
for (const o in t)
|
|
2055
|
-
if (o in e && typeof e[o] != typeof t[o])
|
|
2056
|
-
return !1;
|
|
2057
|
-
return !0;
|
|
2058
|
-
}
|
|
2059
|
-
function No(e) {
|
|
2060
|
-
if (typeof e != "object" || e === null)
|
|
2061
|
-
return null;
|
|
2062
|
-
const t = e;
|
|
2063
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !J(e, Io))
|
|
2064
|
-
return null;
|
|
2065
|
-
const o = t.icons;
|
|
2066
|
-
for (const a in o) {
|
|
2067
|
-
const r = o[a];
|
|
2068
|
-
if (
|
|
2069
|
-
// Name cannot be empty
|
|
2070
|
-
!a || // Must have body
|
|
2071
|
-
typeof r.body != "string" || // Check other props
|
|
2072
|
-
!J(
|
|
2073
|
-
r,
|
|
2074
|
-
Y
|
|
2075
|
-
)
|
|
2076
|
-
)
|
|
2077
|
-
return null;
|
|
2078
|
-
}
|
|
2079
|
-
const n = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
2080
|
-
for (const a in n) {
|
|
2081
|
-
const r = n[a], i = r.parent;
|
|
2082
|
-
if (
|
|
2083
|
-
// Name cannot be empty
|
|
2084
|
-
!a || // Parent must be set and point to existing icon
|
|
2085
|
-
typeof i != "string" || !o[i] && !n[i] || // Check other props
|
|
2086
|
-
!J(
|
|
2087
|
-
r,
|
|
2088
|
-
Y
|
|
2089
|
-
)
|
|
2090
|
-
)
|
|
2091
|
-
return null;
|
|
2092
|
-
}
|
|
2093
|
-
return t;
|
|
2094
|
-
}
|
|
2095
|
-
const Je = Object.freeze({
|
|
2096
|
-
width: null,
|
|
2097
|
-
height: null
|
|
2098
|
-
}), Ke = Object.freeze({
|
|
2099
|
-
// Dimensions
|
|
2100
|
-
...Je,
|
|
2101
|
-
// Transformations
|
|
2102
|
-
..._
|
|
2103
|
-
});
|
|
2104
|
-
function Po(e, t) {
|
|
2105
|
-
const o = {
|
|
2106
|
-
...e
|
|
2107
|
-
};
|
|
2108
|
-
for (const n in t) {
|
|
2109
|
-
const a = t[n], r = typeof a;
|
|
2110
|
-
n in Je ? (a === null || a && (r === "string" || r === "number")) && (o[n] = a) : r === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : a);
|
|
2111
|
-
}
|
|
2112
|
-
return o;
|
|
2113
|
-
}
|
|
2114
|
-
const Ao = /[\s,]+/;
|
|
2115
|
-
function Ro(e, t) {
|
|
2116
|
-
t.split(Ao).forEach((o) => {
|
|
2117
|
-
switch (o.trim()) {
|
|
2118
|
-
case "horizontal":
|
|
2119
|
-
e.hFlip = !0;
|
|
2120
|
-
break;
|
|
2121
|
-
case "vertical":
|
|
2122
|
-
e.vFlip = !0;
|
|
2123
|
-
break;
|
|
2124
|
-
}
|
|
2125
|
-
});
|
|
2126
|
-
}
|
|
2127
|
-
function Oo(e, t = 0) {
|
|
2128
|
-
const o = e.replace(/^-?[0-9.]*/, "");
|
|
2129
|
-
function n(a) {
|
|
2130
|
-
for (; a < 0; )
|
|
2131
|
-
a += 4;
|
|
2132
|
-
return a % 4;
|
|
2133
|
-
}
|
|
2134
|
-
if (o === "") {
|
|
2135
|
-
const a = parseInt(e);
|
|
2136
|
-
return isNaN(a) ? 0 : n(a);
|
|
2137
|
-
} else if (o !== e) {
|
|
2138
|
-
let a = 0;
|
|
2139
|
-
switch (o) {
|
|
2140
|
-
case "%":
|
|
2141
|
-
a = 25;
|
|
2142
|
-
break;
|
|
2143
|
-
case "deg":
|
|
2144
|
-
a = 90;
|
|
2145
|
-
}
|
|
2146
|
-
if (a) {
|
|
2147
|
-
let r = parseFloat(e.slice(0, e.length - o.length));
|
|
2148
|
-
return isNaN(r) ? 0 : (r = r / a, r % 1 === 0 ? n(r) : 0);
|
|
2149
|
-
}
|
|
2150
|
-
}
|
|
2151
|
-
return t;
|
|
2152
|
-
}
|
|
2153
|
-
const Lo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Mo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2154
|
-
function Fe(e, t, o) {
|
|
2155
|
-
if (t === 1)
|
|
2156
|
-
return e;
|
|
2157
|
-
if (o = o || 100, typeof e == "number")
|
|
2158
|
-
return Math.ceil(e * t * o) / o;
|
|
2159
|
-
if (typeof e != "string")
|
|
2160
|
-
return e;
|
|
2161
|
-
const n = e.split(Lo);
|
|
2162
|
-
if (n === null || !n.length)
|
|
2163
|
-
return e;
|
|
2164
|
-
const a = [];
|
|
2165
|
-
let r = n.shift(), i = Mo.test(r);
|
|
2166
|
-
for (; ; ) {
|
|
2167
|
-
if (i) {
|
|
2168
|
-
const u = parseFloat(r);
|
|
2169
|
-
isNaN(u) ? a.push(r) : a.push(Math.ceil(u * t * o) / o);
|
|
2170
|
-
} else
|
|
2171
|
-
a.push(r);
|
|
2172
|
-
if (r = n.shift(), r === void 0)
|
|
2173
|
-
return a.join("");
|
|
2174
|
-
i = !i;
|
|
2175
|
-
}
|
|
2176
|
-
}
|
|
2177
|
-
function Bo(e, t = "defs") {
|
|
2178
|
-
let o = "";
|
|
2179
|
-
const n = e.indexOf("<" + t);
|
|
2180
|
-
for (; n >= 0; ) {
|
|
2181
|
-
const a = e.indexOf(">", n), r = e.indexOf("</" + t);
|
|
2182
|
-
if (a === -1 || r === -1)
|
|
2183
|
-
break;
|
|
2184
|
-
const i = e.indexOf(">", r);
|
|
2185
|
-
if (i === -1)
|
|
2186
|
-
break;
|
|
2187
|
-
o += e.slice(a + 1, r).trim(), e = e.slice(0, n).trim() + e.slice(i + 1);
|
|
2188
|
-
}
|
|
2189
|
-
return {
|
|
2190
|
-
defs: o,
|
|
2191
|
-
content: e
|
|
2192
|
-
};
|
|
2193
|
-
}
|
|
2194
|
-
function zo(e, t) {
|
|
2195
|
-
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2196
|
-
}
|
|
2197
|
-
function jo(e, t, o) {
|
|
2198
|
-
const n = Bo(e);
|
|
2199
|
-
return zo(n.defs, t + n.content + o);
|
|
2200
|
-
}
|
|
2201
|
-
const Uo = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2202
|
-
function _o(e, t) {
|
|
2203
|
-
const o = {
|
|
2204
|
-
...ie,
|
|
2205
|
-
...e
|
|
2206
|
-
}, n = {
|
|
2207
|
-
...Ke,
|
|
2208
|
-
...t
|
|
2209
|
-
}, a = {
|
|
2210
|
-
left: o.left,
|
|
2211
|
-
top: o.top,
|
|
2212
|
-
width: o.width,
|
|
2213
|
-
height: o.height
|
|
2214
|
-
};
|
|
2215
|
-
let r = o.body;
|
|
2216
|
-
[o, n].forEach((c) => {
|
|
2217
|
-
const l = [], I = c.hFlip, le = c.vFlip;
|
|
2218
|
-
let S = c.rotate;
|
|
2219
|
-
I ? le ? S += 2 : (l.push(
|
|
2220
|
-
"translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
|
|
2221
|
-
), l.push("scale(-1 1)"), a.top = a.left = 0) : le && (l.push(
|
|
2222
|
-
"translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
|
|
2223
|
-
), l.push("scale(1 -1)"), a.top = a.left = 0);
|
|
2224
|
-
let b;
|
|
2225
|
-
switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
|
|
2226
|
-
case 1:
|
|
2227
|
-
b = a.height / 2 + a.top, l.unshift(
|
|
2228
|
-
"rotate(90 " + b.toString() + " " + b.toString() + ")"
|
|
2229
|
-
);
|
|
2230
|
-
break;
|
|
2231
|
-
case 2:
|
|
2232
|
-
l.unshift(
|
|
2233
|
-
"rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
|
|
2234
|
-
);
|
|
2235
|
-
break;
|
|
2236
|
-
case 3:
|
|
2237
|
-
b = a.width / 2 + a.left, l.unshift(
|
|
2238
|
-
"rotate(-90 " + b.toString() + " " + b.toString() + ")"
|
|
2239
|
-
);
|
|
2240
|
-
break;
|
|
2241
|
-
}
|
|
2242
|
-
S % 2 === 1 && (a.left !== a.top && (b = a.left, a.left = a.top, a.top = b), a.width !== a.height && (b = a.width, a.width = a.height, a.height = b)), l.length && (r = jo(
|
|
2243
|
-
r,
|
|
2244
|
-
'<g transform="' + l.join(" ") + '">',
|
|
2245
|
-
"</g>"
|
|
2246
|
-
));
|
|
2247
|
-
});
|
|
2248
|
-
const i = n.width, u = n.height, m = a.width, s = a.height;
|
|
2249
|
-
let d, p;
|
|
2250
|
-
i === null ? (p = u === null ? "1em" : u === "auto" ? s : u, d = Fe(p, m / s)) : (d = i === "auto" ? m : i, p = u === null ? Fe(d, s / m) : u === "auto" ? s : u);
|
|
2251
|
-
const E = {}, T = (c, l) => {
|
|
2252
|
-
Uo(l) || (E[c] = l.toString());
|
|
2253
|
-
};
|
|
2254
|
-
T("width", d), T("height", p);
|
|
2255
|
-
const w = [a.left, a.top, m, s];
|
|
2256
|
-
return E.viewBox = w.join(" "), {
|
|
2257
|
-
attributes: E,
|
|
2258
|
-
viewBox: w,
|
|
2259
|
-
body: r
|
|
2260
|
-
};
|
|
2261
|
-
}
|
|
2262
|
-
const $o = /\sid="(\S+)"/g, qo = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
2263
|
-
let Ho = 0;
|
|
2264
|
-
function Vo(e, t = qo) {
|
|
2265
|
-
const o = [];
|
|
2266
|
-
let n;
|
|
2267
|
-
for (; n = $o.exec(e); )
|
|
2268
|
-
o.push(n[1]);
|
|
2269
|
-
if (!o.length)
|
|
2270
|
-
return e;
|
|
2271
|
-
const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2272
|
-
return o.forEach((r) => {
|
|
2273
|
-
const i = typeof t == "function" ? t(r) : t + (Ho++).toString(), u = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2274
|
-
e = e.replace(
|
|
2275
|
-
// Allowed characters before id: [#;"]
|
|
2276
|
-
// Allowed characters after id: [)"], .[a-z]
|
|
2277
|
-
new RegExp('([#;"])(' + u + ')([")]|\\.[a-z])', "g"),
|
|
2278
|
-
"$1" + i + a + "$3"
|
|
2279
|
-
);
|
|
2280
|
-
}), e = e.replace(new RegExp(a, "g"), ""), e;
|
|
2281
|
-
}
|
|
2282
|
-
function Jo(e, t) {
|
|
2283
|
-
let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
2284
|
-
for (const n in t)
|
|
2285
|
-
o += " " + n + '="' + t[n] + '"';
|
|
2286
|
-
return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
|
|
2287
|
-
}
|
|
2288
|
-
function Ko(e) {
|
|
2289
|
-
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2290
|
-
}
|
|
2291
|
-
function Wo(e) {
|
|
2292
|
-
return "data:image/svg+xml," + Ko(e);
|
|
2293
|
-
}
|
|
2294
|
-
function Go(e) {
|
|
2295
|
-
return 'url("' + Wo(e) + '")';
|
|
2296
|
-
}
|
|
2297
|
-
const De = {
|
|
2298
|
-
...Ke,
|
|
2299
|
-
inline: !1
|
|
2300
|
-
}, Yo = {
|
|
2301
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2302
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
2303
|
-
"aria-hidden": !0,
|
|
2304
|
-
role: "img"
|
|
2305
|
-
}, Qo = {
|
|
2306
|
-
display: "inline-block"
|
|
2307
|
-
}, Q = {
|
|
2308
|
-
backgroundColor: "currentColor"
|
|
2309
|
-
}, We = {
|
|
2310
|
-
backgroundColor: "transparent"
|
|
2311
|
-
}, ke = {
|
|
2312
|
-
Image: "var(--svg)",
|
|
2313
|
-
Repeat: "no-repeat",
|
|
2314
|
-
Size: "100% 100%"
|
|
2315
|
-
}, xe = {
|
|
2316
|
-
webkitMask: Q,
|
|
2317
|
-
mask: Q,
|
|
2318
|
-
background: We
|
|
2319
|
-
};
|
|
2320
|
-
for (const e in xe) {
|
|
2321
|
-
const t = xe[e];
|
|
2322
|
-
for (const o in ke)
|
|
2323
|
-
t[e + o] = ke[o];
|
|
2324
|
-
}
|
|
2325
|
-
const j = {};
|
|
2326
|
-
["horizontal", "vertical"].forEach((e) => {
|
|
2327
|
-
const t = e.slice(0, 1) + "Flip";
|
|
2328
|
-
j[e + "-flip"] = t, j[e.slice(0, 1) + "-flip"] = t, j[e + "Flip"] = t;
|
|
2329
|
-
});
|
|
2330
|
-
function Ie(e) {
|
|
2331
|
-
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2332
|
-
}
|
|
2333
|
-
const Zo = (e, t) => {
|
|
2334
|
-
const o = Po(De, t), n = { ...Yo }, a = t.mode || "svg", r = {}, i = t.style, u = typeof i == "object" && !(i instanceof Array) ? i : {};
|
|
2335
|
-
for (let c in t) {
|
|
2336
|
-
const l = t[c];
|
|
2337
|
-
if (l !== void 0)
|
|
2338
|
-
switch (c) {
|
|
2339
|
-
// Properties to ignore
|
|
2340
|
-
case "icon":
|
|
2341
|
-
case "style":
|
|
2342
|
-
case "onLoad":
|
|
2343
|
-
case "mode":
|
|
2344
|
-
case "ssr":
|
|
2345
|
-
break;
|
|
2346
|
-
// Boolean attributes
|
|
2347
|
-
case "inline":
|
|
2348
|
-
case "hFlip":
|
|
2349
|
-
case "vFlip":
|
|
2350
|
-
o[c] = l === !0 || l === "true" || l === 1;
|
|
2351
|
-
break;
|
|
2352
|
-
// Flip as string: 'horizontal,vertical'
|
|
2353
|
-
case "flip":
|
|
2354
|
-
typeof l == "string" && Ro(o, l);
|
|
2355
|
-
break;
|
|
2356
|
-
// Color: override style
|
|
2357
|
-
case "color":
|
|
2358
|
-
r.color = l;
|
|
2359
|
-
break;
|
|
2360
|
-
// Rotation as string
|
|
2361
|
-
case "rotate":
|
|
2362
|
-
typeof l == "string" ? o[c] = Oo(l) : typeof l == "number" && (o[c] = l);
|
|
2363
|
-
break;
|
|
2364
|
-
// Remove aria-hidden
|
|
2365
|
-
case "ariaHidden":
|
|
2366
|
-
case "aria-hidden":
|
|
2367
|
-
l !== !0 && l !== "true" && delete n["aria-hidden"];
|
|
2368
|
-
break;
|
|
2369
|
-
default: {
|
|
2370
|
-
const I = j[c];
|
|
2371
|
-
I ? (l === !0 || l === "true" || l === 1) && (o[I] = !0) : De[c] === void 0 && (n[c] = l);
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
}
|
|
2375
|
-
const m = _o(e, o), s = m.attributes;
|
|
2376
|
-
if (o.inline && (r.verticalAlign = "-0.125em"), a === "svg") {
|
|
2377
|
-
n.style = {
|
|
2378
|
-
...r,
|
|
2379
|
-
...u
|
|
2380
|
-
}, Object.assign(n, s);
|
|
2381
|
-
let c = 0, l = t.id;
|
|
2382
|
-
return typeof l == "string" && (l = l.replace(/-/g, "_")), n.innerHTML = Vo(m.body, l ? () => l + "ID" + c++ : "iconifyVue"), k("svg", n);
|
|
2383
|
-
}
|
|
2384
|
-
const { body: d, width: p, height: E } = e, T = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), w = Jo(d, {
|
|
2385
|
-
...s,
|
|
2386
|
-
width: p + "",
|
|
2387
|
-
height: E + ""
|
|
2388
|
-
});
|
|
2389
|
-
return n.style = {
|
|
2390
|
-
...r,
|
|
2391
|
-
"--svg": Go(w),
|
|
2392
|
-
width: Ie(s.width),
|
|
2393
|
-
height: Ie(s.height),
|
|
2394
|
-
...Qo,
|
|
2395
|
-
...T ? Q : We,
|
|
2396
|
-
...u
|
|
2397
|
-
}, k("span", n);
|
|
2398
|
-
}, ue = /* @__PURE__ */ Object.create(null);
|
|
2399
|
-
function Xo(e, t) {
|
|
2400
|
-
ue[e] = t;
|
|
2401
|
-
}
|
|
2402
|
-
function Bn(e, t) {
|
|
2403
|
-
const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
2404
|
-
No(e) && xo(e, (n, a) => {
|
|
2405
|
-
a && (ue[o + n] = a);
|
|
2406
|
-
});
|
|
2407
|
-
}
|
|
2408
|
-
const Ne = A({
|
|
2409
|
-
// Do not inherit other attributes: it is handled by render()
|
|
2410
|
-
inheritAttrs: !1,
|
|
2411
|
-
// Render icon
|
|
2412
|
-
render() {
|
|
2413
|
-
const e = this.$attrs, t = e.icon, o = typeof t == "string" ? ue[t] : typeof t == "object" ? t : null;
|
|
2414
|
-
return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : Zo({
|
|
2415
|
-
...ie,
|
|
2416
|
-
...o
|
|
2417
|
-
}, e);
|
|
2418
|
-
}
|
|
2419
|
-
}), en = A({
|
|
2420
|
-
name: "IconOffline",
|
|
2421
|
-
components: { IconifyIcon: Ne },
|
|
2422
|
-
props: {
|
|
2423
|
-
icon: {
|
|
2424
|
-
default: null
|
|
2425
|
-
}
|
|
2426
|
-
},
|
|
2427
|
-
render() {
|
|
2428
|
-
typeof this.icon == "object" && Xo(this.icon, this.icon);
|
|
2429
|
-
const e = this.$attrs;
|
|
2430
|
-
return k(
|
|
2431
|
-
Ne,
|
|
2432
|
-
{
|
|
2433
|
-
icon: this.icon,
|
|
2434
|
-
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
2435
|
-
...e
|
|
2436
|
-
},
|
|
2437
|
-
{
|
|
2438
|
-
default: () => []
|
|
2439
|
-
}
|
|
2440
|
-
);
|
|
2441
|
-
}
|
|
2442
|
-
});
|
|
2443
|
-
A({
|
|
2444
|
-
name: "IconifyIconOnline",
|
|
2445
|
-
components: { IconifyIcon: he },
|
|
2446
|
-
props: {
|
|
2447
|
-
icon: {
|
|
2448
|
-
type: String,
|
|
2449
|
-
default: ""
|
|
2450
|
-
}
|
|
2451
|
-
},
|
|
2452
|
-
render() {
|
|
2453
|
-
const e = this.$attrs;
|
|
2454
|
-
return k(
|
|
2455
|
-
he,
|
|
2456
|
-
{
|
|
2457
|
-
icon: `${this.icon}`,
|
|
2458
|
-
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
2459
|
-
...e
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
default: () => []
|
|
2463
|
-
}
|
|
2464
|
-
);
|
|
2465
|
-
}
|
|
2466
|
-
});
|
|
2467
|
-
const tn = A({
|
|
2468
|
-
name: "FontIcon",
|
|
2469
|
-
props: {
|
|
2470
|
-
icon: {
|
|
2471
|
-
type: String,
|
|
2472
|
-
default: ""
|
|
2473
|
-
}
|
|
2474
|
-
},
|
|
2475
|
-
render() {
|
|
2476
|
-
const e = this.$attrs;
|
|
2477
|
-
return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? k(
|
|
2478
|
-
"i",
|
|
2479
|
-
{
|
|
2480
|
-
class: "iconfont",
|
|
2481
|
-
...e
|
|
2482
|
-
},
|
|
2483
|
-
this.icon
|
|
2484
|
-
) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? k(
|
|
2485
|
-
"svg",
|
|
2486
|
-
{
|
|
2487
|
-
class: "icon-svg",
|
|
2488
|
-
"aria-hidden": !0
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
default: () => [
|
|
2492
|
-
k("use", {
|
|
2493
|
-
"xlink:href": `#${this.icon}`
|
|
2494
|
-
})
|
|
2495
|
-
]
|
|
2496
|
-
}
|
|
2497
|
-
) : k("i", {
|
|
2498
|
-
class: `iconfont ${this.icon}`,
|
|
2499
|
-
...e
|
|
2500
|
-
});
|
|
2501
|
-
}
|
|
2502
|
-
}), on = en, nn = tn, an = {
|
|
2503
|
-
mounted(e, t) {
|
|
2504
|
-
var n;
|
|
2505
|
-
const { value: o } = t;
|
|
2506
|
-
if (o) {
|
|
2507
|
-
const r = `${(n = h.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
|
|
2508
|
-
f().getButtonAuth.includes(r) || e.parentNode.removeChild(e);
|
|
2509
|
-
} else
|
|
2510
|
-
throw new Error(`need roles! Like v-auth="['admin','test']"`);
|
|
2511
|
-
}
|
|
2512
|
-
};
|
|
2513
|
-
function rn(e) {
|
|
2514
|
-
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
|
|
2515
|
-
var n = e.get(t);
|
|
2516
|
-
n ? n.push(o) : e.set(t, [o]);
|
|
2517
|
-
}, off: function(t, o) {
|
|
2518
|
-
var n = e.get(t);
|
|
2519
|
-
n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : e.set(t, []));
|
|
2520
|
-
}, emit: function(t, o) {
|
|
2521
|
-
var n = e.get(t);
|
|
2522
|
-
n && n.slice().map(function(a) {
|
|
2523
|
-
a(o);
|
|
2524
|
-
}), (n = e.get("*")) && n.slice().map(function(a) {
|
|
2525
|
-
a(t, o);
|
|
2526
|
-
});
|
|
2527
|
-
} };
|
|
2528
|
-
}
|
|
2529
|
-
const sn = rn(), Pe = ft({
|
|
2530
|
-
strategy: "scroll"
|
|
2531
|
-
}), un = {
|
|
2532
|
-
mounted(e, t, o) {
|
|
2533
|
-
Pe.listenTo(e, (n) => {
|
|
2534
|
-
const a = n.offsetWidth, r = n.offsetHeight;
|
|
2535
|
-
t != null && t.instance ? sn.emit("resize", { detail: { width: a, height: r } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: r } }));
|
|
2536
|
-
});
|
|
2537
|
-
},
|
|
2538
|
-
unmounted(e) {
|
|
2539
|
-
Pe.uninstall(e);
|
|
2540
|
-
}
|
|
2541
|
-
}, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2542
|
-
__proto__: null,
|
|
2543
|
-
auth: an,
|
|
2544
|
-
resize: un
|
|
2545
|
-
}, Symbol.toStringTag, { value: "Module" })), y = Xe(Nt);
|
|
2546
|
-
y.use(gt, {
|
|
2547
|
-
defaultProps: { animation: "perspective" }
|
|
2548
|
-
});
|
|
2549
|
-
const ln = (e) => {
|
|
2550
|
-
e.config.globalProperties.$hasAuthority = So, e.config.globalProperties.$serviceApi = $(), e.config.globalProperties.$url = v();
|
|
2551
|
-
}, cn = (e) => {
|
|
2552
|
-
Object.keys(Ae).forEach((t) => {
|
|
2553
|
-
e.directive(t, Ae[t]);
|
|
2554
|
-
});
|
|
2555
|
-
}, zn = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: r }) => (co(n, e), y.use(e), Ft(e), Tt(y, t), St(a), go(r), new Promise((i) => {
|
|
2556
|
-
qt(y, o), y.component("IconifyIconOffline", on), y.component("FontIcon", nn), y.use(ht, { defaultOptions: { zIndex: 9999 } }), ln(y), cn(y), Pt(y), To(y, t), i({ app: y, router: e });
|
|
2557
|
-
})), mn = {
|
|
2558
|
-
onLogined: () => {
|
|
2559
|
-
},
|
|
2560
|
-
onBeforeLogout: () => {
|
|
2561
|
-
}
|
|
2562
|
-
}, jn = () => {
|
|
2563
|
-
mn.onLogined();
|
|
2564
|
-
};
|
|
2565
|
-
export {
|
|
2566
|
-
kn as A,
|
|
2567
|
-
xn as B,
|
|
2568
|
-
Nn as C,
|
|
2569
|
-
Wt as D,
|
|
2570
|
-
jn as E,
|
|
2571
|
-
nn as F,
|
|
2572
|
-
zn as G,
|
|
2573
|
-
So as H,
|
|
2574
|
-
on as I,
|
|
2575
|
-
mn as J,
|
|
2576
|
-
Ln as K,
|
|
2577
|
-
An as L,
|
|
2578
|
-
Pn as M,
|
|
2579
|
-
xt as _,
|
|
2580
|
-
Bn as a,
|
|
2581
|
-
Xo as b,
|
|
2582
|
-
In as c,
|
|
2583
|
-
f as d,
|
|
2584
|
-
z as e,
|
|
2585
|
-
$e as f,
|
|
2586
|
-
oe as g,
|
|
2587
|
-
sn as h,
|
|
2588
|
-
ge as i,
|
|
2589
|
-
ne as j,
|
|
2590
|
-
Ct as k,
|
|
2591
|
-
Dn as l,
|
|
2592
|
-
Fn as m,
|
|
2593
|
-
Et as n,
|
|
2594
|
-
On as o,
|
|
2595
|
-
Rn as p,
|
|
2596
|
-
$ as q,
|
|
2597
|
-
h as r,
|
|
2598
|
-
q as s,
|
|
2599
|
-
Ht as t,
|
|
2600
|
-
x as u,
|
|
2601
|
-
F as v,
|
|
2602
|
-
eo as w,
|
|
2603
|
-
v as x,
|
|
2604
|
-
oo as y,
|
|
2605
|
-
Mn as z
|
|
2606
|
-
};
|