@almadar/std 14.15.1 → 14.17.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 (121) hide show
  1. package/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
  2. package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
  3. package/behaviors/registry/app/atoms/std-dunning.orb +72 -76
  4. package/behaviors/registry/app/atoms/std-event.orb +62 -62
  5. package/behaviors/registry/app/atoms/std-flag.orb +72 -72
  6. package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
  7. package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
  8. package/behaviors/registry/app/atoms/std-invoice.orb +193 -65
  9. package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
  10. package/behaviors/registry/app/atoms/std-menu.orb +44 -44
  11. package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
  12. package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
  13. package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
  14. package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
  15. package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
  16. package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
  17. package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
  18. package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
  19. package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
  20. package/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
  21. package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
  22. package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
  23. package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
  24. package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
  25. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
  26. package/behaviors/registry/app/atoms/std-thread.orb +59 -59
  27. package/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
  28. package/behaviors/registry/app/atoms/std-trial.orb +67 -67
  29. package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
  30. package/behaviors/registry/app/atoms/std-vote.orb +40 -40
  31. package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
  32. package/behaviors/registry/app/atoms/std-work-order.orb +48 -48
  33. package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
  34. package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
  35. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
  36. package/behaviors/registry/app/organisms/std-cms.orb +265 -265
  37. package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
  38. package/behaviors/registry/app/organisms/std-crm.orb +258 -258
  39. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
  40. package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
  41. package/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
  42. package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
  43. package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
  44. package/behaviors/registry/app/organisms/std-forum.orb +141 -141
  45. package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
  46. package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
  47. package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
  48. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
  49. package/behaviors/registry/app/organisms/std-listings.orb +157 -157
  50. package/behaviors/registry/app/organisms/std-lms.orb +422 -422
  51. package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
  52. package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
  53. package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
  54. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
  55. package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
  56. package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
  57. package/behaviors/registry/app/organisms/std-survey.orb +122 -122
  58. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
  59. package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
  60. package/dist/behaviors/behaviors-registry.json +1 -1
  61. package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
  62. package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
  63. package/dist/behaviors/registry/app/atoms/std-dunning.orb +72 -76
  64. package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
  65. package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
  66. package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
  67. package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
  68. package/dist/behaviors/registry/app/atoms/std-invoice.orb +193 -65
  69. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
  70. package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
  71. package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
  72. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
  73. package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
  74. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
  75. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
  76. package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
  77. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
  78. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
  79. package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
  80. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
  81. package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
  82. package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
  83. package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
  84. package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
  85. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
  86. package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
  87. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
  88. package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
  89. package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
  90. package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
  91. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
  92. package/dist/behaviors/registry/app/atoms/std-work-order.orb +48 -48
  93. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
  94. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
  95. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
  96. package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
  97. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
  98. package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
  99. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
  100. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
  101. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
  102. package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
  103. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
  104. package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
  105. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
  106. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
  107. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
  108. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
  109. package/dist/behaviors/registry/app/organisms/std-listings.orb +157 -157
  110. package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
  111. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
  112. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
  113. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
  114. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
  115. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
  116. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
  117. package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
  118. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
  119. package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
  120. package/dist/behaviors-registry.json +1 -1
  121. package/package.json +1 -1
@@ -85,16 +85,15 @@
85
85
  "ref": "AppShell.traits.AppLayout",
86
86
  "name": "VendorAppLayout",
87
87
  "config": {
88
- "contentTrait": "@trait.VendorCatalog",
89
- "notifications": [],
90
88
  "searchEvent": "VENDOR_SEARCH",
91
89
  "notificationClickEvent": "VENDOR_NOTIFICATIONS_OPEN",
92
- "appName": "Marketplace",
90
+ "contentTrait": "@trait.VendorCatalog",
91
+ "notifications": [],
93
92
  "navItems": [
94
93
  {
95
- "label": "Vendors",
96
94
  "href": "/vendors",
97
- "icon": "store"
95
+ "icon": "store",
96
+ "label": "Vendors"
98
97
  },
99
98
  {
100
99
  "label": "Listings",
@@ -102,15 +101,16 @@
102
101
  "icon": "package"
103
102
  },
104
103
  {
105
- "label": "Orders",
104
+ "icon": "shopping-cart",
106
105
  "href": "/orders",
107
- "icon": "shopping-cart"
106
+ "label": "Orders"
108
107
  }
109
- ]
108
+ ],
109
+ "appName": "Marketplace"
110
110
  },
