@almadar/std 3.1.0 → 3.1.2

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 (256) hide show
  1. package/behaviors/exports/atoms/std-async.orb +2 -1
  2. package/behaviors/exports/atoms/std-browse.orb +2 -1
  3. package/behaviors/exports/atoms/std-cache-aside.orb +2 -1
  4. package/behaviors/exports/atoms/std-circuit-breaker.orb +2 -1
  5. package/behaviors/exports/atoms/std-collision.orb +2 -1
  6. package/behaviors/exports/atoms/std-combat-log.orb +2 -1
  7. package/behaviors/exports/atoms/std-combat.orb +2 -1
  8. package/behaviors/exports/atoms/std-confirmation.orb +2 -1
  9. package/behaviors/exports/atoms/std-dialogue-box.orb +2 -1
  10. package/behaviors/exports/atoms/std-display.orb +2 -1
  11. package/behaviors/exports/atoms/std-drawer.orb +2 -1
  12. package/behaviors/exports/atoms/std-filter.orb +2 -1
  13. package/behaviors/exports/atoms/std-game-audio.orb +2 -1
  14. package/behaviors/exports/atoms/std-game-hud.orb +2 -1
  15. package/behaviors/exports/atoms/std-game-menu.orb +2 -1
  16. package/behaviors/exports/atoms/std-game-over-screen.orb +2 -1
  17. package/behaviors/exports/atoms/std-gameflow.orb +2 -1
  18. package/behaviors/exports/atoms/std-input.orb +2 -1
  19. package/behaviors/exports/atoms/std-inventory-panel.orb +2 -1
  20. package/behaviors/exports/atoms/std-isometric-canvas.orb +2 -1
  21. package/behaviors/exports/atoms/std-loading.orb +2 -1
  22. package/behaviors/exports/atoms/std-modal.orb +2 -1
  23. package/behaviors/exports/atoms/std-movement.orb +2 -1
  24. package/behaviors/exports/atoms/std-notification.orb +2 -1
  25. package/behaviors/exports/atoms/std-overworld.orb +2 -1
  26. package/behaviors/exports/atoms/std-pagination.orb +2 -1
  27. package/behaviors/exports/atoms/std-physics2d.orb +2 -1
  28. package/behaviors/exports/atoms/std-platformer-canvas.orb +2 -1
  29. package/behaviors/exports/atoms/std-quest.orb +2 -1
  30. package/behaviors/exports/atoms/std-rate-limiter.orb +2 -1
  31. package/behaviors/exports/atoms/std-score-board.orb +2 -1
  32. package/behaviors/exports/atoms/std-score.orb +2 -1
  33. package/behaviors/exports/atoms/std-search.orb +2 -1
  34. package/behaviors/exports/atoms/std-selection.orb +2 -1
  35. package/behaviors/exports/atoms/std-simulation-canvas.orb +2 -1
  36. package/behaviors/exports/atoms/std-sort.orb +2 -1
  37. package/behaviors/exports/atoms/std-sprite.orb +2 -1
  38. package/behaviors/exports/atoms/std-tabs.orb +2 -1
  39. package/behaviors/exports/atoms/std-timer.orb +2 -1
  40. package/behaviors/exports/atoms/std-undo.orb +2 -1
  41. package/behaviors/exports/atoms/std-wizard.orb +2 -1
  42. package/behaviors/exports/molecules/std-builder-game.orb +2 -1
  43. package/behaviors/exports/molecules/std-cart.orb +2 -1
  44. package/behaviors/exports/molecules/std-classifier-game.orb +2 -1
  45. package/behaviors/exports/molecules/std-debugger-game.orb +2 -1
  46. package/behaviors/exports/molecules/std-detail.orb +2 -1
  47. package/behaviors/exports/molecules/std-event-handler-game.orb +2 -1
  48. package/behaviors/exports/molecules/std-geospatial.orb +2 -1
  49. package/behaviors/exports/molecules/std-inventory.orb +2 -1
  50. package/behaviors/exports/molecules/std-list.orb +2 -1
  51. package/behaviors/exports/molecules/std-messaging.orb +2 -1
  52. package/behaviors/exports/molecules/std-negotiator-game.orb +2 -1
  53. package/behaviors/exports/molecules/std-platformer-game.orb +2 -1
  54. package/behaviors/exports/molecules/std-puzzle-game.orb +2 -1
  55. package/behaviors/exports/molecules/std-sequencer-game.orb +2 -1
  56. package/behaviors/exports/molecules/std-simulator-game.orb +2 -1
  57. package/behaviors/exports/molecules/std-turn-based-battle.orb +2 -1
  58. package/behaviors/exports/organisms/std-api-gateway.orb +2 -1
  59. package/behaviors/exports/organisms/std-arcade-game.orb +2 -1
  60. package/behaviors/exports/organisms/std-booking-system.orb +2 -1
  61. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2 -1
  62. package/behaviors/exports/organisms/std-cms.orb +2 -1
  63. package/behaviors/exports/organisms/std-coding-academy.orb +2 -1
  64. package/behaviors/exports/organisms/std-crm.orb +2 -1
  65. package/behaviors/exports/organisms/std-devops-dashboard.orb +2 -1
  66. package/behaviors/exports/organisms/std-ecommerce.orb +2 -1
  67. package/behaviors/exports/organisms/std-finance-tracker.orb +2 -1
  68. package/behaviors/exports/organisms/std-healthcare.orb +2 -1
  69. package/behaviors/exports/organisms/std-helpdesk.orb +2 -1
  70. package/behaviors/exports/organisms/std-hr-portal.orb +2 -1
  71. package/behaviors/exports/organisms/std-iot-dashboard.orb +2 -1
  72. package/behaviors/exports/organisms/std-lms.orb +2 -1
  73. package/behaviors/exports/organisms/std-logic-training.orb +2 -1
  74. package/behaviors/exports/organisms/std-platformer-app.orb +2 -1
  75. package/behaviors/exports/organisms/std-project-manager.orb +2 -1
  76. package/behaviors/exports/organisms/std-puzzle-app.orb +2 -1
  77. package/behaviors/exports/organisms/std-realtime-chat.orb +2 -1
  78. package/behaviors/exports/organisms/std-rpg-game.orb +2 -1
  79. package/behaviors/exports/organisms/std-social-feed.orb +2 -1
  80. package/behaviors/exports/organisms/std-stem-lab.orb +2 -1
  81. package/behaviors/exports/organisms/std-strategy-game.orb +2 -1
  82. package/behaviors/exports/organisms/std-trading-dashboard.orb +2 -1
  83. package/dist/behaviors/exports/atoms/std-async.orb +421 -0
  84. package/dist/behaviors/exports/atoms/std-browse.orb +174 -0
  85. package/dist/behaviors/exports/atoms/std-cache-aside.orb +882 -0
  86. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +502 -0
  87. package/dist/behaviors/exports/atoms/std-collision.orb +617 -0
  88. package/dist/behaviors/exports/atoms/std-combat-log.orb +146 -0
  89. package/dist/behaviors/exports/atoms/std-combat.orb +411 -0
  90. package/dist/behaviors/exports/atoms/std-confirmation.orb +283 -0
  91. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +239 -0
  92. package/dist/behaviors/exports/atoms/std-display.orb +843 -0
  93. package/dist/behaviors/exports/atoms/std-drawer.orb +317 -0
  94. package/dist/behaviors/exports/atoms/std-filter.orb +443 -0
  95. package/dist/behaviors/exports/atoms/std-game-audio.orb +114 -0
  96. package/dist/behaviors/exports/atoms/std-game-hud.orb +152 -0
  97. package/dist/behaviors/exports/atoms/std-game-menu.orb +212 -0
  98. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +196 -0
  99. package/dist/behaviors/exports/atoms/std-gameflow.orb +319 -0
  100. package/dist/behaviors/exports/atoms/std-input.orb +630 -0
  101. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +256 -0
  102. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +632 -0
  103. package/dist/behaviors/exports/atoms/std-loading.orb +512 -0
  104. package/dist/behaviors/exports/atoms/std-modal.orb +271 -0
  105. package/dist/behaviors/exports/atoms/std-movement.orb +1038 -0
  106. package/dist/behaviors/exports/atoms/std-notification.orb +419 -0
  107. package/dist/behaviors/exports/atoms/std-overworld.orb +484 -0
  108. package/dist/behaviors/exports/atoms/std-pagination.orb +332 -0
  109. package/dist/behaviors/exports/atoms/std-physics2d.orb +420 -0
  110. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +258 -0
  111. package/dist/behaviors/exports/atoms/std-quest.orb +981 -0
  112. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +639 -0
  113. package/dist/behaviors/exports/atoms/std-score-board.orb +239 -0
  114. package/dist/behaviors/exports/atoms/std-score.orb +467 -0
  115. package/dist/behaviors/exports/atoms/std-search.orb +374 -0
  116. package/dist/behaviors/exports/atoms/std-selection.orb +760 -0
  117. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +184 -0
  118. package/dist/behaviors/exports/atoms/std-sort.orb +579 -0
  119. package/dist/behaviors/exports/atoms/std-sprite.orb +157 -0
  120. package/dist/behaviors/exports/atoms/std-tabs.orb +275 -0
  121. package/dist/behaviors/exports/atoms/std-timer.orb +1031 -0
  122. package/dist/behaviors/exports/atoms/std-undo.orb +695 -0
  123. package/dist/behaviors/exports/atoms/std-wizard.orb +667 -0
  124. package/dist/behaviors/exports/molecules/std-builder-game.orb +184 -0
  125. package/dist/behaviors/exports/molecules/std-cart.orb +592 -0
  126. package/dist/behaviors/exports/molecules/std-classifier-game.orb +184 -0
  127. package/dist/behaviors/exports/molecules/std-debugger-game.orb +184 -0
  128. package/dist/behaviors/exports/molecules/std-detail.orb +590 -0
  129. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +184 -0
  130. package/dist/behaviors/exports/molecules/std-geospatial.orb +650 -0
  131. package/dist/behaviors/exports/molecules/std-inventory.orb +854 -0
  132. package/dist/behaviors/exports/molecules/std-list.orb +955 -0
  133. package/dist/behaviors/exports/molecules/std-messaging.orb +586 -0
  134. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +184 -0
  135. package/dist/behaviors/exports/molecules/std-platformer-game.orb +497 -0
  136. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +528 -0
  137. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +184 -0
  138. package/dist/behaviors/exports/molecules/std-simulator-game.orb +184 -0
  139. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +444 -0
  140. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2297 -0
  141. package/dist/behaviors/exports/organisms/std-arcade-game.orb +834 -0
  142. package/dist/behaviors/exports/organisms/std-booking-system.orb +3978 -0
  143. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2215 -0
  144. package/dist/behaviors/exports/organisms/std-cms.orb +2645 -0
  145. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1395 -0
  146. package/dist/behaviors/exports/organisms/std-crm.orb +3542 -0
  147. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3135 -0
  148. package/dist/behaviors/exports/organisms/std-ecommerce.orb +3744 -0
  149. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +2386 -0
  150. package/dist/behaviors/exports/organisms/std-healthcare.orb +4680 -0
  151. package/dist/behaviors/exports/organisms/std-helpdesk.orb +2565 -0
  152. package/dist/behaviors/exports/organisms/std-hr-portal.orb +4030 -0
  153. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2298 -0
  154. package/dist/behaviors/exports/organisms/std-lms.orb +2855 -0
  155. package/dist/behaviors/exports/organisms/std-logic-training.orb +599 -0
  156. package/dist/behaviors/exports/organisms/std-platformer-app.orb +1570 -0
  157. package/dist/behaviors/exports/organisms/std-project-manager.orb +3022 -0
  158. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +744 -0
  159. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2381 -0
  160. package/dist/behaviors/exports/organisms/std-rpg-game.orb +2805 -0
  161. package/dist/behaviors/exports/organisms/std-social-feed.orb +1222 -0
  162. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1211 -0
  163. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1762 -0
  164. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +2218 -0
  165. package/dist/behaviors/exports-reader.d.ts +2 -0
  166. package/dist/behaviors/exports-reader.js +5 -3
  167. package/dist/behaviors/exports-reader.js.map +1 -1
  168. package/dist/behaviors/index.js +5 -3
  169. package/dist/behaviors/index.js.map +1 -1
  170. package/dist/exports/atoms/std-async.orb +421 -0
  171. package/dist/exports/atoms/std-browse.orb +174 -0
  172. package/dist/exports/atoms/std-cache-aside.orb +882 -0
  173. package/dist/exports/atoms/std-circuit-breaker.orb +502 -0
  174. package/dist/exports/atoms/std-collision.orb +617 -0
  175. package/dist/exports/atoms/std-combat-log.orb +146 -0
  176. package/dist/exports/atoms/std-combat.orb +411 -0
  177. package/dist/exports/atoms/std-confirmation.orb +283 -0
  178. package/dist/exports/atoms/std-dialogue-box.orb +239 -0
  179. package/dist/exports/atoms/std-display.orb +843 -0
  180. package/dist/exports/atoms/std-drawer.orb +317 -0
  181. package/dist/exports/atoms/std-filter.orb +443 -0
  182. package/dist/exports/atoms/std-game-audio.orb +114 -0
  183. package/dist/exports/atoms/std-game-hud.orb +152 -0
  184. package/dist/exports/atoms/std-game-menu.orb +212 -0
  185. package/dist/exports/atoms/std-game-over-screen.orb +196 -0
  186. package/dist/exports/atoms/std-gameflow.orb +319 -0
  187. package/dist/exports/atoms/std-input.orb +630 -0
  188. package/dist/exports/atoms/std-inventory-panel.orb +256 -0
  189. package/dist/exports/atoms/std-isometric-canvas.orb +632 -0
  190. package/dist/exports/atoms/std-loading.orb +512 -0
  191. package/dist/exports/atoms/std-modal.orb +271 -0
  192. package/dist/exports/atoms/std-movement.orb +1038 -0
  193. package/dist/exports/atoms/std-notification.orb +419 -0
  194. package/dist/exports/atoms/std-overworld.orb +484 -0
  195. package/dist/exports/atoms/std-pagination.orb +332 -0
  196. package/dist/exports/atoms/std-physics2d.orb +420 -0
  197. package/dist/exports/atoms/std-platformer-canvas.orb +258 -0
  198. package/dist/exports/atoms/std-quest.orb +981 -0
  199. package/dist/exports/atoms/std-rate-limiter.orb +639 -0
  200. package/dist/exports/atoms/std-score-board.orb +239 -0
  201. package/dist/exports/atoms/std-score.orb +467 -0
  202. package/dist/exports/atoms/std-search.orb +374 -0
  203. package/dist/exports/atoms/std-selection.orb +760 -0
  204. package/dist/exports/atoms/std-simulation-canvas.orb +184 -0
  205. package/dist/exports/atoms/std-sort.orb +579 -0
  206. package/dist/exports/atoms/std-sprite.orb +157 -0
  207. package/dist/exports/atoms/std-tabs.orb +275 -0
  208. package/dist/exports/atoms/std-timer.orb +1031 -0
  209. package/dist/exports/atoms/std-undo.orb +695 -0
  210. package/dist/exports/atoms/std-wizard.orb +667 -0
  211. package/dist/exports/molecules/std-builder-game.orb +184 -0
  212. package/dist/exports/molecules/std-cart.orb +592 -0
  213. package/dist/exports/molecules/std-classifier-game.orb +184 -0
  214. package/dist/exports/molecules/std-debugger-game.orb +184 -0
  215. package/dist/exports/molecules/std-detail.orb +590 -0
  216. package/dist/exports/molecules/std-event-handler-game.orb +184 -0
  217. package/dist/exports/molecules/std-geospatial.orb +650 -0
  218. package/dist/exports/molecules/std-inventory.orb +854 -0
  219. package/dist/exports/molecules/std-list.orb +955 -0
  220. package/dist/exports/molecules/std-messaging.orb +586 -0
  221. package/dist/exports/molecules/std-negotiator-game.orb +184 -0
  222. package/dist/exports/molecules/std-platformer-game.orb +497 -0
  223. package/dist/exports/molecules/std-puzzle-game.orb +528 -0
  224. package/dist/exports/molecules/std-sequencer-game.orb +184 -0
  225. package/dist/exports/molecules/std-simulator-game.orb +184 -0
  226. package/dist/exports/molecules/std-turn-based-battle.orb +444 -0
  227. package/dist/exports/organisms/std-api-gateway.orb +2297 -0
  228. package/dist/exports/organisms/std-arcade-game.orb +834 -0
  229. package/dist/exports/organisms/std-booking-system.orb +3978 -0
  230. package/dist/exports/organisms/std-cicd-pipeline.orb +2215 -0
  231. package/dist/exports/organisms/std-cms.orb +2645 -0
  232. package/dist/exports/organisms/std-coding-academy.orb +1395 -0
  233. package/dist/exports/organisms/std-crm.orb +3542 -0
  234. package/dist/exports/organisms/std-devops-dashboard.orb +3135 -0
  235. package/dist/exports/organisms/std-ecommerce.orb +3744 -0
  236. package/dist/exports/organisms/std-finance-tracker.orb +2386 -0
  237. package/dist/exports/organisms/std-healthcare.orb +4680 -0
  238. package/dist/exports/organisms/std-helpdesk.orb +2565 -0
  239. package/dist/exports/organisms/std-hr-portal.orb +4030 -0
  240. package/dist/exports/organisms/std-iot-dashboard.orb +2298 -0
  241. package/dist/exports/organisms/std-lms.orb +2855 -0
  242. package/dist/exports/organisms/std-logic-training.orb +599 -0
  243. package/dist/exports/organisms/std-platformer-app.orb +1570 -0
  244. package/dist/exports/organisms/std-project-manager.orb +3022 -0
  245. package/dist/exports/organisms/std-puzzle-app.orb +744 -0
  246. package/dist/exports/organisms/std-realtime-chat.orb +2381 -0
  247. package/dist/exports/organisms/std-rpg-game.orb +2805 -0
  248. package/dist/exports/organisms/std-social-feed.orb +1222 -0
  249. package/dist/exports/organisms/std-stem-lab.orb +1211 -0
  250. package/dist/exports/organisms/std-strategy-game.orb +1762 -0
  251. package/dist/exports/organisms/std-trading-dashboard.orb +2218 -0
  252. package/dist/index.js +5 -3
  253. package/dist/index.js.map +1 -1
  254. package/package.json +1 -1
  255. package/behaviors/exports/atoms/std-game-canvas-2d.orb +0 -135
  256. package/behaviors/exports/atoms/std-game-canvas-3d.orb +0 -224
