@almadar/std 14.26.0 → 14.28.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.
Files changed (175) hide show
  1. package/behaviors/registry/app/atoms/std-applicant.orb +496 -42
  2. package/behaviors/registry/app/atoms/std-approval-chain.orb +106 -0
  3. package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
  4. package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
  5. package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
  6. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
  7. package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
  8. package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
  9. package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
  10. package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
  11. package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
  12. package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
  13. package/behaviors/registry/app/atoms/std-donor.orb +445 -135
  14. package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
  15. package/behaviors/registry/app/atoms/std-driver.orb +465 -480
  16. package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
  17. package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
  18. package/behaviors/registry/app/atoms/std-event.orb +465 -667
  19. package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
  20. package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
  21. package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
  22. package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
  23. package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
  24. package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
  25. package/behaviors/registry/app/atoms/std-lease.orb +506 -190
  26. package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
  27. package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
  28. package/behaviors/registry/app/atoms/std-matter.orb +486 -318
  29. package/behaviors/registry/app/atoms/std-membership.orb +512 -102
  30. package/behaviors/registry/app/atoms/std-menu.orb +775 -183
  31. package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
  32. package/behaviors/registry/app/atoms/std-multi-party-transaction.orb +130 -0
  33. package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
  34. package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
  35. package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
  36. package/behaviors/registry/app/atoms/std-pipeline.orb +139 -0
  37. package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
  38. package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
  39. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
  40. package/behaviors/registry/app/atoms/std-recurring-schedule.orb +94 -0
  41. package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
  42. package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
  43. package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
  44. package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
  45. package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
  46. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  47. package/behaviors/registry/app/atoms/std-segment.orb +360 -98
  48. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  49. package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
  50. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  51. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
  52. package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
  53. package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
  54. package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
  55. package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
  56. package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
  57. package/behaviors/registry/app/atoms/std-timeline.orb +108 -0
  58. package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
  59. package/behaviors/registry/app/atoms/std-trial.orb +410 -317
  60. package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
  61. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  62. package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
  63. package/behaviors/registry/app/atoms/std-wizard-branching.orb +129 -0
  64. package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
  65. package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
  66. package/behaviors/registry/app/molecules/std-application.orb +178 -263
  67. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
  68. package/behaviors/registry/app/molecules/std-cart.orb +78 -72
  69. package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
  70. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
  71. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
  72. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
  73. package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
  74. package/behaviors/registry/core/atoms/std-board.orb +1367 -0
  75. package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
  76. package/behaviors/registry/core/atoms/std-event-log.orb +777 -0
  77. package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
  78. package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
  79. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
  80. package/behaviors/registry/core/atoms/std-multi-party-flow.orb +1313 -0
  81. package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
  82. package/behaviors/registry/core/atoms/std-recurrence.orb +937 -0
  83. package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
  84. package/behaviors/registry/core/atoms/std-step-flow.orb +1155 -0
  85. package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
  86. package/behaviors/registry/core/atoms/std-wizard.orb +1085 -0
  87. package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
  88. package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
  89. package/dist/behaviors/registry/app/atoms/std-approval-chain.orb +106 -0
  90. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
  91. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
  92. package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
  93. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
  94. package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
  95. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
  96. package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
  97. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
  98. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
  99. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
  100. package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
  101. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
  102. package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
  103. package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
  104. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
  105. package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
  106. package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
  107. package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
  108. package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
  109. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
  110. package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
  111. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
  112. package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
  113. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
  114. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
  115. package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
  116. package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
  117. package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
  118. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
  119. package/dist/behaviors/registry/app/atoms/std-multi-party-transaction.orb +130 -0
  120. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
  121. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
  122. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
  123. package/dist/behaviors/registry/app/atoms/std-pipeline.orb +139 -0
  124. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
  125. package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
  126. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
  127. package/dist/behaviors/registry/app/atoms/std-recurring-schedule.orb +94 -0
  128. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
  129. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
  130. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
  131. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
  132. package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
  133. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  134. package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
  135. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  136. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
  137. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  138. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
  139. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
  140. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
  141. package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
  142. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
  143. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
  144. package/dist/behaviors/registry/app/atoms/std-timeline.orb +108 -0
  145. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
  146. package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
  147. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
  148. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  149. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
  150. package/dist/behaviors/registry/app/atoms/std-wizard-branching.orb +129 -0
  151. package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
  152. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
  153. package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
  154. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
  155. package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
  156. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
  157. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
  158. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
  159. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
  160. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
  161. package/dist/behaviors/registry/core/atoms/std-board.orb +1367 -0
  162. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
  163. package/dist/behaviors/registry/core/atoms/std-event-log.orb +777 -0
  164. package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
  165. package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
  166. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
  167. package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +1313 -0
  168. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
  169. package/dist/behaviors/registry/core/atoms/std-recurrence.orb +937 -0
  170. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
  171. package/dist/behaviors/registry/core/atoms/std-step-flow.orb +1155 -0
  172. package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
  173. package/dist/behaviors/registry/core/atoms/std-wizard.orb +1085 -0
  174. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
  175. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-event",
