@dovetail-v2/refine 0.1.14-alpha.4 → 0.1.14-alpha.5

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.
@@ -1,4 +1,4 @@
1
- import { j as jsxRuntimeExports } from "./index-45c3dd0a.js";
1
+ import { j as jsxRuntimeExports } from "./index-ee3bfb45.js";
2
2
  import * as monaco from "monaco-editor";
3
3
  import { useRef, useEffect } from "react";
4
4
  import "i18next";
@@ -1472,7 +1472,7 @@ const password = "密码";
1472
1472
  const username = "用户名";
1473
1473
  const host = "主机";
1474
1474
  const container_num = "容器数量";
1475
- const edit_resource_success = "编辑{{resource}} {{name}} 成功";
1475
+ const edit_resource_success = "编辑{{kind}} {{name}} 成功";
1476
1476
  const redeploy_success_toast = "重新部署 {{kind}} {{name}} 成功";
1477
1477
  const redeploy_failed_toast = "重新部署 {{kind}} {{name}} 失败";
1478
1478
  const pause_success_toast = "暂停成功";
@@ -38345,9 +38345,8 @@ const useRefineForm = (props) => {
38345
38345
  message: i18n2.t(
38346
38346
  id ? "dovetail.edit_resource_success" : "dovetail.create_success_toast",
38347
38347
  {
38348
- kind: formValue.kind,
38348
+ kind: isFirstLetterEnglish(resource) ? ` ${resource}` : resource,
38349
38349
  name: formValue.metadata.name,
38350
- resource: isFirstLetterEnglish(resource) ? ` ${resource}` : resource,
38351
38350
  interpolation: { escapeValue: false }
38352
38351
  }
38353
38352
  ).trim(),
@@ -38386,7 +38385,7 @@ const Separator = () => {
38386
38385
  });
38387
38386
  };
38388
38387
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
38389
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-2636b66c.js"));
38388
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-d3889aba.js"));
38390
38389
  const YamlEditorComponent = forwardRef(
38391
38390
  function YamlEditorComponent2(props, ref) {
38392
38391
  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-45c3dd0a.js";
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-ee3bfb45.js";
2
2
  import "@cloudtower/eagle";
3
3
  import "@refinedev/core";
4
4
  import "react";
@@ -1478,7 +1478,7 @@ var __publicField = (obj, key, value) => {
1478
1478
  const username = "用户名";
1479
1479
  const host = "主机";
1480
1480
  const container_num = "容器数量";
1481
- const edit_resource_success = "编辑{{resource}} {{name}} 成功";
1481
+ const edit_resource_success = "编辑{{kind}} {{name}} 成功";
1482
1482
  const redeploy_success_toast = "重新部署 {{kind}} {{name}} 成功";
1483
1483
  const redeploy_failed_toast = "重新部署 {{kind}} {{name}} 失败";
1484
1484
  const pause_success_toast = "暂停成功";
@@ -38351,9 +38351,8 @@ WARNING: This link could potentially be dangerous`)) {
38351
38351
  message: i18n2.t(
38352
38352
  id ? "dovetail.edit_resource_success" : "dovetail.create_success_toast",
38353
38353
  {
38354
- kind: formValue.kind,
38354
+ kind: isFirstLetterEnglish(resource) ? ` ${resource}` : resource,
38355
38355
  name: formValue.metadata.name,
38356
- resource: isFirstLetterEnglish(resource) ? ` ${resource}` : resource,
38357
38356
  interpolation: { escapeValue: false }
38358
38357
  }
38359
38358
  ).trim(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.1.14-alpha.4",
3
+ "version": "0.1.14-alpha.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",