@wix/himalaya-cli 0.1522.0 → 0.1524.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +18 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +13 -0
  3. package/dist/cli.mjs +3 -2
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/dev/index.ts +862 -35
  6. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +69 -0
  7. package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +9 -0
  8. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +237 -17
  9. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +277 -55
  10. package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +4 -63
  11. package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +9 -0
  12. package/templates/branded-lite/dev/index.ts +862 -35
  13. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +69 -0
  14. package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +9 -0
  15. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +237 -17
  16. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +277 -55
  17. package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +4 -63
  18. package/templates/brandy/tier5-src/_shared/himi-copy.ts +9 -0
  19. package/templates/community-club/tier5-src/_shared/himi-copy.ts +9 -0
  20. package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +9 -0
  21. package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +9 -0
  22. package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +9 -0
  23. package/templates/gym-fitness/dev/index.ts +862 -35
  24. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +69 -0
  25. package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +9 -0
  26. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +237 -17
  27. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +277 -55
  28. package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +4 -63
  29. package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +9 -0
  30. package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +9 -0
  31. package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +9 -0
  32. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +9 -0
  33. package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +9 -0
  34. package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +9 -0
  35. package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +9 -0
  36. package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +9 -0
  37. package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +4 -63
  38. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +9 -0
  39. package/templates/restaurant/tier5-src/_shared/himi-copy.ts +9 -0
  40. package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +9 -0
  41. package/templates/retail-store/tier5-src/_shared/himi-copy.ts +9 -0
  42. package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +4 -63
  43. package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +9 -0
  44. package/templates/yoga-studio/dev/index.ts +857 -30
  45. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +69 -0
  46. package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +9 -0
  47. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +237 -17
  48. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +277 -55
  49. package/templates/yoga-studio-owner/tier5-src/_shared/himi-copy.ts +9 -0
@@ -35443,19 +35443,58 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35443
35443
  "alignment": "leading",
