@partex/one-core 2.0.82 → 2.0.83
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/lib/components/scan/index.vue.d.ts +1 -0
- package/lib/one-core.cjs +2 -2
- package/lib/one-core.js +186 -179
- package/lib/one-core.umd.cjs +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/one-core.js
CHANGED
|
@@ -638,7 +638,7 @@ const pn = (e, t = "yyyy-MM-dd") => {
|
|
|
638
638
|
} catch {
|
|
639
639
|
return "";
|
|
640
640
|
}
|
|
641
|
-
},
|
|
641
|
+
}, wY = (e, t = 500) => {
|
|
642
642
|
const r = e;
|
|
643
643
|
let n;
|
|
644
644
|
const a = function(...o) {
|
|
@@ -648,10 +648,10 @@ const pn = (e, t = "yyyy-MM-dd") => {
|
|
|
648
648
|
};
|
|
649
649
|
return a;
|
|
650
650
|
};
|
|
651
|
-
function
|
|
651
|
+
function SY(e, t) {
|
|
652
652
|
e.requestFullscreen ? (t && (e.onfullscreenchange = t), e.requestFullscreen()) : e.mozRequestFullScreen ? (t && (e.onmozfullscreenchange = t), e.mozRequestFullScreen()) : e.webkitRequestFullscreen ? (t && (e.onwebkitfullscreenchange = t), e.webkitRequestFullscreen()) : e.msRequestFullscreen && (t && (e.onmsfullscreenchange = t), e.msRequestFullscreen());
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function CY(e, t = 0) {
|
|
655
655
|
const r = ["", "k", "m", "b", "t"], n = Math.floor(Math.log10(Math.abs(e)) / 3), a = Math.max(0, Math.min(n, r.length - 1)), i = r[a];
|
|
656
656
|
return i ? (e / Math.pow(10, a * 3)).toFixed(t) + i : (e / Math.pow(10, a * 3)).toFixed(0);
|
|
657
657
|
}
|
|
@@ -980,7 +980,7 @@ xi.interceptors.response.use(
|
|
|
980
980
|
return Promise.reject();
|
|
981
981
|
}
|
|
982
982
|
);
|
|
983
|
-
const
|
|
983
|
+
const TY = () => {
|
|
984
984
|
th.cancel(), th = _d.CancelToken.source();
|
|
985
985
|
}, kd = "/apiserver/", uD = (e, t, r = "json") => xi({
|
|
986
986
|
url: `${kd}${e}`,
|
|
@@ -1000,7 +1000,7 @@ const CY = () => {
|
|
|
1000
1000
|
url: `${kd}${e}`,
|
|
1001
1001
|
method: "POST",
|
|
1002
1002
|
data: t
|
|
1003
|
-
}), V_ = "2.0.
|
|
1003
|
+
}), V_ = "2.0.83";
|
|
1004
1004
|
function fD() {
|
|
1005
1005
|
const e = Wt("platformListOwned", !1);
|
|
1006
1006
|
if (e) {
|
|
@@ -30823,66 +30823,68 @@ const pU = /* @__PURE__ */ ne(fU, [["render", vU]]), gU = Ie({
|
|
|
30823
30823
|
},
|
|
30824
30824
|
emits: ["on-update:value"],
|
|
30825
30825
|
setup(e, { emit: t }) {
|
|
30826
|
-
const r = W(), n = W(
|
|
30827
|
-
let
|
|
30828
|
-
const
|
|
30829
|
-
|
|
30830
|
-
},
|
|
30831
|
-
if (
|
|
30832
|
-
|
|
30833
|
-
const
|
|
30826
|
+
const r = W(), n = W(), a = W(!1), i = W(!1), o = kn(), s = 1280, l = 720;
|
|
30827
|
+
let u = null, c = null;
|
|
30828
|
+
const f = (w, C) => {
|
|
30829
|
+
u.beginPath(), u.moveTo(w.x, w.y), u.lineTo(C.x, C.y), u.lineWidth = 2, u.strokeStyle = "green", u.stroke();
|
|
30830
|
+
}, d = () => {
|
|
30831
|
+
if (c && c.readyState === c.HAVE_ENOUGH_DATA) {
|
|
30832
|
+
c.width = s, c.height = l, u.drawImage(r.value, 0, 0, s, l);
|
|
30833
|
+
const w = u.getImageData(0, 0, s, l);
|
|
30834
30834
|
try {
|
|
30835
|
-
const
|
|
30836
|
-
if (
|
|
30837
|
-
const { location:
|
|
30838
|
-
|
|
30835
|
+
const C = b2(w.data, s, l);
|
|
30836
|
+
if (C) {
|
|
30837
|
+
const { location: S, data: x } = C;
|
|
30838
|
+
f(S.topLeftCorner, S.topRightCorner), f(S.topRightCorner, S.bottomRightCorner), f(S.bottomRightCorner, S.bottomLeftCorner), f(S.bottomLeftCorner, S.topLeftCorner), t("on-update:value", x), v();
|
|
30839
30839
|
}
|
|
30840
30840
|
} catch {
|
|
30841
|
-
|
|
30841
|
+
i.value = !1, o.error({
|
|
30842
30842
|
content: "扫描失败,请重试",
|
|
30843
30843
|
duration: 3e3
|
|
30844
30844
|
});
|
|
30845
30845
|
}
|
|
30846
30846
|
}
|
|
30847
|
-
|
|
30848
|
-
}, d = () => {
|
|
30849
|
-
a.value && requestAnimationFrame(f);
|
|
30847
|
+
h();
|
|
30850
30848
|
}, h = () => {
|
|
30851
|
-
|
|
30852
|
-
}, v = (
|
|
30853
|
-
r.value
|
|
30854
|
-
}, g = () => {
|
|
30855
|
-
|
|
30856
|
-
|
|
30857
|
-
|
|
30849
|
+
i.value && requestAnimationFrame(d);
|
|
30850
|
+
}, v = () => {
|
|
30851
|
+
r.value && r.value.srcObject && (r.value.srcObject.getTracks().forEach((w) => w.stop()), i.value = !1, u = null, c = null, r.value.srcObject = null, r.value.src = null), a.value = !1;
|
|
30852
|
+
}, g = (w) => {
|
|
30853
|
+
r.value.srcObject !== void 0 ? r.value.srcObject = w : window.videoEl.mozSrcObject !== void 0 ? r.value.mozSrcObject = w : window.URL.createObjectURL ? r.value.src = window.URL.createObjectURL(w) : window.webkitURL ? r.value.src = window.webkitURL.createObjectURL(w) : r.value.src = w, r.value.play().then(h);
|
|
30854
|
+
}, p = () => {
|
|
30855
|
+
var w, C;
|
|
30856
|
+
(w = n.value) == null || w.focus(), (C = n.value) == null || C.select(), a.value = !0, YC(() => {
|
|
30857
|
+
navigator.mediaDevices && navigator.mediaDevices.getUserMedia ? (i.value = !0, c = document.getElementById("oc-scan-canvas"), c && (u = c.getContext("2d", { willReadFrequently: !0 })), navigator.mediaDevices.getUserMedia({ video: !0 }).then(g).catch(() => {
|
|
30858
|
+
i.value = !1, o.error({
|
|
30858
30859
|
content: "未获取到摄像头权限,请确认赋予相关权限",
|
|
30859
30860
|
duration: 3e3
|
|
30860
30861
|
});
|
|
30861
|
-
})) : (
|
|
30862
|
+
})) : (i.value = !1, o.error({
|
|
30862
30863
|
content: "您的设备未检测到摄像头,无法进行扫码识别",
|
|
30863
30864
|
duration: 3e3
|
|
30864
30865
|
}));
|
|
30865
30866
|
});
|
|
30866
30867
|
};
|
|
30867
|
-
let
|
|
30868
|
-
function
|
|
30869
|
-
if (
|
|
30870
|
-
|
|
30868
|
+
let m = "", _ = 0;
|
|
30869
|
+
function y(w) {
|
|
30870
|
+
if (w.code === "Enter") {
|
|
30871
|
+
m && t("on-update:value", m), m = "", _ = 0;
|
|
30871
30872
|
return;
|
|
30872
30873
|
}
|
|
30873
|
-
let
|
|
30874
|
-
|
|
30874
|
+
let C = (/* @__PURE__ */ new Date()).getTime();
|
|
30875
|
+
_ === 0 || C - _ <= 100 ? m += w.key : C - _ > 500 && (m = "", _ = 0), _ = C;
|
|
30875
30876
|
}
|
|
30876
30877
|
return Jr(() => {
|
|
30877
|
-
window.addEventListener("keypress",
|
|
30878
|
+
window.addEventListener("keypress", y);
|
|
30878
30879
|
}), dd(() => {
|
|
30879
|
-
window.removeEventListener("keypress",
|
|
30880
|
+
window.removeEventListener("keypress", y), v();
|
|
30880
30881
|
}), {
|
|
30881
30882
|
videoRef: r,
|
|
30882
|
-
|
|
30883
|
-
|
|
30884
|
-
|
|
30885
|
-
|
|
30883
|
+
inputRef: n,
|
|
30884
|
+
modal: a,
|
|
30885
|
+
loading: i,
|
|
30886
|
+
doScan: p,
|
|
30887
|
+
closeAll: v
|
|
30886
30888
|
};
|
|
30887
30889
|
}
|
|
30888
30890
|
}), mU = /* @__PURE__ */ F("div", { class: "oc-scan-canvas-main" }, [
|
|
@@ -30894,8 +30896,12 @@ const pU = /* @__PURE__ */ ne(fU, [["render", vU]]), gU = Ie({
|
|
|
30894
30896
|
], -1), yU = { class: "oc-scan-video" }, _U = {
|
|
30895
30897
|
ref: "videoRef",
|
|
30896
30898
|
playsInline: ""
|
|
30899
|
+
}, bU = {
|
|
30900
|
+
ref: "inputRef",
|
|
30901
|
+
type: "text",
|
|
30902
|
+
class: "oc-scan-input"
|
|
30897
30903
|
};
|
|
30898
|
-
function
|
|
30904
|
+
function wU(e, t, r, n, a, i) {
|
|
30899
30905
|
const o = R("NButton"), s = R("IconDismiss"), l = R("NIcon"), u = R("NFlex"), c = R("NCard"), f = R("NModal");
|
|
30900
30906
|
return V(), K(ht, null, [
|
|
30901
30907
|
P(o, {
|
|
@@ -30949,10 +30955,11 @@ function bU(e, t, r, n, a, i) {
|
|
|
30949
30955
|
}, 8, ["show", "on-mask-click"]),
|
|
30950
30956
|
F("div", yU, [
|
|
30951
30957
|
F("video", _U, null, 512)
|
|
30952
|
-
])
|
|
30958
|
+
]),
|
|
30959
|
+
F("input", bU, null, 512)
|
|
30953
30960
|
], 64);
|
|
30954
30961
|
}
|
|
30955
|
-
const
|
|
30962
|
+
const SU = /* @__PURE__ */ ne(gU, [["render", wU]]), CU = Ie({
|
|
30956
30963
|
name: "OcTimePickRange",
|
|
30957
30964
|
components: {
|
|
30958
30965
|
NInputGroup: yd,
|
|
@@ -30998,8 +31005,8 @@ const wU = /* @__PURE__ */ ne(gU, [["render", bU]]), SU = Ie({
|
|
|
30998
31005
|
updateEndValue: i
|
|
30999
31006
|
};
|
|
31000
31007
|
}
|
|
31001
|
-
}),
|
|
31002
|
-
function
|
|
31008
|
+
}), TU = /* @__PURE__ */ F("span", { class: "oc-time-picker-separator" }, "-", -1);
|
|
31009
|
+
function xU(e, t, r, n, a, i) {
|
|
31003
31010
|
const o = R("NTimePicker"), s = R("NInputGroup");
|
|
31004
31011
|
return V(), J(s, { class: "oc-time-picker" }, {
|
|
31005
31012
|
default: k(() => [
|
|
@@ -31010,7 +31017,7 @@ function TU(e, t, r, n, a, i) {
|
|
|
31010
31017
|
format: e.format,
|
|
31011
31018
|
disabled: e.disabled
|
|
31012
31019
|
}, null, 8, ["value", "clearable", "on-update:value", "format", "disabled"]),
|
|
31013
|
-
|
|
31020
|
+
TU,
|
|
31014
31021
|
P(o, {
|
|
31015
31022
|
value: e.endTime,
|
|
31016
31023
|
clearable: e.clearable,
|
|
@@ -31022,7 +31029,7 @@ function TU(e, t, r, n, a, i) {
|
|
|
31022
31029
|
_: 1
|
|
31023
31030
|
});
|
|
31024
31031
|
}
|
|
31025
|
-
const
|
|
31032
|
+
const DU = /* @__PURE__ */ ne(CU, [["render", xU]]), AU = Ie({
|
|
31026
31033
|
name: "OcSearchBarItem",
|
|
31027
31034
|
components: {
|
|
31028
31035
|
NIcon: Dt,
|
|
@@ -31040,7 +31047,7 @@ const xU = /* @__PURE__ */ ne(SU, [["render", TU]]), DU = Ie({
|
|
|
31040
31047
|
NDatePicker: gd,
|
|
31041
31048
|
NInputGroup: yd,
|
|
31042
31049
|
NInputGroupLabel: C_,
|
|
31043
|
-
OcTimePickRange:
|
|
31050
|
+
OcTimePickRange: DU,
|
|
31044
31051
|
IconArrowDown: Md,
|
|
31045
31052
|
IconArrowUp: L_
|
|
31046
31053
|
},
|
|
@@ -31115,13 +31122,13 @@ const xU = /* @__PURE__ */ ne(SU, [["render", TU]]), DU = Ie({
|
|
|
31115
31122
|
selectFallback: d
|
|
31116
31123
|
};
|
|
31117
31124
|
}
|
|
31118
|
-
}),
|
|
31125
|
+
}), MU = { class: "oc-search-bar-line" }, NU = { class: "oc-search-bar-title" }, PU = {
|
|
31119
31126
|
key: 0,
|
|
31120
31127
|
class: "oc-search-action-more"
|
|
31121
31128
|
};
|
|
31122
|
-
function
|
|
31129
|
+
function kU(e, t, r, n, a, i) {
|
|
31123
31130
|
const o = R("NGridItem"), s = R("NInputGroupLabel"), l = R("NInput"), u = R("NInputNumber"), c = R("NSelect"), f = R("NDataTable"), d = R("NPopover"), h = R("NCascader"), v = R("NTreeSelect"), g = R("OcTimePickRange"), p = R("NDatePicker"), m = R("NInputGroup"), _ = R("NGrid"), y = R("IconArrowDown"), w = R("NIcon"), C = R("IconArrowUp"), S = R("NButton"), x = R("NTooltip");
|
|
31124
|
-
return V(), K("div",
|
|
31131
|
+
return V(), K("div", MU, [
|
|
31125
31132
|
P(_, {
|
|
31126
31133
|
"x-gap": "15",
|
|
31127
31134
|
"y-gap": "15",
|
|
@@ -31137,7 +31144,7 @@ function PU(e, t, r, n, a, i) {
|
|
|
31137
31144
|
span: e.small ? 1 : `${e.cols} s:2 l:1`
|
|
31138
31145
|
}, {
|
|
31139
31146
|
default: k(() => [
|
|
31140
|
-
F("div",
|
|
31147
|
+
F("div", NU, [
|
|
31141
31148
|
or(e.$slots, "header")
|
|
31142
31149
|
])
|
|
31143
31150
|
]),
|
|
@@ -31503,7 +31510,7 @@ function PU(e, t, r, n, a, i) {
|
|
|
31503
31510
|
]),
|
|
31504
31511
|
_: 3
|
|
31505
31512
|
}, 8, ["cols", "collapsed"]),
|
|
31506
|
-
e.more ? (V(), K("div",
|
|
31513
|
+
e.more ? (V(), K("div", PU, [
|
|
31507
31514
|
P(x, { trigger: "hover" }, {
|
|
31508
31515
|
trigger: k(() => [
|
|
31509
31516
|
P(S, { onClick: e.showMore }, {
|
|
@@ -31531,7 +31538,7 @@ function PU(e, t, r, n, a, i) {
|
|
|
31531
31538
|
])) : te("", !0)
|
|
31532
31539
|
]);
|
|
31533
31540
|
}
|
|
31534
|
-
const
|
|
31541
|
+
const EU = /* @__PURE__ */ ne(AU, [["render", kU]]), IU = Ie({
|
|
31535
31542
|
name: "OcSearchBarPop",
|
|
31536
31543
|
props: {
|
|
31537
31544
|
value: {
|
|
@@ -31548,18 +31555,18 @@ const kU = /* @__PURE__ */ ne(DU, [["render", PU]]), EU = Ie({
|
|
|
31548
31555
|
}
|
|
31549
31556
|
};
|
|
31550
31557
|
}
|
|
31551
|
-
}),
|
|
31552
|
-
function
|
|
31553
|
-
return hi((V(), K("div",
|
|
31558
|
+
}), LU = { class: "oc-search-bar-pop" }, OU = { class: "oc-search-bar-pop-plan" }, RU = { class: "oc-search-bar-pop-action" }, $U = { class: "oc-search-bar-pop-content" };
|
|
31559
|
+
function BU(e, t, r, n, a, i) {
|
|
31560
|
+
return hi((V(), K("div", LU, [
|
|
31554
31561
|
F("div", {
|
|
31555
31562
|
class: "oc-search-bar-pop-mask",
|
|
31556
31563
|
onClick: t[0] || (t[0] = (...o) => e.close && e.close(...o))
|
|
31557
31564
|
}),
|
|
31558
|
-
F("div",
|
|
31559
|
-
F("div",
|
|
31565
|
+
F("div", OU, [
|
|
31566
|
+
F("div", RU, [
|
|
31560
31567
|
or(e.$slots, "action")
|
|
31561
31568
|
]),
|
|
31562
|
-
F("div",
|
|
31569
|
+
F("div", $U, [
|
|
31563
31570
|
or(e.$slots, "default")
|
|
31564
31571
|
])
|
|
31565
31572
|
])
|
|
@@ -31567,7 +31574,7 @@ function $U(e, t, r, n, a, i) {
|
|
|
31567
31574
|
[di, e.value]
|
|
31568
31575
|
]);
|
|
31569
31576
|
}
|
|
31570
|
-
const
|
|
31577
|
+
const VU = /* @__PURE__ */ ne(IU, [["render", BU]]), FU = Ie({
|
|
31571
31578
|
name: "OcSearchBar",
|
|
31572
31579
|
components: {
|
|
31573
31580
|
NFlex: It,
|
|
@@ -31579,8 +31586,8 @@ const BU = /* @__PURE__ */ ne(EU, [["render", $U]]), VU = Ie({
|
|
|
31579
31586
|
IconReset: O_,
|
|
31580
31587
|
IconSearch: Cd,
|
|
31581
31588
|
IconFilter: Td,
|
|
31582
|
-
OcSearchBarItem:
|
|
31583
|
-
OcSearchBarPop:
|
|
31589
|
+
OcSearchBarItem: EU,
|
|
31590
|
+
OcSearchBarPop: VU
|
|
31584
31591
|
},
|
|
31585
31592
|
props: {
|
|
31586
31593
|
value: {
|
|
@@ -31668,11 +31675,11 @@ const BU = /* @__PURE__ */ ne(EU, [["render", $U]]), VU = Ie({
|
|
|
31668
31675
|
clearAll: d
|
|
31669
31676
|
};
|
|
31670
31677
|
}
|
|
31671
|
-
}),
|
|
31678
|
+
}), zU = {
|
|
31672
31679
|
key: 1,
|
|
31673
31680
|
class: "oc-search-bar-popover"
|
|
31674
|
-
},
|
|
31675
|
-
function
|
|
31681
|
+
}, GU = { key: 0 }, HU = { class: "oc-search-bar-center" };
|
|
31682
|
+
function UU(e, t, r, n, a, i) {
|
|
31676
31683
|
const o = R("OcSearchBarItem"), s = R("IconArrowDown"), l = R("NIcon"), u = R("NButton"), c = R("IconReset"), f = R("IconSearch"), d = R("NFlex"), h = R("OcSearchBarPop"), v = R("IconFilter"), g = R("NTooltip");
|
|
31677
31684
|
return V(), K("div", {
|
|
31678
31685
|
class: mp(["oc-search-bar", {
|
|
@@ -31686,7 +31693,7 @@ function HU(e, t, r, n, a, i) {
|
|
|
31686
31693
|
}, [
|
|
31687
31694
|
or(e.$slots, "header")
|
|
31688
31695
|
], 2)) : te("", !0),
|
|
31689
|
-
e.small || e.commonStore.isMobile ? (V(), K("div",
|
|
31696
|
+
e.small || e.commonStore.isMobile ? (V(), K("div", zU, [
|
|
31690
31697
|
P(h, {
|
|
31691
31698
|
value: e.drawer,
|
|
31692
31699
|
"onUpdate:value": t[2] || (t[2] = (p) => e.drawer = p),
|
|
@@ -31748,7 +31755,7 @@ function HU(e, t, r, n, a, i) {
|
|
|
31748
31755
|
]),
|
|
31749
31756
|
_: 1
|
|
31750
31757
|
}),
|
|
31751
|
-
e.isSlotAction ? (V(), K("br",
|
|
31758
|
+
e.isSlotAction ? (V(), K("br", GU)) : te("", !0),
|
|
31752
31759
|
e.isSlotAction ? (V(), J(d, {
|
|
31753
31760
|
key: 1,
|
|
31754
31761
|
size: 15,
|
|
@@ -31784,7 +31791,7 @@ function HU(e, t, r, n, a, i) {
|
|
|
31784
31791
|
_: 1
|
|
31785
31792
|
})
|
|
31786
31793
|
])) : (V(), K(ht, { key: 2 }, [
|
|
31787
|
-
F("div",
|
|
31794
|
+
F("div", HU, [
|
|
31788
31795
|
P(o, {
|
|
31789
31796
|
ref: "itemRef",
|
|
31790
31797
|
loading: e.loading,
|
|
@@ -31872,7 +31879,7 @@ function HU(e, t, r, n, a, i) {
|
|
|
31872
31879
|
], 64))
|
|
31873
31880
|
], 34);
|
|
31874
31881
|
}
|
|
31875
|
-
const BC = /* @__PURE__ */ ne(
|
|
31882
|
+
const BC = /* @__PURE__ */ ne(FU, [["render", UU]]), WU = Ie({
|
|
31876
31883
|
name: "OcSkeleton",
|
|
31877
31884
|
components: {
|
|
31878
31885
|
NGrid: Si,
|
|
@@ -31892,10 +31899,10 @@ const BC = /* @__PURE__ */ ne(VU, [["render", HU]]), UU = Ie({
|
|
|
31892
31899
|
setup() {
|
|
31893
31900
|
return {};
|
|
31894
31901
|
}
|
|
31895
|
-
}),
|
|
31896
|
-
function
|
|
31902
|
+
}), YU = { class: "com-skeleton" };
|
|
31903
|
+
function qU(e, t, r, n, a, i) {
|
|
31897
31904
|
const o = R("NSkeleton"), s = R("NGi"), l = R("NGrid");
|
|
31898
|
-
return V(), K("div",
|
|
31905
|
+
return V(), K("div", YU, [
|
|
31899
31906
|
P(l, {
|
|
31900
31907
|
"x-gap": "15",
|
|
31901
31908
|
"y-gap": "15",
|
|
@@ -31922,7 +31929,7 @@ function YU(e, t, r, n, a, i) {
|
|
|
31922
31929
|
}, 8, ["cols"])
|
|
31923
31930
|
]);
|
|
31924
31931
|
}
|
|
31925
|
-
const
|
|
31932
|
+
const jU = /* @__PURE__ */ ne(WU, [["render", qU]]), XU = Ie({
|
|
31926
31933
|
name: "OcTable",
|
|
31927
31934
|
components: {
|
|
31928
31935
|
NDataTable: Ci,
|
|
@@ -32211,8 +32218,8 @@ const qU = /* @__PURE__ */ ne(UU, [["render", YU]]), jU = Ie({
|
|
|
32211
32218
|
handleColumnChange: O
|
|
32212
32219
|
};
|
|
32213
32220
|
}
|
|
32214
|
-
}),
|
|
32215
|
-
function
|
|
32221
|
+
}), ZU = { class: "com-card" };
|
|
32222
|
+
function KU(e, t, r, n, a, i) {
|
|
32216
32223
|
const o = R("IconAdd"), s = R("NIcon"), l = R("NButton"), u = R("NTooltip"), c = R("IconMailInboxAdd"), f = R("IconCloudArrowDown"), d = R("NPopconfirm"), h = R("IconFilter"), v = R("IconNavigation"), g = R("IconPin"), p = R("IconPinOff"), m = R("IconEye"), _ = R("IconEyeOff"), y = R("Draggable"), w = R("NPopover"), C = R("OcSearchBar"), S = R("NDataTable"), x = R("OcImporter");
|
|
32217
32224
|
return V(), K(ht, null, [
|
|
32218
32225
|
P(C, {
|
|
@@ -32421,7 +32428,7 @@ function ZU(e, t, r, n, a, i) {
|
|
|
32421
32428
|
]),
|
|
32422
32429
|
_: 3
|
|
32423
32430
|
}, 8, ["value", "defaultValue", "data", "loading", "autoSubmit", "resetButton", "onOnUpdate:value"]),
|
|
32424
|
-
F("div",
|
|
32431
|
+
F("div", ZU, [
|
|
32425
32432
|
P(S, {
|
|
32426
32433
|
columns: e.tableColumns,
|
|
32427
32434
|
data: e.tableData,
|
|
@@ -32446,7 +32453,7 @@ function ZU(e, t, r, n, a, i) {
|
|
|
32446
32453
|
}, null, 8, ["show", "data"])) : te("", !0)
|
|
32447
32454
|
], 64);
|
|
32448
32455
|
}
|
|
32449
|
-
const
|
|
32456
|
+
const JU = /* @__PURE__ */ ne(XU, [["render", KU]]), QU = Ie({
|
|
32450
32457
|
name: "OcWorkflowAdd",
|
|
32451
32458
|
components: {
|
|
32452
32459
|
IconAdd: bd,
|
|
@@ -32465,7 +32472,7 @@ const KU = /* @__PURE__ */ ne(jU, [["render", ZU]]), JU = Ie({
|
|
|
32465
32472
|
};
|
|
32466
32473
|
}
|
|
32467
32474
|
});
|
|
32468
|
-
function
|
|
32475
|
+
function eW(e, t, r, n, a, i) {
|
|
32469
32476
|
const o = R("IconAdd"), s = R("NIcon"), l = R("NButton"), u = R("NFlex"), c = R("NPopover");
|
|
32470
32477
|
return V(), J(c, {
|
|
32471
32478
|
trigger: "manual",
|
|
@@ -32515,7 +32522,7 @@ function QU(e, t, r, n, a, i) {
|
|
|
32515
32522
|
_: 1
|
|
32516
32523
|
}, 8, ["show"]);
|
|
32517
32524
|
}
|
|
32518
|
-
const VC = /* @__PURE__ */ ne(
|
|
32525
|
+
const VC = /* @__PURE__ */ ne(QU, [["render", eW]]), tW = Ie({
|
|
32519
32526
|
name: "OcWorkflowCard",
|
|
32520
32527
|
components: {
|
|
32521
32528
|
NFlex: It,
|
|
@@ -32539,11 +32546,11 @@ const VC = /* @__PURE__ */ ne(JU, [["render", QU]]), eW = Ie({
|
|
|
32539
32546
|
}
|
|
32540
32547
|
};
|
|
32541
32548
|
}
|
|
32542
|
-
}),
|
|
32543
|
-
function
|
|
32549
|
+
}), rW = { class: "oc-workflow-node" }, nW = { class: "oc-workflow-node-ctx" }, aW = /* @__PURE__ */ F("div", { class: "oc-workflow-node-desc" }, "功能", -1), iW = { class: "oc-workflow-node-more" };
|
|
32550
|
+
function oW(e, t, r, n, a, i) {
|
|
32544
32551
|
const o = R("IconDismiss"), s = R("NIcon"), l = R("NButton"), u = R("NFlex"), c = R("OcWorkflowAdd");
|
|
32545
|
-
return V(), K("div",
|
|
32546
|
-
F("div",
|
|
32552
|
+
return V(), K("div", rW, [
|
|
32553
|
+
F("div", nW, [
|
|
32547
32554
|
P(u, {
|
|
32548
32555
|
justify: "space-between",
|
|
32549
32556
|
class: "oc-workflow-node-title"
|
|
@@ -32567,9 +32574,9 @@ function iW(e, t, r, n, a, i) {
|
|
|
32567
32574
|
]),
|
|
32568
32575
|
_: 1
|
|
32569
32576
|
}),
|
|
32570
|
-
|
|
32577
|
+
aW
|
|
32571
32578
|
]),
|
|
32572
|
-
F("div",
|
|
32579
|
+
F("div", iW, [
|
|
32573
32580
|
P(c, {
|
|
32574
32581
|
"onUpdate:add": t[0] || (t[0] = (f) => {
|
|
32575
32582
|
e.addOne(f);
|
|
@@ -32578,12 +32585,12 @@ function iW(e, t, r, n, a, i) {
|
|
|
32578
32585
|
])
|
|
32579
32586
|
]);
|
|
32580
32587
|
}
|
|
32581
|
-
const
|
|
32588
|
+
const sW = /* @__PURE__ */ ne(tW, [["render", oW]]), lW = Ie({
|
|
32582
32589
|
name: "OcWorkflowNode",
|
|
32583
32590
|
components: {
|
|
32584
32591
|
NButton: We,
|
|
32585
32592
|
OcWorkflowAdd: VC,
|
|
32586
|
-
OcWorkflowCard:
|
|
32593
|
+
OcWorkflowCard: sW
|
|
32587
32594
|
},
|
|
32588
32595
|
props: {
|
|
32589
32596
|
data: {
|
|
@@ -32692,13 +32699,13 @@ const oW = /* @__PURE__ */ ne(eW, [["render", iW]]), sW = Ie({
|
|
|
32692
32699
|
}
|
|
32693
32700
|
};
|
|
32694
32701
|
}
|
|
32695
|
-
}),
|
|
32702
|
+
}), uW = { key: 2 }, cW = { class: "oc-workflow-node-branch-add" }, fW = { class: "oc-workflow-branch-ctx" }, hW = { class: "oc-workflow-node-branch-add-bottom" }, dW = {
|
|
32696
32703
|
key: 3,
|
|
32697
32704
|
class: "oc-workflow-node-end"
|
|
32698
|
-
},
|
|
32699
|
-
|
|
32705
|
+
}, vW = /* @__PURE__ */ F("div", { class: "oc-workflow-node-title-end" }, "流程结束", -1), pW = [
|
|
32706
|
+
vW
|
|
32700
32707
|
];
|
|
32701
|
-
function
|
|
32708
|
+
function gW(e, t, r, n, a, i) {
|
|
32702
32709
|
const o = R("OcWorkflowCard"), s = R("NButton"), l = R("OcWorkflowNode"), u = R("OcWorkflowAdd");
|
|
32703
32710
|
return V(!0), K(ht, null, fi(e.data, (c, f) => (V(), K(ht, {
|
|
32704
32711
|
key: c.key
|
|
@@ -32717,12 +32724,12 @@ function pW(e, t, r, n, a, i) {
|
|
|
32717
32724
|
},
|
|
32718
32725
|
"onUpdate:delete": (d) => e.deleteNodeOne(f)
|
|
32719
32726
|
}, null, 8, ["data", "onUpdate:add", "onUpdate:delete"])) : te("", !0),
|
|
32720
|
-
c.type === 1 ? (V(), K("div",
|
|
32727
|
+
c.type === 1 ? (V(), K("div", uW, [
|
|
32721
32728
|
(V(), K("div", {
|
|
32722
32729
|
class: "oc-workflow-branch",
|
|
32723
32730
|
key: f
|
|
32724
32731
|
}, [
|
|
32725
|
-
F("div",
|
|
32732
|
+
F("div", cW, [
|
|
32726
32733
|
P(s, {
|
|
32727
32734
|
type: "success",
|
|
32728
32735
|
onClick: (d) => e.addCondition(c)
|
|
@@ -32733,7 +32740,7 @@ function pW(e, t, r, n, a, i) {
|
|
|
32733
32740
|
_: 2
|
|
32734
32741
|
}, 1032, ["onClick"])
|
|
32735
32742
|
]),
|
|
32736
|
-
F("div",
|
|
32743
|
+
F("div", fW, [
|
|
32737
32744
|
(V(!0), K(ht, null, fi(c.children, (d, h) => (V(), K("div", {
|
|
32738
32745
|
key: `children-${h}`
|
|
32739
32746
|
}, [
|
|
@@ -32750,7 +32757,7 @@ function pW(e, t, r, n, a, i) {
|
|
|
32750
32757
|
]))), 128))
|
|
32751
32758
|
])
|
|
32752
32759
|
])),
|
|
32753
|
-
F("div",
|
|
32760
|
+
F("div", hW, [
|
|
32754
32761
|
P(u, {
|
|
32755
32762
|
"onUpdate:add": (d) => {
|
|
32756
32763
|
e.addConditionBottom(c, d);
|
|
@@ -32758,13 +32765,13 @@ function pW(e, t, r, n, a, i) {
|
|
|
32758
32765
|
}, null, 8, ["onUpdate:add"])
|
|
32759
32766
|
])
|
|
32760
32767
|
])) : te("", !0),
|
|
32761
|
-
c.type === 99 ? (V(), K("div",
|
|
32768
|
+
c.type === 99 ? (V(), K("div", dW, pW)) : te("", !0)
|
|
32762
32769
|
], 64))), 128);
|
|
32763
32770
|
}
|
|
32764
|
-
const
|
|
32771
|
+
const mW = /* @__PURE__ */ ne(lW, [["render", gW]]), yW = Ie({
|
|
32765
32772
|
name: "OcWorkflow",
|
|
32766
32773
|
components: {
|
|
32767
|
-
OcWorkflowNode:
|
|
32774
|
+
OcWorkflowNode: mW,
|
|
32768
32775
|
NSlider: g2,
|
|
32769
32776
|
NSelect: pd
|
|
32770
32777
|
},
|
|
@@ -32829,11 +32836,11 @@ const gW = /* @__PURE__ */ ne(sW, [["render", pW]]), mW = Ie({
|
|
|
32829
32836
|
)
|
|
32830
32837
|
};
|
|
32831
32838
|
}
|
|
32832
|
-
}),
|
|
32833
|
-
function
|
|
32839
|
+
}), _W = { class: "oc-workflow" }, bW = { class: "oc-workflow-tools" }, wW = { class: "oc-workflow-ctx" }, SW = { class: "oc-workflow-main" };
|
|
32840
|
+
function CW(e, t, r, n, a, i) {
|
|
32834
32841
|
const o = R("NSelect"), s = R("NSlider"), l = R("OcWorkflowNode");
|
|
32835
|
-
return V(), K("div",
|
|
32836
|
-
F("div",
|
|
32842
|
+
return V(), K("div", _W, [
|
|
32843
|
+
F("div", bW, [
|
|
32837
32844
|
P(o, {
|
|
32838
32845
|
value: e.scaleFilter,
|
|
32839
32846
|
"onUpdate:value": t[0] || (t[0] = (u) => e.scaleFilter = u),
|
|
@@ -32854,8 +32861,8 @@ function SW(e, t, r, n, a, i) {
|
|
|
32854
32861
|
class: "oc-workflow-slider"
|
|
32855
32862
|
}, null, 8, ["value", "on-update:value", "format-tooltip"])
|
|
32856
32863
|
]),
|
|
32857
|
-
F("div",
|
|
32858
|
-
F("div",
|
|
32864
|
+
F("div", wW, [
|
|
32865
|
+
F("div", SW, [
|
|
32859
32866
|
F("div", {
|
|
32860
32867
|
class: "oc-workflow-warp",
|
|
32861
32868
|
style: hu({
|
|
@@ -32868,7 +32875,7 @@ function SW(e, t, r, n, a, i) {
|
|
|
32868
32875
|
])
|
|
32869
32876
|
]);
|
|
32870
32877
|
}
|
|
32871
|
-
const
|
|
32878
|
+
const TW = /* @__PURE__ */ ne(yW, [["render", CW]]), f_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32872
32879
|
__proto__: null,
|
|
32873
32880
|
IconAdd: bd,
|
|
32874
32881
|
IconAlert: T_,
|
|
@@ -32913,11 +32920,11 @@ const CW = /* @__PURE__ */ ne(mW, [["render", SW]]), f_ = /* @__PURE__ */ Object
|
|
|
32913
32920
|
OcMy: uU,
|
|
32914
32921
|
OcNumberRoll: $C,
|
|
32915
32922
|
OcReport: pU,
|
|
32916
|
-
OcScan:
|
|
32923
|
+
OcScan: SU,
|
|
32917
32924
|
OcSearchBar: BC,
|
|
32918
|
-
OcSkeleton:
|
|
32919
|
-
OcTable:
|
|
32920
|
-
OcWorkflow:
|
|
32925
|
+
OcSkeleton: jU,
|
|
32926
|
+
OcTable: JU,
|
|
32927
|
+
OcWorkflow: TW,
|
|
32921
32928
|
commonStore: re,
|
|
32922
32929
|
fnClearUser: fp,
|
|
32923
32930
|
fnDownload: kC,
|
|
@@ -32930,27 +32937,27 @@ const CW = /* @__PURE__ */ ne(mW, [["render", SW]]), f_ = /* @__PURE__ */ Object
|
|
|
32930
32937
|
i18n: Dn,
|
|
32931
32938
|
userStore: G
|
|
32932
32939
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32933
|
-
var
|
|
32934
|
-
return
|
|
32935
|
-
},
|
|
32936
|
-
function
|
|
32937
|
-
for (var t = e.length; t-- &&
|
|
32940
|
+
var xW = gr, DW = function() {
|
|
32941
|
+
return xW.Date.now();
|
|
32942
|
+
}, AW = DW, MW = /\s/;
|
|
32943
|
+
function NW(e) {
|
|
32944
|
+
for (var t = e.length; t-- && MW.test(e.charAt(t)); )
|
|
32938
32945
|
;
|
|
32939
32946
|
return t;
|
|
32940
32947
|
}
|
|
32941
|
-
var
|
|
32942
|
-
function
|
|
32943
|
-
return e && e.slice(0,
|
|
32948
|
+
var PW = NW, kW = PW, EW = /^\s+/;
|
|
32949
|
+
function IW(e) {
|
|
32950
|
+
return e && e.slice(0, kW(e) + 1).replace(EW, "");
|
|
32944
32951
|
}
|
|
32945
|
-
var
|
|
32946
|
-
function
|
|
32947
|
-
return typeof e == "symbol" ||
|
|
32952
|
+
var LW = IW, OW = ss, RW = Bi, $W = "[object Symbol]";
|
|
32953
|
+
function BW(e) {
|
|
32954
|
+
return typeof e == "symbol" || RW(e) && OW(e) == $W;
|
|
32948
32955
|
}
|
|
32949
|
-
var
|
|
32950
|
-
function
|
|
32956
|
+
var VW = BW, FW = LW, h_ = Na, zW = VW, d_ = NaN, GW = /^[-+]0x[0-9a-f]+$/i, HW = /^0b[01]+$/i, UW = /^0o[0-7]+$/i, WW = parseInt;
|
|
32957
|
+
function YW(e) {
|
|
32951
32958
|
if (typeof e == "number")
|
|
32952
32959
|
return e;
|
|
32953
|
-
if (
|
|
32960
|
+
if (zW(e))
|
|
32954
32961
|
return d_;
|
|
32955
32962
|
if (h_(e)) {
|
|
32956
32963
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -32958,16 +32965,16 @@ function WW(e) {
|
|
|
32958
32965
|
}
|
|
32959
32966
|
if (typeof e != "string")
|
|
32960
32967
|
return e === 0 ? e : +e;
|
|
32961
|
-
e =
|
|
32962
|
-
var r =
|
|
32963
|
-
return r ||
|
|
32968
|
+
e = FW(e);
|
|
32969
|
+
var r = HW.test(e);
|
|
32970
|
+
return r || UW.test(e) ? WW(e.slice(2), r ? 2 : 8) : GW.test(e) ? d_ : +e;
|
|
32964
32971
|
}
|
|
32965
|
-
var
|
|
32966
|
-
function
|
|
32972
|
+
var qW = YW, jW = Na, Jf = AW, v_ = qW, XW = "Expected a function", ZW = Math.max, KW = Math.min;
|
|
32973
|
+
function JW(e, t, r) {
|
|
32967
32974
|
var n, a, i, o, s, l, u = 0, c = !1, f = !1, d = !0;
|
|
32968
32975
|
if (typeof e != "function")
|
|
32969
|
-
throw new TypeError(
|
|
32970
|
-
t = v_(t) || 0,
|
|
32976
|
+
throw new TypeError(XW);
|
|
32977
|
+
t = v_(t) || 0, jW(r) && (c = !!r.leading, f = "maxWait" in r, i = f ? ZW(v_(r.maxWait) || 0, t) : i, d = "trailing" in r ? !!r.trailing : d);
|
|
32971
32978
|
function h(S) {
|
|
32972
32979
|
var x = n, b = a;
|
|
32973
32980
|
return n = a = void 0, u = S, o = e.apply(b, x), o;
|
|
@@ -32977,7 +32984,7 @@ function KW(e, t, r) {
|
|
|
32977
32984
|
}
|
|
32978
32985
|
function g(S) {
|
|
32979
32986
|
var x = S - l, b = S - u, T = t - x;
|
|
32980
|
-
return f ?
|
|
32987
|
+
return f ? KW(T, i - b) : T;
|
|
32981
32988
|
}
|
|
32982
32989
|
function p(S) {
|
|
32983
32990
|
var x = S - l, b = S - u;
|
|
@@ -33010,16 +33017,16 @@ function KW(e, t, r) {
|
|
|
33010
33017
|
}
|
|
33011
33018
|
return C.cancel = y, C.flush = w, C;
|
|
33012
33019
|
}
|
|
33013
|
-
var
|
|
33014
|
-
const
|
|
33020
|
+
var QW = JW;
|
|
33021
|
+
const eY = /* @__PURE__ */ lC(QW);
|
|
33015
33022
|
let hp = 3840, dp = 2160;
|
|
33016
|
-
const
|
|
33023
|
+
const tY = hd({
|
|
33017
33024
|
scale: 1
|
|
33018
33025
|
});
|
|
33019
|
-
function
|
|
33026
|
+
function xY(e, t) {
|
|
33020
33027
|
hp = e, dp = t;
|
|
33021
33028
|
}
|
|
33022
|
-
function
|
|
33029
|
+
function rY() {
|
|
33023
33030
|
let e = 1;
|
|
33024
33031
|
const t = window.innerWidth, r = window.innerHeight, n = hp, a = dp, i = parseFloat(
|
|
33025
33032
|
(n / a).toFixed(5)
|
|
@@ -33035,17 +33042,17 @@ function tY() {
|
|
|
33035
33042
|
);
|
|
33036
33043
|
e = s > 1 ? 1 : s;
|
|
33037
33044
|
}
|
|
33038
|
-
|
|
33045
|
+
tY.scale = e;
|
|
33039
33046
|
}
|
|
33040
|
-
function
|
|
33041
|
-
const e =
|
|
33047
|
+
function DY() {
|
|
33048
|
+
const e = eY(rY, 200);
|
|
33042
33049
|
return e(), window.addEventListener("resize", e), () => {
|
|
33043
33050
|
hp = 3840, dp = 2160, window.removeEventListener("resize", e);
|
|
33044
33051
|
};
|
|
33045
33052
|
}
|
|
33046
|
-
const
|
|
33053
|
+
const AY = (e) => !!(G.kind === -1 || G.kind === 99 || G.iot_menu_authorization.includes(e)), MY = (e) => G.platform_tdm ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.tdm_menu_authorization.includes(e) : !1, NY = (e) => G.platform_qms ? G.kind === -1 || G.kind === 99 || e === "home" ? !0 : G.qms_menu_authorization.includes(e) : !1, PY = (e) => G.platform_twin ? (G.kind === -1 || G.kind === 99 || e === "home", !0) : !1, kY = (e) => !!(G.kind === -1 || G.kind === 99 || G.maintain_menu_authorization.includes(e)), EY = (e) => !!(G.kind === -1 || G.kind === 99 || G.order_menu_authorization.includes(e));
|
|
33047
33054
|
let ml = "";
|
|
33048
|
-
const Me = navigator.userAgent.toLocaleUpperCase(),
|
|
33055
|
+
const Me = navigator.userAgent.toLocaleUpperCase(), nY = () => {
|
|
33049
33056
|
const e = /WINDOWS NT 5.[\d]+/, t = /WINDOWS NT 6.[\d]+/, r = /WINDOWS NT 7.[\d]+/, n = /WINDOWS NT 10.[\d]+/, a = /WINDOWS NT 11.[\d]+/, i = /ANDROID [\d.]+/, o = /IPHONE/, s = /IPAD/, l = /MAC/;
|
|
33050
33057
|
if (e.test(Me))
|
|
33051
33058
|
return "Windows XP";
|
|
@@ -33074,7 +33081,7 @@ const Me = navigator.userAgent.toLocaleUpperCase(), rY = () => {
|
|
|
33074
33081
|
return `MAC ${c ? c[0].replace(/_/g, ".").replace(/ /g, "") : ""}`;
|
|
33075
33082
|
}
|
|
33076
33083
|
return "Other Platform";
|
|
33077
|
-
},
|
|
33084
|
+
}, aY = () => {
|
|
33078
33085
|
const e = /MSIE [\d]+/, t = /EDG\/[\d.]+/, r = /FIREFOX\/[\d.]+/, n = /CHROME\/[\d.]+/, a = /SAFARI\/[\d.]+/, i = /OPR\/[\d.]+/, o = /SE \d/, s = /UCBROWSER/, l = /ANDROID [\d.]+/;
|
|
33079
33086
|
if (e.test(Me) && o.test(Me))
|
|
33080
33087
|
return "SogouIE";
|
|
@@ -33114,10 +33121,10 @@ function p_(e, t, r, n = !1) {
|
|
|
33114
33121
|
typeof i == "function" && (e[t] = i);
|
|
33115
33122
|
}
|
|
33116
33123
|
}
|
|
33117
|
-
function
|
|
33124
|
+
function iY(e, t, r, n = !1) {
|
|
33118
33125
|
e.addEventListener(t, r, n);
|
|
33119
33126
|
}
|
|
33120
|
-
function
|
|
33127
|
+
function oY() {
|
|
33121
33128
|
if (!("XMLHttpRequest" in window))
|
|
33122
33129
|
return;
|
|
33123
33130
|
const e = XMLHttpRequest.prototype;
|
|
@@ -33132,7 +33139,7 @@ function iY() {
|
|
|
33132
33139
|
const { url: n } = this.xhr;
|
|
33133
33140
|
this.ontimeout = function() {
|
|
33134
33141
|
fu(3, n, "Network Timeout");
|
|
33135
|
-
},
|
|
33142
|
+
}, iY(this, "loadend", function() {
|
|
33136
33143
|
try {
|
|
33137
33144
|
const a = JSON.parse(this.response);
|
|
33138
33145
|
(this.status === 500 || this.status === 405) && fu(3, n, `${r[0]}-${this.status}-${this.response}`);
|
|
@@ -33141,8 +33148,8 @@ function iY() {
|
|
|
33141
33148
|
}), t.apply(this, r);
|
|
33142
33149
|
});
|
|
33143
33150
|
}
|
|
33144
|
-
function
|
|
33145
|
-
ml = typeof t == "string" ? t : ml, !(!t || !ml) && (
|
|
33151
|
+
function sY(e, t) {
|
|
33152
|
+
ml = typeof t == "string" ? t : ml, !(!t || !ml) && (oY(), window.addEventListener(
|
|
33146
33153
|
"error",
|
|
33147
33154
|
function(r) {
|
|
33148
33155
|
fu(1, window.location.href, r);
|
|
@@ -33162,8 +33169,8 @@ const fu = (e, t, r) => {
|
|
|
33162
33169
|
key: "c604902e-4088-4c64-bc73-edfbc971805b",
|
|
33163
33170
|
url: encodeURIComponent(t || location.href),
|
|
33164
33171
|
title: document.title,
|
|
33165
|
-
browser:
|
|
33166
|
-
platform:
|
|
33172
|
+
browser: aY(),
|
|
33173
|
+
platform: nY(),
|
|
33167
33174
|
system: re.platformName,
|
|
33168
33175
|
message: e === 1 || e === 2 ? r.message : r,
|
|
33169
33176
|
// routerHistory: [], // historyStore.history
|
|
@@ -33194,16 +33201,16 @@ async function zC() {
|
|
|
33194
33201
|
);
|
|
33195
33202
|
return e.headers.get("etag") || e.headers.get("last-modified");
|
|
33196
33203
|
}
|
|
33197
|
-
async function
|
|
33204
|
+
async function lY() {
|
|
33198
33205
|
const e = await zC();
|
|
33199
33206
|
FC !== e && pD(!0);
|
|
33200
33207
|
}
|
|
33201
|
-
async function
|
|
33208
|
+
async function uY() {
|
|
33202
33209
|
FC = await zC(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
|
|
33203
|
-
|
|
33210
|
+
lY();
|
|
33204
33211
|
}, 60 * 1e3);
|
|
33205
33212
|
}
|
|
33206
|
-
function
|
|
33213
|
+
function cY({ components: e = [] } = {}) {
|
|
33207
33214
|
const t = [];
|
|
33208
33215
|
function r(a, i, o) {
|
|
33209
33216
|
a.component(i) || a.component(i, o);
|
|
@@ -33223,7 +33230,7 @@ function uY({ components: e = [] } = {}) {
|
|
|
33223
33230
|
language: c = !1,
|
|
33224
33231
|
local: f = "zh-CN"
|
|
33225
33232
|
} = i, d = Wt("theme", !1), h = Wt("lang", f);
|
|
33226
|
-
vD(o), QG(u), dD(c), Fo(h), bu(d), Dn.global.locale.value = h, l &&
|
|
33233
|
+
vD(o), QG(u), dD(c), Fo(h), bu(d), Dn.global.locale.value = h, l && uY(), s && sY(a, s);
|
|
33227
33234
|
}
|
|
33228
33235
|
}
|
|
33229
33236
|
return {
|
|
@@ -33231,11 +33238,11 @@ function uY({ components: e = [] } = {}) {
|
|
|
33231
33238
|
install: n
|
|
33232
33239
|
};
|
|
33233
33240
|
}
|
|
33234
|
-
const
|
|
33241
|
+
const fY = cY({
|
|
33235
33242
|
components: Object.keys(f_).map(
|
|
33236
33243
|
(e) => f_[e]
|
|
33237
33244
|
)
|
|
33238
|
-
}),
|
|
33245
|
+
}), IY = fY.install;
|
|
33239
33246
|
export {
|
|
33240
33247
|
cD as CUSTOM,
|
|
33241
33248
|
B_ as FILE,
|
|
@@ -33283,51 +33290,51 @@ export {
|
|
|
33283
33290
|
uU as OcMy,
|
|
33284
33291
|
$C as OcNumberRoll,
|
|
33285
33292
|
pU as OcReport,
|
|
33286
|
-
|
|
33293
|
+
SU as OcScan,
|
|
33287
33294
|
BC as OcSearchBar,
|
|
33288
|
-
|
|
33289
|
-
|
|
33290
|
-
|
|
33295
|
+
jU as OcSkeleton,
|
|
33296
|
+
JU as OcTable,
|
|
33297
|
+
TW as OcWorkflow,
|
|
33291
33298
|
Nt as POST,
|
|
33292
33299
|
re as commonStore,
|
|
33293
|
-
|
|
33300
|
+
cY as create,
|
|
33294
33301
|
qH as darkTheme,
|
|
33295
|
-
|
|
33296
|
-
|
|
33297
|
-
|
|
33298
|
-
|
|
33299
|
-
|
|
33300
|
-
|
|
33301
|
-
|
|
33302
|
-
|
|
33302
|
+
fY as default,
|
|
33303
|
+
TY as fnCancelFetch,
|
|
33304
|
+
PY as fnCheckDashRole,
|
|
33305
|
+
AY as fnCheckIoTRole,
|
|
33306
|
+
kY as fnCheckMaintainRole,
|
|
33307
|
+
EY as fnCheckOrderRole,
|
|
33308
|
+
NY as fnCheckQMSRole,
|
|
33309
|
+
MY as fnCheckTDMRole,
|
|
33303
33310
|
fp as fnClearUser,
|
|
33304
|
-
|
|
33311
|
+
rY as fnComputedScale,
|
|
33305
33312
|
_l as fnDecodeCursor,
|
|
33306
33313
|
mu as fnDelStorage,
|
|
33307
33314
|
aD as fnDeleteLoad,
|
|
33308
33315
|
kC as fnDownload,
|
|
33309
33316
|
na as fnEncodeCursor,
|
|
33310
33317
|
pn as fnFormatTime,
|
|
33311
|
-
|
|
33312
|
-
|
|
33318
|
+
CY as fnFormatUnits,
|
|
33319
|
+
SY as fnFullScreen,
|
|
33313
33320
|
Wt as fnGetStorage,
|
|
33314
33321
|
cp as fnGetUser,
|
|
33315
|
-
|
|
33322
|
+
DY as fnListenerScale,
|
|
33316
33323
|
yu as fnPageModel2Naive,
|
|
33317
33324
|
_u as fnPageNaive2Model,
|
|
33318
33325
|
Sa as fnRenderAction,
|
|
33319
33326
|
eh as fnScrollTop,
|
|
33320
33327
|
Fo as fnSetLang,
|
|
33321
|
-
|
|
33328
|
+
xY as fnSetNormalWidthAndHeight,
|
|
33322
33329
|
ir as fnSetStorage,
|
|
33323
33330
|
bu as fnSetTheme,
|
|
33324
33331
|
IC as fnSetUser,
|
|
33325
|
-
|
|
33332
|
+
wY as fnThrottle,
|
|
33326
33333
|
LC as fnUserLogout,
|
|
33327
33334
|
fo as getDefaultDate,
|
|
33328
33335
|
Dn as i18n,
|
|
33329
|
-
|
|
33336
|
+
IY as install,
|
|
33330
33337
|
YH as lightTheme,
|
|
33331
|
-
|
|
33338
|
+
tY as scaleStore,
|
|
33332
33339
|
G as userStore
|
|
33333
33340
|
};
|