@almadar/std 13.7.0 → 13.8.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 +69 -69
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
- package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
- package/behaviors/registry/app/organisms/std-cms.orb +547 -547
- package/behaviors/registry/core/atoms/std-browse.orb +36 -36
- package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
- package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
- package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
- package/behaviors/registry/core/atoms/std-display.orb +2 -2
- package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
- package/behaviors/registry/core/atoms/std-filter.orb +6 -9
- package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
- package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
- package/behaviors/registry/core/atoms/std-push.orb +48 -90
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
- package/behaviors/registry/core/atoms/std-related.orb +31 -31
- package/behaviors/registry/core/atoms/std-search.orb +3 -3
- package/behaviors/registry/core/atoms/std-selection.orb +102 -102
- package/behaviors/registry/core/atoms/std-stats.orb +64 -64
- package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
- package/behaviors/registry/core/molecules/std-cart.orb +64 -64
- package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
- package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
- package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
- package/behaviors/registry/core/molecules/std-list.orb +63 -63
- package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
- package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
- package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
- package/behaviors/registry/game/atoms/std-quest.orb +137 -137
- package/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
- package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
- package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
- package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
- package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
- package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
- package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
- package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
- package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
- package/dist/behaviors/behaviors-registry.json +2913 -322
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
- package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
- package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
- package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
- package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
- package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
- package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
- package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
- package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
- package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
- package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
- package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
- package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
- package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
- package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
- package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
- package/dist/behaviors-registry.json +2913 -322
- package/package.json +1 -1
|
@@ -57,6 +57,38 @@
|
|
|
57
57
|
"payloadSchema": [
|
|
58
58
|
{
|
|
59
59
|
"name": "id",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"required": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "row.id",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"required": true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "row.name",
|
|
70
|
+
"type": "string",
|
|
71
|
+
"required": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "row.description",
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "row.price",
|
|
79
|
+
"type": "number",
|
|
80
|
+
"required": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "row.category",
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "row.inStock",
|
|
88
|
+
"type": "boolean"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "row.pendingId",
|
|
60
92
|
"type": "string"
|
|
61
93
|
}
|
|
62
94
|
]
|
|
@@ -773,8 +805,8 @@
|
|
|
773
805
|
"Product",
|
|
774
806
|
{
|
|
775
807
|
"emit": {
|
|
776
|
-
"
|
|
777
|
-
"
|
|
808
|
+
"success": "ProductLoaded",
|
|
809
|
+
"failure": "ProductLoadFailed"
|
|
778
810
|
}
|
|
779
811
|
}
|
|
780
812
|
],
|
|
@@ -782,21 +814,21 @@
|
|
|
782
814
|
"render-ui",
|
|
783
815
|
"main",
|
|
784
816
|
{
|
|
785
|
-
"type": "stack",
|
|
786
|
-
"gap": "md",
|
|
787
|
-
"className": "py-12",
|
|
788
|
-
"direction": "vertical",
|
|
789
817
|
"children": [
|
|
790
818
|
{
|
|
791
819
|
"type": "spinner"
|
|
792
820
|
},
|
|
793
821
|
{
|
|
822
|
+
"content": "Loading…",
|
|
794
823
|
"type": "typography",
|
|
795
|
-
"color": "muted",
|
|
796
824
|
"variant": "caption",
|
|
797
|
-
"
|
|
825
|
+
"color": "muted"
|
|
798
826
|
}
|
|
799
827
|
],
|
|
828
|
+
"direction": "vertical",
|
|
829
|
+
"gap": "md",
|
|
830
|
+
"className": "py-12",
|
|
831
|
+
"type": "stack",
|
|
800
832
|
"align": "center"
|
|
801
833
|
}
|
|
802
834
|
]
|
|
@@ -811,34 +843,34 @@
|
|
|
811
843
|
"render-ui",
|
|
812
844
|
"main",
|
|
813
845
|
{
|
|
814
|
-
"appName": "ServiceMarketplace",
|
|
815
846
|
"children": [
|
|
816
847
|
{
|
|
817
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
818
848
|
"gap": "lg",
|
|
849
|
+
"direction": "vertical",
|
|
850
|
+
"type": "stack",
|
|
851
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
819
852
|
"children": [
|
|
820
853
|
{
|
|
821
|
-
"gap": "md",
|
|
822
854
|
"direction": "horizontal",
|
|
823
|
-
"
|
|
855
|
+
"type": "stack",
|
|
824
856
|
"align": "center",
|
|
825
857
|
"children": [
|
|
826
858
|
{
|
|
827
859
|
"direction": "horizontal",
|
|
828
|
-
"gap": "sm",
|
|
829
|
-
"align": "center",
|
|
830
860
|
"type": "stack",
|
|
861
|
+
"gap": "sm",
|
|
831
862
|
"children": [
|
|
832
863
|
{
|
|
833
864
|
"type": "icon",
|
|
834
865
|
"name": "shopping-bag"
|
|
835
866
|
},
|
|
836
867
|
{
|
|
837
|
-
"content": "Products",
|
|
838
868
|
"type": "typography",
|
|
839
|
-
"variant": "h2"
|
|
869
|
+
"variant": "h2",
|
|
870
|
+
"content": "Products"
|
|
840
871
|
}
|
|
841
|
-
]
|
|
872
|
+
],
|
|
873
|
+
"align": "center"
|
|
842
874
|
},
|
|
843
875
|
{
|
|
844
876
|
"type": "stack",
|
|
@@ -846,16 +878,17 @@
|
|
|
846
878
|
"gap": "sm",
|
|
847
879
|
"children": [
|
|
848
880
|
{
|
|
849
|
-
"variant": "primary",
|
|
850
881
|
"type": "button",
|
|
851
882
|
"action": "CREATE",
|
|
852
|
-
"
|
|
853
|
-
"label": "Create Product"
|
|
883
|
+
"variant": "primary",
|
|
884
|
+
"label": "Create Product",
|
|
885
|
+
"icon": "plus"
|
|
854
886
|
}
|
|
855
887
|
]
|
|
856
888
|
}
|
|
857
889
|
],
|
|
858
|
-
"
|
|
890
|
+
"gap": "md",
|
|
891
|
+
"justify": "between"
|
|
859
892
|
},
|
|
860
893
|
{
|
|
861
894
|
"type": "divider"
|
|
@@ -863,23 +896,26 @@
|
|
|
863
896
|
{
|
|
864
897
|
"itemActions": [
|
|
865
898
|
{
|
|
866
|
-
"
|
|
899
|
+
"label": "View",
|
|
867
900
|
"event": "VIEW",
|
|
868
|
-
"
|
|
901
|
+
"variant": "ghost"
|
|
869
902
|
},
|
|
870
903
|
{
|
|
904
|
+
"variant": "ghost",
|
|
871
905
|
"label": "Edit",
|
|
872
|
-
"event": "EDIT"
|
|
873
|
-
|
|
906
|
+
"event": "EDIT"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"label": "Checkout",
|
|
910
|
+
"event": "CHECKOUT",
|
|
911
|
+
"variant": "primary"
|
|
874
912
|
},
|
|
875
913
|
{
|
|
876
|
-
"event": "DELETE",
|
|
877
914
|
"variant": "danger",
|
|
915
|
+
"event": "DELETE",
|
|
878
916
|
"label": "Delete"
|
|
879
917
|
}
|
|
880
918
|
],
|
|
881
|
-
"entity": "@payload.data",
|
|
882
|
-
"type": "data-grid",
|
|
883
919
|
"fields": [
|
|
884
920
|
{
|
|
885
921
|
"label": "Name",
|
|
@@ -888,47 +924,46 @@
|
|
|
888
924
|
"icon": "shopping-bag"
|
|
889
925
|
},
|
|
890
926
|
{
|
|
891
|
-
"name": "description",
|
|
892
|
-
"label": "Description",
|
|
893
|
-
"variant": "badge",
|
|
894
927
|
"colorMap": {
|
|
895
|
-
"
|
|
928
|
+
"done": "success",
|
|
896
929
|
"cancelled": "destructive",
|
|
897
|
-
"
|
|
930
|
+
"completed": "success",
|
|
898
931
|
"disabled": "neutral",
|
|
899
|
-
"done": "success",
|
|
900
932
|
"inactive": "neutral",
|
|
901
|
-
"
|
|
902
|
-
"draft": "warning",
|
|
933
|
+
"archived": "neutral",
|
|
903
934
|
"scheduled": "warning",
|
|
935
|
+
"pending": "warning",
|
|
936
|
+
"draft": "warning",
|
|
904
937
|
"error": "destructive",
|
|
905
|
-
"
|
|
906
|
-
"
|
|
907
|
-
}
|
|
938
|
+
"failed": "destructive",
|
|
939
|
+
"active": "success"
|
|
940
|
+
},
|
|
941
|
+
"name": "description",
|
|
942
|
+
"label": "Description",
|
|
943
|
+
"variant": "badge"
|
|
908
944
|
},
|
|
909
945
|
{
|
|
910
|
-
"label": "Price",
|
|
911
946
|
"name": "price",
|
|
947
|
+
"label": "Price",
|
|
912
948
|
"variant": "caption"
|
|
913
949
|
}
|
|
914
|
-
]
|
|
950
|
+
],
|
|
951
|
+
"type": "data-grid",
|
|
952
|
+
"entity": "@payload.data"
|
|
915
953
|
}
|
|
916
|
-
]
|
|
917
|
-
"direction": "vertical",
|
|
918
|
-
"type": "stack"
|
|
954
|
+
]
|
|
919
955
|
}
|
|
920
956
|
],
|
|
921
|
-
"type": "dashboard-layout",
|
|
922
957
|
"navItems": [
|
|
923
958
|
{
|
|
924
|
-
"icon": "package",
|
|
925
959
|
"label": "Products",
|
|
960
|
+
"icon": "package",
|
|
926
961
|
"href": "/products"
|
|
927
962
|
},
|
|
928
963
|
{
|
|
929
|
-
"
|
|
964
|
+
"href": "/login",
|
|
930
965
|
"icon": "layout-list",
|
|
931
|
-
"
|
|
966
|
+
"label": "Login"
|
|
932
967
|
},
|
|
933
968
|
{
|
|
934
969
|
"href": "/checkout",
|
|
@@ -936,11 +971,13 @@
|
|
|
936
971
|
"label": "Checkout"
|
|
937
972
|
},
|
|
938
973
|
{
|
|
939
|
-
"href": "/orders",
|
|
940
974
|
"label": "Orders",
|
|
975
|
+
"href": "/orders",
|
|
941
976
|
"icon": "clipboard-list"
|
|
942
977
|
}
|
|
943
|
-
]
|
|
978
|
+
],
|
|
979
|
+
"type": "dashboard-layout",
|
|
980
|
+
"appName": "ServiceMarketplace"
|
|
944
981
|
}
|
|
945
982
|
]
|
|
946
983
|
]
|
|
@@ -954,20 +991,20 @@
|
|
|
954
991
|
"render-ui",
|
|
955
992
|
"main",
|
|
956
993
|
{
|
|
994
|
+
"className": "py-12",
|
|
957
995
|
"type": "stack",
|
|
958
996
|
"direction": "vertical",
|
|
959
997
|
"align": "center",
|
|
960
|
-
"className": "py-12",
|
|
961
998
|
"children": [
|
|
962
999
|
{
|
|
963
|
-
"name": "alert-triangle",
|
|
964
1000
|
"color": "destructive",
|
|
1001
|
+
"name": "alert-triangle",
|
|
965
1002
|
"type": "icon"
|
|
966
1003
|
},
|
|
967
1004
|
{
|
|
1005
|
+
"type": "typography",
|
|
968
1006
|
"variant": "h3",
|
|
969
|
-
"content": "Failed to load product"
|
|
970
|
-
"type": "typography"
|
|
1007
|
+
"content": "Failed to load product"
|
|
971
1008
|
},
|
|
972
1009
|
{
|
|
973
1010
|
"content": "@payload.error",
|
|
@@ -976,11 +1013,11 @@
|
|
|
976
1013
|
"type": "typography"
|
|
977
1014
|
},
|
|
978
1015
|
{
|
|
979
|
-
"
|
|
1016
|
+
"label": "Retry",
|
|
1017
|
+
"type": "button",
|
|
980
1018
|
"action": "INIT",
|
|
981
1019
|
"icon": "rotate-ccw",
|
|
982
|
-
"
|
|
983
|
-
"label": "Retry"
|
|
1020
|
+
"variant": "primary"
|
|
984
1021
|
}
|
|
985
1022
|
],
|
|
986
1023
|
"gap": "md"
|
|
@@ -1192,43 +1229,43 @@
|
|
|
1192
1229
|
"render-ui",
|
|
1193
1230
|
"modal",
|
|
1194
1231
|
{
|
|
1195
|
-
"
|
|
1232
|
+
"direction": "vertical",
|
|
1196
1233
|
"children": [
|
|
1197
1234
|
{
|
|
1198
|
-
"gap": "sm",
|
|
1199
|
-
"direction": "horizontal",
|
|
1200
1235
|
"type": "stack",
|
|
1236
|
+
"gap": "sm",
|
|
1201
1237
|
"children": [
|
|
1202
1238
|
{
|
|
1203
|
-
"
|
|
1204
|
-
"
|
|
1239
|
+
"type": "icon",
|
|
1240
|
+
"name": "plus-circle"
|
|
1205
1241
|
},
|
|
1206
1242
|
{
|
|
1207
1243
|
"content": "Create Product",
|
|
1208
|
-
"
|
|
1209
|
-
"
|
|
1244
|
+
"variant": "h3",
|
|
1245
|
+
"type": "typography"
|
|
1210
1246
|
}
|
|
1211
|
-
]
|
|
1247
|
+
],
|
|
1248
|
+
"direction": "horizontal"
|
|
1212
1249
|
},
|
|
1213
1250
|
{
|
|
1214
1251
|
"type": "divider"
|
|
1215
1252
|
},
|
|
1216
1253
|
{
|
|
1217
|
-
"submitEvent": "SAVE",
|
|
1218
|
-
"mode": "create",
|
|
1219
|
-
"type": "form-section",
|
|
1220
|
-
"cancelEvent": "CLOSE",
|
|
1221
1254
|
"fields": [
|
|
1222
1255
|
"name",
|
|
1223
1256
|
"description",
|
|
1224
1257
|
"price",
|
|
1225
1258
|
"category",
|
|
1226
1259
|
"inStock"
|
|
1227
|
-
]
|
|
1260
|
+
],
|
|
1261
|
+
"type": "form-section",
|
|
1262
|
+
"mode": "create",
|
|
1263
|
+
"submitEvent": "SAVE",
|
|
1264
|
+
"cancelEvent": "CLOSE"
|
|
1228
1265
|
}
|
|
1229
1266
|
],
|
|
1230
1267
|
"type": "stack",
|
|
1231
|
-
"
|
|
1268
|
+
"gap": "md"
|
|
1232
1269
|
}
|
|
1233
1270
|
]
|
|
1234
1271
|
]
|
|
@@ -1269,8 +1306,8 @@
|
|
|
1269
1306
|
"@payload.data",
|
|
1270
1307
|
{
|
|
1271
1308
|
"emit": {
|
|
1272
|
-
"
|
|
1273
|
-
"
|
|
1309
|
+
"success": "ProductSaved",
|
|
1310
|
+
"failure": "ProductSaveFailed"
|
|
1274
1311
|
}
|
|
1275
1312
|
}
|
|
1276
1313
|
],
|
|
@@ -1489,8 +1526,8 @@
|
|
|
1489
1526
|
"Product",
|
|
1490
1527
|
{
|
|
1491
1528
|
"emit": {
|
|
1492
|
-
"
|
|
1493
|
-
"
|
|
1529
|
+
"success": "ProductLoaded",
|
|
1530
|
+
"failure": "ProductLoadFailed"
|
|
1494
1531
|
}
|
|
1495
1532
|
}
|
|
1496
1533
|
]
|
|
@@ -1505,21 +1542,24 @@
|
|
|
1505
1542
|
"fetch",
|
|
1506
1543
|
"Product",
|
|
1507
1544
|
{
|
|
1545
|
+
"id": "@payload.id",
|
|
1508
1546
|
"emit": {
|
|
1509
|
-
"
|
|
1510
|
-
"
|
|
1511
|
-
}
|
|
1512
|
-
"id": "@payload.id"
|
|
1547
|
+
"success": "ProductLoaded",
|
|
1548
|
+
"failure": "ProductLoadFailed"
|
|
1549
|
+
}
|
|
1513
1550
|
}
|
|
1514
1551
|
],
|
|
1515
1552
|
[
|
|
1516
1553
|
"render-ui",
|
|
1517
1554
|
"modal",
|
|
1518
1555
|
{
|
|
1519
|
-
"
|
|
1556
|
+
"direction": "vertical",
|
|
1520
1557
|
"type": "stack",
|
|
1558
|
+
"gap": "md",
|
|
1521
1559
|
"children": [
|
|
1522
1560
|
{
|
|
1561
|
+
"type": "stack",
|
|
1562
|
+
"gap": "sm",
|
|
1523
1563
|
"children": [
|
|
1524
1564
|
{
|
|
1525
1565
|
"type": "icon",
|
|
@@ -1531,18 +1571,12 @@
|
|
|
1531
1571
|
"variant": "h3"
|
|
1532
1572
|
}
|
|
1533
1573
|
],
|
|
1534
|
-
"
|
|
1535
|
-
"direction": "horizontal",
|
|
1536
|
-
"type": "stack"
|
|
1574
|
+
"direction": "horizontal"
|
|
1537
1575
|
},
|
|
1538
1576
|
{
|
|
1539
1577
|
"type": "divider"
|
|
1540
1578
|
},
|
|
1541
1579
|
{
|
|
1542
|
-
"entity": "@payload.row",
|
|
1543
|
-
"mode": "edit",
|
|
1544
|
-
"submitEvent": "SAVE",
|
|
1545
|
-
"cancelEvent": "CLOSE",
|
|
1546
1580
|
"fields": [
|
|
1547
1581
|
"name",
|
|
1548
1582
|
"description",
|
|
@@ -1550,10 +1584,13 @@
|
|
|
1550
1584
|
"category",
|
|
1551
1585
|
"inStock"
|
|
1552
1586
|
],
|
|
1553
|
-
"
|
|
1587
|
+
"cancelEvent": "CLOSE",
|
|
1588
|
+
"entity": "@payload.row",
|
|
1589
|
+
"submitEvent": "SAVE",
|
|
1590
|
+
"type": "form-section",
|
|
1591
|
+
"mode": "edit"
|
|
1554
1592
|
}
|
|
1555
|
-
]
|
|
1556
|
-
"direction": "vertical"
|
|
1593
|
+
]
|
|
1557
1594
|
}
|
|
1558
1595
|
]
|
|
1559
1596
|
]
|
|
@@ -1748,13 +1785,38 @@
|
|
|
1748
1785
|
"to": "closed",
|
|
1749
1786
|
"event": "INIT",
|
|
1750
1787
|
"effects": [
|
|
1788
|
+
[
|
|
1789
|
+
"set",
|
|
1790
|
+
"@entity.category",
|
|
1791
|
+
""
|
|
1792
|
+
],
|
|
1793
|
+
[
|
|
1794
|
+
"set",
|
|
1795
|
+
"@entity.description",
|
|
1796
|
+
""
|
|
1797
|
+
],
|
|
1798
|
+
[
|
|
1799
|
+
"set",
|
|
1800
|
+
"@entity.inStock",
|
|
1801
|
+
true
|
|
1802
|
+
],
|
|
1803
|
+
[
|
|
1804
|
+
"set",
|
|
1805
|
+
"@entity.name",
|
|
1806
|
+
""
|
|
1807
|
+
],
|
|
1808
|
+
[
|
|
1809
|
+
"set",
|
|
1810
|
+
"@entity.price",
|
|
1811
|
+
0.0
|
|
1812
|
+
],
|
|
1751
1813
|
[
|
|
1752
1814
|
"fetch",
|
|
1753
1815
|
"Product",
|
|
1754
1816
|
{
|
|
1755
1817
|
"emit": {
|
|
1756
|
-
"
|
|
1757
|
-
"
|
|
1818
|
+
"success": "ProductLoaded",
|
|
1819
|
+
"failure": "ProductLoadFailed"
|
|
1758
1820
|
}
|
|
1759
1821
|
}
|
|
1760
1822
|
]
|
|
@@ -1769,24 +1831,19 @@
|
|
|
1769
1831
|
"fetch",
|
|
1770
1832
|
"Product",
|
|
1771
1833
|
{
|
|
1772
|
-
"id": "@payload.id",
|
|
1773
1834
|
"emit": {
|
|
1774
|
-
"
|
|
1775
|
-
"
|
|
1776
|
-
}
|
|
1835
|
+
"failure": "ProductLoadFailed",
|
|
1836
|
+
"success": "ProductLoaded"
|
|
1837
|
+
},
|
|
1838
|
+
"id": "@payload.id"
|
|
1777
1839
|
}
|
|
1778
1840
|
],
|
|
1779
1841
|
[
|
|
1780
1842
|
"render-ui",
|
|
1781
1843
|
"modal",
|
|
1782
1844
|
{
|
|
1783
|
-
"type": "stack",
|
|
1784
|
-
"gap": "md",
|
|
1785
|
-
"direction": "vertical",
|
|
1786
1845
|
"children": [
|
|
1787
1846
|
{
|
|
1788
|
-
"gap": "sm",
|
|
1789
|
-
"align": "center",
|
|
1790
1847
|
"children": [
|
|
1791
1848
|
{
|
|
1792
1849
|
"type": "icon",
|
|
@@ -1794,54 +1851,56 @@
|
|
|
1794
1851
|
},
|
|
1795
1852
|
{
|
|
1796
1853
|
"type": "typography",
|
|
1797
|
-
"
|
|
1798
|
-
"
|
|
1854
|
+
"content": "@entity.name",
|
|
1855
|
+
"variant": "h3"
|
|
1799
1856
|
}
|
|
1800
1857
|
],
|
|
1858
|
+
"type": "stack",
|
|
1801
1859
|
"direction": "horizontal",
|
|
1802
|
-
"
|
|
1860
|
+
"gap": "sm",
|
|
1861
|
+
"align": "center"
|
|
1803
1862
|
},
|
|
1804
1863
|
{
|
|
1805
1864
|
"type": "divider"
|
|
1806
1865
|
},
|
|
1807
1866
|
{
|
|
1808
|
-
"
|
|
1867
|
+
"direction": "horizontal",
|
|
1809
1868
|
"gap": "md",
|
|
1869
|
+
"type": "stack",
|
|
1810
1870
|
"children": [
|
|
1811
1871
|
{
|
|
1812
|
-
"
|
|
1872
|
+
"type": "typography",
|
|
1813
1873
|
"content": "Name",
|
|
1814
|
-
"
|
|
1874
|
+
"variant": "caption"
|
|
1815
1875
|
},
|
|
1816
1876
|
{
|
|
1877
|
+
"variant": "body",
|
|
1817
1878
|
"content": "@entity.name",
|
|
1818
|
-
"type": "typography"
|
|
1819
|
-
"variant": "body"
|
|
1879
|
+
"type": "typography"
|
|
1820
1880
|
}
|
|
1821
|
-
]
|
|
1822
|
-
"direction": "horizontal"
|
|
1881
|
+
]
|
|
1823
1882
|
},
|
|
1824
1883
|
{
|
|
1825
1884
|
"gap": "md",
|
|
1826
|
-
"direction": "horizontal",
|
|
1827
|
-
"type": "stack",
|
|
1828
1885
|
"children": [
|
|
1829
1886
|
{
|
|
1830
1887
|
"content": "Description",
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1888
|
+
"type": "typography",
|
|
1889
|
+
"variant": "caption"
|
|
1833
1890
|
},
|
|
1834
1891
|
{
|
|
1835
|
-
"
|
|
1892
|
+
"variant": "body",
|
|
1836
1893
|
"type": "typography",
|
|
1837
|
-
"
|
|
1894
|
+
"content": "@entity.description"
|
|
1838
1895
|
}
|
|
1839
|
-
]
|
|
1896
|
+
],
|
|
1897
|
+
"type": "stack",
|
|
1898
|
+
"direction": "horizontal"
|
|
1840
1899
|
},
|
|
1841
1900
|
{
|
|
1842
|
-
"gap": "md",
|
|
1843
1901
|
"type": "stack",
|
|
1844
1902
|
"direction": "horizontal",
|
|
1903
|
+
"gap": "md",
|
|
1845
1904
|
"children": [
|
|
1846
1905
|
{
|
|
1847
1906
|
"content": "Price",
|
|
@@ -1850,70 +1909,73 @@
|
|
|
1850
1909
|
},
|
|
1851
1910
|
{
|
|
1852
1911
|
"type": "typography",
|
|
1853
|
-
"
|
|
1854
|
-
"
|
|
1912
|
+
"variant": "body",
|
|
1913
|
+
"content": "@entity.price"
|
|
1855
1914
|
}
|
|
1856
1915
|
]
|
|
1857
1916
|
},
|
|
1858
1917
|
{
|
|
1918
|
+
"direction": "horizontal",
|
|
1919
|
+
"gap": "md",
|
|
1920
|
+
"type": "stack",
|
|
1859
1921
|
"children": [
|
|
1860
1922
|
{
|
|
1861
|
-
"content": "Category",
|
|
1862
1923
|
"type": "typography",
|
|
1924
|
+
"content": "Category",
|
|
1863
1925
|
"variant": "caption"
|
|
1864
1926
|
},
|
|
1865
1927
|
{
|
|
1866
|
-
"
|
|
1928
|
+
"variant": "body",
|
|
1867
1929
|
"content": "@entity.category",
|
|
1868
|
-
"
|
|
1930
|
+
"type": "typography"
|
|
1869
1931
|
}
|
|
1870
|
-
]
|
|
1871
|
-
"type": "stack",
|
|
1872
|
-
"direction": "horizontal",
|
|
1873
|
-
"gap": "md"
|
|
1932
|
+
]
|
|
1874
1933
|
},
|
|
1875
1934
|
{
|
|
1876
1935
|
"children": [
|
|
1877
1936
|
{
|
|
1878
|
-
"type": "typography",
|
|
1879
1937
|
"variant": "caption",
|
|
1938
|
+
"type": "typography",
|
|
1880
1939
|
"content": "In Stock"
|
|
1881
1940
|
},
|
|
1882
1941
|
{
|
|
1883
1942
|
"type": "typography",
|
|
1884
|
-
"
|
|
1885
|
-
"
|
|
1943
|
+
"content": "@entity.inStock",
|
|
1944
|
+
"variant": "body"
|
|
1886
1945
|
}
|
|
1887
1946
|
],
|
|
1947
|
+
"gap": "md",
|
|
1888
1948
|
"type": "stack",
|
|
1889
|
-
"direction": "horizontal"
|
|
1890
|
-
"gap": "md"
|
|
1949
|
+
"direction": "horizontal"
|
|
1891
1950
|
},
|
|
1892
1951
|
{
|
|
1893
1952
|
"type": "divider"
|
|
1894
1953
|
},
|
|
1895
1954
|
{
|
|
1955
|
+
"type": "stack",
|
|
1956
|
+
"gap": "sm",
|
|
1957
|
+
"direction": "horizontal",
|
|
1896
1958
|
"justify": "end",
|
|
1897
1959
|
"children": [
|
|
1898
1960
|
{
|
|
1899
|
-
"
|
|
1961
|
+
"icon": "edit",
|
|
1900
1962
|
"type": "button",
|
|
1901
|
-
"label": "Edit",
|
|
1902
1963
|
"action": "EDIT",
|
|
1903
|
-
"
|
|
1964
|
+
"variant": "primary",
|
|
1965
|
+
"label": "Edit"
|
|
1904
1966
|
},
|
|
1905
1967
|
{
|
|
1906
|
-
"type": "button",
|
|
1907
1968
|
"action": "CLOSE",
|
|
1908
1969
|
"label": "Close",
|
|
1970
|
+
"type": "button",
|
|
1909
1971
|
"variant": "ghost"
|
|
1910
1972
|
}
|
|
1911
|
-
]
|
|
1912
|
-
"gap": "sm",
|
|
1913
|
-
"type": "stack",
|
|
1914
|
-
"direction": "horizontal"
|
|
1973
|
+
]
|
|
1915
1974
|
}
|
|
1916
|
-
]
|
|
1975
|
+
],
|
|
1976
|
+
"direction": "vertical",
|
|
1977
|
+
"type": "stack",
|
|
1978
|
+
"gap": "md"
|
|
1917
1979
|
}
|
|
1918
1980
|
]
|
|
1919
1981
|
]
|
|
@@ -2175,57 +2237,57 @@
|
|
|
2175
2237
|
"render-ui",
|
|
2176
2238
|
"modal",
|
|
2177
2239
|
{
|
|
2178
|
-
"type": "stack",
|
|
2179
2240
|
"direction": "vertical",
|
|
2180
|
-
"
|
|
2241
|
+
"type": "stack",
|
|
2181
2242
|
"children": [
|
|
2182
2243
|
{
|
|
2244
|
+
"gap": "sm",
|
|
2245
|
+
"align": "center",
|
|
2246
|
+
"type": "stack",
|
|
2247
|
+
"direction": "horizontal",
|
|
2183
2248
|
"children": [
|
|
2184
2249
|
{
|
|
2185
|
-
"
|
|
2186
|
-
"
|
|
2250
|
+
"type": "icon",
|
|
2251
|
+
"name": "alert-triangle"
|
|
2187
2252
|
},
|
|
2188
2253
|
{
|
|
2189
2254
|
"content": "Delete Product",
|
|
2190
2255
|
"variant": "h3",
|
|
2191
2256
|
"type": "typography"
|
|
2192
2257
|
}
|
|
2193
|
-
]
|
|
2194
|
-
"gap": "sm",
|
|
2195
|
-
"align": "center",
|
|
2196
|
-
"type": "stack",
|
|
2197
|
-
"direction": "horizontal"
|
|
2258
|
+
]
|
|
2198
2259
|
},
|
|
2199
2260
|
{
|
|
2200
2261
|
"type": "divider"
|
|
2201
2262
|
},
|
|
2202
2263
|
{
|
|
2203
|
-
"
|
|
2264
|
+
"variant": "error",
|
|
2204
2265
|
"type": "alert",
|
|
2205
|
-
"
|
|
2266
|
+
"message": "This action cannot be undone."
|
|
2206
2267
|
},
|
|
2207
2268
|
{
|
|
2208
2269
|
"direction": "horizontal",
|
|
2209
|
-
"type": "stack",
|
|
2210
2270
|
"gap": "sm",
|
|
2271
|
+
"type": "stack",
|
|
2211
2272
|
"children": [
|
|
2212
2273
|
{
|
|
2213
|
-
"type": "button",
|
|
2214
2274
|
"label": "Cancel",
|
|
2215
|
-
"
|
|
2216
|
-
"action": "CANCEL"
|
|
2275
|
+
"type": "button",
|
|
2276
|
+
"action": "CANCEL",
|
|
2277
|
+
"variant": "ghost"
|
|
2217
2278
|
},
|
|
2218
2279
|
{
|
|
2219
|
-
"
|
|
2220
|
-
"label": "Delete",
|
|
2280
|
+
"icon": "check",
|
|
2221
2281
|
"variant": "danger",
|
|
2282
|
+
"action": "CONFIRM_DELETE",
|
|
2222
2283
|
"type": "button",
|
|
2223
|
-
"
|
|
2284
|
+
"label": "Delete"
|
|
2224
2285
|
}
|
|
2225
2286
|
],
|
|
2226
2287
|
"justify": "end"
|
|
2227
2288
|
}
|
|
2228
|
-
]
|
|
2289
|
+
],
|
|
2290
|
+
"gap": "md"
|
|
2229
2291
|
}
|
|
2230
2292
|
]
|
|
2231
2293
|
]
|
|
@@ -2264,8 +2326,8 @@
|
|
|
2264
2326
|
"Product",
|
|
2265
2327
|
{
|
|
2266
2328
|
"emit": {
|
|
2267
|
-
"
|
|
2268
|
-
"
|
|
2329
|
+
"success": "ProductLoaded",
|
|
2330
|
+
"failure": "ProductLoadFailed"
|
|
2269
2331
|
}
|
|
2270
2332
|
}
|
|
2271
2333
|
],
|
|
@@ -2297,8 +2359,8 @@
|
|
|
2297
2359
|
"Product",
|
|
2298
2360
|
{
|
|
2299
2361
|
"emit": {
|
|
2300
|
-
"
|
|
2301
|
-
"
|
|
2362
|
+
"failure": "ProductLoadFailed",
|
|
2363
|
+
"success": "ProductLoaded"
|
|
2302
2364
|
}
|
|
2303
2365
|
}
|
|
2304
2366
|
]
|
|
@@ -2326,8 +2388,8 @@
|
|
|
2326
2388
|
"Product",
|
|
2327
2389
|
{
|
|
2328
2390
|
"emit": {
|
|
2329
|
-
"
|
|
2330
|
-
"
|
|
2391
|
+
"failure": "ProductLoadFailed",
|
|
2392
|
+
"success": "ProductLoaded"
|
|
2331
2393
|
}
|
|
2332
2394
|
}
|
|
2333
2395
|
]
|
|
@@ -2605,6 +2667,11 @@
|
|
|
2605
2667
|
"to": "unauthenticated",
|
|
2606
2668
|
"event": "INIT",
|
|
2607
2669
|
"effects": [
|
|
2670
|
+
[
|
|
2671
|
+
"set",
|
|
2672
|
+
"@entity.provider",
|
|
2673
|
+
""
|
|
2674
|
+
],
|
|
2608
2675
|
[
|
|
2609
2676
|
"fetch",
|
|
2610
2677
|
"AuthSession",
|
|
@@ -2620,30 +2687,48 @@
|
|
|
2620
2687
|
"main",
|
|
2621
2688
|
{
|
|
2622
2689
|
"appName": "ServiceMarketplace",
|
|
2690
|
+
"navItems": [
|
|
2691
|
+
{
|
|
2692
|
+
"label": "Products",
|
|
2693
|
+
"icon": "package",
|
|
2694
|
+
"href": "/products"
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"href": "/login",
|
|
2698
|
+
"icon": "layout-list",
|
|
2699
|
+
"label": "Login"
|
|
2700
|
+
},
|
|
2701
|
+
{
|
|
2702
|
+
"label": "Checkout",
|
|
2703
|
+
"icon": "credit-card",
|
|
2704
|
+
"href": "/checkout"
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"label": "Orders",
|
|
2708
|
+
"icon": "clipboard-list",
|
|
2709
|
+
"href": "/orders"
|
|
2710
|
+
}
|
|
2711
|
+
],
|
|
2623
2712
|
"type": "dashboard-layout",
|
|
2624
2713
|
"children": [
|
|
2625
2714
|
{
|
|
2626
|
-
"gap": "lg",
|
|
2627
|
-
"type": "stack",
|
|
2628
|
-
"direction": "vertical",
|
|
2629
|
-
"align": "center",
|
|
2630
2715
|
"children": [
|
|
2631
2716
|
{
|
|
2632
|
-
"direction": "horizontal",
|
|
2633
|
-
"align": "center",
|
|
2634
2717
|
"children": [
|
|
2635
2718
|
{
|
|
2636
2719
|
"name": "lock",
|
|
2637
2720
|
"type": "icon"
|
|
2638
2721
|
},
|
|
2639
2722
|
{
|
|
2723
|
+
"content": "Sign In",
|
|
2640
2724
|
"type": "typography",
|
|
2641
|
-
"variant": "h2"
|
|
2642
|
-
"content": "Sign In"
|
|
2725
|
+
"variant": "h2"
|
|
2643
2726
|
}
|
|
2644
2727
|
],
|
|
2728
|
+
"align": "center",
|
|
2729
|
+
"gap": "md",
|
|
2645
2730
|
"type": "stack",
|
|
2646
|
-
"
|
|
2731
|
+
"direction": "horizontal"
|
|
2647
2732
|
},
|
|
2648
2733
|
{
|
|
2649
2734
|
"type": "divider"
|
|
@@ -2656,8 +2741,8 @@
|
|
|
2656
2741
|
"value": "google"
|
|
2657
2742
|
},
|
|
2658
2743
|
{
|
|
2659
|
-
"
|
|
2660
|
-
"
|
|
2744
|
+
"value": "github",
|
|
2745
|
+
"label": "GitHub"
|
|
2661
2746
|
},
|
|
2662
2747
|
{
|
|
2663
2748
|
"label": "Microsoft",
|
|
@@ -2666,35 +2751,17 @@
|
|
|
2666
2751
|
]
|
|
2667
2752
|
},
|
|
2668
2753
|
{
|
|
2754
|
+
"type": "button",
|
|
2669
2755
|
"icon": "log-in",
|
|
2670
2756
|
"label": "Login",
|
|
2671
|
-
"type": "button",
|
|
2672
2757
|
"action": "LOGIN",
|
|
2673
2758
|
"variant": "primary"
|
|
2674
2759
|
}
|
|
2675
|
-
]
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
"label": "Products",
|
|
2681
|
-
"icon": "package",
|
|
2682
|
-
"href": "/products"
|
|
2683
|
-
},
|
|
2684
|
-
{
|
|
2685
|
-
"icon": "layout-list",
|
|
2686
|
-
"label": "Login",
|
|
2687
|
-
"href": "/login"
|
|
2688
|
-
},
|
|
2689
|
-
{
|
|
2690
|
-
"href": "/checkout",
|
|
2691
|
-
"icon": "credit-card",
|
|
2692
|
-
"label": "Checkout"
|
|
2693
|
-
},
|
|
2694
|
-
{
|
|
2695
|
-
"href": "/orders",
|
|
2696
|
-
"icon": "clipboard-list",
|
|
2697
|
-
"label": "Orders"
|
|
2760
|
+
],
|
|
2761
|
+
"gap": "lg",
|
|
2762
|
+
"align": "center",
|
|
2763
|
+
"direction": "vertical",
|
|
2764
|
+
"type": "stack"
|
|
2698
2765
|
}
|
|
2699
2766
|
]
|
|
2700
2767
|
}
|
|
@@ -2710,6 +2777,7 @@
|
|
|
2710
2777
|
"render-ui",
|
|
2711
2778
|
"main",
|
|
2712
2779
|
{
|
|
2780
|
+
"type": "dashboard-layout",
|
|
2713
2781
|
"navItems": [
|
|
2714
2782
|
{
|
|
2715
2783
|
"icon": "package",
|
|
@@ -2718,29 +2786,28 @@
|
|
|
2718
2786
|
},
|
|
2719
2787
|
{
|
|
2720
2788
|
"label": "Login",
|
|
2721
|
-
"
|
|
2722
|
-
"
|
|
2789
|
+
"href": "/login",
|
|
2790
|
+
"icon": "layout-list"
|
|
2723
2791
|
},
|
|
2724
2792
|
{
|
|
2725
2793
|
"label": "Checkout",
|
|
2726
|
-
"
|
|
2727
|
-
"
|
|
2794
|
+
"icon": "credit-card",
|
|
2795
|
+
"href": "/checkout"
|
|
2728
2796
|
},
|
|
2729
2797
|
{
|
|
2798
|
+
"icon": "clipboard-list",
|
|
2730
2799
|
"label": "Orders",
|
|
2731
|
-
"href": "/orders"
|
|
2732
|
-
"icon": "clipboard-list"
|
|
2800
|
+
"href": "/orders"
|
|
2733
2801
|
}
|
|
2734
2802
|
],
|
|
2803
|
+
"appName": "ServiceMarketplace",
|
|
2735
2804
|
"children": [
|
|
2736
2805
|
{
|
|
2737
|
-
"
|
|
2806
|
+
"title": "Authorizing...",
|
|
2738
2807
|
"message": "Redirecting to provider for authorization.",
|
|
2739
|
-
"
|
|
2808
|
+
"type": "loading-state"
|
|
2740
2809
|
}
|
|
2741
|
-
]
|
|
2742
|
-
"type": "dashboard-layout",
|
|
2743
|
-
"appName": "ServiceMarketplace"
|
|
2810
|
+
]
|
|
2744
2811
|
}
|
|
2745
2812
|
],
|
|
2746
2813
|
[
|
|
@@ -2779,64 +2846,64 @@
|
|
|
2779
2846
|
{
|
|
2780
2847
|
"navItems": [
|
|
2781
2848
|
{
|
|
2782
|
-
"
|
|
2849
|
+
"icon": "package",
|
|
2783
2850
|
"href": "/products",
|
|
2784
|
-
"
|
|
2851
|
+
"label": "Products"
|
|
2785
2852
|
},
|
|
2786
2853
|
{
|
|
2787
2854
|
"label": "Login",
|
|
2788
|
-
"
|
|
2789
|
-
"
|
|
2855
|
+
"icon": "layout-list",
|
|
2856
|
+
"href": "/login"
|
|
2790
2857
|
},
|
|
2791
2858
|
{
|
|
2792
|
-
"label": "Checkout",
|
|
2793
2859
|
"href": "/checkout",
|
|
2860
|
+
"label": "Checkout",
|
|
2794
2861
|
"icon": "credit-card"
|
|
2795
2862
|
},
|
|
2796
2863
|
{
|
|
2864
|
+
"icon": "clipboard-list",
|
|
2797
2865
|
"label": "Orders",
|
|
2798
|
-
"href": "/orders"
|
|
2799
|
-
"icon": "clipboard-list"
|
|
2866
|
+
"href": "/orders"
|
|
2800
2867
|
}
|
|
2801
2868
|
],
|
|
2802
2869
|
"appName": "ServiceMarketplace",
|
|
2803
|
-
"type": "dashboard-layout",
|
|
2804
2870
|
"children": [
|
|
2805
2871
|
{
|
|
2872
|
+
"direction": "vertical",
|
|
2873
|
+
"type": "stack",
|
|
2874
|
+
"gap": "lg",
|
|
2875
|
+
"align": "center",
|
|
2806
2876
|
"children": [
|
|
2807
2877
|
{
|
|
2808
|
-
"
|
|
2809
|
-
"
|
|
2878
|
+
"name": "external-link",
|
|
2879
|
+
"type": "icon"
|
|
2810
2880
|
},
|
|
2811
2881
|
{
|
|
2812
|
-
"type": "typography",
|
|
2813
2882
|
"variant": "h2",
|
|
2883
|
+
"type": "typography",
|
|
2814
2884
|
"content": "Authorization Required"
|
|
2815
2885
|
},
|
|
2816
2886
|
{
|
|
2817
|
-
"content": "@entity.authUrl",
|
|
2818
|
-
"color": "muted",
|
|
2819
2887
|
"type": "typography",
|
|
2820
|
-
"variant": "body"
|
|
2888
|
+
"variant": "body",
|
|
2889
|
+
"content": "@entity.authUrl",
|
|
2890
|
+
"color": "muted"
|
|
2821
2891
|
},
|
|
2822
2892
|
{
|
|
2823
2893
|
"placeholder": "Paste authorization code here",
|
|
2824
2894
|
"type": "input"
|
|
2825
2895
|
},
|
|
2826
2896
|
{
|
|
2827
|
-
"type": "button",
|
|
2828
2897
|
"action": "CALLBACK",
|
|
2898
|
+
"type": "button",
|
|
2829
2899
|
"variant": "primary",
|
|
2830
|
-
"
|
|
2831
|
-
"
|
|
2900
|
+
"icon": "check",
|
|
2901
|
+
"label": "Submit"
|
|
2832
2902
|
}
|
|
2833
|
-
]
|
|
2834
|
-
"gap": "lg",
|
|
2835
|
-
"direction": "vertical",
|
|
2836
|
-
"align": "center",
|
|
2837
|
-
"type": "stack"
|
|
2903
|
+
]
|
|
2838
2904
|
}
|
|
2839
|
-
]
|
|
2905
|
+
],
|
|
2906
|
+
"type": "dashboard-layout"
|
|
2840
2907
|
}
|
|
2841
2908
|
]
|
|
2842
2909
|
]
|
|
@@ -2855,8 +2922,8 @@
|
|
|
2855
2922
|
},
|
|
2856
2923
|
{
|
|
2857
2924
|
"emit": {
|
|
2858
|
-
"
|
|
2859
|
-
"
|
|
2925
|
+
"success": "ProductOauthCompleted",
|
|
2926
|
+
"failure": "ProductOauthFailed"
|
|
2860
2927
|
}
|
|
2861
2928
|
}
|
|
2862
2929
|
],
|
|
@@ -2865,70 +2932,70 @@
|
|
|
2865
2932
|
"main",
|
|
2866
2933
|
{
|
|
2867
2934
|
"type": "dashboard-layout",
|
|
2868
|
-
"
|
|
2869
|
-
{
|
|
2870
|
-
"href": "/products",
|
|
2871
|
-
"label": "Products",
|
|
2872
|
-
"icon": "package"
|
|
2873
|
-
},
|
|
2874
|
-
{
|
|
2875
|
-
"label": "Login",
|
|
2876
|
-
"icon": "layout-list",
|
|
2877
|
-
"href": "/login"
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"icon": "credit-card",
|
|
2881
|
-
"label": "Checkout",
|
|
2882
|
-
"href": "/checkout"
|
|
2883
|
-
},
|
|
2884
|
-
{
|
|
2885
|
-
"label": "Orders",
|
|
2886
|
-
"icon": "clipboard-list",
|
|
2887
|
-
"href": "/orders"
|
|
2888
|
-
}
|
|
2889
|
-
],
|
|
2935
|
+
"appName": "ServiceMarketplace",
|
|
2890
2936
|
"children": [
|
|
2891
2937
|
{
|
|
2892
|
-
"direction": "vertical",
|
|
2893
|
-
"align": "center",
|
|
2894
|
-
"type": "stack",
|
|
2895
2938
|
"children": [
|
|
2896
2939
|
{
|
|
2897
|
-
"
|
|
2898
|
-
"
|
|
2940
|
+
"type": "icon",
|
|
2941
|
+
"name": "check-circle"
|
|
2899
2942
|
},
|
|
2900
2943
|
{
|
|
2901
2944
|
"variant": "success",
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
2945
|
+
"message": "Authenticated successfully",
|
|
2946
|
+
"type": "alert"
|
|
2904
2947
|
},
|
|
2905
2948
|
{
|
|
2949
|
+
"gap": "sm",
|
|
2950
|
+
"direction": "horizontal",
|
|
2906
2951
|
"type": "stack",
|
|
2952
|
+
"justify": "center",
|
|
2907
2953
|
"children": [
|
|
2908
2954
|
{
|
|
2909
|
-
"label": "Refresh Token",
|
|
2910
2955
|
"icon": "refresh-cw",
|
|
2911
|
-
"type": "button",
|
|
2912
2956
|
"action": "REFRESH",
|
|
2913
|
-
"variant": "ghost"
|
|
2957
|
+
"variant": "ghost",
|
|
2958
|
+
"type": "button",
|
|
2959
|
+
"label": "Refresh Token"
|
|
2914
2960
|
},
|
|
2915
2961
|
{
|
|
2962
|
+
"icon": "log-out",
|
|
2916
2963
|
"label": "Logout",
|
|
2917
2964
|
"action": "LOGOUT",
|
|
2918
|
-
"icon": "log-out",
|
|
2919
2965
|
"variant": "ghost",
|
|
2920
2966
|
"type": "button"
|
|
2921
2967
|
}
|
|
2922
|
-
]
|
|
2923
|
-
"gap": "sm",
|
|
2924
|
-
"justify": "center",
|
|
2925
|
-
"direction": "horizontal"
|
|
2968
|
+
]
|
|
2926
2969
|
}
|
|
2927
2970
|
],
|
|
2928
|
-
"
|
|
2971
|
+
"type": "stack",
|
|
2972
|
+
"direction": "vertical",
|
|
2973
|
+
"gap": "lg",
|
|
2974
|
+
"align": "center"
|
|
2929
2975
|
}
|
|
2930
2976
|
],
|
|
2931
|
-
"
|
|
2977
|
+
"navItems": [
|
|
2978
|
+
{
|
|
2979
|
+
"icon": "package",
|
|
2980
|
+
"href": "/products",
|
|
2981
|
+
"label": "Products"
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"href": "/login",
|
|
2985
|
+
"icon": "layout-list",
|
|
2986
|
+
"label": "Login"
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"label": "Checkout",
|
|
2990
|
+
"icon": "credit-card",
|
|
2991
|
+
"href": "/checkout"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"href": "/orders",
|
|
2995
|
+
"icon": "clipboard-list",
|
|
2996
|
+
"label": "Orders"
|
|
2997
|
+
}
|
|
2998
|
+
]
|
|
2932
2999
|
}
|
|
2933
3000
|
]
|
|
2934
3001
|
]
|
|
@@ -2947,51 +3014,51 @@
|
|
|
2947
3014
|
"render-ui",
|
|
2948
3015
|
"main",
|
|
2949
3016
|
{
|
|
2950
|
-
"type": "dashboard-layout",
|
|
2951
3017
|
"children": [
|
|
2952
3018
|
{
|
|
2953
|
-
"
|
|
3019
|
+
"gap": "lg",
|
|
3020
|
+
"direction": "vertical",
|
|
2954
3021
|
"align": "center",
|
|
2955
3022
|
"children": [
|
|
2956
3023
|
{
|
|
2957
|
-
"message": "@entity.error",
|
|
2958
|
-
"type": "error-state",
|
|
2959
3024
|
"onRetry": "RETRY",
|
|
2960
|
-
"
|
|
3025
|
+
"type": "error-state",
|
|
3026
|
+
"title": "Authentication Failed",
|
|
3027
|
+
"message": "@entity.error"
|
|
2961
3028
|
},
|
|
2962
3029
|
{
|
|
2963
|
-
"
|
|
3030
|
+
"action": "RETRY",
|
|
2964
3031
|
"variant": "primary",
|
|
3032
|
+
"label": "Try Again",
|
|
2965
3033
|
"type": "button",
|
|
2966
|
-
"action": "RETRY",
|
|
2967
3034
|
"icon": "rotate-ccw"
|
|
2968
3035
|
}
|
|
2969
3036
|
],
|
|
2970
|
-
"
|
|
2971
|
-
"gap": "lg"
|
|
3037
|
+
"type": "stack"
|
|
2972
3038
|
}
|
|
2973
3039
|
],
|
|
2974
3040
|
"appName": "ServiceMarketplace",
|
|
3041
|
+
"type": "dashboard-layout",
|
|
2975
3042
|
"navItems": [
|
|
2976
3043
|
{
|
|
3044
|
+
"icon": "package",
|
|
2977
3045
|
"label": "Products",
|
|
2978
|
-
"href": "/products"
|
|
2979
|
-
"icon": "package"
|
|
3046
|
+
"href": "/products"
|
|
2980
3047
|
},
|
|
2981
3048
|
{
|
|
2982
|
-
"label": "Login",
|
|
2983
3049
|
"href": "/login",
|
|
2984
|
-
"icon": "layout-list"
|
|
3050
|
+
"icon": "layout-list",
|
|
3051
|
+
"label": "Login"
|
|
2985
3052
|
},
|
|
2986
3053
|
{
|
|
2987
|
-
"
|
|
3054
|
+
"icon": "credit-card",
|
|
2988
3055
|
"label": "Checkout",
|
|
2989
|
-
"
|
|
3056
|
+
"href": "/checkout"
|
|
2990
3057
|
},
|
|
2991
3058
|
{
|
|
3059
|
+
"href": "/orders",
|
|
2992
3060
|
"icon": "clipboard-list",
|
|
2993
|
-
"label": "Orders"
|
|
2994
|
-
"href": "/orders"
|
|
3061
|
+
"label": "Orders"
|
|
2995
3062
|
}
|
|
2996
3063
|
]
|
|
2997
3064
|
}
|
|
@@ -3022,54 +3089,54 @@
|
|
|
3022
3089
|
"render-ui",
|
|
3023
3090
|
"main",
|
|
3024
3091
|
{
|
|
3025
|
-
"appName": "ServiceMarketplace",
|
|
3026
|
-
"type": "dashboard-layout",
|
|
3027
3092
|
"children": [
|
|
3028
3093
|
{
|
|
3094
|
+
"gap": "lg",
|
|
3029
3095
|
"type": "stack",
|
|
3030
3096
|
"direction": "vertical",
|
|
3031
|
-
"align": "center",
|
|
3032
3097
|
"children": [
|
|
3033
3098
|
{
|
|
3034
|
-
"
|
|
3035
|
-
"
|
|
3099
|
+
"type": "icon",
|
|
3100
|
+
"name": "check-circle"
|
|
3036
3101
|
},
|
|
3037
3102
|
{
|
|
3038
|
-
"variant": "success",
|
|
3039
3103
|
"message": "Authenticated successfully",
|
|
3040
|
-
"type": "alert"
|
|
3104
|
+
"type": "alert",
|
|
3105
|
+
"variant": "success"
|
|
3041
3106
|
},
|
|
3042
3107
|
{
|
|
3108
|
+
"direction": "horizontal",
|
|
3109
|
+
"gap": "sm",
|
|
3043
3110
|
"justify": "center",
|
|
3044
3111
|
"children": [
|
|
3045
3112
|
{
|
|
3113
|
+
"action": "REFRESH",
|
|
3046
3114
|
"label": "Refresh Token",
|
|
3047
|
-
"type": "button",
|
|
3048
3115
|
"variant": "ghost",
|
|
3049
3116
|
"icon": "refresh-cw",
|
|
3050
|
-
"
|
|
3117
|
+
"type": "button"
|
|
3051
3118
|
},
|
|
3052
3119
|
{
|
|
3053
|
-
"icon": "log-out",
|
|
3054
3120
|
"action": "LOGOUT",
|
|
3055
3121
|
"label": "Logout",
|
|
3056
3122
|
"type": "button",
|
|
3057
|
-
"variant": "ghost"
|
|
3123
|
+
"variant": "ghost",
|
|
3124
|
+
"icon": "log-out"
|
|
3058
3125
|
}
|
|
3059
3126
|
],
|
|
3060
|
-
"direction": "horizontal",
|
|
3061
|
-
"gap": "sm",
|
|
3062
3127
|
"type": "stack"
|
|
3063
3128
|
}
|
|
3064
3129
|
],
|
|
3065
|
-
"
|
|
3130
|
+
"align": "center"
|
|
3066
3131
|
}
|
|
3067
3132
|
],
|
|
3133
|
+
"type": "dashboard-layout",
|
|
3134
|
+
"appName": "ServiceMarketplace",
|
|
3068
3135
|
"navItems": [
|
|
3069
3136
|
{
|
|
3070
|
-
"label": "Products",
|
|
3071
3137
|
"icon": "package",
|
|
3072
|
-
"href": "/products"
|
|
3138
|
+
"href": "/products",
|
|
3139
|
+
"label": "Products"
|
|
3073
3140
|
},
|
|
3074
3141
|
{
|
|
3075
3142
|
"label": "Login",
|
|
@@ -3077,9 +3144,9 @@
|
|
|
3077
3144
|
"icon": "layout-list"
|
|
3078
3145
|
},
|
|
3079
3146
|
{
|
|
3147
|
+
"href": "/checkout",
|
|
3080
3148
|
"label": "Checkout",
|
|
3081
|
-
"icon": "credit-card"
|
|
3082
|
-
"href": "/checkout"
|
|
3149
|
+
"icon": "credit-card"
|
|
3083
3150
|
},
|
|
3084
3151
|
{
|
|
3085
3152
|
"label": "Orders",
|
|
@@ -3100,17 +3167,18 @@
|
|
|
3100
3167
|
"render-ui",
|
|
3101
3168
|
"main",
|
|
3102
3169
|
{
|
|
3170
|
+
"appName": "ServiceMarketplace",
|
|
3103
3171
|
"type": "dashboard-layout",
|
|
3104
3172
|
"navItems": [
|
|
3105
3173
|
{
|
|
3106
|
-
"href": "/products",
|
|
3107
3174
|
"label": "Products",
|
|
3108
|
-
"icon": "package"
|
|
3175
|
+
"icon": "package",
|
|
3176
|
+
"href": "/products"
|
|
3109
3177
|
},
|
|
3110
3178
|
{
|
|
3111
|
-
"
|
|
3179
|
+
"href": "/login",
|
|
3112
3180
|
"label": "Login",
|
|
3113
|
-
"
|
|
3181
|
+
"icon": "layout-list"
|
|
3114
3182
|
},
|
|
3115
3183
|
{
|
|
3116
3184
|
"label": "Checkout",
|
|
@@ -3118,19 +3186,18 @@
|
|
|
3118
3186
|
"href": "/checkout"
|
|
3119
3187
|
},
|
|
3120
3188
|
{
|
|
3121
|
-
"
|
|
3189
|
+
"href": "/orders",
|
|
3122
3190
|
"icon": "clipboard-list",
|
|
3123
|
-
"
|
|
3191
|
+
"label": "Orders"
|
|
3124
3192
|
}
|
|
3125
3193
|
],
|
|
3126
3194
|
"children": [
|
|
3127
3195
|
{
|
|
3128
|
-
"message": "Obtaining a new access token.",
|
|
3129
3196
|
"title": "Refreshing token...",
|
|
3130
|
-
"type": "loading-state"
|
|
3197
|
+
"type": "loading-state",
|
|
3198
|
+
"message": "Obtaining a new access token."
|
|
3131
3199
|
}
|
|
3132
|
-
]
|
|
3133
|
-
"appName": "ServiceMarketplace"
|
|
3200
|
+
]
|
|
3134
3201
|
}
|
|
3135
3202
|
],
|
|
3136
3203
|
[
|
|
@@ -3142,8 +3209,8 @@
|
|
|
3142
3209
|
},
|
|
3143
3210
|
{
|
|
3144
3211
|
"emit": {
|
|
3145
|
-
"
|
|
3146
|
-
"
|
|
3212
|
+
"success": "ProductOauthCompleted",
|
|
3213
|
+
"failure": "ProductOauthFailed"
|
|
3147
3214
|
}
|
|
3148
3215
|
}
|
|
3149
3216
|
]
|
|
@@ -3165,14 +3232,14 @@
|
|
|
3165
3232
|
{
|
|
3166
3233
|
"navItems": [
|
|
3167
3234
|
{
|
|
3168
|
-
"
|
|
3235
|
+
"href": "/products",
|
|
3169
3236
|
"icon": "package",
|
|
3170
|
-
"
|
|
3237
|
+
"label": "Products"
|
|
3171
3238
|
},
|
|
3172
3239
|
{
|
|
3173
|
-
"icon": "layout-list",
|
|
3174
3240
|
"label": "Login",
|
|
3175
|
-
"href": "/login"
|
|
3241
|
+
"href": "/login",
|
|
3242
|
+
"icon": "layout-list"
|
|
3176
3243
|
},
|
|
3177
3244
|
{
|
|
3178
3245
|
"label": "Checkout",
|
|
@@ -3180,34 +3247,31 @@
|
|
|
3180
3247
|
"icon": "credit-card"
|
|
3181
3248
|
},
|
|
3182
3249
|
{
|
|
3250
|
+
"label": "Orders",
|
|
3183
3251
|
"icon": "clipboard-list",
|
|
3184
|
-
"href": "/orders"
|
|
3185
|
-
"label": "Orders"
|
|
3252
|
+
"href": "/orders"
|
|
3186
3253
|
}
|
|
3187
3254
|
],
|
|
3188
|
-
"type": "dashboard-layout",
|
|
3189
3255
|
"appName": "ServiceMarketplace",
|
|
3190
3256
|
"children": [
|
|
3191
3257
|
{
|
|
3192
|
-
"align": "center",
|
|
3193
|
-
"gap": "lg",
|
|
3194
3258
|
"children": [
|
|
3195
3259
|
{
|
|
3196
|
-
"align": "center",
|
|
3197
|
-
"type": "stack",
|
|
3198
|
-
"gap": "md",
|
|
3199
|
-
"direction": "horizontal",
|
|
3200
3260
|
"children": [
|
|
3201
3261
|
{
|
|
3202
3262
|
"type": "icon",
|
|
3203
3263
|
"name": "lock"
|
|
3204
3264
|
},
|
|
3205
3265
|
{
|
|
3206
|
-
"variant": "h2",
|
|
3207
3266
|
"type": "typography",
|
|
3267
|
+
"variant": "h2",
|
|
3208
3268
|
"content": "Sign In"
|
|
3209
3269
|
}
|
|
3210
|
-
]
|
|
3270
|
+
],
|
|
3271
|
+
"align": "center",
|
|
3272
|
+
"direction": "horizontal",
|
|
3273
|
+
"type": "stack",
|
|
3274
|
+
"gap": "md"
|
|
3211
3275
|
},
|
|
3212
3276
|
{
|
|
3213
3277
|
"type": "divider"
|
|
@@ -3219,28 +3283,31 @@
|
|
|
3219
3283
|
"label": "Google"
|
|
3220
3284
|
},
|
|
3221
3285
|
{
|
|
3222
|
-
"
|
|
3223
|
-
"
|
|
3286
|
+
"label": "GitHub",
|
|
3287
|
+
"value": "github"
|
|
3224
3288
|
},
|
|
3225
3289
|
{
|
|
3226
|
-
"
|
|
3227
|
-
"
|
|
3290
|
+
"label": "Microsoft",
|
|
3291
|
+
"value": "microsoft"
|
|
3228
3292
|
}
|
|
3229
3293
|
],
|
|
3230
3294
|
"type": "select"
|
|
3231
3295
|
},
|
|
3232
3296
|
{
|
|
3233
3297
|
"type": "button",
|
|
3234
|
-
"
|
|
3235
|
-
"label": "Login",
|
|
3298
|
+
"icon": "log-in",
|
|
3236
3299
|
"variant": "primary",
|
|
3237
|
-
"
|
|
3300
|
+
"action": "LOGIN",
|
|
3301
|
+
"label": "Login"
|
|
3238
3302
|
}
|
|
3239
3303
|
],
|
|
3240
3304
|
"direction": "vertical",
|
|
3241
|
-
"type": "stack"
|
|
3305
|
+
"type": "stack",
|
|
3306
|
+
"gap": "lg",
|
|
3307
|
+
"align": "center"
|
|
3242
3308
|
}
|
|
3243
|
-
]
|
|
3309
|
+
],
|
|
3310
|
+
"type": "dashboard-layout"
|
|
3244
3311
|
}
|
|
3245
3312
|
]
|
|
3246
3313
|
]
|
|
@@ -3259,8 +3326,12 @@
|
|
|
3259
3326
|
"render-ui",
|
|
3260
3327
|
"main",
|
|
3261
3328
|
{
|
|
3329
|
+
"appName": "ServiceMarketplace",
|
|
3262
3330
|
"children": [
|
|
3263
3331
|
{
|
|
3332
|
+
"direction": "vertical",
|
|
3333
|
+
"gap": "lg",
|
|
3334
|
+
"type": "stack",
|
|
3264
3335
|
"align": "center",
|
|
3265
3336
|
"children": [
|
|
3266
3337
|
{
|
|
@@ -3268,42 +3339,40 @@
|
|
|
3268
3339
|
"name": "check-circle"
|
|
3269
3340
|
},
|
|
3270
3341
|
{
|
|
3342
|
+
"variant": "success",
|
|
3271
3343
|
"type": "alert",
|
|
3272
|
-
"message": "Authenticated successfully"
|
|
3273
|
-
"variant": "success"
|
|
3344
|
+
"message": "Authenticated successfully"
|
|
3274
3345
|
},
|
|
3275
3346
|
{
|
|
3276
|
-
"gap": "sm",
|
|
3277
|
-
"justify": "center",
|
|
3278
|
-
"direction": "horizontal",
|
|
3279
3347
|
"children": [
|
|
3280
3348
|
{
|
|
3281
|
-
"label": "Refresh Token",
|
|
3282
3349
|
"action": "REFRESH",
|
|
3283
|
-
"type": "button",
|
|
3284
3350
|
"variant": "ghost",
|
|
3351
|
+
"type": "button",
|
|
3352
|
+
"label": "Refresh Token",
|
|
3285
3353
|
"icon": "refresh-cw"
|
|
3286
3354
|
},
|
|
3287
3355
|
{
|
|
3288
|
-
"icon": "log-out",
|
|
3289
3356
|
"variant": "ghost",
|
|
3290
3357
|
"type": "button",
|
|
3291
|
-
"
|
|
3292
|
-
"
|
|
3358
|
+
"action": "LOGOUT",
|
|
3359
|
+
"icon": "log-out",
|
|
3360
|
+
"label": "Logout"
|
|
3293
3361
|
}
|
|
3294
3362
|
],
|
|
3295
|
-
"
|
|
3363
|
+
"gap": "sm",
|
|
3364
|
+
"direction": "horizontal",
|
|
3365
|
+
"type": "stack",
|
|
3366
|
+
"justify": "center"
|
|
3296
3367
|
}
|
|
3297
|
-
]
|
|
3298
|
-
"direction": "vertical",
|
|
3299
|
-
"type": "stack",
|
|
3300
|
-
"gap": "lg"
|
|
3368
|
+
]
|
|
3301
3369
|
}
|
|
3302
3370
|
],
|
|
3371
|
+
"type": "dashboard-layout",
|
|
3303
3372
|
"navItems": [
|
|
3304
3373
|
{
|
|
3305
|
-
"href": "/products",
|
|
3306
3374
|
"label": "Products",
|
|
3375
|
+
"href": "/products",
|
|
3307
3376
|
"icon": "package"
|
|
3308
3377
|
},
|
|
3309
3378
|
{
|
|
@@ -3312,18 +3381,16 @@
|
|
|
3312
3381
|
"href": "/login"
|
|
3313
3382
|
},
|
|
3314
3383
|
{
|
|
3315
|
-
"label": "Checkout",
|
|
3316
3384
|
"icon": "credit-card",
|
|
3385
|
+
"label": "Checkout",
|
|
3317
3386
|
"href": "/checkout"
|
|
3318
3387
|
},
|
|
3319
3388
|
{
|
|
3320
|
-
"href": "/orders",
|
|
3321
3389
|
"label": "Orders",
|
|
3322
|
-
"icon": "clipboard-list"
|
|
3390
|
+
"icon": "clipboard-list",
|
|
3391
|
+
"href": "/orders"
|
|
3323
3392
|
}
|
|
3324
|
-
]
|
|
3325
|
-
"appName": "ServiceMarketplace",
|
|
3326
|
-
"type": "dashboard-layout"
|
|
3393
|
+
]
|
|
3327
3394
|
}
|
|
3328
3395
|
]
|
|
3329
3396
|
]
|
|
@@ -3342,22 +3409,24 @@
|
|
|
3342
3409
|
"render-ui",
|
|
3343
3410
|
"main",
|
|
3344
3411
|
{
|
|
3412
|
+
"type": "dashboard-layout",
|
|
3413
|
+
"appName": "ServiceMarketplace",
|
|
3345
3414
|
"children": [
|
|
3346
3415
|
{
|
|
3347
3416
|
"align": "center",
|
|
3348
3417
|
"children": [
|
|
3349
3418
|
{
|
|
3350
|
-
"
|
|
3419
|
+
"onRetry": "RETRY",
|
|
3351
3420
|
"message": "@entity.error",
|
|
3352
|
-
"
|
|
3353
|
-
"
|
|
3421
|
+
"type": "error-state",
|
|
3422
|
+
"title": "Authentication Failed"
|
|
3354
3423
|
},
|
|
3355
3424
|
{
|
|
3425
|
+
"label": "Try Again",
|
|
3356
3426
|
"type": "button",
|
|
3357
3427
|
"variant": "primary",
|
|
3358
|
-
"
|
|
3359
|
-
"
|
|
3360
|
-
"action": "RETRY"
|
|
3428
|
+
"action": "RETRY",
|
|
3429
|
+
"icon": "rotate-ccw"
|
|
3361
3430
|
}
|
|
3362
3431
|
],
|
|
3363
3432
|
"type": "stack",
|
|
@@ -3365,7 +3434,6 @@
|
|
|
3365
3434
|
"direction": "vertical"
|
|
3366
3435
|
}
|
|
3367
3436
|
],
|
|
3368
|
-
"appName": "ServiceMarketplace",
|
|
3369
3437
|
"navItems": [
|
|
3370
3438
|
{
|
|
3371
3439
|
"label": "Products",
|
|
@@ -3374,21 +3442,20 @@
|
|
|
3374
3442
|
},
|
|
3375
3443
|
{
|
|
3376
3444
|
"icon": "layout-list",
|
|
3377
|
-
"
|
|
3378
|
-
"
|
|
3445
|
+
"href": "/login",
|
|
3446
|
+
"label": "Login"
|
|
3379
3447
|
},
|
|
3380
3448
|
{
|
|
3381
3449
|
"label": "Checkout",
|
|
3382
|
-
"
|
|
3383
|
-
"
|
|
3450
|
+
"icon": "credit-card",
|
|
3451
|
+
"href": "/checkout"
|
|
3384
3452
|
},
|
|
3385
3453
|
{
|
|
3386
3454
|
"icon": "clipboard-list",
|
|
3387
|
-
"
|
|
3388
|
-
"
|
|
3455
|
+
"label": "Orders",
|
|
3456
|
+
"href": "/orders"
|
|
3389
3457
|
}
|
|
3390
|
-
]
|
|
3391
|
-
"type": "dashboard-layout"
|
|
3458
|
+
]
|
|
3392
3459
|
}
|
|
3393
3460
|
]
|
|
3394
3461
|
]
|
|
@@ -3405,26 +3472,27 @@
|
|
|
3405
3472
|
"type": "dashboard-layout",
|
|
3406
3473
|
"children": [
|
|
3407
3474
|
{
|
|
3408
|
-
"
|
|
3409
|
-
"type": "stack",
|
|
3475
|
+
"direction": "vertical",
|
|
3410
3476
|
"align": "center",
|
|
3477
|
+
"type": "stack",
|
|
3478
|
+
"gap": "lg",
|
|
3411
3479
|
"children": [
|
|
3412
3480
|
{
|
|
3481
|
+
"align": "center",
|
|
3482
|
+
"gap": "md",
|
|
3483
|
+
"type": "stack",
|
|
3484
|
+
"direction": "horizontal",
|
|
3413
3485
|
"children": [
|
|
3414
3486
|
{
|
|
3415
|
-
"
|
|
3416
|
-
"
|
|
3487
|
+
"type": "icon",
|
|
3488
|
+
"name": "lock"
|
|
3417
3489
|
},
|
|
3418
3490
|
{
|
|
3419
|
-
"
|
|
3491
|
+
"variant": "h2",
|
|
3420
3492
|
"content": "Sign In",
|
|
3421
|
-
"
|
|
3493
|
+
"type": "typography"
|
|
3422
3494
|
}
|
|
3423
|
-
]
|
|
3424
|
-
"type": "stack",
|
|
3425
|
-
"align": "center",
|
|
3426
|
-
"direction": "horizontal",
|
|
3427
|
-
"gap": "md"
|
|
3495
|
+
]
|
|
3428
3496
|
},
|
|
3429
3497
|
{
|
|
3430
3498
|
"type": "divider"
|
|
@@ -3432,12 +3500,12 @@
|
|
|
3432
3500
|
{
|
|
3433
3501
|
"options": [
|
|
3434
3502
|
{
|
|
3435
|
-
"
|
|
3436
|
-
"
|
|
3503
|
+
"label": "Google",
|
|
3504
|
+
"value": "google"
|
|
3437
3505
|
},
|
|
3438
3506
|
{
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3507
|
+
"value": "github",
|
|
3508
|
+
"label": "GitHub"
|
|
3441
3509
|
},
|
|
3442
3510
|
{
|
|
3443
3511
|
"value": "microsoft",
|
|
@@ -3447,16 +3515,16 @@
|
|
|
3447
3515
|
"type": "select"
|
|
3448
3516
|
},
|
|
3449
3517
|
{
|
|
3518
|
+
"variant": "primary",
|
|
3450
3519
|
"label": "Login",
|
|
3451
|
-
"action": "LOGIN",
|
|
3452
|
-
"type": "button",
|
|
3453
3520
|
"icon": "log-in",
|
|
3454
|
-
"
|
|
3521
|
+
"action": "LOGIN",
|
|
3522
|
+
"type": "button"
|
|
3455
3523
|
}
|
|
3456
|
-
]
|
|
3457
|
-
"direction": "vertical"
|
|
3524
|
+
]
|
|
3458
3525
|
}
|
|
3459
3526
|
],
|
|
3527
|
+
"appName": "ServiceMarketplace",
|
|
3460
3528
|
"navItems": [
|
|
3461
3529
|
{
|
|
3462
3530
|
"label": "Products",
|
|
@@ -3465,21 +3533,20 @@
|
|
|
3465
3533
|
},
|
|
3466
3534
|
{
|
|
3467
3535
|
"href": "/login",
|
|
3468
|
-
"
|
|
3469
|
-
"
|
|
3536
|
+
"label": "Login",
|
|
3537
|
+
"icon": "layout-list"
|
|
3470
3538
|
},
|
|
3471
3539
|
{
|
|
3472
3540
|
"href": "/checkout",
|
|
3473
|
-
"
|
|
3474
|
-
"
|
|
3541
|
+
"icon": "credit-card",
|
|
3542
|
+
"label": "Checkout"
|
|
3475
3543
|
},
|
|
3476
3544
|
{
|
|
3477
3545
|
"href": "/orders",
|
|
3478
|
-
"
|
|
3479
|
-
"
|
|
3546
|
+
"icon": "clipboard-list",
|
|
3547
|
+
"label": "Orders"
|
|
3480
3548
|
}
|
|
3481
|
-
]
|
|
3482
|
-
"appName": "ServiceMarketplace"
|
|
3549
|
+
]
|
|
3483
3550
|
}
|
|
3484
3551
|
]
|
|
3485
3552
|
]
|
|
@@ -3748,13 +3815,23 @@
|
|
|
3748
3815
|
"to": "idle",
|
|
3749
3816
|
"event": "INIT",
|
|
3750
3817
|
"effects": [
|
|
3818
|
+
[
|
|
3819
|
+
"set",
|
|
3820
|
+
"@entity.amount",
|
|
3821
|
+
0.0
|
|
3822
|
+
],
|
|
3823
|
+
[
|
|
3824
|
+
"set",
|
|
3825
|
+
"@entity.currency",
|
|
3826
|
+
""
|
|
3827
|
+
],
|
|
3751
3828
|
[
|
|
3752
3829
|
"fetch",
|
|
3753
3830
|
"OrderPayment",
|
|
3754
3831
|
{
|
|
3755
3832
|
"emit": {
|
|
3756
|
-
"
|
|
3757
|
-
"
|
|
3833
|
+
"failure": "OrderPaymentLoadFailed",
|
|
3834
|
+
"success": "OrderPaymentLoaded"
|
|
3758
3835
|
}
|
|
3759
3836
|
}
|
|
3760
3837
|
],
|
|
@@ -3762,33 +3839,35 @@
|
|
|
3762
3839
|
"render-ui",
|
|
3763
3840
|
"main",
|
|
3764
3841
|
{
|
|
3765
|
-
"
|
|
3842
|
+
"appName": "ServiceMarketplace",
|
|
3766
3843
|
"children": [
|
|
3767
3844
|
{
|
|
3768
|
-
"
|
|
3769
|
-
"gap": "lg",
|
|
3845
|
+
"align": "center",
|
|
3770
3846
|
"children": [
|
|
3771
3847
|
{
|
|
3772
|
-
"type": "stack",
|
|
3773
3848
|
"align": "center",
|
|
3849
|
+
"type": "stack",
|
|
3850
|
+
"gap": "md",
|
|
3774
3851
|
"direction": "horizontal",
|
|
3775
3852
|
"children": [
|
|
3776
3853
|
{
|
|
3777
|
-
"
|
|
3778
|
-
"
|
|
3854
|
+
"type": "icon",
|
|
3855
|
+
"name": "credit-card"
|
|
3779
3856
|
},
|
|
3780
3857
|
{
|
|
3781
3858
|
"content": "Payment",
|
|
3782
|
-
"
|
|
3783
|
-
"
|
|
3859
|
+
"type": "typography",
|
|
3860
|
+
"variant": "h2"
|
|
3784
3861
|
}
|
|
3785
|
-
]
|
|
3786
|
-
"gap": "md"
|
|
3862
|
+
]
|
|
3787
3863
|
},
|
|
3788
3864
|
{
|
|
3789
3865
|
"type": "divider"
|
|
3790
3866
|
},
|
|
3791
3867
|
{
|
|
3868
|
+
"type": "stack",
|
|
3869
|
+
"gap": "md",
|
|
3870
|
+
"direction": "vertical",
|
|
3792
3871
|
"children": [
|
|
3793
3872
|
{
|
|
3794
3873
|
"type": "input",
|
|
@@ -3796,6 +3875,7 @@
|
|
|
3796
3875
|
"placeholder": "0.00"
|
|
3797
3876
|
},
|
|
3798
3877
|
{
|
|
3878
|
+
"type": "select",
|
|
3799
3879
|
"options": [
|
|
3800
3880
|
{
|
|
3801
3881
|
"value": "usd",
|
|
@@ -3806,30 +3886,27 @@
|
|
|
3806
3886
|
"label": "EUR"
|
|
3807
3887
|
},
|
|
3808
3888
|
{
|
|
3809
|
-
"
|
|
3810
|
-
"
|
|
3889
|
+
"value": "gbp",
|
|
3890
|
+
"label": "GBP"
|
|
3811
3891
|
}
|
|
3812
|
-
]
|
|
3813
|
-
"type": "select"
|
|
3892
|
+
]
|
|
3814
3893
|
}
|
|
3815
|
-
]
|
|
3816
|
-
"direction": "vertical",
|
|
3817
|
-
"type": "stack",
|
|
3818
|
-
"gap": "md"
|
|
3894
|
+
]
|
|
3819
3895
|
},
|
|
3820
3896
|
{
|
|
3821
|
-
"variant": "primary",
|
|
3822
|
-
"action": "CREATE_PAYMENT",
|
|
3823
3897
|
"icon": "credit-card",
|
|
3898
|
+
"action": "CREATE_PAYMENT",
|
|
3899
|
+
"variant": "primary",
|
|
3824
3900
|
"type": "button",
|
|
3825
3901
|
"label": "Pay"
|
|
3826
3902
|
}
|
|
3827
3903
|
],
|
|
3828
|
-
"
|
|
3829
|
-
"
|
|
3904
|
+
"gap": "lg",
|
|
3905
|
+
"direction": "vertical",
|
|
3906
|
+
"type": "stack"
|
|
3830
3907
|
}
|
|
3831
3908
|
],
|
|
3832
|
-
"
|
|
3909
|
+
"type": "dashboard-layout",
|
|
3833
3910
|
"navItems": [
|
|
3834
3911
|
{
|
|
3835
3912
|
"label": "Products",
|
|
@@ -3838,18 +3915,18 @@
|
|
|
3838
3915
|
},
|
|
3839
3916
|
{
|
|
3840
3917
|
"href": "/login",
|
|
3841
|
-
"
|
|
3842
|
-
"
|
|
3918
|
+
"icon": "layout-list",
|
|
3919
|
+
"label": "Login"
|
|
3843
3920
|
},
|
|
3844
3921
|
{
|
|
3845
|
-
"icon": "credit-card",
|
|
3846
3922
|
"label": "Checkout",
|
|
3923
|
+
"icon": "credit-card",
|
|
3847
3924
|
"href": "/checkout"
|
|
3848
3925
|
},
|
|
3849
3926
|
{
|
|
3850
3927
|
"label": "Orders",
|
|
3851
|
-
"
|
|
3852
|
-
"
|
|
3928
|
+
"href": "/orders",
|
|
3929
|
+
"icon": "clipboard-list"
|
|
3853
3930
|
}
|
|
3854
3931
|
]
|
|
3855
3932
|
}
|
|
@@ -3865,37 +3942,37 @@
|
|
|
3865
3942
|
"render-ui",
|
|
3866
3943
|
"main",
|
|
3867
3944
|
{
|
|
3868
|
-
"children": [
|
|
3869
|
-
{
|
|
3870
|
-
"title": "Creating payment...",
|
|
3871
|
-
"message": "Setting up your payment intent.",
|
|
3872
|
-
"type": "loading-state"
|
|
3873
|
-
}
|
|
3874
|
-
],
|
|
3875
|
-
"type": "dashboard-layout",
|
|
3876
3945
|
"navItems": [
|
|
3877
3946
|
{
|
|
3878
|
-
"href": "/products",
|
|
3879
3947
|
"icon": "package",
|
|
3880
|
-
"label": "Products"
|
|
3948
|
+
"label": "Products",
|
|
3949
|
+
"href": "/products"
|
|
3881
3950
|
},
|
|
3882
3951
|
{
|
|
3952
|
+
"icon": "layout-list",
|
|
3883
3953
|
"label": "Login",
|
|
3884
|
-
"href": "/login"
|
|
3885
|
-
"icon": "layout-list"
|
|
3954
|
+
"href": "/login"
|
|
3886
3955
|
},
|
|
3887
3956
|
{
|
|
3888
|
-
"label": "Checkout",
|
|
3889
3957
|
"href": "/checkout",
|
|
3958
|
+
"label": "Checkout",
|
|
3890
3959
|
"icon": "credit-card"
|
|
3891
3960
|
},
|
|
3892
3961
|
{
|
|
3962
|
+
"label": "Orders",
|
|
3893
3963
|
"href": "/orders",
|
|
3894
|
-
"icon": "clipboard-list"
|
|
3895
|
-
"label": "Orders"
|
|
3964
|
+
"icon": "clipboard-list"
|
|
3896
3965
|
}
|
|
3897
3966
|
],
|
|
3898
|
-
"appName": "ServiceMarketplace"
|
|
3967
|
+
"appName": "ServiceMarketplace",
|
|
3968
|
+
"type": "dashboard-layout",
|
|
3969
|
+
"children": [
|
|
3970
|
+
{
|
|
3971
|
+
"message": "Setting up your payment intent.",
|
|
3972
|
+
"title": "Creating payment...",
|
|
3973
|
+
"type": "loading-state"
|
|
3974
|
+
}
|
|
3975
|
+
]
|
|
3899
3976
|
}
|
|
3900
3977
|
],
|
|
3901
3978
|
[
|
|
@@ -3903,13 +3980,13 @@
|
|
|
3903
3980
|
"stripe",
|
|
3904
3981
|
"createPaymentIntent",
|
|
3905
3982
|
{
|
|
3906
|
-
"
|
|
3907
|
-
"
|
|
3983
|
+
"currency": "@entity.currency",
|
|
3984
|
+
"amount": "@entity.amount"
|
|
3908
3985
|
},
|
|
3909
3986
|
{
|
|
3910
3987
|
"emit": {
|
|
3911
|
-
"
|
|
3912
|
-
"
|
|
3988
|
+
"success": "ProductStripeCompleted",
|
|
3989
|
+
"failure": "ProductStripeFailed"
|
|
3913
3990
|
}
|
|
3914
3991
|
}
|
|
3915
3992
|
]
|
|
@@ -3936,34 +4013,34 @@
|
|
|
3936
4013
|
{
|
|
3937
4014
|
"children": [
|
|
3938
4015
|
{
|
|
3939
|
-
"
|
|
4016
|
+
"type": "loading-state",
|
|
3940
4017
|
"message": "Processing your payment.",
|
|
3941
|
-
"
|
|
4018
|
+
"title": "Confirming payment..."
|
|
3942
4019
|
}
|
|
3943
4020
|
],
|
|
4021
|
+
"appName": "ServiceMarketplace",
|
|
3944
4022
|
"navItems": [
|
|
3945
4023
|
{
|
|
3946
|
-
"icon": "package",
|
|
3947
4024
|
"label": "Products",
|
|
3948
|
-
"href": "/products"
|
|
4025
|
+
"href": "/products",
|
|
4026
|
+
"icon": "package"
|
|
3949
4027
|
},
|
|
3950
4028
|
{
|
|
4029
|
+
"href": "/login",
|
|
3951
4030
|
"icon": "layout-list",
|
|
3952
|
-
"label": "Login"
|
|
3953
|
-
"href": "/login"
|
|
4031
|
+
"label": "Login"
|
|
3954
4032
|
},
|
|
3955
4033
|
{
|
|
4034
|
+
"href": "/checkout",
|
|
3956
4035
|
"label": "Checkout",
|
|
3957
|
-
"icon": "credit-card"
|
|
3958
|
-
"href": "/checkout"
|
|
4036
|
+
"icon": "credit-card"
|
|
3959
4037
|
},
|
|
3960
4038
|
{
|
|
3961
|
-
"
|
|
4039
|
+
"icon": "clipboard-list",
|
|
3962
4040
|
"label": "Orders",
|
|
3963
|
-
"
|
|
4041
|
+
"href": "/orders"
|
|
3964
4042
|
}
|
|
3965
4043
|
],
|
|
3966
|
-
"appName": "ServiceMarketplace",
|
|
3967
4044
|
"type": "dashboard-layout"
|
|
3968
4045
|
}
|
|
3969
4046
|
],
|
|
@@ -4010,25 +4087,25 @@
|
|
|
4010
4087
|
},
|
|
4011
4088
|
{
|
|
4012
4089
|
"href": "/checkout",
|
|
4013
|
-
"
|
|
4014
|
-
"
|
|
4090
|
+
"icon": "credit-card",
|
|
4091
|
+
"label": "Checkout"
|
|
4015
4092
|
},
|
|
4016
4093
|
{
|
|
4017
|
-
"href": "/orders",
|
|
4018
4094
|
"label": "Orders",
|
|
4019
|
-
"icon": "clipboard-list"
|
|
4095
|
+
"icon": "clipboard-list",
|
|
4096
|
+
"href": "/orders"
|
|
4020
4097
|
}
|
|
4021
4098
|
],
|
|
4022
4099
|
"appName": "ServiceMarketplace",
|
|
4023
|
-
"type": "dashboard-layout",
|
|
4024
4100
|
"children": [
|
|
4025
4101
|
{
|
|
4026
|
-
"message": "@entity.error",
|
|
4027
4102
|
"type": "error-state",
|
|
4103
|
+
"message": "@entity.error",
|
|
4028
4104
|
"onRetry": "RETRY",
|
|
4029
4105
|
"title": "Payment Failed"
|
|
4030
4106
|
}
|
|
4031
|
-
]
|
|
4107
|
+
],
|
|
4108
|
+
"type": "dashboard-layout"
|
|
4032
4109
|
}
|
|
4033
4110
|
]
|
|
4034
4111
|
]
|
|
@@ -4051,38 +4128,14 @@
|
|
|
4051
4128
|
"render-ui",
|
|
4052
4129
|
"main",
|
|
4053
4130
|
{
|
|
4054
|
-
"
|
|
4055
|
-
{
|
|
4056
|
-
"icon": "package",
|
|
4057
|
-
"label": "Products",
|
|
4058
|
-
"href": "/products"
|
|
4059
|
-
},
|
|
4060
|
-
{
|
|
4061
|
-
"icon": "layout-list",
|
|
4062
|
-
"href": "/login",
|
|
4063
|
-
"label": "Login"
|
|
4064
|
-
},
|
|
4065
|
-
{
|
|
4066
|
-
"href": "/checkout",
|
|
4067
|
-
"label": "Checkout",
|
|
4068
|
-
"icon": "credit-card"
|
|
4069
|
-
},
|
|
4070
|
-
{
|
|
4071
|
-
"href": "/orders",
|
|
4072
|
-
"icon": "clipboard-list",
|
|
4073
|
-
"label": "Orders"
|
|
4074
|
-
}
|
|
4075
|
-
],
|
|
4131
|
+
"type": "dashboard-layout",
|
|
4076
4132
|
"children": [
|
|
4077
4133
|
{
|
|
4078
|
-
"gap": "lg",
|
|
4079
|
-
"type": "stack",
|
|
4080
4134
|
"align": "center",
|
|
4081
|
-
"direction": "vertical",
|
|
4082
4135
|
"children": [
|
|
4083
4136
|
{
|
|
4084
|
-
"
|
|
4085
|
-
"
|
|
4137
|
+
"type": "icon",
|
|
4138
|
+
"name": "check-circle"
|
|
4086
4139
|
},
|
|
4087
4140
|
{
|
|
4088
4141
|
"variant": "success",
|
|
@@ -4090,22 +4143,46 @@
|
|
|
4090
4143
|
"message": "Payment successful! Sending receipt..."
|
|
4091
4144
|
},
|
|
4092
4145
|
{
|
|
4093
|
-
"content": "@entity.paymentIntentId",
|
|
4094
|
-
"variant": "body",
|
|
4095
4146
|
"type": "typography",
|
|
4147
|
+
"variant": "body",
|
|
4148
|
+
"content": "@entity.paymentIntentId",
|
|
4096
4149
|
"color": "muted"
|
|
4097
4150
|
},
|
|
4098
4151
|
{
|
|
4099
|
-
"action": "RESET",
|
|
4100
|
-
"variant": "ghost",
|
|
4101
4152
|
"type": "button",
|
|
4153
|
+
"variant": "ghost",
|
|
4154
|
+
"action": "RESET",
|
|
4102
4155
|
"label": "New Payment",
|
|
4103
4156
|
"icon": "rotate-ccw"
|
|
4104
4157
|
}
|
|
4105
|
-
]
|
|
4158
|
+
],
|
|
4159
|
+
"direction": "vertical",
|
|
4160
|
+
"type": "stack",
|
|
4161
|
+
"gap": "lg"
|
|
4162
|
+
}
|
|
4163
|
+
],
|
|
4164
|
+
"navItems": [
|
|
4165
|
+
{
|
|
4166
|
+
"icon": "package",
|
|
4167
|
+
"label": "Products",
|
|
4168
|
+
"href": "/products"
|
|
4169
|
+
},
|
|
4170
|
+
{
|
|
4171
|
+
"label": "Login",
|
|
4172
|
+
"icon": "layout-list",
|
|
4173
|
+
"href": "/login"
|
|
4174
|
+
},
|
|
4175
|
+
{
|
|
4176
|
+
"label": "Checkout",
|
|
4177
|
+
"icon": "credit-card",
|
|
4178
|
+
"href": "/checkout"
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"icon": "clipboard-list",
|
|
4182
|
+
"label": "Orders",
|
|
4183
|
+
"href": "/orders"
|
|
4106
4184
|
}
|
|
4107
4185
|
],
|
|
4108
|
-
"type": "dashboard-layout",
|
|
4109
4186
|
"appName": "ServiceMarketplace"
|
|
4110
4187
|
}
|
|
4111
4188
|
]
|
|
@@ -4125,16 +4202,6 @@
|
|
|
4125
4202
|
"render-ui",
|
|
4126
4203
|
"main",
|
|
4127
4204
|
{
|
|
4128
|
-
"type": "dashboard-layout",
|
|
4129
|
-
"children": [
|
|
4130
|
-
{
|
|
4131
|
-
"message": "@entity.error",
|
|
4132
|
-
"type": "error-state",
|
|
4133
|
-
"title": "Payment Failed",
|
|
4134
|
-
"onRetry": "RETRY"
|
|
4135
|
-
}
|
|
4136
|
-
],
|
|
4137
|
-
"appName": "ServiceMarketplace",
|
|
4138
4205
|
"navItems": [
|
|
4139
4206
|
{
|
|
4140
4207
|
"label": "Products",
|
|
@@ -4142,21 +4209,31 @@
|
|
|
4142
4209
|
"href": "/products"
|
|
4143
4210
|
},
|
|
4144
4211
|
{
|
|
4145
|
-
"
|
|
4212
|
+
"href": "/login",
|
|
4146
4213
|
"icon": "layout-list",
|
|
4147
|
-
"
|
|
4214
|
+
"label": "Login"
|
|
4148
4215
|
},
|
|
4149
4216
|
{
|
|
4150
4217
|
"icon": "credit-card",
|
|
4151
|
-
"
|
|
4152
|
-
"
|
|
4218
|
+
"label": "Checkout",
|
|
4219
|
+
"href": "/checkout"
|
|
4153
4220
|
},
|
|
4154
4221
|
{
|
|
4155
|
-
"icon": "clipboard-list",
|
|
4156
4222
|
"href": "/orders",
|
|
4223
|
+
"icon": "clipboard-list",
|
|
4157
4224
|
"label": "Orders"
|
|
4158
4225
|
}
|
|
4159
|
-
]
|
|
4226
|
+
],
|
|
4227
|
+
"type": "dashboard-layout",
|
|
4228
|
+
"children": [
|
|
4229
|
+
{
|
|
4230
|
+
"title": "Payment Failed",
|
|
4231
|
+
"message": "@entity.error",
|
|
4232
|
+
"type": "error-state",
|
|
4233
|
+
"onRetry": "RETRY"
|
|
4234
|
+
}
|
|
4235
|
+
],
|
|
4236
|
+
"appName": "ServiceMarketplace"
|
|
4160
4237
|
}
|
|
4161
4238
|
]
|
|
4162
4239
|
]
|
|
@@ -4170,78 +4247,116 @@
|
|
|
4170
4247
|
"render-ui",
|
|
4171
4248
|
"main",
|
|
4172
4249
|
{
|
|
4250
|
+
"navItems": [
|
|
4251
|
+
{
|
|
4252
|
+
"label": "Products",
|
|
4253
|
+
"icon": "package",
|
|
4254
|
+
"href": "/products"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"icon": "layout-list",
|
|
4258
|
+
"href": "/login",
|
|
4259
|
+
"label": "Login"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"label": "Checkout",
|
|
4263
|
+
"icon": "credit-card",
|
|
4264
|
+
"href": "/checkout"
|
|
4265
|
+
},
|
|
4266
|
+
{
|
|
4267
|
+
"label": "Orders",
|
|
4268
|
+
"href": "/orders",
|
|
4269
|
+
"icon": "clipboard-list"
|
|
4270
|
+
}
|
|
4271
|
+
],
|
|
4173
4272
|
"type": "dashboard-layout",
|
|
4174
4273
|
"children": [
|
|
4175
4274
|
{
|
|
4275
|
+
"align": "center",
|
|
4176
4276
|
"direction": "vertical",
|
|
4277
|
+
"gap": "lg",
|
|
4278
|
+
"type": "stack",
|
|
4177
4279
|
"children": [
|
|
4178
4280
|
{
|
|
4179
4281
|
"children": [
|
|
4180
4282
|
{
|
|
4181
|
-
"
|
|
4182
|
-
"
|
|
4283
|
+
"name": "credit-card",
|
|
4284
|
+
"type": "icon"
|
|
4183
4285
|
},
|
|
4184
4286
|
{
|
|
4287
|
+
"variant": "h2",
|
|
4185
4288
|
"type": "typography",
|
|
4186
|
-
"content": "Payment"
|
|
4187
|
-
"variant": "h2"
|
|
4289
|
+
"content": "Payment"
|
|
4188
4290
|
}
|
|
4189
4291
|
],
|
|
4190
|
-
"gap": "md",
|
|
4191
4292
|
"direction": "horizontal",
|
|
4192
|
-
"
|
|
4193
|
-
"align": "center"
|
|
4293
|
+
"gap": "md",
|
|
4294
|
+
"align": "center",
|
|
4295
|
+
"type": "stack"
|
|
4194
4296
|
},
|
|
4195
4297
|
{
|
|
4196
4298
|
"type": "divider"
|
|
4197
4299
|
},
|
|
4198
4300
|
{
|
|
4199
4301
|
"direction": "vertical",
|
|
4200
|
-
"gap": "md",
|
|
4201
4302
|
"type": "stack",
|
|
4303
|
+
"gap": "md",
|
|
4202
4304
|
"children": [
|
|
4203
4305
|
{
|
|
4306
|
+
"type": "input",
|
|
4204
4307
|
"inputType": "number",
|
|
4205
|
-
"placeholder": "0.00"
|
|
4206
|
-
"type": "input"
|
|
4308
|
+
"placeholder": "0.00"
|
|
4207
4309
|
},
|
|
4208
4310
|
{
|
|
4209
|
-
"type": "select",
|
|
4210
4311
|
"options": [
|
|
4211
4312
|
{
|
|
4212
|
-
"
|
|
4213
|
-
"
|
|
4313
|
+
"label": "USD",
|
|
4314
|
+
"value": "usd"
|
|
4214
4315
|
},
|
|
4215
4316
|
{
|
|
4216
|
-
"
|
|
4217
|
-
"
|
|
4317
|
+
"label": "EUR",
|
|
4318
|
+
"value": "eur"
|
|
4218
4319
|
},
|
|
4219
4320
|
{
|
|
4220
|
-
"
|
|
4221
|
-
"
|
|
4321
|
+
"label": "GBP",
|
|
4322
|
+
"value": "gbp"
|
|
4222
4323
|
}
|
|
4223
|
-
]
|
|
4324
|
+
],
|
|
4325
|
+
"type": "select"
|
|
4224
4326
|
}
|
|
4225
4327
|
]
|
|
4226
4328
|
},
|
|
4227
4329
|
{
|
|
4228
|
-
"variant": "primary",
|
|
4229
|
-
"type": "button",
|
|
4230
4330
|
"action": "CREATE_PAYMENT",
|
|
4231
4331
|
"icon": "credit-card",
|
|
4332
|
+
"variant": "primary",
|
|
4333
|
+
"type": "button",
|
|
4232
4334
|
"label": "Pay"
|
|
4233
4335
|
}
|
|
4234
|
-
]
|
|
4235
|
-
"align": "center",
|
|
4236
|
-
"gap": "lg",
|
|
4237
|
-
"type": "stack"
|
|
4336
|
+
]
|
|
4238
4337
|
}
|
|
4239
4338
|
],
|
|
4339
|
+
"appName": "ServiceMarketplace"
|
|
4340
|
+
}
|
|
4341
|
+
]
|
|
4342
|
+
]
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"from": "error",
|
|
4346
|
+
"to": "idle",
|
|
4347
|
+
"event": "RETRY",
|
|
4348
|
+
"effects": [
|
|
4349
|
+
[
|
|
4350
|
+
"render-ui",
|
|
4351
|
+
"main",
|
|
4352
|
+
{
|
|
4353
|
+
"type": "dashboard-layout",
|
|
4354
|
+
"appName": "ServiceMarketplace",
|
|
4240
4355
|
"navItems": [
|
|
4241
4356
|
{
|
|
4242
|
-
"
|
|
4357
|
+
"href": "/products",
|
|
4243
4358
|
"label": "Products",
|
|
4244
|
-
"
|
|
4359
|
+
"icon": "package"
|
|
4245
4360
|
},
|
|
4246
4361
|
{
|
|
4247
4362
|
"label": "Login",
|
|
@@ -4249,46 +4364,31 @@
|
|
|
4249
4364
|
"icon": "layout-list"
|
|
4250
4365
|
},
|
|
4251
4366
|
{
|
|
4252
|
-
"
|
|
4367
|
+
"icon": "credit-card",
|
|
4253
4368
|
"label": "Checkout",
|
|
4254
|
-
"
|
|
4369
|
+
"href": "/checkout"
|
|
4255
4370
|
},
|
|
4256
4371
|
{
|
|
4257
4372
|
"icon": "clipboard-list",
|
|
4258
|
-
"
|
|
4259
|
-
"
|
|
4373
|
+
"label": "Orders",
|
|
4374
|
+
"href": "/orders"
|
|
4260
4375
|
}
|
|
4261
4376
|
],
|
|
4262
|
-
"appName": "ServiceMarketplace"
|
|
4263
|
-
}
|
|
4264
|
-
]
|
|
4265
|
-
]
|
|
4266
|
-
},
|
|
4267
|
-
{
|
|
4268
|
-
"from": "error",
|
|
4269
|
-
"to": "idle",
|
|
4270
|
-
"event": "RETRY",
|
|
4271
|
-
"effects": [
|
|
4272
|
-
[
|
|
4273
|
-
"render-ui",
|
|
4274
|
-
"main",
|
|
4275
|
-
{
|
|
4276
|
-
"type": "dashboard-layout",
|
|
4277
4377
|
"children": [
|
|
4278
4378
|
{
|
|
4279
4379
|
"gap": "lg",
|
|
4280
4380
|
"direction": "vertical",
|
|
4281
|
-
"align": "center",
|
|
4282
4381
|
"type": "stack",
|
|
4382
|
+
"align": "center",
|
|
4283
4383
|
"children": [
|
|
4284
4384
|
{
|
|
4285
4385
|
"direction": "horizontal",
|
|
4286
|
-
"gap": "md",
|
|
4287
4386
|
"align": "center",
|
|
4387
|
+
"gap": "md",
|
|
4288
4388
|
"children": [
|
|
4289
4389
|
{
|
|
4290
|
-
"
|
|
4291
|
-
"
|
|
4390
|
+
"name": "credit-card",
|
|
4391
|
+
"type": "icon"
|
|
4292
4392
|
},
|
|
4293
4393
|
{
|
|
4294
4394
|
"type": "typography",
|
|
@@ -4302,13 +4402,17 @@
|
|
|
4302
4402
|
"type": "divider"
|
|
4303
4403
|
},
|
|
4304
4404
|
{
|
|
4405
|
+
"gap": "md",
|
|
4406
|
+
"direction": "vertical",
|
|
4407
|
+
"type": "stack",
|
|
4305
4408
|
"children": [
|
|
4306
4409
|
{
|
|
4307
|
-
"type": "input",
|
|
4308
4410
|
"inputType": "number",
|
|
4309
|
-
"placeholder": "0.00"
|
|
4411
|
+
"placeholder": "0.00",
|
|
4412
|
+
"type": "input"
|
|
4310
4413
|
},
|
|
4311
4414
|
{
|
|
4415
|
+
"type": "select",
|
|
4312
4416
|
"options": [
|
|
4313
4417
|
{
|
|
4314
4418
|
"label": "USD",
|
|
@@ -4319,49 +4423,22 @@
|
|
|
4319
4423
|
"value": "eur"
|
|
4320
4424
|
},
|
|
4321
4425
|
{
|
|
4322
|
-
"
|
|
4323
|
-
"
|
|
4426
|
+
"label": "GBP",
|
|
4427
|
+
"value": "gbp"
|
|
4324
4428
|
}
|
|
4325
|
-
]
|
|
4326
|
-
"type": "select"
|
|
4429
|
+
]
|
|
4327
4430
|
}
|
|
4328
|
-
]
|
|
4329
|
-
"direction": "vertical",
|
|
4330
|
-
"gap": "md",
|
|
4331
|
-
"type": "stack"
|
|
4431
|
+
]
|
|
4332
4432
|
},
|
|
4333
4433
|
{
|
|
4434
|
+
"icon": "credit-card",
|
|
4435
|
+
"variant": "primary",
|
|
4334
4436
|
"label": "Pay",
|
|
4335
4437
|
"type": "button",
|
|
4336
|
-
"
|
|
4337
|
-
"action": "CREATE_PAYMENT",
|
|
4338
|
-
"variant": "primary"
|
|
4438
|
+
"action": "CREATE_PAYMENT"
|
|
4339
4439
|
}
|
|
4340
4440
|
]
|
|
4341
4441
|
}
|
|
4342
|
-
],
|
|
4343
|
-
"appName": "ServiceMarketplace",
|
|
4344
|
-
"navItems": [
|
|
4345
|
-
{
|
|
4346
|
-
"label": "Products",
|
|
4347
|
-
"href": "/products",
|
|
4348
|
-
"icon": "package"
|
|
4349
|
-
},
|
|
4350
|
-
{
|
|
4351
|
-
"href": "/login",
|
|
4352
|
-
"label": "Login",
|
|
4353
|
-
"icon": "layout-list"
|
|
4354
|
-
},
|
|
4355
|
-
{
|
|
4356
|
-
"href": "/checkout",
|
|
4357
|
-
"icon": "credit-card",
|
|
4358
|
-
"label": "Checkout"
|
|
4359
|
-
},
|
|
4360
|
-
{
|
|
4361
|
-
"href": "/orders",
|
|
4362
|
-
"icon": "clipboard-list",
|
|
4363
|
-
"label": "Orders"
|
|
4364
|
-
}
|
|
4365
4442
|
]
|
|
4366
4443
|
}
|
|
4367
4444
|
]
|
|
@@ -4376,36 +4453,37 @@
|
|
|
4376
4453
|
"render-ui",
|
|
4377
4454
|
"main",
|
|
4378
4455
|
{
|
|
4379
|
-
"type": "dashboard-layout",
|
|
4380
4456
|
"navItems": [
|
|
4381
4457
|
{
|
|
4382
|
-
"label": "Products",
|
|
4383
4458
|
"icon": "package",
|
|
4384
|
-
"href": "/products"
|
|
4459
|
+
"href": "/products",
|
|
4460
|
+
"label": "Products"
|
|
4385
4461
|
},
|
|
4386
4462
|
{
|
|
4387
|
-
"
|
|
4463
|
+
"href": "/login",
|
|
4388
4464
|
"label": "Login",
|
|
4389
|
-
"
|
|
4465
|
+
"icon": "layout-list"
|
|
4390
4466
|
},
|
|
4391
4467
|
{
|
|
4468
|
+
"href": "/checkout",
|
|
4392
4469
|
"icon": "credit-card",
|
|
4393
|
-
"label": "Checkout"
|
|
4394
|
-
"href": "/checkout"
|
|
4470
|
+
"label": "Checkout"
|
|
4395
4471
|
},
|
|
4396
4472
|
{
|
|
4397
|
-
"
|
|
4473
|
+
"label": "Orders",
|
|
4398
4474
|
"href": "/orders",
|
|
4399
|
-
"
|
|
4475
|
+
"icon": "clipboard-list"
|
|
4400
4476
|
}
|
|
4401
4477
|
],
|
|
4402
4478
|
"appName": "ServiceMarketplace",
|
|
4479
|
+
"type": "dashboard-layout",
|
|
4403
4480
|
"children": [
|
|
4404
4481
|
{
|
|
4482
|
+
"gap": "lg",
|
|
4483
|
+
"align": "center",
|
|
4484
|
+
"type": "stack",
|
|
4405
4485
|
"children": [
|
|
4406
4486
|
{
|
|
4407
|
-
"gap": "md",
|
|
4408
|
-
"type": "stack",
|
|
4409
4487
|
"align": "center",
|
|
4410
4488
|
"children": [
|
|
4411
4489
|
{
|
|
@@ -4413,27 +4491,26 @@
|
|
|
4413
4491
|
"name": "credit-card"
|
|
4414
4492
|
},
|
|
4415
4493
|
{
|
|
4494
|
+
"content": "Payment",
|
|
4416
4495
|
"variant": "h2",
|
|
4417
|
-
"type": "typography"
|
|
4418
|
-
"content": "Payment"
|
|
4496
|
+
"type": "typography"
|
|
4419
4497
|
}
|
|
4420
4498
|
],
|
|
4421
|
-
"
|
|
4499
|
+
"type": "stack",
|
|
4500
|
+
"direction": "horizontal",
|
|
4501
|
+
"gap": "md"
|
|
4422
4502
|
},
|
|
4423
4503
|
{
|
|
4424
4504
|
"type": "divider"
|
|
4425
4505
|
},
|
|
4426
4506
|
{
|
|
4427
|
-
"direction": "vertical",
|
|
4428
|
-
"type": "stack",
|
|
4429
4507
|
"children": [
|
|
4430
4508
|
{
|
|
4431
|
-
"
|
|
4509
|
+
"placeholder": "0.00",
|
|
4432
4510
|
"inputType": "number",
|
|
4433
|
-
"
|
|
4511
|
+
"type": "input"
|
|
4434
4512
|
},
|
|
4435
4513
|
{
|
|
4436
|
-
"type": "select",
|
|
4437
4514
|
"options": [
|
|
4438
4515
|
{
|
|
4439
4516
|
"label": "USD",
|
|
@@ -4444,26 +4521,26 @@
|
|
|
4444
4521
|
"value": "eur"
|
|
4445
4522
|
},
|
|
4446
4523
|
{
|
|
4447
|
-
"
|
|
4448
|
-
"
|
|
4524
|
+
"value": "gbp",
|
|
4525
|
+
"label": "GBP"
|
|
4449
4526
|
}
|
|
4450
|
-
]
|
|
4527
|
+
],
|
|
4528
|
+
"type": "select"
|
|
4451
4529
|
}
|
|
4452
4530
|
],
|
|
4531
|
+
"direction": "vertical",
|
|
4532
|
+
"type": "stack",
|
|
4453
4533
|
"gap": "md"
|
|
4454
4534
|
},
|
|
4455
4535
|
{
|
|
4456
|
-
"type": "button",
|
|
4457
|
-
"action": "CREATE_PAYMENT",
|
|
4458
4536
|
"variant": "primary",
|
|
4459
4537
|
"icon": "credit-card",
|
|
4460
|
-
"label": "Pay"
|
|
4538
|
+
"label": "Pay",
|
|
4539
|
+
"action": "CREATE_PAYMENT",
|
|
4540
|
+
"type": "button"
|
|
4461
4541
|
}
|
|
4462
4542
|
],
|
|
4463
|
-
"
|
|
4464
|
-
"direction": "vertical",
|
|
4465
|
-
"type": "stack",
|
|
4466
|
-
"align": "center"
|
|
4543
|
+
"direction": "vertical"
|
|
4467
4544
|
}
|
|
4468
4545
|
]
|
|
4469
4546
|
}
|
|
@@ -4582,32 +4659,45 @@
|
|
|
4582
4659
|
"to": "waiting",
|
|
4583
4660
|
"event": "INIT",
|
|
4584
4661
|
"effects": [
|
|
4662
|
+
[
|
|
4663
|
+
"set",
|
|
4664
|
+
"@entity.body",
|
|
4665
|
+
""
|
|
4666
|
+
],
|
|
4667
|
+
[
|
|
4668
|
+
"set",
|
|
4669
|
+
"@entity.subject",
|
|
4670
|
+
""
|
|
4671
|
+
],
|
|
4672
|
+
[
|
|
4673
|
+
"set",
|
|
4674
|
+
"@entity.to",
|
|
4675
|
+
""
|
|
4676
|
+
],
|
|
4585
4677
|
[
|
|
4586
4678
|
"render-ui",
|
|
4587
4679
|
"main",
|
|
4588
4680
|
{
|
|
4589
4681
|
"children": [
|
|
4590
4682
|
{
|
|
4591
|
-
"direction": "vertical",
|
|
4592
|
-
"gap": "md",
|
|
4593
4683
|
"type": "stack",
|
|
4684
|
+
"direction": "vertical",
|
|
4594
4685
|
"align": "center",
|
|
4686
|
+
"gap": "md",
|
|
4595
4687
|
"children": [
|
|
4596
4688
|
{
|
|
4597
|
-
"
|
|
4598
|
-
"
|
|
4689
|
+
"type": "icon",
|
|
4690
|
+
"name": "mail"
|
|
4599
4691
|
},
|
|
4600
4692
|
{
|
|
4601
4693
|
"type": "typography",
|
|
4602
4694
|
"variant": "body",
|
|
4603
|
-
"
|
|
4604
|
-
"
|
|
4695
|
+
"content": "Receipt will be sent after payment.",
|
|
4696
|
+
"color": "muted"
|
|
4605
4697
|
}
|
|
4606
4698
|
]
|
|
4607
4699
|
}
|
|
4608
4700
|
],
|
|
4609
|
-
"appName": "ServiceMarketplace",
|
|
4610
|
-
"type": "dashboard-layout",
|
|
4611
4701
|
"navItems": [
|
|
4612
4702
|
{
|
|
4613
4703
|
"label": "Products",
|
|
@@ -4615,21 +4705,23 @@
|
|
|
4615
4705
|
"icon": "package"
|
|
4616
4706
|
},
|
|
4617
4707
|
{
|
|
4618
|
-
"href": "/login",
|
|
4619
4708
|
"label": "Login",
|
|
4709
|
+
"href": "/login",
|
|
4620
4710
|
"icon": "layout-list"
|
|
4621
4711
|
},
|
|
4622
4712
|
{
|
|
4623
|
-
"icon": "credit-card",
|
|
4624
4713
|
"label": "Checkout",
|
|
4714
|
+
"icon": "credit-card",
|
|
4625
4715
|
"href": "/checkout"
|
|
4626
4716
|
},
|
|
4627
4717
|
{
|
|
4628
4718
|
"href": "/orders",
|
|
4629
|
-
"
|
|
4630
|
-
"
|
|
4719
|
+
"label": "Orders",
|
|
4720
|
+
"icon": "clipboard-list"
|
|
4631
4721
|
}
|
|
4632
|
-
]
|
|
4722
|
+
],
|
|
4723
|
+
"type": "dashboard-layout",
|
|
4724
|
+
"appName": "ServiceMarketplace"
|
|
4633
4725
|
}
|
|
4634
4726
|
]
|
|
4635
4727
|
]
|
|
@@ -4643,20 +4735,11 @@
|
|
|
4643
4735
|
"render-ui",
|
|
4644
4736
|
"main",
|
|
4645
4737
|
{
|
|
4646
|
-
"children": [
|
|
4647
|
-
{
|
|
4648
|
-
"type": "loading-state",
|
|
4649
|
-
"title": "Sending receipt...",
|
|
4650
|
-
"message": "Delivering your payment receipt."
|
|
4651
|
-
}
|
|
4652
|
-
],
|
|
4653
|
-
"appName": "ServiceMarketplace",
|
|
4654
|
-
"type": "dashboard-layout",
|
|
4655
4738
|
"navItems": [
|
|
4656
4739
|
{
|
|
4657
|
-
"
|
|
4740
|
+
"icon": "package",
|
|
4658
4741
|
"href": "/products",
|
|
4659
|
-
"
|
|
4742
|
+
"label": "Products"
|
|
4660
4743
|
},
|
|
4661
4744
|
{
|
|
4662
4745
|
"label": "Login",
|
|
@@ -4669,9 +4752,18 @@
|
|
|
4669
4752
|
"label": "Checkout"
|
|
4670
4753
|
},
|
|
4671
4754
|
{
|
|
4755
|
+
"label": "Orders",
|
|
4672
4756
|
"href": "/orders",
|
|
4673
|
-
"icon": "clipboard-list"
|
|
4674
|
-
|
|
4757
|
+
"icon": "clipboard-list"
|
|
4758
|
+
}
|
|
4759
|
+
],
|
|
4760
|
+
"appName": "ServiceMarketplace",
|
|
4761
|
+
"type": "dashboard-layout",
|
|
4762
|
+
"children": [
|
|
4763
|
+
{
|
|
4764
|
+
"type": "loading-state",
|
|
4765
|
+
"message": "Delivering your payment receipt.",
|
|
4766
|
+
"title": "Sending receipt..."
|
|
4675
4767
|
}
|
|
4676
4768
|
]
|
|
4677
4769
|
}
|
|
@@ -4681,9 +4773,9 @@
|
|
|
4681
4773
|
"email",
|
|
4682
4774
|
"send",
|
|
4683
4775
|
{
|
|
4776
|
+
"body": "@entity.body",
|
|
4684
4777
|
"to": "@entity.to",
|
|
4685
|
-
"subject": "@entity.subject"
|
|
4686
|
-
"body": "@entity.body"
|
|
4778
|
+
"subject": "@entity.subject"
|
|
4687
4779
|
},
|
|
4688
4780
|
{
|
|
4689
4781
|
"emit": {
|
|
@@ -4708,7 +4800,6 @@
|
|
|
4708
4800
|
"render-ui",
|
|
4709
4801
|
"main",
|
|
4710
4802
|
{
|
|
4711
|
-
"type": "dashboard-layout",
|
|
4712
4803
|
"navItems": [
|
|
4713
4804
|
{
|
|
4714
4805
|
"icon": "package",
|
|
@@ -4722,8 +4813,8 @@
|
|
|
4722
4813
|
},
|
|
4723
4814
|
{
|
|
4724
4815
|
"href": "/checkout",
|
|
4725
|
-
"
|
|
4726
|
-
"
|
|
4816
|
+
"label": "Checkout",
|
|
4817
|
+
"icon": "credit-card"
|
|
4727
4818
|
},
|
|
4728
4819
|
{
|
|
4729
4820
|
"label": "Orders",
|
|
@@ -4731,26 +4822,27 @@
|
|
|
4731
4822
|
"icon": "clipboard-list"
|
|
4732
4823
|
}
|
|
4733
4824
|
],
|
|
4825
|
+
"type": "dashboard-layout",
|
|
4826
|
+
"appName": "ServiceMarketplace",
|
|
4734
4827
|
"children": [
|
|
4735
4828
|
{
|
|
4736
|
-
"
|
|
4829
|
+
"gap": "md",
|
|
4830
|
+
"direction": "vertical",
|
|
4737
4831
|
"children": [
|
|
4738
4832
|
{
|
|
4739
4833
|
"name": "check-circle",
|
|
4740
4834
|
"type": "icon"
|
|
4741
4835
|
},
|
|
4742
4836
|
{
|
|
4837
|
+
"message": "Receipt sent successfully",
|
|
4743
4838
|
"type": "alert",
|
|
4744
|
-
"variant": "success"
|
|
4745
|
-
"message": "Receipt sent successfully"
|
|
4839
|
+
"variant": "success"
|
|
4746
4840
|
}
|
|
4747
4841
|
],
|
|
4748
|
-
"gap": "md",
|
|
4749
4842
|
"type": "stack",
|
|
4750
|
-
"
|
|
4843
|
+
"align": "center"
|
|
4751
4844
|
}
|
|
4752
|
-
]
|
|
4753
|
-
"appName": "ServiceMarketplace"
|
|
4845
|
+
]
|
|
4754
4846
|
}
|
|
4755
4847
|
]
|
|
4756
4848
|
]
|
|
@@ -4769,16 +4861,17 @@
|
|
|
4769
4861
|
"render-ui",
|
|
4770
4862
|
"main",
|
|
4771
4863
|
{
|
|
4864
|
+
"appName": "ServiceMarketplace",
|
|
4772
4865
|
"type": "dashboard-layout",
|
|
4773
4866
|
"navItems": [
|
|
4774
4867
|
{
|
|
4868
|
+
"icon": "package",
|
|
4775
4869
|
"label": "Products",
|
|
4776
|
-
"href": "/products"
|
|
4777
|
-
"icon": "package"
|
|
4870
|
+
"href": "/products"
|
|
4778
4871
|
},
|
|
4779
4872
|
{
|
|
4780
|
-
"icon": "layout-list",
|
|
4781
4873
|
"href": "/login",
|
|
4874
|
+
"icon": "layout-list",
|
|
4782
4875
|
"label": "Login"
|
|
4783
4876
|
},
|
|
4784
4877
|
{
|
|
@@ -4787,33 +4880,32 @@
|
|
|
4787
4880
|
"href": "/checkout"
|
|
4788
4881
|
},
|
|
4789
4882
|
{
|
|
4790
|
-
"href": "/orders",
|
|
4791
4883
|
"label": "Orders",
|
|
4792
|
-
"icon": "clipboard-list"
|
|
4884
|
+
"icon": "clipboard-list",
|
|
4885
|
+
"href": "/orders"
|
|
4793
4886
|
}
|
|
4794
4887
|
],
|
|
4795
|
-
"appName": "ServiceMarketplace",
|
|
4796
4888
|
"children": [
|
|
4797
4889
|
{
|
|
4798
|
-
"type": "stack",
|
|
4799
4890
|
"gap": "md",
|
|
4891
|
+
"align": "center",
|
|
4892
|
+
"type": "stack",
|
|
4893
|
+
"direction": "vertical",
|
|
4800
4894
|
"children": [
|
|
4801
4895
|
{
|
|
4802
4896
|
"type": "error-state",
|
|
4803
|
-
"title": "Receipt Failed",
|
|
4804
4897
|
"message": "Could not send receipt email.",
|
|
4898
|
+
"title": "Receipt Failed",
|
|
4805
4899
|
"onRetry": "RETRY_RECEIPT"
|
|
4806
4900
|
},
|
|
4807
4901
|
{
|
|
4902
|
+
"icon": "refresh-cw",
|
|
4903
|
+
"action": "RETRY_RECEIPT",
|
|
4808
4904
|
"variant": "primary",
|
|
4809
|
-
"label": "Retry",
|
|
4810
4905
|
"type": "button",
|
|
4811
|
-
"
|
|
4812
|
-
"action": "RETRY_RECEIPT"
|
|
4906
|
+
"label": "Retry"
|
|
4813
4907
|
}
|
|
4814
|
-
]
|
|
4815
|
-
"direction": "vertical",
|
|
4816
|
-
"align": "center"
|
|
4908
|
+
]
|
|
4817
4909
|
}
|
|
4818
4910
|
]
|
|
4819
4911
|
}
|
|
@@ -4838,14 +4930,14 @@
|
|
|
4838
4930
|
"email",
|
|
4839
4931
|
"send",
|
|
4840
4932
|
{
|
|
4841
|
-
"subject": "@entity.subject",
|
|
4842
4933
|
"body": "@entity.body",
|
|
4934
|
+
"subject": "@entity.subject",
|
|
4843
4935
|
"to": "@entity.to"
|
|
4844
4936
|
},
|
|
4845
4937
|
{
|
|
4846
4938
|
"emit": {
|
|
4847
|
-
"
|
|
4848
|
-
"
|
|
4939
|
+
"success": "ProductEmailCompleted",
|
|
4940
|
+
"failure": "ProductEmailFailed"
|
|
4849
4941
|
}
|
|
4850
4942
|
}
|
|
4851
4943
|
]
|
|
@@ -4860,8 +4952,6 @@
|
|
|
4860
4952
|
"render-ui",
|
|
4861
4953
|
"main",
|
|
4862
4954
|
{
|
|
4863
|
-
"type": "dashboard-layout",
|
|
4864
|
-
"appName": "ServiceMarketplace",
|
|
4865
4955
|
"navItems": [
|
|
4866
4956
|
{
|
|
4867
4957
|
"icon": "package",
|
|
@@ -4869,28 +4959,30 @@
|
|
|
4869
4959
|
"href": "/products"
|
|
4870
4960
|
},
|
|
4871
4961
|
{
|
|
4872
|
-
"label": "Login",
|
|
4873
4962
|
"href": "/login",
|
|
4874
|
-
"icon": "layout-list"
|
|
4963
|
+
"icon": "layout-list",
|
|
4964
|
+
"label": "Login"
|
|
4875
4965
|
},
|
|
4876
4966
|
{
|
|
4967
|
+
"icon": "credit-card",
|
|
4877
4968
|
"href": "/checkout",
|
|
4878
|
-
"label": "Checkout"
|
|
4879
|
-
"icon": "credit-card"
|
|
4969
|
+
"label": "Checkout"
|
|
4880
4970
|
},
|
|
4881
4971
|
{
|
|
4882
|
-
"
|
|
4972
|
+
"icon": "clipboard-list",
|
|
4883
4973
|
"label": "Orders",
|
|
4884
|
-
"
|
|
4974
|
+
"href": "/orders"
|
|
4885
4975
|
}
|
|
4886
4976
|
],
|
|
4887
4977
|
"children": [
|
|
4888
4978
|
{
|
|
4889
|
-
"title": "Sending receipt...",
|
|
4890
4979
|
"message": "Delivering your payment receipt.",
|
|
4891
|
-
"type": "loading-state"
|
|
4980
|
+
"type": "loading-state",
|
|
4981
|
+
"title": "Sending receipt..."
|
|
4892
4982
|
}
|
|
4893
|
-
]
|
|
4983
|
+
],
|
|
4984
|
+
"appName": "ServiceMarketplace",
|
|
4985
|
+
"type": "dashboard-layout"
|
|
4894
4986
|
}
|
|
4895
4987
|
],
|
|
4896
4988
|
[
|
|
@@ -4898,9 +4990,9 @@
|
|
|
4898
4990
|
"email",
|
|
4899
4991
|
"send",
|
|
4900
4992
|
{
|
|
4901
|
-
"subject": "@entity.subject",
|
|
4902
4993
|
"body": "@entity.body",
|
|
4903
|
-
"to": "@entity.to"
|
|
4994
|
+
"to": "@entity.to",
|
|
4995
|
+
"subject": "@entity.subject"
|
|
4904
4996
|
},
|
|
4905
4997
|
{
|
|
4906
4998
|
"emit": {
|
|
@@ -5205,8 +5297,8 @@
|
|
|
5205
5297
|
"Order",
|
|
5206
5298
|
{
|
|
5207
5299
|
"emit": {
|
|
5208
|
-
"
|
|
5209
|
-
"
|
|
5300
|
+
"success": "OrderLoaded",
|
|
5301
|
+
"failure": "OrderLoadFailed"
|
|
5210
5302
|
}
|
|
5211
5303
|
}
|
|
5212
5304
|
],
|
|
@@ -5214,21 +5306,21 @@
|
|
|
5214
5306
|
"render-ui",
|
|
5215
5307
|
"main",
|
|
5216
5308
|
{
|
|
5217
|
-
"type": "stack",
|
|
5218
|
-
"align": "center",
|
|
5219
5309
|
"direction": "vertical",
|
|
5220
|
-
"
|
|
5310
|
+
"align": "center",
|
|
5311
|
+
"type": "stack",
|
|
5221
5312
|
"children": [
|
|
5222
5313
|
{
|
|
5223
5314
|
"type": "spinner"
|
|
5224
5315
|
},
|
|
5225
5316
|
{
|
|
5226
|
-
"content": "Loading…",
|
|
5227
5317
|
"type": "typography",
|
|
5228
|
-
"
|
|
5229
|
-
"color": "muted"
|
|
5318
|
+
"content": "Loading…",
|
|
5319
|
+
"color": "muted",
|
|
5320
|
+
"variant": "caption"
|
|
5230
5321
|
}
|
|
5231
5322
|
],
|
|
5323
|
+
"className": "py-12",
|
|
5232
5324
|
"gap": "md"
|
|
5233
5325
|
}
|
|
5234
5326
|
]
|
|
@@ -5245,134 +5337,134 @@
|
|
|
5245
5337
|
{
|
|
5246
5338
|
"navItems": [
|
|
5247
5339
|
{
|
|
5248
|
-
"label": "Products",
|
|
5249
5340
|
"href": "/products",
|
|
5250
|
-
"icon": "package"
|
|
5341
|
+
"icon": "package",
|
|
5342
|
+
"label": "Products"
|
|
5251
5343
|
},
|
|
5252
5344
|
{
|
|
5253
|
-
"href": "/login",
|
|
5254
5345
|
"icon": "layout-list",
|
|
5255
|
-
"label": "Login"
|
|
5346
|
+
"label": "Login",
|
|
5347
|
+
"href": "/login"
|
|
5256
5348
|
},
|
|
5257
5349
|
{
|
|
5258
|
-
"href": "/checkout",
|
|
5259
5350
|
"label": "Checkout",
|
|
5351
|
+
"href": "/checkout",
|
|
5260
5352
|
"icon": "credit-card"
|
|
5261
5353
|
},
|
|
5262
5354
|
{
|
|
5263
|
-
"
|
|
5355
|
+
"icon": "clipboard-list",
|
|
5264
5356
|
"href": "/orders",
|
|
5265
|
-
"
|
|
5357
|
+
"label": "Orders"
|
|
5266
5358
|
}
|
|
5267
5359
|
],
|
|
5268
5360
|
"type": "dashboard-layout",
|
|
5361
|
+
"appName": "ServiceMarketplace",
|
|
5269
5362
|
"children": [
|
|
5270
5363
|
{
|
|
5271
5364
|
"gap": "lg",
|
|
5272
|
-
"direction": "vertical",
|
|
5273
5365
|
"children": [
|
|
5274
5366
|
{
|
|
5367
|
+
"justify": "between",
|
|
5275
5368
|
"children": [
|
|
5276
5369
|
{
|
|
5277
5370
|
"children": [
|
|
5278
5371
|
{
|
|
5279
|
-
"
|
|
5280
|
-
"
|
|
5372
|
+
"type": "icon",
|
|
5373
|
+
"name": "list"
|
|
5281
5374
|
},
|
|
5282
5375
|
{
|
|
5283
|
-
"content": "Orders",
|
|
5284
5376
|
"type": "typography",
|
|
5377
|
+
"content": "Orders",
|
|
5285
5378
|
"variant": "h2"
|
|
5286
5379
|
}
|
|
5287
5380
|
],
|
|
5288
|
-
"gap": "sm",
|
|
5289
5381
|
"type": "stack",
|
|
5290
|
-
"
|
|
5291
|
-
"direction": "horizontal"
|
|
5382
|
+
"gap": "sm",
|
|
5383
|
+
"direction": "horizontal",
|
|
5384
|
+
"align": "center"
|
|
5292
5385
|
},
|
|
5293
5386
|
{
|
|
5387
|
+
"type": "stack",
|
|
5294
5388
|
"children": [
|
|
5295
5389
|
{
|
|
5296
|
-
"
|
|
5390
|
+
"icon": "plus",
|
|
5297
5391
|
"type": "button",
|
|
5298
5392
|
"variant": "primary",
|
|
5299
|
-
"
|
|
5393
|
+
"label": "Create Order",
|
|
5300
5394
|
"action": "CREATE"
|
|
5301
5395
|
}
|
|
5302
5396
|
],
|
|
5303
|
-
"
|
|
5304
|
-
"
|
|
5305
|
-
"direction": "horizontal"
|
|
5397
|
+
"direction": "horizontal",
|
|
5398
|
+
"gap": "sm"
|
|
5306
5399
|
}
|
|
5307
5400
|
],
|
|
5308
|
-
"
|
|
5309
|
-
"justify": "between",
|
|
5401
|
+
"align": "center",
|
|
5310
5402
|
"gap": "md",
|
|
5311
5403
|
"type": "stack",
|
|
5312
|
-
"
|
|
5404
|
+
"direction": "horizontal"
|
|
5313
5405
|
},
|
|
5314
5406
|
{
|
|
5315
5407
|
"type": "divider"
|
|
5316
5408
|
},
|
|
5317
5409
|
{
|
|
5318
|
-
"entity": "@payload.data",
|
|
5319
|
-
"type": "data-grid",
|
|
5320
|
-
"itemActions": [
|
|
5321
|
-
{
|
|
5322
|
-
"label": "View",
|
|
5323
|
-
"event": "VIEW",
|
|
5324
|
-
"variant": "ghost"
|
|
5325
|
-
},
|
|
5326
|
-
{
|
|
5327
|
-
"label": "Edit",
|
|
5328
|
-
"event": "EDIT",
|
|
5329
|
-
"variant": "ghost"
|
|
5330
|
-
},
|
|
5331
|
-
{
|
|
5332
|
-
"event": "DELETE",
|
|
5333
|
-
"variant": "danger",
|
|
5334
|
-
"label": "Delete"
|
|
5335
|
-
}
|
|
5336
|
-
],
|
|
5337
5410
|
"fields": [
|
|
5338
5411
|
{
|
|
5339
|
-
"
|
|
5340
|
-
"variant": "h4",
|
|
5412
|
+
"icon": "list",
|
|
5341
5413
|
"name": "productName",
|
|
5342
|
-
"
|
|
5414
|
+
"label": "Product Name",
|
|
5415
|
+
"variant": "h4"
|
|
5343
5416
|
},
|
|
5344
5417
|
{
|
|
5418
|
+
"name": "amount",
|
|
5345
5419
|
"label": "Amount",
|
|
5420
|
+
"variant": "badge",
|
|
5346
5421
|
"colorMap": {
|
|
5347
|
-
"active": "success",
|
|
5348
5422
|
"completed": "success",
|
|
5349
|
-
"
|
|
5423
|
+
"inactive": "neutral",
|
|
5350
5424
|
"disabled": "neutral",
|
|
5351
|
-
"archived": "neutral",
|
|
5352
|
-
"done": "success",
|
|
5353
5425
|
"scheduled": "warning",
|
|
5354
|
-
"error": "destructive",
|
|
5355
5426
|
"cancelled": "destructive",
|
|
5356
|
-
"failed": "destructive",
|
|
5357
5427
|
"draft": "warning",
|
|
5358
|
-
"
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5428
|
+
"archived": "neutral",
|
|
5429
|
+
"failed": "destructive",
|
|
5430
|
+
"active": "success",
|
|
5431
|
+
"error": "destructive",
|
|
5432
|
+
"done": "success",
|
|
5433
|
+
"pending": "warning"
|
|
5434
|
+
}
|
|
5362
5435
|
},
|
|
5363
5436
|
{
|
|
5364
|
-
"
|
|
5437
|
+
"name": "paymentStatus",
|
|
5365
5438
|
"label": "Payment Status",
|
|
5366
|
-
"
|
|
5439
|
+
"variant": "caption"
|
|
5367
5440
|
}
|
|
5368
|
-
]
|
|
5441
|
+
],
|
|
5442
|
+
"entity": "@payload.data",
|
|
5443
|
+
"itemActions": [
|
|
5444
|
+
{
|
|
5445
|
+
"variant": "ghost",
|
|
5446
|
+
"label": "View",
|
|
5447
|
+
"event": "VIEW"
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
"event": "EDIT",
|
|
5451
|
+
"label": "Edit",
|
|
5452
|
+
"variant": "ghost"
|
|
5453
|
+
},
|
|
5454
|
+
{
|
|
5455
|
+
"label": "Delete",
|
|
5456
|
+
"event": "DELETE",
|
|
5457
|
+
"variant": "danger"
|
|
5458
|
+
}
|
|
5459
|
+
],
|
|
5460
|
+
"type": "data-grid"
|
|
5369
5461
|
}
|
|
5370
5462
|
],
|
|
5371
5463
|
"type": "stack",
|
|
5372
|
-
"className": "max-w-5xl mx-auto w-full"
|
|
5464
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
5465
|
+
"direction": "vertical"
|
|
5373
5466
|
}
|
|
5374
|
-
]
|
|
5375
|
-
"appName": "ServiceMarketplace"
|
|
5467
|
+
]
|
|
5376
5468
|
}
|
|
5377
5469
|
]
|
|
5378
5470
|
]
|
|
@@ -5387,33 +5479,33 @@
|
|
|
5387
5479
|
"main",
|
|
5388
5480
|
{
|
|
5389
5481
|
"type": "stack",
|
|
5390
|
-
"align": "center",
|
|
5391
|
-
"className": "py-12",
|
|
5392
5482
|
"children": [
|
|
5393
5483
|
{
|
|
5394
|
-
"
|
|
5484
|
+
"name": "alert-triangle",
|
|
5395
5485
|
"type": "icon",
|
|
5396
|
-
"
|
|
5486
|
+
"color": "destructive"
|
|
5397
5487
|
},
|
|
5398
5488
|
{
|
|
5399
|
-
"variant": "h3",
|
|
5400
5489
|
"type": "typography",
|
|
5490
|
+
"variant": "h3",
|
|
5401
5491
|
"content": "Failed to load order"
|
|
5402
5492
|
},
|
|
5403
5493
|
{
|
|
5404
5494
|
"color": "muted",
|
|
5405
|
-
"variant": "body",
|
|
5406
5495
|
"content": "@payload.error",
|
|
5407
|
-
"type": "typography"
|
|
5496
|
+
"type": "typography",
|
|
5497
|
+
"variant": "body"
|
|
5408
5498
|
},
|
|
5409
5499
|
{
|
|
5410
5500
|
"variant": "primary",
|
|
5411
|
-
"type": "button",
|
|
5412
5501
|
"icon": "rotate-ccw",
|
|
5413
|
-
"
|
|
5414
|
-
"
|
|
5502
|
+
"action": "INIT",
|
|
5503
|
+
"type": "button",
|
|
5504
|
+
"label": "Retry"
|
|
5415
5505
|
}
|
|
5416
5506
|
],
|
|
5507
|
+
"align": "center",
|
|
5508
|
+
"className": "py-12",
|
|
5417
5509
|
"gap": "md",
|
|
5418
5510
|
"direction": "vertical"
|
|
5419
5511
|
}
|
|
@@ -5590,8 +5682,8 @@
|
|
|
5590
5682
|
"Order",
|
|
5591
5683
|
{
|
|
5592
5684
|
"emit": {
|
|
5593
|
-
"
|
|
5594
|
-
"
|
|
5685
|
+
"failure": "OrderLoadFailed",
|
|
5686
|
+
"success": "OrderLoaded"
|
|
5595
5687
|
}
|
|
5596
5688
|
}
|
|
5597
5689
|
]
|
|
@@ -5607,8 +5699,8 @@
|
|
|
5607
5699
|
"Order",
|
|
5608
5700
|
{
|
|
5609
5701
|
"emit": {
|
|
5610
|
-
"
|
|
5611
|
-
"
|
|
5702
|
+
"success": "OrderLoaded",
|
|
5703
|
+
"failure": "OrderLoadFailed"
|
|
5612
5704
|
}
|
|
5613
5705
|
}
|
|
5614
5706
|
],
|
|
@@ -5616,10 +5708,13 @@
|
|
|
5616
5708
|
"render-ui",
|
|
5617
5709
|
"modal",
|
|
5618
5710
|
{
|
|
5711
|
+
"direction": "vertical",
|
|
5712
|
+
"gap": "md",
|
|
5713
|
+
"type": "stack",
|
|
5619
5714
|
"children": [
|
|
5620
5715
|
{
|
|
5621
|
-
"direction": "horizontal",
|
|
5622
5716
|
"type": "stack",
|
|
5717
|
+
"direction": "horizontal",
|
|
5623
5718
|
"gap": "sm",
|
|
5624
5719
|
"children": [
|
|
5625
5720
|
{
|
|
@@ -5627,9 +5722,9 @@
|
|
|
5627
5722
|
"name": "plus-circle"
|
|
5628
5723
|
},
|
|
5629
5724
|
{
|
|
5725
|
+
"variant": "h3",
|
|
5630
5726
|
"type": "typography",
|
|
5631
|
-
"content": "Create Order"
|
|
5632
|
-
"variant": "h3"
|
|
5727
|
+
"content": "Create Order"
|
|
5633
5728
|
}
|
|
5634
5729
|
]
|
|
5635
5730
|
},
|
|
@@ -5637,21 +5732,18 @@
|
|
|
5637
5732
|
"type": "divider"
|
|
5638
5733
|
},
|
|
5639
5734
|
{
|
|
5735
|
+
"type": "form-section",
|
|
5640
5736
|
"submitEvent": "SAVE",
|
|
5641
5737
|
"cancelEvent": "CLOSE",
|
|
5642
|
-
"
|
|
5738
|
+
"mode": "create",
|
|
5643
5739
|
"fields": [
|
|
5644
5740
|
"productName",
|
|
5645
5741
|
"amount",
|
|
5646
5742
|
"paymentStatus",
|
|
5647
5743
|
"orderDate"
|
|
5648
|
-
]
|
|
5649
|
-
"mode": "create"
|
|
5744
|
+
]
|
|
5650
5745
|
}
|
|
5651
|
-
]
|
|
5652
|
-
"gap": "md",
|
|
5653
|
-
"direction": "vertical",
|
|
5654
|
-
"type": "stack"
|
|
5746
|
+
]
|
|
5655
5747
|
}
|
|
5656
5748
|
]
|
|
5657
5749
|
]
|
|
@@ -5930,32 +6022,29 @@
|
|
|
5930
6022
|
"render-ui",
|
|
5931
6023
|
"modal",
|
|
5932
6024
|
{
|
|
5933
|
-
"type": "stack",
|
|
5934
|
-
"direction": "vertical",
|
|
5935
6025
|
"children": [
|
|
5936
6026
|
{
|
|
5937
|
-
"type": "stack",
|
|
5938
6027
|
"children": [
|
|
5939
6028
|
{
|
|
5940
6029
|
"name": "edit",
|
|
5941
6030
|
"type": "icon"
|
|
5942
6031
|
},
|
|
5943
6032
|
{
|
|
6033
|
+
"variant": "h3",
|
|
5944
6034
|
"type": "typography",
|
|
5945
|
-
"content": "Edit Order"
|
|
5946
|
-
"variant": "h3"
|
|
6035
|
+
"content": "Edit Order"
|
|
5947
6036
|
}
|
|
5948
6037
|
],
|
|
5949
6038
|
"gap": "sm",
|
|
6039
|
+
"type": "stack",
|
|
5950
6040
|
"direction": "horizontal"
|
|
5951
6041
|
},
|
|
5952
6042
|
{
|
|
5953
6043
|
"type": "divider"
|
|
5954
6044
|
},
|
|
5955
6045
|
{
|
|
6046
|
+
"entity": "@payload.row",
|
|
5956
6047
|
"mode": "edit",
|
|
5957
|
-
"type": "form-section",
|
|
5958
|
-
"submitEvent": "SAVE",
|
|
5959
6048
|
"cancelEvent": "CLOSE",
|
|
5960
6049
|
"fields": [
|
|
5961
6050
|
"productName",
|
|
@@ -5963,10 +6052,13 @@
|
|
|
5963
6052
|
"paymentStatus",
|
|
5964
6053
|
"orderDate"
|
|
5965
6054
|
],
|
|
5966
|
-
"
|
|
6055
|
+
"type": "form-section",
|
|
6056
|
+
"submitEvent": "SAVE"
|
|
5967
6057
|
}
|
|
5968
6058
|
],
|
|
5969
|
-
"gap": "md"
|
|
6059
|
+
"gap": "md",
|
|
6060
|
+
"direction": "vertical",
|
|
6061
|
+
"type": "stack"
|
|
5970
6062
|
}
|
|
5971
6063
|
]
|
|
5972
6064
|
]
|
|
@@ -6153,6 +6245,26 @@
|
|
|
6153
6245
|
"to": "closed",
|
|
6154
6246
|
"event": "INIT",
|
|
6155
6247
|
"effects": [
|
|
6248
|
+
[
|
|
6249
|
+
"set",
|
|
6250
|
+
"@entity.amount",
|
|
6251
|
+
0.0
|
|
6252
|
+
],
|
|
6253
|
+
[
|
|
6254
|
+
"set",
|
|
6255
|
+
"@entity.orderDate",
|
|
6256
|
+
""
|
|
6257
|
+
],
|
|
6258
|
+
[
|
|
6259
|
+
"set",
|
|
6260
|
+
"@entity.paymentStatus",
|
|
6261
|
+
""
|
|
6262
|
+
],
|
|
6263
|
+
[
|
|
6264
|
+
"set",
|
|
6265
|
+
"@entity.productName",
|
|
6266
|
+
""
|
|
6267
|
+
],
|
|
6156
6268
|
[
|
|
6157
6269
|
"fetch",
|
|
6158
6270
|
"Order",
|
|
@@ -6175,8 +6287,8 @@
|
|
|
6175
6287
|
"Order",
|
|
6176
6288
|
{
|
|
6177
6289
|
"emit": {
|
|
6178
|
-
"
|
|
6179
|
-
"
|
|
6290
|
+
"failure": "OrderLoadFailed",
|
|
6291
|
+
"success": "OrderLoaded"
|
|
6180
6292
|
},
|
|
6181
6293
|
"id": "@payload.id"
|
|
6182
6294
|
}
|
|
@@ -6185,89 +6297,90 @@
|
|
|
6185
6297
|
"render-ui",
|
|
6186
6298
|
"modal",
|
|
6187
6299
|
{
|
|
6300
|
+
"type": "stack",
|
|
6188
6301
|
"gap": "md",
|
|
6189
6302
|
"children": [
|
|
6190
6303
|
{
|
|
6191
|
-
"
|
|
6192
|
-
"type": "stack",
|
|
6193
|
-
"align": "center",
|
|
6304
|
+
"gap": "sm",
|
|
6194
6305
|
"children": [
|
|
6195
6306
|
{
|
|
6196
6307
|
"name": "eye",
|
|
6197
6308
|
"type": "icon"
|
|
6198
6309
|
},
|
|
6199
6310
|
{
|
|
6200
|
-
"type": "typography",
|
|
6201
6311
|
"content": "@entity.productName",
|
|
6202
|
-
"variant": "h3"
|
|
6312
|
+
"variant": "h3",
|
|
6313
|
+
"type": "typography"
|
|
6203
6314
|
}
|
|
6204
6315
|
],
|
|
6205
|
-
"
|
|
6316
|
+
"direction": "horizontal",
|
|
6317
|
+
"type": "stack",
|
|
6318
|
+
"align": "center"
|
|
6206
6319
|
},
|
|
6207
6320
|
{
|
|
6208
6321
|
"type": "divider"
|
|
6209
6322
|
},
|
|
6210
6323
|
{
|
|
6324
|
+
"gap": "md",
|
|
6325
|
+
"direction": "horizontal",
|
|
6326
|
+
"type": "stack",
|
|
6211
6327
|
"children": [
|
|
6212
6328
|
{
|
|
6213
|
-
"variant": "caption",
|
|
6214
6329
|
"content": "Product Name",
|
|
6215
|
-
"type": "typography"
|
|
6330
|
+
"type": "typography",
|
|
6331
|
+
"variant": "caption"
|
|
6216
6332
|
},
|
|
6217
6333
|
{
|
|
6218
6334
|
"variant": "body",
|
|
6219
|
-
"
|
|
6220
|
-
"
|
|
6335
|
+
"content": "@entity.productName",
|
|
6336
|
+
"type": "typography"
|
|
6221
6337
|
}
|
|
6222
|
-
]
|
|
6223
|
-
"gap": "md",
|
|
6224
|
-
"direction": "horizontal",
|
|
6225
|
-
"type": "stack"
|
|
6338
|
+
]
|
|
6226
6339
|
},
|
|
6227
6340
|
{
|
|
6341
|
+
"gap": "md",
|
|
6228
6342
|
"direction": "horizontal",
|
|
6343
|
+
"type": "stack",
|
|
6229
6344
|
"children": [
|
|
6230
6345
|
{
|
|
6346
|
+
"type": "typography",
|
|
6231
6347
|
"variant": "caption",
|
|
6232
|
-
"content": "Amount"
|
|
6233
|
-
"type": "typography"
|
|
6348
|
+
"content": "Amount"
|
|
6234
6349
|
},
|
|
6235
6350
|
{
|
|
6236
|
-
"variant": "body",
|
|
6237
6351
|
"content": "@entity.amount",
|
|
6352
|
+
"variant": "body",
|
|
6238
6353
|
"type": "typography"
|
|
6239
6354
|
}
|
|
6240
|
-
]
|
|
6241
|
-
"type": "stack",
|
|
6242
|
-
"gap": "md"
|
|
6355
|
+
]
|
|
6243
6356
|
},
|
|
6244
6357
|
{
|
|
6358
|
+
"direction": "horizontal",
|
|
6245
6359
|
"type": "stack",
|
|
6246
6360
|
"children": [
|
|
6247
6361
|
{
|
|
6248
|
-
"type": "typography",
|
|
6249
6362
|
"variant": "caption",
|
|
6250
|
-
"content": "Payment Status"
|
|
6363
|
+
"content": "Payment Status",
|
|
6364
|
+
"type": "typography"
|
|
6251
6365
|
},
|
|
6252
6366
|
{
|
|
6253
|
-
"type": "typography",
|
|
6254
6367
|
"variant": "body",
|
|
6255
|
-
"content": "@entity.paymentStatus"
|
|
6368
|
+
"content": "@entity.paymentStatus",
|
|
6369
|
+
"type": "typography"
|
|
6256
6370
|
}
|
|
6257
6371
|
],
|
|
6258
|
-
"direction": "horizontal",
|
|
6259
6372
|
"gap": "md"
|
|
6260
6373
|
},
|
|
6261
6374
|
{
|
|
6262
6375
|
"children": [
|
|
6263
6376
|
{
|
|
6377
|
+
"type": "typography",
|
|
6264
6378
|
"content": "Order Date",
|
|
6265
|
-
"variant": "caption"
|
|
6266
|
-
"type": "typography"
|
|
6379
|
+
"variant": "caption"
|
|
6267
6380
|
},
|
|
6268
6381
|
{
|
|
6269
|
-
"variant": "body",
|
|
6270
6382
|
"type": "typography",
|
|
6383
|
+
"variant": "body",
|
|
6271
6384
|
"content": "@entity.orderDate"
|
|
6272
6385
|
}
|
|
6273
6386
|
],
|
|
@@ -6285,23 +6398,22 @@
|
|
|
6285
6398
|
"justify": "end",
|
|
6286
6399
|
"children": [
|
|
6287
6400
|
{
|
|
6288
|
-
"variant": "primary",
|
|
6289
6401
|
"label": "Edit",
|
|
6290
6402
|
"type": "button",
|
|
6291
6403
|
"icon": "edit",
|
|
6404
|
+
"variant": "primary",
|
|
6292
6405
|
"action": "EDIT"
|
|
6293
6406
|
},
|
|
6294
6407
|
{
|
|
6295
|
-
"variant": "ghost",
|
|
6296
|
-
"label": "Close",
|
|
6297
6408
|
"action": "CLOSE",
|
|
6298
|
-
"
|
|
6409
|
+
"variant": "ghost",
|
|
6410
|
+
"type": "button",
|
|
6411
|
+
"label": "Close"
|
|
6299
6412
|
}
|
|
6300
6413
|
]
|
|
6301
6414
|
}
|
|
6302
6415
|
],
|
|
6303
|
-
"direction": "vertical"
|
|
6304
|
-
"type": "stack"
|
|
6416
|
+
"direction": "vertical"
|
|
6305
6417
|
}
|
|
6306
6418
|
]
|
|
6307
6419
|
]
|
|
@@ -6523,8 +6635,8 @@
|
|
|
6523
6635
|
"Order",
|
|
6524
6636
|
{
|
|
6525
6637
|
"emit": {
|
|
6526
|
-
"
|
|
6527
|
-
"
|
|
6638
|
+
"failure": "OrderLoadFailed",
|
|
6639
|
+
"success": "OrderLoaded"
|
|
6528
6640
|
}
|
|
6529
6641
|
}
|
|
6530
6642
|
]
|
|
@@ -6546,8 +6658,8 @@
|
|
|
6546
6658
|
{
|
|
6547
6659
|
"id": "@payload.id",
|
|
6548
6660
|
"emit": {
|
|
6549
|
-
"
|
|
6550
|
-
"
|
|
6661
|
+
"failure": "OrderLoadFailed",
|
|
6662
|
+
"success": "OrderLoaded"
|
|
6551
6663
|
}
|
|
6552
6664
|
}
|
|
6553
6665
|
],
|
|
@@ -6555,36 +6667,34 @@
|
|
|
6555
6667
|
"render-ui",
|
|
6556
6668
|
"modal",
|
|
6557
6669
|
{
|
|
6558
|
-
"direction": "vertical",
|
|
6559
|
-
"gap": "md",
|
|
6560
|
-
"type": "stack",
|
|
6561
6670
|
"children": [
|
|
6562
6671
|
{
|
|
6563
|
-
"align": "center",
|
|
6564
|
-
"direction": "horizontal",
|
|
6565
6672
|
"type": "stack",
|
|
6566
|
-
"gap": "sm",
|
|
6567
6673
|
"children": [
|
|
6568
6674
|
{
|
|
6569
|
-
"
|
|
6570
|
-
"
|
|
6675
|
+
"name": "alert-triangle",
|
|
6676
|
+
"type": "icon"
|
|
6571
6677
|
},
|
|
6572
6678
|
{
|
|
6573
|
-
"variant": "h3",
|
|
6574
6679
|
"content": "Delete Order",
|
|
6680
|
+
"variant": "h3",
|
|
6575
6681
|
"type": "typography"
|
|
6576
6682
|
}
|
|
6577
|
-
]
|
|
6683
|
+
],
|
|
6684
|
+
"direction": "horizontal",
|
|
6685
|
+
"gap": "sm",
|
|
6686
|
+
"align": "center"
|
|
6578
6687
|
},
|
|
6579
6688
|
{
|
|
6580
6689
|
"type": "divider"
|
|
6581
6690
|
},
|
|
6582
6691
|
{
|
|
6692
|
+
"variant": "error",
|
|
6583
6693
|
"message": "This action cannot be undone.",
|
|
6584
|
-
"type": "alert"
|
|
6585
|
-
"variant": "error"
|
|
6694
|
+
"type": "alert"
|
|
6586
6695
|
},
|
|
6587
6696
|
{
|
|
6697
|
+
"direction": "horizontal",
|
|
6588
6698
|
"children": [
|
|
6589
6699
|
{
|
|
6590
6700
|
"action": "CANCEL",
|
|
@@ -6593,19 +6703,21 @@
|
|
|
6593
6703
|
"label": "Cancel"
|
|
6594
6704
|
},
|
|
6595
6705
|
{
|
|
6596
|
-
"icon": "check",
|
|
6597
6706
|
"label": "Delete",
|
|
6598
6707
|
"action": "CONFIRM_DELETE",
|
|
6599
6708
|
"variant": "danger",
|
|
6600
|
-
"type": "button"
|
|
6709
|
+
"type": "button",
|
|
6710
|
+
"icon": "check"
|
|
6601
6711
|
}
|
|
6602
6712
|
],
|
|
6603
|
-
"gap": "sm",
|
|
6604
|
-
"direction": "horizontal",
|
|
6605
6713
|
"type": "stack",
|
|
6714
|
+
"gap": "sm",
|
|
6606
6715
|
"justify": "end"
|
|
6607
6716
|
}
|
|
6608
|
-
]
|
|
6717
|
+
],
|
|
6718
|
+
"type": "stack",
|
|
6719
|
+
"gap": "md",
|
|
6720
|
+
"direction": "vertical"
|
|
6609
6721
|
}
|
|
6610
6722
|
]
|
|
6611
6723
|
]
|
|
@@ -6706,8 +6818,8 @@
|
|
|
6706
6818
|
"Order",
|
|
6707
6819
|
{
|
|
6708
6820
|
"emit": {
|
|
6709
|
-
"
|
|
6710
|
-
"
|
|
6821
|
+
"success": "OrderLoaded",
|
|
6822
|
+
"failure": "OrderLoadFailed"
|
|
6711
6823
|
}
|
|
6712
6824
|
}
|
|
6713
6825
|
]
|
|
@@ -6743,4 +6855,4 @@
|
|
|
6743
6855
|
]
|
|
6744
6856
|
}
|
|
6745
6857
|
]
|
|
6746
|
-
}
|
|
6858
|
+
}
|