@powerhousedao/workflow 6.2.3-dev.24 → 6.2.3-dev.26

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 (308) hide show
  1. package/README.md +37 -0
  2. package/dist/browser/BlockSelector-QQgOCVH3.js +1355 -0
  3. package/dist/browser/BlockSelector-QQgOCVH3.js.map +1 -0
  4. package/dist/browser/{PieceMarkdown-CZYNY1qQ.js → PieceMarkdown-C8Gv88TV.js} +139 -105
  5. package/dist/browser/PieceMarkdown-C8Gv88TV.js.map +1 -0
  6. package/dist/browser/assets/{entry-CSJBrcX5.js → entry-DhaRsTID.js} +2 -3
  7. package/dist/browser/assets/{projection-entry-D67cdPsg.js → projection-entry-qrF_MLsE.js} +7 -13
  8. package/dist/browser/{connection-DEe5aDuU.js → connection-BUum0hJI.js} +2 -2
  9. package/dist/browser/{connection-DEe5aDuU.js.map → connection-BUum0hJI.js.map} +1 -1
  10. package/dist/browser/connection-form-XKR4zQgQ.js +533 -0
  11. package/dist/browser/connection-form-XKR4zQgQ.js.map +1 -0
  12. package/dist/browser/data-tree-DKrDFeQg.js +1896 -0
  13. package/dist/browser/data-tree-DKrDFeQg.js.map +1 -0
  14. package/dist/browser/document-models/connection/index.js +2 -2
  15. package/dist/browser/document-models/index.js +3 -3
  16. package/dist/browser/document-models/workflow/index.js +2 -2
  17. package/dist/browser/{document-models-BYheX-te.js → document-models-C6ebrsd9.js} +3 -3
  18. package/dist/browser/{document-models-BYheX-te.js.map → document-models-C6ebrsd9.js.map} +1 -1
  19. package/dist/browser/editor-C_E_JTp6.js +257 -0
  20. package/dist/browser/editor-C_E_JTp6.js.map +1 -0
  21. package/dist/browser/{editor-D0sdUxJa.js → editor-YZw296bf.js} +3348 -1610
  22. package/dist/browser/editor-YZw296bf.js.map +1 -0
  23. package/dist/browser/editor-fjwq-8Yq.js +1527 -0
  24. package/dist/browser/editor-fjwq-8Yq.js.map +1 -0
  25. package/dist/browser/editors/connection-editor/module.js +1 -1
  26. package/dist/browser/editors/connection-editor/module.js.map +1 -1
  27. package/dist/browser/editors/workflow-editor/module.js +1 -1
  28. package/dist/browser/editors/workflow-editor/module.js.map +1 -1
  29. package/dist/browser/editors/workflow-studio/module.js +1 -1
  30. package/dist/browser/editors/workflow-studio/module.js.map +1 -1
  31. package/dist/browser/index.js +7 -5
  32. package/dist/browser/index.js.map +1 -1
  33. package/dist/browser/{module-CYQnNZWl.js → module-Bkms70LV.js} +3 -3
  34. package/dist/browser/{module-CYQnNZWl.js.map → module-Bkms70LV.js.map} +1 -1
  35. package/dist/{node/module-IA-Ay7ig.mjs → browser/module-jDZ4pq3W.js} +2 -2
  36. package/dist/browser/{module-12vI18HY.js.map → module-jDZ4pq3W.js.map} +1 -1
  37. package/dist/browser/piece-auth-Z4mZEOtL.js +113 -0
  38. package/dist/browser/piece-auth-Z4mZEOtL.js.map +1 -0
  39. package/dist/browser/reactor/index.js +2 -2
  40. package/dist/browser/{chunk-BoAXSpZd.js → rolldown-runtime-DC62tzP2.js} +2 -2
  41. package/dist/browser/{runtime-api-DKlnn45K.js → runtime-api-xwvg5PzA.js} +40 -123
  42. package/dist/browser/runtime-api-xwvg5PzA.js.map +1 -0
  43. package/dist/browser/style.css +26 -0
  44. package/dist/browser/trigger-text-CdNxQOHw.js +551 -0
  45. package/dist/browser/trigger-text-CdNxQOHw.js.map +1 -0
  46. package/dist/browser/upgrade-manifests-BLrv3cf2.js +8 -0
  47. package/dist/browser/{upgrade-manifests-Cnpfo6kC.js.map → upgrade-manifests-BLrv3cf2.js.map} +1 -1
  48. package/dist/browser/{workflow-CFZUezoY.js → workflow-CGtVlhr8.js} +2 -2
  49. package/dist/browser/{workflow-CFZUezoY.js.map → workflow-CGtVlhr8.js.map} +1 -1
  50. package/dist/node/BlockSelector-COZm6-ev.mjs +1355 -0
  51. package/dist/node/BlockSelector-COZm6-ev.mjs.map +1 -0
  52. package/dist/node/{PieceMarkdown-D9nI2gI2.mjs → PieceMarkdown-DIxZY5aG.mjs} +132 -100
  53. package/dist/node/PieceMarkdown-DIxZY5aG.mjs.map +1 -0
  54. package/dist/node/{connection-DGsS2Db3.mjs → connection-D544oqVW.mjs} +2 -2
  55. package/dist/node/{connection-DGsS2Db3.mjs.map → connection-D544oqVW.mjs.map} +1 -1
  56. package/dist/node/connection-form-BLduFusc.mjs +533 -0
  57. package/dist/node/connection-form-BLduFusc.mjs.map +1 -0
  58. package/dist/node/data-tree-CmiGqG7C.mjs +1903 -0
  59. package/dist/node/data-tree-CmiGqG7C.mjs.map +1 -0
  60. package/dist/node/document-models/connection/index.mjs +2 -2
  61. package/dist/node/document-models/index.mjs +3 -3
  62. package/dist/node/document-models/workflow/index.mjs +2 -2
  63. package/dist/node/{editor-sVzt1o51.mjs → editor-B2ZoeGue.mjs} +3200 -1508
  64. package/dist/node/editor-B2ZoeGue.mjs.map +1 -0
  65. package/dist/node/editor-CN4PEGrW.mjs +257 -0
  66. package/dist/node/editor-CN4PEGrW.mjs.map +1 -0
  67. package/dist/node/editor-CyNBEKoj.mjs +1527 -0
  68. package/dist/node/editor-CyNBEKoj.mjs.map +1 -0
  69. package/dist/node/editors/connection-editor/module.mjs +1 -1
  70. package/dist/node/editors/connection-editor/module.mjs.map +1 -1
  71. package/dist/node/editors/workflow-editor/module.mjs +1 -1
  72. package/dist/node/editors/workflow-editor/module.mjs.map +1 -1
  73. package/dist/node/editors/workflow-studio/module.mjs +1 -1
  74. package/dist/node/editors/workflow-studio/module.mjs.map +1 -1
  75. package/dist/node/index.mjs +8 -6
  76. package/dist/node/index.mjs.map +1 -1
  77. package/dist/{browser/module-12vI18HY.js → node/module-BMwJQh65.mjs} +2 -2
  78. package/dist/node/{module-IA-Ay7ig.mjs.map → module-BMwJQh65.mjs.map} +1 -1
  79. package/dist/node/{module-IRMgzJC1.mjs → module-DuxxhgKs.mjs} +3 -3
  80. package/dist/node/{module-IRMgzJC1.mjs.map → module-DuxxhgKs.mjs.map} +1 -1
  81. package/dist/node/piece-auth-Z4mZEOtL.mjs +113 -0
  82. package/dist/node/piece-auth-Z4mZEOtL.mjs.map +1 -0
  83. package/dist/node/pieces/index.mjs.map +1 -1
  84. package/dist/node/pieces/reactor/index.mjs +226 -488
  85. package/dist/node/pieces/reactor/index.mjs.map +1 -1
  86. package/dist/node/{chunk-BSw8zbkd.mjs → rolldown-runtime-BMI-E3GI.mjs} +11 -4
  87. package/dist/node/{runtime-api-CtvvFHut.mjs → runtime-api-xwvg5PzA.mjs} +40 -123
  88. package/dist/node/runtime-api-xwvg5PzA.mjs.map +1 -0
  89. package/dist/node/style.css +26 -0
  90. package/dist/node/trigger-text-qj_U3Qzd.mjs +551 -0
  91. package/dist/node/trigger-text-qj_U3Qzd.mjs.map +1 -0
  92. package/dist/node/upgrade-manifests-C1sl_M-H.mjs +8 -0
  93. package/dist/node/{upgrade-manifests-3VN0Bfcf.mjs.map → upgrade-manifests-C1sl_M-H.mjs.map} +1 -1
  94. package/dist/node/{workflow-fFvyypuu.mjs → workflow-C-uuQPnf.mjs} +2 -2
  95. package/dist/node/{workflow-fFvyypuu.mjs.map → workflow-C-uuQPnf.mjs.map} +1 -1
  96. package/dist/style.css +927 -252
  97. package/dist/types/document-models/connection/upgrades/versions.d.ts.map +1 -1
  98. package/dist/types/document-models/connection/v1/actions.d.ts +6 -10
  99. package/dist/types/document-models/connection/v1/actions.d.ts.map +1 -1
  100. package/dist/types/document-models/connection/v1/gen/config/creators.d.ts.map +1 -1
  101. package/dist/types/document-models/connection/v1/gen/config/error.d.ts.map +1 -1
  102. package/dist/types/document-models/connection/v1/gen/connection/creators.d.ts.map +1 -1
  103. package/dist/types/document-models/connection/v1/gen/health/creators.d.ts.map +1 -1
  104. package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts.map +1 -1
  105. package/dist/types/document-models/connection/v1/module.d.ts +6 -10
  106. package/dist/types/document-models/connection/v1/module.d.ts.map +1 -1
  107. package/dist/types/document-models/connection/v1/tests/document-model.test.d.ts +0 -8
  108. package/dist/types/document-models/connection/v1/tests/document-model.test.d.ts.map +1 -1
  109. package/dist/types/document-models/document-models.d.ts +15 -23
  110. package/dist/types/document-models/document-models.d.ts.map +1 -1
  111. package/dist/types/document-models/workflow/upgrades/versions.d.ts.map +1 -1
  112. package/dist/types/document-models/workflow/v1/actions.d.ts +9 -13
  113. package/dist/types/document-models/workflow/v1/actions.d.ts.map +1 -1
  114. package/dist/types/document-models/workflow/v1/gen/edges/creators.d.ts.map +1 -1
  115. package/dist/types/document-models/workflow/v1/gen/edges/error.d.ts.map +1 -1
  116. package/dist/types/document-models/workflow/v1/gen/policy/creators.d.ts.map +1 -1
  117. package/dist/types/document-models/workflow/v1/gen/runtime/creators.d.ts.map +1 -1
  118. package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts.map +1 -1
  119. package/dist/types/document-models/workflow/v1/gen/steps/creators.d.ts.map +1 -1
  120. package/dist/types/document-models/workflow/v1/gen/steps/error.d.ts.map +1 -1
  121. package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts.map +1 -1
  122. package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts.map +1 -1
  123. package/dist/types/document-models/workflow/v1/gen/variables/creators.d.ts.map +1 -1
  124. package/dist/types/document-models/workflow/v1/gen/variables/error.d.ts.map +1 -1
  125. package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts.map +1 -1
  126. package/dist/types/document-models/workflow/v1/module.d.ts +9 -13
  127. package/dist/types/document-models/workflow/v1/module.d.ts.map +1 -1
  128. package/dist/types/document-models/workflow/v1/tests/document-model.test.d.ts +0 -8
  129. package/dist/types/document-models/workflow/v1/tests/document-model.test.d.ts.map +1 -1
  130. package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts +2 -0
  131. package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts.map +1 -1
  132. package/dist/types/editors/connection-editor/UsedBy.d.ts +6 -0
  133. package/dist/types/editors/connection-editor/UsedBy.d.ts.map +1 -0
  134. package/dist/types/editors/connection-editor/connection-callbacks.d.ts.map +1 -1
  135. package/dist/types/editors/connection-editor/connection-callbacks.test.d.ts +2 -0
  136. package/dist/types/editors/connection-editor/connection-callbacks.test.d.ts.map +1 -0
  137. package/dist/types/editors/connection-editor/connection-form.d.ts +5 -1
  138. package/dist/types/editors/connection-editor/connection-form.d.ts.map +1 -1
  139. package/dist/types/editors/connection-editor/connection-usage.d.ts.map +1 -0
  140. package/dist/types/editors/connection-editor/connection-usage.test.d.ts.map +1 -0
  141. package/dist/types/editors/connection-editor/editor.d.ts.map +1 -1
  142. package/dist/types/editors/connection-editor/piece-auth.d.ts +2 -0
  143. package/dist/types/editors/connection-editor/piece-auth.d.ts.map +1 -1
  144. package/dist/types/editors/connection-editor/status.d.ts +3 -1
  145. package/dist/types/editors/connection-editor/status.d.ts.map +1 -1
  146. package/dist/types/editors/shared/DocumentErrorBoundary.d.ts.map +1 -1
  147. package/dist/types/editors/shared/controls.d.ts +98 -0
  148. package/dist/types/editors/shared/controls.d.ts.map +1 -0
  149. package/dist/types/editors/shared/data-tree.d.ts +5 -0
  150. package/dist/types/editors/shared/data-tree.d.ts.map +1 -0
  151. package/dist/types/editors/shared/data-viewer.d.ts +7 -0
  152. package/dist/types/editors/shared/data-viewer.d.ts.map +1 -0
  153. package/dist/types/editors/shared/editor-chrome.d.ts +7 -0
  154. package/dist/types/editors/shared/editor-chrome.d.ts.map +1 -0
  155. package/dist/types/editors/shared/icons.d.ts +36 -0
  156. package/dist/types/editors/shared/icons.d.ts.map +1 -0
  157. package/dist/types/editors/workflow-editor/editor.d.ts.map +1 -1
  158. package/dist/types/editors/workflow-editor/runtime-api.d.ts +2 -0
  159. package/dist/types/editors/workflow-editor/runtime-api.d.ts.map +1 -1
  160. package/dist/types/editors/workflow-editor/ui/ActionListEditor.d.ts.map +1 -1
  161. package/dist/types/editors/workflow-editor/ui/Autocomplete.d.ts +1 -0
  162. package/dist/types/editors/workflow-editor/ui/Autocomplete.d.ts.map +1 -1
  163. package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts +1 -0
  164. package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts.map +1 -1
  165. package/dist/types/editors/workflow-editor/ui/ConnectionField.d.ts.map +1 -1
  166. package/dist/types/editors/workflow-editor/ui/CreateConnectionModal.d.ts +1 -1
  167. package/dist/types/editors/workflow-editor/ui/CreateConnectionModal.d.ts.map +1 -1
  168. package/dist/types/editors/workflow-editor/ui/ExpressionPicker.d.ts.map +1 -1
  169. package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts.map +1 -1
  170. package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
  171. package/dist/types/editors/workflow-editor/ui/ScheduleBuilder.d.ts +5 -0
  172. package/dist/types/editors/workflow-editor/ui/ScheduleBuilder.d.ts.map +1 -0
  173. package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts +1 -0
  174. package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
  175. package/dist/types/editors/workflow-editor/ui/WorkflowCanvas.d.ts.map +1 -1
  176. package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts +3 -0
  177. package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts.map +1 -1
  178. package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts.map +1 -1
  179. package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts +1 -0
  180. package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts.map +1 -1
  181. package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts.map +1 -1
  182. package/dist/types/editors/workflow-editor/ui/block-meta.d.ts +6 -0
  183. package/dist/types/editors/workflow-editor/ui/block-meta.d.ts.map +1 -1
  184. package/dist/types/editors/workflow-editor/ui/connection-create.d.ts +1 -1
  185. package/dist/types/editors/workflow-editor/ui/connection-create.d.ts.map +1 -1
  186. package/dist/types/editors/workflow-editor/ui/forms.d.ts +14 -0
  187. package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
  188. package/dist/types/editors/workflow-editor/ui/model.test.d.ts +2 -0
  189. package/dist/types/editors/workflow-editor/ui/model.test.d.ts.map +1 -0
  190. package/dist/types/editors/workflow-editor/ui/schedule-draft.d.ts +35 -0
  191. package/dist/types/editors/workflow-editor/ui/schedule-draft.d.ts.map +1 -0
  192. package/dist/types/editors/workflow-editor/ui/schedule-draft.test.d.ts +2 -0
  193. package/dist/types/editors/workflow-editor/ui/schedule-draft.test.d.ts.map +1 -0
  194. package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts +9 -0
  195. package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts.map +1 -0
  196. package/dist/types/editors/workflow-editor/ui/trigger-text.test.d.ts +2 -0
  197. package/dist/types/editors/workflow-editor/ui/trigger-text.test.d.ts.map +1 -0
  198. package/dist/types/editors/workflow-editor/ui/validation.d.ts.map +1 -1
  199. package/dist/types/editors/workflow-studio/components/RunsTable.d.ts +2 -0
  200. package/dist/types/editors/workflow-studio/components/RunsTable.d.ts.map +1 -1
  201. package/dist/types/editors/workflow-studio/components/RunsTable.test.d.ts +2 -0
  202. package/dist/types/editors/workflow-studio/components/RunsTable.test.d.ts.map +1 -0
  203. package/dist/types/editors/workflow-studio/components/RunsView.d.ts.map +1 -1
  204. package/dist/types/editors/workflow-studio/components/Sidebar.d.ts +1 -1
  205. package/dist/types/editors/workflow-studio/components/Sidebar.d.ts.map +1 -1
  206. package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts +8 -0
  207. package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts.map +1 -0
  208. package/dist/types/editors/workflow-studio/components/WorkflowHeader.d.ts.map +1 -1
  209. package/dist/types/editors/workflow-studio/components/WorkflowSteps.d.ts.map +1 -1
  210. package/dist/types/editors/workflow-studio/components/WorkflowStudio.d.ts.map +1 -1
  211. package/dist/types/editors/workflow-studio/components/chain.d.ts +18 -0
  212. package/dist/types/editors/workflow-studio/components/chain.d.ts.map +1 -0
  213. package/dist/types/editors/workflow-studio/components/run-format.d.ts +29 -6
  214. package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
  215. package/dist/types/editors/workflow-studio/components/run-format.test.d.ts +2 -0
  216. package/dist/types/editors/workflow-studio/components/run-format.test.d.ts.map +1 -0
  217. package/dist/types/editors/workflow-studio/components/run-timeline.test.d.ts +2 -0
  218. package/dist/types/editors/workflow-studio/components/run-timeline.test.d.ts.map +1 -0
  219. package/dist/types/editors/workflow-studio/components/ui.d.ts +20 -0
  220. package/dist/types/editors/workflow-studio/components/ui.d.ts.map +1 -0
  221. package/dist/types/editors/workflow-studio/components/useRuns.d.ts +1 -1
  222. package/dist/types/editors/workflow-studio/components/useRuns.d.ts.map +1 -1
  223. package/dist/types/pieces/index.d.ts.map +1 -1
  224. package/dist/types/pieces/reactor/index.d.ts.map +1 -1
  225. package/dist/types/pieces/reactor/lib/reactor.d.ts.map +1 -1
  226. package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts +12 -12
  227. package/dist/types/playwright.config.d.ts +3 -0
  228. package/dist/types/playwright.config.d.ts.map +1 -0
  229. package/dist/types/scripts/ui-shots.d.ts +2 -0
  230. package/dist/types/scripts/ui-shots.d.ts.map +1 -0
  231. package/dist/types/scripts/ui-stack.d.ts +77 -0
  232. package/dist/types/scripts/ui-stack.d.ts.map +1 -0
  233. package/dist/types/test/ui/connection-editor.spec.d.ts +2 -0
  234. package/dist/types/test/ui/connection-editor.spec.d.ts.map +1 -0
  235. package/dist/types/test/ui/data-viewer.spec.d.ts +2 -0
  236. package/dist/types/test/ui/data-viewer.spec.d.ts.map +1 -0
  237. package/dist/types/test/ui/fixtures.d.ts +9 -0
  238. package/dist/types/test/ui/fixtures.d.ts.map +1 -0
  239. package/dist/types/test/ui/global-setup.d.ts +2 -0
  240. package/dist/types/test/ui/global-setup.d.ts.map +1 -0
  241. package/dist/types/test/ui/pieces.spec.d.ts +2 -0
  242. package/dist/types/test/ui/pieces.spec.d.ts.map +1 -0
  243. package/dist/types/test/ui/step-panel.spec.d.ts +2 -0
  244. package/dist/types/test/ui/step-panel.spec.d.ts.map +1 -0
  245. package/dist/types/test/ui/studio.spec.d.ts +2 -0
  246. package/dist/types/test/ui/studio.spec.d.ts.map +1 -0
  247. package/dist/types/vitest.config.d.ts.map +1 -1
  248. package/package.json +18 -12
  249. package/dist/browser/PieceMarkdown-CZYNY1qQ.js.map +0 -1
  250. package/dist/browser/ap-layout-BpKqIHQt.js +0 -337
  251. package/dist/browser/ap-layout-BpKqIHQt.js.map +0 -1
  252. package/dist/browser/connection-form-B1SkwNgY.js +0 -453
  253. package/dist/browser/connection-form-B1SkwNgY.js.map +0 -1
  254. package/dist/browser/editor-CCKpl-Gd.js +0 -1550
  255. package/dist/browser/editor-CCKpl-Gd.js.map +0 -1
  256. package/dist/browser/editor-CIZRPdKM.js +0 -134
  257. package/dist/browser/editor-CIZRPdKM.js.map +0 -1
  258. package/dist/browser/editor-D0sdUxJa.js.map +0 -1
  259. package/dist/browser/runtime-api-DKlnn45K.js.map +0 -1
  260. package/dist/browser/status-kpDX5CIA.js +0 -11
  261. package/dist/browser/status-kpDX5CIA.js.map +0 -1
  262. package/dist/browser/upgrade-manifests-Cnpfo6kC.js +0 -8
  263. package/dist/browser/use-runtime-url-By5q3sa_.js +0 -174
  264. package/dist/browser/use-runtime-url-By5q3sa_.js.map +0 -1
  265. package/dist/node/PieceMarkdown-D9nI2gI2.mjs.map +0 -1
  266. package/dist/node/ap-layout-Dzhi9JFC.mjs +0 -337
  267. package/dist/node/ap-layout-Dzhi9JFC.mjs.map +0 -1
  268. package/dist/node/connection-form-DejaNF09.mjs +0 -453
  269. package/dist/node/connection-form-DejaNF09.mjs.map +0 -1
  270. package/dist/node/editor-DfFRZS9L.mjs +0 -134
  271. package/dist/node/editor-DfFRZS9L.mjs.map +0 -1
  272. package/dist/node/editor-NbAB78He.mjs +0 -1550
  273. package/dist/node/editor-NbAB78He.mjs.map +0 -1
  274. package/dist/node/editor-sVzt1o51.mjs.map +0 -1
  275. package/dist/node/runtime-api-CtvvFHut.mjs.map +0 -1
  276. package/dist/node/status-CDRcDUMS.mjs +0 -11
  277. package/dist/node/status-CDRcDUMS.mjs.map +0 -1
  278. package/dist/node/upgrade-manifests-3VN0Bfcf.mjs +0 -8
  279. package/dist/node/use-runtime-url-BbFEkaZy.mjs +0 -174
  280. package/dist/node/use-runtime-url-BbFEkaZy.mjs.map +0 -1
  281. package/dist/types/document-models/connection/v1/tests/config.test.d.ts +0 -2
  282. package/dist/types/document-models/connection/v1/tests/config.test.d.ts.map +0 -1
  283. package/dist/types/document-models/connection/v1/tests/connection.test.d.ts +0 -2
  284. package/dist/types/document-models/connection/v1/tests/connection.test.d.ts.map +0 -1
  285. package/dist/types/document-models/connection/v1/tests/health.test.d.ts +0 -2
  286. package/dist/types/document-models/connection/v1/tests/health.test.d.ts.map +0 -1
  287. package/dist/types/document-models/workflow/v1/tests/edges.test.d.ts +0 -2
  288. package/dist/types/document-models/workflow/v1/tests/edges.test.d.ts.map +0 -1
  289. package/dist/types/document-models/workflow/v1/tests/policy.test.d.ts +0 -2
  290. package/dist/types/document-models/workflow/v1/tests/policy.test.d.ts.map +0 -1
  291. package/dist/types/document-models/workflow/v1/tests/runtime.test.d.ts +0 -2
  292. package/dist/types/document-models/workflow/v1/tests/runtime.test.d.ts.map +0 -1
  293. package/dist/types/document-models/workflow/v1/tests/steps.test.d.ts +0 -2
  294. package/dist/types/document-models/workflow/v1/tests/steps.test.d.ts.map +0 -1
  295. package/dist/types/document-models/workflow/v1/tests/trigger.test.d.ts +0 -2
  296. package/dist/types/document-models/workflow/v1/tests/trigger.test.d.ts.map +0 -1
  297. package/dist/types/document-models/workflow/v1/tests/variables.test.d.ts +0 -2
  298. package/dist/types/document-models/workflow/v1/tests/variables.test.d.ts.map +0 -1
  299. package/dist/types/document-models/workflow/v1/tests/workflow.test.d.ts +0 -2
  300. package/dist/types/document-models/workflow/v1/tests/workflow.test.d.ts.map +0 -1
  301. package/dist/types/editors/workflow-studio/components/ConnectionView.d.ts +0 -7
  302. package/dist/types/editors/workflow-studio/components/ConnectionView.d.ts.map +0 -1
  303. package/dist/types/editors/workflow-studio/components/EditorToolbar.d.ts +0 -8
  304. package/dist/types/editors/workflow-studio/components/EditorToolbar.d.ts.map +0 -1
  305. package/dist/types/editors/workflow-studio/components/connection-usage.d.ts.map +0 -1
  306. package/dist/types/editors/workflow-studio/components/connection-usage.test.d.ts.map +0 -1
  307. /package/dist/types/editors/{workflow-studio/components → connection-editor}/connection-usage.d.ts +0 -0
  308. /package/dist/types/editors/{workflow-studio/components → connection-editor}/connection-usage.test.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-BoAXSpZd.js";
