@almadar/std 3.1.0 → 3.1.1

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 (176) hide show
  1. package/dist/behaviors/exports/atoms/std-async.orb +420 -0
  2. package/dist/behaviors/exports/atoms/std-browse.orb +173 -0
  3. package/dist/behaviors/exports/atoms/std-cache-aside.orb +881 -0
  4. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +501 -0
  5. package/dist/behaviors/exports/atoms/std-collision.orb +616 -0
  6. package/dist/behaviors/exports/atoms/std-combat-log.orb +145 -0
  7. package/dist/behaviors/exports/atoms/std-combat.orb +410 -0
  8. package/dist/behaviors/exports/atoms/std-confirmation.orb +282 -0
  9. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +238 -0
  10. package/dist/behaviors/exports/atoms/std-display.orb +842 -0
  11. package/dist/behaviors/exports/atoms/std-drawer.orb +316 -0
  12. package/dist/behaviors/exports/atoms/std-filter.orb +442 -0
  13. package/dist/behaviors/exports/atoms/std-game-audio.orb +113 -0
  14. package/dist/behaviors/exports/atoms/std-game-canvas-2d.orb +135 -0
  15. package/dist/behaviors/exports/atoms/std-game-canvas-3d.orb +224 -0
  16. package/dist/behaviors/exports/atoms/std-game-hud.orb +151 -0
  17. package/dist/behaviors/exports/atoms/std-game-menu.orb +211 -0
  18. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +195 -0
  19. package/dist/behaviors/exports/atoms/std-gameflow.orb +318 -0
  20. package/dist/behaviors/exports/atoms/std-input.orb +629 -0
  21. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +255 -0
  22. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +631 -0
  23. package/dist/behaviors/exports/atoms/std-loading.orb +511 -0
  24. package/dist/behaviors/exports/atoms/std-modal.orb +270 -0
  25. package/dist/behaviors/exports/atoms/std-movement.orb +1037 -0
  26. package/dist/behaviors/exports/atoms/std-notification.orb +418 -0
  27. package/dist/behaviors/exports/atoms/std-overworld.orb +483 -0
  28. package/dist/behaviors/exports/atoms/std-pagination.orb +331 -0
  29. package/dist/behaviors/exports/atoms/std-physics2d.orb +419 -0
  30. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +257 -0
  31. package/dist/behaviors/exports/atoms/std-quest.orb +980 -0
  32. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +638 -0
  33. package/dist/behaviors/exports/atoms/std-score-board.orb +238 -0
  34. package/dist/behaviors/exports/atoms/std-score.orb +466 -0
  35. package/dist/behaviors/exports/atoms/std-search.orb +373 -0
  36. package/dist/behaviors/exports/atoms/std-selection.orb +759 -0
  37. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +183 -0
  38. package/dist/behaviors/exports/atoms/std-sort.orb +578 -0
  39. package/dist/behaviors/exports/atoms/std-sprite.orb +156 -0
  40. package/dist/behaviors/exports/atoms/std-tabs.orb +274 -0
  41. package/dist/behaviors/exports/atoms/std-timer.orb +1030 -0
  42. package/dist/behaviors/exports/atoms/std-undo.orb +694 -0
  43. package/dist/behaviors/exports/atoms/std-wizard.orb +666 -0
  44. package/dist/behaviors/exports/molecules/std-builder-game.orb +183 -0
  45. package/dist/behaviors/exports/molecules/std-cart.orb +591 -0
  46. package/dist/behaviors/exports/molecules/std-classifier-game.orb +183 -0
  47. package/dist/behaviors/exports/molecules/std-debugger-game.orb +183 -0
  48. package/dist/behaviors/exports/molecules/std-detail.orb +589 -0
  49. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +183 -0
  50. package/dist/behaviors/exports/molecules/std-geospatial.orb +649 -0
  51. package/dist/behaviors/exports/molecules/std-inventory.orb +853 -0
  52. package/dist/behaviors/exports/molecules/std-list.orb +954 -0
  53. package/dist/behaviors/exports/molecules/std-messaging.orb +585 -0
  54. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +183 -0
  55. package/dist/behaviors/exports/molecules/std-platformer-game.orb +496 -0
  56. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +527 -0
  57. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +183 -0
  58. package/dist/behaviors/exports/molecules/std-simulator-game.orb +183 -0
  59. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +443 -0
  60. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2296 -0
  61. package/dist/behaviors/exports/organisms/std-arcade-game.orb +833 -0
  62. package/dist/behaviors/exports/organisms/std-booking-system.orb +3977 -0
  63. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2214 -0
  64. package/dist/behaviors/exports/organisms/std-cms.orb +2644 -0
  65. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1394 -0
  66. package/dist/behaviors/exports/organisms/std-crm.orb +3541 -0
  67. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3134 -0
  68. package/dist/behaviors/exports/organisms/std-ecommerce.orb +3743 -0
  69. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +2385 -0
  70. package/dist/behaviors/exports/organisms/std-healthcare.orb +4679 -0
  71. package/dist/behaviors/exports/organisms/std-helpdesk.orb +2564 -0
  72. package/dist/behaviors/exports/organisms/std-hr-portal.orb +4029 -0
  73. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2297 -0
  74. package/dist/behaviors/exports/organisms/std-lms.orb +2854 -0
  75. package/dist/behaviors/exports/organisms/std-logic-training.orb +598 -0
  76. package/dist/behaviors/exports/organisms/std-platformer-app.orb +1569 -0
  77. package/dist/behaviors/exports/organisms/std-project-manager.orb +3021 -0
  78. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +743 -0
  79. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2380 -0
  80. package/dist/behaviors/exports/organisms/std-rpg-game.orb +2804 -0
  81. package/dist/behaviors/exports/organisms/std-social-feed.orb +1221 -0
  82. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1210 -0
  83. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1761 -0
  84. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +2217 -0
  85. package/dist/behaviors/exports-reader.d.ts +2 -0
  86. package/dist/behaviors/exports-reader.js +5 -3
  87. package/dist/behaviors/exports-reader.js.map +1 -1
  88. package/dist/behaviors/index.js +5 -3
  89. package/dist/behaviors/index.js.map +1 -1
  90. package/dist/exports/atoms/std-async.orb +420 -0
  91. package/dist/exports/atoms/std-browse.orb +173 -0
  92. package/dist/exports/atoms/std-cache-aside.orb +881 -0
  93. package/dist/exports/atoms/std-circuit-breaker.orb +501 -0
  94. package/dist/exports/atoms/std-collision.orb +616 -0
  95. package/dist/exports/atoms/std-combat-log.orb +145 -0
  96. package/dist/exports/atoms/std-combat.orb +410 -0
  97. package/dist/exports/atoms/std-confirmation.orb +282 -0
  98. package/dist/exports/atoms/std-dialogue-box.orb +238 -0
  99. package/dist/exports/atoms/std-display.orb +842 -0
  100. package/dist/exports/atoms/std-drawer.orb +316 -0
  101. package/dist/exports/atoms/std-filter.orb +442 -0
  102. package/dist/exports/atoms/std-game-audio.orb +113 -0
  103. package/dist/exports/atoms/std-game-canvas-2d.orb +135 -0
  104. package/dist/exports/atoms/std-game-canvas-3d.orb +224 -0
  105. package/dist/exports/atoms/std-game-hud.orb +151 -0
  106. package/dist/exports/atoms/std-game-menu.orb +211 -0
  107. package/dist/exports/atoms/std-game-over-screen.orb +195 -0
  108. package/dist/exports/atoms/std-gameflow.orb +318 -0
  109. package/dist/exports/atoms/std-input.orb +629 -0
  110. package/dist/exports/atoms/std-inventory-panel.orb +255 -0
  111. package/dist/exports/atoms/std-isometric-canvas.orb +631 -0
  112. package/dist/exports/atoms/std-loading.orb +511 -0
  113. package/dist/exports/atoms/std-modal.orb +270 -0
  114. package/dist/exports/atoms/std-movement.orb +1037 -0
  115. package/dist/exports/atoms/std-notification.orb +418 -0
  116. package/dist/exports/atoms/std-overworld.orb +483 -0
  117. package/dist/exports/atoms/std-pagination.orb +331 -0
  118. package/dist/exports/atoms/std-physics2d.orb +419 -0
  119. package/dist/exports/atoms/std-platformer-canvas.orb +257 -0
  120. package/dist/exports/atoms/std-quest.orb +980 -0
  121. package/dist/exports/atoms/std-rate-limiter.orb +638 -0
  122. package/dist/exports/atoms/std-score-board.orb +238 -0
  123. package/dist/exports/atoms/std-score.orb +466 -0
  124. package/dist/exports/atoms/std-search.orb +373 -0
  125. package/dist/exports/atoms/std-selection.orb +759 -0
  126. package/dist/exports/atoms/std-simulation-canvas.orb +183 -0
  127. package/dist/exports/atoms/std-sort.orb +578 -0
  128. package/dist/exports/atoms/std-sprite.orb +156 -0
  129. package/dist/exports/atoms/std-tabs.orb +274 -0
  130. package/dist/exports/atoms/std-timer.orb +1030 -0
  131. package/dist/exports/atoms/std-undo.orb +694 -0
  132. package/dist/exports/atoms/std-wizard.orb +666 -0
  133. package/dist/exports/molecules/std-builder-game.orb +183 -0
  134. package/dist/exports/molecules/std-cart.orb +591 -0
  135. package/dist/exports/molecules/std-classifier-game.orb +183 -0
  136. package/dist/exports/molecules/std-debugger-game.orb +183 -0
  137. package/dist/exports/molecules/std-detail.orb +589 -0
  138. package/dist/exports/molecules/std-event-handler-game.orb +183 -0
  139. package/dist/exports/molecules/std-geospatial.orb +649 -0
  140. package/dist/exports/molecules/std-inventory.orb +853 -0
  141. package/dist/exports/molecules/std-list.orb +954 -0
  142. package/dist/exports/molecules/std-messaging.orb +585 -0
  143. package/dist/exports/molecules/std-negotiator-game.orb +183 -0
  144. package/dist/exports/molecules/std-platformer-game.orb +496 -0
  145. package/dist/exports/molecules/std-puzzle-game.orb +527 -0
  146. package/dist/exports/molecules/std-sequencer-game.orb +183 -0
  147. package/dist/exports/molecules/std-simulator-game.orb +183 -0
  148. package/dist/exports/molecules/std-turn-based-battle.orb +443 -0
  149. package/dist/exports/organisms/std-api-gateway.orb +2296 -0
  150. package/dist/exports/organisms/std-arcade-game.orb +833 -0
  151. package/dist/exports/organisms/std-booking-system.orb +3977 -0
  152. package/dist/exports/organisms/std-cicd-pipeline.orb +2214 -0
  153. package/dist/exports/organisms/std-cms.orb +2644 -0
  154. package/dist/exports/organisms/std-coding-academy.orb +1394 -0
  155. package/dist/exports/organisms/std-crm.orb +3541 -0
  156. package/dist/exports/organisms/std-devops-dashboard.orb +3134 -0
  157. package/dist/exports/organisms/std-ecommerce.orb +3743 -0
  158. package/dist/exports/organisms/std-finance-tracker.orb +2385 -0
  159. package/dist/exports/organisms/std-healthcare.orb +4679 -0
  160. package/dist/exports/organisms/std-helpdesk.orb +2564 -0
  161. package/dist/exports/organisms/std-hr-portal.orb +4029 -0
  162. package/dist/exports/organisms/std-iot-dashboard.orb +2297 -0
  163. package/dist/exports/organisms/std-lms.orb +2854 -0
  164. package/dist/exports/organisms/std-logic-training.orb +598 -0
  165. package/dist/exports/organisms/std-platformer-app.orb +1569 -0
  166. package/dist/exports/organisms/std-project-manager.orb +3021 -0
  167. package/dist/exports/organisms/std-puzzle-app.orb +743 -0
  168. package/dist/exports/organisms/std-realtime-chat.orb +2380 -0
  169. package/dist/exports/organisms/std-rpg-game.orb +2804 -0
  170. package/dist/exports/organisms/std-social-feed.orb +1221 -0
  171. package/dist/exports/organisms/std-stem-lab.orb +1210 -0
  172. package/dist/exports/organisms/std-strategy-game.orb +1761 -0
  173. package/dist/exports/organisms/std-trading-dashboard.orb +2217 -0
  174. package/dist/index.js +5 -3
  175. package/dist/index.js.map +1 -1
  176. package/package.json +1 -1
