@utogether/udp-core 1.0.2 → 1.0.3
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-B1rIjAAu.js → 403-D6H3sArg.js} +1 -1
- package/dist/{404-mBqc2y4t.js → 404-DTyfysQ2.js} +1 -1
- package/dist/{500-BoI45Zdh.js → 500-DKaVDaBm.js} +1 -1
- package/dist/{AuthorityInfo-B08NBIIn.js → AuthorityInfo-DQULR69Y.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js} +1 -1
- package/dist/{Company-JGGyWEWH.js → Company-BWFrR-Cq.js} +3 -3
- package/dist/{CompanyPanel-BQ_cCmDx.js → CompanyPanel-Dh814lsw.js} +1 -1
- package/dist/{Department-z2iO6hwM.js → Department-DagPxerl.js} +3 -3
- package/dist/{DepartmentPanel-BtQe7zwU.js → DepartmentPanel-BVy2YGED.js} +1 -1
- package/dist/{DesignPanel-7mhtVWas.js → DesignPanel-DKfjfj2S.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js → DesignPanel.vue_vue_type_style_index_0_lang-D-a8W08Y.js} +2 -2
- package/dist/{DictView-CjchV2Yk.js → DictView-CE5nEiKu.js} +10 -9
- package/dist/{InvOrganization-Pn1O_XP0.js → InvOrganization-CZk_EbFZ.js} +1 -1
- package/dist/{Org-BqytV_vi.js → Org-BO8jfnqN.js} +1 -1
- package/dist/{Preview-CLpUUMay.js → Preview-DYJaP96f.js} +1 -1
- package/dist/{ReportDefine-Cz1KtEUF.js → ReportDefine-DZXbs7iX.js} +1 -1
- package/dist/{ReportDesign-BaORYud4.js → ReportDesign-CSdqOQ1D.js} +2 -2
- package/dist/{ReportQuery-CPCPXiXz.js → ReportQuery-_Vdt3CnA.js} +1 -1
- package/dist/{ReportQueryFrom-C_AcrfkJ.js → ReportQueryFrom-BWKddh9p.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Bm67ejay.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DbdGwioi.js} +1 -1
- package/dist/{ReportTemplate-CFiNMz79.js → ReportTemplate-DS-DGao8.js} +1 -1
- package/dist/{Role-B-XDoJd5.js → Role-BM0kEu7y.js} +3 -3
- package/dist/{RoleAssign-BolW8YVs.js → RoleAssign-Cp05HUWn.js} +3 -3
- package/dist/{RolePanel-HilSuYns.js → RolePanel-DeuHpCdK.js} +1 -1
- package/dist/{RolePanel-2kfs5tw9.js → RolePanel-hXeshcCZ.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js → RolePanel.vue_vue_type_script_setup_true_lang-Bf0pSCTN.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js → RolePanel.vue_vue_type_script_setup_true_lang-CNyWCIJm.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCTH4RkH.js → ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js} +1 -1
- package/dist/{Staff-BTk3whFC.js → Staff-DLltLFMl.js} +3 -3
- package/dist/{StaffInfo-d3AuSzlA.js → StaffInfo-pfELaI_i.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-eOL4VlfE.js → StaffInfo.vue_vue_type_script_setup_true_lang-BKKdNggm.js} +1 -1
- package/dist/{StaffPanel-DV-D4jjz.js → StaffPanel-D3Pk28JN.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js → StaffPanel.vue_vue_type_script_setup_true_lang-D9HLeyKe.js} +47 -39
- package/dist/{SysUser-BnjYytws.js → SysUser-BOh7ejz3.js} +2 -2
- package/dist/{SysUserPanel-CBoyD-Qi.js → SysUserPanel-RElVo0BV.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-PrTlTZR-.js → SysUserPanel.vue_vue_type_script_setup_true_lang-DoW0v5y9.js} +1 -1
- package/dist/{SystemMenu-kYB_ZaUt.js → SystemMenu-DZneBqKO.js} +28 -28
- package/dist/{UserInfo-4dx97VBL.js → UserInfo-D9qo_f_9.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js → UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js} +1 -1
- package/dist/{childView-CHPNfTEb.js → childView-CmlGxD9G.js} +1 -1
- package/dist/{childView-CKA_JgVZ.js → childView-DStrPumM.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js → childView.vue_vue_type_style_index_0_lang-B9k694be.js} +19 -20
- package/dist/{childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js → childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js} +31 -31
- package/dist/{code-rule-CbxuZg0-.js → code-rule-CxzgQDH_.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-nTOpqQYf.js → cron-task-kbyRTz97.js} +1 -1
- package/dist/{frameView-Z1tPUyCh.js → frameView-BawZlIge.js} +1 -1
- package/dist/index-nkstuOxE.js +5533 -0
- package/dist/{layoutView--MGA9zUB.js → layoutView-DVGqPJmA.js} +1 -1
- package/dist/{log-in-CSYJDA6m.js → log-in-j2PZGLQH.js} +1 -1
- package/dist/{log-out-DiwGCg7p.js → log-out-DIJU-Vpf.js} +1 -1
- package/dist/{login-C6Y0ajDp.js → login-DvmHMcgD.js} +1 -1
- package/dist/{login-log-C0V-_l3F.js → login-log-DJBGJVV0.js} +4 -4
- package/dist/{lov-view-Cmv7wZZ9.js → lov-view-C-dIDLh8.js} +2 -2
- package/dist/{menuInfo-UeutJpOa.js → menuInfo-D0mcKmrT.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js → menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js} +1 -1
- package/dist/{pda-app-B6w99SJo.js → pda-app-BjvyTDkw.js} +1 -1
- package/dist/{resource-BybJvUv0.js → resource-BknIxaTQ.js} +1 -1
- package/dist/{su-welcome-C1bmxHoY.js → su-welcome-CwtvamZC.js} +20 -20
- package/dist/{sys-config-BnmIDnCj.js → sys-config-CCKhGcCL.js} +1 -1
- package/package.json +1 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +950 -945
- package/src/utils/dataFormat/index.ts +17 -18
- package/src/views/organization/staff/StaffPanel.vue +12 -3
- package/src/views/system/menu/SystemMenu.vue +185 -185
- package/src/views/udev/dict/DictView.vue +2 -2
- package/src/views/udev/dict/childView.vue +6 -6
- package/src/views/udev/lov/childView.vue +174 -174
- package/src/views/uhome/components/menu-favorite.vue +3 -2
- package/src/views/upms/user/login-log.vue +5 -5
- package/dist/index-C3q8HoJM.js +0 -4650
package/dist/index-C3q8HoJM.js
DELETED
|
@@ -1,4650 +0,0 @@
|
|
|
1
|
-
import * as Cn from "vue";
|
|
2
|
-
import { defineComponent as Re, resolveComponent as It, createBlock as ar, openBlock as Sn, withCtx as sr, createVNode as mo, toRaw as ro, isProxy as Ao, defineAsyncComponent as lr, useAttrs as ur, getCurrentInstance as cr, ref as Qe, reactive as dr, nextTick as fr, onUnmounted as hr, onBeforeMount as mr, createElementBlock as pr, mergeProps as gr, toHandlers as yr, unref as vr, h as De, createApp as br, computed as Lo } from "vue";
|
|
3
|
-
import { ElConfigProvider as Bo } from "element-plus";
|
|
4
|
-
import { checkVersion as wr } from "version-rocket";
|
|
5
|
-
import { useI18n as po, createI18n as Er } from "vue-i18n";
|
|
6
|
-
import { http as pe, storageLocal as _, cookies as Me, buildHierarchyTree as go, dbstorage as et, isUrl as Tn, openLink as Cr, NProgress as Sr, VxetableRender as Tr, useRender as Dr, formatRules as zo, i18nColums as xr, warnMessage as Uo, errorMessage as kr, useGlobal as Dn, deviceDetection as Ir, storageSession as Fr } from "@utogether/utils";
|
|
7
|
-
import { merge as yo, clone as ee, findLastIndexOf as Pr, isEqual as jo, findIndexOf as Or, isEmpty as qe, toDateString as B, getWhatDay as Pe, isArray as _r, isString as He, isFunction as Nr, orderBy as Mr, isObject as Rr } from "xe-utils";
|
|
8
|
-
import { createPinia as Ar, defineStore as st } from "pinia";
|
|
9
|
-
import { useTimeoutFn as Lr } from "@vueuse/core";
|
|
10
|
-
import xn, { VxeUI as le } from "vxe-table";
|
|
11
|
-
import { Icon as qo } from "@iconify/vue";
|
|
12
|
-
import Br from "vue-tippy";
|
|
13
|
-
import zr from "element-resize-detector";
|
|
14
|
-
var Ur = {
|
|
15
|
-
name: "en",
|
|
16
|
-
el: {
|
|
17
|
-
breadcrumb: {
|
|
18
|
-
label: "Breadcrumb"
|
|
19
|
-
},
|
|
20
|
-
colorpicker: {
|
|
21
|
-
confirm: "OK",
|
|
22
|
-
clear: "Clear",
|
|
23
|
-
defaultLabel: "color picker",
|
|
24
|
-
description: "current color is {color}. press enter to select a new color.",
|
|
25
|
-
alphaLabel: "pick alpha value"
|
|
26
|
-
},
|
|
27
|
-
datepicker: {
|
|
28
|
-
now: "Now",
|
|
29
|
-
today: "Today",
|
|
30
|
-
cancel: "Cancel",
|
|
31
|
-
clear: "Clear",
|
|
32
|
-
confirm: "OK",
|
|
33
|
-
dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
|
|
34
|
-
monthTablePrompt: "Use the arrow keys and enter to select the month",
|
|
35
|
-
yearTablePrompt: "Use the arrow keys and enter to select the year",
|
|
36
|
-
selectedDate: "Selected date",
|
|
37
|
-
selectDate: "Select date",
|
|
38
|
-
selectTime: "Select time",
|
|
39
|
-
startDate: "Start Date",
|
|
40
|
-
startTime: "Start Time",
|
|
41
|
-
endDate: "End Date",
|
|
42
|
-
endTime: "End Time",
|
|
43
|
-
prevYear: "Previous Year",
|
|
44
|
-
nextYear: "Next Year",
|
|
45
|
-
prevMonth: "Previous Month",
|
|
46
|
-
nextMonth: "Next Month",
|
|
47
|
-
year: "",
|
|
48
|
-
month1: "January",
|
|
49
|
-
month2: "February",
|
|
50
|
-
month3: "March",
|
|
51
|
-
month4: "April",
|
|
52
|
-
month5: "May",
|
|
53
|
-
month6: "June",
|
|
54
|
-
month7: "July",
|
|
55
|
-
month8: "August",
|
|
56
|
-
month9: "September",
|
|
57
|
-
month10: "October",
|
|
58
|
-
month11: "November",
|
|
59
|
-
month12: "December",
|
|
60
|
-
week: "week",
|
|
61
|
-
weeks: {
|
|
62
|
-
sun: "Sun",
|
|
63
|
-
mon: "Mon",
|
|
64
|
-
tue: "Tue",
|
|
65
|
-
wed: "Wed",
|
|
66
|
-
thu: "Thu",
|
|
67
|
-
fri: "Fri",
|
|
68
|
-
sat: "Sat"
|
|
69
|
-
},
|
|
70
|
-
weeksFull: {
|
|
71
|
-
sun: "Sunday",
|
|
72
|
-
mon: "Monday",
|
|
73
|
-
tue: "Tuesday",
|
|
74
|
-
wed: "Wednesday",
|
|
75
|
-
thu: "Thursday",
|
|
76
|
-
fri: "Friday",
|
|
77
|
-
sat: "Saturday"
|
|
78
|
-
},
|
|
79
|
-
months: {
|
|
80
|
-
jan: "Jan",
|
|
81
|
-
feb: "Feb",
|
|
82
|
-
mar: "Mar",
|
|
83
|
-
apr: "Apr",
|
|
84
|
-
may: "May",
|
|
85
|
-
jun: "Jun",
|
|
86
|
-
jul: "Jul",
|
|
87
|
-
aug: "Aug",
|
|
88
|
-
sep: "Sep",
|
|
89
|
-
oct: "Oct",
|
|
90
|
-
nov: "Nov",
|
|
91
|
-
dec: "Dec"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
inputNumber: {
|
|
95
|
-
decrease: "decrease number",
|
|
96
|
-
increase: "increase number"
|
|
97
|
-
},
|
|
98
|
-
select: {
|
|
99
|
-
loading: "Loading",
|
|
100
|
-
noMatch: "No matching data",
|
|
101
|
-
noData: "No data",
|
|
102
|
-
placeholder: "Select"
|
|
103
|
-
},
|
|
104
|
-
mention: {
|
|
105
|
-
loading: "Loading"
|
|
106
|
-
},
|
|
107
|
-
dropdown: {
|
|
108
|
-
toggleDropdown: "Toggle Dropdown"
|
|
109
|
-
},
|
|
110
|
-
cascader: {
|
|
111
|
-
noMatch: "No matching data",
|
|
112
|
-
loading: "Loading",
|
|
113
|
-
placeholder: "Select",
|
|
114
|
-
noData: "No data"
|
|
115
|
-
},
|
|
116
|
-
pagination: {
|
|
117
|
-
goto: "Go to",
|
|
118
|
-
pagesize: "/page",
|
|
119
|
-
total: "Total {total}",
|
|
120
|
-
pageClassifier: "",
|
|
121
|
-
page: "Page",
|
|
122
|
-
prev: "Go to previous page",
|
|
123
|
-
next: "Go to next page",
|
|
124
|
-
currentPage: "page {pager}",
|
|
125
|
-
prevPages: "Previous {pager} pages",
|
|
126
|
-
nextPages: "Next {pager} pages",
|
|
127
|
-
deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
|
|
128
|
-
},
|
|
129
|
-
dialog: {
|
|
130
|
-
close: "Close this dialog"
|
|
131
|
-
},
|
|
132
|
-
drawer: {
|
|
133
|
-
close: "Close this dialog"
|
|
134
|
-
},
|
|
135
|
-
messagebox: {
|
|
136
|
-
title: "Message",
|
|
137
|
-
confirm: "OK",
|
|
138
|
-
cancel: "Cancel",
|
|
139
|
-
error: "Illegal input",
|
|
140
|
-
close: "Close this dialog"
|
|
141
|
-
},
|
|
142
|
-
upload: {
|
|
143
|
-
deleteTip: "press delete to remove",
|
|
144
|
-
delete: "Delete",
|
|
145
|
-
preview: "Preview",
|
|
146
|
-
continue: "Continue"
|
|
147
|
-
},
|
|
148
|
-
slider: {
|
|
149
|
-
defaultLabel: "slider between {min} and {max}",
|
|
150
|
-
defaultRangeStartLabel: "pick start value",
|
|
151
|
-
defaultRangeEndLabel: "pick end value"
|
|
152
|
-
},
|
|
153
|
-
table: {
|
|
154
|
-
emptyText: "No Data",
|
|
155
|
-
confirmFilter: "Confirm",
|
|
156
|
-
resetFilter: "Reset",
|
|
157
|
-
clearFilter: "All",
|
|
158
|
-
sumText: "Sum"
|
|
159
|
-
},
|
|
160
|
-
tour: {
|
|
161
|
-
next: "Next",
|
|
162
|
-
previous: "Previous",
|
|
163
|
-
finish: "Finish"
|
|
164
|
-
},
|
|
165
|
-
tree: {
|
|
166
|
-
emptyText: "No Data"
|
|
167
|
-
},
|
|
168
|
-
transfer: {
|
|
169
|
-
noMatch: "No matching data",
|
|
170
|
-
noData: "No data",
|
|
171
|
-
titles: ["List 1", "List 2"],
|
|
172
|
-
filterPlaceholder: "Enter keyword",
|
|
173
|
-
noCheckedFormat: "{total} items",
|
|
174
|
-
hasCheckedFormat: "{checked}/{total} checked"
|
|
175
|
-
},
|
|
176
|
-
image: {
|
|
177
|
-
error: "FAILED"
|
|
178
|
-
},
|
|
179
|
-
pageHeader: {
|
|
180
|
-
title: "Back"
|
|
181
|
-
},
|
|
182
|
-
popconfirm: {
|
|
183
|
-
confirmButtonText: "Yes",
|
|
184
|
-
cancelButtonText: "No"
|
|
185
|
-
},
|
|
186
|
-
carousel: {
|
|
187
|
-
leftArrow: "Carousel arrow left",
|
|
188
|
-
rightArrow: "Carousel arrow right",
|
|
189
|
-
indicator: "Carousel switch to index {index}"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}, jr = {
|
|
193
|
-
name: "zh-cn",
|
|
194
|
-
el: {
|
|
195
|
-
breadcrumb: {
|
|
196
|
-
label: "面包屑"
|
|
197
|
-
},
|
|
198
|
-
colorpicker: {
|
|
199
|
-
confirm: "确定",
|
|
200
|
-
clear: "清空",
|
|
201
|
-
defaultLabel: "颜色选择器",
|
|
202
|
-
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
203
|
-
alphaLabel: "选择透明度的值"
|
|
204
|
-
},
|
|
205
|
-
datepicker: {
|
|
206
|
-
now: "此刻",
|
|
207
|
-
today: "今天",
|
|
208
|
-
cancel: "取消",
|
|
209
|
-
clear: "清空",
|
|
210
|
-
confirm: "确定",
|
|
211
|
-
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
212
|
-
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
213
|
-
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
214
|
-
selectedDate: "已选日期",
|
|
215
|
-
selectDate: "选择日期",
|
|
216
|
-
selectTime: "选择时间",
|
|
217
|
-
startDate: "开始日期",
|
|
218
|
-
startTime: "开始时间",
|
|
219
|
-
endDate: "结束日期",
|
|
220
|
-
endTime: "结束时间",
|
|
221
|
-
prevYear: "前一年",
|
|
222
|
-
nextYear: "后一年",
|
|
223
|
-
prevMonth: "上个月",
|
|
224
|
-
nextMonth: "下个月",
|
|
225
|
-
year: "年",
|
|
226
|
-
month1: "1 月",
|
|
227
|
-
month2: "2 月",
|
|
228
|
-
month3: "3 月",
|
|
229
|
-
month4: "4 月",
|
|
230
|
-
month5: "5 月",
|
|
231
|
-
month6: "6 月",
|
|
232
|
-
month7: "7 月",
|
|
233
|
-
month8: "8 月",
|
|
234
|
-
month9: "9 月",
|
|
235
|
-
month10: "10 月",
|
|
236
|
-
month11: "11 月",
|
|
237
|
-
month12: "12 月",
|
|
238
|
-
weeks: {
|
|
239
|
-
sun: "日",
|
|
240
|
-
mon: "一",
|
|
241
|
-
tue: "二",
|
|
242
|
-
wed: "三",
|
|
243
|
-
thu: "四",
|
|
244
|
-
fri: "五",
|
|
245
|
-
sat: "六"
|
|
246
|
-
},
|
|
247
|
-
weeksFull: {
|
|
248
|
-
sun: "星期日",
|
|
249
|
-
mon: "星期一",
|
|
250
|
-
tue: "星期二",
|
|
251
|
-
wed: "星期三",
|
|
252
|
-
thu: "星期四",
|
|
253
|
-
fri: "星期五",
|
|
254
|
-
sat: "星期六"
|
|
255
|
-
},
|
|
256
|
-
months: {
|
|
257
|
-
jan: "一月",
|
|
258
|
-
feb: "二月",
|
|
259
|
-
mar: "三月",
|
|
260
|
-
apr: "四月",
|
|
261
|
-
may: "五月",
|
|
262
|
-
jun: "六月",
|
|
263
|
-
jul: "七月",
|
|
264
|
-
aug: "八月",
|
|
265
|
-
sep: "九月",
|
|
266
|
-
oct: "十月",
|
|
267
|
-
nov: "十一月",
|
|
268
|
-
dec: "十二月"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
inputNumber: {
|
|
272
|
-
decrease: "减少数值",
|
|
273
|
-
increase: "增加数值"
|
|
274
|
-
},
|
|
275
|
-
select: {
|
|
276
|
-
loading: "加载中",
|
|
277
|
-
noMatch: "无匹配数据",
|
|
278
|
-
noData: "无数据",
|
|
279
|
-
placeholder: "请选择"
|
|
280
|
-
},
|
|
281
|
-
dropdown: {
|
|
282
|
-
toggleDropdown: "切换下拉选项"
|
|
283
|
-
},
|
|
284
|
-
mention: {
|
|
285
|
-
loading: "加载中"
|
|
286
|
-
},
|
|
287
|
-
cascader: {
|
|
288
|
-
noMatch: "无匹配数据",
|
|
289
|
-
loading: "加载中",
|
|
290
|
-
placeholder: "请选择",
|
|
291
|
-
noData: "暂无数据"
|
|
292
|
-
},
|
|
293
|
-
pagination: {
|
|
294
|
-
goto: "前往",
|
|
295
|
-
pagesize: "条/页",
|
|
296
|
-
total: "共 {total} 条",
|
|
297
|
-
pageClassifier: "页",
|
|
298
|
-
page: "页",
|
|
299
|
-
prev: "上一页",
|
|
300
|
-
next: "下一页",
|
|
301
|
-
currentPage: "第 {pager} 页",
|
|
302
|
-
prevPages: "向前 {pager} 页",
|
|
303
|
-
nextPages: "向后 {pager} 页",
|
|
304
|
-
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
305
|
-
},
|
|
306
|
-
dialog: {
|
|
307
|
-
close: "关闭此对话框"
|
|
308
|
-
},
|
|
309
|
-
drawer: {
|
|
310
|
-
close: "关闭此对话框"
|
|
311
|
-
},
|
|
312
|
-
messagebox: {
|
|
313
|
-
title: "提示",
|
|
314
|
-
confirm: "确定",
|
|
315
|
-
cancel: "取消",
|
|
316
|
-
error: "输入的数据不合法!",
|
|
317
|
-
close: "关闭此对话框"
|
|
318
|
-
},
|
|
319
|
-
upload: {
|
|
320
|
-
deleteTip: "按 Delete 键可删除",
|
|
321
|
-
delete: "删除",
|
|
322
|
-
preview: "查看图片",
|
|
323
|
-
continue: "继续上传"
|
|
324
|
-
},
|
|
325
|
-
slider: {
|
|
326
|
-
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
327
|
-
defaultRangeStartLabel: "选择起始值",
|
|
328
|
-
defaultRangeEndLabel: "选择结束值"
|
|
329
|
-
},
|
|
330
|
-
table: {
|
|
331
|
-
emptyText: "暂无数据",
|
|
332
|
-
confirmFilter: "筛选",
|
|
333
|
-
resetFilter: "重置",
|
|
334
|
-
clearFilter: "全部",
|
|
335
|
-
sumText: "合计"
|
|
336
|
-
},
|
|
337
|
-
tour: {
|
|
338
|
-
next: "下一步",
|
|
339
|
-
previous: "上一步",
|
|
340
|
-
finish: "结束导览"
|
|
341
|
-
},
|
|
342
|
-
tree: {
|
|
343
|
-
emptyText: "暂无数据"
|
|
344
|
-
},
|
|
345
|
-
transfer: {
|
|
346
|
-
noMatch: "无匹配数据",
|
|
347
|
-
noData: "无数据",
|
|
348
|
-
titles: ["列表 1", "列表 2"],
|
|
349
|
-
filterPlaceholder: "请输入搜索内容",
|
|
350
|
-
noCheckedFormat: "共 {total} 项",
|
|
351
|
-
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
352
|
-
},
|
|
353
|
-
image: {
|
|
354
|
-
error: "加载失败"
|
|
355
|
-
},
|
|
356
|
-
pageHeader: {
|
|
357
|
-
title: "返回"
|
|
358
|
-
},
|
|
359
|
-
popconfirm: {
|
|
360
|
-
confirmButtonText: "确定",
|
|
361
|
-
cancelButtonText: "取消"
|
|
362
|
-
},
|
|
363
|
-
carousel: {
|
|
364
|
-
leftArrow: "上一张幻灯片",
|
|
365
|
-
rightArrow: "下一张幻灯片",
|
|
366
|
-
indicator: "幻灯片切换至索引 {index}"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
const qr = "menu_zh", $r = "menu_en", Wr = "authorized-token", Hr = "kCookies_token", Vr = "kSysConfig", kn = "loginer";
|
|
371
|
-
let io = {}, In = {};
|
|
372
|
-
const Yr = (e, t) => {
|
|
373
|
-
io = Object.assign(io, t), e.config.globalProperties.$config = ue();
|
|
374
|
-
}, ue = () => io, Gr = (e = {}) => {
|
|
375
|
-
In = e;
|
|
376
|
-
}, $o = () => In, $ = () => ue().ResponsiveStorageNameSpace, At = () => ({
|
|
377
|
-
post: (e, t, o) => pe.post(`${ge()}${e}`, t, o),
|
|
378
|
-
get: (e, t, o) => pe.get(`${ge()}${e}`, t, o),
|
|
379
|
-
put: (e, t) => pe.put(`${ge()}${e}`, t),
|
|
380
|
-
delete: (e, t) => pe.delete(`${ge()}${e}`, t)
|
|
381
|
-
}), Xr = (e) => {
|
|
382
|
-
pe.setRouter(e);
|
|
383
|
-
}, Kr = (e) => {
|
|
384
|
-
pe.setBaseUrl(e);
|
|
385
|
-
}, Jr = window.location.origin + "/gateway", ge = () => $o().VITE_BASE_URL === "origin" ? Jr : $o().VITE_BASE_URL, Zr = Re({
|
|
386
|
-
name: "app",
|
|
387
|
-
components: {
|
|
388
|
-
[Bo.name]: Bo
|
|
389
|
-
},
|
|
390
|
-
beforeRouteEnter(e, t, o) {
|
|
391
|
-
At().get("/upfm/v1/sysConfig", {}).then((n) => {
|
|
392
|
-
o();
|
|
393
|
-
});
|
|
394
|
-
},
|
|
395
|
-
computed: {
|
|
396
|
-
currentLocale() {
|
|
397
|
-
var e, t;
|
|
398
|
-
return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? jr : Ur;
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
beforeCreate() {
|
|
402
|
-
const { t: e } = po(), n = (_.getItem(Vr) || { title: "U-DP" }).title;
|
|
403
|
-
wr(
|
|
404
|
-
{
|
|
405
|
-
pollingTime: 3e5,
|
|
406
|
-
checkOriginSpecifiedFilesUrl: [`${location.origin}/index.html`],
|
|
407
|
-
enable: process.env.NODE_ENV !== "development"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
title: n,
|
|
411
|
-
description: e("message.udp.newVersion"),
|
|
412
|
-
buttonText: e("message.udp.updatenow"),
|
|
413
|
-
cancelButtonText: e("message.udp.updateLater")
|
|
414
|
-
}
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
}), Qr = (e, t) => {
|
|
418
|
-
const o = e.__vccOpts || e;
|
|
419
|
-
for (const [n, r] of t)
|
|
420
|
-
o[n] = r;
|
|
421
|
-
return o;
|
|
422
|
-
};
|
|
423
|
-
function ei(e, t, o, n, r, i) {
|
|
424
|
-
const a = It("router-view"), s = It("el-config-provider");
|
|
425
|
-
return Sn(), ar(s, {
|
|
426
|
-
size: "small",
|
|
427
|
-
"z-index": 5555,
|
|
428
|
-
locale: e.currentLocale
|
|
429
|
-
}, {
|
|
430
|
-
default: sr(() => [
|
|
431
|
-
mo(a)
|
|
432
|
-
]),
|
|
433
|
-
_: 1
|
|
434
|
-
}, 8, ["locale"]);
|
|
435
|
-
}
|
|
436
|
-
const ti = /* @__PURE__ */ Qr(Zr, [["render", ei]]), Ye = Ar();
|
|
437
|
-
function oi(e) {
|
|
438
|
-
e.use(Ye);
|
|
439
|
-
}
|
|
440
|
-
const lt = [
|
|
441
|
-
{
|
|
442
|
-
path: "/welcome",
|
|
443
|
-
name: "UdpWelcome",
|
|
444
|
-
meta: {
|
|
445
|
-
title: "message.udp.home",
|
|
446
|
-
icon: "home-filled"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
], Xs = (e) => {
|
|
450
|
-
const t = e.indexOf("windows nt 5.1") > -1 || e.indexOf("windows xp") > -1;
|
|
451
|
-
if (e.indexOf("windows xp") > -1, t) return "WinXP";
|
|
452
|
-
if (e.indexOf("windows nt 6.1") > -1 || e.indexOf("windows 7") > -1) return "Win7";
|
|
453
|
-
if (e.indexOf("windows nt6.2") > -1 || e.indexOf("windows 8") > -1) return "Win8";
|
|
454
|
-
if (e.indexOf("windows nt 10.0") > -1 || e.indexOf("windows 10") > -1) return "Win10";
|
|
455
|
-
}, Ks = (e) => {
|
|
456
|
-
let t = null;
|
|
457
|
-
const o = {
|
|
458
|
-
Chrome: e.indexOf("chrome") > -1 && e.indexOf("safari") > -1,
|
|
459
|
-
// Chrome浏览器
|
|
460
|
-
Firefox: e.indexOf("firefox") > -1,
|
|
461
|
-
// 火狐浏览器
|
|
462
|
-
Opera: e.indexOf("opera") > -1,
|
|
463
|
-
// Opera浏览器
|
|
464
|
-
Safari: e.indexOf("safari") > -1 && e.indexOf("chrome") == -1,
|
|
465
|
-
// safari浏览器
|
|
466
|
-
Edge: e.indexOf("edg") > -1,
|
|
467
|
-
// Edge浏览器
|
|
468
|
-
MetaSr: e.indexOf("metaSr") > -1,
|
|
469
|
-
// 搜狗浏览器
|
|
470
|
-
QQBrowser: /qqbrowser/.test(e),
|
|
471
|
-
// qq浏览器
|
|
472
|
-
WeixinBrowser: /MicroMessenger/i.test(e)
|
|
473
|
-
// 微信浏览器
|
|
474
|
-
};
|
|
475
|
-
let n = "";
|
|
476
|
-
for (const r in o)
|
|
477
|
-
o[r] && (n = e.match(/chrome\/([\d.]+)/)[1], t = r);
|
|
478
|
-
return { browser: t, browserVersion: n };
|
|
479
|
-
}, Lt = {
|
|
480
|
-
onBeforeLogined: () => {
|
|
481
|
-
},
|
|
482
|
-
onLogined: () => {
|
|
483
|
-
},
|
|
484
|
-
onBeforeLogout: () => {
|
|
485
|
-
},
|
|
486
|
-
onAfterLogout: () => {
|
|
487
|
-
}
|
|
488
|
-
}, Js = () => {
|
|
489
|
-
Lt.onBeforeLogined();
|
|
490
|
-
}, Zs = () => {
|
|
491
|
-
Lt.onLogined();
|
|
492
|
-
}, Qs = () => {
|
|
493
|
-
Lt.onBeforeLogout();
|
|
494
|
-
}, el = () => {
|
|
495
|
-
Lt.onAfterLogout();
|
|
496
|
-
}, ni = (e, t) => {
|
|
497
|
-
const o = [];
|
|
498
|
-
for (const n of e)
|
|
499
|
-
n[t] && o.push(n[t]);
|
|
500
|
-
return Array.from(new Set(o));
|
|
501
|
-
}, Fn = (e) => {
|
|
502
|
-
const t = e.replace("#", "").match(/../g);
|
|
503
|
-
for (let o = 0; o < 3; o++) t[o] = parseInt(t[o], 16);
|
|
504
|
-
return t;
|
|
505
|
-
}, Pn = (e, t, o) => {
|
|
506
|
-
const n = [e.toString(16), t.toString(16), o.toString(16)];
|
|
507
|
-
for (let r = 0; r < 3; r++)
|
|
508
|
-
n[r].length == 1 && (n[r] = `0${n[r]}`);
|
|
509
|
-
return `#${n.join("")}`;
|
|
510
|
-
}, ri = (e, t) => {
|
|
511
|
-
const o = Fn(e);
|
|
512
|
-
for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
|
|
513
|
-
return Pn(o[0], o[1], o[2]);
|
|
514
|
-
}, ii = (e, t) => {
|
|
515
|
-
const o = Fn(e);
|
|
516
|
-
for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
|
|
517
|
-
return Pn(o[0], o[1], o[2]);
|
|
518
|
-
}, Wo = {
|
|
519
|
-
zh: {
|
|
520
|
-
message: {
|
|
521
|
-
reportCode: "报表编号",
|
|
522
|
-
tempPath: "模版路径",
|
|
523
|
-
tempFile: "模版文件",
|
|
524
|
-
exportFileType: "文件类型",
|
|
525
|
-
parameterType: "参数类型",
|
|
526
|
-
valueType: "值类型",
|
|
527
|
-
parameterField: "参数字段名",
|
|
528
|
-
parameterName: "参数名称",
|
|
529
|
-
showField: "显示字段",
|
|
530
|
-
valueField: "值字段",
|
|
531
|
-
exportNo: "导出编号",
|
|
532
|
-
moduleName: "模块名称",
|
|
533
|
-
exportResult: "导出结果",
|
|
534
|
-
exportStatus: "导出状态",
|
|
535
|
-
exportMsg: "提示信息",
|
|
536
|
-
fileType: "文件类型",
|
|
537
|
-
exportDate: "完成时间"
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
en: {
|
|
541
|
-
message: {
|
|
542
|
-
tempPath: "tempPath",
|
|
543
|
-
tempFile: "tempFile",
|
|
544
|
-
exportFileType: "exportFileType",
|
|
545
|
-
parameterType: "parameterType",
|
|
546
|
-
valueType: "valueType",
|
|
547
|
-
serviceCode: "serviceCode",
|
|
548
|
-
parameterField: "parameterField",
|
|
549
|
-
parameterName: "parameterName",
|
|
550
|
-
showField: "showField",
|
|
551
|
-
valueField: "valueField",
|
|
552
|
-
exportNo: "exportNo",
|
|
553
|
-
moduleName: "moduleName",
|
|
554
|
-
printPosition: "Print Position",
|
|
555
|
-
exportResult: "exportResult",
|
|
556
|
-
exportStatus: "exportStatus",
|
|
557
|
-
exportMsg: "exportMsg",
|
|
558
|
-
fileType: "fileType",
|
|
559
|
-
exportDate: "Export Date",
|
|
560
|
-
dataSetCode: "Dataset Code",
|
|
561
|
-
dataSetName: "Dataset Name",
|
|
562
|
-
dataSetType: "Dataset Type",
|
|
563
|
-
dataSetUrl: "Dataset Url",
|
|
564
|
-
defaultValue: "Default Value",
|
|
565
|
-
isRequired: "Required"
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}, ai = {
|
|
569
|
-
zh: { ...Wo.zh.message },
|
|
570
|
-
en: { ...Wo.en.message }
|
|
571
|
-
}, si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
572
|
-
__proto__: null,
|
|
573
|
-
default: ai
|
|
574
|
-
}, Symbol.toStringTag, { value: "Module" })), li = {
|
|
575
|
-
zh: {
|
|
576
|
-
message: {
|
|
577
|
-
taskName: "任务名称",
|
|
578
|
-
processInstId: "任务编码",
|
|
579
|
-
taskTitle: "任务标题",
|
|
580
|
-
taskPhase: "流程阶段",
|
|
581
|
-
agreement: "审批意见",
|
|
582
|
-
description: "备注",
|
|
583
|
-
actuatorCode: "执行器编码",
|
|
584
|
-
actuatorName: "执行器名称",
|
|
585
|
-
actuatorType: "注册方式",
|
|
586
|
-
actuatorAddress: "机器地址"
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
en: {
|
|
590
|
-
message: {
|
|
591
|
-
taskName: "taskName",
|
|
592
|
-
processInstId: "processInstId",
|
|
593
|
-
taskTitle: "taskTitle",
|
|
594
|
-
taskPhase: "taskPhase",
|
|
595
|
-
agreement: "agreement",
|
|
596
|
-
description: "description",
|
|
597
|
-
actuatorCode: "Actuator Code",
|
|
598
|
-
actuatorName: "Actuator Name",
|
|
599
|
-
actuatorType: "Actuator Type",
|
|
600
|
-
actuatorAddress: "Actuator Adress"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}, ui = {
|
|
604
|
-
zh: {
|
|
605
|
-
message: {
|
|
606
|
-
flowId: "流程标识",
|
|
607
|
-
flowName: "流程名称",
|
|
608
|
-
flowCode: "流程业务",
|
|
609
|
-
description: "流程描述",
|
|
610
|
-
flowDesign: "流程设计",
|
|
611
|
-
version: "版本",
|
|
612
|
-
effectDate: "生效日期"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
en: {
|
|
616
|
-
message: {
|
|
617
|
-
flowId: "flowId",
|
|
618
|
-
flowName: "flowName",
|
|
619
|
-
flowCode: "flowCode",
|
|
620
|
-
description: "description",
|
|
621
|
-
flowDesign: "Flow Design"
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}, Ho = [li, ui], ci = {
|
|
625
|
-
zh: {
|
|
626
|
-
...Object.assign({}, ...Ho.map((e) => e.zh.message))
|
|
627
|
-
},
|
|
628
|
-
en: {
|
|
629
|
-
...Object.assign({}, ...Ho.map((e) => e.en.message))
|
|
630
|
-
}
|
|
631
|
-
}, di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
632
|
-
__proto__: null,
|
|
633
|
-
default: ci
|
|
634
|
-
}, Symbol.toStringTag, { value: "Module" })), fi = {
|
|
635
|
-
zh: {
|
|
636
|
-
message: {
|
|
637
|
-
msgtemplateCode: "模板代码",
|
|
638
|
-
msgtemplateName: "模板名称",
|
|
639
|
-
msgTitle: "消息标题",
|
|
640
|
-
msgType: "消息类型",
|
|
641
|
-
language: "语言",
|
|
642
|
-
templateContent: "模板内容",
|
|
643
|
-
msgCode: "消息代码",
|
|
644
|
-
msgName: "消息名称",
|
|
645
|
-
msgService: "消息服务",
|
|
646
|
-
msgServiceName: "消息服务名称"
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
en: {
|
|
650
|
-
message: {
|
|
651
|
-
xx: "xxx"
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}, hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
655
|
-
__proto__: null,
|
|
656
|
-
default: fi
|
|
657
|
-
}, Symbol.toStringTag, { value: "Module" })), mi = {
|
|
658
|
-
udp: {
|
|
659
|
-
dark: "深色",
|
|
660
|
-
light: "浅色",
|
|
661
|
-
smart: "灵动",
|
|
662
|
-
card: "卡片",
|
|
663
|
-
theme: "主题色",
|
|
664
|
-
pageStyle: "主题模式",
|
|
665
|
-
navigationMode: "菜单布局",
|
|
666
|
-
tagStyle: "页签风格",
|
|
667
|
-
collapse: "折叠",
|
|
668
|
-
expand: "展开",
|
|
669
|
-
login: "登 陆",
|
|
670
|
-
home: "首页",
|
|
671
|
-
logout: "退出系统",
|
|
672
|
-
password: "密码",
|
|
673
|
-
passwordReset: "密码重置",
|
|
674
|
-
oldPwd: "旧密码",
|
|
675
|
-
newPwd: "新密码",
|
|
676
|
-
confirmPwd: "确认密码",
|
|
677
|
-
reload: "重新加载",
|
|
678
|
-
closeCurrentTab: "关闭当前标签页",
|
|
679
|
-
closeLeftTabs: "关闭左侧标签页",
|
|
680
|
-
closeRightTabs: "关闭右侧标签页",
|
|
681
|
-
closeOtherTabs: "关闭其他标签页",
|
|
682
|
-
closeAllTabs: "关闭全部标签页",
|
|
683
|
-
wholeFullScreen: "整体页面全屏",
|
|
684
|
-
wholeExitFullScreen: "整体页面退出全屏",
|
|
685
|
-
contentFullScreen: "内容区全屏",
|
|
686
|
-
contentExitFullScreen: "内容区退出全屏",
|
|
687
|
-
fourZeroFour: "404",
|
|
688
|
-
fourZeroThree: "403",
|
|
689
|
-
five: "500",
|
|
690
|
-
flowTask: "流程任务",
|
|
691
|
-
backtop: "回到顶部",
|
|
692
|
-
error: "Error Page",
|
|
693
|
-
continueAdd: "连续添加",
|
|
694
|
-
menuQuery: "菜单搜索",
|
|
695
|
-
systemTitle: "系统标题",
|
|
696
|
-
systemLogo: "LOGO",
|
|
697
|
-
systemFavicon: "favicon",
|
|
698
|
-
homeBackimg: "首页背景",
|
|
699
|
-
baseUrl: "服务路径",
|
|
700
|
-
copyright: "版权信息",
|
|
701
|
-
showTitle: "显示项目名称",
|
|
702
|
-
i18nEnabled: "国际化",
|
|
703
|
-
orgTaggle: "启用组织切换",
|
|
704
|
-
baseColor: "基准色",
|
|
705
|
-
techSupport: "技术支持",
|
|
706
|
-
defaultLanguage: "默认语言",
|
|
707
|
-
roleName: "角色名称",
|
|
708
|
-
roleCode: "角色编码",
|
|
709
|
-
roleDesc: "角色说明",
|
|
710
|
-
loginTime: "登录时间",
|
|
711
|
-
operatingSystem: "操作系统",
|
|
712
|
-
ip: "ip地址",
|
|
713
|
-
browserVersion: "浏览器版本",
|
|
714
|
-
browser: "浏览器",
|
|
715
|
-
dictCode: "字典编码",
|
|
716
|
-
dictName: "字典名称",
|
|
717
|
-
dictType: "字典类型",
|
|
718
|
-
ruleCode: "规则代码",
|
|
719
|
-
ruleName: "规则名称",
|
|
720
|
-
fieldType: "段类型",
|
|
721
|
-
fieldValue: "段值",
|
|
722
|
-
dateMask: "日期掩码",
|
|
723
|
-
resetFrequency: "重置频率",
|
|
724
|
-
seqLength: "位数",
|
|
725
|
-
startValue: "开始值",
|
|
726
|
-
currentValue: "当前值",
|
|
727
|
-
haveBeenUsed: "使用中",
|
|
728
|
-
unitName: "单位名称",
|
|
729
|
-
unitCode: "单位编码",
|
|
730
|
-
unitNote: "单位介绍",
|
|
731
|
-
deleteCompany: "部门存在子级,请先删除子级",
|
|
732
|
-
tip: "温馨提示",
|
|
733
|
-
today: "今天",
|
|
734
|
-
yesterday: "昨天",
|
|
735
|
-
lastWeek: "一周内",
|
|
736
|
-
lastMonth: "1月内",
|
|
737
|
-
threeMonth: "3月内",
|
|
738
|
-
halfYear: "半年内",
|
|
739
|
-
anniversary: "1年内",
|
|
740
|
-
newVersion: "检测到新版本",
|
|
741
|
-
updatenow: "立即更新",
|
|
742
|
-
updateLater: "稍后更新",
|
|
743
|
-
appVersion: "版本号",
|
|
744
|
-
buildNo: "构建号",
|
|
745
|
-
versionInfo: "版本信息",
|
|
746
|
-
isForceUpdate: "安装方式",
|
|
747
|
-
downloadUrl: "APK文件",
|
|
748
|
-
forceUpdate: "强制更新",
|
|
749
|
-
freeUpdate: "自主更新",
|
|
750
|
-
placeholder: "请录入",
|
|
751
|
-
userName: "用户姓名",
|
|
752
|
-
userCode: "用户编码",
|
|
753
|
-
userType: "用户类型",
|
|
754
|
-
roleList: "角色列表",
|
|
755
|
-
userList: "用户列表",
|
|
756
|
-
orgCode: "业务实体编码",
|
|
757
|
-
orgName: "业务实体名称",
|
|
758
|
-
orgAlias: "业务实体简称",
|
|
759
|
-
orgDesc: "业务实体描述",
|
|
760
|
-
organizationName: "组织名称",
|
|
761
|
-
organizationCode: "组织编码",
|
|
762
|
-
appupper: "已上架",
|
|
763
|
-
applower: "已下架",
|
|
764
|
-
isApprovalPage: "审批页面",
|
|
765
|
-
showLink: "菜单可见"
|
|
766
|
-
},
|
|
767
|
-
btn: {
|
|
768
|
-
passwordReset: "密码重置",
|
|
769
|
-
add: "新增",
|
|
770
|
-
agree: "同意",
|
|
771
|
-
approve: "审批",
|
|
772
|
-
appupper: "上架",
|
|
773
|
-
applower: "下架",
|
|
774
|
-
auth: "权限",
|
|
775
|
-
back: "返回",
|
|
776
|
-
cancel: "取消",
|
|
777
|
-
completed: "完工",
|
|
778
|
-
close: "关闭",
|
|
779
|
-
toggle: "切换",
|
|
780
|
-
confirm: "确认",
|
|
781
|
-
config: "配置",
|
|
782
|
-
copy: "复制",
|
|
783
|
-
customSize: "自定义纸张",
|
|
784
|
-
detail: "详情",
|
|
785
|
-
directPrint: "直接打印",
|
|
786
|
-
design: "设 计",
|
|
787
|
-
delete: "删除",
|
|
788
|
-
del: "删除",
|
|
789
|
-
download: "下载",
|
|
790
|
-
dispatchUser: "分配用户",
|
|
791
|
-
dispatchAuth: "分配权限",
|
|
792
|
-
FAQ: "常见问题",
|
|
793
|
-
finish: "完成",
|
|
794
|
-
fetch: "查询",
|
|
795
|
-
edit: "编辑",
|
|
796
|
-
export: "导出",
|
|
797
|
-
import: "导入",
|
|
798
|
-
encode: "编码",
|
|
799
|
-
importJSON: "导入模板数据",
|
|
800
|
-
downloadTemp: "模板下载",
|
|
801
|
-
inv: "库存组织",
|
|
802
|
-
look: "查看",
|
|
803
|
-
lov: "值集",
|
|
804
|
-
inbound: "入库",
|
|
805
|
-
more: "更多",
|
|
806
|
-
outbound: "出库",
|
|
807
|
-
preview: "预览",
|
|
808
|
-
print: "打印",
|
|
809
|
-
paramSet: "参数集",
|
|
810
|
-
reset: "重置",
|
|
811
|
-
resumeTask: "继续",
|
|
812
|
-
role: "角色",
|
|
813
|
-
repaint: "重绘",
|
|
814
|
-
save: "保存",
|
|
815
|
-
scan: "扫码下载",
|
|
816
|
-
stopTask: "停止",
|
|
817
|
-
suspendTask: "暂停",
|
|
818
|
-
search: "搜索",
|
|
819
|
-
sync: "同步",
|
|
820
|
-
submit: "提交",
|
|
821
|
-
taskLog: "任务日志",
|
|
822
|
-
revoke: "撤销",
|
|
823
|
-
reject: "拒绝",
|
|
824
|
-
upload: "上传",
|
|
825
|
-
goback: "返回",
|
|
826
|
-
disabled: "禁用",
|
|
827
|
-
enable: "启用",
|
|
828
|
-
flowDesign: "流程设计",
|
|
829
|
-
bankinfo: "银行账号"
|
|
830
|
-
},
|
|
831
|
-
urpt: {
|
|
832
|
-
templateName: "模版名称",
|
|
833
|
-
templateCode: "模版编码",
|
|
834
|
-
paperType: "纸张类型",
|
|
835
|
-
printPosition: "打印视图",
|
|
836
|
-
buttonCode: "按钮编码",
|
|
837
|
-
resourceCode: "资源编码",
|
|
838
|
-
resourceName: "资源名称",
|
|
839
|
-
resourceUrl: "资源路径",
|
|
840
|
-
fileName: "文件名称",
|
|
841
|
-
fileSize: "文件大小",
|
|
842
|
-
filePath: "文件路径",
|
|
843
|
-
fileExtend: "文件类型",
|
|
844
|
-
textAlign: "对齐方式",
|
|
845
|
-
color: "色彩",
|
|
846
|
-
fillOpacity: "透明度",
|
|
847
|
-
fontSize: "字体大小",
|
|
848
|
-
rotation: "倾斜角度",
|
|
849
|
-
watermarkCode: "水印编码",
|
|
850
|
-
watermarkContent: "水印内容",
|
|
851
|
-
watermarkTrigger: "触发时机",
|
|
852
|
-
watermarkType: "水印类型",
|
|
853
|
-
xAxis: "横坐标",
|
|
854
|
-
yAxis: "纵坐标"
|
|
855
|
-
},
|
|
856
|
-
add: "新增",
|
|
857
|
-
operate: "操作",
|
|
858
|
-
emptyData: "暂无数据",
|
|
859
|
-
creationDate: "创建时间",
|
|
860
|
-
createdByName: "创建人",
|
|
861
|
-
creationName: "创建人",
|
|
862
|
-
lastUpdateDate: "更新日期",
|
|
863
|
-
lastUpdatedByName: "更新人",
|
|
864
|
-
sort: "序号",
|
|
865
|
-
seqNo: "序号",
|
|
866
|
-
remark: "备注",
|
|
867
|
-
loading: "加载中...",
|
|
868
|
-
keyword: "关键字",
|
|
869
|
-
required: "请录入",
|
|
870
|
-
isRequired: "必填否",
|
|
871
|
-
dataSetCode: "数据集编码",
|
|
872
|
-
dataSetName: "数据集名称",
|
|
873
|
-
dataSetType: "数据集类型",
|
|
874
|
-
dataSetUrl: "URL/服务编码",
|
|
875
|
-
paramCode: "参数编码",
|
|
876
|
-
paramName: "参数名称",
|
|
877
|
-
defaultValue: "默认值",
|
|
878
|
-
enabled: "启用",
|
|
879
|
-
disabled: "禁用",
|
|
880
|
-
to: "至",
|
|
881
|
-
startDate: "开始日期",
|
|
882
|
-
endDate: "截至日期",
|
|
883
|
-
operateSuccess: "操作成功!",
|
|
884
|
-
operateFailed: "操作失败!",
|
|
885
|
-
selectedRecord: "请至少选择一条记录",
|
|
886
|
-
delRecord: "您确定要删除选择的数据吗?",
|
|
887
|
-
importSuccess: "导入成功!",
|
|
888
|
-
importFailed: "数据导入失败,请往下滚动以便查看错误信息",
|
|
889
|
-
importRecord: "您确定要导入数据吗?",
|
|
890
|
-
importEmpty: "数据列表为空,请先导入数据列表",
|
|
891
|
-
importTip: `1、表格模板的【列标题】不可修改;
|
|
892
|
-
2、单次导入数据数量应小于2000条;
|
|
893
|
-
3、数据字典直接录入字典值表示,能极大的提高表格渲染速度哦。例如: 数据字典【是否】Y/N
|
|
894
|
-
4、导入成功,系统提示【导入成功数量xxx条】其中的数量包括表头行`,
|
|
895
|
-
errorInfo: "异常信息",
|
|
896
|
-
publish: "发布",
|
|
897
|
-
menuName: "菜单名称(中文)",
|
|
898
|
-
menuNameEn: "菜单名称(英文)",
|
|
899
|
-
menuType: "菜单类型",
|
|
900
|
-
menuCode: "菜单编码",
|
|
901
|
-
permissionCode: "权限编码",
|
|
902
|
-
permissionName: "权限名称",
|
|
903
|
-
menuPath: "路由",
|
|
904
|
-
frameSrc: "内链URI",
|
|
905
|
-
externalURI: "外链URI",
|
|
906
|
-
redirect: "重定向路径",
|
|
907
|
-
i18nField: "标题字段",
|
|
908
|
-
extraIcon: "额外图标",
|
|
909
|
-
icon: "图标",
|
|
910
|
-
jobResult: "执行结果",
|
|
911
|
-
endTime: "结束时间",
|
|
912
|
-
startTime: "开始时间",
|
|
913
|
-
errorMessage: "异常信息",
|
|
914
|
-
jobStatus: "任务状态",
|
|
915
|
-
jobParam: "执行器任务参数",
|
|
916
|
-
jobHandler: "任务处理类",
|
|
917
|
-
jobClassName: "实现类",
|
|
918
|
-
jobCron: "任务执行corn",
|
|
919
|
-
jobName: "任务名称",
|
|
920
|
-
jobDescription: "任务描述",
|
|
921
|
-
interfaceName: "接口名称",
|
|
922
|
-
interfaceUrl: "接口地址",
|
|
923
|
-
requestDate: "请求日期",
|
|
924
|
-
requestStatus: "请求状态",
|
|
925
|
-
requestParameter: "body参数",
|
|
926
|
-
responseTimeConsume: "响应时间(ms)",
|
|
927
|
-
responseContent: "响应内容",
|
|
928
|
-
stacktrace: "错误堆栈",
|
|
929
|
-
status: "状态",
|
|
930
|
-
email: "邮箱",
|
|
931
|
-
userPassword: "登录密码",
|
|
932
|
-
remarks: "备注",
|
|
933
|
-
userPwd: "用户密码",
|
|
934
|
-
unitName: "用户单位",
|
|
935
|
-
employeeCode: "编号",
|
|
936
|
-
employeeName: "姓名",
|
|
937
|
-
department: "部门",
|
|
938
|
-
gender: "性别",
|
|
939
|
-
releateUser: "关联用户",
|
|
940
|
-
identity: "身份证号码",
|
|
941
|
-
employeeDate: "入职日期",
|
|
942
|
-
solarDay: "出生日期",
|
|
943
|
-
phone: "座机号",
|
|
944
|
-
mobile: "手机号",
|
|
945
|
-
deptName: "部门名称",
|
|
946
|
-
deptCode: "部门编码",
|
|
947
|
-
deptType: "部门类型",
|
|
948
|
-
deletePartment: "部门存在子级,请先删除子级",
|
|
949
|
-
lovCode: "视图编码",
|
|
950
|
-
lovName: "视图名称",
|
|
951
|
-
valueField: "值字段名",
|
|
952
|
-
displayField: "显示字段名",
|
|
953
|
-
lovTitle: "视图标题",
|
|
954
|
-
lovType: "视图类型",
|
|
955
|
-
lovUrl: "视图URI",
|
|
956
|
-
colField: "表格字段名",
|
|
957
|
-
colTitle: "表格列标题",
|
|
958
|
-
colWidth: "列宽度",
|
|
959
|
-
fieldType: "字段类型",
|
|
960
|
-
dictName: "数据字典",
|
|
961
|
-
isSearch: "查询字段",
|
|
962
|
-
isCol: "表格列",
|
|
963
|
-
sqlStatement: "SQL语句",
|
|
964
|
-
fileName: "附件名称",
|
|
965
|
-
fileSize: "附件大小",
|
|
966
|
-
tip: {
|
|
967
|
-
projectConfig: "项目配置",
|
|
968
|
-
closeConfig: "关闭配置",
|
|
969
|
-
clearCache: "清空缓存",
|
|
970
|
-
toLogin: "清空缓存并返回登录页",
|
|
971
|
-
del: "确定要删除{msg}吗?",
|
|
972
|
-
uploadFormat: "上传格式{type}",
|
|
973
|
-
imageSize: "图片尺寸{size}",
|
|
974
|
-
imageCapacity: "图片大小{capacity}",
|
|
975
|
-
singleImg: "仅支持设置单张图",
|
|
976
|
-
emptyAuth: "无系统权限, 请先给用户分配角色重试",
|
|
977
|
-
initPassword: "初始密码为:【{code}】,请及时修改密码",
|
|
978
|
-
loginFailure: "用户名或密码不能为空",
|
|
979
|
-
confirmSync: "确认同步数据吗?",
|
|
980
|
-
updatenow: "立即更新",
|
|
981
|
-
newVersion: "检测到新版本",
|
|
982
|
-
updateLater: "稍后更新"
|
|
983
|
-
},
|
|
984
|
-
title: {
|
|
985
|
-
employeeInfo: "员工信息",
|
|
986
|
-
cronLog: "执行日志",
|
|
987
|
-
memuInfo: "菜单配置",
|
|
988
|
-
authority: "【{role}】权限明细",
|
|
989
|
-
authUser: "【{role}】分配用户",
|
|
990
|
-
authEdit: "角色编辑",
|
|
991
|
-
roleInfo: "角色列表",
|
|
992
|
-
appAdd: "App版本新增",
|
|
993
|
-
dictList: "【{name}】字典值列表",
|
|
994
|
-
dictInfo: "【{name}】字典值",
|
|
995
|
-
lovView: "值集视图",
|
|
996
|
-
lovColConfig: "值集列配置",
|
|
997
|
-
sequenceInfo: "{name}单据序列配置",
|
|
998
|
-
userInfo: "用户信息"
|
|
999
|
-
}
|
|
1000
|
-
}, pi = {
|
|
1001
|
-
udp: {
|
|
1002
|
-
dark: "深色",
|
|
1003
|
-
light: "浅色",
|
|
1004
|
-
smart: "灵动",
|
|
1005
|
-
card: "卡片",
|
|
1006
|
-
theme: "主题色",
|
|
1007
|
-
pageStyle: "Page Style",
|
|
1008
|
-
navigationMode: "Navigation Node",
|
|
1009
|
-
tagStyle: "Tag Style",
|
|
1010
|
-
collapse: "Collapse",
|
|
1011
|
-
expand: "Expand",
|
|
1012
|
-
login: "Login",
|
|
1013
|
-
home: "Home",
|
|
1014
|
-
logout: "Logout",
|
|
1015
|
-
password: "Password",
|
|
1016
|
-
passwordReset: "Password Reset",
|
|
1017
|
-
oldPwd: "Old Password",
|
|
1018
|
-
newPwd: "New Password",
|
|
1019
|
-
confirmPwd: "Confirm Password",
|
|
1020
|
-
reload: "Reload",
|
|
1021
|
-
closeCurrentTab: "Close Current Tab",
|
|
1022
|
-
closeLeftTabs: "Close Left Tabs",
|
|
1023
|
-
closeRightTabs: "Close Right Tabs",
|
|
1024
|
-
closeOtherTabs: "Close Other Tabs",
|
|
1025
|
-
closeAllTabs: "Close All Tabs",
|
|
1026
|
-
wholeFullScreen: "Whole Full Screen",
|
|
1027
|
-
wholeExitFullScreen: "Whole Exit Full Screen",
|
|
1028
|
-
contentFullScreen: "Content Fulll Screen",
|
|
1029
|
-
contentExitFullScreen: "Content Exit Full Screen",
|
|
1030
|
-
fourZeroFour: "404",
|
|
1031
|
-
fourZeroThree: "403",
|
|
1032
|
-
five: "500",
|
|
1033
|
-
backtop: "Back Top",
|
|
1034
|
-
error: "Error Page",
|
|
1035
|
-
continueAdd: "Continue Add",
|
|
1036
|
-
menuQuery: "Menu Search",
|
|
1037
|
-
systemTitle: "System Title",
|
|
1038
|
-
systemLogo: "LOGO",
|
|
1039
|
-
systemFavicon: "favicon",
|
|
1040
|
-
homeBackimg: "Home Background Image",
|
|
1041
|
-
baseUrl: "Base Url",
|
|
1042
|
-
copyright: "Copy Right",
|
|
1043
|
-
i18nEnabled: "Internationalize",
|
|
1044
|
-
defaultLanguage: "Language",
|
|
1045
|
-
roleName: "Role Name",
|
|
1046
|
-
roleCode: "Role Code",
|
|
1047
|
-
roleDesc: "Role Desc",
|
|
1048
|
-
loginTime: "Login Time",
|
|
1049
|
-
operatingSystem: "Operate System",
|
|
1050
|
-
ip: "ip",
|
|
1051
|
-
browserVersion: "Browser Version",
|
|
1052
|
-
browser: "Browser",
|
|
1053
|
-
dictCode: "Dict Code",
|
|
1054
|
-
dictName: "Dict Name",
|
|
1055
|
-
dictType: "Dict Type",
|
|
1056
|
-
ruleCode: "Rule Code",
|
|
1057
|
-
ruleName: "Rule Name",
|
|
1058
|
-
fieldType: "Field Type",
|
|
1059
|
-
fieldValue: "Field Value",
|
|
1060
|
-
dateMask: "Data Mask",
|
|
1061
|
-
resetFrequency: "Reset Frequency",
|
|
1062
|
-
seqLength: "Seq Length",
|
|
1063
|
-
startValue: "Start Value",
|
|
1064
|
-
currentValue: "Current Value",
|
|
1065
|
-
haveBeenUsed: "Have Been Used",
|
|
1066
|
-
unitName: "Unit Name",
|
|
1067
|
-
unitCode: "Unit Code",
|
|
1068
|
-
unitNote: "Unit Note",
|
|
1069
|
-
deleteCompany: "There are child levels in the Company, please delete the child level first",
|
|
1070
|
-
tip: "tip",
|
|
1071
|
-
today: "Today",
|
|
1072
|
-
yesterday: "Yesterday",
|
|
1073
|
-
lastWeek: "Last Week",
|
|
1074
|
-
lastMonth: "Last Month",
|
|
1075
|
-
threeMonth: "Three Month",
|
|
1076
|
-
halfYear: "Half Year",
|
|
1077
|
-
anniversary: "Anniversary",
|
|
1078
|
-
newVersion: "检测到新版本",
|
|
1079
|
-
updatenow: "立即更新",
|
|
1080
|
-
updateLater: "稍后更新",
|
|
1081
|
-
appVersion: "版本号",
|
|
1082
|
-
buildNo: "构建号",
|
|
1083
|
-
versionInfo: "版本信息",
|
|
1084
|
-
isForceUpdate: "安装方式",
|
|
1085
|
-
downloadUrl: "APK文件",
|
|
1086
|
-
forceUpdate: "强制更新",
|
|
1087
|
-
freeUpdate: "自主更新",
|
|
1088
|
-
userName: "User Name",
|
|
1089
|
-
userCode: "user Code",
|
|
1090
|
-
sysType: "User Type",
|
|
1091
|
-
orgCode: "Business Unit Code",
|
|
1092
|
-
orgName: "Business Unit Name",
|
|
1093
|
-
orgAlias: "Business Unit Alias",
|
|
1094
|
-
orgDesc: "Business Unit Descript",
|
|
1095
|
-
organizationName: "Organization Name",
|
|
1096
|
-
organizationCode: "Organization Code"
|
|
1097
|
-
},
|
|
1098
|
-
btn: {
|
|
1099
|
-
add: "Add",
|
|
1100
|
-
agree: "Agree",
|
|
1101
|
-
approve: "Approval",
|
|
1102
|
-
appupper: "App Add",
|
|
1103
|
-
applower: "App Remove",
|
|
1104
|
-
auth: "Authority",
|
|
1105
|
-
back: "Back",
|
|
1106
|
-
cancel: "Cancel",
|
|
1107
|
-
completed: "Completed",
|
|
1108
|
-
close: "Close",
|
|
1109
|
-
toggle: "Toggle",
|
|
1110
|
-
confirm: "Confirm",
|
|
1111
|
-
config: "Config",
|
|
1112
|
-
copy: "Copy",
|
|
1113
|
-
customSize: "Custom Size",
|
|
1114
|
-
detail: "Detail",
|
|
1115
|
-
directPrint: "Direct Print",
|
|
1116
|
-
design: "Design",
|
|
1117
|
-
delete: "Delete",
|
|
1118
|
-
del: "Delete",
|
|
1119
|
-
download: "Download",
|
|
1120
|
-
dispatchUser: "Dispatch User",
|
|
1121
|
-
dispatchAuth: "Dispatch Authority",
|
|
1122
|
-
finish: "Finish",
|
|
1123
|
-
fetch: "Fetch",
|
|
1124
|
-
edit: "Edit",
|
|
1125
|
-
export: "Export",
|
|
1126
|
-
import: "Import",
|
|
1127
|
-
encode: "Encode",
|
|
1128
|
-
importJSON: "Import Data",
|
|
1129
|
-
look: "Look",
|
|
1130
|
-
lov: "Lov",
|
|
1131
|
-
inbound: "Inbound",
|
|
1132
|
-
more: "More",
|
|
1133
|
-
outbound: "Outbound",
|
|
1134
|
-
preview: "Preview",
|
|
1135
|
-
print: "Print",
|
|
1136
|
-
paramSet: "Param Set",
|
|
1137
|
-
reset: "Reset",
|
|
1138
|
-
resumeTask: "Resume",
|
|
1139
|
-
role: "Role",
|
|
1140
|
-
repaint: "Repaint",
|
|
1141
|
-
save: "Save",
|
|
1142
|
-
scan: "Scan Download",
|
|
1143
|
-
stopTask: "Stop",
|
|
1144
|
-
suspendTask: "Suspend",
|
|
1145
|
-
search: "Search",
|
|
1146
|
-
sync: "Sync",
|
|
1147
|
-
submit: "Submit",
|
|
1148
|
-
taskLog: "Log",
|
|
1149
|
-
revoke: "Revoke",
|
|
1150
|
-
reject: "Reject",
|
|
1151
|
-
upload: "Upload"
|
|
1152
|
-
},
|
|
1153
|
-
file: {
|
|
1154
|
-
templateName: "Template Name",
|
|
1155
|
-
templateCode: "Template Code",
|
|
1156
|
-
paperType: "Paper Type",
|
|
1157
|
-
printPosition: "Print Position",
|
|
1158
|
-
buttonCode: "Button Code",
|
|
1159
|
-
resourceCode: "Resource Code",
|
|
1160
|
-
resourceName: "Resource Name",
|
|
1161
|
-
resourceUrl: "Resource Url",
|
|
1162
|
-
fileName: "File Name",
|
|
1163
|
-
fileSize: "File Size",
|
|
1164
|
-
filePath: "File Path",
|
|
1165
|
-
fileExtend: "File Extend",
|
|
1166
|
-
textAlign: "Text Align",
|
|
1167
|
-
color: "Color",
|
|
1168
|
-
fillOpacity: "Fill Opacity",
|
|
1169
|
-
fontSize: "Font Size",
|
|
1170
|
-
rotation: "Rotation",
|
|
1171
|
-
watermarkCode: "Watermark Code",
|
|
1172
|
-
watermarkContent: "Watermark Content",
|
|
1173
|
-
watermarkTrigger: "Watermark Trigger",
|
|
1174
|
-
watermarkType: "Watermark Type",
|
|
1175
|
-
xAxis: "xAxis",
|
|
1176
|
-
yAxis: "yAxis"
|
|
1177
|
-
},
|
|
1178
|
-
add: "Add",
|
|
1179
|
-
operate: "Operate",
|
|
1180
|
-
emptyData: "Empty Data",
|
|
1181
|
-
creationDate: "Creation Date",
|
|
1182
|
-
createdByName: "CreatedBy Name",
|
|
1183
|
-
creationName: "Creation Name",
|
|
1184
|
-
lastUpdateDate: "LastUpdate Date",
|
|
1185
|
-
lastUpdatedByName: "LastUpdatedBy Name",
|
|
1186
|
-
sort: "Sort",
|
|
1187
|
-
seqNo: "Seq No",
|
|
1188
|
-
remark: "Remark",
|
|
1189
|
-
loading: "Loading...",
|
|
1190
|
-
keyword: "Keyword",
|
|
1191
|
-
required: "Required",
|
|
1192
|
-
isRequired: "Is Required",
|
|
1193
|
-
dataSetCode: "Dataset Code",
|
|
1194
|
-
dataSetName: "Dataset Name",
|
|
1195
|
-
dataSetType: "Dataset Type",
|
|
1196
|
-
dataSetUrl: "Dataset Url",
|
|
1197
|
-
paramCode: "Param Code",
|
|
1198
|
-
paramName: "Param Name",
|
|
1199
|
-
defaultValue: "Default Value",
|
|
1200
|
-
enabled: "Enabled",
|
|
1201
|
-
disabled: "Disabled",
|
|
1202
|
-
to: "To",
|
|
1203
|
-
startDate: "Start Date",
|
|
1204
|
-
endDate: "End Date",
|
|
1205
|
-
operateSuccess: "Operate Success!",
|
|
1206
|
-
operateFailed: "Operate Failed!",
|
|
1207
|
-
selectedRecord: "Please select at least one record",
|
|
1208
|
-
delRecord: "Are you sure you want to delete this record?",
|
|
1209
|
-
importSuccess: "Import Success!",
|
|
1210
|
-
importFailed: "Data import failed, please scroll down to view the error message",
|
|
1211
|
-
importRecord: "Are you sure you want to import the data?",
|
|
1212
|
-
importEmpty: "The data list is empty, please import the data list first",
|
|
1213
|
-
importTip: `1. The column headings in the table template cannot be modified;
|
|
1214
|
-
2. The number of data imported at a time should be less than 2000;
|
|
1215
|
-
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
|
|
1216
|
-
4. Import successful, system prompts' xxx successful imports', including header rows`,
|
|
1217
|
-
errorInfo: "Error Info",
|
|
1218
|
-
publish: "Publish",
|
|
1219
|
-
menuName: "Menu Name",
|
|
1220
|
-
menuNameEn: "Menu Name",
|
|
1221
|
-
menuType: "Menu Type",
|
|
1222
|
-
menuCode: "Menu Code",
|
|
1223
|
-
permissionCode: "Permission Code",
|
|
1224
|
-
permissionName: "Permission Name",
|
|
1225
|
-
menuPath: "Menu Path",
|
|
1226
|
-
frameSrc: "Internal Link URI",
|
|
1227
|
-
externalURI: "External Link URI",
|
|
1228
|
-
redirect: "Redirect",
|
|
1229
|
-
i18nField: "Language Field",
|
|
1230
|
-
extraIcon: "Extra Icon",
|
|
1231
|
-
icon: "Icon",
|
|
1232
|
-
jobResult: "Job Result",
|
|
1233
|
-
endTime: "End Time",
|
|
1234
|
-
startTime: "Start Time",
|
|
1235
|
-
errorMessage: "Error Message",
|
|
1236
|
-
jobStatus: "Job Status",
|
|
1237
|
-
jobParam: "Job Param",
|
|
1238
|
-
jobHandler: "Job Handler",
|
|
1239
|
-
jobClassName: "Job ClassName",
|
|
1240
|
-
jobCron: "Job Cron",
|
|
1241
|
-
jobName: "Job Name",
|
|
1242
|
-
jobDescription: "Job Description",
|
|
1243
|
-
interfaceName: "Interface Name",
|
|
1244
|
-
interfaceUrl: "Interface Url",
|
|
1245
|
-
requestDate: "Request Date",
|
|
1246
|
-
requestStatus: "Request Status",
|
|
1247
|
-
requestParameter: "Request Parameter",
|
|
1248
|
-
responseTimeConsume: "Response TimeConsume(ms)",
|
|
1249
|
-
responseContent: "Response Content",
|
|
1250
|
-
stacktrace: "Stacktrace",
|
|
1251
|
-
status: "Status",
|
|
1252
|
-
email: "Email",
|
|
1253
|
-
userPassword: "Password",
|
|
1254
|
-
remarks: "Remarks",
|
|
1255
|
-
userPwd: "Password",
|
|
1256
|
-
unitName: "Department",
|
|
1257
|
-
employeeCode: "Employee Code",
|
|
1258
|
-
employeeName: "Employee Name",
|
|
1259
|
-
department: "Department",
|
|
1260
|
-
gender: "Sex",
|
|
1261
|
-
releateUser: "Releate User",
|
|
1262
|
-
identity: "Identity",
|
|
1263
|
-
employeeDate: "Employee Date",
|
|
1264
|
-
solarDay: "Solar Day",
|
|
1265
|
-
phone: "Phone",
|
|
1266
|
-
mobile: "Mobile",
|
|
1267
|
-
deptName: "Department Name",
|
|
1268
|
-
deptCode: "Department Code",
|
|
1269
|
-
deptType: "Department Type",
|
|
1270
|
-
deletePartment: "There are child levels in the department, please delete the child level first",
|
|
1271
|
-
lovCode: "LovCode",
|
|
1272
|
-
lovName: "lovName",
|
|
1273
|
-
valueField: "valueField",
|
|
1274
|
-
displayField: "displayField",
|
|
1275
|
-
lovTitle: "lovTitle",
|
|
1276
|
-
colField: "colField",
|
|
1277
|
-
colTitle: "colTitle",
|
|
1278
|
-
width: "width",
|
|
1279
|
-
dictDispose: "dictDispose",
|
|
1280
|
-
isSearch: "isSearch",
|
|
1281
|
-
isCol: "isCol"
|
|
1282
|
-
}, Vo = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": si, "./module/u-workflow.ts": di, "./module/umsg.ts": hi }), bt = {};
|
|
1283
|
-
for (const e in Vo)
|
|
1284
|
-
bt[e.replace(/(\.\/module\/|\.ts)/g, "")] = Vo[e].default;
|
|
1285
|
-
const Yo = Object.keys(bt).filter((e) => bt[e]).map((e) => bt[e]), gi = {
|
|
1286
|
-
zh: {
|
|
1287
|
-
..._.getItem(qr),
|
|
1288
|
-
message: yo(mi, ...Yo.map((e) => e.zh.message))
|
|
1289
|
-
},
|
|
1290
|
-
en: {
|
|
1291
|
-
..._.getItem($r),
|
|
1292
|
-
message: Object.assign(pi, ...Yo.map((e) => e.en.message))
|
|
1293
|
-
}
|
|
1294
|
-
};
|
|
1295
|
-
let $e = null;
|
|
1296
|
-
function yi(e, t = { messages: {} }) {
|
|
1297
|
-
var o;
|
|
1298
|
-
$e = Er({
|
|
1299
|
-
legacy: !1,
|
|
1300
|
-
locale: ((o = _.getItem(`${$()}locale`)) == null ? void 0 : o.locale) ?? "zh",
|
|
1301
|
-
fallbackLocale: "en",
|
|
1302
|
-
globalInjection: !0,
|
|
1303
|
-
messages: yo(gi, t.messages)
|
|
1304
|
-
}), le.setLanguage("zh-CN"), e.use($e);
|
|
1305
|
-
}
|
|
1306
|
-
const wt = () => $e;
|
|
1307
|
-
function On(e = "", t = !0) {
|
|
1308
|
-
if (!e)
|
|
1309
|
-
return "";
|
|
1310
|
-
if (typeof e == "object") {
|
|
1311
|
-
const o = $e.global.locale;
|
|
1312
|
-
return e[o.value];
|
|
1313
|
-
}
|
|
1314
|
-
return t ? $e.global.t.call($e.global, e) : e;
|
|
1315
|
-
}
|
|
1316
|
-
const vi = st("udp-system", {
|
|
1317
|
-
state: () => ({
|
|
1318
|
-
baseURL: "",
|
|
1319
|
-
userInfo: {},
|
|
1320
|
-
systemInfo: {},
|
|
1321
|
-
dataDict: {},
|
|
1322
|
-
sysConfig: {},
|
|
1323
|
-
menui18n: {},
|
|
1324
|
-
i18n: {},
|
|
1325
|
-
dicts: [],
|
|
1326
|
-
orgList: [],
|
|
1327
|
-
invOrgList: [],
|
|
1328
|
-
homeMenus: [],
|
|
1329
|
-
sessionKey: "",
|
|
1330
|
-
orgId: "",
|
|
1331
|
-
userName: "",
|
|
1332
|
-
organizationId: "",
|
|
1333
|
-
isAdminRole: !1
|
|
1334
|
-
}),
|
|
1335
|
-
getters: {
|
|
1336
|
-
getBaseURL() {
|
|
1337
|
-
return this.baseURL;
|
|
1338
|
-
},
|
|
1339
|
-
getUserInfo() {
|
|
1340
|
-
return this.userInfo;
|
|
1341
|
-
},
|
|
1342
|
-
getSysConfig() {
|
|
1343
|
-
return this.sysConfig;
|
|
1344
|
-
},
|
|
1345
|
-
getEmployee() {
|
|
1346
|
-
return this.employee;
|
|
1347
|
-
},
|
|
1348
|
-
getSessionKey() {
|
|
1349
|
-
return this.sessionKey;
|
|
1350
|
-
},
|
|
1351
|
-
getMenuI18n() {
|
|
1352
|
-
return this.menui18n;
|
|
1353
|
-
},
|
|
1354
|
-
getI18n() {
|
|
1355
|
-
return this.i18n;
|
|
1356
|
-
},
|
|
1357
|
-
getOrglist() {
|
|
1358
|
-
return this.orgList;
|
|
1359
|
-
},
|
|
1360
|
-
getOrgId() {
|
|
1361
|
-
return this.orgId;
|
|
1362
|
-
},
|
|
1363
|
-
getOrganizationId() {
|
|
1364
|
-
return this.organizationId;
|
|
1365
|
-
},
|
|
1366
|
-
getDataDict() {
|
|
1367
|
-
return this.dataDict;
|
|
1368
|
-
},
|
|
1369
|
-
getUserName() {
|
|
1370
|
-
return this.userName;
|
|
1371
|
-
},
|
|
1372
|
-
getAdminRole(e) {
|
|
1373
|
-
return e.isAdminRole;
|
|
1374
|
-
},
|
|
1375
|
-
getHomeMenus(e) {
|
|
1376
|
-
return e.homeMenus;
|
|
1377
|
-
},
|
|
1378
|
-
getOrganizationCode(e) {
|
|
1379
|
-
var t, o;
|
|
1380
|
-
return (o = (t = e.invOrgList) == null ? void 0 : t.find((n) => n.id === e.organizationId)) == null ? void 0 : o.organizationCode;
|
|
1381
|
-
},
|
|
1382
|
-
getOrg(e) {
|
|
1383
|
-
return e.orgList.find((t) => t.id === e.orgId);
|
|
1384
|
-
}
|
|
1385
|
-
},
|
|
1386
|
-
actions: {
|
|
1387
|
-
// baseURL
|
|
1388
|
-
setBaseURL(e) {
|
|
1389
|
-
this.sessionKey = e;
|
|
1390
|
-
},
|
|
1391
|
-
setSessionKey(e) {
|
|
1392
|
-
this.sessionKey = e.access_token || e;
|
|
1393
|
-
},
|
|
1394
|
-
// sysConfig
|
|
1395
|
-
setSysConfig(e) {
|
|
1396
|
-
this.sysConfig = e;
|
|
1397
|
-
},
|
|
1398
|
-
// orgId
|
|
1399
|
-
setOrgId(e) {
|
|
1400
|
-
this.orgId = e;
|
|
1401
|
-
},
|
|
1402
|
-
setOrganizationId(e) {
|
|
1403
|
-
this.organizationId = e;
|
|
1404
|
-
},
|
|
1405
|
-
setMenuI18n(e) {
|
|
1406
|
-
this.menui18n = e;
|
|
1407
|
-
},
|
|
1408
|
-
setI18n(e) {
|
|
1409
|
-
this.i18n = e;
|
|
1410
|
-
},
|
|
1411
|
-
setUserName(e) {
|
|
1412
|
-
this.userName = e;
|
|
1413
|
-
},
|
|
1414
|
-
// 首页子菜单列表
|
|
1415
|
-
setHomeMenus(e) {
|
|
1416
|
-
this.homeMenus = e;
|
|
1417
|
-
},
|
|
1418
|
-
// 库存组织列表
|
|
1419
|
-
setInvOrgList(e) {
|
|
1420
|
-
this.invOrgList = e;
|
|
1421
|
-
},
|
|
1422
|
-
setOrgList(e) {
|
|
1423
|
-
this.orgList = e;
|
|
1424
|
-
},
|
|
1425
|
-
setDict(e) {
|
|
1426
|
-
this.dicts = e, e == null || e.forEach((t) => {
|
|
1427
|
-
this.dataDict[t.dictCode] = t;
|
|
1428
|
-
}), _.setItem("kLov", this.dataDict);
|
|
1429
|
-
},
|
|
1430
|
-
// 系统信息
|
|
1431
|
-
setSystemInfo(e) {
|
|
1432
|
-
var n;
|
|
1433
|
-
this.systemInfo = e;
|
|
1434
|
-
const t = (n = e.employeeList) != null && n.length ? e.employeeList[0] : "";
|
|
1435
|
-
this.userInfo = e.user || {}, this.employee = Object.assign({}, t, e.user), this.orgId = e.orgId, this.organizationId = e.organizationId, this.orgList = e.orgList;
|
|
1436
|
-
const o = {
|
|
1437
|
-
orgId: e.orgId,
|
|
1438
|
-
organizationId: e.organizationId
|
|
1439
|
-
};
|
|
1440
|
-
Me.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some((r) => r.roleCode === "admin" || ["管理员"].includes(r.roleName)), Y().setAuthButton(e.dataMenus);
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
});
|
|
1444
|
-
function Et() {
|
|
1445
|
-
return vi(Ye);
|
|
1446
|
-
}
|
|
1447
|
-
function bi(e, t) {
|
|
1448
|
-
return /* @__PURE__ */ Re({
|
|
1449
|
-
name: e,
|
|
1450
|
-
components: {
|
|
1451
|
-
asyncComponent: t
|
|
1452
|
-
},
|
|
1453
|
-
setup() {
|
|
1454
|
-
return () => mo(It("async-component"), null, null);
|
|
1455
|
-
}
|
|
1456
|
-
});
|
|
1457
|
-
}
|
|
1458
|
-
const wi = () => pe.get(`${ge()}/uums/roleMenu`), Ei = () => pe.get(`${ge()}/upfm/v1/lov/selectAll`), Go = (e) => pe.get(`${ge()}/uums/roleMenu/userMenu`, e), Ci = () => import("./layoutView--MGA9zUB.js"), Si = () => import("./frameView-Z1tPUyCh.js");
|
|
1459
|
-
function ut(e) {
|
|
1460
|
-
return e.forEach((t) => {
|
|
1461
|
-
var o, n;
|
|
1462
|
-
((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");
|
|
1463
|
-
}), e.sort((t, o) => {
|
|
1464
|
-
var n, r;
|
|
1465
|
-
return ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) - ((r = o == null ? void 0 : o.meta) == null ? void 0 : r.rank);
|
|
1466
|
-
});
|
|
1467
|
-
}
|
|
1468
|
-
function _n(e) {
|
|
1469
|
-
const t = ee(e, !0).filter((o) => {
|
|
1470
|
-
var n;
|
|
1471
|
-
return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
|
|
1472
|
-
});
|
|
1473
|
-
return t.forEach((o) => o.children && (o.children = _n(o.children))), t;
|
|
1474
|
-
}
|
|
1475
|
-
function tl(e, t, o = "path") {
|
|
1476
|
-
function n(r, i, a) {
|
|
1477
|
-
for (let s = 0; s < r.length; s++) {
|
|
1478
|
-
const u = r[s];
|
|
1479
|
-
if (u[o] === i) return a;
|
|
1480
|
-
if (!(!u.children || !u.children.length)) {
|
|
1481
|
-
if (a.push(u.path), n(u.children, i, a).length) return a;
|
|
1482
|
-
a.pop();
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
return [];
|
|
1486
|
-
}
|
|
1487
|
-
return n(t, e, []);
|
|
1488
|
-
}
|
|
1489
|
-
function Nn(e, t) {
|
|
1490
|
-
let o = t.find((n) => n.path == e);
|
|
1491
|
-
if (o)
|
|
1492
|
-
return Ao(o) ? ro(o) : o;
|
|
1493
|
-
for (let n = 0; n < t.length; n++)
|
|
1494
|
-
if (t[n].children instanceof Array && t[n].children.length > 0 && (o = Nn(e, t[n].children), o))
|
|
1495
|
-
return Ao(o) ? ro(o) : o;
|
|
1496
|
-
return null;
|
|
1497
|
-
}
|
|
1498
|
-
function Ti() {
|
|
1499
|
-
z.hasRoute("pathMatch") || z.addRoute({
|
|
1500
|
-
path: "/:pathMatch(.*)",
|
|
1501
|
-
name: "pathMatch",
|
|
1502
|
-
redirect: "/error/404"
|
|
1503
|
-
});
|
|
1504
|
-
}
|
|
1505
|
-
function Di() {
|
|
1506
|
-
var t, o;
|
|
1507
|
-
const e = wt();
|
|
1508
|
-
(t = e.global) == null || t.mergeLocaleMessage("zh", Ue.zh), (o = e.global) == null || o.mergeLocaleMessage("en", Ue.en), _.setItem("menu_zh", Ue.zh), _.setItem("menu_en", Ue.en);
|
|
1509
|
-
}
|
|
1510
|
-
function Xo(e) {
|
|
1511
|
-
if (e != null && e.length) {
|
|
1512
|
-
const t = e.findIndex((n) => n.menuCode === "SysHome");
|
|
1513
|
-
if (t !== -1) {
|
|
1514
|
-
const n = [], r = [];
|
|
1515
|
-
e[t].children.forEach((i) => {
|
|
1516
|
-
i.menuCategory !== "1" ? n.push(i) : r.push(i);
|
|
1517
|
-
}), e[t].children = r, Et().setHomeMenus(n);
|
|
1518
|
-
}
|
|
1519
|
-
const o = ee(An(e), !0);
|
|
1520
|
-
Di(), Bt(o).map((n) => {
|
|
1521
|
-
const { options: r } = z;
|
|
1522
|
-
r.routes[0].children.findIndex((i) => i.path === n.path) === -1 && (z.options.routes[0].children.push(n), ut(z.options.routes[0].children), z.hasRoute(n == null ? void 0 : n.name) || z.addRoute(n));
|
|
1523
|
-
});
|
|
1524
|
-
}
|
|
1525
|
-
Y().changeSetting(e), re().getMultiTagsCache || re().handleTags("equal", [
|
|
1526
|
-
...lt,
|
|
1527
|
-
...Y().flatteningRoutes.filter((t) => {
|
|
1528
|
-
var o;
|
|
1529
|
-
return (o = t == null ? void 0 : t.meta) == null ? void 0 : o.fixedTag;
|
|
1530
|
-
})
|
|
1531
|
-
]), Ti();
|
|
1532
|
-
}
|
|
1533
|
-
async function xi(e) {
|
|
1534
|
-
let t = [];
|
|
1535
|
-
const o = `U-${e}-ROUTES`;
|
|
1536
|
-
return ue().CachingAsyncRoutes && await et.getItem(o).then((n) => t = n), Ei().then((n) => Et().setDict(n)), await wi().then(async (n) => {
|
|
1537
|
-
Et().setSystemInfo(n), await At().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((r) => Et().setInvOrgList((r == null ? void 0 : r.list) || []));
|
|
1538
|
-
}), t != null && t.length ? new Promise((n) => {
|
|
1539
|
-
Xo(t), Go({ userName: e }).then((r) => {
|
|
1540
|
-
et.setItem(o, r);
|
|
1541
|
-
}), n(z);
|
|
1542
|
-
}) : new Promise((n) => {
|
|
1543
|
-
Go({ userName: e }).then((r) => {
|
|
1544
|
-
Xo(ee(r, !0)), et.setItem(o, r), n(z);
|
|
1545
|
-
});
|
|
1546
|
-
});
|
|
1547
|
-
}
|
|
1548
|
-
function Bt(e) {
|
|
1549
|
-
if (e.length === 0) return e;
|
|
1550
|
-
let t = go(e);
|
|
1551
|
-
for (let o = 0; o < t.length; o++)
|
|
1552
|
-
t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
|
|
1553
|
-
return t;
|
|
1554
|
-
}
|
|
1555
|
-
function Mn(e) {
|
|
1556
|
-
if (e.length === 0) return e;
|
|
1557
|
-
const t = [];
|
|
1558
|
-
return e.forEach((o) => {
|
|
1559
|
-
o.path === "/" ? t.push({
|
|
1560
|
-
component: o.component,
|
|
1561
|
-
name: o.name,
|
|
1562
|
-
path: o.path,
|
|
1563
|
-
redirect: o.redirect,
|
|
1564
|
-
meta: o.meta,
|
|
1565
|
-
children: []
|
|
1566
|
-
}) : t[0].children.push({ ...o });
|
|
1567
|
-
}), t;
|
|
1568
|
-
}
|
|
1569
|
-
function ki({ name: e }, t) {
|
|
1570
|
-
switch (t) {
|
|
1571
|
-
case "add":
|
|
1572
|
-
Y().cacheOperate({ mode: "add", name: e });
|
|
1573
|
-
break;
|
|
1574
|
-
case "delete":
|
|
1575
|
-
Y().cacheOperate({ mode: "delete", name: e });
|
|
1576
|
-
break;
|
|
1577
|
-
case "refresh":
|
|
1578
|
-
Y().cacheOperate({ mode: "refresh", name: e });
|
|
1579
|
-
break;
|
|
1580
|
-
default:
|
|
1581
|
-
Y().cacheOperate({ mode: "delete", name: e }), Lr(() => {
|
|
1582
|
-
Y().cacheOperate({ mode: "add", name: e });
|
|
1583
|
-
}, 100);
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
const Ue = {
|
|
1587
|
-
zh: {},
|
|
1588
|
-
en: {}
|
|
1589
|
-
}, Rn = [], An = (e) => {
|
|
1590
|
-
var n;
|
|
1591
|
-
const t = $i();
|
|
1592
|
-
if (!e || !e.length) return;
|
|
1593
|
-
const o = Object.keys(t);
|
|
1594
|
-
for (let r = 0; r < e.length; r++) {
|
|
1595
|
-
const i = e[r];
|
|
1596
|
-
i != null && i.children && i.children.length && !i.redirect && (i.redirect = i.children[0].path);
|
|
1597
|
-
const { icon: a, permissionCode: s, extraIcon: u, frameSrc: l } = i;
|
|
1598
|
-
if (i.isApprovalPage === "Y" && Rn.push(i), i.meta = {
|
|
1599
|
-
keepAlive: !0,
|
|
1600
|
-
rank: i.sort,
|
|
1601
|
-
title: `${i.i18nField}`,
|
|
1602
|
-
// 审批流设计页面和审批页面的code写死,只需配置页面即可(保底方式)
|
|
1603
|
-
// showLink: !['UDPFlowTask'].includes(v.menuCode) ? null : false
|
|
1604
|
-
showLink: i.showLink !== "N"
|
|
1605
|
-
}, i.hiddenTag = null, Object.assign(i.meta, { icon: a, permissionCode: s, extraIcon: u, frameSrc: l }), Ue.zh[i.i18nField] = i.menuName || i.menuNameEn, Ue.en[i.i18nField] = i.menuNameEn || i.menuName, i.name = i.menuCode || i.name, i.path = i.menuPath || i.path, !i.parentId)
|
|
1606
|
-
i.component = Ci;
|
|
1607
|
-
else if ((n = i.meta) != null && n.frameSrc)
|
|
1608
|
-
i.component = Si;
|
|
1609
|
-
else if (i.menuCategory === "10") {
|
|
1610
|
-
const d = o.findIndex((c) => c.includes("lowcode-contain"));
|
|
1611
|
-
i.component = bi(
|
|
1612
|
-
i.name,
|
|
1613
|
-
lr(() => import(
|
|
1614
|
-
/* @vite-ignore */
|
|
1615
|
-
o[d]
|
|
1616
|
-
))
|
|
1617
|
-
), Object.assign(i.meta, { moduleType: i.moduleType });
|
|
1618
|
-
} else if (i.menuCategory !== "5") {
|
|
1619
|
-
const d = o.findIndex((c) => c.includes(i.path));
|
|
1620
|
-
i.component = t[o[d]];
|
|
1621
|
-
}
|
|
1622
|
-
i != null && i.children && i.children.length ? An(i.children) : delete i.children;
|
|
1623
|
-
}
|
|
1624
|
-
return e;
|
|
1625
|
-
};
|
|
1626
|
-
function ol(e, t = !0) {
|
|
1627
|
-
const o = re().multiTags.findIndex((n) => {
|
|
1628
|
-
if (e.query) {
|
|
1629
|
-
if (e.path === n.path)
|
|
1630
|
-
return e.query === n.query;
|
|
1631
|
-
} else
|
|
1632
|
-
return e.path === n.path;
|
|
1633
|
-
});
|
|
1634
|
-
if (re().handleTags("splice", "", { startIndex: o, length: 1 }), ki(e.matched, "delete"), t) {
|
|
1635
|
-
const n = re().handleTags("slice");
|
|
1636
|
-
z.push({
|
|
1637
|
-
path: n[0].path,
|
|
1638
|
-
query: n[0].query
|
|
1639
|
-
});
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
function Ii(e) {
|
|
1643
|
-
return e != null && e.children && e.children.length > 1 ? e.redirect ? e.children.filter((t) => t.path === e.redirect)[0] : e.children[0] : e;
|
|
1644
|
-
}
|
|
1645
|
-
function nl(e = !1) {
|
|
1646
|
-
var o;
|
|
1647
|
-
const t = Ii((o = Y().wholeMenus[0]) == null ? void 0 : o.children[0]);
|
|
1648
|
-
return e && re().handleTags("push", t), t;
|
|
1649
|
-
}
|
|
1650
|
-
function rl() {
|
|
1651
|
-
return Rn;
|
|
1652
|
-
}
|
|
1653
|
-
const Fi = st("udp-permission", {
|
|
1654
|
-
state: () => ({
|
|
1655
|
-
// 静态路由生成的菜单
|
|
1656
|
-
constantMenus: Bi,
|
|
1657
|
-
// 整体路由生成的菜单(静态、动态)
|
|
1658
|
-
wholeMenus: [],
|
|
1659
|
-
// 深拷贝一个菜单树,与导航菜单不冲突
|
|
1660
|
-
menusTree: [],
|
|
1661
|
-
// 整体路由(一维数组格式)
|
|
1662
|
-
flatteningRoutes: [],
|
|
1663
|
-
buttonAuth: [],
|
|
1664
|
-
// 缓存页面keepAlive
|
|
1665
|
-
cachePageList: []
|
|
1666
|
-
}),
|
|
1667
|
-
getters: {
|
|
1668
|
-
getButtonAuth() {
|
|
1669
|
-
return this.buttonAuth;
|
|
1670
|
-
}
|
|
1671
|
-
},
|
|
1672
|
-
actions: {
|
|
1673
|
-
asyncActionRoutes(e = []) {
|
|
1674
|
-
if (this.wholeMenus.length > 0) return;
|
|
1675
|
-
const t = Pr(e, (n) => n.menuCode === "SysHome"), o = ee(this.constantMenus, !0);
|
|
1676
|
-
if (t !== -1) {
|
|
1677
|
-
const n = this.constantMenus.find((r) => r.name === "home");
|
|
1678
|
-
e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
|
|
1679
|
-
}
|
|
1680
|
-
this.wholeMenus = _n(ut(this.constantMenus.concat(e))), this.flatteningRoutes = Bt(this.constantMenus.concat(e)), this.menusTree = ee(this.wholeMenus, !0), this.constantMenus = o;
|
|
1681
|
-
},
|
|
1682
|
-
async changeSetting(e) {
|
|
1683
|
-
await this.asyncActionRoutes(e);
|
|
1684
|
-
},
|
|
1685
|
-
setAuthButton(e) {
|
|
1686
|
-
this.buttonAuth = e;
|
|
1687
|
-
},
|
|
1688
|
-
setWholeMenus(e) {
|
|
1689
|
-
this.wholeMenus = e;
|
|
1690
|
-
},
|
|
1691
|
-
/** 监听缓存页面是否存在于标签页,不存在则删除 */
|
|
1692
|
-
clearCache() {
|
|
1693
|
-
let e = this.cachePageList.length;
|
|
1694
|
-
const t = ni(re().multiTags, "name");
|
|
1695
|
-
for (; e > 0; )
|
|
1696
|
-
t.findIndex((o) => o === this.cachePageList[e - 1]) === -1 && this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[e - 1]), 1), e--;
|
|
1697
|
-
},
|
|
1698
|
-
cacheOperate({ mode: e, name: t }) {
|
|
1699
|
-
const o = this.cachePageList.findIndex((n) => n === t);
|
|
1700
|
-
switch (e) {
|
|
1701
|
-
case "refresh":
|
|
1702
|
-
this.cachePageList = this.cachePageList.filter((n) => n !== t), this.clearCache();
|
|
1703
|
-
break;
|
|
1704
|
-
case "add":
|
|
1705
|
-
this.cachePageList.push(t);
|
|
1706
|
-
break;
|
|
1707
|
-
case "delete":
|
|
1708
|
-
o !== -1 && this.cachePageList.splice(o, 1), this.clearCache();
|
|
1709
|
-
break;
|
|
1710
|
-
case "reset":
|
|
1711
|
-
this.cachePageList = [];
|
|
1712
|
-
break;
|
|
1713
|
-
}
|
|
1714
|
-
},
|
|
1715
|
-
/** 清空缓存页面 */
|
|
1716
|
-
clearAllCachePage() {
|
|
1717
|
-
this.wholeMenus = [], this.menusTree = [], this.buttonAuth = [], this.cachePageList = [];
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
});
|
|
1721
|
-
function Y() {
|
|
1722
|
-
return Fi(Ye);
|
|
1723
|
-
}
|
|
1724
|
-
const Ln = st("udp-multiTags", {
|
|
1725
|
-
state: () => {
|
|
1726
|
-
var e, t;
|
|
1727
|
-
return {
|
|
1728
|
-
// 存储标签页信息(路由信息)
|
|
1729
|
-
multiTags: (e = _.getItem(`${$()}configure`)) != null && e.multiTagsCache ? _.getItem(`${$()}tags`) : [...lt, ...Y().flatteningRoutes.filter((o) => {
|
|
1730
|
-
var n;
|
|
1731
|
-
return (n = o == null ? void 0 : o.meta) == null ? void 0 : n.fixedTag;
|
|
1732
|
-
})],
|
|
1733
|
-
multiTagsCache: (t = _.getItem(`${$()}configure`)) == null ? void 0 : t.multiTagsCache
|
|
1734
|
-
};
|
|
1735
|
-
},
|
|
1736
|
-
getters: {
|
|
1737
|
-
getMultiTagsCache(e) {
|
|
1738
|
-
return e.multiTagsCache;
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
actions: {
|
|
1742
|
-
multiTagsCacheChange(e) {
|
|
1743
|
-
this.multiTagsCache = e, e ? _.setItem(`${$()}tags`, this.multiTags) : _.removeItem(`${$()}tags`);
|
|
1744
|
-
},
|
|
1745
|
-
tagsCache(e) {
|
|
1746
|
-
this.getMultiTagsCache && _.setItem(`${$()}tags`, e);
|
|
1747
|
-
},
|
|
1748
|
-
handleTags(e, t, o) {
|
|
1749
|
-
var n, r, i, a;
|
|
1750
|
-
switch (e) {
|
|
1751
|
-
case "equal":
|
|
1752
|
-
this.multiTags = t, this.tagsCache(this.multiTags);
|
|
1753
|
-
break;
|
|
1754
|
-
case "push":
|
|
1755
|
-
{
|
|
1756
|
-
const s = t;
|
|
1757
|
-
if ((n = s == null ? void 0 : s.meta) != null && n.hiddenTag || Tn(s == null ? void 0 : s.name) || ((i = (r = s == null ? void 0 : s.meta) == null ? void 0 : r.title) == null ? void 0 : i.length) === 0) return;
|
|
1758
|
-
const u = s.path;
|
|
1759
|
-
if (this.multiTags.some((c) => c.path === u && jo(c == null ? void 0 : c.query, s == null ? void 0 : s.query) && jo(c == null ? void 0 : c.params, s == null ? void 0 : s.params))) return;
|
|
1760
|
-
const d = ((a = s == null ? void 0 : s.meta) == null ? void 0 : a.dynamicLevel) ?? -1;
|
|
1761
|
-
if (d > 0 && this.multiTags.filter((c) => (c == null ? void 0 : c.path) === u).length >= d) {
|
|
1762
|
-
const c = this.multiTags.findIndex((p) => (p == null ? void 0 : p.path) === u);
|
|
1763
|
-
c !== -1 && this.multiTags.splice(c, 1);
|
|
1764
|
-
}
|
|
1765
|
-
this.multiTags.push(t), this.tagsCache(this.multiTags);
|
|
1766
|
-
}
|
|
1767
|
-
break;
|
|
1768
|
-
case "splice":
|
|
1769
|
-
if (o)
|
|
1770
|
-
this.multiTags.splice(o == null ? void 0 : o.startIndex, o == null ? void 0 : o.length);
|
|
1771
|
-
else {
|
|
1772
|
-
const s = this.multiTags.findIndex((u) => u.path === t);
|
|
1773
|
-
if (s === -1) return;
|
|
1774
|
-
this.multiTags.splice(s, 1);
|
|
1775
|
-
}
|
|
1776
|
-
return this.tagsCache(this.multiTags), this.multiTags;
|
|
1777
|
-
case "slice":
|
|
1778
|
-
return this.multiTags.slice(-1);
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
});
|
|
1783
|
-
function re() {
|
|
1784
|
-
return Ln(Ye);
|
|
1785
|
-
}
|
|
1786
|
-
const Pi = () => import("./layoutView--MGA9zUB.js"), Oi = {
|
|
1787
|
-
path: "/",
|
|
1788
|
-
name: "home",
|
|
1789
|
-
component: Pi,
|
|
1790
|
-
redirect: "/welcome",
|
|
1791
|
-
meta: {
|
|
1792
|
-
icon: "home-filled",
|
|
1793
|
-
title: "message.udp.home",
|
|
1794
|
-
rank: 0
|
|
1795
|
-
},
|
|
1796
|
-
children: [
|
|
1797
|
-
{
|
|
1798
|
-
path: "/welcome",
|
|
1799
|
-
name: "UdpWelcome",
|
|
1800
|
-
component: () => import("./su-welcome-C1bmxHoY.js"),
|
|
1801
|
-
meta: {
|
|
1802
|
-
title: "message.udp.home",
|
|
1803
|
-
keepAlive: !0
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
]
|
|
1807
|
-
}, _i = () => import("./layoutView--MGA9zUB.js"), Ni = {
|
|
1808
|
-
path: "/error",
|
|
1809
|
-
name: "error",
|
|
1810
|
-
component: _i,
|
|
1811
|
-
redirect: "/error/403",
|
|
1812
|
-
meta: {
|
|
1813
|
-
showLink: !1,
|
|
1814
|
-
icon: "information-line",
|
|
1815
|
-
title: "message.udp.error",
|
|
1816
|
-
rank: 999
|
|
1817
|
-
},
|
|
1818
|
-
children: [
|
|
1819
|
-
{
|
|
1820
|
-
path: "/error/403",
|
|
1821
|
-
name: "403",
|
|
1822
|
-
component: () => import("./403-B1rIjAAu.js"),
|
|
1823
|
-
meta: {
|
|
1824
|
-
title: "message.udp.fourZeroThree"
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
]
|
|
1828
|
-
}, Mi = () => import("./layoutView--MGA9zUB.js"), at = [
|
|
1829
|
-
{
|
|
1830
|
-
path: "/login",
|
|
1831
|
-
name: "login",
|
|
1832
|
-
component: () => import("./login-C6Y0ajDp.js"),
|
|
1833
|
-
meta: {
|
|
1834
|
-
title: "message.udp.login",
|
|
1835
|
-
showLink: !1
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
path: "/error/404",
|
|
1840
|
-
name: "404",
|
|
1841
|
-
component: () => import("./404-mBqc2y4t.js"),
|
|
1842
|
-
meta: {
|
|
1843
|
-
title: "message.udp.fourZeroFour",
|
|
1844
|
-
showLink: !1
|
|
1845
|
-
}
|
|
1846
|
-
},
|
|
1847
|
-
{
|
|
1848
|
-
path: "/error/500",
|
|
1849
|
-
name: "500",
|
|
1850
|
-
component: () => import("./500-BoI45Zdh.js"),
|
|
1851
|
-
meta: {
|
|
1852
|
-
title: "message.udp.five",
|
|
1853
|
-
showLink: !1
|
|
1854
|
-
}
|
|
1855
|
-
},
|
|
1856
|
-
{
|
|
1857
|
-
path: "/redirect",
|
|
1858
|
-
name: "redirect",
|
|
1859
|
-
component: Mi,
|
|
1860
|
-
meta: {
|
|
1861
|
-
icon: "home-filled",
|
|
1862
|
-
title: "message.udp.home",
|
|
1863
|
-
showLink: !1,
|
|
1864
|
-
rank: 104
|
|
1865
|
-
},
|
|
1866
|
-
children: [
|
|
1867
|
-
{
|
|
1868
|
-
path: "/redirect/:path(.*)",
|
|
1869
|
-
// 2024-12-17
|
|
1870
|
-
name: "redirectView",
|
|
1871
|
-
component: () => import("./redirect-BqegffKC.js")
|
|
1872
|
-
}
|
|
1873
|
-
]
|
|
1874
|
-
}
|
|
1875
|
-
], Ri = () => import("./layoutView--MGA9zUB.js"), Ai = {
|
|
1876
|
-
component: Ri,
|
|
1877
|
-
path: "/utask",
|
|
1878
|
-
redirect: "/utask/task/flow-task",
|
|
1879
|
-
meta: {
|
|
1880
|
-
showLink: !1,
|
|
1881
|
-
icon: "IF-pure-iconfont-tabs",
|
|
1882
|
-
title: "message.udp.flowTask"
|
|
1883
|
-
},
|
|
1884
|
-
children: [
|
|
1885
|
-
// query 传参模式
|
|
1886
|
-
{
|
|
1887
|
-
path: "/utask/task/flow-task",
|
|
1888
|
-
name: "FlowTask",
|
|
1889
|
-
component: () => import("./flow-task-B07st2aD.js"),
|
|
1890
|
-
meta: {
|
|
1891
|
-
// 不在menu菜单中显示
|
|
1892
|
-
title: "",
|
|
1893
|
-
showLink: !1,
|
|
1894
|
-
activePath: "/uflow/index"
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
]
|
|
1898
|
-
}, Li = /* @__PURE__ */ Object.assign({
|
|
1899
|
-
"../views/organization/company/Company.vue": () => import("./Company-JGGyWEWH.js"),
|
|
1900
|
-
"../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-BQ_cCmDx.js"),
|
|
1901
|
-
"../views/organization/department/Department.vue": () => import("./Department-z2iO6hwM.js"),
|
|
1902
|
-
"../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-BtQe7zwU.js"),
|
|
1903
|
-
"../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-Pn1O_XP0.js"),
|
|
1904
|
-
"../views/organization/org/Org.vue": () => import("./Org-BqytV_vi.js"),
|
|
1905
|
-
"../views/organization/staff/Staff.vue": () => import("./Staff-BTk3whFC.js"),
|
|
1906
|
-
"../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-d3AuSzlA.js"),
|
|
1907
|
-
"../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-DV-D4jjz.js"),
|
|
1908
|
-
"../views/system/cron/cron-task.vue": () => import("./cron-task-nTOpqQYf.js"),
|
|
1909
|
-
"../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-BeBNiwqc.js"),
|
|
1910
|
-
"../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-kYB_ZaUt.js"),
|
|
1911
|
-
"../views/system/menu/menuInfo.vue": () => import("./menuInfo-UeutJpOa.js"),
|
|
1912
|
-
"../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-BolW8YVs.js"),
|
|
1913
|
-
"../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-2kfs5tw9.js"),
|
|
1914
|
-
"../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-B08NBIIn.js"),
|
|
1915
|
-
"../views/system/role/Role.vue": () => import("./Role-B-XDoJd5.js"),
|
|
1916
|
-
"../views/system/role/RolePanel.vue": () => import("./RolePanel-HilSuYns.js"),
|
|
1917
|
-
"../views/system/role/UserInfo.vue": () => import("./UserInfo-4dx97VBL.js"),
|
|
1918
|
-
"../views/system/sys/sys-config.vue": () => import("./sys-config-BnmIDnCj.js"),
|
|
1919
|
-
"../views/system/sysUser/SysUser.vue": () => import("./SysUser-BnjYytws.js"),
|
|
1920
|
-
"../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-CBoyD-Qi.js"),
|
|
1921
|
-
"../views/uapp/pda/pda-app.vue": () => import("./pda-app-B6w99SJo.js"),
|
|
1922
|
-
"../views/udev/coderule/code-rule.vue": () => import("./code-rule-CbxuZg0-.js"),
|
|
1923
|
-
"../views/udev/dict/DictView.vue": () => import("./DictView-CjchV2Yk.js"),
|
|
1924
|
-
"../views/udev/dict/childView.vue": () => import("./childView-CHPNfTEb.js"),
|
|
1925
|
-
"../views/udev/lov/childView.vue": () => import("./childView-CKA_JgVZ.js"),
|
|
1926
|
-
"../views/udev/lov/lov-view.vue": () => import("./lov-view-Cmv7wZZ9.js"),
|
|
1927
|
-
"../views/upms/interface/log-in.vue": () => import("./log-in-CSYJDA6m.js"),
|
|
1928
|
-
"../views/upms/interface/log-out.vue": () => import("./log-out-DiwGCg7p.js"),
|
|
1929
|
-
"../views/upms/user/login-log.vue": () => import("./login-log-C0V-_l3F.js"),
|
|
1930
|
-
"../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-DT-rGICv.js"),
|
|
1931
|
-
"../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-7mhtVWas.js"),
|
|
1932
|
-
"../views/urpt/design/Preview.vue": () => import("./Preview-CLpUUMay.js"),
|
|
1933
|
-
"../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-BaORYud4.js"),
|
|
1934
|
-
"../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-CPCPXiXz.js"),
|
|
1935
|
-
"../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-C_AcrfkJ.js"),
|
|
1936
|
-
"../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-Cz1KtEUF.js"),
|
|
1937
|
-
"../views/urpt/static-resource/resource.vue": () => import("./resource-BybJvUv0.js"),
|
|
1938
|
-
"../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-CFiNMz79.js")
|
|
1939
|
-
}), il = at, vo = [Oi, Ni, Ai], al = Mn(
|
|
1940
|
-
Bt(go(ut(vo)))
|
|
1941
|
-
), Bi = ut(vo).concat(...at), sl = Object.keys(at).map((e) => at[e].path), zi = /* @__PURE__ */ new Set();
|
|
1942
|
-
function Ui() {
|
|
1943
|
-
zi.clear();
|
|
1944
|
-
}
|
|
1945
|
-
function ji() {
|
|
1946
|
-
z.getRoutes().forEach((e) => {
|
|
1947
|
-
const { name: t, meta: o } = e;
|
|
1948
|
-
t && z.hasRoute(t) && (o != null && o.backstage) && (z.removeRoute(t), z.options.routes = Mn(Bt(go(ut(vo)))));
|
|
1949
|
-
}), Y().clearAllCachePage(), Ui();
|
|
1950
|
-
}
|
|
1951
|
-
let ao = null, z = null;
|
|
1952
|
-
function qi(e, t) {
|
|
1953
|
-
ao = e, z = t, Object.assign(ao, Li);
|
|
1954
|
-
}
|
|
1955
|
-
function $i() {
|
|
1956
|
-
return ao;
|
|
1957
|
-
}
|
|
1958
|
-
const Wi = ["/login"], ll = (e, t, o) => {
|
|
1959
|
-
var a, s, u;
|
|
1960
|
-
const n = Me.get(kn), r = Tn(e == null ? void 0 : e.name);
|
|
1961
|
-
function i() {
|
|
1962
|
-
Wi.includes(e.fullPath) ? o(t.fullPath) : o();
|
|
1963
|
-
}
|
|
1964
|
-
if (t != null && t.name && (t == null ? void 0 : t.name) !== "login") {
|
|
1965
|
-
const l = (a = e.matched.find((d) => d.path === e.path || d.name === e.name && e.params)) == null ? void 0 : a.components;
|
|
1966
|
-
r ? (Cr(e == null ? void 0 : e.name), (s = Sr) == null || s.done()) : l != null && l.default || e.name === "redirect" ? i() : o({ path: "/error/404" });
|
|
1967
|
-
} else
|
|
1968
|
-
Y().wholeMenus.length === 0 && xi(n).then((l) => {
|
|
1969
|
-
var d;
|
|
1970
|
-
if (!re().getMultiTagsCache) {
|
|
1971
|
-
const { path: c } = e, y = Or(at, (h) => h.path === c) === -1 ? l.options.routes[0].children : l.options.routes, w = Nn(c, y);
|
|
1972
|
-
if (w && ((d = w.meta) != null && d.title)) {
|
|
1973
|
-
const { path: h, name: m, meta: x } = w;
|
|
1974
|
-
re().handleTags("push", { path: h, name: m, meta: x });
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
qe(e.name) && l.push(e.fullPath);
|
|
1978
|
-
}), t.fullPath === "/" && e.fullPath === "/login" && !((u = e.query) != null && u.tokenExpire) ? (e.path = "/welcome", e.fullPath = "/welcome", e.name = "UdpWelcome") : t.fullPath === "/" && e.path === "/workflow/approve/index" && (e.path = "/welcome", e.fullPath = "/welcome", e.name = "UdpWelcome", e.query = {}), i();
|
|
1979
|
-
};
|
|
1980
|
-
Tr(xn, { serviceApi: At(), i18n: On });
|
|
1981
|
-
Gi();
|
|
1982
|
-
const Hi = {
|
|
1983
|
-
// 对组件内置的提示语进行国际化翻译
|
|
1984
|
-
// @ts-ignore
|
|
1985
|
-
i18n: (e, t) => wt().global.t(e, t),
|
|
1986
|
-
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
1987
|
-
translate(e) {
|
|
1988
|
-
return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? wt().global.t.call(wt().global.locale, e) : e;
|
|
1989
|
-
}
|
|
1990
|
-
};
|
|
1991
|
-
function Vi(e = {}) {
|
|
1992
|
-
xn.setConfig(yo(Hi, e)), le.interceptor.add("event.clearEdit", {
|
|
1993
|
-
tableInterceptorMethod(t) {
|
|
1994
|
-
const { $event: o } = t;
|
|
1995
|
-
if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
|
|
1996
|
-
}
|
|
1997
|
-
});
|
|
1998
|
-
}
|
|
1999
|
-
function Yi(e) {
|
|
2000
|
-
le.setTheme(e);
|
|
2001
|
-
}
|
|
2002
|
-
function Gi() {
|
|
2003
|
-
le.commands.add("utTodyay", {
|
|
2004
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2005
|
-
const t = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 00:00:00"), o = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2006
|
-
e.setModelValue(t, o);
|
|
2007
|
-
}
|
|
2008
|
-
}), le.commands.add("utYesterDay", {
|
|
2009
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2010
|
-
const t = B(Pe(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 00:00:00"), o = B(Pe(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 23:59:59");
|
|
2011
|
-
e.setModelValue(t, o);
|
|
2012
|
-
}
|
|
2013
|
-
}), le.commands.add("utRecentWeek", {
|
|
2014
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2015
|
-
const t = B(Pe(/* @__PURE__ */ new Date(), -7), "yyyy-MM-dd 00:00:00"), o = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2016
|
-
e.setModelValue(t, o);
|
|
2017
|
-
}
|
|
2018
|
-
}), le.commands.add("utRecentMonth", {
|
|
2019
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2020
|
-
const t = B(Pe(/* @__PURE__ */ new Date(), -30), "yyyy-MM-dd 00:00:00"), o = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2021
|
-
e.setModelValue(t, o);
|
|
2022
|
-
}
|
|
2023
|
-
}), le.commands.add("utRecentThreeMonth", {
|
|
2024
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2025
|
-
const t = B(Pe(/* @__PURE__ */ new Date(), -90), "yyyy-MM-dd 00:00:00"), o = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2026
|
-
e.setModelValue(t, o);
|
|
2027
|
-
}
|
|
2028
|
-
}), le.commands.add("utRecentHalfYear", {
|
|
2029
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2030
|
-
const t = B(Pe(/* @__PURE__ */ new Date(), -180), "yyyy-MM-dd 00:00:00"), o = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2031
|
-
e.setModelValue(t, o);
|
|
2032
|
-
}
|
|
2033
|
-
}), le.commands.add("utRecentYear", {
|
|
2034
|
-
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2035
|
-
const t = B(Pe(/* @__PURE__ */ new Date(), -365), "yyyy-MM-dd 00:00:00"), o = B(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2036
|
-
e.setModelValue(t, o);
|
|
2037
|
-
}
|
|
2038
|
-
});
|
|
2039
|
-
}
|
|
2040
|
-
var bo = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, Ki = Object.getOwnPropertyNames, Ji = Object.prototype.hasOwnProperty, Zi = (e, t, o) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Qi = (e, t) => {
|
|
2041
|
-
for (var o in t) bo(e, o, { get: t[o], enumerable: !0 });
|
|
2042
|
-
}, ea = (e, t, o, n) => {
|
|
2043
|
-
if (t && typeof t == "object" || typeof t == "function") for (let r of Ki(t)) !Ji.call(e, r) && r !== o && bo(e, r, { get: () => t[r], enumerable: !(n = Xi(t, r)) || n.enumerable });
|
|
2044
|
-
return e;
|
|
2045
|
-
}, ta = (e, t, o) => (ea(e, t, "default"), o), Ko = (e, t, o) => (Zi(e, typeof t != "symbol" ? t + "" : t, o), o), wo = {};
|
|
2046
|
-
Qi(wo, { Vue: () => Cn });
|
|
2047
|
-
ta(wo, Cn);
|
|
2048
|
-
var Ft = class {
|
|
2049
|
-
static install(e, t) {
|
|
2050
|
-
let { nameSpace: o = this._nameSpace, memory: n } = t;
|
|
2051
|
-
return n && this.clearAll(o, n), new Ft(e, t);
|
|
2052
|
-
}
|
|
2053
|
-
static clearAll(e, t) {
|
|
2054
|
-
Object.keys(t).forEach((o) => {
|
|
2055
|
-
let n = e + o;
|
|
2056
|
-
Object.prototype.hasOwnProperty.call(window.localStorage, n) && window.localStorage.removeItem(n);
|
|
2057
|
-
});
|
|
2058
|
-
}
|
|
2059
|
-
static get(e) {
|
|
2060
|
-
return JSON.parse(window.localStorage.getItem(e));
|
|
2061
|
-
}
|
|
2062
|
-
static set(e, t) {
|
|
2063
|
-
t = typeof t == "object" ? JSON.stringify(t) : t, window.localStorage.setItem(e, t);
|
|
2064
|
-
}
|
|
2065
|
-
static getData(e, t) {
|
|
2066
|
-
if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
|
|
2067
|
-
}
|
|
2068
|
-
constructor(e, t) {
|
|
2069
|
-
let o = Ft, { version: n = 3, nameSpace: r = o._nameSpace, memory: i } = t, a = (l) => r + l, s = n === 3 ? (0, wo.reactive)(i) : i;
|
|
2070
|
-
Object.keys(s).length === 0 && console.warn("key cannot be empty"), Object.keys(s).forEach((l) => {
|
|
2071
|
-
let d = s[l];
|
|
2072
|
-
o.set(a(l), d), Reflect.defineProperty(s, l, { get: () => o.get(a(l)), set: (c) => o.set(a(l), c), configurable: !0 }), n === 2 && e.util.defineReactive(s, l, s[l]);
|
|
2073
|
-
});
|
|
2074
|
-
let u = n === 3 ? e.config.globalProperties : e.prototype;
|
|
2075
|
-
Reflect.defineProperty(u, "$storage", { get: () => s });
|
|
2076
|
-
}
|
|
2077
|
-
}, Ce = Ft;
|
|
2078
|
-
Ko(Ce, "_nameSpace", "rs-"), Ko(Ce, "_getStaticKey", (e, t) => `${e ?? Ft._nameSpace}${t}`);
|
|
2079
|
-
const oa = (e, t) => {
|
|
2080
|
-
const o = $(), n = Object.assign(
|
|
2081
|
-
{
|
|
2082
|
-
// 国际化 默认中文zh
|
|
2083
|
-
locale: Ce.getData("locale", o) ?? {
|
|
2084
|
-
locale: t.Locale ?? "zh"
|
|
2085
|
-
},
|
|
2086
|
-
// layout模式以及主题
|
|
2087
|
-
layout: Ce.getData("layout", o) ?? {
|
|
2088
|
-
layout: t.Layout ?? "vertical",
|
|
2089
|
-
theme: t.Theme ?? "default",
|
|
2090
|
-
darkMode: t.DarkMode ?? !1,
|
|
2091
|
-
sidebarStatus: t.SidebarStatus ?? !0,
|
|
2092
|
-
epThemeColor: t.EpThemeColor ?? "#409EFF",
|
|
2093
|
-
themeColor: t.Theme ?? "light",
|
|
2094
|
-
// 主题色(对应项目配置中的主题色,与theme不同的是它不会受到浅色、深色主题模式切换的影响,只会在手动点击主题色时改变)
|
|
2095
|
-
overallStyle: t.OverallStyle ?? "light"
|
|
2096
|
-
// 主题模式(浅色:light、深色:dark、自动:system)
|
|
2097
|
-
},
|
|
2098
|
-
configure: Ce.getData("configure", o) ?? {
|
|
2099
|
-
grey: t.Grey ?? !1,
|
|
2100
|
-
weak: t.Weak ?? !1,
|
|
2101
|
-
hideTabs: t.HideTabs ?? !1,
|
|
2102
|
-
showLogo: t.ShowLogo ?? !0,
|
|
2103
|
-
showModel: t.ShowModel ?? "smart",
|
|
2104
|
-
multiTagsCache: t.MultiTagsCache ?? !1
|
|
2105
|
-
},
|
|
2106
|
-
cnd: Ce.getData("cnd", o) ?? {}
|
|
2107
|
-
},
|
|
2108
|
-
t.MultiTagsCache ? {
|
|
2109
|
-
// 默认显示首页tag
|
|
2110
|
-
tags: Ce.getData("tags", o) ?? lt
|
|
2111
|
-
} : {}
|
|
2112
|
-
);
|
|
2113
|
-
e.use(Ce, { nameSpace: o, memory: n });
|
|
2114
|
-
}, na = (e) => {
|
|
2115
|
-
var r;
|
|
2116
|
-
if (!e) return !0;
|
|
2117
|
-
const t = (r = z.currentRoute.value.meta) == null ? void 0 : r.permissionCode;
|
|
2118
|
-
if (!t) return !0;
|
|
2119
|
-
_r(e) || (e = [e]);
|
|
2120
|
-
const o = Y().getButtonAuth;
|
|
2121
|
-
if (!o) return !0;
|
|
2122
|
-
let n = !1;
|
|
2123
|
-
return e.forEach((i) => {
|
|
2124
|
-
if (!n) {
|
|
2125
|
-
const a = `${t}.${i}`;
|
|
2126
|
-
n = o.includes(a);
|
|
2127
|
-
}
|
|
2128
|
-
}), n;
|
|
2129
|
-
};
|
|
2130
|
-
/**!
|
|
2131
|
-
* Sortable 1.15.6
|
|
2132
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
2133
|
-
* @author owenm <owen23355@gmail.com>
|
|
2134
|
-
* @license MIT
|
|
2135
|
-
*/
|
|
2136
|
-
function Jo(e, t) {
|
|
2137
|
-
var o = Object.keys(e);
|
|
2138
|
-
if (Object.getOwnPropertySymbols) {
|
|
2139
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
2140
|
-
t && (n = n.filter(function(r) {
|
|
2141
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
2142
|
-
})), o.push.apply(o, n);
|
|
2143
|
-
}
|
|
2144
|
-
return o;
|
|
2145
|
-
}
|
|
2146
|
-
function de(e) {
|
|
2147
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
2148
|
-
var o = arguments[t] != null ? arguments[t] : {};
|
|
2149
|
-
t % 2 ? Jo(Object(o), !0).forEach(function(n) {
|
|
2150
|
-
ra(e, n, o[n]);
|
|
2151
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Jo(Object(o)).forEach(function(n) {
|
|
2152
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
2153
|
-
});
|
|
2154
|
-
}
|
|
2155
|
-
return e;
|
|
2156
|
-
}
|
|
2157
|
-
function Ct(e) {
|
|
2158
|
-
"@babel/helpers - typeof";
|
|
2159
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ct = function(t) {
|
|
2160
|
-
return typeof t;
|
|
2161
|
-
} : Ct = function(t) {
|
|
2162
|
-
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2163
|
-
}, Ct(e);
|
|
2164
|
-
}
|
|
2165
|
-
function ra(e, t, o) {
|
|
2166
|
-
return t in e ? Object.defineProperty(e, t, {
|
|
2167
|
-
value: o,
|
|
2168
|
-
enumerable: !0,
|
|
2169
|
-
configurable: !0,
|
|
2170
|
-
writable: !0
|
|
2171
|
-
}) : e[t] = o, e;
|
|
2172
|
-
}
|
|
2173
|
-
function ve() {
|
|
2174
|
-
return ve = Object.assign || function(e) {
|
|
2175
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
2176
|
-
var o = arguments[t];
|
|
2177
|
-
for (var n in o)
|
|
2178
|
-
Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
|
|
2179
|
-
}
|
|
2180
|
-
return e;
|
|
2181
|
-
}, ve.apply(this, arguments);
|
|
2182
|
-
}
|
|
2183
|
-
function ia(e, t) {
|
|
2184
|
-
if (e == null) return {};
|
|
2185
|
-
var o = {}, n = Object.keys(e), r, i;
|
|
2186
|
-
for (i = 0; i < n.length; i++)
|
|
2187
|
-
r = n[i], !(t.indexOf(r) >= 0) && (o[r] = e[r]);
|
|
2188
|
-
return o;
|
|
2189
|
-
}
|
|
2190
|
-
function aa(e, t) {
|
|
2191
|
-
if (e == null) return {};
|
|
2192
|
-
var o = ia(e, t), n, r;
|
|
2193
|
-
if (Object.getOwnPropertySymbols) {
|
|
2194
|
-
var i = Object.getOwnPropertySymbols(e);
|
|
2195
|
-
for (r = 0; r < i.length; r++)
|
|
2196
|
-
n = i[r], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n]);
|
|
2197
|
-
}
|
|
2198
|
-
return o;
|
|
2199
|
-
}
|
|
2200
|
-
var sa = "1.15.6";
|
|
2201
|
-
function ye(e) {
|
|
2202
|
-
if (typeof window < "u" && window.navigator)
|
|
2203
|
-
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
2204
|
-
}
|
|
2205
|
-
var be = ye(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ct = ye(/Edge/i), Zo = ye(/firefox/i), tt = ye(/safari/i) && !ye(/chrome/i) && !ye(/android/i), Eo = ye(/iP(ad|od|hone)/i), Bn = ye(/chrome/i) && ye(/android/i), zn = {
|
|
2206
|
-
capture: !1,
|
|
2207
|
-
passive: !1
|
|
2208
|
-
};
|
|
2209
|
-
function T(e, t, o) {
|
|
2210
|
-
e.addEventListener(t, o, !be && zn);
|
|
2211
|
-
}
|
|
2212
|
-
function S(e, t, o) {
|
|
2213
|
-
e.removeEventListener(t, o, !be && zn);
|
|
2214
|
-
}
|
|
2215
|
-
function Pt(e, t) {
|
|
2216
|
-
if (t) {
|
|
2217
|
-
if (t[0] === ">" && (t = t.substring(1)), e)
|
|
2218
|
-
try {
|
|
2219
|
-
if (e.matches)
|
|
2220
|
-
return e.matches(t);
|
|
2221
|
-
if (e.msMatchesSelector)
|
|
2222
|
-
return e.msMatchesSelector(t);
|
|
2223
|
-
if (e.webkitMatchesSelector)
|
|
2224
|
-
return e.webkitMatchesSelector(t);
|
|
2225
|
-
} catch {
|
|
2226
|
-
return !1;
|
|
2227
|
-
}
|
|
2228
|
-
return !1;
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
function Un(e) {
|
|
2232
|
-
return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
|
|
2233
|
-
}
|
|
2234
|
-
function ne(e, t, o, n) {
|
|
2235
|
-
if (e) {
|
|
2236
|
-
o = o || document;
|
|
2237
|
-
do {
|
|
2238
|
-
if (t != null && (t[0] === ">" ? e.parentNode === o && Pt(e, t) : Pt(e, t)) || n && e === o)
|
|
2239
|
-
return e;
|
|
2240
|
-
if (e === o) break;
|
|
2241
|
-
} while (e = Un(e));
|
|
2242
|
-
}
|
|
2243
|
-
return null;
|
|
2244
|
-
}
|
|
2245
|
-
var Qo = /\s+/g;
|
|
2246
|
-
function K(e, t, o) {
|
|
2247
|
-
if (e && t)
|
|
2248
|
-
if (e.classList)
|
|
2249
|
-
e.classList[o ? "add" : "remove"](t);
|
|
2250
|
-
else {
|
|
2251
|
-
var n = (" " + e.className + " ").replace(Qo, " ").replace(" " + t + " ", " ");
|
|
2252
|
-
e.className = (n + (o ? " " + t : "")).replace(Qo, " ");
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
function v(e, t, o) {
|
|
2256
|
-
var n = e && e.style;
|
|
2257
|
-
if (n) {
|
|
2258
|
-
if (o === void 0)
|
|
2259
|
-
return document.defaultView && document.defaultView.getComputedStyle ? o = document.defaultView.getComputedStyle(e, "") : e.currentStyle && (o = e.currentStyle), t === void 0 ? o : o[t];
|
|
2260
|
-
!(t in n) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), n[t] = o + (typeof o == "string" ? "" : "px");
|
|
2261
|
-
}
|
|
2262
|
-
}
|
|
2263
|
-
function We(e, t) {
|
|
2264
|
-
var o = "";
|
|
2265
|
-
if (typeof e == "string")
|
|
2266
|
-
o = e;
|
|
2267
|
-
else
|
|
2268
|
-
do {
|
|
2269
|
-
var n = v(e, "transform");
|
|
2270
|
-
n && n !== "none" && (o = n + " " + o);
|
|
2271
|
-
} while (!t && (e = e.parentNode));
|
|
2272
|
-
var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
2273
|
-
return r && new r(o);
|
|
2274
|
-
}
|
|
2275
|
-
function jn(e, t, o) {
|
|
2276
|
-
if (e) {
|
|
2277
|
-
var n = e.getElementsByTagName(t), r = 0, i = n.length;
|
|
2278
|
-
if (o)
|
|
2279
|
-
for (; r < i; r++)
|
|
2280
|
-
o(n[r], r);
|
|
2281
|
-
return n;
|
|
2282
|
-
}
|
|
2283
|
-
return [];
|
|
2284
|
-
}
|
|
2285
|
-
function ce() {
|
|
2286
|
-
var e = document.scrollingElement;
|
|
2287
|
-
return e || document.documentElement;
|
|
2288
|
-
}
|
|
2289
|
-
function A(e, t, o, n, r) {
|
|
2290
|
-
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
2291
|
-
var i, a, s, u, l, d, c;
|
|
2292
|
-
if (e !== window && e.parentNode && e !== ce() ? (i = e.getBoundingClientRect(), a = i.top, s = i.left, u = i.bottom, l = i.right, d = i.height, c = i.width) : (a = 0, s = 0, u = window.innerHeight, l = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (t || o) && e !== window && (r = r || e.parentNode, !be))
|
|
2293
|
-
do
|
|
2294
|
-
if (r && r.getBoundingClientRect && (v(r, "transform") !== "none" || o && v(r, "position") !== "static")) {
|
|
2295
|
-
var p = r.getBoundingClientRect();
|
|
2296
|
-
a -= p.top + parseInt(v(r, "border-top-width")), s -= p.left + parseInt(v(r, "border-left-width")), u = a + i.height, l = s + i.width;
|
|
2297
|
-
break;
|
|
2298
|
-
}
|
|
2299
|
-
while (r = r.parentNode);
|
|
2300
|
-
if (n && e !== window) {
|
|
2301
|
-
var y = We(r || e), w = y && y.a, h = y && y.d;
|
|
2302
|
-
y && (a /= h, s /= w, c /= w, d /= h, u = a + d, l = s + c);
|
|
2303
|
-
}
|
|
2304
|
-
return {
|
|
2305
|
-
top: a,
|
|
2306
|
-
left: s,
|
|
2307
|
-
bottom: u,
|
|
2308
|
-
right: l,
|
|
2309
|
-
width: c,
|
|
2310
|
-
height: d
|
|
2311
|
-
};
|
|
2312
|
-
}
|
|
2313
|
-
}
|
|
2314
|
-
function en(e, t, o) {
|
|
2315
|
-
for (var n = xe(e, !0), r = A(e)[t]; n; ) {
|
|
2316
|
-
var i = A(n)[o], a = void 0;
|
|
2317
|
-
if (a = r >= i, !a) return n;
|
|
2318
|
-
if (n === ce()) break;
|
|
2319
|
-
n = xe(n, !1);
|
|
2320
|
-
}
|
|
2321
|
-
return !1;
|
|
2322
|
-
}
|
|
2323
|
-
function Ve(e, t, o, n) {
|
|
2324
|
-
for (var r = 0, i = 0, a = e.children; i < a.length; ) {
|
|
2325
|
-
if (a[i].style.display !== "none" && a[i] !== b.ghost && (n || a[i] !== b.dragged) && ne(a[i], o.draggable, e, !1)) {
|
|
2326
|
-
if (r === t)
|
|
2327
|
-
return a[i];
|
|
2328
|
-
r++;
|
|
2329
|
-
}
|
|
2330
|
-
i++;
|
|
2331
|
-
}
|
|
2332
|
-
return null;
|
|
2333
|
-
}
|
|
2334
|
-
function Co(e, t) {
|
|
2335
|
-
for (var o = e.lastElementChild; o && (o === b.ghost || v(o, "display") === "none" || t && !Pt(o, t)); )
|
|
2336
|
-
o = o.previousElementSibling;
|
|
2337
|
-
return o || null;
|
|
2338
|
-
}
|
|
2339
|
-
function Q(e, t) {
|
|
2340
|
-
var o = 0;
|
|
2341
|
-
if (!e || !e.parentNode)
|
|
2342
|
-
return -1;
|
|
2343
|
-
for (; e = e.previousElementSibling; )
|
|
2344
|
-
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== b.clone && (!t || Pt(e, t)) && o++;
|
|
2345
|
-
return o;
|
|
2346
|
-
}
|
|
2347
|
-
function tn(e) {
|
|
2348
|
-
var t = 0, o = 0, n = ce();
|
|
2349
|
-
if (e)
|
|
2350
|
-
do {
|
|
2351
|
-
var r = We(e), i = r.a, a = r.d;
|
|
2352
|
-
t += e.scrollLeft * i, o += e.scrollTop * a;
|
|
2353
|
-
} while (e !== n && (e = e.parentNode));
|
|
2354
|
-
return [t, o];
|
|
2355
|
-
}
|
|
2356
|
-
function la(e, t) {
|
|
2357
|
-
for (var o in e)
|
|
2358
|
-
if (e.hasOwnProperty(o)) {
|
|
2359
|
-
for (var n in t)
|
|
2360
|
-
if (t.hasOwnProperty(n) && t[n] === e[o][n]) return Number(o);
|
|
2361
|
-
}
|
|
2362
|
-
return -1;
|
|
2363
|
-
}
|
|
2364
|
-
function xe(e, t) {
|
|
2365
|
-
if (!e || !e.getBoundingClientRect) return ce();
|
|
2366
|
-
var o = e, n = !1;
|
|
2367
|
-
do
|
|
2368
|
-
if (o.clientWidth < o.scrollWidth || o.clientHeight < o.scrollHeight) {
|
|
2369
|
-
var r = v(o);
|
|
2370
|
-
if (o.clientWidth < o.scrollWidth && (r.overflowX == "auto" || r.overflowX == "scroll") || o.clientHeight < o.scrollHeight && (r.overflowY == "auto" || r.overflowY == "scroll")) {
|
|
2371
|
-
if (!o.getBoundingClientRect || o === document.body) return ce();
|
|
2372
|
-
if (n || t) return o;
|
|
2373
|
-
n = !0;
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
while (o = o.parentNode);
|
|
2377
|
-
return ce();
|
|
2378
|
-
}
|
|
2379
|
-
function ua(e, t) {
|
|
2380
|
-
if (e && t)
|
|
2381
|
-
for (var o in t)
|
|
2382
|
-
t.hasOwnProperty(o) && (e[o] = t[o]);
|
|
2383
|
-
return e;
|
|
2384
|
-
}
|
|
2385
|
-
function Vt(e, t) {
|
|
2386
|
-
return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
|
|
2387
|
-
}
|
|
2388
|
-
var ot;
|
|
2389
|
-
function qn(e, t) {
|
|
2390
|
-
return function() {
|
|
2391
|
-
if (!ot) {
|
|
2392
|
-
var o = arguments, n = this;
|
|
2393
|
-
o.length === 1 ? e.call(n, o[0]) : e.apply(n, o), ot = setTimeout(function() {
|
|
2394
|
-
ot = void 0;
|
|
2395
|
-
}, t);
|
|
2396
|
-
}
|
|
2397
|
-
};
|
|
2398
|
-
}
|
|
2399
|
-
function ca() {
|
|
2400
|
-
clearTimeout(ot), ot = void 0;
|
|
2401
|
-
}
|
|
2402
|
-
function $n(e, t, o) {
|
|
2403
|
-
e.scrollLeft += t, e.scrollTop += o;
|
|
2404
|
-
}
|
|
2405
|
-
function Wn(e) {
|
|
2406
|
-
var t = window.Polymer, o = window.jQuery || window.Zepto;
|
|
2407
|
-
return t && t.dom ? t.dom(e).cloneNode(!0) : o ? o(e).clone(!0)[0] : e.cloneNode(!0);
|
|
2408
|
-
}
|
|
2409
|
-
function Hn(e, t, o) {
|
|
2410
|
-
var n = {};
|
|
2411
|
-
return Array.from(e.children).forEach(function(r) {
|
|
2412
|
-
var i, a, s, u;
|
|
2413
|
-
if (!(!ne(r, t.draggable, e, !1) || r.animated || r === o)) {
|
|
2414
|
-
var l = A(r);
|
|
2415
|
-
n.left = Math.min((i = n.left) !== null && i !== void 0 ? i : 1 / 0, l.left), n.top = Math.min((a = n.top) !== null && a !== void 0 ? a : 1 / 0, l.top), n.right = Math.max((s = n.right) !== null && s !== void 0 ? s : -1 / 0, l.right), n.bottom = Math.max((u = n.bottom) !== null && u !== void 0 ? u : -1 / 0, l.bottom);
|
|
2416
|
-
}
|
|
2417
|
-
}), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
|
|
2418
|
-
}
|
|
2419
|
-
var G = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
2420
|
-
function da() {
|
|
2421
|
-
var e = [], t;
|
|
2422
|
-
return {
|
|
2423
|
-
captureAnimationState: function() {
|
|
2424
|
-
if (e = [], !!this.options.animation) {
|
|
2425
|
-
var n = [].slice.call(this.el.children);
|
|
2426
|
-
n.forEach(function(r) {
|
|
2427
|
-
if (!(v(r, "display") === "none" || r === b.ghost)) {
|
|
2428
|
-
e.push({
|
|
2429
|
-
target: r,
|
|
2430
|
-
rect: A(r)
|
|
2431
|
-
});
|
|
2432
|
-
var i = de({}, e[e.length - 1].rect);
|
|
2433
|
-
if (r.thisAnimationDuration) {
|
|
2434
|
-
var a = We(r, !0);
|
|
2435
|
-
a && (i.top -= a.f, i.left -= a.e);
|
|
2436
|
-
}
|
|
2437
|
-
r.fromRect = i;
|
|
2438
|
-
}
|
|
2439
|
-
});
|
|
2440
|
-
}
|
|
2441
|
-
},
|
|
2442
|
-
addAnimationState: function(n) {
|
|
2443
|
-
e.push(n);
|
|
2444
|
-
},
|
|
2445
|
-
removeAnimationState: function(n) {
|
|
2446
|
-
e.splice(la(e, {
|
|
2447
|
-
target: n
|
|
2448
|
-
}), 1);
|
|
2449
|
-
},
|
|
2450
|
-
animateAll: function(n) {
|
|
2451
|
-
var r = this;
|
|
2452
|
-
if (!this.options.animation) {
|
|
2453
|
-
clearTimeout(t), typeof n == "function" && n();
|
|
2454
|
-
return;
|
|
2455
|
-
}
|
|
2456
|
-
var i = !1, a = 0;
|
|
2457
|
-
e.forEach(function(s) {
|
|
2458
|
-
var u = 0, l = s.target, d = l.fromRect, c = A(l), p = l.prevFromRect, y = l.prevToRect, w = s.rect, h = We(l, !0);
|
|
2459
|
-
h && (c.top -= h.f, c.left -= h.e), l.toRect = c, l.thisAnimationDuration && Vt(p, c) && !Vt(d, c) && // Make sure animatingRect is on line between toRect & fromRect
|
|
2460
|
-
(w.top - c.top) / (w.left - c.left) === (d.top - c.top) / (d.left - c.left) && (u = ha(w, p, y, r.options)), Vt(c, d) || (l.prevFromRect = d, l.prevToRect = c, u || (u = r.options.animation), r.animate(l, w, c, u)), u && (i = !0, a = Math.max(a, u), clearTimeout(l.animationResetTimer), l.animationResetTimer = setTimeout(function() {
|
|
2461
|
-
l.animationTime = 0, l.prevFromRect = null, l.fromRect = null, l.prevToRect = null, l.thisAnimationDuration = null;
|
|
2462
|
-
}, u), l.thisAnimationDuration = u);
|
|
2463
|
-
}), clearTimeout(t), i ? t = setTimeout(function() {
|
|
2464
|
-
typeof n == "function" && n();
|
|
2465
|
-
}, a) : typeof n == "function" && n(), e = [];
|
|
2466
|
-
},
|
|
2467
|
-
animate: function(n, r, i, a) {
|
|
2468
|
-
if (a) {
|
|
2469
|
-
v(n, "transition", ""), v(n, "transform", "");
|
|
2470
|
-
var s = We(this.el), u = s && s.a, l = s && s.d, d = (r.left - i.left) / (u || 1), c = (r.top - i.top) / (l || 1);
|
|
2471
|
-
n.animatingX = !!d, n.animatingY = !!c, v(n, "transform", "translate3d(" + d + "px," + c + "px,0)"), this.forRepaintDummy = fa(n), v(n, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
|
|
2472
|
-
v(n, "transition", ""), v(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
|
|
2473
|
-
}, a);
|
|
2474
|
-
}
|
|
2475
|
-
}
|
|
2476
|
-
};
|
|
2477
|
-
}
|
|
2478
|
-
function fa(e) {
|
|
2479
|
-
return e.offsetWidth;
|
|
2480
|
-
}
|
|
2481
|
-
function ha(e, t, o, n) {
|
|
2482
|
-
return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - o.top, 2) + Math.pow(t.left - o.left, 2)) * n.animation;
|
|
2483
|
-
}
|
|
2484
|
-
var Le = [], Yt = {
|
|
2485
|
-
initializeByDefault: !0
|
|
2486
|
-
}, dt = {
|
|
2487
|
-
mount: function(t) {
|
|
2488
|
-
for (var o in Yt)
|
|
2489
|
-
Yt.hasOwnProperty(o) && !(o in t) && (t[o] = Yt[o]);
|
|
2490
|
-
Le.forEach(function(n) {
|
|
2491
|
-
if (n.pluginName === t.pluginName)
|
|
2492
|
-
throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
|
|
2493
|
-
}), Le.push(t);
|
|
2494
|
-
},
|
|
2495
|
-
pluginEvent: function(t, o, n) {
|
|
2496
|
-
var r = this;
|
|
2497
|
-
this.eventCanceled = !1, n.cancel = function() {
|
|
2498
|
-
r.eventCanceled = !0;
|
|
2499
|
-
};
|
|
2500
|
-
var i = t + "Global";
|
|
2501
|
-
Le.forEach(function(a) {
|
|
2502
|
-
o[a.pluginName] && (o[a.pluginName][i] && o[a.pluginName][i](de({
|
|
2503
|
-
sortable: o
|
|
2504
|
-
}, n)), o.options[a.pluginName] && o[a.pluginName][t] && o[a.pluginName][t](de({
|
|
2505
|
-
sortable: o
|
|
2506
|
-
}, n)));
|
|
2507
|
-
});
|
|
2508
|
-
},
|
|
2509
|
-
initializePlugins: function(t, o, n, r) {
|
|
2510
|
-
Le.forEach(function(s) {
|
|
2511
|
-
var u = s.pluginName;
|
|
2512
|
-
if (!(!t.options[u] && !s.initializeByDefault)) {
|
|
2513
|
-
var l = new s(t, o, t.options);
|
|
2514
|
-
l.sortable = t, l.options = t.options, t[u] = l, ve(n, l.defaults);
|
|
2515
|
-
}
|
|
2516
|
-
});
|
|
2517
|
-
for (var i in t.options)
|
|
2518
|
-
if (t.options.hasOwnProperty(i)) {
|
|
2519
|
-
var a = this.modifyOption(t, i, t.options[i]);
|
|
2520
|
-
typeof a < "u" && (t.options[i] = a);
|
|
2521
|
-
}
|
|
2522
|
-
},
|
|
2523
|
-
getEventProperties: function(t, o) {
|
|
2524
|
-
var n = {};
|
|
2525
|
-
return Le.forEach(function(r) {
|
|
2526
|
-
typeof r.eventProperties == "function" && ve(n, r.eventProperties.call(o[r.pluginName], t));
|
|
2527
|
-
}), n;
|
|
2528
|
-
},
|
|
2529
|
-
modifyOption: function(t, o, n) {
|
|
2530
|
-
var r;
|
|
2531
|
-
return Le.forEach(function(i) {
|
|
2532
|
-
t[i.pluginName] && i.optionListeners && typeof i.optionListeners[o] == "function" && (r = i.optionListeners[o].call(t[i.pluginName], n));
|
|
2533
|
-
}), r;
|
|
2534
|
-
}
|
|
2535
|
-
};
|
|
2536
|
-
function ma(e) {
|
|
2537
|
-
var t = e.sortable, o = e.rootEl, n = e.name, r = e.targetEl, i = e.cloneEl, a = e.toEl, s = e.fromEl, u = e.oldIndex, l = e.newIndex, d = e.oldDraggableIndex, c = e.newDraggableIndex, p = e.originalEvent, y = e.putSortable, w = e.extraEventProperties;
|
|
2538
|
-
if (t = t || o && o[G], !!t) {
|
|
2539
|
-
var h, m = t.options, x = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
|
2540
|
-
window.CustomEvent && !be && !ct ? h = new CustomEvent(n, {
|
|
2541
|
-
bubbles: !0,
|
|
2542
|
-
cancelable: !0
|
|
2543
|
-
}) : (h = document.createEvent("Event"), h.initEvent(n, !0, !0)), h.to = a || o, h.from = s || o, h.item = r || o, h.clone = i, h.oldIndex = u, h.newIndex = l, h.oldDraggableIndex = d, h.newDraggableIndex = c, h.originalEvent = p, h.pullMode = y ? y.lastPutMode : void 0;
|
|
2544
|
-
var C = de(de({}, w), dt.getEventProperties(n, t));
|
|
2545
|
-
for (var D in C)
|
|
2546
|
-
h[D] = C[D];
|
|
2547
|
-
o && o.dispatchEvent(h), m[x] && m[x].call(t, h);
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
var pa = ["evt"], V = function(t, o) {
|
|
2551
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, i = aa(n, pa);
|
|
2552
|
-
dt.pluginEvent.bind(b)(t, o, de({
|
|
2553
|
-
dragEl: f,
|
|
2554
|
-
parentEl: N,
|
|
2555
|
-
ghostEl: E,
|
|
2556
|
-
rootEl: P,
|
|
2557
|
-
nextEl: Ne,
|
|
2558
|
-
lastDownEl: St,
|
|
2559
|
-
cloneEl: O,
|
|
2560
|
-
cloneHidden: Te,
|
|
2561
|
-
dragStarted: Ke,
|
|
2562
|
-
putSortable: U,
|
|
2563
|
-
activeSortable: b.active,
|
|
2564
|
-
originalEvent: r,
|
|
2565
|
-
oldIndex: je,
|
|
2566
|
-
oldDraggableIndex: nt,
|
|
2567
|
-
newIndex: J,
|
|
2568
|
-
newDraggableIndex: Se,
|
|
2569
|
-
hideGhostForTarget: Xn,
|
|
2570
|
-
unhideGhostForTarget: Kn,
|
|
2571
|
-
cloneNowHidden: function() {
|
|
2572
|
-
Te = !0;
|
|
2573
|
-
},
|
|
2574
|
-
cloneNowShown: function() {
|
|
2575
|
-
Te = !1;
|
|
2576
|
-
},
|
|
2577
|
-
dispatchSortableEvent: function(s) {
|
|
2578
|
-
H({
|
|
2579
|
-
sortable: o,
|
|
2580
|
-
name: s,
|
|
2581
|
-
originalEvent: r
|
|
2582
|
-
});
|
|
2583
|
-
}
|
|
2584
|
-
}, i));
|
|
2585
|
-
};
|
|
2586
|
-
function H(e) {
|
|
2587
|
-
ma(de({
|
|
2588
|
-
putSortable: U,
|
|
2589
|
-
cloneEl: O,
|
|
2590
|
-
targetEl: f,
|
|
2591
|
-
rootEl: P,
|
|
2592
|
-
oldIndex: je,
|
|
2593
|
-
oldDraggableIndex: nt,
|
|
2594
|
-
newIndex: J,
|
|
2595
|
-
newDraggableIndex: Se
|
|
2596
|
-
}, e));
|
|
2597
|
-
}
|
|
2598
|
-
var f, N, E, P, Ne, St, O, Te, je, J, nt, Se, pt, U, ze = !1, Ot = !1, _t = [], Oe, oe, Gt, Xt, on, nn, Ke, Be, rt, it = !1, gt = !1, Tt, q, Kt = [], so = !1, Nt = [], zt = typeof document < "u", yt = Eo, rn = ct || be ? "cssFloat" : "float", ga = zt && !Bn && !Eo && "draggable" in document.createElement("div"), Vn = function() {
|
|
2599
|
-
if (zt) {
|
|
2600
|
-
if (be)
|
|
2601
|
-
return !1;
|
|
2602
|
-
var e = document.createElement("x");
|
|
2603
|
-
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
2604
|
-
}
|
|
2605
|
-
}(), Yn = function(t, o) {
|
|
2606
|
-
var n = v(t), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = Ve(t, 0, o), a = Ve(t, 1, o), s = i && v(i), u = a && v(a), l = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + A(i).width, d = u && parseInt(u.marginLeft) + parseInt(u.marginRight) + A(a).width;
|
|
2607
|
-
if (n.display === "flex")
|
|
2608
|
-
return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
2609
|
-
if (n.display === "grid")
|
|
2610
|
-
return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
2611
|
-
if (i && s.float && s.float !== "none") {
|
|
2612
|
-
var c = s.float === "left" ? "left" : "right";
|
|
2613
|
-
return a && (u.clear === "both" || u.clear === c) ? "vertical" : "horizontal";
|
|
2614
|
-
}
|
|
2615
|
-
return i && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || l >= r && n[rn] === "none" || a && n[rn] === "none" && l + d > r) ? "vertical" : "horizontal";
|
|
2616
|
-
}, ya = function(t, o, n) {
|
|
2617
|
-
var r = n ? t.left : t.top, i = n ? t.right : t.bottom, a = n ? t.width : t.height, s = n ? o.left : o.top, u = n ? o.right : o.bottom, l = n ? o.width : o.height;
|
|
2618
|
-
return r === s || i === u || r + a / 2 === s + l / 2;
|
|
2619
|
-
}, va = function(t, o) {
|
|
2620
|
-
var n;
|
|
2621
|
-
return _t.some(function(r) {
|
|
2622
|
-
var i = r[G].options.emptyInsertThreshold;
|
|
2623
|
-
if (!(!i || Co(r))) {
|
|
2624
|
-
var a = A(r), s = t >= a.left - i && t <= a.right + i, u = o >= a.top - i && o <= a.bottom + i;
|
|
2625
|
-
if (s && u)
|
|
2626
|
-
return n = r;
|
|
2627
|
-
}
|
|
2628
|
-
}), n;
|
|
2629
|
-
}, Gn = function(t) {
|
|
2630
|
-
function o(i, a) {
|
|
2631
|
-
return function(s, u, l, d) {
|
|
2632
|
-
var c = s.options.group.name && u.options.group.name && s.options.group.name === u.options.group.name;
|
|
2633
|
-
if (i == null && (a || c))
|
|
2634
|
-
return !0;
|
|
2635
|
-
if (i == null || i === !1)
|
|
2636
|
-
return !1;
|
|
2637
|
-
if (a && i === "clone")
|
|
2638
|
-
return i;
|
|
2639
|
-
if (typeof i == "function")
|
|
2640
|
-
return o(i(s, u, l, d), a)(s, u, l, d);
|
|
2641
|
-
var p = (a ? s : u).options.group.name;
|
|
2642
|
-
return i === !0 || typeof i == "string" && i === p || i.join && i.indexOf(p) > -1;
|
|
2643
|
-
};
|
|
2644
|
-
}
|
|
2645
|
-
var n = {}, r = t.group;
|
|
2646
|
-
(!r || Ct(r) != "object") && (r = {
|
|
2647
|
-
name: r
|
|
2648
|
-
}), n.name = r.name, n.checkPull = o(r.pull, !0), n.checkPut = o(r.put), n.revertClone = r.revertClone, t.group = n;
|
|
2649
|
-
}, Xn = function() {
|
|
2650
|
-
!Vn && E && v(E, "display", "none");
|
|
2651
|
-
}, Kn = function() {
|
|
2652
|
-
!Vn && E && v(E, "display", "");
|
|
2653
|
-
};
|
|
2654
|
-
zt && !Bn && document.addEventListener("click", function(e) {
|
|
2655
|
-
if (Ot)
|
|
2656
|
-
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Ot = !1, !1;
|
|
2657
|
-
}, !0);
|
|
2658
|
-
var _e = function(t) {
|
|
2659
|
-
if (f) {
|
|
2660
|
-
t = t.touches ? t.touches[0] : t;
|
|
2661
|
-
var o = va(t.clientX, t.clientY);
|
|
2662
|
-
if (o) {
|
|
2663
|
-
var n = {};
|
|
2664
|
-
for (var r in t)
|
|
2665
|
-
t.hasOwnProperty(r) && (n[r] = t[r]);
|
|
2666
|
-
n.target = n.rootEl = o, n.preventDefault = void 0, n.stopPropagation = void 0, o[G]._onDragOver(n);
|
|
2667
|
-
}
|
|
2668
|
-
}
|
|
2669
|
-
}, ba = function(t) {
|
|
2670
|
-
f && f.parentNode[G]._isOutsideThisEl(t.target);
|
|
2671
|
-
};
|
|
2672
|
-
function b(e, t) {
|
|
2673
|
-
if (!(e && e.nodeType && e.nodeType === 1))
|
|
2674
|
-
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
|
|
2675
|
-
this.el = e, this.options = t = ve({}, t), e[G] = this;
|
|
2676
|
-
var o = {
|
|
2677
|
-
group: null,
|
|
2678
|
-
sort: !0,
|
|
2679
|
-
disabled: !1,
|
|
2680
|
-
store: null,
|
|
2681
|
-
handle: null,
|
|
2682
|
-
draggable: /^[uo]l$/i.test(e.nodeName) ? ">li" : ">*",
|
|
2683
|
-
swapThreshold: 1,
|
|
2684
|
-
// percentage; 0 <= x <= 1
|
|
2685
|
-
invertSwap: !1,
|
|
2686
|
-
// invert always
|
|
2687
|
-
invertedSwapThreshold: null,
|
|
2688
|
-
// will be set to same as swapThreshold if default
|
|
2689
|
-
removeCloneOnHide: !0,
|
|
2690
|
-
direction: function() {
|
|
2691
|
-
return Yn(e, this.options);
|
|
2692
|
-
},
|
|
2693
|
-
ghostClass: "sortable-ghost",
|
|
2694
|
-
chosenClass: "sortable-chosen",
|
|
2695
|
-
dragClass: "sortable-drag",
|
|
2696
|
-
ignore: "a, img",
|
|
2697
|
-
filter: null,
|
|
2698
|
-
preventOnFilter: !0,
|
|
2699
|
-
animation: 0,
|
|
2700
|
-
easing: null,
|
|
2701
|
-
setData: function(a, s) {
|
|
2702
|
-
a.setData("Text", s.textContent);
|
|
2703
|
-
},
|
|
2704
|
-
dropBubble: !1,
|
|
2705
|
-
dragoverBubble: !1,
|
|
2706
|
-
dataIdAttr: "data-id",
|
|
2707
|
-
delay: 0,
|
|
2708
|
-
delayOnTouchOnly: !1,
|
|
2709
|
-
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
2710
|
-
forceFallback: !1,
|
|
2711
|
-
fallbackClass: "sortable-fallback",
|
|
2712
|
-
fallbackOnBody: !1,
|
|
2713
|
-
fallbackTolerance: 0,
|
|
2714
|
-
fallbackOffset: {
|
|
2715
|
-
x: 0,
|
|
2716
|
-
y: 0
|
|
2717
|
-
},
|
|
2718
|
-
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
|
|
2719
|
-
supportPointer: b.supportPointer !== !1 && "PointerEvent" in window && (!tt || Eo),
|
|
2720
|
-
emptyInsertThreshold: 5
|
|
2721
|
-
};
|
|
2722
|
-
dt.initializePlugins(this, e, o);
|
|
2723
|
-
for (var n in o)
|
|
2724
|
-
!(n in t) && (t[n] = o[n]);
|
|
2725
|
-
Gn(t);
|
|
2726
|
-
for (var r in this)
|
|
2727
|
-
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
2728
|
-
this.nativeDraggable = t.forceFallback ? !1 : ga, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? T(e, "pointerdown", this._onTapStart) : (T(e, "mousedown", this._onTapStart), T(e, "touchstart", this._onTapStart)), this.nativeDraggable && (T(e, "dragover", this), T(e, "dragenter", this)), _t.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), ve(this, da());
|
|
2729
|
-
}
|
|
2730
|
-
b.prototype = /** @lends Sortable.prototype */
|
|
2731
|
-
{
|
|
2732
|
-
constructor: b,
|
|
2733
|
-
_isOutsideThisEl: function(t) {
|
|
2734
|
-
!this.el.contains(t) && t !== this.el && (Be = null);
|
|
2735
|
-
},
|
|
2736
|
-
_getDirection: function(t, o) {
|
|
2737
|
-
return typeof this.options.direction == "function" ? this.options.direction.call(this, t, o, f) : this.options.direction;
|
|
2738
|
-
},
|
|
2739
|
-
_onTapStart: function(t) {
|
|
2740
|
-
if (t.cancelable) {
|
|
2741
|
-
var o = this, n = this.el, r = this.options, i = r.preventOnFilter, a = t.type, s = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, u = (s || t).target, l = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || u, d = r.filter;
|
|
2742
|
-
if (ka(n), !f && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || r.disabled) && !l.isContentEditable && !(!this.nativeDraggable && tt && u && u.tagName.toUpperCase() === "SELECT") && (u = ne(u, r.draggable, n, !1), !(u && u.animated) && St !== u)) {
|
|
2743
|
-
if (je = Q(u), nt = Q(u, r.draggable), typeof d == "function") {
|
|
2744
|
-
if (d.call(this, t, u, this)) {
|
|
2745
|
-
H({
|
|
2746
|
-
sortable: o,
|
|
2747
|
-
rootEl: l,
|
|
2748
|
-
name: "filter",
|
|
2749
|
-
targetEl: u,
|
|
2750
|
-
toEl: n,
|
|
2751
|
-
fromEl: n
|
|
2752
|
-
}), V("filter", o, {
|
|
2753
|
-
evt: t
|
|
2754
|
-
}), i && t.preventDefault();
|
|
2755
|
-
return;
|
|
2756
|
-
}
|
|
2757
|
-
} else if (d && (d = d.split(",").some(function(c) {
|
|
2758
|
-
if (c = ne(l, c.trim(), n, !1), c)
|
|
2759
|
-
return H({
|
|
2760
|
-
sortable: o,
|
|
2761
|
-
rootEl: c,
|
|
2762
|
-
name: "filter",
|
|
2763
|
-
targetEl: u,
|
|
2764
|
-
fromEl: n,
|
|
2765
|
-
toEl: n
|
|
2766
|
-
}), V("filter", o, {
|
|
2767
|
-
evt: t
|
|
2768
|
-
}), !0;
|
|
2769
|
-
}), d)) {
|
|
2770
|
-
i && t.preventDefault();
|
|
2771
|
-
return;
|
|
2772
|
-
}
|
|
2773
|
-
r.handle && !ne(l, r.handle, n, !1) || this._prepareDragStart(t, s, u);
|
|
2774
|
-
}
|
|
2775
|
-
}
|
|
2776
|
-
},
|
|
2777
|
-
_prepareDragStart: function(t, o, n) {
|
|
2778
|
-
var r = this, i = r.el, a = r.options, s = i.ownerDocument, u;
|
|
2779
|
-
if (n && !f && n.parentNode === i) {
|
|
2780
|
-
var l = A(n);
|
|
2781
|
-
if (P = i, f = n, N = f.parentNode, Ne = f.nextSibling, St = n, pt = a.group, b.dragged = f, Oe = {
|
|
2782
|
-
target: f,
|
|
2783
|
-
clientX: (o || t).clientX,
|
|
2784
|
-
clientY: (o || t).clientY
|
|
2785
|
-
}, on = Oe.clientX - l.left, nn = Oe.clientY - l.top, this._lastX = (o || t).clientX, this._lastY = (o || t).clientY, f.style["will-change"] = "all", u = function() {
|
|
2786
|
-
if (V("delayEnded", r, {
|
|
2787
|
-
evt: t
|
|
2788
|
-
}), b.eventCanceled) {
|
|
2789
|
-
r._onDrop();
|
|
2790
|
-
return;
|
|
2791
|
-
}
|
|
2792
|
-
r._disableDelayedDragEvents(), !Zo && r.nativeDraggable && (f.draggable = !0), r._triggerDragStart(t, o), H({
|
|
2793
|
-
sortable: r,
|
|
2794
|
-
name: "choose",
|
|
2795
|
-
originalEvent: t
|
|
2796
|
-
}), K(f, a.chosenClass, !0);
|
|
2797
|
-
}, a.ignore.split(",").forEach(function(d) {
|
|
2798
|
-
jn(f, d.trim(), Jt);
|
|
2799
|
-
}), T(s, "dragover", _e), T(s, "mousemove", _e), T(s, "touchmove", _e), a.supportPointer ? (T(s, "pointerup", r._onDrop), !this.nativeDraggable && T(s, "pointercancel", r._onDrop)) : (T(s, "mouseup", r._onDrop), T(s, "touchend", r._onDrop), T(s, "touchcancel", r._onDrop)), Zo && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), V("delayStart", this, {
|
|
2800
|
-
evt: t
|
|
2801
|
-
}), a.delay && (!a.delayOnTouchOnly || o) && (!this.nativeDraggable || !(ct || be))) {
|
|
2802
|
-
if (b.eventCanceled) {
|
|
2803
|
-
this._onDrop();
|
|
2804
|
-
return;
|
|
2805
|
-
}
|
|
2806
|
-
a.supportPointer ? (T(s, "pointerup", r._disableDelayedDrag), T(s, "pointercancel", r._disableDelayedDrag)) : (T(s, "mouseup", r._disableDelayedDrag), T(s, "touchend", r._disableDelayedDrag), T(s, "touchcancel", r._disableDelayedDrag)), T(s, "mousemove", r._delayedDragTouchMoveHandler), T(s, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && T(s, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(u, a.delay);
|
|
2807
|
-
} else
|
|
2808
|
-
u();
|
|
2809
|
-
}
|
|
2810
|
-
},
|
|
2811
|
-
_delayedDragTouchMoveHandler: function(t) {
|
|
2812
|
-
var o = t.touches ? t.touches[0] : t;
|
|
2813
|
-
Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
2814
|
-
},
|
|
2815
|
-
_disableDelayedDrag: function() {
|
|
2816
|
-
f && Jt(f), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
2817
|
-
},
|
|
2818
|
-
_disableDelayedDragEvents: function() {
|
|
2819
|
-
var t = this.el.ownerDocument;
|
|
2820
|
-
S(t, "mouseup", this._disableDelayedDrag), S(t, "touchend", this._disableDelayedDrag), S(t, "touchcancel", this._disableDelayedDrag), S(t, "pointerup", this._disableDelayedDrag), S(t, "pointercancel", this._disableDelayedDrag), S(t, "mousemove", this._delayedDragTouchMoveHandler), S(t, "touchmove", this._delayedDragTouchMoveHandler), S(t, "pointermove", this._delayedDragTouchMoveHandler);
|
|
2821
|
-
},
|
|
2822
|
-
_triggerDragStart: function(t, o) {
|
|
2823
|
-
o = o || t.pointerType == "touch" && t, !this.nativeDraggable || o ? this.options.supportPointer ? T(document, "pointermove", this._onTouchMove) : o ? T(document, "touchmove", this._onTouchMove) : T(document, "mousemove", this._onTouchMove) : (T(f, "dragend", this), T(P, "dragstart", this._onDragStart));
|
|
2824
|
-
try {
|
|
2825
|
-
document.selection ? Dt(function() {
|
|
2826
|
-
document.selection.empty();
|
|
2827
|
-
}) : window.getSelection().removeAllRanges();
|
|
2828
|
-
} catch {
|
|
2829
|
-
}
|
|
2830
|
-
},
|
|
2831
|
-
_dragStarted: function(t, o) {
|
|
2832
|
-
if (ze = !1, P && f) {
|
|
2833
|
-
V("dragStarted", this, {
|
|
2834
|
-
evt: o
|
|
2835
|
-
}), this.nativeDraggable && T(document, "dragover", ba);
|
|
2836
|
-
var n = this.options;
|
|
2837
|
-
!t && K(f, n.dragClass, !1), K(f, n.ghostClass, !0), b.active = this, t && this._appendGhost(), H({
|
|
2838
|
-
sortable: this,
|
|
2839
|
-
name: "start",
|
|
2840
|
-
originalEvent: o
|
|
2841
|
-
});
|
|
2842
|
-
} else
|
|
2843
|
-
this._nulling();
|
|
2844
|
-
},
|
|
2845
|
-
_emulateDragOver: function() {
|
|
2846
|
-
if (oe) {
|
|
2847
|
-
this._lastX = oe.clientX, this._lastY = oe.clientY, Xn();
|
|
2848
|
-
for (var t = document.elementFromPoint(oe.clientX, oe.clientY), o = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(oe.clientX, oe.clientY), t !== o); )
|
|
2849
|
-
o = t;
|
|
2850
|
-
if (f.parentNode[G]._isOutsideThisEl(t), o)
|
|
2851
|
-
do {
|
|
2852
|
-
if (o[G]) {
|
|
2853
|
-
var n = void 0;
|
|
2854
|
-
if (n = o[G]._onDragOver({
|
|
2855
|
-
clientX: oe.clientX,
|
|
2856
|
-
clientY: oe.clientY,
|
|
2857
|
-
target: t,
|
|
2858
|
-
rootEl: o
|
|
2859
|
-
}), n && !this.options.dragoverBubble)
|
|
2860
|
-
break;
|
|
2861
|
-
}
|
|
2862
|
-
t = o;
|
|
2863
|
-
} while (o = Un(o));
|
|
2864
|
-
Kn();
|
|
2865
|
-
}
|
|
2866
|
-
},
|
|
2867
|
-
_onTouchMove: function(t) {
|
|
2868
|
-
if (Oe) {
|
|
2869
|
-
var o = this.options, n = o.fallbackTolerance, r = o.fallbackOffset, i = t.touches ? t.touches[0] : t, a = E && We(E, !0), s = E && a && a.a, u = E && a && a.d, l = yt && q && tn(q), d = (i.clientX - Oe.clientX + r.x) / (s || 1) + (l ? l[0] - Kt[0] : 0) / (s || 1), c = (i.clientY - Oe.clientY + r.y) / (u || 1) + (l ? l[1] - Kt[1] : 0) / (u || 1);
|
|
2870
|
-
if (!b.active && !ze) {
|
|
2871
|
-
if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n)
|
|
2872
|
-
return;
|
|
2873
|
-
this._onDragStart(t, !0);
|
|
2874
|
-
}
|
|
2875
|
-
if (E) {
|
|
2876
|
-
a ? (a.e += d - (Gt || 0), a.f += c - (Xt || 0)) : a = {
|
|
2877
|
-
a: 1,
|
|
2878
|
-
b: 0,
|
|
2879
|
-
c: 0,
|
|
2880
|
-
d: 1,
|
|
2881
|
-
e: d,
|
|
2882
|
-
f: c
|
|
2883
|
-
};
|
|
2884
|
-
var p = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
|
|
2885
|
-
v(E, "webkitTransform", p), v(E, "mozTransform", p), v(E, "msTransform", p), v(E, "transform", p), Gt = d, Xt = c, oe = i;
|
|
2886
|
-
}
|
|
2887
|
-
t.cancelable && t.preventDefault();
|
|
2888
|
-
}
|
|
2889
|
-
},
|
|
2890
|
-
_appendGhost: function() {
|
|
2891
|
-
if (!E) {
|
|
2892
|
-
var t = this.options.fallbackOnBody ? document.body : P, o = A(f, !0, yt, !0, t), n = this.options;
|
|
2893
|
-
if (yt) {
|
|
2894
|
-
for (q = t; v(q, "position") === "static" && v(q, "transform") === "none" && q !== document; )
|
|
2895
|
-
q = q.parentNode;
|
|
2896
|
-
q !== document.body && q !== document.documentElement ? (q === document && (q = ce()), o.top += q.scrollTop, o.left += q.scrollLeft) : q = ce(), Kt = tn(q);
|
|
2897
|
-
}
|
|
2898
|
-
E = f.cloneNode(!0), K(E, n.ghostClass, !1), K(E, n.fallbackClass, !0), K(E, n.dragClass, !0), v(E, "transition", ""), v(E, "transform", ""), v(E, "box-sizing", "border-box"), v(E, "margin", 0), v(E, "top", o.top), v(E, "left", o.left), v(E, "width", o.width), v(E, "height", o.height), v(E, "opacity", "0.8"), v(E, "position", yt ? "absolute" : "fixed"), v(E, "zIndex", "100000"), v(E, "pointerEvents", "none"), b.ghost = E, t.appendChild(E), v(E, "transform-origin", on / parseInt(E.style.width) * 100 + "% " + nn / parseInt(E.style.height) * 100 + "%");
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
|
-
_onDragStart: function(t, o) {
|
|
2902
|
-
var n = this, r = t.dataTransfer, i = n.options;
|
|
2903
|
-
if (V("dragStart", this, {
|
|
2904
|
-
evt: t
|
|
2905
|
-
}), b.eventCanceled) {
|
|
2906
|
-
this._onDrop();
|
|
2907
|
-
return;
|
|
2908
|
-
}
|
|
2909
|
-
V("setupClone", this), b.eventCanceled || (O = Wn(f), O.removeAttribute("id"), O.draggable = !1, O.style["will-change"] = "", this._hideClone(), K(O, this.options.chosenClass, !1), b.clone = O), n.cloneId = Dt(function() {
|
|
2910
|
-
V("clone", n), !b.eventCanceled && (n.options.removeCloneOnHide || P.insertBefore(O, f), n._hideClone(), H({
|
|
2911
|
-
sortable: n,
|
|
2912
|
-
name: "clone"
|
|
2913
|
-
}));
|
|
2914
|
-
}), !o && K(f, i.dragClass, !0), o ? (Ot = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (S(document, "mouseup", n._onDrop), S(document, "touchend", n._onDrop), S(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(n, r, f)), T(document, "drop", n), v(f, "transform", "translateZ(0)")), ze = !0, n._dragStartId = Dt(n._dragStarted.bind(n, o, t)), T(document, "selectstart", n), Ke = !0, window.getSelection().removeAllRanges(), tt && v(document.body, "user-select", "none");
|
|
2915
|
-
},
|
|
2916
|
-
// Returns true - if no further action is needed (either inserted or another condition)
|
|
2917
|
-
_onDragOver: function(t) {
|
|
2918
|
-
var o = this.el, n = t.target, r, i, a, s = this.options, u = s.group, l = b.active, d = pt === u, c = s.sort, p = U || l, y, w = this, h = !1;
|
|
2919
|
-
if (so) return;
|
|
2920
|
-
function m(we, Ut) {
|
|
2921
|
-
V(we, w, de({
|
|
2922
|
-
evt: t,
|
|
2923
|
-
isOwner: d,
|
|
2924
|
-
axis: y ? "vertical" : "horizontal",
|
|
2925
|
-
revert: a,
|
|
2926
|
-
dragRect: r,
|
|
2927
|
-
targetRect: i,
|
|
2928
|
-
canSort: c,
|
|
2929
|
-
fromSortable: p,
|
|
2930
|
-
target: n,
|
|
2931
|
-
completed: C,
|
|
2932
|
-
onMove: function(ft, jt) {
|
|
2933
|
-
return vt(P, o, f, r, ft, A(ft), t, jt);
|
|
2934
|
-
},
|
|
2935
|
-
changed: D
|
|
2936
|
-
}, Ut));
|
|
2937
|
-
}
|
|
2938
|
-
function x() {
|
|
2939
|
-
m("dragOverAnimationCapture"), w.captureAnimationState(), w !== p && p.captureAnimationState();
|
|
2940
|
-
}
|
|
2941
|
-
function C(we) {
|
|
2942
|
-
return m("dragOverCompleted", {
|
|
2943
|
-
insertion: we
|
|
2944
|
-
}), we && (d ? l._hideClone() : l._showClone(w), w !== p && (K(f, U ? U.options.ghostClass : l.options.ghostClass, !1), K(f, s.ghostClass, !0)), U !== w && w !== b.active ? U = w : w === b.active && U && (U = null), p === w && (w._ignoreWhileAnimating = n), w.animateAll(function() {
|
|
2945
|
-
m("dragOverAnimationComplete"), w._ignoreWhileAnimating = null;
|
|
2946
|
-
}), w !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === f && !f.animated || n === o && !n.animated) && (Be = null), !s.dragoverBubble && !t.rootEl && n !== document && (f.parentNode[G]._isOutsideThisEl(t.target), !we && _e(t)), !s.dragoverBubble && t.stopPropagation && t.stopPropagation(), h = !0;
|
|
2947
|
-
}
|
|
2948
|
-
function D() {
|
|
2949
|
-
J = Q(f), Se = Q(f, s.draggable), H({
|
|
2950
|
-
sortable: w,
|
|
2951
|
-
name: "change",
|
|
2952
|
-
toEl: o,
|
|
2953
|
-
newIndex: J,
|
|
2954
|
-
newDraggableIndex: Se,
|
|
2955
|
-
originalEvent: t
|
|
2956
|
-
});
|
|
2957
|
-
}
|
|
2958
|
-
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = ne(n, s.draggable, o, !0), m("dragOver"), b.eventCanceled) return h;
|
|
2959
|
-
if (f.contains(t.target) || n.animated && n.animatingX && n.animatingY || w._ignoreWhileAnimating === n)
|
|
2960
|
-
return C(!1);
|
|
2961
|
-
if (Ot = !1, l && !s.disabled && (d ? c || (a = N !== P) : U === this || (this.lastPutMode = pt.checkPull(this, l, f, t)) && u.checkPut(this, l, f, t))) {
|
|
2962
|
-
if (y = this._getDirection(t, n) === "vertical", r = A(f), m("dragOverValid"), b.eventCanceled) return h;
|
|
2963
|
-
if (a)
|
|
2964
|
-
return N = P, x(), this._hideClone(), m("revert"), b.eventCanceled || (Ne ? P.insertBefore(f, Ne) : P.appendChild(f)), C(!0);
|
|
2965
|
-
var F = Co(o, s.draggable);
|
|
2966
|
-
if (!F || Sa(t, y, this) && !F.animated) {
|
|
2967
|
-
if (F === f)
|
|
2968
|
-
return C(!1);
|
|
2969
|
-
if (F && o === t.target && (n = F), n && (i = A(n)), vt(P, o, f, r, n, i, t, !!n) !== !1)
|
|
2970
|
-
return x(), F && F.nextSibling ? o.insertBefore(f, F.nextSibling) : o.appendChild(f), N = o, D(), C(!0);
|
|
2971
|
-
} else if (F && Ca(t, y, this)) {
|
|
2972
|
-
var ie = Ve(o, 0, s, !0);
|
|
2973
|
-
if (ie === f)
|
|
2974
|
-
return C(!1);
|
|
2975
|
-
if (n = ie, i = A(n), vt(P, o, f, r, n, i, t, !1) !== !1)
|
|
2976
|
-
return x(), o.insertBefore(f, ie), N = o, D(), C(!0);
|
|
2977
|
-
} else if (n.parentNode === o) {
|
|
2978
|
-
i = A(n);
|
|
2979
|
-
var X = 0, fe, ke = f.parentNode !== o, W = !ya(f.animated && f.toRect || r, n.animated && n.toRect || i, y), Ie = y ? "top" : "left", ae = en(n, "top", "top") || en(f, "top", "top"), Fe = ae ? ae.scrollTop : void 0;
|
|
2980
|
-
Be !== n && (fe = i[Ie], it = !1, gt = !W && s.invertSwap || ke), X = Ta(t, n, i, y, W ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, gt, Be === n);
|
|
2981
|
-
var j;
|
|
2982
|
-
if (X !== 0) {
|
|
2983
|
-
var he = Q(f);
|
|
2984
|
-
do
|
|
2985
|
-
he -= X, j = N.children[he];
|
|
2986
|
-
while (j && (v(j, "display") === "none" || j === E));
|
|
2987
|
-
}
|
|
2988
|
-
if (X === 0 || j === n)
|
|
2989
|
-
return C(!1);
|
|
2990
|
-
Be = n, rt = X;
|
|
2991
|
-
var me = n.nextElementSibling, se = !1;
|
|
2992
|
-
se = X === 1;
|
|
2993
|
-
var Ge = vt(P, o, f, r, n, i, t, se);
|
|
2994
|
-
if (Ge !== !1)
|
|
2995
|
-
return (Ge === 1 || Ge === -1) && (se = Ge === 1), so = !0, setTimeout(Ea, 30), x(), se && !me ? o.appendChild(f) : n.parentNode.insertBefore(f, se ? me : n), ae && $n(ae, 0, Fe - ae.scrollTop), N = f.parentNode, fe !== void 0 && !gt && (Tt = Math.abs(fe - A(n)[Ie])), D(), C(!0);
|
|
2996
|
-
}
|
|
2997
|
-
if (o.contains(f))
|
|
2998
|
-
return C(!1);
|
|
2999
|
-
}
|
|
3000
|
-
return !1;
|
|
3001
|
-
},
|
|
3002
|
-
_ignoreWhileAnimating: null,
|
|
3003
|
-
_offMoveEvents: function() {
|
|
3004
|
-
S(document, "mousemove", this._onTouchMove), S(document, "touchmove", this._onTouchMove), S(document, "pointermove", this._onTouchMove), S(document, "dragover", _e), S(document, "mousemove", _e), S(document, "touchmove", _e);
|
|
3005
|
-
},
|
|
3006
|
-
_offUpEvents: function() {
|
|
3007
|
-
var t = this.el.ownerDocument;
|
|
3008
|
-
S(t, "mouseup", this._onDrop), S(t, "touchend", this._onDrop), S(t, "pointerup", this._onDrop), S(t, "pointercancel", this._onDrop), S(t, "touchcancel", this._onDrop), S(document, "selectstart", this);
|
|
3009
|
-
},
|
|
3010
|
-
_onDrop: function(t) {
|
|
3011
|
-
var o = this.el, n = this.options;
|
|
3012
|
-
if (J = Q(f), Se = Q(f, n.draggable), V("drop", this, {
|
|
3013
|
-
evt: t
|
|
3014
|
-
}), N = f && f.parentNode, J = Q(f), Se = Q(f, n.draggable), b.eventCanceled) {
|
|
3015
|
-
this._nulling();
|
|
3016
|
-
return;
|
|
3017
|
-
}
|
|
3018
|
-
ze = !1, gt = !1, it = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), lo(this.cloneId), lo(this._dragStartId), this.nativeDraggable && (S(document, "drop", this), S(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), tt && v(document.body, "user-select", ""), v(f, "transform", ""), t && (Ke && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), E && E.parentNode && E.parentNode.removeChild(E), (P === N || U && U.lastPutMode !== "clone") && O && O.parentNode && O.parentNode.removeChild(O), f && (this.nativeDraggable && S(f, "dragend", this), Jt(f), f.style["will-change"] = "", Ke && !ze && K(f, U ? U.options.ghostClass : this.options.ghostClass, !1), K(f, this.options.chosenClass, !1), H({
|
|
3019
|
-
sortable: this,
|
|
3020
|
-
name: "unchoose",
|
|
3021
|
-
toEl: N,
|
|
3022
|
-
newIndex: null,
|
|
3023
|
-
newDraggableIndex: null,
|
|
3024
|
-
originalEvent: t
|
|
3025
|
-
}), P !== N ? (J >= 0 && (H({
|
|
3026
|
-
rootEl: N,
|
|
3027
|
-
name: "add",
|
|
3028
|
-
toEl: N,
|
|
3029
|
-
fromEl: P,
|
|
3030
|
-
originalEvent: t
|
|
3031
|
-
}), H({
|
|
3032
|
-
sortable: this,
|
|
3033
|
-
name: "remove",
|
|
3034
|
-
toEl: N,
|
|
3035
|
-
originalEvent: t
|
|
3036
|
-
}), H({
|
|
3037
|
-
rootEl: N,
|
|
3038
|
-
name: "sort",
|
|
3039
|
-
toEl: N,
|
|
3040
|
-
fromEl: P,
|
|
3041
|
-
originalEvent: t
|
|
3042
|
-
}), H({
|
|
3043
|
-
sortable: this,
|
|
3044
|
-
name: "sort",
|
|
3045
|
-
toEl: N,
|
|
3046
|
-
originalEvent: t
|
|
3047
|
-
})), U && U.save()) : J !== je && J >= 0 && (H({
|
|
3048
|
-
sortable: this,
|
|
3049
|
-
name: "update",
|
|
3050
|
-
toEl: N,
|
|
3051
|
-
originalEvent: t
|
|
3052
|
-
}), H({
|
|
3053
|
-
sortable: this,
|
|
3054
|
-
name: "sort",
|
|
3055
|
-
toEl: N,
|
|
3056
|
-
originalEvent: t
|
|
3057
|
-
})), b.active && ((J == null || J === -1) && (J = je, Se = nt), H({
|
|
3058
|
-
sortable: this,
|
|
3059
|
-
name: "end",
|
|
3060
|
-
toEl: N,
|
|
3061
|
-
originalEvent: t
|
|
3062
|
-
}), this.save()))), this._nulling();
|
|
3063
|
-
},
|
|
3064
|
-
_nulling: function() {
|
|
3065
|
-
V("nulling", this), P = f = N = E = Ne = O = St = Te = Oe = oe = Ke = J = Se = je = nt = Be = rt = U = pt = b.dragged = b.ghost = b.clone = b.active = null, Nt.forEach(function(t) {
|
|
3066
|
-
t.checked = !0;
|
|
3067
|
-
}), Nt.length = Gt = Xt = 0;
|
|
3068
|
-
},
|
|
3069
|
-
handleEvent: function(t) {
|
|
3070
|
-
switch (t.type) {
|
|
3071
|
-
case "drop":
|
|
3072
|
-
case "dragend":
|
|
3073
|
-
this._onDrop(t);
|
|
3074
|
-
break;
|
|
3075
|
-
case "dragenter":
|
|
3076
|
-
case "dragover":
|
|
3077
|
-
f && (this._onDragOver(t), wa(t));
|
|
3078
|
-
break;
|
|
3079
|
-
case "selectstart":
|
|
3080
|
-
t.preventDefault();
|
|
3081
|
-
break;
|
|
3082
|
-
}
|
|
3083
|
-
},
|
|
3084
|
-
/**
|
|
3085
|
-
* Serializes the item into an array of string.
|
|
3086
|
-
* @returns {String[]}
|
|
3087
|
-
*/
|
|
3088
|
-
toArray: function() {
|
|
3089
|
-
for (var t = [], o, n = this.el.children, r = 0, i = n.length, a = this.options; r < i; r++)
|
|
3090
|
-
o = n[r], ne(o, a.draggable, this.el, !1) && t.push(o.getAttribute(a.dataIdAttr) || xa(o));
|
|
3091
|
-
return t;
|
|
3092
|
-
},
|
|
3093
|
-
/**
|
|
3094
|
-
* Sorts the elements according to the array.
|
|
3095
|
-
* @param {String[]} order order of the items
|
|
3096
|
-
*/
|
|
3097
|
-
sort: function(t, o) {
|
|
3098
|
-
var n = {}, r = this.el;
|
|
3099
|
-
this.toArray().forEach(function(i, a) {
|
|
3100
|
-
var s = r.children[a];
|
|
3101
|
-
ne(s, this.options.draggable, r, !1) && (n[i] = s);
|
|
3102
|
-
}, this), o && this.captureAnimationState(), t.forEach(function(i) {
|
|
3103
|
-
n[i] && (r.removeChild(n[i]), r.appendChild(n[i]));
|
|
3104
|
-
}), o && this.animateAll();
|
|
3105
|
-
},
|
|
3106
|
-
/**
|
|
3107
|
-
* Save the current sorting
|
|
3108
|
-
*/
|
|
3109
|
-
save: function() {
|
|
3110
|
-
var t = this.options.store;
|
|
3111
|
-
t && t.set && t.set(this);
|
|
3112
|
-
},
|
|
3113
|
-
/**
|
|
3114
|
-
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
3115
|
-
* @param {HTMLElement} el
|
|
3116
|
-
* @param {String} [selector] default: `options.draggable`
|
|
3117
|
-
* @returns {HTMLElement|null}
|
|
3118
|
-
*/
|
|
3119
|
-
closest: function(t, o) {
|
|
3120
|
-
return ne(t, o || this.options.draggable, this.el, !1);
|
|
3121
|
-
},
|
|
3122
|
-
/**
|
|
3123
|
-
* Set/get option
|
|
3124
|
-
* @param {string} name
|
|
3125
|
-
* @param {*} [value]
|
|
3126
|
-
* @returns {*}
|
|
3127
|
-
*/
|
|
3128
|
-
option: function(t, o) {
|
|
3129
|
-
var n = this.options;
|
|
3130
|
-
if (o === void 0)
|
|
3131
|
-
return n[t];
|
|
3132
|
-
var r = dt.modifyOption(this, t, o);
|
|
3133
|
-
typeof r < "u" ? n[t] = r : n[t] = o, t === "group" && Gn(n);
|
|
3134
|
-
},
|
|
3135
|
-
/**
|
|
3136
|
-
* Destroy
|
|
3137
|
-
*/
|
|
3138
|
-
destroy: function() {
|
|
3139
|
-
V("destroy", this);
|
|
3140
|
-
var t = this.el;
|
|
3141
|
-
t[G] = null, S(t, "mousedown", this._onTapStart), S(t, "touchstart", this._onTapStart), S(t, "pointerdown", this._onTapStart), this.nativeDraggable && (S(t, "dragover", this), S(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(o) {
|
|
3142
|
-
o.removeAttribute("draggable");
|
|
3143
|
-
}), this._onDrop(), this._disableDelayedDragEvents(), _t.splice(_t.indexOf(this.el), 1), this.el = t = null;
|
|
3144
|
-
},
|
|
3145
|
-
_hideClone: function() {
|
|
3146
|
-
if (!Te) {
|
|
3147
|
-
if (V("hideClone", this), b.eventCanceled) return;
|
|
3148
|
-
v(O, "display", "none"), this.options.removeCloneOnHide && O.parentNode && O.parentNode.removeChild(O), Te = !0;
|
|
3149
|
-
}
|
|
3150
|
-
},
|
|
3151
|
-
_showClone: function(t) {
|
|
3152
|
-
if (t.lastPutMode !== "clone") {
|
|
3153
|
-
this._hideClone();
|
|
3154
|
-
return;
|
|
3155
|
-
}
|
|
3156
|
-
if (Te) {
|
|
3157
|
-
if (V("showClone", this), b.eventCanceled) return;
|
|
3158
|
-
f.parentNode == P && !this.options.group.revertClone ? P.insertBefore(O, f) : Ne ? P.insertBefore(O, Ne) : P.appendChild(O), this.options.group.revertClone && this.animate(f, O), v(O, "display", ""), Te = !1;
|
|
3159
|
-
}
|
|
3160
|
-
}
|
|
3161
|
-
};
|
|
3162
|
-
function wa(e) {
|
|
3163
|
-
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
3164
|
-
}
|
|
3165
|
-
function vt(e, t, o, n, r, i, a, s) {
|
|
3166
|
-
var u, l = e[G], d = l.options.onMove, c;
|
|
3167
|
-
return window.CustomEvent && !be && !ct ? u = new CustomEvent("move", {
|
|
3168
|
-
bubbles: !0,
|
|
3169
|
-
cancelable: !0
|
|
3170
|
-
}) : (u = document.createEvent("Event"), u.initEvent("move", !0, !0)), u.to = t, u.from = e, u.dragged = o, u.draggedRect = n, u.related = r || t, u.relatedRect = i || A(t), u.willInsertAfter = s, u.originalEvent = a, e.dispatchEvent(u), d && (c = d.call(l, u, a)), c;
|
|
3171
|
-
}
|
|
3172
|
-
function Jt(e) {
|
|
3173
|
-
e.draggable = !1;
|
|
3174
|
-
}
|
|
3175
|
-
function Ea() {
|
|
3176
|
-
so = !1;
|
|
3177
|
-
}
|
|
3178
|
-
function Ca(e, t, o) {
|
|
3179
|
-
var n = A(Ve(o.el, 0, o.options, !0)), r = Hn(o.el, o.options, E), i = 10;
|
|
3180
|
-
return t ? e.clientX < r.left - i || e.clientY < n.top && e.clientX < n.right : e.clientY < r.top - i || e.clientY < n.bottom && e.clientX < n.left;
|
|
3181
|
-
}
|
|
3182
|
-
function Sa(e, t, o) {
|
|
3183
|
-
var n = A(Co(o.el, o.options.draggable)), r = Hn(o.el, o.options, E), i = 10;
|
|
3184
|
-
return t ? e.clientX > r.right + i || e.clientY > n.bottom && e.clientX > n.left : e.clientY > r.bottom + i || e.clientX > n.right && e.clientY > n.top;
|
|
3185
|
-
}
|
|
3186
|
-
function Ta(e, t, o, n, r, i, a, s) {
|
|
3187
|
-
var u = n ? e.clientY : e.clientX, l = n ? o.height : o.width, d = n ? o.top : o.left, c = n ? o.bottom : o.right, p = !1;
|
|
3188
|
-
if (!a) {
|
|
3189
|
-
if (s && Tt < l * r) {
|
|
3190
|
-
if (!it && (rt === 1 ? u > d + l * i / 2 : u < c - l * i / 2) && (it = !0), it)
|
|
3191
|
-
p = !0;
|
|
3192
|
-
else if (rt === 1 ? u < d + Tt : u > c - Tt)
|
|
3193
|
-
return -rt;
|
|
3194
|
-
} else if (u > d + l * (1 - r) / 2 && u < c - l * (1 - r) / 2)
|
|
3195
|
-
return Da(t);
|
|
3196
|
-
}
|
|
3197
|
-
return p = p || a, p && (u < d + l * i / 2 || u > c - l * i / 2) ? u > d + l / 2 ? 1 : -1 : 0;
|
|
3198
|
-
}
|
|
3199
|
-
function Da(e) {
|
|
3200
|
-
return Q(f) < Q(e) ? 1 : -1;
|
|
3201
|
-
}
|
|
3202
|
-
function xa(e) {
|
|
3203
|
-
for (var t = e.tagName + e.className + e.src + e.href + e.textContent, o = t.length, n = 0; o--; )
|
|
3204
|
-
n += t.charCodeAt(o);
|
|
3205
|
-
return n.toString(36);
|
|
3206
|
-
}
|
|
3207
|
-
function ka(e) {
|
|
3208
|
-
Nt.length = 0;
|
|
3209
|
-
for (var t = e.getElementsByTagName("input"), o = t.length; o--; ) {
|
|
3210
|
-
var n = t[o];
|
|
3211
|
-
n.checked && Nt.push(n);
|
|
3212
|
-
}
|
|
3213
|
-
}
|
|
3214
|
-
function Dt(e) {
|
|
3215
|
-
return setTimeout(e, 0);
|
|
3216
|
-
}
|
|
3217
|
-
function lo(e) {
|
|
3218
|
-
return clearTimeout(e);
|
|
3219
|
-
}
|
|
3220
|
-
zt && T(document, "touchmove", function(e) {
|
|
3221
|
-
(b.active || ze) && e.cancelable && e.preventDefault();
|
|
3222
|
-
});
|
|
3223
|
-
b.utils = {
|
|
3224
|
-
on: T,
|
|
3225
|
-
off: S,
|
|
3226
|
-
css: v,
|
|
3227
|
-
find: jn,
|
|
3228
|
-
is: function(t, o) {
|
|
3229
|
-
return !!ne(t, o, t, !1);
|
|
3230
|
-
},
|
|
3231
|
-
extend: ua,
|
|
3232
|
-
throttle: qn,
|
|
3233
|
-
closest: ne,
|
|
3234
|
-
toggleClass: K,
|
|
3235
|
-
clone: Wn,
|
|
3236
|
-
index: Q,
|
|
3237
|
-
nextTick: Dt,
|
|
3238
|
-
cancelNextTick: lo,
|
|
3239
|
-
detectDirection: Yn,
|
|
3240
|
-
getChild: Ve,
|
|
3241
|
-
expando: G
|
|
3242
|
-
};
|
|
3243
|
-
b.get = function(e) {
|
|
3244
|
-
return e[G];
|
|
3245
|
-
};
|
|
3246
|
-
b.mount = function() {
|
|
3247
|
-
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
3248
|
-
t[o] = arguments[o];
|
|
3249
|
-
t[0].constructor === Array && (t = t[0]), t.forEach(function(n) {
|
|
3250
|
-
if (!n.prototype || !n.prototype.constructor)
|
|
3251
|
-
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
|
|
3252
|
-
n.utils && (b.utils = de(de({}, b.utils), n.utils)), dt.mount(n);
|
|
3253
|
-
});
|
|
3254
|
-
};
|
|
3255
|
-
b.create = function(e, t) {
|
|
3256
|
-
return new b(e, t);
|
|
3257
|
-
};
|
|
3258
|
-
b.version = sa;
|
|
3259
|
-
var R = [], Je, uo, co = !1, Zt, Qt, Mt, Ze;
|
|
3260
|
-
function Ia() {
|
|
3261
|
-
function e() {
|
|
3262
|
-
this.defaults = {
|
|
3263
|
-
scroll: !0,
|
|
3264
|
-
forceAutoScrollFallback: !1,
|
|
3265
|
-
scrollSensitivity: 30,
|
|
3266
|
-
scrollSpeed: 10,
|
|
3267
|
-
bubbleScroll: !0
|
|
3268
|
-
};
|
|
3269
|
-
for (var t in this)
|
|
3270
|
-
t.charAt(0) === "_" && typeof this[t] == "function" && (this[t] = this[t].bind(this));
|
|
3271
|
-
}
|
|
3272
|
-
return e.prototype = {
|
|
3273
|
-
dragStarted: function(o) {
|
|
3274
|
-
var n = o.originalEvent;
|
|
3275
|
-
this.sortable.nativeDraggable ? T(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? T(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? T(document, "touchmove", this._handleFallbackAutoScroll) : T(document, "mousemove", this._handleFallbackAutoScroll);
|
|
3276
|
-
},
|
|
3277
|
-
dragOverCompleted: function(o) {
|
|
3278
|
-
var n = o.originalEvent;
|
|
3279
|
-
!this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
|
|
3280
|
-
},
|
|
3281
|
-
drop: function() {
|
|
3282
|
-
this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)), an(), xt(), ca();
|
|
3283
|
-
},
|
|
3284
|
-
nulling: function() {
|
|
3285
|
-
Mt = uo = Je = co = Ze = Zt = Qt = null, R.length = 0;
|
|
3286
|
-
},
|
|
3287
|
-
_handleFallbackAutoScroll: function(o) {
|
|
3288
|
-
this._handleAutoScroll(o, !0);
|
|
3289
|
-
},
|
|
3290
|
-
_handleAutoScroll: function(o, n) {
|
|
3291
|
-
var r = this, i = (o.touches ? o.touches[0] : o).clientX, a = (o.touches ? o.touches[0] : o).clientY, s = document.elementFromPoint(i, a);
|
|
3292
|
-
if (Mt = o, n || this.options.forceAutoScrollFallback || ct || be || tt) {
|
|
3293
|
-
eo(o, this.options, s, n);
|
|
3294
|
-
var u = xe(s, !0);
|
|
3295
|
-
co && (!Ze || i !== Zt || a !== Qt) && (Ze && an(), Ze = setInterval(function() {
|
|
3296
|
-
var l = xe(document.elementFromPoint(i, a), !0);
|
|
3297
|
-
l !== u && (u = l, xt()), eo(o, r.options, l, n);
|
|
3298
|
-
}, 10), Zt = i, Qt = a);
|
|
3299
|
-
} else {
|
|
3300
|
-
if (!this.options.bubbleScroll || xe(s, !0) === ce()) {
|
|
3301
|
-
xt();
|
|
3302
|
-
return;
|
|
3303
|
-
}
|
|
3304
|
-
eo(o, this.options, xe(s, !1), !1);
|
|
3305
|
-
}
|
|
3306
|
-
}
|
|
3307
|
-
}, ve(e, {
|
|
3308
|
-
pluginName: "scroll",
|
|
3309
|
-
initializeByDefault: !0
|
|
3310
|
-
});
|
|
3311
|
-
}
|
|
3312
|
-
function xt() {
|
|
3313
|
-
R.forEach(function(e) {
|
|
3314
|
-
clearInterval(e.pid);
|
|
3315
|
-
}), R = [];
|
|
3316
|
-
}
|
|
3317
|
-
function an() {
|
|
3318
|
-
clearInterval(Ze);
|
|
3319
|
-
}
|
|
3320
|
-
var eo = qn(function(e, t, o, n) {
|
|
3321
|
-
if (t.scroll) {
|
|
3322
|
-
var r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, s = t.scrollSpeed, u = ce(), l = !1, d;
|
|
3323
|
-
uo !== o && (uo = o, xt(), Je = t.scroll, d = t.scrollFn, Je === !0 && (Je = xe(o, !0)));
|
|
3324
|
-
var c = 0, p = Je;
|
|
3325
|
-
do {
|
|
3326
|
-
var y = p, w = A(y), h = w.top, m = w.bottom, x = w.left, C = w.right, D = w.width, F = w.height, ie = void 0, X = void 0, fe = y.scrollWidth, ke = y.scrollHeight, W = v(y), Ie = y.scrollLeft, ae = y.scrollTop;
|
|
3327
|
-
y === u ? (ie = D < fe && (W.overflowX === "auto" || W.overflowX === "scroll" || W.overflowX === "visible"), X = F < ke && (W.overflowY === "auto" || W.overflowY === "scroll" || W.overflowY === "visible")) : (ie = D < fe && (W.overflowX === "auto" || W.overflowX === "scroll"), X = F < ke && (W.overflowY === "auto" || W.overflowY === "scroll"));
|
|
3328
|
-
var Fe = ie && (Math.abs(C - r) <= a && Ie + D < fe) - (Math.abs(x - r) <= a && !!Ie), j = X && (Math.abs(m - i) <= a && ae + F < ke) - (Math.abs(h - i) <= a && !!ae);
|
|
3329
|
-
if (!R[c])
|
|
3330
|
-
for (var he = 0; he <= c; he++)
|
|
3331
|
-
R[he] || (R[he] = {});
|
|
3332
|
-
(R[c].vx != Fe || R[c].vy != j || R[c].el !== y) && (R[c].el = y, R[c].vx = Fe, R[c].vy = j, clearInterval(R[c].pid), (Fe != 0 || j != 0) && (l = !0, R[c].pid = setInterval((function() {
|
|
3333
|
-
n && this.layer === 0 && b.active._onTouchMove(Mt);
|
|
3334
|
-
var me = R[this.layer].vy ? R[this.layer].vy * s : 0, se = R[this.layer].vx ? R[this.layer].vx * s : 0;
|
|
3335
|
-
typeof d == "function" && d.call(b.dragged.parentNode[G], se, me, e, Mt, R[this.layer].el) !== "continue" || $n(R[this.layer].el, se, me);
|
|
3336
|
-
}).bind({
|
|
3337
|
-
layer: c
|
|
3338
|
-
}), 24))), c++;
|
|
3339
|
-
} while (t.bubbleScroll && p !== u && (p = xe(p, !1)));
|
|
3340
|
-
co = l;
|
|
3341
|
-
}
|
|
3342
|
-
}, 30), Jn = function(t) {
|
|
3343
|
-
var o = t.originalEvent, n = t.putSortable, r = t.dragEl, i = t.activeSortable, a = t.dispatchSortableEvent, s = t.hideGhostForTarget, u = t.unhideGhostForTarget;
|
|
3344
|
-
if (o) {
|
|
3345
|
-
var l = n || i;
|
|
3346
|
-
s();
|
|
3347
|
-
var d = o.changedTouches && o.changedTouches.length ? o.changedTouches[0] : o, c = document.elementFromPoint(d.clientX, d.clientY);
|
|
3348
|
-
u(), l && !l.el.contains(c) && (a("spill"), this.onSpill({
|
|
3349
|
-
dragEl: r,
|
|
3350
|
-
putSortable: n
|
|
3351
|
-
}));
|
|
3352
|
-
}
|
|
3353
|
-
};
|
|
3354
|
-
function So() {
|
|
3355
|
-
}
|
|
3356
|
-
So.prototype = {
|
|
3357
|
-
startIndex: null,
|
|
3358
|
-
dragStart: function(t) {
|
|
3359
|
-
var o = t.oldDraggableIndex;
|
|
3360
|
-
this.startIndex = o;
|
|
3361
|
-
},
|
|
3362
|
-
onSpill: function(t) {
|
|
3363
|
-
var o = t.dragEl, n = t.putSortable;
|
|
3364
|
-
this.sortable.captureAnimationState(), n && n.captureAnimationState();
|
|
3365
|
-
var r = Ve(this.sortable.el, this.startIndex, this.options);
|
|
3366
|
-
r ? this.sortable.el.insertBefore(o, r) : this.sortable.el.appendChild(o), this.sortable.animateAll(), n && n.animateAll();
|
|
3367
|
-
},
|
|
3368
|
-
drop: Jn
|
|
3369
|
-
};
|
|
3370
|
-
ve(So, {
|
|
3371
|
-
pluginName: "revertOnSpill"
|
|
3372
|
-
});
|
|
3373
|
-
function To() {
|
|
3374
|
-
}
|
|
3375
|
-
To.prototype = {
|
|
3376
|
-
onSpill: function(t) {
|
|
3377
|
-
var o = t.dragEl, n = t.putSortable, r = n || this.sortable;
|
|
3378
|
-
r.captureAnimationState(), o.parentNode && o.parentNode.removeChild(o), r.animateAll();
|
|
3379
|
-
},
|
|
3380
|
-
drop: Jn
|
|
3381
|
-
};
|
|
3382
|
-
ve(To, {
|
|
3383
|
-
pluginName: "removeOnSpill"
|
|
3384
|
-
});
|
|
3385
|
-
b.mount(new Ia());
|
|
3386
|
-
b.mount(To, So);
|
|
3387
|
-
const Fa = Dr(), Pa = {
|
|
3388
|
-
span: 6,
|
|
3389
|
-
align: "right",
|
|
3390
|
-
collapseNode: !1,
|
|
3391
|
-
itemRender: {
|
|
3392
|
-
name: "$buttons",
|
|
3393
|
-
children: [
|
|
3394
|
-
{
|
|
3395
|
-
props: {
|
|
3396
|
-
type: "submit",
|
|
3397
|
-
content: "message.btn.search",
|
|
3398
|
-
status: "primary",
|
|
3399
|
-
icon: "vxe-icon-search"
|
|
3400
|
-
}
|
|
3401
|
-
},
|
|
3402
|
-
{
|
|
3403
|
-
props: {
|
|
3404
|
-
type: "reset",
|
|
3405
|
-
content: "message.btn.reset",
|
|
3406
|
-
status: "info",
|
|
3407
|
-
icon: "ri-refresh-line ri-1x"
|
|
3408
|
-
}
|
|
3409
|
-
}
|
|
3410
|
-
]
|
|
3411
|
-
}
|
|
3412
|
-
}, Oa = (e, t) => {
|
|
3413
|
-
const o = e.filter((l) => l.visible !== !1), n = o.length, r = n > 2 && o.some((l, d) => d < 3 && (l.span > 6 || sn(l))), i = r || n > 3, a = { collapseTags: !0, collapseTagsTooltip: !0 }, s = o.map((l, d) => {
|
|
3414
|
-
var c, p, y;
|
|
3415
|
-
return l.folding = r ? i && d > 1 : i && d > 2, l.span = sn(l) ? 12 : l.span || 6, l.code && !l.itemRender && (l.itemRender = Fa.renderDict(l.code)), l.itemRender = l.itemRender || { name: "$input" }, l.title = l.title || `message.${l.field}`, (l.multiple || (p = (c = l.itemRender) == null ? void 0 : c.props) != null && p.multiple) && (l.itemRender.props = Object.assign(a, ((y = l.itemRender) == null ? void 0 : y.props) || {})), l;
|
|
3416
|
-
}), u = ee(Pa, !0);
|
|
3417
|
-
if (u.collapseNode = i, t && u.itemRender.children.length < 3 && u.itemRender.children.push(t), i) {
|
|
3418
|
-
const l = r ? 2 : 3;
|
|
3419
|
-
s.splice(l, 0, u);
|
|
3420
|
-
} else
|
|
3421
|
-
s.push(u);
|
|
3422
|
-
return s;
|
|
3423
|
-
}, sn = (e) => {
|
|
3424
|
-
var t, o, n, r, i;
|
|
3425
|
-
return ((t = e.itemRender) == null ? void 0 : t.name) === "#SuDateRange" ? ((n = (o = e.itemRender) == null ? void 0 : o.props) == null ? void 0 : n.type) === "daterange" || !((i = (r = e.itemRender) == null ? void 0 : r.props) != null && i.type) : !1;
|
|
3426
|
-
}, _a = "kSysConfig", ln = "kCookies_param", to = _.getItem(_a), Zn = (e, t) => (e.forEach((o) => {
|
|
3427
|
-
var n;
|
|
3428
|
-
o.auth = t && t[o.code] || o.auth, o.name ? (to == null ? void 0 : to.i18nEnabled) === "Y" && !o.name.startsWith("message.") && (o.name = `message.btn.${o.name}`) : o.name = `message.btn.${o.code}`, (n = o.dropdowns) != null && n.length && Zn(o.dropdowns, t);
|
|
3429
|
-
}), e), Na = (e, t, o) => {
|
|
3430
|
-
const n = { pageNum: 1, pageSize: 1e5 }, r = Do();
|
|
3431
|
-
Object.assign(n, o, r, e.defaultParams || {});
|
|
3432
|
-
let i = Qn(n, e.items);
|
|
3433
|
-
i = er(i, e.items);
|
|
3434
|
-
const { url: a } = e;
|
|
3435
|
-
if (!a) return null;
|
|
3436
|
-
const s = He(a) ? a : a.fetch || a.restful;
|
|
3437
|
-
if (!s) return null;
|
|
3438
|
-
const u = a.fetch ? "post" : "get";
|
|
3439
|
-
return new Promise((l, d) => {
|
|
3440
|
-
t[u](s, i).then((c) => {
|
|
3441
|
-
l(c.list);
|
|
3442
|
-
}).catch((c) => {
|
|
3443
|
-
d(c);
|
|
3444
|
-
});
|
|
3445
|
-
});
|
|
3446
|
-
}, Ma = (e, t, o, n, r, i) => {
|
|
3447
|
-
if (i) return Wa();
|
|
3448
|
-
for (const p in t)
|
|
3449
|
-
t[p] && He(t[p]) && (t[p] = t[p].trim());
|
|
3450
|
-
const a = { pageNum: o.currentPage, pageSize: o.pageSize }, s = Do();
|
|
3451
|
-
Object.assign(a, s, e.defaultParams || {}, t);
|
|
3452
|
-
let u = Qn(a, e.items);
|
|
3453
|
-
u = er(u, e.items);
|
|
3454
|
-
const { url: l } = e;
|
|
3455
|
-
if (!l) return null;
|
|
3456
|
-
const d = He(l) ? l : l.fetch || l.restful, c = l.fetch ? "post" : "get";
|
|
3457
|
-
return d ? n[c](d, u) : null;
|
|
3458
|
-
}, Ra = (e, t, o) => {
|
|
3459
|
-
const { url: n } = o;
|
|
3460
|
-
if (!n) return null;
|
|
3461
|
-
const r = He(n) ? n : n.del || n.restful;
|
|
3462
|
-
if (!r) return null;
|
|
3463
|
-
const i = n.del ? "post" : "delete";
|
|
3464
|
-
return e[i](r, t);
|
|
3465
|
-
}, Aa = (e, t, o) => {
|
|
3466
|
-
const n = [], { url: r } = o;
|
|
3467
|
-
if (!r) return null;
|
|
3468
|
-
const { insertRecords: i, updateRecords: a } = t;
|
|
3469
|
-
if (!qe(i)) {
|
|
3470
|
-
const s = Do();
|
|
3471
|
-
i.forEach((l) => {
|
|
3472
|
-
var d;
|
|
3473
|
-
!qe(o == null ? void 0 : o.defaultValue) && Object.assign(l, o.defaultValue), (d = Object.keys(s)) == null || d.forEach((c) => {
|
|
3474
|
-
l[c] = l[c] || s[c];
|
|
3475
|
-
});
|
|
3476
|
-
});
|
|
3477
|
-
const u = He(r) ? r : r.add || r.restful;
|
|
3478
|
-
u && n.push(e.post(u, i));
|
|
3479
|
-
}
|
|
3480
|
-
if (!qe(a)) {
|
|
3481
|
-
const s = He(r) ? r : r.save || r.restful, u = r.save ? "post" : "put";
|
|
3482
|
-
s && n.push(e[u](s, a));
|
|
3483
|
-
}
|
|
3484
|
-
return n;
|
|
3485
|
-
}, Qn = (e, t) => {
|
|
3486
|
-
const o = t.filter((r) => {
|
|
3487
|
-
var i, a;
|
|
3488
|
-
return ((a = (i = r.itemRender) == null ? void 0 : i.props) == null ? void 0 : a.multiple) || r.multiple;
|
|
3489
|
-
});
|
|
3490
|
-
if (qe(o)) return e;
|
|
3491
|
-
const n = ee(e, !0);
|
|
3492
|
-
return o.forEach((r) => {
|
|
3493
|
-
var i;
|
|
3494
|
-
r.itemRender.name === "#select" && r.itemRender.props.multiple && (((i = n[`_${r.field}`]) == null ? void 0 : i.length) === 0 && (n[`${r.field}`] = null), delete e[`_${r.field}`], delete n[`_${r.field}`]);
|
|
3495
|
-
}), n;
|
|
3496
|
-
}, un = "yyyy-MM-dd 00:00:00", cn = "yyyy-MM-dd 23:59:59", er = (e, t) => {
|
|
3497
|
-
const o = t.filter((r) => {
|
|
3498
|
-
var i;
|
|
3499
|
-
return ["#SuDateRange", "VxeDateRangePicker"].includes((i = r.itemRender) == null ? void 0 : i.name);
|
|
3500
|
-
});
|
|
3501
|
-
if (qe(o)) return e;
|
|
3502
|
-
const n = ee(e, !0);
|
|
3503
|
-
return o.forEach((r) => {
|
|
3504
|
-
const i = n[r.field];
|
|
3505
|
-
i && r.itemRender.startField ? (n[r.itemRender.startField] = B(n[r.itemRender.startField], un), n[r.itemRender.endField] = B(n[r.itemRender.endField], cn)) : i && (n[`${r.field}From`] = B(i[0], un), n[`${r.field}To`] = B(i[1], cn)), delete n[r.field];
|
|
3506
|
-
}), n;
|
|
3507
|
-
}, Do = () => Me.get(ln) ? JSON.parse(Me.get(ln)) : {}, La = [
|
|
3508
|
-
{
|
|
3509
|
-
code: "insert_actived",
|
|
3510
|
-
name: "add",
|
|
3511
|
-
status: "u-cyan",
|
|
3512
|
-
icon: "vxe-icon-add",
|
|
3513
|
-
auth: "add",
|
|
3514
|
-
sort: 1
|
|
3515
|
-
},
|
|
3516
|
-
{
|
|
3517
|
-
code: "delete",
|
|
3518
|
-
status: "danger",
|
|
3519
|
-
icon: "vxe-icon-delete",
|
|
3520
|
-
auth: "del",
|
|
3521
|
-
sort: 2
|
|
3522
|
-
},
|
|
3523
|
-
{
|
|
3524
|
-
code: "save",
|
|
3525
|
-
status: "primary",
|
|
3526
|
-
icon: "vxe-icon-save",
|
|
3527
|
-
auth: "edit",
|
|
3528
|
-
sort: 3
|
|
3529
|
-
}
|
|
3530
|
-
], Ba = [
|
|
3531
|
-
{
|
|
3532
|
-
code: "add",
|
|
3533
|
-
status: "u-cyan",
|
|
3534
|
-
icon: "vxe-icon-add",
|
|
3535
|
-
auth: "add",
|
|
3536
|
-
sort: 1
|
|
3537
|
-
},
|
|
3538
|
-
{
|
|
3539
|
-
code: "del",
|
|
3540
|
-
status: "danger",
|
|
3541
|
-
icon: "vxe-icon-delete",
|
|
3542
|
-
auth: "del",
|
|
3543
|
-
sort: 2
|
|
3544
|
-
}
|
|
3545
|
-
], za = [
|
|
3546
|
-
{ field: "createdByName", width: 90, visible: !1 },
|
|
3547
|
-
{ field: "creationDate", width: 140, visible: !1 },
|
|
3548
|
-
{ field: "lastUpdatedByName", width: 90, visible: !1 },
|
|
3549
|
-
{ field: "lastUpdateDate", width: 140, visible: !1 }
|
|
3550
|
-
], dn = (e) => Rr(e.exportConfig) ? e.exportConfig : {
|
|
3551
|
-
filename: e.fileName || "导出明细",
|
|
3552
|
-
type: "xlsx",
|
|
3553
|
-
types: ["xlsx", "csv"],
|
|
3554
|
-
modes: ["current", "selected", "all"],
|
|
3555
|
-
useStyle: !0,
|
|
3556
|
-
sheetMethod: ({ worksheet: t }) => e.onSheetMethod ? e.onSheetMethod(t) : $a(t),
|
|
3557
|
-
columnFilterMethod: ({ column: t }) => e.columnFilter ? !!e.columnFilter(t) : !["operate"].includes(t.field) && t.type !== "checkbox"
|
|
3558
|
-
}, Ua = (e, t, o, n) => {
|
|
3559
|
-
const r = {
|
|
3560
|
-
icon: "ri-refresh-line",
|
|
3561
|
-
iconLoading: "vxe-icon-spinner roll vxe-loading--default-icon"
|
|
3562
|
-
};
|
|
3563
|
-
if (!t.editable) {
|
|
3564
|
-
e.editConfig.editable = t.editable;
|
|
3565
|
-
const d = t.needExport && n("export");
|
|
3566
|
-
return d && (e.exportConfig = dn(o)), e.toolbarConfig = {
|
|
3567
|
-
buttons: [],
|
|
3568
|
-
enabled: d,
|
|
3569
|
-
refreshOptions: r,
|
|
3570
|
-
exportOptions: { icon: "ri-download-2-line", code: "export" },
|
|
3571
|
-
export: d,
|
|
3572
|
-
custom: !!o.gridId,
|
|
3573
|
-
refresh: !0,
|
|
3574
|
-
perfect: !0
|
|
3575
|
-
}, e;
|
|
3576
|
-
}
|
|
3577
|
-
let i = ee(o.buttons || [], !0);
|
|
3578
|
-
i.forEach((d, c) => {
|
|
3579
|
-
d.sort = d.sort || c + 10;
|
|
3580
|
-
}), (o.mode !== "form" ? ee(La, !0) : ee(Ba, !0)).reverse().forEach((d) => {
|
|
3581
|
-
!i.some((c) => c.code === d.code) && i.unshift(d), o.authPrefix && !["printer", "export"].includes(d.auth) && (d.auth = o.authPrefix + d.auth.slice(0, 1).toLocaleUpperCase() + d.auth.slice(1).toLocaleLowerCase());
|
|
3582
|
-
}), i = Zn(i, t.auth).filter((d) => {
|
|
3583
|
-
var p;
|
|
3584
|
-
const c = d.auth ? n(d.auth) : !0;
|
|
3585
|
-
return (p = d.dropdowns) != null && p.length && (d.dropdowns = d.dropdowns.filter((y) => !y.auth || y.auth && n(y.auth))), c;
|
|
3586
|
-
});
|
|
3587
|
-
const s = { trigger: "dblclick", mode: "row", showStatus: !0 };
|
|
3588
|
-
e.editConfig = o.mode !== "form" ? s : { enabled: !1 };
|
|
3589
|
-
const u = t.needExport && n("export");
|
|
3590
|
-
let l = null;
|
|
3591
|
-
return u && (e.exportConfig = dn(o), l = { icon: "ri-download-2-line", code: "export" }), e.toolbarConfig = {
|
|
3592
|
-
buttons: Mr(i, "sort"),
|
|
3593
|
-
enabled: !0,
|
|
3594
|
-
refreshOptions: r,
|
|
3595
|
-
customOptions: o.gridId ? {} : null,
|
|
3596
|
-
exportOptions: l,
|
|
3597
|
-
custom: !!o.gridId,
|
|
3598
|
-
export: u,
|
|
3599
|
-
refresh: !0,
|
|
3600
|
-
perfect: !0
|
|
3601
|
-
}, e;
|
|
3602
|
-
}, ja = ({ columns: e, data: t }, o) => [
|
|
3603
|
-
e.map((n, r) => {
|
|
3604
|
-
var i;
|
|
3605
|
-
if (r === (o.index || 0))
|
|
3606
|
-
return o.label || "合计";
|
|
3607
|
-
if ((i = o.fields) != null && i.includes(n.property)) {
|
|
3608
|
-
const a = t.reduce((s, u) => s + Number(u[n.property] || 0), 0);
|
|
3609
|
-
return a && Number(a.toFixed(o.decimal || 2));
|
|
3610
|
-
}
|
|
3611
|
-
return "";
|
|
3612
|
-
})
|
|
3613
|
-
], qa = (e, t) => Nr(t.checkMethod) ? t.checkMethod(e) : !0, $a = (e) => {
|
|
3614
|
-
e.eachRow((t, o) => {
|
|
3615
|
-
t.font = { name: "微软雅黑", size: 9 }, t.border = {
|
|
3616
|
-
top: { style: "thin" },
|
|
3617
|
-
left: { style: "thin" },
|
|
3618
|
-
bottom: { style: "thin" },
|
|
3619
|
-
right: { style: "thin" }
|
|
3620
|
-
}, o === 1 && (t.fill = {
|
|
3621
|
-
type: "pattern",
|
|
3622
|
-
pattern: "solid",
|
|
3623
|
-
fgColor: { argb: "4F81BD" }
|
|
3624
|
-
}, t.font = {
|
|
3625
|
-
name: "微软雅黑",
|
|
3626
|
-
size: 10,
|
|
3627
|
-
bold: !0,
|
|
3628
|
-
color: { argb: "FFFFFFFF" }
|
|
3629
|
-
});
|
|
3630
|
-
});
|
|
3631
|
-
}, Wa = () => new Promise((e) => {
|
|
3632
|
-
setTimeout(() => {
|
|
3633
|
-
e({ list: [
|
|
3634
|
-
{ id: 1, name: "Test1", sex: "Man", age: 28, address: "Shenzhen" },
|
|
3635
|
-
{ id: 2, name: "Test2", sex: "Women", age: 22, address: "Guangzhou" },
|
|
3636
|
-
{ id: 3, name: "Test3", sex: "Man", age: 32, address: "Shanghai" },
|
|
3637
|
-
{ id: 4, name: "Test4", sex: "Women", age: 23, address: "test abc" },
|
|
3638
|
-
{ id: 5, name: "Test5", sex: "Women", age: 30, address: "Shanghai" }
|
|
3639
|
-
], total: 5 });
|
|
3640
|
-
}, 100);
|
|
3641
|
-
}), Ha = (e) => {
|
|
3642
|
-
const t = {};
|
|
3643
|
-
return Object.keys(e).forEach((o) => {
|
|
3644
|
-
const n = o.replace(/-(\w)/g, (r) => r.slice(1).toUpperCase());
|
|
3645
|
-
t[n] = e[o];
|
|
3646
|
-
}), t;
|
|
3647
|
-
}, Va = { style: { width: "100%", height: "100%" } }, fn = "U_TABLE_COLUMNN_SORT", Ya = /* @__PURE__ */ Re({
|
|
3648
|
-
name: "UtGrid",
|
|
3649
|
-
__name: "index",
|
|
3650
|
-
props: {
|
|
3651
|
-
checkMethod: {},
|
|
3652
|
-
serviceCode: { default: () => ({}) },
|
|
3653
|
-
defaultValue: {},
|
|
3654
|
-
defaultParams: {},
|
|
3655
|
-
url: {},
|
|
3656
|
-
columns: { default: () => [] },
|
|
3657
|
-
items: { default: () => [] },
|
|
3658
|
-
editable: { type: Boolean, default: !0 },
|
|
3659
|
-
needExport: { type: Boolean, default: !0 },
|
|
3660
|
-
autoLoad: { type: Boolean, default: !0 }
|
|
3661
|
-
},
|
|
3662
|
-
emits: ["buttonClick", "cellClick", "cellDbclick", "editEctivated"],
|
|
3663
|
-
setup(e, { expose: t, emit: o }) {
|
|
3664
|
-
const n = Ha(ur());
|
|
3665
|
-
let r;
|
|
3666
|
-
const i = {}, a = cr(), s = a.appContext.config.globalProperties.$hasAuthority, u = a.appContext.config.globalProperties.$serviceApi, l = a.parent.type.name, d = a.appContext.config.globalProperties.$mode, c = e, { t: p } = po(), y = Qe(null), w = Qe(!1), h = {
|
|
3667
|
-
icon: "vxe-icon-setting",
|
|
3668
|
-
name: "favorite",
|
|
3669
|
-
events: {
|
|
3670
|
-
click: (g, k) => {
|
|
3671
|
-
k.name === "favorite" && (w.value = !0);
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
|
-
}, m = () => c.columns.length ? zo(c.columns, p) : {}, x = () => {
|
|
3675
|
-
const g = c.columns;
|
|
3676
|
-
if (n.gridId) {
|
|
3677
|
-
const I = za.filter((L) => !g.some((te) => te.field === L.field)).map((L) => (n.format && ["lastUpdateDate", "creationDate"].includes(L.field) && (L.formatter = n.format, L.width = 90), L)), M = g.findIndex((L) => L.field === "operate");
|
|
3678
|
-
M !== -1 ? g.splice(M, 0, ...I) : g.push(...I);
|
|
3679
|
-
}
|
|
3680
|
-
const k = n.gridId ? F(g) : g;
|
|
3681
|
-
return xr(k, n.sortable);
|
|
3682
|
-
};
|
|
3683
|
-
et.getItem(fn).then((g) => {
|
|
3684
|
-
r = g, C.columns = x();
|
|
3685
|
-
});
|
|
3686
|
-
const C = dr({
|
|
3687
|
-
border: !0,
|
|
3688
|
-
pagerConfig: { pageSize: n.pageSize || 20 },
|
|
3689
|
-
editConfig: {},
|
|
3690
|
-
editRules: m(),
|
|
3691
|
-
formConfig: {},
|
|
3692
|
-
columnConfig: { useKey: !0 },
|
|
3693
|
-
toolbarConfig: { enabled: !1 },
|
|
3694
|
-
sortConfig: { multiple: !0, trigger: "cell" },
|
|
3695
|
-
height: d ? void 0 : window.innerHeight - 92,
|
|
3696
|
-
checkboxConfig: {
|
|
3697
|
-
checkMethod: ({ row: g }) => qa(g, c),
|
|
3698
|
-
checkRowKeys: c.checkRowKeys
|
|
3699
|
-
},
|
|
3700
|
-
loading: !1,
|
|
3701
|
-
footerRowClassName: "ut-grid-footer",
|
|
3702
|
-
proxyConfig: {
|
|
3703
|
-
form: !0,
|
|
3704
|
-
// 查询是需要启用表单代理
|
|
3705
|
-
autoLoad: c.autoLoad,
|
|
3706
|
-
showResponseMsgvxe: !1,
|
|
3707
|
-
showActionMsgvxe: !1,
|
|
3708
|
-
// 接收 Promise
|
|
3709
|
-
ajax: {
|
|
3710
|
-
queryAll: ({ form: g }) => Na(c, u, g),
|
|
3711
|
-
query: ({ page: g, form: k, code: I }) => Ma(c, k, g, u, I, d),
|
|
3712
|
-
delete: ({ body: { removeRecords: g } }) => Ra(u, g, c),
|
|
3713
|
-
save: ({ body: g }) => Promise.all(Aa(u, g, c)),
|
|
3714
|
-
querySuccess: ({ response: g }) => j("querySuccess", g),
|
|
3715
|
-
queryError: ({ response: g }) => j("queryError", g),
|
|
3716
|
-
deleteSuccess: ({ response: g }) => j("deleteSuccess", g),
|
|
3717
|
-
deleteError: ({ response: g }) => j("deleteError", g),
|
|
3718
|
-
saveSuccess: ({ response: g }) => j("saveSuccess", g),
|
|
3719
|
-
saveError: ({ response: g }) => j("saveError", g)
|
|
3720
|
-
}
|
|
3721
|
-
},
|
|
3722
|
-
columns: n.gridId ? [] : x(),
|
|
3723
|
-
...n
|
|
3724
|
-
}), D = () => c.items.length ? Oa(ee(c.items, !0), l && c.url ? h : l) : c.items;
|
|
3725
|
-
function F(g) {
|
|
3726
|
-
const k = r ? r[n.gridId] : {};
|
|
3727
|
-
return k ? g.map((I, M) => {
|
|
3728
|
-
const L = (M + 1) * 10;
|
|
3729
|
-
return I._sort = k[I.field] || L, i[I.field] = I._sort, I;
|
|
3730
|
-
}).sort((I, M) => I._sort - M._sort) : g;
|
|
3731
|
-
}
|
|
3732
|
-
const ie = () => {
|
|
3733
|
-
c.items.length && (C.formConfig = {
|
|
3734
|
-
titleWidth: 100,
|
|
3735
|
-
titleAlign: "right",
|
|
3736
|
-
items: D(),
|
|
3737
|
-
rules: zo(c.items, p),
|
|
3738
|
-
validConfig: { showMessage: !1 }
|
|
3739
|
-
});
|
|
3740
|
-
const g = Ua(C, c, n, s);
|
|
3741
|
-
Object.assign(C, g), n.gridId && (C.id = n.gridId, C.customConfig = {
|
|
3742
|
-
storage: !0,
|
|
3743
|
-
mode: "popup",
|
|
3744
|
-
checkMethod({ column: k }) {
|
|
3745
|
-
return !(k.field === "operate" || ["checkbox", "radio"].includes(k.type));
|
|
3746
|
-
},
|
|
3747
|
-
modalOptions: {
|
|
3748
|
-
width: 750,
|
|
3749
|
-
height: "75%"
|
|
3750
|
-
}
|
|
3751
|
-
}), n.mergeFooter && (C.showFooter = !0, C.footerMethod = ({ columns: k, data: I }) => ja({ columns: k, data: I }, n.mergeFooter));
|
|
3752
|
-
}, X = () => {
|
|
3753
|
-
y.value.commitProxy("query");
|
|
3754
|
-
}, fe = () => (C.editRules = m(), y.value.refreshColumn()), ke = () => {
|
|
3755
|
-
C.loading = !0;
|
|
3756
|
-
}, W = () => {
|
|
3757
|
-
C.loading = !1;
|
|
3758
|
-
}, Ie = () => ro(y.value), ae = () => y.value.getTableData().fullData, Fe = (g = !1) => {
|
|
3759
|
-
const k = c.columns[0].type, I = k === "radio" ? y.value.getRadioRecord(g) : y.value.getCheckboxRecords(g);
|
|
3760
|
-
return k === "checkbox" && !I.length ? (Uo(p("message.tip_selectedRecord")), []) : k === "radio" && !I ? (Uo(p("message.tip_selectedRecord")), null) : I;
|
|
3761
|
-
}, j = (g, k) => {
|
|
3762
|
-
n != null && n.callback && (n != null && n.callback[g]) && (n == null || n.callback[g](k));
|
|
3763
|
-
}, he = async (g) => {
|
|
3764
|
-
const k = g.data, I = c.items.filter((M) => {
|
|
3765
|
-
var L, te;
|
|
3766
|
-
return (te = (L = M.itemRender) == null ? void 0 : L.props) == null ? void 0 : te.multiple;
|
|
3767
|
-
});
|
|
3768
|
-
I.forEach((M) => {
|
|
3769
|
-
M.itemRender.props.defaultValue ? (k[`_${M.field}`] = M.itemRender.props.defaultValue.split(","), k[`${M.field}`] = M.itemRender.props.defaultValue) : k[`_${M.field}`] = [];
|
|
3770
|
-
}), I.length && setTimeout(() => {
|
|
3771
|
-
X();
|
|
3772
|
-
}, 200);
|
|
3773
|
-
};
|
|
3774
|
-
let me;
|
|
3775
|
-
const se = () => {
|
|
3776
|
-
const g = y.value;
|
|
3777
|
-
me = b.create(g.$el.querySelector(".vxe-table--header .vxe-header--row"), {
|
|
3778
|
-
disabled: !n.gridId,
|
|
3779
|
-
handle: ".vxe-header--column",
|
|
3780
|
-
onEnd: async (k) => {
|
|
3781
|
-
const I = k.item, M = k.newIndex, L = k.oldIndex, { fullColumn: te, tableColumn: Po } = g.getTableColumn(), qt = I.parentNode, ir = te[M], Oo = te[L];
|
|
3782
|
-
let mt = !1, $t = "固定列";
|
|
3783
|
-
if (ir.fixed ? mt = !1 : M === 0 || ["checkbox", "radio"].includes(Oo.type) ? ($t = "勾选列", mt = !0) : (Oo.field === "operate" || M === te.length - 1) && (mt = !0, $t = "操作列"), mt) {
|
|
3784
|
-
const Ee = qt.children[L];
|
|
3785
|
-
return M > L ? qt.insertBefore(I, Ee) : qt.insertBefore(I, Ee && Ee.nextElementSibling), kr($t + "不允许拖动!");
|
|
3786
|
-
}
|
|
3787
|
-
const Wt = g.getColumnIndex(Po[L]), Ht = g.getColumnIndex(Po[M]), _o = te.splice(Wt, 1)[0];
|
|
3788
|
-
te.splice(Ht, 0, _o);
|
|
3789
|
-
const Xe = Ht - Wt > 0 ? 1 : -1, No = (Ht + 1) * 10, Mo = (Wt + 1) * 10, Ro = No + 1 * Xe;
|
|
3790
|
-
for (const Ee in i) {
|
|
3791
|
-
const Ae = i[Ee];
|
|
3792
|
-
(Xe > 0 && Ae < Ro && Ae > Mo || Xe < 0 && Ae > Ro && Ae < Mo) && (i[Ee] = Ae - 10 * Xe);
|
|
3793
|
-
}
|
|
3794
|
-
i[_o.field] = No, et.setItem(fn, { [n.gridId]: i }), g.loadColumn(te);
|
|
3795
|
-
}
|
|
3796
|
-
});
|
|
3797
|
-
};
|
|
3798
|
-
t({
|
|
3799
|
-
getTableData: ae,
|
|
3800
|
-
getSelectRecords: Fe,
|
|
3801
|
-
refreshData: X,
|
|
3802
|
-
refreshColumn: fe,
|
|
3803
|
-
getInstance: Ie,
|
|
3804
|
-
showLoading: ke,
|
|
3805
|
-
hiddenLoading: W,
|
|
3806
|
-
reloadGrid: () => {
|
|
3807
|
-
ie();
|
|
3808
|
-
}
|
|
3809
|
-
});
|
|
3810
|
-
const we = ({ code: g }) => {
|
|
3811
|
-
ht("buttonClick", g);
|
|
3812
|
-
}, Ut = (g) => {
|
|
3813
|
-
ht("cellClick", g);
|
|
3814
|
-
}, Io = (g) => {
|
|
3815
|
-
ht("cellDbclick", g);
|
|
3816
|
-
}, ft = (g) => {
|
|
3817
|
-
ht("editEctivated", g);
|
|
3818
|
-
}, jt = () => {
|
|
3819
|
-
window.onresize = () => (() => {
|
|
3820
|
-
let g = (n == null ? void 0 : n.height) || window.innerHeight - 90;
|
|
3821
|
-
n.mode !== "inline" && !(n != null && n.height) && (g = window.innerHeight - 180), C.height = g < 240 ? 240 : g;
|
|
3822
|
-
})();
|
|
3823
|
-
};
|
|
3824
|
-
let Fo;
|
|
3825
|
-
fr(() => {
|
|
3826
|
-
Fo = setTimeout(() => {
|
|
3827
|
-
se();
|
|
3828
|
-
}, 500);
|
|
3829
|
-
}), hr(() => {
|
|
3830
|
-
clearTimeout(Fo), me && me.destroy();
|
|
3831
|
-
}), mr(() => {
|
|
3832
|
-
ie(), jt();
|
|
3833
|
-
});
|
|
3834
|
-
const ht = o;
|
|
3835
|
-
return (g, k) => {
|
|
3836
|
-
const I = It("vxe-grid");
|
|
3837
|
-
return Sn(), pr("div", Va, [
|
|
3838
|
-
mo(I, gr({
|
|
3839
|
-
ref_key: "xgrid",
|
|
3840
|
-
ref: y
|
|
3841
|
-
}, C, { class: "ut-grid-wrapper" }, yr(vr(n).events || {}), {
|
|
3842
|
-
onToolbarButtonClick: we,
|
|
3843
|
-
onToolbarToolClick: we,
|
|
3844
|
-
onCellClick: Ut,
|
|
3845
|
-
onCellDblclick: Io,
|
|
3846
|
-
onEditActivated: ft,
|
|
3847
|
-
onFormReset: he
|
|
3848
|
-
}), null, 16)
|
|
3849
|
-
]);
|
|
3850
|
-
};
|
|
3851
|
-
}
|
|
3852
|
-
}), tr = Object.freeze(
|
|
3853
|
-
{
|
|
3854
|
-
left: 0,
|
|
3855
|
-
top: 0,
|
|
3856
|
-
width: 16,
|
|
3857
|
-
height: 16
|
|
3858
|
-
}
|
|
3859
|
-
), Rt = Object.freeze({
|
|
3860
|
-
rotate: 0,
|
|
3861
|
-
vFlip: !1,
|
|
3862
|
-
hFlip: !1
|
|
3863
|
-
}), xo = Object.freeze({
|
|
3864
|
-
...tr,
|
|
3865
|
-
...Rt
|
|
3866
|
-
}), fo = Object.freeze({
|
|
3867
|
-
...xo,
|
|
3868
|
-
body: "",
|
|
3869
|
-
hidden: !1
|
|
3870
|
-
});
|
|
3871
|
-
function Ga(e, t) {
|
|
3872
|
-
const o = {};
|
|
3873
|
-
!e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
|
|
3874
|
-
const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
3875
|
-
return n && (o.rotate = n), o;
|
|
3876
|
-
}
|
|
3877
|
-
function hn(e, t) {
|
|
3878
|
-
const o = Ga(e, t);
|
|
3879
|
-
for (const n in fo)
|
|
3880
|
-
n in Rt ? n in e && !(n in o) && (o[n] = Rt[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
|
|
3881
|
-
return o;
|
|
3882
|
-
}
|
|
3883
|
-
function Xa(e, t) {
|
|
3884
|
-
const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
3885
|
-
function i(a) {
|
|
3886
|
-
if (o[a])
|
|
3887
|
-
return r[a] = [];
|
|
3888
|
-
if (!(a in r)) {
|
|
3889
|
-
r[a] = null;
|
|
3890
|
-
const s = n[a] && n[a].parent, u = s && i(s);
|
|
3891
|
-
u && (r[a] = [s].concat(u));
|
|
3892
|
-
}
|
|
3893
|
-
return r[a];
|
|
3894
|
-
}
|
|
3895
|
-
return Object.keys(o).concat(Object.keys(n)).forEach(i), r;
|
|
3896
|
-
}
|
|
3897
|
-
function Ka(e, t, o) {
|
|
3898
|
-
const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
3899
|
-
let i = {};
|
|
3900
|
-
function a(s) {
|
|
3901
|
-
i = hn(
|
|
3902
|
-
n[s] || r[s],
|
|
3903
|
-
i
|
|
3904
|
-
);
|
|
3905
|
-
}
|
|
3906
|
-
return a(t), o.forEach(a), hn(e, i);
|
|
3907
|
-
}
|
|
3908
|
-
function Ja(e, t) {
|
|
3909
|
-
const o = [];
|
|
3910
|
-
if (typeof e != "object" || typeof e.icons != "object")
|
|
3911
|
-
return o;
|
|
3912
|
-
e.not_found instanceof Array && e.not_found.forEach((r) => {
|
|
3913
|
-
t(r, null), o.push(r);
|
|
3914
|
-
});
|
|
3915
|
-
const n = Xa(e);
|
|
3916
|
-
for (const r in n) {
|
|
3917
|
-
const i = n[r];
|
|
3918
|
-
i && (t(r, Ka(e, r, i)), o.push(r));
|
|
3919
|
-
}
|
|
3920
|
-
return o;
|
|
3921
|
-
}
|
|
3922
|
-
const Za = {
|
|
3923
|
-
provider: "",
|
|
3924
|
-
aliases: {},
|
|
3925
|
-
not_found: {},
|
|
3926
|
-
...tr
|
|
3927
|
-
};
|
|
3928
|
-
function oo(e, t) {
|
|
3929
|
-
for (const o in t)
|
|
3930
|
-
if (o in e && typeof e[o] != typeof t[o])
|
|
3931
|
-
return !1;
|
|
3932
|
-
return !0;
|
|
3933
|
-
}
|
|
3934
|
-
function Qa(e) {
|
|
3935
|
-
if (typeof e != "object" || e === null)
|
|
3936
|
-
return null;
|
|
3937
|
-
const t = e;
|
|
3938
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !oo(e, Za))
|
|
3939
|
-
return null;
|
|
3940
|
-
const o = t.icons;
|
|
3941
|
-
for (const r in o) {
|
|
3942
|
-
const i = o[r];
|
|
3943
|
-
if (
|
|
3944
|
-
// Name cannot be empty
|
|
3945
|
-
!r || // Must have body
|
|
3946
|
-
typeof i.body != "string" || // Check other props
|
|
3947
|
-
!oo(
|
|
3948
|
-
i,
|
|
3949
|
-
fo
|
|
3950
|
-
)
|
|
3951
|
-
)
|
|
3952
|
-
return null;
|
|
3953
|
-
}
|
|
3954
|
-
const n = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
3955
|
-
for (const r in n) {
|
|
3956
|
-
const i = n[r], a = i.parent;
|
|
3957
|
-
if (
|
|
3958
|
-
// Name cannot be empty
|
|
3959
|
-
!r || // Parent must be set and point to existing icon
|
|
3960
|
-
typeof a != "string" || !o[a] && !n[a] || // Check other props
|
|
3961
|
-
!oo(
|
|
3962
|
-
i,
|
|
3963
|
-
fo
|
|
3964
|
-
)
|
|
3965
|
-
)
|
|
3966
|
-
return null;
|
|
3967
|
-
}
|
|
3968
|
-
return t;
|
|
3969
|
-
}
|
|
3970
|
-
const or = Object.freeze({
|
|
3971
|
-
width: null,
|
|
3972
|
-
height: null
|
|
3973
|
-
}), nr = Object.freeze({
|
|
3974
|
-
// Dimensions
|
|
3975
|
-
...or,
|
|
3976
|
-
// Transformations
|
|
3977
|
-
...Rt
|
|
3978
|
-
});
|
|
3979
|
-
function es(e, t) {
|
|
3980
|
-
const o = {
|
|
3981
|
-
...e
|
|
3982
|
-
};
|
|
3983
|
-
for (const n in t) {
|
|
3984
|
-
const r = t[n], i = typeof r;
|
|
3985
|
-
n in or ? (r === null || r && (i === "string" || i === "number")) && (o[n] = r) : i === typeof o[n] && (o[n] = n === "rotate" ? r % 4 : r);
|
|
3986
|
-
}
|
|
3987
|
-
return o;
|
|
3988
|
-
}
|
|
3989
|
-
const ts = /[\s,]+/;
|
|
3990
|
-
function os(e, t) {
|
|
3991
|
-
t.split(ts).forEach((o) => {
|
|
3992
|
-
switch (o.trim()) {
|
|
3993
|
-
case "horizontal":
|
|
3994
|
-
e.hFlip = !0;
|
|
3995
|
-
break;
|
|
3996
|
-
case "vertical":
|
|
3997
|
-
e.vFlip = !0;
|
|
3998
|
-
break;
|
|
3999
|
-
}
|
|
4000
|
-
});
|
|
4001
|
-
}
|
|
4002
|
-
function ns(e, t = 0) {
|
|
4003
|
-
const o = e.replace(/^-?[0-9.]*/, "");
|
|
4004
|
-
function n(r) {
|
|
4005
|
-
for (; r < 0; )
|
|
4006
|
-
r += 4;
|
|
4007
|
-
return r % 4;
|
|
4008
|
-
}
|
|
4009
|
-
if (o === "") {
|
|
4010
|
-
const r = parseInt(e);
|
|
4011
|
-
return isNaN(r) ? 0 : n(r);
|
|
4012
|
-
} else if (o !== e) {
|
|
4013
|
-
let r = 0;
|
|
4014
|
-
switch (o) {
|
|
4015
|
-
case "%":
|
|
4016
|
-
r = 25;
|
|
4017
|
-
break;
|
|
4018
|
-
case "deg":
|
|
4019
|
-
r = 90;
|
|
4020
|
-
}
|
|
4021
|
-
if (r) {
|
|
4022
|
-
let i = parseFloat(e.slice(0, e.length - o.length));
|
|
4023
|
-
return isNaN(i) ? 0 : (i = i / r, i % 1 === 0 ? n(i) : 0);
|
|
4024
|
-
}
|
|
4025
|
-
}
|
|
4026
|
-
return t;
|
|
4027
|
-
}
|
|
4028
|
-
const rs = /(-?[0-9.]*[0-9]+[0-9.]*)/g, is = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
4029
|
-
function mn(e, t, o) {
|
|
4030
|
-
if (t === 1)
|
|
4031
|
-
return e;
|
|
4032
|
-
if (o = o || 100, typeof e == "number")
|
|
4033
|
-
return Math.ceil(e * t * o) / o;
|
|
4034
|
-
if (typeof e != "string")
|
|
4035
|
-
return e;
|
|
4036
|
-
const n = e.split(rs);
|
|
4037
|
-
if (n === null || !n.length)
|
|
4038
|
-
return e;
|
|
4039
|
-
const r = [];
|
|
4040
|
-
let i = n.shift(), a = is.test(i);
|
|
4041
|
-
for (; ; ) {
|
|
4042
|
-
if (a) {
|
|
4043
|
-
const s = parseFloat(i);
|
|
4044
|
-
isNaN(s) ? r.push(i) : r.push(Math.ceil(s * t * o) / o);
|
|
4045
|
-
} else
|
|
4046
|
-
r.push(i);
|
|
4047
|
-
if (i = n.shift(), i === void 0)
|
|
4048
|
-
return r.join("");
|
|
4049
|
-
a = !a;
|
|
4050
|
-
}
|
|
4051
|
-
}
|
|
4052
|
-
function as(e, t = "defs") {
|
|
4053
|
-
let o = "";
|
|
4054
|
-
const n = e.indexOf("<" + t);
|
|
4055
|
-
for (; n >= 0; ) {
|
|
4056
|
-
const r = e.indexOf(">", n), i = e.indexOf("</" + t);
|
|
4057
|
-
if (r === -1 || i === -1)
|
|
4058
|
-
break;
|
|
4059
|
-
const a = e.indexOf(">", i);
|
|
4060
|
-
if (a === -1)
|
|
4061
|
-
break;
|
|
4062
|
-
o += e.slice(r + 1, i).trim(), e = e.slice(0, n).trim() + e.slice(a + 1);
|
|
4063
|
-
}
|
|
4064
|
-
return {
|
|
4065
|
-
defs: o,
|
|
4066
|
-
content: e
|
|
4067
|
-
};
|
|
4068
|
-
}
|
|
4069
|
-
function ss(e, t) {
|
|
4070
|
-
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
4071
|
-
}
|
|
4072
|
-
function ls(e, t, o) {
|
|
4073
|
-
const n = as(e);
|
|
4074
|
-
return ss(n.defs, t + n.content + o);
|
|
4075
|
-
}
|
|
4076
|
-
const us = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
4077
|
-
function cs(e, t) {
|
|
4078
|
-
const o = {
|
|
4079
|
-
...xo,
|
|
4080
|
-
...e
|
|
4081
|
-
}, n = {
|
|
4082
|
-
...nr,
|
|
4083
|
-
...t
|
|
4084
|
-
}, r = {
|
|
4085
|
-
left: o.left,
|
|
4086
|
-
top: o.top,
|
|
4087
|
-
width: o.width,
|
|
4088
|
-
height: o.height
|
|
4089
|
-
};
|
|
4090
|
-
let i = o.body;
|
|
4091
|
-
[o, n].forEach((h) => {
|
|
4092
|
-
const m = [], x = h.hFlip, C = h.vFlip;
|
|
4093
|
-
let D = h.rotate;
|
|
4094
|
-
x ? C ? D += 2 : (m.push(
|
|
4095
|
-
"translate(" + (r.width + r.left).toString() + " " + (0 - r.top).toString() + ")"
|
|
4096
|
-
), m.push("scale(-1 1)"), r.top = r.left = 0) : C && (m.push(
|
|
4097
|
-
"translate(" + (0 - r.left).toString() + " " + (r.height + r.top).toString() + ")"
|
|
4098
|
-
), m.push("scale(1 -1)"), r.top = r.left = 0);
|
|
4099
|
-
let F;
|
|
4100
|
-
switch (D < 0 && (D -= Math.floor(D / 4) * 4), D = D % 4, D) {
|
|
4101
|
-
case 1:
|
|
4102
|
-
F = r.height / 2 + r.top, m.unshift(
|
|
4103
|
-
"rotate(90 " + F.toString() + " " + F.toString() + ")"
|
|
4104
|
-
);
|
|
4105
|
-
break;
|
|
4106
|
-
case 2:
|
|
4107
|
-
m.unshift(
|
|
4108
|
-
"rotate(180 " + (r.width / 2 + r.left).toString() + " " + (r.height / 2 + r.top).toString() + ")"
|
|
4109
|
-
);
|
|
4110
|
-
break;
|
|
4111
|
-
case 3:
|
|
4112
|
-
F = r.width / 2 + r.left, m.unshift(
|
|
4113
|
-
"rotate(-90 " + F.toString() + " " + F.toString() + ")"
|
|
4114
|
-
);
|
|
4115
|
-
break;
|
|
4116
|
-
}
|
|
4117
|
-
D % 2 === 1 && (r.left !== r.top && (F = r.left, r.left = r.top, r.top = F), r.width !== r.height && (F = r.width, r.width = r.height, r.height = F)), m.length && (i = ls(
|
|
4118
|
-
i,
|
|
4119
|
-
'<g transform="' + m.join(" ") + '">',
|
|
4120
|
-
"</g>"
|
|
4121
|
-
));
|
|
4122
|
-
});
|
|
4123
|
-
const a = n.width, s = n.height, u = r.width, l = r.height;
|
|
4124
|
-
let d, c;
|
|
4125
|
-
a === null ? (c = s === null ? "1em" : s === "auto" ? l : s, d = mn(c, u / l)) : (d = a === "auto" ? u : a, c = s === null ? mn(d, l / u) : s === "auto" ? l : s);
|
|
4126
|
-
const p = {}, y = (h, m) => {
|
|
4127
|
-
us(m) || (p[h] = m.toString());
|
|
4128
|
-
};
|
|
4129
|
-
y("width", d), y("height", c);
|
|
4130
|
-
const w = [r.left, r.top, u, l];
|
|
4131
|
-
return p.viewBox = w.join(" "), {
|
|
4132
|
-
attributes: p,
|
|
4133
|
-
viewBox: w,
|
|
4134
|
-
body: i
|
|
4135
|
-
};
|
|
4136
|
-
}
|
|
4137
|
-
const ds = /\sid="(\S+)"/g, fs = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
4138
|
-
let hs = 0;
|
|
4139
|
-
function ms(e, t = fs) {
|
|
4140
|
-
const o = [];
|
|
4141
|
-
let n;
|
|
4142
|
-
for (; n = ds.exec(e); )
|
|
4143
|
-
o.push(n[1]);
|
|
4144
|
-
if (!o.length)
|
|
4145
|
-
return e;
|
|
4146
|
-
const r = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
4147
|
-
return o.forEach((i) => {
|
|
4148
|
-
const a = typeof t == "function" ? t(i) : t + (hs++).toString(), s = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
4149
|
-
e = e.replace(
|
|
4150
|
-
// Allowed characters before id: [#;"]
|
|
4151
|
-
// Allowed characters after id: [)"], .[a-z]
|
|
4152
|
-
new RegExp('([#;"])(' + s + ')([")]|\\.[a-z])', "g"),
|
|
4153
|
-
"$1" + a + r + "$3"
|
|
4154
|
-
);
|
|
4155
|
-
}), e = e.replace(new RegExp(r, "g"), ""), e;
|
|
4156
|
-
}
|
|
4157
|
-
function ps(e, t) {
|
|
4158
|
-
let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
4159
|
-
for (const n in t)
|
|
4160
|
-
o += " " + n + '="' + t[n] + '"';
|
|
4161
|
-
return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
|
|
4162
|
-
}
|
|
4163
|
-
function gs(e) {
|
|
4164
|
-
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
4165
|
-
}
|
|
4166
|
-
function ys(e) {
|
|
4167
|
-
return "data:image/svg+xml," + gs(e);
|
|
4168
|
-
}
|
|
4169
|
-
function vs(e) {
|
|
4170
|
-
return 'url("' + ys(e) + '")';
|
|
4171
|
-
}
|
|
4172
|
-
const pn = {
|
|
4173
|
-
...nr,
|
|
4174
|
-
inline: !1
|
|
4175
|
-
}, bs = {
|
|
4176
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4177
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4178
|
-
"aria-hidden": !0,
|
|
4179
|
-
role: "img"
|
|
4180
|
-
}, ws = {
|
|
4181
|
-
display: "inline-block"
|
|
4182
|
-
}, ho = {
|
|
4183
|
-
backgroundColor: "currentColor"
|
|
4184
|
-
}, rr = {
|
|
4185
|
-
backgroundColor: "transparent"
|
|
4186
|
-
}, gn = {
|
|
4187
|
-
Image: "var(--svg)",
|
|
4188
|
-
Repeat: "no-repeat",
|
|
4189
|
-
Size: "100% 100%"
|
|
4190
|
-
}, yn = {
|
|
4191
|
-
webkitMask: ho,
|
|
4192
|
-
mask: ho,
|
|
4193
|
-
background: rr
|
|
4194
|
-
};
|
|
4195
|
-
for (const e in yn) {
|
|
4196
|
-
const t = yn[e];
|
|
4197
|
-
for (const o in gn)
|
|
4198
|
-
t[e + o] = gn[o];
|
|
4199
|
-
}
|
|
4200
|
-
const kt = {};
|
|
4201
|
-
["horizontal", "vertical"].forEach((e) => {
|
|
4202
|
-
const t = e.slice(0, 1) + "Flip";
|
|
4203
|
-
kt[e + "-flip"] = t, kt[e.slice(0, 1) + "-flip"] = t, kt[e + "Flip"] = t;
|
|
4204
|
-
});
|
|
4205
|
-
function vn(e) {
|
|
4206
|
-
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
4207
|
-
}
|
|
4208
|
-
const Es = (e, t) => {
|
|
4209
|
-
const o = es(pn, t), n = { ...bs }, r = t.mode || "svg", i = {}, a = t.style, s = typeof a == "object" && !(a instanceof Array) ? a : {};
|
|
4210
|
-
for (let h in t) {
|
|
4211
|
-
const m = t[h];
|
|
4212
|
-
if (m !== void 0)
|
|
4213
|
-
switch (h) {
|
|
4214
|
-
// Properties to ignore
|
|
4215
|
-
case "icon":
|
|
4216
|
-
case "style":
|
|
4217
|
-
case "onLoad":
|
|
4218
|
-
case "mode":
|
|
4219
|
-
case "ssr":
|
|
4220
|
-
break;
|
|
4221
|
-
// Boolean attributes
|
|
4222
|
-
case "inline":
|
|
4223
|
-
case "hFlip":
|
|
4224
|
-
case "vFlip":
|
|
4225
|
-
o[h] = m === !0 || m === "true" || m === 1;
|
|
4226
|
-
break;
|
|
4227
|
-
// Flip as string: 'horizontal,vertical'
|
|
4228
|
-
case "flip":
|
|
4229
|
-
typeof m == "string" && os(o, m);
|
|
4230
|
-
break;
|
|
4231
|
-
// Color: override style
|
|
4232
|
-
case "color":
|
|
4233
|
-
i.color = m;
|
|
4234
|
-
break;
|
|
4235
|
-
// Rotation as string
|
|
4236
|
-
case "rotate":
|
|
4237
|
-
typeof m == "string" ? o[h] = ns(m) : typeof m == "number" && (o[h] = m);
|
|
4238
|
-
break;
|
|
4239
|
-
// Remove aria-hidden
|
|
4240
|
-
case "ariaHidden":
|
|
4241
|
-
case "aria-hidden":
|
|
4242
|
-
m !== !0 && m !== "true" && delete n["aria-hidden"];
|
|
4243
|
-
break;
|
|
4244
|
-
default: {
|
|
4245
|
-
const x = kt[h];
|
|
4246
|
-
x ? (m === !0 || m === "true" || m === 1) && (o[x] = !0) : pn[h] === void 0 && (n[h] = m);
|
|
4247
|
-
}
|
|
4248
|
-
}
|
|
4249
|
-
}
|
|
4250
|
-
const u = cs(e, o), l = u.attributes;
|
|
4251
|
-
if (o.inline && (i.verticalAlign = "-0.125em"), r === "svg") {
|
|
4252
|
-
n.style = {
|
|
4253
|
-
...i,
|
|
4254
|
-
...s
|
|
4255
|
-
}, Object.assign(n, l);
|
|
4256
|
-
let h = 0, m = t.id;
|
|
4257
|
-
return typeof m == "string" && (m = m.replace(/-/g, "_")), n.innerHTML = ms(u.body, m ? () => m + "ID" + h++ : "iconifyVue"), De("svg", n);
|
|
4258
|
-
}
|
|
4259
|
-
const { body: d, width: c, height: p } = e, y = r === "mask" || (r === "bg" ? !1 : d.indexOf("currentColor") !== -1), w = ps(d, {
|
|
4260
|
-
...l,
|
|
4261
|
-
width: c + "",
|
|
4262
|
-
height: p + ""
|
|
4263
|
-
});
|
|
4264
|
-
return n.style = {
|
|
4265
|
-
...i,
|
|
4266
|
-
"--svg": vs(w),
|
|
4267
|
-
width: vn(l.width),
|
|
4268
|
-
height: vn(l.height),
|
|
4269
|
-
...ws,
|
|
4270
|
-
...y ? ho : rr,
|
|
4271
|
-
...s
|
|
4272
|
-
}, De("span", n);
|
|
4273
|
-
}, ko = /* @__PURE__ */ Object.create(null);
|
|
4274
|
-
function Cs(e, t) {
|
|
4275
|
-
ko[e] = t;
|
|
4276
|
-
}
|
|
4277
|
-
function ul(e, t) {
|
|
4278
|
-
const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
4279
|
-
Qa(e) && Ja(e, (n, r) => {
|
|
4280
|
-
r && (ko[o + n] = r);
|
|
4281
|
-
});
|
|
4282
|
-
}
|
|
4283
|
-
const bn = Re({
|
|
4284
|
-
// Do not inherit other attributes: it is handled by render()
|
|
4285
|
-
inheritAttrs: !1,
|
|
4286
|
-
// Render icon
|
|
4287
|
-
render() {
|
|
4288
|
-
const e = this.$attrs, t = e.icon, o = typeof t == "string" ? ko[t] : typeof t == "object" ? t : null;
|
|
4289
|
-
return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : Es({
|
|
4290
|
-
...xo,
|
|
4291
|
-
...o
|
|
4292
|
-
}, e);
|
|
4293
|
-
}
|
|
4294
|
-
}), Ss = Re({
|
|
4295
|
-
name: "IconOffline",
|
|
4296
|
-
components: { IconifyIcon: bn },
|
|
4297
|
-
props: {
|
|
4298
|
-
icon: {
|
|
4299
|
-
default: null
|
|
4300
|
-
}
|
|
4301
|
-
},
|
|
4302
|
-
render() {
|
|
4303
|
-
typeof this.icon == "object" && Cs(this.icon, this.icon);
|
|
4304
|
-
const e = this.$attrs;
|
|
4305
|
-
return De(
|
|
4306
|
-
bn,
|
|
4307
|
-
{
|
|
4308
|
-
icon: this.icon,
|
|
4309
|
-
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
4310
|
-
...e
|
|
4311
|
-
},
|
|
4312
|
-
{
|
|
4313
|
-
default: () => []
|
|
4314
|
-
}
|
|
4315
|
-
);
|
|
4316
|
-
}
|
|
4317
|
-
});
|
|
4318
|
-
Re({
|
|
4319
|
-
name: "IconifyIconOnline",
|
|
4320
|
-
components: { IconifyIcon: qo },
|
|
4321
|
-
props: {
|
|
4322
|
-
icon: {
|
|
4323
|
-
type: String,
|
|
4324
|
-
default: ""
|
|
4325
|
-
}
|
|
4326
|
-
},
|
|
4327
|
-
render() {
|
|
4328
|
-
const e = this.$attrs;
|
|
4329
|
-
return De(
|
|
4330
|
-
qo,
|
|
4331
|
-
{
|
|
4332
|
-
icon: `${this.icon}`,
|
|
4333
|
-
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
4334
|
-
...e
|
|
4335
|
-
},
|
|
4336
|
-
{
|
|
4337
|
-
default: () => []
|
|
4338
|
-
}
|
|
4339
|
-
);
|
|
4340
|
-
}
|
|
4341
|
-
});
|
|
4342
|
-
const Ts = Re({
|
|
4343
|
-
name: "FontIcon",
|
|
4344
|
-
props: {
|
|
4345
|
-
icon: {
|
|
4346
|
-
type: String,
|
|
4347
|
-
default: ""
|
|
4348
|
-
}
|
|
4349
|
-
},
|
|
4350
|
-
render() {
|
|
4351
|
-
const e = this.$attrs;
|
|
4352
|
-
return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? De(
|
|
4353
|
-
"i",
|
|
4354
|
-
{
|
|
4355
|
-
class: "iconfont",
|
|
4356
|
-
...e
|
|
4357
|
-
},
|
|
4358
|
-
this.icon
|
|
4359
|
-
) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? De(
|
|
4360
|
-
"svg",
|
|
4361
|
-
{
|
|
4362
|
-
class: "icon-svg",
|
|
4363
|
-
"aria-hidden": !0
|
|
4364
|
-
},
|
|
4365
|
-
{
|
|
4366
|
-
default: () => [
|
|
4367
|
-
De("use", {
|
|
4368
|
-
"xlink:href": `#${this.icon}`
|
|
4369
|
-
})
|
|
4370
|
-
]
|
|
4371
|
-
}
|
|
4372
|
-
) : De("i", {
|
|
4373
|
-
class: `iconfont ${this.icon}`,
|
|
4374
|
-
...e
|
|
4375
|
-
});
|
|
4376
|
-
}
|
|
4377
|
-
}), Ds = Ss, xs = Ts, ks = {
|
|
4378
|
-
mounted(e, t) {
|
|
4379
|
-
var n;
|
|
4380
|
-
const { value: o } = t;
|
|
4381
|
-
if (o) {
|
|
4382
|
-
const i = `${(n = z.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
|
|
4383
|
-
Y().getButtonAuth.includes(i) || e.parentNode.removeChild(e);
|
|
4384
|
-
} else
|
|
4385
|
-
throw new Error(`need roles! Like v-auth="['admin','test']"`);
|
|
4386
|
-
}
|
|
4387
|
-
};
|
|
4388
|
-
function Is(e) {
|
|
4389
|
-
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
|
|
4390
|
-
var n = e.get(t);
|
|
4391
|
-
n ? n.push(o) : e.set(t, [o]);
|
|
4392
|
-
}, off: function(t, o) {
|
|
4393
|
-
var n = e.get(t);
|
|
4394
|
-
n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : e.set(t, []));
|
|
4395
|
-
}, emit: function(t, o) {
|
|
4396
|
-
var n = e.get(t);
|
|
4397
|
-
n && n.slice().map(function(r) {
|
|
4398
|
-
r(o);
|
|
4399
|
-
}), (n = e.get("*")) && n.slice().map(function(r) {
|
|
4400
|
-
r(t, o);
|
|
4401
|
-
});
|
|
4402
|
-
} };
|
|
4403
|
-
}
|
|
4404
|
-
const Fs = Is(), wn = zr({
|
|
4405
|
-
strategy: "scroll"
|
|
4406
|
-
}), Ps = {
|
|
4407
|
-
mounted(e, t, o) {
|
|
4408
|
-
wn.listenTo(e, (n) => {
|
|
4409
|
-
const r = n.offsetWidth, i = n.offsetHeight;
|
|
4410
|
-
t != null && t.instance ? Fs.emit("resize", { detail: { width: r, height: i } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: r, height: i } }));
|
|
4411
|
-
});
|
|
4412
|
-
},
|
|
4413
|
-
unmounted(e) {
|
|
4414
|
-
wn.uninstall(e);
|
|
4415
|
-
}
|
|
4416
|
-
}, En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4417
|
-
__proto__: null,
|
|
4418
|
-
auth: ks,
|
|
4419
|
-
resize: Ps
|
|
4420
|
-
}, Symbol.toStringTag, { value: "Module" })), Z = br(ti);
|
|
4421
|
-
Z.use(Br, {
|
|
4422
|
-
defaultProps: { animation: "perspective" }
|
|
4423
|
-
});
|
|
4424
|
-
const Os = (e) => {
|
|
4425
|
-
e.config.globalProperties.$hasAuthority = na, e.config.globalProperties.$serviceApi = At(), e.config.globalProperties.$url = ge(), window.$i18n = On;
|
|
4426
|
-
}, _s = (e) => {
|
|
4427
|
-
Object.keys(En).forEach((t) => {
|
|
4428
|
-
e.directive(t, En[t]);
|
|
4429
|
-
});
|
|
4430
|
-
}, cl = ({ router: e, config: t, lang: o, views: n, env: r, tableConfig: i }) => (qi(n, e), Z.use(e), Xr(e), Yr(Z, t), Gr(r), Vi(i), new Promise((a) => {
|
|
4431
|
-
yi(Z, o), Z.component("IconifyIconOffline", Ds), Z.component("FontIcon", xs), Z.component("UtGrid2", Ya), Os(Z), Kr(ge()), _s(Z), oi(Z), oa(Z, t), a({ app: Z, router: e });
|
|
4432
|
-
}));
|
|
4433
|
-
function Ns() {
|
|
4434
|
-
const { $storage: e, $config: t } = Dn(), o = () => {
|
|
4435
|
-
Ln().multiTagsCache && (!e.tags || e.tags.length === 0) && (e.tags = lt), e != null && e.locale || (po().locale.value = (t == null ? void 0 : t.Locale) ?? "zh"), e && !(e != null && e.layout) && (e.layout = {
|
|
4436
|
-
layout: (t == null ? void 0 : t.Layout) ?? "vertical",
|
|
4437
|
-
theme: (t == null ? void 0 : t.Theme) ?? "default",
|
|
4438
|
-
darkMode: (t == null ? void 0 : t.DarkMode) ?? !1,
|
|
4439
|
-
sidebarStatus: (t == null ? void 0 : t.SidebarStatus) ?? !0,
|
|
4440
|
-
epThemeColor: (t == null ? void 0 : t.EpThemeColor) ?? "#409EFF",
|
|
4441
|
-
overallStyle: (t == null ? void 0 : t.OverallStyle) ?? "light"
|
|
4442
|
-
}), e && !(e != null && e.configure) && (e.configure = {
|
|
4443
|
-
grey: (t == null ? void 0 : t.Grey) ?? !1,
|
|
4444
|
-
weak: (t == null ? void 0 : t.Weak) ?? !1,
|
|
4445
|
-
hideTabs: (t == null ? void 0 : t.HideTabs) ?? !1,
|
|
4446
|
-
showLogo: (t == null ? void 0 : t.ShowLogo) ?? !0,
|
|
4447
|
-
showModel: (t == null ? void 0 : t.ShowModel) ?? "smart",
|
|
4448
|
-
multiTagsCache: (t == null ? void 0 : t.MultiTagsCache) ?? !1
|
|
4449
|
-
});
|
|
4450
|
-
}, n = Lo(() => e == null ? void 0 : e.layout.layout), r = Lo(() => e == null ? void 0 : e.layout);
|
|
4451
|
-
return {
|
|
4452
|
-
layout: n,
|
|
4453
|
-
layoutTheme: r,
|
|
4454
|
-
initStorage: o
|
|
4455
|
-
};
|
|
4456
|
-
}
|
|
4457
|
-
const Ms = st("udp-app", {
|
|
4458
|
-
state: () => {
|
|
4459
|
-
var e, t;
|
|
4460
|
-
return {
|
|
4461
|
-
sidebar: {
|
|
4462
|
-
opened: ((e = _.getItem(`${$()}layout`)) == null ? void 0 : e.sidebarStatus) ?? ue().SidebarStatus,
|
|
4463
|
-
withoutAnimation: !1,
|
|
4464
|
-
isClickCollapse: !1
|
|
4465
|
-
},
|
|
4466
|
-
// 这里的layout用于监听容器拖拉后恢复对应的菜单布局
|
|
4467
|
-
layout: ((t = _.getItem(`${$()}layout`)) == null ? void 0 : t.layout) ?? ue().Layout,
|
|
4468
|
-
device: Ir() ? "mobile" : "desktop"
|
|
4469
|
-
};
|
|
4470
|
-
},
|
|
4471
|
-
getters: {
|
|
4472
|
-
getSidebarStatus() {
|
|
4473
|
-
return this.sidebar.opened;
|
|
4474
|
-
},
|
|
4475
|
-
getDevice() {
|
|
4476
|
-
return this.device;
|
|
4477
|
-
}
|
|
4478
|
-
},
|
|
4479
|
-
actions: {
|
|
4480
|
-
TOGGLE_SIDEBAR(e, t) {
|
|
4481
|
-
const o = _.getItem(`${$()}layout`);
|
|
4482
|
-
o && (e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !0, o.sidebarStatus = !0) : !e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !1, o.sidebarStatus = !1) : !e && !t && (this.sidebar.withoutAnimation = !1, this.sidebar.opened = !this.sidebar.opened, this.sidebar.isClickCollapse = !this.sidebar.opened, o.sidebarStatus = this.sidebar.opened), _.setItem(`${$()}layout`, o));
|
|
4483
|
-
},
|
|
4484
|
-
async toggleSideBar(e, t) {
|
|
4485
|
-
await this.TOGGLE_SIDEBAR(e, t);
|
|
4486
|
-
},
|
|
4487
|
-
toggleDevice(e) {
|
|
4488
|
-
this.device = e;
|
|
4489
|
-
},
|
|
4490
|
-
setLayout(e) {
|
|
4491
|
-
this.layout = e;
|
|
4492
|
-
}
|
|
4493
|
-
}
|
|
4494
|
-
});
|
|
4495
|
-
function Rs() {
|
|
4496
|
-
return Ms(Ye);
|
|
4497
|
-
}
|
|
4498
|
-
const As = st("udp-epTheme", {
|
|
4499
|
-
state: () => {
|
|
4500
|
-
var e, t;
|
|
4501
|
-
return {
|
|
4502
|
-
epThemeColor: ((e = _.getItem(`${$()}-layout`)) == null ? void 0 : e.epThemeColor) ?? ue().EpThemeColor,
|
|
4503
|
-
epTheme: ((t = _.getItem(`${$()}-layout`)) == null ? void 0 : t.theme) ?? ue().Theme
|
|
4504
|
-
};
|
|
4505
|
-
},
|
|
4506
|
-
getters: {
|
|
4507
|
-
getEpThemeColor() {
|
|
4508
|
-
return this.epThemeColor;
|
|
4509
|
-
},
|
|
4510
|
-
// 用于mix菜单布局下hamburger-svg的fill属性
|
|
4511
|
-
fill() {
|
|
4512
|
-
return this.epTheme === "light" ? "#409eff" : this.epTheme === "yellow" ? "#d25f00" : "#fff";
|
|
4513
|
-
}
|
|
4514
|
-
},
|
|
4515
|
-
actions: {
|
|
4516
|
-
setEpThemeColor(e) {
|
|
4517
|
-
const t = _.getItem(`${$()}layout`);
|
|
4518
|
-
this.epTheme = t == null ? void 0 : t.theme, this.epThemeColor = e, t && (t.epThemeColor = e, _.setItem(`${$()}layout`, t));
|
|
4519
|
-
}
|
|
4520
|
-
}
|
|
4521
|
-
});
|
|
4522
|
-
function no() {
|
|
4523
|
-
return As(Ye);
|
|
4524
|
-
}
|
|
4525
|
-
function dl() {
|
|
4526
|
-
var y, w;
|
|
4527
|
-
const { layoutTheme: e, layout: t } = Ns(), o = Qe([
|
|
4528
|
-
/* 道奇蓝(默认) */
|
|
4529
|
-
{ color: "#1b2a47", themeColor: "default" },
|
|
4530
|
-
/* 亮白色 */
|
|
4531
|
-
{ color: "#ffffff", themeColor: "light" },
|
|
4532
|
-
/* 猩红色 */
|
|
4533
|
-
{ color: "#f5222d", themeColor: "dusk" },
|
|
4534
|
-
/* 橙红色 */
|
|
4535
|
-
{ color: "#fa541c", themeColor: "volcano" },
|
|
4536
|
-
/* 金色 */
|
|
4537
|
-
{ color: "#fadb14", themeColor: "yellow" },
|
|
4538
|
-
/* 绿宝石 */
|
|
4539
|
-
{ color: "#13c2c2", themeColor: "mingQing" },
|
|
4540
|
-
/* 酸橙绿 */
|
|
4541
|
-
{ color: "#52c41a", themeColor: "auroraGreen" },
|
|
4542
|
-
/* 深粉色 */
|
|
4543
|
-
{ color: "#eb2f96", themeColor: "pink" },
|
|
4544
|
-
/* 深紫罗兰色 */
|
|
4545
|
-
{ color: "#722ed1", themeColor: "saucePurple" }
|
|
4546
|
-
]), { $storage: n } = Dn(), r = Qe((y = n == null ? void 0 : n.layout) == null ? void 0 : y.darkMode), i = Qe((w = n == null ? void 0 : n.layout) == null ? void 0 : w.overallStyle), a = document.documentElement;
|
|
4547
|
-
function s(h, m, x) {
|
|
4548
|
-
const C = x || document.body;
|
|
4549
|
-
let { className: D } = C;
|
|
4550
|
-
D = D.replace(m, "").trim(), C.className = h ? `${D} ${m}` : D;
|
|
4551
|
-
}
|
|
4552
|
-
function u(h = ue().Theme ?? "default") {
|
|
4553
|
-
var m, x;
|
|
4554
|
-
if (e.value.theme = h, document.documentElement.setAttribute("data-theme", h), document.documentElement.className = "", document.documentElement.classList.add(`layout-theme-${h}`), n.layout = {
|
|
4555
|
-
layout: t.value,
|
|
4556
|
-
theme: h,
|
|
4557
|
-
darkMode: r.value,
|
|
4558
|
-
sidebarStatus: (m = n.layout) == null ? void 0 : m.sidebarStatus,
|
|
4559
|
-
epThemeColor: (x = n.layout) == null ? void 0 : x.epThemeColor,
|
|
4560
|
-
overallStyle: i.value
|
|
4561
|
-
}, h === "default" || h === "light")
|
|
4562
|
-
d(ue().EpThemeColor || "#409EFF");
|
|
4563
|
-
else {
|
|
4564
|
-
const C = o.value.find((D) => D.themeColor === h);
|
|
4565
|
-
d(C.color);
|
|
4566
|
-
}
|
|
4567
|
-
}
|
|
4568
|
-
function l(h, m, x) {
|
|
4569
|
-
document.documentElement.style.setProperty(
|
|
4570
|
-
`--el-color-primary-${h}-${m}`,
|
|
4571
|
-
r.value ? ri(x, m / 10) : ii(x, m / 10)
|
|
4572
|
-
);
|
|
4573
|
-
}
|
|
4574
|
-
const d = (h) => {
|
|
4575
|
-
no().setEpThemeColor(h), document.documentElement.style.setProperty("--el-color-primary", h);
|
|
4576
|
-
for (let m = 1; m <= 2; m++)
|
|
4577
|
-
l("dark", m, h);
|
|
4578
|
-
for (let m = 1; m <= 9; m++)
|
|
4579
|
-
l("light", m, h);
|
|
4580
|
-
};
|
|
4581
|
-
function c(h) {
|
|
4582
|
-
i.value = h, no().epTheme === "light" && r.value ? u("default") : u(no().epTheme), Yi(r.value ? "dark" : "light"), r.value ? (document.documentElement.classList.add("dark"), document.documentElement.classList.remove("default")) : (document.documentElement.classList.add("default"), document.documentElement.classList.remove("dark"));
|
|
4583
|
-
}
|
|
4584
|
-
function p() {
|
|
4585
|
-
Me.remove(Hr), Me.remove(Wr), Me.remove(kn), _.clear(), Fr.clear();
|
|
4586
|
-
const { Grey: h, Weak: m, MultiTagsCache: x, EpThemeColor: C, Layout: D } = ue();
|
|
4587
|
-
Rs().setLayout(D), d(C), re().multiTagsCacheChange(x), s(h, "html-grey", document.querySelector("html")), s(m, "html-weakness", document.querySelector("html")), z.push("/login"), re().handleTags("equal", [...lt]), ji();
|
|
4588
|
-
}
|
|
4589
|
-
return {
|
|
4590
|
-
body: a,
|
|
4591
|
-
overallStyle: i,
|
|
4592
|
-
dataTheme: r,
|
|
4593
|
-
layoutTheme: e,
|
|
4594
|
-
themeColors: o,
|
|
4595
|
-
onReset: p,
|
|
4596
|
-
toggleClass: s,
|
|
4597
|
-
dataThemeChange: c,
|
|
4598
|
-
setEpThemeColor: d,
|
|
4599
|
-
setLayoutThemeColor: u
|
|
4600
|
-
};
|
|
4601
|
-
}
|
|
4602
|
-
export {
|
|
4603
|
-
nl as A,
|
|
4604
|
-
ki as B,
|
|
4605
|
-
dl as C,
|
|
4606
|
-
Ns as D,
|
|
4607
|
-
na as E,
|
|
4608
|
-
xs as F,
|
|
4609
|
-
ge as G,
|
|
4610
|
-
ol as H,
|
|
4611
|
-
Ds as I,
|
|
4612
|
-
Ei as J,
|
|
4613
|
-
Ks as K,
|
|
4614
|
-
Xs as L,
|
|
4615
|
-
Js as M,
|
|
4616
|
-
Zs as N,
|
|
4617
|
-
cl as O,
|
|
4618
|
-
Lt as P,
|
|
4619
|
-
ll as Q,
|
|
4620
|
-
al as R,
|
|
4621
|
-
il as S,
|
|
4622
|
-
rl as T,
|
|
4623
|
-
Qr as _,
|
|
4624
|
-
ul as a,
|
|
4625
|
-
Cs as b,
|
|
4626
|
-
re as c,
|
|
4627
|
-
tl as d,
|
|
4628
|
-
Rs as e,
|
|
4629
|
-
Nn as f,
|
|
4630
|
-
ue as g,
|
|
4631
|
-
Y as h,
|
|
4632
|
-
Et as i,
|
|
4633
|
-
Fs as j,
|
|
4634
|
-
Vr as k,
|
|
4635
|
-
$o as l,
|
|
4636
|
-
lt as m,
|
|
4637
|
-
Hr as n,
|
|
4638
|
-
Wr as o,
|
|
4639
|
-
kn as p,
|
|
4640
|
-
ji as q,
|
|
4641
|
-
z as r,
|
|
4642
|
-
Ye as s,
|
|
4643
|
-
On as t,
|
|
4644
|
-
no as u,
|
|
4645
|
-
sl as v,
|
|
4646
|
-
Qs as w,
|
|
4647
|
-
el as x,
|
|
4648
|
-
At as y,
|
|
4649
|
-
$ as z
|
|
4650
|
-
};
|