@almadar/std 3.2.0 → 3.2.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 (262) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +12 -5
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  5. package/behaviors/exports/atoms/std-collision.orb +278 -206
  6. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  7. package/behaviors/exports/atoms/std-combat.orb +6 -1
  8. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  9. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  10. package/behaviors/exports/atoms/std-display.orb +166 -21
  11. package/behaviors/exports/atoms/std-drawer.orb +208 -104
  12. package/behaviors/exports/atoms/std-filter.orb +211 -18
  13. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  14. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  15. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  16. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  19. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  20. package/behaviors/exports/atoms/std-input.orb +142 -137
  21. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  22. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  23. package/behaviors/exports/atoms/std-loading.orb +27 -76
  24. package/behaviors/exports/atoms/std-modal.orb +177 -93
  25. package/behaviors/exports/atoms/std-movement.orb +401 -31
  26. package/behaviors/exports/atoms/std-notification.orb +46 -95
  27. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  28. package/behaviors/exports/atoms/std-pagination.orb +26 -89
  29. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  30. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  31. package/behaviors/exports/atoms/std-quest.orb +309 -34
  32. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  33. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  34. package/behaviors/exports/atoms/std-score.orb +211 -11
  35. package/behaviors/exports/atoms/std-search.orb +28 -27
  36. package/behaviors/exports/atoms/std-selection.orb +160 -121
  37. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  38. package/behaviors/exports/atoms/std-sort.orb +134 -24
  39. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  40. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  41. package/behaviors/exports/atoms/std-timer.orb +483 -91
  42. package/behaviors/exports/atoms/std-undo.orb +211 -81
  43. package/behaviors/exports/atoms/std-wizard.orb +31 -34
  44. package/behaviors/exports/molecules/std-builder-game.orb +6 -1
  45. package/behaviors/exports/molecules/std-cart.orb +6 -1
  46. package/behaviors/exports/molecules/std-classifier-game.orb +6 -1
  47. package/behaviors/exports/molecules/std-debugger-game.orb +6 -1
  48. package/behaviors/exports/molecules/std-detail.orb +12 -5
  49. package/behaviors/exports/molecules/std-event-handler-game.orb +6 -1
  50. package/behaviors/exports/molecules/std-geospatial.orb +28 -9
  51. package/behaviors/exports/molecules/std-inventory.orb +28 -9
  52. package/behaviors/exports/molecules/std-list.orb +392 -5
  53. package/behaviors/exports/molecules/std-messaging.orb +12 -5
  54. package/behaviors/exports/molecules/std-negotiator-game.orb +6 -1
  55. package/behaviors/exports/molecules/std-platformer-game.orb +40 -1
  56. package/behaviors/exports/molecules/std-puzzle-game.orb +26 -1
  57. package/behaviors/exports/molecules/std-sequencer-game.orb +6 -1
  58. package/behaviors/exports/molecules/std-simulator-game.orb +6 -1
  59. package/behaviors/exports/molecules/std-turn-based-battle.orb +40 -1
  60. package/behaviors/exports/organisms/std-api-gateway.orb +1145 -403
  61. package/behaviors/exports/organisms/std-arcade-game.orb +214 -16
  62. package/behaviors/exports/organisms/std-booking-system.orb +2165 -1605
  63. package/behaviors/exports/organisms/std-cicd-pipeline.orb +581 -47
  64. package/behaviors/exports/organisms/std-cms.orb +1713 -947
  65. package/behaviors/exports/organisms/std-coding-academy.orb +180 -380
  66. package/behaviors/exports/organisms/std-crm.orb +1669 -1153
  67. package/behaviors/exports/organisms/std-devops-dashboard.orb +1430 -378
  68. package/behaviors/exports/organisms/std-ecommerce.orb +2361 -1601
  69. package/behaviors/exports/organisms/std-finance-tracker.orb +622 -438
  70. package/behaviors/exports/organisms/std-healthcare.orb +1687 -1125
  71. package/behaviors/exports/organisms/std-helpdesk.orb +626 -407
  72. package/behaviors/exports/organisms/std-hr-portal.orb +1309 -714
  73. package/behaviors/exports/organisms/std-iot-dashboard.orb +1247 -335
  74. package/behaviors/exports/organisms/std-lms.orb +658 -362
  75. package/behaviors/exports/organisms/std-platformer-app.orb +56 -8
  76. package/behaviors/exports/organisms/std-project-manager.orb +1697 -1183
  77. package/behaviors/exports/organisms/std-puzzle-app.orb +20 -0
  78. package/behaviors/exports/organisms/std-realtime-chat.orb +552 -28
  79. package/behaviors/exports/organisms/std-rpg-game.orb +397 -56
  80. package/behaviors/exports/organisms/std-social-feed.orb +12 -8
  81. package/behaviors/exports/organisms/std-stem-lab.orb +175 -290
  82. package/behaviors/exports/organisms/std-strategy-game.orb +252 -395
  83. package/behaviors/exports/organisms/std-trading-dashboard.orb +718 -524
  84. package/behaviors/exports/validation-report.json +747 -0
  85. package/behaviors/exports/verify-results.json +13 -0
  86. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  87. package/dist/behaviors/exports/atoms/std-browse.orb +12 -5
  88. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  89. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  90. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  91. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  92. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  93. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  94. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  95. package/dist/behaviors/exports/atoms/std-display.orb +166 -21
  96. package/dist/behaviors/exports/atoms/std-drawer.orb +208 -104
  97. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  98. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  99. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  100. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  101. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  102. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  105. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  106. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  107. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  108. package/dist/behaviors/exports/atoms/std-loading.orb +27 -76
  109. package/dist/behaviors/exports/atoms/std-modal.orb +177 -93
  110. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  111. package/dist/behaviors/exports/atoms/std-notification.orb +46 -95
  112. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  113. package/dist/behaviors/exports/atoms/std-pagination.orb +26 -89
  114. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  117. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  118. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  119. package/dist/behaviors/exports/atoms/std-score.orb +211 -11
  120. package/dist/behaviors/exports/atoms/std-search.orb +28 -27
  121. package/dist/behaviors/exports/atoms/std-selection.orb +160 -121
  122. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  123. package/dist/behaviors/exports/atoms/std-sort.orb +134 -24
  124. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  125. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  126. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  127. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  128. package/dist/behaviors/exports/atoms/std-wizard.orb +31 -34
  129. package/dist/behaviors/exports/molecules/std-builder-game.orb +6 -1
  130. package/dist/behaviors/exports/molecules/std-cart.orb +6 -1
  131. package/dist/behaviors/exports/molecules/std-classifier-game.orb +6 -1
  132. package/dist/behaviors/exports/molecules/std-debugger-game.orb +6 -1
  133. package/dist/behaviors/exports/molecules/std-detail.orb +12 -5
  134. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +6 -1
  135. package/dist/behaviors/exports/molecules/std-geospatial.orb +28 -9
  136. package/dist/behaviors/exports/molecules/std-inventory.orb +28 -9
  137. package/dist/behaviors/exports/molecules/std-list.orb +392 -5
  138. package/dist/behaviors/exports/molecules/std-messaging.orb +12 -5
  139. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +6 -1
  140. package/dist/behaviors/exports/molecules/std-platformer-game.orb +40 -1
  141. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +26 -1
  142. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +6 -1
  143. package/dist/behaviors/exports/molecules/std-simulator-game.orb +6 -1
  144. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +40 -1
  145. package/dist/behaviors/exports/organisms/std-api-gateway.orb +1145 -403
  146. package/dist/behaviors/exports/organisms/std-arcade-game.orb +214 -16
  147. package/dist/behaviors/exports/organisms/std-booking-system.orb +2165 -1605
  148. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +581 -47
  149. package/dist/behaviors/exports/organisms/std-cms.orb +1713 -947
  150. package/dist/behaviors/exports/organisms/std-coding-academy.orb +180 -380
  151. package/dist/behaviors/exports/organisms/std-crm.orb +1669 -1153
  152. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +1430 -378
  153. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2361 -1601
  154. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +622 -438
  155. package/dist/behaviors/exports/organisms/std-healthcare.orb +1687 -1125
  156. package/dist/behaviors/exports/organisms/std-helpdesk.orb +626 -407
  157. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1309 -714
  158. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +1247 -335
  159. package/dist/behaviors/exports/organisms/std-lms.orb +658 -362
  160. package/dist/behaviors/exports/organisms/std-platformer-app.orb +56 -8
  161. package/dist/behaviors/exports/organisms/std-project-manager.orb +1697 -1183
  162. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +20 -0
  163. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +552 -28
  164. package/dist/behaviors/exports/organisms/std-rpg-game.orb +397 -56
  165. package/dist/behaviors/exports/organisms/std-social-feed.orb +12 -8
  166. package/dist/behaviors/exports/organisms/std-stem-lab.orb +175 -290
  167. package/dist/behaviors/exports/organisms/std-strategy-game.orb +252 -395
  168. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +718 -524
  169. package/dist/behaviors/exports/validation-report.json +747 -0
  170. package/dist/behaviors/exports/verify-results.json +13 -0
  171. package/dist/behaviors/functions/index.js +715 -593
  172. package/dist/behaviors/functions/index.js.map +1 -1
  173. package/dist/behaviors/index.js +715 -593
  174. package/dist/behaviors/index.js.map +1 -1
  175. package/dist/exports/atoms/std-async.orb +41 -24
  176. package/dist/exports/atoms/std-browse.orb +12 -5
  177. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  178. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  179. package/dist/exports/atoms/std-collision.orb +278 -206
  180. package/dist/exports/atoms/std-combat-log.orb +6 -1
  181. package/dist/exports/atoms/std-combat.orb +6 -1
  182. package/dist/exports/atoms/std-confirmation.orb +212 -7
  183. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  184. package/dist/exports/atoms/std-display.orb +166 -21
  185. package/dist/exports/atoms/std-drawer.orb +208 -104
  186. package/dist/exports/atoms/std-filter.orb +211 -18
  187. package/dist/exports/atoms/std-game-audio.orb +6 -1
  188. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  189. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  190. package/dist/exports/atoms/std-game-hud.orb +6 -1
  191. package/dist/exports/atoms/std-game-menu.orb +6 -1
  192. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  193. package/dist/exports/atoms/std-gameflow.orb +100 -5
  194. package/dist/exports/atoms/std-input.orb +142 -137
  195. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  196. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  197. package/dist/exports/atoms/std-loading.orb +27 -76
  198. package/dist/exports/atoms/std-modal.orb +177 -93
  199. package/dist/exports/atoms/std-movement.orb +401 -31
  200. package/dist/exports/atoms/std-notification.orb +46 -95
  201. package/dist/exports/atoms/std-overworld.orb +44 -16
  202. package/dist/exports/atoms/std-pagination.orb +26 -89
  203. package/dist/exports/atoms/std-physics2d.orb +6 -1
  204. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  205. package/dist/exports/atoms/std-quest.orb +309 -34
  206. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  207. package/dist/exports/atoms/std-score-board.orb +6 -1
  208. package/dist/exports/atoms/std-score.orb +211 -11
  209. package/dist/exports/atoms/std-search.orb +28 -27
  210. package/dist/exports/atoms/std-selection.orb +160 -121
  211. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  212. package/dist/exports/atoms/std-sort.orb +134 -24
  213. package/dist/exports/atoms/std-sprite.orb +6 -1
  214. package/dist/exports/atoms/std-tabs.orb +25 -15
  215. package/dist/exports/atoms/std-timer.orb +483 -91
  216. package/dist/exports/atoms/std-undo.orb +211 -81
  217. package/dist/exports/atoms/std-wizard.orb +31 -34
  218. package/dist/exports/molecules/std-builder-game.orb +6 -1
  219. package/dist/exports/molecules/std-cart.orb +6 -1
  220. package/dist/exports/molecules/std-classifier-game.orb +6 -1
  221. package/dist/exports/molecules/std-debugger-game.orb +6 -1
  222. package/dist/exports/molecules/std-detail.orb +12 -5
  223. package/dist/exports/molecules/std-event-handler-game.orb +6 -1
  224. package/dist/exports/molecules/std-geospatial.orb +28 -9
  225. package/dist/exports/molecules/std-inventory.orb +28 -9
  226. package/dist/exports/molecules/std-list.orb +392 -5
  227. package/dist/exports/molecules/std-messaging.orb +12 -5
  228. package/dist/exports/molecules/std-negotiator-game.orb +6 -1
  229. package/dist/exports/molecules/std-platformer-game.orb +40 -1
  230. package/dist/exports/molecules/std-puzzle-game.orb +26 -1
  231. package/dist/exports/molecules/std-sequencer-game.orb +6 -1
  232. package/dist/exports/molecules/std-simulator-game.orb +6 -1
  233. package/dist/exports/molecules/std-turn-based-battle.orb +40 -1
  234. package/dist/exports/organisms/std-api-gateway.orb +1145 -403
  235. package/dist/exports/organisms/std-arcade-game.orb +214 -16
  236. package/dist/exports/organisms/std-booking-system.orb +2165 -1605
  237. package/dist/exports/organisms/std-cicd-pipeline.orb +581 -47
  238. package/dist/exports/organisms/std-cms.orb +1713 -947
  239. package/dist/exports/organisms/std-coding-academy.orb +180 -380
  240. package/dist/exports/organisms/std-crm.orb +1669 -1153
  241. package/dist/exports/organisms/std-devops-dashboard.orb +1430 -378
  242. package/dist/exports/organisms/std-ecommerce.orb +2361 -1601
  243. package/dist/exports/organisms/std-finance-tracker.orb +622 -438
  244. package/dist/exports/organisms/std-healthcare.orb +1687 -1125
  245. package/dist/exports/organisms/std-helpdesk.orb +626 -407
  246. package/dist/exports/organisms/std-hr-portal.orb +1309 -714
  247. package/dist/exports/organisms/std-iot-dashboard.orb +1247 -335
  248. package/dist/exports/organisms/std-lms.orb +658 -362
  249. package/dist/exports/organisms/std-platformer-app.orb +56 -8
  250. package/dist/exports/organisms/std-project-manager.orb +1697 -1183
  251. package/dist/exports/organisms/std-puzzle-app.orb +20 -0
  252. package/dist/exports/organisms/std-realtime-chat.orb +552 -28
  253. package/dist/exports/organisms/std-rpg-game.orb +397 -56
  254. package/dist/exports/organisms/std-social-feed.orb +12 -8
  255. package/dist/exports/organisms/std-stem-lab.orb +175 -290
  256. package/dist/exports/organisms/std-strategy-game.orb +252 -395
  257. package/dist/exports/organisms/std-trading-dashboard.orb +718 -524
  258. package/dist/exports/validation-report.json +747 -0
  259. package/dist/exports/verify-results.json +13 -0
  260. package/dist/index.js +715 -593
  261. package/dist/index.js.map +1 -1
  262. package/package.json +1 -1
