@almadar/std 14.17.0 → 14.18.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 (27) hide show
  1. package/behaviors/registry/app/atoms/std-kitchen-display.orb +50 -50
  2. package/behaviors/registry/app/atoms/std-route-optimize.orb +53 -51
  3. package/behaviors/registry/app/atoms/std-ticket-tier.orb +85 -69
  4. package/behaviors/registry/app/atoms/std-work-order.orb +47 -47
  5. package/behaviors/registry/app/organisms/std-event-ticketing.orb +204 -212
  6. package/behaviors/registry/app/organisms/std-field-service.orb +183 -187
  7. package/behaviors/registry/app/organisms/std-forum.orb +131 -132
  8. package/behaviors/registry/app/organisms/std-listings.orb +177 -182
  9. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +130 -130
  10. package/behaviors/registry/app/organisms/std-subscription-billing.orb +174 -176
  11. package/behaviors/registry/app/organisms/std-survey.orb +144 -145
  12. package/behaviors/registry/app/organisms/std-wiki.orb +129 -130
  13. package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
  14. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +50 -50
  15. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +53 -51
  16. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +85 -69
  17. package/dist/behaviors/registry/app/atoms/std-work-order.orb +47 -47
  18. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +204 -212
  19. package/dist/behaviors/registry/app/organisms/std-field-service.orb +183 -187
  20. package/dist/behaviors/registry/app/organisms/std-forum.orb +131 -132
  21. package/dist/behaviors/registry/app/organisms/std-listings.orb +177 -182
  22. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +130 -130
  23. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +174 -176
  24. package/dist/behaviors/registry/app/organisms/std-survey.orb +144 -145
  25. package/dist/behaviors/registry/app/organisms/std-wiki.orb +129 -130
  26. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
  27. package/package.json +7 -14
@@ -134,16 +134,17 @@
134
134
  "ref": "AppShell.traits.AppLayout",
135
135
  "name": "ListingAppLayout",
136
136
  "config": {
137
+ "appName": "Listings",
137
138
  "navItems": [
138
139
  {
139
- "icon": "list",
140
140
  "label": "Browse",
141
- "href": "/listings"
141
+ "href": "/listings",
142
+ "icon": "list"
142
143
  },
143
144
  {
144
145
  "href": "/saved",
145
- "icon": "bookmark",
146
- "label": "Saved"
146
+ "label": "Saved",
147
+ "icon": "bookmark"
147
148
  },
148
149
  {
149
150
  "href": "/inquiries",
@@ -151,11 +152,10 @@
151
152
  "label": "Inquiries"
152
153
  }
153
154
  ],
155
+ "contentTrait": "@trait.ListingCatalog",
154
156
  "searchEvent": "LISTING_SEARCH",
155
157
  "notifications": [],
156
- "notificationClickEvent": "LISTING_NOTIFICATIONS_OPEN",
157
- "contentTrait": "@trait.ListingCatalog",
158
- "appName": "Listings"
158
+ "notificationClickEvent": "LISTING_NOTIFICATIONS_OPEN"
159
159
  },