35444
35444
  "children": [
35445
35445
  {
35446
- "id": "himi_service.category",
35446
+ "id": "",
35447
35447
  "body": {
35448
35448
  "package": "himalaya",
35449
- "type": "Text",
35449
+ "type": "HStack",
35450
35450
  "props": {
35451
- "text": "$service:himiBookingService.category",
35452
- "style": "footnote",
35453
- "color": "textSecondary",
35454
- "maxLines": 1
35451
+ "spacing": 8,
35452
+ "alignment": "center",
35453
+ "children": [
35454
+ {
35455
+ "id": "himi_service.category",
35456
+ "body": {
35457
+ "package": "himalaya",
35458
+ "type": "Text",
35459
+ "props": {
35460
+ "text": "$service:himiBookingService.category",
35461
+ "style": "footnote",
35462
+ "color": "textSecondary",
35463
+ "maxLines": 1
35464
+ }
35465
+ },
35466
+ "modifiers": {
35467
+ "hiddenPath": "$service:himiBookingService.noCategory"
35468
+ }
35469
+ },
35470
+ {
35471
+ "id": "himi_service.type_tag",
35472
+ "body": {
35473
+ "package": "himalaya",
35474
+ "type": "Text",
35475
+ "props": {
35476
+ "text": "$service:himiBookingService.typeTag",
35477
+ "style": "caption",
35478
+ "color": "textSecondary",
35479
+ "maxLines": 1
35480
+ }
35481
+ },
35482
+ "modifiers": {
35483
+ "background": {
35484
+ "token": "surfaceTertiary"
35485
+ },
35486
+ "cornerRadius": 4,
35487
+ "padding": {
35488
+ "leading": 8,
35489
+ "trailing": 8,
35490
+ "top": 2,
35491
+ "bottom": 2
35492
+ },
35493
+ "hiddenPath": "$service:himiBookingService.noTypeTag"
35494
+ }
35495
+ }
35496
+ ]
35455
35497
  }
35456
- },
35457
- "modifiers": {
35458
- "hiddenPath": "$service:himiBookingService.noCategory"
35459
35498
  }
35460
35499
  },
35461
35500
  {
@@ -35580,7 +35619,271 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35580
35619
  "alignment": "leading",
35581
35620
  "children": [
35582
35621
  {
35583
- "id": "himi_service.duration",
35622
+ "id": "himi_service.course_dates",
35623
+ "body": {
35624
+ "package": "himalaya",
35625
+ "type": "HStack",
35626
+ "props": {
35627
+ "spacing": 12,
35628
+ "alignment": "center",
35629
+ "children": [
35630
+ {
35631
+ "id": "",
35632
+ "body": {
35633
+ "package": "himalaya",
35634
+ "type": "ZStack",
35635
+ "props": {
35636
+ "alignment": "center",
35637
+ "children": [
35638
+ {
35639
+ "id": "",
35640
+ "body": {
35641
+ "package": "himalaya",
35642
+ "type": "Icon",
35643
+ "props": {
35644
+ "name": "calendar",
35645
+ "size": 20,
35646
+ "tint": "textSecondary"
35647
+ }
35648
+ },
35649
+ "modifiers": {
35650
+ "accessibilityRole": "decorative"
35651
+ }
35652
+ }
35653
+ ]
35654
+ }
35655
+ },
35656
+ "modifiers": {
35657
+ "width": 20,
35658
+ "height": 20
35659
+ }
35660
+ },
35661
+ {
35662
+ "id": "",
35663
+ "body": {
35664
+ "package": "himalaya",
35665
+ "type": "VStack",
35666
+ "props": {
35667
+ "spacing": 2,
35668
+ "alignment": "leading",
35669
+ "children": [
35670
+ {
35671
+ "id": "",
35672
+ "body": {
35673
+ "package": "himalaya",
35674
+ "type": "Text",
35675
+ "props": {
35676
+ "text": "$service:himiBookingService.courseDates",
35677
+ "style": "body",
35678
+ "color": "textPrimary",
35679
+ "maxLines": 2
35680
+ }
35681
+ }
35682
+ },
35683
+ {
35684
+ "id": "",
35685
+ "body": {
35686
+ "package": "himalaya",
35687
+ "type": "Text",
35688
+ "props": {
35689
+ "text": "$service:himiBookingService.courseSessionCount",
35690
+ "style": "caption",
35691
+ "color": "textSecondary",
35692
+ "maxLines": 1,
35693
+ "collapseWhenEmpty": true
35694
+ }
35695
+ }
35696
+ }
35697
+ ]
35698
+ }
35699
+ }
35700
+ },
35701
+ {
35702
+ "id": "",
35703
+ "body": {
35704
+ "package": "himalaya",
35705
+ "type": "Spacer",
35706
+ "props": {}
35707
+ }
35708
+ }
35709
+ ]
35710
+ }
35711
+ },
35712
+ "modifiers": {
35713
+ "fillMaxWidth": true,
35714
+ "accessibilityLabel": "$service:himiBookingService.courseDates",
35715
+ "accessibilityValue": "$service:himiBookingService.courseSessionCount",
35716
+ "hiddenPath": "$service:himiBookingService.noCourseDates"
35717
+ }
35718
+ },
35719
+ {
35720
+ "id": "himi_service.duration",
35721
+ "body": {
35722
+ "package": "himalaya",
35723
+ "type": "HStack",
35724
+ "props": {
35725
+ "spacing": 12,
35726
+ "alignment": "center",
35727
+ "children": [
35728
+ {
35729
+ "id": "",
35730
+ "body": {
35731
+ "package": "himalaya",
35732
+ "type": "ZStack",
35733
+ "props": {
35734
+ "alignment": "center",
35735
+ "children": [
35736
+ {
35737
+ "id": "",
35738
+ "body": {
35739
+ "package": "himalaya",
35740
+ "type": "Icon",
35741
+ "props": {
35742
+ "name": "clock",
35743
+ "size": 20,
35744
+ "tint": "textSecondary"
35745
+ }
35746
+ },
35747
+ "modifiers": {
35748
+ "accessibilityRole": "decorative"
35749
+ }
35750
+ }
35751
+ ]
35752
+ }
35753
+ },
35754
+ "modifiers": {
35755
+ "width": 20,
35756
+ "height": 20
35757
+ }
35758
+ },
35759
+ {
35760
+ "id": "",
35761
+ "body": {
35762
+ "package": "himalaya",
35763
+ "type": "VStack",
35764
+ "props": {
35765
+ "spacing": 2,
35766
+ "alignment": "leading",
35767
+ "children": [
35768
+ {
35769
+ "id": "",
35770
+ "body": {
35771
+ "package": "himalaya",
35772
+ "type": "Text",
35773
+ "props": {
35774
+ "text": "$service:himiBookingService.durationText",
35775
+ "style": "body",
35776
+ "color": "textPrimary",
35777
+ "maxLines": 2
35778
+ }
35779
+ }
35780
+ }
35781
+ ]
35782
+ }
35783
+ }
35784
+ },
35785
+ {
35786
+ "id": "",
35787
+ "body": {
35788
+ "package": "himalaya",
35789
+ "type": "Spacer",
35790
+ "props": {}
35791
+ }
35792
+ }
35793
+ ]
35794
+ }
35795
+ },
35796
+ "modifiers": {
35797
+ "fillMaxWidth": true,
35798
+ "accessibilityLabel": "$service:himiBookingService.durationText",
35799
+ "hiddenPath": "$service:himiBookingService.noDuration"
35800
+ }
35801
+ },
35802
+ {
35803
+ "id": "himi_service.spots_warning",
35804
+ "body": {
35805
+ "package": "himalaya",
35806
+ "type": "HStack",
35807
+ "props": {
35808
+ "spacing": 12,
35809
+ "alignment": "center",
35810
+ "children": [
35811
+ {
35812
+ "id": "",
35813
+ "body": {
35814
+ "package": "himalaya",
35815
+ "type": "ZStack",
35816
+ "props": {
35817
+ "alignment": "center",
35818
+ "children": [
35819
+ {
35820
+ "id": "",
35821
+ "body": {
35822
+ "package": "himalaya",
35823
+ "type": "Icon",
35824
+ "props": {
35825
+ "name": "people",
35826
+ "size": 20,
35827
+ "tint": "textSecondary"
35828
+ }
35829
+ },
35830
+ "modifiers": {
35831
+ "accessibilityRole": "decorative"
35832
+ }
35833
+ }
35834
+ ]
35835
+ }
35836
+ },
35837
+ "modifiers": {
35838
+ "width": 20,
35839
+ "height": 20
35840
+ }
35841
+ },
35842
+ {
35843
+ "id": "",
35844
+ "body": {
35845
+ "package": "himalaya",
35846
+ "type": "VStack",
35847
+ "props": {
35848
+ "spacing": 2,
35849
+ "alignment": "leading",
35850
+ "children": [
35851
+ {
35852
+ "id": "",
35853
+ "body": {
35854
+ "package": "himalaya",
35855
+ "type": "Text",
35856
+ "props": {
35857
+ "text": "$service:himiBookingService.spotsText",
35858
+ "style": "body",
35859
+ "color": "warning",
35860
+ "maxLines": 2
35861
+ }
35862
+ }
35863
+ }
35864
+ ]
35865
+ }
35866
+ }
35867
+ },
35868
+ {
35869
+ "id": "",
35870
+ "body": {
35871
+ "package": "himalaya",
35872
+ "type": "Spacer",
35873
+ "props": {}
35874
+ }
35875
+ }
35876
+ ]
35877
+ }
35878
+ },
35879
+ "modifiers": {
35880
+ "fillMaxWidth": true,
35881
+ "accessibilityLabel": "$service:himiBookingService.spotsText",
35882
+ "hiddenPath": "$service:himiBookingService.spotsNeutral"
35883
+ }
35884
+ },
35885
+ {
35886
+ "id": "himi_service.spots",
35584
35887
  "body": {
35585
35888
  "package": "himalaya",
35586
35889
  "type": "HStack",
@@ -35602,7 +35905,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35602
35905
  "package": "himalaya",
35603
35906
  "type": "Icon",
35604
35907
  "props": {
35605
- "name": "clock",
35908
+ "name": "people",
35606
35909
  "size": 20,
35607
35910
  "tint": "textSecondary"
35608
35911
  }
@@ -35634,9 +35937,10 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35634
35937
  "package": "himalaya",
35635
35938
  "type": "Text",
35636
35939
  "props": {
35637
- "text": "$service:himiBookingService.durationText",
35940
+ "text": "$service:himiBookingService.spotsText",
35638
35941
  "style": "body",
35639
- "maxLines": 1
35942
+ "color": "textSecondary",
35943
+ "maxLines": 2
35640
35944
  }
35641
35945
  }
35642
35946
  }
@@ -35657,8 +35961,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35657
35961
  },
35658
35962
  "modifiers": {
35659
35963
  "fillMaxWidth": true,
35660
- "accessibilityLabel": "$service:himiBookingService.durationText",
35661
- "hiddenPath": "$service:himiBookingService.noDuration"
35964
+ "accessibilityLabel": "$service:himiBookingService.spotsText",
35965
+ "hiddenPath": "$service:himiBookingService.hideSpotsNeutral"
35662
35966
  }
35663
35967
  },
35664
35968
  {
@@ -35736,7 +36040,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35736
36040
  "props": {
35737
36041
  "text": "$item.title",
35738
36042
  "style": "body",
35739
- "maxLines": 1
36043
+ "color": "textPrimary",
36044
+ "maxLines": 2
35740
36045
  }
35741
36046
  }
35742
36047
  }