3
3
  "version": "1.0.0",
4
- "description": "std-event — event-ticketing event entity. Owns an EventRecord (date, venue, capacity, RFC5545 recurrenceRule, status). Browses events in a data-grid with Edit / Publish / Cancel actions; CREATE/UPDATE/PUBLISH/CANCEL persist a draft and re-fetch.",
4
+ "description": "std-event — event-ticketing event entity (date, venue, capacity, recurrenceRule, status). Lists events in `browsing`; opens detail in `viewing_single` with Publish / Cancel / Update actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "EventOrbital",
@@ -82,20 +82,10 @@
82
82
  "linkedEntity": "EventRecord",
83
83
  "emits": [
84
84
  {
85
- "event": "CREATE",
85
+ "event": "OPEN_EVENT",
86
86
  "payloadSchema": [
87
87
  {
88
- "name": "data",
89
- "type": "object",
90
- "required": true
91
- }
92
- ]
93
- },
94
- {
95
- "event": "UPDATE",
96
- "payloadSchema": [
97
- {
98
- "name": "eventId",
88
+ "name": "id",
99
89
  "type": "string",
100
90
  "required": true
101
91
  },
@@ -154,408 +144,60 @@
154
144
  {
155
145
  "name": "row.createdAt",
156
146
  "type": "string"
157
- },
158
- {
159
- "name": "data",
160
- "type": "object",
161
- "required": true
162
147
  }
163
148
  ]
164
149
  },
165
150
  {
166
- "event": "PUBLISH",
167
- "payloadSchema": [
168
- {
169
- "name": "eventId",
170
- "type": "string",
171
- "required": true
172
- },
173
- {
174
- "name": "row.id",
175
- "type": "string",
176
- "required": true
177
- },
178
- {
179
- "name": "row.name",
180
- "type": "string",
181
- "required": true
182
- },
183
- {
184
- "name": "row.description",
185
- "type": "string"
186
- },
187
- {
188
- "name": "row.venue",
189
- "type": "string"
190
- },
191
- {
192
- "name": "row.lat",
193
- "type": "number"
194
- },
195
- {
196
- "name": "row.lng",
197
- "type": "number"
198
- },
199
- {
200
- "name": "row.startsAt",
201
- "type": "string",
202
- "required": true
203
- },
204
- {
205
- "name": "row.endsAt",
206
- "type": "string",
207
- "required": true
208
- },
209
- {
210
- "name": "row.recurrenceRule",
211
- "type": "string"
212
- },
213
- {
214
- "name": "row.capacity",
215
- "type": "number"
216
- },
217
- {
218
- "name": "row.status",
219
- "type": "string"
220
- },
221
- {
222
- "name": "row.organizerId",
223
- "type": "string"
224
- },
225
- {
226
- "name": "row.createdAt",
227
- "type": "string"
228
- }
229
- ]
151
+ "event": "CLOSE_VIEW"
230
152
  },
231
153
  {
232
- "event": "CANCEL",
154
+ "event": "PUBLISH",
233
155
  "payloadSchema": [
234
156
  {
235
157
  "name": "eventId",
236
158
  "type": "string",
237
159
  "required": true
238
- },
239
- {
240
- "name": "row.id",
241
- "type": "string",
242
- "required": true
243
- },
244
- {
245
- "name": "row.name",
246
- "type": "string",
247
- "required": true
248
- },
249
- {
250
- "name": "row.description",
251
- "type": "string"
252
- },
253
- {
254
- "name": "row.venue",
255
- "type": "string"
256
- },
257
- {
258
- "name": "row.lat",
259
- "type": "number"
260
- },
261
- {
262
- "name": "row.lng",
263
- "type": "number"
264
- },
265
- {
266
- "name": "row.startsAt",
267
- "type": "string",
268
- "required": true
269
- },
270
- {
271
- "name": "row.endsAt",
272
- "type": "string",
273
- "required": true
274
- },
275
- {
276
- "name": "row.recurrenceRule",
277
- "type": "string"
278
- },
279
- {
280
- "name": "row.capacity",
281
- "type": "number"
282
- },
283
- {
284
- "name": "row.status",
285
- "type": "string"
286
- },
287
- {
288
- "name": "row.organizerId",
289
- "type": "string"
290
- },
291
- {
292
- "name": "row.createdAt",
293
- "type": "string"
294
160
  }
295
161
  ]
296
162
  },
297
163
  {
298
- "event": "EventLoaded",
299
- "payloadSchema": [
300
- {
301
- "name": "data",
302
- "type": "[EventRecord]"
303
- }
304
- ]
305
- },
306
- {
307
- "event": "EventLoadFailed",
308
- "payloadSchema": [
309
- {
310
- "name": "error",
311
- "type": "string"
312
- },
313
- {
314
- "name": "code",
315
- "type": "string"
316
- }
317
- ]
318
- },
319
- {
320
- "event": "EventCreated",
321
- "payloadSchema": [
322
- {
323
- "name": "row.id",
324
- "type": "string",
325
- "required": true
326
- },
327
- {
328
- "name": "row.name",
329
- "type": "string",
330
- "required": true
331
- },
332
- {
333
- "name": "row.description",
334
- "type": "string"
335
- },
336
- {
337
- "name": "row.venue",
338
- "type": "string"
339
- },
340
- {
341
- "name": "row.lat",
342
- "type": "number"
343
- },
344
- {
345
- "name": "row.lng",
346
- "type": "number"
347
- },
348
- {
349
- "name": "row.startsAt",
350
- "type": "string",
351
- "required": true
352
- },
353
- {
354
- "name": "row.endsAt",
355
- "type": "string",
356
- "required": true
357
- },
358
- {
359
- "name": "row.recurrenceRule",
360
- "type": "string"
361
- },
362
- {
363
- "name": "row.capacity",
364
- "type": "number"
365
- },
366
- {
367
- "name": "row.status",
368
- "type": "string"
369
- },
370
- {
371
- "name": "row.organizerId",
372
- "type": "string"
373
- },
374
- {
375
- "name": "row.createdAt",
376
- "type": "string"
377
- }
378
- ]
379
- },
380
- {
381
- "event": "EventUpdated",
164
+ "event": "UPDATE",
382
165
  "payloadSchema": [
383
166
  {
384
- "name": "row.id",
385
- "type": "string",
386
- "required": true
387
- },
388
- {
389
- "name": "row.name",
390
- "type": "string",
391
- "required": true
392
- },
393
- {
394
- "name": "row.description",
395
- "type": "string"
396
- },
397
- {
398
- "name": "row.venue",
399
- "type": "string"
400
- },
401
- {
402
- "name": "row.lat",
403
- "type": "number"
404
- },
405
- {
406
- "name": "row.lng",
407
- "type": "number"
408
- },
409
- {
410
- "name": "row.startsAt",
411
- "type": "string",
412
- "required": true
413
- },
414
- {
415
- "name": "row.endsAt",
167
+ "name": "eventId",
416
168
  "type": "string",
417
169
  "required": true
418
- },
419
- {
420
- "name": "row.recurrenceRule",
421
- "type": "string"
422
- },
423
- {
424
- "name": "row.capacity",
425
- "type": "number"
426
- },
427
- {
428
- "name": "row.status",
429
- "type": "string"
430
- },
431
- {
432
- "name": "row.organizerId",
433
- "type": "string"
434
- },
435
- {
436
- "name": "row.createdAt",
437
- "type": "string"
438
170
  }
439
171
  ]
440
172
  },
441
173
  {
442
- "event": "EventPublished",
174
+ "event": "CANCEL",
443
175
  "payloadSchema": [
444
176
  {
445
- "name": "row.id",
446
- "type": "string",
447
- "required": true
448
- },
449
- {
450
- "name": "row.name",
451
- "type": "string",
452
- "required": true
453
- },
454
- {
455
- "name": "row.description",
456
- "type": "string"
457
- },
458
- {
459
- "name": "row.venue",
460
- "type": "string"
461
- },
462
- {
463
- "name": "row.lat",
464
- "type": "number"
465
- },
466
- {
467
- "name": "row.lng",
468
- "type": "number"
469
- },
470
- {
471
- "name": "row.startsAt",
472
- "type": "string",
473
- "required": true
474
- },
475
- {
476
- "name": "row.endsAt",
177
+ "name": "eventId",
477
178
  "type": "string",
478
179
  "required": true
479
- },
480
- {
481
- "name": "row.recurrenceRule",
482
- "type": "string"
483
- },
484
- {
485
- "name": "row.capacity",
486
- "type": "number"
487
- },
488
- {
489
- "name": "row.status",
490
- "type": "string"
491
- },
492
- {
493
- "name": "row.organizerId",
494
- "type": "string"
495
- },
496
- {
497
- "name": "row.createdAt",
498
- "type": "string"
499
180
  }
500
181
  ]
501
182
  },
502
183
  {
503
- "event": "EventCancelled",
504
- "payloadSchema": [
505
- {
506
- "name": "row.id",
507
- "type": "string",
508
- "required": true
509
- },
510
- {
511
- "name": "row.name",
512
- "type": "string",
513
- "required": true
514
- },
515
- {
516
- "name": "row.description",
517
- "type": "string"
518
- },
519
- {
520
- "name": "row.venue",
521
- "type": "string"
522
- },
523
- {
524
- "name": "row.lat",
525
- "type": "number"
526
- },
527
- {
528
- "name": "row.lng",
529
- "type": "number"
530
- },
531
- {
532
- "name": "row.startsAt",
533
- "type": "string",
534
- "required": true
535
- },
536
- {
537
- "name": "row.endsAt",
538
- "type": "string",
539
- "required": true
540
- },
541
- {
542
- "name": "row.recurrenceRule",
543
- "type": "string"
544
- },
545
- {
546
- "name": "row.capacity",
547
- "type": "number"
548
- },
184
+ "event": "EventLoaded",
185
+ "payloadSchema": [
549
186
  {
550
- "name": "row.status",
551
- "type": "string"
552
- },
187
+ "name": "data",
188
+ "type": "[EventRecord]"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "event": "EventLoadFailed",
194
+ "payloadSchema": [
553
195
  {
554
- "name": "row.organizerId",
196
+ "name": "error",
555
197
  "type": "string"
556
198
  },
557
199
  {
558
- "name": "row.createdAt",
200
+ "name": "code",
559
201
  "type": "string"
560
202
  }
561
203
  ]
@@ -571,7 +213,7 @@
571
213
  "name": "browsing"
572
214
  },
573
215
  {
574
- "name": "editing"
216
+ "name": "viewing_single"
575
217
  },
576
218
  {
577
219
  "name": "error"
@@ -607,42 +249,11 @@
607
249
  ]
608
250
  },
609
251
  {
610
- "key": "CREATE",
611
- "name": "Create",
612
- "payloadSchema": [
613
- {
614
- "name": "data",
615
- "type": "object",
616
- "required": true
617
- }
618
- ]
619
- },
620
- {
621
- "key": "UPDATE",
622
- "name": "Update",
623
- "payloadSchema": [
624
- {
625
- "name": "eventId",
626
- "type": "string",
627
- "required": true
628
- },
629
- {
630
- "name": "row",
631
- "type": "EventRecord"
632
- },
633
- {
634
- "name": "data",
635
- "type": "object",
636
- "required": true
637
- }
638
- ]
639
- },
640
- {
641
- "key": "PUBLISH",
642
- "name": "Publish",
252
+ "key": "OPEN_EVENT",
253
+ "name": "Open Event",
643
254
  "payloadSchema": [
644
255
  {
645
- "name": "eventId",
256
+ "name": "id",
646
257
  "type": "string",
647
258
  "required": true
648
259
  },
@@ -660,50 +271,32 @@
660
271
  "name": "eventId",
661
272
  "type": "string",
662
273
  "required": true
663
- },
664
- {
665
- "name": "row",
666
- "type": "EventRecord"
667
- }
668
- ]
669
- },
670
- {
671
- "key": "EventCreated",
672
- "name": "Event created",
673
- "payloadSchema": [
674
- {
675
- "name": "row",
676
- "type": "EventRecord"
677
274
  }
678
275
  ]
679
276
  },
680
277
  {
681
- "key": "EventUpdated",
682
- "name": "Event updated",
683
- "payloadSchema": [
684
- {
685
- "name": "row",
686
- "type": "EventRecord"
687
- }
688
- ]
278
+ "key": "CLOSE_VIEW",
279
+ "name": "Close View"
689
280
  },
690
281
  {
691
- "key": "EventPublished",
692
- "name": "Event published",
282
+ "key": "PUBLISH",
283
+ "name": "Publish",
693
284
  "payloadSchema": [
694
285
  {
695
- "name": "row",
696
- "type": "EventRecord"
286
+ "name": "eventId",
287
+ "type": "string",
288
+ "required": true
697
289
  }
698
290
  ]
699
291
  },
700
292
  {
701
- "key": "EventCancelled",
702
- "name": "Event cancelled",
293
+ "key": "UPDATE",
294
+ "name": "Update",
703
295
  "payloadSchema": [
704
296
  {
705
- "name": "row",
706
- "type": "EventRecord"
297
+ "name": "eventId",
298
+ "type": "string",
299
+ "required": true
707
300
  }
708
301
  ]
709
302
  }
@@ -719,8 +312,8 @@
719
312
  "EventRecord",
720
313
  {
721
314
  "emit": {
722
- "failure": "EventLoadFailed",
723
- "success": "EventLoaded"
315
+ "success": "EventLoaded",
316
+ "failure": "EventLoadFailed"
724
317
  }
725
318
  }
726
319
  ],
