@gadmin2n/schematics 0.0.144 → 0.0.146

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 (280) hide show
  1. package/dist/lib/application/files/gadmin2-game-angle-demo/config/.types.d.ts +10 -0
  2. package/dist/lib/application/files/gadmin2-game-angle-demo/config/prisma/approval.prisma +2 -0
  3. package/dist/lib/application/files/gadmin2-game-angle-demo/config/prisma/workflow.prisma +140 -19
  4. package/dist/lib/application/files/gadmin2-game-angle-demo/server/package.json +2 -2
  5. package/dist/lib/application/files/gadmin2-game-angle-demo/server/seed/data-mngt.seed.ts +0 -2
  6. package/dist/lib/application/files/gadmin2-game-angle-demo/server/seed/workflow-node-types.ts +694 -327
  7. package/dist/lib/application/files/gadmin2-game-angle-demo/server/seed/workflow-outbox.ts +49 -0
  8. package/dist/lib/application/files/gadmin2-game-angle-demo/server/seed/workflow.seed.ts +35 -5
  9. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/agenda/agenda.service.ts +14 -24
  10. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/codeRuntime/code-executor.spec.ts +23 -0
  11. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/codeRuntime/code-executor.ts +16 -5
  12. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/codeRuntime/code-runtime.controller.spec.ts +98 -0
  13. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/codeRuntime/code-runtime.controller.ts +26 -6
  14. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/codeRuntime/code-runtime.dto.ts +17 -2
  15. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction-runtime.controller.spec.ts +1 -0
  16. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction-runtime.controller.ts +3 -0
  17. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction-runtime.dto.ts +0 -2
  18. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction-signal-outbox.service.spec.ts +30 -0
  19. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction-signal-outbox.service.ts +28 -6
  20. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction.service.spec.ts +63 -0
  21. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-interaction.service.ts +151 -38
  22. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/external-wait.handler.ts +4 -1
  23. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/human-approval.handler.spec.ts +16 -5
  24. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/externalInteraction/human-approval.handler.ts +23 -6
  25. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/httpRequest/http-request-runtime.controller.spec.ts +130 -0
  26. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/httpRequest/http-request-runtime.controller.ts +62 -62
  27. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/httpRequest/http-request-runtime.dto.ts +15 -1
  28. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/httpRequest/http-request-runtime.util.spec.ts +70 -9
  29. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/httpRequest/http-request-runtime.util.ts +31 -7
  30. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/approval-signal-outbox.service.spec.ts +30 -0
  31. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/approval-signal-outbox.service.ts +28 -6
  32. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/approval-subject-source.util.spec.ts +50 -3
  33. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/approval-subject-source.util.ts +26 -3
  34. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/human-approval.dto.ts +53 -47
  35. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/human-approval.errors.ts +0 -1
  36. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/human-approval.service.spec.ts +541 -0
  37. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/human-approval.service.ts +442 -200
  38. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/outbox-retry.util.ts +1 -0
  39. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/runtime/human-approval-runtime.controller.spec.ts +150 -0
  40. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/runtime/human-approval-runtime.controller.ts +56 -40
  41. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/runtime/human-approval-runtime.dto.ts +16 -60
  42. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/integrationConnection/integration-connection.controller.ts +13 -0
  43. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/integrationConnection/integration-connection.service.spec.ts +44 -0
  44. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/integrationConnection/integration-connection.service.ts +6 -0
  45. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/dsl-validate.util.spec.ts +258 -12
  46. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/dsl-validate.util.ts +127 -14
  47. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/manual-workflow-execution.spec.ts +85 -0
  48. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/manual-workflow-execution.ts +108 -0
  49. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/parameter-binding.ts +5 -5
  50. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/temporal.service.spec.ts +96 -25
  51. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/temporal.service.ts +77 -34
  52. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-callable.spec.ts +23 -34
  53. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-callable.ts +0 -21
  54. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-cancellation.spec.ts +245 -0
  55. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-compiler.service.spec.ts +639 -188
  56. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-compiler.service.ts +408 -235
  57. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-compiler.types.ts +1 -3
  58. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-data-edge.util.spec.ts +279 -95
  59. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-data-edge.util.ts +360 -80
  60. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-event-catalog.spec.ts +323 -0
  61. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-execution-idempotency.spec.ts +773 -0
  62. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-execution.dto.ts +7 -13
  63. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-export.dto.ts +0 -16
  64. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-export.service.spec.ts +184 -0
  65. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-export.service.ts +69 -138
  66. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-handle-validator.spec.ts +113 -0
  67. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-handle-validator.ts +59 -13
  68. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-runtime.facade.ts +86 -0
  69. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-switch-config.spec.ts +25 -0
  70. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-switch-config.ts +45 -0
  71. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow.controller.spec.ts +78 -43
  72. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow.controller.ts +103 -40
  73. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow.dto.ts +57 -0
  74. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow.module.ts +3 -1
  75. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow.service.spec.ts +1000 -240
  76. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow.service.ts +2184 -317
  77. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowConfig/node-config-validator.service.spec.ts +279 -2
  78. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowConfig/node-config-validator.service.ts +5 -1
  79. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowConfig/subject-config-validator.service.spec.ts +4 -1
  80. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowConfig/subject-config-validator.service.ts +5 -1
  81. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowConfig/widget-catalog.service.spec.ts +12 -3
  82. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowConfig/widget-catalog.service.ts +10 -1
  83. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowNodeInstance/workflowNodeInstance.service.spec.ts +2 -24
  84. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowNodeInstance/workflowNodeInstance.service.ts +3 -70
  85. package/dist/lib/application/files/gadmin2-game-angle-demo/web/package.json +3 -1
  86. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/RowActions.tsx +25 -5
  87. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/WorkflowActionButton.test.tsx +71 -0
  88. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/WorkflowActionButton.tsx +89 -0
  89. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/index.ts +1 -0
  90. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/layout/header.tsx +52 -12
  91. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/config/routeRegistry.tsx +12 -0
  92. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/constants/layout.ts +2 -2
  93. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/dev-shell/AddDataModal.tsx +10 -33
  94. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/dev-shell/AddPageModal.tsx +13 -37
  95. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/dev-shell/DevShell.tsx +55 -7
  96. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/dev-shell/style.css +14 -0
  97. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/helpers/http.ts +10 -0
  98. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/helpers/list.tsx +1 -0
  99. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/helpers/workflowAction.ts +19 -0
  100. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/hooks/index.ts +1 -0
  101. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/hooks/types.ts +3 -1
  102. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/hooks/useDynamicResources.tsx +1 -6
  103. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/hooks/useReferenceUpload.ts +95 -0
  104. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/locales/en/common.json +2 -2
  105. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/locales/en/workflow.json +672 -110
  106. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/locales/zh_CN/common.json +2 -2
  107. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/locales/zh_CN/workflow.json +676 -114
  108. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/plugins/devShellPlugin.ts +13 -1
  109. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/agenda/index.tsx +1 -0
  110. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/CanvasEditPage.tsx +38 -4
  111. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/CanvasListPage.tsx +276 -376
  112. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/components/CanvasAiModal.tsx +126 -6
  113. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/human-approval/DecisionModal.test.tsx +50 -0
  114. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/human-approval/DecisionModal.tsx +48 -11
  115. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/human-approval/inbox.tsx +32 -34
  116. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/RegisterBusinessEventModal.test.tsx +111 -0
  117. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/RegisterBusinessEventModal.tsx +167 -0
  118. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/business-events.css +99 -0
  119. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/detail.test.tsx +106 -0
  120. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/detail.tsx +324 -0
  121. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/index.test.tsx +73 -0
  122. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/business-events/index.tsx +359 -0
  123. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/CanvasZoomControls.tsx +46 -0
  124. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/CreateNodeInstanceDrawer.tsx +9 -1
  125. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/CustomNode.test.tsx +105 -4
  126. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/CustomNode.tsx +90 -48
  127. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/DeletableEdge.tsx +3 -2
  128. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/DslView.test.tsx +259 -0
  129. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/DslView.tsx +167 -103
  130. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/EnhancedFlowRenderer.tsx +142 -140
  131. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/ExecutionStatusNode.test.tsx +60 -15
  132. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/ExecutionStatusNode.tsx +25 -12
  133. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/FlowRenderer.tsx +364 -200
  134. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/NewNodeDefaults.test.tsx +220 -52
  135. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/NodeOutputSummary.test.tsx +260 -0
  136. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/NodeOutputSummary.tsx +300 -130
  137. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/NodePropertyPanel.test.tsx +507 -33
  138. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/NodePropertyPanel.tsx +630 -592
  139. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/ParameterBindingEditor.tsx +67 -70
  140. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/ReadonlyNodePanel.test.tsx +90 -0
  141. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/ReadonlyNodePanel.tsx +325 -0
  142. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/RunWorkflowModal.test.tsx +52 -0
  143. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/RunWorkflowModal.tsx +14 -9
  144. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/StatusCards.tsx +2 -1
  145. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/VersionPanel.tsx +2 -1
  146. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/WorkflowCodeEditor.test.tsx +42 -0
  147. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/WorkflowCodeEditor.tsx +76 -0
  148. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/WorkflowWorkspaceHeader.tsx +56 -0
  149. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/parameter-binding-editor.css +46 -0
  150. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/workflow-code-editor.css +34 -0
  151. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/connections/ConnectionModal.test.tsx +53 -7
  152. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/connections/ConnectionModal.tsx +123 -62
  153. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/connections/connections.css +85 -0
  154. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/connections/connectionsApi.ts +29 -0
  155. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/connections/index.test.tsx +75 -0
  156. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/connections/index.tsx +69 -36
  157. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/editor.test.tsx +494 -0
  158. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/editor.tsx +665 -194
  159. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/hooks/useReferencedNodeInstanceConfigs.test.tsx +92 -0
  160. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/hooks/useReferencedNodeInstanceConfigs.ts +96 -0
  161. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/hooks/useWorkflowAgent.test.tsx +297 -0
  162. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/hooks/useWorkflowAgent.ts +135 -65
  163. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/index.tsx +53 -42
  164. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/instance-detail.tsx +344 -155
  165. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/instances.tsx +79 -58
  166. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/components/CreateNodeInstanceModal.tsx +123 -144
  167. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/components/NodeInstanceForm.tsx +169 -98
  168. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/components/node-instance-form.css +91 -0
  169. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/index.tsx +54 -31
  170. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/node-config.css +854 -0
  171. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/schema-form/SchemaField.tsx +41 -14
  172. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/schema-form/SchemaForm.test.tsx +75 -0
  173. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/schema-form/SchemaForm.tsx +3 -0
  174. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/schema-form/default-widgets.tsx +20 -2
  175. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/schema-form/widget-registry.tsx +2 -1
  176. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/show.tsx +61 -66
  177. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ApprovalRuleEditor.test.tsx +33 -1
  178. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ApprovalRuleEditor.tsx +47 -15
  179. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/BranchConfigEditors.test.tsx +104 -0
  180. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/CallableInputParametersEditor.tsx +22 -52
  181. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/CodeConfigEditor.test.tsx +72 -0
  182. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/CodeConfigEditor.tsx +78 -70
  183. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/CronTriggerConfigEditor.tsx +569 -0
  184. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/DbExecuteConfigEditor.tsx +130 -0
  185. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/DelayConfigEditor.tsx +100 -0
  186. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/EventTriggerConfigEditor.tsx +620 -0
  187. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ExternalRequestConfigEditor.test.tsx +22 -45
  188. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ExternalRequestConfigEditor.tsx +25 -92
  189. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ExternalWaitConfigEditor.tsx +3 -11
  190. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ForEachConfigEditor.test.tsx +58 -0
  191. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ForEachConfigEditor.tsx +107 -0
  192. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/HttpRequestConfigEditor.test.tsx +212 -31
  193. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/HttpRequestConfigEditor.tsx +214 -304
  194. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/HumanApprovalConfigEditor.test.tsx +175 -40
  195. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/HumanApprovalConfigEditor.tsx +693 -293
  196. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/IfElseConfigEditor.tsx +190 -0
  197. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ManualTriggerConfigEditor.test.tsx +152 -0
  198. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ManualTriggerConfigEditor.tsx +286 -0
  199. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ParallelConfigEditor.tsx +101 -0
  200. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ParameterBindingListEditor.tsx +99 -0
  201. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/SimplifiedNodeEditors.test.tsx +495 -0
  202. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/SubWorkflowConfigEditor.test.tsx +124 -0
  203. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/SubWorkflowConfigEditor.tsx +222 -0
  204. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/SubjectPicker.tsx +2 -4
  205. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/SwitchConfigEditor.tsx +204 -0
  206. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/UserGroupCreateModal.tsx +3 -1
  207. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/UserGroupEditModal.tsx +9 -6
  208. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/callable-workflow.ts +4 -0
  209. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/code-config.css +96 -0
  210. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/event-catalog.api.ts +117 -0
  211. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/http-request-config.css +242 -0
  212. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/human-approval-config.css +194 -0
  213. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/show.tsx +264 -167
  214. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/temporal-tenant/index.tsx +6 -9
  215. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/types/parameter-binding.ts +19 -16
  216. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/types.ts +28 -4
  217. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/useWorkflowFormValidation.test.tsx +59 -0
  218. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/useWorkflowFormValidation.ts +24 -0
  219. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/forEachConnection.test.ts +311 -0
  220. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/forEachConnection.ts +198 -0
  221. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/mainFlowConnection.test.ts +143 -0
  222. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/mainFlowConnection.ts +19 -0
  223. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/newNodeConfig.ts +103 -5
  224. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/removeWorkflowEdges.test.ts +158 -3
  225. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/removeWorkflowEdges.ts +117 -9
  226. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveEffectiveOutput.test.ts +70 -0
  227. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveEffectiveOutput.ts +48 -0
  228. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveLookupPorts.test.ts +55 -0
  229. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveLookupPorts.ts +95 -22
  230. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveOutputs.test.ts +148 -1
  231. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveOutputs.ts +62 -11
  232. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveWorkflowDisplay.test.ts +19 -0
  233. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/resolveWorkflowDisplay.ts +1 -1
  234. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/subWorkflowChange.test.ts +45 -0
  235. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/subWorkflowChange.ts +26 -0
  236. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/validateWorkflowDsl.test.ts +502 -0
  237. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/validateWorkflowDsl.ts +694 -0
  238. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowDateTime.test.ts +27 -0
  239. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowDateTime.ts +33 -0
  240. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowHistory.test.ts +34 -0
  241. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowHistory.ts +52 -0
  242. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowPublishError.test.ts +99 -0
  243. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowPublishError.ts +91 -0
  244. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowSkillPrompt.test.ts +74 -0
  245. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/workflowSkillPrompt.ts +120 -0
  246. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/workflow-ui.css +481 -0
  247. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/styles/index.css +1 -1
  248. package/package.json +1 -1
  249. package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/WorkflowEventOutbox.ts +0 -62
  250. package/dist/lib/application/files/gadmin2-game-angle-demo/server/scripts/migrate-human-approval-configs.ts +0 -86
  251. package/dist/lib/application/files/gadmin2-game-angle-demo/server/seed/workflow-event-trigger.ts +0 -60
  252. package/dist/lib/application/files/gadmin2-game-angle-demo/server/seed/workflows.ts +0 -698
  253. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/human-approval.external-decision.spec.ts +0 -183
  254. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/humanApproval/legacy-approval-config-migration.ts +0 -227
  255. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-http-response.spec.ts +0 -82
  256. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/workflow-http-response.ts +0 -111
  257. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowEventOutbox/workflowEventOutbox.controller.spec.ts +0 -54
  258. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowEventOutbox/workflowEventOutbox.controller.ts +0 -147
  259. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowEventOutbox/workflowEventOutbox.module.ts +0 -10
  260. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowEventOutbox/workflowEventOutbox.service.spec.ts +0 -350
  261. package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflowEventOutbox/workflowEventOutbox.service.ts +0 -110
  262. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/audit/index.ts +0 -1
  263. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/InstanceRequiredDialog.tsx +0 -106
  264. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/LookupConnectionDialog.test.tsx +0 -45
  265. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/LookupConnectionDialog.tsx +0 -43
  266. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/components/NodeTypeBadge.tsx +0 -36
  267. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/hooks/useNodeInstanceLibrary.ts +0 -41
  268. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ApproverSourceEditor.test.tsx +0 -47
  269. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ApproverSourceEditor.tsx +0 -182
  270. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ReturnResultConfigEditor.test.tsx +0 -34
  271. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/ReturnResultConfigEditor.tsx +0 -16
  272. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/approver-source.test.ts +0 -25
  273. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/widgets/approver-source.ts +0 -42
  274. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/lookupConnection.test.ts +0 -208
  275. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/utils/lookupConnection.ts +0 -246
  276. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflowEventOutbox/create.tsx +0 -111
  277. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflowEventOutbox/edit.tsx +0 -127
  278. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflowEventOutbox/index.tsx +0 -4
  279. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflowEventOutbox/list.tsx +0 -282
  280. package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflowEventOutbox/show.tsx +0 -74
