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