@almadar/std 9.0.0 → 11.0.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 +80 -80
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
- package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
- package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
- package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
- package/behaviors/registry/app/organisms/std-cms.orb +608 -512
- package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
- package/behaviors/registry/app/organisms/std-crm.orb +887 -791
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
- package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
- package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
- package/behaviors/registry/app/organisms/std-lms.orb +935 -893
- package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
- package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
- package/behaviors/registry/core/atoms/std-browse.orb +56 -56
- package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
- package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
- package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
- package/behaviors/registry/core/atoms/std-display.orb +388 -388
- package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
- package/behaviors/registry/core/atoms/std-filter.orb +47 -47
- package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
- package/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
- package/behaviors/registry/core/atoms/std-related.orb +37 -37
- package/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
- package/behaviors/registry/core/molecules/std-cart.orb +55 -59
- package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
- package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
- package/behaviors/registry/core/molecules/std-list.orb +79 -85
- package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
- package/behaviors/registry/game/atoms/std-collision.orb +122 -122
- package/behaviors/registry/game/atoms/std-combat.orb +66 -66
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/behaviors/registry/game/atoms/std-movement.orb +291 -291
- package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
- package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
- package/behaviors/registry/game/atoms/std-quest.orb +133 -133
- package/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
- package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
- package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
- package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
- package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
- package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
- package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
- package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
- package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
- package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
- package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
- package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
- package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
- package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
- package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
- package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
- package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
- package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
- package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
- package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
- package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
- package/dist/behaviors/registry/core/molecules/std-cart.orb +55 -59
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
- package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
- package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
- package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
- package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
- package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
- package/package.json +1 -1
|
@@ -652,22 +652,22 @@
|
|
|
652
652
|
"render-ui",
|
|
653
653
|
"main",
|
|
654
654
|
{
|
|
655
|
-
"direction": "vertical",
|
|
656
|
-
"className": "py-12",
|
|
657
|
-
"gap": "md",
|
|
658
655
|
"type": "stack",
|
|
656
|
+
"gap": "md",
|
|
657
|
+
"align": "center",
|
|
658
|
+
"className": "py-12",
|
|
659
659
|
"children": [
|
|
660
660
|
{
|
|
661
661
|
"type": "spinner"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
"variant": "caption",
|
|
665
664
|
"content": "Loading…",
|
|
665
|
+
"variant": "caption",
|
|
666
666
|
"type": "typography",
|
|
667
667
|
"color": "muted"
|
|
668
668
|
}
|
|
669
669
|
],
|
|
670
|
-
"
|
|
670
|
+
"direction": "vertical"
|
|
671
671
|
}
|
|
672
672
|
]
|
|
673
673
|
]
|
|
@@ -681,20 +681,22 @@
|
|
|
681
681
|
"render-ui",
|
|
682
682
|
"main",
|
|
683
683
|
{
|
|
684
|
+
"type": "dashboard-layout",
|
|
685
|
+
"appName": "ServiceMarketplace",
|
|
684
686
|
"children": [
|
|
685
687
|
{
|
|
686
|
-
"
|
|
688
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
687
689
|
"direction": "vertical",
|
|
690
|
+
"gap": "lg",
|
|
688
691
|
"children": [
|
|
689
692
|
{
|
|
690
|
-
"
|
|
693
|
+
"gap": "md",
|
|
691
694
|
"justify": "between",
|
|
695
|
+
"align": "center",
|
|
696
|
+
"direction": "horizontal",
|
|
692
697
|
"children": [
|
|
693
698
|
{
|
|
694
|
-
"gap": "sm",
|
|
695
|
-
"type": "stack",
|
|
696
699
|
"direction": "horizontal",
|
|
697
|
-
"align": "center",
|
|
698
700
|
"children": [
|
|
699
701
|
{
|
|
700
702
|
"type": "icon",
|
|
@@ -702,116 +704,114 @@
|
|
|
702
704
|
},
|
|
703
705
|
{
|
|
704
706
|
"type": "typography",
|
|
705
|
-
"
|
|
706
|
-
"
|
|
707
|
+
"content": "Products",
|
|
708
|
+
"variant": "h2"
|
|
707
709
|
}
|
|
708
|
-
]
|
|
710
|
+
],
|
|
711
|
+
"align": "center",
|
|
712
|
+
"type": "stack",
|
|
713
|
+
"gap": "sm"
|
|
709
714
|
},
|
|
710
715
|
{
|
|
711
716
|
"gap": "sm",
|
|
712
|
-
"direction": "horizontal",
|
|
713
717
|
"type": "stack",
|
|
714
718
|
"children": [
|
|
715
719
|
{
|
|
716
720
|
"type": "button",
|
|
717
|
-
"label": "Create Product",
|
|
718
|
-
"action": "CREATE",
|
|
719
721
|
"variant": "primary",
|
|
720
|
-
"
|
|
722
|
+
"action": "CREATE",
|
|
723
|
+
"icon": "plus",
|
|
724
|
+
"label": "Create Product"
|
|
721
725
|
}
|
|
722
|
-
]
|
|
726
|
+
],
|
|
727
|
+
"direction": "horizontal"
|
|
723
728
|
}
|
|
724
729
|
],
|
|
725
|
-
"
|
|
726
|
-
"type": "stack",
|
|
727
|
-
"align": "center"
|
|
730
|
+
"type": "stack"
|
|
728
731
|
},
|
|
729
732
|
{
|
|
730
733
|
"type": "divider"
|
|
731
734
|
},
|
|
732
735
|
{
|
|
736
|
+
"fields": [],
|
|
737
|
+
"entity": "@payload.data",
|
|
738
|
+
"type": "data-grid",
|
|
739
|
+
"itemActions": [
|
|
740
|
+
{
|
|
741
|
+
"event": "VIEW",
|
|
742
|
+
"variant": "ghost",
|
|
743
|
+
"label": "View"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"event": "EDIT",
|
|
747
|
+
"variant": "ghost",
|
|
748
|
+
"label": "Edit"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"variant": "danger",
|
|
752
|
+
"label": "Delete",
|
|
753
|
+
"event": "DELETE"
|
|
754
|
+
}
|
|
755
|
+
],
|
|
733
756
|
"columns": [
|
|
734
757
|
{
|
|
735
|
-
"
|
|
758
|
+
"name": "name",
|
|
736
759
|
"icon": "shopping-bag",
|
|
737
760
|
"variant": "h4",
|
|
738
|
-
"
|
|
761
|
+
"label": "Name"
|
|
739
762
|
},
|
|
740
763
|
{
|
|
741
|
-
"label": "Description",
|
|
742
764
|
"colorMap": {
|
|
743
|
-
"completed": "success",
|
|
744
|
-
"cancelled": "destructive",
|
|
745
|
-
"inactive": "neutral",
|
|
746
|
-
"error": "destructive",
|
|
747
|
-
"pending": "warning",
|
|
748
|
-
"disabled": "neutral",
|
|
749
|
-
"draft": "warning",
|
|
750
765
|
"failed": "destructive",
|
|
766
|
+
"active": "success",
|
|
751
767
|
"scheduled": "warning",
|
|
768
|
+
"inactive": "neutral",
|
|
769
|
+
"pending": "warning",
|
|
752
770
|
"done": "success",
|
|
753
|
-
"
|
|
754
|
-
"
|
|
771
|
+
"archived": "neutral",
|
|
772
|
+
"cancelled": "destructive",
|
|
773
|
+
"completed": "success",
|
|
774
|
+
"draft": "warning",
|
|
775
|
+
"disabled": "neutral",
|
|
776
|
+
"error": "destructive"
|
|
755
777
|
},
|
|
756
778
|
"variant": "badge",
|
|
779
|
+
"label": "Description",
|
|
757
780
|
"name": "description"
|
|
758
781
|
},
|
|
759
782
|
{
|
|
760
|
-
"label": "Price",
|
|
761
783
|
"variant": "caption",
|
|
784
|
+
"label": "Price",
|
|
762
785
|
"name": "price"
|
|
763
786
|
}
|
|
764
|
-
]
|
|
765
|
-
"itemActions": [
|
|
766
|
-
{
|
|
767
|
-
"variant": "ghost",
|
|
768
|
-
"event": "VIEW",
|
|
769
|
-
"label": "View"
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
"label": "Edit",
|
|
773
|
-
"event": "EDIT",
|
|
774
|
-
"variant": "ghost"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"variant": "danger",
|
|
778
|
-
"label": "Delete",
|
|
779
|
-
"event": "DELETE"
|
|
780
|
-
}
|
|
781
|
-
],
|
|
782
|
-
"type": "data-grid",
|
|
783
|
-
"entity": "@payload.data",
|
|
784
|
-
"fields": []
|
|
787
|
+
]
|
|
785
788
|
}
|
|
786
789
|
],
|
|
787
|
-
"type": "stack"
|
|
788
|
-
"className": "max-w-5xl mx-auto w-full"
|
|
790
|
+
"type": "stack"
|
|
789
791
|
}
|
|
790
792
|
],
|
|
791
793
|
"navItems": [
|
|
792
794
|
{
|
|
795
|
+
"label": "Products",
|
|
793
796
|
"icon": "package",
|
|
794
|
-
"href": "/products"
|
|
795
|
-
"label": "Products"
|
|
797
|
+
"href": "/products"
|
|
796
798
|
},
|
|
797
799
|
{
|
|
798
|
-
"icon": "layout-list",
|
|
799
800
|
"label": "Login",
|
|
800
|
-
"href": "/login"
|
|
801
|
+
"href": "/login",
|
|
802
|
+
"icon": "layout-list"
|
|
801
803
|
},
|
|
802
804
|
{
|
|
803
|
-
"href": "/checkout",
|
|
804
805
|
"label": "Checkout",
|
|
806
|
+
"href": "/checkout",
|
|
805
807
|
"icon": "credit-card"
|
|
806
808
|
},
|
|
807
809
|
{
|
|
810
|
+
"icon": "clipboard-list",
|
|
808
811
|
"label": "Orders",
|
|
809
|
-
"href": "/orders"
|
|
810
|
-
"icon": "clipboard-list"
|
|
812
|
+
"href": "/orders"
|
|
811
813
|
}
|
|
812
|
-
]
|
|
813
|
-
"appName": "ServiceMarketplace",
|
|
814
|
-
"type": "dashboard-layout"
|
|
814
|
+
]
|
|
815
815
|
}
|
|
816
816
|
]
|
|
817
817
|
]
|
|
@@ -825,14 +825,15 @@
|
|
|
825
825
|
"render-ui",
|
|
826
826
|
"main",
|
|
827
827
|
{
|
|
828
|
-
"gap": "md",
|
|
829
828
|
"type": "stack",
|
|
829
|
+
"align": "center",
|
|
830
|
+
"direction": "vertical",
|
|
830
831
|
"className": "py-12",
|
|
831
832
|
"children": [
|
|
832
833
|
{
|
|
833
834
|
"color": "destructive",
|
|
834
|
-
"
|
|
835
|
-
"
|
|
835
|
+
"name": "alert-triangle",
|
|
836
|
+
"type": "icon"
|
|
836
837
|
},
|
|
837
838
|
{
|
|
838
839
|
"type": "typography",
|
|
@@ -840,21 +841,20 @@
|
|
|
840
841
|
"content": "Failed to load product"
|
|
841
842
|
},
|
|
842
843
|
{
|
|
844
|
+
"type": "typography",
|
|
843
845
|
"color": "muted",
|
|
844
846
|
"variant": "body",
|
|
845
|
-
"type": "typography",
|
|
846
847
|
"content": "@payload.error"
|
|
847
848
|
},
|
|
848
849
|
{
|
|
849
|
-
"
|
|
850
|
+
"action": "INIT",
|
|
850
851
|
"type": "button",
|
|
851
|
-
"
|
|
852
|
+
"label": "Retry",
|
|
852
853
|
"icon": "rotate-ccw",
|
|
853
|
-
"
|
|
854
|
+
"variant": "primary"
|
|
854
855
|
}
|
|
855
856
|
],
|
|
856
|
-
"
|
|
857
|
-
"direction": "vertical"
|
|
857
|
+
"gap": "md"
|
|
858
858
|
}
|
|
859
859
|
]
|
|
860
860
|
]
|
|
@@ -1023,8 +1023,14 @@
|
|
|
1023
1023
|
"event": "INIT",
|
|
1024
1024
|
"effects": [
|
|
1025
1025
|
[
|
|
1026
|
-
"
|
|
1027
|
-
"Product"
|
|
1026
|
+
"fetch",
|
|
1027
|
+
"Product",
|
|
1028
|
+
{
|
|
1029
|
+
"emit": {
|
|
1030
|
+
"success": "ProductLoaded",
|
|
1031
|
+
"failure": "ProductLoadFailed"
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1028
1034
|
]
|
|
1029
1035
|
]
|
|
1030
1036
|
},
|
|
@@ -1047,11 +1053,14 @@
|
|
|
1047
1053
|
"render-ui",
|
|
1048
1054
|
"modal",
|
|
1049
1055
|
{
|
|
1050
|
-
"gap": "md",
|
|
1051
1056
|
"type": "stack",
|
|
1057
|
+
"gap": "md",
|
|
1052
1058
|
"direction": "vertical",
|
|
1053
1059
|
"children": [
|
|
1054
1060
|
{
|
|
1061
|
+
"direction": "horizontal",
|
|
1062
|
+
"type": "stack",
|
|
1063
|
+
"gap": "sm",
|
|
1055
1064
|
"children": [
|
|
1056
1065
|
{
|
|
1057
1066
|
"name": "plus-circle",
|
|
@@ -1059,21 +1068,15 @@
|
|
|
1059
1068
|
},
|
|
1060
1069
|
{
|
|
1061
1070
|
"variant": "h3",
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1071
|
+
"content": "Create Product",
|
|
1072
|
+
"type": "typography"
|
|
1064
1073
|
}
|
|
1065
|
-
]
|
|
1066
|
-
"gap": "sm",
|
|
1067
|
-
"direction": "horizontal",
|
|
1068
|
-
"type": "stack"
|
|
1074
|
+
]
|
|
1069
1075
|
},
|
|
1070
1076
|
{
|
|
1071
1077
|
"type": "divider"
|
|
1072
1078
|
},
|
|
1073
1079
|
{
|
|
1074
|
-
"mode": "create",
|
|
1075
|
-
"submitEvent": "SAVE",
|
|
1076
|
-
"type": "form-section",
|
|
1077
1080
|
"cancelEvent": "CLOSE",
|
|
1078
1081
|
"fields": [
|
|
1079
1082
|
"name",
|
|
@@ -1081,7 +1084,10 @@
|
|
|
1081
1084
|
"price",
|
|
1082
1085
|
"category",
|
|
1083
1086
|
"inStock"
|
|
1084
|
-
]
|
|
1087
|
+
],
|
|
1088
|
+
"submitEvent": "SAVE",
|
|
1089
|
+
"type": "form-section",
|
|
1090
|
+
"mode": "create"
|
|
1085
1091
|
}
|
|
1086
1092
|
]
|
|
1087
1093
|
}
|
|
@@ -1124,8 +1130,8 @@
|
|
|
1124
1130
|
"@payload.data",
|
|
1125
1131
|
{
|
|
1126
1132
|
"emit": {
|
|
1127
|
-
"
|
|
1128
|
-
"
|
|
1133
|
+
"success": "ProductSaved",
|
|
1134
|
+
"failure": "ProductSaveFailed"
|
|
1129
1135
|
}
|
|
1130
1136
|
}
|
|
1131
1137
|
],
|
|
@@ -1322,8 +1328,14 @@
|
|
|
1322
1328
|
"event": "INIT",
|
|
1323
1329
|
"effects": [
|
|
1324
1330
|
[
|
|
1325
|
-
"
|
|
1326
|
-
"Product"
|
|
1331
|
+
"fetch",
|
|
1332
|
+
"Product",
|
|
1333
|
+
{
|
|
1334
|
+
"emit": {
|
|
1335
|
+
"failure": "ProductLoadFailed",
|
|
1336
|
+
"success": "ProductLoaded"
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1327
1339
|
]
|
|
1328
1340
|
]
|
|
1329
1341
|
},
|
|
@@ -1338,8 +1350,8 @@
|
|
|
1338
1350
|
{
|
|
1339
1351
|
"id": "@payload.id",
|
|
1340
1352
|
"emit": {
|
|
1341
|
-
"
|
|
1342
|
-
"
|
|
1353
|
+
"failure": "ProductLoadFailed",
|
|
1354
|
+
"success": "ProductLoaded"
|
|
1343
1355
|
}
|
|
1344
1356
|
}
|
|
1345
1357
|
],
|
|
@@ -1347,32 +1359,28 @@
|
|
|
1347
1359
|
"render-ui",
|
|
1348
1360
|
"modal",
|
|
1349
1361
|
{
|
|
1350
|
-
"type": "stack",
|
|
1351
|
-
"direction": "vertical",
|
|
1352
|
-
"gap": "md",
|
|
1353
1362
|
"children": [
|
|
1354
1363
|
{
|
|
1355
1364
|
"gap": "sm",
|
|
1365
|
+
"type": "stack",
|
|
1366
|
+
"direction": "horizontal",
|
|
1356
1367
|
"children": [
|
|
1357
1368
|
{
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1369
|
+
"type": "icon",
|
|
1370
|
+
"name": "edit"
|
|
1360
1371
|
},
|
|
1361
1372
|
{
|
|
1362
|
-
"
|
|
1373
|
+
"variant": "h3",
|
|
1363
1374
|
"content": "Edit Product",
|
|
1364
|
-
"
|
|
1375
|
+
"type": "typography"
|
|
1365
1376
|
}
|
|
1366
|
-
]
|
|
1367
|
-
"direction": "horizontal",
|
|
1368
|
-
"type": "stack"
|
|
1377
|
+
]
|
|
1369
1378
|
},
|
|
1370
1379
|
{
|
|
1371
1380
|
"type": "divider"
|
|
1372
1381
|
},
|
|
1373
1382
|
{
|
|
1374
1383
|
"entity": "@payload.row",
|
|
1375
|
-
"type": "form-section",
|
|
1376
1384
|
"mode": "edit",
|
|
1377
1385
|
"cancelEvent": "CLOSE",
|
|
1378
1386
|
"fields": [
|
|
@@ -1382,9 +1390,13 @@
|
|
|
1382
1390
|
"category",
|
|
1383
1391
|
"inStock"
|
|
1384
1392
|
],
|
|
1393
|
+
"type": "form-section",
|
|
1385
1394
|
"submitEvent": "SAVE"
|
|
1386
1395
|
}
|
|
1387
|
-
]
|
|
1396
|
+
],
|
|
1397
|
+
"direction": "vertical",
|
|
1398
|
+
"gap": "md",
|
|
1399
|
+
"type": "stack"
|
|
1388
1400
|
}
|
|
1389
1401
|
]
|
|
1390
1402
|
]
|
|
@@ -1557,8 +1569,14 @@
|
|
|
1557
1569
|
"event": "INIT",
|
|
1558
1570
|
"effects": [
|
|
1559
1571
|
[
|
|
1560
|
-
"
|
|
1561
|
-
"Product"
|
|
1572
|
+
"fetch",
|
|
1573
|
+
"Product",
|
|
1574
|
+
{
|
|
1575
|
+
"emit": {
|
|
1576
|
+
"failure": "ProductLoadFailed",
|
|
1577
|
+
"success": "ProductLoaded"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1562
1580
|
]
|
|
1563
1581
|
]
|
|
1564
1582
|
},
|
|
@@ -1571,72 +1589,73 @@
|
|
|
1571
1589
|
"fetch",
|
|
1572
1590
|
"Product",
|
|
1573
1591
|
{
|
|
1592
|
+
"id": "@payload.id",
|
|
1574
1593
|
"emit": {
|
|
1575
|
-
"
|
|
1576
|
-
"
|
|
1577
|
-
}
|
|
1578
|
-
"id": "@payload.id"
|
|
1594
|
+
"failure": "ProductLoadFailed",
|
|
1595
|
+
"success": "ProductLoaded"
|
|
1596
|
+
}
|
|
1579
1597
|
}
|
|
1580
1598
|
],
|
|
1581
1599
|
[
|
|
1582
1600
|
"render-ui",
|
|
1583
1601
|
"modal",
|
|
1584
1602
|
{
|
|
1603
|
+
"gap": "md",
|
|
1585
1604
|
"type": "stack",
|
|
1586
1605
|
"children": [
|
|
1587
1606
|
{
|
|
1588
|
-
"
|
|
1607
|
+
"type": "stack",
|
|
1608
|
+
"direction": "horizontal",
|
|
1589
1609
|
"gap": "sm",
|
|
1610
|
+
"align": "center",
|
|
1590
1611
|
"children": [
|
|
1591
1612
|
{
|
|
1592
1613
|
"type": "icon",
|
|
1593
1614
|
"name": "eye"
|
|
1594
1615
|
},
|
|
1595
1616
|
{
|
|
1596
|
-
"
|
|
1617
|
+
"type": "typography",
|
|
1597
1618
|
"variant": "h3",
|
|
1598
|
-
"
|
|
1619
|
+
"content": "@entity.name"
|
|
1599
1620
|
}
|
|
1600
|
-
]
|
|
1601
|
-
"direction": "horizontal",
|
|
1602
|
-
"type": "stack"
|
|
1621
|
+
]
|
|
1603
1622
|
},
|
|
1604
1623
|
{
|
|
1605
1624
|
"type": "divider"
|
|
1606
1625
|
},
|
|
1607
1626
|
{
|
|
1608
|
-
"direction": "horizontal",
|
|
1609
|
-
"gap": "md",
|
|
1610
1627
|
"children": [
|
|
1611
1628
|
{
|
|
1629
|
+
"content": "Name",
|
|
1612
1630
|
"variant": "caption",
|
|
1613
|
-
"type": "typography"
|
|
1614
|
-
"content": "Name"
|
|
1631
|
+
"type": "typography"
|
|
1615
1632
|
},
|
|
1616
1633
|
{
|
|
1617
|
-
"variant": "body",
|
|
1618
1634
|
"content": "@entity.name",
|
|
1635
|
+
"variant": "body",
|
|
1619
1636
|
"type": "typography"
|
|
1620
1637
|
}
|
|
1621
1638
|
],
|
|
1639
|
+
"direction": "horizontal",
|
|
1640
|
+
"gap": "md",
|
|
1622
1641
|
"type": "stack"
|
|
1623
1642
|
},
|
|
1624
1643
|
{
|
|
1625
|
-
"type": "stack",
|
|
1626
|
-
"gap": "md",
|
|
1627
|
-
"direction": "horizontal",
|
|
1628
1644
|
"children": [
|
|
1629
1645
|
{
|
|
1630
|
-
"
|
|
1646
|
+
"type": "typography",
|
|
1631
1647
|
"content": "Description",
|
|
1632
|
-
"
|
|
1648
|
+
"variant": "caption"
|
|
1633
1649
|
},
|
|
1634
1650
|
{
|
|
1635
|
-
"type": "typography",
|
|
1636
1651
|
"variant": "body",
|
|
1637
|
-
"content": "@entity.description"
|
|
1652
|
+
"content": "@entity.description",
|
|
1653
|
+
"type": "typography"
|
|
1638
1654
|
}
|
|
1639
|
-
]
|
|
1655
|
+
],
|
|
1656
|
+
"gap": "md",
|
|
1657
|
+
"direction": "horizontal",
|
|
1658
|
+
"type": "stack"
|
|
1640
1659
|
},
|
|
1641
1660
|
{
|
|
1642
1661
|
"direction": "horizontal",
|
|
@@ -1644,77 +1663,76 @@
|
|
|
1644
1663
|
"type": "stack",
|
|
1645
1664
|
"children": [
|
|
1646
1665
|
{
|
|
1647
|
-
"variant": "caption",
|
|
1648
1666
|
"content": "Price",
|
|
1649
|
-
"type": "typography"
|
|
1667
|
+
"type": "typography",
|
|
1668
|
+
"variant": "caption"
|
|
1650
1669
|
},
|
|
1651
1670
|
{
|
|
1652
|
-
"
|
|
1671
|
+
"content": "@entity.price",
|
|
1653
1672
|
"variant": "body",
|
|
1654
|
-
"
|
|
1673
|
+
"type": "typography"
|
|
1655
1674
|
}
|
|
1656
1675
|
]
|
|
1657
1676
|
},
|
|
1658
1677
|
{
|
|
1659
|
-
"
|
|
1678
|
+
"gap": "md",
|
|
1679
|
+
"type": "stack",
|
|
1660
1680
|
"children": [
|
|
1661
1681
|
{
|
|
1662
1682
|
"variant": "caption",
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1683
|
+
"type": "typography",
|
|
1684
|
+
"content": "Category"
|
|
1665
1685
|
},
|
|
1666
1686
|
{
|
|
1667
|
-
"variant": "body",
|
|
1668
1687
|
"type": "typography",
|
|
1669
|
-
"content": "@entity.category"
|
|
1688
|
+
"content": "@entity.category",
|
|
1689
|
+
"variant": "body"
|
|
1670
1690
|
}
|
|
1671
1691
|
],
|
|
1672
|
-
"
|
|
1673
|
-
"gap": "md"
|
|
1692
|
+
"direction": "horizontal"
|
|
1674
1693
|
},
|
|
1675
1694
|
{
|
|
1676
|
-
"
|
|
1695
|
+
"type": "stack",
|
|
1677
1696
|
"gap": "md",
|
|
1697
|
+
"direction": "horizontal",
|
|
1678
1698
|
"children": [
|
|
1679
1699
|
{
|
|
1680
|
-
"variant": "caption",
|
|
1681
1700
|
"content": "In Stock",
|
|
1701
|
+
"variant": "caption",
|
|
1682
1702
|
"type": "typography"
|
|
1683
1703
|
},
|
|
1684
1704
|
{
|
|
1685
1705
|
"type": "typography",
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
1706
|
+
"content": "@entity.inStock",
|
|
1707
|
+
"variant": "body"
|
|
1688
1708
|
}
|
|
1689
|
-
]
|
|
1690
|
-
"type": "stack"
|
|
1709
|
+
]
|
|
1691
1710
|
},
|
|
1692
1711
|
{
|
|
1693
1712
|
"type": "divider"
|
|
1694
1713
|
},
|
|
1695
1714
|
{
|
|
1715
|
+
"type": "stack",
|
|
1716
|
+
"gap": "sm",
|
|
1717
|
+
"justify": "end",
|
|
1718
|
+
"direction": "horizontal",
|
|
1696
1719
|
"children": [
|
|
1697
1720
|
{
|
|
1721
|
+
"type": "button",
|
|
1698
1722
|
"icon": "edit",
|
|
1699
1723
|
"action": "EDIT",
|
|
1700
|
-
"type": "button",
|
|
1701
1724
|
"label": "Edit",
|
|
1702
1725
|
"variant": "primary"
|
|
1703
1726
|
},
|
|
1704
1727
|
{
|
|
1705
|
-
"type": "button",
|
|
1706
1728
|
"label": "Close",
|
|
1707
1729
|
"variant": "ghost",
|
|
1730
|
+
"type": "button",
|
|
1708
1731
|
"action": "CLOSE"
|
|
1709
1732
|
}
|
|
1710
|
-
]
|
|
1711
|
-
"direction": "horizontal",
|
|
1712
|
-
"type": "stack",
|
|
1713
|
-
"gap": "sm",
|
|
1714
|
-
"justify": "end"
|
|
1733
|
+
]
|
|
1715
1734
|
}
|
|
1716
1735
|
],
|
|
1717
|
-
"gap": "md",
|
|
1718
1736
|
"direction": "vertical"
|
|
1719
1737
|
}
|
|
1720
1738
|
]
|
|
@@ -1931,8 +1949,14 @@
|
|
|
1931
1949
|
"event": "INIT",
|
|
1932
1950
|
"effects": [
|
|
1933
1951
|
[
|
|
1934
|
-
"
|
|
1935
|
-
"Product"
|
|
1952
|
+
"fetch",
|
|
1953
|
+
"Product",
|
|
1954
|
+
{
|
|
1955
|
+
"emit": {
|
|
1956
|
+
"failure": "ProductLoadFailed",
|
|
1957
|
+
"success": "ProductLoaded"
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1936
1960
|
]
|
|
1937
1961
|
]
|
|
1938
1962
|
},
|
|
@@ -1952,8 +1976,8 @@
|
|
|
1952
1976
|
{
|
|
1953
1977
|
"id": "@payload.id",
|
|
1954
1978
|
"emit": {
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1979
|
+
"failure": "ProductLoadFailed",
|
|
1980
|
+
"success": "ProductLoaded"
|
|
1957
1981
|
}
|
|
1958
1982
|
}
|
|
1959
1983
|
],
|
|
@@ -1961,56 +1985,56 @@
|
|
|
1961
1985
|
"render-ui",
|
|
1962
1986
|
"modal",
|
|
1963
1987
|
{
|
|
1964
|
-
"direction": "vertical",
|
|
1965
|
-
"type": "stack",
|
|
1966
1988
|
"children": [
|
|
1967
1989
|
{
|
|
1968
1990
|
"type": "stack",
|
|
1969
|
-
"
|
|
1991
|
+
"direction": "horizontal",
|
|
1970
1992
|
"children": [
|
|
1971
1993
|
{
|
|
1972
1994
|
"name": "alert-triangle",
|
|
1973
1995
|
"type": "icon"
|
|
1974
1996
|
},
|
|
1975
1997
|
{
|
|
1976
|
-
"content": "Delete Product",
|
|
1977
1998
|
"variant": "h3",
|
|
1978
|
-
"type": "typography"
|
|
1999
|
+
"type": "typography",
|
|
2000
|
+
"content": "Delete Product"
|
|
1979
2001
|
}
|
|
1980
2002
|
],
|
|
1981
|
-
"
|
|
2003
|
+
"align": "center",
|
|
1982
2004
|
"gap": "sm"
|
|
1983
2005
|
},
|
|
1984
2006
|
{
|
|
1985
2007
|
"type": "divider"
|
|
1986
2008
|
},
|
|
1987
2009
|
{
|
|
1988
|
-
"message": "This action cannot be undone.",
|
|
1989
2010
|
"type": "alert",
|
|
1990
|
-
"variant": "error"
|
|
2011
|
+
"variant": "error",
|
|
2012
|
+
"message": "This action cannot be undone."
|
|
1991
2013
|
},
|
|
1992
2014
|
{
|
|
1993
|
-
"
|
|
2015
|
+
"justify": "end",
|
|
1994
2016
|
"direction": "horizontal",
|
|
2017
|
+
"type": "stack",
|
|
2018
|
+
"gap": "sm",
|
|
1995
2019
|
"children": [
|
|
1996
2020
|
{
|
|
1997
|
-
"
|
|
2021
|
+
"variant": "ghost",
|
|
1998
2022
|
"action": "CANCEL",
|
|
1999
|
-
"
|
|
2000
|
-
"
|
|
2023
|
+
"type": "button",
|
|
2024
|
+
"label": "Cancel"
|
|
2001
2025
|
},
|
|
2002
2026
|
{
|
|
2003
|
-
"action": "CONFIRM_DELETE",
|
|
2004
2027
|
"icon": "check",
|
|
2028
|
+
"action": "CONFIRM_DELETE",
|
|
2005
2029
|
"type": "button",
|
|
2006
2030
|
"variant": "danger",
|
|
2007
2031
|
"label": "Delete"
|
|
2008
2032
|
}
|
|
2009
|
-
]
|
|
2010
|
-
"gap": "sm",
|
|
2011
|
-
"justify": "end"
|
|
2033
|
+
]
|
|
2012
2034
|
}
|
|
2013
2035
|
],
|
|
2036
|
+
"type": "stack",
|
|
2037
|
+
"direction": "vertical",
|
|
2014
2038
|
"gap": "md"
|
|
2015
2039
|
}
|
|
2016
2040
|
]
|
|
@@ -2028,8 +2052,8 @@
|
|
|
2028
2052
|
"@entity.pendingId",
|
|
2029
2053
|
{
|
|
2030
2054
|
"emit": {
|
|
2031
|
-
"
|
|
2032
|
-
"
|
|
2055
|
+
"success": "ProductDeleted",
|
|
2056
|
+
"failure": "ProductDeleteFailed"
|
|
2033
2057
|
}
|
|
2034
2058
|
}
|
|
2035
2059
|
],
|
|
@@ -2046,8 +2070,14 @@
|
|
|
2046
2070
|
}
|
|
2047
2071
|
],
|
|
2048
2072
|
[
|
|
2049
|
-
"
|
|
2050
|
-
"Product"
|
|
2073
|
+
"fetch",
|
|
2074
|
+
"Product",
|
|
2075
|
+
{
|
|
2076
|
+
"emit": {
|
|
2077
|
+
"success": "ProductLoaded",
|
|
2078
|
+
"failure": "ProductLoadFailed"
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2051
2081
|
],
|
|
2052
2082
|
[
|
|
2053
2083
|
"emit",
|
|
@@ -2073,8 +2103,14 @@
|
|
|
2073
2103
|
}
|
|
2074
2104
|
],
|
|
2075
2105
|
[
|
|
2076
|
-
"
|
|
2077
|
-
"Product"
|
|
2106
|
+
"fetch",
|
|
2107
|
+
"Product",
|
|
2108
|
+
{
|
|
2109
|
+
"emit": {
|
|
2110
|
+
"success": "ProductLoaded",
|
|
2111
|
+
"failure": "ProductLoadFailed"
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2078
2114
|
]
|
|
2079
2115
|
]
|
|
2080
2116
|
},
|
|
@@ -2096,8 +2132,14 @@
|
|
|
2096
2132
|
}
|
|
2097
2133
|
],
|
|
2098
2134
|
[
|
|
2099
|
-
"
|
|
2100
|
-
"Product"
|
|
2135
|
+
"fetch",
|
|
2136
|
+
"Product",
|
|
2137
|
+
{
|
|
2138
|
+
"emit": {
|
|
2139
|
+
"success": "ProductLoaded",
|
|
2140
|
+
"failure": "ProductLoadFailed"
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2101
2143
|
]
|
|
2102
2144
|
]
|
|
2103
2145
|
}
|
|
@@ -2378,8 +2420,8 @@
|
|
|
2378
2420
|
"AuthSession",
|
|
2379
2421
|
{
|
|
2380
2422
|
"emit": {
|
|
2381
|
-
"
|
|
2382
|
-
"
|
|
2423
|
+
"failure": "AuthSessionLoadFailed",
|
|
2424
|
+
"success": "AuthSessionLoaded"
|
|
2383
2425
|
}
|
|
2384
2426
|
}
|
|
2385
2427
|
],
|
|
@@ -2387,43 +2429,42 @@
|
|
|
2387
2429
|
"render-ui",
|
|
2388
2430
|
"main",
|
|
2389
2431
|
{
|
|
2432
|
+
"appName": "ServiceMarketplace",
|
|
2390
2433
|
"navItems": [
|
|
2391
2434
|
{
|
|
2392
|
-
"href": "/products",
|
|
2393
2435
|
"label": "Products",
|
|
2436
|
+
"href": "/products",
|
|
2394
2437
|
"icon": "package"
|
|
2395
2438
|
},
|
|
2396
2439
|
{
|
|
2397
|
-
"icon": "layout-list",
|
|
2398
2440
|
"label": "Login",
|
|
2399
|
-
"href": "/login"
|
|
2441
|
+
"href": "/login",
|
|
2442
|
+
"icon": "layout-list"
|
|
2400
2443
|
},
|
|
2401
2444
|
{
|
|
2402
|
-
"
|
|
2445
|
+
"icon": "credit-card",
|
|
2403
2446
|
"href": "/checkout",
|
|
2404
|
-
"
|
|
2447
|
+
"label": "Checkout"
|
|
2405
2448
|
},
|
|
2406
2449
|
{
|
|
2407
|
-
"label": "Orders",
|
|
2408
2450
|
"href": "/orders",
|
|
2409
|
-
"icon": "clipboard-list"
|
|
2451
|
+
"icon": "clipboard-list",
|
|
2452
|
+
"label": "Orders"
|
|
2410
2453
|
}
|
|
2411
2454
|
],
|
|
2412
|
-
"appName": "ServiceMarketplace",
|
|
2413
2455
|
"type": "dashboard-layout",
|
|
2414
2456
|
"children": [
|
|
2415
2457
|
{
|
|
2416
|
-
"direction": "vertical",
|
|
2417
2458
|
"gap": "lg",
|
|
2459
|
+
"type": "stack",
|
|
2460
|
+
"align": "center",
|
|
2418
2461
|
"children": [
|
|
2419
2462
|
{
|
|
2420
2463
|
"type": "stack",
|
|
2421
|
-
"direction": "horizontal",
|
|
2422
|
-
"align": "center",
|
|
2423
2464
|
"children": [
|
|
2424
2465
|
{
|
|
2425
|
-
"
|
|
2426
|
-
"
|
|
2466
|
+
"type": "icon",
|
|
2467
|
+
"name": "lock"
|
|
2427
2468
|
},
|
|
2428
2469
|
{
|
|
2429
2470
|
"type": "typography",
|
|
@@ -2431,7 +2472,9 @@
|
|
|
2431
2472
|
"variant": "h2"
|
|
2432
2473
|
}
|
|
2433
2474
|
],
|
|
2434
|
-
"
|
|
2475
|
+
"direction": "horizontal",
|
|
2476
|
+
"gap": "md",
|
|
2477
|
+
"align": "center"
|
|
2435
2478
|
},
|
|
2436
2479
|
{
|
|
2437
2480
|
"type": "divider"
|
|
@@ -2440,29 +2483,28 @@
|
|
|
2440
2483
|
"type": "select",
|
|
2441
2484
|
"options": [
|
|
2442
2485
|
{
|
|
2443
|
-
"
|
|
2444
|
-
"
|
|
2486
|
+
"value": "google",
|
|
2487
|
+
"label": "Google"
|
|
2445
2488
|
},
|
|
2446
2489
|
{
|
|
2447
2490
|
"label": "GitHub",
|
|
2448
2491
|
"value": "github"
|
|
2449
2492
|
},
|
|
2450
2493
|
{
|
|
2451
|
-
"
|
|
2452
|
-
"
|
|
2494
|
+
"value": "microsoft",
|
|
2495
|
+
"label": "Microsoft"
|
|
2453
2496
|
}
|
|
2454
2497
|
]
|
|
2455
2498
|
},
|
|
2456
2499
|
{
|
|
2457
|
-
"action": "LOGIN",
|
|
2458
2500
|
"icon": "log-in",
|
|
2459
|
-
"type": "button",
|
|
2460
2501
|
"label": "Login",
|
|
2461
|
-
"variant": "primary"
|
|
2502
|
+
"variant": "primary",
|
|
2503
|
+
"action": "LOGIN",
|
|
2504
|
+
"type": "button"
|
|
2462
2505
|
}
|
|
2463
2506
|
],
|
|
2464
|
-
"
|
|
2465
|
-
"type": "stack"
|
|
2507
|
+
"direction": "vertical"
|
|
2466
2508
|
}
|
|
2467
2509
|
]
|
|
2468
2510
|
}
|
|
@@ -2478,25 +2520,16 @@
|
|
|
2478
2520
|
"render-ui",
|
|
2479
2521
|
"main",
|
|
2480
2522
|
{
|
|
2481
|
-
"children": [
|
|
2482
|
-
{
|
|
2483
|
-
"title": "Authorizing...",
|
|
2484
|
-
"type": "loading-state",
|
|
2485
|
-
"message": "Redirecting to provider for authorization."
|
|
2486
|
-
}
|
|
2487
|
-
],
|
|
2488
|
-
"type": "dashboard-layout",
|
|
2489
|
-
"appName": "ServiceMarketplace",
|
|
2490
2523
|
"navItems": [
|
|
2491
2524
|
{
|
|
2492
|
-
"
|
|
2525
|
+
"label": "Products",
|
|
2493
2526
|
"icon": "package",
|
|
2494
|
-
"
|
|
2527
|
+
"href": "/products"
|
|
2495
2528
|
},
|
|
2496
2529
|
{
|
|
2497
|
-
"
|
|
2530
|
+
"label": "Login",
|
|
2498
2531
|
"href": "/login",
|
|
2499
|
-
"
|
|
2532
|
+
"icon": "layout-list"
|
|
2500
2533
|
},
|
|
2501
2534
|
{
|
|
2502
2535
|
"label": "Checkout",
|
|
@@ -2504,11 +2537,20 @@
|
|
|
2504
2537
|
"icon": "credit-card"
|
|
2505
2538
|
},
|
|
2506
2539
|
{
|
|
2507
|
-
"
|
|
2540
|
+
"label": "Orders",
|
|
2508
2541
|
"icon": "clipboard-list",
|
|
2509
|
-
"
|
|
2542
|
+
"href": "/orders"
|
|
2510
2543
|
}
|
|
2511
|
-
]
|
|
2544
|
+
],
|
|
2545
|
+
"appName": "ServiceMarketplace",
|
|
2546
|
+
"children": [
|
|
2547
|
+
{
|
|
2548
|
+
"type": "loading-state",
|
|
2549
|
+
"message": "Redirecting to provider for authorization.",
|
|
2550
|
+
"title": "Authorizing..."
|
|
2551
|
+
}
|
|
2552
|
+
],
|
|
2553
|
+
"type": "dashboard-layout"
|
|
2512
2554
|
}
|
|
2513
2555
|
],
|
|
2514
2556
|
[
|
|
@@ -2524,8 +2566,8 @@
|
|
|
2524
2566
|
},
|
|
2525
2567
|
{
|
|
2526
2568
|
"emit": {
|
|
2527
|
-
"
|
|
2528
|
-
"
|
|
2569
|
+
"success": "ProductOauthCompleted",
|
|
2570
|
+
"failure": "ProductOauthFailed"
|
|
2529
2571
|
}
|
|
2530
2572
|
}
|
|
2531
2573
|
]
|
|
@@ -2545,66 +2587,66 @@
|
|
|
2545
2587
|
"render-ui",
|
|
2546
2588
|
"main",
|
|
2547
2589
|
{
|
|
2548
|
-
"navItems": [
|
|
2549
|
-
{
|
|
2550
|
-
"icon": "package",
|
|
2551
|
-
"label": "Products",
|
|
2552
|
-
"href": "/products"
|
|
2553
|
-
},
|
|
2554
|
-
{
|
|
2555
|
-
"label": "Login",
|
|
2556
|
-
"href": "/login",
|
|
2557
|
-
"icon": "layout-list"
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
"label": "Checkout",
|
|
2561
|
-
"href": "/checkout",
|
|
2562
|
-
"icon": "credit-card"
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"icon": "clipboard-list",
|
|
2566
|
-
"href": "/orders",
|
|
2567
|
-
"label": "Orders"
|
|
2568
|
-
}
|
|
2569
|
-
],
|
|
2570
|
-
"appName": "ServiceMarketplace",
|
|
2571
2590
|
"children": [
|
|
2572
2591
|
{
|
|
2573
2592
|
"align": "center",
|
|
2574
2593
|
"children": [
|
|
2575
2594
|
{
|
|
2576
|
-
"
|
|
2577
|
-
"
|
|
2595
|
+
"type": "icon",
|
|
2596
|
+
"name": "external-link"
|
|
2578
2597
|
},
|
|
2579
2598
|
{
|
|
2599
|
+
"variant": "h2",
|
|
2580
2600
|
"content": "Authorization Required",
|
|
2581
|
-
"type": "typography"
|
|
2582
|
-
"variant": "h2"
|
|
2601
|
+
"type": "typography"
|
|
2583
2602
|
},
|
|
2584
2603
|
{
|
|
2585
|
-
"
|
|
2586
|
-
"variant": "body",
|
|
2604
|
+
"color": "muted",
|
|
2587
2605
|
"type": "typography",
|
|
2588
|
-
"
|
|
2606
|
+
"content": "@entity.authUrl",
|
|
2607
|
+
"variant": "body"
|
|
2589
2608
|
},
|
|
2590
2609
|
{
|
|
2591
2610
|
"type": "input",
|
|
2592
2611
|
"placeholder": "Paste authorization code here"
|
|
2593
2612
|
},
|
|
2594
2613
|
{
|
|
2595
|
-
"label": "Submit",
|
|
2596
|
-
"icon": "check",
|
|
2597
2614
|
"type": "button",
|
|
2598
|
-
"
|
|
2599
|
-
"action": "CALLBACK"
|
|
2615
|
+
"icon": "check",
|
|
2616
|
+
"action": "CALLBACK",
|
|
2617
|
+
"label": "Submit",
|
|
2618
|
+
"variant": "primary"
|
|
2600
2619
|
}
|
|
2601
2620
|
],
|
|
2602
|
-
"gap": "lg",
|
|
2603
2621
|
"type": "stack",
|
|
2604
|
-
"direction": "vertical"
|
|
2622
|
+
"direction": "vertical",
|
|
2623
|
+
"gap": "lg"
|
|
2605
2624
|
}
|
|
2606
2625
|
],
|
|
2607
|
-
"type": "dashboard-layout"
|
|
2626
|
+
"type": "dashboard-layout",
|
|
2627
|
+
"appName": "ServiceMarketplace",
|
|
2628
|
+
"navItems": [
|
|
2629
|
+
{
|
|
2630
|
+
"label": "Products",
|
|
2631
|
+
"href": "/products",
|
|
2632
|
+
"icon": "package"
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"label": "Login",
|
|
2636
|
+
"icon": "layout-list",
|
|
2637
|
+
"href": "/login"
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"label": "Checkout",
|
|
2641
|
+
"href": "/checkout",
|
|
2642
|
+
"icon": "credit-card"
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"icon": "clipboard-list",
|
|
2646
|
+
"label": "Orders",
|
|
2647
|
+
"href": "/orders"
|
|
2648
|
+
}
|
|
2649
|
+
]
|
|
2608
2650
|
}
|
|
2609
2651
|
]
|
|
2610
2652
|
]
|
|
@@ -2623,8 +2665,8 @@
|
|
|
2623
2665
|
},
|
|
2624
2666
|
{
|
|
2625
2667
|
"emit": {
|
|
2626
|
-
"
|
|
2627
|
-
"
|
|
2668
|
+
"failure": "ProductOauthFailed",
|
|
2669
|
+
"success": "ProductOauthCompleted"
|
|
2628
2670
|
}
|
|
2629
2671
|
}
|
|
2630
2672
|
],
|
|
@@ -2632,71 +2674,71 @@
|
|
|
2632
2674
|
"render-ui",
|
|
2633
2675
|
"main",
|
|
2634
2676
|
{
|
|
2635
|
-
"
|
|
2636
|
-
|
|
2637
|
-
"label": "Products",
|
|
2638
|
-
"icon": "package",
|
|
2639
|
-
"href": "/products"
|
|
2640
|
-
},
|
|
2641
|
-
{
|
|
2642
|
-
"label": "Login",
|
|
2643
|
-
"href": "/login",
|
|
2644
|
-
"icon": "layout-list"
|
|
2645
|
-
},
|
|
2646
|
-
{
|
|
2647
|
-
"icon": "credit-card",
|
|
2648
|
-
"label": "Checkout",
|
|
2649
|
-
"href": "/checkout"
|
|
2650
|
-
},
|
|
2651
|
-
{
|
|
2652
|
-
"label": "Orders",
|
|
2653
|
-
"icon": "clipboard-list",
|
|
2654
|
-
"href": "/orders"
|
|
2655
|
-
}
|
|
2656
|
-
],
|
|
2677
|
+
"appName": "ServiceMarketplace",
|
|
2678
|
+
"type": "dashboard-layout",
|
|
2657
2679
|
"children": [
|
|
2658
2680
|
{
|
|
2681
|
+
"gap": "lg",
|
|
2659
2682
|
"align": "center",
|
|
2683
|
+
"type": "stack",
|
|
2684
|
+
"direction": "vertical",
|
|
2660
2685
|
"children": [
|
|
2661
2686
|
{
|
|
2662
2687
|
"type": "icon",
|
|
2663
2688
|
"name": "check-circle"
|
|
2664
2689
|
},
|
|
2665
2690
|
{
|
|
2666
|
-
"message": "Authenticated successfully",
|
|
2667
2691
|
"type": "alert",
|
|
2692
|
+
"message": "Authenticated successfully",
|
|
2668
2693
|
"variant": "success"
|
|
2669
2694
|
},
|
|
2670
2695
|
{
|
|
2671
2696
|
"gap": "sm",
|
|
2672
|
-
"type": "stack",
|
|
2673
2697
|
"justify": "center",
|
|
2674
|
-
"
|
|
2698
|
+
"type": "stack",
|
|
2699
|
+
"direction": "horizontal",
|
|
2700
|
+
"children": [
|
|
2675
2701
|
{
|
|
2676
|
-
"type": "button",
|
|
2677
|
-
"action": "REFRESH",
|
|
2678
|
-
"label": "Refresh Token",
|
|
2679
2702
|
"variant": "ghost",
|
|
2680
|
-
"icon": "refresh-cw"
|
|
2703
|
+
"icon": "refresh-cw",
|
|
2704
|
+
"label": "Refresh Token",
|
|
2705
|
+
"type": "button",
|
|
2706
|
+
"action": "REFRESH"
|
|
2681
2707
|
},
|
|
2682
2708
|
{
|
|
2683
|
-
"label": "Logout",
|
|
2684
|
-
"action": "LOGOUT",
|
|
2685
|
-
"type": "button",
|
|
2686
2709
|
"icon": "log-out",
|
|
2687
|
-
"
|
|
2710
|
+
"action": "LOGOUT",
|
|
2711
|
+
"label": "Logout",
|
|
2712
|
+
"variant": "ghost",
|
|
2713
|
+
"type": "button"
|
|
2688
2714
|
}
|
|
2689
|
-
]
|
|
2690
|
-
"direction": "horizontal"
|
|
2715
|
+
]
|
|
2691
2716
|
}
|
|
2692
|
-
]
|
|
2693
|
-
"direction": "vertical",
|
|
2694
|
-
"gap": "lg",
|
|
2695
|
-
"type": "stack"
|
|
2717
|
+
]
|
|
2696
2718
|
}
|
|
2697
2719
|
],
|
|
2698
|
-
"
|
|
2699
|
-
|
|
2720
|
+
"navItems": [
|
|
2721
|
+
{
|
|
2722
|
+
"icon": "package",
|
|
2723
|
+
"label": "Products",
|
|
2724
|
+
"href": "/products"
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"label": "Login",
|
|
2728
|
+
"href": "/login",
|
|
2729
|
+
"icon": "layout-list"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"label": "Checkout",
|
|
2733
|
+
"href": "/checkout",
|
|
2734
|
+
"icon": "credit-card"
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
"href": "/orders",
|
|
2738
|
+
"icon": "clipboard-list",
|
|
2739
|
+
"label": "Orders"
|
|
2740
|
+
}
|
|
2741
|
+
]
|
|
2700
2742
|
}
|
|
2701
2743
|
]
|
|
2702
2744
|
]
|
|
@@ -2716,51 +2758,51 @@
|
|
|
2716
2758
|
"main",
|
|
2717
2759
|
{
|
|
2718
2760
|
"appName": "ServiceMarketplace",
|
|
2761
|
+
"navItems": [
|
|
2762
|
+
{
|
|
2763
|
+
"href": "/products",
|
|
2764
|
+
"icon": "package",
|
|
2765
|
+
"label": "Products"
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"label": "Login",
|
|
2769
|
+
"href": "/login",
|
|
2770
|
+
"icon": "layout-list"
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"icon": "credit-card",
|
|
2774
|
+
"label": "Checkout",
|
|
2775
|
+
"href": "/checkout"
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
"icon": "clipboard-list",
|
|
2779
|
+
"href": "/orders",
|
|
2780
|
+
"label": "Orders"
|
|
2781
|
+
}
|
|
2782
|
+
],
|
|
2783
|
+
"type": "dashboard-layout",
|
|
2719
2784
|
"children": [
|
|
2720
2785
|
{
|
|
2721
2786
|
"children": [
|
|
2722
2787
|
{
|
|
2723
|
-
"type": "error-state",
|
|
2724
2788
|
"title": "Authentication Failed",
|
|
2725
|
-
"
|
|
2726
|
-
"
|
|
2789
|
+
"message": "@entity.error",
|
|
2790
|
+
"type": "error-state",
|
|
2791
|
+
"onRetry": "RETRY"
|
|
2727
2792
|
},
|
|
2728
2793
|
{
|
|
2794
|
+
"variant": "primary",
|
|
2729
2795
|
"type": "button",
|
|
2730
2796
|
"label": "Try Again",
|
|
2731
|
-
"variant": "primary",
|
|
2732
2797
|
"action": "RETRY",
|
|
2733
2798
|
"icon": "rotate-ccw"
|
|
2734
2799
|
}
|
|
2735
2800
|
],
|
|
2736
|
-
"align": "center",
|
|
2737
|
-
"direction": "vertical",
|
|
2738
2801
|
"type": "stack",
|
|
2802
|
+
"direction": "vertical",
|
|
2803
|
+
"align": "center",
|
|
2739
2804
|
"gap": "lg"
|
|
2740
2805
|
}
|
|
2741
|
-
],
|
|
2742
|
-
"type": "dashboard-layout",
|
|
2743
|
-
"navItems": [
|
|
2744
|
-
{
|
|
2745
|
-
"label": "Products",
|
|
2746
|
-
"href": "/products",
|
|
2747
|
-
"icon": "package"
|
|
2748
|
-
},
|
|
2749
|
-
{
|
|
2750
|
-
"icon": "layout-list",
|
|
2751
|
-
"label": "Login",
|
|
2752
|
-
"href": "/login"
|
|
2753
|
-
},
|
|
2754
|
-
{
|
|
2755
|
-
"label": "Checkout",
|
|
2756
|
-
"icon": "credit-card",
|
|
2757
|
-
"href": "/checkout"
|
|
2758
|
-
},
|
|
2759
|
-
{
|
|
2760
|
-
"label": "Orders",
|
|
2761
|
-
"href": "/orders",
|
|
2762
|
-
"icon": "clipboard-list"
|
|
2763
|
-
}
|
|
2764
2806
|
]
|
|
2765
2807
|
}
|
|
2766
2808
|
]
|
|
@@ -2790,8 +2832,12 @@
|
|
|
2790
2832
|
"render-ui",
|
|
2791
2833
|
"main",
|
|
2792
2834
|
{
|
|
2835
|
+
"appName": "ServiceMarketplace",
|
|
2793
2836
|
"children": [
|
|
2794
2837
|
{
|
|
2838
|
+
"direction": "vertical",
|
|
2839
|
+
"gap": "lg",
|
|
2840
|
+
"type": "stack",
|
|
2795
2841
|
"align": "center",
|
|
2796
2842
|
"children": [
|
|
2797
2843
|
{
|
|
@@ -2800,58 +2846,54 @@
|
|
|
2800
2846
|
},
|
|
2801
2847
|
{
|
|
2802
2848
|
"type": "alert",
|
|
2803
|
-
"
|
|
2804
|
-
"
|
|
2849
|
+
"variant": "success",
|
|
2850
|
+
"message": "Authenticated successfully"
|
|
2805
2851
|
},
|
|
2806
2852
|
{
|
|
2853
|
+
"direction": "horizontal",
|
|
2854
|
+
"gap": "sm",
|
|
2807
2855
|
"type": "stack",
|
|
2808
2856
|
"justify": "center",
|
|
2809
|
-
"direction": "horizontal",
|
|
2810
2857
|
"children": [
|
|
2811
2858
|
{
|
|
2812
|
-
"type": "button",
|
|
2813
2859
|
"variant": "ghost",
|
|
2814
|
-
"
|
|
2860
|
+
"icon": "refresh-cw",
|
|
2861
|
+
"type": "button",
|
|
2815
2862
|
"action": "REFRESH",
|
|
2816
|
-
"
|
|
2863
|
+
"label": "Refresh Token"
|
|
2817
2864
|
},
|
|
2818
2865
|
{
|
|
2819
|
-
"type": "button",
|
|
2820
2866
|
"icon": "log-out",
|
|
2821
|
-
"label": "Logout",
|
|
2822
2867
|
"variant": "ghost",
|
|
2868
|
+
"type": "button",
|
|
2869
|
+
"label": "Logout",
|
|
2823
2870
|
"action": "LOGOUT"
|
|
2824
2871
|
}
|
|
2825
|
-
]
|
|
2826
|
-
"gap": "sm"
|
|
2872
|
+
]
|
|
2827
2873
|
}
|
|
2828
|
-
]
|
|
2829
|
-
"gap": "lg",
|
|
2830
|
-
"direction": "vertical",
|
|
2831
|
-
"type": "stack"
|
|
2874
|
+
]
|
|
2832
2875
|
}
|
|
2833
2876
|
],
|
|
2834
2877
|
"type": "dashboard-layout",
|
|
2835
|
-
"appName": "ServiceMarketplace",
|
|
2836
2878
|
"navItems": [
|
|
2837
2879
|
{
|
|
2838
2880
|
"icon": "package",
|
|
2839
|
-
"
|
|
2840
|
-
"
|
|
2881
|
+
"href": "/products",
|
|
2882
|
+
"label": "Products"
|
|
2841
2883
|
},
|
|
2842
2884
|
{
|
|
2843
2885
|
"label": "Login",
|
|
2844
|
-
"
|
|
2845
|
-
"
|
|
2886
|
+
"icon": "layout-list",
|
|
2887
|
+
"href": "/login"
|
|
2846
2888
|
},
|
|
2847
2889
|
{
|
|
2848
|
-
"label": "Checkout",
|
|
2849
2890
|
"href": "/checkout",
|
|
2891
|
+
"label": "Checkout",
|
|
2850
2892
|
"icon": "credit-card"
|
|
2851
2893
|
},
|
|
2852
2894
|
{
|
|
2853
|
-
"href": "/orders",
|
|
2854
2895
|
"icon": "clipboard-list",
|
|
2896
|
+
"href": "/orders",
|
|
2855
2897
|
"label": "Orders"
|
|
2856
2898
|
}
|
|
2857
2899
|
]
|
|
@@ -2868,35 +2910,35 @@
|
|
|
2868
2910
|
"render-ui",
|
|
2869
2911
|
"main",
|
|
2870
2912
|
{
|
|
2871
|
-
"type": "dashboard-layout",
|
|
2872
|
-
"children": [
|
|
2873
|
-
{
|
|
2874
|
-
"title": "Refreshing token...",
|
|
2875
|
-
"type": "loading-state",
|
|
2876
|
-
"message": "Obtaining a new access token."
|
|
2877
|
-
}
|
|
2878
|
-
],
|
|
2879
|
-
"appName": "ServiceMarketplace",
|
|
2880
2913
|
"navItems": [
|
|
2881
2914
|
{
|
|
2882
|
-
"
|
|
2915
|
+
"icon": "package",
|
|
2883
2916
|
"label": "Products",
|
|
2884
|
-
"
|
|
2917
|
+
"href": "/products"
|
|
2885
2918
|
},
|
|
2886
2919
|
{
|
|
2887
2920
|
"href": "/login",
|
|
2888
|
-
"
|
|
2889
|
-
"
|
|
2921
|
+
"label": "Login",
|
|
2922
|
+
"icon": "layout-list"
|
|
2890
2923
|
},
|
|
2891
2924
|
{
|
|
2925
|
+
"icon": "credit-card",
|
|
2892
2926
|
"label": "Checkout",
|
|
2893
|
-
"href": "/checkout"
|
|
2894
|
-
"icon": "credit-card"
|
|
2927
|
+
"href": "/checkout"
|
|
2895
2928
|
},
|
|
2896
2929
|
{
|
|
2897
|
-
"
|
|
2930
|
+
"label": "Orders",
|
|
2898
2931
|
"icon": "clipboard-list",
|
|
2899
|
-
"
|
|
2932
|
+
"href": "/orders"
|
|
2933
|
+
}
|
|
2934
|
+
],
|
|
2935
|
+
"type": "dashboard-layout",
|
|
2936
|
+
"appName": "ServiceMarketplace",
|
|
2937
|
+
"children": [
|
|
2938
|
+
{
|
|
2939
|
+
"message": "Obtaining a new access token.",
|
|
2940
|
+
"type": "loading-state",
|
|
2941
|
+
"title": "Refreshing token..."
|
|
2900
2942
|
}
|
|
2901
2943
|
]
|
|
2902
2944
|
}
|
|
@@ -2910,8 +2952,8 @@
|
|
|
2910
2952
|
},
|
|
2911
2953
|
{
|
|
2912
2954
|
"emit": {
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
2955
|
+
"failure": "ProductOauthFailed",
|
|
2956
|
+
"success": "ProductOauthCompleted"
|
|
2915
2957
|
}
|
|
2916
2958
|
}
|
|
2917
2959
|
]
|
|
@@ -2932,34 +2974,56 @@
|
|
|
2932
2974
|
"main",
|
|
2933
2975
|
{
|
|
2934
2976
|
"type": "dashboard-layout",
|
|
2977
|
+
"appName": "ServiceMarketplace",
|
|
2978
|
+
"navItems": [
|
|
2979
|
+
{
|
|
2980
|
+
"icon": "package",
|
|
2981
|
+
"href": "/products",
|
|
2982
|
+
"label": "Products"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"href": "/login",
|
|
2986
|
+
"icon": "layout-list",
|
|
2987
|
+
"label": "Login"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"href": "/checkout",
|
|
2991
|
+
"label": "Checkout",
|
|
2992
|
+
"icon": "credit-card"
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"href": "/orders",
|
|
2996
|
+
"label": "Orders",
|
|
2997
|
+
"icon": "clipboard-list"
|
|
2998
|
+
}
|
|
2999
|
+
],
|
|
2935
3000
|
"children": [
|
|
2936
3001
|
{
|
|
2937
|
-
"gap": "lg",
|
|
2938
|
-
"type": "stack",
|
|
2939
3002
|
"direction": "vertical",
|
|
2940
|
-
"
|
|
3003
|
+
"gap": "lg",
|
|
2941
3004
|
"children": [
|
|
2942
3005
|
{
|
|
2943
|
-
"
|
|
3006
|
+
"type": "stack",
|
|
2944
3007
|
"gap": "md",
|
|
2945
3008
|
"children": [
|
|
2946
3009
|
{
|
|
2947
|
-
"
|
|
2948
|
-
"
|
|
3010
|
+
"name": "lock",
|
|
3011
|
+
"type": "icon"
|
|
2949
3012
|
},
|
|
2950
3013
|
{
|
|
3014
|
+
"type": "typography",
|
|
2951
3015
|
"content": "Sign In",
|
|
2952
|
-
"variant": "h2"
|
|
2953
|
-
"type": "typography"
|
|
3016
|
+
"variant": "h2"
|
|
2954
3017
|
}
|
|
2955
3018
|
],
|
|
2956
|
-
"
|
|
3019
|
+
"direction": "horizontal",
|
|
2957
3020
|
"align": "center"
|
|
2958
3021
|
},
|
|
2959
3022
|
{
|
|
2960
3023
|
"type": "divider"
|
|
2961
3024
|
},
|
|
2962
3025
|
{
|
|
3026
|
+
"type": "select",
|
|
2963
3027
|
"options": [
|
|
2964
3028
|
{
|
|
2965
3029
|
"label": "Google",
|
|
@@ -2970,45 +3034,23 @@
|
|
|
2970
3034
|
"label": "GitHub"
|
|
2971
3035
|
},
|
|
2972
3036
|
{
|
|
2973
|
-
"
|
|
2974
|
-
"
|
|
3037
|
+
"value": "microsoft",
|
|
3038
|
+
"label": "Microsoft"
|
|
2975
3039
|
}
|
|
2976
|
-
]
|
|
2977
|
-
"type": "select"
|
|
3040
|
+
]
|
|
2978
3041
|
},
|
|
2979
3042
|
{
|
|
2980
3043
|
"type": "button",
|
|
3044
|
+
"icon": "log-in",
|
|
2981
3045
|
"action": "LOGIN",
|
|
2982
3046
|
"variant": "primary",
|
|
2983
|
-
"icon": "log-in",
|
|
2984
3047
|
"label": "Login"
|
|
2985
3048
|
}
|
|
2986
|
-
]
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
"navItems": [
|
|
2990
|
-
{
|
|
2991
|
-
"href": "/products",
|
|
2992
|
-
"label": "Products",
|
|
2993
|
-
"icon": "package"
|
|
2994
|
-
},
|
|
2995
|
-
{
|
|
2996
|
-
"href": "/login",
|
|
2997
|
-
"icon": "layout-list",
|
|
2998
|
-
"label": "Login"
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"href": "/checkout",
|
|
3002
|
-
"label": "Checkout",
|
|
3003
|
-
"icon": "credit-card"
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"href": "/orders",
|
|
3007
|
-
"icon": "clipboard-list",
|
|
3008
|
-
"label": "Orders"
|
|
3049
|
+
],
|
|
3050
|
+
"align": "center",
|
|
3051
|
+
"type": "stack"
|
|
3009
3052
|
}
|
|
3010
|
-
]
|
|
3011
|
-
"appName": "ServiceMarketplace"
|
|
3053
|
+
]
|
|
3012
3054
|
}
|
|
3013
3055
|
]
|
|
3014
3056
|
]
|
|
@@ -3027,31 +3069,33 @@
|
|
|
3027
3069
|
"render-ui",
|
|
3028
3070
|
"main",
|
|
3029
3071
|
{
|
|
3072
|
+
"appName": "ServiceMarketplace",
|
|
3030
3073
|
"children": [
|
|
3031
3074
|
{
|
|
3075
|
+
"align": "center",
|
|
3076
|
+
"type": "stack",
|
|
3032
3077
|
"children": [
|
|
3033
3078
|
{
|
|
3034
|
-
"
|
|
3035
|
-
"
|
|
3079
|
+
"type": "icon",
|
|
3080
|
+
"name": "check-circle"
|
|
3036
3081
|
},
|
|
3037
3082
|
{
|
|
3038
|
-
"
|
|
3083
|
+
"message": "Authenticated successfully",
|
|
3039
3084
|
"variant": "success",
|
|
3040
|
-
"
|
|
3085
|
+
"type": "alert"
|
|
3041
3086
|
},
|
|
3042
3087
|
{
|
|
3043
|
-
"justify": "center",
|
|
3044
3088
|
"children": [
|
|
3045
3089
|
{
|
|
3090
|
+
"variant": "ghost",
|
|
3091
|
+
"icon": "refresh-cw",
|
|
3046
3092
|
"type": "button",
|
|
3047
3093
|
"label": "Refresh Token",
|
|
3048
|
-
"
|
|
3049
|
-
"action": "REFRESH",
|
|
3050
|
-
"variant": "ghost"
|
|
3094
|
+
"action": "REFRESH"
|
|
3051
3095
|
},
|
|
3052
3096
|
{
|
|
3053
|
-
"action": "LOGOUT",
|
|
3054
3097
|
"type": "button",
|
|
3098
|
+
"action": "LOGOUT",
|
|
3055
3099
|
"variant": "ghost",
|
|
3056
3100
|
"icon": "log-out",
|
|
3057
3101
|
"label": "Logout"
|
|
@@ -3059,30 +3103,94 @@
|
|
|
3059
3103
|
],
|
|
3060
3104
|
"type": "stack",
|
|
3061
3105
|
"direction": "horizontal",
|
|
3106
|
+
"justify": "center",
|
|
3062
3107
|
"gap": "sm"
|
|
3063
3108
|
}
|
|
3064
3109
|
],
|
|
3110
|
+
"gap": "lg",
|
|
3111
|
+
"direction": "vertical"
|
|
3112
|
+
}
|
|
3113
|
+
],
|
|
3114
|
+
"type": "dashboard-layout",
|
|
3115
|
+
"navItems": [
|
|
3116
|
+
{
|
|
3117
|
+
"label": "Products",
|
|
3118
|
+
"href": "/products",
|
|
3119
|
+
"icon": "package"
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
"label": "Login",
|
|
3123
|
+
"href": "/login",
|
|
3124
|
+
"icon": "layout-list"
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"icon": "credit-card",
|
|
3128
|
+
"label": "Checkout",
|
|
3129
|
+
"href": "/checkout"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"label": "Orders",
|
|
3133
|
+
"href": "/orders",
|
|
3134
|
+
"icon": "clipboard-list"
|
|
3135
|
+
}
|
|
3136
|
+
]
|
|
3137
|
+
}
|
|
3138
|
+
]
|
|
3139
|
+
]
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"from": "refreshing",
|
|
3143
|
+
"to": "error",
|
|
3144
|
+
"event": "FAILED",
|
|
3145
|
+
"effects": [
|
|
3146
|
+
[
|
|
3147
|
+
"set",
|
|
3148
|
+
"@entity.error",
|
|
3149
|
+
"@payload.error"
|
|
3150
|
+
],
|
|
3151
|
+
[
|
|
3152
|
+
"render-ui",
|
|
3153
|
+
"main",
|
|
3154
|
+
{
|
|
3155
|
+
"children": [
|
|
3156
|
+
{
|
|
3065
3157
|
"direction": "vertical",
|
|
3066
|
-
"align": "center",
|
|
3067
3158
|
"type": "stack",
|
|
3068
|
-
"
|
|
3159
|
+
"children": [
|
|
3160
|
+
{
|
|
3161
|
+
"message": "@entity.error",
|
|
3162
|
+
"title": "Authentication Failed",
|
|
3163
|
+
"type": "error-state",
|
|
3164
|
+
"onRetry": "RETRY"
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"action": "RETRY",
|
|
3168
|
+
"label": "Try Again",
|
|
3169
|
+
"icon": "rotate-ccw",
|
|
3170
|
+
"type": "button",
|
|
3171
|
+
"variant": "primary"
|
|
3172
|
+
}
|
|
3173
|
+
],
|
|
3174
|
+
"gap": "lg",
|
|
3175
|
+
"align": "center"
|
|
3069
3176
|
}
|
|
3070
3177
|
],
|
|
3178
|
+
"appName": "ServiceMarketplace",
|
|
3071
3179
|
"navItems": [
|
|
3072
3180
|
{
|
|
3073
|
-
"
|
|
3181
|
+
"label": "Products",
|
|
3074
3182
|
"href": "/products",
|
|
3075
|
-
"
|
|
3183
|
+
"icon": "package"
|
|
3076
3184
|
},
|
|
3077
3185
|
{
|
|
3078
|
-
"label": "Login",
|
|
3079
3186
|
"href": "/login",
|
|
3080
|
-
"icon": "layout-list"
|
|
3187
|
+
"icon": "layout-list",
|
|
3188
|
+
"label": "Login"
|
|
3081
3189
|
},
|
|
3082
3190
|
{
|
|
3083
|
-
"
|
|
3191
|
+
"href": "/checkout",
|
|
3084
3192
|
"label": "Checkout",
|
|
3085
|
-
"
|
|
3193
|
+
"icon": "credit-card"
|
|
3086
3194
|
},
|
|
3087
3195
|
{
|
|
3088
3196
|
"icon": "clipboard-list",
|
|
@@ -3090,106 +3198,65 @@
|
|
|
3090
3198
|
"label": "Orders"
|
|
3091
3199
|
}
|
|
3092
3200
|
],
|
|
3093
|
-
"appName": "ServiceMarketplace",
|
|
3094
3201
|
"type": "dashboard-layout"
|
|
3095
3202
|
}
|
|
3096
3203
|
]
|
|
3097
3204
|
]
|
|
3098
3205
|
},
|
|
3099
3206
|
{
|
|
3100
|
-
"from": "
|
|
3101
|
-
"to": "
|
|
3102
|
-
"event": "
|
|
3207
|
+
"from": "error",
|
|
3208
|
+
"to": "unauthenticated",
|
|
3209
|
+
"event": "RETRY",
|
|
3103
3210
|
"effects": [
|
|
3104
|
-
[
|
|
3105
|
-
"set",
|
|
3106
|
-
"@entity.error",
|
|
3107
|
-
"@payload.error"
|
|
3108
|
-
],
|
|
3109
3211
|
[
|
|
3110
3212
|
"render-ui",
|
|
3111
3213
|
"main",
|
|
3112
3214
|
{
|
|
3113
|
-
"type": "dashboard-layout",
|
|
3114
3215
|
"appName": "ServiceMarketplace",
|
|
3115
3216
|
"navItems": [
|
|
3116
3217
|
{
|
|
3117
3218
|
"icon": "package",
|
|
3118
|
-
"
|
|
3119
|
-
"
|
|
3219
|
+
"href": "/products",
|
|
3220
|
+
"label": "Products"
|
|
3120
3221
|
},
|
|
3121
3222
|
{
|
|
3223
|
+
"label": "Login",
|
|
3122
3224
|
"icon": "layout-list",
|
|
3123
|
-
"href": "/login"
|
|
3124
|
-
"label": "Login"
|
|
3225
|
+
"href": "/login"
|
|
3125
3226
|
},
|
|
3126
3227
|
{
|
|
3127
3228
|
"href": "/checkout",
|
|
3128
|
-
"
|
|
3129
|
-
"
|
|
3229
|
+
"icon": "credit-card",
|
|
3230
|
+
"label": "Checkout"
|
|
3130
3231
|
},
|
|
3131
3232
|
{
|
|
3233
|
+
"icon": "clipboard-list",
|
|
3132
3234
|
"label": "Orders",
|
|
3133
|
-
"href": "/orders"
|
|
3134
|
-
"icon": "clipboard-list"
|
|
3235
|
+
"href": "/orders"
|
|
3135
3236
|
}
|
|
3136
3237
|
],
|
|
3137
|
-
"
|
|
3138
|
-
{
|
|
3139
|
-
"gap": "lg",
|
|
3140
|
-
"direction": "vertical",
|
|
3141
|
-
"align": "center",
|
|
3142
|
-
"children": [
|
|
3143
|
-
{
|
|
3144
|
-
"type": "error-state",
|
|
3145
|
-
"title": "Authentication Failed",
|
|
3146
|
-
"message": "@entity.error",
|
|
3147
|
-
"onRetry": "RETRY"
|
|
3148
|
-
},
|
|
3149
|
-
{
|
|
3150
|
-
"variant": "primary",
|
|
3151
|
-
"action": "RETRY",
|
|
3152
|
-
"type": "button",
|
|
3153
|
-
"icon": "rotate-ccw",
|
|
3154
|
-
"label": "Try Again"
|
|
3155
|
-
}
|
|
3156
|
-
],
|
|
3157
|
-
"type": "stack"
|
|
3158
|
-
}
|
|
3159
|
-
]
|
|
3160
|
-
}
|
|
3161
|
-
]
|
|
3162
|
-
]
|
|
3163
|
-
},
|
|
3164
|
-
{
|
|
3165
|
-
"from": "error",
|
|
3166
|
-
"to": "unauthenticated",
|
|
3167
|
-
"event": "RETRY",
|
|
3168
|
-
"effects": [
|
|
3169
|
-
[
|
|
3170
|
-
"render-ui",
|
|
3171
|
-
"main",
|
|
3172
|
-
{
|
|
3238
|
+
"type": "dashboard-layout",
|
|
3173
3239
|
"children": [
|
|
3174
3240
|
{
|
|
3175
3241
|
"align": "center",
|
|
3242
|
+
"direction": "vertical",
|
|
3176
3243
|
"children": [
|
|
3177
3244
|
{
|
|
3178
|
-
"align": "center",
|
|
3179
|
-
"type": "stack",
|
|
3180
3245
|
"gap": "md",
|
|
3246
|
+
"align": "center",
|
|
3181
3247
|
"children": [
|
|
3182
3248
|
{
|
|
3183
3249
|
"name": "lock",
|
|
3184
3250
|
"type": "icon"
|
|
3185
3251
|
},
|
|
3186
3252
|
{
|
|
3187
|
-
"
|
|
3253
|
+
"content": "Sign In",
|
|
3188
3254
|
"variant": "h2",
|
|
3189
|
-
"
|
|
3255
|
+
"type": "typography"
|
|
3190
3256
|
}
|
|
3191
3257
|
],
|
|
3192
|
-
"direction": "horizontal"
|
|
3258
|
+
"direction": "horizontal",
|
|
3259
|
+
"type": "stack"
|
|
3193
3260
|
},
|
|
3194
3261
|
{
|
|
3195
3262
|
"type": "divider"
|
|
@@ -3197,57 +3264,32 @@
|
|
|
3197
3264
|
{
|
|
3198
3265
|
"options": [
|
|
3199
3266
|
{
|
|
3200
|
-
"
|
|
3201
|
-
"
|
|
3267
|
+
"label": "Google",
|
|
3268
|
+
"value": "google"
|
|
3202
3269
|
},
|
|
3203
3270
|
{
|
|
3204
|
-
"
|
|
3205
|
-
"
|
|
3271
|
+
"label": "GitHub",
|
|
3272
|
+
"value": "github"
|
|
3206
3273
|
},
|
|
3207
3274
|
{
|
|
3208
|
-
"
|
|
3209
|
-
"
|
|
3275
|
+
"value": "microsoft",
|
|
3276
|
+
"label": "Microsoft"
|
|
3210
3277
|
}
|
|
3211
3278
|
],
|
|
3212
3279
|
"type": "select"
|
|
3213
3280
|
},
|
|
3214
3281
|
{
|
|
3215
3282
|
"icon": "log-in",
|
|
3283
|
+
"action": "LOGIN",
|
|
3216
3284
|
"type": "button",
|
|
3217
3285
|
"variant": "primary",
|
|
3218
|
-
"action": "LOGIN",
|
|
3219
3286
|
"label": "Login"
|
|
3220
3287
|
}
|
|
3221
3288
|
],
|
|
3222
|
-
"direction": "vertical",
|
|
3223
3289
|
"type": "stack",
|
|
3224
3290
|
"gap": "lg"
|
|
3225
3291
|
}
|
|
3226
|
-
]
|
|
3227
|
-
"type": "dashboard-layout",
|
|
3228
|
-
"navItems": [
|
|
3229
|
-
{
|
|
3230
|
-
"label": "Products",
|
|
3231
|
-
"icon": "package",
|
|
3232
|
-
"href": "/products"
|
|
3233
|
-
},
|
|
3234
|
-
{
|
|
3235
|
-
"href": "/login",
|
|
3236
|
-
"label": "Login",
|
|
3237
|
-
"icon": "layout-list"
|
|
3238
|
-
},
|
|
3239
|
-
{
|
|
3240
|
-
"href": "/checkout",
|
|
3241
|
-
"label": "Checkout",
|
|
3242
|
-
"icon": "credit-card"
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"label": "Orders",
|
|
3246
|
-
"icon": "clipboard-list",
|
|
3247
|
-
"href": "/orders"
|
|
3248
|
-
}
|
|
3249
|
-
],
|
|
3250
|
-
"appName": "ServiceMarketplace"
|
|
3292
|
+
]
|
|
3251
3293
|
}
|
|
3252
3294
|
]
|
|
3253
3295
|
]
|
|
@@ -3519,8 +3561,8 @@
|
|
|
3519
3561
|
"OrderPayment",
|
|
3520
3562
|
{
|
|
3521
3563
|
"emit": {
|
|
3522
|
-
"
|
|
3523
|
-
"
|
|
3564
|
+
"failure": "OrderPaymentLoadFailed",
|
|
3565
|
+
"success": "OrderPaymentLoaded"
|
|
3524
3566
|
}
|
|
3525
3567
|
}
|
|
3526
3568
|
],
|
|
@@ -3528,16 +3570,39 @@
|
|
|
3528
3570
|
"render-ui",
|
|
3529
3571
|
"main",
|
|
3530
3572
|
{
|
|
3573
|
+
"navItems": [
|
|
3574
|
+
{
|
|
3575
|
+
"icon": "package",
|
|
3576
|
+
"label": "Products",
|
|
3577
|
+
"href": "/products"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"icon": "layout-list",
|
|
3581
|
+
"label": "Login",
|
|
3582
|
+
"href": "/login"
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"href": "/checkout",
|
|
3586
|
+
"label": "Checkout",
|
|
3587
|
+
"icon": "credit-card"
|
|
3588
|
+
},
|
|
3589
|
+
{
|
|
3590
|
+
"href": "/orders",
|
|
3591
|
+
"icon": "clipboard-list",
|
|
3592
|
+
"label": "Orders"
|
|
3593
|
+
}
|
|
3594
|
+
],
|
|
3531
3595
|
"type": "dashboard-layout",
|
|
3596
|
+
"appName": "ServiceMarketplace",
|
|
3532
3597
|
"children": [
|
|
3533
3598
|
{
|
|
3534
|
-
"
|
|
3599
|
+
"gap": "lg",
|
|
3600
|
+
"direction": "vertical",
|
|
3601
|
+
"align": "center",
|
|
3535
3602
|
"children": [
|
|
3536
3603
|
{
|
|
3537
|
-
"align": "center",
|
|
3538
3604
|
"direction": "horizontal",
|
|
3539
3605
|
"type": "stack",
|
|
3540
|
-
"gap": "md",
|
|
3541
3606
|
"children": [
|
|
3542
3607
|
{
|
|
3543
3608
|
"name": "credit-card",
|
|
@@ -3548,20 +3613,21 @@
|
|
|
3548
3613
|
"content": "Payment",
|
|
3549
3614
|
"variant": "h2"
|
|
3550
3615
|
}
|
|
3551
|
-
]
|
|
3616
|
+
],
|
|
3617
|
+
"gap": "md",
|
|
3618
|
+
"align": "center"
|
|
3552
3619
|
},
|
|
3553
3620
|
{
|
|
3554
3621
|
"type": "divider"
|
|
3555
3622
|
},
|
|
3556
3623
|
{
|
|
3557
|
-
"type": "stack",
|
|
3558
3624
|
"direction": "vertical",
|
|
3559
3625
|
"gap": "md",
|
|
3560
3626
|
"children": [
|
|
3561
3627
|
{
|
|
3628
|
+
"placeholder": "0.00",
|
|
3562
3629
|
"type": "input",
|
|
3563
|
-
"inputType": "number"
|
|
3564
|
-
"placeholder": "0.00"
|
|
3630
|
+
"inputType": "number"
|
|
3565
3631
|
},
|
|
3566
3632
|
{
|
|
3567
3633
|
"options": [
|
|
@@ -3570,52 +3636,28 @@
|
|
|
3570
3636
|
"value": "usd"
|
|
3571
3637
|
},
|
|
3572
3638
|
{
|
|
3573
|
-
"
|
|
3574
|
-
"
|
|
3639
|
+
"label": "EUR",
|
|
3640
|
+
"value": "eur"
|
|
3575
3641
|
},
|
|
3576
3642
|
{
|
|
3577
|
-
"
|
|
3578
|
-
"
|
|
3643
|
+
"value": "gbp",
|
|
3644
|
+
"label": "GBP"
|
|
3579
3645
|
}
|
|
3580
3646
|
],
|
|
3581
3647
|
"type": "select"
|
|
3582
3648
|
}
|
|
3583
|
-
]
|
|
3649
|
+
],
|
|
3650
|
+
"type": "stack"
|
|
3584
3651
|
},
|
|
3585
3652
|
{
|
|
3586
|
-
"label": "Pay",
|
|
3587
|
-
"icon": "credit-card",
|
|
3588
3653
|
"action": "CREATE_PAYMENT",
|
|
3589
3654
|
"variant": "primary",
|
|
3590
|
-
"type": "button"
|
|
3655
|
+
"type": "button",
|
|
3656
|
+
"label": "Pay",
|
|
3657
|
+
"icon": "credit-card"
|
|
3591
3658
|
}
|
|
3592
3659
|
],
|
|
3593
|
-
"
|
|
3594
|
-
"gap": "lg",
|
|
3595
|
-
"align": "center"
|
|
3596
|
-
}
|
|
3597
|
-
],
|
|
3598
|
-
"appName": "ServiceMarketplace",
|
|
3599
|
-
"navItems": [
|
|
3600
|
-
{
|
|
3601
|
-
"href": "/products",
|
|
3602
|
-
"icon": "package",
|
|
3603
|
-
"label": "Products"
|
|
3604
|
-
},
|
|
3605
|
-
{
|
|
3606
|
-
"icon": "layout-list",
|
|
3607
|
-
"href": "/login",
|
|
3608
|
-
"label": "Login"
|
|
3609
|
-
},
|
|
3610
|
-
{
|
|
3611
|
-
"label": "Checkout",
|
|
3612
|
-
"href": "/checkout",
|
|
3613
|
-
"icon": "credit-card"
|
|
3614
|
-
},
|
|
3615
|
-
{
|
|
3616
|
-
"label": "Orders",
|
|
3617
|
-
"href": "/orders",
|
|
3618
|
-
"icon": "clipboard-list"
|
|
3660
|
+
"type": "stack"
|
|
3619
3661
|
}
|
|
3620
3662
|
]
|
|
3621
3663
|
}
|
|
@@ -3631,27 +3673,27 @@
|
|
|
3631
3673
|
"render-ui",
|
|
3632
3674
|
"main",
|
|
3633
3675
|
{
|
|
3634
|
-
"
|
|
3676
|
+
"type": "dashboard-layout",
|
|
3635
3677
|
"navItems": [
|
|
3636
3678
|
{
|
|
3637
|
-
"icon": "package",
|
|
3638
3679
|
"label": "Products",
|
|
3639
|
-
"href": "/products"
|
|
3680
|
+
"href": "/products",
|
|
3681
|
+
"icon": "package"
|
|
3640
3682
|
},
|
|
3641
3683
|
{
|
|
3642
|
-
"
|
|
3684
|
+
"label": "Login",
|
|
3643
3685
|
"icon": "layout-list",
|
|
3644
|
-
"
|
|
3686
|
+
"href": "/login"
|
|
3645
3687
|
},
|
|
3646
3688
|
{
|
|
3647
|
-
"label": "Checkout",
|
|
3648
3689
|
"href": "/checkout",
|
|
3649
|
-
"icon": "credit-card"
|
|
3690
|
+
"icon": "credit-card",
|
|
3691
|
+
"label": "Checkout"
|
|
3650
3692
|
},
|
|
3651
3693
|
{
|
|
3694
|
+
"href": "/orders",
|
|
3652
3695
|
"icon": "clipboard-list",
|
|
3653
|
-
"label": "Orders"
|
|
3654
|
-
"href": "/orders"
|
|
3696
|
+
"label": "Orders"
|
|
3655
3697
|
}
|
|
3656
3698
|
],
|
|
3657
3699
|
"children": [
|
|
@@ -3661,7 +3703,7 @@
|
|
|
3661
3703
|
"message": "Setting up your payment intent."
|
|
3662
3704
|
}
|
|
3663
3705
|
],
|
|
3664
|
-
"
|
|
3706
|
+
"appName": "ServiceMarketplace"
|
|
3665
3707
|
}
|
|
3666
3708
|
],
|
|
3667
3709
|
[
|
|
@@ -3700,7 +3742,13 @@
|
|
|
3700
3742
|
"render-ui",
|
|
3701
3743
|
"main",
|
|
3702
3744
|
{
|
|
3703
|
-
"
|
|
3745
|
+
"children": [
|
|
3746
|
+
{
|
|
3747
|
+
"message": "Processing your payment.",
|
|
3748
|
+
"type": "loading-state",
|
|
3749
|
+
"title": "Confirming payment..."
|
|
3750
|
+
}
|
|
3751
|
+
],
|
|
3704
3752
|
"type": "dashboard-layout",
|
|
3705
3753
|
"navItems": [
|
|
3706
3754
|
{
|
|
@@ -3709,28 +3757,22 @@
|
|
|
3709
3757
|
"href": "/products"
|
|
3710
3758
|
},
|
|
3711
3759
|
{
|
|
3760
|
+
"label": "Login",
|
|
3712
3761
|
"href": "/login",
|
|
3713
|
-
"icon": "layout-list"
|
|
3714
|
-
"label": "Login"
|
|
3762
|
+
"icon": "layout-list"
|
|
3715
3763
|
},
|
|
3716
3764
|
{
|
|
3717
3765
|
"label": "Checkout",
|
|
3718
|
-
"
|
|
3719
|
-
"
|
|
3766
|
+
"icon": "credit-card",
|
|
3767
|
+
"href": "/checkout"
|
|
3720
3768
|
},
|
|
3721
3769
|
{
|
|
3770
|
+
"label": "Orders",
|
|
3722
3771
|
"href": "/orders",
|
|
3723
|
-
"icon": "clipboard-list"
|
|
3724
|
-
"label": "Orders"
|
|
3772
|
+
"icon": "clipboard-list"
|
|
3725
3773
|
}
|
|
3726
3774
|
],
|
|
3727
|
-
"
|
|
3728
|
-
{
|
|
3729
|
-
"title": "Confirming payment...",
|
|
3730
|
-
"type": "loading-state",
|
|
3731
|
-
"message": "Processing your payment."
|
|
3732
|
-
}
|
|
3733
|
-
]
|
|
3775
|
+
"appName": "ServiceMarketplace"
|
|
3734
3776
|
}
|
|
3735
3777
|
],
|
|
3736
3778
|
[
|
|
@@ -3766,16 +3808,17 @@
|
|
|
3766
3808
|
"type": "dashboard-layout",
|
|
3767
3809
|
"children": [
|
|
3768
3810
|
{
|
|
3769
|
-
"type": "error-state",
|
|
3770
|
-
"title": "Payment Failed",
|
|
3771
3811
|
"onRetry": "RETRY",
|
|
3772
|
-
"message": "@entity.error"
|
|
3812
|
+
"message": "@entity.error",
|
|
3813
|
+
"type": "error-state",
|
|
3814
|
+
"title": "Payment Failed"
|
|
3773
3815
|
}
|
|
3774
3816
|
],
|
|
3817
|
+
"appName": "ServiceMarketplace",
|
|
3775
3818
|
"navItems": [
|
|
3776
3819
|
{
|
|
3777
|
-
"href": "/products",
|
|
3778
3820
|
"icon": "package",
|
|
3821
|
+
"href": "/products",
|
|
3779
3822
|
"label": "Products"
|
|
3780
3823
|
},
|
|
3781
3824
|
{
|
|
@@ -3784,17 +3827,16 @@
|
|
|
3784
3827
|
"icon": "layout-list"
|
|
3785
3828
|
},
|
|
3786
3829
|
{
|
|
3830
|
+
"icon": "credit-card",
|
|
3787
3831
|
"label": "Checkout",
|
|
3788
|
-
"href": "/checkout"
|
|
3789
|
-
"icon": "credit-card"
|
|
3832
|
+
"href": "/checkout"
|
|
3790
3833
|
},
|
|
3791
3834
|
{
|
|
3792
3835
|
"label": "Orders",
|
|
3793
3836
|
"icon": "clipboard-list",
|
|
3794
3837
|
"href": "/orders"
|
|
3795
3838
|
}
|
|
3796
|
-
]
|
|
3797
|
-
"appName": "ServiceMarketplace"
|
|
3839
|
+
]
|
|
3798
3840
|
}
|
|
3799
3841
|
]
|
|
3800
3842
|
]
|
|
@@ -3819,60 +3861,60 @@
|
|
|
3819
3861
|
{
|
|
3820
3862
|
"navItems": [
|
|
3821
3863
|
{
|
|
3822
|
-
"href": "/products",
|
|
3823
3864
|
"label": "Products",
|
|
3865
|
+
"href": "/products",
|
|
3824
3866
|
"icon": "package"
|
|
3825
3867
|
},
|
|
3826
3868
|
{
|
|
3869
|
+
"href": "/login",
|
|
3827
3870
|
"icon": "layout-list",
|
|
3828
|
-
"label": "Login"
|
|
3829
|
-
"href": "/login"
|
|
3871
|
+
"label": "Login"
|
|
3830
3872
|
},
|
|
3831
3873
|
{
|
|
3832
3874
|
"href": "/checkout",
|
|
3833
|
-
"
|
|
3834
|
-
"
|
|
3875
|
+
"label": "Checkout",
|
|
3876
|
+
"icon": "credit-card"
|
|
3835
3877
|
},
|
|
3836
3878
|
{
|
|
3837
|
-
"
|
|
3879
|
+
"label": "Orders",
|
|
3838
3880
|
"href": "/orders",
|
|
3839
|
-
"
|
|
3881
|
+
"icon": "clipboard-list"
|
|
3840
3882
|
}
|
|
3841
3883
|
],
|
|
3884
|
+
"type": "dashboard-layout",
|
|
3885
|
+
"appName": "ServiceMarketplace",
|
|
3842
3886
|
"children": [
|
|
3843
3887
|
{
|
|
3844
|
-
"align": "center",
|
|
3845
|
-
"type": "stack",
|
|
3846
|
-
"direction": "vertical",
|
|
3847
3888
|
"children": [
|
|
3848
3889
|
{
|
|
3849
3890
|
"name": "check-circle",
|
|
3850
3891
|
"type": "icon"
|
|
3851
3892
|
},
|
|
3852
3893
|
{
|
|
3894
|
+
"message": "Payment successful! Sending receipt...",
|
|
3853
3895
|
"type": "alert",
|
|
3854
|
-
"variant": "success"
|
|
3855
|
-
"message": "Payment successful! Sending receipt..."
|
|
3896
|
+
"variant": "success"
|
|
3856
3897
|
},
|
|
3857
3898
|
{
|
|
3858
|
-
"content": "@entity.paymentIntentId",
|
|
3859
|
-
"type": "typography",
|
|
3860
3899
|
"variant": "body",
|
|
3861
|
-
"
|
|
3900
|
+
"content": "@entity.paymentIntentId",
|
|
3901
|
+
"color": "muted",
|
|
3902
|
+
"type": "typography"
|
|
3862
3903
|
},
|
|
3863
3904
|
{
|
|
3864
|
-
"variant": "ghost",
|
|
3865
|
-
"label": "New Payment",
|
|
3866
3905
|
"type": "button",
|
|
3867
3906
|
"icon": "rotate-ccw",
|
|
3868
|
-
"
|
|
3907
|
+
"label": "New Payment",
|
|
3908
|
+
"action": "RESET",
|
|
3909
|
+
"variant": "ghost"
|
|
3869
3910
|
}
|
|
3870
3911
|
],
|
|
3912
|
+
"align": "center",
|
|
3913
|
+
"type": "stack",
|
|
3914
|
+
"direction": "vertical",
|
|
3871
3915
|
"gap": "lg"
|
|
3872
3916
|
}
|
|
3873
|
-
]
|
|
3874
|
-
"type": "dashboard-layout",
|
|
3875
|
-
"appName": "ServiceMarketplace"
|
|
3917
|
+
]
|
|
3876
3918
|
}
|
|
3877
3919
|
]
|
|
3878
3920
|
]
|
|
@@ -3891,7 +3933,6 @@
|
|
|
3891
3933
|
"render-ui",
|
|
3892
3934
|
"main",
|
|
3893
3935
|
{
|
|
3894
|
-
"appName": "ServiceMarketplace",
|
|
3895
3936
|
"navItems": [
|
|
3896
3937
|
{
|
|
3897
3938
|
"href": "/products",
|
|
@@ -3899,30 +3940,31 @@
|
|
|
3899
3940
|
"icon": "package"
|
|
3900
3941
|
},
|
|
3901
3942
|
{
|
|
3902
|
-
"href": "/login",
|
|
3903
3943
|
"label": "Login",
|
|
3944
|
+
"href": "/login",
|
|
3904
3945
|
"icon": "layout-list"
|
|
3905
3946
|
},
|
|
3906
3947
|
{
|
|
3907
|
-
"href": "/checkout",
|
|
3908
3948
|
"icon": "credit-card",
|
|
3909
|
-
"label": "Checkout"
|
|
3949
|
+
"label": "Checkout",
|
|
3950
|
+
"href": "/checkout"
|
|
3910
3951
|
},
|
|
3911
3952
|
{
|
|
3912
|
-
"label": "Orders",
|
|
3913
3953
|
"href": "/orders",
|
|
3914
|
-
"icon": "clipboard-list"
|
|
3954
|
+
"icon": "clipboard-list",
|
|
3955
|
+
"label": "Orders"
|
|
3915
3956
|
}
|
|
3916
3957
|
],
|
|
3958
|
+
"type": "dashboard-layout",
|
|
3917
3959
|
"children": [
|
|
3918
3960
|
{
|
|
3919
|
-
"title": "Payment Failed",
|
|
3920
3961
|
"onRetry": "RETRY",
|
|
3921
|
-
"
|
|
3922
|
-
"message": "@entity.error"
|
|
3962
|
+
"title": "Payment Failed",
|
|
3963
|
+
"message": "@entity.error",
|
|
3964
|
+
"type": "error-state"
|
|
3923
3965
|
}
|
|
3924
3966
|
],
|
|
3925
|
-
"
|
|
3967
|
+
"appName": "ServiceMarketplace"
|
|
3926
3968
|
}
|
|
3927
3969
|
]
|
|
3928
3970
|
]
|
|
@@ -3937,43 +3979,39 @@
|
|
|
3937
3979
|
"main",
|
|
3938
3980
|
{
|
|
3939
3981
|
"appName": "ServiceMarketplace",
|
|
3940
|
-
"type": "dashboard-layout",
|
|
3941
3982
|
"children": [
|
|
3942
3983
|
{
|
|
3943
|
-
"align": "center",
|
|
3944
|
-
"gap": "lg",
|
|
3945
|
-
"type": "stack",
|
|
3946
3984
|
"direction": "vertical",
|
|
3947
3985
|
"children": [
|
|
3948
3986
|
{
|
|
3987
|
+
"direction": "horizontal",
|
|
3949
3988
|
"align": "center",
|
|
3950
3989
|
"gap": "md",
|
|
3951
|
-
"type": "stack",
|
|
3952
3990
|
"children": [
|
|
3953
3991
|
{
|
|
3954
|
-
"
|
|
3955
|
-
"
|
|
3992
|
+
"type": "icon",
|
|
3993
|
+
"name": "credit-card"
|
|
3956
3994
|
},
|
|
3957
3995
|
{
|
|
3958
3996
|
"content": "Payment",
|
|
3959
|
-
"
|
|
3960
|
-
"
|
|
3997
|
+
"type": "typography",
|
|
3998
|
+
"variant": "h2"
|
|
3961
3999
|
}
|
|
3962
4000
|
],
|
|
3963
|
-
"
|
|
4001
|
+
"type": "stack"
|
|
3964
4002
|
},
|
|
3965
4003
|
{
|
|
3966
4004
|
"type": "divider"
|
|
3967
4005
|
},
|
|
3968
4006
|
{
|
|
3969
|
-
"direction": "vertical",
|
|
3970
4007
|
"gap": "md",
|
|
3971
4008
|
"type": "stack",
|
|
4009
|
+
"direction": "vertical",
|
|
3972
4010
|
"children": [
|
|
3973
4011
|
{
|
|
4012
|
+
"type": "input",
|
|
3974
4013
|
"inputType": "number",
|
|
3975
|
-
"placeholder": "0.00"
|
|
3976
|
-
"type": "input"
|
|
4014
|
+
"placeholder": "0.00"
|
|
3977
4015
|
},
|
|
3978
4016
|
{
|
|
3979
4017
|
"options": [
|
|
@@ -3982,8 +4020,8 @@
|
|
|
3982
4020
|
"value": "usd"
|
|
3983
4021
|
},
|
|
3984
4022
|
{
|
|
3985
|
-
"
|
|
3986
|
-
"
|
|
4023
|
+
"value": "eur",
|
|
4024
|
+
"label": "EUR"
|
|
3987
4025
|
},
|
|
3988
4026
|
{
|
|
3989
4027
|
"label": "GBP",
|
|
@@ -3996,14 +4034,18 @@
|
|
|
3996
4034
|
},
|
|
3997
4035
|
{
|
|
3998
4036
|
"action": "CREATE_PAYMENT",
|
|
3999
|
-
"icon": "credit-card",
|
|
4000
4037
|
"label": "Pay",
|
|
4001
4038
|
"type": "button",
|
|
4039
|
+
"icon": "credit-card",
|
|
4002
4040
|
"variant": "primary"
|
|
4003
4041
|
}
|
|
4004
|
-
]
|
|
4042
|
+
],
|
|
4043
|
+
"gap": "lg",
|
|
4044
|
+
"type": "stack",
|
|
4045
|
+
"align": "center"
|
|
4005
4046
|
}
|
|
4006
4047
|
],
|
|
4048
|
+
"type": "dashboard-layout",
|
|
4007
4049
|
"navItems": [
|
|
4008
4050
|
{
|
|
4009
4051
|
"label": "Products",
|
|
@@ -4011,18 +4053,18 @@
|
|
|
4011
4053
|
"icon": "package"
|
|
4012
4054
|
},
|
|
4013
4055
|
{
|
|
4014
|
-
"
|
|
4056
|
+
"icon": "layout-list",
|
|
4015
4057
|
"href": "/login",
|
|
4016
|
-
"
|
|
4058
|
+
"label": "Login"
|
|
4017
4059
|
},
|
|
4018
4060
|
{
|
|
4019
|
-
"label": "Checkout",
|
|
4020
4061
|
"icon": "credit-card",
|
|
4062
|
+
"label": "Checkout",
|
|
4021
4063
|
"href": "/checkout"
|
|
4022
4064
|
},
|
|
4023
4065
|
{
|
|
4024
|
-
"label": "Orders",
|
|
4025
4066
|
"icon": "clipboard-list",
|
|
4067
|
+
"label": "Orders",
|
|
4026
4068
|
"href": "/orders"
|
|
4027
4069
|
}
|
|
4028
4070
|
]
|
|
@@ -4039,42 +4081,64 @@
|
|
|
4039
4081
|
"render-ui",
|
|
4040
4082
|
"main",
|
|
4041
4083
|
{
|
|
4084
|
+
"type": "dashboard-layout",
|
|
4085
|
+
"navItems": [
|
|
4086
|
+
{
|
|
4087
|
+
"href": "/products",
|
|
4088
|
+
"icon": "package",
|
|
4089
|
+
"label": "Products"
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
"href": "/login",
|
|
4093
|
+
"label": "Login",
|
|
4094
|
+
"icon": "layout-list"
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
"icon": "credit-card",
|
|
4098
|
+
"label": "Checkout",
|
|
4099
|
+
"href": "/checkout"
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"label": "Orders",
|
|
4103
|
+
"href": "/orders",
|
|
4104
|
+
"icon": "clipboard-list"
|
|
4105
|
+
}
|
|
4106
|
+
],
|
|
4042
4107
|
"appName": "ServiceMarketplace",
|
|
4043
4108
|
"children": [
|
|
4044
4109
|
{
|
|
4045
|
-
"type": "stack",
|
|
4046
|
-
"align": "center",
|
|
4047
4110
|
"gap": "lg",
|
|
4048
4111
|
"direction": "vertical",
|
|
4112
|
+
"align": "center",
|
|
4113
|
+
"type": "stack",
|
|
4049
4114
|
"children": [
|
|
4050
4115
|
{
|
|
4051
|
-
"
|
|
4116
|
+
"gap": "md",
|
|
4052
4117
|
"children": [
|
|
4053
4118
|
{
|
|
4054
4119
|
"type": "icon",
|
|
4055
4120
|
"name": "credit-card"
|
|
4056
4121
|
},
|
|
4057
4122
|
{
|
|
4058
|
-
"content": "Payment",
|
|
4059
4123
|
"type": "typography",
|
|
4124
|
+
"content": "Payment",
|
|
4060
4125
|
"variant": "h2"
|
|
4061
4126
|
}
|
|
4062
4127
|
],
|
|
4063
4128
|
"align": "center",
|
|
4064
|
-
"
|
|
4065
|
-
"
|
|
4129
|
+
"type": "stack",
|
|
4130
|
+
"direction": "horizontal"
|
|
4066
4131
|
},
|
|
4067
4132
|
{
|
|
4068
4133
|
"type": "divider"
|
|
4069
4134
|
},
|
|
4070
4135
|
{
|
|
4071
|
-
"
|
|
4072
|
-
"gap": "md",
|
|
4136
|
+
"direction": "vertical",
|
|
4073
4137
|
"children": [
|
|
4074
4138
|
{
|
|
4075
|
-
"
|
|
4139
|
+
"type": "input",
|
|
4076
4140
|
"placeholder": "0.00",
|
|
4077
|
-
"
|
|
4141
|
+
"inputType": "number"
|
|
4078
4142
|
},
|
|
4079
4143
|
{
|
|
4080
4144
|
"type": "select",
|
|
@@ -4084,50 +4148,28 @@
|
|
|
4084
4148
|
"label": "USD"
|
|
4085
4149
|
},
|
|
4086
4150
|
{
|
|
4087
|
-
"
|
|
4088
|
-
"
|
|
4151
|
+
"value": "eur",
|
|
4152
|
+
"label": "EUR"
|
|
4089
4153
|
},
|
|
4090
4154
|
{
|
|
4091
|
-
"
|
|
4092
|
-
"
|
|
4155
|
+
"label": "GBP",
|
|
4156
|
+
"value": "gbp"
|
|
4093
4157
|
}
|
|
4094
4158
|
]
|
|
4095
4159
|
}
|
|
4096
4160
|
],
|
|
4097
|
-
"
|
|
4161
|
+
"type": "stack",
|
|
4162
|
+
"gap": "md"
|
|
4098
4163
|
},
|
|
4099
4164
|
{
|
|
4100
|
-
"
|
|
4101
|
-
"action": "CREATE_PAYMENT",
|
|
4102
|
-
"label": "Pay",
|
|
4165
|
+
"type": "button",
|
|
4103
4166
|
"variant": "primary",
|
|
4104
|
-
"
|
|
4167
|
+
"label": "Pay",
|
|
4168
|
+
"action": "CREATE_PAYMENT",
|
|
4169
|
+
"icon": "credit-card"
|
|
4105
4170
|
}
|
|
4106
4171
|
]
|
|
4107
4172
|
}
|
|
4108
|
-
],
|
|
4109
|
-
"type": "dashboard-layout",
|
|
4110
|
-
"navItems": [
|
|
4111
|
-
{
|
|
4112
|
-
"icon": "package",
|
|
4113
|
-
"label": "Products",
|
|
4114
|
-
"href": "/products"
|
|
4115
|
-
},
|
|
4116
|
-
{
|
|
4117
|
-
"label": "Login",
|
|
4118
|
-
"href": "/login",
|
|
4119
|
-
"icon": "layout-list"
|
|
4120
|
-
},
|
|
4121
|
-
{
|
|
4122
|
-
"icon": "credit-card",
|
|
4123
|
-
"label": "Checkout",
|
|
4124
|
-
"href": "/checkout"
|
|
4125
|
-
},
|
|
4126
|
-
{
|
|
4127
|
-
"label": "Orders",
|
|
4128
|
-
"icon": "clipboard-list",
|
|
4129
|
-
"href": "/orders"
|
|
4130
|
-
}
|
|
4131
4173
|
]
|
|
4132
4174
|
}
|
|
4133
4175
|
]
|
|
@@ -4142,49 +4184,27 @@
|
|
|
4142
4184
|
"render-ui",
|
|
4143
4185
|
"main",
|
|
4144
4186
|
{
|
|
4145
|
-
"
|
|
4146
|
-
|
|
4147
|
-
"href": "/products",
|
|
4148
|
-
"icon": "package",
|
|
4149
|
-
"label": "Products"
|
|
4150
|
-
},
|
|
4151
|
-
{
|
|
4152
|
-
"icon": "layout-list",
|
|
4153
|
-
"href": "/login",
|
|
4154
|
-
"label": "Login"
|
|
4155
|
-
},
|
|
4156
|
-
{
|
|
4157
|
-
"icon": "credit-card",
|
|
4158
|
-
"href": "/checkout",
|
|
4159
|
-
"label": "Checkout"
|
|
4160
|
-
},
|
|
4161
|
-
{
|
|
4162
|
-
"href": "/orders",
|
|
4163
|
-
"icon": "clipboard-list",
|
|
4164
|
-
"label": "Orders"
|
|
4165
|
-
}
|
|
4166
|
-
],
|
|
4187
|
+
"type": "dashboard-layout",
|
|
4188
|
+
"appName": "ServiceMarketplace",
|
|
4167
4189
|
"children": [
|
|
4168
4190
|
{
|
|
4169
|
-
"type": "stack",
|
|
4170
4191
|
"direction": "vertical",
|
|
4171
|
-
"
|
|
4172
|
-
"gap": "lg",
|
|
4192
|
+
"type": "stack",
|
|
4173
4193
|
"children": [
|
|
4174
4194
|
{
|
|
4175
|
-
"gap": "md",
|
|
4176
|
-
"type": "stack",
|
|
4177
4195
|
"direction": "horizontal",
|
|
4178
4196
|
"align": "center",
|
|
4197
|
+
"type": "stack",
|
|
4198
|
+
"gap": "md",
|
|
4179
4199
|
"children": [
|
|
4180
4200
|
{
|
|
4181
4201
|
"type": "icon",
|
|
4182
4202
|
"name": "credit-card"
|
|
4183
4203
|
},
|
|
4184
4204
|
{
|
|
4185
|
-
"
|
|
4205
|
+
"type": "typography",
|
|
4186
4206
|
"variant": "h2",
|
|
4187
|
-
"
|
|
4207
|
+
"content": "Payment"
|
|
4188
4208
|
}
|
|
4189
4209
|
]
|
|
4190
4210
|
},
|
|
@@ -4192,46 +4212,68 @@
|
|
|
4192
4212
|
"type": "divider"
|
|
4193
4213
|
},
|
|
4194
4214
|
{
|
|
4215
|
+
"type": "stack",
|
|
4195
4216
|
"children": [
|
|
4196
4217
|
{
|
|
4197
|
-
"inputType": "number",
|
|
4198
4218
|
"placeholder": "0.00",
|
|
4199
|
-
"type": "input"
|
|
4219
|
+
"type": "input",
|
|
4220
|
+
"inputType": "number"
|
|
4200
4221
|
},
|
|
4201
4222
|
{
|
|
4223
|
+
"type": "select",
|
|
4202
4224
|
"options": [
|
|
4203
4225
|
{
|
|
4204
4226
|
"value": "usd",
|
|
4205
4227
|
"label": "USD"
|
|
4206
4228
|
},
|
|
4207
4229
|
{
|
|
4208
|
-
"
|
|
4209
|
-
"
|
|
4230
|
+
"label": "EUR",
|
|
4231
|
+
"value": "eur"
|
|
4210
4232
|
},
|
|
4211
4233
|
{
|
|
4212
4234
|
"value": "gbp",
|
|
4213
4235
|
"label": "GBP"
|
|
4214
4236
|
}
|
|
4215
|
-
]
|
|
4216
|
-
"type": "select"
|
|
4237
|
+
]
|
|
4217
4238
|
}
|
|
4218
4239
|
],
|
|
4219
4240
|
"gap": "md",
|
|
4220
|
-
"direction": "vertical"
|
|
4221
|
-
"type": "stack"
|
|
4241
|
+
"direction": "vertical"
|
|
4222
4242
|
},
|
|
4223
4243
|
{
|
|
4224
|
-
"action": "CREATE_PAYMENT",
|
|
4225
|
-
"type": "button",
|
|
4226
|
-
"icon": "credit-card",
|
|
4227
4244
|
"label": "Pay",
|
|
4245
|
+
"icon": "credit-card",
|
|
4246
|
+
"type": "button",
|
|
4247
|
+
"action": "CREATE_PAYMENT",
|
|
4228
4248
|
"variant": "primary"
|
|
4229
4249
|
}
|
|
4230
|
-
]
|
|
4250
|
+
],
|
|
4251
|
+
"align": "center",
|
|
4252
|
+
"gap": "lg"
|
|
4253
|
+
}
|
|
4254
|
+
],
|
|
4255
|
+
"navItems": [
|
|
4256
|
+
{
|
|
4257
|
+
"label": "Products",
|
|
4258
|
+
"href": "/products",
|
|
4259
|
+
"icon": "package"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"icon": "layout-list",
|
|
4263
|
+
"href": "/login",
|
|
4264
|
+
"label": "Login"
|
|
4265
|
+
},
|
|
4266
|
+
{
|
|
4267
|
+
"label": "Checkout",
|
|
4268
|
+
"href": "/checkout",
|
|
4269
|
+
"icon": "credit-card"
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"icon": "clipboard-list",
|
|
4273
|
+
"label": "Orders",
|
|
4274
|
+
"href": "/orders"
|
|
4231
4275
|
}
|
|
4232
|
-
]
|
|
4233
|
-
"type": "dashboard-layout",
|
|
4234
|
-
"appName": "ServiceMarketplace"
|
|
4276
|
+
]
|
|
4235
4277
|
}
|
|
4236
4278
|
]
|
|
4237
4279
|
]
|
|
@@ -4355,13 +4397,13 @@
|
|
|
4355
4397
|
"navItems": [
|
|
4356
4398
|
{
|
|
4357
4399
|
"icon": "package",
|
|
4358
|
-
"
|
|
4359
|
-
"
|
|
4400
|
+
"label": "Products",
|
|
4401
|
+
"href": "/products"
|
|
4360
4402
|
},
|
|
4361
4403
|
{
|
|
4404
|
+
"href": "/login",
|
|
4362
4405
|
"icon": "layout-list",
|
|
4363
|
-
"label": "Login"
|
|
4364
|
-
"href": "/login"
|
|
4406
|
+
"label": "Login"
|
|
4365
4407
|
},
|
|
4366
4408
|
{
|
|
4367
4409
|
"label": "Checkout",
|
|
@@ -4369,33 +4411,33 @@
|
|
|
4369
4411
|
"icon": "credit-card"
|
|
4370
4412
|
},
|
|
4371
4413
|
{
|
|
4372
|
-
"
|
|
4414
|
+
"icon": "clipboard-list",
|
|
4373
4415
|
"label": "Orders",
|
|
4374
|
-
"
|
|
4416
|
+
"href": "/orders"
|
|
4375
4417
|
}
|
|
4376
4418
|
],
|
|
4377
4419
|
"type": "dashboard-layout",
|
|
4420
|
+
"appName": "ServiceMarketplace",
|
|
4378
4421
|
"children": [
|
|
4379
4422
|
{
|
|
4380
|
-
"align": "center",
|
|
4381
|
-
"direction": "vertical",
|
|
4382
|
-
"gap": "md",
|
|
4383
|
-
"type": "stack",
|
|
4384
4423
|
"children": [
|
|
4385
4424
|
{
|
|
4386
4425
|
"name": "mail",
|
|
4387
4426
|
"type": "icon"
|
|
4388
4427
|
},
|
|
4389
4428
|
{
|
|
4390
|
-
"content": "Receipt will be sent after payment.",
|
|
4391
|
-
"color": "muted",
|
|
4392
4429
|
"type": "typography",
|
|
4393
|
-
"variant": "body"
|
|
4430
|
+
"variant": "body",
|
|
4431
|
+
"color": "muted",
|
|
4432
|
+
"content": "Receipt will be sent after payment."
|
|
4394
4433
|
}
|
|
4395
|
-
]
|
|
4434
|
+
],
|
|
4435
|
+
"type": "stack",
|
|
4436
|
+
"align": "center",
|
|
4437
|
+
"direction": "vertical",
|
|
4438
|
+
"gap": "md"
|
|
4396
4439
|
}
|
|
4397
|
-
]
|
|
4398
|
-
"appName": "ServiceMarketplace"
|
|
4440
|
+
]
|
|
4399
4441
|
}
|
|
4400
4442
|
]
|
|
4401
4443
|
]
|
|
@@ -4409,6 +4451,14 @@
|
|
|
4409
4451
|
"render-ui",
|
|
4410
4452
|
"main",
|
|
4411
4453
|
{
|
|
4454
|
+
"appName": "ServiceMarketplace",
|
|
4455
|
+
"children": [
|
|
4456
|
+
{
|
|
4457
|
+
"title": "Sending receipt...",
|
|
4458
|
+
"message": "Delivering your payment receipt.",
|
|
4459
|
+
"type": "loading-state"
|
|
4460
|
+
}
|
|
4461
|
+
],
|
|
4412
4462
|
"navItems": [
|
|
4413
4463
|
{
|
|
4414
4464
|
"icon": "package",
|
|
@@ -4421,25 +4471,17 @@
|
|
|
4421
4471
|
"href": "/login"
|
|
4422
4472
|
},
|
|
4423
4473
|
{
|
|
4424
|
-
"icon": "credit-card",
|
|
4425
4474
|
"label": "Checkout",
|
|
4426
|
-
"href": "/checkout"
|
|
4475
|
+
"href": "/checkout",
|
|
4476
|
+
"icon": "credit-card"
|
|
4427
4477
|
},
|
|
4428
4478
|
{
|
|
4429
4479
|
"href": "/orders",
|
|
4430
|
-
"
|
|
4431
|
-
"
|
|
4432
|
-
}
|
|
4433
|
-
],
|
|
4434
|
-
"type": "dashboard-layout",
|
|
4435
|
-
"children": [
|
|
4436
|
-
{
|
|
4437
|
-
"title": "Sending receipt...",
|
|
4438
|
-
"message": "Delivering your payment receipt.",
|
|
4439
|
-
"type": "loading-state"
|
|
4480
|
+
"label": "Orders",
|
|
4481
|
+
"icon": "clipboard-list"
|
|
4440
4482
|
}
|
|
4441
4483
|
],
|
|
4442
|
-
"
|
|
4484
|
+
"type": "dashboard-layout"
|
|
4443
4485
|
}
|
|
4444
4486
|
],
|
|
4445
4487
|
[
|
|
@@ -4447,14 +4489,14 @@
|
|
|
4447
4489
|
"email",
|
|
4448
4490
|
"send",
|
|
4449
4491
|
{
|
|
4450
|
-
"
|
|
4492
|
+
"subject": "@entity.subject",
|
|
4451
4493
|
"to": "@entity.to",
|
|
4452
|
-
"
|
|
4494
|
+
"body": "@entity.body"
|
|
4453
4495
|
},
|
|
4454
4496
|
{
|
|
4455
4497
|
"emit": {
|
|
4456
|
-
"
|
|
4457
|
-
"
|
|
4498
|
+
"failure": "ProductEmailFailed",
|
|
4499
|
+
"success": "ProductEmailCompleted"
|
|
4458
4500
|
}
|
|
4459
4501
|
}
|
|
4460
4502
|
]
|
|
@@ -4474,7 +4516,26 @@
|
|
|
4474
4516
|
"render-ui",
|
|
4475
4517
|
"main",
|
|
4476
4518
|
{
|
|
4477
|
-
"
|
|
4519
|
+
"children": [
|
|
4520
|
+
{
|
|
4521
|
+
"direction": "vertical",
|
|
4522
|
+
"align": "center",
|
|
4523
|
+
"gap": "md",
|
|
4524
|
+
"children": [
|
|
4525
|
+
{
|
|
4526
|
+
"type": "icon",
|
|
4527
|
+
"name": "check-circle"
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"type": "alert",
|
|
4531
|
+
"message": "Receipt sent successfully",
|
|
4532
|
+
"variant": "success"
|
|
4533
|
+
}
|
|
4534
|
+
],
|
|
4535
|
+
"type": "stack"
|
|
4536
|
+
}
|
|
4537
|
+
],
|
|
4538
|
+
"appName": "ServiceMarketplace",
|
|
4478
4539
|
"navItems": [
|
|
4479
4540
|
{
|
|
4480
4541
|
"icon": "package",
|
|
@@ -4482,14 +4543,14 @@
|
|
|
4482
4543
|
"href": "/products"
|
|
4483
4544
|
},
|
|
4484
4545
|
{
|
|
4485
|
-
"
|
|
4546
|
+
"label": "Login",
|
|
4486
4547
|
"href": "/login",
|
|
4487
|
-
"
|
|
4548
|
+
"icon": "layout-list"
|
|
4488
4549
|
},
|
|
4489
4550
|
{
|
|
4490
|
-
"label": "Checkout",
|
|
4491
4551
|
"href": "/checkout",
|
|
4492
|
-
"icon": "credit-card"
|
|
4552
|
+
"icon": "credit-card",
|
|
4553
|
+
"label": "Checkout"
|
|
4493
4554
|
},
|
|
4494
4555
|
{
|
|
4495
4556
|
"href": "/orders",
|
|
@@ -4497,26 +4558,7 @@
|
|
|
4497
4558
|
"label": "Orders"
|
|
4498
4559
|
}
|
|
4499
4560
|
],
|
|
4500
|
-
"
|
|
4501
|
-
"children": [
|
|
4502
|
-
{
|
|
4503
|
-
"align": "center",
|
|
4504
|
-
"direction": "vertical",
|
|
4505
|
-
"type": "stack",
|
|
4506
|
-
"children": [
|
|
4507
|
-
{
|
|
4508
|
-
"type": "icon",
|
|
4509
|
-
"name": "check-circle"
|
|
4510
|
-
},
|
|
4511
|
-
{
|
|
4512
|
-
"type": "alert",
|
|
4513
|
-
"message": "Receipt sent successfully",
|
|
4514
|
-
"variant": "success"
|
|
4515
|
-
}
|
|
4516
|
-
],
|
|
4517
|
-
"gap": "md"
|
|
4518
|
-
}
|
|
4519
|
-
]
|
|
4561
|
+
"type": "dashboard-layout"
|
|
4520
4562
|
}
|
|
4521
4563
|
]
|
|
4522
4564
|
]
|
|
@@ -4535,36 +4577,13 @@
|
|
|
4535
4577
|
"render-ui",
|
|
4536
4578
|
"main",
|
|
4537
4579
|
{
|
|
4538
|
-
"appName": "ServiceMarketplace",
|
|
4539
4580
|
"type": "dashboard-layout",
|
|
4540
|
-
"
|
|
4541
|
-
{
|
|
4542
|
-
"gap": "md",
|
|
4543
|
-
"type": "stack",
|
|
4544
|
-
"children": [
|
|
4545
|
-
{
|
|
4546
|
-
"type": "error-state",
|
|
4547
|
-
"title": "Receipt Failed",
|
|
4548
|
-
"message": "Could not send receipt email.",
|
|
4549
|
-
"onRetry": "RETRY_RECEIPT"
|
|
4550
|
-
},
|
|
4551
|
-
{
|
|
4552
|
-
"label": "Retry",
|
|
4553
|
-
"variant": "primary",
|
|
4554
|
-
"type": "button",
|
|
4555
|
-
"icon": "refresh-cw",
|
|
4556
|
-
"action": "RETRY_RECEIPT"
|
|
4557
|
-
}
|
|
4558
|
-
],
|
|
4559
|
-
"align": "center",
|
|
4560
|
-
"direction": "vertical"
|
|
4561
|
-
}
|
|
4562
|
-
],
|
|
4581
|
+
"appName": "ServiceMarketplace",
|
|
4563
4582
|
"navItems": [
|
|
4564
4583
|
{
|
|
4584
|
+
"icon": "package",
|
|
4565
4585
|
"label": "Products",
|
|
4566
|
-
"href": "/products"
|
|
4567
|
-
"icon": "package"
|
|
4586
|
+
"href": "/products"
|
|
4568
4587
|
},
|
|
4569
4588
|
{
|
|
4570
4589
|
"label": "Login",
|
|
@@ -4578,8 +4597,31 @@
|
|
|
4578
4597
|
},
|
|
4579
4598
|
{
|
|
4580
4599
|
"label": "Orders",
|
|
4581
|
-
"
|
|
4582
|
-
"
|
|
4600
|
+
"icon": "clipboard-list",
|
|
4601
|
+
"href": "/orders"
|
|
4602
|
+
}
|
|
4603
|
+
],
|
|
4604
|
+
"children": [
|
|
4605
|
+
{
|
|
4606
|
+
"children": [
|
|
4607
|
+
{
|
|
4608
|
+
"onRetry": "RETRY_RECEIPT",
|
|
4609
|
+
"type": "error-state",
|
|
4610
|
+
"title": "Receipt Failed",
|
|
4611
|
+
"message": "Could not send receipt email."
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
"label": "Retry",
|
|
4615
|
+
"action": "RETRY_RECEIPT",
|
|
4616
|
+
"type": "button",
|
|
4617
|
+
"variant": "primary",
|
|
4618
|
+
"icon": "refresh-cw"
|
|
4619
|
+
}
|
|
4620
|
+
],
|
|
4621
|
+
"align": "center",
|
|
4622
|
+
"gap": "md",
|
|
4623
|
+
"type": "stack",
|
|
4624
|
+
"direction": "vertical"
|
|
4583
4625
|
}
|
|
4584
4626
|
]
|
|
4585
4627
|
}
|
|
@@ -4595,8 +4637,8 @@
|
|
|
4595
4637
|
"render-ui",
|
|
4596
4638
|
"main",
|
|
4597
4639
|
{
|
|
4598
|
-
"
|
|
4599
|
-
"
|
|
4640
|
+
"title": "Resending receipt...",
|
|
4641
|
+
"type": "loading-state"
|
|
4600
4642
|
}
|
|
4601
4643
|
],
|
|
4602
4644
|
[
|
|
@@ -4604,8 +4646,8 @@
|
|
|
4604
4646
|
"email",
|
|
4605
4647
|
"send",
|
|
4606
4648
|
{
|
|
4607
|
-
"to": "@entity.to",
|
|
4608
4649
|
"subject": "@entity.subject",
|
|
4650
|
+
"to": "@entity.to",
|
|
4609
4651
|
"body": "@entity.body"
|
|
4610
4652
|
},
|
|
4611
4653
|
{
|
|
@@ -4626,12 +4668,20 @@
|
|
|
4626
4668
|
"render-ui",
|
|
4627
4669
|
"main",
|
|
4628
4670
|
{
|
|
4671
|
+
"children": [
|
|
4672
|
+
{
|
|
4673
|
+
"message": "Delivering your payment receipt.",
|
|
4674
|
+
"type": "loading-state",
|
|
4675
|
+
"title": "Sending receipt..."
|
|
4676
|
+
}
|
|
4677
|
+
],
|
|
4629
4678
|
"appName": "ServiceMarketplace",
|
|
4679
|
+
"type": "dashboard-layout",
|
|
4630
4680
|
"navItems": [
|
|
4631
4681
|
{
|
|
4632
|
-
"href": "/products",
|
|
4633
4682
|
"icon": "package",
|
|
4634
|
-
"label": "Products"
|
|
4683
|
+
"label": "Products",
|
|
4684
|
+
"href": "/products"
|
|
4635
4685
|
},
|
|
4636
4686
|
{
|
|
4637
4687
|
"label": "Login",
|
|
@@ -4639,22 +4689,14 @@
|
|
|
4639
4689
|
"icon": "layout-list"
|
|
4640
4690
|
},
|
|
4641
4691
|
{
|
|
4642
|
-
"href": "/checkout",
|
|
4643
4692
|
"icon": "credit-card",
|
|
4693
|
+
"href": "/checkout",
|
|
4644
4694
|
"label": "Checkout"
|
|
4645
4695
|
},
|
|
4646
4696
|
{
|
|
4647
4697
|
"href": "/orders",
|
|
4648
|
-
"
|
|
4649
|
-
"
|
|
4650
|
-
}
|
|
4651
|
-
],
|
|
4652
|
-
"type": "dashboard-layout",
|
|
4653
|
-
"children": [
|
|
4654
|
-
{
|
|
4655
|
-
"message": "Delivering your payment receipt.",
|
|
4656
|
-
"type": "loading-state",
|
|
4657
|
-
"title": "Sending receipt..."
|
|
4698
|
+
"icon": "clipboard-list",
|
|
4699
|
+
"label": "Orders"
|
|
4658
4700
|
}
|
|
4659
4701
|
]
|
|
4660
4702
|
}
|
|
@@ -4664,14 +4706,14 @@
|
|
|
4664
4706
|
"email",
|
|
4665
4707
|
"send",
|
|
4666
4708
|
{
|
|
4667
|
-
"
|
|
4709
|
+
"body": "@entity.body",
|
|
4668
4710
|
"subject": "@entity.subject",
|
|
4669
|
-
"
|
|
4711
|
+
"to": "@entity.to"
|
|
4670
4712
|
},
|
|
4671
4713
|
{
|
|
4672
4714
|
"emit": {
|
|
4673
|
-
"
|
|
4674
|
-
"
|
|
4715
|
+
"failure": "ProductEmailFailed",
|
|
4716
|
+
"success": "ProductEmailCompleted"
|
|
4675
4717
|
}
|
|
4676
4718
|
}
|
|
4677
4719
|
]
|
|
@@ -4841,8 +4883,8 @@
|
|
|
4841
4883
|
"Order",
|
|
4842
4884
|
{
|
|
4843
4885
|
"emit": {
|
|
4844
|
-
"
|
|
4845
|
-
"
|
|
4886
|
+
"failure": "OrderLoadFailed",
|
|
4887
|
+
"success": "OrderLoaded"
|
|
4846
4888
|
}
|
|
4847
4889
|
}
|
|
4848
4890
|
],
|
|
@@ -4850,22 +4892,22 @@
|
|
|
4850
4892
|
"render-ui",
|
|
4851
4893
|
"main",
|
|
4852
4894
|
{
|
|
4853
|
-
"direction": "vertical",
|
|
4854
4895
|
"align": "center",
|
|
4896
|
+
"type": "stack",
|
|
4855
4897
|
"className": "py-12",
|
|
4856
4898
|
"children": [
|
|
4857
4899
|
{
|
|
4858
4900
|
"type": "spinner"
|
|
4859
4901
|
},
|
|
4860
4902
|
{
|
|
4861
|
-
"type": "typography",
|
|
4862
4903
|
"variant": "caption",
|
|
4863
|
-
"
|
|
4864
|
-
"color": "muted"
|
|
4904
|
+
"type": "typography",
|
|
4905
|
+
"color": "muted",
|
|
4906
|
+
"content": "Loading…"
|
|
4865
4907
|
}
|
|
4866
4908
|
],
|
|
4867
|
-
"
|
|
4868
|
-
"
|
|
4909
|
+
"gap": "md",
|
|
4910
|
+
"direction": "vertical"
|
|
4869
4911
|
}
|
|
4870
4912
|
]
|
|
4871
4913
|
]
|
|
@@ -4879,135 +4921,135 @@
|
|
|
4879
4921
|
"render-ui",
|
|
4880
4922
|
"main",
|
|
4881
4923
|
{
|
|
4882
|
-
"type": "dashboard-layout",
|
|
4883
4924
|
"appName": "ServiceMarketplace",
|
|
4884
4925
|
"children": [
|
|
4885
4926
|
{
|
|
4886
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
4887
4927
|
"children": [
|
|
4888
4928
|
{
|
|
4889
4929
|
"justify": "between",
|
|
4890
|
-
"
|
|
4930
|
+
"gap": "md",
|
|
4891
4931
|
"align": "center",
|
|
4892
4932
|
"children": [
|
|
4893
4933
|
{
|
|
4894
|
-
"gap": "sm",
|
|
4895
4934
|
"align": "center",
|
|
4935
|
+
"type": "stack",
|
|
4896
4936
|
"children": [
|
|
4897
4937
|
{
|
|
4898
4938
|
"type": "icon",
|
|
4899
4939
|
"name": "list"
|
|
4900
4940
|
},
|
|
4901
4941
|
{
|
|
4942
|
+
"type": "typography",
|
|
4902
4943
|
"content": "Orders",
|
|
4903
|
-
"variant": "h2"
|
|
4904
|
-
"type": "typography"
|
|
4944
|
+
"variant": "h2"
|
|
4905
4945
|
}
|
|
4906
4946
|
],
|
|
4907
|
-
"
|
|
4908
|
-
"
|
|
4947
|
+
"direction": "horizontal",
|
|
4948
|
+
"gap": "sm"
|
|
4909
4949
|
},
|
|
4910
4950
|
{
|
|
4911
4951
|
"gap": "sm",
|
|
4912
4952
|
"type": "stack",
|
|
4913
|
-
"direction": "horizontal",
|
|
4914
4953
|
"children": [
|
|
4915
4954
|
{
|
|
4955
|
+
"variant": "primary",
|
|
4916
4956
|
"action": "CREATE",
|
|
4917
4957
|
"label": "Create Order",
|
|
4918
|
-
"type": "button",
|
|
4919
4958
|
"icon": "plus",
|
|
4920
|
-
"
|
|
4959
|
+
"type": "button"
|
|
4921
4960
|
}
|
|
4922
|
-
]
|
|
4961
|
+
],
|
|
4962
|
+
"direction": "horizontal"
|
|
4923
4963
|
}
|
|
4924
4964
|
],
|
|
4925
4965
|
"type": "stack",
|
|
4926
|
-
"
|
|
4966
|
+
"direction": "horizontal"
|
|
4927
4967
|
},
|
|
4928
4968
|
{
|
|
4929
4969
|
"type": "divider"
|
|
4930
4970
|
},
|
|
4931
4971
|
{
|
|
4932
|
-
"entity": "@payload.data",
|
|
4933
4972
|
"columns": [
|
|
4934
4973
|
{
|
|
4935
|
-
"
|
|
4974
|
+
"icon": "list",
|
|
4936
4975
|
"label": "Product Name",
|
|
4937
|
-
"
|
|
4938
|
-
"
|
|
4976
|
+
"variant": "h4",
|
|
4977
|
+
"name": "productName"
|
|
4939
4978
|
},
|
|
4940
4979
|
{
|
|
4980
|
+
"name": "amount",
|
|
4981
|
+
"label": "Amount",
|
|
4941
4982
|
"colorMap": {
|
|
4942
|
-
"scheduled": "warning",
|
|
4943
4983
|
"active": "success",
|
|
4984
|
+
"disabled": "neutral",
|
|
4944
4985
|
"archived": "neutral",
|
|
4945
|
-
"cancelled": "destructive",
|
|
4946
|
-
"completed": "success",
|
|
4947
4986
|
"failed": "destructive",
|
|
4948
4987
|
"pending": "warning",
|
|
4949
|
-
"done": "success",
|
|
4950
|
-
"inactive": "neutral",
|
|
4951
4988
|
"draft": "warning",
|
|
4989
|
+
"cancelled": "destructive",
|
|
4990
|
+
"done": "success",
|
|
4991
|
+
"completed": "success",
|
|
4952
4992
|
"error": "destructive",
|
|
4953
|
-
"
|
|
4993
|
+
"scheduled": "warning",
|
|
4994
|
+
"inactive": "neutral"
|
|
4954
4995
|
},
|
|
4955
|
-
"variant": "badge"
|
|
4956
|
-
"name": "amount",
|
|
4957
|
-
"label": "Amount"
|
|
4996
|
+
"variant": "badge"
|
|
4958
4997
|
},
|
|
4959
4998
|
{
|
|
4960
4999
|
"name": "paymentStatus",
|
|
4961
|
-
"
|
|
4962
|
-
"
|
|
5000
|
+
"label": "Payment Status",
|
|
5001
|
+
"variant": "caption"
|
|
4963
5002
|
}
|
|
4964
5003
|
],
|
|
5004
|
+
"entity": "@payload.data",
|
|
4965
5005
|
"fields": [],
|
|
4966
5006
|
"type": "data-grid",
|
|
4967
5007
|
"itemActions": [
|
|
4968
5008
|
{
|
|
5009
|
+
"label": "View",
|
|
4969
5010
|
"event": "VIEW",
|
|
4970
|
-
"variant": "ghost"
|
|
4971
|
-
"label": "View"
|
|
5011
|
+
"variant": "ghost"
|
|
4972
5012
|
},
|
|
4973
5013
|
{
|
|
4974
|
-
"
|
|
4975
|
-
"
|
|
4976
|
-
"
|
|
5014
|
+
"variant": "ghost",
|
|
5015
|
+
"label": "Edit",
|
|
5016
|
+
"event": "EDIT"
|
|
4977
5017
|
},
|
|
4978
5018
|
{
|
|
4979
|
-
"
|
|
5019
|
+
"event": "DELETE",
|
|
4980
5020
|
"label": "Delete",
|
|
4981
|
-
"
|
|
5021
|
+
"variant": "danger"
|
|
4982
5022
|
}
|
|
4983
5023
|
]
|
|
4984
5024
|
}
|
|
4985
5025
|
],
|
|
4986
|
-
"
|
|
5026
|
+
"type": "stack",
|
|
4987
5027
|
"direction": "vertical",
|
|
4988
|
-
"
|
|
5028
|
+
"gap": "lg",
|
|
5029
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
4989
5030
|
}
|
|
4990
5031
|
],
|
|
5032
|
+
"type": "dashboard-layout",
|
|
4991
5033
|
"navItems": [
|
|
4992
5034
|
{
|
|
4993
|
-
"label": "Products",
|
|
4994
5035
|
"href": "/products",
|
|
5036
|
+
"label": "Products",
|
|
4995
5037
|
"icon": "package"
|
|
4996
5038
|
},
|
|
4997
5039
|
{
|
|
4998
5040
|
"icon": "layout-list",
|
|
4999
|
-
"
|
|
5000
|
-
"
|
|
5041
|
+
"href": "/login",
|
|
5042
|
+
"label": "Login"
|
|
5001
5043
|
},
|
|
5002
5044
|
{
|
|
5003
5045
|
"label": "Checkout",
|
|
5004
|
-
"
|
|
5005
|
-
"
|
|
5046
|
+
"icon": "credit-card",
|
|
5047
|
+
"href": "/checkout"
|
|
5006
5048
|
},
|
|
5007
5049
|
{
|
|
5008
|
-
"label": "Orders",
|
|
5009
5050
|
"icon": "clipboard-list",
|
|
5010
|
-
"href": "/orders"
|
|
5051
|
+
"href": "/orders",
|
|
5052
|
+
"label": "Orders"
|
|
5011
5053
|
}
|
|
5012
5054
|
]
|
|
5013
5055
|
}
|
|
@@ -5023,36 +5065,36 @@
|
|
|
5023
5065
|
"render-ui",
|
|
5024
5066
|
"main",
|
|
5025
5067
|
{
|
|
5068
|
+
"type": "stack",
|
|
5069
|
+
"direction": "vertical",
|
|
5070
|
+
"gap": "md",
|
|
5071
|
+
"className": "py-12",
|
|
5026
5072
|
"children": [
|
|
5027
5073
|
{
|
|
5028
5074
|
"color": "destructive",
|
|
5029
|
-
"
|
|
5030
|
-
"
|
|
5075
|
+
"name": "alert-triangle",
|
|
5076
|
+
"type": "icon"
|
|
5031
5077
|
},
|
|
5032
5078
|
{
|
|
5033
|
-
"
|
|
5079
|
+
"variant": "h3",
|
|
5034
5080
|
"content": "Failed to load order",
|
|
5035
|
-
"
|
|
5081
|
+
"type": "typography"
|
|
5036
5082
|
},
|
|
5037
5083
|
{
|
|
5038
|
-
"
|
|
5084
|
+
"type": "typography",
|
|
5039
5085
|
"variant": "body",
|
|
5040
|
-
"
|
|
5041
|
-
"
|
|
5086
|
+
"content": "@payload.error",
|
|
5087
|
+
"color": "muted"
|
|
5042
5088
|
},
|
|
5043
5089
|
{
|
|
5090
|
+
"label": "Retry",
|
|
5044
5091
|
"icon": "rotate-ccw",
|
|
5045
5092
|
"variant": "primary",
|
|
5046
5093
|
"type": "button",
|
|
5047
|
-
"label": "Retry",
|
|
5048
5094
|
"action": "INIT"
|
|
5049
5095
|
}
|
|
5050
5096
|
],
|
|
5051
|
-
"
|
|
5052
|
-
"type": "stack",
|
|
5053
|
-
"direction": "vertical",
|
|
5054
|
-
"align": "center",
|
|
5055
|
-
"className": "py-12"
|
|
5097
|
+
"align": "center"
|
|
5056
5098
|
}
|
|
5057
5099
|
]
|
|
5058
5100
|
]
|
|
@@ -5213,8 +5255,14 @@
|
|
|
5213
5255
|
"event": "INIT",
|
|
5214
5256
|
"effects": [
|
|
5215
5257
|
[
|
|
5216
|
-
"
|
|
5217
|
-
"Order"
|
|
5258
|
+
"fetch",
|
|
5259
|
+
"Order",
|
|
5260
|
+
{
|
|
5261
|
+
"emit": {
|
|
5262
|
+
"success": "OrderLoaded",
|
|
5263
|
+
"failure": "OrderLoadFailed"
|
|
5264
|
+
}
|
|
5265
|
+
}
|
|
5218
5266
|
]
|
|
5219
5267
|
]
|
|
5220
5268
|
},
|
|
@@ -5237,42 +5285,42 @@
|
|
|
5237
5285
|
"render-ui",
|
|
5238
5286
|
"modal",
|
|
5239
5287
|
{
|
|
5240
|
-
"type": "stack",
|
|
5241
5288
|
"direction": "vertical",
|
|
5242
|
-
"gap": "md",
|
|
5243
5289
|
"children": [
|
|
5244
5290
|
{
|
|
5245
|
-
"
|
|
5291
|
+
"gap": "sm",
|
|
5292
|
+
"type": "stack",
|
|
5246
5293
|
"children": [
|
|
5247
5294
|
{
|
|
5248
|
-
"
|
|
5249
|
-
"
|
|
5295
|
+
"type": "icon",
|
|
5296
|
+
"name": "plus-circle"
|
|
5250
5297
|
},
|
|
5251
5298
|
{
|
|
5299
|
+
"content": "Create Order",
|
|
5252
5300
|
"type": "typography",
|
|
5253
|
-
"variant": "h3"
|
|
5254
|
-
"content": "Create Order"
|
|
5301
|
+
"variant": "h3"
|
|
5255
5302
|
}
|
|
5256
5303
|
],
|
|
5257
|
-
"
|
|
5258
|
-
"type": "stack"
|
|
5304
|
+
"direction": "horizontal"
|
|
5259
5305
|
},
|
|
5260
5306
|
{
|
|
5261
5307
|
"type": "divider"
|
|
5262
5308
|
},
|
|
5263
5309
|
{
|
|
5264
|
-
"mode": "create",
|
|
5265
|
-
"cancelEvent": "CLOSE",
|
|
5266
|
-
"submitEvent": "SAVE",
|
|
5267
5310
|
"fields": [
|
|
5268
5311
|
"productName",
|
|
5269
5312
|
"amount",
|
|
5270
5313
|
"paymentStatus",
|
|
5271
5314
|
"orderDate"
|
|
5272
5315
|
],
|
|
5273
|
-
"type": "form-section"
|
|
5316
|
+
"type": "form-section",
|
|
5317
|
+
"mode": "create",
|
|
5318
|
+
"submitEvent": "SAVE",
|
|
5319
|
+
"cancelEvent": "CLOSE"
|
|
5274
5320
|
}
|
|
5275
|
-
]
|
|
5321
|
+
],
|
|
5322
|
+
"type": "stack",
|
|
5323
|
+
"gap": "md"
|
|
5276
5324
|
}
|
|
5277
5325
|
]
|
|
5278
5326
|
]
|
|
@@ -5502,8 +5550,14 @@
|
|
|
5502
5550
|
"event": "INIT",
|
|
5503
5551
|
"effects": [
|
|
5504
5552
|
[
|
|
5505
|
-
"
|
|
5506
|
-
"Order"
|
|
5553
|
+
"fetch",
|
|
5554
|
+
"Order",
|
|
5555
|
+
{
|
|
5556
|
+
"emit": {
|
|
5557
|
+
"failure": "OrderLoadFailed",
|
|
5558
|
+
"success": "OrderLoaded"
|
|
5559
|
+
}
|
|
5560
|
+
}
|
|
5507
5561
|
]
|
|
5508
5562
|
]
|
|
5509
5563
|
},
|
|
@@ -5516,32 +5570,29 @@
|
|
|
5516
5570
|
"fetch",
|
|
5517
5571
|
"Order",
|
|
5518
5572
|
{
|
|
5519
|
-
"id": "@payload.id",
|
|
5520
5573
|
"emit": {
|
|
5521
|
-
"
|
|
5522
|
-
"
|
|
5523
|
-
}
|
|
5574
|
+
"success": "OrderLoaded",
|
|
5575
|
+
"failure": "OrderLoadFailed"
|
|
5576
|
+
},
|
|
5577
|
+
"id": "@payload.id"
|
|
5524
5578
|
}
|
|
5525
5579
|
],
|
|
5526
5580
|
[
|
|
5527
5581
|
"render-ui",
|
|
5528
5582
|
"modal",
|
|
5529
5583
|
{
|
|
5530
|
-
"type": "stack",
|
|
5531
|
-
"gap": "md",
|
|
5532
|
-
"direction": "vertical",
|
|
5533
5584
|
"children": [
|
|
5534
5585
|
{
|
|
5535
5586
|
"type": "stack",
|
|
5536
5587
|
"children": [
|
|
5537
5588
|
{
|
|
5538
|
-
"
|
|
5539
|
-
"
|
|
5589
|
+
"name": "edit",
|
|
5590
|
+
"type": "icon"
|
|
5540
5591
|
},
|
|
5541
5592
|
{
|
|
5593
|
+
"variant": "h3",
|
|
5542
5594
|
"type": "typography",
|
|
5543
|
-
"content": "Edit Order"
|
|
5544
|
-
"variant": "h3"
|
|
5595
|
+
"content": "Edit Order"
|
|
5545
5596
|
}
|
|
5546
5597
|
],
|
|
5547
5598
|
"gap": "sm",
|
|
@@ -5551,19 +5602,22 @@
|
|
|
5551
5602
|
"type": "divider"
|
|
5552
5603
|
},
|
|
5553
5604
|
{
|
|
5554
|
-
"cancelEvent": "CLOSE",
|
|
5555
|
-
"mode": "edit",
|
|
5556
5605
|
"type": "form-section",
|
|
5557
|
-
"entity": "@payload.row",
|
|
5558
5606
|
"submitEvent": "SAVE",
|
|
5607
|
+
"cancelEvent": "CLOSE",
|
|
5608
|
+
"mode": "edit",
|
|
5559
5609
|
"fields": [
|
|
5560
5610
|
"productName",
|
|
5561
5611
|
"amount",
|
|
5562
5612
|
"paymentStatus",
|
|
5563
5613
|
"orderDate"
|
|
5564
|
-
]
|
|
5614
|
+
],
|
|
5615
|
+
"entity": "@payload.row"
|
|
5565
5616
|
}
|
|
5566
|
-
]
|
|
5617
|
+
],
|
|
5618
|
+
"direction": "vertical",
|
|
5619
|
+
"gap": "md",
|
|
5620
|
+
"type": "stack"
|
|
5567
5621
|
}
|
|
5568
5622
|
]
|
|
5569
5623
|
]
|
|
@@ -5604,8 +5658,8 @@
|
|
|
5604
5658
|
"@payload.data",
|
|
5605
5659
|
{
|
|
5606
5660
|
"emit": {
|
|
5607
|
-
"
|
|
5608
|
-
"
|
|
5661
|
+
"failure": "OrderUpdateFailed",
|
|
5662
|
+
"success": "OrderUpdated"
|
|
5609
5663
|
}
|
|
5610
5664
|
}
|
|
5611
5665
|
],
|
|
@@ -5728,8 +5782,14 @@
|
|
|
5728
5782
|
"event": "INIT",
|
|
5729
5783
|
"effects": [
|
|
5730
5784
|
[
|
|
5731
|
-
"
|
|
5732
|
-
"Order"
|
|
5785
|
+
"fetch",
|
|
5786
|
+
"Order",
|
|
5787
|
+
{
|
|
5788
|
+
"emit": {
|
|
5789
|
+
"failure": "OrderLoadFailed",
|
|
5790
|
+
"success": "OrderLoaded"
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5733
5793
|
]
|
|
5734
5794
|
]
|
|
5735
5795
|
},
|
|
@@ -5742,37 +5802,34 @@
|
|
|
5742
5802
|
"fetch",
|
|
5743
5803
|
"Order",
|
|
5744
5804
|
{
|
|
5745
|
-
"id": "@payload.id",
|
|
5746
5805
|
"emit": {
|
|
5747
5806
|
"success": "OrderLoaded",
|
|
5748
5807
|
"failure": "OrderLoadFailed"
|
|
5749
|
-
}
|
|
5808
|
+
},
|
|
5809
|
+
"id": "@payload.id"
|
|
5750
5810
|
}
|
|
5751
5811
|
],
|
|
5752
5812
|
[
|
|
5753
5813
|
"render-ui",
|
|
5754
5814
|
"modal",
|
|
5755
5815
|
{
|
|
5756
|
-
"gap": "md",
|
|
5757
|
-
"type": "stack",
|
|
5758
|
-
"direction": "vertical",
|
|
5759
5816
|
"children": [
|
|
5760
5817
|
{
|
|
5818
|
+
"direction": "horizontal",
|
|
5761
5819
|
"gap": "sm",
|
|
5820
|
+
"align": "center",
|
|
5821
|
+
"type": "stack",
|
|
5762
5822
|
"children": [
|
|
5763
5823
|
{
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5824
|
+
"type": "icon",
|
|
5825
|
+
"name": "eye"
|
|
5766
5826
|
},
|
|
5767
5827
|
{
|
|
5828
|
+
"content": "@entity.productName",
|
|
5768
5829
|
"type": "typography",
|
|
5769
|
-
"variant": "h3"
|
|
5770
|
-
"content": "@entity.productName"
|
|
5830
|
+
"variant": "h3"
|
|
5771
5831
|
}
|
|
5772
|
-
]
|
|
5773
|
-
"type": "stack",
|
|
5774
|
-
"direction": "horizontal",
|
|
5775
|
-
"align": "center"
|
|
5832
|
+
]
|
|
5776
5833
|
},
|
|
5777
5834
|
{
|
|
5778
5835
|
"type": "divider"
|
|
@@ -5780,65 +5837,65 @@
|
|
|
5780
5837
|
{
|
|
5781
5838
|
"children": [
|
|
5782
5839
|
{
|
|
5783
|
-
"content": "Product Name",
|
|
5784
5840
|
"variant": "caption",
|
|
5841
|
+
"content": "Product Name",
|
|
5785
5842
|
"type": "typography"
|
|
5786
5843
|
},
|
|
5787
5844
|
{
|
|
5845
|
+
"type": "typography",
|
|
5788
5846
|
"variant": "body",
|
|
5789
|
-
"content": "@entity.productName"
|
|
5790
|
-
"type": "typography"
|
|
5847
|
+
"content": "@entity.productName"
|
|
5791
5848
|
}
|
|
5792
5849
|
],
|
|
5793
|
-
"direction": "horizontal",
|
|
5794
5850
|
"gap": "md",
|
|
5851
|
+
"direction": "horizontal",
|
|
5795
5852
|
"type": "stack"
|
|
5796
5853
|
},
|
|
5797
5854
|
{
|
|
5798
5855
|
"type": "stack",
|
|
5856
|
+
"gap": "md",
|
|
5799
5857
|
"children": [
|
|
5800
5858
|
{
|
|
5801
|
-
"type": "typography",
|
|
5802
5859
|
"variant": "caption",
|
|
5860
|
+
"type": "typography",
|
|
5803
5861
|
"content": "Amount"
|
|
5804
5862
|
},
|
|
5805
5863
|
{
|
|
5806
|
-
"content": "@entity.amount",
|
|
5807
5864
|
"type": "typography",
|
|
5808
|
-
"variant": "body"
|
|
5865
|
+
"variant": "body",
|
|
5866
|
+
"content": "@entity.amount"
|
|
5809
5867
|
}
|
|
5810
5868
|
],
|
|
5811
|
-
"gap": "md",
|
|
5812
5869
|
"direction": "horizontal"
|
|
5813
5870
|
},
|
|
5814
5871
|
{
|
|
5815
|
-
"direction": "horizontal",
|
|
5816
|
-
"type": "stack",
|
|
5817
5872
|
"children": [
|
|
5818
5873
|
{
|
|
5874
|
+
"content": "Payment Status",
|
|
5819
5875
|
"type": "typography",
|
|
5820
|
-
"variant": "caption"
|
|
5821
|
-
"content": "Payment Status"
|
|
5876
|
+
"variant": "caption"
|
|
5822
5877
|
},
|
|
5823
5878
|
{
|
|
5879
|
+
"variant": "body",
|
|
5824
5880
|
"type": "typography",
|
|
5825
|
-
"content": "@entity.paymentStatus"
|
|
5826
|
-
"variant": "body"
|
|
5881
|
+
"content": "@entity.paymentStatus"
|
|
5827
5882
|
}
|
|
5828
5883
|
],
|
|
5829
|
-
"
|
|
5884
|
+
"type": "stack",
|
|
5885
|
+
"gap": "md",
|
|
5886
|
+
"direction": "horizontal"
|
|
5830
5887
|
},
|
|
5831
5888
|
{
|
|
5832
5889
|
"children": [
|
|
5833
5890
|
{
|
|
5891
|
+
"variant": "caption",
|
|
5834
5892
|
"content": "Order Date",
|
|
5835
|
-
"type": "typography"
|
|
5836
|
-
"variant": "caption"
|
|
5893
|
+
"type": "typography"
|
|
5837
5894
|
},
|
|
5838
5895
|
{
|
|
5839
|
-
"type": "typography",
|
|
5840
5896
|
"variant": "body",
|
|
5841
|
-
"content": "@entity.orderDate"
|
|
5897
|
+
"content": "@entity.orderDate",
|
|
5898
|
+
"type": "typography"
|
|
5842
5899
|
}
|
|
5843
5900
|
],
|
|
5844
5901
|
"gap": "md",
|
|
@@ -5849,27 +5906,30 @@
|
|
|
5849
5906
|
"type": "divider"
|
|
5850
5907
|
},
|
|
5851
5908
|
{
|
|
5909
|
+
"direction": "horizontal",
|
|
5910
|
+
"type": "stack",
|
|
5852
5911
|
"children": [
|
|
5853
5912
|
{
|
|
5854
5913
|
"icon": "edit",
|
|
5914
|
+
"type": "button",
|
|
5855
5915
|
"action": "EDIT",
|
|
5856
5916
|
"label": "Edit",
|
|
5857
|
-
"type": "button",
|
|
5858
5917
|
"variant": "primary"
|
|
5859
5918
|
},
|
|
5860
5919
|
{
|
|
5861
5920
|
"label": "Close",
|
|
5862
5921
|
"type": "button",
|
|
5863
|
-
"
|
|
5864
|
-
"
|
|
5922
|
+
"action": "CLOSE",
|
|
5923
|
+
"variant": "ghost"
|
|
5865
5924
|
}
|
|
5866
5925
|
],
|
|
5867
5926
|
"gap": "sm",
|
|
5868
|
-
"justify": "end"
|
|
5869
|
-
"type": "stack",
|
|
5870
|
-
"direction": "horizontal"
|
|
5927
|
+
"justify": "end"
|
|
5871
5928
|
}
|
|
5872
|
-
]
|
|
5929
|
+
],
|
|
5930
|
+
"type": "stack",
|
|
5931
|
+
"gap": "md",
|
|
5932
|
+
"direction": "vertical"
|
|
5873
5933
|
}
|
|
5874
5934
|
]
|
|
5875
5935
|
]
|
|
@@ -6077,8 +6137,14 @@
|
|
|
6077
6137
|
"event": "INIT",
|
|
6078
6138
|
"effects": [
|
|
6079
6139
|
[
|
|
6080
|
-
"
|
|
6081
|
-
"Order"
|
|
6140
|
+
"fetch",
|
|
6141
|
+
"Order",
|
|
6142
|
+
{
|
|
6143
|
+
"emit": {
|
|
6144
|
+
"success": "OrderLoaded",
|
|
6145
|
+
"failure": "OrderLoadFailed"
|
|
6146
|
+
}
|
|
6147
|
+
}
|
|
6082
6148
|
]
|
|
6083
6149
|
]
|
|
6084
6150
|
},
|
|
@@ -6096,68 +6162,68 @@
|
|
|
6096
6162
|
"fetch",
|
|
6097
6163
|
"Order",
|
|
6098
6164
|
{
|
|
6099
|
-
"id": "@payload.id",
|
|
6100
6165
|
"emit": {
|
|
6101
6166
|
"failure": "OrderLoadFailed",
|
|
6102
6167
|
"success": "OrderLoaded"
|
|
6103
|
-
}
|
|
6168
|
+
},
|
|
6169
|
+
"id": "@payload.id"
|
|
6104
6170
|
}
|
|
6105
6171
|
],
|
|
6106
6172
|
[
|
|
6107
6173
|
"render-ui",
|
|
6108
6174
|
"modal",
|
|
6109
6175
|
{
|
|
6110
|
-
"direction": "vertical",
|
|
6111
6176
|
"children": [
|
|
6112
6177
|
{
|
|
6178
|
+
"align": "center",
|
|
6179
|
+
"direction": "horizontal",
|
|
6180
|
+
"type": "stack",
|
|
6113
6181
|
"children": [
|
|
6114
6182
|
{
|
|
6115
6183
|
"type": "icon",
|
|
6116
6184
|
"name": "alert-triangle"
|
|
6117
6185
|
},
|
|
6118
6186
|
{
|
|
6119
|
-
"type": "typography",
|
|
6120
6187
|
"content": "Delete Order",
|
|
6121
|
-
"variant": "h3"
|
|
6188
|
+
"variant": "h3",
|
|
6189
|
+
"type": "typography"
|
|
6122
6190
|
}
|
|
6123
6191
|
],
|
|
6124
|
-
"
|
|
6125
|
-
"direction": "horizontal",
|
|
6126
|
-
"gap": "sm",
|
|
6127
|
-
"align": "center"
|
|
6192
|
+
"gap": "sm"
|
|
6128
6193
|
},
|
|
6129
6194
|
{
|
|
6130
6195
|
"type": "divider"
|
|
6131
6196
|
},
|
|
6132
6197
|
{
|
|
6133
|
-
"
|
|
6198
|
+
"message": "This action cannot be undone.",
|
|
6134
6199
|
"type": "alert",
|
|
6135
|
-
"
|
|
6200
|
+
"variant": "error"
|
|
6136
6201
|
},
|
|
6137
6202
|
{
|
|
6138
|
-
"
|
|
6203
|
+
"type": "stack",
|
|
6204
|
+
"direction": "horizontal",
|
|
6139
6205
|
"children": [
|
|
6140
6206
|
{
|
|
6141
|
-
"label": "Cancel",
|
|
6142
6207
|
"variant": "ghost",
|
|
6208
|
+
"label": "Cancel",
|
|
6143
6209
|
"action": "CANCEL",
|
|
6144
6210
|
"type": "button"
|
|
6145
6211
|
},
|
|
6146
6212
|
{
|
|
6213
|
+
"action": "CONFIRM_DELETE",
|
|
6147
6214
|
"variant": "danger",
|
|
6148
|
-
"icon": "check",
|
|
6149
6215
|
"type": "button",
|
|
6150
|
-
"
|
|
6151
|
-
"
|
|
6216
|
+
"icon": "check",
|
|
6217
|
+
"label": "Delete"
|
|
6152
6218
|
}
|
|
6153
6219
|
],
|
|
6154
|
-
"
|
|
6155
|
-
"
|
|
6156
|
-
"justify": "end"
|
|
6220
|
+
"justify": "end",
|
|
6221
|
+
"gap": "sm"
|
|
6157
6222
|
}
|
|
6158
6223
|
],
|
|
6159
6224
|
"type": "stack",
|
|
6160
|
-
"gap": "md"
|
|
6225
|
+
"gap": "md",
|
|
6226
|
+
"direction": "vertical"
|
|
6161
6227
|
}
|
|
6162
6228
|
]
|
|
6163
6229
|
]
|
|
@@ -6192,8 +6258,14 @@
|
|
|
6192
6258
|
}
|
|
6193
6259
|
],
|
|
6194
6260
|
[
|
|
6195
|
-
"
|
|
6196
|
-
"Order"
|
|
6261
|
+
"fetch",
|
|
6262
|
+
"Order",
|
|
6263
|
+
{
|
|
6264
|
+
"emit": {
|
|
6265
|
+
"failure": "OrderLoadFailed",
|
|
6266
|
+
"success": "OrderLoaded"
|
|
6267
|
+
}
|
|
6268
|
+
}
|
|
6197
6269
|
],
|
|
6198
6270
|
[
|
|
6199
6271
|
"emit",
|
|
@@ -6219,8 +6291,14 @@
|
|
|
6219
6291
|
}
|
|
6220
6292
|
],
|
|
6221
6293
|
[
|
|
6222
|
-
"
|
|
6223
|
-
"Order"
|
|
6294
|
+
"fetch",
|
|
6295
|
+
"Order",
|
|
6296
|
+
{
|
|
6297
|
+
"emit": {
|
|
6298
|
+
"failure": "OrderLoadFailed",
|
|
6299
|
+
"success": "OrderLoaded"
|
|
6300
|
+
}
|
|
6301
|
+
}
|
|
6224
6302
|
]
|
|
6225
6303
|
]
|
|
6226
6304
|
},
|
|
@@ -6242,8 +6320,14 @@
|
|
|
6242
6320
|
}
|
|
6243
6321
|
],
|
|
6244
6322
|
[
|
|
6245
|
-
"
|
|
6246
|
-
"Order"
|
|
6323
|
+
"fetch",
|
|
6324
|
+
"Order",
|
|
6325
|
+
{
|
|
6326
|
+
"emit": {
|
|
6327
|
+
"failure": "OrderLoadFailed",
|
|
6328
|
+
"success": "OrderLoaded"
|
|
6329
|
+
}
|
|
6330
|
+
}
|
|
6247
6331
|
]
|
|
6248
6332
|
]
|
|
6249
6333
|
}
|