@dovetail-v2/refine 0.0.54 → 0.0.56

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-d2d0cacc.js";
1
+ import { j as jsxRuntimeExports } from "./index-4305985d.js";
2
2
  import * as monaco from "monaco-editor";
3
3
  import { useRef, useEffect } from "react";
4
4
  import "i18next";
@@ -1116,7 +1116,7 @@ const previous_log$1 = "Last startup logs";
1116
1116
  const auto_wrap$1 = "Auto wrap";
1117
1117
  const container_num$1 = "Containers";
1118
1118
  const edit_resource_success$1 = "{{resource}} {{name}} was edited successfully";
1119
- const redeploy_success_toast$1 = "{{kind}} was redeployed successfully";
1119
+ const redeploy_success_toast$1 = "{{kind}} {{name}} was redeployed successfully";
1120
1120
  const redeploy_failed_toast$1 = "Failed to redeploy {{kind}} {{name}}";
1121
1121
  const pause_success_toast$1 = "Successfully suspended";
1122
1122
  const pause_failed_toast$1 = "Failed to suspend";
@@ -8606,7 +8606,7 @@ var styled_default = process.env.NODE_ENV !== "production" ? new Proxy(styled, {
8606
8606
  return o(prop);
8607
8607
  }
8608
8608
  }) : styled;