111
111
  "events": {
112
- "NOTIFY_CLICK": "VENDOR_NOTIFICATIONS_OPEN",
113
- "SEARCH": "VENDOR_SEARCH"
112
+ "SEARCH": "VENDOR_SEARCH",
113
+ "NOTIFY_CLICK": "VENDOR_NOTIFICATIONS_OPEN"
114
114
  }
115
115
  },
116
116
  {
@@ -194,48 +194,46 @@
194
194
  "main",
195
195
  {
196
196
  "type": "stack",
197
- "direction": "vertical",
198
- "gap": "lg",
199
197
  "children": [
200
198
  {
201
- "type": "stack",
202
- "gap": "md",
203
199
  "justify": "between",
200
+ "gap": "md",
204
201
  "children": [
205
202
  {
203
+ "direction": "horizontal",
204
+ "align": "center",
206
205
  "type": "stack",
207
206
  "gap": "sm",
208
- "align": "center",
209
- "direction": "horizontal",
210
207
  "children": [
211
208
  {
212
- "type": "icon",
213
- "name": "store"
209
+ "name": "store",
210
+ "type": "icon"
214
211
  },
215
212
  {
216
213
  "type": "typography",
217
- "content": "Vendors",
218
- "variant": "h2"
214
+ "variant": "h2",
215
+ "content": "Vendors"
219
216
  }
220
217
  ]
221
218
  },
222
219
  {
223
- "direction": "horizontal",
224
- "type": "stack",
225
- "gap": "sm",
226
220
  "children": [
227
221
  {
228
222
  "type": "button",
229
- "action": "CREATE",
230
- "variant": "primary",
223
+ "icon": "plus",
231
224
  "label": "New Vendor",
232
- "icon": "plus"
225
+ "action": "CREATE",
226
+ "variant": "primary"
233
227
  }
234
- ]
228
+ ],
229
+ "gap": "sm",
230
+ "direction": "horizontal",
231
+ "type": "stack"
235
232
  }
236
233
  ],
237
- "direction": "horizontal",
238
- "align": "center"
234
+ "align": "center",
235
+ "type": "stack",
236
+ "direction": "horizontal"
239
237
  },
240
238
  {
241
239
  "type": "divider"
@@ -245,7 +243,9 @@
245
243
  "type": "divider"
246
244
  },
247
245
  "@trait.VendorPayoutLedger"
248
- ]
246
+ ],
247
+ "gap": "lg",
248
+ "direction": "vertical"
249
249
  }
250
250
  ]
251
251
  ]
@@ -264,32 +264,32 @@
264
264
  "render-ui",
265
265
  "main",
266
266
  {
267
- "className": "py-8",
268
- "align": "center",
269
267
  "direction": "vertical",
270
- "type": "stack",
271
268
  "gap": "md",
269
+ "align": "center",
270
+ "type": "stack",
271
+ "className": "py-8",
272
272
  "children": [
273
273
  {
274
- "name": "bell",
275
- "type": "icon"
274
+ "type": "icon",
275
+ "name": "bell"
276
276
  },
277
277
  {
278
- "content": "No notifications",
278
+ "variant": "h3",
279
279
  "type": "typography",
280
- "variant": "h3"
280
+ "content": "No notifications"
281
281
  },
282
282
  {
283
- "content": "You're all caught up.",
284
283
  "color": "muted",
285
- "variant": "caption",
286
- "type": "typography"
284
+ "type": "typography",
285
+ "content": "You're all caught up.",
286
+ "variant": "caption"
287
287
  },
288
288
  {
289
- "label": "Back to vendors",
290
289
  "action": "INIT",
291
290
  "variant": "ghost",
292
- "type": "button"
291
+ "type": "button",
292
+ "label": "Back to vendors"
293
293
  }
294
294
  ]
295
295
  }
@@ -305,12 +305,30 @@
305
305
  "name": "VendorBrowseList",
306
306
  "linkedEntity": "Vendor",
