@digitalsee-ai/rcs 1.1.1 → 1.1.2

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.
Files changed (82) hide show
  1. package/dist/components/digitalsee/workflow/Canvas/classicNodeCreate.d.ts +19 -0
  2. package/dist/components/digitalsee/workflow/Canvas/constants.d.ts +15 -1
  3. package/dist/components/digitalsee/workflow/Canvas/hooks/createNodeAddHandlerNext.d.ts +16 -1
  4. package/dist/components/digitalsee/workflow/Canvas/hooks/useNodeAddCallback.d.ts +17 -4
  5. package/dist/components/digitalsee/workflow/Canvas/hooks/useWorkflowCanvasState.d.ts +1 -3
  6. package/dist/components/digitalsee/workflow/Handles/CustomHandle.d.ts +0 -3
  7. package/dist/components/digitalsee/workflow/Nodes/ConditionNode.d.ts +1 -1
  8. package/dist/components/digitalsee/workflow/Nodes/SuperBaseNode.d.ts +1 -6
  9. package/dist/components/digitalsee/workflow/Nodes/SwitchNode.d.ts +1 -1
  10. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/hooks/useCategories.d.ts +2 -5
  11. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/hooks/useNavigation.d.ts +2 -3
  12. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/types.d.ts +1 -19
  13. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/dataTransformers.d.ts +2 -13
  14. package/dist/components/digitalsee/workflow/api/dip.types.d.ts +0 -30
  15. package/dist/components/digitalsee/workflow/api/index.d.ts +1 -6
  16. package/dist/components/digitalsee/workflow/events/eventBus.d.ts +12 -2
  17. package/dist/components/digitalsee/workflow/hooks/usePanel.d.ts +17 -3
  18. package/dist/components/digitalsee/workflow/store/panelSlice.d.ts +41 -118
  19. package/dist/components/digitalsee/workflow/types/Node.d.ts +1 -1
  20. package/dist/components/digitalsee/workflow/types/engine.d.ts +0 -15
  21. package/dist/components/digitalsee/workflow/utils/nextNodeSchemaCache.d.ts +0 -8
  22. package/dist/locales/en-US/link/flow.d.ts +0 -22
  23. package/dist/locales/en-US.d.ts +0 -22
  24. package/dist/locales/zh-CN/link/flow.d.ts +0 -22
  25. package/dist/locales/zh-CN.d.ts +0 -22
  26. package/dist/locales/zh-TW/link/flow.d.ts +0 -22
  27. package/dist/locales/zh-TW.d.ts +0 -22
  28. package/dist/rcs.css +1 -1
  29. package/dist/rcs.es.js +16150 -18077
  30. package/dist/rcs.es.js.map +1 -1
  31. package/dist/rcs.umd.js +58 -58
  32. package/dist/rcs.umd.js.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/components/digitalsee/workflow/Canvas/actionItemToNodeData.d.ts +0 -14
  35. package/dist/components/digitalsee/workflow/Canvas/hooks/classicNodeAddConnection.d.ts +0 -31
  36. package/dist/components/digitalsee/workflow/Canvas/hooks/classicNodeAddConnection.test.d.ts +0 -1
  37. package/dist/components/digitalsee/workflow/Handles/customHandleConnectable.d.ts +0 -35
  38. package/dist/components/digitalsee/workflow/Handles/customHandleConnectable.test.d.ts +0 -1
  39. package/dist/components/digitalsee/workflow/Nodes/classicNodePackageNodes.test.d.ts +0 -1
  40. package/dist/components/digitalsee/workflow/Nodes/classicNodePackagePortLayout.d.ts +0 -23
  41. package/dist/components/digitalsee/workflow/Nodes/classicNodePackagePortLayout.test.d.ts +0 -1
  42. package/dist/components/digitalsee/workflow/Nodes/useClassicNodePackagePorts.d.ts +0 -26
  43. package/dist/components/digitalsee/workflow/Nodes/useClassicNodePackagePorts.test.d.ts +0 -1
  44. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/components/EntryTypeSelector.d.ts +0 -8
  45. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/components/NodeCardList.d.ts +0 -19
  46. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/hooks/useConnectableNodeSelector.d.ts +0 -40
  47. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/hooks/useNavigation.test.d.ts +0 -1
  48. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/hooks/useNodeActionState.d.ts +0 -30
  49. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/hooks/useNodeSelectorPresentation.d.ts +0 -24
  50. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableActionLoader.d.ts +0 -16
  51. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableActionLoader.test.d.ts +0 -1
  52. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableFallback.d.ts +0 -2
  53. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableFallback.test.d.ts +0 -1
  54. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableQuery.d.ts +0 -40
  55. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableQuery.test.d.ts +0 -1
  56. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableResponse.d.ts +0 -35
  57. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/connectableResponse.test.d.ts +0 -1
  58. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/filterEdgeInsertActions.d.ts +0 -62
  59. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/filterEdgeInsertActions.test.d.ts +0 -1
  60. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/nodeAddContext.d.ts +0 -26
  61. package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/nodeAddContext.test.d.ts +0 -1
  62. package/dist/components/digitalsee/workflow/api/connectable.test.d.ts +0 -1
  63. package/dist/components/digitalsee/workflow/api/connectable.types.d.ts +0 -75
  64. package/dist/components/digitalsee/workflow/config/defaultCanvasEngineConfig.test.d.ts +0 -1
  65. package/dist/components/digitalsee/workflow/config/defaultNodeSelectorConfig.d.ts +0 -9
  66. package/dist/components/digitalsee/workflow/types/NodeAddContext.d.ts +0 -31
  67. package/dist/components/digitalsee/workflow/utils/classicNodeActionIdentity.d.ts +0 -7
  68. package/dist/components/digitalsee/workflow/utils/classicNodeActionIdentity.test.d.ts +0 -1
  69. package/dist/components/digitalsee/workflow/utils/classicNodePackageConnection.d.ts +0 -28
  70. package/dist/components/digitalsee/workflow/utils/classicNodePackageConnection.test.d.ts +0 -1
  71. package/dist/components/digitalsee/workflow/utils/classicNodePackageGraphValidation.d.ts +0 -29
  72. package/dist/components/digitalsee/workflow/utils/classicNodePackageGraphValidation.test.d.ts +0 -1
  73. package/dist/components/digitalsee/workflow/utils/compatiblePortSelection.d.ts +0 -79
  74. package/dist/components/digitalsee/workflow/utils/compatiblePortSelection.test.d.ts +0 -1
  75. package/dist/components/digitalsee/workflow/utils/nodeDataFormatter.test.d.ts +0 -1
  76. package/dist/components/digitalsee/workflow/utils/portConnectionValidationMessages.d.ts +0 -48
  77. package/dist/components/digitalsee/workflow/utils/portConnectionValidationMessages.test.d.ts +0 -1
  78. package/dist/components/digitalsee/workflow/utils/portConnectionValidator.d.ts +0 -66
  79. package/dist/components/digitalsee/workflow/utils/portConnectionValidator.test.d.ts +0 -1
  80. package/dist/components/digitalsee/workflow/utils/workflowConnectionValidator.d.ts +0 -20
  81. package/dist/components/digitalsee/workflow/utils/workflowConnectionValidator.test.d.ts +0 -1
  82. /package/dist/components/digitalsee/workflow/Canvas/{constants.test.d.ts → classicNodeCreate.test.d.ts} +0 -0