160
160
  "events": {
161
161
  "SEARCH": "LISTING_SEARCH",
@@ -256,17 +256,15 @@
256
256
  "render-ui",
257
257
  "main",
258
258
  {
259
- "direction": "vertical",
260
- "type": "stack",
261
259
  "gap": "lg",
260
+ "type": "stack",
262
261
  "children": [
263
262
  {
264
- "gap": "md",
263
+ "type": "stack",
265
264
  "direction": "horizontal",
265
+ "align": "center",
266
266
  "children": [
267
267
  {
268
- "direction": "horizontal",
269
- "align": "center",
270
268
  "children": [
271
269
  {
272
270
  "name": "list",
@@ -278,55 +276,57 @@
278
276
  "variant": "h2"
279
277
  }
280
278
  ],
279
+ "gap": "sm",
280
+ "direction": "horizontal",
281
281
  "type": "stack",
282
- "gap": "sm"
282
+ "align": "center"
283
283
  },
284
284
  {
285
- "direction": "horizontal",
286
- "gap": "sm",
287
- "type": "stack",
288
285
  "children": [
289
286
  {
290
- "label": "Save Search",
291
- "action": "SAVE_SEARCH",
292
- "type": "button",
287
+ "icon": "bookmark",
293
288
  "variant": "secondary",
294
- "icon": "bookmark"
289
+ "action": "SAVE_SEARCH",
290
+ "label": "Save Search",
291
+ "type": "button"
295
292
  },
296
293
  {
297
- "type": "button",
298
- "label": "New Listing",
299
294
  "action": "CREATE",
300
- "variant": "primary",
301
- "icon": "plus"
295
+ "icon": "plus",
296
+ "label": "New Listing",
297
+ "type": "button",
298
+ "variant": "primary"
302
299
  }
303
- ]
300
+ ],
301
+ "gap": "sm",
302
+ "type": "stack",
303
+ "direction": "horizontal"
304
304
  }
305
305
  ],
306
- "type": "stack",
307
- "justify": "between",
308
- "align": "center"
306
+ "gap": "md",
307
+ "justify": "between"
309
308
  },
310
309
  {
311
310
  "type": "divider"
312
311
  },
313
312
  "@trait.ListingGeoSearch",
314
313
  {
315
- "gap": "md",
314
+ "type": "stack",
315
+ "align": "start",
316
+ "direction": "horizontal",
316
317
  "children": [
317
318
  "@trait.ListingFilter",
318
319
  "@trait.ListingTags"
319
320
  ],
320
- "type": "stack",
321
- "align": "start",
322
- "direction": "horizontal"
321
+ "gap": "md"
323
322
  },
324
323
  "@trait.ListingStats",
325
324
  {
326
325
  "type": "divider"
327
326
  },
328
327
  "@trait.ListingBrowse"
329
- ]
328
+ ],
329
+ "direction": "vertical"
330
330
  }
331
331
  ]
332
332
  ]
@@ -345,34 +345,34 @@
345
345
  "render-ui",
346
346
  "main",
347
347
  {
348
- "gap": "md",
349
- "direction": "vertical",
350
348
  "align": "center",
351
- "type": "stack",
352
- "className": "py-8",
353
349
  "children": [
354
350
  {
355
- "name": "bell",
356
- "type": "icon"
351
+ "type": "icon",
352
+ "name": "bell"
357
353
  },
358
354
  {
359
- "type": "typography",
360
355
  "content": "No notifications",
356
+ "type": "typography",
361
357
  "variant": "h3"
362
358
  },
363
359
  {
360
+ "content": "You're all caught up.",
364
361
  "type": "typography",
365
- "variant": "caption",
366
362
  "color": "muted",
367
- "content": "You're all caught up."
363
+ "variant": "caption"
368
364
  },
369
365
  {
370
- "action": "INIT",
366
+ "variant": "ghost",
371
367
  "type": "button",
372
- "label": "Back to listings",
373
- "variant": "ghost"
368
+ "action": "INIT",
369
+ "label": "Back to listings"
374
370
  }
375
- ]
371
+ ],
372
+ "direction": "vertical",
373
+ "className": "py-8",
374
+ "type": "stack",
375
+ "gap": "md"
376
376
  }
377
377
  ]
378
378
  ]
@@ -385,8 +385,8 @@
385
385
  "ref": "GeoSearch.traits.GeoSearchResultSearch",
386
386
  "name": "ListingGeoSearch",
387
387
  "config": {
388
- "event": "LISTING_GEO_SEARCH",
389
388
  "placeholder": "Search nearby listings…",
389
+ "event": "LISTING_GEO_SEARCH",
390
390
  "defaultRadiusKm": 25.0
391
391
  }
392
392
  },
@@ -394,32 +394,27 @@
394
394
  "ref": "Filter.traits.FilterTargetFilter",
