@fluidgrids/fe-sdk 0.0.0-stage → 2026.1203.8

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 (323) hide show
  1. package/README.md +564 -2
  2. package/dist/ActivityOptionsFields-C2u-hY2U.js +142 -0
  3. package/dist/AiStudioPage-B_hNTj-_.js +1137 -0
  4. package/dist/ApprovalInboxPage-ClITra3n.js +1312 -0
  5. package/dist/ChoiceSelect-LkK-uS9J.js +65 -0
  6. package/dist/ConfirmActionDialog-DHWTDRbp.js +31 -0
  7. package/dist/ConnectionFormDialog-C0kDgcrZ.js +153 -0
  8. package/dist/CreateFluidgridsTagDocument-Dtp9KPLJ.js +1055 -0
  9. package/dist/DataSinkDashboardPage-b4ezeqa6.js +278 -0
  10. package/dist/DataTablesPage-C1d9YGHz.js +5575 -0
  11. package/dist/DateTimeField-B1qR4ruo.js +51 -0
  12. package/dist/Disclosure-BNKij7-v.js +45 -0
  13. package/dist/ElementLibraryPage-8jNO6YmE.js +2256 -0
  14. package/dist/ElementLibrarySequenceDocument-B-W8SPzn.js +3979 -0
  15. package/dist/EnsureThemeProvider-BvlNjAd0.js +24 -0
  16. package/dist/EntityTagBadge-1OlP6p0c.js +25 -0
  17. package/dist/EntityTagPicker-BBrU5cE0.js +137 -0
  18. package/dist/ExecuteStepDocument-B4j1mdRT.js +189 -0
  19. package/dist/ExecutionDetailDocument-D6QuM-kp.js +875 -0
  20. package/dist/ExecutionDetailPage-D4CBtFdo.js +12217 -0
  21. package/dist/ExecutionDetailPage-DvQ667OE.d.ts +10 -0
  22. package/dist/ExecutionStatusBadge-BsDVor9t.js +221 -0
  23. package/dist/ExecutionsListDocument-Dan7ZiqB.js +459 -0
  24. package/dist/ExecutionsListPage-B3XT8ITL.js +4307 -0
  25. package/dist/FailureTriagePanel-DOJMaJ0n.js +1285 -0
  26. package/dist/FileDownloadUrlDocument-CVOYKcL5.js +92 -0
  27. package/dist/FluidGridsDocsLink-bX0Hnhxr.js +66 -0
  28. package/dist/FluidGridsMark-CE2blT7K.js +74 -0
  29. package/dist/HeldLoadRegion-BtTxbvOW.js +34 -0
  30. package/dist/HistoryPage-BLoRpJ1R.d.ts +6 -0
  31. package/dist/HistoryPage-BSBISXoj.js +2835 -0
  32. package/dist/Icon-BtQ0HXLh.js +160 -0
  33. package/dist/InsightsPage-D7ybj8N9.js +11245 -0
  34. package/dist/IsolationSetting-vy911E8b.js +1153 -0
  35. package/dist/LibraryParts-DOeNgR8A.js +413 -0
  36. package/dist/ManagedAiPolicyAuthority-BxwJ3ptd.js +40 -0
  37. package/dist/ManagedAiPolicyAuthority-DM3t3wNr.d.ts +18 -0
  38. package/dist/ManagedAiPolicyAuthorityContext-CNkxIOZ1.js +10 -0
  39. package/dist/McpTriggerServers-BCPCAOWB.js +459 -0
  40. package/dist/MissingNodesInstallModal-rO_SEDrC.js +224 -0
  41. package/dist/NavigationV2Provider-DCDt35eG.js +17 -0
  42. package/dist/NodeSchemaIntrospectionDocument-C1vAIcHd.js +95 -0
  43. package/dist/NodesPage-DEbnz9iU.d.ts +6 -0
  44. package/dist/NodesPage-O7KeeKtd.js +653 -0
  45. package/dist/OfflineIcon-TwMKYWjA.js +207 -0
  46. package/dist/OpenTemplateAsCodeButton-BhWJWIF3.js +94 -0
  47. package/dist/PaidTemplateConfirm-_G3ag6S4.js +28 -0
  48. package/dist/PublishCustomNodeAction-CIySbK4c.js +134 -0
  49. package/dist/RecordTaskDialog-BkpCDvhR.js +2078 -0
  50. package/dist/RunActionsMenu-DodOgIQm.js +59 -0
  51. package/dist/RunnerStatusPill-C1v967iq.js +24 -0
  52. package/dist/RunnersPage-dB0RSdY_.js +1929 -0
  53. package/dist/SandboxRuntimeExhaustedNotice-BFOIF93C.js +120 -0
  54. package/dist/SchedulesPage-DPWr1yvf.js +1607 -0
  55. package/dist/SearchBox-BGtYjvfs.js +49 -0
  56. package/dist/SequenceEditor-CFiHeHkR.js +497 -0
  57. package/dist/SettingsPage-0CQBNPZV.js +8695 -0
  58. package/dist/StewardPages-DAJhepen.js +47 -0
  59. package/dist/StewardRunImportPanel-Kva2DO0u.js +2844 -0
  60. package/dist/StoreTemplateCardCompact-CHn5kP7A.js +2166 -0
  61. package/dist/TagFilterSelect-CyA8QrS7.js +42 -0
  62. package/dist/TaskQueuesPage-DdnDCyat.js +3571 -0
  63. package/dist/TechnicalDetails-B0Oi4aZw.js +19 -0
  64. package/dist/TemplateConfigurationModal-CdvCYJLM.js +332 -0
  65. package/dist/TemplateDetailPanel-CbiKciuB.js +222 -0
  66. package/dist/TemplatePreview-cx7-NOeG.js +868 -0
  67. package/dist/TemplatesPage-BG3H-6v6.d.ts +10 -0
  68. package/dist/TemplatesPage-BVQpGYIV.js +3251 -0
  69. package/dist/TerminateExecutionDocument-B_HKNVrN.js +581 -0
  70. package/dist/TranslationBridge-Bd4aJKMs.d.ts +11 -0
  71. package/dist/TranslationBridge-Da-TPgQm.js +68 -0
  72. package/dist/TriggerWorkflowDocument-D9Km2Vv2.js +460 -0
  73. package/dist/UiSequencePickerSequenceDocument-BSYnSDV7.js +607 -0
  74. package/dist/UiStepScreenshot-Qh4QMyUp.js +146 -0
  75. package/dist/UsageTimeSeriesDocument-DcInx9-z.js +177 -0
  76. package/dist/VariablesPage-ChfGuW22.js +2243 -0
  77. package/dist/VersionDiffDialog-Bd2AeUwf.js +1702 -0
  78. package/dist/VersionLifecycleBar-BBeWVtz-.js +143 -0
  79. package/dist/WebhookDeliveriesPage-D66bua0j.js +1563 -0
  80. package/dist/WorkflowBuilder-B6wQD1TK.js +539 -0
  81. package/dist/WorkflowBuilder-DR4ku8Tr.js +1611 -0
  82. package/dist/WorkflowDefinitionDocument-DZLbTPUZ.js +321 -0
  83. package/dist/WorkflowEmbed-BXfFGy0i.js +708 -0
  84. package/dist/WorkflowEmbed-Cbqe1s1z.d.ts +6 -0
  85. package/dist/WorkflowPinnedDataDocument-BODT5omd.js +782 -0
  86. package/dist/WorkflowProposalCard-BruukdeF.js +96 -0
  87. package/dist/WorkflowProposalDocument-BdUbsrd0.js +620 -0
  88. package/dist/WorkflowSearchRedirect-C7zJ2MKH.js +40 -0
  89. package/dist/WorkflowSettingsDrawer-MVU1BKfY.d.ts +18 -0
  90. package/dist/WorkflowSettingsDrawer-gazs97WR.js +196 -0
  91. package/dist/WorkflowShareDialog-e8jJtLjU.js +469 -0
  92. package/dist/WorkflowVersionsDocument-DRVOp8Uj.js +3213 -0
  93. package/dist/WorkflowsList--hR2_8gf.js +4593 -0
  94. package/dist/WorkflowsList-CcNDQge5.d.ts +6 -0
  95. package/dist/WorkflowsListPageDocument-CnzcQm_o.js +934 -0
  96. package/dist/addonCatalog-CbZS4deh.js +58 -0
  97. package/dist/addonCatalog-sjlonAmR.d.ts +15 -0
  98. package/dist/addons.d.ts +3 -0
  99. package/dist/addons.js +4 -0
  100. package/dist/agent-form-Bfvm32j1.js +83 -0
  101. package/dist/agent-tools.d.ts +3 -0
  102. package/dist/agent-tools.js +5 -0
  103. package/dist/agentTools-CyL7DLOF.js +320 -0
  104. package/dist/ai-usage-BrxDgvdR.js +240 -0
  105. package/dist/aiCreditsBridge-BuE92tKo.js +49 -0
  106. package/dist/api-BKq-nIOZ.js +2286 -0
  107. package/dist/api-Ol7I8NxE.js +8289 -0
  108. package/dist/apollo-type-policies.d.ts +11 -0
  109. package/dist/apollo-type-policies.js +64 -0
  110. package/dist/askAboutBridge-ByYsQams.js +106 -0
  111. package/dist/askQuestions-Cmx7VnMm.js +742 -0
  112. package/dist/assert-rules-lfYEMc99.js +318 -0
  113. package/dist/assistant.d.ts +94 -0
  114. package/dist/assistant.js +99 -0
  115. package/dist/attach-node-helpers-HDKQOtrD.js +32 -0
  116. package/dist/badge-CXfPhoMH.js +26 -0
  117. package/dist/basil.generated-BK-EHbwN.js +10 -0
  118. package/dist/browser-steps-DMpS5TyB.js +533 -0
  119. package/dist/builderTimings-pvGnK1m-.js +510 -0
  120. package/dist/button-DG7y_FVJ.js +48 -0
  121. package/dist/canvasNoteTools-BxuP_AYO.js +137 -0
  122. package/dist/card-Bomy_1UG.js +44 -0
  123. package/dist/catalogGrid-BOrfMgi-.js +41 -0
  124. package/dist/channel-CPyQ1NR1.js +212 -0
  125. package/dist/chips-CvNrYJZa.js +27 -0
  126. package/dist/client-holder-C0M5Cfwl.js +68 -0
  127. package/dist/cn-QqidFIgr.js +10 -0
  128. package/dist/code-editor-diagnostics-Zr0cIcx1.js +46 -0
  129. package/dist/code-editor-field-x_JrY8KR.js +113 -0
  130. package/dist/codec-client-DPuD6mw7.js +515 -0
  131. package/dist/conditionBuilder-DwfEF0Q-.js +1144 -0
  132. package/dist/config-DO68jw5k.js +322 -0
  133. package/dist/constants-DgbVc24O.d.ts +296 -0
  134. package/dist/constants-DlRnHBfQ.js +217 -0
  135. package/dist/convert-browser-action-pfecelF7.js +347 -0
  136. package/dist/convert-dialog-B_o22NiJ.js +382 -0
  137. package/dist/create-workflow-first-Azg3JUdX.js +120 -0
  138. package/dist/definition-canvas-Bsda-rDT.js +31 -0
  139. package/dist/dialog-BVd152GS.js +94 -0
  140. package/dist/durable-nodes-BXyYCLxT.js +91 -0
  141. package/dist/duration-CDb7-mT_.js +33 -0
  142. package/dist/edge-mapper-wEAdGVU2.js +4477 -0
  143. package/dist/element-library-DkSlg_VE.js +727 -0
  144. package/dist/entities-I_0kio3q.js +38 -0
  145. package/dist/error-advice-QLr5NCm7.js +65 -0
  146. package/dist/errors-ClKb5sEt.js +188 -0
  147. package/dist/executions.d.ts +3 -0
  148. package/dist/executions.js +5 -0
  149. package/dist/feature-flags-B2qetXKd.js +385 -0
  150. package/dist/field-label-DPZRmE_B.js +153 -0
  151. package/dist/firstWorkflow-C_h0KMB2.js +133 -0
  152. package/dist/flags.d.ts +3 -0
  153. package/dist/flags.js +4 -0
  154. package/dist/flow-builder-DIvLOhz0.js +28038 -0
  155. package/dist/flow-store-holder-CUN7Terz.js +52 -0
  156. package/dist/fluent.generated-CA_e6-4l.js +14 -0
  157. package/dist/fluidgridsEvents-bbEQbwU6.js +175 -0
  158. package/dist/fluidgridsTheme-DUhvOgoy.js +297 -0
  159. package/dist/global-client-BQPuFrFa.js +433 -0
  160. package/dist/global-operations-BG6YgxrM.js +136 -0
  161. package/dist/graphql-types-UTYtujY9.js +21358 -0
  162. package/dist/history.d.ts +3 -0
  163. package/dist/history.js +4 -0
  164. package/dist/index-AoJAa5vU.d.ts +164958 -0
  165. package/dist/index-DEMT3iAM.d.ts +120 -0
  166. package/dist/index-ROZzNGyY.d.ts +76 -0
  167. package/dist/index.d.ts +20 -0
  168. package/dist/index.js +8123 -0
  169. package/dist/ion.generated-mbajjcAg.js +10 -0
  170. package/dist/label-Lzb8ZXf_.js +29 -0
  171. package/dist/labels-rXd9gYQz.js +1236 -0
  172. package/dist/liveCanvas-D5ytXDp8.js +103 -0
  173. package/dist/logos.generated-X6_0kjVR.js +21 -0
  174. package/dist/logs-panel-Cw0DkG0l.js +468 -0
  175. package/dist/lucide.generated-B6NVd3GT.js +29 -0
  176. package/dist/marksStore-a9oIMMot.js +175 -0
  177. package/dist/mcp-trigger-D0nRdvq5.js +307 -0
  178. package/dist/mdi.generated-D1BV74d6.js +292 -0
  179. package/dist/menus-CU3hDGYl.js +160 -0
  180. package/dist/mynaui.generated-DMWr5cXz.js +66 -0
  181. package/dist/navigation-v2.d.ts +3 -0
  182. package/dist/navigation-v2.js +5 -0
  183. package/dist/node-detail-view-Cgm5H1P-.js +1372 -0
  184. package/dist/node-editor-tab-body-CZ0fVuVP.js +187 -0
  185. package/dist/node-operation-selection-CdV3KI_V.js +3534 -0
  186. package/dist/node-registry-refresh-s3okf83X.js +27 -0
  187. package/dist/node-role-TMbnkmeP.js +132 -0
  188. package/dist/node-type-icon-BZa8n4iG.js +33 -0
  189. package/dist/nodes.d.ts +3 -0
  190. package/dist/nodes.js +4 -0
  191. package/dist/notesKey-5EaREBGA.js +12 -0
  192. package/dist/observability.d.ts +3 -0
  193. package/dist/observability.js +5 -0
  194. package/dist/offset-pages-zghoClB3.js +55 -0
  195. package/dist/operations-BBmT9ToP.js +663 -0
  196. package/dist/operations-WxRJWeqO.js +3133 -0
  197. package/dist/output-files-Ba8bu5lv.js +196 -0
  198. package/dist/page-operation-DrWuhd6Y.js +129 -0
  199. package/dist/page-twins.d.ts +13 -0
  200. package/dist/page-twins.js +186 -0
  201. package/dist/pageControlSpecs-DZJ9K37m.js +134 -0
  202. package/dist/pageControlsBridge-0pX9s-3k.js +54 -0
  203. package/dist/pageControlsBridge-DAuT3w7L.d.ts +36 -0
  204. package/dist/panels-PfBBAToE.js +346 -0
  205. package/dist/parts-B7fBcw-B.js +346 -0
  206. package/dist/popover-Dms9Vz3j.js +3389 -0
  207. package/dist/preloadable-lazy-Pp47mqQ9.js +65 -0
  208. package/dist/proactive.d.ts +66 -0
  209. package/dist/proactive.js +237 -0
  210. package/dist/quick-config-panel-DFd77xho.js +451 -0
  211. package/dist/quota-DeA_CJ2e.js +175 -0
  212. package/dist/quota.d.ts +3 -0
  213. package/dist/quota.js +4 -0
  214. package/dist/read-only-context-Dt9N9SIG.js +18 -0
  215. package/dist/relative-time-Dxt8ZIIu.js +55 -0
  216. package/dist/results-CwK_yDxK.js +325 -0
  217. package/dist/rolldown-runtime-hDbaFkMy.js +18 -0
  218. package/dist/route-data.d.ts +12 -0
  219. package/dist/route-data.js +69 -0
  220. package/dist/route-match-C-0_EnAt.d.ts +5 -0
  221. package/dist/route-match-DMkUICYV.js +41 -0
  222. package/dist/route-preload-C4DlGoCd.js +120 -0
  223. package/dist/run-display-UjLAoYqQ.js +81 -0
  224. package/dist/run-history-arGiHzGU.js +285 -0
  225. package/dist/run-list-links-DJn4Mf1T.js +98 -0
  226. package/dist/run-mode-USmM0-Uo.js +82 -0
  227. package/dist/run-parity-CWXqEJqM.js +144 -0
  228. package/dist/runsQuota-B6SyTbne.js +100 -0
  229. package/dist/runsQuota-DsniKiSg.d.ts +20 -0
  230. package/dist/safe-expression-Cw7-SCsm.js +1251 -0
  231. package/dist/save-status-store-C7nEYpfb.js +631 -0
  232. package/dist/schedule-panel-B4GYXzXQ.js +13774 -0
  233. package/dist/schedule-rules-ggVKRkBH.js +358 -0
  234. package/dist/secrets-Re_wSiE3.js +153 -0
  235. package/dist/settings.d.ts +4 -0
  236. package/dist/settings.js +6 -0
  237. package/dist/shared-DAWGGMSM.js +177 -0
  238. package/dist/sidebar-node-editor-6eSSgCzc.js +178 -0
  239. package/dist/solar.generated-CGYuUQAC.js +10 -0
  240. package/dist/stableTabbedDialog-BBhrfXGe.js +20 -0
  241. package/dist/start-url-CT6Yz96K.js +24 -0
  242. package/dist/status-CessxGpm.js +55 -0
  243. package/dist/store-icon-OctYp5zP.js +155 -0
  244. package/dist/styles-WGmTnZ2n.js +26 -0
  245. package/dist/styles.css +139 -0
  246. package/dist/svg-spinners.generated-CIPT7IhM.js +10 -0
  247. package/dist/template-code-CzN6JWNV.js +191 -0
  248. package/dist/template-graph-DLF9dygU.js +20 -0
  249. package/dist/template-preview-DcIIKOOL.js +32 -0
  250. package/dist/template-price-CdUHZRMF.js +40 -0
  251. package/dist/templates.d.ts +3 -0
  252. package/dist/templates.js +5 -0
  253. package/dist/theme-provider-CntfC4_i.js +23 -0
  254. package/dist/transient-DgZfhDfN.js +57 -0
  255. package/dist/typed-calls-C5tO03wq.js +26 -0
  256. package/dist/ui-script-By74Guk3.js +1094 -0
  257. package/dist/ui-script-editor-CqPu2bCN.js +2447 -0
  258. package/dist/ui-step-fix-8uM2_Hft.js +67 -0
  259. package/dist/ui-step-fix-store-CcO1FdRx.js +19 -0
  260. package/dist/ui-step-run-context-o7bLE6KP.js +46 -0
  261. package/dist/ui-target-editor-D2JhB_lD.js +673 -0
  262. package/dist/uiMarkTools-CSznnO1i.js +1054 -0
  263. package/dist/upgradePrompt-BAFBKKW5.js +72 -0
  264. package/dist/use-bare-node-registry-O6mKJO_n.js +11498 -0
  265. package/dist/use-browser-available-hj8wc3Kb.js +241 -0
  266. package/dist/use-edge-mapper-schemas-Bonofxow.js +496 -0
  267. package/dist/use-extension-bridge-B9ZreOkQ.js +608 -0
  268. package/dist/use-mobile-BTqCUjzS.js +27 -0
  269. package/dist/use-sdk-query-C697xZVv.js +116 -0
  270. package/dist/use-workflow-code-editor-CFoRFrZ5.js +753 -0
  271. package/dist/useActionParam-B2tU2BlY.js +85 -0
  272. package/dist/useAgentTokenStream-Bko_J0d0.js +4217 -0
  273. package/dist/useBrowserClients-3v95-gSh.js +103 -0
  274. package/dist/useCodeWorkflowInsights-w0tz9Ap_.js +600 -0
  275. package/dist/useConnections-DsgEJs05.js +439 -0
  276. package/dist/useDebouncedValue-BFekcv6n.js +18 -0
  277. package/dist/useDurableParity-8fnMZmBc.js +1787 -0
  278. package/dist/useEntityTags-D0spL6Ut.js +460 -0
  279. package/dist/useExecutions-2u5nGJJk.js +681 -0
  280. package/dist/useFluidGridsAnalytics-VM8lAi2x.js +238 -0
  281. package/dist/useGlobalStoreClient-BTdhkA2I.js +24 -0
  282. package/dist/useHumanRequests-zlYDp3l1.js +221 -0
  283. package/dist/useNavigationV2-C2WeqN7d.js +29 -0
  284. package/dist/useNavigationV2-DANUmg12.d.ts +9 -0
  285. package/dist/useObservability-BRlQ0tOA.js +285 -0
  286. package/dist/useRequestedProposal-B7uPXfZB.js +51 -0
  287. package/dist/useRunHistory-CXCMUPyf.js +2759 -0
  288. package/dist/useRunLive-D0JvVZT2.js +1060 -0
  289. package/dist/useRunnerList-Dbi59i1K.js +446 -0
  290. package/dist/useRunners-URUc5quU.js +173 -0
  291. package/dist/useRunsPage-DG656UCK.js +2709 -0
  292. package/dist/useVariables-BIelxcWr.js +463 -0
  293. package/dist/useVersionHistoryData-CTjqVw7l.js +292 -0
  294. package/dist/useWorkflowCodeExport-pqxyLHD1.js +522 -0
  295. package/dist/useWorkflowListExport-hcZNvTaB.js +232 -0
  296. package/dist/useWorkflowOrganization-CpBbOrs7.js +1772 -0
  297. package/dist/useWorkflowProposal-BH0VdNMA.js +3280 -0
  298. package/dist/useWorkflows-Cvg-Z_IE.js +1606 -0
  299. package/dist/utils-fvBb5qOD.js +89 -0
  300. package/dist/webhook-deliveries-AvQujaZy.js +99 -0
  301. package/dist/workflow-builder-CJygVkVv.d.ts +2 -0
  302. package/dist/workflow-builder.d.ts +3 -0
  303. package/dist/workflow-builder.js +8 -0
  304. package/dist/workflow-code-transfer-Bsy0JKAZ.js +323 -0
  305. package/dist/workflow-embed.d.ts +3 -0
  306. package/dist/workflow-embed.js +4 -0
  307. package/dist/workflow-git-sync--K9ZsPDC.js +263 -0
  308. package/dist/workflow-host.d.ts +6 -0
  309. package/dist/workflow-host.js +11 -0
  310. package/dist/workflow-pages-D-7ByLTB.d.ts +68 -0
  311. package/dist/workflow-pages.d.ts +3 -0
  312. package/dist/workflow-pages.js +115 -0
  313. package/dist/workflow-preview-canvas-CO8yzdE3.js +848 -0
  314. package/dist/workflow-preview.d.ts +65 -0
  315. package/dist/workflow-preview.js +4 -0
  316. package/dist/workflow-route.d.ts +33 -0
  317. package/dist/workflow-route.js +4 -0
  318. package/dist/workflow-save-state-D0l-DkLf.js +767 -0
  319. package/dist/workflow-transfer-CQnQC-ke.js +104 -0
  320. package/dist/workflowRouteData-BkfVOc-O.js +169 -0
  321. package/dist/workflows-list.d.ts +10 -0
  322. package/dist/workflows-list.js +5 -0
  323. package/package.json +320 -4