@@ -728,22 +321,22 @@
728
321
  "render-ui",
729
322
  "main",
730
323
  {
324
+ "direction": "vertical",
731
325
  "children": [
732
326
  {
733
327
  "type": "spinner"
734
328
  },
735
329
  {
736
- "variant": "caption",
737
330
  "content": "Loading events…",
738
- "type": "typography",
739
- "color": "muted"
331
+ "color": "muted",
332
+ "variant": "caption",
333
+ "type": "typography"
740
334
  }
741
335
  ],
742
336
  "type": "stack",
743
- "align": "center",
744
- "direction": "vertical",
337
+ "gap": "md",
745
338
  "className": "py-12",
746
- "gap": "md"
339
+ "align": "center"
747
340
  }
748
341
  ]
749
342
  ]
@@ -758,11 +351,8 @@
758
351
  "main",
759
352
  {
760
353
  "type": "stack",
761
- "direction": "vertical",
762
- "gap": "md",
763
354
  "children": [
764
355
  {
765
- "type": "stack",
766
356
  "direction": "horizontal",
767
357
  "gap": "sm",
768
358
  "children": [
@@ -771,18 +361,43 @@
771
361
  "name": "calendar"
772
362
  },
773
363
  {
774
- "type": "typography",
364
+ "variant": "h3",
775
365
  "content": "@config.title",
776
- "variant": "h3"
366
+ "type": "typography"
367
+ }
368
+ ],
369
+ "align": "center",
370
+ "type": "stack"
371
+ },
372
+ {
373
+ "type": "simple-grid",
374
+ "children": [
375
+ {
376
+ "type": "stat-display",
377
+ "icon": "calendar",
378
+ "label": "Total events",
379
+ "value": "@payload.data.length"
777
380
  },
778
381
  {
779
- "action": "CREATE",
780
- "label": "New Event",
781
- "variant": "primary",
782
- "type": "button",
783
- "icon": "plus"
382
+ "label": "Published",
383
+ "type": "stat-display",
384
+ "value": "28",
385
+ "icon": "check-circle"
386
+ },
387
+ {
388
+ "label": "Tickets sold",
389
+ "type": "stat-display",
390
+ "value": "4,820",
391
+ "icon": "ticket"
392
+ },
393
+ {
394
+ "icon": "alert-circle",
395
+ "label": "Sold-out",
396
+ "value": "6",
397
+ "type": "stat-display"
784
398
  }
785
- ]
399
+ ],
400
+ "cols": 4.0
786
401
  },
