@partex/one-core 2.0.36 → 2.0.37
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.cjs +1 -1
- package/lib/one-core.js +8 -6
- package/lib/one-core.umd.cjs +1 -1
- package/package.json +1 -1
package/lib/one-core.js
CHANGED
|
@@ -817,7 +817,7 @@ const Us = {
|
|
|
817
817
|
"zh-CN": { ...Us },
|
|
818
818
|
"fr-FR": {}
|
|
819
819
|
}
|
|
820
|
-
}), pe = Vs, Wa = "2.0.
|
|
820
|
+
}), pe = Vs, Wa = "2.0.37", Kt = {
|
|
821
821
|
Components: {
|
|
822
822
|
platformName: () => `${pe.global.t("Platform.components")} v${Wa}`,
|
|
823
823
|
platformType: "T0",
|
|
@@ -5438,7 +5438,7 @@ const Eg = /* @__PURE__ */ B(Vg, [["render", Lg]]), qg = X({
|
|
|
5438
5438
|
}, C = () => {
|
|
5439
5439
|
const A = JSON.stringify(
|
|
5440
5440
|
p.value,
|
|
5441
|
-
(c, S) => S === void 0 ? null : Array.isArray(S) ? S.filter((V) => V) : S
|
|
5441
|
+
(c, S) => S === void 0 ? null : Array.isArray(S) ? S.filter((V) => V !== "") : S
|
|
5442
5442
|
);
|
|
5443
5443
|
return JSON.parse(A);
|
|
5444
5444
|
}, I = (A) => {
|
|
@@ -5554,7 +5554,7 @@ function Kg(e, o, t, n, r, d) {
|
|
|
5554
5554
|
"on-update:value": (w) => {
|
|
5555
5555
|
let H = w, L = w;
|
|
5556
5556
|
if (a.multiple) {
|
|
5557
|
-
let j = w.filter((J) => J);
|
|
5557
|
+
let j = w.filter((J) => J !== "");
|
|
5558
5558
|
j.length === 0 ? (H = [""], L = []) : (H = j, L = j);
|
|
5559
5559
|
}
|
|
5560
5560
|
a.updateValue ? a.updateValue(
|
|
@@ -5814,7 +5814,7 @@ function Kg(e, o, t, n, r, d) {
|
|
|
5814
5814
|
var Lt, Et, qt;
|
|
5815
5815
|
let Z = x, be = x;
|
|
5816
5816
|
if (((Lt = a.inputTemp) == null ? void 0 : Lt.type) === "select" && ((Et = a.inputTemp) != null && Et.multiple)) {
|
|
5817
|
-
let Ye = x.filter((Dn) => Dn);
|
|
5817
|
+
let Ye = x.filter((Dn) => Dn !== "");
|
|
5818
5818
|
Ye.length === 0 ? (Z = [""], be = []) : (Z = Ye, be = Ye);
|
|
5819
5819
|
}
|
|
5820
5820
|
(qt = a.inputTemp) != null && qt.updateValue ? a.inputTemp.updateValue(
|
|
@@ -7466,6 +7466,7 @@ const Fe = (e, o, t) => {
|
|
|
7466
7466
|
// routerHistory: [], // historyStore.history
|
|
7467
7467
|
user: {
|
|
7468
7468
|
userId: $.userId,
|
|
7469
|
+
name: $.name,
|
|
7469
7470
|
factoryId: $.factoryId,
|
|
7470
7471
|
systemType: $.systemType,
|
|
7471
7472
|
tenantLoginCode: $.tenantLoginCode,
|
|
@@ -7473,9 +7474,10 @@ const Fe = (e, o, t) => {
|
|
|
7473
7474
|
tenantStatus: $.tenantStatus,
|
|
7474
7475
|
userAgent: W
|
|
7475
7476
|
}
|
|
7476
|
-
}, r = Pe(n), d = document.body
|
|
7477
|
+
}, r = Pe(n), d = document.body;
|
|
7478
|
+
let s = new Image();
|
|
7477
7479
|
s.src = co + "?data=" + r, s.onload = s.onerror = function() {
|
|
7478
|
-
d.removeChild(s);
|
|
7480
|
+
d.removeChild(s), s = null;
|
|
7479
7481
|
}, d.append(s), e !== 3 && console.error(t);
|
|
7480
7482
|
};
|
|
7481
7483
|
let An;
|