@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
@@ -94,18 +94,21 @@
94
94
  "ref": "AppShell.traits.AppLayout",
95
95
  "name": "MenuAppLayout",
96
96
  "config": {
97
+ "notificationClickEvent": "MENU_NOTIFICATIONS_OPEN",
97
98
  "searchEvent": "MENU_SEARCH",
98
99
  "appName": "Restaurant POS",
100
+ "notifications": [],
101
+ "contentTrait": "@trait.MenuCatalog",
99
102
  "navItems": [
100
103
  {
101
- "icon": "utensils",
102
104
  "href": "/menu",
103
- "label": "Menu"
105
+ "label": "Menu",
106
+ "icon": "utensils"
104
107
  },
105
108
  {
106
109
  "label": "Floor",
107
- "icon": "layout-grid",
108
- "href": "/floor"
110
+ "href": "/floor",
111
+ "icon": "layout-grid"
109
112
  },
110
113
  {
111
114
  "href": "/orders",
@@ -114,13 +117,10 @@
114
117
  },
115
118
  {
116
119
  "label": "Kitchen",
117
- "icon": "chef-hat",
118
- "href": "/kitchen"
120
+ "href": "/kitchen",
121
+ "icon": "chef-hat"
119
122
  }
120
- ],
121
- "contentTrait": "@trait.MenuCatalog",
122
- "notificationClickEvent": "MENU_NOTIFICATIONS_OPEN",
123
- "notifications": []
123
+ ]
124
124
  },
125
125
  "events": {
126
126
  "SEARCH": "MENU_SEARCH",
@@ -207,62 +207,62 @@
207
207
  "render-ui",
208
208
  "main",
209
209
  {
210
+ "direction": "vertical",
210
211
  "gap": "lg",
211
212
  "type": "stack",
212
- "direction": "vertical",
213
213
  "children": [
214
214
  {
215
+ "justify": "between",
216
+ "type": "stack",
217
+ "direction": "horizontal",
218
+ "align": "center",
215
219
  "children": [
216
220
  {
217
- "align": "center",
218
- "direction": "horizontal",
219
221
  "type": "stack",
222
+ "direction": "horizontal",
220
223
  "children": [
221
224
  {
222
- "type": "icon",
223
- "name": "utensils"
225
+ "name": "utensils",
226
+ "type": "icon"
224
227
  },
225
228
  {
226
- "content": "Menu",
229
+ "variant": "h2",
227
230
  "type": "typography",
228
- "variant": "h2"
231
+ "content": "Menu"
229
232
  }
230
233
  ],
234
+ "align": "center",
231
235
  "gap": "sm"
232
236
  },
233
237
  {
238
+ "gap": "sm",
234
239
  "children": [
235
240
  {
236
- "label": "New Item",
241
+ "variant": "primary",
237
242
  "icon": "plus",
243
+ "type": "button",
238
244
  "action": "CREATE",
239
- "variant": "primary",
240
- "type": "button"
245
+ "label": "New Item"
241
246
  }
242
247
  ],
243
- "gap": "sm",
244
248
  "direction": "horizontal",
245
249
  "type": "stack"
246
250
  }
247
251
  ],
248
- "direction": "horizontal",
249
- "gap": "md",
250
- "type": "stack",
251
- "align": "center",
252
- "justify": "between"
252
+ "gap": "md"
253
253
  },
254
254
  {
255
255
  "type": "divider"
256
256
  },
257
257
  {
258
- "direction": "horizontal",
258
+ "type": "stack",
259
+ "gap": "md",
259
260
  "align": "center",
261
+ "direction": "horizontal",
260
262
  "children": [
261
263
  "@trait.MenuSearch",
262
264
  "@trait.MenuFilter"
263
- ],
264
- "type": "stack",
265
- "gap": "md"
265
+ ]
266
266
  },
267
267
  "@trait.MenuCategoryTree",
268
268
  {
@@ -273,8 +273,8 @@
273
273
  "type": "divider"
274
274
  },
275
275
  {
276
- "type": "typography",
277
276
  "content": "Modifier groups",
277
+ "type": "typography",
278
278
  "variant": "h3"
279
279
  },
280
280
  "@trait.MenuModifierGroups",
@@ -282,9 +282,9 @@
282
282
  "type": "divider"
283
283
  },
284
284
  {
285
- "variant": "h3",
285
+ "content": "Item images",
286
286
  "type": "typography",
287
- "content": "Item images"
287
+ "variant": "h3"
288
288
  },
289
289
  "@trait.MenuImageUpload"
290
290
  ]
@@ -306,28 +306,28 @@
306
306
  "render-ui",
307
307
  "main",
