@almadar/std 8.5.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/dist/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{
|
|
55
55
|
"event": "CHECKOUT",
|
|
56
56
|
"scope": "external",
|
|
57
|
-
"
|
|
57
|
+
"payloadSchema": [
|
|
58
58
|
{
|
|
59
59
|
"name": "id",
|
|
60
60
|
"type": "string"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"event": "ProductLoaded",
|
|
66
66
|
"description": "Fired when Product finishes loading",
|
|
67
67
|
"scope": "internal",
|
|
68
|
-
"
|
|
68
|
+
"payloadSchema": [
|
|
69
69
|
{
|
|
70
70
|
"name": "data",
|
|
71
71
|
"type": "[Product]"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"event": "ProductLoadFailed",
|
|
77
77
|
"description": "Fired when Product fails to load",
|
|
78
78
|
"scope": "internal",
|
|
79
|
-
"
|
|
79
|
+
"payloadSchema": [
|
|
80
80
|
{
|
|
81
81
|
"name": "error",
|
|
82
82
|
"type": "string"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
{
|
|
91
91
|
"event": "ProductSaved",
|
|
92
92
|
"scope": "internal",
|
|
93
|
-
"
|
|
93
|
+
"payloadSchema": [
|
|
94
94
|
{
|
|
95
95
|
"name": "id",
|
|
96
96
|
"type": "string"
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
{
|
|
101
101
|
"event": "ProductSaveFailed",
|
|
102
102
|
"scope": "internal",
|
|
103
|
-
"
|
|
103
|
+
"payloadSchema": [
|
|
104
104
|
{
|
|
105
105
|
"name": "error",
|
|
106
106
|
"type": "string"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
{
|
|
115
115
|
"event": "ProductUpdated",
|
|
116
116
|
"scope": "internal",
|
|
117
|
-
"
|
|
117
|
+
"payloadSchema": [
|
|
118
118
|
{
|
|
119
119
|
"name": "id",
|
|
120
120
|
"type": "string"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
{
|
|
125
125
|
"event": "ProductUpdateFailed",
|
|
126
126
|
"scope": "internal",
|
|
127
|
-
"
|
|
127
|
+
"payloadSchema": [
|
|
128
128
|
{
|
|
129
129
|
"name": "error",
|
|
130
130
|
"type": "string"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
{
|
|
139
139
|
"event": "ProductDeleted",
|
|
140
140
|
"scope": "internal",
|
|
141
|
-
"
|
|
141
|
+
"payloadSchema": [
|
|
142
142
|
{
|
|
143
143
|
"name": "id",
|
|
144
144
|
"type": "string"
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
{
|
|
149
149
|
"event": "ProductDeleteFailed",
|
|
150
150
|
"scope": "internal",
|
|
151
|
-
"
|
|
151
|
+
"payloadSchema": [
|
|
152
152
|
{
|
|
153
153
|
"name": "error",
|
|
154
154
|
"type": "string"
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
{
|
|
163
163
|
"event": "ProductOauthCompleted",
|
|
164
164
|
"scope": "internal",
|
|
165
|
-
"
|
|
165
|
+
"payloadSchema": [
|
|
166
166
|
{
|
|
167
167
|
"name": "data",
|
|
168
168
|
"type": "object"
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
{
|
|
173
173
|
"event": "ProductOauthFailed",
|
|
174
174
|
"scope": "internal",
|
|
175
|
-
"
|
|
175
|
+
"payloadSchema": [
|
|
176
176
|
{
|
|
177
177
|
"name": "error",
|
|
178
178
|
"type": "string"
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
{
|
|
187
187
|
"event": "ProductStripeCompleted",
|
|
188
188
|
"scope": "internal",
|
|
189
|
-
"
|
|
189
|
+
"payloadSchema": [
|
|
190
190
|
{
|
|
191
191
|
"name": "data",
|
|
192
192
|
"type": "object"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
{
|
|
197
197
|
"event": "ProductStripeFailed",
|
|
198
198
|
"scope": "internal",
|
|
199
|
-
"
|
|
199
|
+
"payloadSchema": [
|
|
200
200
|
{
|
|
201
201
|
"name": "error",
|
|
202
202
|
"type": "string"
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
{
|
|
211
211
|
"event": "ProductEmailCompleted",
|
|
212
212
|
"scope": "internal",
|
|
213
|
-
"
|
|
213
|
+
"payloadSchema": [
|
|
214
214
|
{
|
|
215
215
|
"name": "data",
|
|
216
216
|
"type": "object"
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
{
|
|
221
221
|
"event": "ProductEmailFailed",
|
|
222
222
|
"scope": "internal",
|
|
223
|
-
"
|
|
223
|
+
"payloadSchema": [
|
|
224
224
|
{
|
|
225
225
|
"name": "error",
|
|
226
226
|
"type": "string"
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
{
|
|
235
235
|
"event": "OrderSaved",
|
|
236
236
|
"scope": "internal",
|
|
237
|
-
"
|
|
237
|
+
"payloadSchema": [
|
|
238
238
|
{
|
|
239
239
|
"name": "id",
|
|
240
240
|
"type": "string"
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
{
|
|
245
245
|
"event": "OrderSaveFailed",
|
|
246
246
|
"scope": "internal",
|
|
247
|
-
"
|
|
247
|
+
"payloadSchema": [
|
|
248
248
|
{
|
|
249
249
|
"name": "error",
|
|
250
250
|
"type": "string"
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
{
|
|
259
259
|
"event": "OrderUpdated",
|
|
260
260
|
"scope": "internal",
|
|
261
|
-
"
|
|
261
|
+
"payloadSchema": [
|
|
262
262
|
{
|
|
263
263
|
"name": "id",
|
|
264
264
|
"type": "string"
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
{
|
|
269
269
|
"event": "OrderUpdateFailed",
|
|
270
270
|
"scope": "internal",
|
|
271
|
-
"
|
|
271
|
+
"payloadSchema": [
|
|
272
272
|
{
|
|
273
273
|
"name": "error",
|
|
274
274
|
"type": "string"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
{
|
|
283
283
|
"event": "OrderDeleted",
|
|
284
284
|
"scope": "internal",
|
|
285
|
-
"
|
|
285
|
+
"payloadSchema": [
|
|
286
286
|
{
|
|
287
287
|
"name": "id",
|
|
288
288
|
"type": "string"
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
{
|
|
293
293
|
"event": "OrderDeleteFailed",
|
|
294
294
|
"scope": "internal",
|
|
295
|
-
"
|
|
295
|
+
"payloadSchema": [
|
|
296
296
|
{
|
|
297
297
|
"name": "error",
|
|
298
298
|
"type": "string"
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
{
|
|
346
346
|
"key": "ProductLoaded",
|
|
347
347
|
"name": "Product loaded",
|
|
348
|
-
"
|
|
348
|
+
"payloadSchema": [
|
|
349
349
|
{
|
|
350
350
|
"name": "data",
|
|
351
351
|
"type": "[Product]"
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
{
|
|
356
356
|
"key": "ProductLoadFailed",
|
|
357
357
|
"name": "Product load failed",
|
|
358
|
-
"
|
|
358
|
+
"payloadSchema": [
|
|
359
359
|
{
|
|
360
360
|
"name": "error",
|
|
361
361
|
"type": "string"
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
{
|
|
374
374
|
"key": "ProductSaved",
|
|
375
375
|
"name": "Product saved",
|
|
376
|
-
"
|
|
376
|
+
"payloadSchema": [
|
|
377
377
|
{
|
|
378
378
|
"name": "id",
|
|
379
379
|
"type": "string"
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
{
|
|
384
384
|
"key": "ProductSaveFailed",
|
|
385
385
|
"name": "Product save failed",
|
|
386
|
-
"
|
|
386
|
+
"payloadSchema": [
|
|
387
387
|
{
|
|
388
388
|
"name": "error",
|
|
389
389
|
"type": "string"
|
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
{
|
|
398
398
|
"key": "ProductUpdated",
|
|
399
399
|
"name": "Product updated",
|
|
400
|
-
"
|
|
400
|
+
"payloadSchema": [
|
|
401
401
|
{
|
|
402
402
|
"name": "id",
|
|
403
403
|
"type": "string"
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
{
|
|
408
408
|
"key": "ProductUpdateFailed",
|
|
409
409
|
"name": "Product update failed",
|
|
410
|
-
"
|
|
410
|
+
"payloadSchema": [
|
|
411
411
|
{
|
|
412
412
|
"name": "error",
|
|
413
413
|
"type": "string"
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
{
|
|
422
422
|
"key": "ProductDeleted",
|
|
423
423
|
"name": "Product deleted",
|
|
424
|
-
"
|
|
424
|
+
"payloadSchema": [
|
|
425
425
|
{
|
|
426
426
|
"name": "id",
|
|
427
427
|
"type": "string"
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
{
|
|
432
432
|
"key": "ProductDeleteFailed",
|
|
433
433
|
"name": "Product delete failed",
|
|
434
|
-
"
|
|
434
|
+
"payloadSchema": [
|
|
435
435
|
{
|
|
436
436
|
"name": "error",
|
|
437
437
|
"type": "string"
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
{
|
|
446
446
|
"key": "ProductOauthCompleted",
|
|
447
447
|
"name": "Product oauth completed",
|
|
448
|
-
"
|
|
448
|
+
"payloadSchema": [
|
|
449
449
|
{
|
|
450
450
|
"name": "data",
|
|
451
451
|
"type": "object"
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
{
|
|
456
456
|
"key": "ProductOauthFailed",
|
|
457
457
|
"name": "Product oauth failed",
|
|
458
|
-
"
|
|
458
|
+
"payloadSchema": [
|
|
459
459
|
{
|
|
460
460
|
"name": "error",
|
|
461
461
|
"type": "string"
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
{
|
|
470
470
|
"key": "ProductStripeCompleted",
|
|
471
471
|
"name": "Product stripe completed",
|
|
472
|
-
"
|
|
472
|
+
"payloadSchema": [
|
|
473
473
|
{
|
|
474
474
|
"name": "data",
|
|
475
475
|
"type": "object"
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
{
|
|
480
480
|
"key": "ProductStripeFailed",
|
|
481
481
|
"name": "Product stripe failed",
|
|
482
|
-
"
|
|
482
|
+
"payloadSchema": [
|
|
483
483
|
{
|
|
484
484
|
"name": "error",
|
|
485
485
|
"type": "string"
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
{
|
|
494
494
|
"key": "ProductEmailCompleted",
|
|
495
495
|
"name": "Product email completed",
|
|
496
|
-
"
|
|
496
|
+
"payloadSchema": [
|
|
497
497
|
{
|
|
498
498
|
"name": "data",
|
|
499
499
|
"type": "object"
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
{
|
|
504
504
|
"key": "ProductEmailFailed",
|
|
505
505
|
"name": "Product email failed",
|
|
506
|
-
"
|
|
506
|
+
"payloadSchema": [
|
|
507
507
|
{
|
|
508
508
|
"name": "error",
|
|
509
509
|
"type": "string"
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
{
|
|
518
518
|
"key": "OrderSaved",
|
|
519
519
|
"name": "Order saved",
|
|
520
|
-
"
|
|
520
|
+
"payloadSchema": [
|
|
521
521
|
{
|
|
522
522
|
"name": "id",
|
|
523
523
|
"type": "string"
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
{
|
|
528
528
|
"key": "OrderSaveFailed",
|
|
529
529
|
"name": "Order save failed",
|
|
530
|
-
"
|
|
530
|
+
"payloadSchema": [
|
|
531
531
|
{
|
|
532
532
|
"name": "error",
|
|
533
533
|
"type": "string"
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
{
|
|
542
542
|
"key": "OrderUpdated",
|
|
543
543
|
"name": "Order updated",
|
|
544
|
-
"
|
|
544
|
+
"payloadSchema": [
|
|
545
545
|
{
|
|
546
546
|
"name": "id",
|
|
547
547
|
"type": "string"
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
{
|
|
552
552
|
"key": "OrderUpdateFailed",
|
|
553
553
|
"name": "Order update failed",
|
|
554
|
-
"
|
|
554
|
+
"payloadSchema": [
|
|
555
555
|
{
|
|
556
556
|
"name": "error",
|
|
557
557
|
"type": "string"
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
{
|
|
566
566
|
"key": "OrderDeleted",
|
|
567
567
|
"name": "Order deleted",
|
|
568
|
-
"
|
|
568
|
+
"payloadSchema": [
|
|
569
569
|
{
|
|
570
570
|
"name": "id",
|
|
571
571
|
"type": "string"
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
{
|
|
576
576
|
"key": "OrderDeleteFailed",
|
|
577
577
|
"name": "Order delete failed",
|
|
578
|
-
"
|
|
578
|
+
"payloadSchema": [
|
|
579
579
|
{
|
|
580
580
|
"name": "error",
|
|
581
581
|
"type": "string"
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
{
|
|
590
590
|
"key": "VIEW",
|
|
591
591
|
"name": "View",
|
|
592
|
-
"
|
|
592
|
+
"payloadSchema": [
|
|
593
593
|
{
|
|
594
594
|
"name": "id",
|
|
595
595
|
"type": "string",
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
{
|
|
605
605
|
"key": "EDIT",
|
|
606
606
|
"name": "Edit",
|
|
607
|
-
"
|
|
607
|
+
"payloadSchema": [
|
|
608
608
|
{
|
|
609
609
|
"name": "id",
|
|
610
610
|
"type": "string",
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
{
|
|
620
620
|
"key": "DELETE",
|
|
621
621
|
"name": "Delete",
|
|
622
|
-
"
|
|
622
|
+
"payloadSchema": [
|
|
623
623
|
{
|
|
624
624
|
"name": "id",
|
|
625
625
|
"type": "string",
|
|
@@ -643,8 +643,8 @@
|
|
|
643
643
|
"Product",
|
|
644
644
|
{
|
|
645
645
|
"emit": {
|
|
646
|
-
"
|
|
647
|
-
"
|
|
646
|
+
"success": "ProductLoaded",
|
|
647
|
+
"failure": "ProductLoadFailed"
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
],
|
|
@@ -652,22 +652,22 @@
|
|
|
652
652
|
"render-ui",
|
|
653
653
|
"main",
|
|
654
654
|
{
|
|
655
|
+
"direction": "vertical",
|
|
656
|
+
"className": "py-12",
|
|
657
|
+
"gap": "md",
|
|
658
|
+
"type": "stack",
|
|
655
659
|
"children": [
|
|
656
660
|
{
|
|
657
661
|
"type": "spinner"
|
|
658
662
|
},
|
|
659
663
|
{
|
|
660
664
|
"variant": "caption",
|
|
661
|
-
"type": "typography",
|
|
662
665
|
"content": "Loading…",
|
|
666
|
+
"type": "typography",
|
|
663
667
|
"color": "muted"
|
|
664
668
|
}
|
|
665
669
|
],
|
|
666
|
-
"
|
|
667
|
-
"direction": "vertical",
|
|
668
|
-
"type": "stack",
|
|
669
|
-
"align": "center",
|
|
670
|
-
"className": "py-12"
|
|
670
|
+
"align": "center"
|
|
671
671
|
}
|
|
672
672
|
]
|
|
673
673
|
]
|
|
@@ -681,137 +681,137 @@
|
|
|
681
681
|
"render-ui",
|
|
682
682
|
"main",
|
|
683
683
|
{
|
|
684
|
-
"type": "dashboard-layout",
|
|
685
|
-
"appName": "ServiceMarketplace",
|
|
686
|
-
"navItems": [
|
|
687
|
-
{
|
|
688
|
-
"icon": "package",
|
|
689
|
-
"href": "/products",
|
|
690
|
-
"label": "Products"
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
"href": "/login",
|
|
694
|
-
"label": "Login",
|
|
695
|
-
"icon": "layout-list"
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"icon": "credit-card",
|
|
699
|
-
"href": "/checkout",
|
|
700
|
-
"label": "Checkout"
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
"icon": "clipboard-list",
|
|
704
|
-
"label": "Orders",
|
|
705
|
-
"href": "/orders"
|
|
706
|
-
}
|
|
707
|
-
],
|
|
708
684
|
"children": [
|
|
709
685
|
{
|
|
710
686
|
"gap": "lg",
|
|
711
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
712
|
-
"type": "stack",
|
|
713
687
|
"direction": "vertical",
|
|
714
688
|
"children": [
|
|
715
689
|
{
|
|
716
|
-
"justify": "between",
|
|
717
|
-
"type": "stack",
|
|
718
690
|
"direction": "horizontal",
|
|
719
|
-
"
|
|
691
|
+
"justify": "between",
|
|
720
692
|
"children": [
|
|
721
693
|
{
|
|
694
|
+
"gap": "sm",
|
|
695
|
+
"type": "stack",
|
|
722
696
|
"direction": "horizontal",
|
|
697
|
+
"align": "center",
|
|
723
698
|
"children": [
|
|
724
699
|
{
|
|
725
|
-
"
|
|
726
|
-
"
|
|
700
|
+
"type": "icon",
|
|
701
|
+
"name": "shopping-bag"
|
|
727
702
|
},
|
|
728
703
|
{
|
|
729
|
-
"content": "Products",
|
|
730
704
|
"type": "typography",
|
|
731
|
-
"variant": "h2"
|
|
705
|
+
"variant": "h2",
|
|
706
|
+
"content": "Products"
|
|
732
707
|
}
|
|
733
|
-
]
|
|
734
|
-
"align": "center",
|
|
735
|
-
"gap": "sm",
|
|
736
|
-
"type": "stack"
|
|
708
|
+
]
|
|
737
709
|
},
|
|
738
710
|
{
|
|
739
|
-
"type": "stack",
|
|
740
|
-
"direction": "horizontal",
|
|
741
711
|
"gap": "sm",
|
|
712
|
+
"direction": "horizontal",
|
|
713
|
+
"type": "stack",
|
|
742
714
|
"children": [
|
|
743
715
|
{
|
|
744
|
-
"
|
|
716
|
+
"type": "button",
|
|
717
|
+
"label": "Create Product",
|
|
745
718
|
"action": "CREATE",
|
|
746
719
|
"variant": "primary",
|
|
747
|
-
"
|
|
748
|
-
"type": "button"
|
|
720
|
+
"icon": "plus"
|
|
749
721
|
}
|
|
750
722
|
]
|
|
751
723
|
}
|
|
752
724
|
],
|
|
725
|
+
"gap": "md",
|
|
726
|
+
"type": "stack",
|
|
753
727
|
"align": "center"
|
|
754
728
|
},
|
|
755
729
|
{
|
|
756
730
|
"type": "divider"
|
|
757
731
|
},
|
|
758
732
|
{
|
|
759
|
-
"itemActions": [
|
|
760
|
-
{
|
|
761
|
-
"variant": "ghost",
|
|
762
|
-
"label": "View",
|
|
763
|
-
"event": "VIEW"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"label": "Edit",
|
|
767
|
-
"event": "EDIT",
|
|
768
|
-
"variant": "ghost"
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
"variant": "danger",
|
|
772
|
-
"event": "DELETE",
|
|
773
|
-
"label": "Delete"
|
|
774
|
-
}
|
|
775
|
-
],
|
|
776
|
-
"fields": [],
|
|
777
|
-
"entity": "@payload.data",
|
|
778
733
|
"columns": [
|
|
779
734
|
{
|
|
780
|
-
"
|
|
735
|
+
"label": "Name",
|
|
781
736
|
"icon": "shopping-bag",
|
|
782
|
-
"
|
|
783
|
-
"
|
|
737
|
+
"variant": "h4",
|
|
738
|
+
"name": "name"
|
|
784
739
|
},
|
|
785
740
|
{
|
|
786
|
-
"
|
|
741
|
+
"label": "Description",
|
|
787
742
|
"colorMap": {
|
|
788
743
|
"completed": "success",
|
|
789
|
-
"
|
|
744
|
+
"cancelled": "destructive",
|
|
790
745
|
"inactive": "neutral",
|
|
791
|
-
"done": "success",
|
|
792
|
-
"disabled": "neutral",
|
|
793
746
|
"error": "destructive",
|
|
794
|
-
"
|
|
795
|
-
"
|
|
796
|
-
"active": "success",
|
|
747
|
+
"pending": "warning",
|
|
748
|
+
"disabled": "neutral",
|
|
797
749
|
"draft": "warning",
|
|
750
|
+
"failed": "destructive",
|
|
798
751
|
"scheduled": "warning",
|
|
752
|
+
"done": "success",
|
|
753
|
+
"active": "success",
|
|
799
754
|
"archived": "neutral"
|
|
800
755
|
},
|
|
801
|
-
"
|
|
756
|
+
"variant": "badge",
|
|
802
757
|
"name": "description"
|
|
803
758
|
},
|
|
804
759
|
{
|
|
805
760
|
"label": "Price",
|
|
806
|
-
"
|
|
807
|
-
"
|
|
761
|
+
"variant": "caption",
|
|
762
|
+
"name": "price"
|
|
808
763
|
}
|
|
809
764
|
],
|
|
810
|
-
"
|
|
765
|
+
"itemActions": [
|
|
766
|
+
{
|
|
767
|
+
"variant": "ghost",
|
|
768
|
+
"event": "VIEW",
|
|
769
|
+
"label": "View"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"label": "Edit",
|
|
773
|
+
"event": "EDIT",
|
|
774
|
+
"variant": "ghost"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"variant": "danger",
|
|
778
|
+
"label": "Delete",
|
|
779
|
+
"event": "DELETE"
|
|
780
|
+
}
|
|
781
|
+
],
|
|
782
|
+
"type": "data-grid",
|
|
783
|
+
"entity": "@payload.data",
|
|
784
|
+
"fields": []
|
|
811
785
|
}
|
|
812
|
-
]
|
|
786
|
+
],
|
|
787
|
+
"type": "stack",
|
|
788
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
813
789
|
}
|
|
814
|
-
]
|
|
790
|
+
],
|
|
791
|
+
"navItems": [
|
|
792
|
+
{
|
|
793
|
+
"icon": "package",
|
|
794
|
+
"href": "/products",
|
|
795
|
+
"label": "Products"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"icon": "layout-list",
|
|
799
|
+
"label": "Login",
|
|
800
|
+
"href": "/login"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"href": "/checkout",
|
|
804
|
+
"label": "Checkout",
|
|
805
|
+
"icon": "credit-card"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"label": "Orders",
|
|
809
|
+
"href": "/orders",
|
|
810
|
+
"icon": "clipboard-list"
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"appName": "ServiceMarketplace",
|
|
814
|
+
"type": "dashboard-layout"
|
|
815
815
|
}
|
|
816
816
|
]
|
|
817
817
|
]
|
|
@@ -825,7 +825,9 @@
|
|
|
825
825
|
"render-ui",
|
|
826
826
|
"main",
|
|
827
827
|
{
|
|
828
|
-
"
|
|
828
|
+
"gap": "md",
|
|
829
|
+
"type": "stack",
|
|
830
|
+
"className": "py-12",
|
|
829
831
|
"children": [
|
|
830
832
|
{
|
|
831
833
|
"color": "destructive",
|
|
@@ -838,23 +840,21 @@
|
|
|
838
840
|
"content": "Failed to load product"
|
|
839
841
|
},
|
|
840
842
|
{
|
|
841
|
-
"type": "typography",
|
|
842
843
|
"color": "muted",
|
|
843
844
|
"variant": "body",
|
|
845
|
+
"type": "typography",
|
|
844
846
|
"content": "@payload.error"
|
|
845
847
|
},
|
|
846
848
|
{
|
|
847
|
-
"variant": "primary",
|
|
848
|
-
"icon": "rotate-ccw",
|
|
849
849
|
"label": "Retry",
|
|
850
850
|
"type": "button",
|
|
851
|
+
"variant": "primary",
|
|
852
|
+
"icon": "rotate-ccw",
|
|
851
853
|
"action": "INIT"
|
|
852
854
|
}
|
|
853
855
|
],
|
|
854
|
-
"className": "py-12",
|
|
855
|
-
"gap": "md",
|
|
856
856
|
"align": "center",
|
|
857
|
-
"
|
|
857
|
+
"direction": "vertical"
|
|
858
858
|
}
|
|
859
859
|
]
|
|
860
860
|
]
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
{
|
|
872
872
|
"event": "PRODUCT_CREATED",
|
|
873
873
|
"scope": "external",
|
|
874
|
-
"
|
|
874
|
+
"payloadSchema": [
|
|
875
875
|
{
|
|
876
876
|
"name": "id",
|
|
877
877
|
"type": "string"
|
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
"event": "ProductLoadFailed",
|
|
883
883
|
"description": "Fired when Product fails to load",
|
|
884
884
|
"scope": "internal",
|
|
885
|
-
"
|
|
885
|
+
"payloadSchema": [
|
|
886
886
|
{
|
|
887
887
|
"name": "error",
|
|
888
888
|
"type": "string"
|
|
@@ -897,7 +897,7 @@
|
|
|
897
897
|
"event": "ProductLoaded",
|
|
898
898
|
"description": "Fired when Product finishes loading",
|
|
899
899
|
"scope": "internal",
|
|
900
|
-
"
|
|
900
|
+
"payloadSchema": [
|
|
901
901
|
{
|
|
902
902
|
"name": "data",
|
|
903
903
|
"type": "[Product]"
|
|
@@ -907,7 +907,7 @@
|
|
|
907
907
|
{
|
|
908
908
|
"event": "ProductSaveFailed",
|
|
909
909
|
"scope": "internal",
|
|
910
|
-
"
|
|
910
|
+
"payloadSchema": [
|
|
911
911
|
{
|
|
912
912
|
"name": "error",
|
|
913
913
|
"type": "string"
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
{
|
|
922
922
|
"event": "ProductSaved",
|
|
923
923
|
"scope": "internal",
|
|
924
|
-
"
|
|
924
|
+
"payloadSchema": [
|
|
925
925
|
{
|
|
926
926
|
"name": "id",
|
|
927
927
|
"type": "string"
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
{
|
|
956
956
|
"key": "SAVE",
|
|
957
957
|
"name": "Save",
|
|
958
|
-
"
|
|
958
|
+
"payloadSchema": [
|
|
959
959
|
{
|
|
960
960
|
"name": "data",
|
|
961
961
|
"type": "object",
|
|
@@ -970,7 +970,7 @@
|
|
|
970
970
|
{
|
|
971
971
|
"key": "ProductLoadFailed",
|
|
972
972
|
"name": "Product load failed",
|
|
973
|
-
"
|
|
973
|
+
"payloadSchema": [
|
|
974
974
|
{
|
|
975
975
|
"name": "error",
|
|
976
976
|
"type": "string"
|
|
@@ -984,7 +984,7 @@
|
|
|
984
984
|
{
|
|
985
985
|
"key": "ProductLoaded",
|
|
986
986
|
"name": "Product loaded",
|
|
987
|
-
"
|
|
987
|
+
"payloadSchema": [
|
|
988
988
|
{
|
|
989
989
|
"name": "data",
|
|
990
990
|
"type": "[Product]"
|
|
@@ -994,7 +994,7 @@
|
|
|
994
994
|
{
|
|
995
995
|
"key": "ProductSaveFailed",
|
|
996
996
|
"name": "Product save failed",
|
|
997
|
-
"
|
|
997
|
+
"payloadSchema": [
|
|
998
998
|
{
|
|
999
999
|
"name": "error",
|
|
1000
1000
|
"type": "string"
|
|
@@ -1008,7 +1008,7 @@
|
|
|
1008
1008
|
{
|
|
1009
1009
|
"key": "ProductSaved",
|
|
1010
1010
|
"name": "Product saved",
|
|
1011
|
-
"
|
|
1011
|
+
"payloadSchema": [
|
|
1012
1012
|
{
|
|
1013
1013
|
"name": "id",
|
|
1014
1014
|
"type": "string"
|
|
@@ -1049,41 +1049,41 @@
|
|
|
1049
1049
|
{
|
|
1050
1050
|
"gap": "md",
|
|
1051
1051
|
"type": "stack",
|
|
1052
|
+
"direction": "vertical",
|
|
1052
1053
|
"children": [
|
|
1053
1054
|
{
|
|
1054
|
-
"gap": "sm",
|
|
1055
|
-
"type": "stack",
|
|
1056
1055
|
"children": [
|
|
1057
1056
|
{
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1057
|
+
"name": "plus-circle",
|
|
1058
|
+
"type": "icon"
|
|
1060
1059
|
},
|
|
1061
1060
|
{
|
|
1062
|
-
"content": "Create Product",
|
|
1063
1061
|
"variant": "h3",
|
|
1064
|
-
"type": "typography"
|
|
1062
|
+
"type": "typography",
|
|
1063
|
+
"content": "Create Product"
|
|
1065
1064
|
}
|
|
1066
1065
|
],
|
|
1067
|
-
"
|
|
1066
|
+
"gap": "sm",
|
|
1067
|
+
"direction": "horizontal",
|
|
1068
|
+
"type": "stack"
|
|
1068
1069
|
},
|
|
1069
1070
|
{
|
|
1070
1071
|
"type": "divider"
|
|
1071
1072
|
},
|
|
1072
1073
|
{
|
|
1074
|
+
"mode": "create",
|
|
1073
1075
|
"submitEvent": "SAVE",
|
|
1074
1076
|
"type": "form-section",
|
|
1077
|
+
"cancelEvent": "CLOSE",
|
|
1075
1078
|
"fields": [
|
|
1076
1079
|
"name",
|
|
1077
1080
|
"description",
|
|
1078
1081
|
"price",
|
|
1079
1082
|
"category",
|
|
1080
1083
|
"inStock"
|
|
1081
|
-
]
|
|
1082
|
-
"cancelEvent": "CLOSE",
|
|
1083
|
-
"mode": "create"
|
|
1084
|
+
]
|
|
1084
1085
|
}
|
|
1085
|
-
]
|
|
1086
|
-
"direction": "vertical"
|
|
1086
|
+
]
|
|
1087
1087
|
}
|
|
1088
1088
|
]
|
|
1089
1089
|
]
|
|
@@ -1124,8 +1124,8 @@
|
|
|
1124
1124
|
"@payload.data",
|
|
1125
1125
|
{
|
|
1126
1126
|
"emit": {
|
|
1127
|
-
"
|
|
1128
|
-
"
|
|
1127
|
+
"failure": "ProductSaveFailed",
|
|
1128
|
+
"success": "ProductSaved"
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
],
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
{
|
|
1160
1160
|
"event": "PRODUCT_UPDATED",
|
|
1161
1161
|
"scope": "external",
|
|
1162
|
-
"
|
|
1162
|
+
"payloadSchema": [
|
|
1163
1163
|
{
|
|
1164
1164
|
"name": "id",
|
|
1165
1165
|
"type": "string"
|
|
@@ -1170,7 +1170,7 @@
|
|
|
1170
1170
|
"event": "ProductLoadFailed",
|
|
1171
1171
|
"description": "Fired when Product fails to load",
|
|
1172
1172
|
"scope": "internal",
|
|
1173
|
-
"
|
|
1173
|
+
"payloadSchema": [
|
|
1174
1174
|
{
|
|
1175
1175
|
"name": "error",
|
|
1176
1176
|
"type": "string"
|
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
"event": "ProductLoaded",
|
|
1186
1186
|
"description": "Fired when Product finishes loading",
|
|
1187
1187
|
"scope": "internal",
|
|
1188
|
-
"
|
|
1188
|
+
"payloadSchema": [
|
|
1189
1189
|
{
|
|
1190
1190
|
"name": "data",
|
|
1191
1191
|
"type": "[Product]"
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
{
|
|
1196
1196
|
"event": "ProductUpdateFailed",
|
|
1197
1197
|
"scope": "internal",
|
|
1198
|
-
"
|
|
1198
|
+
"payloadSchema": [
|
|
1199
1199
|
{
|
|
1200
1200
|
"name": "error",
|
|
1201
1201
|
"type": "string"
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
{
|
|
1210
1210
|
"event": "ProductUpdated",
|
|
1211
1211
|
"scope": "internal",
|
|
1212
|
-
"
|
|
1212
|
+
"payloadSchema": [
|
|
1213
1213
|
{
|
|
1214
1214
|
"name": "id",
|
|
1215
1215
|
"type": "string"
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
{
|
|
1236
1236
|
"key": "EDIT",
|
|
1237
1237
|
"name": "Edit",
|
|
1238
|
-
"
|
|
1238
|
+
"payloadSchema": [
|
|
1239
1239
|
{
|
|
1240
1240
|
"name": "id",
|
|
1241
1241
|
"type": "string",
|
|
@@ -1254,7 +1254,7 @@
|
|
|
1254
1254
|
{
|
|
1255
1255
|
"key": "SAVE",
|
|
1256
1256
|
"name": "Save",
|
|
1257
|
-
"
|
|
1257
|
+
"payloadSchema": [
|
|
1258
1258
|
{
|
|
1259
1259
|
"name": "data",
|
|
1260
1260
|
"type": "object",
|
|
@@ -1269,7 +1269,7 @@
|
|
|
1269
1269
|
{
|
|
1270
1270
|
"key": "ProductLoadFailed",
|
|
1271
1271
|
"name": "Product load failed",
|
|
1272
|
-
"
|
|
1272
|
+
"payloadSchema": [
|
|
1273
1273
|
{
|
|
1274
1274
|
"name": "error",
|
|
1275
1275
|
"type": "string"
|
|
@@ -1283,7 +1283,7 @@
|
|
|
1283
1283
|
{
|
|
1284
1284
|
"key": "ProductLoaded",
|
|
1285
1285
|
"name": "Product loaded",
|
|
1286
|
-
"
|
|
1286
|
+
"payloadSchema": [
|
|
1287
1287
|
{
|
|
1288
1288
|
"name": "data",
|
|
1289
1289
|
"type": "[Product]"
|
|
@@ -1293,7 +1293,7 @@
|
|
|
1293
1293
|
{
|
|
1294
1294
|
"key": "ProductUpdateFailed",
|
|
1295
1295
|
"name": "Product update failed",
|
|
1296
|
-
"
|
|
1296
|
+
"payloadSchema": [
|
|
1297
1297
|
{
|
|
1298
1298
|
"name": "error",
|
|
1299
1299
|
"type": "string"
|
|
@@ -1307,7 +1307,7 @@
|
|
|
1307
1307
|
{
|
|
1308
1308
|
"key": "ProductUpdated",
|
|
1309
1309
|
"name": "Product updated",
|
|
1310
|
-
"
|
|
1310
|
+
"payloadSchema": [
|
|
1311
1311
|
{
|
|
1312
1312
|
"name": "id",
|
|
1313
1313
|
"type": "string"
|
|
@@ -1336,11 +1336,11 @@
|
|
|
1336
1336
|
"fetch",
|
|
1337
1337
|
"Product",
|
|
1338
1338
|
{
|
|
1339
|
+
"id": "@payload.id",
|
|
1339
1340
|
"emit": {
|
|
1340
|
-
"
|
|
1341
|
-
"
|
|
1342
|
-
}
|
|
1343
|
-
"id": "@payload.id"
|
|
1341
|
+
"success": "ProductLoaded",
|
|
1342
|
+
"failure": "ProductLoadFailed"
|
|
1343
|
+
}
|
|
1344
1344
|
}
|
|
1345
1345
|
],
|
|
1346
1346
|
[
|
|
@@ -1348,43 +1348,43 @@
|
|
|
1348
1348
|
"modal",
|
|
1349
1349
|
{
|
|
1350
1350
|
"type": "stack",
|
|
1351
|
+
"direction": "vertical",
|
|
1352
|
+
"gap": "md",
|
|
1351
1353
|
"children": [
|
|
1352
1354
|
{
|
|
1355
|
+
"gap": "sm",
|
|
1353
1356
|
"children": [
|
|
1354
1357
|
{
|
|
1355
|
-
"
|
|
1356
|
-
"
|
|
1358
|
+
"name": "edit",
|
|
1359
|
+
"type": "icon"
|
|
1357
1360
|
},
|
|
1358
1361
|
{
|
|
1362
|
+
"type": "typography",
|
|
1359
1363
|
"content": "Edit Product",
|
|
1360
|
-
"variant": "h3"
|
|
1361
|
-
"type": "typography"
|
|
1364
|
+
"variant": "h3"
|
|
1362
1365
|
}
|
|
1363
1366
|
],
|
|
1364
|
-
"
|
|
1365
|
-
"
|
|
1366
|
-
"direction": "horizontal"
|
|
1367
|
+
"direction": "horizontal",
|
|
1368
|
+
"type": "stack"
|
|
1367
1369
|
},
|
|
1368
1370
|
{
|
|
1369
1371
|
"type": "divider"
|
|
1370
1372
|
},
|
|
1371
1373
|
{
|
|
1372
|
-
"mode": "edit",
|
|
1373
1374
|
"entity": "@payload.row",
|
|
1374
|
-
"cancelEvent": "CLOSE",
|
|
1375
|
-
"submitEvent": "SAVE",
|
|
1376
1375
|
"type": "form-section",
|
|
1376
|
+
"mode": "edit",
|
|
1377
|
+
"cancelEvent": "CLOSE",
|
|
1377
1378
|
"fields": [
|
|
1378
1379
|
"name",
|
|
1379
1380
|
"description",
|
|
1380
1381
|
"price",
|
|
1381
1382
|
"category",
|
|
1382
1383
|
"inStock"
|
|
1383
|
-
]
|
|
1384
|
+
],
|
|
1385
|
+
"submitEvent": "SAVE"
|
|
1384
1386
|
}
|
|
1385
|
-
]
|
|
1386
|
-
"gap": "md",
|
|
1387
|
-
"direction": "vertical"
|
|
1387
|
+
]
|
|
1388
1388
|
}
|
|
1389
1389
|
]
|
|
1390
1390
|
]
|
|
@@ -1461,7 +1461,7 @@
|
|
|
1461
1461
|
"event": "ProductLoaded",
|
|
1462
1462
|
"description": "Fired when Product finishes loading",
|
|
1463
1463
|
"scope": "internal",
|
|
1464
|
-
"
|
|
1464
|
+
"payloadSchema": [
|
|
1465
1465
|
{
|
|
1466
1466
|
"name": "data",
|
|
1467
1467
|
"type": "[Product]"
|
|
@@ -1472,7 +1472,7 @@
|
|
|
1472
1472
|
"event": "ProductLoadFailed",
|
|
1473
1473
|
"description": "Fired when Product fails to load",
|
|
1474
1474
|
"scope": "internal",
|
|
1475
|
-
"
|
|
1475
|
+
"payloadSchema": [
|
|
1476
1476
|
{
|
|
1477
1477
|
"name": "error",
|
|
1478
1478
|
"type": "string"
|
|
@@ -1502,7 +1502,7 @@
|
|
|
1502
1502
|
{
|
|
1503
1503
|
"key": "VIEW",
|
|
1504
1504
|
"name": "View",
|
|
1505
|
-
"
|
|
1505
|
+
"payloadSchema": [
|
|
1506
1506
|
{
|
|
1507
1507
|
"name": "id",
|
|
1508
1508
|
"type": "string",
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
{
|
|
1518
1518
|
"key": "SAVE",
|
|
1519
1519
|
"name": "Save",
|
|
1520
|
-
"
|
|
1520
|
+
"payloadSchema": [
|
|
1521
1521
|
{
|
|
1522
1522
|
"name": "data",
|
|
1523
1523
|
"type": "object",
|
|
@@ -1528,7 +1528,7 @@
|
|
|
1528
1528
|
{
|
|
1529
1529
|
"key": "ProductLoaded",
|
|
1530
1530
|
"name": "Product loaded",
|
|
1531
|
-
"
|
|
1531
|
+
"payloadSchema": [
|
|
1532
1532
|
{
|
|
1533
1533
|
"name": "data",
|
|
1534
1534
|
"type": "[Product]"
|
|
@@ -1538,7 +1538,7 @@
|
|
|
1538
1538
|
{
|
|
1539
1539
|
"key": "ProductLoadFailed",
|
|
1540
1540
|
"name": "Product load failed",
|
|
1541
|
-
"
|
|
1541
|
+
"payloadSchema": [
|
|
1542
1542
|
{
|
|
1543
1543
|
"name": "error",
|
|
1544
1544
|
"type": "string"
|
|
@@ -1571,137 +1571,135 @@
|
|
|
1571
1571
|
"fetch",
|
|
1572
1572
|
"Product",
|
|
1573
1573
|
{
|
|
1574
|
-
"id": "@payload.id",
|
|
1575
1574
|
"emit": {
|
|
1576
1575
|
"success": "ProductLoaded",
|
|
1577
1576
|
"failure": "ProductLoadFailed"
|
|
1578
|
-
}
|
|
1577
|
+
},
|
|
1578
|
+
"id": "@payload.id"
|
|
1579
1579
|
}
|
|
1580
1580
|
],
|
|
1581
1581
|
[
|
|
1582
1582
|
"render-ui",
|
|
1583
1583
|
"modal",
|
|
1584
1584
|
{
|
|
1585
|
-
"
|
|
1585
|
+
"type": "stack",
|
|
1586
1586
|
"children": [
|
|
1587
1587
|
{
|
|
1588
|
-
"direction": "horizontal",
|
|
1589
|
-
"gap": "sm",
|
|
1590
|
-
"type": "stack",
|
|
1591
1588
|
"align": "center",
|
|
1589
|
+
"gap": "sm",
|
|
1592
1590
|
"children": [
|
|
1593
1591
|
{
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1592
|
+
"type": "icon",
|
|
1593
|
+
"name": "eye"
|
|
1596
1594
|
},
|
|
1597
1595
|
{
|
|
1598
1596
|
"content": "@entity.name",
|
|
1599
|
-
"
|
|
1600
|
-
"
|
|
1597
|
+
"variant": "h3",
|
|
1598
|
+
"type": "typography"
|
|
1601
1599
|
}
|
|
1602
|
-
]
|
|
1600
|
+
],
|
|
1601
|
+
"direction": "horizontal",
|
|
1602
|
+
"type": "stack"
|
|
1603
1603
|
},
|
|
1604
1604
|
{
|
|
1605
1605
|
"type": "divider"
|
|
1606
1606
|
},
|
|
1607
1607
|
{
|
|
1608
|
+
"direction": "horizontal",
|
|
1609
|
+
"gap": "md",
|
|
1608
1610
|
"children": [
|
|
1609
1611
|
{
|
|
1610
|
-
"
|
|
1612
|
+
"variant": "caption",
|
|
1611
1613
|
"type": "typography",
|
|
1612
|
-
"
|
|
1614
|
+
"content": "Name"
|
|
1613
1615
|
},
|
|
1614
1616
|
{
|
|
1615
|
-
"type": "typography",
|
|
1616
1617
|
"variant": "body",
|
|
1617
|
-
"content": "@entity.name"
|
|
1618
|
+
"content": "@entity.name",
|
|
1619
|
+
"type": "typography"
|
|
1618
1620
|
}
|
|
1619
1621
|
],
|
|
1620
|
-
"type": "stack"
|
|
1621
|
-
"gap": "md",
|
|
1622
|
-
"direction": "horizontal"
|
|
1622
|
+
"type": "stack"
|
|
1623
1623
|
},
|
|
1624
1624
|
{
|
|
1625
1625
|
"type": "stack",
|
|
1626
|
-
"direction": "horizontal",
|
|
1627
1626
|
"gap": "md",
|
|
1627
|
+
"direction": "horizontal",
|
|
1628
1628
|
"children": [
|
|
1629
1629
|
{
|
|
1630
|
+
"variant": "caption",
|
|
1630
1631
|
"content": "Description",
|
|
1631
|
-
"type": "typography"
|
|
1632
|
-
"variant": "caption"
|
|
1632
|
+
"type": "typography"
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
|
-
"variant": "body",
|
|
1636
1635
|
"type": "typography",
|
|
1636
|
+
"variant": "body",
|
|
1637
1637
|
"content": "@entity.description"
|
|
1638
1638
|
}
|
|
1639
1639
|
]
|
|
1640
1640
|
},
|
|
1641
1641
|
{
|
|
1642
1642
|
"direction": "horizontal",
|
|
1643
|
+
"gap": "md",
|
|
1643
1644
|
"type": "stack",
|
|
1644
1645
|
"children": [
|
|
1645
1646
|
{
|
|
1646
|
-
"content": "Price",
|
|
1647
1647
|
"variant": "caption",
|
|
1648
|
+
"content": "Price",
|
|
1648
1649
|
"type": "typography"
|
|
1649
1650
|
},
|
|
1650
1651
|
{
|
|
1651
|
-
"content": "@entity.price",
|
|
1652
1652
|
"type": "typography",
|
|
1653
|
-
"variant": "body"
|
|
1653
|
+
"variant": "body",
|
|
1654
|
+
"content": "@entity.price"
|
|
1654
1655
|
}
|
|
1655
|
-
]
|
|
1656
|
-
"gap": "md"
|
|
1656
|
+
]
|
|
1657
1657
|
},
|
|
1658
1658
|
{
|
|
1659
|
-
"gap": "md",
|
|
1660
1659
|
"direction": "horizontal",
|
|
1661
|
-
"type": "stack",
|
|
1662
1660
|
"children": [
|
|
1663
1661
|
{
|
|
1664
|
-
"type": "typography",
|
|
1665
1662
|
"variant": "caption",
|
|
1666
|
-
"content": "Category"
|
|
1663
|
+
"content": "Category",
|
|
1664
|
+
"type": "typography"
|
|
1667
1665
|
},
|
|
1668
1666
|
{
|
|
1669
|
-
"type": "typography",
|
|
1670
1667
|
"variant": "body",
|
|
1668
|
+
"type": "typography",
|
|
1671
1669
|
"content": "@entity.category"
|
|
1672
1670
|
}
|
|
1673
|
-
]
|
|
1671
|
+
],
|
|
1672
|
+
"type": "stack",
|
|
1673
|
+
"gap": "md"
|
|
1674
1674
|
},
|
|
1675
1675
|
{
|
|
1676
|
+
"direction": "horizontal",
|
|
1677
|
+
"gap": "md",
|
|
1676
1678
|
"children": [
|
|
1677
1679
|
{
|
|
1678
|
-
"
|
|
1680
|
+
"variant": "caption",
|
|
1679
1681
|
"content": "In Stock",
|
|
1680
|
-
"
|
|
1682
|
+
"type": "typography"
|
|
1681
1683
|
},
|
|
1682
1684
|
{
|
|
1683
|
-
"content": "@entity.inStock",
|
|
1684
1685
|
"type": "typography",
|
|
1685
|
-
"variant": "body"
|
|
1686
|
+
"variant": "body",
|
|
1687
|
+
"content": "@entity.inStock"
|
|
1686
1688
|
}
|
|
1687
1689
|
],
|
|
1688
|
-
"type": "stack"
|
|
1689
|
-
"direction": "horizontal",
|
|
1690
|
-
"gap": "md"
|
|
1690
|
+
"type": "stack"
|
|
1691
1691
|
},
|
|
1692
1692
|
{
|
|
1693
1693
|
"type": "divider"
|
|
1694
1694
|
},
|
|
1695
1695
|
{
|
|
1696
|
-
"type": "stack",
|
|
1697
|
-
"justify": "end",
|
|
1698
1696
|
"children": [
|
|
1699
1697
|
{
|
|
1700
1698
|
"icon": "edit",
|
|
1701
1699
|
"action": "EDIT",
|
|
1702
|
-
"
|
|
1700
|
+
"type": "button",
|
|
1703
1701
|
"label": "Edit",
|
|
1704
|
-
"
|
|
1702
|
+
"variant": "primary"
|
|
1705
1703
|
},
|
|
1706
1704
|
{
|
|
1707
1705
|
"type": "button",
|
|
@@ -1711,11 +1709,13 @@
|
|
|
1711
1709
|
}
|
|
1712
1710
|
],
|
|
1713
1711
|
"direction": "horizontal",
|
|
1714
|
-
"
|
|
1712
|
+
"type": "stack",
|
|
1713
|
+
"gap": "sm",
|
|
1714
|
+
"justify": "end"
|
|
1715
1715
|
}
|
|
1716
1716
|
],
|
|
1717
|
-
"
|
|
1718
|
-
"
|
|
1717
|
+
"gap": "md",
|
|
1718
|
+
"direction": "vertical"
|
|
1719
1719
|
}
|
|
1720
1720
|
]
|
|
1721
1721
|
]
|
|
@@ -1775,7 +1775,7 @@
|
|
|
1775
1775
|
{
|
|
1776
1776
|
"event": "PRODUCT_DELETED",
|
|
1777
1777
|
"scope": "external",
|
|
1778
|
-
"
|
|
1778
|
+
"payloadSchema": [
|
|
1779
1779
|
{
|
|
1780
1780
|
"name": "id",
|
|
1781
1781
|
"type": "string"
|
|
@@ -1785,7 +1785,7 @@
|
|
|
1785
1785
|
{
|
|
1786
1786
|
"event": "ProductDeleteFailed",
|
|
1787
1787
|
"scope": "internal",
|
|
1788
|
-
"
|
|
1788
|
+
"payloadSchema": [
|
|
1789
1789
|
{
|
|
1790
1790
|
"name": "error",
|
|
1791
1791
|
"type": "string"
|
|
@@ -1799,7 +1799,7 @@
|
|
|
1799
1799
|
{
|
|
1800
1800
|
"event": "ProductDeleted",
|
|
1801
1801
|
"scope": "internal",
|
|
1802
|
-
"
|
|
1802
|
+
"payloadSchema": [
|
|
1803
1803
|
{
|
|
1804
1804
|
"name": "id",
|
|
1805
1805
|
"type": "string"
|
|
@@ -1810,7 +1810,7 @@
|
|
|
1810
1810
|
"event": "ProductLoadFailed",
|
|
1811
1811
|
"description": "Fired when Product fails to load",
|
|
1812
1812
|
"scope": "internal",
|
|
1813
|
-
"
|
|
1813
|
+
"payloadSchema": [
|
|
1814
1814
|
{
|
|
1815
1815
|
"name": "error",
|
|
1816
1816
|
"type": "string"
|
|
@@ -1825,7 +1825,7 @@
|
|
|
1825
1825
|
"event": "ProductLoaded",
|
|
1826
1826
|
"description": "Fired when Product finishes loading",
|
|
1827
1827
|
"scope": "internal",
|
|
1828
|
-
"
|
|
1828
|
+
"payloadSchema": [
|
|
1829
1829
|
{
|
|
1830
1830
|
"name": "data",
|
|
1831
1831
|
"type": "[Product]"
|
|
@@ -1851,7 +1851,7 @@
|
|
|
1851
1851
|
{
|
|
1852
1852
|
"key": "DELETE",
|
|
1853
1853
|
"name": "Delete",
|
|
1854
|
-
"
|
|
1854
|
+
"payloadSchema": [
|
|
1855
1855
|
{
|
|
1856
1856
|
"name": "id",
|
|
1857
1857
|
"type": "string",
|
|
@@ -1878,7 +1878,7 @@
|
|
|
1878
1878
|
{
|
|
1879
1879
|
"key": "ProductDeleteFailed",
|
|
1880
1880
|
"name": "Product delete failed",
|
|
1881
|
-
"
|
|
1881
|
+
"payloadSchema": [
|
|
1882
1882
|
{
|
|
1883
1883
|
"name": "error",
|
|
1884
1884
|
"type": "string"
|
|
@@ -1892,7 +1892,7 @@
|
|
|
1892
1892
|
{
|
|
1893
1893
|
"key": "ProductDeleted",
|
|
1894
1894
|
"name": "Product deleted",
|
|
1895
|
-
"
|
|
1895
|
+
"payloadSchema": [
|
|
1896
1896
|
{
|
|
1897
1897
|
"name": "id",
|
|
1898
1898
|
"type": "string"
|
|
@@ -1902,7 +1902,7 @@
|
|
|
1902
1902
|
{
|
|
1903
1903
|
"key": "ProductLoadFailed",
|
|
1904
1904
|
"name": "Product load failed",
|
|
1905
|
-
"
|
|
1905
|
+
"payloadSchema": [
|
|
1906
1906
|
{
|
|
1907
1907
|
"name": "error",
|
|
1908
1908
|
"type": "string"
|
|
@@ -1916,7 +1916,7 @@
|
|
|
1916
1916
|
{
|
|
1917
1917
|
"key": "ProductLoaded",
|
|
1918
1918
|
"name": "Product loaded",
|
|
1919
|
-
"
|
|
1919
|
+
"payloadSchema": [
|
|
1920
1920
|
{
|
|
1921
1921
|
"name": "data",
|
|
1922
1922
|
"type": "[Product]"
|
|
@@ -1950,11 +1950,11 @@
|
|
|
1950
1950
|
"fetch",
|
|
1951
1951
|
"Product",
|
|
1952
1952
|
{
|
|
1953
|
+
"id": "@payload.id",
|
|
1953
1954
|
"emit": {
|
|
1954
1955
|
"success": "ProductLoaded",
|
|
1955
1956
|
"failure": "ProductLoadFailed"
|
|
1956
|
-
}
|
|
1957
|
-
"id": "@payload.id"
|
|
1957
|
+
}
|
|
1958
1958
|
}
|
|
1959
1959
|
],
|
|
1960
1960
|
[
|
|
@@ -1963,55 +1963,55 @@
|
|
|
1963
1963
|
{
|
|
1964
1964
|
"direction": "vertical",
|
|
1965
1965
|
"type": "stack",
|
|
1966
|
-
"gap": "md",
|
|
1967
1966
|
"children": [
|
|
1968
1967
|
{
|
|
1968
|
+
"type": "stack",
|
|
1969
1969
|
"align": "center",
|
|
1970
1970
|
"children": [
|
|
1971
1971
|
{
|
|
1972
|
-
"
|
|
1973
|
-
"
|
|
1972
|
+
"name": "alert-triangle",
|
|
1973
|
+
"type": "icon"
|
|
1974
1974
|
},
|
|
1975
1975
|
{
|
|
1976
|
-
"type": "typography",
|
|
1977
1976
|
"content": "Delete Product",
|
|
1978
|
-
"variant": "h3"
|
|
1977
|
+
"variant": "h3",
|
|
1978
|
+
"type": "typography"
|
|
1979
1979
|
}
|
|
1980
1980
|
],
|
|
1981
1981
|
"direction": "horizontal",
|
|
1982
|
-
"type": "stack",
|
|
1983
1982
|
"gap": "sm"
|
|
1984
1983
|
},
|
|
1985
1984
|
{
|
|
1986
1985
|
"type": "divider"
|
|
1987
1986
|
},
|
|
1988
1987
|
{
|
|
1989
|
-
"
|
|
1988
|
+
"message": "This action cannot be undone.",
|
|
1990
1989
|
"type": "alert",
|
|
1991
|
-
"
|
|
1990
|
+
"variant": "error"
|
|
1992
1991
|
},
|
|
1993
1992
|
{
|
|
1994
1993
|
"type": "stack",
|
|
1995
|
-
"
|
|
1994
|
+
"direction": "horizontal",
|
|
1996
1995
|
"children": [
|
|
1997
1996
|
{
|
|
1998
1997
|
"type": "button",
|
|
1999
|
-
"
|
|
1998
|
+
"action": "CANCEL",
|
|
2000
1999
|
"label": "Cancel",
|
|
2001
|
-
"
|
|
2000
|
+
"variant": "ghost"
|
|
2002
2001
|
},
|
|
2003
2002
|
{
|
|
2003
|
+
"action": "CONFIRM_DELETE",
|
|
2004
2004
|
"icon": "check",
|
|
2005
2005
|
"type": "button",
|
|
2006
|
-
"label": "Delete",
|
|
2007
2006
|
"variant": "danger",
|
|
2008
|
-
"
|
|
2007
|
+
"label": "Delete"
|
|
2009
2008
|
}
|
|
2010
2009
|
],
|
|
2011
|
-
"
|
|
2012
|
-
"
|
|
2010
|
+
"gap": "sm",
|
|
2011
|
+
"justify": "end"
|
|
2013
2012
|
}
|
|
2014
|
-
]
|
|
2013
|
+
],
|
|
2014
|
+
"gap": "md"
|
|
2015
2015
|
}
|
|
2016
2016
|
]
|
|
2017
2017
|
]
|
|
@@ -2177,7 +2177,7 @@
|
|
|
2177
2177
|
"event": "AuthSessionLoadFailed",
|
|
2178
2178
|
"description": "Fired when AuthSession fails to load",
|
|
2179
2179
|
"scope": "internal",
|
|
2180
|
-
"
|
|
2180
|
+
"payloadSchema": [
|
|
2181
2181
|
{
|
|
2182
2182
|
"name": "error",
|
|
2183
2183
|
"type": "string"
|
|
@@ -2192,7 +2192,7 @@
|
|
|
2192
2192
|
"event": "AuthSessionLoaded",
|
|
2193
2193
|
"description": "Fired when AuthSession finishes loading",
|
|
2194
2194
|
"scope": "internal",
|
|
2195
|
-
"
|
|
2195
|
+
"payloadSchema": [
|
|
2196
2196
|
{
|
|
2197
2197
|
"name": "data",
|
|
2198
2198
|
"type": "[AuthSession]"
|
|
@@ -2202,7 +2202,7 @@
|
|
|
2202
2202
|
{
|
|
2203
2203
|
"event": "ProductOauthCompleted",
|
|
2204
2204
|
"scope": "internal",
|
|
2205
|
-
"
|
|
2205
|
+
"payloadSchema": [
|
|
2206
2206
|
{
|
|
2207
2207
|
"name": "data",
|
|
2208
2208
|
"type": "object"
|
|
@@ -2212,7 +2212,7 @@
|
|
|
2212
2212
|
{
|
|
2213
2213
|
"event": "ProductOauthFailed",
|
|
2214
2214
|
"scope": "internal",
|
|
2215
|
-
"
|
|
2215
|
+
"payloadSchema": [
|
|
2216
2216
|
{
|
|
2217
2217
|
"name": "error",
|
|
2218
2218
|
"type": "string"
|
|
@@ -2255,7 +2255,7 @@
|
|
|
2255
2255
|
{
|
|
2256
2256
|
"key": "AUTH_URL_RECEIVED",
|
|
2257
2257
|
"name": "Auth Url Received",
|
|
2258
|
-
"
|
|
2258
|
+
"payloadSchema": [
|
|
2259
2259
|
{
|
|
2260
2260
|
"name": "authUrl",
|
|
2261
2261
|
"type": "string"
|
|
@@ -2265,7 +2265,7 @@
|
|
|
2265
2265
|
{
|
|
2266
2266
|
"key": "CALLBACK",
|
|
2267
2267
|
"name": "Callback",
|
|
2268
|
-
"
|
|
2268
|
+
"payloadSchema": [
|
|
2269
2269
|
{
|
|
2270
2270
|
"name": "code",
|
|
2271
2271
|
"type": "string"
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
{
|
|
2276
2276
|
"key": "FAILED",
|
|
2277
2277
|
"name": "Failed",
|
|
2278
|
-
"
|
|
2278
|
+
"payloadSchema": [
|
|
2279
2279
|
{
|
|
2280
2280
|
"name": "error",
|
|
2281
2281
|
"type": "string"
|
|
@@ -2285,7 +2285,7 @@
|
|
|
2285
2285
|
{
|
|
2286
2286
|
"key": "TOKEN_RECEIVED",
|
|
2287
2287
|
"name": "Token Received",
|
|
2288
|
-
"
|
|
2288
|
+
"payloadSchema": [
|
|
2289
2289
|
{
|
|
2290
2290
|
"name": "accessToken",
|
|
2291
2291
|
"type": "string"
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
{
|
|
2308
2308
|
"key": "TOKEN_REFRESHED",
|
|
2309
2309
|
"name": "Token Refreshed",
|
|
2310
|
-
"
|
|
2310
|
+
"payloadSchema": [
|
|
2311
2311
|
{
|
|
2312
2312
|
"name": "accessToken",
|
|
2313
2313
|
"type": "string"
|
|
@@ -2321,7 +2321,7 @@
|
|
|
2321
2321
|
{
|
|
2322
2322
|
"key": "AuthSessionLoadFailed",
|
|
2323
2323
|
"name": "AuthSession load failed",
|
|
2324
|
-
"
|
|
2324
|
+
"payloadSchema": [
|
|
2325
2325
|
{
|
|
2326
2326
|
"name": "error",
|
|
2327
2327
|
"type": "string"
|
|
@@ -2335,7 +2335,7 @@
|
|
|
2335
2335
|
{
|
|
2336
2336
|
"key": "AuthSessionLoaded",
|
|
2337
2337
|
"name": "AuthSession loaded",
|
|
2338
|
-
"
|
|
2338
|
+
"payloadSchema": [
|
|
2339
2339
|
{
|
|
2340
2340
|
"name": "data",
|
|
2341
2341
|
"type": "[AuthSession]"
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
{
|
|
2346
2346
|
"key": "ProductOauthCompleted",
|
|
2347
2347
|
"name": "Product oauth completed",
|
|
2348
|
-
"
|
|
2348
|
+
"payloadSchema": [
|
|
2349
2349
|
{
|
|
2350
2350
|
"name": "data",
|
|
2351
2351
|
"type": "object"
|
|
@@ -2355,7 +2355,7 @@
|
|
|
2355
2355
|
{
|
|
2356
2356
|
"key": "ProductOauthFailed",
|
|
2357
2357
|
"name": "Product oauth failed",
|
|
2358
|
-
"
|
|
2358
|
+
"payloadSchema": [
|
|
2359
2359
|
{
|
|
2360
2360
|
"name": "error",
|
|
2361
2361
|
"type": "string"
|
|
@@ -2378,8 +2378,8 @@
|
|
|
2378
2378
|
"AuthSession",
|
|
2379
2379
|
{
|
|
2380
2380
|
"emit": {
|
|
2381
|
-
"
|
|
2382
|
-
"
|
|
2381
|
+
"success": "AuthSessionLoaded",
|
|
2382
|
+
"failure": "AuthSessionLoadFailed"
|
|
2383
2383
|
}
|
|
2384
2384
|
}
|
|
2385
2385
|
],
|
|
@@ -2387,11 +2387,10 @@
|
|
|
2387
2387
|
"render-ui",
|
|
2388
2388
|
"main",
|
|
2389
2389
|
{
|
|
2390
|
-
"appName": "ServiceMarketplace",
|
|
2391
2390
|
"navItems": [
|
|
2392
2391
|
{
|
|
2393
|
-
"label": "Products",
|
|
2394
2392
|
"href": "/products",
|
|
2393
|
+
"label": "Products",
|
|
2395
2394
|
"icon": "package"
|
|
2396
2395
|
},
|
|
2397
2396
|
{
|
|
@@ -2400,9 +2399,9 @@
|
|
|
2400
2399
|
"href": "/login"
|
|
2401
2400
|
},
|
|
2402
2401
|
{
|
|
2403
|
-
"icon": "credit-card",
|
|
2404
2402
|
"label": "Checkout",
|
|
2405
|
-
"href": "/checkout"
|
|
2403
|
+
"href": "/checkout",
|
|
2404
|
+
"icon": "credit-card"
|
|
2406
2405
|
},
|
|
2407
2406
|
{
|
|
2408
2407
|
"label": "Orders",
|
|
@@ -2410,59 +2409,60 @@
|
|
|
2410
2409
|
"icon": "clipboard-list"
|
|
2411
2410
|
}
|
|
2412
2411
|
],
|
|
2412
|
+
"appName": "ServiceMarketplace",
|
|
2413
2413
|
"type": "dashboard-layout",
|
|
2414
2414
|
"children": [
|
|
2415
2415
|
{
|
|
2416
|
+
"direction": "vertical",
|
|
2417
|
+
"gap": "lg",
|
|
2416
2418
|
"children": [
|
|
2417
2419
|
{
|
|
2418
2420
|
"type": "stack",
|
|
2421
|
+
"direction": "horizontal",
|
|
2419
2422
|
"align": "center",
|
|
2420
|
-
"gap": "md",
|
|
2421
2423
|
"children": [
|
|
2422
2424
|
{
|
|
2423
|
-
"
|
|
2424
|
-
"
|
|
2425
|
+
"name": "lock",
|
|
2426
|
+
"type": "icon"
|
|
2425
2427
|
},
|
|
2426
2428
|
{
|
|
2427
2429
|
"type": "typography",
|
|
2428
|
-
"
|
|
2429
|
-
"
|
|
2430
|
+
"content": "Sign In",
|
|
2431
|
+
"variant": "h2"
|
|
2430
2432
|
}
|
|
2431
2433
|
],
|
|
2432
|
-
"
|
|
2434
|
+
"gap": "md"
|
|
2433
2435
|
},
|
|
2434
2436
|
{
|
|
2435
2437
|
"type": "divider"
|
|
2436
2438
|
},
|
|
2437
2439
|
{
|
|
2440
|
+
"type": "select",
|
|
2438
2441
|
"options": [
|
|
2439
2442
|
{
|
|
2440
|
-
"
|
|
2441
|
-
"
|
|
2443
|
+
"label": "Google",
|
|
2444
|
+
"value": "google"
|
|
2442
2445
|
},
|
|
2443
2446
|
{
|
|
2444
|
-
"
|
|
2445
|
-
"
|
|
2447
|
+
"label": "GitHub",
|
|
2448
|
+
"value": "github"
|
|
2446
2449
|
},
|
|
2447
2450
|
{
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2451
|
+
"label": "Microsoft",
|
|
2452
|
+
"value": "microsoft"
|
|
2450
2453
|
}
|
|
2451
|
-
]
|
|
2452
|
-
"type": "select"
|
|
2454
|
+
]
|
|
2453
2455
|
},
|
|
2454
2456
|
{
|
|
2455
2457
|
"action": "LOGIN",
|
|
2456
|
-
"type": "button",
|
|
2457
|
-
"variant": "primary",
|
|
2458
2458
|
"icon": "log-in",
|
|
2459
|
-
"
|
|
2459
|
+
"type": "button",
|
|
2460
|
+
"label": "Login",
|
|
2461
|
+
"variant": "primary"
|
|
2460
2462
|
}
|
|
2461
2463
|
],
|
|
2462
|
-
"direction": "vertical",
|
|
2463
|
-
"type": "stack",
|
|
2464
2464
|
"align": "center",
|
|
2465
|
-
"
|
|
2465
|
+
"type": "stack"
|
|
2466
2466
|
}
|
|
2467
2467
|
]
|
|
2468
2468
|
}
|
|
@@ -2480,13 +2480,13 @@
|
|
|
2480
2480
|
{
|
|
2481
2481
|
"children": [
|
|
2482
2482
|
{
|
|
2483
|
-
"
|
|
2483
|
+
"title": "Authorizing...",
|
|
2484
2484
|
"type": "loading-state",
|
|
2485
|
-
"
|
|
2485
|
+
"message": "Redirecting to provider for authorization."
|
|
2486
2486
|
}
|
|
2487
2487
|
],
|
|
2488
|
-
"appName": "ServiceMarketplace",
|
|
2489
2488
|
"type": "dashboard-layout",
|
|
2489
|
+
"appName": "ServiceMarketplace",
|
|
2490
2490
|
"navItems": [
|
|
2491
2491
|
{
|
|
2492
2492
|
"href": "/products",
|
|
@@ -2494,19 +2494,19 @@
|
|
|
2494
2494
|
"label": "Products"
|
|
2495
2495
|
},
|
|
2496
2496
|
{
|
|
2497
|
-
"
|
|
2497
|
+
"icon": "layout-list",
|
|
2498
2498
|
"href": "/login",
|
|
2499
|
-
"
|
|
2499
|
+
"label": "Login"
|
|
2500
2500
|
},
|
|
2501
2501
|
{
|
|
2502
|
-
"href": "/checkout",
|
|
2503
2502
|
"label": "Checkout",
|
|
2503
|
+
"href": "/checkout",
|
|
2504
2504
|
"icon": "credit-card"
|
|
2505
2505
|
},
|
|
2506
2506
|
{
|
|
2507
|
+
"href": "/orders",
|
|
2507
2508
|
"icon": "clipboard-list",
|
|
2508
|
-
"label": "Orders"
|
|
2509
|
-
"href": "/orders"
|
|
2509
|
+
"label": "Orders"
|
|
2510
2510
|
}
|
|
2511
2511
|
]
|
|
2512
2512
|
}
|
|
@@ -2545,66 +2545,66 @@
|
|
|
2545
2545
|
"render-ui",
|
|
2546
2546
|
"main",
|
|
2547
2547
|
{
|
|
2548
|
+
"navItems": [
|
|
2549
|
+
{
|
|
2550
|
+
"icon": "package",
|
|
2551
|
+
"label": "Products",
|
|
2552
|
+
"href": "/products"
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"label": "Login",
|
|
2556
|
+
"href": "/login",
|
|
2557
|
+
"icon": "layout-list"
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"label": "Checkout",
|
|
2561
|
+
"href": "/checkout",
|
|
2562
|
+
"icon": "credit-card"
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"icon": "clipboard-list",
|
|
2566
|
+
"href": "/orders",
|
|
2567
|
+
"label": "Orders"
|
|
2568
|
+
}
|
|
2569
|
+
],
|
|
2548
2570
|
"appName": "ServiceMarketplace",
|
|
2549
2571
|
"children": [
|
|
2550
2572
|
{
|
|
2551
|
-
"gap": "lg",
|
|
2552
|
-
"direction": "vertical",
|
|
2553
2573
|
"align": "center",
|
|
2554
|
-
"type": "stack",
|
|
2555
2574
|
"children": [
|
|
2556
2575
|
{
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2576
|
+
"name": "external-link",
|
|
2577
|
+
"type": "icon"
|
|
2559
2578
|
},
|
|
2560
2579
|
{
|
|
2561
|
-
"variant": "h2",
|
|
2562
2580
|
"content": "Authorization Required",
|
|
2563
|
-
"type": "typography"
|
|
2581
|
+
"type": "typography",
|
|
2582
|
+
"variant": "h2"
|
|
2564
2583
|
},
|
|
2565
2584
|
{
|
|
2585
|
+
"content": "@entity.authUrl",
|
|
2566
2586
|
"variant": "body",
|
|
2567
2587
|
"type": "typography",
|
|
2568
|
-
"color": "muted"
|
|
2569
|
-
"content": "@entity.authUrl"
|
|
2588
|
+
"color": "muted"
|
|
2570
2589
|
},
|
|
2571
2590
|
{
|
|
2572
2591
|
"type": "input",
|
|
2573
2592
|
"placeholder": "Paste authorization code here"
|
|
2574
2593
|
},
|
|
2575
2594
|
{
|
|
2595
|
+
"label": "Submit",
|
|
2576
2596
|
"icon": "check",
|
|
2577
2597
|
"type": "button",
|
|
2578
|
-
"
|
|
2579
|
-
"action": "CALLBACK"
|
|
2580
|
-
"variant": "primary"
|
|
2598
|
+
"variant": "primary",
|
|
2599
|
+
"action": "CALLBACK"
|
|
2581
2600
|
}
|
|
2582
|
-
]
|
|
2601
|
+
],
|
|
2602
|
+
"gap": "lg",
|
|
2603
|
+
"type": "stack",
|
|
2604
|
+
"direction": "vertical"
|
|
2583
2605
|
}
|
|
2584
2606
|
],
|
|
2585
|
-
"type": "dashboard-layout"
|
|
2586
|
-
"navItems": [
|
|
2587
|
-
{
|
|
2588
|
-
"href": "/products",
|
|
2589
|
-
"icon": "package",
|
|
2590
|
-
"label": "Products"
|
|
2591
|
-
},
|
|
2592
|
-
{
|
|
2593
|
-
"icon": "layout-list",
|
|
2594
|
-
"label": "Login",
|
|
2595
|
-
"href": "/login"
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"label": "Checkout",
|
|
2599
|
-
"href": "/checkout",
|
|
2600
|
-
"icon": "credit-card"
|
|
2601
|
-
},
|
|
2602
|
-
{
|
|
2603
|
-
"label": "Orders",
|
|
2604
|
-
"icon": "clipboard-list",
|
|
2605
|
-
"href": "/orders"
|
|
2606
|
-
}
|
|
2607
|
-
]
|
|
2607
|
+
"type": "dashboard-layout"
|
|
2608
2608
|
}
|
|
2609
2609
|
]
|
|
2610
2610
|
]
|
|
@@ -2632,71 +2632,71 @@
|
|
|
2632
2632
|
"render-ui",
|
|
2633
2633
|
"main",
|
|
2634
2634
|
{
|
|
2635
|
+
"navItems": [
|
|
2636
|
+
{
|
|
2637
|
+
"label": "Products",
|
|
2638
|
+
"icon": "package",
|
|
2639
|
+
"href": "/products"
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"label": "Login",
|
|
2643
|
+
"href": "/login",
|
|
2644
|
+
"icon": "layout-list"
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"icon": "credit-card",
|
|
2648
|
+
"label": "Checkout",
|
|
2649
|
+
"href": "/checkout"
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"label": "Orders",
|
|
2653
|
+
"icon": "clipboard-list",
|
|
2654
|
+
"href": "/orders"
|
|
2655
|
+
}
|
|
2656
|
+
],
|
|
2635
2657
|
"children": [
|
|
2636
2658
|
{
|
|
2637
2659
|
"align": "center",
|
|
2638
2660
|
"children": [
|
|
2639
2661
|
{
|
|
2640
|
-
"
|
|
2641
|
-
"
|
|
2662
|
+
"type": "icon",
|
|
2663
|
+
"name": "check-circle"
|
|
2642
2664
|
},
|
|
2643
2665
|
{
|
|
2666
|
+
"message": "Authenticated successfully",
|
|
2644
2667
|
"type": "alert",
|
|
2645
|
-
"variant": "success"
|
|
2646
|
-
"message": "Authenticated successfully"
|
|
2668
|
+
"variant": "success"
|
|
2647
2669
|
},
|
|
2648
2670
|
{
|
|
2649
2671
|
"gap": "sm",
|
|
2650
|
-
"direction": "horizontal",
|
|
2651
2672
|
"type": "stack",
|
|
2652
2673
|
"justify": "center",
|
|
2653
2674
|
"children": [
|
|
2654
2675
|
{
|
|
2676
|
+
"type": "button",
|
|
2677
|
+
"action": "REFRESH",
|
|
2655
2678
|
"label": "Refresh Token",
|
|
2656
2679
|
"variant": "ghost",
|
|
2657
|
-
"icon": "refresh-cw"
|
|
2658
|
-
"type": "button",
|
|
2659
|
-
"action": "REFRESH"
|
|
2680
|
+
"icon": "refresh-cw"
|
|
2660
2681
|
},
|
|
2661
2682
|
{
|
|
2662
|
-
"variant": "ghost",
|
|
2663
|
-
"icon": "log-out",
|
|
2664
|
-
"action": "LOGOUT",
|
|
2665
2683
|
"label": "Logout",
|
|
2666
|
-
"
|
|
2684
|
+
"action": "LOGOUT",
|
|
2685
|
+
"type": "button",
|
|
2686
|
+
"icon": "log-out",
|
|
2687
|
+
"variant": "ghost"
|
|
2667
2688
|
}
|
|
2668
|
-
]
|
|
2689
|
+
],
|
|
2690
|
+
"direction": "horizontal"
|
|
2669
2691
|
}
|
|
2670
2692
|
],
|
|
2671
|
-
"gap": "lg",
|
|
2672
2693
|
"direction": "vertical",
|
|
2694
|
+
"gap": "lg",
|
|
2673
2695
|
"type": "stack"
|
|
2674
2696
|
}
|
|
2675
2697
|
],
|
|
2676
|
-
"appName": "ServiceMarketplace",
|
|
2677
2698
|
"type": "dashboard-layout",
|
|
2678
|
-
"
|
|
2679
|
-
{
|
|
2680
|
-
"href": "/products",
|
|
2681
|
-
"icon": "package",
|
|
2682
|
-
"label": "Products"
|
|
2683
|
-
},
|
|
2684
|
-
{
|
|
2685
|
-
"href": "/login",
|
|
2686
|
-
"icon": "layout-list",
|
|
2687
|
-
"label": "Login"
|
|
2688
|
-
},
|
|
2689
|
-
{
|
|
2690
|
-
"label": "Checkout",
|
|
2691
|
-
"icon": "credit-card",
|
|
2692
|
-
"href": "/checkout"
|
|
2693
|
-
},
|
|
2694
|
-
{
|
|
2695
|
-
"href": "/orders",
|
|
2696
|
-
"icon": "clipboard-list",
|
|
2697
|
-
"label": "Orders"
|
|
2698
|
-
}
|
|
2699
|
-
]
|
|
2699
|
+
"appName": "ServiceMarketplace"
|
|
2700
2700
|
}
|
|
2701
2701
|
]
|
|
2702
2702
|
]
|
|
@@ -2715,31 +2715,31 @@
|
|
|
2715
2715
|
"render-ui",
|
|
2716
2716
|
"main",
|
|
2717
2717
|
{
|
|
2718
|
+
"appName": "ServiceMarketplace",
|
|
2718
2719
|
"children": [
|
|
2719
2720
|
{
|
|
2720
|
-
"gap": "lg",
|
|
2721
2721
|
"children": [
|
|
2722
2722
|
{
|
|
2723
|
-
"onRetry": "RETRY",
|
|
2724
|
-
"message": "@entity.error",
|
|
2725
2723
|
"type": "error-state",
|
|
2726
|
-
"title": "Authentication Failed"
|
|
2724
|
+
"title": "Authentication Failed",
|
|
2725
|
+
"onRetry": "RETRY",
|
|
2726
|
+
"message": "@entity.error"
|
|
2727
2727
|
},
|
|
2728
2728
|
{
|
|
2729
|
-
"label": "Try Again",
|
|
2730
2729
|
"type": "button",
|
|
2730
|
+
"label": "Try Again",
|
|
2731
2731
|
"variant": "primary",
|
|
2732
2732
|
"action": "RETRY",
|
|
2733
2733
|
"icon": "rotate-ccw"
|
|
2734
2734
|
}
|
|
2735
2735
|
],
|
|
2736
|
+
"align": "center",
|
|
2736
2737
|
"direction": "vertical",
|
|
2737
2738
|
"type": "stack",
|
|
2738
|
-
"
|
|
2739
|
+
"gap": "lg"
|
|
2739
2740
|
}
|
|
2740
2741
|
],
|
|
2741
2742
|
"type": "dashboard-layout",
|
|
2742
|
-
"appName": "ServiceMarketplace",
|
|
2743
2743
|
"navItems": [
|
|
2744
2744
|
{
|
|
2745
2745
|
"label": "Products",
|
|
@@ -2747,19 +2747,19 @@
|
|
|
2747
2747
|
"icon": "package"
|
|
2748
2748
|
},
|
|
2749
2749
|
{
|
|
2750
|
-
"href": "/login",
|
|
2751
2750
|
"icon": "layout-list",
|
|
2752
|
-
"label": "Login"
|
|
2751
|
+
"label": "Login",
|
|
2752
|
+
"href": "/login"
|
|
2753
2753
|
},
|
|
2754
2754
|
{
|
|
2755
|
-
"icon": "credit-card",
|
|
2756
2755
|
"label": "Checkout",
|
|
2756
|
+
"icon": "credit-card",
|
|
2757
2757
|
"href": "/checkout"
|
|
2758
2758
|
},
|
|
2759
2759
|
{
|
|
2760
2760
|
"label": "Orders",
|
|
2761
|
-
"
|
|
2762
|
-
"
|
|
2761
|
+
"href": "/orders",
|
|
2762
|
+
"icon": "clipboard-list"
|
|
2763
2763
|
}
|
|
2764
2764
|
]
|
|
2765
2765
|
}
|
|
@@ -2790,69 +2790,69 @@
|
|
|
2790
2790
|
"render-ui",
|
|
2791
2791
|
"main",
|
|
2792
2792
|
{
|
|
2793
|
-
"type": "dashboard-layout",
|
|
2794
|
-
"navItems": [
|
|
2795
|
-
{
|
|
2796
|
-
"href": "/products",
|
|
2797
|
-
"icon": "package",
|
|
2798
|
-
"label": "Products"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"href": "/login",
|
|
2802
|
-
"icon": "layout-list",
|
|
2803
|
-
"label": "Login"
|
|
2804
|
-
},
|
|
2805
|
-
{
|
|
2806
|
-
"label": "Checkout",
|
|
2807
|
-
"icon": "credit-card",
|
|
2808
|
-
"href": "/checkout"
|
|
2809
|
-
},
|
|
2810
|
-
{
|
|
2811
|
-
"icon": "clipboard-list",
|
|
2812
|
-
"href": "/orders",
|
|
2813
|
-
"label": "Orders"
|
|
2814
|
-
}
|
|
2815
|
-
],
|
|
2816
|
-
"appName": "ServiceMarketplace",
|
|
2817
2793
|
"children": [
|
|
2818
2794
|
{
|
|
2819
|
-
"gap": "lg",
|
|
2820
|
-
"direction": "vertical",
|
|
2821
2795
|
"align": "center",
|
|
2822
|
-
"type": "stack",
|
|
2823
2796
|
"children": [
|
|
2824
2797
|
{
|
|
2825
|
-
"
|
|
2826
|
-
"
|
|
2798
|
+
"type": "icon",
|
|
2799
|
+
"name": "check-circle"
|
|
2827
2800
|
},
|
|
2828
2801
|
{
|
|
2829
2802
|
"type": "alert",
|
|
2830
|
-
"
|
|
2831
|
-
"
|
|
2803
|
+
"message": "Authenticated successfully",
|
|
2804
|
+
"variant": "success"
|
|
2832
2805
|
},
|
|
2833
2806
|
{
|
|
2834
2807
|
"type": "stack",
|
|
2808
|
+
"justify": "center",
|
|
2835
2809
|
"direction": "horizontal",
|
|
2836
2810
|
"children": [
|
|
2837
2811
|
{
|
|
2838
|
-
"action": "REFRESH",
|
|
2839
2812
|
"type": "button",
|
|
2840
2813
|
"variant": "ghost",
|
|
2841
|
-
"
|
|
2842
|
-
"
|
|
2814
|
+
"label": "Refresh Token",
|
|
2815
|
+
"action": "REFRESH",
|
|
2816
|
+
"icon": "refresh-cw"
|
|
2843
2817
|
},
|
|
2844
2818
|
{
|
|
2845
2819
|
"type": "button",
|
|
2846
|
-
"action": "LOGOUT",
|
|
2847
|
-
"label": "Logout",
|
|
2848
2820
|
"icon": "log-out",
|
|
2849
|
-
"
|
|
2821
|
+
"label": "Logout",
|
|
2822
|
+
"variant": "ghost",
|
|
2823
|
+
"action": "LOGOUT"
|
|
2850
2824
|
}
|
|
2851
2825
|
],
|
|
2852
|
-
"justify": "center",
|
|
2853
2826
|
"gap": "sm"
|
|
2854
2827
|
}
|
|
2855
|
-
]
|
|
2828
|
+
],
|
|
2829
|
+
"gap": "lg",
|
|
2830
|
+
"direction": "vertical",
|
|
2831
|
+
"type": "stack"
|
|
2832
|
+
}
|
|
2833
|
+
],
|
|
2834
|
+
"type": "dashboard-layout",
|
|
2835
|
+
"appName": "ServiceMarketplace",
|
|
2836
|
+
"navItems": [
|
|
2837
|
+
{
|
|
2838
|
+
"icon": "package",
|
|
2839
|
+
"label": "Products",
|
|
2840
|
+
"href": "/products"
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
"label": "Login",
|
|
2844
|
+
"href": "/login",
|
|
2845
|
+
"icon": "layout-list"
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"label": "Checkout",
|
|
2849
|
+
"href": "/checkout",
|
|
2850
|
+
"icon": "credit-card"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"href": "/orders",
|
|
2854
|
+
"icon": "clipboard-list",
|
|
2855
|
+
"label": "Orders"
|
|
2856
2856
|
}
|
|
2857
2857
|
]
|
|
2858
2858
|
}
|
|
@@ -2868,10 +2868,11 @@
|
|
|
2868
2868
|
"render-ui",
|
|
2869
2869
|
"main",
|
|
2870
2870
|
{
|
|
2871
|
+
"type": "dashboard-layout",
|
|
2871
2872
|
"children": [
|
|
2872
2873
|
{
|
|
2873
|
-
"type": "loading-state",
|
|
2874
2874
|
"title": "Refreshing token...",
|
|
2875
|
+
"type": "loading-state",
|
|
2875
2876
|
"message": "Obtaining a new access token."
|
|
2876
2877
|
}
|
|
2877
2878
|
],
|
|
@@ -2879,26 +2880,25 @@
|
|
|
2879
2880
|
"navItems": [
|
|
2880
2881
|
{
|
|
2881
2882
|
"href": "/products",
|
|
2882
|
-
"
|
|
2883
|
-
"
|
|
2883
|
+
"label": "Products",
|
|
2884
|
+
"icon": "package"
|
|
2884
2885
|
},
|
|
2885
2886
|
{
|
|
2887
|
+
"href": "/login",
|
|
2886
2888
|
"icon": "layout-list",
|
|
2887
|
-
"label": "Login"
|
|
2888
|
-
"href": "/login"
|
|
2889
|
+
"label": "Login"
|
|
2889
2890
|
},
|
|
2890
2891
|
{
|
|
2892
|
+
"label": "Checkout",
|
|
2891
2893
|
"href": "/checkout",
|
|
2892
|
-
"icon": "credit-card"
|
|
2893
|
-
"label": "Checkout"
|
|
2894
|
+
"icon": "credit-card"
|
|
2894
2895
|
},
|
|
2895
2896
|
{
|
|
2896
|
-
"label": "Orders",
|
|
2897
2897
|
"href": "/orders",
|
|
2898
|
-
"icon": "clipboard-list"
|
|
2898
|
+
"icon": "clipboard-list",
|
|
2899
|
+
"label": "Orders"
|
|
2899
2900
|
}
|
|
2900
|
-
]
|
|
2901
|
-
"type": "dashboard-layout"
|
|
2901
|
+
]
|
|
2902
2902
|
}
|
|
2903
2903
|
],
|
|
2904
2904
|
[
|
|
@@ -2910,8 +2910,8 @@
|
|
|
2910
2910
|
},
|
|
2911
2911
|
{
|
|
2912
2912
|
"emit": {
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
2913
|
+
"success": "ProductOauthCompleted",
|
|
2914
|
+
"failure": "ProductOauthFailed"
|
|
2915
2915
|
}
|
|
2916
2916
|
}
|
|
2917
2917
|
]
|
|
@@ -2931,37 +2931,17 @@
|
|
|
2931
2931
|
"render-ui",
|
|
2932
2932
|
"main",
|
|
2933
2933
|
{
|
|
2934
|
-
"
|
|
2935
|
-
{
|
|
2936
|
-
"label": "Products",
|
|
2937
|
-
"href": "/products",
|
|
2938
|
-
"icon": "package"
|
|
2939
|
-
},
|
|
2940
|
-
{
|
|
2941
|
-
"label": "Login",
|
|
2942
|
-
"icon": "layout-list",
|
|
2943
|
-
"href": "/login"
|
|
2944
|
-
},
|
|
2945
|
-
{
|
|
2946
|
-
"label": "Checkout",
|
|
2947
|
-
"icon": "credit-card",
|
|
2948
|
-
"href": "/checkout"
|
|
2949
|
-
},
|
|
2950
|
-
{
|
|
2951
|
-
"href": "/orders",
|
|
2952
|
-
"label": "Orders",
|
|
2953
|
-
"icon": "clipboard-list"
|
|
2954
|
-
}
|
|
2955
|
-
],
|
|
2934
|
+
"type": "dashboard-layout",
|
|
2956
2935
|
"children": [
|
|
2957
2936
|
{
|
|
2937
|
+
"gap": "lg",
|
|
2938
|
+
"type": "stack",
|
|
2958
2939
|
"direction": "vertical",
|
|
2940
|
+
"align": "center",
|
|
2959
2941
|
"children": [
|
|
2960
2942
|
{
|
|
2961
|
-
"gap": "md",
|
|
2962
2943
|
"direction": "horizontal",
|
|
2963
|
-
"
|
|
2964
|
-
"type": "stack",
|
|
2944
|
+
"gap": "md",
|
|
2965
2945
|
"children": [
|
|
2966
2946
|
{
|
|
2967
2947
|
"type": "icon",
|
|
@@ -2969,10 +2949,12 @@
|
|
|
2969
2949
|
},
|
|
2970
2950
|
{
|
|
2971
2951
|
"content": "Sign In",
|
|
2972
|
-
"
|
|
2973
|
-
"
|
|
2952
|
+
"variant": "h2",
|
|
2953
|
+
"type": "typography"
|
|
2974
2954
|
}
|
|
2975
|
-
]
|
|
2955
|
+
],
|
|
2956
|
+
"type": "stack",
|
|
2957
|
+
"align": "center"
|
|
2976
2958
|
},
|
|
2977
2959
|
{
|
|
2978
2960
|
"type": "divider"
|
|
@@ -2988,26 +2970,44 @@
|
|
|
2988
2970
|
"label": "GitHub"
|
|
2989
2971
|
},
|
|
2990
2972
|
{
|
|
2991
|
-
"
|
|
2992
|
-
"
|
|
2973
|
+
"label": "Microsoft",
|
|
2974
|
+
"value": "microsoft"
|
|
2993
2975
|
}
|
|
2994
2976
|
],
|
|
2995
2977
|
"type": "select"
|
|
2996
2978
|
},
|
|
2997
2979
|
{
|
|
2998
|
-
"
|
|
2980
|
+
"type": "button",
|
|
2999
2981
|
"action": "LOGIN",
|
|
2982
|
+
"variant": "primary",
|
|
3000
2983
|
"icon": "log-in",
|
|
3001
|
-
"label": "Login"
|
|
3002
|
-
"type": "button"
|
|
2984
|
+
"label": "Login"
|
|
3003
2985
|
}
|
|
3004
|
-
]
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
2986
|
+
]
|
|
2987
|
+
}
|
|
2988
|
+
],
|
|
2989
|
+
"navItems": [
|
|
2990
|
+
{
|
|
2991
|
+
"href": "/products",
|
|
2992
|
+
"label": "Products",
|
|
2993
|
+
"icon": "package"
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
"href": "/login",
|
|
2997
|
+
"icon": "layout-list",
|
|
2998
|
+
"label": "Login"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"href": "/checkout",
|
|
3002
|
+
"label": "Checkout",
|
|
3003
|
+
"icon": "credit-card"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"href": "/orders",
|
|
3007
|
+
"icon": "clipboard-list",
|
|
3008
|
+
"label": "Orders"
|
|
3008
3009
|
}
|
|
3009
3010
|
],
|
|
3010
|
-
"type": "dashboard-layout",
|
|
3011
3011
|
"appName": "ServiceMarketplace"
|
|
3012
3012
|
}
|
|
3013
3013
|
]
|
|
@@ -3027,34 +3027,8 @@
|
|
|
3027
3027
|
"render-ui",
|
|
3028
3028
|
"main",
|
|
3029
3029
|
{
|
|
3030
|
-
"type": "dashboard-layout",
|
|
3031
|
-
"appName": "ServiceMarketplace",
|
|
3032
|
-
"navItems": [
|
|
3033
|
-
{
|
|
3034
|
-
"icon": "package",
|
|
3035
|
-
"href": "/products",
|
|
3036
|
-
"label": "Products"
|
|
3037
|
-
},
|
|
3038
|
-
{
|
|
3039
|
-
"label": "Login",
|
|
3040
|
-
"icon": "layout-list",
|
|
3041
|
-
"href": "/login"
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
"label": "Checkout",
|
|
3045
|
-
"icon": "credit-card",
|
|
3046
|
-
"href": "/checkout"
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"icon": "clipboard-list",
|
|
3050
|
-
"label": "Orders",
|
|
3051
|
-
"href": "/orders"
|
|
3052
|
-
}
|
|
3053
|
-
],
|
|
3054
3030
|
"children": [
|
|
3055
3031
|
{
|
|
3056
|
-
"direction": "vertical",
|
|
3057
|
-
"align": "center",
|
|
3058
3032
|
"children": [
|
|
3059
3033
|
{
|
|
3060
3034
|
"name": "check-circle",
|
|
@@ -3066,126 +3040,93 @@
|
|
|
3066
3040
|
"message": "Authenticated successfully"
|
|
3067
3041
|
},
|
|
3068
3042
|
{
|
|
3069
|
-
"type": "stack",
|
|
3070
|
-
"direction": "horizontal",
|
|
3071
3043
|
"justify": "center",
|
|
3072
|
-
"gap": "sm",
|
|
3073
3044
|
"children": [
|
|
3074
3045
|
{
|
|
3075
|
-
"variant": "ghost",
|
|
3076
|
-
"action": "REFRESH",
|
|
3077
|
-
"label": "Refresh Token",
|
|
3078
3046
|
"type": "button",
|
|
3079
|
-
"
|
|
3047
|
+
"label": "Refresh Token",
|
|
3048
|
+
"icon": "refresh-cw",
|
|
3049
|
+
"action": "REFRESH",
|
|
3050
|
+
"variant": "ghost"
|
|
3080
3051
|
},
|
|
3081
3052
|
{
|
|
3082
3053
|
"action": "LOGOUT",
|
|
3083
3054
|
"type": "button",
|
|
3084
|
-
"label": "Logout",
|
|
3085
3055
|
"variant": "ghost",
|
|
3086
|
-
"icon": "log-out"
|
|
3056
|
+
"icon": "log-out",
|
|
3057
|
+
"label": "Logout"
|
|
3087
3058
|
}
|
|
3088
|
-
]
|
|
3059
|
+
],
|
|
3060
|
+
"type": "stack",
|
|
3061
|
+
"direction": "horizontal",
|
|
3062
|
+
"gap": "sm"
|
|
3089
3063
|
}
|
|
3090
3064
|
],
|
|
3091
|
-
"type": "stack",
|
|
3092
|
-
"gap": "lg"
|
|
3093
|
-
}
|
|
3094
|
-
]
|
|
3095
|
-
}
|
|
3096
|
-
]
|
|
3097
|
-
]
|
|
3098
|
-
},
|
|
3099
|
-
{
|
|
3100
|
-
"from": "refreshing",
|
|
3101
|
-
"to": "error",
|
|
3102
|
-
"event": "FAILED",
|
|
3103
|
-
"effects": [
|
|
3104
|
-
[
|
|
3105
|
-
"set",
|
|
3106
|
-
"@entity.error",
|
|
3107
|
-
"@payload.error"
|
|
3108
|
-
],
|
|
3109
|
-
[
|
|
3110
|
-
"render-ui",
|
|
3111
|
-
"main",
|
|
3112
|
-
{
|
|
3113
|
-
"type": "dashboard-layout",
|
|
3114
|
-
"children": [
|
|
3115
|
-
{
|
|
3116
3065
|
"direction": "vertical",
|
|
3117
3066
|
"align": "center",
|
|
3118
|
-
"children": [
|
|
3119
|
-
{
|
|
3120
|
-
"type": "error-state",
|
|
3121
|
-
"message": "@entity.error",
|
|
3122
|
-
"title": "Authentication Failed",
|
|
3123
|
-
"onRetry": "RETRY"
|
|
3124
|
-
},
|
|
3125
|
-
{
|
|
3126
|
-
"icon": "rotate-ccw",
|
|
3127
|
-
"variant": "primary",
|
|
3128
|
-
"action": "RETRY",
|
|
3129
|
-
"label": "Try Again",
|
|
3130
|
-
"type": "button"
|
|
3131
|
-
}
|
|
3132
|
-
],
|
|
3133
3067
|
"type": "stack",
|
|
3134
3068
|
"gap": "lg"
|
|
3135
3069
|
}
|
|
3136
3070
|
],
|
|
3137
3071
|
"navItems": [
|
|
3138
3072
|
{
|
|
3139
|
-
"href": "/products",
|
|
3140
3073
|
"icon": "package",
|
|
3074
|
+
"href": "/products",
|
|
3141
3075
|
"label": "Products"
|
|
3142
3076
|
},
|
|
3143
3077
|
{
|
|
3144
|
-
"href": "/login",
|
|
3145
3078
|
"label": "Login",
|
|
3079
|
+
"href": "/login",
|
|
3146
3080
|
"icon": "layout-list"
|
|
3147
3081
|
},
|
|
3148
3082
|
{
|
|
3083
|
+
"icon": "credit-card",
|
|
3149
3084
|
"label": "Checkout",
|
|
3150
|
-
"href": "/checkout"
|
|
3151
|
-
"icon": "credit-card"
|
|
3085
|
+
"href": "/checkout"
|
|
3152
3086
|
},
|
|
3153
3087
|
{
|
|
3154
|
-
"
|
|
3088
|
+
"icon": "clipboard-list",
|
|
3155
3089
|
"href": "/orders",
|
|
3156
|
-
"
|
|
3090
|
+
"label": "Orders"
|
|
3157
3091
|
}
|
|
3158
3092
|
],
|
|
3159
|
-
"appName": "ServiceMarketplace"
|
|
3093
|
+
"appName": "ServiceMarketplace",
|
|
3094
|
+
"type": "dashboard-layout"
|
|
3160
3095
|
}
|
|
3161
3096
|
]
|
|
3162
3097
|
]
|
|
3163
3098
|
},
|
|
3164
3099
|
{
|
|
3165
|
-
"from": "
|
|
3166
|
-
"to": "
|
|
3167
|
-
"event": "
|
|
3100
|
+
"from": "refreshing",
|
|
3101
|
+
"to": "error",
|
|
3102
|
+
"event": "FAILED",
|
|
3168
3103
|
"effects": [
|
|
3104
|
+
[
|
|
3105
|
+
"set",
|
|
3106
|
+
"@entity.error",
|
|
3107
|
+
"@payload.error"
|
|
3108
|
+
],
|
|
3169
3109
|
[
|
|
3170
3110
|
"render-ui",
|
|
3171
3111
|
"main",
|
|
3172
3112
|
{
|
|
3113
|
+
"type": "dashboard-layout",
|
|
3173
3114
|
"appName": "ServiceMarketplace",
|
|
3174
3115
|
"navItems": [
|
|
3175
3116
|
{
|
|
3176
|
-
"href": "/products",
|
|
3177
3117
|
"icon": "package",
|
|
3178
|
-
"label": "Products"
|
|
3118
|
+
"label": "Products",
|
|
3119
|
+
"href": "/products"
|
|
3179
3120
|
},
|
|
3180
3121
|
{
|
|
3181
|
-
"href": "/login",
|
|
3182
3122
|
"icon": "layout-list",
|
|
3123
|
+
"href": "/login",
|
|
3183
3124
|
"label": "Login"
|
|
3184
3125
|
},
|
|
3185
3126
|
{
|
|
3186
|
-
"icon": "credit-card",
|
|
3187
3127
|
"href": "/checkout",
|
|
3188
|
-
"label": "Checkout"
|
|
3128
|
+
"label": "Checkout",
|
|
3129
|
+
"icon": "credit-card"
|
|
3189
3130
|
},
|
|
3190
3131
|
{
|
|
3191
3132
|
"label": "Orders",
|
|
@@ -3193,36 +3134,67 @@
|
|
|
3193
3134
|
"icon": "clipboard-list"
|
|
3194
3135
|
}
|
|
3195
3136
|
],
|
|
3196
|
-
"type": "dashboard-layout",
|
|
3197
3137
|
"children": [
|
|
3198
3138
|
{
|
|
3199
3139
|
"gap": "lg",
|
|
3200
|
-
"type": "stack",
|
|
3201
3140
|
"direction": "vertical",
|
|
3202
3141
|
"align": "center",
|
|
3203
3142
|
"children": [
|
|
3204
3143
|
{
|
|
3205
|
-
"type": "
|
|
3144
|
+
"type": "error-state",
|
|
3145
|
+
"title": "Authentication Failed",
|
|
3146
|
+
"message": "@entity.error",
|
|
3147
|
+
"onRetry": "RETRY"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"variant": "primary",
|
|
3151
|
+
"action": "RETRY",
|
|
3152
|
+
"type": "button",
|
|
3153
|
+
"icon": "rotate-ccw",
|
|
3154
|
+
"label": "Try Again"
|
|
3155
|
+
}
|
|
3156
|
+
],
|
|
3157
|
+
"type": "stack"
|
|
3158
|
+
}
|
|
3159
|
+
]
|
|
3160
|
+
}
|
|
3161
|
+
]
|
|
3162
|
+
]
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"from": "error",
|
|
3166
|
+
"to": "unauthenticated",
|
|
3167
|
+
"event": "RETRY",
|
|
3168
|
+
"effects": [
|
|
3169
|
+
[
|
|
3170
|
+
"render-ui",
|
|
3171
|
+
"main",
|
|
3172
|
+
{
|
|
3173
|
+
"children": [
|
|
3174
|
+
{
|
|
3175
|
+
"align": "center",
|
|
3176
|
+
"children": [
|
|
3177
|
+
{
|
|
3206
3178
|
"align": "center",
|
|
3179
|
+
"type": "stack",
|
|
3180
|
+
"gap": "md",
|
|
3207
3181
|
"children": [
|
|
3208
3182
|
{
|
|
3209
3183
|
"name": "lock",
|
|
3210
3184
|
"type": "icon"
|
|
3211
3185
|
},
|
|
3212
3186
|
{
|
|
3213
|
-
"
|
|
3187
|
+
"type": "typography",
|
|
3214
3188
|
"variant": "h2",
|
|
3215
|
-
"
|
|
3189
|
+
"content": "Sign In"
|
|
3216
3190
|
}
|
|
3217
3191
|
],
|
|
3218
|
-
"direction": "horizontal"
|
|
3219
|
-
"gap": "md"
|
|
3192
|
+
"direction": "horizontal"
|
|
3220
3193
|
},
|
|
3221
3194
|
{
|
|
3222
3195
|
"type": "divider"
|
|
3223
3196
|
},
|
|
3224
3197
|
{
|
|
3225
|
-
"type": "select",
|
|
3226
3198
|
"options": [
|
|
3227
3199
|
{
|
|
3228
3200
|
"value": "google",
|
|
@@ -3233,21 +3205,49 @@
|
|
|
3233
3205
|
"label": "GitHub"
|
|
3234
3206
|
},
|
|
3235
3207
|
{
|
|
3236
|
-
"
|
|
3237
|
-
"
|
|
3208
|
+
"label": "Microsoft",
|
|
3209
|
+
"value": "microsoft"
|
|
3238
3210
|
}
|
|
3239
|
-
]
|
|
3211
|
+
],
|
|
3212
|
+
"type": "select"
|
|
3240
3213
|
},
|
|
3241
3214
|
{
|
|
3242
3215
|
"icon": "log-in",
|
|
3243
3216
|
"type": "button",
|
|
3244
|
-
"label": "Login",
|
|
3245
3217
|
"variant": "primary",
|
|
3246
|
-
"action": "LOGIN"
|
|
3218
|
+
"action": "LOGIN",
|
|
3219
|
+
"label": "Login"
|
|
3247
3220
|
}
|
|
3248
|
-
]
|
|
3221
|
+
],
|
|
3222
|
+
"direction": "vertical",
|
|
3223
|
+
"type": "stack",
|
|
3224
|
+
"gap": "lg"
|
|
3249
3225
|
}
|
|
3250
|
-
]
|
|
3226
|
+
],
|
|
3227
|
+
"type": "dashboard-layout",
|
|
3228
|
+
"navItems": [
|
|
3229
|
+
{
|
|
3230
|
+
"label": "Products",
|
|
3231
|
+
"icon": "package",
|
|
3232
|
+
"href": "/products"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"href": "/login",
|
|
3236
|
+
"label": "Login",
|
|
3237
|
+
"icon": "layout-list"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"href": "/checkout",
|
|
3241
|
+
"label": "Checkout",
|
|
3242
|
+
"icon": "credit-card"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"label": "Orders",
|
|
3246
|
+
"icon": "clipboard-list",
|
|
3247
|
+
"href": "/orders"
|
|
3248
|
+
}
|
|
3249
|
+
],
|
|
3250
|
+
"appName": "ServiceMarketplace"
|
|
3251
3251
|
}
|
|
3252
3252
|
]
|
|
3253
3253
|
]
|
|
@@ -3335,7 +3335,7 @@
|
|
|
3335
3335
|
"event": "OrderPaymentLoadFailed",
|
|
3336
3336
|
"description": "Fired when OrderPayment fails to load",
|
|
3337
3337
|
"scope": "internal",
|
|
3338
|
-
"
|
|
3338
|
+
"payloadSchema": [
|
|
3339
3339
|
{
|
|
3340
3340
|
"name": "error",
|
|
3341
3341
|
"type": "string"
|
|
@@ -3350,7 +3350,7 @@
|
|
|
3350
3350
|
"event": "OrderPaymentLoaded",
|
|
3351
3351
|
"description": "Fired when OrderPayment finishes loading",
|
|
3352
3352
|
"scope": "internal",
|
|
3353
|
-
"
|
|
3353
|
+
"payloadSchema": [
|
|
3354
3354
|
{
|
|
3355
3355
|
"name": "data",
|
|
3356
3356
|
"type": "[OrderPayment]"
|
|
@@ -3360,7 +3360,7 @@
|
|
|
3360
3360
|
{
|
|
3361
3361
|
"event": "ProductStripeCompleted",
|
|
3362
3362
|
"scope": "internal",
|
|
3363
|
-
"
|
|
3363
|
+
"payloadSchema": [
|
|
3364
3364
|
{
|
|
3365
3365
|
"name": "data",
|
|
3366
3366
|
"type": "object"
|
|
@@ -3370,7 +3370,7 @@
|
|
|
3370
3370
|
{
|
|
3371
3371
|
"event": "ProductStripeFailed",
|
|
3372
3372
|
"scope": "internal",
|
|
3373
|
-
"
|
|
3373
|
+
"payloadSchema": [
|
|
3374
3374
|
{
|
|
3375
3375
|
"name": "error",
|
|
3376
3376
|
"type": "string"
|
|
@@ -3422,7 +3422,7 @@
|
|
|
3422
3422
|
{
|
|
3423
3423
|
"key": "PAYMENT_CREATED",
|
|
3424
3424
|
"name": "Payment Created",
|
|
3425
|
-
"
|
|
3425
|
+
"payloadSchema": [
|
|
3426
3426
|
{
|
|
3427
3427
|
"name": "id",
|
|
3428
3428
|
"type": "string"
|
|
@@ -3436,7 +3436,7 @@
|
|
|
3436
3436
|
{
|
|
3437
3437
|
"key": "FAILED",
|
|
3438
3438
|
"name": "Failed",
|
|
3439
|
-
"
|
|
3439
|
+
"payloadSchema": [
|
|
3440
3440
|
{
|
|
3441
3441
|
"name": "error",
|
|
3442
3442
|
"type": "string"
|
|
@@ -3462,7 +3462,7 @@
|
|
|
3462
3462
|
{
|
|
3463
3463
|
"key": "OrderPaymentLoadFailed",
|
|
3464
3464
|
"name": "OrderPayment load failed",
|
|
3465
|
-
"
|
|
3465
|
+
"payloadSchema": [
|
|
3466
3466
|
{
|
|
3467
3467
|
"name": "error",
|
|
3468
3468
|
"type": "string"
|
|
@@ -3476,7 +3476,7 @@
|
|
|
3476
3476
|
{
|
|
3477
3477
|
"key": "OrderPaymentLoaded",
|
|
3478
3478
|
"name": "OrderPayment loaded",
|
|
3479
|
-
"
|
|
3479
|
+
"payloadSchema": [
|
|
3480
3480
|
{
|
|
3481
3481
|
"name": "data",
|
|
3482
3482
|
"type": "[OrderPayment]"
|
|
@@ -3486,7 +3486,7 @@
|
|
|
3486
3486
|
{
|
|
3487
3487
|
"key": "ProductStripeCompleted",
|
|
3488
3488
|
"name": "Product stripe completed",
|
|
3489
|
-
"
|
|
3489
|
+
"payloadSchema": [
|
|
3490
3490
|
{
|
|
3491
3491
|
"name": "data",
|
|
3492
3492
|
"type": "object"
|
|
@@ -3496,7 +3496,7 @@
|
|
|
3496
3496
|
{
|
|
3497
3497
|
"key": "ProductStripeFailed",
|
|
3498
3498
|
"name": "Product stripe failed",
|
|
3499
|
-
"
|
|
3499
|
+
"payloadSchema": [
|
|
3500
3500
|
{
|
|
3501
3501
|
"name": "error",
|
|
3502
3502
|
"type": "string"
|
|
@@ -3528,74 +3528,74 @@
|
|
|
3528
3528
|
"render-ui",
|
|
3529
3529
|
"main",
|
|
3530
3530
|
{
|
|
3531
|
-
"appName": "ServiceMarketplace",
|
|
3532
3531
|
"type": "dashboard-layout",
|
|
3533
3532
|
"children": [
|
|
3534
3533
|
{
|
|
3535
3534
|
"type": "stack",
|
|
3536
|
-
"direction": "vertical",
|
|
3537
|
-
"gap": "lg",
|
|
3538
3535
|
"children": [
|
|
3539
3536
|
{
|
|
3537
|
+
"align": "center",
|
|
3538
|
+
"direction": "horizontal",
|
|
3540
3539
|
"type": "stack",
|
|
3540
|
+
"gap": "md",
|
|
3541
3541
|
"children": [
|
|
3542
3542
|
{
|
|
3543
|
-
"
|
|
3544
|
-
"
|
|
3543
|
+
"name": "credit-card",
|
|
3544
|
+
"type": "icon"
|
|
3545
3545
|
},
|
|
3546
3546
|
{
|
|
3547
|
-
"
|
|
3547
|
+
"type": "typography",
|
|
3548
3548
|
"content": "Payment",
|
|
3549
|
-
"
|
|
3549
|
+
"variant": "h2"
|
|
3550
3550
|
}
|
|
3551
|
-
]
|
|
3552
|
-
"align": "center",
|
|
3553
|
-
"gap": "md",
|
|
3554
|
-
"direction": "horizontal"
|
|
3551
|
+
]
|
|
3555
3552
|
},
|
|
3556
3553
|
{
|
|
3557
3554
|
"type": "divider"
|
|
3558
3555
|
},
|
|
3559
3556
|
{
|
|
3560
|
-
"gap": "md",
|
|
3561
3557
|
"type": "stack",
|
|
3562
3558
|
"direction": "vertical",
|
|
3559
|
+
"gap": "md",
|
|
3563
3560
|
"children": [
|
|
3564
3561
|
{
|
|
3565
|
-
"
|
|
3562
|
+
"type": "input",
|
|
3566
3563
|
"inputType": "number",
|
|
3567
|
-
"
|
|
3564
|
+
"placeholder": "0.00"
|
|
3568
3565
|
},
|
|
3569
3566
|
{
|
|
3570
|
-
"type": "select",
|
|
3571
3567
|
"options": [
|
|
3572
3568
|
{
|
|
3573
|
-
"
|
|
3574
|
-
"
|
|
3569
|
+
"label": "USD",
|
|
3570
|
+
"value": "usd"
|
|
3575
3571
|
},
|
|
3576
3572
|
{
|
|
3577
|
-
"
|
|
3578
|
-
"
|
|
3573
|
+
"value": "eur",
|
|
3574
|
+
"label": "EUR"
|
|
3579
3575
|
},
|
|
3580
3576
|
{
|
|
3581
|
-
"
|
|
3582
|
-
"
|
|
3577
|
+
"label": "GBP",
|
|
3578
|
+
"value": "gbp"
|
|
3583
3579
|
}
|
|
3584
|
-
]
|
|
3580
|
+
],
|
|
3581
|
+
"type": "select"
|
|
3585
3582
|
}
|
|
3586
3583
|
]
|
|
3587
3584
|
},
|
|
3588
3585
|
{
|
|
3589
|
-
"type": "button",
|
|
3590
3586
|
"label": "Pay",
|
|
3591
3587
|
"icon": "credit-card",
|
|
3588
|
+
"action": "CREATE_PAYMENT",
|
|
3592
3589
|
"variant": "primary",
|
|
3593
|
-
"
|
|
3590
|
+
"type": "button"
|
|
3594
3591
|
}
|
|
3595
3592
|
],
|
|
3593
|
+
"direction": "vertical",
|
|
3594
|
+
"gap": "lg",
|
|
3596
3595
|
"align": "center"
|
|
3597
3596
|
}
|
|
3598
3597
|
],
|
|
3598
|
+
"appName": "ServiceMarketplace",
|
|
3599
3599
|
"navItems": [
|
|
3600
3600
|
{
|
|
3601
3601
|
"href": "/products",
|
|
@@ -3632,7 +3632,6 @@
|
|
|
3632
3632
|
"main",
|
|
3633
3633
|
{
|
|
3634
3634
|
"appName": "ServiceMarketplace",
|
|
3635
|
-
"type": "dashboard-layout",
|
|
3636
3635
|
"navItems": [
|
|
3637
3636
|
{
|
|
3638
3637
|
"icon": "package",
|
|
@@ -3640,13 +3639,13 @@
|
|
|
3640
3639
|
"href": "/products"
|
|
3641
3640
|
},
|
|
3642
3641
|
{
|
|
3643
|
-
"label": "Login",
|
|
3644
3642
|
"href": "/login",
|
|
3645
|
-
"icon": "layout-list"
|
|
3643
|
+
"icon": "layout-list",
|
|
3644
|
+
"label": "Login"
|
|
3646
3645
|
},
|
|
3647
3646
|
{
|
|
3648
|
-
"href": "/checkout",
|
|
3649
3647
|
"label": "Checkout",
|
|
3648
|
+
"href": "/checkout",
|
|
3650
3649
|
"icon": "credit-card"
|
|
3651
3650
|
},
|
|
3652
3651
|
{
|
|
@@ -3661,7 +3660,8 @@
|
|
|
3661
3660
|
"title": "Creating payment...",
|
|
3662
3661
|
"message": "Setting up your payment intent."
|
|
3663
3662
|
}
|
|
3664
|
-
]
|
|
3663
|
+
],
|
|
3664
|
+
"type": "dashboard-layout"
|
|
3665
3665
|
}
|
|
3666
3666
|
],
|
|
3667
3667
|
[
|
|
@@ -3669,8 +3669,8 @@
|
|
|
3669
3669
|
"stripe",
|
|
3670
3670
|
"createPaymentIntent",
|
|
3671
3671
|
{
|
|
3672
|
-
"
|
|
3673
|
-
"
|
|
3672
|
+
"amount": "@entity.amount",
|
|
3673
|
+
"currency": "@entity.currency"
|
|
3674
3674
|
},
|
|
3675
3675
|
{
|
|
3676
3676
|
"emit": {
|
|
@@ -3700,36 +3700,36 @@
|
|
|
3700
3700
|
"render-ui",
|
|
3701
3701
|
"main",
|
|
3702
3702
|
{
|
|
3703
|
-
"type": "dashboard-layout",
|
|
3704
|
-
"children": [
|
|
3705
|
-
{
|
|
3706
|
-
"type": "loading-state",
|
|
3707
|
-
"title": "Confirming payment...",
|
|
3708
|
-
"message": "Processing your payment."
|
|
3709
|
-
}
|
|
3710
|
-
],
|
|
3711
3703
|
"appName": "ServiceMarketplace",
|
|
3704
|
+
"type": "dashboard-layout",
|
|
3712
3705
|
"navItems": [
|
|
3713
3706
|
{
|
|
3714
|
-
"href": "/products",
|
|
3715
3707
|
"icon": "package",
|
|
3716
|
-
"label": "Products"
|
|
3708
|
+
"label": "Products",
|
|
3709
|
+
"href": "/products"
|
|
3717
3710
|
},
|
|
3718
3711
|
{
|
|
3719
3712
|
"href": "/login",
|
|
3720
|
-
"
|
|
3721
|
-
"
|
|
3713
|
+
"icon": "layout-list",
|
|
3714
|
+
"label": "Login"
|
|
3722
3715
|
},
|
|
3723
3716
|
{
|
|
3724
3717
|
"label": "Checkout",
|
|
3725
|
-
"
|
|
3726
|
-
"
|
|
3718
|
+
"href": "/checkout",
|
|
3719
|
+
"icon": "credit-card"
|
|
3727
3720
|
},
|
|
3728
3721
|
{
|
|
3729
3722
|
"href": "/orders",
|
|
3730
3723
|
"icon": "clipboard-list",
|
|
3731
3724
|
"label": "Orders"
|
|
3732
3725
|
}
|
|
3726
|
+
],
|
|
3727
|
+
"children": [
|
|
3728
|
+
{
|
|
3729
|
+
"title": "Confirming payment...",
|
|
3730
|
+
"type": "loading-state",
|
|
3731
|
+
"message": "Processing your payment."
|
|
3732
|
+
}
|
|
3733
3733
|
]
|
|
3734
3734
|
}
|
|
3735
3735
|
],
|
|
@@ -3763,11 +3763,20 @@
|
|
|
3763
3763
|
"render-ui",
|
|
3764
3764
|
"main",
|
|
3765
3765
|
{
|
|
3766
|
+
"type": "dashboard-layout",
|
|
3767
|
+
"children": [
|
|
3768
|
+
{
|
|
3769
|
+
"type": "error-state",
|
|
3770
|
+
"title": "Payment Failed",
|
|
3771
|
+
"onRetry": "RETRY",
|
|
3772
|
+
"message": "@entity.error"
|
|
3773
|
+
}
|
|
3774
|
+
],
|
|
3766
3775
|
"navItems": [
|
|
3767
3776
|
{
|
|
3768
|
-
"label": "Products",
|
|
3769
3777
|
"href": "/products",
|
|
3770
|
-
"icon": "package"
|
|
3778
|
+
"icon": "package",
|
|
3779
|
+
"label": "Products"
|
|
3771
3780
|
},
|
|
3772
3781
|
{
|
|
3773
3782
|
"label": "Login",
|
|
@@ -3775,9 +3784,9 @@
|
|
|
3775
3784
|
"icon": "layout-list"
|
|
3776
3785
|
},
|
|
3777
3786
|
{
|
|
3787
|
+
"label": "Checkout",
|
|
3778
3788
|
"href": "/checkout",
|
|
3779
|
-
"icon": "credit-card"
|
|
3780
|
-
"label": "Checkout"
|
|
3789
|
+
"icon": "credit-card"
|
|
3781
3790
|
},
|
|
3782
3791
|
{
|
|
3783
3792
|
"label": "Orders",
|
|
@@ -3785,16 +3794,7 @@
|
|
|
3785
3794
|
"href": "/orders"
|
|
3786
3795
|
}
|
|
3787
3796
|
],
|
|
3788
|
-
"
|
|
3789
|
-
"appName": "ServiceMarketplace",
|
|
3790
|
-
"children": [
|
|
3791
|
-
{
|
|
3792
|
-
"onRetry": "RETRY",
|
|
3793
|
-
"message": "@entity.error",
|
|
3794
|
-
"type": "error-state",
|
|
3795
|
-
"title": "Payment Failed"
|
|
3796
|
-
}
|
|
3797
|
-
]
|
|
3797
|
+
"appName": "ServiceMarketplace"
|
|
3798
3798
|
}
|
|
3799
3799
|
]
|
|
3800
3800
|
]
|
|
@@ -3817,9 +3817,33 @@
|
|
|
3817
3817
|
"render-ui",
|
|
3818
3818
|
"main",
|
|
3819
3819
|
{
|
|
3820
|
+
"navItems": [
|
|
3821
|
+
{
|
|
3822
|
+
"href": "/products",
|
|
3823
|
+
"label": "Products",
|
|
3824
|
+
"icon": "package"
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"icon": "layout-list",
|
|
3828
|
+
"label": "Login",
|
|
3829
|
+
"href": "/login"
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
"href": "/checkout",
|
|
3833
|
+
"icon": "credit-card",
|
|
3834
|
+
"label": "Checkout"
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"icon": "clipboard-list",
|
|
3838
|
+
"href": "/orders",
|
|
3839
|
+
"label": "Orders"
|
|
3840
|
+
}
|
|
3841
|
+
],
|
|
3820
3842
|
"children": [
|
|
3821
3843
|
{
|
|
3822
3844
|
"align": "center",
|
|
3845
|
+
"type": "stack",
|
|
3846
|
+
"direction": "vertical",
|
|
3823
3847
|
"children": [
|
|
3824
3848
|
{
|
|
3825
3849
|
"name": "check-circle",
|
|
@@ -3832,45 +3856,21 @@
|
|
|
3832
3856
|
},
|
|
3833
3857
|
{
|
|
3834
3858
|
"content": "@entity.paymentIntentId",
|
|
3835
|
-
"variant": "body",
|
|
3836
3859
|
"type": "typography",
|
|
3860
|
+
"variant": "body",
|
|
3837
3861
|
"color": "muted"
|
|
3838
3862
|
},
|
|
3839
3863
|
{
|
|
3864
|
+
"variant": "ghost",
|
|
3840
3865
|
"label": "New Payment",
|
|
3841
3866
|
"type": "button",
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
"icon": "rotate-ccw"
|
|
3867
|
+
"icon": "rotate-ccw",
|
|
3868
|
+
"action": "RESET"
|
|
3845
3869
|
}
|
|
3846
3870
|
],
|
|
3847
|
-
"direction": "vertical",
|
|
3848
|
-
"type": "stack",
|
|
3849
3871
|
"gap": "lg"
|
|
3850
3872
|
}
|
|
3851
3873
|
],
|
|
3852
|
-
"navItems": [
|
|
3853
|
-
{
|
|
3854
|
-
"label": "Products",
|
|
3855
|
-
"href": "/products",
|
|
3856
|
-
"icon": "package"
|
|
3857
|
-
},
|
|
3858
|
-
{
|
|
3859
|
-
"icon": "layout-list",
|
|
3860
|
-
"label": "Login",
|
|
3861
|
-
"href": "/login"
|
|
3862
|
-
},
|
|
3863
|
-
{
|
|
3864
|
-
"href": "/checkout",
|
|
3865
|
-
"icon": "credit-card",
|
|
3866
|
-
"label": "Checkout"
|
|
3867
|
-
},
|
|
3868
|
-
{
|
|
3869
|
-
"icon": "clipboard-list",
|
|
3870
|
-
"label": "Orders",
|
|
3871
|
-
"href": "/orders"
|
|
3872
|
-
}
|
|
3873
|
-
],
|
|
3874
3874
|
"type": "dashboard-layout",
|
|
3875
3875
|
"appName": "ServiceMarketplace"
|
|
3876
3876
|
}
|
|
@@ -3891,35 +3891,35 @@
|
|
|
3891
3891
|
"render-ui",
|
|
3892
3892
|
"main",
|
|
3893
3893
|
{
|
|
3894
|
+
"appName": "ServiceMarketplace",
|
|
3894
3895
|
"navItems": [
|
|
3895
3896
|
{
|
|
3896
3897
|
"href": "/products",
|
|
3897
|
-
"
|
|
3898
|
-
"
|
|
3898
|
+
"label": "Products",
|
|
3899
|
+
"icon": "package"
|
|
3899
3900
|
},
|
|
3900
3901
|
{
|
|
3901
|
-
"
|
|
3902
|
+
"href": "/login",
|
|
3902
3903
|
"label": "Login",
|
|
3903
|
-
"
|
|
3904
|
+
"icon": "layout-list"
|
|
3904
3905
|
},
|
|
3905
3906
|
{
|
|
3906
|
-
"label": "Checkout",
|
|
3907
3907
|
"href": "/checkout",
|
|
3908
|
-
"icon": "credit-card"
|
|
3908
|
+
"icon": "credit-card",
|
|
3909
|
+
"label": "Checkout"
|
|
3909
3910
|
},
|
|
3910
3911
|
{
|
|
3911
|
-
"
|
|
3912
|
+
"label": "Orders",
|
|
3912
3913
|
"href": "/orders",
|
|
3913
|
-
"
|
|
3914
|
+
"icon": "clipboard-list"
|
|
3914
3915
|
}
|
|
3915
3916
|
],
|
|
3916
|
-
"appName": "ServiceMarketplace",
|
|
3917
3917
|
"children": [
|
|
3918
3918
|
{
|
|
3919
3919
|
"title": "Payment Failed",
|
|
3920
|
+
"onRetry": "RETRY",
|
|
3920
3921
|
"type": "error-state",
|
|
3921
|
-
"message": "@entity.error"
|
|
3922
|
-
"onRetry": "RETRY"
|
|
3922
|
+
"message": "@entity.error"
|
|
3923
3923
|
}
|
|
3924
3924
|
],
|
|
3925
3925
|
"type": "dashboard-layout"
|
|
@@ -3936,43 +3936,50 @@
|
|
|
3936
3936
|
"render-ui",
|
|
3937
3937
|
"main",
|
|
3938
3938
|
{
|
|
3939
|
+
"appName": "ServiceMarketplace",
|
|
3940
|
+
"type": "dashboard-layout",
|
|
3939
3941
|
"children": [
|
|
3940
3942
|
{
|
|
3943
|
+
"align": "center",
|
|
3941
3944
|
"gap": "lg",
|
|
3945
|
+
"type": "stack",
|
|
3946
|
+
"direction": "vertical",
|
|
3942
3947
|
"children": [
|
|
3943
3948
|
{
|
|
3944
3949
|
"align": "center",
|
|
3945
|
-
"direction": "horizontal",
|
|
3946
3950
|
"gap": "md",
|
|
3947
3951
|
"type": "stack",
|
|
3948
3952
|
"children": [
|
|
3949
3953
|
{
|
|
3950
|
-
"
|
|
3951
|
-
"
|
|
3954
|
+
"name": "credit-card",
|
|
3955
|
+
"type": "icon"
|
|
3952
3956
|
},
|
|
3953
3957
|
{
|
|
3954
3958
|
"content": "Payment",
|
|
3955
3959
|
"variant": "h2",
|
|
3956
3960
|
"type": "typography"
|
|
3957
3961
|
}
|
|
3958
|
-
]
|
|
3962
|
+
],
|
|
3963
|
+
"direction": "horizontal"
|
|
3959
3964
|
},
|
|
3960
3965
|
{
|
|
3961
3966
|
"type": "divider"
|
|
3962
3967
|
},
|
|
3963
3968
|
{
|
|
3969
|
+
"direction": "vertical",
|
|
3970
|
+
"gap": "md",
|
|
3971
|
+
"type": "stack",
|
|
3964
3972
|
"children": [
|
|
3965
3973
|
{
|
|
3966
|
-
"
|
|
3974
|
+
"inputType": "number",
|
|
3967
3975
|
"placeholder": "0.00",
|
|
3968
|
-
"
|
|
3976
|
+
"type": "input"
|
|
3969
3977
|
},
|
|
3970
3978
|
{
|
|
3971
|
-
"type": "select",
|
|
3972
3979
|
"options": [
|
|
3973
3980
|
{
|
|
3974
|
-
"
|
|
3975
|
-
"
|
|
3981
|
+
"label": "USD",
|
|
3982
|
+
"value": "usd"
|
|
3976
3983
|
},
|
|
3977
3984
|
{
|
|
3978
3985
|
"label": "EUR",
|
|
@@ -3982,32 +3989,26 @@
|
|
|
3982
3989
|
"label": "GBP",
|
|
3983
3990
|
"value": "gbp"
|
|
3984
3991
|
}
|
|
3985
|
-
]
|
|
3992
|
+
],
|
|
3993
|
+
"type": "select"
|
|
3986
3994
|
}
|
|
3987
|
-
]
|
|
3988
|
-
"type": "stack",
|
|
3989
|
-
"gap": "md",
|
|
3990
|
-
"direction": "vertical"
|
|
3995
|
+
]
|
|
3991
3996
|
},
|
|
3992
3997
|
{
|
|
3993
|
-
"
|
|
3998
|
+
"action": "CREATE_PAYMENT",
|
|
3994
3999
|
"icon": "credit-card",
|
|
4000
|
+
"label": "Pay",
|
|
3995
4001
|
"type": "button",
|
|
3996
|
-
"
|
|
3997
|
-
"label": "Pay"
|
|
4002
|
+
"variant": "primary"
|
|
3998
4003
|
}
|
|
3999
|
-
]
|
|
4000
|
-
"direction": "vertical",
|
|
4001
|
-
"type": "stack",
|
|
4002
|
-
"align": "center"
|
|
4004
|
+
]
|
|
4003
4005
|
}
|
|
4004
4006
|
],
|
|
4005
|
-
"appName": "ServiceMarketplace",
|
|
4006
4007
|
"navItems": [
|
|
4007
4008
|
{
|
|
4008
4009
|
"label": "Products",
|
|
4009
|
-
"
|
|
4010
|
-
"
|
|
4010
|
+
"href": "/products",
|
|
4011
|
+
"icon": "package"
|
|
4011
4012
|
},
|
|
4012
4013
|
{
|
|
4013
4014
|
"label": "Login",
|
|
@@ -4015,17 +4016,16 @@
|
|
|
4015
4016
|
"icon": "layout-list"
|
|
4016
4017
|
},
|
|
4017
4018
|
{
|
|
4019
|
+
"label": "Checkout",
|
|
4018
4020
|
"icon": "credit-card",
|
|
4019
|
-
"href": "/checkout"
|
|
4020
|
-
"label": "Checkout"
|
|
4021
|
+
"href": "/checkout"
|
|
4021
4022
|
},
|
|
4022
4023
|
{
|
|
4023
|
-
"icon": "clipboard-list",
|
|
4024
4024
|
"label": "Orders",
|
|
4025
|
+
"icon": "clipboard-list",
|
|
4025
4026
|
"href": "/orders"
|
|
4026
4027
|
}
|
|
4027
|
-
]
|
|
4028
|
-
"type": "dashboard-layout"
|
|
4028
|
+
]
|
|
4029
4029
|
}
|
|
4030
4030
|
]
|
|
4031
4031
|
]
|
|
@@ -4039,38 +4039,15 @@
|
|
|
4039
4039
|
"render-ui",
|
|
4040
4040
|
"main",
|
|
4041
4041
|
{
|
|
4042
|
-
"type": "dashboard-layout",
|
|
4043
4042
|
"appName": "ServiceMarketplace",
|
|
4044
|
-
"navItems": [
|
|
4045
|
-
{
|
|
4046
|
-
"icon": "package",
|
|
4047
|
-
"label": "Products",
|
|
4048
|
-
"href": "/products"
|
|
4049
|
-
},
|
|
4050
|
-
{
|
|
4051
|
-
"href": "/login",
|
|
4052
|
-
"icon": "layout-list",
|
|
4053
|
-
"label": "Login"
|
|
4054
|
-
},
|
|
4055
|
-
{
|
|
4056
|
-
"icon": "credit-card",
|
|
4057
|
-
"href": "/checkout",
|
|
4058
|
-
"label": "Checkout"
|
|
4059
|
-
},
|
|
4060
|
-
{
|
|
4061
|
-
"href": "/orders",
|
|
4062
|
-
"label": "Orders",
|
|
4063
|
-
"icon": "clipboard-list"
|
|
4064
|
-
}
|
|
4065
|
-
],
|
|
4066
4043
|
"children": [
|
|
4067
4044
|
{
|
|
4068
|
-
"gap": "lg",
|
|
4069
|
-
"align": "center",
|
|
4070
4045
|
"type": "stack",
|
|
4046
|
+
"align": "center",
|
|
4047
|
+
"gap": "lg",
|
|
4048
|
+
"direction": "vertical",
|
|
4071
4049
|
"children": [
|
|
4072
4050
|
{
|
|
4073
|
-
"gap": "md",
|
|
4074
4051
|
"type": "stack",
|
|
4075
4052
|
"children": [
|
|
4076
4053
|
{
|
|
@@ -4078,55 +4055,78 @@
|
|
|
4078
4055
|
"name": "credit-card"
|
|
4079
4056
|
},
|
|
4080
4057
|
{
|
|
4081
|
-
"type": "typography",
|
|
4082
4058
|
"content": "Payment",
|
|
4059
|
+
"type": "typography",
|
|
4083
4060
|
"variant": "h2"
|
|
4084
4061
|
}
|
|
4085
4062
|
],
|
|
4063
|
+
"align": "center",
|
|
4086
4064
|
"direction": "horizontal",
|
|
4087
|
-
"
|
|
4065
|
+
"gap": "md"
|
|
4088
4066
|
},
|
|
4089
4067
|
{
|
|
4090
4068
|
"type": "divider"
|
|
4091
4069
|
},
|
|
4092
4070
|
{
|
|
4093
|
-
"direction": "vertical",
|
|
4094
4071
|
"type": "stack",
|
|
4072
|
+
"gap": "md",
|
|
4095
4073
|
"children": [
|
|
4096
4074
|
{
|
|
4097
|
-
"type": "input",
|
|
4098
4075
|
"inputType": "number",
|
|
4099
|
-
"placeholder": "0.00"
|
|
4076
|
+
"placeholder": "0.00",
|
|
4077
|
+
"type": "input"
|
|
4100
4078
|
},
|
|
4101
4079
|
{
|
|
4080
|
+
"type": "select",
|
|
4102
4081
|
"options": [
|
|
4103
4082
|
{
|
|
4104
|
-
"
|
|
4105
|
-
"
|
|
4083
|
+
"value": "usd",
|
|
4084
|
+
"label": "USD"
|
|
4106
4085
|
},
|
|
4107
4086
|
{
|
|
4108
4087
|
"label": "EUR",
|
|
4109
4088
|
"value": "eur"
|
|
4110
4089
|
},
|
|
4111
4090
|
{
|
|
4112
|
-
"
|
|
4113
|
-
"
|
|
4091
|
+
"value": "gbp",
|
|
4092
|
+
"label": "GBP"
|
|
4114
4093
|
}
|
|
4115
|
-
]
|
|
4116
|
-
"type": "select"
|
|
4094
|
+
]
|
|
4117
4095
|
}
|
|
4118
4096
|
],
|
|
4119
|
-
"
|
|
4097
|
+
"direction": "vertical"
|
|
4120
4098
|
},
|
|
4121
4099
|
{
|
|
4122
|
-
"label": "Pay",
|
|
4123
|
-
"type": "button",
|
|
4124
|
-
"action": "CREATE_PAYMENT",
|
|
4125
4100
|
"icon": "credit-card",
|
|
4126
|
-
"
|
|
4101
|
+
"action": "CREATE_PAYMENT",
|
|
4102
|
+
"label": "Pay",
|
|
4103
|
+
"variant": "primary",
|
|
4104
|
+
"type": "button"
|
|
4127
4105
|
}
|
|
4128
|
-
]
|
|
4129
|
-
|
|
4106
|
+
]
|
|
4107
|
+
}
|
|
4108
|
+
],
|
|
4109
|
+
"type": "dashboard-layout",
|
|
4110
|
+
"navItems": [
|
|
4111
|
+
{
|
|
4112
|
+
"icon": "package",
|
|
4113
|
+
"label": "Products",
|
|
4114
|
+
"href": "/products"
|
|
4115
|
+
},
|
|
4116
|
+
{
|
|
4117
|
+
"label": "Login",
|
|
4118
|
+
"href": "/login",
|
|
4119
|
+
"icon": "layout-list"
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"icon": "credit-card",
|
|
4123
|
+
"label": "Checkout",
|
|
4124
|
+
"href": "/checkout"
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
"label": "Orders",
|
|
4128
|
+
"icon": "clipboard-list",
|
|
4129
|
+
"href": "/orders"
|
|
4130
4130
|
}
|
|
4131
4131
|
]
|
|
4132
4132
|
}
|
|
@@ -4142,34 +4142,56 @@
|
|
|
4142
4142
|
"render-ui",
|
|
4143
4143
|
"main",
|
|
4144
4144
|
{
|
|
4145
|
+
"navItems": [
|
|
4146
|
+
{
|
|
4147
|
+
"href": "/products",
|
|
4148
|
+
"icon": "package",
|
|
4149
|
+
"label": "Products"
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
"icon": "layout-list",
|
|
4153
|
+
"href": "/login",
|
|
4154
|
+
"label": "Login"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
"icon": "credit-card",
|
|
4158
|
+
"href": "/checkout",
|
|
4159
|
+
"label": "Checkout"
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"href": "/orders",
|
|
4163
|
+
"icon": "clipboard-list",
|
|
4164
|
+
"label": "Orders"
|
|
4165
|
+
}
|
|
4166
|
+
],
|
|
4145
4167
|
"children": [
|
|
4146
4168
|
{
|
|
4147
4169
|
"type": "stack",
|
|
4148
4170
|
"direction": "vertical",
|
|
4171
|
+
"align": "center",
|
|
4172
|
+
"gap": "lg",
|
|
4149
4173
|
"children": [
|
|
4150
4174
|
{
|
|
4175
|
+
"gap": "md",
|
|
4176
|
+
"type": "stack",
|
|
4177
|
+
"direction": "horizontal",
|
|
4178
|
+
"align": "center",
|
|
4151
4179
|
"children": [
|
|
4152
4180
|
{
|
|
4153
|
-
"
|
|
4154
|
-
"
|
|
4181
|
+
"type": "icon",
|
|
4182
|
+
"name": "credit-card"
|
|
4155
4183
|
},
|
|
4156
4184
|
{
|
|
4185
|
+
"content": "Payment",
|
|
4157
4186
|
"variant": "h2",
|
|
4158
|
-
"type": "typography"
|
|
4159
|
-
"content": "Payment"
|
|
4187
|
+
"type": "typography"
|
|
4160
4188
|
}
|
|
4161
|
-
]
|
|
4162
|
-
"gap": "md",
|
|
4163
|
-
"align": "center",
|
|
4164
|
-
"type": "stack",
|
|
4165
|
-
"direction": "horizontal"
|
|
4189
|
+
]
|
|
4166
4190
|
},
|
|
4167
4191
|
{
|
|
4168
4192
|
"type": "divider"
|
|
4169
4193
|
},
|
|
4170
4194
|
{
|
|
4171
|
-
"gap": "md",
|
|
4172
|
-
"type": "stack",
|
|
4173
4195
|
"children": [
|
|
4174
4196
|
{
|
|
4175
4197
|
"inputType": "number",
|
|
@@ -4179,12 +4201,12 @@
|
|
|
4179
4201
|
{
|
|
4180
4202
|
"options": [
|
|
4181
4203
|
{
|
|
4182
|
-
"
|
|
4183
|
-
"
|
|
4204
|
+
"value": "usd",
|
|
4205
|
+
"label": "USD"
|
|
4184
4206
|
},
|
|
4185
4207
|
{
|
|
4186
|
-
"
|
|
4187
|
-
"
|
|
4208
|
+
"value": "eur",
|
|
4209
|
+
"label": "EUR"
|
|
4188
4210
|
},
|
|
4189
4211
|
{
|
|
4190
4212
|
"value": "gbp",
|
|
@@ -4194,44 +4216,22 @@
|
|
|
4194
4216
|
"type": "select"
|
|
4195
4217
|
}
|
|
4196
4218
|
],
|
|
4197
|
-
"
|
|
4219
|
+
"gap": "md",
|
|
4220
|
+
"direction": "vertical",
|
|
4221
|
+
"type": "stack"
|
|
4198
4222
|
},
|
|
4199
4223
|
{
|
|
4200
|
-
"label": "Pay",
|
|
4201
4224
|
"action": "CREATE_PAYMENT",
|
|
4202
4225
|
"type": "button",
|
|
4203
4226
|
"icon": "credit-card",
|
|
4227
|
+
"label": "Pay",
|
|
4204
4228
|
"variant": "primary"
|
|
4205
4229
|
}
|
|
4206
|
-
]
|
|
4207
|
-
"gap": "lg",
|
|
4208
|
-
"align": "center"
|
|
4209
|
-
}
|
|
4210
|
-
],
|
|
4211
|
-
"navItems": [
|
|
4212
|
-
{
|
|
4213
|
-
"href": "/products",
|
|
4214
|
-
"icon": "package",
|
|
4215
|
-
"label": "Products"
|
|
4216
|
-
},
|
|
4217
|
-
{
|
|
4218
|
-
"label": "Login",
|
|
4219
|
-
"icon": "layout-list",
|
|
4220
|
-
"href": "/login"
|
|
4221
|
-
},
|
|
4222
|
-
{
|
|
4223
|
-
"label": "Checkout",
|
|
4224
|
-
"href": "/checkout",
|
|
4225
|
-
"icon": "credit-card"
|
|
4226
|
-
},
|
|
4227
|
-
{
|
|
4228
|
-
"href": "/orders",
|
|
4229
|
-
"icon": "clipboard-list",
|
|
4230
|
-
"label": "Orders"
|
|
4230
|
+
]
|
|
4231
4231
|
}
|
|
4232
4232
|
],
|
|
4233
|
-
"
|
|
4234
|
-
"
|
|
4233
|
+
"type": "dashboard-layout",
|
|
4234
|
+
"appName": "ServiceMarketplace"
|
|
4235
4235
|
}
|
|
4236
4236
|
]
|
|
4237
4237
|
]
|
|
@@ -4248,7 +4248,7 @@
|
|
|
4248
4248
|
{
|
|
4249
4249
|
"event": "ProductEmailCompleted",
|
|
4250
4250
|
"scope": "internal",
|
|
4251
|
-
"
|
|
4251
|
+
"payloadSchema": [
|
|
4252
4252
|
{
|
|
4253
4253
|
"name": "data",
|
|
4254
4254
|
"type": "object"
|
|
@@ -4258,7 +4258,7 @@
|
|
|
4258
4258
|
{
|
|
4259
4259
|
"event": "ProductEmailFailed",
|
|
4260
4260
|
"scope": "internal",
|
|
4261
|
-
"
|
|
4261
|
+
"payloadSchema": [
|
|
4262
4262
|
{
|
|
4263
4263
|
"name": "error",
|
|
4264
4264
|
"type": "string"
|
|
@@ -4320,7 +4320,7 @@
|
|
|
4320
4320
|
{
|
|
4321
4321
|
"key": "ProductEmailCompleted",
|
|
4322
4322
|
"name": "Product email completed",
|
|
4323
|
-
"
|
|
4323
|
+
"payloadSchema": [
|
|
4324
4324
|
{
|
|
4325
4325
|
"name": "data",
|
|
4326
4326
|
"type": "object"
|
|
@@ -4330,7 +4330,7 @@
|
|
|
4330
4330
|
{
|
|
4331
4331
|
"key": "ProductEmailFailed",
|
|
4332
4332
|
"name": "Product email failed",
|
|
4333
|
-
"
|
|
4333
|
+
"payloadSchema": [
|
|
4334
4334
|
{
|
|
4335
4335
|
"name": "error",
|
|
4336
4336
|
"type": "string"
|
|
@@ -4352,50 +4352,50 @@
|
|
|
4352
4352
|
"render-ui",
|
|
4353
4353
|
"main",
|
|
4354
4354
|
{
|
|
4355
|
-
"appName": "ServiceMarketplace",
|
|
4356
4355
|
"navItems": [
|
|
4357
4356
|
{
|
|
4358
|
-
"href": "/products",
|
|
4359
4357
|
"icon": "package",
|
|
4358
|
+
"href": "/products",
|
|
4360
4359
|
"label": "Products"
|
|
4361
4360
|
},
|
|
4362
4361
|
{
|
|
4362
|
+
"icon": "layout-list",
|
|
4363
4363
|
"label": "Login",
|
|
4364
|
-
"href": "/login"
|
|
4365
|
-
"icon": "layout-list"
|
|
4364
|
+
"href": "/login"
|
|
4366
4365
|
},
|
|
4367
4366
|
{
|
|
4368
|
-
"icon": "credit-card",
|
|
4369
4367
|
"label": "Checkout",
|
|
4370
|
-
"href": "/checkout"
|
|
4368
|
+
"href": "/checkout",
|
|
4369
|
+
"icon": "credit-card"
|
|
4371
4370
|
},
|
|
4372
4371
|
{
|
|
4372
|
+
"href": "/orders",
|
|
4373
4373
|
"label": "Orders",
|
|
4374
|
-
"icon": "clipboard-list"
|
|
4375
|
-
"href": "/orders"
|
|
4374
|
+
"icon": "clipboard-list"
|
|
4376
4375
|
}
|
|
4377
4376
|
],
|
|
4377
|
+
"type": "dashboard-layout",
|
|
4378
4378
|
"children": [
|
|
4379
4379
|
{
|
|
4380
4380
|
"align": "center",
|
|
4381
|
+
"direction": "vertical",
|
|
4382
|
+
"gap": "md",
|
|
4383
|
+
"type": "stack",
|
|
4381
4384
|
"children": [
|
|
4382
4385
|
{
|
|
4383
4386
|
"name": "mail",
|
|
4384
4387
|
"type": "icon"
|
|
4385
4388
|
},
|
|
4386
4389
|
{
|
|
4387
|
-
"
|
|
4388
|
-
"type": "typography",
|
|
4390
|
+
"content": "Receipt will be sent after payment.",
|
|
4389
4391
|
"color": "muted",
|
|
4390
|
-
"
|
|
4392
|
+
"type": "typography",
|
|
4393
|
+
"variant": "body"
|
|
4391
4394
|
}
|
|
4392
|
-
]
|
|
4393
|
-
"gap": "md",
|
|
4394
|
-
"type": "stack",
|
|
4395
|
-
"direction": "vertical"
|
|
4395
|
+
]
|
|
4396
4396
|
}
|
|
4397
4397
|
],
|
|
4398
|
-
"
|
|
4398
|
+
"appName": "ServiceMarketplace"
|
|
4399
4399
|
}
|
|
4400
4400
|
]
|
|
4401
4401
|
]
|
|
@@ -4409,37 +4409,37 @@
|
|
|
4409
4409
|
"render-ui",
|
|
4410
4410
|
"main",
|
|
4411
4411
|
{
|
|
4412
|
-
"appName": "ServiceMarketplace",
|
|
4413
|
-
"type": "dashboard-layout",
|
|
4414
4412
|
"navItems": [
|
|
4415
4413
|
{
|
|
4416
|
-
"
|
|
4414
|
+
"icon": "package",
|
|
4417
4415
|
"href": "/products",
|
|
4418
|
-
"
|
|
4416
|
+
"label": "Products"
|
|
4419
4417
|
},
|
|
4420
4418
|
{
|
|
4421
|
-
"icon": "layout-list",
|
|
4422
4419
|
"label": "Login",
|
|
4420
|
+
"icon": "layout-list",
|
|
4423
4421
|
"href": "/login"
|
|
4424
4422
|
},
|
|
4425
4423
|
{
|
|
4426
4424
|
"icon": "credit-card",
|
|
4427
|
-
"
|
|
4428
|
-
"
|
|
4425
|
+
"label": "Checkout",
|
|
4426
|
+
"href": "/checkout"
|
|
4429
4427
|
},
|
|
4430
4428
|
{
|
|
4431
|
-
"label": "Orders",
|
|
4432
4429
|
"href": "/orders",
|
|
4433
|
-
"icon": "clipboard-list"
|
|
4430
|
+
"icon": "clipboard-list",
|
|
4431
|
+
"label": "Orders"
|
|
4434
4432
|
}
|
|
4435
4433
|
],
|
|
4434
|
+
"type": "dashboard-layout",
|
|
4436
4435
|
"children": [
|
|
4437
4436
|
{
|
|
4438
|
-
"
|
|
4437
|
+
"title": "Sending receipt...",
|
|
4439
4438
|
"message": "Delivering your payment receipt.",
|
|
4440
|
-
"
|
|
4439
|
+
"type": "loading-state"
|
|
4441
4440
|
}
|
|
4442
|
-
]
|
|
4441
|
+
],
|
|
4442
|
+
"appName": "ServiceMarketplace"
|
|
4443
4443
|
}
|
|
4444
4444
|
],
|
|
4445
4445
|
[
|
|
@@ -4447,8 +4447,8 @@
|
|
|
4447
4447
|
"email",
|
|
4448
4448
|
"send",
|
|
4449
4449
|
{
|
|
4450
|
-
"to": "@entity.to",
|
|
4451
4450
|
"body": "@entity.body",
|
|
4451
|
+
"to": "@entity.to",
|
|
4452
4452
|
"subject": "@entity.subject"
|
|
4453
4453
|
},
|
|
4454
4454
|
{
|
|
@@ -4474,7 +4474,7 @@
|
|
|
4474
4474
|
"render-ui",
|
|
4475
4475
|
"main",
|
|
4476
4476
|
{
|
|
4477
|
-
"
|
|
4477
|
+
"type": "dashboard-layout",
|
|
4478
4478
|
"navItems": [
|
|
4479
4479
|
{
|
|
4480
4480
|
"icon": "package",
|
|
@@ -4483,13 +4483,13 @@
|
|
|
4483
4483
|
},
|
|
4484
4484
|
{
|
|
4485
4485
|
"icon": "layout-list",
|
|
4486
|
-
"
|
|
4487
|
-
"
|
|
4486
|
+
"href": "/login",
|
|
4487
|
+
"label": "Login"
|
|
4488
4488
|
},
|
|
4489
4489
|
{
|
|
4490
4490
|
"label": "Checkout",
|
|
4491
|
-
"
|
|
4492
|
-
"
|
|
4491
|
+
"href": "/checkout",
|
|
4492
|
+
"icon": "credit-card"
|
|
4493
4493
|
},
|
|
4494
4494
|
{
|
|
4495
4495
|
"href": "/orders",
|
|
@@ -4497,24 +4497,24 @@
|
|
|
4497
4497
|
"label": "Orders"
|
|
4498
4498
|
}
|
|
4499
4499
|
],
|
|
4500
|
-
"
|
|
4500
|
+
"appName": "ServiceMarketplace",
|
|
4501
4501
|
"children": [
|
|
4502
4502
|
{
|
|
4503
|
-
"
|
|
4504
|
-
"gap": "md",
|
|
4503
|
+
"align": "center",
|
|
4505
4504
|
"direction": "vertical",
|
|
4505
|
+
"type": "stack",
|
|
4506
4506
|
"children": [
|
|
4507
4507
|
{
|
|
4508
4508
|
"type": "icon",
|
|
4509
4509
|
"name": "check-circle"
|
|
4510
4510
|
},
|
|
4511
4511
|
{
|
|
4512
|
-
"message": "Receipt sent successfully",
|
|
4513
4512
|
"type": "alert",
|
|
4513
|
+
"message": "Receipt sent successfully",
|
|
4514
4514
|
"variant": "success"
|
|
4515
4515
|
}
|
|
4516
4516
|
],
|
|
4517
|
-
"
|
|
4517
|
+
"gap": "md"
|
|
4518
4518
|
}
|
|
4519
4519
|
]
|
|
4520
4520
|
}
|
|
@@ -4535,53 +4535,53 @@
|
|
|
4535
4535
|
"render-ui",
|
|
4536
4536
|
"main",
|
|
4537
4537
|
{
|
|
4538
|
+
"appName": "ServiceMarketplace",
|
|
4539
|
+
"type": "dashboard-layout",
|
|
4538
4540
|
"children": [
|
|
4539
4541
|
{
|
|
4540
4542
|
"gap": "md",
|
|
4541
|
-
"
|
|
4543
|
+
"type": "stack",
|
|
4542
4544
|
"children": [
|
|
4543
4545
|
{
|
|
4544
|
-
"
|
|
4546
|
+
"type": "error-state",
|
|
4545
4547
|
"title": "Receipt Failed",
|
|
4546
4548
|
"message": "Could not send receipt email.",
|
|
4547
|
-
"
|
|
4549
|
+
"onRetry": "RETRY_RECEIPT"
|
|
4548
4550
|
},
|
|
4549
4551
|
{
|
|
4550
|
-
"
|
|
4552
|
+
"label": "Retry",
|
|
4551
4553
|
"variant": "primary",
|
|
4552
|
-
"icon": "refresh-cw",
|
|
4553
4554
|
"type": "button",
|
|
4554
|
-
"
|
|
4555
|
+
"icon": "refresh-cw",
|
|
4556
|
+
"action": "RETRY_RECEIPT"
|
|
4555
4557
|
}
|
|
4556
4558
|
],
|
|
4557
|
-
"
|
|
4559
|
+
"align": "center",
|
|
4558
4560
|
"direction": "vertical"
|
|
4559
4561
|
}
|
|
4560
4562
|
],
|
|
4561
|
-
"type": "dashboard-layout",
|
|
4562
4563
|
"navItems": [
|
|
4563
4564
|
{
|
|
4564
|
-
"
|
|
4565
|
+
"label": "Products",
|
|
4565
4566
|
"href": "/products",
|
|
4566
|
-
"
|
|
4567
|
+
"icon": "package"
|
|
4567
4568
|
},
|
|
4568
4569
|
{
|
|
4569
|
-
"icon": "layout-list",
|
|
4570
4570
|
"label": "Login",
|
|
4571
|
+
"icon": "layout-list",
|
|
4571
4572
|
"href": "/login"
|
|
4572
4573
|
},
|
|
4573
4574
|
{
|
|
4574
4575
|
"label": "Checkout",
|
|
4575
|
-
"
|
|
4576
|
-
"
|
|
4576
|
+
"icon": "credit-card",
|
|
4577
|
+
"href": "/checkout"
|
|
4577
4578
|
},
|
|
4578
4579
|
{
|
|
4579
4580
|
"label": "Orders",
|
|
4580
4581
|
"href": "/orders",
|
|
4581
4582
|
"icon": "clipboard-list"
|
|
4582
4583
|
}
|
|
4583
|
-
]
|
|
4584
|
-
"appName": "ServiceMarketplace"
|
|
4584
|
+
]
|
|
4585
4585
|
}
|
|
4586
4586
|
]
|
|
4587
4587
|
]
|
|
@@ -4595,8 +4595,8 @@
|
|
|
4595
4595
|
"render-ui",
|
|
4596
4596
|
"main",
|
|
4597
4597
|
{
|
|
4598
|
-
"
|
|
4599
|
-
"
|
|
4598
|
+
"type": "loading-state",
|
|
4599
|
+
"title": "Resending receipt..."
|
|
4600
4600
|
}
|
|
4601
4601
|
],
|
|
4602
4602
|
[
|
|
@@ -4604,9 +4604,9 @@
|
|
|
4604
4604
|
"email",
|
|
4605
4605
|
"send",
|
|
4606
4606
|
{
|
|
4607
|
+
"to": "@entity.to",
|
|
4607
4608
|
"subject": "@entity.subject",
|
|
4608
|
-
"body": "@entity.body"
|
|
4609
|
-
"to": "@entity.to"
|
|
4609
|
+
"body": "@entity.body"
|
|
4610
4610
|
},
|
|
4611
4611
|
{
|
|
4612
4612
|
"emit": {
|
|
@@ -4626,36 +4626,36 @@
|
|
|
4626
4626
|
"render-ui",
|
|
4627
4627
|
"main",
|
|
4628
4628
|
{
|
|
4629
|
-
"type": "dashboard-layout",
|
|
4630
4629
|
"appName": "ServiceMarketplace",
|
|
4631
|
-
"children": [
|
|
4632
|
-
{
|
|
4633
|
-
"type": "loading-state",
|
|
4634
|
-
"message": "Delivering your payment receipt.",
|
|
4635
|
-
"title": "Sending receipt..."
|
|
4636
|
-
}
|
|
4637
|
-
],
|
|
4638
4630
|
"navItems": [
|
|
4639
4631
|
{
|
|
4640
|
-
"
|
|
4632
|
+
"href": "/products",
|
|
4641
4633
|
"icon": "package",
|
|
4642
|
-
"
|
|
4634
|
+
"label": "Products"
|
|
4643
4635
|
},
|
|
4644
4636
|
{
|
|
4645
|
-
"icon": "layout-list",
|
|
4646
4637
|
"label": "Login",
|
|
4647
|
-
"href": "/login"
|
|
4638
|
+
"href": "/login",
|
|
4639
|
+
"icon": "layout-list"
|
|
4648
4640
|
},
|
|
4649
4641
|
{
|
|
4650
4642
|
"href": "/checkout",
|
|
4651
|
-
"
|
|
4652
|
-
"
|
|
4643
|
+
"icon": "credit-card",
|
|
4644
|
+
"label": "Checkout"
|
|
4653
4645
|
},
|
|
4654
4646
|
{
|
|
4655
4647
|
"href": "/orders",
|
|
4656
4648
|
"label": "Orders",
|
|
4657
4649
|
"icon": "clipboard-list"
|
|
4658
4650
|
}
|
|
4651
|
+
],
|
|
4652
|
+
"type": "dashboard-layout",
|
|
4653
|
+
"children": [
|
|
4654
|
+
{
|
|
4655
|
+
"message": "Delivering your payment receipt.",
|
|
4656
|
+
"type": "loading-state",
|
|
4657
|
+
"title": "Sending receipt..."
|
|
4658
|
+
}
|
|
4659
4659
|
]
|
|
4660
4660
|
}
|
|
4661
4661
|
],
|
|
@@ -4744,7 +4744,7 @@
|
|
|
4744
4744
|
"event": "OrderLoaded",
|
|
4745
4745
|
"description": "Fired when Order finishes loading",
|
|
4746
4746
|
"scope": "internal",
|
|
4747
|
-
"
|
|
4747
|
+
"payloadSchema": [
|
|
4748
4748
|
{
|
|
4749
4749
|
"name": "data",
|
|
4750
4750
|
"type": "[Order]"
|
|
@@ -4755,7 +4755,7 @@
|
|
|
4755
4755
|
"event": "OrderLoadFailed",
|
|
4756
4756
|
"description": "Fired when Order fails to load",
|
|
4757
4757
|
"scope": "internal",
|
|
4758
|
-
"
|
|
4758
|
+
"payloadSchema": [
|
|
4759
4759
|
{
|
|
4760
4760
|
"name": "error",
|
|
4761
4761
|
"type": "string"
|
|
@@ -4808,7 +4808,7 @@
|
|
|
4808
4808
|
{
|
|
4809
4809
|
"key": "OrderLoaded",
|
|
4810
4810
|
"name": "Order loaded",
|
|
4811
|
-
"
|
|
4811
|
+
"payloadSchema": [
|
|
4812
4812
|
{
|
|
4813
4813
|
"name": "data",
|
|
4814
4814
|
"type": "[Order]"
|
|
@@ -4818,7 +4818,7 @@
|
|
|
4818
4818
|
{
|
|
4819
4819
|
"key": "OrderLoadFailed",
|
|
4820
4820
|
"name": "Order load failed",
|
|
4821
|
-
"
|
|
4821
|
+
"payloadSchema": [
|
|
4822
4822
|
{
|
|
4823
4823
|
"name": "error",
|
|
4824
4824
|
"type": "string"
|
|
@@ -4841,8 +4841,8 @@
|
|
|
4841
4841
|
"Order",
|
|
4842
4842
|
{
|
|
4843
4843
|
"emit": {
|
|
4844
|
-
"
|
|
4845
|
-
"
|
|
4844
|
+
"success": "OrderLoaded",
|
|
4845
|
+
"failure": "OrderLoadFailed"
|
|
4846
4846
|
}
|
|
4847
4847
|
}
|
|
4848
4848
|
],
|
|
@@ -4850,22 +4850,22 @@
|
|
|
4850
4850
|
"render-ui",
|
|
4851
4851
|
"main",
|
|
4852
4852
|
{
|
|
4853
|
-
"className": "py-12",
|
|
4854
4853
|
"direction": "vertical",
|
|
4855
|
-
"
|
|
4854
|
+
"align": "center",
|
|
4855
|
+
"className": "py-12",
|
|
4856
4856
|
"children": [
|
|
4857
4857
|
{
|
|
4858
4858
|
"type": "spinner"
|
|
4859
4859
|
},
|
|
4860
4860
|
{
|
|
4861
|
-
"variant": "caption",
|
|
4862
4861
|
"type": "typography",
|
|
4863
|
-
"
|
|
4864
|
-
"content": "Loading…"
|
|
4862
|
+
"variant": "caption",
|
|
4863
|
+
"content": "Loading…",
|
|
4864
|
+
"color": "muted"
|
|
4865
4865
|
}
|
|
4866
4866
|
],
|
|
4867
|
-
"
|
|
4868
|
-
"
|
|
4867
|
+
"type": "stack",
|
|
4868
|
+
"gap": "md"
|
|
4869
4869
|
}
|
|
4870
4870
|
]
|
|
4871
4871
|
]
|
|
@@ -4883,121 +4883,121 @@
|
|
|
4883
4883
|
"appName": "ServiceMarketplace",
|
|
4884
4884
|
"children": [
|
|
4885
4885
|
{
|
|
4886
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
4886
4887
|
"children": [
|
|
4887
4888
|
{
|
|
4888
|
-
"align": "center",
|
|
4889
4889
|
"justify": "between",
|
|
4890
|
+
"direction": "horizontal",
|
|
4891
|
+
"align": "center",
|
|
4890
4892
|
"children": [
|
|
4891
4893
|
{
|
|
4894
|
+
"gap": "sm",
|
|
4895
|
+
"align": "center",
|
|
4892
4896
|
"children": [
|
|
4893
4897
|
{
|
|
4894
4898
|
"type": "icon",
|
|
4895
4899
|
"name": "list"
|
|
4896
4900
|
},
|
|
4897
4901
|
{
|
|
4902
|
+
"content": "Orders",
|
|
4898
4903
|
"variant": "h2",
|
|
4899
|
-
"type": "typography"
|
|
4900
|
-
"content": "Orders"
|
|
4904
|
+
"type": "typography"
|
|
4901
4905
|
}
|
|
4902
4906
|
],
|
|
4903
|
-
"direction": "horizontal",
|
|
4904
4907
|
"type": "stack",
|
|
4905
|
-
"
|
|
4906
|
-
"gap": "sm"
|
|
4908
|
+
"direction": "horizontal"
|
|
4907
4909
|
},
|
|
4908
4910
|
{
|
|
4911
|
+
"gap": "sm",
|
|
4912
|
+
"type": "stack",
|
|
4913
|
+
"direction": "horizontal",
|
|
4909
4914
|
"children": [
|
|
4910
4915
|
{
|
|
4911
|
-
"
|
|
4912
|
-
"icon": "plus",
|
|
4913
|
-
"type": "button",
|
|
4916
|
+
"action": "CREATE",
|
|
4914
4917
|
"label": "Create Order",
|
|
4915
|
-
"
|
|
4918
|
+
"type": "button",
|
|
4919
|
+
"icon": "plus",
|
|
4920
|
+
"variant": "primary"
|
|
4916
4921
|
}
|
|
4917
|
-
]
|
|
4918
|
-
"direction": "horizontal",
|
|
4919
|
-
"gap": "sm",
|
|
4920
|
-
"type": "stack"
|
|
4922
|
+
]
|
|
4921
4923
|
}
|
|
4922
4924
|
],
|
|
4923
|
-
"
|
|
4924
|
-
"
|
|
4925
|
-
"type": "stack"
|
|
4925
|
+
"type": "stack",
|
|
4926
|
+
"gap": "md"
|
|
4926
4927
|
},
|
|
4927
4928
|
{
|
|
4928
4929
|
"type": "divider"
|
|
4929
4930
|
},
|
|
4930
4931
|
{
|
|
4931
4932
|
"entity": "@payload.data",
|
|
4932
|
-
"itemActions": [
|
|
4933
|
-
{
|
|
4934
|
-
"variant": "ghost",
|
|
4935
|
-
"label": "View",
|
|
4936
|
-
"event": "VIEW"
|
|
4937
|
-
},
|
|
4938
|
-
{
|
|
4939
|
-
"label": "Edit",
|
|
4940
|
-
"event": "EDIT",
|
|
4941
|
-
"variant": "ghost"
|
|
4942
|
-
},
|
|
4943
|
-
{
|
|
4944
|
-
"event": "DELETE",
|
|
4945
|
-
"variant": "danger",
|
|
4946
|
-
"label": "Delete"
|
|
4947
|
-
}
|
|
4948
|
-
],
|
|
4949
4933
|
"columns": [
|
|
4950
4934
|
{
|
|
4951
|
-
"label": "Product Name",
|
|
4952
4935
|
"variant": "h4",
|
|
4953
|
-
"
|
|
4954
|
-
"name": "productName"
|
|
4936
|
+
"label": "Product Name",
|
|
4937
|
+
"name": "productName",
|
|
4938
|
+
"icon": "list"
|
|
4955
4939
|
},
|
|
4956
4940
|
{
|
|
4957
|
-
"label": "Amount",
|
|
4958
4941
|
"colorMap": {
|
|
4959
|
-
"
|
|
4960
|
-
"error": "destructive",
|
|
4961
|
-
"inactive": "neutral",
|
|
4942
|
+
"scheduled": "warning",
|
|
4962
4943
|
"active": "success",
|
|
4963
|
-
"completed": "success",
|
|
4964
4944
|
"archived": "neutral",
|
|
4965
|
-
"scheduled": "warning",
|
|
4966
|
-
"disabled": "neutral",
|
|
4967
4945
|
"cancelled": "destructive",
|
|
4946
|
+
"completed": "success",
|
|
4968
4947
|
"failed": "destructive",
|
|
4948
|
+
"pending": "warning",
|
|
4949
|
+
"done": "success",
|
|
4950
|
+
"inactive": "neutral",
|
|
4969
4951
|
"draft": "warning",
|
|
4970
|
-
"
|
|
4952
|
+
"error": "destructive",
|
|
4953
|
+
"disabled": "neutral"
|
|
4971
4954
|
},
|
|
4955
|
+
"variant": "badge",
|
|
4972
4956
|
"name": "amount",
|
|
4973
|
-
"
|
|
4957
|
+
"label": "Amount"
|
|
4974
4958
|
},
|
|
4975
4959
|
{
|
|
4976
4960
|
"name": "paymentStatus",
|
|
4977
|
-
"
|
|
4978
|
-
"
|
|
4961
|
+
"variant": "caption",
|
|
4962
|
+
"label": "Payment Status"
|
|
4979
4963
|
}
|
|
4980
4964
|
],
|
|
4965
|
+
"fields": [],
|
|
4981
4966
|
"type": "data-grid",
|
|
4982
|
-
"
|
|
4967
|
+
"itemActions": [
|
|
4968
|
+
{
|
|
4969
|
+
"event": "VIEW",
|
|
4970
|
+
"variant": "ghost",
|
|
4971
|
+
"label": "View"
|
|
4972
|
+
},
|
|
4973
|
+
{
|
|
4974
|
+
"label": "Edit",
|
|
4975
|
+
"event": "EDIT",
|
|
4976
|
+
"variant": "ghost"
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"variant": "danger",
|
|
4980
|
+
"label": "Delete",
|
|
4981
|
+
"event": "DELETE"
|
|
4982
|
+
}
|
|
4983
|
+
]
|
|
4983
4984
|
}
|
|
4984
4985
|
],
|
|
4986
|
+
"gap": "lg",
|
|
4985
4987
|
"direction": "vertical",
|
|
4986
|
-
"type": "stack"
|
|
4987
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
4988
|
-
"gap": "lg"
|
|
4988
|
+
"type": "stack"
|
|
4989
4989
|
}
|
|
4990
4990
|
],
|
|
4991
4991
|
"navItems": [
|
|
4992
4992
|
{
|
|
4993
4993
|
"label": "Products",
|
|
4994
|
-
"
|
|
4995
|
-
"
|
|
4994
|
+
"href": "/products",
|
|
4995
|
+
"icon": "package"
|
|
4996
4996
|
},
|
|
4997
4997
|
{
|
|
4998
|
+
"icon": "layout-list",
|
|
4998
4999
|
"label": "Login",
|
|
4999
|
-
"href": "/login"
|
|
5000
|
-
"icon": "layout-list"
|
|
5000
|
+
"href": "/login"
|
|
5001
5001
|
},
|
|
5002
5002
|
{
|
|
5003
5003
|
"label": "Checkout",
|
|
@@ -5023,35 +5023,35 @@
|
|
|
5023
5023
|
"render-ui",
|
|
5024
5024
|
"main",
|
|
5025
5025
|
{
|
|
5026
|
-
"type": "stack",
|
|
5027
|
-
"direction": "vertical",
|
|
5028
|
-
"align": "center",
|
|
5029
5026
|
"children": [
|
|
5030
5027
|
{
|
|
5031
5028
|
"color": "destructive",
|
|
5032
|
-
"
|
|
5033
|
-
"
|
|
5029
|
+
"type": "icon",
|
|
5030
|
+
"name": "alert-triangle"
|
|
5034
5031
|
},
|
|
5035
5032
|
{
|
|
5036
5033
|
"type": "typography",
|
|
5037
|
-
"
|
|
5038
|
-
"
|
|
5034
|
+
"content": "Failed to load order",
|
|
5035
|
+
"variant": "h3"
|
|
5039
5036
|
},
|
|
5040
5037
|
{
|
|
5041
|
-
"variant": "body",
|
|
5042
|
-
"type": "typography",
|
|
5043
5038
|
"content": "@payload.error",
|
|
5044
|
-
"
|
|
5039
|
+
"variant": "body",
|
|
5040
|
+
"color": "muted",
|
|
5041
|
+
"type": "typography"
|
|
5045
5042
|
},
|
|
5046
5043
|
{
|
|
5044
|
+
"icon": "rotate-ccw",
|
|
5047
5045
|
"variant": "primary",
|
|
5048
|
-
"action": "INIT",
|
|
5049
5046
|
"type": "button",
|
|
5050
5047
|
"label": "Retry",
|
|
5051
|
-
"
|
|
5048
|
+
"action": "INIT"
|
|
5052
5049
|
}
|
|
5053
5050
|
],
|
|
5054
5051
|
"gap": "md",
|
|
5052
|
+
"type": "stack",
|
|
5053
|
+
"direction": "vertical",
|
|
5054
|
+
"align": "center",
|
|
5055
5055
|
"className": "py-12"
|
|
5056
5056
|
}
|
|
5057
5057
|
]
|
|
@@ -5073,7 +5073,7 @@
|
|
|
5073
5073
|
"event": "OrderLoadFailed",
|
|
5074
5074
|
"description": "Fired when Order fails to load",
|
|
5075
5075
|
"scope": "internal",
|
|
5076
|
-
"
|
|
5076
|
+
"payloadSchema": [
|
|
5077
5077
|
{
|
|
5078
5078
|
"name": "error",
|
|
5079
5079
|
"type": "string"
|
|
@@ -5088,7 +5088,7 @@
|
|
|
5088
5088
|
"event": "OrderLoaded",
|
|
5089
5089
|
"description": "Fired when Order finishes loading",
|
|
5090
5090
|
"scope": "internal",
|
|
5091
|
-
"
|
|
5091
|
+
"payloadSchema": [
|
|
5092
5092
|
{
|
|
5093
5093
|
"name": "data",
|
|
5094
5094
|
"type": "[Order]"
|
|
@@ -5098,7 +5098,7 @@
|
|
|
5098
5098
|
{
|
|
5099
5099
|
"event": "OrderSaveFailed",
|
|
5100
5100
|
"scope": "internal",
|
|
5101
|
-
"
|
|
5101
|
+
"payloadSchema": [
|
|
5102
5102
|
{
|
|
5103
5103
|
"name": "error",
|
|
5104
5104
|
"type": "string"
|
|
@@ -5112,7 +5112,7 @@
|
|
|
5112
5112
|
{
|
|
5113
5113
|
"event": "OrderSaved",
|
|
5114
5114
|
"scope": "internal",
|
|
5115
|
-
"
|
|
5115
|
+
"payloadSchema": [
|
|
5116
5116
|
{
|
|
5117
5117
|
"name": "id",
|
|
5118
5118
|
"type": "string"
|
|
@@ -5146,7 +5146,7 @@
|
|
|
5146
5146
|
{
|
|
5147
5147
|
"key": "SAVE",
|
|
5148
5148
|
"name": "Save",
|
|
5149
|
-
"
|
|
5149
|
+
"payloadSchema": [
|
|
5150
5150
|
{
|
|
5151
5151
|
"name": "data",
|
|
5152
5152
|
"type": "string"
|
|
@@ -5160,7 +5160,7 @@
|
|
|
5160
5160
|
{
|
|
5161
5161
|
"key": "OrderLoadFailed",
|
|
5162
5162
|
"name": "Order load failed",
|
|
5163
|
-
"
|
|
5163
|
+
"payloadSchema": [
|
|
5164
5164
|
{
|
|
5165
5165
|
"name": "error",
|
|
5166
5166
|
"type": "string"
|
|
@@ -5174,7 +5174,7 @@
|
|
|
5174
5174
|
{
|
|
5175
5175
|
"key": "OrderLoaded",
|
|
5176
5176
|
"name": "Order loaded",
|
|
5177
|
-
"
|
|
5177
|
+
"payloadSchema": [
|
|
5178
5178
|
{
|
|
5179
5179
|
"name": "data",
|
|
5180
5180
|
"type": "[Order]"
|
|
@@ -5184,7 +5184,7 @@
|
|
|
5184
5184
|
{
|
|
5185
5185
|
"key": "OrderSaveFailed",
|
|
5186
5186
|
"name": "Order save failed",
|
|
5187
|
-
"
|
|
5187
|
+
"payloadSchema": [
|
|
5188
5188
|
{
|
|
5189
5189
|
"name": "error",
|
|
5190
5190
|
"type": "string"
|
|
@@ -5198,7 +5198,7 @@
|
|
|
5198
5198
|
{
|
|
5199
5199
|
"key": "OrderSaved",
|
|
5200
5200
|
"name": "Order saved",
|
|
5201
|
-
"
|
|
5201
|
+
"payloadSchema": [
|
|
5202
5202
|
{
|
|
5203
5203
|
"name": "id",
|
|
5204
5204
|
"type": "string"
|
|
@@ -5238,22 +5238,24 @@
|
|
|
5238
5238
|
"modal",
|
|
5239
5239
|
{
|
|
5240
5240
|
"type": "stack",
|
|
5241
|
+
"direction": "vertical",
|
|
5242
|
+
"gap": "md",
|
|
5241
5243
|
"children": [
|
|
5242
5244
|
{
|
|
5245
|
+
"direction": "horizontal",
|
|
5243
5246
|
"children": [
|
|
5244
5247
|
{
|
|
5245
|
-
"
|
|
5246
|
-
"
|
|
5248
|
+
"name": "plus-circle",
|
|
5249
|
+
"type": "icon"
|
|
5247
5250
|
},
|
|
5248
5251
|
{
|
|
5249
|
-
"content": "Create Order",
|
|
5250
5252
|
"type": "typography",
|
|
5251
|
-
"variant": "h3"
|
|
5253
|
+
"variant": "h3",
|
|
5254
|
+
"content": "Create Order"
|
|
5252
5255
|
}
|
|
5253
5256
|
],
|
|
5254
|
-
"
|
|
5255
|
-
"type": "stack"
|
|
5256
|
-
"gap": "sm"
|
|
5257
|
+
"gap": "sm",
|
|
5258
|
+
"type": "stack"
|
|
5257
5259
|
},
|
|
5258
5260
|
{
|
|
5259
5261
|
"type": "divider"
|
|
@@ -5261,18 +5263,16 @@
|
|
|
5261
5263
|
{
|
|
5262
5264
|
"mode": "create",
|
|
5263
5265
|
"cancelEvent": "CLOSE",
|
|
5264
|
-
"type": "form-section",
|
|
5265
5266
|
"submitEvent": "SAVE",
|
|
5266
5267
|
"fields": [
|
|
5267
5268
|
"productName",
|
|
5268
5269
|
"amount",
|
|
5269
5270
|
"paymentStatus",
|
|
5270
5271
|
"orderDate"
|
|
5271
|
-
]
|
|
5272
|
+
],
|
|
5273
|
+
"type": "form-section"
|
|
5272
5274
|
}
|
|
5273
|
-
]
|
|
5274
|
-
"direction": "vertical",
|
|
5275
|
-
"gap": "md"
|
|
5275
|
+
]
|
|
5276
5276
|
}
|
|
5277
5277
|
]
|
|
5278
5278
|
]
|
|
@@ -5313,8 +5313,8 @@
|
|
|
5313
5313
|
"@payload.data",
|
|
5314
5314
|
{
|
|
5315
5315
|
"emit": {
|
|
5316
|
-
"
|
|
5317
|
-
"
|
|
5316
|
+
"failure": "OrderSaveFailed",
|
|
5317
|
+
"success": "OrderSaved"
|
|
5318
5318
|
}
|
|
5319
5319
|
}
|
|
5320
5320
|
],
|
|
@@ -5352,7 +5352,7 @@
|
|
|
5352
5352
|
"event": "OrderLoadFailed",
|
|
5353
5353
|
"description": "Fired when Order fails to load",
|
|
5354
5354
|
"scope": "internal",
|
|
5355
|
-
"
|
|
5355
|
+
"payloadSchema": [
|
|
5356
5356
|
{
|
|
5357
5357
|
"name": "error",
|
|
5358
5358
|
"type": "string"
|
|
@@ -5367,7 +5367,7 @@
|
|
|
5367
5367
|
"event": "OrderLoaded",
|
|
5368
5368
|
"description": "Fired when Order finishes loading",
|
|
5369
5369
|
"scope": "internal",
|
|
5370
|
-
"
|
|
5370
|
+
"payloadSchema": [
|
|
5371
5371
|
{
|
|
5372
5372
|
"name": "data",
|
|
5373
5373
|
"type": "[Order]"
|
|
@@ -5377,7 +5377,7 @@
|
|
|
5377
5377
|
{
|
|
5378
5378
|
"event": "OrderUpdateFailed",
|
|
5379
5379
|
"scope": "internal",
|
|
5380
|
-
"
|
|
5380
|
+
"payloadSchema": [
|
|
5381
5381
|
{
|
|
5382
5382
|
"name": "error",
|
|
5383
5383
|
"type": "string"
|
|
@@ -5391,7 +5391,7 @@
|
|
|
5391
5391
|
{
|
|
5392
5392
|
"event": "OrderUpdated",
|
|
5393
5393
|
"scope": "internal",
|
|
5394
|
-
"
|
|
5394
|
+
"payloadSchema": [
|
|
5395
5395
|
{
|
|
5396
5396
|
"name": "id",
|
|
5397
5397
|
"type": "string"
|
|
@@ -5417,7 +5417,7 @@
|
|
|
5417
5417
|
{
|
|
5418
5418
|
"key": "EDIT",
|
|
5419
5419
|
"name": "Edit",
|
|
5420
|
-
"
|
|
5420
|
+
"payloadSchema": [
|
|
5421
5421
|
{
|
|
5422
5422
|
"name": "id",
|
|
5423
5423
|
"type": "string"
|
|
@@ -5435,7 +5435,7 @@
|
|
|
5435
5435
|
{
|
|
5436
5436
|
"key": "SAVE",
|
|
5437
5437
|
"name": "Save",
|
|
5438
|
-
"
|
|
5438
|
+
"payloadSchema": [
|
|
5439
5439
|
{
|
|
5440
5440
|
"name": "data",
|
|
5441
5441
|
"type": "string"
|
|
@@ -5449,7 +5449,7 @@
|
|
|
5449
5449
|
{
|
|
5450
5450
|
"key": "OrderLoadFailed",
|
|
5451
5451
|
"name": "Order load failed",
|
|
5452
|
-
"
|
|
5452
|
+
"payloadSchema": [
|
|
5453
5453
|
{
|
|
5454
5454
|
"name": "error",
|
|
5455
5455
|
"type": "string"
|
|
@@ -5463,7 +5463,7 @@
|
|
|
5463
5463
|
{
|
|
5464
5464
|
"key": "OrderLoaded",
|
|
5465
5465
|
"name": "Order loaded",
|
|
5466
|
-
"
|
|
5466
|
+
"payloadSchema": [
|
|
5467
5467
|
{
|
|
5468
5468
|
"name": "data",
|
|
5469
5469
|
"type": "[Order]"
|
|
@@ -5473,7 +5473,7 @@
|
|
|
5473
5473
|
{
|
|
5474
5474
|
"key": "OrderUpdateFailed",
|
|
5475
5475
|
"name": "Order update failed",
|
|
5476
|
-
"
|
|
5476
|
+
"payloadSchema": [
|
|
5477
5477
|
{
|
|
5478
5478
|
"name": "error",
|
|
5479
5479
|
"type": "string"
|
|
@@ -5487,7 +5487,7 @@
|
|
|
5487
5487
|
{
|
|
5488
5488
|
"key": "OrderUpdated",
|
|
5489
5489
|
"name": "Order updated",
|
|
5490
|
-
"
|
|
5490
|
+
"payloadSchema": [
|
|
5491
5491
|
{
|
|
5492
5492
|
"name": "id",
|
|
5493
5493
|
"type": "string"
|
|
@@ -5528,40 +5528,40 @@
|
|
|
5528
5528
|
"modal",
|
|
5529
5529
|
{
|
|
5530
5530
|
"type": "stack",
|
|
5531
|
-
"direction": "vertical",
|
|
5532
5531
|
"gap": "md",
|
|
5532
|
+
"direction": "vertical",
|
|
5533
5533
|
"children": [
|
|
5534
5534
|
{
|
|
5535
5535
|
"type": "stack",
|
|
5536
|
-
"gap": "sm",
|
|
5537
5536
|
"children": [
|
|
5538
5537
|
{
|
|
5539
5538
|
"type": "icon",
|
|
5540
5539
|
"name": "edit"
|
|
5541
5540
|
},
|
|
5542
5541
|
{
|
|
5543
|
-
"content": "Edit Order",
|
|
5544
5542
|
"type": "typography",
|
|
5543
|
+
"content": "Edit Order",
|
|
5545
5544
|
"variant": "h3"
|
|
5546
5545
|
}
|
|
5547
5546
|
],
|
|
5547
|
+
"gap": "sm",
|
|
5548
5548
|
"direction": "horizontal"
|
|
5549
5549
|
},
|
|
5550
5550
|
{
|
|
5551
5551
|
"type": "divider"
|
|
5552
5552
|
},
|
|
5553
5553
|
{
|
|
5554
|
+
"cancelEvent": "CLOSE",
|
|
5555
|
+
"mode": "edit",
|
|
5556
|
+
"type": "form-section",
|
|
5557
|
+
"entity": "@payload.row",
|
|
5558
|
+
"submitEvent": "SAVE",
|
|
5554
5559
|
"fields": [
|
|
5555
5560
|
"productName",
|
|
5556
5561
|
"amount",
|
|
5557
5562
|
"paymentStatus",
|
|
5558
5563
|
"orderDate"
|
|
5559
|
-
]
|
|
5560
|
-
"type": "form-section",
|
|
5561
|
-
"entity": "@payload.row",
|
|
5562
|
-
"mode": "edit",
|
|
5563
|
-
"cancelEvent": "CLOSE",
|
|
5564
|
-
"submitEvent": "SAVE"
|
|
5564
|
+
]
|
|
5565
5565
|
}
|
|
5566
5566
|
]
|
|
5567
5567
|
}
|
|
@@ -5604,8 +5604,8 @@
|
|
|
5604
5604
|
"@payload.data",
|
|
5605
5605
|
{
|
|
5606
5606
|
"emit": {
|
|
5607
|
-
"
|
|
5608
|
-
"
|
|
5607
|
+
"success": "OrderUpdated",
|
|
5608
|
+
"failure": "OrderUpdateFailed"
|
|
5609
5609
|
}
|
|
5610
5610
|
}
|
|
5611
5611
|
],
|
|
@@ -5640,7 +5640,7 @@
|
|
|
5640
5640
|
"event": "OrderLoaded",
|
|
5641
5641
|
"description": "Fired when Order finishes loading",
|
|
5642
5642
|
"scope": "internal",
|
|
5643
|
-
"
|
|
5643
|
+
"payloadSchema": [
|
|
5644
5644
|
{
|
|
5645
5645
|
"name": "data",
|
|
5646
5646
|
"type": "[Order]"
|
|
@@ -5651,7 +5651,7 @@
|
|
|
5651
5651
|
"event": "OrderLoadFailed",
|
|
5652
5652
|
"description": "Fired when Order fails to load",
|
|
5653
5653
|
"scope": "internal",
|
|
5654
|
-
"
|
|
5654
|
+
"payloadSchema": [
|
|
5655
5655
|
{
|
|
5656
5656
|
"name": "error",
|
|
5657
5657
|
"type": "string"
|
|
@@ -5681,7 +5681,7 @@
|
|
|
5681
5681
|
{
|
|
5682
5682
|
"key": "VIEW",
|
|
5683
5683
|
"name": "View",
|
|
5684
|
-
"
|
|
5684
|
+
"payloadSchema": [
|
|
5685
5685
|
{
|
|
5686
5686
|
"name": "id",
|
|
5687
5687
|
"type": "string"
|
|
@@ -5699,7 +5699,7 @@
|
|
|
5699
5699
|
{
|
|
5700
5700
|
"key": "OrderLoaded",
|
|
5701
5701
|
"name": "Order loaded",
|
|
5702
|
-
"
|
|
5702
|
+
"payloadSchema": [
|
|
5703
5703
|
{
|
|
5704
5704
|
"name": "data",
|
|
5705
5705
|
"type": "[Order]"
|
|
@@ -5709,7 +5709,7 @@
|
|
|
5709
5709
|
{
|
|
5710
5710
|
"key": "OrderLoadFailed",
|
|
5711
5711
|
"name": "Order load failed",
|
|
5712
|
-
"
|
|
5712
|
+
"payloadSchema": [
|
|
5713
5713
|
{
|
|
5714
5714
|
"name": "error",
|
|
5715
5715
|
"type": "string"
|
|
@@ -5744,8 +5744,8 @@
|
|
|
5744
5744
|
{
|
|
5745
5745
|
"id": "@payload.id",
|
|
5746
5746
|
"emit": {
|
|
5747
|
-
"
|
|
5748
|
-
"
|
|
5747
|
+
"success": "OrderLoaded",
|
|
5748
|
+
"failure": "OrderLoadFailed"
|
|
5749
5749
|
}
|
|
5750
5750
|
}
|
|
5751
5751
|
],
|
|
@@ -5753,17 +5753,16 @@
|
|
|
5753
5753
|
"render-ui",
|
|
5754
5754
|
"modal",
|
|
5755
5755
|
{
|
|
5756
|
-
"direction": "vertical",
|
|
5757
5756
|
"gap": "md",
|
|
5757
|
+
"type": "stack",
|
|
5758
|
+
"direction": "vertical",
|
|
5758
5759
|
"children": [
|
|
5759
5760
|
{
|
|
5760
|
-
"
|
|
5761
|
-
"type": "stack",
|
|
5762
|
-
"direction": "horizontal",
|
|
5761
|
+
"gap": "sm",
|
|
5763
5762
|
"children": [
|
|
5764
5763
|
{
|
|
5765
|
-
"
|
|
5766
|
-
"
|
|
5764
|
+
"name": "eye",
|
|
5765
|
+
"type": "icon"
|
|
5767
5766
|
},
|
|
5768
5767
|
{
|
|
5769
5768
|
"type": "typography",
|
|
@@ -5771,50 +5770,54 @@
|
|
|
5771
5770
|
"content": "@entity.productName"
|
|
5772
5771
|
}
|
|
5773
5772
|
],
|
|
5774
|
-
"
|
|
5773
|
+
"type": "stack",
|
|
5774
|
+
"direction": "horizontal",
|
|
5775
|
+
"align": "center"
|
|
5775
5776
|
},
|
|
5776
5777
|
{
|
|
5777
5778
|
"type": "divider"
|
|
5778
5779
|
},
|
|
5779
5780
|
{
|
|
5780
|
-
"gap": "md",
|
|
5781
|
-
"direction": "horizontal",
|
|
5782
|
-
"type": "stack",
|
|
5783
5781
|
"children": [
|
|
5784
5782
|
{
|
|
5785
|
-
"
|
|
5783
|
+
"content": "Product Name",
|
|
5786
5784
|
"variant": "caption",
|
|
5787
|
-
"
|
|
5785
|
+
"type": "typography"
|
|
5788
5786
|
},
|
|
5789
5787
|
{
|
|
5790
|
-
"
|
|
5788
|
+
"variant": "body",
|
|
5791
5789
|
"content": "@entity.productName",
|
|
5792
|
-
"
|
|
5790
|
+
"type": "typography"
|
|
5793
5791
|
}
|
|
5794
|
-
]
|
|
5792
|
+
],
|
|
5793
|
+
"direction": "horizontal",
|
|
5794
|
+
"gap": "md",
|
|
5795
|
+
"type": "stack"
|
|
5795
5796
|
},
|
|
5796
5797
|
{
|
|
5797
|
-
"gap": "md",
|
|
5798
5798
|
"type": "stack",
|
|
5799
5799
|
"children": [
|
|
5800
5800
|
{
|
|
5801
5801
|
"type": "typography",
|
|
5802
|
-
"
|
|
5803
|
-
"
|
|
5802
|
+
"variant": "caption",
|
|
5803
|
+
"content": "Amount"
|
|
5804
5804
|
},
|
|
5805
5805
|
{
|
|
5806
|
+
"content": "@entity.amount",
|
|
5806
5807
|
"type": "typography",
|
|
5807
|
-
"variant": "body"
|
|
5808
|
-
"content": "@entity.amount"
|
|
5808
|
+
"variant": "body"
|
|
5809
5809
|
}
|
|
5810
5810
|
],
|
|
5811
|
+
"gap": "md",
|
|
5811
5812
|
"direction": "horizontal"
|
|
5812
5813
|
},
|
|
5813
5814
|
{
|
|
5815
|
+
"direction": "horizontal",
|
|
5816
|
+
"type": "stack",
|
|
5814
5817
|
"children": [
|
|
5815
5818
|
{
|
|
5816
|
-
"variant": "caption",
|
|
5817
5819
|
"type": "typography",
|
|
5820
|
+
"variant": "caption",
|
|
5818
5821
|
"content": "Payment Status"
|
|
5819
5822
|
},
|
|
5820
5823
|
{
|
|
@@ -5823,13 +5826,9 @@
|
|
|
5823
5826
|
"variant": "body"
|
|
5824
5827
|
}
|
|
5825
5828
|
],
|
|
5826
|
-
"gap": "md"
|
|
5827
|
-
"type": "stack",
|
|
5828
|
-
"direction": "horizontal"
|
|
5829
|
+
"gap": "md"
|
|
5829
5830
|
},
|
|
5830
5831
|
{
|
|
5831
|
-
"direction": "horizontal",
|
|
5832
|
-
"gap": "md",
|
|
5833
5832
|
"children": [
|
|
5834
5833
|
{
|
|
5835
5834
|
"content": "Order Date",
|
|
@@ -5842,7 +5841,9 @@
|
|
|
5842
5841
|
"content": "@entity.orderDate"
|
|
5843
5842
|
}
|
|
5844
5843
|
],
|
|
5845
|
-
"
|
|
5844
|
+
"gap": "md",
|
|
5845
|
+
"type": "stack",
|
|
5846
|
+
"direction": "horizontal"
|
|
5846
5847
|
},
|
|
5847
5848
|
{
|
|
5848
5849
|
"type": "divider"
|
|
@@ -5850,26 +5851,25 @@
|
|
|
5850
5851
|
{
|
|
5851
5852
|
"children": [
|
|
5852
5853
|
{
|
|
5853
|
-
"
|
|
5854
|
-
"label": "Edit",
|
|
5855
|
-
"variant": "primary",
|
|
5854
|
+
"icon": "edit",
|
|
5856
5855
|
"action": "EDIT",
|
|
5857
|
-
"
|
|
5856
|
+
"label": "Edit",
|
|
5857
|
+
"type": "button",
|
|
5858
|
+
"variant": "primary"
|
|
5858
5859
|
},
|
|
5859
5860
|
{
|
|
5860
5861
|
"label": "Close",
|
|
5861
5862
|
"type": "button",
|
|
5862
|
-
"
|
|
5863
|
-
"
|
|
5863
|
+
"variant": "ghost",
|
|
5864
|
+
"action": "CLOSE"
|
|
5864
5865
|
}
|
|
5865
5866
|
],
|
|
5866
5867
|
"gap": "sm",
|
|
5868
|
+
"justify": "end",
|
|
5867
5869
|
"type": "stack",
|
|
5868
|
-
"direction": "horizontal"
|
|
5869
|
-
"justify": "end"
|
|
5870
|
+
"direction": "horizontal"
|
|
5870
5871
|
}
|
|
5871
|
-
]
|
|
5872
|
-
"type": "stack"
|
|
5872
|
+
]
|
|
5873
5873
|
}
|
|
5874
5874
|
]
|
|
5875
5875
|
]
|
|
@@ -5932,7 +5932,7 @@
|
|
|
5932
5932
|
{
|
|
5933
5933
|
"event": "OrderDeleteFailed",
|
|
5934
5934
|
"scope": "internal",
|
|
5935
|
-
"
|
|
5935
|
+
"payloadSchema": [
|
|
5936
5936
|
{
|
|
5937
5937
|
"name": "error",
|
|
5938
5938
|
"type": "string"
|
|
@@ -5946,7 +5946,7 @@
|
|
|
5946
5946
|
{
|
|
5947
5947
|
"event": "OrderDeleted",
|
|
5948
5948
|
"scope": "internal",
|
|
5949
|
-
"
|
|
5949
|
+
"payloadSchema": [
|
|
5950
5950
|
{
|
|
5951
5951
|
"name": "id",
|
|
5952
5952
|
"type": "string"
|
|
@@ -5957,7 +5957,7 @@
|
|
|
5957
5957
|
"event": "OrderLoadFailed",
|
|
5958
5958
|
"description": "Fired when Order fails to load",
|
|
5959
5959
|
"scope": "internal",
|
|
5960
|
-
"
|
|
5960
|
+
"payloadSchema": [
|
|
5961
5961
|
{
|
|
5962
5962
|
"name": "error",
|
|
5963
5963
|
"type": "string"
|
|
@@ -5972,7 +5972,7 @@
|
|
|
5972
5972
|
"event": "OrderLoaded",
|
|
5973
5973
|
"description": "Fired when Order finishes loading",
|
|
5974
5974
|
"scope": "internal",
|
|
5975
|
-
"
|
|
5975
|
+
"payloadSchema": [
|
|
5976
5976
|
{
|
|
5977
5977
|
"name": "data",
|
|
5978
5978
|
"type": "[Order]"
|
|
@@ -5998,7 +5998,7 @@
|
|
|
5998
5998
|
{
|
|
5999
5999
|
"key": "DELETE",
|
|
6000
6000
|
"name": "Delete",
|
|
6001
|
-
"
|
|
6001
|
+
"payloadSchema": [
|
|
6002
6002
|
{
|
|
6003
6003
|
"name": "id",
|
|
6004
6004
|
"type": "string"
|
|
@@ -6024,7 +6024,7 @@
|
|
|
6024
6024
|
{
|
|
6025
6025
|
"key": "OrderDeleteFailed",
|
|
6026
6026
|
"name": "Order delete failed",
|
|
6027
|
-
"
|
|
6027
|
+
"payloadSchema": [
|
|
6028
6028
|
{
|
|
6029
6029
|
"name": "error",
|
|
6030
6030
|
"type": "string"
|
|
@@ -6038,7 +6038,7 @@
|
|
|
6038
6038
|
{
|
|
6039
6039
|
"key": "OrderDeleted",
|
|
6040
6040
|
"name": "Order deleted",
|
|
6041
|
-
"
|
|
6041
|
+
"payloadSchema": [
|
|
6042
6042
|
{
|
|
6043
6043
|
"name": "id",
|
|
6044
6044
|
"type": "string"
|
|
@@ -6048,7 +6048,7 @@
|
|
|
6048
6048
|
{
|
|
6049
6049
|
"key": "OrderLoadFailed",
|
|
6050
6050
|
"name": "Order load failed",
|
|
6051
|
-
"
|
|
6051
|
+
"payloadSchema": [
|
|
6052
6052
|
{
|
|
6053
6053
|
"name": "error",
|
|
6054
6054
|
"type": "string"
|
|
@@ -6062,7 +6062,7 @@
|
|
|
6062
6062
|
{
|
|
6063
6063
|
"key": "OrderLoaded",
|
|
6064
6064
|
"name": "Order loaded",
|
|
6065
|
-
"
|
|
6065
|
+
"payloadSchema": [
|
|
6066
6066
|
{
|
|
6067
6067
|
"name": "data",
|
|
6068
6068
|
"type": "[Order]"
|
|
@@ -6098,8 +6098,8 @@
|
|
|
6098
6098
|
{
|
|
6099
6099
|
"id": "@payload.id",
|
|
6100
6100
|
"emit": {
|
|
6101
|
-
"
|
|
6102
|
-
"
|
|
6101
|
+
"failure": "OrderLoadFailed",
|
|
6102
|
+
"success": "OrderLoaded"
|
|
6103
6103
|
}
|
|
6104
6104
|
}
|
|
6105
6105
|
],
|
|
@@ -6108,42 +6108,40 @@
|
|
|
6108
6108
|
"modal",
|
|
6109
6109
|
{
|
|
6110
6110
|
"direction": "vertical",
|
|
6111
|
-
"gap": "md",
|
|
6112
|
-
"type": "stack",
|
|
6113
6111
|
"children": [
|
|
6114
6112
|
{
|
|
6115
|
-
"direction": "horizontal",
|
|
6116
|
-
"align": "center",
|
|
6117
6113
|
"children": [
|
|
6118
6114
|
{
|
|
6119
6115
|
"type": "icon",
|
|
6120
6116
|
"name": "alert-triangle"
|
|
6121
6117
|
},
|
|
6122
6118
|
{
|
|
6123
|
-
"
|
|
6119
|
+
"type": "typography",
|
|
6124
6120
|
"content": "Delete Order",
|
|
6125
|
-
"
|
|
6121
|
+
"variant": "h3"
|
|
6126
6122
|
}
|
|
6127
6123
|
],
|
|
6128
6124
|
"type": "stack",
|
|
6129
|
-
"
|
|
6125
|
+
"direction": "horizontal",
|
|
6126
|
+
"gap": "sm",
|
|
6127
|
+
"align": "center"
|
|
6130
6128
|
},
|
|
6131
6129
|
{
|
|
6132
6130
|
"type": "divider"
|
|
6133
6131
|
},
|
|
6134
6132
|
{
|
|
6135
|
-
"type": "alert",
|
|
6136
6133
|
"variant": "error",
|
|
6134
|
+
"type": "alert",
|
|
6137
6135
|
"message": "This action cannot be undone."
|
|
6138
6136
|
},
|
|
6139
6137
|
{
|
|
6140
6138
|
"gap": "sm",
|
|
6141
6139
|
"children": [
|
|
6142
6140
|
{
|
|
6143
|
-
"type": "button",
|
|
6144
|
-
"action": "CANCEL",
|
|
6145
6141
|
"label": "Cancel",
|
|
6146
|
-
"variant": "ghost"
|
|
6142
|
+
"variant": "ghost",
|
|
6143
|
+
"action": "CANCEL",
|
|
6144
|
+
"type": "button"
|
|
6147
6145
|
},
|
|
6148
6146
|
{
|
|
6149
6147
|
"variant": "danger",
|
|
@@ -6153,11 +6151,13 @@
|
|
|
6153
6151
|
"action": "CONFIRM_DELETE"
|
|
6154
6152
|
}
|
|
6155
6153
|
],
|
|
6156
|
-
"type": "stack",
|
|
6157
6154
|
"direction": "horizontal",
|
|
6155
|
+
"type": "stack",
|
|
6158
6156
|
"justify": "end"
|
|
6159
6157
|
}
|
|
6160
|
-
]
|
|
6158
|
+
],
|
|
6159
|
+
"type": "stack",
|
|
6160
|
+
"gap": "md"
|
|
6161
6161
|
}
|
|
6162
6162
|
]
|
|
6163
6163
|
]
|