@@ -35826,7 +36131,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35826
36131
  "props": {
35827
36132
  "text": "$item.title",
35828
36133
  "style": "body",
35829
- "maxLines": 1
36134
+ "color": "textPrimary",
36135
+ "maxLines": 2
35830
36136
  }
35831
36137
  }
35832
36138
  }
@@ -35919,7 +36225,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35919
36225
  "props": {
35920
36226
  "text": "Online session",
35921
36227
  "style": "body",
35922
- "maxLines": 1
36228
+ "color": "textPrimary",
36229
+ "maxLines": 2
35923
36230
  }
35924
36231
  }
35925
36232
  }
@@ -36032,7 +36339,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36032
36339
  "props": {
36033
36340
  "text": "$service:himiBookingService.staffText",
36034
36341
  "style": "body",
36035
- "maxLines": 1
36342
+ "color": "textPrimary",
36343
+ "maxLines": 2
36036
36344
  }
36037
36345
  }
36038
36346
  }
@@ -36114,7 +36422,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36114
36422
  "props": {
36115
36423
  "text": "$service:himiBookingService.payText",
36116
36424
  "style": "body",
36117
- "maxLines": 1
36425
+ "color": "textPrimary",
36426
+ "maxLines": 2
36118
36427
  }
36119
36428
  }
