@decaf-ts/ui-decorators 0.20.9 → 0.21.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 (215) hide show
  1. package/dist/ui-decorators.cjs +1 -1
  2. package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs +19 -0
  3. package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs.map +1 -1
  4. package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs +15 -0
  5. package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs.map +1 -0
  6. package/lib/cjs/graph/catalog/index.cjs +1 -0
  7. package/lib/cjs/graph/catalog/index.cjs.map +1 -1
  8. package/lib/cjs/graph/{nodes/category-styles.cjs → category-styles.cjs} +2 -2
  9. package/lib/cjs/graph/category-styles.cjs.map +1 -0
  10. package/lib/cjs/graph/index.cjs +1 -1
  11. package/lib/cjs/graph/index.cjs.map +1 -1
  12. package/lib/cjs/graph/reader.cjs +26 -0
  13. package/lib/cjs/graph/reader.cjs.map +1 -1
  14. package/lib/cjs/graph/snapshot.cjs +0 -691
  15. package/lib/cjs/graph/snapshot.cjs.map +1 -1
  16. package/lib/cjs/index.cjs +3 -3
  17. package/lib/esm/graph/catalog/GraphManifestCompiler.js +20 -1
  18. package/lib/esm/graph/catalog/GraphManifestCompiler.js.map +1 -1
  19. package/lib/esm/graph/catalog/GraphPortManifest.js.map +1 -1
  20. package/lib/esm/graph/catalog/GraphPortManifestElement.js +11 -0
  21. package/lib/esm/graph/catalog/GraphPortManifestElement.js.map +1 -0
  22. package/lib/esm/graph/catalog/index.js +1 -0
  23. package/lib/esm/graph/catalog/index.js.map +1 -1
  24. package/lib/esm/graph/{nodes/category-styles.js → category-styles.js} +2 -2
  25. package/lib/esm/graph/category-styles.js.map +1 -0
  26. package/lib/esm/graph/index.js +1 -1
  27. package/lib/esm/graph/index.js.map +1 -1
  28. package/lib/esm/graph/reader.js +25 -0
  29. package/lib/esm/graph/reader.js.map +1 -1
  30. package/lib/esm/graph/snapshot.js +1 -679
  31. package/lib/esm/graph/snapshot.js.map +1 -1
  32. package/lib/esm/index.js +3 -3
  33. package/lib/types/graph/catalog/GraphPortManifest.d.cts +2 -0
  34. package/lib/types/graph/catalog/GraphPortManifest.d.mts +2 -0
  35. package/lib/types/graph/catalog/GraphPortManifestElement.d.cts +7 -0
  36. package/lib/types/graph/catalog/GraphPortManifestElement.d.mts +7 -0
  37. package/lib/types/graph/catalog/index.d.cts +1 -0
  38. package/lib/types/graph/catalog/index.d.mts +1 -0
  39. package/lib/types/graph/index.d.cts +1 -1
  40. package/lib/types/graph/index.d.mts +1 -1
  41. package/lib/types/graph/reader.d.cts +12 -0
  42. package/lib/types/graph/reader.d.mts +12 -0
  43. package/lib/types/graph/snapshot.d.cts +4 -144
  44. package/lib/types/graph/snapshot.d.mts +4 -144
  45. package/lib/types/graph/types.d.cts +1 -1
  46. package/lib/types/graph/types.d.mts +1 -1
  47. package/lib/types/index.d.cts +3 -3
  48. package/lib/types/index.d.mts +3 -3
  49. package/package.json +1 -1
  50. package/lib/cjs/graph/nodes/agents/agent.cjs +0 -110
  51. package/lib/cjs/graph/nodes/agents/agent.cjs.map +0 -1
  52. package/lib/cjs/graph/nodes/base.cjs +0 -36
  53. package/lib/cjs/graph/nodes/base.cjs.map +0 -1
  54. package/lib/cjs/graph/nodes/boundary/input-value.cjs +0 -57
  55. package/lib/cjs/graph/nodes/boundary/input-value.cjs.map +0 -1
  56. package/lib/cjs/graph/nodes/category-styles.cjs.map +0 -1
  57. package/lib/cjs/graph/nodes/flow-control/break.cjs +0 -63
  58. package/lib/cjs/graph/nodes/flow-control/break.cjs.map +0 -1
  59. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs +0 -67
  60. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs.map +0 -1
  61. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs +0 -69
  62. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs.map +0 -1
  63. package/lib/cjs/graph/nodes/flow-control/if.cjs +0 -71
  64. package/lib/cjs/graph/nodes/flow-control/if.cjs.map +0 -1
  65. package/lib/cjs/graph/nodes/flow-control/parallel.cjs +0 -61
  66. package/lib/cjs/graph/nodes/flow-control/parallel.cjs.map +0 -1
  67. package/lib/cjs/graph/nodes/flow-control/switch.cjs +0 -126
  68. package/lib/cjs/graph/nodes/flow-control/switch.cjs.map +0 -1
  69. package/lib/cjs/graph/nodes/index.cjs +0 -123
  70. package/lib/cjs/graph/nodes/index.cjs.map +0 -1
  71. package/lib/cjs/graph/nodes/loops/foreach.cjs +0 -86
  72. package/lib/cjs/graph/nodes/loops/foreach.cjs.map +0 -1
  73. package/lib/cjs/graph/nodes/loops/until.cjs +0 -74
  74. package/lib/cjs/graph/nodes/loops/until.cjs.map +0 -1
  75. package/lib/cjs/graph/nodes/loops/while.cjs +0 -74
  76. package/lib/cjs/graph/nodes/loops/while.cjs.map +0 -1
  77. package/lib/cjs/graph/nodes/manifests.cjs +0 -342
  78. package/lib/cjs/graph/nodes/manifests.cjs.map +0 -1
  79. package/lib/cjs/graph/nodes/triggers/chat.cjs +0 -70
  80. package/lib/cjs/graph/nodes/triggers/chat.cjs.map +0 -1
  81. package/lib/cjs/graph/nodes/triggers/event.cjs +0 -58
  82. package/lib/cjs/graph/nodes/triggers/event.cjs.map +0 -1
  83. package/lib/cjs/graph/nodes/triggers/form.cjs +0 -59
  84. package/lib/cjs/graph/nodes/triggers/form.cjs.map +0 -1
  85. package/lib/cjs/graph/nodes/triggers/manual.cjs +0 -60
  86. package/lib/cjs/graph/nodes/triggers/manual.cjs.map +0 -1
  87. package/lib/cjs/graph/nodes/triggers/schedule.cjs +0 -60
  88. package/lib/cjs/graph/nodes/triggers/schedule.cjs.map +0 -1
  89. package/lib/cjs/graph/nodes/triggers/webhook.cjs +0 -62
  90. package/lib/cjs/graph/nodes/triggers/webhook.cjs.map +0 -1
  91. package/lib/cjs/graph/nodes/utility/code.cjs +0 -99
  92. package/lib/cjs/graph/nodes/utility/code.cjs.map +0 -1
  93. package/lib/cjs/graph/nodes/utility/delay.cjs +0 -61
  94. package/lib/cjs/graph/nodes/utility/delay.cjs.map +0 -1
  95. package/lib/cjs/graph/nodes/utility/log.cjs +0 -62
  96. package/lib/cjs/graph/nodes/utility/log.cjs.map +0 -1
  97. package/lib/cjs/graph/nodes/utility/map.cjs +0 -61
  98. package/lib/cjs/graph/nodes/utility/map.cjs.map +0 -1
  99. package/lib/cjs/graph/nodes/utility/merge.cjs +0 -62
  100. package/lib/cjs/graph/nodes/utility/merge.cjs.map +0 -1
  101. package/lib/cjs/graph/nodes/utility/return.cjs +0 -61
  102. package/lib/cjs/graph/nodes/utility/return.cjs.map +0 -1
  103. package/lib/cjs/graph/nodes/utility/utility-log.cjs +0 -66
  104. package/lib/cjs/graph/nodes/utility/utility-log.cjs.map +0 -1
  105. package/lib/esm/graph/nodes/agents/agent.js +0 -101
  106. package/lib/esm/graph/nodes/agents/agent.js.map +0 -1
  107. package/lib/esm/graph/nodes/base.js +0 -31
  108. package/lib/esm/graph/nodes/base.js.map +0 -1
  109. package/lib/esm/graph/nodes/boundary/input-value.js +0 -48
  110. package/lib/esm/graph/nodes/boundary/input-value.js.map +0 -1
  111. package/lib/esm/graph/nodes/category-styles.js.map +0 -1
  112. package/lib/esm/graph/nodes/flow-control/break.js +0 -54
  113. package/lib/esm/graph/nodes/flow-control/break.js.map +0 -1
  114. package/lib/esm/graph/nodes/flow-control/error-boundary.js +0 -58
  115. package/lib/esm/graph/nodes/flow-control/error-boundary.js.map +0 -1
  116. package/lib/esm/graph/nodes/flow-control/human-approval.js +0 -60
  117. package/lib/esm/graph/nodes/flow-control/human-approval.js.map +0 -1
  118. package/lib/esm/graph/nodes/flow-control/if.js +0 -62
  119. package/lib/esm/graph/nodes/flow-control/if.js.map +0 -1
  120. package/lib/esm/graph/nodes/flow-control/parallel.js +0 -52
  121. package/lib/esm/graph/nodes/flow-control/parallel.js.map +0 -1
  122. package/lib/esm/graph/nodes/flow-control/switch.js +0 -117
  123. package/lib/esm/graph/nodes/flow-control/switch.js.map +0 -1
  124. package/lib/esm/graph/nodes/index.js +0 -105
  125. package/lib/esm/graph/nodes/index.js.map +0 -1
  126. package/lib/esm/graph/nodes/loops/foreach.js +0 -77
  127. package/lib/esm/graph/nodes/loops/foreach.js.map +0 -1
  128. package/lib/esm/graph/nodes/loops/until.js +0 -65
  129. package/lib/esm/graph/nodes/loops/until.js.map +0 -1
  130. package/lib/esm/graph/nodes/loops/while.js +0 -65
  131. package/lib/esm/graph/nodes/loops/while.js.map +0 -1
  132. package/lib/esm/graph/nodes/manifests.js +0 -338
  133. package/lib/esm/graph/nodes/manifests.js.map +0 -1
  134. package/lib/esm/graph/nodes/triggers/chat.js +0 -61
  135. package/lib/esm/graph/nodes/triggers/chat.js.map +0 -1
  136. package/lib/esm/graph/nodes/triggers/event.js +0 -49
  137. package/lib/esm/graph/nodes/triggers/event.js.map +0 -1
  138. package/lib/esm/graph/nodes/triggers/form.js +0 -50
  139. package/lib/esm/graph/nodes/triggers/form.js.map +0 -1
  140. package/lib/esm/graph/nodes/triggers/manual.js +0 -51
  141. package/lib/esm/graph/nodes/triggers/manual.js.map +0 -1
  142. package/lib/esm/graph/nodes/triggers/schedule.js +0 -51
  143. package/lib/esm/graph/nodes/triggers/schedule.js.map +0 -1
  144. package/lib/esm/graph/nodes/triggers/webhook.js +0 -53
  145. package/lib/esm/graph/nodes/triggers/webhook.js.map +0 -1
  146. package/lib/esm/graph/nodes/utility/code.js +0 -90
  147. package/lib/esm/graph/nodes/utility/code.js.map +0 -1
  148. package/lib/esm/graph/nodes/utility/delay.js +0 -52
  149. package/lib/esm/graph/nodes/utility/delay.js.map +0 -1
  150. package/lib/esm/graph/nodes/utility/log.js +0 -53
  151. package/lib/esm/graph/nodes/utility/log.js.map +0 -1
  152. package/lib/esm/graph/nodes/utility/map.js +0 -52
  153. package/lib/esm/graph/nodes/utility/map.js.map +0 -1
  154. package/lib/esm/graph/nodes/utility/merge.js +0 -53
  155. package/lib/esm/graph/nodes/utility/merge.js.map +0 -1
  156. package/lib/esm/graph/nodes/utility/return.js +0 -52
  157. package/lib/esm/graph/nodes/utility/return.js.map +0 -1
  158. package/lib/esm/graph/nodes/utility/utility-log.js +0 -57
  159. package/lib/esm/graph/nodes/utility/utility-log.js.map +0 -1
  160. package/lib/types/graph/nodes/agents/agent.d.cts +0 -44
  161. package/lib/types/graph/nodes/agents/agent.d.mts +0 -44
  162. package/lib/types/graph/nodes/base.d.cts +0 -28
  163. package/lib/types/graph/nodes/base.d.mts +0 -28
  164. package/lib/types/graph/nodes/boundary/input-value.d.cts +0 -13
  165. package/lib/types/graph/nodes/boundary/input-value.d.mts +0 -13
  166. package/lib/types/graph/nodes/flow-control/break.d.cts +0 -15
  167. package/lib/types/graph/nodes/flow-control/break.d.mts +0 -15
  168. package/lib/types/graph/nodes/flow-control/error-boundary.d.cts +0 -12
  169. package/lib/types/graph/nodes/flow-control/error-boundary.d.mts +0 -12
  170. package/lib/types/graph/nodes/flow-control/human-approval.d.cts +0 -13
  171. package/lib/types/graph/nodes/flow-control/human-approval.d.mts +0 -13
  172. package/lib/types/graph/nodes/flow-control/if.d.cts +0 -16
  173. package/lib/types/graph/nodes/flow-control/if.d.mts +0 -16
  174. package/lib/types/graph/nodes/flow-control/parallel.d.cts +0 -11
  175. package/lib/types/graph/nodes/flow-control/parallel.d.mts +0 -11
  176. package/lib/types/graph/nodes/flow-control/switch.d.cts +0 -21
  177. package/lib/types/graph/nodes/flow-control/switch.d.mts +0 -21
  178. package/lib/types/graph/nodes/index.d.cts +0 -79
  179. package/lib/types/graph/nodes/index.d.mts +0 -79
  180. package/lib/types/graph/nodes/loops/foreach.d.cts +0 -19
  181. package/lib/types/graph/nodes/loops/foreach.d.mts +0 -19
  182. package/lib/types/graph/nodes/loops/until.d.cts +0 -16
  183. package/lib/types/graph/nodes/loops/until.d.mts +0 -16
  184. package/lib/types/graph/nodes/loops/while.d.cts +0 -16
  185. package/lib/types/graph/nodes/loops/while.d.mts +0 -16
  186. package/lib/types/graph/nodes/manifests.d.cts +0 -62
  187. package/lib/types/graph/nodes/manifests.d.mts +0 -62
  188. package/lib/types/graph/nodes/triggers/chat.d.cts +0 -13
  189. package/lib/types/graph/nodes/triggers/chat.d.mts +0 -13
  190. package/lib/types/graph/nodes/triggers/event.d.cts +0 -10
  191. package/lib/types/graph/nodes/triggers/event.d.mts +0 -10
  192. package/lib/types/graph/nodes/triggers/form.d.cts +0 -11
  193. package/lib/types/graph/nodes/triggers/form.d.mts +0 -11
  194. package/lib/types/graph/nodes/triggers/manual.d.cts +0 -12
  195. package/lib/types/graph/nodes/triggers/manual.d.mts +0 -12
  196. package/lib/types/graph/nodes/triggers/schedule.d.cts +0 -11
  197. package/lib/types/graph/nodes/triggers/schedule.d.mts +0 -11
  198. package/lib/types/graph/nodes/triggers/webhook.d.cts +0 -11
  199. package/lib/types/graph/nodes/triggers/webhook.d.mts +0 -11
  200. package/lib/types/graph/nodes/utility/code.d.cts +0 -31
  201. package/lib/types/graph/nodes/utility/code.d.mts +0 -31
  202. package/lib/types/graph/nodes/utility/delay.d.cts +0 -11
  203. package/lib/types/graph/nodes/utility/delay.d.mts +0 -11
  204. package/lib/types/graph/nodes/utility/log.d.cts +0 -13
  205. package/lib/types/graph/nodes/utility/log.d.mts +0 -13
  206. package/lib/types/graph/nodes/utility/map.d.cts +0 -11
  207. package/lib/types/graph/nodes/utility/map.d.mts +0 -11
  208. package/lib/types/graph/nodes/utility/merge.d.cts +0 -12
  209. package/lib/types/graph/nodes/utility/merge.d.mts +0 -12
  210. package/lib/types/graph/nodes/utility/return.d.cts +0 -11
  211. package/lib/types/graph/nodes/utility/return.d.mts +0 -11
  212. package/lib/types/graph/nodes/utility/utility-log.d.cts +0 -15
  213. package/lib/types/graph/nodes/utility/utility-log.d.mts +0 -15
  214. /package/lib/types/graph/{nodes/category-styles.d.cts → category-styles.d.cts} +0 -0
  215. /package/lib/types/graph/{nodes/category-styles.d.mts → category-styles.d.mts} +0 -0
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScheduleTriggerNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/triggers/schedule
20
- * @summary Schedule trigger node declaration (DECAF-32 §22.2.1).
21
- * @description Schedule trigger — cron-like schedule; timezone + payload
22
- * config.
23
- */
24
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
25
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
26
- const decorators_js_2 = require("./../../decorators.cjs");
27
- // Ensure category styles are registered (idempotent).
28
- require("./../category-styles.cjs");
29
- let ScheduleTriggerNode = class ScheduleTriggerNode extends decorator_validation_1.Model {
30
- };
31
- exports.ScheduleTriggerNode = ScheduleTriggerNode;
32
- __decorate([
33
- (0, decorator_validation_1.required)(),
34
- (0, decorators_js_1.uielement)("textarea", { label: "Scheduled payload", placeholder: "Payload for the scheduled run" }),
35
- (0, decorators_js_2.output)({ handle: "payload" }),
36
- __metadata("design:type", Object)
37
- ], ScheduleTriggerNode.prototype, "payload", void 0);
38
- exports.ScheduleTriggerNode = ScheduleTriggerNode = __decorate([
39
- (0, decorators_js_2.node)("core.trigger.schedule", {
40
- kind: "core.trigger.schedule",
41
- category: "Trigger",
42
- color: "#3b82f6",
43
- icon: "ti-calendar-time",
44
- width: 96,
45
- height: 96,
46
- labels: ["trigger", "schedule", "cron"],
47
- metadata: {
48
- title: "Schedule trigger",
49
- description: "Starts the workflow on a cron-like schedule with timezone support.",
50
- trigger: {
51
- type: "schedule",
52
- schedule: "0 * * * *",
53
- timezone: "UTC",
54
- },
55
- },
56
- }),
57
- (0, decorator_validation_1.model)()
58
- ], ScheduleTriggerNode);
59
- //# sourceMappingURL=schedule.js.map
60
- //# sourceMappingURL=schedule.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/triggers/schedule.cjs","sourceRoot":"","sources":["graph/nodes/triggers/schedule.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAA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,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,CAAC;QACvC,QAAQ,EAAE;YACN,KAAK,EAAE,kBAAkB;YACzB,WAAW,EAAE,oEAAoE;YACjF,OAAO,EAAE;gBACL,IAAI,EAAE,UAAU;gBAChB,QAAQ,EAAE,WAAW;gBACrB,QAAQ,EAAE,KAAK;aAClB;SACJ;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,mBAAmB,CAAC,CAAC;AAExB,oCAAoC"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookTriggerNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/triggers/webhook
20
- * @summary Webhook trigger node declaration (DECAF-32 §22.2.1).
21
- * @description Webhook trigger — HTTP request received; path/method/auth/
22
- * responseMode config.
23
- */
24
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
25
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
26
- const decorators_js_2 = require("./../../decorators.cjs");
27
- // Ensure category styles are registered (idempotent).
28
- require("./../category-styles.cjs");
29
- let WebhookTriggerNode = class WebhookTriggerNode extends decorator_validation_1.Model {
30
- };
31
- exports.WebhookTriggerNode = WebhookTriggerNode;
32
- __decorate([
33
- (0, decorator_validation_1.required)(),
34
- (0, decorators_js_1.uielement)("textarea", { label: "Request payload", placeholder: "Webhook request body" }),
35
- (0, decorators_js_2.output)({ handle: "payload" }),
36
- __metadata("design:type", Object)
37
- ], WebhookTriggerNode.prototype, "payload", void 0);
38
- exports.WebhookTriggerNode = WebhookTriggerNode = __decorate([
39
- (0, decorators_js_2.node)("core.trigger.webhook", {
40
- kind: "core.trigger.webhook",
41
- category: "Trigger",
42
- color: "#3b82f6",
43
- icon: "ti-webhook",
44
- width: 96,
45
- height: 96,
46
- labels: ["trigger", "webhook", "http"],
47
- metadata: {
48
- title: "Webhook trigger",
49
- description: "Starts the workflow when an HTTP request is received on the configured path and method.",
50
- trigger: {
51
- type: "webhook",
52
- path: "/webhook",
53
- method: "POST",
54
- auth: "none",
55
- responseMode: "onReceived",
56
- },
57
- },
58
- }),
59
- (0, decorator_validation_1.model)()
60
- ], WebhookTriggerNode);
61
- //# sourceMappingURL=webhook.js.map
62
- //# sourceMappingURL=webhook.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/triggers/webhook.cjs","sourceRoot":"","sources":["graph/nodes/triggers/webhook.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;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,yBAAS,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACxF,IAAA,sBAAM,EAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IAC7B,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;AACpD,6BAAA,kBAAkB,GAAG,UAAU,CAAC;IAC5B,IAAA,oBAAI,EAAC,sBAAsB,EAAE;QACzB,IAAI,EAAE,sBAAsB;QAC5B,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC;QACtC,QAAQ,EAAE;YACN,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,yFAAyF;YACtG,OAAO,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,UAAU;gBAChB,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE,YAAY;aAC7B;SACJ;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,kBAAkB,CAAC,CAAC;AAEvB,mCAAmC"}
@@ -1,99 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CodeFlowNode = exports.CodeInputSchema = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/utility/code
20
- * @summary Code utility node declaration (ALFRED-5 §7, DECAF-32 §22.4).
21
- * @description Code — sandboxed JS/TS code execution. The engine's
22
- * `CodeGraphNodeExecutor` delegates to the pluggable `CodeSandboxEvaluator`.
23
- * The default `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`)
24
- * enforces the Code Node restrictions: no imports, no requires, pure
25
- * functions only. The sandbox context exposes `$input`, `$vars`, `$item`,
26
- * `$index`, `$node`, and `$output` as data variables. TypeScript is
27
- * supported via transpilation.
28
- *
29
- * The `@input` on `CodeFlowNode.input` is a schema group — the nested
30
- * model's `@input` ports are spliced into the parent unprefixed. `code` has
31
- * `@input` + `@uielement("code-editor")`, so it appears as a port AND in the
32
- * CRUD modal (the only visible field). `data` has `@input` + `@hidden()` but
33
- * no `@uielement`, so it is a canvas-only port (for edge connections from
34
- * workflow input badges) but never appears in the CRUD modal. `language` has
35
- * no `@input` and no `@uielement`, so it is neither a port nor rendered — it
36
- * defaults to `"javascript"`.
37
- */
38
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
39
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
40
- const decorators_js_2 = require("./../../decorators.cjs");
41
- // Ensure category styles are registered (idempotent).
42
- require("./../category-styles.cjs");
43
- let CodeInputSchema = class CodeInputSchema extends decorator_validation_1.Model {
44
- constructor() {
45
- super(...arguments);
46
- this.language = "javascript";
47
- }
48
- };
49
- exports.CodeInputSchema = CodeInputSchema;
50
- __decorate([
51
- (0, decorator_validation_1.required)(),
52
- __metadata("design:type", String)
53
- ], CodeInputSchema.prototype, "language", void 0);
54
- __decorate([
55
- (0, decorator_validation_1.required)(),
56
- (0, decorators_js_1.uielement)("code-editor", { label: "Code", placeholder: "// User-authored JS code" }),
57
- (0, decorators_js_2.input)({ handle: "code" }),
58
- __metadata("design:type", String)
59
- ], CodeInputSchema.prototype, "code", void 0);
60
- __decorate([
61
- (0, decorators_js_1.hidden)(),
62
- (0, decorators_js_2.input)({ handle: "data" }),
63
- __metadata("design:type", Object)
64
- ], CodeInputSchema.prototype, "data", void 0);
65
- exports.CodeInputSchema = CodeInputSchema = __decorate([
66
- (0, decorator_validation_1.model)()
67
- ], CodeInputSchema);
68
- let CodeFlowNode = class CodeFlowNode extends decorator_validation_1.Model {
69
- };
70
- exports.CodeFlowNode = CodeFlowNode;
71
- __decorate([
72
- (0, decorator_validation_1.required)(),
73
- (0, decorators_js_2.input)({ handle: "input", model: CodeInputSchema }),
74
- __metadata("design:type", CodeInputSchema)
75
- ], CodeFlowNode.prototype, "input", void 0);
76
- __decorate([
77
- (0, decorator_validation_1.required)(),
78
- (0, decorators_js_2.output)({ handle: "result" }),
79
- __metadata("design:type", Object)
80
- ], CodeFlowNode.prototype, "result", void 0);
81
- exports.CodeFlowNode = CodeFlowNode = __decorate([
82
- (0, decorators_js_2.node)("core.flow.code", {
83
- kind: "core.flow.code",
84
- category: "Utility",
85
- color: "#0d9488",
86
- icon: "ti-code",
87
- width: 96,
88
- height: 96,
89
- labels: ["flow", "code", "sandbox", "transform"],
90
- metadata: {
91
- title: "Code",
92
- description: "Runs user-authored JS/TS in a restricted VM sandbox. Supports placeholder syntax for workflow data references.",
93
- timeoutMs: 1000,
94
- },
95
- }),
96
- (0, decorator_validation_1.model)()
97
- ], CodeFlowNode);
98
- //# sourceMappingURL=code.js.map
99
- //# sourceMappingURL=code.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/utility/code.cjs","sourceRoot":"","sources":["graph/nodes/utility/code.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU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3BrB,UAAU,CAAC;IACP,IAAA,+BAAQ,GAAE;IACV,IAAA,qBAAK,EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC;IAClD,UAAU,CAAC,aAAa,EAAE,eAAe,CAAC;CAC7C,EAAE,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AAC5C,UAAU,CAAC;IACP,IAAA,+BAAQ,GAAE;IACV,IAAA,sBAAM,EAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC5B,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,YAAY,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAC7C,uBAAA,YAAY,GAAG,UAAU,CAAC;IACtB,IAAA,oBAAI,EAAC,gBAAgB,EAAE;QACnB,IAAI,EAAE,gBAAgB;QACtB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC;QAChD,QAAQ,EAAE;YACN,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,gHAAgH;YAC7H,SAAS,EAAE,IAAI;SAClB;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,YAAY,CAAC,CAAC;AAEjB,gCAAgC"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelayFlowNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/utility/delay
20
- * @summary Delay utility node declaration (DECAF-32 §22.2.2).
21
- * @description Delay — pauses execution for a configured duration.
22
- */
23
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
24
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
25
- const decorators_js_2 = require("./../../decorators.cjs");
26
- // Ensure category styles are registered (idempotent).
27
- require("./../category-styles.cjs");
28
- let DelayFlowNode = class DelayFlowNode extends decorator_validation_1.Model {
29
- };
30
- exports.DelayFlowNode = DelayFlowNode;
31
- __decorate([
32
- (0, decorator_validation_1.required)(),
33
- (0, decorators_js_1.uielement)("textarea", { label: "Input value", placeholder: "Value to forward after delay" }),
34
- (0, decorators_js_2.input)({ handle: "value" }),
35
- __metadata("design:type", Object)
36
- ], DelayFlowNode.prototype, "value", void 0);
37
- __decorate([
38
- (0, decorator_validation_1.required)(),
39
- (0, decorators_js_1.uielement)("input", { label: "Output value", placeholder: "Forwarded value" }),
40
- (0, decorators_js_2.output)({ handle: "value" }),
41
- __metadata("design:type", Object)
42
- ], DelayFlowNode.prototype, "valueOut", void 0);
43
- exports.DelayFlowNode = DelayFlowNode = __decorate([
44
- (0, decorators_js_2.node)("core.flow.delay", {
45
- kind: "core.flow.delay",
46
- category: "Utility",
47
- color: "#0d9488",
48
- icon: "ti-clock-hour-4",
49
- width: 96,
50
- height: 96,
51
- labels: ["flow", "delay", "wait"],
52
- metadata: {
53
- title: "Delay",
54
- description: "Pauses execution for the configured duration (in milliseconds), then forwards the input unchanged.",
55
- durationMs: 1000,
56
- },
57
- }),
58
- (0, decorator_validation_1.model)()
59
- ], DelayFlowNode);
60
- //# sourceMappingURL=delay.js.map
61
- //# sourceMappingURL=delay.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/utility/delay.cjs","sourceRoot":"","sources":["graph/nodes/utility/delay.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IAClJ,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,cAAc,C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AI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;QACjC,QAAQ,EAAE;YACN,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,oGAAoG;YACjH,UAAU,EAAE,IAAI;SACnB;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,aAAa,CAAC,CAAC;AAElB,iCAAiC"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LogFlowNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/utility/log
20
- * @summary Log utility node declaration (DECAF-32 §22.2.2).
21
- * @description Log — logs the input value and forwards it unchanged on the
22
- * `logged` output port. Useful for debugging, audit trails, and
23
- * discard/side-effect branches in a workflow.
24
- */
25
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
26
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
27
- const decorators_js_2 = require("./../../decorators.cjs");
28
- // Ensure category styles are registered (idempotent).
29
- require("./../category-styles.cjs");
30
- let LogFlowNode = class LogFlowNode extends decorator_validation_1.Model {
31
- };
32
- exports.LogFlowNode = LogFlowNode;
33
- __decorate([
34
- (0, decorator_validation_1.required)(),
35
- (0, decorators_js_1.uielement)("textarea", { label: "Input value", placeholder: "Value to log" }),
36
- (0, decorators_js_2.input)({ handle: "value" }),
37
- __metadata("design:type", Object)
38
- ], LogFlowNode.prototype, "value", void 0);
39
- __decorate([
40
- (0, decorator_validation_1.required)(),
41
- (0, decorators_js_1.uielement)("input", { label: "Logged value", placeholder: "Forwarded value" }),
42
- (0, decorators_js_2.output)({ handle: "logged" }),
43
- __metadata("design:type", Object)
44
- ], LogFlowNode.prototype, "logged", void 0);
45
- exports.LogFlowNode = LogFlowNode = __decorate([
46
- (0, decorators_js_2.node)("core.flow.log", {
47
- kind: "core.flow.log",
48
- category: "Utility",
49
- color: "#0d9488",
50
- icon: "ti-terminal",
51
- width: 96,
52
- height: 96,
53
- labels: ["flow", "log", "debug", "utility"],
54
- metadata: {
55
- title: "Log",
56
- description: "Logs the input value to the execution logger and forwards it unchanged.",
57
- },
58
- }),
59
- (0, decorator_validation_1.model)()
60
- ], LogFlowNode);
61
- //# sourceMappingURL=log.js.map
62
- //# sourceMappingURL=log.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/utility/log.cjs","sourceRoot":"","sources":["graph/nodes/utility/log.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,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A,yBAAS,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;IAC5E,IAAA,qBAAK,EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IAC1B,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,WAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AAC3C,UAAU,CAAC;IACP,IAAA,+BAAQ,GAAE;IACV,IAAA,yBAAS,EAAC,OAAO,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;IAC7E,IAAA,sBAAM,EAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC5B,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,WAAW,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAC5C,sBAAA,WAAW,GAAG,UAAU,CAAC;IACrB,IAAA,oBAAI,EAAC,eAAe,EAAE;QAClB,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC;QAC3C,QAAQ,EAAE;YACN,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,yEAAyE;SACzF;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,WAAW,CAAC,CAAC;AAEhB,+BAA+B"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MapFlowNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/utility/map
20
- * @summary Map utility node declaration (DECAF-32 §22.2.2).
21
- * @description Map — transforms the current input into a new output object.
22
- */
23
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
24
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
25
- const decorators_js_2 = require("./../../decorators.cjs");
26
- // Ensure category styles are registered (idempotent).
27
- require("./../category-styles.cjs");
28
- let MapFlowNode = class MapFlowNode extends decorator_validation_1.Model {
29
- };
30
- exports.MapFlowNode = MapFlowNode;
31
- __decorate([
32
- (0, decorator_validation_1.required)(),
33
- (0, decorators_js_1.uielement)("textarea", { label: "Input value", placeholder: "Value to transform" }),
34
- (0, decorators_js_2.input)({ handle: "value" }),
35
- __metadata("design:type", Object)
36
- ], MapFlowNode.prototype, "value", void 0);
37
- __decorate([
38
- (0, decorator_validation_1.required)(),
39
- (0, decorators_js_1.uielement)("input", { label: "Transformed output", placeholder: "Mapped result" }),
40
- (0, decorators_js_2.output)({ handle: "result" }),
41
- __metadata("design:type", Object)
42
- ], MapFlowNode.prototype, "result", void 0);
43
- exports.MapFlowNode = MapFlowNode = __decorate([
44
- (0, decorators_js_2.node)("core.flow.map", {
45
- kind: "core.flow.map",
46
- category: "Utility",
47
- color: "#0d9488",
48
- icon: "ti-arrows-right-left",
49
- width: 96,
50
- height: 96,
51
- labels: ["flow", "map", "transform"],
52
- metadata: {
53
- title: "Map",
54
- description: "Transforms the current input into a new output object using the configured mapper.",
55
- mapper: {},
56
- },
57
- }),
58
- (0, decorator_validation_1.model)()
59
- ], MapFlowNode);
60
- //# sourceMappingURL=map.js.map
61
- //# sourceMappingURL=map.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/utility/map.cjs","sourceRoot":"","sources":["graph/nodes/utility/map.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IAClJ,OAAO,CAAC,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C;IACrB,IAAA,oBAAI,EAAC,eAAe,EAAE;QAClB,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,sBAAsB;QAC5B,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC;QACpC,QAAQ,EAAE;YACN,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,oFAAoF;YACjG,MAAM,EAAE,EAAE;SACb;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,WAAW,CAAC,CAAC;AAEhB,+BAA+B"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MergeFlowNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/utility/merge
20
- * @summary Merge utility node declaration (DECAF-32 §22.2.2).
21
- * @description Merge — normalises branch/parallel outputs into a single
22
- * output.
23
- */
24
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
25
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
26
- const decorators_js_2 = require("./../../decorators.cjs");
27
- // Ensure category styles are registered (idempotent).
28
- require("./../category-styles.cjs");
29
- let MergeFlowNode = class MergeFlowNode extends decorator_validation_1.Model {
30
- };
31
- exports.MergeFlowNode = MergeFlowNode;
32
- __decorate([
33
- (0, decorator_validation_1.required)(),
34
- (0, decorators_js_1.uielement)("textarea", { label: "Branch outputs", placeholder: "Outputs to merge" }),
35
- (0, decorators_js_2.input)({ handle: "values" }),
36
- __metadata("design:type", Array)
37
- ], MergeFlowNode.prototype, "values", void 0);
38
- __decorate([
39
- (0, decorator_validation_1.required)(),
40
- (0, decorators_js_1.uielement)("input", { label: "Merged output", placeholder: "Merged result" }),
41
- (0, decorators_js_2.output)({ handle: "merged" }),
42
- __metadata("design:type", Object)
43
- ], MergeFlowNode.prototype, "merged", void 0);
44
- exports.MergeFlowNode = MergeFlowNode = __decorate([
45
- (0, decorators_js_2.node)("core.flow.merge", {
46
- kind: "core.flow.merge",
47
- category: "Utility",
48
- color: "#0d9488",
49
- icon: "ti-arrows-merge",
50
- width: 96,
51
- height: 96,
52
- labels: ["flow", "merge", "join"],
53
- metadata: {
54
- title: "Merge",
55
- description: "Merges multiple branch outputs into a single normalised output object.",
56
- strategy: "concat",
57
- },
58
- }),
59
- (0, decorator_validation_1.model)()
60
- ], MergeFlowNode);
61
- //# sourceMappingURL=merge.js.map
62
- //# sourceMappingURL=merge.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/utility/merge.cjs","sourceRoot":"","sources":["graph/nodes/utility/merge.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CA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AAC;IACP,IAAA,+BAAQ,GAAE;IACV,IAAA,yBAAS,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IACnF,IAAA,qBAAK,EAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC3B,UAAU,CAAC,aAAa,EAAE,KAAK,CAAC;CACnC,EAAE,aAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAC9C,UAAU,CAAC;IACP,IAAA,+BAAQ,GAAE;IACV,IAAA,yBAAS,EAAC,OAAO,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;IAC5E,IAAA,sBAAM,EAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC5B,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,aAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAC9C,wBAAA,aAAa,GAAG,UAAU,CAAC;IACvB,IAAA,oBAAI,EAAC,iBAAiB,EAAE;QACpB,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;QACjC,QAAQ,EAAE;YACN,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,wEAAwE;YACrF,QAAQ,EAAE,QAAQ;SACrB;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,aAAa,CAAC,CAAC;AAElB,iCAAiC"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReturnFlowNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module ui-decorators/graph/nodes/utility/return
20
- * @summary Return utility node declaration (DECAF-32 §22.2.2).
21
- * @description Return — defines and normalises the final workflow output.
22
- */
23
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
24
- const decorators_js_1 = require("./../../../ui/decorators.cjs");
25
- const decorators_js_2 = require("./../../decorators.cjs");
26
- // Ensure category styles are registered (idempotent).
27
- require("./../category-styles.cjs");
28
- let ReturnFlowNode = class ReturnFlowNode extends decorator_validation_1.Model {
29
- };
30
- exports.ReturnFlowNode = ReturnFlowNode;
31
- __decorate([
32
- (0, decorator_validation_1.required)(),
33
- (0, decorators_js_1.uielement)("textarea", { label: "Input value", placeholder: "Value to normalise" }),
34
- (0, decorators_js_2.input)({ handle: "value" }),
35
- __metadata("design:type", Object)
36
- ], ReturnFlowNode.prototype, "value", void 0);
37
- __decorate([
38
- (0, decorator_validation_1.required)(),
39
- (0, decorators_js_1.uielement)("input", { label: "Returned output", placeholder: "Normalised output" }),
40
- (0, decorators_js_2.output)({ handle: "result" }),
41
- __metadata("design:type", Object)
42
- ], ReturnFlowNode.prototype, "result", void 0);
43
- exports.ReturnFlowNode = ReturnFlowNode = __decorate([
44
- (0, decorators_js_2.node)("core.flow.return", {
45
- kind: "core.flow.return",
46
- category: "Utility",
47
- color: "#0d9488",
48
- icon: "ti-arrow-back-up",
49
- width: 96,
50
- height: 96,
51
- labels: ["flow", "return", "output"],
52
- metadata: {
53
- title: "Return",
54
- description: "Normalises the input into the final workflow output object.",
55
- outputSchema: {},
56
- },
57
- }),
58
- (0, decorator_validation_1.model)()
59
- ], ReturnFlowNode);
60
- //# sourceMappingURL=return.js.map
61
- //# sourceMappingURL=return.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/nodes/utility/return.cjs","sourceRoot":"","sources":["graph/nodes/utility/return.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC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