@wix/himalaya-cli 0.1493.0 → 0.1494.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +52 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/index.d.ts +180 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +4 -2
  5. package/dist/cli.mjs +30 -29
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/qa-builds.md +2 -2
  8. package/guides/sdk-reference.json +256 -11
  9. package/package.json +2 -2
  10. package/templates/beauty-salon/dev/index.ts +1624 -270
  11. package/templates/beauty-salon/tier5-src/_shared/wix-service-price.ts +18 -0
  12. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +514 -117
  13. package/templates/beauty-salon/tokens.json +6 -0
  14. package/templates/branded-lite/dev/index.ts +1621 -260
  15. package/templates/branded-lite/tier5-src/_shared/wix-service-price.ts +18 -0
  16. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +514 -117
  17. package/templates/branded-lite/tokens.json +1 -0
  18. package/templates/community-club/tier5-src/_shared/wix-service-price.ts +18 -0
  19. package/templates/community-club/tokens.json +6 -0
  20. package/templates/events-meetups/tier5-src/_shared/wix-service-price.ts +18 -0
  21. package/templates/events-meetups/tokens.json +6 -0
  22. package/templates/gym-fitness/dev/index.ts +1623 -269
  23. package/templates/gym-fitness/tier5-src/_shared/wix-service-price.ts +18 -0
  24. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +514 -117
  25. package/templates/gym-fitness/tokens.json +6 -0
  26. package/templates/nonprofit-cause/tier5-src/_shared/wix-service-price.ts +18 -0
  27. package/templates/nonprofit-cause/tokens.json +6 -0
  28. package/templates/podcast-creator/tier5-src/_shared/wix-service-price.ts +18 -0
  29. package/templates/podcast-creator/tokens.json +6 -0
  30. package/templates/portfolio-creative/tier5-src/_shared/wix-service-price.ts +18 -0
  31. package/templates/portfolio-creative/tokens.json +6 -0
  32. package/templates/restaurant/tier5-src/_shared/wix-service-price.ts +18 -0
  33. package/templates/restaurant/tokens.json +6 -0
  34. package/templates/retail-store/tier5-src/_shared/wix-service-price.ts +18 -0
  35. package/templates/retail-store/tokens.json +6 -0
  36. package/templates/yoga-studio/dev/index.ts +1617 -263
  37. package/templates/yoga-studio/tier5-src/_shared/wix-service-price.ts +18 -0
  38. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +514 -117
  39. package/templates/yoga-studio/tokens.json +6 -0
