qk-pc-ui 2.7.9 → 2.8.1
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/qk-pc-ui.mjs +250 -203
- package/dist/qk-pc-ui.umd.js +16 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/qk-pc-ui.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, createVNode, unref, withCtx, renderSlot, createTextVNode, toDisplayString, computed, createElementVNode, createBlock, createCommentVNode, ref, reactive, watch, Fragment, renderList, normalizeClass, normalizeStyle, pushScopeId, popScopeId, useSlots, onMounted, nextTick, onBeforeUnmount, onUnmounted, withDirectives, vModelText, withKeys } from "vue";
|
|
2
|
-
import { ElForm, ElFormItem, ElButton, ElPagination, ElDialog, ElRow, ElSelect, ElOption, ElMessageBox, ElMessage, ElTable, ElTableColumn, ElPopover, ElInput, ElCheckboxGroup, ElCheckbox, ElImage, ElLink, ElDropdown, ElDropdownMenu, ElDropdownItem, ElLoading, ElDatePicker, ElUpload, ElIcon, ElButtonGroup, ElRadioGroup, ElRadioButton, ElTag, ElTabs, ElTabPane } from "element-plus";
|
|
2
|
+
import { ElForm, ElFormItem, ElButton, ElPagination, ElDialog, ElRow, ElSelect, ElOption, ElMessageBox, ElMessage, ElTable, ElTableColumn, ElPopover, ElInput, ElCheckboxGroup, ElCheckbox, ElImage, ElLink, ElDropdown, ElDropdownMenu, ElDropdownItem, ElLoading, ElDatePicker, ElUpload, ElIcon, ElButtonGroup, ElRadioGroup, ElRadioButton, ElTag, ElTabs, ElTabPane, ElCascader } from "element-plus";
|
|
3
3
|
import { L, Sleep, SaasApi, AndroidApi, GetUrlParam, SystemModuleApi, AjaxCallWeb, LocalApi, GetEnumName, MemberApi, UnRegisterKeyboard, RegisterKeyboard, PlayTTS, InfrastructureApi } from "qk-lib-v3";
|
|
4
4
|
import E from "wangeditor";
|
|
5
5
|
import axios from "axios";
|
|
6
6
|
import { Plus } from "@element-plus/icons-vue";
|
|
7
7
|
import { useRouter, useRoute } from "vue-router";
|
|
8
|
-
const _sfc_main$
|
|
8
|
+
const _sfc_main$m = {
|
|
9
9
|
__name: "Filter",
|
|
10
10
|
props: {
|
|
11
11
|
labelWidth: { type: String, default: "" }
|
|
@@ -44,7 +44,7 @@ const _sfc_main$l = {
|
|
|
44
44
|
for (const [a, n] of r)
|
|
45
45
|
t[a] = n;
|
|
46
46
|
return t;
|
|
47
|
-
}, _hoisted_1$f = { class: "tmain" }, _sfc_main$
|
|
47
|
+
}, _hoisted_1$f = { class: "tmain" }, _sfc_main$l = {
|
|
48
48
|
__name: "Tool",
|
|
49
49
|
props: ["total", "pageIndex", "pageSize"],
|
|
50
50
|
emits: ["update:pageIndex", "update:pageSize", "updateData"],
|
|
@@ -83,7 +83,7 @@ const _sfc_main$l = {
|
|
|
83
83
|
])
|
|
84
84
|
]));
|
|
85
85
|
}
|
|
86
|
-
}, Tool = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
86
|
+
}, Tool = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-638a8f96"]]);
|
|
87
87
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
88
88
|
var XLSX = {};
|
|
89
89
|
XLSX.version = "0.18.5";
|
|
@@ -1349,7 +1349,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1349
1349
|
var r = {};
|
|
1350
1350
|
r.version = "1.2.1";
|
|
1351
1351
|
function t(x, v) {
|
|
1352
|
-
for (var g = x.split("/"), w = v.split("/"), T = 0, y = 0,
|
|
1352
|
+
for (var g = x.split("/"), w = v.split("/"), T = 0, y = 0, R = Math.min(g.length, w.length); T < R; ++T) {
|
|
1353
1353
|
if (y = g[T].length - w[T].length)
|
|
1354
1354
|
return y;
|
|
1355
1355
|
if (g[T] != w[T])
|
|
@@ -1381,10 +1381,10 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1381
1381
|
g >>>= 5;
|
|
1382
1382
|
var y = g & 15;
|
|
1383
1383
|
g >>>= 4, w.setMilliseconds(0), w.setFullYear(g + 1980), w.setMonth(y - 1), w.setDate(T);
|
|
1384
|
-
var
|
|
1384
|
+
var R = v & 31;
|
|
1385
1385
|
v >>>= 5;
|
|
1386
1386
|
var H = v & 63;
|
|
1387
|
-
return v >>>= 6, w.setHours(v), w.setMinutes(H), w.setSeconds(
|
|
1387
|
+
return v >>>= 6, w.setHours(v), w.setMinutes(H), w.setSeconds(R << 1), w;
|
|
1388
1388
|
}
|
|
1389
1389
|
function l(x) {
|
|
1390
1390
|
prep_blob(x, 0);
|
|
@@ -1392,13 +1392,13 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1392
1392
|
/*::(*/
|
|
1393
1393
|
{}
|
|
1394
1394
|
), g = 0; x.l <= x.length - 4; ) {
|
|
1395
|
-
var w = x.read_shift(2), T = x.read_shift(2), y = x.l + T,
|
|
1395
|
+
var w = x.read_shift(2), T = x.read_shift(2), y = x.l + T, R = {};
|
|
1396
1396
|
switch (w) {
|
|
1397
1397
|
case 21589:
|
|
1398
|
-
g = x.read_shift(1), g & 1 && (
|
|
1398
|
+
g = x.read_shift(1), g & 1 && (R.mtime = x.read_shift(4)), T > 5 && (g & 2 && (R.atime = x.read_shift(4)), g & 4 && (R.ctime = x.read_shift(4))), R.mtime && (R.mt = new Date(R.mtime * 1e3));
|
|
1399
1399
|
break;
|
|
1400
1400
|
}
|
|
1401
|
-
x.l = y, v[w] =
|
|
1401
|
+
x.l = y, v[w] = R;
|
|
1402
1402
|
}
|
|
1403
1403
|
return v;
|
|
1404
1404
|
}
|
|
@@ -1413,7 +1413,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1413
1413
|
return lt(x, v);
|
|
1414
1414
|
if (x.length < 512)
|
|
1415
1415
|
throw new Error("CFB file size " + x.length + " < 512");
|
|
1416
|
-
var g = 3, w = 512, T = 0, y = 0,
|
|
1416
|
+
var g = 3, w = 512, T = 0, y = 0, R = 0, H = 0, O = 0, M = [], V = (
|
|
1417
1417
|
/*::(*/
|
|
1418
1418
|
x.slice(0, 512)
|
|
1419
1419
|
);
|
|
@@ -1443,15 +1443,15 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1443
1443
|
var ee = V.read_shift(4, "i");
|
|
1444
1444
|
if (g === 3 && ee !== 0)
|
|
1445
1445
|
throw new Error("# Directory Sectors: Expected 0 saw " + ee);
|
|
1446
|
-
V.l += 4,
|
|
1446
|
+
V.l += 4, R = V.read_shift(4, "i"), V.l += 4, V.chk("00100000", "Mini Stream Cutoff Size: "), H = V.read_shift(4, "i"), T = V.read_shift(4, "i"), O = V.read_shift(4, "i"), y = V.read_shift(4, "i");
|
|
1447
1447
|
for (var Y = -1, Q = 0; Q < 109 && (Y = V.read_shift(4, "i"), !(Y < 0)); ++Q)
|
|
1448
1448
|
M[Q] = Y;
|
|
1449
1449
|
var se = h(x, w);
|
|
1450
|
-
m(
|
|
1451
|
-
var ue = N(se,
|
|
1452
|
-
ue[
|
|
1450
|
+
m(O, y, se, w, M);
|
|
1451
|
+
var ue = N(se, R, M, w);
|
|
1452
|
+
ue[R].name = "!Directory", T > 0 && H !== J && (ue[H].name = "!MiniFAT"), ue[M[0]].name = "!FAT", ue.fat_addrs = M, ue.ssz = w;
|
|
1453
1453
|
var he = {}, xe = [], Be = [], Le = [];
|
|
1454
|
-
F(
|
|
1454
|
+
F(R, ue, se, xe, T, he, Be, H), p(Be, Le, xe), xe.shift();
|
|
1455
1455
|
var De = {
|
|
1456
1456
|
FileIndex: Be,
|
|
1457
1457
|
FullPaths: Le
|
|
@@ -1487,13 +1487,13 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1487
1487
|
return w[g - 1] = x.slice(g * v), w;
|
|
1488
1488
|
}
|
|
1489
1489
|
function p(x, v, g) {
|
|
1490
|
-
for (var w = 0, T = 0, y = 0,
|
|
1490
|
+
for (var w = 0, T = 0, y = 0, R = 0, H = 0, O = g.length, M = [], V = []; w < O; ++w)
|
|
1491
1491
|
M[w] = V[w] = w, v[w] = g[w];
|
|
1492
1492
|
for (; H < V.length; ++H)
|
|
1493
|
-
w = V[H], T = x[w].L, y = x[w].R,
|
|
1494
|
-
for (w = 1; w <
|
|
1493
|
+
w = V[H], T = x[w].L, y = x[w].R, R = x[w].C, M[w] === w && (T !== -1 && M[T] !== T && (M[w] = M[T]), y !== -1 && M[y] !== y && (M[w] = M[y])), R !== -1 && (M[R] = w), T !== -1 && w != M[w] && (M[T] = M[w], V.lastIndexOf(T) < H && V.push(T)), y !== -1 && w != M[w] && (M[y] = M[w], V.lastIndexOf(y) < H && V.push(y));
|
|
1494
|
+
for (w = 1; w < O; ++w)
|
|
1495
1495
|
M[w] === w && (y !== -1 && M[y] !== y ? M[w] = M[y] : T !== -1 && M[T] !== T && (M[w] = M[T]));
|
|
1496
|
-
for (w = 1; w <
|
|
1496
|
+
for (w = 1; w < O; ++w)
|
|
1497
1497
|
if (x[w].type !== 0) {
|
|
1498
1498
|
if (H = w, H != M[H])
|
|
1499
1499
|
do
|
|
@@ -1501,12 +1501,12 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1501
1501
|
while (H !== 0 && M[H] !== -1 && H != M[H]);
|
|
1502
1502
|
M[w] = -1;
|
|
1503
1503
|
}
|
|
1504
|
-
for (v[0] += "/", w = 1; w <
|
|
1504
|
+
for (v[0] += "/", w = 1; w < O; ++w)
|
|
1505
1505
|
x[w].type !== 2 && (v[w] += "/");
|
|
1506
1506
|
}
|
|
1507
1507
|
function u(x, v, g) {
|
|
1508
|
-
for (var w = x.start, T = x.size, y = [],
|
|
1509
|
-
y.push(v.slice(
|
|
1508
|
+
for (var w = x.start, T = x.size, y = [], R = w; g && T > 0 && R >= 0; )
|
|
1509
|
+
y.push(v.slice(R * z, R * z + z)), T -= z, R = __readInt32LE(g, R * 4);
|
|
1510
1510
|
return y.length === 0 ? new_buf(0) : bconcat(y).slice(0, x.size);
|
|
1511
1511
|
}
|
|
1512
1512
|
function m(x, v, g, w, T) {
|
|
@@ -1515,49 +1515,49 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1515
1515
|
if (v !== 0)
|
|
1516
1516
|
throw new Error("DIFAT chain shorter than expected");
|
|
1517
1517
|
} else if (x !== -1) {
|
|
1518
|
-
var
|
|
1519
|
-
if (!
|
|
1518
|
+
var R = g[x], H = (w >>> 2) - 1;
|
|
1519
|
+
if (!R)
|
|
1520
1520
|
return;
|
|
1521
|
-
for (var
|
|
1521
|
+
for (var O = 0; O < H && (y = __readInt32LE(R, O * 4)) !== J; ++O)
|
|
1522
1522
|
T.push(y);
|
|
1523
|
-
m(__readInt32LE(
|
|
1523
|
+
m(__readInt32LE(R, w - 4), v - 1, g, w, T);
|
|
1524
1524
|
}
|
|
1525
1525
|
}
|
|
1526
1526
|
function C(x, v, g, w, T) {
|
|
1527
|
-
var y = [],
|
|
1527
|
+
var y = [], R = [];
|
|
1528
1528
|
T || (T = []);
|
|
1529
|
-
var H = w - 1,
|
|
1530
|
-
for (
|
|
1531
|
-
T[
|
|
1532
|
-
var V = g[Math.floor(
|
|
1533
|
-
if (M =
|
|
1534
|
-
throw new Error("FAT boundary crossed: " +
|
|
1529
|
+
var H = w - 1, O = 0, M = 0;
|
|
1530
|
+
for (O = v; O >= 0; ) {
|
|
1531
|
+
T[O] = !0, y[y.length] = O, R.push(x[O]);
|
|
1532
|
+
var V = g[Math.floor(O * 4 / w)];
|
|
1533
|
+
if (M = O * 4 & H, w < 4 + M)
|
|
1534
|
+
throw new Error("FAT boundary crossed: " + O + " 4 " + w);
|
|
1535
1535
|
if (!x[V])
|
|
1536
1536
|
break;
|
|
1537
|
-
|
|
1537
|
+
O = __readInt32LE(x[V], M);
|
|
1538
1538
|
}
|
|
1539
|
-
return { nodes: y, data: __toBuffer([
|
|
1539
|
+
return { nodes: y, data: __toBuffer([R]) };
|
|
1540
1540
|
}
|
|
1541
1541
|
function N(x, v, g, w) {
|
|
1542
|
-
var T = x.length, y = [],
|
|
1542
|
+
var T = x.length, y = [], R = [], H = [], O = [], M = w - 1, V = 0, K = 0, q = 0, ee = 0;
|
|
1543
1543
|
for (V = 0; V < T; ++V)
|
|
1544
|
-
if (H = [], q = V + v, q >= T && (q -= T), !
|
|
1545
|
-
|
|
1544
|
+
if (H = [], q = V + v, q >= T && (q -= T), !R[q]) {
|
|
1545
|
+
O = [];
|
|
1546
1546
|
var Y = [];
|
|
1547
1547
|
for (K = q; K >= 0; ) {
|
|
1548
|
-
Y[K] = !0,
|
|
1548
|
+
Y[K] = !0, R[K] = !0, H[H.length] = K, O.push(x[K]);
|
|
1549
1549
|
var Q = g[Math.floor(K * 4 / w)];
|
|
1550
1550
|
if (ee = K * 4 & M, w < 4 + ee)
|
|
1551
1551
|
throw new Error("FAT boundary crossed: " + K + " 4 " + w);
|
|
1552
1552
|
if (!x[Q] || (K = __readInt32LE(x[Q], ee), Y[K]))
|
|
1553
1553
|
break;
|
|
1554
1554
|
}
|
|
1555
|
-
y[q] = { nodes: H, data: __toBuffer([
|
|
1555
|
+
y[q] = { nodes: H, data: __toBuffer([O]) };
|
|
1556
1556
|
}
|
|
1557
1557
|
return y;
|
|
1558
1558
|
}
|
|
1559
|
-
function F(x, v, g, w, T, y,
|
|
1560
|
-
for (var
|
|
1559
|
+
function F(x, v, g, w, T, y, R, H) {
|
|
1560
|
+
for (var O = 0, M = w.length ? 2 : 0, V = v[x].data, K = 0, q = 0, ee; K < V.length; K += 128) {
|
|
1561
1561
|
var Y = (
|
|
1562
1562
|
/*::(*/
|
|
1563
1563
|
V.slice(K, K + 128)
|
|
@@ -1577,7 +1577,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1577
1577
|
}, se = Y.read_shift(2) + Y.read_shift(2) + Y.read_shift(2) + Y.read_shift(2);
|
|
1578
1578
|
se !== 0 && (Q.ct = b(Y, Y.l - 8));
|
|
1579
1579
|
var ue = Y.read_shift(2) + Y.read_shift(2) + Y.read_shift(2) + Y.read_shift(2);
|
|
1580
|
-
ue !== 0 && (Q.mt = b(Y, Y.l - 8)), Q.start = Y.read_shift(4, "i"), Q.size = Y.read_shift(4, "i"), Q.size < 0 && Q.start < 0 && (Q.size = Q.type = 0, Q.start = J, Q.name = ""), Q.type === 5 ? (
|
|
1580
|
+
ue !== 0 && (Q.mt = b(Y, Y.l - 8)), Q.start = Y.read_shift(4, "i"), Q.size = Y.read_shift(4, "i"), Q.size < 0 && Q.start < 0 && (Q.size = Q.type = 0, Q.start = J, Q.name = ""), Q.type === 5 ? (O = Q.start, T > 0 && O !== J && (v[O].name = "!StreamData")) : Q.size >= 4096 ? (Q.storage = "fat", v[Q.start] === void 0 && (v[Q.start] = C(g, Q.start, v.fat_addrs, v.ssz)), v[Q.start].name = Q.name, Q.content = v[Q.start].data.slice(0, Q.size)) : (Q.storage = "minifat", Q.size < 0 ? Q.size = 0 : O !== J && Q.start !== J && v[O] && (Q.content = u(Q, v[O].data, (v[H] || {}).data))), Q.content && prep_blob(Q.content, 0), y[ee] = Q, R.push(Q);
|
|
1581
1581
|
}
|
|
1582
1582
|
}
|
|
1583
1583
|
function b(x, v) {
|
|
@@ -1634,19 +1634,19 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
if (!(!g && !v)) {
|
|
1637
|
-
var
|
|
1637
|
+
var R = new Date(1987, 1, 19), H = 0, O = Object.create ? /* @__PURE__ */ Object.create(null) : {}, M = [];
|
|
1638
1638
|
for (T = 0; T < x.FullPaths.length; ++T)
|
|
1639
|
-
|
|
1639
|
+
O[x.FullPaths[T]] = !0, x.FileIndex[T].type !== 0 && M.push([x.FullPaths[T], x.FileIndex[T]]);
|
|
1640
1640
|
for (T = 0; T < M.length; ++T) {
|
|
1641
1641
|
var V = a(M[T][0]);
|
|
1642
|
-
w =
|
|
1642
|
+
w = O[V], w || (M.push([V, {
|
|
1643
1643
|
name: n(V).replace("/", ""),
|
|
1644
1644
|
type: 1,
|
|
1645
1645
|
clsid: me,
|
|
1646
|
-
ct:
|
|
1647
|
-
mt:
|
|
1646
|
+
ct: R,
|
|
1647
|
+
mt: R,
|
|
1648
1648
|
content: null
|
|
1649
|
-
}]),
|
|
1649
|
+
}]), O[V] = !0);
|
|
1650
1650
|
}
|
|
1651
1651
|
for (M.sort(function(ee, Y) {
|
|
1652
1652
|
return t(ee[0], Y[0]);
|
|
@@ -1687,7 +1687,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1687
1687
|
Ue = ++Ne <= 109 ? 0 : Math.ceil((Ne - 109) / 127);
|
|
1688
1688
|
var Ce = [1, Ue, Ne, Le, xe, Q, Y, 0];
|
|
1689
1689
|
return ee.FileIndex[0].size = Y << 6, Ce[7] = (ee.FileIndex[0].start = Ce[0] + Ce[1] + Ce[2] + Ce[3] + Ce[4] + Ce[5]) + (Ce[6] + 7 >> 3), Ce;
|
|
1690
|
-
}(x), T = new_buf(w[7] << 9), y = 0,
|
|
1690
|
+
}(x), T = new_buf(w[7] << 9), y = 0, R = 0;
|
|
1691
1691
|
{
|
|
1692
1692
|
for (y = 0; y < 8; ++y)
|
|
1693
1693
|
T.write_shift(1, ie[y]);
|
|
@@ -1699,37 +1699,37 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1699
1699
|
T.write_shift(-4, y < w[2] ? w[1] + y : -1);
|
|
1700
1700
|
}
|
|
1701
1701
|
if (w[1])
|
|
1702
|
-
for (
|
|
1703
|
-
for (; y < 236 +
|
|
1702
|
+
for (R = 0; R < w[1]; ++R) {
|
|
1703
|
+
for (; y < 236 + R * 127; ++y)
|
|
1704
1704
|
T.write_shift(-4, y < w[2] ? w[1] + y : -1);
|
|
1705
|
-
T.write_shift(-4,
|
|
1705
|
+
T.write_shift(-4, R === w[1] - 1 ? J : R + 1);
|
|
1706
1706
|
}
|
|
1707
1707
|
var H = function(ee) {
|
|
1708
|
-
for (
|
|
1708
|
+
for (R += ee; y < R - 1; ++y)
|
|
1709
1709
|
T.write_shift(-4, y + 1);
|
|
1710
1710
|
ee && (++y, T.write_shift(-4, J));
|
|
1711
1711
|
};
|
|
1712
|
-
for (
|
|
1712
|
+
for (R = y = 0, R += w[1]; y < R; ++y)
|
|
1713
1713
|
T.write_shift(-4, _e.DIFSECT);
|
|
1714
|
-
for (
|
|
1714
|
+
for (R += w[2]; y < R; ++y)
|
|
1715
1715
|
T.write_shift(-4, _e.FATSECT);
|
|
1716
1716
|
H(w[3]), H(w[4]);
|
|
1717
|
-
for (var
|
|
1718
|
-
V = x.FileIndex[
|
|
1717
|
+
for (var O = 0, M = 0, V = x.FileIndex[0]; O < x.FileIndex.length; ++O)
|
|
1718
|
+
V = x.FileIndex[O], V.content && (M = V.content.length, !(M < 4096) && (V.start = R, H(M + 511 >> 9)));
|
|
1719
1719
|
for (H(w[6] + 7 >> 3); T.l & 511; )
|
|
1720
1720
|
T.write_shift(-4, _e.ENDOFCHAIN);
|
|
1721
|
-
for (
|
|
1722
|
-
V = x.FileIndex[
|
|
1721
|
+
for (R = y = 0, O = 0; O < x.FileIndex.length; ++O)
|
|
1722
|
+
V = x.FileIndex[O], V.content && (M = V.content.length, !(!M || M >= 4096) && (V.start = R, H(M + 63 >> 6)));
|
|
1723
1723
|
for (; T.l & 511; )
|
|
1724
1724
|
T.write_shift(-4, _e.ENDOFCHAIN);
|
|
1725
1725
|
for (y = 0; y < w[4] << 2; ++y) {
|
|
1726
1726
|
var K = x.FullPaths[y];
|
|
1727
1727
|
if (!K || K.length === 0) {
|
|
1728
|
-
for (
|
|
1728
|
+
for (O = 0; O < 17; ++O)
|
|
1729
1729
|
T.write_shift(4, 0);
|
|
1730
|
-
for (
|
|
1730
|
+
for (O = 0; O < 3; ++O)
|
|
1731
1731
|
T.write_shift(4, -1);
|
|
1732
|
-
for (
|
|
1732
|
+
for (O = 0; O < 12; ++O)
|
|
1733
1733
|
T.write_shift(4, 0);
|
|
1734
1734
|
continue;
|
|
1735
1735
|
}
|
|
@@ -1738,7 +1738,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1738
1738
|
if (M = 2 * (q.length + 1), T.write_shift(64, q, "utf16le"), T.write_shift(2, M), T.write_shift(1, V.type), T.write_shift(1, V.color), T.write_shift(-4, V.L), T.write_shift(-4, V.R), T.write_shift(-4, V.C), V.clsid)
|
|
1739
1739
|
T.write_shift(16, V.clsid, "hex");
|
|
1740
1740
|
else
|
|
1741
|
-
for (
|
|
1741
|
+
for (O = 0; O < 4; ++O)
|
|
1742
1742
|
T.write_shift(4, 0);
|
|
1743
1743
|
T.write_shift(4, V.state || 0), T.write_shift(4, 0), T.write_shift(4, 0), T.write_shift(4, 0), T.write_shift(4, 0), T.write_shift(4, V.start), T.write_shift(4, V.size), T.write_shift(4, 0);
|
|
1744
1744
|
}
|
|
@@ -1747,9 +1747,9 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1747
1747
|
if (T.l = V.start + 1 << 9, has_buf && Buffer.isBuffer(V.content))
|
|
1748
1748
|
V.content.copy(T, T.l, 0, V.size), T.l += V.size + 511 & -512;
|
|
1749
1749
|
else {
|
|
1750
|
-
for (
|
|
1751
|
-
T.write_shift(1, V.content[
|
|
1752
|
-
for (;
|
|
1750
|
+
for (O = 0; O < V.size; ++O)
|
|
1751
|
+
T.write_shift(1, V.content[O]);
|
|
1752
|
+
for (; O & 511; ++O)
|
|
1753
1753
|
T.write_shift(1, 0);
|
|
1754
1754
|
}
|
|
1755
1755
|
for (y = 1; y < x.FileIndex.length; ++y)
|
|
@@ -1757,9 +1757,9 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1757
1757
|
if (has_buf && Buffer.isBuffer(V.content))
|
|
1758
1758
|
V.content.copy(T, T.l, 0, V.size), T.l += V.size + 63 & -64;
|
|
1759
1759
|
else {
|
|
1760
|
-
for (
|
|
1761
|
-
T.write_shift(1, V.content[
|
|
1762
|
-
for (;
|
|
1760
|
+
for (O = 0; O < V.size; ++O)
|
|
1761
|
+
T.write_shift(1, V.content[O]);
|
|
1762
|
+
for (; O & 63; ++O)
|
|
1763
1763
|
T.write_shift(1, 0);
|
|
1764
1764
|
}
|
|
1765
1765
|
if (has_buf)
|
|
@@ -1770,20 +1770,20 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1770
1770
|
return T;
|
|
1771
1771
|
}
|
|
1772
1772
|
function W(x, v) {
|
|
1773
|
-
var g = x.FullPaths.map(function(
|
|
1774
|
-
return
|
|
1775
|
-
}), w = g.map(function(
|
|
1776
|
-
var M =
|
|
1777
|
-
return M[M.length - (
|
|
1773
|
+
var g = x.FullPaths.map(function(O) {
|
|
1774
|
+
return O.toUpperCase();
|
|
1775
|
+
}), w = g.map(function(O) {
|
|
1776
|
+
var M = O.split("/");
|
|
1777
|
+
return M[M.length - (O.slice(-1) == "/" ? 2 : 1)];
|
|
1778
1778
|
}), T = !1;
|
|
1779
1779
|
v.charCodeAt(0) === 47 ? (T = !0, v = g[0].slice(0, -1) + v) : T = v.indexOf("/") !== -1;
|
|
1780
|
-
var y = v.toUpperCase(),
|
|
1781
|
-
if (
|
|
1782
|
-
return x.FileIndex[
|
|
1780
|
+
var y = v.toUpperCase(), R = T === !0 ? g.indexOf(y) : w.indexOf(y);
|
|
1781
|
+
if (R !== -1)
|
|
1782
|
+
return x.FileIndex[R];
|
|
1783
1783
|
var H = !y.match(chr1);
|
|
1784
|
-
for (y = y.replace(chr0, ""), H && (y = y.replace(chr1, "!")),
|
|
1785
|
-
if ((H ? g[
|
|
1786
|
-
return x.FileIndex[
|
|
1784
|
+
for (y = y.replace(chr0, ""), H && (y = y.replace(chr1, "!")), R = 0; R < g.length; ++R)
|
|
1785
|
+
if ((H ? g[R].replace(chr1, "!") : g[R]).replace(chr0, "") == y || (H ? w[R].replace(chr1, "!") : w[R]).replace(chr0, "") == y)
|
|
1786
|
+
return x.FileIndex[R];
|
|
1787
1787
|
return null;
|
|
1788
1788
|
}
|
|
1789
1789
|
var z = 64, J = -2, le = "d0cf11e0a1b11ae1", ie = [208, 207, 17, 224, 161, 177, 26, 225], me = "00000000000000000000000000000000", _e = {
|
|
@@ -1882,8 +1882,8 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1882
1882
|
return (x[w] | (g <= 1 ? 0 : x[w + 1] << 8)) >>> g & 127;
|
|
1883
1883
|
}
|
|
1884
1884
|
function Ee(x, v, g) {
|
|
1885
|
-
var w = v & 7, T = v >>> 3, y = (1 << g) - 1,
|
|
1886
|
-
return g < 8 - w || (
|
|
1885
|
+
var w = v & 7, T = v >>> 3, y = (1 << g) - 1, R = x[T] >>> w;
|
|
1886
|
+
return g < 8 - w || (R |= x[T + 1] << 8 - w, g < 16 - w) || (R |= x[T + 2] << 16 - w, g < 24 - w) || (R |= x[T + 3] << 24 - w), R & y;
|
|
1887
1887
|
}
|
|
1888
1888
|
function Ae(x, v, g) {
|
|
1889
1889
|
var w = v & 7, T = v >>> 3;
|
|
@@ -1901,7 +1901,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1901
1901
|
var w = v & 7, T = v >>> 3;
|
|
1902
1902
|
return g <<= w, x[T] |= g & 255, g >>>= 8, x[T + 1] = g & 255, x[T + 2] = g >>> 8, v + 16;
|
|
1903
1903
|
}
|
|
1904
|
-
function
|
|
1904
|
+
function Oe(x, v) {
|
|
1905
1905
|
var g = x.length, w = 2 * g > v ? 2 * g : v + 5, T = 0;
|
|
1906
1906
|
if (g >= v)
|
|
1907
1907
|
return x;
|
|
@@ -1914,13 +1914,13 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1914
1914
|
y[T] = x[T];
|
|
1915
1915
|
return y;
|
|
1916
1916
|
} else if (re) {
|
|
1917
|
-
var
|
|
1918
|
-
if (
|
|
1919
|
-
|
|
1917
|
+
var R = new Uint8Array(w);
|
|
1918
|
+
if (R.set)
|
|
1919
|
+
R.set(x);
|
|
1920
1920
|
else
|
|
1921
1921
|
for (; T < g; ++T)
|
|
1922
|
-
|
|
1923
|
-
return
|
|
1922
|
+
R[T] = x[T];
|
|
1923
|
+
return R;
|
|
1924
1924
|
}
|
|
1925
1925
|
return x.length = w, x;
|
|
1926
1926
|
}
|
|
@@ -1930,30 +1930,30 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1930
1930
|
return v;
|
|
1931
1931
|
}
|
|
1932
1932
|
function Pe(x, v, g) {
|
|
1933
|
-
var w = 1, T = 0, y = 0,
|
|
1933
|
+
var w = 1, T = 0, y = 0, R = 0, H = 0, O = x.length, M = re ? new Uint16Array(32) : Se(32);
|
|
1934
1934
|
for (y = 0; y < 32; ++y)
|
|
1935
1935
|
M[y] = 0;
|
|
1936
|
-
for (y =
|
|
1936
|
+
for (y = O; y < g; ++y)
|
|
1937
1937
|
x[y] = 0;
|
|
1938
|
-
|
|
1939
|
-
var V = re ? new Uint16Array(
|
|
1940
|
-
for (y = 0; y <
|
|
1938
|
+
O = x.length;
|
|
1939
|
+
var V = re ? new Uint16Array(O) : Se(O);
|
|
1940
|
+
for (y = 0; y < O; ++y)
|
|
1941
1941
|
M[T = x[y]]++, w < T && (w = T), V[y] = 0;
|
|
1942
1942
|
for (M[0] = 0, y = 1; y <= w; ++y)
|
|
1943
1943
|
M[y + 16] = H = H + M[y - 1] << 1;
|
|
1944
|
-
for (y = 0; y <
|
|
1944
|
+
for (y = 0; y < O; ++y)
|
|
1945
1945
|
H = x[y], H != 0 && (V[y] = M[H + 16]++);
|
|
1946
1946
|
var K = 0;
|
|
1947
|
-
for (y = 0; y <
|
|
1947
|
+
for (y = 0; y < O; ++y)
|
|
1948
1948
|
if (K = x[y], K != 0)
|
|
1949
|
-
for (H = oe(V[y], w) >> w - K,
|
|
1950
|
-
v[H |
|
|
1949
|
+
for (H = oe(V[y], w) >> w - K, R = (1 << w + 4 - K) - 1; R >= 0; --R)
|
|
1950
|
+
v[H | R << K] = K & 15 | y << 4;
|
|
1951
1951
|
return w;
|
|
1952
1952
|
}
|
|
1953
|
-
var
|
|
1953
|
+
var Re = re ? new Uint16Array(512) : Se(512), Me = re ? new Uint16Array(32) : Se(32);
|
|
1954
1954
|
if (!re) {
|
|
1955
1955
|
for (var ke = 0; ke < 512; ++ke)
|
|
1956
|
-
|
|
1956
|
+
Re[ke] = 0;
|
|
1957
1957
|
for (ke = 0; ke < 32; ++ke)
|
|
1958
1958
|
Me[ke] = 0;
|
|
1959
1959
|
}
|
|
@@ -1970,7 +1970,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1970
1970
|
g.push(7);
|
|
1971
1971
|
for (; v <= 287; v++)
|
|
1972
1972
|
g.push(8);
|
|
1973
|
-
Pe(g,
|
|
1973
|
+
Pe(g, Re, 288);
|
|
1974
1974
|
})();
|
|
1975
1975
|
var qe = /* @__PURE__ */ function() {
|
|
1976
1976
|
for (var v = re ? new Uint8Array(32768) : [], g = 0, w = 0; g < ae.length - 1; ++g)
|
|
@@ -1982,27 +1982,27 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1982
1982
|
for (g = 0, w = 0; g < j.length - 1; ++g)
|
|
1983
1983
|
for (; w < j[g + 1]; ++w)
|
|
1984
1984
|
T[w] = g;
|
|
1985
|
-
function y(H,
|
|
1985
|
+
function y(H, O) {
|
|
1986
1986
|
for (var M = 0; M < H.length; ) {
|
|
1987
1987
|
var V = Math.min(65535, H.length - M), K = M + V == H.length;
|
|
1988
|
-
for (
|
|
1989
|
-
|
|
1988
|
+
for (O.write_shift(1, +K), O.write_shift(2, V), O.write_shift(2, ~V & 65535); V-- > 0; )
|
|
1989
|
+
O[O.l++] = H[M++];
|
|
1990
1990
|
}
|
|
1991
|
-
return
|
|
1991
|
+
return O.l;
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1993
|
+
function R(H, O) {
|
|
1994
1994
|
for (var M = 0, V = 0, K = re ? new Uint16Array(32768) : []; V < H.length; ) {
|
|
1995
1995
|
var q = (
|
|
1996
1996
|
/* data.length - boff; */
|
|
1997
1997
|
Math.min(65535, H.length - V)
|
|
1998
1998
|
);
|
|
1999
1999
|
if (q < 10) {
|
|
2000
|
-
for (M = Ae(
|
|
2001
|
-
|
|
2002
|
-
M =
|
|
2000
|
+
for (M = Ae(O, M, +(V + q == H.length)), M & 7 && (M += 8 - (M & 7)), O.l = M / 8 | 0, O.write_shift(2, q), O.write_shift(2, ~q & 65535); q-- > 0; )
|
|
2001
|
+
O[O.l++] = H[V++];
|
|
2002
|
+
M = O.l * 8;
|
|
2003
2003
|
continue;
|
|
2004
2004
|
}
|
|
2005
|
-
M = Ae(
|
|
2005
|
+
M = Ae(O, M, +(V + q == H.length) + 2);
|
|
2006
2006
|
for (var ee = 0; q-- > 0; ) {
|
|
2007
2007
|
var Y = H[V];
|
|
2008
2008
|
ee = (ee << 5 ^ Y) & 32767;
|
|
@@ -2011,23 +2011,23 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2011
2011
|
for (; H[Q + se] == H[V + se] && se < 250; )
|
|
2012
2012
|
++se;
|
|
2013
2013
|
if (se > 2) {
|
|
2014
|
-
Y = T[se], Y <= 22 ? M = Ie(
|
|
2014
|
+
Y = T[se], Y <= 22 ? M = Ie(O, M, Z[Y + 1] >> 1) - 1 : (Ie(O, M, 3), M += 5, Ie(O, M, Z[Y - 23] >> 5), M += 3);
|
|
2015
2015
|
var ue = Y < 8 ? 0 : Y - 4 >> 2;
|
|
2016
|
-
ue > 0 && ($e(
|
|
2016
|
+
ue > 0 && ($e(O, M, se - j[Y]), M += ue), Y = v[V - Q], M = Ie(O, M, Z[Y] >> 3), M -= 3;
|
|
2017
2017
|
var he = Y < 4 ? 0 : Y - 2 >> 1;
|
|
2018
|
-
he > 0 && ($e(
|
|
2018
|
+
he > 0 && ($e(O, M, V - Q - ae[Y]), M += he);
|
|
2019
2019
|
for (var xe = 0; xe < se; ++xe)
|
|
2020
2020
|
K[ee] = V & 32767, ee = (ee << 5 ^ H[V]) & 32767, ++V;
|
|
2021
2021
|
q -= se - 1;
|
|
2022
2022
|
} else
|
|
2023
|
-
Y <= 143 ? Y = Y + 48 : M = Fe(
|
|
2023
|
+
Y <= 143 ? Y = Y + 48 : M = Fe(O, M, 1), M = Ie(O, M, Z[Y]), K[ee] = V & 32767, ++V;
|
|
2024
2024
|
}
|
|
2025
|
-
M = Ie(
|
|
2025
|
+
M = Ie(O, M, 0) - 1;
|
|
2026
2026
|
}
|
|
2027
|
-
return
|
|
2027
|
+
return O.l = (M + 7) / 8 | 0, O.l;
|
|
2028
2028
|
}
|
|
2029
|
-
return function(
|
|
2030
|
-
return
|
|
2029
|
+
return function(O, M) {
|
|
2030
|
+
return O.length < 8 ? y(O, M) : R(O, M);
|
|
2031
2031
|
};
|
|
2032
2032
|
}();
|
|
2033
2033
|
function We(x) {
|
|
@@ -2042,22 +2042,22 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2042
2042
|
v += 5;
|
|
2043
2043
|
var T = ye(x, v) + 4;
|
|
2044
2044
|
v += 4;
|
|
2045
|
-
for (var y = 0,
|
|
2046
|
-
|
|
2045
|
+
for (var y = 0, R = re ? new Uint8Array(19) : Se(19), H = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], O = 1, M = re ? new Uint8Array(8) : Se(8), V = re ? new Uint8Array(8) : Se(8), K = R.length, q = 0; q < T; ++q)
|
|
2046
|
+
R[B[q]] = y = fe(x, v), O < y && (O = y), M[y]++, v += 3;
|
|
2047
2047
|
var ee = 0;
|
|
2048
|
-
for (M[0] = 0, q = 1; q <=
|
|
2048
|
+
for (M[0] = 0, q = 1; q <= O; ++q)
|
|
2049
2049
|
V[q] = ee = ee + M[q - 1] << 1;
|
|
2050
2050
|
for (q = 0; q < K; ++q)
|
|
2051
|
-
(ee =
|
|
2051
|
+
(ee = R[q]) != 0 && (H[q] = V[ee]++);
|
|
2052
2052
|
var Y = 0;
|
|
2053
2053
|
for (q = 0; q < K; ++q)
|
|
2054
|
-
if (Y =
|
|
2054
|
+
if (Y = R[q], Y != 0) {
|
|
2055
2055
|
ee = Z[H[q]] >> 8 - Y;
|
|
2056
2056
|
for (var Q = (1 << 7 - Y) - 1; Q >= 0; --Q)
|
|
2057
2057
|
Ge[ee | Q << Y] = Y & 7 | q << 3;
|
|
2058
2058
|
}
|
|
2059
2059
|
var se = [];
|
|
2060
|
-
for (
|
|
2060
|
+
for (O = 1; se.length < g + w; )
|
|
2061
2061
|
switch (ee = Ge[te(x, v)], v += ee & 7, ee >>>= 3) {
|
|
2062
2062
|
case 16:
|
|
2063
2063
|
for (y = 3 + ge(x, v), v += 2, ee = se[se.length - 1]; y-- > 0; )
|
|
@@ -2072,7 +2072,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2072
2072
|
se.push(0);
|
|
2073
2073
|
break;
|
|
2074
2074
|
default:
|
|
2075
|
-
se.push(ee),
|
|
2075
|
+
se.push(ee), O < ee && (O = ee);
|
|
2076
2076
|
break;
|
|
2077
2077
|
}
|
|
2078
2078
|
var ue = se.slice(0, g), he = se.slice(g);
|
|
@@ -2085,20 +2085,20 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2085
2085
|
function Qe(x, v) {
|
|
2086
2086
|
if (x[0] == 3 && !(x[1] & 3))
|
|
2087
2087
|
return [new_raw_buf(v), 2];
|
|
2088
|
-
for (var g = 0, w = 0, T = new_unsafe_buf(v || 1 << 18), y = 0,
|
|
2088
|
+
for (var g = 0, w = 0, T = new_unsafe_buf(v || 1 << 18), y = 0, R = T.length >>> 0, H = 0, O = 0; !(w & 1); ) {
|
|
2089
2089
|
if (w = fe(x, g), g += 3, w >>> 1)
|
|
2090
|
-
w >> 1 == 1 ? (H = 9,
|
|
2090
|
+
w >> 1 == 1 ? (H = 9, O = 5) : (g = Ze(x, g), H = ze, O = je);
|
|
2091
2091
|
else {
|
|
2092
2092
|
g & 7 && (g += 8 - (g & 7));
|
|
2093
2093
|
var M = x[g >>> 3] | x[(g >>> 3) + 1] << 8;
|
|
2094
2094
|
if (g += 32, M > 0)
|
|
2095
|
-
for (!v &&
|
|
2095
|
+
for (!v && R < y + M && (T = Oe(T, y + M), R = T.length); M-- > 0; )
|
|
2096
2096
|
T[y++] = x[g >>> 3], g += 8;
|
|
2097
2097
|
continue;
|
|
2098
2098
|
}
|
|
2099
2099
|
for (; ; ) {
|
|
2100
|
-
!v &&
|
|
2101
|
-
var V = Ee(x, g, H), K = w >>> 1 == 1 ?
|
|
2100
|
+
!v && R < y + 32767 && (T = Oe(T, y + 32767), R = T.length);
|
|
2101
|
+
var V = Ee(x, g, H), K = w >>> 1 == 1 ? Re[V] : Xe[V];
|
|
2102
2102
|
if (g += K & 15, K >>>= 4, !(K >>> 8 & 255))
|
|
2103
2103
|
T[y++] = K;
|
|
2104
2104
|
else {
|
|
@@ -2108,9 +2108,9 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2108
2108
|
var q = K < 8 ? 0 : K - 4 >> 2;
|
|
2109
2109
|
q > 5 && (q = 0);
|
|
2110
2110
|
var ee = y + j[K];
|
|
2111
|
-
q > 0 && (ee += Ee(x, g, q), g += q), V = Ee(x, g,
|
|
2111
|
+
q > 0 && (ee += Ee(x, g, q), g += q), V = Ee(x, g, O), K = w >>> 1 == 1 ? Me[V] : He[V], g += K & 15, K >>>= 4;
|
|
2112
2112
|
var Y = K < 4 ? 0 : K - 2 >> 1, Q = ae[K];
|
|
2113
|
-
for (Y > 0 && (Q += Ee(x, g, Y), g += Y), !v &&
|
|
2113
|
+
for (Y > 0 && (Q += Ee(x, g, Y), g += Y), !v && R < ee && (T = Oe(T, ee + 100), R = T.length); y < ee; )
|
|
2114
2114
|
T[y] = T[y - Q], ++y;
|
|
2115
2115
|
}
|
|
2116
2116
|
}
|
|
@@ -2138,13 +2138,13 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2138
2138
|
FullPaths: T
|
|
2139
2139
|
};
|
|
2140
2140
|
S(y, { root: v.root });
|
|
2141
|
-
for (var
|
|
2142
|
-
--
|
|
2143
|
-
g.l =
|
|
2141
|
+
for (var R = g.length - 4; (g[R] != 80 || g[R + 1] != 75 || g[R + 2] != 5 || g[R + 3] != 6) && R >= 0; )
|
|
2142
|
+
--R;
|
|
2143
|
+
g.l = R + 4, g.l += 4;
|
|
2144
2144
|
var H = g.read_shift(2);
|
|
2145
2145
|
g.l += 6;
|
|
2146
|
-
var
|
|
2147
|
-
for (g.l =
|
|
2146
|
+
var O = g.read_shift(4);
|
|
2147
|
+
for (g.l = O, R = 0; R < H; ++R) {
|
|
2148
2148
|
g.l += 20;
|
|
2149
2149
|
var M = g.read_shift(4), V = g.read_shift(4), K = g.read_shift(2), q = g.read_shift(2), ee = g.read_shift(2);
|
|
2150
2150
|
g.l += 8;
|
|
@@ -2161,10 +2161,10 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2161
2161
|
}
|
|
2162
2162
|
function et(x, v, g, w, T) {
|
|
2163
2163
|
x.l += 2;
|
|
2164
|
-
var y = x.read_shift(2),
|
|
2164
|
+
var y = x.read_shift(2), R = x.read_shift(2), H = s(x);
|
|
2165
2165
|
if (y & 8257)
|
|
2166
2166
|
throw new Error("Unsupported ZIP encryption");
|
|
2167
|
-
for (var
|
|
2167
|
+
for (var O = x.read_shift(4), M = x.read_shift(4), V = x.read_shift(4), K = x.read_shift(2), q = x.read_shift(2), ee = "", Y = 0; Y < K; ++Y)
|
|
2168
2168
|
ee += String.fromCharCode(x[x.l++]);
|
|
2169
2169
|
if (q) {
|
|
2170
2170
|
var Q = l(
|
|
@@ -2176,22 +2176,22 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2176
2176
|
}
|
|
2177
2177
|
x.l += q;
|
|
2178
2178
|
var se = x.slice(x.l, x.l + M);
|
|
2179
|
-
switch (
|
|
2179
|
+
switch (R) {
|
|
2180
2180
|
case 8:
|
|
2181
2181
|
se = U(x, V);
|
|
2182
2182
|
break;
|
|
2183
2183
|
case 0:
|
|
2184
2184
|
break;
|
|
2185
2185
|
default:
|
|
2186
|
-
throw new Error("Unsupported ZIP Compression method " +
|
|
2186
|
+
throw new Error("Unsupported ZIP Compression method " + R);
|
|
2187
2187
|
}
|
|
2188
2188
|
var ue = !1;
|
|
2189
|
-
y & 8 && (
|
|
2189
|
+
y & 8 && (O = x.read_shift(4), O == 134695760 && (O = x.read_shift(4), ue = !0), M = x.read_shift(4), V = x.read_shift(4)), M != v && Ye(ue, "Bad compressed size: " + v + " != " + M), V != g && Ye(ue, "Bad uncompressed size: " + g + " != " + V), Ve(w, ee, se, { unsafe: !0, mt: H });
|
|
2190
2190
|
}
|
|
2191
2191
|
function tt(x, v) {
|
|
2192
|
-
var g = v || {}, w = [], T = [], y = new_buf(1),
|
|
2193
|
-
for (
|
|
2194
|
-
if (ee = x.FullPaths[
|
|
2192
|
+
var g = v || {}, w = [], T = [], y = new_buf(1), R = g.compression ? 8 : 0, H = 0, O = 0, M = 0, V = 0, K = 0, q = x.FullPaths[0], ee = q, Y = x.FileIndex[0], Q = [], se = 0;
|
|
2193
|
+
for (O = 1; O < x.FullPaths.length; ++O)
|
|
2194
|
+
if (ee = x.FullPaths[O].slice(q.length), Y = x.FileIndex[O], !(!Y.size || !Y.content || ee == "Sh33tJ5")) {
|
|
2195
2195
|
var ue = V, he = new_buf(ee.length);
|
|
2196
2196
|
for (M = 0; M < ee.length; ++M)
|
|
2197
2197
|
he.write_shift(1, ee.charCodeAt(M) & 127);
|
|
@@ -2201,11 +2201,11 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2201
2201
|
0
|
|
2202
2202
|
);
|
|
2203
2203
|
var xe = Y.content;
|
|
2204
|
-
|
|
2204
|
+
R == 8 && (xe = P(xe)), y = new_buf(30), y.write_shift(4, 67324752), y.write_shift(2, 20), y.write_shift(2, H), y.write_shift(2, R), Y.mt ? i(y, Y.mt) : y.write_shift(4, 0), y.write_shift(-4, Q[K]), y.write_shift(4, xe.length), y.write_shift(
|
|
2205
2205
|
4,
|
|
2206
2206
|
/*::(*/
|
|
2207
2207
|
Y.content.length
|
|
2208
|
-
), y.write_shift(2, he.length), y.write_shift(2, 0), V += y.length, w.push(y), V += he.length, w.push(he), V += xe.length, w.push(xe), y = new_buf(46), y.write_shift(4, 33639248), y.write_shift(2, 0), y.write_shift(2, 20), y.write_shift(2, H), y.write_shift(2,
|
|
2208
|
+
), y.write_shift(2, he.length), y.write_shift(2, 0), V += y.length, w.push(y), V += he.length, w.push(he), V += xe.length, w.push(xe), y = new_buf(46), y.write_shift(4, 33639248), y.write_shift(2, 0), y.write_shift(2, 20), y.write_shift(2, H), y.write_shift(2, R), y.write_shift(4, 0), y.write_shift(-4, Q[K]), y.write_shift(4, xe.length), y.write_shift(
|
|
2209
2209
|
4,
|
|
2210
2210
|
/*::(*/
|
|
2211
2211
|
Y.content.length
|
|
@@ -2251,9 +2251,9 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2251
2251
|
g.push("");
|
|
2252
2252
|
continue;
|
|
2253
2253
|
}
|
|
2254
|
-
for (var
|
|
2255
|
-
var H = 76,
|
|
2256
|
-
|
|
2254
|
+
for (var R = 0; R < y.length; ) {
|
|
2255
|
+
var H = 76, O = y.slice(R, R + H);
|
|
2256
|
+
O.charAt(H - 1) == "=" ? H-- : O.charAt(H - 2) == "=" ? H -= 2 : O.charAt(H - 3) == "=" && (H -= 3), O = y.slice(R, R + H), R += H, R < y.length && (O += "="), g.push(O);
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
2259
|
return g.join(`\r
|
|
@@ -2273,11 +2273,11 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2273
2273
|
`));
|
|
2274
2274
|
}
|
|
2275
2275
|
function st(x, v, g) {
|
|
2276
|
-
for (var w = "", T = "", y = "",
|
|
2277
|
-
var
|
|
2278
|
-
if (!
|
|
2276
|
+
for (var w = "", T = "", y = "", R, H = 0; H < 10; ++H) {
|
|
2277
|
+
var O = v[H];
|
|
2278
|
+
if (!O || O.match(/^\s*$/))
|
|
2279
2279
|
break;
|
|
2280
|
-
var M =
|
|
2280
|
+
var M = O.match(/^(.*?):\s*([^\s].*)$/);
|
|
2281
2281
|
if (M)
|
|
2282
2282
|
switch (M[1].toLowerCase()) {
|
|
2283
2283
|
case "content-location":
|
|
@@ -2293,15 +2293,15 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
switch (++H, T.toLowerCase()) {
|
|
2295
2295
|
case "base64":
|
|
2296
|
-
|
|
2296
|
+
R = s2a(Base64_decode(v.slice(H).join("")));
|
|
2297
2297
|
break;
|
|
2298
2298
|
case "quoted-printable":
|
|
2299
|
-
|
|
2299
|
+
R = it(v.slice(H));
|
|
2300
2300
|
break;
|
|
2301
2301
|
default:
|
|
2302
2302
|
throw new Error("Unsupported Content-Transfer-Encoding " + T);
|
|
2303
2303
|
}
|
|
2304
|
-
var V = Ve(x, w.slice(g.length),
|
|
2304
|
+
var V = Ve(x, w.slice(g.length), R, { unsafe: !0 });
|
|
2305
2305
|
y && (V.ctype = y);
|
|
2306
2306
|
}
|
|
2307
2307
|
function lt(x, v) {
|
|
@@ -2313,11 +2313,11 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2313
2313
|
if (y = w[T], !!/^Content-Location:/i.test(y) && (y = y.slice(y.indexOf("file")), g || (g = y.slice(0, y.lastIndexOf("/") + 1)), y.slice(0, g.length) != g))
|
|
2314
2314
|
for (; g.length > 0 && (g = g.slice(0, g.length - 1), g = g.slice(0, g.lastIndexOf("/") + 1), y.slice(0, g.length) != g); )
|
|
2315
2315
|
;
|
|
2316
|
-
var
|
|
2317
|
-
if (!
|
|
2316
|
+
var R = (w[1] || "").match(/boundary="(.*?)"/);
|
|
2317
|
+
if (!R)
|
|
2318
2318
|
throw new Error("MAD cannot find boundary");
|
|
2319
|
-
var H = "--" + (
|
|
2320
|
-
FileIndex:
|
|
2319
|
+
var H = "--" + (R[1] || ""), O = [], M = [], V = {
|
|
2320
|
+
FileIndex: O,
|
|
2321
2321
|
FullPaths: M
|
|
2322
2322
|
};
|
|
2323
2323
|
S(V);
|
|
@@ -2337,9 +2337,9 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2337
2337
|
"",
|
|
2338
2338
|
"",
|
|
2339
2339
|
""
|
|
2340
|
-
], y = x.FullPaths[0],
|
|
2341
|
-
if (
|
|
2342
|
-
|
|
2340
|
+
], y = x.FullPaths[0], R = y, H = x.FileIndex[0], O = 1; O < x.FullPaths.length; ++O)
|
|
2341
|
+
if (R = x.FullPaths[O].slice(y.length), H = x.FileIndex[O], !(!H.size || !H.content || R == "Sh33tJ5")) {
|
|
2342
|
+
R = R.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g, function(se) {
|
|
2343
2343
|
return "_x" + se.charCodeAt(0).toString(16) + "_";
|
|
2344
2344
|
}).replace(/[\u0080-\uFFFF]/g, function(se) {
|
|
2345
2345
|
return "_u" + se.charCodeAt(0).toString(16) + "_";
|
|
@@ -2347,7 +2347,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2347
2347
|
for (var M = H.content, V = has_buf && Buffer.isBuffer(M) ? M.toString("binary") : pe(M), K = 0, q = Math.min(1024, V.length), ee = 0, Y = 0; Y <= q; ++Y)
|
|
2348
2348
|
(ee = V.charCodeAt(Y)) >= 32 && ee < 128 && ++K;
|
|
2349
2349
|
var Q = K >= q * 4 / 5;
|
|
2350
|
-
T.push(w), T.push("Content-Location: " + (g.root || "file:///C:/SheetJS/") +
|
|
2350
|
+
T.push(w), T.push("Content-Location: " + (g.root || "file:///C:/SheetJS/") + R), T.push("Content-Transfer-Encoding: " + (Q ? "quoted-printable" : "base64")), T.push("Content-Type: " + rt(H, R)), T.push(""), T.push(Q ? nt(V) : at(V));
|
|
2351
2351
|
}
|
|
2352
2352
|
return T.push(w + `--\r
|
|
2353
2353
|
`), T.join(`\r
|
|
@@ -2362,8 +2362,8 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2362
2362
|
T || S(x);
|
|
2363
2363
|
var y = !T && CFB.find(x, v);
|
|
2364
2364
|
if (!y) {
|
|
2365
|
-
var
|
|
2366
|
-
v.slice(0,
|
|
2365
|
+
var R = x.FullPaths[0];
|
|
2366
|
+
v.slice(0, R.length) == R ? R = v : (R.slice(-1) != "/" && (R += "/"), R = (R + v).replace("//", "/")), y = { name: n(v), type: 2 }, x.FileIndex.push(y), x.FullPaths.push(R), T || CFB.utils.cfb_gc(x);
|
|
2367
2367
|
}
|
|
2368
2368
|
return y.content = g, y.size = g ? g.length : 0, w && (w.CLSID && (y.clsid = w.CLSID), w.mt && (y.mt = w.mt), w.ct && (y.ct = w.ct)), y;
|
|
2369
2369
|
}
|
|
@@ -16112,7 +16112,7 @@ var utils = {
|
|
|
16112
16112
|
SHEET_VERY_HIDDEN: 2
|
|
16113
16113
|
}
|
|
16114
16114
|
};
|
|
16115
|
-
const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _hoisted_2$9 = { style: { display: "inline-block", width: "100px" } }, _hoisted_3$7 = { style: { "text-align": "center", "margin-top": "2vh" } }, _sfc_main$
|
|
16115
|
+
const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _hoisted_2$9 = { style: { display: "inline-block", width: "100px" } }, _hoisted_3$7 = { style: { "text-align": "center", "margin-top": "2vh" } }, _sfc_main$k = {
|
|
16116
16116
|
__name: "byPrintArray",
|
|
16117
16117
|
props: {
|
|
16118
16118
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -16297,7 +16297,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16297
16297
|
class: "myicon",
|
|
16298
16298
|
"aria-hidden": "true",
|
|
16299
16299
|
style: { "font-size": "2em" }
|
|
16300
|
-
}, _hoisted_7$5 = ["xlink:href"], _sfc_main$
|
|
16300
|
+
}, _hoisted_7$5 = ["xlink:href"], _sfc_main$j = {
|
|
16301
16301
|
__name: "DataList",
|
|
16302
16302
|
props: {
|
|
16303
16303
|
showCheck: { type: Boolean, default: !0 },
|
|
@@ -16698,7 +16698,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16698
16698
|
]),
|
|
16699
16699
|
_: 1
|
|
16700
16700
|
}, 8, ["data", "show-summary", "sum-text"]),
|
|
16701
|
-
createVNode(_sfc_main$
|
|
16701
|
+
createVNode(_sfc_main$k, {
|
|
16702
16702
|
modelValue: n.IsVisible,
|
|
16703
16703
|
"onUpdate:modelValue": D[0] || (D[0] = (A) => n.IsVisible = A),
|
|
16704
16704
|
data: n.dataArray,
|
|
@@ -16708,7 +16708,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16708
16708
|
}, null, 8, ["modelValue", "data", "title", "columnArray", "printOption"])
|
|
16709
16709
|
]));
|
|
16710
16710
|
}
|
|
16711
|
-
}, DataList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16711
|
+
}, DataList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-7942e5fe"]]), CreateNewPrint = () => {
|
|
16712
16712
|
let config = { Pid: "" }, LODOP = getLodop();
|
|
16713
16713
|
return {
|
|
16714
16714
|
onMessage: (e, r) => {
|
|
@@ -16866,7 +16866,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
16866
16866
|
PrintTick: PrintTick$1,
|
|
16867
16867
|
UserCardTypeEnum: UserCardTypeEnum$1,
|
|
16868
16868
|
DebugPrint: DebugPrint$1
|
|
16869
|
-
}, _hoisted_1$c = { class: "pagemain" }, _hoisted_2$7 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$
|
|
16869
|
+
}, _hoisted_1$c = { class: "pagemain" }, _hoisted_2$7 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$i = {
|
|
16870
16870
|
__name: "index",
|
|
16871
16871
|
props: {
|
|
16872
16872
|
columnArray: { type: Array, default: () => [] },
|
|
@@ -16996,7 +16996,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
16996
16996
|
}), r({
|
|
16997
16997
|
onSearch: b
|
|
16998
16998
|
}), (X, G) => (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
16999
|
-
s.value ? (openBlock(), createBlock(_sfc_main$
|
|
16999
|
+
s.value ? (openBlock(), createBlock(_sfc_main$m, {
|
|
17000
17000
|
key: 0,
|
|
17001
17001
|
class: "filter",
|
|
17002
17002
|
onSearch: G[0] || (G[0] = (S) => b(1)),
|
|
@@ -17119,7 +17119,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17119
17119
|
}, 8, ["modelValue", "title", "width", "style"])
|
|
17120
17120
|
]));
|
|
17121
17121
|
}
|
|
17122
|
-
}, PageIndex = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17122
|
+
}, PageIndex = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-91721a17"]]), _hoisted_1$b = { class: "pagemain" }, _sfc_main$h = {
|
|
17123
17123
|
__name: "index",
|
|
17124
17124
|
props: {
|
|
17125
17125
|
columnArray: { type: Array, default: () => [] },
|
|
@@ -17168,7 +17168,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17168
17168
|
TitleArray: [l.tabName],
|
|
17169
17169
|
FootArray: [L("打单日期") + `:${(/* @__PURE__ */ new Date()).ToString("yyyy-MM-dd HH:mm:ss")}`]
|
|
17170
17170
|
};
|
|
17171
|
-
return l.TitleArray && l.TitleArray.length > 0 && l.TitleArray.forEach((C) => m.TitleArray.push(C)), l.FootArray && l.FootArray.length > 0 && l.FootArray.forEach((C) => m.FootArray.push(C)), m;
|
|
17171
|
+
return l.printOption.TitleArray && l.printOption.TitleArray.length > 0 && l.printOption.TitleArray.forEach((C) => m.TitleArray.push(C)), l.printOption.FootArray && l.printOption.FootArray.length > 0 && l.printOption.FootArray.forEach((C) => m.FootArray.push(C)), console.log(m), m;
|
|
17172
17172
|
}
|
|
17173
17173
|
}), c = t, _ = ref([]), d = computed({
|
|
17174
17174
|
get: () => {
|
|
@@ -17232,7 +17232,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17232
17232
|
}), r({
|
|
17233
17233
|
onSearch: u
|
|
17234
17234
|
}), (m, C) => (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
17235
|
-
i.value ? (openBlock(), createBlock(_sfc_main$
|
|
17235
|
+
i.value ? (openBlock(), createBlock(_sfc_main$m, {
|
|
17236
17236
|
key: 0,
|
|
17237
17237
|
class: "filter",
|
|
17238
17238
|
onSearch: u
|
|
@@ -17287,7 +17287,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17287
17287
|
}, null, 8, ["data", "tabName", "toolWidth", "columnArray", "commandArray", "printOption"]))
|
|
17288
17288
|
]));
|
|
17289
17289
|
}
|
|
17290
|
-
}, reportIndex = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17290
|
+
}, reportIndex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-709d7bef"]]), _sfc_main$g = {
|
|
17291
17291
|
__name: "byDatePicker",
|
|
17292
17292
|
props: {
|
|
17293
17293
|
BeginTime: { type: [String, void 0], default: "" },
|
|
@@ -17387,7 +17387,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17387
17387
|
"default-time": [/* @__PURE__ */ new Date("2022-1-1 00:00:00"), /* @__PURE__ */ new Date("2022-1-1 23:59:59")]
|
|
17388
17388
|
}, null, 8, ["modelValue", "range-separator", "start-placeholder", "end-placeholder", "default-time"]));
|
|
17389
17389
|
}
|
|
17390
|
-
}, byDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17390
|
+
}, byDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-085dabce"]]), _hoisted_1$a = { style: "width: 100%;height:100%;border:1px solid #ccc" }, _sfc_main$f = {
|
|
17391
17391
|
__name: "byRichTextEdit",
|
|
17392
17392
|
props: {
|
|
17393
17393
|
modelValue: { type: String, default: "" }
|
|
@@ -17431,7 +17431,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17431
17431
|
}, null, 512)
|
|
17432
17432
|
]));
|
|
17433
17433
|
}
|
|
17434
|
-
}, _hoisted_1$9 = { style: { height: "150px" } }, _hoisted_2$6 = ["src"], _hoisted_3$5 = ["src"], _sfc_main$
|
|
17434
|
+
}, _hoisted_1$9 = { style: { height: "150px" } }, _hoisted_2$6 = ["src"], _hoisted_3$5 = ["src"], _sfc_main$e = {
|
|
17435
17435
|
__name: "byUploadPic",
|
|
17436
17436
|
props: {
|
|
17437
17437
|
modelValue: { type: [String, Array], default: "" },
|
|
@@ -17581,7 +17581,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17581
17581
|
], 64))
|
|
17582
17582
|
]));
|
|
17583
17583
|
}
|
|
17584
|
-
}, byUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17584
|
+
}, byUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-b1c1000f"]]), _hoisted_1$8 = { style: { height: "680px" } }, _hoisted_2$5 = { style: { "text-align": "center", padding: "20px 0", "font-size": "20px" } }, _hoisted_3$4 = { style: { "text-align": "center" } }, _hoisted_4$4 = {
|
|
17585
17585
|
class: "qrCodeWrap",
|
|
17586
17586
|
ref: "qrCodeWrap"
|
|
17587
17587
|
}, _hoisted_5$4 = { class: "qrWrap" }, _hoisted_6$4 = {
|
|
@@ -17590,7 +17590,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17590
17590
|
}, _hoisted_7$4 = ["src"], _hoisted_8$4 = { class: "instructionsWrap" }, _hoisted_9$4 = {
|
|
17591
17591
|
key: 0,
|
|
17592
17592
|
class: "instructionsbtn"
|
|
17593
|
-
}, _hoisted_10$3 = ["href", "download"], _sfc_main$
|
|
17593
|
+
}, _hoisted_10$3 = ["href", "download"], _sfc_main$d = {
|
|
17594
17594
|
__name: "byQrcode",
|
|
17595
17595
|
props: {
|
|
17596
17596
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -17652,7 +17652,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17652
17652
|
_: 3
|
|
17653
17653
|
}, 8, ["modelValue"]));
|
|
17654
17654
|
}
|
|
17655
|
-
}, byQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17655
|
+
}, byQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-3fb40ef7"]]), _hoisted_1$7 = ["src"], _sfc_main$c = {
|
|
17656
17656
|
__name: "PowerIFrame",
|
|
17657
17657
|
props: {
|
|
17658
17658
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -17706,7 +17706,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17706
17706
|
_: 1
|
|
17707
17707
|
}, 8, ["title", "modelValue", "style"]));
|
|
17708
17708
|
}
|
|
17709
|
-
}, _sfc_main$
|
|
17709
|
+
}, _sfc_main$b = {
|
|
17710
17710
|
__name: "PowerButton",
|
|
17711
17711
|
props: {
|
|
17712
17712
|
name: { type: String, default: "" },
|
|
@@ -17726,7 +17726,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17726
17726
|
]),
|
|
17727
17727
|
_: 1
|
|
17728
17728
|
}),
|
|
17729
|
-
createVNode(_sfc_main$
|
|
17729
|
+
createVNode(_sfc_main$c, {
|
|
17730
17730
|
name: t.name,
|
|
17731
17731
|
modelValue: r.value,
|
|
17732
17732
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => r.value = s),
|
|
@@ -17741,7 +17741,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17741
17741
|
key: 0,
|
|
17742
17742
|
style: { width: "130px", height: "160px" },
|
|
17743
17743
|
src: "http://saas.1000da.com.cn/images/缺省证件.jpg"
|
|
17744
|
-
}, _hoisted_5$3 = ["src"], _hoisted_6$3 = { width: "420" }, _hoisted_7$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "姓 名:", -1), _hoisted_8$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "性 别:", -1), _hoisted_9$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "手机号:", -1), _hoisted_10$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件类型:", -1), _hoisted_11$2 = { colspan: "2" }, _hoisted_12$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "户籍地址:", -1), _hoisted_13$2 = { colspan: "2" }, _hoisted_14$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件号:", -1), _hoisted_15$2 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$
|
|
17744
|
+
}, _hoisted_5$3 = ["src"], _hoisted_6$3 = { width: "420" }, _hoisted_7$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "姓 名:", -1), _hoisted_8$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "性 别:", -1), _hoisted_9$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "手机号:", -1), _hoisted_10$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件类型:", -1), _hoisted_11$2 = { colspan: "2" }, _hoisted_12$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "户籍地址:", -1), _hoisted_13$2 = { colspan: "2" }, _hoisted_14$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件号:", -1), _hoisted_15$2 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$a = {
|
|
17745
17745
|
__name: "IdentityInput",
|
|
17746
17746
|
props: {
|
|
17747
17747
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -17934,7 +17934,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17934
17934
|
}, 8, ["title", "modelValue"])
|
|
17935
17935
|
]));
|
|
17936
17936
|
}
|
|
17937
|
-
}, _hoisted_1$5 = { style: { display: "flex", "align-items": "center" } }, _hoisted_2$3 = { class: "wfbox" }, _sfc_main$
|
|
17937
|
+
}, _hoisted_1$5 = { style: { display: "flex", "align-items": "center" } }, _hoisted_2$3 = { class: "wfbox" }, _sfc_main$9 = {
|
|
17938
17938
|
__name: "byNetworkMonitor",
|
|
17939
17939
|
setup(e) {
|
|
17940
17940
|
var r = null;
|
|
@@ -17988,7 +17988,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
17988
17988
|
}, toDisplayString(unref(GetEnumName)(a, t.value)), 5)
|
|
17989
17989
|
]));
|
|
17990
17990
|
}
|
|
17991
|
-
}, byNetworkMonitor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17991
|
+
}, byNetworkMonitor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3045f4e5"]]), _sfc_main$8 = {
|
|
17992
17992
|
__name: "RebateBox",
|
|
17993
17993
|
props: {
|
|
17994
17994
|
modelValue: { type: [String, Number], default: "" },
|
|
@@ -18073,7 +18073,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18073
18073
|
}, _withScopeId$1 = (e) => (pushScopeId("data-v-120dbd5d"), e = e(), popScopeId(), e), _hoisted_1$4 = { style: { "margin-bottom": "10px" } }, _hoisted_2$2 = {
|
|
18074
18074
|
rowspan: "3",
|
|
18075
18075
|
style: { "padding-right": "10px" }
|
|
18076
|
-
}, _hoisted_3$2 = ["src"], _hoisted_4$2 = ["src"], _hoisted_5$2 = { key: 1 }, _hoisted_6$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "用户:", -1)), _hoisted_7$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "手机号:", -1)), _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "会员余额:", -1)), _hoisted_9$2 = { class: "amount" }, _hoisted_10$1 = ["src"], _hoisted_11$1 = ["src"], _hoisted_12$1 = { key: 1 }, _hoisted_13$1 = { class: "amount" }, _hoisted_14$1 = { key: 0 }, _hoisted_15$1 = { key: 1 }, _hoisted_16$1 = { key: 2 }, _hoisted_17$1 = { key: 3 }, _hoisted_18$1 = { style: { "text-align": "center" } }, _sfc_main$
|
|
18076
|
+
}, _hoisted_3$2 = ["src"], _hoisted_4$2 = ["src"], _hoisted_5$2 = { key: 1 }, _hoisted_6$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "用户:", -1)), _hoisted_7$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "手机号:", -1)), _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "会员余额:", -1)), _hoisted_9$2 = { class: "amount" }, _hoisted_10$1 = ["src"], _hoisted_11$1 = ["src"], _hoisted_12$1 = { key: 1 }, _hoisted_13$1 = { class: "amount" }, _hoisted_14$1 = { key: 0 }, _hoisted_15$1 = { key: 1 }, _hoisted_16$1 = { key: 2 }, _hoisted_17$1 = { key: 3 }, _hoisted_18$1 = { style: { "text-align": "center" } }, _sfc_main$7 = {
|
|
18077
18077
|
__name: "MemberBox",
|
|
18078
18078
|
props: {
|
|
18079
18079
|
payAmount: { type: [String, Number], default: "0" },
|
|
@@ -18277,7 +18277,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18277
18277
|
])
|
|
18278
18278
|
]));
|
|
18279
18279
|
}
|
|
18280
|
-
}, MemberBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18280
|
+
}, MemberBox = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-120dbd5d"]]), _hoisted_1$3 = ["src"], _sfc_main$6 = {
|
|
18281
18281
|
__name: "byDialog",
|
|
18282
18282
|
props: {
|
|
18283
18283
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -18329,7 +18329,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18329
18329
|
_: 3
|
|
18330
18330
|
}, 8, ["title", "modelValue", "fullscreen", "top", "width", "show-close", "modal"]));
|
|
18331
18331
|
}
|
|
18332
|
-
}, byDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18332
|
+
}, byDialog = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-1f759cc9"]]), getPayCodeType = (e) => e ? e.length == 18 ? e.startsWith("28") ? 1 : e.startsWith("10") || e.startsWith("11") || e.startsWith("12") || e.startsWith("13") || e.startsWith("14") || e.startsWith("15") ? 2 : 0 : (e.length == 19, 0) : 0, isPayCode = (e) => getPayCodeType(e) > 0, staticData = {
|
|
18333
18333
|
loading: null,
|
|
18334
18334
|
timerId: null,
|
|
18335
18335
|
isConfirm: !1,
|
|
@@ -18408,7 +18408,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18408
18408
|
}, _withScopeId = (e) => (pushScopeId("data-v-cbc36807"), e = e(), popScopeId(), e), _hoisted_1$2 = { style: { height: "calc(100% - 40px)", "overflow-y": "auto" } }, _hoisted_2$1 = { style: { width: "100%", "font-size": "1.2em" } }, _hoisted_3$1 = { class: "tlab" }, _hoisted_4$1 = { class: "tlab" }, _hoisted_5$1 = { style: { color: "crimson", "text-decoration": "line-through" } }, _hoisted_6$1 = { style: { color: "#1a9f17", "font-size": "1.3em" } }, _hoisted_7$1 = {
|
|
18409
18409
|
key: 1,
|
|
18410
18410
|
style: { color: "crimson" }
|
|
18411
|
-
}, _hoisted_8$1 = { class: "tlab" }, _hoisted_9$1 = { key: 0 }, _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "描述:", -1)), _hoisted_11 = { key: 1 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "优惠金额:", -1)), _hoisted_13 = { key: 2 }, _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "营销员:", -1)), _hoisted_15 = { class: "tlab" }, _hoisted_16 = { key: 3 }, _hoisted_17 = { class: "tlab" }, _hoisted_18 = { class: "tlab" }, _hoisted_19 = { class: "tlab" }, _hoisted_20 = { class: "tlab" }, _hoisted_21 = { class: "tlab" }, _hoisted_22 = { key: 6 }, _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "备注:", -1)), _hoisted_24 = { style: { color: "#808080", "font-size": "14px" } }, _hoisted_25 = { style: { "text-align": "center" } }, _sfc_main$
|
|
18411
|
+
}, _hoisted_8$1 = { class: "tlab" }, _hoisted_9$1 = { key: 0 }, _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "描述:", -1)), _hoisted_11 = { key: 1 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "优惠金额:", -1)), _hoisted_13 = { key: 2 }, _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "营销员:", -1)), _hoisted_15 = { class: "tlab" }, _hoisted_16 = { key: 3 }, _hoisted_17 = { class: "tlab" }, _hoisted_18 = { class: "tlab" }, _hoisted_19 = { class: "tlab" }, _hoisted_20 = { class: "tlab" }, _hoisted_21 = { class: "tlab" }, _hoisted_22 = { key: 6 }, _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "备注:", -1)), _hoisted_24 = { style: { color: "#808080", "font-size": "14px" } }, _hoisted_25 = { style: { "text-align": "center" } }, _sfc_main$5 = {
|
|
18412
18412
|
__name: "index",
|
|
18413
18413
|
props: {
|
|
18414
18414
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -18578,7 +18578,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18578
18578
|
t.rebate ? (openBlock(), createElementBlock("tr", _hoisted_11, [
|
|
18579
18579
|
_hoisted_12,
|
|
18580
18580
|
createElementVNode("td", null, [
|
|
18581
|
-
createVNode(_sfc_main$
|
|
18581
|
+
createVNode(_sfc_main$8, {
|
|
18582
18582
|
modelValue: o.RebateAmount,
|
|
18583
18583
|
"onUpdate:modelValue": u[1] || (u[1] = (m) => o.RebateAmount = m),
|
|
18584
18584
|
totalAmount: t.orderInfo.SumPrice
|
|
@@ -18784,7 +18784,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18784
18784
|
_: 1
|
|
18785
18785
|
}, 8, ["modelValue"]));
|
|
18786
18786
|
}
|
|
18787
|
-
}, byConfirmOrder = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18787
|
+
}, byConfirmOrder = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cbc36807"]]), _hoisted_1$1 = { name: "selectIco" }, _hoisted_2 = { style: { padding: "5px", float: "left", border: "1px solid #e2e2e2", overflow: "hidden" } }, _hoisted_3 = {
|
|
18788
18788
|
class: "icon",
|
|
18789
18789
|
"aria-hidden": "true",
|
|
18790
18790
|
style: { "font-size": "60px" }
|
|
@@ -18792,7 +18792,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18792
18792
|
class: "icon",
|
|
18793
18793
|
"aria-hidden": "true",
|
|
18794
18794
|
style: { "font-size": "40px" }
|
|
18795
|
-
}, _hoisted_9 = ["xlink:href"], _sfc_main$
|
|
18795
|
+
}, _hoisted_9 = ["xlink:href"], _sfc_main$4 = {
|
|
18796
18796
|
__name: "bySelectIco",
|
|
18797
18797
|
props: {
|
|
18798
18798
|
modelValue: { type: String, default: "" }
|
|
@@ -18863,7 +18863,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18863
18863
|
}, 8, ["modelValue"])
|
|
18864
18864
|
]));
|
|
18865
18865
|
}
|
|
18866
|
-
}, bySelectIco = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18866
|
+
}, bySelectIco = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1c780e69"]]), _hoisted_1 = { class: "mytag" }, _sfc_main$3 = {
|
|
18867
18867
|
__name: "byInputTags",
|
|
18868
18868
|
props: {
|
|
18869
18869
|
modelValue: { type: String, default: "" }
|
|
@@ -18926,7 +18926,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18926
18926
|
})
|
|
18927
18927
|
], 64));
|
|
18928
18928
|
}
|
|
18929
|
-
}, byInputTags = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18929
|
+
}, byInputTags = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-0078ac34"]]), _sfc_main$2 = {
|
|
18930
18930
|
__name: "SummaryReport",
|
|
18931
18931
|
props: {
|
|
18932
18932
|
searchParam: {
|
|
@@ -18960,7 +18960,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18960
18960
|
}), d = computed({
|
|
18961
18961
|
get: () => {
|
|
18962
18962
|
var h = {
|
|
18963
|
-
FootArray: [`${L("制单人")}:${n.NickName}
|
|
18963
|
+
FootArray: [`${L("制单人")}:${n.NickName}`],
|
|
18964
18964
|
TitleArray: [`${t.searchParam.BeginTime} - ${t.searchParam.EndTime}`]
|
|
18965
18965
|
};
|
|
18966
18966
|
return h;
|
|
@@ -18969,7 +18969,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
18969
18969
|
return onMounted(() => {
|
|
18970
18970
|
nextTick(() => {
|
|
18971
18971
|
t.reportArray.length > 0 && (a.value = t.reportArray[0].Name), c();
|
|
18972
|
-
});
|
|
18972
|
+
}), n = JSON.parse(localStorage.getItem("ManagerInfo"));
|
|
18973
18973
|
}), (h, p) => l.value ? (openBlock(), createBlock(reportIndex, {
|
|
18974
18974
|
key: 0,
|
|
18975
18975
|
url: s.value,
|
|
@@ -19014,7 +19014,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
19014
19014
|
_: 3
|
|
19015
19015
|
}, 8, ["url", "tabName", "columnArray", "commandArray", "printOption", "searchParam", "toolWidth"])) : createCommentVNode("", !0);
|
|
19016
19016
|
}
|
|
19017
|
-
}, _sfc_main = {
|
|
19017
|
+
}, _sfc_main$1 = {
|
|
19018
19018
|
__name: "index",
|
|
19019
19019
|
props: {
|
|
19020
19020
|
name: { type: String, default: "汇总" },
|
|
@@ -19066,7 +19066,7 @@ const SafeCall$1 = async (e, r) => {
|
|
|
19066
19066
|
name: t.name
|
|
19067
19067
|
}, {
|
|
19068
19068
|
default: withCtx(() => [
|
|
19069
|
-
createVNode(_sfc_main$
|
|
19069
|
+
createVNode(_sfc_main$2, {
|
|
19070
19070
|
reportArray: t.reportArray,
|
|
19071
19071
|
toolWidth: t.toolWidth,
|
|
19072
19072
|
onCommand: s,
|
|
@@ -19092,15 +19092,62 @@ const SafeCall$1 = async (e, r) => {
|
|
|
19092
19092
|
_: 3
|
|
19093
19093
|
}, 8, ["modelValue"]));
|
|
19094
19094
|
}
|
|
19095
|
-
}, totalReport = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
19095
|
+
}, totalReport = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-78da76c6"]]), _sfc_main = {
|
|
19096
|
+
__name: "byAreaSelect",
|
|
19097
|
+
props: {
|
|
19098
|
+
provinceId: { type: [Number, String], default: "" },
|
|
19099
|
+
// 省份ID
|
|
19100
|
+
cityId: { type: [Number, String], default: "" },
|
|
19101
|
+
//市ID
|
|
19102
|
+
countyId: { type: [Number, String], default: "" },
|
|
19103
|
+
//区ID
|
|
19104
|
+
provinceName: { type: String, default: "" },
|
|
19105
|
+
//省份名称
|
|
19106
|
+
cityName: { type: String, default: "" },
|
|
19107
|
+
//市名称
|
|
19108
|
+
countyName: { type: String, default: "" }
|
|
19109
|
+
//区名称
|
|
19110
|
+
},
|
|
19111
|
+
emits: ["update:provinceId", "update:cityId", "update:countyId"],
|
|
19112
|
+
setup(e, { emit: r }) {
|
|
19113
|
+
const t = e, a = r, n = reactive({
|
|
19114
|
+
elValue: [],
|
|
19115
|
+
areaArray: [],
|
|
19116
|
+
optionConfig: {
|
|
19117
|
+
lazy: !0,
|
|
19118
|
+
lazyLoad: async (s, l) => {
|
|
19119
|
+
let o = (s == null ? void 0 : s.value) || 99999999, f = await InfrastructureApi("/ChildApi/SearchAreaInfo", { SearchType: 1, DataId: o });
|
|
19120
|
+
f = f.Select((c) => (n.areaArray.push(c), {
|
|
19121
|
+
value: c.Id,
|
|
19122
|
+
label: c.Name,
|
|
19123
|
+
leaf: c.IsLast == 1
|
|
19124
|
+
})), l(f);
|
|
19125
|
+
}
|
|
19126
|
+
}
|
|
19127
|
+
}), i = (s) => {
|
|
19128
|
+
let l = n.areaArray.FirstOrDefault((o) => o.Id == s[0]);
|
|
19129
|
+
a("update:provinceId", n.elValue[0]), a("update:provinceName", l == null ? void 0 : l.Name), l = n.areaArray.FirstOrDefault((o) => o.Id == s[1]), a("update:cityId", n.elValue[1]), a("update:cityName", l == null ? void 0 : l.Name), l = n.areaArray.FirstOrDefault((o) => o.Id == s[2]), a("update:countyId", n.elValue[2]), a("update:countyName", l == null ? void 0 : l.Name);
|
|
19130
|
+
};
|
|
19131
|
+
return onMounted(async () => {
|
|
19132
|
+
n.elValue = [t.provinceId, t.cityId, t.countyId];
|
|
19133
|
+
}), (s, l) => (openBlock(), createBlock(unref(ElCascader), {
|
|
19134
|
+
modelValue: n.elValue,
|
|
19135
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => n.elValue = o),
|
|
19136
|
+
onChange: i,
|
|
19137
|
+
props: n.optionConfig,
|
|
19138
|
+
style: { width: "300px" }
|
|
19139
|
+
}, null, 8, ["modelValue", "props"]));
|
|
19140
|
+
}
|
|
19141
|
+
};
|
|
19096
19142
|
function registComponent(e, r) {
|
|
19097
19143
|
e.component("PageIndex", PageIndex);
|
|
19098
19144
|
}
|
|
19099
19145
|
typeof window < "u" && window.Vue && registComponent(window.Vue);
|
|
19100
|
-
const ByRichTextEdit = _sfc_main$
|
|
19146
|
+
const ByRichTextEdit = _sfc_main$f, ByPrintArray = _sfc_main$k, ByDatePicker = byDatePicker, ByUploadPic = byUploadPic, ByQrcode = byQrcode, SafeCall = vueHelper.SafeCall, DebugPrint = vueHelper.DebugPrint, PowerButton = _sfc_main$b, BySelectIco = bySelectIco, PowerIFrame = _sfc_main$c, ByInputTags = byInputTags, ReportIndex = reportIndex, PrintTick = vueHelper.PrintTick, ByIdentityInput = _sfc_main$a, ByConfirmOrder = byConfirmOrder, UserCardTypeEnum = vueHelper.UserCardTypeEnum, ByDataList = DataList, ByDialog = byDialog, ByNetworkMonitor = byNetworkMonitor, ByTotalReport = totalReport, ByAreaSelect = _sfc_main, pcui = {
|
|
19101
19147
|
install: registComponent
|
|
19102
19148
|
};
|
|
19103
19149
|
export {
|
|
19150
|
+
ByAreaSelect,
|
|
19104
19151
|
ByConfirmOrder,
|
|
19105
19152
|
ByDataList,
|
|
19106
19153
|
ByDatePicker,
|