@almadar/std 10.0.0 → 11.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 +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +47 -47
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  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 +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  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 +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +47 -47
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -158,22 +158,22 @@
158
158
  "render-ui",
159
159
  "main",
160
160
  {
161
+ "type": "stack",
162
+ "align": "center",
161
163
  "className": "py-12",
162
164
  "children": [
163
165
  {
164
166
  "type": "spinner"
165
167
  },
166
168
  {
167
- "variant": "caption",
168
169
  "type": "typography",
169
- "content": "Loading…",
170
- "color": "muted"
170
+ "color": "muted",
171
+ "variant": "caption",
172
+ "content": "Loading…"
171
173
  }
172
174
  ],
173
- "type": "stack",
174
- "direction": "vertical",
175
- "align": "center",
176
- "gap": "md"
175
+ "gap": "md",
176
+ "direction": "vertical"
177
177
  }
178
178
  ]
179
179
  ]
@@ -187,72 +187,72 @@
187
187
  "render-ui",
188
188
  "main",
189
189
  {
190
- "type": "stack",
190
+ "direction": "vertical",
191
191
  "children": [
192
192
  {
193
- "gap": "md",
194
- "type": "stack",
195
- "justify": "between",
196
- "direction": "horizontal",
197
193
  "align": "center",
198
194
  "children": [
199
195
  {
200
- "type": "stack",
196
+ "gap": "sm",
201
197
  "direction": "horizontal",
202
198
  "children": [
203
199
  {
204
- "name": "image",
205
- "type": "icon"
200
+ "type": "icon",
201
+ "name": "image"
206
202
  },
207
203
  {
208
- "variant": "h2",
209
204
  "type": "typography",
210
- "content": "GalleryItems Gallery"
205
+ "content": "GalleryItems Gallery",
206
+ "variant": "h2"
211
207
  }
212
208
  ],
213
209
  "align": "center",
214
- "gap": "sm"
210
+ "type": "stack"
215
211
  },
216
212
  {
217
- "content": "Click any image to view full size",
218
- "variant": "caption",
219
213
  "color": "muted",
220
- "type": "typography"
214
+ "content": "Click any image to view full size",
215
+ "type": "typography",
216
+ "variant": "caption"
221
217
  }
222
- ]
218
+ ],
219
+ "direction": "horizontal",
220
+ "justify": "between",
221
+ "type": "stack",
222
+ "gap": "md"
223
223
  },
224
224
  {
225
225
  "type": "divider"
226
226
  },
227
227
  {
228
+ "gap": "md",
229
+ "imageField": "imageUrl",
228
230
  "type": "data-grid",
229
231
  "entity": "@payload.data",
230
- "gap": "md",
231
232
  "itemActions": [
232
233
  {
233
234
  "event": "VIEW",
234
- "icon": "maximize",
235
- "label": "View"
235
+ "label": "View",
236
+ "icon": "maximize"
236
237
  }
237
238
  ],
239
+ "cols": 3.0,
238
240
  "fields": [
239
241
  {
240
242
  "label": "Title",
241
- "name": "name",
242
- "variant": "h4"
243
+ "variant": "h4",
244
+ "name": "name"
243
245
  },
244
246
  {
245
- "name": "status",
247
+ "label": "Status",
246
248
  "variant": "badge",
247
- "label": "Status"
249
+ "name": "status"
248
250
  }
249
- ],
250
- "cols": 3.0,
251
- "imageField": "imageUrl"
251
+ ]
252
252
  }
253
253
  ],
254
254
  "gap": "lg",
255
- "direction": "vertical"
255
+ "type": "stack"
256
256
  }
257
257
  ]
258
258
  ]
@@ -266,13 +266,12 @@
266
266
  "render-ui",
267
267
  "main",
268
268
  {
269
- "className": "py-12",
270
- "direction": "vertical",
269
+ "align": "center",
271
270
  "children": [
272
271
  {
273
- "type": "icon",
272
+ "color": "destructive",
274
273
  "name": "alert-triangle",
275
- "color": "destructive"
274
+ "type": "icon"
276
275
  },
277
276
  {
278
277
  "variant": "h3",
@@ -280,22 +279,23 @@
280
279
  "type": "typography"
281
280
  },
282
281
  {
282
+ "color": "muted",
283
283
  "type": "typography",
284
284
  "variant": "body",
285
- "content": "@payload.error",
286
- "color": "muted"
285
+ "content": "@payload.error"
287
286
  },
288
287
  {
289
288
  "label": "Retry",
290
- "type": "button",
291
- "variant": "primary",
292
289
  "icon": "rotate-ccw",
290
+ "variant": "primary",
291
+ "type": "button",
293
292
  "action": "INIT"
294
293
  }
295
294
  ],
295
+ "direction": "vertical",
296
296
  "type": "stack",
297
- "gap": "md",
298
- "align": "center"
297
+ "className": "py-12",
298
+ "gap": "md"
299
299
  }