787
402
  {
788
403
  "type": "divider"
@@ -791,6 +406,7 @@
791
406
  "cols": 1.0,
792
407
  "gap": "sm",
793
408
  "type": "data-grid",
409
+ "entity": "@payload.data",
794
410
  "fields": [
795
411
  {
796
412
  "name": "name",
@@ -808,8 +424,8 @@
808
424
  "variant": "caption"
809
425
  },
810
426
  {
811
- "name": "endsAt",
812
427
  "variant": "caption",
428
+ "name": "endsAt",
813
429
  "label": "Ends"
814
430
  },
815
431
  {
@@ -818,34 +434,29 @@
818
434
  "variant": "caption"
819
435
  },
820
436
  {
821
- "name": "status",
437
+ "label": "Status",
822
438
  "variant": "badge",
823
- "label": "Status"
439
+ "name": "status"
824
440
  }
825
441
  ],
826
- "entity": "@payload.data",
827
442
  "itemActions": [
828
443
  {
829
- "label": "Edit",
830
- "icon": "edit",
831
- "event": "UPDATE",
832
- "variant": "secondary"
833
- },
834
- {
835
- "icon": "send",
836
- "event": "PUBLISH",
837
444
  "variant": "primary",
838
- "label": "Publish"
445
+ "event": "OPEN_EVENT",
446
+ "label": "Open",
447
+ "icon": "arrow-right"
839
448
  },
840
449
  {
841
- "icon": "x",
842
- "label": "Cancel",
450
+ "variant": "danger",
843
451
  "event": "CANCEL",
844
- "variant": "danger"
452
+ "icon": "x",
453
+ "label": "Cancel"
845
454
  }
846
455
  ]
847
456
  }