395
395
  "name": "ListingFilter",
396
396
  "config": {
397
+ "event": "LISTING_FILTER",
397
398
  "filters": [
398
399
  {
400
+ "filterType": "select",
401
+ "label": "Status",
402
+ "field": "status",
399
403
  "options": [
400
404
  "active",
401
405
  "sold",
402
406
  "expired"
403
- ],
404
- "filterType": "select",
405
- "label": "Status",
406
- "field": "status"
407
- },
408
- {
409
- "label": "Location",
410
- "field": "location",
411
- "filterType": "text"
407
+ ]
412
408
  }
413
- ],
414
- "event": "LISTING_FILTER"
409
+ ]
415
410
  }
416
411
  },
417
412
  {
418
413
  "ref": "Tags.traits.TagBrowse",
419
414
  "name": "ListingTags",
420
415
  "config": {
421
- "allowEdit": false,
422
- "title": "Categories"
416
+ "title": "Categories",
417
+ "allowEdit": false
423
418
  }
424
419
  },
425
420
  {
@@ -433,10 +428,10 @@
433
428
  "ref": "Images.traits.UploadedImageUpload",
434
429
  "name": "ListingImages",
435
430
  "config": {
431
+ "maxImages": 10.0,
436
432
  "accept": "image/*",
437
433
  "title": "Listing Photos",
438
- "maxBytesPerImage": 10485760.0,
439
- "maxImages": 10.0
434
+ "maxBytesPerImage": 10485760.0
440
435
  }
441
436
  },
442
437
  {
@@ -446,15 +441,18 @@
446
441
  "title": "Listings",
447
442
  "metrics": [
448
443
  {
449
- "format": "number",
450
- "icon": "list",
451
- "label": "Total",
452
444
  "aggregation": "count",
453
- "variant": "primary"
445
+ "label": "Total",
446
+ "icon": "list",
447
+ "variant": "primary",
448
+ "format": "number"
454
449
  },
455
450
  {
456
451
  "variant": "success",
452
+ "icon": "check-circle",
453
+ "aggregation": "count",
457
454
  "format": "number",
455
+ "label": "Active",
458
456
  "filter": [
459
457
  "fn",
460
458
  "row",
@@ -463,17 +461,9 @@
463
461
  "@row.status",
464
462
  "active"
465
463
  ]
466
- ],
467
- "aggregation": "count",
468
- "label": "Active",
469
- "icon": "check-circle"
464
+ ]
470
465
  },
471
466
  {
472
- "aggregation": "count",
473
- "icon": "tag",
474
- "variant": "info",
475
- "label": "Sold",
476
- "format": "number",
477
467
  "filter": [
478
468
  "fn",
479
469
  "row",
@@ -482,15 +472,20 @@
482
472
  "@row.status",
483
473
  "sold"
484
474
  ]
485
- ]
475
+ ],
476
+ "label": "Sold",
477
+ "icon": "tag",
478
+ "aggregation": "count",
479
+ "variant": "info",
480
+ "format": "number"
486
481
  },
487
482
  {
488
- "variant": "warning",
489
- "aggregation": "avg",
490
483
  "format": "number",
491
- "icon": "trending-up",
492
484
  "label": "Avg Price",
493
- "field": "price"
485
+ "icon": "trending-up",
486
+ "aggregation": "avg",
487
+ "field": "price",
488
+ "variant": "warning"
494
489
  }
495
490
  ]
496
491
  },
@@ -510,45 +505,21 @@
510
505
  "name": "ListingBrowse",
511
506
  "linkedEntity": "Listing",
