@wix/himalaya-cli 0.1493.0 → 0.1494.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 (39) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +52 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/index.d.ts +180 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +4 -2
  5. package/dist/cli.mjs +30 -29
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/qa-builds.md +2 -2
  8. package/guides/sdk-reference.json +256 -11
  9. package/package.json +2 -2
  10. package/templates/beauty-salon/dev/index.ts +1624 -270
  11. package/templates/beauty-salon/tier5-src/_shared/wix-service-price.ts +18 -0
  12. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +514 -117
  13. package/templates/beauty-salon/tokens.json +6 -0
  14. package/templates/branded-lite/dev/index.ts +1621 -260
  15. package/templates/branded-lite/tier5-src/_shared/wix-service-price.ts +18 -0
  16. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +514 -117
  17. package/templates/branded-lite/tokens.json +1 -0
  18. package/templates/community-club/tier5-src/_shared/wix-service-price.ts +18 -0
  19. package/templates/community-club/tokens.json +6 -0
  20. package/templates/events-meetups/tier5-src/_shared/wix-service-price.ts +18 -0
  21. package/templates/events-meetups/tokens.json +6 -0
  22. package/templates/gym-fitness/dev/index.ts +1623 -269
  23. package/templates/gym-fitness/tier5-src/_shared/wix-service-price.ts +18 -0
  24. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +514 -117
  25. package/templates/gym-fitness/tokens.json +6 -0
  26. package/templates/nonprofit-cause/tier5-src/_shared/wix-service-price.ts +18 -0
  27. package/templates/nonprofit-cause/tokens.json +6 -0
  28. package/templates/podcast-creator/tier5-src/_shared/wix-service-price.ts +18 -0
  29. package/templates/podcast-creator/tokens.json +6 -0
  30. package/templates/portfolio-creative/tier5-src/_shared/wix-service-price.ts +18 -0
  31. package/templates/portfolio-creative/tokens.json +6 -0
  32. package/templates/restaurant/tier5-src/_shared/wix-service-price.ts +18 -0
  33. package/templates/restaurant/tokens.json +6 -0
  34. package/templates/retail-store/tier5-src/_shared/wix-service-price.ts +18 -0
  35. package/templates/retail-store/tokens.json +6 -0
  36. package/templates/yoga-studio/dev/index.ts +1617 -263
  37. package/templates/yoga-studio/tier5-src/_shared/wix-service-price.ts +18 -0
  38. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +514 -117
  39. package/templates/yoga-studio/tokens.json +6 -0
