@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.
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +50 -50
- package/behaviors/registry/app/atoms/std-route-optimize.orb +53 -51
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +85 -69
- package/behaviors/registry/app/atoms/std-work-order.orb +47 -47
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +204 -212
- package/behaviors/registry/app/organisms/std-field-service.orb +183 -187
- package/behaviors/registry/app/organisms/std-forum.orb +131 -132
- package/behaviors/registry/app/organisms/std-listings.orb +177 -182
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +130 -130
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +174 -176
- package/behaviors/registry/app/organisms/std-survey.orb +144 -145
- package/behaviors/registry/app/organisms/std-wiki.orb +129 -130
- package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +53 -51
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +85 -69
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +47 -47
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +204 -212
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +183 -187
- package/dist/behaviors/registry/app/organisms/std-forum.orb +131 -132
- package/dist/behaviors/registry/app/organisms/std-listings.orb +177 -182
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +130 -130
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +174 -176
- package/dist/behaviors/registry/app/organisms/std-survey.orb +144 -145
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +129 -130
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/package.json +7 -14
|
@@ -133,28 +133,28 @@
|
|
|
133
133
|
"ref": "AppShell.traits.AppLayout",
|
|
134
134
|
"name": "WorkOrderAppLayout",
|
|
135
135
|
"config": {
|
|
136
|
+
"notifications": [],
|
|
137
|
+
"appName": "Field Service",
|
|
138
|
+
"notificationClickEvent": "WORK_ORDER_NOTIFICATIONS_OPEN",
|
|
139
|
+
"contentTrait": "@trait.WorkOrderCatalog",
|
|
140
|
+
"searchEvent": "WORK_ORDER_SEARCH",
|
|
136
141
|
"navItems": [
|
|
137
142
|
{
|
|
143
|
+
"icon": "clipboard-list",
|
|
138
144
|
"label": "Work Orders",
|
|
139
|
-
"href": "/workorders"
|
|
140
|
-
"icon": "clipboard-list"
|
|
145
|
+
"href": "/workorders"
|
|
141
146
|
},
|
|
142
147
|
{
|
|
143
|
-
"
|
|
148
|
+
"icon": "hard-hat",
|
|
144
149
|
"label": "Technicians",
|
|
145
|
-
"
|
|
150
|
+
"href": "/technicians"
|
|
146
151
|
},
|
|
147
152
|
{
|
|
148
|
-
"href": "/jobs/checkin",
|
|
149
153
|
"icon": "map-pin",
|
|
154
|
+
"href": "/jobs/checkin",
|
|
150
155
|
"label": "Check In"
|
|
151
156
|
}
|
|
152
|
-
]
|
|
153
|
-
"appName": "Field Service",
|
|
154
|
-
"searchEvent": "WORK_ORDER_SEARCH",
|
|
155
|
-
"contentTrait": "@trait.WorkOrderCatalog",
|
|
156
|
-
"notifications": [],
|
|
157
|
-
"notificationClickEvent": "WORK_ORDER_NOTIFICATIONS_OPEN"
|
|
157
|
+
]
|
|
158
158
|
},
|
|
159
159
|
"events": {
|
|
160
160
|
"SEARCH": "WORK_ORDER_SEARCH",
|
|
@@ -241,16 +241,17 @@
|
|
|
241
241
|
"render-ui",
|
|
242
242
|
"main",
|
|
243
243
|
{
|
|
244
|
-
"type": "stack",
|
|
245
|
-
"gap": "lg",
|
|
246
244
|
"children": [
|
|
247
245
|
{
|
|
248
|
-
"type": "stack",
|
|
249
246
|
"direction": "horizontal",
|
|
247
|
+
"align": "center",
|
|
250
248
|
"gap": "md",
|
|
249
|
+
"type": "stack",
|
|
251
250
|
"justify": "between",
|
|
252
251
|
"children": [
|
|
253
252
|
{
|
|
253
|
+
"align": "center",
|
|
254
|
+
"type": "stack",
|
|
254
255
|
"direction": "horizontal",
|
|
255
256
|
"gap": "sm",
|
|
256
257
|
"children": [
|
|
@@ -259,42 +260,39 @@
|
|
|
259
260
|
"name": "clipboard-list"
|
|
260
261
|
},
|
|
261
262
|
{
|
|
263
|
+
"variant": "h2",
|
|
262
264
|
"type": "typography",
|
|
263
|
-
"content": "Work Orders"
|
|
264
|
-
"variant": "h2"
|
|
265
|
+
"content": "Work Orders"
|
|
265
266
|
}
|
|
266
|
-
]
|
|
267
|
-
"type": "stack",
|
|
268
|
-
"align": "center"
|
|
267
|
+
]
|
|
269
268
|
},
|
|
270
269
|
{
|
|
271
|
-
"gap": "sm",
|
|
272
|
-
"type": "stack",
|
|
273
|
-
"direction": "horizontal",
|
|
274
270
|
"children": [
|
|
275
271
|
{
|
|
276
|
-
"icon": "plus",
|
|
277
272
|
"type": "button",
|
|
278
273
|
"label": "New Work Order",
|
|
279
|
-
"
|
|
280
|
-
"
|
|
274
|
+
"variant": "primary",
|
|
275
|
+
"icon": "plus",
|
|
276
|
+
"action": "CREATE"
|
|
281
277
|
}
|
|
282
|
-
]
|
|
278
|
+
],
|
|
279
|
+
"gap": "sm",
|
|
280
|
+
"direction": "horizontal",
|
|
281
|
+
"type": "stack"
|
|
283
282
|
}
|
|
284
|
-
]
|
|
285
|
-
"align": "center"
|
|
283
|
+
]
|
|
286
284
|
},
|
|
287
285
|
{
|
|
288
286
|
"type": "divider"
|
|
289
287
|
},
|
|
290
288
|
{
|
|
289
|
+
"align": "center",
|
|
290
|
+
"type": "stack",
|
|
291
291
|
"children": [
|
|
292
292
|
"@trait.WorkOrderSearch",
|
|
293
293
|
"@trait.WorkOrderFilter"
|
|
294
294
|
],
|
|
295
|
-
"type": "stack",
|
|
296
295
|
"direction": "horizontal",
|
|
297
|
-
"align": "center",
|
|
298
296
|
"gap": "md"
|
|
299
297
|
},
|
|
300
298
|
"@trait.WorkOrderStats",
|
|
@@ -306,9 +304,9 @@
|
|
|
306
304
|
"type": "divider"
|
|
307
305
|
},
|
|
308
306
|
{
|
|
307
|
+
"content": "Dispatch",
|
|
309
308
|
"variant": "h3",
|
|
310
|
-
"type": "typography"
|
|
311
|
-
"content": "Dispatch"
|
|
309
|
+
"type": "typography"
|
|
312
310
|
},
|
|
313
311
|
"@trait.WorkOrderDispatch",
|
|
314
312
|
{
|
|
@@ -321,7 +319,9 @@
|
|
|
321
319
|
},
|
|
322
320
|
"@trait.WorkOrderRoutes"
|
|
323
321
|
],
|
|
324
|
-
"direction": "vertical"
|
|
322
|
+
"direction": "vertical",
|
|
323
|
+
"gap": "lg",
|
|
324
|
+
"type": "stack"
|
|
325
325
|
}
|
|
326
326
|
]
|
|
327
327
|
]
|
|
@@ -340,34 +340,34 @@
|
|
|
340
340
|
"render-ui",
|
|
341
341
|
"main",
|
|
342
342
|
{
|
|
343
|
-
"
|
|
343
|
+
"direction": "vertical",
|
|
344
344
|
"gap": "md",
|
|
345
|
+
"align": "center",
|
|
346
|
+
"type": "stack",
|
|
345
347
|
"className": "py-8",
|
|
346
348
|
"children": [
|
|
347
349
|
{
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
+
"name": "bell",
|
|
351
|
+
"type": "icon"
|
|
350
352
|
},
|
|
351
353
|
{
|
|
352
|
-
"variant": "h3",
|
|
353
354
|
"type": "typography",
|
|
354
|
-
"content": "No notifications"
|
|
355
|
+
"content": "No notifications",
|
|
356
|
+
"variant": "h3"
|
|
355
357
|
},
|
|
356
358
|
{
|
|
357
|
-
"variant": "caption",
|
|
358
359
|
"color": "muted",
|
|
359
360
|
"type": "typography",
|
|
361
|
+
"variant": "caption",
|
|
360
362
|
"content": "You're all caught up."
|
|
361
363
|
},
|
|
362
364
|
{
|
|
363
365
|
"action": "INIT",
|
|
364
|
-
"
|
|
366
|
+
"variant": "ghost",
|
|
365
367
|
"label": "Back to work orders",
|
|
366
|
-
"
|
|
368
|
+
"type": "button"
|
|
367
369
|
}
|
|
368
|
-
]
|
|
369
|
-
"type": "stack",
|
|
370
|
-
"direction": "vertical"
|
|
370
|
+
]
|
|
371
371
|
}
|
|
372
372
|
]
|
|
373
373
|
]
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"filterType": "select"
|
|
402
402
|
},
|
|
403
403
|
{
|
|
404
|
-
"
|
|
404
|
+
"filterType": "select",
|
|
405
405
|
"label": "Status",
|
|
406
406
|
"options": [
|
|
407
407
|
"created",
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
"completed",
|
|
412
412
|
"cancelled"
|
|
413
413
|
],
|
|
414
|
-
"
|
|
414
|
+
"field": "status"
|
|
415
415
|
}
|
|
416
416
|
],
|
|
417
417
|
"event": "WORK_ORDER_FILTER"
|
|
@@ -424,17 +424,14 @@
|
|
|
424
424
|
"title": "Work Orders",
|
|
425
425
|
"metrics": [
|
|
426
426
|
{
|
|
427
|
-
"format": "number",
|
|
428
427
|
"icon": "clipboard-list",
|
|
429
|
-
"
|
|
428
|
+
"format": "number",
|
|
429
|
+
"variant": "primary",
|
|
430
430
|
"label": "Total",
|
|
431
|
-
"
|
|
431
|
+
"aggregation": "count"
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
|
-
"variant": "warning",
|
|
435
|
-
"label": "Open",
|
|
436
434
|
"icon": "circle",
|
|
437
|
-
"format": "number",
|
|
438
435
|
"aggregation": "count",
|
|
439
436
|
"filter": [
|
|
440
437
|
"fn",
|
|
@@ -444,12 +441,17 @@
|
|
|
444
441
|
"@row.status",
|
|
445
442
|
"created"
|
|
446
443
|
]
|
|
447
|
-
]
|
|
444
|
+
],
|
|
445
|
+
"label": "Open",
|
|
446
|
+
"variant": "warning",
|
|
447
|
+
"format": "number"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
|
+
"aggregation": "count",
|
|
451
|
+
"label": "On Site",
|
|
450
452
|
"variant": "info",
|
|
453
|
+
"icon": "map-pin",
|
|
451
454
|
"format": "number",
|
|
452
|
-
"aggregation": "count",
|
|
453
455
|
"filter": [
|
|
454
456
|
"fn",
|
|
455
457
|
"row",
|
|
@@ -458,13 +460,9 @@
|
|
|
458
460
|
"@row.status",
|
|
459
461
|
"on-site"
|
|
460
462
|
]
|
|
461
|
-
]
|
|
462
|
-
"label": "On Site",
|
|
463
|
-
"icon": "map-pin"
|
|
463
|
+
]
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
|
-
"icon": "check-circle",
|
|
467
|
-
"format": "number",
|
|
468
466
|
"filter": [
|
|
469
467
|
"fn",
|
|
470
468
|
"row",
|
|
@@ -476,7 +474,9 @@
|
|
|
476
474
|
],
|
|
477
475
|
"label": "Completed",
|
|
478
476
|
"aggregation": "count",
|
|
479
|
-
"variant": "success"
|
|
477
|
+
"variant": "success",
|
|
478
|
+
"icon": "check-circle",
|
|
479
|
+
"format": "number"
|
|
480
480
|
}
|
|
481
481
|
]
|
|
482
482
|
},
|
|
@@ -496,27 +496,46 @@
|
|
|
496
496
|
"name": "WorkOrderBrowseList",
|
|
497
497
|
"linkedEntity": "WorkOrderRow",
|
|
498
498
|
"config": {
|
|
499
|
+
"itemActions": [
|
|
500
|
+
{
|
|
501
|
+
"variant": "ghost",
|
|
502
|
+
"event": "VIEW",
|
|
503
|
+
"label": "View"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"label": "Edit",
|
|
507
|
+
"event": "EDIT",
|
|
508
|
+
"variant": "ghost"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"variant": "danger",
|
|
512
|
+
"label": "Delete",
|
|
513
|
+
"event": "DELETE"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"cols": 1.0,
|
|
517
|
+
"gap": "sm",
|
|
499
518
|
"fields": [
|
|
500
519
|
{
|
|
501
|
-
"
|
|
520
|
+
"variant": "h4",
|
|
502
521
|
"icon": "user",
|
|
503
|
-
"
|
|
522
|
+
"name": "customerName"
|
|
504
523
|
},
|
|
505
524
|
{
|
|
506
|
-
"
|
|
507
|
-
"
|
|
525
|
+
"variant": "body",
|
|
526
|
+
"name": "serviceType"
|
|
508
527
|
},
|
|
509
528
|
{
|
|
510
|
-
"
|
|
511
|
-
"
|
|
529
|
+
"variant": "caption",
|
|
530
|
+
"name": "address"
|
|
512
531
|
},
|
|
513
532
|
{
|
|
514
533
|
"variant": "badge",
|
|
515
534
|
"name": "priority"
|
|
516
535
|
},
|
|
517
536
|
{
|
|
518
|
-
"
|
|
519
|
-
"
|
|
537
|
+
"variant": "badge",
|
|
538
|
+
"name": "status"
|
|
520
539
|
},
|
|
521
540
|
{
|
|
522
541
|
"name": "assignedTo",
|
|
@@ -526,26 +545,7 @@
|
|
|
526
545
|
"variant": "caption",
|
|
527
546
|
"name": "etaMinutes"
|
|
528
547
|
}
|
|
529
|
-
]
|
|
530
|
-
"cols": 1.0,
|
|
531
|
-
"itemActions": [
|
|
532
|
-
{
|
|
533
|
-
"event": "VIEW",
|
|
534
|
-
"label": "View",
|
|
535
|
-
"variant": "ghost"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"variant": "ghost",
|
|
539
|
-
"label": "Edit",
|
|
540
|
-
"event": "EDIT"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"label": "Delete",
|
|
544
|
-
"variant": "danger",
|
|
545
|
-
"event": "DELETE"
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
"gap": "sm"
|
|
548
|
+
]
|
|
549
549
|
},
|
|
550
550
|
"listens": [
|
|
551
551
|
{
|
|
@@ -593,7 +593,6 @@
|
|
|
593
593
|
{
|
|
594
594
|
"ref": "Dispatch.traits.TechnicianDispatch",
|
|
595
595
|
"name": "WorkOrderDispatch",
|
|
596
|
-
"linkedEntity": "WorkOrderRow",
|
|
597
596
|
"config": {
|
|
598
597
|
"title": "Available Technicians"
|
|
599
598
|
}
|
|
@@ -610,6 +609,8 @@
|
|
|
610
609
|
"name": "WorkOrderCreate",
|
|
611
610
|
"linkedEntity": "WorkOrderRow",
|
|
612
611
|
"config": {
|
|
612
|
+
"mode": "create",
|
|
613
|
+
"icon": "plus-circle",
|
|
613
614
|
"title": "New Work Order",
|
|
614
615
|
"fields": [
|
|
615
616
|
"customerName",
|
|
@@ -621,9 +622,7 @@
|
|
|
621
622
|
"scheduledAt",
|
|
622
623
|
"etaMinutes",
|
|
623
624
|
"notes"
|
|
624
|
-
]
|
|
625
|
-
"icon": "plus-circle",
|
|
626
|
-
"mode": "create"
|
|
625
|
+
]
|
|
627
626
|
},
|
|
628
627
|
"events": {
|
|
629
628
|
"OPEN": "CREATE"
|
|
@@ -645,6 +644,8 @@
|
|
|
645
644
|
"linkedEntity": "WorkOrderRow",
|
|
646
645
|
"config": {
|
|
647
646
|
"icon": "edit",
|
|
647
|
+
"title": "Edit Work Order",
|
|
648
|
+
"mode": "edit",
|
|
648
649
|
"fields": [
|
|
649
650
|
"customerName",
|
|
650
651
|
"serviceType",
|
|
@@ -655,9 +656,7 @@
|
|
|
655
656
|
"scheduledAt",
|
|
656
657
|
"etaMinutes",
|
|
657
658
|
"notes"
|
|
658
|
-
]
|
|
659
|
-
"title": "Edit Work Order",
|
|
660
|
-
"mode": "edit"
|
|
659
|
+
]
|
|
661
660
|
},
|
|
662
661
|
"events": {
|
|
663
662
|
"OPEN": "EDIT"
|
|
@@ -678,9 +677,7 @@
|
|
|
678
677
|
"name": "WorkOrderView",
|
|
679
678
|
"linkedEntity": "WorkOrderRow",
|
|
680
679
|
"config": {
|
|
681
|
-
"icon": "eye",
|
|
682
680
|
"title": "View Work Order",
|
|
683
|
-
"mode": "edit",
|
|
684
681
|
"fields": [
|
|
685
682
|
"customerName",
|
|
686
683
|
"serviceType",
|
|
@@ -691,7 +688,9 @@
|
|
|
691
688
|
"scheduledAt",
|
|
692
689
|
"etaMinutes",
|
|
693
690
|
"notes"
|
|
694
|
-
]
|
|
691
|
+
],
|
|
692
|
+
"mode": "edit",
|
|
693
|
+
"icon": "eye"
|
|
695
694
|
},
|
|
696
695
|
"events": {
|
|
697
696
|
"OPEN": "VIEW"
|
|
@@ -712,10 +711,10 @@
|
|
|
712
711
|
"name": "WorkOrderDelete",
|
|
713
712
|
"linkedEntity": "WorkOrderRow",
|
|
714
713
|
"config": {
|
|
715
|
-
"title": "Delete Work Order",
|
|
716
714
|
"alertMessage": "This action cannot be undone.",
|
|
717
|
-
"
|
|
718
|
-
"icon": "alert-triangle"
|
|
715
|
+
"title": "Delete Work Order",
|
|
716
|
+
"icon": "alert-triangle",
|
|
717
|
+
"confirmLabel": "Delete"
|
|
719
718
|
},
|
|
720
719
|
"events": {
|
|
721
720
|
"CONFIRM": "CONFIRM_DELETE",
|
|
@@ -1052,9 +1051,7 @@
|
|
|
1052
1051
|
{
|
|
1053
1052
|
"ref": "AppShell.traits.AppLayout",
|
|
1054
1053
|
"name": "TechnicianAppLayout",
|
|
1055
|
-
"linkedEntity": "TechnicianRow",
|
|
1056
1054
|
"config": {
|
|
1057
|
-
"contentTrait": "@trait.TechnicianCatalog",
|
|
1058
1055
|
"navItems": [
|
|
1059
1056
|
{
|
|
1060
1057
|
"href": "/workorders",
|
|
@@ -1062,19 +1059,20 @@
|
|
|
1062
1059
|
"label": "Work Orders"
|
|
1063
1060
|
},
|
|
1064
1061
|
{
|
|
1065
|
-
"label": "Technicians",
|
|
1066
1062
|
"icon": "hard-hat",
|
|
1063
|
+
"label": "Technicians",
|
|
1067
1064
|
"href": "/technicians"
|
|
1068
1065
|
},
|
|
1069
1066
|
{
|
|
1070
|
-
"
|
|
1067
|
+
"icon": "map-pin",
|
|
1071
1068
|
"href": "/jobs/checkin",
|
|
1072
|
-
"
|
|
1069
|
+
"label": "Check In"
|
|
1073
1070
|
}
|
|
1074
1071
|
],
|
|
1075
|
-
"appName": "Field Service",
|
|
1076
1072
|
"searchEvent": "TECHNICIAN_SEARCH",
|
|
1077
1073
|
"notifications": [],
|
|
1074
|
+
"contentTrait": "@trait.TechnicianCatalog",
|
|
1075
|
+
"appName": "Field Service",
|
|
1078
1076
|
"notificationClickEvent": "TECHNICIAN_NOTIFICATIONS_OPEN"
|
|
1079
1077
|
},
|
|
1080
1078
|
"events": {
|
|
@@ -1162,47 +1160,47 @@
|
|
|
1162
1160
|
"render-ui",
|
|
1163
1161
|
"main",
|
|
1164
1162
|
{
|
|
1165
|
-
"
|
|
1163
|
+
"gap": "lg",
|
|
1166
1164
|
"children": [
|
|
1167
1165
|
{
|
|
1168
1166
|
"align": "center",
|
|
1167
|
+
"type": "stack",
|
|
1169
1168
|
"children": [
|
|
1170
1169
|
{
|
|
1170
|
+
"type": "stack",
|
|
1171
1171
|
"gap": "sm",
|
|
1172
1172
|
"align": "center",
|
|
1173
|
+
"direction": "horizontal",
|
|
1173
1174
|
"children": [
|
|
1174
1175
|
{
|
|
1175
|
-
"
|
|
1176
|
-
"
|
|
1176
|
+
"type": "icon",
|
|
1177
|
+
"name": "hard-hat"
|
|
1177
1178
|
},
|
|
1178
1179
|
{
|
|
1179
1180
|
"content": "Technicians",
|
|
1180
1181
|
"variant": "h2",
|
|
1181
1182
|
"type": "typography"
|
|
1182
1183
|
}
|
|
1183
|
-
]
|
|
1184
|
-
"type": "stack",
|
|
1185
|
-
"direction": "horizontal"
|
|
1184
|
+
]
|
|
1186
1185
|
},
|
|
1187
1186
|
{
|
|
1187
|
+
"direction": "horizontal",
|
|
1188
|
+
"type": "stack",
|
|
1189
|
+
"gap": "sm",
|
|
1188
1190
|
"children": [
|
|
1189
1191
|
{
|
|
1190
|
-
"label": "Add Technician",
|
|
1191
|
-
"type": "button",
|
|
1192
|
-
"action": "CREATE",
|
|
1193
1192
|
"variant": "primary",
|
|
1194
|
-
"icon": "user-plus"
|
|
1193
|
+
"icon": "user-plus",
|
|
1194
|
+
"type": "button",
|
|
1195
|
+
"label": "Add Technician",
|
|
1196
|
+
"action": "CREATE"
|
|
1195
1197
|
}
|
|
1196
|
-
]
|
|
1197
|
-
"gap": "sm",
|
|
1198
|
-
"type": "stack",
|
|
1199
|
-
"direction": "horizontal"
|
|
1198
|
+
]
|
|
1200
1199
|
}
|
|
1201
1200
|
],
|
|
1202
|
-
"
|
|
1203
|
-
"gap": "md",
|
|
1201
|
+
"direction": "horizontal",
|
|
1204
1202
|
"justify": "between",
|
|
1205
|
-
"
|
|
1203
|
+
"gap": "md"
|
|
1206
1204
|
},
|
|
1207
1205
|
{
|
|
1208
1206
|
"type": "divider"
|
|
@@ -1212,23 +1210,23 @@
|
|
|
1212
1210
|
"type": "divider"
|
|
1213
1211
|
},
|
|
1214
1212
|
{
|
|
1213
|
+
"type": "typography",
|
|
1215
1214
|
"variant": "h3",
|
|
1216
|
-
"content": "Dispatch Board"
|
|
1217
|
-
"type": "typography"
|
|
1215
|
+
"content": "Dispatch Board"
|
|
1218
1216
|
},
|
|
1219
1217
|
"@trait.TechnicianDispatchBoard",
|
|
1220
1218
|
{
|
|
1221
1219
|
"type": "divider"
|
|
1222
1220
|
},
|
|
1223
1221
|
{
|
|
1222
|
+
"type": "typography",
|
|
1224
1223
|
"content": "Field Check-In",
|
|
1225
|
-
"variant": "h3"
|
|
1226
|
-
"type": "typography"
|
|
1224
|
+
"variant": "h3"
|
|
1227
1225
|
},
|
|
1228
1226
|
"@trait.TechnicianFieldCheckin"
|
|
1229
1227
|
],
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1228
|
+
"type": "stack",
|
|
1229
|
+
"direction": "vertical"
|
|
1232
1230
|
}
|
|
1233
1231
|
]
|
|
1234
1232
|
]
|
|
@@ -1247,11 +1245,14 @@
|
|
|
1247
1245
|
"render-ui",
|
|
1248
1246
|
"main",
|
|
1249
1247
|
{
|
|
1248
|
+
"align": "center",
|
|
1249
|
+
"gap": "md",
|
|
1250
|
+
"type": "stack",
|
|
1250
1251
|
"className": "py-8",
|
|
1251
1252
|
"children": [
|
|
1252
1253
|
{
|
|
1253
|
-
"
|
|
1254
|
-
"
|
|
1254
|
+
"type": "icon",
|
|
1255
|
+
"name": "bell"
|
|
1255
1256
|
},
|
|
1256
1257
|
{
|
|
1257
1258
|
"type": "typography",
|
|
@@ -1259,22 +1260,19 @@
|
|
|
1259
1260
|
"content": "No notifications"
|
|
1260
1261
|
},
|
|
1261
1262
|
{
|
|
1262
|
-
"content": "You're all caught up.",
|
|
1263
1263
|
"color": "muted",
|
|
1264
|
-
"
|
|
1265
|
-
"
|
|
1264
|
+
"variant": "caption",
|
|
1265
|
+
"content": "You're all caught up.",
|
|
1266
|
+
"type": "typography"
|
|
1266
1267
|
},
|
|
1267
1268
|
{
|
|
1268
|
-
"type": "button",
|
|
1269
|
-
"label": "Back to technicians",
|
|
1270
1269
|
"variant": "ghost",
|
|
1271
|
-
"
|
|
1270
|
+
"label": "Back to technicians",
|
|
1271
|
+
"action": "INIT",
|
|
1272
|
+
"type": "button"
|
|
1272
1273
|
}
|
|
1273
1274
|
],
|
|
1274
|
-
"direction": "vertical"
|
|
1275
|
-
"type": "stack",
|
|
1276
|
-
"align": "center",
|
|
1277
|
-
"gap": "md"
|
|
1275
|
+
"direction": "vertical"
|
|
1278
1276
|
}
|
|
1279
1277
|
]
|
|
1280
1278
|
]
|
|
@@ -1288,8 +1286,8 @@
|
|
|
1288
1286
|
"name": "TechnicianBrowseList",
|
|
1289
1287
|
"linkedEntity": "TechnicianRow",
|
|
1290
1288
|
"config": {
|
|
1291
|
-
"gap": "sm",
|
|
1292
1289
|
"cols": 1.0,
|
|
1290
|
+
"gap": "sm",
|
|
1293
1291
|
"fields": [
|
|
1294
1292
|
{
|
|
1295
1293
|
"name": "name",
|
|
@@ -1305,8 +1303,8 @@
|
|
|
1305
1303
|
"variant": "caption"
|
|
1306
1304
|
},
|
|
1307
1305
|
{
|
|
1308
|
-
"
|
|
1309
|
-
"
|
|
1306
|
+
"name": "available",
|
|
1307
|
+
"variant": "badge"
|
|
1310
1308
|
},
|
|
1311
1309
|
{
|
|
1312
1310
|
"variant": "caption",
|
|
@@ -1319,19 +1317,19 @@
|
|
|
1319
1317
|
],
|
|
1320
1318
|
"itemActions": [
|
|
1321
1319
|
{
|
|
1322
|
-
"event": "VIEW",
|
|
1323
1320
|
"variant": "ghost",
|
|
1324
|
-
"label": "View"
|
|
1321
|
+
"label": "View",
|
|
1322
|
+
"event": "VIEW"
|
|
1325
1323
|
},
|
|
1326
1324
|
{
|
|
1327
|
-
"
|
|
1325
|
+
"event": "EDIT",
|
|
1328
1326
|
"label": "Edit",
|
|
1329
|
-
"
|
|
1327
|
+
"variant": "ghost"
|
|
1330
1328
|
},
|
|
1331
1329
|
{
|
|
1332
|
-
"label": "Delete",
|
|
1333
1330
|
"event": "DELETE",
|
|
1334
|
-
"variant": "danger"
|
|
1331
|
+
"variant": "danger",
|
|
1332
|
+
"label": "Delete"
|
|
1335
1333
|
}
|
|
1336
1334
|
]
|
|
1337
1335
|
},
|
|
@@ -1372,10 +1370,9 @@
|
|
|
1372
1370
|
{
|
|
1373
1371
|
"ref": "Checkin.traits.CheckinScan",
|
|
1374
1372
|
"name": "TechnicianFieldCheckin",
|
|
1375
|
-
"linkedEntity": "TechnicianRow",
|
|
1376
1373
|
"config": {
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1374
|
+
"mode": "geo",
|
|
1375
|
+
"title": "Technician Check-In"
|
|
1379
1376
|
}
|
|
1380
1377
|
},
|
|
1381
1378
|
{
|
|
@@ -1383,8 +1380,9 @@
|
|
|
1383
1380
|
"name": "TechnicianCreate",
|
|
1384
1381
|
"linkedEntity": "TechnicianRow",
|
|
1385
1382
|
"config": {
|
|
1386
|
-
"icon": "user-plus",
|
|
1387
1383
|
"title": "Add Technician",
|
|
1384
|
+
"mode": "create",
|
|
1385
|
+
"icon": "user-plus",
|
|
1388
1386
|
"fields": [
|
|
1389
1387
|
"name",
|
|
1390
1388
|
"phone",
|
|
@@ -1393,8 +1391,7 @@
|
|
|
1393
1391
|
"currentOrderId",
|
|
1394
1392
|
"lat",
|
|
1395
1393
|
"lng"
|
|
1396
|
-
]
|
|
1397
|
-
"mode": "create"
|
|
1394
|
+
]
|
|
1398
1395
|
},
|
|
1399
1396
|
"events": {
|
|
1400
1397
|
"OPEN": "CREATE"
|
|
@@ -1415,6 +1412,8 @@
|
|
|
1415
1412
|
"name": "TechnicianEdit",
|
|
1416
1413
|
"linkedEntity": "TechnicianRow",
|
|
1417
1414
|
"config": {
|
|
1415
|
+
"icon": "edit",
|
|
1416
|
+
"title": "Edit Technician",
|
|
1418
1417
|
"fields": [
|
|
1419
1418
|
"name",
|
|
1420
1419
|
"phone",
|
|
@@ -1424,9 +1423,7 @@
|
|
|
1424
1423
|
"lat",
|
|
1425
1424
|
"lng"
|
|
1426
1425
|
],
|
|
1427
|
-
"mode": "edit"
|
|
1428
|
-
"icon": "edit",
|
|
1429
|
-
"title": "Edit Technician"
|
|
1426
|
+
"mode": "edit"
|
|
1430
1427
|
},
|
|
1431
1428
|
"events": {
|
|
1432
1429
|
"OPEN": "EDIT"
|
|
@@ -1447,8 +1444,6 @@
|
|
|
1447
1444
|
"name": "TechnicianView",
|
|
1448
1445
|
"linkedEntity": "TechnicianRow",
|
|
1449
1446
|
"config": {
|
|
1450
|
-
"mode": "edit",
|
|
1451
|
-
"icon": "eye",
|
|
1452
1447
|
"fields": [
|
|
1453
1448
|
"name",
|
|
1454
1449
|
"phone",
|
|
@@ -1459,6 +1454,8 @@
|
|
|
1459
1454
|
"lng",
|
|
1460
1455
|
"lastSeenAt"
|
|
1461
1456
|
],
|
|
1457
|
+
"mode": "edit",
|
|
1458
|
+
"icon": "eye",
|
|
1462
1459
|
"title": "View Technician"
|
|
1463
1460
|
},
|
|
1464
1461
|
"events": {
|
|
@@ -1718,19 +1715,17 @@
|
|
|
1718
1715
|
{
|
|
1719
1716
|
"ref": "AppShell.traits.AppLayout",
|
|
1720
1717
|
"name": "JobCheckinAppLayout",
|
|
1721
|
-
"linkedEntity": "JobCheckinRow",
|
|
1722
1718
|
"config": {
|
|
1723
|
-
"notificationClickEvent": "JOB_CHECKIN_NOTIFICATIONS_OPEN",
|
|
1724
1719
|
"navItems": [
|
|
1725
1720
|
{
|
|
1726
1721
|
"href": "/workorders",
|
|
1727
|
-
"
|
|
1728
|
-
"
|
|
1722
|
+
"icon": "clipboard-list",
|
|
1723
|
+
"label": "Work Orders"
|
|
1729
1724
|
},
|
|
1730
1725
|
{
|
|
1731
|
-
"
|
|
1726
|
+
"label": "Technicians",
|
|
1732
1727
|
"href": "/technicians",
|
|
1733
|
-
"
|
|
1728
|
+
"icon": "hard-hat"
|
|
1734
1729
|
},
|
|
1735
1730
|
{
|
|
1736
1731
|
"href": "/jobs/checkin",
|
|
@@ -1738,10 +1733,11 @@
|
|
|
1738
1733
|
"label": "Check In"
|
|
1739
1734
|
}
|
|
1740
1735
|
],
|
|
1741
|
-
"
|
|
1736
|
+
"notificationClickEvent": "JOB_CHECKIN_NOTIFICATIONS_OPEN",
|
|
1737
|
+
"appName": "Field Service",
|
|
1742
1738
|
"searchEvent": "JOB_CHECKIN_SEARCH",
|
|
1743
1739
|
"contentTrait": "@trait.JobCheckinComposer",
|
|
1744
|
-
"
|
|
1740
|
+
"notifications": []
|
|
1745
1741
|
},
|
|
1746
1742
|
"events": {
|
|
1747
1743
|
"SEARCH": "JOB_CHECKIN_SEARCH",
|
|
@@ -1774,38 +1770,41 @@
|
|
|
1774
1770
|
"render-ui",
|
|
1775
1771
|
"main",
|
|
1776
1772
|
{
|
|
1773
|
+
"gap": "lg",
|
|
1777
1774
|
"direction": "vertical",
|
|
1775
|
+
"type": "stack",
|
|
1776
|
+
"className": "max-w-3xl mx-auto w-full",
|
|
1778
1777
|
"children": [
|
|
1779
1778
|
{
|
|
1780
|
-
"
|
|
1779
|
+
"type": "stack",
|
|
1781
1780
|
"children": [
|
|
1782
1781
|
{
|
|
1783
1782
|
"type": "icon",
|
|
1784
1783
|
"name": "map-pin"
|
|
1785
1784
|
},
|
|
1786
1785
|
{
|
|
1787
|
-
"variant": "h2",
|
|
1788
1786
|
"type": "typography",
|
|
1789
|
-
"content": "Job Check-In"
|
|
1787
|
+
"content": "Job Check-In",
|
|
1788
|
+
"variant": "h2"
|
|
1790
1789
|
}
|
|
1791
1790
|
],
|
|
1792
1791
|
"gap": "sm",
|
|
1793
|
-
"
|
|
1794
|
-
"
|
|
1792
|
+
"direction": "horizontal",
|
|
1793
|
+
"align": "center"
|
|
1795
1794
|
},
|
|
1796
1795
|
{
|
|
1796
|
+
"content": "Verify your arrival, complete the job, and capture the customer's signature.",
|
|
1797
1797
|
"type": "typography",
|
|
1798
1798
|
"variant": "caption",
|
|
1799
|
-
"color": "muted"
|
|
1800
|
-
"content": "Verify your arrival, complete the job, and capture the customer's signature."
|
|
1799
|
+
"color": "muted"
|
|
1801
1800
|
},
|
|
1802
1801
|
{
|
|
1803
1802
|
"type": "divider"
|
|
1804
1803
|
},
|
|
1805
1804
|
{
|
|
1806
|
-
"type": "typography",
|
|
1807
1805
|
"variant": "h3",
|
|
1808
|
-
"content": "1. Arrival check-in"
|
|
1806
|
+
"content": "1. Arrival check-in",
|
|
1807
|
+
"type": "typography"
|
|
1809
1808
|
},
|
|
1810
1809
|
"@trait.JobArrivalCheckin",
|
|
1811
1810
|
{
|
|
@@ -1813,14 +1812,11 @@
|
|
|
1813
1812
|
},
|
|
1814
1813
|
{
|
|
1815
1814
|
"variant": "h3",
|
|
1816
|
-
"
|
|
1817
|
-
"
|
|
1815
|
+
"type": "typography",
|
|
1816
|
+
"content": "2. Customer signature"
|
|
1818
1817
|
},
|
|
1819
1818
|
"@trait.JobCompletionSignature"
|
|
1820
|
-
]
|
|
1821
|
-
"className": "max-w-3xl mx-auto w-full",
|
|
1822
|
-
"gap": "lg",
|
|
1823
|
-
"type": "stack"
|
|
1819
|
+
]
|
|
1824
1820
|
}
|
|
1825
1821
|
]
|
|
1826
1822
|
]
|
|
@@ -1833,8 +1829,8 @@
|
|
|
1833
1829
|
"ref": "Checkin.traits.CheckinScan",
|
|
1834
1830
|
"name": "JobArrivalCheckin",
|
|
1835
1831
|
"config": {
|
|
1836
|
-
"
|
|
1837
|
-
"
|
|
1832
|
+
"mode": "geo",
|
|
1833
|
+
"title": "Confirm arrival on site"
|
|
1838
1834
|
}
|
|
1839
1835
|
},
|
|
1840
1836
|
{
|