300
300
  ]
301
301
  ]
@@ -309,18 +309,18 @@
309
309
  "render-ui",
310
310
  "modal",
311
311
  {
312
- "type": "lightbox",
313
312
  "images": [
314
313
  {
315
- "caption": "Image",
314
+ "alt": "Image",
316
315
  "src": "https://picsum.photos/seed/gallery1/800/600",
317
- "alt": "Image"
316
+ "caption": "Image"
318
317
  }
319
318
  ],
320
- "closeAction": "CLOSE",
321
- "showCounter": true,
322
319
  "currentIndex": 0.0,
323
- "isOpen": true
320
+ "isOpen": true,
321
+ "showCounter": true,
322
+ "closeAction": "CLOSE",
323
+ "type": "lightbox"
324
324
  }
325
325
  ]
326
326
  ]
@@ -364,8 +364,8 @@
364
364
  "GalleryItem",
365
365
  {
366
366
  "emit": {
367
- "success": "GalleryItemLoaded",
368
- "failure": "GalleryItemLoadFailed"
367
+ "failure": "GalleryItemLoadFailed",
368
+ "success": "GalleryItemLoaded"
369
369
  }
370
370
  }
371
371
  ],
@@ -169,36 +169,36 @@
169
169
  "render-ui",
170
170
  "modal",
171
171
  {
172
- "type": "stack",
173
172
  "direction": "vertical",
173
+ "type": "stack",
174
174
  "gap": "md",
175
175
  "children": [
176
176
  {
177
+ "type": "stack",
178
+ "direction": "horizontal",
177
179
  "gap": "sm",
178
180
  "children": [
179
181
  {
180
- "type": "icon",
181
- "name": "@config.icon"
182
+ "name": "@config.icon",
183
+ "type": "icon"
182
184
  },
183
185
  {
186
+ "variant": "h3",
184
187
  "type": "typography",
185
- "content": "@config.title",
186
- "variant": "h3"
188
+ "content": "@config.title"
187
189
  }
188
- ],
189
- "type": "stack",
190
- "direction": "horizontal"
190
+ ]
191
191
  },
192
192
  {
193
193
  "type": "divider"
194
194
  },
195
195
  {
196
+ "type": "form-section",
196
197
  "submitEvent": "SAVE",
197
- "fields": "@config.fields",
198
- "entity": "@payload.row",
199
198
  "cancelEvent": "CLOSE",
200
- "type": "form-section",
201
- "mode": "@config.mode"
199
+ "mode": "@config.mode",
200
+ "fields": "@config.fields",
201
+ "entity": "@payload.row"
202
202
  }
203
203
  ]
204
204
  }
@@ -151,22 +151,22 @@
151
151
  "render-ui",
152
152
  "main",
153
153
  {
154
- "direction": "vertical",
155
- "type": "stack",
156
- "align": "center",
157
- "gap": "md",
158
154
  "children": [
159
155
  {
160
156
  "type": "spinner"
161
157
  },
162
158
  {
163
- "variant": "caption",
164
159
  "color": "muted",
165
160
  "content": "Loading…",
161
+ "variant": "caption",
166
162
  "type": "typography"
167
163
  }
168
164
  ],
169
- "className": "py-12"
165
+ "align": "center",
166
+ "gap": "md",
167
+ "className": "py-12",
168
+ "type": "stack",
169
+ "direction": "vertical"
170
170
  }
171
171
  ]
172
172
  ]
@@ -180,13 +180,11 @@
180
180
  "render-ui",
181
181
  "main",