@@ -0,0 +1,842 @@
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": "ItemDisplay",
36
+ "linkedEntity": "Item",
37
+ "category": "interaction",
38
+ "stateMachine": {
39
+ "states": [
40
+ {
41
+ "name": "loading",
42
+ "isInitial": true
43
+ },
44
+ {
45
+ "name": "displaying"
46
+ },
47
+ {
48
+ "name": "refreshing"
49
+ }
50
+ ],
51
+ "events": [
52
+ {
53
+ "key": "INIT",
54
+ "name": "Initialize"
55
+ },
56
+ {
57
+ "key": "LOADED",
58
+ "name": "Loaded"
59
+ },
60
+ {
61
+ "key": "REFRESH",
62
+ "name": "Refresh"
63
+ },
64
+ {
65
+ "key": "REFRESHED",
66
+ "name": "Refreshed"
67
+ }
68
+ ],
69
+ "transitions": [
70
+ {
71
+ "from": "loading",
72
+ "to": "displaying",
73
+ "event": "INIT",
74
+ "effects": [
75
+ [
76
+ "fetch",
77
+ "Item"
78
+ ],
79
+ [
80
+ "render-ui",
81
+ "main",
82
+ {
83
+ "type": "stack",
84
+ "direction": "vertical",
85
+ "gap": "lg",
86
+ "children": [
87
+ {
88
+ "type": "stack",
89
+ "direction": "horizontal",
90
+ "gap": "md",
91
+ "justify": "space-between",
92
+ "children": [
93
+ {
94
+ "type": "stack",
95
+ "direction": "horizontal",
96
+ "gap": "md",
97
+ "children": [
98
+ {
99
+ "type": "icon",
100
+ "name": "bar-chart-2",
101
+ "size": "lg"
102
+ },
103
+ {
104
+ "type": "typography",
105
+ "content": "Items",
106
+ "variant": "h2"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "type": "button",
112
+ "label": "Refresh",
113
+ "event": "REFRESH",
114
+ "variant": "secondary",
115
+ "icon": "refresh-cw"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "type": "divider"
121
+ },
122
+ {
123
+ "type": "simple-grid",
124
+ "columns": 3,
125
+ "children": [
126
+ {
127
+ "type": "card",
128
+ "children": [
129
+ {
130
+ "type": "stack",
131
+ "direction": "vertical",
132
+ "gap": "sm",
133
+ "children": [
134
+ {
135
+ "type": "typography",
136
+ "variant": "caption",
137
+ "content": "Name"
138
+ },
139
+ {
140
+ "type": "typography",
141
+ "variant": "h3",
142
+ "content": "@entity.name"
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "type": "card",
150
+ "children": [
151
+ {
152
+ "type": "stack",
153
+ "direction": "vertical",
154
+ "gap": "sm",
155
+ "children": [
156
+ {
157
+ "type": "typography",
158
+ "variant": "caption",
159
+ "content": "Description"
160
+ },
161
+ {
162
+ "type": "typography",
163
+ "variant": "h3",
164
+ "content": "@entity.description"
165
+ }
166
+ ]
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "type": "card",
172
+ "children": [
173
+ {
174
+ "type": "stack",
175
+ "direction": "vertical",
176
+ "gap": "sm",
177
+ "children": [
178
+ {
179
+ "type": "typography",
180
+ "variant": "caption",
181
+ "content": "Status"
182
+ },
183
+ {
184
+ "type": "typography",
185
+ "variant": "h3",
186
+ "content": "@entity.status"
187
+ }
188
+ ]
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "type": "card",
194
+ "children": [
195
+ {
196
+ "type": "stack",
197
+ "direction": "vertical",
198
+ "gap": "sm",
199
+ "children": [
200
+ {
201
+ "type": "typography",
202
+ "variant": "caption",
203
+ "content": "CreatedAt"
204
+ },
205
+ {
206
+ "type": "typography",
207
+ "variant": "h3",
208
+ "content": "@entity.createdAt"
209
+ }
210
+ ]
211
+ }
212
+ ]
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ }
218
+ ]
219
+ ]
220
+ },
221
+ {
222
+ "from": "loading",
223
+ "to": "displaying",
224
+ "event": "LOADED",
225
+ "effects": [
226
+ [
227
+ "fetch",
228
+ "Item"
229
+ ],
230
+ [
231
+ "render-ui",
232
+ "main",
233
+ {
234
+ "type": "stack",
235
+ "direction": "vertical",
236
+ "gap": "lg",
237
+ "children": [
238
+ {
239
+ "type": "stack",
240
+ "direction": "horizontal",
241
+ "gap": "md",
242
+ "justify": "space-between",
243
+ "children": [
244
+ {
245
+ "type": "stack",
246
+ "direction": "horizontal",
247
+ "gap": "md",
248
+ "children": [
249
+ {
250
+ "type": "icon",
251
+ "name": "bar-chart-2",
252
+ "size": "lg"
253
+ },
254
+ {
255
+ "type": "typography",
256
+ "content": "Items",
257
+ "variant": "h2"
258
+ }
259
+ ]
260
+ },
261
+ {
262
+ "type": "button",
263
+ "label": "Refresh",
264
+ "event": "REFRESH",
265
+ "variant": "secondary",
266
+ "icon": "refresh-cw"
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "type": "divider"
272
+ },
273
+ {
274
+ "type": "simple-grid",
275
+ "columns": 3,
276
+ "children": [
277
+ {
278
+ "type": "card",
279
+ "children": [
280
+ {
281
+ "type": "stack",
282
+ "direction": "vertical",
283
+ "gap": "sm",
284
+ "children": [
285
+ {
286
+ "type": "typography",
287
+ "variant": "caption",
288
+ "content": "Name"
289
+ },
290
+ {
291
+ "type": "typography",
292
+ "variant": "h3",
293
+ "content": "@entity.name"
294
+ }
295
+ ]
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "type": "card",
301
+ "children": [
302
+ {
303
+ "type": "stack",
304
+ "direction": "vertical",
305
+ "gap": "sm",
306
+ "children": [
307
+ {
308
+ "type": "typography",
309
+ "variant": "caption",
310
+ "content": "Description"
311
+ },
312
+ {
313
+ "type": "typography",
314
+ "variant": "h3",
315
+ "content": "@entity.description"
316
+ }
317
+ ]
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "type": "card",
323
+ "children": [
324
+ {
325
+ "type": "stack",
326
+ "direction": "vertical",
327
+ "gap": "sm",
328
+ "children": [
329
+ {
330
+ "type": "typography",
331
+ "variant": "caption",
332
+ "content": "Status"
333
+ },
334
+ {
335
+ "type": "typography",
336
+ "variant": "h3",
337
+ "content": "@entity.status"
338
+ }
339
+ ]
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ "type": "card",
345
+ "children": [
346
+ {
347
+ "type": "stack",
348
+ "direction": "vertical",
349
+ "gap": "sm",
350
+ "children": [
351
+ {
352
+ "type": "typography",
353
+ "variant": "caption",
354
+ "content": "CreatedAt"
355
+ },
356
+ {
357
+ "type": "typography",
358
+ "variant": "h3",
359
+ "content": "@entity.createdAt"
360
+ }
361
+ ]
362
+ }
363
+ ]
364
+ }
365
+ ]
366
+ }
367
+ ]
368
+ }
369
+ ]
370
+ ]
371
+ },
372
+ {
373
+ "from": "displaying",
374
+ "to": "displaying",
375
+ "event": "INIT",
376
+ "effects": [
377
+ [
378
+ "fetch",
379
+ "Item"
380
+ ],
381
+ [
382
+ "render-ui",
383
+ "main",
384
+ {
385
+ "type": "stack",
386
+ "direction": "vertical",
387
+ "gap": "lg",
388
+ "children": [
389
+ {
390
+ "type": "stack",
391
+ "direction": "horizontal",
392
+ "gap": "md",
393
+ "justify": "space-between",
394
+ "children": [
395
+ {
396
+ "type": "stack",
397
+ "direction": "horizontal",
398
+ "gap": "md",
399
+ "children": [
400
+ {
401
+ "type": "icon",
402
+ "name": "bar-chart-2",
403
+ "size": "lg"
404
+ },
405
+ {
406
+ "type": "typography",
407
+ "content": "Items",
408
+ "variant": "h2"
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "type": "button",
414
+ "label": "Refresh",
415
+ "event": "REFRESH",
416
+ "variant": "secondary",
417
+ "icon": "refresh-cw"
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "type": "divider"
423
+ },
424
+ {
425
+ "type": "simple-grid",
426
+ "columns": 3,
427
+ "children": [
428
+ {
429
+ "type": "card",
430
+ "children": [
431
+ {
432
+ "type": "stack",
433
+ "direction": "vertical",
434
+ "gap": "sm",
435
+ "children": [
436
+ {
437
+ "type": "typography",
438
+ "variant": "caption",
439
+ "content": "Name"
440
+ },
441
+ {
442
+ "type": "typography",
443
+ "variant": "h3",
444
+ "content": "@entity.name"
445
+ }
446
+ ]
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "type": "card",
452
+ "children": [
453
+ {
454
+ "type": "stack",
455
+ "direction": "vertical",
456
+ "gap": "sm",
457
+ "children": [
458
+ {
459
+ "type": "typography",
460
+ "variant": "caption",
461
+ "content": "Description"
462
+ },
463
+ {
464
+ "type": "typography",
465
+ "variant": "h3",
466
+ "content": "@entity.description"
467
+ }
468
+ ]
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "type": "card",
474
+ "children": [
475
+ {
476
+ "type": "stack",
477
+ "direction": "vertical",
478
+ "gap": "sm",
479
+ "children": [
480
+ {
481
+ "type": "typography",
482
+ "variant": "caption",
483
+ "content": "Status"
484
+ },
485
+ {
486
+ "type": "typography",
487
+ "variant": "h3",
488
+ "content": "@entity.status"
489
+ }
490
+ ]
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "type": "card",
496
+ "children": [
497
+ {
498
+ "type": "stack",
499
+ "direction": "vertical",
500
+ "gap": "sm",
501
+ "children": [
502
+ {
503
+ "type": "typography",
504
+ "variant": "caption",
505
+ "content": "CreatedAt"
506
+ },
507
+ {
508
+ "type": "typography",
509
+ "variant": "h3",
510
+ "content": "@entity.createdAt"
511
+ }
512
+ ]
513
+ }
514
+ ]
515
+ }
516
+ ]
517
+ }
518
+ ]
519
+ }
520
+ ]
521
+ ]
522
+ },
523
+ {
524
+ "from": "displaying",
525
+ "to": "refreshing",
526
+ "event": "REFRESH",
527
+ "effects": [
528
+ [
529
+ "fetch",
530
+ "Item"
531
+ ],
532
+ [
533
+ "render-ui",
534
+ "main",
535
+ {
536
+ "type": "stack",
537
+ "direction": "vertical",
538
+ "gap": "lg",
539
+ "children": [
540
+ {
541
+ "type": "stack",
542
+ "direction": "horizontal",
543
+ "gap": "md",
544
+ "justify": "space-between",
545
+ "children": [
546
+ {
547
+ "type": "stack",
548
+ "direction": "horizontal",
549
+ "gap": "md",
550
+ "children": [
551
+ {
552
+ "type": "icon",
553
+ "name": "bar-chart-2",
554
+ "size": "lg"
555
+ },
556
+ {
557
+ "type": "typography",
558
+ "content": "Items",
559
+ "variant": "h2"
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "type": "button",
565
+ "label": "Refresh",
566
+ "event": "REFRESH",
567
+ "variant": "secondary",
568
+ "icon": "refresh-cw"
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "type": "divider"
574
+ },
575
+ {
576
+ "type": "simple-grid",
577
+ "columns": 3,
578
+ "children": [
579
+ {
580
+ "type": "card",
581
+ "children": [
582
+ {
583
+ "type": "stack",
584
+ "direction": "vertical",
585
+ "gap": "sm",
586
+ "children": [
587
+ {
588
+ "type": "typography",
589
+ "variant": "caption",
590
+ "content": "Name"
591
+ },
592
+ {
593
+ "type": "typography",
594
+ "variant": "h3",
595
+ "content": "@entity.name"
596
+ }
597
+ ]
598
+ }
599
+ ]
600
+ },
601
+ {
602
+ "type": "card",
603
+ "children": [
604
+ {
605
+ "type": "stack",
606
+ "direction": "vertical",
607
+ "gap": "sm",
608
+ "children": [
609
+ {
610
+ "type": "typography",
611
+ "variant": "caption",
612
+ "content": "Description"
613
+ },
614
+ {
615
+ "type": "typography",
616
+ "variant": "h3",
617
+ "content": "@entity.description"
618
+ }
619
+ ]
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "type": "card",
625
+ "children": [
626
+ {
627
+ "type": "stack",
628
+ "direction": "vertical",
629
+ "gap": "sm",
630
+ "children": [
631
+ {
632
+ "type": "typography",
633
+ "variant": "caption",
634
+ "content": "Status"
635
+ },
636
+ {
637
+ "type": "typography",
638
+ "variant": "h3",
639
+ "content": "@entity.status"
640
+ }
641
+ ]
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "type": "card",
647
+ "children": [
648
+ {
649
+ "type": "stack",
650
+ "direction": "vertical",
651
+ "gap": "sm",
652
+ "children": [
653
+ {
654
+ "type": "typography",
655
+ "variant": "caption",
656
+ "content": "CreatedAt"
657
+ },
658
+ {
659
+ "type": "typography",
660
+ "variant": "h3",
661
+ "content": "@entity.createdAt"
662
+ }
663
+ ]
664
+ }
665
+ ]
666
+ }
667
+ ]
668
+ }
669
+ ]
670
+ }
671
+ ]
672
+ ]
673
+ },
674
+ {
675
+ "from": "refreshing",
676
+ "to": "displaying",
677
+ "event": "REFRESHED",
678
+ "effects": [
679
+ [
680
+ "fetch",
681
+ "Item"
682
+ ],
683
+ [
684
+ "render-ui",
685
+ "main",
686
+ {
687
+ "type": "stack",
688
+ "direction": "vertical",
689
+ "gap": "lg",
690
+ "children": [
691
+ {
692
+ "type": "stack",
693
+ "direction": "horizontal",
694
+ "gap": "md",
695
+ "justify": "space-between",
696
+ "children": [
697
+ {
698
+ "type": "stack",
699
+ "direction": "horizontal",
700
+ "gap": "md",
701
+ "children": [
702
+ {
703
+ "type": "icon",
704
+ "name": "bar-chart-2",
705
+ "size": "lg"
706
+ },
707
+ {
708
+ "type": "typography",
709
+ "content": "Items",
710
+ "variant": "h2"
711
+ }
712
+ ]
713
+ },
714
+ {
715
+ "type": "button",
716
+ "label": "Refresh",
717
+ "event": "REFRESH",
718
+ "variant": "secondary",
719
+ "icon": "refresh-cw"
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "type": "divider"
725
+ },
726
+ {
727
+ "type": "simple-grid",
728
+ "columns": 3,
729
+ "children": [
730
+ {
731
+ "type": "card",
732
+ "children": [
733
+ {
734
+ "type": "stack",
735
+ "direction": "vertical",
736
+ "gap": "sm",
737
+ "children": [
738
+ {
739
+ "type": "typography",
740
+ "variant": "caption",
741
+ "content": "Name"
742
+ },
743
+ {
744
+ "type": "typography",
745
+ "variant": "h3",
746
+ "content": "@entity.name"
747
+ }
748
+ ]
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "type": "card",
754
+ "children": [
755
+ {
756
+ "type": "stack",
757
+ "direction": "vertical",
758
+ "gap": "sm",
759
+ "children": [
760
+ {
761
+ "type": "typography",
762
+ "variant": "caption",
763
+ "content": "Description"
764
+ },
765
+ {
766
+ "type": "typography",
767
+ "variant": "h3",
768
+ "content": "@entity.description"
769
+ }
770
+ ]
771
+ }
772
+ ]
773
+ },
774
+ {
775
+ "type": "card",
776
+ "children": [
777
+ {
778
+ "type": "stack",
779
+ "direction": "vertical",
780
+ "gap": "sm",
781
+ "children": [
782
+ {
783
+ "type": "typography",
784
+ "variant": "caption",
785
+ "content": "Status"
786
+ },
787
+ {
788
+ "type": "typography",
789
+ "variant": "h3",
790
+ "content": "@entity.status"
791
+ }
792
+ ]
793
+ }
794
+ ]
795
+ },
796
+ {
797
+ "type": "card",
798
+ "children": [
799
+ {
800
+ "type": "stack",
801
+ "direction": "vertical",
802
+ "gap": "sm",
803
+ "children": [
804
+ {
805
+ "type": "typography",
806
+ "variant": "caption",
807
+ "content": "CreatedAt"
808
+ },
809
+ {
810
+ "type": "typography",
811
+ "variant": "h3",
812
+ "content": "@entity.createdAt"
813
+ }
814
+ ]
815
+ }
816
+ ]
817
+ }
818
+ ]
819
+ }
820
+ ]
821
+ }
822
+ ]
823
+ ]
824
+ }
825
+ ]
826
+ }
827
+ }
828
+ ],
829
+ "pages": [
830
+ {
831
+ "name": "ItemPage",
832
+ "path": "/items",
833
+ "traits": [
834
+ {
835
+ "ref": "ItemDisplay"
836
+ }
837
+ ]
838
+ }
839
+ ]
840
+ }
841
+ ]
842
+ }