@almadar/std 3.2.1 → 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 +94 -4
  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 +252 -252
  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 +94 -4
  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 +252 -252
  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 +94 -4
  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 +252 -252
  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
@@ -227,6 +227,23 @@
227
227
  "render-ui",
228
228
  "modal",
229
229
  null
230
+ ],
231
+ [
232
+ "render-ui",
233
+ "main",
234
+ {
235
+ "type": "game-hud",
236
+ "stats": [
237
+ {
238
+ "label": "Turn",
239
+ "value": "@entity.turn"
240
+ },
241
+ {
242
+ "label": "Score",
243
+ "value": "@entity.score"
244
+ }
245
+ ]
246
+ }
230
247
  ]
231
248
  ]
232
249
  },
@@ -239,6 +256,23 @@
239
256
  "render-ui",
240
257
  "modal",
241
258
  null
259
+ ],
260
+ [
261
+ "render-ui",
262
+ "main",
263
+ {
264
+ "type": "game-hud",
265
+ "stats": [
266
+ {
267
+ "label": "Turn",
268
+ "value": "@entity.turn"
269
+ },
270
+ {
271
+ "label": "Score",
272
+ "value": "@entity.score"
273
+ }
274
+ ]
275
+ }
242
276
  ]
243
277
  ]
244
278
  },
@@ -551,7 +585,9 @@
551
585
  ]
552
586
  },
553
587
  {
554
- "type": "badge",
588
+ "type": "status-dot",
589
+ "status": "active",
590
+ "pulse": false,
555
591
  "label": "Exploring"
556
592
  }
557
593
  ]
@@ -559,6 +595,12 @@
559
595
  {
560
596
  "type": "divider"
561
597
  },
598
+ {
599
+ "type": "map-view",
600
+ "markers": [],
601
+ "height": "200px",
602
+ "zoom": 10
603
+ },
562
604
  {
563
605
  "type": "data-grid",
564
606
  "entity": "Territory",
@@ -571,7 +613,9 @@
571
613
  "event": "TRAVEL"
572
614
  }
573
615
  ],
574
- "children": [
616
+ "renderItem": [
617
+ "fn",
618
+ "item",
575
619
  {
576
620
  "type": "stack",
577
621
  "direction": "vertical",
@@ -597,20 +641,20 @@
597
641
  {
598
642
  "type": "typography",
599
643
  "variant": "h4",
600
- "content": "@entity.name"
644
+ "content": "@item.name"
601
645
  }
602
646
  ]
603
647
  },
604
648
  {
605
649
  "type": "badge",
606
- "label": "@entity.owner"
650
+ "label": "@item.owner"
607
651
  }
608
652
  ]
609
653
  },
610
654
  {
611
655
  "type": "typography",
612
656
  "variant": "caption",
613
- "content": "@entity.defense"
657
+ "content": "@item.defense"
614
658
  }
615
659
  ]
616
660
  }
@@ -706,7 +750,8 @@
706
750
  ]
707
751
  },
708
752
  {
709
- "type": "badge",
753
+ "type": "status-dot",
754
+ "status": "success",
710
755
  "label": "Entered"
711
756
  }
712
757
  ]
@@ -720,7 +765,9 @@
720
765
  "emptyIcon": "inbox",
721
766
  "emptyTitle": "Nothing here",
722
767
  "emptyDescription": "This zone is empty.",
723
- "children": [
768
+ "renderItem": [
769
+ "fn",
770
+ "item",
724
771
  {
725
772
  "type": "stack",
726
773
  "direction": "vertical",
@@ -746,20 +793,20 @@
746
793
  {
747
794
  "type": "typography",
748
795
  "variant": "h4",
749
- "content": "@entity.name"
796
+ "content": "@item.name"
750
797
  }
751
798
  ]
752
799
  },
753
800
  {
754
801
  "type": "badge",
755
- "label": "@entity.owner"
802
+ "label": "@item.owner"
756
803
  }
757
804
  ]
758
805
  },
759
806
  {
760
807
  "type": "typography",
761
808
  "variant": "caption",
762
- "content": "@entity.defense"
809
+ "content": "@item.defense"
763
810
  }
764
811
  ]
765
812
  }
@@ -829,7 +876,9 @@
829
876
  ]
830
877
  },
831
878
  {
832
- "type": "badge",
879
+ "type": "status-dot",
880
+ "status": "active",
881
+ "pulse": false,
833
882
  "label": "Exploring"
834
883
  }