@@ -219,7 +219,9 @@
219
219
  }
220
220
  ],
221
221
  "className": "transition-shadow hover:shadow-md cursor-pointer",
222
- "children": [
222
+ "renderItem": [
223
+ "fn",
224
+ "item",
223
225
  {
224
226
  "type": "stack",
225
227
  "direction": "vertical",
@@ -245,13 +247,13 @@
245
247
  {
246
248
  "type": "typography",
247
249
  "variant": "h4",
248
- "content": "@entity.description"
250
+ "content": "@item.description"
249
251
  }
250
252
  ]
251
253
  },
252
254
  {
253
255
  "type": "badge",
254
- "label": "@entity.amount"
256
+ "label": "@item.amount"
255
257
  }
256
258
  ]
257
259
  },
@@ -259,7 +261,7 @@
259
261
  "type": "typography",
260
262
  "variant": "caption",
261
263
  "color": "muted",
262
- "content": "@entity.category"
264
+ "content": "@item.category"
263
265
  }
264
266
  ]
265
267
  }
@@ -360,56 +362,436 @@
360
362
  }
361
363
  ]
362
364
  ]
363
- },
364
- {
365
- "from": "deleting",
366
- "to": "browsing",
367
- "event": "CONFIRM_DELETE",
368
- "effects": [
369
- [
370
- "persist",
371
- "delete",
372
- "Transaction",
373
- "@entity.id"
374
- ],
375
- [
376
- "render-ui",
377
- "modal",
378
- null
379
- ],
380
- [
381
- "fetch",
382
- "Transaction"
383
- ],
384
- [
385
- "notify",
386
- "Transaction deleted successfully"
387
- ]
388
- ]
389
- },
390
- {
391
- "from": "deleting",
392
- "to": "browsing",
393
- "event": "CANCEL",
394
- "effects": [
395
- [
396
- "render-ui",
397
- "modal",
398
- null
399
- ]
400
- ]
401
- },
402
- {
403
- "from": "deleting",
404
- "to": "browsing",
405
- "event": "CLOSE",
406
- "effects": [
407
- [
408
- "render-ui",
409
- "modal",
410
- null
411
- ]
412
- ]
365
+ },
366
+ {
367
+ "from": "deleting",
368
+ "to": "browsing",
369
+ "event": "CONFIRM_DELETE",
370
+ "effects": [
371
+ [
372
+ "persist",
373
+ "delete",
374
+ "Transaction",
375
+ "@entity.id"
376
+ ],
377
+ [
378
+ "render-ui",
379
+ "modal",
380
+ null
381
+ ],
382
+ [
383
+ "fetch",
384
+ "Transaction"
385
+ ],
386
+ [
387
+ "render-ui",
388
+ "main",
389
+ {
390
+ "type": "stack",
391
+ "direction": "vertical",
392
+ "gap": "lg",
393
+ "children": [
394
+ {
395
+ "type": "stack",
396
+ "direction": "horizontal",
397
+ "gap": "md",
398
+ "justify": "space-between",
399
+ "children": [
400
+ {
401
+ "type": "stack",
402
+ "direction": "horizontal",
403
+ "gap": "sm",
404
+ "align": "center",
405
+ "children": [
406
+ {
407
+ "type": "icon",
408
+ "name": "credit-card",
409
+ "size": "lg"
410
+ },
411
+ {
412
+ "type": "typography",
413
+ "content": "Transactions",
414
+ "variant": "h2"
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "type": "stack",
420
+ "direction": "horizontal",
421
+ "gap": "sm",
422
+ "children": [
423
+ {
424
+ "type": "button",
425
+ "label": "Create Transaction",
426
+ "event": "CREATE",
427
+ "variant": "primary",
428
+ "icon": "plus"
429
+ }
430
+ ]
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "type": "divider"
436
+ },
437
+ {
438
+ "type": "data-grid",
439
+ "entity": "Transaction",
440
+ "emptyIcon": "inbox",
441
+ "emptyTitle": "No transactions yet",
442
+ "emptyDescription": "Create your first transaction to get started.",
443
+ "itemActions": [
444
+ {
445
+ "label": "View",
446
+ "event": "VIEW"
447
+ },
448
+ {
449
+ "label": "Edit",
450
+ "event": "EDIT"
451
+ },
452
+ {
453
+ "label": "Delete",
454
+ "event": "DELETE",
455
+ "variant": "danger"
456
+ }
457
+ ],
458
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
459
+ "renderItem": [
460
+ "fn",
461
+ "item",
462
+ {
463
+ "type": "stack",
464
+ "direction": "vertical",
465
+ "gap": "sm",
466
+ "children": [
467
+ {
468
+ "type": "stack",
469
+ "direction": "horizontal",
470
+ "justify": "space-between",
471
+ "align": "center",
472
+ "children": [
473
+ {
474
+ "type": "stack",
475
+ "direction": "horizontal",
476
+ "gap": "sm",
477
+ "align": "center",
478
+ "children": [
479
+ {
480
+ "type": "icon",
481
+ "name": "credit-card",
482
+ "size": "sm"
483
+ },
484
+ {
485
+ "type": "typography",
486
+ "variant": "h4",
487
+ "content": "@item.description"
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "type": "badge",
493
+ "label": "@item.amount"
494
+ }
495
+ ]
496
+ },
497
+ {
498
+ "type": "typography",
499
+ "variant": "caption",
500
+ "color": "muted",
501
+ "content": "@item.category"
502
+ }
503
+ ]
504
+ }
505
+ ]
506
+ }
507
+ ]
508
+ }
509
+ ],
510
+ [
511
+ "notify",
512
+ "Transaction deleted successfully"
513
+ ]
514
+ ]
515
+ },
516
+ {
517
+ "from": "deleting",
518
+ "to": "browsing",
519
+ "event": "CANCEL",
520
+ "effects": [
521
+ [
522
+ "render-ui",
523
+ "modal",
524
+ null
525
+ ],
526
+ [
527
+ "fetch",
528
+ "Transaction"
529
+ ],
530
+ [
531
+ "render-ui",
532
+ "main",
533
+ {
534
+ "type": "stack",
535
+ "direction": "vertical",
536
+ "gap": "lg",
537
+ "children": [
538
+ {
539
+ "type": "stack",
540
+ "direction": "horizontal",
541
+ "gap": "md",
542
+ "justify": "space-between",
543
+ "children": [
544
+ {
545
+ "type": "stack",
546
+ "direction": "horizontal",
547
+ "gap": "sm",
548
+ "align": "center",
549
+ "children": [
550
+ {
551
+ "type": "icon",
552
+ "name": "credit-card",
553
+ "size": "lg"
554
+ },
555
+ {
556
+ "type": "typography",
557
+ "content": "Transactions",
558
+ "variant": "h2"
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "type": "stack",
564
+ "direction": "horizontal",
565
+ "gap": "sm",
566
+ "children": [
567
+ {
568
+ "type": "button",
569
+ "label": "Create Transaction",
570
+ "event": "CREATE",
571
+ "variant": "primary",
572
+ "icon": "plus"
573
+ }
574
+ ]
575
+ }
576
+ ]
577
+ },
578
+ {
579
+ "type": "divider"
580
+ },
581
+ {
582
+ "type": "data-grid",
583
+ "entity": "Transaction",
584
+ "emptyIcon": "inbox",
585
+ "emptyTitle": "No transactions yet",
586
+ "emptyDescription": "Create your first transaction to get started.",
587
+ "itemActions": [
588
+ {
589
+ "label": "View",
590
+ "event": "VIEW"
591
+ },
592
+ {
593
+ "label": "Edit",
594
+ "event": "EDIT"
595
+ },
596
+ {
597
+ "label": "Delete",
598
+ "event": "DELETE",
599
+ "variant": "danger"
600
+ }
601
+ ],
602
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
603
+ "renderItem": [
604
+ "fn",
605
+ "item",
606
+ {
607
+ "type": "stack",
608
+ "direction": "vertical",
609
+ "gap": "sm",
610
+ "children": [
611
+ {
612
+ "type": "stack",
613
+ "direction": "horizontal",
614
+ "justify": "space-between",
615
+ "align": "center",
616
+ "children": [
617
+ {
618
+ "type": "stack",
619
+ "direction": "horizontal",
620
+ "gap": "sm",
621
+ "align": "center",
622
+ "children": [
623
+ {
624
+ "type": "icon",
625
+ "name": "credit-card",
626
+ "size": "sm"
627
+ },
628
+ {
629
+ "type": "typography",
630
+ "variant": "h4",
631
+ "content": "@item.description"
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "type": "badge",
637
+ "label": "@item.amount"
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "type": "typography",
643
+ "variant": "caption",
644
+ "color": "muted",
645
+ "content": "@item.category"
646
+ }
647
+ ]
648
+ }
649
+ ]
650
+ }
651
+ ]
652
+ }
653
+ ]
654
+ ]
655
+ },
656
+ {
657
+ "from": "deleting",
658
+ "to": "browsing",
659
+ "event": "CLOSE",
660
+ "effects": [
661
+ [
662
+ "render-ui",
663
+ "modal",
664
+ null
665
+ ],
666
+ [
667
+ "fetch",
668
+ "Transaction"
669
+ ],
670
+ [
671
+ "render-ui",
672
+ "main",
673
+ {
674
+ "type": "stack",
675
+ "direction": "vertical",
676
+ "gap": "lg",
677
+ "children": [
678
+ {
679
+ "type": "stack",
680
+ "direction": "horizontal",
681
+ "gap": "md",
682
+ "justify": "space-between",
683
+ "children": [
684
+ {
685
+ "type": "stack",
686
+ "direction": "horizontal",
687
+ "gap": "sm",
688
+ "align": "center",
689
+ "children": [
690
+ {
691
+ "type": "icon",
692
+ "name": "credit-card",
693
+ "size": "lg"
694
+ },
695
+ {
696
+ "type": "typography",
697
+ "content": "Transactions",
698
+ "variant": "h2"
699
+ }
700
+ ]
701
+ },
702
+ {
703
+ "type": "stack",
704
+ "direction": "horizontal",
705
+ "gap": "sm",
706
+ "children": [
707
+ {
708
+ "type": "button",
709
+ "label": "Create Transaction",
710
+ "event": "CREATE",
711
+ "variant": "primary",
712
+ "icon": "plus"
713
+ }
714
+ ]
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "type": "divider"
720
+ },
721
+ {
722
+ "type": "data-grid",
723
+ "entity": "Transaction",
724
+ "emptyIcon": "inbox",
725
+ "emptyTitle": "No transactions yet",
726
+ "emptyDescription": "Create your first transaction to get started.",
727
+ "itemActions": [
728
+ {
729
+ "label": "View",
730
+ "event": "VIEW"
731
+ },
732
+ {
733
+ "label": "Edit",
734
+ "event": "EDIT"
735
+ },
736
+ {
737
+ "label": "Delete",
738
+ "event": "DELETE",
739
+ "variant": "danger"
740
+ }
741
+ ],
742
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
743
+ "renderItem": [
744
+ "fn",
745
+ "item",
746
+ {
747
+ "type": "stack",
748
+ "direction": "vertical",
749
+ "gap": "sm",
750
+ "children": [
751
+ {
752
+ "type": "stack",
753
+ "direction": "horizontal",
754
+ "justify": "space-between",
755
+ "align": "center",
756
+ "children": [
757
+ {
758
+ "type": "stack",
759
+ "direction": "horizontal",
760
+ "gap": "sm",
761
+ "align": "center",
762
+ "children": [
763
+ {
764
+ "type": "icon",
765
+ "name": "credit-card",
766
+ "size": "sm"
767
+ },
768
+ {
769
+ "type": "typography",
770
+ "variant": "h4",
771
+ "content": "@item.description"
772
+ }
773
+ ]
774
+ },
775
+ {
776
+ "type": "badge",
777
+ "label": "@item.amount"
778
+ }
779
+ ]
780
+ },
781
+ {
782
+ "type": "typography",
783
+ "variant": "caption",
784
+ "color": "muted",
785
+ "content": "@item.category"
786
+ }
787
+ ]
788
+ }
789
+ ]
790
+ }
791
+ ]
792
+ }
793
+ ]
794
+ ]
413
795
  }
414
796
  ]
415
797
  }
@@ -1083,91 +1465,51 @@
1083
1465
  "columns": 3,
1084
1466
  "children": [
1085
1467
  {
1086
- "type": "card",
1087
- "children": [
1088
- {
1089
- "type": "stack",
1090
- "direction": "vertical",
1091
- "gap": "sm",
1092
- "children": [
1093
- {
1094
- "type": "typography",
1095
- "variant": "caption",
1096
- "content": "TotalIncome"
1097
- },
1098
- {
1099
- "type": "typography",
1100
- "variant": "h3",
1101
- "content": "@entity.totalIncome"
1102
- }
1103
- ]
1104
- }
1468
+ "type": "stat-display",
1469
+ "label": "TotalIncome",
1470
+ "value": [
1471
+ "object/get",
1472
+ [
1473
+ "array/first",
1474
+ "@entity"
1475
+ ],
1476
+ "totalIncome"
1105
1477
  ]
1106
1478
  },
1107
1479
  {
1108
- "type": "card",
1109
- "children": [
1110
- {
1111
- "type": "stack",
1112
- "direction": "vertical",
1113
- "gap": "sm",
1114
- "children": [
1115
- {
1116
- "type": "typography",
1117
- "variant": "caption",
1118
- "content": "TotalExpenses"
1119
- },
1120
- {
1121
- "type": "typography",
1122
- "variant": "h3",
1123
- "content": "@entity.totalExpenses"
1124
- }
1125
- ]
1126
- }
1480
+ "type": "stat-display",
1481
+ "label": "TotalExpenses",
1482
+ "value": [
1483
+ "object/get",
1484
+ [
1485
+ "array/first",
1486
+ "@entity"
1487
+ ],
1488
+ "totalExpenses"
1127
1489
  ]
1128
1490
  },
1129
1491
  {
1130
- "type": "card",
1131
- "children": [
1132
- {
1133
- "type": "stack",
1134
- "direction": "vertical",
1135
- "gap": "sm",
1136
- "children": [
1137
- {
1138
- "type": "typography",
1139
- "variant": "caption",
1140
- "content": "Balance"
1141
- },
1142
- {
1143
- "type": "typography",
1144
- "variant": "h3",
1145
- "content": "@entity.balance"
1146
- }
1147
- ]
1148
- }
1492
+ "type": "stat-display",
1493
+ "label": "Balance",
1494
+ "value": [
1495
+ "object/get",
1496
+ [
1497
+ "array/first",
1498
+ "@entity"
1499
+ ],
1500
+ "balance"
1149
1501
  ]
1150
1502
  },
1151
1503
  {
1152
- "type": "card",
1153
- "children": [
1154
- {
1155
- "type": "stack",
1156
- "direction": "vertical",
1157
- "gap": "sm",
1158
- "children": [
1159
- {
1160
- "type": "typography",
1161
- "variant": "caption",
1162
- "content": "SavingsRate"
1163
- },
1164
- {
1165
- "type": "typography",
1166
- "variant": "h3",
1167
- "content": "@entity.savingsRate"
1168
- }
1169
- ]
1170
- }
1504
+ "type": "stat-display",
1505
+ "label": "SavingsRate",
1506
+ "value": [
1507
+ "object/get",
1508
+ [
1509
+ "array/first",
1510
+ "@entity"
1511
+ ],
1512
+ "savingsRate"
1171
1513
  ]
1172
1514
  }
1173
1515
  ]
@@ -1234,91 +1576,51 @@
1234
1576
  "columns": 3,
1235
1577
  "children": [
1236
1578
  {
1237
- "type": "card",
1238
- "children": [
1239
- {
1240
- "type": "stack",
1241
- "direction": "vertical",
1242
- "gap": "sm",
1243
- "children": [
1244
- {
1245
- "type": "typography",
1246
- "variant": "caption",
1247
- "content": "TotalIncome"
1248
- },
1249
- {
1250
- "type": "typography",
1251
- "variant": "h3",
1252
- "content": "@entity.totalIncome"
1253
- }
1254
- ]
1255
- }
1579
+ "type": "stat-display",
1580
+ "label": "TotalIncome",
1581
+ "value": [
1582
+ "object/get",
1583
+ [
1584
+ "array/first",
1585
+ "@entity"
1586
+ ],
1587
+ "totalIncome"
1256
1588
  ]
1257
1589
  },
1258
1590
  {
1259
- "type": "card",
1260
- "children": [
1261
- {
1262
- "type": "stack",
1263
- "direction": "vertical",
1264
- "gap": "sm",
1265
- "children": [
1266
- {
1267
- "type": "typography",
1268
- "variant": "caption",
1269
- "content": "TotalExpenses"
1270
- },
1271
- {
1272
- "type": "typography",
1273
- "variant": "h3",
1274
- "content": "@entity.totalExpenses"
1275
- }
1276
- ]
1277
- }
1591
+ "type": "stat-display",
1592
+ "label": "TotalExpenses",
1593
+ "value": [
1594
+ "object/get",
1595
+ [
1596
+ "array/first",
1597
+ "@entity"
1598
+ ],
1599
+ "totalExpenses"
1278
1600
  ]
1279
1601
  },
1280
1602
  {
1281
- "type": "card",
1282
- "children": [
1283
- {
1284
- "type": "stack",
1285
- "direction": "vertical",
1286
- "gap": "sm",
1287
- "children": [
1288
- {
1289
- "type": "typography",
1290
- "variant": "caption",
1291
- "content": "Balance"
1292
- },
1293
- {
1294
- "type": "typography",
1295
- "variant": "h3",
1296
- "content": "@entity.balance"
1297
- }
1298
- ]
1299
- }
1603
+ "type": "stat-display",
1604
+ "label": "Balance",
1605
+ "value": [
1606
+ "object/get",
1607
+ [
1608
+ "array/first",
1609
+ "@entity"
1610
+ ],
1611
+ "balance"
1300
1612
  ]
1301
1613
  },
1302
1614
  {
1303
- "type": "card",
1304
- "children": [
1305
- {
1306
- "type": "stack",
1307
- "direction": "vertical",
1308
- "gap": "sm",
1309
- "children": [
1310
- {
1311
- "type": "typography",
1312
- "variant": "caption",
1313
- "content": "SavingsRate"
1314
- },
1315
- {
1316
- "type": "typography",
1317
- "variant": "h3",
1318
- "content": "@entity.savingsRate"
1319
- }
1320
- ]
1321
- }
1615
+ "type": "stat-display",
1616
+ "label": "SavingsRate",
1617
+ "value": [
1618
+ "object/get",
1619
+ [
1620
+ "array/first",
1621
+ "@entity"
1622
+ ],
1623
+ "savingsRate"
1322
1624
  ]
1323
1625
  }
1324
1626
  ]
@@ -1385,91 +1687,51 @@
1385
1687
  "columns": 3,
1386
1688
  "children": [
1387
1689
  {
1388
- "type": "card",
1389
- "children": [
1390
- {
1391
- "type": "stack",
1392
- "direction": "vertical",
1393
- "gap": "sm",
1394
- "children": [
1395
- {
1396
- "type": "typography",
1397
- "variant": "caption",
1398
- "content": "TotalIncome"
1399
- },
1400
- {
1401
- "type": "typography",
1402
- "variant": "h3",
1403
- "content": "@entity.totalIncome"
1404
- }
1405
- ]
1406
- }
1690
+ "type": "stat-display",
1691
+ "label": "TotalIncome",
1692
+ "value": [
1693
+ "object/get",
1694
+ [
1695
+ "array/first",
1696
+ "@entity"
1697
+ ],
1698
+ "totalIncome"
1407
1699
  ]
1408
1700
  },
1409
1701
  {
1410
- "type": "card",
1411
- "children": [
1412
- {
1413
- "type": "stack",
1414
- "direction": "vertical",
1415
- "gap": "sm",
1416
- "children": [
1417
- {
1418
- "type": "typography",
1419
- "variant": "caption",
1420
- "content": "TotalExpenses"
1421
- },
1422
- {
1423
- "type": "typography",
1424
- "variant": "h3",
1425
- "content": "@entity.totalExpenses"
1426
- }
1427
- ]
1428
- }
1702
+ "type": "stat-display",
1703
+ "label": "TotalExpenses",
1704
+ "value": [
1705
+ "object/get",
1706
+ [
1707
+ "array/first",
1708
+ "@entity"
1709
+ ],
1710
+ "totalExpenses"
1429
1711
  ]
1430
1712
  },
1431
1713
  {
1432
- "type": "card",
1433
- "children": [
1434
- {
1435
- "type": "stack",
1436
- "direction": "vertical",
1437
- "gap": "sm",
1438
- "children": [
1439
- {
1440
- "type": "typography",
1441
- "variant": "caption",
1442
- "content": "Balance"
1443
- },
1444
- {
1445
- "type": "typography",
1446
- "variant": "h3",
1447
- "content": "@entity.balance"
1448
- }
1449
- ]
1450
- }
1714
+ "type": "stat-display",
1715
+ "label": "Balance",
1716
+ "value": [
1717
+ "object/get",
1718
+ [
1719
+ "array/first",
1720
+ "@entity"
1721
+ ],
1722
+ "balance"
1451
1723
  ]
1452
1724
  },
1453
1725
  {
1454
- "type": "card",
1455
- "children": [
1456
- {
1457
- "type": "stack",
1458
- "direction": "vertical",
1459
- "gap": "sm",
1460
- "children": [
1461
- {
1462
- "type": "typography",
1463
- "variant": "caption",
1464
- "content": "SavingsRate"
1465
- },
1466
- {
1467
- "type": "typography",
1468
- "variant": "h3",
1469
- "content": "@entity.savingsRate"
1470
- }
1471
- ]
1472
- }
1726
+ "type": "stat-display",
1727
+ "label": "SavingsRate",
1728
+ "value": [
1729
+ "object/get",
1730
+ [
1731
+ "array/first",
1732
+ "@entity"
1733
+ ],
1734
+ "savingsRate"
1473
1735
  ]
1474
1736
  }
1475
1737
  ]
@@ -1536,91 +1798,51 @@
1536
1798
  "columns": 3,
1537
1799
  "children": [
1538
1800
  {
1539
- "type": "card",
1540
- "children": [
1541
- {
1542
- "type": "stack",
1543
- "direction": "vertical",
1544
- "gap": "sm",
1545
- "children": [
1546
- {
1547
- "type": "typography",
1548
- "variant": "caption",
1549
- "content": "TotalIncome"
1550
- },
1551
- {
1552
- "type": "typography",
1553
- "variant": "h3",
1554
- "content": "@entity.totalIncome"
1555
- }
1556
- ]
1557
- }
1801
+ "type": "stat-display",
1802
+ "label": "TotalIncome",
1803
+ "value": [
1804
+ "object/get",
1805
+ [
1806
+ "array/first",
1807
+ "@entity"
1808
+ ],
1809
+ "totalIncome"
1558
1810
  ]
1559
1811
  },
1560
1812
  {
1561
- "type": "card",
1562
- "children": [
1563
- {
1564
- "type": "stack",
1565
- "direction": "vertical",
1566
- "gap": "sm",
1567
- "children": [
1568
- {
1569
- "type": "typography",
1570
- "variant": "caption",
1571
- "content": "TotalExpenses"
1572
- },
1573
- {
1574
- "type": "typography",
1575
- "variant": "h3",
1576
- "content": "@entity.totalExpenses"
1577
- }
1578
- ]
1579
- }
1813
+ "type": "stat-display",
1814
+ "label": "TotalExpenses",
1815
+ "value": [
1816
+ "object/get",
1817
+ [
1818
+ "array/first",
1819
+ "@entity"
1820
+ ],
1821
+ "totalExpenses"
1580
1822
  ]
1581
1823
  },
1582
1824
  {
1583
- "type": "card",
1584
- "children": [
1585
- {
1586
- "type": "stack",
1587
- "direction": "vertical",
1588
- "gap": "sm",
1589
- "children": [
1590
- {
1591
- "type": "typography",
1592
- "variant": "caption",
1593
- "content": "Balance"
1594
- },
1595
- {
1596
- "type": "typography",
1597
- "variant": "h3",
1598
- "content": "@entity.balance"
1599
- }
1600
- ]
1601
- }
1825
+ "type": "stat-display",
1826
+ "label": "Balance",
1827
+ "value": [
1828
+ "object/get",
1829
+ [
1830
+ "array/first",
1831
+ "@entity"
1832
+ ],
1833
+ "balance"
1602
1834
  ]
1603
1835
  },
1604
1836
  {
1605
- "type": "card",
1606
- "children": [
1607
- {
1608
- "type": "stack",
1609
- "direction": "vertical",
1610
- "gap": "sm",
1611
- "children": [
1612
- {
1613
- "type": "typography",
1614
- "variant": "caption",
1615
- "content": "SavingsRate"
1616
- },
1617
- {
1618
- "type": "typography",
1619
- "variant": "h3",
1620
- "content": "@entity.savingsRate"
1621
- }
1622
- ]
1623
- }
1837
+ "type": "stat-display",
1838
+ "label": "SavingsRate",
1839
+ "value": [
1840
+ "object/get",
1841
+ [
1842
+ "array/first",
1843
+ "@entity"
1844
+ ],
1845
+ "savingsRate"
1624
1846
  ]
1625
1847
  }
1626
1848
  ]
@@ -1687,91 +1909,51 @@
1687
1909
  "columns": 3,
1688
1910
  "children": [
1689
1911
  {
1690
- "type": "card",
1691
- "children": [
1692
- {
1693
- "type": "stack",
1694
- "direction": "vertical",
1695
- "gap": "sm",
1696
- "children": [
1697
- {
1698
- "type": "typography",
1699
- "variant": "caption",
1700
- "content": "TotalIncome"
1701
- },
1702
- {
1703
- "type": "typography",
1704
- "variant": "h3",
1705
- "content": "@entity.totalIncome"
1706
- }
1707
- ]
1708
- }
1912
+ "type": "stat-display",
1913
+ "label": "TotalIncome",
1914
+ "value": [
1915
+ "object/get",
1916
+ [
1917
+ "array/first",
1918
+ "@entity"
1919
+ ],
1920
+ "totalIncome"
1709
1921
  ]
1710
1922
  },
1711
1923
  {
1712
- "type": "card",
1713
- "children": [
1714
- {
1715
- "type": "stack",
1716
- "direction": "vertical",
1717
- "gap": "sm",
1718
- "children": [
1719
- {
1720
- "type": "typography",
1721
- "variant": "caption",
1722
- "content": "TotalExpenses"
1723
- },
1724
- {
1725
- "type": "typography",
1726
- "variant": "h3",
1727
- "content": "@entity.totalExpenses"
1728
- }
1729
- ]
1730
- }
1924
+ "type": "stat-display",
1925
+ "label": "TotalExpenses",
1926
+ "value": [
1927
+ "object/get",
1928
+ [
1929
+ "array/first",
1930
+ "@entity"
1931
+ ],
1932
+ "totalExpenses"
1731
1933
  ]
1732
1934
  },
1733
1935
  {
1734
- "type": "card",
1735
- "children": [
1736
- {
1737
- "type": "stack",
1738
- "direction": "vertical",
1739
- "gap": "sm",
1740
- "children": [
1741
- {
1742
- "type": "typography",
1743
- "variant": "caption",
1744
- "content": "Balance"
1745
- },
1746
- {
1747
- "type": "typography",
1748
- "variant": "h3",
1749
- "content": "@entity.balance"
1750
- }
1751
- ]
1752
- }
1936
+ "type": "stat-display",
1937
+ "label": "Balance",
1938
+ "value": [
1939
+ "object/get",
1940
+ [
1941
+ "array/first",
1942
+ "@entity"
1943
+ ],
1944
+ "balance"
1753
1945
  ]
1754
1946
  },
1755
1947
  {
1756
- "type": "card",
1757
- "children": [
1758
- {
1759
- "type": "stack",
1760
- "direction": "vertical",
1761
- "gap": "sm",
1762
- "children": [
1763
- {
1764
- "type": "typography",
1765
- "variant": "caption",
1766
- "content": "SavingsRate"
1767
- },
1768
- {
1769
- "type": "typography",
1770
- "variant": "h3",
1771
- "content": "@entity.savingsRate"
1772
- }
1773
- ]
1774
- }
1948
+ "type": "stat-display",
1949
+ "label": "SavingsRate",
1950
+ "value": [
1951
+ "object/get",
1952
+ [
1953
+ "array/first",
1954
+ "@entity"
1955
+ ],
1956
+ "savingsRate"
1775
1957
  ]
1776
1958
  }
1777
1959
  ]
@@ -1953,7 +2135,9 @@
1953
2135
  }
1954
2136
  ],
1955
2137
  "className": "transition-shadow hover:shadow-md cursor-pointer",
1956
- "children": [
2138
+ "renderItem": [
2139
+ "fn",
2140
+ "item",
1957
2141
  {
1958
2142
  "type": "stack",
1959
2143
  "direction": "vertical",
@@ -1979,13 +2163,13 @@
1979
2163
  {
1980
2164
  "type": "typography",
1981
2165
  "variant": "h4",
1982
- "content": "@entity.title"
2166
+ "content": "@item.title"
1983
2167
  }
1984
2168
  ]
1985
2169
  },
1986
2170
  {
1987
2171
  "type": "badge",
1988
- "label": "@entity.period"
2172
+ "label": "@item.period"
1989
2173
  }
1990
2174
  ]
1991
2175
  },
@@ -1993,7 +2177,7 @@
1993
2177
  "type": "typography",
1994
2178
  "variant": "caption",
1995
2179
  "color": "muted",
1996
- "content": "@entity.total"
2180
+ "content": "@item.total"
1997
2181
  }
1998
2182
  ]
1999
2183
  }