@conduction/nextcloud-vue 2.169.0 → 2.171.0

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 (174) hide show
  1. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
  2. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +7 -2
  3. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
  4. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
  5. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js +9 -0
  6. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js.map +1 -0
  7. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js +242 -0
  8. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js.map +1 -0
  9. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js +200 -0
  10. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js.map +1 -0
  11. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js +9 -0
  12. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js.map +1 -0
  13. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js +186 -0
  14. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js.map +1 -0
  15. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js +24 -0
  16. package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js.map +1 -0
  17. package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue.js +1 -1
  18. package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js +3 -15
  19. package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js.map +1 -1
  20. package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js +16 -61
  21. package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js.map +1 -1
  22. package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js +9 -0
  23. package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js.map +1 -0
  24. package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js +120 -0
  25. package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js.map +1 -0
  26. package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js +86 -0
  27. package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js.map +1 -0
  28. package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue.js +1 -1
  29. package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js +88 -0
  30. package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js.map +1 -1
  31. package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js +4 -3
  32. package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js.map +1 -1
  33. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  34. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +46 -3
  35. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  36. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +2 -1
  37. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  38. package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +1 -1
  39. package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
  40. package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +9 -9
  41. package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
  42. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js +1 -1
  43. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js.map +1 -1
  44. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js.map +1 -1
  45. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js +1 -1
  46. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js +9 -3
  47. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js.map +1 -1
  48. package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js.map +1 -1
  49. package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js +8 -0
  50. package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js.map +1 -0
  51. package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js +101 -0
  52. package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js.map +1 -0
  53. package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js +54 -0
  54. package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js.map +1 -0
  55. package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
  56. package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +14 -2
  57. package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
  58. package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +1 -1
  59. package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
  60. package/dist/esm/components/CnFilesBrowser/filesBrowser.js +21 -2
  61. package/dist/esm/components/CnFilesBrowser/filesBrowser.js.map +1 -1
  62. package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue.js +1 -1
  63. package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js +7 -0
  64. package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js.map +1 -1
  65. package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js +2 -2
  66. package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js.map +1 -1
  67. package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js +11 -0
  68. package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js.map +1 -1
  69. package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js +2 -1
  70. package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js.map +1 -1
  71. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
  72. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js.map +1 -1
  73. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue3.js.map +1 -1
  74. package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js +9 -0
  75. package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js.map +1 -0
  76. package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js +248 -0
  77. package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js.map +1 -0
  78. package/dist/esm/components/{CnMassDeleteDialog/CnMassDeleteDialog.vue3.js → CnMassActionDialog/CnMassActionDialog.vue3.js} +66 -52
  79. package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue3.js.map +1 -0
  80. package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js +0 -3
  81. package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js.map +1 -1
  82. package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js +25 -121
  83. package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js.map +1 -1
  84. package/dist/esm/components/CnNotesCard/CnNotesCard.vue.js +1 -1
  85. package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js +11 -3
  86. package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js.map +1 -1
  87. package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js +1 -1
  88. package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js.map +1 -1
  89. package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue.js +1 -1
  90. package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue2.js +13 -6
  91. package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue2.js.map +1 -1
  92. package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue3.js.map +1 -1
  93. package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue.js +1 -1
  94. package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js +21 -1
  95. package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js.map +1 -1
  96. package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js +2 -2
  97. package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js.map +1 -1
  98. package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
  99. package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
  100. package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +23 -5
  101. package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js.map +1 -1
  102. package/dist/esm/components/CnTreeView/CnTreeView.vue.js +1 -1
  103. package/dist/esm/components/CnTreeView/CnTreeView.vue2.js +3 -0
  104. package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
  105. package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +14 -4
  106. package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
  107. package/dist/esm/dialogs/CnConfirmDialog.vue.js +1 -1
  108. package/dist/esm/dialogs/CnConfirmDialog.vue2.js.map +1 -1
  109. package/dist/esm/dialogs/CnConfirmDialog.vue3.js +5 -3
  110. package/dist/esm/dialogs/CnConfirmDialog.vue3.js.map +1 -1
  111. package/dist/esm/index.js +3 -0
  112. package/dist/esm/index.js.map +1 -1
  113. package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue.js +1 -1
  114. package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue2.js +14 -3
  115. package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue2.js.map +1 -1
  116. package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue3.js.map +1 -1
  117. package/dist/esm/l10n/en.json.js +16 -1
  118. package/dist/esm/l10n/en.json.js.map +1 -1
  119. package/dist/esm/l10n/nl.json.js +16 -1
  120. package/dist/esm/l10n/nl.json.js.map +1 -1
  121. package/dist/esm/library-style.js +1 -1
  122. package/dist/esm/nextcloud-vue.css +874 -496
  123. package/dist/esm/utils/noteThreads.js +14 -2
  124. package/dist/esm/utils/noteThreads.js.map +1 -1
  125. package/dist/esm/utils/objectParties.js +50 -5
  126. package/dist/esm/utils/objectParties.js.map +1 -1
  127. package/dist/nextcloud-vue.cjs.js +11549 -10100
  128. package/dist/nextcloud-vue.cjs.js.map +2 -2
  129. package/dist/nextcloud-vue.css +874 -496
  130. package/l10n/en.json +16 -1
  131. package/l10n/nl.json +16 -1
  132. package/package.json +1 -1
  133. package/scripts/.jsdoc-baselines.json +1 -1
  134. package/src/components/CnCellRenderer/CnCellRenderer.vue +7 -2
  135. package/src/components/CnConditionGroupEditor/CnConditionGroup.vue +528 -0
  136. package/src/components/CnConditionGroupEditor/CnConditionGroupEditor.vue +211 -0
  137. package/src/components/CnConditionGroupEditor/index.js +9 -0
  138. package/src/components/CnConditionListEditor/CnConditionListEditor.vue +15 -78
  139. package/src/components/CnConditionListEditor/CnConditionRow.vue +226 -0
  140. package/src/components/CnDashboardGrid/CnDashboardGrid.md +1 -0
  141. package/src/components/CnDashboardGrid/CnDashboardGrid.vue +100 -2
  142. package/src/components/CnDashboardPage/CnDashboardPage.vue +47 -3
  143. package/src/components/CnDetailPage/CnDetailPage.vue +8 -8
  144. package/src/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue +6 -0
  145. package/src/components/CnDetailWidgetHost/CnDetailWidgetHost.vue +9 -9
  146. package/src/components/CnDialogActions/CnDialogActions.vue +124 -0
  147. package/src/components/CnDialogActions/index.js +7 -0
  148. package/src/components/CnFilesBrowser/CnFilesBrowser.vue +15 -3
  149. package/src/components/CnFilesBrowser/filesBrowser.js +21 -2
  150. package/src/components/CnFlowsPage/CnFlowBoard.vue +10 -3
  151. package/src/components/CnFlowsPage/CnFlowEditorPage.vue +12 -0
  152. package/src/components/CnLinkedWidget/CnLinkedWidget.vue +7 -0
  153. package/src/components/CnMassActionDialog/CnMassActionDialog.vue +382 -0
  154. package/src/components/CnMassActionDialog/index.js +7 -0
  155. package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.md +4 -0
  156. package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +25 -254
  157. package/src/components/CnNotesCard/CnNotesCard.vue +12 -4
  158. package/src/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue +14 -5
  159. package/src/components/CnObjectSidebar/CnNotesTab.vue +23 -3
  160. package/src/components/CnTreeView/CnTreeNode.vue +10 -1
  161. package/src/components/CnTreeView/CnTreeView.vue +9 -0
  162. package/src/components/index.js +3 -0
  163. package/src/css/context-menu.css +7 -0
  164. package/src/css/dialog.css +7 -5
  165. package/src/css/look-board-detail.css +120 -1
  166. package/src/css/look-board-index.css +21 -2
  167. package/src/css/look-board.css +55 -2
  168. package/src/dialogs/CnConfirmDialog.vue +3 -1
  169. package/src/index.js +3 -0
  170. package/src/integrations/builtin/contacts/CnContactsTab.vue +14 -3
  171. package/src/integrations/builtin/contacts/__tests__/CnContactsTabBoardRows.spec.js +17 -2
  172. package/src/utils/noteThreads.js +13 -1
  173. package/src/utils/objectParties.js +49 -4
  174. package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue3.js.map +0 -1
