@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-sort",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-sort as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "SortableItemOrbital",
|
|
@@ -40,8 +40,48 @@
|
|
|
40
40
|
"traits": [
|
|
41
41
|
{
|
|
42
42
|
"name": "SortableItemSort",
|
|
43
|
-
"linkedEntity": "SortableItem",
|
|
44
43
|
"category": "interaction",
|
|
44
|
+
"linkedEntity": "SortableItem",
|
|
45
|
+
"emits": [
|
|
46
|
+
{
|
|
47
|
+
"event": "SortableItemLoaded",
|
|
48
|
+
"description": "Fired when SortableItem 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": "SortableItemLoadFailed",
|
|
75
|
+
"description": "Fired when SortableItem 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
|
{
|
|
@@ -71,6 +111,20 @@
|
|
|
71
111
|
"type": "string"
|
|
72
112
|
}
|
|
73
113
|
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "SortableItemLoaded",
|
|
117
|
+
"name": "SortableItem loaded"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"key": "SortableItemLoadFailed",
|
|
121
|
+
"name": "SortableItem load failed",
|
|
122
|
+
"payload": [
|
|
123
|
+
{
|
|
124
|
+
"name": "message",
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
74
128
|
}
|
|
75
129
|
],
|
|
76
130
|
"transitions": [
|
|
@@ -81,7 +135,13 @@
|
|
|
81
135
|
"effects": [
|
|
82
136
|
[
|
|
83
137
|
"fetch",
|
|
84
|
-
"SortableItem"
|
|
138
|
+
"SortableItem",
|
|
139
|
+
{
|
|
140
|
+
"emit": {
|
|
141
|
+
"success": "SortableItemLoaded",
|
|
142
|
+
"failure": "SortableItemLoadFailed"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
85
145
|
],
|
|
86
146
|
[
|
|
87
147
|
"render-ui",
|
|
@@ -89,24 +149,17 @@
|
|
|
89
149
|
{
|
|
90
150
|
"type": "stack",
|
|
91
151
|
"direction": "vertical",
|
|
92
|
-
"gap": "lg",
|
|
93
152
|
"children": [
|
|
94
153
|
{
|
|
95
|
-
"type": "stack",
|
|
96
|
-
"direction": "horizontal",
|
|
97
|
-
"gap": "sm",
|
|
98
154
|
"justify": "space-between",
|
|
99
|
-
"align": "center",
|
|
100
155
|
"children": [
|
|
101
156
|
{
|
|
102
|
-
"type": "stack",
|
|
103
|
-
"direction": "horizontal",
|
|
104
|
-
"gap": "sm",
|
|
105
157
|
"align": "center",
|
|
158
|
+
"direction": "horizontal",
|
|
106
159
|
"children": [
|
|
107
160
|
{
|
|
108
|
-
"type": "icon",
|
|
109
161
|
"name": "arrow-up-down",
|
|
162
|
+
"type": "icon",
|
|
110
163
|
"size": "lg"
|
|
111
164
|
},
|
|
112
165
|
{
|
|
@@ -114,9 +167,15 @@
|
|
|
114
167
|
"content": "SortableItems",
|
|
115
168
|
"variant": "h2"
|
|
116
169
|
}
|
|
117
|
-
]
|
|
170
|
+
],
|
|
171
|
+
"gap": "sm",
|
|
172
|
+
"type": "stack"
|
|
118
173
|
}
|
|
119
|
-
]
|
|
174
|
+
],
|
|
175
|
+
"align": "center",
|
|
176
|
+
"gap": "sm",
|
|
177
|
+
"type": "stack",
|
|
178
|
+
"direction": "horizontal"
|
|
120
179
|
},
|
|
121
180
|
{
|
|
122
181
|
"type": "divider"
|
|
@@ -124,57 +183,57 @@
|
|
|
124
183
|
{
|
|
125
184
|
"type": "stack",
|
|
126
185
|
"direction": "horizontal",
|
|
127
|
-
"gap": "sm",
|
|
128
186
|
"align": "center",
|
|
187
|
+
"gap": "sm",
|
|
129
188
|
"children": [
|
|
130
189
|
{
|
|
131
|
-
"type": "typography",
|
|
132
|
-
"variant": "caption",
|
|
133
190
|
"color": "muted",
|
|
134
|
-
"
|
|
191
|
+
"variant": "caption",
|
|
192
|
+
"content": "Sort by",
|
|
193
|
+
"type": "typography"
|
|
135
194
|
},
|
|
136
195
|
{
|
|
137
|
-
"type": "button",
|
|
138
|
-
"label": "Name",
|
|
139
196
|
"event": "SORT",
|
|
197
|
+
"variant": "secondary",
|
|
198
|
+
"label": "Name",
|
|
140
199
|
"actionPayload": {
|
|
141
|
-
"
|
|
142
|
-
"
|
|
200
|
+
"direction": "asc",
|
|
201
|
+
"field": "name"
|
|
143
202
|
},
|
|
144
|
-
"
|
|
145
|
-
"
|
|
203
|
+
"icon": "arrow-up-down",
|
|
204
|
+
"type": "button"
|
|
146
205
|
},
|
|
147
206
|
{
|
|
148
207
|
"type": "button",
|
|
149
208
|
"label": "Description",
|
|
150
209
|
"event": "SORT",
|
|
210
|
+
"variant": "secondary",
|
|
151
211
|
"actionPayload": {
|
|
152
|
-
"
|
|
153
|
-
"
|
|
212
|
+
"direction": "asc",
|
|
213
|
+
"field": "description"
|
|
154
214
|
},
|
|
155
|
-
"variant": "secondary",
|
|
156
215
|
"icon": "arrow-up-down"
|
|
157
216
|
},
|
|
158
217
|
{
|
|
159
|
-
"
|
|
160
|
-
"label": "Status",
|
|
218
|
+
"icon": "arrow-up-down",
|
|
161
219
|
"event": "SORT",
|
|
220
|
+
"variant": "secondary",
|
|
221
|
+
"label": "Status",
|
|
222
|
+
"type": "button",
|
|
162
223
|
"actionPayload": {
|
|
163
224
|
"field": "status",
|
|
164
225
|
"direction": "asc"
|
|
165
|
-
}
|
|
166
|
-
"variant": "secondary",
|
|
167
|
-
"icon": "arrow-up-down"
|
|
226
|
+
}
|
|
168
227
|
},
|
|
169
228
|
{
|
|
170
|
-
"type": "button",
|
|
171
229
|
"label": "CreatedAt",
|
|
230
|
+
"type": "button",
|
|
172
231
|
"event": "SORT",
|
|
232
|
+
"variant": "secondary",
|
|
173
233
|
"actionPayload": {
|
|
174
|
-
"
|
|
175
|
-
"
|
|
234
|
+
"direction": "asc",
|
|
235
|
+
"field": "createdAt"
|
|
176
236
|
},
|
|
177
|
-
"variant": "secondary",
|
|
178
237
|
"icon": "arrow-up-down"
|
|
179
238
|
}
|
|
180
239
|
]
|
|
@@ -182,28 +241,29 @@
|
|
|
182
241
|
{
|
|
183
242
|
"type": "data-grid",
|
|
184
243
|
"entity": "SortableItem",
|
|
185
|
-
"emptyIcon": "inbox",
|
|
186
|
-
"emptyTitle": "No sortableitems yet",
|
|
187
|
-
"emptyDescription": "Add sortableitems to see them here.",
|
|
188
244
|
"columns": [
|
|
189
245
|
{
|
|
246
|
+
"variant": "h4",
|
|
190
247
|
"name": "name",
|
|
191
|
-
"label": "Name"
|
|
192
|
-
"variant": "h4"
|
|
248
|
+
"label": "Name"
|
|
193
249
|
},
|
|
194
250
|
{
|
|
195
|
-
"
|
|
251
|
+
"variant": "caption",
|
|
196
252
|
"label": "Description",
|
|
197
|
-
"
|
|
253
|
+
"name": "description"
|
|
198
254
|
},
|
|
199
255
|
{
|
|
200
|
-
"name": "status",
|
|
201
256
|
"label": "Status",
|
|
257
|
+
"name": "status",
|
|
202
258
|
"variant": "badge"
|
|
203
259
|
}
|
|
204
|
-
]
|
|
260
|
+
],
|
|
261
|
+
"emptyDescription": "Add sortableitems to see them here.",
|
|
262
|
+
"emptyTitle": "No sortableitems yet",
|
|
263
|
+
"emptyIcon": "inbox"
|
|
205
264
|
}
|
|
206
|
-
]
|
|
265
|
+
],
|
|
266
|
+
"gap": "lg"
|
|
207
267
|
}
|
|
208
268
|
]
|
|
209
269
|
]
|
|
@@ -216,51 +276,56 @@
|
|
|
216
276
|
[
|
|
217
277
|
"fetch",
|
|
218
278
|
"SortableItem",
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
279
|
+
{
|
|
280
|
+
"sort": [
|
|
281
|
+
"concat",
|
|
282
|
+
"@payload.field",
|
|
283
|
+
":",
|
|
284
|
+
"@payload.direction"
|
|
285
|
+
],
|
|
286
|
+
"emit": {
|
|
287
|
+
"success": "SortableItemLoaded",
|
|
288
|
+
"failure": "SortableItemLoadFailed"
|
|
289
|
+
}
|
|
290
|
+
}
|
|
226
291
|
],
|
|
227
292
|
[
|
|
228
293
|
"render-ui",
|
|
229
294
|
"main",
|
|
230
295
|
{
|
|
231
|
-
"type": "stack",
|
|
232
|
-
"direction": "vertical",
|
|
233
296
|
"gap": "lg",
|
|
297
|
+
"direction": "vertical",
|
|
298
|
+
"type": "stack",
|
|
234
299
|
"children": [
|
|
235
300
|
{
|
|
236
301
|
"type": "stack",
|
|
302
|
+
"align": "center",
|
|
303
|
+
"justify": "space-between",
|
|
237
304
|
"direction": "horizontal",
|
|
238
305
|
"gap": "sm",
|
|
239
|
-
"justify": "space-between",
|
|
240
|
-
"align": "center",
|
|
241
306
|
"children": [
|
|
242
307
|
{
|
|
243
|
-
"type": "stack",
|
|
244
308
|
"direction": "horizontal",
|
|
245
|
-
"
|
|
246
|
-
"align": "center",
|
|
309
|
+
"type": "stack",
|
|
247
310
|
"children": [
|
|
248
311
|
{
|
|
249
|
-
"
|
|
312
|
+
"size": "lg",
|
|
250
313
|
"name": "arrow-up-down",
|
|
251
|
-
"
|
|
314
|
+
"type": "icon"
|
|
252
315
|
},
|
|
253
316
|
{
|
|
254
|
-
"
|
|
317
|
+
"variant": "h2",
|
|
255
318
|
"content": "SortableItems",
|
|
256
|
-
"
|
|
319
|
+
"type": "typography"
|
|
257
320
|
}
|
|
258
|
-
]
|
|
321
|
+
],
|
|
322
|
+
"align": "center",
|
|
323
|
+
"gap": "sm"
|
|
259
324
|
},
|
|
260
325
|
{
|
|
326
|
+
"event": "INIT",
|
|
261
327
|
"type": "button",
|
|
262
328
|
"label": "Clear sort",
|
|
263
|
-
"event": "INIT",
|
|
264
329
|
"variant": "ghost",
|
|
265
330
|
"icon": "x"
|
|
266
331
|
}
|
|
@@ -271,51 +336,47 @@
|
|
|
271
336
|
},
|
|
272
337
|
{
|
|
273
338
|
"type": "stack",
|
|
274
|
-
"direction": "horizontal",
|
|
275
|
-
"gap": "sm",
|
|
276
|
-
"align": "center",
|
|
277
339
|
"children": [
|
|
278
340
|
{
|
|
279
|
-
"type": "typography",
|
|
280
|
-
"variant": "caption",
|
|
281
341
|
"color": "muted",
|
|
282
|
-
"content": "Sort by"
|
|
342
|
+
"content": "Sort by",
|
|
343
|
+
"type": "typography",
|
|
344
|
+
"variant": "caption"
|
|
283
345
|
},
|
|
284
346
|
{
|
|
347
|
+
"event": "SORT",
|
|
285
348
|
"type": "button",
|
|
349
|
+
"icon": "chevron-up",
|
|
350
|
+
"variant": "primary",
|
|
286
351
|
"label": "Name",
|
|
287
|
-
"event": "SORT",
|
|
288
352
|
"actionPayload": {
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
}
|
|
292
|
-
"variant": "primary",
|
|
293
|
-
"icon": "chevron-up"
|
|
353
|
+
"direction": "desc",
|
|
354
|
+
"field": "name"
|
|
355
|
+
}
|
|
294
356
|
},
|
|
295
357
|
{
|
|
296
358
|
"type": "button",
|
|
297
|
-
"label": "Description",
|
|
298
|
-
"event": "SORT",
|
|
299
359
|
"actionPayload": {
|
|
300
360
|
"field": "description",
|
|
301
361
|
"direction": "asc"
|
|
302
362
|
},
|
|
303
|
-
"
|
|
304
|
-
"
|
|
363
|
+
"icon": "arrow-up-down",
|
|
364
|
+
"label": "Description",
|
|
365
|
+
"event": "SORT",
|
|
366
|
+
"variant": "secondary"
|
|
305
367
|
},
|
|
306
368
|
{
|
|
307
369
|
"type": "button",
|
|
308
|
-
"label": "Status",
|
|
309
370
|
"event": "SORT",
|
|
310
|
-
"
|
|
311
|
-
"field": "status",
|
|
312
|
-
"direction": "asc"
|
|
313
|
-
},
|
|
371
|
+
"label": "Status",
|
|
314
372
|
"variant": "secondary",
|
|
315
|
-
"icon": "arrow-up-down"
|
|
373
|
+
"icon": "arrow-up-down",
|
|
374
|
+
"actionPayload": {
|
|
375
|
+
"direction": "asc",
|
|
376
|
+
"field": "status"
|
|
377
|
+
}
|
|
316
378
|
},
|
|
317
379
|
{
|
|
318
|
-
"type": "button",
|
|
319
380
|
"label": "CreatedAt",
|
|
320
381
|
"event": "SORT",
|
|
321
382
|
"actionPayload": {
|
|
@@ -323,16 +384,16 @@
|
|
|
323
384
|
"direction": "asc"
|
|
324
385
|
},
|
|
325
386
|
"variant": "secondary",
|
|
387
|
+
"type": "button",
|
|
326
388
|
"icon": "arrow-up-down"
|
|
327
389
|
}
|
|
328
|
-
]
|
|
390
|
+
],
|
|
391
|
+
"gap": "sm",
|
|
392
|
+
"align": "center",
|
|
393
|
+
"direction": "horizontal"
|
|
329
394
|
},
|
|
330
395
|
{
|
|
331
|
-
"type": "data-grid",
|
|
332
|
-
"entity": "SortableItem",
|
|
333
|
-
"emptyIcon": "inbox",
|
|
334
396
|
"emptyTitle": "No sortableitems yet",
|
|
335
|
-
"emptyDescription": "Add sortableitems to see them here.",
|
|
336
397
|
"columns": [
|
|
337
398
|
{
|
|
338
399
|
"name": "name",
|
|
@@ -341,42 +402,46 @@
|
|
|
341
402
|
},
|
|
342
403
|
{
|
|
343
404
|
"name": "description",
|
|
344
|
-
"
|
|
345
|
-
"
|
|
405
|
+
"variant": "caption",
|
|
406
|
+
"label": "Description"
|
|
346
407
|
},
|
|
347
408
|
{
|
|
348
|
-
"name": "status",
|
|
349
409
|
"label": "Status",
|
|
350
|
-
"variant": "badge"
|
|
410
|
+
"variant": "badge",
|
|
411
|
+
"name": "status"
|
|
351
412
|
}
|
|
352
|
-
]
|
|
413
|
+
],
|
|
414
|
+
"entity": "SortableItem",
|
|
415
|
+
"emptyIcon": "inbox",
|
|
416
|
+
"emptyDescription": "Add sortableitems to see them here.",
|
|
417
|
+
"type": "data-grid"
|
|
353
418
|
},
|
|
354
419
|
{
|
|
355
|
-
"type": "sortable-list",
|
|
356
|
-
"entity": "SortableItem",
|
|
357
420
|
"onReorder": "SORT",
|
|
358
421
|
"renderItem": [
|
|
359
422
|
"fn",
|
|
360
423
|
"item",
|
|
361
424
|
{
|
|
362
|
-
"type": "stack",
|
|
363
425
|
"direction": "horizontal",
|
|
364
|
-
"gap": "md",
|
|
365
426
|
"align": "center",
|
|
427
|
+
"type": "stack",
|
|
366
428
|
"children": [
|
|
367
429
|
{
|
|
368
|
-
"type": "icon",
|
|
369
430
|
"name": "grip-vertical",
|
|
370
|
-
"size": "sm"
|
|
431
|
+
"size": "sm",
|
|
432
|
+
"type": "icon"
|
|
371
433
|
},
|
|
372
434
|
{
|
|
435
|
+
"content": "@item.name",
|
|
373
436
|
"type": "typography",
|
|
374
|
-
"variant": "body"
|
|
375
|
-
"content": "@item.name"
|
|
437
|
+
"variant": "body"
|
|
376
438
|
}
|
|
377
|
-
]
|
|
439
|
+
],
|
|
440
|
+
"gap": "md"
|
|
378
441
|
}
|
|
379
|
-
]
|
|
442
|
+
],
|
|
443
|
+
"type": "sortable-list",
|
|
444
|
+
"entity": "SortableItem"
|
|
380
445
|
}
|
|
381
446
|
]
|
|
382
447
|
}
|
|
@@ -391,51 +456,54 @@
|
|
|
391
456
|
[
|
|
392
457
|
"fetch",
|
|
393
458
|
"SortableItem",
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
459
|
+
{
|
|
460
|
+
"sort": [
|
|
461
|
+
"concat",
|
|
462
|
+
"@payload.field",
|
|
463
|
+
":",
|
|
464
|
+
"@payload.direction"
|
|
465
|
+
],
|
|
466
|
+
"emit": {
|
|
467
|
+
"failure": "SortableItemLoadFailed",
|
|
468
|
+
"success": "SortableItemLoaded"
|
|
469
|
+
}
|
|
470
|
+
}
|
|
401
471
|
],
|
|
402
472
|
[
|
|
403
473
|
"render-ui",
|
|
404
474
|
"main",
|
|
405
475
|
{
|
|
406
476
|
"type": "stack",
|
|
407
|
-
"direction": "vertical",
|
|
408
|
-
"gap": "lg",
|
|
409
477
|
"children": [
|
|
410
478
|
{
|
|
411
|
-
"
|
|
479
|
+
"align": "center",
|
|
480
|
+
"justify": "space-between",
|
|
412
481
|
"direction": "horizontal",
|
|
413
482
|
"gap": "sm",
|
|
414
|
-
"
|
|
415
|
-
"align": "center",
|
|
483
|
+
"type": "stack",
|
|
416
484
|
"children": [
|
|
417
485
|
{
|
|
418
|
-
"type": "stack",
|
|
419
|
-
"direction": "horizontal",
|
|
420
|
-
"gap": "sm",
|
|
421
486
|
"align": "center",
|
|
422
487
|
"children": [
|
|
423
488
|
{
|
|
424
|
-
"
|
|
489
|
+
"size": "lg",
|
|
425
490
|
"name": "arrow-up-down",
|
|
426
|
-
"
|
|
491
|
+
"type": "icon"
|
|
427
492
|
},
|
|
428
493
|
{
|
|
429
494
|
"type": "typography",
|
|
430
495
|
"content": "SortableItems",
|
|
431
496
|
"variant": "h2"
|
|
432
497
|
}
|
|
433
|
-
]
|
|
498
|
+
],
|
|
499
|
+
"type": "stack",
|
|
500
|
+
"direction": "horizontal",
|
|
501
|
+
"gap": "sm"
|
|
434
502
|
},
|
|
435
503
|
{
|
|
436
|
-
"type": "button",
|
|
437
|
-
"label": "Clear sort",
|
|
438
504
|
"event": "INIT",
|
|
505
|
+
"label": "Clear sort",
|
|
506
|
+
"type": "button",
|
|
439
507
|
"variant": "ghost",
|
|
440
508
|
"icon": "x"
|
|
441
509
|
}
|
|
@@ -446,73 +514,73 @@
|
|
|
446
514
|
},
|
|
447
515
|
{
|
|
448
516
|
"type": "stack",
|
|
449
|
-
"direction": "horizontal",
|
|
450
|
-
"gap": "sm",
|
|
451
517
|
"align": "center",
|
|
452
518
|
"children": [
|
|
453
519
|
{
|
|
454
|
-
"
|
|
455
|
-
"variant": "caption",
|
|
520
|
+
"content": "Sort by",
|
|
456
521
|
"color": "muted",
|
|
457
|
-
"
|
|
522
|
+
"type": "typography",
|
|
523
|
+
"variant": "caption"
|
|
458
524
|
},
|
|
459
525
|
{
|
|
460
|
-
"
|
|
461
|
-
"label": "Name",
|
|
462
|
-
"event": "SORT",
|
|
526
|
+
"icon": "chevron-up",
|
|
463
527
|
"actionPayload": {
|
|
464
528
|
"field": "name",
|
|
465
529
|
"direction": "desc"
|
|
466
530
|
},
|
|
531
|
+
"type": "button",
|
|
532
|
+
"event": "SORT",
|
|
467
533
|
"variant": "primary",
|
|
468
|
-
"
|
|
534
|
+
"label": "Name"
|
|
469
535
|
},
|
|
470
536
|
{
|
|
471
|
-
"
|
|
537
|
+
"icon": "arrow-up-down",
|
|
472
538
|
"label": "Description",
|
|
473
539
|
"event": "SORT",
|
|
474
540
|
"actionPayload": {
|
|
475
541
|
"field": "description",
|
|
476
542
|
"direction": "asc"
|
|
477
543
|
},
|
|
478
|
-
"
|
|
479
|
-
"
|
|
544
|
+
"type": "button",
|
|
545
|
+
"variant": "secondary"
|
|
480
546
|
},
|
|
481
547
|
{
|
|
548
|
+
"event": "SORT",
|
|
549
|
+
"variant": "secondary",
|
|
482
550
|
"type": "button",
|
|
551
|
+
"icon": "arrow-up-down",
|
|
483
552
|
"label": "Status",
|
|
484
|
-
"event": "SORT",
|
|
485
553
|
"actionPayload": {
|
|
486
554
|
"field": "status",
|
|
487
555
|
"direction": "asc"
|
|
488
|
-
}
|
|
489
|
-
"variant": "secondary",
|
|
490
|
-
"icon": "arrow-up-down"
|
|
556
|
+
}
|
|
491
557
|
},
|
|
492
558
|
{
|
|
493
559
|
"type": "button",
|
|
494
|
-
"
|
|
560
|
+
"variant": "secondary",
|
|
561
|
+
"icon": "arrow-up-down",
|
|
495
562
|
"event": "SORT",
|
|
496
563
|
"actionPayload": {
|
|
497
|
-
"
|
|
498
|
-
"
|
|
564
|
+
"direction": "asc",
|
|
565
|
+
"field": "createdAt"
|
|
499
566
|
},
|
|
500
|
-
"
|
|
501
|
-
"icon": "arrow-up-down"
|
|
567
|
+
"label": "CreatedAt"
|
|
502
568
|
}
|
|
503
|
-
]
|
|
569
|
+
],
|
|
570
|
+
"gap": "sm",
|
|
571
|
+
"direction": "horizontal"
|
|
504
572
|
},
|
|
505
573
|
{
|
|
506
|
-
"type": "data-grid",
|
|
507
574
|
"entity": "SortableItem",
|
|
508
575
|
"emptyIcon": "inbox",
|
|
509
576
|
"emptyTitle": "No sortableitems yet",
|
|
510
577
|
"emptyDescription": "Add sortableitems to see them here.",
|
|
578
|
+
"type": "data-grid",
|
|
511
579
|
"columns": [
|
|
512
580
|
{
|
|
513
|
-
"name": "name",
|
|
514
581
|
"label": "Name",
|
|
515
|
-
"variant": "h4"
|
|
582
|
+
"variant": "h4",
|
|
583
|
+
"name": "name"
|
|
516
584
|
},
|
|
517
585
|
{
|
|
518
586
|
"name": "description",
|
|
@@ -520,24 +588,23 @@
|
|
|
520
588
|
"variant": "caption"
|
|
521
589
|
},
|
|
522
590
|
{
|
|
523
|
-
"name": "status",
|
|
524
591
|
"label": "Status",
|
|
525
|
-
"variant": "badge"
|
|
592
|
+
"variant": "badge",
|
|
593
|
+
"name": "status"
|
|
526
594
|
}
|
|
527
595
|
]
|
|
528
596
|
},
|
|
529
597
|
{
|
|
530
598
|
"type": "sortable-list",
|
|
531
|
-
"entity": "SortableItem",
|
|
532
599
|
"onReorder": "SORT",
|
|
600
|
+
"entity": "SortableItem",
|
|
533
601
|
"renderItem": [
|
|
534
602
|
"fn",
|
|
535
603
|
"item",
|
|
536
604
|
{
|
|
537
|
-
"
|
|
605
|
+
"align": "center",
|
|
538
606
|
"direction": "horizontal",
|
|
539
607
|
"gap": "md",
|
|
540
|
-
"align": "center",
|
|
541
608
|
"children": [
|
|
542
609
|
{
|
|
543
610
|
"type": "icon",
|
|
@@ -545,15 +612,18 @@
|
|
|
545
612
|
"size": "sm"
|
|
546
613
|
},
|
|
547
614
|
{
|
|
548
|
-
"type": "typography",
|
|
549
615
|
"variant": "body",
|
|
616
|
+
"type": "typography",
|
|
550
617
|
"content": "@item.name"
|
|
551
618
|
}
|
|
552
|
-
]
|
|
619
|
+
],
|
|
620
|
+
"type": "stack"
|
|
553
621
|
}
|
|
554
622
|
]
|
|
555
623
|
}
|
|
556
|
-
]
|
|
624
|
+
],
|
|
625
|
+
"gap": "lg",
|
|
626
|
+
"direction": "vertical"
|
|
557
627
|
}
|
|
558
628
|
]
|
|
559
629
|
]
|
|
@@ -565,7 +635,13 @@
|
|
|
565
635
|
"effects": [
|
|
566
636
|
[
|
|
567
637
|
"fetch",
|
|
568
|
-
"SortableItem"
|
|
638
|
+
"SortableItem",
|
|
639
|
+
{
|
|
640
|
+
"emit": {
|
|
641
|
+
"failure": "SortableItemLoadFailed",
|
|
642
|
+
"success": "SortableItemLoaded"
|
|
643
|
+
}
|
|
644
|
+
}
|
|
569
645
|
],
|
|
570
646
|
[
|
|
571
647
|
"render-ui",
|
|
@@ -573,102 +649,101 @@
|
|
|
573
649
|
{
|
|
574
650
|
"type": "stack",
|
|
575
651
|
"direction": "vertical",
|
|
576
|
-
"gap": "lg",
|
|
577
652
|
"children": [
|
|
578
653
|
{
|
|
579
|
-
"type": "stack",
|
|
580
|
-
"direction": "horizontal",
|
|
581
|
-
"gap": "sm",
|
|
582
654
|
"justify": "space-between",
|
|
583
|
-
"align": "center",
|
|
584
655
|
"children": [
|
|
585
656
|
{
|
|
586
|
-
"type": "stack",
|
|
587
|
-
"direction": "horizontal",
|
|
588
|
-
"gap": "sm",
|
|
589
|
-
"align": "center",
|
|
590
657
|
"children": [
|
|
591
658
|
{
|
|
659
|
+
"size": "lg",
|
|
592
660
|
"type": "icon",
|
|
593
|
-
"name": "arrow-up-down"
|
|
594
|
-
"size": "lg"
|
|
661
|
+
"name": "arrow-up-down"
|
|
595
662
|
},
|
|
596
663
|
{
|
|
597
664
|
"type": "typography",
|
|
598
665
|
"content": "SortableItems",
|
|
599
666
|
"variant": "h2"
|
|
600
667
|
}
|
|
601
|
-
]
|
|
668
|
+
],
|
|
669
|
+
"direction": "horizontal",
|
|
670
|
+
"type": "stack",
|
|
671
|
+
"align": "center",
|
|
672
|
+
"gap": "sm"
|
|
602
673
|
}
|
|
603
|
-
]
|
|
674
|
+
],
|
|
675
|
+
"direction": "horizontal",
|
|
676
|
+
"align": "center",
|
|
677
|
+
"type": "stack",
|
|
678
|
+
"gap": "sm"
|
|
604
679
|
},
|
|
605
680
|
{
|
|
606
681
|
"type": "divider"
|
|
607
682
|
},
|
|
608
683
|
{
|
|
609
|
-
"
|
|
684
|
+
"align": "center",
|
|
610
685
|
"direction": "horizontal",
|
|
611
686
|
"gap": "sm",
|
|
612
|
-
"align": "center",
|
|
613
687
|
"children": [
|
|
614
688
|
{
|
|
615
689
|
"type": "typography",
|
|
616
690
|
"variant": "caption",
|
|
617
|
-
"
|
|
618
|
-
"
|
|
691
|
+
"content": "Sort by",
|
|
692
|
+
"color": "muted"
|
|
619
693
|
},
|
|
620
694
|
{
|
|
621
|
-
"
|
|
622
|
-
"
|
|
695
|
+
"variant": "secondary",
|
|
696
|
+
"icon": "arrow-up-down",
|
|
623
697
|
"event": "SORT",
|
|
698
|
+
"label": "Name",
|
|
624
699
|
"actionPayload": {
|
|
625
700
|
"field": "name",
|
|
626
701
|
"direction": "asc"
|
|
627
702
|
},
|
|
628
|
-
"
|
|
629
|
-
"icon": "arrow-up-down"
|
|
703
|
+
"type": "button"
|
|
630
704
|
},
|
|
631
705
|
{
|
|
632
|
-
"type": "button",
|
|
633
|
-
"label": "Description",
|
|
634
|
-
"event": "SORT",
|
|
635
706
|
"actionPayload": {
|
|
636
|
-
"
|
|
637
|
-
"
|
|
707
|
+
"direction": "asc",
|
|
708
|
+
"field": "description"
|
|
638
709
|
},
|
|
710
|
+
"type": "button",
|
|
639
711
|
"variant": "secondary",
|
|
640
|
-
"icon": "arrow-up-down"
|
|
712
|
+
"icon": "arrow-up-down",
|
|
713
|
+
"event": "SORT",
|
|
714
|
+
"label": "Description"
|
|
641
715
|
},
|
|
642
716
|
{
|
|
643
|
-
"
|
|
717
|
+
"variant": "secondary",
|
|
644
718
|
"label": "Status",
|
|
719
|
+
"icon": "arrow-up-down",
|
|
645
720
|
"event": "SORT",
|
|
646
721
|
"actionPayload": {
|
|
647
722
|
"field": "status",
|
|
648
723
|
"direction": "asc"
|
|
649
724
|
},
|
|
650
|
-
"
|
|
651
|
-
"icon": "arrow-up-down"
|
|
725
|
+
"type": "button"
|
|
652
726
|
},
|
|
653
727
|
{
|
|
654
|
-
"
|
|
655
|
-
"label": "CreatedAt",
|
|
728
|
+
"variant": "secondary",
|
|
656
729
|
"event": "SORT",
|
|
730
|
+
"label": "CreatedAt",
|
|
731
|
+
"icon": "arrow-up-down",
|
|
732
|
+
"type": "button",
|
|
657
733
|
"actionPayload": {
|
|
658
734
|
"field": "createdAt",
|
|
659
735
|
"direction": "asc"
|
|
660
|
-
}
|
|
661
|
-
"variant": "secondary",
|
|
662
|
-
"icon": "arrow-up-down"
|
|
736
|
+
}
|
|
663
737
|
}
|
|
664
|
-
]
|
|
738
|
+
],
|
|
739
|
+
"type": "stack"
|
|
665
740
|
},
|
|
666
741
|
{
|
|
742
|
+
"emptyTitle": "No sortableitems yet",
|
|
667
743
|
"type": "data-grid",
|
|
668
744
|
"entity": "SortableItem",
|
|
669
|
-
"emptyIcon": "inbox",
|
|
670
|
-
"emptyTitle": "No sortableitems yet",
|
|
671
745
|
"emptyDescription": "Add sortableitems to see them here.",
|
|
746
|
+
"emptyIcon": "inbox",
|
|
672
747
|
"columns": [
|
|
673
748
|
{
|
|
674
749
|
"name": "name",
|
|
@@ -676,24 +751,26 @@
|
|
|
676
751
|
"variant": "h4"
|
|
677
752
|
},
|
|
678
753
|
{
|
|
679
|
-
"name": "description",
|
|
680
754
|
"label": "Description",
|
|
755
|
+
"name": "description",
|
|
681
756
|
"variant": "caption"
|
|
682
757
|
},
|
|
683
758
|
{
|
|
684
759
|
"name": "status",
|
|
685
|
-
"
|
|
686
|
-
"
|
|
760
|
+
"variant": "badge",
|
|
761
|
+
"label": "Status"
|
|
687
762
|
}
|
|
688
763
|
]
|
|
689
764
|
}
|
|
690
|
-
]
|
|
765
|
+
],
|
|
766
|
+
"gap": "lg"
|
|
691
767
|
}
|
|
692
768
|
]
|
|
693
769
|
]
|
|
694
770
|
}
|
|
695
771
|
]
|
|
696
|
-
}
|
|
772
|
+
},
|
|
773
|
+
"scope": "collection"
|
|
697
774
|
}
|
|
698
775
|
],
|
|
699
776
|
"pages": [
|
|
@@ -709,4 +786,4 @@
|
|
|
709
786
|
]
|
|
710
787
|
}
|
|
711
788
|
]
|
|
712
|
-
}
|
|
789
|
+
}
|