@almadar/std 8.5.1 → 9.0.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/agent/atoms/std-agent-activity-log.orb +97 -97
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/dist/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"event": "TabContentLoaded",
|
|
50
50
|
"description": "Fired when TabContent finishes loading; payload.data holds the list",
|
|
51
51
|
"scope": "internal",
|
|
52
|
-
"
|
|
52
|
+
"payloadSchema": [
|
|
53
53
|
{
|
|
54
54
|
"name": "data",
|
|
55
55
|
"type": "[TabContent]"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"event": "TabContentLoadFailed",
|
|
61
61
|
"description": "Fired when TabContent fails to load",
|
|
62
62
|
"scope": "internal",
|
|
63
|
-
"
|
|
63
|
+
"payloadSchema": [
|
|
64
64
|
{
|
|
65
65
|
"name": "error",
|
|
66
66
|
"type": "string"
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
{
|
|
94
94
|
"key": "TabContentLoaded",
|
|
95
95
|
"name": "TabContent loaded",
|
|
96
|
-
"
|
|
96
|
+
"payloadSchema": [
|
|
97
97
|
{
|
|
98
98
|
"name": "data",
|
|
99
99
|
"type": "[TabContent]"
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
{
|
|
104
104
|
"key": "TabContentLoadFailed",
|
|
105
105
|
"name": "TabContent load failed",
|
|
106
|
-
"
|
|
106
|
+
"payloadSchema": [
|
|
107
107
|
{
|
|
108
108
|
"name": "error",
|
|
109
109
|
"type": "string"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
{
|
|
118
118
|
"key": "SELECT_TAB",
|
|
119
119
|
"name": "Select Tab",
|
|
120
|
-
"
|
|
120
|
+
"payloadSchema": [
|
|
121
121
|
{
|
|
122
122
|
"name": "tab",
|
|
123
123
|
"type": "string",
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
"TabContent",
|
|
138
138
|
{
|
|
139
139
|
"emit": {
|
|
140
|
-
"
|
|
141
|
-
"
|
|
140
|
+
"success": "TabContentLoaded",
|
|
141
|
+
"failure": "TabContentLoadFailed"
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
],
|
|
@@ -146,22 +146,22 @@
|
|
|
146
146
|
"render-ui",
|
|
147
147
|
"main",
|
|
148
148
|
{
|
|
149
|
+
"className": "py-12",
|
|
149
150
|
"align": "center",
|
|
150
|
-
"gap": "md",
|
|
151
|
-
"direction": "vertical",
|
|
152
|
-
"type": "stack",
|
|
153
151
|
"children": [
|
|
154
152
|
{
|
|
155
153
|
"type": "spinner"
|
|
156
154
|
},
|
|
157
155
|
{
|
|
158
|
-
"content": "Loading…",
|
|
159
156
|
"type": "typography",
|
|
160
|
-
"
|
|
161
|
-
"color": "muted"
|
|
157
|
+
"content": "Loading…",
|
|
158
|
+
"color": "muted",
|
|
159
|
+
"variant": "caption"
|
|
162
160
|
}
|
|
163
161
|
],
|
|
164
|
-
"
|
|
162
|
+
"direction": "vertical",
|
|
163
|
+
"type": "stack",
|
|
164
|
+
"gap": "md"
|
|
165
165
|
}
|
|
166
166
|
]
|
|
167
167
|
]
|
|
@@ -175,9 +175,15 @@
|
|
|
175
175
|
"render-ui",
|
|
176
176
|
"main",
|
|
177
177
|
{
|
|
178
|
+
"gap": "lg",
|
|
179
|
+
"type": "stack",
|
|
180
|
+
"direction": "vertical",
|
|
178
181
|
"children": [
|
|
179
182
|
{
|
|
183
|
+
"direction": "horizontal",
|
|
184
|
+
"gap": "sm",
|
|
180
185
|
"type": "stack",
|
|
186
|
+
"align": "center",
|
|
181
187
|
"children": [
|
|
182
188
|
{
|
|
183
189
|
"type": "icon",
|
|
@@ -185,22 +191,20 @@
|
|
|
185
191
|
},
|
|
186
192
|
{
|
|
187
193
|
"content": "TabContents",
|
|
188
|
-
"
|
|
189
|
-
"
|
|
194
|
+
"type": "typography",
|
|
195
|
+
"variant": "h2"
|
|
190
196
|
}
|
|
191
|
-
]
|
|
192
|
-
"direction": "horizontal",
|
|
193
|
-
"gap": "sm",
|
|
194
|
-
"align": "center"
|
|
197
|
+
]
|
|
195
198
|
},
|
|
196
199
|
{
|
|
197
200
|
"type": "divider"
|
|
198
201
|
},
|
|
199
202
|
{
|
|
203
|
+
"defaultActiveTab": "name",
|
|
200
204
|
"tabs": [
|
|
201
205
|
{
|
|
202
|
-
"
|
|
203
|
-
"
|
|
206
|
+
"label": "Name",
|
|
207
|
+
"id": "name"
|
|
204
208
|
},
|
|
205
209
|
{
|
|
206
210
|
"label": "Description",
|
|
@@ -216,20 +220,20 @@
|
|
|
216
220
|
}
|
|
217
221
|
],
|
|
218
222
|
"type": "tabs",
|
|
219
|
-
"defaultActiveTab": "name",
|
|
220
223
|
"onTabChange": "SELECT_TAB"
|
|
221
224
|
},
|
|
222
225
|
{
|
|
223
226
|
"type": "divider"
|
|
224
227
|
},
|
|
225
228
|
{
|
|
226
|
-
"fields": [],
|
|
227
229
|
"entity": "@payload.data",
|
|
228
|
-
"
|
|
230
|
+
"fields": [],
|
|
229
231
|
"renderItem": [
|
|
230
232
|
"fn",
|
|
231
233
|
"item",
|
|
232
234
|
{
|
|
235
|
+
"gap": "sm",
|
|
236
|
+
"type": "stack",
|
|
233
237
|
"direction": "vertical",
|
|
234
238
|
"children": [
|
|
235
239
|
{
|
|
@@ -238,22 +242,18 @@
|
|
|
238
242
|
"type": "typography"
|
|
239
243
|
},
|
|
240
244
|
{
|
|
241
|
-
"
|
|
245
|
+
"content": "@item.description",
|
|
242
246
|
"variant": "caption",
|
|
243
247
|
"color": "muted",
|
|
244
|
-
"
|
|
248
|
+
"type": "typography"
|
|
245
249
|
}
|
|
246
|
-
]
|
|
247
|
-
"gap": "sm",
|
|
248
|
-
"type": "stack"
|
|
250
|
+
]
|
|
249
251
|
}
|
|
250
252
|
],
|
|
253
|
+
"type": "data-grid",
|
|
251
254
|
"className": "transition-shadow hover:shadow-md cursor-pointer"
|
|
252
255
|
}
|
|
253
|
-
]
|
|
254
|
-
"type": "stack",
|
|
255
|
-
"direction": "vertical",
|
|
256
|
-
"gap": "lg"
|
|
256
|
+
]
|
|
257
257
|
}
|
|
258
258
|
]
|
|
259
259
|
]
|
|
@@ -267,8 +267,7 @@
|
|
|
267
267
|
"render-ui",
|
|
268
268
|
"main",
|
|
269
269
|
{
|
|
270
|
-
"
|
|
271
|
-
"className": "py-12",
|
|
270
|
+
"align": "center",
|
|
272
271
|
"children": [
|
|
273
272
|
{
|
|
274
273
|
"color": "destructive",
|
|
@@ -281,22 +280,23 @@
|
|
|
281
280
|
"content": "Failed to load"
|
|
282
281
|
},
|
|
283
282
|
{
|
|
284
|
-
"color": "muted",
|
|
285
|
-
"content": "@payload.error",
|
|
286
283
|
"type": "typography",
|
|
287
|
-
"variant": "body"
|
|
284
|
+
"variant": "body",
|
|
285
|
+
"content": "@payload.error",
|
|
286
|
+
"color": "muted"
|
|
288
287
|
},
|
|
289
288
|
{
|
|
290
|
-
"
|
|
291
|
-
"action": "INIT",
|
|
289
|
+
"variant": "primary",
|
|
292
290
|
"type": "button",
|
|
293
291
|
"icon": "rotate-ccw",
|
|
294
|
-
"
|
|
292
|
+
"label": "Retry",
|
|
293
|
+
"action": "INIT"
|
|
295
294
|
}
|
|
296
295
|
],
|
|
296
|
+
"direction": "vertical",
|
|
297
|
+
"className": "py-12",
|
|
297
298
|
"type": "stack",
|
|
298
|
-
"
|
|
299
|
-
"direction": "vertical"
|
|
299
|
+
"gap": "md"
|
|
300
300
|
}
|
|
301
301
|
]
|
|
302
302
|
]
|
|
@@ -311,8 +311,8 @@
|
|
|
311
311
|
"TabContent",
|
|
312
312
|
{
|
|
313
313
|
"emit": {
|
|
314
|
-
"
|
|
315
|
-
"
|
|
314
|
+
"failure": "TabContentLoadFailed",
|
|
315
|
+
"success": "TabContentLoaded"
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
],
|
|
@@ -367,4 +367,4 @@
|
|
|
367
367
|
]
|
|
368
368
|
}
|
|
369
369
|
]
|
|
370
|
-
}
|
|
370
|
+
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"event": "CartItemLoaded",
|
|
66
66
|
"description": "Fired when the cart collection finishes loading; payload.data holds the CartItem list",
|
|
67
67
|
"scope": "internal",
|
|
68
|
-
"
|
|
68
|
+
"payloadSchema": [
|
|
69
69
|
{
|
|
70
70
|
"name": "data",
|
|
71
71
|
"type": "[CartItem]"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"event": "CartItemLoadFailed",
|
|
77
77
|
"description": "Fired when the cart collection fails to load",
|
|
78
78
|
"scope": "internal",
|
|
79
|
-
"
|
|
79
|
+
"payloadSchema": [
|
|
80
80
|
{
|
|
81
81
|
"name": "error",
|
|
82
82
|
"type": "string"
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
{
|
|
128
128
|
"key": "CartItemLoaded",
|
|
129
129
|
"name": "CartItem loaded",
|
|
130
|
-
"
|
|
130
|
+
"payloadSchema": [
|
|
131
131
|
{
|
|
132
132
|
"name": "data",
|
|
133
133
|
"type": "[CartItem]"
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
{
|
|
138
138
|
"key": "CartItemLoadFailed",
|
|
139
139
|
"name": "CartItem load failed",
|
|
140
|
-
"
|
|
140
|
+
"payloadSchema": [
|
|
141
141
|
{
|
|
142
142
|
"name": "error",
|
|
143
143
|
"type": "string"
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
"CartItem",
|
|
161
161
|
{
|
|
162
162
|
"emit": {
|
|
163
|
-
"
|
|
164
|
-
"
|
|
163
|
+
"failure": "CartItemLoadFailed",
|
|
164
|
+
"success": "CartItemLoaded"
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
],
|
|
@@ -169,22 +169,22 @@
|
|
|
169
169
|
"render-ui",
|
|
170
170
|
"main",
|
|
171
171
|
{
|
|
172
|
-
"className": "py-12",
|
|
173
|
-
"align": "center",
|
|
174
172
|
"gap": "md",
|
|
173
|
+
"className": "py-12",
|
|
175
174
|
"children": [
|
|
176
175
|
{
|
|
177
176
|
"type": "spinner"
|
|
178
177
|
},
|
|
179
178
|
{
|
|
180
|
-
"variant": "caption",
|
|
181
179
|
"type": "typography",
|
|
182
180
|
"color": "muted",
|
|
181
|
+
"variant": "caption",
|
|
183
182
|
"content": "Loading cart…"
|
|
184
183
|
}
|
|
185
184
|
],
|
|
186
|
-
"
|
|
187
|
-
"
|
|
185
|
+
"direction": "vertical",
|
|
186
|
+
"align": "center",
|
|
187
|
+
"type": "stack"
|
|
188
188
|
}
|
|
189
189
|
]
|
|
190
190
|
]
|
|
@@ -198,74 +198,74 @@
|
|
|
198
198
|
"render-ui",
|
|
199
199
|
"main",
|
|
200
200
|
{
|
|
201
|
-
"gap": "lg",
|
|
202
|
-
"direction": "vertical",
|
|
203
201
|
"children": [
|
|
204
202
|
{
|
|
203
|
+
"type": "stack",
|
|
205
204
|
"justify": "between",
|
|
205
|
+
"direction": "horizontal",
|
|
206
206
|
"children": [
|
|
207
207
|
{
|
|
208
208
|
"type": "stack",
|
|
209
209
|
"direction": "horizontal",
|
|
210
|
+
"gap": "md",
|
|
210
211
|
"children": [
|
|
211
212
|
{
|
|
212
213
|
"name": "shopping-cart",
|
|
213
214
|
"type": "icon"
|
|
214
215
|
},
|
|
215
216
|
{
|
|
216
|
-
"variant": "h2",
|
|
217
217
|
"content": "Shopping Cart",
|
|
218
|
+
"variant": "h2",
|
|
218
219
|
"type": "typography"
|
|
219
220
|
}
|
|
220
|
-
]
|
|
221
|
-
"gap": "md"
|
|
221
|
+
]
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
|
-
"action": "ADD_ITEM",
|
|
225
224
|
"icon": "plus",
|
|
225
|
+
"action": "ADD_ITEM",
|
|
226
|
+
"label": "Add Item",
|
|
226
227
|
"type": "button",
|
|
227
|
-
"variant": "primary"
|
|
228
|
-
"label": "Add Item"
|
|
228
|
+
"variant": "primary"
|
|
229
229
|
}
|
|
230
230
|
],
|
|
231
|
-
"gap": "md"
|
|
232
|
-
"direction": "horizontal",
|
|
233
|
-
"type": "stack"
|
|
231
|
+
"gap": "md"
|
|
234
232
|
},
|
|
235
233
|
{
|
|
236
234
|
"type": "divider"
|
|
237
235
|
},
|
|
238
236
|
{
|
|
237
|
+
"entity": "@payload.data",
|
|
238
|
+
"type": "data-grid",
|
|
239
239
|
"itemActions": [
|
|
240
240
|
{
|
|
241
|
+
"variant": "danger",
|
|
241
242
|
"event": "REQUEST_REMOVE",
|
|
242
|
-
"label": "Remove"
|
|
243
|
-
"variant": "danger"
|
|
243
|
+
"label": "Remove"
|
|
244
244
|
}
|
|
245
245
|
],
|
|
246
|
-
"entity": "@payload.data",
|
|
247
246
|
"fields": [
|
|
248
247
|
{
|
|
249
|
-
"
|
|
250
|
-
"name": "name",
|
|
248
|
+
"label": "Name",
|
|
251
249
|
"variant": "h4",
|
|
252
|
-
"
|
|
250
|
+
"icon": "shopping-cart",
|
|
251
|
+
"name": "name"
|
|
253
252
|
},
|
|
254
253
|
{
|
|
254
|
+
"label": "Description",
|
|
255
255
|
"variant": "caption",
|
|
256
|
-
"name": "description"
|
|
257
|
-
"label": "Description"
|
|
256
|
+
"name": "description"
|
|
258
257
|
},
|
|
259
258
|
{
|
|
260
259
|
"name": "status",
|
|
261
|
-
"
|
|
262
|
-
"
|
|
260
|
+
"variant": "badge",
|
|
261
|
+
"label": "Status"
|
|
263
262
|
}
|
|
264
|
-
]
|
|
265
|
-
"type": "data-grid"
|
|
263
|
+
]
|
|
266
264
|
}
|
|
267
265
|
],
|
|
268
|
-
"type": "stack"
|
|
266
|
+
"type": "stack",
|
|
267
|
+
"direction": "vertical",
|
|
268
|
+
"gap": "lg"
|
|
269
269
|
}
|
|
270
270
|
]
|
|
271
271
|
]
|
|
@@ -279,36 +279,36 @@
|
|
|
279
279
|
"render-ui",
|
|
280
280
|
"main",
|
|
281
281
|
{
|
|
282
|
+
"type": "stack",
|
|
282
283
|
"className": "py-12",
|
|
283
284
|
"align": "center",
|
|
284
285
|
"children": [
|
|
285
286
|
{
|
|
287
|
+
"color": "destructive",
|
|
286
288
|
"type": "icon",
|
|
287
|
-
"name": "alert-triangle"
|
|
288
|
-
"color": "destructive"
|
|
289
|
+
"name": "alert-triangle"
|
|
289
290
|
},
|
|
290
291
|
{
|
|
292
|
+
"content": "Failed to load cart",
|
|
291
293
|
"type": "typography",
|
|
292
|
-
"variant": "h3"
|
|
293
|
-
"content": "Failed to load cart"
|
|
294
|
+
"variant": "h3"
|
|
294
295
|
},
|
|
295
296
|
{
|
|
296
|
-
"content": "@payload.error",
|
|
297
|
-
"color": "muted",
|
|
298
297
|
"type": "typography",
|
|
298
|
+
"color": "muted",
|
|
299
|
+
"content": "@payload.error",
|
|
299
300
|
"variant": "body"
|
|
300
301
|
},
|
|
301
302
|
{
|
|
303
|
+
"label": "Retry",
|
|
302
304
|
"icon": "rotate-ccw",
|
|
303
305
|
"type": "button",
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
"variant": "primary"
|
|
306
|
+
"variant": "primary",
|
|
307
|
+
"action": "INIT"
|
|
307
308
|
}
|
|
308
309
|
],
|
|
309
|
-
"gap": "md",
|
|
310
310
|
"direction": "vertical",
|
|
311
|
-
"
|
|
311
|
+
"gap": "md"
|
|
312
312
|
}
|
|
313
313
|
]
|
|
314
314
|
]
|
|
@@ -323,8 +323,8 @@
|
|
|
323
323
|
"CartItem",
|
|
324
324
|
{
|
|
325
325
|
"emit": {
|
|
326
|
-
"
|
|
327
|
-
"
|
|
326
|
+
"failure": "CartItemLoadFailed",
|
|
327
|
+
"success": "CartItemLoaded"
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
],
|
|
@@ -347,8 +347,8 @@
|
|
|
347
347
|
"CartItem",
|
|
348
348
|
{
|
|
349
349
|
"emit": {
|
|
350
|
-
"
|
|
351
|
-
"
|
|
350
|
+
"success": "CartItemLoaded",
|
|
351
|
+
"failure": "CartItemLoadFailed"
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
],
|
|
@@ -370,15 +370,15 @@
|
|
|
370
370
|
"name": "CartItemAddItem",
|
|
371
371
|
"linkedEntity": "CartItem",
|
|
372
372
|
"config": {
|
|
373
|
-
"
|
|
374
|
-
"openButtonLabel": "Add Item",
|
|
375
|
-
"title": "Add Item",
|
|
373
|
+
"icon": "plus-circle",
|
|
376
374
|
"fields": [
|
|
377
375
|
"name",
|
|
378
376
|
"description",
|
|
379
377
|
"status"
|
|
380
378
|
],
|
|
381
|
-
"
|
|
379
|
+
"title": "Add Item",
|
|
380
|
+
"openButtonLabel": "Add Item",
|
|
381
|
+
"mode": "create"
|
|
382
382
|
},
|
|
383
383
|
"events": {
|
|
384
384
|
"OPEN": "ADD_ITEM"
|
|
@@ -389,9 +389,9 @@
|
|
|
389
389
|
"name": "CartItemRemoveConfirm",
|
|
390
390
|
"linkedEntity": "CartItem",
|
|
391
391
|
"config": {
|
|
392
|
-
"icon": "alert-triangle",
|
|
393
392
|
"title": "Remove Item",
|
|
394
393
|
"alertMessage": "Are you sure you want to remove this item from your cart?",
|
|
394
|
+
"icon": "alert-triangle",
|
|
395
395
|
"confirmLabel": "Remove"
|
|
396
396
|
},
|
|
397
397
|
"events": {
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
{
|
|
408
408
|
"event": "ITEM_CREATED",
|
|
409
409
|
"scope": "external",
|
|
410
|
-
"
|
|
410
|
+
"payloadSchema": [
|
|
411
411
|
{
|
|
412
412
|
"name": "id",
|
|
413
413
|
"type": "string"
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
{
|
|
418
418
|
"event": "ITEM_DELETED",
|
|
419
419
|
"scope": "external",
|
|
420
|
-
"
|
|
420
|
+
"payloadSchema": [
|
|
421
421
|
{
|
|
422
422
|
"name": "id",
|
|
423
423
|
"type": "string"
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
{
|
|
459
459
|
"key": "DO_CREATE",
|
|
460
460
|
"name": "Do Create",
|
|
461
|
-
"
|
|
461
|
+
"payloadSchema": [
|
|
462
462
|
{
|
|
463
463
|
"name": "data",
|
|
464
464
|
"type": "object",
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
{
|
|
470
470
|
"key": "DO_DELETE",
|
|
471
471
|
"name": "Do Delete",
|
|
472
|
-
"
|
|
472
|
+
"payloadSchema": [
|
|
473
473
|
{
|
|
474
474
|
"name": "id",
|
|
475
475
|
"type": "string"
|
|
@@ -558,4 +558,4 @@
|
|
|
558
558
|
]
|
|
559
559
|
}
|
|
560
560
|
]
|
|
561
|
-
}
|
|
561
|
+
}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
{
|
|
77
77
|
"event": "FilteredListItemLoadFailed",
|
|
78
78
|
"scope": "internal",
|
|
79
|
-
"
|
|
79
|
+
"payloadSchema": [
|
|
80
80
|
{
|
|
81
81
|
"name": "error",
|
|
82
82
|
"type": "string"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
{
|
|
91
91
|
"event": "FilteredListItemLoaded",
|
|
92
92
|
"scope": "internal",
|
|
93
|
-
"
|
|
93
|
+
"payloadSchema": [
|
|
94
94
|
{
|
|
95
95
|
"name": "data",
|
|
96
96
|
"type": "[FilteredListItem]"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
{
|
|
114
114
|
"key": "FilteredListItemLoadFailed",
|
|
115
115
|
"name": "FilteredListItem load failed",
|
|
116
|
-
"
|
|
116
|
+
"payloadSchema": [
|
|
117
117
|
{
|
|
118
118
|
"name": "error",
|
|
119
119
|
"type": "string"
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
{
|
|
128
128
|
"key": "FilteredListItemLoaded",
|
|
129
129
|
"name": "FilteredListItem loaded",
|
|
130
|
-
"
|
|
130
|
+
"payloadSchema": [
|
|
131
131
|
{
|
|
132
132
|
"name": "data",
|
|
133
133
|
"type": "[FilteredListItem]"
|
|
@@ -155,23 +155,23 @@
|
|
|
155
155
|
"render-ui",
|
|
156
156
|
"main",
|
|
157
157
|
{
|
|
158
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
159
158
|
"type": "stack",
|
|
160
|
-
"direction": "vertical",
|
|
161
|
-
"gap": "md",
|
|
162
159
|
"children": [
|
|
163
160
|
{
|
|
161
|
+
"gap": "sm",
|
|
164
162
|
"children": [
|
|
165
163
|
"@trait.FilteredItemSearch",
|
|
166
164
|
"@trait.FilteredItemFilter"
|
|
167
165
|
],
|
|
168
166
|
"type": "stack",
|
|
169
|
-
"direction": "horizontal"
|
|
170
|
-
"gap": "sm"
|
|
167
|
+
"direction": "horizontal"
|
|
171
168
|
},
|
|
172
169
|
"@trait.FilteredItemBrowse",
|
|
173
170
|
"@trait.FilteredItemPagination"
|
|
174
|
-
]
|
|
171
|
+
],
|
|
172
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
173
|
+
"gap": "md",
|
|
174
|
+
"direction": "vertical"
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
]
|
|
@@ -194,4 +194,4 @@
|
|
|
194
194
|
]
|
|
195
195
|
}
|
|
196
196
|
]
|
|
197
|
-
}
|
|
197
|
+
}
|