848
- ]
457
+ ],
458
+ "direction": "vertical",
459
+ "gap": "md"
849
460
  }
850
461
  ]
851
462
  ]
@@ -859,175 +470,48 @@
859
470
  "render-ui",
860
471
  "main",
861
472
  {
862
- "message": "@payload.error",
863
473
  "type": "alert",
864
- "variant": "error"
865
- }
866
- ]
867
- ]
868
- },
869
- {
870
- "from": "browsing",
871
- "to": "loading",
872
- "event": "CREATE",
873
- "effects": [
874
- [
875
- "persist",
876
- "create",
877
- "EventRecord",
878
- "@payload.data",
879
- {
880
- "emit": {
881
- "failure": "EventLoadFailed",
882
- "success": "EventCreated"
883
- }
884
- }
885
- ]
886
- ]
887
- },
888
- {
889
- "from": "browsing",
890
- "to": "editing",
891
- "event": "UPDATE",
892
- "effects": [
893
- [
894
- "set",
895
- "@entity.id",
896
- "@payload.eventId"
897
- ],
898
- [
899
- "set",
900
- "@entity.name",
901
- "@payload.row.name"
902
- ],
903
- [
904
- "set",
905
- "@entity.description",
906
- "@payload.row.description"
907
- ],
908
- [
909
- "set",
910
- "@entity.venue",
911
- "@payload.row.venue"
912
- ],
913
- [
914
- "set",
915
- "@entity.lat",
916
- "@payload.row.lat"
917
- ],
918
- [
919
- "set",
920
- "@entity.lng",
921
- "@payload.row.lng"
922
- ],
923
- [
924
- "set",
925
- "@entity.startsAt",
926
- "@payload.row.startsAt"
927
- ],
928
- [
929
- "set",
930
- "@entity.endsAt",
931
- "@payload.row.endsAt"
932
- ],
933
- [
934
- "set",
935
- "@entity.recurrenceRule",
936
- "@payload.row.recurrenceRule"
937
- ],
938
- [
939
- "set",
940
- "@entity.capacity",
941
- "@payload.row.capacity"
942
- ],
943
- [
944
- "set",
945
- "@entity.status",
946
- "@payload.row.status"
947
- ],
948
- [
949
- "set",
950
- "@entity.organizerId",
951
- "@payload.row.organizerId"
952
- ],
953
- [
954
- "set",
955
- "@entity.createdAt",
956
- "@payload.row.createdAt"
957
- ],
958
- [
959
- "persist",
960
- "update",
961
- "EventRecord",
962
- "@payload.data",
963
- {
964
- "emit": {
965
- "success": "EventUpdated",
966
- "failure": "EventLoadFailed"
967
- }
968
- }
969
- ]
970
- ]
971
- },
972
- {
973
- "from": "browsing",
974
- "to": "loading",
975
- "event": "PUBLISH",
976
- "effects": [
977
- [
978
- "set",
979
- "@entity.id",
980
- "@payload.eventId"
981
- ],
982
- [
983
- "set",
984
- "@entity.name",
985
- "@payload.row.name"
986
- ],
987
- [
988
- "set",
989
- "@entity.startsAt",
990
- "@payload.row.startsAt"
991
- ],
992
- [
993
- "set",
994
- "@entity.endsAt",
995
- "@payload.row.endsAt"
996
- ],
997
- [
998
- "set",
999
- "@entity.status",
1000
- "published"
1001
- ],
1002
- [
1003
- "persist",
1004
- "update",
1005
- "EventRecord",
1006
- "@entity",
1007
- {
1008
- "emit": {
1009
- "success": "EventPublished",
1010
- "failure": "EventLoadFailed"
1011
- }
474
+ "variant": "error",
475
+ "message": "@payload.error"
1012
476
  }
1013
477
  ]
1014
478
  ]
1015
479
  },