36120
36429
  },
@@ -36165,6 +36474,173 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36165
36474
  "hiddenPath": "$service:himiBookingService.noFacts"
36166
36475
  }
36167
36476
  },
36477
+ {
36478
+ "id": "himi_service.schedule_section",
36479
+ "body": {
36480
+ "package": "himalaya",
36481
+ "type": "VStack",
36482
+ "props": {
36483
+ "spacing": 24,
36484
+ "alignment": "leading",
36485
+ "children": [
36486
+ {
36487
+ "id": "",
36488
+ "body": {
36489
+ "package": "himalaya",
36490
+ "type": "Divider",
36491
+ "props": {}
36492
+ }
36493
+ },
36494
+ {
36495
+ "id": "himi_service.schedule",
36496
+ "body": {
36497
+ "package": "himalaya",
36498
+ "type": "VStack",
36499
+ "props": {
36500
+ "spacing": 12,
36501
+ "alignment": "leading",
36502
+ "children": [
36503
+ {
36504
+ "id": "himi_service.schedule_title",
36505
+ "body": {
36506
+ "package": "himalaya",
36507
+ "type": "Text",
36508
+ "props": {
36509
+ "text": "Schedule",
36510
+ "style": "title3"
36511
+ }
36512
+ }
36513
+ },
36514
+ {
36515
+ "id": "himi_service.schedule_preview",
36516
+ "body": {
36517
+ "package": "himalaya",
36518
+ "type": "LazyList",
36519
+ "props": {
36520
+ "spacing": 12,
36521
+ "itemsPath": "$service:himiBookingService.courseSessions",
36522
+ "items": [
36523
+ {
36524
+ "id": "",
36525
+ "body": {
36526
+ "package": "himalaya",
36527
+ "type": "VStack",
36528
+ "props": {
36529
+ "spacing": 2,
36530
+ "alignment": "leading",
36531
+ "children": [
36532
+ {
36533
+ "id": "",
36534
+ "body": {
36535
+ "package": "himalaya",
36536
+ "type": "Text",
36537
+ "props": {
36538
+ "text": "$item.date",
36539
+ "style": "bodyEmphasis"
36540
+ }
36541
+ }
36542
+ },
36543
+ {
36544
+ "id": "",
36545
+ "body": {
36546
+ "package": "himalaya",
36547
+ "type": "Text",
36548
+ "props": {
36549
+ "text": "$item.time",
36550
+ "style": "caption",
36551
+ "color": "textSecondary",
36552
+ "collapseWhenEmpty": true
36553
+ }
36554
+ }
36555
+ }
36556
+ ]
36557
+ }
36558
+ }
36559
+ }
36560
+ ]
36561
+ }
36562
+ }
36563
+ },
36564
+ {
36565
+ "id": "himi_service.schedule_disclosure",
36566
+ "body": {
36567
+ "package": "himalaya",
36568
+ "type": "DisclosureGroup",
36569
+ "props": {
36570
+ "title": "See Full Schedule",
36571
+ "expandedPath": "$service:himiBookingService.scheduleExpanded",
36572
+ "content": [
36573
+ {
36574
+ "id": "himi_service.schedule_more",
36575
+ "body": {
36576
+ "package": "himalaya",
36577
+ "type": "LazyList",
36578
+ "props": {
36579
+ "spacing": 12,
36580
+ "itemsPath": "$service:himiBookingService.courseMoreSessions",
36581
+ "items": [
36582
+ {
36583
+ "id": "",
36584
+ "body": {
36585
+ "package": "himalaya",
36586
+ "type": "VStack",
36587
+ "props": {
36588
+ "spacing": 2,
36589
+ "alignment": "leading",
36590
+ "children": [
36591
+ {
36592
+ "id": "",
36593
+ "body": {
36594
+ "package": "himalaya",
36595
+ "type": "Text",
36596
+ "props": {
36597
+ "text": "$item.date",
36598
+ "style": "bodyEmphasis"
36599
+ }
36600
+ }
36601
+ },
36602
+ {
36603
+ "id": "",
36604
+ "body": {
36605
+ "package": "himalaya",
36606
+ "type": "Text",
36607
+ "props": {
36608
+ "text": "$item.time",
36609
+ "style": "caption",
36610
+ "color": "textSecondary",
36611
+ "collapseWhenEmpty": true
36612
+ }
36613
+ }
36614
+ }
36615
+ ]
36616
+ }
36617
+ }
36618
+ }
36619
+ ]
36620
+ }
36621
+ }
36622
+ }
36623
+ ],
36624
+ "onToggle": {
36625
+ "actionId": "tier5.himiBookingService.toggleSchedule"
36626
+ }
36627
+ }
36628
+ },
36629
+ "modifiers": {
36630
+ "hiddenPath": "$service:himiBookingService.noCourseMoreSessions"
36631
+ }
36632
+ }
36633
+ ]
36634
+ }
36635
+ }
36636
+ }
36637
+ ]
36638
+ }
36639
+ },
36640
+ "modifiers": {
36641
+ "hiddenPath": "$service:himiBookingService.noCourseSessions"
36642
+ }
36643
+ },
36168
36644
  {
36169
36645
  "id": "himi_service.about_section",
36170
36646
  "body": {
@@ -36588,29 +37064,111 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36588
37064
  "pressFeedback": "scale",
36589
37065
  "haptic": "medium",
36590
37066
  "height": 48,
36591
- "hiddenPath": "$service:himiBookingService.requestToBook"
37067
+ "hiddenPath": "$service:himiBookingService.hideChooseTime"
37068
+ }
37069
+ },
37070
+ {
37071
+ "id": "himi_service.request",
37072
+ "body": {
37073
+ "package": "himalaya",
37074
+ "type": "Button",
37075
+ "props": {
37076
+ "title": "Request to Book",
37077
+ "style": "primary",
37078
+ "fullWidth": true,
37079
+ "action": {
37080
+ "actionId": "tier5.himiBookingService.chooseTime"
37081
+ }
37082
+ }
37083
+ },
37084
+ "modifiers": {
37085
+ "cornerRadius": 8,
37086
+ "pressFeedback": "scale",
37087
+ "haptic": "medium",
37088
+ "height": 48,
37089
+ "hiddenPath": "$service:himiBookingService.hideRequestTime"
37090
+ }
37091
+ },
37092
+ {
37093
+ "id": "himi_service.book_course",
37094
+ "body": {
37095
+ "package": "himalaya",
37096
+ "type": "Button",
37097
+ "props": {
37098
+ "title": "Book This Course",
37099
+ "style": "primary",
37100
+ "fullWidth": true,
37101
+ "action": {
37102
+ "actionId": "tier5.himiBookingService.chooseTime"
37103
+ }
37104
+ }
37105
+ },
37106
+ "modifiers": {
37107
+ "cornerRadius": 8,
37108
+ "pressFeedback": "scale",
37109
+ "haptic": "medium",
37110
+ "height": 48,
37111
+ "hiddenPath": "$service:himiBookingService.noCourseCtaBook"
37112
+ }
37113
+ },
37114
+ {
37115
+ "id": "himi_service.request_course",
37116
+ "body": {
37117
+ "package": "himalaya",
37118
+ "type": "Button",
37119
+ "props": {
37120
+ "title": "Request to Book",
37121
+ "style": "primary",
37122
+ "fullWidth": true,
37123
+ "action": {
37124
+ "actionId": "tier5.himiBookingService.chooseTime"
37125
+ }
37126
+ }
37127
+ },
37128
+ "modifiers": {
37129
+ "cornerRadius": 8,
37130
+ "pressFeedback": "scale",
37131
+ "haptic": "medium",
37132
+ "height": 48,
37133
+ "hiddenPath": "$service:himiBookingService.noCourseCtaRequest"
37134
+ }
37135
+ },
37136
+ {
37137
+ "id": "himi_service.fully_booked",
37138
+ "body": {
37139
+ "package": "himalaya",
37140
+ "type": "Button",
37141
+ "props": {
37142
+ "title": "Fully Booked",
37143
+ "style": "primary",
37144
+ "fullWidth": true,
37145
+ "disabled": true,
37146
+ "action": {
37147
+ "actionId": "tier5.himiBookingService.chooseTime"
37148
+ }
37149
+ }
37150
+ },
37151
+ "modifiers": {
37152
+ "hiddenPath": "$service:himiBookingService.noCourseCtaFull"
36592
37153
  }
36593
37154
  },
