@dovetail-v2/refine 0.1.20 → 0.1.21
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/dist/{MonacoYamlDiffEditor-6e074a11.js → MonacoYamlDiffEditor-fc0c461d.js} +1 -1
- package/dist/{index-c144b223.js → index-66d9e2de.js} +25 -25
- package/dist/refine.js +1 -1
- package/dist/refine.umd.cjs +24 -24
- package/lib/i18n.d.ts +6 -6
- package/lib/locales/en-US/index.d.ts +3 -3
- package/lib/locales/zh-CN/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1231,10 +1231,10 @@ const name_format_rule_2$1 = "Must start and end with a letter or number";
|
|
|
1231
1231
|
const name_format_rule_3$1 = "No more than 63 characters";
|
|
1232
1232
|
const taint_effect_NoSchedule_tooltip_1$1 = "Pods running on the node will not be evicted.";
|
|
1233
1233
|
const taint_effect_NoSchedule_tooltip_2$1 = "New pods will not be scheduled onto tainted nodes unless there is a matching tolerance.";
|
|
1234
|
-
const
|
|
1235
|
-
const
|
|
1236
|
-
const
|
|
1237
|
-
const
|
|
1234
|
+
const taint_effect_NoExecute_tooltip_1$1 = "Pods without taint tolerance will be immediately evicted.";
|
|
1235
|
+
const taint_effect_NoExecute_tooltip_2$1 = "Pods with tolerance but no duration set will continue running.";
|
|
1236
|
+
const taint_effect_NoExecute_tooltip_3$1 = "Pods with tolerance and a duration set will run for the specified time and then be evicted.";
|
|
1237
|
+
const taint_effect_PreferNoSchedule_tooltip$1 = "The control plane will try to avoid scheduling pods without taint tolerance to the node, but full avoidance isn't guaranteed.";
|
|
1238
1238
|
const dovetail$1 = {
|
|
1239
1239
|
copy: copy$2,
|
|
1240
1240
|
reset_arguments: reset_arguments$1,
|
|
@@ -1469,10 +1469,10 @@ const dovetail$1 = {
|
|
|
1469
1469
|
name_format_rule_3: name_format_rule_3$1,
|
|
1470
1470
|
taint_effect_NoSchedule_tooltip_1: taint_effect_NoSchedule_tooltip_1$1,
|
|
1471
1471
|
taint_effect_NoSchedule_tooltip_2: taint_effect_NoSchedule_tooltip_2$1,
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1472
|
+
taint_effect_NoExecute_tooltip_1: taint_effect_NoExecute_tooltip_1$1,
|
|
1473
|
+
taint_effect_NoExecute_tooltip_2: taint_effect_NoExecute_tooltip_2$1,
|
|
1474
|
+
taint_effect_NoExecute_tooltip_3: taint_effect_NoExecute_tooltip_3$1,
|
|
1475
|
+
taint_effect_PreferNoSchedule_tooltip: taint_effect_PreferNoSchedule_tooltip$1
|
|
1476
1476
|
};
|
|
1477
1477
|
const EN = {
|
|
1478
1478
|
dovetail: dovetail$1
|
|
@@ -1705,10 +1705,10 @@ const name_format_rule_3 = "不超过 63 个字符";
|
|
|
1705
1705
|
const no_limitation_rule = "不限制";
|
|
1706
1706
|
const taint_effect_NoSchedule_tooltip_1 = "正在节点上运行的 Pod 不会被驱逐。";
|
|
1707
1707
|
const taint_effect_NoSchedule_tooltip_2 = "新 Pod 不会调度到污点节点,除非有匹配的容忍度。";
|
|
1708
|
-
const
|
|
1709
|
-
const
|
|
1710
|
-
const
|
|
1711
|
-
const
|
|
1708
|
+
const taint_effect_NoExecute_tooltip_1 = "不容忍污点的 Pod 将被立即驱逐。";
|
|
1709
|
+
const taint_effect_NoExecute_tooltip_2 = "容忍污点但未设置容忍时长的 Pod 将继续运行。";
|
|
1710
|
+
const taint_effect_NoExecute_tooltip_3 = "容忍污点并设置了容忍时长的 Pod 将按指定时间运行,时间结束后被驱逐。";
|
|
1711
|
+
const taint_effect_PreferNoSchedule_tooltip = "控制平面将尝试避免将不能容忍污点的 Pod 调度到节点上,但无法保证完全避免。";
|
|
1712
1712
|
const confirm$1 = "确认";
|
|
1713
1713
|
const dovetail = {
|
|
1714
1714
|
copy: copy$1,
|
|
@@ -1942,10 +1942,10 @@ const dovetail = {
|
|
|
1942
1942
|
no_limitation_rule,
|
|
1943
1943
|
taint_effect_NoSchedule_tooltip_1,
|
|
1944
1944
|
taint_effect_NoSchedule_tooltip_2,
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
taint_effect_PreferNoSchedule_tooltip_3,
|
|
1945
|
+
taint_effect_NoExecute_tooltip_1,
|
|
1946
|
+
taint_effect_NoExecute_tooltip_2,
|
|
1948
1947
|
taint_effect_NoExecute_tooltip_3,
|
|
1948
|
+
taint_effect_PreferNoSchedule_tooltip,
|
|
1949
1949
|
confirm: confirm$1
|
|
1950
1950
|
};
|
|
1951
1951
|
const ZH = {
|
|
@@ -12092,7 +12092,7 @@ const StateTag = (props) => {
|
|
|
12092
12092
|
[ResourceState.TERMINATING]: "loading",
|
|
12093
12093
|
[ResourceState.PENDING]: "warning",
|
|
12094
12094
|
[ResourceState.WAITING]: "warning",
|
|
12095
|
-
[ResourceState.TERMINATED]: "
|
|
12095
|
+
[ResourceState.TERMINATED]: "gray",
|
|
12096
12096
|
[ResourceState.STOPPED]: "gray",
|
|
12097
12097
|
[ResourceState.AVAILABLE]: "blue",
|
|
12098
12098
|
[ResourceState.BOUND]: "green",
|
|
@@ -12711,6 +12711,13 @@ const TaintEffectTooltip = ({
|
|
|
12711
12711
|
t: t2
|
|
12712
12712
|
} = useTranslation();
|
|
12713
12713
|
const TaintEffectTooltipTextConfig = {
|
|
12714
|
+
[
|
|
12715
|
+
"NoExecute"
|
|
12716
|
+
/* NoExecute */
|
|
12717
|
+
]: {
|
|
12718
|
+
title: "NoExecute",
|
|
12719
|
+
tooltips: [t2("dovetail.taint_effect_NoExecute_tooltip_1"), t2("dovetail.taint_effect_NoExecute_tooltip_2"), t2("dovetail.taint_effect_NoExecute_tooltip_3")]
|
|
12720
|
+
},
|
|
12714
12721
|
[
|
|
12715
12722
|
"NoSchedule"
|
|
12716
12723
|
/* NoSchedule */
|
|
@@ -12723,14 +12730,7 @@ const TaintEffectTooltip = ({
|
|
|
12723
12730
|
/* PreferNoSchedule */
|
|
12724
12731
|
]: {
|
|
12725
12732
|
title: "PreferNoSchedule",
|
|
12726
|
-
tooltips: [t2("dovetail.
|
|
12727
|
-
},
|
|
12728
|
-
[
|
|
12729
|
-
"NoExecute"
|
|
12730
|
-
/* NoExecute */
|
|
12731
|
-
]: {
|
|
12732
|
-
title: "NoExecute",
|
|
12733
|
-
tooltips: [t2("dovetail.taint_effect_NoExecute_tooltip_3")]
|
|
12733
|
+
tooltips: [t2("dovetail.taint_effect_PreferNoSchedule_tooltip")]
|
|
12734
12734
|
}
|
|
12735
12735
|
};
|
|
12736
12736
|
const config = TaintEffectTooltipTextConfig[effect2];
|
|
@@ -38591,7 +38591,7 @@ const Separator = () => {
|
|
|
38591
38591
|
});
|
|
38592
38592
|
};
|
|
38593
38593
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
38594
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
38594
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-fc0c461d.js"));
|
|
38595
38595
|
const YamlEditorComponent = forwardRef(
|
|
38596
38596
|
function YamlEditorComponent2(props, ref) {
|
|
38597
38597
|
const {
|
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN, cC, A, aW, aY, aF, ca, bk, a1, co, cc, aQ, T, C, i, cG, aI, bp, ac, cI, ai, ap, cR, ax, cd, cb, cU, aM, bw, w, aD, bD, cT, cD, bG, D, b1, as, bJ, ar, at, a0, c9, c8, cS, bi, aU, ad, bQ, cF, cH, cm, aG, aj, s, q, cJ, I, bt, aT, t, M, be, bg, ce, cL, aL, bs, aq, ay, az, a8, aA, aX, aE, bE, bH, a9, d2, cn, cx, bM, N, a2, e, aV, a6, bP, by, bx, cK, b$, cZ, g, cY, aJ, bq, cg, L, ba, bb, bo, H, bc, J, bd, B, b5, cA, z, b4, G, b8, E, b6, F, b7, K, c0, b9, cz, aa, d0, c$, P, bm, v, ae, ah, b_, bj, cP, cO, a$, bu, c6, c5, p, aK, bl, x, bv, b0, d1, y, cq, cE, bK, bR, bS, d4, aH, R, ag, an, am, bL, ak, cQ, c2, al, cB, c7, bh, bA, au, h, Q, O, bf, ct, cw, cs, cr, cu, cv, cp, ch, ck, cl, cj, ci, cf, cy, bT, aN, br, aB, m, bW, l, aZ, cX, o, bX, a_, n, aS, bn, k, cW, aP, aR, c4, bC, bB, c3, aO, S, bF, cV, c_, b2, b3, bz, bI, c1, bY, bZ, ab, $, cN, af, W, cM, ao, aw, av, f, aC, bU, U, a3, d, d7, d6, d9, d3, a7, da, d5, d8, a5, a4, r, a, c, X, V, Y, Z, u, bO, _, bV, b } from "./index-
|
|
1
|
+
import { bN, cC, A, aW, aY, aF, ca, bk, a1, co, cc, aQ, T, C, i, cG, aI, bp, ac, cI, ai, ap, cR, ax, cd, cb, cU, aM, bw, w, aD, bD, cT, cD, bG, D, b1, as, bJ, ar, at, a0, c9, c8, cS, bi, aU, ad, bQ, cF, cH, cm, aG, aj, s, q, cJ, I, bt, aT, t, M, be, bg, ce, cL, aL, bs, aq, ay, az, a8, aA, aX, aE, bE, bH, a9, d2, cn, cx, bM, N, a2, e, aV, a6, bP, by, bx, cK, b$, cZ, g, cY, aJ, bq, cg, L, ba, bb, bo, H, bc, J, bd, B, b5, cA, z, b4, G, b8, E, b6, F, b7, K, c0, b9, cz, aa, d0, c$, P, bm, v, ae, ah, b_, bj, cP, cO, a$, bu, c6, c5, p, aK, bl, x, bv, b0, d1, y, cq, cE, bK, bR, bS, d4, aH, R, ag, an, am, bL, ak, cQ, c2, al, cB, c7, bh, bA, au, h, Q, O, bf, ct, cw, cs, cr, cu, cv, cp, ch, ck, cl, cj, ci, cf, cy, bT, aN, br, aB, m, bW, l, aZ, cX, o, bX, a_, n, aS, bn, k, cW, aP, aR, c4, bC, bB, c3, aO, S, bF, cV, c_, b2, b3, bz, bI, c1, bY, bZ, ab, $, cN, af, W, cM, ao, aw, av, f, aC, bU, U, a3, d, d7, d6, d9, d3, a7, da, d5, d8, a5, a4, r, a, c, X, V, Y, Z, u, bO, _, bV, b } from "./index-66d9e2de.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "react";
|
package/dist/refine.umd.cjs
CHANGED
|
@@ -1237,10 +1237,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1237
1237
|
const name_format_rule_3$1 = "No more than 63 characters";
|
|
1238
1238
|
const taint_effect_NoSchedule_tooltip_1$1 = "Pods running on the node will not be evicted.";
|
|
1239
1239
|
const taint_effect_NoSchedule_tooltip_2$1 = "New pods will not be scheduled onto tainted nodes unless there is a matching tolerance.";
|
|
1240
|
-
const
|
|
1241
|
-
const
|
|
1242
|
-
const
|
|
1243
|
-
const
|
|
1240
|
+
const taint_effect_NoExecute_tooltip_1$1 = "Pods without taint tolerance will be immediately evicted.";
|
|
1241
|
+
const taint_effect_NoExecute_tooltip_2$1 = "Pods with tolerance but no duration set will continue running.";
|
|
1242
|
+
const taint_effect_NoExecute_tooltip_3$1 = "Pods with tolerance and a duration set will run for the specified time and then be evicted.";
|
|
1243
|
+
const taint_effect_PreferNoSchedule_tooltip$1 = "The control plane will try to avoid scheduling pods without taint tolerance to the node, but full avoidance isn't guaranteed.";
|
|
1244
1244
|
const dovetail$1 = {
|
|
1245
1245
|
copy: copy$2,
|
|
1246
1246
|
reset_arguments: reset_arguments$1,
|
|
@@ -1475,10 +1475,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1475
1475
|
name_format_rule_3: name_format_rule_3$1,
|
|
1476
1476
|
taint_effect_NoSchedule_tooltip_1: taint_effect_NoSchedule_tooltip_1$1,
|
|
1477
1477
|
taint_effect_NoSchedule_tooltip_2: taint_effect_NoSchedule_tooltip_2$1,
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1478
|
+
taint_effect_NoExecute_tooltip_1: taint_effect_NoExecute_tooltip_1$1,
|
|
1479
|
+
taint_effect_NoExecute_tooltip_2: taint_effect_NoExecute_tooltip_2$1,
|
|
1480
|
+
taint_effect_NoExecute_tooltip_3: taint_effect_NoExecute_tooltip_3$1,
|
|
1481
|
+
taint_effect_PreferNoSchedule_tooltip: taint_effect_PreferNoSchedule_tooltip$1
|
|
1482
1482
|
};
|
|
1483
1483
|
const EN = {
|
|
1484
1484
|
dovetail: dovetail$1
|
|
@@ -1711,10 +1711,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1711
1711
|
const no_limitation_rule = "不限制";
|
|
1712
1712
|
const taint_effect_NoSchedule_tooltip_1 = "正在节点上运行的 Pod 不会被驱逐。";
|
|
1713
1713
|
const taint_effect_NoSchedule_tooltip_2 = "新 Pod 不会调度到污点节点,除非有匹配的容忍度。";
|
|
1714
|
-
const
|
|
1715
|
-
const
|
|
1716
|
-
const
|
|
1717
|
-
const
|
|
1714
|
+
const taint_effect_NoExecute_tooltip_1 = "不容忍污点的 Pod 将被立即驱逐。";
|
|
1715
|
+
const taint_effect_NoExecute_tooltip_2 = "容忍污点但未设置容忍时长的 Pod 将继续运行。";
|
|
1716
|
+
const taint_effect_NoExecute_tooltip_3 = "容忍污点并设置了容忍时长的 Pod 将按指定时间运行,时间结束后被驱逐。";
|
|
1717
|
+
const taint_effect_PreferNoSchedule_tooltip = "控制平面将尝试避免将不能容忍污点的 Pod 调度到节点上,但无法保证完全避免。";
|
|
1718
1718
|
const confirm$1 = "确认";
|
|
1719
1719
|
const dovetail = {
|
|
1720
1720
|
copy: copy$1,
|
|
@@ -1948,10 +1948,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1948
1948
|
no_limitation_rule,
|
|
1949
1949
|
taint_effect_NoSchedule_tooltip_1,
|
|
1950
1950
|
taint_effect_NoSchedule_tooltip_2,
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
taint_effect_PreferNoSchedule_tooltip_3,
|
|
1951
|
+
taint_effect_NoExecute_tooltip_1,
|
|
1952
|
+
taint_effect_NoExecute_tooltip_2,
|
|
1954
1953
|
taint_effect_NoExecute_tooltip_3,
|
|
1954
|
+
taint_effect_PreferNoSchedule_tooltip,
|
|
1955
1955
|
confirm: confirm$1
|
|
1956
1956
|
};
|
|
1957
1957
|
const ZH = {
|
|
@@ -12098,7 +12098,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12098
12098
|
[ResourceState.TERMINATING]: "loading",
|
|
12099
12099
|
[ResourceState.PENDING]: "warning",
|
|
12100
12100
|
[ResourceState.WAITING]: "warning",
|
|
12101
|
-
[ResourceState.TERMINATED]: "
|
|
12101
|
+
[ResourceState.TERMINATED]: "gray",
|
|
12102
12102
|
[ResourceState.STOPPED]: "gray",
|
|
12103
12103
|
[ResourceState.AVAILABLE]: "blue",
|
|
12104
12104
|
[ResourceState.BOUND]: "green",
|
|
@@ -12717,6 +12717,13 @@ var __publicField = (obj, key, value) => {
|
|
|
12717
12717
|
t: t2
|
|
12718
12718
|
} = useTranslation();
|
|
12719
12719
|
const TaintEffectTooltipTextConfig = {
|
|
12720
|
+
[
|
|
12721
|
+
"NoExecute"
|
|
12722
|
+
/* NoExecute */
|
|
12723
|
+
]: {
|
|
12724
|
+
title: "NoExecute",
|
|
12725
|
+
tooltips: [t2("dovetail.taint_effect_NoExecute_tooltip_1"), t2("dovetail.taint_effect_NoExecute_tooltip_2"), t2("dovetail.taint_effect_NoExecute_tooltip_3")]
|
|
12726
|
+
},
|
|
12720
12727
|
[
|
|
12721
12728
|
"NoSchedule"
|
|
12722
12729
|
/* NoSchedule */
|
|
@@ -12729,14 +12736,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12729
12736
|
/* PreferNoSchedule */
|
|
12730
12737
|
]: {
|
|
12731
12738
|
title: "PreferNoSchedule",
|
|
12732
|
-
tooltips: [t2("dovetail.
|
|
12733
|
-
},
|
|
12734
|
-
[
|
|
12735
|
-
"NoExecute"
|
|
12736
|
-
/* NoExecute */
|
|
12737
|
-
]: {
|
|
12738
|
-
title: "NoExecute",
|
|
12739
|
-
tooltips: [t2("dovetail.taint_effect_NoExecute_tooltip_3")]
|
|
12739
|
+
tooltips: [t2("dovetail.taint_effect_PreferNoSchedule_tooltip")]
|
|
12740
12740
|
}
|
|
12741
12741
|
};
|
|
12742
12742
|
const config = TaintEffectTooltipTextConfig[effect2];
|
package/lib/i18n.d.ts
CHANGED
|
@@ -236,10 +236,10 @@ export declare const resources: {
|
|
|
236
236
|
name_format_rule_3: string;
|
|
237
237
|
taint_effect_NoSchedule_tooltip_1: string;
|
|
238
238
|
taint_effect_NoSchedule_tooltip_2: string;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
taint_effect_PreferNoSchedule_tooltip_3: string;
|
|
239
|
+
taint_effect_NoExecute_tooltip_1: string;
|
|
240
|
+
taint_effect_NoExecute_tooltip_2: string;
|
|
242
241
|
taint_effect_NoExecute_tooltip_3: string;
|
|
242
|
+
taint_effect_PreferNoSchedule_tooltip: string;
|
|
243
243
|
};
|
|
244
244
|
};
|
|
245
245
|
'zh-CN': {
|
|
@@ -475,10 +475,10 @@ export declare const resources: {
|
|
|
475
475
|
no_limitation_rule: string;
|
|
476
476
|
taint_effect_NoSchedule_tooltip_1: string;
|
|
477
477
|
taint_effect_NoSchedule_tooltip_2: string;
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
taint_effect_PreferNoSchedule_tooltip_3: string;
|
|
478
|
+
taint_effect_NoExecute_tooltip_1: string;
|
|
479
|
+
taint_effect_NoExecute_tooltip_2: string;
|
|
481
480
|
taint_effect_NoExecute_tooltip_3: string;
|
|
481
|
+
taint_effect_PreferNoSchedule_tooltip: string;
|
|
482
482
|
confirm: string;
|
|
483
483
|
};
|
|
484
484
|
};
|
|
@@ -233,10 +233,10 @@ declare const _default: {
|
|
|
233
233
|
name_format_rule_3: string;
|
|
234
234
|
taint_effect_NoSchedule_tooltip_1: string;
|
|
235
235
|
taint_effect_NoSchedule_tooltip_2: string;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
taint_effect_PreferNoSchedule_tooltip_3: string;
|
|
236
|
+
taint_effect_NoExecute_tooltip_1: string;
|
|
237
|
+
taint_effect_NoExecute_tooltip_2: string;
|
|
239
238
|
taint_effect_NoExecute_tooltip_3: string;
|
|
239
|
+
taint_effect_PreferNoSchedule_tooltip: string;
|
|
240
240
|
};
|
|
241
241
|
};
|
|
242
242
|
export default _default;
|
|
@@ -231,10 +231,10 @@ declare const _default: {
|
|
|
231
231
|
no_limitation_rule: string;
|
|
232
232
|
taint_effect_NoSchedule_tooltip_1: string;
|
|
233
233
|
taint_effect_NoSchedule_tooltip_2: string;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
taint_effect_PreferNoSchedule_tooltip_3: string;
|
|
234
|
+
taint_effect_NoExecute_tooltip_1: string;
|
|
235
|
+
taint_effect_NoExecute_tooltip_2: string;
|
|
237
236
|
taint_effect_NoExecute_tooltip_3: string;
|
|
237
|
+
taint_effect_PreferNoSchedule_tooltip: string;
|
|
238
238
|
confirm: string;
|
|
239
239
|
};
|
|
240
240
|
};
|