307
307
  "config": {
308
+ "itemActions": [
309
+ {
310
+ "event": "VIEW",
311
+ "label": "View",
312
+ "variant": "ghost"
313
+ },
314
+ {
315
+ "variant": "ghost",
316
+ "event": "EDIT",
317
+ "label": "Edit"
318
+ },
319
+ {
320
+ "label": "Delete",
321
+ "variant": "danger",
322
+ "event": "DELETE"
323
+ }
324
+ ],
325
+ "cols": 1.0,
308
326
  "gap": "sm",
309
327
  "fields": [
310
328
  {
311
329
  "variant": "h3",
312
- "name": "name",
313
- "icon": "store"
330
+ "icon": "store",
331
+ "name": "name"
314
332
  },
315
333
  {
316
334
  "variant": "body",
@@ -321,33 +339,15 @@
321
339
  "variant": "badge"
322
340
  },
323
341
  {
342
+ "name": "totalSales",
324
343
  "variant": "caption",
325
- "format": "currency",
326
- "name": "totalSales"
344
+ "format": "currency"
327
345
  },
328
346
  {
329
- "name": "rating",
330
- "variant": "caption"
331
- }
332
- ],
333
- "itemActions": [
334
- {
335
- "variant": "ghost",
336
- "label": "View",
337
- "event": "VIEW"
338
- },
339
- {
340
- "variant": "ghost",
341
- "label": "Edit",
342
- "event": "EDIT"
343
- },
344
- {
345
- "event": "DELETE",
346
- "label": "Delete",
347
- "variant": "danger"
347
+ "variant": "caption",
348
+ "name": "rating"
348
349
  }
349
- ],
350
- "cols": 1.0
350
+ ]
351
351
  },
352
352
  "listens": [
353
353
  {
@@ -389,16 +389,16 @@
389
389
  "name": "VendorCreate",
390
390
  "linkedEntity": "Vendor",
391
391
  "config": {
392
- "icon": "plus-circle",
393
- "mode": "create",
394
- "title": "New Vendor",
395
392
  "fields": [
396
393
  "name",
397
394
  "businessName",
398
395
  "status",
399
396
  "totalSales",
400
397
  "rating"
401
- ]
398
+ ],
399
+ "title": "New Vendor",
400
+ "mode": "create",
401
+ "icon": "plus-circle"
402
402
  },
403
403
  "events": {
404
404
  "OPEN": "CREATE"
@@ -420,15 +420,15 @@
420
420
  "linkedEntity": "Vendor",
421
421
  "config": {
422
422
  "mode": "edit",
423
+ "title": "Edit Vendor",
424
+ "icon": "edit",
423
425
  "fields": [
424
426
  "name",
425
427
  "businessName",
426
428
  "status",
427
429
  "totalSales",
428
430
  "rating"
429
- ],
430
- "icon": "edit",
431
- "title": "Edit Vendor"
431
+ ]
432
432
  },
433
433
  "events": {
434
434
  "OPEN": "EDIT"
@@ -449,6 +449,8 @@
449
449
  "name": "VendorView",
450
450
  "linkedEntity": "Vendor",
451
451
  "config": {
452
+ "mode": "edit",
453
+ "icon": "eye",
452
454
  "fields": [
453
455
  "name",
454
456
  "businessName",
@@ -456,9 +458,7 @@
456
458
  "totalSales",
457
459
  "rating"
458
460
  ],
459
- "title": "View Vendor",
460
- "mode": "edit",
461
- "icon": "eye"
461
+ "title": "View Vendor"
462
462
  },
463
463
  "events": {
464
464
  "OPEN": "VIEW"
@@ -479,10 +479,10 @@
479
479
  "name": "VendorDelete",
480
480
  "linkedEntity": "Vendor",
481
481
  "config": {
482
- "icon": "alert-triangle",
482
+ "alertMessage": "This action cannot be undone.",
483
483
  "title": "Delete Vendor",
484
484
  "confirmLabel": "Delete",
485
- "alertMessage": "This action cannot be undone."
485
+ "icon": "alert-triangle"
486
486
  },
487
487
  "events": {
488
488
  "REQUEST": "DELETE",
@@ -859,16 +859,13 @@
859
859
  {
860
860
  "ref": "AppShell.traits.AppLayout",
861
861
  "name": "ListingAppLayout",
862
- "linkedEntity": "Listing",
863
862
  "config": {
864
- "notifications": [],
865
- "contentTrait": "@trait.ListingCatalog",
866
863
  "appName": "Marketplace",
867
864
  "navItems": [
868
865
  {
869
- "label": "Vendors",
870
866
  "href": "/vendors",
871
- "icon": "store"
867
+ "icon": "store",
868
+ "label": "Vendors"
872
869
  },
873
870
  {
874
871
  "label": "Listings",
@@ -876,13 +873,15 @@
876
873
  "icon": "package"
877
874
  },
878
875
  {
879
- "label": "Orders",
876
+ "href": "/orders",
880
877
  "icon": "shopping-cart",
881
- "href": "/orders"
878
+ "label": "Orders"
882
879
  }
883
880
  ],
884
881
  "notificationClickEvent": "LISTING_NOTIFICATIONS_OPEN",
885
- "searchEvent": "LISTING_SEARCH"
882
+ "searchEvent": "LISTING_SEARCH",
883
+ "notifications": [],
884
+ "contentTrait": "@trait.ListingCatalog"
886
885
  },
887
886
  "events": {
888
887
  "NOTIFY_CLICK": "LISTING_NOTIFICATIONS_OPEN",
@@ -970,59 +969,60 @@
970
969
  "main",
971
970
  {
972
971
  "type": "stack",
972
+ "gap": "lg",
973
973
  "children": [
974
974
  {
975
+ "type": "stack",
976
+ "direction": "horizontal",
975
977
  "gap": "md",
978
+ "justify": "between",
976
979
  "align": "center",
977
980
  "children": [
978
981
  {
982
+ "gap": "sm",
983
+ "direction": "horizontal",
979
984
  "children": [
980
985
  {
981
- "name": "package",
982
- "type": "icon"
986
+ "type": "icon",
987
+ "name": "package"
983
988
  },
984
989
  {
985
- "type": "typography",
986
990
  "variant": "h2",
991
+ "type": "typography",
987
992
  "content": "Listings"
988
993
  }
989
994
  ],
990
- "direction": "horizontal",
991
- "gap": "sm",
992
995
  "type": "stack",
993
996
  "align": "center"
994
997
  },
995
998
  {
999
+ "type": "stack",
996
1000
  "direction": "horizontal",
1001
+ "gap": "sm",
997
1002
  "children": [
998
1003
  {
999
- "variant": "primary",
1004
+ "type": "button",
1005
+ "label": "New Listing",
1000
1006
  "icon": "plus",
1001
1007
  "action": "CREATE",
1002
- "type": "button",
1003
- "label": "New Listing"
1008
+ "variant": "primary"
1004
1009
  }
1005
- ],
1006
- "type": "stack",
1007
- "gap": "sm"
1010
+ ]
1008
1011
  }
1009
- ],
1010
- "direction": "horizontal",
1011
- "justify": "between",
1012
- "type": "stack"
1012
+ ]
1013
1013
  },
1014
1014
  {
1015
1015
  "type": "divider"
1016
1016
  },
1017
1017
  {
1018
- "align": "center",
1019
- "gap": "md",
1020
- "type": "stack",
1021
1018
  "direction": "horizontal",
1019
+ "gap": "md",
1022
1020
  "children": [
1023
1021
  "@trait.ListingSearch",
1024
1022
  "@trait.ListingFilter"
1025
- ]
1023
+ ],
1024
+ "align": "center",
1025
+ "type": "stack"
1026
1026
  },
1027
1027
  "@trait.ListingStats",
1028
1028
  "@trait.ListingTags",
@@ -1047,8 +1047,7 @@
1047
1047
  },
1048
1048
  "@trait.ListingModQueue"
1049
1049
  ],
1050
- "direction": "vertical",
1051
- "gap": "lg"
1050
+ "direction": "vertical"
1052
1051
  }
1053
1052
  ]
1054
1053
  ]