835
884
  ]
@@ -837,6 +886,12 @@
837
886
  {
838
887
  "type": "divider"
839
888
  },
889
+ {
890
+ "type": "map-view",
891
+ "markers": [],
892
+ "height": "200px",
893
+ "zoom": 10
894
+ },
840
895
  {
841
896
  "type": "data-grid",
842
897
  "entity": "Territory",
@@ -849,7 +904,9 @@
849
904
  "event": "TRAVEL"
850
905
  }
851
906
  ],
852
- "children": [
907
+ "renderItem": [
908
+ "fn",
909
+ "item",
853
910
  {
854
911
  "type": "stack",
855
912
  "direction": "vertical",
@@ -875,20 +932,20 @@
875
932
  {
876
933
  "type": "typography",
877
934
  "variant": "h4",
878
- "content": "@entity.name"
935
+ "content": "@item.name"
879
936
  }
880
937
  ]
881
938
  },
882
939
  {
883
940
  "type": "badge",
884
- "label": "@entity.owner"
941
+ "label": "@item.owner"
885
942
  }
886
943
  ]
887
944
  },
888
945
  {
889
946
  "type": "typography",
890
947
  "variant": "caption",
891
- "content": "@entity.defense"
948
+ "content": "@item.defense"
892
949
  }
893
950
  ]
894
951
  }
@@ -1043,91 +1100,51 @@
1043
1100
  "columns": 3,
