@almadar/std 6.5.2 → 7.2.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/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-quiz",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-quiz as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "QuizItemOrbital",
|
|
@@ -73,70 +73,96 @@
|
|
|
73
73
|
{
|
|
74
74
|
"name": "currentIndex",
|
|
75
75
|
"type": "number",
|
|
76
|
-
"default": 0
|
|
76
|
+
"default": 0.0
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"name": "totalQuestions",
|
|
80
80
|
"type": "number",
|
|
81
|
-
"default": 3
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"instances": [
|
|
85
|
-
{
|
|
86
|
-
"id": "q-1",
|
|
87
|
-
"name": "What planet is closest to the Sun?",
|
|
88
|
-
"description": "Mercury",
|
|
89
|
-
"status": "active",
|
|
90
|
-
"createdAt": "2026-01-01",
|
|
91
|
-
"question": "What planet is closest to the Sun?",
|
|
92
|
-
"answer": "Mercury",
|
|
93
|
-
"optionA": "Mercury",
|
|
94
|
-
"optionB": "Venus",
|
|
95
|
-
"optionC": "Mars",
|
|
96
|
-
"optionD": "Earth",
|
|
97
|
-
"difficulty": "easy",
|
|
98
|
-
"currentIndex": 0,
|
|
99
|
-
"totalQuestions": 3
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"id": "q-2",
|
|
103
|
-
"name": "What is the chemical symbol for gold?",
|
|
104
|
-
"description": "Au",
|
|
105
|
-
"status": "active",
|
|
106
|
-
"createdAt": "2026-01-02",
|
|
107
|
-
"question": "What is the chemical symbol for gold?",
|
|
108
|
-
"answer": "Au",
|
|
109
|
-
"optionA": "Ag",
|
|
110
|
-
"optionB": "Au",
|
|
111
|
-
"optionC": "Fe",
|
|
112
|
-
"optionD": "Cu",
|
|
113
|
-
"difficulty": "medium",
|
|
114
|
-
"currentIndex": 0,
|
|
115
|
-
"totalQuestions": 3
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"id": "q-3",
|
|
119
|
-
"name": "Who painted the Mona Lisa?",
|
|
120
|
-
"description": "Leonardo da Vinci",
|
|
121
|
-
"status": "active",
|
|
122
|
-
"createdAt": "2026-01-03",
|
|
123
|
-
"question": "Who painted the Mona Lisa?",
|
|
124
|
-
"answer": "Leonardo da Vinci",
|
|
125
|
-
"optionA": "Michelangelo",
|
|
126
|
-
"optionB": "Raphael",
|
|
127
|
-
"optionC": "Leonardo da Vinci",
|
|
128
|
-
"optionD": "Donatello",
|
|
129
|
-
"difficulty": "easy",
|
|
130
|
-
"currentIndex": 0,
|
|
131
|
-
"totalQuestions": 3
|
|
81
|
+
"default": 3.0
|
|
132
82
|
}
|
|
133
83
|
]
|
|
134
84
|
},
|
|
135
85
|
"traits": [
|
|
136
86
|
{
|
|
137
87
|
"name": "QuizItemQuiz",
|
|
138
|
-
"linkedEntity": "QuizItem",
|
|
139
88
|
"category": "interaction",
|
|
89
|
+
"linkedEntity": "QuizItem",
|
|
90
|
+
"emits": [
|
|
91
|
+
{
|
|
92
|
+
"event": "QuizItemLoaded",
|
|
93
|
+
"description": "Fired when QuizItem finishes loading",
|
|
94
|
+
"scope": "internal",
|
|
95
|
+
"payload": [
|
|
96
|
+
{
|
|
97
|
+
"name": "id",
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "name",
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "description",
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "status",
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "createdAt",
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "question",
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "answer",
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "optionA",
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "optionB",
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "optionC",
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "optionD",
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "difficulty",
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "currentIndex",
|
|
146
|
+
"type": "number"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "totalQuestions",
|
|
150
|
+
"type": "number"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"event": "QuizItemLoadFailed",
|
|
156
|
+
"description": "Fired when QuizItem fails to load",
|
|
157
|
+
"scope": "internal",
|
|
158
|
+
"payload": [
|
|
159
|
+
{
|
|
160
|
+
"name": "message",
|
|
161
|
+
"type": "string"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
],
|
|
140
166
|
"stateMachine": {
|
|
141
167
|
"states": [
|
|
142
168
|
{
|
|
@@ -168,11 +194,25 @@
|
|
|
168
194
|
},
|
|
169
195
|
{
|
|
170
196
|
"key": "NEXT",
|
|
171
|
-
"name": "Next
|
|
197
|
+
"name": "Next"
|
|
172
198
|
},
|
|
173
199
|
{
|
|
174
200
|
"key": "RESTART",
|
|
175
201
|
"name": "Restart"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"key": "QuizItemLoaded",
|
|
205
|
+
"name": "QuizItem loaded"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"key": "QuizItemLoadFailed",
|
|
209
|
+
"name": "QuizItem load failed",
|
|
210
|
+
"payload": [
|
|
211
|
+
{
|
|
212
|
+
"name": "message",
|
|
213
|
+
"type": "string"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
176
216
|
}
|
|
177
217
|
],
|
|
178
218
|
"transitions": [
|
|
@@ -183,25 +223,31 @@
|
|
|
183
223
|
"effects": [
|
|
184
224
|
[
|
|
185
225
|
"fetch",
|
|
186
|
-
"QuizItem"
|
|
226
|
+
"QuizItem",
|
|
227
|
+
{
|
|
228
|
+
"emit": {
|
|
229
|
+
"success": "QuizItemLoaded",
|
|
230
|
+
"failure": "QuizItemLoadFailed"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
187
233
|
],
|
|
188
234
|
[
|
|
189
235
|
"render-ui",
|
|
190
236
|
"main",
|
|
191
237
|
{
|
|
192
|
-
"type": "stack",
|
|
193
238
|
"direction": "vertical",
|
|
239
|
+
"type": "stack",
|
|
194
240
|
"gap": "lg",
|
|
195
241
|
"children": [
|
|
196
242
|
{
|
|
197
243
|
"type": "stack",
|
|
198
|
-
"direction": "horizontal",
|
|
199
|
-
"gap": "sm",
|
|
200
244
|
"align": "center",
|
|
245
|
+
"gap": "sm",
|
|
246
|
+
"direction": "horizontal",
|
|
201
247
|
"children": [
|
|
202
248
|
{
|
|
203
|
-
"type": "icon",
|
|
204
249
|
"name": "help-circle",
|
|
250
|
+
"type": "icon",
|
|
205
251
|
"size": "lg"
|
|
206
252
|
},
|
|
207
253
|
{
|
|
@@ -218,10 +264,6 @@
|
|
|
218
264
|
"type": "card",
|
|
219
265
|
"children": [
|
|
220
266
|
{
|
|
221
|
-
"type": "stack",
|
|
222
|
-
"direction": "vertical",
|
|
223
|
-
"gap": "md",
|
|
224
|
-
"align": "center",
|
|
225
267
|
"children": [
|
|
226
268
|
{
|
|
227
269
|
"type": "icon",
|
|
@@ -229,8 +271,8 @@
|
|
|
229
271
|
"size": "lg"
|
|
230
272
|
},
|
|
231
273
|
{
|
|
232
|
-
"type": "typography",
|
|
233
274
|
"variant": "h3",
|
|
275
|
+
"type": "typography",
|
|
234
276
|
"content": [
|
|
235
277
|
"object/get",
|
|
236
278
|
[
|
|
@@ -240,16 +282,19 @@
|
|
|
240
282
|
"name"
|
|
241
283
|
]
|
|
242
284
|
}
|
|
243
|
-
]
|
|
285
|
+
],
|
|
286
|
+
"gap": "md",
|
|
287
|
+
"direction": "vertical",
|
|
288
|
+
"type": "stack",
|
|
289
|
+
"align": "center"
|
|
244
290
|
}
|
|
245
291
|
]
|
|
246
292
|
},
|
|
247
293
|
{
|
|
248
294
|
"type": "simple-grid",
|
|
249
|
-
"columns": 2,
|
|
295
|
+
"columns": 2.0,
|
|
250
296
|
"children": [
|
|
251
297
|
{
|
|
252
|
-
"type": "button",
|
|
253
298
|
"label": [
|
|
254
299
|
"object/get",
|
|
255
300
|
[
|
|
@@ -258,14 +303,14 @@
|
|
|
258
303
|
],
|
|
259
304
|
"optionA"
|
|
260
305
|
],
|
|
261
|
-
"event": "ANSWER",
|
|
262
|
-
"variant": "secondary",
|
|
263
306
|
"actionPayload": {
|
|
264
307
|
"answer": "A"
|
|
265
|
-
}
|
|
308
|
+
},
|
|
309
|
+
"type": "button",
|
|
310
|
+
"variant": "secondary",
|
|
311
|
+
"event": "ANSWER"
|
|
266
312
|
},
|
|
267
313
|
{
|
|
268
|
-
"type": "button",
|
|
269
314
|
"label": [
|
|
270
315
|
"object/get",
|
|
271
316
|
[
|
|
@@ -274,13 +319,18 @@
|
|
|
274
319
|
],
|
|
275
320
|
"optionB"
|
|
276
321
|
],
|
|
277
|
-
"
|
|
278
|
-
"variant": "secondary",
|
|
322
|
+
"type": "button",
|
|
279
323
|
"actionPayload": {
|
|
280
324
|
"answer": "B"
|
|
281
|
-
}
|
|
325
|
+
},
|
|
326
|
+
"event": "ANSWER",
|
|
327
|
+
"variant": "secondary"
|
|
282
328
|
},
|
|
283
329
|
{
|
|
330
|
+
"variant": "secondary",
|
|
331
|
+
"actionPayload": {
|
|
332
|
+
"answer": "C"
|
|
333
|
+
},
|
|
284
334
|
"type": "button",
|
|
285
335
|
"label": [
|
|
286
336
|
"object/get",
|
|
@@ -290,14 +340,12 @@
|
|
|
290
340
|
],
|
|
291
341
|
"optionC"
|
|
292
342
|
],
|
|
293
|
-
"event": "ANSWER"
|
|
294
|
-
"variant": "secondary",
|
|
295
|
-
"actionPayload": {
|
|
296
|
-
"answer": "C"
|
|
297
|
-
}
|
|
343
|
+
"event": "ANSWER"
|
|
298
344
|
},
|
|
299
345
|
{
|
|
300
346
|
"type": "button",
|
|
347
|
+
"event": "ANSWER",
|
|
348
|
+
"variant": "secondary",
|
|
301
349
|
"label": [
|
|
302
350
|
"object/get",
|
|
303
351
|
[
|
|
@@ -306,8 +354,6 @@
|
|
|
306
354
|
],
|
|
307
355
|
"optionD"
|
|
308
356
|
],
|
|
309
|
-
"event": "ANSWER",
|
|
310
|
-
"variant": "secondary",
|
|
311
357
|
"actionPayload": {
|
|
312
358
|
"answer": "D"
|
|
313
359
|
}
|
|
@@ -315,31 +361,30 @@
|
|
|
315
361
|
]
|
|
316
362
|
},
|
|
317
363
|
{
|
|
318
|
-
"type": "stack",
|
|
319
|
-
"direction": "horizontal",
|
|
320
364
|
"gap": "md",
|
|
321
365
|
"align": "center",
|
|
322
366
|
"justify": "space-between",
|
|
367
|
+
"direction": "horizontal",
|
|
368
|
+
"type": "stack",
|
|
323
369
|
"children": [
|
|
324
370
|
{
|
|
325
371
|
"type": "stack",
|
|
326
|
-
"direction": "horizontal",
|
|
327
372
|
"gap": "sm",
|
|
373
|
+
"direction": "horizontal",
|
|
328
374
|
"align": "center",
|
|
329
375
|
"children": [
|
|
330
376
|
{
|
|
331
377
|
"type": "icon",
|
|
332
|
-
"
|
|
333
|
-
"
|
|
378
|
+
"size": "sm",
|
|
379
|
+
"name": "signal"
|
|
334
380
|
},
|
|
335
381
|
{
|
|
336
|
-
"type": "typography",
|
|
337
382
|
"variant": "caption",
|
|
383
|
+
"type": "typography",
|
|
338
384
|
"color": "muted",
|
|
339
385
|
"content": "Difficulty:"
|
|
340
386
|
},
|
|
341
387
|
{
|
|
342
|
-
"type": "badge",
|
|
343
388
|
"label": [
|
|
344
389
|
"object/get",
|
|
345
390
|
[
|
|
@@ -347,21 +392,18 @@
|
|
|
347
392
|
"@entity"
|
|
348
393
|
],
|
|
349
394
|
"difficulty"
|
|
350
|
-
]
|
|
395
|
+
],
|
|
396
|
+
"type": "badge"
|
|
351
397
|
}
|
|
352
398
|
]
|
|
353
399
|
},
|
|
354
400
|
{
|
|
355
|
-
"type": "stack",
|
|
356
|
-
"direction": "horizontal",
|
|
357
|
-
"gap": "xs",
|
|
358
|
-
"align": "center",
|
|
359
401
|
"children": [
|
|
360
402
|
{
|
|
361
|
-
"type": "typography",
|
|
362
|
-
"variant": "caption",
|
|
363
403
|
"color": "muted",
|
|
364
|
-
"content": "Question"
|
|
404
|
+
"content": "Question",
|
|
405
|
+
"variant": "caption",
|
|
406
|
+
"type": "typography"
|
|
365
407
|
},
|
|
366
408
|
{
|
|
367
409
|
"type": "typography",
|
|
@@ -378,9 +420,9 @@
|
|
|
378
420
|
],
|
|
379
421
|
"currentIndex"
|
|
380
422
|
],
|
|
381
|
-
0
|
|
423
|
+
0.0
|
|
382
424
|
],
|
|
383
|
-
1
|
|
425
|
+
1.0
|
|
384
426
|
]
|
|
385
427
|
},
|
|
386
428
|
{
|
|
@@ -402,10 +444,14 @@
|
|
|
402
444
|
],
|
|
403
445
|
"totalQuestions"
|
|
404
446
|
],
|
|
405
|
-
0
|
|
447
|
+
0.0
|
|
406
448
|
]
|
|
407
449
|
}
|
|
408
|
-
]
|
|
450
|
+
],
|
|
451
|
+
"type": "stack",
|
|
452
|
+
"direction": "horizontal",
|
|
453
|
+
"align": "center",
|
|
454
|
+
"gap": "xs"
|
|
409
455
|
}
|
|
410
456
|
]
|
|
411
457
|
}
|
|
@@ -423,27 +469,25 @@
|
|
|
423
469
|
"render-ui",
|
|
424
470
|
"main",
|
|
425
471
|
{
|
|
426
|
-
"type": "stack",
|
|
427
|
-
"direction": "vertical",
|
|
428
472
|
"gap": "lg",
|
|
429
473
|
"children": [
|
|
430
474
|
{
|
|
431
|
-
"type": "stack",
|
|
432
|
-
"direction": "horizontal",
|
|
433
|
-
"gap": "sm",
|
|
434
475
|
"align": "center",
|
|
435
476
|
"children": [
|
|
436
477
|
{
|
|
478
|
+
"size": "lg",
|
|
437
479
|
"type": "icon",
|
|
438
|
-
"name": "help-circle"
|
|
439
|
-
"size": "lg"
|
|
480
|
+
"name": "help-circle"
|
|
440
481
|
},
|
|
441
482
|
{
|
|
442
|
-
"type": "typography",
|
|
443
483
|
"content": "Answer Revealed",
|
|
444
|
-
"variant": "h2"
|
|
484
|
+
"variant": "h2",
|
|
485
|
+
"type": "typography"
|
|
445
486
|
}
|
|
446
|
-
]
|
|
487
|
+
],
|
|
488
|
+
"direction": "horizontal",
|
|
489
|
+
"type": "stack",
|
|
490
|
+
"gap": "sm"
|
|
447
491
|
},
|
|
448
492
|
{
|
|
449
493
|
"type": "divider"
|
|
@@ -453,12 +497,12 @@
|
|
|
453
497
|
"children": [
|
|
454
498
|
{
|
|
455
499
|
"type": "stack",
|
|
456
|
-
"direction": "vertical",
|
|
457
500
|
"gap": "md",
|
|
501
|
+
"direction": "vertical",
|
|
458
502
|
"children": [
|
|
459
503
|
{
|
|
460
|
-
"type": "typography",
|
|
461
504
|
"variant": "caption",
|
|
505
|
+
"type": "typography",
|
|
462
506
|
"color": "muted",
|
|
463
507
|
"content": "Question"
|
|
464
508
|
},
|
|
@@ -478,14 +522,14 @@
|
|
|
478
522
|
"type": "divider"
|
|
479
523
|
},
|
|
480
524
|
{
|
|
525
|
+
"content": "Answer",
|
|
481
526
|
"type": "typography",
|
|
482
527
|
"variant": "caption",
|
|
483
|
-
"color": "muted"
|
|
484
|
-
"content": "Answer"
|
|
528
|
+
"color": "muted"
|
|
485
529
|
},
|
|
486
530
|
{
|
|
487
|
-
"type": "typography",
|
|
488
531
|
"variant": "h3",
|
|
532
|
+
"type": "typography",
|
|
489
533
|
"content": [
|
|
490
534
|
"object/get",
|
|
491
535
|
[
|
|
@@ -500,26 +544,28 @@
|
|
|
500
544
|
]
|
|
501
545
|
},
|
|
502
546
|
{
|
|
503
|
-
"type": "alert",
|
|
504
547
|
"variant": "info",
|
|
505
|
-
"message": "Review the answer above."
|
|
548
|
+
"message": "Review the answer above.",
|
|
549
|
+
"type": "alert"
|
|
506
550
|
},
|
|
507
551
|
{
|
|
508
|
-
"type": "stack",
|
|
509
|
-
"direction": "horizontal",
|
|
510
|
-
"gap": "sm",
|
|
511
552
|
"justify": "center",
|
|
553
|
+
"type": "stack",
|
|
512
554
|
"children": [
|
|
513
555
|
{
|
|
514
|
-
"type": "button",
|
|
515
|
-
"label": "Next Question",
|
|
516
556
|
"event": "NEXT",
|
|
517
557
|
"variant": "primary",
|
|
558
|
+
"type": "button",
|
|
559
|
+
"label": "Next Question",
|
|
518
560
|
"icon": "arrow-right"
|
|
519
561
|
}
|
|
520
|
-
]
|
|
562
|
+
],
|
|
563
|
+
"gap": "sm",
|
|
564
|
+
"direction": "horizontal"
|
|
521
565
|
}
|
|
522
|
-
]
|
|
566
|
+
],
|
|
567
|
+
"type": "stack",
|
|
568
|
+
"direction": "vertical"
|
|
523
569
|
}
|
|
524
570
|
]
|
|
525
571
|
]
|
|
@@ -535,38 +581,42 @@
|
|
|
535
581
|
[
|
|
536
582
|
"+",
|
|
537
583
|
"@entity.currentIndex",
|
|
538
|
-
1
|
|
584
|
+
1.0
|
|
539
585
|
]
|
|
540
586
|
],
|
|
541
587
|
[
|
|
542
588
|
"fetch",
|
|
543
|
-
"QuizItem"
|
|
589
|
+
"QuizItem",
|
|
590
|
+
{
|
|
591
|
+
"emit": {
|
|
592
|
+
"failure": "QuizItemLoadFailed",
|
|
593
|
+
"success": "QuizItemLoaded"
|
|
594
|
+
}
|
|
595
|
+
}
|
|
544
596
|
],
|
|
545
597
|
[
|
|
546
598
|
"render-ui",
|
|
547
599
|
"main",
|
|
548
600
|
{
|
|
549
|
-
"type": "stack",
|
|
550
601
|
"direction": "vertical",
|
|
551
|
-
"gap": "lg",
|
|
552
602
|
"children": [
|
|
553
603
|
{
|
|
554
|
-
"type": "stack",
|
|
555
604
|
"direction": "horizontal",
|
|
556
|
-
"
|
|
605
|
+
"type": "stack",
|
|
557
606
|
"align": "center",
|
|
558
607
|
"children": [
|
|
559
608
|
{
|
|
560
|
-
"type": "icon",
|
|
561
609
|
"name": "help-circle",
|
|
562
|
-
"size": "lg"
|
|
610
|
+
"size": "lg",
|
|
611
|
+
"type": "icon"
|
|
563
612
|
},
|
|
564
613
|
{
|
|
565
614
|
"type": "typography",
|
|
566
615
|
"content": "Quiz",
|
|
567
616
|
"variant": "h2"
|
|
568
617
|
}
|
|
569
|
-
]
|
|
618
|
+
],
|
|
619
|
+
"gap": "sm"
|
|
570
620
|
},
|
|
571
621
|
{
|
|
572
622
|
"type": "divider"
|
|
@@ -575,19 +625,16 @@
|
|
|
575
625
|
"type": "card",
|
|
576
626
|
"children": [
|
|
577
627
|
{
|
|
628
|
+
"align": "center",
|
|
578
629
|
"type": "stack",
|
|
579
|
-
"direction": "vertical",
|
|
580
630
|
"gap": "md",
|
|
581
|
-
"align": "center",
|
|
582
631
|
"children": [
|
|
583
632
|
{
|
|
584
|
-
"type": "icon",
|
|
585
633
|
"name": "help-circle",
|
|
634
|
+
"type": "icon",
|
|
586
635
|
"size": "lg"
|
|
587
636
|
},
|
|
588
637
|
{
|
|
589
|
-
"type": "typography",
|
|
590
|
-
"variant": "h3",
|
|
591
638
|
"content": [
|
|
592
639
|
"object/get",
|
|
593
640
|
[
|
|
@@ -595,18 +642,25 @@
|
|
|
595
642
|
"@entity"
|
|
596
643
|
],
|
|
597
644
|
"name"
|
|
598
|
-
]
|
|
645
|
+
],
|
|
646
|
+
"variant": "h3",
|
|
647
|
+
"type": "typography"
|
|
599
648
|
}
|
|
600
|
-
]
|
|
649
|
+
],
|
|
650
|
+
"direction": "vertical"
|
|
601
651
|
}
|
|
602
652
|
]
|
|
603
653
|
},
|
|
604
654
|
{
|
|
605
655
|
"type": "simple-grid",
|
|
606
|
-
"columns": 2,
|
|
607
656
|
"children": [
|
|
608
657
|
{
|
|
609
658
|
"type": "button",
|
|
659
|
+
"variant": "secondary",
|
|
660
|
+
"actionPayload": {
|
|
661
|
+
"answer": "A"
|
|
662
|
+
},
|
|
663
|
+
"event": "ANSWER",
|
|
610
664
|
"label": [
|
|
611
665
|
"object/get",
|
|
612
666
|
[
|
|
@@ -614,15 +668,14 @@
|
|
|
614
668
|
"@entity"
|
|
615
669
|
],
|
|
616
670
|
"optionA"
|
|
617
|
-
]
|
|
618
|
-
"event": "ANSWER",
|
|
619
|
-
"variant": "secondary",
|
|
620
|
-
"actionPayload": {
|
|
621
|
-
"answer": "A"
|
|
622
|
-
}
|
|
671
|
+
]
|
|
623
672
|
},
|
|
624
673
|
{
|
|
625
674
|
"type": "button",
|
|
675
|
+
"event": "ANSWER",
|
|
676
|
+
"actionPayload": {
|
|
677
|
+
"answer": "B"
|
|
678
|
+
},
|
|
626
679
|
"label": [
|
|
627
680
|
"object/get",
|
|
628
681
|
[
|
|
@@ -631,14 +684,9 @@
|
|
|
631
684
|
],
|
|
632
685
|
"optionB"
|
|
633
686
|
],
|
|
634
|
-
"
|
|
635
|
-
"variant": "secondary",
|
|
636
|
-
"actionPayload": {
|
|
637
|
-
"answer": "B"
|
|
638
|
-
}
|
|
687
|
+
"variant": "secondary"
|
|
639
688
|
},
|
|
640
689
|
{
|
|
641
|
-
"type": "button",
|
|
642
690
|
"label": [
|
|
643
691
|
"object/get",
|
|
644
692
|
[
|
|
@@ -647,14 +695,18 @@
|
|
|
647
695
|
],
|
|
648
696
|
"optionC"
|
|
649
697
|
],
|
|
650
|
-
"event": "ANSWER",
|
|
651
698
|
"variant": "secondary",
|
|
652
699
|
"actionPayload": {
|
|
653
700
|
"answer": "C"
|
|
654
|
-
}
|
|
701
|
+
},
|
|
702
|
+
"event": "ANSWER",
|
|
703
|
+
"type": "button"
|
|
655
704
|
},
|
|
656
705
|
{
|
|
657
|
-
"
|
|
706
|
+
"variant": "secondary",
|
|
707
|
+
"actionPayload": {
|
|
708
|
+
"answer": "D"
|
|
709
|
+
},
|
|
658
710
|
"label": [
|
|
659
711
|
"object/get",
|
|
660
712
|
[
|
|
@@ -663,40 +715,32 @@
|
|
|
663
715
|
],
|
|
664
716
|
"optionD"
|
|
665
717
|
],
|
|
666
|
-
"
|
|
667
|
-
"
|
|
668
|
-
"actionPayload": {
|
|
669
|
-
"answer": "D"
|
|
670
|
-
}
|
|
718
|
+
"type": "button",
|
|
719
|
+
"event": "ANSWER"
|
|
671
720
|
}
|
|
672
|
-
]
|
|
721
|
+
],
|
|
722
|
+
"columns": 2.0
|
|
673
723
|
},
|
|
674
724
|
{
|
|
675
725
|
"type": "stack",
|
|
676
|
-
"direction": "horizontal",
|
|
677
|
-
"gap": "md",
|
|
678
|
-
"align": "center",
|
|
679
|
-
"justify": "space-between",
|
|
680
726
|
"children": [
|
|
681
727
|
{
|
|
682
|
-
"type": "stack",
|
|
683
|
-
"direction": "horizontal",
|
|
684
|
-
"gap": "sm",
|
|
685
728
|
"align": "center",
|
|
729
|
+
"gap": "sm",
|
|
730
|
+
"type": "stack",
|
|
686
731
|
"children": [
|
|
687
732
|
{
|
|
733
|
+
"size": "sm",
|
|
688
734
|
"type": "icon",
|
|
689
|
-
"name": "signal"
|
|
690
|
-
"size": "sm"
|
|
735
|
+
"name": "signal"
|
|
691
736
|
},
|
|
692
737
|
{
|
|
693
|
-
"type": "typography",
|
|
694
738
|
"variant": "caption",
|
|
695
739
|
"color": "muted",
|
|
740
|
+
"type": "typography",
|
|
696
741
|
"content": "Difficulty:"
|
|
697
742
|
},
|
|
698
743
|
{
|
|
699
|
-
"type": "badge",
|
|
700
744
|
"label": [
|
|
701
745
|
"object/get",
|
|
702
746
|
[
|
|
@@ -704,25 +748,25 @@
|
|
|
704
748
|
"@entity"
|
|
705
749
|
],
|
|
706
750
|
"difficulty"
|
|
707
|
-
]
|
|
751
|
+
],
|
|
752
|
+
"type": "badge"
|
|
708
753
|
}
|
|
709
|
-
]
|
|
754
|
+
],
|
|
755
|
+
"direction": "horizontal"
|
|
710
756
|
},
|
|
711
757
|
{
|
|
712
758
|
"type": "stack",
|
|
759
|
+
"align": "center",
|
|
713
760
|
"direction": "horizontal",
|
|
714
761
|
"gap": "xs",
|
|
715
|
-
"align": "center",
|
|
716
762
|
"children": [
|
|
717
763
|
{
|
|
718
|
-
"type": "typography",
|
|
719
764
|
"variant": "caption",
|
|
720
|
-
"
|
|
721
|
-
"
|
|
765
|
+
"content": "Question",
|
|
766
|
+
"type": "typography",
|
|
767
|
+
"color": "muted"
|
|
722
768
|
},
|
|
723
769
|
{
|
|
724
|
-
"type": "typography",
|
|
725
|
-
"variant": "caption",
|
|
726
770
|
"content": [
|
|
727
771
|
"+",
|
|
728
772
|
[
|
|
@@ -735,20 +779,22 @@
|
|
|
735
779
|
],
|
|
736
780
|
"currentIndex"
|
|
737
781
|
],
|
|
738
|
-
0
|
|
782
|
+
0.0
|
|
739
783
|
],
|
|
740
|
-
1
|
|
741
|
-
]
|
|
784
|
+
1.0
|
|
785
|
+
],
|
|
786
|
+
"type": "typography",
|
|
787
|
+
"variant": "caption"
|
|
742
788
|
},
|
|
743
789
|
{
|
|
744
|
-
"type": "typography",
|
|
745
|
-
"variant": "caption",
|
|
746
790
|
"color": "muted",
|
|
791
|
+
"variant": "caption",
|
|
792
|
+
"type": "typography",
|
|
747
793
|
"content": "of"
|
|
748
794
|
},
|
|
749
795
|
{
|
|
750
|
-
"type": "typography",
|
|
751
796
|
"variant": "caption",
|
|
797
|
+
"type": "typography",
|
|
752
798
|
"content": [
|
|
753
799
|
"or",
|
|
754
800
|
[
|
|
@@ -759,14 +805,20 @@
|
|
|
759
805
|
],
|
|
760
806
|
"totalQuestions"
|
|
761
807
|
],
|
|
762
|
-
0
|
|
808
|
+
0.0
|
|
763
809
|
]
|
|
764
810
|
}
|
|
765
811
|
]
|
|
766
812
|
}
|
|
767
|
-
]
|
|
813
|
+
],
|
|
814
|
+
"align": "center",
|
|
815
|
+
"direction": "horizontal",
|
|
816
|
+
"gap": "md",
|
|
817
|
+
"justify": "space-between"
|
|
768
818
|
}
|
|
769
|
-
]
|
|
819
|
+
],
|
|
820
|
+
"type": "stack",
|
|
821
|
+
"gap": "lg"
|
|
770
822
|
}
|
|
771
823
|
]
|
|
772
824
|
]
|
|
@@ -782,8 +834,6 @@
|
|
|
782
834
|
{
|
|
783
835
|
"type": "stack",
|
|
784
836
|
"direction": "vertical",
|
|
785
|
-
"gap": "lg",
|
|
786
|
-
"align": "center",
|
|
787
837
|
"children": [
|
|
788
838
|
{
|
|
789
839
|
"type": "icon",
|
|
@@ -791,23 +841,25 @@
|
|
|
791
841
|
"size": "lg"
|
|
792
842
|
},
|
|
793
843
|
{
|
|
794
|
-
"type": "typography",
|
|
795
844
|
"content": "Quiz Complete!",
|
|
845
|
+
"type": "typography",
|
|
796
846
|
"variant": "h2"
|
|
797
847
|
},
|
|
798
848
|
{
|
|
799
849
|
"type": "alert",
|
|
800
|
-
"
|
|
801
|
-
"
|
|
850
|
+
"message": "You have completed all questions.",
|
|
851
|
+
"variant": "success"
|
|
802
852
|
},
|
|
803
853
|
{
|
|
804
|
-
"type": "button",
|
|
805
|
-
"label": "Restart",
|
|
806
|
-
"event": "RESTART",
|
|
807
854
|
"variant": "primary",
|
|
808
|
-
"
|
|
855
|
+
"event": "RESTART",
|
|
856
|
+
"label": "Restart",
|
|
857
|
+
"icon": "rotate-ccw",
|
|
858
|
+
"type": "button"
|
|
809
859
|
}
|
|
810
|
-
]
|
|
860
|
+
],
|
|
861
|
+
"gap": "lg",
|
|
862
|
+
"align": "center"
|
|
811
863
|
}
|
|
812
864
|
]
|
|
813
865
|
]
|
|
@@ -819,26 +871,29 @@
|
|
|
819
871
|
"effects": [
|
|
820
872
|
[
|
|
821
873
|
"fetch",
|
|
822
|
-
"QuizItem"
|
|
874
|
+
"QuizItem",
|
|
875
|
+
{
|
|
876
|
+
"emit": {
|
|
877
|
+
"failure": "QuizItemLoadFailed",
|
|
878
|
+
"success": "QuizItemLoaded"
|
|
879
|
+
}
|
|
880
|
+
}
|
|
823
881
|
],
|
|
824
882
|
[
|
|
825
883
|
"render-ui",
|
|
826
884
|
"main",
|
|
827
885
|
{
|
|
828
|
-
"type": "stack",
|
|
829
|
-
"direction": "vertical",
|
|
830
|
-
"gap": "lg",
|
|
831
886
|
"children": [
|
|
832
887
|
{
|
|
833
|
-
"type": "stack",
|
|
834
888
|
"direction": "horizontal",
|
|
835
889
|
"gap": "sm",
|
|
890
|
+
"type": "stack",
|
|
836
891
|
"align": "center",
|
|
837
892
|
"children": [
|
|
838
893
|
{
|
|
839
894
|
"type": "icon",
|
|
840
|
-
"
|
|
841
|
-
"
|
|
895
|
+
"size": "lg",
|
|
896
|
+
"name": "help-circle"
|
|
842
897
|
},
|
|
843
898
|
{
|
|
844
899
|
"type": "typography",
|
|
@@ -855,18 +910,15 @@
|
|
|
855
910
|
"children": [
|
|
856
911
|
{
|
|
857
912
|
"type": "stack",
|
|
858
|
-
"direction": "vertical",
|
|
859
|
-
"gap": "md",
|
|
860
913
|
"align": "center",
|
|
861
914
|
"children": [
|
|
862
915
|
{
|
|
863
|
-
"type": "icon",
|
|
864
916
|
"name": "help-circle",
|
|
865
|
-
"size": "lg"
|
|
917
|
+
"size": "lg",
|
|
918
|
+
"type": "icon"
|
|
866
919
|
},
|
|
867
920
|
{
|
|
868
921
|
"type": "typography",
|
|
869
|
-
"variant": "h3",
|
|
870
922
|
"content": [
|
|
871
923
|
"object/get",
|
|
872
924
|
[
|
|
@@ -874,18 +926,19 @@
|
|
|
874
926
|
"@entity"
|
|
875
927
|
],
|
|
876
928
|
"name"
|
|
877
|
-
]
|
|
929
|
+
],
|
|
930
|
+
"variant": "h3"
|
|
878
931
|
}
|
|
879
|
-
]
|
|
932
|
+
],
|
|
933
|
+
"direction": "vertical",
|
|
934
|
+
"gap": "md"
|
|
880
935
|
}
|
|
881
936
|
]
|
|
882
937
|
},
|
|
883
938
|
{
|
|
884
|
-
"type": "simple-grid",
|
|
885
|
-
"columns": 2,
|
|
886
939
|
"children": [
|
|
887
940
|
{
|
|
888
|
-
"
|
|
941
|
+
"variant": "secondary",
|
|
889
942
|
"label": [
|
|
890
943
|
"object/get",
|
|
891
944
|
[
|
|
@@ -894,14 +947,18 @@
|
|
|
894
947
|
],
|
|
895
948
|
"optionA"
|
|
896
949
|
],
|
|
897
|
-
"event": "ANSWER",
|
|
898
|
-
"variant": "secondary",
|
|
899
950
|
"actionPayload": {
|
|
900
951
|
"answer": "A"
|
|
901
|
-
}
|
|
952
|
+
},
|
|
953
|
+
"type": "button",
|
|
954
|
+
"event": "ANSWER"
|
|
902
955
|
},
|
|
903
956
|
{
|
|
904
|
-
"
|
|
957
|
+
"event": "ANSWER",
|
|
958
|
+
"variant": "secondary",
|
|
959
|
+
"actionPayload": {
|
|
960
|
+
"answer": "B"
|
|
961
|
+
},
|
|
905
962
|
"label": [
|
|
906
963
|
"object/get",
|
|
907
964
|
[
|
|
@@ -910,14 +967,12 @@
|
|
|
910
967
|
],
|
|
911
968
|
"optionB"
|
|
912
969
|
],
|
|
913
|
-
"
|
|
914
|
-
"variant": "secondary",
|
|
915
|
-
"actionPayload": {
|
|
916
|
-
"answer": "B"
|
|
917
|
-
}
|
|
970
|
+
"type": "button"
|
|
918
971
|
},
|
|
919
972
|
{
|
|
920
973
|
"type": "button",
|
|
974
|
+
"event": "ANSWER",
|
|
975
|
+
"variant": "secondary",
|
|
921
976
|
"label": [
|
|
922
977
|
"object/get",
|
|
923
978
|
[
|
|
@@ -926,13 +981,13 @@
|
|
|
926
981
|
],
|
|
927
982
|
"optionC"
|
|
928
983
|
],
|
|
929
|
-
"event": "ANSWER",
|
|
930
|
-
"variant": "secondary",
|
|
931
984
|
"actionPayload": {
|
|
932
985
|
"answer": "C"
|
|
933
986
|
}
|
|
934
987
|
},
|
|
935
988
|
{
|
|
989
|
+
"variant": "secondary",
|
|
990
|
+
"event": "ANSWER",
|
|
936
991
|
"type": "button",
|
|
937
992
|
"label": [
|
|
938
993
|
"object/get",
|
|
@@ -942,37 +997,30 @@
|
|
|
942
997
|
],
|
|
943
998
|
"optionD"
|
|
944
999
|
],
|
|
945
|
-
"event": "ANSWER",
|
|
946
|
-
"variant": "secondary",
|
|
947
1000
|
"actionPayload": {
|
|
948
1001
|
"answer": "D"
|
|
949
1002
|
}
|
|
950
1003
|
}
|
|
951
|
-
]
|
|
1004
|
+
],
|
|
1005
|
+
"type": "simple-grid",
|
|
1006
|
+
"columns": 2.0
|
|
952
1007
|
},
|
|
953
1008
|
{
|
|
954
|
-
"type": "stack",
|
|
955
|
-
"direction": "horizontal",
|
|
956
|
-
"gap": "md",
|
|
957
|
-
"align": "center",
|
|
958
|
-
"justify": "space-between",
|
|
959
1009
|
"children": [
|
|
960
1010
|
{
|
|
961
|
-
"type": "stack",
|
|
962
1011
|
"direction": "horizontal",
|
|
963
|
-
"gap": "sm",
|
|
964
1012
|
"align": "center",
|
|
965
1013
|
"children": [
|
|
966
1014
|
{
|
|
967
|
-
"type": "icon",
|
|
968
1015
|
"name": "signal",
|
|
969
|
-
"size": "sm"
|
|
1016
|
+
"size": "sm",
|
|
1017
|
+
"type": "icon"
|
|
970
1018
|
},
|
|
971
1019
|
{
|
|
972
|
-
"type": "typography",
|
|
973
|
-
"variant": "caption",
|
|
974
1020
|
"color": "muted",
|
|
975
|
-
"
|
|
1021
|
+
"type": "typography",
|
|
1022
|
+
"content": "Difficulty:",
|
|
1023
|
+
"variant": "caption"
|
|
976
1024
|
},
|
|
977
1025
|
{
|
|
978
1026
|
"type": "badge",
|
|
@@ -985,23 +1033,23 @@
|
|
|
985
1033
|
"difficulty"
|
|
986
1034
|
]
|
|
987
1035
|
}
|
|
988
|
-
]
|
|
1036
|
+
],
|
|
1037
|
+
"gap": "sm",
|
|
1038
|
+
"type": "stack"
|
|
989
1039
|
},
|
|
990
1040
|
{
|
|
991
|
-
"type": "stack",
|
|
992
|
-
"direction": "horizontal",
|
|
993
1041
|
"gap": "xs",
|
|
1042
|
+
"direction": "horizontal",
|
|
994
1043
|
"align": "center",
|
|
995
1044
|
"children": [
|
|
996
1045
|
{
|
|
997
|
-
"type": "typography",
|
|
998
1046
|
"variant": "caption",
|
|
999
1047
|
"color": "muted",
|
|
1000
|
-
"content": "Question"
|
|
1048
|
+
"content": "Question",
|
|
1049
|
+
"type": "typography"
|
|
1001
1050
|
},
|
|
1002
1051
|
{
|
|
1003
1052
|
"type": "typography",
|
|
1004
|
-
"variant": "caption",
|
|
1005
1053
|
"content": [
|
|
1006
1054
|
"+",
|
|
1007
1055
|
[
|
|
@@ -1014,20 +1062,20 @@
|
|
|
1014
1062
|
],
|
|
1015
1063
|
"currentIndex"
|
|
1016
1064
|
],
|
|
1017
|
-
0
|
|
1065
|
+
0.0
|
|
1018
1066
|
],
|
|
1019
|
-
1
|
|
1020
|
-
]
|
|
1067
|
+
1.0
|
|
1068
|
+
],
|
|
1069
|
+
"variant": "caption"
|
|
1021
1070
|
},
|
|
1022
1071
|
{
|
|
1023
1072
|
"type": "typography",
|
|
1024
|
-
"variant": "caption",
|
|
1025
1073
|
"color": "muted",
|
|
1026
|
-
"content": "of"
|
|
1074
|
+
"content": "of",
|
|
1075
|
+
"variant": "caption"
|
|
1027
1076
|
},
|
|
1028
1077
|
{
|
|
1029
1078
|
"type": "typography",
|
|
1030
|
-
"variant": "caption",
|
|
1031
1079
|
"content": [
|
|
1032
1080
|
"or",
|
|
1033
1081
|
[
|
|
@@ -1038,20 +1086,31 @@
|
|
|
1038
1086
|
],
|
|
1039
1087
|
"totalQuestions"
|
|
1040
1088
|
],
|
|
1041
|
-
0
|
|
1042
|
-
]
|
|
1089
|
+
0.0
|
|
1090
|
+
],
|
|
1091
|
+
"variant": "caption"
|
|
1043
1092
|
}
|
|
1044
|
-
]
|
|
1093
|
+
],
|
|
1094
|
+
"type": "stack"
|
|
1045
1095
|
}
|
|
1046
|
-
]
|
|
1096
|
+
],
|
|
1097
|
+
"type": "stack",
|
|
1098
|
+
"align": "center",
|
|
1099
|
+
"gap": "md",
|
|
1100
|
+
"justify": "space-between",
|
|
1101
|
+
"direction": "horizontal"
|
|
1047
1102
|
}
|
|
1048
|
-
]
|
|
1103
|
+
],
|
|
1104
|
+
"direction": "vertical",
|
|
1105
|
+
"gap": "lg",
|
|
1106
|
+
"type": "stack"
|
|
1049
1107
|
}
|
|
1050
1108
|
]
|
|
1051
1109
|
]
|
|
1052
1110
|
}
|
|
1053
1111
|
]
|
|
1054
|
-
}
|
|
1112
|
+
},
|
|
1113
|
+
"scope": "collection"
|
|
1055
1114
|
}
|
|
1056
1115
|
],
|
|
1057
1116
|
"pages": [
|
|
@@ -1067,4 +1126,4 @@
|
|
|
1067
1126
|
]
|
|
1068
1127
|
}
|
|
1069
1128
|
]
|
|
1070
|
-
}
|
|
1129
|
+
}
|