308
308
  {
309
- "type": "stack",
310
- "direction": "vertical",
311
- "align": "center",
312
309
  "children": [
313
310
  {
314
311
  "type": "icon",
315
312
  "name": "bell"
316
313
  },
317
314
  {
318
- "content": "No notifications",
319
315
  "type": "typography",
320
- "variant": "h3"
316
+ "variant": "h3",
317
+ "content": "No notifications"
321
318
  },
322
319
  {
323
- "variant": "ghost",
324
320
  "label": "Back to menu",
321
+ "variant": "ghost",
325
322
  "type": "button",
326
323
  "action": "INIT"
327
324
  }
328
325
  ],
329
- "className": "py-8",
330
- "gap": "md"
326
+ "type": "stack",
327
+ "direction": "vertical",
328
+ "gap": "md",
329
+ "align": "center",
330
+ "className": "py-8"
331
331
  }
332
332
  ]
333
333
  ]
@@ -340,8 +340,8 @@
340
340
  "ref": "Search.traits.SearchResultSearch",
341
341
  "name": "MenuSearch",
342
342
  "config": {
343
- "placeholder": "Search menu…",
344
- "event": "MENU_SEARCH"
343
+ "event": "MENU_SEARCH",
344
+ "placeholder": "Search menu…"
345
345
  }
346
346
  },
347
347
  {
@@ -350,24 +350,24 @@
350
350
  "config": {
351
351
  "filters": [
352
352
  {
353
- "filterType": "select",
353
+ "field": "category",
354
354
  "options": [
355
355
  "appetizer",
356
356
  "entree",
357
357
  "dessert",
358
358
  "drink"
359
359
  ],
360
- "field": "category",
361
- "label": "Category"
360
+ "label": "Category",
361
+ "filterType": "select"
362
362
  },
363
363
  {
364
364
  "field": "available",
365
365
  "label": "Available",
366
+ "filterType": "select",
366
367
  "options": [
367
368
  "true",
368
369
  "false"
369
- ],
370
- "filterType": "select"
370
+ ]
371
371
  }
372
372
  ],
373
373
  "event": "MENU_FILTER"
@@ -377,8 +377,8 @@
377
377
  "ref": "TagTaxonomy.traits.TagBrowse",
378
378
  "name": "MenuCategoryTree",
379
379
  "config": {
380
- "title": "Categories",
381
- "allowEdit": false
380
+ "allowEdit": false,
381
+ "title": "Categories"
382
382
  }
383
383
  },
384
384
  {
@@ -394,19 +394,19 @@
394
394
  },
395
395
  {
396
396
  "label": "Delete",
397
- "event": "DELETE",
398
- "variant": "danger"
397
+ "variant": "danger",
398
+ "event": "DELETE"
399
399
  }
400
400
  ],
401
401
  "fields": [
402
402
  {
403
- "name": "name",
404
403
  "variant": "h4",
404
+ "name": "name",
405
405
  "icon": "utensils"
406
406
  },
407
407
  {
408
- "name": "category",
409
- "variant": "badge"
408
+ "variant": "badge",
409
+ "name": "category"
410
410
  },
411
411
  {
412
412
  "name": "price",
@@ -421,8 +421,8 @@
421
421
  "variant": "caption"
422
422
  }
423
423
  ],
424
- "cols": 1.0,
425
- "gap": "sm"
424
+ "gap": "sm",
425
+ "cols": 1.0
426
426
  },