@@ -1,12 +1,30 @@
1
+ .workflow-node-config {
2
+ --workflow-panel-title-size: 16px;
3
+ --workflow-content-title-size: 18px;
4
+ --workflow-panel-section-title-size: 14px;
5
+ --workflow-panel-field-title-size: 12px;
6
+ }
7
+
1
8
  .workflow-node-config .ant-form-item {
2
9
  margin-bottom: 12px;
3
10
  }
4
11
 
12
+ .workflow-node-config .ant-form-item-label > label {
13
+ color: var(--ant-color-text-secondary);
14
+ font-size: var(--workflow-panel-field-title-size);
15
+ font-weight: 500;
16
+ }
17
+
5
18
  .workflow-node-config .ant-card-small > .ant-card-head {
6
19
  min-height: 36px;
7
20
  padding-inline: 12px;
8
21
  }
9
22
 
23
+ .workflow-node-config .ant-card-small > .ant-card-head .ant-card-head-title {
24
+ font-size: var(--workflow-panel-section-title-size);
25
+ font-weight: 600;
26
+ }
27
+
10
28
  .workflow-node-config .ant-card-small > .ant-card-body {
11
29
  padding: 12px;
12
30
  }
@@ -27,9 +45,845 @@
27
45
  line-height: 1.5;
