@almadar/std 3.2.1 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +44 -44
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  6. package/behaviors/exports/atoms/std-collision.orb +278 -206
  7. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  8. package/behaviors/exports/atoms/std-combat.orb +6 -1
  9. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  10. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  11. package/behaviors/exports/atoms/std-display.orb +1186 -376
  12. package/behaviors/exports/atoms/std-drawer.orb +307 -101
  13. package/behaviors/exports/atoms/std-filter.orb +211 -18
  14. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  15. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  16. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  19. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  20. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  21. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  22. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  23. package/behaviors/exports/atoms/std-input.orb +142 -137
  24. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  25. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  26. package/behaviors/exports/atoms/std-loading.orb +149 -170
  27. package/behaviors/exports/atoms/std-modal.orb +159 -94
  28. package/behaviors/exports/atoms/std-movement.orb +401 -31
  29. package/behaviors/exports/atoms/std-notification.orb +117 -95
  30. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  31. package/behaviors/exports/atoms/std-pagination.orb +44 -115
  32. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  33. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  34. package/behaviors/exports/atoms/std-quest.orb +309 -34
  35. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  36. package/behaviors/exports/atoms/std-rating.orb +328 -0
  37. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  38. package/behaviors/exports/atoms/std-score.orb +252 -11
  39. package/behaviors/exports/atoms/std-search.orb +62 -47
  40. package/behaviors/exports/atoms/std-selection.orb +180 -149
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  42. package/behaviors/exports/atoms/std-sort.orb +192 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  44. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  45. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  46. package/behaviors/exports/atoms/std-theme.orb +573 -0
  47. package/behaviors/exports/atoms/std-timer.orb +483 -91
  48. package/behaviors/exports/atoms/std-undo.orb +211 -81
  49. package/behaviors/exports/atoms/std-upload.orb +535 -0
  50. package/behaviors/exports/atoms/std-wizard.orb +677 -240
  51. package/behaviors/exports/molecules/std-builder-game.orb +49 -4
  52. package/behaviors/exports/molecules/std-cart.orb +325 -102
  53. package/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  54. package/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  55. package/behaviors/exports/molecules/std-detail.orb +52 -48
  56. package/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  57. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  58. package/behaviors/exports/molecules/std-geospatial.orb +70 -51
  59. package/behaviors/exports/molecules/std-inventory.orb +92 -53
  60. package/behaviors/exports/molecules/std-list.orb +416 -52
  61. package/behaviors/exports/molecules/std-messaging.orb +41 -49
  62. package/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  63. package/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  64. package/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  65. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  66. package/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  67. package/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  68. package/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  69. package/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  70. package/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  71. package/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  72. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  73. package/behaviors/exports/organisms/std-cms.orb +1150 -277
  74. package/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  75. package/behaviors/exports/organisms/std-crm.orb +2357 -821
  76. package/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  77. package/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  78. package/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  79. package/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  80. package/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  81. package/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  82. package/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  83. package/behaviors/exports/organisms/std-lms.orb +2548 -1192
  84. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  85. package/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  86. package/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  87. package/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  88. package/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  89. package/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  90. package/behaviors/exports/organisms/std-social-feed.orb +184 -168
  91. package/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  92. package/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  93. package/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  94. package/behaviors/exports/validation-report.json +3 -750
  95. package/behaviors/exports/verify-results.json +13 -0
  96. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  97. package/dist/behaviors/exports/atoms/std-browse.orb +44 -44
  98. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  99. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  100. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  101. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  102. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  105. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  106. package/dist/behaviors/exports/atoms/std-display.orb +1186 -376
  107. package/dist/behaviors/exports/atoms/std-drawer.orb +307 -101
  108. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  109. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  110. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  111. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  112. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  113. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  114. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  117. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  118. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  119. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  120. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  121. package/dist/behaviors/exports/atoms/std-loading.orb +149 -170
  122. package/dist/behaviors/exports/atoms/std-modal.orb +159 -94
  123. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  124. package/dist/behaviors/exports/atoms/std-notification.orb +117 -95
  125. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  126. package/dist/behaviors/exports/atoms/std-pagination.orb +44 -115
  127. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  128. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  129. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  130. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  131. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  132. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  133. package/dist/behaviors/exports/atoms/std-score.orb +252 -11
  134. package/dist/behaviors/exports/atoms/std-search.orb +62 -47
  135. package/dist/behaviors/exports/atoms/std-selection.orb +180 -149
  136. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  137. package/dist/behaviors/exports/atoms/std-sort.orb +192 -60
  138. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  139. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  140. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  141. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  142. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  143. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-wizard.orb +677 -240
  146. package/dist/behaviors/exports/molecules/std-builder-game.orb +49 -4
  147. package/dist/behaviors/exports/molecules/std-cart.orb +325 -102
  148. package/dist/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  149. package/dist/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  150. package/dist/behaviors/exports/molecules/std-detail.orb +52 -48
  151. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  152. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  153. package/dist/behaviors/exports/molecules/std-geospatial.orb +70 -51
  154. package/dist/behaviors/exports/molecules/std-inventory.orb +92 -53
  155. package/dist/behaviors/exports/molecules/std-list.orb +416 -52
  156. package/dist/behaviors/exports/molecules/std-messaging.orb +41 -49
  157. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  158. package/dist/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  159. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  160. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  161. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  162. package/dist/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  163. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  164. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  165. package/dist/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  166. package/dist/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  167. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  168. package/dist/behaviors/exports/organisms/std-cms.orb +1150 -277
  169. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  170. package/dist/behaviors/exports/organisms/std-crm.orb +2357 -821
  171. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  172. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  173. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  174. package/dist/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  175. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  176. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  177. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  178. package/dist/behaviors/exports/organisms/std-lms.orb +2548 -1192
  179. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  180. package/dist/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  181. package/dist/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  182. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  183. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  184. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  185. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -168
  186. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  187. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  188. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  189. package/dist/behaviors/exports/validation-report.json +3 -750
  190. package/dist/behaviors/exports/verify-results.json +13 -0
  191. package/dist/behaviors/functions/index.d.ts +270 -1
  192. package/dist/behaviors/functions/index.js +3811 -1333
  193. package/dist/behaviors/functions/index.js.map +1 -1
  194. package/dist/behaviors/index.d.ts +1 -1
  195. package/dist/behaviors/index.js +3811 -1333
  196. package/dist/behaviors/index.js.map +1 -1
  197. package/dist/exports/atoms/std-async.orb +41 -24
  198. package/dist/exports/atoms/std-browse.orb +44 -44
  199. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  200. package/dist/exports/atoms/std-calendar.orb +770 -0
  201. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  202. package/dist/exports/atoms/std-collision.orb +278 -206
  203. package/dist/exports/atoms/std-combat-log.orb +6 -1
  204. package/dist/exports/atoms/std-combat.orb +6 -1
  205. package/dist/exports/atoms/std-confirmation.orb +212 -7
  206. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  207. package/dist/exports/atoms/std-display.orb +1186 -376
  208. package/dist/exports/atoms/std-drawer.orb +307 -101
  209. package/dist/exports/atoms/std-filter.orb +211 -18
  210. package/dist/exports/atoms/std-flip-card.orb +596 -0
  211. package/dist/exports/atoms/std-gallery.orb +382 -0
  212. package/dist/exports/atoms/std-game-audio.orb +6 -1
  213. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  214. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  215. package/dist/exports/atoms/std-game-hud.orb +6 -1
  216. package/dist/exports/atoms/std-game-menu.orb +6 -1
  217. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  218. package/dist/exports/atoms/std-gameflow.orb +100 -5
  219. package/dist/exports/atoms/std-input.orb +142 -137
  220. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  221. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  222. package/dist/exports/atoms/std-loading.orb +149 -170
  223. package/dist/exports/atoms/std-modal.orb +159 -94
  224. package/dist/exports/atoms/std-movement.orb +401 -31
  225. package/dist/exports/atoms/std-notification.orb +117 -95
  226. package/dist/exports/atoms/std-overworld.orb +44 -16
  227. package/dist/exports/atoms/std-pagination.orb +44 -115
  228. package/dist/exports/atoms/std-physics2d.orb +6 -1
  229. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  230. package/dist/exports/atoms/std-quest.orb +309 -34
  231. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  232. package/dist/exports/atoms/std-rating.orb +328 -0
  233. package/dist/exports/atoms/std-score-board.orb +6 -1
  234. package/dist/exports/atoms/std-score.orb +252 -11
  235. package/dist/exports/atoms/std-search.orb +62 -47
  236. package/dist/exports/atoms/std-selection.orb +180 -149
  237. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  238. package/dist/exports/atoms/std-sort.orb +192 -60
  239. package/dist/exports/atoms/std-sprite.orb +6 -1
  240. package/dist/exports/atoms/std-tabs.orb +25 -15
  241. package/dist/exports/atoms/std-text-effects.orb +658 -0
  242. package/dist/exports/atoms/std-theme.orb +573 -0
  243. package/dist/exports/atoms/std-timer.orb +483 -91
  244. package/dist/exports/atoms/std-undo.orb +211 -81
  245. package/dist/exports/atoms/std-upload.orb +535 -0
  246. package/dist/exports/atoms/std-wizard.orb +677 -240
  247. package/dist/exports/molecules/std-builder-game.orb +49 -4
  248. package/dist/exports/molecules/std-cart.orb +325 -102
  249. package/dist/exports/molecules/std-classifier-game.orb +49 -4
  250. package/dist/exports/molecules/std-debugger-game.orb +49 -4
  251. package/dist/exports/molecules/std-detail.orb +52 -48
  252. package/dist/exports/molecules/std-event-handler-game.orb +49 -4
  253. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  254. package/dist/exports/molecules/std-geospatial.orb +70 -51
  255. package/dist/exports/molecules/std-inventory.orb +92 -53
  256. package/dist/exports/molecules/std-list.orb +416 -52
  257. package/dist/exports/molecules/std-messaging.orb +41 -49
  258. package/dist/exports/molecules/std-negotiator-game.orb +49 -4
  259. package/dist/exports/molecules/std-platformer-game.orb +58 -3
  260. package/dist/exports/molecules/std-puzzle-game.orb +58 -7
  261. package/dist/exports/molecules/std-quiz.orb +1045 -0
  262. package/dist/exports/molecules/std-sequencer-game.orb +49 -4
  263. package/dist/exports/molecules/std-simulator-game.orb +49 -4
  264. package/dist/exports/molecules/std-turn-based-battle.orb +66 -1
  265. package/dist/exports/organisms/std-api-gateway.orb +2615 -867
  266. package/dist/exports/organisms/std-arcade-game.orb +399 -197
  267. package/dist/exports/organisms/std-booking-system.orb +3154 -1305
  268. package/dist/exports/organisms/std-cicd-pipeline.orb +2298 -779
  269. package/dist/exports/organisms/std-cms.orb +1150 -277
  270. package/dist/exports/organisms/std-coding-academy.orb +1222 -533
  271. package/dist/exports/organisms/std-crm.orb +2357 -821
  272. package/dist/exports/organisms/std-devops-dashboard.orb +4230 -1281
  273. package/dist/exports/organisms/std-ecommerce.orb +2660 -1098
  274. package/dist/exports/organisms/std-finance-tracker.orb +1749 -737
  275. package/dist/exports/organisms/std-healthcare.orb +3593 -1478
  276. package/dist/exports/organisms/std-helpdesk.orb +1870 -738
  277. package/dist/exports/organisms/std-hr-portal.orb +3290 -1385
  278. package/dist/exports/organisms/std-iot-dashboard.orb +2704 -788
  279. package/dist/exports/organisms/std-lms.orb +2548 -1192
  280. package/dist/exports/organisms/std-logic-training.orb +220 -66
  281. package/dist/exports/organisms/std-platformer-app.orb +373 -194
  282. package/dist/exports/organisms/std-project-manager.orb +2347 -806
  283. package/dist/exports/organisms/std-puzzle-app.orb +240 -95
  284. package/dist/exports/organisms/std-realtime-chat.orb +2020 -660
  285. package/dist/exports/organisms/std-rpg-game.orb +1303 -740
  286. package/dist/exports/organisms/std-social-feed.orb +184 -168
  287. package/dist/exports/organisms/std-stem-lab.orb +1223 -512
  288. package/dist/exports/organisms/std-strategy-game.orb +1412 -731
  289. package/dist/exports/organisms/std-trading-dashboard.orb +1869 -695
  290. package/dist/exports/validation-report.json +3 -750
  291. package/dist/exports/verify-results.json +13 -0
  292. package/dist/index.d.ts +1 -1
  293. package/dist/index.js +3808 -1330
  294. package/dist/index.js.map +1 -1
  295. package/package.json +1 -1
