@digitalsee-ai/rcs 2.0.0-pre3 → 2.0.0-pre4

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.
@@ -4,7 +4,6 @@ interface ActionNodeConfigProps {
4
4
  nodeType?: NodeType | string;
5
5
  data: any;
6
6
  onSubmit: (values: any, isRunNodeTest?: boolean) => void;
7
- onNodePackageValuesChange?: (properties: Record<string, unknown>) => void;
8
7
  }
9
8
  export declare const ActionNodeConfig: import('react').NamedExoticComponent<ActionNodeConfigProps & import('react').RefAttributes<any>>;
10
9
  export {};
@@ -12,7 +12,6 @@ interface IFormFieldRendererProps {
12
12
  account_id: string | null;
13
13
  nodeId: string;
14
14
  onSubmit(properties: any, isRunNodeTest?: boolean): void;
15
- onNodePackageValuesChange?: (properties: Record<string, unknown>) => void;
16
15
  mcpMode?: boolean;
17
16
  preRender?: React.ReactNode;
18
17
  }
@@ -8375,19 +8375,20 @@ const s4 = (t) => t.mode ?? t.configMode ?? "edit", a4 = (t, e) => t !== "previe
8375
8375
  try {
8376
8376
  const I = await mv(t);
8377
8377
  if (I) {
8378
- const O = ai(I) ? oc(I.action_key, I.action_ver) : I.node_type, R = wa.createNode(
8378
+ const O = ai(I) ? oc(I.action_key, I.action_ver) : I.node_type, R = l4(I), B = wa.createNode(
8379
8379
  O,
8380
8380
  I.id,
8381
8381
  {
8382
- ...l4(I),
8383
- saveType: I.node_type
8382
+ ...R,
8383
+ saveType: I.node_type,
8384
+ icon: D.data.icon ?? R.icon
8384
8385
  },
8385
8386
  {
8386
8387
  x: D.position.x,
8387
8388
  y: D.position.y + 100
8388
8389
  }
8389
8390
  );
8390
- a([R]), ke.success("节点复制成功");
8391
+ a([B]), ke.success("节点复制成功");
8391
8392
  }
8392
8393
  } catch (I) {
8393
8394
  ke.error("节点复制失败"), console.error("复制节点失败:", I);
@@ -9069,7 +9070,7 @@ const Rc = {
9069
9070
  ] }, c))
9070
9071
  }
9071
9072
  ) });
9072
- }, j4 = ZR(() => import("./index-Bv1ROPoF.mjs")), A_ = (t) => {
9073
+ }, j4 = ZR(() => import("./index-DNV524HS.mjs")), A_ = (t) => {
9073
9074
  const e = Mr({
9074
9075
  editorVisible: !1
9075
9076
  }), n = () => {
@@ -43419,7 +43420,6 @@ const _X = [
43419
43420
  account_id: o,
43420
43421
  nodeId: n,
43421
43422
  onSubmit: u,
43422
- onNodePackageValuesChange: t.onNodePackageValuesChange,
43423
43423
  preRender: f
43424
43424
  }
43425
43425
  ) });
@@ -50568,7 +50568,7 @@ function Gte({
50568
50568
  const H = T({
50569
50569
  ..._,
50570
50570
  ...M,
50571
- node_type: P,
50571
+ node_type: $,
50572
50572
  saveType: $
50573
50573
  }), j = wa.createNode(P, te, H, q);
50574
50574
  r([j]), u(te);
@@ -61725,4 +61725,4 @@ export {
61725
61725
  gv as y,
61726
61726
  yae as z
61727
61727
  };
61728
- //# sourceMappingURL=index-DO2xJ071.mjs.map
61728
+ //# sourceMappingURL=index-BqkisUDR.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as v } from "react/jsx-runtime";
2
- import { D as T, V as L, e as V, i as P, t as l, f as R, d as O } from "./index-DO2xJ071.mjs";
2
+ import { D as T, V as L, e as V, i as P, t as l, f as R, d as O } from "./index-BqkisUDR.mjs";
3
3
  import { useEventEmitter as B, useReactive as W, useSize as H } from "ahooks";
4
4
  import { FormattedMessage as $ } from "react-intl";
5
5
  import { CloseCircleFilled as A, CheckCircleFilled as K } from "@ant-design/icons";
@@ -279,4 +279,4 @@ function $e(e) {
279
279
  export {
280
280
  $e as default
281
281
  };
282
- //# sourceMappingURL=index-Bv1ROPoF.mjs.map
282
+ //# sourceMappingURL=index-DNV524HS.mjs.map