28
46
  }
29
47
 
48
+ .workflow-node-config .ant-typography-strong {
49
+ font-size: var(--workflow-panel-field-title-size);
50
+ font-weight: 500;
51
+ line-height: 20px;
52
+ }
53
+
30
54
  .workflow-node-config__section-title {
31
55
  display: block;
32
56
  margin-bottom: 8px;
57
+ font-size: var(--workflow-panel-section-title-size);
58
+ font-weight: 600;
59
+ }
60
+
61
+ .workflow-node-config__inline-message {
62
+ display: block;
63
+ margin-top: 8px;
64
+ font-size: 12px;
65
+ line-height: 1.5;
66
+ }
67
+
68
+ .workflow-node-config__field-label {
69
+ display: block;
70
+ color: var(--ant-color-text-secondary);
71
+ font-size: var(--workflow-panel-field-title-size);
72
+ font-weight: 500;
73
+ line-height: 20px;
74
+ }
75
+
76
+ .workflow-panel-action.ant-btn {
77
+ min-height: 30px;
78
+ padding-inline: 10px;
79
+ border-color: var(--ant-color-border-secondary);
80
+ border-radius: 7px;
81
+ background: var(--ant-color-fill-quaternary);
82
+ color: var(--ant-color-text-secondary);
83
+ box-shadow: none;
84
+ font-size: 12px;
85
+ font-weight: 500;
86
+ }
87
+
88
+ .workflow-panel-action.ant-btn.ant-btn-dashed {
89
+ border-style: solid;
90
+ }
91
+
92
+ .workflow-panel-action.ant-btn:not(:disabled):hover,
93
+ .workflow-panel-action.ant-btn:not(:disabled):focus-visible {
94
+ border-color: var(--ant-color-primary-border-hover);
95
+ background: var(--ant-color-primary-bg-hover);
96
+ color: var(--ant-color-primary);
97
+ }
98
+
99
+ .workflow-panel-action.ant-btn:focus-visible {
100
+ outline: 2px solid var(--ant-color-primary-border);
101
+ outline-offset: 1px;
102
+ }
103
+
104
+ .workflow-panel-action.ant-btn:disabled {
105
+ border-color: var(--ant-color-border-secondary);
106
+ background: var(--ant-color-fill-quaternary);
107
+ }
108
+
109
+ .manual-trigger-config__description.ant-typography {
110
+ margin: -2px 0 12px;
111
+ }
112
+
113
+ .manual-trigger-config__empty {
114
+ margin-bottom: 10px;
115
+ padding: 16px 12px;
116
+ border: 1px dashed var(--ant-color-border);
117
+ border-radius: 8px;
118
+ text-align: center;
119
+ }
120
+
121
+ .manual-trigger-config__list {
122
+ margin-bottom: 10px;
123
+ border-block: 1px solid var(--ant-color-border-secondary);
124
+ }
125
+
126
+ .manual-trigger-config__row {
127
+ padding: 12px 0;
128
+ border-bottom: 1px solid var(--ant-color-border-secondary);
129
+ }
130
+
131
+ .manual-trigger-config__row:last-child {
132
+ border-bottom: 0;
133
+ }
134
+
135
+ .manual-trigger-config__primary {
136
+ display: grid;
137
+ grid-template-columns: minmax(120px, 1fr) 112px 48px 32px;
138
+ align-items: start;
139
+ gap: 8px;
140
+ }
141
+
142
+ .manual-trigger-config__secondary {
143
+ display: grid;
144
+ grid-template-columns: minmax(120px, 0.8fr) minmax(160px, 1.2fr);
145
+ gap: 8px;
146
+ margin-top: 8px;
147
+ }
148
+
149
+ .manual-trigger-config__primary .ant-select {
150
+ width: 100%;
151
+ }
152
+
153
+ .manual-trigger-config__required {
154
+ display: flex;
155
+ flex-direction: column;
156
+ align-items: flex-start;
157
+ gap: 6px;
158
+ }
159
+
160
+ .manual-trigger-config__primary > .ant-btn {
161
+ margin-top: 20px;
162
+ }
163
+
164
+ .manual-trigger-config__error.ant-typography {
165
+ display: block;
166
+ margin-top: 4px;
167
+ font-size: 12px;
168
+ }
169
+
170
+ .cron-trigger-config {
171
+ display: flex;
172
+ flex-direction: column;
173
+ gap: 14px;
174
+ }
175
+
176
+ .cron-trigger-config__field {
177
+ display: flex;
178
+ flex-direction: column;
179
+ gap: 4px;
180
+ }
181
+
182
+ .cron-trigger-config__hint.ant-typography {
183
+ font-size: 12px;
184
+ line-height: 1.5;
185
+ }
186
+
187
+ .cron-trigger-config__time-list {
188
+ display: flex;
189
+ flex-direction: column;
190
+ gap: 8px;
191
+ }
192
+
193
+ .cron-trigger-config__time-row {
194
+ display: grid;
195
+ grid-template-columns: minmax(0, 1fr) auto;
196
+ gap: 8px;
197
+ align-items: center;
198
+ }
199
+
200
+ .cron-trigger-config__time-row .ant-picker {
201
+ width: 100%;
202
+ }
203
+
204
+ .cron-trigger-config__field > .workflow-panel-action {
205
+ align-self: flex-start;
206
+ margin-top: 4px;
207
+ }
208
+
209
+ .switch-config__rules,
210
+ .switch-config__rule-list,
211
+ .switch-config__condition,
212
+ .switch-config__destination {
213
+ display: flex;
214
+ flex-direction: column;
215
+ }
216
+
217
+ .switch-config__rules {
218
+ gap: 8px;
219
+ }
220
+
221
+ .switch-config__rule-list {
222
+ gap: 10px;
223
+ }
224
+
225
+ .switch-config__rule {
226
+ padding: 10px 0 12px;
227
+ border-top: 1px solid var(--ant-color-border-secondary);
228
+ }
229
+
230
+ .switch-config__rule:last-child {
231
+ border-bottom: 1px solid var(--ant-color-border-secondary);
232
+ }
233
+
234
+ .switch-config__rule-head {
235
+ display: flex;
236
+ align-items: center;
237
+ justify-content: space-between;
238
+ min-height: 28px;
239
+ margin-bottom: 8px;
240
+ }
241
+
242
+ .switch-config__condition,
243
+ .switch-config__destination {
244
+ gap: 6px;
245
+ }
246
+
247
+ .switch-config__destination {
248
+ margin-top: 10px;
249
+ }
250
+
251
+ .switch-config__rules > .workflow-panel-action {
252
+ align-self: flex-start;
253
+ }
254
+
255
+ .switch-config__default {
256
+ display: grid;
257
+ grid-template-columns: auto minmax(0, 1fr);
258
+ gap: 8px;
259
+ align-items: baseline;
260
+ padding-top: 10px;
261
+ border-top: 1px solid var(--ant-color-border-secondary);
262
+ }
263
+
264
+ .parallel-config__intro,
265
+ .parallel-config__branch-list,
266
+ .parallel-config__branch {
267
+ display: flex;
268
+ flex-direction: column;
269
+ }
270
+
271
+ .parallel-config__intro {
272
+ gap: 4px;
273
+ }
274
+
275
+ .parallel-config__branch-list {
276
+ gap: 0;
277
+ }
278
+
279
+ .parallel-config__branch {
280
+ gap: 6px;
281
+ padding: 10px 0 12px;
282
+ border-top: 1px solid var(--ant-color-border-secondary);
283
+ }
284
+
285
+ .parallel-config__branch:last-child {
286
+ border-bottom: 1px solid var(--ant-color-border-secondary);
287
+ }
288
+
289
+ .parallel-config__branch-head {
290
+ display: flex;
291
+ align-items: center;
292
+ justify-content: space-between;
293
+ min-height: 28px;
294
+ }
295
+
296
+ .parallel-config__field-label.ant-typography {
297
+ font-size: 12px;
298
+ color: var(--ant-color-text-secondary);
299
+ }
300
+
301
+ .parallel-config__hint.ant-typography {
302
+ font-size: 12px;
303
+ line-height: 1.5;
304
+ }
305
+
306
+ .parallel-config > .workflow-panel-action {
307
+ align-self: flex-start;
308
+ }
309
+
310
+ .db-execute-config__permission {
311
+ display: flex;
312
+ align-items: center;
313
+ justify-content: space-between;
314
+ gap: 16px;
315
+ }
316
+
317
+ .db-execute-config__hint.ant-typography {
318
+ display: block;
319
+ margin-top: 2px;
320
+ font-size: 12px;
321
+ line-height: 1.5;
322
+ }
323
+
324
+ .callable-input-parameters__row {
325
+ display: grid;
326
+ min-width: 0;
327
+ grid-template-columns: repeat(2, minmax(0, 1fr));
328
+ gap: 10px 12px;
329
+ margin-bottom: 10px;
330
+ padding: 12px;
331
+ border: 1px solid var(--ant-color-border-secondary);
332
+ border-radius: 8px;
333
+ background: var(--ant-color-fill-quaternary);
334
+ }
335
+
336
+ .callable-input-parameters__actions {
337
+ display: flex;
338
+ grid-column: 1 / -1;
339
+ align-items: flex-end;
340
+ justify-content: space-between;
341
+ gap: 12px;
342
+ padding-top: 2px;
343
+ }
344
+
345
+ .callable-input-parameters__required {
346
+ display: flex;
347
+ align-items: center;
348
+ gap: 10px;
349
+ }
350
+
351
+ .workflow-node-panel {
352
+ margin: 8px 8px 8px 0;
353
+ overflow: hidden;
354
+ border: 1px solid var(--ant-color-border-secondary);
355
+ border-radius: 12px;
356
+ background: var(--ant-color-bg-container);
357
+ }
358
+
359
+ .workflow-node-panel--editor {
360
+ position: relative;
361
+ display: flex;
362
+ flex-direction: column;
363
+ min-width: 360px;
364
+ overflow: hidden;
365
+ border: 1px solid var(--ant-color-border-secondary);
366
+ background: var(--ant-color-bg-container);
367
+ }
368
+
369
+ .workflow-node-panel__header {
370
+ display: flex;
371
+ align-items: center;
372
+ justify-content: space-between;
373
+ gap: 12px;
374
+ min-height: 44px;
375
+ padding: 9px 14px;
376
+ border-bottom: 1px solid var(--ant-color-border-secondary);
377
+ background: var(--ant-color-bg-container);
378
+ }
379
+
380
+ .workflow-node-panel__identity {
381
+ display: flex;
382
+ min-width: 0;
383
+ align-items: center;
384
+ gap: 8px;
385
+ }
386
+
387
+ .workflow-node-panel__title.ant-typography {
388
+ margin: 0;
389
+ color: var(--ant-color-text);
390
+ font-size: var(--workflow-panel-title-size);
391
+ font-weight: 600;
392
+ line-height: 22px;
393
+ white-space: nowrap;
394
+ }
395
+
396
+ .workflow-node-panel__identity-name.ant-typography {
397
+ display: inline-flex;
398
+ min-width: 0;
399
+ min-height: 22px;
400
+ align-items: center;
401
+ overflow: hidden;
402
+ margin: 0;
403
+ padding: 1px 8px;
404
+ border: 1px solid var(--ant-color-border-secondary);
405
+ border-radius: 999px;
33
406
  font-size: 13px;
34
407
  font-weight: 600;
408
+ line-height: 18px;
409
+ text-overflow: ellipsis;
410
+ white-space: nowrap;
411
+ }
412
+
413
+ .workflow-node-panel__template-copy code {
414
+ color: var(--ant-color-text-secondary);
415
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
416
+ font-size: 11px;
417
+ }
418
+
419
+ .workflow-node-panel__tabs {
420
+ padding: 8px 14px;
421
+ border-bottom: 1px solid var(--ant-color-border-secondary);
422
+ background: var(--ant-color-bg-container);
423
+ }
424
+
425
+ .workflow-node-panel__scroll {
426
+ flex: 1;
427
+ min-height: 0;
428
+ overflow: auto;
429
+ padding: 16px;
430
+ background: var(--ant-color-fill-quaternary);
431
+ }
432
+
433
+ .workflow-node-panel__stack.ant-space {
434
+ gap: 16px !important;
435
+ }
436
+
437
+ .workflow-node-panel__approval-sections .human-approval-config {
438
+ display: flex;
439
+ flex-direction: column;
440
+ gap: 16px;
441
+ }
442
+
443
+ .workflow-node-panel__approval-sections .human-approval-config__section {
444
+ margin: 0;
445
+ padding: 16px;
446
+ border: 1px solid var(--ant-color-border-secondary);
447
+ border-radius: 10px;
448
+ background: var(--ant-color-bg-container);
449
+ }
450
+
451
+ .workflow-node-panel__approval-sections
452
+ .human-approval-config__section-title::after {
453
+ display: none;
454
+ }
455
+
456
+ .workflow-node-panel__approval-sections .workflow-subject-picker.ant-card {
457
+ border: 0;
458
+ background: transparent;
459
+ box-shadow: none;
460
+ }
461
+
462
+ .workflow-node-panel__approval-sections
463
+ .workflow-subject-picker.ant-card
464
+ > .ant-card-body {
465
+ padding: 0;
466
+ }
467
+
468
+ .workflow-node-panel .ant-card {
469
+ border-radius: 10px;
470
+ }
471
+
472
+ .workflow-node-panel .ant-segmented {
473
+ border-radius: 8px;
474
+ }
475
+
476
+ .workflow-node-panel .ant-segmented-item {
477
+ border-radius: 6px;
478
+ }
479
+
480
+ .workflow-node-output__list {
481
+ overflow: hidden;
482
+ border: 1px solid var(--ant-color-border-secondary);
483
+ border-radius: 8px;
484
+ background: var(--ant-color-fill-quaternary);
485
+ }
486
+
487
+ .workflow-node-output__field {
488
+ display: grid;
489
+ min-width: 0;
490
+ overflow: hidden;
491
+ align-items: start;
492
+ grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1.4fr);
493
+ gap: 10px;
494
+ padding: 7px 10px;
495
+ border-bottom: 1px solid var(--ant-color-border-secondary);
496
+ background: transparent;
497
+ }
498
+
499
+ .workflow-node-output__field:last-child {
500
+ border-bottom: 0;
501
+ }
502
+
503
+ .workflow-node-output__field-content {
504
+ min-width: 0;
505
+ }
506
+
507
+ .workflow-node-output__field-head {
508
+ display: grid;
509
+ width: 100%;
510
+ min-width: 0;
511
+ align-items: center;
512
+ grid-template-columns: minmax(0, 1fr) max-content;
513
+ gap: 8px;
514
+ overflow: hidden;
515
+ }
516
+
517
+ .workflow-node-output__field-name {
518
+ display: block;
519
+ width: 100%;
520
+ min-width: 0;
521
+ overflow: hidden;
522
+ color: var(--ant-color-text);
523
+ font-size: 12px;
524
+ font-weight: 600;
525
+ line-height: 1.4;
526
+ text-overflow: ellipsis;
527
+ white-space: nowrap;
528
+ }
529
+
530
+ .workflow-node-output__field-meta {
531
+ display: flex;
532
+ align-items: center;
533
+ gap: 4px;
534
+ white-space: nowrap;
535
+ }
536
+
537
+ .workflow-node-output__field-description {
538
+ display: block;
539
+ margin-top: 3px;
540
+ font-size: 12px;
541
+ }
542
+
543
+ .workflow-node-output__hint {
544
+ display: block;
545
+ margin-bottom: 10px;
546
+ font-size: 12px;
547
+ }
548
+
549
+ .workflow-node-output__required {
550
+ font-size: 11px;
551
+ white-space: nowrap;
552
+ }
553
+
554
+ .workflow-node-output__type.ant-tag {
555
+ margin-inline-end: 0;
556
+ color: var(--ant-color-text-secondary);
557
+ white-space: nowrap;
558
+ }
559
+
560
+ .workflow-node-output__passthrough {
561
+ display: flex;
562
+ align-items: baseline;
563
+ gap: 6px;
564
+ margin-bottom: 10px;
565
+ }
566
+
567
+ .workflow-node-output__passthrough-label {
568
+ font-size: 11px;
569
+ }
570
+
571
+ .workflow-node-output__passthrough-node {
572
+ min-width: 0;
573
+ font-size: 12px;
574
+ }
575
+
576
+ .workflow-node-output__dynamic {
577
+ display: grid;
578
+ min-width: 0;
579
+ align-items: baseline;
580
+ grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1.4fr);
581
+ gap: 10px;
582
+ padding: 7px 10px;
583
+ border: 1px solid var(--ant-color-border-secondary);
584
+ border-radius: 8px;
585
+ background: var(--ant-color-fill-quaternary);
586
+ }
587
+
588
+ .workflow-node-output__dynamic-description {
589
+ font-size: 12px;
590
+ }
591
+
592
+ .workflow-node-output__path {
593
+ display: flex;
594
+ width: fit-content;
595
+ max-width: 100%;
596
+ align-items: center;
597
+ overflow: hidden;
598
+ margin-top: 6px;
599
+ vertical-align: top;
600
+ }
601
+
602
+ .workflow-node-output__path .ant-typography-copy {
603
+ display: inline-flex;
604
+ align-items: center;
605
+ margin-inline: 4px 0;
606
+ color: var(--ant-color-text-secondary);
607
+ opacity: 0;
608
+ transition:
609
+ color 160ms ease,
610
+ opacity 160ms ease;
611
+ }
612
+
613
+ .workflow-node-output__field:hover
614
+ .workflow-node-output__path
615
+ .ant-typography-copy,
616
+ .workflow-node-output__path:hover .ant-typography-copy,
617
+ .workflow-node-output__path:focus-within .ant-typography-copy,
618
+ .workflow-node-output__path .ant-typography-copy:focus-visible,
619
+ .workflow-node-output__path .ant-typography-copy-success {
620
+ color: var(--ant-color-primary);
621
+ opacity: 1;
622
+ }
623
+
624
+ .workflow-node-output__path code {
625
+ overflow: hidden;
626
+ padding: 0;
627
+ border: 0;
628
+ background: transparent;
629
+ color: var(--ant-color-text-secondary);
630
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
631
+ font-size: 11px;
632
+ line-height: 1.6;
633
+ text-overflow: ellipsis;
634
+ white-space: nowrap;
635
+ }
636
+
637
+ .workflow-node-output__field > .workflow-node-output__path,
638
+ .workflow-node-output__dynamic > .workflow-node-output__path {
639
+ margin-top: 0;
640
+ }
641
+
642
+ .workflow-node-output__field > .workflow-node-output__path code,
643
+ .workflow-node-output__dynamic > .workflow-node-output__path code {
644
+ padding: 1px 6px;
645
+ border: 1px solid var(--ant-color-border-secondary);
646
+ border-radius: 4px;
647
+ background: var(--ant-color-fill-secondary);
648
+ font-weight: 600;
649
+ }
650
+
651
+ .workflow-node-output__tree {
652
+ margin-top: 9px;
653
+ padding-top: 8px;
654
+ border-top: 1px solid var(--ant-color-border-secondary);
655
+ }
656
+
657
+ .workflow-node-output__tree-title {
658
+ display: block;
659
+ font-size: 11px;
660
+ line-height: 1.4;
661
+ }
662
+
663
+ .workflow-node-output__tree-list {
664
+ display: grid;
665
+ margin-top: 5px;
666
+ }
667
+
668
+ .workflow-node-output__tree-node {
669
+ position: relative;
670
+ min-width: 0;
671
+ }
672
+
673
+ .workflow-node-output__tree-node::before {
674
+ position: absolute;
675
+ top: -12px;
676
+ bottom: calc(100% - 12px);
677
+ left: 7px;
678
+ border-left: 1px solid var(--ant-color-border-secondary);
679
+ content: '';
680
+ }
681
+
682
+ .workflow-node-output__tree-node:not(:last-child)::before {
683
+ bottom: -12px;
684
+ }
685
+
686
+ .workflow-node-output__tree-list
687
+ > .workflow-node-output__tree-node:first-child::before {
688
+ top: 12px;
689
+ }
690
+
691
+ .workflow-node-output__tree-node::after {
692
+ position: absolute;
693
+ top: 12px;
694
+ left: 7px;
695
+ width: 9px;
696
+ border-top: 1px solid var(--ant-color-border-secondary);
697
+ content: '';
698
+ }
699
+
700
+ .workflow-node-output__tree-row {
701
+ display: grid;
702
+ min-width: 0;
703
+ min-height: 24px;
704
+ align-items: center;
705
+ grid-template-columns: 16px minmax(0, 1fr) auto;
706
+ gap: 4px;
707
+ }
708
+
709
+ .workflow-node-output__tree-value {
710
+ display: flex;
711
+ min-width: 0;
712
+ align-items: baseline;
713
+ gap: 8px;
714
+ }
715
+
716
+ .workflow-node-output__tree-label {
717
+ display: block;
718
+ flex: 1;
719
+ min-width: 0;
720
+ overflow: hidden;
721
+ font-size: 11px;
722
+ }
723
+
724
+ .workflow-node-output__tree-connector {
725
+ width: 16px;
726
+ align-self: stretch;
727
+ }
728
+
729
+ .workflow-node-output__tree-children {
730
+ position: relative;
731
+ margin-left: 14px;
732
+ }
733
+
734
+ .workflow-node-output__tree-children::before {
735
+ position: absolute;
736
+ top: -12px;
737
+ left: -7px;
738
+ width: 14px;
739
+ border-top: 1px solid var(--ant-color-border-secondary);
740
+ content: '';
741
+ }
742
+
743
+ .workflow-node-output__tree-row code {
744
+ overflow: hidden;
745
+ color: var(--ant-color-text-secondary);
746
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
747
+ font-size: 11px;
748
+ line-height: 1.5;
749
+ text-overflow: ellipsis;
750
+ white-space: nowrap;
751
+ }
752
+
753
+ .workflow-node-output__tree-row .workflow-node-output__path--compact {
754
+ flex: none;
755
+ margin-top: 0;
756
+ }
757
+
758
+ .workflow-node-output__tree-row .workflow-node-output__path--compact code {
759
+ padding: 0;
760
+ border: 0;
761
+ background: transparent;
762
+ }
763
+
764
+ .workflow-node-output__tree-row
765
+ .workflow-node-output__path--compact
766
+ .ant-typography-copy {
767
+ margin-inline-end: 0;
768
+ }
769
+
770
+ .workflow-node-output__tree-type.ant-tag {
771
+ margin-inline-end: 0;
772
+ font-size: 10px;
773
+ white-space: nowrap;
774
+ }
775
+
776
+ @media (prefers-reduced-motion: reduce) {
777
+ .workflow-node-output__path .ant-typography-copy {
778
+ transition: none;
779
+ }
780
+ }
781
+
782
+ @media (max-width: 620px) {
783
+ .workflow-node-output__field,
784
+ .workflow-node-output__dynamic {
785
+ grid-template-columns: minmax(0, 1fr);
786
+ gap: 6px;
787
+ }
788
+ }
789
+
790
+ .workflow-readonly-panel__advanced .workflow-node-panel__section-head {
791
+ align-items: flex-start;
792
+ }
793
+
794
+ .workflow-readonly-panel__code {
795
+ overflow: auto;
796
+ max-height: calc(100vh - 260px);
797
+ margin: 0;
798
+ padding: 12px;
799
+ border-radius: 8px;
800
+ background: var(--ant-color-bg-container);
801
+ color: var(--ant-color-text-secondary);
802
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
803
+ font-size: 11px;
804
+ line-height: 1.6;
805
+ overflow-wrap: anywhere;
806
+ white-space: pre-wrap;
807
+ }
808
+
809
+ .workflow-node-panel__section-head,
810
+ .workflow-node-panel__template-reference {
811
+ display: flex;
812
+ align-items: center;
813
+ justify-content: space-between;
814
+ gap: 8px;
815
+ margin-bottom: 12px;
816
+ }
817
+
818
+ .workflow-node-panel__section-title {
819
+ display: block;
820
+ color: var(--ant-color-text);
821
+ font-size: var(--workflow-panel-section-title-size);
822
+ font-weight: 600;
823
+ line-height: 1.4;
824
+ }
825
+
826
+ .workflow-node-panel__section-hint {
827
+ display: block;
828
+ margin-top: 2px;
829
+ color: var(--ant-color-text-secondary);
830
+ font-size: 12px;
831
+ line-height: 1.5;
832
+ }
833
+
834
+ .workflow-node-panel__template-card--active {
835
+ border-color: #b7eb8f;
836
+ background: var(--ant-color-bg-container);
837
+ }
838
+
839
+ .workflow-node-panel__template-status {
840
+ flex: 0 0 auto;
841
+ width: 8px;
842
+ height: 8px;
843
+ border-radius: 50%;
844
+ background: #52c41a;
845
+ }
846
+
847
+ .workflow-node-panel__template-copy {
848
+ flex: 1;
849
+ min-width: 0;
850
+ }
851
+
852
+ .workflow-node-panel__parameters-card > .ant-card-body > .ant-form:last-child,
853
+ .workflow-node-panel__parameters-card > .ant-card-body > .ant-space:last-child,
854
+ .workflow-node-panel__parameters-card .ant-form-item:last-child {
855
+ margin-bottom: 0;
856
+ }
857
+
858
+ .workflow-node-panel__ai > .ant-card-body {
859
+ display: flex;
860
+ flex-direction: column;
861
+ gap: 12px;
862
+ }
863
+
864
+ .workflow-node-panel__ai-hint {
865
+ margin-top: -8px;
866
+ }
867
+
868
+ .workflow-node-panel__footer {
869
+ display: flex;
870
+ flex-direction: column;
871
+ gap: 8px;
872
+ padding: 12px 16px;
873
+ border-top: 1px solid var(--ant-color-border-secondary);
874
+ background: var(--ant-color-bg-container);
875
+ box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
876
+ }
877
+
878
+ .workflow-node-panel__save-template {
879
+ display: flex;
880
+ flex-direction: column;
881
+ gap: 8px;
882
+ }
883
+
884
+ @media (max-width: 900px) {
885
+ .workflow-node-panel--editor {
886
+ width: min(420px, 52vw) !important;
887
+ min-width: 340px;
888
+ }
35
889
  }