36594
37155
  {
36595
- "id": "himi_service.request",
37156
+ "id": "himi_service.booking_closed",
36596
37157
  "body": {
36597
37158
  "package": "himalaya",
36598
37159
  "type": "Button",
36599
37160
  "props": {
36600
- "title": "Request to Book",
37161
+ "title": "Booking Closed",
36601
37162
  "style": "primary",
36602
37163
  "fullWidth": true,
37164
+ "disabled": true,
36603
37165
  "action": {
36604
37166
  "actionId": "tier5.himiBookingService.chooseTime"
36605
37167
  }
36606
37168
  }
36607
37169
  },
36608
37170
  "modifiers": {
36609
- "cornerRadius": 8,
36610
- "pressFeedback": "scale",
36611
- "haptic": "medium",
36612
- "height": 48,
36613
- "hiddenPath": "$service:himiBookingService.notRequestToBook"
37171
+ "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
36614
37172
  }
36615
37173
  }
36616
37174
  ]
@@ -36924,7 +37482,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36924
37482
  },
36925
37483
  "modifiers": {
36926
37484
  "accessibilityLabel": "Choose a day",
36927
- "hiddenPath": "$service:himiBookingTime.noWindowSlots"
37485
+ "hiddenPath": "$service:himiBookingTime.hideDayPicker"
36928
37486
  }