@@ -1067,34 +1066,34 @@
1067
1066
  "render-ui",
1068
1067
  "main",
1069
1068
  {
1069
+ "type": "stack",
1070
+ "gap": "md",
1071
+ "direction": "vertical",
1072
+ "className": "py-8",
1073
+ "align": "center",
1070
1074
  "children": [
1071
1075
  {
1072
- "type": "icon",
1073
- "name": "bell"
1076
+ "name": "bell",
1077
+ "type": "icon"
1074
1078
  },
1075
1079
  {
1076
- "type": "typography",
1080
+ "variant": "h3",
1077
1081
  "content": "No notifications",
1078
- "variant": "h3"
1082
+ "type": "typography"
1079
1083
  },
1080
1084
  {
1081
- "content": "You're all caught up.",
1082
- "type": "typography",
1083
1085
  "variant": "caption",
1086
+ "type": "typography",
1087
+ "content": "You're all caught up.",
1084
1088
  "color": "muted"
1085
1089
  },
1086
1090
  {
1087
- "label": "Back to listings",
1088
1091
  "type": "button",
1092
+ "label": "Back to listings",
1089
1093
  "variant": "ghost",
1090
1094
  "action": "INIT"
1091
1095
  }
1092
- ],
1093
- "type": "stack",
1094
- "direction": "vertical",
1095
- "align": "center",
1096
- "className": "py-8",
1097
- "gap": "md"
1096
+ ]
1098
1097
  }
1099
1098
  ]
1100
1099
  ]