@@ -0,0 +1,1153 @@
1
+ "use client";
2
+ import { s as throwIfResultError } from "./errors-ClKb5sEt.js";
3
+ import { n as getFluidGridsClient } from "./client-holder-C0M5Cfwl.js";
4
+ import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
5
+ import { c as findSaveConflict } from "./workflow-save-state-D0l-DkLf.js";
6
+ import { At as useUpdateWorkflowDefinitionMutation, Ft as useWorkflowDefinitionQuery, Rt as useWorkflowDefinitionsQuery } from "./operations-WxRJWeqO.js";
7
+ import { _ as workspaceDefaultPreview, f as isBelowFloor, g as storedValueView, h as storedValueText, m as scopeFloor, n as floorReasonText, o as levelName, s as levelTitle, u as useUsableIsolationPolicy, v as SELECTABLE_ISOLATION_LEVELS, y as isSelectableIsolationLevel } from "./labels-rXd9gYQz.js";
8
+ import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
9
+ import { s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-DlRnHBfQ.js";
10
+ import { t as ChoiceSelect } from "./ChoiceSelect-LkK-uS9J.js";
11
+ import { useCallback, useEffect, useMemo, useState } from "react";
12
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
+ import { Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@burdenoff/fe-libs/ui";
14
+ import { gql } from "@apollo/client";
15
+
16
+ // src/generated/documents/wspace/UpdateWorkflowNotificationSettingsDocument.ts
17
+ const UpdateWorkflowNotificationSettingsDocument = {
18
+ "kind": "Document",
19
+ "definitions": [{
20
+ "kind": "OperationDefinition",
21
+ "operation": "mutation",
22
+ "name": {
23
+ "kind": "Name",
24
+ "value": "UpdateWorkflowNotificationSettings"
25
+ },
26
+ "variableDefinitions": [{
27
+ "kind": "VariableDefinition",
28
+ "variable": {
29
+ "kind": "Variable",
30
+ "name": {
31
+ "kind": "Name",
32
+ "value": "input"
33
+ }
34
+ },
35
+ "type": {
36
+ "kind": "NonNullType",
37
+ "type": {
38
+ "kind": "NamedType",
39
+ "name": {
40
+ "kind": "Name",
41
+ "value": "UpdateWorkflowNotificationSettingsInput"
42
+ }
43
+ }
44
+ },
45
+ "directives": []
46
+ }],
47
+ "directives": [],
48
+ "selectionSet": {
49
+ "kind": "SelectionSet",
50
+ "selections": [{
51
+ "kind": "Field",
52
+ "name": {
53
+ "kind": "Name",
54
+ "value": "updateWorkflowNotificationSettings"
55
+ },
56
+ "arguments": [{
57
+ "kind": "Argument",
58
+ "name": {
59
+ "kind": "Name",
60
+ "value": "input"
61
+ },
62
+ "value": {
63
+ "kind": "Variable",
64
+ "name": {
65
+ "kind": "Name",
66
+ "value": "input"
67
+ }
68
+ }
69
+ }],
70
+ "directives": [],
71
+ "selectionSet": {
72
+ "kind": "SelectionSet",
73
+ "selections": [
74
+ {
75
+ "kind": "Field",
76
+ "name": {
77
+ "kind": "Name",
78
+ "value": "workflowKey"
79
+ },
80
+ "arguments": [],
81
+ "directives": []
82
+ },
83
+ {
84
+ "kind": "Field",
85
+ "name": {
86
+ "kind": "Name",
87
+ "value": "notifyOnFailure"
88
+ },
89
+ "arguments": [],
90
+ "directives": []
91
+ },
92
+ {
93
+ "kind": "Field",
94
+ "name": {
95
+ "kind": "Name",
96
+ "value": "notifyOnSuccess"
97
+ },
98
+ "arguments": [],
99
+ "directives": []
100
+ },
101
+ {
102
+ "kind": "Field",
103
+ "name": {
104
+ "kind": "Name",
105
+ "value": "notifyOnApprovalRequest"
106
+ },
107
+ "arguments": [],
108
+ "directives": []
109
+ },
110
+ {
111
+ "kind": "Field",
112
+ "name": {
113
+ "kind": "Name",
114
+ "value": "notifyOnTriggerDisabled"
115
+ },
116
+ "arguments": [],
117
+ "directives": []
118
+ },
119
+ {
120
+ "kind": "Field",
121
+ "name": {
122
+ "kind": "Name",
123
+ "value": "pushEnabled"
124
+ },
125
+ "arguments": [],
126
+ "directives": []
127
+ },
128
+ {
129
+ "kind": "Field",
130
+ "name": {
131
+ "kind": "Name",
132
+ "value": "throttleMinutes"
133
+ },
134
+ "arguments": [],
135
+ "directives": []
136
+ },
137
+ {
138
+ "kind": "Field",
139
+ "name": {
140
+ "kind": "Name",
141
+ "value": "customized"
142
+ },
143
+ "arguments": [],
144
+ "directives": []
145
+ },
146
+ {
147
+ "kind": "Field",
148
+ "name": {
149
+ "kind": "Name",
150
+ "value": "updatedAt"
151
+ },
152
+ "arguments": [],
153
+ "directives": []
154
+ }
155
+ ]
156
+ }
157
+ }]
158
+ }
159
+ }]
160
+ };
161
+
162
+ // src/generated/documents/wspace/WorkflowNotificationSettingsDocument.ts
163
+ const WorkflowNotificationSettingsDocument = {
164
+ "kind": "Document",
165
+ "definitions": [{
166
+ "kind": "OperationDefinition",
167
+ "operation": "query",
168
+ "name": {
169
+ "kind": "Name",
170
+ "value": "WorkflowNotificationSettings"
171
+ },
172
+ "variableDefinitions": [{
173
+ "kind": "VariableDefinition",
174
+ "variable": {
175
+ "kind": "Variable",
176
+ "name": {
177
+ "kind": "Name",
178
+ "value": "workflowKey"
179
+ }
180
+ },
181
+ "type": {
182
+ "kind": "NonNullType",
183
+ "type": {
184
+ "kind": "NamedType",
185
+ "name": {
186
+ "kind": "Name",
187
+ "value": "String"
188
+ }
189
+ }
190
+ },
191
+ "directives": []
192
+ }],
193
+ "directives": [],
194
+ "selectionSet": {
195
+ "kind": "SelectionSet",
196
+ "selections": [{
197
+ "kind": "Field",
198
+ "name": {
199
+ "kind": "Name",
200
+ "value": "workflowNotificationSettings"
201
+ },
202
+ "arguments": [{
203
+ "kind": "Argument",
204
+ "name": {
205
+ "kind": "Name",
206
+ "value": "workflowKey"
207
+ },
208
+ "value": {
209
+ "kind": "Variable",
210
+ "name": {
211
+ "kind": "Name",
212
+ "value": "workflowKey"
213
+ }
214
+ }
215
+ }],
216
+ "directives": [],
217
+ "selectionSet": {
218
+ "kind": "SelectionSet",
219
+ "selections": [
220
+ {
221
+ "kind": "Field",
222
+ "name": {
223
+ "kind": "Name",
224
+ "value": "workflowKey"
225
+ },
226
+ "arguments": [],
227
+ "directives": []
228
+ },
229
+ {
230
+ "kind": "Field",
231
+ "name": {
232
+ "kind": "Name",
233
+ "value": "notifyOnFailure"
234
+ },
235
+ "arguments": [],
236
+ "directives": []
237
+ },
238
+ {
239
+ "kind": "Field",
240
+ "name": {
241
+ "kind": "Name",
242
+ "value": "notifyOnSuccess"
243
+ },
244
+ "arguments": [],
245
+ "directives": []
246
+ },
247
+ {
248
+ "kind": "Field",
249
+ "name": {
250
+ "kind": "Name",
251
+ "value": "notifyOnApprovalRequest"
252
+ },
253
+ "arguments": [],
254
+ "directives": []
255
+ },
256
+ {
257
+ "kind": "Field",
258
+ "name": {
259
+ "kind": "Name",
260
+ "value": "notifyOnTriggerDisabled"
261
+ },
262
+ "arguments": [],
263
+ "directives": []
264
+ },
265
+ {
266
+ "kind": "Field",
267
+ "name": {
268
+ "kind": "Name",
269
+ "value": "pushEnabled"
270
+ },
271
+ "arguments": [],
272
+ "directives": []
273
+ },
274
+ {
275
+ "kind": "Field",
276
+ "name": {
277
+ "kind": "Name",
278
+ "value": "throttleMinutes"
279
+ },
280
+ "arguments": [],
281
+ "directives": []
282
+ },
283
+ {
284
+ "kind": "Field",
285
+ "name": {
286
+ "kind": "Name",
287
+ "value": "customized"
288
+ },
289
+ "arguments": [],
290
+ "directives": []
291
+ },
292
+ {
293
+ "kind": "Field",
294
+ "name": {
295
+ "kind": "Name",
296
+ "value": "updatedAt"
297
+ },
298
+ "arguments": [],
299
+ "directives": []
300
+ }
301
+ ]
302
+ }
303
+ }]
304
+ }
305
+ }]
306
+ };
307
+
308
+ // src/modules/settings/hooks/useWorkflowNotificationSettings.ts
309
+ /**
310
+ * A workflow's notification preferences (G08) for Settings → Notifications
311
+ * (BOFF-9974): which events notify the workflow's person in the app's bell
312
+ * and, unless switched off, by push to their devices, and how often.
313
+ *
314
+ * Read with `workflowNotificationSettings` (the defaults when nobody saved
315
+ * any) and saved with `updateWorkflowNotificationSettings`, a partial update.
316
+ */
317
+ /** The throttle window the service accepts, in minutes (0 sends every one). */
318
+ const NOTIFICATION_THROTTLE_RANGE = {
319
+ min: 0,
320
+ max: 1440
321
+ };
322
+ async function fetchWorkflowNotificationSettings(workflowKey) {
323
+ const result = await getFluidGridsClient().query({
324
+ query: WorkflowNotificationSettingsDocument,
325
+ variables: { workflowKey },
326
+ fetchPolicy: "network-only"
327
+ });
328
+ throwIfResultError(result);
329
+ return result.data?.workflowNotificationSettings ?? null;
330
+ }
331
+ async function saveWorkflowNotificationSettings(workflowKey, changes) {
332
+ const result = await getFluidGridsClient().mutate({
333
+ mutation: UpdateWorkflowNotificationSettingsDocument,
334
+ variables: { input: {
335
+ workflowKey,
336
+ ...changes
337
+ } }
338
+ });
339
+ throwIfResultError(result);
340
+ const saved = result.data?.updateWorkflowNotificationSettings;
341
+ if (!saved) throw new Error("The notification settings were not saved.");
342
+ return saved;
343
+ }
344
+ function useWorkflowNotificationSettings(workflowKey) {
345
+ const [loaded, setLoaded] = useState(null);
346
+ useEffect(() => {
347
+ if (!workflowKey) return;
348
+ let cancelled = false;
349
+ fetchWorkflowNotificationSettings(workflowKey).then((settings) => {
350
+ if (!cancelled) setLoaded({
351
+ workflowKey,
352
+ settings,
353
+ error: null
354
+ });
355
+ }, (err) => {
356
+ if (!cancelled) setLoaded({
357
+ workflowKey,
358
+ settings: null,
359
+ error: err instanceof Error ? err : new Error(String(err))
360
+ });
361
+ });
362
+ return () => {
363
+ cancelled = true;
364
+ };
365
+ }, [workflowKey]);
366
+ const save = useCallback(async (changes) => {
367
+ if (!workflowKey) throw new Error("No workflow selected.");
368
+ const saved = await saveWorkflowNotificationSettings(workflowKey, changes);
369
+ setLoaded({
370
+ workflowKey,
371
+ settings: saved,
372
+ error: null
373
+ });
374
+ return saved;
375
+ }, [workflowKey]);
376
+ const current = loaded?.workflowKey === workflowKey ? loaded : null;
377
+ return {
378
+ settings: current?.settings ?? null,
379
+ loading: !!workflowKey && current === null,
380
+ error: current?.error ?? null,
381
+ save
382
+ };
383
+ }
384
+
385
+ // src/modules/settings/utils/error-trigger.ts
386
+ /**
387
+ * Error Workflow setting (BOFF-7514): the chosen workflow starts at its Error
388
+ * Trigger node, so one without that node never starts. Mirrors the backend's
389
+ * `findErrorTriggerNodeId` in wspace-workflow-svc.
390
+ */
391
+ const ERROR_TRIGGER_NODE_TYPE = "internal:error-trigger";
392
+ function asRecord(value) {
393
+ return value && typeof value === "object" && !Array.isArray(value) ? value : null;
394
+ }
395
+ /** Reads `data.nodes`, falling back to the legacy top-level `nodes`. */
396
+ function hasErrorTriggerNode(definitionJson) {
397
+ const definition = asRecord(definitionJson);
398
+ const dataNodes = asRecord(definition?.data)?.nodes;
399
+ const nodes = Array.isArray(dataNodes) ? dataNodes : definition?.nodes;
400
+ return Array.isArray(nodes) && nodes.some((node) => asRecord(node)?.type === "internal:error-trigger");
401
+ }
402
+
403
+ // src/modules/settings/utils/run-data.ts
404
+ function toSavingChoice(value) {
405
+ if (value === void 0) return "default";
406
+ return value ? "save" : "skip";
407
+ }
408
+ function fromSavingChoice(choice) {
409
+ if (choice === "save") return true;
410
+ if (choice === "skip") return false;
411
+ }
412
+ /** Limits the backend applies to a workflow's redacted fields (run-data-privacy.ts, BOFF-9752). */
413
+ const MAX_REDACT_FIELDS = 50;
414
+ const MAX_REDACT_FIELD_LENGTH = 200;
415
+ const MAX_REDACT_PATH_SEGMENTS = 16;
416
+ /**
417
+ * Read the "Redacted fields" input: entries separated by commas or new lines, each a field name
418
+ * or a dotted path. Entries the backend would ignore (empty segments, too long, too deep) and
419
+ * repeats are dropped, and the list is capped. An empty list means "none" (undefined).
420
+ */
421
+ function parseRedactFields(text) {
422
+ const seen = /* @__PURE__ */ new Set();
423
+ const fields = [];
424
+ for (const raw of text.split(/[,\n]/)) {
425
+ const segments = raw.trim().split(".").map((segment) => segment.trim());
426
+ const field = segments.join(".");
427
+ if (field.length === 0 || field.length > MAX_REDACT_FIELD_LENGTH || segments.length > MAX_REDACT_PATH_SEGMENTS || segments.some((segment) => segment.length === 0)) continue;
428
+ const key = field.toLowerCase();
429
+ if (seen.has(key)) continue;
430
+ seen.add(key);
431
+ fields.push(field);
432
+ if (fields.length >= 50) break;
433
+ }
434
+ return fields.length > 0 ? fields : void 0;
435
+ }
436
+ /** Show a saved list in the "Redacted fields" input. */
437
+ function formatRedactFields(fields) {
438
+ return (fields ?? []).join(", ");
439
+ }
440
+ /**
441
+ * Drop the keys left unset, and the whole object when nothing is set, so a workflow that follows
442
+ * its workspace saves no override at all.
443
+ */
444
+ function compactOverrides(value) {
445
+ if (!value) return void 0;
446
+ const entries = Object.entries(value).filter(([, v]) => v !== void 0);
447
+ return entries.length > 0 ? Object.fromEntries(entries) : void 0;
448
+ }
449
+ /** Bounds the backend accepts (wspace-workflow-svc run-data-lifecycle.service). */
450
+ const RETENTION_DAYS_RANGE = {
451
+ min: 1,
452
+ max: 3650
453
+ };
454
+ const RETENTION_MAX_RUNS_RANGE = {
455
+ min: 1,
456
+ max: 1e6
457
+ };
458
+ /**
459
+ * An empty input means "no override"; anything else is read whole (so `1e3` is 1000, not 1),
460
+ * truncated to a whole number and clamped to its range.
461
+ */
462
+ function parseBoundedInt(value, range) {
463
+ if (value.trim() === "") return void 0;
464
+ const parsed = Number(value);
465
+ if (!Number.isFinite(parsed)) return void 0;
466
+ return Math.min(range.max, Math.max(range.min, Math.trunc(parsed)));
467
+ }
468
+
469
+ // src/modules/settings/utils/workflow-settings-persistence.ts
470
+ /** The nested fields the Settings page edits; any other nested key is kept as saved. */
471
+ const DATA_SAVING_KEYS = [
472
+ "saveSuccessExecutions",
473
+ "saveFailedExecutions",
474
+ "saveManualExecutions"
475
+ ];
476
+ const RETENTION_KEYS = ["maxAgeDays", "maxRuns"];
477
+ const DATA_PRIVACY_KEYS = ["doNotStoreRunData", "redactFields"];
478
+ const BUDGET_KEYS = [
479
+ "maxSteps",
480
+ "maxWallTimeSec",
481
+ "maxTokens",
482
+ "maxCostMicroUsd"
483
+ ];
484
+ /**
485
+ * Merge the edited settings into the saved config without mutating it.
486
+ *
487
+ * Keys the form does not know (engine-only flags, fields added later) are kept. For the nested
488
+ * run-data objects the form is authoritative over the fields it edits: a field it leaves unset was
489
+ * cleared to "follow the workspace" (BOFF-7514), so it must not come back from the saved config.
490
+ */
491
+ function mergeWorkflowExecutionSettings(existing, next) {
492
+ const merged = {
493
+ ...existing,
494
+ ...next
495
+ };
496
+ for (const [key, editable] of [
497
+ ["dataSaving", DATA_SAVING_KEYS],
498
+ ["retention", RETENTION_KEYS],
499
+ ["dataPrivacy", DATA_PRIVACY_KEYS],
500
+ ["budget", BUDGET_KEYS]
501
+ ]) {
502
+ const nested = mergeNested(existing[key], next[key], editable);
503
+ if (nested) merged[key] = nested;
504
+ else delete merged[key];
505
+ }
506
+ return merged;
507
+ }
508
+ function mergeNested(existing, next, editable) {
509
+ const editableKeys = new Set(editable);
510
+ const kept = Object.fromEntries(Object.entries(isRecord(existing) ? existing : {}).filter(([key]) => !editableKeys.has(key)));
511
+ const result = Object.fromEntries(Object.entries({
512
+ ...kept,
513
+ ...next ?? {}
514
+ }).filter(([, value]) => value !== void 0));
515
+ return Object.keys(result).length > 0 ? result : void 0;
516
+ }
517
+ function isRecord(value) {
518
+ return typeof value === "object" && value !== null && !Array.isArray(value);
519
+ }
520
+
521
+ // src/modules/settings/hooks/useRunDataSettings.ts
522
+ /**
523
+ * The workspace's run-data settings (BOFF-7514): which finished runs keep their data and how long
524
+ * finished runs are kept, for every workflow that does not override them in its own Settings.
525
+ */
526
+ const FIELDS = `
527
+ saveSuccessfulRuns
528
+ saveFailedRuns
529
+ saveManualRuns
530
+ retentionDays
531
+ retentionMaxRunsPerWorkflow
532
+ customized
533
+ updatedAt
534
+ `;
535
+ const RUN_DATA_SETTINGS_QUERY = gql`
536
+ query WorkflowExecutionSettings {
537
+ workflowExecutionSettings {
538
+ ${FIELDS}
539
+ }
540
+ }
541
+ `;
542
+ const UPDATE_RUN_DATA_SETTINGS = gql`
543
+ mutation UpdateWorkflowExecutionSettings($input: UpdateWorkflowExecutionSettingsInput!) {
544
+ updateWorkflowExecutionSettings(input: $input) {
545
+ ${FIELDS}
546
+ }
547
+ }
548
+ `;
549
+ function useRunDataSettings() {
550
+ const [settings, setSettings] = useState(null);
551
+ const [loading, setLoading] = useState(true);
552
+ const [error, setError] = useState(null);
553
+ useEffect(() => {
554
+ let cancelled = false;
555
+ getFluidGridsClient().query({
556
+ query: RUN_DATA_SETTINGS_QUERY,
557
+ fetchPolicy: "network-only"
558
+ }).then((result) => {
559
+ throwIfResultError(result);
560
+ if (!cancelled) setSettings(result.data?.workflowExecutionSettings ?? null);
561
+ }).catch((err) => {
562
+ if (!cancelled) setError(err instanceof Error ? err : new Error(String(err)));
563
+ }).finally(() => {
564
+ if (!cancelled) setLoading(false);
565
+ });
566
+ return () => {
567
+ cancelled = true;
568
+ };
569
+ }, []);
570
+ return {
571
+ settings,
572
+ loading,
573
+ error,
574
+ save: useCallback(async (changes) => {
575
+ const result = await getFluidGridsClient().mutate({
576
+ mutation: UPDATE_RUN_DATA_SETTINGS,
577
+ variables: { input: changes }
578
+ });
579
+ throwIfResultError(result);
580
+ const saved = result.data?.updateWorkflowExecutionSettings;
581
+ if (!saved) throw new Error("No settings returned");
582
+ setSettings(saved);
583
+ return saved;
584
+ }, [])
585
+ };
586
+ }
587
+
588
+ // src/modules/settings/hooks/useWorkflowExecutionSettingsForm.ts
589
+ /**
590
+ * One workflow's execution settings as an editable form (BOFF-7512): the
591
+ * values in `definitionJson.config`, the lists the form's pickers need, and a
592
+ * save that never overwrites a canvas someone changed meanwhile.
593
+ *
594
+ * Shared by Settings › Execution and the Navigation v2 settings drawer
595
+ * (BOFF-11843), so both read, check and save exactly the same way.
596
+ */
597
+ /** What "On workflow error" means when nobody chose (the engine's default). */
598
+ const DEFAULT_ON_ERROR = "stop";
599
+ /**
600
+ * The stored definition with the form's settings applied to its `config`.
601
+ * Only `config` changes; every other part of the definition is sent back as
602
+ * it was read.
603
+ */
604
+ function definitionWithSettings(definitionJson, form) {
605
+ const definition = definitionJson ?? {};
606
+ return {
607
+ ...definition,
608
+ config: mergeWorkflowExecutionSettings(definition.config ?? {}, form)
609
+ };
610
+ }
611
+ /** Whether saving `form` would change the stored `config`. */
612
+ function settingsChanged(persisted, form) {
613
+ const before = mergeWorkflowExecutionSettings(persisted, persisted);
614
+ const after = mergeWorkflowExecutionSettings(persisted, form);
615
+ return JSON.stringify(sortKeys(before)) !== JSON.stringify(sortKeys(after));
616
+ }
617
+ function sortKeys(value) {
618
+ if (Array.isArray(value)) return value.map(sortKeys);
619
+ if (typeof value !== "object" || value === null) return value;
620
+ return Object.fromEntries(Object.keys(value).sort().map((key) => [key, sortKeys(value[key])]));
621
+ }
622
+ function useWorkflowExecutionSettingsForm(workflowKey) {
623
+ const tr = useTr();
624
+ const { data, loading, refetch } = useWorkflowDefinitionQuery({
625
+ variables: { workflowKey },
626
+ skip: !workflowKey,
627
+ fetchPolicy: "cache-and-network"
628
+ });
629
+ const [updateWorkflowDefinition, { loading: saving }] = useUpdateWorkflowDefinitionMutation();
630
+ const { allowed: canEdit } = useFluidGridsPermission(FLUIDGRIDS_PERMISSIONS.WORKFLOW_UPDATE);
631
+ const locked = loading || saving || !canEdit || !data?.workflowDefinition;
632
+ const { data: otherWorkflowsData, loading: otherWorkflowsLoading } = useWorkflowDefinitionsQuery({
633
+ variables: { input: {
634
+ latestOnly: true,
635
+ limit: 100
636
+ } },
637
+ skip: !workflowKey
638
+ });
639
+ const errorWorkflowOptions = useMemo(() => (otherWorkflowsData?.workflowDefinitions?.items ?? []).filter((w) => w.workflowKey !== workflowKey), [otherWorkflowsData, workflowKey]);
640
+ const workflow = data?.workflowDefinition;
641
+ const persistedConfig = useMemo(() => {
642
+ return (workflow?.definitionJson)?.config ?? {};
643
+ }, [workflow?.definitionJson]);
644
+ const [form, setForm] = useState(persistedConfig);
645
+ const [redactFieldsText, setRedactFieldsText] = useState(() => formatRedactFields(persistedConfig.dataPrivacy?.redactFields));
646
+ useEffect(() => {
647
+ setForm(persistedConfig);
648
+ setRedactFieldsText(formatRedactFields(persistedConfig.dataPrivacy?.redactFields));
649
+ }, [persistedConfig]);
650
+ const runData = useRunDataSettings();
651
+ const selectedErrorWorkflowKey = form.errorWorkflowKey;
652
+ const { data: errorWorkflowData } = useWorkflowDefinitionQuery({
653
+ variables: { workflowKey: selectedErrorWorkflowKey ?? "" },
654
+ skip: !selectedErrorWorkflowKey
655
+ });
656
+ const selectedErrorWorkflow = errorWorkflowData?.workflowDefinition;
657
+ const errorWorkflowLacksTrigger = Boolean(selectedErrorWorkflowKey && selectedErrorWorkflow && !hasErrorTriggerNode(selectedErrorWorkflow.definitionJson));
658
+ /**
659
+ * Saves the form into the workflow's `config`. Resolves once saved, throws
660
+ * the service's refusal otherwise, and throws when the workflow could not be
661
+ * read, so a caller never reports a save that did not happen. A conflict (the workflow changed since
662
+ * it was read) is retried once on the latest version: settings only touch
663
+ * `config`, so they apply to it unchanged.
664
+ */
665
+ const save = useCallback(async () => {
666
+ if (!workflow?.id) throw new Error(tr("fluidgrids.settings.execution.workflowNotFound", "This workflow couldn't be found. It may have been deleted, or you may no longer have access to it."));
667
+ const send = (stored) => updateWorkflowDefinition({ variables: {
668
+ id: stored.id,
669
+ input: {
670
+ definitionJson: definitionWithSettings(stored.definitionJson, form),
671
+ ...typeof stored.revision === "number" ? { expectedRevision: stored.revision } : {}
672
+ }
673
+ } });
674
+ try {
675
+ await send(workflow);
676
+ } catch (err) {
677
+ if (!findSaveConflict(err)) throw err;
678
+ const latest = (await refetch()).data?.workflowDefinition;
679
+ if (!latest?.id) throw err;
680
+ await send(latest);
681
+ }
682
+ refetch();
683
+ }, [
684
+ workflow,
685
+ form,
686
+ updateWorkflowDefinition,
687
+ refetch,
688
+ tr
689
+ ]);
690
+ return {
691
+ workflow,
692
+ loading,
693
+ saving,
694
+ canEdit,
695
+ locked,
696
+ form,
697
+ setForm,
698
+ persistedConfig,
699
+ dirty: settingsChanged(persistedConfig, form),
700
+ redactFieldsText,
701
+ setRedactFieldsText,
702
+ runData,
703
+ errorWorkflowOptions,
704
+ otherWorkflowsLoading,
705
+ errorWorkflowLacksTrigger,
706
+ save
707
+ };
708
+ }
709
+
710
+ // src/modules/settings/utils/optional-positive-int.ts
711
+ /**
712
+ * Number inputs whose empty value means "no limit" — Max parallel executions
713
+ * (BOFF-7647) and Timeout in seconds (BOFF-7514). Empty is also what an unset
714
+ * value means to the engine; anything else is clamped to a whole number of at
715
+ * least 1.
716
+ */
717
+ function parseOptionalPositiveInt(value) {
718
+ if (value.trim() === "") return void 0;
719
+ const parsed = Number(value);
720
+ return Number.isFinite(parsed) ? Math.max(1, Math.trunc(parsed)) : void 0;
721
+ }
722
+
723
+ // src/modules/settings/components/SettingRow.tsx
724
+ /**
725
+ * One labelled setting: label and description on the left, its control on the right.
726
+ * `stacked` puts the control under the label at every width, for narrow panels such
727
+ * as the workflow settings drawer (BOFF-11843).
728
+ */
729
+ function SettingRow({ label, description, stacked = false, children }) {
730
+ return /* @__PURE__ */ jsxs("div", {
731
+ className: stacked ? "flex flex-col gap-2 py-3" : "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 py-4",
732
+ children: [/* @__PURE__ */ jsxs("div", {
733
+ className: "flex-1 min-w-0",
734
+ children: [/* @__PURE__ */ jsx(Label, {
735
+ className: "text-sm font-medium text-text-primary",
736
+ children: label
737
+ }), description && /* @__PURE__ */ jsx("p", {
738
+ className: "text-xs text-text-secondary mt-0.5",
739
+ children: description
740
+ })]
741
+ }), /* @__PURE__ */ jsx("div", {
742
+ className: "shrink-0",
743
+ children
744
+ })]
745
+ });
746
+ }
747
+
748
+ // src/components/moreTools/AdaptiveSelect.tsx
749
+ /**
750
+ * A drop-down shared by a redesigned page and the pages other apps keep
751
+ * (BOFF-15502): under Navigation v2 (FluidGrids) it is the kit's styled
752
+ * `ChoiceSelect` (never a native popup, the shared check-and-tint marker);
753
+ * with Navigation v2 off it renders exactly what that spot rendered before,
754
+ * a native `<select>` or the fe-libs `Select`, so no other app changes.
755
+ */
756
+ function AdaptiveSelect({ value, onValueChange, options, classic, id, "aria-label": ariaLabel, disabled, "data-testid": testId, className, placeholder }) {
757
+ if (useNavigationV2()) return /* @__PURE__ */ jsx(ChoiceSelect, {
758
+ id,
759
+ value,
760
+ onValueChange,
761
+ options,
762
+ "aria-label": ariaLabel,
763
+ disabled,
764
+ placeholder,
765
+ className,
766
+ "data-testid": testId
767
+ });
768
+ const pick = (raw) => {
769
+ const option = options.find((candidate) => candidate.value === raw);
770
+ if (option) onValueChange(option.value);
771
+ };
772
+ if (classic.kind === "native") return /* @__PURE__ */ jsx("select", {
773
+ id,
774
+ value,
775
+ disabled,
776
+ "aria-label": ariaLabel,
777
+ onChange: (event) => pick(event.target.value),
778
+ className: classic.className,
779
+ "data-testid": testId,
780
+ children: options.map((option) => /* @__PURE__ */ jsx("option", {
781
+ value: option.value,
782
+ disabled: option.disabled,
783
+ children: option.label
784
+ }, option.value))
785
+ });
786
+ return /* @__PURE__ */ jsxs(Select, {
787
+ value,
788
+ onValueChange: pick,
789
+ disabled,
790
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
791
+ id,
792
+ "aria-label": ariaLabel,
793
+ className: classic.triggerClassName,
794
+ "data-testid": testId,
795
+ children: /* @__PURE__ */ jsx(SelectValue, { placeholder: classic.placeholder })
796
+ }), /* @__PURE__ */ jsx(SelectContent, { children: options.map((option) => /* @__PURE__ */ jsx(SelectItem, {
797
+ value: option.value,
798
+ disabled: option.disabled,
799
+ children: option.label
800
+ }, option.value)) })]
801
+ });
802
+ }
803
+
804
+ // src/modules/settings/components/ExecutionSettingsFields.tsx
805
+ /**
806
+ * The per-workflow execution settings rows (BOFF-7512, BOFF-7514), shared by
807
+ * Settings › Execution and the Navigation v2 settings drawer (BOFF-11843).
808
+ * Each row reads and writes the form of `useWorkflowExecutionSettingsForm`.
809
+ */
810
+ /** The "On workflow error" choices, in the order they are offered. */
811
+ const ON_ERROR_CHOICES = [
812
+ "stop",
813
+ "continue",
814
+ "retry"
815
+ ];
816
+ function TimeoutSetting({ ctl, stacked }) {
817
+ const tr = useTr();
818
+ const label = tr("fluidgrids.settings.execution.timeoutLabel", "Timeout");
819
+ return /* @__PURE__ */ jsx(SettingRow, {
820
+ stacked,
821
+ label,
822
+ description: tr("fluidgrids.settings.execution.defaultTimeoutDescription", "Stop a run that keeps running longer than this. Time a run spends paused (a Wait over a minute, an approval, a person's answer) does not count. Leave empty for no limit."),
823
+ children: /* @__PURE__ */ jsxs("div", {
824
+ className: "flex items-center gap-2",
825
+ children: [/* @__PURE__ */ jsx(Input, {
826
+ type: "number",
827
+ min: 1,
828
+ value: ctl.form.timeout ?? "",
829
+ placeholder: tr("fluidgrids.settings.execution.timeoutPlaceholder", "No timeout"),
830
+ "aria-label": label,
831
+ "data-testid": "execution-settings-timeout",
832
+ onChange: (e) => ctl.setForm((f) => ({
833
+ ...f,
834
+ timeout: parseOptionalPositiveInt(e.target.value)
835
+ })),
836
+ disabled: ctl.locked,
837
+ className: "w-[100px] text-right"
838
+ }), /* @__PURE__ */ jsx("span", {
839
+ className: "text-xs text-text-secondary",
840
+ children: tr("fluidgrids.settings.execution.defaultTimeoutUnit", "seconds")
841
+ })]
842
+ })
843
+ });
844
+ }
845
+ function MaxParallelSetting({ ctl, stacked }) {
846
+ const tr = useTr();
847
+ const label = tr("fluidgrids.settings.execution.maxParallelLabel", "Max parallel executions");
848
+ return /* @__PURE__ */ jsx(SettingRow, {
849
+ stacked,
850
+ label,
851
+ description: tr("fluidgrids.settings.execution.maxParallelDescription", "How many production runs of this workflow may run at once. Extra runs wait in a queue and start in order; manual test runs are never held back. Leave empty for no limit."),
852
+ children: /* @__PURE__ */ jsx(Input, {
853
+ type: "number",
854
+ min: 1,
855
+ value: ctl.form.maxParallelism ?? "",
856
+ placeholder: tr("fluidgrids.settings.execution.maxParallelPlaceholder", "No limit"),
857
+ "aria-label": label,
858
+ "data-testid": "execution-settings-max-parallel",
859
+ onChange: (e) => ctl.setForm((f) => ({
860
+ ...f,
861
+ maxParallelism: parseOptionalPositiveInt(e.target.value)
862
+ })),
863
+ disabled: ctl.locked,
864
+ className: "w-[100px] text-right"
865
+ })
866
+ });
867
+ }
868
+ /**
869
+ * "On workflow error": Stop, Continue or Retry. An fe-libs Select (it was a
870
+ * native `<select>`, which ignored the theme in its open list).
871
+ */
872
+ function OnErrorSetting({ ctl, stacked }) {
873
+ const tr = useTr();
874
+ const label = tr("fluidgrids.settings.execution.onErrorLabel", "On workflow error");
875
+ const choiceLabel = {
876
+ stop: tr("fluidgrids.settings.execution.onErrorStop", "Stop"),
877
+ continue: tr("fluidgrids.settings.execution.onErrorContinue", "Continue"),
878
+ retry: tr("fluidgrids.settings.execution.onErrorRetry", "Retry")
879
+ };
880
+ return /* @__PURE__ */ jsx(SettingRow, {
881
+ stacked,
882
+ label,
883
+ description: tr("fluidgrids.settings.execution.onErrorDescription", "What to do when this workflow's execution fails"),
884
+ children: /* @__PURE__ */ jsx(AdaptiveSelect, {
885
+ value: ctl.form.onError ?? "stop",
886
+ onValueChange: (value) => ctl.setForm((f) => ({
887
+ ...f,
888
+ onError: value
889
+ })),
890
+ options: ON_ERROR_CHOICES.map((choice) => ({
891
+ value: choice,
892
+ label: choiceLabel[choice]
893
+ })),
894
+ disabled: ctl.locked,
895
+ "aria-label": label,
896
+ "data-testid": "execution-settings-on-error",
897
+ classic: {
898
+ kind: "radix",
899
+ triggerClassName: "w-[160px] bg-surface border-border-default"
900
+ },
901
+ className: "w-[160px]"
902
+ })
903
+ });
904
+ }
905
+ const NO_ERROR_WORKFLOW = "__none__";
906
+ function ErrorWorkflowSetting({ ctl, stacked }) {
907
+ const tr = useTr();
908
+ const label = tr("fluidgrids.settings.execution.errorWorkflowLabel", "Error workflow");
909
+ return /* @__PURE__ */ jsx(SettingRow, {
910
+ stacked,
911
+ label,
912
+ description: tr("fluidgrids.settings.execution.errorWorkflowDescription", "Runs when a production run of this workflow fails, starting at that workflow's Error Trigger (optional)"),
913
+ children: /* @__PURE__ */ jsxs("div", {
914
+ className: stacked ? "flex flex-col gap-1" : "flex flex-col items-end gap-1",
915
+ children: [/* @__PURE__ */ jsx(AdaptiveSelect, {
916
+ value: ctl.form.errorWorkflowKey ?? NO_ERROR_WORKFLOW,
917
+ onValueChange: (val) => ctl.setForm((f) => ({
918
+ ...f,
919
+ errorWorkflowKey: val === NO_ERROR_WORKFLOW ? void 0 : val
920
+ })),
921
+ options: [{
922
+ value: NO_ERROR_WORKFLOW,
923
+ label: tr("fluidgrids.settings.execution.errorWorkflowNone", "None")
924
+ }, ...ctl.errorWorkflowOptions.map((w) => ({
925
+ value: w.workflowKey,
926
+ label: w.name
927
+ }))],
928
+ disabled: ctl.locked || ctl.otherWorkflowsLoading,
929
+ "aria-label": label,
930
+ "data-testid": "execution-settings-error-workflow",
931
+ classic: {
932
+ kind: "radix",
933
+ triggerClassName: "w-[220px] bg-surface border-border-default",
934
+ placeholder: tr("fluidgrids.settings.execution.errorWorkflowPlaceholder", "None")
935
+ },
936
+ className: "w-[220px] max-w-full"
937
+ }), ctl.errorWorkflowLacksTrigger && /* @__PURE__ */ jsx("p", {
938
+ className: stacked ? "max-w-[260px] text-xs text-status-warning-text" : "max-w-[260px] text-right text-xs text-status-warning-text",
939
+ "data-testid": "error-workflow-no-trigger",
940
+ children: tr("fluidgrids.settings.execution.errorWorkflowNoTrigger", "This workflow has no Error Trigger, so it will not start. Add an Error Trigger node to it.")
941
+ })]
942
+ })
943
+ });
944
+ }
945
+ const SAVING_ROWS = [
946
+ {
947
+ key: "saveSuccessExecutions",
948
+ workspaceKey: "saveSuccessfulRuns",
949
+ labelKey: "fluidgrids.settings.execution.saveSuccessLabel",
950
+ label: "Keep data of successful runs",
951
+ testId: "execution-settings-keep-success"
952
+ },
953
+ {
954
+ key: "saveFailedExecutions",
955
+ workspaceKey: "saveFailedRuns",
956
+ labelKey: "fluidgrids.settings.execution.saveFailedLabel",
957
+ label: "Keep data of failed runs",
958
+ testId: "execution-settings-keep-failed"
959
+ },
960
+ {
961
+ key: "saveManualExecutions",
962
+ workspaceKey: "saveManualRuns",
963
+ labelKey: "fluidgrids.settings.execution.saveManualLabel",
964
+ label: "Keep data of test runs",
965
+ testId: "execution-settings-keep-test"
966
+ }
967
+ ];
968
+ /** Keep data of successful / failed / test runs: workspace default, keep, or don't. */
969
+ function RunDataSavingSettings({ ctl, stacked }) {
970
+ const tr = useTr();
971
+ return /* @__PURE__ */ jsx(Fragment$1, { children: SAVING_ROWS.map((row) => {
972
+ const inherited = ctl.runData.settings?.[row.workspaceKey];
973
+ return /* @__PURE__ */ jsx(SettingRow, {
974
+ stacked,
975
+ label: tr(row.labelKey, row.label),
976
+ children: /* @__PURE__ */ jsx(AdaptiveSelect, {
977
+ value: toSavingChoice(ctl.form.dataSaving?.[row.key]),
978
+ onValueChange: (choice) => ctl.setForm((f) => ({
979
+ ...f,
980
+ dataSaving: compactOverrides({
981
+ ...f.dataSaving,
982
+ [row.key]: fromSavingChoice(choice)
983
+ })
984
+ })),
985
+ options: [
986
+ {
987
+ value: "default",
988
+ label: inherited === void 0 ? tr("fluidgrids.settings.execution.savingDefault", "Workspace default") : inherited ? tr("fluidgrids.settings.execution.savingDefaultOn", "Workspace default (keep)") : tr("fluidgrids.settings.execution.savingDefaultOff", "Workspace default (don't keep)")
989
+ },
990
+ {
991
+ value: "save",
992
+ label: tr("fluidgrids.settings.execution.savingKeep", "Keep")
993
+ },
994
+ {
995
+ value: "skip",
996
+ label: tr("fluidgrids.settings.execution.savingDontKeep", "Don't keep")
997
+ }
998
+ ],
999
+ disabled: ctl.locked,
1000
+ "aria-label": tr(row.labelKey, row.label),
1001
+ "data-testid": row.testId,
1002
+ classic: {
1003
+ kind: "radix",
1004
+ triggerClassName: "w-[220px] bg-surface border-border-default"
1005
+ },
1006
+ className: "w-[220px] max-w-full"
1007
+ })
1008
+ }, row.key);
1009
+ }) });
1010
+ }
1011
+ /** Delete runs after (days) and Runs kept: empty follows the workspace. */
1012
+ function RetentionSettings({ ctl, stacked }) {
1013
+ const tr = useTr();
1014
+ const daysLabel = tr("fluidgrids.settings.execution.retentionDaysLabel", "Delete runs after (days)");
1015
+ const runsLabel = tr("fluidgrids.settings.execution.maxRunsLabel", "Runs kept");
1016
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(SettingRow, {
1017
+ stacked,
1018
+ label: daysLabel,
1019
+ description: tr("fluidgrids.settings.execution.retentionDaysDescription", "Leave empty to follow the workspace's Run data settings."),
1020
+ children: /* @__PURE__ */ jsx(Input, {
1021
+ type: "number",
1022
+ min: RETENTION_DAYS_RANGE.min,
1023
+ max: RETENTION_DAYS_RANGE.max,
1024
+ "aria-label": daysLabel,
1025
+ "data-testid": "execution-settings-retention-days",
1026
+ value: ctl.form.retention?.maxAgeDays ?? "",
1027
+ placeholder: ctl.runData.settings ? String(ctl.runData.settings.retentionDays) : "",
1028
+ onChange: (e) => ctl.setForm((f) => ({
1029
+ ...f,
1030
+ retention: compactOverrides({
1031
+ ...f.retention,
1032
+ maxAgeDays: parseBoundedInt(e.target.value, RETENTION_DAYS_RANGE)
1033
+ })
1034
+ })),
1035
+ disabled: ctl.locked,
1036
+ className: "w-[100px] text-right"
1037
+ })
1038
+ }), /* @__PURE__ */ jsx(SettingRow, {
1039
+ stacked,
1040
+ label: runsLabel,
1041
+ description: tr("fluidgrids.settings.execution.maxRunsDescription", "Leave empty to follow the workspace's Run data settings."),
1042
+ children: /* @__PURE__ */ jsx(Input, {
1043
+ type: "number",
1044
+ min: RETENTION_MAX_RUNS_RANGE.min,
1045
+ max: RETENTION_MAX_RUNS_RANGE.max,
1046
+ "aria-label": runsLabel,
1047
+ "data-testid": "execution-settings-max-runs",
1048
+ value: ctl.form.retention?.maxRuns ?? "",
1049
+ placeholder: ctl.runData.settings ? String(ctl.runData.settings.retentionMaxRunsPerWorkflow) : "",
1050
+ onChange: (e) => ctl.setForm((f) => ({
1051
+ ...f,
1052
+ retention: compactOverrides({
1053
+ ...f.retention,
1054
+ maxRuns: parseBoundedInt(e.target.value, RETENTION_MAX_RUNS_RANGE)
1055
+ })
1056
+ })),
1057
+ disabled: ctl.locked,
1058
+ className: "w-[120px] text-right"
1059
+ })
1060
+ })] });
1061
+ }
1062
+
1063
+ // src/modules/isolation/components/IsolationSetting.tsx
1064
+ /**
1065
+ * A workflow's sandbox isolation level (BOFF-16856, spec 17 §6.2, §15.1), one row of the workflow's
1066
+ * execution settings: Settings → Execution (both pages) and the Navigation v2 settings drawer.
1067
+ *
1068
+ * Saved in `definitionJson.config.isolationLevel` with the other execution settings; "Workspace
1069
+ * default (X)" removes the key. Levels below the workspace's floor are disabled with the reason.
1070
+ * The row is read-only while the workspace policy is locked and the person may not delete
1071
+ * workflows (the service refuses such a change with ISOLATION_LOCKED). A stored value below a later
1072
+ * minimum is shown as stored, with the level it is raised to at run time; a stored value that is
1073
+ * not a level (an older import) is kept and runs as Maximum.
1074
+ *
1075
+ * Hidden while the service does not report the levels available.
1076
+ */
1077
+ const INHERIT = "__workspace_default__";
1078
+ const STORED = "__stored__";
1079
+ function IsolationSetting({ ctl, stacked }) {
1080
+ const tr = useTr();
1081
+ const policy = useUsableIsolationPolicy();
1082
+ const mayOverrideLock = useFluidGridsPermission(FLUIDGRIDS_PERMISSIONS.WORKFLOW_DELETE).allowed;
1083
+ if (!policy) return null;
1084
+ const stored = ctl.form.isolationLevel;
1085
+ const floor = scopeFloor(policy, null);
1086
+ const view = storedValueView(stored, floor);
1087
+ const lockedByPolicy = policy.locked && !mayOverrideLock;
1088
+ const label = tr("fluidgrids.isolation.workflow.label", "Sandbox isolation");
1089
+ const value = stored === void 0 || stored === null ? INHERIT : isSelectableIsolationLevel(stored) ? stored : STORED;
1090
+ const options = [
1091
+ {
1092
+ value: INHERIT,
1093
+ label: tr("fluidgrids.isolation.workflow.inherit", "Workspace default ({{level}})", { level: levelName(tr, workspaceDefaultPreview(policy)) })
1094
+ },
1095
+ ...SELECTABLE_ISOLATION_LEVELS.map((level) => ({
1096
+ value: level,
1097
+ label: levelTitle(tr, level),
1098
+ disabled: level !== stored && isBelowFloor(level, floor)
1099
+ })),
1100
+ ...value === STORED ? [{
1101
+ value: STORED,
1102
+ label: tr("fluidgrids.isolation.workflow.unknownStored", "{{value}} (not a level; runs as Maximum)", { value: storedValueText(stored) }),
1103
+ disabled: true
1104
+ }] : []
1105
+ ];
1106
+ const notes = [];
1107
+ if (view?.raised) notes.push({
1108
+ id: "raised",
1109
+ text: tr("fluidgrids.isolation.workflow.raised", "Raised to {{level}} at run time.", { level: levelName(tr, view.runsAt) })
1110
+ });
1111
+ if (floor && SELECTABLE_ISOLATION_LEVELS.some((l) => isBelowFloor(l, floor))) notes.push({
1112
+ id: "floor",
1113
+ text: floorReasonText(tr, floor.reason, floor.level)
1114
+ });
1115
+ if (lockedByPolicy) notes.push({
1116
+ id: "locked",
1117
+ text: tr("fluidgrids.isolation.workflow.locked", "The workspace's isolation policy is locked. Only people who can delete workflows can change this.")
1118
+ });
1119
+ return /* @__PURE__ */ jsx(SettingRow, {
1120
+ stacked,
1121
+ label,
1122
+ description: tr("fluidgrids.isolation.workflow.description", "How strictly the steps of this workflow's runs are kept apart in sandboxes. A node can choose its own level."),
1123
+ children: /* @__PURE__ */ jsxs("div", {
1124
+ className: stacked ? "flex flex-col gap-1" : "flex flex-col items-end gap-1",
1125
+ "data-testid": "workflow-isolation-setting",
1126
+ children: [/* @__PURE__ */ jsx(AdaptiveSelect, {
1127
+ value,
1128
+ onValueChange: (next) => {
1129
+ if (next === STORED) return;
1130
+ ctl.setForm((f) => ({
1131
+ ...f,
1132
+ isolationLevel: next === INHERIT ? void 0 : next
1133
+ }));
1134
+ },
1135
+ options,
1136
+ disabled: ctl.locked || lockedByPolicy,
1137
+ "aria-label": label,
1138
+ "data-testid": "workflow-isolation-select",
1139
+ classic: {
1140
+ kind: "radix",
1141
+ triggerClassName: "w-[260px] bg-surface border-border-default"
1142
+ },
1143
+ className: "w-[260px] max-w-full"
1144
+ }), notes.map((note) => /* @__PURE__ */ jsx("p", {
1145
+ className: stacked ? "max-w-[260px] text-xs text-text-secondary" : "max-w-[260px] text-right text-xs text-text-secondary",
1146
+ "data-testid": `workflow-isolation-${note.id}`,
1147
+ children: note.text
1148
+ }, note.id))]
1149
+ })
1150
+ });
1151
+ }
1152
+
1153
+ export { parseRedactFields as _, RetentionSettings as a, WorkflowNotificationSettingsDocument as b, AdaptiveSelect as c, useRunDataSettings as d, RETENTION_DAYS_RANGE as f, parseBoundedInt as g, formatRedactFields as h, OnErrorSetting as i, SettingRow as l, compactOverrides as m, ErrorWorkflowSetting as n, RunDataSavingSettings as o, RETENTION_MAX_RUNS_RANGE as p, MaxParallelSetting as r, TimeoutSetting as s, IsolationSetting as t, useWorkflowExecutionSettingsForm as u, NOTIFICATION_THROTTLE_RANGE as v, UpdateWorkflowNotificationSettingsDocument as x, useWorkflowNotificationSettings as y };