@wix/himalaya-cli 0.1581.0 → 0.1583.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 (50) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +8 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +5 -1
  6. package/dist/cli.mjs +17195 -17232
  7. package/dist/preview-assets.generated.bin +0 -0
  8. package/guides/component-reference.json +4 -3
  9. package/guides/component-reference.md +24 -2
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/config.ts +20 -1
  12. package/templates/beauty-salon/dev/index.ts +1751 -629
  13. package/templates/beauty-salon/tier5-src/_shared/booking-location.ts +147 -0
  14. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +222 -0
  15. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +277 -14
  16. package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +351 -92
  17. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -5
  18. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  19. package/templates/branded-lite/config.ts +20 -1
  20. package/templates/branded-lite/dev/index.ts +1688 -566
  21. package/templates/branded-lite/l10n/en.json +2 -2
  22. package/templates/branded-lite/tier5-src/_shared/booking-location.ts +147 -0
  23. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +222 -0
  24. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +277 -14
  25. package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +351 -92
  26. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -5
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  28. package/templates/community-club/config.ts +20 -1
  29. package/templates/events-meetups/config.ts +20 -1
  30. package/templates/gym-fitness/config.ts +20 -1
  31. package/templates/gym-fitness/dev/index.ts +1751 -629
  32. package/templates/gym-fitness/tier5-src/_shared/booking-location.ts +147 -0
  33. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +222 -0
  34. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +277 -14
  35. package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +351 -92
  36. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -5
  37. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  38. package/templates/nonprofit-cause/config.ts +20 -1
  39. package/templates/podcast-creator/config.ts +20 -1
  40. package/templates/portfolio-creative/config.ts +20 -1
  41. package/templates/restaurant/config.ts +20 -1
  42. package/templates/retail-store/config.ts +20 -1
  43. package/templates/yoga-studio/config.ts +20 -1
  44. package/templates/yoga-studio/dev/index.ts +1533 -411
  45. package/templates/yoga-studio/tier5-src/_shared/booking-location.ts +147 -0
  46. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +222 -0
  47. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +277 -14
  48. package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +351 -92
  49. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -5
  50. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
