@almadar/std 14.16.0 → 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 +44 -44
- 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 +124 -124
- 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 +44 -44
- 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 +124 -124
- 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
|
@@ -86,37 +86,37 @@
|
|
|
86
86
|
"ref": "AppShell.traits.AppLayout",
|
|
87
87
|
"name": "BookingProviderAppLayout",
|
|
88
88
|
"config": {
|
|
89
|
-
"searchEvent": "BOOKING_SEARCH",
|
|
90
|
-
"notifications": [],
|
|
91
|
-
"contentTrait": "@trait.ProviderCatalog",
|
|
92
|
-
"appName": "BookingSystemApp",
|
|
93
89
|
"navItems": [
|
|
94
90
|
{
|
|
95
91
|
"label": "Providers",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
92
|
+
"href": "/providers",
|
|
93
|
+
"icon": "user-check"
|
|
98
94
|
},
|
|
99
95
|
{
|
|
100
96
|
"href": "/book",
|
|
101
|
-
"
|
|
102
|
-
"
|
|
97
|
+
"icon": "calendar-plus",
|
|
98
|
+
"label": "Book"
|
|
103
99
|
},
|
|
104
100
|
{
|
|
101
|
+
"label": "Appointments",
|
|
105
102
|
"href": "/appointments",
|
|
106
|
-
"icon": "calendar"
|
|
107
|
-
"label": "Appointments"
|
|
103
|
+
"icon": "calendar"
|
|
108
104
|
},
|
|
109
105
|
{
|
|
110
106
|
"label": "Schedule",
|
|
111
|
-
"
|
|
112
|
-
"
|
|
107
|
+
"href": "/schedule",
|
|
108
|
+
"icon": "clock"
|
|
113
109
|
}
|
|
114
110
|
],
|
|
111
|
+
"searchEvent": "BOOKING_SEARCH",
|
|
112
|
+
"contentTrait": "@trait.ProviderCatalog",
|
|
113
|
+
"notifications": [],
|
|
114
|
+
"appName": "BookingSystemApp",
|
|
115
115
|
"notificationClickEvent": "BOOKING_NOTIFICATIONS_OPEN"
|
|
116
116
|
},
|
|
117
117
|
"events": {
|
|
118
|
-
"
|
|
119
|
-
"
|
|
118
|
+
"SEARCH": "BOOKING_SEARCH",
|
|
119
|
+
"NOTIFY_CLICK": "BOOKING_NOTIFICATIONS_OPEN"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
{
|
|
@@ -199,58 +199,58 @@
|
|
|
199
199
|
"render-ui",
|
|
200
200
|
"main",
|
|
201
201
|
{
|
|
202
|
-
"type": "stack",
|
|
203
202
|
"direction": "vertical",
|
|
203
|
+
"gap": "lg",
|
|
204
204
|
"children": [
|
|
205
205
|
{
|
|
206
|
-
"direction": "horizontal",
|
|
207
|
-
"type": "stack",
|
|
208
206
|
"align": "center",
|
|
209
207
|
"children": [
|
|
210
208
|
{
|
|
211
209
|
"align": "center",
|
|
210
|
+
"type": "stack",
|
|
212
211
|
"children": [
|
|
213
212
|
{
|
|
214
|
-
"
|
|
215
|
-
"
|
|
213
|
+
"name": "user",
|
|
214
|
+
"type": "icon"
|
|
216
215
|
},
|
|
217
216
|
{
|
|
218
|
-
"type": "typography",
|
|
219
217
|
"content": "Providers",
|
|
220
|
-
"variant": "h2"
|
|
218
|
+
"variant": "h2",
|
|
219
|
+
"type": "typography"
|
|
221
220
|
}
|
|
222
221
|
],
|
|
223
222
|
"gap": "sm",
|
|
224
|
-
"type": "stack",
|
|
225
223
|
"direction": "horizontal"
|
|
226
224
|
},
|
|
227
225
|
{
|
|
228
226
|
"direction": "horizontal",
|
|
229
|
-
"type": "stack",
|
|
230
|
-
"gap": "sm",
|
|
231
227
|
"children": [
|
|
232
228
|
{
|
|
233
|
-
"icon": "plus",
|
|
234
|
-
"variant": "primary",
|
|
235
229
|
"type": "button",
|
|
230
|
+
"label": "Add Provider",
|
|
231
|
+
"variant": "primary",
|
|
236
232
|
"action": "CREATE",
|
|
237
|
-
"
|
|
233
|
+
"icon": "plus"
|
|
238
234
|
}
|
|
239
|
-
]
|
|
235
|
+
],
|
|
236
|
+
"type": "stack",
|
|
237
|
+
"gap": "sm"
|
|
240
238
|
}
|
|
241
239
|
],
|
|
242
|
-
"
|
|
243
|
-
"
|
|
240
|
+
"direction": "horizontal",
|
|
241
|
+
"type": "stack",
|
|
242
|
+
"gap": "md",
|
|
243
|
+
"justify": "between"
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
|
-
"align": "center",
|
|
247
|
-
"type": "stack",
|
|
248
246
|
"direction": "horizontal",
|
|
247
|
+
"type": "stack",
|
|
248
|
+
"gap": "md",
|
|
249
249
|
"children": [
|
|
250
250
|
"@trait.ProviderSearch",
|
|
251
251
|
"@trait.ProviderFilter"
|
|
252
252
|
],
|
|
253
|
-
"
|
|
253
|
+
"align": "center"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
"type": "divider"
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
},
|
|
263
263
|
"@trait.ProviderBrowseList"
|
|
264
264
|
],
|
|
265
|
-
"
|
|
265
|
+
"type": "stack"
|
|
266
266
|
}
|
|
267
267
|
]
|
|
268
268
|
]
|
|
@@ -281,34 +281,34 @@
|
|
|
281
281
|
"render-ui",
|
|
282
282
|
"main",
|
|
283
283
|
{
|
|
284
|
+
"gap": "md",
|
|
284
285
|
"className": "py-8",
|
|
285
|
-
"align": "center",
|
|
286
286
|
"children": [
|
|
287
287
|
{
|
|
288
|
-
"
|
|
289
|
-
"
|
|
288
|
+
"name": "bell",
|
|
289
|
+
"type": "icon"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
|
-
"
|
|
292
|
+
"content": "No notifications",
|
|
293
293
|
"type": "typography",
|
|
294
|
-
"
|
|
294
|
+
"variant": "h3"
|
|
295
295
|
},
|
|
296
296
|
{
|
|
297
|
-
"type": "typography",
|
|
298
297
|
"color": "muted",
|
|
299
298
|
"variant": "caption",
|
|
300
|
-
"content": "You're all caught up."
|
|
299
|
+
"content": "You're all caught up.",
|
|
300
|
+
"type": "typography"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
|
+
"label": "Back to providers",
|
|
303
304
|
"variant": "ghost",
|
|
304
|
-
"action": "INIT",
|
|
305
305
|
"type": "button",
|
|
306
|
-
"
|
|
306
|
+
"action": "INIT"
|
|
307
307
|
}
|
|
308
308
|
],
|
|
309
309
|
"type": "stack",
|
|
310
310
|
"direction": "vertical",
|
|
311
|
-
"
|
|
311
|
+
"align": "center"
|
|
312
312
|
}
|
|
313
313
|
]
|
|
314
314
|
]
|
|
@@ -321,18 +321,18 @@
|
|
|
321
321
|
"ref": "Search.traits.SearchResultSearch",
|
|
322
322
|
"name": "ProviderSearch",
|
|
323
323
|
"config": {
|
|
324
|
-
"
|
|
325
|
-
"
|
|
324
|
+
"event": "SEARCH",
|
|
325
|
+
"placeholder": "Search providers…"
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"ref": "Filter.traits.FilterTargetFilter",
|
|
330
330
|
"name": "ProviderFilter",
|
|
331
331
|
"config": {
|
|
332
|
-
"event": "FILTER",
|
|
333
332
|
"filters": [
|
|
334
333
|
{
|
|
335
|
-
"
|
|
334
|
+
"field": "specialty",
|
|
335
|
+
"label": "Specialty",
|
|
336
336
|
"options": [
|
|
337
337
|
"general",
|
|
338
338
|
"dental",
|
|
@@ -340,59 +340,59 @@
|
|
|
340
340
|
"cardiology",
|
|
341
341
|
"psychiatry"
|
|
342
342
|
],
|
|
343
|
-
"
|
|
344
|
-
"field": "specialty"
|
|
343
|
+
"filterType": "select"
|
|
345
344
|
},
|
|
346
345
|
{
|
|
347
|
-
"label": "Rating",
|
|
348
|
-
"field": "rating",
|
|
349
|
-
"max": 5.0,
|
|
350
346
|
"filterType": "range",
|
|
351
|
-
"
|
|
347
|
+
"max": 5.0,
|
|
348
|
+
"min": 0.0,
|
|
349
|
+
"label": "Rating",
|
|
350
|
+
"field": "rating"
|
|
352
351
|
}
|
|
353
|
-
]
|
|
352
|
+
],
|
|
353
|
+
"event": "FILTER"
|
|
354
354
|
}
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"ref": "Stats.traits.StatsItemStats",
|
|
358
358
|
"name": "ProviderStats",
|
|
359
359
|
"config": {
|
|
360
|
+
"title": "Provider Overview",
|
|
360
361
|
"metrics": [
|
|
361
362
|
{
|
|
363
|
+
"variant": "primary",
|
|
364
|
+
"aggregation": "count",
|
|
362
365
|
"label": "Total Providers",
|
|
363
366
|
"icon": "users",
|
|
364
|
-
"format": "number"
|
|
365
|
-
"aggregation": "count",
|
|
366
|
-
"variant": "primary"
|
|
367
|
+
"format": "number"
|
|
367
368
|
},
|
|
368
369
|
{
|
|
369
|
-
"label": "Active",
|
|
370
370
|
"aggregation": "count",
|
|
371
371
|
"icon": "check-circle",
|
|
372
|
-
"
|
|
372
|
+
"variant": "success",
|
|
373
373
|
"filter": {
|
|
374
374
|
"available": true
|
|
375
375
|
},
|
|
376
|
-
"
|
|
376
|
+
"format": "number",
|
|
377
|
+
"label": "Active"
|
|
377
378
|
},
|
|
378
379
|
{
|
|
379
|
-
"label": "Avg Rating",
|
|
380
380
|
"aggregation": "avg",
|
|
381
|
-
"
|
|
381
|
+
"icon": "star",
|
|
382
382
|
"field": "rating",
|
|
383
|
-
"
|
|
384
|
-
"
|
|
383
|
+
"label": "Avg Rating",
|
|
384
|
+
"format": "number",
|
|
385
|
+
"variant": "info"
|
|
385
386
|
},
|
|
386
387
|
{
|
|
387
|
-
"aggregation": "avg",
|
|
388
388
|
"format": "currency",
|
|
389
389
|
"field": "hourlyRate",
|
|
390
|
+
"aggregation": "avg",
|
|
390
391
|
"label": "Avg Hourly Rate",
|
|
391
|
-
"
|
|
392
|
-
"
|
|
392
|
+
"icon": "dollar-sign",
|
|
393
|
+
"variant": "info"
|
|
393
394
|
}
|
|
394
|
-
]
|
|
395
|
-
"title": "Provider Overview"
|
|
395
|
+
]
|
|
396
396
|
},
|
|
397
397
|
"listens": [
|
|
398
398
|
{
|
|
@@ -411,9 +411,9 @@
|
|
|
411
411
|
"config": {
|
|
412
412
|
"chartType": "pie",
|
|
413
413
|
"categoryField": "specialty",
|
|
414
|
-
"
|
|
414
|
+
"subtitle": "Distribution across specialties",
|
|
415
415
|
"title": "Providers by Specialty",
|
|
416
|
-
"
|
|
416
|
+
"aggregation": "count"
|
|
417
417
|
},
|
|
418
418
|
"listens": [
|
|
419
419
|
{
|
|
@@ -431,12 +431,11 @@
|
|
|
431
431
|
"name": "ProviderBrowseList",
|
|
432
432
|
"linkedEntity": "Provider",
|
|
433
433
|
"config": {
|
|
434
|
-
"gap": "md",
|
|
435
434
|
"fields": [
|
|
436
435
|
{
|
|
437
|
-
"
|
|
436
|
+
"name": "name",
|
|
438
437
|
"icon": "user",
|
|
439
|
-
"
|
|
438
|
+
"variant": "h3"
|
|
440
439
|
},
|
|
441
440
|
{
|
|
442
441
|
"name": "specialty",
|
|
@@ -448,19 +447,18 @@
|
|
|
448
447
|
"format": "number"
|
|
449
448
|
},
|
|
450
449
|
{
|
|
451
|
-
"
|
|
452
|
-
"name": "hourlyRate",
|
|
450
|
+
"format": "currency",
|
|
453
451
|
"label": "Hourly Rate",
|
|
454
|
-
"
|
|
452
|
+
"name": "hourlyRate",
|
|
453
|
+
"variant": "h4"
|
|
455
454
|
},
|
|
456
455
|
{
|
|
457
|
-
"
|
|
456
|
+
"format": "boolean",
|
|
458
457
|
"name": "available",
|
|
459
|
-
"
|
|
460
|
-
"
|
|
458
|
+
"variant": "body",
|
|
459
|
+
"label": "Availability"
|
|
461
460
|
}
|
|
462
461
|
],
|
|
463
|
-
"cols": 2.0,
|
|
464
462
|
"itemActions": [
|
|
465
463
|
{
|
|
466
464
|
"label": "View",
|
|
@@ -468,16 +466,18 @@
|
|
|
468
466
|
"variant": "ghost"
|
|
469
467
|
},
|
|
470
468
|
{
|
|
471
|
-
"
|
|
469
|
+
"label": "Edit",
|
|
472
470
|
"event": "EDIT",
|
|
473
|
-
"
|
|
471
|
+
"variant": "ghost"
|
|
474
472
|
},
|
|
475
473
|
{
|
|
474
|
+
"variant": "danger",
|
|
476
475
|
"label": "Delete",
|
|
477
|
-
"event": "DELETE"
|
|
478
|
-
"variant": "danger"
|
|
476
|
+
"event": "DELETE"
|
|
479
477
|
}
|
|
480
|
-
]
|
|
478
|
+
],
|
|
479
|
+
"cols": 2.0,
|
|
480
|
+
"gap": "md"
|
|
481
481
|
},
|
|
482
482
|
"listens": [
|
|
483
483
|
{
|
|
@@ -722,29 +722,32 @@
|
|
|
722
722
|
"render-ui",
|
|
723
723
|
"modal",
|
|
724
724
|
{
|
|
725
|
-
"
|
|
725
|
+
"gap": "md",
|
|
726
726
|
"direction": "vertical",
|
|
727
|
+
"type": "stack",
|
|
727
728
|
"children": [
|
|
728
729
|
{
|
|
730
|
+
"gap": "sm",
|
|
729
731
|
"type": "stack",
|
|
732
|
+
"direction": "horizontal",
|
|
730
733
|
"children": [
|
|
731
734
|
{
|
|
732
735
|
"name": "plus-circle",
|
|
733
736
|
"type": "icon"
|
|
734
737
|
},
|
|
735
738
|
{
|
|
736
|
-
"
|
|
739
|
+
"content": "Add Provider",
|
|
737
740
|
"variant": "h3",
|
|
738
|
-
"
|
|
741
|
+
"type": "typography"
|
|
739
742
|
}
|
|
740
|
-
]
|
|
741
|
-
"direction": "horizontal",
|
|
742
|
-
"gap": "sm"
|
|
743
|
+
]
|
|
743
744
|
},
|
|
744
745
|
{
|
|
745
746
|
"type": "divider"
|
|
746
747
|
},
|
|
747
748
|
{
|
|
749
|
+
"type": "form-section",
|
|
750
|
+
"mode": "create",
|
|
748
751
|
"fields": [
|
|
749
752
|
"name",
|
|
750
753
|
"specialty",
|
|
@@ -755,12 +758,9 @@
|
|
|
755
758
|
"available"
|
|
756
759
|
],
|
|
757
760
|
"submitEvent": "SAVE",
|
|
758
|
-
"mode": "create",
|
|
759
|
-
"type": "form-section",
|
|
760
761
|
"cancelEvent": "CLOSE"
|
|
761
762
|
}
|
|
762
|
-
]
|
|
763
|
-
"gap": "md"
|
|
763
|
+
]
|
|
764
764
|
}
|
|
765
765
|
]
|
|
766
766
|
]
|
|
@@ -801,8 +801,8 @@
|
|
|
801
801
|
"@payload.data",
|
|
802
802
|
{
|
|
803
803
|
"emit": {
|
|
804
|
-
"
|
|
805
|
-
"
|
|
804
|
+
"failure": "ProviderSaveFailed",
|
|
805
|
+
"success": "ProviderSaved"
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
808
|
],
|
|
@@ -1039,8 +1039,8 @@
|
|
|
1039
1039
|
{
|
|
1040
1040
|
"id": "@payload.id",
|
|
1041
1041
|
"emit": {
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1042
|
+
"success": "ProviderLoaded",
|
|
1043
|
+
"failure": "ProviderLoadFailed"
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
],
|
|
@@ -1048,33 +1048,31 @@
|
|
|
1048
1048
|
"render-ui",
|
|
1049
1049
|
"modal",
|
|
1050
1050
|
{
|
|
1051
|
-
"direction": "vertical",
|
|
1052
|
-
"type": "stack",
|
|
1053
|
-
"gap": "md",
|
|
1054
1051
|
"children": [
|
|
1055
1052
|
{
|
|
1053
|
+
"type": "stack",
|
|
1054
|
+
"gap": "sm",
|
|
1056
1055
|
"children": [
|
|
1057
1056
|
{
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1057
|
+
"type": "icon",
|
|
1058
|
+
"name": "edit"
|
|
1060
1059
|
},
|
|
1061
1060
|
{
|
|
1062
|
-
"variant": "h3",
|
|
1063
1061
|
"type": "typography",
|
|
1064
|
-
"content": "Edit Provider"
|
|
1062
|
+
"content": "Edit Provider",
|
|
1063
|
+
"variant": "h3"
|
|
1065
1064
|
}
|
|
1066
1065
|
],
|
|
1067
|
-
"gap": "sm",
|
|
1068
|
-
"type": "stack",
|
|
1069
1066
|
"direction": "horizontal"
|
|
1070
1067
|
},
|
|
1071
1068
|
{
|
|
1072
1069
|
"type": "divider"
|
|
1073
1070
|
},
|
|
1074
1071
|
{
|
|
1075
|
-
"type": "form-section",
|
|
1076
1072
|
"submitEvent": "SAVE",
|
|
1077
1073
|
"entity": "@payload.row",
|
|
1074
|
+
"type": "form-section",
|
|
1075
|
+
"mode": "edit",
|
|
1078
1076
|
"cancelEvent": "CLOSE",
|
|
1079
1077
|
"fields": [
|
|
1080
1078
|
"name",
|
|
@@ -1084,10 +1082,12 @@
|
|
|
1084
1082
|
"rating",
|
|
1085
1083
|
"hourlyRate",
|
|
1086
1084
|
"available"
|
|
1087
|
-
]
|
|
1088
|
-
"mode": "edit"
|
|
1085
|
+
]
|
|
1089
1086
|
}
|
|
1090
|
-
]
|
|
1087
|
+
],
|
|
1088
|
+
"gap": "md",
|
|
1089
|
+
"type": "stack",
|
|
1090
|
+
"direction": "vertical"
|
|
1091
1091
|
}
|
|
1092
1092
|
]
|
|
1093
1093
|
]
|
|
@@ -1128,8 +1128,8 @@
|
|
|
1128
1128
|
"@payload.data",
|
|
1129
1129
|
{
|
|
1130
1130
|
"emit": {
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1131
|
+
"success": "ProviderUpdated",
|
|
1132
|
+
"failure": "ProviderUpdateFailed"
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
1135
|
],
|
|
@@ -1338,36 +1338,37 @@
|
|
|
1338
1338
|
"fetch",
|
|
1339
1339
|
"Provider",
|
|
1340
1340
|
{
|
|
1341
|
+
"id": "@payload.id",
|
|
1341
1342
|
"emit": {
|
|
1342
|
-
"
|
|
1343
|
-
"
|
|
1344
|
-
}
|
|
1345
|
-
"id": "@payload.id"
|
|
1343
|
+
"failure": "ProviderLoadFailed",
|
|
1344
|
+
"success": "ProviderLoaded"
|
|
1345
|
+
}
|
|
1346
1346
|
}
|
|
1347
1347
|
],
|
|
1348
1348
|
[
|
|
1349
1349
|
"render-ui",
|
|
1350
1350
|
"modal",
|
|
1351
1351
|
{
|
|
1352
|
-
"gap": "md",
|
|
1353
1352
|
"direction": "vertical",
|
|
1353
|
+
"gap": "md",
|
|
1354
|
+
"type": "stack",
|
|
1354
1355
|
"children": [
|
|
1355
1356
|
{
|
|
1357
|
+
"gap": "sm",
|
|
1358
|
+
"direction": "horizontal",
|
|
1356
1359
|
"align": "center",
|
|
1357
|
-
"type": "stack",
|
|
1358
1360
|
"children": [
|
|
1359
1361
|
{
|
|
1360
|
-
"
|
|
1361
|
-
"
|
|
1362
|
+
"name": "eye",
|
|
1363
|
+
"type": "icon"
|
|
1362
1364
|
},
|
|
1363
1365
|
{
|
|
1364
1366
|
"type": "typography",
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1367
|
+
"content": "@entity.name",
|
|
1368
|
+
"variant": "h3"
|
|
1367
1369
|
}
|
|
1368
1370
|
],
|
|
1369
|
-
"
|
|
1370
|
-
"gap": "sm"
|
|
1371
|
+
"type": "stack"
|
|
1371
1372
|
},
|
|
1372
1373
|
{
|
|
1373
1374
|
"type": "divider"
|
|
@@ -1381,51 +1382,51 @@
|
|
|
1381
1382
|
},
|
|
1382
1383
|
{
|
|
1383
1384
|
"content": "@entity.name",
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1385
|
+
"variant": "body",
|
|
1386
|
+
"type": "typography"
|
|
1386
1387
|
}
|
|
1387
1388
|
],
|
|
1388
|
-
"direction": "horizontal",
|
|
1389
1389
|
"gap": "md",
|
|
1390
|
+
"direction": "horizontal",
|
|
1390
1391
|
"type": "stack"
|
|
1391
1392
|
},
|
|
1392
1393
|
{
|
|
1394
|
+
"direction": "horizontal",
|
|
1395
|
+
"type": "stack",
|
|
1396
|
+
"gap": "md",
|
|
1393
1397
|
"children": [
|
|
1394
1398
|
{
|
|
1395
|
-
"variant": "caption",
|
|
1396
1399
|
"type": "typography",
|
|
1397
|
-
"content": "Specialty"
|
|
1400
|
+
"content": "Specialty",
|
|
1401
|
+
"variant": "caption"
|
|
1398
1402
|
},
|
|
1399
1403
|
{
|
|
1400
|
-
"type": "typography",
|
|
1401
1404
|
"variant": "body",
|
|
1402
|
-
"content": "@entity.specialty"
|
|
1405
|
+
"content": "@entity.specialty",
|
|
1406
|
+
"type": "typography"
|
|
1403
1407
|
}
|
|
1404
|
-
]
|
|
1405
|
-
"gap": "md",
|
|
1406
|
-
"type": "stack",
|
|
1407
|
-
"direction": "horizontal"
|
|
1408
|
+
]
|
|
1408
1409
|
},
|
|
1409
1410
|
{
|
|
1410
|
-
"type": "stack",
|
|
1411
|
-
"direction": "horizontal",
|
|
1412
1411
|
"gap": "md",
|
|
1413
1412
|
"children": [
|
|
1414
1413
|
{
|
|
1415
1414
|
"variant": "caption",
|
|
1416
|
-
"
|
|
1417
|
-
"
|
|
1415
|
+
"type": "typography",
|
|
1416
|
+
"content": "Location"
|
|
1418
1417
|
},
|
|
1419
1418
|
{
|
|
1420
|
-
"variant": "body",
|
|
1421
1419
|
"content": "@entity.location",
|
|
1420
|
+
"variant": "body",
|
|
1422
1421
|
"type": "typography"
|
|
1423
1422
|
}
|
|
1424
|
-
]
|
|
1423
|
+
],
|
|
1424
|
+
"type": "stack",
|
|
1425
|
+
"direction": "horizontal"
|
|
1425
1426
|
},
|
|
1426
1427
|
{
|
|
1427
|
-
"direction": "horizontal",
|
|
1428
1428
|
"gap": "md",
|
|
1429
|
+
"direction": "horizontal",
|
|
1429
1430
|
"type": "stack",
|
|
1430
1431
|
"children": [
|
|
1431
1432
|
{
|
|
@@ -1434,89 +1435,88 @@
|
|
|
1434
1435
|
"type": "typography"
|
|
1435
1436
|
},
|
|
1436
1437
|
{
|
|
1437
|
-
"variant": "body",
|
|
1438
1438
|
"content": "@entity.phone",
|
|
1439
|
+
"variant": "body",
|
|
1439
1440
|
"type": "typography"
|
|
1440
1441
|
}
|
|
1441
1442
|
]
|
|
1442
1443
|
},
|
|
1443
1444
|
{
|
|
1444
1445
|
"gap": "md",
|
|
1445
|
-
"direction": "horizontal",
|
|
1446
1446
|
"type": "stack",
|
|
1447
1447
|
"children": [
|
|
1448
1448
|
{
|
|
1449
|
-
"variant": "caption",
|
|
1450
1449
|
"type": "typography",
|
|
1450
|
+
"variant": "caption",
|
|
1451
1451
|
"content": "Rating"
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
|
-
"content": "@entity.rating",
|
|
1455
1454
|
"type": "typography",
|
|
1456
|
-
"variant": "body"
|
|
1455
|
+
"variant": "body",
|
|
1456
|
+
"content": "@entity.rating"
|
|
1457
1457
|
}
|
|
1458
|
-
]
|
|
1458
|
+
],
|
|
1459
|
+
"direction": "horizontal"
|
|
1459
1460
|
},
|
|
1460
1461
|
{
|
|
1461
|
-
"type": "stack",
|
|
1462
1462
|
"gap": "md",
|
|
1463
1463
|
"children": [
|
|
1464
1464
|
{
|
|
1465
|
+
"type": "typography",
|
|
1465
1466
|
"variant": "caption",
|
|
1466
|
-
"content": "Hourly Rate"
|
|
1467
|
-
"type": "typography"
|
|
1467
|
+
"content": "Hourly Rate"
|
|
1468
1468
|
},
|
|
1469
1469
|
{
|
|
1470
|
-
"variant": "body",
|
|
1471
1470
|
"content": "@entity.hourlyRate",
|
|
1472
|
-
"type": "typography"
|
|
1471
|
+
"type": "typography",
|
|
1472
|
+
"variant": "body"
|
|
1473
1473
|
}
|
|
1474
1474
|
],
|
|
1475
|
-
"direction": "horizontal"
|
|
1475
|
+
"direction": "horizontal",
|
|
1476
|
+
"type": "stack"
|
|
1476
1477
|
},
|
|
1477
1478
|
{
|
|
1479
|
+
"gap": "md",
|
|
1480
|
+
"direction": "horizontal",
|
|
1478
1481
|
"children": [
|
|
1479
1482
|
{
|
|
1480
|
-
"type": "typography",
|
|
1481
1483
|
"variant": "caption",
|
|
1482
|
-
"content": "Available"
|
|
1484
|
+
"content": "Available",
|
|
1485
|
+
"type": "typography"
|
|
1483
1486
|
},
|
|
1484
1487
|
{
|
|
1485
1488
|
"type": "typography",
|
|
1486
|
-
"
|
|
1487
|
-
"
|
|
1489
|
+
"variant": "body",
|
|
1490
|
+
"content": "@entity.available"
|
|
1488
1491
|
}
|
|
1489
1492
|
],
|
|
1490
|
-
"gap": "md",
|
|
1491
|
-
"direction": "horizontal",
|
|
1492
1493
|
"type": "stack"
|
|
1493
1494
|
},
|
|
1494
1495
|
{
|
|
1495
1496
|
"type": "divider"
|
|
1496
1497
|
},
|
|
1497
1498
|
{
|
|
1499
|
+
"justify": "end",
|
|
1498
1500
|
"direction": "horizontal",
|
|
1499
1501
|
"type": "stack",
|
|
1500
1502
|
"gap": "sm",
|
|
1501
|
-
"justify": "end",
|
|
1502
1503
|
"children": [
|
|
1503
1504
|
{
|
|
1504
1505
|
"icon": "edit",
|
|
1505
|
-
"label": "Edit",
|
|
1506
1506
|
"action": "EDIT",
|
|
1507
1507
|
"type": "button",
|
|
1508
|
+
"label": "Edit",
|
|
1508
1509
|
"variant": "primary"
|
|
1509
1510
|
},
|
|
1510
1511
|
{
|
|
1511
1512
|
"type": "button",
|
|
1512
|
-
"label": "Close",
|
|
1513
1513
|
"variant": "ghost",
|
|
1514
|
+
"label": "Close",
|
|
1514
1515
|
"action": "CLOSE"
|
|
1515
1516
|
}
|
|
1516
1517
|
]
|
|
1517
1518
|
}
|
|
1518
|
-
]
|
|
1519
|
-
"type": "stack"
|
|
1519
|
+
]
|
|
1520
1520
|
}
|
|
1521
1521
|
]
|
|
1522
1522
|
]
|
|
@@ -1767,20 +1767,22 @@
|
|
|
1767
1767
|
"fetch",
|
|
1768
1768
|
"Provider",
|
|
1769
1769
|
{
|
|
1770
|
-
"id": "@payload.id",
|
|
1771
1770
|
"emit": {
|
|
1772
1771
|
"success": "ProviderLoaded",
|
|
1773
1772
|
"failure": "ProviderLoadFailed"
|
|
1774
|
-
}
|
|
1773
|
+
},
|
|
1774
|
+
"id": "@payload.id"
|
|
1775
1775
|
}
|
|
1776
1776
|
],
|
|
1777
1777
|
[
|
|
1778
1778
|
"render-ui",
|
|
1779
1779
|
"modal",
|
|
1780
1780
|
{
|
|
1781
|
+
"type": "stack",
|
|
1781
1782
|
"gap": "md",
|
|
1782
1783
|
"children": [
|
|
1783
1784
|
{
|
|
1785
|
+
"type": "stack",
|
|
1784
1786
|
"direction": "horizontal",
|
|
1785
1787
|
"children": [
|
|
1786
1788
|
{
|
|
@@ -1789,45 +1791,43 @@
|
|
|
1789
1791
|
},
|
|
1790
1792
|
{
|
|
1791
1793
|
"content": "Delete Provider",
|
|
1792
|
-
"
|
|
1793
|
-
"
|
|
1794
|
+
"type": "typography",
|
|
1795
|
+
"variant": "h3"
|
|
1794
1796
|
}
|
|
1795
1797
|
],
|
|
1796
|
-
"
|
|
1797
|
-
"align": "center"
|
|
1798
|
-
"gap": "sm"
|
|
1798
|
+
"gap": "sm",
|
|
1799
|
+
"align": "center"
|
|
1799
1800
|
},
|
|
1800
1801
|
{
|
|
1801
1802
|
"type": "divider"
|
|
1802
1803
|
},
|
|
1803
1804
|
{
|
|
1804
|
-
"variant": "error",
|
|
1805
1805
|
"type": "alert",
|
|
1806
|
+
"variant": "error",
|
|
1806
1807
|
"message": "This action cannot be undone."
|
|
1807
1808
|
},
|
|
1808
1809
|
{
|
|
1809
1810
|
"type": "stack",
|
|
1810
|
-
"
|
|
1811
|
+
"justify": "end",
|
|
1812
|
+
"gap": "sm",
|
|
1811
1813
|
"children": [
|
|
1812
1814
|
{
|
|
1813
|
-
"type": "button",
|
|
1814
1815
|
"label": "Cancel",
|
|
1815
|
-
"
|
|
1816
|
-
"action": "CANCEL"
|
|
1816
|
+
"type": "button",
|
|
1817
|
+
"action": "CANCEL",
|
|
1818
|
+
"variant": "ghost"
|
|
1817
1819
|
},
|
|
1818
1820
|
{
|
|
1819
|
-
"label": "Delete",
|
|
1820
|
-
"icon": "check",
|
|
1821
|
-
"type": "button",
|
|
1822
1821
|
"action": "CONFIRM_DELETE",
|
|
1823
|
-
"variant": "danger"
|
|
1822
|
+
"variant": "danger",
|
|
1823
|
+
"icon": "check",
|
|
1824
|
+
"label": "Delete",
|
|
1825
|
+
"type": "button"
|
|
1824
1826
|
}
|
|
1825
1827
|
],
|
|
1826
|
-
"
|
|
1827
|
-
"gap": "sm"
|
|
1828
|
+
"direction": "horizontal"
|
|
1828
1829
|
}
|
|
1829
1830
|
],
|
|
1830
|
-
"type": "stack",
|
|
1831
1831
|
"direction": "vertical"
|
|
1832
1832
|
}
|
|
1833
1833
|
]
|
|
@@ -1845,8 +1845,8 @@
|
|
|
1845
1845
|
"@entity.pendingId",
|
|
1846
1846
|
{
|
|
1847
1847
|
"emit": {
|
|
1848
|
-
"
|
|
1849
|
-
"
|
|
1848
|
+
"success": "ProviderDeleted",
|
|
1849
|
+
"failure": "ProviderDeleteFailed"
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
1852
|
],
|
|
@@ -1867,8 +1867,8 @@
|
|
|
1867
1867
|
"Provider",
|
|
1868
1868
|
{
|
|
1869
1869
|
"emit": {
|
|
1870
|
-
"
|
|
1871
|
-
"
|
|
1870
|
+
"success": "ProviderLoaded",
|
|
1871
|
+
"failure": "ProviderLoadFailed"
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
],
|
|
@@ -1929,8 +1929,8 @@
|
|
|
1929
1929
|
"Provider",
|
|
1930
1930
|
{
|
|
1931
1931
|
"emit": {
|
|
1932
|
-
"
|
|
1933
|
-
"
|
|
1932
|
+
"failure": "ProviderLoadFailed",
|
|
1933
|
+
"success": "ProviderLoaded"
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
1936
|
]
|
|
@@ -2051,21 +2051,23 @@
|
|
|
2051
2051
|
"name": "BookingAppLayout",
|
|
2052
2052
|
"linkedEntity": "Booking",
|
|
2053
2053
|
"config": {
|
|
2054
|
+
"searchEvent": "BOOKING_SEARCH",
|
|
2055
|
+
"topBarActions": [],
|
|
2054
2056
|
"navItems": [
|
|
2055
2057
|
{
|
|
2058
|
+
"label": "Providers",
|
|
2056
2059
|
"href": "/providers",
|
|
2057
|
-
"icon": "user-check"
|
|
2058
|
-
"label": "Providers"
|
|
2060
|
+
"icon": "user-check"
|
|
2059
2061
|
},
|
|
2060
2062
|
{
|
|
2063
|
+
"label": "Book",
|
|
2061
2064
|
"href": "/book",
|
|
2062
|
-
"icon": "calendar-plus"
|
|
2063
|
-
"label": "Book"
|
|
2065
|
+
"icon": "calendar-plus"
|
|
2064
2066
|
},
|
|
2065
2067
|
{
|
|
2066
2068
|
"label": "Appointments",
|
|
2067
|
-
"
|
|
2068
|
-
"
|
|
2069
|
+
"href": "/appointments",
|
|
2070
|
+
"icon": "calendar"
|
|
2069
2071
|
},
|
|
2070
2072
|
{
|
|
2071
2073
|
"href": "/schedule",
|
|
@@ -2073,16 +2075,14 @@
|
|
|
2073
2075
|
"label": "Schedule"
|
|
2074
2076
|
}
|
|
2075
2077
|
],
|
|
2076
|
-
"contentTrait": "@trait.BookingWizard",
|
|
2077
2078
|
"notifications": [],
|
|
2078
2079
|
"notificationClickEvent": "BOOKING_NOTIFICATIONS_OPEN",
|
|
2079
2080
|
"appName": "BookingSystemApp",
|
|
2080
|
-
"
|
|
2081
|
-
"topBarActions": []
|
|
2081
|
+
"contentTrait": "@trait.BookingWizard"
|
|
2082
2082
|
},
|
|
2083
2083
|
"events": {
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2084
|
+
"NOTIFY_CLICK": "BOOKING_NOTIFICATIONS_OPEN",
|
|
2085
|
+
"SEARCH": "BOOKING_SEARCH"
|
|
2086
2086
|
}
|
|
2087
2087
|
},
|
|
2088
2088
|
{
|
|
@@ -2147,22 +2147,19 @@
|
|
|
2147
2147
|
"render-ui",
|
|
2148
2148
|
"main",
|
|
2149
2149
|
{
|
|
2150
|
-
"gap": "md",
|
|
2151
2150
|
"children": [
|
|
2152
2151
|
{
|
|
2152
|
+
"type": "alert",
|
|
2153
2153
|
"variant": "info",
|
|
2154
|
-
"message": "Enter card details to pay your booking deposit."
|
|
2155
|
-
"type": "alert"
|
|
2154
|
+
"message": "Enter card details to pay your booking deposit."
|
|
2156
2155
|
},
|
|
2157
2156
|
{
|
|
2158
|
-
"inputType": "text",
|
|
2159
2157
|
"placeholder": "Card number",
|
|
2158
|
+
"inputType": "text",
|
|
2160
2159
|
"type": "input"
|
|
2161
2160
|
},
|
|
2162
2161
|
{
|
|
2163
|
-
"gap": "sm",
|
|
2164
2162
|
"type": "stack",
|
|
2165
|
-
"direction": "horizontal",
|
|
2166
2163
|
"children": [
|
|
2167
2164
|
{
|
|
2168
2165
|
"type": "input",
|
|
@@ -2171,21 +2168,24 @@
|
|
|
2171
2168
|
},
|
|
2172
2169
|
{
|
|
2173
2170
|
"placeholder": "CVC",
|
|
2174
|
-
"
|
|
2175
|
-
"
|
|
2171
|
+
"type": "input",
|
|
2172
|
+
"inputType": "text"
|
|
2176
2173
|
}
|
|
2177
|
-
]
|
|
2174
|
+
],
|
|
2175
|
+
"direction": "horizontal",
|
|
2176
|
+
"gap": "sm"
|
|
2178
2177
|
},
|
|
2179
2178
|
{
|
|
2180
2179
|
"icon": "credit-card",
|
|
2181
|
-
"type": "button",
|
|
2182
|
-
"label": "Pay deposit",
|
|
2183
2180
|
"action": "CREATE_PAYMENT",
|
|
2184
|
-
"variant": "primary"
|
|
2181
|
+
"variant": "primary",
|
|
2182
|
+
"label": "Pay deposit",
|
|
2183
|
+
"type": "button"
|
|
2185
2184
|
}
|
|
2186
2185
|
],
|
|
2187
|
-
"
|
|
2188
|
-
"
|
|
2186
|
+
"direction": "vertical",
|
|
2187
|
+
"gap": "md",
|
|
2188
|
+
"type": "stack"
|
|
2189
2189
|
}
|
|
2190
2190
|
]
|
|
2191
2191
|
]
|
|
@@ -2540,22 +2540,23 @@
|
|
|
2540
2540
|
"render-ui",
|
|
2541
2541
|
"main",
|
|
2542
2542
|
{
|
|
2543
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2543
2544
|
"children": [
|
|
2544
2545
|
{
|
|
2546
|
+
"variant": "h2",
|
|
2545
2547
|
"content": "Book Appointment",
|
|
2546
|
-
"type": "typography"
|
|
2547
|
-
"variant": "h2"
|
|
2548
|
+
"type": "typography"
|
|
2548
2549
|
},
|
|
2549
2550
|
{
|
|
2550
|
-
"type": "wizard-progress",
|
|
2551
|
-
"currentStep": 0.0,
|
|
2552
2551
|
"steps": [
|
|
2553
2552
|
"Select Provider",
|
|
2554
2553
|
"Select Time",
|
|
2555
2554
|
"Your Details",
|
|
2556
2555
|
"Payment",
|
|
2557
2556
|
"Confirmation"
|
|
2558
|
-
]
|
|
2557
|
+
],
|
|
2558
|
+
"currentStep": 0.0,
|
|
2559
|
+
"type": "wizard-progress"
|
|
2559
2560
|
},
|
|
2560
2561
|
{
|
|
2561
2562
|
"type": "divider"
|
|
@@ -2566,24 +2567,23 @@
|
|
|
2566
2567
|
"content": "Select Provider"
|
|
2567
2568
|
},
|
|
2568
2569
|
{
|
|
2569
|
-
"mode": "create",
|
|
2570
|
-
"submitLabel": "Continue",
|
|
2571
|
-
"showCancel": false,
|
|
2572
2570
|
"fields": [
|
|
2573
2571
|
{
|
|
2572
|
+
"required": true,
|
|
2574
2573
|
"name": "providerName",
|
|
2575
|
-
"min": 2.0
|
|
2576
|
-
"required": true
|
|
2574
|
+
"min": 2.0
|
|
2577
2575
|
}
|
|
2578
2576
|
],
|
|
2577
|
+
"submitLabel": "Continue",
|
|
2579
2578
|
"submitEvent": "NEXT",
|
|
2580
|
-
"
|
|
2579
|
+
"showCancel": false,
|
|
2580
|
+
"type": "form-section",
|
|
2581
|
+
"mode": "create"
|
|
2581
2582
|
}
|
|
2582
2583
|
],
|
|
2583
|
-
"className": "max-w-xl mx-auto w-full",
|
|
2584
|
-
"direction": "vertical",
|
|
2585
2584
|
"gap": "lg",
|
|
2586
|
-
"type": "stack"
|
|
2585
|
+
"type": "stack",
|
|
2586
|
+
"direction": "vertical"
|
|
2587
2587
|
}
|
|
2588
2588
|
]
|
|
2589
2589
|
]
|
|
@@ -2603,10 +2603,6 @@
|
|
|
2603
2603
|
"render-ui",
|
|
2604
2604
|
"main",
|
|
2605
2605
|
{
|
|
2606
|
-
"gap": "lg",
|
|
2607
|
-
"direction": "vertical",
|
|
2608
|
-
"type": "stack",
|
|
2609
|
-
"className": "max-w-xl mx-auto w-full",
|
|
2610
2606
|
"children": [
|
|
2611
2607
|
{
|
|
2612
2608
|
"variant": "h2",
|
|
@@ -2614,8 +2610,8 @@
|
|
|
2614
2610
|
"content": "Book Appointment"
|
|
2615
2611
|
},
|
|
2616
2612
|
{
|
|
2617
|
-
"currentStep": 1.0,
|
|
2618
2613
|
"type": "wizard-progress",
|
|
2614
|
+
"currentStep": 1.0,
|
|
2619
2615
|
"steps": [
|
|
2620
2616
|
"Select Provider",
|
|
2621
2617
|
"Select Time",
|
|
@@ -2629,12 +2625,14 @@
|
|
|
2629
2625
|
},
|
|
2630
2626
|
{
|
|
2631
2627
|
"type": "typography",
|
|
2632
|
-
"
|
|
2633
|
-
"
|
|
2628
|
+
"content": "Select Time",
|
|
2629
|
+
"variant": "h3"
|
|
2634
2630
|
},
|
|
2635
2631
|
{
|
|
2632
|
+
"submitLabel": "Continue",
|
|
2633
|
+
"cancelLabel": "Back",
|
|
2634
|
+
"type": "form-section",
|
|
2636
2635
|
"cancelEvent": "PREV",
|
|
2637
|
-
"submitEvent": "NEXT",
|
|
2638
2636
|
"mode": "edit",
|
|
2639
2637
|
"fields": [
|
|
2640
2638
|
{
|
|
@@ -2643,11 +2641,13 @@
|
|
|
2643
2641
|
}
|
|
2644
2642
|
],
|
|
2645
2643
|
"entity": "@entity",
|
|
2646
|
-
"
|
|
2647
|
-
"cancelLabel": "Back",
|
|
2648
|
-
"submitLabel": "Continue"
|
|
2644
|
+
"submitEvent": "NEXT"
|
|
2649
2645
|
}
|
|
2650
|
-
]
|
|
2646
|
+
],
|
|
2647
|
+
"direction": "vertical",
|
|
2648
|
+
"type": "stack",
|
|
2649
|
+
"gap": "lg",
|
|
2650
|
+
"className": "max-w-xl mx-auto w-full"
|
|
2651
2651
|
}
|
|
2652
2652
|
]
|
|
2653
2653
|
]
|
|
@@ -2673,11 +2673,12 @@
|
|
|
2673
2673
|
{
|
|
2674
2674
|
"children": [
|
|
2675
2675
|
{
|
|
2676
|
-
"content": "Book Appointment",
|
|
2677
2676
|
"variant": "h2",
|
|
2677
|
+
"content": "Book Appointment",
|
|
2678
2678
|
"type": "typography"
|
|
2679
2679
|
},
|
|
2680
2680
|
{
|
|
2681
|
+
"type": "wizard-progress",
|
|
2681
2682
|
"steps": [
|
|
2682
2683
|
"Select Provider",
|
|
2683
2684
|
"Select Time",
|
|
@@ -2685,48 +2686,47 @@
|
|
|
2685
2686
|
"Payment",
|
|
2686
2687
|
"Confirmation"
|
|
2687
2688
|
],
|
|
2688
|
-
"currentStep": 2.0
|
|
2689
|
-
"type": "wizard-progress"
|
|
2689
|
+
"currentStep": 2.0
|
|
2690
2690
|
},
|
|
2691
2691
|
{
|
|
2692
2692
|
"type": "divider"
|
|
2693
2693
|
},
|
|
2694
2694
|
{
|
|
2695
2695
|
"variant": "h3",
|
|
2696
|
-
"
|
|
2697
|
-
"
|
|
2696
|
+
"type": "typography",
|
|
2697
|
+
"content": "Your Details"
|
|
2698
2698
|
},
|
|
2699
2699
|
{
|
|
2700
|
-
"
|
|
2700
|
+
"entity": "@entity",
|
|
2701
|
+
"mode": "edit",
|
|
2702
|
+
"cancelLabel": "Back",
|
|
2703
|
+
"cancelEvent": "PREV",
|
|
2701
2704
|
"type": "form-section",
|
|
2702
2705
|
"fields": [
|
|
2703
2706
|
{
|
|
2704
|
-
"
|
|
2707
|
+
"min": 2.0,
|
|
2705
2708
|
"name": "customerName",
|
|
2706
|
-
"
|
|
2709
|
+
"required": true
|
|
2707
2710
|
},
|
|
2708
2711
|
{
|
|
2709
|
-
"name": "email",
|
|
2710
2712
|
"required": true,
|
|
2713
|
+
"name": "email",
|
|
2711
2714
|
"type": "email"
|
|
2712
2715
|
},
|
|
2713
2716
|
{
|
|
2714
|
-
"
|
|
2715
|
-
"
|
|
2717
|
+
"required": true,
|
|
2718
|
+
"name": "phone"
|
|
2716
2719
|
},
|
|
2717
2720
|
{
|
|
2718
2721
|
"name": "notes"
|
|
2719
2722
|
}
|
|
2720
2723
|
],
|
|
2721
|
-
"mode": "edit",
|
|
2722
|
-
"cancelLabel": "Back",
|
|
2723
|
-
"cancelEvent": "PREV",
|
|
2724
2724
|
"submitEvent": "NEXT",
|
|
2725
|
-
"
|
|
2725
|
+
"submitLabel": "Continue"
|
|
2726
2726
|
}
|
|
2727
2727
|
],
|
|
2728
|
-
"gap": "lg",
|
|
2729
2728
|
"className": "max-w-xl mx-auto w-full",
|
|
2729
|
+
"gap": "lg",
|
|
2730
2730
|
"type": "stack",
|
|
2731
2731
|
"direction": "vertical"
|
|
2732
2732
|
}
|
|
@@ -2743,16 +2743,16 @@
|
|
|
2743
2743
|
"main",
|
|
2744
2744
|
{
|
|
2745
2745
|
"gap": "lg",
|
|
2746
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2746
2747
|
"type": "stack",
|
|
2747
2748
|
"direction": "vertical",
|
|
2748
2749
|
"children": [
|
|
2749
2750
|
{
|
|
2750
|
-
"type": "typography",
|
|
2751
2751
|
"variant": "h2",
|
|
2752
|
-
"content": "Book Appointment"
|
|
2752
|
+
"content": "Book Appointment",
|
|
2753
|
+
"type": "typography"
|
|
2753
2754
|
},
|
|
2754
2755
|
{
|
|
2755
|
-
"currentStep": 0.0,
|
|
2756
2756
|
"type": "wizard-progress",
|
|
2757
2757
|
"steps": [
|
|
2758
2758
|
"Select Provider",
|
|
@@ -2760,7 +2760,8 @@
|
|
|
2760
2760
|
"Your Details",
|
|
2761
2761
|
"Payment",
|
|
2762
2762
|
"Confirmation"
|
|
2763
|
-
]
|
|
2763
|
+
],
|
|
2764
|
+
"currentStep": 0.0
|
|
2764
2765
|
},
|
|
2765
2766
|
{
|
|
2766
2767
|
"type": "divider"
|
|
@@ -2771,22 +2772,21 @@
|
|
|
2771
2772
|
"type": "typography"
|
|
2772
2773
|
},
|
|
2773
2774
|
{
|
|
2774
|
-
"
|
|
2775
|
+
"type": "form-section",
|
|
2776
|
+
"entity": "@entity",
|
|
2775
2777
|
"mode": "edit",
|
|
2778
|
+
"submitLabel": "Continue",
|
|
2779
|
+
"showCancel": false,
|
|
2776
2780
|
"fields": [
|
|
2777
2781
|
{
|
|
2778
2782
|
"min": 2.0,
|
|
2779
|
-
"
|
|
2780
|
-
"
|
|
2783
|
+
"required": true,
|
|
2784
|
+
"name": "providerName"
|
|
2781
2785
|
}
|
|
2782
2786
|
],
|
|
2783
|
-
"submitEvent": "NEXT"
|
|
2784
|
-
"showCancel": false,
|
|
2785
|
-
"type": "form-section",
|
|
2786
|
-
"entity": "@entity"
|
|
2787
|
+
"submitEvent": "NEXT"
|
|
2787
2788
|
}
|
|
2788
|
-
]
|
|
2789
|
-
"className": "max-w-xl mx-auto w-full"
|
|
2789
|
+
]
|
|
2790
2790
|
}
|
|
2791
2791
|
]
|
|
2792
2792
|
]
|
|
@@ -2826,11 +2826,15 @@
|
|
|
2826
2826
|
"render-ui",
|
|
2827
2827
|
"main",
|
|
2828
2828
|
{
|
|
2829
|
+
"gap": "lg",
|
|
2830
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2831
|
+
"direction": "vertical",
|
|
2832
|
+
"type": "stack",
|
|
2829
2833
|
"children": [
|
|
2830
2834
|
{
|
|
2831
|
-
"
|
|
2835
|
+
"content": "Book Appointment",
|
|
2832
2836
|
"type": "typography",
|
|
2833
|
-
"
|
|
2837
|
+
"variant": "h2"
|
|
2834
2838
|
},
|
|
2835
2839
|
{
|
|
2836
2840
|
"steps": [
|
|
@@ -2847,31 +2851,27 @@
|
|
|
2847
2851
|
"type": "divider"
|
|
2848
2852
|
},
|
|
2849
2853
|
{
|
|
2850
|
-
"type": "typography",
|
|
2851
2854
|
"content": "Pay Deposit",
|
|
2855
|
+
"type": "typography",
|
|
2852
2856
|
"variant": "h3"
|
|
2853
2857
|
},
|
|
2854
2858
|
"@trait.BookingPayment",
|
|
2855
2859
|
{
|
|
2856
|
-
"type": "stack",
|
|
2857
2860
|
"gap": "sm",
|
|
2858
|
-
"
|
|
2861
|
+
"type": "stack",
|
|
2859
2862
|
"justify": "start",
|
|
2863
|
+
"direction": "horizontal",
|
|
2860
2864
|
"children": [
|
|
2861
2865
|
{
|
|
2862
|
-
"
|
|
2866
|
+
"label": "Back",
|
|
2863
2867
|
"variant": "ghost",
|
|
2864
2868
|
"icon": "arrow-left",
|
|
2865
|
-
"
|
|
2869
|
+
"type": "button",
|
|
2866
2870
|
"action": "PREV"
|
|
2867
2871
|
}
|
|
2868
2872
|
]
|
|
2869
2873
|
}
|
|
2870
|
-
]
|
|
2871
|
-
"gap": "lg",
|
|
2872
|
-
"type": "stack",
|
|
2873
|
-
"direction": "vertical",
|
|
2874
|
-
"className": "max-w-xl mx-auto w-full"
|
|
2874
|
+
]
|
|
2875
2875
|
}
|
|
2876
2876
|
]
|
|
2877
2877
|
]
|
|
@@ -2886,48 +2886,48 @@
|
|
|
2886
2886
|
"main",
|
|
2887
2887
|
{
|
|
2888
2888
|
"direction": "vertical",
|
|
2889
|
-
"className": "max-w-xl mx-auto w-full",
|
|
2890
2889
|
"children": [
|
|
2891
2890
|
{
|
|
2892
2891
|
"variant": "h2",
|
|
2893
|
-
"
|
|
2894
|
-
"
|
|
2892
|
+
"content": "Book Appointment",
|
|
2893
|
+
"type": "typography"
|
|
2895
2894
|
},
|
|
2896
2895
|
{
|
|
2896
|
+
"currentStep": 1.0,
|
|
2897
|
+
"type": "wizard-progress",
|
|
2897
2898
|
"steps": [
|
|
2898
2899
|
"Select Provider",
|
|
2899
2900
|
"Select Time",
|
|
2900
2901
|
"Your Details",
|
|
2901
2902
|
"Payment",
|
|
2902
2903
|
"Confirmation"
|
|
2903
|
-
]
|
|
2904
|
-
"type": "wizard-progress",
|
|
2905
|
-
"currentStep": 1.0
|
|
2904
|
+
]
|
|
2906
2905
|
},
|
|
2907
2906
|
{
|
|
2908
2907
|
"type": "divider"
|
|
2909
2908
|
},
|
|
2910
2909
|
{
|
|
2911
|
-
"variant": "h3",
|
|
2912
2910
|
"type": "typography",
|
|
2913
|
-
"content": "Select Time"
|
|
2911
|
+
"content": "Select Time",
|
|
2912
|
+
"variant": "h3"
|
|
2914
2913
|
},
|
|
2915
2914
|
{
|
|
2916
|
-
"cancelEvent": "PREV",
|
|
2917
|
-
"submitLabel": "Continue",
|
|
2918
|
-
"mode": "edit",
|
|
2919
2915
|
"entity": "@entity",
|
|
2920
|
-
"
|
|
2921
|
-
"cancelLabel": "Back",
|
|
2916
|
+
"mode": "edit",
|
|
2922
2917
|
"fields": [
|
|
2923
2918
|
{
|
|
2924
|
-
"
|
|
2925
|
-
"
|
|
2919
|
+
"required": true,
|
|
2920
|
+
"name": "scheduledAt"
|
|
2926
2921
|
}
|
|
2927
2922
|
],
|
|
2928
|
-
"
|
|
2923
|
+
"cancelEvent": "PREV",
|
|
2924
|
+
"submitLabel": "Continue",
|
|
2925
|
+
"cancelLabel": "Back",
|
|
2926
|
+
"type": "form-section",
|
|
2927
|
+
"submitEvent": "NEXT"
|
|
2929
2928
|
}
|
|
2930
2929
|
],
|
|
2930
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2931
2931
|
"type": "stack",
|
|
2932
2932
|
"gap": "lg"
|
|
2933
2933
|
}
|
|
@@ -2951,52 +2951,54 @@
|
|
|
2951
2951
|
"render-ui",
|
|
2952
2952
|
"main",
|
|
2953
2953
|
{
|
|
2954
|
-
"gap": "lg",
|
|
2955
2954
|
"type": "stack",
|
|
2955
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2956
|
+
"gap": "lg",
|
|
2957
|
+
"direction": "vertical",
|
|
2956
2958
|
"children": [
|
|
2957
2959
|
{
|
|
2958
|
-
"type": "typography",
|
|
2959
2960
|
"variant": "h2",
|
|
2961
|
+
"type": "typography",
|
|
2960
2962
|
"content": "Review your booking"
|
|
2961
2963
|
},
|
|
2962
2964
|
{
|
|
2963
2965
|
"type": "wizard-progress",
|
|
2964
|
-
"currentStep": 4.0,
|
|
2965
2966
|
"steps": [
|
|
2966
2967
|
"Select Provider",
|
|
2967
2968
|
"Select Time",
|
|
2968
2969
|
"Your Details",
|
|
2969
2970
|
"Payment",
|
|
2970
2971
|
"Confirmation"
|
|
2971
|
-
]
|
|
2972
|
+
],
|
|
2973
|
+
"currentStep": 4.0
|
|
2972
2974
|
},
|
|
2973
2975
|
{
|
|
2974
2976
|
"type": "divider"
|
|
2975
2977
|
},
|
|
2976
2978
|
{
|
|
2977
2979
|
"type": "stack",
|
|
2978
|
-
"direction": "vertical",
|
|
2979
2980
|
"gap": "sm",
|
|
2980
2981
|
"children": [
|
|
2981
2982
|
{
|
|
2982
2983
|
"children": [
|
|
2983
2984
|
{
|
|
2984
2985
|
"variant": "caption",
|
|
2985
|
-
"
|
|
2986
|
-
"
|
|
2986
|
+
"content": "Provider",
|
|
2987
|
+
"type": "typography"
|
|
2987
2988
|
},
|
|
2988
2989
|
{
|
|
2989
|
-
"
|
|
2990
|
+
"type": "typography",
|
|
2990
2991
|
"content": "@entity.providerName",
|
|
2991
|
-
"
|
|
2992
|
+
"variant": "body"
|
|
2992
2993
|
}
|
|
2993
2994
|
],
|
|
2994
|
-
"
|
|
2995
|
+
"type": "stack",
|
|
2995
2996
|
"direction": "horizontal",
|
|
2996
|
-
"
|
|
2997
|
-
"
|
|
2997
|
+
"gap": "md",
|
|
2998
|
+
"justify": "between"
|
|
2998
2999
|
},
|
|
2999
3000
|
{
|
|
3001
|
+
"type": "stack",
|
|
3000
3002
|
"children": [
|
|
3001
3003
|
{
|
|
3002
3004
|
"variant": "caption",
|
|
@@ -3004,76 +3006,76 @@
|
|
|
3004
3006
|
"content": "When"
|
|
3005
3007
|
},
|
|
3006
3008
|
{
|
|
3007
|
-
"variant": "body",
|
|
3008
3009
|
"type": "typography",
|
|
3009
|
-
"content": "@entity.scheduledAt"
|
|
3010
|
+
"content": "@entity.scheduledAt",
|
|
3011
|
+
"variant": "body"
|
|
3010
3012
|
}
|
|
3011
3013
|
],
|
|
3012
|
-
"
|
|
3014
|
+
"gap": "md",
|
|
3013
3015
|
"justify": "between",
|
|
3014
|
-
"
|
|
3015
|
-
"gap": "md"
|
|
3016
|
+
"direction": "horizontal"
|
|
3016
3017
|
},
|
|
3017
3018
|
{
|
|
3018
|
-
"direction": "horizontal",
|
|
3019
3019
|
"type": "stack",
|
|
3020
3020
|
"gap": "md",
|
|
3021
3021
|
"justify": "between",
|
|
3022
3022
|
"children": [
|
|
3023
3023
|
{
|
|
3024
3024
|
"content": "Customer",
|
|
3025
|
-
"
|
|
3026
|
-
"
|
|
3025
|
+
"variant": "caption",
|
|
3026
|
+
"type": "typography"
|
|
3027
3027
|
},
|
|
3028
3028
|
{
|
|
3029
|
-
"type": "typography",
|
|
3030
3029
|
"variant": "body",
|
|
3031
|
-
"content": "@entity.customerName"
|
|
3030
|
+
"content": "@entity.customerName",
|
|
3031
|
+
"type": "typography"
|
|
3032
3032
|
}
|
|
3033
|
-
]
|
|
3033
|
+
],
|
|
3034
|
+
"direction": "horizontal"
|
|
3034
3035
|
},
|
|
3035
3036
|
{
|
|
3036
3037
|
"type": "stack",
|
|
3037
|
-
"
|
|
3038
|
+
"justify": "between",
|
|
3038
3039
|
"children": [
|
|
3039
3040
|
{
|
|
3040
|
-
"
|
|
3041
|
+
"type": "typography",
|
|
3041
3042
|
"variant": "caption",
|
|
3042
|
-
"
|
|
3043
|
+
"content": "Email"
|
|
3043
3044
|
},
|
|
3044
3045
|
{
|
|
3045
3046
|
"content": "@entity.email",
|
|
3046
|
-
"
|
|
3047
|
-
"
|
|
3047
|
+
"variant": "body",
|
|
3048
|
+
"type": "typography"
|
|
3048
3049
|
}
|
|
3049
3050
|
],
|
|
3050
|
-
"
|
|
3051
|
-
"
|
|
3051
|
+
"gap": "md",
|
|
3052
|
+
"direction": "horizontal"
|
|
3052
3053
|
},
|
|
3053
3054
|
{
|
|
3055
|
+
"direction": "horizontal",
|
|
3054
3056
|
"children": [
|
|
3055
3057
|
{
|
|
3056
|
-
"variant": "caption",
|
|
3057
3058
|
"type": "typography",
|
|
3059
|
+
"variant": "caption",
|
|
3058
3060
|
"content": "Phone"
|
|
3059
3061
|
},
|
|
3060
3062
|
{
|
|
3061
|
-
"
|
|
3063
|
+
"content": "@entity.phone",
|
|
3062
3064
|
"variant": "body",
|
|
3063
|
-
"
|
|
3065
|
+
"type": "typography"
|
|
3064
3066
|
}
|
|
3065
3067
|
],
|
|
3066
3068
|
"type": "stack",
|
|
3067
|
-
"justify": "between",
|
|
3068
3069
|
"gap": "md",
|
|
3069
|
-
"
|
|
3070
|
+
"justify": "between"
|
|
3070
3071
|
},
|
|
3071
3072
|
{
|
|
3073
|
+
"type": "stack",
|
|
3072
3074
|
"children": [
|
|
3073
3075
|
{
|
|
3076
|
+
"type": "typography",
|
|
3074
3077
|
"variant": "caption",
|
|
3075
|
-
"content": "Deposit Paid"
|
|
3076
|
-
"type": "typography"
|
|
3078
|
+
"content": "Deposit Paid"
|
|
3077
3079
|
},
|
|
3078
3080
|
{
|
|
3079
3081
|
"variant": "body",
|
|
@@ -3081,41 +3083,39 @@
|
|
|
3081
3083
|
"content": "@entity.depositAmount"
|
|
3082
3084
|
}
|
|
3083
3085
|
],
|
|
3086
|
+
"justify": "between",
|
|
3084
3087
|
"direction": "horizontal",
|
|
3085
|
-
"
|
|
3086
|
-
"gap": "md",
|
|
3087
|
-
"justify": "between"
|
|
3088
|
+
"gap": "md"
|
|
3088
3089
|
}
|
|
3089
|
-
]
|
|
3090
|
+
],
|
|
3091
|
+
"direction": "vertical"
|
|
3090
3092
|
},
|
|
3091
3093
|
{
|
|
3092
3094
|
"type": "divider"
|
|
3093
3095
|
},
|
|
3094
3096
|
{
|
|
3095
|
-
"
|
|
3097
|
+
"direction": "horizontal",
|
|
3098
|
+
"type": "stack",
|
|
3096
3099
|
"children": [
|
|
3097
3100
|
{
|
|
3098
3101
|
"icon": "arrow-left",
|
|
3099
|
-
"
|
|
3100
|
-
"variant": "ghost",
|
|
3102
|
+
"label": "Back",
|
|
3101
3103
|
"type": "button",
|
|
3102
|
-
"
|
|
3104
|
+
"action": "PREV",
|
|
3105
|
+
"variant": "ghost"
|
|
3103
3106
|
},
|
|
3104
3107
|
{
|
|
3105
|
-
"type": "button",
|
|
3106
3108
|
"label": "Confirm booking",
|
|
3107
3109
|
"action": "COMPLETE",
|
|
3108
3110
|
"variant": "primary",
|
|
3111
|
+
"type": "button",
|
|
3109
3112
|
"icon": "check"
|
|
3110
3113
|
}
|
|
3111
3114
|
],
|
|
3112
|
-
"
|
|
3113
|
-
"type": "stack",
|
|
3115
|
+
"gap": "sm",
|
|
3114
3116
|
"justify": "between"
|
|
3115
3117
|
}
|
|
3116
|
-
]
|
|
3117
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3118
|
-
"direction": "vertical"
|
|
3118
|
+
]
|
|
3119
3119
|
}
|
|
3120
3120
|
]
|
|
3121
3121
|
]
|
|
@@ -3130,14 +3130,13 @@
|
|
|
3130
3130
|
"main",
|
|
3131
3131
|
{
|
|
3132
3132
|
"gap": "lg",
|
|
3133
|
-
"direction": "vertical",
|
|
3134
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3135
3133
|
"type": "stack",
|
|
3134
|
+
"direction": "vertical",
|
|
3136
3135
|
"children": [
|
|
3137
3136
|
{
|
|
3138
|
-
"content": "Book Appointment",
|
|
3139
3137
|
"type": "typography",
|
|
3140
|
-
"variant": "h2"
|
|
3138
|
+
"variant": "h2",
|
|
3139
|
+
"content": "Book Appointment"
|
|
3141
3140
|
},
|
|
3142
3141
|
{
|
|
3143
3142
|
"currentStep": 2.0,
|
|
@@ -3154,39 +3153,40 @@
|
|
|
3154
3153
|
"type": "divider"
|
|
3155
3154
|
},
|
|
3156
3155
|
{
|
|
3157
|
-
"variant": "h3",
|
|
3158
3156
|
"content": "Your Details",
|
|
3159
|
-
"type": "typography"
|
|
3157
|
+
"type": "typography",
|
|
3158
|
+
"variant": "h3"
|
|
3160
3159
|
},
|
|
3161
3160
|
{
|
|
3162
|
-
"
|
|
3161
|
+
"cancelEvent": "PREV",
|
|
3162
|
+
"cancelLabel": "Back",
|
|
3163
|
+
"entity": "@entity",
|
|
3164
|
+
"mode": "edit",
|
|
3165
|
+
"submitEvent": "NEXT",
|
|
3166
|
+
"submitLabel": "Continue",
|
|
3163
3167
|
"fields": [
|
|
3164
3168
|
{
|
|
3169
|
+
"name": "customerName",
|
|
3165
3170
|
"required": true,
|
|
3166
|
-
"min": 2.0
|
|
3167
|
-
"name": "customerName"
|
|
3171
|
+
"min": 2.0
|
|
3168
3172
|
},
|
|
3169
3173
|
{
|
|
3170
|
-
"name": "email",
|
|
3171
3174
|
"required": true,
|
|
3175
|
+
"name": "email",
|
|
3172
3176
|
"type": "email"
|
|
3173
3177
|
},
|
|
3174
3178
|
{
|
|
3175
|
-
"
|
|
3176
|
-
"
|
|
3179
|
+
"required": true,
|
|
3180
|
+
"name": "phone"
|
|
3177
3181
|
},
|
|
3178
3182
|
{
|
|
3179
3183
|
"name": "notes"
|
|
3180
3184
|
}
|
|
3181
3185
|
],
|
|
3182
|
-
"
|
|
3183
|
-
"submitEvent": "NEXT",
|
|
3184
|
-
"mode": "edit",
|
|
3185
|
-
"cancelLabel": "Back",
|
|
3186
|
-
"submitLabel": "Continue",
|
|
3187
|
-
"entity": "@entity"
|
|
3186
|
+
"type": "form-section"
|
|
3188
3187
|
}
|
|
3189
|
-
]
|
|
3188
|
+
],
|
|
3189
|
+
"className": "max-w-xl mx-auto w-full"
|
|
3190
3190
|
}
|
|
3191
3191
|
]
|
|
3192
3192
|
]
|
|
@@ -3216,8 +3216,8 @@
|
|
|
3216
3216
|
"@entity",
|
|
3217
3217
|
{
|
|
3218
3218
|
"emit": {
|
|
3219
|
-
"
|
|
3220
|
-
"
|
|
3219
|
+
"failure": "BookingSaveFailed",
|
|
3220
|
+
"success": "BookingSaved"
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
3223
3223
|
],
|
|
@@ -3227,9 +3227,9 @@
|
|
|
3227
3227
|
"send",
|
|
3228
3228
|
{
|
|
3229
3229
|
"body": "Your booking is confirmed.",
|
|
3230
|
-
"sender": "noreply@bookings.example",
|
|
3231
3230
|
"recipient": "@entity.email",
|
|
3232
|
-
"subject": "Booking Confirmed"
|
|
3231
|
+
"subject": "Booking Confirmed",
|
|
3232
|
+
"sender": "noreply@bookings.example"
|
|
3233
3233
|
},
|
|
3234
3234
|
{
|
|
3235
3235
|
"emit": {
|
|
@@ -3244,8 +3244,8 @@
|
|
|
3244
3244
|
"sendSMS",
|
|
3245
3245
|
{
|
|
3246
3246
|
"recipient": "@entity.phone",
|
|
3247
|
-
"
|
|
3248
|
-
"
|
|
3247
|
+
"body": "Booking confirmed for @entity.scheduledAt",
|
|
3248
|
+
"sender": "+15551234567"
|
|
3249
3249
|
},
|
|
3250
3250
|
{
|
|
3251
3251
|
"emit": {
|
|
@@ -3271,33 +3271,33 @@
|
|
|
3271
3271
|
"main",
|
|
3272
3272
|
{
|
|
3273
3273
|
"className": "max-w-xl mx-auto w-full py-12",
|
|
3274
|
-
"type": "stack",
|
|
3275
3274
|
"children": [
|
|
3276
3275
|
{
|
|
3277
|
-
"
|
|
3278
|
-
"
|
|
3276
|
+
"type": "icon",
|
|
3277
|
+
"name": "check-circle"
|
|
3279
3278
|
},
|
|
3280
3279
|
{
|
|
3281
|
-
"variant": "h2",
|
|
3282
3280
|
"type": "typography",
|
|
3281
|
+
"variant": "h2",
|
|
3283
3282
|
"content": "Booking confirmed"
|
|
3284
3283
|
},
|
|
3285
3284
|
{
|
|
3286
3285
|
"type": "typography",
|
|
3287
|
-
"color": "muted",
|
|
3288
3286
|
"variant": "body",
|
|
3287
|
+
"color": "muted",
|
|
3289
3288
|
"content": "We have emailed and SMS-confirmed your appointment."
|
|
3290
3289
|
},
|
|
3291
3290
|
{
|
|
3292
3291
|
"label": "Book another",
|
|
3293
|
-
"icon": "rotate-ccw",
|
|
3294
3292
|
"type": "button",
|
|
3295
|
-
"
|
|
3296
|
-
"
|
|
3293
|
+
"variant": "ghost",
|
|
3294
|
+
"icon": "rotate-ccw",
|
|
3295
|
+
"action": "RESTART"
|
|
3297
3296
|
}
|
|
3298
3297
|
],
|
|
3299
|
-
"
|
|
3298
|
+
"type": "stack",
|
|
3300
3299
|
"gap": "lg",
|
|
3300
|
+
"align": "center",
|
|
3301
3301
|
"direction": "vertical"
|
|
3302
3302
|
}
|
|
3303
3303
|
]
|
|
@@ -3313,7 +3313,9 @@
|
|
|
3313
3313
|
"main",
|
|
3314
3314
|
{
|
|
3315
3315
|
"className": "max-w-xl mx-auto w-full",
|
|
3316
|
+
"direction": "vertical",
|
|
3316
3317
|
"type": "stack",
|
|
3318
|
+
"gap": "lg",
|
|
3317
3319
|
"children": [
|
|
3318
3320
|
{
|
|
3319
3321
|
"variant": "h2",
|
|
@@ -3321,43 +3323,41 @@
|
|
|
3321
3323
|
"type": "typography"
|
|
3322
3324
|
},
|
|
3323
3325
|
{
|
|
3324
|
-
"currentStep": 3.0,
|
|
3325
|
-
"type": "wizard-progress",
|
|
3326
3326
|
"steps": [
|
|
3327
3327
|
"Select Provider",
|
|
3328
3328
|
"Select Time",
|
|
3329
3329
|
"Your Details",
|
|
3330
3330
|
"Payment",
|
|
3331
3331
|
"Confirmation"
|
|
3332
|
-
]
|
|
3332
|
+
],
|
|
3333
|
+
"currentStep": 3.0,
|
|
3334
|
+
"type": "wizard-progress"
|
|
3333
3335
|
},
|
|
3334
3336
|
{
|
|
3335
3337
|
"type": "divider"
|
|
3336
3338
|
},
|
|
3337
3339
|
{
|
|
3338
|
-
"
|
|
3340
|
+
"content": "Pay Deposit",
|
|
3339
3341
|
"type": "typography",
|
|
3340
|
-
"
|
|
3342
|
+
"variant": "h3"
|
|
3341
3343
|
},
|
|
3342
3344
|
"@trait.BookingPayment",
|
|
3343
3345
|
{
|
|
3344
|
-
"gap": "sm",
|
|
3345
3346
|
"type": "stack",
|
|
3346
|
-
"justify": "start",
|
|
3347
3347
|
"direction": "horizontal",
|
|
3348
3348
|
"children": [
|
|
3349
3349
|
{
|
|
3350
|
-
"label": "Back",
|
|
3351
3350
|
"action": "PREV",
|
|
3352
3351
|
"variant": "ghost",
|
|
3353
3352
|
"icon": "arrow-left",
|
|
3354
|
-
"type": "button"
|
|
3353
|
+
"type": "button",
|
|
3354
|
+
"label": "Back"
|
|
3355
3355
|
}
|
|
3356
|
-
]
|
|
3356
|
+
],
|
|
3357
|
+
"gap": "sm",
|
|
3358
|
+
"justify": "start"
|
|
3357
3359
|
}
|
|
3358
|
-
]
|
|
3359
|
-
"direction": "vertical",
|
|
3360
|
-
"gap": "lg"
|
|
3360
|
+
]
|
|
3361
3361
|
}
|
|
3362
3362
|
]
|
|
3363
3363
|
]
|
|
@@ -3413,24 +3413,23 @@
|
|
|
3413
3413
|
{
|
|
3414
3414
|
"className": "max-w-xl mx-auto w-full",
|
|
3415
3415
|
"direction": "vertical",
|
|
3416
|
-
"type": "stack",
|
|
3417
3416
|
"gap": "lg",
|
|
3418
3417
|
"children": [
|
|
3419
3418
|
{
|
|
3420
|
-
"
|
|
3419
|
+
"variant": "h2",
|
|
3421
3420
|
"content": "Book Appointment",
|
|
3422
|
-
"
|
|
3421
|
+
"type": "typography"
|
|
3423
3422
|
},
|
|
3424
3423
|
{
|
|
3425
|
-
"type": "wizard-progress",
|
|
3426
|
-
"currentStep": 0.0,
|
|
3427
3424
|
"steps": [
|
|
3428
3425
|
"Select Provider",
|
|
3429
3426
|
"Select Time",
|
|
3430
3427
|
"Your Details",
|
|
3431
3428
|
"Payment",
|
|
3432
3429
|
"Confirmation"
|
|
3433
|
-
]
|
|
3430
|
+
],
|
|
3431
|
+
"currentStep": 0.0,
|
|
3432
|
+
"type": "wizard-progress"
|
|
3434
3433
|
},
|
|
3435
3434
|
{
|
|
3436
3435
|
"type": "divider"
|
|
@@ -3441,20 +3440,21 @@
|
|
|
3441
3440
|
"content": "Select Provider"
|
|
3442
3441
|
},
|
|
3443
3442
|
{
|
|
3444
|
-
"showCancel": false,
|
|
3445
3443
|
"mode": "create",
|
|
3444
|
+
"type": "form-section",
|
|
3446
3445
|
"submitEvent": "NEXT",
|
|
3446
|
+
"showCancel": false,
|
|
3447
3447
|
"submitLabel": "Continue",
|
|
3448
3448
|
"fields": [
|
|
3449
3449
|
{
|
|
3450
|
-
"required": true,
|
|
3451
3450
|
"name": "providerName",
|
|
3452
|
-
"min": 2.0
|
|
3451
|
+
"min": 2.0,
|
|
3452
|
+
"required": true
|
|
3453
3453
|
}
|
|
3454
|
-
]
|
|
3455
|
-
"type": "form-section"
|
|
3454
|
+
]
|
|
3456
3455
|
}
|
|
3457
|
-
]
|
|
3456
|
+
],
|
|
3457
|
+
"type": "stack"
|
|
3458
3458
|
}
|
|
3459
3459
|
]
|
|
3460
3460
|
]
|
|
@@ -3558,38 +3558,38 @@
|
|
|
3558
3558
|
"name": "AppointmentAppLayout",
|
|
3559
3559
|
"linkedEntity": "Appointment",
|
|
3560
3560
|
"config": {
|
|
3561
|
-
"
|
|
3562
|
-
"notifications": [],
|
|
3561
|
+
"topBarActions": [],
|
|
3563
3562
|
"contentTrait": "@trait.AppointmentDashboard",
|
|
3564
|
-
"searchEvent": "APPOINTMENT_SEARCH",
|
|
3565
|
-
"appName": "BookingSystemApp",
|
|
3566
3563
|
"navItems": [
|
|
3567
3564
|
{
|
|
3568
3565
|
"href": "/providers",
|
|
3569
|
-
"
|
|
3570
|
-
"
|
|
3566
|
+
"icon": "user-check",
|
|
3567
|
+
"label": "Providers"
|
|
3571
3568
|
},
|
|
3572
3569
|
{
|
|
3570
|
+
"label": "Book",
|
|
3573
3571
|
"href": "/book",
|
|
3574
|
-
"icon": "calendar-plus"
|
|
3575
|
-
"label": "Book"
|
|
3572
|
+
"icon": "calendar-plus"
|
|
3576
3573
|
},
|
|
3577
3574
|
{
|
|
3578
3575
|
"icon": "calendar",
|
|
3579
|
-
"
|
|
3580
|
-
"
|
|
3576
|
+
"label": "Appointments",
|
|
3577
|
+
"href": "/appointments"
|
|
3581
3578
|
},
|
|
3582
3579
|
{
|
|
3583
|
-
"label": "Schedule",
|
|
3584
3580
|
"href": "/schedule",
|
|
3585
|
-
"icon": "clock"
|
|
3581
|
+
"icon": "clock",
|
|
3582
|
+
"label": "Schedule"
|
|
3586
3583
|
}
|
|
3587
3584
|
],
|
|
3588
|
-
"
|
|
3585
|
+
"appName": "BookingSystemApp",
|
|
3586
|
+
"notifications": [],
|
|
3587
|
+
"searchEvent": "APPOINTMENT_SEARCH",
|
|
3588
|
+
"notificationClickEvent": "APPOINTMENT_NOTIFICATIONS_OPEN"
|
|
3589
3589
|
},
|
|
3590
3590
|
"events": {
|
|
3591
|
-
"
|
|
3592
|
-
"
|
|
3591
|
+
"NOTIFY_CLICK": "APPOINTMENT_NOTIFICATIONS_OPEN",
|
|
3592
|
+
"SEARCH": "APPOINTMENT_SEARCH"
|
|
3593
3593
|
}
|
|
3594
3594
|
},
|
|
3595
3595
|
{
|
|
@@ -3634,48 +3634,47 @@
|
|
|
3634
3634
|
"render-ui",
|
|
3635
3635
|
"main",
|
|
3636
3636
|
{
|
|
3637
|
-
"type": "stack",
|
|
3638
3637
|
"gap": "lg",
|
|
3639
3638
|
"children": [
|
|
3640
3639
|
{
|
|
3641
|
-
"
|
|
3642
|
-
"type": "stack",
|
|
3643
|
-
"justify": "between",
|
|
3644
|
-
"align": "center",
|
|
3640
|
+
"gap": "md",
|
|
3645
3641
|
"children": [
|
|
3646
3642
|
{
|
|
3647
|
-
"
|
|
3643
|
+
"direction": "horizontal",
|
|
3644
|
+
"align": "center",
|
|
3648
3645
|
"gap": "sm",
|
|
3649
3646
|
"children": [
|
|
3650
3647
|
{
|
|
3651
|
-
"
|
|
3652
|
-
"
|
|
3648
|
+
"type": "icon",
|
|
3649
|
+
"name": "calendar"
|
|
3653
3650
|
},
|
|
3654
3651
|
{
|
|
3655
|
-
"
|
|
3652
|
+
"type": "typography",
|
|
3656
3653
|
"content": "Appointments",
|
|
3657
|
-
"
|
|
3654
|
+
"variant": "h2"
|
|
3658
3655
|
}
|
|
3659
3656
|
],
|
|
3660
|
-
"
|
|
3661
|
-
"direction": "horizontal"
|
|
3657
|
+
"type": "stack"
|
|
3662
3658
|
},
|
|
3663
3659
|
{
|
|
3664
3660
|
"children": [
|
|
3665
3661
|
{
|
|
3666
3662
|
"icon": "plus",
|
|
3663
|
+
"action": "CREATE",
|
|
3667
3664
|
"label": "Create Appointment",
|
|
3668
3665
|
"type": "button",
|
|
3669
|
-
"action": "CREATE",
|
|
3670
3666
|
"variant": "primary"
|
|
3671
3667
|
}
|
|
3672
3668
|
],
|
|
3673
|
-
"
|
|
3669
|
+
"direction": "horizontal",
|
|
3674
3670
|
"gap": "sm",
|
|
3675
|
-
"
|
|
3671
|
+
"type": "stack"
|
|
3676
3672
|
}
|
|
3677
3673
|
],
|
|
3678
|
-
"
|
|
3674
|
+
"justify": "between",
|
|
3675
|
+
"type": "stack",
|
|
3676
|
+
"direction": "horizontal",
|
|
3677
|
+
"align": "center"
|
|
3679
3678
|
},
|
|
3680
3679
|
{
|
|
3681
3680
|
"type": "divider"
|
|
@@ -3686,7 +3685,8 @@
|
|
|
3686
3685
|
},
|
|
3687
3686
|
"@trait.AppointmentBrowseList"
|
|
3688
3687
|
],
|
|
3689
|
-
"direction": "vertical"
|
|
3688
|
+
"direction": "vertical",
|
|
3689
|
+
"type": "stack"
|
|
3690
3690
|
}
|
|
3691
3691
|
]
|
|
3692
3692
|
]
|
|
@@ -3700,9 +3700,9 @@
|
|
|
3700
3700
|
"name": "AppointmentCalendar",
|
|
3701
3701
|
"linkedEntity": "Appointment",
|
|
3702
3702
|
"config": {
|
|
3703
|
+
"dateField": "scheduledAt",
|
|
3703
3704
|
"titleField": "summary",
|
|
3704
|
-
"colorField": "status"
|
|
3705
|
-
"dateField": "scheduledAt"
|
|
3705
|
+
"colorField": "status"
|
|
3706
3706
|
},
|
|
3707
3707
|
"listens": [
|
|
3708
3708
|
{
|
|
@@ -3746,46 +3746,28 @@
|
|
|
3746
3746
|
"linkedEntity": "Appointment",
|
|
3747
3747
|
"config": {
|
|
3748
3748
|
"gap": "sm",
|
|
3749
|
-
"cols": 1.0,
|
|
3750
|
-
"itemActions": [
|
|
3751
|
-
{
|
|
3752
|
-
"variant": "ghost",
|
|
3753
|
-
"event": "VIEW",
|
|
3754
|
-
"label": "View"
|
|
3755
|
-
},
|
|
3756
|
-
{
|
|
3757
|
-
"variant": "ghost",
|
|
3758
|
-
"label": "Edit",
|
|
3759
|
-
"event": "EDIT"
|
|
3760
|
-
},
|
|
3761
|
-
{
|
|
3762
|
-
"label": "Delete",
|
|
3763
|
-
"event": "DELETE",
|
|
3764
|
-
"variant": "danger"
|
|
3765
|
-
}
|
|
3766
|
-
],
|
|
3767
3749
|
"fields": [
|
|
3768
3750
|
{
|
|
3769
|
-
"icon": "calendar",
|
|
3770
|
-
"name": "summary",
|
|
3771
3751
|
"variant": "h3",
|
|
3752
|
+
"name": "summary",
|
|
3753
|
+
"icon": "calendar",
|
|
3772
3754
|
"label": "Summary"
|
|
3773
3755
|
},
|
|
3774
3756
|
{
|
|
3757
|
+
"label": "Provider",
|
|
3775
3758
|
"name": "providerName",
|
|
3776
|
-
"variant": "body"
|
|
3777
|
-
"label": "Provider"
|
|
3759
|
+
"variant": "body"
|
|
3778
3760
|
},
|
|
3779
3761
|
{
|
|
3780
3762
|
"variant": "body",
|
|
3781
|
-
"
|
|
3782
|
-
"
|
|
3763
|
+
"label": "Customer",
|
|
3764
|
+
"name": "customerName"
|
|
3783
3765
|
},
|
|
3784
3766
|
{
|
|
3785
|
-
"
|
|
3767
|
+
"name": "scheduledAt",
|
|
3786
3768
|
"label": "When",
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3769
|
+
"format": "date",
|
|
3770
|
+
"variant": "body"
|
|
3789
3771
|
},
|
|
3790
3772
|
{
|
|
3791
3773
|
"name": "time",
|
|
@@ -3795,7 +3777,25 @@
|
|
|
3795
3777
|
"variant": "badge",
|
|
3796
3778
|
"name": "status"
|
|
3797
3779
|
}
|
|
3798
|
-
]
|
|
3780
|
+
],
|
|
3781
|
+
"itemActions": [
|
|
3782
|
+
{
|
|
3783
|
+
"label": "View",
|
|
3784
|
+
"event": "VIEW",
|
|
3785
|
+
"variant": "ghost"
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
"label": "Edit",
|
|
3789
|
+
"variant": "ghost",
|
|
3790
|
+
"event": "EDIT"
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"event": "DELETE",
|
|
3794
|
+
"label": "Delete",
|
|
3795
|
+
"variant": "danger"
|
|
3796
|
+
}
|
|
3797
|
+
],
|
|
3798
|
+
"cols": 1.0
|
|
3799
3799
|
},
|
|
3800
3800
|
"listens": [
|
|
3801
3801
|
{
|
|
@@ -3999,8 +3999,8 @@
|
|
|
3999
3999
|
"Appointment",
|
|
4000
4000
|
{
|
|
4001
4001
|
"emit": {
|
|
4002
|
-
"
|
|
4003
|
-
"
|
|
4002
|
+
"success": "AppointmentLoaded",
|
|
4003
|
+
"failure": "AppointmentLoadFailed"
|
|
4004
4004
|
}
|
|
4005
4005
|
}
|
|
4006
4006
|
]
|
|
@@ -4026,30 +4026,29 @@
|
|
|
4026
4026
|
"modal",
|
|
4027
4027
|
{
|
|
4028
4028
|
"type": "stack",
|
|
4029
|
-
"direction": "vertical",
|
|
4030
|
-
"gap": "md",
|
|
4031
4029
|
"children": [
|
|
4032
4030
|
{
|
|
4031
|
+
"gap": "sm",
|
|
4033
4032
|
"type": "stack",
|
|
4034
|
-
"direction": "horizontal",
|
|
4035
4033
|
"children": [
|
|
4036
4034
|
{
|
|
4037
|
-
"
|
|
4038
|
-
"
|
|
4035
|
+
"type": "icon",
|
|
4036
|
+
"name": "plus-circle"
|
|
4039
4037
|
},
|
|
4040
4038
|
{
|
|
4041
4039
|
"content": "Create Appointment",
|
|
4042
|
-
"
|
|
4043
|
-
"
|
|
4040
|
+
"type": "typography",
|
|
4041
|
+
"variant": "h3"
|
|
4044
4042
|
}
|
|
4045
4043
|
],
|
|
4046
|
-
"
|
|
4044
|
+
"direction": "horizontal"
|
|
4047
4045
|
},
|
|
4048
4046
|
{
|
|
4049
4047
|
"type": "divider"
|
|
4050
4048
|
},
|
|
4051
4049
|
{
|
|
4052
|
-
"
|
|
4050
|
+
"cancelEvent": "CLOSE",
|
|
4051
|
+
"type": "form-section",
|
|
4053
4052
|
"fields": [
|
|
4054
4053
|
"providerName",
|
|
4055
4054
|
"customerName",
|
|
@@ -4060,10 +4059,11 @@
|
|
|
4060
4059
|
"notes"
|
|
4061
4060
|
],
|
|
4062
4061
|
"mode": "create",
|
|
4063
|
-
"
|
|
4064
|
-
"type": "form-section"
|
|
4062
|
+
"submitEvent": "SAVE"
|
|
4065
4063
|
}
|
|
4066
|
-
]
|
|
4064
|
+
],
|
|
4065
|
+
"direction": "vertical",
|
|
4066
|
+
"gap": "md"
|
|
4067
4067
|
}
|
|
4068
4068
|
]
|
|
4069
4069
|
]
|
|
@@ -4315,8 +4315,8 @@
|
|
|
4315
4315
|
"Appointment",
|
|
4316
4316
|
{
|
|
4317
4317
|
"emit": {
|
|
4318
|
-
"
|
|
4319
|
-
"
|
|
4318
|
+
"failure": "AppointmentLoadFailed",
|
|
4319
|
+
"success": "AppointmentLoaded"
|
|
4320
4320
|
}
|
|
4321
4321
|
}
|
|
4322
4322
|
]
|
|
@@ -4331,41 +4331,40 @@
|
|
|
4331
4331
|
"fetch",
|
|
4332
4332
|
"Appointment",
|
|
4333
4333
|
{
|
|
4334
|
-
"id": "@payload.id",
|
|
4335
4334
|
"emit": {
|
|
4336
|
-
"
|
|
4337
|
-
"
|
|
4338
|
-
}
|
|
4335
|
+
"success": "AppointmentLoaded",
|
|
4336
|
+
"failure": "AppointmentLoadFailed"
|
|
4337
|
+
},
|
|
4338
|
+
"id": "@payload.id"
|
|
4339
4339
|
}
|
|
4340
4340
|
],
|
|
4341
4341
|
[
|
|
4342
4342
|
"render-ui",
|
|
4343
4343
|
"modal",
|
|
4344
4344
|
{
|
|
4345
|
-
"gap": "md",
|
|
4346
|
-
"direction": "vertical",
|
|
4347
4345
|
"children": [
|
|
4348
4346
|
{
|
|
4349
|
-
"direction": "horizontal",
|
|
4350
|
-
"type": "stack",
|
|
4351
|
-
"gap": "sm",
|
|
4352
4347
|
"children": [
|
|
4353
4348
|
{
|
|
4354
|
-
"
|
|
4355
|
-
"
|
|
4349
|
+
"name": "edit",
|
|
4350
|
+
"type": "icon"
|
|
4356
4351
|
},
|
|
4357
4352
|
{
|
|
4358
4353
|
"content": "Edit Appointment",
|
|
4359
|
-
"
|
|
4360
|
-
"
|
|
4354
|
+
"type": "typography",
|
|
4355
|
+
"variant": "h3"
|
|
4361
4356
|
}
|
|
4362
|
-
]
|
|
4357
|
+
],
|
|
4358
|
+
"direction": "horizontal",
|
|
4359
|
+
"gap": "sm",
|
|
4360
|
+
"type": "stack"
|
|
4363
4361
|
},
|
|
4364
4362
|
{
|
|
4365
4363
|
"type": "divider"
|
|
4366
4364
|
},
|
|
4367
4365
|
{
|
|
4368
4366
|
"submitEvent": "SAVE",
|
|
4367
|
+
"type": "form-section",
|
|
4369
4368
|
"cancelEvent": "CLOSE",
|
|
4370
4369
|
"fields": [
|
|
4371
4370
|
"providerName",
|
|
@@ -4376,12 +4375,13 @@
|
|
|
4376
4375
|
"status",
|
|
4377
4376
|
"notes"
|
|
4378
4377
|
],
|
|
4379
|
-
"
|
|
4380
|
-
"
|
|
4381
|
-
"entity": "@payload.row"
|
|
4378
|
+
"entity": "@payload.row",
|
|
4379
|
+
"mode": "edit"
|
|
4382
4380
|
}
|
|
4383
4381
|
],
|
|
4384
|
-
"
|
|
4382
|
+
"direction": "vertical",
|
|
4383
|
+
"type": "stack",
|
|
4384
|
+
"gap": "md"
|
|
4385
4385
|
}
|
|
4386
4386
|
]
|
|
4387
4387
|
]
|
|
@@ -4422,8 +4422,8 @@
|
|
|
4422
4422
|
"@payload.data",
|
|
4423
4423
|
{
|
|
4424
4424
|
"emit": {
|
|
4425
|
-
"
|
|
4426
|
-
"
|
|
4425
|
+
"failure": "AppointmentUpdateFailed",
|
|
4426
|
+
"success": "AppointmentUpdated"
|
|
4427
4427
|
}
|
|
4428
4428
|
}
|
|
4429
4429
|
],
|
|
@@ -4608,8 +4608,8 @@
|
|
|
4608
4608
|
"Appointment",
|
|
4609
4609
|
{
|
|
4610
4610
|
"emit": {
|
|
4611
|
-
"
|
|
4612
|
-
"
|
|
4611
|
+
"success": "AppointmentLoaded",
|
|
4612
|
+
"failure": "AppointmentLoadFailed"
|
|
4613
4613
|
}
|
|
4614
4614
|
}
|
|
4615
4615
|
]
|
|
@@ -4624,22 +4624,19 @@
|
|
|
4624
4624
|
"fetch",
|
|
4625
4625
|
"Appointment",
|
|
4626
4626
|
{
|
|
4627
|
-
"id": "@payload.id",
|
|
4628
4627
|
"emit": {
|
|
4629
4628
|
"success": "AppointmentLoaded",
|
|
4630
4629
|
"failure": "AppointmentLoadFailed"
|
|
4631
|
-
}
|
|
4630
|
+
},
|
|
4631
|
+
"id": "@payload.id"
|
|
4632
4632
|
}
|
|
4633
4633
|
],
|
|
4634
4634
|
[
|
|
4635
4635
|
"render-ui",
|
|
4636
4636
|
"modal",
|
|
4637
4637
|
{
|
|
4638
|
-
"type": "stack",
|
|
4639
4638
|
"children": [
|
|
4640
4639
|
{
|
|
4641
|
-
"type": "stack",
|
|
4642
|
-
"direction": "horizontal",
|
|
4643
4640
|
"align": "center",
|
|
4644
4641
|
"children": [
|
|
4645
4642
|
{
|
|
@@ -4647,39 +4644,41 @@
|
|
|
4647
4644
|
"type": "icon"
|
|
4648
4645
|
},
|
|
4649
4646
|
{
|
|
4650
|
-
"variant": "h3",
|
|
4651
4647
|
"content": "@entity.summary",
|
|
4652
|
-
"type": "typography"
|
|
4648
|
+
"type": "typography",
|
|
4649
|
+
"variant": "h3"
|
|
4653
4650
|
}
|
|
4654
4651
|
],
|
|
4655
|
-
"
|
|
4652
|
+
"direction": "horizontal",
|
|
4653
|
+
"gap": "sm",
|
|
4654
|
+
"type": "stack"
|
|
4656
4655
|
},
|
|
4657
4656
|
{
|
|
4658
4657
|
"type": "divider"
|
|
4659
4658
|
},
|
|
4660
4659
|
{
|
|
4660
|
+
"type": "stack",
|
|
4661
4661
|
"direction": "horizontal",
|
|
4662
4662
|
"gap": "md",
|
|
4663
|
-
"type": "stack",
|
|
4664
4663
|
"children": [
|
|
4665
4664
|
{
|
|
4665
|
+
"type": "typography",
|
|
4666
4666
|
"content": "Provider",
|
|
4667
|
-
"variant": "caption"
|
|
4668
|
-
"type": "typography"
|
|
4667
|
+
"variant": "caption"
|
|
4669
4668
|
},
|
|
4670
4669
|
{
|
|
4671
|
-
"
|
|
4670
|
+
"variant": "body",
|
|
4672
4671
|
"content": "@entity.providerName",
|
|
4673
|
-
"
|
|
4672
|
+
"type": "typography"
|
|
4674
4673
|
}
|
|
4675
4674
|
]
|
|
4676
4675
|
},
|
|
4677
4676
|
{
|
|
4678
4677
|
"children": [
|
|
4679
4678
|
{
|
|
4680
|
-
"
|
|
4679
|
+
"variant": "caption",
|
|
4681
4680
|
"type": "typography",
|
|
4682
|
-
"
|
|
4681
|
+
"content": "Customer"
|
|
4683
4682
|
},
|
|
4684
4683
|
{
|
|
4685
4684
|
"type": "typography",
|
|
@@ -4687,14 +4686,11 @@
|
|
|
4687
4686
|
"variant": "body"
|
|
4688
4687
|
}
|
|
4689
4688
|
],
|
|
4690
|
-
"type": "stack",
|
|
4691
4689
|
"gap": "md",
|
|
4692
|
-
"direction": "horizontal"
|
|
4690
|
+
"direction": "horizontal",
|
|
4691
|
+
"type": "stack"
|
|
4693
4692
|
},
|
|
4694
4693
|
{
|
|
4695
|
-
"direction": "horizontal",
|
|
4696
|
-
"type": "stack",
|
|
4697
|
-
"gap": "md",
|
|
4698
4694
|
"children": [
|
|
4699
4695
|
{
|
|
4700
4696
|
"variant": "caption",
|
|
@@ -4702,16 +4698,19 @@
|
|
|
4702
4698
|
"type": "typography"
|
|
4703
4699
|
},
|
|
4704
4700
|
{
|
|
4705
|
-
"type": "typography",
|
|
4706
4701
|
"variant": "body",
|
|
4702
|
+
"type": "typography",
|
|
4707
4703
|
"content": "@entity.scheduledAt"
|
|
4708
4704
|
}
|
|
4709
|
-
]
|
|
4705
|
+
],
|
|
4706
|
+
"type": "stack",
|
|
4707
|
+
"gap": "md",
|
|
4708
|
+
"direction": "horizontal"
|
|
4710
4709
|
},
|
|
4711
4710
|
{
|
|
4711
|
+
"type": "stack",
|
|
4712
4712
|
"gap": "md",
|
|
4713
4713
|
"direction": "horizontal",
|
|
4714
|
-
"type": "stack",
|
|
4715
4714
|
"children": [
|
|
4716
4715
|
{
|
|
4717
4716
|
"type": "typography",
|
|
@@ -4719,38 +4718,38 @@
|
|
|
4719
4718
|
"content": "Time"
|
|
4720
4719
|
},
|
|
4721
4720
|
{
|
|
4722
|
-
"variant": "body",
|
|
4723
4721
|
"type": "typography",
|
|
4722
|
+
"variant": "body",
|
|
4724
4723
|
"content": "@entity.time"
|
|
4725
4724
|
}
|
|
4726
4725
|
]
|
|
4727
4726
|
},
|
|
4728
4727
|
{
|
|
4729
4728
|
"type": "stack",
|
|
4729
|
+
"gap": "md",
|
|
4730
|
+
"direction": "horizontal",
|
|
4730
4731
|
"children": [
|
|
4731
4732
|
{
|
|
4733
|
+
"type": "typography",
|
|
4732
4734
|
"variant": "caption",
|
|
4733
|
-
"content": "Status"
|
|
4734
|
-
"type": "typography"
|
|
4735
|
+
"content": "Status"
|
|
4735
4736
|
},
|
|
4736
4737
|
{
|
|
4737
4738
|
"type": "typography",
|
|
4738
4739
|
"variant": "body",
|
|
4739
4740
|
"content": "@entity.status"
|
|
4740
4741
|
}
|
|
4741
|
-
]
|
|
4742
|
-
"direction": "horizontal",
|
|
4743
|
-
"gap": "md"
|
|
4742
|
+
]
|
|
4744
4743
|
},
|
|
4745
4744
|
{
|
|
4746
|
-
"type": "stack",
|
|
4747
4745
|
"gap": "md",
|
|
4748
4746
|
"direction": "horizontal",
|
|
4747
|
+
"type": "stack",
|
|
4749
4748
|
"children": [
|
|
4750
4749
|
{
|
|
4750
|
+
"type": "typography",
|
|
4751
4751
|
"variant": "caption",
|
|
4752
|
-
"content": "Notes"
|
|
4753
|
-
"type": "typography"
|
|
4752
|
+
"content": "Notes"
|
|
4754
4753
|
},
|
|
4755
4754
|
{
|
|
4756
4755
|
"type": "typography",
|
|
@@ -4763,29 +4762,30 @@
|
|
|
4763
4762
|
"type": "divider"
|
|
4764
4763
|
},
|
|
4765
4764
|
{
|
|
4766
|
-
"type": "stack",
|
|
4767
|
-
"gap": "sm",
|
|
4768
|
-
"justify": "end",
|
|
4769
|
-
"direction": "horizontal",
|
|
4770
4765
|
"children": [
|
|
4771
4766
|
{
|
|
4772
|
-
"type": "button",
|
|
4773
|
-
"variant": "primary",
|
|
4774
|
-
"label": "Edit",
|
|
4775
4767
|
"icon": "edit",
|
|
4768
|
+
"label": "Edit",
|
|
4769
|
+
"variant": "primary",
|
|
4770
|
+
"type": "button",
|
|
4776
4771
|
"action": "EDIT"
|
|
4777
4772
|
},
|
|
4778
4773
|
{
|
|
4779
|
-
"
|
|
4774
|
+
"action": "CLOSE",
|
|
4780
4775
|
"variant": "ghost",
|
|
4781
4776
|
"type": "button",
|
|
4782
|
-
"
|
|
4777
|
+
"label": "Close"
|
|
4783
4778
|
}
|
|
4784
|
-
]
|
|
4779
|
+
],
|
|
4780
|
+
"type": "stack",
|
|
4781
|
+
"direction": "horizontal",
|
|
4782
|
+
"justify": "end",
|
|
4783
|
+
"gap": "sm"
|
|
4785
4784
|
}
|
|
4786
4785
|
],
|
|
4786
|
+
"direction": "vertical",
|
|
4787
4787
|
"gap": "md",
|
|
4788
|
-
"
|
|
4788
|
+
"type": "stack"
|
|
4789
4789
|
}
|
|
4790
4790
|
]
|
|
4791
4791
|
]
|
|
@@ -5039,25 +5039,22 @@
|
|
|
5039
5039
|
"render-ui",
|
|
5040
5040
|
"modal",
|
|
5041
5041
|
{
|
|
5042
|
-
"type": "stack",
|
|
5043
|
-
"direction": "vertical",
|
|
5044
|
-
"gap": "md",
|
|
5045
5042
|
"children": [
|
|
5046
5043
|
{
|
|
5047
|
-
"type": "stack",
|
|
5048
|
-
"align": "center",
|
|
5049
|
-
"gap": "sm",
|
|
5050
5044
|
"children": [
|
|
5051
5045
|
{
|
|
5052
|
-
"
|
|
5053
|
-
"
|
|
5046
|
+
"type": "icon",
|
|
5047
|
+
"name": "alert-triangle"
|
|
5054
5048
|
},
|
|
5055
5049
|
{
|
|
5056
5050
|
"type": "typography",
|
|
5057
|
-
"
|
|
5058
|
-
"
|
|
5051
|
+
"content": "Delete Appointment",
|
|
5052
|
+
"variant": "h3"
|
|
5059
5053
|
}
|
|
5060
5054
|
],
|
|
5055
|
+
"gap": "sm",
|
|
5056
|
+
"align": "center",
|
|
5057
|
+
"type": "stack",
|
|
5061
5058
|
"direction": "horizontal"
|
|
5062
5059
|
},
|
|
5063
5060
|
{
|
|
@@ -5065,31 +5062,34 @@
|
|
|
5065
5062
|
},
|
|
5066
5063
|
{
|
|
5067
5064
|
"message": "This action cannot be undone.",
|
|
5068
|
-
"
|
|
5069
|
-
"
|
|
5065
|
+
"type": "alert",
|
|
5066
|
+
"variant": "error"
|
|
5070
5067
|
},
|
|
5071
5068
|
{
|
|
5072
|
-
"justify": "end",
|
|
5073
|
-
"gap": "sm",
|
|
5074
5069
|
"children": [
|
|
5075
5070
|
{
|
|
5076
|
-
"label": "Cancel",
|
|
5077
5071
|
"action": "CANCEL",
|
|
5078
5072
|
"variant": "ghost",
|
|
5079
|
-
"type": "button"
|
|
5073
|
+
"type": "button",
|
|
5074
|
+
"label": "Cancel"
|
|
5080
5075
|
},
|
|
5081
5076
|
{
|
|
5082
5077
|
"variant": "danger",
|
|
5083
5078
|
"action": "CONFIRM_DELETE",
|
|
5084
|
-
"label": "Delete",
|
|
5085
5079
|
"type": "button",
|
|
5086
|
-
"icon": "check"
|
|
5080
|
+
"icon": "check",
|
|
5081
|
+
"label": "Delete"
|
|
5087
5082
|
}
|
|
5088
5083
|
],
|
|
5084
|
+
"gap": "sm",
|
|
5089
5085
|
"type": "stack",
|
|
5090
|
-
"direction": "horizontal"
|
|
5086
|
+
"direction": "horizontal",
|
|
5087
|
+
"justify": "end"
|
|
5091
5088
|
}
|
|
5092
|
-
]
|
|
5089
|
+
],
|
|
5090
|
+
"type": "stack",
|
|
5091
|
+
"gap": "md",
|
|
5092
|
+
"direction": "vertical"
|
|
5093
5093
|
}
|
|
5094
5094
|
]
|
|
5095
5095
|
]
|
|
@@ -5128,8 +5128,8 @@
|
|
|
5128
5128
|
"Appointment",
|
|
5129
5129
|
{
|
|
5130
5130
|
"emit": {
|
|
5131
|
-
"
|
|
5132
|
-
"
|
|
5131
|
+
"success": "AppointmentLoaded",
|
|
5132
|
+
"failure": "AppointmentLoadFailed"
|
|
5133
5133
|
}
|
|
5134
5134
|
}
|
|
5135
5135
|
],
|
|
@@ -5190,8 +5190,8 @@
|
|
|
5190
5190
|
"Appointment",
|
|
5191
5191
|
{
|
|
5192
5192
|
"emit": {
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5193
|
+
"failure": "AppointmentLoadFailed",
|
|
5194
|
+
"success": "AppointmentLoaded"
|
|
5195
5195
|
}
|
|
5196
5196
|
}
|
|
5197
5197
|
]
|
|
@@ -5280,6 +5280,11 @@
|
|
|
5280
5280
|
"name": "ScheduleAppLayout",
|
|
5281
5281
|
"linkedEntity": "Schedule",
|
|
5282
5282
|
"config": {
|
|
5283
|
+
"searchEvent": "SCHEDULE_SEARCH",
|
|
5284
|
+
"appName": "BookingSystemApp",
|
|
5285
|
+
"contentTrait": "@trait.ScheduleDisplay",
|
|
5286
|
+
"topBarActions": [],
|
|
5287
|
+
"notifications": [],
|
|
5283
5288
|
"notificationClickEvent": "SCHEDULE_NOTIFICATIONS_OPEN",
|
|
5284
5289
|
"navItems": [
|
|
5285
5290
|
{
|
|
@@ -5288,26 +5293,21 @@
|
|
|
5288
5293
|
"label": "Providers"
|
|
5289
5294
|
},
|
|
5290
5295
|
{
|
|
5296
|
+
"label": "Book",
|
|
5291
5297
|
"icon": "calendar-plus",
|
|
5292
|
-
"href": "/book"
|
|
5293
|
-
"label": "Book"
|
|
5298
|
+
"href": "/book"
|
|
5294
5299
|
},
|
|
5295
5300
|
{
|
|
5301
|
+
"icon": "calendar",
|
|
5296
5302
|
"href": "/appointments",
|
|
5297
|
-
"label": "Appointments"
|
|
5298
|
-
"icon": "calendar"
|
|
5303
|
+
"label": "Appointments"
|
|
5299
5304
|
},
|
|
5300
5305
|
{
|
|
5301
5306
|
"label": "Schedule",
|
|
5302
5307
|
"href": "/schedule",
|
|
5303
5308
|
"icon": "clock"
|
|
5304
5309
|
}
|
|
5305
|
-
]
|
|
5306
|
-
"topBarActions": [],
|
|
5307
|
-
"contentTrait": "@trait.ScheduleDisplay",
|
|
5308
|
-
"notifications": [],
|
|
5309
|
-
"searchEvent": "SCHEDULE_SEARCH",
|
|
5310
|
-
"appName": "BookingSystemApp"
|
|
5310
|
+
]
|
|
5311
5311
|
},
|
|
5312
5312
|
"events": {
|
|
5313
5313
|
"NOTIFY_CLICK": "SCHEDULE_NOTIFICATIONS_OPEN",
|
|
@@ -5447,70 +5447,70 @@
|
|
|
5447
5447
|
"type": "stack",
|
|
5448
5448
|
"children": [
|
|
5449
5449
|
{
|
|
5450
|
-
"type": "stack",
|
|
5451
|
-
"gap": "md",
|
|
5452
|
-
"direction": "horizontal",
|
|
5453
|
-
"justify": "between",
|
|
5454
5450
|
"align": "center",
|
|
5451
|
+
"direction": "horizontal",
|
|
5452
|
+
"gap": "md",
|
|
5455
5453
|
"children": [
|
|
5456
5454
|
{
|
|
5457
5455
|
"align": "center",
|
|
5456
|
+
"direction": "horizontal",
|
|
5458
5457
|
"children": [
|
|
5459
5458
|
{
|
|
5460
|
-
"
|
|
5461
|
-
"
|
|
5459
|
+
"name": "clock",
|
|
5460
|
+
"type": "icon"
|
|
5462
5461
|
},
|
|
5463
5462
|
{
|
|
5464
|
-
"type": "typography",
|
|
5465
5463
|
"variant": "h2",
|
|
5464
|
+
"type": "typography",
|
|
5466
5465
|
"content": "Schedule Overview"
|
|
5467
5466
|
}
|
|
5468
5467
|
],
|
|
5469
|
-
"direction": "horizontal",
|
|
5470
5468
|
"gap": "sm",
|
|
5471
5469
|
"type": "stack"
|
|
5472
5470
|
},
|
|
5473
5471
|
{
|
|
5472
|
+
"action": "REFRESH",
|
|
5474
5473
|
"type": "button",
|
|
5475
5474
|
"label": "Refresh",
|
|
5476
|
-
"variant": "secondary",
|
|
5477
5475
|
"icon": "refresh-cw",
|
|
5478
|
-
"
|
|
5476
|
+
"variant": "secondary"
|
|
5479
5477
|
}
|
|
5480
|
-
]
|
|
5478
|
+
],
|
|
5479
|
+
"type": "stack",
|
|
5480
|
+
"justify": "between"
|
|
5481
5481
|
},
|
|
5482
5482
|
{
|
|
5483
5483
|
"type": "divider"
|
|
5484
5484
|
},
|
|
5485
5485
|
{
|
|
5486
5486
|
"cols": 4.0,
|
|
5487
|
-
"type": "simple-grid",
|
|
5488
5487
|
"children": [
|
|
5489
5488
|
{
|
|
5490
|
-
"
|
|
5489
|
+
"icon": "calendar",
|
|
5491
5490
|
"label": "Total Bookings",
|
|
5492
|
-
"
|
|
5493
|
-
"
|
|
5491
|
+
"value": "@entity.totalBookings",
|
|
5492
|
+
"type": "stat-display"
|
|
5494
5493
|
},
|
|
5495
5494
|
{
|
|
5496
|
-
"
|
|
5495
|
+
"value": "@entity.confirmedToday",
|
|
5497
5496
|
"icon": "check-circle",
|
|
5498
5497
|
"label": "Confirmed Today",
|
|
5499
|
-
"
|
|
5498
|
+
"type": "stat-display"
|
|
5500
5499
|
},
|
|
5501
5500
|
{
|
|
5502
|
-
"type": "stat-display",
|
|
5503
5501
|
"label": "Pending",
|
|
5504
5502
|
"value": "@entity.pendingBookings",
|
|
5505
|
-
"icon": "clock"
|
|
5503
|
+
"icon": "clock",
|
|
5504
|
+
"type": "stat-display"
|
|
5506
5505
|
},
|
|
5507
5506
|
{
|
|
5507
|
+
"value": "@entity.availableSlots",
|
|
5508
5508
|
"label": "Available Slots",
|
|
5509
5509
|
"icon": "calendar-plus",
|
|
5510
|
-
"value": "@entity.availableSlots",
|
|
5511
5510
|
"type": "stat-display"
|
|
5512
5511
|
}
|
|
5513
|
-
]
|
|
5512
|
+
],
|
|
5513
|
+
"type": "simple-grid"
|
|
5514
5514
|
},
|
|
5515
5515
|
{
|
|
5516
5516
|
"type": "divider"
|
|
@@ -5544,20 +5544,20 @@
|
|
|
5544
5544
|
"render-ui",
|
|
5545
5545
|
"main",
|
|
5546
5546
|
{
|
|
5547
|
-
"className": "py-12",
|
|
5548
|
-
"direction": "vertical",
|
|
5549
5547
|
"type": "stack",
|
|
5550
|
-
"
|
|
5548
|
+
"direction": "vertical",
|
|
5551
5549
|
"gap": "md",
|
|
5550
|
+
"align": "center",
|
|
5551
|
+
"className": "py-12",
|
|
5552
5552
|
"children": [
|
|
5553
5553
|
{
|
|
5554
5554
|
"type": "spinner"
|
|
5555
5555
|
},
|
|
5556
5556
|
{
|
|
5557
|
-
"
|
|
5557
|
+
"color": "muted",
|
|
5558
5558
|
"content": "Refreshing…",
|
|
5559
5559
|
"variant": "caption",
|
|
5560
|
-
"
|
|
5560
|
+
"type": "typography"
|
|
5561
5561
|
}
|
|
5562
5562
|
]
|
|
5563
5563
|
}
|
|
@@ -5573,40 +5573,39 @@
|
|
|
5573
5573
|
"render-ui",
|
|
5574
5574
|
"main",
|
|
5575
5575
|
{
|
|
5576
|
-
"gap": "lg",
|
|
5577
5576
|
"children": [
|
|
5578
5577
|
{
|
|
5578
|
+
"align": "center",
|
|
5579
|
+
"justify": "between",
|
|
5579
5580
|
"children": [
|
|
5580
5581
|
{
|
|
5582
|
+
"gap": "sm",
|
|
5581
5583
|
"direction": "horizontal",
|
|
5584
|
+
"type": "stack",
|
|
5585
|
+
"align": "center",
|
|
5582
5586
|
"children": [
|
|
5583
5587
|
{
|
|
5584
|
-
"
|
|
5585
|
-
"
|
|
5588
|
+
"type": "icon",
|
|
5589
|
+
"name": "clock"
|
|
5586
5590
|
},
|
|
5587
5591
|
{
|
|
5588
|
-
"
|
|
5592
|
+
"variant": "h2",
|
|
5589
5593
|
"content": "Schedule Overview",
|
|
5590
|
-
"
|
|
5594
|
+
"type": "typography"
|
|
5591
5595
|
}
|
|
5592
|
-
]
|
|
5593
|
-
"gap": "sm",
|
|
5594
|
-
"align": "center",
|
|
5595
|
-
"type": "stack"
|
|
5596
|
+
]
|
|
5596
5597
|
},
|
|
5597
5598
|
{
|
|
5598
|
-
"action": "REFRESH",
|
|
5599
5599
|
"icon": "refresh-cw",
|
|
5600
|
+
"type": "button",
|
|
5600
5601
|
"label": "Refresh",
|
|
5601
|
-
"
|
|
5602
|
-
"
|
|
5602
|
+
"action": "REFRESH",
|
|
5603
|
+
"variant": "secondary"
|
|
5603
5604
|
}
|
|
5604
5605
|
],
|
|
5605
|
-
"align": "center",
|
|
5606
5606
|
"type": "stack",
|
|
5607
5607
|
"direction": "horizontal",
|
|
5608
|
-
"gap": "md"
|
|
5609
|
-
"justify": "between"
|
|
5608
|
+
"gap": "md"
|
|
5610
5609
|
},
|
|
5611
5610
|
{
|
|
5612
5611
|
"type": "divider"
|
|
@@ -5614,28 +5613,28 @@
|
|
|
5614
5613
|
{
|
|
5615
5614
|
"children": [
|
|
5616
5615
|
{
|
|
5617
|
-
"
|
|
5616
|
+
"value": "@entity.totalBookings",
|
|
5618
5617
|
"icon": "calendar",
|
|
5619
5618
|
"label": "Total Bookings",
|
|
5620
|
-
"
|
|
5619
|
+
"type": "stat-display"
|
|
5621
5620
|
},
|
|
5622
5621
|
{
|
|
5623
|
-
"
|
|
5624
|
-
"type": "stat-display",
|
|
5622
|
+
"value": "@entity.confirmedToday",
|
|
5625
5623
|
"icon": "check-circle",
|
|
5626
|
-
"
|
|
5624
|
+
"label": "Confirmed Today",
|
|
5625
|
+
"type": "stat-display"
|
|
5627
5626
|
},
|
|
5628
5627
|
{
|
|
5629
|
-
"type": "stat-display",
|
|
5630
5628
|
"label": "Pending",
|
|
5631
|
-
"
|
|
5632
|
-
"
|
|
5629
|
+
"icon": "clock",
|
|
5630
|
+
"type": "stat-display",
|
|
5631
|
+
"value": "@entity.pendingBookings"
|
|
5633
5632
|
},
|
|
5634
5633
|
{
|
|
5635
5634
|
"icon": "calendar-plus",
|
|
5636
|
-
"
|
|
5635
|
+
"type": "stat-display",
|
|
5637
5636
|
"value": "@entity.availableSlots",
|
|
5638
|
-
"
|
|
5637
|
+
"label": "Available Slots"
|
|
5639
5638
|
}
|
|
5640
5639
|
],
|
|
5641
5640
|
"cols": 4.0,
|
|
@@ -5649,7 +5648,8 @@
|
|
|
5649
5648
|
}
|
|
5650
5649
|
],
|
|
5651
5650
|
"type": "stack",
|
|
5652
|
-
"direction": "vertical"
|
|
5651
|
+
"direction": "vertical",
|
|
5652
|
+
"gap": "lg"
|
|
5653
5653
|
}
|
|
5654
5654
|
]
|
|
5655
5655
|
]
|
|
@@ -5664,72 +5664,73 @@
|
|
|
5664
5664
|
"main",
|
|
5665
5665
|
{
|
|
5666
5666
|
"type": "stack",
|
|
5667
|
+
"gap": "lg",
|
|
5667
5668
|
"children": [
|
|
5668
5669
|
{
|
|
5669
|
-
"type": "stack",
|
|
5670
|
-
"align": "center",
|
|
5671
5670
|
"gap": "md",
|
|
5672
5671
|
"justify": "between",
|
|
5672
|
+
"direction": "horizontal",
|
|
5673
5673
|
"children": [
|
|
5674
5674
|
{
|
|
5675
|
+
"align": "center",
|
|
5676
|
+
"gap": "sm",
|
|
5677
|
+
"type": "stack",
|
|
5678
|
+
"direction": "horizontal",
|
|
5675
5679
|
"children": [
|
|
5676
5680
|
{
|
|
5677
|
-
"
|
|
5678
|
-
"
|
|
5681
|
+
"name": "clock",
|
|
5682
|
+
"type": "icon"
|
|
5679
5683
|
},
|
|
5680
5684
|
{
|
|
5681
5685
|
"content": "Schedule Overview",
|
|
5682
|
-
"
|
|
5683
|
-
"
|
|
5686
|
+
"variant": "h2",
|
|
5687
|
+
"type": "typography"
|
|
5684
5688
|
}
|
|
5685
|
-
]
|
|
5686
|
-
"align": "center",
|
|
5687
|
-
"direction": "horizontal",
|
|
5688
|
-
"type": "stack",
|
|
5689
|
-
"gap": "sm"
|
|
5689
|
+
]
|
|
5690
5690
|
},
|
|
5691
5691
|
{
|
|
5692
5692
|
"label": "Refresh",
|
|
5693
|
-
"icon": "refresh-cw",
|
|
5694
|
-
"action": "REFRESH",
|
|
5695
5693
|
"type": "button",
|
|
5694
|
+
"action": "REFRESH",
|
|
5695
|
+
"icon": "refresh-cw",
|
|
5696
5696
|
"variant": "secondary"
|
|
5697
5697
|
}
|
|
5698
5698
|
],
|
|
5699
|
-
"
|
|
5699
|
+
"align": "center",
|
|
5700
|
+
"type": "stack"
|
|
5700
5701
|
},
|
|
5701
5702
|
{
|
|
5702
5703
|
"type": "divider"
|
|
5703
5704
|
},
|
|
5704
5705
|
{
|
|
5705
|
-
"type": "simple-grid",
|
|
5706
|
-
"cols": 4.0,
|
|
5707
5706
|
"children": [
|
|
5708
5707
|
{
|
|
5709
5708
|
"value": "@entity.totalBookings",
|
|
5710
|
-
"label": "Total Bookings",
|
|
5711
5709
|
"type": "stat-display",
|
|
5710
|
+
"label": "Total Bookings",
|
|
5712
5711
|
"icon": "calendar"
|
|
5713
5712
|
},
|
|
5714
5713
|
{
|
|
5715
5714
|
"type": "stat-display",
|
|
5715
|
+
"label": "Confirmed Today",
|
|
5716
5716
|
"value": "@entity.confirmedToday",
|
|
5717
|
-
"icon": "check-circle"
|
|
5718
|
-
"label": "Confirmed Today"
|
|
5717
|
+
"icon": "check-circle"
|
|
5719
5718
|
},
|
|
5720
5719
|
{
|
|
5721
|
-
"
|
|
5722
|
-
"value": "@entity.pendingBookings",
|
|
5720
|
+
"icon": "clock",
|
|
5723
5721
|
"label": "Pending",
|
|
5724
|
-
"
|
|
5722
|
+
"type": "stat-display",
|
|
5723
|
+
"value": "@entity.pendingBookings"
|
|
5725
5724
|
},
|
|
5726
5725
|
{
|
|
5727
|
-
"label": "Available Slots",
|
|
5728
|
-
"type": "stat-display",
|
|
5729
5726
|
"icon": "calendar-plus",
|
|
5730
|
-
"value": "@entity.availableSlots"
|
|
5727
|
+
"value": "@entity.availableSlots",
|
|
5728
|
+
"label": "Available Slots",
|
|
5729
|
+
"type": "stat-display"
|
|
5731
5730
|
}
|
|
5732
|
-
]
|
|
5731
|
+
],
|
|
5732
|
+
"type": "simple-grid",
|
|
5733
|
+
"cols": 4.0
|
|
5733
5734
|
},
|
|
5734
5735
|
{
|
|
5735
5736
|
"type": "divider"
|
|
@@ -5738,7 +5739,6 @@
|
|
|
5738
5739
|
"type": "calendar-grid"
|
|
5739
5740
|
}
|
|
5740
5741
|
],
|
|
5741
|
-
"gap": "lg",
|
|
5742
5742
|
"direction": "vertical"
|
|
5743
5743
|
}
|
|
5744
5744
|
]
|
|
@@ -5753,9 +5753,9 @@
|
|
|
5753
5753
|
"render-ui",
|
|
5754
5754
|
"main",
|
|
5755
5755
|
{
|
|
5756
|
-
"gap": "md",
|
|
5757
5756
|
"className": "py-12",
|
|
5758
5757
|
"align": "center",
|
|
5758
|
+
"type": "stack",
|
|
5759
5759
|
"children": [
|
|
5760
5760
|
{
|
|
5761
5761
|
"name": "alert-triangle",
|
|
@@ -5763,26 +5763,26 @@
|
|
|
5763
5763
|
"type": "icon"
|
|
5764
5764
|
},
|
|
5765
5765
|
{
|
|
5766
|
-
"
|
|
5766
|
+
"type": "typography",
|
|
5767
5767
|
"variant": "h3",
|
|
5768
|
-
"
|
|
5768
|
+
"content": "Failed to refresh schedule"
|
|
5769
5769
|
},
|
|
5770
5770
|
{
|
|
5771
|
-
"variant": "body",
|
|
5772
5771
|
"color": "muted",
|
|
5772
|
+
"variant": "body",
|
|
5773
5773
|
"type": "typography",
|
|
5774
5774
|
"content": "@payload.error"
|
|
5775
5775
|
},
|
|
5776
5776
|
{
|
|
5777
5777
|
"label": "Retry",
|
|
5778
|
-
"action": "REFRESH",
|
|
5779
5778
|
"variant": "primary",
|
|
5780
|
-
"
|
|
5781
|
-
"type": "button"
|
|
5779
|
+
"action": "REFRESH",
|
|
5780
|
+
"type": "button",
|
|
5781
|
+
"icon": "rotate-ccw"
|
|
5782
5782
|
}
|
|
5783
5783
|
],
|
|
5784
5784
|
"direction": "vertical",
|
|
5785
|
-
"
|
|
5785
|
+
"gap": "md"
|
|
5786
5786
|
}
|
|
5787
5787
|
]
|
|
5788
5788
|
]
|