182
182
  {
183
- "type": "stack",
184
183
  "children": [
185
184
  {
186
- "align": "center",
185
+ "justify": "between",
187
186
  "children": [
188
187
  {
189
- "type": "stack",
190
188
  "gap": "sm",
191
189
  "align": "center",
192
190
  "children": [
@@ -195,24 +193,25 @@
195
193
  "name": "list"
196
194
  },
197
195
  {
198
- "type": "typography",
199
196
  "variant": "h2",
197
+ "type": "typography",
200
198
  "content": "PagedItems"
201
199
  }
202
200
  ],
203
- "direction": "horizontal"
201
+ "direction": "horizontal",
202
+ "type": "stack"
204
203
  }
205
204
  ],
206
- "direction": "horizontal",
207
205
  "gap": "sm",
208
- "justify": "between",
209
- "type": "stack"
206
+ "align": "center",
207
+ "type": "stack",
208
+ "direction": "horizontal"
210
209
  },
211
210
  {
212
211
  "type": "divider"
213
212
  },
214
213
  {
215
- "entity": "@payload.data",
214
+ "type": "data-grid",
216
215
  "fields": [
217
216
  {
218
217
  "name": "name",
@@ -220,32 +219,33 @@
220
219
  "label": "Name"
221
220
  },
222
221
  {
223
- "name": "description",
222
+ "label": "Description",
224
223
  "variant": "caption",
225
- "label": "Description"
224
+ "name": "description"
226
225
  },
227
226
  {
228
- "variant": "badge",
227
+ "label": "Status",
229
228
  "name": "status",
230
- "label": "Status"
229
+ "variant": "badge"
231
230
  }
232
231
  ],
233
- "type": "data-grid"
232
+ "entity": "@payload.data"
234
233
  },
235
234
  {
235
+ "onPageChange": "PAGE",
236
236
  "totalPages": 10.0,
237
+ "showPageSize": false,
237
238
  "type": "pagination",
238
- "onPageChange": "PAGE",
239
- "currentPage": 1.0,
240
- "showPageSize": false
239
+ "currentPage": 1.0
241
240
  },
242
241
  {
243
- "loadMoreEvent": "PAGE",
244
- "type": "infinite-scroll-sentinel"
242
+ "type": "infinite-scroll-sentinel",
243
+ "loadMoreEvent": "PAGE"
245
244
  }
246
245
  ],
246
+ "direction": "vertical",
247
247
  "gap": "lg",
248
- "direction": "vertical"
248
+ "type": "stack"
249
249
  }
250
250
  ]
251
251
  ]
@@ -259,36 +259,36 @@
259
259
  "render-ui",
260
260
  "main",
261
261
  {
262
- "gap": "md",
263
- "type": "stack",
264
- "align": "center",
265
- "className": "py-12",
266
262
  "children": [
267
263
  {
264
+ "color": "destructive",
268
265
  "type": "icon",
269
- "name": "alert-triangle",
270
- "color": "destructive"
266
+ "name": "alert-triangle"
271
267
  },
272
268
  {
273
- "content": "Failed to load",
274
269
  "variant": "h3",
270
+ "content": "Failed to load",
275
271
  "type": "typography"
276
272
  },
277
273
  {
278
- "variant": "body",
279
- "type": "typography",
274
+ "color": "muted",
280
275
  "content": "@payload.error",
281
- "color": "muted"
276
+ "type": "typography",
277
+ "variant": "body"
282
278
  },
283
279
  {
284
- "action": "INIT",
280
+ "icon": "rotate-ccw",
285
281
  "type": "button",
286
- "variant": "primary",
287
282
  "label": "Retry",
288
- "icon": "rotate-ccw"
283
+ "action": "INIT",
284
+ "variant": "primary"
289
285
  }
290
286
  ],
291
- "direction": "vertical"
287
+ "direction": "vertical",
288
+ "className": "py-12",
289
+ "gap": "md",
290
+ "type": "stack",
291
+ "align": "center"
292
292
  }
293
293
  ]
294
294
  ]
@@ -327,8 +327,8 @@
327
327
  "PagedItem",
328
328
  {
329
329
  "emit": {
330
- "failure": "PagedItemLoadFailed",
331
- "success": "PagedItemLoaded"
330
+ "success": "PagedItemLoaded",
331
+ "failure": "PagedItemLoadFailed"
332
332
  }
333
333
  }
334
334
  ],
@@ -209,20 +209,20 @@
209
209
  "render-ui",
210
210
  "main",
211
211
  {
212
- "type": "stack",
213
- "direction": "horizontal",
214
- "gap": "sm",
215
- "align": "center",
216
212
  "children": [
217
213
  {
218
214
  "type": "spinner"
219
215
  },
220
216
  {
221
- "type": "typography",
222
217
  "content": "Connecting…",
223
- "variant": "caption"
218
+ "variant": "caption",
219
+ "type": "typography"
224
220
  }
225
- ]
221
+ ],
222
+ "direction": "horizontal",
223
+ "gap": "sm",
224
+ "type": "stack",
225
+ "align": "center"
226
226
  }
227
227
  ]
228
228
  ]