1016
480
  {
1017
481
  "from": "browsing",
1018
- "to": "loading",
1019
- "event": "CANCEL",
482
+ "to": "viewing_single",
483
+ "event": "OPEN_EVENT",
1020
484
  "effects": [
1021
485
  [
1022
486
  "set",
1023
487
  "@entity.id",
1024
- "@payload.eventId"
488
+ "@payload.row.id"
1025
489
  ],
1026
490
  [
1027
491
  "set",
1028
492
  "@entity.name",
1029
493
  "@payload.row.name"
1030
494
  ],
495
+ [
496
+ "set",
497
+ "@entity.description",
498
+ "@payload.row.description"
499
+ ],
500
+ [
501
+ "set",
502
+ "@entity.venue",
503
+ "@payload.row.venue"
504
+ ],
505
+ [
506
+ "set",
507
+ "@entity.lat",
508
+ "@payload.row.lat"
509
+ ],
510
+ [
511
+ "set",
512
+ "@entity.lng",
513
+ "@payload.row.lng"
514
+ ],
1031
515
  [
1032
516
  "set",
1033
517
  "@entity.startsAt",
@@ -1038,21 +522,221 @@
1038
522
  "@entity.endsAt",
1039
523
  "@payload.row.endsAt"
1040
524
  ],
525
+ [
526
+ "set",
527
+ "@entity.recurrenceRule",
528
+ "@payload.row.recurrenceRule"
529
+ ],
530
+ [
531
+ "set",
532
+ "@entity.capacity",
533
+ "@payload.row.capacity"
534
+ ],
1041
535
  [
1042
536
  "set",
1043
537
  "@entity.status",
1044
- "cancelled"
538
+ "@payload.row.status"
1045
539
  ],
1046
540
  [
1047
- "persist",
1048
- "update",
1049
- "EventRecord",
1050
- "@entity",
541
+ "set",
542
+ "@entity.organizerId",
543
+ "@payload.row.organizerId"
544
+ ],
545
+ [
546
+ "set",
547
+ "@entity.createdAt",
548
+ "@payload.row.createdAt"
549
+ ],
550
+ [
551
+ "render-ui",
552
+ "main",
1051
553
  {
1052
- "emit": {
1053
- "failure": "EventLoadFailed",
1054
- "success": "EventCancelled"
1055
- }
554
+ "type": "stack",
555
+ "children": [
556
+ {
557
+ "direction": "horizontal",
558
+ "align": "center",
559
+ "type": "stack",
560
+ "gap": "sm",
561
+ "children": [
562
+ {
563
+ "variant": "ghost",
564
+ "action": "CLOSE_VIEW",
565
+ "type": "button",
566
+ "label": "Back"
567
+ },
568
+ {
569
+ "type": "icon",
570
+ "name": "calendar"
571
+ },
572
+ {
573
+ "type": "typography",
574
+ "content": "@entity.name",
575
+ "variant": "h3"
576
+ },
577
+ {
578
+ "variant": "primary",
579
+ "type": "badge",
580
+ "label": "@entity.status"
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "type": "divider"
586
+ },
587
+ {
588
+ "direction": "vertical",
589
+ "children": [
590
+ {
591
+ "direction": "horizontal",
592
+ "type": "stack",
593
+ "gap": "md",
594
+ "children": [
595
+ {
596
+ "variant": "caption",
597
+ "content": "Venue",
598
+ "type": "typography",
599
+ "color": "muted"
600
+ },
601
+ {
602
+ "type": "typography",
603
+ "content": "@entity.venue",
604
+ "variant": "body"
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "type": "stack",
610
+ "children": [
611
+ {
612
+ "type": "typography",
613
+ "variant": "caption",
614
+ "color": "muted",
615
+ "content": "Description"
616
+ },
617
+ {
618
+ "variant": "body",
619
+ "content": "@entity.description",
620
+ "type": "typography"
621
+ }
622
+ ],
623
+ "direction": "horizontal",
624
+ "gap": "md"
625
+ },
626
+ {
627
+ "direction": "horizontal",
628
+ "children": [
629
+ {
630
+ "content": "Organizer",
631
+ "color": "muted",
632
+ "variant": "caption",
633
+ "type": "typography"
634
+ },
635
+ {
636
+ "content": "@entity.organizerId",
637
+ "variant": "body",
638
+ "type": "typography"
639
+ }
640
+ ],
641
+ "type": "stack",
642
+ "gap": "md"
643
+ },
644
+ {
645
+ "gap": "md",
646
+ "type": "stack",
647
+ "direction": "horizontal",
648
+ "children": [
649
+ {
650
+ "color": "muted",
651
+ "variant": "caption",
652
+ "content": "Recurrence",
653
+ "type": "typography"
654
+ },
655
+ {
656
+ "type": "typography",
657
+ "content": "@entity.recurrenceRule",
658
+ "variant": "body"
659
+ }
660
+ ]
661
+ }
662
+ ],
663
+ "type": "stack",
664
+ "gap": "sm"
665
+ },
666
+ {
667
+ "type": "divider"
668
+ },
669
+ {
670
+ "type": "simple-grid",
671
+ "cols": 4.0,
672
+ "children": [
673
+ {
674
+ "icon": "calendar",
675
+ "type": "stat-display",
676
+ "value": "@entity.startsAt",
677
+ "label": "Starts"
678
+ },
679
+ {
680
+ "type": "stat-display",
681
+ "label": "Ends",
682
+ "icon": "calendar-check",
683
+ "value": "@entity.endsAt"
684
+ },
685
+ {
686
+ "icon": "users",
687
+ "label": "Capacity",
688
+ "type": "stat-display",
689
+ "value": "@entity.capacity"
690
+ },
691
+ {
692
+ "type": "stat-display",
693
+ "label": "Created",
694
+ "icon": "clock",
695
+ "value": "@entity.createdAt"
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "align": "center",
701
+ "gap": "sm",
702
+ "type": "stack",
703
+ "children": [
704
+ {
705
+ "variant": "primary",
706
+ "actionPayload": {
707
+ "eventId": "@entity.id",
708
+ "id": "@entity.id"
709
+ },
710
+ "label": "Publish",
711
+ "action": "PUBLISH",
712
+ "type": "button"
713
+ },
714
+ {
715
+ "label": "Update",
716
+ "action": "UPDATE",
717
+ "variant": "secondary",
718
+ "actionPayload": {
719
+ "eventId": "@entity.id",
720
+ "id": "@entity.id"
721
+ },
722
+ "type": "button"
723
+ },
724
+ {
725
+ "label": "Cancel",
726
+ "variant": "danger",
727
+ "action": "CANCEL",
728
+ "type": "button",
729
+ "actionPayload": {
730
+ "id": "@entity.id",
731
+ "eventId": "@entity.id"
732
+ }
733
+ }
734
+ ],
735
+ "direction": "horizontal"
736
+ }
737
+ ],
738
+ "direction": "vertical",
739
+ "gap": "md"
1056
740
  }
1057
741
  ]
1058
742
  ]
@@ -1060,24 +744,51 @@
1060
744
  {
1061
745
  "from": "browsing",
1062
746
  "to": "loading",
1063
- "event": "EventCreated",
747
+ "event": "CANCEL",
1064
748
  "effects": [
749
+ [
750
+ "set",
751
+ "@entity.id",
752
+ "@payload.eventId"
753
+ ],
1065
754
  [
1066
755
  "fetch",
1067
756
  "EventRecord",
1068
757
  {
1069
758
  "emit": {
1070
- "success": "EventLoaded",
1071
- "failure": "EventLoadFailed"
759
+ "failure": "EventLoadFailed",
760
+ "success": "EventLoaded"
1072
761
  }
1073
762
  }
763
+ ],
764
+ [
765
+ "render-ui",
766
+ "main",
767
+ {
768
+ "className": "py-12",
769
+ "direction": "vertical",
770
+ "gap": "md",
771
+ "type": "stack",
772
+ "align": "center",
773
+ "children": [
774
+ {
775
+ "type": "spinner"
776
+ },
777
+ {
778
+ "color": "muted",
779
+ "content": "Cancelling event…",
780
+ "type": "typography",
781
+ "variant": "caption"
782
+ }
783
+ ]
784
+ }
1074
785
  ]
1075
786
  ]
1076
787
  },
1077
788
  {
1078
- "from": "browsing",
789
+ "from": "viewing_single",
1079
790
  "to": "loading",
1080
- "event": "EventUpdated",
791
+ "event": "CLOSE_VIEW",
1081
792
  "effects": [
1082
793
  [
1083
794
  "fetch",
@@ -1088,14 +799,41 @@
1088
799
  "success": "EventLoaded"
1089
800
  }
1090
801
  }
802
+ ],
803
+ [
804
+ "render-ui",
805
+ "main",
806
+ {
807
+ "children": [
808
+ {
809
+ "type": "spinner"
810
+ },
811
+ {
812
+ "type": "typography",
813
+ "content": "Loading events…",
814
+ "color": "muted",
815
+ "variant": "caption"
816
+ }
817
+ ],
818
+ "align": "center",
819
+ "className": "py-12",
820
+ "type": "stack",
821
+ "gap": "md",
822
+ "direction": "vertical"
823
+ }
1091
824
  ]
1092
825
  ]
1093
826
  },
1094
827
  {
1095
- "from": "browsing",
828
+ "from": "viewing_single",
1096
829
  "to": "loading",
1097
- "event": "EventPublished",
830
+ "event": "PUBLISH",
1098
831
  "effects": [
832
+ [
833
+ "set",
834
+ "@entity.id",
835
+ "@payload.eventId"
836
+ ],
1099
837
  [
1100
838
  "fetch",
1101
839
  "EventRecord",
@@ -1105,14 +843,41 @@
1105
843
  "failure": "EventLoadFailed"
1106
844
  }
1107
845
  }
846
+ ],
847
+ [
848
+ "render-ui",
849
+ "main",
850
+ {
851
+ "className": "py-12",
852
+ "children": [
853
+ {
854
+ "type": "spinner"
855
+ },
856
+ {
857
+ "color": "muted",
858
+ "type": "typography",
859
+ "variant": "caption",
860
+ "content": "Publishing event…"
861
+ }
862
+ ],
863
+ "direction": "vertical",
864
+ "gap": "md",
865
+ "type": "stack",
866
+ "align": "center"
867
+ }
1108
868
  ]
1109
869
  ]
1110
870
  },
1111
871
  {
1112
- "from": "browsing",
872
+ "from": "viewing_single",
1113
873
  "to": "loading",
1114
- "event": "EventCancelled",
874
+ "event": "UPDATE",
1115
875
  "effects": [
876
+ [
877
+ "set",
878
+ "@entity.id",
879
+ "@payload.eventId"
880
+ ],
1116
881
  [
1117
882
  "fetch",
1118
883
  "EventRecord",
@@ -1122,38 +887,71 @@
1122
887
  "failure": "EventLoadFailed"
1123
888
  }
1124
889
  }
890
+ ],
891
+ [
892
+ "render-ui",
893
+ "main",
894
+ {
895
+ "type": "stack",
896
+ "children": [
897
+ {
898
+ "type": "spinner"
899
+ },
900
+ {
901
+ "variant": "caption",
902
+ "color": "muted",
903
+ "content": "Updating event…",
904
+ "type": "typography"
905
+ }
906
+ ],
907
+ "align": "center",
908
+ "className": "py-12",
909
+ "direction": "vertical",
910
+ "gap": "md"
911
+ }
1125
912
  ]
1126
913
  ]
1127
914
  },
1128
915
  {
1129
- "from": "editing",
916
+ "from": "viewing_single",
1130
917
  "to": "loading",
1131
- "event": "EventUpdated",
918
+ "event": "CANCEL",
1132
919
  "effects": [
920
+ [
921
+ "set",
922
+ "@entity.id",
923
+ "@payload.eventId"
924
+ ],
1133
925
  [
1134
926
  "fetch",
1135
927
  "EventRecord",
1136
928
  {
1137
929
  "emit": {
1138
- "failure": "EventLoadFailed",
1139
- "success": "EventLoaded"
930
+ "success": "EventLoaded",
931
+ "failure": "EventLoadFailed"
1140
932
  }
1141
933
  }
1142
- ]
1143
- ]
1144
- },
1145
- {
1146
- "from": "editing",
1147
- "to": "error",
1148
- "event": "EventLoadFailed",
1149
- "effects": [
934
+ ],
1150
935
  [
1151
936
  "render-ui",
1152
937
  "main",
1153
938
  {
1154
- "message": "@payload.error",
1155
- "variant": "error",
1156
- "type": "alert"
939
+ "gap": "md",
940
+ "align": "center",
941
+ "className": "py-12",
942
+ "children": [
943
+ {
944
+ "type": "spinner"
945
+ },
946
+ {
947
+ "color": "muted",
948
+ "type": "typography",
949
+ "variant": "caption",
950
+ "content": "Cancelling event…"
951
+ }
952
+ ],
953
+ "direction": "vertical",
954
+ "type": "stack"
1157
955
  }
1158
956
  ]
1159
957
  ]
@@ -1177,8 +975,8 @@
1177
975
  "render-ui",
1178
976
  "main",
1179
977
  {
1180
- "type": "spinner",
1181
- "size": "sm"
978
+ "size": "sm",
979
+ "type": "spinner"
1182
980
  }
1183
981
  ]
1184
982
  ]