@@ -0,0 +1,667 @@
1
+ {
2
+ "name": "ItemOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "ItemOrbital",
6
+ "entity": {
7
+ "name": "Item",
8
+ "persistence": "runtime",
9
+ "fields": [
10
+ {
11
+ "name": "id",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "name": "name",
16
+ "type": "string"
17
+ },
18
+ {
19
+ "name": "description",
20
+ "type": "string"
21
+ },
22
+ {
23
+ "name": "status",
24
+ "type": "string",
25
+ "default": "active"
26
+ },
27
+ {
28
+ "name": "createdAt",
29
+ "type": "string"
30
+ }
31
+ ]
32
+ },
33
+ "traits": [
34
+ {
35
+ "name": "ItemWizard",
36
+ "linkedEntity": "Item",
37
+ "category": "interaction",
38
+ "stateMachine": {
39
+ "states": [
40
+ {
41
+ "name": "step1",
42
+ "isInitial": true
43
+ },
44
+ {
45
+ "name": "review"
46
+ },
47
+ {
48
+ "name": "complete"
49
+ }
50
+ ],
51
+ "events": [
52
+ {
53
+ "key": "INIT",
54
+ "name": "Initialize"
55
+ },
56
+ {
57
+ "key": "NEXT",
58
+ "name": "Next Step",
59
+ "payload": [
60
+ {
61
+ "name": "data",
62
+ "type": "object",
63
+ "required": true
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "key": "PREV",
69
+ "name": "Previous Step"
70
+ },
71
+ {
72
+ "key": "COMPLETE",
73
+ "name": "Complete Wizard",
74
+ "payload": [
75
+ {
76
+ "name": "data",
77
+ "type": "object",
78
+ "required": true
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "key": "RESTART",
84
+ "name": "Restart Wizard"
85
+ }
86
+ ],
87
+ "transitions": [
88
+ {
89
+ "from": "step1",
90
+ "to": "step1",
91
+ "event": "INIT",
92
+ "effects": [
93
+ [
94
+ "fetch",
95
+ "Item"
96
+ ],
97
+ [
98
+ "render-ui",
99
+ "main",
100
+ {
101
+ "type": "stack",
102
+ "direction": "vertical",
103
+ "gap": "lg",
104
+ "children": [
105
+ {
106
+ "type": "stack",
107
+ "direction": "horizontal",
108
+ "gap": "sm",
109
+ "align": "center",
110
+ "children": [
111
+ {
112
+ "type": "icon",
113
+ "name": "clipboard",
114
+ "size": "lg"
115
+ },
116
+ {
117
+ "type": "typography",
118
+ "content": "Setup Wizard",
119
+ "variant": "h2"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "type": "badge",
125
+ "label": "Step 1 of 1"
126
+ },
127
+ {
128
+ "type": "wizard-progress",
129
+ "steps": [
130
+ "Details"
131
+ ],
132
+ "currentStep": 0
133
+ },
134
+ {
135
+ "type": "divider"
136
+ },
137
+ {
138
+ "type": "typography",
139
+ "content": "Details",
140
+ "variant": "h3"
141
+ },
142
+ {
143
+ "type": "form-section",
144
+ "entity": "Item",
145
+ "mode": "create",
146
+ "submitEvent": "NEXT",
147
+ "cancelEvent": "INIT",
148
+ "fields": [
149
+ "name",
150
+ "description",
151
+ "status",
152
+ "createdAt"
153
+ ]
154
+ },
155
+ {
156
+ "type": "stack",
157
+ "direction": "horizontal",
158
+ "gap": "sm",
159
+ "justify": "end",
160
+ "children": [
161
+ {
162
+ "type": "button",
163
+ "label": "Next",
164
+ "event": "NEXT",
165
+ "variant": "primary",
166
+ "icon": "arrow-right"
167
+ }
168
+ ]
169
+ }
170
+ ]
171
+ }
172
+ ]
173
+ ]
174
+ },
175
+ {
176
+ "from": "step1",
177
+ "to": "review",
178
+ "event": "NEXT",
179
+ "effects": [
180
+ [
181
+ "fetch",
182
+ "Item"
183
+ ],
184
+ [
185
+ "render-ui",
186
+ "main",
187
+ {
188
+ "type": "stack",
189
+ "direction": "vertical",
190
+ "gap": "lg",
191
+ "children": [
192
+ {
193
+ "type": "stack",
194
+ "direction": "horizontal",
195
+ "gap": "sm",
196
+ "align": "center",
197
+ "children": [
198
+ {
199
+ "type": "icon",
200
+ "name": "clipboard",
201
+ "size": "lg"
202
+ },
203
+ {
204
+ "type": "typography",
205
+ "content": "Setup Wizard",
206
+ "variant": "h2"
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "type": "badge",
212
+ "label": "Review"
213
+ },
214
+ {
215
+ "type": "wizard-progress",
216
+ "steps": [
217
+ "Details"
218
+ ],
219
+ "currentStep": 1
220
+ },
221
+ {
222
+ "type": "divider"
223
+ },
224
+ {
225
+ "type": "data-list",
226
+ "entity": "Item",
227
+ "children": [
228
+ {
229
+ "type": "stack",
230
+ "direction": "vertical",
231
+ "gap": "sm",
232
+ "children": [
233
+ {
234
+ "type": "stack",
235
+ "direction": "horizontal",
236
+ "gap": "md",
237
+ "justify": "space-between",
238
+ "children": [
239
+ {
240
+ "type": "typography",
241
+ "variant": "caption",
242
+ "content": "Name"
243
+ },
244
+ {
245
+ "type": "typography",
246
+ "variant": "body",
247
+ "content": "@entity.name"
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "type": "stack",
253
+ "direction": "horizontal",
254
+ "gap": "md",
255
+ "justify": "space-between",
256
+ "children": [
257
+ {
258
+ "type": "typography",
259
+ "variant": "caption",
260
+ "content": "Description"
261
+ },
262
+ {
263
+ "type": "typography",
264
+ "variant": "body",
265
+ "content": "@entity.description"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "type": "stack",
271
+ "direction": "horizontal",
272
+ "gap": "md",
273
+ "justify": "space-between",
274
+ "children": [
275
+ {
276
+ "type": "typography",
277
+ "variant": "caption",
278
+ "content": "Status"
279
+ },
280
+ {
281
+ "type": "typography",
282
+ "variant": "body",
283
+ "content": "@entity.status"
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "type": "stack",
289
+ "direction": "horizontal",
290
+ "gap": "md",
291
+ "justify": "space-between",
292
+ "children": [
293
+ {
294
+ "type": "typography",
295
+ "variant": "caption",
296
+ "content": "CreatedAt"
297
+ },
298
+ {
299
+ "type": "typography",
300
+ "variant": "body",
301
+ "content": "@entity.createdAt"
302
+ }
303
+ ]
304
+ }
305
+ ]
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "type": "stack",
311
+ "direction": "horizontal",
312
+ "gap": "sm",
313
+ "justify": "end",
314
+ "children": [
315
+ {
316
+ "type": "button",
317
+ "label": "Back",
318
+ "event": "PREV",
319
+ "variant": "ghost",
320
+ "icon": "arrow-left"
321
+ },
322
+ {
323
+ "type": "button",
324
+ "label": "Complete",
325
+ "event": "COMPLETE",
326
+ "variant": "primary",
327
+ "icon": "check"
328
+ }
329
+ ]
330
+ }
331
+ ]
332
+ }
333
+ ]
334
+ ]
335
+ },
336
+ {
337
+ "from": "review",
338
+ "to": "step1",
339
+ "event": "PREV",
340
+ "effects": [
341
+ [
342
+ "fetch",
343
+ "Item"
344
+ ],
345
+ [
346
+ "render-ui",
347
+ "main",
348
+ {
349
+ "type": "stack",
350
+ "direction": "vertical",
351
+ "gap": "lg",
352
+ "children": [
353
+ {
354
+ "type": "stack",
355
+ "direction": "horizontal",
356
+ "gap": "sm",
357
+ "align": "center",
358
+ "children": [
359
+ {
360
+ "type": "icon",
361
+ "name": "clipboard",
362
+ "size": "lg"
363
+ },
364
+ {
365
+ "type": "typography",
366
+ "content": "Setup Wizard",
367
+ "variant": "h2"
368
+ }
369
+ ]
370
+ },
371
+ {
372
+ "type": "badge",
373
+ "label": "Step 1 of 1"
374
+ },
375
+ {
376
+ "type": "wizard-progress",
377
+ "steps": [
378
+ "Details"
379
+ ],
380
+ "currentStep": 0
381
+ },
382
+ {
383
+ "type": "divider"
384
+ },
385
+ {
386
+ "type": "typography",
387
+ "content": "Details",
388
+ "variant": "h3"
389
+ },
390
+ {
391
+ "type": "form-section",
392
+ "entity": "Item",
393
+ "mode": "create",
394
+ "submitEvent": "NEXT",
395
+ "cancelEvent": "INIT",
396
+ "fields": [
397
+ "name",
398
+ "description",
399
+ "status",
400
+ "createdAt"
401
+ ]
402
+ },
403
+ {
404
+ "type": "stack",
405
+ "direction": "horizontal",
406
+ "gap": "sm",
407
+ "justify": "end",
408
+ "children": [
409
+ {
410
+ "type": "button",
411
+ "label": "Next",
412
+ "event": "NEXT",
413
+ "variant": "primary",
414
+ "icon": "arrow-right"
415
+ }
416
+ ]
417
+ }
418
+ ]
419
+ }
420
+ ]
421
+ ]
422
+ },
423
+ {
424
+ "from": "review",
425
+ "to": "complete",
426
+ "event": "COMPLETE",
427
+ "effects": [
428
+ [
429
+ "persist",
430
+ "create",
431
+ "Item",
432
+ "@payload.data"
433
+ ],
434
+ [
435
+ "notify",
436
+ "success",
437
+ "Item created successfully"
438
+ ],
439
+ [
440
+ "render-ui",
441
+ "main",
442
+ {
443
+ "type": "stack",
444
+ "direction": "vertical",
445
+ "gap": "lg",
446
+ "align": "center",
447
+ "children": [
448
+ {
449
+ "type": "icon",
450
+ "name": "check-circle",
451
+ "size": "lg"
452
+ },
453
+ {
454
+ "type": "typography",
455
+ "content": "Complete!",
456
+ "variant": "h2"
457
+ },
458
+ {
459
+ "type": "typography",
460
+ "content": "Your item has been created successfully.",
461
+ "variant": "body"
462
+ },
463
+ {
464
+ "type": "button",
465
+ "label": "Start New",
466
+ "event": "RESTART",
467
+ "variant": "primary",
468
+ "icon": "refresh-cw"
469
+ }
470
+ ]
471
+ }
472
+ ]
473
+ ]
474
+ },
475
+ {
476
+ "from": "complete",
477
+ "to": "step1",
478
+ "event": "RESTART",
479
+ "effects": [
480
+ [
481
+ "fetch",
482
+ "Item"
483
+ ],
484
+ [
485
+ "render-ui",
486
+ "main",
487
+ {
488
+ "type": "stack",
489
+ "direction": "vertical",
490
+ "gap": "lg",
491
+ "children": [
492
+ {
493
+ "type": "stack",
494
+ "direction": "horizontal",
495
+ "gap": "sm",
496
+ "align": "center",
497
+ "children": [
498
+ {
499
+ "type": "icon",
500
+ "name": "clipboard",
501
+ "size": "lg"
502
+ },
503
+ {
504
+ "type": "typography",
505
+ "content": "Setup Wizard",
506
+ "variant": "h2"
507
+ }
508
+ ]
509
+ },
510
+ {
511
+ "type": "badge",
512
+ "label": "Step 1 of 1"
513
+ },
514
+ {
515
+ "type": "wizard-progress",
516
+ "steps": [
517
+ "Details"
518
+ ],
519
+ "currentStep": 0
520
+ },
521
+ {
522
+ "type": "divider"
523
+ },
524
+ {
525
+ "type": "typography",
526
+ "content": "Details",
527
+ "variant": "h3"
528
+ },
529
+ {
530
+ "type": "form-section",
531
+ "entity": "Item",
532
+ "mode": "create",
533
+ "submitEvent": "NEXT",
534
+ "cancelEvent": "INIT",
535
+ "fields": [
536
+ "name",
537
+ "description",
538
+ "status",
539
+ "createdAt"
540
+ ]
541
+ },
542
+ {
543
+ "type": "stack",
544
+ "direction": "horizontal",
545
+ "gap": "sm",
546
+ "justify": "end",
547
+ "children": [
548
+ {
549
+ "type": "button",
550
+ "label": "Next",
551
+ "event": "NEXT",
552
+ "variant": "primary",
553
+ "icon": "arrow-right"
554
+ }
555
+ ]
556
+ }
557
+ ]
558
+ }
559
+ ]
560
+ ]
561
+ },
562
+ {
563
+ "from": "complete",
564
+ "to": "step1",
565
+ "event": "INIT",
566
+ "effects": [
567
+ [
568
+ "fetch",
569
+ "Item"
570
+ ],
571
+ [
572
+ "render-ui",
573
+ "main",
574
+ {
575
+ "type": "stack",
576
+ "direction": "vertical",
577
+ "gap": "lg",
578
+ "children": [
579
+ {
580
+ "type": "stack",
581
+ "direction": "horizontal",
582
+ "gap": "sm",
583
+ "align": "center",
584
+ "children": [
585
+ {
586
+ "type": "icon",
587
+ "name": "clipboard",
588
+ "size": "lg"
589
+ },
590
+ {
591
+ "type": "typography",
592
+ "content": "Setup Wizard",
593
+ "variant": "h2"
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "type": "badge",
599
+ "label": "Step 1 of 1"
600
+ },
601
+ {
602
+ "type": "wizard-progress",
603
+ "steps": [
604
+ "Details"
605
+ ],
606
+ "currentStep": 0
607
+ },
608
+ {
609
+ "type": "divider"
610
+ },
611
+ {
612
+ "type": "typography",
613
+ "content": "Details",
614
+ "variant": "h3"
615
+ },
616
+ {
617
+ "type": "form-section",
618
+ "entity": "Item",
619
+ "mode": "create",
620
+ "submitEvent": "NEXT",
621
+ "cancelEvent": "INIT",
622
+ "fields": [
623
+ "name",
624
+ "description",
625
+ "status",
626
+ "createdAt"
627
+ ]
628
+ },
629
+ {
630
+ "type": "stack",
631
+ "direction": "horizontal",
632
+ "gap": "sm",
633
+ "justify": "end",
634
+ "children": [
635
+ {
636
+ "type": "button",
637
+ "label": "Next",
638
+ "event": "NEXT",
639
+ "variant": "primary",
640
+ "icon": "arrow-right"
641
+ }
642
+ ]
643
+ }
644
+ ]
645
+ }
646
+ ]
647
+ ]
648
+ }
649
+ ]
650
+ }
651
+ }
652
+ ],
653
+ "pages": [
654
+ {
655
+ "name": "ItemPage",
656
+ "path": "/wizard",
657
+ "traits": [
658
+ {
659
+ "ref": "ItemWizard"
660
+ }
661
+ ]
662
+ }
663
+ ]
664
+ }
665
+ ],
666
+ "description": "Multi-step wizard behavior parameterized for any domain. Generates a dynamic number of steps based on the `steps` parameter, with a review screen and completion view. Pure function: params in, OrbitalDefinition out."
667
+ }