36929
37487
  },
36930
37488
  {
@@ -36940,7 +37498,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36940
37498
  }
36941
37499
  },
36942
37500
  "modifiers": {
36943
- "hiddenPath": "$service:himiBookingTime.noWindowSlots"
37501
+ "hiddenPath": "$service:himiBookingTime.hideDayPicker"
36944
37502
  }
36945
37503
  },
36946
37504
  {
@@ -37036,6 +37594,38 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37036
37594
  "collapseWhenEmpty": true
37037
37595
  }
37038
37596
  }
37597
+ },
37598
+ {
37599
+ "id": "",
37600
+ "body": {
37601
+ "package": "himalaya",
37602
+ "type": "Text",
37603
+ "props": {
37604
+ "text": "$item.badge",
37605
+ "style": "caption",
37606
+ "color": "warning",
37607
+ "collapseWhenEmpty": true
37608
+ }
37609
+ },
37610
+ "modifiers": {
37611
+ "hiddenPath": "$item.badgeNeutral"
37612
+ }
37613
+ },
37614
+ {
37615
+ "id": "",
37616
+ "body": {
37617
+ "package": "himalaya",
37618
+ "type": "Text",
37619
+ "props": {
37620
+ "text": "$item.badge",
37621
+ "style": "caption",
37622
+ "color": "textSecondary",
37623
+ "collapseWhenEmpty": true
37624
+ }
37625
+ },
37626
+ "modifiers": {
37627
+ "hiddenPath": "$item.badgeWarning"
37628
+ }
37039
37629
  }
37040
37630
  ]
37041
37631
  }
@@ -37076,7 +37666,150 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37076
37666
  }
37077
37667
  },
37078
37668
  "pressFeedback": "scale",
