@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.
- package/behaviors/exports/atoms/std-async.orb +41 -24
- package/behaviors/exports/atoms/std-browse.orb +44 -44
- package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
- package/behaviors/exports/atoms/std-calendar.orb +770 -0
- package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
- package/behaviors/exports/atoms/std-collision.orb +278 -206
- package/behaviors/exports/atoms/std-combat-log.orb +6 -1
- package/behaviors/exports/atoms/std-combat.orb +6 -1
- package/behaviors/exports/atoms/std-confirmation.orb +212 -7
- package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
- package/behaviors/exports/atoms/std-display.orb +1186 -376
- package/behaviors/exports/atoms/std-drawer.orb +307 -101
- package/behaviors/exports/atoms/std-filter.orb +211 -18
- package/behaviors/exports/atoms/std-flip-card.orb +596 -0
- package/behaviors/exports/atoms/std-gallery.orb +382 -0
- package/behaviors/exports/atoms/std-game-audio.orb +6 -1
- package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
- package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
- package/behaviors/exports/atoms/std-game-hud.orb +6 -1
- package/behaviors/exports/atoms/std-game-menu.orb +6 -1
- package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
- package/behaviors/exports/atoms/std-gameflow.orb +100 -5
- package/behaviors/exports/atoms/std-input.orb +142 -137
- package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
- package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
- package/behaviors/exports/atoms/std-loading.orb +149 -170
- package/behaviors/exports/atoms/std-modal.orb +159 -94
- package/behaviors/exports/atoms/std-movement.orb +401 -31
- package/behaviors/exports/atoms/std-notification.orb +117 -95
- package/behaviors/exports/atoms/std-overworld.orb +44 -16
- package/behaviors/exports/atoms/std-pagination.orb +44 -115
- package/behaviors/exports/atoms/std-physics2d.orb +6 -1
- package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
- package/behaviors/exports/atoms/std-quest.orb +309 -34
- package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
- package/behaviors/exports/atoms/std-rating.orb +328 -0
- package/behaviors/exports/atoms/std-score-board.orb +6 -1
- package/behaviors/exports/atoms/std-score.orb +252 -11
- package/behaviors/exports/atoms/std-search.orb +62 -47
- package/behaviors/exports/atoms/std-selection.orb +180 -149
- package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
- package/behaviors/exports/atoms/std-sort.orb +192 -60
- package/behaviors/exports/atoms/std-sprite.orb +6 -1
- package/behaviors/exports/atoms/std-tabs.orb +25 -15
- package/behaviors/exports/atoms/std-text-effects.orb +658 -0
- package/behaviors/exports/atoms/std-theme.orb +573 -0
- package/behaviors/exports/atoms/std-timer.orb +483 -91
- package/behaviors/exports/atoms/std-undo.orb +211 -81
- package/behaviors/exports/atoms/std-upload.orb +535 -0
- package/behaviors/exports/atoms/std-wizard.orb +677 -240
- package/behaviors/exports/molecules/std-builder-game.orb +49 -4
- package/behaviors/exports/molecules/std-cart.orb +325 -102
- package/behaviors/exports/molecules/std-classifier-game.orb +49 -4
- package/behaviors/exports/molecules/std-debugger-game.orb +49 -4
- package/behaviors/exports/molecules/std-detail.orb +52 -48
- package/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
- package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
- package/behaviors/exports/molecules/std-geospatial.orb +70 -51
- package/behaviors/exports/molecules/std-inventory.orb +92 -53
- package/behaviors/exports/molecules/std-list.orb +416 -52
- package/behaviors/exports/molecules/std-messaging.orb +41 -49
- package/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
- package/behaviors/exports/molecules/std-platformer-game.orb +58 -3
- package/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
- package/behaviors/exports/molecules/std-quiz.orb +1045 -0
- package/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
- package/behaviors/exports/molecules/std-simulator-game.orb +49 -4
- package/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
- package/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
- package/behaviors/exports/organisms/std-arcade-game.orb +399 -197
- package/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
- package/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
- package/behaviors/exports/organisms/std-cms.orb +1150 -277
- package/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
- package/behaviors/exports/organisms/std-crm.orb +2357 -821
- package/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
- package/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
- package/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
- package/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
- package/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
- package/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
- package/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
- package/behaviors/exports/organisms/std-lms.orb +2548 -1192
- package/behaviors/exports/organisms/std-logic-training.orb +220 -66
- package/behaviors/exports/organisms/std-platformer-app.orb +373 -194
- package/behaviors/exports/organisms/std-project-manager.orb +2347 -806
- package/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
- package/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
- package/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
- package/behaviors/exports/organisms/std-social-feed.orb +184 -168
- package/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
- package/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
- package/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
- package/behaviors/exports/validation-report.json +3 -750
- package/behaviors/exports/verify-results.json +13 -0
- package/dist/behaviors/exports/atoms/std-async.orb +41 -24
- package/dist/behaviors/exports/atoms/std-browse.orb +44 -44
- package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
- package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
- package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
- package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
- package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
- package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
- package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
- package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
- package/dist/behaviors/exports/atoms/std-display.orb +1186 -376
- package/dist/behaviors/exports/atoms/std-drawer.orb +307 -101
- package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
- package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
- package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
- package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
- package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
- package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
- package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
- package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
- package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
- package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
- package/dist/behaviors/exports/atoms/std-input.orb +142 -137
- package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
- package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
- package/dist/behaviors/exports/atoms/std-loading.orb +149 -170
- package/dist/behaviors/exports/atoms/std-modal.orb +159 -94
- package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
- package/dist/behaviors/exports/atoms/std-notification.orb +117 -95
- package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
- package/dist/behaviors/exports/atoms/std-pagination.orb +44 -115
- package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
- package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
- package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
- package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
- package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
- package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
- package/dist/behaviors/exports/atoms/std-score.orb +252 -11
- package/dist/behaviors/exports/atoms/std-search.orb +62 -47
- package/dist/behaviors/exports/atoms/std-selection.orb +180 -149
- package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
- package/dist/behaviors/exports/atoms/std-sort.orb +192 -60
- package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
- package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
- package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
- package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
- package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
- package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
- package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
- package/dist/behaviors/exports/atoms/std-wizard.orb +677 -240
- package/dist/behaviors/exports/molecules/std-builder-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-cart.orb +325 -102
- package/dist/behaviors/exports/molecules/std-classifier-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-debugger-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-detail.orb +52 -48
- package/dist/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
- package/dist/behaviors/exports/molecules/std-geospatial.orb +70 -51
- package/dist/behaviors/exports/molecules/std-inventory.orb +92 -53
- package/dist/behaviors/exports/molecules/std-list.orb +416 -52
- package/dist/behaviors/exports/molecules/std-messaging.orb +41 -49
- package/dist/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-platformer-game.orb +58 -3
- package/dist/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
- package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
- package/dist/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-simulator-game.orb +49 -4
- package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
- package/dist/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
- package/dist/behaviors/exports/organisms/std-arcade-game.orb +399 -197
- package/dist/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
- package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
- package/dist/behaviors/exports/organisms/std-cms.orb +1150 -277
- package/dist/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
- package/dist/behaviors/exports/organisms/std-crm.orb +2357 -821
- package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
- package/dist/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
- package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
- package/dist/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
- package/dist/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
- package/dist/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
- package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
- package/dist/behaviors/exports/organisms/std-lms.orb +2548 -1192
- package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
- package/dist/behaviors/exports/organisms/std-platformer-app.orb +373 -194
- package/dist/behaviors/exports/organisms/std-project-manager.orb +2347 -806
- package/dist/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
- package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
- package/dist/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
- package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -168
- package/dist/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
- package/dist/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
- package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
- package/dist/behaviors/exports/validation-report.json +3 -750
- package/dist/behaviors/exports/verify-results.json +13 -0
- package/dist/behaviors/functions/index.d.ts +270 -1
- package/dist/behaviors/functions/index.js +3811 -1333
- package/dist/behaviors/functions/index.js.map +1 -1
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3811 -1333
- package/dist/behaviors/index.js.map +1 -1
- package/dist/exports/atoms/std-async.orb +41 -24
- package/dist/exports/atoms/std-browse.orb +44 -44
- package/dist/exports/atoms/std-cache-aside.orb +256 -42
- package/dist/exports/atoms/std-calendar.orb +770 -0
- package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
- package/dist/exports/atoms/std-collision.orb +278 -206
- package/dist/exports/atoms/std-combat-log.orb +6 -1
- package/dist/exports/atoms/std-combat.orb +6 -1
- package/dist/exports/atoms/std-confirmation.orb +212 -7
- package/dist/exports/atoms/std-dialogue-box.orb +6 -1
- package/dist/exports/atoms/std-display.orb +1186 -376
- package/dist/exports/atoms/std-drawer.orb +307 -101
- package/dist/exports/atoms/std-filter.orb +211 -18
- package/dist/exports/atoms/std-flip-card.orb +596 -0
- package/dist/exports/atoms/std-gallery.orb +382 -0
- package/dist/exports/atoms/std-game-audio.orb +6 -1
- package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
- package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
- package/dist/exports/atoms/std-game-hud.orb +6 -1
- package/dist/exports/atoms/std-game-menu.orb +6 -1
- package/dist/exports/atoms/std-game-over-screen.orb +6 -1
- package/dist/exports/atoms/std-gameflow.orb +100 -5
- package/dist/exports/atoms/std-input.orb +142 -137
- package/dist/exports/atoms/std-inventory-panel.orb +6 -1
- package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
- package/dist/exports/atoms/std-loading.orb +149 -170
- package/dist/exports/atoms/std-modal.orb +159 -94
- package/dist/exports/atoms/std-movement.orb +401 -31
- package/dist/exports/atoms/std-notification.orb +117 -95
- package/dist/exports/atoms/std-overworld.orb +44 -16
- package/dist/exports/atoms/std-pagination.orb +44 -115
- package/dist/exports/atoms/std-physics2d.orb +6 -1
- package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
- package/dist/exports/atoms/std-quest.orb +309 -34
- package/dist/exports/atoms/std-rate-limiter.orb +410 -157
- package/dist/exports/atoms/std-rating.orb +328 -0
- package/dist/exports/atoms/std-score-board.orb +6 -1
- package/dist/exports/atoms/std-score.orb +252 -11
- package/dist/exports/atoms/std-search.orb +62 -47
- package/dist/exports/atoms/std-selection.orb +180 -149
- package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
- package/dist/exports/atoms/std-sort.orb +192 -60
- package/dist/exports/atoms/std-sprite.orb +6 -1
- package/dist/exports/atoms/std-tabs.orb +25 -15
- package/dist/exports/atoms/std-text-effects.orb +658 -0
- package/dist/exports/atoms/std-theme.orb +573 -0
- package/dist/exports/atoms/std-timer.orb +483 -91
- package/dist/exports/atoms/std-undo.orb +211 -81
- package/dist/exports/atoms/std-upload.orb +535 -0
- package/dist/exports/atoms/std-wizard.orb +677 -240
- package/dist/exports/molecules/std-builder-game.orb +49 -4
- package/dist/exports/molecules/std-cart.orb +325 -102
- package/dist/exports/molecules/std-classifier-game.orb +49 -4
- package/dist/exports/molecules/std-debugger-game.orb +49 -4
- package/dist/exports/molecules/std-detail.orb +52 -48
- package/dist/exports/molecules/std-event-handler-game.orb +49 -4
- package/dist/exports/molecules/std-form-advanced.orb +654 -0
- package/dist/exports/molecules/std-geospatial.orb +70 -51
- package/dist/exports/molecules/std-inventory.orb +92 -53
- package/dist/exports/molecules/std-list.orb +416 -52
- package/dist/exports/molecules/std-messaging.orb +41 -49
- package/dist/exports/molecules/std-negotiator-game.orb +49 -4
- package/dist/exports/molecules/std-platformer-game.orb +58 -3
- package/dist/exports/molecules/std-puzzle-game.orb +58 -7
- package/dist/exports/molecules/std-quiz.orb +1045 -0
- package/dist/exports/molecules/std-sequencer-game.orb +49 -4
- package/dist/exports/molecules/std-simulator-game.orb +49 -4
- package/dist/exports/molecules/std-turn-based-battle.orb +66 -1
- package/dist/exports/organisms/std-api-gateway.orb +2615 -867
- package/dist/exports/organisms/std-arcade-game.orb +399 -197
- package/dist/exports/organisms/std-booking-system.orb +3154 -1305
- package/dist/exports/organisms/std-cicd-pipeline.orb +2298 -779
- package/dist/exports/organisms/std-cms.orb +1150 -277
- package/dist/exports/organisms/std-coding-academy.orb +1222 -533
- package/dist/exports/organisms/std-crm.orb +2357 -821
- package/dist/exports/organisms/std-devops-dashboard.orb +4230 -1281
- package/dist/exports/organisms/std-ecommerce.orb +2660 -1098
- package/dist/exports/organisms/std-finance-tracker.orb +1749 -737
- package/dist/exports/organisms/std-healthcare.orb +3593 -1478
- package/dist/exports/organisms/std-helpdesk.orb +1870 -738
- package/dist/exports/organisms/std-hr-portal.orb +3290 -1385
- package/dist/exports/organisms/std-iot-dashboard.orb +2704 -788
- package/dist/exports/organisms/std-lms.orb +2548 -1192
- package/dist/exports/organisms/std-logic-training.orb +220 -66
- package/dist/exports/organisms/std-platformer-app.orb +373 -194
- package/dist/exports/organisms/std-project-manager.orb +2347 -806
- package/dist/exports/organisms/std-puzzle-app.orb +240 -95
- package/dist/exports/organisms/std-realtime-chat.orb +2020 -660
- package/dist/exports/organisms/std-rpg-game.orb +1303 -740
- package/dist/exports/organisms/std-social-feed.orb +184 -168
- package/dist/exports/organisms/std-stem-lab.orb +1223 -512
- package/dist/exports/organisms/std-strategy-game.orb +1412 -731
- package/dist/exports/organisms/std-trading-dashboard.orb +1869 -695
- package/dist/exports/validation-report.json +3 -750
- package/dist/exports/verify-results.json +13 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3808 -1330
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,11 +22,36 @@
|
|
|
22
22
|
{
|
|
23
23
|
"name": "status",
|
|
24
24
|
"type": "string",
|
|
25
|
-
"default": "active"
|
|
25
|
+
"default": "active",
|
|
26
|
+
"values": [
|
|
27
|
+
"active",
|
|
28
|
+
"inactive",
|
|
29
|
+
"pending"
|
|
30
|
+
]
|
|
26
31
|
},
|
|
27
32
|
{
|
|
28
33
|
"name": "createdAt",
|
|
29
34
|
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "score",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"default": 0
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "level",
|
|
43
|
+
"type": "number",
|
|
44
|
+
"default": 1
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"instances": [
|
|
48
|
+
{
|
|
49
|
+
"id": "game-1",
|
|
50
|
+
"name": "Builder Session",
|
|
51
|
+
"description": "Active game session",
|
|
52
|
+
"status": "active",
|
|
53
|
+
"score": 0,
|
|
54
|
+
"level": 1
|
|
30
55
|
}
|
|
31
56
|
]
|
|
32
57
|
},
|
|
@@ -106,9 +131,29 @@
|
|
|
106
131
|
"render-ui",
|
|
107
132
|
"main",
|
|
108
133
|
{
|
|
109
|
-
"type": "
|
|
110
|
-
"
|
|
111
|
-
"
|
|
134
|
+
"type": "stack",
|
|
135
|
+
"direction": "vertical",
|
|
136
|
+
"gap": "md",
|
|
137
|
+
"children": [
|
|
138
|
+
{
|
|
139
|
+
"type": "game-hud",
|
|
140
|
+
"stats": [
|
|
141
|
+
{
|
|
142
|
+
"label": "Score",
|
|
143
|
+
"value": "@entity.score"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"label": "Level",
|
|
147
|
+
"value": "@entity.level"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "builder-board",
|
|
153
|
+
"entity": "BuilderGame",
|
|
154
|
+
"completeEvent": "COMPLETE"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
112
157
|
}
|
|
113
158
|
]
|
|
114
159
|
]
|
|
@@ -23,11 +23,21 @@
|
|
|
23
23
|
{
|
|
24
24
|
"name": "status",
|
|
25
25
|
"type": "string",
|
|
26
|
-
"default": "active"
|
|
26
|
+
"default": "active",
|
|
27
|
+
"values": [
|
|
28
|
+
"active",
|
|
29
|
+
"inactive",
|
|
30
|
+
"pending"
|
|
31
|
+
]
|
|
27
32
|
},
|
|
28
33
|
{
|
|
29
34
|
"name": "createdAt",
|
|
30
35
|
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "pendingId",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"default": ""
|
|
31
41
|
}
|
|
32
42
|
]
|
|
33
43
|
},
|
|
@@ -36,6 +46,12 @@
|
|
|
36
46
|
"name": "CartItemCartBrowse",
|
|
37
47
|
"linkedEntity": "CartItem",
|
|
38
48
|
"category": "interaction",
|
|
49
|
+
"listens": [
|
|
50
|
+
{
|
|
51
|
+
"event": "CONFIRM_REMOVE",
|
|
52
|
+
"triggers": "CONFIRM_REMOVE"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
39
55
|
"stateMachine": {
|
|
40
56
|
"states": [
|
|
41
57
|
{
|
|
@@ -67,8 +83,8 @@
|
|
|
67
83
|
]
|
|
68
84
|
},
|
|
69
85
|
{
|
|
70
|
-
"key": "
|
|
71
|
-
"name": "Remove
|
|
86
|
+
"key": "REQUEST_REMOVE",
|
|
87
|
+
"name": "Request Remove",
|
|
72
88
|
"payload": [
|
|
73
89
|
{
|
|
74
90
|
"name": "id",
|
|
@@ -77,6 +93,17 @@
|
|
|
77
93
|
}
|
|
78
94
|
]
|
|
79
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"key": "CONFIRM_REMOVE",
|
|
98
|
+
"name": "Confirm Remove",
|
|
99
|
+
"payload": [
|
|
100
|
+
{
|
|
101
|
+
"name": "data",
|
|
102
|
+
"type": "object",
|
|
103
|
+
"required": true
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
80
107
|
{
|
|
81
108
|
"key": "PROCEED_CHECKOUT",
|
|
82
109
|
"name": "Proceed to Checkout"
|
|
@@ -143,6 +170,42 @@
|
|
|
143
170
|
{
|
|
144
171
|
"type": "divider"
|
|
145
172
|
},
|
|
173
|
+
{
|
|
174
|
+
"type": "simple-grid",
|
|
175
|
+
"columns": 3,
|
|
176
|
+
"children": [
|
|
177
|
+
{
|
|
178
|
+
"type": "stat-display",
|
|
179
|
+
"label": "Items",
|
|
180
|
+
"value": [
|
|
181
|
+
"array/len",
|
|
182
|
+
"@entity"
|
|
183
|
+
],
|
|
184
|
+
"icon": "package"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "stat-display",
|
|
188
|
+
"label": "Subtotal",
|
|
189
|
+
"value": [
|
|
190
|
+
"array/len",
|
|
191
|
+
"@entity"
|
|
192
|
+
],
|
|
193
|
+
"icon": "dollar-sign"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "stat-display",
|
|
197
|
+
"label": "Total",
|
|
198
|
+
"value": [
|
|
199
|
+
"array/len",
|
|
200
|
+
"@entity"
|
|
201
|
+
],
|
|
202
|
+
"icon": "receipt"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "divider"
|
|
208
|
+
},
|
|
146
209
|
{
|
|
147
210
|
"type": "data-grid",
|
|
148
211
|
"entity": "CartItem",
|
|
@@ -152,52 +215,28 @@
|
|
|
152
215
|
"itemActions": [
|
|
153
216
|
{
|
|
154
217
|
"label": "Remove",
|
|
155
|
-
"event": "
|
|
156
|
-
"variant": "danger"
|
|
218
|
+
"event": "REQUEST_REMOVE",
|
|
219
|
+
"variant": "danger",
|
|
220
|
+
"size": "sm"
|
|
157
221
|
}
|
|
158
222
|
],
|
|
159
|
-
"
|
|
223
|
+
"columns": [
|
|
160
224
|
{
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"children": [
|
|
177
|
-
{
|
|
178
|
-
"type": "icon",
|
|
179
|
-
"name": "shopping-cart",
|
|
180
|
-
"size": "sm"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"type": "typography",
|
|
184
|
-
"variant": "h4",
|
|
185
|
-
"content": "@entity.name"
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"type": "badge",
|
|
191
|
-
"label": "@entity.description"
|
|
192
|
-
}
|
|
193
|
-
]
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"type": "typography",
|
|
197
|
-
"variant": "caption",
|
|
198
|
-
"content": "@entity.status"
|
|
199
|
-
}
|
|
200
|
-
]
|
|
225
|
+
"name": "name",
|
|
226
|
+
"label": "Name",
|
|
227
|
+
"variant": "h4",
|
|
228
|
+
"icon": "shopping-cart"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "description",
|
|
232
|
+
"label": "Description",
|
|
233
|
+
"variant": "caption",
|
|
234
|
+
"format": "currency"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "status",
|
|
238
|
+
"label": "Status",
|
|
239
|
+
"variant": "badge"
|
|
201
240
|
}
|
|
202
241
|
]
|
|
203
242
|
},
|
|
@@ -227,21 +266,11 @@
|
|
|
227
266
|
{
|
|
228
267
|
"from": "browsing",
|
|
229
268
|
"to": "browsing",
|
|
230
|
-
"event": "
|
|
269
|
+
"event": "CONFIRM_REMOVE",
|
|
231
270
|
"effects": [
|
|
232
|
-
[
|
|
233
|
-
"persist",
|
|
234
|
-
"delete",
|
|
235
|
-
"CartItem",
|
|
236
|
-
"@payload.id"
|
|
237
|
-
],
|
|
238
271
|
[
|
|
239
272
|
"fetch",
|
|
240
273
|
"CartItem"
|
|
241
|
-
],
|
|
242
|
-
[
|
|
243
|
-
"notify",
|
|
244
|
-
"CartItem deleted successfully"
|
|
245
274
|
]
|
|
246
275
|
]
|
|
247
276
|
},
|
|
@@ -291,52 +320,28 @@
|
|
|
291
320
|
"itemActions": [
|
|
292
321
|
{
|
|
293
322
|
"label": "Remove",
|
|
294
|
-
"event": "
|
|
295
|
-
"variant": "danger"
|
|
323
|
+
"event": "REQUEST_REMOVE",
|
|
324
|
+
"variant": "danger",
|
|
325
|
+
"size": "sm"
|
|
296
326
|
}
|
|
297
327
|
],
|
|
298
|
-
"
|
|
328
|
+
"columns": [
|
|
299
329
|
{
|
|
300
|
-
"
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"children": [
|
|
316
|
-
{
|
|
317
|
-
"type": "icon",
|
|
318
|
-
"name": "shopping-cart",
|
|
319
|
-
"size": "sm"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"type": "typography",
|
|
323
|
-
"variant": "h4",
|
|
324
|
-
"content": "@entity.name"
|
|
325
|
-
}
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"type": "badge",
|
|
330
|
-
"label": "@entity.description"
|
|
331
|
-
}
|
|
332
|
-
]
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"type": "typography",
|
|
336
|
-
"variant": "caption",
|
|
337
|
-
"content": "@entity.status"
|
|
338
|
-
}
|
|
339
|
-
]
|
|
330
|
+
"name": "name",
|
|
331
|
+
"label": "Name",
|
|
332
|
+
"variant": "h4",
|
|
333
|
+
"icon": "shopping-cart"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "description",
|
|
337
|
+
"label": "Description",
|
|
338
|
+
"variant": "caption",
|
|
339
|
+
"format": "currency"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "status",
|
|
343
|
+
"label": "Status",
|
|
344
|
+
"variant": "badge"
|
|
340
345
|
}
|
|
341
346
|
]
|
|
342
347
|
},
|
|
@@ -522,8 +527,7 @@
|
|
|
522
527
|
"fields": [
|
|
523
528
|
"name",
|
|
524
529
|
"description",
|
|
525
|
-
"status"
|
|
526
|
-
"createdAt"
|
|
530
|
+
"status"
|
|
527
531
|
]
|
|
528
532
|
}
|
|
529
533
|
]
|
|
@@ -540,6 +544,11 @@
|
|
|
540
544
|
"render-ui",
|
|
541
545
|
"modal",
|
|
542
546
|
null
|
|
547
|
+
],
|
|
548
|
+
[
|
|
549
|
+
"notify",
|
|
550
|
+
"Cancelled",
|
|
551
|
+
"info"
|
|
543
552
|
]
|
|
544
553
|
]
|
|
545
554
|
},
|
|
@@ -571,6 +580,217 @@
|
|
|
571
580
|
}
|
|
572
581
|
]
|
|
573
582
|
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"name": "CartItemRemoveConfirm",
|
|
586
|
+
"linkedEntity": "CartItem",
|
|
587
|
+
"category": "interaction",
|
|
588
|
+
"emits": [
|
|
589
|
+
{
|
|
590
|
+
"event": "CONFIRM_REMOVE"
|
|
591
|
+
}
|
|
592
|
+
],
|
|
593
|
+
"stateMachine": {
|
|
594
|
+
"states": [
|
|
595
|
+
{
|
|
596
|
+
"name": "idle",
|
|
597
|
+
"isInitial": true
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "confirming"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"events": [
|
|
604
|
+
{
|
|
605
|
+
"key": "INIT",
|
|
606
|
+
"name": "Initialize"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"key": "REQUEST_REMOVE",
|
|
610
|
+
"name": "Request Confirmation",
|
|
611
|
+
"payload": [
|
|
612
|
+
{
|
|
613
|
+
"name": "id",
|
|
614
|
+
"type": "string",
|
|
615
|
+
"required": true
|
|
616
|
+
}
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"key": "CONFIRM_REMOVE",
|
|
621
|
+
"name": "Confirm",
|
|
622
|
+
"payload": [
|
|
623
|
+
{
|
|
624
|
+
"name": "id",
|
|
625
|
+
"type": "string",
|
|
626
|
+
"required": true
|
|
627
|
+
}
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"key": "CANCEL",
|
|
632
|
+
"name": "Cancel"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"key": "CLOSE",
|
|
636
|
+
"name": "Close"
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"transitions": [
|
|
640
|
+
{
|
|
641
|
+
"from": "idle",
|
|
642
|
+
"to": "idle",
|
|
643
|
+
"event": "INIT",
|
|
644
|
+
"effects": [
|
|
645
|
+
[
|
|
646
|
+
"fetch",
|
|
647
|
+
"CartItem"
|
|
648
|
+
]
|
|
649
|
+
]
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"from": "idle",
|
|
653
|
+
"to": "confirming",
|
|
654
|
+
"event": "REQUEST_REMOVE",
|
|
655
|
+
"effects": [
|
|
656
|
+
[
|
|
657
|
+
"set",
|
|
658
|
+
"@entity.pendingId",
|
|
659
|
+
"@payload.id"
|
|
660
|
+
],
|
|
661
|
+
[
|
|
662
|
+
"fetch",
|
|
663
|
+
"CartItem",
|
|
664
|
+
"@payload.id"
|
|
665
|
+
],
|
|
666
|
+
[
|
|
667
|
+
"render-ui",
|
|
668
|
+
"modal",
|
|
669
|
+
{
|
|
670
|
+
"type": "stack",
|
|
671
|
+
"direction": "vertical",
|
|
672
|
+
"gap": "md",
|
|
673
|
+
"children": [
|
|
674
|
+
{
|
|
675
|
+
"type": "stack",
|
|
676
|
+
"direction": "horizontal",
|
|
677
|
+
"gap": "sm",
|
|
678
|
+
"align": "center",
|
|
679
|
+
"children": [
|
|
680
|
+
{
|
|
681
|
+
"type": "icon",
|
|
682
|
+
"name": "alert-triangle",
|
|
683
|
+
"size": "md"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"type": "typography",
|
|
687
|
+
"content": "Remove Item",
|
|
688
|
+
"variant": "h3"
|
|
689
|
+
}
|
|
690
|
+
]
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"type": "divider"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"type": "alert",
|
|
697
|
+
"variant": "danger",
|
|
698
|
+
"message": "Are you sure you want to remove this item from your cart?"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"type": "stack",
|
|
702
|
+
"direction": "horizontal",
|
|
703
|
+
"gap": "sm",
|
|
704
|
+
"justify": "end",
|
|
705
|
+
"children": [
|
|
706
|
+
{
|
|
707
|
+
"type": "button",
|
|
708
|
+
"label": "Cancel",
|
|
709
|
+
"event": "CANCEL",
|
|
710
|
+
"variant": "ghost"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"type": "button",
|
|
714
|
+
"label": "Remove",
|
|
715
|
+
"event": "CONFIRM_REMOVE",
|
|
716
|
+
"variant": "danger",
|
|
717
|
+
"icon": "check"
|
|
718
|
+
}
|
|
719
|
+
]
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"from": "confirming",
|
|
728
|
+
"to": "idle",
|
|
729
|
+
"event": "CONFIRM_REMOVE",
|
|
730
|
+
"effects": [
|
|
731
|
+
[
|
|
732
|
+
"persist",
|
|
733
|
+
"delete",
|
|
734
|
+
"CartItem",
|
|
735
|
+
"@payload.id"
|
|
736
|
+
],
|
|
737
|
+
[
|
|
738
|
+
"fetch",
|
|
739
|
+
"CartItem"
|
|
740
|
+
],
|
|
741
|
+
[
|
|
742
|
+
"render-ui",
|
|
743
|
+
"modal",
|
|
744
|
+
null
|
|
745
|
+
],
|
|
746
|
+
[
|
|
747
|
+
"fetch",
|
|
748
|
+
"CartItem"
|
|
749
|
+
],
|
|
750
|
+
[
|
|
751
|
+
"emit",
|
|
752
|
+
"CONFIRM_REMOVE"
|
|
753
|
+
],
|
|
754
|
+
[
|
|
755
|
+
"notify",
|
|
756
|
+
"CartItem deleted successfully"
|
|
757
|
+
]
|
|
758
|
+
]
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"from": "confirming",
|
|
762
|
+
"to": "idle",
|
|
763
|
+
"event": "CANCEL",
|
|
764
|
+
"effects": [
|
|
765
|
+
[
|
|
766
|
+
"render-ui",
|
|
767
|
+
"modal",
|
|
768
|
+
null
|
|
769
|
+
],
|
|
770
|
+
[
|
|
771
|
+
"fetch",
|
|
772
|
+
"CartItem"
|
|
773
|
+
]
|
|
774
|
+
]
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"from": "confirming",
|
|
778
|
+
"to": "idle",
|
|
779
|
+
"event": "CLOSE",
|
|
780
|
+
"effects": [
|
|
781
|
+
[
|
|
782
|
+
"render-ui",
|
|
783
|
+
"modal",
|
|
784
|
+
null
|
|
785
|
+
],
|
|
786
|
+
[
|
|
787
|
+
"fetch",
|
|
788
|
+
"CartItem"
|
|
789
|
+
]
|
|
790
|
+
]
|
|
791
|
+
}
|
|
792
|
+
]
|
|
793
|
+
}
|
|
574
794
|
}
|
|
575
795
|
],
|
|
576
796
|
"pages": [
|
|
@@ -583,6 +803,9 @@
|
|
|
583
803
|
},
|
|
584
804
|
{
|
|
585
805
|
"ref": "CartItemAddItem"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"ref": "CartItemRemoveConfirm"
|
|
586
809
|
}
|
|
587
810
|
]
|
|
588
811
|
}
|
|
@@ -22,11 +22,36 @@
|
|
|
22
22
|
{
|
|
23
23
|
"name": "status",
|
|
24
24
|
"type": "string",
|
|
25
|
-
"default": "active"
|
|
25
|
+
"default": "active",
|
|
26
|
+
"values": [
|
|
27
|
+
"active",
|
|
28
|
+
"inactive",
|
|
29
|
+
"pending"
|
|
30
|
+
]
|
|
26
31
|
},
|
|
27
32
|
{
|
|
28
33
|
"name": "createdAt",
|
|
29
34
|
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "score",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"default": 0
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "level",
|
|
43
|
+
"type": "number",
|
|
44
|
+
"default": 1
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"instances": [
|
|
48
|
+
{
|
|
49
|
+
"id": "game-1",
|
|
50
|
+
"name": "Classifier Session",
|
|
51
|
+
"description": "Active game session",
|
|
52
|
+
"status": "active",
|
|
53
|
+
"score": 0,
|
|
54
|
+
"level": 1
|
|
30
55
|
}
|
|
31
56
|
]
|
|
32
57
|
},
|
|
@@ -106,9 +131,29 @@
|
|
|
106
131
|
"render-ui",
|
|
107
132
|
"main",
|
|
108
133
|
{
|
|
109
|
-
"type": "
|
|
110
|
-
"
|
|
111
|
-
"
|
|
134
|
+
"type": "stack",
|
|
135
|
+
"direction": "vertical",
|
|
136
|
+
"gap": "md",
|
|
137
|
+
"children": [
|
|
138
|
+
{
|
|
139
|
+
"type": "game-hud",
|
|
140
|
+
"stats": [
|
|
141
|
+
{
|
|
142
|
+
"label": "Score",
|
|
143
|
+
"value": "@entity.score"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"label": "Level",
|
|
147
|
+
"value": "@entity.level"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "classifier-board",
|
|
153
|
+
"entity": "ClassifierGame",
|
|
154
|
+
"completeEvent": "COMPLETE"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
112
157
|
}
|
|
113
158
|
]
|
|
114
159
|
]
|