@almadar/std 6.5.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -40,8 +40,48 @@
|
|
|
40
40
|
"traits": [
|
|
41
41
|
{
|
|
42
42
|
"name": "SelectableItemSelection",
|
|
43
|
-
"linkedEntity": "SelectableItem",
|
|
44
43
|
"category": "interaction",
|
|
44
|
+
"linkedEntity": "SelectableItem",
|
|
45
|
+
"emits": [
|
|
46
|
+
{
|
|
47
|
+
"event": "SelectableItemLoaded",
|
|
48
|
+
"description": "Fired when SelectableItem finishes loading",
|
|
49
|
+
"scope": "internal",
|
|
50
|
+
"payload": [
|
|
51
|
+
{
|
|
52
|
+
"name": "id",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "name",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "description",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "status",
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "createdAt",
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"event": "SelectableItemLoadFailed",
|
|
75
|
+
"description": "Fired when SelectableItem fails to load",
|
|
76
|
+
"scope": "internal",
|
|
77
|
+
"payload": [
|
|
78
|
+
{
|
|
79
|
+
"name": "message",
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
],
|
|
45
85
|
"stateMachine": {
|
|
46
86
|
"states": [
|
|
47
87
|
{
|
|
@@ -89,6 +129,20 @@
|
|
|
89
129
|
"required": true
|
|
90
130
|
}
|
|
91
131
|
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"key": "SelectableItemLoaded",
|
|
135
|
+
"name": "SelectableItem loaded"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "SelectableItemLoadFailed",
|
|
139
|
+
"name": "SelectableItem load failed",
|
|
140
|
+
"payload": [
|
|
141
|
+
{
|
|
142
|
+
"name": "message",
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
92
146
|
}
|
|
93
147
|
],
|
|
94
148
|
"transitions": [
|
|
@@ -99,7 +153,13 @@
|
|
|
99
153
|
"effects": [
|
|
100
154
|
[
|
|
101
155
|
"fetch",
|
|
102
|
-
"SelectableItem"
|
|
156
|
+
"SelectableItem",
|
|
157
|
+
{
|
|
158
|
+
"emit": {
|
|
159
|
+
"success": "SelectableItemLoaded",
|
|
160
|
+
"failure": "SelectableItemLoadFailed"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
103
163
|
],
|
|
104
164
|
[
|
|
105
165
|
"render-ui",
|
|
@@ -110,22 +170,22 @@
|
|
|
110
170
|
"gap": "lg",
|
|
111
171
|
"children": [
|
|
112
172
|
{
|
|
113
|
-
"type": "stack",
|
|
114
|
-
"direction": "horizontal",
|
|
115
173
|
"gap": "sm",
|
|
174
|
+
"direction": "horizontal",
|
|
116
175
|
"align": "center",
|
|
117
176
|
"children": [
|
|
118
177
|
{
|
|
119
|
-
"
|
|
178
|
+
"size": "lg",
|
|
120
179
|
"name": "check-square",
|
|
121
|
-
"
|
|
180
|
+
"type": "icon"
|
|
122
181
|
},
|
|
123
182
|
{
|
|
183
|
+
"variant": "h2",
|
|
124
184
|
"type": "typography",
|
|
125
|
-
"content": "SelectableItems"
|
|
126
|
-
"variant": "h2"
|
|
185
|
+
"content": "SelectableItems"
|
|
127
186
|
}
|
|
128
|
-
]
|
|
187
|
+
],
|
|
188
|
+
"type": "stack"
|
|
129
189
|
},
|
|
130
190
|
{
|
|
131
191
|
"type": "divider"
|
|
@@ -137,35 +197,35 @@
|
|
|
137
197
|
"content": "Choose a selectableitem to continue."
|
|
138
198
|
},
|
|
139
199
|
{
|
|
140
|
-
"
|
|
200
|
+
"emptyDescription": "Add selectableitems to see them here.",
|
|
141
201
|
"entity": "SelectableItem",
|
|
142
|
-
"
|
|
202
|
+
"type": "data-grid",
|
|
143
203
|
"emptyTitle": "No selectableitems yet",
|
|
144
|
-
"emptyDescription": "Add selectableitems to see them here.",
|
|
145
204
|
"className": "transition-shadow hover:shadow-md cursor-pointer",
|
|
146
205
|
"itemActions": [
|
|
147
206
|
{
|
|
148
|
-
"label": "Select",
|
|
149
207
|
"event": "SELECT",
|
|
150
|
-
"icon": "check"
|
|
208
|
+
"icon": "check",
|
|
209
|
+
"label": "Select"
|
|
151
210
|
}
|
|
152
211
|
],
|
|
153
212
|
"renderItem": [
|
|
154
213
|
"fn",
|
|
155
214
|
"item",
|
|
156
215
|
{
|
|
157
|
-
"type": "stack",
|
|
158
216
|
"direction": "horizontal",
|
|
159
217
|
"gap": "sm",
|
|
160
218
|
"align": "center",
|
|
219
|
+
"type": "stack",
|
|
161
220
|
"children": [
|
|
162
221
|
{
|
|
163
|
-
"
|
|
164
|
-
"
|
|
222
|
+
"label": "@item.name",
|
|
223
|
+
"type": "checkbox"
|
|
165
224
|
}
|
|
166
225
|
]
|
|
167
226
|
}
|
|
168
|
-
]
|
|
227
|
+
],
|
|
228
|
+
"emptyIcon": "inbox"
|
|
169
229
|
}
|
|
170
230
|
]
|
|
171
231
|
}
|
|
@@ -179,28 +239,26 @@
|
|
|
179
239
|
"effects": [
|
|
180
240
|
[
|
|
181
241
|
"fetch",
|
|
182
|
-
"SelectableItem"
|
|
242
|
+
"SelectableItem",
|
|
243
|
+
{
|
|
244
|
+
"emit": {
|
|
245
|
+
"failure": "SelectableItemLoadFailed",
|
|
246
|
+
"success": "SelectableItemLoaded"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
183
249
|
],
|
|
184
250
|
[
|
|
185
251
|
"render-ui",
|
|
186
252
|
"main",
|
|
187
253
|
{
|
|
188
|
-
"type": "stack",
|
|
189
|
-
"direction": "vertical",
|
|
190
|
-
"gap": "lg",
|
|
191
254
|
"children": [
|
|
192
255
|
{
|
|
193
|
-
"type": "stack",
|
|
194
256
|
"direction": "horizontal",
|
|
195
|
-
"
|
|
196
|
-
"justify": "space-between",
|
|
257
|
+
"type": "stack",
|
|
197
258
|
"align": "center",
|
|
259
|
+
"gap": "md",
|
|
198
260
|
"children": [
|
|
199
261
|
{
|
|
200
|
-
"type": "stack",
|
|
201
|
-
"direction": "horizontal",
|
|
202
|
-
"gap": "md",
|
|
203
|
-
"align": "center",
|
|
204
262
|
"children": [
|
|
205
263
|
{
|
|
206
264
|
"type": "icon",
|
|
@@ -208,70 +266,72 @@
|
|
|
208
266
|
"size": "lg"
|
|
209
267
|
},
|
|
210
268
|
{
|
|
211
|
-
"type": "typography",
|
|
212
269
|
"content": "SelectableItems",
|
|
270
|
+
"type": "typography",
|
|
213
271
|
"variant": "h2"
|
|
214
272
|
}
|
|
215
|
-
]
|
|
273
|
+
],
|
|
274
|
+
"direction": "horizontal",
|
|
275
|
+
"align": "center",
|
|
276
|
+
"type": "stack",
|
|
277
|
+
"gap": "md"
|
|
216
278
|
},
|
|
217
279
|
{
|
|
218
|
-
"type": "stack",
|
|
219
|
-
"direction": "horizontal",
|
|
220
280
|
"gap": "sm",
|
|
281
|
+
"direction": "horizontal",
|
|
282
|
+
"type": "stack",
|
|
221
283
|
"align": "center",
|
|
222
284
|
"children": [
|
|
223
285
|
{
|
|
224
|
-
"
|
|
225
|
-
"
|
|
286
|
+
"label": "Selecting",
|
|
287
|
+
"type": "badge"
|
|
226
288
|
},
|
|
227
289
|
{
|
|
228
290
|
"type": "button",
|
|
229
|
-
"label": "Clear",
|
|
230
291
|
"event": "CLEAR",
|
|
292
|
+
"label": "Clear",
|
|
231
293
|
"variant": "ghost",
|
|
232
294
|
"icon": "x"
|
|
233
295
|
}
|
|
234
296
|
]
|
|
235
297
|
}
|
|
236
|
-
]
|
|
298
|
+
],
|
|
299
|
+
"justify": "space-between"
|
|
237
300
|
},
|
|
238
301
|
{
|
|
239
302
|
"type": "divider"
|
|
240
303
|
},
|
|
241
304
|
{
|
|
242
|
-
"type": "alert",
|
|
243
305
|
"variant": "info",
|
|
244
306
|
"message": [
|
|
245
|
-
"
|
|
307
|
+
"concat",
|
|
246
308
|
"Selected: ",
|
|
247
309
|
"@payload.id"
|
|
248
|
-
]
|
|
310
|
+
],
|
|
311
|
+
"type": "alert"
|
|
249
312
|
},
|
|
250
313
|
{
|
|
251
|
-
"type": "data-grid",
|
|
252
|
-
"entity": "SelectableItem",
|
|
253
|
-
"emptyIcon": "inbox",
|
|
254
|
-
"emptyTitle": "No selectableitems yet",
|
|
255
314
|
"emptyDescription": "Add selectableitems to see them here.",
|
|
256
315
|
"itemActions": [
|
|
257
316
|
{
|
|
258
|
-
"label": "Select",
|
|
259
317
|
"event": "SELECT",
|
|
260
|
-
"icon": "check"
|
|
318
|
+
"icon": "check",
|
|
319
|
+
"label": "Select"
|
|
261
320
|
}
|
|
262
321
|
],
|
|
322
|
+
"emptyTitle": "No selectableitems yet",
|
|
263
323
|
"renderItem": [
|
|
264
324
|
"fn",
|
|
265
325
|
"item",
|
|
266
326
|
{
|
|
267
327
|
"type": "stack",
|
|
268
|
-
"direction": "horizontal",
|
|
269
|
-
"gap": "sm",
|
|
270
328
|
"align": "center",
|
|
329
|
+
"gap": "sm",
|
|
330
|
+
"direction": "horizontal",
|
|
271
331
|
"children": [
|
|
272
332
|
{
|
|
273
|
-
"type": "checkbox",
|
|
274
333
|
"label": "@item.name",
|
|
334
|
+
"type": "checkbox",
|
|
275
335
|
"checked": [
|
|
276
336
|
"==",
|
|
277
337
|
"@item.id",
|
|
@@ -280,40 +340,46 @@
|
|
|
280
340
|
}
|
|
281
341
|
]
|
|
282
342
|
}
|
|
283
|
-
]
|
|
343
|
+
],
|
|
344
|
+
"type": "data-grid",
|
|
345
|
+
"entity": "SelectableItem",
|
|
346
|
+
"emptyIcon": "inbox"
|
|
284
347
|
},
|
|
285
348
|
{
|
|
286
349
|
"type": "divider"
|
|
287
350
|
},
|
|
288
351
|
{
|
|
289
|
-
"type": "stack",
|
|
290
|
-
"direction": "horizontal",
|
|
291
352
|
"gap": "sm",
|
|
353
|
+
"direction": "horizontal",
|
|
292
354
|
"children": [
|
|
293
355
|
{
|
|
294
356
|
"type": "button",
|
|
295
|
-
"label": "Select All",
|
|
296
357
|
"action": "SELECT",
|
|
297
358
|
"icon": "check-square",
|
|
359
|
+
"label": "Select All",
|
|
298
360
|
"variant": "secondary"
|
|
299
361
|
},
|
|
300
362
|
{
|
|
363
|
+
"variant": "secondary",
|
|
364
|
+
"icon": "square",
|
|
301
365
|
"type": "button",
|
|
302
|
-
"label": "Deselect All",
|
|
303
366
|
"action": "DESELECT",
|
|
304
|
-
"
|
|
305
|
-
"variant": "secondary"
|
|
367
|
+
"label": "Deselect All"
|
|
306
368
|
},
|
|
307
369
|
{
|
|
308
|
-
"type": "button",
|
|
309
|
-
"label": "Confirm",
|
|
310
|
-
"action": "CONFIRM_SELECTION",
|
|
311
370
|
"icon": "check",
|
|
312
|
-
"
|
|
371
|
+
"action": "CONFIRM_SELECTION",
|
|
372
|
+
"label": "Confirm",
|
|
373
|
+
"variant": "primary",
|
|
374
|
+
"type": "button"
|
|
313
375
|
}
|
|
314
|
-
]
|
|
376
|
+
],
|
|
377
|
+
"type": "stack"
|
|
315
378
|
}
|
|
316
|
-
]
|
|
379
|
+
],
|
|
380
|
+
"type": "stack",
|
|
381
|
+
"direction": "vertical",
|
|
382
|
+
"gap": "lg"
|
|
317
383
|
}
|
|
318
384
|
]
|
|
319
385
|
]
|
|
@@ -325,45 +391,49 @@
|
|
|
325
391
|
"effects": [
|
|
326
392
|
[
|
|
327
393
|
"fetch",
|
|
328
|
-
"SelectableItem"
|
|
394
|
+
"SelectableItem",
|
|
395
|
+
{
|
|
396
|
+
"emit": {
|
|
397
|
+
"failure": "SelectableItemLoadFailed",
|
|
398
|
+
"success": "SelectableItemLoaded"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
329
401
|
],
|
|
330
402
|
[
|
|
331
403
|
"render-ui",
|
|
332
404
|
"main",
|
|
333
405
|
{
|
|
334
|
-
"type": "stack",
|
|
335
|
-
"direction": "vertical",
|
|
336
406
|
"gap": "lg",
|
|
407
|
+
"type": "stack",
|
|
337
408
|
"children": [
|
|
338
409
|
{
|
|
339
410
|
"type": "stack",
|
|
340
411
|
"direction": "horizontal",
|
|
341
|
-
"gap": "md",
|
|
342
412
|
"justify": "space-between",
|
|
343
413
|
"align": "center",
|
|
344
414
|
"children": [
|
|
345
415
|
{
|
|
346
|
-
"type": "stack",
|
|
347
416
|
"direction": "horizontal",
|
|
348
417
|
"gap": "md",
|
|
349
|
-
"align": "center",
|
|
350
418
|
"children": [
|
|
351
419
|
{
|
|
352
|
-
"type": "icon",
|
|
353
420
|
"name": "check-square",
|
|
421
|
+
"type": "icon",
|
|
354
422
|
"size": "lg"
|
|
355
423
|
},
|
|
356
424
|
{
|
|
357
425
|
"type": "typography",
|
|
358
|
-
"
|
|
359
|
-
"
|
|
426
|
+
"variant": "h2",
|
|
427
|
+
"content": "SelectableItems"
|
|
360
428
|
}
|
|
361
|
-
]
|
|
429
|
+
],
|
|
430
|
+
"align": "center",
|
|
431
|
+
"type": "stack"
|
|
362
432
|
},
|
|
363
433
|
{
|
|
434
|
+
"gap": "sm",
|
|
364
435
|
"type": "stack",
|
|
365
436
|
"direction": "horizontal",
|
|
366
|
-
"gap": "sm",
|
|
367
437
|
"align": "center",
|
|
368
438
|
"children": [
|
|
369
439
|
{
|
|
@@ -371,95 +441,97 @@
|
|
|
371
441
|
"label": "Selecting"
|
|
372
442
|
},
|
|
373
443
|
{
|
|
374
|
-
"type": "button",
|
|
375
444
|
"label": "Clear",
|
|
376
445
|
"event": "CLEAR",
|
|
377
446
|
"variant": "ghost",
|
|
447
|
+
"type": "button",
|
|
378
448
|
"icon": "x"
|
|
379
449
|
}
|
|
380
450
|
]
|
|
381
451
|
}
|
|
382
|
-
]
|
|
452
|
+
],
|
|
453
|
+
"gap": "md"
|
|
383
454
|
},
|
|
384
455
|
{
|
|
385
456
|
"type": "divider"
|
|
386
457
|
},
|
|
387
458
|
{
|
|
388
|
-
"type": "alert",
|
|
389
459
|
"variant": "info",
|
|
460
|
+
"type": "alert",
|
|
390
461
|
"message": [
|
|
391
|
-
"
|
|
462
|
+
"concat",
|
|
392
463
|
"Selected: ",
|
|
393
464
|
"@payload.id"
|
|
394
465
|
]
|
|
395
466
|
},
|
|
396
467
|
{
|
|
397
|
-
"type": "data-grid",
|
|
398
468
|
"entity": "SelectableItem",
|
|
399
|
-
"emptyIcon": "inbox",
|
|
400
|
-
"emptyTitle": "No selectableitems yet",
|
|
401
469
|
"emptyDescription": "Add selectableitems to see them here.",
|
|
402
470
|
"itemActions": [
|
|
403
471
|
{
|
|
404
|
-
"label": "Select",
|
|
405
472
|
"event": "SELECT",
|
|
406
|
-
"icon": "check"
|
|
473
|
+
"icon": "check",
|
|
474
|
+
"label": "Select"
|
|
407
475
|
}
|
|
408
476
|
],
|
|
409
477
|
"renderItem": [
|
|
410
478
|
"fn",
|
|
411
479
|
"item",
|
|
412
480
|
{
|
|
413
|
-
"type": "stack",
|
|
414
|
-
"direction": "horizontal",
|
|
415
481
|
"gap": "sm",
|
|
416
482
|
"align": "center",
|
|
417
483
|
"children": [
|
|
418
484
|
{
|
|
419
|
-
"type": "checkbox",
|
|
420
|
-
"label": "@item.name",
|
|
421
485
|
"checked": [
|
|
422
486
|
"==",
|
|
423
487
|
"@item.id",
|
|
424
488
|
"@payload.id"
|
|
425
|
-
]
|
|
489
|
+
],
|
|
490
|
+
"label": "@item.name",
|
|
491
|
+
"type": "checkbox"
|
|
426
492
|
}
|
|
427
|
-
]
|
|
493
|
+
],
|
|
494
|
+
"direction": "horizontal",
|
|
495
|
+
"type": "stack"
|
|
428
496
|
}
|
|
429
|
-
]
|
|
497
|
+
],
|
|
498
|
+
"emptyTitle": "No selectableitems yet",
|
|
499
|
+
"type": "data-grid",
|
|
500
|
+
"emptyIcon": "inbox"
|
|
430
501
|
},
|
|
431
502
|
{
|
|
432
503
|
"type": "divider"
|
|
433
504
|
},
|
|
434
505
|
{
|
|
435
506
|
"type": "stack",
|
|
436
|
-
"direction": "horizontal",
|
|
437
507
|
"gap": "sm",
|
|
508
|
+
"direction": "horizontal",
|
|
438
509
|
"children": [
|
|
439
510
|
{
|
|
440
|
-
"type": "button",
|
|
441
|
-
"label": "Select All",
|
|
442
|
-
"action": "SELECT",
|
|
443
511
|
"icon": "check-square",
|
|
444
|
-
"
|
|
512
|
+
"action": "SELECT",
|
|
513
|
+
"type": "button",
|
|
514
|
+
"variant": "secondary",
|
|
515
|
+
"label": "Select All"
|
|
445
516
|
},
|
|
446
517
|
{
|
|
518
|
+
"variant": "secondary",
|
|
447
519
|
"type": "button",
|
|
448
|
-
"label": "Deselect All",
|
|
449
|
-
"action": "DESELECT",
|
|
450
520
|
"icon": "square",
|
|
451
|
-
"
|
|
521
|
+
"action": "DESELECT",
|
|
522
|
+
"label": "Deselect All"
|
|
452
523
|
},
|
|
453
524
|
{
|
|
454
|
-
"type": "button",
|
|
455
525
|
"label": "Confirm",
|
|
456
|
-
"action": "CONFIRM_SELECTION",
|
|
457
526
|
"icon": "check",
|
|
458
|
-
"variant": "primary"
|
|
527
|
+
"variant": "primary",
|
|
528
|
+
"type": "button",
|
|
529
|
+
"action": "CONFIRM_SELECTION"
|
|
459
530
|
}
|
|
460
531
|
]
|
|
461
532
|
}
|
|
462
|
-
]
|
|
533
|
+
],
|
|
534
|
+
"direction": "vertical"
|
|
463
535
|
}
|
|
464
536
|
]
|
|
465
537
|
]
|
|
@@ -471,65 +543,56 @@
|
|
|
471
543
|
"effects": [
|
|
472
544
|
[
|
|
473
545
|
"fetch",
|
|
474
|
-
"SelectableItem"
|
|
546
|
+
"SelectableItem",
|
|
547
|
+
{
|
|
548
|
+
"emit": {
|
|
549
|
+
"failure": "SelectableItemLoadFailed",
|
|
550
|
+
"success": "SelectableItemLoaded"
|
|
551
|
+
}
|
|
552
|
+
}
|
|
475
553
|
],
|
|
476
554
|
[
|
|
477
555
|
"render-ui",
|
|
478
556
|
"main",
|
|
479
557
|
{
|
|
480
|
-
"type": "stack",
|
|
481
558
|
"direction": "vertical",
|
|
482
|
-
"gap": "lg",
|
|
483
559
|
"children": [
|
|
484
560
|
{
|
|
561
|
+
"align": "center",
|
|
485
562
|
"type": "stack",
|
|
486
563
|
"direction": "horizontal",
|
|
487
|
-
"gap": "sm",
|
|
488
|
-
"align": "center",
|
|
489
564
|
"children": [
|
|
490
565
|
{
|
|
491
566
|
"type": "icon",
|
|
492
|
-
"
|
|
493
|
-
"
|
|
567
|
+
"size": "lg",
|
|
568
|
+
"name": "check-square"
|
|
494
569
|
},
|
|
495
570
|
{
|
|
496
571
|
"type": "typography",
|
|
497
|
-
"
|
|
498
|
-
"
|
|
572
|
+
"variant": "h2",
|
|
573
|
+
"content": "SelectableItems"
|
|
499
574
|
}
|
|
500
|
-
]
|
|
575
|
+
],
|
|
576
|
+
"gap": "sm"
|
|
501
577
|
},
|
|
502
578
|
{
|
|
503
579
|
"type": "divider"
|
|
504
580
|
},
|
|
505
581
|
{
|
|
506
|
-
"
|
|
582
|
+
"content": "Choose a selectableitem to continue.",
|
|
507
583
|
"variant": "caption",
|
|
508
|
-
"
|
|
509
|
-
"
|
|
584
|
+
"type": "typography",
|
|
585
|
+
"color": "muted"
|
|
510
586
|
},
|
|
511
587
|
{
|
|
512
|
-
"type": "data-grid",
|
|
513
|
-
"entity": "SelectableItem",
|
|
514
|
-
"emptyIcon": "inbox",
|
|
515
|
-
"emptyTitle": "No selectableitems yet",
|
|
516
|
-
"emptyDescription": "Add selectableitems to see them here.",
|
|
517
|
-
"className": "transition-shadow hover:shadow-md cursor-pointer",
|
|
518
|
-
"itemActions": [
|
|
519
|
-
{
|
|
520
|
-
"label": "Select",
|
|
521
|
-
"event": "SELECT",
|
|
522
|
-
"icon": "check"
|
|
523
|
-
}
|
|
524
|
-
],
|
|
525
588
|
"renderItem": [
|
|
526
589
|
"fn",
|
|
527
590
|
"item",
|
|
528
591
|
{
|
|
592
|
+
"align": "center",
|
|
593
|
+
"gap": "sm",
|
|
529
594
|
"type": "stack",
|
|
530
595
|
"direction": "horizontal",
|
|
531
|
-
"gap": "sm",
|
|
532
|
-
"align": "center",
|
|
533
596
|
"children": [
|
|
534
597
|
{
|
|
535
598
|
"type": "checkbox",
|
|
@@ -537,9 +600,24 @@
|
|
|
537
600
|
}
|
|
538
601
|
]
|
|
539
602
|
}
|
|
603
|
+
],
|
|
604
|
+
"entity": "SelectableItem",
|
|
605
|
+
"type": "data-grid",
|
|
606
|
+
"emptyTitle": "No selectableitems yet",
|
|
607
|
+
"emptyDescription": "Add selectableitems to see them here.",
|
|
608
|
+
"className": "transition-shadow hover:shadow-md cursor-pointer",
|
|
609
|
+
"emptyIcon": "inbox",
|
|
610
|
+
"itemActions": [
|
|
611
|
+
{
|
|
612
|
+
"event": "SELECT",
|
|
613
|
+
"icon": "check",
|
|
614
|
+
"label": "Select"
|
|
615
|
+
}
|
|
540
616
|
]
|
|
541
617
|
}
|
|
542
|
-
]
|
|
618
|
+
],
|
|
619
|
+
"type": "stack",
|
|
620
|
+
"gap": "lg"
|
|
543
621
|
}
|
|
544
622
|
]
|
|
545
623
|
]
|
|
@@ -551,21 +629,25 @@
|
|
|
551
629
|
"effects": [
|
|
552
630
|
[
|
|
553
631
|
"fetch",
|
|
554
|
-
"SelectableItem"
|
|
632
|
+
"SelectableItem",
|
|
633
|
+
{
|
|
634
|
+
"emit": {
|
|
635
|
+
"failure": "SelectableItemLoadFailed",
|
|
636
|
+
"success": "SelectableItemLoaded"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
555
639
|
],
|
|
556
640
|
[
|
|
557
641
|
"render-ui",
|
|
558
642
|
"main",
|
|
559
643
|
{
|
|
644
|
+
"gap": "lg",
|
|
560
645
|
"type": "stack",
|
|
561
646
|
"direction": "vertical",
|
|
562
|
-
"gap": "lg",
|
|
563
647
|
"children": [
|
|
564
648
|
{
|
|
565
|
-
"type": "stack",
|
|
566
|
-
"direction": "horizontal",
|
|
567
|
-
"gap": "sm",
|
|
568
649
|
"align": "center",
|
|
650
|
+
"gap": "sm",
|
|
569
651
|
"children": [
|
|
570
652
|
{
|
|
571
653
|
"type": "icon",
|
|
@@ -573,51 +655,53 @@
|
|
|
573
655
|
"size": "lg"
|
|
574
656
|
},
|
|
575
657
|
{
|
|
658
|
+
"variant": "h2",
|
|
576
659
|
"type": "typography",
|
|
577
|
-
"content": "SelectableItems"
|
|
578
|
-
"variant": "h2"
|
|
660
|
+
"content": "SelectableItems"
|
|
579
661
|
}
|
|
580
|
-
]
|
|
662
|
+
],
|
|
663
|
+
"direction": "horizontal",
|
|
664
|
+
"type": "stack"
|
|
581
665
|
},
|
|
582
666
|
{
|
|
583
667
|
"type": "divider"
|
|
584
668
|
},
|
|
585
669
|
{
|
|
586
|
-
"type": "typography",
|
|
587
|
-
"variant": "caption",
|
|
588
670
|
"color": "muted",
|
|
589
|
-
"
|
|
671
|
+
"variant": "caption",
|
|
672
|
+
"content": "Choose a selectableitem to continue.",
|
|
673
|
+
"type": "typography"
|
|
590
674
|
},
|
|
591
675
|
{
|
|
592
|
-
"type": "data-grid",
|
|
593
|
-
"entity": "SelectableItem",
|
|
594
|
-
"emptyIcon": "inbox",
|
|
595
|
-
"emptyTitle": "No selectableitems yet",
|
|
596
|
-
"emptyDescription": "Add selectableitems to see them here.",
|
|
597
|
-
"className": "transition-shadow hover:shadow-md cursor-pointer",
|
|
598
|
-
"itemActions": [
|
|
599
|
-
{
|
|
600
|
-
"label": "Select",
|
|
601
|
-
"event": "SELECT",
|
|
602
|
-
"icon": "check"
|
|
603
|
-
}
|
|
604
|
-
],
|
|
605
676
|
"renderItem": [
|
|
606
677
|
"fn",
|
|
607
678
|
"item",
|
|
608
679
|
{
|
|
609
|
-
"type": "stack",
|
|
610
|
-
"direction": "horizontal",
|
|
611
|
-
"gap": "sm",
|
|
612
|
-
"align": "center",
|
|
613
680
|
"children": [
|
|
614
681
|
{
|
|
615
|
-
"
|
|
616
|
-
"
|
|
682
|
+
"label": "@item.name",
|
|
683
|
+
"type": "checkbox"
|
|
617
684
|
}
|
|
618
|
-
]
|
|
685
|
+
],
|
|
686
|
+
"align": "center",
|
|
687
|
+
"direction": "horizontal",
|
|
688
|
+
"gap": "sm",
|
|
689
|
+
"type": "stack"
|
|
619
690
|
}
|
|
620
|
-
]
|
|
691
|
+
],
|
|
692
|
+
"emptyIcon": "inbox",
|
|
693
|
+
"itemActions": [
|
|
694
|
+
{
|
|
695
|
+
"icon": "check",
|
|
696
|
+
"label": "Select",
|
|
697
|
+
"event": "SELECT"
|
|
698
|
+
}
|
|
699
|
+
],
|
|
700
|
+
"entity": "SelectableItem",
|
|
701
|
+
"emptyTitle": "No selectableitems yet",
|
|
702
|
+
"type": "data-grid",
|
|
703
|
+
"emptyDescription": "Add selectableitems to see them here.",
|
|
704
|
+
"className": "transition-shadow hover:shadow-md cursor-pointer"
|
|
621
705
|
}
|
|
622
706
|
]
|
|
623
707
|
}
|
|
@@ -633,75 +717,75 @@
|
|
|
633
717
|
"render-ui",
|
|
634
718
|
"main",
|
|
635
719
|
{
|
|
636
|
-
"type": "stack",
|
|
637
|
-
"direction": "vertical",
|
|
638
720
|
"gap": "lg",
|
|
639
721
|
"children": [
|
|
640
722
|
{
|
|
641
|
-
"type": "stack",
|
|
642
|
-
"direction": "horizontal",
|
|
643
723
|
"gap": "md",
|
|
644
|
-
"justify": "space-between",
|
|
645
|
-
"align": "center",
|
|
646
724
|
"children": [
|
|
647
725
|
{
|
|
648
|
-
"type": "stack",
|
|
649
|
-
"direction": "horizontal",
|
|
650
|
-
"gap": "md",
|
|
651
|
-
"align": "center",
|
|
652
726
|
"children": [
|
|
653
727
|
{
|
|
654
|
-
"type": "icon",
|
|
655
728
|
"name": "check-circle",
|
|
729
|
+
"type": "icon",
|
|
656
730
|
"size": "lg"
|
|
657
731
|
},
|
|
658
732
|
{
|
|
659
|
-
"type": "typography",
|
|
660
733
|
"content": "Selection Confirmed",
|
|
661
|
-
"variant": "h2"
|
|
734
|
+
"variant": "h2",
|
|
735
|
+
"type": "typography"
|
|
662
736
|
}
|
|
663
|
-
]
|
|
737
|
+
],
|
|
738
|
+
"direction": "horizontal",
|
|
739
|
+
"gap": "md",
|
|
740
|
+
"align": "center",
|
|
741
|
+
"type": "stack"
|
|
664
742
|
},
|
|
665
743
|
{
|
|
666
|
-
"
|
|
667
|
-
"
|
|
744
|
+
"label": "Confirmed",
|
|
745
|
+
"type": "badge"
|
|
668
746
|
}
|
|
669
|
-
]
|
|
747
|
+
],
|
|
748
|
+
"justify": "space-between",
|
|
749
|
+
"direction": "horizontal",
|
|
750
|
+
"align": "center",
|
|
751
|
+
"type": "stack"
|
|
670
752
|
},
|
|
671
753
|
{
|
|
672
754
|
"type": "divider"
|
|
673
755
|
},
|
|
674
756
|
{
|
|
675
|
-
"type": "alert",
|
|
676
757
|
"variant": "success",
|
|
677
|
-
"message": "Selection confirmed successfully."
|
|
758
|
+
"message": "Selection confirmed successfully.",
|
|
759
|
+
"type": "alert"
|
|
678
760
|
},
|
|
679
761
|
{
|
|
680
762
|
"type": "stack",
|
|
681
|
-
"direction": "horizontal",
|
|
682
763
|
"gap": "md",
|
|
764
|
+
"direction": "horizontal",
|
|
683
765
|
"align": "center",
|
|
684
766
|
"children": [
|
|
685
767
|
{
|
|
686
|
-
"type": "typography",
|
|
687
768
|
"variant": "caption",
|
|
769
|
+
"type": "typography",
|
|
688
770
|
"content": "Selected ID:"
|
|
689
771
|
},
|
|
690
772
|
{
|
|
691
|
-
"type": "typography",
|
|
692
773
|
"variant": "body",
|
|
693
|
-
"content": "@payload.id"
|
|
774
|
+
"content": "@payload.id",
|
|
775
|
+
"type": "typography"
|
|
694
776
|
}
|
|
695
777
|
]
|
|
696
778
|
},
|
|
697
779
|
{
|
|
698
|
-
"type": "button",
|
|
699
780
|
"label": "Clear Selection",
|
|
781
|
+
"type": "button",
|
|
700
782
|
"event": "CLEAR",
|
|
701
783
|
"variant": "ghost",
|
|
702
784
|
"icon": "rotate-ccw"
|
|
703
785
|
}
|
|
704
|
-
]
|
|
786
|
+
],
|
|
787
|
+
"direction": "vertical",
|
|
788
|
+
"type": "stack"
|
|
705
789
|
}
|
|
706
790
|
]
|
|
707
791
|
]
|
|
@@ -713,31 +797,36 @@
|
|
|
713
797
|
"effects": [
|
|
714
798
|
[
|
|
715
799
|
"fetch",
|
|
716
|
-
"SelectableItem"
|
|
800
|
+
"SelectableItem",
|
|
801
|
+
{
|
|
802
|
+
"emit": {
|
|
803
|
+
"failure": "SelectableItemLoadFailed",
|
|
804
|
+
"success": "SelectableItemLoaded"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
717
807
|
],
|
|
718
808
|
[
|
|
719
809
|
"render-ui",
|
|
720
810
|
"main",
|
|
721
811
|
{
|
|
722
812
|
"type": "stack",
|
|
723
|
-
"direction": "vertical",
|
|
724
813
|
"gap": "lg",
|
|
725
814
|
"children": [
|
|
726
815
|
{
|
|
727
|
-
"type": "stack",
|
|
728
816
|
"direction": "horizontal",
|
|
729
|
-
"gap": "sm",
|
|
730
817
|
"align": "center",
|
|
818
|
+
"type": "stack",
|
|
819
|
+
"gap": "sm",
|
|
731
820
|
"children": [
|
|
732
821
|
{
|
|
733
|
-
"type": "icon",
|
|
734
822
|
"name": "check-square",
|
|
735
|
-
"size": "lg"
|
|
823
|
+
"size": "lg",
|
|
824
|
+
"type": "icon"
|
|
736
825
|
},
|
|
737
826
|
{
|
|
827
|
+
"variant": "h2",
|
|
738
828
|
"type": "typography",
|
|
739
|
-
"content": "SelectableItems"
|
|
740
|
-
"variant": "h2"
|
|
829
|
+
"content": "SelectableItems"
|
|
741
830
|
}
|
|
742
831
|
]
|
|
743
832
|
},
|
|
@@ -745,49 +834,51 @@
|
|
|
745
834
|
"type": "divider"
|
|
746
835
|
},
|
|
747
836
|
{
|
|
748
|
-
"type": "typography",
|
|
749
|
-
"variant": "caption",
|
|
750
837
|
"color": "muted",
|
|
751
|
-
"
|
|
838
|
+
"type": "typography",
|
|
839
|
+
"content": "Choose a selectableitem to continue.",
|
|
840
|
+
"variant": "caption"
|
|
752
841
|
},
|
|
753
842
|
{
|
|
754
|
-
"type": "data-grid",
|
|
755
|
-
"entity": "SelectableItem",
|
|
756
|
-
"emptyIcon": "inbox",
|
|
757
|
-
"emptyTitle": "No selectableitems yet",
|
|
758
|
-
"emptyDescription": "Add selectableitems to see them here.",
|
|
759
|
-
"className": "transition-shadow hover:shadow-md cursor-pointer",
|
|
760
|
-
"itemActions": [
|
|
761
|
-
{
|
|
762
|
-
"label": "Select",
|
|
763
|
-
"event": "SELECT",
|
|
764
|
-
"icon": "check"
|
|
765
|
-
}
|
|
766
|
-
],
|
|
767
843
|
"renderItem": [
|
|
768
844
|
"fn",
|
|
769
845
|
"item",
|
|
770
846
|
{
|
|
771
|
-
"type": "stack",
|
|
772
847
|
"direction": "horizontal",
|
|
773
|
-
"gap": "sm",
|
|
774
|
-
"align": "center",
|
|
775
848
|
"children": [
|
|
776
849
|
{
|
|
777
|
-
"
|
|
778
|
-
"
|
|
850
|
+
"label": "@item.name",
|
|
851
|
+
"type": "checkbox"
|
|
779
852
|
}
|
|
780
|
-
]
|
|
853
|
+
],
|
|
854
|
+
"type": "stack",
|
|
855
|
+
"align": "center",
|
|
856
|
+
"gap": "sm"
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
"emptyDescription": "Add selectableitems to see them here.",
|
|
860
|
+
"className": "transition-shadow hover:shadow-md cursor-pointer",
|
|
861
|
+
"entity": "SelectableItem",
|
|
862
|
+
"emptyIcon": "inbox",
|
|
863
|
+
"type": "data-grid",
|
|
864
|
+
"emptyTitle": "No selectableitems yet",
|
|
865
|
+
"itemActions": [
|
|
866
|
+
{
|
|
867
|
+
"event": "SELECT",
|
|
868
|
+
"icon": "check",
|
|
869
|
+
"label": "Select"
|
|
781
870
|
}
|
|
782
871
|
]
|
|
783
872
|
}
|
|
784
|
-
]
|
|
873
|
+
],
|
|
874
|
+
"direction": "vertical"
|
|
785
875
|
}
|
|
786
876
|
]
|
|
787
877
|
]
|
|
788
878
|
}
|
|
789
879
|
]
|
|
790
|
-
}
|
|
880
|
+
},
|
|
881
|
+
"scope": "collection"
|
|
791
882
|
}
|
|
792
883
|
],
|
|
793
884
|
"pages": [
|
|
@@ -803,4 +894,4 @@
|
|
|
803
894
|
]
|
|
804
895
|
}
|
|
805
896
|
]
|
|
806
|
-
}
|
|
897
|
+
}
|