@wix/himalaya-cli 0.1488.0 → 0.1489.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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +12 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +13 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +22 -0
- package/dist/cli.mjs +145 -42
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
- package/templates/beauty-salon/config.ts +13 -0
- package/templates/beauty-salon/dev/index.ts +784 -0
- package/templates/beauty-salon/himalaya.content.json +3 -0
- package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/beauty-salon/tier5-src/_shared/branded-load-state.ts +106 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
- package/templates/branded-lite/config.ts +13 -0
- package/templates/branded-lite/dev/index.ts +784 -0
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
- package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/community-club/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/gym-fitness/config.ts +13 -0
- package/templates/gym-fitness/dev/index.ts +784 -0
- package/templates/gym-fitness/himalaya.content.json +3 -0
- package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/gym-fitness/tier5-src/_shared/branded-load-state.ts +106 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
- package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/yoga-studio/config.ts +13 -0
- package/templates/yoga-studio/dev/index.ts +784 -0
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/yoga-studio/tier5-src/_shared/branded-load-state.ts +106 -0
- package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
|
@@ -21051,6 +21051,17 @@ const SCREENS = runtimeSetting({
|
|
|
21051
21051
|
"screenId": "himi_bookings"
|
|
21052
21052
|
}
|
|
21053
21053
|
}
|
|
21054
|
+
},
|
|
21055
|
+
{
|
|
21056
|
+
"id": "agenda",
|
|
21057
|
+
"icon": "list",
|
|
21058
|
+
"accessibilityLabel": "Agenda",
|
|
21059
|
+
"onTap": {
|
|
21060
|
+
"actionId": "himi.open",
|
|
21061
|
+
"params": {
|
|
21062
|
+
"screenId": "himi_agenda"
|
|
21063
|
+
}
|
|
21064
|
+
}
|
|
21054
21065
|
}
|
|
21055
21066
|
]
|
|
21056
21067
|
}
|
|
@@ -24293,6 +24304,779 @@ const SCREENS = runtimeSetting({
|
|
|
24293
24304
|
"bundleVersion": "0.0.1"
|
|
24294
24305
|
}
|
|
24295
24306
|
},
|
|
24307
|
+
"himi_agenda": {
|
|
24308
|
+
"screenId": "himi_agenda",
|
|
24309
|
+
"renderer": "sdui_intent",
|
|
24310
|
+
"title": "Agenda",
|
|
24311
|
+
"schemaVersion": 1,
|
|
24312
|
+
"cacheControl": {
|
|
24313
|
+
"maxAge": 0,
|
|
24314
|
+
"staleWhileRevalidate": 0
|
|
24315
|
+
},
|
|
24316
|
+
"payload": {
|
|
24317
|
+
"id": "himi_agenda.root",
|
|
24318
|
+
"body": {
|
|
24319
|
+
"package": "himalaya",
|
|
24320
|
+
"type": "VStack",
|
|
24321
|
+
"props": {
|
|
24322
|
+
"spacing": 0,
|
|
24323
|
+
"alignment": "leading",
|
|
24324
|
+
"children": [
|
|
24325
|
+
{
|
|
24326
|
+
"id": "",
|
|
24327
|
+
"body": {
|
|
24328
|
+
"package": "himalaya",
|
|
24329
|
+
"type": "VStack",
|
|
24330
|
+
"props": {
|
|
24331
|
+
"spacing": 12,
|
|
24332
|
+
"alignment": "leading",
|
|
24333
|
+
"children": [
|
|
24334
|
+
{
|
|
24335
|
+
"id": "himi_agenda.message",
|
|
24336
|
+
"body": {
|
|
24337
|
+
"package": "himalaya",
|
|
24338
|
+
"type": "Text",
|
|
24339
|
+
"props": {
|
|
24340
|
+
"text": "$service:himiBrandedAgenda.message",
|
|
24341
|
+
"style": "footnote",
|
|
24342
|
+
"color": "textPrimary",
|
|
24343
|
+
"collapseWhenEmpty": true
|
|
24344
|
+
}
|
|
24345
|
+
}
|
|
24346
|
+
},
|
|
24347
|
+
{
|
|
24348
|
+
"id": "himi_agenda.loading",
|
|
24349
|
+
"body": {
|
|
24350
|
+
"package": "himalaya",
|
|
24351
|
+
"type": "Skeleton",
|
|
24352
|
+
"props": {
|
|
24353
|
+
"height": 72,
|
|
24354
|
+
"cornerRadius": 12,
|
|
24355
|
+
"count": 3
|
|
24356
|
+
}
|
|
24357
|
+
},
|
|
24358
|
+
"modifiers": {
|
|
24359
|
+
"hiddenPath": "$service:himiBrandedAgenda.notLoading"
|
|
24360
|
+
}
|
|
24361
|
+
},
|
|
24362
|
+
{
|
|
24363
|
+
"id": "himi_agenda.error",
|
|
24364
|
+
"body": {
|
|
24365
|
+
"package": "himalaya",
|
|
24366
|
+
"type": "VStack",
|
|
24367
|
+
"props": {
|
|
24368
|
+
"spacing": 8,
|
|
24369
|
+
"alignment": "leading",
|
|
24370
|
+
"children": [
|
|
24371
|
+
{
|
|
24372
|
+
"id": "",
|
|
24373
|
+
"body": {
|
|
24374
|
+
"package": "himalaya",
|
|
24375
|
+
"type": "Text",
|
|
24376
|
+
"props": {
|
|
24377
|
+
"text": "$service:himiBrandedAgenda.error",
|
|
24378
|
+
"style": "bodyEmphasis",
|
|
24379
|
+
"collapseWhenEmpty": true
|
|
24380
|
+
}
|
|
24381
|
+
}
|
|
24382
|
+
},
|
|
24383
|
+
{
|
|
24384
|
+
"id": "himi_agenda.retry",
|
|
24385
|
+
"body": {
|
|
24386
|
+
"package": "himalaya",
|
|
24387
|
+
"type": "Button",
|
|
24388
|
+
"props": {
|
|
24389
|
+
"title": "Try again",
|
|
24390
|
+
"style": "secondary",
|
|
24391
|
+
"action": {
|
|
24392
|
+
"actionId": "tier5.himiBrandedAgenda.retry"
|
|
24393
|
+
}
|
|
24394
|
+
}
|
|
24395
|
+
}
|
|
24396
|
+
}
|
|
24397
|
+
]
|
|
24398
|
+
}
|
|
24399
|
+
},
|
|
24400
|
+
"modifiers": {
|
|
24401
|
+
"background": {
|
|
24402
|
+
"token": "surfaceElevated"
|
|
24403
|
+
},
|
|
24404
|
+
"border": {
|
|
24405
|
+
"width": 1,
|
|
24406
|
+
"color": {
|
|
24407
|
+
"token": "border"
|
|
24408
|
+
}
|
|
24409
|
+
},
|
|
24410
|
+
"cornerRadius": 4,
|
|
24411
|
+
"padding": {
|
|
24412
|
+
"leading": 16,
|
|
24413
|
+
"trailing": 16,
|
|
24414
|
+
"top": 16,
|
|
24415
|
+
"bottom": 16
|
|
24416
|
+
},
|
|
24417
|
+
"hiddenPath": "$service:himiBrandedAgenda.notErrored"
|
|
24418
|
+
}
|
|
24419
|
+
}
|
|
24420
|
+
]
|
|
24421
|
+
}
|
|
24422
|
+
},
|
|
24423
|
+
"modifiers": {
|
|
24424
|
+
"padding": {
|
|
24425
|
+
"leading": 16,
|
|
24426
|
+
"trailing": 16,
|
|
24427
|
+
"top": 8
|
|
24428
|
+
}
|
|
24429
|
+
}
|
|
24430
|
+
},
|
|
24431
|
+
{
|
|
24432
|
+
"id": "himi_agenda.list",
|
|
24433
|
+
"body": {
|
|
24434
|
+
"package": "himalaya",
|
|
24435
|
+
"type": "Agenda",
|
|
24436
|
+
"props": {
|
|
24437
|
+
"eventsPath": "$service:himiBrandedAgenda.events",
|
|
24438
|
+
"scrollToDatePath": "$service:himiBrandedAgenda.scrollTo",
|
|
24439
|
+
"stickyHeaders": false,
|
|
24440
|
+
"emptyText": "No classes from this day on.",
|
|
24441
|
+
"eventTemplate": {
|
|
24442
|
+
"id": "",
|
|
24443
|
+
"body": {
|
|
24444
|
+
"package": "himalaya",
|
|
24445
|
+
"type": "HStack",
|
|
24446
|
+
"props": {
|
|
24447
|
+
"spacing": 12,
|
|
24448
|
+
"alignment": "center",
|
|
24449
|
+
"children": [
|
|
24450
|
+
{
|
|
24451
|
+
"id": "",
|
|
24452
|
+
"body": {
|
|
24453
|
+
"package": "himalaya",
|
|
24454
|
+
"type": "VStack",
|
|
24455
|
+
"props": {
|
|
24456
|
+
"spacing": 2,
|
|
24457
|
+
"alignment": "leading",
|
|
24458
|
+
"children": [
|
|
24459
|
+
{
|
|
24460
|
+
"id": "",
|
|
24461
|
+
"body": {
|
|
24462
|
+
"package": "himalaya",
|
|
24463
|
+
"type": "Text",
|
|
24464
|
+
"props": {
|
|
24465
|
+
"text": "$item.time",
|
|
24466
|
+
"style": "body",
|
|
24467
|
+
"maxLines": 1,
|
|
24468
|
+
"monospacedDigits": true
|
|
24469
|
+
}
|
|
24470
|
+
}
|
|
24471
|
+
},
|
|
24472
|
+
{
|
|
24473
|
+
"id": "",
|
|
24474
|
+
"body": {
|
|
24475
|
+
"package": "himalaya",
|
|
24476
|
+
"type": "Text",
|
|
24477
|
+
"props": {
|
|
24478
|
+
"text": "$item.length",
|
|
24479
|
+
"style": "footnote",
|
|
24480
|
+
"color": "textSecondary",
|
|
24481
|
+
"maxLines": 1,
|
|
24482
|
+
"collapseWhenEmpty": true
|
|
24483
|
+
}
|
|
24484
|
+
}
|
|
24485
|
+
}
|
|
24486
|
+
]
|
|
24487
|
+
}
|
|
24488
|
+
},
|
|
24489
|
+
"modifiers": {
|
|
24490
|
+
"width": 64
|
|
24491
|
+
}
|
|
24492
|
+
},
|
|
24493
|
+
{
|
|
24494
|
+
"id": "",
|
|
24495
|
+
"body": {
|
|
24496
|
+
"package": "himalaya",
|
|
24497
|
+
"type": "VStack",
|
|
24498
|
+
"props": {
|
|
24499
|
+
"spacing": 4,
|
|
24500
|
+
"alignment": "leading",
|
|
24501
|
+
"children": [
|
|
24502
|
+
{
|
|
24503
|
+
"id": "",
|
|
24504
|
+
"body": {
|
|
24505
|
+
"package": "himalaya",
|
|
24506
|
+
"type": "Text",
|
|
24507
|
+
"props": {
|
|
24508
|
+
"text": "$item.title",
|
|
24509
|
+
"style": "bodyEmphasis",
|
|
24510
|
+
"maxLines": 2
|
|
24511
|
+
}
|
|
24512
|
+
}
|
|
24513
|
+
},
|
|
24514
|
+
{
|
|
24515
|
+
"id": "",
|
|
24516
|
+
"body": {
|
|
24517
|
+
"package": "himalaya",
|
|
24518
|
+
"type": "Text",
|
|
24519
|
+
"props": {
|
|
24520
|
+
"text": "$item.staff",
|
|
24521
|
+
"style": "footnote",
|
|
24522
|
+
"color": "textSecondary",
|
|
24523
|
+
"maxLines": 1,
|
|
24524
|
+
"collapseWhenEmpty": true
|
|
24525
|
+
}
|
|
24526
|
+
}
|
|
24527
|
+
},
|
|
24528
|
+
{
|
|
24529
|
+
"id": "",
|
|
24530
|
+
"body": {
|
|
24531
|
+
"package": "himalaya",
|
|
24532
|
+
"type": "HStack",
|
|
24533
|
+
"props": {
|
|
24534
|
+
"spacing": 6,
|
|
24535
|
+
"children": [
|
|
24536
|
+
{
|
|
24537
|
+
"id": "",
|
|
24538
|
+
"body": {
|
|
24539
|
+
"package": "himalaya",
|
|
24540
|
+
"type": "Icon",
|
|
24541
|
+
"props": {
|
|
24542
|
+
"name": "person",
|
|
24543
|
+
"size": 14,
|
|
24544
|
+
"tint": "textSecondary"
|
|
24545
|
+
}
|
|
24546
|
+
},
|
|
24547
|
+
"modifiers": {
|
|
24548
|
+
"accessibilityRole": "decorative"
|
|
24549
|
+
}
|
|
24550
|
+
},
|
|
24551
|
+
{
|
|
24552
|
+
"id": "",
|
|
24553
|
+
"body": {
|
|
24554
|
+
"package": "himalaya",
|
|
24555
|
+
"type": "Text",
|
|
24556
|
+
"props": {
|
|
24557
|
+
"text": "$item.capacity",
|
|
24558
|
+
"style": "footnote",
|
|
24559
|
+
"color": "textPrimary",
|
|
24560
|
+
"maxLines": 1
|
|
24561
|
+
}
|
|
24562
|
+
}
|
|
24563
|
+
}
|
|
24564
|
+
]
|
|
24565
|
+
}
|
|
24566
|
+
},
|
|
24567
|
+
"modifiers": {
|
|
24568
|
+
"hiddenPath": "$item.noCapacity"
|
|
24569
|
+
}
|
|
24570
|
+
},
|
|
24571
|
+
{
|
|
24572
|
+
"id": "",
|
|
24573
|
+
"body": {
|
|
24574
|
+
"package": "himalaya",
|
|
24575
|
+
"type": "HStack",
|
|
24576
|
+
"props": {
|
|
24577
|
+
"spacing": 6,
|
|
24578
|
+
"children": [
|
|
24579
|
+
{
|
|
24580
|
+
"id": "",
|
|
24581
|
+
"body": {
|
|
24582
|
+
"package": "himalaya",
|
|
24583
|
+
"type": "Icon",
|
|
24584
|
+
"props": {
|
|
24585
|
+
"name": "pin",
|
|
24586
|
+
"size": 14,
|
|
24587
|
+
"tint": "textSecondary"
|
|
24588
|
+
}
|
|
24589
|
+
},
|
|
24590
|
+
"modifiers": {
|
|
24591
|
+
"accessibilityRole": "decorative"
|
|
24592
|
+
}
|
|
24593
|
+
},
|
|
24594
|
+
{
|
|
24595
|
+
"id": "",
|
|
24596
|
+
"body": {
|
|
24597
|
+
"package": "himalaya",
|
|
24598
|
+
"type": "Text",
|
|
24599
|
+
"props": {
|
|
24600
|
+
"text": "$item.location",
|
|
24601
|
+
"style": "footnote",
|
|
24602
|
+
"color": "textPrimary",
|
|
24603
|
+
"maxLines": 1
|
|
24604
|
+
}
|
|
24605
|
+
}
|
|
24606
|
+
}
|
|
24607
|
+
]
|
|
24608
|
+
}
|
|
24609
|
+
},
|
|
24610
|
+
"modifiers": {
|
|
24611
|
+
"hiddenPath": "$item.noLocation"
|
|
24612
|
+
}
|
|
24613
|
+
}
|
|
24614
|
+
]
|
|
24615
|
+
}
|
|
24616
|
+
},
|
|
24617
|
+
"modifiers": {
|
|
24618
|
+
"weight": 1
|
|
24619
|
+
}
|
|
24620
|
+
},
|
|
24621
|
+
{
|
|
24622
|
+
"id": "",
|
|
24623
|
+
"body": {
|
|
24624
|
+
"package": "himalaya",
|
|
24625
|
+
"type": "VStack",
|
|
24626
|
+
"props": {
|
|
24627
|
+
"spacing": 0,
|
|
24628
|
+
"alignment": "trailing",
|
|
24629
|
+
"children": [
|
|
24630
|
+
{
|
|
24631
|
+
"id": "himi_agenda.book",
|
|
24632
|
+
"body": {
|
|
24633
|
+
"package": "himalaya",
|
|
24634
|
+
"type": "Button",
|
|
24635
|
+
"props": {
|
|
24636
|
+
"title": "Book",
|
|
24637
|
+
"style": "secondary",
|
|
24638
|
+
"size": "sm",
|
|
24639
|
+
"fullWidth": false,
|
|
24640
|
+
"action": {
|
|
24641
|
+
"actionId": "himi.open",
|
|
24642
|
+
"params": {
|
|
24643
|
+
"screenId": "himi_time",
|
|
24644
|
+
"id": "$item.serviceId",
|
|
24645
|
+
"start": "$item.start",
|
|
24646
|
+
"sessionId": "$item.sessionId"
|
|
24647
|
+
}
|
|
24648
|
+
}
|
|
24649
|
+
}
|
|
24650
|
+
},
|
|
24651
|
+
"modifiers": {
|
|
24652
|
+
"hiddenPath": "$item.hideBook"
|
|
24653
|
+
}
|
|
24654
|
+
},
|
|
24655
|
+
{
|
|
24656
|
+
"id": "himi_agenda.waitlist",
|
|
24657
|
+
"body": {
|
|
24658
|
+
"package": "himalaya",
|
|
24659
|
+
"type": "Button",
|
|
24660
|
+
"props": {
|
|
24661
|
+
"title": "Waitlist",
|
|
24662
|
+
"style": "secondary",
|
|
24663
|
+
"size": "sm",
|
|
24664
|
+
"fullWidth": false,
|
|
24665
|
+
"action": {
|
|
24666
|
+
"actionId": "tier5.himiBrandedAgenda.joinWaitlist",
|
|
24667
|
+
"params": {
|
|
24668
|
+
"eventId": "$item.id"
|
|
24669
|
+
}
|
|
24670
|
+
}
|
|
24671
|
+
}
|
|
24672
|
+
},
|
|
24673
|
+
"modifiers": {
|
|
24674
|
+
"hiddenPath": "$item.hideWaitlist"
|
|
24675
|
+
}
|
|
24676
|
+
},
|
|
24677
|
+
{
|
|
24678
|
+
"id": "himi_agenda.booked",
|
|
24679
|
+
"body": {
|
|
24680
|
+
"package": "himalaya",
|
|
24681
|
+
"type": "HStack",
|
|
24682
|
+
"props": {
|
|
24683
|
+
"spacing": 2,
|
|
24684
|
+
"children": [
|
|
24685
|
+
{
|
|
24686
|
+
"id": "",
|
|
24687
|
+
"body": {
|
|
24688
|
+
"package": "himalaya",
|
|
24689
|
+
"type": "Text",
|
|
24690
|
+
"props": {
|
|
24691
|
+
"text": "Booked",
|
|
24692
|
+
"style": "bodyEmphasis",
|
|
24693
|
+
"color": "success",
|
|
24694
|
+
"maxLines": 1
|
|
24695
|
+
}
|
|
24696
|
+
}
|
|
24697
|
+
},
|
|
24698
|
+
{
|
|
24699
|
+
"id": "",
|
|
24700
|
+
"body": {
|
|
24701
|
+
"package": "himalaya",
|
|
24702
|
+
"type": "Icon",
|
|
24703
|
+
"props": {
|
|
24704
|
+
"name": "chevron_down",
|
|
24705
|
+
"size": 14,
|
|
24706
|
+
"tint": "success"
|
|
24707
|
+
}
|
|
24708
|
+
},
|
|
24709
|
+
"modifiers": {
|
|
24710
|
+
"accessibilityRole": "decorative"
|
|
24711
|
+
}
|
|
24712
|
+
}
|
|
24713
|
+
]
|
|
24714
|
+
}
|
|
24715
|
+
},
|
|
24716
|
+
"modifiers": {
|
|
24717
|
+
"onTap": {
|
|
24718
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
24719
|
+
"params": {
|
|
24720
|
+
"eventId": "$item.id"
|
|
24721
|
+
}
|
|
24722
|
+
},
|
|
24723
|
+
"accessibilityLabel": "Booked",
|
|
24724
|
+
"accessibilityRole": "button",
|
|
24725
|
+
"hiddenPath": "$item.hideBooked"
|
|
24726
|
+
}
|
|
24727
|
+
},
|
|
24728
|
+
{
|
|
24729
|
+
"id": "himi_agenda.on_waitlist",
|
|
24730
|
+
"body": {
|
|
24731
|
+
"package": "himalaya",
|
|
24732
|
+
"type": "HStack",
|
|
24733
|
+
"props": {
|
|
24734
|
+
"spacing": 2,
|
|
24735
|
+
"children": [
|
|
24736
|
+
{
|
|
24737
|
+
"id": "",
|
|
24738
|
+
"body": {
|
|
24739
|
+
"package": "himalaya",
|
|
24740
|
+
"type": "Text",
|
|
24741
|
+
"props": {
|
|
24742
|
+
"text": "On waitlist",
|
|
24743
|
+
"style": "bodyEmphasis",
|
|
24744
|
+
"color": "warning",
|
|
24745
|
+
"maxLines": 1
|
|
24746
|
+
}
|
|
24747
|
+
}
|
|
24748
|
+
},
|
|
24749
|
+
{
|
|
24750
|
+
"id": "",
|
|
24751
|
+
"body": {
|
|
24752
|
+
"package": "himalaya",
|
|
24753
|
+
"type": "Icon",
|
|
24754
|
+
"props": {
|
|
24755
|
+
"name": "chevron_down",
|
|
24756
|
+
"size": 14,
|
|
24757
|
+
"tint": "warning"
|
|
24758
|
+
}
|
|
24759
|
+
},
|
|
24760
|
+
"modifiers": {
|
|
24761
|
+
"accessibilityRole": "decorative"
|
|
24762
|
+
}
|
|
24763
|
+
}
|
|
24764
|
+
]
|
|
24765
|
+
}
|
|
24766
|
+
},
|
|
24767
|
+
"modifiers": {
|
|
24768
|
+
"onTap": {
|
|
24769
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
24770
|
+
"params": {
|
|
24771
|
+
"eventId": "$item.id"
|
|
24772
|
+
}
|
|
24773
|
+
},
|
|
24774
|
+
"accessibilityLabel": "On waitlist",
|
|
24775
|
+
"accessibilityRole": "button",
|
|
24776
|
+
"hiddenPath": "$item.hideOnWaitlist"
|
|
24777
|
+
}
|
|
24778
|
+
},
|
|
24779
|
+
{
|
|
24780
|
+
"id": "",
|
|
24781
|
+
"body": {
|
|
24782
|
+
"package": "himalaya",
|
|
24783
|
+
"type": "Text",
|
|
24784
|
+
"props": {
|
|
24785
|
+
"text": "$item.closedLabel",
|
|
24786
|
+
"style": "footnote",
|
|
24787
|
+
"color": "textTertiary",
|
|
24788
|
+
"maxLines": 1
|
|
24789
|
+
}
|
|
24790
|
+
},
|
|
24791
|
+
"modifiers": {
|
|
24792
|
+
"hiddenPath": "$item.hideClosed"
|
|
24793
|
+
}
|
|
24794
|
+
}
|
|
24795
|
+
]
|
|
24796
|
+
}
|
|
24797
|
+
}
|
|
24798
|
+
}
|
|
24799
|
+
]
|
|
24800
|
+
}
|
|
24801
|
+
},
|
|
24802
|
+
"modifiers": {
|
|
24803
|
+
"padding": {
|
|
24804
|
+
"leading": 16,
|
|
24805
|
+
"trailing": 16,
|
|
24806
|
+
"top": 14,
|
|
24807
|
+
"bottom": 14
|
|
24808
|
+
},
|
|
24809
|
+
"fillMaxWidth": true
|
|
24810
|
+
}
|
|
24811
|
+
}
|
|
24812
|
+
}
|
|
24813
|
+
},
|
|
24814
|
+
"modifiers": {
|
|
24815
|
+
"fillMaxWidth": true,
|
|
24816
|
+
"hiddenPath": "$service:himiBrandedAgenda.listHidden"
|
|
24817
|
+
}
|
|
24818
|
+
},
|
|
24819
|
+
{
|
|
24820
|
+
"id": "himi_agenda.sheet",
|
|
24821
|
+
"body": {
|
|
24822
|
+
"package": "himalaya",
|
|
24823
|
+
"type": "BottomSheet",
|
|
24824
|
+
"props": {
|
|
24825
|
+
"presentedPath": "$service:himiBrandedAgenda.sheetOpen",
|
|
24826
|
+
"dismissible": true,
|
|
24827
|
+
"showGrabber": true,
|
|
24828
|
+
"onDismiss": {
|
|
24829
|
+
"actionId": "tier5.himiBrandedAgenda.closeSheet"
|
|
24830
|
+
},
|
|
24831
|
+
"content": {
|
|
24832
|
+
"id": "",
|
|
24833
|
+
"body": {
|
|
24834
|
+
"package": "himalaya",
|
|
24835
|
+
"type": "VStack",
|
|
24836
|
+
"props": {
|
|
24837
|
+
"spacing": 14,
|
|
24838
|
+
"alignment": "leading",
|
|
24839
|
+
"children": [
|
|
24840
|
+
{
|
|
24841
|
+
"id": "",
|
|
24842
|
+
"body": {
|
|
24843
|
+
"package": "himalaya",
|
|
24844
|
+
"type": "Text",
|
|
24845
|
+
"props": {
|
|
24846
|
+
"text": "$service:himiBrandedAgenda.sheetTitle",
|
|
24847
|
+
"style": "title3",
|
|
24848
|
+
"maxLines": 2
|
|
24849
|
+
}
|
|
24850
|
+
}
|
|
24851
|
+
},
|
|
24852
|
+
{
|
|
24853
|
+
"id": "",
|
|
24854
|
+
"body": {
|
|
24855
|
+
"package": "himalaya",
|
|
24856
|
+
"type": "Text",
|
|
24857
|
+
"props": {
|
|
24858
|
+
"text": "$service:himiBrandedAgenda.sheetWhen",
|
|
24859
|
+
"style": "footnote",
|
|
24860
|
+
"color": "textSecondary",
|
|
24861
|
+
"collapseWhenEmpty": true
|
|
24862
|
+
}
|
|
24863
|
+
}
|
|
24864
|
+
},
|
|
24865
|
+
{
|
|
24866
|
+
"id": "",
|
|
24867
|
+
"body": {
|
|
24868
|
+
"package": "himalaya",
|
|
24869
|
+
"type": "Divider",
|
|
24870
|
+
"props": {}
|
|
24871
|
+
}
|
|
24872
|
+
},
|
|
24873
|
+
{
|
|
24874
|
+
"id": "himi_agenda.view_session",
|
|
24875
|
+
"body": {
|
|
24876
|
+
"package": "himalaya",
|
|
24877
|
+
"type": "Button",
|
|
24878
|
+
"props": {
|
|
24879
|
+
"title": "View session",
|
|
24880
|
+
"style": "plain",
|
|
24881
|
+
"fullWidth": true,
|
|
24882
|
+
"action": {
|
|
24883
|
+
"actionId": "tier5.himiBrandedAgenda.viewSession"
|
|
24884
|
+
}
|
|
24885
|
+
}
|
|
24886
|
+
}
|
|
24887
|
+
},
|
|
24888
|
+
{
|
|
24889
|
+
"id": "himi_agenda.cancel_booking",
|
|
24890
|
+
"body": {
|
|
24891
|
+
"package": "himalaya",
|
|
24892
|
+
"type": "Button",
|
|
24893
|
+
"props": {
|
|
24894
|
+
"title": "Cancel booking",
|
|
24895
|
+
"style": "plain",
|
|
24896
|
+
"role": "destructive",
|
|
24897
|
+
"fullWidth": true,
|
|
24898
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
24899
|
+
"action": {
|
|
24900
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
24901
|
+
}
|
|
24902
|
+
}
|
|
24903
|
+
},
|
|
24904
|
+
"modifiers": {
|
|
24905
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideCancel"
|
|
24906
|
+
}
|
|
24907
|
+
},
|
|
24908
|
+
{
|
|
24909
|
+
"id": "himi_agenda.leave_waitlist",
|
|
24910
|
+
"body": {
|
|
24911
|
+
"package": "himalaya",
|
|
24912
|
+
"type": "Button",
|
|
24913
|
+
"props": {
|
|
24914
|
+
"title": "Leave waitlist",
|
|
24915
|
+
"style": "plain",
|
|
24916
|
+
"role": "destructive",
|
|
24917
|
+
"fullWidth": true,
|
|
24918
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
24919
|
+
"action": {
|
|
24920
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
24921
|
+
}
|
|
24922
|
+
}
|
|
24923
|
+
},
|
|
24924
|
+
"modifiers": {
|
|
24925
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
|
|
24926
|
+
}
|
|
24927
|
+
}
|
|
24928
|
+
]
|
|
24929
|
+
}
|
|
24930
|
+
},
|
|
24931
|
+
"modifiers": {
|
|
24932
|
+
"padding": {
|
|
24933
|
+
"leading": 20,
|
|
24934
|
+
"trailing": 20,
|
|
24935
|
+
"top": 20,
|
|
24936
|
+
"bottom": 24
|
|
24937
|
+
}
|
|
24938
|
+
}
|
|
24939
|
+
}
|
|
24940
|
+
}
|
|
24941
|
+
}
|
|
24942
|
+
}
|
|
24943
|
+
]
|
|
24944
|
+
}
|
|
24945
|
+
},
|
|
24946
|
+
"modifiers": {
|
|
24947
|
+
"background": {
|
|
24948
|
+
"token": "surfacePrimary"
|
|
24949
|
+
},
|
|
24950
|
+
"onAppear": {
|
|
24951
|
+
"actionId": "tier5.himiBrandedAgenda.load",
|
|
24952
|
+
"params": {
|
|
24953
|
+
"firstWeekday": "0"
|
|
24954
|
+
}
|
|
24955
|
+
}
|
|
24956
|
+
}
|
|
24957
|
+
},
|
|
24958
|
+
"logicBundle": {
|
|
24959
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
|
|
24960
|
+
"integrity": "",
|
|
24961
|
+
"contentType": "application/javascript+ts-bundle",
|
|
24962
|
+
"declaredCapabilities": [
|
|
24963
|
+
"wix_api",
|
|
24964
|
+
"app_info"
|
|
24965
|
+
],
|
|
24966
|
+
"minBinaryVersion": "0.1.0",
|
|
24967
|
+
"bundleVersion": "0.0.1"
|
|
24968
|
+
},
|
|
24969
|
+
"topBar": {
|
|
24970
|
+
"leading": "none"
|
|
24971
|
+
},
|
|
24972
|
+
"stickyHeader": {
|
|
24973
|
+
"id": "himi_agenda.header",
|
|
24974
|
+
"body": {
|
|
24975
|
+
"package": "himalaya",
|
|
24976
|
+
"type": "VStack",
|
|
24977
|
+
"props": {
|
|
24978
|
+
"spacing": 0,
|
|
24979
|
+
"alignment": "leading",
|
|
24980
|
+
"children": [
|
|
24981
|
+
{
|
|
24982
|
+
"id": "himi_agenda.back",
|
|
24983
|
+
"body": {
|
|
24984
|
+
"package": "himalaya",
|
|
24985
|
+
"type": "Button",
|
|
24986
|
+
"props": {
|
|
24987
|
+
"title": "Back",
|
|
24988
|
+
"action": {
|
|
24989
|
+
"actionId": "nav.back",
|
|
24990
|
+
"presentation": "back"
|
|
24991
|
+
},
|
|
24992
|
+
"style": "tertiary",
|
|
24993
|
+
"iconOnly": true,
|
|
24994
|
+
"leadingIcon": "chevron_left",
|
|
24995
|
+
"cornerRadius": 22,
|
|
24996
|
+
"minHeight": 44
|
|
24997
|
+
}
|
|
24998
|
+
},
|
|
24999
|
+
"modifiers": {
|
|
25000
|
+
"width": 44,
|
|
25001
|
+
"height": 44,
|
|
25002
|
+
"accessibilityLabel": "Back",
|
|
25003
|
+
"accessibilityRole": "button"
|
|
25004
|
+
}
|
|
25005
|
+
},
|
|
25006
|
+
{
|
|
25007
|
+
"id": "himi_agenda.title",
|
|
25008
|
+
"body": {
|
|
25009
|
+
"package": "himalaya",
|
|
25010
|
+
"type": "Text",
|
|
25011
|
+
"props": {
|
|
25012
|
+
"text": "Agenda",
|
|
25013
|
+
"style": "title1"
|
|
25014
|
+
}
|
|
25015
|
+
},
|
|
25016
|
+
"modifiers": {
|
|
25017
|
+
"padding": {
|
|
25018
|
+
"leading": 16,
|
|
25019
|
+
"trailing": 16,
|
|
25020
|
+
"bottom": 8
|
|
25021
|
+
}
|
|
25022
|
+
}
|
|
25023
|
+
},
|
|
25024
|
+
{
|
|
25025
|
+
"id": "himi_agenda.calendar",
|
|
25026
|
+
"body": {
|
|
25027
|
+
"package": "himalaya",
|
|
25028
|
+
"type": "MonthCalendar",
|
|
25029
|
+
"props": {
|
|
25030
|
+
"displayMode": "week",
|
|
25031
|
+
"expandable": true,
|
|
25032
|
+
"firstWeekday": 0,
|
|
25033
|
+
"selectedDatePath": "$service:himiBrandedAgenda.selectedDate",
|
|
25034
|
+
"decorationsPath": "$service:himiBrandedAgenda.decorations",
|
|
25035
|
+
"maxDots": 1,
|
|
25036
|
+
"onSelectDate": {
|
|
25037
|
+
"actionId": "tier5.himiBrandedAgenda.selectDate"
|
|
25038
|
+
},
|
|
25039
|
+
"onVisibleRangeChange": {
|
|
25040
|
+
"actionId": "tier5.himiBrandedAgenda.rangeChanged"
|
|
25041
|
+
},
|
|
25042
|
+
"onMonthChange": {
|
|
25043
|
+
"actionId": "tier5.himiBrandedAgenda.monthChanged"
|
|
25044
|
+
}
|
|
25045
|
+
}
|
|
25046
|
+
},
|
|
25047
|
+
"modifiers": {
|
|
25048
|
+
"padding": {
|
|
25049
|
+
"leading": 16,
|
|
25050
|
+
"trailing": 16,
|
|
25051
|
+
"top": 4,
|
|
25052
|
+
"bottom": 8
|
|
25053
|
+
},
|
|
25054
|
+
"fillMaxWidth": true,
|
|
25055
|
+
"accessibilityLabel": "Class calendar"
|
|
25056
|
+
}
|
|
25057
|
+
},
|
|
25058
|
+
{
|
|
25059
|
+
"id": "",
|
|
25060
|
+
"body": {
|
|
25061
|
+
"package": "himalaya",
|
|
25062
|
+
"type": "Divider",
|
|
25063
|
+
"props": {}
|
|
25064
|
+
}
|
|
25065
|
+
}
|
|
25066
|
+
]
|
|
25067
|
+
}
|
|
25068
|
+
},
|
|
25069
|
+
"modifiers": {
|
|
25070
|
+
"background": {
|
|
25071
|
+
"token": "surfacePrimary"
|
|
25072
|
+
},
|
|
25073
|
+
"padding": {
|
|
25074
|
+
"top": 4
|
|
25075
|
+
},
|
|
25076
|
+
"fillMaxWidth": true
|
|
25077
|
+
}
|
|
25078
|
+
}
|
|
25079
|
+
},
|
|
24296
25080
|
"himi_menu": {
|
|
24297
25081
|
"screenId": "himi_menu",
|
|
24298
25082
|
"renderer": "sdui_intent",
|