427
427
  "listens": [
428
428
  {
@@ -478,10 +478,10 @@
478
478
  "ref": "ImageUpload.traits.UploadedImageUpload",
479
479
  "name": "MenuImageUpload",
480
480
  "config": {
481
+ "maxBytesPerImage": 5242880.0,
481
482
  "title": "Item Images",
482
- "accept": "image/*",
483
483
  "maxImages": 12.0,
484
- "maxBytesPerImage": 5242880.0
484
+ "accept": "image/*"
485
485
  }
486
486
  },
487
487
  {
@@ -489,6 +489,8 @@
489
489
  "name": "MenuCreate",
490
490
  "linkedEntity": "MenuRecord",
491
491
  "config": {
492
+ "icon": "plus-circle",
493
+ "title": "New Menu Item",
492
494
  "mode": "create",
493
495
  "fields": [
494
496
  "name",
@@ -496,9 +498,7 @@
496
498
  "price",
497
499
  "category",
498
500
  "available"
499
- ],
500
- "title": "New Menu Item",
501
- "icon": "plus-circle"
501
+ ]
502
502
  },
503
503
  "events": {
504
504
  "OPEN": "CREATE"
@@ -519,6 +519,8 @@
519
519
  "name": "MenuEdit",
520
520
  "linkedEntity": "MenuRecord",
521
521
  "config": {
522
+ "mode": "edit",
523
+ "title": "Edit Menu Item",
522
524
  "fields": [
523
525
  "name",
524
526
  "description",
@@ -526,8 +528,6 @@
526
528
  "category",
527
529
  "available"
528
530
  ],
529
- "mode": "edit",
530
- "title": "Edit Menu Item",
531
531
  "icon": "edit"
532
532
  },
533
533
  "events": {
@@ -549,14 +549,14 @@
549
549
  "name": "MenuDelete",
550
550
  "linkedEntity": "MenuRecord",
551
551
  "config": {
552
- "title": "Delete Menu Item",
553
- "alertMessage": "This action cannot be undone.",
554
552
  "confirmLabel": "Delete",
555
- "icon": "alert-triangle"
553
+ "icon": "alert-triangle",
554
+ "title": "Delete Menu Item",
555
+ "alertMessage": "This action cannot be undone."
556
556
  },
557
557
  "events": {
558
- "REQUEST": "DELETE",
559
- "CONFIRM": "CONFIRM_DELETE"
558
+ "CONFIRM": "CONFIRM_DELETE",
559
+ "REQUEST": "DELETE"
560
560
  },
561
561
  "listens": [
562
562
  {
@@ -861,29 +861,29 @@
861
861
  "name": "TableRoster",
862
862
  "linkedEntity": "TableRecord",
863
863
  "config": {
864
- "itemActions": [
865
- {
866
- "variant": "ghost",
867
- "label": "Edit",
868
- "event": "EDIT"
869
- }
870
- ],
864
+ "gap": "sm",
871
865
  "fields": [
872
866
  {
873
867
  "variant": "h4",
874
- "icon": "layout-grid",
875
- "name": "label"
868
+ "name": "label",
869
+ "icon": "layout-grid"
876
870
  },
877
871
  {
878
- "name": "capacity",
879
- "variant": "badge"
872
+ "variant": "badge",
873
+ "name": "capacity"
880
874
  },
881
875
  {
882
- "variant": "caption",
883
- "name": "section"
876
+ "name": "section",
877
+ "variant": "caption"
878
+ }
879
+ ],
880
+ "itemActions": [
881
+ {
882
+ "variant": "ghost",
883
+ "label": "Edit",
884
+ "event": "EDIT"
884
885
  }
885
886
  ],
886
- "gap": "sm",
887
887
  "cols": 1.0
888
888
  },
889
889
  "listens": [
@@ -902,14 +902,14 @@
902
902
  "name": "TableEdit",
903
903
  "linkedEntity": "TableRecord",
904
904
  "config": {
905
+ "mode": "edit",
905
906
  "icon": "edit",
906
907
  "fields": [
907
908
  "label",
908
909
  "capacity",
909
910
  "section"
910
911
  ],
911
- "title": "Edit Table",
912
- "mode": "edit"
912
+ "title": "Edit Table"
913
913
  },
914
914
  "events": {
915
915
  "OPEN": "EDIT"
@@ -1114,15 +1114,15 @@
1114
1114
  "ref": "Cart.traits.CartItemAddItem",
1115
1115
  "name": "OrderCartAddItem",
1116
1116
  "config": {
1117
- "title": "Add to Order",
1118
- "mode": "create",
1117
+ "icon": "plus-circle",
1119
1118
  "fields": [
1120
1119
  "name",
1121
1120
  "description",
1122
1121
  "status"
1123
1122
  ],
1123
+ "title": "Add to Order",
1124
1124
  "openButtonLabel": "Add Item",
1125
- "icon": "plus-circle"
1125
+ "mode": "create"
1126
1126
  }
1127
1127
  },
1128
1128
  {
@@ -1130,9 +1130,9 @@
1130
1130
  "name": "OrderCartRemoveConfirm",
1131
1131
  "config": {
1132
1132
  "alertMessage": "Remove this item from the order?",
1133
+ "icon": "alert-triangle",
1133
1134
  "confirmLabel": "Remove",
1134
- "title": "Remove From Order",
1135
- "icon": "alert-triangle"
1135
+ "title": "Remove From Order"
1136
1136
  }
1137
1137
  },
1138
1138
  {
@@ -1330,7 +1330,7 @@
1330
1330
  "main",
1331
1331
  {
1332
1332
  "type": "stack",
1333
- "direction": "vertical",
1333
+ "align": "center",
1334
1334
  "className": "py-12",
1335
1335
  "children": [
1336
1336
  {
@@ -1343,8 +1343,8 @@
1343
1343
  "color": "muted"
1344
1344
  }
1345
1345
  ],
1346
- "align": "center",
1347
- "gap": "md"
1346
+ "gap": "md",
1347
+ "direction": "vertical"
1348
1348
  }
1349
1349
  ]
1350
1350
  ]
@@ -1358,39 +1358,35 @@
1358
1358
  "render-ui",
1359
1359
  "main",
1360
1360
  {
1361
- "type": "stack",
1362
- "direction": "vertical",
1363
- "gap": "md",
1364
1361
  "children": [
1365
1362
  {
1366
- "direction": "horizontal",
1367
1363
  "align": "center",
1364
+ "direction": "horizontal",
1368
1365
  "children": [
1369
1366
  {
1370
- "name": "receipt",
1371
- "type": "icon"
1367
+ "type": "icon",
1368
+ "name": "receipt"
1372
1369
  },
1373
1370
  {
1371
+ "type": "typography",
1374
1372
  "content": "Close & Tip Split",
1375
- "variant": "h3",
1376
- "type": "typography"
1373
+ "variant": "h3"
1377
1374
  }
1378
1375
  ],
1379
- "type": "stack",
1380
- "gap": "sm"
1376
+ "gap": "sm",
1377
+ "type": "stack"
1381
1378
  },
1382
1379
  {
1383
1380
  "type": "divider"
1384
1381
  },
1385
1382
  {
1386
- "type": "data-grid",
1387
- "entity": "@payload.data",
1388
1383
  "gap": "sm",
1389
- "cols": 1.0,
1384
+ "entity": "@payload.data",
1385
+ "type": "data-grid",
1390
1386
  "fields": [
1391
1387
  {
1392
1388
  "name": "tableId",
1393
- "variant": "label"
1389
+ "variant": "caption"
1394
1390
  },
1395
1391
  {
1396
1392
  "name": "subtotal",
@@ -1405,38 +1401,42 @@
1405
1401
  "variant": "caption"
1406
1402
  },
1407
1403
  {
1408
- "variant": "h4",
1409
- "name": "total"
1404
+ "name": "total",
1405
+ "variant": "h4"
1410
1406
  },
1411
1407
  {
1412
- "variant": "badge",
1413
- "name": "status"
1408
+ "name": "status",
1409
+ "variant": "badge"
1414
1410
  }
1415
- ]
1411
+ ],
1412
+ "cols": 1.0
1416
1413
  },
1417
1414
  {
1418
1415
  "gap": "sm",
1419
- "type": "stack",
1416
+ "direction": "horizontal",
1417
+ "justify": "end",
1420
1418
  "children": [
1421
1419
  {
1420
+ "icon": "send",
1422
1421
  "type": "button",
1423
- "variant": "secondary",
1424
- "label": "Submit to Kitchen",
1425
1422
  "action": "SUBMIT",
1426
- "icon": "send"
1423
+ "label": "Submit to Kitchen",
1424
+ "variant": "secondary"
1427
1425
  },
1428
1426
  {
1429
- "type": "button",
1430
1427
  "label": "Close & Split Tip",
1428
+ "action": "CLOSE_TICKET",
1429
+ "type": "button",
1431
1430
  "icon": "split",
1432
- "variant": "primary",
1433
- "action": "CLOSE_TICKET"
1431
+ "variant": "primary"
1434
1432
  }
1435
1433
  ],
1436
- "justify": "end",
1437
- "direction": "horizontal"
1434
+ "type": "stack"
1438
1435
  }
1439
- ]
1436
+ ],
1437
+ "direction": "vertical",
1438
+ "type": "stack",
1439
+ "gap": "md"
1440
1440
  }
1441
1441
  ]
1442
1442
  ]
@@ -1450,9 +1450,9 @@
1450
1450
  "render-ui",
1451
1451
  "main",
1452
1452
  {
1453
- "message": "@payload.error",
1454
1453
  "type": "alert",
1455
- "variant": "error"
1454
+ "variant": "error",
1455
+ "message": "@payload.error"
1456
1456
  }
1457
1457
  ]
1458
1458
  ]
@@ -1621,8 +1621,8 @@
1621
1621
  "ref": "Kitchen.traits.KitchenTicketManage",
1622
1622
  "name": "KitchenBoard",
1623
1623
  "config": {
1624
- "overdueMinutes": 18.0,
1625
- "title": "Kitchen Display"
1624
+ "title": "Kitchen Display",
1625
+ "overdueMinutes": 18.0
1626
1626
  }
1627
1627
  },
1628
1628
  {
@@ -1630,11 +1630,11 @@
1630
1630
  "name": "KitchenLogList",
1631
1631
  "linkedEntity": "KitchenLog",
1632
1632
  "config": {
1633
- "gap": "sm",
1633
+ "cols": 1.0,
1634
1634
  "fields": [
1635
1635
  {
1636
- "variant": "label",
1637
- "name": "orderId"
1636
+ "name": "orderId",
1637
+ "variant": "caption"
1638
1638
  },
1639
1639
  {
1640
1640
  "name": "note",
@@ -1645,7 +1645,7 @@
1645
1645
  "name": "createdAt"
1646
1646
  }
1647
1647
  ],
1648
- "cols": 1.0
1648
+ "gap": "sm"
1649
1649
  }
1650
1650
  }
1651
1651
  ],