8609
- const index_6dotpx = "";
8609
+ const index_cp12i5 = "";
8610
8610
  const ErrorWrapper = /* @__PURE__ */ styled_default("div")({
8611
8611
  name: "ErrorWrapper",
8612
8612
  class: "egn3dbn",
@@ -8649,11 +8649,11 @@ const WidgetErrorContent = (props) => {
8649
8649
  ]: Typo.Display.d2_bold_title
8650
8650
  };
8651
8651
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorWrapper, {
8652
- className: props.className,
8652
+ className: cx_default(props.className, type2),
8653
8653
  style: props.style,
8654
8654
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ErrorContent, {
8655
8655
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx("p", {
8656
- className: cx_default(fontMap[type2], "title", type2),
8656
+ className: cx_default(fontMap[type2], "title"),
8657
8657
  children: errorText || t2("dovetail.obtain_data_error")
8658
8658
  }), !refetch ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
8659
8659
  size: "small",
@@ -9475,7 +9475,7 @@ const SECRET_OPAQUE_INIT_VALUE = {
9475
9475
  },
9476
9476
  "type": "Opaque",
9477
9477
  "data": {
9478
- "key": window.btoa("value")
9478
+ "key": "value"
9479
9479
  }
9480
9480
  };
9481
9481
  const SECRET_IMAGE_REPO_INIT_VALUE = {
@@ -9499,8 +9499,8 @@ const SECRET_BASIC_AUTH_INIT_VALUE = {
9499
9499
  },
9500
9500
  "type": "kubernetes.io/basic-auth",
9501
9501
  "data": {
9502
- "username": window.btoa("example"),
9503
- "password": window.btoa("example")
9502
+ "username": "example",
9503
+ "password": "example"
9504
9504
  }
9505
9505
  };
9506
9506
  const SECRET_SSH_AUTH_INIT_VALUE = {
@@ -9646,17 +9646,17 @@ class JobModel extends WorkloadBaseModel {
9646
9646
  return (_a = this._rawYaml.spec) == null ? void 0 : _a.completions;
9647
9647
  }
9648
9648
  get stateDisplay() {
9649
- var _a, _b, _c, _d, _e, _f, _g, _h;
9649
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
9650
9650
  if (!((_a = this.spec) == null ? void 0 : _a.completions) && !((_b = this.status) == null ? void 0 : _b.succeeded)) {
9651
9651
  return WorkloadState.RUNNING;
9652
9652
  }
9653
- if (((_c = this.spec) == null ? void 0 : _c.completions) === ((_d = this.status) == null ? void 0 : _d.succeeded)) {
9653
+ if (((_c = this.spec) == null ? void 0 : _c.completions) === ((_d = this.status) == null ? void 0 : _d.succeeded) || ((_f = (_e = this.status) == null ? void 0 : _e.conditions) == null ? void 0 : _f.some((c2) => c2.type === "Complete" && c2.status === "True"))) {
9654
9654
  return WorkloadState.COMPLETED;
9655
9655
  }
9656
- if ((_f = (_e = this.status) == null ? void 0 : _e.conditions) == null ? void 0 : _f.some((c2) => c2.type === "Failed" && c2.status === "True")) {
9656
+ if ((_h = (_g = this.status) == null ? void 0 : _g.conditions) == null ? void 0 : _h.some((c2) => c2.type === "Failed" && c2.status === "True")) {
9657
9657
  return WorkloadState.FAILED;
9658
9658
  }
9659
- if ((_h = (_g = this.status) == null ? void 0 : _g.conditions) == null ? void 0 : _h.some((c2) => c2.type === "Suspended" && c2.status === "True")) {
9659
+ if ((_j = (_i = this.status) == null ? void 0 : _i.conditions) == null ? void 0 : _j.some((c2) => c2.type === "Suspended" && c2.status === "True")) {
9660
9660
  return WorkloadState.SUSPENDED;
9661
9661
  }
9662
9662
  return WorkloadState.RUNNING;
@@ -10049,7 +10049,7 @@ const ServiceOutClusterAccessComponent = ({
10049
10049
  service,
10050
10050
  breakLine = true
10051
10051
  }) => {
10052
- var _a, _b, _c, _d;
10052
+ var _a, _b, _c, _d, _e;
10053
10053
  const {
10054
10054
  i18n: i18n2
10055
10055
  } = useTranslation();
@@ -10058,10 +10058,14 @@ const ServiceOutClusterAccessComponent = ({
10058
10058
  let content = "-";
10059
10059
  switch (spec.type) {
10060
10060
  case ServiceTypeEnum.NodePort:
10061
- content = (_a = spec.ports) == null ? void 0 : _a.filter((v) => !!v).map((p, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(OverflowTooltip, {
10061
+ if (!breakLine) {
10062
+ content = (_a = spec.ports) == null ? void 0 : _a.filter((v) => !!v).map((p) => `${i18n2.t("dovetail.any_node_ip")}:${p.nodePort}`).join(", ");
10063
+ break;
10064
+ }
10065
+ content = (_b = spec.ports) == null ? void 0 : _b.filter((v) => !!v).map((p) => /* @__PURE__ */ jsxRuntimeExports.jsx(OverflowTooltip, {
10062
10066
  content: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
10063
10067
  className: cx_default(Typo.Label.l4_regular_title, BreakLineStyle),
10064
- children: [i18n2.t("dovetail.any_node_ip"), ":", p.nodePort, !breakLine && index !== (spec.ports || []).length - 1 ? ", " : ""]
10068
+ children: [i18n2.t("dovetail.any_node_ip"), ":", p.nodePort]
10065
10069
  }),
10066
10070
  tooltip: `${i18n2.t("dovetail.any_node_ip")}:${p.nodePort}`
10067
10071
  }, p.nodePort));
@@ -10070,12 +10074,14 @@ const ServiceOutClusterAccessComponent = ({
10070
10074
  });
10071
10075
  case ServiceTypeEnum.ExternalName:
10072
10076
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10073
- value: (_b = spec.externalIPs) == null ? void 0 : _b.join(breakLine ? "\n" : ", ")
10077
+ useOverflow: false,
10078
+ value: (_c = spec.externalIPs) == null ? void 0 : _c.join(breakLine ? "\n" : ", ")
10074
10079
  });
10075
10080
  break;
10076
10081
  case ServiceTypeEnum.LoadBalancer:
10077
10082
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10078
- value: (_d = (_c = status.loadBalancer) == null ? void 0 : _c.ingress) == null ? void 0 : _d.map(({
10083
+ useOverflow: false,
10084
+ value: (_e = (_d = status.loadBalancer) == null ? void 0 : _d.ingress) == null ? void 0 : _e.map(({
10079
10085
  ip
10080
10086
  }) => ip).join(breakLine ? "\n" : ", ")
10081
10087
  });
@@ -10085,6 +10091,7 @@ const ServiceOutClusterAccessComponent = ({
10085
10091
  break;
10086
10092
  default:
10087
10093
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10094
+ useOverflow: false,
10088
10095
  value: ""
10089
10096
  });
10090
10097
  break;
@@ -11126,14 +11133,14 @@ function Tabs(props) {
11126
11133
  return /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tabsTabPane, { tab: tab.title, children: tab.children }, tab.title);
11127
11134
  }) });
11128
11135
  }
11129
- const ShowContent_fjwscu = "";
11136
+ const ShowContent_vvz9yc = "";
11130
11137
  const ShowContentWrapperStyle = "s9agep2";
11131
11138
  const BackButton = "bo89gfi";
11132
11139
  const ToolBarWrapper = "t1ohe42f";
11133
11140
  const NameStyle = "nqm4qz0";
11134
11141
  const TopBarStyle = "ticl0qc";
11135
11142
  const ShowContentHeaderStyle = "so9uwk1";
11136
- const GroupStyle = "ge26ou0";
11143
+ const GroupStyle$1 = "ge26ou0";
11137
11144
  const GroupTitleStyle = "g17f8vl9";
11138
11145
  const FullTabContentStyle = "fykgn2i";
11139
11146
  const FieldWrapperStyle = "fngr745";
@@ -11148,7 +11155,7 @@ function ShowGroupComponent(props) {
11148
11155
  operationEle
11149
11156
  } = props;
11150
11157
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
11151
- className: cx_default(GroupStyle, className),
11158
+ className: cx_default(GroupStyle$1, className),
11152
11159
  children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
11153
11160
  className: cx_default(Typo.Heading.h2_bold_title, GroupTitleStyle),
11154
11161
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
@@ -11330,8 +11337,9 @@ const ShowContent = (props) => {
11330
11337
  }), tabs]
11331
11338
  });
11332
11339
  };
11333
- const KeyValueSecret_1nzeh2v = "";
11340
+ const KeyValueSecret_1ibo68a = "";
11334
11341
  const ButtonStyle = "b11tbgf7";
11342
+ const GroupStyle = "gtbyh5g";
11335
11343
  function KeyValueSecret(props) {
11336
11344
  const {
11337
11345
  data: data2 = {}
@@ -11353,6 +11361,7 @@ function KeyValueSecret(props) {
11353
11361
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ShowGroupComponent, {
11354
11362
  title: i18n2.t("dovetail.data"),
11355
11363
  operationEle: toggleButton,
11364
+ className: GroupStyle,
11356
11365
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(KeyValue, {
11357
11366
  data: data2,
11358
11367
  hideSecret,
@@ -17902,7 +17911,9 @@ const MonacoYamlEditor$1 = (props) => {
17902
17911
  scrollBeyondLastLine: false,
17903
17912
  model,
17904
17913
  scrollbar: {
17905
- handleMouseWheel: !isScrollOnFocus
17914
+ handleMouseWheel: !isScrollOnFocus,
17915
+ alwaysConsumeMouseWheel: false
17916
+ // https://github.com/microsoft/monaco-editor/issues/2007
17906
17917
  },
17907
17918
  tabSize: 2,
17908
17919
  readOnly,
@@ -22905,7 +22916,7 @@ const Separator = () => {
22905
22916
  });
22906
22917
  };
22907
22918
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
22908
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-f2a92bde.js"));
22919
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-fa823881.js"));
22909
22920
  const YamlEditorComponent = forwardRef(
22910
22921
  function YamlEditorComponent2(props, ref) {
22911
22922
  const {
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-d2d0cacc.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-4305985d.js";
2
2
  import "@cloudtower/eagle";
3
3
  import "@refinedev/core";
4
4
  import "@cloudtower/icons-react";
@@ -1122,7 +1122,7 @@ var __publicField = (obj, key, value) => {
1122
1122
  const auto_wrap$1 = "Auto wrap";
1123
1123
  const container_num$1 = "Containers";
1124
1124
  const edit_resource_success$1 = "{{resource}} {{name}} was edited successfully";
1125
- const redeploy_success_toast$1 = "{{kind}} was redeployed successfully";
1125
+ const redeploy_success_toast$1 = "{{kind}} {{name}} was redeployed successfully";
1126
1126
  const redeploy_failed_toast$1 = "Failed to redeploy {{kind}} {{name}}";
1127
1127
  const pause_success_toast$1 = "Successfully suspended";
1128
1128
  const pause_failed_toast$1 = "Failed to suspend";
@@ -8612,7 +8612,7 @@ var __publicField = (obj, key, value) => {
8612
8612
  return o(prop);
8613
8613
  }
8614
8614
  }) : styled;
8615
- const index_6dotpx = "";
8615
+ const index_cp12i5 = "";
8616
8616
  const ErrorWrapper = /* @__PURE__ */ styled_default("div")({
8617
8617
  name: "ErrorWrapper",
8618
8618
  class: "egn3dbn",
@@ -8655,11 +8655,11 @@ var __publicField = (obj, key, value) => {
8655
8655
  ]: eagle.Typo.Display.d2_bold_title
8656
8656
  };
8657
8657
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorWrapper, {
8658
- className: props.className,
8658
+ className: cx_default(props.className, type2),
8659
8659
  style: props.style,
8660
8660
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ErrorContent, {
8661
8661
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx("p", {
8662
- className: cx_default(fontMap[type2], "title", type2),
8662
+ className: cx_default(fontMap[type2], "title"),
8663
8663
  children: errorText || t2("dovetail.obtain_data_error")
8664
8664
  }), !refetch ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
8665
8665
  size: "small",
@@ -9481,7 +9481,7 @@ var __publicField = (obj, key, value) => {
9481
9481
  },
9482
9482
  "type": "Opaque",
9483
9483
  "data": {
9484
- "key": window.btoa("value")
9484
+ "key": "value"
9485
9485
  }
9486
9486
  };
9487
9487
  const SECRET_IMAGE_REPO_INIT_VALUE = {
@@ -9505,8 +9505,8 @@ var __publicField = (obj, key, value) => {
9505
9505
  },
9506
9506
  "type": "kubernetes.io/basic-auth",
9507
9507
  "data": {
9508
- "username": window.btoa("example"),
9509
- "password": window.btoa("example")
9508
+ "username": "example",
9509
+ "password": "example"
9510
9510
  }
9511
9511
  };
9512
9512
  const SECRET_SSH_AUTH_INIT_VALUE = {
@@ -9652,17 +9652,17 @@ var __publicField = (obj, key, value) => {
9652
9652
  return (_a = this._rawYaml.spec) == null ? void 0 : _a.completions;
9653
9653
  }
9654
9654
  get stateDisplay() {
9655
- var _a, _b, _c, _d, _e, _f, _g, _h;
9655
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
9656
9656
  if (!((_a = this.spec) == null ? void 0 : _a.completions) && !((_b = this.status) == null ? void 0 : _b.succeeded)) {
9657
9657
  return WorkloadState.RUNNING;
9658
9658
  }
9659
- if (((_c = this.spec) == null ? void 0 : _c.completions) === ((_d = this.status) == null ? void 0 : _d.succeeded)) {
9659
+ if (((_c = this.spec) == null ? void 0 : _c.completions) === ((_d = this.status) == null ? void 0 : _d.succeeded) || ((_f = (_e = this.status) == null ? void 0 : _e.conditions) == null ? void 0 : _f.some((c2) => c2.type === "Complete" && c2.status === "True"))) {
9660
9660
  return WorkloadState.COMPLETED;
9661
9661
  }
9662
- if ((_f = (_e = this.status) == null ? void 0 : _e.conditions) == null ? void 0 : _f.some((c2) => c2.type === "Failed" && c2.status === "True")) {
9662
+ if ((_h = (_g = this.status) == null ? void 0 : _g.conditions) == null ? void 0 : _h.some((c2) => c2.type === "Failed" && c2.status === "True")) {
9663
9663
  return WorkloadState.FAILED;
9664
9664
  }
9665
- if ((_h = (_g = this.status) == null ? void 0 : _g.conditions) == null ? void 0 : _h.some((c2) => c2.type === "Suspended" && c2.status === "True")) {
9665
+ if ((_j = (_i = this.status) == null ? void 0 : _i.conditions) == null ? void 0 : _j.some((c2) => c2.type === "Suspended" && c2.status === "True")) {
9666
9666
  return WorkloadState.SUSPENDED;
9667
9667
  }
9668
9668
  return WorkloadState.RUNNING;
@@ -10055,7 +10055,7 @@ var __publicField = (obj, key, value) => {
10055
10055
  service,
10056
10056
  breakLine = true
10057
10057
  }) => {
10058
- var _a, _b, _c, _d;
10058
+ var _a, _b, _c, _d, _e;
10059
10059
  const {
10060
10060
  i18n: i18n2
10061
10061
  } = useTranslation();
@@ -10064,10 +10064,14 @@ var __publicField = (obj, key, value) => {
10064
10064
  let content = "-";
10065
10065
  switch (spec.type) {
10066
10066
  case ServiceTypeEnum.NodePort:
10067
- content = (_a = spec.ports) == null ? void 0 : _a.filter((v) => !!v).map((p, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(eagle.OverflowTooltip, {
10067
+ if (!breakLine) {
10068
+ content = (_a = spec.ports) == null ? void 0 : _a.filter((v) => !!v).map((p) => `${i18n2.t("dovetail.any_node_ip")}:${p.nodePort}`).join(", ");
10069
+ break;
10070
+ }
10071
+ content = (_b = spec.ports) == null ? void 0 : _b.filter((v) => !!v).map((p) => /* @__PURE__ */ jsxRuntimeExports.jsx(eagle.OverflowTooltip, {
10068
10072
  content: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
10069
10073
  className: cx_default(eagle.Typo.Label.l4_regular_title, BreakLineStyle),
10070
- children: [i18n2.t("dovetail.any_node_ip"), ":", p.nodePort, !breakLine && index !== (spec.ports || []).length - 1 ? ", " : ""]
10074
+ children: [i18n2.t("dovetail.any_node_ip"), ":", p.nodePort]
10071
10075
  }),
10072
10076
  tooltip: `${i18n2.t("dovetail.any_node_ip")}:${p.nodePort}`
10073
10077
  }, p.nodePort));
@@ -10076,12 +10080,14 @@ var __publicField = (obj, key, value) => {
10076
10080
  });
10077
10081
  case ServiceTypeEnum.ExternalName:
10078
10082
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10079
- value: (_b = spec.externalIPs) == null ? void 0 : _b.join(breakLine ? "\n" : ", ")
10083
+ useOverflow: false,
10084
+ value: (_c = spec.externalIPs) == null ? void 0 : _c.join(breakLine ? "\n" : ", ")
10080
10085
  });
10081
10086
  break;
10082
10087
  case ServiceTypeEnum.LoadBalancer:
10083
10088
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10084
- value: (_d = (_c = status.loadBalancer) == null ? void 0 : _c.ingress) == null ? void 0 : _d.map(({
10089
+ useOverflow: false,
10090
+ value: (_e = (_d = status.loadBalancer) == null ? void 0 : _d.ingress) == null ? void 0 : _e.map(({
10085
10091
  ip
10086
10092
  }) => ip).join(breakLine ? "\n" : ", ")
10087
10093
  });
@@ -10091,6 +10097,7 @@ var __publicField = (obj, key, value) => {
10091
10097
  break;
10092
10098
  default:
10093
10099
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10100
+ useOverflow: false,
10094
10101
  value: ""
10095
10102
  });
10096
10103
  break;
@@ -11132,14 +11139,14 @@ var __publicField = (obj, key, value) => {
11132
11139
  return /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tabsTabPane, { tab: tab.title, children: tab.children }, tab.title);
11133
11140
  }) });
11134
11141
  }
11135
- const ShowContent_fjwscu = "";
11142
+ const ShowContent_vvz9yc = "";
11136
11143
  const ShowContentWrapperStyle = "s9agep2";
11137
11144
  const BackButton = "bo89gfi";
11138
11145
  const ToolBarWrapper = "t1ohe42f";
11139
11146
  const NameStyle = "nqm4qz0";
11140
11147
  const TopBarStyle = "ticl0qc";
11141
11148
  const ShowContentHeaderStyle = "so9uwk1";
11142
- const GroupStyle = "ge26ou0";
11149
+ const GroupStyle$1 = "ge26ou0";
11143
11150
  const GroupTitleStyle = "g17f8vl9";
11144
11151
  const FullTabContentStyle = "fykgn2i";
11145
11152
  const FieldWrapperStyle = "fngr745";
@@ -11154,7 +11161,7 @@ var __publicField = (obj, key, value) => {
11154
11161
  operationEle
11155
11162
  } = props;
11156
11163
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
11157
- className: cx_default(GroupStyle, className),
11164
+ className: cx_default(GroupStyle$1, className),
11158
11165
  children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
11159
11166
  className: cx_default(eagle.Typo.Heading.h2_bold_title, GroupTitleStyle),
11160
11167
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
@@ -11336,8 +11343,9 @@ var __publicField = (obj, key, value) => {
11336
11343
  }), tabs]
11337
11344
  });
11338
11345
  };
11339
- const KeyValueSecret_1nzeh2v = "";
11346
+ const KeyValueSecret_1ibo68a = "";
11340
11347
  const ButtonStyle = "b11tbgf7";
11348
+ const GroupStyle = "gtbyh5g";
11341
11349
  function KeyValueSecret(props) {
11342
11350
  const {
11343
11351
  data: data2 = {}
@@ -11359,6 +11367,7 @@ var __publicField = (obj, key, value) => {
11359
11367
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ShowGroupComponent, {
11360
11368
  title: i18n2.t("dovetail.data"),
11361
11369
  operationEle: toggleButton,
11370
+ className: GroupStyle,
11362
11371
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(KeyValue, {
11363
11372
  data: data2,
11364
11373
  hideSecret,
@@ -17908,7 +17917,9 @@ var __publicField = (obj, key, value) => {
17908
17917
  scrollBeyondLastLine: false,
17909
17918
  model,
17910
17919
  scrollbar: {
17911
- handleMouseWheel: !isScrollOnFocus
17920
+ handleMouseWheel: !isScrollOnFocus,
17921
+ alwaysConsumeMouseWheel: false
17922
+ // https://github.com/microsoft/monaco-editor/issues/2007
17912
17923
  },
17913
17924
  tabSize: 2,
17914
17925
  readOnly,
package/dist/style.css CHANGED
@@ -5,8 +5,8 @@
5
5
  .e5223w8.e5223w8{color:rgba(0,21,64,.3);}
6
6
  .cdjsw14{width:100%;}.cdjsw14.overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
7
7
  .b142d7q8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.b142d7q8 .breadcrumb-item:not(:last-of-type):after{content:'>';margin:0 8px;}
8
- .egn3dbn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;}
9
- .e136jgy8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.e136jgy8 .title{margin-bottom:8px;}.e136jgy8 .title.widget{background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-image:linear-gradient(211.41deg,#929dad 0%,#d3dbe3 100%);}.e136jgy8 .title.list{color:rgba(44,56,82,0.60);}.e136jgy8 .title.card{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:60px;color:rgba(0,21,64,0.30);}
8
+ .egn3dbn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;}.egn3dbn.widget .title{background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-image:linear-gradient(211.41deg,#929dad 0%,#d3dbe3 100%);}.egn3dbn.list .title{color:rgba(44,56,82,0.60);}.egn3dbn.card .title{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:96px;color:rgba(0,21,64,0.30);}
9
+ .e136jgy8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.e136jgy8 .title{margin-bottom:8px;}
10
10
  .ax1qopv{position:absolute;top:0;left:0;bottom:0;width:1px;background:$blue-60;-webkit-transform:translateX(-9999px);-ms-transform:translateX(-9999px);transform:translateX(-9999px);z-index:999;}.ax1qopv::before{content:'';position:absolute;height:34px;width:3px;top:0;left:-1px;background:$blue-60;}
11
11
  .t1upn1sz{width:100%;border-top:1px solid rgba(211,218,235,0.6);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.t1upn1sz .ant-table-pagination{display:none;}.t1upn1sz .table-container{min-height:0;}
12
12
  .b1vtjd4k.ant-btn.ant-btn-link{display:block;}
@@ -34,14 +34,15 @@
34
34
  .nqm4qz0{color:#00122E;margin-right:8px;}
35
35
  .ticl0qc{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;}
36
36
  .so9uwk1{width:100%;}
37
- .ge26ou0{padding:12px 16px;padding-bottom:8px;border-radius:8px;border:1px solid rgba(211,218,235,0.6);box-shadow: 0px 0px 2.003px 0px rgba(107,125,153,0.15), 0px 0px 16px 0px rgba(107,125,153,0.08);background-color:#fff;margin:0 24px;overflow:auto;width:calc(100% - 48px);max-width:1592px;}.ge26ou0:first-of-type{margin-top:16px;}.ge26ou0:not(:last-of-type){margin-bottom:24px;}.ge26ou0 .pagination-wrapper{padding-top:12px;padding-bottom:0;}
38
- .g17f8vl9{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#1d326c;margin-bottom:12px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
37
+ .ge26ou0{padding:12px 16px;padding-bottom:4px;border-radius:8px;border:1px solid rgba(211,218,235,0.6);box-shadow: 0px 0px 2.003px 0px rgba(107,125,153,0.15), 0px 0px 16px 0px rgba(107,125,153,0.08);background-color:#fff;margin:0 24px;overflow:auto;width:calc(100% - 48px);max-width:1592px;}.ge26ou0:first-of-type{margin-top:16px;}.ge26ou0:not(:last-of-type){margin-bottom:24px;}.ge26ou0 .pagination-wrapper{padding-top:12px;padding-bottom:0;}
38
+ .g17f8vl9{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#1d326c;margin-bottom:10px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
39
39
  .fykgn2i{background-color:#fff;height:100%;}
40
40
  .fngr745{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;}
41
41
  .t11wg61l{padding-bottom:16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:904px;}
42
42
  .v1x3rivf{color:#00122E;}
43
43
  .tf5s6s.ant-tabs{-webkit-flex:1;-ms-flex:1;flex:1;min-height:0;}.tf5s6s.ant-tabs .ant-tabs-nav{margin-bottom:0;margin-right:24px;}.tf5s6s.ant-tabs .ant-tabs-nav-list{margin-left:24px;}.tf5s6s.ant-tabs .ant-tabs-content-holder{overflow:auto;}.tf5s6s.ant-tabs .ant-tabs-content-holder .ant-tabs-content,.tf5s6s.ant-tabs .ant-tabs-content-holder .ant-tabs-tabpane-active{height:100%;}
44
44
  .b11tbgf7.ant-btn-quiet.ant-btn{color:rgba(44,56,82,0.75);}
45
+ .gtbyh5g{padding-bottom:12px;}
45
46
  .c1dicff8{width:100%;vertical-align:top;}
46
47
  .esoz3jw.ant-btn.ant-btn-link{font-size:13px;height:22px;margin-left:8px;}
47
48
  .w8ychfk{border-radius:8px;border:1px solid rgba(211,218,235,0.60);padding:16px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",