@almadar/std 13.7.0 → 13.8.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 (139) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  24. package/behaviors/registry/app/organisms/std-cms.orb +547 -547
  25. package/behaviors/registry/core/atoms/std-browse.orb +36 -36
  26. package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  27. package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  28. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  29. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  30. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  31. package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  32. package/behaviors/registry/core/atoms/std-filter.orb +6 -9
  33. package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  34. package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  35. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  36. package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  37. package/behaviors/registry/core/atoms/std-push.orb +48 -90
  38. package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  39. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  40. package/behaviors/registry/core/atoms/std-search.orb +3 -3
  41. package/behaviors/registry/core/atoms/std-selection.orb +102 -102
  42. package/behaviors/registry/core/atoms/std-stats.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  44. package/behaviors/registry/core/molecules/std-cart.orb +64 -64
  45. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  46. package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  47. package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  48. package/behaviors/registry/core/molecules/std-list.orb +63 -63
  49. package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  50. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  51. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  52. package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  53. package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  54. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  55. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  56. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  57. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  58. package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  59. package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  60. package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  61. package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  62. package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  63. package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  64. package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  65. package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  66. package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  67. package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  68. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  69. package/dist/behaviors/behaviors-registry.json +2913 -322
  70. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  71. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  72. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  73. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  74. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  75. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  76. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  77. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  78. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  79. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  80. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  81. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  82. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  83. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  84. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  85. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  86. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  87. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  88. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  89. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  90. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  91. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  92. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  93. package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
  94. package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
  95. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  96. package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  97. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  98. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  99. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  100. package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  101. package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
  102. package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  103. package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  104. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  105. package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  106. package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
  107. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  108. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  109. package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
  110. package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
  111. package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
  112. package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  113. package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
  114. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  115. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  116. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  117. package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
  118. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  119. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  120. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  121. package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  122. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  123. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  124. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  125. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  126. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  127. package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  128. package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  129. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  130. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  131. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  132. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  133. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  134. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  135. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  136. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  137. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  138. package/dist/behaviors-registry.json +2913 -322
  139. package/package.json +1 -1
@@ -21,26 +21,13 @@
21
21
  "items": {
22
22
  "type": "object",
23
23
  "properties": {
24
- "value": {
25
- "name": "value",
26
- "type": "number"
27
- },
28
24
  "max": {
29
25
  "name": "max",
30
26
  "type": "number"
31
27
  },
32
- "format": {
33
- "name": "format",
34
- "type": "string",
35
- "values": [
36
- "number",
37
- "currency",
38
- "percent"
39
- ]
40
- },
41
- "target": {
42
- "name": "target",
43
- "type": "number"
28
+ "suffix": {
29
+ "name": "suffix",
30
+ "type": "string"
44
31
  },
45
32
  "trend": {
46
33
  "name": "trend",
@@ -58,10 +45,6 @@
58
45
  "info"
59
46
  ]
60
47
  },
61
- "prefix": {
62
- "name": "prefix",
63
- "type": "string"
64
- },
65
48
  "icon": {
66
49
  "name": "icon",
67
50
  "type": "string"
@@ -70,8 +53,25 @@
70
53
  "name": "label",
71
54
  "type": "string"
72
55
  },
73
- "suffix": {
74
- "name": "suffix",
56
+ "value": {
57
+ "name": "value",
58
+ "type": "number"
59
+ },
60
+ "target": {
61
+ "name": "target",
62
+ "type": "number"
63
+ },
64
+ "format": {
65
+ "name": "format",
66
+ "type": "string",
67
+ "values": [
68
+ "number",
69
+ "currency",
70
+ "percent"
71
+ ]
72
+ },
73
+ "prefix": {
74
+ "name": "prefix",
75
75
  "type": "string"
76
76
  }
77
77
  }
@@ -126,22 +126,22 @@
126
126
  "render-ui",
127
127
  "main",
128
128
  {
129
- "type": "data-list",
130
129
  "entity": "@entity.cards",
131
130
  "renderItem": [
132
131
  "fn",
133
132
  "card",
134
133
  {
134
+ "type": "stat-display",
135
+ "value": "@card.value",
135
136
  "variant": "@card.variant",
136
- "icon": "@card.icon",
137
- "format": "@card.format",
138
137
  "max": "@card.max",
139
- "type": "stat-display",
138
+ "format": "@card.format",
140
139
  "label": "@card.label",
141
- "value": "@card.value"
140
+ "icon": "@card.icon"
142
141
  }
143
142
  ],
144
- "fields": []
143
+ "fields": [],
144
+ "type": "data-grid"
145
145
  }
146
146
  ]
147
147
  ]