@@ -32791,7 +32791,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32791
32791
  { pattern: "^himi_service(?:[_/](.+))?$", display: "himi_service[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_service_"}, template: {
32792
32792
  "screenId": "himi_service___HIMI_ID__",
32793
32793
  "renderer": "sdui_intent",
32794
- "title": "Service",
32794
+ "title": "",
32795
32795
  "schemaVersion": 1,
32796
32796
  "cacheControl": {
32797
32797
  "maxAge": 0,
@@ -32803,39 +32803,62 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32803
32803
  "package": "himalaya",
32804
32804
  "type": "VStack",
32805
32805
  "props": {
32806
- "spacing": 16,
32806
+ "spacing": 0,
32807
32807
  "alignment": "leading",
32808
32808
  "children": [
32809
32809
  {
32810
- "id": "himi_service.retry.block",
32810
+ "id": "",
32811
32811
  "body": {
32812
32812
  "package": "himalaya",
32813
32813
  "type": "VStack",
32814
32814
  "props": {
32815
- "spacing": 12,
32816
- "alignment": "leading",
32815
+ "spacing": 0,
32817
32816
  "children": [
32818
32817
  {
32819
- "id": "",
32818
+ "id": "himi_service.retry.block",
32820
32819
  "body": {
32821
32820
  "package": "himalaya",
32822
- "type": "HStack",
32821
+ "type": "VStack",
32823
32822
  "props": {
32824
- "spacing": 10,
32823
+ "spacing": 12,
32824
+ "alignment": "leading",
32825
32825
  "children": [
32826
32826
  {
32827
32827
  "id": "",
32828
32828
  "body": {
32829
32829
  "package": "himalaya",
32830
- "type": "Icon",
32830
+ "type": "HStack",
32831
32831
  "props": {
32832
- "name": "warning",
32833
- "size": 18,
32834
- "tint": "accentPrimary"
32832
+ "spacing": 10,
32833
+ "children": [
32834
+ {
32835
+ "id": "",
32836
+ "body": {
32837
+ "package": "himalaya",
32838
+ "type": "Icon",
32839
+ "props": {
32840
+ "name": "warning",
32841
+ "size": 18,
32842
+ "tint": "accentPrimary"
32843
+ }
32844
+ },
32845
+ "modifiers": {
32846
+ "accessibilityRole": "decorative"
32847
+ }
32848
+ },
32849
+ {
32850
+ "id": "",
32851
+ "body": {
32852
+ "package": "himalaya",
32853
+ "type": "Text",
32854
+ "props": {
32855
+ "text": "Something did not load.",
32856
+ "style": "bodyEmphasis"
32857
+ }
32858
+ }
32859
+ }
32860
+ ]
32835
32861
  }
32836
- },
32837
- "modifiers": {
32838
- "accessibilityRole": "decorative"
32839
32862
  }
32840
32863
  },
32841
32864
  {
@@ -32844,64 +32867,60 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32844
32867
  "package": "himalaya",
32845
32868
  "type": "Text",
32846
32869
  "props": {
32847
- "text": "Something did not load.",
32848
- "style": "bodyEmphasis"
32870
+ "text": "Try again when the connection settles.",
32871
+ "style": "body",
32872
+ "color": "textSecondary"
32873
+ }
32874
+ }
32875
+ },
32876
+ {
32877
+ "id": "himi_service.retry",
32878
+ "body": {
32879
+ "package": "himalaya",
32880
+ "type": "Button",
32881
+ "props": {
32882
+ "title": "Try again",
32883
+ "style": "secondary",
32884
+ "action": {
32885
+ "actionId": "tier5.himiBookingService.load"
32886
+ }
32849
32887
  }
32850
32888
  }
32851
32889
  }
32852
32890
  ]
32853
32891
  }
32854
- }
32855
- },
32856
- {
32857
- "id": "",
32858
- "body": {
32859
- "package": "himalaya",
32860
- "type": "Text",
32861
- "props": {
32862
- "text": "Try again when the connection settles.",
32863
- "style": "body",
32864
- "color": "textSecondary"
32865
- }
32866
- }
32867
- },
32868
- {
32869
- "id": "himi_service.retry",
32870
- "body": {
32871
- "package": "himalaya",
32872
- "type": "Button",
32873
- "props": {
32874
- "title": "Try again",
32875
- "style": "secondary",
32876
- "action": {
32877
- "actionId": "tier5.himiBookingService.load"
32892
+ },
32893
+ "modifiers": {
32894
+ "background": {
32895
+ "token": "surfaceElevated"
32896
+ },
32897
+ "border": {
32898
+ "width": 1,
32899
+ "color": {
32900
+ "token": "border"
32878
32901
  }
32879
- }
32902
+ },
32903
+ "cornerRadius": 8,
32904
+ "padding": {
32905
+ "leading": 14,
32906
+ "trailing": 14,
32907
+ "top": 14,
32908
+ "bottom": 14
32909
+ },
32910
+ "transition": {
32911
+ "enter": "fade",
32912
+ "exit": "fade"
32913
+ },
32914
+ "hiddenPath": "$service:himiBookingService.notErrored"
32880
32915
  }
32881
32916
  }
32882
32917
  ]
32883
32918
  }
32884
32919
  },
32885
32920
  "modifiers": {
32886
- "background": {
32887
- "token": "surfaceElevated"
32888
- },
32889
- "border": {
32890
- "width": 1,
32891
- "color": {
32892
- "token": "border"
32893
- }
32894
- },
32895
- "cornerRadius": 8,
32921
+ "fillMaxWidth": true,
32896
32922
  "padding": {
32897
- "leading": 14,
32898
- "trailing": 14,
32899
- "top": 14,
32900
- "bottom": 14
32901
- },
32902
- "transition": {
32903
- "enter": "fade",
32904
- "exit": "fade"
32923
+ "top": 20
32905
32924
  },
32906
32925
  "hiddenPath": "$service:himiBookingService.notErrored"
32907
32926
  }
@@ -32912,7 +32931,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32912
32931
  "package": "himalaya",
32913
32932
  "type": "VStack",
32914
32933
  "props": {
32915
- "spacing": 12,
32934
+ "spacing": 24,
32935
+ "alignment": "leading",
32916
32936
  "children": [
32917
32937
  {
32918
32938
  "id": "himi_service.skeleton_media",
@@ -32920,277 +32940,1505 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32920
32940
  "package": "himalaya",
32921
32941
  "type": "Skeleton",
32922
32942
  "props": {
32923
- "height": 180,
32924
- "cornerRadius": 8
32943
+ "height": 219,
32944
+ "cornerRadius": 16
32925
32945
  }
32926
32946
  },
32927
32947
  "modifiers": {
32928
- "height": 180,
32948
+ "height": 219,
32949
+ "fillMaxWidth": true,
32929
32950
  "background": {
32930
32951
  "token": "surfaceSecondary"
32931
32952
  },
32932
- "cornerRadius": 8,
32953
+ "cornerRadius": 16,
32933
32954
  "accessibilityRole": "decorative"
32934
32955
  }
32935
32956
  },
32936
32957
  {
32937
- "id": "himi_service.skeleton_title",
32958
+ "id": "",
32938
32959
  "body": {
32939
32960
  "package": "himalaya",
32940
- "type": "Skeleton",
32961
+ "type": "VStack",
32941
32962
  "props": {
32942
- "height": 24,
32943
- "cornerRadius": 8
32963
+ "spacing": 8,
32964
+ "alignment": "leading",
32965
+ "children": [
32966
+ {
32967
+ "id": "himi_service.skeleton_eyebrow",
32968
+ "body": {
32969
+ "package": "himalaya",
32970
+ "type": "Skeleton",
32971
+ "props": {
32972
+ "height": 14,
32973
+ "cornerRadius": 8
32974
+ }
32975
+ },
32976
+ "modifiers": {
32977
+ "height": 14,
32978
+ "width": 90,
32979
+ "background": {
32980
+ "token": "surfaceSecondary"
32981
+ },
32982
+ "cornerRadius": 8,
32983
+ "accessibilityRole": "decorative"
32984
+ }
32985
+ },
32986
+ {
32987
+ "id": "himi_service.skeleton_title",
32988
+ "body": {
32989
+ "package": "himalaya",
32990
+ "type": "Skeleton",
32991
+ "props": {
32992
+ "height": 30,
32993
+ "cornerRadius": 8
32994
+ }
32995
+ },
32996
+ "modifiers": {
32997
+ "height": 30,
32998
+ "width": 220,
32999
+ "background": {
33000
+ "token": "surfaceSecondary"
33001
+ },
33002
+ "cornerRadius": 8,
33003
+ "accessibilityRole": "decorative"
33004
+ }
33005
+ },
33006
+ {
33007
+ "id": "himi_service.skeleton_tagline",
33008
+ "body": {
33009
+ "package": "himalaya",
33010
+ "type": "Skeleton",
33011
+ "props": {
33012
+ "height": 16,
33013
+ "cornerRadius": 8
33014
+ }
33015
+ },
33016
+ "modifiers": {
33017
+ "height": 16,
33018
+ "width": 280,
33019
+ "background": {
33020
+ "token": "surfaceSecondary"
33021
+ },
33022
+ "cornerRadius": 8,
33023
+ "accessibilityRole": "decorative"
33024
+ }
33025
+ },
33026
+ {
33027
+ "id": "himi_service.skeleton_price",
33028
+ "body": {
33029
+ "package": "himalaya",
33030
+ "type": "Skeleton",
33031
+ "props": {
33032
+ "height": 20,
33033
+ "cornerRadius": 8
33034
+ }
33035
+ },
33036
+ "modifiers": {
33037
+ "height": 20,
33038
+ "width": 70,
33039
+ "background": {
33040
+ "token": "surfaceSecondary"
33041
+ },
33042
+ "cornerRadius": 8,
33043
+ "accessibilityRole": "decorative",
33044
+ "padding": {
33045
+ "top": 8
33046
+ }
33047
+ }
33048
+ }
33049
+ ]
32944
33050
  }
32945
- },
32946
- "modifiers": {
32947
- "height": 24,
32948
- "background": {
32949
- "token": "surfaceSecondary"
32950
- },
32951
- "cornerRadius": 8,
32952
- "accessibilityRole": "decorative"
32953
33051
  }
32954
33052
  },
32955
33053
  {
32956
- "id": "himi_service.skeleton_body",
33054
+ "id": "",
32957
33055
  "body": {
32958
33056
  "package": "himalaya",
32959
- "type": "Skeleton",
32960
- "props": {
32961
- "height": 80,
32962
- "cornerRadius": 8
32963
- }
32964
- },
32965
- "modifiers": {
32966
- "height": 80,
32967
- "background": {
32968
- "token": "surfaceSecondary"
32969
- },
32970
- "cornerRadius": 8,
32971
- "accessibilityRole": "decorative"
33057
+ "type": "Divider",
33058
+ "props": {}
32972
33059
  }
32973
- }
32974
- ]
32975
- }
32976
- },
32977
- "modifiers": {
32978
- "hiddenPath": "$service:himiBookingService.notLoading"
32979
- }
32980
- },
32981
- {
32982
- "id": "",
32983
- "body": {
32984
- "package": "himalaya",
32985
- "type": "VStack",
32986
- "props": {
32987
- "spacing": 16,
32988
- "alignment": "leading",
32989
- "children": [
33060
+ },
32990
33061
  {
32991
- "id": "himi_service.summary",
33062
+ "id": "",
32992
33063
  "body": {
32993
33064
  "package": "himalaya",
32994
33065
  "type": "VStack",
32995
33066
  "props": {
32996
- "spacing": 12,
33067
+ "spacing": 16,
32997
33068
  "alignment": "leading",
32998
33069
  "children": [
32999
33070
  {
33000
33071
  "id": "",
33001
33072
  "body": {
33002
33073
  "package": "himalaya",
33003
- "type": "Image",
33074
+ "type": "HStack",
33004
33075
  "props": {
33005
- "url": "$service:himiBookingService.image",
33006
- "fillWidth": true,
33007
- "height": 210,
33008
- "contentMode": "fill",
33009
- "contentDescription": "$service:himiBookingService.name"
33010
- }
33011
- },
33012
- "modifiers": {
33013
- "cornerRadius": 8,
33014
- "fillMaxWidth": true,
33015
- "hiddenPath": "$service:himiBookingService.noImage"
33016
- }
33017
- },
33018
- {
33019
- "id": "",
33020
- "body": {
33021
- "package": "himalaya",
33076
+ "spacing": 12,
33077
+ "alignment": "center",
33078
+ "children": [
33079
+ {
33080
+ "id": "himi_service.skeleton_fact_icon_1",
33081
+ "body": {
33082
+ "package": "himalaya",
33083
+ "type": "Skeleton",
33084
+ "props": {
33085
+ "height": 20,
33086
+ "cornerRadius": 10
33087
+ }
33088
+ },
33089
+ "modifiers": {
33090
+ "height": 20,
33091
+ "width": 20,
33092
+ "background": {
33093
+ "token": "surfaceSecondary"
33094
+ },
33095
+ "cornerRadius": 10,
33096
+ "accessibilityRole": "decorative"
33097
+ }
33098
+ },
33099
+ {
33100
+ "id": "himi_service.skeleton_fact_1",
33101
+ "body": {
33102
+ "package": "himalaya",
33103
+ "type": "Skeleton",
33104
+ "props": {
33105
+ "height": 16,
33106
+ "cornerRadius": 8
33107
+ }
33108
+ },
33109
+ "modifiers": {
33110
+ "height": 16,
33111
+ "width": 160,
33112
+ "background": {
33113
+ "token": "surfaceSecondary"
33114
+ },
33115
+ "cornerRadius": 8,
33116
+ "accessibilityRole": "decorative"
33117
+ }
33118
+ }
33119
+ ]
33120
+ }
33121
+ }
33122
+ },
33123
+ {
33124
+ "id": "",
33125
+ "body": {
33126
+ "package": "himalaya",
33127
+ "type": "HStack",
33128
+ "props": {
33129
+ "spacing": 12,
33130
+ "alignment": "center",
33131
+ "children": [
33132
+ {
33133
+ "id": "himi_service.skeleton_fact_icon_2",
33134
+ "body": {
33135
+ "package": "himalaya",
33136
+ "type": "Skeleton",
33137
+ "props": {
33138
+ "height": 20,
33139
+ "cornerRadius": 10
33140
+ }
33141
+ },
33142
+ "modifiers": {
33143
+ "height": 20,
33144
+ "width": 20,
33145
+ "background": {
33146
+ "token": "surfaceSecondary"
33147
+ },
33148
+ "cornerRadius": 10,
33149
+ "accessibilityRole": "decorative"
33150
+ }
33151
+ },
33152
+ {
33153
+ "id": "himi_service.skeleton_fact_2",
33154
+ "body": {
33155
+ "package": "himalaya",
33156
+ "type": "Skeleton",
33157
+ "props": {
33158
+ "height": 16,
33159
+ "cornerRadius": 8
33160
+ }
33161
+ },
33162
+ "modifiers": {
33163
+ "height": 16,
33164
+ "width": 160,
33165
+ "background": {
33166
+ "token": "surfaceSecondary"
33167
+ },
33168
+ "cornerRadius": 8,
33169
+ "accessibilityRole": "decorative"
33170
+ }
33171
+ }
33172
+ ]
33173
+ }
33174
+ }
33175
+ },
33176
+ {
33177
+ "id": "",
33178
+ "body": {
33179
+ "package": "himalaya",
33180
+ "type": "HStack",
33181
+ "props": {
33182
+ "spacing": 12,
33183
+ "alignment": "center",
33184
+ "children": [
33185
+ {
33186
+ "id": "himi_service.skeleton_fact_icon_3",
33187
+ "body": {
33188
+ "package": "himalaya",
33189
+ "type": "Skeleton",
33190
+ "props": {
33191
+ "height": 20,
33192
+ "cornerRadius": 10
33193
+ }
33194
+ },
33195
+ "modifiers": {
33196
+ "height": 20,
33197
+ "width": 20,
33198
+ "background": {
33199
+ "token": "surfaceSecondary"
33200
+ },
33201
+ "cornerRadius": 10,
33202
+ "accessibilityRole": "decorative"
33203
+ }
33204
+ },
33205
+ {
33206
+ "id": "himi_service.skeleton_fact_3",
33207
+ "body": {
33208
+ "package": "himalaya",
33209
+ "type": "Skeleton",
33210
+ "props": {
33211
+ "height": 16,
33212
+ "cornerRadius": 8
33213
+ }
33214
+ },
33215
+ "modifiers": {
33216
+ "height": 16,
33217
+ "width": 160,
33218
+ "background": {
33219
+ "token": "surfaceSecondary"
33220
+ },
33221
+ "cornerRadius": 8,
33222
+ "accessibilityRole": "decorative"
33223
+ }
33224
+ }
33225
+ ]
33226
+ }
33227
+ }
33228
+ }
33229
+ ]
33230
+ }
33231
+ }
33232
+ },
33233
+ {
33234
+ "id": "",
33235
+ "body": {
33236
+ "package": "himalaya",
33237
+ "type": "VStack",
33238
+ "props": {
33239
+ "spacing": 8,
33240
+ "alignment": "leading",
33241
+ "children": [
33242
+ {
33243
+ "id": "himi_service.skeleton_section_title",
33244
+ "body": {
33245
+ "package": "himalaya",
33246
+ "type": "Skeleton",
33247
+ "props": {
33248
+ "height": 22,
33249
+ "cornerRadius": 8
33250
+ }
33251
+ },
33252
+ "modifiers": {
33253
+ "height": 22,
33254
+ "width": 120,
33255
+ "background": {
33256
+ "token": "surfaceSecondary"
33257
+ },
33258
+ "cornerRadius": 8,
33259
+ "accessibilityRole": "decorative"
33260
+ }
33261
+ },
33262
+ {
33263
+ "id": "himi_service.skeleton_body_1",
33264
+ "body": {
33265
+ "package": "himalaya",
33266
+ "type": "Skeleton",
33267
+ "props": {
33268
+ "height": 16,
33269
+ "cornerRadius": 8
33270
+ }
33271
+ },
33272
+ "modifiers": {
33273
+ "height": 16,
33274
+ "fillMaxWidth": true,
33275
+ "background": {
33276
+ "token": "surfaceSecondary"
33277
+ },
33278
+ "cornerRadius": 8,
33279
+ "accessibilityRole": "decorative"
33280
+ }
33281
+ },
33282
+ {
33283
+ "id": "himi_service.skeleton_body_2",
33284
+ "body": {
33285
+ "package": "himalaya",
33286
+ "type": "Skeleton",
33287
+ "props": {
33288
+ "height": 16,
33289
+ "cornerRadius": 8
33290
+ }
33291
+ },
33292
+ "modifiers": {
33293
+ "height": 16,
33294
+ "fillMaxWidth": true,
33295
+ "background": {
33296
+ "token": "surfaceSecondary"
33297
+ },
33298
+ "cornerRadius": 8,
33299
+ "accessibilityRole": "decorative"
33300
+ }
33301
+ },
33302
+ {
33303
+ "id": "himi_service.skeleton_body_3",
33304
+ "body": {
33305
+ "package": "himalaya",
33306
+ "type": "Skeleton",
33307
+ "props": {
33308
+ "height": 16,
33309
+ "cornerRadius": 8
33310
+ }
33311
+ },
33312
+ "modifiers": {
33313
+ "height": 16,
33314
+ "width": 200,
33315
+ "background": {
33316
+ "token": "surfaceSecondary"
33317
+ },
33318
+ "cornerRadius": 8,
33319
+ "accessibilityRole": "decorative"
33320
+ }
33321
+ }
33322
+ ]
33323
+ }
33324
+ }
33325
+ }
33326
+ ]
33327
+ }
33328
+ },
33329
+ "modifiers": {
33330
+ "fillMaxWidth": true,
33331
+ "padding": {
33332
+ "top": 20
33333
+ },
33334
+ "hiddenPath": "$service:himiBookingService.notLoading"
33335
+ }
33336
+ },
33337
+ {
33338
+ "id": "himi_service.content",
33339
+ "body": {
33340
+ "package": "himalaya",
33341
+ "type": "VStack",
33342
+ "props": {
33343
+ "spacing": 24,
33344
+ "alignment": "leading",
33345
+ "children": [
33346
+ {
33347
+ "id": "himi_service.media",
33348
+ "body": {
33349
+ "package": "himalaya",
33350
+ "type": "VStack",
33351
+ "props": {
33352
+ "spacing": 0,
33353
+ "alignment": "leading",
33354
+ "children": [
33355
+ {
33356
+ "id": "himi_service.gallery",
33357
+ "body": {
33358
+ "package": "himalaya",
33359
+ "type": "Carousel",
33360
+ "props": {
33361
+ "itemsPath": "$service:himiBookingService.images",
33362
+ "items": [
33363
+ {
33364
+ "id": "",
33365
+ "body": {
33366
+ "package": "himalaya",
33367
+ "type": "Image",
33368
+ "props": {
33369
+ "url": "$item.url",
33370
+ "fillWidth": true,
33371
+ "height": 219,
33372
+ "contentMode": "fill",
33373
+ "contentDescription": "$item.alt"
33374
+ }
33375
+ },
33376
+ "modifiers": {
33377
+ "height": 219,
33378
+ "cornerRadius": 16,
33379
+ "fillMaxWidth": true
33380
+ }
33381
+ }
33382
+ ]
33383
+ }
33384
+ },
33385
+ "modifiers": {
33386
+ "fillMaxWidth": true,
33387
+ "hiddenPath": "$service:himiBookingService.noGallery"
33388
+ }
33389
+ },
33390
+ {
33391
+ "id": "himi_service.image",
33392
+ "body": {
33393
+ "package": "himalaya",
33394
+ "type": "Image",
33395
+ "props": {
33396
+ "url": "$service:himiBookingService.image",
33397
+ "fillWidth": true,
33398
+ "height": 219,
33399
+ "contentMode": "fill",
33400
+ "contentDescription": "$service:himiBookingService.name"
33401
+ }
33402
+ },
33403
+ "modifiers": {
33404
+ "height": 219,
33405
+ "cornerRadius": 16,
33406
+ "fillMaxWidth": true,
33407
+ "hiddenPath": "$service:himiBookingService.noOneImage"
33408
+ }
33409
+ },
33410
+ {
33411
+ "id": "himi_service.no_image",
33412
+ "body": {
33413
+ "package": "himalaya",
33022
33414
  "type": "ZStack",
33023
33415
  "props": {
33024
33416
  "alignment": "center",
33025
33417
  "children": [
33026
33418
  {
33027
- "id": "",
33419
+ "id": "",
33420
+ "body": {
33421
+ "package": "himalaya",
33422
+ "type": "Icon",
33423
+ "props": {
33424
+ "name": "image",
33425
+ "size": 44,
33426
+ "tint": "accentPrimary"
33427
+ }
33428
+ },
33429
+ "modifiers": {
33430
+ "accessibilityRole": "decorative"
33431
+ }
33432
+ }
33433
+ ]
33434
+ }
33435
+ },
33436
+ "modifiers": {
33437
+ "height": 219,
33438
+ "cornerRadius": 16,
33439
+ "fillMaxWidth": true,
33440
+ "background": {
33441
+ "token": "surfaceSecondary"
33442
+ },
33443
+ "hiddenPath": "$service:himiBookingService.hasImage"
33444
+ }
33445
+ }
33446
+ ]
33447
+ }
33448
+ }
33449
+ },
33450
+ {
33451
+ "id": "himi_service.header",
33452
+ "body": {
33453
+ "package": "himalaya",
33454
+ "type": "VStack",
33455
+ "props": {
33456
+ "spacing": 8,
33457
+ "alignment": "leading",
33458
+ "children": [
33459
+ {
33460
+ "id": "himi_service.category",
33461
+ "body": {
33462
+ "package": "himalaya",
33463
+ "type": "Text",
33464
+ "props": {
33465
+ "text": "$service:himiBookingService.category",
33466
+ "style": "footnote",
33467
+ "color": "textSecondary",
33468
+ "maxLines": 1
33469
+ }
33470
+ },
33471
+ "modifiers": {
33472
+ "hiddenPath": "$service:himiBookingService.noCategory"
33473
+ }
33474
+ },
33475
+ {
33476
+ "id": "himi_service.title",
33477
+ "body": {
33478
+ "package": "himalaya",
33479
+ "type": "Text",
33480
+ "props": {
33481
+ "text": "$service:himiBookingService.name",
33482
+ "style": "pageTitle",
33483
+ "maxLines": 3,
33484
+ "collapseWhenEmpty": true
33485
+ }
33486
+ }
33487
+ },
33488
+ {
33489
+ "id": "himi_service.tagline",
33490
+ "body": {
33491
+ "package": "himalaya",
33492
+ "type": "Text",
33493
+ "props": {
33494
+ "text": "$service:himiBookingService.tagline",
33495
+ "style": "body",
33496
+ "color": "textSecondary",
33497
+ "maxLines": 3,
33498
+ "collapseWhenEmpty": true
33499
+ }
33500
+ }
33501
+ },
33502
+ {
33503
+ "id": "himi_service.price",
33504
+ "body": {
33505
+ "package": "himalaya",
33506
+ "type": "HStack",
33507
+ "props": {
33508
+ "spacing": 6,
33509
+ "alignment": "trailing",
33510
+ "children": [
33511
+ {
33512
+ "id": "",
33513
+ "body": {
33514
+ "package": "himalaya",
33515
+ "type": "Text",
33516
+ "props": {
33517
+ "text": "$service:himiBookingService.priceText",
33518
+ "style": "title3",
33519
+ "maxLines": 1
33520
+ }
33521
+ }
33522
+ },
33523
+ {
33524
+ "id": "",
33525
+ "body": {
33526
+ "package": "himalaya",
33527
+ "type": "Text",
33528
+ "props": {
33529
+ "text": "$service:himiBookingService.priceUnit",
33530
+ "style": "footnote",
33531
+ "color": "textSecondary",
33532
+ "maxLines": 1,
33533
+ "collapseWhenEmpty": true
33534
+ }
33535
+ }
33536
+ }
33537
+ ]
33538
+ }
33539
+ },
33540
+ "modifiers": {
33541
+ "padding": {
33542
+ "top": 8
33543
+ },
33544
+ "accessibilityLabel": "$service:himiBookingService.priceA11y",
33545
+ "hiddenPath": "$service:himiBookingService.noPriceAmount"
33546
+ }
33547
+ },
33548
+ {
33549
+ "id": "himi_service.price_text",
33550
+ "body": {
33551
+ "package": "himalaya",
33552
+ "type": "Text",
33553
+ "props": {
33554
+ "text": "$service:himiBookingService.priceText",
33555
+ "style": "bodyEmphasis",
33556
+ "maxLines": 2
33557
+ }
33558
+ },
33559
+ "modifiers": {
33560
+ "padding": {
33561
+ "top": 8
33562
+ },
33563
+ "hiddenPath": "$service:himiBookingService.noPriceDescription"
33564
+ }
33565
+ }
33566
+ ]
33567
+ }
33568
+ }
33569
+ },
33570
+ {
33571
+ "id": "himi_service.facts_section",
33572
+ "body": {
33573
+ "package": "himalaya",
33574
+ "type": "VStack",
33575
+ "props": {
33576
+ "spacing": 24,
33577
+ "alignment": "leading",
33578
+ "children": [
33579
+ {
33580
+ "id": "",
33581
+ "body": {
33582
+ "package": "himalaya",
33583
+ "type": "Divider",
33584
+ "props": {}
33585
+ }
33586
+ },
33587
+ {
33588
+ "id": "himi_service.facts",
33589
+ "body": {
33590
+ "package": "himalaya",
33591
+ "type": "VStack",
33592
+ "props": {
33593
+ "spacing": 16,
33594
+ "alignment": "leading",
33595
+ "children": [
33596
+ {
33597
+ "id": "himi_service.duration",
33598
+ "body": {
33599
+ "package": "himalaya",
33600
+ "type": "HStack",
33601
+ "props": {
33602
+ "spacing": 12,
33603
+ "alignment": "center",
33604
+ "children": [
33605
+ {
33606
+ "id": "",
33607
+ "body": {
33608
+ "package": "himalaya",
33609
+ "type": "ZStack",
33610
+ "props": {
33611
+ "alignment": "center",
33612
+ "children": [
33613
+ {
33614
+ "id": "",
33615
+ "body": {
33616
+ "package": "himalaya",
33617
+ "type": "Icon",
33618
+ "props": {
33619
+ "name": "clock",
33620
+ "size": 20,
33621
+ "tint": "textSecondary"
33622
+ }
33623
+ },
33624
+ "modifiers": {
33625
+ "accessibilityRole": "decorative"
33626
+ }
33627
+ }
33628
+ ]
33629
+ }
33630
+ },
33631
+ "modifiers": {
33632
+ "width": 20,
33633
+ "height": 20
33634
+ }
33635
+ },
33636
+ {
33637
+ "id": "",
33638
+ "body": {
33639
+ "package": "himalaya",
33640
+ "type": "VStack",
33641
+ "props": {
33642
+ "spacing": 2,
33643
+ "alignment": "leading",
33644
+ "children": [
33645
+ {
33646
+ "id": "",
33647
+ "body": {
33648
+ "package": "himalaya",
33649
+ "type": "Text",
33650
+ "props": {
33651
+ "text": "$service:himiBookingService.durationText",
33652
+ "style": "body",
33653
+ "maxLines": 1
33654
+ }
33655
+ }
33656
+ }
33657
+ ]
33658
+ }
33659
+ }
33660
+ },
33661
+ {
33662
+ "id": "",
33663
+ "body": {
33664
+ "package": "himalaya",
33665
+ "type": "Spacer",
33666
+ "props": {}
33667
+ }
33668
+ }
33669
+ ]
33670
+ }
33671
+ },
33672
+ "modifiers": {
33673
+ "fillMaxWidth": true,
33674
+ "accessibilityLabel": "$service:himiBookingService.durationText",
33675
+ "hiddenPath": "$service:himiBookingService.noDuration"
33676
+ }
33677
+ },
33678
+ {
33679
+ "id": "himi_service.locations",
33680
+ "body": {
33681
+ "package": "himalaya",
33682
+ "type": "LazyList",
33683
+ "props": {
33684
+ "spacing": 16,
33685
+ "itemsPath": "$service:himiBookingService.locations",
33686
+ "items": [
33687
+ {
33688
+ "id": "",
33689
+ "body": {
33690
+ "package": "himalaya",
33691
+ "type": "VStack",
33692
+ "props": {
33693
+ "spacing": 0,
33694
+ "alignment": "leading",
33695
+ "children": [
33696
+ {
33697
+ "id": "himi_service.location",
33698
+ "body": {
33699
+ "package": "himalaya",
33700
+ "type": "HStack",
33701
+ "props": {
33702
+ "spacing": 12,
33703
+ "alignment": "center",
33704
+ "children": [
33705
+ {
33706
+ "id": "",
33707
+ "body": {
33708
+ "package": "himalaya",
33709
+ "type": "ZStack",
33710
+ "props": {
33711
+ "alignment": "center",
33712
+ "children": [
33713
+ {
33714
+ "id": "",
33715
+ "body": {
33716
+ "package": "himalaya",
33717
+ "type": "Icon",
33718
+ "props": {
33719
+ "name": "location",
33720
+ "size": 20,
33721
+ "tint": "textSecondary"
33722
+ }
33723
+ },
33724
+ "modifiers": {
33725
+ "accessibilityRole": "decorative"
33726
+ }
33727
+ }
33728
+ ]
33729
+ }
33730
+ },
33731
+ "modifiers": {
33732
+ "width": 20,
33733
+ "height": 20
33734
+ }
33735
+ },
33736
+ {
33737
+ "id": "",
33738
+ "body": {
33739
+ "package": "himalaya",
33740
+ "type": "VStack",
33741
+ "props": {
33742
+ "spacing": 2,
33743
+ "alignment": "leading",
33744
+ "children": [
33745
+ {
33746
+ "id": "",
33747
+ "body": {
33748
+ "package": "himalaya",
33749
+ "type": "Text",
33750
+ "props": {
33751
+ "text": "$item.title",
33752
+ "style": "body",
33753
+ "maxLines": 1
33754
+ }
33755
+ }
33756
+ }
33757
+ ]
33758
+ }
33759
+ }
33760
+ },
33761
+ {
33762
+ "id": "",
33763
+ "body": {
33764
+ "package": "himalaya",
33765
+ "type": "Spacer",
33766
+ "props": {}
33767
+ }
33768
+ }
33769
+ ]
33770
+ }
33771
+ },
33772
+ "modifiers": {
33773
+ "fillMaxWidth": true,
33774
+ "accessibilityLabel": "$item.a11y",
33775
+ "onTap": {
33776
+ "actionId": "tier5.himiBookingService.openDirections",
33777
+ "params": {
33778
+ "index": "$item.index"
33779
+ }
33780
+ },
33781
+ "pressFeedback": "highlight",
33782
+ "accessibilityRole": "button",
33783
+ "hiddenPath": "$item.notTappable"
33784
+ }
33785
+ },
33786
+ {
33787
+ "id": "himi_service.location_client",
33788
+ "body": {
33789
+ "package": "himalaya",
33790
+ "type": "HStack",
33791
+ "props": {
33792
+ "spacing": 12,
33793
+ "alignment": "center",
33794
+ "children": [
33795
+ {
33796
+ "id": "",
33797
+ "body": {
33798
+ "package": "himalaya",
33799
+ "type": "ZStack",
33800
+ "props": {
33801
+ "alignment": "center",
33802
+ "children": [
33803
+ {
33804
+ "id": "",
33805
+ "body": {
33806
+ "package": "himalaya",
33807
+ "type": "Icon",
33808
+ "props": {
33809
+ "name": "location",
33810
+ "size": 20,
33811
+ "tint": "textSecondary"
33812
+ }
33813
+ },
33814
+ "modifiers": {
33815
+ "accessibilityRole": "decorative"
33816
+ }
33817
+ }
33818
+ ]
33819
+ }
33820
+ },
33821
+ "modifiers": {
33822
+ "width": 20,
33823
+ "height": 20
33824
+ }
33825
+ },
33826
+ {
33827
+ "id": "",
33828
+ "body": {
33829
+ "package": "himalaya",
33830
+ "type": "VStack",
33831
+ "props": {
33832
+ "spacing": 2,
33833
+ "alignment": "leading",
33834
+ "children": [
33835
+ {
33836
+ "id": "",
33837
+ "body": {
33838
+ "package": "himalaya",
33839
+ "type": "Text",
33840
+ "props": {
33841
+ "text": "$item.title",
33842
+ "style": "body",
33843
+ "maxLines": 1
33844
+ }
33845
+ }
33846
+ }
33847
+ ]
33848
+ }
33849
+ }
33850
+ },
33851
+ {
33852
+ "id": "",
33853
+ "body": {
33854
+ "package": "himalaya",
33855
+ "type": "Spacer",
33856
+ "props": {}
33857
+ }
33858
+ }
33859
+ ]
33860
+ }
33861
+ },
33862
+ "modifiers": {
33863
+ "fillMaxWidth": true,
33864
+ "accessibilityLabel": "$item.title",
33865
+ "hiddenPath": "$item.tappable"
33866
+ }
33867
+ }
33868
+ ]
33869
+ }
33870
+ }
33871
+ }
33872
+ ]
33873
+ }
33874
+ },
33875
+ "modifiers": {
33876
+ "hiddenPath": "$service:himiBookingService.noLocations"
33877
+ }
33878
+ },
33879
+ {
33880
+ "id": "himi_service.online",
33881
+ "body": {
33882
+ "package": "himalaya",
33883
+ "type": "HStack",
33884
+ "props": {
33885
+ "spacing": 12,
33886
+ "alignment": "center",
33887
+ "children": [
33888
+ {
33889
+ "id": "",
33890
+ "body": {
33891
+ "package": "himalaya",
33892
+ "type": "ZStack",
33893
+ "props": {
33894
+ "alignment": "center",
33895
+ "children": [
33896
+ {
33897
+ "id": "",
33898
+ "body": {
33899
+ "package": "himalaya",
33900
+ "type": "Icon",
33901
+ "props": {
33902
+ "name": "globe",
33903
+ "size": 20,
33904
+ "tint": "textSecondary"
33905
+ }
33906
+ },
33907
+ "modifiers": {
33908
+ "accessibilityRole": "decorative"
33909
+ }
33910
+ }
33911
+ ]
33912
+ }
33913
+ },
33914
+ "modifiers": {
33915
+ "width": 20,
33916
+ "height": 20
33917
+ }
33918
+ },
33919
+ {
33920
+ "id": "",
33921
+ "body": {
33922
+ "package": "himalaya",
33923
+ "type": "VStack",
33924
+ "props": {
33925
+ "spacing": 2,
33926
+ "alignment": "leading",
33927
+ "children": [
33928
+ {
33929
+ "id": "",
33930
+ "body": {
33931
+ "package": "himalaya",
33932
+ "type": "Text",
33933
+ "props": {
33934
+ "text": "Online session",
33935
+ "style": "body",
33936
+ "maxLines": 1
33937
+ }
33938
+ }
33939
+ }
33940
+ ]
33941
+ }
33942
+ }
33943
+ },
33944
+ {
33945
+ "id": "",
33946
+ "body": {
33947
+ "package": "himalaya",
33948
+ "type": "Spacer",
33949
+ "props": {}
33950
+ }
33951
+ }
33952
+ ]
33953
+ }
33954
+ },
33955
+ "modifiers": {
33956
+ "fillMaxWidth": true,
33957
+ "accessibilityLabel": "Online session",
33958
+ "hiddenPath": "$service:himiBookingService.noOnline"
33959
+ }
33960
+ },
33961
+ {
33962
+ "id": "himi_service.staff",
33963
+ "body": {
33964
+ "package": "himalaya",
33965
+ "type": "HStack",
33966
+ "props": {
33967
+ "spacing": 12,
33968
+ "alignment": "center",
33969
+ "children": [
33970
+ {
33971
+ "id": "",
33972
+ "body": {
33973
+ "package": "himalaya",
33974
+ "type": "ZStack",
33975
+ "props": {
33976
+ "alignment": "center",
33977
+ "children": [
33978
+ {
33979
+ "id": "",
33980
+ "body": {
33981
+ "package": "himalaya",
33982
+ "type": "ZStack",
33983
+ "props": {
33984
+ "alignment": "center",
33985
+ "children": [
33986
+ {
33987
+ "id": "himi_service.staff_photo",
33988
+ "body": {
33989
+ "package": "himalaya",
33990
+ "type": "Avatar",
33991
+ "props": {
33992
+ "imageUrl": "$service:himiBookingService.staffImage",
33993
+ "size": 20
33994
+ }
33995
+ },
33996
+ "modifiers": {
33997
+ "accessibilityRole": "decorative",
33998
+ "hiddenPath": "$service:himiBookingService.noStaffImage"
33999
+ }
34000
+ },
34001
+ {
34002
+ "id": "himi_service.staff_initials",
34003
+ "body": {
34004
+ "package": "himalaya",
34005
+ "type": "Avatar",
34006
+ "props": {
34007
+ "initials": "$service:himiBookingService.staffInitials",
34008
+ "size": 20
34009
+ }
34010
+ },
34011
+ "modifiers": {
34012
+ "accessibilityRole": "decorative",
34013
+ "hiddenPath": "$service:himiBookingService.hasStaffImage"
34014
+ }
34015
+ }
34016
+ ]
34017
+ }
34018
+ },
34019
+ "modifiers": {
34020
+ "width": 20,
34021
+ "height": 20
34022
+ }
34023
+ }
34024
+ ]
34025
+ }
34026
+ },
34027
+ "modifiers": {
34028
+ "width": 20,
34029
+ "height": 20
34030
+ }
34031
+ },
34032
+ {
34033
+ "id": "",
34034
+ "body": {
34035
+ "package": "himalaya",
34036
+ "type": "VStack",
34037
+ "props": {
34038
+ "spacing": 2,
34039
+ "alignment": "leading",
34040
+ "children": [
34041
+ {
34042
+ "id": "",
34043
+ "body": {
34044
+ "package": "himalaya",
34045
+ "type": "Text",
34046
+ "props": {
34047
+ "text": "$service:himiBookingService.staffText",
34048
+ "style": "body",
34049
+ "maxLines": 1
34050
+ }
34051
+ }
34052
+ }
34053
+ ]
34054
+ }
34055
+ }
34056
+ },
34057
+ {
34058
+ "id": "",
34059
+ "body": {
34060
+ "package": "himalaya",
34061
+ "type": "Spacer",
34062
+ "props": {}
34063
+ }
34064
+ }
34065
+ ]
34066
+ }
34067
+ },
34068
+ "modifiers": {
34069
+ "fillMaxWidth": true,
34070
+ "accessibilityLabel": "$service:himiBookingService.staffText",
34071
+ "hiddenPath": "$service:himiBookingService.noStaff"
34072
+ }
34073
+ },
34074
+ {
34075
+ "id": "himi_service.pay",
34076
+ "body": {
34077
+ "package": "himalaya",
34078
+ "type": "HStack",
34079
+ "props": {
34080
+ "spacing": 12,
34081
+ "alignment": "center",
34082
+ "children": [
34083
+ {
34084
+ "id": "",
34085
+ "body": {
34086
+ "package": "himalaya",
34087
+ "type": "ZStack",
34088
+ "props": {
34089
+ "alignment": "center",
34090
+ "children": [
34091
+ {
34092
+ "id": "",
34093
+ "body": {
34094
+ "package": "himalaya",
34095
+ "type": "Icon",
34096
+ "props": {
34097
+ "name": "tag",
34098
+ "size": 20,
34099
+ "tint": "textSecondary"
34100
+ }
34101
+ },
34102
+ "modifiers": {
34103
+ "accessibilityRole": "decorative"
34104
+ }
34105
+ }
34106
+ ]
34107
+ }
34108
+ },
34109
+ "modifiers": {
34110
+ "width": 20,
34111
+ "height": 20
34112
+ }
34113
+ },
34114
+ {
34115
+ "id": "",
34116
+ "body": {
34117
+ "package": "himalaya",
34118
+ "type": "VStack",
34119
+ "props": {
34120
+ "spacing": 2,
34121
+ "alignment": "leading",
34122
+ "children": [
34123
+ {
34124
+ "id": "",
34125
+ "body": {
34126
+ "package": "himalaya",
34127
+ "type": "Text",
34128
+ "props": {
34129
+ "text": "$service:himiBookingService.payText",
34130
+ "style": "body",
34131
+ "maxLines": 1
34132
+ }
34133
+ }
34134
+ },
34135
+ {
34136
+ "id": "",
34137
+ "body": {
34138
+ "package": "himalaya",
34139
+ "type": "Text",
34140
+ "props": {
34141
+ "text": "$service:himiBookingService.paySub",
34142
+ "style": "caption",
34143
+ "color": "textSecondary",
34144
+ "maxLines": 1,
34145
+ "collapseWhenEmpty": true
34146
+ }
34147
+ }
34148
+ }
34149
+ ]
34150
+ }
34151
+ }
34152
+ },
34153
+ {
34154
+ "id": "",
34155
+ "body": {
34156
+ "package": "himalaya",
34157
+ "type": "Spacer",
34158
+ "props": {}
34159
+ }
34160
+ }
34161
+ ]
34162
+ }
34163
+ },
34164
+ "modifiers": {
34165
+ "fillMaxWidth": true,
34166
+ "accessibilityLabel": "$service:himiBookingService.payText",
34167
+ "accessibilityValue": "$service:himiBookingService.paySub",
34168
+ "hiddenPath": "$service:himiBookingService.noPay"
34169
+ }
34170
+ }
34171
+ ]
34172
+ }
34173
+ }
34174
+ }
34175
+ ]
34176
+ }
34177
+ },
34178
+ "modifiers": {
34179
+ "hiddenPath": "$service:himiBookingService.noFacts"
34180
+ }
34181
+ },
34182
+ {
34183
+ "id": "himi_service.about_section",
34184
+ "body": {
34185
+ "package": "himalaya",
34186
+ "type": "VStack",
34187
+ "props": {
34188
+ "spacing": 24,
34189
+ "alignment": "leading",
34190
+ "children": [
34191
+ {
34192
+ "id": "",
34193
+ "body": {
34194
+ "package": "himalaya",
34195
+ "type": "Divider",
34196
+ "props": {}
34197
+ }
34198
+ },
34199
+ {
34200
+ "id": "",
34201
+ "body": {
34202
+ "package": "himalaya",
34203
+ "type": "VStack",
34204
+ "props": {
34205
+ "spacing": 8,
34206
+ "alignment": "leading",
34207
+ "children": [
34208
+ {
34209
+ "id": "himi_service.about_title",
34210
+ "body": {
34211
+ "package": "himalaya",
34212
+ "type": "Text",
34213
+ "props": {
34214
+ "text": "About",
34215
+ "style": "title3"
34216
+ }
34217
+ }
34218
+ },
34219
+ {
34220
+ "id": "himi_service.about",
34221
+ "body": {
34222
+ "package": "himalaya",
34223
+ "type": "Text",
34224
+ "props": {
34225
+ "text": "$service:himiBookingService.about",
34226
+ "style": "body",
34227
+ "color": "textPrimary",
34228
+ "collapseWhenEmpty": true
34229
+ }
34230
+ }
34231
+ }
34232
+ ]
34233
+ }
34234
+ }
34235
+ }
34236
+ ]
34237
+ }
34238
+ },
34239
+ "modifiers": {
34240
+ "hiddenPath": "$service:himiBookingService.noAbout"
34241
+ }
34242
+ },
34243
+ {
34244
+ "id": "himi_service.policy_section",
34245
+ "body": {
34246
+ "package": "himalaya",
34247
+ "type": "VStack",
34248
+ "props": {
34249
+ "spacing": 24,
34250
+ "alignment": "leading",
34251
+ "children": [
34252
+ {
34253
+ "id": "",
34254
+ "body": {
34255
+ "package": "himalaya",
34256
+ "type": "Divider",
34257
+ "props": {}
34258
+ }
34259
+ },
34260
+ {
34261
+ "id": "himi_service.policy",
34262
+ "body": {
34263
+ "package": "himalaya",
34264
+ "type": "VStack",
34265
+ "props": {
34266
+ "spacing": 0,
34267
+ "alignment": "leading",
34268
+ "children": [
34269
+ {
34270
+ "id": "himi_service.policy.header",
34271
+ "body": {
34272
+ "package": "himalaya",
34273
+ "type": "HStack",
34274
+ "props": {
34275
+ "spacing": 12,
34276
+ "alignment": "center",
34277
+ "children": [
34278
+ {
34279
+ "id": "",
34280
+ "body": {
34281
+ "package": "himalaya",
34282
+ "type": "Text",
34283
+ "props": {
34284
+ "text": "Our policy",
34285
+ "style": "body",
34286
+ "maxLines": 2
34287
+ }
34288
+ }
34289
+ },
34290
+ {
34291
+ "id": "",
34292
+ "body": {
34293
+ "package": "himalaya",
34294
+ "type": "Spacer",
34295
+ "props": {}
34296
+ }
34297
+ },
34298
+ {
34299
+ "id": "",
34300
+ "body": {
34301
+ "package": "himalaya",
34302
+ "type": "Icon",
34303
+ "props": {
34304
+ "name": "chevron_down",
34305
+ "size": 16,
34306
+ "tint": "textSecondary"
34307
+ }
34308
+ },
34309
+ "modifiers": {
34310
+ "accessibilityRole": "decorative",
34311
+ "hiddenPath": "$service:himiBookingService.policyExpanded"
34312
+ }
34313
+ },
34314
+ {
34315
+ "id": "",
34316
+ "body": {
34317
+ "package": "himalaya",
34318
+ "type": "Icon",
34319
+ "props": {
34320
+ "name": "chevron_up",
34321
+ "size": 16,
34322
+ "tint": "textSecondary"
34323
+ }
34324
+ },
34325
+ "modifiers": {
34326
+ "accessibilityRole": "decorative",
34327
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
34328
+ }
34329
+ }
34330
+ ]
34331
+ }
34332
+ },
34333
+ "modifiers": {
34334
+ "fillMaxWidth": true,
34335
+ "padding": {
34336
+ "top": 4,
34337
+ "bottom": 4
34338
+ },
34339
+ "onTap": {
34340
+ "actionId": "tier5.himiBookingService.togglePolicy"
34341
+ },
34342
+ "pressFeedback": "highlight",
34343
+ "accessibilityRole": "button",
34344
+ "accessibilityLabel": "Our policy"
34345
+ }
34346
+ },
34347
+ {
34348
+ "id": "himi_service.policy.lines",
33028
34349
  "body": {
33029
34350
  "package": "himalaya",
33030
- "type": "Text",
34351
+ "type": "LazyList",
33031
34352
  "props": {
33032
- "text": "$service:himiBookingService.initial",
33033
- "style": "display",
33034
- "color": "textOnAccent"
34353
+ "spacing": 8,
34354
+ "itemsPath": "$service:himiBookingService.policyLines",
34355
+ "items": [
34356
+ {
34357
+ "id": "",
34358
+ "body": {
34359
+ "package": "himalaya",
34360
+ "type": "VStack",
34361
+ "props": {
34362
+ "spacing": 0,
34363
+ "alignment": "leading",
34364
+ "children": [
34365
+ {
34366
+ "id": "",
34367
+ "body": {
34368
+ "package": "himalaya",
34369
+ "type": "Text",
34370
+ "props": {
34371
+ "text": "$item.text",
34372
+ "style": "body",
34373
+ "color": "textPrimary"
34374
+ }
34375
+ },
34376
+ "modifiers": {
34377
+ "hiddenPath": "$item.notOwner"
34378
+ }
34379
+ },
34380
+ {
34381
+ "id": "",
34382
+ "body": {
34383
+ "package": "himalaya",
34384
+ "type": "Text",
34385
+ "props": {
34386
+ "text": "$item.text",
34387
+ "style": "body",
34388
+ "color": "textSecondary"
34389
+ }
34390
+ },
34391
+ "modifiers": {
34392
+ "hiddenPath": "$item.owner"
34393
+ }
34394
+ }
34395
+ ]
34396
+ }
34397
+ }
34398
+ }
34399
+ ]
33035
34400
  }
34401
+ },
34402
+ "modifiers": {
34403
+ "padding": {
34404
+ "top": 16
34405
+ },
34406
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
33036
34407
  }
33037
34408
  }
33038
34409
  ]
33039
34410
  }
33040
- },
33041
- "modifiers": {
33042
- "fillMaxWidth": true,
33043
- "height": 160,
33044
- "background": {
33045
- "token": "accentPrimary"
33046
- },
33047
- "cornerRadius": 8,
33048
- "hiddenPath": "$service:himiBookingService.hasImage"
33049
- }
33050
- },
33051
- {
33052
- "id": "",
33053
- "body": {
33054
- "package": "himalaya",
33055
- "type": "Text",
33056
- "props": {
33057
- "text": "$service:himiBookingService.name",
33058
- "style": "title2",
33059
- "maxLines": 2,
33060
- "collapseWhenEmpty": true
33061
- }
33062
- }
33063
- },
33064
- {
33065
- "id": "",
33066
- "body": {
33067
- "package": "himalaya",
33068
- "type": "Divider",
33069
- "props": {}
33070
- }
33071
- },
33072
- {
33073
- "id": "himi_service.price",
33074
- "body": {
33075
- "package": "himalaya",
33076
- "type": "LabeledContent",
33077
- "props": {
33078
- "label": "Price",
33079
- "value": "$service:himiBookingService.price"
33080
- }
33081
- },
33082
- "modifiers": {
33083
- "hiddenPath": "$service:himiBookingService.noPrice"
33084
- }
33085
- },
33086
- {
33087
- "id": "himi_service.duration",
33088
- "body": {
33089
- "package": "himalaya",
33090
- "type": "LabeledContent",
33091
- "props": {
33092
- "label": "Duration",
33093
- "value": "$service:himiBookingService.duration"
33094
- }
33095
- },
33096
- "modifiers": {
33097
- "hiddenPath": "$service:himiBookingService.noDuration"
33098
- }
33099
- },
33100
- {
33101
- "id": "himi_service.category",
33102
- "body": {
33103
- "package": "himalaya",
33104
- "type": "LabeledContent",
33105
- "props": {
33106
- "label": "Category",
33107
- "value": "$service:himiBookingService.category"
33108
- }
33109
- },
33110
- "modifiers": {
33111
- "hiddenPath": "$service:himiBookingService.noCategory"
33112
- }
33113
- },
33114
- {
33115
- "id": "",
33116
- "body": {
33117
- "package": "himalaya",
33118
- "type": "Text",
33119
- "props": {
33120
- "text": "$service:himiBookingService.description",
33121
- "style": "body",
33122
- "color": "textSecondary",
33123
- "collapseWhenEmpty": true
33124
- }
33125
34411
  }
33126
34412
  }
33127
34413
  ]
33128
34414
  }
33129
34415
  },
33130
34416
  "modifiers": {
33131
- "background": {
33132
- "token": "surfaceElevated"
33133
- },
33134
- "border": {
33135
- "width": 1,
33136
- "color": {
33137
- "token": "border"
33138
- }
33139
- },
33140
- "cornerRadius": 8,
33141
- "padding": {
33142
- "leading": 14,
33143
- "trailing": 14,
33144
- "top": 14,
33145
- "bottom": 14
33146
- }
34417
+ "hiddenPath": "$service:himiBookingService.noPolicy"
33147
34418
  }
33148
34419
  },
33149
34420
  {
33150
- "id": "himi_service.choose_time",
34421
+ "id": "himi_service.not_bookable",
33151
34422
  "body": {
33152
34423
  "package": "himalaya",
33153
- "type": "Button",
34424
+ "type": "Banner",
33154
34425
  "props": {
33155
- "title": "Choose a time",
33156
- "style": "primary",
33157
- "fullWidth": true,
33158
- "action": {
33159
- "actionId": "himi.open",
33160
- "params": {
33161
- "screenId": "himi_time",
33162
- "id": "$service:himiBookingService.id"
33163
- }
33164
- }
34426
+ "severity": "info",
34427
+ "title": "This service isn't available for online booking. Contact us to book it."
33165
34428
  }
33166
34429
  },
33167
34430
  "modifiers": {
33168
- "cornerRadius": 8,
33169
- "pressFeedback": "scale",
33170
- "haptic": "medium"
33171
- }
33172
- },
33173
- {
33174
- "id": "himi_service.share",
33175
- "body": {
33176
- "package": "himalaya",
33177
- "type": "Button",
33178
- "props": {
33179
- "title": "Share",
33180
- "style": "secondary",
33181
- "fullWidth": true,
33182
- "leadingIcon": "share",
33183
- "action": {
33184
- "actionId": "tier5.himiBookingService.share"
33185
- }
33186
- }
34431
+ "hiddenPath": "$service:himiBookingService.bookableOnline"
33187
34432
  }
33188
34433
  }
33189
34434
  ]
33190
34435
  }
33191
34436
  },
33192
34437
  "modifiers": {
33193
- "hiddenPath": "$service:himiBookingService.isLoading"
34438
+ "hiddenPath": "$service:himiBookingService.hideContent",
34439
+ "padding": {
34440
+ "top": 20
34441
+ }
33194
34442
  }
33195
34443
  },
