@almadar/std 6.5.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-list",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-list as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ListItemOrbital",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"entity": {
|
|
23
23
|
"name": "ListItem",
|
|
24
|
-
"persistence": "persistent",
|
|
25
24
|
"collection": "listitems",
|
|
25
|
+
"persistence": "persistent",
|
|
26
26
|
"fields": [
|
|
27
27
|
{
|
|
28
28
|
"name": "id",
|
|
@@ -49,11 +49,6 @@
|
|
|
49
49
|
{
|
|
50
50
|
"name": "createdAt",
|
|
51
51
|
"type": "string"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "pendingId",
|
|
55
|
-
"type": "string",
|
|
56
|
-
"default": ""
|
|
57
52
|
}
|
|
58
53
|
]
|
|
59
54
|
},
|
|
@@ -62,6 +57,32 @@
|
|
|
62
57
|
"ref": "Browse.traits.BrowseItemBrowse",
|
|
63
58
|
"name": "ListItemBrowse",
|
|
64
59
|
"linkedEntity": "ListItem",
|
|
60
|
+
"listens": [
|
|
61
|
+
{
|
|
62
|
+
"event": "LIST_ITEM_CREATED",
|
|
63
|
+
"triggers": "INIT",
|
|
64
|
+
"source": {
|
|
65
|
+
"kind": "trait",
|
|
66
|
+
"trait": "ListItemCreate"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"event": "LIST_ITEM_UPDATED",
|
|
71
|
+
"triggers": "INIT",
|
|
72
|
+
"source": {
|
|
73
|
+
"kind": "trait",
|
|
74
|
+
"trait": "ListItemEdit"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"event": "CONFIRM_DELETE",
|
|
79
|
+
"triggers": "INIT",
|
|
80
|
+
"source": {
|
|
81
|
+
"kind": "trait",
|
|
82
|
+
"trait": "ListItemDelete"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
65
86
|
"effects": {
|
|
66
87
|
"INIT": [
|
|
67
88
|
[
|
|
@@ -74,21 +95,14 @@
|
|
|
74
95
|
{
|
|
75
96
|
"type": "stack",
|
|
76
97
|
"direction": "vertical",
|
|
77
|
-
"gap": "lg",
|
|
78
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
79
98
|
"children": [
|
|
80
99
|
{
|
|
81
|
-
"type": "stack",
|
|
82
|
-
"direction": "horizontal",
|
|
83
100
|
"gap": "md",
|
|
84
101
|
"justify": "space-between",
|
|
85
102
|
"align": "center",
|
|
103
|
+
"direction": "horizontal",
|
|
86
104
|
"children": [
|
|
87
105
|
{
|
|
88
|
-
"type": "stack",
|
|
89
|
-
"direction": "horizontal",
|
|
90
|
-
"gap": "sm",
|
|
91
|
-
"align": "center",
|
|
92
106
|
"children": [
|
|
93
107
|
{
|
|
94
108
|
"type": "icon",
|
|
@@ -100,87 +114,94 @@
|
|
|
100
114
|
"content": "ListItems",
|
|
101
115
|
"variant": "h2"
|
|
102
116
|
}
|
|
103
|
-
]
|
|
117
|
+
],
|
|
118
|
+
"align": "center",
|
|
119
|
+
"gap": "sm",
|
|
120
|
+
"type": "stack",
|
|
121
|
+
"direction": "horizontal"
|
|
104
122
|
},
|
|
105
123
|
{
|
|
106
124
|
"type": "stack",
|
|
107
|
-
"direction": "horizontal",
|
|
108
125
|
"gap": "sm",
|
|
126
|
+
"direction": "horizontal",
|
|
109
127
|
"children": [
|
|
110
128
|
{
|
|
111
|
-
"type": "button",
|
|
112
129
|
"label": "Create ListItem",
|
|
113
|
-
"
|
|
130
|
+
"type": "button",
|
|
114
131
|
"variant": "primary",
|
|
115
|
-
"icon": "plus"
|
|
132
|
+
"icon": "plus",
|
|
133
|
+
"event": "CREATE"
|
|
116
134
|
}
|
|
117
135
|
]
|
|
118
136
|
}
|
|
119
|
-
]
|
|
137
|
+
],
|
|
138
|
+
"type": "stack"
|
|
120
139
|
},
|
|
121
140
|
{
|
|
122
141
|
"type": "divider"
|
|
123
142
|
},
|
|
124
143
|
{
|
|
125
|
-
"type": "data-grid",
|
|
126
144
|
"entity": "ListItem",
|
|
127
|
-
"emptyIcon": "inbox",
|
|
128
145
|
"emptyTitle": "No listitems yet",
|
|
129
146
|
"emptyDescription": "Create your first listitem to get started.",
|
|
130
147
|
"itemActions": [
|
|
131
148
|
{
|
|
132
|
-
"
|
|
133
|
-
"event": "VIEW",
|
|
149
|
+
"size": "sm",
|
|
134
150
|
"variant": "ghost",
|
|
135
|
-
"
|
|
151
|
+
"label": "View",
|
|
152
|
+
"event": "VIEW"
|
|
136
153
|
},
|
|
137
154
|
{
|
|
138
155
|
"label": "Edit",
|
|
156
|
+
"size": "sm",
|
|
139
157
|
"event": "EDIT",
|
|
140
|
-
"variant": "ghost"
|
|
141
|
-
"size": "sm"
|
|
158
|
+
"variant": "ghost"
|
|
142
159
|
},
|
|
143
160
|
{
|
|
144
|
-
"label": "Delete",
|
|
145
161
|
"event": "DELETE",
|
|
162
|
+
"size": "sm",
|
|
146
163
|
"variant": "danger",
|
|
147
|
-
"
|
|
164
|
+
"label": "Delete"
|
|
148
165
|
}
|
|
149
166
|
],
|
|
150
167
|
"columns": [
|
|
151
168
|
{
|
|
152
|
-
"
|
|
169
|
+
"icon": "list",
|
|
153
170
|
"label": "Name",
|
|
154
171
|
"variant": "h4",
|
|
155
|
-
"
|
|
172
|
+
"name": "name"
|
|
156
173
|
},
|
|
157
174
|
{
|
|
158
175
|
"name": "description",
|
|
159
|
-
"label": "Description",
|
|
160
176
|
"variant": "badge",
|
|
177
|
+
"label": "Description",
|
|
161
178
|
"colorMap": {
|
|
179
|
+
"pending": "warning",
|
|
162
180
|
"active": "success",
|
|
163
|
-
"
|
|
181
|
+
"archived": "neutral",
|
|
182
|
+
"error": "destructive",
|
|
164
183
|
"done": "success",
|
|
165
|
-
"pending": "warning",
|
|
166
184
|
"draft": "warning",
|
|
167
|
-
"
|
|
185
|
+
"completed": "success",
|
|
168
186
|
"inactive": "neutral",
|
|
169
|
-
"
|
|
187
|
+
"scheduled": "warning",
|
|
170
188
|
"disabled": "neutral",
|
|
171
|
-
"error": "destructive",
|
|
172
189
|
"cancelled": "destructive",
|
|
173
190
|
"failed": "destructive"
|
|
174
191
|
}
|
|
175
192
|
},
|
|
176
193
|
{
|
|
177
|
-
"
|
|
194
|
+
"variant": "caption",
|
|
178
195
|
"label": "Status",
|
|
179
|
-
"
|
|
196
|
+
"name": "status"
|
|
180
197
|
}
|
|
181
|
-
]
|
|
198
|
+
],
|
|
199
|
+
"type": "data-grid",
|
|
200
|
+
"emptyIcon": "inbox"
|
|
182
201
|
}
|
|
183
|
-
]
|
|
202
|
+
],
|
|
203
|
+
"gap": "lg",
|
|
204
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
184
205
|
}
|
|
185
206
|
]
|
|
186
207
|
]
|
|
@@ -191,15 +212,10 @@
|
|
|
191
212
|
"name": "ListItemCreate",
|
|
192
213
|
"linkedEntity": "ListItem",
|
|
193
214
|
"events": {
|
|
215
|
+
"SAVE": "LIST_ITEM_CREATED",
|
|
194
216
|
"OPEN": "CREATE"
|
|
195
217
|
},
|
|
196
218
|
"effects": {
|
|
197
|
-
"INIT": [
|
|
198
|
-
[
|
|
199
|
-
"ref",
|
|
200
|
-
"ListItem"
|
|
201
|
-
]
|
|
202
|
-
],
|
|
203
219
|
"CREATE": [
|
|
204
220
|
[
|
|
205
221
|
"fetch",
|
|
@@ -209,59 +225,72 @@
|
|
|
209
225
|
"render-ui",
|
|
210
226
|
"modal",
|
|
211
227
|
{
|
|
212
|
-
"type": "stack",
|
|
213
|
-
"direction": "vertical",
|
|
214
|
-
"gap": "md",
|
|
215
228
|
"children": [
|
|
216
229
|
{
|
|
217
230
|
"type": "stack",
|
|
218
|
-
"direction": "horizontal",
|
|
219
|
-
"gap": "sm",
|
|
220
231
|
"children": [
|
|
221
232
|
{
|
|
222
233
|
"type": "icon",
|
|
223
|
-
"
|
|
224
|
-
"
|
|
234
|
+
"size": "md",
|
|
235
|
+
"name": "plus-circle"
|
|
225
236
|
},
|
|
226
237
|
{
|
|
227
238
|
"type": "typography",
|
|
228
239
|
"content": "Create ListItem",
|
|
229
240
|
"variant": "h3"
|
|
230
241
|
}
|
|
231
|
-
]
|
|
242
|
+
],
|
|
243
|
+
"direction": "horizontal",
|
|
244
|
+
"gap": "sm"
|
|
232
245
|
},
|
|
233
246
|
{
|
|
234
247
|
"type": "divider"
|
|
235
248
|
},
|
|
236
249
|
{
|
|
237
|
-
"type": "form-section",
|
|
238
250
|
"entity": "ListItem",
|
|
239
|
-
"
|
|
251
|
+
"type": "form-section",
|
|
240
252
|
"submitEvent": "SAVE",
|
|
241
|
-
"cancelEvent": "CLOSE",
|
|
242
253
|
"fields": [
|
|
243
254
|
"name",
|
|
244
255
|
"description",
|
|
245
256
|
"status"
|
|
246
|
-
]
|
|
257
|
+
],
|
|
258
|
+
"cancelEvent": "CLOSE",
|
|
259
|
+
"mode": "create"
|
|
247
260
|
}
|
|
248
|
-
]
|
|
261
|
+
],
|
|
262
|
+
"type": "stack",
|
|
263
|
+
"gap": "md",
|
|
264
|
+
"direction": "vertical"
|
|
249
265
|
}
|
|
250
266
|
]
|
|
251
267
|
],
|
|
268
|
+
"INIT": [
|
|
269
|
+
[
|
|
270
|
+
"ref",
|
|
271
|
+
"ListItem"
|
|
272
|
+
]
|
|
273
|
+
],
|
|
252
274
|
"CLOSE": [
|
|
253
275
|
[
|
|
254
276
|
"render-ui",
|
|
255
277
|
"modal",
|
|
256
278
|
null
|
|
257
279
|
],
|
|
280
|
+
[
|
|
281
|
+
"render-ui",
|
|
282
|
+
"main",
|
|
283
|
+
{
|
|
284
|
+
"type": "box"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
258
287
|
[
|
|
259
288
|
"notify",
|
|
260
289
|
"Cancelled",
|
|
261
290
|
"info"
|
|
262
291
|
]
|
|
263
292
|
],
|
|
264
|
-
"
|
|
293
|
+
"LIST_ITEM_CREATED": [
|
|
265
294
|
[
|
|
266
295
|
"persist",
|
|
267
296
|
"create",
|
|
@@ -274,8 +303,11 @@
|
|
|
274
303
|
null
|
|
275
304
|
],
|
|
276
305
|
[
|
|
277
|
-
"
|
|
278
|
-
"
|
|
306
|
+
"render-ui",
|
|
307
|
+
"main",
|
|
308
|
+
{
|
|
309
|
+
"type": "box"
|
|
310
|
+
}
|
|
279
311
|
]
|
|
280
312
|
]
|
|
281
313
|
}
|
|
@@ -285,9 +317,49 @@
|
|
|
285
317
|
"name": "ListItemEdit",
|
|
286
318
|
"linkedEntity": "ListItem",
|
|
287
319
|
"events": {
|
|
320
|
+
"SAVE": "LIST_ITEM_UPDATED",
|
|
288
321
|
"OPEN": "EDIT"
|
|
289
322
|
},
|
|
290
323
|
"effects": {
|
|
324
|
+
"LIST_ITEM_UPDATED": [
|
|
325
|
+
[
|
|
326
|
+
"persist",
|
|
327
|
+
"update",
|
|
328
|
+
"ListItem",
|
|
329
|
+
"@payload.data"
|
|
330
|
+
],
|
|
331
|
+
[
|
|
332
|
+
"render-ui",
|
|
333
|
+
"modal",
|
|
334
|
+
null
|
|
335
|
+
],
|
|
336
|
+
[
|
|
337
|
+
"render-ui",
|
|
338
|
+
"main",
|
|
339
|
+
{
|
|
340
|
+
"type": "box"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
],
|
|
344
|
+
"CLOSE": [
|
|
345
|
+
[
|
|
346
|
+
"render-ui",
|
|
347
|
+
"modal",
|
|
348
|
+
null
|
|
349
|
+
],
|
|
350
|
+
[
|
|
351
|
+
"render-ui",
|
|
352
|
+
"main",
|
|
353
|
+
{
|
|
354
|
+
"type": "box"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
[
|
|
358
|
+
"notify",
|
|
359
|
+
"Cancelled",
|
|
360
|
+
"info"
|
|
361
|
+
]
|
|
362
|
+
],
|
|
291
363
|
"INIT": [
|
|
292
364
|
[
|
|
293
365
|
"ref",
|
|
@@ -307,22 +379,20 @@
|
|
|
307
379
|
"modal",
|
|
308
380
|
{
|
|
309
381
|
"type": "stack",
|
|
310
|
-
"direction": "vertical",
|
|
311
|
-
"gap": "md",
|
|
312
382
|
"children": [
|
|
313
383
|
{
|
|
384
|
+
"gap": "sm",
|
|
314
385
|
"type": "stack",
|
|
315
386
|
"direction": "horizontal",
|
|
316
|
-
"gap": "sm",
|
|
317
387
|
"children": [
|
|
318
388
|
{
|
|
319
|
-
"type": "icon",
|
|
320
389
|
"name": "edit",
|
|
321
|
-
"size": "md"
|
|
390
|
+
"size": "md",
|
|
391
|
+
"type": "icon"
|
|
322
392
|
},
|
|
323
393
|
{
|
|
324
|
-
"type": "typography",
|
|
325
394
|
"content": "Edit ListItem",
|
|
395
|
+
"type": "typography",
|
|
326
396
|
"variant": "h3"
|
|
327
397
|
}
|
|
328
398
|
]
|
|
@@ -331,21 +401,40 @@
|
|
|
331
401
|
"type": "divider"
|
|
332
402
|
},
|
|
333
403
|
{
|
|
334
|
-
"type": "form-section",
|
|
335
404
|
"entity": "ListItem",
|
|
336
|
-
"
|
|
405
|
+
"type": "form-section",
|
|
337
406
|
"submitEvent": "SAVE",
|
|
338
|
-
"cancelEvent": "CLOSE",
|
|
339
407
|
"fields": [
|
|
340
408
|
"name",
|
|
341
409
|
"description",
|
|
342
410
|
"status"
|
|
343
411
|
],
|
|
344
|
-
"entityId": "@entity.id"
|
|
412
|
+
"entityId": "@entity.id",
|
|
413
|
+
"mode": "edit",
|
|
414
|
+
"cancelEvent": "CLOSE"
|
|
345
415
|
}
|
|
346
|
-
]
|
|
416
|
+
],
|
|
417
|
+
"direction": "vertical",
|
|
418
|
+
"gap": "md"
|
|
347
419
|
}
|
|
348
420
|
]
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"ref": "Modal.traits.ModalRecordModal",
|
|
426
|
+
"name": "ListItemView",
|
|
427
|
+
"linkedEntity": "ListItem",
|
|
428
|
+
"events": {
|
|
429
|
+
"SAVE": "LIST_ITEM_VIEWED",
|
|
430
|
+
"OPEN": "VIEW"
|
|
431
|
+
},
|
|
432
|
+
"effects": {
|
|
433
|
+
"INIT": [
|
|
434
|
+
[
|
|
435
|
+
"ref",
|
|
436
|
+
"ListItem"
|
|
437
|
+
]
|
|
349
438
|
],
|
|
350
439
|
"CLOSE": [
|
|
351
440
|
[
|
|
@@ -353,43 +442,31 @@
|
|
|
353
442
|
"modal",
|
|
354
443
|
null
|
|
355
444
|
],
|
|
445
|
+
[
|
|
446
|
+
"render-ui",
|
|
447
|
+
"main",
|
|
448
|
+
{
|
|
449
|
+
"type": "box"
|
|
450
|
+
}
|
|
451
|
+
],
|
|
356
452
|
[
|
|
357
453
|
"notify",
|
|
358
454
|
"Cancelled",
|
|
359
455
|
"info"
|
|
360
456
|
]
|
|
361
457
|
],
|
|
362
|
-
"
|
|
363
|
-
[
|
|
364
|
-
"persist",
|
|
365
|
-
"update",
|
|
366
|
-
"ListItem",
|
|
367
|
-
"@payload.data"
|
|
368
|
-
],
|
|
458
|
+
"LIST_ITEM_VIEWED": [
|
|
369
459
|
[
|
|
370
460
|
"render-ui",
|
|
371
461
|
"modal",
|
|
372
462
|
null
|
|
373
463
|
],
|
|
374
464
|
[
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"ref": "Modal.traits.ModalRecordModal",
|
|
383
|
-
"name": "ListItemView",
|
|
384
|
-
"linkedEntity": "ListItem",
|
|
385
|
-
"events": {
|
|
386
|
-
"OPEN": "VIEW"
|
|
387
|
-
},
|
|
388
|
-
"effects": {
|
|
389
|
-
"INIT": [
|
|
390
|
-
[
|
|
391
|
-
"ref",
|
|
392
|
-
"ListItem"
|
|
465
|
+
"render-ui",
|
|
466
|
+
"main",
|
|
467
|
+
{
|
|
468
|
+
"type": "box"
|
|
469
|
+
}
|
|
393
470
|
]
|
|
394
471
|
],
|
|
395
472
|
"VIEW": [
|
|
@@ -404,96 +481,94 @@
|
|
|
404
481
|
"render-ui",
|
|
405
482
|
"modal",
|
|
406
483
|
{
|
|
407
|
-
"type": "stack",
|
|
408
|
-
"direction": "vertical",
|
|
409
484
|
"gap": "md",
|
|
410
485
|
"children": [
|
|
411
486
|
{
|
|
412
|
-
"type": "stack",
|
|
413
|
-
"direction": "horizontal",
|
|
414
487
|
"gap": "sm",
|
|
415
|
-
"
|
|
488
|
+
"type": "stack",
|
|
416
489
|
"children": [
|
|
417
490
|
{
|
|
418
|
-
"
|
|
491
|
+
"size": "md",
|
|
419
492
|
"name": "eye",
|
|
420
|
-
"
|
|
493
|
+
"type": "icon"
|
|
421
494
|
},
|
|
422
495
|
{
|
|
496
|
+
"content": "@entity.name",
|
|
423
497
|
"type": "typography",
|
|
424
|
-
"variant": "h3"
|
|
425
|
-
"content": "@entity.name"
|
|
498
|
+
"variant": "h3"
|
|
426
499
|
}
|
|
427
|
-
]
|
|
500
|
+
],
|
|
501
|
+
"align": "center",
|
|
502
|
+
"direction": "horizontal"
|
|
428
503
|
},
|
|
429
504
|
{
|
|
430
505
|
"type": "divider"
|
|
431
506
|
},
|
|
432
507
|
{
|
|
433
|
-
"type": "stack",
|
|
434
508
|
"direction": "horizontal",
|
|
509
|
+
"type": "stack",
|
|
435
510
|
"gap": "md",
|
|
436
511
|
"children": [
|
|
437
512
|
{
|
|
438
|
-
"type": "typography",
|
|
439
513
|
"variant": "caption",
|
|
440
|
-
"content": "Name"
|
|
514
|
+
"content": "Name",
|
|
515
|
+
"type": "typography"
|
|
441
516
|
},
|
|
442
517
|
{
|
|
518
|
+
"content": "@entity.name",
|
|
443
519
|
"type": "typography",
|
|
444
|
-
"variant": "body"
|
|
445
|
-
"content": "@entity.name"
|
|
520
|
+
"variant": "body"
|
|
446
521
|
}
|
|
447
522
|
]
|
|
448
523
|
},
|
|
449
524
|
{
|
|
450
|
-
"type": "stack",
|
|
451
525
|
"direction": "horizontal",
|
|
452
526
|
"gap": "md",
|
|
527
|
+
"type": "stack",
|
|
453
528
|
"children": [
|
|
454
529
|
{
|
|
455
|
-
"type": "typography",
|
|
456
530
|
"variant": "caption",
|
|
457
|
-
"content": "Description"
|
|
531
|
+
"content": "Description",
|
|
532
|
+
"type": "typography"
|
|
458
533
|
},
|
|
459
534
|
{
|
|
460
535
|
"type": "typography",
|
|
461
|
-
"
|
|
462
|
-
"
|
|
536
|
+
"content": "@entity.description",
|
|
537
|
+
"variant": "body"
|
|
463
538
|
}
|
|
464
539
|
]
|
|
465
540
|
},
|
|
466
541
|
{
|
|
467
|
-
"type": "stack",
|
|
468
|
-
"direction": "horizontal",
|
|
469
542
|
"gap": "md",
|
|
470
543
|
"children": [
|
|
471
544
|
{
|
|
472
|
-
"type": "typography",
|
|
473
545
|
"variant": "caption",
|
|
546
|
+
"type": "typography",
|
|
474
547
|
"content": "Status"
|
|
475
548
|
},
|
|
476
549
|
{
|
|
477
|
-
"
|
|
550
|
+
"content": "@entity.status",
|
|
478
551
|
"variant": "body",
|
|
479
|
-
"
|
|
552
|
+
"type": "typography"
|
|
480
553
|
}
|
|
481
|
-
]
|
|
554
|
+
],
|
|
555
|
+
"direction": "horizontal",
|
|
556
|
+
"type": "stack"
|
|
482
557
|
},
|
|
483
558
|
{
|
|
484
|
-
"type": "stack",
|
|
485
559
|
"direction": "horizontal",
|
|
560
|
+
"type": "stack",
|
|
486
561
|
"gap": "md",
|
|
487
562
|
"children": [
|
|
488
563
|
{
|
|
489
|
-
"type": "typography",
|
|
490
564
|
"variant": "caption",
|
|
491
|
-
"content": "Created At"
|
|
565
|
+
"content": "Created At",
|
|
566
|
+
"type": "typography"
|
|
492
567
|
},
|
|
493
568
|
{
|
|
494
|
-
"
|
|
569
|
+
"content": "@entity.createdAt",
|
|
495
570
|
"variant": "body",
|
|
496
|
-
"
|
|
571
|
+
"type": "typography"
|
|
497
572
|
}
|
|
498
573
|
]
|
|
499
574
|
},
|
|
@@ -501,48 +576,31 @@
|
|
|
501
576
|
"type": "divider"
|
|
502
577
|
},
|
|
503
578
|
{
|
|
504
|
-
"type": "stack",
|
|
505
579
|
"direction": "horizontal",
|
|
506
|
-
"gap": "sm",
|
|
507
|
-
"justify": "end",
|
|
508
580
|
"children": [
|
|
509
581
|
{
|
|
510
|
-
"type": "button",
|
|
511
|
-
"label": "Edit",
|
|
512
582
|
"event": "EDIT",
|
|
583
|
+
"label": "Edit",
|
|
584
|
+
"icon": "edit",
|
|
513
585
|
"variant": "primary",
|
|
514
|
-
"
|
|
586
|
+
"type": "button"
|
|
515
587
|
},
|
|
516
588
|
{
|
|
589
|
+
"event": "CLOSE",
|
|
517
590
|
"type": "button",
|
|
518
591
|
"label": "Close",
|
|
519
|
-
"event": "CLOSE",
|
|
520
592
|
"variant": "ghost"
|
|
521
593
|
}
|
|
522
|
-
]
|
|
594
|
+
],
|
|
595
|
+
"justify": "end",
|
|
596
|
+
"type": "stack",
|
|
597
|
+
"gap": "sm"
|
|
523
598
|
}
|
|
524
|
-
]
|
|
599
|
+
],
|
|
600
|
+
"direction": "vertical",
|
|
601
|
+
"type": "stack"
|
|
525
602
|
}
|
|
526
603
|
]
|
|
527
|
-
],
|
|
528
|
-
"CLOSE": [
|
|
529
|
-
[
|
|
530
|
-
"render-ui",
|
|
531
|
-
"modal",
|
|
532
|
-
null
|
|
533
|
-
],
|
|
534
|
-
[
|
|
535
|
-
"notify",
|
|
536
|
-
"Cancelled",
|
|
537
|
-
"info"
|
|
538
|
-
]
|
|
539
|
-
],
|
|
540
|
-
"SAVE": [
|
|
541
|
-
[
|
|
542
|
-
"render-ui",
|
|
543
|
-
"modal",
|
|
544
|
-
null
|
|
545
|
-
]
|
|
546
604
|
]
|
|
547
605
|
}
|
|
548
606
|
},
|
|
@@ -555,7 +613,43 @@
|
|
|
555
613
|
"CONFIRM": "CONFIRM_DELETE"
|
|
556
614
|
},
|
|
557
615
|
"effects": {
|
|
558
|
-
"
|
|
616
|
+
"CONFIRM_DELETE": [
|
|
617
|
+
[
|
|
618
|
+
"persist",
|
|
619
|
+
"delete",
|
|
620
|
+
"ListItem",
|
|
621
|
+
"@entity.pendingId"
|
|
622
|
+
],
|
|
623
|
+
[
|
|
624
|
+
"render-ui",
|
|
625
|
+
"modal",
|
|
626
|
+
null
|
|
627
|
+
],
|
|
628
|
+
[
|
|
629
|
+
"render-ui",
|
|
630
|
+
"main",
|
|
631
|
+
{
|
|
632
|
+
"type": "box"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
[
|
|
636
|
+
"ref",
|
|
637
|
+
"ListItem"
|
|
638
|
+
]
|
|
639
|
+
],
|
|
640
|
+
"CANCEL": [
|
|
641
|
+
[
|
|
642
|
+
"render-ui",
|
|
643
|
+
"modal",
|
|
644
|
+
null
|
|
645
|
+
],
|
|
646
|
+
[
|
|
647
|
+
"render-ui",
|
|
648
|
+
"main",
|
|
649
|
+
{
|
|
650
|
+
"type": "box"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
559
653
|
[
|
|
560
654
|
"ref",
|
|
561
655
|
"ListItem"
|
|
@@ -578,98 +672,79 @@
|
|
|
578
672
|
"render-ui",
|
|
579
673
|
"modal",
|
|
580
674
|
{
|
|
581
|
-
"type": "stack",
|
|
582
675
|
"direction": "vertical",
|
|
583
|
-
"
|
|
676
|
+
"type": "stack",
|
|
584
677
|
"children": [
|
|
585
678
|
{
|
|
586
|
-
"type": "stack",
|
|
587
679
|
"direction": "horizontal",
|
|
588
|
-
"gap": "sm",
|
|
589
|
-
"align": "center",
|
|
590
680
|
"children": [
|
|
591
681
|
{
|
|
592
682
|
"type": "icon",
|
|
593
|
-
"
|
|
594
|
-
"
|
|
683
|
+
"size": "md",
|
|
684
|
+
"name": "alert-triangle"
|
|
595
685
|
},
|
|
596
686
|
{
|
|
597
|
-
"type": "typography",
|
|
598
687
|
"content": "Delete ListItem",
|
|
599
|
-
"variant": "h3"
|
|
688
|
+
"variant": "h3",
|
|
689
|
+
"type": "typography"
|
|
600
690
|
}
|
|
601
|
-
]
|
|
691
|
+
],
|
|
692
|
+
"gap": "sm",
|
|
693
|
+
"type": "stack",
|
|
694
|
+
"align": "center"
|
|
602
695
|
},
|
|
603
696
|
{
|
|
604
697
|
"type": "divider"
|
|
605
698
|
},
|
|
606
699
|
{
|
|
607
700
|
"type": "alert",
|
|
608
|
-
"
|
|
609
|
-
"
|
|
701
|
+
"message": "This action cannot be undone.",
|
|
702
|
+
"variant": "danger"
|
|
610
703
|
},
|
|
611
704
|
{
|
|
612
|
-
"type": "stack",
|
|
613
705
|
"direction": "horizontal",
|
|
614
706
|
"gap": "sm",
|
|
707
|
+
"type": "stack",
|
|
615
708
|
"justify": "end",
|
|
616
709
|
"children": [
|
|
617
710
|
{
|
|
618
|
-
"
|
|
619
|
-
"label": "Cancel",
|
|
711
|
+
"variant": "ghost",
|
|
620
712
|
"event": "CANCEL",
|
|
621
|
-
"
|
|
713
|
+
"label": "Cancel",
|
|
714
|
+
"type": "button"
|
|
622
715
|
},
|
|
623
716
|
{
|
|
624
717
|
"type": "button",
|
|
625
|
-
"label": "Delete",
|
|
626
718
|
"event": "CONFIRM_DELETE",
|
|
627
|
-
"
|
|
628
|
-
"
|
|
719
|
+
"icon": "check",
|
|
720
|
+
"label": "Delete",
|
|
721
|
+
"variant": "danger"
|
|
629
722
|
}
|
|
630
723
|
]
|
|
631
724
|
}
|
|
632
|
-
]
|
|
725
|
+
],
|
|
726
|
+
"gap": "md"
|
|
633
727
|
}
|
|
634
728
|
]
|
|
635
729
|
],
|
|
636
|
-
"
|
|
637
|
-
[
|
|
638
|
-
"persist",
|
|
639
|
-
"delete",
|
|
640
|
-
"ListItem",
|
|
641
|
-
"@entity.pendingId"
|
|
642
|
-
],
|
|
643
|
-
[
|
|
644
|
-
"render-ui",
|
|
645
|
-
"modal",
|
|
646
|
-
null
|
|
647
|
-
],
|
|
730
|
+
"INIT": [
|
|
648
731
|
[
|
|
649
732
|
"ref",
|
|
650
733
|
"ListItem"
|
|
651
|
-
],
|
|
652
|
-
[
|
|
653
|
-
"emit",
|
|
654
|
-
"LIST_ITEM_DELETED"
|
|
655
734
|
]
|
|
656
735
|
],
|
|
657
|
-
"
|
|
736
|
+
"CLOSE": [
|
|
658
737
|
[
|
|
659
738
|
"render-ui",
|
|
660
739
|
"modal",
|
|
661
740
|
null
|
|
662
741
|
],
|
|
663
|
-
[
|
|
664
|
-
"ref",
|
|
665
|
-
"ListItem"
|
|
666
|
-
]
|
|
667
|
-
],
|
|
668
|
-
"CLOSE": [
|
|
669
742
|
[
|
|
670
743
|
"render-ui",
|
|
671
|
-
"
|
|
672
|
-
|
|
744
|
+
"main",
|
|
745
|
+
{
|
|
746
|
+
"type": "box"
|
|
747
|
+
}
|
|
673
748
|
],
|
|
674
749
|
[
|
|
675
750
|
"ref",
|