@@ -161,12 +161,24 @@
161
161
  "fn",
162
162
  "metric",
163
163
  {
164
- "trend": [
164
+ "prefix": [
165
165
  "object/get",
166
166
  "@metric",
167
- "trend",
167
+ "prefix",
168
+ ""
169
+ ],
170
+ "max": [
171
+ "object/get",
172
+ "@metric",
173
+ "max",
168
174
  0.0
169
175
  ],
176
+ "icon": [
177
+ "object/get",
178
+ "@metric",
179
+ "icon",
180
+ ""
181
+ ],
170
182
  "value": [
171
183
  "if",
172
184
  [
@@ -308,52 +320,40 @@
308
320
  ]
309
321
  ]
310
322
  ],
311
- "max": [
323
+ "variant": [
312
324
  "object/get",
313
325
  "@metric",
314
- "max",
315
- 0.0
326
+ "variant",
327
+ "default"
316
328
  ],
317
- "target": [
329
+ "trend": [
318
330
  "object/get",
319
331
  "@metric",
320
- "target",
332
+ "trend",
321
333
  0.0
322
334
  ],
323
- "suffix": [
324
- "object/get",
325
- "@metric",
326
- "suffix",
327
- ""
328
- ],
329
- "prefix": [
335
+ "format": [
330
336
  "object/get",
331
337
  "@metric",
332
- "prefix",
333
- ""
338
+ "format",
339
+ "number"
334
340
  ],
335
341
  "label": [
336
342
  "object/get",
337
343
  "@metric",
338
344
  "label"
339
345
  ],
340
- "icon": [
346
+ "suffix": [
341
347
  "object/get",
342
348
  "@metric",
343
- "icon",
349
+ "suffix",
344
350
  ""
345
351
  ],
346
- "variant": [
347
- "object/get",
348
- "@metric",
349
- "variant",
350
- "default"
351
- ],
352
- "format": [
352
+ "target": [
353
353
  "object/get",
354
354
  "@metric",
355
- "format",
356
- "number"
355
+ "target",
356
+ 0.0
357
357
  ]
358
358
  }
359
359
  ]
@@ -368,21 +368,21 @@
368
368
  "fn",
369
369
  "card",
370
370
  {
371
- "variant": "@card.variant",
371
+ "label": "@card.label",
372
+ "icon": "@card.icon",
373
+ "max": "@card.max",
374
+ "prefix": "@card.prefix",
372
375
  "type": "stat-display",
373
376
  "format": "@card.format",
374
- "prefix": "@card.prefix",
377
+ "variant": "@card.variant",
378
+ "target": "@card.target",
375
379
  "trend": "@card.trend",
376
380
  "value": "@card.value",
377
- "suffix": "@card.suffix",
378
- "max": "@card.max",
379
- "icon": "@card.icon",
380
- "label": "@card.label",
381
- "target": "@card.target"
381
+ "suffix": "@card.suffix"
382
382
  }
383
383
  ],
384
- "fields": [],
385
- "entity": "@entity.cards"
384
+ "entity": "@entity.cards",
385
+ "fields": []
386
386
  }
387
387
  ]
388
388
  ]
@@ -30,20 +30,20 @@
30
30
  "name": "label",
31
31
  "type": "string"
32
32
  },
33
- "icon": {
34
- "name": "icon",
35
- "type": "string"
36
- },
37
33
  "id": {
38
34
  "name": "id",
39
35
  "type": "string"
40
36
  },
37
+ "badge": {
38
+ "name": "badge",
39
+ "type": "string"
40
+ },
41
41
  "content": {
42
42
  "name": "content",
43
43
  "type": "string"
44
44
  },
45
- "badge": {
46
- "name": "badge",
45
+ "icon": {
46
+ "name": "icon",
47
47
  "type": "string"
48
48
  }
49
49
  }
@@ -113,12 +113,12 @@
113
113
  "render-ui",
114
114
  "main",
115
115
  {
116
- "tabChangeEvent": "TAB_CHANGED",
116
+ "orientation": "@config.orientation",
117
117
  "type": "tabs",
118
118
  "items": "@entity.items",
119
+ "activeTab": "@entity.activeTab",
119
120
  "variant": "@config.variant",
120
- "orientation": "@config.orientation",
121
- "activeTab": "@entity.activeTab"
121
+ "tabChangeEvent": "TAB_CHANGED"
122
122
  }