512
507
  "config": {
513
- "gap": "sm",
514
- "fields": [
515
- {
516
- "variant": "h3",
517
- "icon": "list",
518
- "name": "title"
519
- },
520
- {
521
- "name": "price",
522
- "variant": "badge"
523
- },
524
- {
525
- "name": "status",
526
- "variant": "badge"
527
- },
528
- {
529
- "variant": "caption",
530
- "name": "location"
531
- },
532
- {
533
- "variant": "caption",
534
- "name": "description"
535
- }
536
- ],
537
508
  "itemActions": [
538
509
  {
539
- "event": "VIEW",
540
510
  "variant": "ghost",
511
+ "event": "VIEW",
541
512
  "label": "View"
542
513
  },
543
514
  {
544
515
  "event": "EDIT",
545
- "label": "Edit",
546
- "variant": "ghost"
516
+ "variant": "ghost",
517
+ "label": "Edit"
547
518
  },
548
519
  {
520
+ "event": "INQUIRE",
549
521
  "variant": "secondary",
550
- "label": "Inquire",
551
- "event": "INQUIRE"
522
+ "label": "Inquire"
552
523
  },
553
524
  {
554
525
  "event": "DELETE",
@@ -556,7 +527,31 @@
556
527
  "label": "Delete"
557
528
  }
558
529
  ],
559
- "cols": 1.0
530
+ "cols": 1.0,
531
+ "gap": "sm",
532
+ "fields": [
533
+ {
534
+ "name": "title",
535
+ "icon": "list",
536
+ "variant": "h3"
537
+ },
538
+ {
539
+ "name": "price",
540
+ "variant": "badge"
541
+ },
542
+ {
543
+ "variant": "badge",
544
+ "name": "status"
545
+ },
546
+ {
547
+ "name": "location",
548
+ "variant": "caption"
549
+ },
550
+ {
551
+ "variant": "caption",
552
+ "name": "description"
553
+ }
554
+ ]
560
555
  },
