@partex/one-core 2.1.6 → 2.1.7
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/one-core.js
CHANGED
|
@@ -29508,11 +29508,11 @@ function bH(e, t, r, n, a, i) {
|
|
|
29508
29508
|
}, 8, ["show"])
|
|
29509
29509
|
]);
|
|
29510
29510
|
}
|
|
29511
|
-
const wH = /* @__PURE__ */ fe(mH, [["render", bH]]), VC = (e) => {
|
|
29512
|
-
const
|
|
29513
|
-
return Object.keys(e).forEach((
|
|
29514
|
-
e.query &&
|
|
29515
|
-
}), H_(
|
|
29511
|
+
const wH = /* @__PURE__ */ fe(mH, [["render", bH]]), VC = (e, t = "api/manager/job/submit") => {
|
|
29512
|
+
const r = new FormData();
|
|
29513
|
+
return Object.keys(e).forEach((n) => {
|
|
29514
|
+
e.query && n === "query" ? r.append("query", JSON.stringify(e.query)) : r.append(n, e[n]);
|
|
29515
|
+
}), H_(t, r);
|
|
29516
29516
|
}, SH = (e) => new Promise((t, r) => {
|
|
29517
29517
|
const n = wu(e);
|
|
29518
29518
|
Nt("api/manager/job/page", n).then((a) => {
|
|
@@ -29550,6 +29550,10 @@ const wH = /* @__PURE__ */ fe(mH, [["render", bH]]), VC = (e) => {
|
|
|
29550
29550
|
type: "",
|
|
29551
29551
|
file: ""
|
|
29552
29552
|
})
|
|
29553
|
+
},
|
|
29554
|
+
url: {
|
|
29555
|
+
type: String,
|
|
29556
|
+
default: void 0
|
|
29553
29557
|
}
|
|
29554
29558
|
},
|
|
29555
29559
|
emits: ["update:show"],
|
|
@@ -29641,7 +29645,7 @@ const wH = /* @__PURE__ */ fe(mH, [["render", bH]]), VC = (e) => {
|
|
|
29641
29645
|
jobTypeName: e.data.type,
|
|
29642
29646
|
jobParams: e.data.params,
|
|
29643
29647
|
file: g.file.file
|
|
29644
|
-
}).then(() => {
|
|
29648
|
+
}, e.url).then(() => {
|
|
29645
29649
|
h(), p();
|
|
29646
29650
|
}).catch(() => {
|
|
29647
29651
|
h(), m();
|
|
@@ -32976,7 +32980,7 @@ function gY() {
|
|
|
32976
32980
|
dp = 3840, vp = 2160, window.removeEventListener("resize", e);
|
|
32977
32981
|
};
|
|
32978
32982
|
}
|
|
32979
|
-
const mY = (e) => !!(H.kind === -1 || H.kind === 99 || H.iot_menu_authorization.includes(e)), yY = (e) => H.platform_tdm ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.tdm_menu_authorization.includes(e) : !1, _Y = (e) => H.platform_qms ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.qms_menu_authorization.includes(e) : !1, bY = (e) => H.platform_twin ? (H.kind === -1 || H.kind === 99 || e === "home", !0) : !1, wY = (e) => !!(H.kind === -1 || H.kind === 99 || H.maintain_menu_authorization.includes(e)), SY = (e) => !!(H.kind === -1 || H.kind === 99 || H.order_menu_authorization.includes(e)), UW = "2.1.
|
|
32983
|
+
const mY = (e) => !!(H.kind === -1 || H.kind === 99 || H.iot_menu_authorization.includes(e)), yY = (e) => H.platform_tdm ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.tdm_menu_authorization.includes(e) : !1, _Y = (e) => H.platform_qms ? H.kind === -1 || H.kind === 99 || e === "home" ? !0 : H.qms_menu_authorization.includes(e) : !1, bY = (e) => H.platform_twin ? (H.kind === -1 || H.kind === 99 || e === "home", !0) : !1, wY = (e) => !!(H.kind === -1 || H.kind === 99 || H.maintain_menu_authorization.includes(e)), SY = (e) => !!(H.kind === -1 || H.kind === 99 || H.order_menu_authorization.includes(e)), UW = "2.1.7";
|
|
32980
32984
|
let Fo = "";
|
|
32981
32985
|
const Ee = navigator.userAgent.toLocaleUpperCase(), WW = () => {
|
|
32982
32986
|
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/;
|