@@ -0,0 +1,1045 @@
1
+ {
2
+ "name": "QuizItemOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "QuizItemOrbital",
6
+ "entity": {
7
+ "name": "QuizItem",
8
+ "persistence": "runtime",
9
+ "fields": [
10
+ {
11
+ "name": "id",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "name": "name",
16
+ "type": "string"
17
+ },
18
+ {
19
+ "name": "description",
20
+ "type": "string"
21
+ },
22
+ {
23
+ "name": "status",
24
+ "type": "string",
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
31
+ },
32
+ {
33
+ "name": "createdAt",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "name": "question",
38
+ "type": "string",
39
+ "default": ""
40
+ },
41
+ {
42
+ "name": "answer",
43
+ "type": "string",
44
+ "default": ""
45
+ },
46
+ {
47
+ "name": "optionA",
48
+ "type": "string",
49
+ "default": ""
50
+ },
51
+ {
52
+ "name": "optionB",
53
+ "type": "string",
54
+ "default": ""
55
+ },
56
+ {
57
+ "name": "optionC",
58
+ "type": "string",
59
+ "default": ""
60
+ },
61
+ {
62
+ "name": "optionD",
63
+ "type": "string",
64
+ "default": ""
65
+ },
66
+ {
67
+ "name": "difficulty",
68
+ "type": "string",
69
+ "default": "medium"
70
+ },
71
+ {
72
+ "name": "currentIndex",
73
+ "type": "number",
74
+ "default": 0
75
+ },
76
+ {
77
+ "name": "totalQuestions",
78
+ "type": "number",
79
+ "default": 3
80
+ }
81
+ ],
82
+ "instances": [
83
+ {
84
+ "id": "q-1",
85
+ "name": "What planet is closest to the Sun?",
86
+ "description": "Mercury",
87
+ "status": "active",
88
+ "createdAt": "2026-01-01",
89
+ "question": "What planet is closest to the Sun?",
90
+ "answer": "Mercury",
91
+ "optionA": "Mercury",
92
+ "optionB": "Venus",
93
+ "optionC": "Mars",
94
+ "optionD": "Earth",
95
+ "difficulty": "easy",
96
+ "currentIndex": 0,
97
+ "totalQuestions": 3
98
+ },
99
+ {
100
+ "id": "q-2",
101
+ "name": "What is the chemical symbol for gold?",
102
+ "description": "Au",
103
+ "status": "active",
104
+ "createdAt": "2026-01-02",
105
+ "question": "What is the chemical symbol for gold?",
106
+ "answer": "Au",
107
+ "optionA": "Ag",
108
+ "optionB": "Au",
109
+ "optionC": "Fe",
110
+ "optionD": "Cu",
111
+ "difficulty": "medium",
112
+ "currentIndex": 0,
113
+ "totalQuestions": 3
114
+ },
115
+ {
116
+ "id": "q-3",
117
+ "name": "Who painted the Mona Lisa?",
118
+ "description": "Leonardo da Vinci",
119
+ "status": "active",
120
+ "createdAt": "2026-01-03",
121
+ "question": "Who painted the Mona Lisa?",
122
+ "answer": "Leonardo da Vinci",
123
+ "optionA": "Michelangelo",
124
+ "optionB": "Raphael",
125
+ "optionC": "Leonardo da Vinci",
126
+ "optionD": "Donatello",
127
+ "difficulty": "easy",
128
+ "currentIndex": 0,
129
+ "totalQuestions": 3
130
+ }
131
+ ]
132
+ },
133
+ "traits": [
134
+ {
135
+ "name": "QuizItemQuiz",
136
+ "linkedEntity": "QuizItem",
137
+ "category": "interaction",
138
+ "stateMachine": {
139
+ "states": [
140
+ {
141
+ "name": "question",
142
+ "isInitial": true
143
+ },
144
+ {
145
+ "name": "answer-revealed"
146
+ },
147
+ {
148
+ "name": "complete"
149
+ }
150
+ ],
151
+ "events": [
152
+ {
153
+ "key": "INIT",
154
+ "name": "Initialize"
155
+ },
156
+ {
157
+ "key": "ANSWER",
158
+ "name": "Answer",
159
+ "payload": [
160
+ {
161
+ "name": "answer",
162
+ "type": "string",
163
+ "required": true
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "key": "NEXT",
169
+ "name": "Next Question"
170
+ },
171
+ {
172
+ "key": "RESTART",
173
+ "name": "Restart"
174
+ }
175
+ ],
176
+ "transitions": [
177
+ {
178
+ "from": "question",
179
+ "to": "question",
180
+ "event": "INIT",
181
+ "effects": [
182
+ [
183
+ "fetch",
184
+ "QuizItem"
185
+ ],
186
+ [
187
+ "render-ui",
188
+ "main",
189
+ {
190
+ "type": "stack",
191
+ "direction": "vertical",
192
+ "gap": "lg",
193
+ "children": [
194
+ {
195
+ "type": "stack",
196
+ "direction": "horizontal",
197
+ "gap": "sm",
198
+ "align": "center",
199
+ "children": [
200
+ {
201
+ "type": "icon",
202
+ "name": "help-circle",
203
+ "size": "lg"
204
+ },
205
+ {
206
+ "type": "typography",
207
+ "content": "Quiz",
208
+ "variant": "h2"
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "type": "divider"
214
+ },
215
+ {
216
+ "type": "card",
217
+ "children": [
218
+ {
219
+ "type": "stack",
220
+ "direction": "vertical",
221
+ "gap": "md",
222
+ "align": "center",
223
+ "children": [
224
+ {
225
+ "type": "icon",
226
+ "name": "help-circle",
227
+ "size": "lg"
228
+ },
229
+ {
230
+ "type": "typography",
231
+ "variant": "h3",
232
+ "content": [
233
+ "object/get",
234
+ [
235
+ "array/first",
236
+ "@entity"
237
+ ],
238
+ "name"
239
+ ]
240
+ }
241
+ ]
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "type": "simple-grid",
247
+ "columns": 2,
248
+ "children": [
249
+ {
250
+ "type": "button",
251
+ "label": [
252
+ "object/get",
253
+ [
254
+ "array/first",
255
+ "@entity"
256
+ ],
257
+ "optionA"
258
+ ],
259
+ "event": "ANSWER",
260
+ "variant": "secondary",
261
+ "actionPayload": {
262
+ "answer": "A"
263
+ }
264
+ },
265
+ {
266
+ "type": "button",
267
+ "label": [
268
+ "object/get",
269
+ [
270
+ "array/first",
271
+ "@entity"
272
+ ],
273
+ "optionB"
274
+ ],
275
+ "event": "ANSWER",
276
+ "variant": "secondary",
277
+ "actionPayload": {
278
+ "answer": "B"
279
+ }
280
+ },
281
+ {
282
+ "type": "button",
283
+ "label": [
284
+ "object/get",
285
+ [
286
+ "array/first",
287
+ "@entity"
288
+ ],
289
+ "optionC"
290
+ ],
291
+ "event": "ANSWER",
292
+ "variant": "secondary",
293
+ "actionPayload": {
294
+ "answer": "C"
295
+ }
296
+ },
297
+ {
298
+ "type": "button",
299
+ "label": [
300
+ "object/get",
301
+ [
302
+ "array/first",
303
+ "@entity"
304
+ ],
305
+ "optionD"
306
+ ],
307
+ "event": "ANSWER",
308
+ "variant": "secondary",
309
+ "actionPayload": {
310
+ "answer": "D"
311
+ }
312
+ }
313
+ ]
314
+ },
315
+ {
316
+ "type": "stack",
317
+ "direction": "horizontal",
318
+ "gap": "md",
319
+ "align": "center",
320
+ "justify": "space-between",
321
+ "children": [
322
+ {
323
+ "type": "stack",
324
+ "direction": "horizontal",
325
+ "gap": "sm",
326
+ "align": "center",
327
+ "children": [
328
+ {
329
+ "type": "icon",
330
+ "name": "signal",
331
+ "size": "sm"
332
+ },
333
+ {
334
+ "type": "typography",
335
+ "variant": "caption",
336
+ "color": "muted",
337
+ "content": "Difficulty:"
338
+ },
339
+ {
340
+ "type": "badge",
341
+ "label": [
342
+ "object/get",
343
+ [
344
+ "array/first",
345
+ "@entity"
346
+ ],
347
+ "difficulty"
348
+ ]
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "type": "stack",
354
+ "direction": "horizontal",
355
+ "gap": "xs",
356
+ "align": "center",
357
+ "children": [
358
+ {
359
+ "type": "typography",
360
+ "variant": "caption",
361
+ "color": "muted",
362
+ "content": "Question"
363
+ },
364
+ {
365
+ "type": "typography",
366
+ "variant": "caption",
367
+ "content": [
368
+ "+",
369
+ [
370
+ "object/get",
371
+ [
372
+ "array/first",
373
+ "@entity"
374
+ ],
375
+ "currentIndex"
376
+ ],
377
+ 1
378
+ ]
379
+ },
380
+ {
381
+ "type": "typography",
382
+ "variant": "caption",
383
+ "color": "muted",
384
+ "content": "of"
385
+ },
386
+ {
387
+ "type": "typography",
388
+ "variant": "caption",
389
+ "content": [
390
+ "object/get",
391
+ [
392
+ "array/first",
393
+ "@entity"
394
+ ],
395
+ "totalQuestions"
396
+ ]
397
+ }
398
+ ]
399
+ }
400
+ ]
401
+ }
402
+ ]
403
+ }
404
+ ]
405
+ ]
406
+ },
407
+ {
408
+ "from": "question",
409
+ "to": "answer-revealed",
410
+ "event": "ANSWER",
411
+ "effects": [
412
+ [
413
+ "render-ui",
414
+ "main",
415
+ {
416
+ "type": "stack",
417
+ "direction": "vertical",
418
+ "gap": "lg",
419
+ "children": [
420
+ {
421
+ "type": "stack",
422
+ "direction": "horizontal",
423
+ "gap": "sm",
424
+ "align": "center",
425
+ "children": [
426
+ {
427
+ "type": "icon",
428
+ "name": "help-circle",
429
+ "size": "lg"
430
+ },
431
+ {
432
+ "type": "typography",
433
+ "content": "Answer Revealed",
434
+ "variant": "h2"
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ "type": "divider"
440
+ },
441
+ {
442
+ "type": "card",
443
+ "children": [
444
+ {
445
+ "type": "stack",
446
+ "direction": "vertical",
447
+ "gap": "md",
448
+ "children": [
449
+ {
450
+ "type": "typography",
451
+ "variant": "caption",
452
+ "color": "muted",
453
+ "content": "Question"
454
+ },
455
+ {
456
+ "type": "typography",
457
+ "variant": "body",
458
+ "content": [
459
+ "object/get",
460
+ [
461
+ "array/first",
462
+ "@entity"
463
+ ],
464
+ "name"
465
+ ]
466
+ },
467
+ {
468
+ "type": "divider"
469
+ },
470
+ {
471
+ "type": "typography",
472
+ "variant": "caption",
473
+ "color": "muted",
474
+ "content": "Answer"
475
+ },
476
+ {
477
+ "type": "typography",
478
+ "variant": "h3",
479
+ "content": [
480
+ "object/get",
481
+ [
482
+ "array/first",
483
+ "@entity"
484
+ ],
485
+ "description"
486
+ ]
487
+ }
488
+ ]
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "type": "alert",
494
+ "variant": "info",
495
+ "message": "Review the answer above."
496
+ },
497
+ {
498
+ "type": "stack",
499
+ "direction": "horizontal",
500
+ "gap": "sm",
501
+ "justify": "center",
502
+ "children": [
503
+ {
504
+ "type": "button",
505
+ "label": "Next Question",
506
+ "event": "NEXT",
507
+ "variant": "primary",
508
+ "icon": "arrow-right"
509
+ }
510
+ ]
511
+ }
512
+ ]
513
+ }
514
+ ]
515
+ ]
516
+ },
517
+ {
518
+ "from": "answer-revealed",
519
+ "to": "question",
520
+ "event": "NEXT",
521
+ "effects": [
522
+ [
523
+ "set",
524
+ "@entity.currentIndex",
525
+ [
526
+ "+",
527
+ "@entity.currentIndex",
528
+ 1
529
+ ]
530
+ ],
531
+ [
532
+ "fetch",
533
+ "QuizItem"
534
+ ],
535
+ [
536
+ "render-ui",
537
+ "main",
538
+ {
539
+ "type": "stack",
540
+ "direction": "vertical",
541
+ "gap": "lg",
542
+ "children": [
543
+ {
544
+ "type": "stack",
545
+ "direction": "horizontal",
546
+ "gap": "sm",
547
+ "align": "center",
548
+ "children": [
549
+ {
550
+ "type": "icon",
551
+ "name": "help-circle",
552
+ "size": "lg"
553
+ },
554
+ {
555
+ "type": "typography",
556
+ "content": "Quiz",
557
+ "variant": "h2"
558
+ }
559
+ ]
560
+ },
561
+ {
562
+ "type": "divider"
563
+ },
564
+ {
565
+ "type": "card",
566
+ "children": [
567
+ {
568
+ "type": "stack",
569
+ "direction": "vertical",
570
+ "gap": "md",
571
+ "align": "center",
572
+ "children": [
573
+ {
574
+ "type": "icon",
575
+ "name": "help-circle",
576
+ "size": "lg"
577
+ },
578
+ {
579
+ "type": "typography",
580
+ "variant": "h3",
581
+ "content": [
582
+ "object/get",
583
+ [
584
+ "array/first",
585
+ "@entity"
586
+ ],
587
+ "name"
588
+ ]
589
+ }
590
+ ]
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "type": "simple-grid",
596
+ "columns": 2,
597
+ "children": [
598
+ {
599
+ "type": "button",
600
+ "label": [
601
+ "object/get",
602
+ [
603
+ "array/first",
604
+ "@entity"
605
+ ],
606
+ "optionA"
607
+ ],
608
+ "event": "ANSWER",
609
+ "variant": "secondary",
610
+ "actionPayload": {
611
+ "answer": "A"
612
+ }
613
+ },
614
+ {
615
+ "type": "button",
616
+ "label": [
617
+ "object/get",
618
+ [
619
+ "array/first",
620
+ "@entity"
621
+ ],
622
+ "optionB"
623
+ ],
624
+ "event": "ANSWER",
625
+ "variant": "secondary",
626
+ "actionPayload": {
627
+ "answer": "B"
628
+ }
629
+ },
630
+ {
631
+ "type": "button",
632
+ "label": [
633
+ "object/get",
634
+ [
635
+ "array/first",
636
+ "@entity"
637
+ ],
638
+ "optionC"
639
+ ],
640
+ "event": "ANSWER",
641
+ "variant": "secondary",
642
+ "actionPayload": {
643
+ "answer": "C"
644
+ }
645
+ },
646
+ {
647
+ "type": "button",
648
+ "label": [
649
+ "object/get",
650
+ [
651
+ "array/first",
652
+ "@entity"
653
+ ],
654
+ "optionD"
655
+ ],
656
+ "event": "ANSWER",
657
+ "variant": "secondary",
658
+ "actionPayload": {
659
+ "answer": "D"
660
+ }
661
+ }
662
+ ]
663
+ },
664
+ {
665
+ "type": "stack",
666
+ "direction": "horizontal",
667
+ "gap": "md",
668
+ "align": "center",
669
+ "justify": "space-between",
670
+ "children": [
671
+ {
672
+ "type": "stack",
673
+ "direction": "horizontal",
674
+ "gap": "sm",
675
+ "align": "center",
676
+ "children": [
677
+ {
678
+ "type": "icon",
679
+ "name": "signal",
680
+ "size": "sm"
681
+ },
682
+ {
683
+ "type": "typography",
684
+ "variant": "caption",
685
+ "color": "muted",
686
+ "content": "Difficulty:"
687
+ },
688
+ {
689
+ "type": "badge",
690
+ "label": [
691
+ "object/get",
692
+ [
693
+ "array/first",
694
+ "@entity"
695
+ ],
696
+ "difficulty"
697
+ ]
698
+ }
699
+ ]
700
+ },
701
+ {
702
+ "type": "stack",
703
+ "direction": "horizontal",
704
+ "gap": "xs",
705
+ "align": "center",
706
+ "children": [
707
+ {
708
+ "type": "typography",
709
+ "variant": "caption",
710
+ "color": "muted",
711
+ "content": "Question"
712
+ },
713
+ {
714
+ "type": "typography",
715
+ "variant": "caption",
716
+ "content": [
717
+ "+",
718
+ [
719
+ "object/get",
720
+ [
721
+ "array/first",
722
+ "@entity"
723
+ ],
724
+ "currentIndex"
725
+ ],
726
+ 1
727
+ ]
728
+ },
729
+ {
730
+ "type": "typography",
731
+ "variant": "caption",
732
+ "color": "muted",
733
+ "content": "of"
734
+ },
735
+ {
736
+ "type": "typography",
737
+ "variant": "caption",
738
+ "content": [
739
+ "object/get",
740
+ [
741
+ "array/first",
742
+ "@entity"
743
+ ],
744
+ "totalQuestions"
745
+ ]
746
+ }
747
+ ]
748
+ }
749
+ ]
750
+ }
751
+ ]
752
+ }
753
+ ]
754
+ ]
755
+ },
756
+ {
757
+ "from": "answer-revealed",
758
+ "to": "complete",
759
+ "event": "RESTART",
760
+ "effects": [
761
+ [
762
+ "render-ui",
763
+ "main",
764
+ {
765
+ "type": "stack",
766
+ "direction": "vertical",
767
+ "gap": "lg",
768
+ "align": "center",
769
+ "children": [
770
+ {
771
+ "type": "icon",
772
+ "name": "check-circle",
773
+ "size": "lg"
774
+ },
775
+ {
776
+ "type": "typography",
777
+ "content": "Quiz Complete!",
778
+ "variant": "h2"
779
+ },
780
+ {
781
+ "type": "alert",
782
+ "variant": "success",
783
+ "message": "You have completed all questions."
784
+ },
785
+ {
786
+ "type": "button",
787
+ "label": "Restart",
788
+ "event": "RESTART",
789
+ "variant": "primary",
790
+ "icon": "rotate-ccw"
791
+ }
792
+ ]
793
+ }
794
+ ]
795
+ ]
796
+ },
797
+ {
798
+ "from": "complete",
799
+ "to": "question",
800
+ "event": "RESTART",
801
+ "effects": [
802
+ [
803
+ "fetch",
804
+ "QuizItem"
805
+ ],
806
+ [
807
+ "render-ui",
808
+ "main",
809
+ {
810
+ "type": "stack",
811
+ "direction": "vertical",
812
+ "gap": "lg",
813
+ "children": [
814
+ {
815
+ "type": "stack",
816
+ "direction": "horizontal",
817
+ "gap": "sm",
818
+ "align": "center",
819
+ "children": [
820
+ {
821
+ "type": "icon",
822
+ "name": "help-circle",
823
+ "size": "lg"
824
+ },
825
+ {
826
+ "type": "typography",
827
+ "content": "Quiz",
828
+ "variant": "h2"
829
+ }
830
+ ]
831
+ },
832
+ {
833
+ "type": "divider"
834
+ },
835
+ {
836
+ "type": "card",
837
+ "children": [
838
+ {
839
+ "type": "stack",
840
+ "direction": "vertical",
841
+ "gap": "md",
842
+ "align": "center",
843
+ "children": [
844
+ {
845
+ "type": "icon",
846
+ "name": "help-circle",
847
+ "size": "lg"
848
+ },
849
+ {
850
+ "type": "typography",
851
+ "variant": "h3",
852
+ "content": [
853
+ "object/get",
854
+ [
855
+ "array/first",
856
+ "@entity"
857
+ ],
858
+ "name"
859
+ ]
860
+ }
861
+ ]
862
+ }
863
+ ]
864
+ },
865
+ {
866
+ "type": "simple-grid",
867
+ "columns": 2,
868
+ "children": [
869
+ {
870
+ "type": "button",
871
+ "label": [
872
+ "object/get",
873
+ [
874
+ "array/first",
875
+ "@entity"
876
+ ],
877
+ "optionA"
878
+ ],
879
+ "event": "ANSWER",
880
+ "variant": "secondary",
881
+ "actionPayload": {
882
+ "answer": "A"
883
+ }
884
+ },
885
+ {
886
+ "type": "button",
887
+ "label": [
888
+ "object/get",
889
+ [
890
+ "array/first",
891
+ "@entity"
892
+ ],
893
+ "optionB"
894
+ ],
895
+ "event": "ANSWER",
896
+ "variant": "secondary",
897
+ "actionPayload": {
898
+ "answer": "B"
899
+ }
900
+ },
901
+ {
902
+ "type": "button",
903
+ "label": [
904
+ "object/get",
905
+ [
906
+ "array/first",
907
+ "@entity"
908
+ ],
909
+ "optionC"
910
+ ],
911
+ "event": "ANSWER",
912
+ "variant": "secondary",
913
+ "actionPayload": {
914
+ "answer": "C"
915
+ }
916
+ },
917
+ {
918
+ "type": "button",
919
+ "label": [
920
+ "object/get",
921
+ [
922
+ "array/first",
923
+ "@entity"
924
+ ],
925
+ "optionD"
926
+ ],
927
+ "event": "ANSWER",
928
+ "variant": "secondary",
929
+ "actionPayload": {
930
+ "answer": "D"
931
+ }
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "type": "stack",
937
+ "direction": "horizontal",
938
+ "gap": "md",
939
+ "align": "center",
940
+ "justify": "space-between",
941
+ "children": [
942
+ {
943
+ "type": "stack",
944
+ "direction": "horizontal",
945
+ "gap": "sm",
946
+ "align": "center",
947
+ "children": [
948
+ {
949
+ "type": "icon",
950
+ "name": "signal",
951
+ "size": "sm"
952
+ },
953
+ {
954
+ "type": "typography",
955
+ "variant": "caption",
956
+ "color": "muted",
957
+ "content": "Difficulty:"
958
+ },
959
+ {
960
+ "type": "badge",
961
+ "label": [
962
+ "object/get",
963
+ [
964
+ "array/first",
965
+ "@entity"
966
+ ],
967
+ "difficulty"
968
+ ]
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ "type": "stack",
974
+ "direction": "horizontal",
975
+ "gap": "xs",
976
+ "align": "center",
977
+ "children": [
978
+ {
979
+ "type": "typography",
980
+ "variant": "caption",
981
+ "color": "muted",
982
+ "content": "Question"
983
+ },
984
+ {
985
+ "type": "typography",
986
+ "variant": "caption",
987
+ "content": [
988
+ "+",
989
+ [
990
+ "object/get",
991
+ [
992
+ "array/first",
993
+ "@entity"
994
+ ],
995
+ "currentIndex"
996
+ ],
997
+ 1
998
+ ]
999
+ },
1000
+ {
1001
+ "type": "typography",
1002
+ "variant": "caption",
1003
+ "color": "muted",
1004
+ "content": "of"
1005
+ },
1006
+ {
1007
+ "type": "typography",
1008
+ "variant": "caption",
1009
+ "content": [
1010
+ "object/get",
1011
+ [
1012
+ "array/first",
1013
+ "@entity"
1014
+ ],
1015
+ "totalQuestions"
1016
+ ]
1017
+ }
1018
+ ]
1019
+ }
1020
+ ]
1021
+ }
1022
+ ]
1023
+ }
1024
+ ]
1025
+ ]
1026
+ }
1027
+ ]
1028
+ }
1029
+ }
1030
+ ],
1031
+ "pages": [
1032
+ {
1033
+ "name": "QuizItemQuizPage",
1034
+ "path": "/quizitems/quiz",
1035
+ "traits": [
1036
+ {
1037
+ "ref": "QuizItemQuiz"
1038
+ }
1039
+ ]
1040
+ }
1041
+ ]
1042
+ }
1043
+ ],
1044
+ "description": "Quiz molecule composing flip-card atom with question/answer flow. Absorbs: quiz-block."
1045
+ }