37079
- "haptic": "light"
37669
+ "haptic": "light",
37670
+ "hiddenPath": "$item.notSelectable"
37671
+ }
37672
+ },
37673
+ {
37674
+ "id": "",
37675
+ "body": {
37676
+ "package": "himalaya",
37677
+ "type": "HStack",
37678
+ "props": {
37679
+ "spacing": 12,
37680
+ "children": [
37681
+ {
37682
+ "id": "",
37683
+ "body": {
37684
+ "package": "himalaya",
37685
+ "type": "Icon",
37686
+ "props": {
37687
+ "name": "checkmark",
37688
+ "size": 14,
37689
+ "tint": "accentPrimary",
37690
+ "contentDescription": "Selected"
37691
+ }
37692
+ },
37693
+ "modifiers": {
37694
+ "hiddenPath": "$item.notSelected"
37695
+ }
37696
+ },
37697
+ {
37698
+ "id": "",
37699
+ "body": {
37700
+ "package": "himalaya",
37701
+ "type": "Icon",
37702
+ "props": {
37703
+ "name": "circle",
37704
+ "size": 14,
37705
+ "tint": "textTertiary"
37706
+ }
37707
+ },
37708
+ "modifiers": {
37709
+ "accessibilityRole": "decorative",
37710
+ "hiddenPath": "$item.selected"
37711
+ }
37712
+ },
37713
+ {
37714
+ "id": "",
37715
+ "body": {
37716
+ "package": "himalaya",
37717
+ "type": "VStack",
37718
+ "props": {
37719
+ "spacing": 4,
37720
+ "alignment": "leading",
37721
+ "children": [
37722
+ {
37723
+ "id": "",
37724
+ "body": {
37725
+ "package": "himalaya",
37726
+ "type": "Text",
37727
+ "props": {
37728
+ "text": "$item.title",
37729
+ "style": "bodyEmphasis",
37730
+ "maxLines": 1
37731
+ }
37732
+ }
37733
+ },
37734
+ {
37735
+ "id": "",
37736
+ "body": {
37737
+ "package": "himalaya",
37738
+ "type": "Text",
37739
+ "props": {
37740
+ "text": "$item.subtitle",
37741
+ "style": "footnote",
37742
+ "color": "textSecondary",
37743
+ "maxLines": 1,
37744
+ "collapseWhenEmpty": true
37745
+ }
37746
+ }
37747
+ },
37748
+ {
37749
+ "id": "",
37750
+ "body": {
37751
+ "package": "himalaya",
37752
+ "type": "Text",
37753
+ "props": {
37754
+ "text": "$item.badge",
37755
+ "style": "caption",
37756
+ "color": "warning",
37757
+ "collapseWhenEmpty": true
37758
+ }
37759
+ },
37760
+ "modifiers": {
37761
+ "hiddenPath": "$item.badgeNeutral"
37762
+ }
37763
+ },
37764
+ {
37765
+ "id": "",
37766
+ "body": {
37767
+ "package": "himalaya",
37768
+ "type": "Text",
37769
+ "props": {
37770
+ "text": "$item.badge",
37771
+ "style": "caption",
37772
+ "color": "textSecondary",
37773
+ "collapseWhenEmpty": true
37774
+ }
37775
+ },
37776
+ "modifiers": {
37777
+ "hiddenPath": "$item.badgeWarning"
37778
+ }
37779
+ }
37780
+ ]
37781
+ }
37782
+ }
37783
+ },
37784
+ {
37785
+ "id": "",
37786
+ "body": {
37787
+ "package": "himalaya",
37788
+ "type": "Spacer",
37789
+ "props": {}
37790
+ }
37791
+ }
37792
+ ]
37793
+ }
37794
+ },
37795
+ "modifiers": {
37796
+ "background": {
37797
+ "token": "surfaceElevated"
37798
+ },
37799
+ "border": {
37800
+ "width": 1,
37801
+ "color": {
37802
+ "token": "border"
37803
+ }
37804
+ },
37805
+ "cornerRadius": 8,
37806
+ "padding": {
37807
+ "leading": 12,
37808
+ "trailing": 12,
37809
+ "top": 12,
37810
+ "bottom": 12
37811
+ },
37812
+ "hiddenPath": "$item.selectable"
37080
37813
  }
37081
37814
  }
37082
37815
  ]
@@ -37087,7 +37820,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37087
37820
  }
37088
37821
  },
37089
37822
  "modifiers": {
37090
- "hiddenPath": "$service:himiBookingTime.noDaySlots"
37823
+ "hiddenPath": "$service:himiBookingTime.hideDaySlots"
37091
37824
  }