@@ -1117,7 +1116,6 @@
1117
1116
  "config": {
1118
1117
  "filters": [
1119
1118
  {
1120
- "label": "Status",
1121
1119
  "filterType": "select",
1122
1120
  "field": "status",
1123
1121
  "options": [
@@ -1125,17 +1123,18 @@
1125
1123
  "active",
1126
1124
  "sold",
1127
1125
  "removed"
1128
- ]
1126
+ ],
1127
+ "label": "Status"
1129
1128
  },
1130
1129
  {
1131
- "filterType": "select",
1132
- "field": "currency",
1133
1130
  "options": [
1134
1131
  "USD",
1135
1132
  "EUR",
1136
1133
  "GBP"
1137
1134
  ],
1138
- "label": "Currency"
1135
+ "label": "Currency",
1136
+ "filterType": "select",
1137
+ "field": "currency"
1139
1138
  }
1140
1139
  ],
1141
1140
  "event": "LISTING_FILTER"
@@ -1149,12 +1148,15 @@
1149
1148
  "metrics": [
1150
1149
  {
1151
1150
  "label": "Total",
1152
- "icon": "package",
1153
- "variant": "primary",
1151
+ "format": "number",
1154
1152
  "aggregation": "count",
1155
- "format": "number"
1153
+ "icon": "package",
1154
+ "variant": "primary"
1156
1155
  },
1157
1156
  {
1157
+ "label": "Active",
1158
+ "variant": "success",
1159
+ "format": "number",
1158
1160
  "filter": [
1159
1161
  "fn",
1160
1162
  "row",
@@ -1165,15 +1167,11 @@
1165
1167
  ]
1166
1168
  ],
1167
1169
  "icon": "check-circle",
1168
- "label": "Active",
1169
- "aggregation": "count",
1170
- "format": "number",
1171
- "variant": "success"
1170
+ "aggregation": "count"
1172
1171
  },
1173
1172
  {
1173
+ "format": "number",
1174
1174
  "icon": "edit",
1175
- "label": "Draft",
1176
- "variant": "warning",
1177
1175
  "filter": [
1178
1176
  "fn",
1179
1177
  "row",
@@ -1184,7 +1182,8 @@
1184
1182
  ]
1185
1183
  ],
1186
1184
  "aggregation": "count",
1187
- "format": "number"
1185
+ "label": "Draft",
1186
+ "variant": "warning"
1188
1187
  }
1189
1188
  ]
1190
1189
  },
@@ -1203,8 +1202,8 @@
1203
1202
  "ref": "TagTaxonomy.traits.TagBrowse",
1204
1203
  "name": "ListingTags",
1205
1204
  "config": {
1206
- "title": "Categories",
1207
- "allowEdit": false
1205
+ "allowEdit": false,
1206
+ "title": "Categories"
1208
1207
  }
1209
1208
  },
1210
1209
  {
@@ -1212,25 +1211,6 @@
1212
1211
  "name": "ListingBrowseList",
1213
1212
  "linkedEntity": "Listing",
1214
1213
  "config": {
1215
- "itemActions": [
1216
- {
1217
- "label": "View",
1218
- "event": "VIEW",
1219
- "variant": "ghost"
1220
- },
1221
- {
1222
- "label": "Edit",
1223
- "event": "EDIT",
1224
- "variant": "ghost"
1225
- },
1226
- {
1227
- "variant": "danger",
1228
- "event": "DELETE",
1229
- "label": "Delete"
1230
- }
1231
- ],
1232
- "cols": 1.0,
1233
- "gap": "sm",
1234
1214
  "fields": [
1235
1215
  {
1236
1216
  "icon": "package",
@@ -1238,9 +1218,9 @@
1238
1218
  "variant": "h3"
1239
1219
  },
1240
1220
  {
1241
- "format": "currency",
1221
+ "variant": "h4",
1242
1222
  "name": "price",
1243
- "variant": "h4"
1223
+ "format": "currency"
1244
1224
  },
1245
1225
  {
1246
1226
  "name": "currency",
@@ -1251,18 +1231,37 @@
1251
1231
  "variant": "badge"
1252
1232
  },
1253
1233
  {
1254
- "variant": "caption",
1255
- "name": "ratingAverage"
1234
+ "name": "ratingAverage",
1235
+ "variant": "caption"
1256
1236
  },
1257
1237
  {
1258
1238
  "variant": "caption",
1259
1239
  "name": "reviewCount"
1260
1240
  },
1261
1241
  {
1262
- "name": "description",
1263
- "variant": "caption"
1242
+ "variant": "caption",
1243
+ "name": "description"
1264
1244
  }
1265
- ]
1245
+ ],
1246
+ "cols": 1.0,
1247
+ "itemActions": [
1248
+ {
1249
+ "event": "VIEW",
1250
+ "label": "View",
1251
+ "variant": "ghost"
1252
+ },
1253
+ {
1254
+ "label": "Edit",
1255
+ "event": "EDIT",
1256
+ "variant": "ghost"
1257
+ },
1258
+ {
1259
+ "label": "Delete",
1260
+ "event": "DELETE",
1261
+ "variant": "danger"
1262
+ }
1263
+ ],
1264
+ "gap": "sm"
1266
1265
  },