561
556
  "listens": [
562
557
  {
@@ -606,7 +601,7 @@
606
601
  "name": "ListingCreate",
607
602
  "linkedEntity": "Listing",
608
603
  "config": {
609
- "icon": "plus-circle",
604
+ "mode": "create",
610
605
  "fields": [
611
606
  "title",
612
607
  "description",
@@ -614,8 +609,8 @@
614
609
  "location",
615
610
  "status"
616
611
  ],
617
- "title": "New Listing",
618
- "mode": "create"
612
+ "icon": "plus-circle",
613
+ "title": "New Listing"
619
614
  },
620
615
  "events": {
621
616
  "OPEN": "CREATE"
@@ -636,16 +631,16 @@
636
631
  "name": "ListingEdit",
637
632
  "linkedEntity": "Listing",
638
633
  "config": {
639
- "icon": "edit",
640
634
  "mode": "edit",
635
+ "title": "Edit Listing",
636
+ "icon": "edit",
641
637
  "fields": [
642
638
  "title",
643
639
  "description",
644
640
  "price",
645
641
  "location",
646
642
  "status"
647
- ],
648
- "title": "Edit Listing"
643
+ ]
649
644
  },
650
645
  "events": {
651
646
  "OPEN": "EDIT"
@@ -666,16 +661,16 @@
666
661
  "name": "ListingView",
667
662
  "linkedEntity": "Listing",
668
663
  "config": {
669
- "icon": "eye",
670
- "title": "View Listing",
671
- "mode": "edit",
672
664
  "fields": [
673
665
  "title",
674
666
  "description",
675
667
  "price",
676
668
  "location",
677
669
  "status"
678
- ]
670
+ ],
671
+ "icon": "eye",
672
+ "mode": "edit",
673
+ "title": "View Listing"
679
674
  },
680
675
  "events": {
681
676
  "OPEN": "VIEW"
@@ -697,8 +692,8 @@
697
692
  "linkedEntity": "Listing",
698
693
  "config": {
699
694
  "title": "Delete Listing",
700
- "alertMessage": "This action cannot be undone.",
701
695
  "confirmLabel": "Delete",
696
+ "alertMessage": "This action cannot be undone.",
702
697
  "icon": "alert-triangle"
703
698
  },
704
699
  "events": {
@@ -720,8 +715,8 @@
720
715
  "ref": "Thread.traits.ThreadPostBrowse",
721
716
  "name": "ListingInquiryThread",
722
717
  "config": {
723
- "threadRootId": "",
724
- "flat": true
718
+ "flat": true,
719
+ "threadRootId": ""
725
720
  }
726
721
  },
727
722
  {
@@ -1202,22 +1197,22 @@
1202
1197
  "render-ui",
1203
1198
  "main",
1204
1199
  {
1205
- "type": "stack",
1206
- "gap": "md",
1207
1200
  "direction": "vertical",
1208
- "align": "center",
1209
- "className": "py-12",
1210
1201
  "children": [
1211
1202
  {
1212
1203
  "type": "spinner"
1213
1204
  },
1214
1205
  {
1206
+ "type": "typography",
1215
1207
  "content": "Loading inquiries…",
1216
1208
  "variant": "caption",
1217
- "type": "typography",
1218
1209
  "color": "muted"
1219
1210
  }
1220
- ]
1211
+ ],
1212
+ "align": "center",
1213
+ "type": "stack",
1214
+ "gap": "md",
1215
+ "className": "py-12"
1221
1216
  }
1222
1217
  ]
1223
1218
  ]
@@ -1231,81 +1226,81 @@
1231
1226
  "render-ui",
1232
1227
  "main",
1233
1228
  {
1234
- "gap": "lg",
1235
- "type": "stack",
1236
- "direction": "vertical",
1237
- "className": "max-w-5xl mx-auto w-full",
1238
1229
  "children": [
1239
1230
  {
1231
+ "type": "stack",
1240
1232
  "justify": "between",
1241
- "gap": "md",
1242
1233
  "direction": "horizontal",
1243
- "type": "stack",
1244
- "align": "center",
1245
1234
  "children": [
1246
1235
  {
1247
- "gap": "sm",
1248
- "direction": "horizontal",
1249
1236
  "type": "stack",
1250
- "align": "center",
1237
+ "direction": "horizontal",
1251
1238
  "children": [
1252
1239
  {
1253
- "type": "icon",
1254
- "name": "message-circle"
1240
+ "name": "message-circle",
1241
+ "type": "icon"
1255
1242
  },
1256
1243
  {
1257
1244
  "type": "typography",
1258
1245
  "content": "Inquiries",
1259
1246
  "variant": "h2"
1260
1247
  }
1261
- ]
1248
+ ],
1249
+ "align": "center",
1250
+ "gap": "sm"
1262
1251
  },
1263
1252
  {
1264
- "type": "button",
1265
- "variant": "primary",
1266
- "action": "CREATE",
1253
+ "label": "New Inquiry",
1267
1254
  "icon": "edit",
1268
- "label": "New Inquiry"
1255
+ "variant": "primary",
1256
+ "type": "button",
1257
+ "action": "CREATE"
1269
1258
  }
1270
- ]
1259
+ ],
1260
+ "align": "center",
1261
+ "gap": "md"
1271
1262
  },
1272
1263
  {
1273
1264
  "type": "divider"
1274
1265
  },
1275
1266
  {
1276
- "entity": "@payload.data",
1277
- "itemActions": [
1278
- {
1279
- "event": "VIEW",
1280
- "label": "Open",
1281
- "variant": "ghost"
1282
- }
1283
- ],
1284
- "type": "data-list",
1285
- "variant": "card",
1286
1267
  "fields": [
1287
1268
  {
1288
1269
  "icon": "message-circle",
1289
- "variant": "h4",
1290
- "name": "subject"
1270
+ "name": "subject",
1271
+ "variant": "h4"
1291
1272
  },
1292
1273
  {
1293
1274
  "name": "message",
1294
1275
  "variant": "body"
1295
1276
  },
1296
1277
  {
1297
- "variant": "badge",
1298
- "name": "status"
1278
+ "name": "status",
1279
+ "variant": "badge"
1299
1280
  },
1300
1281
  {
1301
- "format": "date",
1302
1282
  "name": "createdAt",
1283
+ "format": "date",
1303
1284
  "variant": "caption"
1304
1285
  }
1305
1286
  ],
1287
+ "type": "data-list",
1288
+ "variant": "card",
1289
+ "entity": "@payload.data",
1290
+ "itemActions": [
1291
+ {
1292
+ "label": "Open",
1293
+ "variant": "ghost",
1294
+ "event": "VIEW"
1295
+ }
1296
+ ],
1306
1297
  "gap": "sm"
1307
1298
  }
1308
- ]
1299
+ ],
1300
+ "direction": "vertical",
1301
+ "type": "stack",
1302
+ "gap": "lg",
1303
+ "className": "max-w-5xl mx-auto w-full"
1309
1304
  }
