@almadar/std 14.15.1 → 14.17.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/app/atoms/std-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +72 -76
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +193 -65
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +48 -48
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
- package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +141 -141
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +157 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +72 -76
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +193 -65
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +48 -48
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +157 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors-registry.json +1 -1
- package/package.json +1 -1
|
@@ -69,32 +69,21 @@
|
|
|
69
69
|
"ref": "AppShell.traits.AppLayout",
|
|
70
70
|
"name": "ProductAppLayout",
|
|
71
71
|
"config": {
|
|
72
|
-
"notifications": [],
|
|
73
|
-
"notificationClickEvent": "PRODUCT_NOTIFICATIONS_OPEN",
|
|
74
|
-
"topBarActions": [
|
|
75
|
-
{
|
|
76
|
-
"icon": "shopping-cart",
|
|
77
|
-
"event": "CART_OPEN",
|
|
78
|
-
"label": "Cart"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"contentTrait": "@trait.ProductCatalog",
|
|
82
|
-
"appName": "EcommerceApp",
|
|
83
72
|
"navItems": [
|
|
84
73
|
{
|
|
85
|
-
"label": "Products",
|
|
86
74
|
"icon": "package",
|
|
75
|
+
"label": "Products",
|
|
87
76
|
"href": "/products"
|
|
88
77
|
},
|
|
89
78
|
{
|
|
90
|
-
"href": "/cart",
|
|
91
79
|
"label": "Cart",
|
|
80
|
+
"href": "/cart",
|
|
92
81
|
"icon": "shopping-cart"
|
|
93
82
|
},
|
|
94
83
|
{
|
|
95
|
-
"href": "/checkout",
|
|
96
84
|
"label": "Checkout",
|
|
97
|
-
"icon": "credit-card"
|
|
85
|
+
"icon": "credit-card",
|
|
86
|
+
"href": "/checkout"
|
|
98
87
|
},
|
|
99
88
|
{
|
|
100
89
|
"label": "Orders",
|
|
@@ -102,11 +91,22 @@
|
|
|
102
91
|
"href": "/orders"
|
|
103
92
|
}
|
|
104
93
|
],
|
|
105
|
-
"searchEvent": "PRODUCT_SEARCH"
|
|
94
|
+
"searchEvent": "PRODUCT_SEARCH",
|
|
95
|
+
"contentTrait": "@trait.ProductCatalog",
|
|
96
|
+
"appName": "EcommerceApp",
|
|
97
|
+
"topBarActions": [
|
|
98
|
+
{
|
|
99
|
+
"label": "Cart",
|
|
100
|
+
"icon": "shopping-cart",
|
|
101
|
+
"event": "CART_OPEN"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"notifications": [],
|
|
105
|
+
"notificationClickEvent": "PRODUCT_NOTIFICATIONS_OPEN"
|
|
106
106
|
},
|
|
107
107
|
"events": {
|
|
108
|
-
"
|
|
109
|
-
"
|
|
108
|
+
"NOTIFY_CLICK": "PRODUCT_NOTIFICATIONS_OPEN",
|
|
109
|
+
"SEARCH": "PRODUCT_SEARCH"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -189,54 +189,54 @@
|
|
|
189
189
|
"render-ui",
|
|
190
190
|
"main",
|
|
191
191
|
{
|
|
192
|
+
"direction": "vertical",
|
|
193
|
+
"gap": "lg",
|
|
192
194
|
"children": [
|
|
193
195
|
{
|
|
194
|
-
"gap": "md",
|
|
195
196
|
"type": "stack",
|
|
196
197
|
"direction": "horizontal",
|
|
197
198
|
"justify": "between",
|
|
198
|
-
"align": "center",
|
|
199
199
|
"children": [
|
|
200
200
|
{
|
|
201
|
-
"
|
|
201
|
+
"gap": "sm",
|
|
202
202
|
"type": "stack",
|
|
203
|
+
"align": "center",
|
|
203
204
|
"children": [
|
|
204
205
|
{
|
|
205
|
-
"
|
|
206
|
-
"
|
|
206
|
+
"name": "package",
|
|
207
|
+
"type": "icon"
|
|
207
208
|
},
|
|
208
209
|
{
|
|
210
|
+
"variant": "h2",
|
|
209
211
|
"type": "typography",
|
|
210
|
-
"content": "Products"
|
|
211
|
-
"variant": "h2"
|
|
212
|
+
"content": "Products"
|
|
212
213
|
}
|
|
213
214
|
],
|
|
214
|
-
"
|
|
215
|
-
"align": "center"
|
|
215
|
+
"direction": "horizontal"
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
|
-
"type": "stack",
|
|
219
218
|
"gap": "sm",
|
|
220
219
|
"direction": "horizontal",
|
|
221
220
|
"children": [
|
|
222
221
|
{
|
|
223
|
-
"variant": "primary",
|
|
224
222
|
"label": "Create Product",
|
|
223
|
+
"type": "button",
|
|
225
224
|
"action": "CREATE",
|
|
226
225
|
"icon": "plus",
|
|
227
|
-
"
|
|
226
|
+
"variant": "primary"
|
|
228
227
|
}
|
|
229
|
-
]
|
|
228
|
+
],
|
|
229
|
+
"type": "stack"
|
|
230
230
|
}
|
|
231
|
-
]
|
|
231
|
+
],
|
|
232
|
+
"gap": "md",
|
|
233
|
+
"align": "center"
|
|
232
234
|
},
|
|
233
235
|
{
|
|
234
236
|
"type": "divider"
|
|
235
237
|
},
|
|
236
238
|
"@trait.ProductBrowseList"
|
|
237
239
|
],
|
|
238
|
-
"gap": "lg",
|
|
239
|
-
"direction": "vertical",
|
|
240
240
|
"type": "stack"
|
|
241
241
|
}
|
|
242
242
|
]
|
|
@@ -257,6 +257,7 @@
|
|
|
257
257
|
"main",
|
|
258
258
|
{
|
|
259
259
|
"align": "center",
|
|
260
|
+
"direction": "vertical",
|
|
260
261
|
"className": "py-8",
|
|
261
262
|
"gap": "md",
|
|
262
263
|
"children": [
|
|
@@ -265,25 +266,24 @@
|
|
|
265
266
|
"type": "icon"
|
|
266
267
|
},
|
|
267
268
|
{
|
|
268
|
-
"
|
|
269
|
+
"type": "typography",
|
|
269
270
|
"content": "No notifications",
|
|
270
|
-
"
|
|
271
|
+
"variant": "h3"
|
|
271
272
|
},
|
|
272
273
|
{
|
|
274
|
+
"type": "typography",
|
|
273
275
|
"content": "You're all caught up.",
|
|
274
|
-
"variant": "caption",
|
|
275
276
|
"color": "muted",
|
|
276
|
-
"
|
|
277
|
+
"variant": "caption"
|
|
277
278
|
},
|
|
278
279
|
{
|
|
279
|
-
"type": "button",
|
|
280
280
|
"variant": "ghost",
|
|
281
|
+
"action": "INIT",
|
|
281
282
|
"label": "Back to products",
|
|
282
|
-
"
|
|
283
|
+
"type": "button"
|
|
283
284
|
}
|
|
284
285
|
],
|
|
285
|
-
"type": "stack"
|
|
286
|
-
"direction": "vertical"
|
|
286
|
+
"type": "stack"
|
|
287
287
|
}
|
|
288
288
|
]
|
|
289
289
|
]
|
|
@@ -297,15 +297,17 @@
|
|
|
297
297
|
"name": "ProductBrowseList",
|
|
298
298
|
"linkedEntity": "Product",
|
|
299
299
|
"config": {
|
|
300
|
+
"gap": "md",
|
|
301
|
+
"cols": 3.0,
|
|
300
302
|
"fields": [
|
|
301
303
|
{
|
|
302
|
-
"
|
|
304
|
+
"icon": "package",
|
|
303
305
|
"name": "name",
|
|
304
|
-
"
|
|
306
|
+
"variant": "h3"
|
|
305
307
|
},
|
|
306
308
|
{
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
+
"name": "category",
|
|
310
|
+
"variant": "badge"
|
|
309
311
|
},
|
|
310
312
|
{
|
|
311
313
|
"name": "price",
|
|
@@ -313,23 +315,21 @@
|
|
|
313
315
|
"format": "currency"
|
|
314
316
|
},
|
|
315
317
|
{
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
+
"variant": "caption",
|
|
319
|
+
"name": "sku"
|
|
318
320
|
},
|
|
319
321
|
{
|
|
322
|
+
"format": "boolean",
|
|
320
323
|
"label": "In Stock",
|
|
321
|
-
"variant": "body",
|
|
322
324
|
"name": "inStock",
|
|
323
|
-
"
|
|
325
|
+
"variant": "body"
|
|
324
326
|
}
|
|
325
327
|
],
|
|
326
|
-
"imageField": "imageUrl",
|
|
327
|
-
"gap": "md",
|
|
328
328
|
"itemActions": [
|
|
329
329
|
{
|
|
330
|
+
"label": "View",
|
|
330
331
|
"event": "VIEW",
|
|
331
|
-
"variant": "ghost"
|
|
332
|
-
"label": "View"
|
|
332
|
+
"variant": "ghost"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"event": "EDIT",
|
|
@@ -337,12 +337,12 @@
|
|
|
337
337
|
"label": "Edit"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
|
-
"
|
|
340
|
+
"event": "DELETE",
|
|
341
341
|
"label": "Delete",
|
|
342
|
-
"
|
|
342
|
+
"variant": "danger"
|
|
343
343
|
}
|
|
344
344
|
],
|
|
345
|
-
"
|
|
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
|
+
"success": "ProductLoaded",
|
|
549
|
+
"failure": "ProductLoadFailed"
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
]
|
|
@@ -576,26 +576,26 @@
|
|
|
576
576
|
"type": "stack",
|
|
577
577
|
"children": [
|
|
578
578
|
{
|
|
579
|
-
"gap": "sm",
|
|
580
|
-
"direction": "horizontal",
|
|
581
579
|
"children": [
|
|
582
580
|
{
|
|
583
|
-
"
|
|
584
|
-
"
|
|
581
|
+
"type": "icon",
|
|
582
|
+
"name": "plus-circle"
|
|
585
583
|
},
|
|
586
584
|
{
|
|
587
585
|
"variant": "h3",
|
|
588
|
-
"
|
|
589
|
-
"
|
|
586
|
+
"content": "Create Product",
|
|
587
|
+
"type": "typography"
|
|
590
588
|
}
|
|
591
589
|
],
|
|
590
|
+
"direction": "horizontal",
|
|
591
|
+
"gap": "sm",
|
|
592
592
|
"type": "stack"
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
595
|
"type": "divider"
|
|
596
596
|
},
|
|
597
597
|
{
|
|
598
|
-
"
|
|
598
|
+
"type": "form-section",
|
|
599
599
|
"cancelEvent": "CLOSE",
|
|
600
600
|
"fields": [
|
|
601
601
|
"name",
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"inStock"
|
|
607
607
|
],
|
|
608
608
|
"mode": "create",
|
|
609
|
-
"
|
|
609
|
+
"submitEvent": "SAVE"
|
|
610
610
|
}
|
|
611
611
|
]
|
|
612
612
|
}
|
|
@@ -649,8 +649,8 @@
|
|
|
649
649
|
"@payload.data",
|
|
650
650
|
{
|
|
651
651
|
"emit": {
|
|
652
|
-
"
|
|
653
|
-
"
|
|
652
|
+
"failure": "ProductSaveFailed",
|
|
653
|
+
"success": "ProductSaved"
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
],
|
|
@@ -887,8 +887,8 @@
|
|
|
887
887
|
{
|
|
888
888
|
"id": "@payload.id",
|
|
889
889
|
"emit": {
|
|
890
|
-
"
|
|
891
|
-
"
|
|
890
|
+
"success": "ProductLoaded",
|
|
891
|
+
"failure": "ProductLoadFailed"
|
|
892
892
|
}
|
|
893
893
|
}
|
|
894
894
|
],
|
|
@@ -896,22 +896,20 @@
|
|
|
896
896
|
"render-ui",
|
|
897
897
|
"modal",
|
|
898
898
|
{
|
|
899
|
-
"gap": "md",
|
|
900
|
-
"direction": "vertical",
|
|
901
899
|
"children": [
|
|
902
900
|
{
|
|
903
901
|
"direction": "horizontal",
|
|
904
|
-
"gap": "sm",
|
|
905
902
|
"type": "stack",
|
|
903
|
+
"gap": "sm",
|
|
906
904
|
"children": [
|
|
907
905
|
{
|
|
908
|
-
"
|
|
909
|
-
"
|
|
906
|
+
"type": "icon",
|
|
907
|
+
"name": "edit"
|
|
910
908
|
},
|
|
911
909
|
{
|
|
912
|
-
"
|
|
910
|
+
"variant": "h3",
|
|
913
911
|
"content": "Edit Product",
|
|
914
|
-
"
|
|
912
|
+
"type": "typography"
|
|
915
913
|
}
|
|
916
914
|
]
|
|
917
915
|
},
|
|
@@ -919,7 +917,6 @@
|
|
|
919
917
|
"type": "divider"
|
|
920
918
|
},
|
|
921
919
|
{
|
|
922
|
-
"submitEvent": "SAVE",
|
|
923
920
|
"cancelEvent": "CLOSE",
|
|
924
921
|
"fields": [
|
|
925
922
|
"name",
|
|
@@ -929,11 +926,14 @@
|
|
|
929
926
|
"sku",
|
|
930
927
|
"inStock"
|
|
931
928
|
],
|
|
932
|
-
"
|
|
929
|
+
"mode": "edit",
|
|
930
|
+
"submitEvent": "SAVE",
|
|
933
931
|
"entity": "@payload.row",
|
|
934
|
-
"
|
|
932
|
+
"type": "form-section"
|
|
935
933
|
}
|
|
936
934
|
],
|
|
935
|
+
"gap": "md",
|
|
936
|
+
"direction": "vertical",
|
|
937
937
|
"type": "stack"
|
|
938
938
|
}
|
|
939
939
|
]
|
|
@@ -975,8 +975,8 @@
|
|
|
975
975
|
"@payload.data",
|
|
976
976
|
{
|
|
977
977
|
"emit": {
|
|
978
|
-
"
|
|
979
|
-
"
|
|
978
|
+
"success": "ProductUpdated",
|
|
979
|
+
"failure": "ProductUpdateFailed"
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
],
|
|
@@ -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
|
]
|
|
@@ -1191,10 +1191,10 @@
|
|
|
1191
1191
|
"render-ui",
|
|
1192
1192
|
"modal",
|
|
1193
1193
|
{
|
|
1194
|
-
"
|
|
1194
|
+
"type": "stack",
|
|
1195
|
+
"direction": "vertical",
|
|
1195
1196
|
"children": [
|
|
1196
1197
|
{
|
|
1197
|
-
"gap": "sm",
|
|
1198
1198
|
"children": [
|
|
1199
1199
|
{
|
|
1200
1200
|
"type": "icon",
|
|
@@ -1206,14 +1206,17 @@
|
|
|
1206
1206
|
"content": "@entity.name"
|
|
1207
1207
|
}
|
|
1208
1208
|
],
|
|
1209
|
-
"align": "center",
|
|
1210
1209
|
"direction": "horizontal",
|
|
1211
|
-
"type": "stack"
|
|
1210
|
+
"type": "stack",
|
|
1211
|
+
"gap": "sm",
|
|
1212
|
+
"align": "center"
|
|
1212
1213
|
},
|
|
1213
1214
|
{
|
|
1214
1215
|
"type": "divider"
|
|
1215
1216
|
},
|
|
1216
1217
|
{
|
|
1218
|
+
"gap": "md",
|
|
1219
|
+
"direction": "horizontal",
|
|
1217
1220
|
"type": "stack",
|
|
1218
1221
|
"children": [
|
|
1219
1222
|
{
|
|
@@ -1226,48 +1229,44 @@
|
|
|
1226
1229
|
"variant": "body",
|
|
1227
1230
|
"content": "@entity.name"
|
|
1228
1231
|
}
|
|
1229
|
-
]
|
|
1230
|
-
"direction": "horizontal",
|
|
1231
|
-
"gap": "md"
|
|
1232
|
+
]
|
|
1232
1233
|
},
|
|
1233
1234
|
{
|
|
1234
|
-
"direction": "horizontal",
|
|
1235
1235
|
"gap": "md",
|
|
1236
1236
|
"children": [
|
|
1237
1237
|
{
|
|
1238
|
-
"
|
|
1238
|
+
"content": "Description",
|
|
1239
1239
|
"type": "typography",
|
|
1240
|
-
"
|
|
1240
|
+
"variant": "caption"
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
|
+
"variant": "body",
|
|
1243
1244
|
"content": "@entity.description",
|
|
1244
|
-
"type": "typography"
|
|
1245
|
-
"variant": "body"
|
|
1245
|
+
"type": "typography"
|
|
1246
1246
|
}
|
|
1247
1247
|
],
|
|
1248
|
-
"type": "stack"
|
|
1248
|
+
"type": "stack",
|
|
1249
|
+
"direction": "horizontal"
|
|
1249
1250
|
},
|
|
1250
1251
|
{
|
|
1251
|
-
"gap": "md",
|
|
1252
|
-
"type": "stack",
|
|
1253
|
-
"direction": "horizontal",
|
|
1254
1252
|
"children": [
|
|
1255
1253
|
{
|
|
1256
|
-
"variant": "caption",
|
|
1257
1254
|
"content": "Price",
|
|
1255
|
+
"variant": "caption",
|
|
1258
1256
|
"type": "typography"
|
|
1259
1257
|
},
|
|
1260
1258
|
{
|
|
1261
|
-
"type": "typography",
|
|
1262
1259
|
"variant": "body",
|
|
1263
|
-
"content": "@entity.price"
|
|
1260
|
+
"content": "@entity.price",
|
|
1261
|
+
"type": "typography"
|
|
1264
1262
|
}
|
|
1265
|
-
]
|
|
1263
|
+
],
|
|
1264
|
+
"type": "stack",
|
|
1265
|
+
"direction": "horizontal",
|
|
1266
|
+
"gap": "md"
|
|
1266
1267
|
},
|
|
1267
1268
|
{
|
|
1268
|
-
"type": "stack",
|
|
1269
1269
|
"direction": "horizontal",
|
|
1270
|
-
"gap": "md",
|
|
1271
1270
|
"children": [
|
|
1272
1271
|
{
|
|
1273
1272
|
"type": "typography",
|
|
@@ -1275,13 +1274,16 @@
|
|
|
1275
1274
|
"content": "Category"
|
|
1276
1275
|
},
|
|
1277
1276
|
{
|
|
1278
|
-
"variant": "body",
|
|
1279
1277
|
"type": "typography",
|
|
1278
|
+
"variant": "body",
|
|
1280
1279
|
"content": "@entity.category"
|
|
1281
1280
|
}
|
|
1282
|
-
]
|
|
1281
|
+
],
|
|
1282
|
+
"gap": "md",
|
|
1283
|
+
"type": "stack"
|
|
1283
1284
|
},
|
|
1284
1285
|
{
|
|
1286
|
+
"gap": "md",
|
|
1285
1287
|
"children": [
|
|
1286
1288
|
{
|
|
1287
1289
|
"variant": "caption",
|
|
@@ -1295,23 +1297,22 @@
|
|
|
1295
1297
|
}
|
|
1296
1298
|
],
|
|
1297
1299
|
"type": "stack",
|
|
1298
|
-
"gap": "md",
|
|
1299
1300
|
"direction": "horizontal"
|
|
1300
1301
|
},
|
|
1301
1302
|
{
|
|
1302
1303
|
"direction": "horizontal",
|
|
1303
|
-
"type": "stack",
|
|
1304
1304
|
"gap": "md",
|
|
1305
|
+
"type": "stack",
|
|
1305
1306
|
"children": [
|
|
1306
1307
|
{
|
|
1308
|
+
"content": "In Stock",
|
|
1307
1309
|
"type": "typography",
|
|
1308
|
-
"variant": "caption"
|
|
1309
|
-
"content": "In Stock"
|
|
1310
|
+
"variant": "caption"
|
|
1310
1311
|
},
|
|
1311
1312
|
{
|
|
1312
|
-
"type": "typography",
|
|
1313
1313
|
"variant": "body",
|
|
1314
|
-
"content": "@entity.inStock"
|
|
1314
|
+
"content": "@entity.inStock",
|
|
1315
|
+
"type": "typography"
|
|
1315
1316
|
}
|
|
1316
1317
|
]
|
|
1317
1318
|
},
|
|
@@ -1319,29 +1320,28 @@
|
|
|
1319
1320
|
"type": "divider"
|
|
1320
1321
|
},
|
|
1321
1322
|
{
|
|
1322
|
-
"direction": "horizontal",
|
|
1323
1323
|
"justify": "end",
|
|
1324
|
+
"direction": "horizontal",
|
|
1324
1325
|
"type": "stack",
|
|
1325
1326
|
"gap": "sm",
|
|
1326
1327
|
"children": [
|
|
1327
1328
|
{
|
|
1328
|
-
"type": "button",
|
|
1329
|
-
"icon": "edit",
|
|
1330
1329
|
"action": "EDIT",
|
|
1330
|
+
"label": "Edit",
|
|
1331
|
+
"type": "button",
|
|
1331
1332
|
"variant": "primary",
|
|
1332
|
-
"
|
|
1333
|
+
"icon": "edit"
|
|
1333
1334
|
},
|
|
1334
1335
|
{
|
|
1335
|
-
"action": "CLOSE",
|
|
1336
1336
|
"label": "Close",
|
|
1337
|
+
"action": "CLOSE",
|
|
1337
1338
|
"variant": "ghost",
|
|
1338
1339
|
"type": "button"
|
|
1339
1340
|
}
|
|
1340
1341
|
]
|
|
1341
1342
|
}
|
|
1342
1343
|
],
|
|
1343
|
-
"
|
|
1344
|
-
"direction": "vertical"
|
|
1344
|
+
"gap": "md"
|
|
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
|
]
|
|
@@ -1594,8 +1594,8 @@
|
|
|
1594
1594
|
{
|
|
1595
1595
|
"id": "@payload.id",
|
|
1596
1596
|
"emit": {
|
|
1597
|
-
"
|
|
1598
|
-
"
|
|
1597
|
+
"failure": "ProductLoadFailed",
|
|
1598
|
+
"success": "ProductLoaded"
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
1601
|
],
|
|
@@ -1603,23 +1603,26 @@
|
|
|
1603
1603
|
"render-ui",
|
|
1604
1604
|
"modal",
|
|
1605
1605
|
{
|
|
1606
|
+
"type": "stack",
|
|
1607
|
+
"direction": "vertical",
|
|
1608
|
+
"gap": "md",
|
|
1606
1609
|
"children": [
|
|
1607
1610
|
{
|
|
1608
|
-
"align": "center",
|
|
1609
|
-
"type": "stack",
|
|
1610
1611
|
"gap": "sm",
|
|
1611
1612
|
"direction": "horizontal",
|
|
1612
1613
|
"children": [
|
|
1613
1614
|
{
|
|
1614
|
-
"
|
|
1615
|
-
"
|
|
1615
|
+
"type": "icon",
|
|
1616
|
+
"name": "alert-triangle"
|
|
1616
1617
|
},
|
|
1617
1618
|
{
|
|
1618
|
-
"content": "Delete Product",
|
|
1619
1619
|
"type": "typography",
|
|
1620
|
+
"content": "Delete Product",
|
|
1620
1621
|
"variant": "h3"
|
|
1621
1622
|
}
|
|
1622
|
-
]
|
|
1623
|
+
],
|
|
1624
|
+
"align": "center",
|
|
1625
|
+
"type": "stack"
|
|
1623
1626
|
},
|
|
1624
1627
|
{
|
|
1625
1628
|
"type": "divider"
|
|
@@ -1630,30 +1633,27 @@
|
|
|
1630
1633
|
"type": "alert"
|
|
1631
1634
|
},
|
|
1632
1635
|
{
|
|
1633
|
-
"justify": "end",
|
|
1634
|
-
"type": "stack",
|
|
1635
1636
|
"children": [
|
|
1636
1637
|
{
|
|
1637
|
-
"label": "Cancel",
|
|
1638
1638
|
"type": "button",
|
|
1639
|
+
"label": "Cancel",
|
|
1639
1640
|
"variant": "ghost",
|
|
1640
1641
|
"action": "CANCEL"
|
|
1641
1642
|
},
|
|
1642
1643
|
{
|
|
1643
|
-
"
|
|
1644
|
-
"label": "Delete",
|
|
1645
|
-
"variant": "danger",
|
|
1644
|
+
"icon": "check",
|
|
1646
1645
|
"action": "CONFIRM_DELETE",
|
|
1647
|
-
"
|
|
1646
|
+
"variant": "danger",
|
|
1647
|
+
"label": "Delete",
|
|
1648
|
+
"type": "button"
|
|
1648
1649
|
}
|
|
1649
1650
|
],
|
|
1650
|
-
"
|
|
1651
|
-
"gap": "sm"
|
|
1651
|
+
"type": "stack",
|
|
1652
|
+
"gap": "sm",
|
|
1653
|
+
"justify": "end",
|
|
1654
|
+
"direction": "horizontal"
|
|
1652
1655
|
}
|
|
1653
|
-
]
|
|
1654
|
-
"type": "stack",
|
|
1655
|
-
"direction": "vertical",
|
|
1656
|
-
"gap": "md"
|
|
1656
|
+
]
|
|
1657
1657
|
}
|
|
1658
1658
|
]
|
|
1659
1659
|
]
|
|
@@ -1670,8 +1670,8 @@
|
|
|
1670
1670
|
"@entity.pendingId",
|
|
1671
1671
|
{
|
|
1672
1672
|
"emit": {
|
|
1673
|
-
"
|
|
1674
|
-
"
|
|
1673
|
+
"failure": "ProductDeleteFailed",
|
|
1674
|
+
"success": "ProductDeleted"
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
1677
|
],
|
|
@@ -2002,22 +2002,22 @@
|
|
|
2002
2002
|
"render-ui",
|
|
2003
2003
|
"main",
|
|
2004
2004
|
{
|
|
2005
|
+
"align": "center",
|
|
2006
|
+
"gap": "md",
|
|
2007
|
+
"className": "py-12",
|
|
2005
2008
|
"children": [
|
|
2006
2009
|
{
|
|
2007
2010
|
"type": "spinner"
|
|
2008
2011
|
},
|
|
2009
2012
|
{
|
|
2010
|
-
"type": "typography",
|
|
2011
|
-
"color": "muted",
|
|
2012
2013
|
"content": "Loading…",
|
|
2013
|
-
"
|
|
2014
|
+
"type": "typography",
|
|
2015
|
+
"variant": "caption",
|
|
2016
|
+
"color": "muted"
|
|
2014
2017
|
}
|
|
2015
2018
|
],
|
|
2016
|
-
"
|
|
2017
|
-
"
|
|
2018
|
-
"className": "py-12",
|
|
2019
|
-
"gap": "md",
|
|
2020
|
-
"type": "stack"
|
|
2019
|
+
"type": "stack",
|
|
2020
|
+
"direction": "vertical"
|
|
2021
2021
|
}
|
|
2022
2022
|
]
|
|
2023
2023
|
]
|
|
@@ -2032,40 +2032,43 @@
|
|
|
2032
2032
|
"main",
|
|
2033
2033
|
{
|
|
2034
2034
|
"appName": "EcommerceApp",
|
|
2035
|
-
"type": "dashboard-layout",
|
|
2036
2035
|
"navItems": [
|
|
2037
2036
|
{
|
|
2038
2037
|
"href": "/products",
|
|
2039
|
-
"
|
|
2040
|
-
"
|
|
2038
|
+
"icon": "package",
|
|
2039
|
+
"label": "Products"
|
|
2041
2040
|
},
|
|
2042
2041
|
{
|
|
2043
2042
|
"label": "Cart",
|
|
2044
|
-
"
|
|
2045
|
-
"
|
|
2043
|
+
"href": "/cart",
|
|
2044
|
+
"icon": "shopping-cart"
|
|
2046
2045
|
},
|
|
2047
2046
|
{
|
|
2048
2047
|
"href": "/checkout",
|
|
2049
|
-
"
|
|
2050
|
-
"
|
|
2048
|
+
"label": "Checkout",
|
|
2049
|
+
"icon": "credit-card"
|
|
2051
2050
|
},
|
|
2052
2051
|
{
|
|
2053
|
-
"icon": "clipboard-list",
|
|
2054
2052
|
"label": "Orders",
|
|
2055
|
-
"href": "/orders"
|
|
2053
|
+
"href": "/orders",
|
|
2054
|
+
"icon": "clipboard-list"
|
|
2056
2055
|
}
|
|
2057
2056
|
],
|
|
2057
|
+
"type": "dashboard-layout",
|
|
2058
2058
|
"children": [
|
|
2059
2059
|
{
|
|
2060
|
-
"gap": "lg",
|
|
2061
|
-
"type": "stack",
|
|
2062
2060
|
"direction": "vertical",
|
|
2061
|
+
"type": "stack",
|
|
2062
|
+
"gap": "lg",
|
|
2063
2063
|
"children": [
|
|
2064
2064
|
{
|
|
2065
|
+
"justify": "between",
|
|
2066
|
+
"direction": "horizontal",
|
|
2067
|
+
"type": "stack",
|
|
2065
2068
|
"children": [
|
|
2066
2069
|
{
|
|
2067
|
-
"direction": "horizontal",
|
|
2068
2070
|
"type": "stack",
|
|
2071
|
+
"direction": "horizontal",
|
|
2069
2072
|
"gap": "md",
|
|
2070
2073
|
"children": [
|
|
2071
2074
|
{
|
|
@@ -2074,90 +2077,87 @@
|
|
|
2074
2077
|
},
|
|
2075
2078
|
{
|
|
2076
2079
|
"variant": "h2",
|
|
2077
|
-
"
|
|
2078
|
-
"
|
|
2080
|
+
"content": "Shopping Cart",
|
|
2081
|
+
"type": "typography"
|
|
2079
2082
|
}
|
|
2080
2083
|
]
|
|
2081
2084
|
},
|
|
2082
2085
|
{
|
|
2083
2086
|
"action": "ADD_ITEM",
|
|
2084
|
-
"variant": "primary",
|
|
2085
|
-
"type": "button",
|
|
2086
2087
|
"label": "Add Item",
|
|
2088
|
+
"type": "button",
|
|
2089
|
+
"variant": "primary",
|
|
2087
2090
|
"icon": "plus"
|
|
2088
2091
|
}
|
|
2089
2092
|
],
|
|
2090
|
-
"
|
|
2091
|
-
"type": "stack",
|
|
2092
|
-
"gap": "md",
|
|
2093
|
-
"justify": "between"
|
|
2093
|
+
"gap": "md"
|
|
2094
2094
|
},
|
|
2095
2095
|
{
|
|
2096
2096
|
"type": "divider"
|
|
2097
2097
|
},
|
|
2098
2098
|
{
|
|
2099
2099
|
"type": "simple-grid",
|
|
2100
|
-
"cols": 3.0,
|
|
2101
2100
|
"children": [
|
|
2102
2101
|
{
|
|
2103
|
-
"type": "stat-display",
|
|
2104
2102
|
"label": "Items",
|
|
2103
|
+
"type": "stat-display",
|
|
2105
2104
|
"value": "@payload.data.length",
|
|
2106
2105
|
"icon": "package"
|
|
2107
2106
|
},
|
|
2108
2107
|
{
|
|
2109
|
-
"icon": "dollar-sign",
|
|
2110
2108
|
"label": "Subtotal",
|
|
2111
|
-
"
|
|
2112
|
-
"value": "@payload.data.length"
|
|
2109
|
+
"icon": "dollar-sign",
|
|
2110
|
+
"value": "@payload.data.length",
|
|
2111
|
+
"type": "stat-display"
|
|
2113
2112
|
},
|
|
2114
2113
|
{
|
|
2115
2114
|
"label": "Total",
|
|
2116
|
-
"
|
|
2115
|
+
"icon": "receipt",
|
|
2117
2116
|
"value": "@payload.data.length",
|
|
2118
|
-
"
|
|
2117
|
+
"type": "stat-display"
|
|
2119
2118
|
}
|
|
2120
|
-
]
|
|
2119
|
+
],
|
|
2120
|
+
"cols": 3.0
|
|
2121
2121
|
},
|
|
2122
2122
|
{
|
|
2123
2123
|
"type": "divider"
|
|
2124
2124
|
},
|
|
2125
2125
|
{
|
|
2126
|
-
"itemActions": [
|
|
2127
|
-
{
|
|
2128
|
-
"label": "Remove",
|
|
2129
|
-
"event": "REQUEST_REMOVE",
|
|
2130
|
-
"variant": "danger"
|
|
2131
|
-
}
|
|
2132
|
-
],
|
|
2133
|
-
"entity": "@payload.data",
|
|
2134
2126
|
"type": "data-grid",
|
|
2135
2127
|
"fields": [
|
|
2136
2128
|
{
|
|
2137
|
-
"name": "productName",
|
|
2138
2129
|
"label": "Product Name",
|
|
2139
|
-
"
|
|
2140
|
-
"
|
|
2130
|
+
"variant": "h4",
|
|
2131
|
+
"name": "productName",
|
|
2132
|
+
"icon": "shopping-cart"
|
|
2141
2133
|
},
|
|
2142
2134
|
{
|
|
2143
|
-
"format": "currency",
|
|
2144
|
-
"name": "quantity",
|
|
2145
2135
|
"variant": "caption",
|
|
2146
|
-
"label": "Quantity"
|
|
2136
|
+
"label": "Quantity",
|
|
2137
|
+
"name": "quantity",
|
|
2138
|
+
"format": "currency"
|
|
2147
2139
|
},
|
|
2148
2140
|
{
|
|
2149
|
-
"
|
|
2141
|
+
"variant": "badge",
|
|
2150
2142
|
"label": "Unit Price",
|
|
2151
|
-
"
|
|
2143
|
+
"name": "unitPrice"
|
|
2152
2144
|
}
|
|
2153
|
-
]
|
|
2145
|
+
],
|
|
2146
|
+
"itemActions": [
|
|
2147
|
+
{
|
|
2148
|
+
"event": "REQUEST_REMOVE",
|
|
2149
|
+
"variant": "danger",
|
|
2150
|
+
"label": "Remove"
|
|
2151
|
+
}
|
|
2152
|
+
],
|
|
2153
|
+
"entity": "@payload.data"
|
|
2154
2154
|
},
|
|
2155
2155
|
{
|
|
2156
|
-
"variant": "primary",
|
|
2157
|
-
"action": "PROCEED_CHECKOUT",
|
|
2158
|
-
"icon": "arrow-right",
|
|
2159
2156
|
"label": "Proceed to Checkout",
|
|
2160
|
-
"
|
|
2157
|
+
"icon": "arrow-right",
|
|
2158
|
+
"variant": "primary",
|
|
2159
|
+
"type": "button",
|
|
2160
|
+
"action": "PROCEED_CHECKOUT"
|
|
2161
2161
|
}
|
|
2162
2162
|
]
|
|
2163
2163
|
}
|
|
@@ -2175,36 +2175,36 @@
|
|
|
2175
2175
|
"render-ui",
|
|
2176
2176
|
"main",
|
|
2177
2177
|
{
|
|
2178
|
-
"direction": "vertical",
|
|
2179
|
-
"align": "center",
|
|
2180
2178
|
"className": "py-12",
|
|
2181
|
-
"
|
|
2179
|
+
"direction": "vertical",
|
|
2182
2180
|
"gap": "md",
|
|
2183
2181
|
"children": [
|
|
2184
2182
|
{
|
|
2183
|
+
"name": "alert-triangle",
|
|
2185
2184
|
"type": "icon",
|
|
2186
|
-
"color": "destructive"
|
|
2187
|
-
"name": "alert-triangle"
|
|
2185
|
+
"color": "destructive"
|
|
2188
2186
|
},
|
|
2189
2187
|
{
|
|
2190
2188
|
"content": "Failed to load cartitem",
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
2189
|
+
"variant": "h3",
|
|
2190
|
+
"type": "typography"
|
|
2193
2191
|
},
|
|
2194
2192
|
{
|
|
2195
|
-
"content": "@payload.error",
|
|
2196
|
-
"variant": "body",
|
|
2197
2193
|
"type": "typography",
|
|
2198
|
-
"
|
|
2194
|
+
"variant": "body",
|
|
2195
|
+
"color": "muted",
|
|
2196
|
+
"content": "@payload.error"
|
|
2199
2197
|
},
|
|
2200
2198
|
{
|
|
2199
|
+
"icon": "rotate-ccw",
|
|
2201
2200
|
"type": "button",
|
|
2202
2201
|
"label": "Retry",
|
|
2203
|
-
"
|
|
2204
|
-
"
|
|
2205
|
-
"variant": "primary"
|
|
2202
|
+
"variant": "primary",
|
|
2203
|
+
"action": "INIT"
|
|
2206
2204
|
}
|
|
2207
|
-
]
|
|
2205
|
+
],
|
|
2206
|
+
"type": "stack",
|
|
2207
|
+
"align": "center"
|
|
2208
2208
|
}
|
|
2209
2209
|
]
|
|
2210
2210
|
]
|
|
@@ -2219,8 +2219,8 @@
|
|
|
2219
2219
|
"CartItem",
|
|
2220
2220
|
{
|
|
2221
2221
|
"emit": {
|
|
2222
|
-
"
|
|
2223
|
-
"
|
|
2222
|
+
"failure": "CartItemLoadFailed",
|
|
2223
|
+
"success": "CartItemLoaded"
|
|
2224
2224
|
}
|
|
2225
2225
|
}
|
|
2226
2226
|
],
|
|
@@ -2228,8 +2228,9 @@
|
|
|
2228
2228
|
"render-ui",
|
|
2229
2229
|
"main",
|
|
2230
2230
|
{
|
|
2231
|
-
"type": "stack",
|
|
2232
2231
|
"gap": "md",
|
|
2232
|
+
"direction": "vertical",
|
|
2233
|
+
"type": "stack",
|
|
2233
2234
|
"align": "center",
|
|
2234
2235
|
"className": "py-12",
|
|
2235
2236
|
"children": [
|
|
@@ -2238,12 +2239,11 @@
|
|
|
2238
2239
|
},
|
|
2239
2240
|
{
|
|
2240
2241
|
"type": "typography",
|
|
2241
|
-
"variant": "caption",
|
|
2242
2242
|
"content": "Preparing checkout…",
|
|
2243
|
-
"color": "muted"
|
|
2243
|
+
"color": "muted",
|
|
2244
|
+
"variant": "caption"
|
|
2244
2245
|
}
|
|
2245
|
-
]
|
|
2246
|
-
"direction": "vertical"
|
|
2246
|
+
]
|
|
2247
2247
|
}
|
|
2248
2248
|
]
|
|
2249
2249
|
]
|
|
@@ -2257,36 +2257,12 @@
|
|
|
2257
2257
|
"render-ui",
|
|
2258
2258
|
"main",
|
|
2259
2259
|
{
|
|
2260
|
-
"type": "dashboard-layout",
|
|
2261
|
-
"navItems": [
|
|
2262
|
-
{
|
|
2263
|
-
"icon": "package",
|
|
2264
|
-
"label": "Products",
|
|
2265
|
-
"href": "/products"
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
"label": "Cart",
|
|
2269
|
-
"href": "/cart",
|
|
2270
|
-
"icon": "shopping-cart"
|
|
2271
|
-
},
|
|
2272
|
-
{
|
|
2273
|
-
"label": "Checkout",
|
|
2274
|
-
"href": "/checkout",
|
|
2275
|
-
"icon": "credit-card"
|
|
2276
|
-
},
|
|
2277
|
-
{
|
|
2278
|
-
"icon": "clipboard-list",
|
|
2279
|
-
"href": "/orders",
|
|
2280
|
-
"label": "Orders"
|
|
2281
|
-
}
|
|
2282
|
-
],
|
|
2283
|
-
"appName": "EcommerceApp",
|
|
2284
2260
|
"children": [
|
|
2285
2261
|
{
|
|
2286
|
-
"
|
|
2287
|
-
"type": "stack",
|
|
2262
|
+
"direction": "vertical",
|
|
2288
2263
|
"children": [
|
|
2289
2264
|
{
|
|
2265
|
+
"type": "stack",
|
|
2290
2266
|
"direction": "horizontal",
|
|
2291
2267
|
"children": [
|
|
2292
2268
|
{
|
|
@@ -2294,39 +2270,38 @@
|
|
|
2294
2270
|
"name": "clipboard"
|
|
2295
2271
|
},
|
|
2296
2272
|
{
|
|
2297
|
-
"
|
|
2273
|
+
"type": "typography",
|
|
2298
2274
|
"content": "Checkout",
|
|
2299
|
-
"
|
|
2275
|
+
"variant": "h2"
|
|
2300
2276
|
}
|
|
2301
2277
|
],
|
|
2302
|
-
"type": "stack",
|
|
2303
2278
|
"gap": "sm"
|
|
2304
2279
|
},
|
|
2305
2280
|
{
|
|
2306
2281
|
"type": "divider"
|
|
2307
2282
|
},
|
|
2308
2283
|
{
|
|
2284
|
+
"type": "data-grid",
|
|
2309
2285
|
"entity": "@payload.data",
|
|
2310
2286
|
"itemActions": [
|
|
2311
2287
|
{
|
|
2312
|
-
"event": "REQUEST_REMOVE",
|
|
2313
2288
|
"label": "Remove",
|
|
2289
|
+
"event": "REQUEST_REMOVE",
|
|
2314
2290
|
"variant": "danger"
|
|
2315
2291
|
}
|
|
2316
2292
|
],
|
|
2317
|
-
"type": "data-grid",
|
|
2318
2293
|
"fields": [
|
|
2319
2294
|
{
|
|
2320
|
-
"label": "Product Name",
|
|
2321
2295
|
"name": "productName",
|
|
2296
|
+
"variant": "h4",
|
|
2322
2297
|
"icon": "shopping-cart",
|
|
2323
|
-
"
|
|
2298
|
+
"label": "Product Name"
|
|
2324
2299
|
},
|
|
2325
2300
|
{
|
|
2326
|
-
"variant": "caption",
|
|
2327
2301
|
"name": "quantity",
|
|
2328
|
-
"
|
|
2329
|
-
"label": "Quantity"
|
|
2302
|
+
"variant": "caption",
|
|
2303
|
+
"label": "Quantity",
|
|
2304
|
+
"format": "currency"
|
|
2330
2305
|
},
|
|
2331
2306
|
{
|
|
2332
2307
|
"name": "unitPrice",
|
|
@@ -2336,31 +2311,56 @@
|
|
|
2336
2311
|
]
|
|
2337
2312
|
},
|
|
2338
2313
|
{
|
|
2339
|
-
"type": "stack",
|
|
2340
|
-
"gap": "sm",
|
|
2341
2314
|
"children": [
|
|
2342
2315
|
{
|
|
2343
|
-
"
|
|
2344
|
-
"action": "BACK_TO_CART",
|
|
2316
|
+
"variant": "ghost",
|
|
2345
2317
|
"label": "Back to Cart",
|
|
2346
|
-
"
|
|
2347
|
-
"
|
|
2318
|
+
"action": "BACK_TO_CART",
|
|
2319
|
+
"icon": "arrow-left",
|
|
2320
|
+
"type": "button"
|
|
2348
2321
|
},
|
|
2349
2322
|
{
|
|
2323
|
+
"icon": "check",
|
|
2324
|
+
"label": "Confirm Order",
|
|
2350
2325
|
"type": "button",
|
|
2351
2326
|
"action": "CONFIRM_ORDER",
|
|
2352
|
-
"
|
|
2353
|
-
"variant": "primary",
|
|
2354
|
-
"icon": "check"
|
|
2327
|
+
"variant": "primary"
|
|
2355
2328
|
}
|
|
2356
2329
|
],
|
|
2330
|
+
"type": "stack",
|
|
2331
|
+
"gap": "sm",
|
|
2357
2332
|
"justify": "end",
|
|
2358
2333
|
"direction": "horizontal"
|
|
2359
2334
|
}
|
|
2360
2335
|
],
|
|
2361
|
-
"
|
|
2336
|
+
"gap": "lg",
|
|
2337
|
+
"type": "stack"
|
|
2362
2338
|
}
|
|
2363
|
-
]
|
|
2339
|
+
],
|
|
2340
|
+
"type": "dashboard-layout",
|
|
2341
|
+
"navItems": [
|
|
2342
|
+
{
|
|
2343
|
+
"label": "Products",
|
|
2344
|
+
"href": "/products",
|
|
2345
|
+
"icon": "package"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"label": "Cart",
|
|
2349
|
+
"href": "/cart",
|
|
2350
|
+
"icon": "shopping-cart"
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"href": "/checkout",
|
|
2354
|
+
"label": "Checkout",
|
|
2355
|
+
"icon": "credit-card"
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"icon": "clipboard-list",
|
|
2359
|
+
"label": "Orders",
|
|
2360
|
+
"href": "/orders"
|
|
2361
|
+
}
|
|
2362
|
+
],
|
|
2363
|
+
"appName": "EcommerceApp"
|
|
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
|
]
|
|
@@ -2404,34 +2404,35 @@
|
|
|
2404
2404
|
"type": "dashboard-layout",
|
|
2405
2405
|
"children": [
|
|
2406
2406
|
{
|
|
2407
|
-
"
|
|
2407
|
+
"direction": "vertical",
|
|
2408
2408
|
"align": "center",
|
|
2409
|
+
"type": "stack",
|
|
2409
2410
|
"children": [
|
|
2410
2411
|
{
|
|
2411
|
-
"
|
|
2412
|
-
"
|
|
2412
|
+
"name": "check-circle",
|
|
2413
|
+
"type": "icon"
|
|
2413
2414
|
},
|
|
2414
2415
|
{
|
|
2415
|
-
"type": "typography",
|
|
2416
2416
|
"variant": "h2",
|
|
2417
|
+
"type": "typography",
|
|
2417
2418
|
"content": "Order Confirmed"
|
|
2418
2419
|
},
|
|
2419
2420
|
{
|
|
2421
|
+
"content": "Your order has been placed successfully.",
|
|
2420
2422
|
"variant": "body",
|
|
2421
|
-
"type": "typography"
|
|
2422
|
-
"content": "Your order has been placed successfully."
|
|
2423
|
+
"type": "typography"
|
|
2423
2424
|
},
|
|
2424
2425
|
{
|
|
2425
|
-
"action": "INIT",
|
|
2426
|
-
"label": "Continue Shopping",
|
|
2427
2426
|
"type": "button",
|
|
2428
|
-
"
|
|
2427
|
+
"action": "INIT",
|
|
2428
|
+
"variant": "primary",
|
|
2429
|
+
"label": "Continue Shopping"
|
|
2429
2430
|
}
|
|
2430
2431
|
],
|
|
2431
|
-
"gap": "lg"
|
|
2432
|
-
"direction": "vertical"
|
|
2432
|
+
"gap": "lg"
|
|
2433
2433
|
}
|
|
2434
2434
|
],
|
|
2435
|
+
"appName": "EcommerceApp",
|
|
2435
2436
|
"navItems": [
|
|
2436
2437
|
{
|
|
2437
2438
|
"label": "Products",
|
|
@@ -2445,16 +2446,15 @@
|
|
|
2445
2446
|
},
|
|
2446
2447
|
{
|
|
2447
2448
|
"icon": "credit-card",
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2449
|
+
"label": "Checkout",
|
|
2450
|
+
"href": "/checkout"
|
|
2450
2451
|
},
|
|
2451
2452
|
{
|
|
2452
2453
|
"href": "/orders",
|
|
2453
|
-
"
|
|
2454
|
-
"
|
|
2454
|
+
"icon": "clipboard-list",
|
|
2455
|
+
"label": "Orders"
|
|
2455
2456
|
}
|
|
2456
|
-
]
|
|
2457
|
-
"appName": "EcommerceApp"
|
|
2457
|
+
]
|
|
2458
2458
|
}
|
|
2459
2459
|
]
|
|
2460
2460
|
]
|
|
@@ -2622,8 +2622,8 @@
|
|
|
2622
2622
|
"CartItem",
|
|
2623
2623
|
{
|
|
2624
2624
|
"emit": {
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2625
|
+
"failure": "CartItemLoadFailed",
|
|
2626
|
+
"success": "CartItemLoaded"
|
|
2627
2627
|
}
|
|
2628
2628
|
}
|
|
2629
2629
|
]
|
|
@@ -2648,23 +2648,20 @@
|
|
|
2648
2648
|
"render-ui",
|
|
2649
2649
|
"modal",
|
|
2650
2650
|
{
|
|
2651
|
-
"direction": "vertical",
|
|
2652
|
-
"gap": "md",
|
|
2653
|
-
"type": "stack",
|
|
2654
2651
|
"children": [
|
|
2655
2652
|
{
|
|
2656
|
-
"type": "stack",
|
|
2657
2653
|
"direction": "horizontal",
|
|
2654
|
+
"type": "stack",
|
|
2658
2655
|
"gap": "sm",
|
|
2659
2656
|
"children": [
|
|
2660
2657
|
{
|
|
2661
|
-
"
|
|
2662
|
-
"
|
|
2658
|
+
"name": "plus-circle",
|
|
2659
|
+
"type": "icon"
|
|
2663
2660
|
},
|
|
2664
2661
|
{
|
|
2665
|
-
"
|
|
2662
|
+
"type": "typography",
|
|
2666
2663
|
"content": "Add Item",
|
|
2667
|
-
"
|
|
2664
|
+
"variant": "h3"
|
|
2668
2665
|
}
|
|
2669
2666
|
]
|
|
2670
2667
|
},
|
|
@@ -2672,7 +2669,6 @@
|
|
|
2672
2669
|
"type": "divider"
|
|
2673
2670
|
},
|
|
2674
2671
|
{
|
|
2675
|
-
"cancelEvent": "CLOSE",
|
|
2676
2672
|
"fields": [
|
|
2677
2673
|
"productName",
|
|
2678
2674
|
"quantity",
|
|
@@ -2680,10 +2676,14 @@
|
|
|
2680
2676
|
"totalPrice"
|
|
2681
2677
|
],
|
|
2682
2678
|
"type": "form-section",
|
|
2683
|
-
"
|
|
2684
|
-
"
|
|
2679
|
+
"mode": "create",
|
|
2680
|
+
"cancelEvent": "CLOSE",
|
|
2681
|
+
"submitEvent": "SAVE"
|
|
2685
2682
|
}
|
|
2686
|
-
]
|
|
2683
|
+
],
|
|
2684
|
+
"type": "stack",
|
|
2685
|
+
"direction": "vertical",
|
|
2686
|
+
"gap": "md"
|
|
2687
2687
|
}
|
|
2688
2688
|
]
|
|
2689
2689
|
]
|
|
@@ -2724,8 +2724,8 @@
|
|
|
2724
2724
|
"@payload.data",
|
|
2725
2725
|
{
|
|
2726
2726
|
"emit": {
|
|
2727
|
-
"
|
|
2728
|
-
"
|
|
2727
|
+
"success": "CartItemSaved",
|
|
2728
|
+
"failure": "CartItemSaveFailed"
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
2731
|
],
|
|
@@ -2910,8 +2910,8 @@
|
|
|
2910
2910
|
"CartItem",
|
|
2911
2911
|
{
|
|
2912
2912
|
"emit": {
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
2913
|
+
"success": "CartItemLoaded",
|
|
2914
|
+
"failure": "CartItemLoadFailed"
|
|
2915
2915
|
}
|
|
2916
2916
|
}
|
|
2917
2917
|
]
|
|
@@ -2931,68 +2931,68 @@
|
|
|
2931
2931
|
"fetch",
|
|
2932
2932
|
"CartItem",
|
|
2933
2933
|
{
|
|
2934
|
-
"id": "@payload.id",
|
|
2935
2934
|
"emit": {
|
|
2936
2935
|
"failure": "CartItemLoadFailed",
|
|
2937
2936
|
"success": "CartItemLoaded"
|
|
2938
|
-
}
|
|
2937
|
+
},
|
|
2938
|
+
"id": "@payload.id"
|
|
2939
2939
|
}
|
|
2940
2940
|
],
|
|
2941
2941
|
[
|
|
2942
2942
|
"render-ui",
|
|
2943
2943
|
"modal",
|
|
2944
2944
|
{
|
|
2945
|
-
"
|
|
2945
|
+
"direction": "vertical",
|
|
2946
|
+
"type": "stack",
|
|
2946
2947
|
"children": [
|
|
2947
2948
|
{
|
|
2948
|
-
"type": "stack",
|
|
2949
|
-
"gap": "sm",
|
|
2950
|
-
"direction": "horizontal",
|
|
2951
2949
|
"children": [
|
|
2952
2950
|
{
|
|
2953
|
-
"
|
|
2954
|
-
"
|
|
2951
|
+
"name": "alert-triangle",
|
|
2952
|
+
"type": "icon"
|
|
2955
2953
|
},
|
|
2956
2954
|
{
|
|
2957
|
-
"variant": "h3",
|
|
2958
2955
|
"content": "Remove Item",
|
|
2959
|
-
"type": "typography"
|
|
2956
|
+
"type": "typography",
|
|
2957
|
+
"variant": "h3"
|
|
2960
2958
|
}
|
|
2961
2959
|
],
|
|
2962
|
-
"align": "center"
|
|
2960
|
+
"align": "center",
|
|
2961
|
+
"gap": "sm",
|
|
2962
|
+
"type": "stack",
|
|
2963
|
+
"direction": "horizontal"
|
|
2963
2964
|
},
|
|
2964
2965
|
{
|
|
2965
2966
|
"type": "divider"
|
|
2966
2967
|
},
|
|
2967
2968
|
{
|
|
2968
2969
|
"type": "alert",
|
|
2969
|
-
"
|
|
2970
|
-
"
|
|
2970
|
+
"message": "Are you sure you want to remove this item from your cart?",
|
|
2971
|
+
"variant": "error"
|
|
2971
2972
|
},
|
|
2972
2973
|
{
|
|
2974
|
+
"justify": "end",
|
|
2973
2975
|
"direction": "horizontal",
|
|
2974
|
-
"
|
|
2976
|
+
"gap": "sm",
|
|
2975
2977
|
"children": [
|
|
2976
2978
|
{
|
|
2977
|
-
"label": "Cancel",
|
|
2978
|
-
"action": "CANCEL",
|
|
2979
2979
|
"variant": "ghost",
|
|
2980
|
-
"type": "button"
|
|
2980
|
+
"type": "button",
|
|
2981
|
+
"label": "Cancel",
|
|
2982
|
+
"action": "CANCEL"
|
|
2981
2983
|
},
|
|
2982
2984
|
{
|
|
2985
|
+
"type": "button",
|
|
2983
2986
|
"action": "CONFIRM_REMOVE",
|
|
2984
|
-
"label": "Remove",
|
|
2985
2987
|
"variant": "danger",
|
|
2986
|
-
"
|
|
2988
|
+
"label": "Remove",
|
|
2987
2989
|
"icon": "check"
|
|
2988
2990
|
}
|
|
2989
2991
|
],
|
|
2990
|
-
"
|
|
2991
|
-
"justify": "end"
|
|
2992
|
+
"type": "stack"
|
|
2992
2993
|
}
|
|
2993
2994
|
],
|
|
2994
|
-
"
|
|
2995
|
-
"type": "stack"
|
|
2995
|
+
"gap": "md"
|
|
2996
2996
|
}
|
|
2997
2997
|
]
|
|
2998
2998
|
]
|
|
@@ -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
|
]
|
|
@@ -3089,8 +3089,8 @@
|
|
|
3089
3089
|
"CartItem",
|
|
3090
3090
|
{
|
|
3091
3091
|
"emit": {
|
|
3092
|
-
"
|
|
3093
|
-
"
|
|
3092
|
+
"success": "CartItemLoaded",
|
|
3093
|
+
"failure": "CartItemLoadFailed"
|
|
3094
3094
|
}
|
|
3095
3095
|
}
|
|
3096
3096
|
]
|
|
@@ -3165,10 +3165,10 @@
|
|
|
3165
3165
|
"ref": "Stripe.traits.ServiceStripeStripe",
|
|
3166
3166
|
"name": "CheckoutPayment",
|
|
3167
3167
|
"config": {
|
|
3168
|
-
"currency": "usd",
|
|
3169
|
-
"metadata": {},
|
|
3170
3168
|
"uiTrait": "@trait.CheckoutPaymentForm",
|
|
3171
|
-
"
|
|
3169
|
+
"currency": "usd",
|
|
3170
|
+
"amount": 0.0,
|
|
3171
|
+
"metadata": {}
|
|
3172
3172
|
},
|
|
3173
3173
|
"listens": [
|
|
3174
3174
|
{
|
|
@@ -3224,44 +3224,44 @@
|
|
|
3224
3224
|
"main",
|
|
3225
3225
|
{
|
|
3226
3226
|
"type": "stack",
|
|
3227
|
-
"direction": "vertical",
|
|
3228
|
-
"gap": "md",
|
|
3229
3227
|
"children": [
|
|
3230
3228
|
{
|
|
3231
3229
|
"variant": "info",
|
|
3232
|
-
"
|
|
3233
|
-
"
|
|
3230
|
+
"type": "alert",
|
|
3231
|
+
"message": "Enter card details to complete your order."
|
|
3234
3232
|
},
|
|
3235
3233
|
{
|
|
3236
3234
|
"placeholder": "Card number",
|
|
3237
|
-
"
|
|
3238
|
-
"
|
|
3235
|
+
"type": "input",
|
|
3236
|
+
"inputType": "text"
|
|
3239
3237
|
},
|
|
3240
3238
|
{
|
|
3241
|
-
"
|
|
3239
|
+
"direction": "horizontal",
|
|
3242
3240
|
"children": [
|
|
3243
3241
|
{
|
|
3244
3242
|
"placeholder": "MM/YY",
|
|
3245
|
-
"
|
|
3246
|
-
"
|
|
3243
|
+
"inputType": "text",
|
|
3244
|
+
"type": "input"
|
|
3247
3245
|
},
|
|
3248
3246
|
{
|
|
3249
|
-
"placeholder": "CVC",
|
|
3250
3247
|
"type": "input",
|
|
3248
|
+
"placeholder": "CVC",
|
|
3251
3249
|
"inputType": "text"
|
|
3252
3250
|
}
|
|
3253
3251
|
],
|
|
3254
|
-
"
|
|
3252
|
+
"type": "stack",
|
|
3255
3253
|
"gap": "sm"
|
|
3256
3254
|
},
|
|
3257
3255
|
{
|
|
3258
|
-
"
|
|
3256
|
+
"icon": "credit-card",
|
|
3259
3257
|
"label": "Pay now",
|
|
3260
3258
|
"type": "button",
|
|
3261
3259
|
"variant": "primary",
|
|
3262
|
-
"
|
|
3260
|
+
"action": "CREATE_PAYMENT"
|
|
3263
3261
|
}
|
|
3264
|
-
]
|
|
3262
|
+
],
|
|
3263
|
+
"direction": "vertical",
|
|
3264
|
+
"gap": "md"
|
|
3265
3265
|
}
|
|
3266
3266
|
]
|
|
3267
3267
|
]
|
|
@@ -3502,15 +3502,11 @@
|
|
|
3502
3502
|
"render-ui",
|
|
3503
3503
|
"main",
|
|
3504
3504
|
{
|
|
3505
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3506
|
-
"gap": "lg",
|
|
3507
|
-
"type": "stack",
|
|
3508
|
-
"direction": "vertical",
|
|
3509
3505
|
"children": [
|
|
3510
3506
|
{
|
|
3507
|
+
"type": "typography",
|
|
3511
3508
|
"variant": "h2",
|
|
3512
|
-
"content": "Checkout"
|
|
3513
|
-
"type": "typography"
|
|
3509
|
+
"content": "Checkout"
|
|
3514
3510
|
},
|
|
3515
3511
|
{
|
|
3516
3512
|
"steps": [
|
|
@@ -3519,24 +3515,24 @@
|
|
|
3519
3515
|
"Payment",
|
|
3520
3516
|
"Review"
|
|
3521
3517
|
],
|
|
3522
|
-
"
|
|
3523
|
-
"
|
|
3518
|
+
"type": "wizard-progress",
|
|
3519
|
+
"currentStep": 0.0
|
|
3524
3520
|
},
|
|
3525
3521
|
{
|
|
3526
3522
|
"type": "divider"
|
|
3527
3523
|
},
|
|
3528
3524
|
{
|
|
3529
3525
|
"type": "typography",
|
|
3530
|
-
"
|
|
3531
|
-
"
|
|
3526
|
+
"variant": "h3",
|
|
3527
|
+
"content": "Customer Info"
|
|
3532
3528
|
},
|
|
3533
3529
|
{
|
|
3534
|
-
"
|
|
3530
|
+
"type": "form-section",
|
|
3535
3531
|
"fields": [
|
|
3536
3532
|
{
|
|
3537
|
-
"required": true,
|
|
3538
3533
|
"min": 2.0,
|
|
3539
|
-
"name": "customerName"
|
|
3534
|
+
"name": "customerName",
|
|
3535
|
+
"required": true
|
|
3540
3536
|
},
|
|
3541
3537
|
{
|
|
3542
3538
|
"type": "email",
|
|
@@ -3544,12 +3540,16 @@
|
|
|
3544
3540
|
"name": "email"
|
|
3545
3541
|
}
|
|
3546
3542
|
],
|
|
3547
|
-
"submitLabel": "Continue",
|
|
3548
|
-
"mode": "create",
|
|
3549
3543
|
"submitEvent": "NEXT",
|
|
3550
|
-
"
|
|
3544
|
+
"showCancel": false,
|
|
3545
|
+
"submitLabel": "Continue",
|
|
3546
|
+
"mode": "create"
|
|
3551
3547
|
}
|
|
3552
|
-
]
|
|
3548
|
+
],
|
|
3549
|
+
"direction": "vertical",
|
|
3550
|
+
"type": "stack",
|
|
3551
|
+
"gap": "lg",
|
|
3552
|
+
"className": "max-w-xl mx-auto w-full"
|
|
3553
3553
|
}
|
|
3554
3554
|
]
|
|
3555
3555
|
]
|
|
@@ -3578,51 +3578,51 @@
|
|
|
3578
3578
|
"render-ui",
|
|
3579
3579
|
"main",
|
|
3580
3580
|
{
|
|
3581
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3582
|
-
"gap": "lg",
|
|
3583
|
-
"type": "stack",
|
|
3584
3581
|
"direction": "vertical",
|
|
3585
3582
|
"children": [
|
|
3586
3583
|
{
|
|
3584
|
+
"type": "typography",
|
|
3587
3585
|
"variant": "h2",
|
|
3588
|
-
"content": "Checkout"
|
|
3589
|
-
"type": "typography"
|
|
3586
|
+
"content": "Checkout"
|
|
3590
3587
|
},
|
|
3591
3588
|
{
|
|
3592
|
-
"type": "wizard-progress",
|
|
3593
3589
|
"steps": [
|
|
3594
3590
|
"Customer Info",
|
|
3595
3591
|
"Shipping",
|
|
3596
3592
|
"Payment",
|
|
3597
3593
|
"Review"
|
|
3598
3594
|
],
|
|
3595
|
+
"type": "wizard-progress",
|
|
3599
3596
|
"currentStep": 1.0
|
|
3600
3597
|
},
|
|
3601
3598
|
{
|
|
3602
3599
|
"type": "divider"
|
|
3603
3600
|
},
|
|
3604
3601
|
{
|
|
3605
|
-
"
|
|
3602
|
+
"content": "Shipping Address",
|
|
3606
3603
|
"variant": "h3",
|
|
3607
|
-
"
|
|
3604
|
+
"type": "typography"
|
|
3608
3605
|
},
|
|
3609
3606
|
{
|
|
3607
|
+
"mode": "edit",
|
|
3610
3608
|
"type": "form-section",
|
|
3609
|
+
"submitEvent": "NEXT",
|
|
3610
|
+
"entity": "@entity",
|
|
3611
3611
|
"submitLabel": "Continue",
|
|
3612
3612
|
"cancelLabel": "Back",
|
|
3613
3613
|
"cancelEvent": "PREV",
|
|
3614
|
-
"submitEvent": "NEXT",
|
|
3615
3614
|
"fields": [
|
|
3616
3615
|
{
|
|
3617
|
-
"min": 5.0,
|
|
3618
3616
|
"required": true,
|
|
3619
|
-
"name": "shippingAddress"
|
|
3617
|
+
"name": "shippingAddress",
|
|
3618
|
+
"min": 5.0
|
|
3620
3619
|
}
|
|
3621
|
-
]
|
|
3622
|
-
"entity": "@entity",
|
|
3623
|
-
"mode": "edit"
|
|
3620
|
+
]
|
|
3624
3621
|
}
|
|
3625
|
-
]
|
|
3622
|
+
],
|
|
3623
|
+
"gap": "lg",
|
|
3624
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3625
|
+
"type": "stack"
|
|
3626
3626
|
}
|
|
3627
3627
|
]
|
|
3628
3628
|
]
|
|
@@ -3647,51 +3647,51 @@
|
|
|
3647
3647
|
"render-ui",
|
|
3648
3648
|
"main",
|
|
3649
3649
|
{
|
|
3650
|
+
"type": "stack",
|
|
3651
|
+
"direction": "vertical",
|
|
3652
|
+
"gap": "lg",
|
|
3650
3653
|
"className": "max-w-xl mx-auto w-full",
|
|
3651
3654
|
"children": [
|
|
3652
3655
|
{
|
|
3653
3656
|
"type": "typography",
|
|
3654
|
-
"
|
|
3655
|
-
"
|
|
3657
|
+
"variant": "h2",
|
|
3658
|
+
"content": "Checkout"
|
|
3656
3659
|
},
|
|
3657
3660
|
{
|
|
3658
|
-
"currentStep": 2.0,
|
|
3659
3661
|
"type": "wizard-progress",
|
|
3660
3662
|
"steps": [
|
|
3661
3663
|
"Customer Info",
|
|
3662
3664
|
"Shipping",
|
|
3663
3665
|
"Payment",
|
|
3664
3666
|
"Review"
|
|
3665
|
-
]
|
|
3667
|
+
],
|
|
3668
|
+
"currentStep": 2.0
|
|
3666
3669
|
},
|
|
3667
3670
|
{
|
|
3668
3671
|
"type": "divider"
|
|
3669
3672
|
},
|
|
3670
3673
|
{
|
|
3671
|
-
"
|
|
3674
|
+
"variant": "h3",
|
|
3672
3675
|
"type": "typography",
|
|
3673
|
-
"
|
|
3676
|
+
"content": "Payment"
|
|
3674
3677
|
},
|
|
3675
3678
|
"@trait.CheckoutPayment",
|
|
3676
3679
|
{
|
|
3677
|
-
"direction": "horizontal",
|
|
3678
|
-
"gap": "sm",
|
|
3679
3680
|
"type": "stack",
|
|
3680
3681
|
"children": [
|
|
3681
3682
|
{
|
|
3682
|
-
"
|
|
3683
|
+
"action": "PREV",
|
|
3683
3684
|
"type": "button",
|
|
3684
|
-
"icon": "arrow-left",
|
|
3685
3685
|
"label": "Back",
|
|
3686
|
-
"
|
|
3686
|
+
"variant": "ghost",
|
|
3687
|
+
"icon": "arrow-left"
|
|
3687
3688
|
}
|
|
3688
3689
|
],
|
|
3689
|
-
"justify": "start"
|
|
3690
|
+
"justify": "start",
|
|
3691
|
+
"gap": "sm",
|
|
3692
|
+
"direction": "horizontal"
|
|
3690
3693
|
}
|
|
3691
|
-
]
|
|
3692
|
-
"type": "stack",
|
|
3693
|
-
"direction": "vertical",
|
|
3694
|
-
"gap": "lg"
|
|
3694
|
+
]
|
|
3695
3695
|
}
|
|
3696
3696
|
]
|
|
3697
3697
|
]
|
|
@@ -3705,55 +3705,55 @@
|
|
|
3705
3705
|
"render-ui",
|
|
3706
3706
|
"main",
|
|
3707
3707
|
{
|
|
3708
|
-
"type": "stack",
|
|
3709
|
-
"gap": "lg",
|
|
3710
|
-
"direction": "vertical",
|
|
3711
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3712
3708
|
"children": [
|
|
3713
3709
|
{
|
|
3714
|
-
"
|
|
3710
|
+
"type": "typography",
|
|
3715
3711
|
"content": "Checkout",
|
|
3716
|
-
"
|
|
3712
|
+
"variant": "h2"
|
|
3717
3713
|
},
|
|
3718
3714
|
{
|
|
3715
|
+
"currentStep": 0.0,
|
|
3719
3716
|
"type": "wizard-progress",
|
|
3720
3717
|
"steps": [
|
|
3721
3718
|
"Customer Info",
|
|
3722
3719
|
"Shipping",
|
|
3723
3720
|
"Payment",
|
|
3724
3721
|
"Review"
|
|
3725
|
-
]
|
|
3726
|
-
"currentStep": 0.0
|
|
3722
|
+
]
|
|
3727
3723
|
},
|
|
3728
3724
|
{
|
|
3729
3725
|
"type": "divider"
|
|
3730
3726
|
},
|
|
3731
3727
|
{
|
|
3732
3728
|
"type": "typography",
|
|
3733
|
-
"
|
|
3734
|
-
"
|
|
3729
|
+
"variant": "h3",
|
|
3730
|
+
"content": "Customer Info"
|
|
3735
3731
|
},
|
|
3736
3732
|
{
|
|
3737
|
-
"mode": "edit",
|
|
3738
|
-
"submitLabel": "Continue",
|
|
3739
|
-
"showCancel": false,
|
|
3740
3733
|
"fields": [
|
|
3741
3734
|
{
|
|
3742
|
-
"name": "customerName",
|
|
3743
3735
|
"required": true,
|
|
3744
|
-
"min": 2.0
|
|
3736
|
+
"min": 2.0,
|
|
3737
|
+
"name": "customerName"
|
|
3745
3738
|
},
|
|
3746
3739
|
{
|
|
3747
|
-
"name": "email",
|
|
3748
3740
|
"required": true,
|
|
3741
|
+
"name": "email",
|
|
3749
3742
|
"type": "email"
|
|
3750
3743
|
}
|
|
3751
3744
|
],
|
|
3745
|
+
"submitEvent": "NEXT",
|
|
3752
3746
|
"type": "form-section",
|
|
3747
|
+
"submitLabel": "Continue",
|
|
3748
|
+
"mode": "edit",
|
|
3753
3749
|
"entity": "@entity",
|
|
3754
|
-
"
|
|
3750
|
+
"showCancel": false
|
|
3755
3751
|
}
|
|
3756
|
-
]
|
|
3752
|
+
],
|
|
3753
|
+
"direction": "vertical",
|
|
3754
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3755
|
+
"type": "stack",
|
|
3756
|
+
"gap": "lg"
|
|
3757
3757
|
}
|
|
3758
3758
|
]
|
|
3759
3759
|
]
|
|
@@ -3774,12 +3774,14 @@
|
|
|
3774
3774
|
"main",
|
|
3775
3775
|
{
|
|
3776
3776
|
"type": "stack",
|
|
3777
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3778
|
+
"gap": "lg",
|
|
3777
3779
|
"direction": "vertical",
|
|
3778
3780
|
"children": [
|
|
3779
3781
|
{
|
|
3780
3782
|
"variant": "h2",
|
|
3781
|
-
"
|
|
3782
|
-
"
|
|
3783
|
+
"type": "typography",
|
|
3784
|
+
"content": "Review your order"
|
|
3783
3785
|
},
|
|
3784
3786
|
{
|
|
3785
3787
|
"steps": [
|
|
@@ -3797,35 +3799,32 @@
|
|
|
3797
3799
|
{
|
|
3798
3800
|
"gap": "sm",
|
|
3799
3801
|
"type": "stack",
|
|
3800
|
-
"direction": "vertical",
|
|
3801
3802
|
"children": [
|
|
3802
3803
|
{
|
|
3803
|
-
"gap": "md",
|
|
3804
3804
|
"type": "stack",
|
|
3805
|
+
"direction": "horizontal",
|
|
3806
|
+
"gap": "md",
|
|
3807
|
+
"justify": "between",
|
|
3805
3808
|
"children": [
|
|
3806
3809
|
{
|
|
3807
|
-
"type": "typography",
|
|
3808
3810
|
"variant": "caption",
|
|
3809
|
-
"content": "Customer"
|
|
3811
|
+
"content": "Customer",
|
|
3812
|
+
"type": "typography"
|
|
3810
3813
|
},
|
|
3811
3814
|
{
|
|
3812
3815
|
"content": "@entity.customerName",
|
|
3813
|
-
"
|
|
3814
|
-
"
|
|
3816
|
+
"type": "typography",
|
|
3817
|
+
"variant": "body"
|
|
3815
3818
|
}
|
|
3816
|
-
]
|
|
3817
|
-
"justify": "between",
|
|
3818
|
-
"direction": "horizontal"
|
|
3819
|
+
]
|
|
3819
3820
|
},
|
|
3820
3821
|
{
|
|
3821
|
-
"type": "stack",
|
|
3822
|
-
"gap": "md",
|
|
3823
3822
|
"justify": "between",
|
|
3824
3823
|
"children": [
|
|
3825
3824
|
{
|
|
3826
3825
|
"type": "typography",
|
|
3827
|
-
"
|
|
3828
|
-
"
|
|
3826
|
+
"variant": "caption",
|
|
3827
|
+
"content": "Email"
|
|
3829
3828
|
},
|
|
3830
3829
|
{
|
|
3831
3830
|
"variant": "body",
|
|
@@ -3833,74 +3832,75 @@
|
|
|
3833
3832
|
"type": "typography"
|
|
3834
3833
|
}
|
|
3835
3834
|
],
|
|
3836
|
-
"
|
|
3835
|
+
"type": "stack",
|
|
3836
|
+
"direction": "horizontal",
|
|
3837
|
+
"gap": "md"
|
|
3837
3838
|
},
|
|
3838
3839
|
{
|
|
3839
|
-
"
|
|
3840
|
+
"type": "stack",
|
|
3840
3841
|
"children": [
|
|
3841
3842
|
{
|
|
3842
|
-
"
|
|
3843
|
+
"type": "typography",
|
|
3843
3844
|
"variant": "caption",
|
|
3844
|
-
"
|
|
3845
|
+
"content": "Shipping"
|
|
3845
3846
|
},
|
|
3846
3847
|
{
|
|
3847
|
-
"
|
|
3848
|
+
"variant": "body",
|
|
3848
3849
|
"content": "@entity.shippingAddress",
|
|
3849
|
-
"
|
|
3850
|
+
"type": "typography"
|
|
3850
3851
|
}
|
|
3851
3852
|
],
|
|
3852
|
-
"
|
|
3853
|
-
"
|
|
3854
|
-
"
|
|
3853
|
+
"gap": "md",
|
|
3854
|
+
"direction": "horizontal",
|
|
3855
|
+
"justify": "between"
|
|
3855
3856
|
},
|
|
3856
3857
|
{
|
|
3857
|
-
"justify": "between",
|
|
3858
|
-
"direction": "horizontal",
|
|
3859
3858
|
"children": [
|
|
3860
3859
|
{
|
|
3861
|
-
"variant": "caption",
|
|
3862
3860
|
"type": "typography",
|
|
3861
|
+
"variant": "caption",
|
|
3863
3862
|
"content": "Order total"
|
|
3864
3863
|
},
|
|
3865
3864
|
{
|
|
3866
|
-
"type": "typography",
|
|
3867
3865
|
"variant": "body",
|
|
3866
|
+
"type": "typography",
|
|
3868
3867
|
"content": "@entity.orderTotal"
|
|
3869
3868
|
}
|
|
3870
3869
|
],
|
|
3870
|
+
"justify": "between",
|
|
3871
3871
|
"gap": "md",
|
|
3872
|
-
"type": "stack"
|
|
3872
|
+
"type": "stack",
|
|
3873
|
+
"direction": "horizontal"
|
|
3873
3874
|
}
|
|
3874
|
-
]
|
|
3875
|
+
],
|
|
3876
|
+
"direction": "vertical"
|
|
3875
3877
|
},
|
|
3876
3878
|
{
|
|
3877
3879
|
"type": "divider"
|
|
3878
3880
|
},
|
|
3879
3881
|
{
|
|
3880
|
-
"direction": "horizontal",
|
|
3881
|
-
"justify": "between",
|
|
3882
3882
|
"children": [
|
|
3883
3883
|
{
|
|
3884
|
+
"variant": "ghost",
|
|
3884
3885
|
"label": "Back",
|
|
3885
3886
|
"type": "button",
|
|
3886
3887
|
"icon": "arrow-left",
|
|
3887
|
-
"variant": "ghost",
|
|
3888
3888
|
"action": "PREV"
|
|
3889
3889
|
},
|
|
3890
3890
|
{
|
|
3891
|
-
"action": "COMPLETE",
|
|
3892
3891
|
"type": "button",
|
|
3893
3892
|
"label": "Place order",
|
|
3894
|
-
"
|
|
3895
|
-
"variant": "primary"
|
|
3893
|
+
"action": "COMPLETE",
|
|
3894
|
+
"variant": "primary",
|
|
3895
|
+
"icon": "check"
|
|
3896
3896
|
}
|
|
3897
3897
|
],
|
|
3898
|
+
"direction": "horizontal",
|
|
3898
3899
|
"type": "stack",
|
|
3900
|
+
"justify": "between",
|
|
3899
3901
|
"gap": "sm"
|
|
3900
3902
|
}
|
|
3901
|
-
]
|
|
3902
|
-
"gap": "lg",
|
|
3903
|
-
"className": "max-w-xl mx-auto w-full"
|
|
3903
|
+
]
|
|
3904
3904
|
}
|
|
3905
3905
|
]
|
|
3906
3906
|
]
|
|
@@ -3914,50 +3914,50 @@
|
|
|
3914
3914
|
"render-ui",
|
|
3915
3915
|
"main",
|
|
3916
3916
|
{
|
|
3917
|
+
"type": "stack",
|
|
3918
|
+
"direction": "vertical",
|
|
3919
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3917
3920
|
"children": [
|
|
3918
3921
|
{
|
|
3919
|
-
"
|
|
3922
|
+
"type": "typography",
|
|
3920
3923
|
"variant": "h2",
|
|
3921
|
-
"
|
|
3924
|
+
"content": "Checkout"
|
|
3922
3925
|
},
|
|
3923
3926
|
{
|
|
3924
3927
|
"currentStep": 1.0,
|
|
3928
|
+
"type": "wizard-progress",
|
|
3925
3929
|
"steps": [
|
|
3926
3930
|
"Customer Info",
|
|
3927
3931
|
"Shipping",
|
|
3928
3932
|
"Payment",
|
|
3929
3933
|
"Review"
|
|
3930
|
-
]
|
|
3931
|
-
"type": "wizard-progress"
|
|
3934
|
+
]
|
|
3932
3935
|
},
|
|
3933
3936
|
{
|
|
3934
3937
|
"type": "divider"
|
|
3935
3938
|
},
|
|
3936
3939
|
{
|
|
3937
3940
|
"variant": "h3",
|
|
3938
|
-
"
|
|
3939
|
-
"
|
|
3941
|
+
"type": "typography",
|
|
3942
|
+
"content": "Shipping Address"
|
|
3940
3943
|
},
|
|
3941
3944
|
{
|
|
3942
3945
|
"cancelLabel": "Back",
|
|
3943
3946
|
"cancelEvent": "PREV",
|
|
3944
3947
|
"submitLabel": "Continue",
|
|
3945
3948
|
"type": "form-section",
|
|
3946
|
-
"entity": "@entity",
|
|
3947
|
-
"mode": "edit",
|
|
3948
3949
|
"fields": [
|
|
3949
3950
|
{
|
|
3950
3951
|
"min": 5.0,
|
|
3951
|
-
"
|
|
3952
|
-
"
|
|
3952
|
+
"name": "shippingAddress",
|
|
3953
|
+
"required": true
|
|
3953
3954
|
}
|
|
3954
3955
|
],
|
|
3955
|
-
"submitEvent": "NEXT"
|
|
3956
|
+
"submitEvent": "NEXT",
|
|
3957
|
+
"entity": "@entity",
|
|
3958
|
+
"mode": "edit"
|
|
3956
3959
|
}
|
|
3957
3960
|
],
|
|
3958
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3959
|
-
"type": "stack",
|
|
3960
|
-
"direction": "vertical",
|
|
3961
3961
|
"gap": "lg"
|
|
3962
3962
|
}
|
|
3963
3963
|
]
|
|
@@ -4007,35 +4007,35 @@
|
|
|
4007
4007
|
"render-ui",
|
|
4008
4008
|
"main",
|
|
4009
4009
|
{
|
|
4010
|
-
"
|
|
4011
|
-
"gap": "lg",
|
|
4010
|
+
"type": "stack",
|
|
4012
4011
|
"direction": "vertical",
|
|
4013
|
-
"
|
|
4012
|
+
"className": "max-w-xl mx-auto w-full py-12",
|
|
4014
4013
|
"children": [
|
|
4015
4014
|
{
|
|
4016
|
-
"
|
|
4017
|
-
"
|
|
4015
|
+
"name": "check-circle",
|
|
4016
|
+
"type": "icon"
|
|
4018
4017
|
},
|
|
4019
4018
|
{
|
|
4020
|
-
"content": "Order placed",
|
|
4021
4019
|
"variant": "h2",
|
|
4020
|
+
"content": "Order placed",
|
|
4022
4021
|
"type": "typography"
|
|
4023
4022
|
},
|
|
4024
4023
|
{
|
|
4024
|
+
"type": "typography",
|
|
4025
4025
|
"color": "muted",
|
|
4026
4026
|
"content": "Your order is confirmed and on its way.",
|
|
4027
|
-
"type": "typography",
|
|
4028
4027
|
"variant": "body"
|
|
4029
4028
|
},
|
|
4030
4029
|
{
|
|
4031
|
-
"
|
|
4032
|
-
"label": "Start new order",
|
|
4030
|
+
"icon": "rotate-ccw",
|
|
4033
4031
|
"variant": "ghost",
|
|
4032
|
+
"action": "RESTART",
|
|
4034
4033
|
"type": "button",
|
|
4035
|
-
"
|
|
4034
|
+
"label": "Start new order"
|
|
4036
4035
|
}
|
|
4037
4036
|
],
|
|
4038
|
-
"
|
|
4037
|
+
"align": "center",
|
|
4038
|
+
"gap": "lg"
|
|
4039
4039
|
}
|
|
4040
4040
|
]
|
|
4041
4041
|
]
|
|
@@ -4049,51 +4049,51 @@
|
|
|
4049
4049
|
"render-ui",
|
|
4050
4050
|
"main",
|
|
4051
4051
|
{
|
|
4052
|
+
"gap": "lg",
|
|
4052
4053
|
"children": [
|
|
4053
4054
|
{
|
|
4054
|
-
"content": "Checkout",
|
|
4055
4055
|
"variant": "h2",
|
|
4056
|
-
"type": "typography"
|
|
4056
|
+
"type": "typography",
|
|
4057
|
+
"content": "Checkout"
|
|
4057
4058
|
},
|
|
4058
4059
|
{
|
|
4059
|
-
"currentStep": 2.0,
|
|
4060
|
-
"type": "wizard-progress",
|
|
4061
4060
|
"steps": [
|
|
4062
4061
|
"Customer Info",
|
|
4063
4062
|
"Shipping",
|
|
4064
4063
|
"Payment",
|
|
4065
4064
|
"Review"
|
|
4066
|
-
]
|
|
4065
|
+
],
|
|
4066
|
+
"type": "wizard-progress",
|
|
4067
|
+
"currentStep": 2.0
|
|
4067
4068
|
},
|
|
4068
4069
|
{
|
|
4069
4070
|
"type": "divider"
|
|
4070
4071
|
},
|
|
4071
4072
|
{
|
|
4072
|
-
"
|
|
4073
|
+
"content": "Payment",
|
|
4073
4074
|
"variant": "h3",
|
|
4074
|
-
"
|
|
4075
|
+
"type": "typography"
|
|
4075
4076
|
},
|
|
4076
4077
|
"@trait.CheckoutPayment",
|
|
4077
4078
|
{
|
|
4078
4079
|
"gap": "sm",
|
|
4079
4080
|
"direction": "horizontal",
|
|
4080
|
-
"justify": "start",
|
|
4081
4081
|
"type": "stack",
|
|
4082
|
+
"justify": "start",
|
|
4082
4083
|
"children": [
|
|
4083
4084
|
{
|
|
4084
|
-
"type": "button",
|
|
4085
4085
|
"variant": "ghost",
|
|
4086
|
-
"
|
|
4086
|
+
"type": "button",
|
|
4087
|
+
"icon": "arrow-left",
|
|
4087
4088
|
"action": "PREV",
|
|
4088
|
-
"
|
|
4089
|
+
"label": "Back"
|
|
4089
4090
|
}
|
|
4090
4091
|
]
|
|
4091
4092
|
}
|
|
4092
4093
|
],
|
|
4093
|
-
"gap": "lg",
|
|
4094
4094
|
"direction": "vertical",
|
|
4095
|
-
"
|
|
4096
|
-
"
|
|
4095
|
+
"type": "stack",
|
|
4096
|
+
"className": "max-w-xl mx-auto w-full"
|
|
4097
4097
|
}
|
|
4098
4098
|
]
|
|
4099
4099
|
]
|
|
@@ -4134,34 +4134,34 @@
|
|
|
4134
4134
|
{
|
|
4135
4135
|
"gap": "lg",
|
|
4136
4136
|
"className": "max-w-xl mx-auto w-full",
|
|
4137
|
+
"type": "stack",
|
|
4137
4138
|
"children": [
|
|
4138
4139
|
{
|
|
4139
|
-
"type": "typography",
|
|
4140
4140
|
"content": "Checkout",
|
|
4141
|
+
"type": "typography",
|
|
4141
4142
|
"variant": "h2"
|
|
4142
4143
|
},
|
|
4143
4144
|
{
|
|
4144
4145
|
"type": "wizard-progress",
|
|
4145
|
-
"currentStep": 0.0,
|
|
4146
4146
|
"steps": [
|
|
4147
4147
|
"Customer Info",
|
|
4148
4148
|
"Shipping",
|
|
4149
4149
|
"Payment",
|
|
4150
4150
|
"Review"
|
|
4151
|
-
]
|
|
4151
|
+
],
|
|
4152
|
+
"currentStep": 0.0
|
|
4152
4153
|
},
|
|
4153
4154
|
{
|
|
4154
4155
|
"type": "divider"
|
|
4155
4156
|
},
|
|
4156
4157
|
{
|
|
4158
|
+
"content": "Customer Info",
|
|
4157
4159
|
"variant": "h3",
|
|
4158
|
-
"type": "typography"
|
|
4159
|
-
"content": "Customer Info"
|
|
4160
|
+
"type": "typography"
|
|
4160
4161
|
},
|
|
4161
4162
|
{
|
|
4162
|
-
"type": "form-section",
|
|
4163
4163
|
"showCancel": false,
|
|
4164
|
-
"
|
|
4164
|
+
"type": "form-section",
|
|
4165
4165
|
"fields": [
|
|
4166
4166
|
{
|
|
4167
4167
|
"name": "customerName",
|
|
@@ -4169,17 +4169,17 @@
|
|
|
4169
4169
|
"min": 2.0
|
|
4170
4170
|
},
|
|
4171
4171
|
{
|
|
4172
|
-
"type": "email",
|
|
4173
4172
|
"name": "email",
|
|
4173
|
+
"type": "email",
|
|
4174
4174
|
"required": true
|
|
4175
4175
|
}
|
|
4176
4176
|
],
|
|
4177
4177
|
"submitEvent": "NEXT",
|
|
4178
|
+
"mode": "create",
|
|
4178
4179
|
"submitLabel": "Continue"
|
|
4179
4180
|
}
|
|
4180
4181
|
],
|
|
4181
|
-
"direction": "vertical"
|
|
4182
|
-
"type": "stack"
|
|
4182
|
+
"direction": "vertical"
|
|
4183
4183
|
}
|
|
4184
4184
|
]
|
|
4185
4185
|
]
|
|
@@ -4530,8 +4530,8 @@
|
|
|
4530
4530
|
"OrderRecord",
|
|
4531
4531
|
{
|
|
4532
4532
|
"emit": {
|
|
4533
|
-
"
|
|
4534
|
-
"
|
|
4533
|
+
"success": "OrderRecordLoaded",
|
|
4534
|
+
"failure": "OrderRecordLoadFailed"
|
|
4535
4535
|
}
|
|
4536
4536
|
}
|
|
4537
4537
|
],
|
|
@@ -4539,22 +4539,22 @@
|
|
|
4539
4539
|
"render-ui",
|
|
4540
4540
|
"main",
|
|
4541
4541
|
{
|
|
4542
|
+
"className": "py-12",
|
|
4543
|
+
"gap": "md",
|
|
4544
|
+
"direction": "vertical",
|
|
4545
|
+
"type": "stack",
|
|
4546
|
+
"align": "center",
|
|
4542
4547
|
"children": [
|
|
4543
4548
|
{
|
|
4544
4549
|
"type": "spinner"
|
|
4545
4550
|
},
|
|
4546
4551
|
{
|
|
4547
|
-
"variant": "caption",
|
|
4548
|
-
"content": "Loading…",
|
|
4549
4552
|
"color": "muted",
|
|
4550
|
-
"type": "typography"
|
|
4553
|
+
"type": "typography",
|
|
4554
|
+
"content": "Loading…",
|
|
4555
|
+
"variant": "caption"
|
|
4551
4556
|
}
|
|
4552
|
-
]
|
|
4553
|
-
"gap": "md",
|
|
4554
|
-
"align": "center",
|
|
4555
|
-
"direction": "vertical",
|
|
4556
|
-
"className": "py-12",
|
|
4557
|
-
"type": "stack"
|
|
4557
|
+
]
|
|
4558
4558
|
}
|
|
4559
4559
|
]
|
|
4560
4560
|
]
|
|
@@ -4576,8 +4576,8 @@
|
|
|
4576
4576
|
},
|
|
4577
4577
|
{
|
|
4578
4578
|
"label": "Cart",
|
|
4579
|
-
"
|
|
4580
|
-
"
|
|
4579
|
+
"href": "/cart",
|
|
4580
|
+
"icon": "shopping-cart"
|
|
4581
4581
|
},
|
|
4582
4582
|
{
|
|
4583
4583
|
"href": "/checkout",
|
|
@@ -4585,28 +4585,32 @@
|
|
|
4585
4585
|
"label": "Checkout"
|
|
4586
4586
|
},
|
|
4587
4587
|
{
|
|
4588
|
-
"icon": "clipboard-list",
|
|
4589
4588
|
"label": "Orders",
|
|
4589
|
+
"icon": "clipboard-list",
|
|
4590
4590
|
"href": "/orders"
|
|
4591
4591
|
}
|
|
4592
4592
|
],
|
|
4593
|
+
"type": "dashboard-layout",
|
|
4594
|
+
"appName": "EcommerceApp",
|
|
4593
4595
|
"children": [
|
|
4594
4596
|
{
|
|
4597
|
+
"gap": "lg",
|
|
4598
|
+
"direction": "vertical",
|
|
4599
|
+
"type": "stack",
|
|
4600
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
4595
4601
|
"children": [
|
|
4596
4602
|
{
|
|
4597
|
-
"
|
|
4598
|
-
"gap": "md",
|
|
4599
|
-
"justify": "between",
|
|
4603
|
+
"type": "stack",
|
|
4600
4604
|
"children": [
|
|
4601
4605
|
{
|
|
4602
|
-
"type": "stack",
|
|
4603
4606
|
"gap": "sm",
|
|
4604
4607
|
"direction": "horizontal",
|
|
4605
4608
|
"align": "center",
|
|
4609
|
+
"type": "stack",
|
|
4606
4610
|
"children": [
|
|
4607
4611
|
{
|
|
4608
|
-
"
|
|
4609
|
-
"
|
|
4612
|
+
"type": "icon",
|
|
4613
|
+
"name": "clipboard-list"
|
|
4610
4614
|
},
|
|
4611
4615
|
{
|
|
4612
4616
|
"content": "Order History",
|
|
@@ -4616,85 +4620,81 @@
|
|
|
4616
4620
|
]
|
|
4617
4621
|
},
|
|
4618
4622
|
{
|
|
4619
|
-
"gap": "sm",
|
|
4620
|
-
"direction": "horizontal",
|
|
4621
4623
|
"type": "stack",
|
|
4624
|
+
"gap": "sm",
|
|
4622
4625
|
"children": [
|
|
4623
4626
|
{
|
|
4624
4627
|
"type": "button",
|
|
4625
4628
|
"action": "CREATE",
|
|
4626
|
-
"label": "Create OrderRecord",
|
|
4627
4629
|
"variant": "primary",
|
|
4630
|
+
"label": "Create OrderRecord",
|
|
4628
4631
|
"icon": "plus"
|
|
4629
4632
|
}
|
|
4630
|
-
]
|
|
4633
|
+
],
|
|
4634
|
+
"direction": "horizontal"
|
|
4631
4635
|
}
|
|
4632
4636
|
],
|
|
4633
|
-
"
|
|
4634
|
-
"
|
|
4637
|
+
"direction": "horizontal",
|
|
4638
|
+
"justify": "between",
|
|
4639
|
+
"gap": "md",
|
|
4640
|
+
"align": "center"
|
|
4635
4641
|
},
|
|
4636
4642
|
{
|
|
4637
4643
|
"type": "divider"
|
|
4638
4644
|
},
|
|
4639
4645
|
{
|
|
4646
|
+
"itemActions": [
|
|
4647
|
+
{
|
|
4648
|
+
"label": "View",
|
|
4649
|
+
"event": "VIEW",
|
|
4650
|
+
"variant": "ghost"
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
"event": "EDIT",
|
|
4654
|
+
"variant": "ghost",
|
|
4655
|
+
"label": "Edit"
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
"label": "Delete",
|
|
4659
|
+
"event": "DELETE",
|
|
4660
|
+
"variant": "danger"
|
|
4661
|
+
}
|
|
4662
|
+
],
|
|
4663
|
+
"type": "data-list",
|
|
4664
|
+
"entity": "@payload.data",
|
|
4665
|
+
"gap": "sm",
|
|
4640
4666
|
"fields": [
|
|
4641
4667
|
{
|
|
4642
|
-
"
|
|
4643
|
-
"label": "Customer",
|
|
4668
|
+
"name": "customerName",
|
|
4644
4669
|
"variant": "h3",
|
|
4645
|
-
"
|
|
4670
|
+
"icon": "clipboard-list",
|
|
4671
|
+
"label": "Customer"
|
|
4646
4672
|
},
|
|
4647
4673
|
{
|
|
4648
|
-
"
|
|
4649
|
-
"
|
|
4674
|
+
"name": "status",
|
|
4675
|
+
"variant": "badge"
|
|
4650
4676
|
},
|
|
4651
4677
|
{
|
|
4652
|
-
"label": "Total",
|
|
4653
4678
|
"variant": "h4",
|
|
4654
4679
|
"format": "currency",
|
|
4655
|
-
"name": "orderTotal"
|
|
4680
|
+
"name": "orderTotal",
|
|
4681
|
+
"label": "Total"
|
|
4656
4682
|
},
|
|
4657
4683
|
{
|
|
4658
|
-
"
|
|
4659
|
-
"
|
|
4684
|
+
"name": "email",
|
|
4685
|
+
"variant": "caption"
|
|
4660
4686
|
},
|
|
4661
4687
|
{
|
|
4662
|
-
"name": "shippingAddress",
|
|
4663
4688
|
"label": "Address",
|
|
4664
|
-
"variant": "caption"
|
|
4689
|
+
"variant": "caption",
|
|
4690
|
+
"name": "shippingAddress"
|
|
4665
4691
|
}
|
|
4666
4692
|
],
|
|
4667
|
-
"
|
|
4668
|
-
"type": "data-list",
|
|
4669
|
-
"variant": "card",
|
|
4670
|
-
"entity": "@payload.data",
|
|
4671
|
-
"itemActions": [
|
|
4672
|
-
{
|
|
4673
|
-
"variant": "ghost",
|
|
4674
|
-
"label": "View",
|
|
4675
|
-
"event": "VIEW"
|
|
4676
|
-
},
|
|
4677
|
-
{
|
|
4678
|
-
"variant": "ghost",
|
|
4679
|
-
"label": "Edit",
|
|
4680
|
-
"event": "EDIT"
|
|
4681
|
-
},
|
|
4682
|
-
{
|
|
4683
|
-
"label": "Delete",
|
|
4684
|
-
"event": "DELETE",
|
|
4685
|
-
"variant": "danger"
|
|
4686
|
-
}
|
|
4687
|
-
]
|
|
4693
|
+
"variant": "card"
|
|
4688
4694
|
}
|
|
4689
|
-
]
|
|
4690
|
-
"gap": "lg",
|
|
4691
|
-
"direction": "vertical",
|
|
4692
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
4693
|
-
"type": "stack"
|
|
4695
|
+
]
|
|
4694
4696
|
}
|
|
4695
|
-
]
|
|
4696
|
-
"type": "dashboard-layout",
|
|
4697
|
-
"appName": "EcommerceApp"
|
|
4697
|
+
]
|
|
4698
4698
|
}
|
|
4699
4699
|
]
|
|
4700
4700
|
]
|
|
@@ -4709,35 +4709,35 @@
|
|
|
4709
4709
|
"main",
|
|
4710
4710
|
{
|
|
4711
4711
|
"gap": "md",
|
|
4712
|
+
"className": "py-12",
|
|
4712
4713
|
"type": "stack",
|
|
4713
|
-
"align": "center",
|
|
4714
4714
|
"direction": "vertical",
|
|
4715
|
-
"className": "py-12",
|
|
4716
4715
|
"children": [
|
|
4717
4716
|
{
|
|
4717
|
+
"name": "alert-triangle",
|
|
4718
4718
|
"color": "destructive",
|
|
4719
|
-
"type": "icon"
|
|
4720
|
-
"name": "alert-triangle"
|
|
4719
|
+
"type": "icon"
|
|
4721
4720
|
},
|
|
4722
4721
|
{
|
|
4723
|
-
"type": "typography",
|
|
4724
4722
|
"variant": "h3",
|
|
4725
|
-
"content": "Failed to load orderrecord"
|
|
4723
|
+
"content": "Failed to load orderrecord",
|
|
4724
|
+
"type": "typography"
|
|
4726
4725
|
},
|
|
4727
4726
|
{
|
|
4728
|
-
"content": "@payload.error",
|
|
4729
4727
|
"color": "muted",
|
|
4730
4728
|
"variant": "body",
|
|
4731
|
-
"type": "typography"
|
|
4729
|
+
"type": "typography",
|
|
4730
|
+
"content": "@payload.error"
|
|
4732
4731
|
},
|
|
4733
4732
|
{
|
|
4734
4733
|
"action": "INIT",
|
|
4735
|
-
"type": "button",
|
|
4736
|
-
"label": "Retry",
|
|
4737
4734
|
"variant": "primary",
|
|
4738
|
-
"icon": "rotate-ccw"
|
|
4735
|
+
"icon": "rotate-ccw",
|
|
4736
|
+
"type": "button",
|
|
4737
|
+
"label": "Retry"
|
|
4739
4738
|
}
|
|
4740
|
-
]
|
|
4739
|
+
],
|
|
4740
|
+
"align": "center"
|
|
4741
4741
|
}
|
|
4742
4742
|
]
|
|
4743
4743
|
]
|
|
@@ -4929,8 +4929,8 @@
|
|
|
4929
4929
|
"OrderRecord",
|
|
4930
4930
|
{
|
|
4931
4931
|
"emit": {
|
|
4932
|
-
"
|
|
4933
|
-
"
|
|
4932
|
+
"success": "OrderRecordLoaded",
|
|
4933
|
+
"failure": "OrderRecordLoadFailed"
|
|
4934
4934
|
}
|
|
4935
4935
|
}
|
|
4936
4936
|
],
|
|
@@ -4938,9 +4938,8 @@
|
|
|
4938
4938
|
"render-ui",
|
|
4939
4939
|
"modal",
|
|
4940
4940
|
{
|
|
4941
|
-
"type": "stack",
|
|
4942
4941
|
"direction": "vertical",
|
|
4943
|
-
"
|
|
4942
|
+
"type": "stack",
|
|
4944
4943
|
"children": [
|
|
4945
4944
|
{
|
|
4946
4945
|
"gap": "sm",
|
|
@@ -4952,8 +4951,8 @@
|
|
|
4952
4951
|
},
|
|
4953
4952
|
{
|
|
4954
4953
|
"type": "typography",
|
|
4955
|
-
"
|
|
4956
|
-
"
|
|
4954
|
+
"variant": "h3",
|
|
4955
|
+
"content": "Create OrderRecord"
|
|
4957
4956
|
}
|
|
4958
4957
|
],
|
|
4959
4958
|
"type": "stack"
|
|
@@ -4962,7 +4961,6 @@
|
|
|
4962
4961
|
"type": "divider"
|
|
4963
4962
|
},
|
|
4964
4963
|
{
|
|
4965
|
-
"submitEvent": "SAVE",
|
|
4966
4964
|
"fields": [
|
|
4967
4965
|
"customerName",
|
|
4968
4966
|
"email",
|
|
@@ -4972,10 +4970,12 @@
|
|
|
4972
4970
|
"status"
|
|
4973
4971
|
],
|
|
4974
4972
|
"type": "form-section",
|
|
4973
|
+
"submitEvent": "SAVE",
|
|
4975
4974
|
"mode": "create",
|
|
4976
4975
|
"cancelEvent": "CLOSE"
|
|
4977
4976
|
}
|
|
4978
|
-
]
|
|
4977
|
+
],
|
|
4978
|
+
"gap": "md"
|
|
4979
4979
|
}
|
|
4980
4980
|
]
|
|
4981
4981
|
]
|
|
@@ -5227,8 +5227,8 @@
|
|
|
5227
5227
|
"OrderRecord",
|
|
5228
5228
|
{
|
|
5229
5229
|
"emit": {
|
|
5230
|
-
"
|
|
5231
|
-
"
|
|
5230
|
+
"failure": "OrderRecordLoadFailed",
|
|
5231
|
+
"success": "OrderRecordLoaded"
|
|
5232
5232
|
}
|
|
5233
5233
|
}
|
|
5234
5234
|
]
|
|
@@ -5255,20 +5255,22 @@
|
|
|
5255
5255
|
"modal",
|
|
5256
5256
|
{
|
|
5257
5257
|
"gap": "md",
|
|
5258
|
+
"direction": "vertical",
|
|
5259
|
+
"type": "stack",
|
|
5258
5260
|
"children": [
|
|
5259
5261
|
{
|
|
5260
|
-
"direction": "horizontal",
|
|
5261
|
-
"gap": "sm",
|
|
5262
5262
|
"type": "stack",
|
|
5263
|
+
"gap": "sm",
|
|
5264
|
+
"direction": "horizontal",
|
|
5263
5265
|
"children": [
|
|
5264
5266
|
{
|
|
5265
5267
|
"type": "icon",
|
|
5266
5268
|
"name": "edit"
|
|
5267
5269
|
},
|
|
5268
5270
|
{
|
|
5269
|
-
"variant": "h3",
|
|
5270
5271
|
"content": "Edit OrderRecord",
|
|
5271
|
-
"type": "typography"
|
|
5272
|
+
"type": "typography",
|
|
5273
|
+
"variant": "h3"
|
|
5272
5274
|
}
|
|
5273
5275
|
]
|
|
5274
5276
|
},
|
|
@@ -5276,8 +5278,10 @@
|
|
|
5276
5278
|
"type": "divider"
|
|
5277
5279
|
},
|
|
5278
5280
|
{
|
|
5279
|
-
"submitEvent": "SAVE",
|
|
5280
5281
|
"mode": "edit",
|
|
5282
|
+
"submitEvent": "SAVE",
|
|
5283
|
+
"entity": "@payload.row",
|
|
5284
|
+
"type": "form-section",
|
|
5281
5285
|
"cancelEvent": "CLOSE",
|
|
5282
5286
|
"fields": [
|
|
5283
5287
|
"customerName",
|
|
@@ -5286,13 +5290,9 @@
|
|
|
5286
5290
|
"paymentMethod",
|
|
5287
5291
|
"orderTotal",
|
|
5288
5292
|
"status"
|
|
5289
|
-
]
|
|
5290
|
-
"entity": "@payload.row",
|
|
5291
|
-
"type": "form-section"
|
|
5293
|
+
]
|
|
5292
5294
|
}
|
|
5293
|
-
]
|
|
5294
|
-
"type": "stack",
|
|
5295
|
-
"direction": "vertical"
|
|
5295
|
+
]
|
|
5296
5296
|
}
|
|
5297
5297
|
]
|
|
5298
5298
|
]
|
|
@@ -5333,8 +5333,8 @@
|
|
|
5333
5333
|
"@payload.data",
|
|
5334
5334
|
{
|
|
5335
5335
|
"emit": {
|
|
5336
|
-
"
|
|
5337
|
-
"
|
|
5336
|
+
"success": "OrderRecordUpdated",
|
|
5337
|
+
"failure": "OrderRecordUpdateFailed"
|
|
5338
5338
|
}
|
|
5339
5339
|
}
|
|
5340
5340
|
],
|
|
@@ -5531,8 +5531,8 @@
|
|
|
5531
5531
|
"OrderRecord",
|
|
5532
5532
|
{
|
|
5533
5533
|
"emit": {
|
|
5534
|
-
"
|
|
5535
|
-
"
|
|
5534
|
+
"failure": "OrderRecordLoadFailed",
|
|
5535
|
+
"success": "OrderRecordLoaded"
|
|
5536
5536
|
},
|
|
5537
5537
|
"id": "@payload.id"
|
|
5538
5538
|
}
|
|
@@ -5541,11 +5541,12 @@
|
|
|
5541
5541
|
"render-ui",
|
|
5542
5542
|
"modal",
|
|
5543
5543
|
{
|
|
5544
|
+
"direction": "vertical",
|
|
5544
5545
|
"children": [
|
|
5545
5546
|
{
|
|
5546
5547
|
"type": "stack",
|
|
5547
|
-
"gap": "sm",
|
|
5548
5548
|
"align": "center",
|
|
5549
|
+
"gap": "sm",
|
|
5549
5550
|
"direction": "horizontal",
|
|
5550
5551
|
"children": [
|
|
5551
5552
|
{
|
|
@@ -5553,9 +5554,9 @@
|
|
|
5553
5554
|
"name": "eye"
|
|
5554
5555
|
},
|
|
5555
5556
|
{
|
|
5556
|
-
"
|
|
5557
|
+
"type": "typography",
|
|
5557
5558
|
"variant": "h3",
|
|
5558
|
-
"
|
|
5559
|
+
"content": "@entity.customerName"
|
|
5559
5560
|
}
|
|
5560
5561
|
]
|
|
5561
5562
|
},
|
|
@@ -5563,134 +5564,133 @@
|
|
|
5563
5564
|
"type": "divider"
|
|
5564
5565
|
},
|
|
5565
5566
|
{
|
|
5567
|
+
"direction": "horizontal",
|
|
5566
5568
|
"children": [
|
|
5567
5569
|
{
|
|
5568
|
-
"
|
|
5570
|
+
"variant": "caption",
|
|
5569
5571
|
"type": "typography",
|
|
5570
|
-
"
|
|
5572
|
+
"content": "Customer Name"
|
|
5571
5573
|
},
|
|
5572
5574
|
{
|
|
5573
|
-
"type": "typography",
|
|
5574
5575
|
"variant": "body",
|
|
5576
|
+
"type": "typography",
|
|
5575
5577
|
"content": "@entity.customerName"
|
|
5576
5578
|
}
|
|
5577
5579
|
],
|
|
5578
|
-
"
|
|
5579
|
-
"type": "stack"
|
|
5580
|
-
"gap": "md"
|
|
5580
|
+
"gap": "md",
|
|
5581
|
+
"type": "stack"
|
|
5581
5582
|
},
|
|
5582
5583
|
{
|
|
5583
5584
|
"gap": "md",
|
|
5584
|
-
"type": "stack",
|
|
5585
5585
|
"direction": "horizontal",
|
|
5586
|
+
"type": "stack",
|
|
5586
5587
|
"children": [
|
|
5587
5588
|
{
|
|
5589
|
+
"content": "Email",
|
|
5588
5590
|
"type": "typography",
|
|
5589
|
-
"variant": "caption"
|
|
5590
|
-
"content": "Email"
|
|
5591
|
+
"variant": "caption"
|
|
5591
5592
|
},
|
|
5592
5593
|
{
|
|
5593
5594
|
"variant": "body",
|
|
5594
|
-
"
|
|
5595
|
-
"
|
|
5595
|
+
"content": "@entity.email",
|
|
5596
|
+
"type": "typography"
|
|
5596
5597
|
}
|
|
5597
5598
|
]
|
|
5598
5599
|
},
|
|
5599
5600
|
{
|
|
5601
|
+
"type": "stack",
|
|
5602
|
+
"gap": "md",
|
|
5600
5603
|
"children": [
|
|
5601
5604
|
{
|
|
5605
|
+
"type": "typography",
|
|
5602
5606
|
"variant": "caption",
|
|
5603
|
-
"content": "Shipping Address"
|
|
5604
|
-
"type": "typography"
|
|
5607
|
+
"content": "Shipping Address"
|
|
5605
5608
|
},
|
|
5606
5609
|
{
|
|
5607
|
-
"
|
|
5610
|
+
"variant": "body",
|
|
5608
5611
|
"content": "@entity.shippingAddress",
|
|
5609
|
-
"
|
|
5612
|
+
"type": "typography"
|
|
5610
5613
|
}
|
|
5611
5614
|
],
|
|
5612
|
-
"
|
|
5613
|
-
"direction": "horizontal",
|
|
5614
|
-
"gap": "md"
|
|
5615
|
+
"direction": "horizontal"
|
|
5615
5616
|
},
|
|
5616
5617
|
{
|
|
5618
|
+
"direction": "horizontal",
|
|
5617
5619
|
"gap": "md",
|
|
5618
5620
|
"children": [
|
|
5619
5621
|
{
|
|
5622
|
+
"variant": "caption",
|
|
5620
5623
|
"content": "Payment Method",
|
|
5621
|
-
"type": "typography"
|
|
5622
|
-
"variant": "caption"
|
|
5624
|
+
"type": "typography"
|
|
5623
5625
|
},
|
|
5624
5626
|
{
|
|
5625
|
-
"type": "typography",
|
|
5626
5627
|
"content": "@entity.paymentMethod",
|
|
5627
|
-
"variant": "body"
|
|
5628
|
+
"variant": "body",
|
|
5629
|
+
"type": "typography"
|
|
5628
5630
|
}
|
|
5629
5631
|
],
|
|
5630
|
-
"direction": "horizontal",
|
|
5631
5632
|
"type": "stack"
|
|
5632
5633
|
},
|
|
5633
5634
|
{
|
|
5635
|
+
"direction": "horizontal",
|
|
5636
|
+
"gap": "md",
|
|
5634
5637
|
"children": [
|
|
5635
5638
|
{
|
|
5636
|
-
"content": "Order Total",
|
|
5637
5639
|
"variant": "caption",
|
|
5638
|
-
"type": "typography"
|
|
5640
|
+
"type": "typography",
|
|
5641
|
+
"content": "Order Total"
|
|
5639
5642
|
},
|
|
5640
5643
|
{
|
|
5641
5644
|
"type": "typography",
|
|
5642
|
-
"
|
|
5643
|
-
"
|
|
5645
|
+
"content": "@entity.orderTotal",
|
|
5646
|
+
"variant": "body"
|
|
5644
5647
|
}
|
|
5645
5648
|
],
|
|
5646
|
-
"type": "stack"
|
|
5647
|
-
"direction": "horizontal",
|
|
5648
|
-
"gap": "md"
|
|
5649
|
+
"type": "stack"
|
|
5649
5650
|
},
|
|
5650
5651
|
{
|
|
5651
5652
|
"direction": "horizontal",
|
|
5653
|
+
"type": "stack",
|
|
5652
5654
|
"gap": "md",
|
|
5653
5655
|
"children": [
|
|
5654
5656
|
{
|
|
5657
|
+
"content": "Status",
|
|
5655
5658
|
"variant": "caption",
|
|
5656
|
-
"type": "typography"
|
|
5657
|
-
"content": "Status"
|
|
5659
|
+
"type": "typography"
|
|
5658
5660
|
},
|
|
5659
5661
|
{
|
|
5660
|
-
"type": "typography",
|
|
5661
5662
|
"variant": "body",
|
|
5663
|
+
"type": "typography",
|
|
5662
5664
|
"content": "@entity.status"
|
|
5663
5665
|
}
|
|
5664
|
-
]
|
|
5665
|
-
"type": "stack"
|
|
5666
|
+
]
|
|
5666
5667
|
},
|
|
5667
5668
|
{
|
|
5668
5669
|
"type": "divider"
|
|
5669
5670
|
},
|
|
5670
5671
|
{
|
|
5672
|
+
"justify": "end",
|
|
5673
|
+
"type": "stack",
|
|
5674
|
+
"gap": "sm",
|
|
5671
5675
|
"children": [
|
|
5672
5676
|
{
|
|
5677
|
+
"type": "button",
|
|
5673
5678
|
"variant": "primary",
|
|
5674
|
-
"action": "EDIT",
|
|
5675
5679
|
"label": "Edit",
|
|
5676
5680
|
"icon": "edit",
|
|
5677
|
-
"
|
|
5681
|
+
"action": "EDIT"
|
|
5678
5682
|
},
|
|
5679
5683
|
{
|
|
5680
|
-
"label": "Close",
|
|
5681
|
-
"action": "CLOSE",
|
|
5682
5684
|
"variant": "ghost",
|
|
5683
|
-
"
|
|
5685
|
+
"action": "CLOSE",
|
|
5686
|
+
"type": "button",
|
|
5687
|
+
"label": "Close"
|
|
5684
5688
|
}
|
|
5685
5689
|
],
|
|
5686
|
-
"direction": "horizontal"
|
|
5687
|
-
"type": "stack",
|
|
5688
|
-
"gap": "sm",
|
|
5689
|
-
"justify": "end"
|
|
5690
|
+
"direction": "horizontal"
|
|
5690
5691
|
}
|
|
5691
5692
|
],
|
|
5692
5693
|
"type": "stack",
|
|
5693
|
-
"direction": "vertical",
|
|
5694
5694
|
"gap": "md"
|
|
5695
5695
|
}
|
|
5696
5696
|
]
|
|
@@ -5934,11 +5934,11 @@
|
|
|
5934
5934
|
"fetch",
|
|
5935
5935
|
"OrderRecord",
|
|
5936
5936
|
{
|
|
5937
|
-
"id": "@payload.id",
|
|
5938
5937
|
"emit": {
|
|
5939
5938
|
"success": "OrderRecordLoaded",
|
|
5940
5939
|
"failure": "OrderRecordLoadFailed"
|
|
5941
|
-
}
|
|
5940
|
+
},
|
|
5941
|
+
"id": "@payload.id"
|
|
5942
5942
|
}
|
|
5943
5943
|
],
|
|
5944
5944
|
[
|
|
@@ -5946,56 +5946,56 @@
|
|
|
5946
5946
|
"modal",
|
|
5947
5947
|
{
|
|
5948
5948
|
"type": "stack",
|
|
5949
|
-
"gap": "md",
|
|
5950
5949
|
"direction": "vertical",
|
|
5951
5950
|
"children": [
|
|
5952
5951
|
{
|
|
5953
|
-
"
|
|
5952
|
+
"align": "center",
|
|
5953
|
+
"type": "stack",
|
|
5954
5954
|
"children": [
|
|
5955
5955
|
{
|
|
5956
5956
|
"name": "alert-triangle",
|
|
5957
5957
|
"type": "icon"
|
|
5958
5958
|
},
|
|
5959
5959
|
{
|
|
5960
|
-
"type": "typography",
|
|
5961
5960
|
"variant": "h3",
|
|
5962
|
-
"content": "Delete OrderRecord"
|
|
5961
|
+
"content": "Delete OrderRecord",
|
|
5962
|
+
"type": "typography"
|
|
5963
5963
|
}
|
|
5964
5964
|
],
|
|
5965
|
-
"type": "stack",
|
|
5966
5965
|
"gap": "sm",
|
|
5967
|
-
"
|
|
5966
|
+
"direction": "horizontal"
|
|
5968
5967
|
},
|
|
5969
5968
|
{
|
|
5970
5969
|
"type": "divider"
|
|
5971
5970
|
},
|
|
5972
5971
|
{
|
|
5973
|
-
"variant": "error",
|
|
5974
5972
|
"type": "alert",
|
|
5975
|
-
"message": "This action cannot be undone."
|
|
5973
|
+
"message": "This action cannot be undone.",
|
|
5974
|
+
"variant": "error"
|
|
5976
5975
|
},
|
|
5977
5976
|
{
|
|
5977
|
+
"type": "stack",
|
|
5978
|
+
"gap": "sm",
|
|
5978
5979
|
"justify": "end",
|
|
5979
5980
|
"children": [
|
|
5980
5981
|
{
|
|
5982
|
+
"variant": "ghost",
|
|
5981
5983
|
"action": "CANCEL",
|
|
5982
|
-
"label": "Cancel",
|
|
5983
5984
|
"type": "button",
|
|
5984
|
-
"
|
|
5985
|
+
"label": "Cancel"
|
|
5985
5986
|
},
|
|
5986
5987
|
{
|
|
5987
|
-
"icon": "check",
|
|
5988
5988
|
"action": "CONFIRM_DELETE",
|
|
5989
|
+
"type": "button",
|
|
5989
5990
|
"label": "Delete",
|
|
5990
5991
|
"variant": "danger",
|
|
5991
|
-
"
|
|
5992
|
+
"icon": "check"
|
|
5992
5993
|
}
|
|
5993
5994
|
],
|
|
5994
|
-
"gap": "sm",
|
|
5995
|
-
"type": "stack",
|
|
5996
5995
|
"direction": "horizontal"
|
|
5997
5996
|
}
|
|
5998
|
-
]
|
|
5997
|
+
],
|
|
5998
|
+
"gap": "md"
|
|
5999
5999
|
}
|
|
6000
6000
|
]
|
|
6001
6001
|
]
|
|
@@ -6012,8 +6012,8 @@
|
|
|
6012
6012
|
"@entity.pendingId",
|
|
6013
6013
|
{
|
|
6014
6014
|
"emit": {
|
|
6015
|
-
"
|
|
6016
|
-
"
|
|
6015
|
+
"success": "OrderRecordDeleted",
|
|
6016
|
+
"failure": "OrderRecordDeleteFailed"
|
|
6017
6017
|
}
|
|
6018
6018
|
}
|
|
6019
6019
|
],
|
|
@@ -6034,8 +6034,8 @@
|
|
|
6034
6034
|
"OrderRecord",
|
|
6035
6035
|
{
|
|
6036
6036
|
"emit": {
|
|
6037
|
-
"
|
|
6038
|
-
"
|
|
6037
|
+
"failure": "OrderRecordLoadFailed",
|
|
6038
|
+
"success": "OrderRecordLoaded"
|
|
6039
6039
|
}
|
|
6040
6040
|
}
|
|
6041
6041
|
],
|
|
@@ -6096,8 +6096,8 @@
|
|
|
6096
6096
|
"OrderRecord",
|
|
6097
6097
|
{
|
|
6098
6098
|
"emit": {
|
|
6099
|
-
"
|
|
6100
|
-
"
|
|
6099
|
+
"failure": "OrderRecordLoadFailed",
|
|
6100
|
+
"success": "OrderRecordLoaded"
|
|
6101
6101
|
}
|
|
6102
6102
|
}
|
|
6103
6103
|
]
|