33196
34444
  {
@@ -33272,9 +34520,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33272
34520
  "token": "surfacePrimary"
33273
34521
  },
33274
34522
  "padding": {
33275
- "leading": 16,
33276
- "trailing": 16,
33277
- "top": 18,
34523
+ "leading": 20,
34524
+ "trailing": 20,
34525
+ "top": 0,
33278
34526
  "bottom": 24
33279
34527
  },
33280
34528
  "onAppear": {
@@ -33289,13 +34537,119 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33289
34537
  "declaredCapabilities": [
33290
34538
  "wix_api",
33291
34539
  "share",
33292
- "local_database"
34540
+ "local_database",
34541
+ "open_url"
33293
34542
  ],
33294
34543
  "minBinaryVersion": "0.1.0",
33295
34544
  "bundleVersion": "0.0.1"
33296
34545
  },
33297
34546
  "input": {
33298
34547
  "id": "__HIMI_ID__"
34548
+ },
34549
+ "topBar": {
34550
+ "actions": [
34551
+ {
34552
+ "id": "share",
34553
+ "icon": "share",
34554
+ "accessibilityLabel": "Share",
34555
+ "onTap": {
34556
+ "actionId": "tier5.himiBookingService.share"
34557
+ }
34558
+ }
34559
+ ]
34560
+ },
34561
+ "stickyFooter": {
34562
+ "id": "himi_service.footer",
34563
+ "body": {
34564
+ "package": "himalaya",
34565
+ "type": "VStack",
34566
+ "props": {
34567
+ "spacing": 0,
34568
+ "alignment": "leading",
34569
+ "children": [
34570
+ {
34571
+ "id": "",
34572
+ "body": {
34573
+ "package": "himalaya",
34574
+ "type": "Divider",
34575
+ "props": {}
34576
+ }
34577
+ },
34578
+ {
34579
+ "id": "",
34580
+ "body": {
34581
+ "package": "himalaya",
34582
+ "type": "VStack",
34583
+ "props": {
34584
+ "spacing": 0,
34585
+ "children": [
34586
+ {
34587
+ "id": "himi_service.choose_time",
34588
+ "body": {
34589
+ "package": "himalaya",
34590
+ "type": "Button",
34591
+ "props": {
34592
+ "title": "Choose a Time",
34593
+ "style": "primary",
34594
+ "fullWidth": true,
34595
+ "action": {
34596
+ "actionId": "tier5.himiBookingService.chooseTime"
34597
+ }
34598
+ }
34599
+ },
34600
+ "modifiers": {
34601
+ "cornerRadius": 8,
34602
+ "pressFeedback": "scale",
34603
+ "haptic": "medium",
34604
+ "height": 48,
34605
+ "hiddenPath": "$service:himiBookingService.requestToBook"
34606
+ }
34607
+ },
34608
+ {
34609
+ "id": "himi_service.request",
34610
+ "body": {
34611
+ "package": "himalaya",
34612
+ "type": "Button",
34613
+ "props": {
34614
+ "title": "Request to Book",
34615
+ "style": "primary",
34616
+ "fullWidth": true,
34617
+ "action": {
34618
+ "actionId": "tier5.himiBookingService.chooseTime"
34619
+ }
34620
+ }
34621
+ },
34622
+ "modifiers": {
34623
+ "cornerRadius": 8,
34624
+ "pressFeedback": "scale",
34625
+ "haptic": "medium",
34626
+ "height": 48,
34627
+ "hiddenPath": "$service:himiBookingService.notRequestToBook"
34628
+ }
34629
+ }
34630
+ ]
34631
+ }
34632
+ },
34633
+ "modifiers": {
34634
+ "fillMaxWidth": true,
34635
+ "padding": {
34636
+ "leading": 16,
34637
+ "trailing": 16,
34638
+ "top": 12,
34639
+ "bottom": 12
34640
+ }
34641
+ }
34642
+ }
34643
+ ]
34644
+ }
34645
+ },
34646
+ "modifiers": {
34647
+ "fillMaxWidth": true,
34648
+ "background": {
34649
+ "token": "surfacePrimary"
34650
+ },
34651
+ "hiddenPath": "$service:himiBookingService.hideFooter"
34652
+ }
33299
34653
  }
33300
34654
  } },
33301
34655
  { pattern: "^himi_time(?:[_/](.+))?$", display: "himi_time[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_time_"}, template: {