@almadar/std 14.26.0 → 14.27.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/app/atoms/std-applicant.orb +496 -42
- package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-payout-ledger",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "std-payout-ledger — marketplace vendor payout atom.
|
|
4
|
+
"description": "std-payout-ledger — marketplace vendor payout atom. Lists payouts in `browsing`; opens detail in `viewing_single` with Withdraw / Mark Paid actions.",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "PayoutOrbital",
|
|
@@ -66,64 +66,10 @@
|
|
|
66
66
|
"linkedEntity": "Payout",
|
|
67
67
|
"emits": [
|
|
68
68
|
{
|
|
69
|
-
"event": "
|
|
70
|
-
"payloadSchema": [
|
|
71
|
-
{
|
|
72
|
-
"name": "amount",
|
|
73
|
-
"type": "number",
|
|
74
|
-
"required": true
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "vendorId",
|
|
78
|
-
"type": "string",
|
|
79
|
-
"required": true
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "row.id",
|
|
83
|
-
"type": "string",
|
|
84
|
-
"required": true
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "row.vendorId",
|
|
88
|
-
"type": "string",
|
|
89
|
-
"required": true
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "row.amount",
|
|
93
|
-
"type": "number",
|
|
94
|
-
"required": true
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"name": "row.currency",
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "row.status",
|
|
102
|
-
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "row.bankAccountMasked",
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "row.requestedAt",
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"name": "row.paidAt",
|
|
114
|
-
"type": "string"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"name": "row.notes",
|
|
118
|
-
"type": "string"
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"event": "MARK_PAID",
|
|
69
|
+
"event": "OPEN_PAYOUT",
|
|
124
70
|
"payloadSchema": [
|
|
125
71
|
{
|
|
126
|
-
"name": "
|
|
72
|
+
"name": "id",
|
|
127
73
|
"type": "string",
|
|
128
74
|
"required": true
|
|
129
75
|
},
|
|
@@ -169,117 +115,39 @@
|
|
|
169
115
|
]
|
|
170
116
|
},
|
|
171
117
|
{
|
|
172
|
-
"event": "
|
|
173
|
-
"payloadSchema": [
|
|
174
|
-
{
|
|
175
|
-
"name": "data",
|
|
176
|
-
"type": "[Payout]"
|
|
177
|
-
}
|
|
178
|
-
]
|
|
118
|
+
"event": "CLOSE_VIEW"
|
|
179
119
|
},
|
|
180
120
|
{
|
|
181
|
-
"event": "
|
|
121
|
+
"event": "REQUEST_WITHDRAW",
|
|
182
122
|
"payloadSchema": [
|
|
183
123
|
{
|
|
184
|
-
"name": "
|
|
185
|
-
"type": "string"
|
|
186
|
-
|
|
187
|
-
{
|
|
188
|
-
"name": "code",
|
|
189
|
-
"type": "string"
|
|
124
|
+
"name": "id",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"required": true
|
|
190
127
|
}
|
|
191
128
|
]
|
|
192
129
|
},
|
|
193
130
|
{
|
|
194
|
-
"event": "
|
|
131
|
+
"event": "MARK_PAID",
|
|
195
132
|
"payloadSchema": [
|
|
196
133
|
{
|
|
197
|
-
"name": "
|
|
198
|
-
"type": "string",
|
|
199
|
-
"required": true
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"name": "row.vendorId",
|
|
134
|
+
"name": "id",
|
|
203
135
|
"type": "string",
|
|
204
136
|
"required": true
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "row.amount",
|
|
208
|
-
"type": "number",
|
|
209
|
-
"required": true
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"name": "row.currency",
|
|
213
|
-
"type": "string"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"name": "row.status",
|
|
217
|
-
"type": "string"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"name": "row.bankAccountMasked",
|
|
221
|
-
"type": "string"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"name": "row.requestedAt",
|
|
225
|
-
"type": "string"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "row.paidAt",
|
|
229
|
-
"type": "string"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "row.notes",
|
|
233
|
-
"type": "string"
|
|
234
137
|
}
|
|
235
138
|
]
|
|
236
139
|
},
|
|
237
140
|
{
|
|
238
|
-
"event": "
|
|
141
|
+
"event": "PayoutLoaded",
|
|
239
142
|
"payloadSchema": [
|
|
240
143
|
{
|
|
241
|
-
"name": "
|
|
242
|
-
"type": "
|
|
243
|
-
"required": true
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"name": "row.vendorId",
|
|
247
|
-
"type": "string",
|
|
248
|
-
"required": true
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "row.amount",
|
|
252
|
-
"type": "number",
|
|
253
|
-
"required": true
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "row.currency",
|
|
257
|
-
"type": "string"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"name": "row.status",
|
|
261
|
-
"type": "string"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "row.bankAccountMasked",
|
|
265
|
-
"type": "string"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"name": "row.requestedAt",
|
|
269
|
-
"type": "string"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "row.paidAt",
|
|
273
|
-
"type": "string"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"name": "row.notes",
|
|
277
|
-
"type": "string"
|
|
144
|
+
"name": "data",
|
|
145
|
+
"type": "[Payout]"
|
|
278
146
|
}
|
|
279
147
|
]
|
|
280
148
|
},
|
|
281
149
|
{
|
|
282
|
-
"event": "
|
|
150
|
+
"event": "PayoutLoadFailed",
|
|
283
151
|
"payloadSchema": [
|
|
284
152
|
{
|
|
285
153
|
"name": "error",
|
|
@@ -302,7 +170,7 @@
|
|
|
302
170
|
"name": "browsing"
|
|
303
171
|
},
|
|
304
172
|
{
|
|
305
|
-
"name": "
|
|
173
|
+
"name": "viewing_single"
|
|
306
174
|
},
|
|
307
175
|
{
|
|
308
176
|
"name": "error"
|
|
@@ -338,16 +206,11 @@
|
|
|
338
206
|
]
|
|
339
207
|
},
|
|
340
208
|
{
|
|
341
|
-
"key": "
|
|
342
|
-
"name": "
|
|
209
|
+
"key": "OPEN_PAYOUT",
|
|
210
|
+
"name": "Open Payout",
|
|
343
211
|
"payloadSchema": [
|
|
344
212
|
{
|
|
345
|
-
"name": "
|
|
346
|
-
"type": "number",
|
|
347
|
-
"required": true
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"name": "vendorId",
|
|
213
|
+
"name": "id",
|
|
351
214
|
"type": "string",
|
|
352
215
|
"required": true
|
|
353
216
|
},
|
|
@@ -358,53 +221,30 @@
|
|
|
358
221
|
]
|
|
359
222
|
},
|
|
360
223
|
{
|
|
361
|
-
"key": "
|
|
362
|
-
"name": "
|
|
224
|
+
"key": "REQUEST_WITHDRAW",
|
|
225
|
+
"name": "Request Withdraw",
|
|
363
226
|
"payloadSchema": [
|
|
364
227
|
{
|
|
365
|
-
"name": "
|
|
228
|
+
"name": "id",
|
|
366
229
|
"type": "string",
|
|
367
230
|
"required": true
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"name": "row",
|
|
371
|
-
"type": "Payout"
|
|
372
|
-
}
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"key": "PayoutUpdated",
|
|
377
|
-
"name": "Payout updated",
|
|
378
|
-
"payloadSchema": [
|
|
379
|
-
{
|
|
380
|
-
"name": "row",
|
|
381
|
-
"type": "Payout"
|
|
382
231
|
}
|
|
383
232
|
]
|
|
384
233
|
},
|
|
385
234
|
{
|
|
386
|
-
"key": "
|
|
387
|
-
"name": "
|
|
235
|
+
"key": "MARK_PAID",
|
|
236
|
+
"name": "Mark Paid",
|
|
388
237
|
"payloadSchema": [
|
|
389
238
|
{
|
|
390
|
-
"name": "
|
|
391
|
-
"type": "
|
|
239
|
+
"name": "id",
|
|
240
|
+
"type": "string",
|
|
241
|
+
"required": true
|
|
392
242
|
}
|
|
393
243
|
]
|
|
394
244
|
},
|
|
395
245
|
{
|
|
396
|
-
"key": "
|
|
397
|
-
"name": "
|
|
398
|
-
"payloadSchema": [
|
|
399
|
-
{
|
|
400
|
-
"name": "error",
|
|
401
|
-
"type": "string"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"name": "code",
|
|
405
|
-
"type": "string"
|
|
406
|
-
}
|
|
407
|
-
]
|
|
246
|
+
"key": "CLOSE_VIEW",
|
|
247
|
+
"name": "Close View"
|
|
408
248
|
}
|
|
409
249
|
],
|
|
410
250
|
"transitions": [
|
|
@@ -418,8 +258,8 @@
|
|
|
418
258
|
"Payout",
|
|
419
259
|
{
|
|
420
260
|
"emit": {
|
|
421
|
-
"
|
|
422
|
-
"
|
|
261
|
+
"failure": "PayoutLoadFailed",
|
|
262
|
+
"success": "PayoutLoaded"
|
|
423
263
|
}
|
|
424
264
|
}
|
|
425
265
|
],
|
|
@@ -427,22 +267,22 @@
|
|
|
427
267
|
"render-ui",
|
|
428
268
|
"main",
|
|
429
269
|
{
|
|
270
|
+
"gap": "md",
|
|
271
|
+
"direction": "vertical",
|
|
430
272
|
"className": "py-12",
|
|
273
|
+
"type": "stack",
|
|
274
|
+
"align": "center",
|
|
431
275
|
"children": [
|
|
432
276
|
{
|
|
433
277
|
"type": "spinner"
|
|
434
278
|
},
|
|
435
279
|
{
|
|
280
|
+
"type": "typography",
|
|
436
281
|
"variant": "caption",
|
|
437
282
|
"color": "muted",
|
|
438
|
-
"content": "Loading payouts…"
|
|
439
|
-
"type": "typography"
|
|
283
|
+
"content": "Loading payouts…"
|
|
440
284
|
}
|
|
441
|
-
]
|
|
442
|
-
"align": "center",
|
|
443
|
-
"type": "stack",
|
|
444
|
-
"direction": "vertical",
|
|
445
|
-
"gap": "md"
|
|
285
|
+
]
|
|
446
286
|
}
|
|
447
287
|
]
|
|
448
288
|
]
|
|
@@ -456,82 +296,101 @@
|
|
|
456
296
|
"render-ui",
|
|
457
297
|
"main",
|
|
458
298
|
{
|
|
299
|
+
"direction": "vertical",
|
|
300
|
+
"type": "stack",
|
|
301
|
+
"gap": "md",
|
|
459
302
|
"children": [
|
|
460
303
|
{
|
|
461
|
-
"
|
|
462
|
-
"direction": "horizontal",
|
|
463
|
-
"gap": "sm",
|
|
304
|
+
"align": "center",
|
|
464
305
|
"children": [
|
|
465
306
|
{
|
|
466
307
|
"type": "icon",
|
|
467
308
|
"name": "wallet"
|
|
468
309
|
},
|
|
469
310
|
{
|
|
470
|
-
"type": "typography",
|
|
471
311
|
"content": "@config.title",
|
|
472
|
-
"variant": "h3"
|
|
312
|
+
"variant": "h3",
|
|
313
|
+
"type": "typography"
|
|
473
314
|
}
|
|
474
|
-
]
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
"
|
|
315
|
+
],
|
|
316
|
+
"type": "stack",
|
|
317
|
+
"direction": "horizontal",
|
|
318
|
+
"gap": "sm"
|
|
478
319
|
},
|
|
479
320
|
{
|
|
321
|
+
"type": "simple-grid",
|
|
480
322
|
"children": [
|
|
481
323
|
{
|
|
482
324
|
"type": "stat-display",
|
|
325
|
+
"value": "@payload.data.length",
|
|
326
|
+
"icon": "wallet",
|
|
327
|
+
"label": "Total payouts"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
483
330
|
"label": "Pending",
|
|
484
|
-
"
|
|
485
|
-
"
|
|
486
|
-
"
|
|
487
|
-
"format": "currency"
|
|
331
|
+
"value": "12",
|
|
332
|
+
"type": "stat-display",
|
|
333
|
+
"icon": "clock"
|
|
488
334
|
},
|
|
489
335
|
{
|
|
336
|
+
"label": "Paid this month",
|
|
490
337
|
"type": "stat-display",
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"format": "currency",
|
|
494
|
-
"value": 0.0,
|
|
495
|
-
"label": "Paid"
|
|
338
|
+
"value": "$48,200",
|
|
339
|
+
"icon": "check-circle"
|
|
496
340
|
},
|
|
497
341
|
{
|
|
498
|
-
"icon": "dollar-sign",
|
|
499
|
-
"label": "Minimum Withdrawal",
|
|
500
342
|
"value": "@config.minimumWithdrawal",
|
|
501
|
-
"
|
|
502
|
-
"
|
|
343
|
+
"icon": "dollar-sign",
|
|
344
|
+
"label": "Minimum",
|
|
503
345
|
"type": "stat-display"
|
|
504
346
|
}
|
|
505
347
|
],
|
|
506
|
-
"cols":
|
|
507
|
-
|
|
348
|
+
"cols": 4.0
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "divider"
|
|
508
352
|
},
|
|
509
353
|
{
|
|
354
|
+
"gap": "sm",
|
|
355
|
+
"cols": 1.0,
|
|
356
|
+
"itemActions": [
|
|
357
|
+
{
|
|
358
|
+
"event": "OPEN_PAYOUT",
|
|
359
|
+
"label": "Open",
|
|
360
|
+
"icon": "arrow-right",
|
|
361
|
+
"variant": "primary"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"variant": "danger",
|
|
365
|
+
"label": "Withdraw",
|
|
366
|
+
"event": "REQUEST_WITHDRAW"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
510
369
|
"fields": [
|
|
511
370
|
{
|
|
512
|
-
"variant": "caption",
|
|
513
371
|
"name": "vendorId",
|
|
514
|
-
"label": "Vendor"
|
|
372
|
+
"label": "Vendor",
|
|
373
|
+
"variant": "caption"
|
|
515
374
|
},
|
|
516
375
|
{
|
|
517
376
|
"label": "Amount",
|
|
518
|
-
"
|
|
519
|
-
"
|
|
377
|
+
"name": "amount",
|
|
378
|
+
"variant": "caption"
|
|
520
379
|
},
|
|
521
380
|
{
|
|
381
|
+
"name": "currency",
|
|
522
382
|
"label": "Currency",
|
|
523
|
-
"variant": "badge"
|
|
524
|
-
"name": "currency"
|
|
383
|
+
"variant": "badge"
|
|
525
384
|
},
|
|
526
385
|
{
|
|
527
386
|
"label": "Status",
|
|
528
|
-
"
|
|
529
|
-
"
|
|
387
|
+
"name": "status",
|
|
388
|
+
"variant": "badge"
|
|
530
389
|
},
|
|
531
390
|
{
|
|
391
|
+
"name": "bankAccountMasked",
|
|
532
392
|
"label": "Bank",
|
|
533
|
-
"variant": "caption"
|
|
534
|
-
"name": "bankAccountMasked"
|
|
393
|
+
"variant": "caption"
|
|
535
394
|
},
|
|
536
395
|
{
|
|
537
396
|
"name": "requestedAt",
|
|
@@ -539,29 +398,10 @@
|
|
|
539
398
|
"variant": "caption"
|
|
540
399
|
}
|
|
541
400
|
],
|
|
542
|
-
"gap": "sm",
|
|
543
401
|
"type": "data-grid",
|
|
544
|
-
"entity": "@payload.data"
|
|
545
|
-
"cols": 1.0,
|
|
546
|
-
"itemActions": [
|
|
547
|
-
{
|
|
548
|
-
"event": "REQUEST_WITHDRAW",
|
|
549
|
-
"icon": "send",
|
|
550
|
-
"label": "Withdraw",
|
|
551
|
-
"variant": "primary"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"icon": "check",
|
|
555
|
-
"label": "Mark Paid",
|
|
556
|
-
"variant": "secondary",
|
|
557
|
-
"event": "MARK_PAID"
|
|
558
|
-
}
|
|
559
|
-
]
|
|
402
|
+
"entity": "@payload.data"
|
|
560
403
|
}
|
|
561
|
-
]
|
|
562
|
-
"gap": "md",
|
|
563
|
-
"direction": "vertical",
|
|
564
|
-
"type": "stack"
|
|
404
|
+
]
|
|
565
405
|
}
|
|
566
406
|
]
|
|
567
407
|
]
|
|
@@ -575,17 +415,17 @@
|
|
|
575
415
|
"render-ui",
|
|
576
416
|
"main",
|
|
577
417
|
{
|
|
418
|
+
"message": "@payload.error",
|
|
578
419
|
"variant": "error",
|
|
579
|
-
"type": "alert"
|
|
580
|
-
"message": "@payload.error"
|
|
420
|
+
"type": "alert"
|
|
581
421
|
}
|
|
582
422
|
]
|
|
583
423
|
]
|
|
584
424
|
},
|
|
585
425
|
{
|
|
586
426
|
"from": "browsing",
|
|
587
|
-
"to": "
|
|
588
|
-
"event": "
|
|
427
|
+
"to": "viewing_single",
|
|
428
|
+
"event": "OPEN_PAYOUT",
|
|
589
429
|
"effects": [
|
|
590
430
|
[
|
|
591
431
|
"set",
|
|
@@ -595,12 +435,12 @@
|
|
|
595
435
|
[
|
|
596
436
|
"set",
|
|
597
437
|
"@entity.vendorId",
|
|
598
|
-
"@payload.vendorId"
|
|
438
|
+
"@payload.row.vendorId"
|
|
599
439
|
],
|
|
600
440
|
[
|
|
601
441
|
"set",
|
|
602
442
|
"@entity.amount",
|
|
603
|
-
"@payload.amount"
|
|
443
|
+
"@payload.row.amount"
|
|
604
444
|
],
|
|
605
445
|
[
|
|
606
446
|
"set",
|
|
@@ -610,7 +450,7 @@
|
|
|
610
450
|
[
|
|
611
451
|
"set",
|
|
612
452
|
"@entity.status",
|
|
613
|
-
"
|
|
453
|
+
"@payload.row.status"
|
|
614
454
|
],
|
|
615
455
|
[
|
|
616
456
|
"set",
|
|
@@ -620,118 +460,250 @@
|
|
|
620
460
|
[
|
|
621
461
|
"set",
|
|
622
462
|
"@entity.requestedAt",
|
|
623
|
-
"
|
|
463
|
+
"@payload.row.requestedAt"
|
|
624
464
|
],
|
|
625
465
|
[
|
|
626
|
-
"
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"@entity",
|
|
630
|
-
{
|
|
631
|
-
"emit": {
|
|
632
|
-
"failure": "PayoutWithdrawFailed",
|
|
633
|
-
"success": "PayoutUpdated"
|
|
634
|
-
}
|
|
635
|
-
}
|
|
466
|
+
"set",
|
|
467
|
+
"@entity.paidAt",
|
|
468
|
+
"@payload.row.paidAt"
|
|
636
469
|
],
|
|
637
470
|
[
|
|
638
|
-
"
|
|
639
|
-
"
|
|
640
|
-
"
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
},
|
|
471
|
+
"set",
|
|
472
|
+
"@entity.notes",
|
|
473
|
+
"@payload.row.notes"
|
|
474
|
+
],
|
|
475
|
+
[
|
|
476
|
+
"render-ui",
|
|
477
|
+
"main",
|
|
646
478
|
{
|
|
647
|
-
"
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
479
|
+
"children": [
|
|
480
|
+
{
|
|
481
|
+
"align": "center",
|
|
482
|
+
"children": [
|
|
483
|
+
{
|
|
484
|
+
"label": "Back",
|
|
485
|
+
"variant": "ghost",
|
|
486
|
+
"type": "button",
|
|
487
|
+
"action": "CLOSE_VIEW"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"type": "icon",
|
|
491
|
+
"name": "wallet"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"content": "@entity.vendorId",
|
|
495
|
+
"variant": "h3",
|
|
496
|
+
"type": "typography"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"variant": "default",
|
|
500
|
+
"type": "badge",
|
|
501
|
+
"label": "@entity.status"
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
"type": "stack",
|
|
505
|
+
"gap": "sm",
|
|
506
|
+
"direction": "horizontal"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"type": "divider"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"direction": "vertical",
|
|
513
|
+
"gap": "sm",
|
|
514
|
+
"children": [
|
|
515
|
+
{
|
|
516
|
+
"direction": "horizontal",
|
|
517
|
+
"type": "stack",
|
|
518
|
+
"gap": "md",
|
|
519
|
+
"children": [
|
|
520
|
+
{
|
|
521
|
+
"variant": "caption",
|
|
522
|
+
"content": "Bank",
|
|
523
|
+
"type": "typography",
|
|
524
|
+
"color": "muted"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"variant": "body",
|
|
528
|
+
"content": "@entity.bankAccountMasked",
|
|
529
|
+
"type": "typography"
|
|
530
|
+
}
|
|
531
|
+
]
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"children": [
|
|
535
|
+
{
|
|
536
|
+
"variant": "caption",
|
|
537
|
+
"type": "typography",
|
|
538
|
+
"color": "muted",
|
|
539
|
+
"content": "Notes"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"variant": "body",
|
|
543
|
+
"content": "@entity.notes",
|
|
544
|
+
"type": "typography"
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"direction": "horizontal",
|
|
548
|
+
"type": "stack",
|
|
549
|
+
"gap": "md"
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"type": "stack"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"type": "divider"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"type": "simple-grid",
|
|
559
|
+
"children": [
|
|
560
|
+
{
|
|
561
|
+
"type": "stat-display",
|
|
562
|
+
"value": "@entity.amount",
|
|
563
|
+
"icon": "dollar-sign",
|
|
564
|
+
"label": "Amount"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"label": "Requested",
|
|
568
|
+
"icon": "calendar",
|
|
569
|
+
"type": "stat-display",
|
|
570
|
+
"value": "@entity.requestedAt"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"label": "Paid",
|
|
574
|
+
"icon": "check-circle",
|
|
575
|
+
"value": "@entity.paidAt",
|
|
576
|
+
"type": "stat-display"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"cols": 3.0
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"type": "stack",
|
|
583
|
+
"direction": "horizontal",
|
|
584
|
+
"gap": "sm",
|
|
585
|
+
"align": "center",
|
|
586
|
+
"children": [
|
|
587
|
+
{
|
|
588
|
+
"type": "button",
|
|
589
|
+
"label": "Withdraw",
|
|
590
|
+
"action": "REQUEST_WITHDRAW",
|
|
591
|
+
"variant": "primary",
|
|
592
|
+
"actionPayload": {
|
|
593
|
+
"id": "@entity.id"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"action": "MARK_PAID",
|
|
598
|
+
"label": "Mark Paid",
|
|
599
|
+
"actionPayload": {
|
|
600
|
+
"id": "@entity.id"
|
|
601
|
+
},
|
|
602
|
+
"variant": "secondary",
|
|
603
|
+
"type": "button"
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"direction": "vertical",
|
|
609
|
+
"type": "stack",
|
|
610
|
+
"gap": "md"
|
|
651
611
|
}
|
|
652
612
|
]
|
|
653
613
|
]
|
|
654
614
|
},
|
|
655
615
|
{
|
|
656
616
|
"from": "browsing",
|
|
657
|
-
"to": "
|
|
658
|
-
"event": "
|
|
617
|
+
"to": "loading",
|
|
618
|
+
"event": "REQUEST_WITHDRAW",
|
|
659
619
|
"effects": [
|
|
660
620
|
[
|
|
661
621
|
"set",
|
|
662
622
|
"@entity.id",
|
|
663
|
-
"@payload.
|
|
664
|
-
],
|
|
665
|
-
[
|
|
666
|
-
"set",
|
|
667
|
-
"@entity.vendorId",
|
|
668
|
-
"@payload.row.vendorId"
|
|
669
|
-
],
|
|
670
|
-
[
|
|
671
|
-
"set",
|
|
672
|
-
"@entity.amount",
|
|
673
|
-
"@payload.row.amount"
|
|
623
|
+
"@payload.id"
|
|
674
624
|
],
|
|
675
625
|
[
|
|
676
|
-
"
|
|
677
|
-
"@entity.currency",
|
|
678
|
-
"@payload.row.currency"
|
|
679
|
-
],
|
|
680
|
-
[
|
|
681
|
-
"set",
|
|
682
|
-
"@entity.bankAccountMasked",
|
|
683
|
-
"@payload.row.bankAccountMasked"
|
|
684
|
-
],
|
|
685
|
-
[
|
|
686
|
-
"set",
|
|
687
|
-
"@entity.requestedAt",
|
|
688
|
-
"@payload.row.requestedAt"
|
|
689
|
-
],
|
|
690
|
-
[
|
|
691
|
-
"set",
|
|
692
|
-
"@entity.status",
|
|
693
|
-
"paid"
|
|
694
|
-
],
|
|
695
|
-
[
|
|
696
|
-
"set",
|
|
697
|
-
"@entity.paidAt",
|
|
698
|
-
"now"
|
|
699
|
-
],
|
|
700
|
-
[
|
|
701
|
-
"persist",
|
|
702
|
-
"update",
|
|
626
|
+
"fetch",
|
|
703
627
|
"Payout",
|
|
704
|
-
"@entity",
|
|
705
628
|
{
|
|
706
629
|
"emit": {
|
|
707
|
-
"
|
|
708
|
-
"
|
|
630
|
+
"success": "PayoutLoaded",
|
|
631
|
+
"failure": "PayoutLoadFailed"
|
|
709
632
|
}
|
|
710
633
|
}
|
|
634
|
+
],
|
|
635
|
+
[
|
|
636
|
+
"render-ui",
|
|
637
|
+
"main",
|
|
638
|
+
{
|
|
639
|
+
"children": [
|
|
640
|
+
{
|
|
641
|
+
"type": "spinner"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"variant": "caption",
|
|
645
|
+
"type": "typography",
|
|
646
|
+
"color": "muted",
|
|
647
|
+
"content": "Requesting withdrawal…"
|
|
648
|
+
}
|
|
649
|
+
],
|
|
650
|
+
"gap": "md",
|
|
651
|
+
"align": "center",
|
|
652
|
+
"type": "stack",
|
|
653
|
+
"direction": "vertical",
|
|
654
|
+
"className": "py-12"
|
|
655
|
+
}
|
|
711
656
|
]
|
|
712
657
|
]
|
|
713
658
|
},
|
|
714
659
|
{
|
|
715
660
|
"from": "browsing",
|
|
716
661
|
"to": "loading",
|
|
717
|
-
"event": "
|
|
662
|
+
"event": "MARK_PAID",
|
|
718
663
|
"effects": [
|
|
664
|
+
[
|
|
665
|
+
"set",
|
|
666
|
+
"@entity.id",
|
|
667
|
+
"@payload.id"
|
|
668
|
+
],
|
|
719
669
|
[
|
|
720
670
|
"fetch",
|
|
721
671
|
"Payout",
|
|
722
672
|
{
|
|
723
673
|
"emit": {
|
|
724
|
-
"
|
|
725
|
-
"
|
|
674
|
+
"failure": "PayoutLoadFailed",
|
|
675
|
+
"success": "PayoutLoaded"
|
|
726
676
|
}
|
|
727
677
|
}
|
|
678
|
+
],
|
|
679
|
+
[
|
|
680
|
+
"render-ui",
|
|
681
|
+
"main",
|
|
682
|
+
{
|
|
683
|
+
"children": [
|
|
684
|
+
{
|
|
685
|
+
"type": "spinner"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"variant": "caption",
|
|
689
|
+
"color": "muted",
|
|
690
|
+
"type": "typography",
|
|
691
|
+
"content": "Marking paid…"
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"gap": "md",
|
|
695
|
+
"type": "stack",
|
|
696
|
+
"className": "py-12",
|
|
697
|
+
"direction": "vertical",
|
|
698
|
+
"align": "center"
|
|
699
|
+
}
|
|
728
700
|
]
|
|
729
701
|
]
|
|
730
702
|
},
|
|
731
703
|
{
|
|
732
|
-
"from": "
|
|
704
|
+
"from": "viewing_single",
|
|
733
705
|
"to": "loading",
|
|
734
|
-
"event": "
|
|
706
|
+
"event": "CLOSE_VIEW",
|
|
735
707
|
"effects": [
|
|
736
708
|
[
|
|
737
709
|
"fetch",
|
|
@@ -742,30 +714,41 @@
|
|
|
742
714
|
"success": "PayoutLoaded"
|
|
743
715
|
}
|
|
744
716
|
}
|
|
745
|
-
]
|
|
746
|
-
]
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"from": "browsing",
|
|
750
|
-
"to": "browsing",
|
|
751
|
-
"event": "PayoutWithdrawFailed",
|
|
752
|
-
"effects": [
|
|
717
|
+
],
|
|
753
718
|
[
|
|
754
719
|
"render-ui",
|
|
755
720
|
"main",
|
|
756
721
|
{
|
|
757
|
-
"
|
|
758
|
-
"
|
|
759
|
-
"
|
|
722
|
+
"align": "center",
|
|
723
|
+
"className": "py-12",
|
|
724
|
+
"children": [
|
|
725
|
+
{
|
|
726
|
+
"type": "spinner"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"content": "Loading payouts…",
|
|
730
|
+
"variant": "caption",
|
|
731
|
+
"color": "muted",
|
|
732
|
+
"type": "typography"
|
|
733
|
+
}
|
|
734
|
+
],
|
|
735
|
+
"type": "stack",
|
|
736
|
+
"direction": "vertical",
|
|
737
|
+
"gap": "md"
|
|
760
738
|
}
|
|
761
739
|
]
|
|
762
740
|
]
|
|
763
741
|
},
|
|
764
742
|
{
|
|
765
|
-
"from": "
|
|
743
|
+
"from": "viewing_single",
|
|
766
744
|
"to": "loading",
|
|
767
|
-
"event": "
|
|
745
|
+
"event": "REQUEST_WITHDRAW",
|
|
768
746
|
"effects": [
|
|
747
|
+
[
|
|
748
|
+
"set",
|
|
749
|
+
"@entity.id",
|
|
750
|
+
"@payload.id"
|
|
751
|
+
],
|
|
769
752
|
[
|
|
770
753
|
"fetch",
|
|
771
754
|
"Payout",
|
|
@@ -775,14 +758,41 @@
|
|
|
775
758
|
"success": "PayoutLoaded"
|
|
776
759
|
}
|
|
777
760
|
}
|
|
761
|
+
],
|
|
762
|
+
[
|
|
763
|
+
"render-ui",
|
|
764
|
+
"main",
|
|
765
|
+
{
|
|
766
|
+
"direction": "vertical",
|
|
767
|
+
"align": "center",
|
|
768
|
+
"children": [
|
|
769
|
+
{
|
|
770
|
+
"type": "spinner"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"type": "typography",
|
|
774
|
+
"content": "Requesting withdrawal…",
|
|
775
|
+
"variant": "caption",
|
|
776
|
+
"color": "muted"
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"gap": "md",
|
|
780
|
+
"type": "stack",
|
|
781
|
+
"className": "py-12"
|
|
782
|
+
}
|
|
778
783
|
]
|
|
779
784
|
]
|
|
780
785
|
},
|
|
781
786
|
{
|
|
782
|
-
"from": "
|
|
787
|
+
"from": "viewing_single",
|
|
783
788
|
"to": "loading",
|
|
784
|
-
"event": "
|
|
789
|
+
"event": "MARK_PAID",
|
|
785
790
|
"effects": [
|
|
791
|
+
[
|
|
792
|
+
"set",
|
|
793
|
+
"@entity.id",
|
|
794
|
+
"@payload.id"
|
|
795
|
+
],
|
|
786
796
|
[
|
|
787
797
|
"fetch",
|
|
788
798
|
"Payout",
|
|
@@ -792,21 +802,27 @@
|
|
|
792
802
|
"failure": "PayoutLoadFailed"
|
|
793
803
|
}
|
|
794
804
|
}
|
|
795
|
-
]
|
|
796
|
-
]
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
"from": "withdrawing",
|
|
800
|
-
"to": "browsing",
|
|
801
|
-
"event": "PayoutWithdrawFailed",
|
|
802
|
-
"effects": [
|
|
805
|
+
],
|
|
803
806
|
[
|
|
804
807
|
"render-ui",
|
|
805
808
|
"main",
|
|
806
809
|
{
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
+
"align": "center",
|
|
811
|
+
"direction": "vertical",
|
|
812
|
+
"type": "stack",
|
|
813
|
+
"className": "py-12",
|
|
814
|
+
"gap": "md",
|
|
815
|
+
"children": [
|
|
816
|
+
{
|
|
817
|
+
"type": "spinner"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"variant": "caption",
|
|
821
|
+
"content": "Marking paid…",
|
|
822
|
+
"type": "typography",
|
|
823
|
+
"color": "muted"
|
|
824
|
+
}
|
|
825
|
+
]
|
|
810
826
|
}
|
|
811
827
|
]
|
|
812
828
|
]
|
|
@@ -830,8 +846,8 @@
|
|
|
830
846
|
"render-ui",
|
|
831
847
|
"main",
|
|
832
848
|
{
|
|
833
|
-
"
|
|
834
|
-
"
|
|
849
|
+
"size": "sm",
|
|
850
|
+
"type": "spinner"
|
|
835
851
|
}
|
|
836
852
|
]
|
|
837
853
|
]
|
|
@@ -839,13 +855,13 @@
|
|
|
839
855
|
]
|
|
840
856
|
},
|
|
841
857
|
"config": {
|
|
842
|
-
"title": {
|
|
843
|
-
"type": "string",
|
|
844
|
-
"default": "Payouts"
|
|
845
|
-
},
|
|
846
858
|
"minimumWithdrawal": {
|
|
847
859
|
"type": "number",
|
|
848
860
|
"default": 50.0
|
|
861
|
+
},
|
|
862
|
+
"title": {
|
|
863
|
+
"type": "string",
|
|
864
|
+
"default": "Payouts"
|
|
849
865
|
}
|
|
850
866
|
},
|
|
851
867
|
"scope": "collection"
|