@partex/one-core 2.1.8 → 2.1.9
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 +9 -9
- package/lib/one-core.js +110 -110
- package/lib/one-core.umd.cjs +9 -9
- package/package.json +1 -1
package/lib/one-core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ZC = Object.defineProperty;
|
|
2
2
|
var KC = (e, t, r) => t in e ? ZC(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var vs = (e, t, r) => (KC(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
-
import { defineComponent as Ge, openBlock as V, createElementBlock as J, createElementVNode as z, h as ye, reactive as hd, resolveComponent as R, createBlock as K, withCtx as k, createVNode as E, toDisplayString as ue, ref as U, Fragment as bt, normalizeStyle as zo, createCommentVNode as
|
|
4
|
+
import { defineComponent as Ge, openBlock as V, createElementBlock as J, createElementVNode as z, h as ye, reactive as hd, resolveComponent as R, createBlock as K, withCtx as k, createVNode as E, toDisplayString as ue, ref as U, Fragment as bt, normalizeStyle as zo, createCommentVNode as ne, createTextVNode as _e, onMounted as Jr, onBeforeUnmount as pu, renderList as Go, createSlots as fi, withDirectives as ci, vShow as hi, watch as Qt, mergeProps as g_, normalizeClass as wl, renderSlot as sr, withKeys as Qc, computed as JC, onUnmounted as QC, nextTick as e2 } from "vue";
|
|
5
5
|
import { createDiscreteApi as t2, NPopover as Pn, NFlex as Lt, NButton as Je, NTooltip as ba, NIcon as $t, NPopconfirm as m_, NInput as as, NSelect as y_, NInputNumber as __, NDatePicker as dd, NTimePicker as b_, NSwitch as r2, NUpload as w_, NUploadDragger as n2, NDivider as S_, NColorPicker as a2, NCheckbox as i2, NCheckboxGroup as o2, NCascader as C_, NGrid as Ci, NForm as vd, NFormItem as pd, NDataTable as Ti, useNotification as kn, NBadge as s2, NRadioGroup as l2, NRadioButton as u2, NDropdown as T_, NMenu as f2, NDrawer as c2, NDrawerContent as h2, NCard as gd, NModal as D_, NTabs as d2, NTabPane as v2, NGi as gu, darkTheme as wa, NConfigProvider as p2, NDialogProvider as g2, NNotificationProvider as m2, zhCN as y2, dateZhCN as _2, NInputGroup as md, NInputGroupLabel as x_, NGridItem as b2, NTreeSelect as w2, NSkeleton as S2 } from "naive-ui";
|
|
6
6
|
import { createRouter as C2, createWebHistory as T2, useRoute as mu, useRouter as Di } from "vue-router";
|
|
7
7
|
import { createI18n as D2, useI18n as Nr } from "vue-i18n";
|
|
@@ -582,7 +582,7 @@ function Pd(e, t = !1) {
|
|
|
582
582
|
"div",
|
|
583
583
|
{},
|
|
584
584
|
{
|
|
585
|
-
default: () =>
|
|
585
|
+
default: () => re.lang === "zh-CN" ? `共${e.total}条` : `${e.total} items`
|
|
586
586
|
}
|
|
587
587
|
)
|
|
588
588
|
},
|
|
@@ -939,7 +939,7 @@ let th = yd.CancelToken.source();
|
|
|
939
939
|
xi.interceptors.request.use(
|
|
940
940
|
(e) => {
|
|
941
941
|
var r;
|
|
942
|
-
e.cancelToken = th.token, e.headers.TimezoneOffset = dx, e.headers.Language =
|
|
942
|
+
e.cancelToken = th.token, e.headers.TimezoneOffset = dx, e.headers.Language = re.lang;
|
|
943
943
|
const t = xt("token", !1);
|
|
944
944
|
if (e.headers && t && (e.headers["X-Auth-Token"] = t), ((r = e.method) == null ? void 0 : r.toLocaleUpperCase()) === "GET") {
|
|
945
945
|
const n = G_(e.data);
|
|
@@ -1020,7 +1020,7 @@ function U_() {
|
|
|
1020
1020
|
});
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
|
-
const
|
|
1023
|
+
const re = hd({
|
|
1024
1024
|
needUpdate: !1,
|
|
1025
1025
|
download: !1,
|
|
1026
1026
|
theme: !1,
|
|
@@ -1041,47 +1041,47 @@ const ne = hd({
|
|
|
1041
1041
|
}
|
|
1042
1042
|
});
|
|
1043
1043
|
function bp(e) {
|
|
1044
|
-
|
|
1044
|
+
re.platformList = e.platformList, re.owned = e.owned;
|
|
1045
1045
|
}
|
|
1046
1046
|
function mx(e) {
|
|
1047
|
-
|
|
1047
|
+
re.platformMenu = e;
|
|
1048
1048
|
}
|
|
1049
1049
|
function Ed(e) {
|
|
1050
|
-
|
|
1050
|
+
re.download = e;
|
|
1051
1051
|
}
|
|
1052
1052
|
function yx(e) {
|
|
1053
|
-
|
|
1053
|
+
re.language = e;
|
|
1054
1054
|
}
|
|
1055
1055
|
function Uo(e) {
|
|
1056
1056
|
let t;
|
|
1057
|
-
e ? t = e :
|
|
1057
|
+
e ? t = e : re.lang === "zh-CN" ? t = "en-US" : t = "zh-CN", Et("lang", t, 0), re.lang = t;
|
|
1058
1058
|
const r = document.body;
|
|
1059
1059
|
r.dataset.lang = t, ca.global.locale.value = t;
|
|
1060
1060
|
}
|
|
1061
1061
|
async function _x(e) {
|
|
1062
1062
|
if (typeof e == "object")
|
|
1063
|
-
|
|
1063
|
+
re.platformName = e.platformName, re.platformType = e.platformType, re.platformUrl = e.platformUrl;
|
|
1064
1064
|
else {
|
|
1065
1065
|
const t = await U_();
|
|
1066
1066
|
if (t) {
|
|
1067
1067
|
const r = t[e] || t.iot;
|
|
1068
|
-
|
|
1068
|
+
re.platformName = () => ca.global.t(r.platformName), re.platformType = r.platformType, re.platformUrl = r.platformUrl, document.title = re.platformName();
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
1072
|
function bu(e) {
|
|
1073
|
-
|
|
1073
|
+
re.theme = e;
|
|
1074
1074
|
const t = document.body, r = document.querySelector("meta[name=theme-color]");
|
|
1075
1075
|
e ? t.dataset.theme = "dark" : t.dataset.theme = "", r && (e ? r.setAttribute("content", "#2b2b2d") : r.setAttribute("content", "#ffffff"));
|
|
1076
1076
|
}
|
|
1077
1077
|
function bx(e) {
|
|
1078
|
-
|
|
1078
|
+
re.needUpdate = e;
|
|
1079
1079
|
}
|
|
1080
1080
|
function Sx(e) {
|
|
1081
|
-
|
|
1081
|
+
re.options = Object.assign({}, re.options, e);
|
|
1082
1082
|
}
|
|
1083
1083
|
const W_ = () => {
|
|
1084
|
-
|
|
1084
|
+
re.isMobile = window.screen.availWidth < 769, re.isPad = window.screen.availWidth < 1024;
|
|
1085
1085
|
};
|
|
1086
1086
|
window.addEventListener("resize", W_);
|
|
1087
1087
|
W_();
|
|
@@ -1165,7 +1165,7 @@ const ps = (e, t) => ye(
|
|
|
1165
1165
|
);
|
|
1166
1166
|
e.buttonText ? n = a : n = ps(
|
|
1167
1167
|
a,
|
|
1168
|
-
|
|
1168
|
+
re.lang === "zh-CN" ? "详情" : "Detail"
|
|
1169
1169
|
);
|
|
1170
1170
|
}
|
|
1171
1171
|
if (e.type === "edit") {
|
|
@@ -1176,7 +1176,7 @@ const ps = (e, t) => ye(
|
|
|
1176
1176
|
t,
|
|
1177
1177
|
r
|
|
1178
1178
|
);
|
|
1179
|
-
e.buttonText ? n = a : n = ps(a,
|
|
1179
|
+
e.buttonText ? n = a : n = ps(a, re.lang === "zh-CN" ? "编辑" : "Edit");
|
|
1180
1180
|
}
|
|
1181
1181
|
if (e.type === "delete") {
|
|
1182
1182
|
let a = Fr(
|
|
@@ -1188,12 +1188,12 @@ const ps = (e, t) => ye(
|
|
|
1188
1188
|
);
|
|
1189
1189
|
e.buttonText ? a = a : a = ps(
|
|
1190
1190
|
a,
|
|
1191
|
-
|
|
1191
|
+
re.lang === "zh-CN" ? "删除" : "Delete"
|
|
1192
1192
|
), n = Cl(
|
|
1193
1193
|
a,
|
|
1194
1194
|
{
|
|
1195
1195
|
...e,
|
|
1196
|
-
confirmText:
|
|
1196
|
+
confirmText: re.lang === "zh-CN" ? "删除后无法恢复,是否确认删除?" : "Are you sure you want to delete ?"
|
|
1197
1197
|
},
|
|
1198
1198
|
t,
|
|
1199
1199
|
r
|
|
@@ -1217,14 +1217,14 @@ const ps = (e, t) => ye(
|
|
|
1217
1217
|
a.type === "detail" && (i = Fr(
|
|
1218
1218
|
{
|
|
1219
1219
|
...a,
|
|
1220
|
-
buttonText:
|
|
1220
|
+
buttonText: re.lang === "zh-CN" ? "详情" : "Detail"
|
|
1221
1221
|
},
|
|
1222
1222
|
"primary",
|
|
1223
1223
|
void 0,
|
|
1224
1224
|
t,
|
|
1225
1225
|
r
|
|
1226
1226
|
)), a.type === "edit" && (i = Fr(
|
|
1227
|
-
{ ...a, buttonText:
|
|
1227
|
+
{ ...a, buttonText: re.lang === "zh-CN" ? "编辑" : "Edit" },
|
|
1228
1228
|
"success",
|
|
1229
1229
|
void 0,
|
|
1230
1230
|
t,
|
|
@@ -1234,7 +1234,7 @@ const ps = (e, t) => ye(
|
|
|
1234
1234
|
{
|
|
1235
1235
|
...a,
|
|
1236
1236
|
onClick: "",
|
|
1237
|
-
buttonText:
|
|
1237
|
+
buttonText: re.lang === "zh-CN" ? "删除" : "Delete"
|
|
1238
1238
|
},
|
|
1239
1239
|
"error",
|
|
1240
1240
|
void 0,
|
|
@@ -1243,7 +1243,7 @@ const ps = (e, t) => ye(
|
|
|
1243
1243
|
),
|
|
1244
1244
|
{
|
|
1245
1245
|
...a,
|
|
1246
|
-
confirmText:
|
|
1246
|
+
confirmText: re.lang === "zh-CN" ? "删除后无法恢复,是否确认删除?" : "Are you sure you want to delete ?"
|
|
1247
1247
|
},
|
|
1248
1248
|
t,
|
|
1249
1249
|
r
|
|
@@ -1304,7 +1304,7 @@ const ps = (e, t) => ye(
|
|
|
1304
1304
|
name: "OcAuth",
|
|
1305
1305
|
setup() {
|
|
1306
1306
|
const e = mu(), t = Di(), { auth: r } = e.query;
|
|
1307
|
-
r ? Et("token", r, 0) : vi("token"), t.replace(
|
|
1307
|
+
r ? Et("token", r, 0) : vi("token"), t.replace(re.platformUrl);
|
|
1308
1308
|
}
|
|
1309
1309
|
}), xx = {
|
|
1310
1310
|
class: "com-card flex-center",
|
|
@@ -1490,7 +1490,7 @@ function Gx(e, t, r, n, a, i) {
|
|
|
1490
1490
|
e.mouseOver(s, "a");
|
|
1491
1491
|
}),
|
|
1492
1492
|
onMouseout: t[1] || (t[1] = (...s) => e.mouseOut && e.mouseOut(...s))
|
|
1493
|
-
}, null, 40, Vx)) :
|
|
1493
|
+
}, null, 40, Vx)) : ne("", !0),
|
|
1494
1494
|
e.pointB ? (V(), J("circle", {
|
|
1495
1495
|
key: 1,
|
|
1496
1496
|
class: "oc-circle-round",
|
|
@@ -1505,7 +1505,7 @@ function Gx(e, t, r, n, a, i) {
|
|
|
1505
1505
|
e.mouseOver(s, "b");
|
|
1506
1506
|
}),
|
|
1507
1507
|
onMouseout: t[3] || (t[3] = (...s) => e.mouseOut && e.mouseOut(...s))
|
|
1508
|
-
}, null, 40, Fx)) :
|
|
1508
|
+
}, null, 40, Fx)) : ne("", !0),
|
|
1509
1509
|
z("text", zx, ue(e.circleTxt ? e.circleTxt : `${e.circle}%`), 1)
|
|
1510
1510
|
])),
|
|
1511
1511
|
E(o, {
|
|
@@ -27022,7 +27022,7 @@ const Q7 = {
|
|
|
27022
27022
|
},
|
|
27023
27023
|
mounted() {
|
|
27024
27024
|
this.$watch(
|
|
27025
|
-
() =>
|
|
27025
|
+
() => re.theme,
|
|
27026
27026
|
() => {
|
|
27027
27027
|
this.dispose(), this.init();
|
|
27028
27028
|
}
|
|
@@ -27043,7 +27043,7 @@ const Q7 = {
|
|
|
27043
27043
|
const t = this.renderer || "canvas";
|
|
27044
27044
|
return new Promise((r) => {
|
|
27045
27045
|
this.$nextTick(() => {
|
|
27046
|
-
const n = this.theme ? this.theme :
|
|
27046
|
+
const n = this.theme ? this.theme : re.theme ? "dark" : "white", a = mI(e, n, {
|
|
27047
27047
|
renderer: t,
|
|
27048
27048
|
// width: undefined,
|
|
27049
27049
|
// height: undefined,
|
|
@@ -27123,11 +27123,11 @@ const Q7 = {
|
|
|
27123
27123
|
title: "404 页面走丢了",
|
|
27124
27124
|
title2: "Something's missing."
|
|
27125
27125
|
}), n = () => {
|
|
27126
|
-
Vr.push(
|
|
27126
|
+
Vr.push(re.platformUrl);
|
|
27127
27127
|
}, a = U();
|
|
27128
27128
|
return Jr(() => {
|
|
27129
27129
|
r.value = t[e.type], a.value = setInterval(() => {
|
|
27130
|
-
Vr.push(
|
|
27130
|
+
Vr.push(re.platformUrl);
|
|
27131
27131
|
}, 3e3);
|
|
27132
27132
|
}), pu(() => {
|
|
27133
27133
|
clearInterval(a.value);
|
|
@@ -27179,7 +27179,7 @@ function dB(e, t, r, n, a, i) {
|
|
|
27179
27179
|
_e(" 2020-2024 " + ue(e.$t("Common.title")) + " ", 1),
|
|
27180
27180
|
e.version ? (V(), J(bt, { key: 0 }, [
|
|
27181
27181
|
_e("v" + ue(e.version) + " ", 1)
|
|
27182
|
-
], 64)) :
|
|
27182
|
+
], 64)) : ne("", !0),
|
|
27183
27183
|
hB
|
|
27184
27184
|
]);
|
|
27185
27185
|
}
|
|
@@ -27890,7 +27890,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
27890
27890
|
_e(ue(typeof e.item.label == "function" ? e.item.label() : e.item.label), 1)
|
|
27891
27891
|
]),
|
|
27892
27892
|
_: 1
|
|
27893
|
-
}, 8, ["title-placement"])) :
|
|
27893
|
+
}, 8, ["title-placement"])) : ne("", !0),
|
|
27894
27894
|
e.item.input === "input" ? (V(), K(s, {
|
|
27895
27895
|
key: 1,
|
|
27896
27896
|
value: e.formValue[e.item.key],
|
|
@@ -27907,7 +27907,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
27907
27907
|
"on-update:value": (S) => {
|
|
27908
27908
|
e.formValue[e.item.key] = S.trim(), e.updateValue(e.item, S.trim());
|
|
27909
27909
|
}
|
|
27910
|
-
}, null, 8, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "on-update:value"])) :
|
|
27910
|
+
}, null, 8, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "on-update:value"])) : ne("", !0),
|
|
27911
27911
|
e.item.input === "number" ? (V(), K(l, {
|
|
27912
27912
|
key: 2,
|
|
27913
27913
|
value: e.formValue[e.item.key],
|
|
@@ -27928,7 +27928,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
27928
27928
|
"on-update:value": (S) => {
|
|
27929
27929
|
e.formValue[e.item.key] = S, e.updateValue(e.item, S);
|
|
27930
27930
|
}
|
|
27931
|
-
}, null, 8, ["value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "parse", "on-update:value"])) :
|
|
27931
|
+
}, null, 8, ["value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "parse", "on-update:value"])) : ne("", !0),
|
|
27932
27932
|
e.item.input === "date" && !e.item.format ? (V(), K(u, {
|
|
27933
27933
|
key: 3,
|
|
27934
27934
|
value: e.formValue[e.item.key],
|
|
@@ -27950,7 +27950,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
27950
27950
|
"on-update:value": (S) => {
|
|
27951
27951
|
e.formValue[e.item.key] = S, e.updateValue(e.item, S);
|
|
27952
27952
|
}
|
|
27953
|
-
}, null, 8, ["value", "type", "placeholder", "disabled", "input-readonly", "clearable", "time-picker-props", "is-date-disabled", "on-update:value"])) :
|
|
27953
|
+
}, null, 8, ["value", "type", "placeholder", "disabled", "input-readonly", "clearable", "time-picker-props", "is-date-disabled", "on-update:value"])) : ne("", !0),
|
|
27954
27954
|
e.item.input === "date" && e.item.format ? (V(), K(u, {
|
|
27955
27955
|
key: 4,
|
|
27956
27956
|
"formatted-value": e.formValue[e.item.key],
|
|
@@ -27973,7 +27973,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
27973
27973
|
"on-update:formatted-value": (S) => {
|
|
27974
27974
|
e.formValue[e.item.key] = S, e.updateValue(e.item, S);
|
|
27975
27975
|
}
|
|
27976
|
-
}, null, 8, ["formatted-value", "type", "placeholder", "disabled", "input-readonly", "clearable", "format", "time-picker-props", "is-date-disabled", "on-update:formatted-value"])) :
|
|
27976
|
+
}, null, 8, ["formatted-value", "type", "placeholder", "disabled", "input-readonly", "clearable", "format", "time-picker-props", "is-date-disabled", "on-update:formatted-value"])) : ne("", !0),
|
|
27977
27977
|
e.item.input === "select" ? (V(), K(f, {
|
|
27978
27978
|
key: 5,
|
|
27979
27979
|
value: e.formValue[e.item.key],
|
|
@@ -27999,7 +27999,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
27999
27999
|
}
|
|
28000
28000
|
e.formValue[e.item.key] = b, e.updateValue(e.item, T);
|
|
28001
28001
|
}
|
|
28002
|
-
}, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "fallback-option", "maxTagCount", "render-label", "render-option", "render-tag", "on-update:value"])) :
|
|
28002
|
+
}, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "fallback-option", "maxTagCount", "render-label", "render-option", "render-tag", "on-update:value"])) : ne("", !0),
|
|
28003
28003
|
e.item.input === "cascader" ? (V(), K(c, {
|
|
28004
28004
|
key: 6,
|
|
28005
28005
|
value: e.formValue[e.item.key],
|
|
@@ -28021,7 +28021,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
28021
28021
|
}
|
|
28022
28022
|
e.formValue[e.item.key] = b, e.updateValue(e.item, T);
|
|
28023
28023
|
}
|
|
28024
|
-
}, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "maxTagCount", "on-update:value"])) :
|
|
28024
|
+
}, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "maxTagCount", "on-update:value"])) : ne("", !0),
|
|
28025
28025
|
e.item.input === "color" ? (V(), K(d, {
|
|
28026
28026
|
key: 7,
|
|
28027
28027
|
value: e.formValue[e.item.key],
|
|
@@ -28036,7 +28036,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
28036
28036
|
"#F0A020",
|
|
28037
28037
|
"rgba(208, 48, 80, 1)"
|
|
28038
28038
|
]
|
|
28039
|
-
}, null, 8, ["value", "disabled", "swatches"])) :
|
|
28039
|
+
}, null, 8, ["value", "disabled", "swatches"])) : ne("", !0),
|
|
28040
28040
|
e.item.input === "checkbox" ? (V(), K(g, {
|
|
28041
28041
|
key: 8,
|
|
28042
28042
|
value: e.formValue[e.item.key],
|
|
@@ -28055,7 +28055,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
28055
28055
|
})
|
|
28056
28056
|
]),
|
|
28057
28057
|
_: 1
|
|
28058
|
-
}, 8, ["value", "disabled"])) :
|
|
28058
|
+
}, 8, ["value", "disabled"])) : ne("", !0),
|
|
28059
28059
|
e.item.input === "time" ? (V(), K(p, {
|
|
28060
28060
|
key: 9,
|
|
28061
28061
|
value: e.formValue[e.item.key],
|
|
@@ -28068,7 +28068,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
28068
28068
|
"on-update:value": (S) => {
|
|
28069
28069
|
e.formValue[e.item.key] = S, e.updateValue(e.item, S);
|
|
28070
28070
|
}
|
|
28071
|
-
}, null, 8, ["value", "placeholder", "format", "disabled", "readonly", "clearable", "on-update:value"])) :
|
|
28071
|
+
}, null, 8, ["value", "placeholder", "format", "disabled", "readonly", "clearable", "on-update:value"])) : ne("", !0),
|
|
28072
28072
|
e.item.input === "switch" ? (V(), K(m, {
|
|
28073
28073
|
key: 10,
|
|
28074
28074
|
value: e.formValue[e.item.key],
|
|
@@ -28093,7 +28093,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
28093
28093
|
]),
|
|
28094
28094
|
key: "1"
|
|
28095
28095
|
} : void 0
|
|
28096
|
-
]), 1032, ["value", "disabled", "on-update:value"])) :
|
|
28096
|
+
]), 1032, ["value", "disabled", "on-update:value"])) : ne("", !0),
|
|
28097
28097
|
e.item.input === "upload" ? (V(), K(C, {
|
|
28098
28098
|
key: 11,
|
|
28099
28099
|
"default-file-list": e.formValue[e.item.key] ? [
|
|
@@ -28134,7 +28134,7 @@ function XG(e, t, r, n, a, i) {
|
|
|
28134
28134
|
])
|
|
28135
28135
|
]),
|
|
28136
28136
|
_: 1
|
|
28137
|
-
}, 8, ["default-file-list", "on-before-upload", "accept", "disabled", "max", "on-update:file-list"])) :
|
|
28137
|
+
}, 8, ["default-file-list", "on-before-upload", "accept", "disabled", "max", "on-update:file-list"])) : ne("", !0)
|
|
28138
28138
|
], 64);
|
|
28139
28139
|
}
|
|
28140
28140
|
const ZG = /* @__PURE__ */ fe(WG, [["render", XG]]), KG = Ge({
|
|
@@ -28336,7 +28336,7 @@ function QG(e, t, r, n, a, i) {
|
|
|
28336
28336
|
}, null, 8, ["item", "formValue", "edit"])
|
|
28337
28337
|
]),
|
|
28338
28338
|
_: 2
|
|
28339
|
-
}, 1032, ["label", "path", "rule", "class", "onClick", "style", "show-feedback"])) :
|
|
28339
|
+
}, 1032, ["label", "path", "rule", "class", "onClick", "style", "show-feedback"])) : ne("", !0)
|
|
28340
28340
|
], 64);
|
|
28341
28341
|
}), 128))
|
|
28342
28342
|
]))
|
|
@@ -28359,10 +28359,10 @@ const eH = /* @__PURE__ */ fe(KG, [["render", QG]]), f_ = (e) => {
|
|
|
28359
28359
|
key: r.industryCategory === "0" ? "/iot/home/all" : "/prt/home/all"
|
|
28360
28360
|
}
|
|
28361
28361
|
];
|
|
28362
|
-
switch (Object.keys(
|
|
28362
|
+
switch (Object.keys(re.owned).forEach((o) => {
|
|
28363
28363
|
const s = a.includes(Number(o));
|
|
28364
|
-
if (r[
|
|
28365
|
-
const l =
|
|
28364
|
+
if (r[re.owned[o]] = s, s) {
|
|
28365
|
+
const l = re.owned[o].split("_")[1], u = re.platformList[l];
|
|
28366
28366
|
u && i.push({
|
|
28367
28367
|
label: () => ca.global.t(u.platformName),
|
|
28368
28368
|
key: u.platformUrl
|
|
@@ -28386,16 +28386,16 @@ const eH = /* @__PURE__ */ fe(KG, [["render", QG]]), f_ = (e) => {
|
|
|
28386
28386
|
}).catch((r) => {
|
|
28387
28387
|
t(r);
|
|
28388
28388
|
});
|
|
28389
|
-
}), rH = () => Bt("api/auth/user/logout"), nH = () => Bt("api/manager/message/markReadAll"), aH = () => Bt("api/auth/user/updateTenantRenewalStatus"), iH = (e) => Bt(
|
|
28389
|
+
}), rH = () => Bt("api/auth/user/logout"), nH = () => Bt("api/manager/message/markReadAll"), aH = () => Bt("api/auth/user/updateTenantRenewalStatus"), iH = (e) => Bt(re.options.removeUrl, e), oH = (e) => Bt("api/manager/job/retry", {
|
|
28390
28390
|
jobId: e
|
|
28391
28391
|
}), sH = (e, t = {}) => px(e, t, "blob"), OC = (e) => {
|
|
28392
28392
|
const t = new FormData();
|
|
28393
28393
|
return Object.keys(e).forEach((r) => {
|
|
28394
28394
|
e.query && r === "query" ? t.append("query", JSON.stringify(e.query)) : t.append(r, e[r]);
|
|
28395
|
-
}), H_(
|
|
28395
|
+
}), H_(re.options.importUrl, t);
|
|
28396
28396
|
}, RC = (e) => new Promise((t, r) => {
|
|
28397
28397
|
const n = kd(e);
|
|
28398
|
-
Bt(
|
|
28398
|
+
Bt(re.options.pageUrl, n).then((a) => {
|
|
28399
28399
|
const i = Pd(a);
|
|
28400
28400
|
t(i);
|
|
28401
28401
|
}).catch(() => {
|
|
@@ -28405,7 +28405,7 @@ const eH = /* @__PURE__ */ fe(KG, [["render", QG]]), f_ = (e) => {
|
|
|
28405
28405
|
const n = new FormData();
|
|
28406
28406
|
n.append("jobType", "EXPORT"), Object.keys(e).forEach((a) => {
|
|
28407
28407
|
e.query && a === "query" ? n.append("query", JSON.stringify(e.query)) : n.append(a, e[a]);
|
|
28408
|
-
}), H_(
|
|
28408
|
+
}), H_(re.options.importUrl, n).then(() => {
|
|
28409
28409
|
Ed(!0), t();
|
|
28410
28410
|
}).catch((a) => {
|
|
28411
28411
|
r(a);
|
|
@@ -28659,7 +28659,7 @@ const cH = Ge({
|
|
|
28659
28659
|
Ed(h), t.value = h;
|
|
28660
28660
|
};
|
|
28661
28661
|
return c(), Qt(
|
|
28662
|
-
() =>
|
|
28662
|
+
() => re.download,
|
|
28663
28663
|
(h) => {
|
|
28664
28664
|
t.value = h, h && c();
|
|
28665
28665
|
}
|
|
@@ -29067,7 +29067,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
|
|
|
29067
29067
|
}
|
|
29068
29068
|
},
|
|
29069
29069
|
setup(e) {
|
|
29070
|
-
const { t } = Nr(), r = mu(), n = Di(), a = kn(), i = U(
|
|
29070
|
+
const { t } = Nr(), r = mu(), n = Di(), a = kn(), i = U(re.platformUrl), o = U(!1), s = U(void 0), l = U(10), u = U(re.platformMenu), f = (T) => {
|
|
29071
29071
|
bu(T), Et("theme", T, 0);
|
|
29072
29072
|
}, c = (T) => {
|
|
29073
29073
|
T.indexOf("/iot/home") > -1 && (T = "/iot/home/all"), T.indexOf("/iot/timeline") > -1 && (T = "/iot/timeline/all"), i.value = T, eh();
|
|
@@ -29115,12 +29115,12 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
|
|
|
29115
29115
|
key: "tenantName"
|
|
29116
29116
|
},
|
|
29117
29117
|
{
|
|
29118
|
-
label: `${t("Common.dropdownMenu.theme")} ${
|
|
29118
|
+
label: `${t("Common.dropdownMenu.theme")} ${re.theme ? t("Common.dropdownMenu.light") : t("Common.dropdownMenu.dark")}`,
|
|
29119
29119
|
key: "theme"
|
|
29120
29120
|
}
|
|
29121
29121
|
];
|
|
29122
|
-
return
|
|
29123
|
-
label: `${t("Common.dropdownMenu.language")} ${
|
|
29122
|
+
return re.language && T.push({
|
|
29123
|
+
label: `${t("Common.dropdownMenu.language")} ${re.lang === "zh-CN" ? "EN" : "中文"}`,
|
|
29124
29124
|
key: "language"
|
|
29125
29125
|
}), T.push({
|
|
29126
29126
|
label: t("Common.dropdownMenu.software"),
|
|
@@ -29165,7 +29165,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
|
|
|
29165
29165
|
}
|
|
29166
29166
|
), T;
|
|
29167
29167
|
}, w = async (T) => {
|
|
29168
|
-
T === "logout" && FC(), T === "theme" && f(!
|
|
29168
|
+
T === "logout" && FC(), T === "theme" && f(!re.theme), T === "language" && Uo(), T === "info" && n.push("/custom/my"), T === "report" && n.push("/custom/report"), T === "android" && window.open("http://miiot.partexiot.cn/dk7u"), T === "ios" && window.open("https://apps.apple.com/cn/app/id1587313547"), T === "chrome" && window.open(
|
|
29169
29169
|
"http://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/Software/chrome_installer.exe"
|
|
29170
29170
|
), T === "edge" && window.open(
|
|
29171
29171
|
"http://partex-cloud-static.oss-cn-hangzhou.aliyuncs.com/Software/MicrosoftEdgeSetup.exe"
|
|
@@ -29277,7 +29277,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
|
|
|
29277
29277
|
});
|
|
29278
29278
|
}
|
|
29279
29279
|
}, D = () => {
|
|
29280
|
-
n.push(
|
|
29280
|
+
n.push(re.platformUrl);
|
|
29281
29281
|
};
|
|
29282
29282
|
"backdropFilter" in document.documentElement.style || "WebkitBackdropFilter" in document.documentElement.style || document.body.classList.add("not-support-backdrop");
|
|
29283
29283
|
const b = () => {
|
|
@@ -29294,7 +29294,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
|
|
|
29294
29294
|
c(T), b();
|
|
29295
29295
|
}
|
|
29296
29296
|
), Qt(
|
|
29297
|
-
() =>
|
|
29297
|
+
() => re.needUpdate,
|
|
29298
29298
|
(T) => {
|
|
29299
29299
|
if (T) {
|
|
29300
29300
|
s.value = setInterval(() => {
|
|
@@ -29346,7 +29346,7 @@ const yH = /* @__PURE__ */ fe(pH, [["render", mH]]), _H = Ge({
|
|
|
29346
29346
|
}
|
|
29347
29347
|
), {
|
|
29348
29348
|
userStore: H,
|
|
29349
|
-
commonStore:
|
|
29349
|
+
commonStore: re,
|
|
29350
29350
|
activeMenu: i,
|
|
29351
29351
|
platformOption: u,
|
|
29352
29352
|
showMenu: o,
|
|
@@ -29388,13 +29388,13 @@ function SH(e, t, r, n, a, i) {
|
|
|
29388
29388
|
})
|
|
29389
29389
|
]),
|
|
29390
29390
|
_: 1
|
|
29391
|
-
}, 8, ["options", "onSelect"])) :
|
|
29391
|
+
}, 8, ["options", "onSelect"])) : ne("", !0),
|
|
29392
29392
|
z("a", {
|
|
29393
29393
|
href: "javascript:;",
|
|
29394
29394
|
class: "logo",
|
|
29395
29395
|
onClick: t[0] || (t[0] = (..._) => e.indexClick && e.indexClick(..._))
|
|
29396
29396
|
}),
|
|
29397
|
-
e.commonStore.isPad ?
|
|
29397
|
+
e.commonStore.isPad ? ne("", !0) : (V(), J("a", {
|
|
29398
29398
|
key: 1,
|
|
29399
29399
|
href: "javascript:;",
|
|
29400
29400
|
class: "platform-txt",
|
|
@@ -29423,9 +29423,9 @@ function SH(e, t, r, n, a, i) {
|
|
|
29423
29423
|
"render-label": e.renderMenuLabel,
|
|
29424
29424
|
class: "oc-header-menu"
|
|
29425
29425
|
}, null, 8, ["value", "options", "render-icon", "render-label"])),
|
|
29426
|
-
e.download && !e.commonStore.isPad ? (V(), K(d, { key: 2 })) :
|
|
29427
|
-
e.message && !e.commonStore.isPad ? (V(), K(h, { key: 3 })) :
|
|
29428
|
-
e.commonStore.isPad ?
|
|
29426
|
+
e.download && !e.commonStore.isPad ? (V(), K(d, { key: 2 })) : ne("", !0),
|
|
29427
|
+
e.message && !e.commonStore.isPad ? (V(), K(h, { key: 3 })) : ne("", !0),
|
|
29428
|
+
e.commonStore.isPad ? ne("", !0) : (V(), K(l, {
|
|
29429
29429
|
key: 4,
|
|
29430
29430
|
style: { "margin-left": "15px" },
|
|
29431
29431
|
onClick: t[3] || (t[3] = (_) => e.changeTheme(!e.commonStore.theme))
|
|
@@ -29458,7 +29458,7 @@ function SH(e, t, r, n, a, i) {
|
|
|
29458
29458
|
_e(ue(e.commonStore.lang === "zh-CN" ? "EN" : "中文"), 1)
|
|
29459
29459
|
]),
|
|
29460
29460
|
_: 1
|
|
29461
|
-
})) :
|
|
29461
|
+
})) : ne("", !0),
|
|
29462
29462
|
e.userStore.name ? (V(), K(u, {
|
|
29463
29463
|
key: 6,
|
|
29464
29464
|
trigger: "click",
|
|
@@ -29473,7 +29473,7 @@ function SH(e, t, r, n, a, i) {
|
|
|
29473
29473
|
title: e.userStore.name
|
|
29474
29474
|
}, fi({
|
|
29475
29475
|
default: k(() => [
|
|
29476
|
-
e.commonStore.isPad ?
|
|
29476
|
+
e.commonStore.isPad ? ne("", !0) : (V(), J(bt, { key: 0 }, [
|
|
29477
29477
|
_e(ue(e.userStore.name), 1)
|
|
29478
29478
|
], 64))
|
|
29479
29479
|
]),
|
|
@@ -29494,7 +29494,7 @@ function SH(e, t, r, n, a, i) {
|
|
|
29494
29494
|
]), 1032, ["title"])
|
|
29495
29495
|
]),
|
|
29496
29496
|
_: 1
|
|
29497
|
-
}, 8, ["options", "onSelect"])) :
|
|
29497
|
+
}, 8, ["options", "onSelect"])) : ne("", !0)
|
|
29498
29498
|
]),
|
|
29499
29499
|
E(y, {
|
|
29500
29500
|
show: e.showMenu,
|
|
@@ -29895,7 +29895,7 @@ const zC = /* @__PURE__ */ fe(TH, [["render", xH]]), AH = Ge({
|
|
|
29895
29895
|
t.success({
|
|
29896
29896
|
content: () => e("Notice.success"),
|
|
29897
29897
|
duration: 3e3
|
|
29898
|
-
}), F.kind !== 1 && r.replace(
|
|
29898
|
+
}), F.kind !== 1 && r.replace(re.platformUrl);
|
|
29899
29899
|
}).catch(() => {
|
|
29900
29900
|
t.error({
|
|
29901
29901
|
content: () => e("Notice.error"),
|
|
@@ -30037,7 +30037,7 @@ const zC = /* @__PURE__ */ fe(TH, [["render", xH]]), AH = Ge({
|
|
|
30037
30037
|
);
|
|
30038
30038
|
return hp(), vi("token"), vi("platformListOwned"), y(), _(), {
|
|
30039
30039
|
tabs: n,
|
|
30040
|
-
commonStore:
|
|
30040
|
+
commonStore: re,
|
|
30041
30041
|
pwdRef: o,
|
|
30042
30042
|
pwdPhoneRef: s,
|
|
30043
30043
|
formRef: i,
|
|
@@ -30125,7 +30125,7 @@ function qH(e, t, r, n, a, i) {
|
|
|
30125
30125
|
_e(ue(e.commonStore.lang === "zh-CN" ? "EN" : "中文"), 1)
|
|
30126
30126
|
]),
|
|
30127
30127
|
_: 1
|
|
30128
|
-
})) :
|
|
30128
|
+
})) : ne("", !0)
|
|
30129
30129
|
]),
|
|
30130
30130
|
IH,
|
|
30131
30131
|
z("div", LH, ue(e.commonStore.platformName()), 1),
|
|
@@ -30292,7 +30292,7 @@ function qH(e, t, r, n, a, i) {
|
|
|
30292
30292
|
key: 0,
|
|
30293
30293
|
href: e.info.href,
|
|
30294
30294
|
class: "oc-login-other"
|
|
30295
|
-
}, ue(e.info.text), 9, VH)) :
|
|
30295
|
+
}, ue(e.info.text), 9, VH)) : ne("", !0),
|
|
30296
30296
|
E(y, {
|
|
30297
30297
|
"x-gap": "15",
|
|
30298
30298
|
cols: 2
|
|
@@ -30342,7 +30342,7 @@ function qH(e, t, r, n, a, i) {
|
|
|
30342
30342
|
_e(" 2020-2024 " + ue(e.$t("Common.title")) + " ", 1),
|
|
30343
30343
|
e.version ? (V(), J(bt, { key: 0 }, [
|
|
30344
30344
|
_e("v" + ue(e.version) + " ", 1)
|
|
30345
|
-
], 64)) :
|
|
30345
|
+
], 64)) : ne("", !0),
|
|
30346
30346
|
YH
|
|
30347
30347
|
])
|
|
30348
30348
|
])
|
|
@@ -30531,7 +30531,7 @@ const tU = {
|
|
|
30531
30531
|
return {
|
|
30532
30532
|
zhCN: y2,
|
|
30533
30533
|
dateZhCN: _2,
|
|
30534
|
-
commonStore:
|
|
30534
|
+
commonStore: re,
|
|
30535
30535
|
lightTheme: tU,
|
|
30536
30536
|
darkTheme: rU
|
|
30537
30537
|
};
|
|
@@ -31541,11 +31541,11 @@ function bW(e, t, r, n, a, i) {
|
|
|
31541
31541
|
])
|
|
31542
31542
|
]),
|
|
31543
31543
|
_: 3
|
|
31544
|
-
}, 8, ["span"])) :
|
|
31544
|
+
}, 8, ["span"])) : ne("", !0),
|
|
31545
31545
|
e.offset > -1 ? (V(), K(o, {
|
|
31546
31546
|
key: 1,
|
|
31547
31547
|
offset: e.offset
|
|
31548
|
-
}, null, 8, ["offset"])) :
|
|
31548
|
+
}, null, 8, ["offset"])) : ne("", !0),
|
|
31549
31549
|
(V(!0), J(bt, null, Go(e.dataList, (b, T, A) => (V(), K(o, {
|
|
31550
31550
|
key: `${T}_${A}`,
|
|
31551
31551
|
span: b.show ? e.small ? 1 : b.span ? b.span : `${e.cols} s:2 l:1` : 0
|
|
@@ -31575,7 +31575,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31575
31575
|
) : e.searchData[T] = M.trim();
|
|
31576
31576
|
},
|
|
31577
31577
|
clearable: b.clearable ?? !0
|
|
31578
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) :
|
|
31578
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : ne("", !0),
|
|
31579
31579
|
b.type === "number" ? (V(), K(u, {
|
|
31580
31580
|
key: 1,
|
|
31581
31581
|
value: e.searchData[T],
|
|
@@ -31604,7 +31604,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31604
31604
|
]),
|
|
31605
31605
|
key: "0"
|
|
31606
31606
|
} : void 0
|
|
31607
|
-
]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) :
|
|
31607
|
+
]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) : ne("", !0),
|
|
31608
31608
|
b.type === "select" ? (V(), K(f, {
|
|
31609
31609
|
key: 2,
|
|
31610
31610
|
value: e.searchData[T],
|
|
@@ -31631,7 +31631,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31631
31631
|
"max-tag-count": "responsive",
|
|
31632
31632
|
filterable: "",
|
|
31633
31633
|
style: { flex: "1", width: "0" }
|
|
31634
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) :
|
|
31634
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) : ne("", !0),
|
|
31635
31635
|
b.type === "dropdown" ? (V(), K(d, {
|
|
31636
31636
|
key: 3,
|
|
31637
31637
|
width: "trigger",
|
|
@@ -31678,7 +31678,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31678
31678
|
];
|
|
31679
31679
|
}),
|
|
31680
31680
|
_: 2
|
|
31681
|
-
}, 1032, ["show", "on-clickoutside"])) :
|
|
31681
|
+
}, 1032, ["show", "on-clickoutside"])) : ne("", !0),
|
|
31682
31682
|
b.type === "cascader" ? (V(), K(h, {
|
|
31683
31683
|
key: 4,
|
|
31684
31684
|
value: e.searchData[T],
|
|
@@ -31698,7 +31698,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31698
31698
|
clearable: b.clearable ?? !0,
|
|
31699
31699
|
"max-tag-count": "responsive",
|
|
31700
31700
|
filterable: ""
|
|
31701
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) :
|
|
31701
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) : ne("", !0),
|
|
31702
31702
|
b.type === "treeSelect" ? (V(), K(v, {
|
|
31703
31703
|
key: 5,
|
|
31704
31704
|
value: e.searchData[T],
|
|
@@ -31718,7 +31718,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31718
31718
|
clearable: b.clearable ?? !0,
|
|
31719
31719
|
"max-tag-count": "responsive",
|
|
31720
31720
|
filterable: ""
|
|
31721
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) :
|
|
31721
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "check-strategy", "multiple", "on-update:value", "clearable"])) : ne("", !0),
|
|
31722
31722
|
b.type === "timePicker" ? (V(), K(g, {
|
|
31723
31723
|
key: 6,
|
|
31724
31724
|
value: e.searchData[T],
|
|
@@ -31733,7 +31733,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31733
31733
|
},
|
|
31734
31734
|
format: b == null ? void 0 : b.format,
|
|
31735
31735
|
clearable: b.clearable ?? !0
|
|
31736
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "onOnUpdate:value", "format", "clearable"])) :
|
|
31736
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "onOnUpdate:value", "format", "clearable"])) : ne("", !0),
|
|
31737
31737
|
b.type === "datePicker" ? (V(), K(p, {
|
|
31738
31738
|
key: 7,
|
|
31739
31739
|
value: e.searchData[T],
|
|
@@ -31754,11 +31754,11 @@ function bW(e, t, r, n, a, i) {
|
|
|
31754
31754
|
},
|
|
31755
31755
|
clearable: b.clearable ?? !0,
|
|
31756
31756
|
"close-on-select": ""
|
|
31757
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) :
|
|
31757
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) : ne("", !0)
|
|
31758
31758
|
];
|
|
31759
31759
|
}),
|
|
31760
31760
|
_: 2
|
|
31761
|
-
}, 1024)) :
|
|
31761
|
+
}, 1024)) : ne("", !0),
|
|
31762
31762
|
b.type === "group" ? (V(), K(m, { key: 1 }, {
|
|
31763
31763
|
default: k(() => {
|
|
31764
31764
|
var x, M, I, N, L, O, F, B, G, q, $, Z, ie, ae, xe, we, Te, me, Ae, be, te, se, pt, je, rr, Vt, en, hs, Lr, ds, tn, zi, ka;
|
|
@@ -31806,7 +31806,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31806
31806
|
},
|
|
31807
31807
|
clearable: b.inputTemp.clearable ?? !0,
|
|
31808
31808
|
style: { flex: "1" }
|
|
31809
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) :
|
|
31809
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : ne("", !0),
|
|
31810
31810
|
((F = b.inputTemp) == null ? void 0 : F.type) === "number" ? (V(), K(u, {
|
|
31811
31811
|
key: 1,
|
|
31812
31812
|
value: e.searchData[b.input.key],
|
|
@@ -31840,7 +31840,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31840
31840
|
}),
|
|
31841
31841
|
key: "0"
|
|
31842
31842
|
} : void 0
|
|
31843
|
-
]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) :
|
|
31843
|
+
]), 1032, ["value", "onUpdate:value", "disabled", "placeholder", "min", "max", "step", "show-button", "validator", "on-update:value", "clearable"])) : ne("", !0),
|
|
31844
31844
|
((Ae = b.inputTemp) == null ? void 0 : Ae.type) === "datePicker" ? (V(), K(p, {
|
|
31845
31845
|
key: 2,
|
|
31846
31846
|
value: e.searchData[b.input.key],
|
|
@@ -31863,7 +31863,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31863
31863
|
clearable: b.inputTemp.clearable ?? !0,
|
|
31864
31864
|
"close-on-select": "",
|
|
31865
31865
|
style: { flex: "1" }
|
|
31866
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) :
|
|
31866
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "type", "format", "is-date-disabled", "shortcuts", "update-value-on-close", "on-update:value", "clearable"])) : ne("", !0),
|
|
31867
31867
|
((hs = b.inputTemp) == null ? void 0 : hs.type) === "select" ? (V(), K(f, {
|
|
31868
31868
|
key: 3,
|
|
31869
31869
|
value: e.searchData[b.input.key],
|
|
@@ -31891,11 +31891,11 @@ function bW(e, t, r, n, a, i) {
|
|
|
31891
31891
|
"max-tag-count": "responsive",
|
|
31892
31892
|
filterable: "",
|
|
31893
31893
|
style: { flex: "1", width: "0" }
|
|
31894
|
-
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) :
|
|
31894
|
+
}, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "options", "multiple", "fallback-option", "on-update:value", "clearable"])) : ne("", !0)
|
|
31895
31895
|
];
|
|
31896
31896
|
}),
|
|
31897
31897
|
_: 2
|
|
31898
|
-
}, 1024)) :
|
|
31898
|
+
}, 1024)) : ne("", !0)
|
|
31899
31899
|
]),
|
|
31900
31900
|
_: 2
|
|
31901
31901
|
}, 1032, ["span"]))), 128))
|
|
@@ -31927,7 +31927,7 @@ function bW(e, t, r, n, a, i) {
|
|
|
31927
31927
|
]),
|
|
31928
31928
|
_: 1
|
|
31929
31929
|
})
|
|
31930
|
-
])) :
|
|
31930
|
+
])) : ne("", !0)
|
|
31931
31931
|
]);
|
|
31932
31932
|
}
|
|
31933
31933
|
const wW = /* @__PURE__ */ fe(gW, [["render", bW]]), SW = Ge({
|
|
@@ -32061,7 +32061,7 @@ const MW = /* @__PURE__ */ fe(SW, [["render", AW]]), PW = Ge({
|
|
|
32061
32061
|
drawer: l,
|
|
32062
32062
|
isSlotHeader: u,
|
|
32063
32063
|
isSlotAction: f,
|
|
32064
|
-
commonStore:
|
|
32064
|
+
commonStore: re,
|
|
32065
32065
|
itemData: s,
|
|
32066
32066
|
doSearch: c,
|
|
32067
32067
|
clearAll: d
|
|
@@ -32084,7 +32084,7 @@ function IW(e, t, r, n, a, i) {
|
|
|
32084
32084
|
class: wl(["oc-search-bar-title", e.commonStore.isMobile ? "tiny" : ""])
|
|
32085
32085
|
}, [
|
|
32086
32086
|
sr(e.$slots, "header")
|
|
32087
|
-
], 2)) :
|
|
32087
|
+
], 2)) : ne("", !0),
|
|
32088
32088
|
e.small || e.commonStore.isMobile ? (V(), J("div", kW, [
|
|
32089
32089
|
E(h, {
|
|
32090
32090
|
value: e.drawer,
|
|
@@ -32125,7 +32125,7 @@ function IW(e, t, r, n, a, i) {
|
|
|
32125
32125
|
})
|
|
32126
32126
|
]),
|
|
32127
32127
|
_: 1
|
|
32128
|
-
}, 8, ["loading", "onClick"])) :
|
|
32128
|
+
}, 8, ["loading", "onClick"])) : ne("", !0),
|
|
32129
32129
|
e.data && Object.keys(e.data).length > 0 ? (V(), K(u, {
|
|
32130
32130
|
key: 1,
|
|
32131
32131
|
loading: e.loading,
|
|
@@ -32143,11 +32143,11 @@ function IW(e, t, r, n, a, i) {
|
|
|
32143
32143
|
})
|
|
32144
32144
|
]),
|
|
32145
32145
|
_: 1
|
|
32146
|
-
}, 8, ["loading"])) :
|
|
32146
|
+
}, 8, ["loading"])) : ne("", !0)
|
|
32147
32147
|
]),
|
|
32148
32148
|
_: 1
|
|
32149
32149
|
}),
|
|
32150
|
-
e.isSlotAction ? (V(), J("br", NW)) :
|
|
32150
|
+
e.isSlotAction ? (V(), J("br", NW)) : ne("", !0),
|
|
32151
32151
|
e.isSlotAction ? (V(), K(d, {
|
|
32152
32152
|
key: 1,
|
|
32153
32153
|
size: 15,
|
|
@@ -32158,7 +32158,7 @@ function IW(e, t, r, n, a, i) {
|
|
|
32158
32158
|
sr(e.$slots, "action")
|
|
32159
32159
|
]),
|
|
32160
32160
|
_: 3
|
|
32161
|
-
})) :
|
|
32161
|
+
})) : ne("", !0)
|
|
32162
32162
|
]),
|
|
32163
32163
|
default: k(() => [
|
|
32164
32164
|
E(o, {
|
|
@@ -32228,7 +32228,7 @@ function IW(e, t, r, n, a, i) {
|
|
|
32228
32228
|
_e(" " + ue(e.$t("Common.search")), 1)
|
|
32229
32229
|
]),
|
|
32230
32230
|
_: 1
|
|
32231
|
-
})) :
|
|
32231
|
+
})) : ne("", !0),
|
|
32232
32232
|
e.resetButton ? (V(), K(g, {
|
|
32233
32233
|
key: 1,
|
|
32234
32234
|
trigger: "hover"
|
|
@@ -32253,7 +32253,7 @@ function IW(e, t, r, n, a, i) {
|
|
|
32253
32253
|
_e(" " + ue(e.$t("Common.reset")), 1)
|
|
32254
32254
|
]),
|
|
32255
32255
|
_: 1
|
|
32256
|
-
})) :
|
|
32256
|
+
})) : ne("", !0)
|
|
32257
32257
|
]),
|
|
32258
32258
|
_: 1
|
|
32259
32259
|
})
|
|
@@ -32681,7 +32681,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32681
32681
|
_e(" " + ue(e.$t("Common.add")), 1)
|
|
32682
32682
|
]),
|
|
32683
32683
|
_: 1
|
|
32684
|
-
})) :
|
|
32684
|
+
})) : ne("", !0),
|
|
32685
32685
|
e.importer ? (V(), K(u, {
|
|
32686
32686
|
key: 1,
|
|
32687
32687
|
trigger: "hover"
|
|
@@ -32705,7 +32705,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32705
32705
|
_e(" " + ue(e.$t("Common.importer.title")), 1)
|
|
32706
32706
|
]),
|
|
32707
32707
|
_: 1
|
|
32708
|
-
})) :
|
|
32708
|
+
})) : ne("", !0),
|
|
32709
32709
|
e.exporter ? (V(), K(u, {
|
|
32710
32710
|
key: 2,
|
|
32711
32711
|
trigger: "hover"
|
|
@@ -32739,7 +32739,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32739
32739
|
_e(" " + ue(e.$t("Common.export")), 1)
|
|
32740
32740
|
]),
|
|
32741
32741
|
_: 1
|
|
32742
|
-
})) :
|
|
32742
|
+
})) : ne("", !0),
|
|
32743
32743
|
e.filterButton ? (V(), K(u, {
|
|
32744
32744
|
key: 3,
|
|
32745
32745
|
trigger: "hover"
|
|
@@ -32776,7 +32776,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32776
32776
|
onEnd: e.handleColumnChange
|
|
32777
32777
|
}), {
|
|
32778
32778
|
item: k(({ element: b }) => [
|
|
32779
|
-
b.hide ?
|
|
32779
|
+
b.hide ? ne("", !0) : (V(), J("div", {
|
|
32780
32780
|
key: b.key,
|
|
32781
32781
|
class: "oc-table-sort"
|
|
32782
32782
|
}, [
|
|
@@ -32818,7 +32818,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32818
32818
|
}, 1024)
|
|
32819
32819
|
]),
|
|
32820
32820
|
_: 2
|
|
32821
|
-
}, 1032, ["onClick"])) :
|
|
32821
|
+
}, 1032, ["onClick"])) : ne("", !0),
|
|
32822
32822
|
E(l, {
|
|
32823
32823
|
type: "tertiary",
|
|
32824
32824
|
onClick: (T) => e.showChange(b),
|
|
@@ -32846,7 +32846,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32846
32846
|
_e(" " + ue(e.$t("Common.filter")), 1)
|
|
32847
32847
|
]),
|
|
32848
32848
|
_: 1
|
|
32849
|
-
})) :
|
|
32849
|
+
})) : ne("", !0),
|
|
32850
32850
|
sr(e.$slots, "action")
|
|
32851
32851
|
]),
|
|
32852
32852
|
_: 2
|
|
@@ -32881,7 +32881,7 @@ function FW(e, t, r, n, a, i) {
|
|
|
32881
32881
|
show: e.showImporter,
|
|
32882
32882
|
"onUpdate:show": t[2] || (t[2] = (b) => e.showImporter = b),
|
|
32883
32883
|
data: e.importer
|
|
32884
|
-
}, null, 8, ["show", "data"])) :
|
|
32884
|
+
}, null, 8, ["show", "data"])) : ne("", !0)
|
|
32885
32885
|
], 64);
|
|
32886
32886
|
}
|
|
32887
32887
|
const zW = /* @__PURE__ */ fe(BW, [["render", FW]]), v_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -32933,7 +32933,7 @@ const zW = /* @__PURE__ */ fe(BW, [["render", FW]]), v_ = /* @__PURE__ */ Object
|
|
|
32933
32933
|
OcSearchBar: YC,
|
|
32934
32934
|
OcSkeleton: $W,
|
|
32935
32935
|
OcTable: zW,
|
|
32936
|
-
commonStore:
|
|
32936
|
+
commonStore: re,
|
|
32937
32937
|
fnClearUser: hp,
|
|
32938
32938
|
fnDownload: $C,
|
|
32939
32939
|
fnGetUser: cp,
|
|
@@ -32976,7 +32976,7 @@ function gY() {
|
|
|
32976
32976
|
dp = 3840, vp = 2160, window.removeEventListener("resize", e);
|
|
32977
32977
|
};
|
|
32978
32978
|
}
|
|
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.
|
|
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.9";
|
|
32980
32980
|
let Fo = "";
|
|
32981
32981
|
const Ee = navigator.userAgent.toLocaleUpperCase(), WW = () => {
|
|
32982
32982
|
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/;
|
|
@@ -33098,7 +33098,7 @@ const vu = (e, t, r) => {
|
|
|
33098
33098
|
title: document.title,
|
|
33099
33099
|
browser: YW(),
|
|
33100
33100
|
platform: WW(),
|
|
33101
|
-
system:
|
|
33101
|
+
system: re.platformName,
|
|
33102
33102
|
message: e === 1 || e === 2 ? r.message : r,
|
|
33103
33103
|
// routerHistory: [], // historyStore.history
|
|
33104
33104
|
user: {
|
|
@@ -33229,7 +33229,7 @@ export {
|
|
|
33229
33229
|
$W as OcSkeleton,
|
|
33230
33230
|
zW as OcTable,
|
|
33231
33231
|
Bt as POST,
|
|
33232
|
-
|
|
33232
|
+
re as commonStore,
|
|
33233
33233
|
JW as create,
|
|
33234
33234
|
rU as darkTheme,
|
|
33235
33235
|
QW as default,
|