@almadar/std 8.4.2 → 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.
Files changed (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1240 -1226
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3031 -3051
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2132 -2140
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1049 -1035
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  27. package/behaviors/registry/app/organisms/std-cms.orb +587 -587
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  29. package/behaviors/registry/app/organisms/std-crm.orb +966 -966
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  37. package/behaviors/registry/app/organisms/std-lms.orb +876 -876
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  42. package/behaviors/registry/core/atoms/std-browse.orb +67 -67
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  44. package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  47. package/behaviors/registry/core/atoms/std-display.orb +370 -370
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +63 -63
  50. package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  51. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  52. package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  53. package/behaviors/registry/core/atoms/std-push.orb +50 -60
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  55. package/behaviors/registry/core/atoms/std-related.orb +39 -39
  56. package/behaviors/registry/core/atoms/std-search.orb +73 -73
  57. package/behaviors/registry/core/atoms/std-selection.orb +110 -110
  58. package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  59. package/behaviors/registry/core/molecules/std-cart.orb +60 -60
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  62. package/behaviors/registry/core/molecules/std-list.orb +68 -68
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  64. package/behaviors/registry/game/atoms/std-collision.orb +140 -140
  65. package/behaviors/registry/game/atoms/std-combat.orb +76 -76
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  69. package/behaviors/registry/game/atoms/std-movement.orb +276 -276
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  72. package/behaviors/registry/game/atoms/std-quest.orb +129 -129
  73. package/behaviors/registry/game/atoms/std-timer.orb +285 -285
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  83. package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  84. package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1072 -1072
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +979 -979
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1240 -1226
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3031 -3051
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2132 -2140
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1049 -1035
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +50 -60
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +60 -60
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1072 -1072
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +979 -979
  187. package/package.json +1 -1
@@ -49,7 +49,7 @@
49
49
  "event": "DrawerContentLoaded",
50
50
  "description": "Fired when DrawerContent finishes loading; payload.data holds the list",
51
51
  "scope": "internal",
52
- "payload": [
52
+ "payloadSchema": [
53
53
  {
54
54
  "name": "data",
55
55
  "type": "[DrawerContent]"
@@ -60,7 +60,7 @@
60
60
  "event": "DrawerContentLoadFailed",
61
61
  "description": "Fired when DrawerContent fails to load",
62
62
  "scope": "internal",
63
- "payload": [
63
+ "payloadSchema": [
64
64
  {
65
65
  "name": "error",
66
66
  "type": "string"
@@ -96,7 +96,7 @@
96
96
  {
97
97
  "key": "DrawerContentLoaded",
98
98
  "name": "DrawerContent loaded",
99
- "payload": [
99
+ "payloadSchema": [
100
100
  {
101
101
  "name": "data",
102
102
  "type": "[DrawerContent]"
@@ -106,7 +106,7 @@
106
106
  {
107
107
  "key": "DrawerContentLoadFailed",
108
108
  "name": "DrawerContent load failed",
109
- "payload": [
109
+ "payloadSchema": [
110
110
  {
111
111
  "name": "error",
112
112
  "type": "string"
@@ -137,8 +137,8 @@
137
137
  "DrawerContent",
138
138
  {
139
139
  "emit": {
140
- "failure": "DrawerContentLoadFailed",
141
- "success": "DrawerContentLoaded"
140
+ "success": "DrawerContentLoaded",
141
+ "failure": "DrawerContentLoadFailed"
142
142
  }
143
143
  }
144
144
  ],
@@ -146,22 +146,22 @@
146
146
  "render-ui",
147
147
  "main",
148
148
  {
149
- "className": "py-12",
150
149
  "align": "center",
151
- "direction": "vertical",
150
+ "className": "py-12",
151
+ "gap": "md",
152
+ "type": "stack",
152
153
  "children": [
153
154
  {
154
155
  "type": "spinner"
155
156
  },
156
157
  {
157
- "type": "typography",
158
+ "variant": "caption",
158
159
  "content": "Loading…",
159
- "color": "muted",
160
- "variant": "caption"
160
+ "type": "typography",
161
+ "color": "muted"
161
162
  }
162
163
  ],
163
- "gap": "md",
164
- "type": "stack"
164
+ "direction": "vertical"
165
165
  }
166
166
  ]
167
167
  ]
@@ -175,37 +175,38 @@
175
175
  "render-ui",
176
176
  "main",
177
177
  {
178
+ "type": "stack",
178
179
  "children": [
179
180
  {
180
- "type": "stack",
181
181
  "direction": "horizontal",
182
- "gap": "md",
183
182
  "justify": "between",
183
+ "gap": "md",
184
184
  "align": "center",
185
+ "type": "stack",
185
186
  "children": [
186
187
  {
187
- "gap": "md",
188
- "direction": "horizontal",
189
- "align": "center",
190
- "type": "stack",
191
188
  "children": [
192
189
  {
193
- "name": "panel-right",
194
- "type": "icon"
190
+ "type": "icon",
191
+ "name": "panel-right"
195
192
  },
196
193
  {
197
- "content": "Details",
198
194
  "variant": "h2",
199
- "type": "typography"
195
+ "type": "typography",
196
+ "content": "Details"
200
197
  }
201
- ]
198
+ ],
199
+ "align": "center",
200
+ "type": "stack",
201
+ "direction": "horizontal",
202
+ "gap": "md"
202
203
  },
203
204
  {
204
- "action": "OPEN",
205
+ "variant": "primary",
206
+ "icon": "panel-right",
205
207
  "type": "button",
206
208
  "label": "Open",
207
- "icon": "panel-right",
208
- "variant": "primary"
209
+ "action": "OPEN"
209
210
  }
210
211
  ]
211
212
  },
@@ -213,28 +214,27 @@
213
214
  "type": "divider"
214
215
  },
215
216
  {
216
- "entity": "@payload.data",
217
217
  "renderItem": [
218
218
  "fn",
219
219
  "item",
220
220
  {
221
- "gap": "sm",
222
- "direction": "vertical",
221
+ "type": "stack",
223
222
  "children": [
224
223
  {
225
- "variant": "h4",
224
+ "type": "typography",
226
225
  "content": "@item.name",
227
- "type": "typography"
226
+ "variant": "h4"
228
227
  }
229
228
  ],
230
- "type": "stack"
229
+ "gap": "sm",
230
+ "direction": "vertical"
231
231
  }
232
232
  ],
233
233
  "type": "data-grid",
234
+ "entity": "@payload.data",
234
235
  "fields": []
235
236
  }
236
237
  ],
237
- "type": "stack",
238
238
  "direction": "vertical",
239
239
  "gap": "lg"
240
240
  }
@@ -252,9 +252,9 @@
252
252
  {
253
253
  "children": [
254
254
  {
255
+ "type": "icon",
255
256
  "name": "alert-triangle",
256
- "color": "destructive",
257
- "type": "icon"
257
+ "color": "destructive"
258
258
  },
259
259
  {
260
260
  "type": "typography",
@@ -262,24 +262,24 @@
262
262
  "content": "Failed to load"
263
263
  },
264
264
  {
265
- "color": "muted",
266
265
  "type": "typography",
267
- "content": "@payload.error",
268
- "variant": "body"
266
+ "variant": "body",
267
+ "color": "muted",
268
+ "content": "@payload.error"
269
269
  },
270
270
  {
271
- "icon": "rotate-ccw",
272
271
  "label": "Retry",
273
- "action": "INIT",
274
272
  "type": "button",
275
- "variant": "primary"
273
+ "icon": "rotate-ccw",
274
+ "variant": "primary",
275
+ "action": "INIT"
276
276
  }
277
277
  ],
278
- "gap": "md",
279
278
  "direction": "vertical",
280
- "type": "stack",
279
+ "gap": "md",
280
+ "align": "center",
281
281
  "className": "py-12",
282
- "align": "center"
282
+ "type": "stack"
283
283
  }
284
284
  ]
285
285
  ]
@@ -293,39 +293,39 @@
293
293
  "render-ui",
294
294
  "drawer",
295
295
  {
296
- "isOpen": true,
296
+ "type": "side-panel",
297
297
  "children": [
298
298
  {
299
+ "direction": "vertical",
299
300
  "gap": "md",
300
301
  "type": "stack",
301
- "direction": "vertical",
302
302
  "children": [
303
303
  {
304
+ "variant": "body",
304
305
  "content": "Drawer content",
305
- "type": "typography",
306
- "variant": "body"
306
+ "type": "typography"
307
307
  },
308
308
  {
309
- "type": "stack",
310
309
  "gap": "sm",
310
+ "justify": "end",
311
+ "direction": "horizontal",
312
+ "type": "stack",
311
313
  "children": [
312
314
  {
313
- "action": "CLOSE",
314
- "type": "button",
315
315
  "label": "Close",
316
+ "type": "button",
317
+ "action": "CLOSE",
316
318
  "variant": "ghost"
317
319
  }
318
- ],
319
- "justify": "end",
320
- "direction": "horizontal"
320
+ ]
321
321
  }
322
322
  ]
323
323
  }
324
324
  ],
325
- "position": "right",
326
- "type": "side-panel",
325
+ "title": "Details",
326
+ "isOpen": true,
327
327
  "onClose": "CLOSE",
328
- "title": "Details"
328
+ "position": "right"
329
329
  }
330
330
  ]
331
331
  ]
@@ -345,8 +345,8 @@
345
345
  "DrawerContent",
346
346
  {
347
347
  "emit": {
348
- "success": "DrawerContentLoaded",
349
- "failure": "DrawerContentLoadFailed"
348
+ "failure": "DrawerContentLoadFailed",
349
+ "success": "DrawerContentLoaded"
350
350
  }
351
351
  }
352
352
  ],
@@ -401,4 +401,4 @@
401
401
  ]
402
402
  }
403
403
  ]
404
- }
404
+ }
@@ -49,7 +49,7 @@
49
49
  "event": "FilterTargetLoaded",
