@almadar/std 7.4.7 → 7.4.8
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/atoms/std-agent-activity-log.orb +45 -45
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
- package/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
- package/behaviors/registry/atoms/std-agent-completion.orb +92 -92
- package/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
- package/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
- package/behaviors/registry/atoms/std-agent-memory.orb +72 -72
- package/behaviors/registry/atoms/std-agent-provider.orb +106 -106
- package/behaviors/registry/atoms/std-agent-search.orb +38 -38
- package/behaviors/registry/atoms/std-agent-session.orb +70 -70
- package/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
- package/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
- package/behaviors/registry/atoms/std-async.orb +224 -132
- package/behaviors/registry/atoms/std-autoregressive.orb +60 -60
- package/behaviors/registry/atoms/std-browse.orb +59 -59
- package/behaviors/registry/atoms/std-cache-aside.orb +322 -306
- package/behaviors/registry/atoms/std-calendar.orb +166 -166
- package/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
- package/behaviors/registry/atoms/std-collision.orb +133 -133
- package/behaviors/registry/atoms/std-combat-log.orb +9 -9
- package/behaviors/registry/atoms/std-combat.orb +63 -63
- package/behaviors/registry/atoms/std-confirmation.orb +21 -21
- package/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
- package/behaviors/registry/atoms/std-display.orb +366 -366
- package/behaviors/registry/atoms/std-drawer.orb +119 -119
- package/behaviors/registry/atoms/std-filter.orb +94 -94
- package/behaviors/registry/atoms/std-flip-card.orb +145 -145
- package/behaviors/registry/atoms/std-gallery.orb +51 -51
- package/behaviors/registry/atoms/std-game-audio.orb +88 -88
- package/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
- package/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
- package/behaviors/registry/atoms/std-game-hud.orb +15 -15
- package/behaviors/registry/atoms/std-game-menu.orb +21 -21
- package/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
- package/behaviors/registry/atoms/std-gameflow.orb +44 -44
- package/behaviors/registry/atoms/std-input.orb +107 -107
- package/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
- package/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
- package/behaviors/registry/atoms/std-loading.orb +82 -82
- package/behaviors/registry/atoms/std-modal.orb +11 -11
- package/behaviors/registry/atoms/std-movement.orb +285 -285
- package/behaviors/registry/atoms/std-notification.orb +60 -60
- package/behaviors/registry/atoms/std-overworld.orb +111 -111
- package/behaviors/registry/atoms/std-pagination.orb +45 -45
- package/behaviors/registry/atoms/std-physics2d.orb +77 -77
- package/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
- package/behaviors/registry/atoms/std-push.orb +44 -44
- package/behaviors/registry/atoms/std-quest.orb +314 -314
- package/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
- package/behaviors/registry/atoms/std-rating.orb +45 -45
- package/behaviors/registry/atoms/std-related.orb +38 -38
- package/behaviors/registry/atoms/std-score-board.orb +11 -11
- package/behaviors/registry/atoms/std-score.orb +125 -125
- package/behaviors/registry/atoms/std-search.orb +77 -77
- package/behaviors/registry/atoms/std-selection.orb +184 -184
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
- package/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
- package/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
- package/behaviors/registry/atoms/std-service-email.orb +88 -88
- package/behaviors/registry/atoms/std-service-github.orb +88 -88
- package/behaviors/registry/atoms/std-service-llm.orb +110 -110
- package/behaviors/registry/atoms/std-service-oauth.orb +125 -125
- package/behaviors/registry/atoms/std-service-redis.orb +87 -87
- package/behaviors/registry/atoms/std-service-storage.orb +101 -101
- package/behaviors/registry/atoms/std-service-stripe.orb +99 -99
- package/behaviors/registry/atoms/std-service-twilio.orb +103 -103
- package/behaviors/registry/atoms/std-service-youtube.orb +111 -111
- package/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
- package/behaviors/registry/atoms/std-sort.orb +198 -198
- package/behaviors/registry/atoms/std-sprite.orb +54 -54
- package/behaviors/registry/atoms/std-tabs.orb +47 -47
- package/behaviors/registry/atoms/std-text-effects.orb +125 -125
- package/behaviors/registry/atoms/std-theme.orb +114 -114
- package/behaviors/registry/atoms/std-timer.orb +298 -298
- package/behaviors/registry/atoms/std-undo.orb +186 -186
- package/behaviors/registry/atoms/std-upload.orb +88 -88
- package/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
- package/behaviors/registry/atoms/std-wizard.orb +261 -261
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
- package/behaviors/registry/molecules/std-agent-learner.orb +180 -180
- package/behaviors/registry/molecules/std-agent-planner.orb +136 -136
- package/behaviors/registry/molecules/std-agent-rag.orb +106 -106
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
- package/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
- package/behaviors/registry/molecules/std-builder-game.orb +20 -20
- package/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
- package/behaviors/registry/molecules/std-cart.orb +47 -47
- package/behaviors/registry/molecules/std-classifier-game.orb +16 -16
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
- package/behaviors/registry/molecules/std-debugger-game.orb +13 -13
- package/behaviors/registry/molecules/std-detail.orb +78 -78
- package/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
- package/behaviors/registry/molecules/std-filtered-list.orb +4 -4
- package/behaviors/registry/molecules/std-form-advanced.orb +134 -134
- package/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
- package/behaviors/registry/molecules/std-geospatial.orb +81 -81
- package/behaviors/registry/molecules/std-inventory.orb +53 -53
- package/behaviors/registry/molecules/std-list.orb +57 -57
- package/behaviors/registry/molecules/std-messaging.orb +67 -67
- package/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
- package/behaviors/registry/molecules/std-platformer-game.orb +67 -67
- package/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
- package/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
- package/behaviors/registry/molecules/std-quiz.orb +204 -204
- package/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
- package/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
- package/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
- package/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
- package/behaviors/registry/molecules/std-simulator-game.orb +18 -18
- package/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
- package/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
- package/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
- package/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
- package/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
- package/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
- package/behaviors/registry/organisms/std-api-gateway.orb +808 -808
- package/behaviors/registry/organisms/std-arcade-game.orb +131 -131
- package/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
- package/behaviors/registry/organisms/std-cms.orb +393 -393
- package/behaviors/registry/organisms/std-coding-academy.orb +397 -397
- package/behaviors/registry/organisms/std-crm.orb +751 -751
- package/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
- package/behaviors/registry/organisms/std-ecommerce.orb +858 -858
- package/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
- package/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
- package/behaviors/registry/organisms/std-helpdesk.orb +635 -635
- package/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
- package/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
- package/behaviors/registry/organisms/std-lms.orb +834 -834
- package/behaviors/registry/organisms/std-logic-training.orb +73 -73
- package/behaviors/registry/organisms/std-platformer-app.orb +209 -209
- package/behaviors/registry/organisms/std-project-manager.orb +661 -661
- package/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
- package/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
- package/behaviors/registry/organisms/std-rpg-game.orb +630 -630
- package/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
- package/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
- package/behaviors/registry/organisms/std-social-feed.orb +188 -188
- package/behaviors/registry/organisms/std-stem-lab.orb +374 -374
- package/behaviors/registry/organisms/std-strategy-game.orb +472 -472
- package/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +45 -45
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +92 -92
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +72 -72
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +106 -106
- package/dist/behaviors/registry/atoms/std-agent-search.orb +38 -38
- package/dist/behaviors/registry/atoms/std-agent-session.orb +70 -70
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
- package/dist/behaviors/registry/atoms/std-async.orb +224 -132
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +60 -60
- package/dist/behaviors/registry/atoms/std-browse.orb +59 -59
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +322 -306
- package/dist/behaviors/registry/atoms/std-calendar.orb +166 -166
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
- package/dist/behaviors/registry/atoms/std-collision.orb +133 -133
- package/dist/behaviors/registry/atoms/std-combat-log.orb +9 -9
- package/dist/behaviors/registry/atoms/std-combat.orb +63 -63
- package/dist/behaviors/registry/atoms/std-confirmation.orb +21 -21
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
- package/dist/behaviors/registry/atoms/std-display.orb +366 -366
- package/dist/behaviors/registry/atoms/std-drawer.orb +119 -119
- package/dist/behaviors/registry/atoms/std-filter.orb +94 -94
- package/dist/behaviors/registry/atoms/std-flip-card.orb +145 -145
- package/dist/behaviors/registry/atoms/std-gallery.orb +51 -51
- package/dist/behaviors/registry/atoms/std-game-audio.orb +88 -88
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
- package/dist/behaviors/registry/atoms/std-game-hud.orb +15 -15
- package/dist/behaviors/registry/atoms/std-game-menu.orb +21 -21
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
- package/dist/behaviors/registry/atoms/std-gameflow.orb +44 -44
- package/dist/behaviors/registry/atoms/std-input.orb +107 -107
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
- package/dist/behaviors/registry/atoms/std-loading.orb +82 -82
- package/dist/behaviors/registry/atoms/std-modal.orb +11 -11
- package/dist/behaviors/registry/atoms/std-movement.orb +285 -285
- package/dist/behaviors/registry/atoms/std-notification.orb +60 -60
- package/dist/behaviors/registry/atoms/std-overworld.orb +111 -111
- package/dist/behaviors/registry/atoms/std-pagination.orb +45 -45
- package/dist/behaviors/registry/atoms/std-physics2d.orb +77 -77
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
- package/dist/behaviors/registry/atoms/std-push.orb +44 -44
- package/dist/behaviors/registry/atoms/std-quest.orb +314 -314
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
- package/dist/behaviors/registry/atoms/std-rating.orb +45 -45
- package/dist/behaviors/registry/atoms/std-related.orb +38 -38
- package/dist/behaviors/registry/atoms/std-score-board.orb +11 -11
- package/dist/behaviors/registry/atoms/std-score.orb +125 -125
- package/dist/behaviors/registry/atoms/std-search.orb +77 -77
- package/dist/behaviors/registry/atoms/std-selection.orb +184 -184
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
- package/dist/behaviors/registry/atoms/std-service-email.orb +88 -88
- package/dist/behaviors/registry/atoms/std-service-github.orb +88 -88
- package/dist/behaviors/registry/atoms/std-service-llm.orb +110 -110
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +125 -125
- package/dist/behaviors/registry/atoms/std-service-redis.orb +87 -87
- package/dist/behaviors/registry/atoms/std-service-storage.orb +101 -101
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +99 -99
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +103 -103
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +111 -111
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
- package/dist/behaviors/registry/atoms/std-sort.orb +198 -198
- package/dist/behaviors/registry/atoms/std-sprite.orb +54 -54
- package/dist/behaviors/registry/atoms/std-tabs.orb +47 -47
- package/dist/behaviors/registry/atoms/std-text-effects.orb +125 -125
- package/dist/behaviors/registry/atoms/std-theme.orb +114 -114
- package/dist/behaviors/registry/atoms/std-timer.orb +298 -298
- package/dist/behaviors/registry/atoms/std-undo.orb +186 -186
- package/dist/behaviors/registry/atoms/std-upload.orb +88 -88
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
- package/dist/behaviors/registry/atoms/std-wizard.orb +261 -261
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +180 -180
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +136 -136
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +106 -106
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
- package/dist/behaviors/registry/molecules/std-builder-game.orb +20 -20
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
- package/dist/behaviors/registry/molecules/std-cart.orb +47 -47
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +16 -16
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +13 -13
- package/dist/behaviors/registry/molecules/std-detail.orb +78 -78
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +4 -4
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +134 -134
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
- package/dist/behaviors/registry/molecules/std-geospatial.orb +81 -81
- package/dist/behaviors/registry/molecules/std-inventory.orb +53 -53
- package/dist/behaviors/registry/molecules/std-list.orb +57 -57
- package/dist/behaviors/registry/molecules/std-messaging.orb +67 -67
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +67 -67
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
- package/dist/behaviors/registry/molecules/std-quiz.orb +204 -204
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +18 -18
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +808 -808
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +131 -131
- package/dist/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
- package/dist/behaviors/registry/organisms/std-cms.orb +393 -393
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +397 -397
- package/dist/behaviors/registry/organisms/std-crm.orb +751 -751
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +858 -858
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
- package/dist/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +635 -635
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
- package/dist/behaviors/registry/organisms/std-lms.orb +834 -834
- package/dist/behaviors/registry/organisms/std-logic-training.orb +73 -73
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +209 -209
- package/dist/behaviors/registry/organisms/std-project-manager.orb +661 -661
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +630 -630
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
- package/dist/behaviors/registry/organisms/std-social-feed.orb +188 -188
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +374 -374
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +472 -472
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
- package/package.json +1 -1
|
@@ -272,49 +272,72 @@
|
|
|
272
272
|
"render-ui",
|
|
273
273
|
"main",
|
|
274
274
|
{
|
|
275
|
+
"navItems": [
|
|
276
|
+
{
|
|
277
|
+
"label": "Products",
|
|
278
|
+
"href": "/products",
|
|
279
|
+
"icon": "package"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"label": "Cart",
|
|
283
|
+
"icon": "shopping-cart",
|
|
284
|
+
"href": "/cart"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"icon": "credit-card",
|
|
288
|
+
"label": "Checkout",
|
|
289
|
+
"href": "/checkout"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"label": "Orders",
|
|
293
|
+
"icon": "clipboard-list",
|
|
294
|
+
"href": "/orders"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
275
297
|
"children": [
|
|
276
298
|
{
|
|
299
|
+
"gap": "lg",
|
|
300
|
+
"direction": "vertical",
|
|
277
301
|
"type": "stack",
|
|
278
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
279
302
|
"children": [
|
|
280
303
|
{
|
|
281
|
-
"type": "stack",
|
|
282
|
-
"direction": "horizontal",
|
|
283
|
-
"gap": "md",
|
|
284
|
-
"justify": "between",
|
|
285
304
|
"children": [
|
|
286
305
|
{
|
|
306
|
+
"direction": "horizontal",
|
|
307
|
+
"gap": "sm",
|
|
308
|
+
"align": "center",
|
|
309
|
+
"type": "stack",
|
|
287
310
|
"children": [
|
|
288
311
|
{
|
|
289
|
-
"
|
|
290
|
-
"
|
|
312
|
+
"name": "package",
|
|
313
|
+
"type": "icon"
|
|
291
314
|
},
|
|
292
315
|
{
|
|
316
|
+
"variant": "h2",
|
|
293
317
|
"type": "typography",
|
|
294
|
-
"content": "Products"
|
|
295
|
-
"variant": "h2"
|
|
318
|
+
"content": "Products"
|
|
296
319
|
}
|
|
297
|
-
]
|
|
298
|
-
"align": "center",
|
|
299
|
-
"type": "stack",
|
|
300
|
-
"direction": "horizontal",
|
|
301
|
-
"gap": "sm"
|
|
320
|
+
]
|
|
302
321
|
},
|
|
303
322
|
{
|
|
323
|
+
"type": "stack",
|
|
304
324
|
"gap": "sm",
|
|
305
325
|
"direction": "horizontal",
|
|
306
326
|
"children": [
|
|
307
327
|
{
|
|
308
|
-
"
|
|
328
|
+
"type": "button",
|
|
309
329
|
"label": "Create Product",
|
|
330
|
+
"action": "CREATE",
|
|
310
331
|
"variant": "primary",
|
|
311
|
-
"icon": "plus"
|
|
312
|
-
"type": "button"
|
|
332
|
+
"icon": "plus"
|
|
313
333
|
}
|
|
314
|
-
]
|
|
315
|
-
"type": "stack"
|
|
334
|
+
]
|
|
316
335
|
}
|
|
317
336
|
],
|
|
337
|
+
"gap": "md",
|
|
338
|
+
"type": "stack",
|
|
339
|
+
"direction": "horizontal",
|
|
340
|
+
"justify": "between",
|
|
318
341
|
"align": "center"
|
|
319
342
|
},
|
|
320
343
|
{
|
|
@@ -322,82 +345,59 @@
|
|
|
322
345
|
},
|
|
323
346
|
{
|
|
324
347
|
"gap": "md",
|
|
348
|
+
"cols": 3.0,
|
|
325
349
|
"entity": "Product",
|
|
350
|
+
"type": "data-grid",
|
|
351
|
+
"itemActions": [
|
|
352
|
+
{
|
|
353
|
+
"variant": "ghost",
|
|
354
|
+
"event": "VIEW",
|
|
355
|
+
"label": "View"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"event": "EDIT",
|
|
359
|
+
"label": "Edit",
|
|
360
|
+
"variant": "ghost"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"label": "Delete",
|
|
364
|
+
"event": "DELETE",
|
|
365
|
+
"variant": "danger"
|
|
366
|
+
}
|
|
367
|
+
],
|
|
326
368
|
"columns": [
|
|
327
369
|
{
|
|
328
|
-
"
|
|
370
|
+
"variant": "h3",
|
|
329
371
|
"icon": "package",
|
|
330
|
-
"
|
|
372
|
+
"name": "name"
|
|
331
373
|
},
|
|
332
374
|
{
|
|
333
|
-
"
|
|
334
|
-
"
|
|
375
|
+
"variant": "badge",
|
|
376
|
+
"name": "category"
|
|
335
377
|
},
|
|
336
378
|
{
|
|
337
|
-
"format": "currency",
|
|
338
379
|
"name": "price",
|
|
339
|
-
"variant": "h4"
|
|
380
|
+
"variant": "h4",
|
|
381
|
+
"format": "currency"
|
|
340
382
|
},
|
|
341
383
|
{
|
|
342
|
-
"
|
|
343
|
-
"
|
|
384
|
+
"name": "sku",
|
|
385
|
+
"variant": "caption"
|
|
344
386
|
},
|
|
345
387
|
{
|
|
388
|
+
"label": "In Stock",
|
|
346
389
|
"name": "inStock",
|
|
347
390
|
"variant": "body",
|
|
348
|
-
"label": "In Stock",
|
|
349
391
|
"format": "boolean"
|
|
350
392
|
}
|
|
351
393
|
],
|
|
352
|
-
"
|
|
353
|
-
"itemActions": [
|
|
354
|
-
{
|
|
355
|
-
"label": "View",
|
|
356
|
-
"event": "VIEW",
|
|
357
|
-
"variant": "ghost"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"label": "Edit",
|
|
361
|
-
"variant": "ghost",
|
|
362
|
-
"event": "EDIT"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"variant": "danger",
|
|
366
|
-
"label": "Delete",
|
|
367
|
-
"event": "DELETE"
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
|
-
"fields": [],
|
|
371
|
-
"cols": 3.0
|
|
394
|
+
"fields": []
|
|
372
395
|
}
|
|
373
396
|
],
|
|
374
|
-
"
|
|
375
|
-
"gap": "lg"
|
|
397
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
376
398
|
}
|
|
377
399
|
],
|
|
378
400
|
"appName": "EcommerceApp",
|
|
379
|
-
"navItems": [
|
|
380
|
-
{
|
|
381
|
-
"href": "/products",
|
|
382
|
-
"icon": "package",
|
|
383
|
-
"label": "Products"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"href": "/cart",
|
|
387
|
-
"icon": "shopping-cart",
|
|
388
|
-
"label": "Cart"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"icon": "credit-card",
|
|
392
|
-
"label": "Checkout",
|
|
393
|
-
"href": "/checkout"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"href": "/orders",
|
|
397
|
-
"icon": "clipboard-list",
|
|
398
|
-
"label": "Orders"
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
401
|
"type": "dashboard-layout"
|
|
402
402
|
}
|
|
403
403
|
]
|
|
@@ -588,8 +588,8 @@
|
|
|
588
588
|
"Product",
|
|
589
589
|
{
|
|
590
590
|
"emit": {
|
|
591
|
-
"
|
|
592
|
-
"
|
|
591
|
+
"failure": "ProductLoadFailed",
|
|
592
|
+
"success": "ProductLoaded"
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
],
|
|
@@ -597,14 +597,10 @@
|
|
|
597
597
|
"render-ui",
|
|
598
598
|
"modal",
|
|
599
599
|
{
|
|
600
|
-
"type": "stack",
|
|
601
|
-
"direction": "vertical",
|
|
602
|
-
"gap": "md",
|
|
603
600
|
"children": [
|
|
604
601
|
{
|
|
605
|
-
"direction": "horizontal",
|
|
606
|
-
"type": "stack",
|
|
607
602
|
"gap": "sm",
|
|
603
|
+
"type": "stack",
|
|
608
604
|
"children": [
|
|
609
605
|
{
|
|
610
606
|
"name": "plus-circle",
|
|
@@ -615,14 +611,13 @@
|
|
|
615
611
|
"type": "typography",
|
|
616
612
|
"variant": "h3"
|
|
617
613
|
}
|
|
618
|
-
]
|
|
614
|
+
],
|
|
615
|
+
"direction": "horizontal"
|
|
619
616
|
},
|
|
620
617
|
{
|
|
621
618
|
"type": "divider"
|
|
622
619
|
},
|
|
623
620
|
{
|
|
624
|
-
"entity": "Product",
|
|
625
|
-
"cancelEvent": "CLOSE",
|
|
626
621
|
"fields": [
|
|
627
622
|
"name",
|
|
628
623
|
"description",
|
|
@@ -631,11 +626,16 @@
|
|
|
631
626
|
"sku",
|
|
632
627
|
"inStock"
|
|
633
628
|
],
|
|
634
|
-
"
|
|
629
|
+
"cancelEvent": "CLOSE",
|
|
635
630
|
"type": "form-section",
|
|
636
|
-
"
|
|
631
|
+
"entity": "Product",
|
|
632
|
+
"submitEvent": "SAVE",
|
|
633
|
+
"mode": "create"
|
|
637
634
|
}
|
|
638
|
-
]
|
|
635
|
+
],
|
|
636
|
+
"type": "stack",
|
|
637
|
+
"gap": "md",
|
|
638
|
+
"direction": "vertical"
|
|
639
639
|
}
|
|
640
640
|
]
|
|
641
641
|
]
|
|
@@ -895,30 +895,31 @@
|
|
|
895
895
|
"render-ui",
|
|
896
896
|
"modal",
|
|
897
897
|
{
|
|
898
|
-
"
|
|
898
|
+
"type": "stack",
|
|
899
899
|
"children": [
|
|
900
900
|
{
|
|
901
|
-
"
|
|
901
|
+
"gap": "sm",
|
|
902
|
+
"type": "stack",
|
|
902
903
|
"children": [
|
|
903
904
|
{
|
|
904
905
|
"name": "edit",
|
|
905
906
|
"type": "icon"
|
|
906
907
|
},
|
|
907
908
|
{
|
|
909
|
+
"variant": "h3",
|
|
908
910
|
"content": "Edit Product",
|
|
909
|
-
"type": "typography"
|
|
910
|
-
"variant": "h3"
|
|
911
|
+
"type": "typography"
|
|
911
912
|
}
|
|
912
913
|
],
|
|
913
|
-
"
|
|
914
|
-
"type": "stack"
|
|
914
|
+
"direction": "horizontal"
|
|
915
915
|
},
|
|
916
916
|
{
|
|
917
917
|
"type": "divider"
|
|
918
918
|
},
|
|
919
919
|
{
|
|
920
920
|
"entity": "Product",
|
|
921
|
-
"
|
|
921
|
+
"mode": "edit",
|
|
922
|
+
"cancelEvent": "CLOSE",
|
|
922
923
|
"fields": [
|
|
923
924
|
"name",
|
|
924
925
|
"description",
|
|
@@ -928,13 +929,12 @@
|
|
|
928
929
|
"inStock"
|
|
929
930
|
],
|
|
930
931
|
"entityId": "@entity.id",
|
|
931
|
-
"
|
|
932
|
-
"
|
|
933
|
-
"cancelEvent": "CLOSE"
|
|
932
|
+
"submitEvent": "SAVE",
|
|
933
|
+
"type": "form-section"
|
|
934
934
|
}
|
|
935
935
|
],
|
|
936
|
-
"
|
|
937
|
-
"
|
|
936
|
+
"direction": "vertical",
|
|
937
|
+
"gap": "md"
|
|
938
938
|
}
|
|
939
939
|
]
|
|
940
940
|
]
|
|
@@ -1180,72 +1180,69 @@
|
|
|
1180
1180
|
"render-ui",
|
|
1181
1181
|
"modal",
|
|
1182
1182
|
{
|
|
1183
|
-
"gap": "md",
|
|
1184
|
-
"type": "stack",
|
|
1185
1183
|
"direction": "vertical",
|
|
1184
|
+
"gap": "md",
|
|
1186
1185
|
"children": [
|
|
1187
1186
|
{
|
|
1188
|
-
"align": "center",
|
|
1189
1187
|
"type": "stack",
|
|
1188
|
+
"align": "center",
|
|
1189
|
+
"direction": "horizontal",
|
|
1190
1190
|
"children": [
|
|
1191
1191
|
{
|
|
1192
|
-
"
|
|
1193
|
-
"
|
|
1192
|
+
"name": "eye",
|
|
1193
|
+
"type": "icon"
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
|
-
"variant": "h3",
|
|
1197
1196
|
"content": "@entity.name",
|
|
1198
|
-
"type": "typography"
|
|
1197
|
+
"type": "typography",
|
|
1198
|
+
"variant": "h3"
|
|
1199
1199
|
}
|
|
1200
1200
|
],
|
|
1201
|
-
"gap": "sm"
|
|
1202
|
-
"direction": "horizontal"
|
|
1201
|
+
"gap": "sm"
|
|
1203
1202
|
},
|
|
1204
1203
|
{
|
|
1205
1204
|
"type": "divider"
|
|
1206
1205
|
},
|
|
1207
1206
|
{
|
|
1208
|
-
"type": "stack",
|
|
1209
1207
|
"gap": "md",
|
|
1210
1208
|
"direction": "horizontal",
|
|
1211
1209
|
"children": [
|
|
1212
1210
|
{
|
|
1213
1211
|
"type": "typography",
|
|
1214
|
-
"
|
|
1215
|
-
"
|
|
1212
|
+
"content": "Name",
|
|
1213
|
+
"variant": "caption"
|
|
1216
1214
|
},
|
|
1217
1215
|
{
|
|
1218
|
-
"
|
|
1216
|
+
"content": "@entity.name",
|
|
1219
1217
|
"variant": "body",
|
|
1220
|
-
"
|
|
1218
|
+
"type": "typography"
|
|
1221
1219
|
}
|
|
1222
|
-
]
|
|
1220
|
+
],
|
|
1221
|
+
"type": "stack"
|
|
1223
1222
|
},
|
|
1224
1223
|
{
|
|
1225
|
-
"direction": "horizontal",
|
|
1226
|
-
"type": "stack",
|
|
1227
|
-
"gap": "md",
|
|
1228
1224
|
"children": [
|
|
1229
1225
|
{
|
|
1226
|
+
"variant": "caption",
|
|
1230
1227
|
"content": "Description",
|
|
1231
|
-
"type": "typography"
|
|
1232
|
-
"variant": "caption"
|
|
1228
|
+
"type": "typography"
|
|
1233
1229
|
},
|
|
1234
1230
|
{
|
|
1235
|
-
"
|
|
1231
|
+
"content": "@entity.description",
|
|
1236
1232
|
"type": "typography",
|
|
1237
|
-
"
|
|
1233
|
+
"variant": "body"
|
|
1238
1234
|
}
|
|
1239
|
-
]
|
|
1235
|
+
],
|
|
1236
|
+
"direction": "horizontal",
|
|
1237
|
+
"type": "stack",
|
|
1238
|
+
"gap": "md"
|
|
1240
1239
|
},
|
|
1241
1240
|
{
|
|
1242
|
-
"direction": "horizontal",
|
|
1243
|
-
"gap": "md",
|
|
1244
1241
|
"children": [
|
|
1245
1242
|
{
|
|
1246
|
-
"content": "Price",
|
|
1247
1243
|
"type": "typography",
|
|
1248
|
-
"variant": "caption"
|
|
1244
|
+
"variant": "caption",
|
|
1245
|
+
"content": "Price"
|
|
1249
1246
|
},
|
|
1250
1247
|
{
|
|
1251
1248
|
"variant": "body",
|
|
@@ -1253,28 +1250,28 @@
|
|
|
1253
1250
|
"content": "@entity.price"
|
|
1254
1251
|
}
|
|
1255
1252
|
],
|
|
1256
|
-
"type": "stack"
|
|
1253
|
+
"type": "stack",
|
|
1254
|
+
"direction": "horizontal",
|
|
1255
|
+
"gap": "md"
|
|
1257
1256
|
},
|
|
1258
1257
|
{
|
|
1259
|
-
"gap": "md",
|
|
1260
|
-
"direction": "horizontal",
|
|
1261
|
-
"type": "stack",
|
|
1262
1258
|
"children": [
|
|
1263
1259
|
{
|
|
1264
|
-
"content": "Category",
|
|
1265
1260
|
"variant": "caption",
|
|
1261
|
+
"content": "Category",
|
|
1266
1262
|
"type": "typography"
|
|
1267
1263
|
},
|
|
1268
1264
|
{
|
|
1269
|
-
"
|
|
1265
|
+
"type": "typography",
|
|
1270
1266
|
"content": "@entity.category",
|
|
1271
|
-
"
|
|
1267
|
+
"variant": "body"
|
|
1272
1268
|
}
|
|
1273
|
-
]
|
|
1269
|
+
],
|
|
1270
|
+
"type": "stack",
|
|
1271
|
+
"direction": "horizontal",
|
|
1272
|
+
"gap": "md"
|
|
1274
1273
|
},
|
|
1275
1274
|
{
|
|
1276
|
-
"direction": "horizontal",
|
|
1277
|
-
"type": "stack",
|
|
1278
1275
|
"gap": "md",
|
|
1279
1276
|
"children": [
|
|
1280
1277
|
{
|
|
@@ -1283,54 +1280,57 @@
|
|
|
1283
1280
|
"content": "Sku"
|
|
1284
1281
|
},
|
|
1285
1282
|
{
|
|
1286
|
-
"variant": "body",
|
|
1287
1283
|
"type": "typography",
|
|
1284
|
+
"variant": "body",
|
|
1288
1285
|
"content": "@entity.sku"
|
|
1289
1286
|
}
|
|
1290
|
-
]
|
|
1287
|
+
],
|
|
1288
|
+
"direction": "horizontal",
|
|
1289
|
+
"type": "stack"
|
|
1291
1290
|
},
|
|
1292
1291
|
{
|
|
1293
|
-
"gap": "md",
|
|
1294
1292
|
"children": [
|
|
1295
1293
|
{
|
|
1296
|
-
"type": "typography",
|
|
1297
1294
|
"variant": "caption",
|
|
1298
|
-
"content": "In Stock"
|
|
1295
|
+
"content": "In Stock",
|
|
1296
|
+
"type": "typography"
|
|
1299
1297
|
},
|
|
1300
1298
|
{
|
|
1301
|
-
"content": "@entity.inStock",
|
|
1302
1299
|
"type": "typography",
|
|
1303
|
-
"variant": "body"
|
|
1300
|
+
"variant": "body",
|
|
1301
|
+
"content": "@entity.inStock"
|
|
1304
1302
|
}
|
|
1305
1303
|
],
|
|
1306
1304
|
"type": "stack",
|
|
1305
|
+
"gap": "md",
|
|
1307
1306
|
"direction": "horizontal"
|
|
1308
1307
|
},
|
|
1309
1308
|
{
|
|
1310
1309
|
"type": "divider"
|
|
1311
1310
|
},
|
|
1312
1311
|
{
|
|
1313
|
-
"
|
|
1312
|
+
"gap": "sm",
|
|
1313
|
+
"justify": "end",
|
|
1314
1314
|
"children": [
|
|
1315
1315
|
{
|
|
1316
1316
|
"icon": "edit",
|
|
1317
|
-
"type": "button",
|
|
1318
|
-
"label": "Edit",
|
|
1319
1317
|
"action": "EDIT",
|
|
1320
|
-
"variant": "primary"
|
|
1318
|
+
"variant": "primary",
|
|
1319
|
+
"label": "Edit",
|
|
1320
|
+
"type": "button"
|
|
1321
1321
|
},
|
|
1322
1322
|
{
|
|
1323
|
+
"variant": "ghost",
|
|
1323
1324
|
"type": "button",
|
|
1324
|
-
"action": "CLOSE",
|
|
1325
1325
|
"label": "Close",
|
|
1326
|
-
"
|
|
1326
|
+
"action": "CLOSE"
|
|
1327
1327
|
}
|
|
1328
1328
|
],
|
|
1329
|
-
"
|
|
1330
|
-
"gap": "sm",
|
|
1329
|
+
"direction": "horizontal",
|
|
1331
1330
|
"type": "stack"
|
|
1332
1331
|
}
|
|
1333
|
-
]
|
|
1332
|
+
],
|
|
1333
|
+
"type": "stack"
|
|
1334
1334
|
}
|
|
1335
1335
|
]
|
|
1336
1336
|
]
|
|
@@ -1582,23 +1582,22 @@
|
|
|
1582
1582
|
"render-ui",
|
|
1583
1583
|
"modal",
|
|
1584
1584
|
{
|
|
1585
|
-
"type": "stack",
|
|
1586
1585
|
"direction": "vertical",
|
|
1587
|
-
"
|
|
1586
|
+
"type": "stack",
|
|
1588
1587
|
"children": [
|
|
1589
1588
|
{
|
|
1589
|
+
"align": "center",
|
|
1590
1590
|
"type": "stack",
|
|
1591
1591
|
"gap": "sm",
|
|
1592
|
-
"align": "center",
|
|
1593
1592
|
"children": [
|
|
1594
1593
|
{
|
|
1595
|
-
"
|
|
1596
|
-
"
|
|
1594
|
+
"name": "alert-triangle",
|
|
1595
|
+
"type": "icon"
|
|
1597
1596
|
},
|
|
1598
1597
|
{
|
|
1599
1598
|
"variant": "h3",
|
|
1600
|
-
"
|
|
1601
|
-
"
|
|
1599
|
+
"type": "typography",
|
|
1600
|
+
"content": "Delete Product"
|
|
1602
1601
|
}
|
|
1603
1602
|
],
|
|
1604
1603
|
"direction": "horizontal"
|
|
@@ -1612,27 +1611,28 @@
|
|
|
1612
1611
|
"type": "alert"
|
|
1613
1612
|
},
|
|
1614
1613
|
{
|
|
1615
|
-
"
|
|
1614
|
+
"gap": "sm",
|
|
1616
1615
|
"justify": "end",
|
|
1616
|
+
"direction": "horizontal",
|
|
1617
1617
|
"children": [
|
|
1618
1618
|
{
|
|
1619
|
-
"type": "button",
|
|
1620
|
-
"variant": "ghost",
|
|
1621
1619
|
"label": "Cancel",
|
|
1622
|
-
"
|
|
1620
|
+
"variant": "ghost",
|
|
1621
|
+
"action": "CANCEL",
|
|
1622
|
+
"type": "button"
|
|
1623
1623
|
},
|
|
1624
1624
|
{
|
|
1625
|
-
"type": "button",
|
|
1626
1625
|
"variant": "danger",
|
|
1627
1626
|
"action": "CONFIRM_DELETE",
|
|
1628
1627
|
"label": "Delete",
|
|
1629
|
-
"icon": "check"
|
|
1628
|
+
"icon": "check",
|
|
1629
|
+
"type": "button"
|
|
1630
1630
|
}
|
|
1631
1631
|
],
|
|
1632
|
-
"type": "stack"
|
|
1633
|
-
"gap": "sm"
|
|
1632
|
+
"type": "stack"
|
|
1634
1633
|
}
|
|
1635
|
-
]
|
|
1634
|
+
],
|
|
1635
|
+
"gap": "md"
|
|
1636
1636
|
}
|
|
1637
1637
|
]
|
|
1638
1638
|
]
|
|
@@ -1949,58 +1949,59 @@
|
|
|
1949
1949
|
"navItems": [
|
|
1950
1950
|
{
|
|
1951
1951
|
"label": "Products",
|
|
1952
|
-
"
|
|
1953
|
-
"
|
|
1952
|
+
"icon": "package",
|
|
1953
|
+
"href": "/products"
|
|
1954
1954
|
},
|
|
1955
1955
|
{
|
|
1956
1956
|
"href": "/cart",
|
|
1957
|
-
"
|
|
1958
|
-
"
|
|
1957
|
+
"label": "Cart",
|
|
1958
|
+
"icon": "shopping-cart"
|
|
1959
1959
|
},
|
|
1960
1960
|
{
|
|
1961
|
-
"href": "/checkout",
|
|
1962
1961
|
"icon": "credit-card",
|
|
1963
|
-
"label": "Checkout"
|
|
1962
|
+
"label": "Checkout",
|
|
1963
|
+
"href": "/checkout"
|
|
1964
1964
|
},
|
|
1965
1965
|
{
|
|
1966
|
-
"
|
|
1966
|
+
"href": "/orders",
|
|
1967
1967
|
"icon": "clipboard-list",
|
|
1968
|
-
"
|
|
1968
|
+
"label": "Orders"
|
|
1969
1969
|
}
|
|
1970
1970
|
],
|
|
1971
|
+
"appName": "EcommerceApp",
|
|
1971
1972
|
"children": [
|
|
1972
1973
|
{
|
|
1973
|
-
"type": "stack",
|
|
1974
1974
|
"direction": "vertical",
|
|
1975
1975
|
"gap": "lg",
|
|
1976
|
+
"type": "stack",
|
|
1976
1977
|
"children": [
|
|
1977
1978
|
{
|
|
1978
|
-
"direction": "horizontal",
|
|
1979
|
-
"justify": "between",
|
|
1980
1979
|
"type": "stack",
|
|
1980
|
+
"justify": "between",
|
|
1981
1981
|
"gap": "md",
|
|
1982
|
+
"direction": "horizontal",
|
|
1982
1983
|
"children": [
|
|
1983
1984
|
{
|
|
1984
1985
|
"type": "stack",
|
|
1986
|
+
"gap": "md",
|
|
1987
|
+
"direction": "horizontal",
|
|
1985
1988
|
"children": [
|
|
1986
1989
|
{
|
|
1987
1990
|
"type": "icon",
|
|
1988
1991
|
"name": "shopping-cart"
|
|
1989
1992
|
},
|
|
1990
1993
|
{
|
|
1994
|
+
"variant": "h2",
|
|
1991
1995
|
"type": "typography",
|
|
1992
|
-
"content": "Shopping Cart"
|
|
1993
|
-
"variant": "h2"
|
|
1996
|
+
"content": "Shopping Cart"
|
|
1994
1997
|
}
|
|
1995
|
-
]
|
|
1996
|
-
"direction": "horizontal",
|
|
1997
|
-
"gap": "md"
|
|
1998
|
+
]
|
|
1998
1999
|
},
|
|
1999
2000
|
{
|
|
2000
|
-
"variant": "primary",
|
|
2001
|
-
"icon": "plus",
|
|
2002
2001
|
"action": "ADD_ITEM",
|
|
2002
|
+
"variant": "primary",
|
|
2003
2003
|
"type": "button",
|
|
2004
|
+
"icon": "plus",
|
|
2004
2005
|
"label": "Add Item"
|
|
2005
2006
|
}
|
|
2006
2007
|
]
|
|
@@ -2009,44 +2010,44 @@
|
|
|
2009
2010
|
"type": "divider"
|
|
2010
2011
|
},
|
|
2011
2012
|
{
|
|
2012
|
-
"cols": 3.0,
|
|
2013
2013
|
"children": [
|
|
2014
2014
|
{
|
|
2015
2015
|
"label": "Items",
|
|
2016
2016
|
"type": "stat-display",
|
|
2017
|
-
"icon": "package",
|
|
2018
2017
|
"value": [
|
|
2019
2018
|
"array/len",
|
|
2020
2019
|
"@entity"
|
|
2021
|
-
]
|
|
2020
|
+
],
|
|
2021
|
+
"icon": "package"
|
|
2022
2022
|
},
|
|
2023
2023
|
{
|
|
2024
|
-
"type": "stat-display",
|
|
2025
2024
|
"icon": "dollar-sign",
|
|
2026
|
-
"
|
|
2025
|
+
"type": "stat-display",
|
|
2027
2026
|
"value": [
|
|
2028
2027
|
"array/len",
|
|
2029
2028
|
"@entity"
|
|
2030
|
-
]
|
|
2029
|
+
],
|
|
2030
|
+
"label": "Subtotal"
|
|
2031
2031
|
},
|
|
2032
2032
|
{
|
|
2033
|
-
"type": "stat-display",
|
|
2034
|
-
"icon": "receipt",
|
|
2035
2033
|
"label": "Total",
|
|
2036
2034
|
"value": [
|
|
2037
2035
|
"array/len",
|
|
2038
2036
|
"@entity"
|
|
2039
|
-
]
|
|
2037
|
+
],
|
|
2038
|
+
"type": "stat-display",
|
|
2039
|
+
"icon": "receipt"
|
|
2040
2040
|
}
|
|
2041
2041
|
],
|
|
2042
|
-
"type": "simple-grid"
|
|
2042
|
+
"type": "simple-grid",
|
|
2043
|
+
"cols": 3.0
|
|
2043
2044
|
},
|
|
2044
2045
|
{
|
|
2045
2046
|
"type": "divider"
|
|
2046
2047
|
},
|
|
2047
2048
|
{
|
|
2048
2049
|
"fields": [],
|
|
2049
|
-
"
|
|
2050
|
+
"type": "data-grid",
|
|
2050
2051
|
"itemActions": [
|
|
2051
2052
|
{
|
|
2052
2053
|
"label": "Remove",
|
|
@@ -2056,36 +2057,35 @@
|
|
|
2056
2057
|
],
|
|
2057
2058
|
"columns": [
|
|
2058
2059
|
{
|
|
2059
|
-
"
|
|
2060
|
-
"name": "productName",
|
|
2060
|
+
"variant": "h4",
|
|
2061
2061
|
"label": "Product Name",
|
|
2062
|
-
"
|
|
2062
|
+
"name": "productName",
|
|
2063
|
+
"icon": "shopping-cart"
|
|
2063
2064
|
},
|
|
2064
2065
|
{
|
|
2066
|
+
"variant": "caption",
|
|
2065
2067
|
"label": "Quantity",
|
|
2066
|
-
"name": "quantity",
|
|
2067
2068
|
"format": "currency",
|
|
2068
|
-
"
|
|
2069
|
+
"name": "quantity"
|
|
2069
2070
|
},
|
|
2070
2071
|
{
|
|
2071
|
-
"label": "Unit Price",
|
|
2072
2072
|
"variant": "badge",
|
|
2073
|
-
"name": "unitPrice"
|
|
2073
|
+
"name": "unitPrice",
|
|
2074
|
+
"label": "Unit Price"
|
|
2074
2075
|
}
|
|
2075
2076
|
],
|
|
2076
|
-
"
|
|
2077
|
+
"entity": "CartItem"
|
|
2077
2078
|
},
|
|
2078
2079
|
{
|
|
2079
|
-
"label": "Proceed to Checkout",
|
|
2080
|
-
"action": "PROCEED_CHECKOUT",
|
|
2081
2080
|
"icon": "arrow-right",
|
|
2082
2081
|
"variant": "primary",
|
|
2083
|
-
"
|
|
2082
|
+
"label": "Proceed to Checkout",
|
|
2083
|
+
"type": "button",
|
|
2084
|
+
"action": "PROCEED_CHECKOUT"
|
|
2084
2085
|
}
|
|
2085
2086
|
]
|
|
2086
2087
|
}
|
|
2087
|
-
]
|
|
2088
|
-
"appName": "EcommerceApp"
|
|
2088
|
+
]
|
|
2089
2089
|
}
|
|
2090
2090
|
]
|
|
2091
2091
|
]
|
|
@@ -2103,111 +2103,111 @@
|
|
|
2103
2103
|
"render-ui",
|
|
2104
2104
|
"main",
|
|
2105
2105
|
{
|
|
2106
|
-
"appName": "EcommerceApp",
|
|
2107
2106
|
"navItems": [
|
|
2108
2107
|
{
|
|
2109
|
-
"icon": "package",
|
|
2110
2108
|
"label": "Products",
|
|
2109
|
+
"icon": "package",
|
|
2111
2110
|
"href": "/products"
|
|
2112
2111
|
},
|
|
2113
2112
|
{
|
|
2114
|
-
"label": "Cart",
|
|
2115
2113
|
"icon": "shopping-cart",
|
|
2116
|
-
"href": "/cart"
|
|
2114
|
+
"href": "/cart",
|
|
2115
|
+
"label": "Cart"
|
|
2117
2116
|
},
|
|
2118
2117
|
{
|
|
2119
2118
|
"icon": "credit-card",
|
|
2120
|
-
"
|
|
2121
|
-
"
|
|
2119
|
+
"href": "/checkout",
|
|
2120
|
+
"label": "Checkout"
|
|
2122
2121
|
},
|
|
2123
2122
|
{
|
|
2124
|
-
"icon": "clipboard-list",
|
|
2125
2123
|
"href": "/orders",
|
|
2126
|
-
"label": "Orders"
|
|
2124
|
+
"label": "Orders",
|
|
2125
|
+
"icon": "clipboard-list"
|
|
2127
2126
|
}
|
|
2128
2127
|
],
|
|
2128
|
+
"type": "dashboard-layout",
|
|
2129
2129
|
"children": [
|
|
2130
2130
|
{
|
|
2131
|
-
"type": "stack",
|
|
2132
|
-
"gap": "lg",
|
|
2133
2131
|
"children": [
|
|
2134
2132
|
{
|
|
2135
|
-
"
|
|
2133
|
+
"direction": "horizontal",
|
|
2136
2134
|
"type": "stack",
|
|
2135
|
+
"gap": "sm",
|
|
2137
2136
|
"children": [
|
|
2138
2137
|
{
|
|
2139
|
-
"
|
|
2140
|
-
"
|
|
2138
|
+
"type": "icon",
|
|
2139
|
+
"name": "clipboard"
|
|
2141
2140
|
},
|
|
2142
2141
|
{
|
|
2143
|
-
"content": "Checkout",
|
|
2144
2142
|
"type": "typography",
|
|
2143
|
+
"content": "Checkout",
|
|
2145
2144
|
"variant": "h2"
|
|
2146
2145
|
}
|
|
2147
|
-
]
|
|
2148
|
-
"direction": "horizontal"
|
|
2146
|
+
]
|
|
2149
2147
|
},
|
|
2150
2148
|
{
|
|
2151
2149
|
"type": "divider"
|
|
2152
2150
|
},
|
|
2153
2151
|
{
|
|
2154
|
-
"
|
|
2155
|
-
|
|
2152
|
+
"itemActions": [
|
|
2153
|
+
{
|
|
2154
|
+
"event": "REQUEST_REMOVE",
|
|
2155
|
+
"label": "Remove",
|
|
2156
|
+
"variant": "danger"
|
|
2157
|
+
}
|
|
2158
|
+
],
|
|
2156
2159
|
"columns": [
|
|
2157
2160
|
{
|
|
2158
|
-
"icon": "shopping-cart",
|
|
2159
2161
|
"name": "productName",
|
|
2162
|
+
"label": "Product Name",
|
|
2160
2163
|
"variant": "h4",
|
|
2161
|
-
"
|
|
2164
|
+
"icon": "shopping-cart"
|
|
2162
2165
|
},
|
|
2163
2166
|
{
|
|
2164
2167
|
"label": "Quantity",
|
|
2165
|
-
"name": "quantity",
|
|
2166
2168
|
"variant": "caption",
|
|
2169
|
+
"name": "quantity",
|
|
2167
2170
|
"format": "currency"
|
|
2168
2171
|
},
|
|
2169
2172
|
{
|
|
2170
|
-
"label": "Unit Price",
|
|
2171
2173
|
"variant": "badge",
|
|
2172
|
-
"name": "unitPrice"
|
|
2174
|
+
"name": "unitPrice",
|
|
2175
|
+
"label": "Unit Price"
|
|
2173
2176
|
}
|
|
2174
2177
|
],
|
|
2175
2178
|
"type": "data-grid",
|
|
2176
|
-
"
|
|
2177
|
-
|
|
2178
|
-
"label": "Remove",
|
|
2179
|
-
"variant": "danger",
|
|
2180
|
-
"event": "REQUEST_REMOVE"
|
|
2181
|
-
}
|
|
2182
|
-
]
|
|
2179
|
+
"entity": "CartItem",
|
|
2180
|
+
"fields": []
|
|
2183
2181
|
},
|
|
2184
2182
|
{
|
|
2185
|
-
"justify": "end",
|
|
2186
2183
|
"children": [
|
|
2187
2184
|
{
|
|
2188
|
-
"action": "BACK_TO_CART",
|
|
2189
|
-
"label": "Back to Cart",
|
|
2190
2185
|
"type": "button",
|
|
2186
|
+
"icon": "arrow-left",
|
|
2187
|
+
"action": "BACK_TO_CART",
|
|
2191
2188
|
"variant": "ghost",
|
|
2192
|
-
"
|
|
2189
|
+
"label": "Back to Cart"
|
|
2193
2190
|
},
|
|
2194
2191
|
{
|
|
2192
|
+
"label": "Confirm Order",
|
|
2193
|
+
"variant": "primary",
|
|
2195
2194
|
"type": "button",
|
|
2196
2195
|
"action": "CONFIRM_ORDER",
|
|
2197
|
-
"
|
|
2198
|
-
"icon": "check",
|
|
2199
|
-
"variant": "primary"
|
|
2196
|
+
"icon": "check"
|
|
2200
2197
|
}
|
|
2201
2198
|
],
|
|
2199
|
+
"gap": "sm",
|
|
2202
2200
|
"direction": "horizontal",
|
|
2203
|
-
"
|
|
2204
|
-
"
|
|
2201
|
+
"justify": "end",
|
|
2202
|
+
"type": "stack"
|
|
2205
2203
|
}
|
|
2206
2204
|
],
|
|
2207
|
-
"
|
|
2205
|
+
"gap": "lg",
|
|
2206
|
+
"direction": "vertical",
|
|
2207
|
+
"type": "stack"
|
|
2208
2208
|
}
|
|
2209
2209
|
],
|
|
2210
|
-
"
|
|
2210
|
+
"appName": "EcommerceApp"
|
|
2211
2211
|
}
|
|
2212
2212
|
]
|
|
2213
2213
|
]
|
|
@@ -2236,60 +2236,60 @@
|
|
|
2236
2236
|
"render-ui",
|
|
2237
2237
|
"main",
|
|
2238
2238
|
{
|
|
2239
|
+
"type": "dashboard-layout",
|
|
2239
2240
|
"appName": "EcommerceApp",
|
|
2240
2241
|
"navItems": [
|
|
2241
2242
|
{
|
|
2242
|
-
"icon": "package",
|
|
2243
2243
|
"label": "Products",
|
|
2244
|
+
"icon": "package",
|
|
2244
2245
|
"href": "/products"
|
|
2245
2246
|
},
|
|
2246
2247
|
{
|
|
2247
|
-
"
|
|
2248
|
+
"href": "/cart",
|
|
2248
2249
|
"label": "Cart",
|
|
2249
|
-
"
|
|
2250
|
+
"icon": "shopping-cart"
|
|
2250
2251
|
},
|
|
2251
2252
|
{
|
|
2252
|
-
"href": "/checkout",
|
|
2253
2253
|
"icon": "credit-card",
|
|
2254
|
-
"label": "Checkout"
|
|
2254
|
+
"label": "Checkout",
|
|
2255
|
+
"href": "/checkout"
|
|
2255
2256
|
},
|
|
2256
2257
|
{
|
|
2257
2258
|
"label": "Orders",
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2259
|
+
"icon": "clipboard-list",
|
|
2260
|
+
"href": "/orders"
|
|
2260
2261
|
}
|
|
2261
2262
|
],
|
|
2262
2263
|
"children": [
|
|
2263
2264
|
{
|
|
2264
|
-
"direction": "vertical",
|
|
2265
|
-
"align": "center",
|
|
2266
|
-
"type": "stack",
|
|
2267
|
-
"gap": "lg",
|
|
2268
2265
|
"children": [
|
|
2269
2266
|
{
|
|
2270
2267
|
"type": "icon",
|
|
2271
2268
|
"name": "check-circle"
|
|
2272
2269
|
},
|
|
2273
2270
|
{
|
|
2274
|
-
"type": "typography",
|
|
2275
2271
|
"variant": "h2",
|
|
2272
|
+
"type": "typography",
|
|
2276
2273
|
"content": "Order Confirmed"
|
|
2277
2274
|
},
|
|
2278
2275
|
{
|
|
2276
|
+
"type": "typography",
|
|
2279
2277
|
"content": "Your order has been placed successfully.",
|
|
2280
|
-
"variant": "body"
|
|
2281
|
-
"type": "typography"
|
|
2278
|
+
"variant": "body"
|
|
2282
2279
|
},
|
|
2283
2280
|
{
|
|
2284
|
-
"
|
|
2285
|
-
"label": "Continue Shopping",
|
|
2281
|
+
"variant": "primary",
|
|
2286
2282
|
"type": "button",
|
|
2287
|
-
"
|
|
2283
|
+
"label": "Continue Shopping",
|
|
2284
|
+
"action": "INIT"
|
|
2288
2285
|
}
|
|
2289
|
-
]
|
|
2286
|
+
],
|
|
2287
|
+
"direction": "vertical",
|
|
2288
|
+
"align": "center",
|
|
2289
|
+
"type": "stack",
|
|
2290
|
+
"gap": "lg"
|
|
2290
2291
|
}
|
|
2291
|
-
]
|
|
2292
|
-
"type": "dashboard-layout"
|
|
2292
|
+
]
|
|
2293
2293
|
}
|
|
2294
2294
|
]
|
|
2295
2295
|
]
|
|
@@ -2459,8 +2459,12 @@
|
|
|
2459
2459
|
"render-ui",
|
|
2460
2460
|
"modal",
|
|
2461
2461
|
{
|
|
2462
|
+
"direction": "vertical",
|
|
2463
|
+
"type": "stack",
|
|
2462
2464
|
"children": [
|
|
2463
2465
|
{
|
|
2466
|
+
"gap": "sm",
|
|
2467
|
+
"type": "stack",
|
|
2464
2468
|
"direction": "horizontal",
|
|
2465
2469
|
"children": [
|
|
2466
2470
|
{
|
|
@@ -2469,20 +2473,15 @@
|
|
|
2469
2473
|
},
|
|
2470
2474
|
{
|
|
2471
2475
|
"variant": "h3",
|
|
2472
|
-
"
|
|
2473
|
-
"
|
|
2476
|
+
"type": "typography",
|
|
2477
|
+
"content": "Add Item"
|
|
2474
2478
|
}
|
|
2475
|
-
]
|
|
2476
|
-
"type": "stack",
|
|
2477
|
-
"gap": "sm"
|
|
2479
|
+
]
|
|
2478
2480
|
},
|
|
2479
2481
|
{
|
|
2480
2482
|
"type": "divider"
|
|
2481
2483
|
},
|
|
2482
2484
|
{
|
|
2483
|
-
"mode": "create",
|
|
2484
|
-
"submitEvent": "SAVE",
|
|
2485
|
-
"cancelEvent": "CLOSE",
|
|
2486
2485
|
"fields": [
|
|
2487
2486
|
"productName",
|
|
2488
2487
|
"quantity",
|
|
@@ -2490,11 +2489,12 @@
|
|
|
2490
2489
|
"totalPrice"
|
|
2491
2490
|
],
|
|
2492
2491
|
"entity": "CartItem",
|
|
2493
|
-
"
|
|
2492
|
+
"mode": "create",
|
|
2493
|
+
"type": "form-section",
|
|
2494
|
+
"submitEvent": "SAVE",
|
|
2495
|
+
"cancelEvent": "CLOSE"
|
|
2494
2496
|
}
|
|
2495
2497
|
],
|
|
2496
|
-
"direction": "vertical",
|
|
2497
|
-
"type": "stack",
|
|
2498
2498
|
"gap": "md"
|
|
2499
2499
|
}
|
|
2500
2500
|
]
|
|
@@ -2713,25 +2713,21 @@
|
|
|
2713
2713
|
"fetch",
|
|
2714
2714
|
"CartItem",
|
|
2715
2715
|
{
|
|
2716
|
+
"id": "@payload.id",
|
|
2716
2717
|
"emit": {
|
|
2717
2718
|
"success": "CartItemLoaded",
|
|
2718
2719
|
"failure": "CartItemLoadFailed"
|
|
2719
|
-
}
|
|
2720
|
-
"id": "@payload.id"
|
|
2720
|
+
}
|
|
2721
2721
|
}
|
|
2722
2722
|
],
|
|
2723
2723
|
[
|
|
2724
2724
|
"render-ui",
|
|
2725
2725
|
"modal",
|
|
2726
2726
|
{
|
|
2727
|
-
"
|
|
2727
|
+
"direction": "vertical",
|
|
2728
2728
|
"gap": "md",
|
|
2729
2729
|
"children": [
|
|
2730
2730
|
{
|
|
2731
|
-
"type": "stack",
|
|
2732
|
-
"align": "center",
|
|
2733
|
-
"gap": "sm",
|
|
2734
|
-
"direction": "horizontal",
|
|
2735
2731
|
"children": [
|
|
2736
2732
|
{
|
|
2737
2733
|
"type": "icon",
|
|
@@ -2742,39 +2738,43 @@
|
|
|
2742
2738
|
"variant": "h3",
|
|
2743
2739
|
"content": "Remove Item"
|
|
2744
2740
|
}
|
|
2745
|
-
]
|
|
2741
|
+
],
|
|
2742
|
+
"gap": "sm",
|
|
2743
|
+
"direction": "horizontal",
|
|
2744
|
+
"align": "center",
|
|
2745
|
+
"type": "stack"
|
|
2746
2746
|
},
|
|
2747
2747
|
{
|
|
2748
2748
|
"type": "divider"
|
|
2749
2749
|
},
|
|
2750
2750
|
{
|
|
2751
|
+
"message": "Are you sure you want to remove this item from your cart?",
|
|
2751
2752
|
"type": "alert",
|
|
2752
|
-
"variant": "error"
|
|
2753
|
-
"message": "Are you sure you want to remove this item from your cart?"
|
|
2753
|
+
"variant": "error"
|
|
2754
2754
|
},
|
|
2755
2755
|
{
|
|
2756
|
-
"direction": "horizontal",
|
|
2757
|
-
"gap": "sm",
|
|
2758
2756
|
"children": [
|
|
2759
2757
|
{
|
|
2760
|
-
"type": "button",
|
|
2761
2758
|
"action": "CANCEL",
|
|
2762
|
-
"
|
|
2763
|
-
"
|
|
2759
|
+
"label": "Cancel",
|
|
2760
|
+
"type": "button",
|
|
2761
|
+
"variant": "ghost"
|
|
2764
2762
|
},
|
|
2765
2763
|
{
|
|
2764
|
+
"icon": "check",
|
|
2765
|
+
"variant": "danger",
|
|
2766
2766
|
"type": "button",
|
|
2767
2767
|
"label": "Remove",
|
|
2768
|
-
"action": "CONFIRM_REMOVE"
|
|
2769
|
-
"icon": "check",
|
|
2770
|
-
"variant": "danger"
|
|
2768
|
+
"action": "CONFIRM_REMOVE"
|
|
2771
2769
|
}
|
|
2772
2770
|
],
|
|
2773
2771
|
"type": "stack",
|
|
2772
|
+
"direction": "horizontal",
|
|
2773
|
+
"gap": "sm",
|
|
2774
2774
|
"justify": "end"
|
|
2775
2775
|
}
|
|
2776
2776
|
],
|
|
2777
|
-
"
|
|
2777
|
+
"type": "stack"
|
|
2778
2778
|
}
|
|
2779
2779
|
]
|
|
2780
2780
|
]
|
|
@@ -3103,8 +3103,8 @@
|
|
|
3103
3103
|
"Checkout",
|
|
3104
3104
|
{
|
|
3105
3105
|
"emit": {
|
|
3106
|
-
"
|
|
3107
|
-
"
|
|
3106
|
+
"success": "CheckoutLoaded",
|
|
3107
|
+
"failure": "CheckoutLoadFailed"
|
|
3108
3108
|
}
|
|
3109
3109
|
}
|
|
3110
3110
|
],
|
|
@@ -3112,109 +3112,109 @@
|
|
|
3112
3112
|
"render-ui",
|
|
3113
3113
|
"main",
|
|
3114
3114
|
{
|
|
3115
|
-
"type": "dashboard-layout",
|
|
3116
3115
|
"children": [
|
|
3117
3116
|
{
|
|
3118
|
-
"
|
|
3117
|
+
"padding": "lg",
|
|
3119
3118
|
"type": "container",
|
|
3120
3119
|
"children": [
|
|
3121
3120
|
{
|
|
3122
|
-
"type": "stack",
|
|
3123
3121
|
"gap": "lg",
|
|
3124
3122
|
"children": [
|
|
3125
3123
|
{
|
|
3126
|
-
"align": "center",
|
|
3127
3124
|
"direction": "horizontal",
|
|
3125
|
+
"type": "stack",
|
|
3128
3126
|
"children": [
|
|
3129
3127
|
{
|
|
3130
3128
|
"type": "icon",
|
|
3131
3129
|
"name": "credit-card"
|
|
3132
3130
|
},
|
|
3133
3131
|
{
|
|
3132
|
+
"variant": "h2",
|
|
3134
3133
|
"type": "typography",
|
|
3135
|
-
"content": "Checkout"
|
|
3136
|
-
"variant": "h2"
|
|
3134
|
+
"content": "Checkout"
|
|
3137
3135
|
}
|
|
3138
3136
|
],
|
|
3139
|
-
"
|
|
3137
|
+
"align": "center",
|
|
3140
3138
|
"gap": "sm"
|
|
3141
3139
|
},
|
|
3142
3140
|
{
|
|
3143
|
-
"
|
|
3141
|
+
"type": "progress-dots",
|
|
3144
3142
|
"count": 3.0,
|
|
3145
|
-
"
|
|
3143
|
+
"currentIndex": 0.0
|
|
3146
3144
|
},
|
|
3147
3145
|
{
|
|
3146
|
+
"type": "wizard-progress",
|
|
3147
|
+
"currentStep": 0.0,
|
|
3148
3148
|
"steps": [
|
|
3149
3149
|
"Customer Info",
|
|
3150
3150
|
"Shipping",
|
|
3151
3151
|
"Payment"
|
|
3152
|
-
]
|
|
3153
|
-
"currentStep": 0.0,
|
|
3154
|
-
"type": "wizard-progress"
|
|
3152
|
+
]
|
|
3155
3153
|
},
|
|
3156
3154
|
{
|
|
3157
3155
|
"type": "divider"
|
|
3158
3156
|
},
|
|
3159
3157
|
{
|
|
3160
|
-
"content": "Customer Info",
|
|
3161
3158
|
"type": "typography",
|
|
3159
|
+
"content": "Customer Info",
|
|
3162
3160
|
"variant": "h3"
|
|
3163
3161
|
},
|
|
3164
3162
|
{
|
|
3165
|
-
"entity": "Checkout",
|
|
3166
|
-
"submitEvent": "NEXT",
|
|
3167
3163
|
"fields": [
|
|
3168
3164
|
"customerName",
|
|
3169
3165
|
"email"
|
|
3170
3166
|
],
|
|
3167
|
+
"submitEvent": "NEXT",
|
|
3168
|
+
"entity": "Checkout",
|
|
3169
|
+
"cancelEvent": "INIT",
|
|
3171
3170
|
"type": "form-section",
|
|
3172
|
-
"mode": "create"
|
|
3173
|
-
"cancelEvent": "INIT"
|
|
3171
|
+
"mode": "create"
|
|
3174
3172
|
},
|
|
3175
3173
|
{
|
|
3176
|
-
"gap": "sm",
|
|
3177
3174
|
"justify": "end",
|
|
3178
|
-
"type": "stack",
|
|
3179
3175
|
"children": [
|
|
3180
3176
|
{
|
|
3181
|
-
"icon": "arrow-right",
|
|
3182
3177
|
"action": "NEXT",
|
|
3183
3178
|
"variant": "primary",
|
|
3184
|
-
"
|
|
3185
|
-
"
|
|
3179
|
+
"type": "button",
|
|
3180
|
+
"icon": "arrow-right",
|
|
3181
|
+
"label": "Next"
|
|
3186
3182
|
}
|
|
3187
3183
|
],
|
|
3184
|
+
"type": "stack",
|
|
3185
|
+
"gap": "sm",
|
|
3188
3186
|
"direction": "horizontal"
|
|
3189
3187
|
}
|
|
3190
3188
|
],
|
|
3191
|
-
"direction": "vertical"
|
|
3189
|
+
"direction": "vertical",
|
|
3190
|
+
"type": "stack"
|
|
3192
3191
|
}
|
|
3193
3192
|
],
|
|
3194
|
-
"
|
|
3193
|
+
"maxWidth": "lg"
|
|
3195
3194
|
}
|
|
3196
3195
|
],
|
|
3197
3196
|
"appName": "EcommerceApp",
|
|
3197
|
+
"type": "dashboard-layout",
|
|
3198
3198
|
"navItems": [
|
|
3199
3199
|
{
|
|
3200
|
-
"
|
|
3200
|
+
"icon": "package",
|
|
3201
3201
|
"label": "Products",
|
|
3202
|
-
"
|
|
3202
|
+
"href": "/products"
|
|
3203
3203
|
},
|
|
3204
3204
|
{
|
|
3205
|
-
"label": "Cart",
|
|
3206
3205
|
"href": "/cart",
|
|
3206
|
+
"label": "Cart",
|
|
3207
3207
|
"icon": "shopping-cart"
|
|
3208
3208
|
},
|
|
3209
3209
|
{
|
|
3210
|
-
"
|
|
3210
|
+
"icon": "credit-card",
|
|
3211
3211
|
"label": "Checkout",
|
|
3212
|
-
"
|
|
3212
|
+
"href": "/checkout"
|
|
3213
3213
|
},
|
|
3214
3214
|
{
|
|
3215
|
-
"icon": "clipboard-list",
|
|
3216
3215
|
"label": "Orders",
|
|
3217
|
-
"href": "/orders"
|
|
3216
|
+
"href": "/orders",
|
|
3217
|
+
"icon": "clipboard-list"
|
|
3218
3218
|
}
|
|
3219
3219
|
]
|
|
3220
3220
|
}
|
|
@@ -3240,117 +3240,117 @@
|
|
|
3240
3240
|
"render-ui",
|
|
3241
3241
|
"main",
|
|
3242
3242
|
{
|
|
3243
|
+
"navItems": [
|
|
3244
|
+
{
|
|
3245
|
+
"label": "Products",
|
|
3246
|
+
"icon": "package",
|
|
3247
|
+
"href": "/products"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"label": "Cart",
|
|
3251
|
+
"href": "/cart",
|
|
3252
|
+
"icon": "shopping-cart"
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"icon": "credit-card",
|
|
3256
|
+
"href": "/checkout",
|
|
3257
|
+
"label": "Checkout"
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
"href": "/orders",
|
|
3261
|
+
"icon": "clipboard-list",
|
|
3262
|
+
"label": "Orders"
|
|
3263
|
+
}
|
|
3264
|
+
],
|
|
3243
3265
|
"type": "dashboard-layout",
|
|
3244
3266
|
"children": [
|
|
3245
3267
|
{
|
|
3246
|
-
"maxWidth": "lg",
|
|
3247
3268
|
"children": [
|
|
3248
3269
|
{
|
|
3270
|
+
"type": "stack",
|
|
3249
3271
|
"children": [
|
|
3250
3272
|
{
|
|
3251
3273
|
"direction": "horizontal",
|
|
3274
|
+
"type": "stack",
|
|
3275
|
+
"gap": "sm",
|
|
3252
3276
|
"align": "center",
|
|
3253
3277
|
"children": [
|
|
3254
3278
|
{
|
|
3255
|
-
"
|
|
3256
|
-
"
|
|
3279
|
+
"name": "credit-card",
|
|
3280
|
+
"type": "icon"
|
|
3257
3281
|
},
|
|
3258
3282
|
{
|
|
3259
3283
|
"variant": "h2",
|
|
3260
3284
|
"content": "Checkout",
|
|
3261
3285
|
"type": "typography"
|
|
3262
3286
|
}
|
|
3263
|
-
]
|
|
3264
|
-
"type": "stack",
|
|
3265
|
-
"gap": "sm"
|
|
3287
|
+
]
|
|
3266
3288
|
},
|
|
3267
3289
|
{
|
|
3268
|
-
"currentIndex": 1.0,
|
|
3269
3290
|
"count": 3.0,
|
|
3270
|
-
"type": "progress-dots"
|
|
3291
|
+
"type": "progress-dots",
|
|
3292
|
+
"currentIndex": 1.0
|
|
3271
3293
|
},
|
|
3272
3294
|
{
|
|
3295
|
+
"currentStep": 1.0,
|
|
3296
|
+
"type": "wizard-progress",
|
|
3273
3297
|
"steps": [
|
|
3274
3298
|
"Customer Info",
|
|
3275
3299
|
"Shipping",
|
|
3276
3300
|
"Payment"
|
|
3277
|
-
]
|
|
3278
|
-
"type": "wizard-progress",
|
|
3279
|
-
"currentStep": 1.0
|
|
3301
|
+
]
|
|
3280
3302
|
},
|
|
3281
3303
|
{
|
|
3282
3304
|
"type": "divider"
|
|
3283
3305
|
},
|
|
3284
3306
|
{
|
|
3285
|
-
"type": "typography",
|
|
3286
3307
|
"content": "Shipping",
|
|
3287
|
-
"variant": "h3"
|
|
3308
|
+
"variant": "h3",
|
|
3309
|
+
"type": "typography"
|
|
3288
3310
|
},
|
|
3289
3311
|
{
|
|
3312
|
+
"type": "form-section",
|
|
3313
|
+
"entity": "Checkout",
|
|
3290
3314
|
"fields": [
|
|
3291
3315
|
"shippingAddress"
|
|
3292
3316
|
],
|
|
3293
|
-
"type": "form-section",
|
|
3294
3317
|
"cancelEvent": "PREV",
|
|
3295
|
-
"entity": "Checkout",
|
|
3296
3318
|
"submitEvent": "NEXT",
|
|
3297
3319
|
"mode": "create"
|
|
3298
3320
|
},
|
|
3299
3321
|
{
|
|
3300
|
-
"gap": "sm",
|
|
3301
|
-
"direction": "horizontal",
|
|
3302
|
-
"justify": "end",
|
|
3303
|
-
"type": "stack",
|
|
3304
3322
|
"children": [
|
|
3305
3323
|
{
|
|
3306
|
-
"action": "PREV",
|
|
3307
3324
|
"type": "button",
|
|
3308
|
-
"
|
|
3325
|
+
"action": "PREV",
|
|
3326
|
+
"icon": "arrow-left",
|
|
3309
3327
|
"variant": "ghost",
|
|
3310
|
-
"
|
|
3328
|
+
"label": "Back"
|
|
3311
3329
|
},
|
|
3312
3330
|
{
|
|
3313
|
-
"type": "button",
|
|
3314
|
-
"action": "NEXT",
|
|
3315
|
-
"label": "Next",
|
|
3316
3331
|
"variant": "primary",
|
|
3317
|
-
"
|
|
3332
|
+
"label": "Next",
|
|
3333
|
+
"icon": "arrow-right",
|
|
3334
|
+
"action": "NEXT",
|
|
3335
|
+
"type": "button"
|
|
3318
3336
|
}
|
|
3319
|
-
]
|
|
3337
|
+
],
|
|
3338
|
+
"justify": "end",
|
|
3339
|
+
"type": "stack",
|
|
3340
|
+
"gap": "sm",
|
|
3341
|
+
"direction": "horizontal"
|
|
3320
3342
|
}
|
|
3321
3343
|
],
|
|
3322
3344
|
"gap": "lg",
|
|
3323
|
-
"type": "stack",
|
|
3324
3345
|
"direction": "vertical"
|
|
3325
3346
|
}
|
|
3326
3347
|
],
|
|
3327
3348
|
"type": "container",
|
|
3349
|
+
"maxWidth": "lg",
|
|
3328
3350
|
"padding": "lg"
|
|
3329
3351
|
}
|
|
3330
3352
|
],
|
|
3331
|
-
"appName": "EcommerceApp"
|
|
3332
|
-
"navItems": [
|
|
3333
|
-
{
|
|
3334
|
-
"label": "Products",
|
|
3335
|
-
"icon": "package",
|
|
3336
|
-
"href": "/products"
|
|
3337
|
-
},
|
|
3338
|
-
{
|
|
3339
|
-
"icon": "shopping-cart",
|
|
3340
|
-
"label": "Cart",
|
|
3341
|
-
"href": "/cart"
|
|
3342
|
-
},
|
|
3343
|
-
{
|
|
3344
|
-
"label": "Checkout",
|
|
3345
|
-
"href": "/checkout",
|
|
3346
|
-
"icon": "credit-card"
|
|
3347
|
-
},
|
|
3348
|
-
{
|
|
3349
|
-
"icon": "clipboard-list",
|
|
3350
|
-
"label": "Orders",
|
|
3351
|
-
"href": "/orders"
|
|
3352
|
-
}
|
|
3353
|
-
]
|
|
3353
|
+
"appName": "EcommerceApp"
|
|
3354
3354
|
}
|
|
3355
3355
|
]
|
|
3356
3356
|
]
|
|
@@ -3365,8 +3365,8 @@
|
|
|
3365
3365
|
"Checkout",
|
|
3366
3366
|
{
|
|
3367
3367
|
"emit": {
|
|
3368
|
-
"
|
|
3369
|
-
"
|
|
3368
|
+
"success": "CheckoutLoaded",
|
|
3369
|
+
"failure": "CheckoutLoadFailed"
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
],
|
|
@@ -3374,14 +3374,37 @@
|
|
|
3374
3374
|
"render-ui",
|
|
3375
3375
|
"main",
|
|
3376
3376
|
{
|
|
3377
|
+
"navItems": [
|
|
3378
|
+
{
|
|
3379
|
+
"label": "Products",
|
|
3380
|
+
"href": "/products",
|
|
3381
|
+
"icon": "package"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"icon": "shopping-cart",
|
|
3385
|
+
"label": "Cart",
|
|
3386
|
+
"href": "/cart"
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
"label": "Checkout",
|
|
3390
|
+
"href": "/checkout",
|
|
3391
|
+
"icon": "credit-card"
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"href": "/orders",
|
|
3395
|
+
"icon": "clipboard-list",
|
|
3396
|
+
"label": "Orders"
|
|
3397
|
+
}
|
|
3398
|
+
],
|
|
3399
|
+
"type": "dashboard-layout",
|
|
3377
3400
|
"appName": "EcommerceApp",
|
|
3378
3401
|
"children": [
|
|
3379
3402
|
{
|
|
3380
3403
|
"type": "container",
|
|
3381
3404
|
"padding": "lg",
|
|
3405
|
+
"maxWidth": "lg",
|
|
3382
3406
|
"children": [
|
|
3383
3407
|
{
|
|
3384
|
-
"gap": "lg",
|
|
3385
3408
|
"type": "stack",
|
|
3386
3409
|
"children": [
|
|
3387
3410
|
{
|
|
@@ -3391,100 +3414,77 @@
|
|
|
3391
3414
|
"type": "icon"
|
|
3392
3415
|
},
|
|
3393
3416
|
{
|
|
3394
|
-
"content": "Checkout",
|
|
3395
3417
|
"variant": "h2",
|
|
3396
|
-
"type": "typography"
|
|
3418
|
+
"type": "typography",
|
|
3419
|
+
"content": "Checkout"
|
|
3397
3420
|
}
|
|
3398
3421
|
],
|
|
3422
|
+
"type": "stack",
|
|
3399
3423
|
"align": "center",
|
|
3400
|
-
"gap": "sm",
|
|
3401
3424
|
"direction": "horizontal",
|
|
3402
|
-
"
|
|
3425
|
+
"gap": "sm"
|
|
3403
3426
|
},
|
|
3404
3427
|
{
|
|
3405
3428
|
"currentIndex": 2.0,
|
|
3406
|
-
"
|
|
3407
|
-
"
|
|
3429
|
+
"count": 3.0,
|
|
3430
|
+
"type": "progress-dots"
|
|
3408
3431
|
},
|
|
3409
3432
|
{
|
|
3433
|
+
"currentStep": 2.0,
|
|
3434
|
+
"type": "wizard-progress",
|
|
3410
3435
|
"steps": [
|
|
3411
3436
|
"Customer Info",
|
|
3412
3437
|
"Shipping",
|
|
3413
3438
|
"Payment"
|
|
3414
|
-
]
|
|
3415
|
-
"currentStep": 2.0,
|
|
3416
|
-
"type": "wizard-progress"
|
|
3439
|
+
]
|
|
3417
3440
|
},
|
|
3418
3441
|
{
|
|
3419
3442
|
"type": "divider"
|
|
3420
3443
|
},
|
|
3421
3444
|
{
|
|
3422
|
-
"type": "typography",
|
|
3423
3445
|
"content": "Payment",
|
|
3424
|
-
"variant": "h3"
|
|
3446
|
+
"variant": "h3",
|
|
3447
|
+
"type": "typography"
|
|
3425
3448
|
},
|
|
3426
3449
|
{
|
|
3427
3450
|
"entity": "Checkout",
|
|
3428
|
-
"cancelEvent": "PREV",
|
|
3429
|
-
"type": "form-section",
|
|
3430
3451
|
"submitEvent": "NEXT",
|
|
3431
|
-
"
|
|
3452
|
+
"type": "form-section",
|
|
3453
|
+
"cancelEvent": "PREV",
|
|
3432
3454
|
"fields": [
|
|
3433
3455
|
"paymentMethod"
|
|
3434
|
-
]
|
|
3456
|
+
],
|
|
3457
|
+
"mode": "create"
|
|
3435
3458
|
},
|
|
3436
3459
|
{
|
|
3437
3460
|
"justify": "end",
|
|
3438
|
-
"direction": "horizontal",
|
|
3439
|
-
"type": "stack",
|
|
3440
|
-
"gap": "sm",
|
|
3441
3461
|
"children": [
|
|
3442
3462
|
{
|
|
3443
|
-
"action": "PREV",
|
|
3444
|
-
"icon": "arrow-left",
|
|
3445
3463
|
"variant": "ghost",
|
|
3464
|
+
"icon": "arrow-left",
|
|
3465
|
+
"label": "Back",
|
|
3446
3466
|
"type": "button",
|
|
3447
|
-
"
|
|
3467
|
+
"action": "PREV"
|
|
3448
3468
|
},
|
|
3449
3469
|
{
|
|
3450
|
-
"icon": "arrow-right",
|
|
3451
|
-
"action": "NEXT",
|
|
3452
3470
|
"type": "button",
|
|
3471
|
+
"action": "NEXT",
|
|
3453
3472
|
"label": "Next",
|
|
3454
|
-
"variant": "primary"
|
|
3473
|
+
"variant": "primary",
|
|
3474
|
+
"icon": "arrow-right"
|
|
3455
3475
|
}
|
|
3456
|
-
]
|
|
3476
|
+
],
|
|
3477
|
+
"direction": "horizontal",
|
|
3478
|
+
"type": "stack",
|
|
3479
|
+
"gap": "sm"
|
|
3457
3480
|
}
|
|
3458
3481
|
],
|
|
3459
|
-
"direction": "vertical"
|
|
3482
|
+
"direction": "vertical",
|
|
3483
|
+
"gap": "lg"
|
|
3460
3484
|
}
|
|
3461
|
-
]
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
],
|
|
3465
|
-
"navItems": [
|
|
3466
|
-
{
|
|
3467
|
-
"icon": "package",
|
|
3468
|
-
"label": "Products",
|
|
3469
|
-
"href": "/products"
|
|
3470
|
-
},
|
|
3471
|
-
{
|
|
3472
|
-
"label": "Cart",
|
|
3473
|
-
"href": "/cart",
|
|
3474
|
-
"icon": "shopping-cart"
|
|
3475
|
-
},
|
|
3476
|
-
{
|
|
3477
|
-
"href": "/checkout",
|
|
3478
|
-
"icon": "credit-card",
|
|
3479
|
-
"label": "Checkout"
|
|
3480
|
-
},
|
|
3481
|
-
{
|
|
3482
|
-
"href": "/orders",
|
|
3483
|
-
"label": "Orders",
|
|
3484
|
-
"icon": "clipboard-list"
|
|
3485
|
-
}
|
|
3486
|
-
],
|
|
3487
|
-
"type": "dashboard-layout"
|
|
3485
|
+
]
|
|
3486
|
+
}
|
|
3487
|
+
]
|
|
3488
3488
|
}
|
|
3489
3489
|
]
|
|
3490
3490
|
]
|
|
@@ -3508,43 +3508,18 @@
|
|
|
3508
3508
|
"render-ui",
|
|
3509
3509
|
"main",
|
|
3510
3510
|
{
|
|
3511
|
-
"navItems": [
|
|
3512
|
-
{
|
|
3513
|
-
"icon": "package",
|
|
3514
|
-
"href": "/products",
|
|
3515
|
-
"label": "Products"
|
|
3516
|
-
},
|
|
3517
|
-
{
|
|
3518
|
-
"href": "/cart",
|
|
3519
|
-
"icon": "shopping-cart",
|
|
3520
|
-
"label": "Cart"
|
|
3521
|
-
},
|
|
3522
|
-
{
|
|
3523
|
-
"icon": "credit-card",
|
|
3524
|
-
"href": "/checkout",
|
|
3525
|
-
"label": "Checkout"
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"icon": "clipboard-list",
|
|
3529
|
-
"href": "/orders",
|
|
3530
|
-
"label": "Orders"
|
|
3531
|
-
}
|
|
3532
|
-
],
|
|
3533
|
-
"appName": "EcommerceApp",
|
|
3534
3511
|
"children": [
|
|
3535
3512
|
{
|
|
3536
|
-
"padding": "lg",
|
|
3537
|
-
"maxWidth": "lg",
|
|
3538
3513
|
"type": "container",
|
|
3514
|
+
"maxWidth": "lg",
|
|
3539
3515
|
"children": [
|
|
3540
3516
|
{
|
|
3517
|
+
"type": "stack",
|
|
3541
3518
|
"gap": "lg",
|
|
3542
3519
|
"children": [
|
|
3543
3520
|
{
|
|
3544
|
-
"align": "center",
|
|
3545
3521
|
"gap": "sm",
|
|
3546
|
-
"
|
|
3547
|
-
"direction": "horizontal",
|
|
3522
|
+
"align": "center",
|
|
3548
3523
|
"children": [
|
|
3549
3524
|
{
|
|
3550
3525
|
"type": "icon",
|
|
@@ -3552,67 +3527,92 @@
|
|
|
3552
3527
|
},
|
|
3553
3528
|
{
|
|
3554
3529
|
"variant": "h2",
|
|
3555
|
-
"
|
|
3556
|
-
"
|
|
3530
|
+
"content": "Checkout",
|
|
3531
|
+
"type": "typography"
|
|
3557
3532
|
}
|
|
3558
|
-
]
|
|
3533
|
+
],
|
|
3534
|
+
"type": "stack",
|
|
3535
|
+
"direction": "horizontal"
|
|
3559
3536
|
},
|
|
3560
3537
|
{
|
|
3561
|
-
"count": 3.0,
|
|
3562
3538
|
"type": "progress-dots",
|
|
3539
|
+
"count": 3.0,
|
|
3563
3540
|
"currentIndex": 0.0
|
|
3564
3541
|
},
|
|
3565
3542
|
{
|
|
3566
|
-
"currentStep": 0.0,
|
|
3567
3543
|
"type": "wizard-progress",
|
|
3568
3544
|
"steps": [
|
|
3569
3545
|
"Customer Info",
|
|
3570
3546
|
"Shipping",
|
|
3571
3547
|
"Payment"
|
|
3572
|
-
]
|
|
3548
|
+
],
|
|
3549
|
+
"currentStep": 0.0
|
|
3573
3550
|
},
|
|
3574
3551
|
{
|
|
3575
3552
|
"type": "divider"
|
|
3576
3553
|
},
|
|
3577
3554
|
{
|
|
3578
|
-
"
|
|
3555
|
+
"content": "Customer Info",
|
|
3579
3556
|
"variant": "h3",
|
|
3580
|
-
"
|
|
3557
|
+
"type": "typography"
|
|
3581
3558
|
},
|
|
3582
3559
|
{
|
|
3583
|
-
"cancelEvent": "INIT",
|
|
3584
|
-
"type": "form-section",
|
|
3585
3560
|
"fields": [
|
|
3586
3561
|
"customerName",
|
|
3587
3562
|
"email"
|
|
3588
3563
|
],
|
|
3589
|
-
"
|
|
3564
|
+
"type": "form-section",
|
|
3565
|
+
"submitEvent": "NEXT",
|
|
3590
3566
|
"mode": "create",
|
|
3591
|
-
"
|
|
3567
|
+
"entity": "Checkout",
|
|
3568
|
+
"cancelEvent": "INIT"
|
|
3592
3569
|
},
|
|
3593
3570
|
{
|
|
3594
3571
|
"type": "stack",
|
|
3595
|
-
"gap": "sm",
|
|
3596
|
-
"justify": "end",
|
|
3597
3572
|
"children": [
|
|
3598
3573
|
{
|
|
3599
3574
|
"type": "button",
|
|
3575
|
+
"icon": "arrow-right",
|
|
3600
3576
|
"label": "Next",
|
|
3601
3577
|
"action": "NEXT",
|
|
3602
|
-
"variant": "primary"
|
|
3603
|
-
"icon": "arrow-right"
|
|
3578
|
+
"variant": "primary"
|
|
3604
3579
|
}
|
|
3605
3580
|
],
|
|
3606
|
-
"
|
|
3581
|
+
"justify": "end",
|
|
3582
|
+
"direction": "horizontal",
|
|
3583
|
+
"gap": "sm"
|
|
3607
3584
|
}
|
|
3608
3585
|
],
|
|
3609
|
-
"direction": "vertical"
|
|
3610
|
-
"type": "stack"
|
|
3586
|
+
"direction": "vertical"
|
|
3611
3587
|
}
|
|
3612
|
-
]
|
|
3588
|
+
],
|
|
3589
|
+
"padding": "lg"
|
|
3613
3590
|
}
|
|
3614
3591
|
],
|
|
3615
|
-
"type": "dashboard-layout"
|
|
3592
|
+
"type": "dashboard-layout",
|
|
3593
|
+
"navItems": [
|
|
3594
|
+
{
|
|
3595
|
+
"href": "/products",
|
|
3596
|
+
"icon": "package",
|
|
3597
|
+
"label": "Products"
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
"icon": "shopping-cart",
|
|
3601
|
+
"label": "Cart",
|
|
3602
|
+
"href": "/cart"
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"href": "/checkout",
|
|
3606
|
+
"label": "Checkout",
|
|
3607
|
+
"icon": "credit-card"
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"label": "Orders",
|
|
3611
|
+
"href": "/orders",
|
|
3612
|
+
"icon": "clipboard-list"
|
|
3613
|
+
}
|
|
3614
|
+
],
|
|
3615
|
+
"appName": "EcommerceApp"
|
|
3616
3616
|
}
|
|
3617
3617
|
]
|
|
3618
3618
|
]
|
|
@@ -3636,158 +3636,159 @@
|
|
|
3636
3636
|
"render-ui",
|
|
3637
3637
|
"main",
|
|
3638
3638
|
{
|
|
3639
|
-
"type": "dashboard-layout",
|
|
3640
|
-
"appName": "EcommerceApp",
|
|
3641
3639
|
"navItems": [
|
|
3642
3640
|
{
|
|
3643
3641
|
"label": "Products",
|
|
3644
|
-
"
|
|
3645
|
-
"
|
|
3642
|
+
"href": "/products",
|
|
3643
|
+
"icon": "package"
|
|
3646
3644
|
},
|
|
3647
3645
|
{
|
|
3648
|
-
"
|
|
3646
|
+
"href": "/cart",
|
|
3649
3647
|
"label": "Cart",
|
|
3650
|
-
"
|
|
3648
|
+
"icon": "shopping-cart"
|
|
3651
3649
|
},
|
|
3652
3650
|
{
|
|
3651
|
+
"icon": "credit-card",
|
|
3653
3652
|
"label": "Checkout",
|
|
3654
|
-
"href": "/checkout"
|
|
3655
|
-
"icon": "credit-card"
|
|
3653
|
+
"href": "/checkout"
|
|
3656
3654
|
},
|
|
3657
3655
|
{
|
|
3658
|
-
"
|
|
3656
|
+
"icon": "clipboard-list",
|
|
3659
3657
|
"href": "/orders",
|
|
3660
|
-
"
|
|
3658
|
+
"label": "Orders"
|
|
3661
3659
|
}
|
|
3662
3660
|
],
|
|
3661
|
+
"appName": "EcommerceApp",
|
|
3662
|
+
"type": "dashboard-layout",
|
|
3663
3663
|
"children": [
|
|
3664
3664
|
{
|
|
3665
|
-
"direction": "vertical",
|
|
3666
3665
|
"children": [
|
|
3667
3666
|
{
|
|
3667
|
+
"align": "center",
|
|
3668
3668
|
"direction": "horizontal",
|
|
3669
|
+
"gap": "sm",
|
|
3670
|
+
"type": "stack",
|
|
3669
3671
|
"children": [
|
|
3670
3672
|
{
|
|
3671
3673
|
"type": "icon",
|
|
3672
3674
|
"name": "credit-card"
|
|
3673
3675
|
},
|
|
3674
3676
|
{
|
|
3675
|
-
"variant": "h2",
|
|
3676
3677
|
"type": "typography",
|
|
3677
|
-
"content": "Checkout"
|
|
3678
|
+
"content": "Checkout",
|
|
3679
|
+
"variant": "h2"
|
|
3678
3680
|
}
|
|
3679
|
-
]
|
|
3680
|
-
"gap": "sm",
|
|
3681
|
-
"align": "center",
|
|
3682
|
-
"type": "stack"
|
|
3681
|
+
]
|
|
3683
3682
|
},
|
|
3684
3683
|
{
|
|
3685
3684
|
"type": "badge",
|
|
3686
3685
|
"label": "Review"
|
|
3687
3686
|
},
|
|
3688
3687
|
{
|
|
3689
|
-
"type": "wizard-progress",
|
|
3690
3688
|
"steps": [
|
|
3691
3689
|
"Customer Info",
|
|
3692
3690
|
"Shipping",
|
|
3693
3691
|
"Payment"
|
|
3694
3692
|
],
|
|
3695
|
-
"currentStep": 3.0
|
|
3693
|
+
"currentStep": 3.0,
|
|
3694
|
+
"type": "wizard-progress"
|
|
3696
3695
|
},
|
|
3697
3696
|
{
|
|
3698
3697
|
"type": "divider"
|
|
3699
3698
|
},
|
|
3700
3699
|
{
|
|
3700
|
+
"type": "stack",
|
|
3701
3701
|
"direction": "vertical",
|
|
3702
|
+
"gap": "sm",
|
|
3702
3703
|
"children": [
|
|
3703
3704
|
{
|
|
3705
|
+
"direction": "horizontal",
|
|
3706
|
+
"type": "stack",
|
|
3707
|
+
"gap": "md",
|
|
3704
3708
|
"justify": "between",
|
|
3705
3709
|
"children": [
|
|
3706
3710
|
{
|
|
3707
3711
|
"type": "typography",
|
|
3708
|
-
"
|
|
3709
|
-
"
|
|
3712
|
+
"content": "Customer Name",
|
|
3713
|
+
"variant": "caption"
|
|
3710
3714
|
},
|
|
3711
3715
|
{
|
|
3716
|
+
"content": "@entity.customerName",
|
|
3712
3717
|
"variant": "body",
|
|
3713
|
-
"type": "typography"
|
|
3714
|
-
"content": "@entity.customerName"
|
|
3718
|
+
"type": "typography"
|
|
3715
3719
|
}
|
|
3716
|
-
]
|
|
3717
|
-
"gap": "md",
|
|
3718
|
-
"type": "stack",
|
|
3719
|
-
"direction": "horizontal"
|
|
3720
|
+
]
|
|
3720
3721
|
},
|
|
3721
3722
|
{
|
|
3722
3723
|
"type": "stack",
|
|
3723
3724
|
"gap": "md",
|
|
3724
|
-
"direction": "horizontal",
|
|
3725
3725
|
"justify": "between",
|
|
3726
3726
|
"children": [
|
|
3727
3727
|
{
|
|
3728
|
+
"type": "typography",
|
|
3728
3729
|
"variant": "caption",
|
|
3729
|
-
"content": "Email"
|
|
3730
|
-
"type": "typography"
|
|
3730
|
+
"content": "Email"
|
|
3731
3731
|
},
|
|
3732
3732
|
{
|
|
3733
|
-
"content": "@entity.email",
|
|
3734
3733
|
"variant": "body",
|
|
3735
|
-
"type": "typography"
|
|
3734
|
+
"type": "typography",
|
|
3735
|
+
"content": "@entity.email"
|
|
3736
3736
|
}
|
|
3737
|
-
]
|
|
3737
|
+
],
|
|
3738
|
+
"direction": "horizontal"
|
|
3738
3739
|
},
|
|
3739
3740
|
{
|
|
3741
|
+
"gap": "md",
|
|
3740
3742
|
"type": "stack",
|
|
3741
3743
|
"direction": "horizontal",
|
|
3742
|
-
"gap": "md",
|
|
3743
3744
|
"justify": "between",
|
|
3744
3745
|
"children": [
|
|
3745
3746
|
{
|
|
3747
|
+
"content": "Shipping Address",
|
|
3746
3748
|
"type": "typography",
|
|
3747
|
-
"variant": "caption"
|
|
3748
|
-
"content": "Shipping Address"
|
|
3749
|
+
"variant": "caption"
|
|
3749
3750
|
},
|
|
3750
3751
|
{
|
|
3751
|
-
"content": "@entity.shippingAddress",
|
|
3752
3752
|
"type": "typography",
|
|
3753
|
+
"content": "@entity.shippingAddress",
|
|
3753
3754
|
"variant": "body"
|
|
3754
3755
|
}
|
|
3755
3756
|
]
|
|
3756
3757
|
},
|
|
3757
3758
|
{
|
|
3758
|
-
"justify": "between",
|
|
3759
|
-
"gap": "md",
|
|
3760
3759
|
"direction": "horizontal",
|
|
3760
|
+
"gap": "md",
|
|
3761
|
+
"justify": "between",
|
|
3761
3762
|
"type": "stack",
|
|
3762
3763
|
"children": [
|
|
3763
3764
|
{
|
|
3764
|
-
"type": "typography",
|
|
3765
3765
|
"content": "Payment Method",
|
|
3766
|
+
"type": "typography",
|
|
3766
3767
|
"variant": "caption"
|
|
3767
3768
|
},
|
|
3768
3769
|
{
|
|
3769
3770
|
"type": "typography",
|
|
3770
|
-
"
|
|
3771
|
-
"
|
|
3771
|
+
"variant": "body",
|
|
3772
|
+
"content": "@entity.paymentMethod"
|
|
3772
3773
|
}
|
|
3773
3774
|
]
|
|
3774
3775
|
},
|
|
3775
3776
|
{
|
|
3776
|
-
"
|
|
3777
|
+
"justify": "between",
|
|
3778
|
+
"gap": "md",
|
|
3777
3779
|
"children": [
|
|
3778
3780
|
{
|
|
3779
|
-
"
|
|
3781
|
+
"type": "typography",
|
|
3780
3782
|
"variant": "caption",
|
|
3781
|
-
"
|
|
3783
|
+
"content": "Order Total"
|
|
3782
3784
|
},
|
|
3783
3785
|
{
|
|
3784
|
-
"
|
|
3786
|
+
"variant": "body",
|
|
3785
3787
|
"type": "typography",
|
|
3786
|
-
"
|
|
3788
|
+
"content": "@entity.orderTotal"
|
|
3787
3789
|
}
|
|
3788
3790
|
],
|
|
3789
|
-
"
|
|
3790
|
-
"gap": "md",
|
|
3791
|
+
"type": "stack",
|
|
3791
3792
|
"direction": "horizontal"
|
|
3792
3793
|
},
|
|
3793
3794
|
{
|
|
@@ -3797,9 +3798,9 @@
|
|
|
3797
3798
|
"justify": "between",
|
|
3798
3799
|
"children": [
|
|
3799
3800
|
{
|
|
3801
|
+
"content": "Status",
|
|
3800
3802
|
"type": "typography",
|
|
3801
|
-
"variant": "caption"
|
|
3802
|
-
"content": "Status"
|
|
3803
|
+
"variant": "caption"
|
|
3803
3804
|
},
|
|
3804
3805
|
{
|
|
3805
3806
|
"type": "typography",
|
|
@@ -3808,21 +3809,20 @@
|
|
|
3808
3809
|
}
|
|
3809
3810
|
]
|
|
3810
3811
|
}
|
|
3811
|
-
]
|
|
3812
|
-
"type": "stack",
|
|
3813
|
-
"gap": "sm"
|
|
3812
|
+
]
|
|
3814
3813
|
},
|
|
3815
3814
|
{
|
|
3816
|
-
"
|
|
3815
|
+
"currentStep": 3.0,
|
|
3817
3816
|
"type": "wizard-navigation",
|
|
3818
3817
|
"totalSteps": 4.0,
|
|
3819
|
-
"currentStep": 3.0,
|
|
3820
3818
|
"showComplete": true,
|
|
3819
|
+
"showBack": true,
|
|
3821
3820
|
"showNext": false
|
|
3822
3821
|
}
|
|
3823
3822
|
],
|
|
3823
|
+
"gap": "lg",
|
|
3824
3824
|
"type": "stack",
|
|
3825
|
-
"
|
|
3825
|
+
"direction": "vertical"
|
|
3826
3826
|
}
|
|
3827
3827
|
]
|
|
3828
3828
|
}
|
|
@@ -3850,18 +3850,18 @@
|
|
|
3850
3850
|
{
|
|
3851
3851
|
"children": [
|
|
3852
3852
|
{
|
|
3853
|
+
"maxWidth": "lg",
|
|
3853
3854
|
"children": [
|
|
3854
3855
|
{
|
|
3855
|
-
"type": "stack",
|
|
3856
3856
|
"gap": "lg",
|
|
3857
|
-
"direction": "vertical",
|
|
3858
3857
|
"children": [
|
|
3859
3858
|
{
|
|
3860
|
-
"
|
|
3859
|
+
"direction": "horizontal",
|
|
3860
|
+
"align": "center",
|
|
3861
3861
|
"children": [
|
|
3862
3862
|
{
|
|
3863
|
-
"
|
|
3864
|
-
"
|
|
3863
|
+
"type": "icon",
|
|
3864
|
+
"name": "credit-card"
|
|
3865
3865
|
},
|
|
3866
3866
|
{
|
|
3867
3867
|
"variant": "h2",
|
|
@@ -3869,23 +3869,22 @@
|
|
|
3869
3869
|
"content": "Checkout"
|
|
3870
3870
|
}
|
|
3871
3871
|
],
|
|
3872
|
-
"align": "center",
|
|
3873
3872
|
"gap": "sm",
|
|
3874
|
-
"
|
|
3873
|
+
"type": "stack"
|
|
3875
3874
|
},
|
|
3876
3875
|
{
|
|
3876
|
+
"currentIndex": 1.0,
|
|
3877
3877
|
"type": "progress-dots",
|
|
3878
|
-
"count": 3.0
|
|
3879
|
-
"currentIndex": 1.0
|
|
3878
|
+
"count": 3.0
|
|
3880
3879
|
},
|
|
3881
3880
|
{
|
|
3882
3881
|
"currentStep": 1.0,
|
|
3883
|
-
"type": "wizard-progress",
|
|
3884
3882
|
"steps": [
|
|
3885
3883
|
"Customer Info",
|
|
3886
3884
|
"Shipping",
|
|
3887
3885
|
"Payment"
|
|
3888
|
-
]
|
|
3886
|
+
],
|
|
3887
|
+
"type": "wizard-progress"
|
|
3889
3888
|
},
|
|
3890
3889
|
{
|
|
3891
3890
|
"type": "divider"
|
|
@@ -3896,67 +3895,68 @@
|
|
|
3896
3895
|
"type": "typography"
|
|
3897
3896
|
},
|
|
3898
3897
|
{
|
|
3898
|
+
"entity": "Checkout",
|
|
3899
3899
|
"cancelEvent": "PREV",
|
|
3900
|
-
"fields": [
|
|
3901
|
-
"shippingAddress"
|
|
3902
|
-
],
|
|
3903
3900
|
"submitEvent": "NEXT",
|
|
3904
|
-
"entity": "Checkout",
|
|
3905
3901
|
"mode": "create",
|
|
3906
|
-
"type": "form-section"
|
|
3902
|
+
"type": "form-section",
|
|
3903
|
+
"fields": [
|
|
3904
|
+
"shippingAddress"
|
|
3905
|
+
]
|
|
3907
3906
|
},
|
|
3908
3907
|
{
|
|
3909
3908
|
"children": [
|
|
3910
3909
|
{
|
|
3911
|
-
"icon": "arrow-left",
|
|
3912
3910
|
"action": "PREV",
|
|
3911
|
+
"icon": "arrow-left",
|
|
3913
3912
|
"type": "button",
|
|
3914
3913
|
"label": "Back",
|
|
3915
3914
|
"variant": "ghost"
|
|
3916
3915
|
},
|
|
3917
3916
|
{
|
|
3917
|
+
"icon": "arrow-right",
|
|
3918
3918
|
"label": "Next",
|
|
3919
3919
|
"action": "NEXT",
|
|
3920
|
-
"
|
|
3921
|
-
"
|
|
3922
|
-
"type": "button"
|
|
3920
|
+
"type": "button",
|
|
3921
|
+
"variant": "primary"
|
|
3923
3922
|
}
|
|
3924
3923
|
],
|
|
3925
|
-
"
|
|
3924
|
+
"justify": "end",
|
|
3926
3925
|
"gap": "sm",
|
|
3927
3926
|
"direction": "horizontal",
|
|
3928
|
-
"
|
|
3927
|
+
"type": "stack"
|
|
3929
3928
|
}
|
|
3930
|
-
]
|
|
3929
|
+
],
|
|
3930
|
+
"type": "stack",
|
|
3931
|
+
"direction": "vertical"
|
|
3931
3932
|
}
|
|
3932
3933
|
],
|
|
3933
|
-
"padding": "lg",
|
|
3934
3934
|
"type": "container",
|
|
3935
|
-
"
|
|
3935
|
+
"padding": "lg"
|
|
3936
3936
|
}
|
|
3937
3937
|
],
|
|
3938
|
-
"type": "dashboard-layout",
|
|
3939
3938
|
"appName": "EcommerceApp",
|
|
3939
|
+
"type": "dashboard-layout",
|
|
3940
3940
|
"navItems": [
|
|
3941
3941
|
{
|
|
3942
|
-
"label": "Products",
|
|
3943
3942
|
"href": "/products",
|
|
3943
|
+
"label": "Products",
|
|
3944
3944
|
"icon": "package"
|
|
3945
3945
|
},
|
|
3946
3946
|
{
|
|
3947
|
-
"
|
|
3947
|
+
"label": "Cart",
|
|
3948
3948
|
"icon": "shopping-cart",
|
|
3949
|
-
"
|
|
3949
|
+
"href": "/cart"
|
|
3950
3950
|
},
|
|
3951
3951
|
{
|
|
3952
|
-
"icon": "credit-card",
|
|
3953
3952
|
"label": "Checkout",
|
|
3954
|
-
"href": "/checkout"
|
|
3953
|
+
"href": "/checkout",
|
|
3954
|
+
"icon": "credit-card"
|
|
3955
3955
|
},
|
|
3956
3956
|
{
|
|
3957
|
-
"label": "Orders",
|
|
3958
3957
|
"href": "/orders",
|
|
3959
|
-
"icon": "clipboard-list"
|
|
3958
|
+
"icon": "clipboard-list",
|
|
3959
|
+
"label": "Orders"
|
|
3960
3960
|
}
|
|
3961
3961
|
]
|
|
3962
3962
|
}
|
|
@@ -3972,9 +3972,9 @@
|
|
|
3972
3972
|
"fetch",
|
|
3973
3973
|
"Checkout",
|
|
3974
3974
|
{
|
|
3975
|
-
"emit": {
|
|
3976
|
-
"
|
|
3977
|
-
"
|
|
3975
|
+
"emit": {
|
|
3976
|
+
"success": "CheckoutLoaded",
|
|
3977
|
+
"failure": "CheckoutLoadFailed"
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
3980
|
],
|
|
@@ -3982,23 +3982,22 @@
|
|
|
3982
3982
|
"render-ui",
|
|
3983
3983
|
"main",
|
|
3984
3984
|
{
|
|
3985
|
-
"type": "dashboard-layout",
|
|
3986
3985
|
"appName": "EcommerceApp",
|
|
3987
3986
|
"navItems": [
|
|
3988
3987
|
{
|
|
3989
3988
|
"icon": "package",
|
|
3990
|
-
"
|
|
3991
|
-
"
|
|
3989
|
+
"label": "Products",
|
|
3990
|
+
"href": "/products"
|
|
3992
3991
|
},
|
|
3993
3992
|
{
|
|
3994
|
-
"
|
|
3993
|
+
"icon": "shopping-cart",
|
|
3995
3994
|
"label": "Cart",
|
|
3996
|
-
"
|
|
3995
|
+
"href": "/cart"
|
|
3997
3996
|
},
|
|
3998
3997
|
{
|
|
3999
|
-
"
|
|
3998
|
+
"icon": "credit-card",
|
|
4000
3999
|
"label": "Checkout",
|
|
4001
|
-
"
|
|
4000
|
+
"href": "/checkout"
|
|
4002
4001
|
},
|
|
4003
4002
|
{
|
|
4004
4003
|
"label": "Orders",
|
|
@@ -4006,19 +4005,22 @@
|
|
|
4006
4005
|
"href": "/orders"
|
|
4007
4006
|
}
|
|
4008
4007
|
],
|
|
4008
|
+
"type": "dashboard-layout",
|
|
4009
4009
|
"children": [
|
|
4010
4010
|
{
|
|
4011
|
+
"maxWidth": "lg",
|
|
4011
4012
|
"children": [
|
|
4012
4013
|
{
|
|
4014
|
+
"direction": "vertical",
|
|
4015
|
+
"type": "stack",
|
|
4016
|
+
"gap": "lg",
|
|
4013
4017
|
"children": [
|
|
4014
4018
|
{
|
|
4015
|
-
"
|
|
4016
|
-
"direction": "horizontal",
|
|
4017
|
-
"align": "center",
|
|
4019
|
+
"type": "stack",
|
|
4018
4020
|
"children": [
|
|
4019
4021
|
{
|
|
4020
|
-
"
|
|
4021
|
-
"
|
|
4022
|
+
"type": "icon",
|
|
4023
|
+
"name": "credit-card"
|
|
4022
4024
|
},
|
|
4023
4025
|
{
|
|
4024
4026
|
"type": "typography",
|
|
@@ -4026,29 +4028,31 @@
|
|
|
4026
4028
|
"variant": "h2"
|
|
4027
4029
|
}
|
|
4028
4030
|
],
|
|
4029
|
-
"
|
|
4031
|
+
"align": "center",
|
|
4032
|
+
"direction": "horizontal",
|
|
4033
|
+
"gap": "sm"
|
|
4030
4034
|
},
|
|
4031
4035
|
{
|
|
4032
4036
|
"currentIndex": 2.0,
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
4037
|
+
"type": "progress-dots",
|
|
4038
|
+
"count": 3.0
|
|
4035
4039
|
},
|
|
4036
4040
|
{
|
|
4041
|
+
"currentStep": 2.0,
|
|
4037
4042
|
"steps": [
|
|
4038
4043
|
"Customer Info",
|
|
4039
4044
|
"Shipping",
|
|
4040
4045
|
"Payment"
|
|
4041
4046
|
],
|
|
4042
|
-
"currentStep": 2.0,
|
|
4043
4047
|
"type": "wizard-progress"
|
|
4044
4048
|
},
|
|
4045
4049
|
{
|
|
4046
4050
|
"type": "divider"
|
|
4047
4051
|
},
|
|
4048
4052
|
{
|
|
4049
|
-
"variant": "h3",
|
|
4050
4053
|
"type": "typography",
|
|
4051
|
-
"content": "Payment"
|
|
4054
|
+
"content": "Payment",
|
|
4055
|
+
"variant": "h3"
|
|
4052
4056
|
},
|
|
4053
4057
|
{
|
|
4054
4058
|
"type": "form-section",
|
|
@@ -4061,36 +4065,32 @@
|
|
|
4061
4065
|
"entity": "Checkout"
|
|
4062
4066
|
},
|
|
4063
4067
|
{
|
|
4064
|
-
"justify": "end",
|
|
4065
4068
|
"children": [
|
|
4066
4069
|
{
|
|
4067
|
-
"variant": "ghost",
|
|
4068
4070
|
"type": "button",
|
|
4071
|
+
"variant": "ghost",
|
|
4072
|
+
"label": "Back",
|
|
4069
4073
|
"icon": "arrow-left",
|
|
4070
|
-
"action": "PREV"
|
|
4071
|
-
"label": "Back"
|
|
4074
|
+
"action": "PREV"
|
|
4072
4075
|
},
|
|
4073
4076
|
{
|
|
4077
|
+
"type": "button",
|
|
4074
4078
|
"action": "NEXT",
|
|
4075
|
-
"variant": "primary",
|
|
4076
|
-
"icon": "arrow-right",
|
|
4077
4079
|
"label": "Next",
|
|
4078
|
-
"
|
|
4080
|
+
"icon": "arrow-right",
|
|
4081
|
+
"variant": "primary"
|
|
4079
4082
|
}
|
|
4080
4083
|
],
|
|
4081
4084
|
"type": "stack",
|
|
4085
|
+
"justify": "end",
|
|
4082
4086
|
"direction": "horizontal",
|
|
4083
4087
|
"gap": "sm"
|
|
4084
4088
|
}
|
|
4085
|
-
]
|
|
4086
|
-
"type": "stack",
|
|
4087
|
-
"direction": "vertical",
|
|
4088
|
-
"gap": "lg"
|
|
4089
|
+
]
|
|
4089
4090
|
}
|
|
4090
4091
|
],
|
|
4091
4092
|
"type": "container",
|
|
4092
|
-
"padding": "lg"
|
|
4093
|
-
"maxWidth": "lg"
|
|
4093
|
+
"padding": "lg"
|
|
4094
4094
|
}
|
|
4095
4095
|
]
|
|
4096
4096
|
}
|
|
@@ -4117,34 +4117,11 @@
|
|
|
4117
4117
|
"render-ui",
|
|
4118
4118
|
"main",
|
|
4119
4119
|
{
|
|
4120
|
-
"navItems": [
|
|
4121
|
-
{
|
|
4122
|
-
"icon": "package",
|
|
4123
|
-
"href": "/products",
|
|
4124
|
-
"label": "Products"
|
|
4125
|
-
},
|
|
4126
|
-
{
|
|
4127
|
-
"label": "Cart",
|
|
4128
|
-
"href": "/cart",
|
|
4129
|
-
"icon": "shopping-cart"
|
|
4130
|
-
},
|
|
4131
|
-
{
|
|
4132
|
-
"label": "Checkout",
|
|
4133
|
-
"href": "/checkout",
|
|
4134
|
-
"icon": "credit-card"
|
|
4135
|
-
},
|
|
4136
|
-
{
|
|
4137
|
-
"icon": "clipboard-list",
|
|
4138
|
-
"label": "Orders",
|
|
4139
|
-
"href": "/orders"
|
|
4140
|
-
}
|
|
4141
|
-
],
|
|
4142
|
-
"type": "dashboard-layout",
|
|
4143
|
-
"appName": "EcommerceApp",
|
|
4144
4120
|
"children": [
|
|
4145
4121
|
{
|
|
4146
|
-
"gap": "lg",
|
|
4147
4122
|
"align": "center",
|
|
4123
|
+
"gap": "lg",
|
|
4124
|
+
"type": "stack",
|
|
4148
4125
|
"children": [
|
|
4149
4126
|
{
|
|
4150
4127
|
"name": "check-circle",
|
|
@@ -4157,19 +4134,42 @@
|
|
|
4157
4134
|
},
|
|
4158
4135
|
{
|
|
4159
4136
|
"type": "typography",
|
|
4160
|
-
"
|
|
4161
|
-
"
|
|
4137
|
+
"content": "Your order has been placed successfully.",
|
|
4138
|
+
"variant": "body"
|
|
4162
4139
|
},
|
|
4163
4140
|
{
|
|
4164
|
-
"label": "Start New",
|
|
4165
|
-
"type": "button",
|
|
4166
4141
|
"icon": "refresh-cw",
|
|
4167
|
-
"
|
|
4168
|
-
"
|
|
4142
|
+
"action": "RESTART",
|
|
4143
|
+
"type": "button",
|
|
4144
|
+
"label": "Start New",
|
|
4145
|
+
"variant": "primary"
|
|
4169
4146
|
}
|
|
4170
4147
|
],
|
|
4171
|
-
"direction": "vertical"
|
|
4172
|
-
|
|
4148
|
+
"direction": "vertical"
|
|
4149
|
+
}
|
|
4150
|
+
],
|
|
4151
|
+
"appName": "EcommerceApp",
|
|
4152
|
+
"type": "dashboard-layout",
|
|
4153
|
+
"navItems": [
|
|
4154
|
+
{
|
|
4155
|
+
"icon": "package",
|
|
4156
|
+
"label": "Products",
|
|
4157
|
+
"href": "/products"
|
|
4158
|
+
},
|
|
4159
|
+
{
|
|
4160
|
+
"icon": "shopping-cart",
|
|
4161
|
+
"label": "Cart",
|
|
4162
|
+
"href": "/cart"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"label": "Checkout",
|
|
4166
|
+
"icon": "credit-card",
|
|
4167
|
+
"href": "/checkout"
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"icon": "clipboard-list",
|
|
4171
|
+
"href": "/orders",
|
|
4172
|
+
"label": "Orders"
|
|
4173
4173
|
}
|
|
4174
4174
|
]
|
|
4175
4175
|
}
|
|
@@ -4195,7 +4195,7 @@
|
|
|
4195
4195
|
"render-ui",
|
|
4196
4196
|
"main",
|
|
4197
4197
|
{
|
|
4198
|
-
"
|
|
4198
|
+
"type": "dashboard-layout",
|
|
4199
4199
|
"navItems": [
|
|
4200
4200
|
{
|
|
4201
4201
|
"label": "Products",
|
|
@@ -4203,14 +4203,14 @@
|
|
|
4203
4203
|
"icon": "package"
|
|
4204
4204
|
},
|
|
4205
4205
|
{
|
|
4206
|
-
"icon": "shopping-cart",
|
|
4207
4206
|
"href": "/cart",
|
|
4208
|
-
"label": "Cart"
|
|
4207
|
+
"label": "Cart",
|
|
4208
|
+
"icon": "shopping-cart"
|
|
4209
4209
|
},
|
|
4210
4210
|
{
|
|
4211
4211
|
"href": "/checkout",
|
|
4212
|
-
"
|
|
4213
|
-
"
|
|
4212
|
+
"icon": "credit-card",
|
|
4213
|
+
"label": "Checkout"
|
|
4214
4214
|
},
|
|
4215
4215
|
{
|
|
4216
4216
|
"label": "Orders",
|
|
@@ -4218,88 +4218,88 @@
|
|
|
4218
4218
|
"icon": "clipboard-list"
|
|
4219
4219
|
}
|
|
4220
4220
|
],
|
|
4221
|
+
"appName": "EcommerceApp",
|
|
4221
4222
|
"children": [
|
|
4222
4223
|
{
|
|
4223
|
-
"maxWidth": "lg",
|
|
4224
4224
|
"children": [
|
|
4225
4225
|
{
|
|
4226
|
+
"type": "stack",
|
|
4226
4227
|
"direction": "vertical",
|
|
4227
4228
|
"children": [
|
|
4228
4229
|
{
|
|
4229
|
-
"
|
|
4230
|
+
"gap": "sm",
|
|
4230
4231
|
"children": [
|
|
4231
4232
|
{
|
|
4232
4233
|
"type": "icon",
|
|
4233
4234
|
"name": "credit-card"
|
|
4234
4235
|
},
|
|
4235
4236
|
{
|
|
4236
|
-
"
|
|
4237
|
+
"type": "typography",
|
|
4237
4238
|
"content": "Checkout",
|
|
4238
|
-
"
|
|
4239
|
+
"variant": "h2"
|
|
4239
4240
|
}
|
|
4240
4241
|
],
|
|
4241
4242
|
"align": "center",
|
|
4242
|
-
"
|
|
4243
|
-
"
|
|
4243
|
+
"type": "stack",
|
|
4244
|
+
"direction": "horizontal"
|
|
4244
4245
|
},
|
|
4245
4246
|
{
|
|
4246
|
-
"currentIndex": 0.0,
|
|
4247
4247
|
"count": 3.0,
|
|
4248
|
-
"type": "progress-dots"
|
|
4248
|
+
"type": "progress-dots",
|
|
4249
|
+
"currentIndex": 0.0
|
|
4249
4250
|
},
|
|
4250
4251
|
{
|
|
4251
|
-
"currentStep": 0.0,
|
|
4252
4252
|
"type": "wizard-progress",
|
|
4253
4253
|
"steps": [
|
|
4254
4254
|
"Customer Info",
|
|
4255
4255
|
"Shipping",
|
|
4256
4256
|
"Payment"
|
|
4257
|
-
]
|
|
4257
|
+
],
|
|
4258
|
+
"currentStep": 0.0
|
|
4258
4259
|
},
|
|
4259
4260
|
{
|
|
4260
4261
|
"type": "divider"
|
|
4261
4262
|
},
|
|
4262
4263
|
{
|
|
4263
|
-
"content": "Customer Info",
|
|
4264
4264
|
"type": "typography",
|
|
4265
|
+
"content": "Customer Info",
|
|
4265
4266
|
"variant": "h3"
|
|
4266
4267
|
},
|
|
4267
4268
|
{
|
|
4268
|
-
"
|
|
4269
|
-
"
|
|
4270
|
-
"entity": "Checkout",
|
|
4269
|
+
"submitEvent": "NEXT",
|
|
4270
|
+
"mode": "create",
|
|
4271
4271
|
"fields": [
|
|
4272
4272
|
"customerName",
|
|
4273
4273
|
"email"
|
|
4274
4274
|
],
|
|
4275
|
-
"
|
|
4276
|
-
"
|
|
4275
|
+
"cancelEvent": "INIT",
|
|
4276
|
+
"type": "form-section",
|
|
4277
|
+
"entity": "Checkout"
|
|
4277
4278
|
},
|
|
4278
4279
|
{
|
|
4279
4280
|
"type": "stack",
|
|
4280
|
-
"direction": "horizontal",
|
|
4281
|
-
"justify": "end",
|
|
4282
4281
|
"children": [
|
|
4283
4282
|
{
|
|
4284
|
-
"action": "NEXT",
|
|
4285
4283
|
"variant": "primary",
|
|
4286
4284
|
"label": "Next",
|
|
4287
4285
|
"icon": "arrow-right",
|
|
4286
|
+
"action": "NEXT",
|
|
4288
4287
|
"type": "button"
|
|
4289
4288
|
}
|
|
4290
4289
|
],
|
|
4291
|
-
"gap": "sm"
|
|
4290
|
+
"gap": "sm",
|
|
4291
|
+
"direction": "horizontal",
|
|
4292
|
+
"justify": "end"
|
|
4292
4293
|
}
|
|
4293
4294
|
],
|
|
4294
|
-
"type": "stack",
|
|
4295
4295
|
"gap": "lg"
|
|
4296
4296
|
}
|
|
4297
4297
|
],
|
|
4298
|
-
"
|
|
4299
|
-
"
|
|
4298
|
+
"padding": "lg",
|
|
4299
|
+
"maxWidth": "lg",
|
|
4300
|
+
"type": "container"
|
|
4300
4301
|
}
|
|
4301
|
-
]
|
|
4302
|
-
"type": "dashboard-layout"
|
|
4302
|
+
]
|
|
4303
4303
|
}
|
|
4304
4304
|
]
|
|
4305
4305
|
]
|
|
@@ -4314,8 +4314,8 @@
|
|
|
4314
4314
|
"Checkout",
|
|
4315
4315
|
{
|
|
4316
4316
|
"emit": {
|
|
4317
|
-
"
|
|
4318
|
-
"
|
|
4317
|
+
"failure": "CheckoutLoadFailed",
|
|
4318
|
+
"success": "CheckoutLoaded"
|
|
4319
4319
|
}
|
|
4320
4320
|
}
|
|
4321
4321
|
],
|
|
@@ -4328,82 +4328,82 @@
|
|
|
4328
4328
|
"children": [
|
|
4329
4329
|
{
|
|
4330
4330
|
"padding": "lg",
|
|
4331
|
-
"maxWidth": "lg",
|
|
4332
4331
|
"type": "container",
|
|
4333
4332
|
"children": [
|
|
4334
4333
|
{
|
|
4334
|
+
"gap": "lg",
|
|
4335
|
+
"direction": "vertical",
|
|
4336
|
+
"type": "stack",
|
|
4335
4337
|
"children": [
|
|
4336
4338
|
{
|
|
4339
|
+
"type": "stack",
|
|
4340
|
+
"align": "center",
|
|
4341
|
+
"direction": "horizontal",
|
|
4337
4342
|
"children": [
|
|
4338
4343
|
{
|
|
4339
|
-
"
|
|
4340
|
-
"
|
|
4344
|
+
"name": "credit-card",
|
|
4345
|
+
"type": "icon"
|
|
4341
4346
|
},
|
|
4342
4347
|
{
|
|
4343
|
-
"
|
|
4348
|
+
"type": "typography",
|
|
4344
4349
|
"variant": "h2",
|
|
4345
|
-
"
|
|
4350
|
+
"content": "Checkout"
|
|
4346
4351
|
}
|
|
4347
4352
|
],
|
|
4348
|
-
"
|
|
4349
|
-
"type": "stack",
|
|
4350
|
-
"gap": "sm",
|
|
4351
|
-
"direction": "horizontal"
|
|
4353
|
+
"gap": "sm"
|
|
4352
4354
|
},
|
|
4353
4355
|
{
|
|
4354
|
-
"count": 3.0,
|
|
4355
4356
|
"type": "progress-dots",
|
|
4357
|
+
"count": 3.0,
|
|
4356
4358
|
"currentIndex": 0.0
|
|
4357
4359
|
},
|
|
4358
4360
|
{
|
|
4361
|
+
"type": "wizard-progress",
|
|
4359
4362
|
"steps": [
|
|
4360
4363
|
"Customer Info",
|
|
4361
4364
|
"Shipping",
|
|
4362
4365
|
"Payment"
|
|
4363
4366
|
],
|
|
4364
|
-
"type": "wizard-progress",
|
|
4365
4367
|
"currentStep": 0.0
|
|
4366
4368
|
},
|
|
4367
4369
|
{
|
|
4368
4370
|
"type": "divider"
|
|
4369
4371
|
},
|
|
4370
4372
|
{
|
|
4371
|
-
"type": "typography",
|
|
4372
4373
|
"content": "Customer Info",
|
|
4373
|
-
"variant": "h3"
|
|
4374
|
+
"variant": "h3",
|
|
4375
|
+
"type": "typography"
|
|
4374
4376
|
},
|
|
4375
4377
|
{
|
|
4378
|
+
"entity": "Checkout",
|
|
4379
|
+
"submitEvent": "NEXT",
|
|
4376
4380
|
"type": "form-section",
|
|
4381
|
+
"cancelEvent": "INIT",
|
|
4377
4382
|
"fields": [
|
|
4378
4383
|
"customerName",
|
|
4379
4384
|
"email"
|
|
4380
4385
|
],
|
|
4381
|
-
"mode": "create"
|
|
4382
|
-
"submitEvent": "NEXT",
|
|
4383
|
-
"cancelEvent": "INIT",
|
|
4384
|
-
"entity": "Checkout"
|
|
4386
|
+
"mode": "create"
|
|
4385
4387
|
},
|
|
4386
4388
|
{
|
|
4387
|
-
"justify": "end",
|
|
4388
|
-
"gap": "sm",
|
|
4389
4389
|
"children": [
|
|
4390
4390
|
{
|
|
4391
|
-
"action": "NEXT",
|
|
4392
4391
|
"variant": "primary",
|
|
4393
|
-
"
|
|
4392
|
+
"action": "NEXT",
|
|
4393
|
+
"type": "button",
|
|
4394
4394
|
"icon": "arrow-right",
|
|
4395
|
-
"
|
|
4395
|
+
"label": "Next"
|
|
4396
4396
|
}
|
|
4397
4397
|
],
|
|
4398
|
+
"gap": "sm",
|
|
4398
4399
|
"direction": "horizontal",
|
|
4399
|
-
"type": "stack"
|
|
4400
|
+
"type": "stack",
|
|
4401
|
+
"justify": "end"
|
|
4400
4402
|
}
|
|
4401
|
-
]
|
|
4402
|
-
"type": "stack",
|
|
4403
|
-
"direction": "vertical",
|
|
4404
|
-
"gap": "lg"
|
|
4403
|
+
]
|
|
4405
4404
|
}
|
|
4406
|
-
]
|
|
4405
|
+
],
|
|
4406
|
+
"maxWidth": "lg"
|
|
4407
4407
|
}
|
|
4408
4408
|
],
|
|
4409
4409
|
"navItems": [
|
|
@@ -4413,19 +4413,19 @@
|
|
|
4413
4413
|
"icon": "package"
|
|
4414
4414
|
},
|
|
4415
4415
|
{
|
|
4416
|
-
"label": "Cart",
|
|
4417
4416
|
"href": "/cart",
|
|
4418
|
-
"icon": "shopping-cart"
|
|
4417
|
+
"icon": "shopping-cart",
|
|
4418
|
+
"label": "Cart"
|
|
4419
4419
|
},
|
|
4420
4420
|
{
|
|
4421
|
-
"label": "Checkout",
|
|
4422
4421
|
"href": "/checkout",
|
|
4422
|
+
"label": "Checkout",
|
|
4423
4423
|
"icon": "credit-card"
|
|
4424
4424
|
},
|
|
4425
4425
|
{
|
|
4426
|
+
"label": "Orders",
|
|
4426
4427
|
"icon": "clipboard-list",
|
|
4427
|
-
"href": "/orders"
|
|
4428
|
-
"label": "Orders"
|
|
4428
|
+
"href": "/orders"
|
|
4429
4429
|
}
|
|
4430
4430
|
]
|
|
4431
4431
|
}
|
|
@@ -4671,20 +4671,42 @@
|
|
|
4671
4671
|
"render-ui",
|
|
4672
4672
|
"main",
|
|
4673
4673
|
{
|
|
4674
|
+
"appName": "EcommerceApp",
|
|
4675
|
+
"type": "dashboard-layout",
|
|
4676
|
+
"navItems": [
|
|
4677
|
+
{
|
|
4678
|
+
"label": "Products",
|
|
4679
|
+
"href": "/products",
|
|
4680
|
+
"icon": "package"
|
|
4681
|
+
},
|
|
4682
|
+
{
|
|
4683
|
+
"href": "/cart",
|
|
4684
|
+
"icon": "shopping-cart",
|
|
4685
|
+
"label": "Cart"
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
"icon": "credit-card",
|
|
4689
|
+
"href": "/checkout",
|
|
4690
|
+
"label": "Checkout"
|
|
4691
|
+
},
|
|
4692
|
+
{
|
|
4693
|
+
"label": "Orders",
|
|
4694
|
+
"href": "/orders",
|
|
4695
|
+
"icon": "clipboard-list"
|
|
4696
|
+
}
|
|
4697
|
+
],
|
|
4674
4698
|
"children": [
|
|
4675
4699
|
{
|
|
4676
|
-
"gap": "lg",
|
|
4677
|
-
"direction": "vertical",
|
|
4678
|
-
"type": "stack",
|
|
4679
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
4680
4700
|
"children": [
|
|
4681
4701
|
{
|
|
4702
|
+
"align": "center",
|
|
4682
4703
|
"children": [
|
|
4683
4704
|
{
|
|
4705
|
+
"type": "stack",
|
|
4684
4706
|
"children": [
|
|
4685
4707
|
{
|
|
4686
|
-
"
|
|
4687
|
-
"
|
|
4708
|
+
"type": "icon",
|
|
4709
|
+
"name": "clipboard-list"
|
|
4688
4710
|
},
|
|
4689
4711
|
{
|
|
4690
4712
|
"content": "Order History",
|
|
@@ -4692,72 +4714,72 @@
|
|
|
4692
4714
|
"type": "typography"
|
|
4693
4715
|
}
|
|
4694
4716
|
],
|
|
4695
|
-
"type": "stack",
|
|
4696
4717
|
"gap": "sm",
|
|
4697
|
-
"
|
|
4698
|
-
"
|
|
4718
|
+
"direction": "horizontal",
|
|
4719
|
+
"align": "center"
|
|
4699
4720
|
},
|
|
4700
4721
|
{
|
|
4701
|
-
"
|
|
4722
|
+
"direction": "horizontal",
|
|
4702
4723
|
"children": [
|
|
4703
4724
|
{
|
|
4704
4725
|
"variant": "primary",
|
|
4705
4726
|
"type": "button",
|
|
4706
|
-
"icon": "plus",
|
|
4707
4727
|
"action": "CREATE",
|
|
4708
|
-
"label": "Create OrderRecord"
|
|
4728
|
+
"label": "Create OrderRecord",
|
|
4729
|
+
"icon": "plus"
|
|
4709
4730
|
}
|
|
4710
4731
|
],
|
|
4711
4732
|
"gap": "sm",
|
|
4712
|
-
"
|
|
4733
|
+
"type": "stack"
|
|
4713
4734
|
}
|
|
4714
4735
|
],
|
|
4715
4736
|
"gap": "md",
|
|
4716
4737
|
"type": "stack",
|
|
4717
|
-
"
|
|
4718
|
-
"direction": "horizontal"
|
|
4719
|
-
"justify": "between"
|
|
4738
|
+
"justify": "between",
|
|
4739
|
+
"direction": "horizontal"
|
|
4720
4740
|
},
|
|
4721
4741
|
{
|
|
4722
4742
|
"type": "divider"
|
|
4723
4743
|
},
|
|
4724
4744
|
{
|
|
4725
|
-
"
|
|
4745
|
+
"gap": "sm",
|
|
4746
|
+
"entity": "OrderRecord",
|
|
4747
|
+
"variant": "card",
|
|
4726
4748
|
"itemActions": [
|
|
4727
4749
|
{
|
|
4728
4750
|
"event": "VIEW",
|
|
4729
|
-
"
|
|
4730
|
-
"
|
|
4751
|
+
"label": "View",
|
|
4752
|
+
"variant": "ghost"
|
|
4731
4753
|
},
|
|
4732
4754
|
{
|
|
4733
|
-
"
|
|
4755
|
+
"variant": "ghost",
|
|
4734
4756
|
"label": "Edit",
|
|
4735
|
-
"
|
|
4757
|
+
"event": "EDIT"
|
|
4736
4758
|
},
|
|
4737
4759
|
{
|
|
4738
|
-
"
|
|
4760
|
+
"label": "Delete",
|
|
4739
4761
|
"event": "DELETE",
|
|
4740
|
-
"
|
|
4762
|
+
"variant": "danger"
|
|
4741
4763
|
}
|
|
4742
4764
|
],
|
|
4743
|
-
"
|
|
4765
|
+
"type": "data-list",
|
|
4744
4766
|
"fields": [],
|
|
4745
4767
|
"columns": [
|
|
4746
4768
|
{
|
|
4747
|
-
"variant": "h3",
|
|
4748
|
-
"name": "customerName",
|
|
4749
4769
|
"label": "Customer",
|
|
4750
|
-
"
|
|
4770
|
+
"name": "customerName",
|
|
4771
|
+
"icon": "clipboard-list",
|
|
4772
|
+
"variant": "h3"
|
|
4751
4773
|
},
|
|
4752
4774
|
{
|
|
4753
|
-
"
|
|
4754
|
-
"
|
|
4775
|
+
"variant": "badge",
|
|
4776
|
+
"name": "status"
|
|
4755
4777
|
},
|
|
4756
4778
|
{
|
|
4779
|
+
"variant": "h4",
|
|
4757
4780
|
"format": "currency",
|
|
4758
|
-
"name": "orderTotal",
|
|
4759
4781
|
"label": "Total",
|
|
4760
|
-
"
|
|
4782
|
+
"name": "orderTotal"
|
|
4761
4783
|
},
|
|
4762
4784
|
{
|
|
4763
4785
|
"name": "email",
|
|
@@ -4768,37 +4790,15 @@
|
|
|
4768
4790
|
"name": "shippingAddress",
|
|
4769
4791
|
"variant": "caption"
|
|
4770
4792
|
}
|
|
4771
|
-
]
|
|
4772
|
-
"variant": "card",
|
|
4773
|
-
"gap": "sm"
|
|
4793
|
+
]
|
|
4774
4794
|
}
|
|
4775
|
-
]
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
{
|
|
4781
|
-
"href": "/products",
|
|
4782
|
-
"label": "Products",
|
|
4783
|
-
"icon": "package"
|
|
4784
|
-
},
|
|
4785
|
-
{
|
|
4786
|
-
"label": "Cart",
|
|
4787
|
-
"icon": "shopping-cart",
|
|
4788
|
-
"href": "/cart"
|
|
4789
|
-
},
|
|
4790
|
-
{
|
|
4791
|
-
"label": "Checkout",
|
|
4792
|
-
"href": "/checkout",
|
|
4793
|
-
"icon": "credit-card"
|
|
4794
|
-
},
|
|
4795
|
-
{
|
|
4796
|
-
"href": "/orders",
|
|
4797
|
-
"icon": "clipboard-list",
|
|
4798
|
-
"label": "Orders"
|
|
4795
|
+
],
|
|
4796
|
+
"type": "stack",
|
|
4797
|
+
"direction": "vertical",
|
|
4798
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
4799
|
+
"gap": "lg"
|
|
4799
4800
|
}
|
|
4800
|
-
]
|
|
4801
|
-
"type": "dashboard-layout"
|
|
4801
|
+
]
|
|
4802
4802
|
}
|
|
4803
4803
|
]
|
|
4804
4804
|
]
|
|
@@ -4997,19 +4997,19 @@
|
|
|
4997
4997
|
"gap": "md",
|
|
4998
4998
|
"children": [
|
|
4999
4999
|
{
|
|
5000
|
-
"type": "stack",
|
|
5001
5000
|
"gap": "sm",
|
|
5002
5001
|
"children": [
|
|
5003
5002
|
{
|
|
5004
|
-
"
|
|
5005
|
-
"
|
|
5003
|
+
"name": "plus-circle",
|
|
5004
|
+
"type": "icon"
|
|
5006
5005
|
},
|
|
5007
5006
|
{
|
|
5008
|
-
"variant": "h3",
|
|
5009
5007
|
"content": "Create OrderRecord",
|
|
5010
|
-
"type": "typography"
|
|
5008
|
+
"type": "typography",
|
|
5009
|
+
"variant": "h3"
|
|
5011
5010
|
}
|
|
5012
5011
|
],
|
|
5012
|
+
"type": "stack",
|
|
5013
5013
|
"direction": "horizontal"
|
|
5014
5014
|
},
|
|
5015
5015
|
{
|
|
@@ -5017,10 +5017,9 @@
|
|
|
5017
5017
|
},
|
|
5018
5018
|
{
|
|
5019
5019
|
"entity": "OrderRecord",
|
|
5020
|
-
"
|
|
5020
|
+
"mode": "create",
|
|
5021
5021
|
"cancelEvent": "CLOSE",
|
|
5022
5022
|
"type": "form-section",
|
|
5023
|
-
"mode": "create",
|
|
5024
5023
|
"fields": [
|
|
5025
5024
|
"customerName",
|
|
5026
5025
|
"email",
|
|
@@ -5028,7 +5027,8 @@
|
|
|
5028
5027
|
"paymentMethod",
|
|
5029
5028
|
"orderTotal",
|
|
5030
5029
|
"status"
|
|
5031
|
-
]
|
|
5030
|
+
],
|
|
5031
|
+
"submitEvent": "SAVE"
|
|
5032
5032
|
}
|
|
5033
5033
|
],
|
|
5034
5034
|
"direction": "vertical"
|
|
@@ -5286,17 +5286,14 @@
|
|
|
5286
5286
|
"render-ui",
|
|
5287
5287
|
"modal",
|
|
5288
5288
|
{
|
|
5289
|
-
"direction": "vertical",
|
|
5290
|
-
"gap": "md",
|
|
5291
5289
|
"type": "stack",
|
|
5292
5290
|
"children": [
|
|
5293
5291
|
{
|
|
5294
|
-
"type": "stack",
|
|
5295
5292
|
"gap": "sm",
|
|
5296
5293
|
"children": [
|
|
5297
5294
|
{
|
|
5298
|
-
"
|
|
5299
|
-
"
|
|
5295
|
+
"name": "edit",
|
|
5296
|
+
"type": "icon"
|
|
5300
5297
|
},
|
|
5301
5298
|
{
|
|
5302
5299
|
"variant": "h3",
|
|
@@ -5304,15 +5301,17 @@
|
|
|
5304
5301
|
"content": "Edit OrderRecord"
|
|
5305
5302
|
}
|
|
5306
5303
|
],
|
|
5307
|
-
"direction": "horizontal"
|
|
5304
|
+
"direction": "horizontal",
|
|
5305
|
+
"type": "stack"
|
|
5308
5306
|
},
|
|
5309
5307
|
{
|
|
5310
5308
|
"type": "divider"
|
|
5311
5309
|
},
|
|
5312
5310
|
{
|
|
5313
|
-
"submitEvent": "SAVE",
|
|
5314
5311
|
"entity": "OrderRecord",
|
|
5312
|
+
"type": "form-section",
|
|
5315
5313
|
"mode": "edit",
|
|
5314
|
+
"submitEvent": "SAVE",
|
|
5316
5315
|
"cancelEvent": "CLOSE",
|
|
5317
5316
|
"fields": [
|
|
5318
5317
|
"customerName",
|
|
@@ -5322,10 +5321,11 @@
|
|
|
5322
5321
|
"orderTotal",
|
|
5323
5322
|
"status"
|
|
5324
5323
|
],
|
|
5325
|
-
"entityId": "@entity.id"
|
|
5326
|
-
"type": "form-section"
|
|
5324
|
+
"entityId": "@entity.id"
|
|
5327
5325
|
}
|
|
5328
|
-
]
|
|
5326
|
+
],
|
|
5327
|
+
"direction": "vertical",
|
|
5328
|
+
"gap": "md"
|
|
5329
5329
|
}
|
|
5330
5330
|
]
|
|
5331
5331
|
]
|
|
@@ -5556,24 +5556,19 @@
|
|
|
5556
5556
|
"fetch",
|
|
5557
5557
|
"OrderRecord",
|
|
5558
5558
|
{
|
|
5559
|
+
"id": "@payload.id",
|
|
5559
5560
|
"emit": {
|
|
5560
5561
|
"failure": "OrderRecordLoadFailed",
|
|
5561
5562
|
"success": "OrderRecordLoaded"
|
|
5562
|
-
}
|
|
5563
|
-
"id": "@payload.id"
|
|
5563
|
+
}
|
|
5564
5564
|
}
|
|
5565
5565
|
],
|
|
5566
5566
|
[
|
|
5567
5567
|
"render-ui",
|
|
5568
5568
|
"modal",
|
|
5569
5569
|
{
|
|
5570
|
-
"gap": "md",
|
|
5571
|
-
"type": "stack",
|
|
5572
|
-
"direction": "vertical",
|
|
5573
5570
|
"children": [
|
|
5574
5571
|
{
|
|
5575
|
-
"direction": "horizontal",
|
|
5576
|
-
"align": "center",
|
|
5577
5572
|
"children": [
|
|
5578
5573
|
{
|
|
5579
5574
|
"type": "icon",
|
|
@@ -5586,12 +5581,15 @@
|
|
|
5586
5581
|
}
|
|
5587
5582
|
],
|
|
5588
5583
|
"type": "stack",
|
|
5589
|
-
"
|
|
5584
|
+
"direction": "horizontal",
|
|
5585
|
+
"gap": "sm",
|
|
5586
|
+
"align": "center"
|
|
5590
5587
|
},
|
|
5591
5588
|
{
|
|
5592
5589
|
"type": "divider"
|
|
5593
5590
|
},
|
|
5594
5591
|
{
|
|
5592
|
+
"direction": "horizontal",
|
|
5595
5593
|
"gap": "md",
|
|
5596
5594
|
"children": [
|
|
5597
5595
|
{
|
|
@@ -5600,15 +5598,17 @@
|
|
|
5600
5598
|
"variant": "caption"
|
|
5601
5599
|
},
|
|
5602
5600
|
{
|
|
5603
|
-
"content": "@entity.customerName",
|
|
5604
5601
|
"variant": "body",
|
|
5602
|
+
"content": "@entity.customerName",
|
|
5605
5603
|
"type": "typography"
|
|
5606
5604
|
}
|
|
5607
5605
|
],
|
|
5608
|
-
"type": "stack"
|
|
5609
|
-
"direction": "horizontal"
|
|
5606
|
+
"type": "stack"
|
|
5610
5607
|
},
|
|
5611
5608
|
{
|
|
5609
|
+
"type": "stack",
|
|
5610
|
+
"direction": "horizontal",
|
|
5611
|
+
"gap": "md",
|
|
5612
5612
|
"children": [
|
|
5613
5613
|
{
|
|
5614
5614
|
"type": "typography",
|
|
@@ -5616,68 +5616,67 @@
|
|
|
5616
5616
|
"content": "Email"
|
|
5617
5617
|
},
|
|
5618
5618
|
{
|
|
5619
|
-
"variant": "body",
|
|
5620
5619
|
"content": "@entity.email",
|
|
5620
|
+
"variant": "body",
|
|
5621
5621
|
"type": "typography"
|
|
5622
5622
|
}
|
|
5623
|
-
]
|
|
5624
|
-
"gap": "md",
|
|
5625
|
-
"type": "stack",
|
|
5626
|
-
"direction": "horizontal"
|
|
5623
|
+
]
|
|
5627
5624
|
},
|
|
5628
5625
|
{
|
|
5629
5626
|
"type": "stack",
|
|
5630
|
-
"gap": "md",
|
|
5631
|
-
"direction": "horizontal",
|
|
5632
5627
|
"children": [
|
|
5633
5628
|
{
|
|
5634
|
-
"content": "Shipping Address",
|
|
5635
5629
|
"type": "typography",
|
|
5636
|
-
"variant": "caption"
|
|
5630
|
+
"variant": "caption",
|
|
5631
|
+
"content": "Shipping Address"
|
|
5637
5632
|
},
|
|
5638
5633
|
{
|
|
5634
|
+
"type": "typography",
|
|
5639
5635
|
"variant": "body",
|
|
5640
|
-
"content": "@entity.shippingAddress"
|
|
5641
|
-
"type": "typography"
|
|
5636
|
+
"content": "@entity.shippingAddress"
|
|
5642
5637
|
}
|
|
5643
|
-
]
|
|
5638
|
+
],
|
|
5639
|
+
"direction": "horizontal",
|
|
5640
|
+
"gap": "md"
|
|
5644
5641
|
},
|
|
5645
5642
|
{
|
|
5643
|
+
"type": "stack",
|
|
5646
5644
|
"children": [
|
|
5647
5645
|
{
|
|
5648
|
-
"type": "typography",
|
|
5649
5646
|
"variant": "caption",
|
|
5647
|
+
"type": "typography",
|
|
5650
5648
|
"content": "Payment Method"
|
|
5651
5649
|
},
|
|
5652
5650
|
{
|
|
5653
5651
|
"content": "@entity.paymentMethod",
|
|
5654
|
-
"
|
|
5655
|
-
"
|
|
5652
|
+
"type": "typography",
|
|
5653
|
+
"variant": "body"
|
|
5656
5654
|
}
|
|
5657
5655
|
],
|
|
5658
|
-
"
|
|
5659
|
-
"gap": "md"
|
|
5660
|
-
"direction": "horizontal"
|
|
5656
|
+
"direction": "horizontal",
|
|
5657
|
+
"gap": "md"
|
|
5661
5658
|
},
|
|
5662
5659
|
{
|
|
5660
|
+
"gap": "md",
|
|
5663
5661
|
"type": "stack",
|
|
5662
|
+
"direction": "horizontal",
|
|
5664
5663
|
"children": [
|
|
5665
5664
|
{
|
|
5665
|
+
"type": "typography",
|
|
5666
5666
|
"variant": "caption",
|
|
5667
|
-
"content": "Order Total"
|
|
5668
|
-
"type": "typography"
|
|
5667
|
+
"content": "Order Total"
|
|
5669
5668
|
},
|
|
5670
5669
|
{
|
|
5671
5670
|
"content": "@entity.orderTotal",
|
|
5672
5671
|
"type": "typography",
|
|
5673
5672
|
"variant": "body"
|
|
5674
5673
|
}
|
|
5675
|
-
]
|
|
5676
|
-
"gap": "md",
|
|
5677
|
-
"direction": "horizontal"
|
|
5674
|
+
]
|
|
5678
5675
|
},
|
|
5679
5676
|
{
|
|
5677
|
+
"gap": "md",
|
|
5680
5678
|
"direction": "horizontal",
|
|
5679
|
+
"type": "stack",
|
|
5681
5680
|
"children": [
|
|
5682
5681
|
{
|
|
5683
5682
|
"type": "typography",
|
|
@@ -5685,39 +5684,40 @@
|
|
|
5685
5684
|
"variant": "caption"
|
|
5686
5685
|
},
|
|
5687
5686
|
{
|
|
5688
|
-
"content": "@entity.status",
|
|
5689
5687
|
"variant": "body",
|
|
5688
|
+
"content": "@entity.status",
|
|
5690
5689
|
"type": "typography"
|
|
5691
5690
|
}
|
|
5692
|
-
]
|
|
5693
|
-
"type": "stack",
|
|
5694
|
-
"gap": "md"
|
|
5691
|
+
]
|
|
5695
5692
|
},
|
|
5696
5693
|
{
|
|
5697
5694
|
"type": "divider"
|
|
5698
5695
|
},
|
|
5699
5696
|
{
|
|
5700
5697
|
"gap": "sm",
|
|
5698
|
+
"justify": "end",
|
|
5699
|
+
"direction": "horizontal",
|
|
5700
|
+
"type": "stack",
|
|
5701
5701
|
"children": [
|
|
5702
5702
|
{
|
|
5703
|
+
"type": "button",
|
|
5703
5704
|
"label": "Edit",
|
|
5705
|
+
"variant": "primary",
|
|
5704
5706
|
"icon": "edit",
|
|
5705
|
-
"
|
|
5706
|
-
"action": "EDIT",
|
|
5707
|
-
"variant": "primary"
|
|
5707
|
+
"action": "EDIT"
|
|
5708
5708
|
},
|
|
5709
5709
|
{
|
|
5710
5710
|
"type": "button",
|
|
5711
|
-
"
|
|
5711
|
+
"action": "CLOSE",
|
|
5712
5712
|
"variant": "ghost",
|
|
5713
|
-
"
|
|
5713
|
+
"label": "Close"
|
|
5714
5714
|
}
|
|
5715
|
-
]
|
|
5716
|
-
"direction": "horizontal",
|
|
5717
|
-
"justify": "end",
|
|
5718
|
-
"type": "stack"
|
|
5715
|
+
]
|
|
5719
5716
|
}
|
|
5720
|
-
]
|
|
5717
|
+
],
|
|
5718
|
+
"direction": "vertical",
|
|
5719
|
+
"gap": "md",
|
|
5720
|
+
"type": "stack"
|
|
5721
5721
|
}
|
|
5722
5722
|
]
|
|
5723
5723
|
]
|
|
@@ -5954,35 +5954,37 @@
|
|
|
5954
5954
|
"fetch",
|
|
5955
5955
|
"OrderRecord",
|
|
5956
5956
|
{
|
|
5957
|
+
"id": "@payload.id",
|
|
5957
5958
|
"emit": {
|
|
5958
|
-
"
|
|
5959
|
-
"
|
|
5960
|
-
}
|
|
5961
|
-
"id": "@payload.id"
|
|
5959
|
+
"success": "OrderRecordLoaded",
|
|
5960
|
+
"failure": "OrderRecordLoadFailed"
|
|
5961
|
+
}
|
|
5962
5962
|
}
|
|
5963
5963
|
],
|
|
5964
5964
|
[
|
|
5965
5965
|
"render-ui",
|
|
5966
5966
|
"modal",
|
|
5967
5967
|
{
|
|
5968
|
+
"gap": "md",
|
|
5968
5969
|
"type": "stack",
|
|
5970
|
+
"direction": "vertical",
|
|
5969
5971
|
"children": [
|
|
5970
5972
|
{
|
|
5973
|
+
"type": "stack",
|
|
5974
|
+
"direction": "horizontal",
|
|
5971
5975
|
"gap": "sm",
|
|
5972
5976
|
"align": "center",
|
|
5973
5977
|
"children": [
|
|
5974
5978
|
{
|
|
5975
|
-
"
|
|
5976
|
-
"
|
|
5979
|
+
"type": "icon",
|
|
5980
|
+
"name": "alert-triangle"
|
|
5977
5981
|
},
|
|
5978
5982
|
{
|
|
5979
5983
|
"variant": "h3",
|
|
5980
|
-
"
|
|
5981
|
-
"
|
|
5984
|
+
"content": "Delete OrderRecord",
|
|
5985
|
+
"type": "typography"
|
|
5982
5986
|
}
|
|
5983
|
-
]
|
|
5984
|
-
"type": "stack",
|
|
5985
|
-
"direction": "horizontal"
|
|
5987
|
+
]
|
|
5986
5988
|
},
|
|
5987
5989
|
{
|
|
5988
5990
|
"type": "divider"
|
|
@@ -5994,28 +5996,26 @@
|
|
|
5994
5996
|
},
|
|
5995
5997
|
{
|
|
5996
5998
|
"gap": "sm",
|
|
5997
|
-
"type": "stack",
|
|
5998
5999
|
"children": [
|
|
5999
6000
|
{
|
|
6000
|
-
"label": "Cancel",
|
|
6001
6001
|
"variant": "ghost",
|
|
6002
6002
|
"type": "button",
|
|
6003
|
-
"action": "CANCEL"
|
|
6003
|
+
"action": "CANCEL",
|
|
6004
|
+
"label": "Cancel"
|
|
6004
6005
|
},
|
|
6005
6006
|
{
|
|
6006
|
-
"icon": "check",
|
|
6007
6007
|
"label": "Delete",
|
|
6008
|
-
"
|
|
6008
|
+
"variant": "danger",
|
|
6009
6009
|
"type": "button",
|
|
6010
|
-
"
|
|
6010
|
+
"icon": "check",
|
|
6011
|
+
"action": "CONFIRM_DELETE"
|
|
6011
6012
|
}
|
|
6012
6013
|
],
|
|
6013
|
-
"
|
|
6014
|
-
"direction": "horizontal"
|
|
6014
|
+
"type": "stack",
|
|
6015
|
+
"direction": "horizontal",
|
|
6016
|
+
"justify": "end"
|
|
6015
6017
|
}
|
|
6016
|
-
]
|
|
6017
|
-
"direction": "vertical",
|
|
6018
|
-
"gap": "md"
|
|
6018
|
+
]
|
|
6019
6019
|
}
|
|
6020
6020
|
]
|
|
6021
6021
|
]
|