@nocobase/plugin-workflow 2.2.0-beta.9 → 2.3.0-alpha.1

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 (252) hide show
  1. package/client-v2.d.ts +2 -0
  2. package/client-v2.js +1 -0
  3. package/dist/client/119.e7dbd037d52d1286.js +10 -0
  4. package/dist/client/142.fb4936d78fc80007.js +10 -0
  5. package/dist/client/159.cc9a0f2d92cab2c1.js +10 -0
  6. package/dist/client/276.69fb2aea13bc7c37.js +10 -0
  7. package/dist/client/346.66d060d37843d3d1.js +10 -0
  8. package/dist/client/382.d37fba14a6b91b0b.js +10 -0
  9. package/dist/client/394.a37310b78419ad7a.js +10 -0
  10. package/dist/client/438.6c6409d821d8c353.js +10 -0
  11. package/dist/client/509.88792f5bd054b2af.js +10 -0
  12. package/dist/client/54.d81b710f7b4c1cd5.js +10 -0
  13. package/dist/client/618.1aa6c21d0f2840cb.js +10 -0
  14. package/dist/client/635.ff6085589e23d39b.js +10 -0
  15. package/dist/client/67.56a3d15a55ab7d5c.js +10 -0
  16. package/dist/client/719.f011fde3ad54571e.js +10 -0
  17. package/dist/client/728.711fd4f1ed7d4e6a.js +10 -0
  18. package/dist/client/739.49407722fca8d236.js +10 -0
  19. package/dist/client/759.13aab01e6912ed8d.js +10 -0
  20. package/dist/client/772.1ebaef11a0ac8688.js +10 -0
  21. package/dist/client/782.47792ce10fc0d5fb.js +10 -0
  22. package/dist/client/828.6880ab21513b1968.js +10 -0
  23. package/dist/client/87.083467b89aaf3e53.js +10 -0
  24. package/dist/client/938.26493fc09ba1ccbc.js +10 -0
  25. package/dist/client/964.5ab736effd480a42.js +10 -0
  26. package/dist/client/972.dd7f074d5f12e171.js +10 -0
  27. package/dist/client/AddNodeContext.d.ts +1 -9
  28. package/dist/client/BranchContext.d.ts +2 -10
  29. package/dist/client/FlowContext.d.ts +10 -5
  30. package/dist/client/NodeClipboardContext.d.ts +12 -2
  31. package/dist/client/NodeDragContext.d.ts +14 -2
  32. package/dist/client/RemoveNodeContext.d.ts +16 -2
  33. package/dist/client/index.d.ts +1 -1
  34. package/dist/client/index.js +1 -1
  35. package/dist/client/nodeVariableUtils.d.ts +7 -6
  36. package/dist/client/nodes/calculation.d.ts +3 -75
  37. package/dist/client/nodes/condition.d.ts +7 -111
  38. package/dist/client/nodes/create.d.ts +3 -124
  39. package/dist/client/nodes/destroy.d.ts +2 -57
  40. package/dist/client/nodes/end.d.ts +2 -23
  41. package/dist/client/nodes/index.d.ts +2 -91
  42. package/dist/client/nodes/multi-conditions.d.ts +10 -48
  43. package/dist/client/nodes/output.d.ts +2 -44
  44. package/dist/client/nodes/query.d.ts +3 -255
  45. package/dist/client/nodes/update.d.ts +2 -117
  46. package/dist/client/style.d.ts +7 -27
  47. package/dist/client/triggers/collection.d.ts +3 -181
  48. package/dist/client/triggers/index.d.ts +2 -36
  49. package/dist/client/triggers/schedule/index.d.ts +8 -65
  50. package/dist/client/utils.d.ts +4 -5
  51. package/dist/client/variable.d.ts +7 -53
  52. package/dist/client-v2/119.81195bcd0d451279.js +10 -0
  53. package/dist/client-v2/142.a8c8df2a9abb43c5.js +10 -0
  54. package/dist/client-v2/159.cb221540c286cd32.js +10 -0
  55. package/dist/client-v2/276.7f746d899e221e2f.js +10 -0
  56. package/dist/client-v2/326.bdc99ad8e7590970.js +10 -0
  57. package/dist/client-v2/346.8c038b3c99d4fdc9.js +10 -0
  58. package/dist/client-v2/382.05f5482bb512b179.js +10 -0
  59. package/dist/client-v2/387.5e61d648d16dbf1b.js +10 -0
  60. package/dist/client-v2/394.515ed058e7f72797.js +10 -0
  61. package/dist/client-v2/438.b7df0416b66f8f64.js +10 -0
  62. package/dist/client-v2/513.617697f74783a611.js +10 -0
  63. package/dist/client-v2/54.d3daf06e53092726.js +10 -0
  64. package/dist/client-v2/635.14a6f21cf4f16345.js +10 -0
  65. package/dist/client-v2/677.7382807126d9621a.js +10 -0
  66. package/dist/client-v2/719.05cf070ef89a78f4.js +10 -0
  67. package/dist/client-v2/728.4e8322ff8fce87b9.js +10 -0
  68. package/dist/client-v2/739.5b60845103064f8d.js +10 -0
  69. package/dist/client-v2/759.7b162ad3adf450f1.js +10 -0
  70. package/dist/client-v2/772.8e5148d8c1518449.js +10 -0
  71. package/dist/client-v2/938.717e47af39485b29.js +10 -0
  72. package/dist/client-v2/ExecutionCanvas.d.ts +15 -0
  73. package/dist/client-v2/canvas/AddNodeContext.d.ts +35 -0
  74. package/dist/client-v2/canvas/AddNodeContext.shared.d.ts +33 -0
  75. package/dist/client-v2/canvas/AddNodeSlot.d.ts +20 -0
  76. package/dist/client-v2/canvas/Branch.d.ts +32 -0
  77. package/dist/client-v2/canvas/BranchContext.d.ts +29 -0
  78. package/dist/client-v2/canvas/BranchRenderContext.d.ts +14 -0
  79. package/dist/client-v2/canvas/CanvasContent.d.ts +20 -0
  80. package/dist/client-v2/canvas/DownstreamBranchIndex.d.ts +20 -0
  81. package/dist/client-v2/canvas/Instruction.d.ts +139 -0
  82. package/dist/{client/triggers/schedule/EndsByField.d.ts → client-v2/canvas/JobButton.d.ts} +3 -3
  83. package/dist/client-v2/canvas/Node.d.ts +38 -0
  84. package/dist/client-v2/canvas/NodeClipboardContext.d.ts +64 -0
  85. package/dist/client-v2/canvas/NodeConfigDrawer.d.ts +27 -0
  86. package/dist/client-v2/canvas/NodeDragContext.d.ts +83 -0
  87. package/dist/client-v2/canvas/RemoveNodeContext.d.ts +45 -0
  88. package/dist/client-v2/canvas/WorkflowTypedVariableInput.d.ts +16 -0
  89. package/dist/client-v2/canvas/WorkflowVariableInput.d.ts +40 -0
  90. package/dist/client-v2/canvas/WorkflowVariableJsonTextArea.d.ts +15 -0
  91. package/dist/client-v2/canvas/WorkflowVariableTag.d.ts +22 -0
  92. package/dist/client-v2/canvas/WorkflowVariableTextArea.d.ts +18 -0
  93. package/dist/client-v2/canvas/adaptVariableOptionToMetaTree.d.ts +48 -0
  94. package/dist/client-v2/canvas/addNodeController.d.ts +70 -0
  95. package/dist/client-v2/canvas/collectionFieldOptions.d.ts +57 -0
  96. package/dist/client-v2/canvas/contexts.d.ts +86 -0
  97. package/dist/client-v2/canvas/dropImpact.d.ts +28 -0
  98. package/dist/client-v2/canvas/instructionAvailability.d.ts +26 -0
  99. package/dist/client-v2/canvas/nodeRenderDispatch.d.ts +79 -0
  100. package/dist/client-v2/canvas/nodeTree.d.ts +21 -0
  101. package/dist/client-v2/canvas/nodeVariableUtils.d.ts +14 -0
  102. package/dist/client-v2/canvas/removeNodeUtils.d.ts +31 -0
  103. package/dist/client-v2/canvas/style.d.ts +35 -0
  104. package/dist/client-v2/canvas/textAreaInsertion.d.ts +14 -0
  105. package/dist/client-v2/canvas/useWorkflowInstruction.d.ts +23 -0
  106. package/dist/client-v2/canvas/useWorkflowVariableOptions.d.ts +40 -0
  107. package/dist/client-v2/canvas/workflowVariableConverters.d.ts +13 -0
  108. package/dist/client-v2/components/Calculation.d.ts +18 -0
  109. package/dist/client-v2/components/ExecutionStatusIcon.d.ts +18 -0
  110. package/dist/{client/triggers/schedule/RepeatField.d.ts → client-v2/components/ExecutionStatusTag.d.ts} +3 -4
  111. package/dist/client-v2/components/ExecutionViewHeader.d.ts +29 -0
  112. package/dist/client-v2/components/ExecutionsDropdown.d.ts +25 -0
  113. package/dist/client-v2/components/FilterDynamicComponent.d.ts +28 -0
  114. package/dist/client-v2/components/HideVariableContext.d.ts +11 -0
  115. package/dist/client-v2/components/JobResultModal.d.ts +11 -0
  116. package/dist/client-v2/components/RadioWithTooltip.d.ts +23 -0
  117. package/dist/client-v2/components/SyncModeSelect.d.ts +16 -0
  118. package/dist/{client/triggers/schedule/OnField.d.ts → client-v2/components/SyncModeTag.d.ts} +3 -3
  119. package/dist/client-v2/components/TestRunButton.d.ts +36 -0
  120. package/dist/client-v2/components/TimeoutInput.d.ts +15 -0
  121. package/dist/client-v2/components/WorkflowCanvasHeader.d.ts +17 -0
  122. package/dist/client-v2/components/WorkflowDetailsModal.d.ts +25 -0
  123. package/dist/client-v2/components/WorkflowEnabledSwitch.d.ts +16 -0
  124. package/dist/client-v2/components/WorkflowMenu.d.ts +17 -0
  125. package/dist/client-v2/components/WorkflowRevisionsDropdown.d.ts +15 -0
  126. package/dist/client-v2/components/WorkflowVariableWrapper.d.ts +25 -0
  127. package/dist/client-v2/components/collection/AppendsSelect.d.ts +15 -0
  128. package/dist/client-v2/components/collection/AssignedFieldsEditor.d.ts +24 -0
  129. package/dist/client-v2/components/collection/CollectionCascader.d.ts +15 -0
  130. package/dist/client-v2/components/collection/FieldsSelect.d.ts +16 -0
  131. package/dist/client-v2/components/collection/PaginationFields.d.ts +14 -0
  132. package/dist/client-v2/components/collection/SortFieldsInput.d.ts +19 -0
  133. package/dist/client-v2/components/collection/TriggerCollectionRecordSelect.d.ts +15 -0
  134. package/dist/client-v2/components/collection/index.d.ts +16 -0
  135. package/dist/client-v2/components/collection/utils.d.ts +42 -0
  136. package/dist/client-v2/components/formatResultForDisplay.d.ts +17 -0
  137. package/dist/client-v2/components/jobStatus.d.ts +27 -0
  138. package/dist/client-v2/components/renderEngineReference.d.ts +10 -0
  139. package/dist/client-v2/components/workflowCanvas.d.ts +41 -0
  140. package/dist/client-v2/constants.d.ts +19 -0
  141. package/dist/client-v2/hooks/useWorkflowRuntimePaths.d.ts +16 -0
  142. package/dist/client-v2/index.d.ts +48 -0
  143. package/dist/client-v2/index.js +10 -0
  144. package/dist/client-v2/locale.d.ts +41 -0
  145. package/dist/{client → client-v2}/models/NodeDetailsGridModel.d.ts +1 -1
  146. package/dist/{client → client-v2}/models/NodeDetailsModel.d.ts +1 -1
  147. package/dist/{client → client-v2}/models/NodeValueModel.d.ts +1 -1
  148. package/dist/{client → client-v2}/models/TaskCardCommonItemModel.d.ts +1 -1
  149. package/dist/client-v2/models/WorkflowTasksTopbarActionModel.d.ts +18 -0
  150. package/dist/{client → client-v2}/models/index.d.ts +2 -0
  151. package/dist/client-v2/models/triggerWorkflows.d.ts +43 -0
  152. package/dist/client-v2/nodes/calculation.d.ts +38 -0
  153. package/dist/client-v2/nodes/collectionNode.d.ts +29 -0
  154. package/dist/client-v2/nodes/components/calculation.d.ts +11 -0
  155. package/dist/client-v2/nodes/components/collection.d.ts +15 -0
  156. package/dist/client-v2/nodes/components/condition.d.ts +25 -0
  157. package/dist/client-v2/nodes/components/conditionShared.d.ts +20 -0
  158. package/dist/client-v2/nodes/components/create.d.ts +12 -0
  159. package/dist/client-v2/nodes/components/destroy.d.ts +12 -0
  160. package/dist/{client/triggers/schedule/ScheduleConfig.d.ts → client-v2/nodes/components/end.d.ts} +1 -1
  161. package/dist/client-v2/nodes/components/filter.d.ts +17 -0
  162. package/dist/client-v2/nodes/components/multi-conditions.d.ts +13 -0
  163. package/dist/client-v2/nodes/components/multiConditionsShared.d.ts +20 -0
  164. package/dist/client-v2/nodes/components/output.d.ts +10 -0
  165. package/dist/client-v2/nodes/components/query.d.ts +12 -0
  166. package/dist/client-v2/nodes/components/update.d.ts +12 -0
  167. package/dist/client-v2/nodes/condition.d.ts +46 -0
  168. package/dist/client-v2/nodes/create.d.ts +30 -0
  169. package/dist/client-v2/nodes/destroy.d.ts +24 -0
  170. package/dist/client-v2/nodes/end.d.ts +21 -0
  171. package/dist/client-v2/nodes/multi-conditions.d.ts +34 -0
  172. package/dist/client-v2/nodes/output.d.ts +29 -0
  173. package/dist/client-v2/nodes/query.d.ts +32 -0
  174. package/dist/client-v2/nodes/update.d.ts +25 -0
  175. package/dist/client-v2/pages/ExecutionHistoryDrawer.d.ts +13 -0
  176. package/dist/client-v2/pages/ExecutionViewPage.d.ts +10 -0
  177. package/dist/client-v2/pages/WorkflowCanvasPage.d.ts +10 -0
  178. package/dist/client-v2/pages/WorkflowCategoryTabs.d.ts +25 -0
  179. package/dist/client-v2/pages/WorkflowFormDrawer.d.ts +40 -0
  180. package/dist/client-v2/pages/WorkflowPane.d.ts +10 -0
  181. package/dist/client-v2/pages/WorkflowTasksPage.d.ts +10 -0
  182. package/dist/client-v2/plugin.d.ts +119 -0
  183. package/dist/client-v2/taskCenter.d.ts +105 -0
  184. package/dist/client-v2/triggers/ExecuteWorkflowButton.d.ts +35 -0
  185. package/dist/client-v2/triggers/TriggerConfig.d.ts +22 -0
  186. package/dist/client-v2/triggers/TriggerExecutionButton.d.ts +13 -0
  187. package/dist/client-v2/triggers/collection/CollectionConfig.d.ts +14 -0
  188. package/dist/client-v2/triggers/collection/TriggerCollectionConfig.d.ts +11 -0
  189. package/dist/client-v2/triggers/collection/constants.d.ts +28 -0
  190. package/dist/client-v2/triggers/collection/index.d.ts +40 -0
  191. package/dist/client-v2/triggers/index.d.ts +63 -0
  192. package/dist/client-v2/triggers/schedule/EndsByField.d.ts +17 -0
  193. package/dist/client-v2/triggers/schedule/OnField.d.ts +20 -0
  194. package/dist/client-v2/triggers/schedule/RepeatField.d.ts +23 -0
  195. package/dist/client-v2/triggers/schedule/ScheduleConfig.d.ts +17 -0
  196. package/dist/client-v2/triggers/schedule/ScheduleModes.d.ts +41 -0
  197. package/dist/{client → client-v2}/triggers/schedule/TriggerScheduleConfig.d.ts +1 -0
  198. package/dist/{client → client-v2}/triggers/schedule/constants.d.ts +8 -5
  199. package/dist/client-v2/triggers/schedule/index.d.ts +40 -0
  200. package/dist/client-v2/triggers/schedule/locale/Cron.zh-CN.d.ts +11 -0
  201. package/dist/client-v2/utils/contextSingleton.d.ts +9 -0
  202. package/dist/common/collections/workflows.d.ts +16 -0
  203. package/dist/common/collections/workflows.js +5 -0
  204. package/dist/common/defaultWorkflowFilter.d.ts +21 -0
  205. package/dist/common/defaultWorkflowFilter.js +38 -0
  206. package/dist/common/executionStatus.d.ts +44 -0
  207. package/dist/common/executionStatus.js +133 -0
  208. package/dist/externalVersion.js +16 -13
  209. package/dist/locale/de-DE.json +15 -1
  210. package/dist/locale/en-US.json +26 -1
  211. package/dist/locale/es-ES.json +15 -1
  212. package/dist/locale/fr-FR.json +15 -1
  213. package/dist/locale/hu-HU.json +15 -1
  214. package/dist/locale/id-ID.json +15 -1
  215. package/dist/locale/it-IT.json +15 -1
  216. package/dist/locale/ja-JP.json +15 -1
  217. package/dist/locale/ko-KR.json +15 -1
  218. package/dist/locale/nl-NL.json +15 -1
  219. package/dist/locale/pt-BR.json +15 -1
  220. package/dist/locale/ru-RU.json +15 -1
  221. package/dist/locale/tr-TR.json +15 -1
  222. package/dist/locale/uk-UA.json +15 -1
  223. package/dist/locale/vi-VN.json +15 -1
  224. package/dist/locale/zh-CN.json +25 -1
  225. package/dist/locale/zh-TW.json +21 -1
  226. package/dist/node_modules/cron-parser/package.json +1 -1
  227. package/dist/node_modules/joi/package.json +1 -1
  228. package/dist/node_modules/lru-cache/package.json +1 -1
  229. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  230. package/dist/server/Dispatcher.d.ts +3 -2
  231. package/dist/server/Dispatcher.js +39 -18
  232. package/dist/server/ExecutionTimeoutManager.js +2 -1
  233. package/dist/server/Plugin.d.ts +1 -1
  234. package/dist/server/actions/workflows.d.ts +1 -0
  235. package/dist/server/actions/workflows.js +17 -2
  236. package/dist/server/migrations/20260713000000-remove-workflow-validation.d.ts +13 -0
  237. package/dist/server/migrations/20260713000000-remove-workflow-validation.js +56 -0
  238. package/dist/server/triggers/CollectionTrigger.d.ts +1 -1
  239. package/dist/server/triggers/CollectionTrigger.js +3 -0
  240. package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.d.ts +1 -1
  241. package/dist/server/triggers/index.d.ts +1 -1
  242. package/dist/server/types/Workflow.d.ts +1 -0
  243. package/dist/server/utils.d.ts +1 -1
  244. package/dist/server/utils.js +14 -1
  245. package/dist/swagger/index.d.ts +1 -0
  246. package/dist/swagger/index.js +4 -2
  247. package/package.json +4 -2
  248. package/dist/client/618.c91be3f6e4d73501.js +0 -10
  249. package/dist/client/67.61e70b8b777f8638.js +0 -10
  250. package/dist/client/964.5e11e1820fece37b.js +0 -10
  251. package/dist/client/triggers/schedule/ScheduleModes.d.ts +0 -170
  252. package/dist/client/triggers/schedule/locale/Cron.zh-CN.d.ts +0 -42
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ type ExecutionWorkflow = {
11
+ id?: number | string;
12
+ key?: string;
13
+ title?: string;
14
+ };
15
+ type ExecutionViewRecord = {
16
+ id?: number | string;
17
+ key?: string;
18
+ status?: number | null;
19
+ reason?: string;
20
+ createdAt?: string;
21
+ updatedAt?: string;
22
+ workflow?: ExecutionWorkflow;
23
+ };
24
+ export declare function ExecutionViewHeader({ execution, resource, refresh, }: {
25
+ execution: ExecutionViewRecord;
26
+ resource: any;
27
+ refresh: () => void;
28
+ }): React.JSX.Element;
29
+ export default ExecutionViewHeader;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export type ExecutionRecord = {
11
+ id?: number | string;
12
+ key?: string;
13
+ status?: number | null;
14
+ createdAt?: string;
15
+ };
16
+ /**
17
+ * Switch between executions of the same workflow. Loads a window of the
18
+ * executions immediately before and after the current one (by id), mirroring
19
+ * v1's prev/next loading.
20
+ */
21
+ export declare function ExecutionsDropdown({ execution, refresh }: {
22
+ execution: ExecutionRecord;
23
+ refresh?: () => void;
24
+ }): React.JSX.Element;
25
+ export default ExecutionsDropdown;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare function FilterDynamicComponent({ collection, value, onChange, disabled, rightAsVariable, maxAssociationFieldDepth, }: {
11
+ collection?: string;
12
+ value?: Record<string, unknown> | null;
13
+ onChange?: (value: Record<string, unknown> | null) => void;
14
+ disabled?: boolean;
15
+ /**
16
+ * Controls whether the filter row's right-hand value editor allows workflow variables.
17
+ * - `true`: render the RHS as a variable-aware input (constant or workflow variable)
18
+ * - `false`: render the RHS as a pure typed static input with no variable picker
19
+ */
20
+ rightAsVariable?: boolean;
21
+ /**
22
+ * Maximum association depth allowed in the left-side field picker.
23
+ * Defaults to `2` to match the legacy v1 workflow filter behaviour.
24
+ */
25
+ maxAssociationFieldDepth?: number;
26
+ }): React.JSX.Element;
27
+ export declare const ConditionField: typeof FilterDynamicComponent;
28
+ export default FilterDynamicComponent;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare const HideVariableContext: React.Context<boolean>;
11
+ export declare function useHideVariable(): boolean;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare function JobResultModal(): React.JSX.Element;
11
+ export default JobResultModal;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export interface RadioWithTooltipOption {
11
+ value: any;
12
+ label: string;
13
+ tooltip?: string;
14
+ }
15
+ export interface RadioWithTooltipProps {
16
+ options?: RadioWithTooltipOption[];
17
+ direction?: 'horizontal' | 'vertical';
18
+ value?: any;
19
+ onChange?: (value: any) => void;
20
+ disabled?: boolean;
21
+ }
22
+ export declare function RadioWithTooltip(props: RadioWithTooltipProps): React.JSX.Element;
23
+ export default RadioWithTooltip;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export type SyncModeSelectProps = {
11
+ value?: boolean;
12
+ onChange?: (value: boolean) => void;
13
+ disabled?: boolean;
14
+ };
15
+ export declare function SyncModeSelect({ value, onChange, disabled }: SyncModeSelectProps): React.JSX.Element;
16
+ export default SyncModeSelect;
@@ -7,7 +7,7 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  import React from 'react';
10
- export declare function OnField({ value: propsValue, onChange }: {
11
- value: any;
12
- onChange: any;
10
+ export declare function SyncModeTag({ value }: {
11
+ value?: boolean | null;
13
12
  }): React.JSX.Element;
13
+ export default SyncModeTag;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ /**
10
+ * "Test run" action — native-antd rewrite of v1's Formily `TestButton`
11
+ * (`client/nodes/index.tsx`). v1 is deeply Formily-coupled (createForm /
12
+ * legacy modal/action wrappers / observer), so per ADR-0003 it is rebuilt
13
+ * here rather than ported.
14
+ *
15
+ * Click opens a centered `ctx.viewer.dialog` (X-to-close only, no footer) that:
16
+ * - warns that a test run hits real data / APIs;
17
+ * - lists every `{{ ... }}` variable reference in the node config (extracted
18
+ * with `parse(...).parameters`) as a row: left = the disabled variable pill,
19
+ * right = a pure-constant `TypedVariableInput` (no variable tree) to supply a
20
+ * literal test value — exactly v1's "replace variables" form;
21
+ * - on Run, substitutes the supplied values into the config via the
22
+ * `template(context)` returned by `parse`, POSTs `flow_nodes.test`, and shows
23
+ * the status (Resolved / Failed), the result JSON, and a collapsible log.
24
+ */
25
+ import React from 'react';
26
+ /**
27
+ * The footer "Test run" button shown in the node config drawer for testable
28
+ * nodes. `form` is the drawer's antd form — its live `config` value is snapshot
29
+ * into the dialog when opened.
30
+ */
31
+ export declare function TestRunButton({ data, form, workflow: workflowProp }: {
32
+ data: any;
33
+ form: any;
34
+ workflow?: any;
35
+ }): React.JSX.Element;
36
+ export default TestRunButton;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export type TimeoutInputProps = {
11
+ value?: number;
12
+ onChange?: (value: number) => void;
13
+ };
14
+ export declare function TimeoutInput({ value: rawValue, onChange }: TimeoutInputProps): React.JSX.Element;
15
+ export default TimeoutInput;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import type { WorkflowCanvasRecord, WorkflowRevision } from './workflowCanvas';
11
+ export declare function WorkflowCanvasHeader({ record, revisions, resource, refresh, }: {
12
+ record: WorkflowCanvasRecord;
13
+ revisions: WorkflowRevision[];
14
+ resource: any;
15
+ refresh: () => void;
16
+ }): React.JSX.Element;
17
+ export default WorkflowCanvasHeader;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import { type WorkflowCanvasRecord } from './workflowCanvas';
11
+ export declare function WorkflowDetailsModal({ record, open, onClose, resource, refresh, }: {
12
+ record: WorkflowCanvasRecord;
13
+ open: boolean;
14
+ onClose: () => void;
15
+ resource: {
16
+ update: (options: {
17
+ filterByTk: string | number;
18
+ values: {
19
+ description: string;
20
+ };
21
+ }) => Promise<unknown>;
22
+ };
23
+ refresh: () => void;
24
+ }): React.JSX.Element;
25
+ export default WorkflowDetailsModal;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import type { WorkflowCanvasRecord } from './workflowCanvas';
11
+ export declare function WorkflowEnabledSwitch({ record, resource, onChanged, }: {
12
+ record: WorkflowCanvasRecord;
13
+ resource: any;
14
+ onChanged: (enabled: boolean) => void;
15
+ }): React.JSX.Element;
16
+ export default WorkflowEnabledSwitch;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import { type WorkflowCanvasRecord, type WorkflowRevision } from './workflowCanvas';
11
+ export declare function WorkflowMenu({ record, revisions, resource, refresh, }: {
12
+ record: WorkflowCanvasRecord;
13
+ revisions: WorkflowRevision[];
14
+ resource: any;
15
+ refresh: () => void;
16
+ }): React.JSX.Element;
17
+ export default WorkflowMenu;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import type { WorkflowCanvasRecord } from './workflowCanvas';
11
+ export declare function WorkflowRevisionsDropdown({ record, resource }: {
12
+ record: WorkflowCanvasRecord;
13
+ resource: any;
14
+ }): React.JSX.Element;
15
+ export default WorkflowRevisionsDropdown;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import type { FlowContextSelectorProps } from '@nocobase/flow-engine';
11
+ import { type UseWorkflowVariableOptions } from '../canvas/useWorkflowVariableOptions';
12
+ type BaseWrapperRenderProps<TValue> = {
13
+ value?: TValue | undefined;
14
+ onChange?: (value: TValue | null) => void;
15
+ };
16
+ export type WorkflowVariableWrapperProps<TValue> = {
17
+ value?: TValue | string | null;
18
+ onChange?: (value: TValue | string | null) => void;
19
+ variableOptions?: UseWorkflowVariableOptions;
20
+ render: (props: BaseWrapperRenderProps<TValue>) => React.ReactNode;
21
+ clearValue?: TValue | null;
22
+ selectorProps?: Partial<FlowContextSelectorProps>;
23
+ };
24
+ export declare function WorkflowVariableWrapper<TValue>({ value, onChange, variableOptions, render, clearValue, selectorProps, }: WorkflowVariableWrapperProps<TValue>): React.JSX.Element;
25
+ export default WorkflowVariableWrapper;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare function AppendsSelect({ collection, value, onChange, }: {
11
+ collection?: string;
12
+ value?: string[];
13
+ onChange?: (value: string[]) => void;
14
+ }): React.JSX.Element;
15
+ export default AppendsSelect;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import { getCollectionFields } from './utils';
11
+ type AssignedValues = Record<string, unknown>;
12
+ type AssignedField = ReturnType<typeof getCollectionFields>[number] & {
13
+ name: string;
14
+ };
15
+ export type AssignedFieldFilter = (field: AssignedField) => boolean;
16
+ export declare function AssignedFieldsEditor({ collection, value, onChange, fieldFilter, pruneFilteredValues, disabled, }: {
17
+ collection?: string;
18
+ value?: AssignedValues;
19
+ onChange?: (value: AssignedValues) => void;
20
+ fieldFilter?: AssignedFieldFilter;
21
+ pruneFilteredValues?: boolean;
22
+ disabled?: boolean;
23
+ }): React.JSX.Element;
24
+ export default AssignedFieldsEditor;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare function CollectionCascader({ value, onChange, disabled, }: {
11
+ value?: string;
12
+ onChange?: (value?: string) => void;
13
+ disabled?: boolean;
14
+ }): React.JSX.Element;
15
+ export default CollectionCascader;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { type SelectProps } from 'antd';
10
+ import React from 'react';
11
+ import { type CollectionTriggerField } from './utils';
12
+ export declare function FieldsSelect({ collection, filter, ...others }: SelectProps & {
13
+ collection?: string;
14
+ filter?: (field: CollectionTriggerField) => boolean;
15
+ }): React.JSX.Element;
16
+ export default FieldsSelect;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare function PaginationFields({ pageName, pageSizeName, }: {
11
+ pageName?: string | number | (string | number)[];
12
+ pageSizeName?: string | number | (string | number)[];
13
+ }): React.JSX.Element;
14
+ export default PaginationFields;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ type SortItem = {
11
+ field?: string;
12
+ direction?: 'asc' | 'desc';
13
+ };
14
+ export declare function SortFieldsInput({ collection, value, onChange, }: {
15
+ collection?: string;
16
+ value?: SortItem[];
17
+ onChange?: (value: SortItem[]) => void;
18
+ }): React.JSX.Element;
19
+ export default SortFieldsInput;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ type RecordValue = Record<string, unknown>;
11
+ export declare function TriggerCollectionRecordSelect({ value, onChange, }: {
12
+ value?: RecordValue | string | number | null;
13
+ onChange?: (value?: RecordValue | string | number | null) => void;
14
+ }): React.JSX.Element;
15
+ export default TriggerCollectionRecordSelect;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ export * from './utils';
10
+ export * from './CollectionCascader';
11
+ export * from './FieldsSelect';
12
+ export * from './AppendsSelect';
13
+ export * from './SortFieldsInput';
14
+ export * from './PaginationFields';
15
+ export * from './TriggerCollectionRecordSelect';
16
+ export * from './AssignedFieldsEditor';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import type { Collection, DataSourceManager } from '@nocobase/flow-engine';
10
+ import type { FieldTreeCollectionManager } from '../../canvas/collectionFieldOptions';
11
+ export type CollectionTriggerField = {
12
+ name?: string;
13
+ type?: string;
14
+ target?: string;
15
+ hidden?: boolean;
16
+ interface?: string;
17
+ collectionName?: string;
18
+ foreignKey?: string;
19
+ targetKey?: string;
20
+ primaryKey?: boolean;
21
+ isForeignKey?: boolean;
22
+ uiSchema?: {
23
+ title?: string;
24
+ ['x-read-pretty']?: boolean;
25
+ };
26
+ };
27
+ export declare function joinCollectionName(dataSourceKey: string, collectionName: string): string;
28
+ export declare function parseCollectionName(value?: string): [string, string] | [];
29
+ export type CollectionOption = {
30
+ value: string;
31
+ label: string;
32
+ children?: CollectionOption[];
33
+ };
34
+ export declare function getCollectionOptions(dataSourceManager: DataSourceManager | undefined): CollectionOption[];
35
+ export declare function getCollectionFields(dataSourceManager: DataSourceManager | undefined, collectionValue?: string): CollectionTriggerField[];
36
+ export declare function getCollection(dataSourceManager: DataSourceManager | undefined, collectionValue?: string): Collection | undefined;
37
+ export declare function getCollectionManagerAdapter(dataSourceManager: DataSourceManager | undefined, dataSourceKey?: string): FieldTreeCollectionManager;
38
+ export declare function isAssociationField(field: CollectionTriggerField): boolean;
39
+ export declare function isDateField(field: CollectionTriggerField): boolean;
40
+ export declare function hasFieldName(field: CollectionTriggerField): field is CollectionTriggerField & {
41
+ name: string;
42
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ /**
10
+ * Match v1 `Input.JSON` display semantics for workflow result viewers.
11
+ *
12
+ * - `null`/`undefined` → empty string
13
+ * - string that itself is valid JSON text (`1234`, `true`, `{"a":1}`) → show raw string
14
+ * - other strings (`hello`) → show JSON-quoted string
15
+ * - non-strings → pretty JSON
16
+ */
17
+ export declare function formatResultForDisplay(value: unknown, space?: number): string;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare const JOB_STATUS: {
11
+ readonly PENDING: 0;
12
+ readonly RESOLVED: 1;
13
+ readonly FAILED: -1;
14
+ readonly ERROR: -2;
15
+ readonly ABORTED: -3;
16
+ readonly CANCELED: -4;
17
+ readonly REJECTED: -5;
18
+ readonly RETRY_NEEDED: -6;
19
+ };
20
+ export declare const JOB_STATUS_OPTIONS_MAP: Record<number, {
21
+ label: string;
22
+ color: string;
23
+ icon: React.ReactNode;
24
+ }>;
25
+ export declare function JobStatusTag({ value }: {
26
+ value: number | null;
27
+ }): React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ export declare const renderEngineReference: (key: string, t: (text: string) => string) => React.JSX.Element;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ export type WorkflowRevision = {
10
+ id: number | string;
11
+ createdAt?: string;
12
+ current?: boolean;
13
+ enabled?: boolean;
14
+ versionStats?: {
15
+ executed?: number;
16
+ };
17
+ };
18
+ export type WorkflowCanvasRecord = {
19
+ id?: number | string;
20
+ key?: string;
21
+ title?: string;
22
+ type?: string;
23
+ sync?: boolean;
24
+ enabled?: boolean;
25
+ current?: boolean;
26
+ description?: string;
27
+ createdAt?: string;
28
+ updatedAt?: string;
29
+ createdBy?: any;
30
+ updatedBy?: any;
31
+ stats?: {
32
+ executed?: number;
33
+ };
34
+ versionStats?: {
35
+ executed?: number;
36
+ };
37
+ [key: string]: any;
38
+ };
39
+ export declare function normalizeRecordResponse(response: any): WorkflowCanvasRecord | null;
40
+ export declare function formatUser(user: any): any;
41
+ export declare function formatTime(value?: string): string;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ export declare const WORKFLOW_CANVAS_ROUTE_NAME = "admin.workflow.workflows.id";
10
+ export declare const WORKFLOW_CANVAS_ROUTE_PATH = "/admin/workflow/workflows/:id";
11
+ export declare function getWorkflowCanvasPath(id: string | number): string;
12
+ export declare const WORKFLOW_EXECUTION_ROUTE_NAME = "admin.workflow.executions.id";
13
+ export declare const WORKFLOW_EXECUTION_ROUTE_PATH = "/admin/workflow/executions/:id";
14
+ export declare function getWorkflowExecutionPath(id: string | number): string;
15
+ export declare const WORKFLOW_TASKS_ROUTE_NAME = "admin.workflow.tasks";
16
+ export declare const WORKFLOW_TASKS_ROUTE_PATH = "/admin/workflow/tasks/:taskType?/:status?/:popupId?";
17
+ export declare const WORKFLOW_TASKS_MOBILE_ROUTE_NAME = "mobile.page.workflow.tasks.list";
18
+ export declare const WORKFLOW_TASKS_MOBILE_ROUTE_PATH = "page/workflow-tasks/:taskType?/:status?/:popupId?";
19
+ export declare function getWorkflowTasksPath(taskType?: string, status?: string, popupId?: string | number, mobile?: boolean): string;