@@ -37397,7 +37397,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37397
37397
  { pattern: "^himi_service(?:[_/](.+))?$", display: "himi_service[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_service_"}, template: {
37398
37398
  "screenId": "himi_service___HIMI_ID__",
37399
37399
  "renderer": "sdui_intent",
37400
- "title": "Service",
37400
+ "title": "",
37401
37401
  "schemaVersion": 1,
37402
37402
  "cacheControl": {
37403
37403
  "maxAge": 0,
@@ -37409,39 +37409,62 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37409
37409
  "package": "himalaya",
37410
37410
  "type": "VStack",
37411
37411
  "props": {
37412
- "spacing": 16,
37412
+ "spacing": 0,
37413
37413
  "alignment": "leading",
37414
37414
  "children": [
37415
37415
  {
37416
- "id": "himi_service.retry.block",
37416
+ "id": "",
37417
37417
  "body": {
37418
37418
  "package": "himalaya",
37419
37419
  "type": "VStack",
37420
37420
  "props": {
37421
- "spacing": 12,
37422
- "alignment": "leading",
37421
+ "spacing": 0,
37423
37422
  "children": [
37424
37423
  {
37425
- "id": "",
37424
+ "id": "himi_service.retry.block",
37426
37425
  "body": {
37427
37426
  "package": "himalaya",
37428
- "type": "HStack",
37427
+ "type": "VStack",
37429
37428
  "props": {
37430
- "spacing": 10,
37429
+ "spacing": 12,
37430
+ "alignment": "leading",
37431
37431
  "children": [
37432
37432
  {
37433
37433
  "id": "",
37434
37434
  "body": {
37435
37435
  "package": "himalaya",
37436
- "type": "Icon",
37436
+ "type": "HStack",
37437
37437
  "props": {
37438
- "name": "warning",
37439
- "size": 18,
37440
- "tint": "accentPrimary"
37438
+ "spacing": 10,
37439
+ "children": [
37440
+ {
37441
+ "id": "",
37442
+ "body": {
37443
+ "package": "himalaya",
37444
+ "type": "Icon",
37445
+ "props": {
37446
+ "name": "warning",
37447
+ "size": 18,
37448
+ "tint": "accentPrimary"
37449
+ }
37450
+ },
37451
+ "modifiers": {
37452
+ "accessibilityRole": "decorative"
37453
+ }
37454
+ },
37455
+ {
37456
+ "id": "",
37457
+ "body": {
37458
+ "package": "himalaya",
37459
+ "type": "Text",
37460
+ "props": {
37461
+ "text": "Something did not load.",
37462
+ "style": "bodyEmphasis"
37463
+ }
37464
+ }
37465
+ }
37466
+ ]
37441
37467
  }
37442
- },
37443
- "modifiers": {
37444
- "accessibilityRole": "decorative"
37445
37468
  }
37446
37469
  },
37447
37470
  {
@@ -37450,64 +37473,60 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37450
37473
  "package": "himalaya",
37451
37474
  "type": "Text",
37452
37475
  "props": {
37453
- "text": "Something did not load.",
37454
- "style": "bodyEmphasis"
37476
+ "text": "Try again when the connection settles.",
37477
+ "style": "body",
37478
+ "color": "textSecondary"
37479
+ }
37480
+ }
37481
+ },
37482
+ {
37483
+ "id": "himi_service.retry",
37484
+ "body": {
37485
+ "package": "himalaya",
37486
+ "type": "Button",
37487
+ "props": {
37488
+ "title": "Try again",
37489
+ "style": "secondary",
37490
+ "action": {
37491
+ "actionId": "tier5.himiBookingService.load"
37492
+ }
37455
37493
  }
37456
37494
  }
37457
37495
  }
37458
37496
  ]
37459
37497
  }
37460
- }
37461
- },
37462
- {
37463
- "id": "",
37464
- "body": {
37465
- "package": "himalaya",
37466
- "type": "Text",
37467
- "props": {
37468
- "text": "Try again when the connection settles.",
37469
- "style": "body",
37470
- "color": "textSecondary"
37471
- }
37472
- }
37473
- },
37474
- {
37475
- "id": "himi_service.retry",
37476
- "body": {
37477
- "package": "himalaya",
37478
- "type": "Button",
37479
- "props": {
37480
- "title": "Try again",
37481
- "style": "secondary",
37482
- "action": {
37483
- "actionId": "tier5.himiBookingService.load"
37498
+ },
37499
+ "modifiers": {
37500
+ "background": {
37501
+ "token": "surfaceElevated"
37502
+ },
37503
+ "border": {
37504
+ "width": 1,
37505
+ "color": {
37506
+ "token": "border"
37484
37507
  }
37485
- }
37508
+ },
37509
+ "cornerRadius": 8,
37510
+ "padding": {
37511
+ "leading": 14,
37512
+ "trailing": 14,
37513
+ "top": 14,
37514
+ "bottom": 14
37515
+ },
37516
+ "transition": {
37517
+ "enter": "fade",
37518
+ "exit": "fade"
37519
+ },
37520
+ "hiddenPath": "$service:himiBookingService.notErrored"
37486
37521
  }
37487
37522
  }
37488
37523
  ]
37489
37524
  }
37490
37525
  },
37491
37526
  "modifiers": {
37492
- "background": {
37493
- "token": "surfaceElevated"
37494
- },
37495
- "border": {
37496
- "width": 1,
37497
- "color": {
37498
- "token": "border"
37499
- }
37500
- },
37501
- "cornerRadius": 8,
37527
+ "fillMaxWidth": true,
37502
37528
  "padding": {
37503
- "leading": 14,
37504
- "trailing": 14,
37505
- "top": 14,
37506
- "bottom": 14
37507
- },
37508
- "transition": {
37509
- "enter": "fade",
37510
- "exit": "fade"
37529
+ "top": 20
37511
37530
  },
37512
37531
  "hiddenPath": "$service:himiBookingService.notErrored"
37513
37532
  }
@@ -37518,7 +37537,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37518
37537
  "package": "himalaya",
37519
37538
  "type": "VStack",
37520
37539
  "props": {
37521
- "spacing": 12,
37540
+ "spacing": 24,
37541
+ "alignment": "leading",
37522
37542
  "children": [
37523
37543
  {
37524
37544
  "id": "himi_service.skeleton_media",
@@ -37526,105 +37546,477 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37526
37546
  "package": "himalaya",
37527
37547
  "type": "Skeleton",
37528
37548
  "props": {
37529
- "height": 180,
37530
- "cornerRadius": 8
37549
+ "height": 219,
37550
+ "cornerRadius": 16
37531
37551
  }
37532
37552
  },
37533
37553
  "modifiers": {
37534
- "height": 180,
37554
+ "height": 219,
37555
+ "fillMaxWidth": true,
37535
37556
  "background": {
37536
37557
  "token": "surfaceSecondary"
37537
37558
  },
37538
- "cornerRadius": 8,
37559
+ "cornerRadius": 16,
37539
37560
  "accessibilityRole": "decorative"
37540
37561
  }
37541
37562
  },
37542
37563
  {
37543
- "id": "himi_service.skeleton_title",
37564
+ "id": "",
37544
37565
  "body": {
37545
37566
  "package": "himalaya",
37546
- "type": "Skeleton",
37567
+ "type": "VStack",
37547
37568
  "props": {
37548
- "height": 24,
37549
- "cornerRadius": 8
37569
+ "spacing": 8,
37570
+ "alignment": "leading",
37571
+ "children": [
37572
+ {
37573
+ "id": "himi_service.skeleton_eyebrow",
37574
+ "body": {
37575
+ "package": "himalaya",
37576
+ "type": "Skeleton",
37577
+ "props": {
37578
+ "height": 14,
37579
+ "cornerRadius": 8
37580
+ }
37581
+ },
37582
+ "modifiers": {
37583
+ "height": 14,
37584
+ "width": 90,
37585
+ "background": {
37586
+ "token": "surfaceSecondary"
37587
+ },
37588
+ "cornerRadius": 8,
37589
+ "accessibilityRole": "decorative"
37590
+ }
37591
+ },
37592
+ {
37593
+ "id": "himi_service.skeleton_title",
37594
+ "body": {
37595
+ "package": "himalaya",
37596
+ "type": "Skeleton",
37597
+ "props": {
37598
+ "height": 30,
37599
+ "cornerRadius": 8
37600
+ }
37601
+ },
37602
+ "modifiers": {
37603
+ "height": 30,
37604
+ "width": 220,
37605
+ "background": {
37606
+ "token": "surfaceSecondary"
37607
+ },
37608
+ "cornerRadius": 8,
37609
+ "accessibilityRole": "decorative"
37610
+ }
37611
+ },
37612
+ {
37613
+ "id": "himi_service.skeleton_tagline",
37614
+ "body": {
37615
+ "package": "himalaya",
37616
+ "type": "Skeleton",
37617
+ "props": {
37618
+ "height": 16,
37619
+ "cornerRadius": 8
37620
+ }
37621
+ },
37622
+ "modifiers": {
37623
+ "height": 16,
37624
+ "width": 280,
37625
+ "background": {
37626
+ "token": "surfaceSecondary"
37627
+ },
37628
+ "cornerRadius": 8,
37629
+ "accessibilityRole": "decorative"
37630
+ }
37631
+ },
37632
+ {
37633
+ "id": "himi_service.skeleton_price",
37634
+ "body": {
37635
+ "package": "himalaya",
37636
+ "type": "Skeleton",
37637
+ "props": {
37638
+ "height": 20,
37639
+ "cornerRadius": 8
37640
+ }
37641
+ },
37642
+ "modifiers": {
37643
+ "height": 20,
37644
+ "width": 70,
37645
+ "background": {
37646
+ "token": "surfaceSecondary"
37647
+ },
37648
+ "cornerRadius": 8,
37649
+ "accessibilityRole": "decorative",
37650
+ "padding": {
37651
+ "top": 8
37652
+ }
37653
+ }
37654
+ }
37655
+ ]
37550
37656
  }
37551
- },
37552
- "modifiers": {
37553
- "height": 24,
37554
- "background": {
37555
- "token": "surfaceSecondary"
37556
- },
37557
- "cornerRadius": 8,
37558
- "accessibilityRole": "decorative"
37559
37657
  }
37560
37658
  },
37561
37659
  {
37562
- "id": "himi_service.skeleton_body",
37660
+ "id": "",
37563
37661
  "body": {
37564
37662
  "package": "himalaya",
37565
- "type": "Skeleton",
37566
- "props": {
37567
- "height": 80,
37568
- "cornerRadius": 8
37569
- }
37570
- },
37571
- "modifiers": {
37572
- "height": 80,
37573
- "background": {
37574
- "token": "surfaceSecondary"
37575
- },
37576
- "cornerRadius": 8,
37577
- "accessibilityRole": "decorative"
37663
+ "type": "Divider",
37664
+ "props": {}
37578
37665
  }
37579
- }
37580
- ]
37581
- }
37582
- },
37583
- "modifiers": {
37584
- "hiddenPath": "$service:himiBookingService.notLoading"
37585
- }
37586
- },
37587
- {
37588
- "id": "",
37589
- "body": {
37590
- "package": "himalaya",
37591
- "type": "VStack",
37592
- "props": {
37593
- "spacing": 16,
37594
- "alignment": "leading",
37595
- "children": [
37666
+ },
37596
37667
  {
37597
- "id": "himi_service.summary",
37668
+ "id": "",
37598
37669
  "body": {
37599
37670
  "package": "himalaya",
37600
37671
  "type": "VStack",
37601
37672
  "props": {
37602
- "spacing": 12,
37673
+ "spacing": 16,
37603
37674
  "alignment": "leading",
37604
37675
  "children": [
37605
37676
  {
37606
37677
  "id": "",
37607
37678
  "body": {
37608
37679
  "package": "himalaya",
37609
- "type": "Image",
37680
+ "type": "HStack",
37610
37681
  "props": {
37611
- "url": "$service:himiBookingService.image",
37612
- "fillWidth": true,
37613
- "height": 210,
37614
- "contentMode": "fill",
37615
- "contentDescription": "$service:himiBookingService.name"
37616
- }
37617
- },
37618
- "modifiers": {
37619
- "cornerRadius": 8,
37620
- "fillMaxWidth": true,
37621
- "hiddenPath": "$service:himiBookingService.noImage"
37622
- }
37623
- },
37624
- {
37625
- "id": "",
37626
- "body": {
37627
- "package": "himalaya",
37682
+ "spacing": 12,
37683
+ "alignment": "center",
37684
+ "children": [
37685
+ {
37686
+ "id": "himi_service.skeleton_fact_icon_1",
37687
+ "body": {
37688
+ "package": "himalaya",
37689
+ "type": "Skeleton",
37690
+ "props": {
37691
+ "height": 20,
37692
+ "cornerRadius": 10
37693
+ }
37694
+ },
37695
+ "modifiers": {
37696
+ "height": 20,
37697
+ "width": 20,
37698
+ "background": {
37699
+ "token": "surfaceSecondary"
37700
+ },
37701
+ "cornerRadius": 10,
37702
+ "accessibilityRole": "decorative"
37703
+ }
37704
+ },
37705
+ {
37706
+ "id": "himi_service.skeleton_fact_1",
37707
+ "body": {
37708
+ "package": "himalaya",
37709
+ "type": "Skeleton",
37710
+ "props": {
37711
+ "height": 16,
37712
+ "cornerRadius": 8
37713
+ }
37714
+ },
37715
+ "modifiers": {
37716
+ "height": 16,
37717
+ "width": 160,
37718
+ "background": {
37719
+ "token": "surfaceSecondary"
37720
+ },
37721
+ "cornerRadius": 8,
37722
+ "accessibilityRole": "decorative"
37723
+ }
37724
+ }
37725
+ ]
37726
+ }
37727
+ }
37728
+ },
37729
+ {
37730
+ "id": "",
37731
+ "body": {
37732
+ "package": "himalaya",
37733
+ "type": "HStack",
37734
+ "props": {
37735
+ "spacing": 12,
37736
+ "alignment": "center",
37737
+ "children": [
37738
+ {
37739
+ "id": "himi_service.skeleton_fact_icon_2",
37740
+ "body": {
37741
+ "package": "himalaya",
37742
+ "type": "Skeleton",
37743
+ "props": {
37744
+ "height": 20,
37745
+ "cornerRadius": 10
37746
+ }
37747
+ },
37748
+ "modifiers": {
37749
+ "height": 20,
37750
+ "width": 20,
37751
+ "background": {
37752
+ "token": "surfaceSecondary"
37753
+ },
37754
+ "cornerRadius": 10,
37755
+ "accessibilityRole": "decorative"
37756
+ }
37757
+ },
37758
+ {
37759
+ "id": "himi_service.skeleton_fact_2",
37760
+ "body": {
37761
+ "package": "himalaya",
37762
+ "type": "Skeleton",
37763
+ "props": {
37764
+ "height": 16,
37765
+ "cornerRadius": 8
37766
+ }
37767
+ },
37768
+ "modifiers": {
37769
+ "height": 16,
37770
+ "width": 160,
37771
+ "background": {
37772
+ "token": "surfaceSecondary"
37773
+ },
37774
+ "cornerRadius": 8,
37775
+ "accessibilityRole": "decorative"
37776
+ }
37777
+ }
37778
+ ]
37779
+ }
37780
+ }
37781
+ },
37782
+ {
37783
+ "id": "",
37784
+ "body": {
37785
+ "package": "himalaya",
37786
+ "type": "HStack",
37787
+ "props": {
37788
+ "spacing": 12,
37789
+ "alignment": "center",
37790
+ "children": [
37791
+ {
37792
+ "id": "himi_service.skeleton_fact_icon_3",
37793
+ "body": {
37794
+ "package": "himalaya",
37795
+ "type": "Skeleton",
37796
+ "props": {
37797
+ "height": 20,
37798
+ "cornerRadius": 10
37799
+ }
37800
+ },
37801
+ "modifiers": {
37802
+ "height": 20,
37803
+ "width": 20,
37804
+ "background": {
37805
+ "token": "surfaceSecondary"
37806
+ },
37807
+ "cornerRadius": 10,
37808
+ "accessibilityRole": "decorative"
37809
+ }
37810
+ },
37811
+ {
37812
+ "id": "himi_service.skeleton_fact_3",
37813
+ "body": {
37814
+ "package": "himalaya",
37815
+ "type": "Skeleton",
37816
+ "props": {
37817
+ "height": 16,
37818
+ "cornerRadius": 8
37819
+ }
37820
+ },
37821
+ "modifiers": {
37822
+ "height": 16,
37823
+ "width": 160,
37824
+ "background": {
37825
+ "token": "surfaceSecondary"
37826
+ },
37827
+ "cornerRadius": 8,
37828
+ "accessibilityRole": "decorative"
37829
+ }
37830
+ }
37831
+ ]
37832
+ }
37833
+ }
37834
+ }
37835
+ ]
37836
+ }
37837
+ }
37838
+ },
37839
+ {
37840
+ "id": "",
37841
+ "body": {
37842
+ "package": "himalaya",
37843
+ "type": "VStack",
37844
+ "props": {
37845
+ "spacing": 8,
37846
+ "alignment": "leading",
37847
+ "children": [
37848
+ {
37849
+ "id": "himi_service.skeleton_section_title",
37850
+ "body": {
37851
+ "package": "himalaya",
37852
+ "type": "Skeleton",
37853
+ "props": {
37854
+ "height": 22,
37855
+ "cornerRadius": 8
37856
+ }
37857
+ },
37858
+ "modifiers": {
37859
+ "height": 22,
37860
+ "width": 120,
37861
+ "background": {
37862
+ "token": "surfaceSecondary"
37863
+ },
37864
+ "cornerRadius": 8,
37865
+ "accessibilityRole": "decorative"
37866
+ }
37867
+ },
37868
+ {
37869
+ "id": "himi_service.skeleton_body_1",
37870
+ "body": {
37871
+ "package": "himalaya",
37872
+ "type": "Skeleton",
37873
+ "props": {
37874
+ "height": 16,
37875
+ "cornerRadius": 8
37876
+ }
37877
+ },
37878
+ "modifiers": {
37879
+ "height": 16,
37880
+ "fillMaxWidth": true,
37881
+ "background": {
37882
+ "token": "surfaceSecondary"
37883
+ },
37884
+ "cornerRadius": 8,
37885
+ "accessibilityRole": "decorative"
37886
+ }
37887
+ },
37888
+ {
37889
+ "id": "himi_service.skeleton_body_2",
37890
+ "body": {
37891
+ "package": "himalaya",
37892
+ "type": "Skeleton",
37893
+ "props": {
37894
+ "height": 16,
37895
+ "cornerRadius": 8
37896
+ }
37897
+ },
37898
+ "modifiers": {
37899
+ "height": 16,
37900
+ "fillMaxWidth": true,
37901
+ "background": {
37902
+ "token": "surfaceSecondary"
37903
+ },
37904
+ "cornerRadius": 8,
37905
+ "accessibilityRole": "decorative"
37906
+ }
37907
+ },
37908
+ {
37909
+ "id": "himi_service.skeleton_body_3",
37910
+ "body": {
37911
+ "package": "himalaya",
37912
+ "type": "Skeleton",
37913
+ "props": {
37914
+ "height": 16,
37915
+ "cornerRadius": 8
37916
+ }
37917
+ },
37918
+ "modifiers": {
37919
+ "height": 16,
37920
+ "width": 200,
37921
+ "background": {
37922
+ "token": "surfaceSecondary"
37923
+ },
37924
+ "cornerRadius": 8,
37925
+ "accessibilityRole": "decorative"
37926
+ }
37927
+ }
37928
+ ]
37929
+ }
37930
+ }
37931
+ }
37932
+ ]
37933
+ }
37934
+ },
37935
+ "modifiers": {
37936
+ "fillMaxWidth": true,
37937
+ "padding": {
37938
+ "top": 20
37939
+ },
37940
+ "hiddenPath": "$service:himiBookingService.notLoading"
37941
+ }
37942
+ },
37943
+ {
37944
+ "id": "himi_service.content",
37945
+ "body": {
37946
+ "package": "himalaya",
37947
+ "type": "VStack",
37948
+ "props": {
37949
+ "spacing": 24,
37950
+ "alignment": "leading",
37951
+ "children": [
37952
+ {
37953
+ "id": "himi_service.media",
37954
+ "body": {
37955
+ "package": "himalaya",
37956
+ "type": "VStack",
37957
+ "props": {
37958
+ "spacing": 0,
37959
+ "alignment": "leading",
37960
+ "children": [
37961
+ {
37962
+ "id": "himi_service.gallery",
37963
+ "body": {
37964
+ "package": "himalaya",
37965
+ "type": "Carousel",
37966
+ "props": {
37967
+ "itemsPath": "$service:himiBookingService.images",
37968
+ "items": [
37969
+ {
37970
+ "id": "",
37971
+ "body": {
37972
+ "package": "himalaya",
37973
+ "type": "Image",
37974
+ "props": {
37975
+ "url": "$item.url",
37976
+ "fillWidth": true,
37977
+ "height": 219,
37978
+ "contentMode": "fill",
37979
+ "contentDescription": "$item.alt"
37980
+ }
37981
+ },
37982
+ "modifiers": {
37983
+ "height": 219,
37984
+ "cornerRadius": 16,
37985
+ "fillMaxWidth": true
37986
+ }
37987
+ }
37988
+ ]
37989
+ }
37990
+ },
37991
+ "modifiers": {
37992
+ "fillMaxWidth": true,
37993
+ "hiddenPath": "$service:himiBookingService.noGallery"
37994
+ }
37995
+ },
37996
+ {
37997
+ "id": "himi_service.image",
37998
+ "body": {
37999
+ "package": "himalaya",
38000
+ "type": "Image",
38001
+ "props": {
38002
+ "url": "$service:himiBookingService.image",
38003
+ "fillWidth": true,
38004
+ "height": 219,
38005
+ "contentMode": "fill",
38006
+ "contentDescription": "$service:himiBookingService.name"
38007
+ }
38008
+ },
38009
+ "modifiers": {
38010
+ "height": 219,
38011
+ "cornerRadius": 16,
38012
+ "fillMaxWidth": true,
38013
+ "hiddenPath": "$service:himiBookingService.noOneImage"
38014
+ }
38015
+ },
38016
+ {
38017
+ "id": "himi_service.no_image",
38018
+ "body": {
38019
+ "package": "himalaya",
37628
38020
  "type": "ZStack",
37629
38021
  "props": {
37630
38022
  "alignment": "center",
@@ -37633,170 +38025,1026 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37633
38025
  "id": "",
37634
38026
  "body": {
37635
38027
  "package": "himalaya",
37636
- "type": "Text",
38028
+ "type": "Icon",
38029
+ "props": {
38030
+ "name": "image",
38031
+ "size": 44,
38032
+ "tint": "accentPrimary"
38033
+ }
38034
+ },
38035
+ "modifiers": {
38036
+ "accessibilityRole": "decorative"
38037
+ }
38038
+ }
38039
+ ]
38040
+ }
38041
+ },
38042
+ "modifiers": {
38043
+ "height": 219,
38044
+ "cornerRadius": 16,
38045
+ "fillMaxWidth": true,
38046
+ "background": {
38047
+ "token": "surfaceSecondary"
38048
+ },
38049
+ "hiddenPath": "$service:himiBookingService.hasImage"
38050
+ }
38051
+ }
38052
+ ]
38053
+ }
38054
+ }
38055
+ },
38056
+ {
38057
+ "id": "himi_service.header",
38058
+ "body": {
38059
+ "package": "himalaya",
38060
+ "type": "VStack",
38061
+ "props": {
38062
+ "spacing": 8,
38063
+ "alignment": "leading",
38064
+ "children": [
38065
+ {
38066
+ "id": "himi_service.category",
38067
+ "body": {
38068
+ "package": "himalaya",
38069
+ "type": "Text",
38070
+ "props": {
38071
+ "text": "$service:himiBookingService.category",
38072
+ "style": "footnote",
38073
+ "color": "textSecondary",
38074
+ "maxLines": 1
38075
+ }
38076
+ },
38077
+ "modifiers": {
38078
+ "hiddenPath": "$service:himiBookingService.noCategory"
38079
+ }
38080
+ },
38081
+ {
38082
+ "id": "himi_service.title",
38083
+ "body": {
38084
+ "package": "himalaya",
38085
+ "type": "Text",
38086
+ "props": {
38087
+ "text": "$service:himiBookingService.name",
38088
+ "style": "pageTitle",
38089
+ "maxLines": 3,
38090
+ "collapseWhenEmpty": true
38091
+ }
38092
+ }
38093
+ },
38094
+ {
38095
+ "id": "himi_service.tagline",
38096
+ "body": {
38097
+ "package": "himalaya",
38098
+ "type": "Text",
38099
+ "props": {
38100
+ "text": "$service:himiBookingService.tagline",
38101
+ "style": "body",
38102
+ "color": "textSecondary",
38103
+ "maxLines": 3,
38104
+ "collapseWhenEmpty": true
38105
+ }
38106
+ }
38107
+ },
38108
+ {
38109
+ "id": "himi_service.price",
38110
+ "body": {
38111
+ "package": "himalaya",
38112
+ "type": "HStack",
38113
+ "props": {
38114
+ "spacing": 6,
38115
+ "alignment": "trailing",
38116
+ "children": [
38117
+ {
38118
+ "id": "",
38119
+ "body": {
38120
+ "package": "himalaya",
38121
+ "type": "Text",
38122
+ "props": {
38123
+ "text": "$service:himiBookingService.priceText",
38124
+ "style": "title3",
38125
+ "maxLines": 1
38126
+ }
38127
+ }
38128
+ },
38129
+ {
38130
+ "id": "",
38131
+ "body": {
38132
+ "package": "himalaya",
38133
+ "type": "Text",
38134
+ "props": {
38135
+ "text": "$service:himiBookingService.priceUnit",
38136
+ "style": "footnote",
38137
+ "color": "textSecondary",
38138
+ "maxLines": 1,
38139
+ "collapseWhenEmpty": true
38140
+ }
38141
+ }
38142
+ }
38143
+ ]
38144
+ }
38145
+ },
38146
+ "modifiers": {
38147
+ "padding": {
38148
+ "top": 8
38149
+ },
38150
+ "accessibilityLabel": "$service:himiBookingService.priceA11y",
38151
+ "hiddenPath": "$service:himiBookingService.noPriceAmount"
38152
+ }
38153
+ },
38154
+ {
38155
+ "id": "himi_service.price_text",
38156
+ "body": {
38157
+ "package": "himalaya",
38158
+ "type": "Text",
38159
+ "props": {
38160
+ "text": "$service:himiBookingService.priceText",
38161
+ "style": "bodyEmphasis",
38162
+ "maxLines": 2
38163
+ }
38164
+ },
38165
+ "modifiers": {
38166
+ "padding": {
38167
+ "top": 8
38168
+ },
38169
+ "hiddenPath": "$service:himiBookingService.noPriceDescription"
38170
+ }
38171
+ }
38172
+ ]
38173
+ }
38174
+ }
38175
+ },
38176
+ {
38177
+ "id": "himi_service.facts_section",
38178
+ "body": {
38179
+ "package": "himalaya",
38180
+ "type": "VStack",
38181
+ "props": {
38182
+ "spacing": 24,
38183
+ "alignment": "leading",
38184
+ "children": [
38185
+ {
38186
+ "id": "",
38187
+ "body": {
38188
+ "package": "himalaya",
38189
+ "type": "Divider",
38190
+ "props": {}
38191
+ }
38192
+ },
38193
+ {
38194
+ "id": "himi_service.facts",
38195
+ "body": {
38196
+ "package": "himalaya",
38197
+ "type": "VStack",
38198
+ "props": {
38199
+ "spacing": 16,
38200
+ "alignment": "leading",
38201
+ "children": [
38202
+ {
38203
+ "id": "himi_service.duration",
38204
+ "body": {
38205
+ "package": "himalaya",
38206
+ "type": "HStack",
38207
+ "props": {
38208
+ "spacing": 12,
38209
+ "alignment": "center",
38210
+ "children": [
38211
+ {
38212
+ "id": "",
38213
+ "body": {
38214
+ "package": "himalaya",
38215
+ "type": "ZStack",
38216
+ "props": {
38217
+ "alignment": "center",
38218
+ "children": [
38219
+ {
38220
+ "id": "",
38221
+ "body": {
38222
+ "package": "himalaya",
38223
+ "type": "Icon",
38224
+ "props": {
38225
+ "name": "clock",
38226
+ "size": 20,
38227
+ "tint": "textSecondary"
38228
+ }
38229
+ },
38230
+ "modifiers": {
38231
+ "accessibilityRole": "decorative"
38232
+ }
38233
+ }
38234
+ ]
38235
+ }
38236
+ },
38237
+ "modifiers": {
38238
+ "width": 20,
38239
+ "height": 20
38240
+ }
38241
+ },
38242
+ {
38243
+ "id": "",
38244
+ "body": {
38245
+ "package": "himalaya",
38246
+ "type": "VStack",
38247
+ "props": {
38248
+ "spacing": 2,
38249
+ "alignment": "leading",
38250
+ "children": [
38251
+ {
38252
+ "id": "",
38253
+ "body": {
38254
+ "package": "himalaya",
38255
+ "type": "Text",
38256
+ "props": {
38257
+ "text": "$service:himiBookingService.durationText",
38258
+ "style": "body",
38259
+ "maxLines": 1
38260
+ }
38261
+ }
38262
+ }
38263
+ ]
38264
+ }
38265
+ }
38266
+ },
38267
+ {
38268
+ "id": "",
38269
+ "body": {
38270
+ "package": "himalaya",
38271
+ "type": "Spacer",
38272
+ "props": {}
38273
+ }
38274
+ }
38275
+ ]
38276
+ }
38277
+ },
38278
+ "modifiers": {
38279
+ "fillMaxWidth": true,
38280
+ "accessibilityLabel": "$service:himiBookingService.durationText",
38281
+ "hiddenPath": "$service:himiBookingService.noDuration"
38282
+ }
38283
+ },
38284
+ {
38285
+ "id": "himi_service.locations",
38286
+ "body": {
38287
+ "package": "himalaya",
38288
+ "type": "LazyList",
38289
+ "props": {
38290
+ "spacing": 16,
38291
+ "itemsPath": "$service:himiBookingService.locations",
38292
+ "items": [
38293
+ {
38294
+ "id": "",
38295
+ "body": {
38296
+ "package": "himalaya",
38297
+ "type": "VStack",
38298
+ "props": {
38299
+ "spacing": 0,
38300
+ "alignment": "leading",
38301
+ "children": [
38302
+ {
38303
+ "id": "himi_service.location",
38304
+ "body": {
38305
+ "package": "himalaya",
38306
+ "type": "HStack",
38307
+ "props": {
38308
+ "spacing": 12,
38309
+ "alignment": "center",
38310
+ "children": [
38311
+ {
38312
+ "id": "",
38313
+ "body": {
38314
+ "package": "himalaya",
38315
+ "type": "ZStack",
38316
+ "props": {
38317
+ "alignment": "center",
38318
+ "children": [
38319
+ {
38320
+ "id": "",
38321
+ "body": {
38322
+ "package": "himalaya",
38323
+ "type": "Icon",
38324
+ "props": {
38325
+ "name": "location",
38326
+ "size": 20,
38327
+ "tint": "textSecondary"
38328
+ }
38329
+ },
38330
+ "modifiers": {
38331
+ "accessibilityRole": "decorative"
38332
+ }
38333
+ }
38334
+ ]
38335
+ }
38336
+ },
38337
+ "modifiers": {
38338
+ "width": 20,
38339
+ "height": 20
38340
+ }
38341
+ },
38342
+ {
38343
+ "id": "",
38344
+ "body": {
38345
+ "package": "himalaya",
38346
+ "type": "VStack",
38347
+ "props": {
38348
+ "spacing": 2,
38349
+ "alignment": "leading",
38350
+ "children": [
38351
+ {
38352
+ "id": "",
38353
+ "body": {
38354
+ "package": "himalaya",
38355
+ "type": "Text",
38356
+ "props": {
38357
+ "text": "$item.title",
38358
+ "style": "body",
38359
+ "maxLines": 1
38360
+ }
38361
+ }
38362
+ }
38363
+ ]
38364
+ }
38365
+ }
38366
+ },
38367
+ {
38368
+ "id": "",
38369
+ "body": {
38370
+ "package": "himalaya",
38371
+ "type": "Spacer",
38372
+ "props": {}
38373
+ }
38374
+ }
38375
+ ]
38376
+ }
38377
+ },
38378
+ "modifiers": {
38379
+ "fillMaxWidth": true,
38380
+ "accessibilityLabel": "$item.a11y",
38381
+ "onTap": {
38382
+ "actionId": "tier5.himiBookingService.openDirections",
38383
+ "params": {
38384
+ "index": "$item.index"
38385
+ }
38386
+ },
38387
+ "pressFeedback": "highlight",
38388
+ "accessibilityRole": "button",
38389
+ "hiddenPath": "$item.notTappable"
38390
+ }
38391
+ },
38392
+ {
38393
+ "id": "himi_service.location_client",
38394
+ "body": {
38395
+ "package": "himalaya",
38396
+ "type": "HStack",
38397
+ "props": {
38398
+ "spacing": 12,
38399
+ "alignment": "center",
38400
+ "children": [
38401
+ {
38402
+ "id": "",
38403
+ "body": {
38404
+ "package": "himalaya",
38405
+ "type": "ZStack",
38406
+ "props": {
38407
+ "alignment": "center",
38408
+ "children": [
38409
+ {
38410
+ "id": "",
38411
+ "body": {
38412
+ "package": "himalaya",
38413
+ "type": "Icon",
38414
+ "props": {
38415
+ "name": "location",
38416
+ "size": 20,
38417
+ "tint": "textSecondary"
38418
+ }
38419
+ },
38420
+ "modifiers": {
38421
+ "accessibilityRole": "decorative"
38422
+ }
38423
+ }
38424
+ ]
38425
+ }
38426
+ },
38427
+ "modifiers": {
38428
+ "width": 20,
38429
+ "height": 20
38430
+ }
38431
+ },
38432
+ {
38433
+ "id": "",
38434
+ "body": {
38435
+ "package": "himalaya",
38436
+ "type": "VStack",
38437
+ "props": {
38438
+ "spacing": 2,
38439
+ "alignment": "leading",
38440
+ "children": [
38441
+ {
38442
+ "id": "",
38443
+ "body": {
38444
+ "package": "himalaya",
38445
+ "type": "Text",
38446
+ "props": {
38447
+ "text": "$item.title",
38448
+ "style": "body",
38449
+ "maxLines": 1
38450
+ }
38451
+ }
38452
+ }
38453
+ ]
38454
+ }
38455
+ }
38456
+ },
38457
+ {
38458
+ "id": "",
38459
+ "body": {
38460
+ "package": "himalaya",
38461
+ "type": "Spacer",
38462
+ "props": {}
38463
+ }
38464
+ }
38465
+ ]
38466
+ }
38467
+ },
38468
+ "modifiers": {
38469
+ "fillMaxWidth": true,
38470
+ "accessibilityLabel": "$item.title",
38471
+ "hiddenPath": "$item.tappable"
38472
+ }
38473
+ }
38474
+ ]
38475
+ }
38476
+ }
38477
+ }
38478
+ ]
38479
+ }
38480
+ },
38481
+ "modifiers": {
38482
+ "hiddenPath": "$service:himiBookingService.noLocations"
38483
+ }
38484
+ },
38485
+ {
38486
+ "id": "himi_service.online",
38487
+ "body": {
38488
+ "package": "himalaya",
38489
+ "type": "HStack",
38490
+ "props": {
38491
+ "spacing": 12,
38492
+ "alignment": "center",
38493
+ "children": [
38494
+ {
38495
+ "id": "",
38496
+ "body": {
38497
+ "package": "himalaya",
38498
+ "type": "ZStack",
38499
+ "props": {
38500
+ "alignment": "center",
38501
+ "children": [
38502
+ {
38503
+ "id": "",
38504
+ "body": {
38505
+ "package": "himalaya",
38506
+ "type": "Icon",
38507
+ "props": {
38508
+ "name": "globe",
38509
+ "size": 20,
38510
+ "tint": "textSecondary"
38511
+ }
38512
+ },
38513
+ "modifiers": {
38514
+ "accessibilityRole": "decorative"
38515
+ }
38516
+ }
38517
+ ]
38518
+ }
38519
+ },
38520
+ "modifiers": {
38521
+ "width": 20,
38522
+ "height": 20
38523
+ }
38524
+ },
38525
+ {
38526
+ "id": "",
38527
+ "body": {
38528
+ "package": "himalaya",
38529
+ "type": "VStack",
38530
+ "props": {
38531
+ "spacing": 2,
38532
+ "alignment": "leading",
38533
+ "children": [
38534
+ {
38535
+ "id": "",
38536
+ "body": {
38537
+ "package": "himalaya",
38538
+ "type": "Text",
38539
+ "props": {
38540
+ "text": "Online session",
38541
+ "style": "body",
38542
+ "maxLines": 1
38543
+ }
38544
+ }
38545
+ }
38546
+ ]
38547
+ }
38548
+ }
38549
+ },
38550
+ {
38551
+ "id": "",
38552
+ "body": {
38553
+ "package": "himalaya",
38554
+ "type": "Spacer",
38555
+ "props": {}
38556
+ }
38557
+ }
38558
+ ]
38559
+ }
38560
+ },
38561
+ "modifiers": {
38562
+ "fillMaxWidth": true,
38563
+ "accessibilityLabel": "Online session",
38564
+ "hiddenPath": "$service:himiBookingService.noOnline"
38565
+ }
38566
+ },
38567
+ {
38568
+ "id": "himi_service.staff",
38569
+ "body": {
38570
+ "package": "himalaya",
38571
+ "type": "HStack",
38572
+ "props": {
38573
+ "spacing": 12,
38574
+ "alignment": "center",
38575
+ "children": [
38576
+ {
38577
+ "id": "",
38578
+ "body": {
38579
+ "package": "himalaya",
38580
+ "type": "ZStack",
38581
+ "props": {
38582
+ "alignment": "center",
38583
+ "children": [
38584
+ {
38585
+ "id": "",
38586
+ "body": {
38587
+ "package": "himalaya",
38588
+ "type": "ZStack",
38589
+ "props": {
38590
+ "alignment": "center",
38591
+ "children": [
38592
+ {
38593
+ "id": "himi_service.staff_photo",
38594
+ "body": {
38595
+ "package": "himalaya",
38596
+ "type": "Avatar",
38597
+ "props": {
38598
+ "imageUrl": "$service:himiBookingService.staffImage",
38599
+ "size": 20
38600
+ }
38601
+ },
38602
+ "modifiers": {
38603
+ "accessibilityRole": "decorative",
38604
+ "hiddenPath": "$service:himiBookingService.noStaffImage"
38605
+ }
38606
+ },
38607
+ {
38608
+ "id": "himi_service.staff_initials",
38609
+ "body": {
38610
+ "package": "himalaya",
38611
+ "type": "Avatar",
38612
+ "props": {
38613
+ "initials": "$service:himiBookingService.staffInitials",
38614
+ "size": 20
38615
+ }
38616
+ },
38617
+ "modifiers": {
38618
+ "accessibilityRole": "decorative",
38619
+ "hiddenPath": "$service:himiBookingService.hasStaffImage"
38620
+ }
38621
+ }
38622
+ ]
38623
+ }
38624
+ },
38625
+ "modifiers": {
38626
+ "width": 20,
38627
+ "height": 20
38628
+ }
38629
+ }
38630
+ ]
38631
+ }
38632
+ },
38633
+ "modifiers": {
38634
+ "width": 20,
38635
+ "height": 20
38636
+ }
38637
+ },
38638
+ {
38639
+ "id": "",
38640
+ "body": {
38641
+ "package": "himalaya",
38642
+ "type": "VStack",
38643
+ "props": {
38644
+ "spacing": 2,
38645
+ "alignment": "leading",
38646
+ "children": [
38647
+ {
38648
+ "id": "",
38649
+ "body": {
38650
+ "package": "himalaya",
38651
+ "type": "Text",
38652
+ "props": {
38653
+ "text": "$service:himiBookingService.staffText",
38654
+ "style": "body",
38655
+ "maxLines": 1
38656
+ }
38657
+ }
38658
+ }
38659
+ ]
38660
+ }
38661
+ }
38662
+ },
38663
+ {
38664
+ "id": "",
38665
+ "body": {
38666
+ "package": "himalaya",
38667
+ "type": "Spacer",
38668
+ "props": {}
38669
+ }
38670
+ }
38671
+ ]
38672
+ }
38673
+ },
38674
+ "modifiers": {
38675
+ "fillMaxWidth": true,
38676
+ "accessibilityLabel": "$service:himiBookingService.staffText",
38677
+ "hiddenPath": "$service:himiBookingService.noStaff"
38678
+ }
38679
+ },
38680
+ {
38681
+ "id": "himi_service.pay",
38682
+ "body": {
38683
+ "package": "himalaya",
38684
+ "type": "HStack",
38685
+ "props": {
38686
+ "spacing": 12,
38687
+ "alignment": "center",
38688
+ "children": [
38689
+ {
38690
+ "id": "",
38691
+ "body": {
38692
+ "package": "himalaya",
38693
+ "type": "ZStack",
38694
+ "props": {
38695
+ "alignment": "center",
38696
+ "children": [
38697
+ {
38698
+ "id": "",
38699
+ "body": {
38700
+ "package": "himalaya",
38701
+ "type": "Icon",
38702
+ "props": {
38703
+ "name": "tag",
38704
+ "size": 20,
38705
+ "tint": "textSecondary"
38706
+ }
38707
+ },
38708
+ "modifiers": {
38709
+ "accessibilityRole": "decorative"
38710
+ }
38711
+ }
38712
+ ]
38713
+ }
38714
+ },
38715
+ "modifiers": {
38716
+ "width": 20,
38717
+ "height": 20
38718
+ }
38719
+ },
38720
+ {
38721
+ "id": "",
38722
+ "body": {
38723
+ "package": "himalaya",
38724
+ "type": "VStack",
38725
+ "props": {
38726
+ "spacing": 2,
38727
+ "alignment": "leading",
38728
+ "children": [
38729
+ {
38730
+ "id": "",
38731
+ "body": {
38732
+ "package": "himalaya",
38733
+ "type": "Text",
38734
+ "props": {
38735
+ "text": "$service:himiBookingService.payText",
38736
+ "style": "body",
38737
+ "maxLines": 1
38738
+ }
38739
+ }
38740
+ },
38741
+ {
38742
+ "id": "",
38743
+ "body": {
38744
+ "package": "himalaya",
38745
+ "type": "Text",
38746
+ "props": {
38747
+ "text": "$service:himiBookingService.paySub",
38748
+ "style": "caption",
38749
+ "color": "textSecondary",
38750
+ "maxLines": 1,
38751
+ "collapseWhenEmpty": true
38752
+ }
38753
+ }
38754
+ }
38755
+ ]
38756
+ }
38757
+ }
38758
+ },
38759
+ {
38760
+ "id": "",
38761
+ "body": {
38762
+ "package": "himalaya",
38763
+ "type": "Spacer",
38764
+ "props": {}
38765
+ }
38766
+ }
38767
+ ]
38768
+ }
38769
+ },
38770
+ "modifiers": {
38771
+ "fillMaxWidth": true,
38772
+ "accessibilityLabel": "$service:himiBookingService.payText",
38773
+ "accessibilityValue": "$service:himiBookingService.paySub",
38774
+ "hiddenPath": "$service:himiBookingService.noPay"
38775
+ }
38776
+ }
38777
+ ]
38778
+ }
38779
+ }
38780
+ }
38781
+ ]
38782
+ }
38783
+ },
38784
+ "modifiers": {
38785
+ "hiddenPath": "$service:himiBookingService.noFacts"
38786
+ }
38787
+ },
38788
+ {
38789
+ "id": "himi_service.about_section",
38790
+ "body": {
38791
+ "package": "himalaya",
38792
+ "type": "VStack",
38793
+ "props": {
38794
+ "spacing": 24,
38795
+ "alignment": "leading",
38796
+ "children": [
38797
+ {
38798
+ "id": "",
38799
+ "body": {
38800
+ "package": "himalaya",
38801
+ "type": "Divider",
38802
+ "props": {}
38803
+ }
38804
+ },
38805
+ {
38806
+ "id": "",
38807
+ "body": {
38808
+ "package": "himalaya",
38809
+ "type": "VStack",
38810
+ "props": {
38811
+ "spacing": 8,
38812
+ "alignment": "leading",
38813
+ "children": [
38814
+ {
38815
+ "id": "himi_service.about_title",
38816
+ "body": {
38817
+ "package": "himalaya",
38818
+ "type": "Text",
38819
+ "props": {
38820
+ "text": "About",
38821
+ "style": "title3"
38822
+ }
38823
+ }
38824
+ },
38825
+ {
38826
+ "id": "himi_service.about",
38827
+ "body": {
38828
+ "package": "himalaya",
38829
+ "type": "Text",
38830
+ "props": {
38831
+ "text": "$service:himiBookingService.about",
38832
+ "style": "body",
38833
+ "color": "textPrimary",
38834
+ "collapseWhenEmpty": true
38835
+ }
38836
+ }
38837
+ }
38838
+ ]
38839
+ }
38840
+ }
38841
+ }
38842
+ ]
38843
+ }
38844
+ },
38845
+ "modifiers": {
38846
+ "hiddenPath": "$service:himiBookingService.noAbout"
38847
+ }
38848
+ },
38849
+ {
38850
+ "id": "himi_service.policy_section",
38851
+ "body": {
38852
+ "package": "himalaya",
38853
+ "type": "VStack",
38854
+ "props": {
38855
+ "spacing": 24,
38856
+ "alignment": "leading",
38857
+ "children": [
38858
+ {
38859
+ "id": "",
38860
+ "body": {
38861
+ "package": "himalaya",
38862
+ "type": "Divider",
38863
+ "props": {}
38864
+ }
38865
+ },
38866
+ {
38867
+ "id": "himi_service.policy",
38868
+ "body": {
38869
+ "package": "himalaya",
38870
+ "type": "VStack",
38871
+ "props": {
38872
+ "spacing": 0,
38873
+ "alignment": "leading",
38874
+ "children": [
38875
+ {
38876
+ "id": "himi_service.policy.header",
38877
+ "body": {
38878
+ "package": "himalaya",
38879
+ "type": "HStack",
38880
+ "props": {
38881
+ "spacing": 12,
38882
+ "alignment": "center",
38883
+ "children": [
38884
+ {
38885
+ "id": "",
38886
+ "body": {
38887
+ "package": "himalaya",
38888
+ "type": "Text",
38889
+ "props": {
38890
+ "text": "Our policy",
38891
+ "style": "body",
38892
+ "maxLines": 2
38893
+ }
38894
+ }
38895
+ },
38896
+ {
38897
+ "id": "",
38898
+ "body": {
38899
+ "package": "himalaya",
38900
+ "type": "Spacer",
38901
+ "props": {}
38902
+ }
38903
+ },
38904
+ {
38905
+ "id": "",
38906
+ "body": {
38907
+ "package": "himalaya",
38908
+ "type": "Icon",
38909
+ "props": {
38910
+ "name": "chevron_down",
38911
+ "size": 16,
38912
+ "tint": "textSecondary"
38913
+ }
38914
+ },
38915
+ "modifiers": {
38916
+ "accessibilityRole": "decorative",
38917
+ "hiddenPath": "$service:himiBookingService.policyExpanded"
38918
+ }
38919
+ },
38920
+ {
38921
+ "id": "",
38922
+ "body": {
38923
+ "package": "himalaya",
38924
+ "type": "Icon",
38925
+ "props": {
38926
+ "name": "chevron_up",
38927
+ "size": 16,
38928
+ "tint": "textSecondary"
38929
+ }
38930
+ },
38931
+ "modifiers": {
38932
+ "accessibilityRole": "decorative",
38933
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
38934
+ }
38935
+ }
38936
+ ]
38937
+ }
38938
+ },
38939
+ "modifiers": {
38940
+ "fillMaxWidth": true,
38941
+ "padding": {
38942
+ "top": 4,
38943
+ "bottom": 4
38944
+ },
38945
+ "onTap": {
38946
+ "actionId": "tier5.himiBookingService.togglePolicy"
38947
+ },
38948
+ "pressFeedback": "highlight",
38949
+ "accessibilityRole": "button",
38950
+ "accessibilityLabel": "Our policy"
38951
+ }
38952
+ },
38953
+ {
38954
+ "id": "himi_service.policy.lines",
38955
+ "body": {
38956
+ "package": "himalaya",
38957
+ "type": "LazyList",
37637
38958
  "props": {
37638
- "text": "$service:himiBookingService.initial",
37639
- "style": "display",
37640
- "color": "textOnAccent"
38959
+ "spacing": 8,
38960
+ "itemsPath": "$service:himiBookingService.policyLines",
38961
+ "items": [
38962
+ {
38963
+ "id": "",
38964
+ "body": {
38965
+ "package": "himalaya",
38966
+ "type": "VStack",
38967
+ "props": {
38968
+ "spacing": 0,
38969
+ "alignment": "leading",
38970
+ "children": [
38971
+ {
38972
+ "id": "",
38973
+ "body": {
38974
+ "package": "himalaya",
38975
+ "type": "Text",
38976
+ "props": {
38977
+ "text": "$item.text",
38978
+ "style": "body",
38979
+ "color": "textPrimary"
38980
+ }
38981
+ },
38982
+ "modifiers": {
38983
+ "hiddenPath": "$item.notOwner"
38984
+ }
38985
+ },
38986
+ {
38987
+ "id": "",
38988
+ "body": {
38989
+ "package": "himalaya",
38990
+ "type": "Text",
38991
+ "props": {
38992
+ "text": "$item.text",
38993
+ "style": "body",
38994
+ "color": "textSecondary"
38995
+ }
38996
+ },
38997
+ "modifiers": {
38998
+ "hiddenPath": "$item.owner"
38999
+ }
39000
+ }
39001
+ ]
39002
+ }
39003
+ }
39004
+ }
39005
+ ]
37641
39006
  }
39007
+ },
39008
+ "modifiers": {
39009
+ "padding": {
39010
+ "top": 16
39011
+ },
39012
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
37642
39013
  }
37643
39014
  }
37644
39015
  ]
37645
39016
  }
37646
- },
37647
- "modifiers": {
37648
- "fillMaxWidth": true,
37649
- "height": 160,
37650
- "background": {
37651
- "token": "accentPrimary"
37652
- },
37653
- "cornerRadius": 8,
37654
- "hiddenPath": "$service:himiBookingService.hasImage"
37655
- }
37656
- },
37657
- {
37658
- "id": "",
37659
- "body": {
37660
- "package": "himalaya",
37661
- "type": "Text",
37662
- "props": {
37663
- "text": "$service:himiBookingService.name",
37664
- "style": "title2",
37665
- "maxLines": 2,
37666
- "collapseWhenEmpty": true
37667
- }
37668
- }
37669
- },
37670
- {
37671
- "id": "",
37672
- "body": {
37673
- "package": "himalaya",
37674
- "type": "Divider",
37675
- "props": {}
37676
- }
37677
- },
37678
- {
37679
- "id": "himi_service.price",
37680
- "body": {
37681
- "package": "himalaya",
37682
- "type": "LabeledContent",
37683
- "props": {
37684
- "label": "Price",
37685
- "value": "$service:himiBookingService.price"
37686
- }
37687
- },
37688
- "modifiers": {
37689
- "hiddenPath": "$service:himiBookingService.noPrice"
37690
- }
37691
- },
37692
- {
37693
- "id": "himi_service.duration",
37694
- "body": {
37695
- "package": "himalaya",
37696
- "type": "LabeledContent",
37697
- "props": {
37698
- "label": "Duration",
37699
- "value": "$service:himiBookingService.duration"
37700
- }
37701
- },
37702
- "modifiers": {
37703
- "hiddenPath": "$service:himiBookingService.noDuration"
37704
- }
37705
- },
37706
- {
37707
- "id": "himi_service.category",
37708
- "body": {
37709
- "package": "himalaya",
37710
- "type": "LabeledContent",
37711
- "props": {
37712
- "label": "Category",
37713
- "value": "$service:himiBookingService.category"
37714
- }
37715
- },
37716
- "modifiers": {
37717
- "hiddenPath": "$service:himiBookingService.noCategory"
37718
- }
37719
- },
37720
- {
37721
- "id": "",
37722
- "body": {
37723
- "package": "himalaya",
37724
- "type": "Text",
37725
- "props": {
37726
- "text": "$service:himiBookingService.description",
37727
- "style": "body",
37728
- "color": "textSecondary",
37729
- "collapseWhenEmpty": true
37730
- }
37731
39017
  }
37732
39018
  }
37733
39019
  ]
37734
39020
  }
37735
39021
  },
37736
39022
  "modifiers": {
37737
- "background": {
37738
- "token": "surfaceElevated"
37739
- },
37740
- "border": {
37741
- "width": 1,
37742
- "color": {
37743
- "token": "border"
37744
- }
37745
- },
37746
- "cornerRadius": 8,
37747
- "padding": {
37748
- "leading": 14,
37749
- "trailing": 14,
37750
- "top": 14,
37751
- "bottom": 14
37752
- }
39023
+ "hiddenPath": "$service:himiBookingService.noPolicy"
37753
39024
  }
37754
39025
  },
37755
39026
  {
37756
- "id": "himi_service.choose_time",
39027
+ "id": "himi_service.not_bookable",
37757
39028
  "body": {
37758
39029
  "package": "himalaya",
37759
- "type": "Button",
39030
+ "type": "Banner",
37760
39031
  "props": {
37761
- "title": "Choose a time",
37762
- "style": "primary",
37763
- "fullWidth": true,
37764
- "action": {
37765
- "actionId": "himi.open",
37766
- "params": {
37767
- "screenId": "himi_time",
37768
- "id": "$service:himiBookingService.id"
37769
- }
37770
- }
39032
+ "severity": "info",
39033
+ "title": "This service isn't available for online booking. Contact us to book it."
37771
39034
  }
37772
39035
  },
37773
39036
  "modifiers": {
37774
- "cornerRadius": 8,
37775
- "pressFeedback": "scale",
37776
- "haptic": "medium"
37777
- }
37778
- },
37779
- {
37780
- "id": "himi_service.share",
37781
- "body": {
37782
- "package": "himalaya",
37783
- "type": "Button",
37784
- "props": {
37785
- "title": "Share",
37786
- "style": "secondary",
37787
- "fullWidth": true,
37788
- "leadingIcon": "share",
37789
- "action": {
37790
- "actionId": "tier5.himiBookingService.share"
37791
- }
37792
- }
39037
+ "hiddenPath": "$service:himiBookingService.bookableOnline"
37793
39038
  }
37794
39039
  }
37795
39040
  ]
37796
39041
  }
