@dovetail-v2/refine 0.0.57 → 0.0.58

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-ced408be.js";
1
+ import { j as jsxRuntimeExports } from "./index-4c3f2051.js";
2
2
  import * as monaco from "monaco-editor";
3
3
  import { useRef, useEffect } from "react";
4
4
  import "i18next";
@@ -18359,6 +18359,7 @@ const PageShow = (props) => {
18359
18359
  errorNotification: () => {
18360
18360
  var _a2;
18361
18361
  return {
18362
+ key: "resource-non-exist",
18362
18363
  message: i18n2.t("dovetail.fail_get_detail", {
18363
18364
  resource: resource == null ? void 0 : resource.name,
18364
18365
  name: (_a2 = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a2.id,
@@ -22941,7 +22942,7 @@ const Separator = () => {
22941
22942
  });
22942
22943
  };
22943
22944
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
22944
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-06894d28.js"));
22945
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-b0e24fc9.js"));
22945
22946
  const YamlEditorComponent = forwardRef(
22946
22947
  function YamlEditorComponent2(props, ref) {
22947
22948
  const {
@@ -24678,6 +24679,9 @@ const Dovetail = (props) => {
24678
24679
  const notificationProvider = useMemo(() => {
24679
24680
  const provider = {
24680
24681
  open: ({ message: message2, key: key2, type: type2 }) => {
24682
+ const EXCLUDE = ["getList", "getOne", "getMany"];
24683
+ if (EXCLUDE.some((excludeKey) => key2 == null ? void 0 : key2.includes(excludeKey)))
24684
+ return;
24681
24685
  msg.open({
24682
24686
  content: message2,
24683
24687
  key: key2,
package/dist/refine.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b7, bL, A, aA, aC, ak, bn, aK, H, bB, bp, au, x, C, h, bP, an, aO, Z, bR, a1, a8, b_, ac, bq, bo, c1, aq, aU, v, ai, aZ, c0, bM, b1, D, aH, b3, b$, aI, ay, ba, bO, bQ, bz, al, a2, q, p, bS, I, aR, ax, s, br, bU, ap, aQ, ad, ae, U, af, aB, aj, a_, b2, V, M, bA, b6, N, J, c, az, Q, b9, aW, aV, bT, bl, f, bt, X, P, aM, t, _, bk, aJ, bY, bX, aF, aS, o, ao, aL, w, aT, aG, c5, bN, b4, bb, bc, am, R, a0, a6, a5, b5, a3, bZ, a4, a9, g, bG, bJ, bF, bE, bH, bI, bC, bu, bx, by, bw, bv, bs, bd, ar, aP, ag, l, bg, k, aD, c4, n, bh, aE, m, aw, aN, i, c3, at, av, aY, aX, as, S, b0, a$, c2, bD, bm, bi, bj, Y, bW, $, W, bV, a7, ab, aa, e, bK, ah, be, y, K, d, T, O, L, r, b, B, z, E, F, u, b8, G, bf, a } from "./index-ced408be.js";
1
+ import { b7, bL, A, aA, aC, ak, bn, aK, H, bB, bp, au, x, C, h, bP, an, aO, Z, bR, a1, a8, b_, ac, bq, bo, c1, aq, aU, v, ai, aZ, c0, bM, b1, D, aH, b3, b$, aI, ay, ba, bO, bQ, bz, al, a2, q, p, bS, I, aR, ax, s, br, bU, ap, aQ, ad, ae, U, af, aB, aj, a_, b2, V, M, bA, b6, N, J, c, az, Q, b9, aW, aV, bT, bl, f, bt, X, P, aM, t, _, bk, aJ, bY, bX, aF, aS, o, ao, aL, w, aT, aG, c5, bN, b4, bb, bc, am, R, a0, a6, a5, b5, a3, bZ, a4, a9, g, bG, bJ, bF, bE, bH, bI, bC, bu, bx, by, bw, bv, bs, bd, ar, aP, ag, l, bg, k, aD, c4, n, bh, aE, m, aw, aN, i, c3, at, av, aY, aX, as, S, b0, a$, c2, bD, bm, bi, bj, Y, bW, $, W, bV, a7, ab, aa, e, bK, ah, be, y, K, d, T, O, L, r, b, B, z, E, F, u, b8, G, bf, a } from "./index-4c3f2051.js";
2
2
  import "@cloudtower/eagle";
3
3
  import "@refinedev/core";
4
4
  import "@cloudtower/icons-react";
@@ -18365,6 +18365,7 @@ var __publicField = (obj, key, value) => {
18365
18365
  errorNotification: () => {
18366
18366
  var _a2;
18367
18367
  return {
18368
+ key: "resource-non-exist",
18368
18369
  message: i18n2.t("dovetail.fail_get_detail", {
18369
18370
  resource: resource == null ? void 0 : resource.name,
18370
18371
  name: (_a2 = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a2.id,
@@ -24684,6 +24685,9 @@ var __publicField = (obj, key, value) => {
24684
24685
  const notificationProvider = React.useMemo(() => {
24685
24686
  const provider = {
24686
24687
  open: ({ message: message2, key: key2, type: type2 }) => {
24688
+ const EXCLUDE = ["getList", "getOne", "getMany"];
24689
+ if (EXCLUDE.some((excludeKey) => key2 == null ? void 0 : key2.includes(excludeKey)))
24690
+ return;
24687
24691
  msg.open({
24688
24692
  content: message2,
24689
24693
  key: key2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",