@almadar/std 14.5.0 → 14.6.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 +738 -702
- 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/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 +738 -702
- 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/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,6 +69,9 @@
|
|
|
69
69
|
"ref": "AppShell.traits.AppLayout",
|
|
70
70
|
"name": "ProductAppLayout",
|
|
71
71
|
"config": {
|
|
72
|
+
"notificationClickEvent": "PRODUCT_NOTIFICATIONS_OPEN",
|
|
73
|
+
"contentTrait": "@trait.ProductCatalog",
|
|
74
|
+
"appName": "EcommerceApp",
|
|
72
75
|
"navItems": [
|
|
73
76
|
{
|
|
74
77
|
"label": "Products",
|
|
@@ -76,37 +79,34 @@
|
|
|
76
79
|
"icon": "package"
|
|
77
80
|
},
|
|
78
81
|
{
|
|
79
|
-
"label": "Cart",
|
|
80
82
|
"href": "/cart",
|
|
81
|
-
"icon": "shopping-cart"
|
|
83
|
+
"icon": "shopping-cart",
|
|
84
|
+
"label": "Cart"
|
|
82
85
|
},
|
|
83
86
|
{
|
|
87
|
+
"label": "Checkout",
|
|
84
88
|
"icon": "credit-card",
|
|
85
|
-
"href": "/checkout"
|
|
86
|
-
"label": "Checkout"
|
|
89
|
+
"href": "/checkout"
|
|
87
90
|
},
|
|
88
91
|
{
|
|
89
|
-
"
|
|
92
|
+
"href": "/orders",
|
|
90
93
|
"label": "Orders",
|
|
91
|
-
"
|
|
94
|
+
"icon": "clipboard-list"
|
|
92
95
|
}
|
|
93
96
|
],
|
|
94
|
-
"notifications": [],
|
|
95
|
-
"appName": "EcommerceApp",
|
|
96
97
|
"searchEvent": "PRODUCT_SEARCH",
|
|
97
|
-
"contentTrait": "@trait.ProductCatalog",
|
|
98
98
|
"topBarActions": [
|
|
99
99
|
{
|
|
100
|
-
"
|
|
100
|
+
"event": "CART_OPEN",
|
|
101
101
|
"icon": "shopping-cart",
|
|
102
|
-
"
|
|
102
|
+
"label": "Cart"
|
|
103
103
|
}
|
|
104
104
|
],
|
|
105
|
-
"
|
|
105
|
+
"notifications": []
|
|
106
106
|
},
|
|
107
107
|
"events": {
|
|
108
|
-
"
|
|
109
|
-
"
|
|
108
|
+
"NOTIFY_CLICK": "PRODUCT_NOTIFICATIONS_OPEN",
|
|
109
|
+
"SEARCH": "PRODUCT_SEARCH"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -189,19 +189,17 @@
|
|
|
189
189
|
"render-ui",
|
|
190
190
|
"main",
|
|
191
191
|
{
|
|
192
|
-
"direction": "vertical",
|
|
193
192
|
"type": "stack",
|
|
194
193
|
"children": [
|
|
195
194
|
{
|
|
196
|
-
"
|
|
195
|
+
"type": "stack",
|
|
197
196
|
"gap": "md",
|
|
198
197
|
"children": [
|
|
199
198
|
{
|
|
200
|
-
"align": "center",
|
|
201
199
|
"children": [
|
|
202
200
|
{
|
|
203
|
-
"
|
|
204
|
-
"
|
|
201
|
+
"type": "icon",
|
|
202
|
+
"name": "package"
|
|
205
203
|
},
|
|
206
204
|
{
|
|
207
205
|
"type": "typography",
|
|
@@ -211,33 +209,35 @@
|
|
|
211
209
|
],
|
|
212
210
|
"type": "stack",
|
|
213
211
|
"gap": "sm",
|
|
214
|
-
"direction": "horizontal"
|
|
212
|
+
"direction": "horizontal",
|
|
213
|
+
"align": "center"
|
|
215
214
|
},
|
|
216
215
|
{
|
|
216
|
+
"direction": "horizontal",
|
|
217
|
+
"gap": "sm",
|
|
217
218
|
"children": [
|
|
218
219
|
{
|
|
219
|
-
"icon": "plus",
|
|
220
|
-
"variant": "primary",
|
|
221
|
-
"action": "CREATE",
|
|
222
220
|
"type": "button",
|
|
223
|
-
"label": "Create Product"
|
|
221
|
+
"label": "Create Product",
|
|
222
|
+
"action": "CREATE",
|
|
223
|
+
"variant": "primary",
|
|
224
|
+
"icon": "plus"
|
|
224
225
|
}
|
|
225
226
|
],
|
|
226
|
-
"type": "stack"
|
|
227
|
-
"gap": "sm",
|
|
228
|
-
"direction": "horizontal"
|
|
227
|
+
"type": "stack"
|
|
229
228
|
}
|
|
230
229
|
],
|
|
231
230
|
"justify": "between",
|
|
232
|
-
"
|
|
233
|
-
"
|
|
231
|
+
"direction": "horizontal",
|
|
232
|
+
"align": "center"
|
|
234
233
|
},
|
|
235
234
|
{
|
|
236
235
|
"type": "divider"
|
|
237
236
|
},
|
|
238
237
|
"@trait.ProductBrowseList"
|
|
239
238
|
],
|
|
240
|
-
"gap": "lg"
|
|
239
|
+
"gap": "lg",
|
|
240
|
+
"direction": "vertical"
|
|
241
241
|
}
|
|
242
242
|
]
|
|
243
243
|
]
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
{
|
|
259
259
|
"children": [
|
|
260
260
|
{
|
|
261
|
-
"
|
|
262
|
-
"
|
|
261
|
+
"type": "icon",
|
|
262
|
+
"name": "bell"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
"type": "typography",
|
|
@@ -267,23 +267,23 @@
|
|
|
267
267
|
"content": "No notifications"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
"type": "typography",
|
|
271
270
|
"content": "You're all caught up.",
|
|
271
|
+
"color": "muted",
|
|
272
272
|
"variant": "caption",
|
|
273
|
-
"
|
|
273
|
+
"type": "typography"
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
|
-
"action": "INIT",
|
|
277
|
-
"label": "Back to products",
|
|
278
276
|
"variant": "ghost",
|
|
277
|
+
"label": "Back to products",
|
|
278
|
+
"action": "INIT",
|
|
279
279
|
"type": "button"
|
|
280
280
|
}
|
|
281
281
|
],
|
|
282
|
-
"align": "center",
|
|
283
282
|
"type": "stack",
|
|
284
|
-
"
|
|
283
|
+
"direction": "vertical",
|
|
285
284
|
"gap": "md",
|
|
286
|
-
"
|
|
285
|
+
"align": "center",
|
|
286
|
+
"className": "py-8"
|
|
287
287
|
}
|
|
288
288
|
]
|
|
289
289
|
]
|
|
@@ -297,52 +297,52 @@
|
|
|
297
297
|
"name": "ProductBrowseList",
|
|
298
298
|
"linkedEntity": "Product",
|
|
299
299
|
"config": {
|
|
300
|
-
"imageField": "imageUrl",
|
|
301
|
-
"cols": 3.0,
|
|
302
300
|
"fields": [
|
|
303
301
|
{
|
|
304
302
|
"name": "name",
|
|
305
|
-
"
|
|
306
|
-
"
|
|
303
|
+
"variant": "h3",
|
|
304
|
+
"icon": "package"
|
|
307
305
|
},
|
|
308
306
|
{
|
|
309
307
|
"name": "category",
|
|
310
308
|
"variant": "badge"
|
|
311
309
|
},
|
|
312
310
|
{
|
|
313
|
-
"name": "price",
|
|
314
311
|
"variant": "h4",
|
|
315
|
-
"format": "currency"
|
|
312
|
+
"format": "currency",
|
|
313
|
+
"name": "price"
|
|
316
314
|
},
|
|
317
315
|
{
|
|
318
316
|
"variant": "caption",
|
|
319
317
|
"name": "sku"
|
|
320
318
|
},
|
|
321
319
|
{
|
|
320
|
+
"name": "inStock",
|
|
322
321
|
"label": "In Stock",
|
|
323
322
|
"variant": "body",
|
|
324
|
-
"name": "inStock",
|
|
325
323
|
"format": "boolean"
|
|
326
324
|
}
|
|
327
325
|
],
|
|
328
326
|
"gap": "md",
|
|
329
327
|
"itemActions": [
|
|
330
328
|
{
|
|
329
|
+
"variant": "ghost",
|
|
331
330
|
"label": "View",
|
|
332
|
-
"event": "VIEW"
|
|
333
|
-
"variant": "ghost"
|
|
331
|
+
"event": "VIEW"
|
|
334
332
|
},
|
|
335
333
|
{
|
|
336
334
|
"variant": "ghost",
|
|
337
|
-
"
|
|
338
|
-
"
|
|
335
|
+
"label": "Edit",
|
|
336
|
+
"event": "EDIT"
|
|
339
337
|
},
|
|
340
338
|
{
|
|
339
|
+
"variant": "danger",
|
|
341
340
|
"event": "DELETE",
|
|
342
|
-
"label": "Delete"
|
|
343
|
-
"variant": "danger"
|
|
341
|
+
"label": "Delete"
|
|
344
342
|
}
|
|
345
|
-
]
|
|
343
|
+
],
|
|
344
|
+
"cols": 3.0,
|
|
345
|
+
"imageField": "imageUrl"
|
|
346
346
|
},
|
|
347
347
|
"listens": [
|
|
348
348
|
{
|
|
@@ -545,8 +545,8 @@
|
|
|
545
545
|
"Product",
|
|
546
546
|
{
|
|
547
547
|
"emit": {
|
|
548
|
-
"
|
|
549
|
-
"
|
|
548
|
+
"failure": "ProductLoadFailed",
|
|
549
|
+
"success": "ProductLoaded"
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
]
|
|
@@ -571,25 +571,23 @@
|
|
|
571
571
|
"render-ui",
|
|
572
572
|
"modal",
|
|
573
573
|
{
|
|
574
|
-
"type": "stack",
|
|
575
|
-
"direction": "vertical",
|
|
576
574
|
"gap": "md",
|
|
577
575
|
"children": [
|
|
578
576
|
{
|
|
579
|
-
"gap": "sm",
|
|
580
|
-
"direction": "horizontal",
|
|
581
577
|
"type": "stack",
|
|
582
578
|
"children": [
|
|
583
579
|
{
|
|
584
|
-
"
|
|
585
|
-
"
|
|
580
|
+
"type": "icon",
|
|
581
|
+
"name": "plus-circle"
|
|
586
582
|
},
|
|
587
583
|
{
|
|
588
584
|
"type": "typography",
|
|
589
585
|
"content": "Create Product",
|
|
590
586
|
"variant": "h3"
|
|
591
587
|
}
|
|
592
|
-
]
|
|
588
|
+
],
|
|
589
|
+
"direction": "horizontal",
|
|
590
|
+
"gap": "sm"
|
|
593
591
|
},
|
|
594
592
|
{
|
|
595
593
|
"type": "divider"
|
|
@@ -598,6 +596,7 @@
|
|
|
598
596
|
"cancelEvent": "CLOSE",
|
|
599
597
|
"type": "form-section",
|
|
600
598
|
"mode": "create",
|
|
599
|
+
"submitEvent": "SAVE",
|
|
601
600
|
"fields": [
|
|
602
601
|
"name",
|
|
603
602
|
"description",
|
|
@@ -605,10 +604,11 @@
|
|
|
605
604
|
"category",
|
|
606
605
|
"sku",
|
|
607
606
|
"inStock"
|
|
608
|
-
]
|
|
609
|
-
"submitEvent": "SAVE"
|
|
607
|
+
]
|
|
610
608
|
}
|
|
611
|
-
]
|
|
609
|
+
],
|
|
610
|
+
"type": "stack",
|
|
611
|
+
"direction": "vertical"
|
|
612
612
|
}
|
|
613
613
|
]
|
|
614
614
|
]
|
|
@@ -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
|
],
|
|
@@ -869,8 +869,8 @@
|
|
|
869
869
|
"Product",
|
|
870
870
|
{
|
|
871
871
|
"emit": {
|
|
872
|
-
"
|
|
873
|
-
"
|
|
872
|
+
"failure": "ProductLoadFailed",
|
|
873
|
+
"success": "ProductLoaded"
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
]
|
|
@@ -885,11 +885,11 @@
|
|
|
885
885
|
"fetch",
|
|
886
886
|
"Product",
|
|
887
887
|
{
|
|
888
|
-
"id": "@payload.id",
|
|
889
888
|
"emit": {
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
}
|
|
889
|
+
"failure": "ProductLoadFailed",
|
|
890
|
+
"success": "ProductLoaded"
|
|
891
|
+
},
|
|
892
|
+
"id": "@payload.id"
|
|
893
893
|
}
|
|
894
894
|
],
|
|
895
895
|
[
|
|
@@ -897,32 +897,28 @@
|
|
|
897
897
|
"modal",
|
|
898
898
|
{
|
|
899
899
|
"direction": "vertical",
|
|
900
|
-
"gap": "md",
|
|
901
900
|
"children": [
|
|
902
901
|
{
|
|
903
902
|
"gap": "sm",
|
|
904
|
-
"direction": "horizontal",
|
|
905
|
-
"type": "stack",
|
|
906
903
|
"children": [
|
|
907
904
|
{
|
|
908
|
-
"
|
|
909
|
-
"
|
|
905
|
+
"type": "icon",
|
|
906
|
+
"name": "edit"
|
|
910
907
|
},
|
|
911
908
|
{
|
|
912
|
-
"content": "Edit Product",
|
|
913
909
|
"variant": "h3",
|
|
914
|
-
"type": "typography"
|
|
910
|
+
"type": "typography",
|
|
911
|
+
"content": "Edit Product"
|
|
915
912
|
}
|
|
916
|
-
]
|
|
913
|
+
],
|
|
914
|
+
"type": "stack",
|
|
915
|
+
"direction": "horizontal"
|
|
917
916
|
},
|
|
918
917
|
{
|
|
919
918
|
"type": "divider"
|
|
920
919
|
},
|
|
921
920
|
{
|
|
922
921
|
"cancelEvent": "CLOSE",
|
|
923
|
-
"entity": "@payload.row",
|
|
924
|
-
"mode": "edit",
|
|
925
|
-
"type": "form-section",
|
|
926
922
|
"fields": [
|
|
927
923
|
"name",
|
|
928
924
|
"description",
|
|
@@ -931,9 +927,13 @@
|
|
|
931
927
|
"sku",
|
|
932
928
|
"inStock"
|
|
933
929
|
],
|
|
934
|
-
"
|
|
930
|
+
"mode": "edit",
|
|
931
|
+
"type": "form-section",
|
|
932
|
+
"submitEvent": "SAVE",
|
|
933
|
+
"entity": "@payload.row"
|
|
935
934
|
}
|
|
936
935
|
],
|
|
936
|
+
"gap": "md",
|
|
937
937
|
"type": "stack"
|
|
938
938
|
}
|
|
939
939
|
]
|
|
@@ -1164,8 +1164,8 @@
|
|
|
1164
1164
|
"Product",
|
|
1165
1165
|
{
|
|
1166
1166
|
"emit": {
|
|
1167
|
-
"
|
|
1168
|
-
"
|
|
1167
|
+
"success": "ProductLoaded",
|
|
1168
|
+
"failure": "ProductLoadFailed"
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
1171
1171
|
]
|
|
@@ -1180,34 +1180,36 @@
|
|
|
1180
1180
|
"fetch",
|
|
1181
1181
|
"Product",
|
|
1182
1182
|
{
|
|
1183
|
+
"id": "@payload.id",
|
|
1183
1184
|
"emit": {
|
|
1184
1185
|
"success": "ProductLoaded",
|
|
1185
1186
|
"failure": "ProductLoadFailed"
|
|
1186
|
-
}
|
|
1187
|
-
"id": "@payload.id"
|
|
1187
|
+
}
|
|
1188
1188
|
}
|
|
1189
1189
|
],
|
|
1190
1190
|
[
|
|
1191
1191
|
"render-ui",
|
|
1192
1192
|
"modal",
|
|
1193
1193
|
{
|
|
1194
|
+
"direction": "vertical",
|
|
1195
|
+
"gap": "md",
|
|
1194
1196
|
"children": [
|
|
1195
1197
|
{
|
|
1198
|
+
"direction": "horizontal",
|
|
1199
|
+
"type": "stack",
|
|
1200
|
+
"gap": "sm",
|
|
1201
|
+
"align": "center",
|
|
1196
1202
|
"children": [
|
|
1197
1203
|
{
|
|
1198
|
-
"
|
|
1199
|
-
"
|
|
1204
|
+
"name": "eye",
|
|
1205
|
+
"type": "icon"
|
|
1200
1206
|
},
|
|
1201
1207
|
{
|
|
1208
|
+
"content": "@entity.name",
|
|
1202
1209
|
"type": "typography",
|
|
1203
|
-
"variant": "h3"
|
|
1204
|
-
"content": "@entity.name"
|
|
1210
|
+
"variant": "h3"
|
|
1205
1211
|
}
|
|
1206
|
-
]
|
|
1207
|
-
"gap": "sm",
|
|
1208
|
-
"direction": "horizontal",
|
|
1209
|
-
"type": "stack",
|
|
1210
|
-
"align": "center"
|
|
1212
|
+
]
|
|
1211
1213
|
},
|
|
1212
1214
|
{
|
|
1213
1215
|
"type": "divider"
|
|
@@ -1218,37 +1220,35 @@
|
|
|
1218
1220
|
"type": "stack",
|
|
1219
1221
|
"children": [
|
|
1220
1222
|
{
|
|
1221
|
-
"variant": "caption",
|
|
1222
1223
|
"type": "typography",
|
|
1223
|
-
"content": "Name"
|
|
1224
|
+
"content": "Name",
|
|
1225
|
+
"variant": "caption"
|
|
1224
1226
|
},
|
|
1225
1227
|
{
|
|
1226
1228
|
"content": "@entity.name",
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1229
|
+
"type": "typography",
|
|
1230
|
+
"variant": "body"
|
|
1229
1231
|
}
|
|
1230
1232
|
]
|
|
1231
1233
|
},
|
|
1232
1234
|
{
|
|
1233
1235
|
"direction": "horizontal",
|
|
1236
|
+
"type": "stack",
|
|
1237
|
+
"gap": "md",
|
|
1234
1238
|
"children": [
|
|
1235
1239
|
{
|
|
1236
1240
|
"variant": "caption",
|
|
1237
|
-
"
|
|
1238
|
-
"
|
|
1241
|
+
"type": "typography",
|
|
1242
|
+
"content": "Description"
|
|
1239
1243
|
},
|
|
1240
1244
|
{
|
|
1241
|
-
"
|
|
1245
|
+
"type": "typography",
|
|
1242
1246
|
"variant": "body",
|
|
1243
|
-
"
|
|
1247
|
+
"content": "@entity.description"
|
|
1244
1248
|
}
|
|
1245
|
-
]
|
|
1246
|
-
"type": "stack",
|
|
1247
|
-
"gap": "md"
|
|
1249
|
+
]
|
|
1248
1250
|
},
|
|
1249
1251
|
{
|
|
1250
|
-
"gap": "md",
|
|
1251
|
-
"type": "stack",
|
|
1252
1252
|
"children": [
|
|
1253
1253
|
{
|
|
1254
1254
|
"type": "typography",
|
|
@@ -1261,46 +1261,46 @@
|
|
|
1261
1261
|
"content": "@entity.price"
|
|
1262
1262
|
}
|
|
1263
1263
|
],
|
|
1264
|
-
"direction": "horizontal"
|
|
1264
|
+
"direction": "horizontal",
|
|
1265
|
+
"gap": "md",
|
|
1266
|
+
"type": "stack"
|
|
1265
1267
|
},
|
|
1266
1268
|
{
|
|
1267
1269
|
"gap": "md",
|
|
1268
|
-
"type": "stack",
|
|
1269
1270
|
"direction": "horizontal",
|
|
1271
|
+
"type": "stack",
|
|
1270
1272
|
"children": [
|
|
1271
1273
|
{
|
|
1272
1274
|
"variant": "caption",
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1275
|
+
"type": "typography",
|
|
1276
|
+
"content": "Category"
|
|
1275
1277
|
},
|
|
1276
1278
|
{
|
|
1277
|
-
"content": "@entity.category",
|
|
1278
1279
|
"type": "typography",
|
|
1279
|
-
"variant": "body"
|
|
1280
|
+
"variant": "body",
|
|
1281
|
+
"content": "@entity.category"
|
|
1280
1282
|
}
|
|
1281
1283
|
]
|
|
1282
1284
|
},
|
|
1283
1285
|
{
|
|
1284
|
-
"gap": "md",
|
|
1285
1286
|
"type": "stack",
|
|
1286
1287
|
"direction": "horizontal",
|
|
1287
1288
|
"children": [
|
|
1288
1289
|
{
|
|
1290
|
+
"variant": "caption",
|
|
1289
1291
|
"type": "typography",
|
|
1290
|
-
"content": "Sku"
|
|
1291
|
-
"variant": "caption"
|
|
1292
|
+
"content": "Sku"
|
|
1292
1293
|
},
|
|
1293
1294
|
{
|
|
1294
|
-
"type": "typography",
|
|
1295
1295
|
"variant": "body",
|
|
1296
|
-
"content": "@entity.sku"
|
|
1296
|
+
"content": "@entity.sku",
|
|
1297
|
+
"type": "typography"
|
|
1297
1298
|
}
|
|
1298
|
-
]
|
|
1299
|
+
],
|
|
1300
|
+
"gap": "md"
|
|
1299
1301
|
},
|
|
1300
1302
|
{
|
|
1301
|
-
"type": "stack",
|
|
1302
1303
|
"direction": "horizontal",
|
|
1303
|
-
"gap": "md",
|
|
1304
1304
|
"children": [
|
|
1305
1305
|
{
|
|
1306
1306
|
"content": "In Stock",
|
|
@@ -1308,40 +1308,40 @@
|
|
|
1308
1308
|
"variant": "caption"
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
|
-
"
|
|
1311
|
+
"variant": "body",
|
|
1312
1312
|
"type": "typography",
|
|
1313
|
-
"
|
|
1313
|
+
"content": "@entity.inStock"
|
|
1314
1314
|
}
|
|
1315
|
-
]
|
|
1315
|
+
],
|
|
1316
|
+
"type": "stack",
|
|
1317
|
+
"gap": "md"
|
|
1316
1318
|
},
|
|
1317
1319
|
{
|
|
1318
1320
|
"type": "divider"
|
|
1319
1321
|
},
|
|
1320
1322
|
{
|
|
1321
|
-
"
|
|
1323
|
+
"direction": "horizontal",
|
|
1324
|
+
"justify": "end",
|
|
1325
|
+
"type": "stack",
|
|
1322
1326
|
"children": [
|
|
1323
1327
|
{
|
|
1324
|
-
"
|
|
1328
|
+
"label": "Edit",
|
|
1325
1329
|
"type": "button",
|
|
1326
1330
|
"variant": "primary",
|
|
1327
|
-
"
|
|
1331
|
+
"action": "EDIT",
|
|
1328
1332
|
"icon": "edit"
|
|
1329
1333
|
},
|
|
1330
1334
|
{
|
|
1331
|
-
"variant": "ghost",
|
|
1332
1335
|
"label": "Close",
|
|
1333
|
-
"
|
|
1334
|
-
"type": "button"
|
|
1336
|
+
"variant": "ghost",
|
|
1337
|
+
"type": "button",
|
|
1338
|
+
"action": "CLOSE"
|
|
1335
1339
|
}
|
|
1336
1340
|
],
|
|
1337
|
-
"
|
|
1338
|
-
"direction": "horizontal",
|
|
1339
|
-
"type": "stack"
|
|
1341
|
+
"gap": "sm"
|
|
1340
1342
|
}
|
|
1341
1343
|
],
|
|
1342
|
-
"
|
|
1343
|
-
"type": "stack",
|
|
1344
|
-
"direction": "vertical"
|
|
1344
|
+
"type": "stack"
|
|
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
|
]
|
|
@@ -1593,8 +1593,8 @@
|
|
|
1593
1593
|
"Product",
|
|
1594
1594
|
{
|
|
1595
1595
|
"emit": {
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1596
|
+
"failure": "ProductLoadFailed",
|
|
1597
|
+
"success": "ProductLoaded"
|
|
1598
1598
|
},
|
|
1599
1599
|
"id": "@payload.id"
|
|
1600
1600
|
}
|
|
@@ -1603,12 +1603,12 @@
|
|
|
1603
1603
|
"render-ui",
|
|
1604
1604
|
"modal",
|
|
1605
1605
|
{
|
|
1606
|
-
"
|
|
1606
|
+
"type": "stack",
|
|
1607
1607
|
"gap": "md",
|
|
1608
|
+
"direction": "vertical",
|
|
1608
1609
|
"children": [
|
|
1609
1610
|
{
|
|
1610
|
-
"
|
|
1611
|
-
"align": "center",
|
|
1611
|
+
"direction": "horizontal",
|
|
1612
1612
|
"children": [
|
|
1613
1613
|
{
|
|
1614
1614
|
"type": "icon",
|
|
@@ -1620,40 +1620,40 @@
|
|
|
1620
1620
|
"content": "Delete Product"
|
|
1621
1621
|
}
|
|
1622
1622
|
],
|
|
1623
|
-
"
|
|
1624
|
-
"gap": "sm"
|
|
1623
|
+
"type": "stack",
|
|
1624
|
+
"gap": "sm",
|
|
1625
|
+
"align": "center"
|
|
1625
1626
|
},
|
|
1626
1627
|
{
|
|
1627
1628
|
"type": "divider"
|
|
1628
1629
|
},
|
|
1629
1630
|
{
|
|
1631
|
+
"type": "alert",
|
|
1630
1632
|
"variant": "error",
|
|
1631
|
-
"message": "This action cannot be undone."
|
|
1632
|
-
"type": "alert"
|
|
1633
|
+
"message": "This action cannot be undone."
|
|
1633
1634
|
},
|
|
1634
1635
|
{
|
|
1635
|
-
"
|
|
1636
|
+
"gap": "sm",
|
|
1637
|
+
"type": "stack",
|
|
1638
|
+
"justify": "end",
|
|
1636
1639
|
"children": [
|
|
1637
1640
|
{
|
|
1641
|
+
"variant": "ghost",
|
|
1638
1642
|
"type": "button",
|
|
1639
1643
|
"action": "CANCEL",
|
|
1640
|
-
"label": "Cancel"
|
|
1641
|
-
"variant": "ghost"
|
|
1644
|
+
"label": "Cancel"
|
|
1642
1645
|
},
|
|
1643
1646
|
{
|
|
1644
|
-
"type": "button",
|
|
1645
|
-
"icon": "check",
|
|
1646
1647
|
"variant": "danger",
|
|
1648
|
+
"action": "CONFIRM_DELETE",
|
|
1647
1649
|
"label": "Delete",
|
|
1648
|
-
"
|
|
1650
|
+
"icon": "check",
|
|
1651
|
+
"type": "button"
|
|
1649
1652
|
}
|
|
1650
1653
|
],
|
|
1651
|
-
"
|
|
1652
|
-
"type": "stack",
|
|
1653
|
-
"gap": "sm"
|
|
1654
|
+
"direction": "horizontal"
|
|
1654
1655
|
}
|
|
1655
|
-
]
|
|
1656
|
-
"type": "stack"
|
|
1656
|
+
]
|
|
1657
1657
|
}
|
|
1658
1658
|
]
|
|
1659
1659
|
]
|
|
@@ -1725,8 +1725,8 @@
|
|
|
1725
1725
|
"Product",
|
|
1726
1726
|
{
|
|
1727
1727
|
"emit": {
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1728
|
+
"failure": "ProductLoadFailed",
|
|
1729
|
+
"success": "ProductLoaded"
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
1732
|
]
|
|
@@ -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
|
]
|
|
@@ -1993,8 +1993,8 @@
|
|
|
1993
1993
|
"CartItem",
|
|
1994
1994
|
{
|
|
1995
1995
|
"emit": {
|
|
1996
|
-
"
|
|
1997
|
-
"
|
|
1996
|
+
"failure": "CartItemLoadFailed",
|
|
1997
|
+
"success": "CartItemLoaded"
|
|
1998
1998
|
}
|
|
1999
1999
|
}
|
|
2000
2000
|
],
|
|
@@ -2002,22 +2002,22 @@
|
|
|
2002
2002
|
"render-ui",
|
|
2003
2003
|
"main",
|
|
2004
2004
|
{
|
|
2005
|
-
"className": "py-12",
|
|
2006
2005
|
"children": [
|
|
2007
2006
|
{
|
|
2008
2007
|
"type": "spinner"
|
|
2009
2008
|
},
|
|
2010
2009
|
{
|
|
2011
|
-
"color": "muted",
|
|
2012
|
-
"variant": "caption",
|
|
2013
2010
|
"type": "typography",
|
|
2014
|
-
"
|
|
2011
|
+
"color": "muted",
|
|
2012
|
+
"content": "Loading…",
|
|
2013
|
+
"variant": "caption"
|
|
2015
2014
|
}
|
|
2016
2015
|
],
|
|
2017
|
-
"direction": "vertical",
|
|
2018
2016
|
"type": "stack",
|
|
2019
|
-
"
|
|
2020
|
-
"gap": "md"
|
|
2017
|
+
"className": "py-12",
|
|
2018
|
+
"gap": "md",
|
|
2019
|
+
"direction": "vertical",
|
|
2020
|
+
"align": "center"
|
|
2021
2021
|
}
|
|
2022
2022
|
]
|
|
2023
2023
|
]
|
|
@@ -2031,137 +2031,137 @@
|
|
|
2031
2031
|
"render-ui",
|
|
2032
2032
|
"main",
|
|
2033
2033
|
{
|
|
2034
|
-
"appName": "EcommerceApp",
|
|
2035
|
-
"navItems": [
|
|
2036
|
-
{
|
|
2037
|
-
"label": "Products",
|
|
2038
|
-
"href": "/products",
|
|
2039
|
-
"icon": "package"
|
|
2040
|
-
},
|
|
2041
|
-
{
|
|
2042
|
-
"label": "Cart",
|
|
2043
|
-
"href": "/cart",
|
|
2044
|
-
"icon": "shopping-cart"
|
|
2045
|
-
},
|
|
2046
|
-
{
|
|
2047
|
-
"icon": "credit-card",
|
|
2048
|
-
"label": "Checkout",
|
|
2049
|
-
"href": "/checkout"
|
|
2050
|
-
},
|
|
2051
|
-
{
|
|
2052
|
-
"icon": "clipboard-list",
|
|
2053
|
-
"label": "Orders",
|
|
2054
|
-
"href": "/orders"
|
|
2055
|
-
}
|
|
2056
|
-
],
|
|
2057
2034
|
"children": [
|
|
2058
2035
|
{
|
|
2036
|
+
"type": "stack",
|
|
2037
|
+
"direction": "vertical",
|
|
2059
2038
|
"children": [
|
|
2060
2039
|
{
|
|
2040
|
+
"direction": "horizontal",
|
|
2041
|
+
"justify": "between",
|
|
2061
2042
|
"children": [
|
|
2062
2043
|
{
|
|
2063
2044
|
"gap": "md",
|
|
2064
|
-
"direction": "horizontal",
|
|
2065
|
-
"type": "stack",
|
|
2066
2045
|
"children": [
|
|
2067
2046
|
{
|
|
2068
|
-
"
|
|
2069
|
-
"
|
|
2047
|
+
"name": "shopping-cart",
|
|
2048
|
+
"type": "icon"
|
|
2070
2049
|
},
|
|
2071
2050
|
{
|
|
2072
|
-
"type": "typography",
|
|
2073
2051
|
"content": "Shopping Cart",
|
|
2052
|
+
"type": "typography",
|
|
2074
2053
|
"variant": "h2"
|
|
2075
2054
|
}
|
|
2076
|
-
]
|
|
2055
|
+
],
|
|
2056
|
+
"direction": "horizontal",
|
|
2057
|
+
"type": "stack"
|
|
2077
2058
|
},
|
|
2078
2059
|
{
|
|
2079
2060
|
"icon": "plus",
|
|
2061
|
+
"type": "button",
|
|
2080
2062
|
"variant": "primary",
|
|
2081
2063
|
"label": "Add Item",
|
|
2082
|
-
"type": "button",
|
|
2083
2064
|
"action": "ADD_ITEM"
|
|
2084
2065
|
}
|
|
2085
2066
|
],
|
|
2086
|
-
"
|
|
2087
|
-
"gap": "md"
|
|
2088
|
-
"direction": "horizontal",
|
|
2089
|
-
"type": "stack"
|
|
2067
|
+
"type": "stack",
|
|
2068
|
+
"gap": "md"
|
|
2090
2069
|
},
|
|
2091
2070
|
{
|
|
2092
2071
|
"type": "divider"
|
|
2093
2072
|
},
|
|
2094
2073
|
{
|
|
2074
|
+
"type": "simple-grid",
|
|
2095
2075
|
"children": [
|
|
2096
2076
|
{
|
|
2097
|
-
"label": "Items",
|
|
2098
2077
|
"type": "stat-display",
|
|
2099
|
-
"
|
|
2100
|
-
"value": "@payload.data.length"
|
|
2078
|
+
"label": "Items",
|
|
2079
|
+
"value": "@payload.data.length",
|
|
2080
|
+
"icon": "package"
|
|
2101
2081
|
},
|
|
2102
2082
|
{
|
|
2103
|
-
"
|
|
2083
|
+
"type": "stat-display",
|
|
2104
2084
|
"label": "Subtotal",
|
|
2105
2085
|
"icon": "dollar-sign",
|
|
2106
|
-
"
|
|
2086
|
+
"value": "@payload.data.length"
|
|
2107
2087
|
},
|
|
2108
2088
|
{
|
|
2089
|
+
"label": "Total",
|
|
2109
2090
|
"value": "@payload.data.length",
|
|
2110
|
-
"type": "stat-display",
|
|
2111
2091
|
"icon": "receipt",
|
|
2112
|
-
"
|
|
2092
|
+
"type": "stat-display"
|
|
2113
2093
|
}
|
|
2114
2094
|
],
|
|
2115
|
-
"cols": 3.0
|
|
2116
|
-
"type": "simple-grid"
|
|
2095
|
+
"cols": 3.0
|
|
2117
2096
|
},
|
|
2118
2097
|
{
|
|
2119
2098
|
"type": "divider"
|
|
2120
2099
|
},
|
|
2121
2100
|
{
|
|
2122
2101
|
"entity": "@payload.data",
|
|
2123
|
-
"itemActions": [
|
|
2124
|
-
{
|
|
2125
|
-
"label": "Remove",
|
|
2126
|
-
"event": "REQUEST_REMOVE",
|
|
2127
|
-
"variant": "danger"
|
|
2128
|
-
}
|
|
2129
|
-
],
|
|
2130
2102
|
"type": "data-grid",
|
|
2131
2103
|
"fields": [
|
|
2132
2104
|
{
|
|
2133
2105
|
"label": "Product Name",
|
|
2134
2106
|
"icon": "shopping-cart",
|
|
2135
|
-
"
|
|
2136
|
-
"
|
|
2107
|
+
"variant": "h4",
|
|
2108
|
+
"name": "productName"
|
|
2137
2109
|
},
|
|
2138
2110
|
{
|
|
2111
|
+
"name": "quantity",
|
|
2139
2112
|
"variant": "caption",
|
|
2140
|
-
"format": "currency",
|
|
2141
2113
|
"label": "Quantity",
|
|
2142
|
-
"
|
|
2114
|
+
"format": "currency"
|
|
2143
2115
|
},
|
|
2144
2116
|
{
|
|
2145
|
-
"name": "unitPrice",
|
|
2146
2117
|
"label": "Unit Price",
|
|
2147
|
-
"variant": "badge"
|
|
2118
|
+
"variant": "badge",
|
|
2119
|
+
"name": "unitPrice"
|
|
2120
|
+
}
|
|
2121
|
+
],
|
|
2122
|
+
"itemActions": [
|
|
2123
|
+
{
|
|
2124
|
+
"variant": "danger",
|
|
2125
|
+
"label": "Remove",
|
|
2126
|
+
"event": "REQUEST_REMOVE"
|
|
2148
2127
|
}
|
|
2149
2128
|
]
|
|
2150
2129
|
},
|
|
2151
2130
|
{
|
|
2152
|
-
"type": "button",
|
|
2153
2131
|
"icon": "arrow-right",
|
|
2154
2132
|
"label": "Proceed to Checkout",
|
|
2133
|
+
"action": "PROCEED_CHECKOUT",
|
|
2155
2134
|
"variant": "primary",
|
|
2156
|
-
"
|
|
2135
|
+
"type": "button"
|
|
2157
2136
|
}
|
|
2158
2137
|
],
|
|
2159
|
-
"
|
|
2160
|
-
"gap": "lg",
|
|
2161
|
-
"type": "stack"
|
|
2138
|
+
"gap": "lg"
|
|
2162
2139
|
}
|
|
2163
2140
|
],
|
|
2164
|
-
"
|
|
2141
|
+
"appName": "EcommerceApp",
|
|
2142
|
+
"type": "dashboard-layout",
|
|
2143
|
+
"navItems": [
|
|
2144
|
+
{
|
|
2145
|
+
"label": "Products",
|
|
2146
|
+
"href": "/products",
|
|
2147
|
+
"icon": "package"
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"href": "/cart",
|
|
2151
|
+
"label": "Cart",
|
|
2152
|
+
"icon": "shopping-cart"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"label": "Checkout",
|
|
2156
|
+
"href": "/checkout",
|
|
2157
|
+
"icon": "credit-card"
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"label": "Orders",
|
|
2161
|
+
"icon": "clipboard-list",
|
|
2162
|
+
"href": "/orders"
|
|
2163
|
+
}
|
|
2164
|
+
]
|
|
2165
2165
|
}
|
|
2166
2166
|
]
|
|
2167
2167
|
]
|
|
@@ -2175,6 +2175,10 @@
|
|
|
2175
2175
|
"render-ui",
|
|
2176
2176
|
"main",
|
|
2177
2177
|
{
|
|
2178
|
+
"type": "stack",
|
|
2179
|
+
"align": "center",
|
|
2180
|
+
"gap": "md",
|
|
2181
|
+
"className": "py-12",
|
|
2178
2182
|
"children": [
|
|
2179
2183
|
{
|
|
2180
2184
|
"name": "alert-triangle",
|
|
@@ -2187,24 +2191,20 @@
|
|
|
2187
2191
|
"variant": "h3"
|
|
2188
2192
|
},
|
|
2189
2193
|
{
|
|
2190
|
-
"content": "@payload.error",
|
|
2191
2194
|
"variant": "body",
|
|
2195
|
+
"content": "@payload.error",
|
|
2192
2196
|
"type": "typography",
|
|
2193
2197
|
"color": "muted"
|
|
2194
2198
|
},
|
|
2195
2199
|
{
|
|
2200
|
+
"variant": "primary",
|
|
2201
|
+
"label": "Retry",
|
|
2196
2202
|
"type": "button",
|
|
2197
|
-
"icon": "rotate-ccw",
|
|
2198
2203
|
"action": "INIT",
|
|
2199
|
-
"
|
|
2200
|
-
"label": "Retry"
|
|
2204
|
+
"icon": "rotate-ccw"
|
|
2201
2205
|
}
|
|
2202
2206
|
],
|
|
2203
|
-
"
|
|
2204
|
-
"direction": "vertical",
|
|
2205
|
-
"gap": "md",
|
|
2206
|
-
"type": "stack",
|
|
2207
|
-
"align": "center"
|
|
2207
|
+
"direction": "vertical"
|
|
2208
2208
|
}
|
|
2209
2209
|
]
|
|
2210
2210
|
]
|
|
@@ -2228,22 +2228,22 @@
|
|
|
2228
2228
|
"render-ui",
|
|
2229
2229
|
"main",
|
|
2230
2230
|
{
|
|
2231
|
-
"type": "stack",
|
|
2232
|
-
"gap": "md",
|
|
2233
|
-
"align": "center",
|
|
2234
2231
|
"className": "py-12",
|
|
2232
|
+
"direction": "vertical",
|
|
2233
|
+
"align": "center",
|
|
2235
2234
|
"children": [
|
|
2236
2235
|
{
|
|
2237
2236
|
"type": "spinner"
|
|
2238
2237
|
},
|
|
2239
2238
|
{
|
|
2240
|
-
"content": "Preparing checkout…",
|
|
2241
2239
|
"color": "muted",
|
|
2242
|
-
"
|
|
2243
|
-
"variant": "caption"
|
|
2240
|
+
"content": "Preparing checkout…",
|
|
2241
|
+
"variant": "caption",
|
|
2242
|
+
"type": "typography"
|
|
2244
2243
|
}
|
|
2245
2244
|
],
|
|
2246
|
-
"
|
|
2245
|
+
"gap": "md",
|
|
2246
|
+
"type": "stack"
|
|
2247
2247
|
}
|
|
2248
2248
|
]
|
|
2249
2249
|
]
|
|
@@ -2257,74 +2257,74 @@
|
|
|
2257
2257
|
"render-ui",
|
|
2258
2258
|
"main",
|
|
2259
2259
|
{
|
|
2260
|
+
"type": "dashboard-layout",
|
|
2261
|
+
"appName": "EcommerceApp",
|
|
2260
2262
|
"navItems": [
|
|
2261
2263
|
{
|
|
2262
|
-
"label": "Products",
|
|
2263
2264
|
"href": "/products",
|
|
2265
|
+
"label": "Products",
|
|
2264
2266
|
"icon": "package"
|
|
2265
2267
|
},
|
|
2266
2268
|
{
|
|
2267
|
-
"href": "/cart",
|
|
2268
2269
|
"icon": "shopping-cart",
|
|
2269
|
-
"label": "Cart"
|
|
2270
|
+
"label": "Cart",
|
|
2271
|
+
"href": "/cart"
|
|
2270
2272
|
},
|
|
2271
2273
|
{
|
|
2274
|
+
"icon": "credit-card",
|
|
2272
2275
|
"label": "Checkout",
|
|
2273
|
-
"href": "/checkout"
|
|
2274
|
-
"icon": "credit-card"
|
|
2276
|
+
"href": "/checkout"
|
|
2275
2277
|
},
|
|
2276
2278
|
{
|
|
2277
|
-
"href": "/orders",
|
|
2278
2279
|
"label": "Orders",
|
|
2279
|
-
"icon": "clipboard-list"
|
|
2280
|
+
"icon": "clipboard-list",
|
|
2281
|
+
"href": "/orders"
|
|
2280
2282
|
}
|
|
2281
2283
|
],
|
|
2282
2284
|
"children": [
|
|
2283
2285
|
{
|
|
2284
|
-
"type": "stack",
|
|
2285
|
-
"direction": "vertical",
|
|
2286
2286
|
"children": [
|
|
2287
2287
|
{
|
|
2288
|
-
"gap": "sm",
|
|
2289
|
-
"direction": "horizontal",
|
|
2290
2288
|
"type": "stack",
|
|
2291
2289
|
"children": [
|
|
2292
2290
|
{
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2291
|
+
"type": "icon",
|
|
2292
|
+
"name": "clipboard"
|
|
2295
2293
|
},
|
|
2296
2294
|
{
|
|
2297
2295
|
"type": "typography",
|
|
2298
|
-
"
|
|
2299
|
-
"
|
|
2296
|
+
"variant": "h2",
|
|
2297
|
+
"content": "Checkout"
|
|
2300
2298
|
}
|
|
2301
|
-
]
|
|
2299
|
+
],
|
|
2300
|
+
"direction": "horizontal",
|
|
2301
|
+
"gap": "sm"
|
|
2302
2302
|
},
|
|
2303
2303
|
{
|
|
2304
2304
|
"type": "divider"
|
|
2305
2305
|
},
|
|
2306
2306
|
{
|
|
2307
|
+
"entity": "@payload.data",
|
|
2307
2308
|
"type": "data-grid",
|
|
2308
2309
|
"itemActions": [
|
|
2309
2310
|
{
|
|
2311
|
+
"event": "REQUEST_REMOVE",
|
|
2310
2312
|
"variant": "danger",
|
|
2311
|
-
"label": "Remove"
|
|
2312
|
-
"event": "REQUEST_REMOVE"
|
|
2313
|
+
"label": "Remove"
|
|
2313
2314
|
}
|
|
2314
2315
|
],
|
|
2315
|
-
"entity": "@payload.data",
|
|
2316
2316
|
"fields": [
|
|
2317
2317
|
{
|
|
2318
|
-
"
|
|
2319
|
-
"label": "Product Name",
|
|
2318
|
+
"icon": "shopping-cart",
|
|
2320
2319
|
"variant": "h4",
|
|
2321
|
-
"
|
|
2320
|
+
"label": "Product Name",
|
|
2321
|
+
"name": "productName"
|
|
2322
2322
|
},
|
|
2323
2323
|
{
|
|
2324
|
-
"
|
|
2325
|
-
"name": "quantity",
|
|
2324
|
+
"format": "currency",
|
|
2326
2325
|
"variant": "caption",
|
|
2327
|
-
"
|
|
2326
|
+
"label": "Quantity",
|
|
2327
|
+
"name": "quantity"
|
|
2328
2328
|
},
|
|
2329
2329
|
{
|
|
2330
2330
|
"name": "unitPrice",
|
|
@@ -2335,32 +2335,32 @@
|
|
|
2335
2335
|
},
|
|
2336
2336
|
{
|
|
2337
2337
|
"type": "stack",
|
|
2338
|
-
"gap": "sm",
|
|
2339
2338
|
"justify": "end",
|
|
2339
|
+
"gap": "sm",
|
|
2340
|
+
"direction": "horizontal",
|
|
2340
2341
|
"children": [
|
|
2341
2342
|
{
|
|
2342
|
-
"
|
|
2343
|
+
"icon": "arrow-left",
|
|
2343
2344
|
"label": "Back to Cart",
|
|
2344
2345
|
"type": "button",
|
|
2345
2346
|
"variant": "ghost",
|
|
2346
|
-
"
|
|
2347
|
+
"action": "BACK_TO_CART"
|
|
2347
2348
|
},
|
|
2348
2349
|
{
|
|
2349
|
-
"type": "button",
|
|
2350
2350
|
"label": "Confirm Order",
|
|
2351
|
-
"action": "CONFIRM_ORDER",
|
|
2352
2351
|
"variant": "primary",
|
|
2352
|
+
"action": "CONFIRM_ORDER",
|
|
2353
|
+
"type": "button",
|
|
2353
2354
|
"icon": "check"
|
|
2354
2355
|
}
|
|
2355
|
-
]
|
|
2356
|
-
"direction": "horizontal"
|
|
2356
|
+
]
|
|
2357
2357
|
}
|
|
2358
2358
|
],
|
|
2359
|
-
"gap": "lg"
|
|
2359
|
+
"gap": "lg",
|
|
2360
|
+
"type": "stack",
|
|
2361
|
+
"direction": "vertical"
|
|
2360
2362
|
}
|
|
2361
|
-
]
|
|
2362
|
-
"type": "dashboard-layout",
|
|
2363
|
-
"appName": "EcommerceApp"
|
|
2363
|
+
]
|
|
2364
2364
|
}
|
|
2365
2365
|
]
|
|
2366
2366
|
]
|
|
@@ -2375,8 +2375,8 @@
|
|
|
2375
2375
|
"CartItem",
|
|
2376
2376
|
{
|
|
2377
2377
|
"emit": {
|
|
2378
|
-
"
|
|
2379
|
-
"
|
|
2378
|
+
"success": "CartItemLoaded",
|
|
2379
|
+
"failure": "CartItemLoadFailed"
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
]
|
|
@@ -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,60 +2401,60 @@
|
|
|
2401
2401
|
"render-ui",
|
|
2402
2402
|
"main",
|
|
2403
2403
|
{
|
|
2404
|
-
"appName": "EcommerceApp",
|
|
2405
|
-
"navItems": [
|
|
2406
|
-
{
|
|
2407
|
-
"href": "/products",
|
|
2408
|
-
"label": "Products",
|
|
2409
|
-
"icon": "package"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"href": "/cart",
|
|
2413
|
-
"icon": "shopping-cart",
|
|
2414
|
-
"label": "Cart"
|
|
2415
|
-
},
|
|
2416
|
-
{
|
|
2417
|
-
"icon": "credit-card",
|
|
2418
|
-
"href": "/checkout",
|
|
2419
|
-
"label": "Checkout"
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
"href": "/orders",
|
|
2423
|
-
"label": "Orders",
|
|
2424
|
-
"icon": "clipboard-list"
|
|
2425
|
-
}
|
|
2426
|
-
],
|
|
2427
2404
|
"children": [
|
|
2428
2405
|
{
|
|
2429
2406
|
"gap": "lg",
|
|
2430
|
-
"
|
|
2407
|
+
"align": "center",
|
|
2408
|
+
"direction": "vertical",
|
|
2431
2409
|
"children": [
|
|
2432
2410
|
{
|
|
2433
2411
|
"type": "icon",
|
|
2434
2412
|
"name": "check-circle"
|
|
2435
2413
|
},
|
|
2436
2414
|
{
|
|
2437
|
-
"variant": "h2",
|
|
2438
2415
|
"type": "typography",
|
|
2439
|
-
"content": "Order Confirmed"
|
|
2416
|
+
"content": "Order Confirmed",
|
|
2417
|
+
"variant": "h2"
|
|
2440
2418
|
},
|
|
2441
2419
|
{
|
|
2420
|
+
"variant": "body",
|
|
2442
2421
|
"type": "typography",
|
|
2443
|
-
"content": "Your order has been placed successfully."
|
|
2444
|
-
"variant": "body"
|
|
2422
|
+
"content": "Your order has been placed successfully."
|
|
2445
2423
|
},
|
|
2446
2424
|
{
|
|
2447
|
-
"label": "Continue Shopping",
|
|
2448
2425
|
"type": "button",
|
|
2426
|
+
"action": "INIT",
|
|
2449
2427
|
"variant": "primary",
|
|
2450
|
-
"
|
|
2428
|
+
"label": "Continue Shopping"
|
|
2451
2429
|
}
|
|
2452
2430
|
],
|
|
2453
|
-
"
|
|
2454
|
-
"direction": "vertical"
|
|
2431
|
+
"type": "stack"
|
|
2455
2432
|
}
|
|
2456
2433
|
],
|
|
2457
|
-
"
|
|
2434
|
+
"navItems": [
|
|
2435
|
+
{
|
|
2436
|
+
"label": "Products",
|
|
2437
|
+
"icon": "package",
|
|
2438
|
+
"href": "/products"
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"href": "/cart",
|
|
2442
|
+
"label": "Cart",
|
|
2443
|
+
"icon": "shopping-cart"
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"icon": "credit-card",
|
|
2447
|
+
"label": "Checkout",
|
|
2448
|
+
"href": "/checkout"
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"label": "Orders",
|
|
2452
|
+
"href": "/orders",
|
|
2453
|
+
"icon": "clipboard-list"
|
|
2454
|
+
}
|
|
2455
|
+
],
|
|
2456
|
+
"type": "dashboard-layout",
|
|
2457
|
+
"appName": "EcommerceApp"
|
|
2458
2458
|
}
|
|
2459
2459
|
]
|
|
2460
2460
|
]
|
|
@@ -2639,8 +2639,8 @@
|
|
|
2639
2639
|
"CartItem",
|
|
2640
2640
|
{
|
|
2641
2641
|
"emit": {
|
|
2642
|
-
"
|
|
2643
|
-
"
|
|
2642
|
+
"failure": "CartItemLoadFailed",
|
|
2643
|
+
"success": "CartItemLoaded"
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
2646
|
],
|
|
@@ -2650,40 +2650,40 @@
|
|
|
2650
2650
|
{
|
|
2651
2651
|
"type": "stack",
|
|
2652
2652
|
"gap": "md",
|
|
2653
|
-
"direction": "vertical",
|
|
2654
2653
|
"children": [
|
|
2655
2654
|
{
|
|
2656
|
-
"direction": "horizontal",
|
|
2657
2655
|
"type": "stack",
|
|
2658
|
-
"
|
|
2656
|
+
"direction": "horizontal",
|
|
2659
2657
|
"children": [
|
|
2660
2658
|
{
|
|
2661
|
-
"
|
|
2662
|
-
"
|
|
2659
|
+
"type": "icon",
|
|
2660
|
+
"name": "plus-circle"
|
|
2663
2661
|
},
|
|
2664
2662
|
{
|
|
2665
|
-
"content": "Add Item",
|
|
2666
2663
|
"type": "typography",
|
|
2664
|
+
"content": "Add Item",
|
|
2667
2665
|
"variant": "h3"
|
|
2668
2666
|
}
|
|
2669
|
-
]
|
|
2667
|
+
],
|
|
2668
|
+
"gap": "sm"
|
|
2670
2669
|
},
|
|
2671
2670
|
{
|
|
2672
2671
|
"type": "divider"
|
|
2673
2672
|
},
|
|
2674
2673
|
{
|
|
2675
|
-
"submitEvent": "SAVE",
|
|
2676
2674
|
"cancelEvent": "CLOSE",
|
|
2677
|
-
"type": "form-section",
|
|
2678
2675
|
"fields": [
|
|
2679
2676
|
"productName",
|
|
2680
2677
|
"quantity",
|
|
2681
2678
|
"unitPrice",
|
|
2682
2679
|
"totalPrice"
|
|
2683
2680
|
],
|
|
2684
|
-
"mode": "create"
|
|
2681
|
+
"mode": "create",
|
|
2682
|
+
"submitEvent": "SAVE",
|
|
2683
|
+
"type": "form-section"
|
|
2685
2684
|
}
|
|
2686
|
-
]
|
|
2685
|
+
],
|
|
2686
|
+
"direction": "vertical"
|
|
2687
2687
|
}
|
|
2688
2688
|
]
|
|
2689
2689
|
]
|
|
@@ -2910,8 +2910,8 @@
|
|
|
2910
2910
|
"CartItem",
|
|
2911
2911
|
{
|
|
2912
2912
|
"emit": {
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
2913
|
+
"failure": "CartItemLoadFailed",
|
|
2914
|
+
"success": "CartItemLoaded"
|
|
2915
2915
|
}
|
|
2916
2916
|
}
|
|
2917
2917
|
]
|
|
@@ -2942,57 +2942,57 @@
|
|
|
2942
2942
|
"render-ui",
|
|
2943
2943
|
"modal",
|
|
2944
2944
|
{
|
|
2945
|
+
"direction": "vertical",
|
|
2946
|
+
"type": "stack",
|
|
2947
|
+
"gap": "md",
|
|
2945
2948
|
"children": [
|
|
2946
2949
|
{
|
|
2947
|
-
"align": "center",
|
|
2948
|
-
"gap": "sm",
|
|
2949
2950
|
"children": [
|
|
2950
2951
|
{
|
|
2951
|
-
"
|
|
2952
|
-
"
|
|
2952
|
+
"type": "icon",
|
|
2953
|
+
"name": "alert-triangle"
|
|
2953
2954
|
},
|
|
2954
2955
|
{
|
|
2955
2956
|
"content": "Remove Item",
|
|
2956
|
-
"
|
|
2957
|
-
"
|
|
2957
|
+
"type": "typography",
|
|
2958
|
+
"variant": "h3"
|
|
2958
2959
|
}
|
|
2959
2960
|
],
|
|
2960
2961
|
"type": "stack",
|
|
2961
|
-
"direction": "horizontal"
|
|
2962
|
+
"direction": "horizontal",
|
|
2963
|
+
"gap": "sm",
|
|
2964
|
+
"align": "center"
|
|
2962
2965
|
},
|
|
2963
2966
|
{
|
|
2964
2967
|
"type": "divider"
|
|
2965
2968
|
},
|
|
2966
2969
|
{
|
|
2967
|
-
"type": "alert",
|
|
2968
2970
|
"message": "Are you sure you want to remove this item from your cart?",
|
|
2969
|
-
"variant": "error"
|
|
2971
|
+
"variant": "error",
|
|
2972
|
+
"type": "alert"
|
|
2970
2973
|
},
|
|
2971
2974
|
{
|
|
2972
|
-
"gap": "sm",
|
|
2973
|
-
"type": "stack",
|
|
2974
|
-
"direction": "horizontal",
|
|
2975
2975
|
"justify": "end",
|
|
2976
2976
|
"children": [
|
|
2977
2977
|
{
|
|
2978
|
+
"variant": "ghost",
|
|
2978
2979
|
"type": "button",
|
|
2979
2980
|
"action": "CANCEL",
|
|
2980
|
-
"label": "Cancel"
|
|
2981
|
-
"variant": "ghost"
|
|
2981
|
+
"label": "Cancel"
|
|
2982
2982
|
},
|
|
2983
2983
|
{
|
|
2984
2984
|
"label": "Remove",
|
|
2985
2985
|
"type": "button",
|
|
2986
2986
|
"icon": "check",
|
|
2987
|
-
"
|
|
2988
|
-
"
|
|
2987
|
+
"action": "CONFIRM_REMOVE",
|
|
2988
|
+
"variant": "danger"
|
|
2989
2989
|
}
|
|
2990
|
-
]
|
|
2990
|
+
],
|
|
2991
|
+
"direction": "horizontal",
|
|
2992
|
+
"gap": "sm",
|
|
2993
|
+
"type": "stack"
|
|
2991
2994
|
}
|
|
2992
|
-
]
|
|
2993
|
-
"direction": "vertical",
|
|
2994
|
-
"type": "stack",
|
|
2995
|
-
"gap": "md"
|
|
2995
|
+
]
|
|
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
|
],
|
|
@@ -3060,8 +3060,8 @@
|
|
|
3060
3060
|
"CartItem",
|
|
3061
3061
|
{
|
|
3062
3062
|
"emit": {
|
|
3063
|
-
"
|
|
3064
|
-
"
|
|
3063
|
+
"failure": "CartItemLoadFailed",
|
|
3064
|
+
"success": "CartItemLoaded"
|
|
3065
3065
|
}
|
|
3066
3066
|
}
|
|
3067
3067
|
]
|
|
@@ -3165,10 +3165,10 @@
|
|
|
3165
3165
|
"ref": "Stripe.traits.ServiceStripeStripe",
|
|
3166
3166
|
"name": "CheckoutPayment",
|
|
3167
3167
|
"config": {
|
|
3168
|
-
"
|
|
3168
|
+
"uiTrait": "@trait.CheckoutPaymentForm",
|
|
3169
3169
|
"amount": 0.0,
|
|
3170
3170
|
"metadata": {},
|
|
3171
|
-
"
|
|
3171
|
+
"currency": "usd"
|
|
3172
3172
|
},
|
|
3173
3173
|
"listens": [
|
|
3174
3174
|
{
|
|
@@ -3224,44 +3224,44 @@
|
|
|
3224
3224
|
"main",
|
|
3225
3225
|
{
|
|
3226
3226
|
"type": "stack",
|
|
3227
|
-
"
|
|
3227
|
+
"gap": "md",
|
|
3228
3228
|
"children": [
|
|
3229
3229
|
{
|
|
3230
|
-
"type": "alert",
|
|
3231
3230
|
"variant": "info",
|
|
3232
|
-
"message": "Enter card details to complete your order."
|
|
3231
|
+
"message": "Enter card details to complete your order.",
|
|
3232
|
+
"type": "alert"
|
|
3233
3233
|
},
|
|
3234
3234
|
{
|
|
3235
|
-
"
|
|
3235
|
+
"type": "input",
|
|
3236
3236
|
"inputType": "text",
|
|
3237
|
-
"
|
|
3237
|
+
"placeholder": "Card number"
|
|
3238
3238
|
},
|
|
3239
3239
|
{
|
|
3240
|
+
"direction": "horizontal",
|
|
3240
3241
|
"gap": "sm",
|
|
3242
|
+
"type": "stack",
|
|
3241
3243
|
"children": [
|
|
3242
3244
|
{
|
|
3243
3245
|
"placeholder": "MM/YY",
|
|
3244
|
-
"
|
|
3245
|
-
"
|
|
3246
|
+
"type": "input",
|
|
3247
|
+
"inputType": "text"
|
|
3246
3248
|
},
|
|
3247
3249
|
{
|
|
3248
3250
|
"inputType": "text",
|
|
3249
3251
|
"placeholder": "CVC",
|
|
3250
3252
|
"type": "input"
|
|
3251
3253
|
}
|
|
3252
|
-
]
|
|
3253
|
-
"type": "stack",
|
|
3254
|
-
"direction": "horizontal"
|
|
3254
|
+
]
|
|
3255
3255
|
},
|
|
3256
3256
|
{
|
|
3257
|
-
"type": "button",
|
|
3258
3257
|
"label": "Pay now",
|
|
3259
|
-
"
|
|
3258
|
+
"icon": "credit-card",
|
|
3260
3259
|
"action": "CREATE_PAYMENT",
|
|
3261
|
-
"
|
|
3260
|
+
"type": "button",
|
|
3261
|
+
"variant": "primary"
|
|
3262
3262
|
}
|
|
3263
3263
|
],
|
|
3264
|
-
"
|
|
3264
|
+
"direction": "vertical"
|
|
3265
3265
|
}
|
|
3266
3266
|
]
|
|
3267
3267
|
]
|
|
@@ -3404,14 +3404,7 @@
|
|
|
3404
3404
|
},
|
|
3405
3405
|
{
|
|
3406
3406
|
"key": "COMPLETE",
|
|
3407
|
-
"name": "Complete"
|
|
3408
|
-
"payloadSchema": [
|
|
3409
|
-
{
|
|
3410
|
-
"name": "data",
|
|
3411
|
-
"type": "object",
|
|
3412
|
-
"required": true
|
|
3413
|
-
}
|
|
3414
|
-
]
|
|
3407
|
+
"name": "Complete"
|
|
3415
3408
|
},
|
|
3416
3409
|
{
|
|
3417
3410
|
"key": "RESTART",
|
|
@@ -3509,45 +3502,46 @@
|
|
|
3509
3502
|
"render-ui",
|
|
3510
3503
|
"main",
|
|
3511
3504
|
{
|
|
3505
|
+
"gap": "lg",
|
|
3506
|
+
"type": "stack",
|
|
3512
3507
|
"direction": "vertical",
|
|
3508
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3513
3509
|
"children": [
|
|
3514
3510
|
{
|
|
3511
|
+
"content": "Checkout",
|
|
3515
3512
|
"type": "typography",
|
|
3516
|
-
"variant": "h2"
|
|
3517
|
-
"content": "Checkout"
|
|
3513
|
+
"variant": "h2"
|
|
3518
3514
|
},
|
|
3519
3515
|
{
|
|
3520
|
-
"
|
|
3516
|
+
"type": "wizard-progress",
|
|
3521
3517
|
"steps": [
|
|
3522
3518
|
"Customer Info",
|
|
3523
3519
|
"Shipping",
|
|
3524
3520
|
"Payment",
|
|
3525
3521
|
"Review"
|
|
3526
3522
|
],
|
|
3527
|
-
"
|
|
3523
|
+
"currentStep": 0.0
|
|
3528
3524
|
},
|
|
3529
3525
|
{
|
|
3530
3526
|
"type": "divider"
|
|
3531
3527
|
},
|
|
3532
3528
|
{
|
|
3529
|
+
"type": "typography",
|
|
3533
3530
|
"content": "Customer Info",
|
|
3534
|
-
"variant": "h3"
|
|
3535
|
-
"type": "typography"
|
|
3531
|
+
"variant": "h3"
|
|
3536
3532
|
},
|
|
3537
3533
|
{
|
|
3538
|
-
"submitEvent": "NEXT",
|
|
3539
|
-
"cancelEvent": "INIT",
|
|
3540
|
-
"mode": "create",
|
|
3541
3534
|
"type": "form-section",
|
|
3535
|
+
"submitLabel": "Continue",
|
|
3536
|
+
"showCancel": false,
|
|
3542
3537
|
"fields": [
|
|
3543
3538
|
"customerName",
|
|
3544
3539
|
"email"
|
|
3545
|
-
]
|
|
3540
|
+
],
|
|
3541
|
+
"mode": "create",
|
|
3542
|
+
"submitEvent": "NEXT"
|
|
3546
3543
|
}
|
|
3547
|
-
]
|
|
3548
|
-
"type": "stack",
|
|
3549
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3550
|
-
"gap": "lg"
|
|
3544
|
+
]
|
|
3551
3545
|
}
|
|
3552
3546
|
]
|
|
3553
3547
|
]
|
|
@@ -3571,45 +3565,47 @@
|
|
|
3571
3565
|
"render-ui",
|
|
3572
3566
|
"main",
|
|
3573
3567
|
{
|
|
3568
|
+
"type": "stack",
|
|
3569
|
+
"gap": "lg",
|
|
3570
|
+
"direction": "vertical",
|
|
3571
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3574
3572
|
"children": [
|
|
3575
3573
|
{
|
|
3576
|
-
"
|
|
3574
|
+
"type": "typography",
|
|
3577
3575
|
"content": "Checkout",
|
|
3578
|
-
"
|
|
3576
|
+
"variant": "h2"
|
|
3579
3577
|
},
|
|
3580
3578
|
{
|
|
3581
|
-
"currentStep": 1.0,
|
|
3582
3579
|
"steps": [
|
|
3583
3580
|
"Customer Info",
|
|
3584
3581
|
"Shipping",
|
|
3585
3582
|
"Payment",
|
|
3586
3583
|
"Review"
|
|
3587
3584
|
],
|
|
3588
|
-
"type": "wizard-progress"
|
|
3585
|
+
"type": "wizard-progress",
|
|
3586
|
+
"currentStep": 1.0
|
|
3589
3587
|
},
|
|
3590
3588
|
{
|
|
3591
3589
|
"type": "divider"
|
|
3592
3590
|
},
|
|
3593
3591
|
{
|
|
3592
|
+
"content": "Shipping Address",
|
|
3594
3593
|
"type": "typography",
|
|
3595
|
-
"variant": "h3"
|
|
3596
|
-
"content": "Shipping Address"
|
|
3594
|
+
"variant": "h3"
|
|
3597
3595
|
},
|
|
3598
3596
|
{
|
|
3599
|
-
"mode": "edit",
|
|
3600
3597
|
"fields": [
|
|
3601
3598
|
"shippingAddress"
|
|
3602
3599
|
],
|
|
3603
|
-
"type": "form-section",
|
|
3604
3600
|
"submitEvent": "NEXT",
|
|
3601
|
+
"submitLabel": "Continue",
|
|
3602
|
+
"mode": "edit",
|
|
3603
|
+
"cancelLabel": "Back",
|
|
3605
3604
|
"cancelEvent": "PREV",
|
|
3606
|
-
"entity": "@entity"
|
|
3605
|
+
"entity": "@entity",
|
|
3606
|
+
"type": "form-section"
|
|
3607
3607
|
}
|
|
3608
|
-
]
|
|
3609
|
-
"direction": "vertical",
|
|
3610
|
-
"type": "stack",
|
|
3611
|
-
"gap": "lg",
|
|
3612
|
-
"className": "max-w-xl mx-auto w-full"
|
|
3608
|
+
]
|
|
3613
3609
|
}
|
|
3614
3610
|
]
|
|
3615
3611
|
]
|
|
@@ -3629,44 +3625,50 @@
|
|
|
3629
3625
|
"main",
|
|
3630
3626
|
{
|
|
3631
3627
|
"className": "max-w-xl mx-auto w-full",
|
|
3628
|
+
"type": "stack",
|
|
3632
3629
|
"children": [
|
|
3633
3630
|
{
|
|
3634
|
-
"content": "Checkout",
|
|
3635
3631
|
"type": "typography",
|
|
3632
|
+
"content": "Checkout",
|
|
3636
3633
|
"variant": "h2"
|
|
3637
3634
|
},
|
|
3638
3635
|
{
|
|
3636
|
+
"currentStep": 2.0,
|
|
3639
3637
|
"type": "wizard-progress",
|
|
3640
3638
|
"steps": [
|
|
3641
3639
|
"Customer Info",
|
|
3642
3640
|
"Shipping",
|
|
3643
3641
|
"Payment",
|
|
3644
3642
|
"Review"
|
|
3645
|
-
]
|
|
3646
|
-
"currentStep": 2.0
|
|
3643
|
+
]
|
|
3647
3644
|
},
|
|
3648
3645
|
{
|
|
3649
3646
|
"type": "divider"
|
|
3650
3647
|
},
|
|
3651
3648
|
{
|
|
3652
|
-
"content": "Payment",
|
|
3653
3649
|
"variant": "h3",
|
|
3650
|
+
"content": "Payment",
|
|
3654
3651
|
"type": "typography"
|
|
3655
3652
|
},
|
|
3656
3653
|
"@trait.CheckoutPayment",
|
|
3657
3654
|
{
|
|
3658
|
-
"
|
|
3659
|
-
"
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3655
|
+
"direction": "horizontal",
|
|
3656
|
+
"children": [
|
|
3657
|
+
{
|
|
3658
|
+
"icon": "arrow-left",
|
|
3659
|
+
"variant": "ghost",
|
|
3660
|
+
"label": "Back",
|
|
3661
|
+
"type": "button",
|
|
3662
|
+
"action": "PREV"
|
|
3663
|
+
}
|
|
3664
|
+
],
|
|
3665
|
+
"gap": "sm",
|
|
3666
|
+
"justify": "start",
|
|
3667
|
+
"type": "stack"
|
|
3665
3668
|
}
|
|
3666
3669
|
],
|
|
3667
|
-
"
|
|
3668
|
-
"
|
|
3669
|
-
"gap": "lg"
|
|
3670
|
+
"gap": "lg",
|
|
3671
|
+
"direction": "vertical"
|
|
3670
3672
|
}
|
|
3671
3673
|
]
|
|
3672
3674
|
]
|
|
@@ -3680,14 +3682,12 @@
|
|
|
3680
3682
|
"render-ui",
|
|
3681
3683
|
"main",
|
|
3682
3684
|
{
|
|
3683
|
-
"gap": "lg",
|
|
3684
3685
|
"direction": "vertical",
|
|
3685
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3686
3686
|
"children": [
|
|
3687
3687
|
{
|
|
3688
3688
|
"content": "Checkout",
|
|
3689
|
-
"
|
|
3690
|
-
"
|
|
3689
|
+
"type": "typography",
|
|
3690
|
+
"variant": "h2"
|
|
3691
3691
|
},
|
|
3692
3692
|
{
|
|
3693
3693
|
"steps": [
|
|
@@ -3703,23 +3703,26 @@
|
|
|
3703
3703
|
"type": "divider"
|
|
3704
3704
|
},
|
|
3705
3705
|
{
|
|
3706
|
-
"variant": "h3",
|
|
3707
3706
|
"type": "typography",
|
|
3707
|
+
"variant": "h3",
|
|
3708
3708
|
"content": "Customer Info"
|
|
3709
3709
|
},
|
|
3710
3710
|
{
|
|
3711
|
-
"
|
|
3712
|
-
"cancelEvent": "INIT",
|
|
3711
|
+
"mode": "edit",
|
|
3713
3712
|
"fields": [
|
|
3714
3713
|
"customerName",
|
|
3715
3714
|
"email"
|
|
3716
3715
|
],
|
|
3717
|
-
"mode": "edit",
|
|
3718
3716
|
"type": "form-section",
|
|
3719
|
-
"entity": "@entity"
|
|
3717
|
+
"entity": "@entity",
|
|
3718
|
+
"showCancel": false,
|
|
3719
|
+
"submitEvent": "NEXT",
|
|
3720
|
+
"submitLabel": "Continue"
|
|
3720
3721
|
}
|
|
3721
3722
|
],
|
|
3722
|
-
"
|
|
3723
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3724
|
+
"type": "stack",
|
|
3725
|
+
"gap": "lg"
|
|
3723
3726
|
}
|
|
3724
3727
|
]
|
|
3725
3728
|
]
|
|
@@ -3734,23 +3737,23 @@
|
|
|
3734
3737
|
"main",
|
|
3735
3738
|
{
|
|
3736
3739
|
"direction": "vertical",
|
|
3740
|
+
"type": "stack",
|
|
3737
3741
|
"className": "max-w-xl mx-auto w-full",
|
|
3738
3742
|
"gap": "lg",
|
|
3739
|
-
"type": "stack",
|
|
3740
3743
|
"children": [
|
|
3741
3744
|
{
|
|
3742
3745
|
"type": "typography",
|
|
3743
3746
|
"variant": "h2",
|
|
3744
|
-
"content": "Review"
|
|
3747
|
+
"content": "Review your order"
|
|
3745
3748
|
},
|
|
3746
3749
|
{
|
|
3747
|
-
"type": "wizard-progress",
|
|
3748
3750
|
"steps": [
|
|
3749
3751
|
"Customer Info",
|
|
3750
3752
|
"Shipping",
|
|
3751
3753
|
"Payment",
|
|
3752
3754
|
"Review"
|
|
3753
3755
|
],
|
|
3756
|
+
"type": "wizard-progress",
|
|
3754
3757
|
"currentStep": 3.0
|
|
3755
3758
|
},
|
|
3756
3759
|
{
|
|
@@ -3762,88 +3765,103 @@
|
|
|
3762
3765
|
"type": "stack",
|
|
3763
3766
|
"children": [
|
|
3764
3767
|
{
|
|
3765
|
-
"
|
|
3768
|
+
"content": "Customer",
|
|
3766
3769
|
"variant": "caption",
|
|
3767
|
-
"
|
|
3770
|
+
"type": "typography"
|
|
3768
3771
|
},
|
|
3769
3772
|
{
|
|
3770
3773
|
"variant": "body",
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3774
|
+
"type": "typography",
|
|
3775
|
+
"content": "@entity.customerName"
|
|
3773
3776
|
}
|
|
3774
3777
|
],
|
|
3775
3778
|
"gap": "md",
|
|
3776
|
-
"
|
|
3777
|
-
"
|
|
3779
|
+
"justify": "between",
|
|
3780
|
+
"direction": "horizontal"
|
|
3778
3781
|
},
|
|
3779
3782
|
{
|
|
3780
|
-
"
|
|
3783
|
+
"direction": "horizontal",
|
|
3781
3784
|
"type": "stack",
|
|
3785
|
+
"gap": "md",
|
|
3786
|
+
"justify": "between",
|
|
3782
3787
|
"children": [
|
|
3783
3788
|
{
|
|
3784
|
-
"
|
|
3789
|
+
"type": "typography",
|
|
3785
3790
|
"variant": "caption",
|
|
3786
|
-
"
|
|
3791
|
+
"content": "Email"
|
|
3787
3792
|
},
|
|
3788
3793
|
{
|
|
3789
|
-
"content": "@entity.email",
|
|
3790
3794
|
"variant": "body",
|
|
3795
|
+
"content": "@entity.email",
|
|
3791
3796
|
"type": "typography"
|
|
3792
3797
|
}
|
|
3793
|
-
]
|
|
3794
|
-
"direction": "horizontal",
|
|
3795
|
-
"gap": "md"
|
|
3798
|
+
]
|
|
3796
3799
|
},
|
|
3797
3800
|
{
|
|
3798
|
-
"type": "stack",
|
|
3799
3801
|
"direction": "horizontal",
|
|
3800
|
-
"
|
|
3802
|
+
"type": "stack",
|
|
3801
3803
|
"children": [
|
|
3802
3804
|
{
|
|
3803
|
-
"
|
|
3805
|
+
"type": "typography",
|
|
3804
3806
|
"variant": "caption",
|
|
3805
|
-
"
|
|
3807
|
+
"content": "Shipping"
|
|
3806
3808
|
},
|
|
3807
3809
|
{
|
|
3810
|
+
"content": "@entity.shippingAddress",
|
|
3808
3811
|
"variant": "body",
|
|
3809
|
-
"type": "typography"
|
|
3810
|
-
"content": "@entity.shippingAddress"
|
|
3812
|
+
"type": "typography"
|
|
3811
3813
|
}
|
|
3812
3814
|
],
|
|
3813
|
-
"gap": "md"
|
|
3815
|
+
"gap": "md",
|
|
3816
|
+
"justify": "between"
|
|
3814
3817
|
},
|
|
3815
3818
|
{
|
|
3816
|
-
"direction": "horizontal",
|
|
3817
3819
|
"justify": "between",
|
|
3818
3820
|
"children": [
|
|
3819
3821
|
{
|
|
3820
|
-
"
|
|
3822
|
+
"type": "typography",
|
|
3821
3823
|
"variant": "caption",
|
|
3822
|
-
"
|
|
3824
|
+
"content": "Order total"
|
|
3823
3825
|
},
|
|
3824
3826
|
{
|
|
3825
|
-
"content": "@entity.orderTotal",
|
|
3826
3827
|
"type": "typography",
|
|
3827
|
-
"variant": "body"
|
|
3828
|
+
"variant": "body",
|
|
3829
|
+
"content": "@entity.orderTotal"
|
|
3828
3830
|
}
|
|
3829
3831
|
],
|
|
3830
|
-
"
|
|
3831
|
-
"
|
|
3832
|
+
"type": "stack",
|
|
3833
|
+
"direction": "horizontal",
|
|
3834
|
+
"gap": "md"
|
|
3832
3835
|
}
|
|
3833
3836
|
],
|
|
3834
|
-
"
|
|
3837
|
+
"gap": "sm",
|
|
3835
3838
|
"direction": "vertical",
|
|
3836
|
-
"
|
|
3839
|
+
"type": "stack"
|
|
3837
3840
|
},
|
|
3838
3841
|
{
|
|
3839
|
-
"type": "
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3842
|
+
"type": "divider"
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"gap": "sm",
|
|
3846
|
+
"children": [
|
|
3847
|
+
{
|
|
3848
|
+
"type": "button",
|
|
3849
|
+
"icon": "arrow-left",
|
|
3850
|
+
"variant": "ghost",
|
|
3851
|
+
"label": "Back",
|
|
3852
|
+
"action": "PREV"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"type": "button",
|
|
3856
|
+
"label": "Place order",
|
|
3857
|
+
"action": "COMPLETE",
|
|
3858
|
+
"variant": "primary",
|
|
3859
|
+
"icon": "check"
|
|
3860
|
+
}
|
|
3861
|
+
],
|
|
3862
|
+
"type": "stack",
|
|
3863
|
+
"direction": "horizontal",
|
|
3864
|
+
"justify": "between"
|
|
3847
3865
|
}
|
|
3848
3866
|
]
|
|
3849
3867
|
}
|
|
@@ -3859,45 +3877,47 @@
|
|
|
3859
3877
|
"render-ui",
|
|
3860
3878
|
"main",
|
|
3861
3879
|
{
|
|
3862
|
-
"type": "stack",
|
|
3863
|
-
"direction": "vertical",
|
|
3864
3880
|
"gap": "lg",
|
|
3881
|
+
"type": "stack",
|
|
3865
3882
|
"className": "max-w-xl mx-auto w-full",
|
|
3866
3883
|
"children": [
|
|
3867
3884
|
{
|
|
3885
|
+
"type": "typography",
|
|
3868
3886
|
"variant": "h2",
|
|
3869
|
-
"content": "Checkout"
|
|
3870
|
-
"type": "typography"
|
|
3887
|
+
"content": "Checkout"
|
|
3871
3888
|
},
|
|
3872
3889
|
{
|
|
3873
|
-
"currentStep": 1.0,
|
|
3874
3890
|
"type": "wizard-progress",
|
|
3875
3891
|
"steps": [
|
|
3876
3892
|
"Customer Info",
|
|
3877
3893
|
"Shipping",
|
|
3878
3894
|
"Payment",
|
|
3879
3895
|
"Review"
|
|
3880
|
-
]
|
|
3896
|
+
],
|
|
3897
|
+
"currentStep": 1.0
|
|
3881
3898
|
},
|
|
3882
3899
|
{
|
|
3883
3900
|
"type": "divider"
|
|
3884
3901
|
},
|
|
3885
3902
|
{
|
|
3886
|
-
"variant": "h3",
|
|
3887
3903
|
"content": "Shipping Address",
|
|
3888
|
-
"type": "typography"
|
|
3904
|
+
"type": "typography",
|
|
3905
|
+
"variant": "h3"
|
|
3889
3906
|
},
|
|
3890
3907
|
{
|
|
3891
|
-
"type": "form-section",
|
|
3892
|
-
"entity": "@entity",
|
|
3893
3908
|
"submitEvent": "NEXT",
|
|
3894
|
-
"
|
|
3909
|
+
"submitLabel": "Continue",
|
|
3910
|
+
"type": "form-section",
|
|
3895
3911
|
"fields": [
|
|
3896
3912
|
"shippingAddress"
|
|
3897
3913
|
],
|
|
3898
|
-
"
|
|
3914
|
+
"cancelLabel": "Back",
|
|
3915
|
+
"entity": "@entity",
|
|
3916
|
+
"mode": "edit",
|
|
3917
|
+
"cancelEvent": "PREV"
|
|
3899
3918
|
}
|
|
3900
|
-
]
|
|
3919
|
+
],
|
|
3920
|
+
"direction": "vertical"
|
|
3901
3921
|
}
|
|
3902
3922
|
]
|
|
3903
3923
|
]
|
|
@@ -3916,11 +3936,11 @@
|
|
|
3916
3936
|
"persist",
|
|
3917
3937
|
"create",
|
|
3918
3938
|
"Checkout",
|
|
3919
|
-
"@
|
|
3939
|
+
"@entity",
|
|
3920
3940
|
{
|
|
3921
3941
|
"emit": {
|
|
3922
|
-
"
|
|
3923
|
-
"
|
|
3942
|
+
"failure": "CheckoutSaveFailed",
|
|
3943
|
+
"success": "CheckoutSaved"
|
|
3924
3944
|
}
|
|
3925
3945
|
}
|
|
3926
3946
|
],
|
|
@@ -3940,9 +3960,10 @@
|
|
|
3940
3960
|
"render-ui",
|
|
3941
3961
|
"main",
|
|
3942
3962
|
{
|
|
3943
|
-
"
|
|
3944
|
-
"direction": "vertical",
|
|
3963
|
+
"align": "center",
|
|
3945
3964
|
"className": "max-w-xl mx-auto w-full py-12",
|
|
3965
|
+
"type": "stack",
|
|
3966
|
+
"gap": "lg",
|
|
3946
3967
|
"children": [
|
|
3947
3968
|
{
|
|
3948
3969
|
"type": "icon",
|
|
@@ -3951,24 +3972,23 @@
|
|
|
3951
3972
|
{
|
|
3952
3973
|
"type": "typography",
|
|
3953
3974
|
"variant": "h2",
|
|
3954
|
-
"content": "Order
|
|
3975
|
+
"content": "Order placed"
|
|
3955
3976
|
},
|
|
3956
3977
|
{
|
|
3978
|
+
"content": "Your order is confirmed and on its way.",
|
|
3957
3979
|
"color": "muted",
|
|
3958
|
-
"variant": "body",
|
|
3959
3980
|
"type": "typography",
|
|
3960
|
-
"
|
|
3981
|
+
"variant": "body"
|
|
3961
3982
|
},
|
|
3962
3983
|
{
|
|
3963
3984
|
"icon": "rotate-ccw",
|
|
3985
|
+
"action": "RESTART",
|
|
3964
3986
|
"variant": "ghost",
|
|
3965
|
-
"label": "Start New",
|
|
3966
3987
|
"type": "button",
|
|
3967
|
-
"
|
|
3988
|
+
"label": "Start new order"
|
|
3968
3989
|
}
|
|
3969
3990
|
],
|
|
3970
|
-
"
|
|
3971
|
-
"align": "center"
|
|
3991
|
+
"direction": "vertical"
|
|
3972
3992
|
}
|
|
3973
3993
|
]
|
|
3974
3994
|
]
|
|
@@ -3983,35 +4003,50 @@
|
|
|
3983
4003
|
"main",
|
|
3984
4004
|
{
|
|
3985
4005
|
"direction": "vertical",
|
|
4006
|
+
"gap": "lg",
|
|
4007
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3986
4008
|
"type": "stack",
|
|
3987
4009
|
"children": [
|
|
3988
4010
|
{
|
|
3989
4011
|
"variant": "h2",
|
|
3990
|
-
"
|
|
3991
|
-
"
|
|
4012
|
+
"type": "typography",
|
|
4013
|
+
"content": "Checkout"
|
|
3992
4014
|
},
|
|
3993
4015
|
{
|
|
4016
|
+
"currentStep": 2.0,
|
|
3994
4017
|
"steps": [
|
|
3995
4018
|
"Customer Info",
|
|
3996
4019
|
"Shipping",
|
|
3997
4020
|
"Payment",
|
|
3998
4021
|
"Review"
|
|
3999
4022
|
],
|
|
4000
|
-
"currentStep": 2.0,
|
|
4001
4023
|
"type": "wizard-progress"
|
|
4002
4024
|
},
|
|
4003
4025
|
{
|
|
4004
4026
|
"type": "divider"
|
|
4005
4027
|
},
|
|
4006
4028
|
{
|
|
4029
|
+
"content": "Payment",
|
|
4007
4030
|
"variant": "h3",
|
|
4008
|
-
"type": "typography"
|
|
4009
|
-
"content": "Payment"
|
|
4031
|
+
"type": "typography"
|
|
4010
4032
|
},
|
|
4011
|
-
"@trait.CheckoutPayment"
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4033
|
+
"@trait.CheckoutPayment",
|
|
4034
|
+
{
|
|
4035
|
+
"justify": "start",
|
|
4036
|
+
"children": [
|
|
4037
|
+
{
|
|
4038
|
+
"type": "button",
|
|
4039
|
+
"action": "PREV",
|
|
4040
|
+
"variant": "ghost",
|
|
4041
|
+
"icon": "arrow-left",
|
|
4042
|
+
"label": "Back"
|
|
4043
|
+
}
|
|
4044
|
+
],
|
|
4045
|
+
"type": "stack",
|
|
4046
|
+
"gap": "sm",
|
|
4047
|
+
"direction": "horizontal"
|
|
4048
|
+
}
|
|
4049
|
+
]
|
|
4015
4050
|
}
|
|
4016
4051
|
]
|
|
4017
4052
|
]
|
|
@@ -4050,11 +4085,15 @@
|
|
|
4050
4085
|
"render-ui",
|
|
4051
4086
|
"main",
|
|
4052
4087
|
{
|
|
4088
|
+
"className": "max-w-xl mx-auto w-full",
|
|
4089
|
+
"type": "stack",
|
|
4090
|
+
"gap": "lg",
|
|
4091
|
+
"direction": "vertical",
|
|
4053
4092
|
"children": [
|
|
4054
4093
|
{
|
|
4055
4094
|
"type": "typography",
|
|
4056
|
-
"
|
|
4057
|
-
"
|
|
4095
|
+
"variant": "h2",
|
|
4096
|
+
"content": "Checkout"
|
|
4058
4097
|
},
|
|
4059
4098
|
{
|
|
4060
4099
|
"type": "wizard-progress",
|
|
@@ -4070,25 +4109,22 @@
|
|
|
4070
4109
|
"type": "divider"
|
|
4071
4110
|
},
|
|
4072
4111
|
{
|
|
4073
|
-
"content": "Customer Info",
|
|
4074
4112
|
"type": "typography",
|
|
4113
|
+
"content": "Customer Info",
|
|
4075
4114
|
"variant": "h3"
|
|
4076
4115
|
},
|
|
4077
4116
|
{
|
|
4078
|
-
"cancelEvent": "INIT",
|
|
4079
|
-
"submitEvent": "NEXT",
|
|
4080
|
-
"type": "form-section",
|
|
4081
4117
|
"mode": "create",
|
|
4118
|
+
"type": "form-section",
|
|
4119
|
+
"submitEvent": "NEXT",
|
|
4120
|
+
"showCancel": false,
|
|
4082
4121
|
"fields": [
|
|
4083
4122
|
"customerName",
|
|
4084
4123
|
"email"
|
|
4085
|
-
]
|
|
4124
|
+
],
|
|
4125
|
+
"submitLabel": "Continue"
|
|
4086
4126
|
}
|
|
4087
|
-
]
|
|
4088
|
-
"type": "stack",
|
|
4089
|
-
"direction": "vertical",
|
|
4090
|
-
"gap": "lg",
|
|
4091
|
-
"className": "max-w-xl mx-auto w-full"
|
|
4127
|
+
]
|
|
4092
4128
|
}
|
|
4093
4129
|
]
|
|
4094
4130
|
]
|
|
@@ -4448,22 +4484,22 @@
|
|
|
4448
4484
|
"render-ui",
|
|
4449
4485
|
"main",
|
|
4450
4486
|
{
|
|
4487
|
+
"type": "stack",
|
|
4488
|
+
"gap": "md",
|
|
4489
|
+
"className": "py-12",
|
|
4490
|
+
"align": "center",
|
|
4451
4491
|
"children": [
|
|
4452
4492
|
{
|
|
4453
4493
|
"type": "spinner"
|
|
4454
4494
|
},
|
|
4455
4495
|
{
|
|
4456
4496
|
"content": "Loading…",
|
|
4457
|
-
"color": "muted",
|
|
4458
4497
|
"variant": "caption",
|
|
4498
|
+
"color": "muted",
|
|
4459
4499
|
"type": "typography"
|
|
4460
4500
|
}
|
|
4461
4501
|
],
|
|
4462
|
-
"direction": "vertical"
|
|
4463
|
-
"gap": "md",
|
|
4464
|
-
"className": "py-12",
|
|
4465
|
-
"align": "center",
|
|
4466
|
-
"type": "stack"
|
|
4502
|
+
"direction": "vertical"
|
|
4467
4503
|
}
|
|
4468
4504
|
]
|
|
4469
4505
|
]
|
|
@@ -4477,73 +4513,48 @@
|
|
|
4477
4513
|
"render-ui",
|
|
4478
4514
|
"main",
|
|
4479
4515
|
{
|
|
4480
|
-
"navItems": [
|
|
4481
|
-
{
|
|
4482
|
-
"label": "Products",
|
|
4483
|
-
"href": "/products",
|
|
4484
|
-
"icon": "package"
|
|
4485
|
-
},
|
|
4486
|
-
{
|
|
4487
|
-
"icon": "shopping-cart",
|
|
4488
|
-
"label": "Cart",
|
|
4489
|
-
"href": "/cart"
|
|
4490
|
-
},
|
|
4491
|
-
{
|
|
4492
|
-
"icon": "credit-card",
|
|
4493
|
-
"label": "Checkout",
|
|
4494
|
-
"href": "/checkout"
|
|
4495
|
-
},
|
|
4496
|
-
{
|
|
4497
|
-
"label": "Orders",
|
|
4498
|
-
"icon": "clipboard-list",
|
|
4499
|
-
"href": "/orders"
|
|
4500
|
-
}
|
|
4501
|
-
],
|
|
4502
|
-
"appName": "EcommerceApp",
|
|
4503
4516
|
"children": [
|
|
4504
4517
|
{
|
|
4505
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
4506
|
-
"direction": "vertical",
|
|
4507
4518
|
"children": [
|
|
4508
4519
|
{
|
|
4509
|
-
"
|
|
4520
|
+
"align": "center",
|
|
4510
4521
|
"gap": "md",
|
|
4522
|
+
"direction": "horizontal",
|
|
4511
4523
|
"type": "stack",
|
|
4512
|
-
"align": "center",
|
|
4513
|
-
"justify": "between",
|
|
4514
4524
|
"children": [
|
|
4515
4525
|
{
|
|
4516
|
-
"type": "stack",
|
|
4517
|
-
"direction": "horizontal",
|
|
4518
4526
|
"gap": "sm",
|
|
4527
|
+
"direction": "horizontal",
|
|
4528
|
+
"align": "center",
|
|
4529
|
+
"type": "stack",
|
|
4519
4530
|
"children": [
|
|
4520
4531
|
{
|
|
4521
4532
|
"name": "clipboard-list",
|
|
4522
4533
|
"type": "icon"
|
|
4523
4534
|
},
|
|
4524
4535
|
{
|
|
4536
|
+
"variant": "h2",
|
|
4525
4537
|
"content": "Order History",
|
|
4526
|
-
"type": "typography"
|
|
4527
|
-
"variant": "h2"
|
|
4538
|
+
"type": "typography"
|
|
4528
4539
|
}
|
|
4529
|
-
]
|
|
4530
|
-
"align": "center"
|
|
4540
|
+
]
|
|
4531
4541
|
},
|
|
4532
4542
|
{
|
|
4533
|
-
"direction": "horizontal",
|
|
4534
4543
|
"type": "stack",
|
|
4535
4544
|
"gap": "sm",
|
|
4536
4545
|
"children": [
|
|
4537
4546
|
{
|
|
4538
|
-
"label": "Create OrderRecord",
|
|
4539
|
-
"variant": "primary",
|
|
4540
4547
|
"icon": "plus",
|
|
4548
|
+
"action": "CREATE",
|
|
4541
4549
|
"type": "button",
|
|
4542
|
-
"
|
|
4550
|
+
"variant": "primary",
|
|
4551
|
+
"label": "Create OrderRecord"
|
|
4543
4552
|
}
|
|
4544
|
-
]
|
|
4553
|
+
],
|
|
4554
|
+
"direction": "horizontal"
|
|
4545
4555
|
}
|
|
4546
|
-
]
|
|
4556
|
+
],
|
|
4557
|
+
"justify": "between"
|
|
4547
4558
|
},
|
|
4548
4559
|
{
|
|
4549
4560
|
"type": "divider"
|
|
@@ -4561,48 +4572,73 @@
|
|
|
4561
4572
|
"label": "Edit"
|
|
4562
4573
|
},
|
|
4563
4574
|
{
|
|
4575
|
+
"variant": "danger",
|
|
4564
4576
|
"label": "Delete",
|
|
4565
|
-
"event": "DELETE"
|
|
4566
|
-
"variant": "danger"
|
|
4577
|
+
"event": "DELETE"
|
|
4567
4578
|
}
|
|
4568
4579
|
],
|
|
4569
4580
|
"type": "data-list",
|
|
4570
|
-
"variant": "card",
|
|
4571
|
-
"entity": "@payload.data",
|
|
4572
|
-
"gap": "sm",
|
|
4573
4581
|
"fields": [
|
|
4574
4582
|
{
|
|
4575
|
-
"icon": "clipboard-list",
|
|
4576
|
-
"variant": "h3",
|
|
4577
4583
|
"name": "customerName",
|
|
4578
|
-
"
|
|
4584
|
+
"variant": "h3",
|
|
4585
|
+
"label": "Customer",
|
|
4586
|
+
"icon": "clipboard-list"
|
|
4579
4587
|
},
|
|
4580
4588
|
{
|
|
4581
4589
|
"name": "status",
|
|
4582
4590
|
"variant": "badge"
|
|
4583
4591
|
},
|
|
4584
4592
|
{
|
|
4585
|
-
"variant": "h4",
|
|
4586
4593
|
"name": "orderTotal",
|
|
4594
|
+
"format": "currency",
|
|
4587
4595
|
"label": "Total",
|
|
4588
|
-
"
|
|
4596
|
+
"variant": "h4"
|
|
4589
4597
|
},
|
|
4590
4598
|
{
|
|
4591
4599
|
"variant": "caption",
|
|
4592
4600
|
"name": "email"
|
|
4593
4601
|
},
|
|
4594
4602
|
{
|
|
4595
|
-
"variant": "caption",
|
|
4596
4603
|
"label": "Address",
|
|
4597
|
-
"name": "shippingAddress"
|
|
4604
|
+
"name": "shippingAddress",
|
|
4605
|
+
"variant": "caption"
|
|
4598
4606
|
}
|
|
4599
|
-
]
|
|
4607
|
+
],
|
|
4608
|
+
"variant": "card",
|
|
4609
|
+
"gap": "sm",
|
|
4610
|
+
"entity": "@payload.data"
|
|
4600
4611
|
}
|
|
4601
4612
|
],
|
|
4602
|
-
"
|
|
4603
|
-
"
|
|
4613
|
+
"gap": "lg",
|
|
4614
|
+
"direction": "vertical",
|
|
4615
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
4616
|
+
"type": "stack"
|
|
4617
|
+
}
|
|
4618
|
+
],
|
|
4619
|
+
"navItems": [
|
|
4620
|
+
{
|
|
4621
|
+
"label": "Products",
|
|
4622
|
+
"href": "/products",
|
|
4623
|
+
"icon": "package"
|
|
4624
|
+
},
|
|
4625
|
+
{
|
|
4626
|
+
"label": "Cart",
|
|
4627
|
+
"href": "/cart",
|
|
4628
|
+
"icon": "shopping-cart"
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
"label": "Checkout",
|
|
4632
|
+
"href": "/checkout",
|
|
4633
|
+
"icon": "credit-card"
|
|
4634
|
+
},
|
|
4635
|
+
{
|
|
4636
|
+
"href": "/orders",
|
|
4637
|
+
"label": "Orders",
|
|
4638
|
+
"icon": "clipboard-list"
|
|
4604
4639
|
}
|
|
4605
4640
|
],
|
|
4641
|
+
"appName": "EcommerceApp",
|
|
4606
4642
|
"type": "dashboard-layout"
|
|
4607
4643
|
}
|
|
4608
4644
|
]
|
|
@@ -4617,36 +4653,36 @@
|
|
|
4617
4653
|
"render-ui",
|
|
4618
4654
|
"main",
|
|
4619
4655
|
{
|
|
4656
|
+
"className": "py-12",
|
|
4657
|
+
"gap": "md",
|
|
4658
|
+
"align": "center",
|
|
4659
|
+
"type": "stack",
|
|
4620
4660
|
"children": [
|
|
4621
4661
|
{
|
|
4662
|
+
"name": "alert-triangle",
|
|
4622
4663
|
"color": "destructive",
|
|
4623
|
-
"type": "icon"
|
|
4624
|
-
"name": "alert-triangle"
|
|
4664
|
+
"type": "icon"
|
|
4625
4665
|
},
|
|
4626
4666
|
{
|
|
4627
|
-
"variant": "h3",
|
|
4628
4667
|
"content": "Failed to load orderrecord",
|
|
4668
|
+
"variant": "h3",
|
|
4629
4669
|
"type": "typography"
|
|
4630
4670
|
},
|
|
4631
4671
|
{
|
|
4632
4672
|
"type": "typography",
|
|
4633
|
-
"variant": "body",
|
|
4634
4673
|
"color": "muted",
|
|
4635
|
-
"content": "@payload.error"
|
|
4674
|
+
"content": "@payload.error",
|
|
4675
|
+
"variant": "body"
|
|
4636
4676
|
},
|
|
4637
4677
|
{
|
|
4638
4678
|
"icon": "rotate-ccw",
|
|
4639
|
-
"
|
|
4679
|
+
"type": "button",
|
|
4640
4680
|
"label": "Retry",
|
|
4641
4681
|
"variant": "primary",
|
|
4642
|
-
"
|
|
4682
|
+
"action": "INIT"
|
|
4643
4683
|
}
|
|
4644
4684
|
],
|
|
4645
|
-
"
|
|
4646
|
-
"align": "center",
|
|
4647
|
-
"type": "stack",
|
|
4648
|
-
"direction": "vertical",
|
|
4649
|
-
"className": "py-12"
|
|
4685
|
+
"direction": "vertical"
|
|
4650
4686
|
}
|
|
4651
4687
|
]
|
|
4652
4688
|
]
|
|
@@ -4821,8 +4857,8 @@
|
|
|
4821
4857
|
"OrderRecord",
|
|
4822
4858
|
{
|
|
4823
4859
|
"emit": {
|
|
4824
|
-
"
|
|
4825
|
-
"
|
|
4860
|
+
"failure": "OrderRecordLoadFailed",
|
|
4861
|
+
"success": "OrderRecordLoaded"
|
|
4826
4862
|
}
|
|
4827
4863
|
}
|
|
4828
4864
|
]
|
|
@@ -4847,28 +4883,30 @@
|
|
|
4847
4883
|
"render-ui",
|
|
4848
4884
|
"modal",
|
|
4849
4885
|
{
|
|
4850
|
-
"
|
|
4886
|
+
"gap": "md",
|
|
4887
|
+
"direction": "vertical",
|
|
4851
4888
|
"children": [
|
|
4852
4889
|
{
|
|
4890
|
+
"gap": "sm",
|
|
4891
|
+
"direction": "horizontal",
|
|
4892
|
+
"type": "stack",
|
|
4853
4893
|
"children": [
|
|
4854
4894
|
{
|
|
4855
|
-
"
|
|
4856
|
-
"
|
|
4895
|
+
"type": "icon",
|
|
4896
|
+
"name": "plus-circle"
|
|
4857
4897
|
},
|
|
4858
4898
|
{
|
|
4859
4899
|
"type": "typography",
|
|
4860
|
-
"
|
|
4861
|
-
"
|
|
4900
|
+
"content": "Create OrderRecord",
|
|
4901
|
+
"variant": "h3"
|
|
4862
4902
|
}
|
|
4863
|
-
]
|
|
4864
|
-
"type": "stack",
|
|
4865
|
-
"gap": "sm",
|
|
4866
|
-
"direction": "horizontal"
|
|
4903
|
+
]
|
|
4867
4904
|
},
|
|
4868
4905
|
{
|
|
4869
4906
|
"type": "divider"
|
|
4870
4907
|
},
|
|
4871
4908
|
{
|
|
4909
|
+
"cancelEvent": "CLOSE",
|
|
4872
4910
|
"fields": [
|
|
4873
4911
|
"customerName",
|
|
4874
4912
|
"email",
|
|
@@ -4877,14 +4915,12 @@
|
|
|
4877
4915
|
"orderTotal",
|
|
4878
4916
|
"status"
|
|
4879
4917
|
],
|
|
4918
|
+
"type": "form-section",
|
|
4880
4919
|
"mode": "create",
|
|
4881
|
-
"submitEvent": "SAVE"
|
|
4882
|
-
"cancelEvent": "CLOSE",
|
|
4883
|
-
"type": "form-section"
|
|
4920
|
+
"submitEvent": "SAVE"
|
|
4884
4921
|
}
|
|
4885
4922
|
],
|
|
4886
|
-
"
|
|
4887
|
-
"gap": "md"
|
|
4923
|
+
"type": "stack"
|
|
4888
4924
|
}
|
|
4889
4925
|
]
|
|
4890
4926
|
]
|
|
@@ -5153,8 +5189,8 @@
|
|
|
5153
5189
|
"OrderRecord",
|
|
5154
5190
|
{
|
|
5155
5191
|
"emit": {
|
|
5156
|
-
"
|
|
5157
|
-
"
|
|
5192
|
+
"success": "OrderRecordLoaded",
|
|
5193
|
+
"failure": "OrderRecordLoadFailed"
|
|
5158
5194
|
},
|
|
5159
5195
|
"id": "@payload.id"
|
|
5160
5196
|
}
|
|
@@ -5163,30 +5199,30 @@
|
|
|
5163
5199
|
"render-ui",
|
|
5164
5200
|
"modal",
|
|
5165
5201
|
{
|
|
5166
|
-
"gap": "md",
|
|
5167
5202
|
"type": "stack",
|
|
5203
|
+
"gap": "md",
|
|
5204
|
+
"direction": "vertical",
|
|
5168
5205
|
"children": [
|
|
5169
5206
|
{
|
|
5170
5207
|
"type": "stack",
|
|
5171
|
-
"direction": "horizontal",
|
|
5172
|
-
"gap": "sm",
|
|
5173
5208
|
"children": [
|
|
5174
5209
|
{
|
|
5175
5210
|
"type": "icon",
|
|
5176
5211
|
"name": "edit"
|
|
5177
5212
|
},
|
|
5178
5213
|
{
|
|
5214
|
+
"type": "typography",
|
|
5179
5215
|
"content": "Edit OrderRecord",
|
|
5180
|
-
"variant": "h3"
|
|
5181
|
-
"type": "typography"
|
|
5216
|
+
"variant": "h3"
|
|
5182
5217
|
}
|
|
5183
|
-
]
|
|
5218
|
+
],
|
|
5219
|
+
"gap": "sm",
|
|
5220
|
+
"direction": "horizontal"
|
|
5184
5221
|
},
|
|
5185
5222
|
{
|
|
5186
5223
|
"type": "divider"
|
|
5187
5224
|
},
|
|
5188
5225
|
{
|
|
5189
|
-
"mode": "edit",
|
|
5190
5226
|
"fields": [
|
|
5191
5227
|
"customerName",
|
|
5192
5228
|
"email",
|
|
@@ -5195,13 +5231,13 @@
|
|
|
5195
5231
|
"orderTotal",
|
|
5196
5232
|
"status"
|
|
5197
5233
|
],
|
|
5234
|
+
"cancelEvent": "CLOSE",
|
|
5198
5235
|
"entity": "@payload.row",
|
|
5199
|
-
"type": "form-section",
|
|
5200
5236
|
"submitEvent": "SAVE",
|
|
5201
|
-
"
|
|
5237
|
+
"mode": "edit",
|
|
5238
|
+
"type": "form-section"
|
|
5202
5239
|
}
|
|
5203
|
-
]
|
|
5204
|
-
"direction": "vertical"
|
|
5240
|
+
]
|
|
5205
5241
|
}
|
|
5206
5242
|
]
|
|
5207
5243
|
]
|
|
@@ -5242,8 +5278,8 @@
|
|
|
5242
5278
|
"@payload.data",
|
|
5243
5279
|
{
|
|
5244
5280
|
"emit": {
|
|
5245
|
-
"
|
|
5246
|
-
"
|
|
5281
|
+
"success": "OrderRecordUpdated",
|
|
5282
|
+
"failure": "OrderRecordUpdateFailed"
|
|
5247
5283
|
}
|
|
5248
5284
|
}
|
|
5249
5285
|
],
|
|
@@ -5423,8 +5459,8 @@
|
|
|
5423
5459
|
"OrderRecord",
|
|
5424
5460
|
{
|
|
5425
5461
|
"emit": {
|
|
5426
|
-
"
|
|
5427
|
-
"
|
|
5462
|
+
"failure": "OrderRecordLoadFailed",
|
|
5463
|
+
"success": "OrderRecordLoaded"
|
|
5428
5464
|
}
|
|
5429
5465
|
}
|
|
5430
5466
|
]
|
|
@@ -5441,8 +5477,8 @@
|
|
|
5441
5477
|
{
|
|
5442
5478
|
"id": "@payload.id",
|
|
5443
5479
|
"emit": {
|
|
5444
|
-
"
|
|
5445
|
-
"
|
|
5480
|
+
"failure": "OrderRecordLoadFailed",
|
|
5481
|
+
"success": "OrderRecordLoaded"
|
|
5446
5482
|
}
|
|
5447
5483
|
}
|
|
5448
5484
|
],
|
|
@@ -5450,69 +5486,68 @@
|
|
|
5450
5486
|
"render-ui",
|
|
5451
5487
|
"modal",
|
|
5452
5488
|
{
|
|
5453
|
-
"type": "stack",
|
|
5454
|
-
"direction": "vertical",
|
|
5455
5489
|
"children": [
|
|
5456
5490
|
{
|
|
5457
|
-
"align": "center",
|
|
5458
5491
|
"type": "stack",
|
|
5459
|
-
"direction": "horizontal",
|
|
5460
|
-
"gap": "sm",
|
|
5461
5492
|
"children": [
|
|
5462
5493
|
{
|
|
5463
|
-
"
|
|
5464
|
-
"
|
|
5494
|
+
"name": "eye",
|
|
5495
|
+
"type": "icon"
|
|
5465
5496
|
},
|
|
5466
5497
|
{
|
|
5467
5498
|
"variant": "h3",
|
|
5468
5499
|
"content": "@entity.customerName",
|
|
5469
5500
|
"type": "typography"
|
|
5470
5501
|
}
|
|
5471
|
-
]
|
|
5502
|
+
],
|
|
5503
|
+
"gap": "sm",
|
|
5504
|
+
"align": "center",
|
|
5505
|
+
"direction": "horizontal"
|
|
5472
5506
|
},
|
|
5473
5507
|
{
|
|
5474
5508
|
"type": "divider"
|
|
5475
5509
|
},
|
|
5476
5510
|
{
|
|
5511
|
+
"direction": "horizontal",
|
|
5512
|
+
"gap": "md",
|
|
5477
5513
|
"children": [
|
|
5478
5514
|
{
|
|
5479
|
-
"type": "typography",
|
|
5480
5515
|
"content": "Customer Name",
|
|
5516
|
+
"type": "typography",
|
|
5481
5517
|
"variant": "caption"
|
|
5482
5518
|
},
|
|
5483
5519
|
{
|
|
5484
|
-
"variant": "body",
|
|
5485
5520
|
"content": "@entity.customerName",
|
|
5486
|
-
"type": "typography"
|
|
5521
|
+
"type": "typography",
|
|
5522
|
+
"variant": "body"
|
|
5487
5523
|
}
|
|
5488
5524
|
],
|
|
5489
|
-
"type": "stack"
|
|
5490
|
-
"gap": "md",
|
|
5491
|
-
"direction": "horizontal"
|
|
5525
|
+
"type": "stack"
|
|
5492
5526
|
},
|
|
5493
5527
|
{
|
|
5494
5528
|
"type": "stack",
|
|
5495
|
-
"direction": "horizontal",
|
|
5496
5529
|
"gap": "md",
|
|
5497
5530
|
"children": [
|
|
5498
5531
|
{
|
|
5532
|
+
"type": "typography",
|
|
5499
5533
|
"variant": "caption",
|
|
5500
|
-
"content": "Email"
|
|
5501
|
-
"type": "typography"
|
|
5534
|
+
"content": "Email"
|
|
5502
5535
|
},
|
|
5503
5536
|
{
|
|
5504
|
-
"variant": "body",
|
|
5505
5537
|
"type": "typography",
|
|
5538
|
+
"variant": "body",
|
|
5506
5539
|
"content": "@entity.email"
|
|
5507
5540
|
}
|
|
5508
|
-
]
|
|
5541
|
+
],
|
|
5542
|
+
"direction": "horizontal"
|
|
5509
5543
|
},
|
|
5510
5544
|
{
|
|
5545
|
+
"gap": "md",
|
|
5511
5546
|
"children": [
|
|
5512
5547
|
{
|
|
5513
5548
|
"type": "typography",
|
|
5514
|
-
"
|
|
5515
|
-
"
|
|
5549
|
+
"variant": "caption",
|
|
5550
|
+
"content": "Shipping Address"
|
|
5516
5551
|
},
|
|
5517
5552
|
{
|
|
5518
5553
|
"variant": "body",
|
|
@@ -5521,7 +5556,6 @@
|
|
|
5521
5556
|
}
|
|
5522
5557
|
],
|
|
5523
5558
|
"direction": "horizontal",
|
|
5524
|
-
"gap": "md",
|
|
5525
5559
|
"type": "stack"
|
|
5526
5560
|
},
|
|
5527
5561
|
{
|
|
@@ -5537,69 +5571,71 @@
|
|
|
5537
5571
|
"type": "typography"
|
|
5538
5572
|
}
|
|
5539
5573
|
],
|
|
5540
|
-
"direction": "horizontal",
|
|
5541
5574
|
"type": "stack",
|
|
5575
|
+
"direction": "horizontal",
|
|
5542
5576
|
"gap": "md"
|
|
5543
5577
|
},
|
|
5544
5578
|
{
|
|
5545
|
-
"direction": "horizontal",
|
|
5546
|
-
"gap": "md",
|
|
5547
5579
|
"children": [
|
|
5548
5580
|
{
|
|
5549
5581
|
"type": "typography",
|
|
5550
|
-
"
|
|
5551
|
-
"
|
|
5582
|
+
"variant": "caption",
|
|
5583
|
+
"content": "Order Total"
|
|
5552
5584
|
},
|
|
5553
5585
|
{
|
|
5554
5586
|
"type": "typography",
|
|
5555
|
-
"
|
|
5556
|
-
"
|
|
5587
|
+
"variant": "body",
|
|
5588
|
+
"content": "@entity.orderTotal"
|
|
5557
5589
|
}
|
|
5558
5590
|
],
|
|
5559
|
-
"
|
|
5591
|
+
"gap": "md",
|
|
5592
|
+
"type": "stack",
|
|
5593
|
+
"direction": "horizontal"
|
|
5560
5594
|
},
|
|
5561
5595
|
{
|
|
5562
|
-
"
|
|
5596
|
+
"gap": "md",
|
|
5563
5597
|
"children": [
|
|
5564
5598
|
{
|
|
5565
|
-
"
|
|
5599
|
+
"variant": "caption",
|
|
5566
5600
|
"type": "typography",
|
|
5567
|
-
"
|
|
5601
|
+
"content": "Status"
|
|
5568
5602
|
},
|
|
5569
5603
|
{
|
|
5570
|
-
"variant": "body",
|
|
5571
5604
|
"content": "@entity.status",
|
|
5605
|
+
"variant": "body",
|
|
5572
5606
|
"type": "typography"
|
|
5573
5607
|
}
|
|
5574
5608
|
],
|
|
5575
|
-
"
|
|
5576
|
-
"
|
|
5609
|
+
"direction": "horizontal",
|
|
5610
|
+
"type": "stack"
|
|
5577
5611
|
},
|
|
5578
5612
|
{
|
|
5579
5613
|
"type": "divider"
|
|
5580
5614
|
},
|
|
5581
5615
|
{
|
|
5616
|
+
"direction": "horizontal",
|
|
5617
|
+
"type": "stack",
|
|
5582
5618
|
"children": [
|
|
5583
5619
|
{
|
|
5584
|
-
"type": "button",
|
|
5585
|
-
"icon": "edit",
|
|
5586
5620
|
"variant": "primary",
|
|
5587
|
-
"
|
|
5588
|
-
"
|
|
5621
|
+
"icon": "edit",
|
|
5622
|
+
"type": "button",
|
|
5623
|
+
"action": "EDIT",
|
|
5624
|
+
"label": "Edit"
|
|
5589
5625
|
},
|
|
5590
5626
|
{
|
|
5591
5627
|
"label": "Close",
|
|
5592
|
-
"
|
|
5628
|
+
"type": "button",
|
|
5593
5629
|
"action": "CLOSE",
|
|
5594
|
-
"
|
|
5630
|
+
"variant": "ghost"
|
|
5595
5631
|
}
|
|
5596
5632
|
],
|
|
5597
|
-
"
|
|
5598
|
-
"
|
|
5599
|
-
"gap": "sm",
|
|
5600
|
-
"justify": "end"
|
|
5633
|
+
"justify": "end",
|
|
5634
|
+
"gap": "sm"
|
|
5601
5635
|
}
|
|
5602
5636
|
],
|
|
5637
|
+
"type": "stack",
|
|
5638
|
+
"direction": "vertical",
|
|
5603
5639
|
"gap": "md"
|
|
5604
5640
|
}
|
|
5605
5641
|
]
|
|
@@ -5855,25 +5891,23 @@
|
|
|
5855
5891
|
"modal",
|
|
5856
5892
|
{
|
|
5857
5893
|
"type": "stack",
|
|
5858
|
-
"direction": "vertical",
|
|
5859
|
-
"gap": "md",
|
|
5860
5894
|
"children": [
|
|
5861
5895
|
{
|
|
5862
|
-
"
|
|
5863
|
-
"type": "stack",
|
|
5896
|
+
"direction": "horizontal",
|
|
5864
5897
|
"gap": "sm",
|
|
5898
|
+
"type": "stack",
|
|
5899
|
+
"align": "center",
|
|
5865
5900
|
"children": [
|
|
5866
5901
|
{
|
|
5867
|
-
"
|
|
5868
|
-
"
|
|
5902
|
+
"name": "alert-triangle",
|
|
5903
|
+
"type": "icon"
|
|
5869
5904
|
},
|
|
5870
5905
|
{
|
|
5871
5906
|
"content": "Delete OrderRecord",
|
|
5872
|
-
"
|
|
5873
|
-
"
|
|
5907
|
+
"type": "typography",
|
|
5908
|
+
"variant": "h3"
|
|
5874
5909
|
}
|
|
5875
|
-
]
|
|
5876
|
-
"direction": "horizontal"
|
|
5910
|
+
]
|
|
5877
5911
|
},
|
|
5878
5912
|
{
|
|
5879
5913
|
"type": "divider"
|
|
@@ -5885,26 +5919,28 @@
|
|
|
5885
5919
|
},
|
|
5886
5920
|
{
|
|
5887
5921
|
"direction": "horizontal",
|
|
5922
|
+
"justify": "end",
|
|
5888
5923
|
"children": [
|
|
5889
5924
|
{
|
|
5890
|
-
"action": "CANCEL",
|
|
5891
5925
|
"variant": "ghost",
|
|
5926
|
+
"action": "CANCEL",
|
|
5892
5927
|
"type": "button",
|
|
5893
5928
|
"label": "Cancel"
|
|
5894
5929
|
},
|
|
5895
5930
|
{
|
|
5931
|
+
"action": "CONFIRM_DELETE",
|
|
5896
5932
|
"type": "button",
|
|
5897
5933
|
"variant": "danger",
|
|
5898
5934
|
"label": "Delete",
|
|
5899
|
-
"action": "CONFIRM_DELETE",
|
|
5900
5935
|
"icon": "check"
|
|
5901
5936
|
}
|
|
5902
5937
|
],
|
|
5903
|
-
"
|
|
5904
|
-
"type": "stack"
|
|
5905
|
-
"gap": "sm"
|
|
5938
|
+
"gap": "sm",
|
|
5939
|
+
"type": "stack"
|
|
5906
5940
|
}
|
|
5907
|
-
]
|
|
5941
|
+
],
|
|
5942
|
+
"direction": "vertical",
|
|
5943
|
+
"gap": "md"
|
|
5908
5944
|
}
|
|
5909
5945
|
]
|
|
5910
5946
|
]
|
|
@@ -5921,8 +5957,8 @@
|
|
|
5921
5957
|
"@entity.pendingId",
|
|
5922
5958
|
{
|
|
5923
5959
|
"emit": {
|
|
5924
|
-
"
|
|
5925
|
-
"
|
|
5960
|
+
"failure": "OrderRecordDeleteFailed",
|
|
5961
|
+
"success": "OrderRecordDeleted"
|
|
5926
5962
|
}
|
|
5927
5963
|
}
|
|
5928
5964
|
],
|
|
@@ -5943,8 +5979,8 @@
|
|
|
5943
5979
|
"OrderRecord",
|
|
5944
5980
|
{
|
|
5945
5981
|
"emit": {
|
|
5946
|
-
"
|
|
5947
|
-
"
|
|
5982
|
+
"failure": "OrderRecordLoadFailed",
|
|
5983
|
+
"success": "OrderRecordLoaded"
|
|
5948
5984
|
}
|
|
5949
5985
|
}
|
|
5950
5986
|
],
|