@@ -176,7 +176,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
176
176
  }, [
177
177
  createElementVNode("header", _hoisted_1, [
178
178
  createElementVNode("div", _hoisted_2, [
179
- createElementVNode("h2", _hoisted_3, toDisplayString($options.titleText), 1 /* TEXT */)
179
+ createElementVNode("h1", _hoisted_3, toDisplayString($options.titleText), 1 /* TEXT */)
180
180
  ]),
181
181
  (!$setup.store.inRunView || $options.canvasLayout)
182
182
  ? (openBlock(), createElementBlock("div", _hoisted_4, [
@@ -212,7 +212,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
212
212
  createElementVNode("span", {
213
213
  id: $data.toggleLabelId,
214
214
  class: "cn-flow-board__toggle-label"
215
- }, toDisplayString($setup.store.flow.enabled !== false ? $options.t('nextcloud-vue', 'Active') : $options.t('nextcloud-vue', 'Paused')), 9 /* TEXT, PROPS */, _hoisted_7)
215
+ }, toDisplayString($props.toggleLabel === 'fixed' || $setup.store.flow.enabled !== false ? $options.t('nextcloud-vue', 'Active') : $options.t('nextcloud-vue', 'Paused')), 9 /* TEXT, PROPS */, _hoisted_7)
216
216
  ]))
217
217
  : createCommentVNode("v-if", true),
218
218
  createVNode(_component_NcButton, {
@@ -1 +1 @@
1
- {"version":3,"file":"CnFlowBoard.vue3.js","sources":["../../../../src/components/CnFlowsPage/CnFlowBoard.vue?vue&type=template&id=1b1b7dbb&lang.js"],"sourcesContent":["<!--\n CnFlowBoard — the flow editor in the board look: a page header with the\n flow's name, path and actions, then the canvas in a card beside an\n inspector card. Optionally a palette card on the left (`palette: column`).\n The same page shows one run when the route carries `?run=`: the canvas\n paints each step's outcome and the inspector holds the run's card and logs.\n\n The canvas itself is CnFlowDetail; this component only lays it out and adds\n what the board draws around it.\n\n SPDX-FileCopyrightText: 2026 Conduction B.V. <info@conduction.nl>\n SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<div class=\"cn-flow-board\" :class=\"{ 'cn-flow-board--with-palette': showPalette, 'cn-flow-board--canvas': canvasLayout, 'cn-flow-board--run': store.inRunView }\" data-testid=\"flow-board\">\n\t\t<header class=\"cn-flow-board__header\">\n\t\t\t<div class=\"cn-flow-board__heading\">\n\t\t\t\t<h2 class=\"cn-flow-board__title\" data-testid=\"flow-board-title\">\n\t\t\t\t\t{{ titleText }}\n\t\t\t\t</h2>\n\t\t\t</div>\n\t\t\t<div v-if=\"!store.inRunView || canvasLayout\" class=\"cn-flow-board__actions\">\n\t\t\t\t<template v-if=\"!store.inRunView\">\n\t\t\t\t\t<NcButton v-if=\"testSubjectReady\"\n\t\t\t\t\t\t:disabled=\"store.dryRunning || !store.flow.id\"\n\t\t\t\t\t\tdata-testid=\"flow-board-test\"\n\t\t\t\t\t\t@click=\"testOpen = true\">\n\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t<Autorenew :size=\"18\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t{{ testLabel }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t\t<span v-if=\"store.flow.id\" class=\"cn-flow-board__toggle-row\" data-testid=\"flow-board-enabled\">\n\t\t\t\t\t\t<button type=\"button\"\n\t\t\t\t\t\t\trole=\"switch\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__toggle\"\n\t\t\t\t\t\t\t:aria-checked=\"store.flow.enabled !== false ? 'true' : 'false'\"\n\t\t\t\t\t\t\t:aria-labelledby=\"toggleLabelId\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-enabled-switch\"\n\t\t\t\t\t\t\t@click=\"onEnabledChange(store.flow.enabled === false)\" />\n\t\t\t\t\t\t<span :id=\"toggleLabelId\" class=\"cn-flow-board__toggle-label\">\n\t\t\t\t\t\t\t{{ store.flow.enabled !== false ? t('nextcloud-vue', 'Active') : t('nextcloud-vue', 'Paused') }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<NcButton :disabled=\"store.checking || !store.nodes.length\"\n\t\t\t\t\t\tdata-testid=\"flow-board-check\"\n\t\t\t\t\t\t@click=\"store.check()\">\n\t\t\t\t\t\t<template v-if=\"canvasLayout\" #icon>\n\t\t\t\t\t\t\t<CheckCircleOutline :size=\"18\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Check') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t\t<NcButton v-if=\"showRun\"\n\t\t\t\t\t\t:disabled=\"store.running || !store.flow.id\"\n\t\t\t\t\t\tdata-testid=\"flow-board-run\"\n\t\t\t\t\t\t@click=\"onRun\">\n\t\t\t\t\t\t<template v-if=\"canvasLayout\" #icon>\n\t\t\t\t\t\t\t<Play :size=\"18\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Run') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t</template>\n\t\t\t\t<CnBuildiqEditButton />\n\t\t\t\t<NcActions v-if=\"canvasLayout\"\n\t\t\t\t\tclass=\"cn-flow-board__more\"\n\t\t\t\t\t:menuName=\"t('nextcloud-vue', 'More')\"\n\t\t\t\t\t:forceName=\"true\"\n\t\t\t\t\tdata-testid=\"flow-board-more\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<ChevronDown :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"store.inRunView\">\n\t\t\t\t\t\t<NcActionButton data-testid=\"flow-board-more-play\" @click=\"store.requestReplay()\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<Replay :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Play on the canvas') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t\t<NcActionButton data-testid=\"flow-board-more-back\" @click=\"onBackToFlow\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<ArrowLeft :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Back to the flow') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-else>\n\t\t\t\t\t\t<NcActionButton data-testid=\"flow-board-more-runs\" @click=\"showRuns = true\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<History :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Show runs') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t\t<NcActionButton v-if=\"lastRunUuid\" data-testid=\"flow-board-more-last-run\" @click=\"openRun(lastRunUuid)\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<Replay :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Open the last run on the canvas') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t</template>\n\t\t\t\t</NcActions>\n\t\t\t\t<NcButton v-if=\"!store.inRunView\"\n\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t:disabled=\"store.saving || !store.flow.name || store.graphLocked\"\n\t\t\t\t\tdata-testid=\"flow-board-save\"\n\t\t\t\t\t@click=\"$emit('save')\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Check :size=\"18\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t{{ t('nextcloud-vue', 'Save') }}\n\t\t\t\t</NcButton>\n\t\t\t</div>\n\t\t</header>\n\n\t\t<CnDialog v-if=\"testOpen\"\n\t\t\t:name=\"testLabel\"\n\t\t\tdata-testid=\"flow-board-test-dialog\"\n\t\t\t@closing=\"testOpen = false\">\n\t\t\t<p class=\"cn-flow-board__test-intro\">\n\t\t\t\t{{ t('nextcloud-vue', 'The saved flow is tried with the record you pick. Nothing is changed or sent.') }}\n\t\t\t</p>\n\t\t\t<CnResourceSelect v-model=\"testRecord\"\n\t\t\t\t:register=\"testSubject.register\"\n\t\t\t\t:schema=\"testSubject.schema\"\n\t\t\t\t:labelField=\"testSubject.labelField || 'title'\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Record')\"\n\t\t\t\tdata-testid=\"flow-board-test-record\" />\n\t\t\t<template #actions>\n\t\t\t\t<NcButton data-testid=\"flow-board-test-cancel\" @click=\"testOpen = false\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Cancel') }}\n\t\t\t\t</NcButton>\n\t\t\t\t<NcButton variant=\"primary\"\n\t\t\t\t\t:disabled=\"!testRecord || store.dryRunning\"\n\t\t\t\t\tdata-testid=\"flow-board-test-run\"\n\t\t\t\t\t@click=\"runTest\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Run test') }}\n\t\t\t\t</NcButton>\n\t\t\t</template>\n\t\t</CnDialog>\n\n\t\t<p v-if=\"canvasLayout && store.inRunView && runRecord\"\n\t\t\tclass=\"cn-flow-board__run-pills\"\n\t\t\tdata-testid=\"flow-board-run-pills\">\n\t\t\t<CnStatusBadge :label=\"runStatus.label\" :variant=\"runStatus.variant\" />\n\t\t\t<CnStatusBadge v-if=\"runWarningCount > 0\" :label=\"runWarningText\" variant=\"warning\" />\n\t\t</p>\n\n\t\t<p class=\"cn-flow-board__path\" data-testid=\"flow-board-path\">\n\t\t\t<CnStatusBadge v-if=\"pillText\"\n\t\t\t\tclass=\"cn-flow-board__pill\"\n\t\t\t\t:label=\"pillText\"\n\t\t\t\t:variant=\"pill ? pillVariant : 'default'\" />\n\t\t\t<CnStatusBadge v-if=\"lastRunPill\"\n\t\t\t\tclass=\"cn-flow-board__pill\"\n\t\t\t\t:label=\"lastRunPill\"\n\t\t\t\tvariant=\"default\"\n\t\t\t\tdata-testid=\"flow-board-last-run\" />\n\t\t\t<template v-for=\"(crumb, index) in trailCrumbs\" :key=\"index\">\n\t\t\t\t<a :href=\"crumb.href\" class=\"cn-flow-board__crumb\" @click=\"onCrumbClick($event, crumb.path)\">{{ crumb.label }}</a>\n\t\t\t\t<span aria-hidden=\"true\"> / </span>\n\t\t\t</template>\n\t\t\t<template v-if=\"store.inRunView\">\n\t\t\t\t<a :href=\"flowHref\" class=\"cn-flow-board__crumb\" @click=\"onCrumbClick($event, flowPath)\">{{ flowName }}</a>\n\t\t\t\t<span aria-hidden=\"true\"> / </span>\n\t\t\t\t<span>{{ runCrumb }}</span>\n\t\t\t</template>\n\t\t\t<span v-else>{{ flowName }}</span>\n\t\t\t<span v-if=\"metaText\" class=\"cn-flow-board__meta\"> · {{ metaText }}</span>\n\t\t</p>\n\n\t\t<NcNoteCard v-if=\"notice && !store.inRunView\" type=\"info\" class=\"cn-flow-board__notice\">\n\t\t\t{{ noticeText }}\n\t\t</NcNoteCard>\n\n\t\t<div class=\"cn-flow-board__body\">\n\t\t\t<aside v-if=\"showPalette\"\n\t\t\t\tclass=\"cn-flow-board__card cn-flow-board__palette\"\n\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Steps')\"\n\t\t\t\tdata-testid=\"flow-board-palette\">\n\t\t\t\t<section v-for=\"group in paletteSections\"\n\t\t\t\t\t:key=\"group.app\"\n\t\t\t\t\tclass=\"cn-flow-board__palette-group\">\n\t\t\t\t\t<h4 class=\"cn-flow-board__palette-app\">\n\t\t\t\t\t\t{{ group.name }}\n\t\t\t\t\t</h4>\n\t\t\t\t\t<ul class=\"cn-flow-board__palette-list\">\n\t\t\t\t\t\t<li v-for=\"entry in group.entries\" :key=\"entry.id\">\n\t\t\t\t\t\t\t<button type=\"button\"\n\t\t\t\t\t\t\t\tclass=\"cn-flow-board__palette-step\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t:data-testid=\"`flow-board-palette-${entry.id}`\"\n\t\t\t\t\t\t\t\t@click=\"store.addNode(entry.id)\">\n\t\t\t\t\t\t\t\t{{ entry.displayName || entry.label || entry.id }}\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</section>\n\t\t\t\t<button v-if=\"paletteCurated\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclass=\"cn-flow-board__palette-more\"\n\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\tdata-testid=\"flow-board-palette-more\"\n\t\t\t\t\t@click=\"stepPickerOpen = true\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'More steps') }}\n\t\t\t\t</button>\n\t\t\t\t<p v-if=\"paletteFootnote\" class=\"cn-flow-board__palette-note\">\n\t\t\t\t\t{{ paletteFootnote }}\n\t\t\t\t</p>\n\t\t\t</aside>\n\t\t\t<CnFlowStepPickerModal v-if=\"stepPickerOpen\" @close=\"stepPickerOpen = false\" />\n\n\t\t\t<section class=\"cn-flow-board__card cn-flow-board__canvas\" :aria-label=\"t('nextcloud-vue', 'Flow canvas')\">\n\t\t\t\t<CnFlowDetail :id=\"id\"\n\t\t\t\t\t:app=\"app\"\n\t\t\t\t\t:run=\"run\"\n\t\t\t\t\t:layoutDirection=\"flowDirection === 'down' ? 'down' : 'right'\"\n\t\t\t\t\t:fitMaxZoom=\"flowDirection === 'down' ? 1 : 0\"\n\t\t\t\t\t:fitInset=\"canvasLayout ? canvasChromeInset : null\"\n\t\t\t\t\t:nodeBadge=\"nodeLook === 'card' ? nodeBadge : null\"\n\t\t\t\t\t:toolbarActions=\"false\"\n\t\t\t\t\t:addStep=\"!showPalette\"\n\t\t\t\t\tquietRun\n\t\t\t\t\t@save=\"$emit('save')\"\n\t\t\t\t\t@run=\"onRun\">\n\t\t\t\t\t<template v-if=\"canvasLayout && store.inRunView\" #toolbar-start>\n\t\t\t\t\t\t<div class=\"cn-flow-board__legend-card\"\n\t\t\t\t\t\t\trole=\"group\"\n\t\t\t\t\t\t\t:aria-labelledby=\"legendTitleId\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-legend\">\n\t\t\t\t\t\t\t<span :id=\"legendTitleId\" class=\"cn-flow-board__legend-title\">{{ t('nextcloud-vue', 'Outcome per step') }}</span>\n\t\t\t\t\t\t\t<ul class=\"cn-flow-board__legend-list\">\n\t\t\t\t\t\t\t\t<li v-for=\"level in canvasLegend\" :key=\"level.id\" class=\"cn-flow-board__legend-item\">\n\t\t\t\t\t\t\t\t\t<CnStatusBadge :label=\"level.label\" :variant=\"level.variant\" class=\"cn-flow-board__legend-pill\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__legend-swatch\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t\t{{ level.label }}\n\t\t\t\t\t\t\t\t\t</CnStatusBadge>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li class=\"cn-flow-board__legend-item cn-flow-board__legend-route\">\n\t\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__legend-line cn-flow-board__legend-line--taken\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Taken route') }}\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li class=\"cn-flow-board__legend-item cn-flow-board__legend-route cn-flow-board__legend-route--muted\">\n\t\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__legend-line\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Not taken') }}\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"canvasLayout\" #toolbar-end>\n\t\t\t\t\t\t<CnStatusBadge v-if=\"!store.inRunView\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__validity-pill\"\n\t\t\t\t\t\t\t:label=\"validityPill\"\n\t\t\t\t\t\t\t:variant=\"validityVariant\"\n\t\t\t\t\t\t\t:title=\"validity.text\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-validity-pill\" />\n\t\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__panel-toggle\"\n\t\t\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Side panel')\"\n\t\t\t\t\t\t\t:aria-pressed=\"inspectorShown ? 'true' : 'false'\"\n\t\t\t\t\t\t\t:title=\"t('nextcloud-vue', 'Side panel')\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-panel-toggle\"\n\t\t\t\t\t\t\t@click=\"togglePanel\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<DockRight :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</template>\n\t\t\t\t</CnFlowDetail>\n\t\t\t\t<CnFlowRunSummary v-if=\"canvasLayout && store.inRunView\"\n\t\t\t\t\tclass=\"cn-flow-board__run-card\"\n\t\t\t\t\t:class=\"`cn-flow-board__run-card--${runStatus.variant}`\"\n\t\t\t\t\tstatusIcon\n\t\t\t\t\t:run=\"runRecord\"\n\t\t\t\t\t:stepsTotal=\"store.nodes.length\"\n\t\t\t\t\t:canRetry=\"canRetry\"\n\t\t\t\t\ticonActions\n\t\t\t\t\tdata-testid=\"flow-board-run-card\"\n\t\t\t\t\t@back=\"onBackToFlow\"\n\t\t\t\t\t@retry=\"onRetry\" />\n\t\t\t\t<div v-if=\"store.inRunView && !canvasLayout\"\n\t\t\t\t\tclass=\"cn-flow-board__legend\"\n\t\t\t\t\tdata-testid=\"flow-board-legend\">\n\t\t\t\t\t<span v-for=\"level in legend\" :key=\"level.id\" class=\"cn-flow-board__legend-item\">\n\t\t\t\t\t\t<CnStatusBadge :label=\"level.label\" :variant=\"level.variant\" size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<p v-else-if=\"!canvasLayout\"\n\t\t\t\t\tclass=\"cn-flow-board__validity\"\n\t\t\t\t\t:class=\"`cn-flow-board__validity--${validity.tone}`\"\n\t\t\t\t\trole=\"status\"\n\t\t\t\t\tdata-testid=\"flow-board-validity\">\n\t\t\t\t\t{{ validity.text }}\n\t\t\t\t</p>\n\t\t\t</section>\n\n\t\t\t<aside v-if=\"inspectorShown\" class=\"cn-flow-board__card cn-flow-board__inspector\" data-testid=\"flow-board-inspector\">\n\t\t\t\t<NcButton v-if=\"canvasLayout && !store.inRunView && !store.selectedNode\"\n\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\tclass=\"cn-flow-board__inspector-close\"\n\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\t:title=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\tdata-testid=\"flow-board-inspector-close\"\n\t\t\t\t\t@click=\"closePanel\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Close :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcButton>\n\t\t\t\t<CnFlowDryRunResult v-if=\"store.dryRunResult && !store.inRunView\"\n\t\t\t\t\t:result=\"store.dryRunResult\"\n\t\t\t\t\t@close=\"store.clearDryRun()\" />\n\t\t\t\t<template v-else-if=\"store.inRunView\">\n\t\t\t\t\t<CnFlowRunSummary v-if=\"!canvasLayout\"\n\t\t\t\t\t\t:run=\"runRecord\"\n\t\t\t\t\t\t:stepsTotal=\"store.nodes.length\"\n\t\t\t\t\t\t:canRetry=\"canRetry\"\n\t\t\t\t\t\t@back=\"onBackToFlow\"\n\t\t\t\t\t\t@retry=\"onRetry\" />\n\t\t\t\t\t<div class=\"cn-flow-board__tabs\" role=\"tablist\">\n\t\t\t\t\t\t<button v-for=\"tab in runTabs\"\n\t\t\t\t\t\t\t:key=\"tab.id\"\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__tab\"\n\t\t\t\t\t\t\t:class=\"{ 'cn-flow-board__tab--active': runTab === tab.id }\"\n\t\t\t\t\t\t\t:aria-selected=\"runTab === tab.id ? 'true' : 'false'\"\n\t\t\t\t\t\t\t:data-testid=\"`flow-board-run-tab-${tab.id}`\"\n\t\t\t\t\t\t\t@click=\"runTab = tab.id\">\n\t\t\t\t\t\t\t{{ tab.label }}\n\t\t\t\t\t\t\t<span class=\"cn-flow-board__tab-count\">{{ tab.count }}</span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div v-if=\"canvasLayout && runTab === 'step' && selectedRunStep\"\n\t\t\t\t\t\tclass=\"cn-flow-board__run-step\"\n\t\t\t\t\t\tdata-testid=\"flow-board-run-step\">\n\t\t\t\t\t\t<span class=\"cn-flow-board__step-kind\">{{ stepKindText }}</span>\n\t\t\t\t\t\t<h3 class=\"cn-flow-board__card-title\">\n\t\t\t\t\t\t\t{{ stepName }}\n\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t<p class=\"cn-flow-board__run-step-meta\">\n\t\t\t\t\t\t\t<CnStatusBadge :label=\"selectedRunStep.label\" :variant=\"selectedRunStep.variant\" size=\"small\" />\n\t\t\t\t\t\t\t<span v-if=\"selectedRunStep.timing\">{{ selectedRunStep.timing }}</span>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<CnFlowStepLog :lines=\"runTab === 'step' ? selectedRunLines : allRunLines\"\n\t\t\t\t\t\t:emptyText=\"runTab === 'step' && !store.selectedNodeId ? t('nextcloud-vue', 'Select a step on the canvas to see what it did.') : ''\" />\n\t\t\t\t\t<template v-if=\"canvasLayout && runTab === 'step' && selectedRunStep\">\n\t\t\t\t\t\t<p v-if=\"selectedRunStep.wentOn\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__run-step-note\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-run-step-note\">\n\t\t\t\t\t\t\t<InformationOutline :size=\"18\" />\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'This step failed, but continue on error is on, so the run went on.') }}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<div class=\"cn-flow-board__run-step-actions\">\n\t\t\t\t\t\t\t<NcButton data-testid=\"flow-board-run-edit-step\" @click=\"onEditRunStep\">\n\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Edit this step') }}\n\t\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t\t<NcButton class=\"cn-button--tonal\"\n\t\t\t\t\t\t\t\tdata-testid=\"flow-board-run-play\"\n\t\t\t\t\t\t\t\t@click=\"store.requestReplay()\">\n\t\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t\t<Replay :size=\"20\" />\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Play on the canvas') }}\n\t\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</template>\n\t\t\t\t</template>\n\t\t\t\t<template v-else-if=\"store.selectedNode\">\n\t\t\t\t\t<div v-if=\"canvasLayout\" class=\"cn-flow-board__step-head\">\n\t\t\t\t\t\t<div class=\"cn-flow-board__step-heading\">\n\t\t\t\t\t\t\t<span class=\"cn-flow-board__step-kind\" data-testid=\"flow-board-step-kind\">{{ stepKindText }}</span>\n\t\t\t\t\t\t\t<h3 class=\"cn-flow-board__card-title\" data-testid=\"flow-board-step-name\">\n\t\t\t\t\t\t\t\t{{ stepName }}\n\t\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\t\t\t:title=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-inspector-close\"\n\t\t\t\t\t\t\t@click=\"closePanel\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<Close :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</div>\n\t\t\t\t\t<NcTextField v-if=\"canvasLayout\"\n\t\t\t\t\t\t:modelValue=\"nameDraft === null ? stepName : nameDraft\"\n\t\t\t\t\t\t:label=\"t('nextcloud-vue', 'Step name')\"\n\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\tdata-testid=\"flow-board-step-name-field\"\n\t\t\t\t\t\t@update:modelValue=\"nameDraft = $event\"\n\t\t\t\t\t\t@blur=\"commitStepName\"\n\t\t\t\t\t\t@keydown.enter=\"commitStepName\" />\n\t\t\t\t\t<h3 v-if=\"!canvasLayout\" class=\"cn-flow-board__card-title\" data-testid=\"flow-board-step-name\">\n\t\t\t\t\t\t{{ stepName }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<!-- The step type as a pill under the name (DqFlow \"Beslistabel van OpenRegister\"). -->\n\t\t\t\t\t<CnStatusBadge v-if=\"!canvasLayout\"\n\t\t\t\t\t\t:label=\"stepTypePill\"\n\t\t\t\t\t\tvariant=\"purple\"\n\t\t\t\t\t\tclass=\"cn-flow-board__step-type\"\n\t\t\t\t\t\tdata-testid=\"flow-board-step-type\" />\n\t\t\t\t\t<div v-if=\"stepFields.length > 0\" class=\"cn-flow-board__settings\">\n\t\t\t\t\t\t<div v-for=\"field in stepFields\"\n\t\t\t\t\t\t\t:key=\"field.key\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__setting\"\n\t\t\t\t\t\t\t:class=\"{ 'cn-flow-board__setting--card': canvasLayout && field.widget === 'switch' && field.description }\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-step-setting\">\n\t\t\t\t\t\t\t<div v-if=\"canvasLayout && field.widget === 'switch' && field.description\" class=\"cn-flow-board__setting-text\">\n\t\t\t\t\t\t\t\t<span :id=\"`${toggleLabelId}-${field.key}`\" class=\"cn-flow-board__setting-label\">{{ field.label }}</span>\n\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__setting-help\">{{ field.description }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<NcCheckboxRadioSwitch v-if=\"canvasLayout && field.widget === 'switch' && field.description\"\n\t\t\t\t\t\t\t\ttype=\"switch\"\n\t\t\t\t\t\t\t\t:modelValue=\"field.value === true\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t:aria-labelledby=\"`${toggleLabelId}-${field.key}`\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"setStepField(field, $event)\" />\n\t\t\t\t\t\t\t<NcCheckboxRadioSwitch v-else-if=\"field.widget === 'switch'\"\n\t\t\t\t\t\t\t\ttype=\"switch\"\n\t\t\t\t\t\t\t\t:modelValue=\"field.value === true\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"setStepField(field, $event)\">\n\t\t\t\t\t\t\t\t{{ field.label }}\n\t\t\t\t\t\t\t</NcCheckboxRadioSwitch>\n\t\t\t\t\t\t\t<NcSelect v-else-if=\"field.widget === 'select'\"\n\t\t\t\t\t\t\t\t:modelValue=\"field.option\"\n\t\t\t\t\t\t\t\t:options=\"field.options\"\n\t\t\t\t\t\t\t\t:inputLabel=\"field.label\"\n\t\t\t\t\t\t\t\t:clearable=\"false\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\tlabel=\"label\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"setStepField(field, $event ? $event.id : '')\" />\n\t\t\t\t\t\t\t<NcTextArea v-else-if=\"field.widget === 'textarea'\"\n\t\t\t\t\t\t\t\t:modelValue=\"fieldDraft(field)\"\n\t\t\t\t\t\t\t\t:label=\"field.label\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\tresize=\"vertical\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"drafts[field.key] = $event\"\n\t\t\t\t\t\t\t\t@blur=\"commitStepField(field)\" />\n\t\t\t\t\t\t\t<NcTextField v-else\n\t\t\t\t\t\t\t\t:modelValue=\"fieldDraft(field)\"\n\t\t\t\t\t\t\t\t:label=\"field.label\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"drafts[field.key] = $event\"\n\t\t\t\t\t\t\t\t@blur=\"commitStepField(field)\"\n\t\t\t\t\t\t\t\t@keydown.enter=\"commitStepField(field)\" />\n\t\t\t\t\t\t\t<span v-if=\"canvasLayout && field.description && field.widget !== 'switch'\" class=\"cn-flow-board__setting-help\">{{ field.description }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<dl v-if=\"stepOutcomes.length > 0\" class=\"cn-flow-board__outcomes\" data-testid=\"flow-board-step-outcomes\">\n\t\t\t\t\t\t<div v-for=\"outcome in stepOutcomes\" :key=\"outcome.id\" class=\"cn-flow-board__outcome\">\n\t\t\t\t\t\t\t<dt>{{ outcome.label }}</dt>\n\t\t\t\t\t\t\t<dd>{{ outcome.target }}</dd>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</dl>\n\t\t\t\t\t<div class=\"cn-flow-board__step-actions\">\n\t\t\t\t\t\t<NcButton data-testid=\"flow-board-edit-step\" @click=\"store.editingNodeId = store.selectedNodeId\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Edit step') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t<NcButton v-if=\"lastRunUuid && !canvasLayout\"\n\t\t\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-open-last-run\"\n\t\t\t\t\t\t\t@click=\"openRun(lastRunUuid)\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Open the last run on the canvas') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</div>\n\t\t\t\t\t<section v-if=\"canvasLayout\" class=\"cn-flow-board__step-log cn-flow-board__step-log--open\" data-testid=\"flow-board-step-log\">\n\t\t\t\t\t\t<h4 class=\"cn-flow-board__subtitle\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Recent log lines of this step') }}\n\t\t\t\t\t\t</h4>\n\t\t\t\t\t\t<CnFlowStepLog :lines=\"recentStepLines\"\n\t\t\t\t\t\t\twithDay\n\t\t\t\t\t\t\t:emptyText=\"t('nextcloud-vue', 'This step has not run yet.')\" />\n\t\t\t\t\t\t<a v-if=\"lastRunUuid\"\n\t\t\t\t\t\t\t:href=\"hrefOf(flowPath) + '?run=' + encodeURIComponent(lastRunUuid)\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__step-log-link\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-open-last-run\"\n\t\t\t\t\t\t\t@click.prevent=\"openRun(lastRunUuid)\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Open the last run on the canvas') }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</section>\n\t\t\t\t\t<details v-else class=\"cn-flow-board__step-log\" data-testid=\"flow-board-step-log\">\n\t\t\t\t\t\t<summary class=\"cn-flow-board__subtitle\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Recent log lines of this step') }}\n\t\t\t\t\t\t</summary>\n\t\t\t\t\t\t<CnFlowStepLog :lines=\"recentStepLines\"\n\t\t\t\t\t\t\twithDay\n\t\t\t\t\t\t\t:emptyText=\"t('nextcloud-vue', 'This step has not run yet.')\" />\n\t\t\t\t\t</details>\n\t\t\t\t\t<div class=\"cn-flow-board__step-footer\">\n\t\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\t\t:class=\"{ 'cn-flow-board__delete-step': canvasLayout }\"\n\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-delete-step\"\n\t\t\t\t\t\t\t@click=\"store.removeNode(store.selectedNodeId)\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Delete step') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t<NcButton :variant=\"canvasLayout ? 'primary' : 'secondary'\" data-testid=\"flow-board-done\" @click=\"store.selectedNodeId = null\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Done') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\t\t\t\t<template v-else-if=\"showRuns\">\n\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\tclass=\"cn-flow-board__runs-back\"\n\t\t\t\t\t\tdata-testid=\"flow-board-hide-runs\"\n\t\t\t\t\t\t@click=\"showRuns = false\">\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Back to the step settings') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t\t<CnFlowSidebar embedded />\n\t\t\t\t</template>\n\t\t\t\t<div v-else class=\"cn-flow-board__inspector-empty\" data-testid=\"flow-board-inspector-empty\">\n\t\t\t\t\t<p>{{ t('nextcloud-vue', 'Select a step on the canvas to see its settings.') }}</p>\n\t\t\t\t\t<NcButton variant=\"secondary\"\n\t\t\t\t\t\tdata-testid=\"flow-board-show-runs\"\n\t\t\t\t\t\t@click=\"showRuns = true\">\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Show runs') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t</div>\n\t\t\t</aside>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport { NcActionButton, NcActions, NcButton, NcCheckboxRadioSwitch, NcNoteCard, NcSelect, NcTextArea, NcTextField } from '@nextcloud/vue'\nimport ArrowLeft from 'vue-material-design-icons/ArrowLeft.vue'\nimport Autorenew from 'vue-material-design-icons/Autorenew.vue'\nimport Check from 'vue-material-design-icons/Check.vue'\nimport CheckCircleOutline from 'vue-material-design-icons/CheckCircleOutline.vue'\nimport ChevronDown from 'vue-material-design-icons/ChevronDown.vue'\nimport Close from 'vue-material-design-icons/Close.vue'\nimport DockRight from 'vue-material-design-icons/DockRight.vue'\nimport History from 'vue-material-design-icons/History.vue'\nimport InformationOutline from 'vue-material-design-icons/InformationOutline.vue'\nimport Play from 'vue-material-design-icons/Play.vue'\nimport Replay from 'vue-material-design-icons/Replay.vue'\nimport CnFlowStepPickerModal from '../../dialogs/CnFlowStepPickerModal.vue'\nimport CnBuildiqEditButton from '../CnBuildiqEditButton/CnBuildiqEditButton.vue'\nimport CnDialog from '../CnDialog/CnDialog.vue'\nimport CnFlowDetail from '../CnFlowDetail/CnFlowDetail.vue'\nimport CnFlowDryRunResult from '../CnFlowDetail/CnFlowDryRunResult.vue'\nimport CnFlowRunSummary from '../CnFlowDetail/CnFlowRunSummary.vue'\nimport CnFlowSidebar from '../CnFlowDetail/CnFlowSidebar.vue'\nimport CnFlowStepLog from '../CnFlowDetail/CnFlowStepLog.vue'\nimport CnResourceSelect from '../CnResourceSelect/CnResourceSelect.vue'\nimport { FLOW_RUN_ACTIVE_STATUSES, useFlowStore } from '../../composables/useFlowStore.js'\nimport { formatRelativeDate } from '../../utils/boardDate.js'\nimport { flowOutcomeLevels, flowRunDurationMs, flowRunLogLines, flowRunName, flowRunSteps, formatFlowDuration } from '../../utils/flowRunLog.js'\nimport { flowRunStatuses } from '../../utils/flowRunStatus.js'\nimport { appDisplayNames } from '../../utils/nextcloudApps.js'\nimport { overlayInset } from '../../utils/overlayInset.js'\nimport { normaliseSelectOptions } from '../../utils/selectOptions.js'\nimport { CnStatusBadge } from '../CnStatusBadge/index.js'\n\n/**\n * The board-look flow editor and run view. CnFlowEditorPage renders it when\n * the app or page is in the board look; the Nextcloud look keeps the canvas\n * on its own with the app sidebar.\n */\nexport default {\n\tname: 'CnFlowBoard',\n\n\tcomponents: { ArrowLeft, Autorenew, Check, CheckCircleOutline, ChevronDown, Close, DockRight, History, InformationOutline, Play, Replay, NcActionButton, NcActions, CnBuildiqEditButton, CnDialog, CnFlowDetail, CnFlowDryRunResult, CnResourceSelect, CnFlowRunSummary, CnFlowSidebar, CnFlowStepLog, CnFlowStepPickerModal, CnStatusBadge, NcButton, NcCheckboxRadioSwitch, NcNoteCard, NcSelect, NcTextArea, NcTextField },\n\n\tprops: {\n\t\t/** The flow uuid, or `new`. */\n\t\tid: { type: String, default: '' },\n\t\t/** The owning app, for a new flow and the list scope. */\n\t\tapp: { type: String, default: null },\n\t\t/** The run to show, or ''. */\n\t\trun: { type: String, default: '' },\n\t\t/** Where the flow list lives; flows open at `<detailRoute>/<id>`. */\n\t\tdetailRoute: { type: String, default: '/flows' },\n\t\t/** The list's name in the path (\"Flows\", \"Settings / Flows\"). */\n\t\tlistLabel: { type: String, default: '' },\n\t\t/** `column` draws the step palette as a card on the left. */\n\t\tpalette: { type: String, default: 'picker' },\n\t\t/** Free text under the path in the palette card. */\n\t\tpaletteFootnote: { type: String, default: '' },\n\t\t/**\n\t\t * The palette's groups as the page curates them, in order:\n\t\t * `[{ app?, label?, tone?, entries: [{ type, label?, short? }] }]`.\n\t\t * `type` is a catalogue id; `label` replaces the step's catalogue name\n\t\t * and the group's app name; on the canvas (`nodeLook: card`) a step's\n\t\t * pill reads the group's `pill` (else its name) and the step's `short`,\n\t\t * in the group's `tone`. Steps the catalogue lacks are left out, and every other\n\t\t * step stays behind \"More steps\". Empty draws the whole catalogue,\n\t\t * grouped per app (DqFlow: four groups, nine steps).\n\t\t */\n\t\tpaletteGroups: { type: Array, default: () => [] },\n\t\t/**\n\t\t * `card` draws each step as a card with its name and the pill of the\n\t\t * app that does it (\"dossiq · persoon vragen\", DqFlow); default `type`\n\t\t * keeps the type line over the name.\n\t\t */\n\t\tnodeLook: { type: String, default: 'type' },\n\t\t/** `down` runs the steps top to bottom and opens them at their own size (DqFlow); default `right`, left to right and fitted. */\n\t\tflowDirection: { type: String, default: 'right' },\n\t\t/** An info notice under the path. */\n\t\tnotice: { type: String, default: '' },\n\t\t/**\n\t\t * Edit a published flow in place; Save publishes the edits as the next\n\t\t * version, and runs already started keep theirs (DqFlow).\n\t\t */\n\t\tsaveAsVersion: { type: Boolean, default: false },\n\t\t/**\n\t\t * Which of `trigger`, `steps`, `version` and `saved` the path names after\n\t\t * the flow, in that order. `saved` adds when the flow was last saved to\n\t\t * the version (PqFlow).\n\t\t */\n\t\tmetaParts: { type: Array, default: () => ['trigger', 'steps', 'version'] },\n\t\t/** A closing note after the path's meta (\"changes apply to new cases\"). */\n\t\tmetaNote: { type: String, default: '' },\n\t\t/**\n\t\t * The levels before the flow in the path, each its own link:\n\t\t * `[{ label, href? }]` (\"Settings\" / \"Flows\"). A crumb without an\n\t\t * `href` links to the flow list. Empty draws the one `listLabel` link.\n\t\t */\n\t\tbreadcrumb: { type: Array, default: () => [] },\n\t\t/** The pill at the start of the path row (\"Case type flow\"). */\n\t\tpill: { type: String, default: '' },\n\t\t/** The tone of `pill` (\"teal\" on DqFlow); a lifecycle pill stays neutral. */\n\t\tpillVariant: { type: String, default: 'default' },\n\t\t/**\n\t\t * The records a test run can take as its subject: `{ register, schema,\n\t\t * labelField?, label? }`. Draws a header button (\"Testen met een zaak\",\n\t\t * DqFlow) that tries the saved flow with a picked record through\n\t\t * OpenRegister's dry-run, changing and sending nothing.\n\t\t */\n\t\ttestSubject: { type: Object, default: null },\n\n\t\t/**\n\t\t * `canvas` draws the page as boards PqFlow and PqFlowRun do: the actions\n\t\t * under the title, the canvas without a frame, the validity and a side\n\t\t * panel toggle in the canvas toolbar, the inspector as a closable\n\t\t * floating panel and, in a run, its pills in the header and its card\n\t\t * over the canvas. `cards` (default) keeps the DqFlow grid.\n\t\t */\n\t\tlayout: { type: String, default: 'cards' },\n\t},\n\n\temits: ['save', 'run', 'retried'],\n\n\tsetup() {\n\t\treturn { store: useFlowStore() }\n\t},\n\n\tdata() {\n\t\treturn { nameDraft: null, legendTitleId: `cn-flow-board-legend-${Math.random().toString(36).slice(2)}`, panelOpen: false, runPanelClosed: false, runTab: 'step', testOpen: false, testRecord: null, appNames: {}, showRuns: false, stepPickerOpen: false, drafts: {}, loadedOptions: {}, toggleLabelId: `cn-flow-board-toggle-${Math.random().toString(36).slice(2)}` }\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t * @return {boolean} Whether the page is laid out as a canvas page.\n\t\t */\n\t\tcanvasLayout() {\n\t\t\treturn this.layout === 'canvas'\n\t\t},\n\n\t\t/**\n\t\t * Whether the inspector is drawn. Always in the card layout; on a canvas\n\t\t * page while a run is open (until closed), or while a step, a test\n\t\t * result or the runs are shown, or the toggle opened it.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t * @return {boolean}\n\t\t */\n\t\tinspectorShown() {\n\t\t\tif (!this.canvasLayout) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\tif (this.store.inRunView) {\n\t\t\t\treturn !this.runPanelClosed\n\t\t\t}\n\t\t\treturn this.panelOpen || Boolean(this.store.selectedNode) || Boolean(this.store.dryRunResult) || this.showRuns\n\t\t},\n\n\t\t/** @return {string} The validity as a short pill label. */\n\t\tvalidityPill() {\n\t\t\treturn {\n\t\t\t\tsuccess: this.t('nextcloud-vue', 'Flow is valid'),\n\t\t\t\twarning: this.t('nextcloud-vue', 'Valid with warnings'),\n\t\t\t\terror: this.t('nextcloud-vue', 'Flow has errors'),\n\t\t\t}[this.validity.tone] || this.t('nextcloud-vue', 'Not checked yet')\n\t\t},\n\n\t\t/** @return {string} The validity pill's colour. */\n\t\tvalidityVariant() {\n\t\t\treturn ['success', 'warning', 'error'].includes(this.validity.tone) ? this.validity.tone : 'default'\n\t\t},\n\n\t\t/** @return {{label: string, variant: string}} The run's status pill. */\n\t\trunStatus() {\n\t\t\tconst status = String(this.runRecord?.status || '')\n\t\t\treturn flowRunStatuses()[status] || { label: status, variant: 'default' }\n\t\t},\n\n\t\t/** @return {number} How many of the run's steps warned. */\n\t\trunWarningCount() {\n\t\t\treturn this.runRecord ? flowRunSteps(this.runRecord).filter((step) => step.level === 'warning').length : 0\n\t\t},\n\n\t\t/** @return {string} The warning count pill's label. */\n\t\trunWarningText() {\n\t\t\treturn this.runWarningCount === 1\n\t\t\t\t? this.t('nextcloud-vue', '1 step with a warning')\n\t\t\t\t: this.t('nextcloud-vue', '{count} steps with a warning', { count: this.runWarningCount })\n\t\t},\n\n\t\t/** @return {boolean} Whether a test subject is declared well enough to pick one. */\n\t\ttestSubjectReady() {\n\t\t\treturn Boolean(this.testSubject && this.testSubject.register && this.testSubject.schema)\n\t\t},\n\n\t\t/** @return {string} The test button's label: the page's own, else the library's. */\n\t\ttestLabel() {\n\t\t\treturn (this.testSubject && this.testSubject.label) || t('nextcloud-vue', 'Test with a record')\n\t\t},\n\n\t\t/** @return {boolean} Whether the palette card is drawn. */\n\t\tshowPalette() {\n\t\t\treturn this.palette === 'column' && !this.store.inRunView\n\t\t},\n\n\t\t/** @return {string} The page title. */\n\t\ttitleText() {\n\t\t\treturn this.store.flow.name || this.t('nextcloud-vue', 'New flow')\n\t\t},\n\n\t\t/** @return {string} The flow's name in the path. */\n\t\tflowName() {\n\t\t\treturn this.store.flow.name || this.t('nextcloud-vue', 'New flow')\n\t\t},\n\n\t\t/** @return {string} The pill text: the page's, else the lifecycle. */\n\t\tpillText() {\n\t\t\tif (this.pill) {\n\t\t\t\treturn this.pill\n\t\t\t}\n\t\t\tconst lifecycle = String(this.store.flow.lifecycleStatus || '')\n\t\t\tif (lifecycle === 'draft') {\n\t\t\t\treturn this.t('nextcloud-vue', 'Draft')\n\t\t\t}\n\t\t\tif (lifecycle === 'deprecated') {\n\t\t\t\treturn this.t('nextcloud-vue', 'Retired')\n\t\t\t}\n\t\t\treturn ''\n\t\t},\n\n\t\t/**\n\t\t * The path's links before the flow: the declared trail, else the one\n\t\t * list link.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-trail/specs/flow-board/spec.md#requirement-the-flow-board-path-names-every-level-and-carries-the-pill\n\t\t * @return {Array<{label: string, href: string, path: string}>} The crumbs.\n\t\t */\n\t\ttrailCrumbs() {\n\t\t\tconst declared = (this.breadcrumb || []).filter((crumb) => crumb && typeof crumb.label === 'string' && crumb.label !== '')\n\t\t\tif (declared.length === 0) {\n\t\t\t\treturn [{ label: this.listText, href: this.listHref, path: this.detailRoute }]\n\t\t\t}\n\t\t\treturn declared.map((crumb) => (crumb.href\n\t\t\t\t? { label: crumb.label, href: crumb.href, path: '' }\n\t\t\t\t: { label: crumb.label, href: this.listHref, path: this.detailRoute }))\n\t\t},\n\n\t\t/**\n\t\t * The notice with `{name}` filled with the flow's name.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-trail/specs/flow-board/spec.md#requirement-the-flow-board-notice-can-name-the-flow\n\t\t * @return {string} The notice text.\n\t\t */\n\t\tnoticeText() {\n\t\t\treturn String(this.notice || '').split('{name}').join(this.store.flow.name || '')\n\t\t},\n\n\t\t/** @return {string} The list label. */\n\t\tlistText() {\n\t\t\treturn this.listLabel || this.t('nextcloud-vue', 'Flows')\n\t\t},\n\n\t\t/** @return {string} The flow's own path. */\n\t\tflowPath() {\n\t\t\treturn `${this.detailRoute}/${this.store.flow.id || this.id}`\n\t\t},\n\n\t\t/** @return {string} The list href. */\n\t\tlistHref() {\n\t\t\treturn this.hrefOf(this.detailRoute)\n\t\t},\n\n\t\t/** @return {string} The flow href. */\n\t\tflowHref() {\n\t\t\treturn this.hrefOf(this.flowPath)\n\t\t},\n\n\t\t/**\n\t\t * What the path says after the name: the trigger, the step count and\n\t\t * the version in the editor; when the run started and how long it\n\t\t * took in the run view.\n\t\t *\n\t\t * @return {string} The meta text.\n\t\t */\n\t\tmetaText() {\n\t\t\tif (this.store.inRunView) {\n\t\t\t\tconst record = this.runRecord\n\t\t\t\tif (!record) {\n\t\t\t\t\treturn ''\n\t\t\t\t}\n\t\t\t\tconst parts = [formatRelativeDate(record.created, { withTime: true })]\n\t\t\t\tconst duration = formatFlowDuration(flowRunDurationMs(record))\n\t\t\t\tif (duration) {\n\t\t\t\t\tparts.push(this.t('nextcloud-vue', 'done in {duration}', { duration }))\n\t\t\t\t}\n\t\t\t\treturn parts.filter(Boolean).join(' · ')\n\t\t\t}\n\t\t\tconst parts = []\n\t\t\tconst shown = Array.isArray(this.metaParts) ? this.metaParts : []\n\t\t\tconst trigger = this.triggerText\n\t\t\tif (trigger && shown.includes('trigger')) {\n\t\t\t\tparts.push(this.t('nextcloud-vue', 'trigger {trigger}', { trigger }))\n\t\t\t}\n\t\t\tconst count = this.store.nodes.length\n\t\t\tif (shown.includes('steps')) {\n\t\t\t\tparts.push(count === 1 ? this.t('nextcloud-vue', '1 step') : this.t('nextcloud-vue', '{count} steps', { count }))\n\t\t\t}\n\t\t\tif (this.store.flow.version && shown.includes('version')) {\n\t\t\t\tparts.push(this.store.flow.updated && shown.includes('saved')\n\t\t\t\t\t? this.t('nextcloud-vue', 'version {version}, saved {date}', { version: this.store.flow.version, date: formatRelativeDate(this.store.flow.updated) })\n\t\t\t\t\t: this.t('nextcloud-vue', 'version {version}', { version: this.store.flow.version }))\n\t\t\t}\n\t\t\tif (this.metaNote) {\n\t\t\t\tparts.push(this.metaNote)\n\t\t\t}\n\t\t\treturn parts.join(' · ')\n\t\t},\n\n\t\t/** @return {string} How the flow starts, as the catalogue names it. */\n\t\ttriggerText() {\n\t\t\tconst trigger = String(this.store.flow.trigger || '')\n\t\t\tif (trigger === 'schedule') {\n\t\t\t\treturn this.t('nextcloud-vue', 'On a schedule')\n\t\t\t}\n\t\t\tif (trigger === '' || trigger === 'manual') {\n\t\t\t\treturn this.t('nextcloud-vue', 'Run by hand')\n\t\t\t}\n\t\t\tconst entry = (this.store.eventCatalog || []).find((item) => item && item.id === trigger)\n\t\t\treturn (entry && entry.label) || trigger\n\t\t},\n\n\t\t/** @return {boolean} Whether Run is offered. */\n\t\tshowRun() {\n\t\t\treturn this.store.nodes.some((node) => node?.type === 'openregister.trigger-manual')\n\t\t},\n\n\t\t/**\n\t\t * The engine's verdict on the canvas as one line under it.\n\t\t *\n\t\t * @return {{tone: string, text: string}} The validity bar.\n\t\t */\n\t\tvalidity() {\n\t\t\tconst result = this.store.checkResult\n\t\t\tif (!result) {\n\t\t\t\treturn { tone: 'unknown', text: this.t('nextcloud-vue', 'Not checked yet. Check runs the flow past the engine without saving it.') }\n\t\t\t}\n\t\t\tconst blocking = Array.isArray(result.blocking) ? result.blocking.length : 0\n\t\t\tconst warnings = Array.isArray(result.warnings) ? result.warnings.length : 0\n\t\t\tif (result.valid === false || blocking > 0) {\n\t\t\t\treturn { tone: 'error', text: result.message || this.t('nextcloud-vue', 'The flow cannot run as it is. See the messages on the canvas.') }\n\t\t\t}\n\t\t\tif (warnings > 0) {\n\t\t\t\treturn { tone: 'warning', text: this.t('nextcloud-vue', 'The flow is valid, with {count} warnings.', { count: warnings }) }\n\t\t\t}\n\t\t\treturn { tone: 'success', text: this.t('nextcloud-vue', 'The flow is valid.') }\n\t\t},\n\n\t\t/** @return {boolean} Whether the page curates the palette. */\n\t\tpaletteCurated() {\n\t\t\treturn Array.isArray(this.paletteGroups) && this.paletteGroups.length > 0\n\t\t},\n\n\t\t/**\n\t\t * The palette's groups: the page's curated ones when it names them,\n\t\t * else the catalogue grouped by owning app, each group named by the\n\t\t * app's display name (its id when Nextcloud names none), the app that\n\t\t * owns this flow first.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-palette-groups/specs/flow-board/spec.md#requirement-a-flow-page-can-curate-its-palette\n\t\t * @return {Array<{app: string, name: string, entries: Array<object>}>} The groups.\n\t\t */\n\t\tpaletteSections() {\n\t\t\tif (this.paletteCurated) {\n\t\t\t\treturn this.curatedSections\n\t\t\t}\n\t\t\tconst groups = {}\n\t\t\t;(this.store.nodeCatalog || []).forEach((entry) => {\n\t\t\t\tconst app = String(entry?.app || String(entry?.id || '').split('.')[0] || '')\n\t\t\t\tif (!groups[app]) {\n\t\t\t\t\tgroups[app] = { app, name: this.appNames[app] || app, entries: [] }\n\t\t\t\t}\n\t\t\t\tgroups[app].entries.push(entry)\n\t\t\t})\n\t\t\tconst list = Object.values(groups)\n\t\t\tconst host = list.findIndex((group) => group.app === this.app)\n\t\t\treturn host > 0 ? [list[host], ...list.slice(0, host), ...list.slice(host + 1)] : list\n\t\t},\n\n\t\t/**\n\t\t * The page's curated groups, each step resolved against the catalogue\n\t\t * under the page's label; a step the catalogue lacks is left out, and a\n\t\t * group left with none is not drawn.\n\t\t *\n\t\t * @return {Array<{app: string, name: string, tone: string, entries: Array<object>}>} The groups.\n\t\t */\n\t\tcuratedSections() {\n\t\t\tconst catalog = this.store.nodeCatalog || []\n\t\t\treturn this.paletteGroups\n\t\t\t\t.map((group, index) => {\n\t\t\t\t\tconst entries = (Array.isArray(group?.entries) ? group.entries : [])\n\t\t\t\t\t\t.map((step) => {\n\t\t\t\t\t\t\tconst entry = step && catalog.find((item) => item && item.id === step.type)\n\t\t\t\t\t\t\treturn entry ? { ...entry, displayName: step.label || entry.displayName, short: step.short || '' } : null\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\tconst app = String(group?.app || (entries[0] ? String(entries[0].id).split('.')[0] : '') || index)\n\t\t\t\t\treturn { app, name: group?.label || this.appNames[app] || app, tone: group?.tone || '', entries }\n\t\t\t\t})\n\t\t\t\t.filter((group) => group.entries.length > 0)\n\t\t},\n\n\t\t/** @return {object|null} The run on screen. */\n\t\trunRecord() {\n\t\t\treturn this.store.runDetail\n\t\t\t\t|| (this.store.runs || []).find((item) => item.uuid === this.store.inspectedRunUuid)\n\t\t\t\t|| null\n\t\t},\n\n\t\t/** @return {string} The run's place in the path. */\n\t\trunCrumb() {\n\t\t\treturn this.t('nextcloud-vue', 'Run {id}', { id: flowRunName(this.runRecord) })\n\t\t},\n\n\t\t/** @return {boolean} Whether Run again is offered. */\n\t\tcanRetry() {\n\t\t\treturn !!this.runRecord && !FLOW_RUN_ACTIVE_STATUSES.includes(this.runRecord.status)\n\t\t},\n\n\t\t/** @return {Array<object>} Every line of the run on screen. */\n\t\tallRunLines() {\n\t\t\treturn this.runRecord ? flowRunLogLines(this.runRecord) : []\n\t\t},\n\n\t\t/** @return {Array<object>} The selected step's lines in this run. */\n\t\tselectedRunLines() {\n\t\t\treturn this.runRecord && this.store.selectedNodeId\n\t\t\t\t? flowRunLogLines(this.runRecord, this.store.selectedNodeId)\n\t\t\t\t: []\n\t\t},\n\n\t\t/** @return {Array<object>} The two log tabs with their counts. */\n\t\trunTabs() {\n\t\t\treturn [\n\t\t\t\t{ id: 'step', label: this.t('nextcloud-vue', 'This step'), count: this.selectedRunLines.length },\n\t\t\t\t{ id: 'run', label: this.t('nextcloud-vue', 'Logs of the whole run'), count: this.allRunLines.length },\n\t\t\t]\n\t\t},\n\n\t\t/** @return {Array<object>} The legend of outcomes on the canvas. */\n\t\tlegend() {\n\t\t\tconst levels = flowOutcomeLevels()\n\t\t\treturn ['success', 'warning', 'error', 'info', 'skipped'].map((id) => ({ id, ...levels[id] }))\n\t\t},\n\n\t\t/** @return {string} The selected step's type, as the catalogue names it. */\n\t\tstepTypeLabel() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tconst entry = node ? this.store.catalogEntry(node.type) : null\n\t\t\treturn entry ? (entry.displayName || entry.id) : String(node?.type || '')\n\t\t},\n\n\t\t/**\n\t\t * The selected step's settings as fields, as its owner declares them in\n\t\t * the catalogue's `configForm`: the ones the step sets and the required\n\t\t * ones. A field with options is a select, a boolean a switch, a\n\t\t * textarea or an object value a text area; the rest a text field.\n\t\t * Every other setting stays behind Edit step.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-inspector-fields/specs/flow-board/spec.md#requirement-the-flow-board-inspector-edits-the-selected-steps-settings-and-names-its-outcomes\n\t\t * @return {Array<object>} The fields.\n\t\t */\n\t\tstepFields() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tconst entry = node ? this.store.catalogEntry(node.type) : null\n\t\t\tconst config = (node && node.config) || {}\n\t\t\tconst form = (entry && Array.isArray(entry.configForm)) ? entry.configForm : []\n\t\t\tconst isSet = (value) => value !== undefined && value !== null && value !== ''\n\t\t\treturn form\n\t\t\t\t.filter((field) => field && field.key && (isSet(config[field.key]) || field.required === true))\n\t\t\t\t.map((field) => {\n\t\t\t\t\tconst value = config[field.key]\n\t\t\t\t\tconst options = field.optionsFrom\n\t\t\t\t\t\t? [...(this.loadedOptions[field.optionsFrom] || [])]\n\t\t\t\t\t\t: normaliseSelectOptions(field.options)\n\t\t\t\t\tif (isSet(value) && typeof value !== 'object' && options.length > 0 && !options.some((o) => o.id === value)) {\n\t\t\t\t\t\toptions.push({ id: value, label: String(value) })\n\t\t\t\t\t}\n\t\t\t\t\tlet widget = 'text'\n\t\t\t\t\tif (options.length > 0 || (field.type === 'select' && field.optionsFrom)) {\n\t\t\t\t\t\twidget = 'select'\n\t\t\t\t\t} else if (field.type === 'boolean' || field.type === 'switch' || typeof value === 'boolean') {\n\t\t\t\t\t\twidget = 'switch'\n\t\t\t\t\t} else if (field.type === 'textarea' || field.type === 'json' || (value !== null && typeof value === 'object')) {\n\t\t\t\t\t\twidget = 'textarea'\n\t\t\t\t\t}\n\t\t\t\t\treturn {\n\t\t\t\t\t\tkey: field.key,\n\t\t\t\t\t\tlabel: field.label || field.key,\n\t\t\t\t\t\tdescription: String(field.description || field.help || ''),\n\t\t\t\t\t\twidget,\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\toptions,\n\t\t\t\t\t\toption: options.find((o) => o.id === value) || null,\n\t\t\t\t\t\tisObject: value !== null && typeof value === 'object',\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t},\n\n\t\t/**\n\t\t * Where the selected step goes next: each outgoing line by its name\n\t\t * (\"Ja\", \"Nee\"), else \"Next\", with the step it leads to.\n\t\t *\n\t\t * @return {Array<{id: string, label: string, target: string}>} The outcomes.\n\t\t */\n\t\tstepOutcomes() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tif (!id) {\n\t\t\t\treturn []\n\t\t\t}\n\t\t\tconst nameOf = (target) => {\n\t\t\t\tconst node = this.store.nodes.find((item) => item.id === target)\n\t\t\t\treturn (node && (node.name || node.label)) || target\n\t\t\t}\n\t\t\treturn (this.store.canvasEdges || [])\n\t\t\t\t.filter((line) => line.source === id)\n\t\t\t\t.map((line) => ({ id: line.id, label: (line.data && line.data.label) || this.t('nextcloud-vue', 'Next'), target: nameOf(line.target) }))\n\t\t},\n\n\t\t/**\n\t\t * The selected step's type pill: the palette's name for it and the app\n\t\t * that does it (\"Beslistabel van OpenRegister\"), else the catalogue's.\n\t\t *\n\t\t * @return {string} The pill text.\n\t\t */\n\t\tstepTypePill() {\n\t\t\tconst type = String(this.store.selectedNode?.type || '')\n\t\t\tconst group = (Array.isArray(this.paletteGroups) ? this.paletteGroups : []).find((item) => (item?.entries || []).some((step) => step && step.type === type))\n\t\t\tconst step = group ? group.entries.find((item) => item && item.type === type) : null\n\t\t\tif (!group) {\n\t\t\t\treturn this.stepTypeLabel\n\t\t\t}\n\t\t\tconst app = String(group.app || type.split('.')[0] || '')\n\t\t\treturn this.t('nextcloud-vue', '{type} from {app}', { type: (step && step.label) || this.stepTypeLabel, app: group.label || this.appNames[app] || app })\n\t\t},\n\n\t\t/** @return {string} The selected step's name. */\n\t\tstepName() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\treturn (node && (node.name || node.label)) || this.stepTypeLabel\n\t\t},\n\n\t\t/**\n\t\t * The selected step's lines from the flow's recent runs, newest run\n\t\t * first, at most ten.\n\t\t *\n\t\t * @return {Array<object>} The lines.\n\t\t */\n\t\trecentStepLines() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tif (!id) {\n\t\t\t\treturn []\n\t\t\t}\n\t\t\tconst lines = []\n\t\t\t;(this.store.runs || []).forEach((item) => {\n\t\t\t\tflowRunLogLines(item, id).forEach((line) => lines.push({ ...line, key: `${item.uuid}-${line.key}` }))\n\t\t\t})\n\t\t\treturn lines.slice(0, 10)\n\t\t},\n\n\t\t/**\n\t\t * The newest run as the path line's first pill on a canvas page: \"Last\n\t\t * run today 08:41 done\".\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-a-canvas-flow-page-has-a-more-menu-and-names-its-last-run\n\t\t * @return {string} The pill text, or '' when there is none to show.\n\t\t */\n\t\tlastRunPill() {\n\t\t\tconst last = this.store.runs && this.store.runs[0]\n\t\t\tif (!this.canvasLayout || this.store.inRunView || !last) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\tconst outcome = {\n\t\t\t\tcompleted: this.t('nextcloud-vue', 'done'),\n\t\t\t\tfailed: this.t('nextcloud-vue', 'failed'),\n\t\t\t\tdead_letter: this.t('nextcloud-vue', 'failed'),\n\t\t\t\tstopped: this.t('nextcloud-vue', 'stopped early'),\n\t\t\t}[String(last.status || '')] || this.t('nextcloud-vue', 'running')\n\t\t\treturn this.t('nextcloud-vue', 'Last run {date} {outcome}', { date: formatRelativeDate(last.created, { withTime: true }), outcome })\n\t\t},\n\n\t\t/**\n\t\t * The outcomes the canvas legend card names; a step that did not run\n\t\t * reads from the \"Not taken\" route instead.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-a-canvas-run-shows-its-legend-as-one-card-with-the-zoom\n\t\t * @return {Array<object>} The levels.\n\t\t */\n\t\tcanvasLegend() {\n\t\t\tconst levels = flowOutcomeLevels()\n\t\t\treturn ['success', 'warning', 'info', 'error'].map((id) => ({ id, ...levels[id] }))\n\t\t},\n\n\t\t/**\n\t\t * The selected step's kind and type: \"Action · Send an e-mail\".\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {string} The line.\n\t\t */\n\t\tstepKindText() {\n\t\t\tconst role = this.store.roleOfNodeType(this.store.selectedNode?.type)\n\t\t\tconst kind = {\n\t\t\t\ttrigger: this.t('nextcloud-vue', 'Trigger'),\n\t\t\t\tend: this.t('nextcloud-vue', 'End'),\n\t\t\t}[role] || this.t('nextcloud-vue', 'Action')\n\t\t\treturn `${kind} · ${this.stepTypeLabel}`\n\t\t},\n\n\t\t/**\n\t\t * The selected step in the run on screen: its outcome pill, its timing\n\t\t * and whether the run went on after it failed.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {{label: string, variant: string, timing: string, wentOn: boolean}|null} The step, or null.\n\t\t */\n\t\tselectedRunStep() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tconst step = this.runRecord && id ? flowRunSteps(this.runRecord).find((item) => item.nodeId === id) : null\n\t\t\tif (!step) {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\tconst level = flowOutcomeLevels()[step.level] || { label: step.level, variant: 'default' }\n\t\t\tconst timing = [\n\t\t\t\tstep.startedAt ? this.t('nextcloud-vue', 'started {time}', { time: formatRelativeDate(step.startedAt, { withTime: true }) }) : '',\n\t\t\t\tstep.durationMs ? this.t('nextcloud-vue', 'took {duration}', { duration: formatFlowDuration(step.durationMs) }) : '',\n\t\t\t].filter(Boolean).join(' · ')\n\t\t\treturn { label: level.label, variant: level.variant, timing, wentOn: step.level === 'warning' && String(step.entry?.status || '') === 'failed' }\n\t\t},\n\n\t\t/** @return {string} The newest run's uuid, or ''. */\n\t\tlastRunUuid() {\n\t\t\treturn (this.store.runs && this.store.runs[0] && this.store.runs[0].uuid) || ''\n\t\t},\n\t},\n\n\twatch: {\n\t\t// A field's typing belongs to the step it was typed for.\n\t\t'store.selectedNodeId': {\n\t\t\thandler() {\n\t\t\t\tthis.drafts = {}\n\t\t\t\tthis.nameDraft = null\n\t\t\t\tthis.loadStepOptions()\n\t\t\t},\n\t\t},\n\n\t\tsaveAsVersion: {\n\t\t\timmediate: true,\n\t\t\thandler(on) {\n\t\t\t\tthis.store.savesAsVersion = on === true\n\t\t\t},\n\t\t},\n\n\t\t// A selected step takes the panel back from the run history.\n\t\t'store.selectedNodeId': function(id) {\n\t\t\tif (id) {\n\t\t\t\tthis.showRuns = false\n\t\t\t}\n\t\t},\n\t},\n\n\tasync created() {\n\t\t// The palette groups and the step pills name apps by display name;\n\t\t// only those read the names.\n\t\tif (this.palette !== 'column' && this.nodeLook !== 'card') {\n\t\t\treturn\n\t\t}\n\t\tconst { default: axios } = await import('@nextcloud/axios')\n\t\tthis.appNames = await appDisplayNames(axios)\n\t},\n\n\tbeforeUnmount() {\n\t\tthis.store.savesAsVersion = false\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * How far the chrome floating over the canvas (toolbar, run card, side\n\t\t * panel) reaches into it, measured when the canvas fits.\n\t\t *\n\t\t * @return {{top: number, right: number, bottom: number, left: number}} Pixels per side.\n\t\t */\n\t\tcanvasChromeInset() {\n\t\t\tconst root = this.$el\n\t\t\tconst frame = root?.querySelector?.('.cn-flow-board__canvas')\n\t\t\tif (!frame) {\n\t\t\t\treturn overlayInset(null, [])\n\t\t\t}\n\t\t\tconst chrome = root.querySelectorAll('.cn-flow-detail__toolbar, .cn-flow-board__run-card, .cn-flow-board__inspector')\n\t\t\treturn overlayInset(frame.getBoundingClientRect(), Array.from(chrome, (el) => el.getBoundingClientRect()))\n\t\t},\n\n\t\t/**\n\t\t * Load the choices of the selected step's select fields that name a\n\t\t * url (`optionsFrom`), once per url.\n\t\t *\n\t\t * @return {Promise<void>}\n\t\t */\n\t\tasync loadStepOptions() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tconst entry = node ? this.store.catalogEntry(node.type) : null\n\t\t\tconst urls = ((entry && entry.configForm) || [])\n\t\t\t\t.filter((field) => field && field.type === 'select' && field.optionsFrom)\n\t\t\t\t.map((field) => String(field.optionsFrom))\n\t\t\t\t.filter((url) => !this.loadedOptions[url])\n\t\t\tif (urls.length === 0) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tconst { default: axios } = await import('@nextcloud/axios')\n\t\t\tconst { generateUrl } = await import('@nextcloud/router')\n\t\t\tawait Promise.all(urls.map(async (url) => {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await axios.get(url.startsWith('/') && !url.startsWith('/apps') && !url.startsWith('/index.php') ? generateUrl(url) : url)\n\t\t\t\t\tconst rows = Array.isArray(response.data) ? response.data : (response.data?.results || [])\n\t\t\t\t\tthis.loadedOptions = { ...this.loadedOptions, [url]: normaliseSelectOptions(rows) }\n\t\t\t\t} catch (error) {\n\t\t\t\t\t// The field then shows the stored value; Edit step still reaches everything.\n\t\t\t\t\t// eslint-disable-next-line no-console -- diagnostic for a failure this degrades from\n\t\t\t\t\tconsole.error(`cn-flow: could not load options from ${url}`, error)\n\t\t\t\t}\n\t\t\t}))\n\t\t},\n\n\t\t/**\n\t\t * What a text field shows: the typing in progress, else the setting.\n\t\t *\n\t\t * @param {object} field A step field.\n\t\t * @return {string} The text.\n\t\t */\n\t\tfieldDraft(field) {\n\t\t\tif (Object.hasOwn(this.drafts, field.key)) {\n\t\t\t\treturn this.drafts[field.key]\n\t\t\t}\n\t\t\tif (field.isObject) {\n\t\t\t\treturn JSON.stringify(field.value, null, 2)\n\t\t\t}\n\t\t\treturn field.value === undefined || field.value === null ? '' : String(field.value)\n\t\t},\n\n\t\t/**\n\t\t * Write a text field's typing to the step when the field is left; an\n\t\t * object setting is written back as an object when the text is JSON.\n\t\t *\n\t\t * @param {object} field A step field.\n\t\t * @return {void}\n\t\t */\n\t\tcommitStepField(field) {\n\t\t\tif (!Object.hasOwn(this.drafts, field.key)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tlet value = this.drafts[field.key]\n\t\t\tif (field.isObject) {\n\t\t\t\ttry {\n\t\t\t\t\tvalue = JSON.parse(value)\n\t\t\t\t} catch {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete this.drafts[field.key]\n\t\t\tthis.setStepField(field, value)\n\t\t},\n\n\t\t/**\n\t\t * Write one setting of the selected step, as one undoable edit.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-inspector-fields/specs/flow-board/spec.md#requirement-the-flow-board-inspector-edits-the-selected-steps-settings-and-names-its-outcomes\n\t\t * @param {object} field A step field.\n\t\t * @param {string|boolean|object} value The new value.\n\t\t * @return {void}\n\t\t */\n\t\tsetStepField(field, value) {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tif (!node || JSON.stringify(node.config?.[field.key]) === JSON.stringify(value)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.store.setNodeConfigById(node.id, { ...(node.config || {}), [field.key]: value })\n\t\t},\n\n\t\t/**\n\t\t * The pill on a step's card: the app that does it, with the page's short\n\t\t * type when it gives one, in the palette group's tone (the app that owns\n\t\t * the flow in the primary tone); \"Start\" on a start step.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-node-card/specs/flow-board/spec.md#requirement-a-flow-step-on-the-board-canvas-is-a-card-with-its-app-pill\n\t\t * @param {object} node A flow node.\n\t\t * @return {{label: string, variant: string}} The pill.\n\t\t */\n\t\tnodeBadge(node) {\n\t\t\tconst type = String(node?.type || '')\n\t\t\tif (this.store.roleOfNodeType(type) === 'trigger') {\n\t\t\t\treturn { label: this.t('nextcloud-vue', 'Start step'), variant: 'default' }\n\t\t\t}\n\t\t\tconst curated = (Array.isArray(this.paletteGroups) ? this.paletteGroups : []).find((group) => (group?.entries || []).some((step) => step && step.type === type))\n\t\t\tconst step = curated ? curated.entries.find((item) => item && item.type === type) : null\n\t\t\tconst entry = this.store.catalogEntry(type)\n\t\t\tconst app = String(curated?.app || entry?.app || type.split('.')[0] || '')\n\t\t\tconst name = curated ? (curated.pill || curated.label || this.appNames[app] || app) : (this.appNames[app] || app)\n\t\t\tconst variant = curated?.tone || (app === this.app ? 'primary' : 'default')\n\t\t\treturn { label: step && step.short ? `${name} · ${step.short}` : name, variant }\n\t\t},\n\n\t\t/**\n\t\t * Close the canvas page's side panel: in a run it hides the logs, in\n\t\t * the editor it clears the selected step, the test result and the runs.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t */\n\t\tclosePanel() {\n\t\t\tif (this.store.inRunView) {\n\t\t\t\tthis.runPanelClosed = true\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.panelOpen = false\n\t\t\tthis.showRuns = false\n\t\t\tthis.store.selectedNodeId = null\n\t\t\tif (this.store.dryRunResult) {\n\t\t\t\tthis.store.clearDryRun()\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * The canvas toolbar's side panel toggle.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t */\n\t\ttogglePanel() {\n\t\t\tif (this.store.inRunView) {\n\t\t\t\tthis.runPanelClosed = !this.runPanelClosed\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.inspectorShown) {\n\t\t\t\tthis.closePanel()\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.panelOpen = true\n\t\t},\n\n\t\t/**\n\t\t * Run the flow, with the run history in the panel to follow it.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tonRun() {\n\t\t\tthis.showRuns = true\n\t\t\tthis.$emit('run')\n\t\t},\n\n\t\t/**\n\t\t * Try the saved flow with the picked record through OpenRegister's\n\t\t * dry-run, which changes and sends nothing, then close the dialog; the\n\t\t * per-step result shows beside the canvas.\n\t\t *\n\t\t * @return {Promise<void>}\n\t\t * @spec openspec/changes/flow-test-with-a-record/specs/flow-test-with-a-record/spec.md#requirement-testing-a-flow-with-a-record-changes-nothing\n\t\t */\n\t\tasync runTest() {\n\t\t\tconst uuid = Array.isArray(this.testRecord) ? this.testRecord[0] : this.testRecord\n\t\t\tif (!uuid) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tawait this.store.dryRun({ uuid, register: this.testSubject.register, schema: this.testSubject.schema })\n\t\t\tthis.testOpen = false\n\t\t\tthis.testRecord = null\n\t\t},\n\n\t\tt,\n\n\t\t/**\n\t\t * @param {string} path An app route path.\n\t\t * @return {string} Its href.\n\t\t */\n\t\threfOf(path) {\n\t\t\tif (this.$router && typeof this.$router.resolve === 'function') {\n\t\t\t\ttry {\n\t\t\t\t\tconst resolved = this.$router.resolve(path)\n\t\t\t\t\tif (resolved && resolved.href) {\n\t\t\t\t\t\treturn resolved.href\n\t\t\t\t\t}\n\t\t\t\t} catch {\n\t\t\t\t\t// A path the router does not know stays a plain path.\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn path\n\t\t},\n\n\t\t/**\n\t\t * Follow a path link on the app's router; a modified click, or a crumb\n\t\t * that names an href rather than a path, keeps the browser's own\n\t\t * behaviour.\n\t\t *\n\t\t * @param {MouseEvent} event The click.\n\t\t * @param {string} path The target path.\n\t\t * @return {void}\n\t\t */\n\t\tonCrumbClick(event, path) {\n\t\t\tif (!path || !this.$router || event.ctrlKey || event.metaKey || event.shiftKey || event.button === 1) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tevent.preventDefault()\n\t\t\tthis.$router.push(path).catch(() => {})\n\t\t},\n\n\t\t/**\n\t\t * Switch the flow on or off. The change is saved with the flow.\n\t\t *\n\t\t * @param {boolean} on The new state.\n\t\t * @return {void}\n\t\t */\n\t\tonEnabledChange(on) {\n\t\t\tthis.store.flow.enabled = on === true\n\t\t\tthis.store.dirty = true\n\t\t},\n\n\t\t/**\n\t\t * Open a run of this flow on the canvas.\n\t\t *\n\t\t * @param {string} uuid The run.\n\t\t * @return {void}\n\t\t */\n\t\topenRun(uuid) {\n\t\t\tif (this.$router) {\n\t\t\t\tthis.$router.push({ path: this.flowPath, query: { run: uuid } }).catch(() => {})\n\t\t\t} else {\n\t\t\t\tthis.store.inspectRun(uuid)\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Write the step name field's typing to the selected step when the\n\t\t * field is left.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {void}\n\t\t */\n\t\tcommitStepName() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tconst name = this.nameDraft\n\t\t\tthis.nameDraft = null\n\t\t\tif (!id || name === null || name === this.stepName) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.store.setNodeName(id, name)\n\t\t},\n\n\t\t/**\n\t\t * Leave the run for the flow with the step of the run tab selected.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {void}\n\t\t */\n\t\tonEditRunStep() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tthis.onBackToFlow()\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tthis.store.selectedNodeId = id\n\t\t\t})\n\t\t},\n\n\t\t/**\n\t\t * Leave the run view for the flow.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tonBackToFlow() {\n\t\t\tthis.store.closeRun()\n\t\t\tif (this.$router) {\n\t\t\t\tthis.$router.push({ path: this.flowPath }).catch(() => {})\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Start the shown run again and open the new one.\n\t\t *\n\t\t * @return {Promise<void>}\n\t\t */\n\t\tasync onRetry() {\n\t\t\tconst retried = await this.store.retryRun(this.runRecord?.uuid)\n\t\t\tthis.$emit('retried', retried)\n\t\t\tif (retried && retried.uuid) {\n\t\t\t\tthis.openRun(retried.uuid)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n/* The board page's padding, so the title stands where every board page puts it (DqFlow). */\n.cn-flow-board {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\tpadding: var(--cn-board-content-padding, 24px 28px);\n\tmin-height: 100%;\n\tbox-sizing: border-box;\n}\n\n.cn-flow-board__header {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\tgap: 12px;\n}\n\n.cn-flow-board__heading {\n\tdisplay: flex;\n\talign-items: center;\n\tgap: 10px;\n\tmin-width: 0;\n}\n\n.cn-flow-board__title {\n\tmargin: 0;\n\tfont-size: 24px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__actions {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tgap: 8px;\n}\n\n/* Active as the board draws it: a 42x24 track with a white knob, its label\n beside it at 15/600 (DqFlow). */\n.cn-flow-board__toggle-row {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: 8px;\n}\n\n.cn-flow-board__toggle {\n\tposition: relative;\n\tflex: none;\n\twidth: 42px;\n\theight: 24px;\n\tmin-height: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tborder-radius: 12px;\n\tbackground: var(--color-border-maxcontrast);\n\tcursor: pointer;\n}\n\n.cn-flow-board__toggle::after {\n\tcontent: '';\n\tposition: absolute;\n\tinset-block-start: 3px;\n\tinset-inline-start: 3px;\n\twidth: 18px;\n\theight: 18px;\n\tborder-radius: 50%;\n\tbackground: var(--color-main-background);\n\ttransition: transform 0.15s ease;\n}\n\n.cn-flow-board__toggle[aria-checked='true'] {\n\tbackground: var(--color-primary-element);\n}\n\n.cn-flow-board__toggle[aria-checked='true']::after {\n\ttransform: translateX(18px);\n}\n\n.cn-flow-board__toggle:focus-visible {\n\toutline: 2px solid var(--color-primary-element);\n\toutline-offset: 2px;\n}\n\n.cn-flow-board__toggle-label {\n\tfont-size: 15px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__test-intro {\n\tmargin: 0 0 12px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__path {\n\tmargin: 0;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__pill {\n\tmargin-inline-end: 10px;\n}\n\n.cn-flow-board__crumb {\n\tcolor: var(--color-main-text);\n\ttext-decoration: underline;\n}\n\n.cn-flow-board__body {\n\tdisplay: grid;\n\tgrid-template-columns: minmax(0, 1fr) 340px;\n\tgap: 16px;\n\tflex: 1 1 auto;\n\tmin-height: 520px;\n}\n\n/* Palette, canvas and inspector at 220 / rest / 280 (DqFlow). */\n.cn-flow-board--with-palette .cn-flow-board__body {\n\tgrid-template-columns: 220px minmax(0, 1fr) 280px;\n}\n\n.cn-flow-board__card {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\tmin-width: 0;\n\tpadding: 16px;\n\tborder: 1px solid var(--color-border);\n\tborder-radius: 12px;\n\tbackground: var(--color-main-background);\n}\n\n/* The canvas is the white card with the dot grid; the palette beside it sits\n on the page ground (DqFlow). */\n.cn-flow-board__canvas {\n\tpadding: 0;\n\toverflow: hidden;\n\tbackground-color: var(--color-main-background);\n\tbackground-image: radial-gradient(var(--color-border) 1px, transparent 1px);\n\tbackground-size: 16px 16px;\n}\n\n.cn-flow-board__palette {\n\tgap: 14px;\n\tpadding: 14px;\n\tbackground: transparent;\n}\n\n.cn-flow-board__canvas > :first-child {\n\tflex: 1 1 auto;\n\tmin-height: 0;\n}\n\n.cn-flow-board__card-title {\n\tmargin: 0;\n\tfont-size: 16px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__subtitle {\n\tmargin: 4px 0 0;\n\tfont-size: 14px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__step-type {\n\talign-self: flex-start;\n}\n\n.cn-flow-board__validity,\n.cn-flow-board__legend {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n\tmargin: 0;\n\tpadding: 10px 16px;\n\tborder-top: 1px solid var(--color-border);\n\tbackground: var(--color-main-background);\n}\n\n.cn-flow-board__validity--success {\n\tcolor: var(--color-success-text);\n}\n\n.cn-flow-board__validity--warning {\n\tcolor: var(--color-warning-text);\n}\n\n.cn-flow-board__validity--error {\n\tcolor: var(--color-error-text);\n}\n\n.cn-flow-board__palette-group {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 6px;\n}\n\n/* The providing app as a small caps label, no title row above the groups. */\n.cn-flow-board__palette-app {\n\tmargin: 0;\n\tcolor: var(--color-text-maxcontrast);\n\tfont-size: 12px;\n\tfont-weight: 600;\n\tletter-spacing: 0.06em;\n\ttext-transform: uppercase;\n}\n\n.cn-flow-board__palette-list {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 6px;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n\n/* A step is a plain 400 label (DqFlow \"Status zetten\"); the nldesign theme\n sets every button's weight with `!important` through its token. */\n.cn-flow-board__palette-step {\n\t--nldesign-component-button-font-weight: 400;\n\twidth: 100%;\n\tmin-height: 34px;\n\tpadding: 8px 10px;\n\tborder: 1px solid var(--color-border);\n\tborder-radius: 8px;\n\tbackground: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tfont-size: 14px;\n\tfont-weight: 400;\n\ttext-align: start;\n\tcursor: pointer;\n}\n\n.cn-flow-board__palette-step:hover {\n\tbackground: var(--color-background-hover);\n}\n\n/* The way to every other step under a curated palette, quiet beside the steps. */\n.cn-flow-board__palette-more {\n\talign-self: flex-start;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: none;\n\tcolor: var(--color-primary-element);\n\tfont-size: 14px;\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.cn-flow-board__palette-more:disabled {\n\tcolor: var(--color-text-maxcontrast);\n\tcursor: default;\n}\n\n.cn-flow-board__palette-note {\n\tmargin: 0;\n\tcolor: var(--color-text-maxcontrast);\n\tfont-size: 13px;\n}\n\n.cn-flow-board__tabs {\n\tdisplay: flex;\n\tgap: 4px;\n\tborder-bottom: 1px solid var(--color-border);\n}\n\n.cn-flow-board__tab {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: 6px;\n\tpadding: 8px 10px;\n\tmargin-bottom: -1px;\n\tborder: 1px solid transparent;\n\tborder-radius: 8px 8px 0 0;\n\tbackground: transparent;\n\tcolor: var(--color-main-text);\n\tcursor: pointer;\n}\n\n.cn-flow-board__tab--active {\n\tborder-color: var(--color-border);\n\tborder-bottom-color: var(--color-main-background);\n\tfont-weight: 600;\n}\n\n.cn-flow-board__tab-count {\n\tmin-width: 18px;\n\tpadding: 0 5px;\n\tborder-radius: 9px;\n\tbackground: var(--color-background-dark);\n\tfont-size: 12px;\n\tline-height: 18px;\n\ttext-align: center;\n}\n\n.cn-flow-board__settings {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 10px;\n\tmargin: 0;\n}\n\n.cn-flow-board__setting :deep(.input-field),\n.cn-flow-board__setting :deep(.v-select) {\n\tmargin: 0;\n}\n\n/* Where the step goes next: \"Ja Deelzaak welstandsadvies\" (DqFlow). */\n.cn-flow-board__outcomes {\n\tdisplay: grid;\n\tgrid-template-columns: auto 1fr;\n\tgap: 6px 16px;\n\tmargin: 0;\n}\n\n.cn-flow-board__outcome {\n\tdisplay: contents;\n}\n\n.cn-flow-board__outcome dt {\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__outcome dd {\n\tmargin: 0;\n\tfont-weight: 600;\n\toverflow-wrap: anywhere;\n}\n\n.cn-flow-board__step-log summary {\n\tcursor: pointer;\n}\n\n.cn-flow-board__inspector-empty {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: flex-start;\n\tgap: 12px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__inspector-empty p {\n\tmargin: 0;\n}\n\n.cn-flow-board__step-actions,\n.cn-flow-board__step-footer {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n}\n\n.cn-flow-board__step-footer {\n\tjustify-content: space-between;\n\tmargin-top: auto;\n}\n\n/* ---- The canvas page (layout: canvas, PqFlow / PqFlowRun) --------------- */\n/* The title on its own line with the actions under it, the canvas on the\n page ground without a frame, and the inspector and run card floating over\n it. */\n.cn-flow-board--canvas {\n\tbackground-color: color-mix(in srgb, var(--color-background-hover) 40%, var(--color-main-background));\n\tbackground-image: radial-gradient(var(--color-border) 1px, transparent 1px);\n\tbackground-size: 16px 16px;\n}\n\n.cn-flow-board--canvas .cn-flow-board__header {\n\tflex-direction: column;\n\talign-items: flex-start;\n}\n\n.cn-flow-board__run-pills {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n\tmargin: 0;\n}\n\n.cn-flow-board--canvas .cn-flow-board__body {\n\tposition: relative;\n\tdisplay: block;\n\tmin-height: 640px;\n}\n\n/* The canvas fills the body: a definite box, so the graph canvas inside\n (height: 100%) and Vue Flow's pane measure a real height instead of\n collapsing to their minimum. */\n.cn-flow-board--canvas .cn-flow-board__canvas {\n\tposition: absolute;\n\tinset: 0;\n\tborder: 0;\n\tborder-radius: 0;\n\tbackground: transparent;\n\toverflow: visible;\n}\n\n.cn-flow-board--canvas .cn-flow-board__canvas :deep(.cn-flow-detail__toolbar) {\n\tinset-inline-start: 0;\n\tinset-inline-end: auto;\n\tinset-block-start: 0;\n\tpadding: 6px 8px;\n\tborder-radius: 12px;\n\tbox-shadow: 0 4px 16px rgba(27, 28, 29, 0.12);\n}\n\n/* In a run the run card holds the top, so the toolbar and the outcome\n legend stand at the foot of the canvas (PqFlowRun). */\n.cn-flow-board--canvas.cn-flow-board--run .cn-flow-board__canvas :deep(.cn-flow-detail__toolbar) {\n\tinset-block-start: auto;\n\tinset-block-end: 0;\n}\n\n/* In a run the canvas toolbar is the legend card: \"Outcome per step\", the\n outcome pills and the routes, then the zoom and the side panel toggle,\n beside the corner controls (PqFlowRun). */\n.cn-flow-board--canvas.cn-flow-board--run .cn-flow-board__canvas :deep(.cn-flow-detail__toolbar) {\n\tinset-inline-start: 48px;\n\tmax-width: calc(100% - 48px);\n\tflex-wrap: wrap;\n\tgap: 8px 14px;\n\tpadding: 6px 12px;\n}\n\n.cn-flow-board__legend-card {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tgap: 8px 14px;\n\tflex: 1 1 auto;\n\tmin-width: 0;\n}\n\n.cn-flow-board__legend-title {\n\tfont-size: 13px;\n\tfont-weight: 600;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__legend-list {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n\n.cn-flow-board__legend-card .cn-flow-board__legend-item {\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n.cn-flow-board__legend-pill,\n.cn-flow-board__legend-route {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: 6px;\n\theight: 28px;\n\tbox-sizing: border-box;\n\tpadding: 0 10px;\n\tborder-radius: 14px;\n\tfont-size: 13px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__legend-swatch {\n\tflex: none;\n\twidth: 12px;\n\theight: 12px;\n\tborder-radius: 3px;\n\tbackground: currentColor;\n}\n\n.cn-flow-board__legend-route {\n\tborder: 1px solid var(--color-border);\n\tbackground: var(--color-main-background);\n\tcolor: var(--color-main-text);\n}\n\n.cn-flow-board__legend-route--muted {\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__legend-line {\n\tflex: none;\n\twidth: 18px;\n\theight: 2px;\n\tbackground: var(--color-border-dark, var(--color-text-maxcontrast));\n}\n\n.cn-flow-board__legend-line--taken {\n\theight: 5px;\n\tborder-radius: 3px;\n\tbackground: var(--color-success, #1e6b2a);\n}\n\n/* The canvas corner controls as outlined white buttons (PqFlow, PqFlowRun). */\n.cn-flow-board--canvas .cn-flow-board__canvas :deep(.cn-graph-canvas__controls) {\n\tgap: 6px;\n}\n\n.cn-flow-board--canvas .cn-flow-board__canvas :deep(.cn-graph-canvas__controls .cn-graph-canvas__control) {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 34px;\n\theight: 34px;\n\tpadding: 0;\n\tborder: 1px solid var(--color-border-maxcontrast, #828a95);\n\tborder-radius: 8px;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 1px 2px rgba(27, 28, 29, 0.08);\n}\n\n/* In a run the title and its buildiq and More stand on one row (PqFlowRun). */\n.cn-flow-board--canvas.cn-flow-board--run .cn-flow-board__header {\n\tflex-direction: row;\n\tjustify-content: space-between;\n\talign-items: flex-start;\n}\n\n/* More: the label first, the chevron after it. */\n.cn-flow-board__more :deep(.button-vue__wrapper) {\n\tflex-direction: row-reverse;\n}\n\n.cn-flow-board__validity-pill {\n\tmargin-inline: 4px;\n}\n\n.cn-flow-board--canvas .cn-flow-board__inspector {\n\tposition: absolute;\n\tinset-block-start: 0;\n\tinset-inline-end: 0;\n\tz-index: 11;\n\twidth: 346px;\n\tmax-width: 100%;\n\tmax-height: 100%;\n\tbox-sizing: border-box;\n\toverflow-y: auto;\n\tbox-shadow: 0 4px 16px rgba(27, 28, 29, 0.12);\n}\n\n.cn-flow-board__inspector-close {\n\talign-self: flex-end;\n\tmargin: -8px -8px -4px 0;\n}\n\n.cn-flow-board--canvas .cn-flow-board__run-card {\n\tposition: absolute;\n\tinset-block-start: 0;\n\tinset-inline-start: 0;\n\tz-index: 11;\n\twidth: min(746px, 100%);\n\tbox-sizing: border-box;\n\tgap: 10px;\n\tpadding: 12px 18px 12px 22px;\n\tborder: 1px solid var(--color-border);\n\tborder-radius: 12px;\n\tbackground: var(--color-main-background);\n\tbox-shadow: inset 4px 0 0 var(--cn-flow-run-tone, var(--color-border-dark)), 0 4px 16px rgba(27, 28, 29, 0.12);\n}\n\n/* The run card's stripe takes the run's tone (PqFlowRun). */\n.cn-flow-board__run-card--success {\n\t--cn-flow-run-tone: var(--color-success, #1e6b2a);\n}\n\n.cn-flow-board__run-card--warning {\n\t--cn-flow-run-tone: var(--color-warning, #a37200);\n}\n\n.cn-flow-board__run-card--error {\n\t--cn-flow-run-tone: var(--color-error, #c00);\n}\n\n.cn-flow-board__run-card--info {\n\t--cn-flow-run-tone: var(--color-info, var(--color-primary-element));\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__head .cn-status-badge) {\n\tgap: 4px;\n\tmin-height: 25px;\n\tbox-sizing: border-box;\n\tfont-size: 14px;\n\tfont-weight: 700;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__title) {\n\tfont-size: 15px;\n\tfont-weight: 700;\n\tline-height: 18px;\n}\n\n/* The facts in one row, each label over its value, from the start. */\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__facts) {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px 28px;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__fact) {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 2px;\n\ttext-align: start;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__fact dt) {\n\tfont-size: 12px;\n\tline-height: 16px;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__fact dd) {\n\tfont-size: 14px;\n\tline-height: 18px;\n}\n\n/* The side panel toggle, pressed while the panel is open: tonal. */\n.cn-flow-board .cn-flow-board__panel-toggle[aria-pressed='true'] {\n\tbackground-color: var(--color-primary-element-light);\n\tcolor: var(--color-primary-element-light-text);\n}\n\n/* The canvas inspector (PqFlow): the kind over the name with the close beside\n it, help under a setting, an on/off setting as a grey card, the log open\n under a rule and a red delete. */\n.cn-flow-board__step-head {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tgap: 10px;\n}\n\n.cn-flow-board__step-heading {\n\tdisplay: flex;\n\tflex: 1 1 auto;\n\tflex-direction: column;\n\tgap: 4px;\n\tmin-width: 0;\n}\n\n.cn-flow-board__step-kind {\n\tfont-size: 13px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__step-head .cn-flow-board__card-title {\n\tfont-size: 17px;\n}\n\n.cn-flow-board__setting-help {\n\tfont-size: 12px;\n\tline-height: 1.4;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__setting--card {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tgap: 10px;\n\tpadding: 10px 12px;\n\tborder-radius: 8px;\n\tbackground: var(--color-background-hover);\n}\n\n.cn-flow-board__setting-text {\n\tdisplay: flex;\n\tflex: 1 1 auto;\n\tflex-direction: column;\n\tgap: 3px;\n}\n\n.cn-flow-board__setting-label {\n\tfont-size: 14px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__step-log--open {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n\tpadding-top: 12px;\n\tborder-top: 1px solid var(--color-border);\n}\n\n.cn-flow-board__step-log--open .cn-flow-board__subtitle {\n\tmargin: 0;\n\tfont-size: 14px;\n\tfont-weight: 700;\n\tcolor: var(--color-main-text);\n}\n\n.cn-flow-board__step-log-link {\n\tfont-size: 13px;\n\tfont-weight: 600;\n\tcolor: var(--color-primary-element);\n\ttext-decoration: underline;\n}\n\n.cn-flow-board__step-footer .cn-flow-board__delete-step {\n\tcolor: var(--color-error-text, var(--color-error));\n}\n\n/* The run's step tab (PqFlowRun): tabs across the panel, the step head, the\n continue-on-error note and the edit and play buttons. */\n.cn-flow-board--canvas .cn-flow-board__tab {\n\tflex: 1 1 auto;\n\tjustify-content: center;\n}\n\n.cn-flow-board__run-step {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 4px;\n\tpadding-bottom: 10px;\n\tborder-bottom: 1px solid var(--color-border);\n}\n\n.cn-flow-board__run-step-meta {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tgap: 8px;\n\tmargin: 0;\n\tfont-size: 13px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__run-step-note {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tgap: 8px;\n\tmargin: 0;\n\tpadding-top: 10px;\n\tborder-top: 1px solid var(--color-border);\n\tfont-size: 13px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__run-step-actions {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: flex-start;\n\tgap: 8px;\n}\n\n@media (max-width: 1024px) {\n\t.cn-flow-board__body,\n\t.cn-flow-board--with-palette .cn-flow-board__body {\n\t\tgrid-template-columns: minmax(0, 1fr);\n\t}\n}\n</style>\n"],"names":["_createElementBlock","_normalizeClass","_createElementVNode","_toDisplayString","_createVNode","_createTextVNode","_createBlock","_Fragment","_openBlock","_renderList","_withKeys","_withModifiers"],"mappings":";;AA4BU,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,uBAAc,GAAA;AACtB,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,wBAAE,GAAA;;AACT,EAAA,KAAM,EAAC,s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A,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CnFlowBoard.vue3.js","sources":["../../../../src/components/CnFlowsPage/CnFlowBoard.vue?vue&type=template&id=101ce8f3&lang.js"],"sourcesContent":["<!--\n CnFlowBoard — the flow editor in the board look: a page header with the\n flow's name, path and actions, then the canvas in a card beside an\n inspector card. Optionally a palette card on the left (`palette: column`).\n The same page shows one run when the route carries `?run=`: the canvas\n paints each step's outcome and the inspector holds the run's card and logs.\n\n The canvas itself is CnFlowDetail; this component only lays it out and adds\n what the board draws around it.\n\n SPDX-FileCopyrightText: 2026 Conduction B.V. <info@conduction.nl>\n SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<div class=\"cn-flow-board\" :class=\"{ 'cn-flow-board--with-palette': showPalette, 'cn-flow-board--canvas': canvasLayout, 'cn-flow-board--run': store.inRunView }\" data-testid=\"flow-board\">\n\t\t<header class=\"cn-flow-board__header\">\n\t\t\t<div class=\"cn-flow-board__heading\">\n\t\t\t\t<h1 class=\"cn-flow-board__title\" data-testid=\"flow-board-title\">\n\t\t\t\t\t{{ titleText }}\n\t\t\t\t</h1>\n\t\t\t</div>\n\t\t\t<div v-if=\"!store.inRunView || canvasLayout\" class=\"cn-flow-board__actions\">\n\t\t\t\t<template v-if=\"!store.inRunView\">\n\t\t\t\t\t<NcButton v-if=\"testSubjectReady\"\n\t\t\t\t\t\t:disabled=\"store.dryRunning || !store.flow.id\"\n\t\t\t\t\t\tdata-testid=\"flow-board-test\"\n\t\t\t\t\t\t@click=\"testOpen = true\">\n\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t<Autorenew :size=\"18\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t{{ testLabel }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t\t<span v-if=\"store.flow.id\" class=\"cn-flow-board__toggle-row\" data-testid=\"flow-board-enabled\">\n\t\t\t\t\t\t<button type=\"button\"\n\t\t\t\t\t\t\trole=\"switch\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__toggle\"\n\t\t\t\t\t\t\t:aria-checked=\"store.flow.enabled !== false ? 'true' : 'false'\"\n\t\t\t\t\t\t\t:aria-labelledby=\"toggleLabelId\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-enabled-switch\"\n\t\t\t\t\t\t\t@click=\"onEnabledChange(store.flow.enabled === false)\" />\n\t\t\t\t\t\t<span :id=\"toggleLabelId\" class=\"cn-flow-board__toggle-label\">\n\t\t\t\t\t\t\t{{ toggleLabel === 'fixed' || store.flow.enabled !== false ? t('nextcloud-vue', 'Active') : t('nextcloud-vue', 'Paused') }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<NcButton :disabled=\"store.checking || !store.nodes.length\"\n\t\t\t\t\t\tdata-testid=\"flow-board-check\"\n\t\t\t\t\t\t@click=\"store.check()\">\n\t\t\t\t\t\t<template v-if=\"canvasLayout\" #icon>\n\t\t\t\t\t\t\t<CheckCircleOutline :size=\"18\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Check') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t\t<NcButton v-if=\"showRun\"\n\t\t\t\t\t\t:disabled=\"store.running || !store.flow.id\"\n\t\t\t\t\t\tdata-testid=\"flow-board-run\"\n\t\t\t\t\t\t@click=\"onRun\">\n\t\t\t\t\t\t<template v-if=\"canvasLayout\" #icon>\n\t\t\t\t\t\t\t<Play :size=\"18\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Run') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t</template>\n\t\t\t\t<CnBuildiqEditButton />\n\t\t\t\t<NcActions v-if=\"canvasLayout\"\n\t\t\t\t\tclass=\"cn-flow-board__more\"\n\t\t\t\t\t:menuName=\"t('nextcloud-vue', 'More')\"\n\t\t\t\t\t:forceName=\"true\"\n\t\t\t\t\tdata-testid=\"flow-board-more\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<ChevronDown :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"store.inRunView\">\n\t\t\t\t\t\t<NcActionButton data-testid=\"flow-board-more-play\" @click=\"store.requestReplay()\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<Replay :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Play on the canvas') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t\t<NcActionButton data-testid=\"flow-board-more-back\" @click=\"onBackToFlow\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<ArrowLeft :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Back to the flow') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-else>\n\t\t\t\t\t\t<NcActionButton data-testid=\"flow-board-more-runs\" @click=\"showRuns = true\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<History :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Show runs') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t\t<NcActionButton v-if=\"lastRunUuid\" data-testid=\"flow-board-more-last-run\" @click=\"openRun(lastRunUuid)\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<Replay :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Open the last run on the canvas') }}\n\t\t\t\t\t\t</NcActionButton>\n\t\t\t\t\t</template>\n\t\t\t\t</NcActions>\n\t\t\t\t<NcButton v-if=\"!store.inRunView\"\n\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t:disabled=\"store.saving || !store.flow.name || store.graphLocked\"\n\t\t\t\t\tdata-testid=\"flow-board-save\"\n\t\t\t\t\t@click=\"$emit('save')\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Check :size=\"18\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t{{ t('nextcloud-vue', 'Save') }}\n\t\t\t\t</NcButton>\n\t\t\t</div>\n\t\t</header>\n\n\t\t<CnDialog v-if=\"testOpen\"\n\t\t\t:name=\"testLabel\"\n\t\t\tdata-testid=\"flow-board-test-dialog\"\n\t\t\t@closing=\"testOpen = false\">\n\t\t\t<p class=\"cn-flow-board__test-intro\">\n\t\t\t\t{{ t('nextcloud-vue', 'The saved flow is tried with the record you pick. Nothing is changed or sent.') }}\n\t\t\t</p>\n\t\t\t<CnResourceSelect v-model=\"testRecord\"\n\t\t\t\t:register=\"testSubject.register\"\n\t\t\t\t:schema=\"testSubject.schema\"\n\t\t\t\t:labelField=\"testSubject.labelField || 'title'\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Record')\"\n\t\t\t\tdata-testid=\"flow-board-test-record\" />\n\t\t\t<template #actions>\n\t\t\t\t<NcButton data-testid=\"flow-board-test-cancel\" @click=\"testOpen = false\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Cancel') }}\n\t\t\t\t</NcButton>\n\t\t\t\t<NcButton variant=\"primary\"\n\t\t\t\t\t:disabled=\"!testRecord || store.dryRunning\"\n\t\t\t\t\tdata-testid=\"flow-board-test-run\"\n\t\t\t\t\t@click=\"runTest\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Run test') }}\n\t\t\t\t</NcButton>\n\t\t\t</template>\n\t\t</CnDialog>\n\n\t\t<p v-if=\"canvasLayout && store.inRunView && runRecord\"\n\t\t\tclass=\"cn-flow-board__run-pills\"\n\t\t\tdata-testid=\"flow-board-run-pills\">\n\t\t\t<CnStatusBadge :label=\"runStatus.label\" :variant=\"runStatus.variant\" />\n\t\t\t<CnStatusBadge v-if=\"runWarningCount > 0\" :label=\"runWarningText\" variant=\"warning\" />\n\t\t</p>\n\n\t\t<p class=\"cn-flow-board__path\" data-testid=\"flow-board-path\">\n\t\t\t<CnStatusBadge v-if=\"pillText\"\n\t\t\t\tclass=\"cn-flow-board__pill\"\n\t\t\t\t:label=\"pillText\"\n\t\t\t\t:variant=\"pill ? pillVariant : 'default'\" />\n\t\t\t<CnStatusBadge v-if=\"lastRunPill\"\n\t\t\t\tclass=\"cn-flow-board__pill\"\n\t\t\t\t:label=\"lastRunPill\"\n\t\t\t\tvariant=\"default\"\n\t\t\t\tdata-testid=\"flow-board-last-run\" />\n\t\t\t<template v-for=\"(crumb, index) in trailCrumbs\" :key=\"index\">\n\t\t\t\t<a :href=\"crumb.href\" class=\"cn-flow-board__crumb\" @click=\"onCrumbClick($event, crumb.path)\">{{ crumb.label }}</a>\n\t\t\t\t<span aria-hidden=\"true\"> / </span>\n\t\t\t</template>\n\t\t\t<template v-if=\"store.inRunView\">\n\t\t\t\t<a :href=\"flowHref\" class=\"cn-flow-board__crumb\" @click=\"onCrumbClick($event, flowPath)\">{{ flowName }}</a>\n\t\t\t\t<span aria-hidden=\"true\"> / </span>\n\t\t\t\t<span>{{ runCrumb }}</span>\n\t\t\t</template>\n\t\t\t<span v-else>{{ flowName }}</span>\n\t\t\t<span v-if=\"metaText\" class=\"cn-flow-board__meta\"> · {{ metaText }}</span>\n\t\t</p>\n\n\t\t<NcNoteCard v-if=\"notice && !store.inRunView\" type=\"info\" class=\"cn-flow-board__notice\">\n\t\t\t{{ noticeText }}\n\t\t</NcNoteCard>\n\n\t\t<div class=\"cn-flow-board__body\">\n\t\t\t<aside v-if=\"showPalette\"\n\t\t\t\tclass=\"cn-flow-board__card cn-flow-board__palette\"\n\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Steps')\"\n\t\t\t\tdata-testid=\"flow-board-palette\">\n\t\t\t\t<section v-for=\"group in paletteSections\"\n\t\t\t\t\t:key=\"group.app\"\n\t\t\t\t\tclass=\"cn-flow-board__palette-group\">\n\t\t\t\t\t<h4 class=\"cn-flow-board__palette-app\">\n\t\t\t\t\t\t{{ group.name }}\n\t\t\t\t\t</h4>\n\t\t\t\t\t<ul class=\"cn-flow-board__palette-list\">\n\t\t\t\t\t\t<li v-for=\"entry in group.entries\" :key=\"entry.id\">\n\t\t\t\t\t\t\t<button type=\"button\"\n\t\t\t\t\t\t\t\tclass=\"cn-flow-board__palette-step\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t:data-testid=\"`flow-board-palette-${entry.id}`\"\n\t\t\t\t\t\t\t\t@click=\"store.addNode(entry.id)\">\n\t\t\t\t\t\t\t\t{{ entry.displayName || entry.label || entry.id }}\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</section>\n\t\t\t\t<button v-if=\"paletteCurated\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclass=\"cn-flow-board__palette-more\"\n\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\tdata-testid=\"flow-board-palette-more\"\n\t\t\t\t\t@click=\"stepPickerOpen = true\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'More steps') }}\n\t\t\t\t</button>\n\t\t\t\t<p v-if=\"paletteFootnote\" class=\"cn-flow-board__palette-note\">\n\t\t\t\t\t{{ paletteFootnote }}\n\t\t\t\t</p>\n\t\t\t</aside>\n\t\t\t<CnFlowStepPickerModal v-if=\"stepPickerOpen\" @close=\"stepPickerOpen = false\" />\n\n\t\t\t<section class=\"cn-flow-board__card cn-flow-board__canvas\" :aria-label=\"t('nextcloud-vue', 'Flow canvas')\">\n\t\t\t\t<CnFlowDetail :id=\"id\"\n\t\t\t\t\t:app=\"app\"\n\t\t\t\t\t:run=\"run\"\n\t\t\t\t\t:layoutDirection=\"flowDirection === 'down' ? 'down' : 'right'\"\n\t\t\t\t\t:fitMaxZoom=\"flowDirection === 'down' ? 1 : 0\"\n\t\t\t\t\t:fitInset=\"canvasLayout ? canvasChromeInset : null\"\n\t\t\t\t\t:nodeBadge=\"nodeLook === 'card' ? nodeBadge : null\"\n\t\t\t\t\t:toolbarActions=\"false\"\n\t\t\t\t\t:addStep=\"!showPalette\"\n\t\t\t\t\tquietRun\n\t\t\t\t\t@save=\"$emit('save')\"\n\t\t\t\t\t@run=\"onRun\">\n\t\t\t\t\t<template v-if=\"canvasLayout && store.inRunView\" #toolbar-start>\n\t\t\t\t\t\t<div class=\"cn-flow-board__legend-card\"\n\t\t\t\t\t\t\trole=\"group\"\n\t\t\t\t\t\t\t:aria-labelledby=\"legendTitleId\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-legend\">\n\t\t\t\t\t\t\t<span :id=\"legendTitleId\" class=\"cn-flow-board__legend-title\">{{ t('nextcloud-vue', 'Outcome per step') }}</span>\n\t\t\t\t\t\t\t<ul class=\"cn-flow-board__legend-list\">\n\t\t\t\t\t\t\t\t<li v-for=\"level in canvasLegend\" :key=\"level.id\" class=\"cn-flow-board__legend-item\">\n\t\t\t\t\t\t\t\t\t<CnStatusBadge :label=\"level.label\" :variant=\"level.variant\" class=\"cn-flow-board__legend-pill\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__legend-swatch\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t\t{{ level.label }}\n\t\t\t\t\t\t\t\t\t</CnStatusBadge>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li class=\"cn-flow-board__legend-item cn-flow-board__legend-route\">\n\t\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__legend-line cn-flow-board__legend-line--taken\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Taken route') }}\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li class=\"cn-flow-board__legend-item cn-flow-board__legend-route cn-flow-board__legend-route--muted\">\n\t\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__legend-line\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Not taken') }}\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"canvasLayout\" #toolbar-end>\n\t\t\t\t\t\t<CnStatusBadge v-if=\"!store.inRunView\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__validity-pill\"\n\t\t\t\t\t\t\t:label=\"validityPill\"\n\t\t\t\t\t\t\t:variant=\"validityVariant\"\n\t\t\t\t\t\t\t:title=\"validity.text\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-validity-pill\" />\n\t\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__panel-toggle\"\n\t\t\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Side panel')\"\n\t\t\t\t\t\t\t:aria-pressed=\"inspectorShown ? 'true' : 'false'\"\n\t\t\t\t\t\t\t:title=\"t('nextcloud-vue', 'Side panel')\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-panel-toggle\"\n\t\t\t\t\t\t\t@click=\"togglePanel\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<DockRight :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</template>\n\t\t\t\t</CnFlowDetail>\n\t\t\t\t<CnFlowRunSummary v-if=\"canvasLayout && store.inRunView\"\n\t\t\t\t\tclass=\"cn-flow-board__run-card\"\n\t\t\t\t\t:class=\"`cn-flow-board__run-card--${runStatus.variant}`\"\n\t\t\t\t\tstatusIcon\n\t\t\t\t\t:run=\"runRecord\"\n\t\t\t\t\t:stepsTotal=\"store.nodes.length\"\n\t\t\t\t\t:canRetry=\"canRetry\"\n\t\t\t\t\ticonActions\n\t\t\t\t\tdata-testid=\"flow-board-run-card\"\n\t\t\t\t\t@back=\"onBackToFlow\"\n\t\t\t\t\t@retry=\"onRetry\" />\n\t\t\t\t<div v-if=\"store.inRunView && !canvasLayout\"\n\t\t\t\t\tclass=\"cn-flow-board__legend\"\n\t\t\t\t\tdata-testid=\"flow-board-legend\">\n\t\t\t\t\t<span v-for=\"level in legend\" :key=\"level.id\" class=\"cn-flow-board__legend-item\">\n\t\t\t\t\t\t<CnStatusBadge :label=\"level.label\" :variant=\"level.variant\" size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<p v-else-if=\"!canvasLayout\"\n\t\t\t\t\tclass=\"cn-flow-board__validity\"\n\t\t\t\t\t:class=\"`cn-flow-board__validity--${validity.tone}`\"\n\t\t\t\t\trole=\"status\"\n\t\t\t\t\tdata-testid=\"flow-board-validity\">\n\t\t\t\t\t{{ validity.text }}\n\t\t\t\t</p>\n\t\t\t</section>\n\n\t\t\t<aside v-if=\"inspectorShown\" class=\"cn-flow-board__card cn-flow-board__inspector\" data-testid=\"flow-board-inspector\">\n\t\t\t\t<NcButton v-if=\"canvasLayout && !store.inRunView && !store.selectedNode\"\n\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\tclass=\"cn-flow-board__inspector-close\"\n\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\t:title=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\tdata-testid=\"flow-board-inspector-close\"\n\t\t\t\t\t@click=\"closePanel\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Close :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcButton>\n\t\t\t\t<CnFlowDryRunResult v-if=\"store.dryRunResult && !store.inRunView\"\n\t\t\t\t\t:result=\"store.dryRunResult\"\n\t\t\t\t\t@close=\"store.clearDryRun()\" />\n\t\t\t\t<template v-else-if=\"store.inRunView\">\n\t\t\t\t\t<CnFlowRunSummary v-if=\"!canvasLayout\"\n\t\t\t\t\t\t:run=\"runRecord\"\n\t\t\t\t\t\t:stepsTotal=\"store.nodes.length\"\n\t\t\t\t\t\t:canRetry=\"canRetry\"\n\t\t\t\t\t\t@back=\"onBackToFlow\"\n\t\t\t\t\t\t@retry=\"onRetry\" />\n\t\t\t\t\t<div class=\"cn-flow-board__tabs\" role=\"tablist\">\n\t\t\t\t\t\t<button v-for=\"tab in runTabs\"\n\t\t\t\t\t\t\t:key=\"tab.id\"\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__tab\"\n\t\t\t\t\t\t\t:class=\"{ 'cn-flow-board__tab--active': runTab === tab.id }\"\n\t\t\t\t\t\t\t:aria-selected=\"runTab === tab.id ? 'true' : 'false'\"\n\t\t\t\t\t\t\t:data-testid=\"`flow-board-run-tab-${tab.id}`\"\n\t\t\t\t\t\t\t@click=\"runTab = tab.id\">\n\t\t\t\t\t\t\t{{ tab.label }}\n\t\t\t\t\t\t\t<span class=\"cn-flow-board__tab-count\">{{ tab.count }}</span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div v-if=\"canvasLayout && runTab === 'step' && selectedRunStep\"\n\t\t\t\t\t\tclass=\"cn-flow-board__run-step\"\n\t\t\t\t\t\tdata-testid=\"flow-board-run-step\">\n\t\t\t\t\t\t<span class=\"cn-flow-board__step-kind\">{{ stepKindText }}</span>\n\t\t\t\t\t\t<h3 class=\"cn-flow-board__card-title\">\n\t\t\t\t\t\t\t{{ stepName }}\n\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t<p class=\"cn-flow-board__run-step-meta\">\n\t\t\t\t\t\t\t<CnStatusBadge :label=\"selectedRunStep.label\" :variant=\"selectedRunStep.variant\" size=\"small\" />\n\t\t\t\t\t\t\t<span v-if=\"selectedRunStep.timing\">{{ selectedRunStep.timing }}</span>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<CnFlowStepLog :lines=\"runTab === 'step' ? selectedRunLines : allRunLines\"\n\t\t\t\t\t\t:emptyText=\"runTab === 'step' && !store.selectedNodeId ? t('nextcloud-vue', 'Select a step on the canvas to see what it did.') : ''\" />\n\t\t\t\t\t<template v-if=\"canvasLayout && runTab === 'step' && selectedRunStep\">\n\t\t\t\t\t\t<p v-if=\"selectedRunStep.wentOn\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__run-step-note\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-run-step-note\">\n\t\t\t\t\t\t\t<InformationOutline :size=\"18\" />\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'This step failed, but continue on error is on, so the run went on.') }}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<div class=\"cn-flow-board__run-step-actions\">\n\t\t\t\t\t\t\t<NcButton data-testid=\"flow-board-run-edit-step\" @click=\"onEditRunStep\">\n\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Edit this step') }}\n\t\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t\t<NcButton class=\"cn-button--tonal\"\n\t\t\t\t\t\t\t\tdata-testid=\"flow-board-run-play\"\n\t\t\t\t\t\t\t\t@click=\"store.requestReplay()\">\n\t\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t\t<Replay :size=\"20\" />\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Play on the canvas') }}\n\t\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</template>\n\t\t\t\t</template>\n\t\t\t\t<template v-else-if=\"store.selectedNode\">\n\t\t\t\t\t<div v-if=\"canvasLayout\" class=\"cn-flow-board__step-head\">\n\t\t\t\t\t\t<div class=\"cn-flow-board__step-heading\">\n\t\t\t\t\t\t\t<span class=\"cn-flow-board__step-kind\" data-testid=\"flow-board-step-kind\">{{ stepKindText }}</span>\n\t\t\t\t\t\t\t<h3 class=\"cn-flow-board__card-title\" data-testid=\"flow-board-step-name\">\n\t\t\t\t\t\t\t\t{{ stepName }}\n\t\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\t\t\t:title=\"t('nextcloud-vue', 'Close the side panel')\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-inspector-close\"\n\t\t\t\t\t\t\t@click=\"closePanel\">\n\t\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t\t<Close :size=\"20\" />\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</div>\n\t\t\t\t\t<NcTextField v-if=\"canvasLayout\"\n\t\t\t\t\t\t:modelValue=\"nameDraft === null ? stepName : nameDraft\"\n\t\t\t\t\t\t:label=\"t('nextcloud-vue', 'Step name')\"\n\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\tdata-testid=\"flow-board-step-name-field\"\n\t\t\t\t\t\t@update:modelValue=\"nameDraft = $event\"\n\t\t\t\t\t\t@blur=\"commitStepName\"\n\t\t\t\t\t\t@keydown.enter=\"commitStepName\" />\n\t\t\t\t\t<h3 v-if=\"!canvasLayout\" class=\"cn-flow-board__card-title\" data-testid=\"flow-board-step-name\">\n\t\t\t\t\t\t{{ stepName }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<!-- The step type as a pill under the name (DqFlow \"Beslistabel van OpenRegister\"). -->\n\t\t\t\t\t<CnStatusBadge v-if=\"!canvasLayout\"\n\t\t\t\t\t\t:label=\"stepTypePill\"\n\t\t\t\t\t\tvariant=\"purple\"\n\t\t\t\t\t\tclass=\"cn-flow-board__step-type\"\n\t\t\t\t\t\tdata-testid=\"flow-board-step-type\" />\n\t\t\t\t\t<div v-if=\"stepFields.length > 0\" class=\"cn-flow-board__settings\">\n\t\t\t\t\t\t<div v-for=\"field in stepFields\"\n\t\t\t\t\t\t\t:key=\"field.key\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__setting\"\n\t\t\t\t\t\t\t:class=\"{ 'cn-flow-board__setting--card': canvasLayout && field.widget === 'switch' && field.description }\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-step-setting\">\n\t\t\t\t\t\t\t<div v-if=\"canvasLayout && field.widget === 'switch' && field.description\" class=\"cn-flow-board__setting-text\">\n\t\t\t\t\t\t\t\t<span :id=\"`${toggleLabelId}-${field.key}`\" class=\"cn-flow-board__setting-label\">{{ field.label }}</span>\n\t\t\t\t\t\t\t\t<span class=\"cn-flow-board__setting-help\">{{ field.description }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<NcCheckboxRadioSwitch v-if=\"canvasLayout && field.widget === 'switch' && field.description\"\n\t\t\t\t\t\t\t\ttype=\"switch\"\n\t\t\t\t\t\t\t\t:modelValue=\"field.value === true\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t:aria-labelledby=\"`${toggleLabelId}-${field.key}`\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"setStepField(field, $event)\" />\n\t\t\t\t\t\t\t<NcCheckboxRadioSwitch v-else-if=\"field.widget === 'switch'\"\n\t\t\t\t\t\t\t\ttype=\"switch\"\n\t\t\t\t\t\t\t\t:modelValue=\"field.value === true\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"setStepField(field, $event)\">\n\t\t\t\t\t\t\t\t{{ field.label }}\n\t\t\t\t\t\t\t</NcCheckboxRadioSwitch>\n\t\t\t\t\t\t\t<NcSelect v-else-if=\"field.widget === 'select'\"\n\t\t\t\t\t\t\t\t:modelValue=\"field.option\"\n\t\t\t\t\t\t\t\t:options=\"field.options\"\n\t\t\t\t\t\t\t\t:inputLabel=\"field.label\"\n\t\t\t\t\t\t\t\t:clearable=\"false\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\tlabel=\"label\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"setStepField(field, $event ? $event.id : '')\" />\n\t\t\t\t\t\t\t<NcTextArea v-else-if=\"field.widget === 'textarea'\"\n\t\t\t\t\t\t\t\t:modelValue=\"fieldDraft(field)\"\n\t\t\t\t\t\t\t\t:label=\"field.label\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\tresize=\"vertical\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"drafts[field.key] = $event\"\n\t\t\t\t\t\t\t\t@blur=\"commitStepField(field)\" />\n\t\t\t\t\t\t\t<NcTextField v-else\n\t\t\t\t\t\t\t\t:modelValue=\"fieldDraft(field)\"\n\t\t\t\t\t\t\t\t:label=\"field.label\"\n\t\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\t\t@update:modelValue=\"drafts[field.key] = $event\"\n\t\t\t\t\t\t\t\t@blur=\"commitStepField(field)\"\n\t\t\t\t\t\t\t\t@keydown.enter=\"commitStepField(field)\" />\n\t\t\t\t\t\t\t<span v-if=\"canvasLayout && field.description && field.widget !== 'switch'\" class=\"cn-flow-board__setting-help\">{{ field.description }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<dl v-if=\"stepOutcomes.length > 0\" class=\"cn-flow-board__outcomes\" data-testid=\"flow-board-step-outcomes\">\n\t\t\t\t\t\t<div v-for=\"outcome in stepOutcomes\" :key=\"outcome.id\" class=\"cn-flow-board__outcome\">\n\t\t\t\t\t\t\t<dt>{{ outcome.label }}</dt>\n\t\t\t\t\t\t\t<dd>{{ outcome.target }}</dd>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</dl>\n\t\t\t\t\t<div class=\"cn-flow-board__step-actions\">\n\t\t\t\t\t\t<NcButton data-testid=\"flow-board-edit-step\" @click=\"store.editingNodeId = store.selectedNodeId\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Edit step') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t<NcButton v-if=\"lastRunUuid && !canvasLayout\"\n\t\t\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-open-last-run\"\n\t\t\t\t\t\t\t@click=\"openRun(lastRunUuid)\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Open the last run on the canvas') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</div>\n\t\t\t\t\t<section v-if=\"canvasLayout\" class=\"cn-flow-board__step-log cn-flow-board__step-log--open\" data-testid=\"flow-board-step-log\">\n\t\t\t\t\t\t<h4 class=\"cn-flow-board__subtitle\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Recent log lines of this step') }}\n\t\t\t\t\t\t</h4>\n\t\t\t\t\t\t<CnFlowStepLog :lines=\"recentStepLines\"\n\t\t\t\t\t\t\twithDay\n\t\t\t\t\t\t\t:emptyText=\"t('nextcloud-vue', 'This step has not run yet.')\" />\n\t\t\t\t\t\t<a v-if=\"lastRunUuid\"\n\t\t\t\t\t\t\t:href=\"hrefOf(flowPath) + '?run=' + encodeURIComponent(lastRunUuid)\"\n\t\t\t\t\t\t\tclass=\"cn-flow-board__step-log-link\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-open-last-run\"\n\t\t\t\t\t\t\t@click.prevent=\"openRun(lastRunUuid)\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Open the last run on the canvas') }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</section>\n\t\t\t\t\t<details v-else class=\"cn-flow-board__step-log\" data-testid=\"flow-board-step-log\">\n\t\t\t\t\t\t<summary class=\"cn-flow-board__subtitle\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Recent log lines of this step') }}\n\t\t\t\t\t\t</summary>\n\t\t\t\t\t\t<CnFlowStepLog :lines=\"recentStepLines\"\n\t\t\t\t\t\t\twithDay\n\t\t\t\t\t\t\t:emptyText=\"t('nextcloud-vue', 'This step has not run yet.')\" />\n\t\t\t\t\t</details>\n\t\t\t\t\t<div class=\"cn-flow-board__step-footer\">\n\t\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\t\t:class=\"{ 'cn-flow-board__delete-step': canvasLayout }\"\n\t\t\t\t\t\t\t:disabled=\"store.graphLocked\"\n\t\t\t\t\t\t\tdata-testid=\"flow-board-delete-step\"\n\t\t\t\t\t\t\t@click=\"store.removeNode(store.selectedNodeId)\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Delete step') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t\t<NcButton :variant=\"canvasLayout ? 'primary' : 'secondary'\" data-testid=\"flow-board-done\" @click=\"store.selectedNodeId = null\">\n\t\t\t\t\t\t\t{{ t('nextcloud-vue', 'Done') }}\n\t\t\t\t\t\t</NcButton>\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\t\t\t\t<template v-else-if=\"showRuns\">\n\t\t\t\t\t<NcButton variant=\"tertiary\"\n\t\t\t\t\t\tclass=\"cn-flow-board__runs-back\"\n\t\t\t\t\t\tdata-testid=\"flow-board-hide-runs\"\n\t\t\t\t\t\t@click=\"showRuns = false\">\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Back to the step settings') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t\t<CnFlowSidebar embedded />\n\t\t\t\t</template>\n\t\t\t\t<div v-else class=\"cn-flow-board__inspector-empty\" data-testid=\"flow-board-inspector-empty\">\n\t\t\t\t\t<p>{{ t('nextcloud-vue', 'Select a step on the canvas to see its settings.') }}</p>\n\t\t\t\t\t<NcButton variant=\"secondary\"\n\t\t\t\t\t\tdata-testid=\"flow-board-show-runs\"\n\t\t\t\t\t\t@click=\"showRuns = true\">\n\t\t\t\t\t\t{{ t('nextcloud-vue', 'Show runs') }}\n\t\t\t\t\t</NcButton>\n\t\t\t\t</div>\n\t\t\t</aside>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport { NcActionButton, NcActions, NcButton, NcCheckboxRadioSwitch, NcNoteCard, NcSelect, NcTextArea, NcTextField } from '@nextcloud/vue'\nimport ArrowLeft from 'vue-material-design-icons/ArrowLeft.vue'\nimport Autorenew from 'vue-material-design-icons/Autorenew.vue'\nimport Check from 'vue-material-design-icons/Check.vue'\nimport CheckCircleOutline from 'vue-material-design-icons/CheckCircleOutline.vue'\nimport ChevronDown from 'vue-material-design-icons/ChevronDown.vue'\nimport Close from 'vue-material-design-icons/Close.vue'\nimport DockRight from 'vue-material-design-icons/DockRight.vue'\nimport History from 'vue-material-design-icons/History.vue'\nimport InformationOutline from 'vue-material-design-icons/InformationOutline.vue'\nimport Play from 'vue-material-design-icons/Play.vue'\nimport Replay from 'vue-material-design-icons/Replay.vue'\nimport CnFlowStepPickerModal from '../../dialogs/CnFlowStepPickerModal.vue'\nimport CnBuildiqEditButton from '../CnBuildiqEditButton/CnBuildiqEditButton.vue'\nimport CnDialog from '../CnDialog/CnDialog.vue'\nimport CnFlowDetail from '../CnFlowDetail/CnFlowDetail.vue'\nimport CnFlowDryRunResult from '../CnFlowDetail/CnFlowDryRunResult.vue'\nimport CnFlowRunSummary from '../CnFlowDetail/CnFlowRunSummary.vue'\nimport CnFlowSidebar from '../CnFlowDetail/CnFlowSidebar.vue'\nimport CnFlowStepLog from '../CnFlowDetail/CnFlowStepLog.vue'\nimport CnResourceSelect from '../CnResourceSelect/CnResourceSelect.vue'\nimport { FLOW_RUN_ACTIVE_STATUSES, useFlowStore } from '../../composables/useFlowStore.js'\nimport { formatRelativeDate } from '../../utils/boardDate.js'\nimport { flowOutcomeLevels, flowRunDurationMs, flowRunLogLines, flowRunName, flowRunSteps, formatFlowDuration } from '../../utils/flowRunLog.js'\nimport { flowRunStatuses } from '../../utils/flowRunStatus.js'\nimport { appDisplayNames } from '../../utils/nextcloudApps.js'\nimport { overlayInset } from '../../utils/overlayInset.js'\nimport { normaliseSelectOptions } from '../../utils/selectOptions.js'\nimport { CnStatusBadge } from '../CnStatusBadge/index.js'\n\n/**\n * The board-look flow editor and run view. CnFlowEditorPage renders it when\n * the app or page is in the board look; the Nextcloud look keeps the canvas\n * on its own with the app sidebar.\n */\nexport default {\n\tname: 'CnFlowBoard',\n\n\tcomponents: { ArrowLeft, Autorenew, Check, CheckCircleOutline, ChevronDown, Close, DockRight, History, InformationOutline, Play, Replay, NcActionButton, NcActions, CnBuildiqEditButton, CnDialog, CnFlowDetail, CnFlowDryRunResult, CnResourceSelect, CnFlowRunSummary, CnFlowSidebar, CnFlowStepLog, CnFlowStepPickerModal, CnStatusBadge, NcButton, NcCheckboxRadioSwitch, NcNoteCard, NcSelect, NcTextArea, NcTextField },\n\n\tprops: {\n\t\t/** The flow uuid, or `new`. */\n\t\tid: { type: String, default: '' },\n\t\t/** The owning app, for a new flow and the list scope. */\n\t\tapp: { type: String, default: null },\n\t\t/** The run to show, or ''. */\n\t\trun: { type: String, default: '' },\n\t\t/** Where the flow list lives; flows open at `<detailRoute>/<id>`. */\n\t\tdetailRoute: { type: String, default: '/flows' },\n\t\t/** The list's name in the path (\"Flows\", \"Settings / Flows\"). */\n\t\tlistLabel: { type: String, default: '' },\n\t\t/** `column` draws the step palette as a card on the left. */\n\t\tpalette: { type: String, default: 'picker' },\n\t\t/** Free text under the path in the palette card. */\n\t\tpaletteFootnote: { type: String, default: '' },\n\t\t/**\n\t\t * The palette's groups as the page curates them, in order:\n\t\t * `[{ app?, label?, tone?, entries: [{ type, label?, short? }] }]`.\n\t\t * `type` is a catalogue id; `label` replaces the step's catalogue name\n\t\t * and the group's app name; on the canvas (`nodeLook: card`) a step's\n\t\t * pill reads the group's `pill` (else its name) and the step's `short`,\n\t\t * in the group's `tone`. Steps the catalogue lacks are left out, and every other\n\t\t * step stays behind \"More steps\". Empty draws the whole catalogue,\n\t\t * grouped per app (DqFlow: four groups, nine steps).\n\t\t */\n\t\tpaletteGroups: { type: Array, default: () => [] },\n\t\t/**\n\t\t * `card` draws each step as a card with its name and the pill of the\n\t\t * app that does it (\"dossiq · persoon vragen\", DqFlow); default `type`\n\t\t * keeps the type line over the name.\n\t\t */\n\t\tnodeLook: { type: String, default: 'type' },\n\t\t/** `down` runs the steps top to bottom and opens them at their own size (DqFlow); default `right`, left to right and fitted. */\n\t\tflowDirection: { type: String, default: 'right' },\n\t\t/** An info notice under the path. */\n\t\tnotice: { type: String, default: '' },\n\t\t/**\n\t\t * Edit a published flow in place; Save publishes the edits as the next\n\t\t * version, and runs already started keep theirs (DqFlow).\n\t\t */\n\t\tsaveAsVersion: { type: Boolean, default: false },\n\t\t/**\n\t\t * Which of `trigger`, `steps`, `version` and `saved` the path names after\n\t\t * the flow, in that order. `saved` adds when the flow was last saved to\n\t\t * the version (PqFlow).\n\t\t */\n\t\tmetaParts: { type: Array, default: () => ['trigger', 'steps', 'version'] },\n\t\t/** A closing note after the path's meta (\"changes apply to new cases\"). */\n\t\tmetaNote: { type: String, default: '' },\n\t\t/**\n\t\t * The levels before the flow in the path, each its own link:\n\t\t * `[{ label, href? }]` (\"Settings\" / \"Flows\"). A crumb without an\n\t\t * `href` links to the flow list. Empty draws the one `listLabel` link.\n\t\t */\n\t\tbreadcrumb: { type: Array, default: () => [] },\n\t\t/** The pill at the start of the path row (\"Case type flow\"). */\n\t\tpill: { type: String, default: '' },\n\t\t/** The tone of `pill` (\"teal\" on DqFlow); a lifecycle pill stays neutral. */\n\t\tpillVariant: { type: String, default: 'default' },\n\t\t/**\n\t\t * The records a test run can take as its subject: `{ register, schema,\n\t\t * labelField?, label? }`. Draws a header button (\"Testen met een zaak\",\n\t\t * DqFlow) that tries the saved flow with a picked record through\n\t\t * OpenRegister's dry-run, changing and sending nothing.\n\t\t */\n\t\ttestSubject: { type: Object, default: null },\n\n\t\t/**\n\t\t * `canvas` draws the page as boards PqFlow and PqFlowRun do: the actions\n\t\t * under the title, the canvas without a frame, the validity and a side\n\t\t * panel toggle in the canvas toolbar, the inspector as a closable\n\t\t * floating panel and, in a run, its pills in the header and its card\n\t\t * over the canvas. `cards` (default) keeps the DqFlow grid.\n\t\t */\n\t\tlayout: { type: String, default: 'cards' },\n\n\t\t/**\n\t\t * How the Active switch is named. `state` (default) names it after\n\t\t * the flow's state, Active or Paused (PqFlow). `fixed` always names\n\t\t * it Active and lets the switch show whether the flow runs (DqFlow).\n\t\t */\n\t\ttoggleLabel: { type: String, default: 'state' },\n\t},\n\n\temits: ['save', 'run', 'retried'],\n\n\tsetup() {\n\t\treturn { store: useFlowStore() }\n\t},\n\n\tdata() {\n\t\treturn { nameDraft: null, legendTitleId: `cn-flow-board-legend-${Math.random().toString(36).slice(2)}`, panelOpen: false, runPanelClosed: false, runTab: 'step', testOpen: false, testRecord: null, appNames: {}, showRuns: false, stepPickerOpen: false, drafts: {}, loadedOptions: {}, toggleLabelId: `cn-flow-board-toggle-${Math.random().toString(36).slice(2)}` }\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t * @return {boolean} Whether the page is laid out as a canvas page.\n\t\t */\n\t\tcanvasLayout() {\n\t\t\treturn this.layout === 'canvas'\n\t\t},\n\n\t\t/**\n\t\t * Whether the inspector is drawn. Always in the card layout; on a canvas\n\t\t * page while a run is open (until closed), or while a step, a test\n\t\t * result or the runs are shown, or the toggle opened it.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t * @return {boolean}\n\t\t */\n\t\tinspectorShown() {\n\t\t\tif (!this.canvasLayout) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\tif (this.store.inRunView) {\n\t\t\t\treturn !this.runPanelClosed\n\t\t\t}\n\t\t\treturn this.panelOpen || Boolean(this.store.selectedNode) || Boolean(this.store.dryRunResult) || this.showRuns\n\t\t},\n\n\t\t/** @return {string} The validity as a short pill label. */\n\t\tvalidityPill() {\n\t\t\treturn {\n\t\t\t\tsuccess: this.t('nextcloud-vue', 'Flow is valid'),\n\t\t\t\twarning: this.t('nextcloud-vue', 'Valid with warnings'),\n\t\t\t\terror: this.t('nextcloud-vue', 'Flow has errors'),\n\t\t\t}[this.validity.tone] || this.t('nextcloud-vue', 'Not checked yet')\n\t\t},\n\n\t\t/** @return {string} The validity pill's colour. */\n\t\tvalidityVariant() {\n\t\t\treturn ['success', 'warning', 'error'].includes(this.validity.tone) ? this.validity.tone : 'default'\n\t\t},\n\n\t\t/** @return {{label: string, variant: string}} The run's status pill. */\n\t\trunStatus() {\n\t\t\tconst status = String(this.runRecord?.status || '')\n\t\t\treturn flowRunStatuses()[status] || { label: status, variant: 'default' }\n\t\t},\n\n\t\t/** @return {number} How many of the run's steps warned. */\n\t\trunWarningCount() {\n\t\t\treturn this.runRecord ? flowRunSteps(this.runRecord).filter((step) => step.level === 'warning').length : 0\n\t\t},\n\n\t\t/** @return {string} The warning count pill's label. */\n\t\trunWarningText() {\n\t\t\treturn this.runWarningCount === 1\n\t\t\t\t? this.t('nextcloud-vue', '1 step with a warning')\n\t\t\t\t: this.t('nextcloud-vue', '{count} steps with a warning', { count: this.runWarningCount })\n\t\t},\n\n\t\t/** @return {boolean} Whether a test subject is declared well enough to pick one. */\n\t\ttestSubjectReady() {\n\t\t\treturn Boolean(this.testSubject && this.testSubject.register && this.testSubject.schema)\n\t\t},\n\n\t\t/** @return {string} The test button's label: the page's own, else the library's. */\n\t\ttestLabel() {\n\t\t\treturn (this.testSubject && this.testSubject.label) || t('nextcloud-vue', 'Test with a record')\n\t\t},\n\n\t\t/** @return {boolean} Whether the palette card is drawn. */\n\t\tshowPalette() {\n\t\t\treturn this.palette === 'column' && !this.store.inRunView\n\t\t},\n\n\t\t/** @return {string} The page title. */\n\t\ttitleText() {\n\t\t\treturn this.store.flow.name || this.t('nextcloud-vue', 'New flow')\n\t\t},\n\n\t\t/** @return {string} The flow's name in the path. */\n\t\tflowName() {\n\t\t\treturn this.store.flow.name || this.t('nextcloud-vue', 'New flow')\n\t\t},\n\n\t\t/** @return {string} The pill text: the page's, else the lifecycle. */\n\t\tpillText() {\n\t\t\tif (this.pill) {\n\t\t\t\treturn this.pill\n\t\t\t}\n\t\t\tconst lifecycle = String(this.store.flow.lifecycleStatus || '')\n\t\t\tif (lifecycle === 'draft') {\n\t\t\t\treturn this.t('nextcloud-vue', 'Draft')\n\t\t\t}\n\t\t\tif (lifecycle === 'deprecated') {\n\t\t\t\treturn this.t('nextcloud-vue', 'Retired')\n\t\t\t}\n\t\t\treturn ''\n\t\t},\n\n\t\t/**\n\t\t * The path's links before the flow: the declared trail, else the one\n\t\t * list link.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-trail/specs/flow-board/spec.md#requirement-the-flow-board-path-names-every-level-and-carries-the-pill\n\t\t * @return {Array<{label: string, href: string, path: string}>} The crumbs.\n\t\t */\n\t\ttrailCrumbs() {\n\t\t\tconst declared = (this.breadcrumb || []).filter((crumb) => crumb && typeof crumb.label === 'string' && crumb.label !== '')\n\t\t\tif (declared.length === 0) {\n\t\t\t\treturn [{ label: this.listText, href: this.listHref, path: this.detailRoute }]\n\t\t\t}\n\t\t\treturn declared.map((crumb) => (crumb.href\n\t\t\t\t? { label: crumb.label, href: crumb.href, path: '' }\n\t\t\t\t: { label: crumb.label, href: this.listHref, path: this.detailRoute }))\n\t\t},\n\n\t\t/**\n\t\t * The notice with `{name}` filled with the flow's name.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-trail/specs/flow-board/spec.md#requirement-the-flow-board-notice-can-name-the-flow\n\t\t * @return {string} The notice text.\n\t\t */\n\t\tnoticeText() {\n\t\t\treturn String(this.notice || '').split('{name}').join(this.store.flow.name || '')\n\t\t},\n\n\t\t/** @return {string} The list label. */\n\t\tlistText() {\n\t\t\treturn this.listLabel || this.t('nextcloud-vue', 'Flows')\n\t\t},\n\n\t\t/** @return {string} The flow's own path. */\n\t\tflowPath() {\n\t\t\treturn `${this.detailRoute}/${this.store.flow.id || this.id}`\n\t\t},\n\n\t\t/** @return {string} The list href. */\n\t\tlistHref() {\n\t\t\treturn this.hrefOf(this.detailRoute)\n\t\t},\n\n\t\t/** @return {string} The flow href. */\n\t\tflowHref() {\n\t\t\treturn this.hrefOf(this.flowPath)\n\t\t},\n\n\t\t/**\n\t\t * What the path says after the name: the trigger, the step count and\n\t\t * the version in the editor; when the run started and how long it\n\t\t * took in the run view.\n\t\t *\n\t\t * @return {string} The meta text.\n\t\t */\n\t\tmetaText() {\n\t\t\tif (this.store.inRunView) {\n\t\t\t\tconst record = this.runRecord\n\t\t\t\tif (!record) {\n\t\t\t\t\treturn ''\n\t\t\t\t}\n\t\t\t\tconst parts = [formatRelativeDate(record.created, { withTime: true })]\n\t\t\t\tconst duration = formatFlowDuration(flowRunDurationMs(record))\n\t\t\t\tif (duration) {\n\t\t\t\t\tparts.push(this.t('nextcloud-vue', 'done in {duration}', { duration }))\n\t\t\t\t}\n\t\t\t\treturn parts.filter(Boolean).join(' · ')\n\t\t\t}\n\t\t\tconst parts = []\n\t\t\tconst shown = Array.isArray(this.metaParts) ? this.metaParts : []\n\t\t\tconst trigger = this.triggerText\n\t\t\tif (trigger && shown.includes('trigger')) {\n\t\t\t\tparts.push(this.t('nextcloud-vue', 'trigger {trigger}', { trigger }))\n\t\t\t}\n\t\t\tconst count = this.store.nodes.length\n\t\t\tif (shown.includes('steps')) {\n\t\t\t\tparts.push(count === 1 ? this.t('nextcloud-vue', '1 step') : this.t('nextcloud-vue', '{count} steps', { count }))\n\t\t\t}\n\t\t\tif (this.store.flow.version && shown.includes('version')) {\n\t\t\t\tparts.push(this.store.flow.updated && shown.includes('saved')\n\t\t\t\t\t? this.t('nextcloud-vue', 'version {version}, saved {date}', { version: this.store.flow.version, date: formatRelativeDate(this.store.flow.updated) })\n\t\t\t\t\t: this.t('nextcloud-vue', 'version {version}', { version: this.store.flow.version }))\n\t\t\t}\n\t\t\tif (this.metaNote) {\n\t\t\t\tparts.push(this.metaNote)\n\t\t\t}\n\t\t\treturn parts.join(' · ')\n\t\t},\n\n\t\t/** @return {string} How the flow starts, as the catalogue names it. */\n\t\ttriggerText() {\n\t\t\tconst trigger = String(this.store.flow.trigger || '')\n\t\t\tif (trigger === 'schedule') {\n\t\t\t\treturn this.t('nextcloud-vue', 'On a schedule')\n\t\t\t}\n\t\t\tif (trigger === '' || trigger === 'manual') {\n\t\t\t\treturn this.t('nextcloud-vue', 'Run by hand')\n\t\t\t}\n\t\t\tconst entry = (this.store.eventCatalog || []).find((item) => item && item.id === trigger)\n\t\t\treturn (entry && entry.label) || trigger\n\t\t},\n\n\t\t/** @return {boolean} Whether Run is offered. */\n\t\tshowRun() {\n\t\t\treturn this.store.nodes.some((node) => node?.type === 'openregister.trigger-manual')\n\t\t},\n\n\t\t/**\n\t\t * The engine's verdict on the canvas as one line under it.\n\t\t *\n\t\t * @return {{tone: string, text: string}} The validity bar.\n\t\t */\n\t\tvalidity() {\n\t\t\tconst result = this.store.checkResult\n\t\t\tif (!result) {\n\t\t\t\treturn { tone: 'unknown', text: this.t('nextcloud-vue', 'Not checked yet. Check runs the flow past the engine without saving it.') }\n\t\t\t}\n\t\t\tconst blocking = Array.isArray(result.blocking) ? result.blocking.length : 0\n\t\t\tconst warnings = Array.isArray(result.warnings) ? result.warnings.length : 0\n\t\t\tif (result.valid === false || blocking > 0) {\n\t\t\t\treturn { tone: 'error', text: result.message || this.t('nextcloud-vue', 'The flow cannot run as it is. See the messages on the canvas.') }\n\t\t\t}\n\t\t\tif (warnings > 0) {\n\t\t\t\treturn { tone: 'warning', text: this.t('nextcloud-vue', 'The flow is valid, with {count} warnings.', { count: warnings }) }\n\t\t\t}\n\t\t\treturn { tone: 'success', text: this.t('nextcloud-vue', 'The flow is valid.') }\n\t\t},\n\n\t\t/** @return {boolean} Whether the page curates the palette. */\n\t\tpaletteCurated() {\n\t\t\treturn Array.isArray(this.paletteGroups) && this.paletteGroups.length > 0\n\t\t},\n\n\t\t/**\n\t\t * The palette's groups: the page's curated ones when it names them,\n\t\t * else the catalogue grouped by owning app, each group named by the\n\t\t * app's display name (its id when Nextcloud names none), the app that\n\t\t * owns this flow first.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-palette-groups/specs/flow-board/spec.md#requirement-a-flow-page-can-curate-its-palette\n\t\t * @return {Array<{app: string, name: string, entries: Array<object>}>} The groups.\n\t\t */\n\t\tpaletteSections() {\n\t\t\tif (this.paletteCurated) {\n\t\t\t\treturn this.curatedSections\n\t\t\t}\n\t\t\tconst groups = {}\n\t\t\t;(this.store.nodeCatalog || []).forEach((entry) => {\n\t\t\t\tconst app = String(entry?.app || String(entry?.id || '').split('.')[0] || '')\n\t\t\t\tif (!groups[app]) {\n\t\t\t\t\tgroups[app] = { app, name: this.appNames[app] || app, entries: [] }\n\t\t\t\t}\n\t\t\t\tgroups[app].entries.push(entry)\n\t\t\t})\n\t\t\tconst list = Object.values(groups)\n\t\t\tconst host = list.findIndex((group) => group.app === this.app)\n\t\t\treturn host > 0 ? [list[host], ...list.slice(0, host), ...list.slice(host + 1)] : list\n\t\t},\n\n\t\t/**\n\t\t * The page's curated groups, each step resolved against the catalogue\n\t\t * under the page's label; a step the catalogue lacks is left out, and a\n\t\t * group left with none is not drawn.\n\t\t *\n\t\t * @return {Array<{app: string, name: string, tone: string, entries: Array<object>}>} The groups.\n\t\t */\n\t\tcuratedSections() {\n\t\t\tconst catalog = this.store.nodeCatalog || []\n\t\t\treturn this.paletteGroups\n\t\t\t\t.map((group, index) => {\n\t\t\t\t\tconst entries = (Array.isArray(group?.entries) ? group.entries : [])\n\t\t\t\t\t\t.map((step) => {\n\t\t\t\t\t\t\tconst entry = step && catalog.find((item) => item && item.id === step.type)\n\t\t\t\t\t\t\treturn entry ? { ...entry, displayName: step.label || entry.displayName, short: step.short || '' } : null\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\tconst app = String(group?.app || (entries[0] ? String(entries[0].id).split('.')[0] : '') || index)\n\t\t\t\t\treturn { app, name: group?.label || this.appNames[app] || app, tone: group?.tone || '', entries }\n\t\t\t\t})\n\t\t\t\t.filter((group) => group.entries.length > 0)\n\t\t},\n\n\t\t/** @return {object|null} The run on screen. */\n\t\trunRecord() {\n\t\t\treturn this.store.runDetail\n\t\t\t\t|| (this.store.runs || []).find((item) => item.uuid === this.store.inspectedRunUuid)\n\t\t\t\t|| null\n\t\t},\n\n\t\t/** @return {string} The run's place in the path. */\n\t\trunCrumb() {\n\t\t\treturn this.t('nextcloud-vue', 'Run {id}', { id: flowRunName(this.runRecord) })\n\t\t},\n\n\t\t/** @return {boolean} Whether Run again is offered. */\n\t\tcanRetry() {\n\t\t\treturn !!this.runRecord && !FLOW_RUN_ACTIVE_STATUSES.includes(this.runRecord.status)\n\t\t},\n\n\t\t/** @return {Array<object>} Every line of the run on screen. */\n\t\tallRunLines() {\n\t\t\treturn this.runRecord ? flowRunLogLines(this.runRecord) : []\n\t\t},\n\n\t\t/** @return {Array<object>} The selected step's lines in this run. */\n\t\tselectedRunLines() {\n\t\t\treturn this.runRecord && this.store.selectedNodeId\n\t\t\t\t? flowRunLogLines(this.runRecord, this.store.selectedNodeId)\n\t\t\t\t: []\n\t\t},\n\n\t\t/** @return {Array<object>} The two log tabs with their counts. */\n\t\trunTabs() {\n\t\t\treturn [\n\t\t\t\t{ id: 'step', label: this.t('nextcloud-vue', 'This step'), count: this.selectedRunLines.length },\n\t\t\t\t{ id: 'run', label: this.t('nextcloud-vue', 'Logs of the whole run'), count: this.allRunLines.length },\n\t\t\t]\n\t\t},\n\n\t\t/** @return {Array<object>} The legend of outcomes on the canvas. */\n\t\tlegend() {\n\t\t\tconst levels = flowOutcomeLevels()\n\t\t\treturn ['success', 'warning', 'error', 'info', 'skipped'].map((id) => ({ id, ...levels[id] }))\n\t\t},\n\n\t\t/** @return {string} The selected step's type, as the catalogue names it. */\n\t\tstepTypeLabel() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tconst entry = node ? this.store.catalogEntry(node.type) : null\n\t\t\treturn entry ? (entry.displayName || entry.id) : String(node?.type || '')\n\t\t},\n\n\t\t/**\n\t\t * The selected step's settings as fields, as its owner declares them in\n\t\t * the catalogue's `configForm`: the ones the step sets and the required\n\t\t * ones. A field with options is a select, a boolean a switch, a\n\t\t * textarea or an object value a text area; the rest a text field.\n\t\t * Every other setting stays behind Edit step.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-inspector-fields/specs/flow-board/spec.md#requirement-the-flow-board-inspector-edits-the-selected-steps-settings-and-names-its-outcomes\n\t\t * @return {Array<object>} The fields.\n\t\t */\n\t\tstepFields() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tconst entry = node ? this.store.catalogEntry(node.type) : null\n\t\t\tconst config = (node && node.config) || {}\n\t\t\tconst form = (entry && Array.isArray(entry.configForm)) ? entry.configForm : []\n\t\t\tconst isSet = (value) => value !== undefined && value !== null && value !== ''\n\t\t\treturn form\n\t\t\t\t.filter((field) => field && field.key && (isSet(config[field.key]) || field.required === true))\n\t\t\t\t.map((field) => {\n\t\t\t\t\tconst value = config[field.key]\n\t\t\t\t\tconst options = field.optionsFrom\n\t\t\t\t\t\t? [...(this.loadedOptions[field.optionsFrom] || [])]\n\t\t\t\t\t\t: normaliseSelectOptions(field.options)\n\t\t\t\t\tif (isSet(value) && typeof value !== 'object' && options.length > 0 && !options.some((o) => o.id === value)) {\n\t\t\t\t\t\toptions.push({ id: value, label: String(value) })\n\t\t\t\t\t}\n\t\t\t\t\tlet widget = 'text'\n\t\t\t\t\tif (options.length > 0 || (field.type === 'select' && field.optionsFrom)) {\n\t\t\t\t\t\twidget = 'select'\n\t\t\t\t\t} else if (field.type === 'boolean' || field.type === 'switch' || typeof value === 'boolean') {\n\t\t\t\t\t\twidget = 'switch'\n\t\t\t\t\t} else if (field.type === 'textarea' || field.type === 'json' || (value !== null && typeof value === 'object')) {\n\t\t\t\t\t\twidget = 'textarea'\n\t\t\t\t\t}\n\t\t\t\t\treturn {\n\t\t\t\t\t\tkey: field.key,\n\t\t\t\t\t\tlabel: field.label || field.key,\n\t\t\t\t\t\tdescription: String(field.description || field.help || ''),\n\t\t\t\t\t\twidget,\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\toptions,\n\t\t\t\t\t\toption: options.find((o) => o.id === value) || null,\n\t\t\t\t\t\tisObject: value !== null && typeof value === 'object',\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t},\n\n\t\t/**\n\t\t * Where the selected step goes next: each outgoing line by its name\n\t\t * (\"Ja\", \"Nee\"), else \"Next\", with the step it leads to.\n\t\t *\n\t\t * @return {Array<{id: string, label: string, target: string}>} The outcomes.\n\t\t */\n\t\tstepOutcomes() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tif (!id) {\n\t\t\t\treturn []\n\t\t\t}\n\t\t\tconst nameOf = (target) => {\n\t\t\t\tconst node = this.store.nodes.find((item) => item.id === target)\n\t\t\t\treturn (node && (node.name || node.label)) || target\n\t\t\t}\n\t\t\treturn (this.store.canvasEdges || [])\n\t\t\t\t.filter((line) => line.source === id)\n\t\t\t\t.map((line) => ({ id: line.id, label: (line.data && line.data.label) || this.t('nextcloud-vue', 'Next'), target: nameOf(line.target) }))\n\t\t},\n\n\t\t/**\n\t\t * The selected step's type pill: the palette's name for it and the app\n\t\t * that does it (\"Beslistabel van OpenRegister\"), else the catalogue's.\n\t\t *\n\t\t * @return {string} The pill text.\n\t\t */\n\t\tstepTypePill() {\n\t\t\tconst type = String(this.store.selectedNode?.type || '')\n\t\t\tconst group = (Array.isArray(this.paletteGroups) ? this.paletteGroups : []).find((item) => (item?.entries || []).some((step) => step && step.type === type))\n\t\t\tconst step = group ? group.entries.find((item) => item && item.type === type) : null\n\t\t\tif (!group) {\n\t\t\t\treturn this.stepTypeLabel\n\t\t\t}\n\t\t\tconst app = String(group.app || type.split('.')[0] || '')\n\t\t\treturn this.t('nextcloud-vue', '{type} from {app}', { type: (step && step.label) || this.stepTypeLabel, app: group.label || this.appNames[app] || app })\n\t\t},\n\n\t\t/** @return {string} The selected step's name. */\n\t\tstepName() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\treturn (node && (node.name || node.label)) || this.stepTypeLabel\n\t\t},\n\n\t\t/**\n\t\t * The selected step's lines from the flow's recent runs, newest run\n\t\t * first, at most ten.\n\t\t *\n\t\t * @return {Array<object>} The lines.\n\t\t */\n\t\trecentStepLines() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tif (!id) {\n\t\t\t\treturn []\n\t\t\t}\n\t\t\tconst lines = []\n\t\t\t;(this.store.runs || []).forEach((item) => {\n\t\t\t\tflowRunLogLines(item, id).forEach((line) => lines.push({ ...line, key: `${item.uuid}-${line.key}` }))\n\t\t\t})\n\t\t\treturn lines.slice(0, 10)\n\t\t},\n\n\t\t/**\n\t\t * The newest run as the path line's first pill on a canvas page: \"Last\n\t\t * run today 08:41 done\".\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-a-canvas-flow-page-has-a-more-menu-and-names-its-last-run\n\t\t * @return {string} The pill text, or '' when there is none to show.\n\t\t */\n\t\tlastRunPill() {\n\t\t\tconst last = this.store.runs && this.store.runs[0]\n\t\t\tif (!this.canvasLayout || this.store.inRunView || !last) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\tconst outcome = {\n\t\t\t\tcompleted: this.t('nextcloud-vue', 'done'),\n\t\t\t\tfailed: this.t('nextcloud-vue', 'failed'),\n\t\t\t\tdead_letter: this.t('nextcloud-vue', 'failed'),\n\t\t\t\tstopped: this.t('nextcloud-vue', 'stopped early'),\n\t\t\t}[String(last.status || '')] || this.t('nextcloud-vue', 'running')\n\t\t\treturn this.t('nextcloud-vue', 'Last run {date} {outcome}', { date: formatRelativeDate(last.created, { withTime: true }), outcome })\n\t\t},\n\n\t\t/**\n\t\t * The outcomes the canvas legend card names; a step that did not run\n\t\t * reads from the \"Not taken\" route instead.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-a-canvas-run-shows-its-legend-as-one-card-with-the-zoom\n\t\t * @return {Array<object>} The levels.\n\t\t */\n\t\tcanvasLegend() {\n\t\t\tconst levels = flowOutcomeLevels()\n\t\t\treturn ['success', 'warning', 'info', 'error'].map((id) => ({ id, ...levels[id] }))\n\t\t},\n\n\t\t/**\n\t\t * The selected step's kind and type: \"Action · Send an e-mail\".\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {string} The line.\n\t\t */\n\t\tstepKindText() {\n\t\t\tconst role = this.store.roleOfNodeType(this.store.selectedNode?.type)\n\t\t\tconst kind = {\n\t\t\t\ttrigger: this.t('nextcloud-vue', 'Trigger'),\n\t\t\t\tend: this.t('nextcloud-vue', 'End'),\n\t\t\t}[role] || this.t('nextcloud-vue', 'Action')\n\t\t\treturn `${kind} · ${this.stepTypeLabel}`\n\t\t},\n\n\t\t/**\n\t\t * The selected step in the run on screen: its outcome pill, its timing\n\t\t * and whether the run went on after it failed.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {{label: string, variant: string, timing: string, wentOn: boolean}|null} The step, or null.\n\t\t */\n\t\tselectedRunStep() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tconst step = this.runRecord && id ? flowRunSteps(this.runRecord).find((item) => item.nodeId === id) : null\n\t\t\tif (!step) {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\tconst level = flowOutcomeLevels()[step.level] || { label: step.level, variant: 'default' }\n\t\t\tconst timing = [\n\t\t\t\tstep.startedAt ? this.t('nextcloud-vue', 'started {time}', { time: formatRelativeDate(step.startedAt, { withTime: true }) }) : '',\n\t\t\t\tstep.durationMs ? this.t('nextcloud-vue', 'took {duration}', { duration: formatFlowDuration(step.durationMs) }) : '',\n\t\t\t].filter(Boolean).join(' · ')\n\t\t\treturn { label: level.label, variant: level.variant, timing, wentOn: step.level === 'warning' && String(step.entry?.status || '') === 'failed' }\n\t\t},\n\n\t\t/** @return {string} The newest run's uuid, or ''. */\n\t\tlastRunUuid() {\n\t\t\treturn (this.store.runs && this.store.runs[0] && this.store.runs[0].uuid) || ''\n\t\t},\n\t},\n\n\twatch: {\n\t\t// A field's typing belongs to the step it was typed for.\n\t\t'store.selectedNodeId': {\n\t\t\thandler() {\n\t\t\t\tthis.drafts = {}\n\t\t\t\tthis.nameDraft = null\n\t\t\t\tthis.loadStepOptions()\n\t\t\t},\n\t\t},\n\n\t\tsaveAsVersion: {\n\t\t\timmediate: true,\n\t\t\thandler(on) {\n\t\t\t\tthis.store.savesAsVersion = on === true\n\t\t\t},\n\t\t},\n\n\t\t// A selected step takes the panel back from the run history.\n\t\t'store.selectedNodeId': function(id) {\n\t\t\tif (id) {\n\t\t\t\tthis.showRuns = false\n\t\t\t}\n\t\t},\n\t},\n\n\tasync created() {\n\t\t// The palette groups and the step pills name apps by display name;\n\t\t// only those read the names.\n\t\tif (this.palette !== 'column' && this.nodeLook !== 'card') {\n\t\t\treturn\n\t\t}\n\t\tconst { default: axios } = await import('@nextcloud/axios')\n\t\tthis.appNames = await appDisplayNames(axios)\n\t},\n\n\tbeforeUnmount() {\n\t\tthis.store.savesAsVersion = false\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * How far the chrome floating over the canvas (toolbar, run card, side\n\t\t * panel) reaches into it, measured when the canvas fits.\n\t\t *\n\t\t * @return {{top: number, right: number, bottom: number, left: number}} Pixels per side.\n\t\t */\n\t\tcanvasChromeInset() {\n\t\t\tconst root = this.$el\n\t\t\tconst frame = root?.querySelector?.('.cn-flow-board__canvas')\n\t\t\tif (!frame) {\n\t\t\t\treturn overlayInset(null, [])\n\t\t\t}\n\t\t\tconst chrome = root.querySelectorAll('.cn-flow-detail__toolbar, .cn-flow-board__run-card, .cn-flow-board__inspector')\n\t\t\treturn overlayInset(frame.getBoundingClientRect(), Array.from(chrome, (el) => el.getBoundingClientRect()))\n\t\t},\n\n\t\t/**\n\t\t * Load the choices of the selected step's select fields that name a\n\t\t * url (`optionsFrom`), once per url.\n\t\t *\n\t\t * @return {Promise<void>}\n\t\t */\n\t\tasync loadStepOptions() {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tconst entry = node ? this.store.catalogEntry(node.type) : null\n\t\t\tconst urls = ((entry && entry.configForm) || [])\n\t\t\t\t.filter((field) => field && field.type === 'select' && field.optionsFrom)\n\t\t\t\t.map((field) => String(field.optionsFrom))\n\t\t\t\t.filter((url) => !this.loadedOptions[url])\n\t\t\tif (urls.length === 0) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tconst { default: axios } = await import('@nextcloud/axios')\n\t\t\tconst { generateUrl } = await import('@nextcloud/router')\n\t\t\tawait Promise.all(urls.map(async (url) => {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await axios.get(url.startsWith('/') && !url.startsWith('/apps') && !url.startsWith('/index.php') ? generateUrl(url) : url)\n\t\t\t\t\tconst rows = Array.isArray(response.data) ? response.data : (response.data?.results || [])\n\t\t\t\t\tthis.loadedOptions = { ...this.loadedOptions, [url]: normaliseSelectOptions(rows) }\n\t\t\t\t} catch (error) {\n\t\t\t\t\t// The field then shows the stored value; Edit step still reaches everything.\n\t\t\t\t\t// eslint-disable-next-line no-console -- diagnostic for a failure this degrades from\n\t\t\t\t\tconsole.error(`cn-flow: could not load options from ${url}`, error)\n\t\t\t\t}\n\t\t\t}))\n\t\t},\n\n\t\t/**\n\t\t * What a text field shows: the typing in progress, else the setting.\n\t\t *\n\t\t * @param {object} field A step field.\n\t\t * @return {string} The text.\n\t\t */\n\t\tfieldDraft(field) {\n\t\t\tif (Object.hasOwn(this.drafts, field.key)) {\n\t\t\t\treturn this.drafts[field.key]\n\t\t\t}\n\t\t\tif (field.isObject) {\n\t\t\t\treturn JSON.stringify(field.value, null, 2)\n\t\t\t}\n\t\t\treturn field.value === undefined || field.value === null ? '' : String(field.value)\n\t\t},\n\n\t\t/**\n\t\t * Write a text field's typing to the step when the field is left; an\n\t\t * object setting is written back as an object when the text is JSON.\n\t\t *\n\t\t * @param {object} field A step field.\n\t\t * @return {void}\n\t\t */\n\t\tcommitStepField(field) {\n\t\t\tif (!Object.hasOwn(this.drafts, field.key)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tlet value = this.drafts[field.key]\n\t\t\tif (field.isObject) {\n\t\t\t\ttry {\n\t\t\t\t\tvalue = JSON.parse(value)\n\t\t\t\t} catch {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete this.drafts[field.key]\n\t\t\tthis.setStepField(field, value)\n\t\t},\n\n\t\t/**\n\t\t * Write one setting of the selected step, as one undoable edit.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-inspector-fields/specs/flow-board/spec.md#requirement-the-flow-board-inspector-edits-the-selected-steps-settings-and-names-its-outcomes\n\t\t * @param {object} field A step field.\n\t\t * @param {string|boolean|object} value The new value.\n\t\t * @return {void}\n\t\t */\n\t\tsetStepField(field, value) {\n\t\t\tconst node = this.store.selectedNode\n\t\t\tif (!node || JSON.stringify(node.config?.[field.key]) === JSON.stringify(value)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.store.setNodeConfigById(node.id, { ...(node.config || {}), [field.key]: value })\n\t\t},\n\n\t\t/**\n\t\t * The pill on a step's card: the app that does it, with the page's short\n\t\t * type when it gives one, in the palette group's tone (the app that owns\n\t\t * the flow in the primary tone); \"Start\" on a start step.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-node-card/specs/flow-board/spec.md#requirement-a-flow-step-on-the-board-canvas-is-a-card-with-its-app-pill\n\t\t * @param {object} node A flow node.\n\t\t * @return {{label: string, variant: string}} The pill.\n\t\t */\n\t\tnodeBadge(node) {\n\t\t\tconst type = String(node?.type || '')\n\t\t\tif (this.store.roleOfNodeType(type) === 'trigger') {\n\t\t\t\treturn { label: this.t('nextcloud-vue', 'Start step'), variant: 'default' }\n\t\t\t}\n\t\t\tconst curated = (Array.isArray(this.paletteGroups) ? this.paletteGroups : []).find((group) => (group?.entries || []).some((step) => step && step.type === type))\n\t\t\tconst step = curated ? curated.entries.find((item) => item && item.type === type) : null\n\t\t\tconst entry = this.store.catalogEntry(type)\n\t\t\tconst app = String(curated?.app || entry?.app || type.split('.')[0] || '')\n\t\t\tconst name = curated ? (curated.pill || curated.label || this.appNames[app] || app) : (this.appNames[app] || app)\n\t\t\tconst variant = curated?.tone || (app === this.app ? 'primary' : 'default')\n\t\t\treturn { label: step && step.short ? `${name} · ${step.short}` : name, variant }\n\t\t},\n\n\t\t/**\n\t\t * Close the canvas page's side panel: in a run it hides the logs, in\n\t\t * the editor it clears the selected step, the test result and the runs.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t */\n\t\tclosePanel() {\n\t\t\tif (this.store.inRunView) {\n\t\t\t\tthis.runPanelClosed = true\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.panelOpen = false\n\t\t\tthis.showRuns = false\n\t\t\tthis.store.selectedNodeId = null\n\t\t\tif (this.store.dryRunResult) {\n\t\t\t\tthis.store.clearDryRun()\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * The canvas toolbar's side panel toggle.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-layout/specs/flow-board/spec.md#requirement-a-flow-page-can-be-laid-out-as-a-canvas-page\n\t\t */\n\t\ttogglePanel() {\n\t\t\tif (this.store.inRunView) {\n\t\t\t\tthis.runPanelClosed = !this.runPanelClosed\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.inspectorShown) {\n\t\t\t\tthis.closePanel()\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.panelOpen = true\n\t\t},\n\n\t\t/**\n\t\t * Run the flow, with the run history in the panel to follow it.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tonRun() {\n\t\t\tthis.showRuns = true\n\t\t\tthis.$emit('run')\n\t\t},\n\n\t\t/**\n\t\t * Try the saved flow with the picked record through OpenRegister's\n\t\t * dry-run, which changes and sends nothing, then close the dialog; the\n\t\t * per-step result shows beside the canvas.\n\t\t *\n\t\t * @return {Promise<void>}\n\t\t * @spec openspec/changes/flow-test-with-a-record/specs/flow-test-with-a-record/spec.md#requirement-testing-a-flow-with-a-record-changes-nothing\n\t\t */\n\t\tasync runTest() {\n\t\t\tconst uuid = Array.isArray(this.testRecord) ? this.testRecord[0] : this.testRecord\n\t\t\tif (!uuid) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tawait this.store.dryRun({ uuid, register: this.testSubject.register, schema: this.testSubject.schema })\n\t\t\tthis.testOpen = false\n\t\t\tthis.testRecord = null\n\t\t},\n\n\t\tt,\n\n\t\t/**\n\t\t * @param {string} path An app route path.\n\t\t * @return {string} Its href.\n\t\t */\n\t\threfOf(path) {\n\t\t\tif (this.$router && typeof this.$router.resolve === 'function') {\n\t\t\t\ttry {\n\t\t\t\t\tconst resolved = this.$router.resolve(path)\n\t\t\t\t\tif (resolved && resolved.href) {\n\t\t\t\t\t\treturn resolved.href\n\t\t\t\t\t}\n\t\t\t\t} catch {\n\t\t\t\t\t// A path the router does not know stays a plain path.\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn path\n\t\t},\n\n\t\t/**\n\t\t * Follow a path link on the app's router; a modified click, or a crumb\n\t\t * that names an href rather than a path, keeps the browser's own\n\t\t * behaviour.\n\t\t *\n\t\t * @param {MouseEvent} event The click.\n\t\t * @param {string} path The target path.\n\t\t * @return {void}\n\t\t */\n\t\tonCrumbClick(event, path) {\n\t\t\tif (!path || !this.$router || event.ctrlKey || event.metaKey || event.shiftKey || event.button === 1) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tevent.preventDefault()\n\t\t\tthis.$router.push(path).catch(() => {})\n\t\t},\n\n\t\t/**\n\t\t * Switch the flow on or off. The change is saved with the flow.\n\t\t *\n\t\t * @param {boolean} on The new state.\n\t\t * @return {void}\n\t\t */\n\t\tonEnabledChange(on) {\n\t\t\tthis.store.flow.enabled = on === true\n\t\t\tthis.store.dirty = true\n\t\t},\n\n\t\t/**\n\t\t * Open a run of this flow on the canvas.\n\t\t *\n\t\t * @param {string} uuid The run.\n\t\t * @return {void}\n\t\t */\n\t\topenRun(uuid) {\n\t\t\tif (this.$router) {\n\t\t\t\tthis.$router.push({ path: this.flowPath, query: { run: uuid } }).catch(() => {})\n\t\t\t} else {\n\t\t\t\tthis.store.inspectRun(uuid)\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Write the step name field's typing to the selected step when the\n\t\t * field is left.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {void}\n\t\t */\n\t\tcommitStepName() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tconst name = this.nameDraft\n\t\t\tthis.nameDraft = null\n\t\t\tif (!id || name === null || name === this.stepName) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.store.setNodeName(id, name)\n\t\t},\n\n\t\t/**\n\t\t * Leave the run for the flow with the step of the run tab selected.\n\t\t *\n\t\t * @spec openspec/changes/flow-board-canvas-chrome/specs/flow-board/spec.md#requirement-the-canvas-inspector-and-run-panel-read-as-the-boards-draw-them\n\t\t * @return {void}\n\t\t */\n\t\tonEditRunStep() {\n\t\t\tconst id = this.store.selectedNodeId\n\t\t\tthis.onBackToFlow()\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tthis.store.selectedNodeId = id\n\t\t\t})\n\t\t},\n\n\t\t/**\n\t\t * Leave the run view for the flow.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tonBackToFlow() {\n\t\t\tthis.store.closeRun()\n\t\t\tif (this.$router) {\n\t\t\t\tthis.$router.push({ path: this.flowPath }).catch(() => {})\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Start the shown run again and open the new one.\n\t\t *\n\t\t * @return {Promise<void>}\n\t\t */\n\t\tasync onRetry() {\n\t\t\tconst retried = await this.store.retryRun(this.runRecord?.uuid)\n\t\t\tthis.$emit('retried', retried)\n\t\t\tif (retried && retried.uuid) {\n\t\t\t\tthis.openRun(retried.uuid)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n/* The board page's padding, so the title stands where every board page puts it (DqFlow). */\n.cn-flow-board {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\tpadding: var(--cn-board-content-padding, 24px 28px);\n\tmin-height: 100%;\n\tbox-sizing: border-box;\n}\n\n.cn-flow-board__header {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\tgap: 12px;\n}\n\n.cn-flow-board__heading {\n\tdisplay: flex;\n\talign-items: center;\n\tgap: 10px;\n\tmin-width: 0;\n}\n\n.cn-flow-board__title {\n\tmargin: 0;\n\tfont-size: 24px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__actions {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tgap: 8px;\n}\n\n/* Active as the board draws it: a 42x24 track with a white knob, its label\n beside it at 15/600 (DqFlow). */\n.cn-flow-board__toggle-row {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: 8px;\n}\n\n.cn-flow-board__toggle {\n\tposition: relative;\n\tflex: none;\n\twidth: 42px;\n\theight: 24px;\n\tmin-height: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tborder-radius: 12px;\n\tbackground: var(--color-border-maxcontrast);\n\tcursor: pointer;\n}\n\n.cn-flow-board__toggle::after {\n\tcontent: '';\n\tposition: absolute;\n\tinset-block-start: 3px;\n\tinset-inline-start: 3px;\n\twidth: 18px;\n\theight: 18px;\n\tborder-radius: 50%;\n\tbackground: var(--color-main-background);\n\ttransition: transform 0.15s ease;\n}\n\n.cn-flow-board__toggle[aria-checked='true'] {\n\tbackground: var(--color-primary-element);\n}\n\n.cn-flow-board__toggle[aria-checked='true']::after {\n\ttransform: translateX(18px);\n}\n\n.cn-flow-board__toggle:focus-visible {\n\toutline: 2px solid var(--color-primary-element);\n\toutline-offset: 2px;\n}\n\n.cn-flow-board__toggle-label {\n\tfont-size: 15px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__test-intro {\n\tmargin: 0 0 12px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__path {\n\tmargin: 0;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__pill {\n\tmargin-inline-end: 10px;\n}\n\n.cn-flow-board__crumb {\n\tcolor: var(--color-main-text);\n\ttext-decoration: underline;\n}\n\n.cn-flow-board__body {\n\tdisplay: grid;\n\tgrid-template-columns: minmax(0, 1fr) 340px;\n\tgap: 16px;\n\tflex: 1 1 auto;\n\tmin-height: 520px;\n}\n\n/* Palette, canvas and inspector at 220 / rest / 280 (DqFlow). */\n.cn-flow-board--with-palette .cn-flow-board__body {\n\tgrid-template-columns: 220px minmax(0, 1fr) 280px;\n}\n\n.cn-flow-board__card {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\tmin-width: 0;\n\tpadding: 16px;\n\tborder: 1px solid var(--color-border);\n\tborder-radius: 12px;\n\tbackground: var(--color-main-background);\n}\n\n/* The canvas is the white card with the dot grid; the palette beside it sits\n on the page ground (DqFlow). */\n.cn-flow-board__canvas {\n\tpadding: 0;\n\toverflow: hidden;\n\tbackground-color: var(--color-main-background);\n\tbackground-image: radial-gradient(var(--color-border) 1px, transparent 1px);\n\tbackground-size: 16px 16px;\n}\n\n.cn-flow-board__palette {\n\tgap: 14px;\n\tpadding: 14px;\n\tbackground: transparent;\n}\n\n.cn-flow-board__canvas > :first-child {\n\tflex: 1 1 auto;\n\tmin-height: 0;\n}\n\n.cn-flow-board__card-title {\n\tmargin: 0;\n\tfont-size: 16px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__subtitle {\n\tmargin: 4px 0 0;\n\tfont-size: 14px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__step-type {\n\talign-self: flex-start;\n}\n\n.cn-flow-board__validity,\n.cn-flow-board__legend {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n\tmargin: 0;\n\tpadding: 10px 16px;\n\tborder-top: 1px solid var(--color-border);\n\tbackground: var(--color-main-background);\n}\n\n.cn-flow-board__validity--success {\n\tcolor: var(--color-success-text);\n}\n\n.cn-flow-board__validity--warning {\n\tcolor: var(--color-warning-text);\n}\n\n.cn-flow-board__validity--error {\n\tcolor: var(--color-error-text);\n}\n\n.cn-flow-board__palette-group {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 6px;\n}\n\n/* The providing app as a small caps label, no title row above the groups. */\n.cn-flow-board__palette-app {\n\tmargin: 0;\n\tcolor: var(--color-text-maxcontrast);\n\tfont-size: 12px;\n\tfont-weight: 600;\n\tletter-spacing: 0.06em;\n\ttext-transform: uppercase;\n}\n\n.cn-flow-board__palette-list {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 6px;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n\n/* A step is a plain 400 label (DqFlow \"Status zetten\"); the nldesign theme\n sets every button's weight with `!important` through its token. */\n.cn-flow-board__palette-step {\n\t--nldesign-component-button-font-weight: 400;\n\twidth: 100%;\n\tmin-height: 34px;\n\tpadding: 8px 10px;\n\tborder: 1px solid var(--color-border);\n\tborder-radius: 8px;\n\tbackground: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tfont-size: 14px;\n\tfont-weight: 400;\n\ttext-align: start;\n\tcursor: pointer;\n}\n\n.cn-flow-board__palette-step:hover {\n\tbackground: var(--color-background-hover);\n}\n\n/* The way to every other step under a curated palette, quiet beside the steps. */\n.cn-flow-board__palette-more {\n\talign-self: flex-start;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: none;\n\tcolor: var(--color-primary-element);\n\tfont-size: 14px;\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.cn-flow-board__palette-more:disabled {\n\tcolor: var(--color-text-maxcontrast);\n\tcursor: default;\n}\n\n.cn-flow-board__palette-note {\n\tmargin: 0;\n\tcolor: var(--color-text-maxcontrast);\n\tfont-size: 13px;\n}\n\n.cn-flow-board__tabs {\n\tdisplay: flex;\n\tgap: 4px;\n\tborder-bottom: 1px solid var(--color-border);\n}\n\n.cn-flow-board__tab {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: 6px;\n\tpadding: 8px 10px;\n\tmargin-bottom: -1px;\n\tborder: 1px solid transparent;\n\tborder-radius: 8px 8px 0 0;\n\tbackground: transparent;\n\tcolor: var(--color-main-text);\n\tcursor: pointer;\n}\n\n.cn-flow-board__tab--active {\n\tborder-color: var(--color-border);\n\tborder-bottom-color: var(--color-main-background);\n\tfont-weight: 600;\n}\n\n.cn-flow-board__tab-count {\n\tmin-width: 18px;\n\tpadding: 0 5px;\n\tborder-radius: 9px;\n\tbackground: var(--color-background-dark);\n\tfont-size: 12px;\n\tline-height: 18px;\n\ttext-align: center;\n}\n\n.cn-flow-board__settings {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 10px;\n\tmargin: 0;\n}\n\n.cn-flow-board__setting :deep(.input-field),\n.cn-flow-board__setting :deep(.v-select) {\n\tmargin: 0;\n}\n\n/* Where the step goes next: \"Ja Deelzaak welstandsadvies\" (DqFlow). */\n.cn-flow-board__outcomes {\n\tdisplay: grid;\n\tgrid-template-columns: auto 1fr;\n\tgap: 6px 16px;\n\tmargin: 0;\n}\n\n.cn-flow-board__outcome {\n\tdisplay: contents;\n}\n\n.cn-flow-board__outcome dt {\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__outcome dd {\n\tmargin: 0;\n\tfont-weight: 600;\n\toverflow-wrap: anywhere;\n}\n\n.cn-flow-board__step-log summary {\n\tcursor: pointer;\n}\n\n.cn-flow-board__inspector-empty {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: flex-start;\n\tgap: 12px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__inspector-empty p {\n\tmargin: 0;\n}\n\n.cn-flow-board__step-actions,\n.cn-flow-board__step-footer {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n}\n\n.cn-flow-board__step-footer {\n\tjustify-content: space-between;\n\tmargin-top: auto;\n}\n\n/* ---- The canvas page (layout: canvas, PqFlow / PqFlowRun) --------------- */\n/* The title on its own line with the actions under it, the canvas on the\n page ground without a frame, and the inspector and run card floating over\n it. */\n.cn-flow-board--canvas {\n\tbackground-color: color-mix(in srgb, var(--color-background-hover) 40%, var(--color-main-background));\n\tbackground-image: radial-gradient(var(--color-border) 1px, transparent 1px);\n\tbackground-size: 16px 16px;\n}\n\n.cn-flow-board--canvas .cn-flow-board__header {\n\tflex-direction: column;\n\talign-items: flex-start;\n}\n\n.cn-flow-board__run-pills {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n\tmargin: 0;\n}\n\n.cn-flow-board--canvas .cn-flow-board__body {\n\tposition: relative;\n\tdisplay: block;\n\tmin-height: 640px;\n}\n\n/* The canvas fills the body: a definite box, so the graph canvas inside\n (height: 100%) and Vue Flow's pane measure a real height instead of\n collapsing to their minimum. */\n.cn-flow-board--canvas .cn-flow-board__canvas {\n\tposition: absolute;\n\tinset: 0;\n\tborder: 0;\n\tborder-radius: 0;\n\tbackground: transparent;\n\toverflow: visible;\n}\n\n.cn-flow-board--canvas .cn-flow-board__canvas :deep(.cn-flow-detail__toolbar) {\n\tinset-inline-start: 0;\n\tinset-inline-end: auto;\n\tinset-block-start: 0;\n\tpadding: 6px 8px;\n\tborder-radius: 12px;\n\tbox-shadow: 0 4px 16px rgba(27, 28, 29, 0.12);\n}\n\n/* In a run the run card holds the top, so the toolbar and the outcome\n legend stand at the foot of the canvas (PqFlowRun). */\n.cn-flow-board--canvas.cn-flow-board--run .cn-flow-board__canvas :deep(.cn-flow-detail__toolbar) {\n\tinset-block-start: auto;\n\tinset-block-end: 0;\n}\n\n/* In a run the canvas toolbar is the legend card: \"Outcome per step\", the\n outcome pills and the routes, then the zoom and the side panel toggle,\n beside the corner controls (PqFlowRun). */\n.cn-flow-board--canvas.cn-flow-board--run .cn-flow-board__canvas :deep(.cn-flow-detail__toolbar) {\n\tinset-inline-start: 48px;\n\tmax-width: calc(100% - 48px);\n\tflex-wrap: wrap;\n\tgap: 8px 14px;\n\tpadding: 6px 12px;\n}\n\n.cn-flow-board__legend-card {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tgap: 8px 14px;\n\tflex: 1 1 auto;\n\tmin-width: 0;\n}\n\n.cn-flow-board__legend-title {\n\tfont-size: 13px;\n\tfont-weight: 600;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__legend-list {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 8px;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n\n.cn-flow-board__legend-card .cn-flow-board__legend-item {\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n.cn-flow-board__legend-pill,\n.cn-flow-board__legend-route {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: 6px;\n\theight: 28px;\n\tbox-sizing: border-box;\n\tpadding: 0 10px;\n\tborder-radius: 14px;\n\tfont-size: 13px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__legend-swatch {\n\tflex: none;\n\twidth: 12px;\n\theight: 12px;\n\tborder-radius: 3px;\n\tbackground: currentColor;\n}\n\n.cn-flow-board__legend-route {\n\tborder: 1px solid var(--color-border);\n\tbackground: var(--color-main-background);\n\tcolor: var(--color-main-text);\n}\n\n.cn-flow-board__legend-route--muted {\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__legend-line {\n\tflex: none;\n\twidth: 18px;\n\theight: 2px;\n\tbackground: var(--color-border-dark, var(--color-text-maxcontrast));\n}\n\n.cn-flow-board__legend-line--taken {\n\theight: 5px;\n\tborder-radius: 3px;\n\tbackground: var(--color-success, #1e6b2a);\n}\n\n/* The canvas corner controls as outlined white buttons (PqFlow, PqFlowRun). */\n.cn-flow-board--canvas .cn-flow-board__canvas :deep(.cn-graph-canvas__controls) {\n\tgap: 6px;\n}\n\n.cn-flow-board--canvas .cn-flow-board__canvas :deep(.cn-graph-canvas__controls .cn-graph-canvas__control) {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 34px;\n\theight: 34px;\n\tpadding: 0;\n\tborder: 1px solid var(--color-border-maxcontrast, #828a95);\n\tborder-radius: 8px;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 1px 2px rgba(27, 28, 29, 0.08);\n}\n\n/* In a run the title and its buildiq and More stand on one row (PqFlowRun). */\n.cn-flow-board--canvas.cn-flow-board--run .cn-flow-board__header {\n\tflex-direction: row;\n\tjustify-content: space-between;\n\talign-items: flex-start;\n}\n\n/* More: the label first, the chevron after it. */\n.cn-flow-board__more :deep(.button-vue__wrapper) {\n\tflex-direction: row-reverse;\n}\n\n.cn-flow-board__validity-pill {\n\tmargin-inline: 4px;\n}\n\n.cn-flow-board--canvas .cn-flow-board__inspector {\n\tposition: absolute;\n\tinset-block-start: 0;\n\tinset-inline-end: 0;\n\tz-index: 11;\n\twidth: 346px;\n\tmax-width: 100%;\n\tmax-height: 100%;\n\tbox-sizing: border-box;\n\toverflow-y: auto;\n\tbox-shadow: 0 4px 16px rgba(27, 28, 29, 0.12);\n}\n\n.cn-flow-board__inspector-close {\n\talign-self: flex-end;\n\tmargin: -8px -8px -4px 0;\n}\n\n.cn-flow-board--canvas .cn-flow-board__run-card {\n\tposition: absolute;\n\tinset-block-start: 0;\n\tinset-inline-start: 0;\n\tz-index: 11;\n\twidth: min(746px, 100%);\n\tbox-sizing: border-box;\n\tgap: 10px;\n\tpadding: 12px 18px 12px 22px;\n\tborder: 1px solid var(--color-border);\n\tborder-radius: 12px;\n\tbackground: var(--color-main-background);\n\tbox-shadow: inset 4px 0 0 var(--cn-flow-run-tone, var(--color-border-dark)), 0 4px 16px rgba(27, 28, 29, 0.12);\n}\n\n/* The run card's stripe takes the run's tone (PqFlowRun). */\n.cn-flow-board__run-card--success {\n\t--cn-flow-run-tone: var(--color-success, #1e6b2a);\n}\n\n.cn-flow-board__run-card--warning {\n\t--cn-flow-run-tone: var(--color-warning, #a37200);\n}\n\n.cn-flow-board__run-card--error {\n\t--cn-flow-run-tone: var(--color-error, #c00);\n}\n\n.cn-flow-board__run-card--info {\n\t--cn-flow-run-tone: var(--color-info, var(--color-primary-element));\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__head .cn-status-badge) {\n\tgap: 4px;\n\tmin-height: 25px;\n\tbox-sizing: border-box;\n\tfont-size: 14px;\n\tfont-weight: 700;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__title) {\n\tfont-size: 15px;\n\tfont-weight: 700;\n\tline-height: 18px;\n}\n\n/* The facts in one row, each label over its value, from the start. */\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__facts) {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px 28px;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__fact) {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 2px;\n\ttext-align: start;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__fact dt) {\n\tfont-size: 12px;\n\tline-height: 16px;\n}\n\n.cn-flow-board__run-card :deep(.cn-flow-run-summary__fact dd) {\n\tfont-size: 14px;\n\tline-height: 18px;\n}\n\n/* The side panel toggle, pressed while the panel is open: tonal. */\n.cn-flow-board .cn-flow-board__panel-toggle[aria-pressed='true'] {\n\tbackground-color: var(--color-primary-element-light);\n\tcolor: var(--color-primary-element-light-text);\n}\n\n/* The canvas inspector (PqFlow): the kind over the name with the close beside\n it, help under a setting, an on/off setting as a grey card, the log open\n under a rule and a red delete. */\n.cn-flow-board__step-head {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tgap: 10px;\n}\n\n.cn-flow-board__step-heading {\n\tdisplay: flex;\n\tflex: 1 1 auto;\n\tflex-direction: column;\n\tgap: 4px;\n\tmin-width: 0;\n}\n\n.cn-flow-board__step-kind {\n\tfont-size: 13px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__step-head .cn-flow-board__card-title {\n\tfont-size: 17px;\n}\n\n.cn-flow-board__setting-help {\n\tfont-size: 12px;\n\tline-height: 1.4;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__setting--card {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tgap: 10px;\n\tpadding: 10px 12px;\n\tborder-radius: 8px;\n\tbackground: var(--color-background-hover);\n}\n\n.cn-flow-board__setting-text {\n\tdisplay: flex;\n\tflex: 1 1 auto;\n\tflex-direction: column;\n\tgap: 3px;\n}\n\n.cn-flow-board__setting-label {\n\tfont-size: 14px;\n\tfont-weight: 600;\n}\n\n.cn-flow-board__step-log--open {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n\tpadding-top: 12px;\n\tborder-top: 1px solid var(--color-border);\n}\n\n.cn-flow-board__step-log--open .cn-flow-board__subtitle {\n\tmargin: 0;\n\tfont-size: 14px;\n\tfont-weight: 700;\n\tcolor: var(--color-main-text);\n}\n\n.cn-flow-board__step-log-link {\n\tfont-size: 13px;\n\tfont-weight: 600;\n\tcolor: var(--color-primary-element);\n\ttext-decoration: underline;\n}\n\n.cn-flow-board__step-footer .cn-flow-board__delete-step {\n\tcolor: var(--color-error-text, var(--color-error));\n}\n\n/* The run's step tab (PqFlowRun): tabs across the panel, the step head, the\n continue-on-error note and the edit and play buttons. */\n.cn-flow-board--canvas .cn-flow-board__tab {\n\tflex: 1 1 auto;\n\tjustify-content: center;\n}\n\n.cn-flow-board__run-step {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 4px;\n\tpadding-bottom: 10px;\n\tborder-bottom: 1px solid var(--color-border);\n}\n\n.cn-flow-board__run-step-meta {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: center;\n\tgap: 8px;\n\tmargin: 0;\n\tfont-size: 13px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__run-step-note {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tgap: 8px;\n\tmargin: 0;\n\tpadding-top: 10px;\n\tborder-top: 1px solid var(--color-border);\n\tfont-size: 13px;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-board__run-step-actions {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: flex-start;\n\tgap: 8px;\n}\n\n@media (max-width: 1024px) {\n\t.cn-flow-board__body,\n\t.cn-flow-board--with-palette .cn-flow-board__body {\n\t\tgrid-template-columns: minmax(0, 1fr);\n\t}\n}\n</style>\n"],"names":["_createElementBlock","_normalizeClass","_createElementVNode","_toDisplayString","_createVNode","_createTextVNode","_createBlock","_Fragment","_openBlock","_renderList","_withKeys","_withModifiers"],"mappings":";;AA4BU,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,uBAAc,GAAA;AACtB,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,wBAAE,GAAA;;AACT,EAAA,KAAM,EAAC,sBAAM;AAAA,EAAA,aAAA,EAAA,kBAAA;;;;AAID,EAAA,KAAA,EAAA,wBAAA;;;;AAWa,EAAA,KAAG,EAAA,2BAAA;AAAA,EAAA,aAAA,EAAA,oBAAA;;;;AAqF7B,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,2BAAkB,GAAA;;;AAuB1B,EAAA,KAAI,EAAC,0BAAc;AACnB,EAAA,aAAU,EAAC,sBAAK;;;AAKf,EAAA,KA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