@almadar/std 14.5.1 → 14.7.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.
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
- package/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
- package/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
- package/behaviors/registry/app/organisms/std-cms.orb +556 -556
- package/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
- package/behaviors/registry/app/organisms/std-crm.orb +806 -806
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
- package/behaviors/registry/app/organisms/std-ecommerce.orb +687 -655
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
- package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
- package/behaviors/registry/app/organisms/std-lms.orb +860 -860
- package/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
- package/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
- package/behaviors/registry/service/atoms/std-service-stripe.orb +187 -171
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
- package/dist/behaviors/registry/app/organisms/std-cms.orb +556 -556
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
- package/dist/behaviors/registry/app/organisms/std-crm.orb +806 -806
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +687 -655
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
- package/dist/behaviors/registry/app/organisms/std-lms.orb +860 -860
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +187 -171
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
- package/package.json +1 -1
|
@@ -69,7 +69,10 @@
|
|
|
69
69
|
"ref": "AppShell.traits.AppLayout",
|
|
70
70
|
"name": "ProductAppLayout",
|
|
71
71
|
"config": {
|
|
72
|
+
"contentTrait": "@trait.ProductCatalog",
|
|
72
73
|
"searchEvent": "PRODUCT_SEARCH",
|
|
74
|
+
"notifications": [],
|
|
75
|
+
"appName": "EcommerceApp",
|
|
73
76
|
"notificationClickEvent": "PRODUCT_NOTIFICATIONS_OPEN",
|
|
74
77
|
"navItems": [
|
|
75
78
|
{
|
|
@@ -78,31 +81,28 @@
|
|
|
78
81
|
"label": "Products"
|
|
79
82
|
},
|
|
80
83
|
{
|
|
81
|
-
"href": "/cart",
|
|
82
84
|
"label": "Cart",
|
|
85
|
+
"href": "/cart",
|
|
83
86
|
"icon": "shopping-cart"
|
|
84
87
|
},
|
|
85
88
|
{
|
|
86
89
|
"href": "/checkout",
|
|
87
|
-
"
|
|
88
|
-
"
|
|
90
|
+
"label": "Checkout",
|
|
91
|
+
"icon": "credit-card"
|
|
89
92
|
},
|
|
90
93
|
{
|
|
94
|
+
"href": "/orders",
|
|
91
95
|
"icon": "clipboard-list",
|
|
92
|
-
"label": "Orders"
|
|
93
|
-
"href": "/orders"
|
|
96
|
+
"label": "Orders"
|
|
94
97
|
}
|
|
95
98
|
],
|
|
96
99
|
"topBarActions": [
|
|
97
100
|
{
|
|
98
|
-
"event": "CART_OPEN",
|
|
99
101
|
"icon": "shopping-cart",
|
|
102
|
+
"event": "CART_OPEN",
|
|
100
103
|
"label": "Cart"
|
|
101
104
|
}
|
|
102
|
-
]
|
|
103
|
-
"contentTrait": "@trait.ProductCatalog",
|
|
104
|
-
"appName": "EcommerceApp",
|
|
105
|
-
"notifications": []
|
|
105
|
+
]
|
|
106
106
|
},
|
|
107
107
|
"events": {
|
|
108
108
|
"NOTIFY_CLICK": "PRODUCT_NOTIFICATIONS_OPEN",
|
|
@@ -189,15 +189,18 @@
|
|
|
189
189
|
"render-ui",
|
|
190
190
|
"main",
|
|
191
191
|
{
|
|
192
|
+
"gap": "lg",
|
|
192
193
|
"children": [
|
|
193
194
|
{
|
|
195
|
+
"align": "center",
|
|
196
|
+
"gap": "md",
|
|
197
|
+
"type": "stack",
|
|
194
198
|
"children": [
|
|
195
199
|
{
|
|
196
|
-
"direction": "horizontal",
|
|
197
200
|
"children": [
|
|
198
201
|
{
|
|
199
|
-
"
|
|
200
|
-
"
|
|
202
|
+
"type": "icon",
|
|
203
|
+
"name": "package"
|
|
201
204
|
},
|
|
202
205
|
{
|
|
203
206
|
"content": "Products",
|
|
@@ -205,37 +208,34 @@
|
|
|
205
208
|
"variant": "h2"
|
|
206
209
|
}
|
|
207
210
|
],
|
|
208
|
-
"gap": "sm",
|
|
209
211
|
"align": "center",
|
|
210
|
-
"
|
|
212
|
+
"direction": "horizontal",
|
|
213
|
+
"type": "stack",
|
|
214
|
+
"gap": "sm"
|
|
211
215
|
},
|
|
212
216
|
{
|
|
213
217
|
"gap": "sm",
|
|
214
218
|
"children": [
|
|
215
219
|
{
|
|
220
|
+
"type": "button",
|
|
221
|
+
"label": "Create Product",
|
|
216
222
|
"variant": "primary",
|
|
217
|
-
"action": "CREATE",
|
|
218
223
|
"icon": "plus",
|
|
219
|
-
"
|
|
220
|
-
"label": "Create Product"
|
|
224
|
+
"action": "CREATE"
|
|
221
225
|
}
|
|
222
226
|
],
|
|
223
227
|
"type": "stack",
|
|
224
228
|
"direction": "horizontal"
|
|
225
229
|
}
|
|
226
230
|
],
|
|
227
|
-
"type": "stack",
|
|
228
231
|
"direction": "horizontal",
|
|
229
|
-
"
|
|
230
|
-
"justify": "between",
|
|
231
|
-
"gap": "md"
|
|
232
|
+
"justify": "between"
|
|
232
233
|
},
|
|
233
234
|
{
|
|
234
235
|
"type": "divider"
|
|
235
236
|
},
|
|
236
237
|
"@trait.ProductBrowseList"
|
|
237
238
|
],
|
|
238
|
-
"gap": "lg",
|
|
239
239
|
"direction": "vertical",
|
|
240
240
|
"type": "stack"
|
|
241
241
|
}
|
|
@@ -256,34 +256,34 @@
|
|
|
256
256
|
"render-ui",
|
|
257
257
|
"main",
|
|
258
258
|
{
|
|
259
|
-
"
|
|
260
|
-
"type": "stack",
|
|
261
|
-
"direction": "vertical",
|
|
262
|
-
"gap": "md",
|
|
259
|
+
"className": "py-8",
|
|
263
260
|
"children": [
|
|
264
261
|
{
|
|
265
262
|
"type": "icon",
|
|
266
263
|
"name": "bell"
|
|
267
264
|
},
|
|
268
265
|
{
|
|
269
|
-
"variant": "h3",
|
|
270
266
|
"content": "No notifications",
|
|
271
|
-
"type": "typography"
|
|
267
|
+
"type": "typography",
|
|
268
|
+
"variant": "h3"
|
|
272
269
|
},
|
|
273
270
|
{
|
|
274
|
-
"variant": "caption",
|
|
275
|
-
"color": "muted",
|
|
276
271
|
"type": "typography",
|
|
277
|
-
"content": "You're all caught up."
|
|
272
|
+
"content": "You're all caught up.",
|
|
273
|
+
"variant": "caption",
|
|
274
|
+
"color": "muted"
|
|
278
275
|
},
|
|
279
276
|
{
|
|
280
277
|
"label": "Back to products",
|
|
281
|
-
"variant": "ghost",
|
|
282
278
|
"action": "INIT",
|
|
283
|
-
"type": "button"
|
|
279
|
+
"type": "button",
|
|
280
|
+
"variant": "ghost"
|
|
284
281
|
}
|
|
285
282
|
],
|
|
286
|
-
"
|
|
283
|
+
"gap": "md",
|
|
284
|
+
"type": "stack",
|
|
285
|
+
"direction": "vertical",
|
|
286
|
+
"align": "center"
|
|
287
287
|
}
|
|
288
288
|
]
|
|
289
289
|
]
|
|
@@ -297,39 +297,20 @@
|
|
|
297
297
|
"name": "ProductBrowseList",
|
|
298
298
|
"linkedEntity": "Product",
|
|
299
299
|
"config": {
|
|
300
|
-
"gap": "md",
|
|
301
|
-
"itemActions": [
|
|
302
|
-
{
|
|
303
|
-
"label": "View",
|
|
304
|
-
"event": "VIEW",
|
|
305
|
-
"variant": "ghost"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"event": "EDIT",
|
|
309
|
-
"variant": "ghost",
|
|
310
|
-
"label": "Edit"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"label": "Delete",
|
|
314
|
-
"variant": "danger",
|
|
315
|
-
"event": "DELETE"
|
|
316
|
-
}
|
|
317
|
-
],
|
|
318
300
|
"imageField": "imageUrl",
|
|
319
|
-
"cols": 3.0,
|
|
320
301
|
"fields": [
|
|
321
302
|
{
|
|
322
|
-
"variant": "h3",
|
|
323
303
|
"name": "name",
|
|
304
|
+
"variant": "h3",
|
|
324
305
|
"icon": "package"
|
|
325
306
|
},
|
|
326
307
|
{
|
|
327
|
-
"
|
|
328
|
-
"
|
|
308
|
+
"name": "category",
|
|
309
|
+
"variant": "badge"
|
|
329
310
|
},
|
|
330
311
|
{
|
|
331
|
-
"name": "price",
|
|
332
312
|
"variant": "h4",
|
|
313
|
+
"name": "price",
|
|
333
314
|
"format": "currency"
|
|
334
315
|
},
|
|
335
316
|
{
|
|
@@ -337,11 +318,30 @@
|
|
|
337
318
|
"variant": "caption"
|
|
338
319
|
},
|
|
339
320
|
{
|
|
340
|
-
"variant": "body",
|
|
341
321
|
"format": "boolean",
|
|
342
322
|
"name": "inStock",
|
|
323
|
+
"variant": "body",
|
|
343
324
|
"label": "In Stock"
|
|
344
325
|
}
|
|
326
|
+
],
|
|
327
|
+
"cols": 3.0,
|
|
328
|
+
"gap": "md",
|
|
329
|
+
"itemActions": [
|
|
330
|
+
{
|
|
331
|
+
"label": "View",
|
|
332
|
+
"event": "VIEW",
|
|
333
|
+
"variant": "ghost"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"variant": "ghost",
|
|
337
|
+
"event": "EDIT",
|
|
338
|
+
"label": "Edit"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"label": "Delete",
|
|
342
|
+
"event": "DELETE",
|
|
343
|
+
"variant": "danger"
|
|
344
|
+
}
|
|
345
345
|
]
|
|
346
346
|
},
|
|
347
347
|
"listens": [
|
|
@@ -562,8 +562,8 @@
|
|
|
562
562
|
"Product",
|
|
563
563
|
{
|
|
564
564
|
"emit": {
|
|
565
|
-
"
|
|
566
|
-
"
|
|
565
|
+
"success": "ProductLoaded",
|
|
566
|
+
"failure": "ProductLoadFailed"
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
],
|
|
@@ -572,23 +572,22 @@
|
|
|
572
572
|
"modal",
|
|
573
573
|
{
|
|
574
574
|
"direction": "vertical",
|
|
575
|
-
"gap": "md",
|
|
576
575
|
"children": [
|
|
577
576
|
{
|
|
578
577
|
"gap": "sm",
|
|
578
|
+
"direction": "horizontal",
|
|
579
579
|
"type": "stack",
|
|
580
580
|
"children": [
|
|
581
581
|
{
|
|
582
|
-
"
|
|
583
|
-
"
|
|
582
|
+
"name": "plus-circle",
|
|
583
|
+
"type": "icon"
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
|
-
"variant": "h3",
|
|
587
586
|
"type": "typography",
|
|
587
|
+
"variant": "h3",
|
|
588
588
|
"content": "Create Product"
|
|
589
589
|
}
|
|
590
|
-
]
|
|
591
|
-
"direction": "horizontal"
|
|
590
|
+
]
|
|
592
591
|
},
|
|
593
592
|
{
|
|
594
593
|
"type": "divider"
|
|
@@ -603,11 +602,12 @@
|
|
|
603
602
|
"sku",
|
|
604
603
|
"inStock"
|
|
605
604
|
],
|
|
606
|
-
"type": "form-section",
|
|
607
605
|
"mode": "create",
|
|
606
|
+
"type": "form-section",
|
|
608
607
|
"submitEvent": "SAVE"
|
|
609
608
|
}
|
|
610
609
|
],
|
|
610
|
+
"gap": "md",
|
|
611
611
|
"type": "stack"
|
|
612
612
|
}
|
|
613
613
|
]
|
|
@@ -649,8 +649,8 @@
|
|
|
649
649
|
"@payload.data",
|
|
650
650
|
{
|
|
651
651
|
"emit": {
|
|
652
|
-
"
|
|
653
|
-
"
|
|
652
|
+
"success": "ProductSaved",
|
|
653
|
+
"failure": "ProductSaveFailed"
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
],
|
|
@@ -896,30 +896,31 @@
|
|
|
896
896
|
"render-ui",
|
|
897
897
|
"modal",
|
|
898
898
|
{
|
|
899
|
+
"type": "stack",
|
|
900
|
+
"direction": "vertical",
|
|
899
901
|
"children": [
|
|
900
902
|
{
|
|
901
|
-
"direction": "horizontal",
|
|
902
|
-
"gap": "sm",
|
|
903
|
-
"type": "stack",
|
|
904
903
|
"children": [
|
|
905
904
|
{
|
|
906
|
-
"
|
|
907
|
-
"
|
|
905
|
+
"name": "edit",
|
|
906
|
+
"type": "icon"
|
|
908
907
|
},
|
|
909
908
|
{
|
|
910
|
-
"
|
|
909
|
+
"type": "typography",
|
|
911
910
|
"variant": "h3",
|
|
912
|
-
"
|
|
911
|
+
"content": "Edit Product"
|
|
913
912
|
}
|
|
914
|
-
]
|
|
913
|
+
],
|
|
914
|
+
"type": "stack",
|
|
915
|
+
"direction": "horizontal",
|
|
916
|
+
"gap": "sm"
|
|
915
917
|
},
|
|
916
918
|
{
|
|
917
919
|
"type": "divider"
|
|
918
920
|
},
|
|
919
921
|
{
|
|
920
|
-
"entity": "@payload.row",
|
|
921
922
|
"type": "form-section",
|
|
922
|
-
"
|
|
923
|
+
"submitEvent": "SAVE",
|
|
923
924
|
"fields": [
|
|
924
925
|
"name",
|
|
925
926
|
"description",
|
|
@@ -928,12 +929,11 @@
|
|
|
928
929
|
"sku",
|
|
929
930
|
"inStock"
|
|
930
931
|
],
|
|
931
|
-
"
|
|
932
|
-
"cancelEvent": "CLOSE"
|
|
932
|
+
"entity": "@payload.row",
|
|
933
|
+
"cancelEvent": "CLOSE",
|
|
934
|
+
"mode": "edit"
|
|
933
935
|
}
|
|
934
936
|
],
|
|
935
|
-
"type": "stack",
|
|
936
|
-
"direction": "vertical",
|
|
937
937
|
"gap": "md"
|
|
938
938
|
}
|
|
939
939
|
]
|
|
@@ -1164,8 +1164,8 @@
|
|
|
1164
1164
|
"Product",
|
|
1165
1165
|
{
|
|
1166
1166
|
"emit": {
|
|
1167
|
-
"
|
|
1168
|
-
"
|
|
1167
|
+
"failure": "ProductLoadFailed",
|
|
1168
|
+
"success": "ProductLoaded"
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
1171
1171
|
]
|
|
@@ -1180,22 +1180,19 @@
|
|
|
1180
1180
|
"fetch",
|
|
1181
1181
|
"Product",
|
|
1182
1182
|
{
|
|
1183
|
-
"id": "@payload.id",
|
|
1184
1183
|
"emit": {
|
|
1185
|
-
"
|
|
1186
|
-
"
|
|
1187
|
-
}
|
|
1184
|
+
"failure": "ProductLoadFailed",
|
|
1185
|
+
"success": "ProductLoaded"
|
|
1186
|
+
},
|
|
1187
|
+
"id": "@payload.id"
|
|
1188
1188
|
}
|
|
1189
1189
|
],
|
|
1190
1190
|
[
|
|
1191
1191
|
"render-ui",
|
|
1192
1192
|
"modal",
|
|
1193
1193
|
{
|
|
1194
|
-
"type": "stack",
|
|
1195
|
-
"direction": "vertical",
|
|
1196
1194
|
"children": [
|
|
1197
1195
|
{
|
|
1198
|
-
"gap": "sm",
|
|
1199
1196
|
"children": [
|
|
1200
1197
|
{
|
|
1201
1198
|
"type": "icon",
|
|
@@ -1207,22 +1204,23 @@
|
|
|
1207
1204
|
"type": "typography"
|
|
1208
1205
|
}
|
|
1209
1206
|
],
|
|
1207
|
+
"type": "stack",
|
|
1208
|
+
"gap": "sm",
|
|
1210
1209
|
"align": "center",
|
|
1211
|
-
"direction": "horizontal"
|
|
1212
|
-
"type": "stack"
|
|
1210
|
+
"direction": "horizontal"
|
|
1213
1211
|
},
|
|
1214
1212
|
{
|
|
1215
1213
|
"type": "divider"
|
|
1216
1214
|
},
|
|
1217
1215
|
{
|
|
1218
|
-
"direction": "horizontal",
|
|
1219
1216
|
"type": "stack",
|
|
1220
1217
|
"gap": "md",
|
|
1218
|
+
"direction": "horizontal",
|
|
1221
1219
|
"children": [
|
|
1222
1220
|
{
|
|
1221
|
+
"variant": "caption",
|
|
1223
1222
|
"content": "Name",
|
|
1224
|
-
"type": "typography"
|
|
1225
|
-
"variant": "caption"
|
|
1223
|
+
"type": "typography"
|
|
1226
1224
|
},
|
|
1227
1225
|
{
|
|
1228
1226
|
"type": "typography",
|
|
@@ -1232,44 +1230,46 @@
|
|
|
1232
1230
|
]
|
|
1233
1231
|
},
|
|
1234
1232
|
{
|
|
1233
|
+
"direction": "horizontal",
|
|
1235
1234
|
"children": [
|
|
1236
1235
|
{
|
|
1237
|
-
"content": "Description",
|
|
1238
1236
|
"variant": "caption",
|
|
1237
|
+
"content": "Description",
|
|
1239
1238
|
"type": "typography"
|
|
1240
1239
|
},
|
|
1241
1240
|
{
|
|
1242
1241
|
"content": "@entity.description",
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
1242
|
+
"type": "typography",
|
|
1243
|
+
"variant": "body"
|
|
1245
1244
|
}
|
|
1246
1245
|
],
|
|
1247
1246
|
"type": "stack",
|
|
1248
|
-
"direction": "horizontal",
|
|
1249
1247
|
"gap": "md"
|
|
1250
1248
|
},
|
|
1251
1249
|
{
|
|
1252
|
-
"gap": "md",
|
|
1253
|
-
"type": "stack",
|
|
1254
|
-
"direction": "horizontal",
|
|
1255
1250
|
"children": [
|
|
1256
1251
|
{
|
|
1257
|
-
"content": "Price",
|
|
1258
1252
|
"type": "typography",
|
|
1259
|
-
"variant": "caption"
|
|
1253
|
+
"variant": "caption",
|
|
1254
|
+
"content": "Price"
|
|
1260
1255
|
},
|
|
1261
1256
|
{
|
|
1262
|
-
"type": "typography",
|
|
1263
1257
|
"variant": "body",
|
|
1264
|
-
"content": "@entity.price"
|
|
1258
|
+
"content": "@entity.price",
|
|
1259
|
+
"type": "typography"
|
|
1265
1260
|
}
|
|
1266
|
-
]
|
|
1261
|
+
],
|
|
1262
|
+
"type": "stack",
|
|
1263
|
+
"direction": "horizontal",
|
|
1264
|
+
"gap": "md"
|
|
1267
1265
|
},
|
|
1268
1266
|
{
|
|
1267
|
+
"type": "stack",
|
|
1268
|
+
"direction": "horizontal",
|
|
1269
1269
|
"children": [
|
|
1270
1270
|
{
|
|
1271
|
-
"content": "Category",
|
|
1272
1271
|
"type": "typography",
|
|
1272
|
+
"content": "Category",
|
|
1273
1273
|
"variant": "caption"
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
@@ -1278,70 +1278,70 @@
|
|
|
1278
1278
|
"content": "@entity.category"
|
|
1279
1279
|
}
|
|
1280
1280
|
],
|
|
1281
|
-
"gap": "md"
|
|
1282
|
-
"type": "stack",
|
|
1283
|
-
"direction": "horizontal"
|
|
1281
|
+
"gap": "md"
|
|
1284
1282
|
},
|
|
1285
1283
|
{
|
|
1286
|
-
"gap": "md",
|
|
1287
1284
|
"children": [
|
|
1288
1285
|
{
|
|
1289
|
-
"type": "typography",
|
|
1290
1286
|
"variant": "caption",
|
|
1291
|
-
"content": "Sku"
|
|
1287
|
+
"content": "Sku",
|
|
1288
|
+
"type": "typography"
|
|
1292
1289
|
},
|
|
1293
1290
|
{
|
|
1294
1291
|
"variant": "body",
|
|
1295
|
-
"
|
|
1296
|
-
"
|
|
1292
|
+
"type": "typography",
|
|
1293
|
+
"content": "@entity.sku"
|
|
1297
1294
|
}
|
|
1298
1295
|
],
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1296
|
+
"type": "stack",
|
|
1297
|
+
"gap": "md",
|
|
1298
|
+
"direction": "horizontal"
|
|
1301
1299
|
},
|
|
1302
1300
|
{
|
|
1301
|
+
"type": "stack",
|
|
1302
|
+
"direction": "horizontal",
|
|
1303
|
+
"gap": "md",
|
|
1303
1304
|
"children": [
|
|
1304
1305
|
{
|
|
1305
1306
|
"variant": "caption",
|
|
1306
|
-
"
|
|
1307
|
-
"
|
|
1307
|
+
"type": "typography",
|
|
1308
|
+
"content": "In Stock"
|
|
1308
1309
|
},
|
|
1309
1310
|
{
|
|
1310
|
-
"variant": "body",
|
|
1311
1311
|
"type": "typography",
|
|
1312
|
-
"content": "@entity.inStock"
|
|
1312
|
+
"content": "@entity.inStock",
|
|
1313
|
+
"variant": "body"
|
|
1313
1314
|
}
|
|
1314
|
-
]
|
|
1315
|
-
"type": "stack",
|
|
1316
|
-
"direction": "horizontal",
|
|
1317
|
-
"gap": "md"
|
|
1315
|
+
]
|
|
1318
1316
|
},
|
|
1319
1317
|
{
|
|
1320
1318
|
"type": "divider"
|
|
1321
1319
|
},
|
|
1322
1320
|
{
|
|
1323
|
-
"gap": "sm",
|
|
1324
|
-
"justify": "end",
|
|
1325
1321
|
"direction": "horizontal",
|
|
1322
|
+
"justify": "end",
|
|
1323
|
+
"type": "stack",
|
|
1324
|
+
"gap": "sm",
|
|
1326
1325
|
"children": [
|
|
1327
1326
|
{
|
|
1328
|
-
"label": "Edit",
|
|
1329
|
-
"action": "EDIT",
|
|
1330
|
-
"icon": "edit",
|
|
1331
1327
|
"variant": "primary",
|
|
1332
|
-
"
|
|
1328
|
+
"icon": "edit",
|
|
1329
|
+
"action": "EDIT",
|
|
1330
|
+
"type": "button",
|
|
1331
|
+
"label": "Edit"
|
|
1333
1332
|
},
|
|
1334
1333
|
{
|
|
1335
|
-
"action": "CLOSE",
|
|
1336
|
-
"type": "button",
|
|
1337
1334
|
"variant": "ghost",
|
|
1335
|
+
"type": "button",
|
|
1336
|
+
"action": "CLOSE",
|
|
1338
1337
|
"label": "Close"
|
|
1339
1338
|
}
|
|
1340
|
-
]
|
|
1341
|
-
"type": "stack"
|
|
1339
|
+
]
|
|
1342
1340
|
}
|
|
1343
1341
|
],
|
|
1344
|
-
"gap": "md"
|
|
1342
|
+
"gap": "md",
|
|
1343
|
+
"type": "stack",
|
|
1344
|
+
"direction": "vertical"
|
|
1345
1345
|
}
|
|
1346
1346
|
]
|
|
1347
1347
|
]
|
|
@@ -1571,8 +1571,8 @@
|
|
|
1571
1571
|
"Product",
|
|
1572
1572
|
{
|
|
1573
1573
|
"emit": {
|
|
1574
|
-
"
|
|
1575
|
-
"
|
|
1574
|
+
"failure": "ProductLoadFailed",
|
|
1575
|
+
"success": "ProductLoaded"
|
|
1576
1576
|
}
|
|
1577
1577
|
}
|
|
1578
1578
|
]
|
|
@@ -1592,11 +1592,11 @@
|
|
|
1592
1592
|
"fetch",
|
|
1593
1593
|
"Product",
|
|
1594
1594
|
{
|
|
1595
|
+
"id": "@payload.id",
|
|
1595
1596
|
"emit": {
|
|
1596
1597
|
"success": "ProductLoaded",
|
|
1597
1598
|
"failure": "ProductLoadFailed"
|
|
1598
|
-
}
|
|
1599
|
-
"id": "@payload.id"
|
|
1599
|
+
}
|
|
1600
1600
|
}
|
|
1601
1601
|
],
|
|
1602
1602
|
[
|
|
@@ -1605,10 +1605,8 @@
|
|
|
1605
1605
|
{
|
|
1606
1606
|
"children": [
|
|
1607
1607
|
{
|
|
1608
|
-
"type": "stack",
|
|
1609
1608
|
"direction": "horizontal",
|
|
1610
1609
|
"align": "center",
|
|
1611
|
-
"gap": "sm",
|
|
1612
1610
|
"children": [
|
|
1613
1611
|
{
|
|
1614
1612
|
"name": "alert-triangle",
|
|
@@ -1619,41 +1617,43 @@
|
|
|
1619
1617
|
"content": "Delete Product",
|
|
1620
1618
|
"variant": "h3"
|
|
1621
1619
|
}
|
|
1622
|
-
]
|
|
1620
|
+
],
|
|
1621
|
+
"type": "stack",
|
|
1622
|
+
"gap": "sm"
|
|
1623
1623
|
},
|
|
1624
1624
|
{
|
|
1625
1625
|
"type": "divider"
|
|
1626
1626
|
},
|
|
1627
1627
|
{
|
|
1628
|
-
"type": "alert",
|
|
1629
1628
|
"variant": "error",
|
|
1630
|
-
"message": "This action cannot be undone."
|
|
1629
|
+
"message": "This action cannot be undone.",
|
|
1630
|
+
"type": "alert"
|
|
1631
1631
|
},
|
|
1632
1632
|
{
|
|
1633
|
+
"type": "stack",
|
|
1634
|
+
"direction": "horizontal",
|
|
1635
|
+
"gap": "sm",
|
|
1633
1636
|
"children": [
|
|
1634
1637
|
{
|
|
1635
|
-
"type": "button",
|
|
1636
1638
|
"label": "Cancel",
|
|
1639
|
+
"type": "button",
|
|
1637
1640
|
"action": "CANCEL",
|
|
1638
1641
|
"variant": "ghost"
|
|
1639
1642
|
},
|
|
1640
1643
|
{
|
|
1641
1644
|
"type": "button",
|
|
1642
1645
|
"label": "Delete",
|
|
1643
|
-
"icon": "check",
|
|
1644
1646
|
"variant": "danger",
|
|
1645
|
-
"action": "CONFIRM_DELETE"
|
|
1647
|
+
"action": "CONFIRM_DELETE",
|
|
1648
|
+
"icon": "check"
|
|
1646
1649
|
}
|
|
1647
1650
|
],
|
|
1648
|
-
"
|
|
1649
|
-
"justify": "end",
|
|
1650
|
-
"direction": "horizontal",
|
|
1651
|
-
"gap": "sm"
|
|
1651
|
+
"justify": "end"
|
|
1652
1652
|
}
|
|
1653
1653
|
],
|
|
1654
|
-
"
|
|
1654
|
+
"gap": "md",
|
|
1655
1655
|
"direction": "vertical",
|
|
1656
|
-
"
|
|
1656
|
+
"type": "stack"
|
|
1657
1657
|
}
|
|
1658
1658
|
]
|
|
1659
1659
|
]
|
|
@@ -1692,8 +1692,8 @@
|
|
|
1692
1692
|
"Product",
|
|
1693
1693
|
{
|
|
1694
1694
|
"emit": {
|
|
1695
|
-
"
|
|
1696
|
-
"
|
|
1695
|
+
"success": "ProductLoaded",
|
|
1696
|
+
"failure": "ProductLoadFailed"
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
1699
|
],
|
|
@@ -1754,8 +1754,8 @@
|
|
|
1754
1754
|
"Product",
|
|
1755
1755
|
{
|
|
1756
1756
|
"emit": {
|
|
1757
|
-
"
|
|
1758
|
-
"
|
|
1757
|
+
"success": "ProductLoaded",
|
|
1758
|
+
"failure": "ProductLoadFailed"
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
1761
|
]
|
|
@@ -2002,22 +2002,22 @@
|
|
|
2002
2002
|
"render-ui",
|
|
2003
2003
|
"main",
|
|
2004
2004
|
{
|
|
2005
|
-
"
|
|
2006
|
-
"
|
|
2005
|
+
"align": "center",
|
|
2006
|
+
"gap": "md",
|
|
2007
2007
|
"children": [
|
|
2008
2008
|
{
|
|
2009
2009
|
"type": "spinner"
|
|
2010
2010
|
},
|
|
2011
2011
|
{
|
|
2012
|
-
"variant": "caption",
|
|
2013
2012
|
"color": "muted",
|
|
2014
|
-
"
|
|
2015
|
-
"content": "Loading…"
|
|
2013
|
+
"variant": "caption",
|
|
2014
|
+
"content": "Loading…",
|
|
2015
|
+
"type": "typography"
|
|
2016
2016
|
}
|
|
2017
2017
|
],
|
|
2018
|
-
"
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2018
|
+
"className": "py-12",
|
|
2019
|
+
"type": "stack",
|
|
2020
|
+
"direction": "vertical"
|
|
2021
2021
|
}
|
|
2022
2022
|
]
|
|
2023
2023
|
]
|
|
@@ -2031,13 +2031,11 @@
|
|
|
2031
2031
|
"render-ui",
|
|
2032
2032
|
"main",
|
|
2033
2033
|
{
|
|
2034
|
-
"appName": "EcommerceApp",
|
|
2035
|
-
"type": "dashboard-layout",
|
|
2036
2034
|
"navItems": [
|
|
2037
2035
|
{
|
|
2038
|
-
"
|
|
2036
|
+
"icon": "package",
|
|
2039
2037
|
"label": "Products",
|
|
2040
|
-
"
|
|
2038
|
+
"href": "/products"
|
|
2041
2039
|
},
|
|
2042
2040
|
{
|
|
2043
2041
|
"label": "Cart",
|
|
@@ -2050,45 +2048,47 @@
|
|
|
2050
2048
|
"label": "Checkout"
|
|
2051
2049
|
},
|
|
2052
2050
|
{
|
|
2051
|
+
"icon": "clipboard-list",
|
|
2053
2052
|
"label": "Orders",
|
|
2054
|
-
"href": "/orders"
|
|
2055
|
-
"icon": "clipboard-list"
|
|
2053
|
+
"href": "/orders"
|
|
2056
2054
|
}
|
|
2057
2055
|
],
|
|
2056
|
+
"type": "dashboard-layout",
|
|
2058
2057
|
"children": [
|
|
2059
2058
|
{
|
|
2060
|
-
"
|
|
2059
|
+
"direction": "vertical",
|
|
2060
|
+
"gap": "lg",
|
|
2061
2061
|
"children": [
|
|
2062
2062
|
{
|
|
2063
|
-
"
|
|
2063
|
+
"justify": "between",
|
|
2064
|
+
"type": "stack",
|
|
2064
2065
|
"children": [
|
|
2065
2066
|
{
|
|
2066
|
-
"direction": "horizontal",
|
|
2067
|
-
"gap": "md",
|
|
2068
2067
|
"type": "stack",
|
|
2068
|
+
"gap": "md",
|
|
2069
|
+
"direction": "horizontal",
|
|
2069
2070
|
"children": [
|
|
2070
2071
|
{
|
|
2071
2072
|
"type": "icon",
|
|
2072
2073
|
"name": "shopping-cart"
|
|
2073
2074
|
},
|
|
2074
2075
|
{
|
|
2075
|
-
"
|
|
2076
|
+
"content": "Shopping Cart",
|
|
2076
2077
|
"type": "typography",
|
|
2077
|
-
"
|
|
2078
|
+
"variant": "h2"
|
|
2078
2079
|
}
|
|
2079
2080
|
]
|
|
2080
2081
|
},
|
|
2081
2082
|
{
|
|
2083
|
+
"icon": "plus",
|
|
2082
2084
|
"action": "ADD_ITEM",
|
|
2083
2085
|
"type": "button",
|
|
2084
|
-
"icon": "plus",
|
|
2085
2086
|
"label": "Add Item",
|
|
2086
2087
|
"variant": "primary"
|
|
2087
2088
|
}
|
|
2088
2089
|
],
|
|
2089
|
-
"
|
|
2090
|
-
"
|
|
2091
|
-
"justify": "between"
|
|
2090
|
+
"direction": "horizontal",
|
|
2091
|
+
"gap": "md"
|
|
2092
2092
|
},
|
|
2093
2093
|
{
|
|
2094
2094
|
"type": "divider"
|
|
@@ -2103,16 +2103,16 @@
|
|
|
2103
2103
|
"value": "@payload.data.length"
|
|
2104
2104
|
},
|
|
2105
2105
|
{
|
|
2106
|
-
"label": "Subtotal",
|
|
2107
|
-
"type": "stat-display",
|
|
2108
2106
|
"icon": "dollar-sign",
|
|
2109
|
-
"value": "@payload.data.length"
|
|
2107
|
+
"value": "@payload.data.length",
|
|
2108
|
+
"label": "Subtotal",
|
|
2109
|
+
"type": "stat-display"
|
|
2110
2110
|
},
|
|
2111
2111
|
{
|
|
2112
|
-
"value": "@payload.data.length",
|
|
2113
2112
|
"type": "stat-display",
|
|
2113
|
+
"label": "Total",
|
|
2114
2114
|
"icon": "receipt",
|
|
2115
|
-
"
|
|
2115
|
+
"value": "@payload.data.length"
|
|
2116
2116
|
}
|
|
2117
2117
|
],
|
|
2118
2118
|
"type": "simple-grid"
|
|
@@ -2121,18 +2121,19 @@
|
|
|
2121
2121
|
"type": "divider"
|
|
2122
2122
|
},
|
|
2123
2123
|
{
|
|
2124
|
+
"type": "data-grid",
|
|
2124
2125
|
"fields": [
|
|
2125
2126
|
{
|
|
2126
|
-
"icon": "shopping-cart",
|
|
2127
2127
|
"variant": "h4",
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2128
|
+
"label": "Product Name",
|
|
2129
|
+
"icon": "shopping-cart",
|
|
2130
|
+
"name": "productName"
|
|
2130
2131
|
},
|
|
2131
2132
|
{
|
|
2132
2133
|
"label": "Quantity",
|
|
2133
|
-
"
|
|
2134
|
+
"name": "quantity",
|
|
2134
2135
|
"format": "currency",
|
|
2135
|
-
"
|
|
2136
|
+
"variant": "caption"
|
|
2136
2137
|
},
|
|
2137
2138
|
{
|
|
2138
2139
|
"name": "unitPrice",
|
|
@@ -2140,28 +2141,27 @@
|
|
|
2140
2141
|
"variant": "badge"
|
|
2141
2142
|
}
|
|
2142
2143
|
],
|
|
2144
|
+
"entity": "@payload.data",
|
|
2143
2145
|
"itemActions": [
|
|
2144
2146
|
{
|
|
2147
|
+
"label": "Remove",
|
|
2145
2148
|
"variant": "danger",
|
|
2146
|
-
"event": "REQUEST_REMOVE"
|
|
2147
|
-
"label": "Remove"
|
|
2149
|
+
"event": "REQUEST_REMOVE"
|
|
2148
2150
|
}
|
|
2149
|
-
]
|
|
2150
|
-
"entity": "@payload.data",
|
|
2151
|
-
"type": "data-grid"
|
|
2151
|
+
]
|
|
2152
2152
|
},
|
|
2153
2153
|
{
|
|
2154
|
-
"type": "button",
|
|
2155
|
-
"label": "Proceed to Checkout",
|
|
2156
|
-
"variant": "primary",
|
|
2157
2154
|
"icon": "arrow-right",
|
|
2158
|
-
"
|
|
2155
|
+
"variant": "primary",
|
|
2156
|
+
"label": "Proceed to Checkout",
|
|
2157
|
+
"action": "PROCEED_CHECKOUT",
|
|
2158
|
+
"type": "button"
|
|
2159
2159
|
}
|
|
2160
2160
|
],
|
|
2161
|
-
"
|
|
2162
|
-
"direction": "vertical"
|
|
2161
|
+
"type": "stack"
|
|
2163
2162
|
}
|
|
2164
|
-
]
|
|
2163
|
+
],
|
|
2164
|
+
"appName": "EcommerceApp"
|
|
2165
2165
|
}
|
|
2166
2166
|
]
|
|
2167
2167
|
]
|
|
@@ -2177,34 +2177,34 @@
|
|
|
2177
2177
|
{
|
|
2178
2178
|
"children": [
|
|
2179
2179
|
{
|
|
2180
|
+
"name": "alert-triangle",
|
|
2180
2181
|
"type": "icon",
|
|
2181
|
-
"color": "destructive"
|
|
2182
|
-
"name": "alert-triangle"
|
|
2182
|
+
"color": "destructive"
|
|
2183
2183
|
},
|
|
2184
2184
|
{
|
|
2185
|
-
"
|
|
2185
|
+
"variant": "h3",
|
|
2186
2186
|
"content": "Failed to load cartitem",
|
|
2187
|
-
"
|
|
2187
|
+
"type": "typography"
|
|
2188
2188
|
},
|
|
2189
2189
|
{
|
|
2190
|
-
"type": "typography",
|
|
2191
|
-
"color": "muted",
|
|
2192
2190
|
"variant": "body",
|
|
2193
|
-
"content": "@payload.error"
|
|
2191
|
+
"content": "@payload.error",
|
|
2192
|
+
"type": "typography",
|
|
2193
|
+
"color": "muted"
|
|
2194
2194
|
},
|
|
2195
2195
|
{
|
|
2196
|
-
"label": "Retry",
|
|
2197
2196
|
"type": "button",
|
|
2198
|
-
"
|
|
2197
|
+
"icon": "rotate-ccw",
|
|
2199
2198
|
"action": "INIT",
|
|
2200
|
-
"
|
|
2199
|
+
"variant": "primary",
|
|
2200
|
+
"label": "Retry"
|
|
2201
2201
|
}
|
|
2202
2202
|
],
|
|
2203
|
-
"
|
|
2203
|
+
"className": "py-12",
|
|
2204
2204
|
"direction": "vertical",
|
|
2205
2205
|
"gap": "md",
|
|
2206
|
-
"
|
|
2207
|
-
"
|
|
2206
|
+
"type": "stack",
|
|
2207
|
+
"align": "center"
|
|
2208
2208
|
}
|
|
2209
2209
|
]
|
|
2210
2210
|
]
|
|
@@ -2228,22 +2228,22 @@
|
|
|
2228
2228
|
"render-ui",
|
|
2229
2229
|
"main",
|
|
2230
2230
|
{
|
|
2231
|
+
"direction": "vertical",
|
|
2232
|
+
"gap": "md",
|
|
2233
|
+
"className": "py-12",
|
|
2234
|
+
"type": "stack",
|
|
2231
2235
|
"align": "center",
|
|
2232
2236
|
"children": [
|
|
2233
2237
|
{
|
|
2234
2238
|
"type": "spinner"
|
|
2235
2239
|
},
|
|
2236
2240
|
{
|
|
2237
|
-
"content": "Preparing checkout…",
|
|
2238
|
-
"type": "typography",
|
|
2239
2241
|
"variant": "caption",
|
|
2240
|
-
"color": "muted"
|
|
2242
|
+
"color": "muted",
|
|
2243
|
+
"content": "Preparing checkout…",
|
|
2244
|
+
"type": "typography"
|
|
2241
2245
|
}
|
|
2242
|
-
]
|
|
2243
|
-
"direction": "vertical",
|
|
2244
|
-
"gap": "md",
|
|
2245
|
-
"type": "stack",
|
|
2246
|
-
"className": "py-12"
|
|
2246
|
+
]
|
|
2247
2247
|
}
|
|
2248
2248
|
]
|
|
2249
2249
|
]
|
|
@@ -2260,33 +2260,44 @@
|
|
|
2260
2260
|
"type": "dashboard-layout",
|
|
2261
2261
|
"children": [
|
|
2262
2262
|
{
|
|
2263
|
+
"type": "stack",
|
|
2264
|
+
"gap": "lg",
|
|
2265
|
+
"direction": "vertical",
|
|
2263
2266
|
"children": [
|
|
2264
2267
|
{
|
|
2265
|
-
"
|
|
2266
|
-
"gap": "sm",
|
|
2268
|
+
"type": "stack",
|
|
2267
2269
|
"children": [
|
|
2268
2270
|
{
|
|
2269
2271
|
"type": "icon",
|
|
2270
2272
|
"name": "clipboard"
|
|
2271
2273
|
},
|
|
2272
2274
|
{
|
|
2273
|
-
"content": "Checkout",
|
|
2274
2275
|
"variant": "h2",
|
|
2275
|
-
"type": "typography"
|
|
2276
|
+
"type": "typography",
|
|
2277
|
+
"content": "Checkout"
|
|
2276
2278
|
}
|
|
2277
2279
|
],
|
|
2278
|
-
"
|
|
2280
|
+
"gap": "sm",
|
|
2281
|
+
"direction": "horizontal"
|
|
2279
2282
|
},
|
|
2280
2283
|
{
|
|
2281
2284
|
"type": "divider"
|
|
2282
2285
|
},
|
|
2283
2286
|
{
|
|
2287
|
+
"type": "data-grid",
|
|
2288
|
+
"itemActions": [
|
|
2289
|
+
{
|
|
2290
|
+
"event": "REQUEST_REMOVE",
|
|
2291
|
+
"variant": "danger",
|
|
2292
|
+
"label": "Remove"
|
|
2293
|
+
}
|
|
2294
|
+
],
|
|
2284
2295
|
"fields": [
|
|
2285
2296
|
{
|
|
2286
|
-
"name": "productName",
|
|
2287
2297
|
"variant": "h4",
|
|
2288
2298
|
"icon": "shopping-cart",
|
|
2289
|
-
"label": "Product Name"
|
|
2299
|
+
"label": "Product Name",
|
|
2300
|
+
"name": "productName"
|
|
2290
2301
|
},
|
|
2291
2302
|
{
|
|
2292
2303
|
"format": "currency",
|
|
@@ -2295,64 +2306,53 @@
|
|
|
2295
2306
|
"label": "Quantity"
|
|
2296
2307
|
},
|
|
2297
2308
|
{
|
|
2298
|
-
"
|
|
2309
|
+
"label": "Unit Price",
|
|
2299
2310
|
"name": "unitPrice",
|
|
2300
|
-
"
|
|
2311
|
+
"variant": "badge"
|
|
2301
2312
|
}
|
|
2302
2313
|
],
|
|
2303
|
-
"entity": "@payload.data"
|
|
2304
|
-
"type": "data-grid",
|
|
2305
|
-
"itemActions": [
|
|
2306
|
-
{
|
|
2307
|
-
"event": "REQUEST_REMOVE",
|
|
2308
|
-
"variant": "danger",
|
|
2309
|
-
"label": "Remove"
|
|
2310
|
-
}
|
|
2311
|
-
]
|
|
2314
|
+
"entity": "@payload.data"
|
|
2312
2315
|
},
|
|
2313
2316
|
{
|
|
2314
2317
|
"direction": "horizontal",
|
|
2318
|
+
"justify": "end",
|
|
2319
|
+
"type": "stack",
|
|
2320
|
+
"gap": "sm",
|
|
2315
2321
|
"children": [
|
|
2316
2322
|
{
|
|
2317
|
-
"
|
|
2323
|
+
"label": "Back to Cart",
|
|
2318
2324
|
"variant": "ghost",
|
|
2319
2325
|
"icon": "arrow-left",
|
|
2320
2326
|
"action": "BACK_TO_CART",
|
|
2321
|
-
"
|
|
2327
|
+
"type": "button"
|
|
2322
2328
|
},
|
|
2323
2329
|
{
|
|
2324
|
-
"
|
|
2330
|
+
"action": "CONFIRM_ORDER",
|
|
2331
|
+
"type": "button",
|
|
2325
2332
|
"variant": "primary",
|
|
2326
2333
|
"icon": "check",
|
|
2327
|
-
"
|
|
2328
|
-
"action": "CONFIRM_ORDER"
|
|
2334
|
+
"label": "Confirm Order"
|
|
2329
2335
|
}
|
|
2330
|
-
]
|
|
2331
|
-
"gap": "sm",
|
|
2332
|
-
"type": "stack",
|
|
2333
|
-
"justify": "end"
|
|
2336
|
+
]
|
|
2334
2337
|
}
|
|
2335
|
-
]
|
|
2336
|
-
"type": "stack",
|
|
2337
|
-
"gap": "lg",
|
|
2338
|
-
"direction": "vertical"
|
|
2338
|
+
]
|
|
2339
2339
|
}
|
|
2340
2340
|
],
|
|
2341
2341
|
"navItems": [
|
|
2342
2342
|
{
|
|
2343
|
-
"label": "Products",
|
|
2344
2343
|
"href": "/products",
|
|
2345
|
-
"icon": "package"
|
|
2344
|
+
"icon": "package",
|
|
2345
|
+
"label": "Products"
|
|
2346
2346
|
},
|
|
2347
2347
|
{
|
|
2348
|
-
"
|
|
2348
|
+
"icon": "shopping-cart",
|
|
2349
2349
|
"href": "/cart",
|
|
2350
|
-
"
|
|
2350
|
+
"label": "Cart"
|
|
2351
2351
|
},
|
|
2352
2352
|
{
|
|
2353
2353
|
"icon": "credit-card",
|
|
2354
|
-
"
|
|
2355
|
-
"
|
|
2354
|
+
"href": "/checkout",
|
|
2355
|
+
"label": "Checkout"
|
|
2356
2356
|
},
|
|
2357
2357
|
{
|
|
2358
2358
|
"label": "Orders",
|
|
@@ -2392,8 +2392,8 @@
|
|
|
2392
2392
|
"CartItem",
|
|
2393
2393
|
{
|
|
2394
2394
|
"emit": {
|
|
2395
|
-
"
|
|
2396
|
-
"
|
|
2395
|
+
"failure": "CartItemLoadFailed",
|
|
2396
|
+
"success": "CartItemLoaded"
|
|
2397
2397
|
}
|
|
2398
2398
|
}
|
|
2399
2399
|
],
|
|
@@ -2401,17 +2401,16 @@
|
|
|
2401
2401
|
"render-ui",
|
|
2402
2402
|
"main",
|
|
2403
2403
|
{
|
|
2404
|
-
"appName": "EcommerceApp",
|
|
2405
2404
|
"navItems": [
|
|
2406
2405
|
{
|
|
2407
|
-
"label": "Products",
|
|
2408
2406
|
"icon": "package",
|
|
2407
|
+
"label": "Products",
|
|
2409
2408
|
"href": "/products"
|
|
2410
2409
|
},
|
|
2411
2410
|
{
|
|
2412
|
-
"label": "Cart",
|
|
2413
2411
|
"icon": "shopping-cart",
|
|
2414
|
-
"href": "/cart"
|
|
2412
|
+
"href": "/cart",
|
|
2413
|
+
"label": "Cart"
|
|
2415
2414
|
},
|
|
2416
2415
|
{
|
|
2417
2416
|
"href": "/checkout",
|
|
@@ -2419,38 +2418,39 @@
|
|
|
2419
2418
|
"label": "Checkout"
|
|
2420
2419
|
},
|
|
2421
2420
|
{
|
|
2422
|
-
"
|
|
2421
|
+
"icon": "clipboard-list",
|
|
2423
2422
|
"href": "/orders",
|
|
2424
|
-
"
|
|
2423
|
+
"label": "Orders"
|
|
2425
2424
|
}
|
|
2426
2425
|
],
|
|
2426
|
+
"appName": "EcommerceApp",
|
|
2427
2427
|
"children": [
|
|
2428
2428
|
{
|
|
2429
|
-
"gap": "lg",
|
|
2430
2429
|
"type": "stack",
|
|
2430
|
+
"direction": "vertical",
|
|
2431
|
+
"gap": "lg",
|
|
2431
2432
|
"children": [
|
|
2432
2433
|
{
|
|
2433
|
-
"
|
|
2434
|
-
"
|
|
2434
|
+
"name": "check-circle",
|
|
2435
|
+
"type": "icon"
|
|
2435
2436
|
},
|
|
2436
2437
|
{
|
|
2437
2438
|
"type": "typography",
|
|
2438
|
-
"
|
|
2439
|
-
"
|
|
2439
|
+
"content": "Order Confirmed",
|
|
2440
|
+
"variant": "h2"
|
|
2440
2441
|
},
|
|
2441
2442
|
{
|
|
2442
|
-
"variant": "body",
|
|
2443
2443
|
"content": "Your order has been placed successfully.",
|
|
2444
|
+
"variant": "body",
|
|
2444
2445
|
"type": "typography"
|
|
2445
2446
|
},
|
|
2446
2447
|
{
|
|
2447
|
-
"
|
|
2448
|
-
"variant": "primary",
|
|
2448
|
+
"label": "Continue Shopping",
|
|
2449
2449
|
"action": "INIT",
|
|
2450
|
-
"
|
|
2450
|
+
"type": "button",
|
|
2451
|
+
"variant": "primary"
|
|
2451
2452
|
}
|
|
2452
2453
|
],
|
|
2453
|
-
"direction": "vertical",
|
|
2454
2454
|
"align": "center"
|
|
2455
2455
|
}
|
|
2456
2456
|
],
|
|
@@ -2654,33 +2654,33 @@
|
|
|
2654
2654
|
"children": [
|
|
2655
2655
|
{
|
|
2656
2656
|
"direction": "horizontal",
|
|
2657
|
-
"type": "stack",
|
|
2658
|
-
"gap": "sm",
|
|
2659
2657
|
"children": [
|
|
2660
2658
|
{
|
|
2661
2659
|
"type": "icon",
|
|
2662
2660
|
"name": "plus-circle"
|
|
2663
2661
|
},
|
|
2664
2662
|
{
|
|
2663
|
+
"type": "typography",
|
|
2665
2664
|
"content": "Add Item",
|
|
2666
|
-
"variant": "h3"
|
|
2667
|
-
"type": "typography"
|
|
2665
|
+
"variant": "h3"
|
|
2668
2666
|
}
|
|
2669
|
-
]
|
|
2667
|
+
],
|
|
2668
|
+
"gap": "sm",
|
|
2669
|
+
"type": "stack"
|
|
2670
2670
|
},
|
|
2671
2671
|
{
|
|
2672
2672
|
"type": "divider"
|
|
2673
2673
|
},
|
|
2674
2674
|
{
|
|
2675
|
+
"cancelEvent": "CLOSE",
|
|
2675
2676
|
"fields": [
|
|
2676
2677
|
"productName",
|
|
2677
2678
|
"quantity",
|
|
2678
2679
|
"unitPrice",
|
|
2679
2680
|
"totalPrice"
|
|
2680
2681
|
],
|
|
2681
|
-
"mode": "create",
|
|
2682
2682
|
"type": "form-section",
|
|
2683
|
-
"
|
|
2683
|
+
"mode": "create",
|
|
2684
2684
|
"submitEvent": "SAVE"
|
|
2685
2685
|
}
|
|
2686
2686
|
]
|
|
@@ -2931,37 +2931,35 @@
|
|
|
2931
2931
|
"fetch",
|
|
2932
2932
|
"CartItem",
|
|
2933
2933
|
{
|
|
2934
|
+
"id": "@payload.id",
|
|
2934
2935
|
"emit": {
|
|
2935
2936
|
"failure": "CartItemLoadFailed",
|
|
2936
2937
|
"success": "CartItemLoaded"
|
|
2937
|
-
}
|
|
2938
|
-
"id": "@payload.id"
|
|
2938
|
+
}
|
|
2939
2939
|
}
|
|
2940
2940
|
],
|
|
2941
2941
|
[
|
|
2942
2942
|
"render-ui",
|
|
2943
2943
|
"modal",
|
|
2944
2944
|
{
|
|
2945
|
-
"type": "stack",
|
|
2946
2945
|
"direction": "vertical",
|
|
2947
|
-
"gap": "md",
|
|
2948
2946
|
"children": [
|
|
2949
2947
|
{
|
|
2948
|
+
"direction": "horizontal",
|
|
2949
|
+
"align": "center",
|
|
2950
|
+
"gap": "sm",
|
|
2951
|
+
"type": "stack",
|
|
2950
2952
|
"children": [
|
|
2951
2953
|
{
|
|
2952
2954
|
"name": "alert-triangle",
|
|
2953
2955
|
"type": "icon"
|
|
2954
2956
|
},
|
|
2955
2957
|
{
|
|
2956
|
-
"content": "Remove Item",
|
|
2957
2958
|
"variant": "h3",
|
|
2958
|
-
"type": "typography"
|
|
2959
|
+
"type": "typography",
|
|
2960
|
+
"content": "Remove Item"
|
|
2959
2961
|
}
|
|
2960
|
-
]
|
|
2961
|
-
"align": "center",
|
|
2962
|
-
"gap": "sm",
|
|
2963
|
-
"type": "stack",
|
|
2964
|
-
"direction": "horizontal"
|
|
2962
|
+
]
|
|
2965
2963
|
},
|
|
2966
2964
|
{
|
|
2967
2965
|
"type": "divider"
|
|
@@ -2972,27 +2970,29 @@
|
|
|
2972
2970
|
"variant": "error"
|
|
2973
2971
|
},
|
|
2974
2972
|
{
|
|
2975
|
-
"
|
|
2973
|
+
"direction": "horizontal",
|
|
2976
2974
|
"justify": "end",
|
|
2977
2975
|
"children": [
|
|
2978
2976
|
{
|
|
2979
2977
|
"label": "Cancel",
|
|
2980
|
-
"
|
|
2978
|
+
"variant": "ghost",
|
|
2981
2979
|
"type": "button",
|
|
2982
|
-
"
|
|
2980
|
+
"action": "CANCEL"
|
|
2983
2981
|
},
|
|
2984
2982
|
{
|
|
2985
|
-
"
|
|
2983
|
+
"label": "Remove",
|
|
2986
2984
|
"action": "CONFIRM_REMOVE",
|
|
2987
|
-
"
|
|
2985
|
+
"type": "button",
|
|
2988
2986
|
"icon": "check",
|
|
2989
|
-
"
|
|
2987
|
+
"variant": "danger"
|
|
2990
2988
|
}
|
|
2991
2989
|
],
|
|
2992
2990
|
"type": "stack",
|
|
2993
|
-
"
|
|
2991
|
+
"gap": "sm"
|
|
2994
2992
|
}
|
|
2995
|
-
]
|
|
2993
|
+
],
|
|
2994
|
+
"gap": "md",
|
|
2995
|
+
"type": "stack"
|
|
2996
2996
|
}
|
|
2997
2997
|
]
|
|
2998
2998
|
]
|
|
@@ -3009,8 +3009,8 @@
|
|
|
3009
3009
|
"@entity.pendingId",
|
|
3010
3010
|
{
|
|
3011
3011
|
"emit": {
|
|
3012
|
-
"
|
|
3013
|
-
"
|
|
3012
|
+
"success": "CartItemDeleted",
|
|
3013
|
+
"failure": "CartItemDeleteFailed"
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
3016
3016
|
],
|
|
@@ -3031,8 +3031,8 @@
|
|
|
3031
3031
|
"CartItem",
|
|
3032
3032
|
{
|
|
3033
3033
|
"emit": {
|
|
3034
|
-
"
|
|
3035
|
-
"
|
|
3034
|
+
"failure": "CartItemLoadFailed",
|
|
3035
|
+
"success": "CartItemLoaded"
|
|
3036
3036
|
}
|
|
3037
3037
|
}
|
|
3038
3038
|
]
|
|
@@ -3165,10 +3165,10 @@
|
|
|
3165
3165
|
"ref": "Stripe.traits.ServiceStripeStripe",
|
|
3166
3166
|
"name": "CheckoutPayment",
|
|
3167
3167
|
"config": {
|
|
3168
|
+
"currency": "usd",
|
|
3168
3169
|
"amount": 0.0,
|
|
3169
|
-
"uiTrait": "@trait.CheckoutPaymentForm",
|
|
3170
3170
|
"metadata": {},
|
|
3171
|
-
"
|
|
3171
|
+
"uiTrait": "@trait.CheckoutPaymentForm"
|
|
3172
3172
|
},
|
|
3173
3173
|
"listens": [
|
|
3174
3174
|
{
|
|
@@ -3223,23 +3223,25 @@
|
|
|
3223
3223
|
"render-ui",
|
|
3224
3224
|
"main",
|
|
3225
3225
|
{
|
|
3226
|
+
"gap": "md",
|
|
3227
|
+
"direction": "vertical",
|
|
3226
3228
|
"children": [
|
|
3227
3229
|
{
|
|
3228
|
-
"variant": "info",
|
|
3229
3230
|
"type": "alert",
|
|
3231
|
+
"variant": "info",
|
|
3230
3232
|
"message": "Enter card details to complete your order."
|
|
3231
3233
|
},
|
|
3232
3234
|
{
|
|
3233
|
-
"
|
|
3235
|
+
"inputType": "text",
|
|
3234
3236
|
"type": "input",
|
|
3235
|
-
"
|
|
3237
|
+
"placeholder": "Card number"
|
|
3236
3238
|
},
|
|
3237
3239
|
{
|
|
3238
3240
|
"type": "stack",
|
|
3239
3241
|
"children": [
|
|
3240
3242
|
{
|
|
3241
|
-
"placeholder": "MM/YY",
|
|
3242
3243
|
"inputType": "text",
|
|
3244
|
+
"placeholder": "MM/YY",
|
|
3243
3245
|
"type": "input"
|
|
3244
3246
|
},
|
|
3245
3247
|
{
|
|
@@ -3252,16 +3254,14 @@
|
|
|
3252
3254
|
"direction": "horizontal"
|
|
3253
3255
|
},
|
|
3254
3256
|
{
|
|
3255
|
-
"label": "Pay now",
|
|
3256
3257
|
"icon": "credit-card",
|
|
3258
|
+
"variant": "primary",
|
|
3259
|
+
"label": "Pay now",
|
|
3257
3260
|
"action": "CREATE_PAYMENT",
|
|
3258
|
-
"type": "button"
|
|
3259
|
-
"variant": "primary"
|
|
3261
|
+
"type": "button"
|
|
3260
3262
|
}
|
|
3261
3263
|
],
|
|
3262
|
-
"
|
|
3263
|
-
"type": "stack",
|
|
3264
|
-
"gap": "md"
|
|
3264
|
+
"type": "stack"
|
|
3265
3265
|
}
|
|
3266
3266
|
]
|
|
3267
3267
|
]
|
|
@@ -3504,9 +3504,9 @@
|
|
|
3504
3504
|
{
|
|
3505
3505
|
"children": [
|
|
3506
3506
|
{
|
|
3507
|
-
"content": "Checkout",
|
|
3508
3507
|
"type": "typography",
|
|
3509
|
-
"variant": "h2"
|
|
3508
|
+
"variant": "h2",
|
|
3509
|
+
"content": "Checkout"
|
|
3510
3510
|
},
|
|
3511
3511
|
{
|
|
3512
3512
|
"steps": [
|
|
@@ -3527,21 +3527,29 @@
|
|
|
3527
3527
|
"content": "Customer Info"
|
|
3528
3528
|
},
|
|
3529
3529
|
{
|
|
3530
|
+
"showCancel": false,
|
|
3530
3531
|
"submitLabel": "Continue",
|
|
3531
3532
|
"mode": "create",
|
|
3532
|
-
"showCancel": false,
|
|
3533
|
-
"submitEvent": "NEXT",
|
|
3534
3533
|
"fields": [
|
|
3535
|
-
|
|
3536
|
-
|
|
3534
|
+
{
|
|
3535
|
+
"name": "customerName",
|
|
3536
|
+
"required": true,
|
|
3537
|
+
"min": 2.0
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"name": "email",
|
|
3541
|
+
"type": "email",
|
|
3542
|
+
"required": true
|
|
3543
|
+
}
|
|
3537
3544
|
],
|
|
3538
|
-
"type": "form-section"
|
|
3545
|
+
"type": "form-section",
|
|
3546
|
+
"submitEvent": "NEXT"
|
|
3539
3547
|
}
|
|
3540
3548
|
],
|
|
3541
3549
|
"gap": "lg",
|
|
3542
3550
|
"className": "max-w-xl mx-auto w-full",
|
|
3543
|
-
"
|
|
3544
|
-
"
|
|
3551
|
+
"direction": "vertical",
|
|
3552
|
+
"type": "stack"
|
|
3545
3553
|
}
|
|
3546
3554
|
]
|
|
3547
3555
|
]
|
|
@@ -3566,9 +3574,8 @@
|
|
|
3566
3574
|
"main",
|
|
3567
3575
|
{
|
|
3568
3576
|
"type": "stack",
|
|
3569
|
-
"gap": "lg",
|
|
3570
3577
|
"className": "max-w-xl mx-auto w-full",
|
|
3571
|
-
"
|
|
3578
|
+
"gap": "lg",
|
|
3572
3579
|
"children": [
|
|
3573
3580
|
{
|
|
3574
3581
|
"variant": "h2",
|
|
@@ -3576,36 +3583,41 @@
|
|
|
3576
3583
|
"type": "typography"
|
|
3577
3584
|
},
|
|
3578
3585
|
{
|
|
3586
|
+
"type": "wizard-progress",
|
|
3579
3587
|
"steps": [
|
|
3580
3588
|
"Customer Info",
|
|
3581
3589
|
"Shipping",
|
|
3582
3590
|
"Payment",
|
|
3583
3591
|
"Review"
|
|
3584
3592
|
],
|
|
3585
|
-
"type": "wizard-progress",
|
|
3586
3593
|
"currentStep": 1.0
|
|
3587
3594
|
},
|
|
3588
3595
|
{
|
|
3589
3596
|
"type": "divider"
|
|
3590
3597
|
},
|
|
3591
3598
|
{
|
|
3592
|
-
"variant": "h3",
|
|
3593
3599
|
"type": "typography",
|
|
3600
|
+
"variant": "h3",
|
|
3594
3601
|
"content": "Shipping Address"
|
|
3595
3602
|
},
|
|
3596
3603
|
{
|
|
3597
|
-
"
|
|
3604
|
+
"entity": "@entity",
|
|
3598
3605
|
"submitEvent": "NEXT",
|
|
3606
|
+
"submitLabel": "Continue",
|
|
3607
|
+
"cancelLabel": "Back",
|
|
3608
|
+
"cancelEvent": "PREV",
|
|
3599
3609
|
"mode": "edit",
|
|
3600
3610
|
"fields": [
|
|
3601
|
-
|
|
3611
|
+
{
|
|
3612
|
+
"required": true,
|
|
3613
|
+
"min": 5.0,
|
|
3614
|
+
"name": "shippingAddress"
|
|
3615
|
+
}
|
|
3602
3616
|
],
|
|
3603
|
-
"entity": "@entity",
|
|
3604
|
-
"cancelEvent": "PREV",
|
|
3605
|
-
"submitLabel": "Continue",
|
|
3606
3617
|
"type": "form-section"
|
|
3607
3618
|
}
|
|
3608
|
-
]
|
|
3619
|
+
],
|
|
3620
|
+
"direction": "vertical"
|
|
3609
3621
|
}
|
|
3610
3622
|
]
|
|
3611
3623
|
]
|
|
@@ -3627,8 +3639,8 @@
|
|
|
3627
3639
|
"children": [
|
|
3628
3640
|
{
|
|
3629
3641
|
"content": "Checkout",
|
|
3630
|
-
"
|
|
3631
|
-
"
|
|
3642
|
+
"type": "typography",
|
|
3643
|
+
"variant": "h2"
|
|
3632
3644
|
},
|
|
3633
3645
|
{
|
|
3634
3646
|
"steps": [
|
|
@@ -3637,37 +3649,37 @@
|
|
|
3637
3649
|
"Payment",
|
|
3638
3650
|
"Review"
|
|
3639
3651
|
],
|
|
3640
|
-
"
|
|
3641
|
-
"
|
|
3652
|
+
"currentStep": 2.0,
|
|
3653
|
+
"type": "wizard-progress"
|
|
3642
3654
|
},
|
|
3643
3655
|
{
|
|
3644
3656
|
"type": "divider"
|
|
3645
3657
|
},
|
|
3646
3658
|
{
|
|
3647
|
-
"
|
|
3659
|
+
"variant": "h3",
|
|
3648
3660
|
"content": "Payment",
|
|
3649
|
-
"
|
|
3661
|
+
"type": "typography"
|
|
3650
3662
|
},
|
|
3651
3663
|
"@trait.CheckoutPayment",
|
|
3652
3664
|
{
|
|
3665
|
+
"gap": "sm",
|
|
3666
|
+
"type": "stack",
|
|
3653
3667
|
"justify": "start",
|
|
3654
|
-
"direction": "horizontal",
|
|
3655
3668
|
"children": [
|
|
3656
3669
|
{
|
|
3657
|
-
"icon": "arrow-left",
|
|
3658
3670
|
"action": "PREV",
|
|
3659
3671
|
"type": "button",
|
|
3660
3672
|
"label": "Back",
|
|
3661
|
-
"variant": "ghost"
|
|
3673
|
+
"variant": "ghost",
|
|
3674
|
+
"icon": "arrow-left"
|
|
3662
3675
|
}
|
|
3663
3676
|
],
|
|
3664
|
-
"
|
|
3665
|
-
"gap": "sm"
|
|
3677
|
+
"direction": "horizontal"
|
|
3666
3678
|
}
|
|
3667
3679
|
],
|
|
3668
|
-
"type": "stack",
|
|
3669
3680
|
"direction": "vertical",
|
|
3670
3681
|
"gap": "lg",
|
|
3682
|
+
"type": "stack",
|
|
3671
3683
|
"className": "max-w-xl mx-auto w-full"
|
|
3672
3684
|
}
|
|
3673
3685
|
]
|
|
@@ -3682,47 +3694,55 @@
|
|
|
3682
3694
|
"render-ui",
|
|
3683
3695
|
"main",
|
|
3684
3696
|
{
|
|
3685
|
-
"
|
|
3686
|
-
"direction": "vertical",
|
|
3697
|
+
"gap": "lg",
|
|
3687
3698
|
"type": "stack",
|
|
3699
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3688
3700
|
"children": [
|
|
3689
3701
|
{
|
|
3690
|
-
"type": "typography",
|
|
3691
3702
|
"variant": "h2",
|
|
3692
|
-
"content": "Checkout"
|
|
3703
|
+
"content": "Checkout",
|
|
3704
|
+
"type": "typography"
|
|
3693
3705
|
},
|
|
3694
3706
|
{
|
|
3695
|
-
"
|
|
3707
|
+
"type": "wizard-progress",
|
|
3696
3708
|
"steps": [
|
|
3697
3709
|
"Customer Info",
|
|
3698
3710
|
"Shipping",
|
|
3699
3711
|
"Payment",
|
|
3700
3712
|
"Review"
|
|
3701
3713
|
],
|
|
3702
|
-
"
|
|
3714
|
+
"currentStep": 0.0
|
|
3703
3715
|
},
|
|
3704
3716
|
{
|
|
3705
3717
|
"type": "divider"
|
|
3706
3718
|
},
|
|
3707
3719
|
{
|
|
3708
|
-
"
|
|
3720
|
+
"variant": "h3",
|
|
3709
3721
|
"type": "typography",
|
|
3710
|
-
"
|
|
3722
|
+
"content": "Customer Info"
|
|
3711
3723
|
},
|
|
3712
3724
|
{
|
|
3713
3725
|
"type": "form-section",
|
|
3714
|
-
"
|
|
3715
|
-
"showCancel": false,
|
|
3726
|
+
"entity": "@entity",
|
|
3716
3727
|
"fields": [
|
|
3717
|
-
|
|
3718
|
-
|
|
3728
|
+
{
|
|
3729
|
+
"required": true,
|
|
3730
|
+
"min": 2.0,
|
|
3731
|
+
"name": "customerName"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
"name": "email",
|
|
3735
|
+
"type": "email",
|
|
3736
|
+
"required": true
|
|
3737
|
+
}
|
|
3719
3738
|
],
|
|
3720
|
-
"entity": "@entity",
|
|
3721
3739
|
"mode": "edit",
|
|
3740
|
+
"showCancel": false,
|
|
3741
|
+
"submitLabel": "Continue",
|
|
3722
3742
|
"submitEvent": "NEXT"
|
|
3723
3743
|
}
|
|
3724
3744
|
],
|
|
3725
|
-
"
|
|
3745
|
+
"direction": "vertical"
|
|
3726
3746
|
}
|
|
3727
3747
|
]
|
|
3728
3748
|
]
|
|
@@ -3738,91 +3758,86 @@
|
|
|
3738
3758
|
{
|
|
3739
3759
|
"type": "stack",
|
|
3740
3760
|
"direction": "vertical",
|
|
3741
|
-
"gap": "lg",
|
|
3742
3761
|
"className": "max-w-xl mx-auto w-full",
|
|
3743
3762
|
"children": [
|
|
3744
3763
|
{
|
|
3745
3764
|
"variant": "h2",
|
|
3746
|
-
"
|
|
3747
|
-
"
|
|
3765
|
+
"content": "Review your order",
|
|
3766
|
+
"type": "typography"
|
|
3748
3767
|
},
|
|
3749
3768
|
{
|
|
3750
|
-
"currentStep": 3.0,
|
|
3751
3769
|
"steps": [
|
|
3752
3770
|
"Customer Info",
|
|
3753
3771
|
"Shipping",
|
|
3754
3772
|
"Payment",
|
|
3755
3773
|
"Review"
|
|
3756
3774
|
],
|
|
3775
|
+
"currentStep": 3.0,
|
|
3757
3776
|
"type": "wizard-progress"
|
|
3758
3777
|
},
|
|
3759
3778
|
{
|
|
3760
3779
|
"type": "divider"
|
|
3761
3780
|
},
|
|
3762
3781
|
{
|
|
3763
|
-
"gap": "sm",
|
|
3764
3782
|
"direction": "vertical",
|
|
3783
|
+
"gap": "sm",
|
|
3765
3784
|
"type": "stack",
|
|
3766
3785
|
"children": [
|
|
3767
3786
|
{
|
|
3768
|
-
"direction": "horizontal",
|
|
3769
3787
|
"type": "stack",
|
|
3770
|
-
"
|
|
3788
|
+
"direction": "horizontal",
|
|
3771
3789
|
"justify": "between",
|
|
3772
3790
|
"children": [
|
|
3773
3791
|
{
|
|
3774
|
-
"content": "Customer",
|
|
3775
3792
|
"type": "typography",
|
|
3776
|
-
"variant": "caption"
|
|
3793
|
+
"variant": "caption",
|
|
3794
|
+
"content": "Customer"
|
|
3777
3795
|
},
|
|
3778
3796
|
{
|
|
3779
3797
|
"variant": "body",
|
|
3780
|
-
"
|
|
3781
|
-
"
|
|
3798
|
+
"type": "typography",
|
|
3799
|
+
"content": "@entity.customerName"
|
|
3782
3800
|
}
|
|
3783
|
-
]
|
|
3801
|
+
],
|
|
3802
|
+
"gap": "md"
|
|
3784
3803
|
},
|
|
3785
3804
|
{
|
|
3786
|
-
"direction": "horizontal",
|
|
3787
3805
|
"type": "stack",
|
|
3788
3806
|
"gap": "md",
|
|
3789
|
-
"
|
|
3807
|
+
"direction": "horizontal",
|
|
3790
3808
|
"children": [
|
|
3791
3809
|
{
|
|
3792
|
-
"
|
|
3810
|
+
"type": "typography",
|
|
3793
3811
|
"content": "Email",
|
|
3794
|
-
"
|
|
3812
|
+
"variant": "caption"
|
|
3795
3813
|
},
|
|
3796
3814
|
{
|
|
3797
3815
|
"type": "typography",
|
|
3798
|
-
"
|
|
3799
|
-
"
|
|
3816
|
+
"variant": "body",
|
|
3817
|
+
"content": "@entity.email"
|
|
3800
3818
|
}
|
|
3801
|
-
]
|
|
3819
|
+
],
|
|
3820
|
+
"justify": "between"
|
|
3802
3821
|
},
|
|
3803
3822
|
{
|
|
3804
3823
|
"type": "stack",
|
|
3824
|
+
"direction": "horizontal",
|
|
3805
3825
|
"justify": "between",
|
|
3826
|
+
"gap": "md",
|
|
3806
3827
|
"children": [
|
|
3807
3828
|
{
|
|
3808
|
-
"
|
|
3829
|
+
"variant": "caption",
|
|
3809
3830
|
"type": "typography",
|
|
3810
|
-
"
|
|
3831
|
+
"content": "Shipping"
|
|
3811
3832
|
},
|
|
3812
3833
|
{
|
|
3813
3834
|
"variant": "body",
|
|
3814
|
-
"
|
|
3815
|
-
"
|
|
3835
|
+
"content": "@entity.shippingAddress",
|
|
3836
|
+
"type": "typography"
|
|
3816
3837
|
}
|
|
3817
|
-
]
|
|
3818
|
-
"direction": "horizontal",
|
|
3819
|
-
"gap": "md"
|
|
3838
|
+
]
|
|
3820
3839
|
},
|
|
3821
3840
|
{
|
|
3822
|
-
"gap": "md",
|
|
3823
|
-
"type": "stack",
|
|
3824
|
-
"justify": "between",
|
|
3825
|
-
"direction": "horizontal",
|
|
3826
3841
|
"children": [
|
|
3827
3842
|
{
|
|
3828
3843
|
"content": "Order total",
|
|
@@ -3834,7 +3849,11 @@
|
|
|
3834
3849
|
"content": "@entity.orderTotal",
|
|
3835
3850
|
"type": "typography"
|
|
3836
3851
|
}
|
|
3837
|
-
]
|
|
3852
|
+
],
|
|
3853
|
+
"type": "stack",
|
|
3854
|
+
"direction": "horizontal",
|
|
3855
|
+
"gap": "md",
|
|
3856
|
+
"justify": "between"
|
|
3838
3857
|
}
|
|
3839
3858
|
]
|
|
3840
3859
|
},
|
|
@@ -3842,28 +3861,29 @@
|
|
|
3842
3861
|
"type": "divider"
|
|
3843
3862
|
},
|
|
3844
3863
|
{
|
|
3845
|
-
"justify": "between",
|
|
3846
3864
|
"type": "stack",
|
|
3865
|
+
"gap": "sm",
|
|
3847
3866
|
"children": [
|
|
3848
3867
|
{
|
|
3868
|
+
"action": "PREV",
|
|
3849
3869
|
"label": "Back",
|
|
3850
|
-
"variant": "ghost",
|
|
3851
3870
|
"type": "button",
|
|
3852
|
-
"
|
|
3853
|
-
"
|
|
3871
|
+
"variant": "ghost",
|
|
3872
|
+
"icon": "arrow-left"
|
|
3854
3873
|
},
|
|
3855
3874
|
{
|
|
3856
|
-
"
|
|
3875
|
+
"icon": "check",
|
|
3857
3876
|
"type": "button",
|
|
3858
|
-
"label": "Place order",
|
|
3859
3877
|
"action": "COMPLETE",
|
|
3860
|
-
"
|
|
3878
|
+
"label": "Place order",
|
|
3879
|
+
"variant": "primary"
|
|
3861
3880
|
}
|
|
3862
3881
|
],
|
|
3863
|
-
"
|
|
3882
|
+
"justify": "between",
|
|
3864
3883
|
"direction": "horizontal"
|
|
3865
3884
|
}
|
|
3866
|
-
]
|
|
3885
|
+
],
|
|
3886
|
+
"gap": "lg"
|
|
3867
3887
|
}
|
|
3868
3888
|
]
|
|
3869
3889
|
]
|
|
@@ -3877,47 +3897,51 @@
|
|
|
3877
3897
|
"render-ui",
|
|
3878
3898
|
"main",
|
|
3879
3899
|
{
|
|
3900
|
+
"direction": "vertical",
|
|
3901
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3880
3902
|
"type": "stack",
|
|
3881
3903
|
"children": [
|
|
3882
3904
|
{
|
|
3883
|
-
"
|
|
3905
|
+
"content": "Checkout",
|
|
3884
3906
|
"type": "typography",
|
|
3885
|
-
"
|
|
3907
|
+
"variant": "h2"
|
|
3886
3908
|
},
|
|
3887
3909
|
{
|
|
3888
|
-
"type": "wizard-progress",
|
|
3889
3910
|
"steps": [
|
|
3890
3911
|
"Customer Info",
|
|
3891
3912
|
"Shipping",
|
|
3892
3913
|
"Payment",
|
|
3893
3914
|
"Review"
|
|
3894
3915
|
],
|
|
3895
|
-
"currentStep": 1.0
|
|
3916
|
+
"currentStep": 1.0,
|
|
3917
|
+
"type": "wizard-progress"
|
|
3896
3918
|
},
|
|
3897
3919
|
{
|
|
3898
3920
|
"type": "divider"
|
|
3899
3921
|
},
|
|
3900
3922
|
{
|
|
3901
3923
|
"variant": "h3",
|
|
3902
|
-
"
|
|
3903
|
-
"
|
|
3924
|
+
"content": "Shipping Address",
|
|
3925
|
+
"type": "typography"
|
|
3904
3926
|
},
|
|
3905
3927
|
{
|
|
3906
3928
|
"type": "form-section",
|
|
3907
|
-
"cancelLabel": "Back",
|
|
3908
3929
|
"submitLabel": "Continue",
|
|
3909
3930
|
"fields": [
|
|
3910
|
-
|
|
3931
|
+
{
|
|
3932
|
+
"min": 5.0,
|
|
3933
|
+
"name": "shippingAddress",
|
|
3934
|
+
"required": true
|
|
3935
|
+
}
|
|
3911
3936
|
],
|
|
3912
|
-
"
|
|
3937
|
+
"mode": "edit",
|
|
3913
3938
|
"entity": "@entity",
|
|
3939
|
+
"cancelLabel": "Back",
|
|
3914
3940
|
"submitEvent": "NEXT",
|
|
3915
|
-
"
|
|
3941
|
+
"cancelEvent": "PREV"
|
|
3916
3942
|
}
|
|
3917
3943
|
],
|
|
3918
|
-
"gap": "lg"
|
|
3919
|
-
"direction": "vertical",
|
|
3920
|
-
"className": "max-w-xl mx-auto w-full"
|
|
3944
|
+
"gap": "lg"
|
|
3921
3945
|
}
|
|
3922
3946
|
]
|
|
3923
3947
|
]
|
|
@@ -3960,35 +3984,35 @@
|
|
|
3960
3984
|
"render-ui",
|
|
3961
3985
|
"main",
|
|
3962
3986
|
{
|
|
3963
|
-
"align": "center",
|
|
3964
3987
|
"gap": "lg",
|
|
3965
|
-
"className": "max-w-xl mx-auto w-full py-12",
|
|
3966
|
-
"type": "stack",
|
|
3967
|
-
"direction": "vertical",
|
|
3968
3988
|
"children": [
|
|
3969
3989
|
{
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3990
|
+
"type": "icon",
|
|
3991
|
+
"name": "check-circle"
|
|
3972
3992
|
},
|
|
3973
3993
|
{
|
|
3974
|
-
"
|
|
3994
|
+
"variant": "h2",
|
|
3975
3995
|
"content": "Order placed",
|
|
3976
|
-
"
|
|
3996
|
+
"type": "typography"
|
|
3977
3997
|
},
|
|
3978
3998
|
{
|
|
3979
|
-
"color": "muted",
|
|
3980
3999
|
"type": "typography",
|
|
3981
|
-
"
|
|
3982
|
-
"variant": "body"
|
|
4000
|
+
"color": "muted",
|
|
4001
|
+
"variant": "body",
|
|
4002
|
+
"content": "Your order is confirmed and on its way."
|
|
3983
4003
|
},
|
|
3984
4004
|
{
|
|
3985
|
-
"
|
|
4005
|
+
"action": "RESTART",
|
|
4006
|
+
"icon": "rotate-ccw",
|
|
3986
4007
|
"type": "button",
|
|
3987
4008
|
"variant": "ghost",
|
|
3988
|
-
"
|
|
3989
|
-
"action": "RESTART"
|
|
4009
|
+
"label": "Start new order"
|
|
3990
4010
|
}
|
|
3991
|
-
]
|
|
4011
|
+
],
|
|
4012
|
+
"type": "stack",
|
|
4013
|
+
"direction": "vertical",
|
|
4014
|
+
"align": "center",
|
|
4015
|
+
"className": "max-w-xl mx-auto w-full py-12"
|
|
3992
4016
|
}
|
|
3993
4017
|
]
|
|
3994
4018
|
]
|
|
@@ -4002,14 +4026,14 @@
|
|
|
4002
4026
|
"render-ui",
|
|
4003
4027
|
"main",
|
|
4004
4028
|
{
|
|
4029
|
+
"type": "stack",
|
|
4005
4030
|
"direction": "vertical",
|
|
4006
|
-
"gap": "lg",
|
|
4007
4031
|
"className": "max-w-xl mx-auto w-full",
|
|
4008
4032
|
"children": [
|
|
4009
4033
|
{
|
|
4010
|
-
"
|
|
4034
|
+
"type": "typography",
|
|
4011
4035
|
"variant": "h2",
|
|
4012
|
-
"
|
|
4036
|
+
"content": "Checkout"
|
|
4013
4037
|
},
|
|
4014
4038
|
{
|
|
4015
4039
|
"steps": [
|
|
@@ -4018,35 +4042,35 @@
|
|
|
4018
4042
|
"Payment",
|
|
4019
4043
|
"Review"
|
|
4020
4044
|
],
|
|
4021
|
-
"
|
|
4022
|
-
"
|
|
4045
|
+
"type": "wizard-progress",
|
|
4046
|
+
"currentStep": 2.0
|
|
4023
4047
|
},
|
|
4024
4048
|
{
|
|
4025
4049
|
"type": "divider"
|
|
4026
4050
|
},
|
|
4027
4051
|
{
|
|
4028
|
-
"
|
|
4052
|
+
"type": "typography",
|
|
4029
4053
|
"variant": "h3",
|
|
4030
|
-
"
|
|
4054
|
+
"content": "Payment"
|
|
4031
4055
|
},
|
|
4032
4056
|
"@trait.CheckoutPayment",
|
|
4033
4057
|
{
|
|
4058
|
+
"direction": "horizontal",
|
|
4059
|
+
"type": "stack",
|
|
4060
|
+
"gap": "sm",
|
|
4061
|
+
"justify": "start",
|
|
4034
4062
|
"children": [
|
|
4035
4063
|
{
|
|
4036
4064
|
"type": "button",
|
|
4037
|
-
"variant": "ghost",
|
|
4038
|
-
"icon": "arrow-left",
|
|
4039
4065
|
"label": "Back",
|
|
4040
|
-
"
|
|
4066
|
+
"variant": "ghost",
|
|
4067
|
+
"action": "PREV",
|
|
4068
|
+
"icon": "arrow-left"
|
|
4041
4069
|
}
|
|
4042
|
-
]
|
|
4043
|
-
"gap": "sm",
|
|
4044
|
-
"direction": "horizontal",
|
|
4045
|
-
"type": "stack",
|
|
4046
|
-
"justify": "start"
|
|
4070
|
+
]
|
|
4047
4071
|
}
|
|
4048
4072
|
],
|
|
4049
|
-
"
|
|
4073
|
+
"gap": "lg"
|
|
4050
4074
|
}
|
|
4051
4075
|
]
|
|
4052
4076
|
]
|
|
@@ -4085,46 +4109,54 @@
|
|
|
4085
4109
|
"render-ui",
|
|
4086
4110
|
"main",
|
|
4087
4111
|
{
|
|
4112
|
+
"direction": "vertical",
|
|
4113
|
+
"className": "max-w-xl mx-auto w-full",
|
|
4088
4114
|
"type": "stack",
|
|
4089
4115
|
"gap": "lg",
|
|
4090
|
-
"className": "max-w-xl mx-auto w-full",
|
|
4091
4116
|
"children": [
|
|
4092
4117
|
{
|
|
4093
|
-
"type": "typography",
|
|
4094
4118
|
"variant": "h2",
|
|
4119
|
+
"type": "typography",
|
|
4095
4120
|
"content": "Checkout"
|
|
4096
4121
|
},
|
|
4097
4122
|
{
|
|
4098
4123
|
"type": "wizard-progress",
|
|
4099
|
-
"currentStep": 0.0,
|
|
4100
4124
|
"steps": [
|
|
4101
4125
|
"Customer Info",
|
|
4102
4126
|
"Shipping",
|
|
4103
4127
|
"Payment",
|
|
4104
4128
|
"Review"
|
|
4105
|
-
]
|
|
4129
|
+
],
|
|
4130
|
+
"currentStep": 0.0
|
|
4106
4131
|
},
|
|
4107
4132
|
{
|
|
4108
4133
|
"type": "divider"
|
|
4109
4134
|
},
|
|
4110
4135
|
{
|
|
4111
|
-
"variant": "h3",
|
|
4112
4136
|
"content": "Customer Info",
|
|
4113
|
-
"type": "typography"
|
|
4137
|
+
"type": "typography",
|
|
4138
|
+
"variant": "h3"
|
|
4114
4139
|
},
|
|
4115
4140
|
{
|
|
4141
|
+
"type": "form-section",
|
|
4116
4142
|
"submitLabel": "Continue",
|
|
4117
4143
|
"fields": [
|
|
4118
|
-
|
|
4119
|
-
|
|
4144
|
+
{
|
|
4145
|
+
"min": 2.0,
|
|
4146
|
+
"required": true,
|
|
4147
|
+
"name": "customerName"
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
"required": true,
|
|
4151
|
+
"type": "email",
|
|
4152
|
+
"name": "email"
|
|
4153
|
+
}
|
|
4120
4154
|
],
|
|
4155
|
+
"mode": "create",
|
|
4121
4156
|
"showCancel": false,
|
|
4122
|
-
"submitEvent": "NEXT"
|
|
4123
|
-
"type": "form-section",
|
|
4124
|
-
"mode": "create"
|
|
4157
|
+
"submitEvent": "NEXT"
|
|
4125
4158
|
}
|
|
4126
|
-
]
|
|
4127
|
-
"direction": "vertical"
|
|
4159
|
+
]
|
|
4128
4160
|
}
|
|
4129
4161
|
]
|
|
4130
4162
|
]
|
|
@@ -4484,9 +4516,6 @@
|
|
|
4484
4516
|
"render-ui",
|
|
4485
4517
|
"main",
|
|
4486
4518
|
{
|
|
4487
|
-
"className": "py-12",
|
|
4488
|
-
"type": "stack",
|
|
4489
|
-
"direction": "vertical",
|
|
4490
4519
|
"children": [
|
|
4491
4520
|
{
|
|
4492
4521
|
"type": "spinner"
|
|
@@ -4498,6 +4527,9 @@
|
|
|
4498
4527
|
"color": "muted"
|
|
4499
4528
|
}
|
|
4500
4529
|
],
|
|
4530
|
+
"className": "py-12",
|
|
4531
|
+
"type": "stack",
|
|
4532
|
+
"direction": "vertical",
|
|
4501
4533
|
"gap": "md",
|
|
4502
4534
|
"align": "center"
|
|
4503
4535
|
}
|
|
@@ -4513,106 +4545,82 @@
|
|
|
4513
4545
|
"render-ui",
|
|
4514
4546
|
"main",
|
|
4515
4547
|
{
|
|
4516
|
-
"navItems": [
|
|
4517
|
-
{
|
|
4518
|
-
"href": "/products",
|
|
4519
|
-
"icon": "package",
|
|
4520
|
-
"label": "Products"
|
|
4521
|
-
},
|
|
4522
|
-
{
|
|
4523
|
-
"icon": "shopping-cart",
|
|
4524
|
-
"label": "Cart",
|
|
4525
|
-
"href": "/cart"
|
|
4526
|
-
},
|
|
4527
|
-
{
|
|
4528
|
-
"label": "Checkout",
|
|
4529
|
-
"href": "/checkout",
|
|
4530
|
-
"icon": "credit-card"
|
|
4531
|
-
},
|
|
4532
|
-
{
|
|
4533
|
-
"label": "Orders",
|
|
4534
|
-
"icon": "clipboard-list",
|
|
4535
|
-
"href": "/orders"
|
|
4536
|
-
}
|
|
4537
|
-
],
|
|
4538
|
-
"type": "dashboard-layout",
|
|
4539
4548
|
"appName": "EcommerceApp",
|
|
4549
|
+
"type": "dashboard-layout",
|
|
4540
4550
|
"children": [
|
|
4541
4551
|
{
|
|
4542
|
-
"
|
|
4543
|
-
"type": "stack",
|
|
4552
|
+
"gap": "lg",
|
|
4544
4553
|
"children": [
|
|
4545
4554
|
{
|
|
4546
|
-
"justify": "between",
|
|
4547
4555
|
"gap": "md",
|
|
4548
4556
|
"direction": "horizontal",
|
|
4549
|
-
"align": "center",
|
|
4550
4557
|
"children": [
|
|
4551
4558
|
{
|
|
4559
|
+
"align": "center",
|
|
4560
|
+
"type": "stack",
|
|
4552
4561
|
"children": [
|
|
4553
4562
|
{
|
|
4554
|
-
"
|
|
4555
|
-
"
|
|
4563
|
+
"name": "clipboard-list",
|
|
4564
|
+
"type": "icon"
|
|
4556
4565
|
},
|
|
4557
4566
|
{
|
|
4558
|
-
"content": "Order History",
|
|
4559
4567
|
"type": "typography",
|
|
4560
|
-
"variant": "h2"
|
|
4568
|
+
"variant": "h2",
|
|
4569
|
+
"content": "Order History"
|
|
4561
4570
|
}
|
|
4562
4571
|
],
|
|
4563
4572
|
"gap": "sm",
|
|
4564
|
-
"type": "stack",
|
|
4565
|
-
"align": "center",
|
|
4566
4573
|
"direction": "horizontal"
|
|
4567
4574
|
},
|
|
4568
4575
|
{
|
|
4576
|
+
"gap": "sm",
|
|
4569
4577
|
"type": "stack",
|
|
4570
4578
|
"direction": "horizontal",
|
|
4571
4579
|
"children": [
|
|
4572
4580
|
{
|
|
4573
4581
|
"type": "button",
|
|
4574
|
-
"icon": "plus",
|
|
4575
4582
|
"variant": "primary",
|
|
4576
4583
|
"label": "Create OrderRecord",
|
|
4577
|
-
"action": "CREATE"
|
|
4584
|
+
"action": "CREATE",
|
|
4585
|
+
"icon": "plus"
|
|
4578
4586
|
}
|
|
4579
|
-
]
|
|
4580
|
-
"gap": "sm"
|
|
4587
|
+
]
|
|
4581
4588
|
}
|
|
4582
4589
|
],
|
|
4583
|
-
"
|
|
4590
|
+
"align": "center",
|
|
4591
|
+
"type": "stack",
|
|
4592
|
+
"justify": "between"
|
|
4584
4593
|
},
|
|
4585
4594
|
{
|
|
4586
4595
|
"type": "divider"
|
|
4587
|
-
},
|
|
4588
|
-
{
|
|
4589
|
-
"variant": "card",
|
|
4590
|
-
"gap": "sm",
|
|
4591
|
-
"entity": "@payload.data",
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4592
4598
|
"itemActions": [
|
|
4593
4599
|
{
|
|
4594
|
-
"
|
|
4600
|
+
"event": "VIEW",
|
|
4595
4601
|
"label": "View",
|
|
4596
|
-
"
|
|
4602
|
+
"variant": "ghost"
|
|
4597
4603
|
},
|
|
4598
4604
|
{
|
|
4605
|
+
"label": "Edit",
|
|
4599
4606
|
"event": "EDIT",
|
|
4600
|
-
"variant": "ghost"
|
|
4601
|
-
"label": "Edit"
|
|
4607
|
+
"variant": "ghost"
|
|
4602
4608
|
},
|
|
4603
4609
|
{
|
|
4604
|
-
"event": "DELETE",
|
|
4605
4610
|
"variant": "danger",
|
|
4611
|
+
"event": "DELETE",
|
|
4606
4612
|
"label": "Delete"
|
|
4607
4613
|
}
|
|
4608
4614
|
],
|
|
4609
|
-
"
|
|
4615
|
+
"gap": "sm",
|
|
4616
|
+
"entity": "@payload.data",
|
|
4617
|
+
"variant": "card",
|
|
4610
4618
|
"fields": [
|
|
4611
4619
|
{
|
|
4612
|
-
"label": "Customer",
|
|
4613
4620
|
"icon": "clipboard-list",
|
|
4614
|
-
"
|
|
4615
|
-
"variant": "h3"
|
|
4621
|
+
"label": "Customer",
|
|
4622
|
+
"variant": "h3",
|
|
4623
|
+
"name": "customerName"
|
|
4616
4624
|
},
|
|
4617
4625
|
{
|
|
4618
4626
|
"name": "status",
|
|
@@ -4620,24 +4628,48 @@
|
|
|
4620
4628
|
},
|
|
4621
4629
|
{
|
|
4622
4630
|
"format": "currency",
|
|
4623
|
-
"
|
|
4631
|
+
"name": "orderTotal",
|
|
4624
4632
|
"label": "Total",
|
|
4625
|
-
"
|
|
4633
|
+
"variant": "h4"
|
|
4626
4634
|
},
|
|
4627
4635
|
{
|
|
4628
|
-
"
|
|
4629
|
-
"
|
|
4636
|
+
"name": "email",
|
|
4637
|
+
"variant": "caption"
|
|
4630
4638
|
},
|
|
4631
4639
|
{
|
|
4632
|
-
"name": "shippingAddress",
|
|
4633
4640
|
"variant": "caption",
|
|
4634
|
-
"label": "Address"
|
|
4641
|
+
"label": "Address",
|
|
4642
|
+
"name": "shippingAddress"
|
|
4635
4643
|
}
|
|
4636
|
-
]
|
|
4644
|
+
],
|
|
4645
|
+
"type": "data-list"
|
|
4637
4646
|
}
|
|
4638
4647
|
],
|
|
4639
|
-
"
|
|
4640
|
-
"
|
|
4648
|
+
"direction": "vertical",
|
|
4649
|
+
"type": "stack",
|
|
4650
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
4651
|
+
}
|
|
4652
|
+
],
|
|
4653
|
+
"navItems": [
|
|
4654
|
+
{
|
|
4655
|
+
"icon": "package",
|
|
4656
|
+
"label": "Products",
|
|
4657
|
+
"href": "/products"
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
"href": "/cart",
|
|
4661
|
+
"label": "Cart",
|
|
4662
|
+
"icon": "shopping-cart"
|
|
4663
|
+
},
|
|
4664
|
+
{
|
|
4665
|
+
"href": "/checkout",
|
|
4666
|
+
"icon": "credit-card",
|
|
4667
|
+
"label": "Checkout"
|
|
4668
|
+
},
|
|
4669
|
+
{
|
|
4670
|
+
"icon": "clipboard-list",
|
|
4671
|
+
"label": "Orders",
|
|
4672
|
+
"href": "/orders"
|
|
4641
4673
|
}
|
|
4642
4674
|
]
|
|
4643
4675
|
}
|
|
@@ -4653,36 +4685,36 @@
|
|
|
4653
4685
|
"render-ui",
|
|
4654
4686
|
"main",
|
|
4655
4687
|
{
|
|
4688
|
+
"gap": "md",
|
|
4689
|
+
"className": "py-12",
|
|
4690
|
+
"direction": "vertical",
|
|
4691
|
+
"align": "center",
|
|
4656
4692
|
"children": [
|
|
4657
4693
|
{
|
|
4658
|
-
"type": "icon",
|
|
4659
4694
|
"color": "destructive",
|
|
4660
|
-
"name": "alert-triangle"
|
|
4695
|
+
"name": "alert-triangle",
|
|
4696
|
+
"type": "icon"
|
|
4661
4697
|
},
|
|
4662
4698
|
{
|
|
4663
4699
|
"content": "Failed to load orderrecord",
|
|
4664
|
-
"
|
|
4665
|
-
"
|
|
4700
|
+
"type": "typography",
|
|
4701
|
+
"variant": "h3"
|
|
4666
4702
|
},
|
|
4667
4703
|
{
|
|
4704
|
+
"color": "muted",
|
|
4668
4705
|
"variant": "body",
|
|
4669
4706
|
"type": "typography",
|
|
4670
|
-
"color": "muted",
|
|
4671
4707
|
"content": "@payload.error"
|
|
4672
4708
|
},
|
|
4673
4709
|
{
|
|
4674
|
-
"label": "Retry",
|
|
4675
|
-
"variant": "primary",
|
|
4676
|
-
"type": "button",
|
|
4677
4710
|
"icon": "rotate-ccw",
|
|
4711
|
+
"type": "button",
|
|
4712
|
+
"variant": "primary",
|
|
4713
|
+
"label": "Retry",
|
|
4678
4714
|
"action": "INIT"
|
|
4679
4715
|
}
|
|
4680
4716
|
],
|
|
4681
|
-
"
|
|
4682
|
-
"type": "stack",
|
|
4683
|
-
"direction": "vertical",
|
|
4684
|
-
"className": "py-12",
|
|
4685
|
-
"gap": "md"
|
|
4717
|
+
"type": "stack"
|
|
4686
4718
|
}
|
|
4687
4719
|
]
|
|
4688
4720
|
]
|
|
@@ -4874,8 +4906,8 @@
|
|
|
4874
4906
|
"OrderRecord",
|
|
4875
4907
|
{
|
|
4876
4908
|
"emit": {
|
|
4877
|
-
"
|
|
4878
|
-
"
|
|
4909
|
+
"success": "OrderRecordLoaded",
|
|
4910
|
+
"failure": "OrderRecordLoadFailed"
|
|
4879
4911
|
}
|
|
4880
4912
|
}
|
|
4881
4913
|
],
|
|
@@ -4884,32 +4916,31 @@
|
|
|
4884
4916
|
"modal",
|
|
4885
4917
|
{
|
|
4886
4918
|
"direction": "vertical",
|
|
4887
|
-
"
|
|
4919
|
+
"type": "stack",
|
|
4888
4920
|
"children": [
|
|
4889
4921
|
{
|
|
4922
|
+
"gap": "sm",
|
|
4923
|
+
"direction": "horizontal",
|
|
4924
|
+
"type": "stack",
|
|
4890
4925
|
"children": [
|
|
4891
4926
|
{
|
|
4892
|
-
"
|
|
4893
|
-
"
|
|
4927
|
+
"name": "plus-circle",
|
|
4928
|
+
"type": "icon"
|
|
4894
4929
|
},
|
|
4895
4930
|
{
|
|
4931
|
+
"content": "Create OrderRecord",
|
|
4896
4932
|
"type": "typography",
|
|
4897
|
-
"variant": "h3"
|
|
4898
|
-
"content": "Create OrderRecord"
|
|
4933
|
+
"variant": "h3"
|
|
4899
4934
|
}
|
|
4900
|
-
]
|
|
4901
|
-
"gap": "sm",
|
|
4902
|
-
"direction": "horizontal",
|
|
4903
|
-
"type": "stack"
|
|
4935
|
+
]
|
|
4904
4936
|
},
|
|
4905
4937
|
{
|
|
4906
4938
|
"type": "divider"
|
|
4907
4939
|
},
|
|
4908
4940
|
{
|
|
4909
|
-
"mode": "create",
|
|
4910
|
-
"submitEvent": "SAVE",
|
|
4911
|
-
"type": "form-section",
|
|
4912
4941
|
"cancelEvent": "CLOSE",
|
|
4942
|
+
"type": "form-section",
|
|
4943
|
+
"submitEvent": "SAVE",
|
|
4913
4944
|
"fields": [
|
|
4914
4945
|
"customerName",
|
|
4915
4946
|
"email",
|
|
@@ -4917,10 +4948,11 @@
|
|
|
4917
4948
|
"paymentMethod",
|
|
4918
4949
|
"orderTotal",
|
|
4919
4950
|
"status"
|
|
4920
|
-
]
|
|
4951
|
+
],
|
|
4952
|
+
"mode": "create"
|
|
4921
4953
|
}
|
|
4922
4954
|
],
|
|
4923
|
-
"
|
|
4955
|
+
"gap": "md"
|
|
4924
4956
|
}
|
|
4925
4957
|
]
|
|
4926
4958
|
]
|
|
@@ -4961,8 +4993,8 @@
|
|
|
4961
4993
|
"@payload.data",
|
|
4962
4994
|
{
|
|
4963
4995
|
"emit": {
|
|
4964
|
-
"
|
|
4965
|
-
"
|
|
4996
|
+
"success": "OrderRecordSaved",
|
|
4997
|
+
"failure": "OrderRecordSaveFailed"
|
|
4966
4998
|
}
|
|
4967
4999
|
}
|
|
4968
5000
|
],
|
|
@@ -5172,8 +5204,8 @@
|
|
|
5172
5204
|
"OrderRecord",
|
|
5173
5205
|
{
|
|
5174
5206
|
"emit": {
|
|
5175
|
-
"
|
|
5176
|
-
"
|
|
5207
|
+
"failure": "OrderRecordLoadFailed",
|
|
5208
|
+
"success": "OrderRecordLoaded"
|
|
5177
5209
|
}
|
|
5178
5210
|
}
|
|
5179
5211
|
]
|
|
@@ -5188,41 +5220,41 @@
|
|
|
5188
5220
|
"fetch",
|
|
5189
5221
|
"OrderRecord",
|
|
5190
5222
|
{
|
|
5191
|
-
"id": "@payload.id",
|
|
5192
5223
|
"emit": {
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5195
|
-
}
|
|
5224
|
+
"failure": "OrderRecordLoadFailed",
|
|
5225
|
+
"success": "OrderRecordLoaded"
|
|
5226
|
+
},
|
|
5227
|
+
"id": "@payload.id"
|
|
5196
5228
|
}
|
|
5197
5229
|
],
|
|
5198
5230
|
[
|
|
5199
5231
|
"render-ui",
|
|
5200
5232
|
"modal",
|
|
5201
5233
|
{
|
|
5234
|
+
"direction": "vertical",
|
|
5235
|
+
"gap": "md",
|
|
5236
|
+
"type": "stack",
|
|
5202
5237
|
"children": [
|
|
5203
5238
|
{
|
|
5204
|
-
"gap": "sm",
|
|
5205
5239
|
"type": "stack",
|
|
5240
|
+
"gap": "sm",
|
|
5241
|
+
"direction": "horizontal",
|
|
5206
5242
|
"children": [
|
|
5207
5243
|
{
|
|
5208
|
-
"
|
|
5209
|
-
"
|
|
5244
|
+
"name": "edit",
|
|
5245
|
+
"type": "icon"
|
|
5210
5246
|
},
|
|
5211
5247
|
{
|
|
5212
5248
|
"type": "typography",
|
|
5213
|
-
"
|
|
5214
|
-
"
|
|
5249
|
+
"content": "Edit OrderRecord",
|
|
5250
|
+
"variant": "h3"
|
|
5215
5251
|
}
|
|
5216
|
-
]
|
|
5217
|
-
"direction": "horizontal"
|
|
5252
|
+
]
|
|
5218
5253
|
},
|
|
5219
5254
|
{
|
|
5220
5255
|
"type": "divider"
|
|
5221
5256
|
},
|
|
5222
5257
|
{
|
|
5223
|
-
"type": "form-section",
|
|
5224
|
-
"submitEvent": "SAVE",
|
|
5225
|
-
"mode": "edit",
|
|
5226
5258
|
"fields": [
|
|
5227
5259
|
"customerName",
|
|
5228
5260
|
"email",
|
|
@@ -5232,12 +5264,12 @@
|
|
|
5232
5264
|
"status"
|
|
5233
5265
|
],
|
|
5234
5266
|
"cancelEvent": "CLOSE",
|
|
5235
|
-
"
|
|
5267
|
+
"type": "form-section",
|
|
5268
|
+
"mode": "edit",
|
|
5269
|
+
"entity": "@payload.row",
|
|
5270
|
+
"submitEvent": "SAVE"
|
|
5236
5271
|
}
|
|
5237
|
-
]
|
|
5238
|
-
"direction": "vertical",
|
|
5239
|
-
"gap": "md",
|
|
5240
|
-
"type": "stack"
|
|
5272
|
+
]
|
|
5241
5273
|
}
|
|
5242
5274
|
]
|
|
5243
5275
|
]
|
|
@@ -5459,8 +5491,8 @@
|
|
|
5459
5491
|
"OrderRecord",
|
|
5460
5492
|
{
|
|
5461
5493
|
"emit": {
|
|
5462
|
-
"
|
|
5463
|
-
"
|
|
5494
|
+
"success": "OrderRecordLoaded",
|
|
5495
|
+
"failure": "OrderRecordLoadFailed"
|
|
5464
5496
|
}
|
|
5465
5497
|
}
|
|
5466
5498
|
]
|
|
@@ -5486,11 +5518,15 @@
|
|
|
5486
5518
|
"render-ui",
|
|
5487
5519
|
"modal",
|
|
5488
5520
|
{
|
|
5489
|
-
"
|
|
5521
|
+
"gap": "md",
|
|
5490
5522
|
"direction": "vertical",
|
|
5523
|
+
"type": "stack",
|
|
5491
5524
|
"children": [
|
|
5492
5525
|
{
|
|
5526
|
+
"type": "stack",
|
|
5527
|
+
"direction": "horizontal",
|
|
5493
5528
|
"align": "center",
|
|
5529
|
+
"gap": "sm",
|
|
5494
5530
|
"children": [
|
|
5495
5531
|
{
|
|
5496
5532
|
"type": "icon",
|
|
@@ -5498,50 +5534,47 @@
|
|
|
5498
5534
|
},
|
|
5499
5535
|
{
|
|
5500
5536
|
"type": "typography",
|
|
5501
|
-
"
|
|
5502
|
-
"
|
|
5537
|
+
"variant": "h3",
|
|
5538
|
+
"content": "@entity.customerName"
|
|
5503
5539
|
}
|
|
5504
|
-
]
|
|
5505
|
-
"type": "stack",
|
|
5506
|
-
"direction": "horizontal",
|
|
5507
|
-
"gap": "sm"
|
|
5540
|
+
]
|
|
5508
5541
|
},
|
|
5509
5542
|
{
|
|
5510
5543
|
"type": "divider"
|
|
5511
5544
|
},
|
|
5512
5545
|
{
|
|
5513
|
-
"direction": "horizontal",
|
|
5514
|
-
"type": "stack",
|
|
5515
5546
|
"gap": "md",
|
|
5547
|
+
"type": "stack",
|
|
5516
5548
|
"children": [
|
|
5517
5549
|
{
|
|
5550
|
+
"content": "Customer Name",
|
|
5518
5551
|
"variant": "caption",
|
|
5519
|
-
"type": "typography"
|
|
5520
|
-
"content": "Customer Name"
|
|
5552
|
+
"type": "typography"
|
|
5521
5553
|
},
|
|
5522
5554
|
{
|
|
5523
|
-
"
|
|
5555
|
+
"type": "typography",
|
|
5524
5556
|
"variant": "body",
|
|
5525
|
-
"
|
|
5557
|
+
"content": "@entity.customerName"
|
|
5526
5558
|
}
|
|
5527
|
-
]
|
|
5559
|
+
],
|
|
5560
|
+
"direction": "horizontal"
|
|
5528
5561
|
},
|
|
5529
5562
|
{
|
|
5530
|
-
"type": "stack",
|
|
5531
|
-
"direction": "horizontal",
|
|
5532
5563
|
"children": [
|
|
5533
5564
|
{
|
|
5534
|
-
"content": "Email",
|
|
5535
5565
|
"type": "typography",
|
|
5536
|
-
"variant": "caption"
|
|
5566
|
+
"variant": "caption",
|
|
5567
|
+
"content": "Email"
|
|
5537
5568
|
},
|
|
5538
5569
|
{
|
|
5539
|
-
"content": "@entity.email",
|
|
5540
5570
|
"variant": "body",
|
|
5571
|
+
"content": "@entity.email",
|
|
5541
5572
|
"type": "typography"
|
|
5542
5573
|
}
|
|
5543
5574
|
],
|
|
5544
|
-
"gap": "md"
|
|
5575
|
+
"gap": "md",
|
|
5576
|
+
"type": "stack",
|
|
5577
|
+
"direction": "horizontal"
|
|
5545
5578
|
},
|
|
5546
5579
|
{
|
|
5547
5580
|
"gap": "md",
|
|
@@ -5549,19 +5582,19 @@
|
|
|
5549
5582
|
"direction": "horizontal",
|
|
5550
5583
|
"children": [
|
|
5551
5584
|
{
|
|
5552
|
-
"
|
|
5585
|
+
"type": "typography",
|
|
5553
5586
|
"content": "Shipping Address",
|
|
5554
|
-
"
|
|
5587
|
+
"variant": "caption"
|
|
5555
5588
|
},
|
|
5556
5589
|
{
|
|
5557
5590
|
"content": "@entity.shippingAddress",
|
|
5558
|
-
"
|
|
5559
|
-
"
|
|
5591
|
+
"variant": "body",
|
|
5592
|
+
"type": "typography"
|
|
5560
5593
|
}
|
|
5561
5594
|
]
|
|
5562
5595
|
},
|
|
5563
5596
|
{
|
|
5564
|
-
"
|
|
5597
|
+
"type": "stack",
|
|
5565
5598
|
"direction": "horizontal",
|
|
5566
5599
|
"children": [
|
|
5567
5600
|
{
|
|
@@ -5571,72 +5604,71 @@
|
|
|
5571
5604
|
},
|
|
5572
5605
|
{
|
|
5573
5606
|
"variant": "body",
|
|
5574
|
-
"
|
|
5575
|
-
"
|
|
5607
|
+
"content": "@entity.paymentMethod",
|
|
5608
|
+
"type": "typography"
|
|
5576
5609
|
}
|
|
5577
5610
|
],
|
|
5578
|
-
"
|
|
5611
|
+
"gap": "md"
|
|
5579
5612
|
},
|
|
5580
5613
|
{
|
|
5581
|
-
"type": "stack",
|
|
5582
|
-
"gap": "md",
|
|
5583
5614
|
"children": [
|
|
5584
5615
|
{
|
|
5585
|
-
"content": "Order Total",
|
|
5586
5616
|
"type": "typography",
|
|
5617
|
+
"content": "Order Total",
|
|
5587
5618
|
"variant": "caption"
|
|
5588
5619
|
},
|
|
5589
5620
|
{
|
|
5590
|
-
"
|
|
5621
|
+
"content": "@entity.orderTotal",
|
|
5591
5622
|
"type": "typography",
|
|
5592
|
-
"
|
|
5623
|
+
"variant": "body"
|
|
5593
5624
|
}
|
|
5594
5625
|
],
|
|
5595
|
-
"direction": "horizontal"
|
|
5626
|
+
"direction": "horizontal",
|
|
5627
|
+
"type": "stack",
|
|
5628
|
+
"gap": "md"
|
|
5596
5629
|
},
|
|
5597
5630
|
{
|
|
5631
|
+
"gap": "md",
|
|
5598
5632
|
"direction": "horizontal",
|
|
5599
5633
|
"children": [
|
|
5600
5634
|
{
|
|
5601
5635
|
"content": "Status",
|
|
5602
|
-
"
|
|
5603
|
-
"
|
|
5636
|
+
"variant": "caption",
|
|
5637
|
+
"type": "typography"
|
|
5604
5638
|
},
|
|
5605
5639
|
{
|
|
5606
|
-
"type": "typography",
|
|
5607
5640
|
"content": "@entity.status",
|
|
5608
|
-
"variant": "body"
|
|
5641
|
+
"variant": "body",
|
|
5642
|
+
"type": "typography"
|
|
5609
5643
|
}
|
|
5610
5644
|
],
|
|
5611
|
-
"type": "stack"
|
|
5612
|
-
"gap": "md"
|
|
5645
|
+
"type": "stack"
|
|
5613
5646
|
},
|
|
5614
5647
|
{
|
|
5615
5648
|
"type": "divider"
|
|
5616
5649
|
},
|
|
5617
5650
|
{
|
|
5618
|
-
"
|
|
5651
|
+
"type": "stack",
|
|
5652
|
+
"direction": "horizontal",
|
|
5619
5653
|
"children": [
|
|
5620
5654
|
{
|
|
5621
5655
|
"type": "button",
|
|
5622
5656
|
"label": "Edit",
|
|
5623
|
-
"variant": "primary",
|
|
5624
5657
|
"action": "EDIT",
|
|
5658
|
+
"variant": "primary",
|
|
5625
5659
|
"icon": "edit"
|
|
5626
5660
|
},
|
|
5627
5661
|
{
|
|
5628
|
-
"action": "CLOSE",
|
|
5629
5662
|
"label": "Close",
|
|
5663
|
+
"variant": "ghost",
|
|
5630
5664
|
"type": "button",
|
|
5631
|
-
"
|
|
5665
|
+
"action": "CLOSE"
|
|
5632
5666
|
}
|
|
5633
5667
|
],
|
|
5634
|
-
"
|
|
5635
|
-
"justify": "end"
|
|
5636
|
-
"direction": "horizontal"
|
|
5668
|
+
"gap": "sm",
|
|
5669
|
+
"justify": "end"
|
|
5637
5670
|
}
|
|
5638
|
-
]
|
|
5639
|
-
"gap": "md"
|
|
5671
|
+
]
|
|
5640
5672
|
}
|
|
5641
5673
|
]
|
|
5642
5674
|
]
|
|
@@ -5858,8 +5890,8 @@
|
|
|
5858
5890
|
"OrderRecord",
|
|
5859
5891
|
{
|
|
5860
5892
|
"emit": {
|
|
5861
|
-
"
|
|
5862
|
-
"
|
|
5893
|
+
"failure": "OrderRecordLoadFailed",
|
|
5894
|
+
"success": "OrderRecordLoaded"
|
|
5863
5895
|
}
|
|
5864
5896
|
}
|
|
5865
5897
|
]
|
|
@@ -5879,35 +5911,32 @@
|
|
|
5879
5911
|
"fetch",
|
|
5880
5912
|
"OrderRecord",
|
|
5881
5913
|
{
|
|
5914
|
+
"id": "@payload.id",
|
|
5882
5915
|
"emit": {
|
|
5883
5916
|
"success": "OrderRecordLoaded",
|
|
5884
5917
|
"failure": "OrderRecordLoadFailed"
|
|
5885
|
-
}
|
|
5886
|
-
"id": "@payload.id"
|
|
5918
|
+
}
|
|
5887
5919
|
}
|
|
5888
5920
|
],
|
|
5889
5921
|
[
|
|
5890
5922
|
"render-ui",
|
|
5891
5923
|
"modal",
|
|
5892
5924
|
{
|
|
5893
|
-
"type": "stack",
|
|
5894
|
-
"direction": "vertical",
|
|
5895
|
-
"gap": "md",
|
|
5896
5925
|
"children": [
|
|
5897
5926
|
{
|
|
5898
5927
|
"type": "stack",
|
|
5928
|
+
"align": "center",
|
|
5899
5929
|
"direction": "horizontal",
|
|
5900
5930
|
"gap": "sm",
|
|
5901
|
-
"align": "center",
|
|
5902
5931
|
"children": [
|
|
5903
5932
|
{
|
|
5904
5933
|
"type": "icon",
|
|
5905
5934
|
"name": "alert-triangle"
|
|
5906
5935
|
},
|
|
5907
5936
|
{
|
|
5908
|
-
"type": "typography",
|
|
5909
5937
|
"content": "Delete OrderRecord",
|
|
5910
|
-
"variant": "h3"
|
|
5938
|
+
"variant": "h3",
|
|
5939
|
+
"type": "typography"
|
|
5911
5940
|
}
|
|
5912
5941
|
]
|
|
5913
5942
|
},
|
|
@@ -5915,32 +5944,35 @@
|
|
|
5915
5944
|
"type": "divider"
|
|
5916
5945
|
},
|
|
5917
5946
|
{
|
|
5918
|
-
"
|
|
5947
|
+
"variant": "error",
|
|
5919
5948
|
"type": "alert",
|
|
5920
|
-
"
|
|
5949
|
+
"message": "This action cannot be undone."
|
|
5921
5950
|
},
|
|
5922
5951
|
{
|
|
5923
5952
|
"direction": "horizontal",
|
|
5953
|
+
"type": "stack",
|
|
5924
5954
|
"gap": "sm",
|
|
5925
5955
|
"justify": "end",
|
|
5926
|
-
"type": "stack",
|
|
5927
5956
|
"children": [
|
|
5928
5957
|
{
|
|
5929
|
-
"action": "CANCEL",
|
|
5930
5958
|
"variant": "ghost",
|
|
5959
|
+
"action": "CANCEL",
|
|
5931
5960
|
"type": "button",
|
|
5932
5961
|
"label": "Cancel"
|
|
5933
5962
|
},
|
|
5934
5963
|
{
|
|
5935
|
-
"icon": "check",
|
|
5936
|
-
"variant": "danger",
|
|
5937
5964
|
"type": "button",
|
|
5938
5965
|
"label": "Delete",
|
|
5939
|
-
"action": "CONFIRM_DELETE"
|
|
5966
|
+
"action": "CONFIRM_DELETE",
|
|
5967
|
+
"variant": "danger",
|
|
5968
|
+
"icon": "check"
|
|
5940
5969
|
}
|
|
5941
5970
|
]
|
|
5942
5971
|
}
|
|
5943
|
-
]
|
|
5972
|
+
],
|
|
5973
|
+
"direction": "vertical",
|
|
5974
|
+
"type": "stack",
|
|
5975
|
+
"gap": "md"
|
|
5944
5976
|
}
|
|
5945
5977
|
]
|
|
5946
5978
|
]
|
|
@@ -6012,8 +6044,8 @@
|
|
|
6012
6044
|
"OrderRecord",
|
|
6013
6045
|
{
|
|
6014
6046
|
"emit": {
|
|
6015
|
-
"
|
|
6016
|
-
"
|
|
6047
|
+
"failure": "OrderRecordLoadFailed",
|
|
6048
|
+
"success": "OrderRecordLoaded"
|
|
6017
6049
|
}
|
|
6018
6050
|
}
|
|
6019
6051
|
]
|