1267
1266
  "listens": [
1268
1267
  {
@@ -1311,10 +1310,10 @@
1311
1310
  "ref": "ImageUpload.traits.UploadedImageUpload",
1312
1311
  "name": "ListingImages",
1313
1312
  "config": {
1314
- "maxImages": 10.0,
1315
- "maxBytesPerImage": 10485760.0,
1313
+ "accept": "image/*",
1316
1314
  "title": "Listing Images",
1317
- "accept": "image/*"
1315
+ "maxImages": 10.0,
1316
+ "maxBytesPerImage": 10485760.0
1318
1317
  }
1319
1318
  },
1320
1319
  {
@@ -1332,7 +1331,6 @@
1332
1331
  "ref": "Flag.traits.FlagReport",
1333
1332
  "name": "ListingFlag",
1334
1333
  "config": {
1335
- "title": "Report listing",
1336
1334
  "reasons": [
1337
1335
  "spam",
1338
1336
  "abuse",
@@ -1340,15 +1338,16 @@
1340
1338
  "misinformation",
1341
1339
  "nsfw",
1342
1340
  "other"
1343
- ]
1341
+ ],
1342
+ "title": "Report listing"
1344
1343
  }
1345
1344
  },
1346
1345
  {
1347
1346
  "ref": "ModQueue.traits.ModQueueItemReview",
1348
1347
  "name": "ListingModQueue",
1349
1348
  "config": {
1350
- "autoEscalateThreshold": 5.0,
1351
- "title": "Listing Moderation Queue"
1349
+ "title": "Listing Moderation Queue",
1350
+ "autoEscalateThreshold": 5.0
1352
1351
  }
1353
1352
  },
1354
1353
  {
@@ -1356,8 +1355,9 @@
1356
1355
  "name": "ListingCreate",
1357
1356
  "linkedEntity": "Listing",
1358
1357
  "config": {
1359
- "mode": "create",
1360
1358
  "icon": "plus-circle",
1359
+ "mode": "create",
1360
+ "title": "New Listing",
1361
1361
  "fields": [
1362
1362
  "vendorId",
1363
1363
  "title",
@@ -1365,8 +1365,7 @@
1365
1365
  "price",
1366
1366
  "currency",
1367
1367
  "status"
1368
- ],
1369
- "title": "New Listing"
1368
+ ]
1370
1369
  },