1044
1101
  "children": [
1045
1102
  {
1046
- "type": "card",
1047
- "children": [
1048
- {
1049
- "type": "stack",
1050
- "direction": "vertical",
1051
- "gap": "sm",
1052
- "children": [
1053
- {
1054
- "type": "typography",
1055
- "variant": "caption",
1056
- "content": "Gold"
1057
- },
1058
- {
1059
- "type": "typography",
1060
- "variant": "h3",
1061
- "content": "@entity.gold"
1062
- }
1063
- ]
1064
- }
1103
+ "type": "stat-display",
1104
+ "label": "Gold",
1105
+ "value": [
1106
+ "object/get",
1107
+ [
1108
+ "array/first",
1109
+ "@entity"
1110
+ ],
1111
+ "gold"
1065
1112
  ]
1066
1113
  },
1067
1114
  {
1068
- "type": "card",
1069
- "children": [
1070
- {
1071
- "type": "stack",
1072
- "direction": "vertical",
1073
- "gap": "sm",
1074
- "children": [
1075
- {
1076
- "type": "typography",
1077
- "variant": "caption",
1078
- "content": "Food"
1079
- },
1080
- {
1081
- "type": "typography",
1082
- "variant": "h3",
1083
- "content": "@entity.food"
1084
- }
1085
- ]
1086
- }
1115
+ "type": "stat-display",
1116
+ "label": "Food",
1117
+ "value": [
1118
+ "object/get",
1119
+ [
1120
+ "array/first",
1121
+ "@entity"
1122
+ ],
1123
+ "food"
1087
1124
  ]
1088
1125
  },
1089
1126
  {
1090
- "type": "card",
1091
- "children": [
1092
- {
1093
- "type": "stack",
1094
- "direction": "vertical",
1095
- "gap": "sm",
1096
- "children": [
1097
- {
1098
- "type": "typography",
1099
- "variant": "caption",
1100
- "content": "Wood"
1101
- },
1102
- {
1103
- "type": "typography",
1104
- "variant": "h3",
1105
- "content": "@entity.wood"
1106
- }
1107
- ]
1108
- }
1127
+ "type": "stat-display",
1128
+ "label": "Wood",
1129
+ "value": [
1130
+ "object/get",
1131
+ [
1132
+ "array/first",
1133
+ "@entity"
1134
+ ],
1135
+ "wood"
1109
1136
  ]
1110
1137
  },
1111
1138
  {
1112
- "type": "card",
1113
- "children": [
1114
- {
1115
- "type": "stack",
1116
- "direction": "vertical",
1117
- "gap": "sm",
1118
- "children": [
1119
- {
1120
- "type": "typography",
1121
- "variant": "caption",
1122
- "content": "Iron"
1123
- },
1124
- {
1125
- "type": "typography",
1126
- "variant": "h3",
1127
- "content": "@entity.iron"
1128
- }
1129
- ]
1130
- }
1139
+ "type": "stat-display",
1140
+ "label": "Iron",
1141
+ "value": [
1142
+ "object/get",
1143
+ [
1144
+ "array/first",
1145
+ "@entity"
1146
+ ],
1147
+ "iron"
1131
1148
  ]
1132
1149
  }
1133
1150
  ]
@@ -1194,91 +1211,51 @@
1194
1211
  "columns": 3,
1195
1212
  "children": [
1196
1213
  {
1197
- "type": "card",
1198
- "children": [
1199
- {
1200
- "type": "stack",
1201
- "direction": "vertical",
1202
- "gap": "sm",
1203
- "children": [
1204
- {
1205
- "type": "typography",
1206
- "variant": "caption",
1207
- "content": "Gold"
1208
- },
1209
- {
1210
- "type": "typography",
1211
- "variant": "h3",
1212
- "content": "@entity.gold"
1213
- }
1214
- ]
1215
- }
1214
+ "type": "stat-display",
1215
+ "label": "Gold",
1216
+ "value": [
1217
+ "object/get",
1218
+ [
1219
+ "array/first",
1220
+ "@entity"
1221
+ ],
1222
+ "gold"
1216
1223
  ]
1217
1224
  },
1218
1225
  {
1219
- "type": "card",
1220
- "children": [
1221
- {
1222
- "type": "stack",
1223
- "direction": "vertical",
1224
- "gap": "sm",
1225
- "children": [
1226
- {
1227
- "type": "typography",
1228
- "variant": "caption",
1229
- "content": "Food"
1230
- },
1231
- {
1232
- "type": "typography",
1233
- "variant": "h3",
1234
- "content": "@entity.food"
1235
- }
1236
- ]
1237
- }
1226
+ "type": "stat-display",
1227
+ "label": "Food",
1228
+ "value": [
1229
+ "object/get",
1230
+ [
1231
+ "array/first",
1232
+ "@entity"
1233
+ ],
1234
+ "food"
1238
1235
  ]
1239
1236
  },
1240
1237
  {
1241
- "type": "card",
1242
- "children": [
1243
- {
1244
- "type": "stack",
1245
- "direction": "vertical",
1246
- "gap": "sm",
1247
- "children": [
1248
- {
1249
- "type": "typography",
1250
- "variant": "caption",
1251
- "content": "Wood"
1252
- },
1253
- {
1254
- "type": "typography",
1255
- "variant": "h3",
1256
- "content": "@entity.wood"
1257
- }
1258
- ]
1259
- }
1238
+ "type": "stat-display",
1239
+ "label": "Wood",
1240
+ "value": [
1241
+ "object/get",
1242
+ [
1243
+ "array/first",
1244
+ "@entity"
1245
+ ],
1246
+ "wood"
1260
1247
  ]
1261
1248
  },
1262
1249
  {
1263
- "type": "card",
1264
- "children": [
1265
- {
1266
- "type": "stack",
1267
- "direction": "vertical",
1268
- "gap": "sm",
1269
- "children": [
1270
- {
1271
- "type": "typography",
1272
- "variant": "caption",
1273
- "content": "Iron"
1274
- },
1275
- {
1276
- "type": "typography",
1277
- "variant": "h3",
1278
- "content": "@entity.iron"
1279
- }
1280
- ]
1281
- }
1250
+ "type": "stat-display",
1251
+ "label": "Iron",
1252
+ "value": [
1253
+ "object/get",
1254
+ [
1255
+ "array/first",
1256
+ "@entity"
1257
+ ],
1258
+ "iron"
1282
1259
  ]
1283
1260
  }
1284
1261
  ]
@@ -1345,91 +1322,51 @@
1345
1322
  "columns": 3,
1346
1323
  "children": [
1347
1324
  {
1348
- "type": "card",
1349
- "children": [
1350
- {
1351
- "type": "stack",
1352
- "direction": "vertical",
1353
- "gap": "sm",
1354
- "children": [
1355
- {
1356
- "type": "typography",
1357
- "variant": "caption",
1358
- "content": "Gold"
1359
- },
1360
- {
1361
- "type": "typography",
1362
- "variant": "h3",
1363
- "content": "@entity.gold"
1364
- }
1365
- ]
1366
- }
1325
+ "type": "stat-display",
1326
+ "label": "Gold",
1327
+ "value": [
1328
+ "object/get",
1329
+ [
1330
+ "array/first",
1331
+ "@entity"
1332
+ ],
1333
+ "gold"
1367
1334
  ]
1368
1335
  },
1369
1336
  {
1370
- "type": "card",
1371
- "children": [
1372
- {
1373
- "type": "stack",
1374
- "direction": "vertical",
1375
- "gap": "sm",
1376
- "children": [
1377
- {
1378
- "type": "typography",
1379
- "variant": "caption",
1380
- "content": "Food"
1381
- },
1382
- {
1383
- "type": "typography",
1384
- "variant": "h3",
1385
- "content": "@entity.food"
1386
- }
1387
- ]
1388
- }
1337
+ "type": "stat-display",
1338
+ "label": "Food",
1339
+ "value": [
1340
+ "object/get",
1341
+ [
1342
+ "array/first",
1343
+ "@entity"
1344
+ ],
1345
+ "food"
1389
1346
  ]
1390
1347
  },
1391
1348
  {
1392
- "type": "card",
1393
- "children": [
1394
- {
1395
- "type": "stack",
1396
- "direction": "vertical",
1397
- "gap": "sm",
1398
- "children": [
1399
- {
1400
- "type": "typography",
1401
- "variant": "caption",
1402
- "content": "Wood"
1403
- },
1404
- {
1405
- "type": "typography",
1406
- "variant": "h3",
1407
- "content": "@entity.wood"
1408
- }
1409
- ]
1410
- }
1349
+ "type": "stat-display",
1350
+ "label": "Wood",
1351
+ "value": [
1352
+ "object/get",
1353
+ [
1354
+ "array/first",
1355
+ "@entity"
1356
+ ],
1357
+ "wood"
1411
1358
  ]
1412
1359
  },
1413
1360
  {
1414
- "type": "card",
1415
- "children": [
1416
- {
1417
- "type": "stack",
1418
- "direction": "vertical",
1419
- "gap": "sm",
1420
- "children": [
1421
- {
1422
- "type": "typography",
1423
- "variant": "caption",
1424
- "content": "Iron"
1425
- },
1426
- {
1427
- "type": "typography",
1428
- "variant": "h3",
1429
- "content": "@entity.iron"
1430
- }
1431
- ]
1432
- }
1361
+ "type": "stat-display",
1362
+ "label": "Iron",
1363
+ "value": [
1364
+ "object/get",
1365
+ [
1366
+ "array/first",
1367
+ "@entity"
1368
+ ],
1369
+ "iron"
1433
1370
  ]
1434
1371
  }
1435
1372
  ]
@@ -1496,91 +1433,51 @@
1496
1433
  "columns": 3,
1497
1434
  "children": [
1498
1435
  {
1499
- "type": "card",
1500
- "children": [
1501
- {
1502
- "type": "stack",
1503
- "direction": "vertical",
1504
- "gap": "sm",
1505
- "children": [
1506
- {
1507
- "type": "typography",
1508
- "variant": "caption",
1509
- "content": "Gold"
1510
- },
1511
- {
1512
- "type": "typography",
1513
- "variant": "h3",
1514
- "content": "@entity.gold"
1515
- }
1516
- ]
1517
- }
1436
+ "type": "stat-display",
1437
+ "label": "Gold",
1438
+ "value": [
1439
+ "object/get",
1440
+ [
1441
+ "array/first",
1442
+ "@entity"
1443
+ ],
1444
+ "gold"
1518
1445
  ]
1519
1446
  },
1520
1447
  {
1521
- "type": "card",
1522
- "children": [
1523
- {
1524
- "type": "stack",
1525
- "direction": "vertical",
1526
- "gap": "sm",
1527
- "children": [
1528
- {
1529
- "type": "typography",
1530
- "variant": "caption",
1531
- "content": "Food"
1532
- },
1533
- {
1534
- "type": "typography",
1535
- "variant": "h3",
1536
- "content": "@entity.food"
1537
- }
1538
- ]
1539
- }
1448
+ "type": "stat-display",
1449
+ "label": "Food",
1450
+ "value": [
1451
+ "object/get",
1452
+ [
1453
+ "array/first",
1454
+ "@entity"
1455
+ ],
1456
+ "food"
1540
1457
  ]
1541
1458
  },
1542
1459
  {
1543
- "type": "card",
1544
- "children": [
1545
- {
1546
- "type": "stack",
1547
- "direction": "vertical",
1548
- "gap": "sm",
1549
- "children": [
1550
- {
1551
- "type": "typography",
1552
- "variant": "caption",
1553
- "content": "Wood"
1554
- },
1555
- {
1556
- "type": "typography",
1557
- "variant": "h3",
1558
- "content": "@entity.wood"
1559
- }
1560
- ]
1561
- }
1460
+ "type": "stat-display",
1461
+ "label": "Wood",
1462
+ "value": [
1463
+ "object/get",
1464
+ [
1465
+ "array/first",
1466
+ "@entity"
1467
+ ],
1468
+ "wood"
1562
1469
  ]
1563
1470
  },
1564
1471
  {
1565
- "type": "card",
1566
- "children": [
1567
- {
1568
- "type": "stack",
1569
- "direction": "vertical",
1570
- "gap": "sm",
1571
- "children": [
1572
- {
1573
- "type": "typography",
1574
- "variant": "caption",
1575
- "content": "Iron"
1576
- },
1577
- {
1578
- "type": "typography",
1579
- "variant": "h3",
1580
- "content": "@entity.iron"
1581
- }
1582
- ]
1583
- }
1472
+ "type": "stat-display",
1473
+ "label": "Iron",
1474
+ "value": [
1475
+ "object/get",
1476
+ [
1477
+ "array/first",
1478
+ "@entity"
1479
+ ],
1480
+ "iron"
1584
1481
  ]
1585
1482
  }
1586
1483
  ]
@@ -1647,91 +1544,51 @@
1647
1544
  "columns": 3,
1648
1545
  "children": [
1649
1546
  {
1650
- "type": "card",
1651
- "children": [
1652
- {
1653
- "type": "stack",
1654
- "direction": "vertical",
1655
- "gap": "sm",
1656
- "children": [
1657
- {
1658
- "type": "typography",
1659
- "variant": "caption",
1660
- "content": "Gold"
1661
- },
1662
- {
1663
- "type": "typography",
1664
- "variant": "h3",
1665
- "content": "@entity.gold"
1666
- }
1667
- ]
1668
- }
1547
+ "type": "stat-display",
1548
+ "label": "Gold",
1549
+ "value": [
1550
+ "object/get",
1551
+ [
1552
+ "array/first",
1553
+ "@entity"
1554
+ ],
1555
+ "gold"
1669
1556
  ]
1670
1557
  },
1671
1558
  {
1672
- "type": "card",
1673
- "children": [
1674
- {
1675
- "type": "stack",
1676
- "direction": "vertical",
1677
- "gap": "sm",
1678
- "children": [
1679
- {
1680
- "type": "typography",
1681
- "variant": "caption",
1682
- "content": "Food"
1683
- },
1684
- {
1685
- "type": "typography",
1686
- "variant": "h3",
1687
- "content": "@entity.food"
1688
- }
1689
- ]
1690
- }
1559
+ "type": "stat-display",
1560
+ "label": "Food",
1561
+ "value": [
1562
+ "object/get",
1563
+ [
1564
+ "array/first",
1565
+ "@entity"
1566
+ ],
1567
+ "food"
1691
1568
  ]
1692
1569
  },
1693
1570
  {
1694
- "type": "card",
1695
- "children": [
1696
- {
1697
- "type": "stack",
1698
- "direction": "vertical",
1699
- "gap": "sm",
1700
- "children": [
1701
- {
1702
- "type": "typography",
1703
- "variant": "caption",
1704
- "content": "Wood"
1705
- },
1706
- {
1707
- "type": "typography",
1708
- "variant": "h3",
1709
- "content": "@entity.wood"
1710
- }
1711
- ]
1712
- }
1571
+ "type": "stat-display",
1572
+ "label": "Wood",
1573
+ "value": [
1574
+ "object/get",
1575
+ [
1576
+ "array/first",
1577
+ "@entity"
1578
+ ],
1579
+ "wood"
1713
1580
  ]
1714
1581
  },
1715
1582
  {
1716
- "type": "card",
1717
- "children": [
1718
- {
1719
- "type": "stack",
1720
- "direction": "vertical",
1721
- "gap": "sm",
1722
- "children": [
1723
- {
1724
- "type": "typography",
1725
- "variant": "caption",
1726
- "content": "Iron"
1727
- },
1728
- {
1729
- "type": "typography",
1730
- "variant": "h3",
1731
- "content": "@entity.iron"
1732
- }
1733
- ]
1734
- }
1583
+ "type": "stat-display",
1584
+ "label": "Iron",
1585
+ "value": [
1586
+ "object/get",
1587
+ [
1588
+ "array/first",
1589
+ "@entity"
1590
+ ],
1591
+ "iron"
1735
1592
  ]
1736
1593
  }
1737
1594
  ]