@almadar/std 8.3.0 → 8.4.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 +62 -62
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
- package/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
- package/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
- package/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
- package/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
- package/behaviors/registry/app/organisms/std-cms.orb +469 -469
- package/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
- package/behaviors/registry/app/organisms/std-crm.orb +832 -832
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
- package/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
- package/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
- package/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
- package/behaviors/registry/app/organisms/std-lms.orb +839 -839
- package/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
- package/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
- package/behaviors/registry/core/atoms/std-browse.orb +53 -53
- package/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
- package/behaviors/registry/core/atoms/std-calendar.orb +57 -57
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
- package/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
- package/behaviors/registry/core/atoms/std-display.orb +383 -383
- package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/behaviors/registry/core/atoms/std-filter.orb +42 -42
- package/behaviors/registry/core/atoms/std-gallery.orb +54 -54
- package/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
- package/behaviors/registry/core/atoms/std-related.orb +34 -34
- package/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/behaviors/registry/core/atoms/std-tabs.orb +52 -52
- package/behaviors/registry/core/molecules/std-cart.orb +45 -45
- package/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
- package/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
- package/behaviors/registry/core/molecules/std-list.orb +46 -46
- package/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
- package/behaviors/registry/game/atoms/std-collision.orb +121 -121
- package/behaviors/registry/game/atoms/std-combat.orb +68 -68
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
- package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/behaviors/registry/game/atoms/std-movement.orb +306 -306
- package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
- 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 +274 -274
- package/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
- package/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
- package/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
- package/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
- package/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
- package/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
- package/behaviors/registry/service/atoms/std-service-email.orb +72 -72
- package/behaviors/registry/service/atoms/std-service-github.orb +98 -98
- package/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
- package/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
- package/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
- package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
- package/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
- package/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
- package/dist/behaviors/registry/app/organisms/std-cms.orb +469 -469
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
- package/dist/behaviors/registry/app/organisms/std-crm.orb +832 -832
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
- package/dist/behaviors/registry/app/organisms/std-lms.orb +839 -839
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
- package/dist/behaviors/registry/core/atoms/std-browse.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +57 -57
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-display.orb +383 -383
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-filter.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
- package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
- package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +52 -52
- package/dist/behaviors/registry/core/molecules/std-cart.orb +45 -45
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
- package/dist/behaviors/registry/core/molecules/std-list.orb +46 -46
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
- package/dist/behaviors/registry/game/atoms/std-collision.orb +121 -121
- package/dist/behaviors/registry/game/atoms/std-combat.orb +68 -68
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/dist/behaviors/registry/game/atoms/std-movement.orb +306 -306
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
- 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 +274 -274
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +72 -72
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +98 -98
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
- package/package.json +1 -1
|
@@ -372,8 +372,8 @@
|
|
|
372
372
|
"BattleState",
|
|
373
373
|
{
|
|
374
374
|
"emit": {
|
|
375
|
-
"
|
|
376
|
-
"
|
|
375
|
+
"failure": "BattleStateLoadFailed",
|
|
376
|
+
"success": "BattleStateLoaded"
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
],
|
|
@@ -381,21 +381,21 @@
|
|
|
381
381
|
"render-ui",
|
|
382
382
|
"main",
|
|
383
383
|
{
|
|
384
|
-
"type": "game-shell",
|
|
385
384
|
"appName": "RPG Game",
|
|
386
385
|
"showTopBar": true,
|
|
386
|
+
"type": "game-shell",
|
|
387
387
|
"children": [
|
|
388
388
|
{
|
|
389
|
+
"title": "Battle Arena",
|
|
389
390
|
"type": "game-menu",
|
|
390
391
|
"menuItems": [
|
|
391
392
|
{
|
|
392
|
-
"variant": "primary",
|
|
393
393
|
"event": "START",
|
|
394
|
+
"variant": "primary",
|
|
394
395
|
"label": "Start Battle"
|
|
395
396
|
}
|
|
396
397
|
],
|
|
397
|
-
"subtitle": "Turn-Based Strategy"
|
|
398
|
-
"title": "Battle Arena"
|
|
398
|
+
"subtitle": "Turn-Based Strategy"
|
|
399
399
|
}
|
|
400
400
|
]
|
|
401
401
|
}
|
|
@@ -411,22 +411,22 @@
|
|
|
411
411
|
"render-ui",
|
|
412
412
|
"main",
|
|
413
413
|
{
|
|
414
|
-
"type": "game-shell",
|
|
415
|
-
"showTopBar": true,
|
|
416
414
|
"appName": "RPG Game",
|
|
415
|
+
"showTopBar": true,
|
|
416
|
+
"type": "game-shell",
|
|
417
417
|
"children": [
|
|
418
418
|
{
|
|
419
|
-
"type": "game-hud",
|
|
420
419
|
"stats": [
|
|
421
420
|
{
|
|
422
|
-
"
|
|
423
|
-
"
|
|
421
|
+
"label": "Turn",
|
|
422
|
+
"value": "@entity.turn"
|
|
424
423
|
},
|
|
425
424
|
{
|
|
426
425
|
"value": "@entity.score",
|
|
427
426
|
"label": "Score"
|
|
428
427
|
}
|
|
429
|
-
]
|
|
428
|
+
],
|
|
429
|
+
"type": "game-hud"
|
|
430
430
|
}
|
|
431
431
|
]
|
|
432
432
|
}
|
|
@@ -456,24 +456,24 @@
|
|
|
456
456
|
"render-ui",
|
|
457
457
|
"main",
|
|
458
458
|
{
|
|
459
|
+
"showTopBar": true,
|
|
460
|
+
"type": "game-shell",
|
|
461
|
+
"appName": "RPG Game",
|
|
459
462
|
"children": [
|
|
460
463
|
{
|
|
461
464
|
"type": "game-hud",
|
|
462
465
|
"stats": [
|
|
463
466
|
{
|
|
464
|
-
"
|
|
465
|
-
"
|
|
467
|
+
"value": "@entity.turn",
|
|
468
|
+
"label": "Turn"
|
|
466
469
|
},
|
|
467
470
|
{
|
|
468
|
-
"
|
|
469
|
-
"
|
|
471
|
+
"value": "@entity.score",
|
|
472
|
+
"label": "Score"
|
|
470
473
|
}
|
|
471
474
|
]
|
|
472
475
|
}
|
|
473
|
-
]
|
|
474
|
-
"appName": "RPG Game",
|
|
475
|
-
"type": "game-shell",
|
|
476
|
-
"showTopBar": true
|
|
476
|
+
]
|
|
477
477
|
}
|
|
478
478
|
]
|
|
479
479
|
]
|
|
@@ -487,20 +487,20 @@
|
|
|
487
487
|
"render-ui",
|
|
488
488
|
"modal",
|
|
489
489
|
{
|
|
490
|
-
"
|
|
490
|
+
"type": "game-menu",
|
|
491
491
|
"menuItems": [
|
|
492
492
|
{
|
|
493
|
-
"label": "Resume",
|
|
494
493
|
"event": "RESUME",
|
|
495
|
-
"variant": "primary"
|
|
494
|
+
"variant": "primary",
|
|
495
|
+
"label": "Resume"
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
|
-
"variant": "ghost",
|
|
499
498
|
"label": "Quit",
|
|
500
|
-
"event": "RESTART"
|
|
499
|
+
"event": "RESTART",
|
|
500
|
+
"variant": "ghost"
|
|
501
501
|
}
|
|
502
502
|
],
|
|
503
|
-
"
|
|
503
|
+
"title": "Paused"
|
|
504
504
|
}
|
|
505
505
|
]
|
|
506
506
|
]
|
|
@@ -514,35 +514,35 @@
|
|
|
514
514
|
"render-ui",
|
|
515
515
|
"main",
|
|
516
516
|
{
|
|
517
|
+
"showTopBar": true,
|
|
517
518
|
"appName": "RPG Game",
|
|
518
519
|
"type": "game-shell",
|
|
519
|
-
"showTopBar": true,
|
|
520
520
|
"children": [
|
|
521
521
|
{
|
|
522
|
+
"title": "Battle Over",
|
|
522
523
|
"stats": [
|
|
523
524
|
{
|
|
524
525
|
"label": "Turns",
|
|
525
526
|
"value": "@entity.turn"
|
|
526
527
|
},
|
|
527
528
|
{
|
|
528
|
-
"
|
|
529
|
-
"
|
|
529
|
+
"value": "@entity.score",
|
|
530
|
+
"label": "Score"
|
|
530
531
|
}
|
|
531
532
|
],
|
|
532
|
-
"
|
|
533
|
+
"type": "game-over-screen",
|
|
533
534
|
"menuItems": [
|
|
534
535
|
{
|
|
535
|
-
"label": "Play Again",
|
|
536
536
|
"event": "RESTART",
|
|
537
|
-
"variant": "primary"
|
|
537
|
+
"variant": "primary",
|
|
538
|
+
"label": "Play Again"
|
|
538
539
|
},
|
|
539
540
|
{
|
|
540
|
-
"label": "Main Menu",
|
|
541
541
|
"event": "RESTART",
|
|
542
|
-
"variant": "secondary"
|
|
542
|
+
"variant": "secondary",
|
|
543
|
+
"label": "Main Menu"
|
|
543
544
|
}
|
|
544
|
-
]
|
|
545
|
-
"type": "game-over-screen"
|
|
545
|
+
]
|
|
546
546
|
}
|
|
547
547
|
]
|
|
548
548
|
}
|
|
@@ -568,23 +568,23 @@
|
|
|
568
568
|
"render-ui",
|
|
569
569
|
"main",
|
|
570
570
|
{
|
|
571
|
-
"showTopBar": true,
|
|
572
571
|
"type": "game-shell",
|
|
573
572
|
"children": [
|
|
574
573
|
{
|
|
575
574
|
"type": "game-hud",
|
|
576
575
|
"stats": [
|
|
577
576
|
{
|
|
578
|
-
"
|
|
579
|
-
"
|
|
577
|
+
"label": "Turn",
|
|
578
|
+
"value": "@entity.turn"
|
|
580
579
|
},
|
|
581
580
|
{
|
|
582
|
-
"
|
|
583
|
-
"
|
|
581
|
+
"value": "@entity.score",
|
|
582
|
+
"label": "Score"
|
|
584
583
|
}
|
|
585
584
|
]
|
|
586
585
|
}
|
|
587
586
|
],
|
|
587
|
+
"showTopBar": true,
|
|
588
588
|
"appName": "RPG Game"
|
|
589
589
|
}
|
|
590
590
|
]
|
|
@@ -604,24 +604,24 @@
|
|
|
604
604
|
"render-ui",
|
|
605
605
|
"main",
|
|
606
606
|
{
|
|
607
|
-
"appName": "RPG Game",
|
|
608
607
|
"type": "game-shell",
|
|
609
608
|
"children": [
|
|
610
609
|
{
|
|
611
610
|
"type": "game-hud",
|
|
612
611
|
"stats": [
|
|
613
612
|
{
|
|
614
|
-
"
|
|
615
|
-
"
|
|
613
|
+
"label": "Turn",
|
|
614
|
+
"value": "@entity.turn"
|
|
616
615
|
},
|
|
617
616
|
{
|
|
618
|
-
"
|
|
619
|
-
"
|
|
617
|
+
"label": "Score",
|
|
618
|
+
"value": "@entity.score"
|
|
620
619
|
}
|
|
621
620
|
]
|
|
622
621
|
}
|
|
623
622
|
],
|
|
624
|
-
"showTopBar": true
|
|
623
|
+
"showTopBar": true,
|
|
624
|
+
"appName": "RPG Game"
|
|
625
625
|
}
|
|
626
626
|
]
|
|
627
627
|
]
|
|
@@ -640,23 +640,23 @@
|
|
|
640
640
|
"render-ui",
|
|
641
641
|
"main",
|
|
642
642
|
{
|
|
643
|
-
"
|
|
644
|
-
"appName": "RPG Game",
|
|
643
|
+
"showTopBar": true,
|
|
645
644
|
"children": [
|
|
646
645
|
{
|
|
646
|
+
"title": "Battle Arena",
|
|
647
647
|
"menuItems": [
|
|
648
648
|
{
|
|
649
649
|
"label": "Start Battle",
|
|
650
|
-
"
|
|
651
|
-
"
|
|
650
|
+
"event": "START",
|
|
651
|
+
"variant": "primary"
|
|
652
652
|
}
|
|
653
653
|
],
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"subtitle": "Turn-Based Strategy"
|
|
654
|
+
"subtitle": "Turn-Based Strategy",
|
|
655
|
+
"type": "game-menu"
|
|
657
656
|
}
|
|
658
657
|
],
|
|
659
|
-
"
|
|
658
|
+
"type": "game-shell",
|
|
659
|
+
"appName": "RPG Game"
|
|
660
660
|
}
|
|
661
661
|
]
|
|
662
662
|
]
|
|
@@ -670,23 +670,23 @@
|
|
|
670
670
|
"render-ui",
|
|
671
671
|
"main",
|
|
672
672
|
{
|
|
673
|
-
"type": "game-shell",
|
|
674
|
-
"appName": "RPG Game",
|
|
675
673
|
"children": [
|
|
676
674
|
{
|
|
677
|
-
"
|
|
675
|
+
"type": "game-menu",
|
|
678
676
|
"title": "Battle Arena",
|
|
679
677
|
"menuItems": [
|
|
680
678
|
{
|
|
681
|
-
"label": "Start Battle",
|
|
682
679
|
"variant": "primary",
|
|
680
|
+
"label": "Start Battle",
|
|
683
681
|
"event": "START"
|
|
684
682
|
}
|
|
685
683
|
],
|
|
686
|
-
"
|
|
684
|
+
"subtitle": "Turn-Based Strategy"
|
|
687
685
|
}
|
|
688
686
|
],
|
|
689
|
-
"showTopBar": true
|
|
687
|
+
"showTopBar": true,
|
|
688
|
+
"type": "game-shell",
|
|
689
|
+
"appName": "RPG Game"
|
|
690
690
|
}
|
|
691
691
|
]
|
|
692
692
|
]
|
|
@@ -790,8 +790,8 @@
|
|
|
790
790
|
"BattleState",
|
|
791
791
|
{
|
|
792
792
|
"emit": {
|
|
793
|
-
"
|
|
794
|
-
"
|
|
793
|
+
"failure": "BattleStateLoadFailed",
|
|
794
|
+
"success": "BattleStateLoaded"
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
797
|
]
|
|
@@ -806,17 +806,17 @@
|
|
|
806
806
|
"render-ui",
|
|
807
807
|
"main",
|
|
808
808
|
{
|
|
809
|
+
"showTopBar": true,
|
|
809
810
|
"type": "game-shell",
|
|
810
811
|
"appName": "RPG Game",
|
|
811
|
-
"showTopBar": true,
|
|
812
812
|
"children": [
|
|
813
813
|
{
|
|
814
|
-
"
|
|
815
|
-
"events": "@BattleState",
|
|
814
|
+
"showTimestamps": true,
|
|
816
815
|
"title": "Combat Log",
|
|
816
|
+
"type": "combat-log",
|
|
817
|
+
"autoScroll": true,
|
|
817
818
|
"maxVisible": 10.0,
|
|
818
|
-
"
|
|
819
|
-
"type": "combat-log"
|
|
819
|
+
"events": "@BattleState"
|
|
820
820
|
}
|
|
821
821
|
]
|
|
822
822
|
}
|
|
@@ -832,18 +832,18 @@
|
|
|
832
832
|
"render-ui",
|
|
833
833
|
"main",
|
|
834
834
|
{
|
|
835
|
+
"type": "game-shell",
|
|
836
|
+
"appName": "RPG Game",
|
|
835
837
|
"children": [
|
|
836
838
|
{
|
|
837
|
-
"type": "combat-log",
|
|
838
839
|
"maxVisible": 10.0,
|
|
840
|
+
"title": "Combat Log",
|
|
839
841
|
"autoScroll": true,
|
|
842
|
+
"type": "combat-log",
|
|
840
843
|
"showTimestamps": true,
|
|
841
|
-
"title": "Combat Log",
|
|
842
844
|
"events": "@BattleState"
|
|
843
845
|
}
|
|
844
846
|
],
|
|
845
|
-
"appName": "RPG Game",
|
|
846
|
-
"type": "game-shell",
|
|
847
847
|
"showTopBar": true
|
|
848
848
|
}
|
|
849
849
|
]
|
|
@@ -1022,8 +1022,8 @@
|
|
|
1022
1022
|
"WorldZone",
|
|
1023
1023
|
{
|
|
1024
1024
|
"emit": {
|
|
1025
|
-
"
|
|
1026
|
-
"
|
|
1025
|
+
"failure": "WorldZoneLoadFailed",
|
|
1026
|
+
"success": "WorldZoneLoaded"
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
],
|
|
@@ -1031,22 +1031,22 @@
|
|
|
1031
1031
|
"render-ui",
|
|
1032
1032
|
"main",
|
|
1033
1033
|
{
|
|
1034
|
-
"
|
|
1035
|
-
"align": "center",
|
|
1034
|
+
"className": "py-12",
|
|
1036
1035
|
"children": [
|
|
1037
1036
|
{
|
|
1038
1037
|
"type": "spinner"
|
|
1039
1038
|
},
|
|
1040
1039
|
{
|
|
1041
1040
|
"variant": "caption",
|
|
1042
|
-
"color": "muted",
|
|
1043
1041
|
"content": "Loading map…",
|
|
1042
|
+
"color": "muted",
|
|
1044
1043
|
"type": "typography"
|
|
1045
1044
|
}
|
|
1046
1045
|
],
|
|
1047
1046
|
"direction": "vertical",
|
|
1047
|
+
"type": "stack",
|
|
1048
1048
|
"gap": "md",
|
|
1049
|
-
"
|
|
1049
|
+
"align": "center"
|
|
1050
1050
|
}
|
|
1051
1051
|
]
|
|
1052
1052
|
]
|
|
@@ -1060,14 +1060,16 @@
|
|
|
1060
1060
|
"render-ui",
|
|
1061
1061
|
"main",
|
|
1062
1062
|
{
|
|
1063
|
+
"showTopBar": true,
|
|
1064
|
+
"type": "game-shell",
|
|
1065
|
+
"appName": "RPG Game",
|
|
1063
1066
|
"children": [
|
|
1064
1067
|
{
|
|
1065
|
-
"gap": "lg",
|
|
1066
1068
|
"children": [
|
|
1067
1069
|
{
|
|
1070
|
+
"direction": "horizontal",
|
|
1068
1071
|
"justify": "between",
|
|
1069
1072
|
"gap": "md",
|
|
1070
|
-
"direction": "horizontal",
|
|
1071
1073
|
"children": [
|
|
1072
1074
|
{
|
|
1073
1075
|
"children": [
|
|
@@ -1076,20 +1078,20 @@
|
|
|
1076
1078
|
"name": "map"
|
|
1077
1079
|
},
|
|
1078
1080
|
{
|
|
1079
|
-
"content": "World Map",
|
|
1080
1081
|
"variant": "h2",
|
|
1082
|
+
"content": "World Map",
|
|
1081
1083
|
"type": "typography"
|
|
1082
1084
|
}
|
|
1083
1085
|
],
|
|
1086
|
+
"gap": "md",
|
|
1084
1087
|
"type": "stack",
|
|
1085
|
-
"direction": "horizontal"
|
|
1086
|
-
"gap": "md"
|
|
1088
|
+
"direction": "horizontal"
|
|
1087
1089
|
},
|
|
1088
1090
|
{
|
|
1089
1091
|
"status": "online",
|
|
1090
|
-
"
|
|
1092
|
+
"label": "Exploring",
|
|
1091
1093
|
"pulse": false,
|
|
1092
|
-
"
|
|
1094
|
+
"type": "status-dot"
|
|
1093
1095
|
}
|
|
1094
1096
|
],
|
|
1095
1097
|
"type": "stack"
|
|
@@ -1098,75 +1100,73 @@
|
|
|
1098
1100
|
"type": "divider"
|
|
1099
1101
|
},
|
|
1100
1102
|
{
|
|
1101
|
-
"type": "map-view",
|
|
1102
|
-
"markers": [],
|
|
1103
1103
|
"height": "200px",
|
|
1104
|
-
"
|
|
1104
|
+
"type": "map-view",
|
|
1105
|
+
"zoom": 10.0,
|
|
1106
|
+
"markers": []
|
|
1105
1107
|
},
|
|
1106
1108
|
{
|
|
1107
|
-
"fields": [],
|
|
1108
1109
|
"type": "data-grid",
|
|
1109
|
-
"
|
|
1110
|
-
{
|
|
1111
|
-
"event": "TRAVEL",
|
|
1112
|
-
"label": "Travel"
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1110
|
+
"entity": "@payload.data",
|
|
1115
1111
|
"renderItem": [
|
|
1116
1112
|
"fn",
|
|
1117
1113
|
"item",
|
|
1118
1114
|
{
|
|
1115
|
+
"type": "stack",
|
|
1119
1116
|
"children": [
|
|
1120
1117
|
{
|
|
1121
1118
|
"direction": "horizontal",
|
|
1122
|
-
"type": "stack",
|
|
1123
1119
|
"align": "center",
|
|
1120
|
+
"justify": "between",
|
|
1124
1121
|
"children": [
|
|
1125
1122
|
{
|
|
1126
|
-
"type": "stack",
|
|
1127
|
-
"direction": "horizontal",
|
|
1128
|
-
"gap": "sm",
|
|
1129
|
-
"align": "center",
|
|
1130
1123
|
"children": [
|
|
1131
1124
|
{
|
|
1132
1125
|
"type": "icon",
|
|
1133
1126
|
"name": "map-pin"
|
|
1134
1127
|
},
|
|
1135
1128
|
{
|
|
1129
|
+
"variant": "h4",
|
|
1136
1130
|
"content": "@item.name",
|
|
1137
|
-
"type": "typography"
|
|
1138
|
-
"variant": "h4"
|
|
1131
|
+
"type": "typography"
|
|
1139
1132
|
}
|
|
1140
|
-
]
|
|
1133
|
+
],
|
|
1134
|
+
"type": "stack",
|
|
1135
|
+
"align": "center",
|
|
1136
|
+
"direction": "horizontal",
|
|
1137
|
+
"gap": "sm"
|
|
1141
1138
|
},
|
|
1142
1139
|
{
|
|
1143
|
-
"
|
|
1144
|
-
"
|
|
1140
|
+
"type": "badge",
|
|
1141
|
+
"label": "@item.description"
|
|
1145
1142
|
}
|
|
1146
1143
|
],
|
|
1147
|
-
"
|
|
1144
|
+
"type": "stack"
|
|
1148
1145
|
},
|
|
1149
1146
|
{
|
|
1147
|
+
"variant": "caption",
|
|
1150
1148
|
"content": "@item.level",
|
|
1151
|
-
"type": "typography"
|
|
1152
|
-
"variant": "caption"
|
|
1149
|
+
"type": "typography"
|
|
1153
1150
|
}
|
|
1154
1151
|
],
|
|
1155
1152
|
"direction": "vertical",
|
|
1156
|
-
"type": "stack",
|
|
1157
1153
|
"gap": "sm"
|
|
1158
1154
|
}
|
|
1159
1155
|
],
|
|
1160
|
-
"
|
|
1156
|
+
"itemActions": [
|
|
1157
|
+
{
|
|
1158
|
+
"event": "TRAVEL",
|
|
1159
|
+
"label": "Travel"
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"fields": []
|
|
1161
1163
|
}
|
|
1162
1164
|
],
|
|
1165
|
+
"direction": "vertical",
|
|
1163
1166
|
"type": "stack",
|
|
1164
|
-
"
|
|
1167
|
+
"gap": "lg"
|
|
1165
1168
|
}
|
|
1166
|
-
]
|
|
1167
|
-
"showTopBar": true,
|
|
1168
|
-
"appName": "RPG Game",
|
|
1169
|
-
"type": "game-shell"
|
|
1169
|
+
]
|
|
1170
1170
|
}
|
|
1171
1171
|
]
|
|
1172
1172
|
]
|
|
@@ -1180,16 +1180,12 @@
|
|
|
1180
1180
|
"render-ui",
|
|
1181
1181
|
"main",
|
|
1182
1182
|
{
|
|
1183
|
-
"align": "center",
|
|
1184
1183
|
"className": "py-12",
|
|
1185
|
-
"type": "stack",
|
|
1186
|
-
"gap": "md",
|
|
1187
|
-
"direction": "vertical",
|
|
1188
1184
|
"children": [
|
|
1189
1185
|
{
|
|
1190
|
-
"name": "alert-triangle",
|
|
1191
1186
|
"color": "destructive",
|
|
1192
|
-
"type": "icon"
|
|
1187
|
+
"type": "icon",
|
|
1188
|
+
"name": "alert-triangle"
|
|
1193
1189
|
},
|
|
1194
1190
|
{
|
|
1195
1191
|
"variant": "h3",
|
|
@@ -1197,19 +1193,23 @@
|
|
|
1197
1193
|
"type": "typography"
|
|
1198
1194
|
},
|
|
1199
1195
|
{
|
|
1200
|
-
"type": "typography",
|
|
1201
|
-
"color": "muted",
|
|
1202
1196
|
"variant": "body",
|
|
1203
|
-
"
|
|
1197
|
+
"type": "typography",
|
|
1198
|
+
"content": "@payload.error",
|
|
1199
|
+
"color": "muted"
|
|
1204
1200
|
},
|
|
1205
1201
|
{
|
|
1206
1202
|
"type": "button",
|
|
1207
|
-
"
|
|
1208
|
-
"icon": "rotate-ccw",
|
|
1203
|
+
"action": "INIT",
|
|
1209
1204
|
"variant": "primary",
|
|
1210
|
-
"
|
|
1205
|
+
"icon": "rotate-ccw",
|
|
1206
|
+
"label": "Retry"
|
|
1211
1207
|
}
|
|
1212
|
-
]
|
|
1208
|
+
],
|
|
1209
|
+
"direction": "vertical",
|
|
1210
|
+
"gap": "md",
|
|
1211
|
+
"align": "center",
|
|
1212
|
+
"type": "stack"
|
|
1213
1213
|
}
|
|
1214
1214
|
]
|
|
1215
1215
|
]
|
|
@@ -1228,36 +1228,36 @@
|
|
|
1228
1228
|
"appName": "RPG Game",
|
|
1229
1229
|
"children": [
|
|
1230
1230
|
{
|
|
1231
|
+
"gap": "lg",
|
|
1231
1232
|
"type": "stack",
|
|
1232
|
-
"
|
|
1233
|
+
"align": "center",
|
|
1233
1234
|
"children": [
|
|
1234
1235
|
{
|
|
1235
|
-
"type": "stack",
|
|
1236
1236
|
"direction": "horizontal",
|
|
1237
1237
|
"children": [
|
|
1238
1238
|
{
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1239
|
+
"name": "loader",
|
|
1240
|
+
"type": "icon"
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
|
-
"
|
|
1243
|
+
"variant": "h2",
|
|
1244
1244
|
"type": "typography",
|
|
1245
|
-
"
|
|
1245
|
+
"content": "Traveling..."
|
|
1246
1246
|
}
|
|
1247
1247
|
],
|
|
1248
|
+
"type": "stack",
|
|
1248
1249
|
"gap": "md"
|
|
1249
1250
|
},
|
|
1250
1251
|
{
|
|
1251
1252
|
"type": "divider"
|
|
1252
1253
|
},
|
|
1253
1254
|
{
|
|
1254
|
-
"
|
|
1255
|
+
"content": "Traveling to the destination worldzone.",
|
|
1255
1256
|
"type": "typography",
|
|
1256
|
-
"
|
|
1257
|
+
"variant": "body"
|
|
1257
1258
|
}
|
|
1258
1259
|
],
|
|
1259
|
-
"
|
|
1260
|
-
"gap": "lg"
|
|
1260
|
+
"direction": "vertical"
|
|
1261
1261
|
}
|
|
1262
1262
|
]
|
|
1263
1263
|
}
|
|
@@ -1455,8 +1455,8 @@
|
|
|
1455
1455
|
"RpgItem",
|
|
1456
1456
|
{
|
|
1457
1457
|
"emit": {
|
|
1458
|
-
"
|
|
1459
|
-
"
|
|
1458
|
+
"failure": "RpgItemLoadFailed",
|
|
1459
|
+
"success": "RpgItemLoaded"
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
1462
|
],
|
|
@@ -1464,8 +1464,9 @@
|
|
|
1464
1464
|
"render-ui",
|
|
1465
1465
|
"main",
|
|
1466
1466
|
{
|
|
1467
|
-
"
|
|
1467
|
+
"gap": "md",
|
|
1468
1468
|
"className": "py-12",
|
|
1469
|
+
"type": "stack",
|
|
1469
1470
|
"children": [
|
|
1470
1471
|
{
|
|
1471
1472
|
"type": "spinner"
|
|
@@ -1477,9 +1478,8 @@
|
|
|
1477
1478
|
"variant": "caption"
|
|
1478
1479
|
}
|
|
1479
1480
|
],
|
|
1480
|
-
"
|
|
1481
|
-
"align": "center"
|
|
1482
|
-
"direction": "vertical"
|
|
1481
|
+
"direction": "vertical",
|
|
1482
|
+
"align": "center"
|
|
1483
1483
|
}
|
|
1484
1484
|
]
|
|
1485
1485
|
]
|
|
@@ -1493,21 +1493,21 @@
|
|
|
1493
1493
|
"render-ui",
|
|
1494
1494
|
"main",
|
|
1495
1495
|
{
|
|
1496
|
-
"type": "game-shell",
|
|
1497
|
-
"showTopBar": true,
|
|
1498
1496
|
"appName": "RPG Game",
|
|
1499
1497
|
"children": [
|
|
1500
1498
|
{
|
|
1499
|
+
"direction": "vertical",
|
|
1500
|
+
"gap": "lg",
|
|
1501
|
+
"type": "stack",
|
|
1502
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
1501
1503
|
"children": [
|
|
1502
1504
|
{
|
|
1503
|
-
"
|
|
1505
|
+
"gap": "md",
|
|
1504
1506
|
"align": "center",
|
|
1507
|
+
"type": "stack",
|
|
1508
|
+
"direction": "horizontal",
|
|
1505
1509
|
"children": [
|
|
1506
1510
|
{
|
|
1507
|
-
"direction": "horizontal",
|
|
1508
|
-
"align": "center",
|
|
1509
|
-
"gap": "sm",
|
|
1510
|
-
"type": "stack",
|
|
1511
1511
|
"children": [
|
|
1512
1512
|
{
|
|
1513
1513
|
"type": "icon",
|
|
@@ -1515,89 +1515,89 @@
|
|
|
1515
1515
|
},
|
|
1516
1516
|
{
|
|
1517
1517
|
"variant": "h2",
|
|
1518
|
-
"
|
|
1519
|
-
"
|
|
1518
|
+
"type": "typography",
|
|
1519
|
+
"content": "Inventory"
|
|
1520
1520
|
}
|
|
1521
|
-
]
|
|
1521
|
+
],
|
|
1522
|
+
"type": "stack",
|
|
1523
|
+
"gap": "sm",
|
|
1524
|
+
"direction": "horizontal",
|
|
1525
|
+
"align": "center"
|
|
1522
1526
|
},
|
|
1523
1527
|
{
|
|
1524
|
-
"direction": "horizontal",
|
|
1525
|
-
"type": "stack",
|
|
1526
1528
|
"children": [
|
|
1527
1529
|
{
|
|
1528
|
-
"type": "button",
|
|
1529
|
-
"label": "Add RpgItem",
|
|
1530
1530
|
"action": "ADD_ITEM",
|
|
1531
|
-
"
|
|
1532
|
-
"icon": "plus"
|
|
1531
|
+
"label": "Add RpgItem",
|
|
1532
|
+
"icon": "plus",
|
|
1533
|
+
"type": "button",
|
|
1534
|
+
"variant": "primary"
|
|
1533
1535
|
}
|
|
1534
1536
|
],
|
|
1535
|
-
"gap": "sm"
|
|
1537
|
+
"gap": "sm",
|
|
1538
|
+
"type": "stack",
|
|
1539
|
+
"direction": "horizontal"
|
|
1536
1540
|
}
|
|
1537
1541
|
],
|
|
1538
|
-
"direction": "horizontal",
|
|
1539
|
-
"gap": "md",
|
|
1540
1542
|
"justify": "between"
|
|
1541
1543
|
},
|
|
1542
1544
|
{
|
|
1543
1545
|
"type": "divider"
|
|
1544
1546
|
},
|
|
1545
1547
|
{
|
|
1548
|
+
"itemActions": [
|
|
1549
|
+
{
|
|
1550
|
+
"label": "Use",
|
|
1551
|
+
"variant": "ghost",
|
|
1552
|
+
"event": "USE_ITEM"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"label": "Drop",
|
|
1556
|
+
"event": "DROP",
|
|
1557
|
+
"variant": "danger"
|
|
1558
|
+
}
|
|
1559
|
+
],
|
|
1560
|
+
"fields": [],
|
|
1546
1561
|
"columns": [
|
|
1547
1562
|
{
|
|
1548
|
-
"label": "Name",
|
|
1549
1563
|
"name": "name",
|
|
1550
|
-
"
|
|
1551
|
-
"variant": "h4"
|
|
1564
|
+
"label": "Name",
|
|
1565
|
+
"variant": "h4",
|
|
1566
|
+
"icon": "briefcase"
|
|
1552
1567
|
},
|
|
1553
1568
|
{
|
|
1569
|
+
"name": "type",
|
|
1570
|
+
"label": "Type",
|
|
1554
1571
|
"colorMap": {
|
|
1555
|
-
"cancelled": "destructive",
|
|
1556
|
-
"scheduled": "warning",
|
|
1557
1572
|
"active": "success",
|
|
1558
|
-
"
|
|
1559
|
-
"done": "success",
|
|
1560
|
-
"error": "destructive",
|
|
1561
|
-
"completed": "success",
|
|
1562
|
-
"pending": "warning",
|
|
1573
|
+
"archived": "neutral",
|
|
1563
1574
|
"draft": "warning",
|
|
1564
1575
|
"inactive": "neutral",
|
|
1565
|
-
"
|
|
1566
|
-
"
|
|
1576
|
+
"error": "destructive",
|
|
1577
|
+
"scheduled": "warning",
|
|
1578
|
+
"done": "success",
|
|
1579
|
+
"completed": "success",
|
|
1580
|
+
"disabled": "neutral",
|
|
1581
|
+
"cancelled": "destructive",
|
|
1582
|
+
"failed": "destructive",
|
|
1583
|
+
"pending": "warning"
|
|
1567
1584
|
},
|
|
1568
|
-
"label": "Type",
|
|
1569
|
-
"name": "type",
|
|
1570
1585
|
"variant": "badge"
|
|
1571
1586
|
},
|
|
1572
1587
|
{
|
|
1573
|
-
"name": "quantity",
|
|
1574
1588
|
"label": "Quantity",
|
|
1589
|
+
"name": "quantity",
|
|
1575
1590
|
"variant": "caption"
|
|
1576
1591
|
}
|
|
1577
1592
|
],
|
|
1578
|
-
"type": "data-grid",
|
|
1579
|
-
"fields": [],
|
|
1580
1593
|
"entity": "@payload.data",
|
|
1581
|
-
"
|
|
1582
|
-
{
|
|
1583
|
-
"label": "Use",
|
|
1584
|
-
"event": "USE_ITEM",
|
|
1585
|
-
"variant": "ghost"
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"label": "Drop",
|
|
1589
|
-
"variant": "danger",
|
|
1590
|
-
"event": "DROP"
|
|
1591
|
-
}
|
|
1592
|
-
]
|
|
1594
|
+
"type": "data-grid"
|
|
1593
1595
|
}
|
|
1594
|
-
]
|
|
1595
|
-
"type": "stack",
|
|
1596
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
1597
|
-
"direction": "vertical",
|
|
1598
|
-
"gap": "lg"
|
|
1596
|
+
]
|
|
1599
1597
|
}
|
|
1600
|
-
]
|
|
1598
|
+
],
|
|
1599
|
+
"type": "game-shell",
|
|
1600
|
+
"showTopBar": true
|
|
1601
1601
|
}
|
|
1602
1602
|
]
|
|
1603
1603
|
]
|
|
@@ -1611,16 +1611,11 @@
|
|
|
1611
1611
|
"render-ui",
|
|
1612
1612
|
"main",
|
|
1613
1613
|
{
|
|
1614
|
-
"direction": "vertical",
|
|
1615
|
-
"align": "center",
|
|
1616
|
-
"type": "stack",
|
|
1617
|
-
"className": "py-12",
|
|
1618
|
-
"gap": "md",
|
|
1619
1614
|
"children": [
|
|
1620
1615
|
{
|
|
1616
|
+
"color": "destructive",
|
|
1621
1617
|
"name": "alert-triangle",
|
|
1622
|
-
"type": "icon"
|
|
1623
|
-
"color": "destructive"
|
|
1618
|
+
"type": "icon"
|
|
1624
1619
|
},
|
|
1625
1620
|
{
|
|
1626
1621
|
"variant": "h3",
|
|
@@ -1629,18 +1624,23 @@
|
|
|
1629
1624
|
},
|
|
1630
1625
|
{
|
|
1631
1626
|
"variant": "body",
|
|
1632
|
-
"content": "@payload.error",
|
|
1633
1627
|
"color": "muted",
|
|
1634
|
-
"type": "typography"
|
|
1628
|
+
"type": "typography",
|
|
1629
|
+
"content": "@payload.error"
|
|
1635
1630
|
},
|
|
1636
1631
|
{
|
|
1632
|
+
"label": "Retry",
|
|
1637
1633
|
"action": "INIT",
|
|
1638
1634
|
"type": "button",
|
|
1639
|
-
"label": "Retry",
|
|
1640
1635
|
"variant": "primary",
|
|
1641
1636
|
"icon": "rotate-ccw"
|
|
1642
1637
|
}
|
|
1643
|
-
]
|
|
1638
|
+
],
|
|
1639
|
+
"direction": "vertical",
|
|
1640
|
+
"type": "stack",
|
|
1641
|
+
"align": "center",
|
|
1642
|
+
"gap": "md",
|
|
1643
|
+
"className": "py-12"
|
|
1644
1644
|
}
|
|
1645
1645
|
]
|
|
1646
1646
|
]
|
|
@@ -1816,8 +1816,8 @@
|
|
|
1816
1816
|
"RpgItem",
|
|
1817
1817
|
{
|
|
1818
1818
|
"emit": {
|
|
1819
|
-
"
|
|
1820
|
-
"
|
|
1819
|
+
"failure": "RpgItemLoadFailed",
|
|
1820
|
+
"success": "RpgItemLoaded"
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
1823
|
],
|
|
@@ -1825,13 +1825,12 @@
|
|
|
1825
1825
|
"render-ui",
|
|
1826
1826
|
"modal",
|
|
1827
1827
|
{
|
|
1828
|
-
"type": "stack",
|
|
1829
1828
|
"gap": "md",
|
|
1829
|
+
"type": "stack",
|
|
1830
1830
|
"direction": "vertical",
|
|
1831
1831
|
"children": [
|
|
1832
1832
|
{
|
|
1833
1833
|
"direction": "horizontal",
|
|
1834
|
-
"gap": "sm",
|
|
1835
1834
|
"children": [
|
|
1836
1835
|
{
|
|
1837
1836
|
"name": "plus-circle",
|
|
@@ -1839,26 +1838,27 @@
|
|
|
1839
1838
|
},
|
|
1840
1839
|
{
|
|
1841
1840
|
"type": "typography",
|
|
1842
|
-
"
|
|
1843
|
-
"
|
|
1841
|
+
"variant": "h3",
|
|
1842
|
+
"content": "Add RpgItem"
|
|
1844
1843
|
}
|
|
1845
1844
|
],
|
|
1846
|
-
"type": "stack"
|
|
1845
|
+
"type": "stack",
|
|
1846
|
+
"gap": "sm"
|
|
1847
1847
|
},
|
|
1848
1848
|
{
|
|
1849
1849
|
"type": "divider"
|
|
1850
1850
|
},
|
|
1851
1851
|
{
|
|
1852
|
-
"submitEvent": "SAVE",
|
|
1853
1852
|
"cancelEvent": "CLOSE",
|
|
1853
|
+
"submitEvent": "SAVE",
|
|
1854
|
+
"mode": "create",
|
|
1854
1855
|
"type": "form-section",
|
|
1855
1856
|
"fields": [
|
|
1856
1857
|
"name",
|
|
1857
1858
|
"type",
|
|
1858
1859
|
"quantity",
|
|
1859
1860
|
"rarity"
|
|
1860
|
-
]
|
|
1861
|
-
"mode": "create"
|
|
1861
|
+
]
|
|
1862
1862
|
}
|
|
1863
1863
|
]
|
|
1864
1864
|
}
|
|
@@ -2102,8 +2102,8 @@
|
|
|
2102
2102
|
{
|
|
2103
2103
|
"id": "@payload.id",
|
|
2104
2104
|
"emit": {
|
|
2105
|
-
"
|
|
2106
|
-
"
|
|
2105
|
+
"failure": "RpgItemLoadFailed",
|
|
2106
|
+
"success": "RpgItemLoaded"
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
2109
|
],
|
|
@@ -2111,58 +2111,58 @@
|
|
|
2111
2111
|
"render-ui",
|
|
2112
2112
|
"modal",
|
|
2113
2113
|
{
|
|
2114
|
+
"type": "stack",
|
|
2114
2115
|
"direction": "vertical",
|
|
2116
|
+
"gap": "md",
|
|
2115
2117
|
"align": "center",
|
|
2116
2118
|
"children": [
|
|
2117
2119
|
{
|
|
2118
|
-
"
|
|
2119
|
-
"align": "center",
|
|
2120
|
+
"gap": "sm",
|
|
2120
2121
|
"direction": "horizontal",
|
|
2121
2122
|
"children": [
|
|
2122
2123
|
{
|
|
2123
|
-
"
|
|
2124
|
-
"
|
|
2124
|
+
"type": "icon",
|
|
2125
|
+
"name": "zap"
|
|
2125
2126
|
},
|
|
2126
2127
|
{
|
|
2127
|
-
"variant": "h3",
|
|
2128
2128
|
"type": "typography",
|
|
2129
|
+
"variant": "h3",
|
|
2129
2130
|
"content": "Use RpgItem"
|
|
2130
2131
|
}
|
|
2131
2132
|
],
|
|
2132
|
-
"
|
|
2133
|
+
"type": "stack",
|
|
2134
|
+
"align": "center"
|
|
2133
2135
|
},
|
|
2134
2136
|
{
|
|
2135
2137
|
"type": "divider"
|
|
2136
2138
|
},
|
|
2137
2139
|
{
|
|
2138
|
-
"variant": "body",
|
|
2139
2140
|
"content": "@entity.name",
|
|
2140
|
-
"type": "typography"
|
|
2141
|
+
"type": "typography",
|
|
2142
|
+
"variant": "body"
|
|
2141
2143
|
},
|
|
2142
2144
|
{
|
|
2145
|
+
"type": "stack",
|
|
2146
|
+
"gap": "sm",
|
|
2143
2147
|
"direction": "horizontal",
|
|
2148
|
+
"justify": "center",
|
|
2144
2149
|
"children": [
|
|
2145
2150
|
{
|
|
2146
|
-
"type": "button",
|
|
2147
|
-
"action": "CLOSE",
|
|
2148
2151
|
"variant": "ghost",
|
|
2149
|
-
"
|
|
2152
|
+
"action": "CLOSE",
|
|
2153
|
+
"label": "Cancel",
|
|
2154
|
+
"type": "button"
|
|
2150
2155
|
},
|
|
2151
2156
|
{
|
|
2157
|
+
"label": "Confirm Use",
|
|
2152
2158
|
"type": "button",
|
|
2153
|
-
"action": "SAVE",
|
|
2154
|
-
"variant": "primary",
|
|
2155
2159
|
"icon": "check",
|
|
2156
|
-
"
|
|
2160
|
+
"variant": "primary",
|
|
2161
|
+
"action": "SAVE"
|
|
2157
2162
|
}
|
|
2158
|
-
]
|
|
2159
|
-
"gap": "sm",
|
|
2160
|
-
"justify": "center",
|
|
2161
|
-
"type": "stack"
|
|
2163
|
+
]
|
|
2162
2164
|
}
|
|
2163
|
-
]
|
|
2164
|
-
"type": "stack",
|
|
2165
|
-
"gap": "md"
|
|
2165
|
+
]
|
|
2166
2166
|
}
|
|
2167
2167
|
]
|
|
2168
2168
|
]
|
|
@@ -2401,19 +2401,17 @@
|
|
|
2401
2401
|
"fetch",
|
|
2402
2402
|
"RpgItem",
|
|
2403
2403
|
{
|
|
2404
|
-
"id": "@payload.id",
|
|
2405
2404
|
"emit": {
|
|
2406
|
-
"
|
|
2407
|
-
"
|
|
2408
|
-
}
|
|
2405
|
+
"success": "RpgItemLoaded",
|
|
2406
|
+
"failure": "RpgItemLoadFailed"
|
|
2407
|
+
},
|
|
2408
|
+
"id": "@payload.id"
|
|
2409
2409
|
}
|
|
2410
2410
|
],
|
|
2411
2411
|
[
|
|
2412
2412
|
"render-ui",
|
|
2413
2413
|
"modal",
|
|
2414
2414
|
{
|
|
2415
|
-
"type": "stack",
|
|
2416
|
-
"direction": "vertical",
|
|
2417
2415
|
"gap": "md",
|
|
2418
2416
|
"children": [
|
|
2419
2417
|
{
|
|
@@ -2428,8 +2426,8 @@
|
|
|
2428
2426
|
},
|
|
2429
2427
|
{
|
|
2430
2428
|
"content": "Drop RpgItem",
|
|
2431
|
-
"
|
|
2432
|
-
"
|
|
2429
|
+
"type": "typography",
|
|
2430
|
+
"variant": "h3"
|
|
2433
2431
|
}
|
|
2434
2432
|
]
|
|
2435
2433
|
},
|
|
@@ -2437,32 +2435,34 @@
|
|
|
2437
2435
|
"type": "divider"
|
|
2438
2436
|
},
|
|
2439
2437
|
{
|
|
2438
|
+
"message": "Are you sure you want to drop this rpgitem?",
|
|
2440
2439
|
"type": "alert",
|
|
2441
|
-
"variant": "error"
|
|
2442
|
-
"message": "Are you sure you want to drop this rpgitem?"
|
|
2440
|
+
"variant": "error"
|
|
2443
2441
|
},
|
|
2444
2442
|
{
|
|
2445
|
-
"justify": "end",
|
|
2446
2443
|
"children": [
|
|
2447
2444
|
{
|
|
2448
|
-
"variant": "ghost",
|
|
2449
2445
|
"action": "CANCEL",
|
|
2446
|
+
"type": "button",
|
|
2450
2447
|
"label": "Cancel",
|
|
2451
|
-
"
|
|
2448
|
+
"variant": "ghost"
|
|
2452
2449
|
},
|
|
2453
2450
|
{
|
|
2451
|
+
"variant": "danger",
|
|
2454
2452
|
"icon": "check",
|
|
2455
2453
|
"type": "button",
|
|
2456
|
-
"
|
|
2457
|
-
"label": "Drop"
|
|
2458
|
-
"action": "CONFIRM_DROP"
|
|
2454
|
+
"action": "CONFIRM_DROP",
|
|
2455
|
+
"label": "Drop"
|
|
2459
2456
|
}
|
|
2460
2457
|
],
|
|
2461
|
-
"
|
|
2458
|
+
"justify": "end",
|
|
2462
2459
|
"type": "stack",
|
|
2463
|
-
"direction": "horizontal"
|
|
2460
|
+
"direction": "horizontal",
|
|
2461
|
+
"gap": "sm"
|
|
2464
2462
|
}
|
|
2465
|
-
]
|
|
2463
|
+
],
|
|
2464
|
+
"direction": "vertical",
|
|
2465
|
+
"type": "stack"
|
|
2466
2466
|
}
|
|
2467
2467
|
]
|
|
2468
2468
|
]
|
|
@@ -2795,8 +2795,8 @@
|
|
|
2795
2795
|
"Mission",
|
|
2796
2796
|
{
|
|
2797
2797
|
"emit": {
|
|
2798
|
-
"
|
|
2799
|
-
"
|
|
2798
|
+
"success": "MissionLoaded",
|
|
2799
|
+
"failure": "MissionLoadFailed"
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
2802
|
],
|
|
@@ -2804,22 +2804,22 @@
|
|
|
2804
2804
|
"render-ui",
|
|
2805
2805
|
"main",
|
|
2806
2806
|
{
|
|
2807
|
-
"align": "center",
|
|
2808
|
-
"className": "py-12",
|
|
2809
2807
|
"children": [
|
|
2810
2808
|
{
|
|
2811
2809
|
"type": "spinner"
|
|
2812
2810
|
},
|
|
2813
2811
|
{
|
|
2814
|
-
"content": "Loading missions…",
|
|
2815
|
-
"color": "muted",
|
|
2816
2812
|
"variant": "caption",
|
|
2817
|
-
"type": "typography"
|
|
2813
|
+
"type": "typography",
|
|
2814
|
+
"content": "Loading missions…",
|
|
2815
|
+
"color": "muted"
|
|
2818
2816
|
}
|
|
2819
2817
|
],
|
|
2820
|
-
"
|
|
2818
|
+
"type": "stack",
|
|
2819
|
+
"align": "center",
|
|
2821
2820
|
"gap": "md",
|
|
2822
|
-
"
|
|
2821
|
+
"direction": "vertical",
|
|
2822
|
+
"className": "py-12"
|
|
2823
2823
|
}
|
|
2824
2824
|
]
|
|
2825
2825
|
]
|
|
@@ -2833,21 +2833,14 @@
|
|
|
2833
2833
|
"render-ui",
|
|
2834
2834
|
"main",
|
|
2835
2835
|
{
|
|
2836
|
-
"type": "game-shell",
|
|
2837
|
-
"showTopBar": true,
|
|
2838
2836
|
"children": [
|
|
2839
2837
|
{
|
|
2840
2838
|
"gap": "lg",
|
|
2841
|
-
"direction": "vertical",
|
|
2842
|
-
"type": "stack",
|
|
2843
2839
|
"children": [
|
|
2844
2840
|
{
|
|
2845
|
-
"
|
|
2846
|
-
"gap": "md",
|
|
2847
|
-
"direction": "horizontal",
|
|
2841
|
+
"type": "stack",
|
|
2848
2842
|
"children": [
|
|
2849
2843
|
{
|
|
2850
|
-
"type": "stack",
|
|
2851
2844
|
"direction": "horizontal",
|
|
2852
2845
|
"gap": "md",
|
|
2853
2846
|
"children": [
|
|
@@ -2856,50 +2849,49 @@
|
|
|
2856
2849
|
"type": "icon"
|
|
2857
2850
|
},
|
|
2858
2851
|
{
|
|
2852
|
+
"type": "typography",
|
|
2859
2853
|
"content": "Missions Board",
|
|
2860
|
-
"variant": "h2"
|
|
2861
|
-
"type": "typography"
|
|
2854
|
+
"variant": "h2"
|
|
2862
2855
|
}
|
|
2863
|
-
]
|
|
2856
|
+
],
|
|
2857
|
+
"type": "stack"
|
|
2864
2858
|
}
|
|
2865
2859
|
],
|
|
2866
|
-
"
|
|
2860
|
+
"direction": "horizontal",
|
|
2861
|
+
"gap": "md",
|
|
2862
|
+
"justify": "between"
|
|
2867
2863
|
},
|
|
2868
2864
|
{
|
|
2869
2865
|
"type": "divider"
|
|
2870
2866
|
},
|
|
2871
2867
|
{
|
|
2872
2868
|
"entity": "@payload.data",
|
|
2873
|
-
"itemActions": [
|
|
2874
|
-
{
|
|
2875
|
-
"label": "Accept",
|
|
2876
|
-
"event": "ACCEPT"
|
|
2877
|
-
}
|
|
2878
|
-
],
|
|
2879
2869
|
"renderItem": [
|
|
2880
2870
|
"fn",
|
|
2881
2871
|
"item",
|
|
2882
2872
|
{
|
|
2883
2873
|
"type": "stack",
|
|
2874
|
+
"direction": "vertical",
|
|
2884
2875
|
"children": [
|
|
2885
2876
|
{
|
|
2877
|
+
"type": "stack",
|
|
2886
2878
|
"children": [
|
|
2887
2879
|
{
|
|
2888
|
-
"direction": "horizontal",
|
|
2889
2880
|
"type": "stack",
|
|
2890
2881
|
"gap": "sm",
|
|
2882
|
+
"align": "center",
|
|
2883
|
+
"direction": "horizontal",
|
|
2891
2884
|
"children": [
|
|
2892
2885
|
{
|
|
2893
2886
|
"type": "icon",
|
|
2894
2887
|
"name": "flag"
|
|
2895
2888
|
},
|
|
2896
2889
|
{
|
|
2897
|
-
"
|
|
2890
|
+
"type": "typography",
|
|
2898
2891
|
"content": "@item.title",
|
|
2899
|
-
"
|
|
2892
|
+
"variant": "h4"
|
|
2900
2893
|
}
|
|
2901
|
-
]
|
|
2902
|
-
"align": "center"
|
|
2894
|
+
]
|
|
2903
2895
|
},
|
|
2904
2896
|
{
|
|
2905
2897
|
"label": "@item.description",
|
|
@@ -2907,9 +2899,8 @@
|
|
|
2907
2899
|
}
|
|
2908
2900
|
],
|
|
2909
2901
|
"justify": "between",
|
|
2910
|
-
"direction": "horizontal",
|
|
2911
2902
|
"align": "center",
|
|
2912
|
-
"
|
|
2903
|
+
"direction": "horizontal"
|
|
2913
2904
|
},
|
|
2914
2905
|
{
|
|
2915
2906
|
"type": "typography",
|
|
@@ -2917,18 +2908,27 @@
|
|
|
2917
2908
|
"content": "@item.status"
|
|
2918
2909
|
}
|
|
2919
2910
|
],
|
|
2920
|
-
"direction": "vertical",
|
|
2921
2911
|
"gap": "sm"
|
|
2922
2912
|
}
|
|
2923
2913
|
],
|
|
2924
|
-
"
|
|
2914
|
+
"fields": [],
|
|
2925
2915
|
"groupBy": "status",
|
|
2926
|
-
"
|
|
2916
|
+
"type": "data-list",
|
|
2917
|
+
"itemActions": [
|
|
2918
|
+
{
|
|
2919
|
+
"label": "Accept",
|
|
2920
|
+
"event": "ACCEPT"
|
|
2921
|
+
}
|
|
2922
|
+
]
|
|
2927
2923
|
}
|
|
2928
|
-
]
|
|
2924
|
+
],
|
|
2925
|
+
"type": "stack",
|
|
2926
|
+
"direction": "vertical"
|
|
2929
2927
|
}
|
|
2930
2928
|
],
|
|
2931
|
-
"
|
|
2929
|
+
"type": "game-shell",
|
|
2930
|
+
"appName": "RPG Game",
|
|
2931
|
+
"showTopBar": true
|
|
2932
2932
|
}
|
|
2933
2933
|
]
|
|
2934
2934
|
]
|
|
@@ -2942,36 +2942,36 @@
|
|
|
2942
2942
|
"render-ui",
|
|
2943
2943
|
"main",
|
|
2944
2944
|
{
|
|
2945
|
-
"
|
|
2945
|
+
"direction": "vertical",
|
|
2946
2946
|
"gap": "md",
|
|
2947
2947
|
"align": "center",
|
|
2948
|
+
"className": "py-12",
|
|
2948
2949
|
"children": [
|
|
2949
2950
|
{
|
|
2950
|
-
"color": "destructive",
|
|
2951
2951
|
"type": "icon",
|
|
2952
|
-
"name": "alert-triangle"
|
|
2952
|
+
"name": "alert-triangle",
|
|
2953
|
+
"color": "destructive"
|
|
2953
2954
|
},
|
|
2954
2955
|
{
|
|
2955
|
-
"
|
|
2956
|
+
"type": "typography",
|
|
2956
2957
|
"content": "Failed to load missions",
|
|
2957
|
-
"
|
|
2958
|
+
"variant": "h3"
|
|
2958
2959
|
},
|
|
2959
2960
|
{
|
|
2960
2961
|
"variant": "body",
|
|
2961
|
-
"color": "muted",
|
|
2962
2962
|
"type": "typography",
|
|
2963
|
+
"color": "muted",
|
|
2963
2964
|
"content": "@payload.error"
|
|
2964
2965
|
},
|
|
2965
2966
|
{
|
|
2966
2967
|
"icon": "rotate-ccw",
|
|
2967
|
-
"variant": "primary",
|
|
2968
2968
|
"label": "Retry",
|
|
2969
2969
|
"action": "INIT",
|
|
2970
|
-
"type": "button"
|
|
2970
|
+
"type": "button",
|
|
2971
|
+
"variant": "primary"
|
|
2971
2972
|
}
|
|
2972
2973
|
],
|
|
2973
|
-
"
|
|
2974
|
-
"direction": "vertical"
|
|
2974
|
+
"type": "stack"
|
|
2975
2975
|
}
|
|
2976
2976
|
]
|
|
2977
2977
|
]
|
|
@@ -2985,15 +2985,19 @@
|
|
|
2985
2985
|
"render-ui",
|
|
2986
2986
|
"main",
|
|
2987
2987
|
{
|
|
2988
|
-
"
|
|
2988
|
+
"appName": "RPG Game",
|
|
2989
2989
|
"type": "game-shell",
|
|
2990
|
+
"showTopBar": true,
|
|
2990
2991
|
"children": [
|
|
2991
2992
|
{
|
|
2993
|
+
"gap": "lg",
|
|
2994
|
+
"direction": "vertical",
|
|
2995
|
+
"align": "center",
|
|
2992
2996
|
"children": [
|
|
2993
2997
|
{
|
|
2994
|
-
"
|
|
2998
|
+
"type": "typography",
|
|
2995
2999
|
"content": "Quest Active",
|
|
2996
|
-
"
|
|
3000
|
+
"variant": "h2"
|
|
2997
3001
|
},
|
|
2998
3002
|
{
|
|
2999
3003
|
"type": "progress-bar",
|
|
@@ -3001,38 +3005,34 @@
|
|
|
3001
3005
|
"showPercentage": true
|
|
3002
3006
|
},
|
|
3003
3007
|
{
|
|
3008
|
+
"direction": "horizontal",
|
|
3009
|
+
"type": "stack",
|
|
3004
3010
|
"gap": "sm",
|
|
3005
3011
|
"children": [
|
|
3006
3012
|
{
|
|
3007
|
-
"label": "Progress",
|
|
3008
3013
|
"type": "button",
|
|
3014
|
+
"action": "PROGRESS",
|
|
3009
3015
|
"variant": "primary",
|
|
3010
|
-
"
|
|
3016
|
+
"label": "Progress"
|
|
3011
3017
|
},
|
|
3012
3018
|
{
|
|
3013
|
-
"variant": "success",
|
|
3014
3019
|
"label": "Complete",
|
|
3015
|
-
"
|
|
3016
|
-
"
|
|
3020
|
+
"type": "button",
|
|
3021
|
+
"variant": "success",
|
|
3022
|
+
"action": "COMPLETE"
|
|
3017
3023
|
},
|
|
3018
3024
|
{
|
|
3019
|
-
"
|
|
3020
|
-
"variant": "danger",
|
|
3025
|
+
"label": "Fail",
|
|
3021
3026
|
"action": "FAIL",
|
|
3022
|
-
"
|
|
3027
|
+
"variant": "danger",
|
|
3028
|
+
"type": "button"
|
|
3023
3029
|
}
|
|
3024
|
-
]
|
|
3025
|
-
"direction": "horizontal",
|
|
3026
|
-
"type": "stack"
|
|
3030
|
+
]
|
|
3027
3031
|
}
|
|
3028
3032
|
],
|
|
3029
|
-
"type": "stack"
|
|
3030
|
-
"direction": "vertical",
|
|
3031
|
-
"gap": "lg",
|
|
3032
|
-
"align": "center"
|
|
3033
|
+
"type": "stack"
|
|
3033
3034
|
}
|
|
3034
|
-
]
|
|
3035
|
-
"appName": "RPG Game"
|
|
3035
|
+
]
|
|
3036
3036
|
}
|
|
3037
3037
|
]
|
|
3038
3038
|
]
|
|
@@ -3046,43 +3046,43 @@
|
|
|
3046
3046
|
"render-ui",
|
|
3047
3047
|
"modal",
|
|
3048
3048
|
{
|
|
3049
|
-
"
|
|
3050
|
-
"gap": "md",
|
|
3049
|
+
"type": "stack",
|
|
3051
3050
|
"children": [
|
|
3052
3051
|
{
|
|
3053
|
-
"gap": "sm",
|
|
3054
|
-
"type": "stack",
|
|
3055
|
-
"direction": "horizontal",
|
|
3056
3052
|
"children": [
|
|
3057
3053
|
{
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3054
|
+
"name": "trending-up",
|
|
3055
|
+
"type": "icon"
|
|
3060
3056
|
},
|
|
3061
3057
|
{
|
|
3062
|
-
"variant": "h3",
|
|
3063
3058
|
"type": "typography",
|
|
3064
|
-
"content": "Update Progress"
|
|
3059
|
+
"content": "Update Progress",
|
|
3060
|
+
"variant": "h3"
|
|
3065
3061
|
}
|
|
3066
|
-
]
|
|
3062
|
+
],
|
|
3063
|
+
"gap": "sm",
|
|
3064
|
+
"type": "stack",
|
|
3065
|
+
"direction": "horizontal"
|
|
3067
3066
|
},
|
|
3068
3067
|
{
|
|
3069
3068
|
"type": "divider"
|
|
3070
3069
|
},
|
|
3071
3070
|
{
|
|
3072
|
-
"mode": "edit",
|
|
3073
|
-
"cancelEvent": "CANCEL",
|
|
3074
|
-
"submitEvent": "SAVE",
|
|
3075
|
-
"type": "form-section",
|
|
3076
3071
|
"fields": [
|
|
3077
3072
|
"title",
|
|
3078
3073
|
"description",
|
|
3079
3074
|
"status",
|
|
3080
3075
|
"reward"
|
|
3081
3076
|
],
|
|
3082
|
-
"
|
|
3077
|
+
"type": "form-section",
|
|
3078
|
+
"mode": "edit",
|
|
3079
|
+
"entity": "@entity",
|
|
3080
|
+
"submitEvent": "SAVE",
|
|
3081
|
+
"cancelEvent": "CANCEL"
|
|
3083
3082
|
}
|
|
3084
3083
|
],
|
|
3085
|
-
"
|
|
3084
|
+
"gap": "md",
|
|
3085
|
+
"direction": "vertical"
|
|
3086
3086
|
}
|
|
3087
3087
|
]
|
|
3088
3088
|
]
|
|
@@ -3096,12 +3096,9 @@
|
|
|
3096
3096
|
"render-ui",
|
|
3097
3097
|
"main",
|
|
3098
3098
|
{
|
|
3099
|
-
"type": "game-shell",
|
|
3100
|
-
"showTopBar": true,
|
|
3101
|
-
"appName": "RPG Game",
|
|
3102
3099
|
"children": [
|
|
3103
3100
|
{
|
|
3104
|
-
"
|
|
3101
|
+
"align": "center",
|
|
3105
3102
|
"gap": "lg",
|
|
3106
3103
|
"type": "stack",
|
|
3107
3104
|
"children": [
|
|
@@ -3111,25 +3108,28 @@
|
|
|
3111
3108
|
},
|
|
3112
3109
|
{
|
|
3113
3110
|
"variant": "h2",
|
|
3114
|
-
"
|
|
3115
|
-
"
|
|
3111
|
+
"content": "Quest Complete",
|
|
3112
|
+
"type": "typography"
|
|
3116
3113
|
},
|
|
3117
3114
|
{
|
|
3118
|
-
"message": "Congratulations! The quest has been completed.",
|
|
3119
3115
|
"type": "alert",
|
|
3120
|
-
"variant": "success"
|
|
3116
|
+
"variant": "success",
|
|
3117
|
+
"message": "Congratulations! The quest has been completed."
|
|
3121
3118
|
},
|
|
3122
3119
|
{
|
|
3120
|
+
"label": "View Quests",
|
|
3123
3121
|
"type": "button",
|
|
3124
|
-
"variant": "primary",
|
|
3125
|
-
"icon": "arrow-left",
|
|
3126
3122
|
"action": "RESET",
|
|
3127
|
-
"
|
|
3123
|
+
"icon": "arrow-left",
|
|
3124
|
+
"variant": "primary"
|
|
3128
3125
|
}
|
|
3129
3126
|
],
|
|
3130
|
-
"
|
|
3127
|
+
"direction": "vertical"
|
|
3131
3128
|
}
|
|
3132
|
-
]
|
|
3129
|
+
],
|
|
3130
|
+
"showTopBar": true,
|
|
3131
|
+
"type": "game-shell",
|
|
3132
|
+
"appName": "RPG Game"
|
|
3133
3133
|
}
|
|
3134
3134
|
]
|
|
3135
3135
|
]
|
|
@@ -3143,10 +3143,12 @@
|
|
|
3143
3143
|
"render-ui",
|
|
3144
3144
|
"main",
|
|
3145
3145
|
{
|
|
3146
|
+
"type": "game-shell",
|
|
3147
|
+
"appName": "RPG Game",
|
|
3148
|
+
"showTopBar": true,
|
|
3146
3149
|
"children": [
|
|
3147
3150
|
{
|
|
3148
3151
|
"align": "center",
|
|
3149
|
-
"direction": "vertical",
|
|
3150
3152
|
"children": [
|
|
3151
3153
|
{
|
|
3152
3154
|
"type": "icon",
|
|
@@ -3154,29 +3156,27 @@
|
|
|
3154
3156
|
},
|
|
3155
3157
|
{
|
|
3156
3158
|
"type": "typography",
|
|
3157
|
-
"
|
|
3158
|
-
"
|
|
3159
|
+
"variant": "h2",
|
|
3160
|
+
"content": "Quest Failed"
|
|
3159
3161
|
},
|
|
3160
3162
|
{
|
|
3161
|
-
"
|
|
3163
|
+
"message": "The quest was not completed. You can try again.",
|
|
3162
3164
|
"type": "alert",
|
|
3163
|
-
"
|
|
3165
|
+
"variant": "error"
|
|
3164
3166
|
},
|
|
3165
3167
|
{
|
|
3166
|
-
"action": "RESET",
|
|
3167
3168
|
"type": "button",
|
|
3168
|
-
"variant": "primary",
|
|
3169
3169
|
"icon": "arrow-left",
|
|
3170
|
+
"action": "RESET",
|
|
3171
|
+
"variant": "primary",
|
|
3170
3172
|
"label": "View Quests"
|
|
3171
3173
|
}
|
|
3172
3174
|
],
|
|
3175
|
+
"direction": "vertical",
|
|
3173
3176
|
"type": "stack",
|
|
3174
3177
|
"gap": "lg"
|
|
3175
3178
|
}
|
|
3176
|
-
]
|
|
3177
|
-
"appName": "RPG Game",
|
|
3178
|
-
"type": "game-shell",
|
|
3179
|
-
"showTopBar": true
|
|
3179
|
+
]
|
|
3180
3180
|
}
|
|
3181
3181
|
]
|
|
3182
3182
|
]
|
|
@@ -3314,8 +3314,8 @@
|
|
|
3314
3314
|
"Mission",
|
|
3315
3315
|
{
|
|
3316
3316
|
"emit": {
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3317
|
+
"success": "MissionLoaded",
|
|
3318
|
+
"failure": "MissionLoadFailed"
|
|
3319
3319
|
}
|
|
3320
3320
|
}
|
|
3321
3321
|
],
|