@almadar/std 8.2.0 → 8.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
- package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
- package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
- package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
- package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
- package/behaviors/registry/app/organisms/std-cms.orb +445 -445
- package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
- package/behaviors/registry/app/organisms/std-crm.orb +781 -781
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
- package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
- package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
- package/behaviors/registry/app/organisms/std-lms.orb +863 -863
- package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
- package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
- package/behaviors/registry/core/atoms/std-browse.orb +60 -60
- package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
- package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
- package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
- package/behaviors/registry/core/atoms/std-display.orb +371 -371
- package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/behaviors/registry/core/atoms/std-filter.orb +46 -46
- package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
- package/behaviors/registry/core/atoms/std-modal.orb +14 -32
- package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
- package/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
- package/behaviors/registry/core/atoms/std-related.orb +36 -36
- package/behaviors/registry/core/atoms/std-search.orb +71 -71
- package/behaviors/registry/core/atoms/std-selection.orb +89 -89
- package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
- package/behaviors/registry/core/molecules/std-cart.orb +54 -54
- package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
- package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
- package/behaviors/registry/core/molecules/std-list.orb +60 -60
- package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
- package/behaviors/registry/game/atoms/std-collision.orb +143 -143
- package/behaviors/registry/game/atoms/std-combat.orb +80 -80
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
- package/behaviors/registry/game/atoms/std-movement.orb +300 -300
- package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
- package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
- package/behaviors/registry/game/atoms/std-quest.orb +124 -124
- package/behaviors/registry/game/atoms/std-timer.orb +251 -260
- package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
- package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
- package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
- package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
- package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
- package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
- package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
- package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
- package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
- package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
- package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
- package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
- package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
- package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
- package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
- package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
- package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
- package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
- package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
- package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
- package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
- package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
- package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
- package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
- package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
- package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
- package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
- package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
- package/package.json +1 -1
|
@@ -158,8 +158,8 @@
|
|
|
158
158
|
"ArmyBattle",
|
|
159
159
|
{
|
|
160
160
|
"emit": {
|
|
161
|
-
"
|
|
162
|
-
"
|
|
161
|
+
"success": "ArmyBattleLoaded",
|
|
162
|
+
"failure": "ArmyBattleLoadFailed"
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
],
|
|
@@ -168,22 +168,22 @@
|
|
|
168
168
|
"main",
|
|
169
169
|
{
|
|
170
170
|
"showTopBar": true,
|
|
171
|
+
"type": "game-shell",
|
|
172
|
+
"appName": "Strategy Game",
|
|
171
173
|
"children": [
|
|
172
174
|
{
|
|
175
|
+
"type": "game-menu",
|
|
176
|
+
"subtitle": "Turn-Based Strategy",
|
|
177
|
+
"title": "Army Battle",
|
|
173
178
|
"menuItems": [
|
|
174
179
|
{
|
|
180
|
+
"event": "START",
|
|
175
181
|
"variant": "primary",
|
|
176
|
-
"label": "Start Battle"
|
|
177
|
-
"event": "START"
|
|
182
|
+
"label": "Start Battle"
|
|
178
183
|
}
|
|
179
|
-
]
|
|
180
|
-
"type": "game-menu",
|
|
181
|
-
"title": "Army Battle",
|
|
182
|
-
"subtitle": "Turn-Based Strategy"
|
|
184
|
+
]
|
|
183
185
|
}
|
|
184
|
-
]
|
|
185
|
-
"type": "game-shell",
|
|
186
|
-
"appName": "Strategy Game"
|
|
186
|
+
]
|
|
187
187
|
}
|
|
188
188
|
]
|
|
189
189
|
]
|
|
@@ -197,22 +197,22 @@
|
|
|
197
197
|
"render-ui",
|
|
198
198
|
"main",
|
|
199
199
|
{
|
|
200
|
-
"appName": "Strategy Game",
|
|
201
200
|
"showTopBar": true,
|
|
201
|
+
"appName": "Strategy Game",
|
|
202
202
|
"type": "game-shell",
|
|
203
203
|
"children": [
|
|
204
204
|
{
|
|
205
|
-
"type": "game-hud",
|
|
206
205
|
"stats": [
|
|
207
206
|
{
|
|
208
|
-
"
|
|
209
|
-
"
|
|
207
|
+
"label": "Turn",
|
|
208
|
+
"value": "@entity.turn"
|
|
210
209
|
},
|
|
211
210
|
{
|
|
212
211
|
"value": "@entity.score",
|
|
213
212
|
"label": "Score"
|
|
214
213
|
}
|
|
215
|
-
]
|
|
214
|
+
],
|
|
215
|
+
"type": "game-hud"
|
|
216
216
|
}
|
|
217
217
|
]
|
|
218
218
|
}
|
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
"render-ui",
|
|
243
243
|
"main",
|
|
244
244
|
{
|
|
245
|
+
"type": "game-shell",
|
|
245
246
|
"showTopBar": true,
|
|
246
247
|
"appName": "Strategy Game",
|
|
247
|
-
"type": "game-shell",
|
|
248
248
|
"children": [
|
|
249
249
|
{
|
|
250
250
|
"stats": [
|
|
@@ -253,8 +253,8 @@
|
|
|
253
253
|
"label": "Turn"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
|
-
"
|
|
257
|
-
"
|
|
256
|
+
"value": "@entity.score",
|
|
257
|
+
"label": "Score"
|
|
258
258
|
}
|
|
259
259
|
],
|
|
260
260
|
"type": "game-hud"
|
|
@@ -273,20 +273,20 @@
|
|
|
273
273
|
"render-ui",
|
|
274
274
|
"modal",
|
|
275
275
|
{
|
|
276
|
-
"
|
|
276
|
+
"title": "Paused",
|
|
277
277
|
"menuItems": [
|
|
278
278
|
{
|
|
279
|
+
"label": "Resume",
|
|
279
280
|
"event": "RESUME",
|
|
280
|
-
"variant": "primary"
|
|
281
|
-
"label": "Resume"
|
|
281
|
+
"variant": "primary"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"event": "RESTART",
|
|
285
|
-
"
|
|
286
|
-
"
|
|
285
|
+
"label": "Quit",
|
|
286
|
+
"variant": "ghost"
|
|
287
287
|
}
|
|
288
288
|
],
|
|
289
|
-
"
|
|
289
|
+
"type": "game-menu"
|
|
290
290
|
}
|
|
291
291
|
]
|
|
292
292
|
]
|
|
@@ -300,37 +300,37 @@
|
|
|
300
300
|
"render-ui",
|
|
301
301
|
"main",
|
|
302
302
|
{
|
|
303
|
-
"
|
|
303
|
+
"type": "game-shell",
|
|
304
304
|
"showTopBar": true,
|
|
305
305
|
"children": [
|
|
306
306
|
{
|
|
307
|
-
"
|
|
307
|
+
"stats": [
|
|
308
308
|
{
|
|
309
|
-
"label": "
|
|
310
|
-
"
|
|
311
|
-
"variant": "primary"
|
|
309
|
+
"label": "Turns",
|
|
310
|
+
"value": "@entity.turn"
|
|
312
311
|
},
|
|
313
312
|
{
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"label": "Main Menu"
|
|
313
|
+
"value": "@entity.score",
|
|
314
|
+
"label": "Score"
|
|
317
315
|
}
|
|
318
316
|
],
|
|
319
317
|
"type": "game-over-screen",
|
|
320
|
-
"
|
|
321
|
-
"stats": [
|
|
318
|
+
"menuItems": [
|
|
322
319
|
{
|
|
323
|
-
"
|
|
324
|
-
"
|
|
320
|
+
"event": "RESTART",
|
|
321
|
+
"variant": "primary",
|
|
322
|
+
"label": "Play Again"
|
|
325
323
|
},
|
|
326
324
|
{
|
|
327
|
-
"
|
|
328
|
-
"label": "
|
|
325
|
+
"event": "RESTART",
|
|
326
|
+
"label": "Main Menu",
|
|
327
|
+
"variant": "secondary"
|
|
329
328
|
}
|
|
330
|
-
]
|
|
329
|
+
],
|
|
330
|
+
"title": "Battle Over"
|
|
331
331
|
}
|
|
332
332
|
],
|
|
333
|
-
"
|
|
333
|
+
"appName": "Strategy Game"
|
|
334
334
|
}
|
|
335
335
|
]
|
|
336
336
|
]
|
|
@@ -354,9 +354,9 @@
|
|
|
354
354
|
"render-ui",
|
|
355
355
|
"main",
|
|
356
356
|
{
|
|
357
|
+
"showTopBar": true,
|
|
357
358
|
"type": "game-shell",
|
|
358
359
|
"appName": "Strategy Game",
|
|
359
|
-
"showTopBar": true,
|
|
360
360
|
"children": [
|
|
361
361
|
{
|
|
362
362
|
"type": "game-hud",
|
|
@@ -390,24 +390,24 @@
|
|
|
390
390
|
"render-ui",
|
|
391
391
|
"main",
|
|
392
392
|
{
|
|
393
|
-
"showTopBar": true,
|
|
394
|
-
"appName": "Strategy Game",
|
|
395
|
-
"type": "game-shell",
|
|
396
393
|
"children": [
|
|
397
394
|
{
|
|
398
|
-
"type": "game-hud",
|
|
399
395
|
"stats": [
|
|
400
396
|
{
|
|
401
|
-
"
|
|
402
|
-
"
|
|
397
|
+
"value": "@entity.turn",
|
|
398
|
+
"label": "Turn"
|
|
403
399
|
},
|
|
404
400
|
{
|
|
405
|
-
"
|
|
406
|
-
"
|
|
401
|
+
"label": "Score",
|
|
402
|
+
"value": "@entity.score"
|
|
407
403
|
}
|
|
408
|
-
]
|
|
404
|
+
],
|
|
405
|
+
"type": "game-hud"
|
|
409
406
|
}
|
|
410
|
-
]
|
|
407
|
+
],
|
|
408
|
+
"appName": "Strategy Game",
|
|
409
|
+
"type": "game-shell",
|
|
410
|
+
"showTopBar": true
|
|
411
411
|
}
|
|
412
412
|
]
|
|
413
413
|
]
|
|
@@ -426,13 +426,10 @@
|
|
|
426
426
|
"render-ui",
|
|
427
427
|
"main",
|
|
428
428
|
{
|
|
429
|
-
"type": "game-shell",
|
|
430
|
-
"appName": "Strategy Game",
|
|
431
|
-
"showTopBar": true,
|
|
432
429
|
"children": [
|
|
433
430
|
{
|
|
434
|
-
"type": "game-menu",
|
|
435
431
|
"subtitle": "Turn-Based Strategy",
|
|
432
|
+
"type": "game-menu",
|
|
436
433
|
"title": "Army Battle",
|
|
437
434
|
"menuItems": [
|
|
438
435
|
{
|
|
@@ -442,7 +439,10 @@
|
|
|
442
439
|
}
|
|
443
440
|
]
|
|
444
441
|
}
|
|
445
|
-
]
|
|
442
|
+
],
|
|
443
|
+
"appName": "Strategy Game",
|
|
444
|
+
"showTopBar": true,
|
|
445
|
+
"type": "game-shell"
|
|
446
446
|
}
|
|
447
447
|
]
|
|
448
448
|
]
|
|
@@ -457,22 +457,22 @@
|
|
|
457
457
|
"main",
|
|
458
458
|
{
|
|
459
459
|
"showTopBar": true,
|
|
460
|
-
"type": "game-shell",
|
|
461
460
|
"appName": "Strategy Game",
|
|
462
461
|
"children": [
|
|
463
462
|
{
|
|
463
|
+
"subtitle": "Turn-Based Strategy",
|
|
464
464
|
"menuItems": [
|
|
465
465
|
{
|
|
466
|
-
"label": "Start Battle",
|
|
467
466
|
"event": "START",
|
|
468
|
-
"variant": "primary"
|
|
467
|
+
"variant": "primary",
|
|
468
|
+
"label": "Start Battle"
|
|
469
469
|
}
|
|
470
470
|
],
|
|
471
|
-
"subtitle": "Turn-Based Strategy",
|
|
472
471
|
"title": "Army Battle",
|
|
473
472
|
"type": "game-menu"
|
|
474
473
|
}
|
|
475
|
-
]
|
|
474
|
+
],
|
|
475
|
+
"type": "game-shell"
|
|
476
476
|
}
|
|
477
477
|
]
|
|
478
478
|
]
|
|
@@ -592,19 +592,19 @@
|
|
|
592
592
|
"render-ui",
|
|
593
593
|
"main",
|
|
594
594
|
{
|
|
595
|
-
"
|
|
595
|
+
"type": "game-shell",
|
|
596
596
|
"children": [
|
|
597
597
|
{
|
|
598
|
+
"autoScroll": true,
|
|
598
599
|
"type": "combat-log",
|
|
599
|
-
"showTimestamps": true,
|
|
600
|
-
"events": "@ArmyBattle",
|
|
601
|
-
"title": "Combat Log",
|
|
602
600
|
"maxVisible": 10.0,
|
|
603
|
-
"
|
|
601
|
+
"title": "Combat Log",
|
|
602
|
+
"showTimestamps": true,
|
|
603
|
+
"events": "@ArmyBattle"
|
|
604
604
|
}
|
|
605
605
|
],
|
|
606
606
|
"appName": "Strategy Game",
|
|
607
|
-
"
|
|
607
|
+
"showTopBar": true
|
|
608
608
|
}
|
|
609
609
|
]
|
|
610
610
|
]
|
|
@@ -618,17 +618,17 @@
|
|
|
618
618
|
"render-ui",
|
|
619
619
|
"main",
|
|
620
620
|
{
|
|
621
|
-
"showTopBar": true,
|
|
622
621
|
"children": [
|
|
623
622
|
{
|
|
624
|
-
"showTimestamps": true,
|
|
625
|
-
"title": "Combat Log",
|
|
626
623
|
"type": "combat-log",
|
|
627
624
|
"autoScroll": true,
|
|
628
625
|
"events": "@ArmyBattle",
|
|
629
|
-
"maxVisible": 10.0
|
|
626
|
+
"maxVisible": 10.0,
|
|
627
|
+
"showTimestamps": true,
|
|
628
|
+
"title": "Combat Log"
|
|
630
629
|
}
|
|
631
630
|
],
|
|
631
|
+
"showTopBar": true,
|
|
632
632
|
"type": "game-shell",
|
|
633
633
|
"appName": "Strategy Game"
|
|
634
634
|
}
|
|
@@ -793,22 +793,22 @@
|
|
|
793
793
|
"render-ui",
|
|
794
794
|
"main",
|
|
795
795
|
{
|
|
796
|
+
"align": "center",
|
|
797
|
+
"type": "stack",
|
|
796
798
|
"children": [
|
|
797
799
|
{
|
|
798
800
|
"type": "spinner"
|
|
799
801
|
},
|
|
800
802
|
{
|
|
801
803
|
"color": "muted",
|
|
804
|
+
"content": "Loading…",
|
|
802
805
|
"type": "typography",
|
|
803
|
-
"variant": "caption"
|
|
804
|
-
"content": "Loading…"
|
|
806
|
+
"variant": "caption"
|
|
805
807
|
}
|
|
806
808
|
],
|
|
807
|
-
"
|
|
808
|
-
"type": "stack",
|
|
809
|
-
"align": "center",
|
|
809
|
+
"gap": "md",
|
|
810
810
|
"direction": "vertical",
|
|
811
|
-
"
|
|
811
|
+
"className": "py-12"
|
|
812
812
|
}
|
|
813
813
|
]
|
|
814
814
|
]
|
|
@@ -822,76 +822,83 @@
|
|
|
822
822
|
"render-ui",
|
|
823
823
|
"main",
|
|
824
824
|
{
|
|
825
|
+
"showTopBar": true,
|
|
826
|
+
"type": "game-shell",
|
|
825
827
|
"appName": "Strategy Game",
|
|
826
828
|
"children": [
|
|
827
829
|
{
|
|
828
|
-
"type": "stack",
|
|
829
830
|
"direction": "vertical",
|
|
830
831
|
"gap": "lg",
|
|
831
832
|
"children": [
|
|
832
833
|
{
|
|
834
|
+
"type": "stack",
|
|
833
835
|
"children": [
|
|
834
836
|
{
|
|
835
|
-
"type": "stack",
|
|
836
|
-
"direction": "horizontal",
|
|
837
837
|
"gap": "md",
|
|
838
|
+
"type": "stack",
|
|
838
839
|
"children": [
|
|
839
840
|
{
|
|
840
|
-
"
|
|
841
|
-
"
|
|
841
|
+
"name": "map",
|
|
842
|
+
"type": "icon"
|
|
842
843
|
},
|
|
843
844
|
{
|
|
844
|
-
"type": "typography",
|
|
845
845
|
"content": "Territory Map",
|
|
846
|
-
"variant": "h2"
|
|
846
|
+
"variant": "h2",
|
|
847
|
+
"type": "typography"
|
|
847
848
|
}
|
|
848
|
-
]
|
|
849
|
+
],
|
|
850
|
+
"direction": "horizontal"
|
|
849
851
|
},
|
|
850
852
|
{
|
|
851
|
-
"
|
|
853
|
+
"label": "Exploring",
|
|
852
854
|
"pulse": false,
|
|
853
|
-
"
|
|
854
|
-
"
|
|
855
|
+
"status": "online",
|
|
856
|
+
"type": "status-dot"
|
|
855
857
|
}
|
|
856
858
|
],
|
|
859
|
+
"justify": "between",
|
|
857
860
|
"gap": "md",
|
|
858
|
-
"direction": "horizontal"
|
|
859
|
-
"type": "stack",
|
|
860
|
-
"justify": "between"
|
|
861
|
+
"direction": "horizontal"
|
|
861
862
|
},
|
|
862
863
|
{
|
|
863
864
|
"type": "divider"
|
|
864
865
|
},
|
|
865
866
|
{
|
|
867
|
+
"height": "200px",
|
|
866
868
|
"type": "map-view",
|
|
867
869
|
"zoom": 10.0,
|
|
868
|
-
"height": "200px",
|
|
869
870
|
"markers": []
|
|
870
871
|
},
|
|
871
872
|
{
|
|
873
|
+
"entity": "@payload.data",
|
|
874
|
+
"type": "data-grid",
|
|
872
875
|
"itemActions": [
|
|
873
876
|
{
|
|
874
|
-
"
|
|
875
|
-
"
|
|
877
|
+
"label": "Travel",
|
|
878
|
+
"event": "TRAVEL"
|
|
876
879
|
}
|
|
877
880
|
],
|
|
878
|
-
"fields": [],
|
|
879
881
|
"renderItem": [
|
|
880
882
|
"fn",
|
|
881
883
|
"item",
|
|
882
884
|
{
|
|
885
|
+
"type": "stack",
|
|
886
|
+
"gap": "sm",
|
|
883
887
|
"children": [
|
|
884
888
|
{
|
|
889
|
+
"type": "stack",
|
|
885
890
|
"direction": "horizontal",
|
|
886
891
|
"justify": "between",
|
|
887
892
|
"align": "center",
|
|
888
893
|
"children": [
|
|
889
894
|
{
|
|
895
|
+
"type": "stack",
|
|
896
|
+
"gap": "sm",
|
|
890
897
|
"align": "center",
|
|
891
898
|
"children": [
|
|
892
899
|
{
|
|
893
|
-
"
|
|
894
|
-
"
|
|
900
|
+
"name": "map-pin",
|
|
901
|
+
"type": "icon"
|
|
895
902
|
},
|
|
896
903
|
{
|
|
897
904
|
"variant": "h4",
|
|
@@ -899,36 +906,29 @@
|
|
|
899
906
|
"type": "typography"
|
|
900
907
|
}
|
|
901
908
|
],
|
|
902
|
-
"direction": "horizontal"
|
|
903
|
-
"type": "stack",
|
|
904
|
-
"gap": "sm"
|
|
909
|
+
"direction": "horizontal"
|
|
905
910
|
},
|
|
906
911
|
{
|
|
907
|
-
"
|
|
908
|
-
"
|
|
912
|
+
"type": "badge",
|
|
913
|
+
"label": "@item.owner"
|
|
909
914
|
}
|
|
910
|
-
]
|
|
911
|
-
"type": "stack"
|
|
915
|
+
]
|
|
912
916
|
},
|
|
913
917
|
{
|
|
918
|
+
"type": "typography",
|
|
914
919
|
"variant": "caption",
|
|
915
|
-
"content": "@item.defense"
|
|
916
|
-
"type": "typography"
|
|
920
|
+
"content": "@item.defense"
|
|
917
921
|
}
|
|
918
922
|
],
|
|
919
|
-
"type": "stack",
|
|
920
|
-
"gap": "sm",
|
|
921
923
|
"direction": "vertical"
|
|
922
924
|
}
|
|
923
925
|
],
|
|
924
|
-
"
|
|
925
|
-
"type": "data-grid"
|
|
926
|
+
"fields": []
|
|
926
927
|
}
|
|
927
|
-
]
|
|
928
|
+
],
|
|
929
|
+
"type": "stack"
|
|
928
930
|
}
|
|
929
|
-
]
|
|
930
|
-
"type": "game-shell",
|
|
931
|
-
"showTopBar": true
|
|
931
|
+
]
|
|
932
932
|
}
|
|
933
933
|
]
|
|
934
934
|
]
|
|
@@ -942,9 +942,9 @@
|
|
|
942
942
|
"render-ui",
|
|
943
943
|
"main",
|
|
944
944
|
{
|
|
945
|
-
"gap": "md",
|
|
946
|
-
"align": "center",
|
|
947
945
|
"className": "py-12",
|
|
946
|
+
"type": "stack",
|
|
947
|
+
"align": "center",
|
|
948
948
|
"children": [
|
|
949
949
|
{
|
|
950
950
|
"name": "alert-triangle",
|
|
@@ -952,9 +952,9 @@
|
|
|
952
952
|
"color": "destructive"
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
|
+
"type": "typography",
|
|
955
956
|
"variant": "h3",
|
|
956
|
-
"content": "Failed to load territory"
|
|
957
|
-
"type": "typography"
|
|
957
|
+
"content": "Failed to load territory"
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"content": "@payload.error",
|
|
@@ -963,15 +963,15 @@
|
|
|
963
963
|
"type": "typography"
|
|
964
964
|
},
|
|
965
965
|
{
|
|
966
|
+
"label": "Retry",
|
|
966
967
|
"type": "button",
|
|
967
968
|
"icon": "rotate-ccw",
|
|
968
969
|
"action": "INIT",
|
|
969
|
-
"label": "Retry",
|
|
970
970
|
"variant": "primary"
|
|
971
971
|
}
|
|
972
972
|
],
|
|
973
|
-
"
|
|
974
|
-
"
|
|
973
|
+
"direction": "vertical",
|
|
974
|
+
"gap": "md"
|
|
975
975
|
}
|
|
976
976
|
]
|
|
977
977
|
]
|
|
@@ -985,41 +985,41 @@
|
|
|
985
985
|
"render-ui",
|
|
986
986
|
"main",
|
|
987
987
|
{
|
|
988
|
-
"type": "game-shell",
|
|
989
|
-
"appName": "Strategy Game",
|
|
990
988
|
"showTopBar": true,
|
|
989
|
+
"appName": "Strategy Game",
|
|
990
|
+
"type": "game-shell",
|
|
991
991
|
"children": [
|
|
992
992
|
{
|
|
993
|
-
"
|
|
993
|
+
"align": "center",
|
|
994
994
|
"children": [
|
|
995
995
|
{
|
|
996
|
-
"type": "stack",
|
|
997
996
|
"children": [
|
|
998
997
|
{
|
|
999
|
-
"
|
|
1000
|
-
"
|
|
998
|
+
"name": "loader",
|
|
999
|
+
"type": "icon"
|
|
1001
1000
|
},
|
|
1002
1001
|
{
|
|
1002
|
+
"content": "Traveling...",
|
|
1003
1003
|
"type": "typography",
|
|
1004
|
-
"variant": "h2"
|
|
1005
|
-
"content": "Traveling..."
|
|
1004
|
+
"variant": "h2"
|
|
1006
1005
|
}
|
|
1007
1006
|
],
|
|
1008
1007
|
"direction": "horizontal",
|
|
1008
|
+
"type": "stack",
|
|
1009
1009
|
"gap": "md"
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
"type": "divider"
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
|
+
"variant": "body",
|
|
1015
1016
|
"type": "typography",
|
|
1016
|
-
"content": "Traveling to the destination territorys map."
|
|
1017
|
-
"variant": "body"
|
|
1017
|
+
"content": "Traveling to the destination territorys map."
|
|
1018
1018
|
}
|
|
1019
1019
|
],
|
|
1020
|
-
"align": "center",
|
|
1021
1020
|
"type": "stack",
|
|
1022
|
-
"gap": "lg"
|
|
1021
|
+
"gap": "lg",
|
|
1022
|
+
"direction": "vertical"
|
|
1023
1023
|
}
|
|
1024
1024
|
]
|
|
1025
1025
|
}
|
|
@@ -1045,6 +1045,9 @@
|
|
|
1045
1045
|
"render-ui",
|
|
1046
1046
|
"main",
|
|
1047
1047
|
{
|
|
1048
|
+
"type": "stack",
|
|
1049
|
+
"className": "py-12",
|
|
1050
|
+
"gap": "md",
|
|
1048
1051
|
"direction": "vertical",
|
|
1049
1052
|
"align": "center",
|
|
1050
1053
|
"children": [
|
|
@@ -1053,14 +1056,11 @@
|
|
|
1053
1056
|
},
|
|
1054
1057
|
{
|
|
1055
1058
|
"content": "Loading…",
|
|
1056
|
-
"type": "typography",
|
|
1057
1059
|
"color": "muted",
|
|
1058
|
-
"variant": "caption"
|
|
1060
|
+
"variant": "caption",
|
|
1061
|
+
"type": "typography"
|
|
1059
1062
|
}
|
|
1060
|
-
]
|
|
1061
|
-
"gap": "md",
|
|
1062
|
-
"type": "stack",
|
|
1063
|
-
"className": "py-12"
|
|
1063
|
+
]
|
|
1064
1064
|
}
|
|
1065
1065
|
]
|
|
1066
1066
|
]
|
|
@@ -1074,41 +1074,41 @@
|
|
|
1074
1074
|
"render-ui",
|
|
1075
1075
|
"main",
|
|
1076
1076
|
{
|
|
1077
|
-
"showTopBar": true,
|
|
1078
1077
|
"type": "game-shell",
|
|
1079
1078
|
"appName": "Strategy Game",
|
|
1080
1079
|
"children": [
|
|
1081
1080
|
{
|
|
1082
|
-
"
|
|
1081
|
+
"direction": "vertical",
|
|
1082
|
+
"type": "stack",
|
|
1083
1083
|
"children": [
|
|
1084
1084
|
{
|
|
1085
|
+
"gap": "md",
|
|
1085
1086
|
"justify": "between",
|
|
1086
|
-
"type": "stack",
|
|
1087
1087
|
"direction": "horizontal",
|
|
1088
|
-
"gap": "md",
|
|
1089
1088
|
"children": [
|
|
1090
1089
|
{
|
|
1091
|
-
"gap": "md",
|
|
1092
|
-
"type": "stack",
|
|
1093
1090
|
"direction": "horizontal",
|
|
1091
|
+
"type": "stack",
|
|
1094
1092
|
"children": [
|
|
1095
1093
|
{
|
|
1096
1094
|
"type": "icon",
|
|
1097
1095
|
"name": "map"
|
|
1098
1096
|
},
|
|
1099
1097
|
{
|
|
1098
|
+
"content": "Territorys Map",
|
|
1100
1099
|
"variant": "h2",
|
|
1101
|
-
"type": "typography"
|
|
1102
|
-
"content": "Territorys Map"
|
|
1100
|
+
"type": "typography"
|
|
1103
1101
|
}
|
|
1104
|
-
]
|
|
1102
|
+
],
|
|
1103
|
+
"gap": "md"
|
|
1105
1104
|
},
|
|
1106
1105
|
{
|
|
1107
1106
|
"status": "online",
|
|
1108
1107
|
"label": "Entered",
|
|
1109
1108
|
"type": "status-dot"
|
|
1110
1109
|
}
|
|
1111
|
-
]
|
|
1110
|
+
],
|
|
1111
|
+
"type": "stack"
|
|
1112
1112
|
},
|
|
1113
1113
|
{
|
|
1114
1114
|
"type": "divider"
|
|
@@ -1119,37 +1119,37 @@
|
|
|
1119
1119
|
"fn",
|
|
1120
1120
|
"item",
|
|
1121
1121
|
{
|
|
1122
|
+
"direction": "vertical",
|
|
1122
1123
|
"type": "stack",
|
|
1123
1124
|
"gap": "sm",
|
|
1124
|
-
"direction": "vertical",
|
|
1125
1125
|
"children": [
|
|
1126
1126
|
{
|
|
1127
|
-
"align": "center",
|
|
1128
1127
|
"justify": "between",
|
|
1128
|
+
"direction": "horizontal",
|
|
1129
1129
|
"children": [
|
|
1130
1130
|
{
|
|
1131
|
+
"direction": "horizontal",
|
|
1132
|
+
"type": "stack",
|
|
1131
1133
|
"align": "center",
|
|
1132
1134
|
"gap": "sm",
|
|
1133
1135
|
"children": [
|
|
1134
1136
|
{
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1137
|
+
"name": "map-pin",
|
|
1138
|
+
"type": "icon"
|
|
1137
1139
|
},
|
|
1138
1140
|
{
|
|
1139
|
-
"variant": "h4",
|
|
1140
1141
|
"content": "@item.name",
|
|
1141
|
-
"type": "typography"
|
|
1142
|
+
"type": "typography",
|
|
1143
|
+
"variant": "h4"
|
|
1142
1144
|
}
|
|
1143
|
-
]
|
|
1144
|
-
"type": "stack",
|
|
1145
|
-
"direction": "horizontal"
|
|
1145
|
+
]
|
|
1146
1146
|
},
|
|
1147
1147
|
{
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1148
|
+
"label": "@item.owner",
|
|
1149
|
+
"type": "badge"
|
|
1150
1150
|
}
|
|
1151
1151
|
],
|
|
1152
|
-
"
|
|
1152
|
+
"align": "center",
|
|
1153
1153
|
"type": "stack"
|
|
1154
1154
|
},
|
|
1155
1155
|
{
|
|
@@ -1160,32 +1160,32 @@
|
|
|
1160
1160
|
]
|
|
1161
1161
|
}
|
|
1162
1162
|
],
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1163
|
+
"fields": [],
|
|
1164
|
+
"entity": "@payload.data"
|
|
1165
1165
|
},
|
|
1166
1166
|
{
|
|
1167
1167
|
"type": "divider"
|
|
1168
1168
|
},
|
|
1169
1169
|
{
|
|
1170
1170
|
"direction": "horizontal",
|
|
1171
|
-
"gap": "sm",
|
|
1172
1171
|
"justify": "end",
|
|
1173
|
-
"type": "stack",
|
|
1174
1172
|
"children": [
|
|
1175
1173
|
{
|
|
1176
|
-
"
|
|
1174
|
+
"variant": "ghost",
|
|
1177
1175
|
"icon": "arrow-left",
|
|
1176
|
+
"type": "button",
|
|
1178
1177
|
"label": "Back to Map",
|
|
1179
|
-
"variant": "ghost",
|
|
1180
1178
|
"action": "BACK"
|
|
1181
1179
|
}
|
|
1182
|
-
]
|
|
1180
|
+
],
|
|
1181
|
+
"type": "stack",
|
|
1182
|
+
"gap": "sm"
|
|
1183
1183
|
}
|
|
1184
1184
|
],
|
|
1185
|
-
"
|
|
1186
|
-
"type": "stack"
|
|
1185
|
+
"gap": "lg"
|
|
1187
1186
|
}
|
|
1188
|
-
]
|
|
1187
|
+
],
|
|
1188
|
+
"showTopBar": true
|
|
1189
1189
|
}
|
|
1190
1190
|
]
|
|
1191
1191
|
]
|
|
@@ -1199,36 +1199,36 @@
|
|
|
1199
1199
|
"render-ui",
|
|
1200
1200
|
"main",
|
|
1201
1201
|
{
|
|
1202
|
-
"
|
|
1202
|
+
"type": "stack",
|
|
1203
1203
|
"className": "py-12",
|
|
1204
|
+
"direction": "vertical",
|
|
1205
|
+
"gap": "md",
|
|
1204
1206
|
"children": [
|
|
1205
1207
|
{
|
|
1206
|
-
"name": "alert-triangle",
|
|
1207
1208
|
"type": "icon",
|
|
1208
|
-
"color": "destructive"
|
|
1209
|
+
"color": "destructive",
|
|
1210
|
+
"name": "alert-triangle"
|
|
1209
1211
|
},
|
|
1210
1212
|
{
|
|
1211
|
-
"
|
|
1213
|
+
"type": "typography",
|
|
1212
1214
|
"content": "Failed to load territory",
|
|
1213
|
-
"
|
|
1215
|
+
"variant": "h3"
|
|
1214
1216
|
},
|
|
1215
1217
|
{
|
|
1216
|
-
"type": "typography",
|
|
1217
1218
|
"variant": "body",
|
|
1218
|
-
"
|
|
1219
|
-
"content": "@payload.error"
|
|
1219
|
+
"type": "typography",
|
|
1220
|
+
"content": "@payload.error",
|
|
1221
|
+
"color": "muted"
|
|
1220
1222
|
},
|
|
1221
1223
|
{
|
|
1222
|
-
"icon": "rotate-ccw",
|
|
1223
1224
|
"label": "Retry",
|
|
1225
|
+
"variant": "primary",
|
|
1226
|
+
"icon": "rotate-ccw",
|
|
1224
1227
|
"type": "button",
|
|
1225
|
-
"action": "INIT"
|
|
1226
|
-
"variant": "primary"
|
|
1228
|
+
"action": "INIT"
|
|
1227
1229
|
}
|
|
1228
1230
|
],
|
|
1229
|
-
"
|
|
1230
|
-
"type": "stack",
|
|
1231
|
-
"gap": "md"
|
|
1231
|
+
"align": "center"
|
|
1232
1232
|
}
|
|
1233
1233
|
]
|
|
1234
1234
|
]
|
|
@@ -1252,22 +1252,22 @@
|
|
|
1252
1252
|
"render-ui",
|
|
1253
1253
|
"main",
|
|
1254
1254
|
{
|
|
1255
|
-
"
|
|
1255
|
+
"type": "stack",
|
|
1256
|
+
"direction": "vertical",
|
|
1256
1257
|
"className": "py-12",
|
|
1258
|
+
"align": "center",
|
|
1259
|
+
"gap": "md",
|
|
1257
1260
|
"children": [
|
|
1258
1261
|
{
|
|
1259
1262
|
"type": "spinner"
|
|
1260
1263
|
},
|
|
1261
1264
|
{
|
|
1262
|
-
"variant": "caption",
|
|
1263
1265
|
"content": "Loading…",
|
|
1264
|
-
"
|
|
1265
|
-
"color": "muted"
|
|
1266
|
+
"variant": "caption",
|
|
1267
|
+
"color": "muted",
|
|
1268
|
+
"type": "typography"
|
|
1266
1269
|
}
|
|
1267
|
-
]
|
|
1268
|
-
"align": "center",
|
|
1269
|
-
"direction": "vertical",
|
|
1270
|
-
"type": "stack"
|
|
1270
|
+
]
|
|
1271
1271
|
}
|
|
1272
1272
|
]
|
|
1273
1273
|
]
|
|
@@ -1281,20 +1281,18 @@
|
|
|
1281
1281
|
"render-ui",
|
|
1282
1282
|
"main",
|
|
1283
1283
|
{
|
|
1284
|
-
"
|
|
1285
|
-
"appName": "Strategy Game",
|
|
1284
|
+
"showTopBar": true,
|
|
1286
1285
|
"children": [
|
|
1287
1286
|
{
|
|
1288
|
-
"gap": "lg",
|
|
1289
|
-
"type": "stack",
|
|
1290
1287
|
"direction": "vertical",
|
|
1288
|
+
"type": "stack",
|
|
1289
|
+
"gap": "lg",
|
|
1291
1290
|
"children": [
|
|
1292
1291
|
{
|
|
1293
|
-
"justify": "between",
|
|
1294
|
-
"direction": "horizontal",
|
|
1295
1292
|
"children": [
|
|
1296
1293
|
{
|
|
1297
1294
|
"direction": "horizontal",
|
|
1295
|
+
"type": "stack",
|
|
1298
1296
|
"gap": "md",
|
|
1299
1297
|
"children": [
|
|
1300
1298
|
{
|
|
@@ -1306,36 +1304,38 @@
|
|
|
1306
1304
|
"variant": "h2",
|
|
1307
1305
|
"type": "typography"
|
|
1308
1306
|
}
|
|
1309
|
-
]
|
|
1310
|
-
"type": "stack"
|
|
1307
|
+
]
|
|
1311
1308
|
},
|
|
1312
1309
|
{
|
|
1313
|
-
"status": "online",
|
|
1314
1310
|
"type": "status-dot",
|
|
1315
|
-
"
|
|
1316
|
-
"pulse": false
|
|
1311
|
+
"status": "online",
|
|
1312
|
+
"pulse": false,
|
|
1313
|
+
"label": "Exploring"
|
|
1317
1314
|
}
|
|
1318
1315
|
],
|
|
1319
|
-
"
|
|
1320
|
-
"
|
|
1316
|
+
"direction": "horizontal",
|
|
1317
|
+
"justify": "between",
|
|
1318
|
+
"type": "stack",
|
|
1319
|
+
"gap": "md"
|
|
1321
1320
|
},
|
|
1322
1321
|
{
|
|
1323
1322
|
"type": "divider"
|
|
1324
1323
|
},
|
|
1325
1324
|
{
|
|
1326
|
-
"markers": [],
|
|
1327
1325
|
"type": "map-view",
|
|
1328
1326
|
"height": "200px",
|
|
1329
|
-
"zoom": 10.0
|
|
1327
|
+
"zoom": 10.0,
|
|
1328
|
+
"markers": []
|
|
1330
1329
|
},
|
|
1331
1330
|
{
|
|
1331
|
+
"entity": "@payload.data",
|
|
1332
|
+
"fields": [],
|
|
1332
1333
|
"itemActions": [
|
|
1333
1334
|
{
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1335
|
+
"label": "Travel",
|
|
1336
|
+
"event": "TRAVEL"
|
|
1336
1337
|
}
|
|
1337
1338
|
],
|
|
1338
|
-
"entity": "@payload.data",
|
|
1339
1339
|
"type": "data-grid",
|
|
1340
1340
|
"renderItem": [
|
|
1341
1341
|
"fn",
|
|
@@ -1343,51 +1343,51 @@
|
|
|
1343
1343
|
{
|
|
1344
1344
|
"gap": "sm",
|
|
1345
1345
|
"direction": "vertical",
|
|
1346
|
+
"type": "stack",
|
|
1346
1347
|
"children": [
|
|
1347
1348
|
{
|
|
1348
1349
|
"direction": "horizontal",
|
|
1349
1350
|
"align": "center",
|
|
1350
1351
|
"children": [
|
|
1351
1352
|
{
|
|
1352
|
-
"align": "center",
|
|
1353
1353
|
"type": "stack",
|
|
1354
|
+
"gap": "sm",
|
|
1355
|
+
"align": "center",
|
|
1356
|
+
"direction": "horizontal",
|
|
1354
1357
|
"children": [
|
|
1355
1358
|
{
|
|
1356
1359
|
"type": "icon",
|
|
1357
1360
|
"name": "map-pin"
|
|
1358
1361
|
},
|
|
1359
1362
|
{
|
|
1363
|
+
"type": "typography",
|
|
1360
1364
|
"variant": "h4",
|
|
1361
|
-
"content": "@item.name"
|
|
1362
|
-
"type": "typography"
|
|
1365
|
+
"content": "@item.name"
|
|
1363
1366
|
}
|
|
1364
|
-
]
|
|
1365
|
-
"gap": "sm",
|
|
1366
|
-
"direction": "horizontal"
|
|
1367
|
+
]
|
|
1367
1368
|
},
|
|
1368
1369
|
{
|
|
1369
|
-
"
|
|
1370
|
-
"
|
|
1370
|
+
"type": "badge",
|
|
1371
|
+
"label": "@item.owner"
|
|
1371
1372
|
}
|
|
1372
1373
|
],
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1374
|
+
"justify": "between",
|
|
1375
|
+
"type": "stack"
|
|
1375
1376
|
},
|
|
1376
1377
|
{
|
|
1378
|
+
"content": "@item.defense",
|
|
1377
1379
|
"variant": "caption",
|
|
1378
|
-
"type": "typography"
|
|
1379
|
-
"content": "@item.defense"
|
|
1380
|
+
"type": "typography"
|
|
1380
1381
|
}
|
|
1381
|
-
]
|
|
1382
|
-
"type": "stack"
|
|
1382
|
+
]
|
|
1383
1383
|
}
|
|
1384
|
-
]
|
|
1385
|
-
"fields": []
|
|
1384
|
+
]
|
|
1386
1385
|
}
|
|
1387
1386
|
]
|
|
1388
1387
|
}
|
|
1389
1388
|
],
|
|
1390
|
-
"
|
|
1389
|
+
"type": "game-shell",
|
|
1390
|
+
"appName": "Strategy Game"
|
|
1391
1391
|
}
|
|
1392
1392
|
]
|
|
1393
1393
|
]
|
|
@@ -1401,36 +1401,36 @@
|
|
|
1401
1401
|
"render-ui",
|
|
1402
1402
|
"main",
|
|
1403
1403
|
{
|
|
1404
|
-
"direction": "vertical",
|
|
1405
1404
|
"type": "stack",
|
|
1405
|
+
"gap": "md",
|
|
1406
1406
|
"align": "center",
|
|
1407
1407
|
"className": "py-12",
|
|
1408
1408
|
"children": [
|
|
1409
1409
|
{
|
|
1410
|
+
"color": "destructive",
|
|
1410
1411
|
"name": "alert-triangle",
|
|
1411
|
-
"type": "icon"
|
|
1412
|
-
"color": "destructive"
|
|
1412
|
+
"type": "icon"
|
|
1413
1413
|
},
|
|
1414
1414
|
{
|
|
1415
|
-
"content": "Failed to load territory",
|
|
1416
1415
|
"type": "typography",
|
|
1416
|
+
"content": "Failed to load territory",
|
|
1417
1417
|
"variant": "h3"
|
|
1418
1418
|
},
|
|
1419
1419
|
{
|
|
1420
|
-
"color": "muted",
|
|
1421
|
-
"variant": "body",
|
|
1422
1420
|
"type": "typography",
|
|
1423
|
-
"
|
|
1421
|
+
"variant": "body",
|
|
1422
|
+
"content": "@payload.error",
|
|
1423
|
+
"color": "muted"
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
|
+
"icon": "rotate-ccw",
|
|
1426
1427
|
"label": "Retry",
|
|
1427
1428
|
"type": "button",
|
|
1428
|
-
"
|
|
1429
|
-
"
|
|
1430
|
-
"action": "INIT"
|
|
1429
|
+
"action": "INIT",
|
|
1430
|
+
"variant": "primary"
|
|
1431
1431
|
}
|
|
1432
1432
|
],
|
|
1433
|
-
"
|
|
1433
|
+
"direction": "vertical"
|
|
1434
1434
|
}
|
|
1435
1435
|
]
|
|
1436
1436
|
]
|
|
@@ -1589,34 +1589,38 @@
|
|
|
1589
1589
|
"render-ui",
|
|
1590
1590
|
"main",
|
|
1591
1591
|
{
|
|
1592
|
+
"type": "game-shell",
|
|
1593
|
+
"showTopBar": true,
|
|
1594
|
+
"appName": "Strategy Game",
|
|
1592
1595
|
"children": [
|
|
1593
1596
|
{
|
|
1597
|
+
"type": "scaled-diagram",
|
|
1594
1598
|
"children": [
|
|
1595
1599
|
{
|
|
1596
1600
|
"children": [
|
|
1597
1601
|
{
|
|
1598
|
-
"type": "breadcrumb",
|
|
1599
1602
|
"items": [
|
|
1600
1603
|
{
|
|
1601
|
-
"
|
|
1602
|
-
"
|
|
1604
|
+
"label": "Home",
|
|
1605
|
+
"href": "/"
|
|
1603
1606
|
},
|
|
1604
1607
|
{
|
|
1605
1608
|
"label": "Resources"
|
|
1606
1609
|
}
|
|
1607
|
-
]
|
|
1610
|
+
],
|
|
1611
|
+
"type": "breadcrumb"
|
|
1608
1612
|
},
|
|
1609
1613
|
{
|
|
1614
|
+
"type": "stack",
|
|
1610
1615
|
"gap": "md",
|
|
1616
|
+
"direction": "horizontal",
|
|
1611
1617
|
"justify": "between",
|
|
1612
|
-
"type": "stack",
|
|
1613
1618
|
"children": [
|
|
1614
1619
|
{
|
|
1615
|
-
"direction": "horizontal",
|
|
1616
1620
|
"children": [
|
|
1617
1621
|
{
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1622
|
+
"name": "database",
|
|
1623
|
+
"type": "icon"
|
|
1620
1624
|
},
|
|
1621
1625
|
{
|
|
1622
1626
|
"type": "typography",
|
|
@@ -1625,17 +1629,17 @@
|
|
|
1625
1629
|
}
|
|
1626
1630
|
],
|
|
1627
1631
|
"gap": "md",
|
|
1628
|
-
"type": "stack"
|
|
1632
|
+
"type": "stack",
|
|
1633
|
+
"direction": "horizontal"
|
|
1629
1634
|
},
|
|
1630
1635
|
{
|
|
1631
|
-
"label": "Refresh",
|
|
1632
|
-
"icon": "refresh-cw",
|
|
1633
1636
|
"type": "button",
|
|
1637
|
+
"label": "Refresh",
|
|
1638
|
+
"variant": "secondary",
|
|
1634
1639
|
"action": "REFRESH",
|
|
1635
|
-
"
|
|
1640
|
+
"icon": "refresh-cw"
|
|
1636
1641
|
}
|
|
1637
|
-
]
|
|
1638
|
-
"direction": "horizontal"
|
|
1642
|
+
]
|
|
1639
1643
|
},
|
|
1640
1644
|
{
|
|
1641
1645
|
"type": "divider"
|
|
@@ -1644,12 +1648,11 @@
|
|
|
1644
1648
|
"children": [
|
|
1645
1649
|
{
|
|
1646
1650
|
"cols": 3.0,
|
|
1647
|
-
"type": "simple-grid",
|
|
1648
1651
|
"children": [
|
|
1649
1652
|
{
|
|
1650
|
-
"type": "stat-display",
|
|
1651
1653
|
"label": "Gold",
|
|
1652
|
-
"value": "@entity.gold"
|
|
1654
|
+
"value": "@entity.gold",
|
|
1655
|
+
"type": "stat-display"
|
|
1653
1656
|
},
|
|
1654
1657
|
{
|
|
1655
1658
|
"type": "stat-display",
|
|
@@ -1657,16 +1660,17 @@
|
|
|
1657
1660
|
"value": "@entity.food"
|
|
1658
1661
|
},
|
|
1659
1662
|
{
|
|
1660
|
-
"
|
|
1663
|
+
"type": "stat-display",
|
|
1661
1664
|
"label": "Wood",
|
|
1662
|
-
"
|
|
1665
|
+
"value": "@entity.wood"
|
|
1663
1666
|
},
|
|
1664
1667
|
{
|
|
1665
|
-
"label": "Iron",
|
|
1666
1668
|
"value": "@entity.iron",
|
|
1669
|
+
"label": "Iron",
|
|
1667
1670
|
"type": "stat-display"
|
|
1668
1671
|
}
|
|
1669
|
-
]
|
|
1672
|
+
],
|
|
1673
|
+
"type": "simple-grid"
|
|
1670
1674
|
}
|
|
1671
1675
|
],
|
|
1672
1676
|
"padding": "md",
|
|
@@ -1676,33 +1680,34 @@
|
|
|
1676
1680
|
"type": "divider"
|
|
1677
1681
|
},
|
|
1678
1682
|
{
|
|
1683
|
+
"type": "grid",
|
|
1679
1684
|
"cols": 2.0,
|
|
1680
1685
|
"children": [
|
|
1681
1686
|
{
|
|
1682
|
-
"type": "card",
|
|
1683
1687
|
"children": [
|
|
1684
1688
|
{
|
|
1685
|
-
"variant": "caption",
|
|
1686
1689
|
"type": "typography",
|
|
1687
|
-
"content": "Chart View"
|
|
1690
|
+
"content": "Chart View",
|
|
1691
|
+
"variant": "caption"
|
|
1688
1692
|
}
|
|
1689
|
-
]
|
|
1693
|
+
],
|
|
1694
|
+
"type": "card"
|
|
1690
1695
|
},
|
|
1691
1696
|
{
|
|
1692
|
-
"type": "card",
|
|
1693
1697
|
"children": [
|
|
1694
1698
|
{
|
|
1695
|
-
"
|
|
1699
|
+
"type": "typography",
|
|
1696
1700
|
"variant": "caption",
|
|
1697
|
-
"
|
|
1701
|
+
"content": "Graph View"
|
|
1698
1702
|
}
|
|
1699
|
-
]
|
|
1703
|
+
],
|
|
1704
|
+
"type": "card"
|
|
1700
1705
|
}
|
|
1701
1706
|
],
|
|
1702
|
-
"type": "grid",
|
|
1703
1707
|
"gap": "md"
|
|
1704
1708
|
},
|
|
1705
1709
|
{
|
|
1710
|
+
"type": "line-chart",
|
|
1706
1711
|
"data": [
|
|
1707
1712
|
{
|
|
1708
1713
|
"value": 12.0,
|
|
@@ -1721,15 +1726,14 @@
|
|
|
1721
1726
|
"date": "Apr"
|
|
1722
1727
|
},
|
|
1723
1728
|
{
|
|
1724
|
-
"
|
|
1725
|
-
"
|
|
1729
|
+
"value": 22.0,
|
|
1730
|
+
"date": "May"
|
|
1726
1731
|
},
|
|
1727
1732
|
{
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1733
|
+
"date": "Jun",
|
|
1734
|
+
"value": 30.0
|
|
1730
1735
|
}
|
|
1731
|
-
]
|
|
1732
|
-
"type": "line-chart"
|
|
1736
|
+
]
|
|
1733
1737
|
},
|
|
1734
1738
|
{
|
|
1735
1739
|
"type": "chart-legend",
|
|
@@ -1739,52 +1743,48 @@
|
|
|
1739
1743
|
"label": "Current"
|
|
1740
1744
|
},
|
|
1741
1745
|
{
|
|
1742
|
-
"
|
|
1743
|
-
"
|
|
1746
|
+
"label": "Previous",
|
|
1747
|
+
"color": "muted"
|
|
1744
1748
|
}
|
|
1745
1749
|
]
|
|
1746
1750
|
},
|
|
1747
1751
|
{
|
|
1748
1752
|
"width": 400.0,
|
|
1749
|
-
"
|
|
1750
|
-
"nodes": [
|
|
1751
|
-
{
|
|
1752
|
-
"id": "a",
|
|
1753
|
-
"label": "Start"
|
|
1754
|
-
},
|
|
1753
|
+
"edges": [
|
|
1755
1754
|
{
|
|
1756
|
-
"
|
|
1757
|
-
"
|
|
1755
|
+
"source": "a",
|
|
1756
|
+
"target": "b"
|
|
1758
1757
|
},
|
|
1759
1758
|
{
|
|
1760
|
-
"
|
|
1761
|
-
"
|
|
1759
|
+
"source": "b",
|
|
1760
|
+
"target": "c"
|
|
1762
1761
|
}
|
|
1763
1762
|
],
|
|
1764
|
-
"
|
|
1763
|
+
"height": 200.0,
|
|
1764
|
+
"nodes": [
|
|
1765
1765
|
{
|
|
1766
|
-
"
|
|
1767
|
-
"
|
|
1766
|
+
"label": "Start",
|
|
1767
|
+
"id": "a"
|
|
1768
1768
|
},
|
|
1769
1769
|
{
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1770
|
+
"id": "b",
|
|
1771
|
+
"label": "Process"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"label": "End",
|
|
1775
|
+
"id": "c"
|
|
1772
1776
|
}
|
|
1773
1777
|
],
|
|
1774
1778
|
"type": "graph-view"
|
|
1775
1779
|
}
|
|
1776
1780
|
],
|
|
1777
|
-
"
|
|
1781
|
+
"gap": "lg",
|
|
1778
1782
|
"direction": "vertical",
|
|
1779
|
-
"
|
|
1783
|
+
"type": "stack"
|
|
1780
1784
|
}
|
|
1781
|
-
]
|
|
1782
|
-
"type": "scaled-diagram"
|
|
1785
|
+
]
|
|
1783
1786
|
}
|
|
1784
|
-
]
|
|
1785
|
-
"appName": "Strategy Game",
|
|
1786
|
-
"showTopBar": true,
|
|
1787
|
-
"type": "game-shell"
|
|
1787
|
+
]
|
|
1788
1788
|
}
|
|
1789
1789
|
]
|
|
1790
1790
|
]
|
|
@@ -1799,8 +1799,8 @@
|
|
|
1799
1799
|
"Resource",
|
|
1800
1800
|
{
|
|
1801
1801
|
"emit": {
|
|
1802
|
-
"
|
|
1803
|
-
"
|
|
1802
|
+
"success": "ResourceLoaded",
|
|
1803
|
+
"failure": "ResourceLoadFailed"
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
1806
|
],
|
|
@@ -1808,9 +1808,12 @@
|
|
|
1808
1808
|
"render-ui",
|
|
1809
1809
|
"main",
|
|
1810
1810
|
{
|
|
1811
|
+
"appName": "Strategy Game",
|
|
1812
|
+
"type": "game-shell",
|
|
1811
1813
|
"showTopBar": true,
|
|
1812
1814
|
"children": [
|
|
1813
1815
|
{
|
|
1816
|
+
"type": "scaled-diagram",
|
|
1814
1817
|
"children": [
|
|
1815
1818
|
{
|
|
1816
1819
|
"type": "stack",
|
|
@@ -1818,8 +1821,8 @@
|
|
|
1818
1821
|
{
|
|
1819
1822
|
"items": [
|
|
1820
1823
|
{
|
|
1821
|
-
"
|
|
1822
|
-
"
|
|
1824
|
+
"label": "Home",
|
|
1825
|
+
"href": "/"
|
|
1823
1826
|
},
|
|
1824
1827
|
{
|
|
1825
1828
|
"label": "Resources"
|
|
@@ -1828,9 +1831,13 @@
|
|
|
1828
1831
|
"type": "breadcrumb"
|
|
1829
1832
|
},
|
|
1830
1833
|
{
|
|
1834
|
+
"direction": "horizontal",
|
|
1835
|
+
"type": "stack",
|
|
1831
1836
|
"children": [
|
|
1832
1837
|
{
|
|
1838
|
+
"type": "stack",
|
|
1833
1839
|
"direction": "horizontal",
|
|
1840
|
+
"gap": "md",
|
|
1834
1841
|
"children": [
|
|
1835
1842
|
{
|
|
1836
1843
|
"type": "icon",
|
|
@@ -1841,9 +1848,7 @@
|
|
|
1841
1848
|
"type": "typography",
|
|
1842
1849
|
"content": "Resources"
|
|
1843
1850
|
}
|
|
1844
|
-
]
|
|
1845
|
-
"type": "stack",
|
|
1846
|
-
"gap": "md"
|
|
1851
|
+
]
|
|
1847
1852
|
},
|
|
1848
1853
|
{
|
|
1849
1854
|
"type": "button",
|
|
@@ -1854,9 +1859,7 @@
|
|
|
1854
1859
|
}
|
|
1855
1860
|
],
|
|
1856
1861
|
"gap": "md",
|
|
1857
|
-
"justify": "between"
|
|
1858
|
-
"direction": "horizontal",
|
|
1859
|
-
"type": "stack"
|
|
1862
|
+
"justify": "between"
|
|
1860
1863
|
},
|
|
1861
1864
|
{
|
|
1862
1865
|
"type": "divider"
|
|
@@ -1874,9 +1877,9 @@
|
|
|
1874
1877
|
"label": "Gold"
|
|
1875
1878
|
},
|
|
1876
1879
|
{
|
|
1877
|
-
"
|
|
1880
|
+
"value": "@entity.food",
|
|
1878
1881
|
"type": "stat-display",
|
|
1879
|
-
"
|
|
1882
|
+
"label": "Food"
|
|
1880
1883
|
},
|
|
1881
1884
|
{
|
|
1882
1885
|
"label": "Wood",
|
|
@@ -1884,9 +1887,9 @@
|
|
|
1884
1887
|
"type": "stat-display"
|
|
1885
1888
|
},
|
|
1886
1889
|
{
|
|
1887
|
-
"
|
|
1890
|
+
"label": "Iron",
|
|
1888
1891
|
"type": "stat-display",
|
|
1889
|
-
"
|
|
1892
|
+
"value": "@entity.iron"
|
|
1890
1893
|
}
|
|
1891
1894
|
],
|
|
1892
1895
|
"type": "simple-grid"
|
|
@@ -1897,6 +1900,8 @@
|
|
|
1897
1900
|
"type": "divider"
|
|
1898
1901
|
},
|
|
1899
1902
|
{
|
|
1903
|
+
"gap": "md",
|
|
1904
|
+
"type": "grid",
|
|
1900
1905
|
"cols": 2.0,
|
|
1901
1906
|
"children": [
|
|
1902
1907
|
{
|
|
@@ -1910,45 +1915,43 @@
|
|
|
1910
1915
|
]
|
|
1911
1916
|
},
|
|
1912
1917
|
{
|
|
1918
|
+
"type": "card",
|
|
1913
1919
|
"children": [
|
|
1914
1920
|
{
|
|
1915
|
-
"
|
|
1921
|
+
"type": "typography",
|
|
1916
1922
|
"variant": "caption",
|
|
1917
|
-
"
|
|
1923
|
+
"content": "Graph View"
|
|
1918
1924
|
}
|
|
1919
|
-
]
|
|
1920
|
-
"type": "card"
|
|
1925
|
+
]
|
|
1921
1926
|
}
|
|
1922
|
-
]
|
|
1923
|
-
"gap": "md",
|
|
1924
|
-
"type": "grid"
|
|
1927
|
+
]
|
|
1925
1928
|
},
|
|
1926
1929
|
{
|
|
1927
1930
|
"type": "line-chart",
|
|
1928
1931
|
"data": [
|
|
1929
1932
|
{
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1933
|
+
"date": "Jan",
|
|
1934
|
+
"value": 12.0
|
|
1932
1935
|
},
|
|
1933
1936
|
{
|
|
1934
|
-
"
|
|
1935
|
-
"
|
|
1937
|
+
"date": "Feb",
|
|
1938
|
+
"value": 19.0
|
|
1936
1939
|
},
|
|
1937
1940
|
{
|
|
1938
1941
|
"date": "Mar",
|
|
1939
1942
|
"value": 15.0
|
|
1940
1943
|
},
|
|
1941
1944
|
{
|
|
1942
|
-
"
|
|
1943
|
-
"
|
|
1945
|
+
"value": 25.0,
|
|
1946
|
+
"date": "Apr"
|
|
1944
1947
|
},
|
|
1945
1948
|
{
|
|
1946
1949
|
"date": "May",
|
|
1947
1950
|
"value": 22.0
|
|
1948
1951
|
},
|
|
1949
1952
|
{
|
|
1950
|
-
"
|
|
1951
|
-
"
|
|
1953
|
+
"date": "Jun",
|
|
1954
|
+
"value": 30.0
|
|
1952
1955
|
}
|
|
1953
1956
|
]
|
|
1954
1957
|
},
|
|
@@ -1966,44 +1969,41 @@
|
|
|
1966
1969
|
"type": "chart-legend"
|
|
1967
1970
|
},
|
|
1968
1971
|
{
|
|
1969
|
-
"nodes": [
|
|
1970
|
-
{
|
|
1971
|
-
"id": "a",
|
|
1972
|
-
"label": "Start"
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"label": "Process",
|
|
1976
|
-
"id": "b"
|
|
1977
|
-
},
|
|
1978
|
-
{
|
|
1979
|
-
"id": "c",
|
|
1980
|
-
"label": "End"
|
|
1981
|
-
}
|
|
1982
|
-
],
|
|
1983
1972
|
"edges": [
|
|
1984
1973
|
{
|
|
1985
1974
|
"source": "a",
|
|
1986
1975
|
"target": "b"
|
|
1987
1976
|
},
|
|
1988
1977
|
{
|
|
1989
|
-
"
|
|
1990
|
-
"
|
|
1978
|
+
"source": "b",
|
|
1979
|
+
"target": "c"
|
|
1991
1980
|
}
|
|
1992
1981
|
],
|
|
1993
|
-
"type": "graph-view",
|
|
1994
1982
|
"width": 400.0,
|
|
1995
|
-
"height": 200.0
|
|
1983
|
+
"height": 200.0,
|
|
1984
|
+
"type": "graph-view",
|
|
1985
|
+
"nodes": [
|
|
1986
|
+
{
|
|
1987
|
+
"label": "Start",
|
|
1988
|
+
"id": "a"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"label": "Process",
|
|
1992
|
+
"id": "b"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"label": "End",
|
|
1996
|
+
"id": "c"
|
|
1997
|
+
}
|
|
1998
|
+
]
|
|
1996
1999
|
}
|
|
1997
2000
|
],
|
|
1998
|
-
"
|
|
1999
|
-
"
|
|
2001
|
+
"direction": "vertical",
|
|
2002
|
+
"gap": "lg"
|
|
2000
2003
|
}
|
|
2001
|
-
]
|
|
2002
|
-
"type": "scaled-diagram"
|
|
2004
|
+
]
|
|
2003
2005
|
}
|
|
2004
|
-
]
|
|
2005
|
-
"type": "game-shell",
|
|
2006
|
-
"appName": "Strategy Game"
|
|
2006
|
+
]
|
|
2007
2007
|
}
|
|
2008
2008
|
]
|
|
2009
2009
|
]
|
|
@@ -2018,8 +2018,8 @@
|
|
|
2018
2018
|
"Resource",
|
|
2019
2019
|
{
|
|
2020
2020
|
"emit": {
|
|
2021
|
-
"
|
|
2022
|
-
"
|
|
2021
|
+
"success": "ResourceLoaded",
|
|
2022
|
+
"failure": "ResourceLoadFailed"
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
2025
|
],
|
|
@@ -2028,16 +2028,16 @@
|
|
|
2028
2028
|
"main",
|
|
2029
2029
|
{
|
|
2030
2030
|
"appName": "Strategy Game",
|
|
2031
|
-
"showTopBar": true,
|
|
2032
2031
|
"children": [
|
|
2033
2032
|
{
|
|
2033
|
+
"type": "scaled-diagram",
|
|
2034
2034
|
"children": [
|
|
2035
2035
|
{
|
|
2036
2036
|
"gap": "lg",
|
|
2037
2037
|
"type": "stack",
|
|
2038
|
-
"direction": "vertical",
|
|
2039
2038
|
"children": [
|
|
2040
2039
|
{
|
|
2040
|
+
"type": "breadcrumb",
|
|
2041
2041
|
"items": [
|
|
2042
2042
|
{
|
|
2043
2043
|
"label": "Home",
|
|
@@ -2046,18 +2046,16 @@
|
|
|
2046
2046
|
{
|
|
2047
2047
|
"label": "Resources"
|
|
2048
2048
|
}
|
|
2049
|
-
]
|
|
2050
|
-
"type": "breadcrumb"
|
|
2049
|
+
]
|
|
2051
2050
|
},
|
|
2052
2051
|
{
|
|
2053
|
-
"
|
|
2052
|
+
"type": "stack",
|
|
2054
2053
|
"gap": "md",
|
|
2055
2054
|
"direction": "horizontal",
|
|
2056
|
-
"type": "stack",
|
|
2057
2055
|
"children": [
|
|
2058
2056
|
{
|
|
2059
|
-
"gap": "md",
|
|
2060
2057
|
"direction": "horizontal",
|
|
2058
|
+
"gap": "md",
|
|
2061
2059
|
"type": "stack",
|
|
2062
2060
|
"children": [
|
|
2063
2061
|
{
|
|
@@ -2065,61 +2063,61 @@
|
|
|
2065
2063
|
"name": "database"
|
|
2066
2064
|
},
|
|
2067
2065
|
{
|
|
2066
|
+
"content": "Resources",
|
|
2068
2067
|
"variant": "h2",
|
|
2069
|
-
"type": "typography"
|
|
2070
|
-
"content": "Resources"
|
|
2068
|
+
"type": "typography"
|
|
2071
2069
|
}
|
|
2072
2070
|
]
|
|
2073
2071
|
},
|
|
2074
2072
|
{
|
|
2075
|
-
"icon": "refresh-cw",
|
|
2076
2073
|
"action": "REFRESH",
|
|
2077
|
-
"type": "button",
|
|
2078
2074
|
"variant": "secondary",
|
|
2079
|
-
"label": "Refresh"
|
|
2075
|
+
"label": "Refresh",
|
|
2076
|
+
"type": "button",
|
|
2077
|
+
"icon": "refresh-cw"
|
|
2080
2078
|
}
|
|
2081
|
-
]
|
|
2079
|
+
],
|
|
2080
|
+
"justify": "between"
|
|
2082
2081
|
},
|
|
2083
2082
|
{
|
|
2084
2083
|
"type": "divider"
|
|
2085
2084
|
},
|
|
2086
2085
|
{
|
|
2086
|
+
"padding": "md",
|
|
2087
2087
|
"children": [
|
|
2088
2088
|
{
|
|
2089
|
-
"type": "simple-grid",
|
|
2090
2089
|
"children": [
|
|
2091
2090
|
{
|
|
2091
|
+
"label": "Gold",
|
|
2092
2092
|
"value": "@entity.gold",
|
|
2093
|
-
"type": "stat-display"
|
|
2094
|
-
"label": "Gold"
|
|
2093
|
+
"type": "stat-display"
|
|
2095
2094
|
},
|
|
2096
2095
|
{
|
|
2097
2096
|
"type": "stat-display",
|
|
2098
|
-
"
|
|
2099
|
-
"
|
|
2097
|
+
"label": "Food",
|
|
2098
|
+
"value": "@entity.food"
|
|
2100
2099
|
},
|
|
2101
2100
|
{
|
|
2102
2101
|
"value": "@entity.wood",
|
|
2103
|
-
"
|
|
2104
|
-
"
|
|
2102
|
+
"type": "stat-display",
|
|
2103
|
+
"label": "Wood"
|
|
2105
2104
|
},
|
|
2106
2105
|
{
|
|
2107
|
-
"
|
|
2106
|
+
"value": "@entity.iron",
|
|
2108
2107
|
"type": "stat-display",
|
|
2109
|
-
"
|
|
2108
|
+
"label": "Iron"
|
|
2110
2109
|
}
|
|
2111
2110
|
],
|
|
2111
|
+
"type": "simple-grid",
|
|
2112
2112
|
"cols": 3.0
|
|
2113
2113
|
}
|
|
2114
2114
|
],
|
|
2115
|
-
"type": "box"
|
|
2116
|
-
"padding": "md"
|
|
2115
|
+
"type": "box"
|
|
2117
2116
|
},
|
|
2118
2117
|
{
|
|
2119
2118
|
"type": "divider"
|
|
2120
2119
|
},
|
|
2121
2120
|
{
|
|
2122
|
-
"gap": "md",
|
|
2123
2121
|
"cols": 2.0,
|
|
2124
2122
|
"children": [
|
|
2125
2123
|
{
|
|
@@ -2127,41 +2125,43 @@
|
|
|
2127
2125
|
"children": [
|
|
2128
2126
|
{
|
|
2129
2127
|
"variant": "caption",
|
|
2130
|
-
"
|
|
2131
|
-
"
|
|
2128
|
+
"type": "typography",
|
|
2129
|
+
"content": "Chart View"
|
|
2132
2130
|
}
|
|
2133
2131
|
]
|
|
2134
2132
|
},
|
|
2135
2133
|
{
|
|
2136
|
-
"type": "card",
|
|
2137
2134
|
"children": [
|
|
2138
2135
|
{
|
|
2136
|
+
"variant": "caption",
|
|
2139
2137
|
"content": "Graph View",
|
|
2140
|
-
"type": "typography"
|
|
2141
|
-
"variant": "caption"
|
|
2138
|
+
"type": "typography"
|
|
2142
2139
|
}
|
|
2143
|
-
]
|
|
2140
|
+
],
|
|
2141
|
+
"type": "card"
|
|
2144
2142
|
}
|
|
2145
2143
|
],
|
|
2146
|
-
"type": "grid"
|
|
2144
|
+
"type": "grid",
|
|
2145
|
+
"gap": "md"
|
|
2147
2146
|
},
|
|
2148
2147
|
{
|
|
2148
|
+
"type": "line-chart",
|
|
2149
2149
|
"data": [
|
|
2150
2150
|
{
|
|
2151
|
-
"
|
|
2152
|
-
"
|
|
2151
|
+
"value": 12.0,
|
|
2152
|
+
"date": "Jan"
|
|
2153
2153
|
},
|
|
2154
2154
|
{
|
|
2155
|
-
"
|
|
2156
|
-
"
|
|
2155
|
+
"value": 19.0,
|
|
2156
|
+
"date": "Feb"
|
|
2157
2157
|
},
|
|
2158
2158
|
{
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2159
|
+
"date": "Mar",
|
|
2160
|
+
"value": 15.0
|
|
2161
2161
|
},
|
|
2162
2162
|
{
|
|
2163
|
-
"
|
|
2164
|
-
"
|
|
2163
|
+
"value": 25.0,
|
|
2164
|
+
"date": "Apr"
|
|
2165
2165
|
},
|
|
2166
2166
|
{
|
|
2167
2167
|
"value": 22.0,
|
|
@@ -2171,57 +2171,57 @@
|
|
|
2171
2171
|
"value": 30.0,
|
|
2172
2172
|
"date": "Jun"
|
|
2173
2173
|
}
|
|
2174
|
-
]
|
|
2175
|
-
"type": "line-chart"
|
|
2174
|
+
]
|
|
2176
2175
|
},
|
|
2177
2176
|
{
|
|
2177
|
+
"type": "chart-legend",
|
|
2178
2178
|
"items": [
|
|
2179
2179
|
{
|
|
2180
|
-
"
|
|
2181
|
-
"
|
|
2180
|
+
"color": "primary",
|
|
2181
|
+
"label": "Current"
|
|
2182
2182
|
},
|
|
2183
2183
|
{
|
|
2184
2184
|
"label": "Previous",
|
|
2185
2185
|
"color": "muted"
|
|
2186
2186
|
}
|
|
2187
|
-
]
|
|
2188
|
-
"type": "chart-legend"
|
|
2187
|
+
]
|
|
2189
2188
|
},
|
|
2190
2189
|
{
|
|
2191
2190
|
"width": 400.0,
|
|
2192
|
-
"
|
|
2191
|
+
"nodes": [
|
|
2193
2192
|
{
|
|
2194
|
-
"
|
|
2195
|
-
"
|
|
2193
|
+
"label": "Start",
|
|
2194
|
+
"id": "a"
|
|
2196
2195
|
},
|
|
2197
2196
|
{
|
|
2198
|
-
"
|
|
2199
|
-
"
|
|
2197
|
+
"id": "b",
|
|
2198
|
+
"label": "Process"
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
"id": "c",
|
|
2202
|
+
"label": "End"
|
|
2200
2203
|
}
|
|
2201
2204
|
],
|
|
2202
2205
|
"type": "graph-view",
|
|
2203
|
-
"
|
|
2204
|
-
"nodes": [
|
|
2205
|
-
{
|
|
2206
|
-
"id": "a",
|
|
2207
|
-
"label": "Start"
|
|
2208
|
-
},
|
|
2206
|
+
"edges": [
|
|
2209
2207
|
{
|
|
2210
|
-
"
|
|
2211
|
-
"
|
|
2208
|
+
"source": "a",
|
|
2209
|
+
"target": "b"
|
|
2212
2210
|
},
|
|
2213
2211
|
{
|
|
2214
|
-
"
|
|
2215
|
-
"
|
|
2212
|
+
"target": "c",
|
|
2213
|
+
"source": "b"
|
|
2216
2214
|
}
|
|
2217
|
-
]
|
|
2215
|
+
],
|
|
2216
|
+
"height": 200.0
|
|
2218
2217
|
}
|
|
2219
|
-
]
|
|
2218
|
+
],
|
|
2219
|
+
"direction": "vertical"
|
|
2220
2220
|
}
|
|
2221
|
-
]
|
|
2222
|
-
"type": "scaled-diagram"
|
|
2221
|
+
]
|
|
2223
2222
|
}
|
|
2224
2223
|
],
|
|
2224
|
+
"showTopBar": true,
|
|
2225
2225
|
"type": "game-shell"
|
|
2226
2226
|
}
|
|
2227
2227
|
]
|
|
@@ -2237,8 +2237,8 @@
|
|
|
2237
2237
|
"Resource",
|
|
2238
2238
|
{
|
|
2239
2239
|
"emit": {
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2240
|
+
"failure": "ResourceLoadFailed",
|
|
2241
|
+
"success": "ResourceLoaded"
|
|
2242
2242
|
}
|
|
2243
2243
|
}
|
|
2244
2244
|
],
|
|
@@ -2246,13 +2246,13 @@
|
|
|
2246
2246
|
"render-ui",
|
|
2247
2247
|
"main",
|
|
2248
2248
|
{
|
|
2249
|
-
"showTopBar": true,
|
|
2250
2249
|
"type": "game-shell",
|
|
2251
2250
|
"children": [
|
|
2252
2251
|
{
|
|
2253
2252
|
"type": "scaled-diagram",
|
|
2254
2253
|
"children": [
|
|
2255
2254
|
{
|
|
2255
|
+
"type": "stack",
|
|
2256
2256
|
"gap": "lg",
|
|
2257
2257
|
"direction": "vertical",
|
|
2258
2258
|
"children": [
|
|
@@ -2260,8 +2260,8 @@
|
|
|
2260
2260
|
"type": "breadcrumb",
|
|
2261
2261
|
"items": [
|
|
2262
2262
|
{
|
|
2263
|
-
"
|
|
2264
|
-
"
|
|
2263
|
+
"href": "/",
|
|
2264
|
+
"label": "Home"
|
|
2265
2265
|
},
|
|
2266
2266
|
{
|
|
2267
2267
|
"label": "Resources"
|
|
@@ -2271,93 +2271,93 @@
|
|
|
2271
2271
|
{
|
|
2272
2272
|
"children": [
|
|
2273
2273
|
{
|
|
2274
|
+
"direction": "horizontal",
|
|
2274
2275
|
"children": [
|
|
2275
2276
|
{
|
|
2276
2277
|
"type": "icon",
|
|
2277
2278
|
"name": "database"
|
|
2278
2279
|
},
|
|
2279
2280
|
{
|
|
2280
|
-
"
|
|
2281
|
+
"type": "typography",
|
|
2281
2282
|
"content": "Resources",
|
|
2282
|
-
"
|
|
2283
|
+
"variant": "h2"
|
|
2283
2284
|
}
|
|
2284
2285
|
],
|
|
2285
|
-
"
|
|
2286
|
-
"type": "stack"
|
|
2287
|
-
"gap": "md"
|
|
2286
|
+
"gap": "md",
|
|
2287
|
+
"type": "stack"
|
|
2288
2288
|
},
|
|
2289
2289
|
{
|
|
2290
|
-
"
|
|
2291
|
-
"variant": "secondary",
|
|
2290
|
+
"label": "Refresh",
|
|
2292
2291
|
"action": "REFRESH",
|
|
2293
2292
|
"icon": "refresh-cw",
|
|
2294
|
-
"
|
|
2293
|
+
"variant": "secondary",
|
|
2294
|
+
"type": "button"
|
|
2295
2295
|
}
|
|
2296
2296
|
],
|
|
2297
|
-
"
|
|
2297
|
+
"type": "stack",
|
|
2298
2298
|
"direction": "horizontal",
|
|
2299
2299
|
"gap": "md",
|
|
2300
|
-
"
|
|
2300
|
+
"justify": "between"
|
|
2301
2301
|
},
|
|
2302
2302
|
{
|
|
2303
2303
|
"type": "divider"
|
|
2304
2304
|
},
|
|
2305
2305
|
{
|
|
2306
|
-
"type": "box",
|
|
2307
2306
|
"children": [
|
|
2308
2307
|
{
|
|
2309
|
-
"type": "simple-grid",
|
|
2310
2308
|
"cols": 3.0,
|
|
2311
2309
|
"children": [
|
|
2312
2310
|
{
|
|
2313
2311
|
"value": "@entity.gold",
|
|
2314
|
-
"
|
|
2315
|
-
"
|
|
2312
|
+
"type": "stat-display",
|
|
2313
|
+
"label": "Gold"
|
|
2316
2314
|
},
|
|
2317
2315
|
{
|
|
2318
|
-
"type": "stat-display",
|
|
2319
2316
|
"label": "Food",
|
|
2320
|
-
"value": "@entity.food"
|
|
2317
|
+
"value": "@entity.food",
|
|
2318
|
+
"type": "stat-display"
|
|
2321
2319
|
},
|
|
2322
2320
|
{
|
|
2323
2321
|
"type": "stat-display",
|
|
2324
|
-
"
|
|
2325
|
-
"
|
|
2322
|
+
"value": "@entity.wood",
|
|
2323
|
+
"label": "Wood"
|
|
2326
2324
|
},
|
|
2327
2325
|
{
|
|
2328
|
-
"
|
|
2326
|
+
"label": "Iron",
|
|
2329
2327
|
"value": "@entity.iron",
|
|
2330
|
-
"
|
|
2328
|
+
"type": "stat-display"
|
|
2331
2329
|
}
|
|
2332
|
-
]
|
|
2330
|
+
],
|
|
2331
|
+
"type": "simple-grid"
|
|
2333
2332
|
}
|
|
2334
2333
|
],
|
|
2334
|
+
"type": "box",
|
|
2335
2335
|
"padding": "md"
|
|
2336
2336
|
},
|
|
2337
2337
|
{
|
|
2338
2338
|
"type": "divider"
|
|
2339
2339
|
},
|
|
2340
2340
|
{
|
|
2341
|
-
"cols": 2.0,
|
|
2342
|
-
"gap": "md",
|
|
2343
2341
|
"type": "grid",
|
|
2342
|
+
"gap": "md",
|
|
2343
|
+
"cols": 2.0,
|
|
2344
2344
|
"children": [
|
|
2345
2345
|
{
|
|
2346
|
+
"type": "card",
|
|
2346
2347
|
"children": [
|
|
2347
2348
|
{
|
|
2348
|
-
"variant": "caption",
|
|
2349
2349
|
"content": "Chart View",
|
|
2350
|
-
"type": "typography"
|
|
2350
|
+
"type": "typography",
|
|
2351
|
+
"variant": "caption"
|
|
2351
2352
|
}
|
|
2352
|
-
]
|
|
2353
|
-
"type": "card"
|
|
2353
|
+
]
|
|
2354
2354
|
},
|
|
2355
2355
|
{
|
|
2356
2356
|
"type": "card",
|
|
2357
2357
|
"children": [
|
|
2358
2358
|
{
|
|
2359
|
-
"type": "typography",
|
|
2360
2359
|
"variant": "caption",
|
|
2360
|
+
"type": "typography",
|
|
2361
2361
|
"content": "Graph View"
|
|
2362
2362
|
}
|
|
2363
2363
|
]
|
|
@@ -2365,33 +2365,33 @@
|
|
|
2365
2365
|
]
|
|
2366
2366
|
},
|
|
2367
2367
|
{
|
|
2368
|
+
"type": "line-chart",
|
|
2368
2369
|
"data": [
|
|
2369
2370
|
{
|
|
2370
|
-
"
|
|
2371
|
-
"
|
|
2371
|
+
"date": "Jan",
|
|
2372
|
+
"value": 12.0
|
|
2372
2373
|
},
|
|
2373
2374
|
{
|
|
2374
|
-
"
|
|
2375
|
-
"
|
|
2375
|
+
"value": 19.0,
|
|
2376
|
+
"date": "Feb"
|
|
2376
2377
|
},
|
|
2377
2378
|
{
|
|
2378
2379
|
"date": "Mar",
|
|
2379
2380
|
"value": 15.0
|
|
2380
2381
|
},
|
|
2381
2382
|
{
|
|
2382
|
-
"
|
|
2383
|
-
"
|
|
2383
|
+
"date": "Apr",
|
|
2384
|
+
"value": 25.0
|
|
2384
2385
|
},
|
|
2385
2386
|
{
|
|
2386
|
-
"
|
|
2387
|
-
"
|
|
2387
|
+
"value": 22.0,
|
|
2388
|
+
"date": "May"
|
|
2388
2389
|
},
|
|
2389
2390
|
{
|
|
2390
|
-
"
|
|
2391
|
-
"
|
|
2391
|
+
"value": 30.0,
|
|
2392
|
+
"date": "Jun"
|
|
2392
2393
|
}
|
|
2393
|
-
]
|
|
2394
|
-
"type": "line-chart"
|
|
2394
|
+
]
|
|
2395
2395
|
},
|
|
2396
2396
|
{
|
|
2397
2397
|
"items": [
|
|
@@ -2408,40 +2408,40 @@
|
|
|
2408
2408
|
},
|
|
2409
2409
|
{
|
|
2410
2410
|
"height": 200.0,
|
|
2411
|
+
"type": "graph-view",
|
|
2411
2412
|
"nodes": [
|
|
2412
2413
|
{
|
|
2413
2414
|
"label": "Start",
|
|
2414
2415
|
"id": "a"
|
|
2415
2416
|
},
|
|
2416
2417
|
{
|
|
2417
|
-
"
|
|
2418
|
-
"
|
|
2418
|
+
"id": "b",
|
|
2419
|
+
"label": "Process"
|
|
2419
2420
|
},
|
|
2420
2421
|
{
|
|
2421
|
-
"
|
|
2422
|
-
"
|
|
2422
|
+
"id": "c",
|
|
2423
|
+
"label": "End"
|
|
2423
2424
|
}
|
|
2424
2425
|
],
|
|
2426
|
+
"width": 400.0,
|
|
2425
2427
|
"edges": [
|
|
2426
2428
|
{
|
|
2427
2429
|
"source": "a",
|
|
2428
2430
|
"target": "b"
|
|
2429
2431
|
},
|
|
2430
2432
|
{
|
|
2431
|
-
"
|
|
2432
|
-
"
|
|
2433
|
+
"source": "b",
|
|
2434
|
+
"target": "c"
|
|
2433
2435
|
}
|
|
2434
|
-
]
|
|
2435
|
-
"width": 400.0,
|
|
2436
|
-
"type": "graph-view"
|
|
2436
|
+
]
|
|
2437
2437
|
}
|
|
2438
|
-
]
|
|
2439
|
-
"type": "stack"
|
|
2438
|
+
]
|
|
2440
2439
|
}
|
|
2441
2440
|
]
|
|
2442
2441
|
}
|
|
2443
2442
|
],
|
|
2444
|
-
"appName": "Strategy Game"
|
|
2443
|
+
"appName": "Strategy Game",
|
|
2444
|
+
"showTopBar": true
|
|
2445
2445
|
}
|
|
2446
2446
|
]
|
|
2447
2447
|
]
|
|
@@ -2466,21 +2466,20 @@
|
|
|
2466
2466
|
"main",
|
|
2467
2467
|
{
|
|
2468
2468
|
"type": "game-shell",
|
|
2469
|
-
"appName": "Strategy Game",
|
|
2470
|
-
"showTopBar": true,
|
|
2471
2469
|
"children": [
|
|
2472
2470
|
{
|
|
2471
|
+
"type": "scaled-diagram",
|
|
2473
2472
|
"children": [
|
|
2474
2473
|
{
|
|
2475
2474
|
"gap": "lg",
|
|
2476
|
-
"direction": "vertical",
|
|
2477
2475
|
"type": "stack",
|
|
2476
|
+
"direction": "vertical",
|
|
2478
2477
|
"children": [
|
|
2479
2478
|
{
|
|
2480
2479
|
"items": [
|
|
2481
2480
|
{
|
|
2482
|
-
"
|
|
2483
|
-
"
|
|
2481
|
+
"href": "/",
|
|
2482
|
+
"label": "Home"
|
|
2484
2483
|
},
|
|
2485
2484
|
{
|
|
2486
2485
|
"label": "Resources"
|
|
@@ -2489,33 +2488,33 @@
|
|
|
2489
2488
|
"type": "breadcrumb"
|
|
2490
2489
|
},
|
|
2491
2490
|
{
|
|
2491
|
+
"justify": "between",
|
|
2492
2492
|
"direction": "horizontal",
|
|
2493
2493
|
"gap": "md",
|
|
2494
|
-
"justify": "between",
|
|
2495
2494
|
"type": "stack",
|
|
2496
2495
|
"children": [
|
|
2497
2496
|
{
|
|
2498
2497
|
"direction": "horizontal",
|
|
2499
2498
|
"children": [
|
|
2500
2499
|
{
|
|
2501
|
-
"
|
|
2502
|
-
"
|
|
2500
|
+
"name": "database",
|
|
2501
|
+
"type": "icon"
|
|
2503
2502
|
},
|
|
2504
2503
|
{
|
|
2504
|
+
"content": "Resources",
|
|
2505
2505
|
"type": "typography",
|
|
2506
|
-
"variant": "h2"
|
|
2507
|
-
"content": "Resources"
|
|
2506
|
+
"variant": "h2"
|
|
2508
2507
|
}
|
|
2509
2508
|
],
|
|
2510
2509
|
"type": "stack",
|
|
2511
2510
|
"gap": "md"
|
|
2512
2511
|
},
|
|
2513
2512
|
{
|
|
2514
|
-
"icon": "refresh-cw",
|
|
2515
2513
|
"variant": "secondary",
|
|
2516
2514
|
"label": "Refresh",
|
|
2517
|
-
"
|
|
2518
|
-
"action": "REFRESH"
|
|
2515
|
+
"icon": "refresh-cw",
|
|
2516
|
+
"action": "REFRESH",
|
|
2517
|
+
"type": "button"
|
|
2519
2518
|
}
|
|
2520
2519
|
]
|
|
2521
2520
|
},
|
|
@@ -2525,17 +2524,16 @@
|
|
|
2525
2524
|
{
|
|
2526
2525
|
"children": [
|
|
2527
2526
|
{
|
|
2528
|
-
"cols": 3.0,
|
|
2529
2527
|
"type": "simple-grid",
|
|
2530
2528
|
"children": [
|
|
2531
2529
|
{
|
|
2532
|
-
"label": "Gold",
|
|
2533
2530
|
"type": "stat-display",
|
|
2531
|
+
"label": "Gold",
|
|
2534
2532
|
"value": "@entity.gold"
|
|
2535
2533
|
},
|
|
2536
2534
|
{
|
|
2537
|
-
"type": "stat-display",
|
|
2538
2535
|
"label": "Food",
|
|
2536
|
+
"type": "stat-display",
|
|
2539
2537
|
"value": "@entity.food"
|
|
2540
2538
|
},
|
|
2541
2539
|
{
|
|
@@ -2548,7 +2546,8 @@
|
|
|
2548
2546
|
"type": "stat-display",
|
|
2549
2547
|
"label": "Iron"
|
|
2550
2548
|
}
|
|
2551
|
-
]
|
|
2549
|
+
],
|
|
2550
|
+
"cols": 3.0
|
|
2552
2551
|
}
|
|
2553
2552
|
],
|
|
2554
2553
|
"type": "box",
|
|
@@ -2559,15 +2558,13 @@
|
|
|
2559
2558
|
},
|
|
2560
2559
|
{
|
|
2561
2560
|
"gap": "md",
|
|
2562
|
-
"type": "grid",
|
|
2563
|
-
"cols": 2.0,
|
|
2564
2561
|
"children": [
|
|
2565
2562
|
{
|
|
2566
2563
|
"children": [
|
|
2567
2564
|
{
|
|
2568
2565
|
"content": "Chart View",
|
|
2569
|
-
"
|
|
2570
|
-
"
|
|
2566
|
+
"variant": "caption",
|
|
2567
|
+
"type": "typography"
|
|
2571
2568
|
}
|
|
2572
2569
|
],
|
|
2573
2570
|
"type": "card"
|
|
@@ -2577,23 +2574,25 @@
|
|
|
2577
2574
|
"children": [
|
|
2578
2575
|
{
|
|
2579
2576
|
"content": "Graph View",
|
|
2580
|
-
"
|
|
2581
|
-
"
|
|
2577
|
+
"type": "typography",
|
|
2578
|
+
"variant": "caption"
|
|
2582
2579
|
}
|
|
2583
2580
|
]
|
|
2584
2581
|
}
|
|
2585
|
-
]
|
|
2582
|
+
],
|
|
2583
|
+
"type": "grid",
|
|
2584
|
+
"cols": 2.0
|
|
2586
2585
|
},
|
|
2587
2586
|
{
|
|
2588
2587
|
"type": "line-chart",
|
|
2589
2588
|
"data": [
|
|
2590
2589
|
{
|
|
2591
|
-
"
|
|
2592
|
-
"
|
|
2590
|
+
"value": 12.0,
|
|
2591
|
+
"date": "Jan"
|
|
2593
2592
|
},
|
|
2594
2593
|
{
|
|
2595
|
-
"
|
|
2596
|
-
"
|
|
2594
|
+
"value": 19.0,
|
|
2595
|
+
"date": "Feb"
|
|
2597
2596
|
},
|
|
2598
2597
|
{
|
|
2599
2598
|
"date": "Mar",
|
|
@@ -2604,8 +2603,8 @@
|
|
|
2604
2603
|
"value": 25.0
|
|
2605
2604
|
},
|
|
2606
2605
|
{
|
|
2607
|
-
"
|
|
2608
|
-
"
|
|
2606
|
+
"value": 22.0,
|
|
2607
|
+
"date": "May"
|
|
2609
2608
|
},
|
|
2610
2609
|
{
|
|
2611
2610
|
"date": "Jun",
|
|
@@ -2620,8 +2619,8 @@
|
|
|
2620
2619
|
"label": "Current"
|
|
2621
2620
|
},
|
|
2622
2621
|
{
|
|
2623
|
-
"
|
|
2624
|
-
"
|
|
2622
|
+
"label": "Previous",
|
|
2623
|
+
"color": "muted"
|
|
2625
2624
|
}
|
|
2626
2625
|
],
|
|
2627
2626
|
"type": "chart-legend"
|
|
@@ -2629,38 +2628,39 @@
|
|
|
2629
2628
|
{
|
|
2630
2629
|
"type": "graph-view",
|
|
2631
2630
|
"width": 400.0,
|
|
2632
|
-
"edges": [
|
|
2633
|
-
{
|
|
2634
|
-
"target": "b",
|
|
2635
|
-
"source": "a"
|
|
2636
|
-
},
|
|
2637
|
-
{
|
|
2638
|
-
"source": "b",
|
|
2639
|
-
"target": "c"
|
|
2640
|
-
}
|
|
2641
|
-
],
|
|
2642
2631
|
"nodes": [
|
|
2643
2632
|
{
|
|
2644
2633
|
"id": "a",
|
|
2645
2634
|
"label": "Start"
|
|
2646
2635
|
},
|
|
2647
2636
|
{
|
|
2648
|
-
"
|
|
2649
|
-
"
|
|
2637
|
+
"id": "b",
|
|
2638
|
+
"label": "Process"
|
|
2650
2639
|
},
|
|
2651
2640
|
{
|
|
2652
|
-
"
|
|
2653
|
-
"
|
|
2641
|
+
"id": "c",
|
|
2642
|
+
"label": "End"
|
|
2643
|
+
}
|
|
2644
|
+
],
|
|
2645
|
+
"edges": [
|
|
2646
|
+
{
|
|
2647
|
+
"target": "b",
|
|
2648
|
+
"source": "a"
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"target": "c",
|
|
2652
|
+
"source": "b"
|
|
2654
2653
|
}
|
|
2655
2654
|
],
|
|
2656
2655
|
"height": 200.0
|
|
2657
2656
|
}
|
|
2658
2657
|
]
|
|
2659
2658
|
}
|
|
2660
|
-
]
|
|
2661
|
-
"type": "scaled-diagram"
|
|
2659
|
+
]
|
|
2662
2660
|
}
|
|
2663
|
-
]
|
|
2661
|
+
],
|
|
2662
|
+
"showTopBar": true,
|
|
2663
|
+
"appName": "Strategy Game"
|
|
2664
2664
|
}
|
|
2665
2665
|
]
|
|
2666
2666
|
]
|
|
@@ -2683,4 +2683,4 @@
|
|
|
2683
2683
|
]
|
|
2684
2684
|
}
|
|
2685
2685
|
]
|
|
2686
|
-
}
|
|
2686
|
+
}
|