1
+ import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./rolldown-runtime-DC62tzP2.js";
2
2
  import "react";
3
3
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
4
4
  //#endregion
@@ -1946,13 +1946,15 @@ var VFileMessage = class extends Error {
1946
1946
  /** @type {Options} */
1947
1947
  let options = {};
1948
1948
  let legacyCause = false;
1949
- if (optionsOrParentOrPlace) if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
1950
- else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
1951
- else if ("type" in optionsOrParentOrPlace) options = {
1952
- ancestors: [optionsOrParentOrPlace],
1953
- place: optionsOrParentOrPlace.position
1954
- };
1955
- else options = { ...optionsOrParentOrPlace };
1949
+ if (optionsOrParentOrPlace) {
1950
+ if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
1951
+ else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
1952
+ else if ("type" in optionsOrParentOrPlace) options = {
1953
+ ancestors: [optionsOrParentOrPlace],
1954
+ place: optionsOrParentOrPlace.position
1955
+ };
1956
+ else options = { ...optionsOrParentOrPlace };
1957
+ }
1956
1958
  if (typeof causeOrReason === "string") reason = causeOrReason;
1957
1959
  else if (!options.cause && causeOrReason) {
1958
1960
  legacyCause = true;
@@ -2102,7 +2104,7 @@ VFileMessage.prototype.place = void 0;
2102
2104
  VFileMessage.prototype.ruleId = void 0;
2103
2105
  VFileMessage.prototype.source = void 0;
2104
2106
  //#endregion
2105
- //#region ../../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.js
2107
+ //#region ../../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6_supports-color@8.1.1/node_modules/hast-util-to-jsx-runtime/lib/index.js
2106
2108
  /**
2107
2109
  * @import {Identifier, Literal, MemberExpression} from 'estree'
2108
2110
  * @import {Jsx, JsxDev, Options, Props} from 'hast-util-to-jsx-runtime'
@@ -2118,14 +2120,14 @@ const own$3 = {}.hasOwnProperty;
2118
2120
  /** @type {Map<string, number>} */
2119
2121
  const emptyMap = /* @__PURE__ */ new Map();
2120
2122
  const cap = /[A-Z]/g;
2121
- const tableElements = new Set([
2123
+ const tableElements = /* @__PURE__ */ new Set([
2122
2124
  "table",
2123
2125
  "tbody",
2124
2126
  "thead",
2125
2127
  "tfoot",
2126
2128
  "tr"
2127
2129
  ]);
2128
- const tableCellElement = new Set(["td", "th"]);
2130
+ const tableCellElement = /* @__PURE__ */ new Set(["td", "th"]);
2129
2131
  const docs = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
2130
2132
  /**
2131
2133
  * Transform a hast tree to preact, react, solid, svelte, vue, etc.,
@@ -2431,25 +2433,27 @@ function createElementProps(state, node) {
2431
2433
  function createJsxElementProps(state, node) {
2432
2434
  /** @type {Props} */
2433
2435
  const props = {};
2434
- for (const attribute of node.attributes) if (attribute.type === "mdxJsxExpressionAttribute") if (attribute.data && attribute.data.estree && state.evaluater) {
2435
- const expression = attribute.data.estree.body[0];
2436
- expression.type;
2437
- const objectExpression = expression.expression;
2438
- objectExpression.type;
2439
- const property = objectExpression.properties[0];
2440
- property.type;
2441
- Object.assign(props, state.evaluater.evaluateExpression(property.argument));
2442
- } else crashEstree(state, node.position);
2443
- else {
2436
+ for (const attribute of node.attributes) if (attribute.type === "mdxJsxExpressionAttribute") {
2437
+ if (attribute.data && attribute.data.estree && state.evaluater) {
2438
+ const expression = attribute.data.estree.body[0];
2439
+ expression.type;
2440
+ const objectExpression = expression.expression;
2441
+ objectExpression.type;
2442
+ const property = objectExpression.properties[0];
2443
+ property.type;
2444
+ Object.assign(props, state.evaluater.evaluateExpression(property.argument));
2445
+ } else crashEstree(state, node.position);
2446
+ } else {
2444
2447
  const name = attribute.name;
2445
2448
  /** @type {unknown} */
2446
2449
  let value;
2447
- if (attribute.value && typeof attribute.value === "object") if (attribute.value.data && attribute.value.data.estree && state.evaluater) {
2448
- const expression = attribute.value.data.estree.body[0];
2449
- expression.type;
2450
- value = state.evaluater.evaluateExpression(expression.expression);
2451
- } else crashEstree(state, node.position);
2452
- else value = attribute.value === null ? true : attribute.value;
2450
+ if (attribute.value && typeof attribute.value === "object") {
2451
+ if (attribute.value.data && attribute.value.data.estree && state.evaluater) {
2452
+ const expression = attribute.value.data.estree.body[0];
2453
+ expression.type;
2454
+ value = state.evaluater.evaluateExpression(expression.expression);
2455
+ } else crashEstree(state, node.position);
2456
+ } else value = attribute.value === null ? true : attribute.value;
2453
2457
  props[name] = value;
2454
2458
  }
2455
2459
  return props;
@@ -3306,7 +3310,7 @@ function factorySpace(effects, ok, type, max) {
3306
3310
  }
3307
3311
  }
3308
3312
  //#endregion
3309
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
3313
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/initialize/content.js
3310
3314
  /**
3311
3315
  * @import {
3312
3316
  * InitialConstruct,
@@ -3373,7 +3377,7 @@ function initializeContent(effects) {
3373
3377
  }
3374
3378
  }
3375
3379
  //#endregion
3376
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
3380
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/initialize/document.js
3377
3381
  /**
3378
3382
  * @import {
3379
3383
  * Construct,
@@ -5976,7 +5980,9 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
5976
5980
  * @type {State}
5977
5981
  */
5978
5982
  function atBreak(code) {
5979
- if (size > 999 || code === null || code === 91 || code === 93 && !seen || code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
5983
+ if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
5984
+ /* c8 ignore next 3 */
5985
+ code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
5980
5986
  if (code === 93) {
5981
5987
  effects.exit(stringType);
5982
5988
  effects.enter(markerType);
@@ -9221,7 +9227,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
9221
9227
  }
9222
9228
  }
9223
9229
  //#endregion
9224
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
9230
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/initialize/flow.js
9225
9231
  /**
9226
9232
  * @import {
9227
9233
  * InitialConstruct,
@@ -9268,7 +9274,7 @@ function initializeFlow(effects) {
9268
9274
  }
9269
9275
  }
9270
9276
  //#endregion
9271
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
9277
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/initialize/text.js
9272
9278
  /**
9273
9279
  * @import {
9274
9280
  * Code,
@@ -9445,7 +9451,7 @@ function resolveAllLineSuffixes(events, context) {
9445
9451
  return events;
9446
9452
  }
9447
9453
  //#endregion
9448
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
9454
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/constructs.js
9449
9455
  /**
9450
9456
  * @import {Extension} from 'micromark-util-types'
9451
9457
  */
@@ -9523,7 +9529,7 @@ const attentionMarkers = { null: [42, 95] };
9523
9529
  /** @satisfies {Extension['disable']} */
9524
9530
  const disable = { null: [] };
9525
9531
  //#endregion
9526
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
9532
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/create-tokenizer.js
9527
9533
  /**
9528
9534
  * @import {
9529
9535
  * Chunk,
@@ -9992,7 +9998,7 @@ function serializeChunks(chunks, expandTabs) {
9992
9998
  return result.join("");
9993
9999
  }
9994
10000
  //#endregion
9995
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
10001
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/parse.js
9996
10002
  /**
9997
10003
  * @import {
9998
10004
  * Create,
@@ -10036,7 +10042,7 @@ function parse(options) {
10036
10042
  }
10037
10043
  }
10038
10044
  //#endregion
10039
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
10045
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/postprocess.js
10040
10046
  /**
10041
10047
  * @import {Event} from 'micromark-util-types'
10042
10048
  */
@@ -10051,7 +10057,7 @@ function postprocess(events) {
10051
10057
  return events;
10052
10058
  }
10053
10059
  //#endregion
10054
- //#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
10060
+ //#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@8.1.1/node_modules/micromark/lib/preprocess.js
10055
10061
  /**
10056
10062
  * @import {Chunk, Code, Encoding, Value} from 'micromark-util-types'
10057
10063
  */
@@ -10189,7 +10195,7 @@ function decode($0, $1, $2) {
10189
10195
  return decodeNamedCharacterReference($2) || $0;
10190
10196
  }
10191
10197
  //#endregion
10192
- //#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
10198
+ //#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3_supports-color@8.1.1/node_modules/mdast-util-from-markdown/lib/index.js
10193
10199
  /**
10194
10200
  * @import {
10195
10201
  * Break,
@@ -10404,8 +10410,10 @@ function compiler(options) {
10404
10410
  /** @type {Array<number>} */
10405
10411
  const listStack = [];
10406
10412
  let index = -1;
10407
- while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") if (events[index][0] === "enter") listStack.push(index);
10408
- else index = prepareList(events, listStack.pop(), index);
10413
+ while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
10414
+ if (events[index][0] === "enter") listStack.push(index);
10415
+ else index = prepareList(events, listStack.pop(), index);
10416
+ }
10409
10417
  index = -1;
10410
10418
  while (++index < events.length) {
10411
10419
  const handler = config[events[index][0]];
@@ -10595,8 +10603,10 @@ function compiler(options) {
10595
10603
  start: token.start,
10596
10604
  end: token.end
10597
10605
  }) + "): it’s not open");
10598
- else if (open[0].type !== token.type) if (onExitError) onExitError.call(this, token, open[0]);
10599
- else (open[1] || defaultOnError).call(this, token, open[0]);
10606
+ else if (open[0].type !== token.type) {
10607
+ if (onExitError) onExitError.call(this, token, open[0]);
10608
+ else (open[1] || defaultOnError).call(this, token, open[0]);
10609
+ }
10600
10610
  node.position.end = point(token.end);
10601
10611
  }
10602
10612
  /**
@@ -11155,7 +11165,7 @@ function defaultOnError(left, right) {
11155
11165
  }) + ") is still open");
11156
11166
  }
11157
11167
  //#endregion
11158
- //#region ../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js
11168
+ //#region ../../node_modules/.pnpm/remark-parse@11.0.0_supports-color@8.1.1/node_modules/remark-parse/lib/index.js
11159
11169
  /**
11160
11170
  * @typedef {import('mdast').Root} Root
11161
11171
  * @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions
@@ -12389,7 +12399,9 @@ const serialize$1 = (value, { json, lossy } = {}) => {
12389
12399
  * fallback to the polyfill if present.
12390
12400
  * @returns {Record[]}
12391
12401
  */
12392
- var esm_default = typeof structuredClone === "function" ? (any, options) => options && ("json" in options || "lossy" in options) ? deserialize(serialize$1(any, options)) : structuredClone(any) : (any, options) => deserialize(serialize$1(any, options));
12402
+ var esm_default = typeof structuredClone === "function" ?
12403
+ /* c8 ignore start */
12404
+ (any, options) => options && ("json" in options || "lossy" in options) ? deserialize(serialize$1(any, options)) : structuredClone(any) : (any, options) => deserialize(serialize$1(any, options));
12393
12405
  //#endregion
12394
12406
  //#region ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/footer.js
12395
12407
  /**
@@ -12624,7 +12636,12 @@ function footer(state) {
12624
12636
  * @returns {Check}
12625
12637
  * An assertion.
12626
12638
  */
12627
- const convert = (function(test) {
12639
+ const convert = (
12640
+ /**
12641
+ * @param {Test} [test]
12642
+ * @returns {Check}
12643
+ */
12644
+ function(test) {
12628
12645
  if (test === null || test === void 0) return ok;
12629
12646
  if (typeof test === "function") return castFactory(test);
12630
12647
  if (typeof test === "object") return Array.isArray(test) ? anyFactory(test) : propertiesFactory(test);
@@ -13638,13 +13655,15 @@ function applyData(from, to) {
13638
13655
  const hName = from.data.hName;
13639
13656
  const hChildren = from.data.hChildren;
13640
13657
  const hProperties = from.data.hProperties;
13641
- if (typeof hName === "string") if (result.type === "element") result.tagName = hName;
13642
- else result = {
13643
- type: "element",
13644
- tagName: hName,
13645
- properties: {},
13646
- children: "children" in result ? result.children : [result]
13647
- };
13658
+ if (typeof hName === "string") {
13659
+ if (result.type === "element") result.tagName = hName;
13660
+ else result = {
13661
+ type: "element",
13662
+ tagName: hName,
13663
+ properties: {},
13664
+ children: "children" in result ? result.children : [result]
13665
+ };
13666
+ }
13648
13667
  if (result.type === "element" && hProperties) Object.assign(result.properties, esm_default(hProperties));
13649
13668
  if ("children" in result && result.children && hChildren !== null && hChildren !== void 0) result.children = hChildren;
13650
13669
  }
@@ -14221,9 +14240,11 @@ function wrap(middleware, callback) {
14221
14240
  if (fnExpectsCallback && called) throw exception;
14222
14241
  return done(exception);
14223
14242
  }
14224
- if (!fnExpectsCallback) if (result && result.then && typeof result.then === "function") result.then(then, done);
14225
- else if (result instanceof Error) done(result);
14226
- else then(result);
14243
+ if (!fnExpectsCallback) {
14244
+ if (result && result.then && typeof result.then === "function") result.then(then, done);
14245
+ else if (result instanceof Error) done(result);
14246
+ else then(result);
14247
+ }
14227
14248
  }
14228
14249
  /**
14229
14250
  * Call `callback`, only once.
@@ -14297,11 +14318,13 @@ function basename(path, extname) {
14297
14318
  seenNonSlash = true;
14298
14319
  firstNonSlashEnd = index + 1;
14299
14320
  }
14300
- if (extnameIndex > -1) if (path.codePointAt(index) === extname.codePointAt(extnameIndex--)) {
14301
- if (extnameIndex < 0) end = index;
14302
- } else {
14303
- extnameIndex = -1;
14304
- end = firstNonSlashEnd;
14321
+ if (extnameIndex > -1) {
14322
+ if (path.codePointAt(index) === extname.codePointAt(extnameIndex--)) {
14323
+ if (extnameIndex < 0) end = index;
14324
+ } else {
14325
+ extnameIndex = -1;
14326
+ end = firstNonSlashEnd;
14327
+ }
14305
14328
  }
14306
14329
  }
14307
14330
  if (start === end) end = firstNonSlashEnd;
@@ -15081,7 +15104,13 @@ function isUint8Array$1(value) {
15081
15104
  }
15082
15105
  //#endregion
15083
15106
  //#region ../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js
15084
- const CallableInstance = (function(property) {
15107
+ const CallableInstance = (
15108
+ /**
15109
+ * @this {Function}
15110
+ * @param {string | symbol} property
15111
+ * @returns {(...parameters: Array<unknown>) => unknown}
15112
+ */
15113
+ function(property) {
15085
15114
  const proto = this.constructor.prototype;
15086
15115
  const value = proto[property];
15087
15116
  /** @type {(...parameters: Array<unknown>) => unknown} */
@@ -16025,9 +16054,10 @@ const unified = new class Processor extends CallableInstance {
16025
16054
  const namespace = this.namespace;
16026
16055
  assertUnfrozen("use", this.frozen);
16027
16056
  if (value === null || value === void 0) {} else if (typeof value === "function") addPlugin(value, parameters);
16028
- else if (typeof value === "object") if (Array.isArray(value)) addList(value);
16029
- else addPreset(value);
16030
- else throw new TypeError("Expected usable value, not `" + value + "`");
16057
+ else if (typeof value === "object") {
16058
+ if (Array.isArray(value)) addList(value);
16059
+ else addPreset(value);
16060
+ } else throw new TypeError("Expected usable value, not `" + value + "`");
16031
16061
  return this;
16032
16062
  /**
16033
16063
  * @param {Pluggable} value
@@ -16035,11 +16065,12 @@ const unified = new class Processor extends CallableInstance {
16035
16065
  */
16036
16066
  function add(value) {
16037
16067
  if (typeof value === "function") addPlugin(value, []);
16038
- else if (typeof value === "object") if (Array.isArray(value)) {
16039
- const [plugin, ...parameters] = value;
16040
- addPlugin(plugin, parameters);
16041
- } else addPreset(value);
16042
- else throw new TypeError("Expected usable value, not `" + value + "`");
16068
+ else if (typeof value === "object") {
16069
+ if (Array.isArray(value)) {
16070
+ const [plugin, ...parameters] = value;
16071
+ addPlugin(plugin, parameters);
16072
+ } else addPreset(value);
16073
+ } else throw new TypeError("Expected usable value, not `" + value + "`");
16043
16074
  }
16044
16075
  /**
16045
16076
  * @param {Preset} result
@@ -16171,7 +16202,7 @@ function isUint8Array(value) {
16171
16202
  return Boolean(value && typeof value === "object" && "byteLength" in value && "byteOffset" in value);
16172
16203
  }
16173
16204
  //#endregion
16174
- //#region ../../node_modules/.pnpm/react-markdown@10.1.0_@types+react@19.2.14_react@19.2.6/node_modules/react-markdown/lib/index.js
16205
+ //#region ../../node_modules/.pnpm/react-markdown@10.1.0_@types+react@19.2.14_react@19.2.6_supports-color@8.1.1/node_modules/react-markdown/lib/index.js
16175
16206
  /**
16176
16207
  * @import {Element, Nodes, Parents, Root} from 'hast'
16177
16208
  * @import {Root as MdastRoot} from 'mdast'
@@ -16924,7 +16955,7 @@ function previous(match, email) {
16924
16955
  return (match.index === 0 || unicodeWhitespace(code) || unicodePunctuation(code)) && (!email || code !== 47);
16925
16956
  }
16926
16957
  //#endregion
16927
- //#region ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
16958
+ //#region ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0_supports-color@8.1.1/node_modules/mdast-util-gfm-footnote/lib/index.js
16928
16959
  /**
16929
16960
  * @import {
16930
16961
  * CompileContext,
@@ -17116,7 +17147,7 @@ function mapAll(line, index, blank) {
17116
17147
  return (blank ? "" : " ") + line;
17117
17148
  }
17118
17149
  //#endregion
17119
- //#region ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
17150
+ //#region ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0_supports-color@8.1.1/node_modules/mdast-util-gfm-strikethrough/lib/index.js
17120
17151
  /**
17121
17152
  * @typedef {import('mdast').Delete} Delete
17122
17153
  *
@@ -17464,14 +17495,15 @@ function markdownTable(table, options) {
17464
17495
  const size = longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0);
17465
17496
  const code = alignments[columnIndex];
17466
17497
  if (code === 114) before = " ".repeat(size);
17467
- else if (code === 99) if (size % 2) {
17468
- before = " ".repeat(size / 2 + .5);
17469
- after = " ".repeat(size / 2 - .5);
17470
- } else {
17471
- before = " ".repeat(size / 2);
17472
- after = before;
17473
- }
17474
- else after = " ".repeat(size);
17498
+ else if (code === 99) {
17499
+ if (size % 2) {
17500
+ before = " ".repeat(size / 2 + .5);
17501
+ after = " ".repeat(size / 2 - .5);
17502
+ } else {
17503
+ before = " ".repeat(size / 2);
17504
+ after = before;
17505
+ }
17506
+ } else after = " ".repeat(size);
17475
17507
  }
17476
17508
  if (settings.delimiterStart !== false && !columnIndex) line.push("|");
17477
17509
  if (settings.padding !== false && !(settings.alignDelimiters === false && cell === "") && (settings.delimiterStart !== false || columnIndex)) line.push(" ");
@@ -18656,7 +18688,7 @@ const handle = {
18656
18688
  thematicBreak
18657
18689
  };
18658
18690
  //#endregion
18659
- //#region ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
18691
+ //#region ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@8.1.1/node_modules/mdast-util-gfm-table/lib/index.js
18660
18692
  /**
18661
18693
  * @typedef {import('mdast').InlineCode} InlineCode
18662
18694
  * @typedef {import('mdast').Table} Table
@@ -18920,7 +18952,7 @@ function gfmTableToMarkdown(options) {
18920
18952
  }
18921
18953
  }
18922
18954
  //#endregion
18923
- //#region ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
18955
+ //#region ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0_supports-color@8.1.1/node_modules/mdast-util-gfm-task-list-item/lib/index.js
18924
18956
  /**
18925
18957
  * @typedef {import('mdast').ListItem} ListItem
18926
18958
  * @typedef {import('mdast').Paragraph} Paragraph
@@ -19030,7 +19062,7 @@ function listItemWithTaskListItem(node, parent, state, info) {
19030
19062
  }
19031
19063
  }
19032
19064
  //#endregion
19033
- //#region ../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
19065
+ //#region ../../node_modules/.pnpm/mdast-util-gfm@3.1.0_supports-color@8.1.1/node_modules/mdast-util-gfm/lib/index.js
19034
19066
  /**
19035
19067
  * @import {Extension as FromMarkdownExtension} from 'mdast-util-from-markdown'
19036
19068
  * @import {Options} from 'mdast-util-gfm'
@@ -21007,19 +21039,21 @@ function resolveTable(events, context) {
21007
21039
  }
21008
21040
  cell[2] = index;
21009
21041
  }
21010
- } else if (token.type === "tableCellDivider") if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
21011
- else {
21012
- if (lastCell[1] !== 0) {
21013
- cell[0] = cell[1];
21014
- currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
21042
+ } else if (token.type === "tableCellDivider") {
21043
+ if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
21044
+ else {
21045
+ if (lastCell[1] !== 0) {
21046
+ cell[0] = cell[1];
21047
+ currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
21048
+ }
21049
+ lastCell = cell;
21050
+ cell = [
21051
+ lastCell[1],
21052
+ index,
21053
+ 0,
21054
+ 0
21055
+ ];
21015
21056
  }
21016
- lastCell = cell;
21017
- cell = [
21018
- lastCell[1],
21019
- index,
21020
- 0,
21021
- 0
21022
- ];
21023
21057
  }
21024
21058
  } else if (token.type === "tableHead") {
21025
21059
  afterHeadAwaitingFirstBodyRow = true;
@@ -21305,7 +21339,7 @@ function gfm(options) {
21305
21339
  ]);
21306
21340
  }
21307
21341
  //#endregion
21308
- //#region ../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js
21342
+ //#region ../../node_modules/.pnpm/remark-gfm@4.0.1_supports-color@8.1.1/node_modules/remark-gfm/lib/index.js
21309
21343
  /**
21310
21344
  * @import {Root} from 'mdast'
21311
21345
  * @import {Options} from 'remark-gfm'
@@ -21339,7 +21373,7 @@ function remarkGfm(options) {
21339
21373
  //#region editors/workflow-editor/ui/PieceMarkdown.tsx
21340
21374
  function PieceMarkdown({ text }) {
21341
21375
  return /* @__PURE__ */ jsx("div", {
21342
- className: "rounded bg-slate-100 px-2 py-1.5 text-xs text-slate-500",
21376
+ className: "rounded bg-muted px-2 py-1.5 text-xs text-muted-foreground",
21343
21377
  children: /* @__PURE__ */ jsx(Markdown, {
21344
21378
  remarkPlugins: [remarkGfm],
21345
21379
  components: {
@@ -21348,7 +21382,7 @@ function PieceMarkdown({ text }) {
21348
21382
  children
21349
21383
  }),
21350
21384
  strong: ({ children }) => /* @__PURE__ */ jsx("strong", {
21351
- className: "font-semibold text-slate-600",
21385
+ className: "font-semibold text-muted-foreground",
21352
21386
  children
21353
21387
  }),
21354
21388
  ol: ({ children }) => /* @__PURE__ */ jsx("ol", {
@@ -21364,30 +21398,30 @@ function PieceMarkdown({ text }) {
21364
21398
  children
21365
21399
  }),
21366
21400
  pre: ({ children }) => /* @__PURE__ */ jsx("pre", {
21367
- className: "my-1 overflow-x-auto rounded border border-slate-200 bg-white px-2 py-1.5 font-mono text-[11px] text-slate-700",
21401
+ className: "my-1 overflow-x-auto rounded border border-foreground/10 bg-card px-2 py-1.5 font-mono text-[11px] text-foreground",
21368
21402
  children
21369
21403
  }),
21370
21404
  code: ({ children }) => /* @__PURE__ */ jsx("code", {
21371
- className: "font-mono text-[11px] text-slate-700",
21405
+ className: "font-mono text-[11px] text-foreground",
21372
21406
  children
21373
21407
  }),
21374
21408
  a: ({ children, href }) => /* @__PURE__ */ jsx("a", {
21375
21409
  href,
21376
21410
  target: "_blank",
21377
21411
  rel: "noreferrer noopener",
21378
- className: "text-slate-600 underline",
21412
+ className: "text-muted-foreground underline",
21379
21413
  children
21380
21414
  }),
21381
21415
  h1: ({ children }) => /* @__PURE__ */ jsx("p", {
21382
- className: "mb-1 font-semibold text-slate-600",
21416
+ className: "mb-1 font-semibold text-muted-foreground",
21383
21417
  children
21384
21418
  }),
21385
21419
  h2: ({ children }) => /* @__PURE__ */ jsx("p", {
21386
- className: "mb-1 font-semibold text-slate-600",
21420
+ className: "mb-1 font-semibold text-muted-foreground",
21387
21421
  children
21388
21422
  }),
21389
21423
  h3: ({ children }) => /* @__PURE__ */ jsx("p", {
21390
- className: "mb-1 font-semibold text-slate-600",
21424
+ className: "mb-1 font-semibold text-muted-foreground",
21391
21425
  children
21392
21426
  })
21393
21427
  },
@@ -21398,4 +21432,4 @@ function PieceMarkdown({ text }) {
21398
21432
  //#endregion
21399
21433
  export { PieceMarkdown as default };
21400
21434
 
21401
- //# sourceMappingURL=PieceMarkdown-CZYNY1qQ.js.map
21435
+ //# sourceMappingURL=PieceMarkdown-C8Gv88TV.js.map