37092
37825
  },
37093
37826
  {
@@ -37103,7 +37836,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37103
37836
  }
37104
37837
  },
37105
37838
  "modifiers": {
37106
- "hiddenPath": "$service:himiBookingTime.hasDaySlots"
37839
+ "hiddenPath": "$service:himiBookingTime.hideDayEmpty"
37107
37840
  }
37108
37841
  },
37109
37842
  {
@@ -37677,7 +38410,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37677
38410
  "cornerRadius": 8,
37678
38411
  "pressFeedback": "scale",
37679
38412
  "haptic": "medium",
37680
- "hiddenPath": "$service:himiBookingTime.hideSignIn"
38413
+ "hiddenPath": "$service:himiBookingTime.hideTimeSignIn"
38414
+ }
38415
+ },
38416
+ {
38417
+ "id": "himi_time.book_course_sign_in",
38418
+ "body": {
38419
+ "package": "himalaya",
38420
+ "type": "Button",
38421
+ "props": {
38422
+ "title": "Book This Course",
38423
+ "style": "primary",
38424
+ "fullWidth": true,
38425
+ "action": {
38426
+ "actionId": "himi.open",
38427
+ "params": {
38428
+ "screenId": "himi_sign_in",
38429
+ "mode": "signin",
38430
+ "intent": "book"
38431
+ }
38432
+ }
38433
+ }
38434
+ },
38435
+ "modifiers": {
38436
+ "cornerRadius": 8,
38437
+ "pressFeedback": "scale",
38438
+ "haptic": "medium",
38439
+ "hiddenPath": "$service:himiBookingTime.hideCourseSignIn"
38440
+ }
38441
+ },
38442
+ {
38443
+ "id": "himi_time.join_waitlist_sign_in",
38444
+ "body": {
38445
+ "package": "himalaya",
38446
+ "type": "Button",
38447
+ "props": {
38448
+ "title": "Join Waitlist",
38449
+ "style": "primary",
38450
+ "fullWidth": true,
38451
+ "action": {
38452
+ "actionId": "himi.open",
38453
+ "params": {
38454
+ "screenId": "himi_sign_in",
38455
+ "mode": "signin",
38456
+ "intent": "book"
38457
+ }
38458
+ }
38459
+ }
38460
+ },
38461
+ "modifiers": {
38462
+ "cornerRadius": 8,
38463
+ "pressFeedback": "scale",
38464
+ "haptic": "medium",
38465
+ "hiddenPath": "$service:himiBookingTime.hideWaitlistSignIn"
37681
38466
  }
37682
38467
  },
37683
38468
  {
@@ -37698,7 +38483,49 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37698
38483
  "cornerRadius": 8,
37699
38484
  "pressFeedback": "scale",
37700
38485
  "haptic": "medium",
37701
- "hiddenPath": "$service:himiBookingTime.cannotBook"
38486
+ "hiddenPath": "$service:himiBookingTime.hideTimeBook"
38487
+ }
38488
+ },
38489
+ {
38490
+ "id": "himi_time.book_course",
38491
+ "body": {
38492
+ "package": "himalaya",
38493
+ "type": "Button",
38494
+ "props": {
38495
+ "title": "Book This Course",
38496
+ "style": "primary",
38497
+ "fullWidth": true,
38498
+ "action": {
38499
+ "actionId": "tier5.himiBookingTime.bookSelected"
38500
+ }
38501
+ }
38502
+ },
38503
+ "modifiers": {
38504
+ "cornerRadius": 8,
38505
+ "pressFeedback": "scale",
38506
+ "haptic": "medium",
38507
+ "hiddenPath": "$service:himiBookingTime.hideCourseBook"
38508
+ }
38509
+ },
38510
+ {
38511
+ "id": "himi_time.join_waitlist",
38512
+ "body": {
38513
+ "package": "himalaya",
38514
+ "type": "Button",
38515
+ "props": {
38516
+ "title": "Join Waitlist",
38517
+ "style": "primary",
38518
+ "fullWidth": true,
38519
+ "action": {
38520
+ "actionId": "tier5.himiBookingTime.bookSelected"
38521
+ }
38522
+ }
38523
+ },
38524
+ "modifiers": {
38525
+ "cornerRadius": 8,
38526
+ "pressFeedback": "scale",
38527
+ "haptic": "medium",
38528
+ "hiddenPath": "$service:himiBookingTime.hideWaitlistBook"
37702
38529
  }
37703
38530
  },
37704
38531
  {