123
123
  ]
124
124
  ]
@@ -138,11 +138,11 @@
138
138
  "main",
139
139
  {
140
140
  "items": "@entity.items",
141
- "variant": "@config.variant",
142
141
  "type": "tabs",
142
+ "activeTab": "@entity.activeTab",
143
143
  "orientation": "@config.orientation",
144
- "tabChangeEvent": "TAB_CHANGED",
145
- "activeTab": "@entity.activeTab"
144
+ "variant": "@config.variant",
145
+ "tabChangeEvent": "TAB_CHANGED"
146
146
  }
147
147
  ]
148
148
  ]
@@ -150,21 +150,21 @@
150
150
  ]
151
151
  },
152
152
  "config": {
153
- "variant": {
154
- "type": "string",
155
- "default": "default"
156
- },
157
153
  "tabs": {
158
154
  "type": "[object]",
159
155
  "default": []
160
156
  },
161
- "orientation": {
157
+ "variant": {
162
158
  "type": "string",
163
- "default": "horizontal"
159
+ "default": "default"
164
160
  },
165
161
  "defaultTab": {
166
162
  "type": "string",
167
163
  "default": ""
164
+ },
165
+ "orientation": {
166
+ "type": "string",
167
+ "default": "horizontal"
168
168
  }
169
169
  },
170
170
  "scope": "instance"
@@ -207,8 +207,8 @@
207
207
  "CartItem",
208
208
  {
209
209
  "emit": {
210
- "success": "CartItemLoaded",
211
- "failure": "CartItemLoadFailed"
210
+ "failure": "CartItemLoadFailed",
211
+ "success": "CartItemLoaded"
212
212
  }
213
213
  }
214
214
  ],
@@ -216,22 +216,22 @@
216
216
  "render-ui",
217
217
  "main",
218
218
  {
219
- "direction": "vertical",
220
- "className": "py-12",
221
- "gap": "md",
222
- "type": "stack",
223
219
  "align": "center",
224
220
  "children": [
225
221
  {
226
222
  "type": "spinner"
227
223
  },
228
224
  {
229
- "type": "typography",
225
+ "color": "muted",
230
226
  "content": "Loading cart…",
231
- "variant": "caption",
232
- "color": "muted"
227
+ "type": "typography",
228
+ "variant": "caption"
233
229
  }
234
- ]
230
+ ],
231
+ "type": "stack",
232
+ "direction": "vertical",
233
+ "gap": "md",
234
+ "className": "py-12"
235
235
  }
236
236
  ]
237
237
  ]
@@ -245,74 +245,74 @@
245
245
  "render-ui",
246
246
  "main",
247
247
  {
248
+ "type": "stack",
248
249
  "direction": "vertical",
250
+ "gap": "lg",
249
251
  "children": [
250
252
  {
251
- "gap": "md",
252
253
  "type": "stack",
254
+ "direction": "horizontal",
255
+ "gap": "md",
253
256
  "justify": "between",
254
257
  "children": [
255
258
  {
256
259
  "direction": "horizontal",
257
260
  "children": [
258
261
  {
259
- "name": "shopping-cart",
260
- "type": "icon"
262
+ "type": "icon",
263
+ "name": "shopping-cart"
261
264
  },
262
265
  {
263
266
  "type": "typography",
264
- "variant": "h2",
265
- "content": "Shopping Cart"
267
+ "content": "Shopping Cart",
268
+ "variant": "h2"
266
269
  }
267
270
  ],
268
- "gap": "md",
269
- "type": "stack"
271
+ "type": "stack",
272
+ "gap": "md"
270
273
  },
271
274
  {
272
- "type": "button",
273
- "variant": "primary",
274
275
  "icon": "plus",
275
- "label": "Add Item",
276
- "action": "ADD_ITEM"
276
+ "variant": "primary",
277
+ "action": "ADD_ITEM",
278
+ "type": "button",
279
+ "label": "Add Item"
277
280
  }
278
- ],
279
- "direction": "horizontal"
281
+ ]
280
282
  },
281
283
  {
282
284
  "type": "divider"
283
285
  },
284
286
  {
285
- "itemActions": [
286
- {
287
- "variant": "danger",
288
- "label": "Remove",
289
- "event": "REQUEST_REMOVE"
290
- }
291
- ],
292
- "type": "data-grid",
293
- "entity": "@payload.data",
294
287
  "fields": [
295
288
  {
296
- "variant": "h4",
297
- "label": "Name",
289
+ "icon": "shopping-cart",
298
290
  "name": "name",
299
- "icon": "shopping-cart"
291
+ "variant": "h4",
292
+ "label": "Name"
300
293
  },
301
294
  {
302
295
  "variant": "caption",
303
- "label": "Description",
304
- "name": "description"
296
+ "name": "description",
297
+ "label": "Description"
305
298
  },
306
299
  {
307
300
  "name": "status",
308
301
  "label": "Status",
309
302
  "variant": "badge"
310
303
  }
304
+ ],
305
+ "type": "data-grid",
306
+ "entity": "@payload.data",
307
+ "itemActions": [
308
+ {
309
+ "variant": "danger",
310
+ "label": "Remove",
311
+ "event": "REQUEST_REMOVE"
312
+ }
311
313
  ]
312
314
  }
313
- ],
314
- "type": "stack",
315
- "gap": "lg"
315
+ ]
316
316
  }
