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