@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
@@ -19936,115 +19936,6 @@ const SCREENS = runtimeSetting({
19936
19936
  "spacing": 0,
19937
19937
  "alignment": "leading",
19938
19938
  "children": [
19939
- {
19940
- "id": "",
19941
- "body": {
19942
- "package": "himalaya",
19943
- "type": "VStack",
19944
- "props": {
19945
- "spacing": 4,
19946
- "alignment": "leading",
19947
- "children": [
19948
- {
19949
- "id": "himi_services.title",
19950
- "body": {
19951
- "package": "himalaya",
19952
- "type": "Text",
19953
- "props": {
19954
- "text": "Services",
19955
- "style": "title1"
19956
- }
19957
- }
19958
- },
19959
- {
19960
- "id": "himi_services.subtitle",
19961
- "body": {
19962
- "package": "himalaya",
19963
- "type": "Text",
19964
- "props": {
19965
- "text": "Find a class and book your spot.",
19966
- "style": "body",
19967
- "color": "textSecondary"
19968
- }
19969
- }
19970
- }
19971
- ]
19972
- }
19973
- },
19974
- "modifiers": {
19975
- "padding": {
19976
- "leading": 20,
19977
- "trailing": 20,
19978
- "top": 0,
19979
- "bottom": 0
19980
- }
19981
- }
19982
- },
19983
- {
19984
- "id": "",
19985
- "body": {
19986
- "package": "himalaya",
19987
- "type": "VStack",
19988
- "props": {
19989
- "spacing": 0,
19990
- "alignment": "leading",
19991
- "children": [
19992
- {
19993
- "id": "himi_services.search",
19994
- "body": {
19995
- "package": "himalaya",
19996
- "type": "SearchField",
19997
- "props": {
19998
- "placeholder": "Search services",
19999
- "value": "$service:himiBookingServices.collection.query",
20000
- "debounceMs": 200,
20001
- "onChange": {
20002
- "actionId": "tier5.himiBookingServices.search"
20003
- }
20004
- }
20005
- }
20006
- }
20007
- ]
20008
- }
20009
- },
20010
- "modifiers": {
20011
- "padding": {
20012
- "leading": 20,
20013
- "trailing": 20,
20014
- "top": 16,
20015
- "bottom": 0
20016
- },
20017
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
20018
- }
20019
- },
20020
- {
20021
- "id": "himi_services.categories",
20022
- "body": {
20023
- "package": "himalaya",
20024
- "type": "FilterChips",
20025
- "props": {
20026
- "chips": [],
20027
- "optionsPath": "$service:himiBookingServices.categoryChips",
20028
- "selectedIds": [
20029
- "$service:himiBookingServices.collection.filter"
20030
- ],
20031
- "multiSelect": false,
20032
- "onChange": {
20033
- "actionId": "tier5.himiBookingServices.collectionFilter"
20034
- }
20035
- }
20036
- },
20037
- "modifiers": {
20038
- "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
20039
- "padding": {
20040
- "leading": 20,
20041
- "trailing": 20,
20042
- "top": 12,
20043
- "bottom": 0
20044
- },
20045
- "hiddenPath": "$service:himiBookingServices.hideCategories"
20046
- }
20047
- },
20048
19939
  {
20049
19940
  "id": "himi_services.offline",
20050
19941
  "body": {
@@ -20197,6 +20088,48 @@ const SCREENS = runtimeSetting({
20197
20088
  "spacing": 0,
20198
20089
  "alignment": "leading",
20199
20090
  "children": [
20091
+ {
20092
+ "id": "himi_services.skeleton_title",
20093
+ "body": {
20094
+ "package": "himalaya",
20095
+ "type": "VStack",
20096
+ "props": {
20097
+ "spacing": 0,
20098
+ "alignment": "leading",
20099
+ "children": [
20100
+ {
20101
+ "id": "",
20102
+ "body": {
20103
+ "package": "himalaya",
20104
+ "type": "Skeleton",
20105
+ "props": {
20106
+ "width": 120,
20107
+ "height": 20,
20108
+ "cornerRadius": 4
20109
+ }
20110
+ },
20111
+ "modifiers": {
20112
+ "width": 120,
20113
+ "height": 20,
20114
+ "background": {
20115
+ "token": "surfaceSecondary"
20116
+ },
20117
+ "cornerRadius": 4,
20118
+ "accessibilityRole": "decorative"
20119
+ }
20120
+ }
20121
+ ]
20122
+ }
20123
+ },
20124
+ "modifiers": {
20125
+ "padding": {
20126
+ "leading": 20,
20127
+ "trailing": 20,
20128
+ "top": 20,
20129
+ "bottom": 4
20130
+ }
20131
+ }
20132
+ },
20200
20133
  {
20201
20134
  "id": "himi_services.skeleton_1",
20202
20135
  "body": {
@@ -20908,7 +20841,7 @@ const SCREENS = runtimeSetting({
20908
20841
  "padding": {
20909
20842
  "leading": 0,
20910
20843
  "trailing": 0,
20911
- "top": 12,
20844
+ "top": 0,
20912
20845
  "bottom": 0
20913
20846
  },
20914
20847
  "hiddenPath": "$service:himiBookingServices.collection.noLoading"
@@ -20921,7 +20854,7 @@ const SCREENS = runtimeSetting({
20921
20854
  "type": "LazyList",
20922
20855
  "props": {
20923
20856
  "spacing": 0,
20924
- "itemsPath": "$service:himiBookingServices.collection.items",
20857
+ "itemsPath": "$service:himiBookingServices.listRows",
20925
20858
  "onPullToRefresh": {
20926
20859
  "actionId": "tier5.himiBookingServices.refresh"
20927
20860
  },
@@ -20930,13 +20863,17 @@ const SCREENS = runtimeSetting({
20930
20863
  "onLoadMore": {
20931
20864
  "actionId": "tier5.himiBookingServices.loadMore"
20932
20865
  },
20933
- "pageSize": 50
20866
+ "pageSize": 100
20934
20867
  },
20935
20868
  "staggerMs": 30,
20936
20869
  "animateItems": true,
20870
+ "scrollToItemPath": "$service:himiBookingServices.scrollTo",
20871
+ "onTopItemChange": {
20872
+ "actionId": "tier5.himiBookingServices.topItemChanged"
20873
+ },
20937
20874
  "items": [
20938
20875
  {
20939
- "id": "himi_services.row.$item.id",
20876
+ "id": "himi_services.item.$item.id",
20940
20877
  "body": {
20941
20878
  "package": "himalaya",
20942
20879
  "type": "VStack",
@@ -20945,47 +20882,75 @@ const SCREENS = runtimeSetting({
20945
20882
  "alignment": "leading",
20946
20883
  "children": [
20947
20884
  {
20948
- "id": "",
20885
+ "id": "himi_services.section.$item.id",
20949
20886
  "body": {
20950
20887
  "package": "himalaya",
20951
20888
  "type": "HStack",
20952
20889
  "props": {
20953
- "spacing": 14,
20890
+ "spacing": 0,
20954
20891
  "alignment": "center",
20955
20892
  "children": [
20956
20893
  {
20957
- "id": "himi_services.row.$item.id/image",
20894
+ "id": "",
20958
20895
  "body": {
20959
20896
  "package": "himalaya",
20960
- "type": "Image",
20897
+ "type": "Text",
20961
20898
  "props": {
20962
- "url": "$item.image",
20963
- "width": 72,
20964
- "height": 72,
20965
- "contentMode": "fill"
20899
+ "text": "$item.sectionTitle",
20900
+ "style": "title3",
20901
+ "maxLines": 2
20966
20902
  }
20967
- },
20968
- "modifiers": {
20969
- "accessibilityRole": "decorative",
20970
- "cornerRadius": 8,
20971
- "hiddenPath": "$item.noImage"
20972
20903
  }
20973
20904
  },
20974
20905
  {
20975
20906
  "id": "",
20976
20907
  "body": {
20977
20908
  "package": "himalaya",
20978
- "type": "ZStack",
20909
+ "type": "Spacer",
20910
+ "props": {}
20911
+ }
20912
+ }
20913
+ ]
20914
+ }
20915
+ },
20916
+ "modifiers": {
20917
+ "fillMaxWidth": true,
20918
+ "padding": {
20919
+ "leading": 20,
20920
+ "trailing": 20,
20921
+ "top": 20,
20922
+ "bottom": 4
20923
+ },
20924
+ "accessibilityRole": "heading",
20925
+ "accessibilityLabel": "$item.sectionTitle",
20926
+ "hiddenPath": "$item.notSection"
20927
+ }
20928
+ },
20929
+ {
20930
+ "id": "himi_services.row.$item.id",
20931
+ "body": {
20932
+ "package": "himalaya",
20933
+ "type": "VStack",
20934
+ "props": {
20935
+ "spacing": 0,
20936
+ "alignment": "leading",
20937
+ "children": [
20938
+ {
20939
+ "id": "",
20940
+ "body": {
20941
+ "package": "himalaya",
20942
+ "type": "HStack",
20979
20943
  "props": {
20944
+ "spacing": 14,
20980
20945
  "alignment": "center",
20981
20946
  "children": [
20982
20947
  {
20983
- "id": "",
20948
+ "id": "himi_services.row.$item.id/image",
20984
20949
  "body": {
20985
20950
  "package": "himalaya",
20986
20951
  "type": "Image",
20987
20952
  "props": {
20988
- "url": "",
20953
+ "url": "$item.image",
20989
20954
  "width": 72,
20990
20955
  "height": 72,
20991
20956
  "contentMode": "fill"
@@ -20994,292 +20959,750 @@ const SCREENS = runtimeSetting({
20994
20959
  "modifiers": {
20995
20960
  "accessibilityRole": "decorative",
20996
20961
  "cornerRadius": 8,
20997
- "background": {
20998
- "token": "surfaceSecondary"
20999
- }
20962
+ "hiddenPath": "$item.noImage"
21000
20963
  }
21001
20964
  },
21002
20965
  {
21003
20966
  "id": "",
21004
20967
  "body": {
21005
20968
  "package": "himalaya",
21006
- "type": "Icon",
20969
+ "type": "ZStack",
21007
20970
  "props": {
21008
- "name": "image",
21009
- "size": 24,
21010
- "tint": "accentPrimary"
20971
+ "alignment": "center",
20972
+ "children": [
20973
+ {
20974
+ "id": "",
20975
+ "body": {
20976
+ "package": "himalaya",
20977
+ "type": "Image",
20978
+ "props": {
20979
+ "url": "",
20980
+ "width": 72,
20981
+ "height": 72,
20982
+ "contentMode": "fill"
20983
+ }
20984
+ },
20985
+ "modifiers": {
20986
+ "accessibilityRole": "decorative",
20987
+ "cornerRadius": 8,
20988
+ "background": {
20989
+ "token": "surfaceSecondary"
20990
+ }
20991
+ }
20992
+ },
20993
+ {
20994
+ "id": "",
20995
+ "body": {
20996
+ "package": "himalaya",
20997
+ "type": "Icon",
20998
+ "props": {
20999
+ "name": "image",
21000
+ "size": 24,
21001
+ "tint": "accentPrimary"
21002
+ }
21003
+ },
21004
+ "modifiers": {
21005
+ "accessibilityRole": "decorative"
21006
+ }
21007
+ }
21008
+ ]
21011
21009
  }
21012
21010
  },
21013
21011
  "modifiers": {
21014
- "accessibilityRole": "decorative"
21012
+ "width": 72,
21013
+ "height": 72,
21014
+ "hiddenPath": "$item.hasImage"
21015
21015
  }
21016
- }
21017
- ]
21018
- }
21019
- },
21020
- "modifiers": {
21021
- "width": 72,
21022
- "height": 72,
21023
- "hiddenPath": "$item.hasImage"
21024
- }
21025
- },
21026
- {
21027
- "id": "",
21028
- "body": {
21029
- "package": "himalaya",
21030
- "type": "VStack",
21031
- "props": {
21032
- "spacing": 3,
21033
- "alignment": "leading",
21034
- "children": [
21016
+ },
21035
21017
  {
21036
21018
  "id": "",
21037
21019
  "body": {
21038
21020
  "package": "himalaya",
21039
- "type": "Text",
21021
+ "type": "VStack",
21040
21022
  "props": {
21041
- "text": "$item.typeTag",
21042
- "style": "caption",
21043
- "color": "textSecondary",
21044
- "maxLines": 1
21023
+ "spacing": 3,
21024
+ "alignment": "leading",
21025
+ "children": [
21026
+ {
21027
+ "id": "",
21028
+ "body": {
21029
+ "package": "himalaya",
21030
+ "type": "Text",
21031
+ "props": {
21032
+ "text": "$item.typeTag",
21033
+ "style": "caption",
21034
+ "color": "textSecondary",
21035
+ "maxLines": 1
21036
+ }
21037
+ },
21038
+ "modifiers": {
21039
+ "background": {
21040
+ "token": "surfaceTertiary"
21041
+ },
21042
+ "cornerRadius": 4,
21043
+ "padding": {
21044
+ "leading": 8,
21045
+ "trailing": 8,
21046
+ "top": 2,
21047
+ "bottom": 2
21048
+ },
21049
+ "hiddenPath": "$item.noTypeTag"
21050
+ }
21051
+ },
21052
+ {
21053
+ "id": "himi_services.row.$item.id/ended",
21054
+ "body": {
21055
+ "package": "himalaya",
21056
+ "type": "Text",
21057
+ "props": {
21058
+ "text": "$item.endedText",
21059
+ "style": "caption",
21060
+ "color": "textSecondary",
21061
+ "maxLines": 1,
21062
+ "collapseWhenEmpty": true
21063
+ }
21064
+ }
21065
+ },
21066
+ {
21067
+ "id": "",
21068
+ "body": {
21069
+ "package": "himalaya",
21070
+ "type": "Text",
21071
+ "props": {
21072
+ "text": "$item.name",
21073
+ "style": "bodyEmphasis",
21074
+ "maxLines": 2
21075
+ }
21076
+ }
21077
+ },
21078
+ {
21079
+ "id": "",
21080
+ "body": {
21081
+ "package": "himalaya",
21082
+ "type": "Text",
21083
+ "props": {
21084
+ "text": "$item.tagline",
21085
+ "style": "caption",
21086
+ "color": "textSecondary",
21087
+ "maxLines": 2,
21088
+ "collapseWhenEmpty": true
21089
+ }
21090
+ }
21091
+ },
21092
+ {
21093
+ "id": "",
21094
+ "body": {
21095
+ "package": "himalaya",
21096
+ "type": "Text",
21097
+ "props": {
21098
+ "text": "$item.meta",
21099
+ "style": "footnote",
21100
+ "color": "textSecondary",
21101
+ "maxLines": 2,
21102
+ "collapseWhenEmpty": true
21103
+ }
21104
+ }
21105
+ }
21106
+ ]
21045
21107
  }
21046
21108
  },
21047
21109
  "modifiers": {
21048
- "background": {
21049
- "token": "surfaceTertiary"
21050
- },
21051
- "cornerRadius": 4,
21052
- "padding": {
21053
- "leading": 8,
21054
- "trailing": 8,
21055
- "top": 2,
21056
- "bottom": 2
21057
- },
21058
- "hiddenPath": "$item.noTypeTag"
21059
- }
21060
- },
21061
- {
21062
- "id": "himi_services.row.$item.id/ended",
21063
- "body": {
21064
- "package": "himalaya",
21065
- "type": "Text",
21066
- "props": {
21067
- "text": "$item.endedText",
21068
- "style": "caption",
21069
- "color": "textSecondary",
21070
- "maxLines": 1,
21071
- "collapseWhenEmpty": true
21072
- }
21073
- }
21074
- },
21075
- {
21076
- "id": "",
21077
- "body": {
21078
- "package": "himalaya",
21079
- "type": "Text",
21080
- "props": {
21081
- "text": "$item.name",
21082
- "style": "bodyEmphasis",
21083
- "maxLines": 2
21084
- }
21085
- }
21086
- },
21087
- {
21088
- "id": "",
21089
- "body": {
21090
- "package": "himalaya",
21091
- "type": "Text",
21092
- "props": {
21093
- "text": "$item.tagline",
21094
- "style": "caption",
21095
- "color": "textSecondary",
21096
- "maxLines": 2,
21097
- "collapseWhenEmpty": true
21098
- }
21110
+ "weight": 1
21099
21111
  }
21100
21112
  },
21101
21113
  {
21102
- "id": "",
21114
+ "id": "himi_services.row.$item.id/book",
21103
21115
  "body": {
21104
21116
  "package": "himalaya",
21105
- "type": "Text",
21117
+ "type": "VStack",
21106
21118
  "props": {
21107
- "text": "$item.meta",
21108
- "style": "footnote",
21109
- "color": "textSecondary",
21110
- "maxLines": 2,
21111
- "collapseWhenEmpty": true
21119
+ "spacing": 0,
21120
+ "children": [
21121
+ {
21122
+ "id": "",
21123
+ "body": {
21124
+ "package": "himalaya",
21125
+ "type": "HStack",
21126
+ "props": {
21127
+ "spacing": 0,
21128
+ "alignment": "center",
21129
+ "children": [
21130
+ {
21131
+ "id": "",
21132
+ "body": {
21133
+ "package": "himalaya",
21134
+ "type": "Text",
21135
+ "props": {
21136
+ "text": "$item.bookCta",
21137
+ "style": "footnote",
21138
+ "color": "textPrimary",
21139
+ "maxLines": 1
21140
+ }
21141
+ }
21142
+ }
21143
+ ]
21144
+ }
21145
+ },
21146
+ "modifiers": {
21147
+ "height": 36,
21148
+ "padding": {
21149
+ "leading": 16,
21150
+ "trailing": 16,
21151
+ "top": 0,
21152
+ "bottom": 0
21153
+ },
21154
+ "cornerRadius": 18,
21155
+ "border": {
21156
+ "width": 1,
21157
+ "color": {
21158
+ "token": "textPrimary"
21159
+ }
21160
+ }
21161
+ }
21162
+ }
21163
+ ]
21112
21164
  }
21165
+ },
21166
+ "modifiers": {
21167
+ "padding": {
21168
+ "leading": 0,
21169
+ "trailing": 0,
21170
+ "top": 4,
21171
+ "bottom": 4
21172
+ },
21173
+ "onTap": {
21174
+ "actionId": "himi.open",
21175
+ "params": {
21176
+ "screenId": "himi_time",
21177
+ "id": "$item.id"
21178
+ }
21179
+ },
21180
+ "accessibilityRole": "button",
21181
+ "accessibilityLabel": "$item.bookA11y",
21182
+ "pressFeedback": "scale",
21183
+ "haptic": "light",
21184
+ "hiddenPath": "$item.noBook"
21113
21185
  }
21114
21186
  }
21115
21187
  ]
21116
21188
  }
21117
21189
  },
21118
21190
  "modifiers": {
21119
- "weight": 1
21191
+ "fillMaxWidth": true,
21192
+ "padding": {
21193
+ "leading": 20,
21194
+ "trailing": 20,
21195
+ "top": 14,
21196
+ "bottom": 14
21197
+ }
21120
21198
  }
21121
21199
  },
21122
21200
  {
21123
- "id": "himi_services.row.$item.id/book",
21201
+ "id": "",
21124
21202
  "body": {
21125
21203
  "package": "himalaya",
21126
- "type": "VStack",
21127
- "props": {
21128
- "spacing": 0,
21129
- "children": [
21130
- {
21131
- "id": "",
21132
- "body": {
21133
- "package": "himalaya",
21134
- "type": "HStack",
21135
- "props": {
21136
- "spacing": 0,
21137
- "alignment": "center",
21138
- "children": [
21139
- {
21140
- "id": "",
21141
- "body": {
21142
- "package": "himalaya",
21143
- "type": "Text",
21144
- "props": {
21145
- "text": "$item.bookCta",
21146
- "style": "footnote",
21147
- "color": "textPrimary",
21148
- "maxLines": 1
21149
- }
21204
+ "type": "Divider",
21205
+ "props": {}
21206
+ }
21207
+ }
21208
+ ]
21209
+ }
21210
+ },
21211
+ "modifiers": {
21212
+ "onTap": {
21213
+ "actionId": "himi.open",
21214
+ "params": {
21215
+ "screenId": "$item.detailScreenId",
21216
+ "id": "$item.id"
21217
+ }
21218
+ },
21219
+ "pressFeedback": "highlight",
21220
+ "haptic": "light",
21221
+ "accessibilityLabel": "$item.a11y",
21222
+ "hiddenPath": "$item.isSection"
21223
+ }
21224
+ }
21225
+ ]
21226
+ }
21227
+ },
21228
+ "modifiers": {
21229
+ "fillMaxWidth": true,
21230
+ "transition": {
21231
+ "enter": "fadeSlide",
21232
+ "direction": "up",
21233
+ "distance": 8
21234
+ }
21235
+ }
21236
+ }
21237
+ ]
21238
+ }
21239
+ },
21240
+ "modifiers": {
21241
+ "padding": {
21242
+ "leading": 0,
21243
+ "trailing": 0,
21244
+ "top": 0,
21245
+ "bottom": 0
21246
+ },
21247
+ "hiddenPath": "$service:himiBookingServices.hideRows"
21248
+ }
21249
+ },
21250
+ {
21251
+ "id": "",
21252
+ "body": {
21253
+ "package": "himalaya",
21254
+ "type": "VStack",
21255
+ "props": {
21256
+ "spacing": 8,
21257
+ "alignment": "leading",
21258
+ "children": [
21259
+ {
21260
+ "id": "",
21261
+ "body": {
21262
+ "package": "himalaya",
21263
+ "type": "Text",
21264
+ "props": {
21265
+ "text": "More services did not load.",
21266
+ "style": "caption",
21267
+ "color": "textSecondary"
21268
+ }
21269
+ }
21270
+ },
21271
+ {
21272
+ "id": "himi_services.retry_page",
21273
+ "body": {
21274
+ "package": "himalaya",
21275
+ "type": "Button",
21276
+ "props": {
21277
+ "title": "Try again",
21278
+ "style": "secondary",
21279
+ "action": {
21280
+ "actionId": "tier5.himiBookingServices.retry"
21281
+ }
21282
+ }
21283
+ }
21284
+ }
21285
+ ]
21286
+ }
21287
+ },
21288
+ "modifiers": {
21289
+ "padding": {
21290
+ "leading": 20,
21291
+ "trailing": 20,
21292
+ "top": 12,
21293
+ "bottom": 0
21294
+ },
21295
+ "hiddenPath": "$service:himiBookingServices.collection.noPageError"
21296
+ }
21297
+ },
21298
+ {
21299
+ "id": "himi_services.empty_source",
21300
+ "body": {
21301
+ "package": "himalaya",
21302
+ "type": "VStack",
21303
+ "props": {
21304
+ "spacing": 10,
21305
+ "alignment": "center",
21306
+ "children": [
21307
+ {
21308
+ "id": "",
21309
+ "body": {
21310
+ "package": "himalaya",
21311
+ "type": "Icon",
21312
+ "props": {
21313
+ "name": "calendar",
21314
+ "size": 28,
21315
+ "tint": "textTertiary"
21316
+ }
21317
+ },
21318
+ "modifiers": {
21319
+ "accessibilityRole": "decorative"
21320
+ }
21321
+ },
21322
+ {
21323
+ "id": "",
21324
+ "body": {
21325
+ "package": "himalaya",
21326
+ "type": "Text",
21327
+ "props": {
21328
+ "text": "$service:himiBookingServices.collection.emptySourceText",
21329
+ "style": "body",
21330
+ "color": "textSecondary",
21331
+ "textAlign": "center"
21332
+ }
21333
+ }
21334
+ }
21335
+ ]
21336
+ }
21337
+ },
21338
+ "modifiers": {
21339
+ "fillMaxWidth": true,
21340
+ "padding": {
21341
+ "leading": 20,
21342
+ "trailing": 20,
21343
+ "top": 40,
21344
+ "bottom": 0
21345
+ },
21346
+ "transition": {
21347
+ "enter": "fade",
21348
+ "exit": "fade"
21349
+ },
21350
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
21351
+ }
21352
+ },
21353
+ {
21354
+ "id": "himi_services.empty",
21355
+ "body": {
21356
+ "package": "himalaya",
21357
+ "type": "VStack",
21358
+ "props": {
21359
+ "spacing": 16,
21360
+ "alignment": "center",
21361
+ "children": [
21362
+ {
21363
+ "id": "himi_services.no_match_text",
21364
+ "body": {
21365
+ "package": "himalaya",
21366
+ "type": "Text",
21367
+ "props": {
21368
+ "text": "$service:himiBookingServices.noMatchText",
21369
+ "style": "body",
21370
+ "color": "textSecondary",
21371
+ "textAlign": "center"
21372
+ }
21373
+ }
21374
+ },
21375
+ {
21376
+ "id": "himi_services.empty.cta",
21377
+ "body": {
21378
+ "package": "himalaya",
21379
+ "type": "Button",
21380
+ "props": {
21381
+ "title": "Clear Search",
21382
+ "style": "secondary",
21383
+ "action": {
21384
+ "actionId": "tier5.himiBookingServices.search",
21385
+ "params": {
21386
+ "value": ""
21387
+ }
21388
+ }
21389
+ }
21390
+ },
21391
+ "modifiers": {
21392
+ "hiddenPath": "$service:himiBookingServices.noQuery"
21393
+ }
21394
+ }
21395
+ ]
21396
+ }
21397
+ },
21398
+ "modifiers": {
21399
+ "fillMaxWidth": true,
21400
+ "padding": {
21401
+ "leading": 20,
21402
+ "trailing": 20,
21403
+ "top": 40,
21404
+ "bottom": 0
21405
+ },
21406
+ "transition": {
21407
+ "enter": "fade",
21408
+ "exit": "fade"
21409
+ },
21410
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21411
+ }
21412
+ },
21413
+ {
21414
+ "id": "himi_services.location_empty",
21415
+ "body": {
21416
+ "package": "himalaya",
21417
+ "type": "VStack",
21418
+ "props": {
21419
+ "spacing": 16,
21420
+ "alignment": "center",
21421
+ "children": [
21422
+ {
21423
+ "id": "himi_services.location_empty_text",
21424
+ "body": {
21425
+ "package": "himalaya",
21426
+ "type": "Text",
21427
+ "props": {
21428
+ "text": "$service:himiBookingServices.locationEmptyText",
21429
+ "style": "body",
21430
+ "color": "textSecondary",
21431
+ "textAlign": "center"
21432
+ }
21433
+ }
21434
+ },
21435
+ {
21436
+ "id": "himi_services.all_locations",
21437
+ "body": {
21438
+ "package": "himalaya",
21439
+ "type": "Button",
21440
+ "props": {
21441
+ "title": "Show all locations",
21442
+ "style": "secondary",
21443
+ "action": {
21444
+ "actionId": "tier5.himiBookingServices.selectLocation",
21445
+ "params": {
21446
+ "locationId": ""
21447
+ }
21448
+ }
21449
+ }
21450
+ }
21451
+ }
21452
+ ]
21453
+ }
21454
+ },
21455
+ "modifiers": {
21456
+ "fillMaxWidth": true,
21457
+ "padding": {
21458
+ "leading": 20,
21459
+ "trailing": 20,
21460
+ "top": 40,
21461
+ "bottom": 0
21462
+ },
21463
+ "transition": {
21464
+ "enter": "fade",
21465
+ "exit": "fade"
21466
+ },
21467
+ "hiddenPath": "$service:himiBookingServices.notLocationEmpty"
21468
+ }
21469
+ },
21470
+ {
21471
+ "id": "himi_services.location_sheet",
21472
+ "body": {
21473
+ "package": "himalaya",
21474
+ "type": "BottomSheet",
21475
+ "props": {
21476
+ "presentedPath": "$service:himiBookingServices.locationSheetOpen",
21477
+ "dismissible": true,
21478
+ "showGrabber": true,
21479
+ "onDismiss": {
21480
+ "actionId": "tier5.himiBookingServices.closeLocations"
21481
+ },
21482
+ "content": {
21483
+ "id": "",
21484
+ "body": {
21485
+ "package": "himalaya",
21486
+ "type": "VStack",
21487
+ "props": {
21488
+ "spacing": 8,
21489
+ "alignment": "leading",
21490
+ "children": [
21491
+ {
21492
+ "id": "",
21493
+ "body": {
21494
+ "package": "himalaya",
21495
+ "type": "Text",
21496
+ "props": {
21497
+ "text": "Choose a location",
21498
+ "style": "title3"
21499
+ }
21500
+ }
21501
+ },
21502
+ {
21503
+ "id": "himi_services.location_options",
21504
+ "body": {
21505
+ "package": "himalaya",
21506
+ "type": "Grid",
21507
+ "props": {
21508
+ "columns": 1,
21509
+ "spacing": 0,
21510
+ "itemsPath": "$service:himiBookingServices.locationOptions",
21511
+ "items": [
21512
+ {
21513
+ "id": "",
21514
+ "body": {
21515
+ "package": "himalaya",
21516
+ "type": "VStack",
21517
+ "props": {
21518
+ "spacing": 0,
21519
+ "children": [
21520
+ {
21521
+ "id": "",
21522
+ "body": {
21523
+ "package": "himalaya",
21524
+ "type": "HStack",
21525
+ "props": {
21526
+ "spacing": 12,
21527
+ "alignment": "center",
21528
+ "children": [
21529
+ {
21530
+ "id": "",
21531
+ "body": {
21532
+ "package": "himalaya",
21533
+ "type": "VStack",
21534
+ "props": {
21535
+ "spacing": 2,
21536
+ "alignment": "leading",
21537
+ "children": [
21538
+ {
21539
+ "id": "",
21540
+ "body": {
21541
+ "package": "himalaya",
21542
+ "type": "Text",
21543
+ "props": {
21544
+ "text": "$item.label",
21545
+ "style": "body",
21546
+ "maxLines": 2
21547
+ }
21548
+ }
21549
+ },
21550
+ {
21551
+ "id": "",
21552
+ "body": {
21553
+ "package": "himalaya",
21554
+ "type": "Text",
21555
+ "props": {
21556
+ "text": "$item.sub",
21557
+ "style": "caption",
21558
+ "color": "textSecondary",
21559
+ "maxLines": 2
21560
+ }
21561
+ },
21562
+ "modifiers": {
21563
+ "hiddenPath": "$item.noSub"
21564
+ }
21565
+ }
21566
+ ]
21567
+ }
21568
+ }
21569
+ },
21570
+ {
21571
+ "id": "",
21572
+ "body": {
21573
+ "package": "himalaya",
21574
+ "type": "Spacer",
21575
+ "props": {}
21576
+ }
21577
+ },
21578
+ {
21579
+ "id": "",
21580
+ "body": {
21581
+ "package": "himalaya",
21582
+ "type": "Icon",
21583
+ "props": {
21584
+ "name": "check",
21585
+ "size": 20,
21586
+ "tint": "accentPrimary"
21150
21587
  }
21588
+ },
21589
+ "modifiers": {
21590
+ "accessibilityRole": "decorative",
21591
+ "hiddenPath": "$item.notSelected"
21151
21592
  }
21152
- ]
21153
- }
21154
- },
21155
- "modifiers": {
21156
- "height": 36,
21157
- "padding": {
21158
- "leading": 16,
21159
- "trailing": 16,
21160
- "top": 0,
21161
- "bottom": 0
21162
- },
21163
- "cornerRadius": 18,
21164
- "border": {
21165
- "width": 1,
21166
- "color": {
21167
- "token": "textPrimary"
21168
21593
  }
21169
- }
21594
+ ]
21595
+ }
21596
+ },
21597
+ "modifiers": {
21598
+ "fillMaxWidth": true,
21599
+ "padding": {
21600
+ "top": 15,
21601
+ "bottom": 15
21170
21602
  }
21171
21603
  }
21172
- ]
21173
- }
21174
- },
21175
- "modifiers": {
21176
- "padding": {
21177
- "leading": 0,
21178
- "trailing": 0,
21179
- "top": 4,
21180
- "bottom": 4
21181
- },
21182
- "onTap": {
21183
- "actionId": "himi.open",
21184
- "params": {
21185
- "screenId": "himi_time",
21186
- "id": "$item.id"
21604
+ },
21605
+ {
21606
+ "id": "",
21607
+ "body": {
21608
+ "package": "himalaya",
21609
+ "type": "Divider",
21610
+ "props": {}
21611
+ }
21187
21612
  }
21188
- },
21189
- "accessibilityRole": "button",
21190
- "accessibilityLabel": "$item.bookA11y",
21191
- "pressFeedback": "scale",
21192
- "haptic": "light",
21193
- "hiddenPath": "$item.noBook"
21613
+ ]
21194
21614
  }
21615
+ },
21616
+ "modifiers": {
21617
+ "fillMaxWidth": true,
21618
+ "onTap": {
21619
+ "actionId": "tier5.himiBookingServices.selectLocation",
21620
+ "params": {
21621
+ "locationId": "$item.id"
21622
+ }
21623
+ },
21624
+ "pressFeedback": "highlight",
21625
+ "accessibilityRole": "button",
21626
+ "accessibilityLabel": "$item.a11y"
21195
21627
  }
21196
- ]
21197
- }
21198
- },
21199
- "modifiers": {
21200
- "fillMaxWidth": true,
21201
- "padding": {
21202
- "leading": 20,
21203
- "trailing": 20,
21204
- "top": 14,
21205
- "bottom": 14
21206
- }
21207
- }
21208
- },
21209
- {
21210
- "id": "",
21211
- "body": {
21212
- "package": "himalaya",
21213
- "type": "Divider",
21214
- "props": {}
21628
+ }
21629
+ ]
21215
21630
  }
21216
21631
  }
21217
- ]
21218
- }
21219
- },
21220
- "modifiers": {
21221
- "onTap": {
21222
- "actionId": "himi.open",
21223
- "params": {
21224
- "screenId": "$item.detailScreenId",
21225
- "id": "$item.id"
21226
21632
  }
21227
- },
21228
- "pressFeedback": "highlight",
21229
- "haptic": "light",
21230
- "accessibilityLabel": "$item.a11y",
21231
- "transition": {
21232
- "enter": "fadeSlide",
21233
- "direction": "up",
21234
- "distance": 8
21235
- }
21633
+ ]
21634
+ }
21635
+ },
21636
+ "modifiers": {
21637
+ "padding": {
21638
+ "leading": 20,
21639
+ "trailing": 20,
21640
+ "top": 8,
21641
+ "bottom": 24
21236
21642
  }
21237
21643
  }
21238
- ]
21644
+ }
21239
21645
  }
21240
- },
21241
- "modifiers": {
21242
- "padding": {
21243
- "leading": 0,
21244
- "trailing": 0,
21245
- "top": 12,
21246
- "bottom": 0
21247
- },
21248
- "hiddenPath": "$service:himiBookingServices.hideRows"
21249
21646
  }
21250
- },
21647
+ }
21648
+ ]
21649
+ }
21650
+ },
21651
+ "modifiers": {
21652
+ "background": {
21653
+ "token": "surfacePrimary"
21654
+ },
21655
+ "padding": {
21656
+ "leading": 0,
21657
+ "trailing": 0,
21658
+ "bottom": 24
21659
+ },
21660
+ "onAppear": {
21661
+ "actionId": "tier5.himiBookingServices.load",
21662
+ "params": {
21663
+ "copy": "{\"services.subtitle\":\"Find a class and book your spot.\"}"
21664
+ }
21665
+ }
21666
+ }
21667
+ },
21668
+ "logicBundle": {
21669
+ "url": "http://localhost:8190/v1/bundles/himi-booking-services",
21670
+ "integrity": "",
21671
+ "contentType": "application/javascript+ts-bundle",
21672
+ "declaredCapabilities": [
21673
+ "wix_api",
21674
+ "local_database",
21675
+ "app_info"
21676
+ ],
21677
+ "minBinaryVersion": "0.1.0",
21678
+ "bundleVersion": "0.0.1"
21679
+ },
21680
+ "stickyHeader": {
21681
+ "id": "himi_services.header",
21682
+ "body": {
21683
+ "package": "himalaya",
21684
+ "type": "VStack",
21685
+ "props": {
21686
+ "spacing": 0,
21687
+ "alignment": "leading",
21688
+ "children": [
21251
21689
  {
21252
21690
  "id": "",
21253
21691
  "body": {
21254
21692
  "package": "himalaya",
21255
21693
  "type": "VStack",
21256
21694
  "props": {
21257
- "spacing": 8,
21695
+ "spacing": 4,
21258
21696
  "alignment": "leading",
21259
21697
  "children": [
21260
21698
  {
21261
- "id": "",
21699
+ "id": "himi_services.title",
21262
21700
  "body": {
21263
21701
  "package": "himalaya",
21264
21702
  "type": "Text",
21265
21703
  "props": {
21266
- "text": "More services did not load.",
21267
- "style": "caption",
21268
- "color": "textSecondary"
21269
- }
21270
- }
21271
- },
21272
- {
21273
- "id": "himi_services.retry_page",
21274
- "body": {
21275
- "package": "himalaya",
21276
- "type": "Button",
21277
- "props": {
21278
- "title": "Try again",
21279
- "style": "secondary",
21280
- "action": {
21281
- "actionId": "tier5.himiBookingServices.retry"
21282
- }
21704
+ "text": "Services",
21705
+ "style": "title1"
21283
21706
  }
21284
21707
  }
21285
21708
  }
@@ -21290,46 +21713,32 @@ const SCREENS = runtimeSetting({
21290
21713
  "padding": {
21291
21714
  "leading": 20,
21292
21715
  "trailing": 20,
21293
- "top": 12,
21716
+ "top": 0,
21294
21717
  "bottom": 0
21295
- },
21296
- "hiddenPath": "$service:himiBookingServices.collection.noPageError"
21718
+ }
21297
21719
  }
21298
21720
  },
21299
21721
  {
21300
- "id": "himi_services.empty_source",
21722
+ "id": "",
21301
21723
  "body": {
21302
21724
  "package": "himalaya",
21303
21725
  "type": "VStack",
21304
21726
  "props": {
21305
- "spacing": 10,
21306
- "alignment": "center",
21727
+ "spacing": 0,
21728
+ "alignment": "leading",
21307
21729
  "children": [
21308
21730
  {
21309
- "id": "",
21310
- "body": {
21311
- "package": "himalaya",
21312
- "type": "Icon",
21313
- "props": {
21314
- "name": "calendar",
21315
- "size": 28,
21316
- "tint": "textTertiary"
21317
- }
21318
- },
21319
- "modifiers": {
21320
- "accessibilityRole": "decorative"
21321
- }
21322
- },
21323
- {
21324
- "id": "",
21731
+ "id": "himi_services.search",
21325
21732
  "body": {
21326
21733
  "package": "himalaya",
21327
- "type": "Text",
21734
+ "type": "SearchField",
21328
21735
  "props": {
21329
- "text": "$service:himiBookingServices.collection.emptySourceText",
21330
- "style": "body",
21331
- "color": "textSecondary",
21332
- "textAlign": "center"
21736
+ "placeholder": "Search services",
21737
+ "value": "$service:himiBookingServices.collection.query",
21738
+ "debounceMs": 200,
21739
+ "onChange": {
21740
+ "actionId": "tier5.himiBookingServices.search"
21741
+ }
21333
21742
  }
21334
21743
  }
21335
21744
  }
@@ -21337,100 +21746,67 @@ const SCREENS = runtimeSetting({
21337
21746
  }
21338
21747
  },
21339
21748
  "modifiers": {
21340
- "fillMaxWidth": true,
21341
21749
  "padding": {
21342
21750
  "leading": 20,
21343
21751
  "trailing": 20,
21344
- "top": 40,
21752
+ "top": 16,
21345
21753
  "bottom": 0
21346
21754
  },
21347
- "transition": {
21348
- "enter": "fade",
21349
- "exit": "fade"
21755
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
21756
+ }
21757
+ },
21758
+ {
21759
+ "id": "himi_services.categories",
21760
+ "body": {
21761
+ "package": "himalaya",
21762
+ "type": "FilterChips",
21763
+ "props": {
21764
+ "chips": [],
21765
+ "optionsPath": "$service:himiBookingServices.categoryChips",
21766
+ "selectedIds": [
21767
+ "$service:himiBookingServices.activeCategory"
21768
+ ],
21769
+ "multiSelect": false,
21770
+ "onChange": {
21771
+ "actionId": "tier5.himiBookingServices.scrollToCategory"
21772
+ }
21773
+ }
21774
+ },
21775
+ "modifiers": {
21776
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
21777
+ "padding": {
21778
+ "leading": 20,
21779
+ "trailing": 20,
21780
+ "top": 12,
21781
+ "bottom": 0
21350
21782
  },
21351
- "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
21783
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
21352
21784
  }
21353
21785
  },
21354
21786
  {
21355
- "id": "himi_services.empty",
21787
+ "id": "",
21356
21788
  "body": {
21357
21789
  "package": "himalaya",
21358
21790
  "type": "VStack",
21359
21791
  "props": {
21360
- "spacing": 16,
21361
- "alignment": "center",
21792
+ "spacing": 0,
21362
21793
  "children": [
21363
21794
  {
21364
- "id": "himi_services.no_match_text",
21365
- "body": {
21366
- "package": "himalaya",
21367
- "type": "Text",
21368
- "props": {
21369
- "text": "$service:himiBookingServices.noMatchText",
21370
- "style": "body",
21371
- "color": "textSecondary",
21372
- "textAlign": "center"
21373
- }
21374
- }
21375
- },
21376
- {
21377
- "id": "himi_services.empty.cta",
21378
- "body": {
21379
- "package": "himalaya",
21380
- "type": "Button",
21381
- "props": {
21382
- "title": "Clear Search",
21383
- "style": "secondary",
21384
- "action": {
21385
- "actionId": "tier5.himiBookingServices.search",
21386
- "params": {
21387
- "value": ""
21388
- }
21389
- }
21390
- }
21391
- },
21392
- "modifiers": {
21393
- "hiddenPath": "$service:himiBookingServices.noQuery"
21394
- }
21395
- },
21396
- {
21397
- "id": "himi_services.empty.show_all",
21795
+ "id": "",
21398
21796
  "body": {
21399
21797
  "package": "himalaya",
21400
- "type": "Button",
21401
- "props": {
21402
- "title": "Show All",
21403
- "style": "secondary",
21404
- "action": {
21405
- "actionId": "tier5.himiBookingServices.collectionFilter",
21406
- "args": {
21407
- "selectedIds": [
21408
- "all"
21409
- ]
21410
- }
21411
- }
21412
- }
21413
- },
21414
- "modifiers": {
21415
- "hiddenPath": "$service:himiBookingServices.hasQuery"
21798
+ "type": "Divider",
21799
+ "props": {}
21416
21800
  }
21417
21801
  }
21418
21802
  ]
21419
21803
  }
21420
21804
  },
21421
21805
  "modifiers": {
21422
- "fillMaxWidth": true,
21423
21806
  "padding": {
21424
- "leading": 20,
21425
- "trailing": 20,
21426
- "top": 40,
21427
- "bottom": 0
21428
- },
21429
- "transition": {
21430
- "enter": "fade",
21431
- "exit": "fade"
21807
+ "top": 12
21432
21808
  },
21433
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21809
+ "fillMaxWidth": true
21434
21810
  }
21435
21811
  }
21436
21812
  ]
@@ -21441,46 +21817,25 @@ const SCREENS = runtimeSetting({
21441
21817
  "token": "surfacePrimary"
21442
21818
  },
21443
21819
  "padding": {
21444
- "leading": 0,
21445
- "trailing": 0,
21446
- "top": 18,
21447
- "bottom": 24
21820
+ "top": 18
21448
21821
  },
21449
- "onAppear": {
21450
- "actionId": "tier5.himiBookingServices.load",
21451
- "params": {
21452
- "copy": "{\"services.subtitle\":\"Find a class and book your spot.\"}"
21453
- }
21454
- }
21822
+ "fillMaxWidth": true
21455
21823
  }
21456
21824
  },
21457
- "logicBundle": {
21458
- "url": "http://localhost:8190/v1/bundles/himi-booking-services",
21459
- "integrity": "",
21460
- "contentType": "application/javascript+ts-bundle",
21461
- "declaredCapabilities": [
21462
- "wix_api",
21463
- "local_database"
21464
- ],
21465
- "minBinaryVersion": "0.1.0",
21466
- "bundleVersion": "0.0.1"
21467
- },
21468
21825
  "topBar": {
21469
21826
  "actions": [
21470
21827
  {
21471
- "id": "bookings",
21472
- "icon": "calendar",
21473
- "accessibilityLabel": "My Bookings",
21828
+ "id": "location",
21829
+ "icon": "location",
21830
+ "accessibilityLabel": "Choose a location",
21474
21831
  "onTap": {
21475
- "actionId": "himi.open",
21476
- "params": {
21477
- "screenId": "himi_bookings"
21478
- }
21479
- }
21832
+ "actionId": "tier5.himiBookingServices.openLocations"
21833
+ },
21834
+ "hiddenPath": "$service:brandedLiteNav.noLocationMenu"
21480
21835
  },
21481
21836
  {
21482
21837
  "id": "agenda",
21483
- "icon": "list",
21838
+ "icon": "calendar",
21484
21839
  "accessibilityLabel": "Agenda",
21485
21840
  "onTap": {
21486
21841
  "actionId": "himi.open",
@@ -21607,29 +21962,45 @@ const SCREENS = runtimeSetting({
21607
21962
  }
21608
21963
  },
21609
21964
  {
21610
- "id": "himi_bookings.tabs",
21965
+ "id": "",
21611
21966
  "body": {
21612
21967
  "package": "himalaya",
21613
- "type": "SegmentedControl",
21968
+ "type": "VStack",
21614
21969
  "props": {
21615
- "options": [
21616
- {
21617
- "id": "upcoming",
21618
- "label": "Upcoming"
21619
- },
21620
- {
21621
- "id": "past",
21622
- "label": "Past"
21623
- },
21970
+ "spacing": 0,
21971
+ "alignment": "leading",
21972
+ "children": [
21624
21973
  {
21625
- "id": "cancelled",
21626
- "label": "Canceled"
21974
+ "id": "himi_bookings.tabs",
21975
+ "body": {
21976
+ "package": "himalaya",
21977
+ "type": "SegmentedControl",
21978
+ "props": {
21979
+ "options": [
21980
+ {
21981
+ "id": "upcoming",
21982
+ "label": "Upcoming"
21983
+ },
21984
+ {
21985
+ "id": "past",
21986
+ "label": "Past"
21987
+ },
21988
+ {
21989
+ "id": "cancelled",
21990
+ "label": "Canceled"
21991
+ }
21992
+ ],
21993
+ "selectedId": "$service:himiBookingBookings.tab",
21994
+ "onChange": {
21995
+ "actionId": "tier5.himiBookingBookings.selectTab"
21996
+ }
21997
+ }
21998
+ },
21999
+ "modifiers": {
22000
+ "fillMaxWidth": true
22001
+ }
21627
22002
  }
21628
- ],
21629
- "selectedId": "$service:himiBookingBookings.tab",
21630
- "onChange": {
21631
- "actionId": "tier5.himiBookingBookings.selectTab"
21632
- }
22003
+ ]
21633
22004
  }
21634
22005
  },
21635
22006
  "modifiers": {
@@ -23901,8 +24272,8 @@ const SCREENS = runtimeSetting({
23901
24272
  },
23902
24273
  "modifiers": {
23903
24274
  "padding": {
23904
- "leading": 20,
23905
- "trailing": 20,
24275
+ "leading": 16,
24276
+ "trailing": 16,
23906
24277
  "top": 14,
23907
24278
  "bottom": 14
23908
24279
  },
@@ -24008,8 +24379,8 @@ const SCREENS = runtimeSetting({
24008
24379
  },
24009
24380
  "modifiers": {
24010
24381
  "padding": {
24011
- "leading": 20,
24012
- "trailing": 20,
24382
+ "leading": 16,
24383
+ "trailing": 16,
24013
24384
  "top": 14,
24014
24385
  "bottom": 14
24015
24386
  },
@@ -24115,8 +24486,8 @@ const SCREENS = runtimeSetting({
24115
24486
  },
24116
24487
  "modifiers": {
24117
24488
  "padding": {
24118
- "leading": 20,
24119
- "trailing": 20,
24489
+ "leading": 16,
24490
+ "trailing": 16,
24120
24491
  "top": 14,
24121
24492
  "bottom": 14
24122
24493
  },
@@ -24387,7 +24758,9 @@ const SCREENS = runtimeSetting({
24387
24758
  "actionId": "himi.open",
24388
24759
  "params": {
24389
24760
  "screenId": "himi_service",
24390
- "id": "$item.serviceId"
24761
+ "id": "$item.serviceId",
24762
+ "sessionId": "$item.sessionId",
24763
+ "start": "$item.start"
24391
24764
  }
24392
24765
  },
24393
24766
  "pressFeedback": "highlight",
@@ -24554,7 +24927,9 @@ const SCREENS = runtimeSetting({
24554
24927
  "actionId": "himi.open",
24555
24928
  "params": {
24556
24929
  "screenId": "himi_service",
24557
- "id": "$item.serviceId"
24930
+ "id": "$item.serviceId",
24931
+ "sessionId": "$item.sessionId",
24932
+ "start": "$item.start"
24558
24933
  }
24559
24934
  },
24560
24935
  "accessibilityRole": "button",
@@ -24743,6 +25118,8 @@ const SCREENS = runtimeSetting({
24743
25118
  },
24744
25119
  "modifiers": {
24745
25120
  "padding": {
25121
+ "leading": 16,
25122
+ "trailing": 16,
24746
25123
  "top": 14,
24747
25124
  "bottom": 14
24748
25125
  },
@@ -24755,20 +25132,22 @@ const SCREENS = runtimeSetting({
24755
25132
  "package": "himalaya",
24756
25133
  "type": "Divider",
24757
25134
  "props": {}
25135
+ },
25136
+ "modifiers": {
25137
+ "hiddenPath": "$item.lastOfDay"
24758
25138
  }
24759
25139
  }
24760
25140
  ]
24761
25141
  }
24762
25142
  }
25143
+ },
25144
+ "onVisibleDateChange": {
25145
+ "actionId": "tier5.himiBrandedAgenda.visibleDate"
24763
25146
  }
24764
25147
  }
24765
25148
  },
24766
25149
  "modifiers": {
24767
25150
  "fillMaxWidth": true,
24768
- "padding": {
24769
- "leading": 20,
24770
- "trailing": 20
24771
- },
24772
25151
  "hiddenPath": "$service:himiBrandedAgenda.listHidden"
24773
25152
  }
24774
25153
  },
@@ -24889,6 +25268,58 @@ const SCREENS = runtimeSetting({
24889
25268
  "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
24890
25269
  }
24891
25270
  },
25271
+ {
25272
+ "id": "himi_agenda.location_empty",
25273
+ "body": {
25274
+ "package": "himalaya",
25275
+ "type": "VStack",
25276
+ "props": {
25277
+ "spacing": 22,
25278
+ "alignment": "center",
25279
+ "children": [
25280
+ {
25281
+ "id": "",
25282
+ "body": {
25283
+ "package": "himalaya",
25284
+ "type": "Text",
25285
+ "props": {
25286
+ "text": "No classes at this location in the coming weeks.",
25287
+ "style": "body",
25288
+ "color": "textPrimary",
25289
+ "textAlign": "center"
25290
+ }
25291
+ }
25292
+ },
25293
+ {
25294
+ "id": "himi_agenda.all_locations",
25295
+ "body": {
25296
+ "package": "himalaya",
25297
+ "type": "Button",
25298
+ "props": {
25299
+ "title": "Show all locations",
25300
+ "style": "secondary",
25301
+ "action": {
25302
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25303
+ "params": {
25304
+ "locationId": ""
25305
+ }
25306
+ }
25307
+ }
25308
+ }
25309
+ }
25310
+ ]
25311
+ }
25312
+ },
25313
+ "modifiers": {
25314
+ "padding": {
25315
+ "leading": 28,
25316
+ "trailing": 28,
25317
+ "top": 48
25318
+ },
25319
+ "fillMaxWidth": true,
25320
+ "hiddenPath": "$service:himiBrandedAgenda.notLocationEmpty"
25321
+ }
25322
+ },
24892
25323
  {
24893
25324
  "id": "himi_agenda.sheet",
24894
25325
  "body": {
@@ -24993,7 +25424,9 @@ const SCREENS = runtimeSetting({
24993
25424
  "nav": {
24994
25425
  "screenId": "himi_service",
24995
25426
  "args": {
24996
- "id": "$service:himiBrandedAgenda.sheetServiceId"
25427
+ "id": "$service:himiBrandedAgenda.sheetServiceId",
25428
+ "sessionId": "$service:himiBrandedAgenda.sheetSessionId",
25429
+ "start": "$service:himiBrandedAgenda.sheetStart"
24997
25430
  }
24998
25431
  }
24999
25432
  }
@@ -25022,34 +25455,212 @@ const SCREENS = runtimeSetting({
25022
25455
  }
25023
25456
  },
25024
25457
  {
25025
- "id": "himi_agenda.leave_waitlist",
25458
+ "id": "himi_agenda.leave_waitlist",
25459
+ "body": {
25460
+ "package": "himalaya",
25461
+ "type": "Button",
25462
+ "props": {
25463
+ "title": "Leave Waitlist",
25464
+ "style": "tertiary",
25465
+ "leadingIcon": "close",
25466
+ "fullWidth": true,
25467
+ "disabledPath": "$service:himiBrandedAgenda.sheetBusy",
25468
+ "role": "destructive",
25469
+ "action": {
25470
+ "actionId": "tier5.himiBrandedAgenda.cancelBooking"
25471
+ }
25472
+ }
25473
+ },
25474
+ "modifiers": {
25475
+ "hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
25476
+ }
25477
+ }
25478
+ ]
25479
+ }
25480
+ },
25481
+ "modifiers": {
25482
+ "padding": {
25483
+ "top": 12
25484
+ },
25485
+ "fillMaxWidth": true
25486
+ }
25487
+ }
25488
+ ]
25489
+ }
25490
+ },
25491
+ "modifiers": {
25492
+ "padding": {
25493
+ "leading": 20,
25494
+ "trailing": 20,
25495
+ "top": 8,
25496
+ "bottom": 24
25497
+ }
25498
+ }
25499
+ }
25500
+ }
25501
+ }
25502
+ },
25503
+ {
25504
+ "id": "himi_agenda.location_sheet",
25505
+ "body": {
25506
+ "package": "himalaya",
25507
+ "type": "BottomSheet",
25508
+ "props": {
25509
+ "presentedPath": "$service:himiBrandedAgenda.locationSheetOpen",
25510
+ "dismissible": true,
25511
+ "showGrabber": true,
25512
+ "onDismiss": {
25513
+ "actionId": "tier5.himiBrandedAgenda.closeLocations"
25514
+ },
25515
+ "content": {
25516
+ "id": "",
25517
+ "body": {
25518
+ "package": "himalaya",
25519
+ "type": "VStack",
25520
+ "props": {
25521
+ "spacing": 8,
25522
+ "alignment": "leading",
25523
+ "children": [
25524
+ {
25525
+ "id": "",
25526
+ "body": {
25527
+ "package": "himalaya",
25528
+ "type": "Text",
25529
+ "props": {
25530
+ "text": "Choose a location",
25531
+ "style": "title3"
25532
+ }
25533
+ }
25534
+ },
25535
+ {
25536
+ "id": "himi_agenda.location_options",
25537
+ "body": {
25538
+ "package": "himalaya",
25539
+ "type": "Grid",
25540
+ "props": {
25541
+ "columns": 1,
25542
+ "spacing": 0,
25543
+ "itemsPath": "$service:himiBrandedAgenda.locationOptions",
25544
+ "items": [
25545
+ {
25546
+ "id": "",
25026
25547
  "body": {
25027
25548
  "package": "himalaya",
25028
- "type": "Button",
25549
+ "type": "VStack",
25029
25550
  "props": {
25030
- "title": "Leave Waitlist",
25031
- "style": "tertiary",
25032
- "leadingIcon": "close",
25033
- "fullWidth": true,
25034
- "disabledPath": "$service:himiBrandedAgenda.sheetBusy",
25035
- "role": "destructive",
25036
- "action": {
25037
- "actionId": "tier5.himiBrandedAgenda.cancelBooking"
25038
- }
25551
+ "spacing": 0,
25552
+ "children": [
25553
+ {
25554
+ "id": "",
25555
+ "body": {
25556
+ "package": "himalaya",
25557
+ "type": "HStack",
25558
+ "props": {
25559
+ "spacing": 12,
25560
+ "alignment": "center",
25561
+ "children": [
25562
+ {
25563
+ "id": "",
25564
+ "body": {
25565
+ "package": "himalaya",
25566
+ "type": "VStack",
25567
+ "props": {
25568
+ "spacing": 2,
25569
+ "alignment": "leading",
25570
+ "children": [
25571
+ {
25572
+ "id": "",
25573
+ "body": {
25574
+ "package": "himalaya",
25575
+ "type": "Text",
25576
+ "props": {
25577
+ "text": "$item.label",
25578
+ "style": "body",
25579
+ "maxLines": 2
25580
+ }
25581
+ }
25582
+ },
25583
+ {
25584
+ "id": "",
25585
+ "body": {
25586
+ "package": "himalaya",
25587
+ "type": "Text",
25588
+ "props": {
25589
+ "text": "$item.sub",
25590
+ "style": "caption",
25591
+ "color": "textSecondary",
25592
+ "maxLines": 2
25593
+ }
25594
+ },
25595
+ "modifiers": {
25596
+ "hiddenPath": "$item.noSub"
25597
+ }
25598
+ }
25599
+ ]
25600
+ }
25601
+ }
25602
+ },
25603
+ {
25604
+ "id": "",
25605
+ "body": {
25606
+ "package": "himalaya",
25607
+ "type": "Spacer",
25608
+ "props": {}
25609
+ }
25610
+ },
25611
+ {
25612
+ "id": "",
25613
+ "body": {
25614
+ "package": "himalaya",
25615
+ "type": "Icon",
25616
+ "props": {
25617
+ "name": "check",
25618
+ "size": 20,
25619
+ "tint": "accentPrimary"
25620
+ }
25621
+ },
25622
+ "modifiers": {
25623
+ "accessibilityRole": "decorative",
25624
+ "hiddenPath": "$item.notSelected"
25625
+ }
25626
+ }
25627
+ ]
25628
+ }
25629
+ },
25630
+ "modifiers": {
25631
+ "fillMaxWidth": true,
25632
+ "padding": {
25633
+ "top": 15,
25634
+ "bottom": 15
25635
+ }
25636
+ }
25637
+ },
25638
+ {
25639
+ "id": "",
25640
+ "body": {
25641
+ "package": "himalaya",
25642
+ "type": "Divider",
25643
+ "props": {}
25644
+ }
25645
+ }
25646
+ ]
25039
25647
  }
25040
25648
  },
25041
25649
  "modifiers": {
25042
- "hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
25650
+ "fillMaxWidth": true,
25651
+ "onTap": {
25652
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25653
+ "params": {
25654
+ "locationId": "$item.id"
25655
+ }
25656
+ },
25657
+ "pressFeedback": "highlight",
25658
+ "accessibilityRole": "button",
25659
+ "accessibilityLabel": "$item.a11y"
25043
25660
  }
25044
25661
  }
25045
25662
  ]
25046
25663
  }
25047
- },
25048
- "modifiers": {
25049
- "padding": {
25050
- "top": 12
25051
- },
25052
- "fillMaxWidth": true
25053
25664
  }
25054
25665
  }
25055
25666
  ]
@@ -25291,76 +25902,159 @@ const SCREENS = runtimeSetting({
25291
25902
  "top": 16,
25292
25903
  "bottom": 16
25293
25904
  },
25294
- "fillMaxWidth": true
25905
+ "fillMaxWidth": true
25906
+ }
25907
+ }
25908
+ }
25909
+ }
25910
+ }
25911
+ ]
25912
+ }
25913
+ },
25914
+ "modifiers": {
25915
+ "background": {
25916
+ "token": "surfacePrimary"
25917
+ },
25918
+ "onAppear": {
25919
+ "actionId": "tier5.himiBrandedAgenda.load",
25920
+ "params": {
25921
+ "firstWeekday": "0",
25922
+ "signInPresentation": "sheet"
25923
+ }
25924
+ }
25925
+ }
25926
+ },
25927
+ "logicBundle": {
25928
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
25929
+ "integrity": "",
25930
+ "contentType": "application/javascript+ts-bundle",
25931
+ "declaredCapabilities": [
25932
+ "wix_api",
25933
+ "app_info",
25934
+ "calendar",
25935
+ "open_url",
25936
+ "local_database"
25937
+ ],
25938
+ "minBinaryVersion": "0.1.0",
25939
+ "bundleVersion": "0.0.1"
25940
+ },
25941
+ "topBar": {
25942
+ "leading": "none"
25943
+ },
25944
+ "stickyHeader": {
25945
+ "id": "himi_agenda.header",
25946
+ "body": {
25947
+ "package": "himalaya",
25948
+ "type": "VStack",
25949
+ "props": {
25950
+ "spacing": 0,
25951
+ "alignment": "leading",
25952
+ "children": [
25953
+ {
25954
+ "id": "",
25955
+ "body": {
25956
+ "package": "himalaya",
25957
+ "type": "HStack",
25958
+ "props": {
25959
+ "spacing": 0,
25960
+ "alignment": "center",
25961
+ "children": [
25962
+ {
25963
+ "id": "himi_agenda.back",
25964
+ "body": {
25965
+ "package": "himalaya",
25966
+ "type": "Button",
25967
+ "props": {
25968
+ "title": "Back",
25969
+ "action": {
25970
+ "actionId": "nav.back",
25971
+ "presentation": "back"
25972
+ },
25973
+ "style": "tertiary",
25974
+ "iconOnly": true,
25975
+ "leadingIcon": "chevron_left",
25976
+ "cornerRadius": 22,
25977
+ "minHeight": 44
25978
+ }
25979
+ },
25980
+ "modifiers": {
25981
+ "width": 44,
25982
+ "height": 44,
25983
+ "accessibilityLabel": "Back",
25984
+ "accessibilityRole": "button"
25985
+ }
25986
+ },
25987
+ {
25988
+ "id": "",
25989
+ "body": {
25990
+ "package": "himalaya",
25991
+ "type": "Spacer",
25992
+ "props": {}
25993
+ }
25994
+ },
25995
+ {
25996
+ "id": "himi_agenda.location",
25997
+ "body": {
25998
+ "package": "himalaya",
25999
+ "type": "ZStack",
26000
+ "props": {
26001
+ "children": [
26002
+ {
26003
+ "id": "",
26004
+ "body": {
26005
+ "package": "himalaya",
26006
+ "type": "Icon",
26007
+ "props": {
26008
+ "name": "location",
26009
+ "size": 22,
26010
+ "tint": "textPrimary"
26011
+ }
26012
+ },
26013
+ "modifiers": {
26014
+ "accessibilityRole": "decorative",
26015
+ "hiddenPath": "$service:himiBrandedAgenda.locationActive"
26016
+ }
26017
+ },
26018
+ {
26019
+ "id": "",
26020
+ "body": {
26021
+ "package": "himalaya",
26022
+ "type": "Icon",
26023
+ "props": {
26024
+ "name": "location",
26025
+ "size": 22,
26026
+ "tint": "accentPrimary"
26027
+ }
26028
+ },
26029
+ "modifiers": {
26030
+ "accessibilityRole": "decorative",
26031
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationActive"
26032
+ }
26033
+ }
26034
+ ]
26035
+ }
26036
+ },
26037
+ "modifiers": {
26038
+ "width": 44,
26039
+ "height": 44,
26040
+ "onTap": {
26041
+ "actionId": "tier5.himiBrandedAgenda.openLocations"
26042
+ },
26043
+ "pressFeedback": "highlight",
26044
+ "accessibilityRole": "button",
26045
+ "accessibilityLabel": "$service:himiBrandedAgenda.locationA11y",
26046
+ "accessibilityHint": "Choose a location",
26047
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationMenu"
26048
+ }
25295
26049
  }
25296
- }
25297
- }
25298
- }
25299
- }
25300
- ]
25301
- }
25302
- },
25303
- "modifiers": {
25304
- "background": {
25305
- "token": "surfacePrimary"
25306
- },
25307
- "onAppear": {
25308
- "actionId": "tier5.himiBrandedAgenda.load",
25309
- "params": {
25310
- "firstWeekday": "0",
25311
- "signInPresentation": "sheet"
25312
- }
25313
- }
25314
- }
25315
- },
25316
- "logicBundle": {
25317
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
25318
- "integrity": "",
25319
- "contentType": "application/javascript+ts-bundle",
25320
- "declaredCapabilities": [
25321
- "wix_api",
25322
- "app_info",
25323
- "calendar",
25324
- "open_url"
25325
- ],
25326
- "minBinaryVersion": "0.1.0",
25327
- "bundleVersion": "0.0.1"
25328
- },
25329
- "topBar": {
25330
- "leading": "none"
25331
- },
25332
- "stickyHeader": {
25333
- "id": "himi_agenda.header",
25334
- "body": {
25335
- "package": "himalaya",
25336
- "type": "VStack",
25337
- "props": {
25338
- "spacing": 0,
25339
- "alignment": "leading",
25340
- "children": [
25341
- {
25342
- "id": "himi_agenda.back",
25343
- "body": {
25344
- "package": "himalaya",
25345
- "type": "Button",
25346
- "props": {
25347
- "title": "Back",
25348
- "action": {
25349
- "actionId": "nav.back",
25350
- "presentation": "back"
25351
- },
25352
- "style": "tertiary",
25353
- "iconOnly": true,
25354
- "leadingIcon": "chevron_left",
25355
- "cornerRadius": 22,
25356
- "minHeight": 44
26050
+ ]
25357
26051
  }
25358
26052
  },
25359
26053
  "modifiers": {
25360
- "width": 44,
25361
- "height": 44,
25362
- "accessibilityLabel": "Back",
25363
- "accessibilityRole": "button"
26054
+ "fillMaxWidth": true,
26055
+ "padding": {
26056
+ "trailing": 4
26057
+ }
25364
26058
  }
25365
26059
  },
25366
26060
  {
@@ -40007,7 +40701,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40007
40701
  "alignment": "leading",
40008
40702
  "children": [
40009
40703
  {
40010
- "id": "",
40704
+ "id": "himi_service.title",
40705
+ "body": {
40706
+ "package": "himalaya",
40707
+ "type": "Text",
40708
+ "props": {
40709
+ "text": "$service:himiBookingService.name",
40710
+ "style": "pageTitle",
40711
+ "maxLines": 3,
40712
+ "collapseWhenEmpty": true
40713
+ }
40714
+ }
40715
+ },
40716
+ {
40717
+ "id": "himi_service.session_when",
40011
40718
  "body": {
40012
40719
  "package": "himalaya",
40013
40720
  "type": "HStack",
@@ -40016,62 +40723,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40016
40723
  "alignment": "center",
40017
40724
  "children": [
40018
40725
  {
40019
- "id": "himi_service.category",
40726
+ "id": "",
40020
40727
  "body": {
40021
40728
  "package": "himalaya",
40022
- "type": "Text",
40729
+ "type": "Icon",
40023
40730
  "props": {
40024
- "text": "$service:himiBookingService.category",
40025
- "style": "footnote",
40026
- "color": "textSecondary",
40027
- "maxLines": 1
40731
+ "name": "calendar",
40732
+ "size": 20,
40733
+ "tint": "textSecondary"
40028
40734
  }
40029
40735
  },
40030
40736
  "modifiers": {
40031
- "hiddenPath": "$service:himiBookingService.noCategory"
40737
+ "accessibilityRole": "decorative"
40032
40738
  }
40033
40739
  },
40034
40740
  {
40035
- "id": "himi_service.type_tag",
40741
+ "id": "",
40036
40742
  "body": {
40037
40743
  "package": "himalaya",
40038
40744
  "type": "Text",
40039
40745
  "props": {
40040
- "text": "$service:himiBookingService.typeTag",
40041
- "style": "caption",
40042
- "color": "textSecondary",
40043
- "maxLines": 1
40746
+ "text": "$service:himiBookingService.sessionWhen",
40747
+ "style": "bodyEmphasis",
40748
+ "maxLines": 2
40044
40749
  }
40045
40750
  },
40046
40751
  "modifiers": {
40047
- "background": {
40048
- "token": "surfaceTertiary"
40049
- },
40050
- "cornerRadius": 4,
40051
- "padding": {
40052
- "leading": 8,
40053
- "trailing": 8,
40054
- "top": 2,
40055
- "bottom": 2
40056
- },
40057
- "hiddenPath": "$service:himiBookingService.noTypeTag"
40752
+ "weight": 1
40753
+ }
40754
+ },
40755
+ {
40756
+ "id": "himi_service.change_time",
40757
+ "body": {
40758
+ "package": "himalaya",
40759
+ "type": "Button",
40760
+ "props": {
40761
+ "title": "Change Time",
40762
+ "style": "tertiary",
40763
+ "size": "sm",
40764
+ "action": {
40765
+ "actionId": "tier5.himiBookingService.changeTime"
40766
+ }
40767
+ }
40768
+ },
40769
+ "modifiers": {
40770
+ "hiddenPath": "$service:himiBookingService.noChangeTime"
40058
40771
  }
40059
40772
  }
40060
40773
  ]
40061
40774
  }
40062
- }
40063
- },
40064
- {
40065
- "id": "himi_service.title",
40066
- "body": {
40067
- "package": "himalaya",
40068
- "type": "Text",
40069
- "props": {
40070
- "text": "$service:himiBookingService.name",
40071
- "style": "pageTitle",
40072
- "maxLines": 3,
40073
- "collapseWhenEmpty": true
40074
- }
40775
+ },
40776
+ "modifiers": {
40777
+ "fillMaxWidth": true,
40778
+ "hiddenPath": "$service:himiBookingService.noSession"
40075
40779
  }
40076
40780
  },
40077
40781
  {
@@ -40182,6 +40886,104 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40182
40886
  "spacing": 16,
40183
40887
  "alignment": "leading",
40184
40888
  "children": [
40889
+ {
40890
+ "id": "himi_service.session",
40891
+ "body": {
40892
+ "package": "himalaya",
40893
+ "type": "HStack",
40894
+ "props": {
40895
+ "spacing": 12,
40896
+ "alignment": "center",
40897
+ "children": [
40898
+ {
40899
+ "id": "",
40900
+ "body": {
40901
+ "package": "himalaya",
40902
+ "type": "ZStack",
40903
+ "props": {
40904
+ "alignment": "center",
40905
+ "children": [
40906
+ {
40907
+ "id": "",
40908
+ "body": {
40909
+ "package": "himalaya",
40910
+ "type": "Icon",
40911
+ "props": {
40912
+ "name": "calendar",
40913
+ "size": 20,
40914
+ "tint": "textSecondary"
40915
+ }
40916
+ },
40917
+ "modifiers": {
40918
+ "accessibilityRole": "decorative"
40919
+ }
40920
+ }
40921
+ ]
40922
+ }
40923
+ },
40924
+ "modifiers": {
40925
+ "width": 20,
40926
+ "height": 20
40927
+ }
40928
+ },
40929
+ {
40930
+ "id": "",
40931
+ "body": {
40932
+ "package": "himalaya",
40933
+ "type": "VStack",
40934
+ "props": {
40935
+ "spacing": 2,
40936
+ "alignment": "leading",
40937
+ "children": [
40938
+ {
40939
+ "id": "",
40940
+ "body": {
40941
+ "package": "himalaya",
40942
+ "type": "Text",
40943
+ "props": {
40944
+ "text": "$service:himiBookingService.sessionDate",
40945
+ "style": "body",
40946
+ "color": "textPrimary",
40947
+ "maxLines": 2
40948
+ }
40949
+ }
40950
+ },
40951
+ {
40952
+ "id": "",
40953
+ "body": {
40954
+ "package": "himalaya",
40955
+ "type": "Text",
40956
+ "props": {
40957
+ "text": "$service:himiBookingService.sessionTime",
40958
+ "style": "caption",
40959
+ "color": "textSecondary",
40960
+ "maxLines": 1,
40961
+ "collapseWhenEmpty": true
40962
+ }
40963
+ }
40964
+ }
40965
+ ]
40966
+ }
40967
+ }
40968
+ },
40969
+ {
40970
+ "id": "",
40971
+ "body": {
40972
+ "package": "himalaya",
40973
+ "type": "Spacer",
40974
+ "props": {}
40975
+ }
40976
+ }
40977
+ ]
40978
+ }
40979
+ },
40980
+ "modifiers": {
40981
+ "fillMaxWidth": true,
40982
+ "accessibilityLabel": "$service:himiBookingService.sessionDate",
40983
+ "accessibilityValue": "$service:himiBookingService.sessionTime",
40984
+ "hiddenPath": "$service:himiBookingService.noSession"
40985
+ }
40986
+ },
40185
40987
  {
40186
40988
  "id": "himi_service.course_dates",
40187
40989
  "body": {
@@ -41580,7 +42382,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41580
42382
  "bottom": 24
41581
42383
  },
41582
42384
  "onAppear": {
41583
- "actionId": "tier5.himiBookingService.load"
42385
+ "actionId": "tier5.himiBookingService.load",
42386
+ "params": {
42387
+ "signInScreenId": "himi_sign_in",
42388
+ "signInPresentation": "sheet"
42389
+ }
41584
42390
  }
41585
42391
  }
41586
42392
  },
@@ -41637,6 +42443,77 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41637
42443
  "props": {
41638
42444
  "spacing": 0,
41639
42445
  "children": [
42446
+ {
42447
+ "id": "himi_service.session_message",
42448
+ "body": {
42449
+ "package": "himalaya",
42450
+ "type": "HStack",
42451
+ "props": {
42452
+ "spacing": 8,
42453
+ "alignment": "center",
42454
+ "children": [
42455
+ {
42456
+ "id": "",
42457
+ "body": {
42458
+ "package": "himalaya",
42459
+ "type": "Icon",
42460
+ "props": {
42461
+ "name": "check",
42462
+ "size": 20,
42463
+ "tint": "success"
42464
+ }
42465
+ },
42466
+ "modifiers": {
42467
+ "accessibilityRole": "decorative",
42468
+ "hiddenPath": "$service:himiBookingService.sessionMessageFailed"
42469
+ }
42470
+ },
42471
+ {
42472
+ "id": "",
42473
+ "body": {
42474
+ "package": "himalaya",
42475
+ "type": "Icon",
42476
+ "props": {
42477
+ "name": "info",
42478
+ "size": 20,
42479
+ "tint": "accentPrimary"
42480
+ }
42481
+ },
42482
+ "modifiers": {
42483
+ "accessibilityRole": "decorative",
42484
+ "hiddenPath": "$service:himiBookingService.sessionMessageOk"
42485
+ }
42486
+ },
42487
+ {
42488
+ "id": "",
42489
+ "body": {
42490
+ "package": "himalaya",
42491
+ "type": "Text",
42492
+ "props": {
42493
+ "text": "$service:himiBookingService.sessionMessage",
42494
+ "style": "footnote",
42495
+ "color": "textPrimary",
42496
+ "maxLines": 2
42497
+ }
42498
+ },
42499
+ "modifiers": {
42500
+ "weight": 1,
42501
+ "announce": {
42502
+ "politeness": "polite"
42503
+ }
42504
+ }
42505
+ }
42506
+ ]
42507
+ }
42508
+ },
42509
+ "modifiers": {
42510
+ "fillMaxWidth": true,
42511
+ "padding": {
42512
+ "bottom": 12
42513
+ },
42514
+ "hiddenPath": "$service:himiBookingService.noSessionMessage"
42515
+ }
42516
+ },
41640
42517
  {
41641
42518
  "id": "himi_service.choose_time",
41642
42519
  "body": {
@@ -41762,6 +42639,251 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41762
42639
  "modifiers": {
41763
42640
  "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
41764
42641
  }
42642
+ },
42643
+ {
42644
+ "id": "himi_service.session_book",
42645
+ "body": {
42646
+ "package": "himalaya",
42647
+ "type": "Button",
42648
+ "props": {
42649
+ "title": "Book",
42650
+ "style": "primary",
42651
+ "fullWidth": true,
42652
+ "action": {
42653
+ "actionId": "tier5.himiBookingService.book"
42654
+ }
42655
+ }
42656
+ },
42657
+ "modifiers": {
42658
+ "cornerRadius": 8,
42659
+ "pressFeedback": "scale",
42660
+ "haptic": "medium",
42661
+ "height": 48,
42662
+ "hiddenPath": "$service:himiBookingService.noSessionBook"
42663
+ }
42664
+ },
42665
+ {
42666
+ "id": "himi_service.session_request",
42667
+ "body": {
42668
+ "package": "himalaya",
42669
+ "type": "Button",
42670
+ "props": {
42671
+ "title": "Request to Book",
42672
+ "style": "primary",
42673
+ "fullWidth": true,
42674
+ "action": {
42675
+ "actionId": "tier5.himiBookingService.book"
42676
+ }
42677
+ }
42678
+ },
42679
+ "modifiers": {
42680
+ "cornerRadius": 8,
42681
+ "pressFeedback": "scale",
42682
+ "haptic": "medium",
42683
+ "height": 48,
42684
+ "hiddenPath": "$service:himiBookingService.noSessionRequest"
42685
+ }
42686
+ },
42687
+ {
42688
+ "id": "himi_service.session_waitlist",
42689
+ "body": {
42690
+ "package": "himalaya",
42691
+ "type": "Button",
42692
+ "props": {
42693
+ "title": "Join Waitlist",
42694
+ "style": "primary",
42695
+ "fullWidth": true,
42696
+ "action": {
42697
+ "actionId": "tier5.himiBookingService.joinWaitlist"
42698
+ }
42699
+ }
42700
+ },
42701
+ "modifiers": {
42702
+ "cornerRadius": 8,
42703
+ "pressFeedback": "scale",
42704
+ "haptic": "medium",
42705
+ "height": 48,
42706
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlist"
42707
+ }
42708
+ },
42709
+ {
42710
+ "id": "himi_service.session_closed",
42711
+ "body": {
42712
+ "package": "himalaya",
42713
+ "type": "VStack",
42714
+ "props": {
42715
+ "spacing": 8,
42716
+ "alignment": "center",
42717
+ "children": [
42718
+ {
42719
+ "id": "",
42720
+ "body": {
42721
+ "package": "himalaya",
42722
+ "type": "Text",
42723
+ "props": {
42724
+ "text": "$service:himiBookingService.closedLabel",
42725
+ "style": "footnote",
42726
+ "color": "textSecondary",
42727
+ "maxLines": 1,
42728
+ "textAlign": "center"
42729
+ }
42730
+ },
42731
+ "modifiers": {
42732
+ "accessibilityHidden": true
42733
+ }
42734
+ },
42735
+ {
42736
+ "id": "himi_service.session_book_closed",
42737
+ "body": {
42738
+ "package": "himalaya",
42739
+ "type": "Button",
42740
+ "props": {
42741
+ "title": "Book",
42742
+ "style": "primary",
42743
+ "fullWidth": true,
42744
+ "disabled": true,
42745
+ "action": {
42746
+ "actionId": "tier5.himiBookingService.book"
42747
+ }
42748
+ }
42749
+ },
42750
+ "modifiers": {
42751
+ "height": 48,
42752
+ "cornerRadius": 8,
42753
+ "accessibilityValue": "$service:himiBookingService.closedLabel"
42754
+ }
42755
+ }
42756
+ ]
42757
+ }
42758
+ },
42759
+ "modifiers": {
42760
+ "fillMaxWidth": true,
42761
+ "hiddenPath": "$service:himiBookingService.noSessionClosed"
42762
+ }
42763
+ },
42764
+ {
42765
+ "id": "himi_service.session_booked",
42766
+ "body": {
42767
+ "package": "himalaya",
42768
+ "type": "ZStack",
42769
+ "props": {
42770
+ "alignment": "center",
42771
+ "children": [
42772
+ {
42773
+ "id": "",
42774
+ "body": {
42775
+ "package": "himalaya",
42776
+ "type": "HStack",
42777
+ "props": {
42778
+ "spacing": 8,
42779
+ "alignment": "center",
42780
+ "children": [
42781
+ {
42782
+ "id": "",
42783
+ "body": {
42784
+ "package": "himalaya",
42785
+ "type": "Icon",
42786
+ "props": {
42787
+ "name": "check",
42788
+ "size": 20,
42789
+ "tint": "success"
42790
+ }
42791
+ },
42792
+ "modifiers": {
42793
+ "accessibilityRole": "decorative"
42794
+ }
42795
+ },
42796
+ {
42797
+ "id": "",
42798
+ "body": {
42799
+ "package": "himalaya",
42800
+ "type": "Text",
42801
+ "props": {
42802
+ "text": "Booked",
42803
+ "style": "bodyEmphasis",
42804
+ "color": "textPrimary",
42805
+ "maxLines": 1
42806
+ }
42807
+ }
42808
+ }
42809
+ ]
42810
+ }
42811
+ }
42812
+ }
42813
+ ]
42814
+ }
42815
+ },
42816
+ "modifiers": {
42817
+ "fillMaxWidth": true,
42818
+ "height": 48,
42819
+ "background": {
42820
+ "token": "surfaceSecondary"
42821
+ },
42822
+ "cornerRadius": 8,
42823
+ "hiddenPath": "$service:himiBookingService.noSessionBooked"
42824
+ }
42825
+ },
42826
+ {
42827
+ "id": "himi_service.session_waitlisted",
42828
+ "body": {
42829
+ "package": "himalaya",
42830
+ "type": "ZStack",
42831
+ "props": {
42832
+ "alignment": "center",
42833
+ "children": [
42834
+ {
42835
+ "id": "",
42836
+ "body": {
42837
+ "package": "himalaya",
42838
+ "type": "HStack",
42839
+ "props": {
42840
+ "spacing": 8,
42841
+ "alignment": "center",
42842
+ "children": [
42843
+ {
42844
+ "id": "",
42845
+ "body": {
42846
+ "package": "himalaya",
42847
+ "type": "Icon",
42848
+ "props": {
42849
+ "name": "clock",
42850
+ "size": 20,
42851
+ "tint": "textSecondary"
42852
+ }
42853
+ },
42854
+ "modifiers": {
42855
+ "accessibilityRole": "decorative"
42856
+ }
42857
+ },
42858
+ {
42859
+ "id": "",
42860
+ "body": {
42861
+ "package": "himalaya",
42862
+ "type": "Text",
42863
+ "props": {
42864
+ "text": "On waitlist",
42865
+ "style": "bodyEmphasis",
42866
+ "color": "textPrimary",
42867
+ "maxLines": 1
42868
+ }
42869
+ }
42870
+ }
42871
+ ]
42872
+ }
42873
+ }
42874
+ }
42875
+ ]
42876
+ }
42877
+ },
42878
+ "modifiers": {
42879
+ "fillMaxWidth": true,
42880
+ "height": 48,
42881
+ "background": {
42882
+ "token": "surfaceSecondary"
42883
+ },
42884
+ "cornerRadius": 8,
42885
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlisted"
42886
+ }
41765
42887
  }
41766
42888
  ]
41767
42889
  }