1310
1305
  ]
1311
1306
  ]
@@ -1319,36 +1314,36 @@
1319
1314
  "render-ui",
1320
1315
  "main",
1321
1316
  {
1322
- "type": "stack",
1317
+ "gap": "md",
1323
1318
  "align": "center",
1319
+ "type": "stack",
1320
+ "direction": "vertical",
1324
1321
  "className": "py-12",
1325
- "gap": "md",
1326
1322
  "children": [
1327
1323
  {
1324
+ "type": "icon",
1328
1325
  "name": "alert-triangle",
1329
- "color": "destructive",
1330
- "type": "icon"
1326
+ "color": "destructive"
1331
1327
  },
1332
1328
  {
1333
- "type": "typography",
1334
1329
  "variant": "h3",
1335
- "content": "Failed to load inquiries"
1330
+ "content": "Failed to load inquiries",
1331
+ "type": "typography"
1336
1332
  },
1337
1333
  {
1338
1334
  "content": "@payload.error",
1335
+ "color": "muted",
1339
1336
  "variant": "body",
1340
- "type": "typography",
1341
- "color": "muted"
1337
+ "type": "typography"
1342
1338
  },
1343
1339
  {
1344
- "label": "Retry",
1345
1340
  "type": "button",
1346
1341
  "icon": "rotate-ccw",
1347
- "variant": "primary",
1348
- "action": "INIT"
1342
+ "action": "INIT",
1343
+ "label": "Retry",
1344
+ "variant": "primary"
1349
1345
  }
1350
- ],
1351
- "direction": "vertical"
1346
+ ]
1352
1347
  }
1353
1348
  ]
1354
1349
  ]
@@ -1363,8 +1358,8 @@
1363
1358
  "Inquiry",
1364
1359
  {
1365
1360
  "emit": {
1366
- "success": "InquiryLoaded",
1367
- "failure": "InquiryLoadFailed"
1361
+ "failure": "InquiryLoadFailed",
1362
+ "success": "InquiryLoaded"
1368
1363
  }
1369
1364
  }
1370
1365
  ],
@@ -1387,8 +1382,8 @@
1387
1382
  "Inquiry",
1388
1383
  {
1389
1384
  "emit": {
1390
- "failure": "InquiryLoadFailed",
1391
- "success": "InquiryLoaded"
1385
+ "success": "InquiryLoaded",
1386
+ "failure": "InquiryLoadFailed"
1392
1387
  }
1393
1388
  }
1394
1389
  ],
@@ -1412,14 +1407,14 @@
1412
1407
  "config": {
1413
1408
  "title": "New Inquiry",
1414
1409
  "mode": "create",
1410
+ "icon": "plus-circle",
1415
1411
  "fields": [
1416
1412
  "listingId",
1417
1413
  "subject",
1418
1414
  "message",
1419
1415
  "fromUserId",
1420
1416
  "toUserId"
1421
- ],
1422
- "icon": "plus-circle"
1417
+ ]
1423
1418
  },
1424
1419
  "events": {
1425
1420
  "OPEN": "CREATE"