@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,654 @@
1
+ {
2
+ "name": "FormEntryOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "FormEntryOrbital",
6
+ "entity": {
7
+ "name": "FormEntry",
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": "notes",
38
+ "type": "string",
39
+ "default": ""
40
+ },
41
+ {
42
+ "name": "age",
43
+ "type": "number",
44
+ "default": 0
45
+ },
46
+ {
47
+ "name": "isActive",
48
+ "type": "boolean",
49
+ "default": false
50
+ },
51
+ {
52
+ "name": "birthDate",
53
+ "type": "date",
54
+ "default": ""
55
+ },
56
+ {
57
+ "name": "priority",
58
+ "type": "string",
59
+ "default": "medium",
60
+ "values": [
61
+ "low",
62
+ "medium",
63
+ "high",
64
+ "critical"
65
+ ]
66
+ },
67
+ {
68
+ "name": "categoryId",
69
+ "type": "relation",
70
+ "default": "",
71
+ "relation": {
72
+ "entity": "FormEntry",
73
+ "cardinality": "many-to-one"
74
+ }
75
+ }
76
+ ]
77
+ },
78
+ "traits": [
79
+ {
80
+ "name": "FormEntryFormAdvanced",
81
+ "linkedEntity": "FormEntry",
82
+ "category": "interaction",
83
+ "stateMachine": {
84
+ "states": [
85
+ {
86
+ "name": "editing",
87
+ "isInitial": true
88
+ },
89
+ {
90
+ "name": "submitted"
91
+ }
92
+ ],
93
+ "events": [
94
+ {
95
+ "key": "INIT",
96
+ "name": "Initialize"
97
+ },
98
+ {
99
+ "key": "SUBMIT",
100
+ "name": "Submit",
101
+ "payload": [
102
+ {
103
+ "name": "data",
104
+ "type": "object",
105
+ "required": true
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "key": "RESET",
111
+ "name": "Reset"
112
+ }
113
+ ],
114
+ "transitions": [
115
+ {
116
+ "from": "editing",
117
+ "to": "editing",
118
+ "event": "INIT",
119
+ "effects": [
120
+ [
121
+ "fetch",
122
+ "FormEntry",
123
+ {
124
+ "include": [
125
+ "categoryId"
126
+ ]
127
+ }
128
+ ],
129
+ [
130
+ "fetch",
131
+ "FormEntry"
132
+ ],
133
+ [
134
+ "render-ui",
135
+ "main",
136
+ {
137
+ "type": "stack",
138
+ "direction": "vertical",
139
+ "gap": "lg",
140
+ "children": [
141
+ {
142
+ "type": "stack",
143
+ "direction": "horizontal",
144
+ "gap": "sm",
145
+ "align": "center",
146
+ "children": [
147
+ {
148
+ "type": "icon",
149
+ "name": "file-text",
150
+ "size": "lg"
151
+ },
152
+ {
153
+ "type": "typography",
154
+ "content": "FormEntry Form",
155
+ "variant": "h2"
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ "type": "divider"
161
+ },
162
+ {
163
+ "type": "form-section",
164
+ "entity": "FormEntry",
165
+ "mode": "create",
166
+ "submitEvent": "SUBMIT",
167
+ "cancelEvent": "INIT",
168
+ "fields": [
169
+ {
170
+ "name": "name",
171
+ "label": "Name"
172
+ },
173
+ {
174
+ "name": "description",
175
+ "label": "Description"
176
+ },
177
+ {
178
+ "name": "status",
179
+ "label": "Status",
180
+ "type": "enum",
181
+ "values": [
182
+ "active",
183
+ "inactive",
184
+ "pending"
185
+ ]
186
+ },
187
+ {
188
+ "name": "notes",
189
+ "label": "Notes",
190
+ "type": "textarea"
191
+ },
192
+ {
193
+ "name": "age",
194
+ "label": "Age",
195
+ "type": "number"
196
+ },
197
+ {
198
+ "name": "isActive",
199
+ "label": "Is Active",
200
+ "type": "boolean"
201
+ },
202
+ {
203
+ "name": "birthDate",
204
+ "label": "Birth Date",
205
+ "type": "date"
206
+ },
207
+ {
208
+ "name": "priority",
209
+ "label": "Priority",
210
+ "type": "enum",
211
+ "values": [
212
+ "low",
213
+ "medium",
214
+ "high",
215
+ "critical"
216
+ ]
217
+ },
218
+ {
219
+ "name": "categoryId",
220
+ "label": "Category ID",
221
+ "type": "relation",
222
+ "relation": {
223
+ "entity": "FormEntry",
224
+ "cardinality": "many-to-one"
225
+ }
226
+ }
227
+ ]
228
+ }
229
+ ]
230
+ }
231
+ ]
232
+ ]
233
+ },
234
+ {
235
+ "from": "editing",
236
+ "to": "submitted",
237
+ "event": "SUBMIT",
238
+ "effects": [
239
+ [
240
+ "persist",
241
+ "create",
242
+ "FormEntry",
243
+ "@payload.data"
244
+ ],
245
+ [
246
+ "render-ui",
247
+ "main",
248
+ {
249
+ "type": "stack",
250
+ "direction": "vertical",
251
+ "gap": "lg",
252
+ "align": "center",
253
+ "children": [
254
+ {
255
+ "type": "icon",
256
+ "name": "check-circle",
257
+ "size": "lg"
258
+ },
259
+ {
260
+ "type": "typography",
261
+ "content": "Form Submitted",
262
+ "variant": "h2"
263
+ },
264
+ {
265
+ "type": "alert",
266
+ "variant": "success",
267
+ "message": "Your form has been submitted successfully."
268
+ },
269
+ {
270
+ "type": "grid",
271
+ "columns": 2,
272
+ "gap": "md",
273
+ "children": [
274
+ {
275
+ "type": "stack",
276
+ "direction": "vertical",
277
+ "gap": "xs",
278
+ "children": [
279
+ {
280
+ "type": "typography",
281
+ "variant": "caption",
282
+ "color": "muted",
283
+ "content": "Name"
284
+ },
285
+ {
286
+ "type": "typography",
287
+ "variant": "body",
288
+ "content": [
289
+ "object/get",
290
+ [
291
+ "array/first",
292
+ "@entity"
293
+ ],
294
+ "name"
295
+ ]
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "type": "stack",
301
+ "direction": "vertical",
302
+ "gap": "xs",
303
+ "children": [
304
+ {
305
+ "type": "typography",
306
+ "variant": "caption",
307
+ "color": "muted",
308
+ "content": "Description"
309
+ },
310
+ {
311
+ "type": "typography",
312
+ "variant": "body",
313
+ "content": [
314
+ "object/get",
315
+ [
316
+ "array/first",
317
+ "@entity"
318
+ ],
319
+ "description"
320
+ ]
321
+ }
322
+ ]
323
+ },
324
+ {
325
+ "type": "stack",
326
+ "direction": "vertical",
327
+ "gap": "xs",
328
+ "children": [
329
+ {
330
+ "type": "typography",
331
+ "variant": "caption",
332
+ "color": "muted",
333
+ "content": "Status"
334
+ },
335
+ {
336
+ "type": "typography",
337
+ "variant": "body",
338
+ "content": [
339
+ "object/get",
340
+ [
341
+ "array/first",
342
+ "@entity"
343
+ ],
344
+ "status"
345
+ ]
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "type": "stack",
351
+ "direction": "vertical",
352
+ "gap": "xs",
353
+ "children": [
354
+ {
355
+ "type": "typography",
356
+ "variant": "caption",
357
+ "color": "muted",
358
+ "content": "Notes"
359
+ },
360
+ {
361
+ "type": "typography",
362
+ "variant": "body",
363
+ "content": [
364
+ "object/get",
365
+ [
366
+ "array/first",
367
+ "@entity"
368
+ ],
369
+ "notes"
370
+ ]
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "type": "stack",
376
+ "direction": "vertical",
377
+ "gap": "xs",
378
+ "children": [
379
+ {
380
+ "type": "typography",
381
+ "variant": "caption",
382
+ "color": "muted",
383
+ "content": "Age"
384
+ },
385
+ {
386
+ "type": "typography",
387
+ "variant": "body",
388
+ "content": [
389
+ "object/get",
390
+ [
391
+ "array/first",
392
+ "@entity"
393
+ ],
394
+ "age"
395
+ ]
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "type": "stack",
401
+ "direction": "vertical",
402
+ "gap": "xs",
403
+ "children": [
404
+ {
405
+ "type": "typography",
406
+ "variant": "caption",
407
+ "color": "muted",
408
+ "content": "Is Active"
409
+ },
410
+ {
411
+ "type": "typography",
412
+ "variant": "body",
413
+ "content": [
414
+ "object/get",
415
+ [
416
+ "array/first",
417
+ "@entity"
418
+ ],
419
+ "isActive"
420
+ ]
421
+ }
422
+ ]
423
+ },
424
+ {
425
+ "type": "stack",
426
+ "direction": "vertical",
427
+ "gap": "xs",
428
+ "children": [
429
+ {
430
+ "type": "typography",
431
+ "variant": "caption",
432
+ "color": "muted",
433
+ "content": "Birth Date"
434
+ },
435
+ {
436
+ "type": "typography",
437
+ "variant": "body",
438
+ "content": [
439
+ "object/get",
440
+ [
441
+ "array/first",
442
+ "@entity"
443
+ ],
444
+ "birthDate"
445
+ ]
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "type": "stack",
451
+ "direction": "vertical",
452
+ "gap": "xs",
453
+ "children": [
454
+ {
455
+ "type": "typography",
456
+ "variant": "caption",
457
+ "color": "muted",
458
+ "content": "Priority"
459
+ },
460
+ {
461
+ "type": "typography",
462
+ "variant": "body",
463
+ "content": [
464
+ "object/get",
465
+ [
466
+ "array/first",
467
+ "@entity"
468
+ ],
469
+ "priority"
470
+ ]
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "type": "stack",
476
+ "direction": "vertical",
477
+ "gap": "xs",
478
+ "children": [
479
+ {
480
+ "type": "typography",
481
+ "variant": "caption",
482
+ "color": "muted",
483
+ "content": "Category ID"
484
+ },
485
+ {
486
+ "type": "typography",
487
+ "variant": "body",
488
+ "content": [
489
+ "object/get",
490
+ [
491
+ "array/first",
492
+ "@entity"
493
+ ],
494
+ "categoryId"
495
+ ]
496
+ }
497
+ ]
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "type": "button",
503
+ "label": "New Entry",
504
+ "event": "RESET",
505
+ "variant": "primary",
506
+ "icon": "plus"
507
+ }
508
+ ]
509
+ }
510
+ ],
511
+ [
512
+ "notify",
513
+ "FormEntry created successfully"
514
+ ]
515
+ ]
516
+ },
517
+ {
518
+ "from": "submitted",
519
+ "to": "editing",
520
+ "event": "RESET",
521
+ "effects": [
522
+ [
523
+ "fetch",
524
+ "FormEntry",
525
+ {
526
+ "include": [
527
+ "categoryId"
528
+ ]
529
+ }
530
+ ],
531
+ [
532
+ "fetch",
533
+ "FormEntry"
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": "file-text",
552
+ "size": "lg"
553
+ },
554
+ {
555
+ "type": "typography",
556
+ "content": "FormEntry Form",
557
+ "variant": "h2"
558
+ }
559
+ ]
560
+ },
561
+ {
562
+ "type": "divider"
563
+ },
564
+ {
565
+ "type": "form-section",
566
+ "entity": "FormEntry",
567
+ "mode": "create",
568
+ "submitEvent": "SUBMIT",
569
+ "cancelEvent": "INIT",
570
+ "fields": [
571
+ {
572
+ "name": "name",
573
+ "label": "Name"
574
+ },
575
+ {
576
+ "name": "description",
577
+ "label": "Description"
578
+ },
579
+ {
580
+ "name": "status",
581
+ "label": "Status",
582
+ "type": "enum",
583
+ "values": [
584
+ "active",
585
+ "inactive",
586
+ "pending"
587
+ ]
588
+ },
589
+ {
590
+ "name": "notes",
591
+ "label": "Notes",
592
+ "type": "textarea"
593
+ },
594
+ {
595
+ "name": "age",
596
+ "label": "Age",
597
+ "type": "number"
598
+ },
599
+ {
600
+ "name": "isActive",
601
+ "label": "Is Active",
602
+ "type": "boolean"
603
+ },
604
+ {
605
+ "name": "birthDate",
606
+ "label": "Birth Date",
607
+ "type": "date"
608
+ },
609
+ {
610
+ "name": "priority",
611
+ "label": "Priority",
612
+ "type": "enum",
613
+ "values": [
614
+ "low",
615
+ "medium",
616
+ "high",
617
+ "critical"
618
+ ]
619
+ },
620
+ {
621
+ "name": "categoryId",
622
+ "label": "Category ID",
623
+ "type": "relation",
624
+ "relation": {
625
+ "entity": "FormEntry",
626
+ "cardinality": "many-to-one"
627
+ }
628
+ }
629
+ ]
630
+ }
631
+ ]
632
+ }
633
+ ]
634
+ ]
635
+ }
636
+ ]
637
+ }
638
+ }
639
+ ],
640
+ "pages": [
641
+ {
642
+ "name": "FormEntryFormPage",
643
+ "path": "/formentrys/form",
644
+ "traits": [
645
+ {
646
+ "ref": "FormEntryFormAdvanced"
647
+ }
648
+ ]
649
+ }
650
+ ]
651
+ }
652
+ ],
653
+ "description": "Advanced form molecule with relation-select for linked entity fields. Absorbs: relation-select."
654
+ }