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