@@ -18,7 +18,6 @@ export interface CanvasEngineConfig {
18
18
  flowId: string;
19
19
  engineMode?: EngineMode;
20
20
  canvas: CanvasCoreConfig;
21
- nodeSelector: NodeSelectorConfig;
22
21
  nodeTypes: NodeTypesRegistryConfig;
23
22
  edgeRules: EdgeRulesConfig;
24
23
  toolbar: ToolbarConfig;
@@ -26,20 +25,6 @@ export interface CanvasEngineConfig {
26
25
  httpClient?: HttpClient;
27
26
  history?: HistoryNavigator;
28
27
  }
29
- /**
30
- * NodePackage 可连线候选能力配置。
31
- *
32
- * 默认关闭,由 CLASSIC/ACM 宿主显式启用,便于在接口联调异常时快速回退旧候选链路。
33
- */
34
- export interface NodeSelectorConnectableConfig {
35
- enabled: boolean;
36
- scene: string;
37
- fallbackToLegacy: boolean;
38
- debug: boolean;
39
- }
40
- export interface NodeSelectorConfig {
41
- connectable: NodeSelectorConnectableConfig;
42
- }
43
28
  type NativeReactFLowProps = ComponentProps<typeof ReactFlow>;
44
29
  export interface RegisterComponents {
45
30
  form: {
@@ -2,13 +2,5 @@ import { DipNodeSchema } from '../api/dip';
2
2
  export declare function clearNextNodeSchemaCache(): void;
3
3
  export declare function setCachedNextNodeSchema(nodeKey: string, nodeVersion: number | undefined, schema: DipNodeSchema): void;
4
4
  export declare function setCachedClassicNextNodeSchema(nodeKey: string, nodeVersion: number | undefined, schema: DipNodeSchema): void;
5
- /**
6
- * 同步读取已预加载的 CLASSIC nodepackage Schema,不触发网络请求。
7
- *
8
- * 手动拖线发生在 ReactFlow 的同步校验阶段,无法等待异步 Schema 请求;
9
- * 因此画布加载/选择器转换阶段会先预热缓存,再由这里读取。缺失版本时与
10
- * `getCachedClassicNextNodeSchema` 保持一致,按 ACM 版本 1 兜底。
11
- */
12
- export declare function peekCachedClassicNextNodeSchema(nodeKey: string, nodeVersion?: number): DipNodeSchema | null;
13
5
  export declare function getCachedClassicNextNodeSchema(nodeKey: string, nodeVersion?: number): Promise<DipNodeSchema | null>;
14
6
  export declare function getCachedNextNodeSchema(nodeKey: string, nodeVersion?: number): Promise<DipNodeSchema | null>;
@@ -145,28 +145,6 @@ declare const _default: {
145
145
  'link.flow.force_online_confirm': string;
146
146
  'link.flow.offline_success': string;
147
147
  'link.flow.operation_title': string;
148
- 'link.flow.connectable.category_unavailable': string;
149
- 'link.flow.connectable.connector_unavailable': string;
150
- 'link.flow.connectable.action_unavailable': string;
151
- 'link.flow.connectable.load_failed': string;
152
- 'link.flow.connectable.no_compatible_nodes': string;
153
- 'link.flow.connectable.no_compatible_input': string;
154
- 'link.flow.connectable.no_compatible_output': string;
155
- 'link.flow.connectable.no_bidirectional_compatible_port': string;
156
- 'link.flow.connectable.schema_unavailable': string;
157
- 'link.flow.connectable.existing_edge_invalid': string;
158
- 'link.flow.connectable.validation.source_node_not_found': string;
159
- 'link.flow.connectable.validation.target_node_not_found': string;
160
- 'link.flow.connectable.validation.source_port_not_found': string;
161
- 'link.flow.connectable.validation.target_port_not_found': string;
162
- 'link.flow.connectable.validation.port_type_mismatch': string;
163
- 'link.flow.connectable.validation.source_node_not_allowed': string;
164
- 'link.flow.connectable.validation.target_node_not_allowed': string;
165
- 'link.flow.connectable.validation.source_node_denied': string;
166
- 'link.flow.connectable.validation.target_node_denied': string;
167
- 'link.flow.connectable.validation.source_max_connections_reached': string;
168
- 'link.flow.connectable.validation.target_max_connections_reached': string;
169
- 'link.flow.connectable.validation.self_connection_not_allowed': string;
170
148
  'link.flow.switch.condition_one': string;
171
149
  'link.flow.switch.condition_two': string;
172
150
  'link.flow.switch.condition_n': string;
@@ -145,28 +145,6 @@ declare const _default: {
145
145
  'link.flow.force_online_confirm': string;
146
146
  'link.flow.offline_success': string;
147
147
  'link.flow.operation_title': string;
148
- 'link.flow.connectable.category_unavailable': string;
149
- 'link.flow.connectable.connector_unavailable': string;
150
- 'link.flow.connectable.action_unavailable': string;
151
- 'link.flow.connectable.load_failed': string;
152
- 'link.flow.connectable.no_compatible_nodes': string;
153
- 'link.flow.connectable.no_compatible_input': string;
154
- 'link.flow.connectable.no_compatible_output': string;
155
- 'link.flow.connectable.no_bidirectional_compatible_port': string;
156
- 'link.flow.connectable.schema_unavailable': string;
157
- 'link.flow.connectable.existing_edge_invalid': string;
158
- 'link.flow.connectable.validation.source_node_not_found': string;
159
- 'link.flow.connectable.validation.target_node_not_found': string;
160
- 'link.flow.connectable.validation.source_port_not_found': string;
161
- 'link.flow.connectable.validation.target_port_not_found': string;
162
- 'link.flow.connectable.validation.port_type_mismatch': string;
163
- 'link.flow.connectable.validation.source_node_not_allowed': string;
164
- 'link.flow.connectable.validation.target_node_not_allowed': string;
165
- 'link.flow.connectable.validation.source_node_denied': string;
166
- 'link.flow.connectable.validation.target_node_denied': string;
167
- 'link.flow.connectable.validation.source_max_connections_reached': string;
168
- 'link.flow.connectable.validation.target_max_connections_reached': string;
169
- 'link.flow.connectable.validation.self_connection_not_allowed': string;
170
148
  'link.flow.switch.condition_one': string;
171
149
  'link.flow.switch.condition_two': string;
172
150
  'link.flow.switch.condition_n': string;
@@ -145,28 +145,6 @@ declare const _default: {
145
145
  'link.flow.force_online_confirm': string;
146
146
  'link.flow.offline_success': string;
147
147
  'link.flow.operation_title': string;
148
- 'link.flow.connectable.category_unavailable': string;
149
- 'link.flow.connectable.connector_unavailable': string;
150
- 'link.flow.connectable.action_unavailable': string;
151
- 'link.flow.connectable.load_failed': string;
152
- 'link.flow.connectable.no_compatible_nodes': string;
153
- 'link.flow.connectable.no_compatible_input': string;
154
- 'link.flow.connectable.no_compatible_output': string;
155
- 'link.flow.connectable.no_bidirectional_compatible_port': string;
156
- 'link.flow.connectable.schema_unavailable': string;
157
- 'link.flow.connectable.existing_edge_invalid': string;
158
- 'link.flow.connectable.validation.source_node_not_found': string;
159
- 'link.flow.connectable.validation.target_node_not_found': string;
160
- 'link.flow.connectable.validation.source_port_not_found': string;
161
- 'link.flow.connectable.validation.target_port_not_found': string;
162
- 'link.flow.connectable.validation.port_type_mismatch': string;
163
- 'link.flow.connectable.validation.source_node_not_allowed': string;
164
- 'link.flow.connectable.validation.target_node_not_allowed': string;
165
- 'link.flow.connectable.validation.source_node_denied': string;
166
- 'link.flow.connectable.validation.target_node_denied': string;
167
- 'link.flow.connectable.validation.source_max_connections_reached': string;
168
- 'link.flow.connectable.validation.target_max_connections_reached': string;
169
- 'link.flow.connectable.validation.self_connection_not_allowed': string;
170
148
  'link.flow.switch.condition_one': string;
171
149
  'link.flow.switch.condition_two': string;
172
150
  'link.flow.switch.condition_n': string;
@@ -145,28 +145,6 @@ declare const _default: {
145
145
  'link.flow.force_online_confirm': string;
146
146
  'link.flow.offline_success': string;
147
147
  'link.flow.operation_title': string;
148
- 'link.flow.connectable.category_unavailable': string;
149
- 'link.flow.connectable.connector_unavailable': string;
150
- 'link.flow.connectable.action_unavailable': string;
151
- 'link.flow.connectable.load_failed': string;
152
- 'link.flow.connectable.no_compatible_nodes': string;
153
- 'link.flow.connectable.no_compatible_input': string;
154
- 'link.flow.connectable.no_compatible_output': string;
155
- 'link.flow.connectable.no_bidirectional_compatible_port': string;
156
- 'link.flow.connectable.schema_unavailable': string;
157
- 'link.flow.connectable.existing_edge_invalid': string;
158
- 'link.flow.connectable.validation.source_node_not_found': string;
159
- 'link.flow.connectable.validation.target_node_not_found': string;
160
- 'link.flow.connectable.validation.source_port_not_found': string;
161
- 'link.flow.connectable.validation.target_port_not_found': string;
162
- 'link.flow.connectable.validation.port_type_mismatch': string;
163
- 'link.flow.connectable.validation.source_node_not_allowed': string;
164
- 'link.flow.connectable.validation.target_node_not_allowed': string;
165
- 'link.flow.connectable.validation.source_node_denied': string;
166
- 'link.flow.connectable.validation.target_node_denied': string;
167
- 'link.flow.connectable.validation.source_max_connections_reached': string;
168
- 'link.flow.connectable.validation.target_max_connections_reached': string;
169
- 'link.flow.connectable.validation.self_connection_not_allowed': string;
170
148
  'link.flow.switch.condition_one': string;
171
149
  'link.flow.switch.condition_two': string;
172
150
  'link.flow.switch.condition_n': string;
@@ -144,28 +144,6 @@ declare const _default: {
144
144
  'link.flow.force_online_confirm': string;
145
145
  'link.flow.offline_success': string;
146
146
  'link.flow.operation_title': string;
147
- 'link.flow.connectable.category_unavailable': string;
148
- 'link.flow.connectable.connector_unavailable': string;
149
- 'link.flow.connectable.action_unavailable': string;
150
- 'link.flow.connectable.load_failed': string;
151
- 'link.flow.connectable.no_compatible_nodes': string;
152
- 'link.flow.connectable.no_compatible_input': string;
153
- 'link.flow.connectable.no_compatible_output': string;
154
- 'link.flow.connectable.no_bidirectional_compatible_port': string;
155
- 'link.flow.connectable.schema_unavailable': string;
156
- 'link.flow.connectable.existing_edge_invalid': string;
157
- 'link.flow.connectable.validation.source_node_not_found': string;
158
- 'link.flow.connectable.validation.target_node_not_found': string;
159
- 'link.flow.connectable.validation.source_port_not_found': string;
160
- 'link.flow.connectable.validation.target_port_not_found': string;
161
- 'link.flow.connectable.validation.port_type_mismatch': string;
162
- 'link.flow.connectable.validation.source_node_not_allowed': string;
163
- 'link.flow.connectable.validation.target_node_not_allowed': string;
164
- 'link.flow.connectable.validation.source_node_denied': string;
165
- 'link.flow.connectable.validation.target_node_denied': string;
166
- 'link.flow.connectable.validation.source_max_connections_reached': string;
167
- 'link.flow.connectable.validation.target_max_connections_reached': string;
168
- 'link.flow.connectable.validation.self_connection_not_allowed': string;
169
147
  'link.flow.switch.condition_one': string;
170
148
  'link.flow.switch.condition_two': string;
171
149
  'link.flow.switch.condition_n': string;
@@ -144,28 +144,6 @@ declare const _default: {
144
144
  'link.flow.force_online_confirm': string;
145
145
  'link.flow.offline_success': string;
146
146
  'link.flow.operation_title': string;
147
- 'link.flow.connectable.category_unavailable': string;
148
- 'link.flow.connectable.connector_unavailable': string;
149
- 'link.flow.connectable.action_unavailable': string;
150
- 'link.flow.connectable.load_failed': string;
151
- 'link.flow.connectable.no_compatible_nodes': string;
152
- 'link.flow.connectable.no_compatible_input': string;
153
- 'link.flow.connectable.no_compatible_output': string;
154
- 'link.flow.connectable.no_bidirectional_compatible_port': string;
155
- 'link.flow.connectable.schema_unavailable': string;
156
- 'link.flow.connectable.existing_edge_invalid': string;
157
- 'link.flow.connectable.validation.source_node_not_found': string;
158
- 'link.flow.connectable.validation.target_node_not_found': string;
159
- 'link.flow.connectable.validation.source_port_not_found': string;
160
- 'link.flow.connectable.validation.target_port_not_found': string;
161
- 'link.flow.connectable.validation.port_type_mismatch': string;
162
- 'link.flow.connectable.validation.source_node_not_allowed': string;
163
- 'link.flow.connectable.validation.target_node_not_allowed': string;
164
- 'link.flow.connectable.validation.source_node_denied': string;
165
- 'link.flow.connectable.validation.target_node_denied': string;
166
- 'link.flow.connectable.validation.source_max_connections_reached': string;
167
- 'link.flow.connectable.validation.target_max_connections_reached': string;
168
- 'link.flow.connectable.validation.self_connection_not_allowed': string;
169
147
  'link.flow.switch.condition_one': string;
170
148
  'link.flow.switch.condition_two': string;
171
149
  'link.flow.switch.condition_n': string;