@utogether/udp-core 2.0.0-beta.25 → 2.0.0-beta.27
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-gdcH0-Bo.js +65 -0
- package/dist/404-Se2SF97M.js +65 -0
- package/dist/500-B6j9AqLo.js +67 -0
- package/dist/AuthorityInfo-CQ8ydZvr.js +4 -0
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-C4NRvS8p.js +100 -0
- package/dist/AuthorityPanel-lVnZ5bce.js +4 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-nsfhDlvV.js +113 -0
- package/dist/Company-BzSVBSC4.js +25 -0
- package/dist/CompanyPanel-DBjZB4aJ.js +204 -0
- package/dist/DataSet-iBHzs75s.js +147 -0
- package/dist/Department-BkgseHo8.js +25 -0
- package/dist/DepartmentPanel-Sen93_2M.js +249 -0
- package/dist/DesignPanel-pqDcwaFC.js +4 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BjtYyEw7.js +1013 -0
- package/dist/DictView-CJLG4LlE.js +110 -0
- package/dist/InvOrganization-D0Jq1IAa.js +74 -0
- package/dist/Org-CO_1WT39.js +39 -0
- package/dist/Preview-DLI4Bwel.js +48 -0
- package/dist/ReportDefine-Cw46OnJ_.js +10 -0
- package/dist/ReportDesign-D4sHTXT7.js +165 -0
- package/dist/ReportQuery-DtOCvQSN.js +74 -0
- package/dist/ReportQueryFrom-QjL-ETPq.js +4 -0
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-Dj9ne87n.js +177 -0
- package/dist/ReportTemplate-BxAgc_Aj.js +161 -0
- package/dist/Role-Df77BBD-.js +25 -0
- package/dist/RoleAssign-BrunouML.js +26 -0
- package/dist/RolePanel-DSVwqhiD.js +4 -0
- package/dist/RolePanel-HLA7XBlN.js +4 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CKlbqRa5.js +132 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CN0rUxKz.js +152 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-D_FeSXKv.js +99 -0
- package/dist/Staff-BeL1xcRf.js +26 -0
- package/dist/StaffInfo-CIfnltyX.js +4 -0
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-DbLFwWfG.js +107 -0
- package/dist/StaffPanel-BV2CHWac.js +4 -0
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-CvT-Vp2G.js +153 -0
- package/dist/SysUser-DPfNvthk.js +15 -0
- package/dist/SysUserPanel-CoLKYlQE.js +4 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-lcO3Cjbq.js +353 -0
- package/dist/SystemMenu-sdj1dRDA.js +156 -0
- package/dist/UserInfo-CTX4hhFl.js +4 -0
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-ClhCd_8z.js +160 -0
- package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
- package/dist/childView-BDmWwJO5.js +4 -0
- package/dist/childView-Dx3ACtHa.js +4 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-CfKq_0FN.js +183 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-DxZNtkhd.js +143 -0
- package/dist/code-rule-cvN4gYC_.js +148 -0
- package/dist/core.es.js +24 -6
- package/dist/cron-task-B0TkxFdp.js +135 -0
- package/dist/flow-task-PoDnE_kE.js +10 -0
- package/dist/frameView-5cy5BSgS.js +43 -0
- package/dist/img/minicolors.png +0 -0
- package/dist/index-C5WRTwvI.js +3006 -0
- package/dist/layout-home-DrARg-3o.js +232 -0
- package/dist/layoutView-25v_ngk5.js +3191 -0
- package/dist/log-in-Bmz5Uhbt.js +116 -0
- package/dist/log-out-B-8m3oNj.js +130 -0
- package/dist/login-Cmp2RvvW.js +217 -0
- package/dist/login-log-CVvRgZSu.js +70 -0
- package/dist/lov-view-BATtzw2X.js +99 -0
- package/dist/menuInfo-BIvrE7nm.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-B6USomit.js +360 -0
- package/dist/pda-app-CzHVyeEa.js +707 -0
- package/dist/redirect-DTz8GSnv.js +15 -0
- package/dist/resource-Y5lGB38n.js +97 -0
- package/dist/su-welcome-CXA6OzBw.js +878 -0
- package/dist/sys-config-CqO03LeC.js +385 -0
- package/dist/udp-core.css +1 -2
- package/dist/useNav-C-rCgubt.js +84 -0
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/dist/wecom-push-B75FLee5.js +70 -0
- package/index.ts +3 -2
- package/package.json +1 -1
- package/src/App.vue +79 -73
- package/src/api/index.ts +1 -1
- package/src/components/SuQrcode/src/index.tsx +231 -236
- package/src/components/udp/grid/index.vue +9 -11
- package/src/components/udp/utils.ts +420 -414
- package/src/layout/components/lay-panel/index.vue +2 -6
- package/src/layout/components/lay-search/components/SearchModal.vue +7 -3
- package/src/main.ts +111 -110
- package/src/router/index.ts +156 -187
- package/src/router/utils.ts +2 -3
- package/src/store/modules/system.ts +7 -0
- package/src/style/vxetable.scss +372 -364
- package/src/utils/authority/index.ts +46 -29
- package/src/utils/udp/http/index.ts +115 -64
- package/src/utils/udp/http/types.d.ts +15 -14
- package/src/views/login/login-view.vue +280 -301
- package/src/views/organization/department/DepartmentPanel.vue +3 -4
- package/src/views/system/sys/sys-config.vue +344 -344
- package/src/views/uhome/components/home-todo.vue +179 -178
- package/src/views/ulogin/login.vue +8 -41
- package/tsconfig.json +2 -3
- package/types/global.d.ts +234 -234
- package/vite.config.ts +2 -1
- package/dist/403-QwBKrRZE.js +0 -72
- package/dist/404-Cr7MbzNV.js +0 -72
- package/dist/500-B7kCOeIA.js +0 -77
- package/dist/AuthorityInfo-Dwml2K4S.js +0 -91
- package/dist/AuthorityPanel-DzPhsPpa.js +0 -98
- package/dist/Company-BhOlvl7Q.js +0 -21
- package/dist/CompanyPanel-ByhY5-Sq.js +0 -199
- package/dist/DataSet-CuGZcKC-.js +0 -141
- package/dist/Department-QvngN63N.js +0 -21
- package/dist/DepartmentPanel-BCXqC39J.js +0 -2
- package/dist/DepartmentPanel-DntGycxr.js +0 -242
- package/dist/DesignPanel-BMN4DZ0R.js +0 -1196
- package/dist/DictView-ERFqZ5VD.js +0 -100
- package/dist/File-WJXjGYxr.js +0 -89
- package/dist/InvOrganization-BwMmD8Ua.js +0 -76
- package/dist/Org-HgnOWubi.js +0 -76
- package/dist/Preview-CVZdnHB1.js +0 -45
- package/dist/ReIcon-DecitXmg.js +0 -413
- package/dist/ReportDefine-BgLM-Rjk.js +0 -10
- package/dist/ReportDesign-CjfTyyy_.js +0 -158
- package/dist/ReportQuery-CP-E0Puv.js +0 -101
- package/dist/ReportQueryFrom-D7SPPAps.js +0 -198
- package/dist/ReportTemplate-DE25zc1f.js +0 -162
- package/dist/Role-K7v_ZhFE.js +0 -21
- package/dist/RoleAssign-C16fjLaX.js +0 -22
- package/dist/RolePanel-CV-xPlYJ.js +0 -176
- package/dist/RolePanel-DPCe9k8f.js +0 -131
- package/dist/ScrollPanel-DW30pGz1.js +0 -88
- package/dist/Staff-w2ly4qd0.js +0 -22
- package/dist/StaffInfo-DPDRpz6F.js +0 -149
- package/dist/StaffPanel-DI1eTTp9.js +0 -143
- package/dist/SysUser-BMTX1cJM.js +0 -12
- package/dist/SysUserPanel-xwZdVjdp.js +0 -365
- package/dist/SystemMenu-TXhiQZVm.js +0 -154
- package/dist/UserInfo-JQqw8FMT.js +0 -194
- package/dist/_plugin-vue_export-helper-C6QCLu9I.js +0 -8
- package/dist/api-BFNxcxSN.js +0 -30
- package/dist/authority-Bi6BGB5B.js +0 -20
- package/dist/await-to-js.es5-DkWYmPXW.js +0 -10
- package/dist/childView-Bk8OD9bV.js +0 -181
- package/dist/childView-CyrcwshT.js +0 -184
- package/dist/code-rule-QFrhqFrW.js +0 -151
- package/dist/contant-Q77dU_V3.js +0 -4
- package/dist/cron-task-BpUDKEAU.js +0 -131
- package/dist/flow-task-DAc2NrDU.js +0 -11
- package/dist/frameView-Di0zJZUR.js +0 -39
- package/dist/layout-home-BVp7vYLR.js +0 -239
- package/dist/layoutView-DFUjrqAS.js +0 -2662
- package/dist/log-in-BrNB0mLz.js +0 -117
- package/dist/log-out-dYfqvzy6.js +0 -111
- package/dist/login-BdCDnuXL.js +0 -233
- package/dist/login-log-CJak-ANA.js +0 -79
- package/dist/lov-view-DkmG4K57.js +0 -95
- package/dist/menuInfo-kp2wNYOp.js +0 -346
- package/dist/mitt-CQgI7DYU.js +0 -27
- package/dist/pda-app-CA7YI37u.js +0 -589
- package/dist/redirect-N0k4tImU.js +0 -16
- package/dist/resource-CfQTHFcs.js +0 -94
- package/dist/router-CeluSGiD.js +0 -1531
- package/dist/su-welcome-JeiovGpe.js +0 -799
- package/dist/sys-config-Ddb3vBpK.js +0 -316
- package/dist/udp-core-Dhm-BlAs.js +0 -2032
- package/dist/useDataThemeChange-BCy8JBG7.js +0 -226
- package/dist/useNav-DY8FkltH.js +0 -106
- package/dist/utogether-l7JXs4Lv.js +0 -4
- package/dist/water-mark-WDQZ9YqB.js +0 -119
- package/dist/wecom-push-kWkAVRCj.js +0 -77
package/dist/ReIcon-DecitXmg.js
DELETED
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, h as t } from "vue";
|
|
2
|
-
import { Icon as n } from "@iconify/vue";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@iconify+vue@4.2.0_vue@3.5.31_typescript@6.0.2_/node_modules/@iconify/vue/dist/offline.mjs
|
|
4
|
-
var r = Object.freeze({
|
|
5
|
-
left: 0,
|
|
6
|
-
top: 0,
|
|
7
|
-
width: 16,
|
|
8
|
-
height: 16
|
|
9
|
-
}), i = Object.freeze({
|
|
10
|
-
rotate: 0,
|
|
11
|
-
vFlip: !1,
|
|
12
|
-
hFlip: !1
|
|
13
|
-
}), a = Object.freeze({
|
|
14
|
-
...r,
|
|
15
|
-
...i
|
|
16
|
-
}), o = Object.freeze({
|
|
17
|
-
...a,
|
|
18
|
-
body: "",
|
|
19
|
-
hidden: !1
|
|
20
|
-
});
|
|
21
|
-
function s(e, t) {
|
|
22
|
-
let n = {};
|
|
23
|
-
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
24
|
-
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
25
|
-
return r && (n.rotate = r), n;
|
|
26
|
-
}
|
|
27
|
-
function c(e, t) {
|
|
28
|
-
let n = s(e, t);
|
|
29
|
-
for (let r in o) r in i ? r in e && !(r in n) && (n[r] = i[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
30
|
-
return n;
|
|
31
|
-
}
|
|
32
|
-
function l(e, t) {
|
|
33
|
-
let n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null);
|
|
34
|
-
function a(e) {
|
|
35
|
-
if (n[e]) return i[e] = [];
|
|
36
|
-
if (!(e in i)) {
|
|
37
|
-
i[e] = null;
|
|
38
|
-
let t = r[e] && r[e].parent, n = t && a(t);
|
|
39
|
-
n && (i[e] = [t].concat(n));
|
|
40
|
-
}
|
|
41
|
-
return i[e];
|
|
42
|
-
}
|
|
43
|
-
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
44
|
-
}
|
|
45
|
-
function u(e, t, n) {
|
|
46
|
-
let r = e.icons, i = e.aliases || /* @__PURE__ */ Object.create(null), a = {};
|
|
47
|
-
function o(e) {
|
|
48
|
-
a = c(r[e] || i[e], a);
|
|
49
|
-
}
|
|
50
|
-
return o(t), n.forEach(o), c(e, a);
|
|
51
|
-
}
|
|
52
|
-
function d(e, t) {
|
|
53
|
-
let n = [];
|
|
54
|
-
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
55
|
-
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
56
|
-
t(e, null), n.push(e);
|
|
57
|
-
});
|
|
58
|
-
let r = l(e);
|
|
59
|
-
for (let i in r) {
|
|
60
|
-
let a = r[i];
|
|
61
|
-
a && (t(i, u(e, i, a)), n.push(i));
|
|
62
|
-
}
|
|
63
|
-
return n;
|
|
64
|
-
}
|
|
65
|
-
var f = {
|
|
66
|
-
provider: "",
|
|
67
|
-
aliases: {},
|
|
68
|
-
not_found: {},
|
|
69
|
-
...r
|
|
70
|
-
};
|
|
71
|
-
function p(e, t) {
|
|
72
|
-
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
73
|
-
return !0;
|
|
74
|
-
}
|
|
75
|
-
function m(e) {
|
|
76
|
-
if (typeof e != "object" || !e) return null;
|
|
77
|
-
let t = e;
|
|
78
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !p(e, f)) return null;
|
|
79
|
-
let n = t.icons;
|
|
80
|
-
for (let e in n) {
|
|
81
|
-
let t = n[e];
|
|
82
|
-
if (!e || typeof t.body != "string" || !p(t, o)) return null;
|
|
83
|
-
}
|
|
84
|
-
let r = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
85
|
-
for (let e in r) {
|
|
86
|
-
let t = r[e], i = t.parent;
|
|
87
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !p(t, o)) return null;
|
|
88
|
-
}
|
|
89
|
-
return t;
|
|
90
|
-
}
|
|
91
|
-
var h = Object.freeze({
|
|
92
|
-
width: null,
|
|
93
|
-
height: null
|
|
94
|
-
}), g = Object.freeze({
|
|
95
|
-
...h,
|
|
96
|
-
...i
|
|
97
|
-
});
|
|
98
|
-
function _(e, t) {
|
|
99
|
-
let n = { ...e };
|
|
100
|
-
for (let e in t) {
|
|
101
|
-
let r = t[e], i = typeof r;
|
|
102
|
-
e in h ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
103
|
-
}
|
|
104
|
-
return n;
|
|
105
|
-
}
|
|
106
|
-
var v = /[\s,]+/;
|
|
107
|
-
function y(e, t) {
|
|
108
|
-
t.split(v).forEach((t) => {
|
|
109
|
-
switch (t.trim()) {
|
|
110
|
-
case "horizontal":
|
|
111
|
-
e.hFlip = !0;
|
|
112
|
-
break;
|
|
113
|
-
case "vertical":
|
|
114
|
-
e.vFlip = !0;
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function b(e, t = 0) {
|
|
120
|
-
let n = e.replace(/^-?[0-9.]*/, "");
|
|
121
|
-
function r(e) {
|
|
122
|
-
for (; e < 0;) e += 4;
|
|
123
|
-
return e % 4;
|
|
124
|
-
}
|
|
125
|
-
if (n === "") {
|
|
126
|
-
let t = parseInt(e);
|
|
127
|
-
return isNaN(t) ? 0 : r(t);
|
|
128
|
-
} else if (n !== e) {
|
|
129
|
-
let t = 0;
|
|
130
|
-
switch (n) {
|
|
131
|
-
case "%":
|
|
132
|
-
t = 25;
|
|
133
|
-
break;
|
|
134
|
-
case "deg": t = 90;
|
|
135
|
-
}
|
|
136
|
-
if (t) {
|
|
137
|
-
let i = parseFloat(e.slice(0, e.length - n.length));
|
|
138
|
-
return isNaN(i) ? 0 : (i /= t, i % 1 == 0 ? r(i) : 0);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
return t;
|
|
142
|
-
}
|
|
143
|
-
var x = /(-?[0-9.]*[0-9]+[0-9.]*)/g, S = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
144
|
-
function C(e, t, n) {
|
|
145
|
-
if (t === 1) return e;
|
|
146
|
-
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
147
|
-
if (typeof e != "string") return e;
|
|
148
|
-
let r = e.split(x);
|
|
149
|
-
if (r === null || !r.length) return e;
|
|
150
|
-
let i = [], a = r.shift(), o = S.test(a);
|
|
151
|
-
for (;;) {
|
|
152
|
-
if (o) {
|
|
153
|
-
let e = parseFloat(a);
|
|
154
|
-
isNaN(e) ? i.push(a) : i.push(Math.ceil(e * t * n) / n);
|
|
155
|
-
} else i.push(a);
|
|
156
|
-
if (a = r.shift(), a === void 0) return i.join("");
|
|
157
|
-
o = !o;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
function w(e, t = "defs") {
|
|
161
|
-
let n = "", r = e.indexOf("<" + t);
|
|
162
|
-
for (; r >= 0;) {
|
|
163
|
-
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
164
|
-
if (i === -1 || a === -1) break;
|
|
165
|
-
let o = e.indexOf(">", a);
|
|
166
|
-
if (o === -1) break;
|
|
167
|
-
n += e.slice(i + 1, a).trim(), e = e.slice(0, r).trim() + e.slice(o + 1);
|
|
168
|
-
}
|
|
169
|
-
return {
|
|
170
|
-
defs: n,
|
|
171
|
-
content: e
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
function T(e, t) {
|
|
175
|
-
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
176
|
-
}
|
|
177
|
-
function E(e, t, n) {
|
|
178
|
-
let r = w(e);
|
|
179
|
-
return T(r.defs, t + r.content + n);
|
|
180
|
-
}
|
|
181
|
-
var D = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
182
|
-
function O(e, t) {
|
|
183
|
-
let n = {
|
|
184
|
-
...a,
|
|
185
|
-
...e
|
|
186
|
-
}, r = {
|
|
187
|
-
...g,
|
|
188
|
-
...t
|
|
189
|
-
}, i = {
|
|
190
|
-
left: n.left,
|
|
191
|
-
top: n.top,
|
|
192
|
-
width: n.width,
|
|
193
|
-
height: n.height
|
|
194
|
-
}, o = n.body;
|
|
195
|
-
[n, r].forEach((e) => {
|
|
196
|
-
let t = [], n = e.hFlip, r = e.vFlip, a = e.rotate;
|
|
197
|
-
n ? r ? a += 2 : (t.push("translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"), t.push("scale(-1 1)"), i.top = i.left = 0) : r && (t.push("translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"), t.push("scale(1 -1)"), i.top = i.left = 0);
|
|
198
|
-
let s;
|
|
199
|
-
switch (a < 0 && (a -= Math.floor(a / 4) * 4), a %= 4, a) {
|
|
200
|
-
case 1:
|
|
201
|
-
s = i.height / 2 + i.top, t.unshift("rotate(90 " + s.toString() + " " + s.toString() + ")");
|
|
202
|
-
break;
|
|
203
|
-
case 2:
|
|
204
|
-
t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
|
|
205
|
-
break;
|
|
206
|
-
case 3:
|
|
207
|
-
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
208
|
-
break;
|
|
209
|
-
}
|
|
210
|
-
a % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (o = E(o, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
211
|
-
});
|
|
212
|
-
let s = r.width, c = r.height, l = i.width, u = i.height, d, f;
|
|
213
|
-
s === null ? (f = c === null ? "1em" : c === "auto" ? u : c, d = C(f, l / u)) : (d = s === "auto" ? l : s, f = c === null ? C(d, u / l) : c === "auto" ? u : c);
|
|
214
|
-
let p = {}, m = (e, t) => {
|
|
215
|
-
D(t) || (p[e] = t.toString());
|
|
216
|
-
};
|
|
217
|
-
m("width", d), m("height", f);
|
|
218
|
-
let h = [
|
|
219
|
-
i.left,
|
|
220
|
-
i.top,
|
|
221
|
-
l,
|
|
222
|
-
u
|
|
223
|
-
];
|
|
224
|
-
return p.viewBox = h.join(" "), {
|
|
225
|
-
attributes: p,
|
|
226
|
-
viewBox: h,
|
|
227
|
-
body: o
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
var k = /\sid="(\S+)"/g, A = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), j = 0;
|
|
231
|
-
function M(e, t = A) {
|
|
232
|
-
let n = [], r;
|
|
233
|
-
for (; r = k.exec(e);) n.push(r[1]);
|
|
234
|
-
if (!n.length) return e;
|
|
235
|
-
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
236
|
-
return n.forEach((n) => {
|
|
237
|
-
let r = typeof t == "function" ? t(n) : t + (j++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
238
|
-
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
239
|
-
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
240
|
-
}
|
|
241
|
-
function N(e, t) {
|
|
242
|
-
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
243
|
-
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
244
|
-
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
245
|
-
}
|
|
246
|
-
function P(e) {
|
|
247
|
-
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
248
|
-
}
|
|
249
|
-
function F(e) {
|
|
250
|
-
return "data:image/svg+xml," + P(e);
|
|
251
|
-
}
|
|
252
|
-
function I(e) {
|
|
253
|
-
return "url(\"" + F(e) + "\")";
|
|
254
|
-
}
|
|
255
|
-
var L = {
|
|
256
|
-
...g,
|
|
257
|
-
inline: !1
|
|
258
|
-
}, R = {
|
|
259
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
260
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
261
|
-
"aria-hidden": !0,
|
|
262
|
-
role: "img"
|
|
263
|
-
}, z = { display: "inline-block" }, B = { backgroundColor: "currentColor" }, V = { backgroundColor: "transparent" }, H = {
|
|
264
|
-
Image: "var(--svg)",
|
|
265
|
-
Repeat: "no-repeat",
|
|
266
|
-
Size: "100% 100%"
|
|
267
|
-
}, U = {
|
|
268
|
-
webkitMask: B,
|
|
269
|
-
mask: B,
|
|
270
|
-
background: V
|
|
271
|
-
};
|
|
272
|
-
for (let e in U) {
|
|
273
|
-
let t = U[e];
|
|
274
|
-
for (let n in H) t[e + n] = H[n];
|
|
275
|
-
}
|
|
276
|
-
var W = {};
|
|
277
|
-
["horizontal", "vertical"].forEach((e) => {
|
|
278
|
-
let t = e.slice(0, 1) + "Flip";
|
|
279
|
-
W[e + "-flip"] = t, W[e.slice(0, 1) + "-flip"] = t, W[e + "Flip"] = t;
|
|
280
|
-
});
|
|
281
|
-
function G(e) {
|
|
282
|
-
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
283
|
-
}
|
|
284
|
-
var K = (e, n) => {
|
|
285
|
-
let r = _(L, n), i = { ...R }, a = n.mode || "svg", o = {}, s = n.style, c = typeof s == "object" && !(s instanceof Array) ? s : {};
|
|
286
|
-
for (let e in n) {
|
|
287
|
-
let t = n[e];
|
|
288
|
-
if (t !== void 0) switch (e) {
|
|
289
|
-
case "icon":
|
|
290
|
-
case "style":
|
|
291
|
-
case "onLoad":
|
|
292
|
-
case "mode":
|
|
293
|
-
case "ssr": break;
|
|
294
|
-
case "inline":
|
|
295
|
-
case "hFlip":
|
|
296
|
-
case "vFlip":
|
|
297
|
-
r[e] = t === !0 || t === "true" || t === 1;
|
|
298
|
-
break;
|
|
299
|
-
case "flip":
|
|
300
|
-
typeof t == "string" && y(r, t);
|
|
301
|
-
break;
|
|
302
|
-
case "color":
|
|
303
|
-
o.color = t;
|
|
304
|
-
break;
|
|
305
|
-
case "rotate":
|
|
306
|
-
typeof t == "string" ? r[e] = b(t) : typeof t == "number" && (r[e] = t);
|
|
307
|
-
break;
|
|
308
|
-
case "ariaHidden":
|
|
309
|
-
case "aria-hidden":
|
|
310
|
-
t !== !0 && t !== "true" && delete i["aria-hidden"];
|
|
311
|
-
break;
|
|
312
|
-
default: {
|
|
313
|
-
let n = W[e];
|
|
314
|
-
n ? (t === !0 || t === "true" || t === 1) && (r[n] = !0) : L[e] === void 0 && (i[e] = t);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
let l = O(e, r), u = l.attributes;
|
|
319
|
-
if (r.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
320
|
-
i.style = {
|
|
321
|
-
...o,
|
|
322
|
-
...c
|
|
323
|
-
}, Object.assign(i, u);
|
|
324
|
-
let e = 0, r = n.id;
|
|
325
|
-
return typeof r == "string" && (r = r.replace(/-/g, "_")), i.innerHTML = M(l.body, r ? () => r + "ID" + e++ : "iconifyVue"), t("svg", i);
|
|
326
|
-
}
|
|
327
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = N(d, {
|
|
328
|
-
...u,
|
|
329
|
-
width: f + "",
|
|
330
|
-
height: p + ""
|
|
331
|
-
});
|
|
332
|
-
return i.style = {
|
|
333
|
-
...o,
|
|
334
|
-
"--svg": I(h),
|
|
335
|
-
width: G(u.width),
|
|
336
|
-
height: G(u.height),
|
|
337
|
-
...z,
|
|
338
|
-
...m ? B : V,
|
|
339
|
-
...c
|
|
340
|
-
}, t("span", i);
|
|
341
|
-
}, q = Object.create(null);
|
|
342
|
-
function J(e, t) {
|
|
343
|
-
q[e] = t;
|
|
344
|
-
}
|
|
345
|
-
function Y(e, t) {
|
|
346
|
-
let n = typeof t == "string" ? t : t !== !1 && typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
347
|
-
m(e) && d(e, (e, t) => {
|
|
348
|
-
t && (q[n + e] = t);
|
|
349
|
-
});
|
|
350
|
-
}
|
|
351
|
-
var X = e({
|
|
352
|
-
inheritAttrs: !1,
|
|
353
|
-
render() {
|
|
354
|
-
let e = this.$attrs, t = e.icon, n = typeof t == "string" ? q[t] : typeof t == "object" ? t : null;
|
|
355
|
-
return typeof n != "object" || !n || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : K({
|
|
356
|
-
...a,
|
|
357
|
-
...n
|
|
358
|
-
}, e);
|
|
359
|
-
}
|
|
360
|
-
}), Z = e({
|
|
361
|
-
name: "IconOffline",
|
|
362
|
-
components: { IconifyIcon: X },
|
|
363
|
-
props: { icon: { default: null } },
|
|
364
|
-
render() {
|
|
365
|
-
typeof this.icon == "object" && J(this.icon, this.icon);
|
|
366
|
-
let e = this.$attrs;
|
|
367
|
-
return t(X, {
|
|
368
|
-
icon: this.icon,
|
|
369
|
-
style: e?.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
370
|
-
...e
|
|
371
|
-
}, { default: () => [] });
|
|
372
|
-
}
|
|
373
|
-
});
|
|
374
|
-
e({
|
|
375
|
-
name: "IconifyIconOnline",
|
|
376
|
-
components: { IconifyIcon: n },
|
|
377
|
-
props: { icon: {
|
|
378
|
-
type: String,
|
|
379
|
-
default: ""
|
|
380
|
-
} },
|
|
381
|
-
render() {
|
|
382
|
-
let e = this.$attrs;
|
|
383
|
-
return t(n, {
|
|
384
|
-
icon: `${this.icon}`,
|
|
385
|
-
style: e?.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
386
|
-
...e
|
|
387
|
-
}, { default: () => [] });
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
|
-
//#endregion
|
|
391
|
-
//#region src/components/ReIcon/src/iconfont.ts
|
|
392
|
-
var Q = e({
|
|
393
|
-
name: "FontIcon",
|
|
394
|
-
props: { icon: {
|
|
395
|
-
type: String,
|
|
396
|
-
default: ""
|
|
397
|
-
} },
|
|
398
|
-
render() {
|
|
399
|
-
let e = this.$attrs;
|
|
400
|
-
return Object.keys(e).includes("uni") || e?.iconType === "uni" ? t("i", {
|
|
401
|
-
class: "iconfont",
|
|
402
|
-
...e
|
|
403
|
-
}, this.icon) : Object.keys(e).includes("svg") || e?.iconType === "svg" ? t("svg", {
|
|
404
|
-
class: "icon-svg",
|
|
405
|
-
"aria-hidden": !0
|
|
406
|
-
}, { default: () => [t("use", { "xlink:href": `#${this.icon}` })] }) : t("i", {
|
|
407
|
-
class: `iconfont ${this.icon}`,
|
|
408
|
-
...e
|
|
409
|
-
});
|
|
410
|
-
}
|
|
411
|
-
}), $ = Z, ee = Q;
|
|
412
|
-
//#endregion
|
|
413
|
-
export { J as i, $ as n, Y as r, ee as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { createElementBlock as t, openBlock as n } from "vue";
|
|
3
|
-
//#region src/views/urpt/report-request/ReportDefine.vue
|
|
4
|
-
var r = {};
|
|
5
|
-
function i(e, r) {
|
|
6
|
-
return n(), t("div");
|
|
7
|
-
}
|
|
8
|
-
var a = /* @__PURE__ */ e(r, [["render", i]]);
|
|
9
|
-
//#endregion
|
|
10
|
-
export { a as default };
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { r as e } from "./api-BFNxcxSN.js";
|
|
2
|
-
import { t } from "./await-to-js.es5-DkWYmPXW.js";
|
|
3
|
-
import { t as n } from "./DesignPanel-BMN4DZ0R.js";
|
|
4
|
-
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, nextTick as l, openBlock as u, ref as d, resolveComponent as f, vShow as p, withDirectives as m } from "vue";
|
|
5
|
-
import { successMessage as h, useRender as g } from "@utogether/utils";
|
|
6
|
-
import { useClipboard as _ } from "@vueuse/core";
|
|
7
|
-
//#region src/views/urpt/design/ReportDesign.vue?vue&type=script&setup=true&lang.tsx
|
|
8
|
-
var v = "/urpt/v1/printTemplate", y = /* @__PURE__ */ c({
|
|
9
|
-
name: "ReportDesign",
|
|
10
|
-
__name: "ReportDesign",
|
|
11
|
-
setup(c) {
|
|
12
|
-
let y = d(null), b = d(!1), x = d(!1), S = g(), C = d({}), { copy: w } = _(), T = e(), E = [{
|
|
13
|
-
field: "templateCode",
|
|
14
|
-
title: "message.urpt.templateCode"
|
|
15
|
-
}, {
|
|
16
|
-
field: "templateName",
|
|
17
|
-
title: "message.urpt.templateName"
|
|
18
|
-
}], D = [
|
|
19
|
-
{
|
|
20
|
-
type: "checkbox",
|
|
21
|
-
width: 50,
|
|
22
|
-
align: "center"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
field: "templateCode",
|
|
26
|
-
title: "message.urpt.templateCode",
|
|
27
|
-
required: !0,
|
|
28
|
-
width: 150,
|
|
29
|
-
editRender: S.renderInput()
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
field: "templateName",
|
|
33
|
-
title: "message.urpt.templateName",
|
|
34
|
-
required: !0,
|
|
35
|
-
width: 240,
|
|
36
|
-
editRender: S.renderInput()
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
field: "paperType",
|
|
40
|
-
title: "message.urpt.paperType",
|
|
41
|
-
width: 120,
|
|
42
|
-
required: !0,
|
|
43
|
-
editRender: S.renderDict({
|
|
44
|
-
code: "SU.PRINT.PAPER",
|
|
45
|
-
defaultValue: "A4"
|
|
46
|
-
}),
|
|
47
|
-
formatter: ["formatDict", "SU.PRINT.PAPER"]
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
field: "remarks",
|
|
51
|
-
title: "message.remark",
|
|
52
|
-
minWidth: 120,
|
|
53
|
-
editRender: S.renderInput()
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
field: "operate",
|
|
57
|
-
width: 200,
|
|
58
|
-
slots: { default: ({ row: e }) => e.id ? s(r, null, [
|
|
59
|
-
s(f("ut-button"), {
|
|
60
|
-
content: "design",
|
|
61
|
-
icon: "ri-quill-pen-line",
|
|
62
|
-
onTap: () => M(e)
|
|
63
|
-
}, null),
|
|
64
|
-
s(f("ut-button"), {
|
|
65
|
-
content: "copy",
|
|
66
|
-
status: "warning",
|
|
67
|
-
icon: "ri-file-copy-2-fill",
|
|
68
|
-
onTap: () => k(e)
|
|
69
|
-
}, null),
|
|
70
|
-
s(f("ut-button"), {
|
|
71
|
-
content: "export",
|
|
72
|
-
status: "u-cyan",
|
|
73
|
-
icon: "ri-folder-download-fill",
|
|
74
|
-
onTap: () => A(e)
|
|
75
|
-
}, null)
|
|
76
|
-
]) : null }
|
|
77
|
-
}
|
|
78
|
-
], O = [
|
|
79
|
-
{
|
|
80
|
-
field: "templateCode",
|
|
81
|
-
title: "message.urpt.templateCode",
|
|
82
|
-
required: !0,
|
|
83
|
-
itemRender: { name: "$input" },
|
|
84
|
-
span: 24
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
field: "templateName",
|
|
88
|
-
title: "message.urpt.templateName",
|
|
89
|
-
required: !0,
|
|
90
|
-
itemRender: { name: "$input" },
|
|
91
|
-
span: 24
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
field: "paperType",
|
|
95
|
-
title: "message.urpt.paperType",
|
|
96
|
-
width: 100,
|
|
97
|
-
required: !0,
|
|
98
|
-
itemRender: S.renderDict({
|
|
99
|
-
code: "SU.PRINT.PAPER",
|
|
100
|
-
defaultValue: "A4"
|
|
101
|
-
})
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
field: "remarks",
|
|
105
|
-
title: "message.remark",
|
|
106
|
-
itemRender: { name: "$input" },
|
|
107
|
-
span: 24
|
|
108
|
-
}
|
|
109
|
-
], k = (e) => {
|
|
110
|
-
C.value.templateContent = e.templateContent, C.value.paperType = e.paperType, x.value = !0;
|
|
111
|
-
}, A = (e) => {
|
|
112
|
-
w(e.templateContent), h("复制成功,快试试右键粘贴吧");
|
|
113
|
-
}, j = async () => {
|
|
114
|
-
let [e] = await t(T.post(v, [C.value]));
|
|
115
|
-
!e && y.value.refreshData(), x.value = !1;
|
|
116
|
-
}, M = (e) => {
|
|
117
|
-
C.value = e, l(() => {
|
|
118
|
-
b.value = !0;
|
|
119
|
-
});
|
|
120
|
-
}, N = { editActived({ row: e }) {
|
|
121
|
-
D[1].editRender.props.disabled = !!e.id, y.value.getInstance().refreshColumn();
|
|
122
|
-
} }, P = ({ row: e }) => e?.enabled !== "1", F = () => {
|
|
123
|
-
C.value = {}, b.value = !1, y.value.refreshData();
|
|
124
|
-
};
|
|
125
|
-
return (e, t) => {
|
|
126
|
-
let r = f("ut-grid"), c = f("ut-modal-form");
|
|
127
|
-
return u(), o("div", null, [
|
|
128
|
-
m(s(r, {
|
|
129
|
-
ref_key: "xgrid",
|
|
130
|
-
ref: y,
|
|
131
|
-
items: E,
|
|
132
|
-
columns: D,
|
|
133
|
-
"check-method": P,
|
|
134
|
-
url: v,
|
|
135
|
-
events: N
|
|
136
|
-
}, null, 512), [[p, !b.value]]),
|
|
137
|
-
b.value ? (u(), i(n, {
|
|
138
|
-
key: 0,
|
|
139
|
-
record: C.value,
|
|
140
|
-
onOnClose: F
|
|
141
|
-
}, null, 8, ["record"])) : a("", !0),
|
|
142
|
-
x.value ? (u(), i(c, {
|
|
143
|
-
key: 1,
|
|
144
|
-
record: C.value,
|
|
145
|
-
items: O,
|
|
146
|
-
width: "40%",
|
|
147
|
-
height: 290,
|
|
148
|
-
"data-status": "update",
|
|
149
|
-
title: "复制模板",
|
|
150
|
-
onConfirm: j,
|
|
151
|
-
onClose: t[0] ||= (e) => x.value = !1
|
|
152
|
-
}, null, 8, ["record"])) : a("", !0)
|
|
153
|
-
]);
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
//#endregion
|
|
158
|
-
export { y as default };
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./ReportQueryFrom-D7SPPAps.js";
|
|
2
|
-
import { createBlock as t, createCommentVNode as n, createElementBlock as r, createVNode as i, defineComponent as a, onMounted as o, openBlock as s, reactive as c, ref as l, resolveComponent as u, vShow as d, watch as f, withDirectives as p } from "vue";
|
|
3
|
-
import { useRender as m } from "@utogether/utils";
|
|
4
|
-
import { useRoute as h } from "vue-router";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/views/urpt/query/ReportQuery.vue
|
|
7
|
-
var g = /* @__PURE__ */ a({
|
|
8
|
-
name: "ReportQuery",
|
|
9
|
-
setup(a) {
|
|
10
|
-
let g = c({
|
|
11
|
-
record: {},
|
|
12
|
-
showChild: !1,
|
|
13
|
-
loading: !1,
|
|
14
|
-
dataStatus: ""
|
|
15
|
-
}), _ = h(), v = m();
|
|
16
|
-
f(() => _.path, () => {});
|
|
17
|
-
let y = [
|
|
18
|
-
{ field: "templateName" },
|
|
19
|
-
{ field: "createdByName" },
|
|
20
|
-
{
|
|
21
|
-
field: "exportResult",
|
|
22
|
-
itemRender: v.renderDict("SU.REPORT.EXPORT_STATUS")
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
field: "exportDate",
|
|
26
|
-
itemRender: { name: "#SuDateRange" },
|
|
27
|
-
fromField: "exportDateFrom",
|
|
28
|
-
toField: "exportDateTo"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
field: "creationDate",
|
|
32
|
-
itemRender: { name: "#SuDateRange" },
|
|
33
|
-
fromField: "createDateFrom",
|
|
34
|
-
toField: "createDateTo"
|
|
35
|
-
}
|
|
36
|
-
], b = [
|
|
37
|
-
{
|
|
38
|
-
field: "exportNo",
|
|
39
|
-
title: "message.reportCode",
|
|
40
|
-
width: 100
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
field: "templateName",
|
|
44
|
-
width: 150
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
field: "fileName",
|
|
48
|
-
width: 150
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
field: "exportStatus",
|
|
52
|
-
width: 90
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
field: "exportResult",
|
|
56
|
-
width: 70
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
field: "fileType",
|
|
60
|
-
width: 80
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
field: "exportMsg",
|
|
64
|
-
minWidth: 100
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
field: "createdByName",
|
|
68
|
-
width: 100
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
field: "exportDate",
|
|
72
|
-
width: 100
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
field: "creationDate",
|
|
76
|
-
width: 100,
|
|
77
|
-
formatter: ["formatDate"]
|
|
78
|
-
}
|
|
79
|
-
], x = l(null), S = () => {
|
|
80
|
-
g.showChild = !1;
|
|
81
|
-
};
|
|
82
|
-
return o(() => {
|
|
83
|
-
_?.params?.isJump && (g.dataStatus = "add", g.showChild = !0);
|
|
84
|
-
}), (a, o) => {
|
|
85
|
-
let c = u("ut-grid");
|
|
86
|
-
return s(), r("div", null, [p(i(c, {
|
|
87
|
-
ref_key: "xgrid",
|
|
88
|
-
ref: x,
|
|
89
|
-
tems: y,
|
|
90
|
-
columns: b
|
|
91
|
-
}, null, 512), [[d, !g.showChild]]), g.showChild ? (s(), t(e, {
|
|
92
|
-
key: 0,
|
|
93
|
-
record: g.record,
|
|
94
|
-
"data-status": g.dataStatus,
|
|
95
|
-
onOnClose: S
|
|
96
|
-
}, null, 8, ["record", "data-status"])) : n("", !0)]);
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
//#endregion
|
|
101
|
-
export { g as default };
|