37797
39042
  },
37798
39043
  "modifiers": {
37799
- "hiddenPath": "$service:himiBookingService.isLoading"
39044
+ "hiddenPath": "$service:himiBookingService.hideContent",
39045
+ "padding": {
39046
+ "top": 20
39047
+ }
37800
39048
  }
37801
39049
  },
37802
39050
  {
@@ -37878,9 +39126,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37878
39126
  "token": "surfacePrimary"
37879
39127
  },
37880
39128
  "padding": {
37881
- "leading": 16,
37882
- "trailing": 16,
37883
- "top": 18,
39129
+ "leading": 20,
39130
+ "trailing": 20,
39131
+ "top": 0,
37884
39132
  "bottom": 24
37885
39133
  },
37886
39134
  "onAppear": {
@@ -37895,13 +39143,119 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37895
39143
  "declaredCapabilities": [
37896
39144
  "wix_api",
37897
39145
  "share",
37898
- "local_database"
39146
+ "local_database",
39147
+ "open_url"
37899
39148
  ],
37900
39149
  "minBinaryVersion": "0.1.0",
37901
39150
  "bundleVersion": "0.0.1"
37902
39151
  },
37903
39152
  "input": {
37904
39153
  "id": "__HIMI_ID__"
39154
+ },
39155
+ "topBar": {
39156
+ "actions": [
39157
+ {
39158
+ "id": "share",
39159
+ "icon": "share",
39160
+ "accessibilityLabel": "Share",
39161
+ "onTap": {
39162
+ "actionId": "tier5.himiBookingService.share"
39163
+ }
39164
+ }
39165
+ ]
39166
+ },
39167
+ "stickyFooter": {
39168
+ "id": "himi_service.footer",
39169
+ "body": {
39170
+ "package": "himalaya",
39171
+ "type": "VStack",
39172
+ "props": {
39173
+ "spacing": 0,
39174
+ "alignment": "leading",
39175
+ "children": [
39176
+ {
39177
+ "id": "",
39178
+ "body": {
39179
+ "package": "himalaya",
39180
+ "type": "Divider",
39181
+ "props": {}
39182
+ }
39183
+ },
39184
+ {
39185
+ "id": "",
39186
+ "body": {
39187
+ "package": "himalaya",
39188
+ "type": "VStack",
39189
+ "props": {
39190
+ "spacing": 0,
39191
+ "children": [
39192
+ {
39193
+ "id": "himi_service.choose_time",
39194
+ "body": {
39195
+ "package": "himalaya",
39196
+ "type": "Button",
39197
+ "props": {
39198
+ "title": "Choose a Time",
39199
+ "style": "primary",
39200
+ "fullWidth": true,
39201
+ "action": {
39202
+ "actionId": "tier5.himiBookingService.chooseTime"
39203
+ }
39204
+ }
39205
+ },
39206
+ "modifiers": {
39207
+ "cornerRadius": 8,
39208
+ "pressFeedback": "scale",
39209
+ "haptic": "medium",
39210
+ "height": 48,
39211
+ "hiddenPath": "$service:himiBookingService.requestToBook"
39212
+ }
39213
+ },
39214
+ {
39215
+ "id": "himi_service.request",
39216
+ "body": {
39217
+ "package": "himalaya",
39218
+ "type": "Button",
39219
+ "props": {
39220
+ "title": "Request to Book",
39221
+ "style": "primary",
39222
+ "fullWidth": true,
39223
+ "action": {
39224
+ "actionId": "tier5.himiBookingService.chooseTime"
39225
+ }
39226
+ }
39227
+ },
39228
+ "modifiers": {
39229
+ "cornerRadius": 8,
39230
+ "pressFeedback": "scale",
39231
+ "haptic": "medium",
39232
+ "height": 48,
39233
+ "hiddenPath": "$service:himiBookingService.notRequestToBook"
39234
+ }
39235
+ }
39236
+ ]
39237
+ }
39238
+ },
39239
+ "modifiers": {
39240
+ "fillMaxWidth": true,
39241
+ "padding": {
39242
+ "leading": 16,
39243
+ "trailing": 16,
39244
+ "top": 12,
39245
+ "bottom": 12
39246
+ }
39247
+ }
39248
+ }
39249
+ ]
39250
+ }
39251
+ },
39252
+ "modifiers": {
39253
+ "fillMaxWidth": true,
39254
+ "background": {
39255
+ "token": "surfacePrimary"
39256
+ },
39257
+ "hiddenPath": "$service:himiBookingService.hideFooter"
39258
+ }
37905
39259
  }
37906
39260
  } },
37907
39261
  { pattern: "^himi_time(?:[_/](.+))?$", display: "himi_time[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_time_"}, template: {