@gsc-basic/shared-service 1.2.7 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +3 -3
- package/dist/shared-service.js +586 -579
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/shared-service.js
CHANGED
|
@@ -7,9 +7,9 @@ You shall not disclose such Confidential Information and shall use it only in
|
|
|
7
7
|
accordance with the terms of the license agreement.
|
|
8
8
|
|
|
9
9
|
--- Build Info ---
|
|
10
|
-
Version: 1.2.
|
|
11
|
-
Build Time: 2026/11/
|
|
12
|
-
Build Commit:
|
|
10
|
+
Version: 1.2.7
|
|
11
|
+
Build Time: 2026/11/12 17:44:14
|
|
12
|
+
Build Commit: 8f3f54c04580052f0cd098cbf56d3eed641e016e
|
|
13
13
|
*/
|
|
14
14
|
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, h as d, isRef as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onActivated as y, onBeforeUnmount as b, onDeactivated as x, onMounted as S, openBlock as C, reactive as w, ref as T, renderList as E, renderSlot as D, shallowRef as ee, toDisplayString as O, toHandlers as k, toRefs as te, unref as A, useModel as j, useSlots as ne, watch as re, withCtx as M, withModifiers as ie } from "vue";
|
|
15
15
|
import { useRequest as N } from "@gsc-basic/hooks";
|
|
@@ -1072,12 +1072,18 @@ var ut = function({ cacheKeySuffix: e = "", token: t = "", tokenHeader: n = "",
|
|
|
1072
1072
|
setRequestParams: d,
|
|
1073
1073
|
setRequestBaseUrl: f
|
|
1074
1074
|
};
|
|
1075
|
-
},
|
|
1075
|
+
}, dt = ut({ preserveOptions: !1 }), ft = 10, pt = "0", mt = "Request failed", ht = (e) => new Promise((t) => {
|
|
1076
1076
|
setTimeout(t, e);
|
|
1077
1077
|
});
|
|
1078
|
-
|
|
1078
|
+
function gt(e = "") {
|
|
1079
|
+
dt = ut({
|
|
1080
|
+
cacheKeySuffix: e,
|
|
1081
|
+
preserveOptions: !1
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
async function _t() {
|
|
1079
1085
|
try {
|
|
1080
|
-
return await dt();
|
|
1086
|
+
return await dt.getBasicToken();
|
|
1081
1087
|
} catch (e) {
|
|
1082
1088
|
return I.modal.message({
|
|
1083
1089
|
content: `Failed to get basic token, please try to log in again. ${e}`,
|
|
@@ -1085,13 +1091,13 @@ async function gt() {
|
|
|
1085
1091
|
}), null;
|
|
1086
1092
|
}
|
|
1087
1093
|
}
|
|
1088
|
-
var
|
|
1094
|
+
var vt = (e) => {
|
|
1089
1095
|
I.modal.message({
|
|
1090
1096
|
content: e || mt,
|
|
1091
1097
|
status: "error"
|
|
1092
1098
|
});
|
|
1093
1099
|
};
|
|
1094
|
-
function
|
|
1100
|
+
function yt({ baseUrl: e = "", defaultOptions: t = {} } = {}) {
|
|
1095
1101
|
let n = e, r = (e = "") => (e || "GET").toUpperCase(), i = (e = "") => {
|
|
1096
1102
|
n = e || "";
|
|
1097
1103
|
}, a = () => n, o = async (e) => {
|
|
@@ -1101,7 +1107,7 @@ function vt({ baseUrl: e = "", defaultOptions: t = {} } = {}) {
|
|
|
1101
1107
|
return A(e.data);
|
|
1102
1108
|
};
|
|
1103
1109
|
async function s(e, i, a = {}, o = {}, s = !0) {
|
|
1104
|
-
let c = r(i), l = s ? await
|
|
1110
|
+
let c = r(i), l = s ? await _t() : null, u = {
|
|
1105
1111
|
...o.headers || {},
|
|
1106
1112
|
accept: "application/json, text/plain, */*"
|
|
1107
1113
|
};
|
|
@@ -1137,17 +1143,17 @@ function vt({ baseUrl: e = "", defaultOptions: t = {} } = {}) {
|
|
|
1137
1143
|
getBaseUrl: a
|
|
1138
1144
|
};
|
|
1139
1145
|
}
|
|
1140
|
-
var
|
|
1146
|
+
var bt = yt({ baseUrl: "/api" }), H = (e) => bt.setBaseUrl(e), xt = () => bt.getBaseUrl(), St = async ({ method: e, url: t, payload: n = {}, options: r = {}, isAuthorization: i = !0 }) => {
|
|
1141
1147
|
let a;
|
|
1142
1148
|
try {
|
|
1143
|
-
a = await
|
|
1149
|
+
a = await bt.send(e, t, n, r, i);
|
|
1144
1150
|
} catch (e) {
|
|
1145
|
-
throw
|
|
1151
|
+
throw vt(e?.message), e;
|
|
1146
1152
|
}
|
|
1147
1153
|
if (r.parseJson === !1) return a;
|
|
1148
|
-
if (a?.code !== pt) throw
|
|
1154
|
+
if (a?.code !== pt) throw vt(a?.msg), a;
|
|
1149
1155
|
return a;
|
|
1150
|
-
},
|
|
1156
|
+
}, Ct = {
|
|
1151
1157
|
list: "/download/admin/page",
|
|
1152
1158
|
download: "/download/admin/generateFileUrl",
|
|
1153
1159
|
downloadStatusLogsList: "/download/admin/statusLogList",
|
|
@@ -1156,11 +1162,11 @@ var yt = vt({ baseUrl: "/api" }), bt = (e) => yt.setBaseUrl(e), H = () => yt.get
|
|
|
1156
1162
|
bizKeyDropDown: "/download/admin/bizKeyDropDown",
|
|
1157
1163
|
bizScopeDropDown: "/download/admin/bizScopeDropDown",
|
|
1158
1164
|
statusEnum: "/download/admin/statusEnum"
|
|
1159
|
-
},
|
|
1165
|
+
}, wt = async (e) => {
|
|
1160
1166
|
try {
|
|
1161
|
-
let t = await
|
|
1167
|
+
let t = await St({
|
|
1162
1168
|
method: "POST",
|
|
1163
|
-
url:
|
|
1169
|
+
url: Ct.list,
|
|
1164
1170
|
payload: e
|
|
1165
1171
|
});
|
|
1166
1172
|
return {
|
|
@@ -1173,27 +1179,27 @@ var yt = vt({ baseUrl: "/api" }), bt = (e) => yt.setBaseUrl(e), H = () => yt.get
|
|
|
1173
1179
|
status: "error"
|
|
1174
1180
|
});
|
|
1175
1181
|
}
|
|
1176
|
-
},
|
|
1182
|
+
}, Tt = (e) => St({
|
|
1177
1183
|
method: "GET",
|
|
1178
|
-
url:
|
|
1184
|
+
url: Ct.download,
|
|
1179
1185
|
payload: e
|
|
1180
|
-
}),
|
|
1186
|
+
}), Et = (e) => St({
|
|
1181
1187
|
method: "GET",
|
|
1182
|
-
url:
|
|
1188
|
+
url: Ct.downloadStatusLogsList,
|
|
1183
1189
|
payload: e
|
|
1184
|
-
}),
|
|
1190
|
+
}), Dt = (e) => St({
|
|
1185
1191
|
method: "GET",
|
|
1186
|
-
url:
|
|
1192
|
+
url: Ct.downloadStatus,
|
|
1187
1193
|
payload: e
|
|
1188
|
-
}),
|
|
1194
|
+
}), Ot = (e) => St({
|
|
1189
1195
|
method: "PUT",
|
|
1190
|
-
url:
|
|
1196
|
+
url: Ct.downloadInterrupt,
|
|
1191
1197
|
payload: e
|
|
1192
|
-
}),
|
|
1198
|
+
}), kt = async (e) => {
|
|
1193
1199
|
try {
|
|
1194
|
-
return (await
|
|
1200
|
+
return (await St({
|
|
1195
1201
|
method: "POST",
|
|
1196
|
-
url:
|
|
1202
|
+
url: Ct.bizKeyDropDown,
|
|
1197
1203
|
payload: e
|
|
1198
1204
|
}))?.result || [];
|
|
1199
1205
|
} catch (e) {
|
|
@@ -1202,11 +1208,11 @@ var yt = vt({ baseUrl: "/api" }), bt = (e) => yt.setBaseUrl(e), H = () => yt.get
|
|
|
1202
1208
|
status: "error"
|
|
1203
1209
|
});
|
|
1204
1210
|
}
|
|
1205
|
-
},
|
|
1211
|
+
}, At = async (e) => {
|
|
1206
1212
|
try {
|
|
1207
|
-
return (await
|
|
1213
|
+
return (await St({
|
|
1208
1214
|
method: "POST",
|
|
1209
|
-
url:
|
|
1215
|
+
url: Ct.bizScopeDropDown,
|
|
1210
1216
|
payload: e
|
|
1211
1217
|
}))?.result || [];
|
|
1212
1218
|
} catch (e) {
|
|
@@ -1215,11 +1221,11 @@ var yt = vt({ baseUrl: "/api" }), bt = (e) => yt.setBaseUrl(e), H = () => yt.get
|
|
|
1215
1221
|
status: "error"
|
|
1216
1222
|
});
|
|
1217
1223
|
}
|
|
1218
|
-
},
|
|
1224
|
+
}, jt = async () => {
|
|
1219
1225
|
try {
|
|
1220
|
-
return (await
|
|
1226
|
+
return (await St({
|
|
1221
1227
|
method: "GET",
|
|
1222
|
-
url:
|
|
1228
|
+
url: Ct.statusEnum
|
|
1223
1229
|
}))?.result || [];
|
|
1224
1230
|
} catch (e) {
|
|
1225
1231
|
I.modal.message({
|
|
@@ -1227,79 +1233,79 @@ var yt = vt({ baseUrl: "/api" }), bt = (e) => yt.setBaseUrl(e), H = () => yt.get
|
|
|
1227
1233
|
status: "error"
|
|
1228
1234
|
});
|
|
1229
1235
|
}
|
|
1230
|
-
},
|
|
1231
|
-
function
|
|
1232
|
-
var t =
|
|
1236
|
+
}, Mt = typeof global == "object" && global && global.Object === Object && global, Nt = typeof self == "object" && self && self.Object === Object && self, Pt = Mt || Nt || Function("return this")(), Ft = Pt.Symbol, It = Object.prototype, Lt = It.hasOwnProperty, Rt = It.toString, zt = Ft ? Ft.toStringTag : void 0;
|
|
1237
|
+
function Bt(e) {
|
|
1238
|
+
var t = Lt.call(e, zt), n = e[zt];
|
|
1233
1239
|
try {
|
|
1234
|
-
e[
|
|
1240
|
+
e[zt] = void 0;
|
|
1235
1241
|
var r = !0;
|
|
1236
1242
|
} catch {}
|
|
1237
|
-
var i =
|
|
1238
|
-
return r && (t ? e[
|
|
1243
|
+
var i = Rt.call(e);
|
|
1244
|
+
return r && (t ? e[zt] = n : delete e[zt]), i;
|
|
1239
1245
|
}
|
|
1240
1246
|
// ../../node_modules/lodash-es/_objectToString.js
|
|
1241
|
-
var
|
|
1242
|
-
function
|
|
1243
|
-
return
|
|
1247
|
+
var Vt = Object.prototype.toString;
|
|
1248
|
+
function Ht(e) {
|
|
1249
|
+
return Vt.call(e);
|
|
1244
1250
|
}
|
|
1245
1251
|
// ../../node_modules/lodash-es/_baseGetTag.js
|
|
1246
|
-
var
|
|
1247
|
-
function
|
|
1248
|
-
return e == null ? e === void 0 ?
|
|
1252
|
+
var Ut = "[object Null]", Wt = "[object Undefined]", Gt = Ft ? Ft.toStringTag : void 0;
|
|
1253
|
+
function Kt(e) {
|
|
1254
|
+
return e == null ? e === void 0 ? Wt : Ut : Gt && Gt in Object(e) ? Bt(e) : Ht(e);
|
|
1249
1255
|
}
|
|
1250
1256
|
// ../../node_modules/lodash-es/isObjectLike.js
|
|
1251
|
-
function
|
|
1257
|
+
function qt(e) {
|
|
1252
1258
|
return typeof e == "object" && !!e;
|
|
1253
1259
|
}
|
|
1254
1260
|
// ../../node_modules/lodash-es/isSymbol.js
|
|
1255
|
-
var
|
|
1256
|
-
function
|
|
1257
|
-
return typeof e == "symbol" ||
|
|
1261
|
+
var Jt = "[object Symbol]";
|
|
1262
|
+
function Yt(e) {
|
|
1263
|
+
return typeof e == "symbol" || qt(e) && Kt(e) == Jt;
|
|
1258
1264
|
}
|
|
1259
1265
|
// ../../node_modules/lodash-es/_arrayMap.js
|
|
1260
|
-
function
|
|
1266
|
+
function Xt(e, t) {
|
|
1261
1267
|
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
1262
1268
|
return i;
|
|
1263
1269
|
}
|
|
1264
1270
|
// ../../node_modules/lodash-es/isArray.js
|
|
1265
|
-
var
|
|
1266
|
-
function
|
|
1271
|
+
var Zt = Array.isArray, Qt = 1 / 0, $t = Ft ? Ft.prototype : void 0, en = $t ? $t.toString : void 0;
|
|
1272
|
+
function tn(e) {
|
|
1267
1273
|
if (typeof e == "string") return e;
|
|
1268
|
-
if (
|
|
1269
|
-
if (
|
|
1274
|
+
if (Zt(e)) return Xt(e, tn) + "";
|
|
1275
|
+
if (Yt(e)) return en ? en.call(e) : "";
|
|
1270
1276
|
var t = e + "";
|
|
1271
|
-
return t == "0" && 1 / e == -
|
|
1277
|
+
return t == "0" && 1 / e == -Qt ? "-0" : t;
|
|
1272
1278
|
}
|
|
1273
1279
|
// ../../node_modules/lodash-es/isObject.js
|
|
1274
|
-
function
|
|
1280
|
+
function nn(e) {
|
|
1275
1281
|
var t = typeof e;
|
|
1276
1282
|
return e != null && (t == "object" || t == "function");
|
|
1277
1283
|
}
|
|
1278
1284
|
// ../../node_modules/lodash-es/identity.js
|
|
1279
|
-
function
|
|
1285
|
+
function rn(e) {
|
|
1280
1286
|
return e;
|
|
1281
1287
|
}
|
|
1282
1288
|
// ../../node_modules/lodash-es/isFunction.js
|
|
1283
|
-
var
|
|
1284
|
-
function
|
|
1285
|
-
if (!
|
|
1286
|
-
var t =
|
|
1287
|
-
return t ==
|
|
1289
|
+
var an = "[object AsyncFunction]", on = "[object Function]", sn = "[object GeneratorFunction]", cn = "[object Proxy]";
|
|
1290
|
+
function ln(e) {
|
|
1291
|
+
if (!nn(e)) return !1;
|
|
1292
|
+
var t = Kt(e);
|
|
1293
|
+
return t == on || t == sn || t == an || t == cn;
|
|
1288
1294
|
}
|
|
1289
1295
|
// ../../node_modules/lodash-es/_coreJsData.js
|
|
1290
|
-
var
|
|
1291
|
-
var e = /[^.]+$/.exec(
|
|
1296
|
+
var un = Pt["__core-js_shared__"], dn = function() {
|
|
1297
|
+
var e = /[^.]+$/.exec(un && un.keys && un.keys.IE_PROTO || "");
|
|
1292
1298
|
return e ? "Symbol(src)_1." + e : "";
|
|
1293
1299
|
}();
|
|
1294
|
-
function
|
|
1295
|
-
return !!
|
|
1300
|
+
function fn(e) {
|
|
1301
|
+
return !!dn && dn in e;
|
|
1296
1302
|
}
|
|
1297
1303
|
// ../../node_modules/lodash-es/_toSource.js
|
|
1298
|
-
var
|
|
1299
|
-
function
|
|
1304
|
+
var pn = Function.prototype.toString;
|
|
1305
|
+
function mn(e) {
|
|
1300
1306
|
if (e != null) {
|
|
1301
1307
|
try {
|
|
1302
|
-
return
|
|
1308
|
+
return pn.call(e);
|
|
1303
1309
|
} catch {}
|
|
1304
1310
|
try {
|
|
1305
1311
|
return e + "";
|
|
@@ -1308,21 +1314,21 @@ function pn(e) {
|
|
|
1308
1314
|
return "";
|
|
1309
1315
|
}
|
|
1310
1316
|
// ../../node_modules/lodash-es/_baseIsNative.js
|
|
1311
|
-
var
|
|
1312
|
-
function
|
|
1313
|
-
return !
|
|
1317
|
+
var hn = /[\\^$.*+?()[\]{}|]/g, gn = /^\[object .+?Constructor\]$/, _n = Function.prototype, vn = Object.prototype, yn = _n.toString, bn = vn.hasOwnProperty, xn = RegExp("^" + yn.call(bn).replace(hn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
1318
|
+
function Sn(e) {
|
|
1319
|
+
return !nn(e) || fn(e) ? !1 : (ln(e) ? xn : gn).test(mn(e));
|
|
1314
1320
|
}
|
|
1315
1321
|
// ../../node_modules/lodash-es/_getValue.js
|
|
1316
|
-
function
|
|
1322
|
+
function Cn(e, t) {
|
|
1317
1323
|
return e?.[t];
|
|
1318
1324
|
}
|
|
1319
1325
|
// ../../node_modules/lodash-es/_getNative.js
|
|
1320
|
-
function
|
|
1321
|
-
var n =
|
|
1322
|
-
return
|
|
1326
|
+
function wn(e, t) {
|
|
1327
|
+
var n = Cn(e, t);
|
|
1328
|
+
return Sn(n) ? n : void 0;
|
|
1323
1329
|
}
|
|
1324
1330
|
// ../../node_modules/lodash-es/_apply.js
|
|
1325
|
-
function
|
|
1331
|
+
function Tn(e, t, n) {
|
|
1326
1332
|
switch (n.length) {
|
|
1327
1333
|
case 0: return e.call(t);
|
|
1328
1334
|
case 1: return e.call(t, n[0]);
|
|
@@ -1332,44 +1338,44 @@ function wn(e, t, n) {
|
|
|
1332
1338
|
return e.apply(t, n);
|
|
1333
1339
|
}
|
|
1334
1340
|
// ../../node_modules/lodash-es/_shortOut.js
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1341
|
+
var En = 800, Dn = 16, On = Date.now;
|
|
1342
|
+
function kn(e) {
|
|
1337
1343
|
var t = 0, n = 0;
|
|
1338
1344
|
return function() {
|
|
1339
|
-
var r =
|
|
1345
|
+
var r = On(), i = Dn - (r - n);
|
|
1340
1346
|
if (n = r, i > 0) {
|
|
1341
|
-
if (++t >=
|
|
1347
|
+
if (++t >= En) return arguments[0];
|
|
1342
1348
|
} else t = 0;
|
|
1343
1349
|
return e.apply(void 0, arguments);
|
|
1344
1350
|
};
|
|
1345
1351
|
}
|
|
1346
1352
|
// ../../node_modules/lodash-es/constant.js
|
|
1347
|
-
function
|
|
1353
|
+
function An(e) {
|
|
1348
1354
|
return function() {
|
|
1349
1355
|
return e;
|
|
1350
1356
|
};
|
|
1351
1357
|
}
|
|
1352
1358
|
// ../../node_modules/lodash-es/_defineProperty.js
|
|
1353
|
-
var
|
|
1359
|
+
var jn = function() {
|
|
1354
1360
|
try {
|
|
1355
|
-
var e =
|
|
1361
|
+
var e = wn(Object, "defineProperty");
|
|
1356
1362
|
return e({}, "", {}), e;
|
|
1357
1363
|
} catch {}
|
|
1358
|
-
}(),
|
|
1359
|
-
return
|
|
1364
|
+
}(), Mn = kn(jn ? function(e, t) {
|
|
1365
|
+
return jn(e, "toString", {
|
|
1360
1366
|
configurable: !0,
|
|
1361
1367
|
enumerable: !1,
|
|
1362
|
-
value:
|
|
1368
|
+
value: An(t),
|
|
1363
1369
|
writable: !0
|
|
1364
1370
|
});
|
|
1365
|
-
} :
|
|
1366
|
-
function
|
|
1371
|
+
} : rn), Nn = 9007199254740991, Pn = /^(?:0|[1-9]\d*)$/;
|
|
1372
|
+
function Fn(e, t) {
|
|
1367
1373
|
var n = typeof e;
|
|
1368
|
-
return t ??=
|
|
1374
|
+
return t ??= Nn, !!t && (n == "number" || n != "symbol" && Pn.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
1369
1375
|
}
|
|
1370
1376
|
// ../../node_modules/lodash-es/_baseAssignValue.js
|
|
1371
|
-
function
|
|
1372
|
-
t == "__proto__" &&
|
|
1377
|
+
function In(e, t, n) {
|
|
1378
|
+
t == "__proto__" && jn ? jn(e, t, {
|
|
1373
1379
|
configurable: !0,
|
|
1374
1380
|
enumerable: !0,
|
|
1375
1381
|
value: n,
|
|
@@ -1377,313 +1383,313 @@ function Fn(e, t, n) {
|
|
|
1377
1383
|
}) : e[t] = n;
|
|
1378
1384
|
}
|
|
1379
1385
|
// ../../node_modules/lodash-es/eq.js
|
|
1380
|
-
function
|
|
1386
|
+
function Ln(e, t) {
|
|
1381
1387
|
return e === t || e !== e && t !== t;
|
|
1382
1388
|
}
|
|
1383
1389
|
// ../../node_modules/lodash-es/_assignValue.js
|
|
1384
|
-
var
|
|
1385
|
-
function
|
|
1390
|
+
var Rn = Object.prototype.hasOwnProperty;
|
|
1391
|
+
function zn(e, t, n) {
|
|
1386
1392
|
var r = e[t];
|
|
1387
|
-
(!(
|
|
1393
|
+
(!(Rn.call(e, t) && Ln(r, n)) || n === void 0 && !(t in e)) && In(e, t, n);
|
|
1388
1394
|
}
|
|
1389
1395
|
// ../../node_modules/lodash-es/_overRest.js
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1392
|
-
return t =
|
|
1393
|
-
for (var r = arguments, i = -1, a =
|
|
1396
|
+
var Bn = Math.max;
|
|
1397
|
+
function Vn(e, t, n) {
|
|
1398
|
+
return t = Bn(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1399
|
+
for (var r = arguments, i = -1, a = Bn(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
|
|
1394
1400
|
i = -1;
|
|
1395
1401
|
for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
|
|
1396
|
-
return s[t] = n(o),
|
|
1402
|
+
return s[t] = n(o), Tn(e, this, s);
|
|
1397
1403
|
};
|
|
1398
1404
|
}
|
|
1399
1405
|
// ../../node_modules/lodash-es/isLength.js
|
|
1400
|
-
var
|
|
1401
|
-
function
|
|
1402
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
1406
|
+
var Hn = 9007199254740991;
|
|
1407
|
+
function Un(e) {
|
|
1408
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Hn;
|
|
1403
1409
|
}
|
|
1404
1410
|
// ../../node_modules/lodash-es/_baseIsArguments.js
|
|
1405
|
-
var
|
|
1406
|
-
function
|
|
1407
|
-
return
|
|
1411
|
+
var Wn = "[object Arguments]";
|
|
1412
|
+
function Gn(e) {
|
|
1413
|
+
return qt(e) && Kt(e) == Wn;
|
|
1408
1414
|
}
|
|
1409
1415
|
// ../../node_modules/lodash-es/isArguments.js
|
|
1410
|
-
var
|
|
1416
|
+
var Kn = Object.prototype, qn = Kn.hasOwnProperty, Jn = Kn.propertyIsEnumerable, Yn = Gn(function() {
|
|
1411
1417
|
return arguments;
|
|
1412
|
-
}()) ?
|
|
1413
|
-
return
|
|
1414
|
-
},
|
|
1415
|
-
function
|
|
1416
|
-
if (
|
|
1418
|
+
}()) ? Gn : function(e) {
|
|
1419
|
+
return qt(e) && qn.call(e, "callee") && !Jn.call(e, "callee");
|
|
1420
|
+
}, Xn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zn = /^\w*$/;
|
|
1421
|
+
function Qn(e, t) {
|
|
1422
|
+
if (Zt(e)) return !1;
|
|
1417
1423
|
var n = typeof e;
|
|
1418
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
1424
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || Yt(e) ? !0 : Zn.test(e) || !Xn.test(e) || t != null && e in Object(t);
|
|
1419
1425
|
}
|
|
1420
1426
|
// ../../node_modules/lodash-es/_nativeCreate.js
|
|
1421
|
-
var
|
|
1427
|
+
var $n = wn(Object, "create");
|
|
1422
1428
|
// ../../node_modules/lodash-es/_hashClear.js
|
|
1423
|
-
function
|
|
1424
|
-
this.__data__ =
|
|
1429
|
+
function er() {
|
|
1430
|
+
this.__data__ = $n ? $n(null) : {}, this.size = 0;
|
|
1425
1431
|
}
|
|
1426
1432
|
// ../../node_modules/lodash-es/_hashDelete.js
|
|
1427
|
-
function
|
|
1433
|
+
function tr(e) {
|
|
1428
1434
|
var t = this.has(e) && delete this.__data__[e];
|
|
1429
1435
|
return this.size -= +!!t, t;
|
|
1430
1436
|
}
|
|
1431
1437
|
// ../../node_modules/lodash-es/_hashGet.js
|
|
1432
|
-
var
|
|
1433
|
-
function
|
|
1438
|
+
var nr = "__lodash_hash_undefined__", rr = Object.prototype.hasOwnProperty;
|
|
1439
|
+
function ir(e) {
|
|
1434
1440
|
var t = this.__data__;
|
|
1435
|
-
if (
|
|
1441
|
+
if ($n) {
|
|
1436
1442
|
var n = t[e];
|
|
1437
|
-
return n ===
|
|
1443
|
+
return n === nr ? void 0 : n;
|
|
1438
1444
|
}
|
|
1439
|
-
return
|
|
1445
|
+
return rr.call(t, e) ? t[e] : void 0;
|
|
1440
1446
|
}
|
|
1441
1447
|
// ../../node_modules/lodash-es/_hashHas.js
|
|
1442
|
-
var
|
|
1443
|
-
function
|
|
1448
|
+
var ar = Object.prototype.hasOwnProperty;
|
|
1449
|
+
function or(e) {
|
|
1444
1450
|
var t = this.__data__;
|
|
1445
|
-
return
|
|
1451
|
+
return $n ? t[e] !== void 0 : ar.call(t, e);
|
|
1446
1452
|
}
|
|
1447
1453
|
// ../../node_modules/lodash-es/_hashSet.js
|
|
1448
|
-
var
|
|
1449
|
-
function
|
|
1454
|
+
var sr = "__lodash_hash_undefined__";
|
|
1455
|
+
function U(e, t) {
|
|
1450
1456
|
var n = this.__data__;
|
|
1451
|
-
return this.size += +!this.has(e), n[e] =
|
|
1457
|
+
return this.size += +!this.has(e), n[e] = $n && t === void 0 ? sr : t, this;
|
|
1452
1458
|
}
|
|
1453
1459
|
// ../../node_modules/lodash-es/_Hash.js
|
|
1454
|
-
function
|
|
1460
|
+
function cr(e) {
|
|
1455
1461
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1456
1462
|
for (this.clear(); ++t < n;) {
|
|
1457
1463
|
var r = e[t];
|
|
1458
1464
|
this.set(r[0], r[1]);
|
|
1459
1465
|
}
|
|
1460
1466
|
}
|
|
1461
|
-
|
|
1467
|
+
cr.prototype.clear = er, cr.prototype.delete = tr, cr.prototype.get = ir, cr.prototype.has = or, cr.prototype.set = U;
|
|
1462
1468
|
// ../../node_modules/lodash-es/_listCacheClear.js
|
|
1463
|
-
function
|
|
1469
|
+
function lr() {
|
|
1464
1470
|
this.__data__ = [], this.size = 0;
|
|
1465
1471
|
}
|
|
1466
1472
|
// ../../node_modules/lodash-es/_assocIndexOf.js
|
|
1467
|
-
function
|
|
1468
|
-
for (var n = e.length; n--;) if (
|
|
1473
|
+
function ur(e, t) {
|
|
1474
|
+
for (var n = e.length; n--;) if (Ln(e[n][0], t)) return n;
|
|
1469
1475
|
return -1;
|
|
1470
1476
|
}
|
|
1471
1477
|
// ../../node_modules/lodash-es/_listCacheDelete.js
|
|
1472
|
-
var
|
|
1473
|
-
function
|
|
1474
|
-
var t = this.__data__, n =
|
|
1475
|
-
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() :
|
|
1478
|
+
var dr = Array.prototype.splice;
|
|
1479
|
+
function W(e) {
|
|
1480
|
+
var t = this.__data__, n = ur(t, e);
|
|
1481
|
+
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : dr.call(t, n, 1), --this.size, !0);
|
|
1476
1482
|
}
|
|
1477
1483
|
// ../../node_modules/lodash-es/_listCacheGet.js
|
|
1478
|
-
function
|
|
1479
|
-
var t = this.__data__, n =
|
|
1484
|
+
function fr(e) {
|
|
1485
|
+
var t = this.__data__, n = ur(t, e);
|
|
1480
1486
|
return n < 0 ? void 0 : t[n][1];
|
|
1481
1487
|
}
|
|
1482
1488
|
// ../../node_modules/lodash-es/_listCacheHas.js
|
|
1483
|
-
function
|
|
1484
|
-
return
|
|
1489
|
+
function pr(e) {
|
|
1490
|
+
return ur(this.__data__, e) > -1;
|
|
1485
1491
|
}
|
|
1486
1492
|
// ../../node_modules/lodash-es/_listCacheSet.js
|
|
1487
|
-
function
|
|
1488
|
-
var n = this.__data__, r =
|
|
1493
|
+
function mr(e, t) {
|
|
1494
|
+
var n = this.__data__, r = ur(n, e);
|
|
1489
1495
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
1490
1496
|
}
|
|
1491
1497
|
// ../../node_modules/lodash-es/_ListCache.js
|
|
1492
|
-
function
|
|
1498
|
+
function hr(e) {
|
|
1493
1499
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1494
1500
|
for (this.clear(); ++t < n;) {
|
|
1495
1501
|
var r = e[t];
|
|
1496
1502
|
this.set(r[0], r[1]);
|
|
1497
1503
|
}
|
|
1498
1504
|
}
|
|
1499
|
-
|
|
1505
|
+
hr.prototype.clear = lr, hr.prototype.delete = W, hr.prototype.get = fr, hr.prototype.has = pr, hr.prototype.set = mr;
|
|
1500
1506
|
// ../../node_modules/lodash-es/_Map.js
|
|
1501
|
-
var
|
|
1507
|
+
var gr = wn(Pt, "Map");
|
|
1502
1508
|
// ../../node_modules/lodash-es/_mapCacheClear.js
|
|
1503
|
-
function
|
|
1509
|
+
function _r() {
|
|
1504
1510
|
this.size = 0, this.__data__ = {
|
|
1505
|
-
hash: new
|
|
1506
|
-
map: new (
|
|
1507
|
-
string: new
|
|
1511
|
+
hash: new cr(),
|
|
1512
|
+
map: new (gr || hr)(),
|
|
1513
|
+
string: new cr()
|
|
1508
1514
|
};
|
|
1509
1515
|
}
|
|
1510
1516
|
// ../../node_modules/lodash-es/_isKeyable.js
|
|
1511
|
-
function
|
|
1517
|
+
function vr(e) {
|
|
1512
1518
|
var t = typeof e;
|
|
1513
1519
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
1514
1520
|
}
|
|
1515
1521
|
// ../../node_modules/lodash-es/_getMapData.js
|
|
1516
|
-
function
|
|
1522
|
+
function yr(e, t) {
|
|
1517
1523
|
var n = e.__data__;
|
|
1518
|
-
return
|
|
1524
|
+
return vr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
1519
1525
|
}
|
|
1520
1526
|
// ../../node_modules/lodash-es/_mapCacheDelete.js
|
|
1521
|
-
function
|
|
1522
|
-
var t =
|
|
1527
|
+
function br(e) {
|
|
1528
|
+
var t = yr(this, e).delete(e);
|
|
1523
1529
|
return this.size -= +!!t, t;
|
|
1524
1530
|
}
|
|
1525
1531
|
// ../../node_modules/lodash-es/_mapCacheGet.js
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1532
|
+
function xr(e) {
|
|
1533
|
+
return yr(this, e).get(e);
|
|
1528
1534
|
}
|
|
1529
1535
|
// ../../node_modules/lodash-es/_mapCacheHas.js
|
|
1530
|
-
function
|
|
1531
|
-
return
|
|
1536
|
+
function Sr(e) {
|
|
1537
|
+
return yr(this, e).has(e);
|
|
1532
1538
|
}
|
|
1533
1539
|
// ../../node_modules/lodash-es/_mapCacheSet.js
|
|
1534
|
-
function
|
|
1535
|
-
var n =
|
|
1540
|
+
function Cr(e, t) {
|
|
1541
|
+
var n = yr(this, e), r = n.size;
|
|
1536
1542
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
1537
1543
|
}
|
|
1538
1544
|
// ../../node_modules/lodash-es/_MapCache.js
|
|
1539
|
-
function
|
|
1545
|
+
function wr(e) {
|
|
1540
1546
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1541
1547
|
for (this.clear(); ++t < n;) {
|
|
1542
1548
|
var r = e[t];
|
|
1543
1549
|
this.set(r[0], r[1]);
|
|
1544
1550
|
}
|
|
1545
1551
|
}
|
|
1546
|
-
|
|
1552
|
+
wr.prototype.clear = _r, wr.prototype.delete = br, wr.prototype.get = xr, wr.prototype.has = Sr, wr.prototype.set = Cr;
|
|
1547
1553
|
// ../../node_modules/lodash-es/memoize.js
|
|
1548
|
-
var
|
|
1549
|
-
function
|
|
1550
|
-
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(
|
|
1554
|
+
var Tr = "Expected a function";
|
|
1555
|
+
function Er(e, t) {
|
|
1556
|
+
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(Tr);
|
|
1551
1557
|
var n = function() {
|
|
1552
1558
|
var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
|
|
1553
1559
|
if (a.has(i)) return a.get(i);
|
|
1554
1560
|
var o = e.apply(this, r);
|
|
1555
1561
|
return n.cache = a.set(i, o) || a, o;
|
|
1556
1562
|
};
|
|
1557
|
-
return n.cache = new (
|
|
1563
|
+
return n.cache = new (Er.Cache || wr)(), n;
|
|
1558
1564
|
}
|
|
1559
|
-
|
|
1565
|
+
Er.Cache = wr;
|
|
1560
1566
|
// ../../node_modules/lodash-es/_memoizeCapped.js
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
var t =
|
|
1564
|
-
return n.size ===
|
|
1567
|
+
var Dr = 500;
|
|
1568
|
+
function Or(e) {
|
|
1569
|
+
var t = Er(e, function(e) {
|
|
1570
|
+
return n.size === Dr && n.clear(), e;
|
|
1565
1571
|
}), n = t.cache;
|
|
1566
1572
|
return t;
|
|
1567
1573
|
}
|
|
1568
1574
|
// ../../node_modules/lodash-es/_stringToPath.js
|
|
1569
|
-
var
|
|
1575
|
+
var kr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ar = /\\(\\)?/g, jr = Or(function(e) {
|
|
1570
1576
|
var t = [];
|
|
1571
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
1572
|
-
t.push(r ? i.replace(
|
|
1577
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(kr, function(e, n, r, i) {
|
|
1578
|
+
t.push(r ? i.replace(Ar, "$1") : n || e);
|
|
1573
1579
|
}), t;
|
|
1574
1580
|
});
|
|
1575
1581
|
// ../../node_modules/lodash-es/toString.js
|
|
1576
|
-
function
|
|
1577
|
-
return e == null ? "" :
|
|
1582
|
+
function Mr(e) {
|
|
1583
|
+
return e == null ? "" : tn(e);
|
|
1578
1584
|
}
|
|
1579
1585
|
// ../../node_modules/lodash-es/_castPath.js
|
|
1580
|
-
function
|
|
1581
|
-
return
|
|
1586
|
+
function Nr(e, t) {
|
|
1587
|
+
return Zt(e) ? e : Qn(e, t) ? [e] : jr(Mr(e));
|
|
1582
1588
|
}
|
|
1583
1589
|
// ../../node_modules/lodash-es/_toKey.js
|
|
1584
|
-
var
|
|
1585
|
-
function
|
|
1586
|
-
if (typeof e == "string" ||
|
|
1590
|
+
var Pr = 1 / 0;
|
|
1591
|
+
function Fr(e) {
|
|
1592
|
+
if (typeof e == "string" || Yt(e)) return e;
|
|
1587
1593
|
var t = e + "";
|
|
1588
|
-
return t == "0" && 1 / e == -
|
|
1594
|
+
return t == "0" && 1 / e == -Pr ? "-0" : t;
|
|
1589
1595
|
}
|
|
1590
1596
|
// ../../node_modules/lodash-es/_baseGet.js
|
|
1591
|
-
function
|
|
1592
|
-
t =
|
|
1593
|
-
for (var n = 0, r = t.length; e != null && n < r;) e = e[
|
|
1597
|
+
function Ir(e, t) {
|
|
1598
|
+
t = Nr(t, e);
|
|
1599
|
+
for (var n = 0, r = t.length; e != null && n < r;) e = e[Fr(t[n++])];
|
|
1594
1600
|
return n && n == r ? e : void 0;
|
|
1595
1601
|
}
|
|
1596
1602
|
// ../../node_modules/lodash-es/get.js
|
|
1597
|
-
function
|
|
1598
|
-
var r = e == null ? void 0 :
|
|
1603
|
+
function Lr(e, t, n) {
|
|
1604
|
+
var r = e == null ? void 0 : Ir(e, t);
|
|
1599
1605
|
return r === void 0 ? n : r;
|
|
1600
1606
|
}
|
|
1601
1607
|
// ../../node_modules/lodash-es/_arrayPush.js
|
|
1602
|
-
function
|
|
1608
|
+
function Rr(e, t) {
|
|
1603
1609
|
for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
|
|
1604
1610
|
return e;
|
|
1605
1611
|
}
|
|
1606
1612
|
// ../../node_modules/lodash-es/_isFlattenable.js
|
|
1607
|
-
var
|
|
1608
|
-
function
|
|
1609
|
-
return
|
|
1613
|
+
var zr = Ft ? Ft.isConcatSpreadable : void 0;
|
|
1614
|
+
function Br(e) {
|
|
1615
|
+
return Zt(e) || Yn(e) || !!(zr && e && e[zr]);
|
|
1610
1616
|
}
|
|
1611
1617
|
// ../../node_modules/lodash-es/_baseFlatten.js
|
|
1612
|
-
function
|
|
1618
|
+
function Vr(e, t, n, r, i) {
|
|
1613
1619
|
var a = -1, o = e.length;
|
|
1614
|
-
for (n ||=
|
|
1620
|
+
for (n ||= Br, i ||= []; ++a < o;) {
|
|
1615
1621
|
var s = e[a];
|
|
1616
|
-
t > 0 && n(s) ? t > 1 ?
|
|
1622
|
+
t > 0 && n(s) ? t > 1 ? Vr(s, t - 1, n, r, i) : Rr(i, s) : r || (i[i.length] = s);
|
|
1617
1623
|
}
|
|
1618
1624
|
return i;
|
|
1619
1625
|
}
|
|
1620
1626
|
// ../../node_modules/lodash-es/flatten.js
|
|
1621
|
-
function
|
|
1622
|
-
return e != null && e.length ?
|
|
1627
|
+
function Hr(e) {
|
|
1628
|
+
return e != null && e.length ? Vr(e, 1) : [];
|
|
1623
1629
|
}
|
|
1624
1630
|
// ../../node_modules/lodash-es/_flatRest.js
|
|
1625
|
-
function
|
|
1626
|
-
return
|
|
1631
|
+
function Ur(e) {
|
|
1632
|
+
return Mn(Vn(e, void 0, Hr), e + "");
|
|
1627
1633
|
}
|
|
1628
1634
|
// ../../node_modules/lodash-es/_baseHasIn.js
|
|
1629
|
-
function
|
|
1635
|
+
function Wr(e, t) {
|
|
1630
1636
|
return e != null && t in Object(e);
|
|
1631
1637
|
}
|
|
1632
1638
|
// ../../node_modules/lodash-es/_hasPath.js
|
|
1633
|
-
function
|
|
1634
|
-
t =
|
|
1639
|
+
function Gr(e, t, n) {
|
|
1640
|
+
t = Nr(t, e);
|
|
1635
1641
|
for (var r = -1, i = t.length, a = !1; ++r < i;) {
|
|
1636
|
-
var o =
|
|
1642
|
+
var o = Fr(t[r]);
|
|
1637
1643
|
if (!(a = e != null && n(e, o))) break;
|
|
1638
1644
|
e = e[o];
|
|
1639
1645
|
}
|
|
1640
|
-
return a || ++r != i ? a : (i = e == null ? 0 : e.length, !!i &&
|
|
1646
|
+
return a || ++r != i ? a : (i = e == null ? 0 : e.length, !!i && Un(i) && Fn(o, i) && (Zt(e) || Yn(e)));
|
|
1641
1647
|
}
|
|
1642
1648
|
// ../../node_modules/lodash-es/hasIn.js
|
|
1643
|
-
function
|
|
1644
|
-
return e != null &&
|
|
1649
|
+
function Kr(e, t) {
|
|
1650
|
+
return e != null && Gr(e, t, Wr);
|
|
1645
1651
|
}
|
|
1646
1652
|
// ../../node_modules/lodash-es/_baseSet.js
|
|
1647
|
-
function
|
|
1648
|
-
if (!
|
|
1649
|
-
t =
|
|
1653
|
+
function qr(e, t, n, r) {
|
|
1654
|
+
if (!nn(e)) return e;
|
|
1655
|
+
t = Nr(t, e);
|
|
1650
1656
|
for (var i = -1, a = t.length, o = a - 1, s = e; s != null && ++i < a;) {
|
|
1651
|
-
var c =
|
|
1657
|
+
var c = Fr(t[i]), l = n;
|
|
1652
1658
|
if (c === "__proto__" || c === "constructor" || c === "prototype") return e;
|
|
1653
1659
|
if (i != o) {
|
|
1654
1660
|
var u = s[c];
|
|
1655
|
-
l = r ? r(u, c, s) : void 0, l === void 0 && (l =
|
|
1661
|
+
l = r ? r(u, c, s) : void 0, l === void 0 && (l = nn(u) ? u : Fn(t[i + 1]) ? [] : {});
|
|
1656
1662
|
}
|
|
1657
|
-
|
|
1663
|
+
zn(s, c, l), s = s[c];
|
|
1658
1664
|
}
|
|
1659
1665
|
return e;
|
|
1660
1666
|
}
|
|
1661
1667
|
// ../../node_modules/lodash-es/_basePickBy.js
|
|
1662
|
-
function
|
|
1668
|
+
function Jr(e, t, n) {
|
|
1663
1669
|
for (var r = -1, i = t.length, a = {}; ++r < i;) {
|
|
1664
|
-
var o = t[r], s =
|
|
1665
|
-
n(s, o) &&
|
|
1670
|
+
var o = t[r], s = Ir(e, o);
|
|
1671
|
+
n(s, o) && qr(a, Nr(o, e), s);
|
|
1666
1672
|
}
|
|
1667
1673
|
return a;
|
|
1668
1674
|
}
|
|
1669
1675
|
// ../../node_modules/lodash-es/_basePick.js
|
|
1670
|
-
function
|
|
1671
|
-
return
|
|
1672
|
-
return
|
|
1676
|
+
function Yr(e, t) {
|
|
1677
|
+
return Jr(e, t, function(t, n) {
|
|
1678
|
+
return Kr(e, n);
|
|
1673
1679
|
});
|
|
1674
1680
|
}
|
|
1675
1681
|
// ../../node_modules/lodash-es/pick.js
|
|
1676
|
-
var
|
|
1677
|
-
return e == null ? {} :
|
|
1678
|
-
}),
|
|
1682
|
+
var Xr = Ur(function(e, t) {
|
|
1683
|
+
return e == null ? {} : Yr(e, t);
|
|
1684
|
+
}), Zr = (e) => (t, n) => Qr(t, n, A(e)), Qr = (e, t, n) => Lr(n, e, e).replace(/\{(\w+)\}/g, (e, n) => `${t?.[n] ?? `{${n}}`}`), $r = (e) => ({
|
|
1679
1685
|
lang: t(() => A(e)?.locale ?? De.locale),
|
|
1680
1686
|
locale: f(e) ? e : T(e),
|
|
1681
|
-
t:
|
|
1682
|
-
}),
|
|
1687
|
+
t: Zr(e)
|
|
1688
|
+
}), ei = (e) => $r(t(() => {
|
|
1683
1689
|
if (e) return A(e);
|
|
1684
1690
|
let { language: t, langMaps: n } = ke;
|
|
1685
1691
|
return n[t] || De;
|
|
1686
|
-
})),
|
|
1692
|
+
})), ti = /* @__PURE__ */ Te((/* @__PURE__ */ Se(((e, t, n) => {
|
|
1687
1693
|
(function(n, r) {
|
|
1688
1694
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
|
|
1689
1695
|
})(n, (function() {
|
|
@@ -1978,41 +1984,41 @@ var Yr = Hr(function(e, t) {
|
|
|
1978
1984
|
}, w.en = b[y], w.Ls = b, w.p = {}, w;
|
|
1979
1985
|
}));
|
|
1980
1986
|
})))(), 1);
|
|
1981
|
-
function
|
|
1982
|
-
let n = (0,
|
|
1987
|
+
function ni(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
1988
|
+
let n = (0, ti.default)(e);
|
|
1983
1989
|
return n.isValid() ? n.format(t) : "";
|
|
1984
1990
|
}
|
|
1985
|
-
var
|
|
1986
|
-
let e = (0,
|
|
1991
|
+
var ri = () => {
|
|
1992
|
+
let e = (0, ti.default)();
|
|
1987
1993
|
return {
|
|
1988
1994
|
startTime: e.subtract(7, "day").startOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
|
1989
1995
|
endTime: e.endOf("day").format("YYYY-MM-DD HH:mm:ss")
|
|
1990
1996
|
};
|
|
1991
|
-
},
|
|
1997
|
+
}, ii = (e) => {
|
|
1992
1998
|
if (e == null || e === "") return e;
|
|
1993
|
-
let t = (0,
|
|
1999
|
+
let t = (0, ti.default)(e);
|
|
1994
2000
|
return t.isValid() ? t.format("YYYY-MM-DDTHH:mm:ss.SSSZ") : e;
|
|
1995
|
-
},
|
|
2001
|
+
}, ai = (e, t) => {
|
|
1996
2002
|
if (!e) return e;
|
|
1997
2003
|
let n = { ...e };
|
|
1998
2004
|
for (let e of t) {
|
|
1999
2005
|
let t = n[e];
|
|
2000
2006
|
if (t != null && t !== "") {
|
|
2001
|
-
if (Array.isArray(t)) n[e] = t.map(
|
|
2007
|
+
if (Array.isArray(t)) n[e] = t.map(ii);
|
|
2002
2008
|
else if (typeof t == "string") try {
|
|
2003
2009
|
let r = JSON.parse(t);
|
|
2004
|
-
n[e] = Array.isArray(r) ? JSON.stringify(r.map(
|
|
2010
|
+
n[e] = Array.isArray(r) ? JSON.stringify(r.map(ii)) : ii(t);
|
|
2005
2011
|
} catch {
|
|
2006
|
-
n[e] =
|
|
2012
|
+
n[e] = ii(t);
|
|
2007
2013
|
}
|
|
2008
|
-
else n[e] =
|
|
2014
|
+
else n[e] = ii(t);
|
|
2009
2015
|
}
|
|
2010
2016
|
}
|
|
2011
2017
|
return n;
|
|
2012
|
-
},
|
|
2018
|
+
}, oi = (e, t = {}) => async () => (await e(t)).map((e) => ({
|
|
2013
2019
|
label: e.name,
|
|
2014
2020
|
value: e.value
|
|
2015
|
-
})),
|
|
2021
|
+
})), si = (e, t = {}) => {
|
|
2016
2022
|
let { multiple: n = !1, immediate: r = !1 } = typeof t == "boolean" ? { multiple: t } : t || {}, i = w({
|
|
2017
2023
|
name: "VxeSelect",
|
|
2018
2024
|
props: {
|
|
@@ -2035,7 +2041,7 @@ var ni = () => {
|
|
|
2035
2041
|
return i.events = { focus: a }, r && a(), i;
|
|
2036
2042
|
};
|
|
2037
2043
|
// src/file-flow/DownloadCenter/src/config/filters.js
|
|
2038
|
-
function
|
|
2044
|
+
function ci({ t: e, formData: t }) {
|
|
2039
2045
|
return [
|
|
2040
2046
|
{
|
|
2041
2047
|
span: 6,
|
|
@@ -2090,19 +2096,19 @@ function si({ t: e, formData: t }) {
|
|
|
2090
2096
|
span: 6,
|
|
2091
2097
|
field: "bizKey",
|
|
2092
2098
|
title: e("gsc.fileFlow.bizKey"),
|
|
2093
|
-
itemRender: oi(
|
|
2099
|
+
itemRender: si(oi(kt, { like: "" }))
|
|
2094
2100
|
},
|
|
2095
2101
|
{
|
|
2096
2102
|
span: 6,
|
|
2097
2103
|
field: "bizScope",
|
|
2098
2104
|
title: e("gsc.fileFlow.bizScope"),
|
|
2099
|
-
itemRender: oi(
|
|
2105
|
+
itemRender: si(oi(At, { like: "" }))
|
|
2100
2106
|
},
|
|
2101
2107
|
{
|
|
2102
2108
|
span: 6,
|
|
2103
2109
|
field: "status",
|
|
2104
2110
|
title: e("gsc.fileFlow.status"),
|
|
2105
|
-
itemRender: oi(
|
|
2111
|
+
itemRender: si(oi(jt, { like: "" }))
|
|
2106
2112
|
},
|
|
2107
2113
|
{
|
|
2108
2114
|
span: 6,
|
|
@@ -2138,7 +2144,7 @@ function si({ t: e, formData: t }) {
|
|
|
2138
2144
|
];
|
|
2139
2145
|
}
|
|
2140
2146
|
// src/file-flow/DownloadCenter/src/config/columns.js
|
|
2141
|
-
function
|
|
2147
|
+
function li(e) {
|
|
2142
2148
|
return [
|
|
2143
2149
|
{
|
|
2144
2150
|
field: "originalFilename",
|
|
@@ -2168,13 +2174,13 @@ function ci(e) {
|
|
|
2168
2174
|
field: "createdDate",
|
|
2169
2175
|
title: e("gsc.fileFlow.createdDate"),
|
|
2170
2176
|
minWidth: 200,
|
|
2171
|
-
formatter: ({ cellValue: e }) => e ?
|
|
2177
|
+
formatter: ({ cellValue: e }) => e ? ni(e) : ""
|
|
2172
2178
|
},
|
|
2173
2179
|
{
|
|
2174
2180
|
field: "endDate",
|
|
2175
2181
|
title: e("gsc.fileFlow.endDate"),
|
|
2176
2182
|
minWidth: 200,
|
|
2177
|
-
formatter: ({ cellValue: e }) => e ?
|
|
2183
|
+
formatter: ({ cellValue: e }) => e ? ni(e) : ""
|
|
2178
2184
|
},
|
|
2179
2185
|
{
|
|
2180
2186
|
field: "createdBy",
|
|
@@ -2202,7 +2208,7 @@ function ci(e) {
|
|
|
2202
2208
|
];
|
|
2203
2209
|
}
|
|
2204
2210
|
// src/file-flow/DownloadCenter/src/config/logColumns.js
|
|
2205
|
-
function
|
|
2211
|
+
function ui(e) {
|
|
2206
2212
|
return [
|
|
2207
2213
|
{
|
|
2208
2214
|
field: "id",
|
|
@@ -2225,7 +2231,7 @@ function li(e) {
|
|
|
2225
2231
|
field: "changeTime",
|
|
2226
2232
|
title: e("gsc.fileFlow.changeTime"),
|
|
2227
2233
|
width: 180,
|
|
2228
|
-
formatter: ({ cellValue: e }) => e ?
|
|
2234
|
+
formatter: ({ cellValue: e }) => e ? ni(e) : ""
|
|
2229
2235
|
},
|
|
2230
2236
|
{
|
|
2231
2237
|
field: "step",
|
|
@@ -2234,7 +2240,7 @@ function li(e) {
|
|
|
2234
2240
|
];
|
|
2235
2241
|
}
|
|
2236
2242
|
// src/file-flow/DownloadCenter/src/config/schema.js
|
|
2237
|
-
function
|
|
2243
|
+
function di(e) {
|
|
2238
2244
|
return {
|
|
2239
2245
|
items: [{
|
|
2240
2246
|
field: "reason",
|
|
@@ -2269,14 +2275,14 @@ function ui(e) {
|
|
|
2269
2275
|
};
|
|
2270
2276
|
}
|
|
2271
2277
|
// \0plugin-vue:export-helper
|
|
2272
|
-
var
|
|
2278
|
+
var fi = (e, t) => {
|
|
2273
2279
|
let n = e.__vccOpts || e;
|
|
2274
2280
|
for (let [e, r] of t) n[e] = r;
|
|
2275
2281
|
return n;
|
|
2276
|
-
},
|
|
2282
|
+
}, pi = { class: "flex items-center" }, mi = {
|
|
2277
2283
|
class: "gsc-progress-wrapper",
|
|
2278
2284
|
style: { width: "100px" }
|
|
2279
|
-
},
|
|
2285
|
+
}, hi = { class: "gsc-progress" }, gi = /*#__PURE__*/ fi({
|
|
2280
2286
|
__name: "progress",
|
|
2281
2287
|
props: {
|
|
2282
2288
|
row: Object,
|
|
@@ -2348,7 +2354,7 @@ var di = (e, t) => {
|
|
|
2348
2354
|
}, 3e3);
|
|
2349
2355
|
}), x(() => {
|
|
2350
2356
|
l();
|
|
2351
|
-
}), (e, t) => (C(), i("div",
|
|
2357
|
+
}), (e, t) => (C(), i("div", pi, [a("div", mi, [a("div", hi, [a("div", {
|
|
2352
2358
|
class: "gsc-progress-bar",
|
|
2353
2359
|
style: v({
|
|
2354
2360
|
width: `${o.percent}%`,
|
|
@@ -2360,7 +2366,7 @@ var di = (e, t) => {
|
|
|
2360
2366
|
style: v({ color: f.value })
|
|
2361
2367
|
}, O(o.percent) + "% ", 5)) : r("", !0)]), a("div", { style: v([{ "margin-left": "10px" }, { width: d.value ? "125px" : "0px" }]) }, O(d.value), 5)]));
|
|
2362
2368
|
}
|
|
2363
|
-
}, [["__scopeId", "data-v-4e9c4a96"]]),
|
|
2369
|
+
}, [["__scopeId", "data-v-4e9c4a96"]]), _i = /*#__PURE__*/ fi({
|
|
2364
2370
|
__name: "InterruptModal",
|
|
2365
2371
|
props: {
|
|
2366
2372
|
modelValue: {
|
|
@@ -2449,7 +2455,7 @@ var di = (e, t) => {
|
|
|
2449
2455
|
"title"
|
|
2450
2456
|
]));
|
|
2451
2457
|
}
|
|
2452
|
-
}, [["__scopeId", "data-v-a3ec83f3"]]),
|
|
2458
|
+
}, [["__scopeId", "data-v-a3ec83f3"]]), vi = { class: "gsc-grid-container gsc-shared-service" }, yi = ["onDblclick"], bi = ["onClick"], xi = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscDownloadCenter" }, {
|
|
2453
2459
|
__name: "index",
|
|
2454
2460
|
props: {
|
|
2455
2461
|
locale: { type: Object },
|
|
@@ -2459,10 +2465,10 @@ var di = (e, t) => {
|
|
|
2459
2465
|
}
|
|
2460
2466
|
},
|
|
2461
2467
|
setup(e) {
|
|
2462
|
-
let { t: o } =
|
|
2468
|
+
let { t: o } = ei(e.locale), l = T(!1), u = T(!1), d = T(), f = t(() => li(o)), p = t(() => ui(o)), h = t(() => di(o)), g = t(() => A(l) ? o("gsc.fileFlow.interruptReason") : o("gsc.fileFlow.logs")), { startTime: _, endTime: v } = ri(), y = w({
|
|
2463
2469
|
startTime: _,
|
|
2464
2470
|
endTime: v
|
|
2465
|
-
}), b =
|
|
2471
|
+
}), b = ci({
|
|
2466
2472
|
t: o,
|
|
2467
2473
|
formData: y
|
|
2468
2474
|
}), x = w(j({
|
|
@@ -2480,7 +2486,7 @@ var di = (e, t) => {
|
|
|
2480
2486
|
items: h.value.items
|
|
2481
2487
|
}), k = {
|
|
2482
2488
|
submit() {
|
|
2483
|
-
D.value || (D.value = !0,
|
|
2489
|
+
D.value || (D.value = !0, Ot({ ...ee.data }).then(() => {
|
|
2484
2490
|
I.modal.message({
|
|
2485
2491
|
content: o("gsc.common.success"),
|
|
2486
2492
|
status: "success"
|
|
@@ -2538,7 +2544,7 @@ var di = (e, t) => {
|
|
|
2538
2544
|
return re({
|
|
2539
2545
|
pageNum: e.currentPage,
|
|
2540
2546
|
pageSize: e.pageSize,
|
|
2541
|
-
...
|
|
2547
|
+
...ai(n || {}, ["startTime", "endTime"])
|
|
2542
2548
|
});
|
|
2543
2549
|
} }
|
|
2544
2550
|
},
|
|
@@ -2560,10 +2566,10 @@ var di = (e, t) => {
|
|
|
2560
2566
|
};
|
|
2561
2567
|
}
|
|
2562
2568
|
function re(e) {
|
|
2563
|
-
return
|
|
2569
|
+
return wt(e).then((e) => e);
|
|
2564
2570
|
}
|
|
2565
2571
|
let ie = (e) => new Promise((t, n) => {
|
|
2566
|
-
|
|
2572
|
+
Dt({ exportId: e?.id }).then((e) => {
|
|
2567
2573
|
let n = e.result;
|
|
2568
2574
|
t(n), n.status && n.status !== "Initialize" && n.status !== "Inprogress" && d.value?.commitProxy("reload");
|
|
2569
2575
|
}).catch((e) => {
|
|
@@ -2571,19 +2577,19 @@ var di = (e, t) => {
|
|
|
2571
2577
|
});
|
|
2572
2578
|
});
|
|
2573
2579
|
function N(e) {
|
|
2574
|
-
|
|
2580
|
+
Tt({ exportId: e }).then((e) => {
|
|
2575
2581
|
let t = e.result;
|
|
2576
2582
|
t && window.open(t);
|
|
2577
2583
|
});
|
|
2578
2584
|
}
|
|
2579
2585
|
let ae = (e) => {
|
|
2580
|
-
|
|
2586
|
+
Et({ exportId: e }).then((e) => {
|
|
2581
2587
|
S.data = e.result || [], u.value = !0, l.value = !1;
|
|
2582
2588
|
});
|
|
2583
2589
|
}, oe = (e) => {
|
|
2584
2590
|
u.value = !0, E.downloadId = e.id, E.reason = "", E.operator = "", l.value = !0;
|
|
2585
2591
|
};
|
|
2586
|
-
return (t, f) => (C(), i("div",
|
|
2592
|
+
return (t, f) => (C(), i("div", vi, [c(A(he), m({
|
|
2587
2593
|
ref_key: "gridRef",
|
|
2588
2594
|
ref: d
|
|
2589
2595
|
}, {
|
|
@@ -2593,15 +2599,15 @@ var di = (e, t) => {
|
|
|
2593
2599
|
originalFilename: M(({ row: e }) => [a("span", {
|
|
2594
2600
|
class: "template_click",
|
|
2595
2601
|
onDblclick: (t) => N(e.id)
|
|
2596
|
-
}, O(e.originalFilename), 41,
|
|
2597
|
-
status: M(({ row: e }) => [c(
|
|
2602
|
+
}, O(e.originalFilename), 41, yi)]),
|
|
2603
|
+
status: M(({ row: e }) => [c(gi, {
|
|
2598
2604
|
row: e,
|
|
2599
2605
|
refresh: ie
|
|
2600
2606
|
}, null, 8, ["row"])]),
|
|
2601
2607
|
statusLogs: M(({ row: e }) => [a("span", {
|
|
2602
2608
|
class: "template_click cblue",
|
|
2603
2609
|
onClick: (t) => ae(e.id)
|
|
2604
|
-
}, "Status Logs", 8,
|
|
2610
|
+
}, "Status Logs", 8, bi)]),
|
|
2605
2611
|
actions: M(({ row: e }) => [e.status === 1 ? (C(), n(A(P), {
|
|
2606
2612
|
key: 0,
|
|
2607
2613
|
status: "error",
|
|
@@ -2611,7 +2617,7 @@ var di = (e, t) => {
|
|
|
2611
2617
|
_: 1
|
|
2612
2618
|
}, 8, ["onClick"])) : r("", !0)]),
|
|
2613
2619
|
_: 1
|
|
2614
|
-
}, 16), c(
|
|
2620
|
+
}, 16), c(_i, {
|
|
2615
2621
|
modelValue: u.value,
|
|
2616
2622
|
"onUpdate:modelValue": f[0] ||= (e) => u.value = e,
|
|
2617
2623
|
title: g.value,
|
|
@@ -2629,7 +2635,7 @@ var di = (e, t) => {
|
|
|
2629
2635
|
"log-grid-options"
|
|
2630
2636
|
])]));
|
|
2631
2637
|
}
|
|
2632
|
-
}), [["__scopeId", "data-v-6b655359"]])),
|
|
2638
|
+
}), [["__scopeId", "data-v-6b655359"]])), Si = {
|
|
2633
2639
|
list: "/upload/admin/page",
|
|
2634
2640
|
download: "/upload/single/generateDownLoadUrl",
|
|
2635
2641
|
uploadStatusLogsList: "/upload/admin/statusLogs",
|
|
@@ -2639,11 +2645,11 @@ var di = (e, t) => {
|
|
|
2639
2645
|
bizKeyDropDown: "/upload/admin/bizKeyDropDown",
|
|
2640
2646
|
bizScopeDropDown: "/upload/admin/bizScopeDropDown",
|
|
2641
2647
|
statusEnum: "/upload/admin/statusEnum"
|
|
2642
|
-
},
|
|
2648
|
+
}, Ci = async (e) => {
|
|
2643
2649
|
try {
|
|
2644
|
-
let t = await
|
|
2650
|
+
let t = await St({
|
|
2645
2651
|
method: "POST",
|
|
2646
|
-
url:
|
|
2652
|
+
url: Si.list,
|
|
2647
2653
|
payload: e
|
|
2648
2654
|
});
|
|
2649
2655
|
return {
|
|
@@ -2656,34 +2662,34 @@ var di = (e, t) => {
|
|
|
2656
2662
|
status: "error"
|
|
2657
2663
|
});
|
|
2658
2664
|
}
|
|
2659
|
-
},
|
|
2665
|
+
}, wi = ({ params: e }) => St({
|
|
2660
2666
|
method: "GET",
|
|
2661
|
-
url:
|
|
2667
|
+
url: Si.download,
|
|
2662
2668
|
payload: e
|
|
2663
|
-
}),
|
|
2669
|
+
}), Ti = (e) => St({
|
|
2664
2670
|
method: "GET",
|
|
2665
|
-
url:
|
|
2671
|
+
url: Si.uploadStatusLogsList,
|
|
2666
2672
|
payload: e
|
|
2667
|
-
}),
|
|
2673
|
+
}), Ei = (e) => St({
|
|
2668
2674
|
method: "GET",
|
|
2669
|
-
url:
|
|
2675
|
+
url: Si.uploadStatus,
|
|
2670
2676
|
payload: e
|
|
2671
|
-
}),
|
|
2677
|
+
}), Di = (e) => St({
|
|
2672
2678
|
method: "PUT",
|
|
2673
|
-
url:
|
|
2679
|
+
url: Si.retry,
|
|
2674
2680
|
payload: e
|
|
2675
|
-
}),
|
|
2681
|
+
}), Oi = (e = {}) => {
|
|
2676
2682
|
let t = e?.params ?? e;
|
|
2677
|
-
return
|
|
2683
|
+
return St({
|
|
2678
2684
|
method: "POST",
|
|
2679
|
-
url:
|
|
2685
|
+
url: Si.uploadInterrupt,
|
|
2680
2686
|
payload: t
|
|
2681
2687
|
});
|
|
2682
|
-
},
|
|
2688
|
+
}, ki = async (e) => {
|
|
2683
2689
|
try {
|
|
2684
|
-
return (await
|
|
2690
|
+
return (await St({
|
|
2685
2691
|
method: "POST",
|
|
2686
|
-
url:
|
|
2692
|
+
url: Si.bizKeyDropDown,
|
|
2687
2693
|
payload: e
|
|
2688
2694
|
}))?.result || [];
|
|
2689
2695
|
} catch (e) {
|
|
@@ -2692,11 +2698,11 @@ var di = (e, t) => {
|
|
|
2692
2698
|
status: "error"
|
|
2693
2699
|
});
|
|
2694
2700
|
}
|
|
2695
|
-
},
|
|
2701
|
+
}, Ai = async (e) => {
|
|
2696
2702
|
try {
|
|
2697
|
-
return (await
|
|
2703
|
+
return (await St({
|
|
2698
2704
|
method: "POST",
|
|
2699
|
-
url:
|
|
2705
|
+
url: Si.bizScopeDropDown,
|
|
2700
2706
|
payload: e
|
|
2701
2707
|
}))?.result || [];
|
|
2702
2708
|
} catch (e) {
|
|
@@ -2707,7 +2713,7 @@ var di = (e, t) => {
|
|
|
2707
2713
|
}
|
|
2708
2714
|
};
|
|
2709
2715
|
// src/file-flow/UploadCenter/src/config/filters.js
|
|
2710
|
-
function
|
|
2716
|
+
function ji({ t: e, formData: t }) {
|
|
2711
2717
|
return [
|
|
2712
2718
|
{
|
|
2713
2719
|
span: 6,
|
|
@@ -2762,13 +2768,13 @@ function Ai({ t: e, formData: t }) {
|
|
|
2762
2768
|
span: 6,
|
|
2763
2769
|
field: "bizKey",
|
|
2764
2770
|
title: e("gsc.fileFlow.bizKey"),
|
|
2765
|
-
itemRender: oi(
|
|
2771
|
+
itemRender: si(oi(ki, { like: "" }))
|
|
2766
2772
|
},
|
|
2767
2773
|
{
|
|
2768
2774
|
span: 6,
|
|
2769
2775
|
field: "bizScope",
|
|
2770
2776
|
title: e("gsc.fileFlow.bizScope"),
|
|
2771
|
-
itemRender: oi(
|
|
2777
|
+
itemRender: si(oi(Ai, { like: "" }))
|
|
2772
2778
|
},
|
|
2773
2779
|
{
|
|
2774
2780
|
span: 6,
|
|
@@ -2830,7 +2836,7 @@ function Ai({ t: e, formData: t }) {
|
|
|
2830
2836
|
];
|
|
2831
2837
|
}
|
|
2832
2838
|
// src/file-flow/UploadCenter/src/config/columns.js
|
|
2833
|
-
function
|
|
2839
|
+
function Mi(e) {
|
|
2834
2840
|
return [
|
|
2835
2841
|
{
|
|
2836
2842
|
field: "originalFilename",
|
|
@@ -2860,7 +2866,7 @@ function ji(e) {
|
|
|
2860
2866
|
field: "createdDate",
|
|
2861
2867
|
title: e("gsc.fileFlow.createdDate"),
|
|
2862
2868
|
minWidth: 200,
|
|
2863
|
-
formatter: ({ cellValue: e }) => e ?
|
|
2869
|
+
formatter: ({ cellValue: e }) => e ? ni(e) : ""
|
|
2864
2870
|
},
|
|
2865
2871
|
{
|
|
2866
2872
|
field: "createdBy",
|
|
@@ -2889,7 +2895,7 @@ function ji(e) {
|
|
|
2889
2895
|
];
|
|
2890
2896
|
}
|
|
2891
2897
|
// src/file-flow/UploadCenter/src/config/logColumns.js
|
|
2892
|
-
function
|
|
2898
|
+
function Ni(e) {
|
|
2893
2899
|
return [
|
|
2894
2900
|
{
|
|
2895
2901
|
field: "id",
|
|
@@ -2911,7 +2917,7 @@ function Mi(e) {
|
|
|
2911
2917
|
field: "changeTime",
|
|
2912
2918
|
title: e("gsc.fileFlow.changeTime"),
|
|
2913
2919
|
width: 180,
|
|
2914
|
-
formatter: ({ cellValue: e }) => e ?
|
|
2920
|
+
formatter: ({ cellValue: e }) => e ? ni(e) : ""
|
|
2915
2921
|
},
|
|
2916
2922
|
{
|
|
2917
2923
|
field: "step",
|
|
@@ -2920,7 +2926,7 @@ function Mi(e) {
|
|
|
2920
2926
|
];
|
|
2921
2927
|
}
|
|
2922
2928
|
// src/file-flow/UploadCenter/src/config/statusColumns.js
|
|
2923
|
-
function
|
|
2929
|
+
function Pi(e) {
|
|
2924
2930
|
return [
|
|
2925
2931
|
{
|
|
2926
2932
|
field: "sheetName",
|
|
@@ -2950,7 +2956,7 @@ function Ni(e) {
|
|
|
2950
2956
|
];
|
|
2951
2957
|
}
|
|
2952
2958
|
// src/file-flow/UploadCenter/src/config/schema.js
|
|
2953
|
-
function
|
|
2959
|
+
function Fi(e) {
|
|
2954
2960
|
return {
|
|
2955
2961
|
items: [{
|
|
2956
2962
|
field: "reason",
|
|
@@ -2985,7 +2991,7 @@ function Pi(e) {
|
|
|
2985
2991
|
};
|
|
2986
2992
|
}
|
|
2987
2993
|
// src/file-flow/UploadCenter/src/index.vue
|
|
2988
|
-
var
|
|
2994
|
+
var Ii = { class: "gsc-grid-container gsc-shared-service" }, Li = ["onDblclick"], Ri = ["onClick"], zi = ["onClick"], Bi = L(/* @__PURE__ */ fi({
|
|
2989
2995
|
__name: "index",
|
|
2990
2996
|
props: {
|
|
2991
2997
|
locale: { type: Object },
|
|
@@ -2995,10 +3001,10 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
2995
3001
|
}
|
|
2996
3002
|
},
|
|
2997
3003
|
setup(e) {
|
|
2998
|
-
let { t: o } =
|
|
3004
|
+
let { t: o } = ei(e.locale), l = T(!1), u = T(!1), d = T(), f = t(() => Mi(o)), p = t(() => Ni(o)), h = t(() => Pi(o)), g = t(() => Fi(o)), _ = T(""), v = t(() => A(l) ? o("gsc.fileFlow.interruptReason") : A(_)), { startTime: y, endTime: b } = ri(), x = w({
|
|
2999
3005
|
startTime: y,
|
|
3000
3006
|
endTime: b
|
|
3001
|
-
}), S =
|
|
3007
|
+
}), S = ji({
|
|
3002
3008
|
t: o,
|
|
3003
3009
|
formData: x
|
|
3004
3010
|
}), E = w(ie({
|
|
@@ -3016,7 +3022,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3016
3022
|
items: g.value.items
|
|
3017
3023
|
}), ne = {
|
|
3018
3024
|
submit() {
|
|
3019
|
-
k.value || (k.value = !0,
|
|
3025
|
+
k.value || (k.value = !0, Oi({ ...j.data }).then(() => {
|
|
3020
3026
|
I.modal.message({
|
|
3021
3027
|
content: o("gsc.common.success"),
|
|
3022
3028
|
status: "success"
|
|
@@ -3077,7 +3083,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3077
3083
|
return ae({
|
|
3078
3084
|
pageNum: e.currentPage,
|
|
3079
3085
|
pageSize: e.pageSize,
|
|
3080
|
-
...
|
|
3086
|
+
...ai(n || {}, ["startTime", "endTime"])
|
|
3081
3087
|
});
|
|
3082
3088
|
} }
|
|
3083
3089
|
},
|
|
@@ -3099,16 +3105,16 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3099
3105
|
};
|
|
3100
3106
|
}
|
|
3101
3107
|
function ae(e) {
|
|
3102
|
-
return
|
|
3108
|
+
return Ci(e).then((e) => e);
|
|
3103
3109
|
}
|
|
3104
3110
|
function oe(e) {
|
|
3105
|
-
|
|
3111
|
+
wi({ params: { fileId: e } }).then((e) => {
|
|
3106
3112
|
let t = e.result;
|
|
3107
3113
|
t && window.open(t);
|
|
3108
3114
|
});
|
|
3109
3115
|
}
|
|
3110
3116
|
let se = (e) => {
|
|
3111
|
-
_.value = e.originalFilename, D.data = [], D.columns = A(h),
|
|
3117
|
+
_.value = e.originalFilename, D.data = [], D.columns = A(h), Ei({ fileId: e.fileId }).then((e) => {
|
|
3112
3118
|
D.data = e.result || [], u.value = !0, l.value = !1;
|
|
3113
3119
|
}).catch((e) => {
|
|
3114
3120
|
I.modal.message({
|
|
@@ -3117,11 +3123,11 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3117
3123
|
});
|
|
3118
3124
|
});
|
|
3119
3125
|
}, F = (e) => {
|
|
3120
|
-
_.value = o("gsc.fileFlow.logs"), D.data = [], D.columns = A(p),
|
|
3126
|
+
_.value = o("gsc.fileFlow.logs"), D.data = [], D.columns = A(p), Ti({ fileId: e }).then((e) => {
|
|
3121
3127
|
D.data = e.result || [], u.value = !0, l.value = !1;
|
|
3122
3128
|
});
|
|
3123
3129
|
}, ce = (e) => {
|
|
3124
|
-
te.value || (te.value = !0,
|
|
3130
|
+
te.value || (te.value = !0, Di({ uploadId: e?.fileId }).then(() => {
|
|
3125
3131
|
I.modal.message({
|
|
3126
3132
|
content: o("gsc.fileFlow.retrySuccess"),
|
|
3127
3133
|
status: "success"
|
|
@@ -3137,7 +3143,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3137
3143
|
}, le = (e) => {
|
|
3138
3144
|
u.value = !0, ee.uploadId = e.fileId, ee.reason = "", ee.operator = "", l.value = !0;
|
|
3139
3145
|
};
|
|
3140
|
-
return (t, f) => (C(), i("div",
|
|
3146
|
+
return (t, f) => (C(), i("div", Ii, [c(A(he), m({
|
|
3141
3147
|
ref_key: "gridRef",
|
|
3142
3148
|
ref: d
|
|
3143
3149
|
}, {
|
|
@@ -3147,15 +3153,15 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3147
3153
|
originalFilename: M(({ row: e }) => [a("span", {
|
|
3148
3154
|
class: "template_click",
|
|
3149
3155
|
onDblclick: (t) => oe(e.fileId)
|
|
3150
|
-
}, O(e.originalFilename), 41,
|
|
3156
|
+
}, O(e.originalFilename), 41, Li)]),
|
|
3151
3157
|
status: M(({ row: e }) => [a("span", {
|
|
3152
3158
|
class: "template_click cblue",
|
|
3153
3159
|
onClick: (t) => se(e)
|
|
3154
|
-
}, O(e.status), 9,
|
|
3160
|
+
}, O(e.status), 9, Ri)]),
|
|
3155
3161
|
statusLogs: M(({ row: e }) => [a("span", {
|
|
3156
3162
|
class: "template_click cblue",
|
|
3157
3163
|
onClick: (t) => F(e.fileId)
|
|
3158
|
-
}, "Status Logs", 8,
|
|
3164
|
+
}, "Status Logs", 8, zi)]),
|
|
3159
3165
|
retry: M(({ row: e }) => [e.status === "Error" ? (C(), n(A(P), {
|
|
3160
3166
|
key: 0,
|
|
3161
3167
|
status: "success",
|
|
@@ -3179,7 +3185,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3179
3185
|
_: 1
|
|
3180
3186
|
}, 8, ["onClick"])) : r("", !0)]),
|
|
3181
3187
|
_: 1
|
|
3182
|
-
}, 16), c(
|
|
3188
|
+
}, 16), c(_i, {
|
|
3183
3189
|
modelValue: u.value,
|
|
3184
3190
|
"onUpdate:modelValue": f[0] ||= (e) => u.value = e,
|
|
3185
3191
|
title: v.value,
|
|
@@ -3197,14 +3203,14 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3197
3203
|
"log-grid-options"
|
|
3198
3204
|
])]));
|
|
3199
3205
|
}
|
|
3200
|
-
}, [["__scopeId", "data-v-4f26e676"]])),
|
|
3206
|
+
}, [["__scopeId", "data-v-4f26e676"]])), Vi = {
|
|
3201
3207
|
preUpload: "/upload/single/pre_upload",
|
|
3202
3208
|
confirmUpload: "/upload/single/confirm_upload/"
|
|
3203
|
-
},
|
|
3209
|
+
}, Hi = async ({ data: e }) => St({
|
|
3204
3210
|
method: "POST",
|
|
3205
|
-
url:
|
|
3211
|
+
url: Vi.preUpload,
|
|
3206
3212
|
payload: e
|
|
3207
|
-
}),
|
|
3213
|
+
}), Ui = async ({ uploadId: e }) => bt.send("PUT", Vi.confirmUpload + e), Wi = async ({ url: e, data: t }) => bt.send("PUT", e, t, { headers: { "Content-Type": "application/octet-stream" } }, !1), Gi = (e) => {
|
|
3208
3214
|
let t = T({
|
|
3209
3215
|
uploadId: "",
|
|
3210
3216
|
url: ""
|
|
@@ -3223,7 +3229,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3223
3229
|
originalFileName: n?.name
|
|
3224
3230
|
};
|
|
3225
3231
|
try {
|
|
3226
|
-
let e = await
|
|
3232
|
+
let e = await Hi({ data: o });
|
|
3227
3233
|
return t.value = JSON.parse(JSON.stringify(e.result)), !0;
|
|
3228
3234
|
} catch (e) {
|
|
3229
3235
|
return I.modal.message({
|
|
@@ -3238,11 +3244,11 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3238
3244
|
r = r.replace(e, "");
|
|
3239
3245
|
}
|
|
3240
3246
|
let o = r && await i(r, e);
|
|
3241
|
-
return o === "ok" ?
|
|
3247
|
+
return o === "ok" ? Ui({ uploadId: n }) : Promise.reject(o);
|
|
3242
3248
|
}, i = (e, t) => new Promise((n, r) => {
|
|
3243
3249
|
let i = new FileReader();
|
|
3244
3250
|
i.readAsArrayBuffer(t), i.onload = () => {
|
|
3245
|
-
|
|
3251
|
+
Wi({
|
|
3246
3252
|
url: e,
|
|
3247
3253
|
data: i.result
|
|
3248
3254
|
}).then(() => {
|
|
@@ -3260,7 +3266,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3260
3266
|
getS3Url: n,
|
|
3261
3267
|
uploadFile: r
|
|
3262
3268
|
};
|
|
3263
|
-
},
|
|
3269
|
+
}, Ki = { class: "gsc-upload-modal" }, qi = { class: "flex items-center gap-8px" }, Ji = { class: "font-600" }, Yi = { class: "text-#666" }, Xi = /*#__PURE__*/ fi({
|
|
3264
3270
|
__name: "upload",
|
|
3265
3271
|
props: {
|
|
3266
3272
|
modelValue: {
|
|
@@ -3282,7 +3288,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3282
3288
|
"update:modelValue"
|
|
3283
3289
|
],
|
|
3284
3290
|
setup(e, { emit: n }) {
|
|
3285
|
-
let r = e, o = n, { t: l } =
|
|
3291
|
+
let r = e, o = n, { t: l } = ei(), u = t(() => r.preUpload || {}), { getS3Url: d, uploadFile: f } = Gi(u), p = T(), m = T([]), h = () => {
|
|
3286
3292
|
m.value = [];
|
|
3287
3293
|
}, g = t(() => {
|
|
3288
3294
|
let e = A(m);
|
|
@@ -3321,7 +3327,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3321
3327
|
let e = p.value;
|
|
3322
3328
|
e && e.submit();
|
|
3323
3329
|
};
|
|
3324
|
-
return (t, n) => (C(), i("div",
|
|
3330
|
+
return (t, n) => (C(), i("div", Ki, [c(A(F), {
|
|
3325
3331
|
modelValue: _.value,
|
|
3326
3332
|
"onUpdate:modelValue": n[1] ||= (e) => _.value = e,
|
|
3327
3333
|
title: A(l)("gsc.fileFlow.upload"),
|
|
@@ -3330,7 +3336,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3330
3336
|
"show-footer": "",
|
|
3331
3337
|
onClose: v
|
|
3332
3338
|
}, {
|
|
3333
|
-
title: M(() => [a("div",
|
|
3339
|
+
title: M(() => [a("div", qi, [n[2] ||= a("div", { class: "i-iconoir:cloud-upload" }, null, -1), a("span", Ji, O(A(l)("gsc.fileFlow.upload")), 1)])]),
|
|
3334
3340
|
default: M(() => [c(A(de), {
|
|
3335
3341
|
ref_key: "refUpload",
|
|
3336
3342
|
ref: p,
|
|
@@ -3342,7 +3348,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3342
3348
|
"before-select-method": y,
|
|
3343
3349
|
"upload-method": b
|
|
3344
3350
|
}, {
|
|
3345
|
-
name: M(({ option: e }) => [a("span",
|
|
3351
|
+
name: M(({ option: e }) => [a("span", Yi, O(e.name), 1)]),
|
|
3346
3352
|
default: M(() => [c(A(P), {
|
|
3347
3353
|
size: e.size,
|
|
3348
3354
|
status: "primary",
|
|
@@ -3376,7 +3382,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3376
3382
|
_: 1
|
|
3377
3383
|
}, 8, ["modelValue", "title"])]));
|
|
3378
3384
|
}
|
|
3379
|
-
}, [["__scopeId", "data-v-2b96f600"]]),
|
|
3385
|
+
}, [["__scopeId", "data-v-2b96f600"]]), Zi = { class: "gsc-shared-service" }, Qi = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscUploadButton" }, {
|
|
3380
3386
|
__name: "index",
|
|
3381
3387
|
props: {
|
|
3382
3388
|
btnProps: { type: Object },
|
|
@@ -3385,15 +3391,15 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3385
3391
|
},
|
|
3386
3392
|
emits: ["ok"],
|
|
3387
3393
|
setup(e, { emit: n }) {
|
|
3388
|
-
let r = e, a = n, { t: o } =
|
|
3389
|
-
return (t, n) => (C(), i("div",
|
|
3394
|
+
let r = e, a = n, { t: o } = ei(r.locale), l = t(() => r.btnProps?.type || "primary"), u = t(() => r.btnProps?.size || "small"), d = T(!1);
|
|
3395
|
+
return (t, n) => (C(), i("div", Zi, [c(A(P), m({
|
|
3390
3396
|
status: l.value,
|
|
3391
3397
|
size: u.value,
|
|
3392
3398
|
"prefix-icon": "vxe-icon-upload"
|
|
3393
3399
|
}, e.btnProps, { onClick: n[0] ||= () => d.value = !0 }), {
|
|
3394
3400
|
default: M(() => [s(O(A(o)("gsc.fileFlow.upload")), 1)]),
|
|
3395
3401
|
_: 1
|
|
3396
|
-
}, 16, ["status", "size"]), c(
|
|
3402
|
+
}, 16, ["status", "size"]), c(Xi, {
|
|
3397
3403
|
modelValue: d.value,
|
|
3398
3404
|
"onUpdate:modelValue": n[1] ||= (e) => d.value = e,
|
|
3399
3405
|
size: u.value,
|
|
@@ -3405,7 +3411,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3405
3411
|
"pre-upload"
|
|
3406
3412
|
])]));
|
|
3407
3413
|
}
|
|
3408
|
-
}), [["__scopeId", "data-v-c5275eb9"]])),
|
|
3414
|
+
}), [["__scopeId", "data-v-c5275eb9"]])), $i = { class: "email-center-form-modal" }, ea = /*#__PURE__*/ fi({
|
|
3409
3415
|
__name: "form",
|
|
3410
3416
|
props: {
|
|
3411
3417
|
modelValue: {
|
|
@@ -3435,7 +3441,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3435
3441
|
},
|
|
3436
3442
|
emits: ["update:modelValue"],
|
|
3437
3443
|
setup(e, { emit: n }) {
|
|
3438
|
-
let r = e, a = n, s = ne(), l = T(), { t: d } =
|
|
3444
|
+
let r = e, a = n, s = ne(), l = T(), { t: d } = ei(), f = (e) => {
|
|
3439
3445
|
let t = r.formEvents?.[e];
|
|
3440
3446
|
typeof t == "function" && t();
|
|
3441
3447
|
}, p = w({
|
|
@@ -3482,7 +3488,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3482
3488
|
};
|
|
3483
3489
|
return re(() => r.modelValue, (e) => {
|
|
3484
3490
|
e ? h(b) : b();
|
|
3485
|
-
}), (t, n) => (C(), i("div",
|
|
3491
|
+
}), (t, n) => (C(), i("div", $i, [c(A(F), {
|
|
3486
3492
|
modelValue: y.value,
|
|
3487
3493
|
"onUpdate:modelValue": n[0] ||= (e) => y.value = e,
|
|
3488
3494
|
resize: "",
|
|
@@ -3517,7 +3523,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3517
3523
|
"title"
|
|
3518
3524
|
])]));
|
|
3519
3525
|
}
|
|
3520
|
-
}, [["__scopeId", "data-v-a964b6c8"]]),
|
|
3526
|
+
}, [["__scopeId", "data-v-a964b6c8"]]), ta = /*#__PURE__*/ fi({
|
|
3521
3527
|
__name: "grid",
|
|
3522
3528
|
props: {
|
|
3523
3529
|
locale: { type: Object },
|
|
@@ -3549,7 +3555,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3549
3555
|
setup(a, { expose: l, emit: d }) {
|
|
3550
3556
|
let f = a, p = d;
|
|
3551
3557
|
I.hasComponent("VxePager") || I.component(ce);
|
|
3552
|
-
let { locale: h, formOptions: g, showAddButton: v, showDeleteButton: y } = f, { t: b } =
|
|
3558
|
+
let { locale: h, formOptions: g, showAddButton: v, showDeleteButton: y } = f, { t: b } = ei(h), x = {
|
|
3553
3559
|
showOverflow: !0,
|
|
3554
3560
|
border: !0,
|
|
3555
3561
|
stripe: !0,
|
|
@@ -3625,7 +3631,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3625
3631
|
pageSize: e.pageSize,
|
|
3626
3632
|
...r,
|
|
3627
3633
|
customerParams: {},
|
|
3628
|
-
params:
|
|
3634
|
+
params: ai(o, i || [])
|
|
3629
3635
|
});
|
|
3630
3636
|
} }
|
|
3631
3637
|
},
|
|
@@ -3771,7 +3777,7 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3771
3777
|
}, [E(ae.value, (e) => ({
|
|
3772
3778
|
name: e,
|
|
3773
3779
|
fn: M((n) => [D(t.$slots, e, _(u(n)), void 0, !0)])
|
|
3774
|
-
}))]), 1040), c(
|
|
3780
|
+
}))]), 1040), c(ea, {
|
|
3775
3781
|
modelValue: j.value,
|
|
3776
3782
|
"onUpdate:modelValue": l[0] ||= (e) => j.value = e,
|
|
3777
3783
|
"form-options": A(g),
|
|
@@ -3786,16 +3792,16 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3786
3792
|
"loading"
|
|
3787
3793
|
])], 64));
|
|
3788
3794
|
}
|
|
3789
|
-
}, [["__scopeId", "data-v-5bb5d7ec"]]),
|
|
3795
|
+
}, [["__scopeId", "data-v-5bb5d7ec"]]), na = {
|
|
3790
3796
|
filters: "/mail/confForm/filters",
|
|
3791
3797
|
dropDownList: "/mail/confForm/dropDownList",
|
|
3792
3798
|
headers: "/mail/table/headers",
|
|
3793
3799
|
data: "/mail/table/data"
|
|
3794
|
-
},
|
|
3800
|
+
}, ra = async (e) => {
|
|
3795
3801
|
try {
|
|
3796
|
-
return (await
|
|
3802
|
+
return (await St({
|
|
3797
3803
|
method: "POST",
|
|
3798
|
-
url:
|
|
3804
|
+
url: na.dropDownList,
|
|
3799
3805
|
payload: e
|
|
3800
3806
|
}))?.result || [];
|
|
3801
3807
|
} catch (e) {
|
|
@@ -3804,11 +3810,11 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3804
3810
|
status: "error"
|
|
3805
3811
|
});
|
|
3806
3812
|
}
|
|
3807
|
-
},
|
|
3813
|
+
}, ia = async (e) => {
|
|
3808
3814
|
try {
|
|
3809
|
-
let t = await
|
|
3815
|
+
let t = await St({
|
|
3810
3816
|
method: "POST",
|
|
3811
|
-
url:
|
|
3817
|
+
url: na.data,
|
|
3812
3818
|
payload: e
|
|
3813
3819
|
});
|
|
3814
3820
|
return {
|
|
@@ -3823,13 +3829,13 @@ var Fi = { class: "gsc-grid-container gsc-shared-service" }, Ii = ["onDblclick"]
|
|
|
3823
3829
|
}
|
|
3824
3830
|
};
|
|
3825
3831
|
// src/email-center/AccountConf/src/config/filters.js
|
|
3826
|
-
function
|
|
3832
|
+
function aa({ t: e, queryParams: t }) {
|
|
3827
3833
|
return [
|
|
3828
3834
|
{
|
|
3829
3835
|
span: 6,
|
|
3830
3836
|
field: "accountAlias",
|
|
3831
3837
|
title: e("gsc.mailCenter.accountAlias"),
|
|
3832
|
-
itemRender: oi(
|
|
3838
|
+
itemRender: si(oi(ra, {
|
|
3833
3839
|
...t,
|
|
3834
3840
|
fieldName: "accountAlias",
|
|
3835
3841
|
like: ""
|
|
@@ -3839,7 +3845,7 @@ function ia({ t: e, queryParams: t }) {
|
|
|
3839
3845
|
span: 6,
|
|
3840
3846
|
field: "mailAddress",
|
|
3841
3847
|
title: e("gsc.mailCenter.mailAddress"),
|
|
3842
|
-
itemRender: oi(
|
|
3848
|
+
itemRender: si(oi(ra, {
|
|
3843
3849
|
...t,
|
|
3844
3850
|
fieldName: "mailAddress",
|
|
3845
3851
|
like: ""
|
|
@@ -3849,7 +3855,7 @@ function ia({ t: e, queryParams: t }) {
|
|
|
3849
3855
|
span: 6,
|
|
3850
3856
|
field: "sysCreatedBy",
|
|
3851
3857
|
title: e("gsc.mailCenter.sysCreatedBy"),
|
|
3852
|
-
itemRender: oi(
|
|
3858
|
+
itemRender: si(oi(ra, {
|
|
3853
3859
|
...t,
|
|
3854
3860
|
fieldName: "sysCreatedBy",
|
|
3855
3861
|
like: ""
|
|
@@ -3859,7 +3865,7 @@ function ia({ t: e, queryParams: t }) {
|
|
|
3859
3865
|
span: 6,
|
|
3860
3866
|
field: "tenant",
|
|
3861
3867
|
title: "tenant",
|
|
3862
|
-
itemRender: oi(
|
|
3868
|
+
itemRender: si(oi(ra, {
|
|
3863
3869
|
...t,
|
|
3864
3870
|
fieldName: "tenant",
|
|
3865
3871
|
like: ""
|
|
@@ -3884,7 +3890,7 @@ function ia({ t: e, queryParams: t }) {
|
|
|
3884
3890
|
];
|
|
3885
3891
|
}
|
|
3886
3892
|
// src/email-center/AccountConf/src/config/columns.js
|
|
3887
|
-
function
|
|
3893
|
+
function oa(e) {
|
|
3888
3894
|
return [
|
|
3889
3895
|
{
|
|
3890
3896
|
type: "checkbox",
|
|
@@ -3955,25 +3961,25 @@ function aa(e) {
|
|
|
3955
3961
|
];
|
|
3956
3962
|
}
|
|
3957
3963
|
// src/email-center/AccountConf/src/constant/index.js
|
|
3958
|
-
var
|
|
3964
|
+
var sa = [{
|
|
3959
3965
|
label: "TRUE",
|
|
3960
3966
|
value: "TRUE"
|
|
3961
3967
|
}, {
|
|
3962
3968
|
label: "FALSE",
|
|
3963
3969
|
value: "FALSE"
|
|
3964
|
-
}],
|
|
3970
|
+
}], ca = [{
|
|
3965
3971
|
label: "TRUE",
|
|
3966
3972
|
value: "TRUE"
|
|
3967
3973
|
}, {
|
|
3968
3974
|
label: "FALSE",
|
|
3969
3975
|
value: "FALSE"
|
|
3970
|
-
}],
|
|
3976
|
+
}], la = [{
|
|
3971
3977
|
label: "TRUE",
|
|
3972
3978
|
value: "TRUE"
|
|
3973
3979
|
}, {
|
|
3974
3980
|
label: "FALSE",
|
|
3975
3981
|
value: "FALSE"
|
|
3976
|
-
}],
|
|
3982
|
+
}], ua = [
|
|
3977
3983
|
{
|
|
3978
3984
|
label: "7d",
|
|
3979
3985
|
value: 7
|
|
@@ -4000,7 +4006,7 @@ var oa = [{
|
|
|
4000
4006
|
}
|
|
4001
4007
|
];
|
|
4002
4008
|
// src/email-center/AccountConf/src/config/schema.js
|
|
4003
|
-
function
|
|
4009
|
+
function da(e) {
|
|
4004
4010
|
return {
|
|
4005
4011
|
items: [
|
|
4006
4012
|
{
|
|
@@ -4031,7 +4037,7 @@ function ua(e) {
|
|
|
4031
4037
|
itemRender: {
|
|
4032
4038
|
name: "VxeSelect",
|
|
4033
4039
|
props: { clearable: !0 },
|
|
4034
|
-
options:
|
|
4040
|
+
options: sa
|
|
4035
4041
|
}
|
|
4036
4042
|
},
|
|
4037
4043
|
{
|
|
@@ -4041,7 +4047,7 @@ function ua(e) {
|
|
|
4041
4047
|
itemRender: {
|
|
4042
4048
|
name: "VxeSelect",
|
|
4043
4049
|
props: { clearable: !0 },
|
|
4044
|
-
options:
|
|
4050
|
+
options: ca
|
|
4045
4051
|
}
|
|
4046
4052
|
},
|
|
4047
4053
|
{
|
|
@@ -4058,7 +4064,7 @@ function ua(e) {
|
|
|
4058
4064
|
itemRender: {
|
|
4059
4065
|
name: "VxeSelect",
|
|
4060
4066
|
props: { clearable: !0 },
|
|
4061
|
-
options:
|
|
4067
|
+
options: ua
|
|
4062
4068
|
},
|
|
4063
4069
|
visible: !1
|
|
4064
4070
|
},
|
|
@@ -4069,7 +4075,7 @@ function ua(e) {
|
|
|
4069
4075
|
itemRender: {
|
|
4070
4076
|
name: "VxeSelect",
|
|
4071
4077
|
props: { clearable: !0 },
|
|
4072
|
-
options:
|
|
4078
|
+
options: la
|
|
4073
4079
|
},
|
|
4074
4080
|
visible: !1
|
|
4075
4081
|
},
|
|
@@ -4128,11 +4134,11 @@ function ua(e) {
|
|
|
4128
4134
|
};
|
|
4129
4135
|
}
|
|
4130
4136
|
// src/email-center/api/accountConf.js
|
|
4131
|
-
var
|
|
4137
|
+
var fa = { account: "/mail/conf/account" }, pa = ({ method: e, data: t }) => St({
|
|
4132
4138
|
method: e,
|
|
4133
|
-
url:
|
|
4139
|
+
url: fa.account,
|
|
4134
4140
|
payload: t
|
|
4135
|
-
}),
|
|
4141
|
+
}), ma = { class: "gsc-email-center-account-conf gsc-shared-service" }, ha = "emailCenterConf/list", ga = "conf", _a = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscEmailCenterAccountConf" }, {
|
|
4136
4142
|
__name: "index",
|
|
4137
4143
|
props: {
|
|
4138
4144
|
locale: { type: Object },
|
|
@@ -4142,17 +4148,17 @@ var da = { account: "/mail/conf/account" }, fa = ({ method: e, data: t }) => xt(
|
|
|
4142
4148
|
}
|
|
4143
4149
|
},
|
|
4144
4150
|
setup(e) {
|
|
4145
|
-
let { t: n } =
|
|
4146
|
-
uiKey:
|
|
4147
|
-
uiScope:
|
|
4148
|
-
uiFormScope:
|
|
4149
|
-
}), s =
|
|
4151
|
+
let { t: n } = ei(e.locale), r = t(() => oa(n)), a = t(() => da(n)), o = w({
|
|
4152
|
+
uiKey: ha,
|
|
4153
|
+
uiScope: ga,
|
|
4154
|
+
uiFormScope: ga
|
|
4155
|
+
}), s = aa({
|
|
4150
4156
|
t: n,
|
|
4151
4157
|
queryParams: o
|
|
4152
4158
|
}), l = w({
|
|
4153
4159
|
columns: r,
|
|
4154
4160
|
filterSchema: s,
|
|
4155
|
-
api:
|
|
4161
|
+
api: ia,
|
|
4156
4162
|
queryParams: o
|
|
4157
4163
|
}), u = {
|
|
4158
4164
|
isDefault: "TRUE",
|
|
@@ -4171,7 +4177,7 @@ var da = { account: "/mail/conf/account" }, fa = ({ method: e, data: t }) => xt(
|
|
|
4171
4177
|
visible: t
|
|
4172
4178
|
} : e);
|
|
4173
4179
|
}), m = w({
|
|
4174
|
-
api:
|
|
4180
|
+
api: pa,
|
|
4175
4181
|
title: n("gsc.mailCenter.accountDetailTitle"),
|
|
4176
4182
|
isEdit: !1,
|
|
4177
4183
|
validConfig: {
|
|
@@ -4191,7 +4197,7 @@ var da = { account: "/mail/conf/account" }, fa = ({ method: e, data: t }) => xt(
|
|
|
4191
4197
|
get items() {
|
|
4192
4198
|
return p.value;
|
|
4193
4199
|
}
|
|
4194
|
-
}), h = ({ row: e }) =>
|
|
4200
|
+
}), h = ({ row: e }) => Xr(e || {}, [
|
|
4195
4201
|
"isDefault",
|
|
4196
4202
|
"enableMailReception",
|
|
4197
4203
|
"retentionDeadline",
|
|
@@ -4200,7 +4206,7 @@ var da = { account: "/mail/conf/account" }, fa = ({ method: e, data: t }) => xt(
|
|
|
4200
4206
|
"mailAddress",
|
|
4201
4207
|
"accountAlias"
|
|
4202
4208
|
]);
|
|
4203
|
-
return (t, n) => (C(), i("div",
|
|
4209
|
+
return (t, n) => (C(), i("div", ma, [c(ta, {
|
|
4204
4210
|
"grid-props": e.gridProps,
|
|
4205
4211
|
locale: e.locale,
|
|
4206
4212
|
"grid-options": l,
|
|
@@ -4215,13 +4221,13 @@ var da = { account: "/mail/conf/account" }, fa = ({ method: e, data: t }) => xt(
|
|
|
4215
4221
|
}
|
|
4216
4222
|
}), [["__scopeId", "data-v-95341ec8"]]));
|
|
4217
4223
|
// src/email-center/InboxNotifyConf/src/config/filters.js
|
|
4218
|
-
function
|
|
4224
|
+
function va({ t: e, queryParams: t }) {
|
|
4219
4225
|
return [
|
|
4220
4226
|
{
|
|
4221
4227
|
span: 6,
|
|
4222
4228
|
field: "accountAlias",
|
|
4223
4229
|
title: e("gsc.mailCenter.accountAlias"),
|
|
4224
|
-
itemRender: oi(
|
|
4230
|
+
itemRender: si(oi(ra, {
|
|
4225
4231
|
...t,
|
|
4226
4232
|
fieldName: "accountAlias",
|
|
4227
4233
|
like: ""
|
|
@@ -4231,7 +4237,7 @@ function _a({ t: e, queryParams: t }) {
|
|
|
4231
4237
|
span: 6,
|
|
4232
4238
|
field: "create_by",
|
|
4233
4239
|
title: e("gsc.mailCenter.create_by"),
|
|
4234
|
-
itemRender: oi(
|
|
4240
|
+
itemRender: si(oi(ra, {
|
|
4235
4241
|
...t,
|
|
4236
4242
|
fieldName: "create_by",
|
|
4237
4243
|
like: ""
|
|
@@ -4241,7 +4247,7 @@ function _a({ t: e, queryParams: t }) {
|
|
|
4241
4247
|
span: 6,
|
|
4242
4248
|
field: "tenant",
|
|
4243
4249
|
title: "tenant",
|
|
4244
|
-
itemRender: oi(
|
|
4250
|
+
itemRender: si(oi(ra, {
|
|
4245
4251
|
...t,
|
|
4246
4252
|
fieldName: "tenant",
|
|
4247
4253
|
like: ""
|
|
@@ -4251,7 +4257,7 @@ function _a({ t: e, queryParams: t }) {
|
|
|
4251
4257
|
span: 6,
|
|
4252
4258
|
field: "active",
|
|
4253
4259
|
title: e("gsc.mailCenter.active"),
|
|
4254
|
-
itemRender: oi(
|
|
4260
|
+
itemRender: si(oi(ra, {
|
|
4255
4261
|
...t,
|
|
4256
4262
|
fieldName: "active",
|
|
4257
4263
|
like: ""
|
|
@@ -4276,7 +4282,7 @@ function _a({ t: e, queryParams: t }) {
|
|
|
4276
4282
|
];
|
|
4277
4283
|
}
|
|
4278
4284
|
// src/email-center/InboxNotifyConf/src/config/columns.js
|
|
4279
|
-
function
|
|
4285
|
+
function ya(e) {
|
|
4280
4286
|
return [
|
|
4281
4287
|
{
|
|
4282
4288
|
type: "checkbox",
|
|
@@ -4389,13 +4395,13 @@ function va(e) {
|
|
|
4389
4395
|
];
|
|
4390
4396
|
}
|
|
4391
4397
|
// src/email-center/InboxNotifyConf/src/constant/index.js
|
|
4392
|
-
var
|
|
4398
|
+
var ba = [{
|
|
4393
4399
|
label: "active",
|
|
4394
4400
|
value: "TRUE"
|
|
4395
4401
|
}, {
|
|
4396
4402
|
label: "inactive",
|
|
4397
4403
|
value: "FALSE"
|
|
4398
|
-
}],
|
|
4404
|
+
}], xa = [
|
|
4399
4405
|
{
|
|
4400
4406
|
label: "SERDER",
|
|
4401
4407
|
value: "SERDER"
|
|
@@ -4408,7 +4414,7 @@ var ya = [{
|
|
|
4408
4414
|
label: "TITLE",
|
|
4409
4415
|
value: "TITLE"
|
|
4410
4416
|
}
|
|
4411
|
-
],
|
|
4417
|
+
], Sa = [
|
|
4412
4418
|
{
|
|
4413
4419
|
label: "0min",
|
|
4414
4420
|
value: 0
|
|
@@ -4425,7 +4431,7 @@ var ya = [{
|
|
|
4425
4431
|
label: "5min",
|
|
4426
4432
|
value: 5
|
|
4427
4433
|
}
|
|
4428
|
-
],
|
|
4434
|
+
], Ca = [
|
|
4429
4435
|
{
|
|
4430
4436
|
label: "0",
|
|
4431
4437
|
value: 0
|
|
@@ -4442,13 +4448,13 @@ var ya = [{
|
|
|
4442
4448
|
label: "3",
|
|
4443
4449
|
value: 3
|
|
4444
4450
|
}
|
|
4445
|
-
],
|
|
4451
|
+
], wa = [{
|
|
4446
4452
|
label: "API",
|
|
4447
4453
|
value: "API"
|
|
4448
4454
|
}, {
|
|
4449
4455
|
label: "MQ",
|
|
4450
4456
|
value: "MQ"
|
|
4451
|
-
}],
|
|
4457
|
+
}], Ta = [
|
|
4452
4458
|
{
|
|
4453
4459
|
label: "无需回复(No reply required)",
|
|
4454
4460
|
value: -1
|
|
@@ -4467,20 +4473,20 @@ var ya = [{
|
|
|
4467
4473
|
}
|
|
4468
4474
|
];
|
|
4469
4475
|
// src/email-center/InboxNotifyConf/src/config/schema.js
|
|
4470
|
-
function
|
|
4476
|
+
function Ea({ t: e, queryParams: t }) {
|
|
4471
4477
|
return {
|
|
4472
4478
|
items: [
|
|
4473
4479
|
{
|
|
4474
4480
|
span: 12,
|
|
4475
4481
|
field: "accountId",
|
|
4476
4482
|
title: e("gsc.mailCenter.accountId"),
|
|
4477
|
-
itemRender:
|
|
4483
|
+
itemRender: si(((e, t = {}) => async () => {
|
|
4478
4484
|
let { records: n } = await e(t);
|
|
4479
4485
|
return n.map((e) => ({
|
|
4480
4486
|
label: `${e.accountAlias}(${e.mailAddress})`,
|
|
4481
4487
|
value: e.accountId
|
|
4482
4488
|
}));
|
|
4483
|
-
})(
|
|
4489
|
+
})(ia, {
|
|
4484
4490
|
...t,
|
|
4485
4491
|
like: ""
|
|
4486
4492
|
}), { immediate: !0 })
|
|
@@ -4492,7 +4498,7 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4492
4498
|
itemRender: {
|
|
4493
4499
|
name: "VxeSelect",
|
|
4494
4500
|
props: { clearable: !0 },
|
|
4495
|
-
options:
|
|
4501
|
+
options: ba
|
|
4496
4502
|
}
|
|
4497
4503
|
},
|
|
4498
4504
|
{
|
|
@@ -4502,7 +4508,7 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4502
4508
|
itemRender: {
|
|
4503
4509
|
name: "VxeSelect",
|
|
4504
4510
|
props: { clearable: !0 },
|
|
4505
|
-
options:
|
|
4511
|
+
options: xa
|
|
4506
4512
|
}
|
|
4507
4513
|
},
|
|
4508
4514
|
{
|
|
@@ -4521,7 +4527,7 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4521
4527
|
itemRender: {
|
|
4522
4528
|
name: "VxeSelect",
|
|
4523
4529
|
props: { clearable: !0 },
|
|
4524
|
-
options:
|
|
4530
|
+
options: wa
|
|
4525
4531
|
}
|
|
4526
4532
|
},
|
|
4527
4533
|
{
|
|
@@ -4540,7 +4546,7 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4540
4546
|
itemRender: {
|
|
4541
4547
|
name: "VxeSelect",
|
|
4542
4548
|
props: { clearable: !0 },
|
|
4543
|
-
options:
|
|
4549
|
+
options: Ca
|
|
4544
4550
|
}
|
|
4545
4551
|
},
|
|
4546
4552
|
{
|
|
@@ -4550,7 +4556,7 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4550
4556
|
itemRender: {
|
|
4551
4557
|
name: "VxeSelect",
|
|
4552
4558
|
props: { clearable: !0 },
|
|
4553
|
-
options:
|
|
4559
|
+
options: Sa
|
|
4554
4560
|
}
|
|
4555
4561
|
},
|
|
4556
4562
|
{
|
|
@@ -4560,7 +4566,7 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4560
4566
|
itemRender: {
|
|
4561
4567
|
name: "VxeSelect",
|
|
4562
4568
|
props: { clearable: !0 },
|
|
4563
|
-
options:
|
|
4569
|
+
options: Ta
|
|
4564
4570
|
}
|
|
4565
4571
|
},
|
|
4566
4572
|
{
|
|
@@ -4633,11 +4639,11 @@ function Ta({ t: e, queryParams: t }) {
|
|
|
4633
4639
|
};
|
|
4634
4640
|
}
|
|
4635
4641
|
// src/email-center/api/inboxNotifyConf.js
|
|
4636
|
-
var
|
|
4642
|
+
var Da = { inboxNotifyConf: "/mail/conf/notify" }, Oa = ({ method: e, data: t }) => St({
|
|
4637
4643
|
method: e,
|
|
4638
|
-
url:
|
|
4644
|
+
url: Da.inboxNotifyConf,
|
|
4639
4645
|
payload: t
|
|
4640
|
-
}),
|
|
4646
|
+
}), ka = { class: "gsc-email-center-inbox-notify-conf gsc-shared-service" }, Aa = "emailCenterConf/list", ja = "notify", Ma = "conf", Na = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscEmailCenterInboxNotifyConf" }, {
|
|
4641
4647
|
__name: "index",
|
|
4642
4648
|
props: {
|
|
4643
4649
|
locale: { type: Object },
|
|
@@ -4647,27 +4653,27 @@ var Ea = { inboxNotifyConf: "/mail/conf/notify" }, Da = ({ method: e, data: t })
|
|
|
4647
4653
|
}
|
|
4648
4654
|
},
|
|
4649
4655
|
setup(e) {
|
|
4650
|
-
let { t: n } =
|
|
4651
|
-
uiKey:
|
|
4652
|
-
uiScope:
|
|
4653
|
-
uiFormScope:
|
|
4654
|
-
}, o = t(() =>
|
|
4656
|
+
let { t: n } = ei(e.locale), r = t(() => ya(n)), a = {
|
|
4657
|
+
uiKey: Aa,
|
|
4658
|
+
uiScope: Ma,
|
|
4659
|
+
uiFormScope: Ma
|
|
4660
|
+
}, o = t(() => Ea({
|
|
4655
4661
|
t: n,
|
|
4656
4662
|
queryParams: a
|
|
4657
4663
|
})), s = w({
|
|
4658
|
-
uiKey:
|
|
4659
|
-
uiScope:
|
|
4660
|
-
uiFormScope:
|
|
4661
|
-
}), l =
|
|
4664
|
+
uiKey: Aa,
|
|
4665
|
+
uiScope: ja,
|
|
4666
|
+
uiFormScope: ja
|
|
4667
|
+
}), l = va({
|
|
4662
4668
|
t: n,
|
|
4663
4669
|
queryParams: s
|
|
4664
4670
|
}), u = w({
|
|
4665
4671
|
columns: r,
|
|
4666
4672
|
filterSchema: l,
|
|
4667
|
-
api:
|
|
4673
|
+
api: ia,
|
|
4668
4674
|
queryParams: s
|
|
4669
4675
|
}), d = w({
|
|
4670
|
-
api:
|
|
4676
|
+
api: Oa,
|
|
4671
4677
|
title: n("gsc.mailCenter.notifyDetailTitle"),
|
|
4672
4678
|
isEdit: !1,
|
|
4673
4679
|
validConfig: {
|
|
@@ -4688,9 +4694,9 @@ var Ea = { inboxNotifyConf: "/mail/conf/notify" }, Da = ({ method: e, data: t })
|
|
|
4688
4694
|
get items() {
|
|
4689
4695
|
return A(o)?.items || [];
|
|
4690
4696
|
}
|
|
4691
|
-
}), f = (e) =>
|
|
4692
|
-
uiKey:
|
|
4693
|
-
uiScope:
|
|
4697
|
+
}), f = (e) => ia({
|
|
4698
|
+
uiKey: Aa,
|
|
4699
|
+
uiScope: Ma,
|
|
4694
4700
|
params: { accountAlias: JSON.stringify([e]) },
|
|
4695
4701
|
customerParams: {}
|
|
4696
4702
|
}), p = async ({ row: e }) => {
|
|
@@ -4718,7 +4724,7 @@ var Ea = { inboxNotifyConf: "/mail/conf/notify" }, Da = ({ method: e, data: t })
|
|
|
4718
4724
|
} catch {}
|
|
4719
4725
|
return t;
|
|
4720
4726
|
};
|
|
4721
|
-
return (t, n) => (C(), i("div",
|
|
4727
|
+
return (t, n) => (C(), i("div", ka, [c(ta, {
|
|
4722
4728
|
"grid-props": e.gridProps,
|
|
4723
4729
|
locale: e.locale,
|
|
4724
4730
|
"grid-options": u,
|
|
@@ -4733,13 +4739,13 @@ var Ea = { inboxNotifyConf: "/mail/conf/notify" }, Da = ({ method: e, data: t })
|
|
|
4733
4739
|
}
|
|
4734
4740
|
}), [["__scopeId", "data-v-10ded9da"]]));
|
|
4735
4741
|
// src/email-center/CmGroup/src/config/filters.js
|
|
4736
|
-
function
|
|
4742
|
+
function Pa({ t: e, queryParams: t }) {
|
|
4737
4743
|
return [
|
|
4738
4744
|
{
|
|
4739
4745
|
span: 6,
|
|
4740
4746
|
field: "bizScope",
|
|
4741
4747
|
title: e("gsc.mailCenter.bizScope"),
|
|
4742
|
-
itemRender: oi(
|
|
4748
|
+
itemRender: si(oi(ra, {
|
|
4743
4749
|
...t,
|
|
4744
4750
|
fieldName: "bizScope",
|
|
4745
4751
|
like: ""
|
|
@@ -4749,7 +4755,7 @@ function Na({ t: e, queryParams: t }) {
|
|
|
4749
4755
|
span: 6,
|
|
4750
4756
|
field: "groupName",
|
|
4751
4757
|
title: e("gsc.mailCenter.groupName"),
|
|
4752
|
-
itemRender: oi(
|
|
4758
|
+
itemRender: si(oi(ra, {
|
|
4753
4759
|
...t,
|
|
4754
4760
|
fieldName: "groupName",
|
|
4755
4761
|
like: ""
|
|
@@ -4768,7 +4774,7 @@ function Na({ t: e, queryParams: t }) {
|
|
|
4768
4774
|
span: 6,
|
|
4769
4775
|
field: "status",
|
|
4770
4776
|
title: e("gsc.mailCenter.status"),
|
|
4771
|
-
itemRender: oi(
|
|
4777
|
+
itemRender: si(oi(ra, {
|
|
4772
4778
|
...t,
|
|
4773
4779
|
fieldName: "status",
|
|
4774
4780
|
like: ""
|
|
@@ -4793,7 +4799,7 @@ function Na({ t: e, queryParams: t }) {
|
|
|
4793
4799
|
];
|
|
4794
4800
|
}
|
|
4795
4801
|
// src/email-center/CmGroup/src/config/columns.js
|
|
4796
|
-
function
|
|
4802
|
+
function Fa(e) {
|
|
4797
4803
|
return [
|
|
4798
4804
|
{
|
|
4799
4805
|
type: "checkbox",
|
|
@@ -4859,18 +4865,18 @@ function Pa(e) {
|
|
|
4859
4865
|
];
|
|
4860
4866
|
}
|
|
4861
4867
|
// src/email-center/CmGroup/src/constant/index.js
|
|
4862
|
-
var
|
|
4868
|
+
var Ia = [{
|
|
4863
4869
|
label: "Active",
|
|
4864
4870
|
value: "Active"
|
|
4865
4871
|
}, {
|
|
4866
4872
|
label: "InActive",
|
|
4867
4873
|
value: "InActive"
|
|
4868
|
-
}],
|
|
4874
|
+
}], G = (e, t) => {
|
|
4869
4875
|
if (!e) return;
|
|
4870
4876
|
let n = String(e).split(";").map((e) => e.trim()).find((e) => !me.email.test(e));
|
|
4871
4877
|
if (n !== void 0) return Error(n ? t("gsc.tips.invalidEmailAddress", { email: n }) : t("gsc.tips.emptyEmailAddress"));
|
|
4872
4878
|
};
|
|
4873
|
-
function
|
|
4879
|
+
function La(e) {
|
|
4874
4880
|
return {
|
|
4875
4881
|
items: [
|
|
4876
4882
|
{
|
|
@@ -4907,7 +4913,7 @@ function G(e) {
|
|
|
4907
4913
|
itemRender: {
|
|
4908
4914
|
name: "VxeSelect",
|
|
4909
4915
|
props: { clearable: !0 },
|
|
4910
|
-
options:
|
|
4916
|
+
options: Ia
|
|
4911
4917
|
}
|
|
4912
4918
|
}
|
|
4913
4919
|
],
|
|
@@ -4923,7 +4929,7 @@ function G(e) {
|
|
|
4923
4929
|
email: [{
|
|
4924
4930
|
required: !0,
|
|
4925
4931
|
message: e("gsc.tips.emailRequired")
|
|
4926
|
-
}, { validator: ({ itemValue: t }) =>
|
|
4932
|
+
}, { validator: ({ itemValue: t }) => G(t, e) }],
|
|
4927
4933
|
status: [{
|
|
4928
4934
|
required: !0,
|
|
4929
4935
|
message: e("gsc.tips.fieldRequired", { field: e("gsc.mailCenter.status") })
|
|
@@ -4932,11 +4938,11 @@ function G(e) {
|
|
|
4932
4938
|
};
|
|
4933
4939
|
}
|
|
4934
4940
|
// src/email-center/api/cmGroup.js
|
|
4935
|
-
var
|
|
4941
|
+
var Ra = { mailCmGroup: "/mail/mailCmGroup" }, za = ({ method: e, data: t }) => St({
|
|
4936
4942
|
method: e,
|
|
4937
|
-
url:
|
|
4943
|
+
url: Ra.mailCmGroup,
|
|
4938
4944
|
payload: t
|
|
4939
|
-
}),
|
|
4945
|
+
}), Ba = { class: "gsc-email-center-cm-group gsc-shared-service" }, Va = "mail_center", Ha = "recipient_group", Ua = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscEmailCenterCmGroup" }, {
|
|
4940
4946
|
__name: "index",
|
|
4941
4947
|
props: {
|
|
4942
4948
|
locale: { type: Object },
|
|
@@ -4946,20 +4952,20 @@ var La = { mailCmGroup: "/mail/mailCmGroup" }, Ra = ({ method: e, data: t }) =>
|
|
|
4946
4952
|
}
|
|
4947
4953
|
},
|
|
4948
4954
|
setup(e) {
|
|
4949
|
-
let { t: n } =
|
|
4950
|
-
uiKey:
|
|
4951
|
-
uiScope:
|
|
4952
|
-
uiFormScope:
|
|
4953
|
-
}), l =
|
|
4955
|
+
let { t: n } = ei(e.locale), r = t(() => Fa(n)), a = t(() => La(n)), o = w({
|
|
4956
|
+
uiKey: Va,
|
|
4957
|
+
uiScope: Ha,
|
|
4958
|
+
uiFormScope: Ha
|
|
4959
|
+
}), l = Pa({
|
|
4954
4960
|
t: n,
|
|
4955
4961
|
queryParams: o
|
|
4956
4962
|
}), u = w({
|
|
4957
4963
|
columns: r,
|
|
4958
4964
|
filterSchema: l,
|
|
4959
|
-
api:
|
|
4965
|
+
api: ia,
|
|
4960
4966
|
queryParams: o
|
|
4961
4967
|
}), d = w({
|
|
4962
|
-
api:
|
|
4968
|
+
api: za,
|
|
4963
4969
|
title: n("gsc.mailCenter.cmGroupConfiguration"),
|
|
4964
4970
|
isEdit: !1,
|
|
4965
4971
|
validConfig: {
|
|
@@ -4973,7 +4979,7 @@ var La = { mailCmGroup: "/mail/mailCmGroup" }, Ra = ({ method: e, data: t }) =>
|
|
|
4973
4979
|
get items() {
|
|
4974
4980
|
return A(a)?.items || [];
|
|
4975
4981
|
}
|
|
4976
|
-
}), f = ({ row: e }) =>
|
|
4982
|
+
}), f = ({ row: e }) => Xr(e || {}, [
|
|
4977
4983
|
"bizScope",
|
|
4978
4984
|
"groupName",
|
|
4979
4985
|
"email",
|
|
@@ -4985,7 +4991,7 @@ var La = { mailCmGroup: "/mail/mailCmGroup" }, Ra = ({ method: e, data: t }) =>
|
|
|
4985
4991
|
email: t
|
|
4986
4992
|
};
|
|
4987
4993
|
};
|
|
4988
|
-
return (t, n) => (C(), i("div",
|
|
4994
|
+
return (t, n) => (C(), i("div", Ba, [c(ta, {
|
|
4989
4995
|
"grid-props": e.gridProps,
|
|
4990
4996
|
locale: e.locale,
|
|
4991
4997
|
"grid-options": u,
|
|
@@ -5007,7 +5013,7 @@ var La = { mailCmGroup: "/mail/mailCmGroup" }, Ra = ({ method: e, data: t }) =>
|
|
|
5007
5013
|
}
|
|
5008
5014
|
}), [["__scopeId", "data-v-ebd62d86"]]));
|
|
5009
5015
|
// src/email-center/Log/src/config/filters.js
|
|
5010
|
-
function
|
|
5016
|
+
function Wa({ t: e, queryParams: t }) {
|
|
5011
5017
|
return [
|
|
5012
5018
|
{
|
|
5013
5019
|
span: 6,
|
|
@@ -5050,7 +5056,7 @@ function Ua({ t: e, queryParams: t }) {
|
|
|
5050
5056
|
field: "status",
|
|
5051
5057
|
title: e("gsc.mailCenter.status"),
|
|
5052
5058
|
folding: !0,
|
|
5053
|
-
itemRender: oi(
|
|
5059
|
+
itemRender: si(oi(ra, {
|
|
5054
5060
|
...t,
|
|
5055
5061
|
fieldName: "status",
|
|
5056
5062
|
like: ""
|
|
@@ -5076,7 +5082,7 @@ function Ua({ t: e, queryParams: t }) {
|
|
|
5076
5082
|
];
|
|
5077
5083
|
}
|
|
5078
5084
|
// src/email-center/Log/src/config/columns.js
|
|
5079
|
-
function
|
|
5085
|
+
function Ga(e) {
|
|
5080
5086
|
return [
|
|
5081
5087
|
{
|
|
5082
5088
|
type: "checkbox",
|
|
@@ -5180,22 +5186,22 @@ function Wa(e) {
|
|
|
5180
5186
|
];
|
|
5181
5187
|
}
|
|
5182
5188
|
// src/email-center/api/log.js
|
|
5183
|
-
var
|
|
5189
|
+
var Ka = {
|
|
5184
5190
|
downFile: "/mail/emailCenterSendingLog/downloadAttachmentsFile",
|
|
5185
5191
|
resubmit: "/mail/emailCenterSendingLog/reSubmit/sendRecords"
|
|
5186
|
-
},
|
|
5192
|
+
}, qa = ({ data: e }) => St({
|
|
5187
5193
|
method: "POST",
|
|
5188
|
-
url:
|
|
5194
|
+
url: Ka.downFile,
|
|
5189
5195
|
payload: e,
|
|
5190
5196
|
options: {
|
|
5191
5197
|
parseJson: !1,
|
|
5192
5198
|
responseType: "blob"
|
|
5193
5199
|
}
|
|
5194
|
-
}),
|
|
5200
|
+
}), Ja = ({ data: e }) => St({
|
|
5195
5201
|
method: "POST",
|
|
5196
|
-
url:
|
|
5202
|
+
url: Ka.resubmit,
|
|
5197
5203
|
payload: e
|
|
5198
|
-
}),
|
|
5204
|
+
}), Ya = { class: "gsc-email-center-log gsc-shared-service" }, Xa = { class: "attachment-wrapper" }, Za = ["onClick"], Qa = "mail_center", K = "send_log", $a = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscEmailCenterLog" }, {
|
|
5199
5205
|
__name: "index",
|
|
5200
5206
|
props: {
|
|
5201
5207
|
locale: { type: Object },
|
|
@@ -5205,26 +5211,26 @@ var Ga = {
|
|
|
5205
5211
|
}
|
|
5206
5212
|
},
|
|
5207
5213
|
setup(n) {
|
|
5208
|
-
let { t: r } =
|
|
5209
|
-
if (
|
|
5214
|
+
let { t: r } = ei(n.locale), o = T(), l = T([]), u = t(() => Ga(r)), d = (e) => {
|
|
5215
|
+
if (Zt(e)) return e;
|
|
5210
5216
|
if (typeof e == "string") try {
|
|
5211
5217
|
let t = JSON.parse(e);
|
|
5212
|
-
return
|
|
5218
|
+
return Zt(t) ? t : [];
|
|
5213
5219
|
} catch {
|
|
5214
5220
|
return [];
|
|
5215
5221
|
}
|
|
5216
5222
|
return [];
|
|
5217
5223
|
}, f = w({
|
|
5218
|
-
uiKey:
|
|
5219
|
-
uiScope:
|
|
5220
|
-
uiFormScope:
|
|
5221
|
-
}), p =
|
|
5224
|
+
uiKey: Qa,
|
|
5225
|
+
uiScope: K,
|
|
5226
|
+
uiFormScope: K
|
|
5227
|
+
}), p = Wa({
|
|
5222
5228
|
t: r,
|
|
5223
5229
|
queryParams: f
|
|
5224
5230
|
}), m = w({
|
|
5225
5231
|
columns: u,
|
|
5226
5232
|
filterSchema: p,
|
|
5227
|
-
api:
|
|
5233
|
+
api: ia,
|
|
5228
5234
|
queryParams: f,
|
|
5229
5235
|
showAddButton: !1,
|
|
5230
5236
|
showDeleteButton: !1
|
|
@@ -5238,7 +5244,7 @@ var Ga = {
|
|
|
5238
5244
|
l.value = [], o.value?.clearSelectedRows?.();
|
|
5239
5245
|
}, D = () => {
|
|
5240
5246
|
o.value?.reloadGrid?.();
|
|
5241
|
-
}, ee = (e) =>
|
|
5247
|
+
}, ee = (e) => Ja({ data: { logIdList: e } }).then((e) => {
|
|
5242
5248
|
e.code === "0" && (I.modal.message({
|
|
5243
5249
|
content: r("gsc.mailCenter.resubmitSuccess"),
|
|
5244
5250
|
status: "success"
|
|
@@ -5257,7 +5263,7 @@ var Ga = {
|
|
|
5257
5263
|
ee([e]);
|
|
5258
5264
|
}, j = async (e) => {
|
|
5259
5265
|
let { s3Key: t, name: n } = e;
|
|
5260
|
-
|
|
5266
|
+
qa({ data: {
|
|
5261
5267
|
s3Key: t,
|
|
5262
5268
|
name: n
|
|
5263
5269
|
} }).then((e) => {
|
|
@@ -5272,7 +5278,7 @@ var Ga = {
|
|
|
5272
5278
|
});
|
|
5273
5279
|
});
|
|
5274
5280
|
};
|
|
5275
|
-
return (t, l) => (C(), i("div",
|
|
5281
|
+
return (t, l) => (C(), i("div", Ya, [c(ta, {
|
|
5276
5282
|
ref_key: "gridRef",
|
|
5277
5283
|
ref: o,
|
|
5278
5284
|
"grid-props": n.gridProps,
|
|
@@ -5295,7 +5301,7 @@ var Ga = {
|
|
|
5295
5301
|
default: M(() => [s(O(e.status), 1)]),
|
|
5296
5302
|
_: 2
|
|
5297
5303
|
}, 1032, ["class"])]),
|
|
5298
|
-
files: M(({ row: t }) => [a("div",
|
|
5304
|
+
files: M(({ row: t }) => [a("div", Xa, [(C(!0), i(e, null, E(d(t.files), (e) => (C(), i("div", {
|
|
5299
5305
|
key: e,
|
|
5300
5306
|
class: "attachment-wrapper-item",
|
|
5301
5307
|
onClick: ie((t) => j(e), ["stop"])
|
|
@@ -5305,7 +5311,7 @@ var Ga = {
|
|
|
5305
5311
|
}, {
|
|
5306
5312
|
default: M(() => [c(A(se), { name: "file-excel" })]),
|
|
5307
5313
|
_: 1
|
|
5308
|
-
}, 8, ["content"])], 8,
|
|
5314
|
+
}, 8, ["content"])], 8, Za))), 128))])]),
|
|
5309
5315
|
"actions-other": M(({ row: e }) => [c(A(P), {
|
|
5310
5316
|
status: "primary",
|
|
5311
5317
|
size: "small",
|
|
@@ -74556,52 +74562,52 @@ var Ga = {
|
|
|
74556
74562
|
})();
|
|
74557
74563
|
})))();
|
|
74558
74564
|
// src/email-center/Template/src/components/Tinymce/tinymce.js
|
|
74559
|
-
function
|
|
74565
|
+
function eo() {
|
|
74560
74566
|
let e = window.tinymce || window.tinyMCE;
|
|
74561
74567
|
return e && (window.tinymce = e, window.tinyMCE = e), e;
|
|
74562
74568
|
}
|
|
74563
74569
|
// ../../node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/Utils.js
|
|
74564
|
-
var
|
|
74565
|
-
return
|
|
74570
|
+
var to = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecCommand.onBeforeGetContent.onBeforeRenderUI.onBeforeSetContent.onBeforePaste.onBlur.onChange.onClearUndos.onClick.onContextMenu.onCommentChange.onCompositionEnd.onCompositionStart.onCompositionUpdate.onCopy.onCut.onDblclick.onDeactivate.onDirty.onDrag.onDragDrop.onDragEnd.onDragGesture.onDragOver.onDrop.onExecCommand.onFocus.onFocusIn.onFocusOut.onGetContent.onHide.onInit.onInput.onKeyDown.onKeyPress.onKeyUp.onLoadContent.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onNodeChange.onObjectResizeStart.onObjectResized.onObjectSelected.onPaste.onPostProcess.onPostRender.onPreProcess.onProgressState.onRedo.onRemove.onReset.onSaveContent.onSelectionChange.onSetAttrib.onSetContent.onShow.onSubmit.onUndo.onVisualAid".split("."), no = function(e) {
|
|
74571
|
+
return to.map(function(e) {
|
|
74566
74572
|
return e.toLowerCase();
|
|
74567
74573
|
}).indexOf(e.toLowerCase()) !== -1;
|
|
74568
|
-
},
|
|
74569
|
-
Object.keys(t).filter(
|
|
74574
|
+
}, ro = function(e, t, n) {
|
|
74575
|
+
Object.keys(t).filter(no).forEach(function(r) {
|
|
74570
74576
|
var i = t[r];
|
|
74571
74577
|
typeof i == "function" && (r === "onInit" ? i(e, n) : n.on(r.substring(2), function(e) {
|
|
74572
74578
|
return i(e, n);
|
|
74573
74579
|
}));
|
|
74574
74580
|
});
|
|
74575
|
-
},
|
|
74581
|
+
}, io = function(e, t, n, r) {
|
|
74576
74582
|
var i = e.modelEvents ? e.modelEvents : null, a = Array.isArray(i) ? i.join(" ") : i;
|
|
74577
74583
|
re(r, function(t, r) {
|
|
74578
74584
|
n && typeof t == "string" && t !== r && t !== n.getContent({ format: e.outputFormat }) && n.setContent(t);
|
|
74579
74585
|
}), n.on(a || "change input undo redo", function() {
|
|
74580
74586
|
t.emit("update:modelValue", n.getContent({ format: e.outputFormat }));
|
|
74581
74587
|
});
|
|
74582
|
-
},
|
|
74583
|
-
r.setContent(a()), n.attrs["onUpdate:modelValue"] &&
|
|
74584
|
-
},
|
|
74588
|
+
}, ao = function(e, t, n, r, i, a) {
|
|
74589
|
+
r.setContent(a()), n.attrs["onUpdate:modelValue"] && io(t, n, r, i), ro(e, n.attrs, r);
|
|
74590
|
+
}, oo = 0, so = function(e) {
|
|
74585
74591
|
var t = Date.now(), n = Math.floor(Math.random() * 1e9);
|
|
74586
|
-
return
|
|
74587
|
-
}, so = function(e) {
|
|
74588
|
-
return e !== null && e.tagName.toLowerCase() === "textarea";
|
|
74592
|
+
return oo++, e + "_" + n + oo + String(t);
|
|
74589
74593
|
}, co = function(e) {
|
|
74594
|
+
return e !== null && e.tagName.toLowerCase() === "textarea";
|
|
74595
|
+
}, lo = function(e) {
|
|
74590
74596
|
return e === void 0 || e === "" ? [] : Array.isArray(e) ? e : e.split(" ");
|
|
74591
|
-
},
|
|
74592
|
-
return
|
|
74593
|
-
}, uo = function(e) {
|
|
74594
|
-
return e == null;
|
|
74597
|
+
}, uo = function(e, t) {
|
|
74598
|
+
return lo(e).concat(lo(t));
|
|
74595
74599
|
}, fo = function(e) {
|
|
74600
|
+
return e == null;
|
|
74601
|
+
}, po = function(e) {
|
|
74596
74602
|
return typeof e.options?.set == "function" && e.options.isRegistered("disabled");
|
|
74597
|
-
},
|
|
74603
|
+
}, mo = function() {
|
|
74598
74604
|
return {
|
|
74599
74605
|
listeners: [],
|
|
74600
|
-
scriptId:
|
|
74606
|
+
scriptId: so("tiny-script"),
|
|
74601
74607
|
scriptLoaded: !1
|
|
74602
74608
|
};
|
|
74603
|
-
},
|
|
74604
|
-
var e =
|
|
74609
|
+
}, ho = function() {
|
|
74610
|
+
var e = mo(), t = function(e, t, n, r) {
|
|
74605
74611
|
var i = t.createElement("script");
|
|
74606
74612
|
i.referrerPolicy = "origin", i.type = "application/javascript", i.id = e, i.src = n;
|
|
74607
74613
|
var a = function() {
|
|
@@ -74618,15 +74624,15 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74618
74624
|
}));
|
|
74619
74625
|
},
|
|
74620
74626
|
reinitialize: function() {
|
|
74621
|
-
e =
|
|
74627
|
+
e = mo();
|
|
74622
74628
|
}
|
|
74623
74629
|
};
|
|
74624
|
-
}(),
|
|
74630
|
+
}(), go = function() {
|
|
74625
74631
|
return typeof window < "u" ? window : global;
|
|
74626
|
-
},
|
|
74627
|
-
var e =
|
|
74632
|
+
}, _o = function() {
|
|
74633
|
+
var e = go();
|
|
74628
74634
|
return e && e.tinymce ? e.tinymce : null;
|
|
74629
|
-
},
|
|
74635
|
+
}, vo = {
|
|
74630
74636
|
apiKey: String,
|
|
74631
74637
|
licenseKey: String,
|
|
74632
74638
|
cloudChannel: String,
|
|
@@ -74648,79 +74654,79 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74648
74654
|
return e === "html" || e === "text";
|
|
74649
74655
|
}
|
|
74650
74656
|
}
|
|
74651
|
-
},
|
|
74652
|
-
return
|
|
74657
|
+
}, yo = function() {
|
|
74658
|
+
return yo = Object.assign || function(e) {
|
|
74653
74659
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
74654
74660
|
return e;
|
|
74655
|
-
},
|
|
74656
|
-
},
|
|
74661
|
+
}, yo.apply(this, arguments);
|
|
74662
|
+
}, bo = function(e, t, n, r) {
|
|
74657
74663
|
return e(r || "div", {
|
|
74658
74664
|
id: t,
|
|
74659
74665
|
ref: n
|
|
74660
74666
|
});
|
|
74661
|
-
},
|
|
74667
|
+
}, xo = function(e, t, n) {
|
|
74662
74668
|
return e("textarea", {
|
|
74663
74669
|
id: t,
|
|
74664
74670
|
visibility: "hidden",
|
|
74665
74671
|
ref: n
|
|
74666
74672
|
});
|
|
74667
|
-
},
|
|
74673
|
+
}, So = {
|
|
74668
74674
|
selector: void 0,
|
|
74669
74675
|
target: void 0
|
|
74670
|
-
},
|
|
74676
|
+
}, Co = function(e, t) {
|
|
74671
74677
|
typeof e.mode?.set == "function" ? e.mode.set(t) : e.setMode(t);
|
|
74672
|
-
},
|
|
74673
|
-
props:
|
|
74678
|
+
}, wo = l({
|
|
74679
|
+
props: vo,
|
|
74674
74680
|
setup: function(e, t) {
|
|
74675
|
-
var n = e.init ?
|
|
74681
|
+
var n = e.init ? yo(yo({}, e.init), So) : yo({}, So), r = te(e), i = r.disabled, a = r.readonly, o = r.modelValue, s = r.tagName, c = T(null), l = null, u = e.id || so("tiny-vue"), f = e.init && e.init.inline || e.inline, p = !!t.attrs["onUpdate:modelValue"], m = !0, g = e.initialValue ? e.initialValue : "", _ = "", v = function(e) {
|
|
74676
74682
|
return p ? function() {
|
|
74677
74683
|
return o?.value ? o.value : "";
|
|
74678
74684
|
} : function() {
|
|
74679
74685
|
return e ? g : _;
|
|
74680
74686
|
};
|
|
74681
74687
|
}, C = function() {
|
|
74682
|
-
var r = v(m), i =
|
|
74688
|
+
var r = v(m), i = yo(yo({}, n), {
|
|
74683
74689
|
disabled: e.disabled,
|
|
74684
74690
|
readonly: e.readonly,
|
|
74685
74691
|
target: c.value,
|
|
74686
|
-
plugins:
|
|
74692
|
+
plugins: uo(n.plugins, e.plugins),
|
|
74687
74693
|
toolbar: e.toolbar || n.toolbar,
|
|
74688
74694
|
inline: f,
|
|
74689
74695
|
license_key: e.licenseKey,
|
|
74690
74696
|
setup: function(i) {
|
|
74691
|
-
l = i, !
|
|
74692
|
-
return
|
|
74697
|
+
l = i, !po(l) && e.disabled === !0 && Co(l, "readonly"), i.on("init", function(n) {
|
|
74698
|
+
return ao(n, e, t, i, o, r);
|
|
74693
74699
|
}), typeof n.setup == "function" && n.setup(i);
|
|
74694
74700
|
}
|
|
74695
74701
|
});
|
|
74696
|
-
|
|
74702
|
+
co(c.value) && (c.value.style.visibility = ""), _o().init(i), m = !1;
|
|
74697
74703
|
};
|
|
74698
74704
|
return re(a, function(e) {
|
|
74699
|
-
l !== null &&
|
|
74705
|
+
l !== null && Co(l, e ? "readonly" : "design");
|
|
74700
74706
|
}), re(i, function(e) {
|
|
74701
|
-
l !== null && (
|
|
74707
|
+
l !== null && (po(l) ? l.options.set("disabled", e) : Co(l, e ? "readonly" : "design"));
|
|
74702
74708
|
}), re(s, function(e) {
|
|
74703
74709
|
var t;
|
|
74704
|
-
l && (p || (_ = l.getContent()), (t =
|
|
74710
|
+
l && (p || (_ = l.getContent()), (t = _o()) == null || t.remove(l), h(function() {
|
|
74705
74711
|
return C();
|
|
74706
74712
|
}));
|
|
74707
74713
|
}), S(function() {
|
|
74708
|
-
if (
|
|
74714
|
+
if (_o() !== null) C();
|
|
74709
74715
|
else if (c.value && c.value.ownerDocument) {
|
|
74710
|
-
var t = e.cloudChannel ? e.cloudChannel : "8", n = e.apiKey ? e.apiKey : "no-api-key", r =
|
|
74711
|
-
|
|
74716
|
+
var t = e.cloudChannel ? e.cloudChannel : "8", n = e.apiKey ? e.apiKey : "no-api-key", r = fo(e.tinymceScriptSrc) ? `https://cdn.tiny.cloud/1/${n}/tinymce/${t}/tinymce.min.js` : e.tinymceScriptSrc;
|
|
74717
|
+
ho.load(c.value.ownerDocument, r, C);
|
|
74712
74718
|
}
|
|
74713
74719
|
}), b(function() {
|
|
74714
|
-
|
|
74720
|
+
_o() !== null && _o().remove(l);
|
|
74715
74721
|
}), f || (y(function() {
|
|
74716
74722
|
m || C();
|
|
74717
74723
|
}), x(function() {
|
|
74718
74724
|
var e;
|
|
74719
|
-
l && (p || (_ = l.getContent()), (e =
|
|
74725
|
+
l && (p || (_ = l.getContent()), (e = _o()) == null || e.remove(l));
|
|
74720
74726
|
})), t.expose({
|
|
74721
74727
|
rerender: function(e) {
|
|
74722
74728
|
var t;
|
|
74723
|
-
l && (_ = l.getContent(), (t =
|
|
74729
|
+
l && (_ = l.getContent(), (t = _o()) == null || t.remove(l), n = yo(yo(yo({}, n), e), So), h(function() {
|
|
74724
74730
|
return C();
|
|
74725
74731
|
}));
|
|
74726
74732
|
},
|
|
@@ -74728,10 +74734,10 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74728
74734
|
return l;
|
|
74729
74735
|
}
|
|
74730
74736
|
}), function() {
|
|
74731
|
-
return f ?
|
|
74737
|
+
return f ? bo(d, u, c, e.tagName) : xo(d, u, c);
|
|
74732
74738
|
};
|
|
74733
74739
|
}
|
|
74734
|
-
}),
|
|
74740
|
+
}), To = {
|
|
74735
74741
|
lang: {
|
|
74736
74742
|
type: String,
|
|
74737
74743
|
default: "en-US"
|
|
@@ -74798,19 +74804,19 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74798
74804
|
"insertdatetime"
|
|
74799
74805
|
]
|
|
74800
74806
|
}
|
|
74801
|
-
},
|
|
74807
|
+
}, Eo = { class: "gsc-tinymce-editor" }, Do = /*#__PURE__*/ fi(/* @__PURE__ */ Object.assign({
|
|
74802
74808
|
name: "GscTinymceEditor",
|
|
74803
74809
|
inheritAttrs: !1
|
|
74804
74810
|
}, {
|
|
74805
74811
|
__name: "index",
|
|
74806
|
-
props: /*@__PURE__*/ p(
|
|
74812
|
+
props: /*@__PURE__*/ p(To, {
|
|
74807
74813
|
modelValue: { default: "" },
|
|
74808
74814
|
modelModifiers: {}
|
|
74809
74815
|
}),
|
|
74810
74816
|
emits: /*@__PURE__*/ p(["change", "init"], ["update:modelValue"]),
|
|
74811
74817
|
setup(e, { emit: n }) {
|
|
74812
74818
|
let r = e, a = n, o = j(e, "modelValue"), s = fe("tiny-editor"), l = ee(null);
|
|
74813
|
-
|
|
74819
|
+
eo();
|
|
74814
74820
|
let u = {
|
|
74815
74821
|
"en-US": "en",
|
|
74816
74822
|
"zh-CN": "zh_CN",
|
|
@@ -74844,7 +74850,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74844
74850
|
function f(e) {
|
|
74845
74851
|
a("init", e, A(l));
|
|
74846
74852
|
}
|
|
74847
|
-
return (e, t) => (C(), i("div",
|
|
74853
|
+
return (e, t) => (C(), i("div", Eo, [c(A(wo), {
|
|
74848
74854
|
id: A(s),
|
|
74849
74855
|
ref_key: "editorRef",
|
|
74850
74856
|
ref: l,
|
|
@@ -74867,25 +74873,25 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74867
74873
|
"init"
|
|
74868
74874
|
])]));
|
|
74869
74875
|
}
|
|
74870
|
-
}), [["__scopeId", "data-v-ccf833c7"]]),
|
|
74876
|
+
}), [["__scopeId", "data-v-ccf833c7"]]), Oo = [{
|
|
74871
74877
|
label: "active",
|
|
74872
74878
|
value: "Active"
|
|
74873
74879
|
}, {
|
|
74874
74880
|
label: "inactive",
|
|
74875
74881
|
value: "InActive"
|
|
74876
|
-
}],
|
|
74882
|
+
}], ko = [{
|
|
74877
74883
|
label: "Summary",
|
|
74878
74884
|
value: "Summary"
|
|
74879
74885
|
}, {
|
|
74880
74886
|
label: "Separate",
|
|
74881
74887
|
value: "Separate"
|
|
74882
|
-
}],
|
|
74888
|
+
}], Ao = [{
|
|
74883
74889
|
label: "RECIPIENT_GROUP",
|
|
74884
74890
|
value: "RECIPIENT_GROUP"
|
|
74885
74891
|
}, {
|
|
74886
74892
|
label: "Custom",
|
|
74887
74893
|
value: "Custom"
|
|
74888
|
-
}],
|
|
74894
|
+
}], jo = [{
|
|
74889
74895
|
label: "INT",
|
|
74890
74896
|
value: "INT",
|
|
74891
74897
|
takeEffect: !0
|
|
@@ -74893,13 +74899,13 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
74893
74899
|
label: "UNION",
|
|
74894
74900
|
value: "UNION",
|
|
74895
74901
|
takeEffect: !0
|
|
74896
|
-
}],
|
|
74902
|
+
}], Mo = [{
|
|
74897
74903
|
label: "thymeleaf",
|
|
74898
74904
|
value: "thymeleaf"
|
|
74899
74905
|
}, {
|
|
74900
74906
|
label: "freemarker",
|
|
74901
74907
|
value: "freemarker"
|
|
74902
|
-
}],
|
|
74908
|
+
}], No = [
|
|
74903
74909
|
{
|
|
74904
74910
|
label: "Default",
|
|
74905
74911
|
value: "Default"
|
|
@@ -75104,22 +75110,22 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75104
75110
|
label: "Қазақша",
|
|
75105
75111
|
value: "Қазақша"
|
|
75106
75112
|
}
|
|
75107
|
-
],
|
|
75113
|
+
], Po = {
|
|
75108
75114
|
template: "/mail/emailCenterTemplate",
|
|
75109
75115
|
templateDetail: "/mail/emailCenterTemplateDetail",
|
|
75110
75116
|
sendMail: "/mail/emailCenterTemplate/sendMail"
|
|
75111
|
-
},
|
|
75117
|
+
}, Fo = ({ method: e, data: t }) => St({
|
|
75112
75118
|
method: e,
|
|
75113
|
-
url:
|
|
75119
|
+
url: Po.template,
|
|
75114
75120
|
payload: t
|
|
75115
|
-
}),
|
|
75121
|
+
}), Io = (e) => St({
|
|
75116
75122
|
method: "Get",
|
|
75117
|
-
url: `${
|
|
75118
|
-
}),
|
|
75123
|
+
url: `${Po.template}/${e}`
|
|
75124
|
+
}), Lo = ({ data: e }) => St({
|
|
75119
75125
|
method: "POST",
|
|
75120
|
-
url:
|
|
75126
|
+
url: Po.sendMail,
|
|
75121
75127
|
payload: e
|
|
75122
|
-
}),
|
|
75128
|
+
}), Ro = { class: "email-template-add-new" }, zo = { class: "email-template-add-new__wrapper" }, Bo = { class: "leno-add-new__form--recipient-type__action" }, Vo = ["innerHTML"], Ho = /*#__PURE__*/ fi({
|
|
75123
75129
|
__name: "MailTemplateSend",
|
|
75124
75130
|
props: {
|
|
75125
75131
|
search: { type: Function },
|
|
@@ -75127,7 +75133,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75127
75133
|
},
|
|
75128
75134
|
emits: ["cancel"],
|
|
75129
75135
|
setup(e, { emit: n }) {
|
|
75130
|
-
let r = e, o = n, { t: l } =
|
|
75136
|
+
let r = e, o = n, { t: l } = ei(), u = w({
|
|
75131
75137
|
submitting: !1,
|
|
75132
75138
|
inputData: [],
|
|
75133
75139
|
dynamicKeys: [],
|
|
@@ -75150,7 +75156,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75150
75156
|
size: "small",
|
|
75151
75157
|
placeholder: "Please select Send Type"
|
|
75152
75158
|
},
|
|
75153
|
-
options:
|
|
75159
|
+
options: Ao
|
|
75154
75160
|
})), _ = t(() => ({
|
|
75155
75161
|
name: "VxeSelect",
|
|
75156
75162
|
props: {
|
|
@@ -75214,7 +75220,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75214
75220
|
}
|
|
75215
75221
|
async function k() {
|
|
75216
75222
|
try {
|
|
75217
|
-
let e = await
|
|
75223
|
+
let e = await Io(r.editData.template_id);
|
|
75218
75224
|
if (Object.assign(d.value, e?.result), d.value.recipientType === "RECIPIENT_GROUP") {
|
|
75219
75225
|
let e = JSON.parse(d.value.recipientValue);
|
|
75220
75226
|
d.value.recipientValue = e[d.value.recipientType][0];
|
|
@@ -75246,7 +75252,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75246
75252
|
};
|
|
75247
75253
|
u.dynamicKeys?.forEach((e) => {
|
|
75248
75254
|
delete l[`names[${e}]`], delete l[`dynamicFields_[${e}]`];
|
|
75249
|
-
}), await
|
|
75255
|
+
}), await Lo({ data: l }), u.submitting = !1, I.modal.message({
|
|
75250
75256
|
content: "Email sent successfully!",
|
|
75251
75257
|
status: "success"
|
|
75252
75258
|
}), te();
|
|
@@ -75263,13 +75269,13 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75263
75269
|
like: ""
|
|
75264
75270
|
};
|
|
75265
75271
|
try {
|
|
75266
|
-
let t =
|
|
75272
|
+
let t = oi(ra, e);
|
|
75267
75273
|
p.value = await t();
|
|
75268
75274
|
} catch (e) {
|
|
75269
75275
|
ee(e);
|
|
75270
75276
|
}
|
|
75271
75277
|
}
|
|
75272
|
-
return (e, t) => (C(), i("div",
|
|
75278
|
+
return (e, t) => (C(), i("div", Ro, [a("div", zo, [c(A(ae), {
|
|
75273
75279
|
ref_key: "formRef",
|
|
75274
75280
|
ref: f,
|
|
75275
75281
|
class: "leno-add-new__form",
|
|
@@ -75286,7 +75292,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75286
75292
|
"item-render": g.value
|
|
75287
75293
|
}, null, 8, ["title", "item-render"]),
|
|
75288
75294
|
c(A(oe), { span: "12" }, {
|
|
75289
|
-
default: M(() => [a("div",
|
|
75295
|
+
default: M(() => [a("div", Bo, [c(A(P), {
|
|
75290
75296
|
status: "primary",
|
|
75291
75297
|
size: "small",
|
|
75292
75298
|
loading: u.submitting,
|
|
@@ -75325,7 +75331,7 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75325
75331
|
default: M(() => [a("div", {
|
|
75326
75332
|
class: "leno-add-new__form--body__content",
|
|
75327
75333
|
innerHTML: d.value.mailBody
|
|
75328
|
-
}, null, 8,
|
|
75334
|
+
}, null, 8, Vo)]),
|
|
75329
75335
|
_: 1
|
|
75330
75336
|
}, 8, ["item-render"])
|
|
75331
75337
|
]),
|
|
@@ -75334,13 +75340,13 @@ var eo = /* @__PURE__ */ "onActivate.onAddUndo.onBeforeAddUndo.onBeforeExecComma
|
|
|
75334
75340
|
}
|
|
75335
75341
|
}, [["__scopeId", "data-v-762655fe"]]);
|
|
75336
75342
|
// src/email-center/Template/src/config/filters.js
|
|
75337
|
-
function
|
|
75343
|
+
function Uo({ t: e, queryParams: t }) {
|
|
75338
75344
|
return [
|
|
75339
75345
|
{
|
|
75340
75346
|
span: 6,
|
|
75341
75347
|
field: "mailKey",
|
|
75342
75348
|
title: e("gsc.mailCenter.mailKey"),
|
|
75343
|
-
itemRender: oi(
|
|
75349
|
+
itemRender: si(oi(ra, {
|
|
75344
75350
|
...t,
|
|
75345
75351
|
fieldName: "mailKey",
|
|
75346
75352
|
like: ""
|
|
@@ -75350,7 +75356,7 @@ function Ho({ t: e, queryParams: t }) {
|
|
|
75350
75356
|
span: 6,
|
|
75351
75357
|
field: "mailScope",
|
|
75352
75358
|
title: e("gsc.mailCenter.mailScope"),
|
|
75353
|
-
itemRender: oi(
|
|
75359
|
+
itemRender: si(oi(ra, {
|
|
75354
75360
|
...t,
|
|
75355
75361
|
fieldName: "mailScope",
|
|
75356
75362
|
like: ""
|
|
@@ -75360,7 +75366,7 @@ function Ho({ t: e, queryParams: t }) {
|
|
|
75360
75366
|
span: 6,
|
|
75361
75367
|
field: "enableStatus",
|
|
75362
75368
|
title: e("gsc.mailCenter.enableStatus"),
|
|
75363
|
-
itemRender: oi(
|
|
75369
|
+
itemRender: si(oi(ra, {
|
|
75364
75370
|
...t,
|
|
75365
75371
|
fieldName: "enableStatus",
|
|
75366
75372
|
like: ""
|
|
@@ -75370,7 +75376,7 @@ function Ho({ t: e, queryParams: t }) {
|
|
|
75370
75376
|
span: 6,
|
|
75371
75377
|
field: "sysCreationBy",
|
|
75372
75378
|
title: e("gsc.mailCenter.sysCreationBy"),
|
|
75373
|
-
itemRender: oi(
|
|
75379
|
+
itemRender: si(oi(ra, {
|
|
75374
75380
|
...t,
|
|
75375
75381
|
fieldName: "sysCreationBy",
|
|
75376
75382
|
like: ""
|
|
@@ -75428,7 +75434,7 @@ function Ho({ t: e, queryParams: t }) {
|
|
|
75428
75434
|
span: 6,
|
|
75429
75435
|
field: "languageType",
|
|
75430
75436
|
title: e("gsc.mailCenter.languageType"),
|
|
75431
|
-
itemRender: oi(
|
|
75437
|
+
itemRender: si(oi(ra, {
|
|
75432
75438
|
...t,
|
|
75433
75439
|
fieldName: "languageType",
|
|
75434
75440
|
like: ""
|
|
@@ -75454,7 +75460,7 @@ function Ho({ t: e, queryParams: t }) {
|
|
|
75454
75460
|
];
|
|
75455
75461
|
}
|
|
75456
75462
|
// src/email-center/Template/src/config/columns.js
|
|
75457
|
-
function
|
|
75463
|
+
function Wo(e) {
|
|
75458
75464
|
return [
|
|
75459
75465
|
{
|
|
75460
75466
|
type: "checkbox",
|
|
@@ -75550,7 +75556,7 @@ function Uo(e) {
|
|
|
75550
75556
|
];
|
|
75551
75557
|
}
|
|
75552
75558
|
// src/email-center/Template/src/config/schema.js
|
|
75553
|
-
function
|
|
75559
|
+
function Go(e) {
|
|
75554
75560
|
return {
|
|
75555
75561
|
items: [
|
|
75556
75562
|
{
|
|
@@ -75581,7 +75587,7 @@ function Wo(e) {
|
|
|
75581
75587
|
itemRender: {
|
|
75582
75588
|
name: "VxeSelect",
|
|
75583
75589
|
props: { clearable: !0 },
|
|
75584
|
-
options:
|
|
75590
|
+
options: Oo
|
|
75585
75591
|
}
|
|
75586
75592
|
},
|
|
75587
75593
|
{
|
|
@@ -75591,7 +75597,7 @@ function Wo(e) {
|
|
|
75591
75597
|
itemRender: {
|
|
75592
75598
|
name: "VxeSelect",
|
|
75593
75599
|
props: { clearable: !0 },
|
|
75594
|
-
options:
|
|
75600
|
+
options: ko
|
|
75595
75601
|
}
|
|
75596
75602
|
},
|
|
75597
75603
|
{
|
|
@@ -75601,14 +75607,14 @@ function Wo(e) {
|
|
|
75601
75607
|
itemRender: {
|
|
75602
75608
|
name: "VxeSelect",
|
|
75603
75609
|
props: { clearable: !0 },
|
|
75604
|
-
options:
|
|
75610
|
+
options: Ao
|
|
75605
75611
|
}
|
|
75606
75612
|
},
|
|
75607
75613
|
{
|
|
75608
75614
|
span: 6,
|
|
75609
75615
|
field: "recipientValue",
|
|
75610
75616
|
title: e("gsc.mailCenter.recipientValue"),
|
|
75611
|
-
itemRender: oi(
|
|
75617
|
+
itemRender: si(oi(ra, {
|
|
75612
75618
|
uiKey: "mail_center",
|
|
75613
75619
|
uiScope: "recipient_group",
|
|
75614
75620
|
fieldName: "groupName",
|
|
@@ -75623,7 +75629,7 @@ function Wo(e) {
|
|
|
75623
75629
|
itemRender: {
|
|
75624
75630
|
name: "VxeSelect",
|
|
75625
75631
|
props: { clearable: !0 },
|
|
75626
|
-
options:
|
|
75632
|
+
options: jo
|
|
75627
75633
|
}
|
|
75628
75634
|
},
|
|
75629
75635
|
{
|
|
@@ -75663,7 +75669,7 @@ function Wo(e) {
|
|
|
75663
75669
|
itemRender: {
|
|
75664
75670
|
name: "VxeSelect",
|
|
75665
75671
|
props: { clearable: !0 },
|
|
75666
|
-
options:
|
|
75672
|
+
options: Mo
|
|
75667
75673
|
}
|
|
75668
75674
|
},
|
|
75669
75675
|
{
|
|
@@ -75673,14 +75679,14 @@ function Wo(e) {
|
|
|
75673
75679
|
itemRender: {
|
|
75674
75680
|
name: "VxeSelect",
|
|
75675
75681
|
props: { clearable: !0 },
|
|
75676
|
-
options:
|
|
75682
|
+
options: No
|
|
75677
75683
|
}
|
|
75678
75684
|
},
|
|
75679
75685
|
{
|
|
75680
75686
|
span: 6,
|
|
75681
75687
|
field: "mailSendAccountId",
|
|
75682
75688
|
title: e("gsc.mailCenter.mailSendAccountId"),
|
|
75683
|
-
itemRender: oi(
|
|
75689
|
+
itemRender: si(oi(ra, {
|
|
75684
75690
|
uiKey: "emailCenterConf/list",
|
|
75685
75691
|
uiScope: "conf",
|
|
75686
75692
|
fieldName: "mailAddress",
|
|
@@ -75740,7 +75746,7 @@ function Wo(e) {
|
|
|
75740
75746
|
};
|
|
75741
75747
|
}
|
|
75742
75748
|
// src/email-center/Template/src/index.vue
|
|
75743
|
-
var
|
|
75749
|
+
var Ko = { class: "gsc-email-center-template gsc-shared-service" }, qo = { class: "email-content" }, Jo = ["innerHTML"], Yo = "mail_center", Xo = "template", Zo = L(/* @__PURE__ */ fi(/* @__PURE__ */ Object.assign({ name: "GscEmailCenterTemplate" }, {
|
|
75744
75750
|
__name: "index",
|
|
75745
75751
|
props: {
|
|
75746
75752
|
locale: { type: Object },
|
|
@@ -75750,17 +75756,17 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75750
75756
|
}
|
|
75751
75757
|
},
|
|
75752
75758
|
setup(e) {
|
|
75753
|
-
let { t: n, lang: r } =
|
|
75754
|
-
uiKey:
|
|
75755
|
-
uiScope:
|
|
75756
|
-
uiFormScope:
|
|
75757
|
-
}), y =
|
|
75759
|
+
let { t: n, lang: r } = ei(e.locale), o = T(), l = T([]), u = T(!1), d = T(!1), f = T(""), p = T({}), m = n("gsc.mailCenter.emailDetail"), h = n("gsc.mailCenter.sendEmail"), g = t(() => Wo(n)), _ = t(() => Go(n)), v = w({
|
|
75760
|
+
uiKey: Yo,
|
|
75761
|
+
uiScope: Xo,
|
|
75762
|
+
uiFormScope: Xo
|
|
75763
|
+
}), y = Uo({
|
|
75758
75764
|
t: n,
|
|
75759
75765
|
queryParams: v
|
|
75760
75766
|
}), b = w({
|
|
75761
75767
|
columns: g,
|
|
75762
75768
|
filterSchema: y,
|
|
75763
|
-
api:
|
|
75769
|
+
api: ia,
|
|
75764
75770
|
queryParams: v,
|
|
75765
75771
|
dateFields: ["sysCreationDate"]
|
|
75766
75772
|
}), x = {
|
|
@@ -75778,7 +75784,7 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75778
75784
|
visible: t
|
|
75779
75785
|
} : e);
|
|
75780
75786
|
}), ee = w({
|
|
75781
|
-
api:
|
|
75787
|
+
api: Fo,
|
|
75782
75788
|
title: n("gsc.mailCenter.accountDetailTitle"),
|
|
75783
75789
|
width: "80%",
|
|
75784
75790
|
isEdit: !1,
|
|
@@ -75805,7 +75811,7 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75805
75811
|
f.value = e, u.value = !0;
|
|
75806
75812
|
}, ne = async ({ row: e, isCopy: t = !1 }) => {
|
|
75807
75813
|
if (e?.template_id) try {
|
|
75808
|
-
let { result: n } = await
|
|
75814
|
+
let { result: n } = await Io(e.template_id);
|
|
75809
75815
|
return n.recipientType === "RECIPIENT_GROUP" ? n.recipientValue = JSON.parse(n.recipientValue)[n.recipientType] : delete n.recipientValue, t && (n.mailKey = ""), n;
|
|
75810
75816
|
} catch {}
|
|
75811
75817
|
}, re = (e) => {
|
|
@@ -75824,8 +75830,8 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75824
75830
|
}, oe = () => {
|
|
75825
75831
|
d.value = !1;
|
|
75826
75832
|
};
|
|
75827
|
-
return (t, l) => (C(), i("div",
|
|
75828
|
-
c(
|
|
75833
|
+
return (t, l) => (C(), i("div", Ko, [
|
|
75834
|
+
c(ta, {
|
|
75829
75835
|
ref_key: "gridRef",
|
|
75830
75836
|
ref: o,
|
|
75831
75837
|
"grid-props": e.gridProps,
|
|
@@ -75847,7 +75853,7 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75847
75853
|
default: M(() => [s(O(A(n)("gsc.common.copy")), 1)]),
|
|
75848
75854
|
_: 1
|
|
75849
75855
|
}, 8, ["disabled"])]),
|
|
75850
|
-
mailBodyForm: M(({ data: e }) => [c(
|
|
75856
|
+
mailBodyForm: M(({ data: e }) => [c(Do, {
|
|
75851
75857
|
modelValue: e.mailBody,
|
|
75852
75858
|
"onUpdate:modelValue": (t) => e.mailBody = t,
|
|
75853
75859
|
lang: A(r)
|
|
@@ -75888,10 +75894,10 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75888
75894
|
width: "80%",
|
|
75889
75895
|
"destroy-on-close": ""
|
|
75890
75896
|
}, {
|
|
75891
|
-
default: M(() => [a("div",
|
|
75897
|
+
default: M(() => [a("div", qo, [a("div", {
|
|
75892
75898
|
class: "email-content__desc",
|
|
75893
75899
|
innerHTML: f.value
|
|
75894
|
-
}, null, 8,
|
|
75900
|
+
}, null, 8, Jo)])]),
|
|
75895
75901
|
_: 1
|
|
75896
75902
|
}, 8, ["modelValue", "title"]),
|
|
75897
75903
|
c(A(F), {
|
|
@@ -75901,7 +75907,7 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75901
75907
|
width: "80%",
|
|
75902
75908
|
"destroy-on-close": ""
|
|
75903
75909
|
}, {
|
|
75904
|
-
default: M(() => [c(
|
|
75910
|
+
default: M(() => [c(Ho, {
|
|
75905
75911
|
"edit-data": p.value,
|
|
75906
75912
|
onCancel: oe
|
|
75907
75913
|
}, null, 8, ["edit-data"])]),
|
|
@@ -75909,33 +75915,34 @@ var Go = { class: "gsc-email-center-template gsc-shared-service" }, Ko = { class
|
|
|
75909
75915
|
}, 8, ["modelValue", "title"])
|
|
75910
75916
|
]));
|
|
75911
75917
|
}
|
|
75912
|
-
}), [["__scopeId", "data-v-e6d5900b"]])),
|
|
75913
|
-
GscDownloadCenter: () =>
|
|
75914
|
-
GscEmailCenterAccountConf: () =>
|
|
75915
|
-
GscEmailCenterCmGroup: () =>
|
|
75916
|
-
GscEmailCenterInboxNotifyConf: () =>
|
|
75917
|
-
GscEmailCenterLog: () =>
|
|
75918
|
-
GscEmailCenterTemplate: () =>
|
|
75919
|
-
GscUploadButton: () =>
|
|
75920
|
-
GscUploadCenter: () =>
|
|
75921
|
-
createRequest: () =>
|
|
75918
|
+
}), [["__scopeId", "data-v-e6d5900b"]])), Qo = /* @__PURE__ */ Ce({
|
|
75919
|
+
GscDownloadCenter: () => xi,
|
|
75920
|
+
GscEmailCenterAccountConf: () => _a,
|
|
75921
|
+
GscEmailCenterCmGroup: () => Ua,
|
|
75922
|
+
GscEmailCenterInboxNotifyConf: () => Na,
|
|
75923
|
+
GscEmailCenterLog: () => $a,
|
|
75924
|
+
GscEmailCenterTemplate: () => Zo,
|
|
75925
|
+
GscUploadButton: () => Qi,
|
|
75926
|
+
GscUploadCenter: () => Bi,
|
|
75927
|
+
createRequest: () => yt,
|
|
75922
75928
|
enUS: () => De,
|
|
75923
75929
|
getLanguage: () => Me,
|
|
75924
|
-
getRequestBaseUrl: () =>
|
|
75930
|
+
getRequestBaseUrl: () => xt,
|
|
75925
75931
|
hasLanguage: () => je,
|
|
75926
75932
|
i18nConfigStore: () => ke,
|
|
75927
75933
|
jaJP: () => Oe,
|
|
75928
|
-
request: () =>
|
|
75929
|
-
requestApi: () =>
|
|
75934
|
+
request: () => bt,
|
|
75935
|
+
requestApi: () => St,
|
|
75936
|
+
setBasicAuthCacheKeySuffix: () => gt,
|
|
75930
75937
|
setI18n: () => z,
|
|
75931
75938
|
setLanguage: () => Ae,
|
|
75932
|
-
setRequestBaseUrl: () =>
|
|
75939
|
+
setRequestBaseUrl: () => H,
|
|
75933
75940
|
useBasicAuth: () => ut,
|
|
75934
75941
|
zhCN: () => Ee
|
|
75935
|
-
}),
|
|
75936
|
-
for (let t in
|
|
75937
|
-
let n =
|
|
75942
|
+
}), $o = { install: (e) => {
|
|
75943
|
+
for (let t in Qo) {
|
|
75944
|
+
let n = Qo[t];
|
|
75938
75945
|
n && (typeof n == "function" || typeof n == "object") && "install" in n && e.use(n);
|
|
75939
75946
|
}
|
|
75940
75947
|
} };
|
|
75941
|
-
export {
|
|
75948
|
+
export { xi as GscDownloadCenter, _a as GscEmailCenterAccountConf, Ua as GscEmailCenterCmGroup, Na as GscEmailCenterInboxNotifyConf, $a as GscEmailCenterLog, Zo as GscEmailCenterTemplate, Qi as GscUploadButton, Bi as GscUploadCenter, yt as createRequest, $o as default, De as enUS, Me as getLanguage, xt as getRequestBaseUrl, je as hasLanguage, ke as i18nConfigStore, Oe as jaJP, bt as request, St as requestApi, gt as setBasicAuthCacheKeySuffix, z as setI18n, Ae as setLanguage, H as setRequestBaseUrl, ut as useBasicAuth, Ee as zhCN };
|