317
317
  ]
318
318
  ]
@@ -326,36 +326,36 @@
326
326
  "render-ui",
327
327
  "main",
328
328
  {
329
- "align": "center",
330
- "gap": "md",
331
- "direction": "vertical",
332
- "type": "stack",
333
- "className": "py-12",
334
329
  "children": [
335
330
  {
336
- "type": "icon",
331
+ "name": "alert-triangle",
337
332
  "color": "destructive",
338
- "name": "alert-triangle"
333
+ "type": "icon"
339
334
  },
340
335
  {
336
+ "type": "typography",
341
337
  "variant": "h3",
342
- "content": "Failed to load cart",
343
- "type": "typography"
338
+ "content": "Failed to load cart"
344
339
  },
345
340
  {
341
+ "variant": "body",
346
342
  "content": "@payload.error",
347
343
  "type": "typography",
348
- "variant": "body",
349
344
  "color": "muted"
350
345
  },
351
346
  {
352
347
  "type": "button",
353
- "label": "Retry",
348
+ "action": "INIT",
354
349
  "variant": "primary",
355
- "icon": "rotate-ccw",
356
- "action": "INIT"
350
+ "label": "Retry",
351
+ "icon": "rotate-ccw"
357
352
  }
358
- ]
353
+ ],
354
+ "type": "stack",
355
+ "align": "center",
356
+ "className": "py-12",
357
+ "gap": "md",
358
+ "direction": "vertical"
359
359
  }
360
360
  ]
361
361
  ]
@@ -370,8 +370,8 @@
370
370
  "CartItem",
371
371
  {
372
372
  "emit": {
373
- "failure": "CartItemLoadFailed",
374
- "success": "CartItemLoaded"
373
+ "success": "CartItemLoaded",
374
+ "failure": "CartItemLoadFailed"
375
375
  }
376
376
  }
377
377
  ],
@@ -417,15 +417,15 @@
417
417
  "name": "CartItemAddItem",
418
418
  "linkedEntity": "CartItem",
419
419
  "config": {
420
- "title": "Add Item",
420
+ "icon": "plus-circle",
421
+ "openButtonLabel": "Add Item",
421
422
  "fields": [
422
423
  "name",
423
424
  "description",
424
425
  "status"
425
426
  ],
426
- "mode": "create",
427
- "openButtonLabel": "Add Item",
428
- "icon": "plus-circle"
427
+ "title": "Add Item",
428
+ "mode": "create"
429
429
  },
430
430
  "events": {
431
431
  "OPEN": "ADD_ITEM"
@@ -446,14 +446,14 @@
446
446
  "name": "CartItemRemoveConfirm",
447
447
  "linkedEntity": "CartItem",
448
448
  "config": {
449
+ "confirmLabel": "Remove",
449
450
  "icon": "alert-triangle",
450
451
  "title": "Remove Item",
451
- "confirmLabel": "Remove",
452
452
  "alertMessage": "Are you sure you want to remove this item from your cart?"
453
453
  },
454
454
  "events": {
455
- "CONFIRM": "CONFIRM_REMOVE",
456
- "REQUEST": "REQUEST_REMOVE"
455
+ "REQUEST": "REQUEST_REMOVE",
456
+ "CONFIRM": "CONFIRM_REMOVE"
457
457
  },
458
458
  "listens": [
459
459
  {
@@ -621,4 +621,4 @@
621
621
  ]
622
622
  }
623
623
  ]
624
- }
624
+ }