50
50
  "description": "Fired when FilterTarget finishes loading; payload.data holds the filtered list",
51
51
  "scope": "internal",
52
- "payload": [
52
+ "payloadSchema": [
53
53
  {
54
54
  "name": "data",
55
55
  "type": "[FilterTarget]"
@@ -60,7 +60,7 @@
60
60
  "event": "FilterTargetLoadFailed",
61
61
  "description": "Fired when FilterTarget fails to load",
62
62
  "scope": "internal",
63
- "payload": [
63
+ "payloadSchema": [
64
64
  {
65
65
  "name": "error",
66
66
  "type": "string"
@@ -93,7 +93,7 @@
93
93
  {
94
94
  "key": "FilterTargetLoaded",
95
95
  "name": "FilterTarget loaded",
96
- "payload": [
96
+ "payloadSchema": [
97
97
  {
98
98
  "name": "data",
99
99
  "type": "[FilterTarget]"
@@ -103,7 +103,7 @@
103
103
  {
104
104
  "key": "FilterTargetLoadFailed",
105
105
  "name": "FilterTarget load failed",
106
- "payload": [
106
+ "payloadSchema": [
107
107
  {
108
108
  "name": "error",
109
109
  "type": "string"
@@ -117,7 +117,7 @@
117
117
  {
118
118
  "key": "FILTER",
119
119
  "name": "Filter",
120
- "payload": [
120
+ "payloadSchema": [
121
121
  {
122
122
  "name": "field",
123
123
  "type": "string",
@@ -155,22 +155,22 @@
155
155
  "render-ui",
156
156
  "main",
157
157
  {
158
- "align": "center",
159
- "direction": "vertical",
160
- "type": "stack",
161
- "className": "py-12",
162
158
  "children": [
163
159
  {
164
160
  "type": "spinner"
165
161
  },
166
162
  {
167
- "variant": "caption",
168
- "color": "muted",
169
163
  "type": "typography",
170
- "content": "Loading…"
164
+ "variant": "caption",
165
+ "content": "Loading…",
166
+ "color": "muted"
171
167
  }
172
168
  ],
173
- "gap": "md"
169
+ "type": "stack",
170
+ "gap": "md",
171
+ "className": "py-12",
172
+ "direction": "vertical",
173
+ "align": "center"
174
174
  }
175
175
  ]
176
176
  ]
@@ -184,89 +184,89 @@
184
184
  "render-ui",
185
185
  "main",
186
186
  {
187
+ "gap": "lg",
187
188
  "type": "stack",
188
189
  "children": [
189
190
  {
191
+ "align": "center",
190
192
  "children": [
191
193
  {
192
- "type": "stack",
193
- "gap": "md",
194
- "align": "center",
195
194
  "direction": "horizontal",
196
195
  "children": [
197
196
  {
198
- "type": "icon",
199
- "name": "filter"
197
+ "name": "filter",
198
+ "type": "icon"
200
199
  },
201
200
  {
201
+ "variant": "h2",
202
202
  "type": "typography",
203
- "content": "FilterTargets",
204
- "variant": "h2"
203
+ "content": "FilterTargets"
205
204
  }
206
- ]
205
+ ],
206
+ "type": "stack",
207
+ "gap": "md",
208
+ "align": "center"
207
209
  },
208
210
  {
209
- "label": "All",
210
- "type": "badge"
211
+ "type": "badge",
212
+ "label": "All"
211
213
  }
212
214
  ],
213
- "direction": "horizontal",
214
215
  "type": "stack",
215
216
  "gap": "md",
216
217
  "justify": "between",
217
- "align": "center"
218
+ "direction": "horizontal"
218
219
  },
219
220
  {
220
221
  "type": "divider"
221
222
  },
222
223
  {
224
+ "type": "filter-group",
223
225
  "entity": "FilterTarget",
224
226
  "filters": [
225
227
  {
228
+ "field": "status",
229
+ "label": "Status",
226
230
  "options": [
227
231
  "active",
228
232
  "inactive",
229
233
  "pending"
230
234
  ],
231
- "filterType": "select",
232
- "field": "status",
233
- "label": "Status"
235
+ "filterType": "select"
234
236
  }
235
- ],
236
- "type": "filter-group"
237
+ ]
237
238
  },
238
239
  {
239
240
  "type": "divider"
240
241
  },
241
242
  {
243
+ "fields": [],
242
244
  "renderItem": [
243
245
  "fn",
244
246
  "item",
245
247
  {
248
+ "type": "stack",
249
+ "direction": "vertical",
250
+ "gap": "sm",
246
251
  "children": [
247
252
  {
248
- "variant": "h4",
249
253
  "type": "typography",
254
+ "variant": "h4",
250
255
  "content": "@item.name"
251
256
  },
252
257
  {
258
+ "color": "muted",
253
259
  "type": "typography",
254
260
  "content": "@item.status",
255
- "color": "muted",
256
261
  "variant": "caption"
257
262
  }
258
- ],
259
- "type": "stack",
260
- "direction": "vertical",
261
- "gap": "sm"
263
+ ]
262
264
  }
263
265
  ],
264
- "entity": "@payload.data",
265
266
  "type": "data-grid",
266
- "fields": []
267
+ "entity": "@payload.data"
267
268
  }
268
269
  ],
269
- "gap": "lg",
270
270
  "direction": "vertical"
271
271
  }
272
272
  ]
@@ -281,36 +281,36 @@
281
281
  "render-ui",
282
282
  "main",
283
283
  {
284
+ "className": "py-12",
285
+ "type": "stack",
286
+ "align": "center",
287
+ "direction": "vertical",
288
+ "gap": "md",
284
289
  "children": [
285
290
  {
286
- "type": "icon",
287
291
  "name": "alert-triangle",
292
+ "type": "icon",
288
293
  "color": "destructive"
289
294
  },
290
295
  {
296
+ "variant": "h3",
291
297
  "content": "Failed to load",
292
- "type": "typography",
293
- "variant": "h3"
298
+ "type": "typography"
294
299
  },
295
300
  {
301
+ "content": "@payload.error",
296
302
  "type": "typography",
297
303
  "variant": "body",
298
- "content": "@payload.error",
299
304
  "color": "muted"
300
305
  },
301
306
  {
302
- "icon": "rotate-ccw",
303
- "action": "INIT",
304
- "variant": "primary",
305
307
  "label": "Retry",
306
- "type": "button"
308
+ "variant": "primary",
309
+ "type": "button",
310
+ "action": "INIT",
311
+ "icon": "rotate-ccw"
307
312
  }
308
- ],
309
- "type": "stack",
310
- "align": "center",
311
- "className": "py-12",
312
- "direction": "vertical",
313
- "gap": "md"
313
+ ]
314
314
  }
315
315
  ]
316
316
  ]
@@ -324,10 +324,6 @@
324
324
  "fetch",
325
325
  "FilterTarget",
326
326
  {
327
- "emit": {
328
- "success": "FilterTargetLoaded",
329
- "failure": "FilterTargetLoadFailed"
330
- },
331
327
  "filter": [
332
328
  "=",
333
329
  [
@@ -336,7 +332,11 @@
336
332
  "@payload.field"
337
333
  ],
338
334
  "@payload.value"
339
- ]
335
+ ],
336
+ "emit": {
337
+ "failure": "FilterTargetLoadFailed",
338
+ "success": "FilterTargetLoaded"
339
+ }
340
340
  }
341
341
  ],
342
342
  [
@@ -358,8 +358,8 @@
358
358
  "FilterTarget",
359
359
  {
360
360
  "emit": {
361
- "success": "FilterTargetLoaded",
362
- "failure": "FilterTargetLoadFailed"
361
+ "failure": "FilterTargetLoadFailed",
362
+ "success": "FilterTargetLoaded"
363
363
  }
364
364
  }
365
365
  ],
@@ -382,8 +382,8 @@
382
382
  "FilterTarget",
383
383
  {
384
384
  "emit": {
385
- "success": "FilterTargetLoaded",
386
- "failure": "FilterTargetLoadFailed"
385
+ "failure": "FilterTargetLoadFailed",
386
+ "success": "FilterTargetLoaded"
387
387
  }
388
388
  }
389
389
  ],
@@ -414,4 +414,4 @@
414
414
  ]
415
415
  }
416
416
  ]
417
- }
417
+ }