1371
1370
  "events": {
1372
1371
  "OPEN": "CREATE"
@@ -1387,9 +1386,9 @@
1387
1386
  "name": "ListingEdit",
1388
1387
  "linkedEntity": "Listing",
1389
1388
  "config": {
1390
- "title": "Edit Listing",
1391
1389
  "mode": "edit",
1392
1390
  "icon": "edit",
1391
+ "title": "Edit Listing",
1393
1392
  "fields": [
1394
1393
  "vendorId",
1395
1394
  "title",
@@ -1419,8 +1418,6 @@
1419
1418
  "linkedEntity": "Listing",
1420
1419
  "config": {
1421
1420
  "title": "View Listing",
1422
- "icon": "eye",
1423
- "mode": "edit",
1424
1421
  "fields": [
1425
1422
  "vendorId",
1426
1423
  "title",
@@ -1428,7 +1425,9 @@
1428
1425
  "price",
1429
1426
  "currency",
1430
1427
  "status"
1431
- ]
1428
+ ],
1429
+ "mode": "edit",
1430
+ "icon": "eye"
1432
1431
  },
1433
1432
  "events": {
1434
1433
  "OPEN": "VIEW"
@@ -1792,9 +1791,7 @@
1792
1791
  {
1793
1792
  "ref": "AppShell.traits.AppLayout",
1794
1793
  "name": "OrderAppLayout",
1795
- "linkedEntity": "Order",
1796
1794
  "config": {
1797
- "contentTrait": "@trait.OrderCatalog",
1798
1795
  "navItems": [
1799
1796
  {
1800
1797
  "label": "Vendors",
@@ -1802,24 +1799,25 @@
1802
1799
  "href": "/vendors"
1803
1800
  },
1804
1801
  {
1805
- "href": "/listings",
1806
1802
  "label": "Listings",
1807
- "icon": "package"
1803
+ "icon": "package",
1804
+ "href": "/listings"
1808
1805
  },
1809
1806
  {
1807
+ "label": "Orders",
1810
1808
  "href": "/orders",
1811
- "icon": "shopping-cart",
1812
- "label": "Orders"
1809
+ "icon": "shopping-cart"
1813
1810
  }
1814
1811
  ],
1815
- "searchEvent": "ORDER_SEARCH",
1816
1812
  "appName": "Marketplace",
1817
1813
  "notificationClickEvent": "ORDER_NOTIFICATIONS_OPEN",
1814
+ "contentTrait": "@trait.OrderCatalog",
1815
+ "searchEvent": "ORDER_SEARCH",
1818
1816
  "notifications": []
1819
1817
  },
1820
1818
  "events": {
1821
- "SEARCH": "ORDER_SEARCH",
1822
- "NOTIFY_CLICK": "ORDER_NOTIFICATIONS_OPEN"
1819
+ "NOTIFY_CLICK": "ORDER_NOTIFICATIONS_OPEN",
1820
+ "SEARCH": "ORDER_SEARCH"
1823
1821
  }
1824
1822
  },
1825
1823
  {
@@ -1902,46 +1900,45 @@
1902
1900
  "render-ui",
1903
1901
  "main",
1904
1902
  {
1905
- "direction": "vertical",
1906
1903
  "children": [
1907
1904
  {
1908
- "type": "stack",
1909
- "gap": "md",
1905
+ "align": "center",
1910
1906
  "direction": "horizontal",
1911
1907
  "children": [
1912
1908
  {
1913
- "gap": "sm",
1909
+ "type": "stack",
1914
1910
  "direction": "horizontal",
1911
+ "align": "center",
1912
+ "gap": "sm",
1915
1913
  "children": [
1916
1914
  {
1917
1915
  "type": "icon",
1918
1916
  "name": "shopping-cart"
1919
1917
  },
1920
1918
  {
1921
- "type": "typography",
1922
1919
  "variant": "h2",
1920
+ "type": "typography",
1923
1921
  "content": "Orders"
1924
1922
  }
1925
- ],
1926
- "align": "center",
1927
- "type": "stack"
1923
+ ]
1928
1924
  },
1929
1925
  {
1926
+ "gap": "sm",
1930
1927
  "direction": "horizontal",
1931
1928
  "children": [
1932
1929
  {
1933
- "type": "button",
1934
1930
  "variant": "primary",
1935
- "action": "CREATE",
1936
1931
  "icon": "plus",
1937
- "label": "New Order"
1932
+ "action": "CREATE",
1933
+ "label": "New Order",
1934
+ "type": "button"
1938
1935
  }
1939
1936
  ],
1940
- "gap": "sm",
1941
1937
  "type": "stack"
1942
1938
  }
1943
1939
  ],
1944
- "align": "center",
1940
+ "gap": "md",
1941
+ "type": "stack",
1945
1942
  "justify": "between"
1946
1943
  },
1947
1944
  {
@@ -1953,8 +1950,9 @@
1953
1950
  },
1954
1951
  "@trait.OrderCart"
1955
1952
  ],
1953
+ "gap": "lg",
1956
1954
  "type": "stack",
1957
- "gap": "lg"
1955
+ "direction": "vertical"
1958
1956
  }
1959
1957
  ]
1960
1958
  ]
@@ -1973,34 +1971,34 @@
1973
1971
  "render-ui",
1974
1972
  "main",
1975
1973
  {
1976
- "gap": "md",
1977
- "align": "center",
1978
- "className": "py-8",
1979
- "direction": "vertical",
1980
- "type": "stack",
1981
1974
  "children": [
1982
1975
  {
1983
- "type": "icon",
1984
- "name": "bell"
1976
+ "name": "bell",
1977
+ "type": "icon"
1985
1978
  },
1986
1979
  {
1980
+ "type": "typography",
1987
1981
  "variant": "h3",
1988
- "content": "No notifications",
1989
- "type": "typography"
1982
+ "content": "No notifications"
1990
1983
  },
1991
1984
  {
1992
- "variant": "caption",
1993
1985
  "color": "muted",
1994
- "content": "You're all caught up.",
1995
- "type": "typography"
1986
+ "type": "typography",
1987
+ "variant": "caption",
1988
+ "content": "You're all caught up."
1996
1989
  },
1997
1990
  {
1998
- "type": "button",
1999
1991
  "label": "Back to orders",
2000
1992
  "action": "INIT",
2001
- "variant": "ghost"
1993
+ "variant": "ghost",
1994
+ "type": "button"
2002
1995
  }
2003
- ]
1996
+ ],
1997
+ "align": "center",
1998
+ "gap": "md",
1999
+ "type": "stack",
2000
+ "direction": "vertical",
2001
+ "className": "py-8"
2004
2002
  }
