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