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