@almadar/std 8.5.1 → 10.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 +1219 -1219
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
  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 +49 -49
  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 +68 -72
  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 +1092 -1092
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
  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 +1219 -1219
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
  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 +49 -49
  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 +68 -72
  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 +1092 -1092
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
  187. package/package.json +1 -1
@@ -54,7 +54,7 @@
54
54
  "event": "GalleryItemLoaded",
55
55
  "description": "Fired when GalleryItem finishes loading; payload.data holds the gallery",
56
56
  "scope": "internal",
57
- "payload": [
57
+ "payloadSchema": [
58
58
  {
59
59
  "name": "data",
60
60
  "type": "[GalleryItem]"
@@ -65,7 +65,7 @@
65
65
  "event": "GalleryItemLoadFailed",
66
66
  "description": "Fired when GalleryItem fails to load",
67
67
  "scope": "internal",
68
- "payload": [
68
+ "payloadSchema": [
69
69
  {
70
70
  "name": "error",
71
71
  "type": "string"
@@ -101,7 +101,7 @@
101
101
  {
102
102
  "key": "GalleryItemLoaded",
103
103
  "name": "GalleryItem loaded",
104
- "payload": [
104
+ "payloadSchema": [
105
105
  {
106
106
  "name": "data",
107
107
  "type": "[GalleryItem]"
@@ -111,7 +111,7 @@
111
111
  {
112
112
  "key": "GalleryItemLoadFailed",
113
113
  "name": "GalleryItem load failed",
114
- "payload": [
114
+ "payloadSchema": [
115
115
  {
116
116
  "name": "error",
117
117
  "type": "string"
@@ -125,7 +125,7 @@
125
125
  {
126
126
  "key": "VIEW",
127
127
  "name": "View",
128
- "payload": [
128
+ "payloadSchema": [
129
129
  {
130
130
  "name": "id",
131
131
  "type": "string",
@@ -149,8 +149,8 @@
149
149
  "GalleryItem",
150
150
  {
151
151
  "emit": {
152
- "success": "GalleryItemLoaded",
153
- "failure": "GalleryItemLoadFailed"
152
+ "failure": "GalleryItemLoadFailed",
153
+ "success": "GalleryItemLoaded"
154
154
  }
155
155
  }
156
156
  ],
@@ -158,22 +158,22 @@
158
158
  "render-ui",
159
159
  "main",
160
160
  {
161
- "type": "stack",
162
- "gap": "md",
161
+ "className": "py-12",
163
162
  "children": [
164
163
  {
165
164
  "type": "spinner"
166
165
  },
167
166
  {
168
- "content": "Loading…",
169
- "color": "muted",
167
+ "variant": "caption",
170
168
  "type": "typography",
171
- "variant": "caption"
169
+ "content": "Loading…",
170
+ "color": "muted"
172
171
  }
173
172
  ],
173
+ "type": "stack",
174
+ "direction": "vertical",
174
175
  "align": "center",
175
- "className": "py-12",
176
- "direction": "vertical"
176
+ "gap": "md"
177
177
  }
178
178
  ]
179
179
  ]
@@ -187,19 +187,16 @@
187
187
  "render-ui",
188
188
  "main",
189
189
  {
190
- "direction": "vertical",
191
- "gap": "lg",
190
+ "type": "stack",
192
191
  "children": [
193
192
  {
194
- "direction": "horizontal",
195
- "justify": "between",
196
- "type": "stack",
197
193
  "gap": "md",
194
+ "type": "stack",
195
+ "justify": "between",
196
+ "direction": "horizontal",
198
197
  "align": "center",
199
198
  "children": [
200
199
  {
201
- "gap": "sm",
202
- "align": "center",
203
200
  "type": "stack",
204
201
  "direction": "horizontal",
205
202
  "children": [
@@ -208,16 +205,18 @@
208
205
  "type": "icon"
209
206
  },
210
207
  {
211
- "type": "typography",
212
208
  "variant": "h2",
209
+ "type": "typography",
213
210
  "content": "GalleryItems Gallery"
214
211
  }
215
- ]
212
+ ],
213
+ "align": "center",
214
+ "gap": "sm"
216
215
  },
217
216
  {
218
- "color": "muted",
219
- "variant": "caption",
220
217
  "content": "Click any image to view full size",
218
+ "variant": "caption",
219
+ "color": "muted",
221
220
  "type": "typography"
222
221
  }
223
222
  ]
@@ -226,33 +225,34 @@
226
225
  "type": "divider"
227
226
  },
228
227
  {
229
- "cols": 3.0,
230
- "entity": "@payload.data",
231
228
  "type": "data-grid",
232
- "imageField": "imageUrl",
229
+ "entity": "@payload.data",
230
+ "gap": "md",
233
231
  "itemActions": [
234
232
  {
233
+ "event": "VIEW",
235
234
  "icon": "maximize",
236
- "label": "View",
237
- "event": "VIEW"
235
+ "label": "View"
238
236
  }
239
237
  ],
240
- "gap": "md",
241
238
  "fields": [
242
239
  {
243
- "variant": "h4",
240
+ "label": "Title",
244
241
  "name": "name",
245
- "label": "Title"
242
+ "variant": "h4"
246
243
  },
247
244
  {
248
- "label": "Status",
245
+ "name": "status",
249
246
  "variant": "badge",
250
- "name": "status"
247
+ "label": "Status"
251
248
  }
252
- ]
249
+ ],
250
+ "cols": 3.0,
251
+ "imageField": "imageUrl"
253
252
  }
254
253
  ],
255
- "type": "stack"
254
+ "gap": "lg",
255
+ "direction": "vertical"
256
256
  }
257
257
  ]
258
258
  ]
@@ -266,7 +266,8 @@
266
266
  "render-ui",
267
267
  "main",
268
268
  {
269
- "align": "center",
269
+ "className": "py-12",
270
+ "direction": "vertical",
270
271
  "children": [
271
272
  {
272
273
  "type": "icon",
@@ -274,28 +275,27 @@
274
275
  "color": "destructive"
275
276
  },
276
277
  {
277
- "type": "typography",
278
278
  "variant": "h3",
279
- "content": "Failed to load"
279
+ "content": "Failed to load",
280
+ "type": "typography"
280
281
  },
281
282
  {
282
- "content": "@payload.error",
283
- "color": "muted",
284
283
  "type": "typography",
285
- "variant": "body"
284
+ "variant": "body",
285
+ "content": "@payload.error",
286
+ "color": "muted"
286
287
  },
287
288
  {
289
+ "label": "Retry",
288
290
  "type": "button",
291
+ "variant": "primary",
289
292
  "icon": "rotate-ccw",
290
- "action": "INIT",
291
- "label": "Retry",
292
- "variant": "primary"
293
+ "action": "INIT"
293
294
  }
294
295
  ],
295
296
  "type": "stack",
296
- "direction": "vertical",
297
297
  "gap": "md",
298
- "className": "py-12"
298
+ "align": "center"
299
299
  }
300
300
  ]
301
301
  ]
@@ -309,17 +309,17 @@
309
309
  "render-ui",
310
310
  "modal",
311
311
  {
312
- "closeAction": "CLOSE",
313
312
  "type": "lightbox",
314
313
  "images": [
315
314
  {
316
- "alt": "Image",
317
315
  "caption": "Image",
318
- "src": "https://picsum.photos/seed/gallery1/800/600"
316
+ "src": "https://picsum.photos/seed/gallery1/800/600",
317
+ "alt": "Image"
319
318
  }
320
319
  ],
321
- "currentIndex": 0.0,
320
+ "closeAction": "CLOSE",
322
321
  "showCounter": true,
322
+ "currentIndex": 0.0,
323
323
  "isOpen": true
324
324
  }
325
325
  ]
@@ -340,8 +340,8 @@
340
340
  "GalleryItem",
341
341
  {
342
342
  "emit": {
343
- "success": "GalleryItemLoaded",
344
- "failure": "GalleryItemLoadFailed"
343
+ "failure": "GalleryItemLoadFailed",
344
+ "success": "GalleryItemLoaded"
345
345
  }
346
346
  }
347
347
  ],
@@ -396,4 +396,4 @@
396
396
  ]
397
397
  }
398
398
  ]
399
- }
399
+ }
@@ -46,7 +46,7 @@
46
46
  {
47
47
  "event": "ModalRecordLoadFailed",
48
48
  "scope": "internal",
49
- "payload": [
49
+ "payloadSchema": [
50
50
  {
51
51
  "name": "error",
52
52
  "type": "string"
@@ -60,7 +60,7 @@
60
60
  {
61
61
  "event": "ModalRecordLoaded",
62
62
  "scope": "internal",
63
- "payload": [
63
+ "payloadSchema": [
64
64
  {
65
65
  "name": "data",
66
66
  "type": "[ModalRecord]"
@@ -86,7 +86,7 @@
86
86
  {
87
87
  "key": "OPEN",
88
88
  "name": "Open",
89
- "payload": [
89
+ "payloadSchema": [
90
90
  {
91
91
  "name": "id",
92
92
  "type": "string"
@@ -104,7 +104,7 @@
104
104
  {
105
105
  "key": "SAVE",
106
106
  "name": "Save",
107
- "payload": [
107
+ "payloadSchema": [
108
108
  {
109
109
  "name": "data",
110
110
  "type": "object",
@@ -115,7 +115,7 @@
115
115
  {
116
116
  "key": "ModalRecordLoadFailed",
117
117
  "name": "ModalRecord load failed",
118
- "payload": [
118
+ "payloadSchema": [
119
119
  {
120
120
  "name": "error",
121
121
  "type": "string"
@@ -129,7 +129,7 @@
129
129
  {
130
130
  "key": "ModalRecordLoaded",
131
131
  "name": "ModalRecord loaded",
132
- "payload": [
132
+ "payloadSchema": [
133
133
  {
134
134
  "name": "data",
135
135
  "type": "[ModalRecord]"
@@ -148,8 +148,8 @@
148
148
  "ModalRecord",
149
149
  {
150
150
  "emit": {
151
- "failure": "ModalRecordLoadFailed",
152
- "success": "ModalRecordLoaded"
151
+ "success": "ModalRecordLoaded",
152
+ "failure": "ModalRecordLoadFailed"
153
153
  }
154
154
  }
155
155
  ]
@@ -169,36 +169,36 @@
169
169
  "render-ui",
170
170
  "modal",
171
171
  {
172
- "gap": "md",
173
- "direction": "vertical",
174
172
  "type": "stack",
173
+ "direction": "vertical",
174
+ "gap": "md",
175
175
  "children": [
176
176
  {
177
- "type": "stack",
177
+ "gap": "sm",
178
178
  "children": [
179
179
  {
180
180
  "type": "icon",
181
181
  "name": "@config.icon"
182
182
  },
183
183
  {
184
- "content": "@config.title",
185
184
  "type": "typography",
185
+ "content": "@config.title",
186
186
  "variant": "h3"
187
187
  }
188
188
  ],
189
- "direction": "horizontal",
190
- "gap": "sm"
189
+ "type": "stack",
190
+ "direction": "horizontal"
191
191
  },
192
192
  {
193
193
  "type": "divider"
194
194
  },
195
195
  {
196
- "mode": "@config.mode",
197
- "cancelEvent": "CLOSE",
198
- "entity": "@payload.row",
199
196
  "submitEvent": "SAVE",
197
+ "fields": "@config.fields",
198
+ "entity": "@payload.row",
199
+ "cancelEvent": "CLOSE",
200
200
  "type": "form-section",
201
- "fields": "@config.fields"
201
+ "mode": "@config.mode"
202
202
  }
203
203
  ]
204
204
  }
@@ -252,4 +252,4 @@
252
252
  ]
253
253
  }
254
254
  ]
255
- }
255
+ }
@@ -49,7 +49,7 @@
49
49
  "event": "PagedItemLoaded",
50
50
  "description": "Fired when PagedItem finishes loading; payload.data holds the page",
51
51
  "scope": "internal",
52
- "payload": [
52
+ "payloadSchema": [
53
53
  {
54
54
  "name": "data",
55
55
  "type": "[PagedItem]"
@@ -60,7 +60,7 @@
60
60
  "event": "PagedItemLoadFailed",
61
61
  "description": "Fired when PagedItem 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": "PagedItemLoaded",
95
95
  "name": "PagedItem loaded",
96
- "payload": [
96
+ "payloadSchema": [
97
97
  {
98
98
  "name": "data",
99
99
  "type": "[PagedItem]"
@@ -103,7 +103,7 @@
103
103
  {
104
104
  "key": "PagedItemLoadFailed",
105
105
  "name": "PagedItem 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": "PAGE",
119
119
  "name": "Page",
120
- "payload": [
120
+ "payloadSchema": [
121
121
  {
122
122
  "name": "page",
123
123
  "type": "number",
@@ -142,8 +142,8 @@
142
142
  "PagedItem",
143
143
  {
144
144
  "emit": {
145
- "failure": "PagedItemLoadFailed",
146
- "success": "PagedItemLoaded"
145
+ "success": "PagedItemLoaded",
146
+ "failure": "PagedItemLoadFailed"
147
147
  }
148
148
  }
149
149
  ],
@@ -152,21 +152,21 @@
152
152
  "main",
153
153
  {
154
154
  "direction": "vertical",
155
+ "type": "stack",
155
156
  "align": "center",
156
- "className": "py-12",
157
157
  "gap": "md",
158
- "type": "stack",
159
158
  "children": [
160
159
  {
161
160
  "type": "spinner"
162
161
  },
163
162
  {
164
- "content": "Loading…",
165
- "type": "typography",
166
163
  "variant": "caption",
167
- "color": "muted"
164
+ "color": "muted",
165
+ "content": "Loading…",
166
+ "type": "typography"
168
167
  }
169
- ]
168
+ ],
169
+ "className": "py-12"
170
170
  }
171
171
  ]
172
172
  ]
@@ -180,72 +180,72 @@
180
180
  "render-ui",
181
181
  "main",
182
182
  {
183
+ "type": "stack",
183
184
  "children": [
184
185
  {
185
- "gap": "sm",
186
- "justify": "between",
186
+ "align": "center",
187
187
  "children": [
188
188
  {
189
- "gap": "sm",
190
189
  "type": "stack",
190
+ "gap": "sm",
191
+ "align": "center",
191
192
  "children": [
192
193
  {
193
194
  "type": "icon",
194
195
  "name": "list"
195
196
  },
196
197
  {
197
- "content": "PagedItems",
198
198
  "type": "typography",
199
- "variant": "h2"
199
+ "variant": "h2",
200
+ "content": "PagedItems"
200
201
  }
201
202
  ],
202
- "direction": "horizontal",
203
- "align": "center"
203
+ "direction": "horizontal"
204
204
  }
205
205
  ],
206
206
  "direction": "horizontal",
207
- "align": "center",
207
+ "gap": "sm",
208
+ "justify": "between",
208
209
  "type": "stack"
209
210
  },
210
211
  {
211
212
  "type": "divider"
212
213
  },
213
214
  {
215
+ "entity": "@payload.data",
214
216
  "fields": [
215
217
  {
216
- "label": "Name",
217
218
  "name": "name",
218
- "variant": "h4"
219
+ "variant": "h4",
220
+ "label": "Name"
219
221
  },
220
222
  {
221
223
  "name": "description",
222
- "label": "Description",
223
- "variant": "caption"
224
+ "variant": "caption",
225
+ "label": "Description"
224
226
  },
225
227
  {
226
228
  "variant": "badge",
227
- "label": "Status",
228
- "name": "status"
229
+ "name": "status",
230
+ "label": "Status"
229
231
  }
230
232
  ],
231
- "type": "data-grid",
232
- "entity": "@payload.data"
233
+ "type": "data-grid"
233
234
  },
234
235
  {
235
- "currentPage": 1.0,
236
236
  "totalPages": 10.0,
237
237
  "type": "pagination",
238
238
  "onPageChange": "PAGE",
239
+ "currentPage": 1.0,
239
240
  "showPageSize": false
240
241
  },
241
242
  {
242
- "type": "infinite-scroll-sentinel",
243
- "loadMoreEvent": "PAGE"
243
+ "loadMoreEvent": "PAGE",
244
+ "type": "infinite-scroll-sentinel"
244
245
  }
245
246
  ],
246
- "type": "stack",
247
- "direction": "vertical",
248
- "gap": "lg"
247
+ "gap": "lg",
248
+ "direction": "vertical"
249
249
  }
250
250
  ]
251
251
  ]
@@ -260,35 +260,35 @@
260
260
  "main",
261
261
  {
262
262
  "gap": "md",
263
+ "type": "stack",
263
264
  "align": "center",
264
265
  "className": "py-12",
265
- "type": "stack",
266
- "direction": "vertical",
267
266
  "children": [
268
267
  {
269
- "color": "destructive",
268
+ "type": "icon",
270
269
  "name": "alert-triangle",
271
- "type": "icon"
270
+ "color": "destructive"
272
271
  },
273
272
  {
274
- "type": "typography",
275
273
  "content": "Failed to load",
276
- "variant": "h3"
274
+ "variant": "h3",
275
+ "type": "typography"
277
276
  },
278
277
  {
279
- "content": "@payload.error",
280
- "color": "muted",
278
+ "variant": "body",
281
279
  "type": "typography",
282
- "variant": "body"
280
+ "content": "@payload.error",
281
+ "color": "muted"
283
282
  },
284
283
  {
285
- "icon": "rotate-ccw",
284
+ "action": "INIT",
286
285
  "type": "button",
287
286
  "variant": "primary",
288
- "action": "INIT",
289
- "label": "Retry"
287
+ "label": "Retry",
288
+ "icon": "rotate-ccw"
290
289
  }
291
- ]
290
+ ],
291
+ "direction": "vertical"
292
292
  }
293
293
  ]
294
294
  ]
@@ -303,8 +303,8 @@
303
303
  "PagedItem",
304
304
  {
305
305
  "emit": {
306
- "success": "PagedItemLoaded",
307
- "failure": "PagedItemLoadFailed"
306
+ "failure": "PagedItemLoadFailed",
307
+ "success": "PagedItemLoaded"
308
308
  }
309
309
  }
310
310
  ],
@@ -327,8 +327,8 @@
327
327
  "PagedItem",
328
328
  {
329
329
  "emit": {
330
- "success": "PagedItemLoaded",
331
- "failure": "PagedItemLoadFailed"
330
+ "failure": "PagedItemLoadFailed",
331
+ "success": "PagedItemLoaded"
332
332
  }
333
333
  }
334
334
  ],
@@ -359,4 +359,4 @@
359
359
  ]
360
360
  }
361
361
  ]
362
- }
362
+ }