@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.
- package/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +72 -76
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +193 -65
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +48 -48
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
- package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +141 -141
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +157 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +72 -76
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +193 -65
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +48 -48
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +157 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors-registry.json +1 -1
- package/package.json +1 -1
|
@@ -94,37 +94,37 @@
|
|
|
94
94
|
"ref": "AppShell.traits.AppLayout",
|
|
95
95
|
"name": "MenuAppLayout",
|
|
96
96
|
"config": {
|
|
97
|
-
"
|
|
98
|
-
"contentTrait": "@trait.MenuCatalog",
|
|
97
|
+
"searchEvent": "MENU_SEARCH",
|
|
99
98
|
"appName": "Restaurant POS",
|
|
100
99
|
"navItems": [
|
|
101
100
|
{
|
|
102
|
-
"label": "Menu",
|
|
103
101
|
"icon": "utensils",
|
|
104
|
-
"href": "/menu"
|
|
102
|
+
"href": "/menu",
|
|
103
|
+
"label": "Menu"
|
|
105
104
|
},
|
|
106
105
|
{
|
|
107
|
-
"
|
|
106
|
+
"label": "Floor",
|
|
108
107
|
"icon": "layout-grid",
|
|
109
|
-
"
|
|
108
|
+
"href": "/floor"
|
|
110
109
|
},
|
|
111
110
|
{
|
|
112
|
-
"icon": "receipt",
|
|
113
111
|
"href": "/orders",
|
|
114
|
-
"label": "Orders"
|
|
112
|
+
"label": "Orders",
|
|
113
|
+
"icon": "receipt"
|
|
115
114
|
},
|
|
116
115
|
{
|
|
116
|
+
"label": "Kitchen",
|
|
117
117
|
"icon": "chef-hat",
|
|
118
|
-
"href": "/kitchen"
|
|
119
|
-
"label": "Kitchen"
|
|
118
|
+
"href": "/kitchen"
|
|
120
119
|
}
|
|
121
120
|
],
|
|
122
|
-
"
|
|
123
|
-
"notificationClickEvent": "MENU_NOTIFICATIONS_OPEN"
|
|
121
|
+
"contentTrait": "@trait.MenuCatalog",
|
|
122
|
+
"notificationClickEvent": "MENU_NOTIFICATIONS_OPEN",
|
|
123
|
+
"notifications": []
|
|
124
124
|
},
|
|
125
125
|
"events": {
|
|
126
|
-
"
|
|
127
|
-
"
|
|
126
|
+
"SEARCH": "MENU_SEARCH",
|
|
127
|
+
"NOTIFY_CLICK": "MENU_NOTIFICATIONS_OPEN"
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -207,13 +207,15 @@
|
|
|
207
207
|
"render-ui",
|
|
208
208
|
"main",
|
|
209
209
|
{
|
|
210
|
+
"gap": "lg",
|
|
211
|
+
"type": "stack",
|
|
212
|
+
"direction": "vertical",
|
|
210
213
|
"children": [
|
|
211
214
|
{
|
|
212
215
|
"children": [
|
|
213
216
|
{
|
|
214
|
-
"gap": "sm",
|
|
215
|
-
"direction": "horizontal",
|
|
216
217
|
"align": "center",
|
|
218
|
+
"direction": "horizontal",
|
|
217
219
|
"type": "stack",
|
|
218
220
|
"children": [
|
|
219
221
|
{
|
|
@@ -221,45 +223,46 @@
|
|
|
221
223
|
"name": "utensils"
|
|
222
224
|
},
|
|
223
225
|
{
|
|
224
|
-
"type": "typography",
|
|
225
226
|
"content": "Menu",
|
|
227
|
+
"type": "typography",
|
|
226
228
|
"variant": "h2"
|
|
227
229
|
}
|
|
228
|
-
]
|
|
230
|
+
],
|
|
231
|
+
"gap": "sm"
|
|
229
232
|
},
|
|
230
233
|
{
|
|
231
|
-
"gap": "sm",
|
|
232
|
-
"type": "stack",
|
|
233
|
-
"direction": "horizontal",
|
|
234
234
|
"children": [
|
|
235
235
|
{
|
|
236
|
-
"type": "button",
|
|
237
|
-
"action": "CREATE",
|
|
238
236
|
"label": "New Item",
|
|
237
|
+
"icon": "plus",
|
|
238
|
+
"action": "CREATE",
|
|
239
239
|
"variant": "primary",
|
|
240
|
-
"
|
|
240
|
+
"type": "button"
|
|
241
241
|
}
|
|
242
|
-
]
|
|
242
|
+
],
|
|
243
|
+
"gap": "sm",
|
|
244
|
+
"direction": "horizontal",
|
|
245
|
+
"type": "stack"
|
|
243
246
|
}
|
|
244
247
|
],
|
|
248
|
+
"direction": "horizontal",
|
|
245
249
|
"gap": "md",
|
|
246
250
|
"type": "stack",
|
|
247
|
-
"justify": "between",
|
|
248
251
|
"align": "center",
|
|
249
|
-
"
|
|
252
|
+
"justify": "between"
|
|
250
253
|
},
|
|
251
254
|
{
|
|
252
255
|
"type": "divider"
|
|
253
256
|
},
|
|
254
257
|
{
|
|
258
|
+
"direction": "horizontal",
|
|
259
|
+
"align": "center",
|
|
255
260
|
"children": [
|
|
256
261
|
"@trait.MenuSearch",
|
|
257
262
|
"@trait.MenuFilter"
|
|
258
263
|
],
|
|
259
|
-
"direction": "horizontal",
|
|
260
|
-
"gap": "md",
|
|
261
264
|
"type": "stack",
|
|
262
|
-
"
|
|
265
|
+
"gap": "md"
|
|
263
266
|
},
|
|
264
267
|
"@trait.MenuCategoryTree",
|
|
265
268
|
{
|
|
@@ -270,8 +273,8 @@
|
|
|
270
273
|
"type": "divider"
|
|
271
274
|
},
|
|
272
275
|
{
|
|
273
|
-
"content": "Modifier groups",
|
|
274
276
|
"type": "typography",
|
|
277
|
+
"content": "Modifier groups",
|
|
275
278
|
"variant": "h3"
|
|
276
279
|
},
|
|
277
280
|
"@trait.MenuModifierGroups",
|
|
@@ -279,15 +282,12 @@
|
|
|
279
282
|
"type": "divider"
|
|
280
283
|
},
|
|
281
284
|
{
|
|
282
|
-
"type": "typography",
|
|
283
285
|
"variant": "h3",
|
|
286
|
+
"type": "typography",
|
|
284
287
|
"content": "Item images"
|
|
285
288
|
},
|
|
286
289
|
"@trait.MenuImageUpload"
|
|
287
|
-
]
|
|
288
|
-
"direction": "vertical",
|
|
289
|
-
"type": "stack",
|
|
290
|
-
"gap": "lg"
|
|
290
|
+
]
|
|
291
291
|
}
|
|
292
292
|
]
|
|
293
293
|
]
|
|
@@ -306,20 +306,18 @@
|
|
|
306
306
|
"render-ui",
|
|
307
307
|
"main",
|
|
308
308
|
{
|
|
309
|
-
"gap": "md",
|
|
310
309
|
"type": "stack",
|
|
311
310
|
"direction": "vertical",
|
|
312
311
|
"align": "center",
|
|
313
|
-
"className": "py-8",
|
|
314
312
|
"children": [
|
|
315
313
|
{
|
|
316
314
|
"type": "icon",
|
|
317
315
|
"name": "bell"
|
|
318
316
|
},
|
|
319
317
|
{
|
|
320
|
-
"variant": "h3",
|
|
321
318
|
"content": "No notifications",
|
|
322
|
-
"type": "typography"
|
|
319
|
+
"type": "typography",
|
|
320
|
+
"variant": "h3"
|
|
323
321
|
},
|
|
324
322
|
{
|
|
325
323
|
"variant": "ghost",
|
|
@@ -327,7 +325,9 @@
|
|
|
327
325
|
"type": "button",
|
|
328
326
|
"action": "INIT"
|
|
329
327
|
}
|
|
330
|
-
]
|
|
328
|
+
],
|
|
329
|
+
"className": "py-8",
|
|
330
|
+
"gap": "md"
|
|
331
331
|
}
|
|
332
332
|
]
|
|
333
333
|
]
|
|
@@ -361,12 +361,12 @@
|
|
|
361
361
|
"label": "Category"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
|
+
"field": "available",
|
|
365
|
+
"label": "Available",
|
|
364
366
|
"options": [
|
|
365
367
|
"true",
|
|
366
368
|
"false"
|
|
367
369
|
],
|
|
368
|
-
"field": "available",
|
|
369
|
-
"label": "Available",
|
|
370
370
|
"filterType": "select"
|
|
371
371
|
}
|
|
372
372
|
],
|
|
@@ -377,8 +377,8 @@
|
|
|
377
377
|
"ref": "TagTaxonomy.traits.TagBrowse",
|
|
378
378
|
"name": "MenuCategoryTree",
|
|
379
379
|
"config": {
|
|
380
|
-
"
|
|
381
|
-
"
|
|
380
|
+
"title": "Categories",
|
|
381
|
+
"allowEdit": false
|
|
382
382
|
}
|
|
383
383
|
},
|
|
384
384
|
{
|
|
@@ -386,12 +386,23 @@
|
|
|
386
386
|
"name": "MenuBrowseList",
|
|
387
387
|
"linkedEntity": "MenuRecord",
|
|
388
388
|
"config": {
|
|
389
|
-
"
|
|
389
|
+
"itemActions": [
|
|
390
|
+
{
|
|
391
|
+
"label": "Edit",
|
|
392
|
+
"event": "EDIT",
|
|
393
|
+
"variant": "ghost"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"label": "Delete",
|
|
397
|
+
"event": "DELETE",
|
|
398
|
+
"variant": "danger"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
390
401
|
"fields": [
|
|
391
402
|
{
|
|
392
|
-
"icon": "utensils",
|
|
393
403
|
"name": "name",
|
|
394
|
-
"variant": "h4"
|
|
404
|
+
"variant": "h4",
|
|
405
|
+
"icon": "utensils"
|
|
395
406
|
},
|
|
396
407
|
{
|
|
397
408
|
"name": "category",
|
|
@@ -411,18 +422,7 @@
|
|
|
411
422
|
}
|
|
412
423
|
],
|
|
413
424
|
"cols": 1.0,
|
|
414
|
-
"
|
|
415
|
-
{
|
|
416
|
-
"event": "EDIT",
|
|
417
|
-
"variant": "ghost",
|
|
418
|
-
"label": "Edit"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"event": "DELETE",
|
|
422
|
-
"label": "Delete",
|
|
423
|
-
"variant": "danger"
|
|
424
|
-
}
|
|
425
|
-
]
|
|
425
|
+
"gap": "sm"
|
|
426
426
|
},
|
|
427
427
|
"listens": [
|
|
428
428
|
{
|
|
@@ -479,9 +479,9 @@
|
|
|
479
479
|
"name": "MenuImageUpload",
|
|
480
480
|
"config": {
|
|
481
481
|
"title": "Item Images",
|
|
482
|
-
"
|
|
482
|
+
"accept": "image/*",
|
|
483
483
|
"maxImages": 12.0,
|
|
484
|
-
"
|
|
484
|
+
"maxBytesPerImage": 5242880.0
|
|
485
485
|
}
|
|
486
486
|
},
|
|
487
487
|
{
|
|
@@ -489,16 +489,16 @@
|
|
|
489
489
|
"name": "MenuCreate",
|
|
490
490
|
"linkedEntity": "MenuRecord",
|
|
491
491
|
"config": {
|
|
492
|
-
"title": "New Menu Item",
|
|
493
492
|
"mode": "create",
|
|
494
|
-
"icon": "plus-circle",
|
|
495
493
|
"fields": [
|
|
496
494
|
"name",
|
|
497
495
|
"description",
|
|
498
496
|
"price",
|
|
499
497
|
"category",
|
|
500
498
|
"available"
|
|
501
|
-
]
|
|
499
|
+
],
|
|
500
|
+
"title": "New Menu Item",
|
|
501
|
+
"icon": "plus-circle"
|
|
502
502
|
},
|
|
503
503
|
"events": {
|
|
504
504
|
"OPEN": "CREATE"
|
|
@@ -519,16 +519,16 @@
|
|
|
519
519
|
"name": "MenuEdit",
|
|
520
520
|
"linkedEntity": "MenuRecord",
|
|
521
521
|
"config": {
|
|
522
|
-
"icon": "edit",
|
|
523
|
-
"mode": "edit",
|
|
524
|
-
"title": "Edit Menu Item",
|
|
525
522
|
"fields": [
|
|
526
523
|
"name",
|
|
527
524
|
"description",
|
|
528
525
|
"price",
|
|
529
526
|
"category",
|
|
530
527
|
"available"
|
|
531
|
-
]
|
|
528
|
+
],
|
|
529
|
+
"mode": "edit",
|
|
530
|
+
"title": "Edit Menu Item",
|
|
531
|
+
"icon": "edit"
|
|
532
532
|
},
|
|
533
533
|
"events": {
|
|
534
534
|
"OPEN": "EDIT"
|
|
@@ -549,14 +549,14 @@
|
|
|
549
549
|
"name": "MenuDelete",
|
|
550
550
|
"linkedEntity": "MenuRecord",
|
|
551
551
|
"config": {
|
|
552
|
-
"icon": "alert-triangle",
|
|
553
|
-
"confirmLabel": "Delete",
|
|
554
552
|
"title": "Delete Menu Item",
|
|
555
|
-
"alertMessage": "This action cannot be undone."
|
|
553
|
+
"alertMessage": "This action cannot be undone.",
|
|
554
|
+
"confirmLabel": "Delete",
|
|
555
|
+
"icon": "alert-triangle"
|
|
556
556
|
},
|
|
557
557
|
"events": {
|
|
558
|
-
"
|
|
559
|
-
"
|
|
558
|
+
"REQUEST": "DELETE",
|
|
559
|
+
"CONFIRM": "CONFIRM_DELETE"
|
|
560
560
|
},
|
|
561
561
|
"listens": [
|
|
562
562
|
{
|
|
@@ -851,8 +851,8 @@
|
|
|
851
851
|
"ref": "TableMap.traits.TableManage",
|
|
852
852
|
"name": "TableFloorPlan",
|
|
853
853
|
"config": {
|
|
854
|
-
"title": "Floor Plan",
|
|
855
854
|
"canvasHeight": 640.0,
|
|
855
|
+
"title": "Floor Plan",
|
|
856
856
|
"canvasWidth": 960.0
|
|
857
857
|
}
|
|
858
858
|
},
|
|
@@ -861,30 +861,30 @@
|
|
|
861
861
|
"name": "TableRoster",
|
|
862
862
|
"linkedEntity": "TableRecord",
|
|
863
863
|
"config": {
|
|
864
|
-
"
|
|
865
|
-
|
|
864
|
+
"itemActions": [
|
|
865
|
+
{
|
|
866
|
+
"variant": "ghost",
|
|
867
|
+
"label": "Edit",
|
|
868
|
+
"event": "EDIT"
|
|
869
|
+
}
|
|
870
|
+
],
|
|
866
871
|
"fields": [
|
|
867
872
|
{
|
|
868
873
|
"variant": "h4",
|
|
869
|
-
"
|
|
870
|
-
"
|
|
874
|
+
"icon": "layout-grid",
|
|
875
|
+
"name": "label"
|
|
871
876
|
},
|
|
872
877
|
{
|
|
873
|
-
"
|
|
874
|
-
"
|
|
878
|
+
"name": "capacity",
|
|
879
|
+
"variant": "badge"
|
|
875
880
|
},
|
|
876
881
|
{
|
|
877
|
-
"
|
|
878
|
-
"
|
|
882
|
+
"variant": "caption",
|
|
883
|
+
"name": "section"
|
|
879
884
|
}
|
|
880
885
|
],
|
|
881
|
-
"
|
|
882
|
-
|
|
883
|
-
"event": "EDIT",
|
|
884
|
-
"variant": "ghost",
|
|
885
|
-
"label": "Edit"
|
|
886
|
-
}
|
|
887
|
-
]
|
|
886
|
+
"gap": "sm",
|
|
887
|
+
"cols": 1.0
|
|
888
888
|
},
|
|
889
889
|
"listens": [
|
|
890
890
|
{
|
|
@@ -902,14 +902,14 @@
|
|
|
902
902
|
"name": "TableEdit",
|
|
903
903
|
"linkedEntity": "TableRecord",
|
|
904
904
|
"config": {
|
|
905
|
-
"title": "Edit Table",
|
|
906
905
|
"icon": "edit",
|
|
907
|
-
"mode": "edit",
|
|
908
906
|
"fields": [
|
|
909
907
|
"label",
|
|
910
908
|
"capacity",
|
|
911
909
|
"section"
|
|
912
|
-
]
|
|
910
|
+
],
|
|
911
|
+
"title": "Edit Table",
|
|
912
|
+
"mode": "edit"
|
|
913
913
|
},
|
|
914
914
|
"events": {
|
|
915
915
|
"OPEN": "EDIT"
|
|
@@ -1114,24 +1114,24 @@
|
|
|
1114
1114
|
"ref": "Cart.traits.CartItemAddItem",
|
|
1115
1115
|
"name": "OrderCartAddItem",
|
|
1116
1116
|
"config": {
|
|
1117
|
+
"title": "Add to Order",
|
|
1118
|
+
"mode": "create",
|
|
1117
1119
|
"fields": [
|
|
1118
1120
|
"name",
|
|
1119
1121
|
"description",
|
|
1120
1122
|
"status"
|
|
1121
1123
|
],
|
|
1122
|
-
"mode": "create",
|
|
1123
1124
|
"openButtonLabel": "Add Item",
|
|
1124
|
-
"icon": "plus-circle"
|
|
1125
|
-
"title": "Add to Order"
|
|
1125
|
+
"icon": "plus-circle"
|
|
1126
1126
|
}
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
1129
|
"ref": "Cart.traits.CartItemRemoveConfirm",
|
|
1130
1130
|
"name": "OrderCartRemoveConfirm",
|
|
1131
1131
|
"config": {
|
|
1132
|
-
"title": "Remove From Order",
|
|
1133
|
-
"confirmLabel": "Remove",
|
|
1134
1132
|
"alertMessage": "Remove this item from the order?",
|
|
1133
|
+
"confirmLabel": "Remove",
|
|
1134
|
+
"title": "Remove From Order",
|
|
1135
1135
|
"icon": "alert-triangle"
|
|
1136
1136
|
}
|
|
1137
1137
|
},
|
|
@@ -1320,8 +1320,8 @@
|
|
|
1320
1320
|
"OrderTicket",
|
|
1321
1321
|
{
|
|
1322
1322
|
"emit": {
|
|
1323
|
-
"
|
|
1324
|
-
"
|
|
1323
|
+
"failure": "OrderTicketLoadFailed",
|
|
1324
|
+
"success": "OrderTicketLoaded"
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
1327
|
],
|
|
@@ -1329,22 +1329,22 @@
|
|
|
1329
1329
|
"render-ui",
|
|
1330
1330
|
"main",
|
|
1331
1331
|
{
|
|
1332
|
-
"gap": "md",
|
|
1333
|
-
"align": "center",
|
|
1334
|
-
"className": "py-12",
|
|
1335
1332
|
"type": "stack",
|
|
1333
|
+
"direction": "vertical",
|
|
1334
|
+
"className": "py-12",
|
|
1336
1335
|
"children": [
|
|
1337
1336
|
{
|
|
1338
1337
|
"type": "spinner"
|
|
1339
1338
|
},
|
|
1340
1339
|
{
|
|
1341
|
-
"color": "muted",
|
|
1342
1340
|
"content": "Loading order…",
|
|
1341
|
+
"variant": "caption",
|
|
1343
1342
|
"type": "typography",
|
|
1344
|
-
"
|
|
1343
|
+
"color": "muted"
|
|
1345
1344
|
}
|
|
1346
1345
|
],
|
|
1347
|
-
"
|
|
1346
|
+
"align": "center",
|
|
1347
|
+
"gap": "md"
|
|
1348
1348
|
}
|
|
1349
1349
|
]
|
|
1350
1350
|
]
|
|
@@ -1358,26 +1358,26 @@
|
|
|
1358
1358
|
"render-ui",
|
|
1359
1359
|
"main",
|
|
1360
1360
|
{
|
|
1361
|
-
"gap": "md",
|
|
1362
1361
|
"type": "stack",
|
|
1363
1362
|
"direction": "vertical",
|
|
1363
|
+
"gap": "md",
|
|
1364
1364
|
"children": [
|
|
1365
1365
|
{
|
|
1366
|
+
"direction": "horizontal",
|
|
1366
1367
|
"align": "center",
|
|
1367
|
-
"gap": "sm",
|
|
1368
|
-
"type": "stack",
|
|
1369
1368
|
"children": [
|
|
1370
1369
|
{
|
|
1371
1370
|
"name": "receipt",
|
|
1372
1371
|
"type": "icon"
|
|
1373
1372
|
},
|
|
1374
1373
|
{
|
|
1375
|
-
"variant": "h3",
|
|
1376
1374
|
"content": "Close & Tip Split",
|
|
1375
|
+
"variant": "h3",
|
|
1377
1376
|
"type": "typography"
|
|
1378
1377
|
}
|
|
1379
1378
|
],
|
|
1380
|
-
"
|
|
1379
|
+
"type": "stack",
|
|
1380
|
+
"gap": "sm"
|
|
1381
1381
|
},
|
|
1382
1382
|
{
|
|
1383
1383
|
"type": "divider"
|
|
@@ -1393,20 +1393,20 @@
|
|
|
1393
1393
|
"variant": "label"
|
|
1394
1394
|
},
|
|
1395
1395
|
{
|
|
1396
|
-
"
|
|
1397
|
-
"
|
|
1396
|
+
"name": "subtotal",
|
|
1397
|
+
"variant": "caption"
|
|
1398
1398
|
},
|
|
1399
1399
|
{
|
|
1400
|
-
"
|
|
1401
|
-
"
|
|
1400
|
+
"name": "taxAmount",
|
|
1401
|
+
"variant": "caption"
|
|
1402
1402
|
},
|
|
1403
1403
|
{
|
|
1404
|
-
"
|
|
1405
|
-
"
|
|
1404
|
+
"name": "tipAmount",
|
|
1405
|
+
"variant": "caption"
|
|
1406
1406
|
},
|
|
1407
1407
|
{
|
|
1408
|
-
"
|
|
1409
|
-
"
|
|
1408
|
+
"variant": "h4",
|
|
1409
|
+
"name": "total"
|
|
1410
1410
|
},
|
|
1411
1411
|
{
|
|
1412
1412
|
"variant": "badge",
|
|
@@ -1416,25 +1416,25 @@
|
|
|
1416
1416
|
},
|
|
1417
1417
|
{
|
|
1418
1418
|
"gap": "sm",
|
|
1419
|
-
"
|
|
1420
|
-
"justify": "end",
|
|
1419
|
+
"type": "stack",
|
|
1421
1420
|
"children": [
|
|
1422
1421
|
{
|
|
1423
1422
|
"type": "button",
|
|
1424
|
-
"icon": "send",
|
|
1425
1423
|
"variant": "secondary",
|
|
1426
1424
|
"label": "Submit to Kitchen",
|
|
1427
|
-
"action": "SUBMIT"
|
|
1425
|
+
"action": "SUBMIT",
|
|
1426
|
+
"icon": "send"
|
|
1428
1427
|
},
|
|
1429
1428
|
{
|
|
1430
|
-
"
|
|
1429
|
+
"type": "button",
|
|
1431
1430
|
"label": "Close & Split Tip",
|
|
1432
|
-
"action": "CLOSE_TICKET",
|
|
1433
1431
|
"icon": "split",
|
|
1434
|
-
"
|
|
1432
|
+
"variant": "primary",
|
|
1433
|
+
"action": "CLOSE_TICKET"
|
|
1435
1434
|
}
|
|
1436
1435
|
],
|
|
1437
|
-
"
|
|
1436
|
+
"justify": "end",
|
|
1437
|
+
"direction": "horizontal"
|
|
1438
1438
|
}
|
|
1439
1439
|
]
|
|
1440
1440
|
}
|
|
@@ -1450,8 +1450,8 @@
|
|
|
1450
1450
|
"render-ui",
|
|
1451
1451
|
"main",
|
|
1452
1452
|
{
|
|
1453
|
-
"type": "alert",
|
|
1454
1453
|
"message": "@payload.error",
|
|
1454
|
+
"type": "alert",
|
|
1455
1455
|
"variant": "error"
|
|
1456
1456
|
}
|
|
1457
1457
|
]
|
|
@@ -1476,8 +1476,8 @@
|
|
|
1476
1476
|
"render-ui",
|
|
1477
1477
|
"main",
|
|
1478
1478
|
{
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1479
|
+
"type": "spinner",
|
|
1480
|
+
"size": "sm"
|
|
1481
1481
|
}
|
|
1482
1482
|
]
|
|
1483
1483
|
]
|
|
@@ -1630,10 +1630,11 @@
|
|
|
1630
1630
|
"name": "KitchenLogList",
|
|
1631
1631
|
"linkedEntity": "KitchenLog",
|
|
1632
1632
|
"config": {
|
|
1633
|
+
"gap": "sm",
|
|
1633
1634
|
"fields": [
|
|
1634
1635
|
{
|
|
1635
|
-
"
|
|
1636
|
-
"
|
|
1636
|
+
"variant": "label",
|
|
1637
|
+
"name": "orderId"
|
|
1637
1638
|
},
|
|
1638
1639
|
{
|
|
1639
1640
|
"name": "note",
|
|
@@ -1644,8 +1645,7 @@
|
|
|
1644
1645
|
"name": "createdAt"
|
|
1645
1646
|
}
|
|
1646
1647
|
],
|
|
1647
|
-
"cols": 1.0
|
|
1648
|
-
"gap": "sm"
|
|
1648
|
+
"cols": 1.0
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
1651
|
],
|