@@ -19766,115 +19766,6 @@ const SCREENS = runtimeSetting({
19766
19766
  "spacing": 0,
19767
19767
  "alignment": "leading",
19768
19768
  "children": [
19769
- {
19770
- "id": "",
19771
- "body": {
19772
- "package": "himalaya",
19773
- "type": "VStack",
19774
- "props": {
19775
- "spacing": 4,
19776
- "alignment": "leading",
19777
- "children": [
19778
- {
19779
- "id": "himi_services.title",
19780
- "body": {
19781
- "package": "himalaya",
19782
- "type": "Text",
19783
- "props": {
19784
- "text": "Services",
19785
- "style": "title1"
19786
- }
19787
- }
19788
- },
19789
- {
19790
- "id": "himi_services.subtitle",
19791
- "body": {
19792
- "package": "himalaya",
19793
- "type": "Text",
19794
- "props": {
19795
- "text": "Find a treatment and book your visit.",
19796
- "style": "body",
19797
- "color": "textSecondary"
19798
- }
19799
- }
19800
- }
19801
- ]
19802
- }
19803
- },
19804
- "modifiers": {
19805
- "padding": {
19806
- "leading": 20,
19807
- "trailing": 20,
19808
- "top": 0,
19809
- "bottom": 0
19810
- }
19811
- }
19812
- },
19813
- {
19814
- "id": "",
19815
- "body": {
19816
- "package": "himalaya",
19817
- "type": "VStack",
19818
- "props": {
19819
- "spacing": 0,
19820
- "alignment": "leading",
19821
- "children": [
19822
- {
19823
- "id": "himi_services.search",
19824
- "body": {
19825
- "package": "himalaya",
19826
- "type": "SearchField",
19827
- "props": {
19828
- "placeholder": "Search services",
19829
- "value": "$service:himiBookingServices.collection.query",
19830
- "debounceMs": 200,
19831
- "onChange": {
19832
- "actionId": "tier5.himiBookingServices.search"
19833
- }
19834
- }
19835
- }
19836
- }
19837
- ]
19838
- }
19839
- },
19840
- "modifiers": {
19841
- "padding": {
19842
- "leading": 20,
19843
- "trailing": 20,
19844
- "top": 16,
19845
- "bottom": 0
19846
- },
19847
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
19848
- }
19849
- },
19850
- {
19851
- "id": "himi_services.categories",
19852
- "body": {
19853
- "package": "himalaya",
19854
- "type": "FilterChips",
19855
- "props": {
19856
- "chips": [],
19857
- "optionsPath": "$service:himiBookingServices.categoryChips",
19858
- "selectedIds": [
19859
- "$service:himiBookingServices.collection.filter"
19860
- ],
19861
- "multiSelect": false,
19862
- "onChange": {
19863
- "actionId": "tier5.himiBookingServices.collectionFilter"
19864
- }
19865
- }
19866
- },
19867
- "modifiers": {
19868
- "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
19869
- "padding": {
19870
- "leading": 20,
19871
- "trailing": 20,
19872
- "top": 12,
19873
- "bottom": 0
19874
- },
19875
- "hiddenPath": "$service:himiBookingServices.hideCategories"
19876
- }
19877
- },
19878
19769
  {
19879
19770
  "id": "himi_services.offline",
19880
19771
  "body": {
@@ -20027,6 +19918,48 @@ const SCREENS = runtimeSetting({
20027
19918
  "spacing": 0,
20028
19919
  "alignment": "leading",
20029
19920
  "children": [
19921
+ {
19922
+ "id": "himi_services.skeleton_title",
19923
+ "body": {
19924
+ "package": "himalaya",
19925
+ "type": "VStack",
19926
+ "props": {
19927
+ "spacing": 0,
19928
+ "alignment": "leading",
19929
+ "children": [
19930
+ {
19931
+ "id": "",
19932
+ "body": {
19933
+ "package": "himalaya",
19934
+ "type": "Skeleton",
19935
+ "props": {
19936
+ "width": 120,
19937
+ "height": 20,
19938
+ "cornerRadius": 4
19939
+ }
19940
+ },
19941
+ "modifiers": {
19942
+ "width": 120,
19943
+ "height": 20,
19944
+ "background": {
19945
+ "token": "surfaceSecondary"
19946
+ },
19947
+ "cornerRadius": 4,
19948
+ "accessibilityRole": "decorative"
19949
+ }
19950
+ }
19951
+ ]
19952
+ }
19953
+ },
19954
+ "modifiers": {
19955
+ "padding": {
19956
+ "leading": 20,
19957
+ "trailing": 20,
19958
+ "top": 20,
19959
+ "bottom": 4
19960
+ }
19961
+ }
19962
+ },
20030
19963
  {
20031
19964
  "id": "himi_services.skeleton_1",
20032
19965
  "body": {
@@ -20738,7 +20671,7 @@ const SCREENS = runtimeSetting({
20738
20671
  "padding": {
20739
20672
  "leading": 0,
20740
20673
  "trailing": 0,
20741
- "top": 12,
20674
+ "top": 0,
20742
20675
  "bottom": 0
20743
20676
  },
20744
20677
  "hiddenPath": "$service:himiBookingServices.collection.noLoading"
@@ -20751,7 +20684,7 @@ const SCREENS = runtimeSetting({
20751
20684
  "type": "LazyList",
20752
20685
  "props": {
20753
20686
  "spacing": 0,
20754
- "itemsPath": "$service:himiBookingServices.collection.items",
20687
+ "itemsPath": "$service:himiBookingServices.listRows",
20755
20688
  "onPullToRefresh": {
20756
20689
  "actionId": "tier5.himiBookingServices.refresh"
20757
20690
  },
@@ -20760,13 +20693,17 @@ const SCREENS = runtimeSetting({
20760
20693
  "onLoadMore": {
20761
20694
  "actionId": "tier5.himiBookingServices.loadMore"
20762
20695
  },
20763
- "pageSize": 50
20696
+ "pageSize": 100
20764
20697
  },
20765
20698
  "staggerMs": 30,
20766
20699
  "animateItems": true,
20700
+ "scrollToItemPath": "$service:himiBookingServices.scrollTo",
20701
+ "onTopItemChange": {
20702
+ "actionId": "tier5.himiBookingServices.topItemChanged"
20703
+ },
20767
20704
  "items": [
20768
20705
  {
20769
- "id": "himi_services.row.$item.id",
20706
+ "id": "himi_services.item.$item.id",
20770
20707
  "body": {
20771
20708
  "package": "himalaya",
20772
20709
  "type": "VStack",
@@ -20775,47 +20712,75 @@ const SCREENS = runtimeSetting({
20775
20712
  "alignment": "leading",
20776
20713
  "children": [
20777
20714
  {
20778
- "id": "",
20715
+ "id": "himi_services.section.$item.id",
20779
20716
  "body": {
20780
20717
  "package": "himalaya",
20781
20718
  "type": "HStack",
20782
20719
  "props": {
20783
- "spacing": 14,
20720
+ "spacing": 0,
20784
20721
  "alignment": "center",
20785
20722
  "children": [
20786
20723
  {
20787
- "id": "himi_services.row.$item.id/image",
20724
+ "id": "",
20788
20725
  "body": {
20789
20726
  "package": "himalaya",
20790
- "type": "Image",
20727
+ "type": "Text",
20791
20728
  "props": {
20792
- "url": "$item.image",
20793
- "width": 72,
20794
- "height": 72,
20795
- "contentMode": "fill"
20729
+ "text": "$item.sectionTitle",
20730
+ "style": "title3",
20731
+ "maxLines": 2
20796
20732
  }
20797
- },
20798
- "modifiers": {
20799
- "accessibilityRole": "decorative",
20800
- "cornerRadius": 8,
20801
- "hiddenPath": "$item.noImage"
20802
20733
  }
20803
20734
  },
20804
20735
  {
20805
20736
  "id": "",
20806
20737
  "body": {
20807
20738
  "package": "himalaya",
20808
- "type": "ZStack",
20739
+ "type": "Spacer",
20740
+ "props": {}
20741
+ }
20742
+ }
20743
+ ]
20744
+ }
20745
+ },
20746
+ "modifiers": {
20747
+ "fillMaxWidth": true,
20748
+ "padding": {
20749
+ "leading": 20,
20750
+ "trailing": 20,
20751
+ "top": 20,
20752
+ "bottom": 4
20753
+ },
20754
+ "accessibilityRole": "heading",
20755
+ "accessibilityLabel": "$item.sectionTitle",
20756
+ "hiddenPath": "$item.notSection"
20757
+ }
20758
+ },
20759
+ {
20760
+ "id": "himi_services.row.$item.id",
20761
+ "body": {
20762
+ "package": "himalaya",
20763
+ "type": "VStack",
20764
+ "props": {
20765
+ "spacing": 0,
20766
+ "alignment": "leading",
20767
+ "children": [
20768
+ {
20769
+ "id": "",
20770
+ "body": {
20771
+ "package": "himalaya",
20772
+ "type": "HStack",
20809
20773
  "props": {
20774
+ "spacing": 14,
20810
20775
  "alignment": "center",
20811
20776
  "children": [
20812
20777
  {
20813
- "id": "",
20778
+ "id": "himi_services.row.$item.id/image",
20814
20779
  "body": {
20815
20780
  "package": "himalaya",
20816
20781
  "type": "Image",
20817
20782
  "props": {
20818
- "url": "",
20783
+ "url": "$item.image",
20819
20784
  "width": 72,
20820
20785
  "height": 72,
20821
20786
  "contentMode": "fill"
@@ -20824,292 +20789,750 @@ const SCREENS = runtimeSetting({
20824
20789
  "modifiers": {
20825
20790
  "accessibilityRole": "decorative",
20826
20791
  "cornerRadius": 8,
20827
- "background": {
20828
- "token": "surfaceSecondary"
20829
- }
20792
+ "hiddenPath": "$item.noImage"
20830
20793
  }
20831
20794
  },
20832
20795
  {
20833
20796
  "id": "",
20834
20797
  "body": {
20835
20798
  "package": "himalaya",
20836
- "type": "Icon",
20799
+ "type": "ZStack",
20837
20800
  "props": {
20838
- "name": "image",
20839
- "size": 24,
20840
- "tint": "accentPrimary"
20801
+ "alignment": "center",
20802
+ "children": [
20803
+ {
20804
+ "id": "",
20805
+ "body": {
20806
+ "package": "himalaya",
20807
+ "type": "Image",
20808
+ "props": {
20809
+ "url": "",
20810
+ "width": 72,
20811
+ "height": 72,
20812
+ "contentMode": "fill"
20813
+ }
20814
+ },
20815
+ "modifiers": {
20816
+ "accessibilityRole": "decorative",
20817
+ "cornerRadius": 8,
20818
+ "background": {
20819
+ "token": "surfaceSecondary"
20820
+ }
20821
+ }
20822
+ },
20823
+ {
20824
+ "id": "",
20825
+ "body": {
20826
+ "package": "himalaya",
20827
+ "type": "Icon",
20828
+ "props": {
20829
+ "name": "image",
20830
+ "size": 24,
20831
+ "tint": "accentPrimary"
20832
+ }
20833
+ },
20834
+ "modifiers": {
20835
+ "accessibilityRole": "decorative"
20836
+ }
20837
+ }
20838
+ ]
20841
20839
  }
20842
20840
  },
20843
20841
  "modifiers": {
20844
- "accessibilityRole": "decorative"
20842
+ "width": 72,
20843
+ "height": 72,
20844
+ "hiddenPath": "$item.hasImage"
20845
20845
  }
20846
- }
20847
- ]
20848
- }
20849
- },
20850
- "modifiers": {
20851
- "width": 72,
20852
- "height": 72,
20853
- "hiddenPath": "$item.hasImage"
20854
- }
20855
- },
20856
- {
20857
- "id": "",
20858
- "body": {
20859
- "package": "himalaya",
20860
- "type": "VStack",
20861
- "props": {
20862
- "spacing": 3,
20863
- "alignment": "leading",
20864
- "children": [
20846
+ },
20865
20847
  {
20866
20848
  "id": "",
20867
20849
  "body": {
20868
20850
  "package": "himalaya",
20869
- "type": "Text",
20851
+ "type": "VStack",
20870
20852
  "props": {
20871
- "text": "$item.typeTag",
20872
- "style": "caption",
20873
- "color": "textSecondary",
20874
- "maxLines": 1
20853
+ "spacing": 3,
20854
+ "alignment": "leading",
20855
+ "children": [
20856
+ {
20857
+ "id": "",
20858
+ "body": {
20859
+ "package": "himalaya",
20860
+ "type": "Text",
20861
+ "props": {
20862
+ "text": "$item.typeTag",
20863
+ "style": "caption",
20864
+ "color": "textSecondary",
20865
+ "maxLines": 1
20866
+ }
20867
+ },
20868
+ "modifiers": {
20869
+ "background": {
20870
+ "token": "surfaceTertiary"
20871
+ },
20872
+ "cornerRadius": 4,
20873
+ "padding": {
20874
+ "leading": 8,
20875
+ "trailing": 8,
20876
+ "top": 2,
20877
+ "bottom": 2
20878
+ },
20879
+ "hiddenPath": "$item.noTypeTag"
20880
+ }
20881
+ },
20882
+ {
20883
+ "id": "himi_services.row.$item.id/ended",
20884
+ "body": {
20885
+ "package": "himalaya",
20886
+ "type": "Text",
20887
+ "props": {
20888
+ "text": "$item.endedText",
20889
+ "style": "caption",
20890
+ "color": "textSecondary",
20891
+ "maxLines": 1,
20892
+ "collapseWhenEmpty": true
20893
+ }
20894
+ }
20895
+ },
20896
+ {
20897
+ "id": "",
20898
+ "body": {
20899
+ "package": "himalaya",
20900
+ "type": "Text",
20901
+ "props": {
20902
+ "text": "$item.name",
20903
+ "style": "bodyEmphasis",
20904
+ "maxLines": 2
20905
+ }
20906
+ }
20907
+ },
20908
+ {
20909
+ "id": "",
20910
+ "body": {
20911
+ "package": "himalaya",
20912
+ "type": "Text",
20913
+ "props": {
20914
+ "text": "$item.tagline",
20915
+ "style": "caption",
20916
+ "color": "textSecondary",
20917
+ "maxLines": 2,
20918
+ "collapseWhenEmpty": true
20919
+ }
20920
+ }
20921
+ },
20922
+ {
20923
+ "id": "",
20924
+ "body": {
20925
+ "package": "himalaya",
20926
+ "type": "Text",
20927
+ "props": {
20928
+ "text": "$item.meta",
20929
+ "style": "footnote",
20930
+ "color": "textSecondary",
20931
+ "maxLines": 2,
20932
+ "collapseWhenEmpty": true
20933
+ }
20934
+ }
20935
+ }
20936
+ ]
20875
20937
  }
20876
20938
  },
20877
20939
  "modifiers": {
20878
- "background": {
20879
- "token": "surfaceTertiary"
20880
- },
20881
- "cornerRadius": 4,
20882
- "padding": {
20883
- "leading": 8,
20884
- "trailing": 8,
20885
- "top": 2,
20886
- "bottom": 2
20887
- },
20888
- "hiddenPath": "$item.noTypeTag"
20889
- }
20890
- },
20891
- {
20892
- "id": "himi_services.row.$item.id/ended",
20893
- "body": {
20894
- "package": "himalaya",
20895
- "type": "Text",
20896
- "props": {
20897
- "text": "$item.endedText",
20898
- "style": "caption",
20899
- "color": "textSecondary",
20900
- "maxLines": 1,
20901
- "collapseWhenEmpty": true
20902
- }
20903
- }
20904
- },
20905
- {
20906
- "id": "",
20907
- "body": {
20908
- "package": "himalaya",
20909
- "type": "Text",
20910
- "props": {
20911
- "text": "$item.name",
20912
- "style": "bodyEmphasis",
20913
- "maxLines": 2
20914
- }
20915
- }
20916
- },
20917
- {
20918
- "id": "",
20919
- "body": {
20920
- "package": "himalaya",
20921
- "type": "Text",
20922
- "props": {
20923
- "text": "$item.tagline",
20924
- "style": "caption",
20925
- "color": "textSecondary",
20926
- "maxLines": 2,
20927
- "collapseWhenEmpty": true
20928
- }
20940
+ "weight": 1
20929
20941
  }
20930
20942
  },
20931
20943
  {
20932
- "id": "",
20944
+ "id": "himi_services.row.$item.id/book",
20933
20945
  "body": {
20934
20946
  "package": "himalaya",
20935
- "type": "Text",
20947
+ "type": "VStack",
20936
20948
  "props": {
20937
- "text": "$item.meta",
20938
- "style": "footnote",
20939
- "color": "textSecondary",
20940
- "maxLines": 2,
20941
- "collapseWhenEmpty": true
20949
+ "spacing": 0,
20950
+ "children": [
20951
+ {
20952
+ "id": "",
20953
+ "body": {
20954
+ "package": "himalaya",
20955
+ "type": "HStack",
20956
+ "props": {
20957
+ "spacing": 0,
20958
+ "alignment": "center",
20959
+ "children": [
20960
+ {
20961
+ "id": "",
20962
+ "body": {
20963
+ "package": "himalaya",
20964
+ "type": "Text",
20965
+ "props": {
20966
+ "text": "$item.bookCta",
20967
+ "style": "footnote",
20968
+ "color": "textPrimary",
20969
+ "maxLines": 1
20970
+ }
20971
+ }
20972
+ }
20973
+ ]
20974
+ }
20975
+ },
20976
+ "modifiers": {
20977
+ "height": 36,
20978
+ "padding": {
20979
+ "leading": 16,
20980
+ "trailing": 16,
20981
+ "top": 0,
20982
+ "bottom": 0
20983
+ },
20984
+ "cornerRadius": 18,
20985
+ "border": {
20986
+ "width": 1,
20987
+ "color": {
20988
+ "token": "textPrimary"
20989
+ }
20990
+ }
20991
+ }
20992
+ }
20993
+ ]
20942
20994
  }
20995
+ },
20996
+ "modifiers": {
20997
+ "padding": {
20998
+ "leading": 0,
20999
+ "trailing": 0,
21000
+ "top": 4,
21001
+ "bottom": 4
21002
+ },
21003
+ "onTap": {
21004
+ "actionId": "himi.open",
21005
+ "params": {
21006
+ "screenId": "himi_time",
21007
+ "id": "$item.id"
21008
+ }
21009
+ },
21010
+ "accessibilityRole": "button",
21011
+ "accessibilityLabel": "$item.bookA11y",
21012
+ "pressFeedback": "scale",
21013
+ "haptic": "light",
21014
+ "hiddenPath": "$item.noBook"
20943
21015
  }
20944
21016
  }
20945
21017
  ]
20946
21018
  }
20947
21019
  },
20948
21020
  "modifiers": {
20949
- "weight": 1
21021
+ "fillMaxWidth": true,
21022
+ "padding": {
21023
+ "leading": 20,
21024
+ "trailing": 20,
21025
+ "top": 14,
21026
+ "bottom": 14
21027
+ }
20950
21028
  }
20951
21029
  },
20952
21030
  {
20953
- "id": "himi_services.row.$item.id/book",
21031
+ "id": "",
20954
21032
  "body": {
20955
21033
  "package": "himalaya",
20956
- "type": "VStack",
20957
- "props": {
20958
- "spacing": 0,
20959
- "children": [
20960
- {
20961
- "id": "",
20962
- "body": {
20963
- "package": "himalaya",
20964
- "type": "HStack",
20965
- "props": {
20966
- "spacing": 0,
20967
- "alignment": "center",
20968
- "children": [
20969
- {
20970
- "id": "",
20971
- "body": {
20972
- "package": "himalaya",
20973
- "type": "Text",
20974
- "props": {
20975
- "text": "$item.bookCta",
20976
- "style": "footnote",
20977
- "color": "textPrimary",
20978
- "maxLines": 1
20979
- }
21034
+ "type": "Divider",
21035
+ "props": {}
21036
+ }
21037
+ }
21038
+ ]
21039
+ }
21040
+ },
21041
+ "modifiers": {
21042
+ "onTap": {
21043
+ "actionId": "himi.open",
21044
+ "params": {
21045
+ "screenId": "$item.detailScreenId",
21046
+ "id": "$item.id"
21047
+ }
21048
+ },
21049
+ "pressFeedback": "highlight",
21050
+ "haptic": "light",
21051
+ "accessibilityLabel": "$item.a11y",
21052
+ "hiddenPath": "$item.isSection"
21053
+ }
21054
+ }
21055
+ ]
21056
+ }
21057
+ },
21058
+ "modifiers": {
21059
+ "fillMaxWidth": true,
21060
+ "transition": {
21061
+ "enter": "fadeSlide",
21062
+ "direction": "up",
21063
+ "distance": 8
21064
+ }
21065
+ }
21066
+ }
21067
+ ]
21068
+ }
21069
+ },
21070
+ "modifiers": {
21071
+ "padding": {
21072
+ "leading": 0,
21073
+ "trailing": 0,
21074
+ "top": 0,
21075
+ "bottom": 0
21076
+ },
21077
+ "hiddenPath": "$service:himiBookingServices.hideRows"
21078
+ }
21079
+ },
21080
+ {
21081
+ "id": "",
21082
+ "body": {
21083
+ "package": "himalaya",
21084
+ "type": "VStack",
21085
+ "props": {
21086
+ "spacing": 8,
21087
+ "alignment": "leading",
21088
+ "children": [
21089
+ {
21090
+ "id": "",
21091
+ "body": {
21092
+ "package": "himalaya",
21093
+ "type": "Text",
21094
+ "props": {
21095
+ "text": "More services did not load.",
21096
+ "style": "caption",
21097
+ "color": "textSecondary"
21098
+ }
21099
+ }
21100
+ },
21101
+ {
21102
+ "id": "himi_services.retry_page",
21103
+ "body": {
21104
+ "package": "himalaya",
21105
+ "type": "Button",
21106
+ "props": {
21107
+ "title": "Try again",
21108
+ "style": "secondary",
21109
+ "action": {
21110
+ "actionId": "tier5.himiBookingServices.retry"
21111
+ }
21112
+ }
21113
+ }
21114
+ }
21115
+ ]
21116
+ }
21117
+ },
21118
+ "modifiers": {
21119
+ "padding": {
21120
+ "leading": 20,
21121
+ "trailing": 20,
21122
+ "top": 12,
21123
+ "bottom": 0
21124
+ },
21125
+ "hiddenPath": "$service:himiBookingServices.collection.noPageError"
21126
+ }
21127
+ },
21128
+ {
21129
+ "id": "himi_services.empty_source",
21130
+ "body": {
21131
+ "package": "himalaya",
21132
+ "type": "VStack",
21133
+ "props": {
21134
+ "spacing": 10,
21135
+ "alignment": "center",
21136
+ "children": [
21137
+ {
21138
+ "id": "",
21139
+ "body": {
21140
+ "package": "himalaya",
21141
+ "type": "Icon",
21142
+ "props": {
21143
+ "name": "calendar",
21144
+ "size": 28,
21145
+ "tint": "textTertiary"
21146
+ }
21147
+ },
21148
+ "modifiers": {
21149
+ "accessibilityRole": "decorative"
21150
+ }
21151
+ },
21152
+ {
21153
+ "id": "",
21154
+ "body": {
21155
+ "package": "himalaya",
21156
+ "type": "Text",
21157
+ "props": {
21158
+ "text": "$service:himiBookingServices.collection.emptySourceText",
21159
+ "style": "body",
21160
+ "color": "textSecondary",
21161
+ "textAlign": "center"
21162
+ }
21163
+ }
21164
+ }
21165
+ ]
21166
+ }
21167
+ },
21168
+ "modifiers": {
21169
+ "fillMaxWidth": true,
21170
+ "padding": {
21171
+ "leading": 20,
21172
+ "trailing": 20,
21173
+ "top": 40,
21174
+ "bottom": 0
21175
+ },
21176
+ "transition": {
21177
+ "enter": "fade",
21178
+ "exit": "fade"
21179
+ },
21180
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
21181
+ }
21182
+ },
21183
+ {
21184
+ "id": "himi_services.empty",
21185
+ "body": {
21186
+ "package": "himalaya",
21187
+ "type": "VStack",
21188
+ "props": {
21189
+ "spacing": 16,
21190
+ "alignment": "center",
21191
+ "children": [
21192
+ {
21193
+ "id": "himi_services.no_match_text",
21194
+ "body": {
21195
+ "package": "himalaya",
21196
+ "type": "Text",
21197
+ "props": {
21198
+ "text": "$service:himiBookingServices.noMatchText",
21199
+ "style": "body",
21200
+ "color": "textSecondary",
21201
+ "textAlign": "center"
21202
+ }
21203
+ }
21204
+ },
21205
+ {
21206
+ "id": "himi_services.empty.cta",
21207
+ "body": {
21208
+ "package": "himalaya",
21209
+ "type": "Button",
21210
+ "props": {
21211
+ "title": "Clear Search",
21212
+ "style": "secondary",
21213
+ "action": {
21214
+ "actionId": "tier5.himiBookingServices.search",
21215
+ "params": {
21216
+ "value": ""
21217
+ }
21218
+ }
21219
+ }
21220
+ },
21221
+ "modifiers": {
21222
+ "hiddenPath": "$service:himiBookingServices.noQuery"
21223
+ }
21224
+ }
21225
+ ]
21226
+ }
21227
+ },
21228
+ "modifiers": {
21229
+ "fillMaxWidth": true,
21230
+ "padding": {
21231
+ "leading": 20,
21232
+ "trailing": 20,
21233
+ "top": 40,
21234
+ "bottom": 0
21235
+ },
21236
+ "transition": {
21237
+ "enter": "fade",
21238
+ "exit": "fade"
21239
+ },
21240
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21241
+ }
21242
+ },
21243
+ {
21244
+ "id": "himi_services.location_empty",
21245
+ "body": {
21246
+ "package": "himalaya",
21247
+ "type": "VStack",
21248
+ "props": {
21249
+ "spacing": 16,
21250
+ "alignment": "center",
21251
+ "children": [
21252
+ {
21253
+ "id": "himi_services.location_empty_text",
21254
+ "body": {
21255
+ "package": "himalaya",
21256
+ "type": "Text",
21257
+ "props": {
21258
+ "text": "$service:himiBookingServices.locationEmptyText",
21259
+ "style": "body",
21260
+ "color": "textSecondary",
21261
+ "textAlign": "center"
21262
+ }
21263
+ }
21264
+ },
21265
+ {
21266
+ "id": "himi_services.all_locations",
21267
+ "body": {
21268
+ "package": "himalaya",
21269
+ "type": "Button",
21270
+ "props": {
21271
+ "title": "Show all locations",
21272
+ "style": "secondary",
21273
+ "action": {
21274
+ "actionId": "tier5.himiBookingServices.selectLocation",
21275
+ "params": {
21276
+ "locationId": ""
21277
+ }
21278
+ }
21279
+ }
21280
+ }
21281
+ }
21282
+ ]
21283
+ }
21284
+ },
21285
+ "modifiers": {
21286
+ "fillMaxWidth": true,
21287
+ "padding": {
21288
+ "leading": 20,
21289
+ "trailing": 20,
21290
+ "top": 40,
21291
+ "bottom": 0
21292
+ },
21293
+ "transition": {
21294
+ "enter": "fade",
21295
+ "exit": "fade"
21296
+ },
21297
+ "hiddenPath": "$service:himiBookingServices.notLocationEmpty"
21298
+ }
21299
+ },
21300
+ {
21301
+ "id": "himi_services.location_sheet",
21302
+ "body": {
21303
+ "package": "himalaya",
21304
+ "type": "BottomSheet",
21305
+ "props": {
21306
+ "presentedPath": "$service:himiBookingServices.locationSheetOpen",
21307
+ "dismissible": true,
21308
+ "showGrabber": true,
21309
+ "onDismiss": {
21310
+ "actionId": "tier5.himiBookingServices.closeLocations"
21311
+ },
21312
+ "content": {
21313
+ "id": "",
21314
+ "body": {
21315
+ "package": "himalaya",
21316
+ "type": "VStack",
21317
+ "props": {
21318
+ "spacing": 8,
21319
+ "alignment": "leading",
21320
+ "children": [
21321
+ {
21322
+ "id": "",
21323
+ "body": {
21324
+ "package": "himalaya",
21325
+ "type": "Text",
21326
+ "props": {
21327
+ "text": "Choose a location",
21328
+ "style": "title3"
21329
+ }
21330
+ }
21331
+ },
21332
+ {
21333
+ "id": "himi_services.location_options",
21334
+ "body": {
21335
+ "package": "himalaya",
21336
+ "type": "Grid",
21337
+ "props": {
21338
+ "columns": 1,
21339
+ "spacing": 0,
21340
+ "itemsPath": "$service:himiBookingServices.locationOptions",
21341
+ "items": [
21342
+ {
21343
+ "id": "",
21344
+ "body": {
21345
+ "package": "himalaya",
21346
+ "type": "VStack",
21347
+ "props": {
21348
+ "spacing": 0,
21349
+ "children": [
21350
+ {
21351
+ "id": "",
21352
+ "body": {
21353
+ "package": "himalaya",
21354
+ "type": "HStack",
21355
+ "props": {
21356
+ "spacing": 12,
21357
+ "alignment": "center",
21358
+ "children": [
21359
+ {
21360
+ "id": "",
21361
+ "body": {
21362
+ "package": "himalaya",
21363
+ "type": "VStack",
21364
+ "props": {
21365
+ "spacing": 2,
21366
+ "alignment": "leading",
21367
+ "children": [
21368
+ {
21369
+ "id": "",
21370
+ "body": {
21371
+ "package": "himalaya",
21372
+ "type": "Text",
21373
+ "props": {
21374
+ "text": "$item.label",
21375
+ "style": "body",
21376
+ "maxLines": 2
21377
+ }
21378
+ }
21379
+ },
21380
+ {
21381
+ "id": "",
21382
+ "body": {
21383
+ "package": "himalaya",
21384
+ "type": "Text",
21385
+ "props": {
21386
+ "text": "$item.sub",
21387
+ "style": "caption",
21388
+ "color": "textSecondary",
21389
+ "maxLines": 2
21390
+ }
21391
+ },
21392
+ "modifiers": {
21393
+ "hiddenPath": "$item.noSub"
21394
+ }
21395
+ }
21396
+ ]
21397
+ }
21398
+ }
21399
+ },
21400
+ {
21401
+ "id": "",
21402
+ "body": {
21403
+ "package": "himalaya",
21404
+ "type": "Spacer",
21405
+ "props": {}
21406
+ }
21407
+ },
21408
+ {
21409
+ "id": "",
21410
+ "body": {
21411
+ "package": "himalaya",
21412
+ "type": "Icon",
21413
+ "props": {
21414
+ "name": "check",
21415
+ "size": 20,
21416
+ "tint": "accentPrimary"
20980
21417
  }
21418
+ },
21419
+ "modifiers": {
21420
+ "accessibilityRole": "decorative",
21421
+ "hiddenPath": "$item.notSelected"
20981
21422
  }
20982
- ]
20983
- }
20984
- },
20985
- "modifiers": {
20986
- "height": 36,
20987
- "padding": {
20988
- "leading": 16,
20989
- "trailing": 16,
20990
- "top": 0,
20991
- "bottom": 0
20992
- },
20993
- "cornerRadius": 18,
20994
- "border": {
20995
- "width": 1,
20996
- "color": {
20997
- "token": "textPrimary"
20998
21423
  }
20999
- }
21424
+ ]
21425
+ }
21426
+ },
21427
+ "modifiers": {
21428
+ "fillMaxWidth": true,
21429
+ "padding": {
21430
+ "top": 15,
21431
+ "bottom": 15
21000
21432
  }
21001
21433
  }
21002
- ]
21003
- }
21004
- },
21005
- "modifiers": {
21006
- "padding": {
21007
- "leading": 0,
21008
- "trailing": 0,
21009
- "top": 4,
21010
- "bottom": 4
21011
- },
21012
- "onTap": {
21013
- "actionId": "himi.open",
21014
- "params": {
21015
- "screenId": "himi_time",
21016
- "id": "$item.id"
21434
+ },
21435
+ {
21436
+ "id": "",
21437
+ "body": {
21438
+ "package": "himalaya",
21439
+ "type": "Divider",
21440
+ "props": {}
21441
+ }
21017
21442
  }
21018
- },
21019
- "accessibilityRole": "button",
21020
- "accessibilityLabel": "$item.bookA11y",
21021
- "pressFeedback": "scale",
21022
- "haptic": "light",
21023
- "hiddenPath": "$item.noBook"
21443
+ ]
21024
21444
  }
21445
+ },
21446
+ "modifiers": {
21447
+ "fillMaxWidth": true,
21448
+ "onTap": {
21449
+ "actionId": "tier5.himiBookingServices.selectLocation",
21450
+ "params": {
21451
+ "locationId": "$item.id"
21452
+ }
21453
+ },
21454
+ "pressFeedback": "highlight",
21455
+ "accessibilityRole": "button",
21456
+ "accessibilityLabel": "$item.a11y"
21025
21457
  }
21026
- ]
21027
- }
21028
- },
21029
- "modifiers": {
21030
- "fillMaxWidth": true,
21031
- "padding": {
21032
- "leading": 20,
21033
- "trailing": 20,
21034
- "top": 14,
21035
- "bottom": 14
21036
- }
21037
- }
21038
- },
21039
- {
21040
- "id": "",
21041
- "body": {
21042
- "package": "himalaya",
21043
- "type": "Divider",
21044
- "props": {}
21458
+ }
21459
+ ]
21045
21460
  }
21046
21461
  }
21047
- ]
21048
- }
21049
- },
21050
- "modifiers": {
21051
- "onTap": {
21052
- "actionId": "himi.open",
21053
- "params": {
21054
- "screenId": "$item.detailScreenId",
21055
- "id": "$item.id"
21056
21462
  }
21057
- },
21058
- "pressFeedback": "highlight",
21059
- "haptic": "light",
21060
- "accessibilityLabel": "$item.a11y",
21061
- "transition": {
21062
- "enter": "fadeSlide",
21063
- "direction": "up",
21064
- "distance": 8
21065
- }
21463
+ ]
21464
+ }
21465
+ },
21466
+ "modifiers": {
21467
+ "padding": {
21468
+ "leading": 20,
21469
+ "trailing": 20,
21470
+ "top": 8,
21471
+ "bottom": 24
21066
21472
  }
21067
21473
  }
21068
- ]
21474
+ }
21069
21475
  }
21070
- },
21071
- "modifiers": {
21072
- "padding": {
21073
- "leading": 0,
21074
- "trailing": 0,
21075
- "top": 12,
21076
- "bottom": 0
21077
- },
21078
- "hiddenPath": "$service:himiBookingServices.hideRows"
21079
21476
  }
21080
- },
21477
+ }
21478
+ ]
21479
+ }
21480
+ },
21481
+ "modifiers": {
21482
+ "background": {
21483
+ "token": "surfacePrimary"
21484
+ },
21485
+ "padding": {
21486
+ "leading": 0,
21487
+ "trailing": 0,
21488
+ "bottom": 24
21489
+ },
21490
+ "onAppear": {
21491
+ "actionId": "tier5.himiBookingServices.load",
21492
+ "params": {
21493
+ "copy": "{\"services.subtitle\":\"Find a treatment and book your visit.\"}"
21494
+ }
21495
+ }
21496
+ }
21497
+ },
21498
+ "logicBundle": {
21499
+ "url": "http://localhost:8190/v1/bundles/himi-booking-services",
21500
+ "integrity": "",
21501
+ "contentType": "application/javascript+ts-bundle",
21502
+ "declaredCapabilities": [
21503
+ "wix_api",
21504
+ "local_database",
21505
+ "app_info"
21506
+ ],
21507
+ "minBinaryVersion": "0.1.0",
21508
+ "bundleVersion": "0.0.1"
21509
+ },
21510
+ "stickyHeader": {
21511
+ "id": "himi_services.header",
21512
+ "body": {
21513
+ "package": "himalaya",
21514
+ "type": "VStack",
21515
+ "props": {
21516
+ "spacing": 0,
21517
+ "alignment": "leading",
21518
+ "children": [
21081
21519
  {
21082
21520
  "id": "",
21083
21521
  "body": {
21084
21522
  "package": "himalaya",
21085
21523
  "type": "VStack",
21086
21524
  "props": {
21087
- "spacing": 8,
21525
+ "spacing": 4,
21088
21526
  "alignment": "leading",
21089
21527
  "children": [
21090
21528
  {
21091
- "id": "",
21529
+ "id": "himi_services.title",
21092
21530
  "body": {
21093
21531
  "package": "himalaya",
21094
21532
  "type": "Text",
21095
21533
  "props": {
21096
- "text": "More services did not load.",
21097
- "style": "caption",
21098
- "color": "textSecondary"
21099
- }
21100
- }
21101
- },
21102
- {
21103
- "id": "himi_services.retry_page",
21104
- "body": {
21105
- "package": "himalaya",
21106
- "type": "Button",
21107
- "props": {
21108
- "title": "Try again",
21109
- "style": "secondary",
21110
- "action": {
21111
- "actionId": "tier5.himiBookingServices.retry"
21112
- }
21534
+ "text": "Services",
21535
+ "style": "title1"
21113
21536
  }
21114
21537
  }
21115
21538
  }
@@ -21120,46 +21543,32 @@ const SCREENS = runtimeSetting({
21120
21543
  "padding": {
21121
21544
  "leading": 20,
21122
21545
  "trailing": 20,
21123
- "top": 12,
21546
+ "top": 0,
21124
21547
  "bottom": 0
21125
- },
21126
- "hiddenPath": "$service:himiBookingServices.collection.noPageError"
21548
+ }
21127
21549
  }
21128
21550
  },
21129
21551
  {
21130
- "id": "himi_services.empty_source",
21552
+ "id": "",
21131
21553
  "body": {
21132
21554
  "package": "himalaya",
21133
21555
  "type": "VStack",
21134
21556
  "props": {
21135
- "spacing": 10,
21136
- "alignment": "center",
21557
+ "spacing": 0,
21558
+ "alignment": "leading",
21137
21559
  "children": [
21138
21560
  {
21139
- "id": "",
21140
- "body": {
21141
- "package": "himalaya",
21142
- "type": "Icon",
21143
- "props": {
21144
- "name": "calendar",
21145
- "size": 28,
21146
- "tint": "textTertiary"
21147
- }
21148
- },
21149
- "modifiers": {
21150
- "accessibilityRole": "decorative"
21151
- }
21152
- },
21153
- {
21154
- "id": "",
21561
+ "id": "himi_services.search",
21155
21562
  "body": {
21156
21563
  "package": "himalaya",
21157
- "type": "Text",
21564
+ "type": "SearchField",
21158
21565
  "props": {
21159
- "text": "$service:himiBookingServices.collection.emptySourceText",
21160
- "style": "body",
21161
- "color": "textSecondary",
21162
- "textAlign": "center"
21566
+ "placeholder": "Search services",
21567
+ "value": "$service:himiBookingServices.collection.query",
21568
+ "debounceMs": 200,
21569
+ "onChange": {
21570
+ "actionId": "tier5.himiBookingServices.search"
21571
+ }
21163
21572
  }
21164
21573
  }
21165
21574
  }
@@ -21167,100 +21576,67 @@ const SCREENS = runtimeSetting({
21167
21576
  }
21168
21577
  },
21169
21578
  "modifiers": {
21170
- "fillMaxWidth": true,
21171
21579
  "padding": {
21172
21580
  "leading": 20,
21173
21581
  "trailing": 20,
21174
- "top": 40,
21582
+ "top": 16,
21175
21583
  "bottom": 0
21176
21584
  },
21177
- "transition": {
21178
- "enter": "fade",
21179
- "exit": "fade"
21585
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
21586
+ }
21587
+ },
21588
+ {
21589
+ "id": "himi_services.categories",
21590
+ "body": {
21591
+ "package": "himalaya",
21592
+ "type": "FilterChips",
21593
+ "props": {
21594
+ "chips": [],
21595
+ "optionsPath": "$service:himiBookingServices.categoryChips",
21596
+ "selectedIds": [
21597
+ "$service:himiBookingServices.activeCategory"
21598
+ ],
21599
+ "multiSelect": false,
21600
+ "onChange": {
21601
+ "actionId": "tier5.himiBookingServices.scrollToCategory"
21602
+ }
21603
+ }
21604
+ },
21605
+ "modifiers": {
21606
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
21607
+ "padding": {
21608
+ "leading": 20,
21609
+ "trailing": 20,
21610
+ "top": 12,
21611
+ "bottom": 0
21180
21612
  },
21181
- "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
21613
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
21182
21614
  }
21183
21615
  },
21184
21616
  {
21185
- "id": "himi_services.empty",
21617
+ "id": "",
21186
21618
  "body": {
21187
21619
  "package": "himalaya",
21188
21620
  "type": "VStack",
21189
21621
  "props": {
21190
- "spacing": 16,
21191
- "alignment": "center",
21622
+ "spacing": 0,
21192
21623
  "children": [
21193
21624
  {
21194
- "id": "himi_services.no_match_text",
21195
- "body": {
21196
- "package": "himalaya",
21197
- "type": "Text",
21198
- "props": {
21199
- "text": "$service:himiBookingServices.noMatchText",
21200
- "style": "body",
21201
- "color": "textSecondary",
21202
- "textAlign": "center"
21203
- }
21204
- }
21205
- },
21206
- {
21207
- "id": "himi_services.empty.cta",
21208
- "body": {
21209
- "package": "himalaya",
21210
- "type": "Button",
21211
- "props": {
21212
- "title": "Clear Search",
21213
- "style": "secondary",
21214
- "action": {
21215
- "actionId": "tier5.himiBookingServices.search",
21216
- "params": {
21217
- "value": ""
21218
- }
21219
- }
21220
- }
21221
- },
21222
- "modifiers": {
21223
- "hiddenPath": "$service:himiBookingServices.noQuery"
21224
- }
21225
- },
21226
- {
21227
- "id": "himi_services.empty.show_all",
21625
+ "id": "",
21228
21626
  "body": {
21229
21627
  "package": "himalaya",
21230
- "type": "Button",
21231
- "props": {
21232
- "title": "Show All",
21233
- "style": "secondary",
21234
- "action": {
21235
- "actionId": "tier5.himiBookingServices.collectionFilter",
21236
- "args": {
21237
- "selectedIds": [
21238
- "all"
21239
- ]
21240
- }
21241
- }
21242
- }
21243
- },
21244
- "modifiers": {
21245
- "hiddenPath": "$service:himiBookingServices.hasQuery"
21628
+ "type": "Divider",
21629
+ "props": {}
21246
21630
  }
21247
21631
  }
21248
21632
  ]
21249
21633
  }
21250
21634
  },
21251
21635
  "modifiers": {
21252
- "fillMaxWidth": true,
21253
21636
  "padding": {
21254
- "leading": 20,
21255
- "trailing": 20,
21256
- "top": 40,
21257
- "bottom": 0
21258
- },
21259
- "transition": {
21260
- "enter": "fade",
21261
- "exit": "fade"
21637
+ "top": 12
21262
21638
  },
21263
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21639
+ "fillMaxWidth": true
21264
21640
  }
21265
21641
  }
21266
21642
  ]
@@ -21271,46 +21647,25 @@ const SCREENS = runtimeSetting({
21271
21647
  "token": "surfacePrimary"
21272
21648
  },
21273
21649
  "padding": {
21274
- "leading": 0,
21275
- "trailing": 0,
21276
- "top": 18,
21277
- "bottom": 24
21650
+ "top": 18
21278
21651
  },
21279
- "onAppear": {
21280
- "actionId": "tier5.himiBookingServices.load",
21281
- "params": {
21282
- "copy": "{\"services.subtitle\":\"Find a treatment and book your visit.\"}"
21283
- }
21284
- }
21652
+ "fillMaxWidth": true
21285
21653
  }
21286
21654
  },
21287
- "logicBundle": {
21288
- "url": "http://localhost:8190/v1/bundles/himi-booking-services",
21289
- "integrity": "",
21290
- "contentType": "application/javascript+ts-bundle",
21291
- "declaredCapabilities": [
21292
- "wix_api",
21293
- "local_database"
21294
- ],
21295
- "minBinaryVersion": "0.1.0",
21296
- "bundleVersion": "0.0.1"
21297
- },
21298
21655
  "topBar": {
21299
21656
  "actions": [
21300
21657
  {
21301
- "id": "bookings",
21302
- "icon": "calendar",
21303
- "accessibilityLabel": "My Bookings",
21658
+ "id": "location",
21659
+ "icon": "location",
21660
+ "accessibilityLabel": "Choose a location",
21304
21661
  "onTap": {
21305
- "actionId": "himi.open",
21306
- "params": {
21307
- "screenId": "himi_bookings"
21308
- }
21309
- }
21662
+ "actionId": "tier5.himiBookingServices.openLocations"
21663
+ },
21664
+ "hiddenPath": "$service:brandedLiteNav.noLocationMenu"
21310
21665
  },
21311
21666
  {
21312
21667
  "id": "agenda",
21313
- "icon": "list",
21668
+ "icon": "calendar",
21314
21669
  "accessibilityLabel": "Agenda",
21315
21670
  "onTap": {
21316
21671
  "actionId": "himi.open",
@@ -21365,29 +21720,45 @@ const SCREENS = runtimeSetting({
21365
21720
  }
21366
21721
  },
21367
21722
  {
21368
- "id": "himi_bookings.tabs",
21723
+ "id": "",
21369
21724
  "body": {
21370
21725
  "package": "himalaya",
21371
- "type": "SegmentedControl",
21726
+ "type": "VStack",
21372
21727
  "props": {
21373
- "options": [
21374
- {
21375
- "id": "upcoming",
21376
- "label": "Upcoming"
21377
- },
21378
- {
21379
- "id": "past",
21380
- "label": "Past"
21381
- },
21728
+ "spacing": 0,
21729
+ "alignment": "leading",
21730
+ "children": [
21382
21731
  {
21383
- "id": "cancelled",
21384
- "label": "Canceled"
21732
+ "id": "himi_bookings.tabs",
21733
+ "body": {
21734
+ "package": "himalaya",
21735
+ "type": "SegmentedControl",
21736
+ "props": {
21737
+ "options": [
21738
+ {
21739
+ "id": "upcoming",
21740
+ "label": "Upcoming"
21741
+ },
21742
+ {
21743
+ "id": "past",
21744
+ "label": "Past"
21745
+ },
21746
+ {
21747
+ "id": "cancelled",
21748
+ "label": "Canceled"
21749
+ }
21750
+ ],
21751
+ "selectedId": "$service:himiBookingBookings.tab",
21752
+ "onChange": {
21753
+ "actionId": "tier5.himiBookingBookings.selectTab"
21754
+ }
21755
+ }
21756
+ },
21757
+ "modifiers": {
21758
+ "fillMaxWidth": true
21759
+ }
21385
21760
  }
21386
- ],
21387
- "selectedId": "$service:himiBookingBookings.tab",
21388
- "onChange": {
21389
- "actionId": "tier5.himiBookingBookings.selectTab"
21390
- }
21761
+ ]
21391
21762
  }
21392
21763
  },
21393
21764
  "modifiers": {
@@ -23656,8 +24027,8 @@ const SCREENS = runtimeSetting({
23656
24027
  },
23657
24028
  "modifiers": {
23658
24029
  "padding": {
23659
- "leading": 20,
23660
- "trailing": 20,
24030
+ "leading": 16,
24031
+ "trailing": 16,
23661
24032
  "top": 14,
23662
24033
  "bottom": 14
23663
24034
  },
@@ -23763,8 +24134,8 @@ const SCREENS = runtimeSetting({
23763
24134
  },
23764
24135
  "modifiers": {
23765
24136
  "padding": {
23766
- "leading": 20,
23767
- "trailing": 20,
24137
+ "leading": 16,
24138
+ "trailing": 16,
23768
24139
  "top": 14,
23769
24140
  "bottom": 14
23770
24141
  },
@@ -23870,8 +24241,8 @@ const SCREENS = runtimeSetting({
23870
24241
  },
23871
24242
  "modifiers": {
23872
24243
  "padding": {
23873
- "leading": 20,
23874
- "trailing": 20,
24244
+ "leading": 16,
24245
+ "trailing": 16,
23875
24246
  "top": 14,
23876
24247
  "bottom": 14
23877
24248
  },
@@ -24142,7 +24513,9 @@ const SCREENS = runtimeSetting({
24142
24513
  "actionId": "himi.open",
24143
24514
  "params": {
24144
24515
  "screenId": "himi_service",
24145
- "id": "$item.serviceId"
24516
+ "id": "$item.serviceId",
24517
+ "sessionId": "$item.sessionId",
24518
+ "start": "$item.start"
24146
24519
  }
24147
24520
  },
24148
24521
  "pressFeedback": "highlight",
@@ -24309,7 +24682,9 @@ const SCREENS = runtimeSetting({
24309
24682
  "actionId": "himi.open",
24310
24683
  "params": {
24311
24684
  "screenId": "himi_service",
24312
- "id": "$item.serviceId"
24685
+ "id": "$item.serviceId",
24686
+ "sessionId": "$item.sessionId",
24687
+ "start": "$item.start"
24313
24688
  }
24314
24689
  },
24315
24690
  "accessibilityRole": "button",
@@ -24498,6 +24873,8 @@ const SCREENS = runtimeSetting({
24498
24873
  },
24499
24874
  "modifiers": {
24500
24875
  "padding": {
24876
+ "leading": 16,
24877
+ "trailing": 16,
24501
24878
  "top": 14,
24502
24879
  "bottom": 14
24503
24880
  },
@@ -24510,20 +24887,22 @@ const SCREENS = runtimeSetting({
24510
24887
  "package": "himalaya",
24511
24888
  "type": "Divider",
24512
24889
  "props": {}
24890
+ },
24891
+ "modifiers": {
24892
+ "hiddenPath": "$item.lastOfDay"
24513
24893
  }
24514
24894
  }
24515
24895
  ]
24516
24896
  }
24517
24897
  }
24898
+ },
24899
+ "onVisibleDateChange": {
24900
+ "actionId": "tier5.himiBrandedAgenda.visibleDate"
24518
24901
  }
24519
24902
  }
24520
24903
  },
24521
24904
  "modifiers": {
24522
24905
  "fillMaxWidth": true,
24523
- "padding": {
24524
- "leading": 20,
24525
- "trailing": 20
24526
- },
24527
24906
  "hiddenPath": "$service:himiBrandedAgenda.listHidden"
24528
24907
  }
24529
24908
  },
@@ -24644,6 +25023,58 @@ const SCREENS = runtimeSetting({
24644
25023
  "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
24645
25024
  }
24646
25025
  },
25026
+ {
25027
+ "id": "himi_agenda.location_empty",
25028
+ "body": {
25029
+ "package": "himalaya",
25030
+ "type": "VStack",
25031
+ "props": {
25032
+ "spacing": 22,
25033
+ "alignment": "center",
25034
+ "children": [
25035
+ {
25036
+ "id": "",
25037
+ "body": {
25038
+ "package": "himalaya",
25039
+ "type": "Text",
25040
+ "props": {
25041
+ "text": "No classes at this location in the coming weeks.",
25042
+ "style": "body",
25043
+ "color": "textPrimary",
25044
+ "textAlign": "center"
25045
+ }
25046
+ }
25047
+ },
25048
+ {
25049
+ "id": "himi_agenda.all_locations",
25050
+ "body": {
25051
+ "package": "himalaya",
25052
+ "type": "Button",
25053
+ "props": {
25054
+ "title": "Show all locations",
25055
+ "style": "secondary",
25056
+ "action": {
25057
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25058
+ "params": {
25059
+ "locationId": ""
25060
+ }
25061
+ }
25062
+ }
25063
+ }
25064
+ }
25065
+ ]
25066
+ }
25067
+ },
25068
+ "modifiers": {
25069
+ "padding": {
25070
+ "leading": 28,
25071
+ "trailing": 28,
25072
+ "top": 48
25073
+ },
25074
+ "fillMaxWidth": true,
25075
+ "hiddenPath": "$service:himiBrandedAgenda.notLocationEmpty"
25076
+ }
25077
+ },
24647
25078
  {
24648
25079
  "id": "himi_agenda.sheet",
24649
25080
  "body": {
@@ -24748,7 +25179,9 @@ const SCREENS = runtimeSetting({
24748
25179
  "nav": {
24749
25180
  "screenId": "himi_service",
24750
25181
  "args": {
24751
- "id": "$service:himiBrandedAgenda.sheetServiceId"
25182
+ "id": "$service:himiBrandedAgenda.sheetServiceId",
25183
+ "sessionId": "$service:himiBrandedAgenda.sheetSessionId",
25184
+ "start": "$service:himiBrandedAgenda.sheetStart"
24752
25185
  }
24753
25186
  }
24754
25187
  }
@@ -24777,34 +25210,212 @@ const SCREENS = runtimeSetting({
24777
25210
  }
24778
25211
  },
24779
25212
  {
24780
- "id": "himi_agenda.leave_waitlist",
25213
+ "id": "himi_agenda.leave_waitlist",
25214
+ "body": {
25215
+ "package": "himalaya",
25216
+ "type": "Button",
25217
+ "props": {
25218
+ "title": "Leave Waitlist",
25219
+ "style": "tertiary",
25220
+ "leadingIcon": "close",
25221
+ "fullWidth": true,
25222
+ "disabledPath": "$service:himiBrandedAgenda.sheetBusy",
25223
+ "role": "destructive",
25224
+ "action": {
25225
+ "actionId": "tier5.himiBrandedAgenda.cancelBooking"
25226
+ }
25227
+ }
25228
+ },
25229
+ "modifiers": {
25230
+ "hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
25231
+ }
25232
+ }
25233
+ ]
25234
+ }
25235
+ },
25236
+ "modifiers": {
25237
+ "padding": {
25238
+ "top": 12
25239
+ },
25240
+ "fillMaxWidth": true
25241
+ }
25242
+ }
25243
+ ]
25244
+ }
25245
+ },
25246
+ "modifiers": {
25247
+ "padding": {
25248
+ "leading": 20,
25249
+ "trailing": 20,
25250
+ "top": 8,
25251
+ "bottom": 24
25252
+ }
25253
+ }
25254
+ }
25255
+ }
25256
+ }
25257
+ },
25258
+ {
25259
+ "id": "himi_agenda.location_sheet",
25260
+ "body": {
25261
+ "package": "himalaya",
25262
+ "type": "BottomSheet",
25263
+ "props": {
25264
+ "presentedPath": "$service:himiBrandedAgenda.locationSheetOpen",
25265
+ "dismissible": true,
25266
+ "showGrabber": true,
25267
+ "onDismiss": {
25268
+ "actionId": "tier5.himiBrandedAgenda.closeLocations"
25269
+ },
25270
+ "content": {
25271
+ "id": "",
25272
+ "body": {
25273
+ "package": "himalaya",
25274
+ "type": "VStack",
25275
+ "props": {
25276
+ "spacing": 8,
25277
+ "alignment": "leading",
25278
+ "children": [
25279
+ {
25280
+ "id": "",
25281
+ "body": {
25282
+ "package": "himalaya",
25283
+ "type": "Text",
25284
+ "props": {
25285
+ "text": "Choose a location",
25286
+ "style": "title3"
25287
+ }
25288
+ }
25289
+ },
25290
+ {
25291
+ "id": "himi_agenda.location_options",
25292
+ "body": {
25293
+ "package": "himalaya",
25294
+ "type": "Grid",
25295
+ "props": {
25296
+ "columns": 1,
25297
+ "spacing": 0,
25298
+ "itemsPath": "$service:himiBrandedAgenda.locationOptions",
25299
+ "items": [
25300
+ {
25301
+ "id": "",
24781
25302
  "body": {
24782
25303
  "package": "himalaya",
24783
- "type": "Button",
25304
+ "type": "VStack",
24784
25305
  "props": {
24785
- "title": "Leave Waitlist",
24786
- "style": "tertiary",
24787
- "leadingIcon": "close",
24788
- "fullWidth": true,
24789
- "disabledPath": "$service:himiBrandedAgenda.sheetBusy",
24790
- "role": "destructive",
24791
- "action": {
24792
- "actionId": "tier5.himiBrandedAgenda.cancelBooking"
24793
- }
25306
+ "spacing": 0,
25307
+ "children": [
25308
+ {
25309
+ "id": "",
25310
+ "body": {
25311
+ "package": "himalaya",
25312
+ "type": "HStack",
25313
+ "props": {
25314
+ "spacing": 12,
25315
+ "alignment": "center",
25316
+ "children": [
25317
+ {
25318
+ "id": "",
25319
+ "body": {
25320
+ "package": "himalaya",
25321
+ "type": "VStack",
25322
+ "props": {
25323
+ "spacing": 2,
25324
+ "alignment": "leading",
25325
+ "children": [
25326
+ {
25327
+ "id": "",
25328
+ "body": {
25329
+ "package": "himalaya",
25330
+ "type": "Text",
25331
+ "props": {
25332
+ "text": "$item.label",
25333
+ "style": "body",
25334
+ "maxLines": 2
25335
+ }
25336
+ }
25337
+ },
25338
+ {
25339
+ "id": "",
25340
+ "body": {
25341
+ "package": "himalaya",
25342
+ "type": "Text",
25343
+ "props": {
25344
+ "text": "$item.sub",
25345
+ "style": "caption",
25346
+ "color": "textSecondary",
25347
+ "maxLines": 2
25348
+ }
25349
+ },
25350
+ "modifiers": {
25351
+ "hiddenPath": "$item.noSub"
25352
+ }
25353
+ }
25354
+ ]
25355
+ }
25356
+ }
25357
+ },
25358
+ {
25359
+ "id": "",
25360
+ "body": {
25361
+ "package": "himalaya",
25362
+ "type": "Spacer",
25363
+ "props": {}
25364
+ }
25365
+ },
25366
+ {
25367
+ "id": "",
25368
+ "body": {
25369
+ "package": "himalaya",
25370
+ "type": "Icon",
25371
+ "props": {
25372
+ "name": "check",
25373
+ "size": 20,
25374
+ "tint": "accentPrimary"
25375
+ }
25376
+ },
25377
+ "modifiers": {
25378
+ "accessibilityRole": "decorative",
25379
+ "hiddenPath": "$item.notSelected"
25380
+ }
25381
+ }
25382
+ ]
25383
+ }
25384
+ },
25385
+ "modifiers": {
25386
+ "fillMaxWidth": true,
25387
+ "padding": {
25388
+ "top": 15,
25389
+ "bottom": 15
25390
+ }
25391
+ }
25392
+ },
25393
+ {
25394
+ "id": "",
25395
+ "body": {
25396
+ "package": "himalaya",
25397
+ "type": "Divider",
25398
+ "props": {}
25399
+ }
25400
+ }
25401
+ ]
24794
25402
  }
24795
25403
  },
24796
25404
  "modifiers": {
24797
- "hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
25405
+ "fillMaxWidth": true,
25406
+ "onTap": {
25407
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25408
+ "params": {
25409
+ "locationId": "$item.id"
25410
+ }
25411
+ },
25412
+ "pressFeedback": "highlight",
25413
+ "accessibilityRole": "button",
25414
+ "accessibilityLabel": "$item.a11y"
24798
25415
  }
24799
25416
  }
24800
25417
  ]
24801
25418
  }
24802
- },
24803
- "modifiers": {
24804
- "padding": {
24805
- "top": 12
24806
- },
24807
- "fillMaxWidth": true
24808
25419
  }
24809
25420
  }
24810
25421
  ]
@@ -25046,76 +25657,159 @@ const SCREENS = runtimeSetting({
25046
25657
  "top": 16,
25047
25658
  "bottom": 16
25048
25659
  },
25049
- "fillMaxWidth": true
25660
+ "fillMaxWidth": true
25661
+ }
25662
+ }
25663
+ }
25664
+ }
25665
+ }
25666
+ ]
25667
+ }
25668
+ },
25669
+ "modifiers": {
25670
+ "background": {
25671
+ "token": "surfacePrimary"
25672
+ },
25673
+ "onAppear": {
25674
+ "actionId": "tier5.himiBrandedAgenda.load",
25675
+ "params": {
25676
+ "firstWeekday": "0",
25677
+ "signInPresentation": "sheet"
25678
+ }
25679
+ }
25680
+ }
25681
+ },
25682
+ "logicBundle": {
25683
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
25684
+ "integrity": "",
25685
+ "contentType": "application/javascript+ts-bundle",
25686
+ "declaredCapabilities": [
25687
+ "wix_api",
25688
+ "app_info",
25689
+ "calendar",
25690
+ "open_url",
25691
+ "local_database"
25692
+ ],
25693
+ "minBinaryVersion": "0.1.0",
25694
+ "bundleVersion": "0.0.1"
25695
+ },
25696
+ "topBar": {
25697
+ "leading": "none"
25698
+ },
25699
+ "stickyHeader": {
25700
+ "id": "himi_agenda.header",
25701
+ "body": {
25702
+ "package": "himalaya",
25703
+ "type": "VStack",
25704
+ "props": {
25705
+ "spacing": 0,
25706
+ "alignment": "leading",
25707
+ "children": [
25708
+ {
25709
+ "id": "",
25710
+ "body": {
25711
+ "package": "himalaya",
25712
+ "type": "HStack",
25713
+ "props": {
25714
+ "spacing": 0,
25715
+ "alignment": "center",
25716
+ "children": [
25717
+ {
25718
+ "id": "himi_agenda.back",
25719
+ "body": {
25720
+ "package": "himalaya",
25721
+ "type": "Button",
25722
+ "props": {
25723
+ "title": "Back",
25724
+ "action": {
25725
+ "actionId": "nav.back",
25726
+ "presentation": "back"
25727
+ },
25728
+ "style": "tertiary",
25729
+ "iconOnly": true,
25730
+ "leadingIcon": "chevron_left",
25731
+ "cornerRadius": 22,
25732
+ "minHeight": 44
25733
+ }
25734
+ },
25735
+ "modifiers": {
25736
+ "width": 44,
25737
+ "height": 44,
25738
+ "accessibilityLabel": "Back",
25739
+ "accessibilityRole": "button"
25740
+ }
25741
+ },
25742
+ {
25743
+ "id": "",
25744
+ "body": {
25745
+ "package": "himalaya",
25746
+ "type": "Spacer",
25747
+ "props": {}
25748
+ }
25749
+ },
25750
+ {
25751
+ "id": "himi_agenda.location",
25752
+ "body": {
25753
+ "package": "himalaya",
25754
+ "type": "ZStack",
25755
+ "props": {
25756
+ "children": [
25757
+ {
25758
+ "id": "",
25759
+ "body": {
25760
+ "package": "himalaya",
25761
+ "type": "Icon",
25762
+ "props": {
25763
+ "name": "location",
25764
+ "size": 22,
25765
+ "tint": "textPrimary"
25766
+ }
25767
+ },
25768
+ "modifiers": {
25769
+ "accessibilityRole": "decorative",
25770
+ "hiddenPath": "$service:himiBrandedAgenda.locationActive"
25771
+ }
25772
+ },
25773
+ {
25774
+ "id": "",
25775
+ "body": {
25776
+ "package": "himalaya",
25777
+ "type": "Icon",
25778
+ "props": {
25779
+ "name": "location",
25780
+ "size": 22,
25781
+ "tint": "accentPrimary"
25782
+ }
25783
+ },
25784
+ "modifiers": {
25785
+ "accessibilityRole": "decorative",
25786
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationActive"
25787
+ }
25788
+ }
25789
+ ]
25790
+ }
25791
+ },
25792
+ "modifiers": {
25793
+ "width": 44,
25794
+ "height": 44,
25795
+ "onTap": {
25796
+ "actionId": "tier5.himiBrandedAgenda.openLocations"
25797
+ },
25798
+ "pressFeedback": "highlight",
25799
+ "accessibilityRole": "button",
25800
+ "accessibilityLabel": "$service:himiBrandedAgenda.locationA11y",
25801
+ "accessibilityHint": "Choose a location",
25802
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationMenu"
25803
+ }
25050
25804
  }
25051
- }
25052
- }
25053
- }
25054
- }
25055
- ]
25056
- }
25057
- },
25058
- "modifiers": {
25059
- "background": {
25060
- "token": "surfacePrimary"
25061
- },
25062
- "onAppear": {
25063
- "actionId": "tier5.himiBrandedAgenda.load",
25064
- "params": {
25065
- "firstWeekday": "0",
25066
- "signInPresentation": "sheet"
25067
- }
25068
- }
25069
- }
25070
- },
25071
- "logicBundle": {
25072
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
25073
- "integrity": "",
25074
- "contentType": "application/javascript+ts-bundle",
25075
- "declaredCapabilities": [
25076
- "wix_api",
25077
- "app_info",
25078
- "calendar",
25079
- "open_url"
25080
- ],
25081
- "minBinaryVersion": "0.1.0",
25082
- "bundleVersion": "0.0.1"
25083
- },
25084
- "topBar": {
25085
- "leading": "none"
25086
- },
25087
- "stickyHeader": {
25088
- "id": "himi_agenda.header",
25089
- "body": {
25090
- "package": "himalaya",
25091
- "type": "VStack",
25092
- "props": {
25093
- "spacing": 0,
25094
- "alignment": "leading",
25095
- "children": [
25096
- {
25097
- "id": "himi_agenda.back",
25098
- "body": {
25099
- "package": "himalaya",
25100
- "type": "Button",
25101
- "props": {
25102
- "title": "Back",
25103
- "action": {
25104
- "actionId": "nav.back",
25105
- "presentation": "back"
25106
- },
25107
- "style": "tertiary",
25108
- "iconOnly": true,
25109
- "leadingIcon": "chevron_left",
25110
- "cornerRadius": 22,
25111
- "minHeight": 44
25805
+ ]
25112
25806
  }
25113
25807
  },
25114
25808
  "modifiers": {
25115
- "width": 44,
25116
- "height": 44,
25117
- "accessibilityLabel": "Back",
25118
- "accessibilityRole": "button"
25809
+ "fillMaxWidth": true,
25810
+ "padding": {
25811
+ "trailing": 4
25812
+ }
25119
25813
  }
25120
25814
  },
25121
25815
  {
@@ -35381,7 +36075,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35381
36075
  "alignment": "leading",
35382
36076
  "children": [
35383
36077
  {
35384
- "id": "",
36078
+ "id": "himi_service.title",
36079
+ "body": {
36080
+ "package": "himalaya",
36081
+ "type": "Text",
36082
+ "props": {
36083
+ "text": "$service:himiBookingService.name",
36084
+ "style": "pageTitle",
36085
+ "maxLines": 3,
36086
+ "collapseWhenEmpty": true
36087
+ }
36088
+ }
36089
+ },
36090
+ {
36091
+ "id": "himi_service.session_when",
35385
36092
  "body": {
35386
36093
  "package": "himalaya",
35387
36094
  "type": "HStack",
@@ -35390,62 +36097,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35390
36097
  "alignment": "center",
35391
36098
  "children": [
35392
36099
  {
35393
- "id": "himi_service.category",
36100
+ "id": "",
35394
36101
  "body": {
35395
36102
  "package": "himalaya",
35396
- "type": "Text",
36103
+ "type": "Icon",
35397
36104
  "props": {
35398
- "text": "$service:himiBookingService.category",
35399
- "style": "footnote",
35400
- "color": "textSecondary",
35401
- "maxLines": 1
36105
+ "name": "calendar",
36106
+ "size": 20,
36107
+ "tint": "textSecondary"
35402
36108
  }
35403
36109
  },
35404
36110
  "modifiers": {
35405
- "hiddenPath": "$service:himiBookingService.noCategory"
36111
+ "accessibilityRole": "decorative"
35406
36112
  }
35407
36113
  },
35408
36114
  {
35409
- "id": "himi_service.type_tag",
36115
+ "id": "",
35410
36116
  "body": {
35411
36117
  "package": "himalaya",
35412
36118
  "type": "Text",
35413
36119
  "props": {
35414
- "text": "$service:himiBookingService.typeTag",
35415
- "style": "caption",
35416
- "color": "textSecondary",
35417
- "maxLines": 1
36120
+ "text": "$service:himiBookingService.sessionWhen",
36121
+ "style": "bodyEmphasis",
36122
+ "maxLines": 2
35418
36123
  }
35419
36124
  },
35420
36125
  "modifiers": {
35421
- "background": {
35422
- "token": "surfaceTertiary"
35423
- },
35424
- "cornerRadius": 4,
35425
- "padding": {
35426
- "leading": 8,
35427
- "trailing": 8,
35428
- "top": 2,
35429
- "bottom": 2
35430
- },
35431
- "hiddenPath": "$service:himiBookingService.noTypeTag"
36126
+ "weight": 1
36127
+ }
36128
+ },
36129
+ {
36130
+ "id": "himi_service.change_time",
36131
+ "body": {
36132
+ "package": "himalaya",
36133
+ "type": "Button",
36134
+ "props": {
36135
+ "title": "Change Time",
36136
+ "style": "tertiary",
36137
+ "size": "sm",
36138
+ "action": {
36139
+ "actionId": "tier5.himiBookingService.changeTime"
36140
+ }
36141
+ }
36142
+ },
36143
+ "modifiers": {
36144
+ "hiddenPath": "$service:himiBookingService.noChangeTime"
35432
36145
  }
35433
36146
  }
35434
36147
  ]
35435
36148
  }
35436
- }
35437
- },
35438
- {
35439
- "id": "himi_service.title",
35440
- "body": {
35441
- "package": "himalaya",
35442
- "type": "Text",
35443
- "props": {
35444
- "text": "$service:himiBookingService.name",
35445
- "style": "pageTitle",
35446
- "maxLines": 3,
35447
- "collapseWhenEmpty": true
35448
- }
36149
+ },
36150
+ "modifiers": {
36151
+ "fillMaxWidth": true,
36152
+ "hiddenPath": "$service:himiBookingService.noSession"
35449
36153
  }
35450
36154
  },
35451
36155
  {
@@ -35556,6 +36260,104 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35556
36260
  "spacing": 16,
35557
36261
  "alignment": "leading",
35558
36262
  "children": [
36263
+ {
36264
+ "id": "himi_service.session",
36265
+ "body": {
36266
+ "package": "himalaya",
36267
+ "type": "HStack",
36268
+ "props": {
36269
+ "spacing": 12,
36270
+ "alignment": "center",
36271
+ "children": [
36272
+ {
36273
+ "id": "",
36274
+ "body": {
36275
+ "package": "himalaya",
36276
+ "type": "ZStack",
36277
+ "props": {
36278
+ "alignment": "center",
36279
+ "children": [
36280
+ {
36281
+ "id": "",
36282
+ "body": {
36283
+ "package": "himalaya",
36284
+ "type": "Icon",
36285
+ "props": {
36286
+ "name": "calendar",
36287
+ "size": 20,
36288
+ "tint": "textSecondary"
36289
+ }
36290
+ },
36291
+ "modifiers": {
36292
+ "accessibilityRole": "decorative"
36293
+ }
36294
+ }
36295
+ ]
36296
+ }
36297
+ },
36298
+ "modifiers": {
36299
+ "width": 20,
36300
+ "height": 20
36301
+ }
36302
+ },
36303
+ {
36304
+ "id": "",
36305
+ "body": {
36306
+ "package": "himalaya",
36307
+ "type": "VStack",
36308
+ "props": {
36309
+ "spacing": 2,
36310
+ "alignment": "leading",
36311
+ "children": [
36312
+ {
36313
+ "id": "",
36314
+ "body": {
36315
+ "package": "himalaya",
36316
+ "type": "Text",
36317
+ "props": {
36318
+ "text": "$service:himiBookingService.sessionDate",
36319
+ "style": "body",
36320
+ "color": "textPrimary",
36321
+ "maxLines": 2
36322
+ }
36323
+ }
36324
+ },
36325
+ {
36326
+ "id": "",
36327
+ "body": {
36328
+ "package": "himalaya",
36329
+ "type": "Text",
36330
+ "props": {
36331
+ "text": "$service:himiBookingService.sessionTime",
36332
+ "style": "caption",
36333
+ "color": "textSecondary",
36334
+ "maxLines": 1,
36335
+ "collapseWhenEmpty": true
36336
+ }
36337
+ }
36338
+ }
36339
+ ]
36340
+ }
36341
+ }
36342
+ },
36343
+ {
36344
+ "id": "",
36345
+ "body": {
36346
+ "package": "himalaya",
36347
+ "type": "Spacer",
36348
+ "props": {}
36349
+ }
36350
+ }
36351
+ ]
36352
+ }
36353
+ },
36354
+ "modifiers": {
36355
+ "fillMaxWidth": true,
36356
+ "accessibilityLabel": "$service:himiBookingService.sessionDate",
36357
+ "accessibilityValue": "$service:himiBookingService.sessionTime",
36358
+ "hiddenPath": "$service:himiBookingService.noSession"
36359
+ }
36360
+ },
35559
36361
  {
35560
36362
  "id": "himi_service.course_dates",
35561
36363
  "body": {
@@ -36954,7 +37756,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36954
37756
  "bottom": 24
36955
37757
  },
36956
37758
  "onAppear": {
36957
- "actionId": "tier5.himiBookingService.load"
37759
+ "actionId": "tier5.himiBookingService.load",
37760
+ "params": {
37761
+ "signInScreenId": "himi_sign_in",
37762
+ "signInPresentation": "sheet"
37763
+ }
36958
37764
  }
36959
37765
  }
36960
37766
  },
@@ -37011,6 +37817,77 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37011
37817
  "props": {
37012
37818
  "spacing": 0,
37013
37819
  "children": [
37820
+ {
37821
+ "id": "himi_service.session_message",
37822
+ "body": {
37823
+ "package": "himalaya",
37824
+ "type": "HStack",
37825
+ "props": {
37826
+ "spacing": 8,
37827
+ "alignment": "center",
37828
+ "children": [
37829
+ {
37830
+ "id": "",
37831
+ "body": {
37832
+ "package": "himalaya",
37833
+ "type": "Icon",
37834
+ "props": {
37835
+ "name": "check",
37836
+ "size": 20,
37837
+ "tint": "success"
37838
+ }
37839
+ },
37840
+ "modifiers": {
37841
+ "accessibilityRole": "decorative",
37842
+ "hiddenPath": "$service:himiBookingService.sessionMessageFailed"
37843
+ }
37844
+ },
37845
+ {
37846
+ "id": "",
37847
+ "body": {
37848
+ "package": "himalaya",
37849
+ "type": "Icon",
37850
+ "props": {
37851
+ "name": "info",
37852
+ "size": 20,
37853
+ "tint": "accentPrimary"
37854
+ }
37855
+ },
37856
+ "modifiers": {
37857
+ "accessibilityRole": "decorative",
37858
+ "hiddenPath": "$service:himiBookingService.sessionMessageOk"
37859
+ }
37860
+ },
37861
+ {
37862
+ "id": "",
37863
+ "body": {
37864
+ "package": "himalaya",
37865
+ "type": "Text",
37866
+ "props": {
37867
+ "text": "$service:himiBookingService.sessionMessage",
37868
+ "style": "footnote",
37869
+ "color": "textPrimary",
37870
+ "maxLines": 2
37871
+ }
37872
+ },
37873
+ "modifiers": {
37874
+ "weight": 1,
37875
+ "announce": {
37876
+ "politeness": "polite"
37877
+ }
37878
+ }
37879
+ }
37880
+ ]
37881
+ }
37882
+ },
37883
+ "modifiers": {
37884
+ "fillMaxWidth": true,
37885
+ "padding": {
37886
+ "bottom": 12
37887
+ },
37888
+ "hiddenPath": "$service:himiBookingService.noSessionMessage"
37889
+ }
37890
+ },
37014
37891
  {
37015
37892
  "id": "himi_service.choose_time",
37016
37893
  "body": {
@@ -37136,6 +38013,251 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37136
38013
  "modifiers": {
37137
38014
  "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
37138
38015
  }
38016
+ },
38017
+ {
38018
+ "id": "himi_service.session_book",
38019
+ "body": {
38020
+ "package": "himalaya",
38021
+ "type": "Button",
38022
+ "props": {
38023
+ "title": "Book",
38024
+ "style": "primary",
38025
+ "fullWidth": true,
38026
+ "action": {
38027
+ "actionId": "tier5.himiBookingService.book"
38028
+ }
38029
+ }
38030
+ },
38031
+ "modifiers": {
38032
+ "cornerRadius": 8,
38033
+ "pressFeedback": "scale",
38034
+ "haptic": "medium",
38035
+ "height": 48,
38036
+ "hiddenPath": "$service:himiBookingService.noSessionBook"
38037
+ }
38038
+ },
38039
+ {
38040
+ "id": "himi_service.session_request",
38041
+ "body": {
38042
+ "package": "himalaya",
38043
+ "type": "Button",
38044
+ "props": {
38045
+ "title": "Request to Book",
38046
+ "style": "primary",
38047
+ "fullWidth": true,
38048
+ "action": {
38049
+ "actionId": "tier5.himiBookingService.book"
38050
+ }
38051
+ }
38052
+ },
38053
+ "modifiers": {
38054
+ "cornerRadius": 8,
38055
+ "pressFeedback": "scale",
38056
+ "haptic": "medium",
38057
+ "height": 48,
38058
+ "hiddenPath": "$service:himiBookingService.noSessionRequest"
38059
+ }
38060
+ },
38061
+ {
38062
+ "id": "himi_service.session_waitlist",
38063
+ "body": {
38064
+ "package": "himalaya",
38065
+ "type": "Button",
38066
+ "props": {
38067
+ "title": "Join Waitlist",
38068
+ "style": "primary",
38069
+ "fullWidth": true,
38070
+ "action": {
38071
+ "actionId": "tier5.himiBookingService.joinWaitlist"
38072
+ }
38073
+ }
38074
+ },
38075
+ "modifiers": {
38076
+ "cornerRadius": 8,
38077
+ "pressFeedback": "scale",
38078
+ "haptic": "medium",
38079
+ "height": 48,
38080
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlist"
38081
+ }
38082
+ },
38083
+ {
38084
+ "id": "himi_service.session_closed",
38085
+ "body": {
38086
+ "package": "himalaya",
38087
+ "type": "VStack",
38088
+ "props": {
38089
+ "spacing": 8,
38090
+ "alignment": "center",
38091
+ "children": [
38092
+ {
38093
+ "id": "",
38094
+ "body": {
38095
+ "package": "himalaya",
38096
+ "type": "Text",
38097
+ "props": {
38098
+ "text": "$service:himiBookingService.closedLabel",
38099
+ "style": "footnote",
38100
+ "color": "textSecondary",
38101
+ "maxLines": 1,
38102
+ "textAlign": "center"
38103
+ }
38104
+ },
38105
+ "modifiers": {
38106
+ "accessibilityHidden": true
38107
+ }
38108
+ },
38109
+ {
38110
+ "id": "himi_service.session_book_closed",
38111
+ "body": {
38112
+ "package": "himalaya",
38113
+ "type": "Button",
38114
+ "props": {
38115
+ "title": "Book",
38116
+ "style": "primary",
38117
+ "fullWidth": true,
38118
+ "disabled": true,
38119
+ "action": {
38120
+ "actionId": "tier5.himiBookingService.book"
38121
+ }
38122
+ }
38123
+ },
38124
+ "modifiers": {
38125
+ "height": 48,
38126
+ "cornerRadius": 8,
38127
+ "accessibilityValue": "$service:himiBookingService.closedLabel"
38128
+ }
38129
+ }
38130
+ ]
38131
+ }
38132
+ },
38133
+ "modifiers": {
38134
+ "fillMaxWidth": true,
38135
+ "hiddenPath": "$service:himiBookingService.noSessionClosed"
38136
+ }
38137
+ },
38138
+ {
38139
+ "id": "himi_service.session_booked",
38140
+ "body": {
38141
+ "package": "himalaya",
38142
+ "type": "ZStack",
38143
+ "props": {
38144
+ "alignment": "center",
38145
+ "children": [
38146
+ {
38147
+ "id": "",
38148
+ "body": {
38149
+ "package": "himalaya",
38150
+ "type": "HStack",
38151
+ "props": {
38152
+ "spacing": 8,
38153
+ "alignment": "center",
38154
+ "children": [
38155
+ {
38156
+ "id": "",
38157
+ "body": {
38158
+ "package": "himalaya",
38159
+ "type": "Icon",
38160
+ "props": {
38161
+ "name": "check",
38162
+ "size": 20,
38163
+ "tint": "success"
38164
+ }
38165
+ },
38166
+ "modifiers": {
38167
+ "accessibilityRole": "decorative"
38168
+ }
38169
+ },
38170
+ {
38171
+ "id": "",
38172
+ "body": {
38173
+ "package": "himalaya",
38174
+ "type": "Text",
38175
+ "props": {
38176
+ "text": "Booked",
38177
+ "style": "bodyEmphasis",
38178
+ "color": "textPrimary",
38179
+ "maxLines": 1
38180
+ }
38181
+ }
38182
+ }
38183
+ ]
38184
+ }
38185
+ }
38186
+ }
38187
+ ]
38188
+ }
38189
+ },
38190
+ "modifiers": {
38191
+ "fillMaxWidth": true,
38192
+ "height": 48,
38193
+ "background": {
38194
+ "token": "surfaceSecondary"
38195
+ },
38196
+ "cornerRadius": 8,
38197
+ "hiddenPath": "$service:himiBookingService.noSessionBooked"
38198
+ }
38199
+ },
38200
+ {
38201
+ "id": "himi_service.session_waitlisted",
38202
+ "body": {
38203
+ "package": "himalaya",
38204
+ "type": "ZStack",
38205
+ "props": {
38206
+ "alignment": "center",
38207
+ "children": [
38208
+ {
38209
+ "id": "",
38210
+ "body": {
38211
+ "package": "himalaya",
38212
+ "type": "HStack",
38213
+ "props": {
38214
+ "spacing": 8,
38215
+ "alignment": "center",
38216
+ "children": [
38217
+ {
38218
+ "id": "",
38219
+ "body": {
38220
+ "package": "himalaya",
38221
+ "type": "Icon",
38222
+ "props": {
38223
+ "name": "clock",
38224
+ "size": 20,
38225
+ "tint": "textSecondary"
38226
+ }
38227
+ },
38228
+ "modifiers": {
38229
+ "accessibilityRole": "decorative"
38230
+ }
38231
+ },
38232
+ {
38233
+ "id": "",
38234
+ "body": {
38235
+ "package": "himalaya",
38236
+ "type": "Text",
38237
+ "props": {
38238
+ "text": "On waitlist",
38239
+ "style": "bodyEmphasis",
38240
+ "color": "textPrimary",
38241
+ "maxLines": 1
38242
+ }
38243
+ }
38244
+ }
38245
+ ]
38246
+ }
38247
+ }
38248
+ }
38249
+ ]
38250
+ }
38251
+ },
38252
+ "modifiers": {
38253
+ "fillMaxWidth": true,
38254
+ "height": 48,
38255
+ "background": {
38256
+ "token": "surfaceSecondary"
38257
+ },
38258
+ "cornerRadius": 8,
38259
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlisted"
38260
+ }
37139
38261
  }
37140
38262
  ]
37141
38263
  }