@utogether/udp-core 1.0.1-beta.7 → 1.0.1-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{403-BQZ5OAKL.js → 403-BOzKHdlm.js} +1 -1
- package/dist/{404-H55ex36i.js → 404-uwgt4Nll.js} +1 -1
- package/dist/{500-bbrspTnK.js → 500-4HBf6V9m.js} +1 -1
- package/dist/{AuthorityInfo-BWni4UPQ.js → AuthorityInfo-DvbIh1vT.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-7WtOL6Hs.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BlCPvwXU.js} +1 -1
- package/dist/{Company-CuebFrQ0.js → Company-D7Q9BFmr.js} +3 -3
- package/dist/{CompanyPanel-DxPdJs6x.js → CompanyPanel-C0-PJlrt.js} +1 -1
- package/dist/{Department-D2a6Juur.js → Department-h2hlXACv.js} +3 -3
- package/dist/{DepartmentPanel-C_s2R9yl.js → DepartmentPanel-B6hDEQpG.js} +1 -1
- package/dist/{DesignPanel-CexZj3HF.js → DesignPanel-cS58-1v9.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DfmysqwB.js → DesignPanel.vue_vue_type_style_index_0_lang-LdvLC8VU.js} +9 -11
- package/dist/{DictView-C0GS72rG.js → DictView-T3TmpBa8.js} +57 -44
- package/dist/{InvOrganization-a1tQ2CEH.js → InvOrganization-BVuOhzbt.js} +1 -1
- package/dist/Org-CnCBDGKF.js +39 -0
- package/dist/{Preview-BOv5j9i6.js → Preview-BaktKXB1.js} +1 -1
- package/dist/{ReportDefine-Dli1Q0TB.js → ReportDefine-5Rb0PO9A.js} +1 -1
- package/dist/{ReportDesign-zSWkcL_O.js → ReportDesign-DYdkVREA.js} +2 -2
- package/dist/{ReportQuery-D5r3bvFc.js → ReportQuery-BwhzIXMt.js} +1 -1
- package/dist/{ReportQueryFrom-DiostHrX.js → ReportQueryFrom-PHtWwlOe.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Cr2eKMmr.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BE5yZNPM.js} +1 -1
- package/dist/{ReportTemplate-CYy4cZHQ.js → ReportTemplate-DaadVXIi.js} +1 -1
- package/dist/{Role-BFQFxfQS.js → Role-Dtg3nAmG.js} +3 -3
- package/dist/{RoleAssign-BIdWSLTR.js → RoleAssign-DEGtLssH.js} +3 -3
- package/dist/{RolePanel-KC-UgmtF.js → RolePanel-CT7BTPmy.js} +1 -1
- package/dist/{RolePanel-C7ybSknr.js → RolePanel-DpUzfE_o.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C_ZsMf1f.js → RolePanel.vue_vue_type_script_setup_true_lang-Dg2A6DJu.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C91CJO4e.js → RolePanel.vue_vue_type_script_setup_true_lang-Xyo0YEI0.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js → ScrollPanel.vue_vue_type_style_index_0_lang-CyutzDZS.js} +1 -1
- package/dist/{Staff-CY0DLsTN.js → Staff-_NlAGkrh.js} +3 -3
- package/dist/{StaffInfo-DA7p265h.js → StaffInfo-DVgUvVgd.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-f29A44gS.js → StaffInfo.vue_vue_type_script_setup_true_lang-C8hmlFgX.js} +1 -1
- package/dist/{StaffPanel-DYP-mMp9.js → StaffPanel-DKNZE3IE.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-C0YAG2xV.js → StaffPanel.vue_vue_type_script_setup_true_lang-BOOO6Cek.js} +2 -2
- package/dist/{SysUser-FqS3Ctne.js → SysUser-kQUf7XKz.js} +2 -2
- package/dist/{SysUserPanel-C_t6F99T.js → SysUserPanel-C191uX3U.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CKZjy0OF.js → SysUserPanel.vue_vue_type_script_setup_true_lang-SwNbAEvW.js} +43 -43
- package/dist/{SystemMenu-ChFrMzRg.js → SystemMenu-DwuSvHnj.js} +2 -2
- package/dist/{UserInfo-I36LAXVj.js → UserInfo-DIsInFld.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BGY-LYeL.js → UserInfo.vue_vue_type_style_index_0_lang-CnvGdbej.js} +17 -17
- package/dist/{childView-CYpuOzRx.js → childView-3Bs2UBEw.js} +1 -1
- package/dist/{childView-Csnlaqfs.js → childView-BawyULD7.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B8EnA03l.js → childView.vue_vue_type_style_index_0_lang-DWIFCX3X.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DNVlDM_a.js → childView.vue_vue_type_style_index_0_lang-YpWF-p2F.js} +1 -1
- package/dist/{code-rule-DHBSC5Qp.js → code-rule-DVaYcn8S.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-CiI1MFla.js → cron-task-xuzP-BpE.js} +1 -1
- package/dist/{frameView-ZWKlbz9p.js → frameView-Cudt06qS.js} +1 -1
- package/dist/index-CKnq5xIa.js +2623 -0
- package/dist/{layoutView-5OsbpP0u.js → layoutView-BlFTV2jX.js} +2 -2
- package/dist/{login-C55sa9gN.js → login-CpKykfdf.js} +11 -11
- package/dist/{lov-view-DFfaUQ5m.js → lov-view-B2HaxyMs.js} +2 -2
- package/dist/{menuInfo-CZdLtLjN.js → menuInfo-BxCTJ1VW.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgG0aHRy.js → menuInfo.vue_vue_type_style_index_0_lang-CLOPNeUW.js} +2 -2
- package/dist/{pda-app-fLe8mrx-.js → pda-app-DPsAFNiw.js} +8 -10
- package/dist/{resource-ohWKO6Fh.js → resource-Dibb7t8u.js} +1 -1
- package/dist/{su-welcome-_UZTfrXX.js → su-welcome-DejR0KkM.js} +1 -1
- package/dist/{sys-config-DVuBsK7p.js → sys-config-DiySRWns.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CxobZqGL.js → utogether-Dct_14Zk.js} +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -6
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/udp/form-upload.vue +375 -76
- package/src/components/udp/form.vue +12 -7
- package/src/components/udp/grid.vue +2 -18
- package/src/components/udp/lov.vue +5 -27
- package/src/components/udp/upload.vue +1 -3
- package/src/components/udp/utils.ts +12 -6
- package/src/main.ts +119 -119
- package/src/plugins/i18n/en.ts +24 -13
- package/src/plugins/i18n/zh.ts +348 -348
- package/src/plugins/vxe-table/index.ts +3 -3
- package/src/plugins/vxe-table/render.tsx +956 -896
- package/src/style/vxetable.scss +289 -287
- package/src/utils/udp/useRender.ts +17 -6
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/menu/SystemMenu.vue +4 -18
- package/src/views/system/menu/menuInfo.vue +4 -17
- package/src/views/system/role/UserInfo.vue +195 -195
- package/src/views/system/sysUser/SysUserPanel.vue +278 -278
- package/src/views/uapp/pda/pda-app.vue +208 -207
- package/src/views/udev/dict/DictView.vue +7 -0
- package/src/views/ulogin/login.vue +1 -5
- package/src/views/urpt/design/DesignPanel.vue +507 -503
- package/vite.config.ts +2 -1
- package/dist/Org-DifvzLLy.js +0 -35
- package/dist/index-COBMRlmJ.js +0 -5379
|
@@ -0,0 +1,2623 @@
|
|
|
1
|
+
import * as Ae from "vue";
|
|
2
|
+
import { defineComponent as A, resolveComponent as J, createBlock as We, openBlock as Ge, withCtx as Ye, createVNode as Re, toRaw as ce, isProxy as de, defineAsyncComponent as Qe, h as k, createApp as Ze } from "vue";
|
|
3
|
+
import { ElConfigProvider as me } from "element-plus";
|
|
4
|
+
import { checkVersion as Xe } from "version-rocket";
|
|
5
|
+
import { useI18n as et, createI18n as tt } from "vue-i18n";
|
|
6
|
+
import { http as v, storageLocal as g, cookies as Oe, buildHierarchyTree as Z, dbstorage as V, isUrl as Le, openLink as ot, NProgress as nt, VxetableRender as at } from "@utogether/utils";
|
|
7
|
+
import { merge as X, clone as R, debounce as rt, findLastIndexOf as st, isBoolean as it, isEqual as pe, findIndexOf as ut, isEmpty as lt, isArray as ct } from "xe-utils";
|
|
8
|
+
import { createPinia as dt, defineStore as ee } from "pinia";
|
|
9
|
+
import { useTimeoutFn as mt } from "@vueuse/core";
|
|
10
|
+
import Me, { VxeUI as te } from "vxe-table";
|
|
11
|
+
import pt from "v-viewer";
|
|
12
|
+
import { Icon as he } from "@iconify/vue";
|
|
13
|
+
import ht from "vue-tippy";
|
|
14
|
+
import gt from "element-resize-detector";
|
|
15
|
+
var ft = {
|
|
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
|
+
}, yt = {
|
|
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 wt = "menu_zh", bt = "menu_en", Fn = "authorized-token", Dn = "kCookies_token", vt = "kSysConfig", Ct = "loginer";
|
|
372
|
+
let W = {}, Be = {};
|
|
373
|
+
const Et = (e, t) => {
|
|
374
|
+
W = Object.assign(W, t), e.config.globalProperties.$config = oe();
|
|
375
|
+
}, oe = () => W, Tt = (e = {}) => {
|
|
376
|
+
Be = e;
|
|
377
|
+
}, ge = () => Be, F = () => oe().ResponsiveStorageNameSpace, $ = () => ({
|
|
378
|
+
post: (e, t, o) => v.post(`${C()}${e}`, t, o),
|
|
379
|
+
get: (e, t, o) => v.get(`${C()}${e}`, t, o),
|
|
380
|
+
put: (e, t) => v.put(`${C()}${e}`, t),
|
|
381
|
+
delete: (e, t) => v.delete(`${C()}${e}`, t)
|
|
382
|
+
}), St = (e) => {
|
|
383
|
+
v.setRouter(e);
|
|
384
|
+
}, Ft = window.location.origin + "/gateway", C = () => ge().VITE_BASE_URL === "origin" ? Ft : ge().VITE_BASE_URL, Dt = A({
|
|
385
|
+
name: "app",
|
|
386
|
+
components: {
|
|
387
|
+
[me.name]: me
|
|
388
|
+
},
|
|
389
|
+
beforeRouteEnter(e, t, o) {
|
|
390
|
+
$().get("/upfm/v1/sysConfig", {}).then((n) => {
|
|
391
|
+
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" ? yt : ft;
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
beforeCreate() {
|
|
401
|
+
const { t: e } = et(), n = (g.getItem(vt) || { title: "U-DP" }).title;
|
|
402
|
+
Xe(
|
|
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
|
+
}), kt = (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 xt(e, t, o, n, a, r) {
|
|
423
|
+
const i = J("router-view"), u = J("el-config-provider");
|
|
424
|
+
return Ge(), We(u, {
|
|
425
|
+
size: "small",
|
|
426
|
+
"z-index": 5555,
|
|
427
|
+
locale: e.currentLocale
|
|
428
|
+
}, {
|
|
429
|
+
default: Ye(() => [
|
|
430
|
+
Re(i)
|
|
431
|
+
]),
|
|
432
|
+
_: 1
|
|
433
|
+
}, 8, ["locale"]);
|
|
434
|
+
}
|
|
435
|
+
const It = /* @__PURE__ */ kt(Dt, [["render", xt]]), q = dt();
|
|
436
|
+
function Nt(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
|
+
], Pt = (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
|
+
}, ze = (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
|
+
}, je = (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 = ze(e);
|
|
463
|
+
for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
|
|
464
|
+
return je(o[0], o[1], o[2]);
|
|
465
|
+
}, xn = (e, t) => {
|
|
466
|
+
const o = ze(e);
|
|
467
|
+
for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
|
|
468
|
+
return je(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
|
+
}, At = {
|
|
520
|
+
zh: { ...fe.zh.message },
|
|
521
|
+
en: { ...fe.en.message }
|
|
522
|
+
}, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
523
|
+
__proto__: null,
|
|
524
|
+
default: At
|
|
525
|
+
}, Symbol.toStringTag, { value: "Module" })), Ot = {
|
|
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
|
+
}, Lt = {
|
|
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 = [Ot, Lt], Mt = {
|
|
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
|
+
}, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
583
|
+
__proto__: null,
|
|
584
|
+
default: Mt
|
|
585
|
+
}, Symbol.toStringTag, { value: "Module" })), zt = {
|
|
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
|
+
}, jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
606
|
+
__proto__: null,
|
|
607
|
+
default: zt
|
|
608
|
+
}, Symbol.toStringTag, { value: "Module" })), Ut = {
|
|
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
|
+
password: "密码",
|
|
624
|
+
passwordReset: "密码重置",
|
|
625
|
+
oldPwd: "旧密码",
|
|
626
|
+
newPwd: "新密码",
|
|
627
|
+
confirmPwd: "确认密码",
|
|
628
|
+
reload: "重新加载",
|
|
629
|
+
closeCurrentTab: "关闭当前标签页",
|
|
630
|
+
closeLeftTabs: "关闭左侧标签页",
|
|
631
|
+
closeRightTabs: "关闭右侧标签页",
|
|
632
|
+
closeOtherTabs: "关闭其他标签页",
|
|
633
|
+
closeAllTabs: "关闭全部标签页",
|
|
634
|
+
wholeFullScreen: "整体页面全屏",
|
|
635
|
+
wholeExitFullScreen: "整体页面退出全屏",
|
|
636
|
+
contentFullScreen: "内容区全屏",
|
|
637
|
+
contentExitFullScreen: "内容区退出全屏",
|
|
638
|
+
fourZeroFour: "404",
|
|
639
|
+
fourZeroThree: "403",
|
|
640
|
+
five: "500",
|
|
641
|
+
backtop: "回到顶部",
|
|
642
|
+
error: "Error Page",
|
|
643
|
+
continueAdd: "连续添加",
|
|
644
|
+
menuQuery: "菜单搜索",
|
|
645
|
+
systemTitle: "系统标题",
|
|
646
|
+
systemLogo: "LOGO",
|
|
647
|
+
systemFavicon: "favicon",
|
|
648
|
+
homeBackimg: "首页背景",
|
|
649
|
+
baseUrl: "服务路径",
|
|
650
|
+
copyright: "版权信息",
|
|
651
|
+
i18nEnabled: "国际化",
|
|
652
|
+
defaultLanguage: "默认语言",
|
|
653
|
+
roleName: "角色名称",
|
|
654
|
+
roleCode: "角色编码",
|
|
655
|
+
roleDesc: "角色说明",
|
|
656
|
+
loginTime: "登录时间",
|
|
657
|
+
operatingSystem: "操作系统",
|
|
658
|
+
ip: "ip地址",
|
|
659
|
+
browserVersion: "浏览器版本",
|
|
660
|
+
browser: "浏览器",
|
|
661
|
+
dictCode: "字典编码",
|
|
662
|
+
dictName: "字典名称",
|
|
663
|
+
dictType: "字典类型",
|
|
664
|
+
ruleCode: "规则代码",
|
|
665
|
+
ruleName: "规则名称",
|
|
666
|
+
fieldType: "段类型",
|
|
667
|
+
fieldValue: "段值",
|
|
668
|
+
dateMask: "日期掩码",
|
|
669
|
+
resetFrequency: "重置频率",
|
|
670
|
+
seqLength: "位数",
|
|
671
|
+
startValue: "开始值",
|
|
672
|
+
currentValue: "当前值",
|
|
673
|
+
haveBeenUsed: "使用中",
|
|
674
|
+
unitName: "单位名称",
|
|
675
|
+
unitCode: "单位编码",
|
|
676
|
+
unitNote: "单位介绍",
|
|
677
|
+
deleteCompany: "部门存在子级,请先删除子级",
|
|
678
|
+
tip: "温馨提示",
|
|
679
|
+
today: "今天",
|
|
680
|
+
yesterday: "昨天",
|
|
681
|
+
lastWeek: "一周内",
|
|
682
|
+
lastMonth: "1月内",
|
|
683
|
+
threeMonth: "3月内",
|
|
684
|
+
halfYear: "半年内",
|
|
685
|
+
anniversary: "1年内",
|
|
686
|
+
newVersion: "检测到新版本",
|
|
687
|
+
updatenow: "立即更新",
|
|
688
|
+
updateLater: "稍后更新",
|
|
689
|
+
appVersion: "版本号",
|
|
690
|
+
buildNo: "构建号",
|
|
691
|
+
versionInfo: "版本信息",
|
|
692
|
+
isForceUpdate: "安装方式",
|
|
693
|
+
downloadUrl: "APK文件",
|
|
694
|
+
forceUpdate: "强制更新",
|
|
695
|
+
freeUpdate: "自主更新",
|
|
696
|
+
userName: "用户姓名",
|
|
697
|
+
userCode: "用户编码",
|
|
698
|
+
userType: "用户类型",
|
|
699
|
+
roleList: "角色列表",
|
|
700
|
+
userList: "用户列表",
|
|
701
|
+
orgCode: "业务实体编码",
|
|
702
|
+
orgName: "业务实体名称",
|
|
703
|
+
orgAlias: "业务实体简称",
|
|
704
|
+
orgDesc: "业务实体描述",
|
|
705
|
+
organizationName: "组织名称",
|
|
706
|
+
organizationCode: "组织编码"
|
|
707
|
+
},
|
|
708
|
+
btn: {
|
|
709
|
+
passwordReset: "密码重置",
|
|
710
|
+
add: "新增",
|
|
711
|
+
agree: "同意",
|
|
712
|
+
approve: "审批",
|
|
713
|
+
appupper: "上架",
|
|
714
|
+
applower: "下架",
|
|
715
|
+
auth: "权限",
|
|
716
|
+
back: "返回",
|
|
717
|
+
cancel: "取消",
|
|
718
|
+
completed: "完工",
|
|
719
|
+
close: "关闭",
|
|
720
|
+
toggle: "切换",
|
|
721
|
+
confirm: "确认",
|
|
722
|
+
config: "配置",
|
|
723
|
+
copy: "复制",
|
|
724
|
+
customSize: "自定义纸张",
|
|
725
|
+
detail: "详情",
|
|
726
|
+
directPrint: "直接打印",
|
|
727
|
+
design: "设 计",
|
|
728
|
+
delete: "删除",
|
|
729
|
+
del: "删除",
|
|
730
|
+
download: "下载",
|
|
731
|
+
dispatchUser: "分配用户",
|
|
732
|
+
dispatchAuth: "分配权限",
|
|
733
|
+
FAQ: "常见问题",
|
|
734
|
+
finish: "完成",
|
|
735
|
+
fetch: "查询",
|
|
736
|
+
edit: "编辑",
|
|
737
|
+
export: "导出",
|
|
738
|
+
import: "导入",
|
|
739
|
+
encode: "编码",
|
|
740
|
+
importJSON: "导入模板数据",
|
|
741
|
+
downloadTemp: "模板下载",
|
|
742
|
+
inv: "库存组织",
|
|
743
|
+
look: "查看",
|
|
744
|
+
lov: "值集",
|
|
745
|
+
inbound: "入库",
|
|
746
|
+
more: "更多",
|
|
747
|
+
outbound: "出库",
|
|
748
|
+
preview: "预览",
|
|
749
|
+
print: "打印",
|
|
750
|
+
paramSet: "参数集",
|
|
751
|
+
reset: "重置",
|
|
752
|
+
resumeTask: "继续",
|
|
753
|
+
role: "角色",
|
|
754
|
+
repaint: "重绘",
|
|
755
|
+
save: "保存",
|
|
756
|
+
scan: "扫码下载",
|
|
757
|
+
stopTask: "停止",
|
|
758
|
+
suspendTask: "暂停",
|
|
759
|
+
search: "搜索",
|
|
760
|
+
sync: "同步",
|
|
761
|
+
submit: "提交",
|
|
762
|
+
taskLog: "任务日志",
|
|
763
|
+
revoke: "撤销",
|
|
764
|
+
reject: "拒绝",
|
|
765
|
+
upload: "上传",
|
|
766
|
+
goback: "返回",
|
|
767
|
+
disabled: "禁用",
|
|
768
|
+
enable: "启用"
|
|
769
|
+
},
|
|
770
|
+
urpt: {
|
|
771
|
+
templateName: "模版名称",
|
|
772
|
+
templateCode: "模版编码",
|
|
773
|
+
paperType: "纸张类型",
|
|
774
|
+
printPosition: "打印视图",
|
|
775
|
+
buttonCode: "按钮编码",
|
|
776
|
+
resourceCode: "资源编码",
|
|
777
|
+
resourceName: "资源名称",
|
|
778
|
+
resourceUrl: "资源路径",
|
|
779
|
+
fileName: "文件名称",
|
|
780
|
+
fileSize: "文件大小",
|
|
781
|
+
filePath: "文件路径",
|
|
782
|
+
fileExtend: "文件类型",
|
|
783
|
+
textAlign: "对齐方式",
|
|
784
|
+
color: "色彩",
|
|
785
|
+
fillOpacity: "透明度",
|
|
786
|
+
fontSize: "字体大小",
|
|
787
|
+
rotation: "倾斜角度",
|
|
788
|
+
watermarkCode: "水印编码",
|
|
789
|
+
watermarkContent: "水印内容",
|
|
790
|
+
watermarkTrigger: "触发时机",
|
|
791
|
+
watermarkType: "水印类型",
|
|
792
|
+
xAxis: "横坐标",
|
|
793
|
+
yAxis: "纵坐标"
|
|
794
|
+
},
|
|
795
|
+
add: "新增",
|
|
796
|
+
operate: "操作",
|
|
797
|
+
emptyData: "暂无数据",
|
|
798
|
+
creationDate: "创建时间",
|
|
799
|
+
createdByName: "创建人",
|
|
800
|
+
creationName: "创建人",
|
|
801
|
+
lastUpdateDate: "更新日期",
|
|
802
|
+
lastUpdatedByName: "更新人",
|
|
803
|
+
sort: "序号",
|
|
804
|
+
seqNo: "序号",
|
|
805
|
+
remark: "备注",
|
|
806
|
+
loading: "加载中...",
|
|
807
|
+
keyword: "关键字",
|
|
808
|
+
required: "请录入",
|
|
809
|
+
isRequired: "必填否",
|
|
810
|
+
dataSetCode: "数据集编码",
|
|
811
|
+
dataSetName: "数据集名称",
|
|
812
|
+
dataSetType: "数据集类型",
|
|
813
|
+
dataSetUrl: "URL/服务编码",
|
|
814
|
+
paramCode: "参数编码",
|
|
815
|
+
paramName: "参数名称",
|
|
816
|
+
defaultValue: "默认值",
|
|
817
|
+
enabled: "启用",
|
|
818
|
+
disabled: "禁用",
|
|
819
|
+
to: "至",
|
|
820
|
+
startDate: "开始日期",
|
|
821
|
+
endDate: "截至日期",
|
|
822
|
+
operateSuccess: "操作成功!",
|
|
823
|
+
operateFailed: "操作失败!",
|
|
824
|
+
selectedRecord: "请至少选择一条记录",
|
|
825
|
+
delRecord: "您确定要删除选择的数据吗?",
|
|
826
|
+
importSuccess: "导入成功!",
|
|
827
|
+
importFailed: "数据导入失败,请往下滚动以便查看错误信息",
|
|
828
|
+
importRecord: "您确定要导入数据吗?",
|
|
829
|
+
importEmpty: "数据列表为空,请先导入数据列表",
|
|
830
|
+
importTip: `1、表格模板的【列标题】不可修改;
|
|
831
|
+
2、单次导入数据数量应小于2000条;
|
|
832
|
+
3、数据字典直接录入字典值表示,能极大的提高表格渲染速度哦。例如: 数据字典【是否】Y/N
|
|
833
|
+
4、导入成功,系统提示【导入成功数量xxx条】其中的数量包括表头行`,
|
|
834
|
+
errorInfo: "异常信息",
|
|
835
|
+
publish: "发布",
|
|
836
|
+
menuName: "菜单名称(中文)",
|
|
837
|
+
menuNameEn: "菜单名称(英文)",
|
|
838
|
+
menuType: "菜单类型",
|
|
839
|
+
menuCode: "菜单编码",
|
|
840
|
+
permissionCode: "权限编码",
|
|
841
|
+
permissionName: "权限名称",
|
|
842
|
+
menuPath: "路由",
|
|
843
|
+
frameSrc: "内链URI",
|
|
844
|
+
externalURI: "外链URI",
|
|
845
|
+
redirect: "重定向路径",
|
|
846
|
+
i18nField: "标题字段",
|
|
847
|
+
extraIcon: "额外图标",
|
|
848
|
+
icon: "图标",
|
|
849
|
+
jobResult: "执行结果",
|
|
850
|
+
endTime: "结束时间",
|
|
851
|
+
startTime: "开始时间",
|
|
852
|
+
errorMessage: "异常信息",
|
|
853
|
+
jobStatus: "任务状态",
|
|
854
|
+
jobParam: "执行器任务参数",
|
|
855
|
+
jobHandler: "任务处理类",
|
|
856
|
+
jobClassName: "实现类",
|
|
857
|
+
jobCron: "任务执行corn",
|
|
858
|
+
jobName: "任务名称",
|
|
859
|
+
jobDescription: "任务描述",
|
|
860
|
+
interfaceName: "接口名称",
|
|
861
|
+
interfaceUrl: "接口地址",
|
|
862
|
+
requestDate: "请求日期",
|
|
863
|
+
requestStatus: "请求状态",
|
|
864
|
+
requestParameter: "body参数",
|
|
865
|
+
responseTimeConsume: "响应时间(ms)",
|
|
866
|
+
responseContent: "响应内容",
|
|
867
|
+
stacktrace: "错误堆栈",
|
|
868
|
+
status: "状态",
|
|
869
|
+
email: "邮箱",
|
|
870
|
+
userPassword: "登录密码",
|
|
871
|
+
remarks: "备注",
|
|
872
|
+
userPwd: "用户密码",
|
|
873
|
+
unitName: "用户单位",
|
|
874
|
+
employeeCode: "编号",
|
|
875
|
+
employeeName: "姓名",
|
|
876
|
+
department: "部门",
|
|
877
|
+
gender: "性别",
|
|
878
|
+
releateUser: "关联用户",
|
|
879
|
+
identity: "身份证号码",
|
|
880
|
+
employeeDate: "入职日期",
|
|
881
|
+
solarDay: "出生日期",
|
|
882
|
+
phone: "座机号",
|
|
883
|
+
mobile: "手机号",
|
|
884
|
+
deptName: "部门名称",
|
|
885
|
+
deptCode: "部门编码",
|
|
886
|
+
deptType: "部门类型",
|
|
887
|
+
deletePartment: "部门存在子级,请先删除子级",
|
|
888
|
+
lovCode: "视图编码",
|
|
889
|
+
lovName: "视图名称",
|
|
890
|
+
valueField: "值字段名",
|
|
891
|
+
displayField: "显示字段名",
|
|
892
|
+
lovTitle: "视图标题",
|
|
893
|
+
lovType: "视图类型",
|
|
894
|
+
lovUrl: "视图URI",
|
|
895
|
+
colField: "表格字段名",
|
|
896
|
+
colTitle: "表格列标题",
|
|
897
|
+
colWidth: "列宽度",
|
|
898
|
+
fieldType: "字段类型",
|
|
899
|
+
dictName: "数据字典",
|
|
900
|
+
isSearch: "查询字段",
|
|
901
|
+
isCol: "表格列",
|
|
902
|
+
sqlStatement: "SQL语句",
|
|
903
|
+
fileName: "附件名称",
|
|
904
|
+
fileSize: "附件大小",
|
|
905
|
+
tip: {
|
|
906
|
+
projectConfig: "项目配置",
|
|
907
|
+
closeConfig: "关闭配置",
|
|
908
|
+
clearCache: "清空缓存",
|
|
909
|
+
toLogin: "清空缓存并返回登录页",
|
|
910
|
+
del: "确定要删除{msg}吗?",
|
|
911
|
+
uploadFormat: "上传格式{type}",
|
|
912
|
+
imageSize: "图片尺寸{size}",
|
|
913
|
+
imageCapacity: "图片大小{capacity}",
|
|
914
|
+
singleImg: "仅支持设置单张图",
|
|
915
|
+
emptyAuth: "无系统权限, 请先给用户分配角色重试",
|
|
916
|
+
initPassword: "初始密码为:【123456】,请及时修改密码",
|
|
917
|
+
loginFailure: "用户名或密码不能为空",
|
|
918
|
+
updatenow: "立即更新",
|
|
919
|
+
newVersion: "检测到新版本",
|
|
920
|
+
updateLater: "稍后更新"
|
|
921
|
+
},
|
|
922
|
+
title: {
|
|
923
|
+
employeeInfo: "员工信息",
|
|
924
|
+
cronLog: "执行日志",
|
|
925
|
+
memuInfo: "菜单配置",
|
|
926
|
+
authority: "【{role}】权限明细",
|
|
927
|
+
authUser: "【{role}】分配用户",
|
|
928
|
+
authEdit: "角色编辑",
|
|
929
|
+
roleInfo: "角色列表",
|
|
930
|
+
appAdd: "App版本新增",
|
|
931
|
+
dictList: "【{name}】字典值列表",
|
|
932
|
+
dictInfo: "【{name}】字典值",
|
|
933
|
+
lovView: "值集视图",
|
|
934
|
+
lovColConfig: "值集列配置",
|
|
935
|
+
sequenceInfo: "{name}单据序列配置"
|
|
936
|
+
}
|
|
937
|
+
}, _t = {
|
|
938
|
+
udp: {
|
|
939
|
+
dark: "深色",
|
|
940
|
+
light: "浅色",
|
|
941
|
+
smart: "灵动",
|
|
942
|
+
card: "卡片",
|
|
943
|
+
theme: "主题色",
|
|
944
|
+
pageStyle: "Page Style",
|
|
945
|
+
navigationMode: "Navigation Node",
|
|
946
|
+
tagStyle: "Tag Style",
|
|
947
|
+
collapse: "Collapse",
|
|
948
|
+
expand: "Expand",
|
|
949
|
+
login: "Login",
|
|
950
|
+
home: "Home",
|
|
951
|
+
logout: "Logout",
|
|
952
|
+
password: "Password",
|
|
953
|
+
passwordReset: "Password Reset",
|
|
954
|
+
oldPwd: "Old Password",
|
|
955
|
+
newPwd: "New Password",
|
|
956
|
+
confirmPwd: "Confirm Password",
|
|
957
|
+
reload: "Reload",
|
|
958
|
+
closeCurrentTab: "Close Current Tab",
|
|
959
|
+
closeLeftTabs: "Close Left Tabs",
|
|
960
|
+
closeRightTabs: "Close Right Tabs",
|
|
961
|
+
closeOtherTabs: "Close Other Tabs",
|
|
962
|
+
closeAllTabs: "Close All Tabs",
|
|
963
|
+
wholeFullScreen: "Whole Full Screen",
|
|
964
|
+
wholeExitFullScreen: "Whole Exit Full Screen",
|
|
965
|
+
contentFullScreen: "Content Fulll Screen",
|
|
966
|
+
contentExitFullScreen: "Content Exit Full Screen",
|
|
967
|
+
fourZeroFour: "404",
|
|
968
|
+
fourZeroThree: "403",
|
|
969
|
+
five: "500",
|
|
970
|
+
backtop: "Back Top",
|
|
971
|
+
error: "Error Page",
|
|
972
|
+
continueAdd: "Continue Add",
|
|
973
|
+
menuQuery: "Menu Search",
|
|
974
|
+
systemTitle: "System Title",
|
|
975
|
+
systemLogo: "LOGO",
|
|
976
|
+
systemFavicon: "favicon",
|
|
977
|
+
homeBackimg: "Home Background Image",
|
|
978
|
+
baseUrl: "Base Url",
|
|
979
|
+
copyright: "Copy Right",
|
|
980
|
+
i18nEnabled: "Internationalize",
|
|
981
|
+
defaultLanguage: "Language",
|
|
982
|
+
roleName: "Role Name",
|
|
983
|
+
roleCode: "Role Code",
|
|
984
|
+
roleDesc: "Role Desc",
|
|
985
|
+
loginTime: "Login Time",
|
|
986
|
+
operatingSystem: "Operate System",
|
|
987
|
+
ip: "ip",
|
|
988
|
+
browserVersion: "Browser Version",
|
|
989
|
+
browser: "Browser",
|
|
990
|
+
dictCode: "Dict Code",
|
|
991
|
+
dictName: "Dict Name",
|
|
992
|
+
dictType: "Dict Type",
|
|
993
|
+
ruleCode: "Rule Code",
|
|
994
|
+
ruleName: "Rule Name",
|
|
995
|
+
fieldType: "Field Type",
|
|
996
|
+
fieldValue: "Field Value",
|
|
997
|
+
dateMask: "Data Mask",
|
|
998
|
+
resetFrequency: "Reset Frequency",
|
|
999
|
+
seqLength: "Seq Length",
|
|
1000
|
+
startValue: "Start Value",
|
|
1001
|
+
currentValue: "Current Value",
|
|
1002
|
+
haveBeenUsed: "Have Been Used",
|
|
1003
|
+
unitName: "Unit Name",
|
|
1004
|
+
unitCode: "Unit Code",
|
|
1005
|
+
unitNote: "Unit Note",
|
|
1006
|
+
deleteCompany: "There are child levels in the Company, please delete the child level first",
|
|
1007
|
+
tip: "tip",
|
|
1008
|
+
today: "Today",
|
|
1009
|
+
yesterday: "Yesterday",
|
|
1010
|
+
lastWeek: "Last Week",
|
|
1011
|
+
lastMonth: "Last Month",
|
|
1012
|
+
threeMonth: "Three Month",
|
|
1013
|
+
halfYear: "Half Year",
|
|
1014
|
+
anniversary: "Anniversary",
|
|
1015
|
+
newVersion: "检测到新版本",
|
|
1016
|
+
updatenow: "立即更新",
|
|
1017
|
+
updateLater: "稍后更新",
|
|
1018
|
+
appVersion: "版本号",
|
|
1019
|
+
buildNo: "构建号",
|
|
1020
|
+
versionInfo: "版本信息",
|
|
1021
|
+
isForceUpdate: "安装方式",
|
|
1022
|
+
downloadUrl: "APK文件",
|
|
1023
|
+
forceUpdate: "强制更新",
|
|
1024
|
+
freeUpdate: "自主更新",
|
|
1025
|
+
userName: "User Name",
|
|
1026
|
+
userCode: "user Code",
|
|
1027
|
+
sysType: "User Type",
|
|
1028
|
+
orgCode: "Business Unit Code",
|
|
1029
|
+
orgName: "Business Unit Name",
|
|
1030
|
+
orgAlias: "Business Unit Alias",
|
|
1031
|
+
orgDesc: "Business Unit Descript",
|
|
1032
|
+
organizationName: "Organization Name",
|
|
1033
|
+
organizationCode: "Organization Code"
|
|
1034
|
+
},
|
|
1035
|
+
btn: {
|
|
1036
|
+
add: "Add",
|
|
1037
|
+
agree: "Agree",
|
|
1038
|
+
approve: "Approval",
|
|
1039
|
+
appupper: "App Add",
|
|
1040
|
+
applower: "App Remove",
|
|
1041
|
+
auth: "Authority",
|
|
1042
|
+
back: "Back",
|
|
1043
|
+
cancel: "Cancel",
|
|
1044
|
+
completed: "Completed",
|
|
1045
|
+
close: "Close",
|
|
1046
|
+
toggle: "Toggle",
|
|
1047
|
+
confirm: "Confirm",
|
|
1048
|
+
config: "Config",
|
|
1049
|
+
copy: "Copy",
|
|
1050
|
+
customSize: "Custom Size",
|
|
1051
|
+
detail: "Detail",
|
|
1052
|
+
directPrint: "Direct Print",
|
|
1053
|
+
design: "Design",
|
|
1054
|
+
delete: "Delete",
|
|
1055
|
+
del: "Delete",
|
|
1056
|
+
download: "Download",
|
|
1057
|
+
dispatchUser: "Dispatch User",
|
|
1058
|
+
dispatchAuth: "Dispatch Authority",
|
|
1059
|
+
finish: "Finish",
|
|
1060
|
+
fetch: "Fetch",
|
|
1061
|
+
edit: "Edit",
|
|
1062
|
+
export: "Export",
|
|
1063
|
+
import: "Import",
|
|
1064
|
+
encode: "Encode",
|
|
1065
|
+
importJSON: "Import Data",
|
|
1066
|
+
look: "Look",
|
|
1067
|
+
lov: "Lov",
|
|
1068
|
+
inbound: "Inbound",
|
|
1069
|
+
more: "More",
|
|
1070
|
+
outbound: "Outbound",
|
|
1071
|
+
preview: "Preview",
|
|
1072
|
+
print: "Print",
|
|
1073
|
+
paramSet: "Param Set",
|
|
1074
|
+
reset: "Reset",
|
|
1075
|
+
resumeTask: "Resume",
|
|
1076
|
+
role: "Role",
|
|
1077
|
+
repaint: "Repaint",
|
|
1078
|
+
save: "Save",
|
|
1079
|
+
scan: "Scan Download",
|
|
1080
|
+
stopTask: "Stop",
|
|
1081
|
+
suspendTask: "Suspend",
|
|
1082
|
+
search: "Search",
|
|
1083
|
+
sync: "Sync",
|
|
1084
|
+
submit: "Submit",
|
|
1085
|
+
taskLog: "Log",
|
|
1086
|
+
revoke: "Revoke",
|
|
1087
|
+
reject: "Reject",
|
|
1088
|
+
upload: "Upload"
|
|
1089
|
+
},
|
|
1090
|
+
file: {
|
|
1091
|
+
templateName: "Template Name",
|
|
1092
|
+
templateCode: "Template Code",
|
|
1093
|
+
paperType: "Paper Type",
|
|
1094
|
+
printPosition: "Print Position",
|
|
1095
|
+
buttonCode: "Button Code",
|
|
1096
|
+
resourceCode: "Resource Code",
|
|
1097
|
+
resourceName: "Resource Name",
|
|
1098
|
+
resourceUrl: "Resource Url",
|
|
1099
|
+
fileName: "File Name",
|
|
1100
|
+
fileSize: "File Size",
|
|
1101
|
+
filePath: "File Path",
|
|
1102
|
+
fileExtend: "File Extend",
|
|
1103
|
+
textAlign: "Text Align",
|
|
1104
|
+
color: "Color",
|
|
1105
|
+
fillOpacity: "Fill Opacity",
|
|
1106
|
+
fontSize: "Font Size",
|
|
1107
|
+
rotation: "Rotation",
|
|
1108
|
+
watermarkCode: "Watermark Code",
|
|
1109
|
+
watermarkContent: "Watermark Content",
|
|
1110
|
+
watermarkTrigger: "Watermark Trigger",
|
|
1111
|
+
watermarkType: "Watermark Type",
|
|
1112
|
+
xAxis: "xAxis",
|
|
1113
|
+
yAxis: "yAxis"
|
|
1114
|
+
},
|
|
1115
|
+
add: "Add",
|
|
1116
|
+
operate: "Operate",
|
|
1117
|
+
emptyData: "Empty Data",
|
|
1118
|
+
creationDate: "Creation Date",
|
|
1119
|
+
createdByName: "CreatedBy Name",
|
|
1120
|
+
creationName: "Creation Name",
|
|
1121
|
+
lastUpdateDate: "LastUpdate Date",
|
|
1122
|
+
lastUpdatedByName: "LastUpdatedBy Name",
|
|
1123
|
+
sort: "Sort",
|
|
1124
|
+
seqNo: "Seq No",
|
|
1125
|
+
remark: "Remark",
|
|
1126
|
+
loading: "Loading...",
|
|
1127
|
+
keyword: "Keyword",
|
|
1128
|
+
required: "Required",
|
|
1129
|
+
isRequired: "Is Required",
|
|
1130
|
+
dataSetCode: "Dataset Code",
|
|
1131
|
+
dataSetName: "Dataset Name",
|
|
1132
|
+
dataSetType: "Dataset Type",
|
|
1133
|
+
dataSetUrl: "Dataset Url",
|
|
1134
|
+
paramCode: "Param Code",
|
|
1135
|
+
paramName: "Param Name",
|
|
1136
|
+
defaultValue: "Default Value",
|
|
1137
|
+
enabled: "Enabled",
|
|
1138
|
+
disabled: "Disabled",
|
|
1139
|
+
to: "To",
|
|
1140
|
+
startDate: "Start Date",
|
|
1141
|
+
endDate: "End Date",
|
|
1142
|
+
operateSuccess: "Operate Success!",
|
|
1143
|
+
operateFailed: "Operate Failed!",
|
|
1144
|
+
selectedRecord: "Please select at least one record",
|
|
1145
|
+
delRecord: "Are you sure you want to delete this record?",
|
|
1146
|
+
importSuccess: "Import Success!",
|
|
1147
|
+
importFailed: "Data import failed, please scroll down to view the error message",
|
|
1148
|
+
importRecord: "Are you sure you want to import the data?",
|
|
1149
|
+
importEmpty: "The data list is empty, please import the data list first",
|
|
1150
|
+
importTip: `1. The column headings in the table template cannot be modified;
|
|
1151
|
+
2. The number of data imported at a time should be less than 2000;
|
|
1152
|
+
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
|
|
1153
|
+
4. Import successful, system prompts' xxx successful imports', including header rows`,
|
|
1154
|
+
errorInfo: "Error Info",
|
|
1155
|
+
publish: "Publish",
|
|
1156
|
+
menuName: "Menu Name",
|
|
1157
|
+
menuNameEn: "Menu Name",
|
|
1158
|
+
menuType: "Menu Type",
|
|
1159
|
+
menuCode: "Menu Code",
|
|
1160
|
+
permissionCode: "Permission Code",
|
|
1161
|
+
permissionName: "Permission Name",
|
|
1162
|
+
menuPath: "Menu Path",
|
|
1163
|
+
frameSrc: "Internal Link URI",
|
|
1164
|
+
externalURI: "External Link URI",
|
|
1165
|
+
redirect: "Redirect",
|
|
1166
|
+
i18nField: "Language Field",
|
|
1167
|
+
extraIcon: "Extra Icon",
|
|
1168
|
+
icon: "Icon",
|
|
1169
|
+
jobResult: "Job Result",
|
|
1170
|
+
endTime: "End Time",
|
|
1171
|
+
startTime: "Start Time",
|
|
1172
|
+
errorMessage: "Error Message",
|
|
1173
|
+
jobStatus: "Job Status",
|
|
1174
|
+
jobParam: "Job Param",
|
|
1175
|
+
jobHandler: "Job Handler",
|
|
1176
|
+
jobClassName: "Job ClassName",
|
|
1177
|
+
jobCron: "Job Cron",
|
|
1178
|
+
jobName: "Job Name",
|
|
1179
|
+
jobDescription: "Job Description",
|
|
1180
|
+
interfaceName: "Interface Name",
|
|
1181
|
+
interfaceUrl: "Interface Url",
|
|
1182
|
+
requestDate: "Request Date",
|
|
1183
|
+
requestStatus: "Request Status",
|
|
1184
|
+
requestParameter: "Request Parameter",
|
|
1185
|
+
responseTimeConsume: "Response TimeConsume(ms)",
|
|
1186
|
+
responseContent: "Response Content",
|
|
1187
|
+
stacktrace: "Stacktrace",
|
|
1188
|
+
status: "Status",
|
|
1189
|
+
email: "Email",
|
|
1190
|
+
userPassword: "Password",
|
|
1191
|
+
remarks: "Remarks",
|
|
1192
|
+
userPwd: "Password",
|
|
1193
|
+
unitName: "Department",
|
|
1194
|
+
employeeCode: "Employee Code",
|
|
1195
|
+
employeeName: "Employee Name",
|
|
1196
|
+
department: "Department",
|
|
1197
|
+
gender: "Sex",
|
|
1198
|
+
releateUser: "Releate User",
|
|
1199
|
+
identity: "Identity",
|
|
1200
|
+
employeeDate: "Employee Date",
|
|
1201
|
+
solarDay: "Solar Day",
|
|
1202
|
+
phone: "Phone",
|
|
1203
|
+
mobile: "Mobile",
|
|
1204
|
+
deptName: "Department Name",
|
|
1205
|
+
deptCode: "Department Code",
|
|
1206
|
+
deptType: "Department Type",
|
|
1207
|
+
deletePartment: "There are child levels in the department, please delete the child level first",
|
|
1208
|
+
lovCode: "LovCode",
|
|
1209
|
+
lovName: "lovName",
|
|
1210
|
+
valueField: "valueField",
|
|
1211
|
+
displayField: "displayField",
|
|
1212
|
+
lovTitle: "lovTitle",
|
|
1213
|
+
colField: "colField",
|
|
1214
|
+
colTitle: "colTitle",
|
|
1215
|
+
width: "width",
|
|
1216
|
+
dictDispose: "dictDispose",
|
|
1217
|
+
isSearch: "isSearch",
|
|
1218
|
+
isCol: "isCol"
|
|
1219
|
+
}, we = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": Rt, "./module/u-workflow.ts": Bt, "./module/umsg.ts": jt }), M = {};
|
|
1220
|
+
for (const e in we)
|
|
1221
|
+
M[e.replace(/(\.\/module\/|\.ts)/g, "")] = we[e].default;
|
|
1222
|
+
const be = Object.keys(M).filter((e) => M[e]).map((e) => M[e]), $t = {
|
|
1223
|
+
zh: {
|
|
1224
|
+
...g.getItem(wt),
|
|
1225
|
+
message: X(Ut, ...be.map((e) => e.zh.message))
|
|
1226
|
+
},
|
|
1227
|
+
en: {
|
|
1228
|
+
...g.getItem(bt),
|
|
1229
|
+
message: Object.assign(_t, ...be.map((e) => e.en.message))
|
|
1230
|
+
}
|
|
1231
|
+
};
|
|
1232
|
+
let P = null;
|
|
1233
|
+
function qt(e, t = { messages: {} }) {
|
|
1234
|
+
var o;
|
|
1235
|
+
P = tt({
|
|
1236
|
+
legacy: !1,
|
|
1237
|
+
locale: ((o = g.getItem(`${F()}locale`)) == null ? void 0 : o.locale) ?? "zh",
|
|
1238
|
+
fallbackLocale: "en",
|
|
1239
|
+
globalInjection: !0,
|
|
1240
|
+
messages: X($t, t.messages)
|
|
1241
|
+
}), te.setLanguage("zh-CN"), e.use(P);
|
|
1242
|
+
}
|
|
1243
|
+
const B = () => P;
|
|
1244
|
+
function Ht(e = "", t = !0) {
|
|
1245
|
+
if (!e)
|
|
1246
|
+
return "";
|
|
1247
|
+
if (typeof e == "object") {
|
|
1248
|
+
const o = P.global.locale;
|
|
1249
|
+
return e[o.value];
|
|
1250
|
+
}
|
|
1251
|
+
return t ? P.global.t.call(P.global, e) : e;
|
|
1252
|
+
}
|
|
1253
|
+
const Vt = ee("udp-system", {
|
|
1254
|
+
state: () => ({
|
|
1255
|
+
baseURL: "",
|
|
1256
|
+
userInfo: {},
|
|
1257
|
+
systemInfo: {},
|
|
1258
|
+
dataDict: {},
|
|
1259
|
+
sysConfig: {},
|
|
1260
|
+
menui18n: {},
|
|
1261
|
+
i18n: {},
|
|
1262
|
+
dicts: [],
|
|
1263
|
+
orgList: [],
|
|
1264
|
+
invOrgList: [],
|
|
1265
|
+
homeMenus: [],
|
|
1266
|
+
sessionKey: "",
|
|
1267
|
+
orgId: "",
|
|
1268
|
+
userName: "",
|
|
1269
|
+
organizationId: "",
|
|
1270
|
+
isAdminRole: !1
|
|
1271
|
+
}),
|
|
1272
|
+
getters: {
|
|
1273
|
+
getBaseURL() {
|
|
1274
|
+
return this.baseURL;
|
|
1275
|
+
},
|
|
1276
|
+
getUserInfo() {
|
|
1277
|
+
return this.userInfo;
|
|
1278
|
+
},
|
|
1279
|
+
getSysConfig() {
|
|
1280
|
+
return this.sysConfig;
|
|
1281
|
+
},
|
|
1282
|
+
getEmployee() {
|
|
1283
|
+
return this.employee;
|
|
1284
|
+
},
|
|
1285
|
+
getSessionKey() {
|
|
1286
|
+
return this.sessionKey;
|
|
1287
|
+
},
|
|
1288
|
+
getMenuI18n() {
|
|
1289
|
+
return this.menui18n;
|
|
1290
|
+
},
|
|
1291
|
+
getI18n() {
|
|
1292
|
+
return this.i18n;
|
|
1293
|
+
},
|
|
1294
|
+
getOrglist() {
|
|
1295
|
+
return this.orgList;
|
|
1296
|
+
},
|
|
1297
|
+
getOrgId() {
|
|
1298
|
+
return this.orgId;
|
|
1299
|
+
},
|
|
1300
|
+
getOrganizationId() {
|
|
1301
|
+
return this.organizationId;
|
|
1302
|
+
},
|
|
1303
|
+
getDataDict() {
|
|
1304
|
+
return this.dataDict;
|
|
1305
|
+
},
|
|
1306
|
+
getUserName() {
|
|
1307
|
+
return this.userName;
|
|
1308
|
+
},
|
|
1309
|
+
getAdminRole(e) {
|
|
1310
|
+
return e.isAdminRole;
|
|
1311
|
+
},
|
|
1312
|
+
getHomeMenus(e) {
|
|
1313
|
+
return e.homeMenus;
|
|
1314
|
+
},
|
|
1315
|
+
getOrganizationCode(e) {
|
|
1316
|
+
var t, o;
|
|
1317
|
+
return (o = (t = e.invOrgList) == null ? void 0 : t.find((n) => n.id === e.organizationId)) == null ? void 0 : o.organizationCode;
|
|
1318
|
+
},
|
|
1319
|
+
getOrg(e) {
|
|
1320
|
+
return e.orgList.find((t) => t.id === e.orgId);
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
actions: {
|
|
1324
|
+
// baseURL
|
|
1325
|
+
setBaseURL(e) {
|
|
1326
|
+
this.sessionKey = e;
|
|
1327
|
+
},
|
|
1328
|
+
setSessionKey(e) {
|
|
1329
|
+
this.sessionKey = e.access_token || e;
|
|
1330
|
+
},
|
|
1331
|
+
// sysConfig
|
|
1332
|
+
setSysConfig(e) {
|
|
1333
|
+
this.sysConfig = e;
|
|
1334
|
+
},
|
|
1335
|
+
// orgId
|
|
1336
|
+
setOrgId(e) {
|
|
1337
|
+
this.orgId = e;
|
|
1338
|
+
},
|
|
1339
|
+
setOrganizationId(e) {
|
|
1340
|
+
this.organizationId = e;
|
|
1341
|
+
},
|
|
1342
|
+
setMenuI18n(e) {
|
|
1343
|
+
this.menui18n = e;
|
|
1344
|
+
},
|
|
1345
|
+
setI18n(e) {
|
|
1346
|
+
this.i18n = e;
|
|
1347
|
+
},
|
|
1348
|
+
setUserName(e) {
|
|
1349
|
+
this.userName = e;
|
|
1350
|
+
},
|
|
1351
|
+
// 首页子菜单列表
|
|
1352
|
+
setHomeMenus(e) {
|
|
1353
|
+
this.homeMenus = e;
|
|
1354
|
+
},
|
|
1355
|
+
// 库存组织列表
|
|
1356
|
+
setInvOrgList(e) {
|
|
1357
|
+
this.invOrgList = e;
|
|
1358
|
+
},
|
|
1359
|
+
setOrgList(e) {
|
|
1360
|
+
this.orgList = e;
|
|
1361
|
+
},
|
|
1362
|
+
setDict(e) {
|
|
1363
|
+
this.dicts = e, e == null || e.forEach((t) => {
|
|
1364
|
+
this.dataDict[t.dictCode] = t;
|
|
1365
|
+
}), g.setItem("kLov", this.dataDict);
|
|
1366
|
+
},
|
|
1367
|
+
// 系统信息
|
|
1368
|
+
setSystemInfo(e) {
|
|
1369
|
+
var n;
|
|
1370
|
+
this.systemInfo = e;
|
|
1371
|
+
const t = (n = e.employeeList) != null && n.length ? e.employeeList[0] : "";
|
|
1372
|
+
this.userInfo = e.user || {}, this.employee = Object.assign({}, t, e.user), this.orgId = e.orgId, this.organizationId = e.organizationId, this.orgList = e.orgList;
|
|
1373
|
+
const o = {
|
|
1374
|
+
orgId: e.orgId,
|
|
1375
|
+
organizationId: e.organizationId
|
|
1376
|
+
};
|
|
1377
|
+
Oe.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some(
|
|
1378
|
+
(a) => a.roleCode === "admin" || ["管理员"].includes(a.roleName)
|
|
1379
|
+
), f().setAuthButton(e.dataMenus);
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
});
|
|
1383
|
+
function z() {
|
|
1384
|
+
return Vt(q);
|
|
1385
|
+
}
|
|
1386
|
+
function Kt(e, t) {
|
|
1387
|
+
return /* @__PURE__ */ A({
|
|
1388
|
+
name: e,
|
|
1389
|
+
components: {
|
|
1390
|
+
asyncComponent: t
|
|
1391
|
+
},
|
|
1392
|
+
setup() {
|
|
1393
|
+
return () => Re(J("async-component"), null, null);
|
|
1394
|
+
}
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
v.setBaseUrl(C());
|
|
1398
|
+
const Jt = () => v.get(`${C()}/uums/roleMenu`), Wt = () => v.get(`${C()}/upfm/v1/lov/selectAll`), ve = (e) => v.get(`${C()}/uums/roleMenu/userMenu`, e), Gt = () => import("./layoutView-BlFTV2jX.js"), Yt = () => import("./frameView-Cudt06qS.js");
|
|
1399
|
+
function L(e) {
|
|
1400
|
+
return e.forEach((t) => {
|
|
1401
|
+
var o, n;
|
|
1402
|
+
((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");
|
|
1403
|
+
}), e.sort((t, o) => {
|
|
1404
|
+
var n, a;
|
|
1405
|
+
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);
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
function Ue(e) {
|
|
1409
|
+
const t = R(e, !0).filter(
|
|
1410
|
+
(o) => {
|
|
1411
|
+
var n;
|
|
1412
|
+
return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
|
|
1413
|
+
}
|
|
1414
|
+
);
|
|
1415
|
+
return t.forEach((o) => o.children && (o.children = Ue(o.children))), t;
|
|
1416
|
+
}
|
|
1417
|
+
function In(e, t, o = "path") {
|
|
1418
|
+
function n(a, r, i) {
|
|
1419
|
+
for (let u = 0; u < a.length; u++) {
|
|
1420
|
+
const d = a[u];
|
|
1421
|
+
if (d[o] === r) return i;
|
|
1422
|
+
if (!(!d.children || !d.children.length)) {
|
|
1423
|
+
if (i.push(d.path), n(d.children, r, i).length) return i;
|
|
1424
|
+
i.pop();
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
return [];
|
|
1428
|
+
}
|
|
1429
|
+
return n(t, e, []);
|
|
1430
|
+
}
|
|
1431
|
+
function _e(e, t) {
|
|
1432
|
+
let o = t.find((n) => n.path == e);
|
|
1433
|
+
if (o)
|
|
1434
|
+
return de(o) ? ce(o) : o;
|
|
1435
|
+
for (let n = 0; n < t.length; n++)
|
|
1436
|
+
if (t[n].children instanceof Array && t[n].children.length > 0 && (o = _e(e, t[n].children), o))
|
|
1437
|
+
return de(o) ? ce(o) : o;
|
|
1438
|
+
return null;
|
|
1439
|
+
}
|
|
1440
|
+
function Qt() {
|
|
1441
|
+
h.hasRoute("pathMatch") || h.addRoute({
|
|
1442
|
+
path: "/:pathMatch(.*)",
|
|
1443
|
+
name: "pathMatch",
|
|
1444
|
+
redirect: "/error/404"
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
function Zt() {
|
|
1448
|
+
var t, o;
|
|
1449
|
+
const e = B();
|
|
1450
|
+
(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);
|
|
1451
|
+
}
|
|
1452
|
+
function Ce(e) {
|
|
1453
|
+
if (e != null && e.length) {
|
|
1454
|
+
const t = e.findIndex((n) => n.menuCode === "SysHome");
|
|
1455
|
+
if (t !== -1) {
|
|
1456
|
+
const n = [], a = [];
|
|
1457
|
+
e[t].children.forEach((r) => {
|
|
1458
|
+
r.menuCategory !== "1" ? n.push(r) : a.push(r);
|
|
1459
|
+
}), e[t].children = a, z().setHomeMenus(n);
|
|
1460
|
+
}
|
|
1461
|
+
const o = R(qe(e), !0);
|
|
1462
|
+
Zt(), H(o).map((n) => {
|
|
1463
|
+
const { options: a } = h;
|
|
1464
|
+
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));
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
f().changeSetting(e), x().getMultiTagsCache || x().handleTags("equal", [
|
|
1468
|
+
...ne,
|
|
1469
|
+
...f().flatteningRoutes.filter((t) => {
|
|
1470
|
+
var o;
|
|
1471
|
+
return (o = t == null ? void 0 : t.meta) == null ? void 0 : o.fixedTag;
|
|
1472
|
+
})
|
|
1473
|
+
]), Qt();
|
|
1474
|
+
}
|
|
1475
|
+
async function Xt(e) {
|
|
1476
|
+
let t = [];
|
|
1477
|
+
const o = `U-${e}-ROUTES`;
|
|
1478
|
+
return oe().CachingAsyncRoutes && await V.getItem(o).then((n) => t = n), Wt().then((n) => z().setDict(n)), await Jt().then(async (n) => {
|
|
1479
|
+
z().setSystemInfo(n), await $().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => z().setInvOrgList((a == null ? void 0 : a.list) || []));
|
|
1480
|
+
}), t != null && t.length ? new Promise((n) => {
|
|
1481
|
+
Ce(t), ve({ userName: e }).then((a) => {
|
|
1482
|
+
V.setItem(o, a);
|
|
1483
|
+
}), n(h);
|
|
1484
|
+
}) : new Promise((n) => {
|
|
1485
|
+
ve({ userName: e }).then((a) => {
|
|
1486
|
+
Ce(R(a, !0)), V.setItem(o, a), n(h);
|
|
1487
|
+
});
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
1490
|
+
function H(e) {
|
|
1491
|
+
if (e.length === 0) return e;
|
|
1492
|
+
let t = Z(e);
|
|
1493
|
+
for (let o = 0; o < t.length; o++)
|
|
1494
|
+
t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
|
|
1495
|
+
return t;
|
|
1496
|
+
}
|
|
1497
|
+
function $e(e) {
|
|
1498
|
+
if (e.length === 0) return e;
|
|
1499
|
+
const t = [];
|
|
1500
|
+
return e.forEach((o) => {
|
|
1501
|
+
o.path === "/" ? t.push({
|
|
1502
|
+
component: o.component,
|
|
1503
|
+
name: o.name,
|
|
1504
|
+
path: o.path,
|
|
1505
|
+
redirect: o.redirect,
|
|
1506
|
+
meta: o.meta,
|
|
1507
|
+
children: []
|
|
1508
|
+
}) : t[0].children.push({ ...o });
|
|
1509
|
+
}), t;
|
|
1510
|
+
}
|
|
1511
|
+
function eo({ name: e }, t) {
|
|
1512
|
+
switch (t) {
|
|
1513
|
+
case "add":
|
|
1514
|
+
f().cacheOperate({ mode: "add", name: e });
|
|
1515
|
+
break;
|
|
1516
|
+
case "delete":
|
|
1517
|
+
f().cacheOperate({ mode: "delete", name: e });
|
|
1518
|
+
break;
|
|
1519
|
+
case "refresh":
|
|
1520
|
+
f().cacheOperate({ mode: "refresh", name: e });
|
|
1521
|
+
break;
|
|
1522
|
+
default:
|
|
1523
|
+
f().cacheOperate({ mode: "delete", name: e }), mt(() => {
|
|
1524
|
+
f().cacheOperate({ mode: "add", name: e });
|
|
1525
|
+
}, 100);
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
const N = {
|
|
1529
|
+
zh: {},
|
|
1530
|
+
en: {}
|
|
1531
|
+
}, qe = (e) => {
|
|
1532
|
+
var n;
|
|
1533
|
+
const t = mo();
|
|
1534
|
+
if (!e || !e.length) return;
|
|
1535
|
+
const o = Object.keys(t);
|
|
1536
|
+
for (let a = 0; a < e.length; a++) {
|
|
1537
|
+
const r = e[a];
|
|
1538
|
+
r != null && r.children && r.children.length && !r.redirect && (r.redirect = r.children[0].path);
|
|
1539
|
+
const { icon: i, permissionCode: u, extraIcon: d, frameSrc: s } = r;
|
|
1540
|
+
if (r.meta = { keepAlive: !0, rank: r.sort, title: `${r.i18nField}` }, Object.assign(r.meta, { icon: i, permissionCode: u, extraIcon: d, 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)
|
|
1541
|
+
r.component = Gt;
|
|
1542
|
+
else if ((n = r.meta) != null && n.frameSrc)
|
|
1543
|
+
r.component = Yt;
|
|
1544
|
+
else if (r.menuCategory === "10") {
|
|
1545
|
+
const m = o.findIndex((p) => p.includes("lowcode-contain"));
|
|
1546
|
+
r.component = Kt(
|
|
1547
|
+
r.name,
|
|
1548
|
+
Qe(() => import(
|
|
1549
|
+
/* @vite-ignore */
|
|
1550
|
+
o[m]
|
|
1551
|
+
))
|
|
1552
|
+
), Object.assign(r.meta, { moduleType: r.moduleType });
|
|
1553
|
+
} else if (r.menuCategory !== "5") {
|
|
1554
|
+
const m = o.findIndex((p) => p.includes(r.path));
|
|
1555
|
+
r.component = t[o[m]];
|
|
1556
|
+
}
|
|
1557
|
+
r != null && r.children && r.children.length ? qe(r.children) : delete r.children;
|
|
1558
|
+
}
|
|
1559
|
+
return e;
|
|
1560
|
+
};
|
|
1561
|
+
function Nn(e, t = !0) {
|
|
1562
|
+
const o = x().multiTags.findIndex((n) => {
|
|
1563
|
+
if (e.query) {
|
|
1564
|
+
if (e.path === n.path)
|
|
1565
|
+
return e.query === n.query;
|
|
1566
|
+
} else
|
|
1567
|
+
return e.path === n.path;
|
|
1568
|
+
});
|
|
1569
|
+
if (x().handleTags("splice", "", { startIndex: o, length: 1 }), eo(e.matched, "delete"), t) {
|
|
1570
|
+
const n = x().handleTags("slice");
|
|
1571
|
+
h.push({
|
|
1572
|
+
path: n[0].path,
|
|
1573
|
+
query: n[0].query
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
const to = ee("udp-permission", {
|
|
1578
|
+
state: () => ({
|
|
1579
|
+
// 静态路由生成的菜单
|
|
1580
|
+
constantMenus: lo,
|
|
1581
|
+
// 整体路由生成的菜单(静态、动态)
|
|
1582
|
+
wholeMenus: [],
|
|
1583
|
+
// 深拷贝一个菜单树,与导航菜单不冲突
|
|
1584
|
+
menusTree: [],
|
|
1585
|
+
// 整体路由(一维数组格式)
|
|
1586
|
+
flatteningRoutes: [],
|
|
1587
|
+
buttonAuth: [],
|
|
1588
|
+
// 缓存页面keepAlive
|
|
1589
|
+
cachePageList: []
|
|
1590
|
+
}),
|
|
1591
|
+
getters: {
|
|
1592
|
+
getButtonAuth() {
|
|
1593
|
+
return this.buttonAuth;
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
actions: {
|
|
1597
|
+
asyncActionRoutes(e = []) {
|
|
1598
|
+
if (this.wholeMenus.length > 0) return;
|
|
1599
|
+
const t = st(e, (n) => n.menuCode === "SysHome"), o = R(this.constantMenus, !0);
|
|
1600
|
+
if (t !== -1) {
|
|
1601
|
+
const n = this.constantMenus.find((a) => a.name === "home");
|
|
1602
|
+
e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
|
|
1603
|
+
}
|
|
1604
|
+
this.wholeMenus = Ue(L(this.constantMenus.concat(e))), this.flatteningRoutes = H(this.constantMenus.concat(e)), this.menusTree = R(this.wholeMenus, !0), this.constantMenus = o;
|
|
1605
|
+
},
|
|
1606
|
+
async changeSetting(e) {
|
|
1607
|
+
await this.asyncActionRoutes(e);
|
|
1608
|
+
},
|
|
1609
|
+
setAuthButton(e) {
|
|
1610
|
+
this.buttonAuth = e;
|
|
1611
|
+
},
|
|
1612
|
+
setWholeMenus(e) {
|
|
1613
|
+
this.wholeMenus = e;
|
|
1614
|
+
},
|
|
1615
|
+
cacheOperate({ mode: e, name: t }) {
|
|
1616
|
+
const o = this.cachePageList.findIndex((n) => n === t);
|
|
1617
|
+
switch (e) {
|
|
1618
|
+
case "refresh":
|
|
1619
|
+
this.cachePageList = this.cachePageList.filter((n) => n !== t);
|
|
1620
|
+
break;
|
|
1621
|
+
case "add":
|
|
1622
|
+
this.cachePageList.push(t);
|
|
1623
|
+
break;
|
|
1624
|
+
case "delete":
|
|
1625
|
+
o !== -1 && this.cachePageList.splice(o, 1);
|
|
1626
|
+
break;
|
|
1627
|
+
case "reset":
|
|
1628
|
+
this.cachePageList = [];
|
|
1629
|
+
break;
|
|
1630
|
+
}
|
|
1631
|
+
rt(() => {
|
|
1632
|
+
let n = this.cachePageList.length;
|
|
1633
|
+
const a = Pt(x().multiTags, "name");
|
|
1634
|
+
for (; n > 0; )
|
|
1635
|
+
a.findIndex((r) => r === this.cachePageList[n - 1]) === -1 && this.cachePageList.splice(
|
|
1636
|
+
this.cachePageList.indexOf(this.cachePageList[n - 1]),
|
|
1637
|
+
1
|
|
1638
|
+
), n--;
|
|
1639
|
+
}, 500)();
|
|
1640
|
+
},
|
|
1641
|
+
/** 清空缓存页面 */
|
|
1642
|
+
clearAllCachePage() {
|
|
1643
|
+
this.wholeMenus = [], this.menusTree = [], this.buttonAuth = [], this.cachePageList = [];
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
});
|
|
1647
|
+
function f() {
|
|
1648
|
+
return to(q);
|
|
1649
|
+
}
|
|
1650
|
+
const oo = ee("udp-multiTags", {
|
|
1651
|
+
state: () => {
|
|
1652
|
+
var e, t;
|
|
1653
|
+
return {
|
|
1654
|
+
// 存储标签页信息(路由信息)
|
|
1655
|
+
multiTags: (e = g.getItem(`${F()}configure`)) != null && e.multiTagsCache ? g.getItem(`${F()}tags`) : [...ne, ...f().flatteningRoutes.filter((o) => {
|
|
1656
|
+
var n;
|
|
1657
|
+
return (n = o == null ? void 0 : o.meta) == null ? void 0 : n.fixedTag;
|
|
1658
|
+
})],
|
|
1659
|
+
multiTagsCache: (t = g.getItem(`${F()}configure`)) == null ? void 0 : t.multiTagsCache
|
|
1660
|
+
};
|
|
1661
|
+
},
|
|
1662
|
+
getters: {
|
|
1663
|
+
getMultiTagsCache(e) {
|
|
1664
|
+
return e.multiTagsCache;
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
actions: {
|
|
1668
|
+
multiTagsCacheChange(e) {
|
|
1669
|
+
this.multiTagsCache = e, e ? g.setItem(`${F()}tags`, this.multiTags) : g.removeItem(`${F()}tags`);
|
|
1670
|
+
},
|
|
1671
|
+
tagsCache(e) {
|
|
1672
|
+
this.getMultiTagsCache && g.setItem(`${F()}tags`, e);
|
|
1673
|
+
},
|
|
1674
|
+
handleTags(e, t, o) {
|
|
1675
|
+
var n, a, r, i, u, d;
|
|
1676
|
+
switch (e) {
|
|
1677
|
+
case "equal":
|
|
1678
|
+
this.multiTags = t, this.tagsCache(this.multiTags);
|
|
1679
|
+
break;
|
|
1680
|
+
case "push":
|
|
1681
|
+
{
|
|
1682
|
+
const s = t;
|
|
1683
|
+
if ((n = s == null ? void 0 : s.meta) != null && n.hiddenTag || Le(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 || it((i = s == null ? void 0 : s.meta) == null ? void 0 : i.showLink) && !((u = s == null ? void 0 : s.meta) != null && u.showLink)) return;
|
|
1684
|
+
const m = s.path, p = this.multiTags.some((c) => c.path === m), 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));
|
|
1685
|
+
if (p && E && T) return;
|
|
1686
|
+
const w = ((d = s == null ? void 0 : s.meta) == null ? void 0 : d.dynamicLevel) ?? -1;
|
|
1687
|
+
if (w > 0 && this.multiTags.filter((c) => (c == null ? void 0 : c.path) === m).length >= w) {
|
|
1688
|
+
const c = this.multiTags.findIndex((l) => (l == null ? void 0 : l.path) === m);
|
|
1689
|
+
c !== -1 && this.multiTags.splice(c, 1);
|
|
1690
|
+
}
|
|
1691
|
+
this.multiTags.push(t), this.tagsCache(this.multiTags);
|
|
1692
|
+
}
|
|
1693
|
+
break;
|
|
1694
|
+
case "splice":
|
|
1695
|
+
if (o)
|
|
1696
|
+
this.multiTags.splice(o == null ? void 0 : o.startIndex, o == null ? void 0 : o.length);
|
|
1697
|
+
else {
|
|
1698
|
+
const s = this.multiTags.findIndex((m) => m.path === t);
|
|
1699
|
+
if (s === -1) return;
|
|
1700
|
+
this.multiTags.splice(s, 1);
|
|
1701
|
+
}
|
|
1702
|
+
return this.tagsCache(this.multiTags), this.multiTags;
|
|
1703
|
+
case "slice":
|
|
1704
|
+
return this.multiTags.slice(-1);
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
});
|
|
1709
|
+
function x() {
|
|
1710
|
+
return oo(q);
|
|
1711
|
+
}
|
|
1712
|
+
const no = () => import("./layoutView-BlFTV2jX.js"), ao = {
|
|
1713
|
+
path: "/",
|
|
1714
|
+
name: "home",
|
|
1715
|
+
component: no,
|
|
1716
|
+
redirect: "/welcome",
|
|
1717
|
+
meta: {
|
|
1718
|
+
icon: "home-filled",
|
|
1719
|
+
title: "message.udp.home",
|
|
1720
|
+
rank: 0
|
|
1721
|
+
},
|
|
1722
|
+
children: [
|
|
1723
|
+
{
|
|
1724
|
+
path: "/welcome",
|
|
1725
|
+
name: "SuHome",
|
|
1726
|
+
component: () => import("./su-welcome-DejR0KkM.js"),
|
|
1727
|
+
meta: {
|
|
1728
|
+
title: "message.udp.home",
|
|
1729
|
+
keepAlive: !0
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
]
|
|
1733
|
+
}, ro = () => import("./layoutView-BlFTV2jX.js"), so = {
|
|
1734
|
+
path: "/error",
|
|
1735
|
+
name: "error",
|
|
1736
|
+
component: ro,
|
|
1737
|
+
redirect: "/error/403",
|
|
1738
|
+
meta: {
|
|
1739
|
+
showLink: !1,
|
|
1740
|
+
icon: "information-line",
|
|
1741
|
+
title: "message.udp.error",
|
|
1742
|
+
rank: 999
|
|
1743
|
+
},
|
|
1744
|
+
children: [
|
|
1745
|
+
{
|
|
1746
|
+
path: "/error/403",
|
|
1747
|
+
name: "403",
|
|
1748
|
+
component: () => import("./403-BOzKHdlm.js"),
|
|
1749
|
+
meta: {
|
|
1750
|
+
title: "message.udp.fourZeroThree"
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
]
|
|
1754
|
+
}, io = () => import("./layoutView-BlFTV2jX.js"), O = [
|
|
1755
|
+
{
|
|
1756
|
+
path: "/login",
|
|
1757
|
+
name: "login",
|
|
1758
|
+
component: () => import("./login-CpKykfdf.js"),
|
|
1759
|
+
meta: {
|
|
1760
|
+
title: "message.udp.login",
|
|
1761
|
+
showLink: !1
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
path: "/error/404",
|
|
1766
|
+
name: "404",
|
|
1767
|
+
component: () => import("./404-uwgt4Nll.js"),
|
|
1768
|
+
meta: {
|
|
1769
|
+
title: "message.udp.fourZeroFour",
|
|
1770
|
+
showLink: !1
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
path: "/error/500",
|
|
1775
|
+
name: "500",
|
|
1776
|
+
component: () => import("./500-4HBf6V9m.js"),
|
|
1777
|
+
meta: {
|
|
1778
|
+
title: "message.udp.five",
|
|
1779
|
+
showLink: !1
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
path: "/redirect",
|
|
1784
|
+
name: "redirect",
|
|
1785
|
+
component: io,
|
|
1786
|
+
meta: {
|
|
1787
|
+
icon: "home-filled",
|
|
1788
|
+
title: "message.udp.home",
|
|
1789
|
+
showLink: !1,
|
|
1790
|
+
rank: 104
|
|
1791
|
+
},
|
|
1792
|
+
children: [
|
|
1793
|
+
{
|
|
1794
|
+
path: "/redirect/:path(.*)",
|
|
1795
|
+
// 2024-12-17
|
|
1796
|
+
name: "redirectView",
|
|
1797
|
+
component: () => import("./redirect-BqegffKC.js")
|
|
1798
|
+
}
|
|
1799
|
+
]
|
|
1800
|
+
}
|
|
1801
|
+
], uo = /* @__PURE__ */ Object.assign({
|
|
1802
|
+
"../views/organization/company/Company.vue": () => import("./Company-D7Q9BFmr.js"),
|
|
1803
|
+
"../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-C0-PJlrt.js"),
|
|
1804
|
+
"../views/organization/department/Department.vue": () => import("./Department-h2hlXACv.js"),
|
|
1805
|
+
"../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-B6hDEQpG.js"),
|
|
1806
|
+
"../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-BVuOhzbt.js"),
|
|
1807
|
+
"../views/organization/org/Org.vue": () => import("./Org-CnCBDGKF.js"),
|
|
1808
|
+
"../views/organization/staff/Staff.vue": () => import("./Staff-_NlAGkrh.js"),
|
|
1809
|
+
"../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-DVgUvVgd.js"),
|
|
1810
|
+
"../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-DKNZE3IE.js"),
|
|
1811
|
+
"../views/system/cron/cron-task.vue": () => import("./cron-task-xuzP-BpE.js"),
|
|
1812
|
+
"../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-BeBNiwqc.js"),
|
|
1813
|
+
"../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-DwuSvHnj.js"),
|
|
1814
|
+
"../views/system/menu/menuInfo.vue": () => import("./menuInfo-BxCTJ1VW.js"),
|
|
1815
|
+
"../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-DEGtLssH.js"),
|
|
1816
|
+
"../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-DpUzfE_o.js"),
|
|
1817
|
+
"../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-DvbIh1vT.js"),
|
|
1818
|
+
"../views/system/role/Role.vue": () => import("./Role-Dtg3nAmG.js"),
|
|
1819
|
+
"../views/system/role/RolePanel.vue": () => import("./RolePanel-CT7BTPmy.js"),
|
|
1820
|
+
"../views/system/role/UserInfo.vue": () => import("./UserInfo-DIsInFld.js"),
|
|
1821
|
+
"../views/system/sys/sys-config.vue": () => import("./sys-config-DiySRWns.js"),
|
|
1822
|
+
"../views/system/sysUser/SysUser.vue": () => import("./SysUser-kQUf7XKz.js"),
|
|
1823
|
+
"../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-C191uX3U.js"),
|
|
1824
|
+
"../views/uapp/pda/pda-app.vue": () => import("./pda-app-DPsAFNiw.js"),
|
|
1825
|
+
"../views/udev/coderule/code-rule.vue": () => import("./code-rule-DVaYcn8S.js"),
|
|
1826
|
+
"../views/udev/dict/DictView.vue": () => import("./DictView-T3TmpBa8.js"),
|
|
1827
|
+
"../views/udev/dict/childView.vue": () => import("./childView-BawyULD7.js"),
|
|
1828
|
+
"../views/udev/lov/childView.vue": () => import("./childView-3Bs2UBEw.js"),
|
|
1829
|
+
"../views/udev/lov/lov-view.vue": () => import("./lov-view-B2HaxyMs.js"),
|
|
1830
|
+
"../views/upms/interface/log-in.vue": () => import("./log-in-e7D5Ss1P.js"),
|
|
1831
|
+
"../views/upms/interface/log-out.vue": () => import("./log-out--RRncZhN.js"),
|
|
1832
|
+
"../views/upms/user/login-log.vue": () => import("./login-log-kqKzKTto.js"),
|
|
1833
|
+
"../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-DT-rGICv.js"),
|
|
1834
|
+
"../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-cS58-1v9.js"),
|
|
1835
|
+
"../views/urpt/design/Preview.vue": () => import("./Preview-BaktKXB1.js"),
|
|
1836
|
+
"../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-DYdkVREA.js"),
|
|
1837
|
+
"../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-BwhzIXMt.js"),
|
|
1838
|
+
"../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-PHtWwlOe.js"),
|
|
1839
|
+
"../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-5Rb0PO9A.js"),
|
|
1840
|
+
"../views/urpt/static-resource/resource.vue": () => import("./resource-Dibb7t8u.js"),
|
|
1841
|
+
"../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-DaadVXIi.js")
|
|
1842
|
+
}), Pn = O, ae = [ao, so], An = $e(
|
|
1843
|
+
H(Z(L(ae)))
|
|
1844
|
+
), lo = L(ae).concat(...O), Rn = Object.keys(O).map((e) => O[e].path);
|
|
1845
|
+
function On() {
|
|
1846
|
+
h.getRoutes().forEach((e) => {
|
|
1847
|
+
const { name: t, meta: o } = e;
|
|
1848
|
+
t && h.hasRoute(t) && (o != null && o.backstage) && (h.removeRoute(t), h.options.routes = $e(
|
|
1849
|
+
H(Z(L(ae)))
|
|
1850
|
+
));
|
|
1851
|
+
}), f().clearAllCachePage();
|
|
1852
|
+
}
|
|
1853
|
+
let G = null, h = null;
|
|
1854
|
+
function co(e, t) {
|
|
1855
|
+
G = e, h = t, Object.assign(G, uo);
|
|
1856
|
+
}
|
|
1857
|
+
function mo() {
|
|
1858
|
+
return G;
|
|
1859
|
+
}
|
|
1860
|
+
const po = ["/login"], Ln = (e, t, o) => {
|
|
1861
|
+
var i, u, d;
|
|
1862
|
+
const n = Oe.get(Ct), a = Le(e == null ? void 0 : e.name);
|
|
1863
|
+
function r() {
|
|
1864
|
+
po.includes(e.fullPath) ? o(t.fullPath) : o();
|
|
1865
|
+
}
|
|
1866
|
+
if (t != null && t.name && (t == null ? void 0 : t.name) !== "login") {
|
|
1867
|
+
const s = (i = e.matched.find(
|
|
1868
|
+
(m) => m.path === e.path || m.name === e.name && e.params
|
|
1869
|
+
)) == null ? void 0 : i.components;
|
|
1870
|
+
a ? (ot(e == null ? void 0 : e.name), (u = nt) == null || u.done()) : s != null && s.default || e.name === "redirect" ? r() : o({ path: "/error/404" });
|
|
1871
|
+
} else
|
|
1872
|
+
f().wholeMenus.length === 0 && Xt(n).then((s) => {
|
|
1873
|
+
var m;
|
|
1874
|
+
if (!x().getMultiTagsCache) {
|
|
1875
|
+
const { path: p } = e, T = ut(O, (c) => c.path === p) === -1 ? s.options.routes[0].children : s.options.routes, w = _e(p, T);
|
|
1876
|
+
if (w && ((m = w.meta) != null && m.title)) {
|
|
1877
|
+
const { path: c, name: l, meta: I } = w;
|
|
1878
|
+
x().handleTags("push", { path: c, name: l, meta: I });
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
lt(e.name) && s.push(e.fullPath);
|
|
1882
|
+
}), t.fullPath === "/" && e.fullPath === "/login" && !((d = e.query) != null && d.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();
|
|
1883
|
+
};
|
|
1884
|
+
at(Me, { serviceApi: $(), i18n: Ht });
|
|
1885
|
+
const ho = {
|
|
1886
|
+
// 对组件内置的提示语进行国际化翻译
|
|
1887
|
+
// @ts-ignore
|
|
1888
|
+
i18n: (e, t) => B().global.t(e, t),
|
|
1889
|
+
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
1890
|
+
translate(e) {
|
|
1891
|
+
return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? B().global.t.call(B().global.locale, e) : e;
|
|
1892
|
+
}
|
|
1893
|
+
};
|
|
1894
|
+
function go(e = {}) {
|
|
1895
|
+
Me.setConfig(X(ho, e)), te.interceptor.add("event.clearEdit", {
|
|
1896
|
+
tableInterceptorMethod(t) {
|
|
1897
|
+
const { $event: o } = t;
|
|
1898
|
+
if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
|
|
1899
|
+
}
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
function Mn(e) {
|
|
1903
|
+
te.setTheme(e);
|
|
1904
|
+
}
|
|
1905
|
+
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) => {
|
|
1906
|
+
for (var o in t) re(e, o, { get: t[o], enumerable: !0 });
|
|
1907
|
+
}, Co = (e, t, o, n) => {
|
|
1908
|
+
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 });
|
|
1909
|
+
return e;
|
|
1910
|
+
}, Eo = (e, t, o) => (Co(e, t, "default"), o), Ee = (e, t, o) => (bo(e, typeof t != "symbol" ? t + "" : t, o), o), se = {};
|
|
1911
|
+
vo(se, { Vue: () => Ae });
|
|
1912
|
+
Eo(se, Ae);
|
|
1913
|
+
var U = class {
|
|
1914
|
+
static install(e, t) {
|
|
1915
|
+
let { nameSpace: o = this._nameSpace, memory: n } = t;
|
|
1916
|
+
return n && this.clearAll(o, n), new U(e, t);
|
|
1917
|
+
}
|
|
1918
|
+
static clearAll(e, t) {
|
|
1919
|
+
Object.keys(t).forEach((o) => {
|
|
1920
|
+
let n = e + o;
|
|
1921
|
+
Object.prototype.hasOwnProperty.call(window.localStorage, n) && window.localStorage.removeItem(n);
|
|
1922
|
+
});
|
|
1923
|
+
}
|
|
1924
|
+
static get(e) {
|
|
1925
|
+
return JSON.parse(window.localStorage.getItem(e));
|
|
1926
|
+
}
|
|
1927
|
+
static set(e, t) {
|
|
1928
|
+
t = typeof t == "object" ? JSON.stringify(t) : t, window.localStorage.setItem(e, t);
|
|
1929
|
+
}
|
|
1930
|
+
static getData(e, t) {
|
|
1931
|
+
if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
|
|
1932
|
+
}
|
|
1933
|
+
constructor(e, t) {
|
|
1934
|
+
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;
|
|
1935
|
+
Object.keys(u).length === 0 && console.warn("key cannot be empty"), Object.keys(u).forEach((s) => {
|
|
1936
|
+
let m = u[s];
|
|
1937
|
+
o.set(i(s), m), 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]);
|
|
1938
|
+
});
|
|
1939
|
+
let d = n === 3 ? e.config.globalProperties : e.prototype;
|
|
1940
|
+
Reflect.defineProperty(d, "$storage", { get: () => u });
|
|
1941
|
+
}
|
|
1942
|
+
}, D = U;
|
|
1943
|
+
Ee(D, "_nameSpace", "rs-"), Ee(D, "_getStaticKey", (e, t) => `${e ?? U._nameSpace}${t}`);
|
|
1944
|
+
const To = (e, t) => {
|
|
1945
|
+
const o = F(), n = Object.assign(
|
|
1946
|
+
{
|
|
1947
|
+
// 国际化 默认中文zh
|
|
1948
|
+
locale: D.getData("locale", o) ?? {
|
|
1949
|
+
locale: t.Locale ?? "zh"
|
|
1950
|
+
},
|
|
1951
|
+
// layout模式以及主题
|
|
1952
|
+
layout: D.getData("layout", o) ?? {
|
|
1953
|
+
layout: t.Layout ?? "vertical",
|
|
1954
|
+
theme: t.Theme ?? "default",
|
|
1955
|
+
darkMode: t.DarkMode ?? !1,
|
|
1956
|
+
sidebarStatus: t.SidebarStatus ?? !0,
|
|
1957
|
+
epThemeColor: t.EpThemeColor ?? "#409EFF",
|
|
1958
|
+
themeColor: t.Theme ?? "light",
|
|
1959
|
+
// 主题色(对应项目配置中的主题色,与theme不同的是它不会受到浅色、深色整体风格切换的影响,只会在手动点击主题色时改变)
|
|
1960
|
+
overallStyle: t.OverallStyle ?? "light"
|
|
1961
|
+
// 整体风格(浅色:light、深色:dark、自动:system)
|
|
1962
|
+
},
|
|
1963
|
+
configure: D.getData("configure", o) ?? {
|
|
1964
|
+
grey: t.Grey ?? !1,
|
|
1965
|
+
weak: t.Weak ?? !1,
|
|
1966
|
+
hideTabs: t.HideTabs ?? !1,
|
|
1967
|
+
showLogo: t.ShowLogo ?? !0,
|
|
1968
|
+
showModel: t.ShowModel ?? "smart",
|
|
1969
|
+
multiTagsCache: t.MultiTagsCache ?? !1
|
|
1970
|
+
},
|
|
1971
|
+
cnd: D.getData("cnd", o) ?? {}
|
|
1972
|
+
},
|
|
1973
|
+
t.MultiTagsCache ? {
|
|
1974
|
+
// 默认显示首页tag
|
|
1975
|
+
tags: D.getData("tags", o) ?? ne
|
|
1976
|
+
} : {}
|
|
1977
|
+
);
|
|
1978
|
+
e.use(D, { nameSpace: o, memory: n });
|
|
1979
|
+
}, So = (e) => {
|
|
1980
|
+
var a;
|
|
1981
|
+
if (!e) return !0;
|
|
1982
|
+
const t = (a = h.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
|
|
1983
|
+
if (!t) return !0;
|
|
1984
|
+
ct(e) || (e = [e]);
|
|
1985
|
+
const o = f().getButtonAuth;
|
|
1986
|
+
if (!o) return !0;
|
|
1987
|
+
let n = !1;
|
|
1988
|
+
return e.forEach((r) => {
|
|
1989
|
+
if (!n) {
|
|
1990
|
+
const i = `${t}.${r}`;
|
|
1991
|
+
n = o.includes(i);
|
|
1992
|
+
}
|
|
1993
|
+
}), n;
|
|
1994
|
+
}, He = Object.freeze(
|
|
1995
|
+
{
|
|
1996
|
+
left: 0,
|
|
1997
|
+
top: 0,
|
|
1998
|
+
width: 16,
|
|
1999
|
+
height: 16
|
|
2000
|
+
}
|
|
2001
|
+
), _ = Object.freeze({
|
|
2002
|
+
rotate: 0,
|
|
2003
|
+
vFlip: !1,
|
|
2004
|
+
hFlip: !1
|
|
2005
|
+
}), ie = Object.freeze({
|
|
2006
|
+
...He,
|
|
2007
|
+
..._
|
|
2008
|
+
}), Y = Object.freeze({
|
|
2009
|
+
...ie,
|
|
2010
|
+
body: "",
|
|
2011
|
+
hidden: !1
|
|
2012
|
+
});
|
|
2013
|
+
function Fo(e, t) {
|
|
2014
|
+
const o = {};
|
|
2015
|
+
!e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
|
|
2016
|
+
const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2017
|
+
return n && (o.rotate = n), o;
|
|
2018
|
+
}
|
|
2019
|
+
function Te(e, t) {
|
|
2020
|
+
const o = Fo(e, t);
|
|
2021
|
+
for (const n in Y)
|
|
2022
|
+
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]);
|
|
2023
|
+
return o;
|
|
2024
|
+
}
|
|
2025
|
+
function Do(e, t) {
|
|
2026
|
+
const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
|
|
2027
|
+
function r(i) {
|
|
2028
|
+
if (o[i])
|
|
2029
|
+
return a[i] = [];
|
|
2030
|
+
if (!(i in a)) {
|
|
2031
|
+
a[i] = null;
|
|
2032
|
+
const u = n[i] && n[i].parent, d = u && r(u);
|
|
2033
|
+
d && (a[i] = [u].concat(d));
|
|
2034
|
+
}
|
|
2035
|
+
return a[i];
|
|
2036
|
+
}
|
|
2037
|
+
return Object.keys(o).concat(Object.keys(n)).forEach(r), a;
|
|
2038
|
+
}
|
|
2039
|
+
function ko(e, t, o) {
|
|
2040
|
+
const n = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
2041
|
+
let r = {};
|
|
2042
|
+
function i(u) {
|
|
2043
|
+
r = Te(
|
|
2044
|
+
n[u] || a[u],
|
|
2045
|
+
r
|
|
2046
|
+
);
|
|
2047
|
+
}
|
|
2048
|
+
return i(t), o.forEach(i), Te(e, r);
|
|
2049
|
+
}
|
|
2050
|
+
function xo(e, t) {
|
|
2051
|
+
const o = [];
|
|
2052
|
+
if (typeof e != "object" || typeof e.icons != "object")
|
|
2053
|
+
return o;
|
|
2054
|
+
e.not_found instanceof Array && e.not_found.forEach((a) => {
|
|
2055
|
+
t(a, null), o.push(a);
|
|
2056
|
+
});
|
|
2057
|
+
const n = Do(e);
|
|
2058
|
+
for (const a in n) {
|
|
2059
|
+
const r = n[a];
|
|
2060
|
+
r && (t(a, ko(e, a, r)), o.push(a));
|
|
2061
|
+
}
|
|
2062
|
+
return o;
|
|
2063
|
+
}
|
|
2064
|
+
const Io = {
|
|
2065
|
+
provider: "",
|
|
2066
|
+
aliases: {},
|
|
2067
|
+
not_found: {},
|
|
2068
|
+
...He
|
|
2069
|
+
};
|
|
2070
|
+
function K(e, t) {
|
|
2071
|
+
for (const o in t)
|
|
2072
|
+
if (o in e && typeof e[o] != typeof t[o])
|
|
2073
|
+
return !1;
|
|
2074
|
+
return !0;
|
|
2075
|
+
}
|
|
2076
|
+
function No(e) {
|
|
2077
|
+
if (typeof e != "object" || e === null)
|
|
2078
|
+
return null;
|
|
2079
|
+
const t = e;
|
|
2080
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !K(e, Io))
|
|
2081
|
+
return null;
|
|
2082
|
+
const o = t.icons;
|
|
2083
|
+
for (const a in o) {
|
|
2084
|
+
const r = o[a];
|
|
2085
|
+
if (
|
|
2086
|
+
// Name cannot be empty
|
|
2087
|
+
!a || // Must have body
|
|
2088
|
+
typeof r.body != "string" || // Check other props
|
|
2089
|
+
!K(
|
|
2090
|
+
r,
|
|
2091
|
+
Y
|
|
2092
|
+
)
|
|
2093
|
+
)
|
|
2094
|
+
return null;
|
|
2095
|
+
}
|
|
2096
|
+
const n = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
2097
|
+
for (const a in n) {
|
|
2098
|
+
const r = n[a], i = r.parent;
|
|
2099
|
+
if (
|
|
2100
|
+
// Name cannot be empty
|
|
2101
|
+
!a || // Parent must be set and point to existing icon
|
|
2102
|
+
typeof i != "string" || !o[i] && !n[i] || // Check other props
|
|
2103
|
+
!K(
|
|
2104
|
+
r,
|
|
2105
|
+
Y
|
|
2106
|
+
)
|
|
2107
|
+
)
|
|
2108
|
+
return null;
|
|
2109
|
+
}
|
|
2110
|
+
return t;
|
|
2111
|
+
}
|
|
2112
|
+
const Ve = Object.freeze({
|
|
2113
|
+
width: null,
|
|
2114
|
+
height: null
|
|
2115
|
+
}), Ke = Object.freeze({
|
|
2116
|
+
// Dimensions
|
|
2117
|
+
...Ve,
|
|
2118
|
+
// Transformations
|
|
2119
|
+
..._
|
|
2120
|
+
});
|
|
2121
|
+
function Po(e, t) {
|
|
2122
|
+
const o = {
|
|
2123
|
+
...e
|
|
2124
|
+
};
|
|
2125
|
+
for (const n in t) {
|
|
2126
|
+
const a = t[n], r = typeof a;
|
|
2127
|
+
n in Ve ? (a === null || a && (r === "string" || r === "number")) && (o[n] = a) : r === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : a);
|
|
2128
|
+
}
|
|
2129
|
+
return o;
|
|
2130
|
+
}
|
|
2131
|
+
const Ao = /[\s,]+/;
|
|
2132
|
+
function Ro(e, t) {
|
|
2133
|
+
t.split(Ao).forEach((o) => {
|
|
2134
|
+
switch (o.trim()) {
|
|
2135
|
+
case "horizontal":
|
|
2136
|
+
e.hFlip = !0;
|
|
2137
|
+
break;
|
|
2138
|
+
case "vertical":
|
|
2139
|
+
e.vFlip = !0;
|
|
2140
|
+
break;
|
|
2141
|
+
}
|
|
2142
|
+
});
|
|
2143
|
+
}
|
|
2144
|
+
function Oo(e, t = 0) {
|
|
2145
|
+
const o = e.replace(/^-?[0-9.]*/, "");
|
|
2146
|
+
function n(a) {
|
|
2147
|
+
for (; a < 0; )
|
|
2148
|
+
a += 4;
|
|
2149
|
+
return a % 4;
|
|
2150
|
+
}
|
|
2151
|
+
if (o === "") {
|
|
2152
|
+
const a = parseInt(e);
|
|
2153
|
+
return isNaN(a) ? 0 : n(a);
|
|
2154
|
+
} else if (o !== e) {
|
|
2155
|
+
let a = 0;
|
|
2156
|
+
switch (o) {
|
|
2157
|
+
case "%":
|
|
2158
|
+
a = 25;
|
|
2159
|
+
break;
|
|
2160
|
+
case "deg":
|
|
2161
|
+
a = 90;
|
|
2162
|
+
}
|
|
2163
|
+
if (a) {
|
|
2164
|
+
let r = parseFloat(e.slice(0, e.length - o.length));
|
|
2165
|
+
return isNaN(r) ? 0 : (r = r / a, r % 1 === 0 ? n(r) : 0);
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
return t;
|
|
2169
|
+
}
|
|
2170
|
+
const Lo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Mo = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2171
|
+
function Se(e, t, o) {
|
|
2172
|
+
if (t === 1)
|
|
2173
|
+
return e;
|
|
2174
|
+
if (o = o || 100, typeof e == "number")
|
|
2175
|
+
return Math.ceil(e * t * o) / o;
|
|
2176
|
+
if (typeof e != "string")
|
|
2177
|
+
return e;
|
|
2178
|
+
const n = e.split(Lo);
|
|
2179
|
+
if (n === null || !n.length)
|
|
2180
|
+
return e;
|
|
2181
|
+
const a = [];
|
|
2182
|
+
let r = n.shift(), i = Mo.test(r);
|
|
2183
|
+
for (; ; ) {
|
|
2184
|
+
if (i) {
|
|
2185
|
+
const u = parseFloat(r);
|
|
2186
|
+
isNaN(u) ? a.push(r) : a.push(Math.ceil(u * t * o) / o);
|
|
2187
|
+
} else
|
|
2188
|
+
a.push(r);
|
|
2189
|
+
if (r = n.shift(), r === void 0)
|
|
2190
|
+
return a.join("");
|
|
2191
|
+
i = !i;
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
function Bo(e, t = "defs") {
|
|
2195
|
+
let o = "";
|
|
2196
|
+
const n = e.indexOf("<" + t);
|
|
2197
|
+
for (; n >= 0; ) {
|
|
2198
|
+
const a = e.indexOf(">", n), r = e.indexOf("</" + t);
|
|
2199
|
+
if (a === -1 || r === -1)
|
|
2200
|
+
break;
|
|
2201
|
+
const i = e.indexOf(">", r);
|
|
2202
|
+
if (i === -1)
|
|
2203
|
+
break;
|
|
2204
|
+
o += e.slice(a + 1, r).trim(), e = e.slice(0, n).trim() + e.slice(i + 1);
|
|
2205
|
+
}
|
|
2206
|
+
return {
|
|
2207
|
+
defs: o,
|
|
2208
|
+
content: e
|
|
2209
|
+
};
|
|
2210
|
+
}
|
|
2211
|
+
function zo(e, t) {
|
|
2212
|
+
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2213
|
+
}
|
|
2214
|
+
function jo(e, t, o) {
|
|
2215
|
+
const n = Bo(e);
|
|
2216
|
+
return zo(n.defs, t + n.content + o);
|
|
2217
|
+
}
|
|
2218
|
+
const Uo = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2219
|
+
function _o(e, t) {
|
|
2220
|
+
const o = {
|
|
2221
|
+
...ie,
|
|
2222
|
+
...e
|
|
2223
|
+
}, n = {
|
|
2224
|
+
...Ke,
|
|
2225
|
+
...t
|
|
2226
|
+
}, a = {
|
|
2227
|
+
left: o.left,
|
|
2228
|
+
top: o.top,
|
|
2229
|
+
width: o.width,
|
|
2230
|
+
height: o.height
|
|
2231
|
+
};
|
|
2232
|
+
let r = o.body;
|
|
2233
|
+
[o, n].forEach((c) => {
|
|
2234
|
+
const l = [], I = c.hFlip, le = c.vFlip;
|
|
2235
|
+
let S = c.rotate;
|
|
2236
|
+
I ? le ? S += 2 : (l.push(
|
|
2237
|
+
"translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
|
|
2238
|
+
), l.push("scale(-1 1)"), a.top = a.left = 0) : le && (l.push(
|
|
2239
|
+
"translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
|
|
2240
|
+
), l.push("scale(1 -1)"), a.top = a.left = 0);
|
|
2241
|
+
let b;
|
|
2242
|
+
switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
|
|
2243
|
+
case 1:
|
|
2244
|
+
b = a.height / 2 + a.top, l.unshift(
|
|
2245
|
+
"rotate(90 " + b.toString() + " " + b.toString() + ")"
|
|
2246
|
+
);
|
|
2247
|
+
break;
|
|
2248
|
+
case 2:
|
|
2249
|
+
l.unshift(
|
|
2250
|
+
"rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
|
|
2251
|
+
);
|
|
2252
|
+
break;
|
|
2253
|
+
case 3:
|
|
2254
|
+
b = a.width / 2 + a.left, l.unshift(
|
|
2255
|
+
"rotate(-90 " + b.toString() + " " + b.toString() + ")"
|
|
2256
|
+
);
|
|
2257
|
+
break;
|
|
2258
|
+
}
|
|
2259
|
+
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(
|
|
2260
|
+
r,
|
|
2261
|
+
'<g transform="' + l.join(" ") + '">',
|
|
2262
|
+
"</g>"
|
|
2263
|
+
));
|
|
2264
|
+
});
|
|
2265
|
+
const i = n.width, u = n.height, d = a.width, s = a.height;
|
|
2266
|
+
let m, p;
|
|
2267
|
+
i === null ? (p = u === null ? "1em" : u === "auto" ? s : u, m = Se(p, d / s)) : (m = i === "auto" ? d : i, p = u === null ? Se(m, s / d) : u === "auto" ? s : u);
|
|
2268
|
+
const E = {}, T = (c, l) => {
|
|
2269
|
+
Uo(l) || (E[c] = l.toString());
|
|
2270
|
+
};
|
|
2271
|
+
T("width", m), T("height", p);
|
|
2272
|
+
const w = [a.left, a.top, d, s];
|
|
2273
|
+
return E.viewBox = w.join(" "), {
|
|
2274
|
+
attributes: E,
|
|
2275
|
+
viewBox: w,
|
|
2276
|
+
body: r
|
|
2277
|
+
};
|
|
2278
|
+
}
|
|
2279
|
+
const $o = /\sid="(\S+)"/g, qo = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
2280
|
+
let Ho = 0;
|
|
2281
|
+
function Vo(e, t = qo) {
|
|
2282
|
+
const o = [];
|
|
2283
|
+
let n;
|
|
2284
|
+
for (; n = $o.exec(e); )
|
|
2285
|
+
o.push(n[1]);
|
|
2286
|
+
if (!o.length)
|
|
2287
|
+
return e;
|
|
2288
|
+
const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2289
|
+
return o.forEach((r) => {
|
|
2290
|
+
const i = typeof t == "function" ? t(r) : t + (Ho++).toString(), u = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2291
|
+
e = e.replace(
|
|
2292
|
+
// Allowed characters before id: [#;"]
|
|
2293
|
+
// Allowed characters after id: [)"], .[a-z]
|
|
2294
|
+
new RegExp('([#;"])(' + u + ')([")]|\\.[a-z])', "g"),
|
|
2295
|
+
"$1" + i + a + "$3"
|
|
2296
|
+
);
|
|
2297
|
+
}), e = e.replace(new RegExp(a, "g"), ""), e;
|
|
2298
|
+
}
|
|
2299
|
+
function Ko(e, t) {
|
|
2300
|
+
let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
2301
|
+
for (const n in t)
|
|
2302
|
+
o += " " + n + '="' + t[n] + '"';
|
|
2303
|
+
return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
|
|
2304
|
+
}
|
|
2305
|
+
function Jo(e) {
|
|
2306
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2307
|
+
}
|
|
2308
|
+
function Wo(e) {
|
|
2309
|
+
return "data:image/svg+xml," + Jo(e);
|
|
2310
|
+
}
|
|
2311
|
+
function Go(e) {
|
|
2312
|
+
return 'url("' + Wo(e) + '")';
|
|
2313
|
+
}
|
|
2314
|
+
const Fe = {
|
|
2315
|
+
...Ke,
|
|
2316
|
+
inline: !1
|
|
2317
|
+
}, Yo = {
|
|
2318
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2319
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
2320
|
+
"aria-hidden": !0,
|
|
2321
|
+
role: "img"
|
|
2322
|
+
}, Qo = {
|
|
2323
|
+
display: "inline-block"
|
|
2324
|
+
}, Q = {
|
|
2325
|
+
backgroundColor: "currentColor"
|
|
2326
|
+
}, Je = {
|
|
2327
|
+
backgroundColor: "transparent"
|
|
2328
|
+
}, De = {
|
|
2329
|
+
Image: "var(--svg)",
|
|
2330
|
+
Repeat: "no-repeat",
|
|
2331
|
+
Size: "100% 100%"
|
|
2332
|
+
}, ke = {
|
|
2333
|
+
webkitMask: Q,
|
|
2334
|
+
mask: Q,
|
|
2335
|
+
background: Je
|
|
2336
|
+
};
|
|
2337
|
+
for (const e in ke) {
|
|
2338
|
+
const t = ke[e];
|
|
2339
|
+
for (const o in De)
|
|
2340
|
+
t[e + o] = De[o];
|
|
2341
|
+
}
|
|
2342
|
+
const j = {};
|
|
2343
|
+
["horizontal", "vertical"].forEach((e) => {
|
|
2344
|
+
const t = e.slice(0, 1) + "Flip";
|
|
2345
|
+
j[e + "-flip"] = t, j[e.slice(0, 1) + "-flip"] = t, j[e + "Flip"] = t;
|
|
2346
|
+
});
|
|
2347
|
+
function xe(e) {
|
|
2348
|
+
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2349
|
+
}
|
|
2350
|
+
const Zo = (e, t) => {
|
|
2351
|
+
const o = Po(Fe, t), n = { ...Yo }, a = t.mode || "svg", r = {}, i = t.style, u = typeof i == "object" && !(i instanceof Array) ? i : {};
|
|
2352
|
+
for (let c in t) {
|
|
2353
|
+
const l = t[c];
|
|
2354
|
+
if (l !== void 0)
|
|
2355
|
+
switch (c) {
|
|
2356
|
+
// Properties to ignore
|
|
2357
|
+
case "icon":
|
|
2358
|
+
case "style":
|
|
2359
|
+
case "onLoad":
|
|
2360
|
+
case "mode":
|
|
2361
|
+
case "ssr":
|
|
2362
|
+
break;
|
|
2363
|
+
// Boolean attributes
|
|
2364
|
+
case "inline":
|
|
2365
|
+
case "hFlip":
|
|
2366
|
+
case "vFlip":
|
|
2367
|
+
o[c] = l === !0 || l === "true" || l === 1;
|
|
2368
|
+
break;
|
|
2369
|
+
// Flip as string: 'horizontal,vertical'
|
|
2370
|
+
case "flip":
|
|
2371
|
+
typeof l == "string" && Ro(o, l);
|
|
2372
|
+
break;
|
|
2373
|
+
// Color: override style
|
|
2374
|
+
case "color":
|
|
2375
|
+
r.color = l;
|
|
2376
|
+
break;
|
|
2377
|
+
// Rotation as string
|
|
2378
|
+
case "rotate":
|
|
2379
|
+
typeof l == "string" ? o[c] = Oo(l) : typeof l == "number" && (o[c] = l);
|
|
2380
|
+
break;
|
|
2381
|
+
// Remove aria-hidden
|
|
2382
|
+
case "ariaHidden":
|
|
2383
|
+
case "aria-hidden":
|
|
2384
|
+
l !== !0 && l !== "true" && delete n["aria-hidden"];
|
|
2385
|
+
break;
|
|
2386
|
+
default: {
|
|
2387
|
+
const I = j[c];
|
|
2388
|
+
I ? (l === !0 || l === "true" || l === 1) && (o[I] = !0) : Fe[c] === void 0 && (n[c] = l);
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
const d = _o(e, o), s = d.attributes;
|
|
2393
|
+
if (o.inline && (r.verticalAlign = "-0.125em"), a === "svg") {
|
|
2394
|
+
n.style = {
|
|
2395
|
+
...r,
|
|
2396
|
+
...u
|
|
2397
|
+
}, Object.assign(n, s);
|
|
2398
|
+
let c = 0, l = t.id;
|
|
2399
|
+
return typeof l == "string" && (l = l.replace(/-/g, "_")), n.innerHTML = Vo(d.body, l ? () => l + "ID" + c++ : "iconifyVue"), k("svg", n);
|
|
2400
|
+
}
|
|
2401
|
+
const { body: m, width: p, height: E } = e, T = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), w = Ko(m, {
|
|
2402
|
+
...s,
|
|
2403
|
+
width: p + "",
|
|
2404
|
+
height: E + ""
|
|
2405
|
+
});
|
|
2406
|
+
return n.style = {
|
|
2407
|
+
...r,
|
|
2408
|
+
"--svg": Go(w),
|
|
2409
|
+
width: xe(s.width),
|
|
2410
|
+
height: xe(s.height),
|
|
2411
|
+
...Qo,
|
|
2412
|
+
...T ? Q : Je,
|
|
2413
|
+
...u
|
|
2414
|
+
}, k("span", n);
|
|
2415
|
+
}, ue = /* @__PURE__ */ Object.create(null);
|
|
2416
|
+
function Xo(e, t) {
|
|
2417
|
+
ue[e] = t;
|
|
2418
|
+
}
|
|
2419
|
+
function Bn(e, t) {
|
|
2420
|
+
const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
2421
|
+
No(e) && xo(e, (n, a) => {
|
|
2422
|
+
a && (ue[o + n] = a);
|
|
2423
|
+
});
|
|
2424
|
+
}
|
|
2425
|
+
const Ie = A({
|
|
2426
|
+
// Do not inherit other attributes: it is handled by render()
|
|
2427
|
+
inheritAttrs: !1,
|
|
2428
|
+
// Render icon
|
|
2429
|
+
render() {
|
|
2430
|
+
const e = this.$attrs, t = e.icon, o = typeof t == "string" ? ue[t] : typeof t == "object" ? t : null;
|
|
2431
|
+
return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : Zo({
|
|
2432
|
+
...ie,
|
|
2433
|
+
...o
|
|
2434
|
+
}, e);
|
|
2435
|
+
}
|
|
2436
|
+
}), en = A({
|
|
2437
|
+
name: "IconOffline",
|
|
2438
|
+
components: { IconifyIcon: Ie },
|
|
2439
|
+
props: {
|
|
2440
|
+
icon: {
|
|
2441
|
+
default: null
|
|
2442
|
+
}
|
|
2443
|
+
},
|
|
2444
|
+
render() {
|
|
2445
|
+
typeof this.icon == "object" && Xo(this.icon, this.icon);
|
|
2446
|
+
const e = this.$attrs;
|
|
2447
|
+
return k(
|
|
2448
|
+
Ie,
|
|
2449
|
+
{
|
|
2450
|
+
icon: this.icon,
|
|
2451
|
+
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
2452
|
+
...e
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
default: () => []
|
|
2456
|
+
}
|
|
2457
|
+
);
|
|
2458
|
+
}
|
|
2459
|
+
});
|
|
2460
|
+
A({
|
|
2461
|
+
name: "IconifyIconOnline",
|
|
2462
|
+
components: { IconifyIcon: he },
|
|
2463
|
+
props: {
|
|
2464
|
+
icon: {
|
|
2465
|
+
type: String,
|
|
2466
|
+
default: ""
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
render() {
|
|
2470
|
+
const e = this.$attrs;
|
|
2471
|
+
return k(
|
|
2472
|
+
he,
|
|
2473
|
+
{
|
|
2474
|
+
icon: `${this.icon}`,
|
|
2475
|
+
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
2476
|
+
...e
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
default: () => []
|
|
2480
|
+
}
|
|
2481
|
+
);
|
|
2482
|
+
}
|
|
2483
|
+
});
|
|
2484
|
+
const tn = A({
|
|
2485
|
+
name: "FontIcon",
|
|
2486
|
+
props: {
|
|
2487
|
+
icon: {
|
|
2488
|
+
type: String,
|
|
2489
|
+
default: ""
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
render() {
|
|
2493
|
+
const e = this.$attrs;
|
|
2494
|
+
return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? k(
|
|
2495
|
+
"i",
|
|
2496
|
+
{
|
|
2497
|
+
class: "iconfont",
|
|
2498
|
+
...e
|
|
2499
|
+
},
|
|
2500
|
+
this.icon
|
|
2501
|
+
) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? k(
|
|
2502
|
+
"svg",
|
|
2503
|
+
{
|
|
2504
|
+
class: "icon-svg",
|
|
2505
|
+
"aria-hidden": !0
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
default: () => [
|
|
2509
|
+
k("use", {
|
|
2510
|
+
"xlink:href": `#${this.icon}`
|
|
2511
|
+
})
|
|
2512
|
+
]
|
|
2513
|
+
}
|
|
2514
|
+
) : k("i", {
|
|
2515
|
+
class: `iconfont ${this.icon}`,
|
|
2516
|
+
...e
|
|
2517
|
+
});
|
|
2518
|
+
}
|
|
2519
|
+
}), on = en, nn = tn, an = {
|
|
2520
|
+
mounted(e, t) {
|
|
2521
|
+
var n;
|
|
2522
|
+
const { value: o } = t;
|
|
2523
|
+
if (o) {
|
|
2524
|
+
const r = `${(n = h.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
|
|
2525
|
+
f().getButtonAuth.includes(r) || e.parentNode.removeChild(e);
|
|
2526
|
+
} else
|
|
2527
|
+
throw new Error(`need roles! Like v-auth="['admin','test']"`);
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
function rn(e) {
|
|
2531
|
+
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
|
|
2532
|
+
var n = e.get(t);
|
|
2533
|
+
n ? n.push(o) : e.set(t, [o]);
|
|
2534
|
+
}, off: function(t, o) {
|
|
2535
|
+
var n = e.get(t);
|
|
2536
|
+
n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : e.set(t, []));
|
|
2537
|
+
}, emit: function(t, o) {
|
|
2538
|
+
var n = e.get(t);
|
|
2539
|
+
n && n.slice().map(function(a) {
|
|
2540
|
+
a(o);
|
|
2541
|
+
}), (n = e.get("*")) && n.slice().map(function(a) {
|
|
2542
|
+
a(t, o);
|
|
2543
|
+
});
|
|
2544
|
+
} };
|
|
2545
|
+
}
|
|
2546
|
+
const sn = rn(), Ne = gt({
|
|
2547
|
+
strategy: "scroll"
|
|
2548
|
+
}), un = {
|
|
2549
|
+
mounted(e, t, o) {
|
|
2550
|
+
Ne.listenTo(e, (n) => {
|
|
2551
|
+
const a = n.offsetWidth, r = n.offsetHeight;
|
|
2552
|
+
t != null && t.instance ? sn.emit("resize", { detail: { width: a, height: r } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: r } }));
|
|
2553
|
+
});
|
|
2554
|
+
},
|
|
2555
|
+
unmounted(e) {
|
|
2556
|
+
Ne.uninstall(e);
|
|
2557
|
+
}
|
|
2558
|
+
}, Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2559
|
+
__proto__: null,
|
|
2560
|
+
auth: an,
|
|
2561
|
+
resize: un
|
|
2562
|
+
}, Symbol.toStringTag, { value: "Module" })), y = Ze(It);
|
|
2563
|
+
y.use(ht, {
|
|
2564
|
+
defaultProps: { animation: "perspective" }
|
|
2565
|
+
});
|
|
2566
|
+
const ln = (e) => {
|
|
2567
|
+
e.config.globalProperties.$hasAuthority = So, e.config.globalProperties.$serviceApi = $(), e.config.globalProperties.$url = C();
|
|
2568
|
+
}, cn = (e) => {
|
|
2569
|
+
Object.keys(Pe).forEach((t) => {
|
|
2570
|
+
e.directive(t, Pe[t]);
|
|
2571
|
+
});
|
|
2572
|
+
}, zn = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: r }) => (co(n, e), y.use(e), St(e), Et(y, t), Tt(a), go(r), new Promise((i) => {
|
|
2573
|
+
qt(y, o), y.component("IconifyIconOffline", on), y.component("FontIcon", nn), y.use(pt, { defaultOptions: { zIndex: 9999 } }), ln(y), cn(y), Nt(y), To(y, t), i({ app: y, router: e });
|
|
2574
|
+
})), dn = {
|
|
2575
|
+
onLogined: () => {
|
|
2576
|
+
},
|
|
2577
|
+
onBeforeLogout: () => {
|
|
2578
|
+
}
|
|
2579
|
+
}, jn = () => {
|
|
2580
|
+
dn.onLogined();
|
|
2581
|
+
};
|
|
2582
|
+
export {
|
|
2583
|
+
kn as A,
|
|
2584
|
+
xn as B,
|
|
2585
|
+
Nn as C,
|
|
2586
|
+
Wt as D,
|
|
2587
|
+
jn as E,
|
|
2588
|
+
nn as F,
|
|
2589
|
+
zn as G,
|
|
2590
|
+
So as H,
|
|
2591
|
+
on as I,
|
|
2592
|
+
dn as J,
|
|
2593
|
+
Ln as K,
|
|
2594
|
+
An as L,
|
|
2595
|
+
Pn as M,
|
|
2596
|
+
kt as _,
|
|
2597
|
+
Bn as a,
|
|
2598
|
+
Xo as b,
|
|
2599
|
+
In as c,
|
|
2600
|
+
f as d,
|
|
2601
|
+
z as e,
|
|
2602
|
+
_e as f,
|
|
2603
|
+
oe as g,
|
|
2604
|
+
sn as h,
|
|
2605
|
+
ge as i,
|
|
2606
|
+
ne as j,
|
|
2607
|
+
vt as k,
|
|
2608
|
+
Dn as l,
|
|
2609
|
+
Fn as m,
|
|
2610
|
+
Ct as n,
|
|
2611
|
+
On as o,
|
|
2612
|
+
Rn as p,
|
|
2613
|
+
$ as q,
|
|
2614
|
+
h as r,
|
|
2615
|
+
q as s,
|
|
2616
|
+
Ht as t,
|
|
2617
|
+
x as u,
|
|
2618
|
+
F as v,
|
|
2619
|
+
eo as w,
|
|
2620
|
+
C as x,
|
|
2621
|
+
oo as y,
|
|
2622
|
+
Mn as z
|
|
2623
|
+
};
|