@@ -244,8 +244,8 @@
244
244
  "children": [
245
245
  {
246
246
  "color": "success",
247
- "name": "wifi",
248
- "type": "icon"
247
+ "type": "icon",
248
+ "name": "wifi"
249
249
  },
250
250
  {
251
251
  "variant": "caption",
@@ -253,10 +253,10 @@
253
253
  "content": "Connected"
254
254
  }
255
255
  ],
256
- "type": "stack",
257
- "direction": "horizontal",
258
256
  "align": "center",
259
- "gap": "sm"
257
+ "direction": "horizontal",
258
+ "gap": "sm",
259
+ "type": "stack"
260
260
  }
261
261
  ]
262
262
  ]
@@ -275,22 +275,22 @@
275
275
  "render-ui",
276
276
  "main",
277
277
  {
278
- "direction": "horizontal",
279
278
  "gap": "sm",
280
- "type": "stack",
281
- "align": "center",
282
279
  "children": [
283
280
  {
284
281
  "name": "wifi-off",
285
- "type": "icon",
286
- "color": "warning"
282
+ "color": "warning",
283
+ "type": "icon"
287
284
  },
288
285
  {
289
286
  "content": "Reconnecting…",
290
287
  "variant": "caption",
291
288
  "type": "typography"
292
289
  }
293
- ]
290
+ ],
291
+ "direction": "horizontal",
292
+ "align": "center",
293
+ "type": "stack"
294
294
  }
295
295
  ]
296
296
  ]
@@ -309,20 +309,20 @@
309
309
  "render-ui",
310
310
  "main",
311
311
  {
312
- "align": "center",
312
+ "gap": "sm",
313
313
  "direction": "horizontal",
314
+ "align": "center",
314
315
  "type": "stack",
315
- "gap": "sm",
316
316
  "children": [
317
317
  {
318
318
  "color": "success",
319
- "type": "icon",
320
- "name": "wifi"
319
+ "name": "wifi",
320
+ "type": "icon"
321
321
  },
322
322
  {
323
- "content": "Connected",
324
323
  "type": "typography",
325
- "variant": "caption"
324
+ "variant": "caption",
325
+ "content": "Connected"
326
326
  }
327
327
  ]
328
328
  }
@@ -343,22 +343,22 @@
343
343
  "render-ui",
344
344
  "main",
345
345
  {
346
- "gap": "sm",
347
- "type": "stack",
348
- "direction": "horizontal",
349
346
  "align": "center",
347
+ "direction": "horizontal",
348
+ "gap": "sm",
350
349
  "children": [
351
350
  {
351
+ "color": "warning",
352
352
  "type": "icon",
353
- "name": "wifi-off",
354
- "color": "warning"
353
+ "name": "wifi-off"
355
354
  },
356
355
  {
357
- "content": "Reconnecting…",
358
356
  "type": "typography",
357
+ "content": "Reconnecting…",
359
358
  "variant": "caption"
360
359
  }
361
- ]
360
+ ],
361
+ "type": "stack"
362
362
  }
363
363
  ]
364
364
  ]
@@ -377,22 +377,22 @@
377
377
  "render-ui",
378
378
  "main",
379
379
  {
380
+ "direction": "horizontal",
380
381
  "align": "center",
382
+ "gap": "sm",
381
383
  "children": [
382
384
  {
383
- "color": "success",
385
+ "type": "icon",
384
386
  "name": "wifi",
385
- "type": "icon"
387
+ "color": "success"
386
388
  },
387
389
  {
388
390
  "type": "typography",
389
- "variant": "caption",
390
- "content": "Connected"
391
+ "content": "Connected",
392
+ "variant": "caption"
391
393
  }
392
394
  ],
393
- "gap": "sm",
394
- "type": "stack",
395
- "direction": "horizontal"
395
+ "type": "stack"
396
396
  }
397
397
  ]
398
398
  ]
@@ -407,20 +407,20 @@
407
407
  "main",
408
408
  {
409
409
  "type": "stack",
410
+ "gap": "sm",
410
411
  "align": "center",
411
412
  "children": [
412
413
  {
414
+ "color": "destructive",
413
415
  "type": "icon",
414
- "name": "wifi-off",
415
- "color": "destructive"
416
+ "name": "wifi-off"
416
417
  },
417
418
  {
418
- "type": "typography",
419
+ "content": "Disconnected",
419
420
  "variant": "caption",
420
- "content": "Disconnected"
421
+ "type": "typography"
421
422
  }
422
423
  ],
423
- "gap": "sm",
424
424
  "direction": "horizontal"
425
425
  }
426
426
  ]