@partex/one-core 2.0.62 → 2.0.63
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
|
@@ -862,7 +862,7 @@ const aD = {
|
|
|
862
862
|
"zh-CN": { ...aD },
|
|
863
863
|
"fr-FR": {}
|
|
864
864
|
}
|
|
865
|
-
}), Ut = oD, R_ = "2.0.
|
|
865
|
+
}), Ut = oD, R_ = "2.0.63", _p = {
|
|
866
866
|
Components: {
|
|
867
867
|
platformName: () => `${Ut.global.t("Platform.components")} v${R_}`,
|
|
868
868
|
platformType: "T0",
|
|
@@ -962,7 +962,7 @@ const hs = (e, t) => ge(
|
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
trigger: () => e,
|
|
965
|
-
default: () => t
|
|
965
|
+
default: () => typeof t == "function" ? t() : t
|
|
966
966
|
}
|
|
967
967
|
), Fr = (e, t = "default", r, n, a) => {
|
|
968
968
|
const i = {
|
|
@@ -972,7 +972,7 @@ const hs = (e, t) => ge(
|
|
|
972
972
|
disabled: typeof e.disabled == "function" ? e.disabled(n, a) : e.disabled || !1,
|
|
973
973
|
loading: e.loading || !1
|
|
974
974
|
}, o = {
|
|
975
|
-
default: () => e.buttonText || null
|
|
975
|
+
default: () => typeof e.buttonText == "function" ? e.buttonText() : e.buttonText || null
|
|
976
976
|
};
|
|
977
977
|
if (!e.confirmText) {
|
|
978
978
|
if (e.onClick && typeof e.onClick == "string") {
|
|
@@ -1016,7 +1016,7 @@ const hs = (e, t) => ge(
|
|
|
1016
1016
|
}
|
|
1017
1017
|
},
|
|
1018
1018
|
{
|
|
1019
|
-
default: () => t.confirmText
|
|
1019
|
+
default: () => typeof t.confirmText == "function" ? t.confirmText() : t.confirmText
|
|
1020
1020
|
}
|
|
1021
1021
|
),
|
|
1022
1022
|
trigger: () => e
|
|
@@ -1133,7 +1133,7 @@ const hs = (e, t) => ge(
|
|
|
1133
1133
|
trigger: () => Fr(
|
|
1134
1134
|
// @ts-ignore
|
|
1135
1135
|
{
|
|
1136
|
-
buttonText: a.buttonText,
|
|
1136
|
+
buttonText: typeof a.buttonText == "function" ? a.buttonText() : a.buttonText,
|
|
1137
1137
|
disabled: typeof a.disabled == "function" ? a.disabled(t, r) : a.disabled,
|
|
1138
1138
|
loading: a.loading
|
|
1139
1139
|
},
|
|
@@ -28396,7 +28396,7 @@ const ZG = Ee({
|
|
|
28396
28396
|
},
|
|
28397
28397
|
icon: Fo,
|
|
28398
28398
|
color: "info",
|
|
28399
|
-
tooltipText: e("Common.importer.retry")
|
|
28399
|
+
tooltipText: () => e("Common.importer.retry")
|
|
28400
28400
|
}) : v.unshift({
|
|
28401
28401
|
type: "custom",
|
|
28402
28402
|
disabled: h.jobStatus !== 1,
|
|
@@ -28405,7 +28405,7 @@ const ZG = Ee({
|
|
|
28405
28405
|
},
|
|
28406
28406
|
icon: du,
|
|
28407
28407
|
color: "success",
|
|
28408
|
-
tooltipText: e("Common.importer.btnDownload")
|
|
28408
|
+
tooltipText: () => e("Common.importer.btnDownload")
|
|
28409
28409
|
}), Sa(v);
|
|
28410
28410
|
}
|
|
28411
28411
|
}
|
|
@@ -28613,8 +28613,8 @@ const QG = /* @__PURE__ */ re(ZG, [["render", JG]]), eH = Ee({
|
|
|
28613
28613
|
{
|
|
28614
28614
|
type: "custom",
|
|
28615
28615
|
color: "primary",
|
|
28616
|
-
tooltipText: e("Common.message.read"),
|
|
28617
|
-
buttonText: e("Common.message.read"),
|
|
28616
|
+
tooltipText: () => e("Common.message.read"),
|
|
28617
|
+
buttonText: () => e("Common.message.read"),
|
|
28618
28618
|
onClick: () => {
|
|
28619
28619
|
XG(h.messageId).then(() => {
|
|
28620
28620
|
d();
|
|
@@ -29436,7 +29436,7 @@ const lH = /* @__PURE__ */ re(aH, [["render", sH]]), L2 = (e) => {
|
|
|
29436
29436
|
},
|
|
29437
29437
|
icon: du,
|
|
29438
29438
|
color: "success",
|
|
29439
|
-
tooltipText: r("Common.importer.btnDownload")
|
|
29439
|
+
tooltipText: () => r("Common.importer.btnDownload")
|
|
29440
29440
|
}
|
|
29441
29441
|
]);
|
|
29442
29442
|
}
|