2005
2003
  ]
2006
2004
  ]
@@ -2014,10 +2012,11 @@
2014
2012
  "name": "OrderBrowseList",
2015
2013
  "linkedEntity": "Order",
2016
2014
  "config": {
2015
+ "cols": 1.0,
2017
2016
  "fields": [
2018
2017
  {
2019
- "name": "buyerId",
2020
- "variant": "caption"
2018
+ "variant": "caption",
2019
+ "name": "buyerId"
2021
2020
  },
2022
2021
  {
2023
2022
  "name": "listingId",
@@ -2028,8 +2027,8 @@
2028
2027
  "variant": "caption"
2029
2028
  },
2030
2029
  {
2031
- "name": "totalAmount",
2032
2030
  "format": "currency",
2031
+ "name": "totalAmount",
2033
2032
  "variant": "h4"
2034
2033
  },
2035
2034
  {
@@ -2037,16 +2036,15 @@
2037
2036
  "name": "status"
2038
2037
  }
2039
2038
  ],
2040
- "gap": "sm",
2041
2039
  "itemActions": [
2042
2040
  {
2043
- "event": "VIEW",
2041
+ "label": "View",
2044
2042
  "variant": "ghost",
2045
- "label": "View"
2043
+ "event": "VIEW"
2046
2044
  },
2047
2045
  {
2048
- "event": "EDIT",
2049
2046
  "label": "Edit",
2047
+ "event": "EDIT",
2050
2048
  "variant": "ghost"
2051
2049
  },
2052
2050
  {
@@ -2055,7 +2053,7 @@
2055
2053
  "event": "DELETE"
2056
2054
  }
2057
2055
  ],
2058
- "cols": 1.0
2056
+ "gap": "sm"
2059
2057
  },
2060
2058
  "listens": [
2061
2059
  {
@@ -2105,16 +2103,16 @@
2105
2103
  "name": "OrderCreate",
2106
2104
  "linkedEntity": "Order",
2107
2105
  "config": {
2106
+ "mode": "create",
2107
+ "icon": "plus-circle",
2108
+ "title": "New Order",
2108
2109
  "fields": [
2109
2110
  "buyerId",
2110
2111
  "listingId",
2111
2112
  "quantity",
2112
2113
  "totalAmount",
2113
2114
  "status"
2114
- ],
2115
- "title": "New Order",
2116
- "mode": "create",
2117
- "icon": "plus-circle"
2115
+ ]
2118
2116
  },
2119
2117
  "events": {
2120
2118
  "OPEN": "CREATE"
@@ -2135,6 +2133,7 @@
2135
2133
  "name": "OrderEdit",
2136
2134
  "linkedEntity": "Order",
2137
2135
  "config": {
2136
+ "title": "Edit Order",
2138
2137
  "fields": [
2139
2138
  "buyerId",
2140
2139
  "listingId",
@@ -2142,7 +2141,6 @@
2142
2141
  "totalAmount",
2143
2142
  "status"
2144
2143
  ],
2145
- "title": "Edit Order",
2146
2144
  "icon": "edit",
2147
2145
  "mode": "edit"
2148
2146
  },
@@ -2165,16 +2163,16 @@
2165
2163
  "name": "OrderView",
2166
2164
  "linkedEntity": "Order",
2167
2165
  "config": {
2166
+ "icon": "eye",
2167
+ "title": "View Order",
2168
+ "mode": "edit",
2168
2169
  "fields": [
2169
2170
  "buyerId",
2170
2171
  "listingId",
2171
2172
  "quantity",
2172
2173
  "totalAmount",
2173
2174
  "status"
2174
- ],
2175
- "title": "View Order",
2176
- "icon": "eye",
2177
- "mode": "edit"
2175
+ ]
2178
2176
  },
2179
2177
  "events": {
2180
2178
  "OPEN": "VIEW"
@@ -2195,9 +2193,9 @@
2195
2193
  "name": "OrderDelete",
2196
2194
  "linkedEntity": "Order",
2197
2195
  "config": {
2196
+ "title": "Delete Order",
2198
2197
  "alertMessage": "This action cannot be undone.",
2199
2198
  "icon": "alert-triangle",
2200
- "title": "Delete Order",
2201
2199
  "confirmLabel": "Delete"
2202
2200
  },
2203
2201
  "events": {