@wix/himalaya-cli 0.1493.0 → 0.1495.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 (97) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +5 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/live-activity/src/index.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +2 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +52 -2
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/index.d.ts +180 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ecom/src/extensions.d.ts +16 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/display.d.ts +24 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/live-activity.mjs +3 -1
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +4 -2
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +14 -0
  12. package/dist/cli.mjs +3585 -2540
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/guides/himi-json-output.md +46 -4
  15. package/guides/iap-products.md +68 -9
  16. package/guides/one-app-to-himi-app.md +80 -5
  17. package/guides/qa-builds.md +2 -2
  18. package/guides/widgets.md +5 -3
  19. package/package.json +2 -2
  20. package/templates/beauty-salon/dev/index.ts +4442 -1532
  21. package/templates/beauty-salon/himalaya.content.json +1 -1
  22. package/templates/beauty-salon/tier5-src/_shared/himi-store-collection.ts +6 -3
  23. package/templates/beauty-salon/tier5-src/_shared/himi-store-saved.ts +7 -1
  24. package/templates/beauty-salon/tier5-src/_shared/wix-service-price.ts +18 -0
  25. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +514 -117
  26. package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  27. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +196 -34
  28. package/templates/beauty-salon/tier5-src/himi-store-saved/index.ts +21 -5
  29. package/templates/beauty-salon/tier5-src/himi-store-shop/index.ts +14 -2
  30. package/templates/beauty-salon/tokens.json +21 -0
  31. package/templates/branded-lite/dev/index.ts +4427 -1510
  32. package/templates/branded-lite/himalaya.content.json +1 -1
  33. package/templates/branded-lite/tier5-src/_shared/himi-store-collection.ts +6 -3
  34. package/templates/branded-lite/tier5-src/_shared/himi-store-saved.ts +7 -1
  35. package/templates/branded-lite/tier5-src/_shared/wix-service-price.ts +18 -0
  36. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +514 -117
  37. package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  38. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +196 -34
  39. package/templates/branded-lite/tier5-src/himi-store-saved/index.ts +21 -5
  40. package/templates/branded-lite/tier5-src/himi-store-shop/index.ts +14 -2
  41. package/templates/branded-lite/tokens.json +9 -0
  42. package/templates/community-club/dev/index.ts +1 -1
  43. package/templates/community-club/tier5-src/_shared/himi-store-saved.ts +7 -1
  44. package/templates/community-club/tier5-src/_shared/wix-service-price.ts +18 -0
  45. package/templates/community-club/tokens.json +21 -0
  46. package/templates/events-meetups/dev/index.ts +1 -1
  47. package/templates/events-meetups/tier5-src/_shared/himi-store-saved.ts +7 -1
  48. package/templates/events-meetups/tier5-src/_shared/wix-service-price.ts +18 -0
  49. package/templates/events-meetups/tokens.json +21 -0
  50. package/templates/gym-fitness/dev/index.ts +4439 -1529
  51. package/templates/gym-fitness/himalaya.content.json +1 -1
  52. package/templates/gym-fitness/tier5-src/_shared/himi-store-collection.ts +6 -3
  53. package/templates/gym-fitness/tier5-src/_shared/himi-store-saved.ts +7 -1
  54. package/templates/gym-fitness/tier5-src/_shared/wix-service-price.ts +18 -0
  55. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +514 -117
  56. package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  57. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +196 -34
  58. package/templates/gym-fitness/tier5-src/himi-store-saved/index.ts +21 -5
  59. package/templates/gym-fitness/tier5-src/himi-store-shop/index.ts +14 -2
  60. package/templates/gym-fitness/tokens.json +21 -0
  61. package/templates/nonprofit-cause/dev/index.ts +1 -1
  62. package/templates/nonprofit-cause/tier5-src/_shared/himi-store-saved.ts +7 -1
  63. package/templates/nonprofit-cause/tier5-src/_shared/wix-service-price.ts +18 -0
  64. package/templates/nonprofit-cause/tokens.json +21 -0
  65. package/templates/podcast-creator/dev/index.ts +1 -1
  66. package/templates/podcast-creator/tier5-src/_shared/himi-store-saved.ts +7 -1
  67. package/templates/podcast-creator/tier5-src/_shared/wix-service-price.ts +18 -0
  68. package/templates/podcast-creator/tokens.json +21 -0
  69. package/templates/portfolio-creative/dev/index.ts +2569 -1013
  70. package/templates/portfolio-creative/himalaya.content.json +1 -1
  71. package/templates/portfolio-creative/tier5-src/_shared/himi-store-collection.ts +6 -3
  72. package/templates/portfolio-creative/tier5-src/_shared/himi-store-saved.ts +7 -1
  73. package/templates/portfolio-creative/tier5-src/_shared/wix-service-price.ts +18 -0
  74. package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  75. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +196 -34
  76. package/templates/portfolio-creative/tier5-src/himi-store-saved/index.ts +21 -5
  77. package/templates/portfolio-creative/tier5-src/himi-store-shop/index.ts +14 -2
  78. package/templates/portfolio-creative/tokens.json +21 -0
  79. package/templates/restaurant/dev/index.ts +1 -1
  80. package/templates/restaurant/tier5-src/_shared/himi-store-saved.ts +7 -1
  81. package/templates/restaurant/tier5-src/_shared/wix-service-price.ts +18 -0
  82. package/templates/restaurant/tokens.json +21 -0
  83. package/templates/retail-store/dev/index.ts +2541 -985
  84. package/templates/retail-store/himalaya.content.json +1 -1
  85. package/templates/retail-store/tier5-src/_shared/himi-store-collection.ts +6 -3
  86. package/templates/retail-store/tier5-src/_shared/himi-store-saved.ts +7 -1
  87. package/templates/retail-store/tier5-src/_shared/wix-service-price.ts +18 -0
  88. package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  89. package/templates/retail-store/tier5-src/himi-store-product/index.ts +196 -34
  90. package/templates/retail-store/tier5-src/himi-store-saved/index.ts +21 -5
  91. package/templates/retail-store/tier5-src/himi-store-shop/index.ts +14 -2
  92. package/templates/retail-store/tokens.json +21 -0
  93. package/templates/yoga-studio/dev/index.ts +1618 -264
  94. package/templates/yoga-studio/tier5-src/_shared/himi-store-saved.ts +7 -1
  95. package/templates/yoga-studio/tier5-src/_shared/wix-service-price.ts +18 -0
  96. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +514 -117
  97. package/templates/yoga-studio/tokens.json +21 -0
@@ -751,7 +751,7 @@ const SCREENS = runtimeSetting({
751
751
  "package": "himalaya",
752
752
  "type": "Text",
753
753
  "props": {
754
- "text": "Products you saved",
754
+ "text": "Wishlist",
755
755
  "style": "bodyEmphasis"
756
756
  }
757
757
  }
@@ -28037,7 +28037,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28037
28037
  { pattern: "^himi_service(?:[_/](.+))?$", display: "himi_service[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_service_"}, template: {
28038
28038
  "screenId": "himi_service___HIMI_ID__",
28039
28039
  "renderer": "sdui_intent",
28040
- "title": "Service",
28040
+ "title": "",
28041
28041
  "schemaVersion": 1,
28042
28042
  "cacheControl": {
28043
28043
  "maxAge": 0,
@@ -28049,39 +28049,62 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28049
28049
  "package": "himalaya",
28050
28050
  "type": "VStack",
28051
28051
  "props": {
28052
- "spacing": 16,
28052
+ "spacing": 0,
28053
28053
  "alignment": "leading",
28054
28054
  "children": [
28055
28055
  {
28056
- "id": "himi_service.retry.block",
28056
+ "id": "",
28057
28057
  "body": {
28058
28058
  "package": "himalaya",
28059
28059
  "type": "VStack",
28060
28060
  "props": {
28061
- "spacing": 12,
28062
- "alignment": "leading",
28061
+ "spacing": 0,
28063
28062
  "children": [
28064
28063
  {
28065
- "id": "",
28064
+ "id": "himi_service.retry.block",
28066
28065
  "body": {
28067
28066
  "package": "himalaya",
28068
- "type": "HStack",
28067
+ "type": "VStack",
28069
28068
  "props": {
28070
- "spacing": 10,
28069
+ "spacing": 12,
28070
+ "alignment": "leading",
28071
28071
  "children": [
28072
28072
  {
28073
28073
  "id": "",
28074
28074
  "body": {
28075
28075
  "package": "himalaya",
28076
- "type": "Icon",
28076
+ "type": "HStack",
28077
28077
  "props": {
28078
- "name": "warning",
28079
- "size": 18,
28080
- "tint": "accentPrimary"
28078
+ "spacing": 10,
28079
+ "children": [
28080
+ {
28081
+ "id": "",
28082
+ "body": {
28083
+ "package": "himalaya",
28084
+ "type": "Icon",
28085
+ "props": {
28086
+ "name": "warning",
28087
+ "size": 18,
28088
+ "tint": "accentPrimary"
28089
+ }
28090
+ },
28091
+ "modifiers": {
28092
+ "accessibilityRole": "decorative"
28093
+ }
28094
+ },
28095
+ {
28096
+ "id": "",
28097
+ "body": {
28098
+ "package": "himalaya",
28099
+ "type": "Text",
28100
+ "props": {
28101
+ "text": "Something did not load.",
28102
+ "style": "bodyEmphasis"
28103
+ }
28104
+ }
28105
+ }
28106
+ ]
28081
28107
  }
28082
- },
28083
- "modifiers": {
28084
- "accessibilityRole": "decorative"
28085
28108
  }
28086
28109
  },
28087
28110
  {
@@ -28090,64 +28113,60 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28090
28113
  "package": "himalaya",
28091
28114
  "type": "Text",
28092
28115
  "props": {
28093
- "text": "Something did not load.",
28094
- "style": "bodyEmphasis"
28116
+ "text": "Try again when the connection settles.",
28117
+ "style": "body",
28118
+ "color": "textSecondary"
28119
+ }
28120
+ }
28121
+ },
28122
+ {
28123
+ "id": "himi_service.retry",
28124
+ "body": {
28125
+ "package": "himalaya",
28126
+ "type": "Button",
28127
+ "props": {
28128
+ "title": "Try again",
28129
+ "style": "secondary",
28130
+ "action": {
28131
+ "actionId": "tier5.himiBookingService.load"
28132
+ }
28095
28133
  }
28096
28134
  }
28097
28135
  }
28098
28136
  ]
28099
28137
  }
28100
- }
28101
- },
28102
- {
28103
- "id": "",
28104
- "body": {
28105
- "package": "himalaya",
28106
- "type": "Text",
28107
- "props": {
28108
- "text": "Try again when the connection settles.",
28109
- "style": "body",
28110
- "color": "textSecondary"
28111
- }
28112
- }
28113
- },
28114
- {
28115
- "id": "himi_service.retry",
28116
- "body": {
28117
- "package": "himalaya",
28118
- "type": "Button",
28119
- "props": {
28120
- "title": "Try again",
28121
- "style": "secondary",
28122
- "action": {
28123
- "actionId": "tier5.himiBookingService.load"
28138
+ },
28139
+ "modifiers": {
28140
+ "background": {
28141
+ "token": "surfaceElevated"
28142
+ },
28143
+ "border": {
28144
+ "width": 1,
28145
+ "color": {
28146
+ "token": "border"
28124
28147
  }
28125
- }
28148
+ },
28149
+ "cornerRadius": 8,
28150
+ "padding": {
28151
+ "leading": 14,
28152
+ "trailing": 14,
28153
+ "top": 14,
28154
+ "bottom": 14
28155
+ },
28156
+ "transition": {
28157
+ "enter": "fade",
28158
+ "exit": "fade"
28159
+ },
28160
+ "hiddenPath": "$service:himiBookingService.notErrored"
28126
28161
  }
28127
28162
  }
28128
28163
  ]
28129
28164
  }
28130
28165
  },
28131
28166
  "modifiers": {
28132
- "background": {
28133
- "token": "surfaceElevated"
28134
- },
28135
- "border": {
28136
- "width": 1,
28137
- "color": {
28138
- "token": "border"
28139
- }
28140
- },
28141
- "cornerRadius": 8,
28167
+ "fillMaxWidth": true,
28142
28168
  "padding": {
28143
- "leading": 14,
28144
- "trailing": 14,
28145
- "top": 14,
28146
- "bottom": 14
28147
- },
28148
- "transition": {
28149
- "enter": "fade",
28150
- "exit": "fade"
28169
+ "top": 20
28151
28170
  },
28152
28171
  "hiddenPath": "$service:himiBookingService.notErrored"
28153
28172
  }
@@ -28158,7 +28177,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28158
28177
  "package": "himalaya",
28159
28178
  "type": "VStack",
28160
28179
  "props": {
28161
- "spacing": 12,
28180
+ "spacing": 24,
28181
+ "alignment": "leading",
28162
28182
  "children": [
28163
28183
  {
28164
28184
  "id": "himi_service.skeleton_media",
@@ -28166,103 +28186,475 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28166
28186
  "package": "himalaya",
28167
28187
  "type": "Skeleton",
28168
28188
  "props": {
28169
- "height": 180,
28170
- "cornerRadius": 8
28189
+ "height": 219,
28190
+ "cornerRadius": 16
28171
28191
  }
28172
28192
  },
28173
28193
  "modifiers": {
28174
- "height": 180,
28194
+ "height": 219,
28195
+ "fillMaxWidth": true,
28175
28196
  "background": {
28176
28197
  "token": "surfaceSecondary"
28177
28198
  },
28178
- "cornerRadius": 8,
28199
+ "cornerRadius": 16,
28179
28200
  "accessibilityRole": "decorative"
28180
28201
  }
28181
28202
  },
28182
28203
  {
28183
- "id": "himi_service.skeleton_title",
28204
+ "id": "",
28184
28205
  "body": {
28185
28206
  "package": "himalaya",
28186
- "type": "Skeleton",
28207
+ "type": "VStack",
28187
28208
  "props": {
28188
- "height": 24,
28189
- "cornerRadius": 8
28209
+ "spacing": 8,
28210
+ "alignment": "leading",
28211
+ "children": [
28212
+ {
28213
+ "id": "himi_service.skeleton_eyebrow",
28214
+ "body": {
28215
+ "package": "himalaya",
28216
+ "type": "Skeleton",
28217
+ "props": {
28218
+ "height": 14,
28219
+ "cornerRadius": 8
28220
+ }
28221
+ },
28222
+ "modifiers": {
28223
+ "height": 14,
28224
+ "width": 90,
28225
+ "background": {
28226
+ "token": "surfaceSecondary"
28227
+ },
28228
+ "cornerRadius": 8,
28229
+ "accessibilityRole": "decorative"
28230
+ }
28231
+ },
28232
+ {
28233
+ "id": "himi_service.skeleton_title",
28234
+ "body": {
28235
+ "package": "himalaya",
28236
+ "type": "Skeleton",
28237
+ "props": {
28238
+ "height": 30,
28239
+ "cornerRadius": 8
28240
+ }
28241
+ },
28242
+ "modifiers": {
28243
+ "height": 30,
28244
+ "width": 220,
28245
+ "background": {
28246
+ "token": "surfaceSecondary"
28247
+ },
28248
+ "cornerRadius": 8,
28249
+ "accessibilityRole": "decorative"
28250
+ }
28251
+ },
28252
+ {
28253
+ "id": "himi_service.skeleton_tagline",
28254
+ "body": {
28255
+ "package": "himalaya",
28256
+ "type": "Skeleton",
28257
+ "props": {
28258
+ "height": 16,
28259
+ "cornerRadius": 8
28260
+ }
28261
+ },
28262
+ "modifiers": {
28263
+ "height": 16,
28264
+ "width": 280,
28265
+ "background": {
28266
+ "token": "surfaceSecondary"
28267
+ },
28268
+ "cornerRadius": 8,
28269
+ "accessibilityRole": "decorative"
28270
+ }
28271
+ },
28272
+ {
28273
+ "id": "himi_service.skeleton_price",
28274
+ "body": {
28275
+ "package": "himalaya",
28276
+ "type": "Skeleton",
28277
+ "props": {
28278
+ "height": 20,
28279
+ "cornerRadius": 8
28280
+ }
28281
+ },
28282
+ "modifiers": {
28283
+ "height": 20,
28284
+ "width": 70,
28285
+ "background": {
28286
+ "token": "surfaceSecondary"
28287
+ },
28288
+ "cornerRadius": 8,
28289
+ "accessibilityRole": "decorative",
28290
+ "padding": {
28291
+ "top": 8
28292
+ }
28293
+ }
28294
+ }
28295
+ ]
28190
28296
  }
28191
- },
28192
- "modifiers": {
28193
- "height": 24,
28194
- "background": {
28195
- "token": "surfaceSecondary"
28196
- },
28197
- "cornerRadius": 8,
28198
- "accessibilityRole": "decorative"
28199
28297
  }
28200
28298
  },
28201
28299
  {
28202
- "id": "himi_service.skeleton_body",
28300
+ "id": "",
28203
28301
  "body": {
28204
28302
  "package": "himalaya",
28205
- "type": "Skeleton",
28206
- "props": {
28207
- "height": 80,
28208
- "cornerRadius": 8
28209
- }
28210
- },
28211
- "modifiers": {
28212
- "height": 80,
28213
- "background": {
28214
- "token": "surfaceSecondary"
28215
- },
28216
- "cornerRadius": 8,
28217
- "accessibilityRole": "decorative"
28303
+ "type": "Divider",
28304
+ "props": {}
28218
28305
  }
28219
- }
28220
- ]
28221
- }
28222
- },
28223
- "modifiers": {
28224
- "hiddenPath": "$service:himiBookingService.notLoading"
28225
- }
28226
- },
28227
- {
28228
- "id": "",
28229
- "body": {
28230
- "package": "himalaya",
28231
- "type": "VStack",
28232
- "props": {
28233
- "spacing": 16,
28234
- "alignment": "leading",
28235
- "children": [
28306
+ },
28236
28307
  {
28237
- "id": "himi_service.summary",
28308
+ "id": "",
28238
28309
  "body": {
28239
28310
  "package": "himalaya",
28240
28311
  "type": "VStack",
28241
28312
  "props": {
28242
- "spacing": 12,
28313
+ "spacing": 16,
28243
28314
  "alignment": "leading",
28244
28315
  "children": [
28245
28316
  {
28246
28317
  "id": "",
28247
28318
  "body": {
28248
28319
  "package": "himalaya",
28249
- "type": "Image",
28320
+ "type": "HStack",
28250
28321
  "props": {
28251
- "url": "$service:himiBookingService.image",
28252
- "fillWidth": true,
28253
- "height": 210,
28254
- "contentMode": "fill",
28255
- "contentDescription": "$service:himiBookingService.name"
28256
- }
28257
- },
28258
- "modifiers": {
28322
+ "spacing": 12,
28323
+ "alignment": "center",
28324
+ "children": [
28325
+ {
28326
+ "id": "himi_service.skeleton_fact_icon_1",
28327
+ "body": {
28328
+ "package": "himalaya",
28329
+ "type": "Skeleton",
28330
+ "props": {
28331
+ "height": 20,
28332
+ "cornerRadius": 10
28333
+ }
28334
+ },
28335
+ "modifiers": {
28336
+ "height": 20,
28337
+ "width": 20,
28338
+ "background": {
28339
+ "token": "surfaceSecondary"
28340
+ },
28341
+ "cornerRadius": 10,
28342
+ "accessibilityRole": "decorative"
28343
+ }
28344
+ },
28345
+ {
28346
+ "id": "himi_service.skeleton_fact_1",
28347
+ "body": {
28348
+ "package": "himalaya",
28349
+ "type": "Skeleton",
28350
+ "props": {
28351
+ "height": 16,
28352
+ "cornerRadius": 8
28353
+ }
28354
+ },
28355
+ "modifiers": {
28356
+ "height": 16,
28357
+ "width": 160,
28358
+ "background": {
28359
+ "token": "surfaceSecondary"
28360
+ },
28361
+ "cornerRadius": 8,
28362
+ "accessibilityRole": "decorative"
28363
+ }
28364
+ }
28365
+ ]
28366
+ }
28367
+ }
28368
+ },
28369
+ {
28370
+ "id": "",
28371
+ "body": {
28372
+ "package": "himalaya",
28373
+ "type": "HStack",
28374
+ "props": {
28375
+ "spacing": 12,
28376
+ "alignment": "center",
28377
+ "children": [
28378
+ {
28379
+ "id": "himi_service.skeleton_fact_icon_2",
28380
+ "body": {
28381
+ "package": "himalaya",
28382
+ "type": "Skeleton",
28383
+ "props": {
28384
+ "height": 20,
28385
+ "cornerRadius": 10
28386
+ }
28387
+ },
28388
+ "modifiers": {
28389
+ "height": 20,
28390
+ "width": 20,
28391
+ "background": {
28392
+ "token": "surfaceSecondary"
28393
+ },
28394
+ "cornerRadius": 10,
28395
+ "accessibilityRole": "decorative"
28396
+ }
28397
+ },
28398
+ {
28399
+ "id": "himi_service.skeleton_fact_2",
28400
+ "body": {
28401
+ "package": "himalaya",
28402
+ "type": "Skeleton",
28403
+ "props": {
28404
+ "height": 16,
28405
+ "cornerRadius": 8
28406
+ }
28407
+ },
28408
+ "modifiers": {
28409
+ "height": 16,
28410
+ "width": 160,
28411
+ "background": {
28412
+ "token": "surfaceSecondary"
28413
+ },
28414
+ "cornerRadius": 8,
28415
+ "accessibilityRole": "decorative"
28416
+ }
28417
+ }
28418
+ ]
28419
+ }
28420
+ }
28421
+ },
28422
+ {
28423
+ "id": "",
28424
+ "body": {
28425
+ "package": "himalaya",
28426
+ "type": "HStack",
28427
+ "props": {
28428
+ "spacing": 12,
28429
+ "alignment": "center",
28430
+ "children": [
28431
+ {
28432
+ "id": "himi_service.skeleton_fact_icon_3",
28433
+ "body": {
28434
+ "package": "himalaya",
28435
+ "type": "Skeleton",
28436
+ "props": {
28437
+ "height": 20,
28438
+ "cornerRadius": 10
28439
+ }
28440
+ },
28441
+ "modifiers": {
28442
+ "height": 20,
28443
+ "width": 20,
28444
+ "background": {
28445
+ "token": "surfaceSecondary"
28446
+ },
28447
+ "cornerRadius": 10,
28448
+ "accessibilityRole": "decorative"
28449
+ }
28450
+ },
28451
+ {
28452
+ "id": "himi_service.skeleton_fact_3",
28453
+ "body": {
28454
+ "package": "himalaya",
28455
+ "type": "Skeleton",
28456
+ "props": {
28457
+ "height": 16,
28458
+ "cornerRadius": 8
28459
+ }
28460
+ },
28461
+ "modifiers": {
28462
+ "height": 16,
28463
+ "width": 160,
28464
+ "background": {
28465
+ "token": "surfaceSecondary"
28466
+ },
28467
+ "cornerRadius": 8,
28468
+ "accessibilityRole": "decorative"
28469
+ }
28470
+ }
28471
+ ]
28472
+ }
28473
+ }
28474
+ }
28475
+ ]
28476
+ }
28477
+ }
28478
+ },
28479
+ {
28480
+ "id": "",
28481
+ "body": {
28482
+ "package": "himalaya",
28483
+ "type": "VStack",
28484
+ "props": {
28485
+ "spacing": 8,
28486
+ "alignment": "leading",
28487
+ "children": [
28488
+ {
28489
+ "id": "himi_service.skeleton_section_title",
28490
+ "body": {
28491
+ "package": "himalaya",
28492
+ "type": "Skeleton",
28493
+ "props": {
28494
+ "height": 22,
28495
+ "cornerRadius": 8
28496
+ }
28497
+ },
28498
+ "modifiers": {
28499
+ "height": 22,
28500
+ "width": 120,
28501
+ "background": {
28502
+ "token": "surfaceSecondary"
28503
+ },
28259
28504
  "cornerRadius": 8,
28505
+ "accessibilityRole": "decorative"
28506
+ }
28507
+ },
28508
+ {
28509
+ "id": "himi_service.skeleton_body_1",
28510
+ "body": {
28511
+ "package": "himalaya",
28512
+ "type": "Skeleton",
28513
+ "props": {
28514
+ "height": 16,
28515
+ "cornerRadius": 8
28516
+ }
28517
+ },
28518
+ "modifiers": {
28519
+ "height": 16,
28260
28520
  "fillMaxWidth": true,
28261
- "hiddenPath": "$service:himiBookingService.noImage"
28521
+ "background": {
28522
+ "token": "surfaceSecondary"
28523
+ },
28524
+ "cornerRadius": 8,
28525
+ "accessibilityRole": "decorative"
28262
28526
  }
28263
28527
  },
28264
28528
  {
28265
- "id": "",
28529
+ "id": "himi_service.skeleton_body_2",
28530
+ "body": {
28531
+ "package": "himalaya",
28532
+ "type": "Skeleton",
28533
+ "props": {
28534
+ "height": 16,
28535
+ "cornerRadius": 8
28536
+ }
28537
+ },
28538
+ "modifiers": {
28539
+ "height": 16,
28540
+ "fillMaxWidth": true,
28541
+ "background": {
28542
+ "token": "surfaceSecondary"
28543
+ },
28544
+ "cornerRadius": 8,
28545
+ "accessibilityRole": "decorative"
28546
+ }
28547
+ },
28548
+ {
28549
+ "id": "himi_service.skeleton_body_3",
28550
+ "body": {
28551
+ "package": "himalaya",
28552
+ "type": "Skeleton",
28553
+ "props": {
28554
+ "height": 16,
28555
+ "cornerRadius": 8
28556
+ }
28557
+ },
28558
+ "modifiers": {
28559
+ "height": 16,
28560
+ "width": 200,
28561
+ "background": {
28562
+ "token": "surfaceSecondary"
28563
+ },
28564
+ "cornerRadius": 8,
28565
+ "accessibilityRole": "decorative"
28566
+ }
28567
+ }
28568
+ ]
28569
+ }
28570
+ }
28571
+ }
28572
+ ]
28573
+ }
28574
+ },
28575
+ "modifiers": {
28576
+ "fillMaxWidth": true,
28577
+ "padding": {
28578
+ "top": 20
28579
+ },
28580
+ "hiddenPath": "$service:himiBookingService.notLoading"
28581
+ }
28582
+ },
28583
+ {
28584
+ "id": "himi_service.content",
28585
+ "body": {
28586
+ "package": "himalaya",
28587
+ "type": "VStack",
28588
+ "props": {
28589
+ "spacing": 24,
28590
+ "alignment": "leading",
28591
+ "children": [
28592
+ {
28593
+ "id": "himi_service.media",
28594
+ "body": {
28595
+ "package": "himalaya",
28596
+ "type": "VStack",
28597
+ "props": {
28598
+ "spacing": 0,
28599
+ "alignment": "leading",
28600
+ "children": [
28601
+ {
28602
+ "id": "himi_service.gallery",
28603
+ "body": {
28604
+ "package": "himalaya",
28605
+ "type": "Carousel",
28606
+ "props": {
28607
+ "itemsPath": "$service:himiBookingService.images",
28608
+ "items": [
28609
+ {
28610
+ "id": "",
28611
+ "body": {
28612
+ "package": "himalaya",
28613
+ "type": "Image",
28614
+ "props": {
28615
+ "url": "$item.url",
28616
+ "fillWidth": true,
28617
+ "height": 219,
28618
+ "contentMode": "fill",
28619
+ "contentDescription": "$item.alt"
28620
+ }
28621
+ },
28622
+ "modifiers": {
28623
+ "height": 219,
28624
+ "cornerRadius": 16,
28625
+ "fillMaxWidth": true
28626
+ }
28627
+ }
28628
+ ]
28629
+ }
28630
+ },
28631
+ "modifiers": {
28632
+ "fillMaxWidth": true,
28633
+ "hiddenPath": "$service:himiBookingService.noGallery"
28634
+ }
28635
+ },
28636
+ {
28637
+ "id": "himi_service.image",
28638
+ "body": {
28639
+ "package": "himalaya",
28640
+ "type": "Image",
28641
+ "props": {
28642
+ "url": "$service:himiBookingService.image",
28643
+ "fillWidth": true,
28644
+ "height": 219,
28645
+ "contentMode": "fill",
28646
+ "contentDescription": "$service:himiBookingService.name"
28647
+ }
28648
+ },
28649
+ "modifiers": {
28650
+ "height": 219,
28651
+ "cornerRadius": 16,
28652
+ "fillMaxWidth": true,
28653
+ "hiddenPath": "$service:himiBookingService.noOneImage"
28654
+ }
28655
+ },
28656
+ {
28657
+ "id": "himi_service.no_image",
28266
28658
  "body": {
28267
28659
  "package": "himalaya",
28268
28660
  "type": "ZStack",
@@ -28270,173 +28662,1029 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28270
28662
  "alignment": "center",
28271
28663
  "children": [
28272
28664
  {
28273
- "id": "",
28665
+ "id": "",
28666
+ "body": {
28667
+ "package": "himalaya",
28668
+ "type": "Icon",
28669
+ "props": {
28670
+ "name": "image",
28671
+ "size": 44,
28672
+ "tint": "accentPrimary"
28673
+ }
28674
+ },
28675
+ "modifiers": {
28676
+ "accessibilityRole": "decorative"
28677
+ }
28678
+ }
28679
+ ]
28680
+ }
28681
+ },
28682
+ "modifiers": {
28683
+ "height": 219,
28684
+ "cornerRadius": 16,
28685
+ "fillMaxWidth": true,
28686
+ "background": {
28687
+ "token": "surfaceSecondary"
28688
+ },
28689
+ "hiddenPath": "$service:himiBookingService.hasImage"
28690
+ }
28691
+ }
28692
+ ]
28693
+ }
28694
+ }
28695
+ },
28696
+ {
28697
+ "id": "himi_service.header",
28698
+ "body": {
28699
+ "package": "himalaya",
28700
+ "type": "VStack",
28701
+ "props": {
28702
+ "spacing": 8,
28703
+ "alignment": "leading",
28704
+ "children": [
28705
+ {
28706
+ "id": "himi_service.category",
28707
+ "body": {
28708
+ "package": "himalaya",
28709
+ "type": "Text",
28710
+ "props": {
28711
+ "text": "$service:himiBookingService.category",
28712
+ "style": "footnote",
28713
+ "color": "textSecondary",
28714
+ "maxLines": 1
28715
+ }
28716
+ },
28717
+ "modifiers": {
28718
+ "hiddenPath": "$service:himiBookingService.noCategory"
28719
+ }
28720
+ },
28721
+ {
28722
+ "id": "himi_service.title",
28723
+ "body": {
28724
+ "package": "himalaya",
28725
+ "type": "Text",
28726
+ "props": {
28727
+ "text": "$service:himiBookingService.name",
28728
+ "style": "pageTitle",
28729
+ "maxLines": 3,
28730
+ "collapseWhenEmpty": true
28731
+ }
28732
+ }
28733
+ },
28734
+ {
28735
+ "id": "himi_service.tagline",
28736
+ "body": {
28737
+ "package": "himalaya",
28738
+ "type": "Text",
28739
+ "props": {
28740
+ "text": "$service:himiBookingService.tagline",
28741
+ "style": "body",
28742
+ "color": "textSecondary",
28743
+ "maxLines": 3,
28744
+ "collapseWhenEmpty": true
28745
+ }
28746
+ }
28747
+ },
28748
+ {
28749
+ "id": "himi_service.price",
28750
+ "body": {
28751
+ "package": "himalaya",
28752
+ "type": "HStack",
28753
+ "props": {
28754
+ "spacing": 6,
28755
+ "alignment": "trailing",
28756
+ "children": [
28757
+ {
28758
+ "id": "",
28759
+ "body": {
28760
+ "package": "himalaya",
28761
+ "type": "Text",
28762
+ "props": {
28763
+ "text": "$service:himiBookingService.priceText",
28764
+ "style": "title3",
28765
+ "maxLines": 1
28766
+ }
28767
+ }
28768
+ },
28769
+ {
28770
+ "id": "",
28771
+ "body": {
28772
+ "package": "himalaya",
28773
+ "type": "Text",
28774
+ "props": {
28775
+ "text": "$service:himiBookingService.priceUnit",
28776
+ "style": "footnote",
28777
+ "color": "textSecondary",
28778
+ "maxLines": 1,
28779
+ "collapseWhenEmpty": true
28780
+ }
28781
+ }
28782
+ }
28783
+ ]
28784
+ }
28785
+ },
28786
+ "modifiers": {
28787
+ "padding": {
28788
+ "top": 8
28789
+ },
28790
+ "accessibilityLabel": "$service:himiBookingService.priceA11y",
28791
+ "hiddenPath": "$service:himiBookingService.noPriceAmount"
28792
+ }
28793
+ },
28794
+ {
28795
+ "id": "himi_service.price_text",
28796
+ "body": {
28797
+ "package": "himalaya",
28798
+ "type": "Text",
28799
+ "props": {
28800
+ "text": "$service:himiBookingService.priceText",
28801
+ "style": "bodyEmphasis",
28802
+ "maxLines": 2
28803
+ }
28804
+ },
28805
+ "modifiers": {
28806
+ "padding": {
28807
+ "top": 8
28808
+ },
28809
+ "hiddenPath": "$service:himiBookingService.noPriceDescription"
28810
+ }
28811
+ }
28812
+ ]
28813
+ }
28814
+ }
28815
+ },
28816
+ {
28817
+ "id": "himi_service.facts_section",
28818
+ "body": {
28819
+ "package": "himalaya",
28820
+ "type": "VStack",
28821
+ "props": {
28822
+ "spacing": 24,
28823
+ "alignment": "leading",
28824
+ "children": [
28825
+ {
28826
+ "id": "",
28827
+ "body": {
28828
+ "package": "himalaya",
28829
+ "type": "Divider",
28830
+ "props": {}
28831
+ }
28832
+ },
28833
+ {
28834
+ "id": "himi_service.facts",
28835
+ "body": {
28836
+ "package": "himalaya",
28837
+ "type": "VStack",
28838
+ "props": {
28839
+ "spacing": 16,
28840
+ "alignment": "leading",
28841
+ "children": [
28842
+ {
28843
+ "id": "himi_service.duration",
28844
+ "body": {
28845
+ "package": "himalaya",
28846
+ "type": "HStack",
28847
+ "props": {
28848
+ "spacing": 12,
28849
+ "alignment": "center",
28850
+ "children": [
28851
+ {
28852
+ "id": "",
28853
+ "body": {
28854
+ "package": "himalaya",
28855
+ "type": "ZStack",
28856
+ "props": {
28857
+ "alignment": "center",
28858
+ "children": [
28859
+ {
28860
+ "id": "",
28861
+ "body": {
28862
+ "package": "himalaya",
28863
+ "type": "Icon",
28864
+ "props": {
28865
+ "name": "clock",
28866
+ "size": 20,
28867
+ "tint": "textSecondary"
28868
+ }
28869
+ },
28870
+ "modifiers": {
28871
+ "accessibilityRole": "decorative"
28872
+ }
28873
+ }
28874
+ ]
28875
+ }
28876
+ },
28877
+ "modifiers": {
28878
+ "width": 20,
28879
+ "height": 20
28880
+ }
28881
+ },
28882
+ {
28883
+ "id": "",
28884
+ "body": {
28885
+ "package": "himalaya",
28886
+ "type": "VStack",
28887
+ "props": {
28888
+ "spacing": 2,
28889
+ "alignment": "leading",
28890
+ "children": [
28891
+ {
28892
+ "id": "",
28893
+ "body": {
28894
+ "package": "himalaya",
28895
+ "type": "Text",
28896
+ "props": {
28897
+ "text": "$service:himiBookingService.durationText",
28898
+ "style": "body",
28899
+ "maxLines": 1
28900
+ }
28901
+ }
28902
+ }
28903
+ ]
28904
+ }
28905
+ }
28906
+ },
28907
+ {
28908
+ "id": "",
28909
+ "body": {
28910
+ "package": "himalaya",
28911
+ "type": "Spacer",
28912
+ "props": {}
28913
+ }
28914
+ }
28915
+ ]
28916
+ }
28917
+ },
28918
+ "modifiers": {
28919
+ "fillMaxWidth": true,
28920
+ "accessibilityLabel": "$service:himiBookingService.durationText",
28921
+ "hiddenPath": "$service:himiBookingService.noDuration"
28922
+ }
28923
+ },
28924
+ {
28925
+ "id": "himi_service.locations",
28926
+ "body": {
28927
+ "package": "himalaya",
28928
+ "type": "LazyList",
28929
+ "props": {
28930
+ "spacing": 16,
28931
+ "itemsPath": "$service:himiBookingService.locations",
28932
+ "items": [
28933
+ {
28934
+ "id": "",
28935
+ "body": {
28936
+ "package": "himalaya",
28937
+ "type": "VStack",
28938
+ "props": {
28939
+ "spacing": 0,
28940
+ "alignment": "leading",
28941
+ "children": [
28942
+ {
28943
+ "id": "himi_service.location",
28944
+ "body": {
28945
+ "package": "himalaya",
28946
+ "type": "HStack",
28947
+ "props": {
28948
+ "spacing": 12,
28949
+ "alignment": "center",
28950
+ "children": [
28951
+ {
28952
+ "id": "",
28953
+ "body": {
28954
+ "package": "himalaya",
28955
+ "type": "ZStack",
28956
+ "props": {
28957
+ "alignment": "center",
28958
+ "children": [
28959
+ {
28960
+ "id": "",
28961
+ "body": {
28962
+ "package": "himalaya",
28963
+ "type": "Icon",
28964
+ "props": {
28965
+ "name": "location",
28966
+ "size": 20,
28967
+ "tint": "textSecondary"
28968
+ }
28969
+ },
28970
+ "modifiers": {
28971
+ "accessibilityRole": "decorative"
28972
+ }
28973
+ }
28974
+ ]
28975
+ }
28976
+ },
28977
+ "modifiers": {
28978
+ "width": 20,
28979
+ "height": 20
28980
+ }
28981
+ },
28982
+ {
28983
+ "id": "",
28984
+ "body": {
28985
+ "package": "himalaya",
28986
+ "type": "VStack",
28987
+ "props": {
28988
+ "spacing": 2,
28989
+ "alignment": "leading",
28990
+ "children": [
28991
+ {
28992
+ "id": "",
28993
+ "body": {
28994
+ "package": "himalaya",
28995
+ "type": "Text",
28996
+ "props": {
28997
+ "text": "$item.title",
28998
+ "style": "body",
28999
+ "maxLines": 1
29000
+ }
29001
+ }
29002
+ }
29003
+ ]
29004
+ }
29005
+ }
29006
+ },
29007
+ {
29008
+ "id": "",
29009
+ "body": {
29010
+ "package": "himalaya",
29011
+ "type": "Spacer",
29012
+ "props": {}
29013
+ }
29014
+ }
29015
+ ]
29016
+ }
29017
+ },
29018
+ "modifiers": {
29019
+ "fillMaxWidth": true,
29020
+ "accessibilityLabel": "$item.a11y",
29021
+ "onTap": {
29022
+ "actionId": "tier5.himiBookingService.openDirections",
29023
+ "params": {
29024
+ "index": "$item.index"
29025
+ }
29026
+ },
29027
+ "pressFeedback": "highlight",
29028
+ "accessibilityRole": "button",
29029
+ "hiddenPath": "$item.notTappable"
29030
+ }
29031
+ },
29032
+ {
29033
+ "id": "himi_service.location_client",
29034
+ "body": {
29035
+ "package": "himalaya",
29036
+ "type": "HStack",
29037
+ "props": {
29038
+ "spacing": 12,
29039
+ "alignment": "center",
29040
+ "children": [
29041
+ {
29042
+ "id": "",
29043
+ "body": {
29044
+ "package": "himalaya",
29045
+ "type": "ZStack",
29046
+ "props": {
29047
+ "alignment": "center",
29048
+ "children": [
29049
+ {
29050
+ "id": "",
29051
+ "body": {
29052
+ "package": "himalaya",
29053
+ "type": "Icon",
29054
+ "props": {
29055
+ "name": "location",
29056
+ "size": 20,
29057
+ "tint": "textSecondary"
29058
+ }
29059
+ },
29060
+ "modifiers": {
29061
+ "accessibilityRole": "decorative"
29062
+ }
29063
+ }
29064
+ ]
29065
+ }
29066
+ },
29067
+ "modifiers": {
29068
+ "width": 20,
29069
+ "height": 20
29070
+ }
29071
+ },
29072
+ {
29073
+ "id": "",
29074
+ "body": {
29075
+ "package": "himalaya",
29076
+ "type": "VStack",
29077
+ "props": {
29078
+ "spacing": 2,
29079
+ "alignment": "leading",
29080
+ "children": [
29081
+ {
29082
+ "id": "",
29083
+ "body": {
29084
+ "package": "himalaya",
29085
+ "type": "Text",
29086
+ "props": {
29087
+ "text": "$item.title",
29088
+ "style": "body",
29089
+ "maxLines": 1
29090
+ }
29091
+ }
29092
+ }
29093
+ ]
29094
+ }
29095
+ }
29096
+ },
29097
+ {
29098
+ "id": "",
29099
+ "body": {
29100
+ "package": "himalaya",
29101
+ "type": "Spacer",
29102
+ "props": {}
29103
+ }
29104
+ }
29105
+ ]
29106
+ }
29107
+ },
29108
+ "modifiers": {
29109
+ "fillMaxWidth": true,
29110
+ "accessibilityLabel": "$item.title",
29111
+ "hiddenPath": "$item.tappable"
29112
+ }
29113
+ }
29114
+ ]
29115
+ }
29116
+ }
29117
+ }
29118
+ ]
29119
+ }
29120
+ },
29121
+ "modifiers": {
29122
+ "hiddenPath": "$service:himiBookingService.noLocations"
29123
+ }
29124
+ },
29125
+ {
29126
+ "id": "himi_service.online",
29127
+ "body": {
29128
+ "package": "himalaya",
29129
+ "type": "HStack",
29130
+ "props": {
29131
+ "spacing": 12,
29132
+ "alignment": "center",
29133
+ "children": [
29134
+ {
29135
+ "id": "",
29136
+ "body": {
29137
+ "package": "himalaya",
29138
+ "type": "ZStack",
29139
+ "props": {
29140
+ "alignment": "center",
29141
+ "children": [
29142
+ {
29143
+ "id": "",
29144
+ "body": {
29145
+ "package": "himalaya",
29146
+ "type": "Icon",
29147
+ "props": {
29148
+ "name": "globe",
29149
+ "size": 20,
29150
+ "tint": "textSecondary"
29151
+ }
29152
+ },
29153
+ "modifiers": {
29154
+ "accessibilityRole": "decorative"
29155
+ }
29156
+ }
29157
+ ]
29158
+ }
29159
+ },
29160
+ "modifiers": {
29161
+ "width": 20,
29162
+ "height": 20
29163
+ }
29164
+ },
29165
+ {
29166
+ "id": "",
29167
+ "body": {
29168
+ "package": "himalaya",
29169
+ "type": "VStack",
29170
+ "props": {
29171
+ "spacing": 2,
29172
+ "alignment": "leading",
29173
+ "children": [
29174
+ {
29175
+ "id": "",
29176
+ "body": {
29177
+ "package": "himalaya",
29178
+ "type": "Text",
29179
+ "props": {
29180
+ "text": "Online session",
29181
+ "style": "body",
29182
+ "maxLines": 1
29183
+ }
29184
+ }
29185
+ }
29186
+ ]
29187
+ }
29188
+ }
29189
+ },
29190
+ {
29191
+ "id": "",
29192
+ "body": {
29193
+ "package": "himalaya",
29194
+ "type": "Spacer",
29195
+ "props": {}
29196
+ }
29197
+ }
29198
+ ]
29199
+ }
29200
+ },
29201
+ "modifiers": {
29202
+ "fillMaxWidth": true,
29203
+ "accessibilityLabel": "Online session",
29204
+ "hiddenPath": "$service:himiBookingService.noOnline"
29205
+ }
29206
+ },
29207
+ {
29208
+ "id": "himi_service.staff",
29209
+ "body": {
29210
+ "package": "himalaya",
29211
+ "type": "HStack",
29212
+ "props": {
29213
+ "spacing": 12,
29214
+ "alignment": "center",
29215
+ "children": [
29216
+ {
29217
+ "id": "",
29218
+ "body": {
29219
+ "package": "himalaya",
29220
+ "type": "ZStack",
29221
+ "props": {
29222
+ "alignment": "center",
29223
+ "children": [
29224
+ {
29225
+ "id": "",
29226
+ "body": {
29227
+ "package": "himalaya",
29228
+ "type": "ZStack",
29229
+ "props": {
29230
+ "alignment": "center",
29231
+ "children": [
29232
+ {
29233
+ "id": "himi_service.staff_photo",
29234
+ "body": {
29235
+ "package": "himalaya",
29236
+ "type": "Avatar",
29237
+ "props": {
29238
+ "imageUrl": "$service:himiBookingService.staffImage",
29239
+ "size": 20
29240
+ }
29241
+ },
29242
+ "modifiers": {
29243
+ "accessibilityRole": "decorative",
29244
+ "hiddenPath": "$service:himiBookingService.noStaffImage"
29245
+ }
29246
+ },
29247
+ {
29248
+ "id": "himi_service.staff_initials",
29249
+ "body": {
29250
+ "package": "himalaya",
29251
+ "type": "Avatar",
29252
+ "props": {
29253
+ "initials": "$service:himiBookingService.staffInitials",
29254
+ "size": 20
29255
+ }
29256
+ },
29257
+ "modifiers": {
29258
+ "accessibilityRole": "decorative",
29259
+ "hiddenPath": "$service:himiBookingService.hasStaffImage"
29260
+ }
29261
+ }
29262
+ ]
29263
+ }
29264
+ },
29265
+ "modifiers": {
29266
+ "width": 20,
29267
+ "height": 20
29268
+ }
29269
+ }
29270
+ ]
29271
+ }
29272
+ },
29273
+ "modifiers": {
29274
+ "width": 20,
29275
+ "height": 20
29276
+ }
29277
+ },
29278
+ {
29279
+ "id": "",
29280
+ "body": {
29281
+ "package": "himalaya",
29282
+ "type": "VStack",
29283
+ "props": {
29284
+ "spacing": 2,
29285
+ "alignment": "leading",
29286
+ "children": [
29287
+ {
29288
+ "id": "",
29289
+ "body": {
29290
+ "package": "himalaya",
29291
+ "type": "Text",
29292
+ "props": {
29293
+ "text": "$service:himiBookingService.staffText",
29294
+ "style": "body",
29295
+ "maxLines": 1
29296
+ }
29297
+ }
29298
+ }
29299
+ ]
29300
+ }
29301
+ }
29302
+ },
29303
+ {
29304
+ "id": "",
29305
+ "body": {
29306
+ "package": "himalaya",
29307
+ "type": "Spacer",
29308
+ "props": {}
29309
+ }
29310
+ }
29311
+ ]
29312
+ }
29313
+ },
29314
+ "modifiers": {
29315
+ "fillMaxWidth": true,
29316
+ "accessibilityLabel": "$service:himiBookingService.staffText",
29317
+ "hiddenPath": "$service:himiBookingService.noStaff"
29318
+ }
29319
+ },
29320
+ {
29321
+ "id": "himi_service.pay",
29322
+ "body": {
29323
+ "package": "himalaya",
29324
+ "type": "HStack",
29325
+ "props": {
29326
+ "spacing": 12,
29327
+ "alignment": "center",
29328
+ "children": [
29329
+ {
29330
+ "id": "",
29331
+ "body": {
29332
+ "package": "himalaya",
29333
+ "type": "ZStack",
29334
+ "props": {
29335
+ "alignment": "center",
29336
+ "children": [
29337
+ {
29338
+ "id": "",
29339
+ "body": {
29340
+ "package": "himalaya",
29341
+ "type": "Icon",
29342
+ "props": {
29343
+ "name": "tag",
29344
+ "size": 20,
29345
+ "tint": "textSecondary"
29346
+ }
29347
+ },
29348
+ "modifiers": {
29349
+ "accessibilityRole": "decorative"
29350
+ }
29351
+ }
29352
+ ]
29353
+ }
29354
+ },
29355
+ "modifiers": {
29356
+ "width": 20,
29357
+ "height": 20
29358
+ }
29359
+ },
29360
+ {
29361
+ "id": "",
29362
+ "body": {
29363
+ "package": "himalaya",
29364
+ "type": "VStack",
29365
+ "props": {
29366
+ "spacing": 2,
29367
+ "alignment": "leading",
29368
+ "children": [
29369
+ {
29370
+ "id": "",
29371
+ "body": {
29372
+ "package": "himalaya",
29373
+ "type": "Text",
29374
+ "props": {
29375
+ "text": "$service:himiBookingService.payText",
29376
+ "style": "body",
29377
+ "maxLines": 1
29378
+ }
29379
+ }
29380
+ },
29381
+ {
29382
+ "id": "",
29383
+ "body": {
29384
+ "package": "himalaya",
29385
+ "type": "Text",
29386
+ "props": {
29387
+ "text": "$service:himiBookingService.paySub",
29388
+ "style": "caption",
29389
+ "color": "textSecondary",
29390
+ "maxLines": 1,
29391
+ "collapseWhenEmpty": true
29392
+ }
29393
+ }
29394
+ }
29395
+ ]
29396
+ }
29397
+ }
29398
+ },
29399
+ {
29400
+ "id": "",
29401
+ "body": {
29402
+ "package": "himalaya",
29403
+ "type": "Spacer",
29404
+ "props": {}
29405
+ }
29406
+ }
29407
+ ]
29408
+ }
29409
+ },
29410
+ "modifiers": {
29411
+ "fillMaxWidth": true,
29412
+ "accessibilityLabel": "$service:himiBookingService.payText",
29413
+ "accessibilityValue": "$service:himiBookingService.paySub",
29414
+ "hiddenPath": "$service:himiBookingService.noPay"
29415
+ }
29416
+ }
29417
+ ]
29418
+ }
29419
+ }
29420
+ }
29421
+ ]
29422
+ }
29423
+ },
29424
+ "modifiers": {
29425
+ "hiddenPath": "$service:himiBookingService.noFacts"
29426
+ }
29427
+ },
29428
+ {
29429
+ "id": "himi_service.about_section",
29430
+ "body": {
29431
+ "package": "himalaya",
29432
+ "type": "VStack",
29433
+ "props": {
29434
+ "spacing": 24,
29435
+ "alignment": "leading",
29436
+ "children": [
29437
+ {
29438
+ "id": "",
29439
+ "body": {
29440
+ "package": "himalaya",
29441
+ "type": "Divider",
29442
+ "props": {}
29443
+ }
29444
+ },
29445
+ {
29446
+ "id": "",
29447
+ "body": {
29448
+ "package": "himalaya",
29449
+ "type": "VStack",
29450
+ "props": {
29451
+ "spacing": 8,
29452
+ "alignment": "leading",
29453
+ "children": [
29454
+ {
29455
+ "id": "himi_service.about_title",
29456
+ "body": {
29457
+ "package": "himalaya",
29458
+ "type": "Text",
29459
+ "props": {
29460
+ "text": "About",
29461
+ "style": "title3"
29462
+ }
29463
+ }
29464
+ },
29465
+ {
29466
+ "id": "himi_service.about",
29467
+ "body": {
29468
+ "package": "himalaya",
29469
+ "type": "Text",
29470
+ "props": {
29471
+ "text": "$service:himiBookingService.about",
29472
+ "style": "body",
29473
+ "color": "textPrimary",
29474
+ "collapseWhenEmpty": true
29475
+ }
29476
+ }
29477
+ }
29478
+ ]
29479
+ }
29480
+ }
29481
+ }
29482
+ ]
29483
+ }
29484
+ },
29485
+ "modifiers": {
29486
+ "hiddenPath": "$service:himiBookingService.noAbout"
29487
+ }
29488
+ },
29489
+ {
29490
+ "id": "himi_service.policy_section",
29491
+ "body": {
29492
+ "package": "himalaya",
29493
+ "type": "VStack",
29494
+ "props": {
29495
+ "spacing": 24,
29496
+ "alignment": "leading",
29497
+ "children": [
29498
+ {
29499
+ "id": "",
29500
+ "body": {
29501
+ "package": "himalaya",
29502
+ "type": "Divider",
29503
+ "props": {}
29504
+ }
29505
+ },
29506
+ {
29507
+ "id": "himi_service.policy",
29508
+ "body": {
29509
+ "package": "himalaya",
29510
+ "type": "VStack",
29511
+ "props": {
29512
+ "spacing": 0,
29513
+ "alignment": "leading",
29514
+ "children": [
29515
+ {
29516
+ "id": "himi_service.policy.header",
29517
+ "body": {
29518
+ "package": "himalaya",
29519
+ "type": "HStack",
29520
+ "props": {
29521
+ "spacing": 12,
29522
+ "alignment": "center",
29523
+ "children": [
29524
+ {
29525
+ "id": "",
29526
+ "body": {
29527
+ "package": "himalaya",
29528
+ "type": "Text",
29529
+ "props": {
29530
+ "text": "Our policy",
29531
+ "style": "body",
29532
+ "maxLines": 2
29533
+ }
29534
+ }
29535
+ },
29536
+ {
29537
+ "id": "",
29538
+ "body": {
29539
+ "package": "himalaya",
29540
+ "type": "Spacer",
29541
+ "props": {}
29542
+ }
29543
+ },
29544
+ {
29545
+ "id": "",
29546
+ "body": {
29547
+ "package": "himalaya",
29548
+ "type": "Icon",
29549
+ "props": {
29550
+ "name": "chevron_down",
29551
+ "size": 16,
29552
+ "tint": "textSecondary"
29553
+ }
29554
+ },
29555
+ "modifiers": {
29556
+ "accessibilityRole": "decorative",
29557
+ "hiddenPath": "$service:himiBookingService.policyExpanded"
29558
+ }
29559
+ },
29560
+ {
29561
+ "id": "",
29562
+ "body": {
29563
+ "package": "himalaya",
29564
+ "type": "Icon",
29565
+ "props": {
29566
+ "name": "chevron_up",
29567
+ "size": 16,
29568
+ "tint": "textSecondary"
29569
+ }
29570
+ },
29571
+ "modifiers": {
29572
+ "accessibilityRole": "decorative",
29573
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
29574
+ }
29575
+ }
29576
+ ]
29577
+ }
29578
+ },
29579
+ "modifiers": {
29580
+ "fillMaxWidth": true,
29581
+ "padding": {
29582
+ "top": 4,
29583
+ "bottom": 4
29584
+ },
29585
+ "onTap": {
29586
+ "actionId": "tier5.himiBookingService.togglePolicy"
29587
+ },
29588
+ "pressFeedback": "highlight",
29589
+ "accessibilityRole": "button",
29590
+ "accessibilityLabel": "Our policy"
29591
+ }
29592
+ },
29593
+ {
29594
+ "id": "himi_service.policy.lines",
28274
29595
  "body": {
28275
29596
  "package": "himalaya",
28276
- "type": "Text",
29597
+ "type": "LazyList",
28277
29598
  "props": {
28278
- "text": "$service:himiBookingService.initial",
28279
- "style": "display",
28280
- "color": "textOnAccent"
29599
+ "spacing": 8,
29600
+ "itemsPath": "$service:himiBookingService.policyLines",
29601
+ "items": [
29602
+ {
29603
+ "id": "",
29604
+ "body": {
29605
+ "package": "himalaya",
29606
+ "type": "VStack",
29607
+ "props": {
29608
+ "spacing": 0,
29609
+ "alignment": "leading",
29610
+ "children": [
29611
+ {
29612
+ "id": "",
29613
+ "body": {
29614
+ "package": "himalaya",
29615
+ "type": "Text",
29616
+ "props": {
29617
+ "text": "$item.text",
29618
+ "style": "body",
29619
+ "color": "textPrimary"
29620
+ }
29621
+ },
29622
+ "modifiers": {
29623
+ "hiddenPath": "$item.notOwner"
29624
+ }
29625
+ },
29626
+ {
29627
+ "id": "",
29628
+ "body": {
29629
+ "package": "himalaya",
29630
+ "type": "Text",
29631
+ "props": {
29632
+ "text": "$item.text",
29633
+ "style": "body",
29634
+ "color": "textSecondary"
29635
+ }
29636
+ },
29637
+ "modifiers": {
29638
+ "hiddenPath": "$item.owner"
29639
+ }
29640
+ }
29641
+ ]
29642
+ }
29643
+ }
29644
+ }
29645
+ ]
28281
29646
  }
29647
+ },
29648
+ "modifiers": {
29649
+ "padding": {
29650
+ "top": 16
29651
+ },
29652
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
28282
29653
  }
28283
29654
  }
28284
29655
  ]
28285
29656
  }
28286
- },
28287
- "modifiers": {
28288
- "fillMaxWidth": true,
28289
- "height": 160,
28290
- "background": {
28291
- "token": "accentPrimary"
28292
- },
28293
- "cornerRadius": 8,
28294
- "hiddenPath": "$service:himiBookingService.hasImage"
28295
- }
28296
- },
28297
- {
28298
- "id": "",
28299
- "body": {
28300
- "package": "himalaya",
28301
- "type": "Text",
28302
- "props": {
28303
- "text": "$service:himiBookingService.name",
28304
- "style": "title2",
28305
- "maxLines": 2,
28306
- "collapseWhenEmpty": true
28307
- }
28308
- }
28309
- },
28310
- {
28311
- "id": "",
28312
- "body": {
28313
- "package": "himalaya",
28314
- "type": "Divider",
28315
- "props": {}
28316
- }
28317
- },
28318
- {
28319
- "id": "himi_service.price",
28320
- "body": {
28321
- "package": "himalaya",
28322
- "type": "LabeledContent",
28323
- "props": {
28324
- "label": "Price",
28325
- "value": "$service:himiBookingService.price"
28326
- }
28327
- },
28328
- "modifiers": {
28329
- "hiddenPath": "$service:himiBookingService.noPrice"
28330
- }
28331
- },
28332
- {
28333
- "id": "himi_service.duration",
28334
- "body": {
28335
- "package": "himalaya",
28336
- "type": "LabeledContent",
28337
- "props": {
28338
- "label": "Duration",
28339
- "value": "$service:himiBookingService.duration"
28340
- }
28341
- },
28342
- "modifiers": {
28343
- "hiddenPath": "$service:himiBookingService.noDuration"
28344
- }
28345
- },
28346
- {
28347
- "id": "himi_service.category",
28348
- "body": {
28349
- "package": "himalaya",
28350
- "type": "LabeledContent",
28351
- "props": {
28352
- "label": "Category",
28353
- "value": "$service:himiBookingService.category"
28354
- }
28355
- },
28356
- "modifiers": {
28357
- "hiddenPath": "$service:himiBookingService.noCategory"
28358
- }
28359
- },
28360
- {
28361
- "id": "",
28362
- "body": {
28363
- "package": "himalaya",
28364
- "type": "Text",
28365
- "props": {
28366
- "text": "$service:himiBookingService.description",
28367
- "style": "body",
28368
- "color": "textSecondary",
28369
- "collapseWhenEmpty": true
28370
- }
28371
29657
  }
28372
29658
  }
28373
29659
  ]
28374
29660
  }
28375
29661
  },
28376
29662
  "modifiers": {
28377
- "background": {
28378
- "token": "surfaceElevated"
28379
- },
28380
- "border": {
28381
- "width": 1,
28382
- "color": {
28383
- "token": "border"
28384
- }
28385
- },
28386
- "cornerRadius": 8,
28387
- "padding": {
28388
- "leading": 14,
28389
- "trailing": 14,
28390
- "top": 14,
28391
- "bottom": 14
28392
- }
29663
+ "hiddenPath": "$service:himiBookingService.noPolicy"
28393
29664
  }
28394
29665
  },
28395
29666
  {
28396
- "id": "himi_service.choose_time",
29667
+ "id": "himi_service.not_bookable",
28397
29668
  "body": {
28398
29669
  "package": "himalaya",
28399
- "type": "Button",
29670
+ "type": "Banner",
28400
29671
  "props": {
28401
- "title": "Choose a time",
28402
- "style": "primary",
28403
- "fullWidth": true,
28404
- "action": {
28405
- "actionId": "himi.open",
28406
- "params": {
28407
- "screenId": "himi_time",
28408
- "id": "$service:himiBookingService.id"
28409
- }
28410
- }
29672
+ "severity": "info",
29673
+ "title": "This service isn't available for online booking. Contact us to book it."
28411
29674
  }
28412
29675
  },
28413
29676
  "modifiers": {
28414
- "cornerRadius": 8,
28415
- "pressFeedback": "scale",
28416
- "haptic": "medium"
28417
- }
28418
- },
28419
- {
28420
- "id": "himi_service.share",
28421
- "body": {
28422
- "package": "himalaya",
28423
- "type": "Button",
28424
- "props": {
28425
- "title": "Share",
28426
- "style": "secondary",
28427
- "fullWidth": true,
28428
- "leadingIcon": "share",
28429
- "action": {
28430
- "actionId": "tier5.himiBookingService.share"
28431
- }
28432
- }
29677
+ "hiddenPath": "$service:himiBookingService.bookableOnline"
28433
29678
  }
28434
29679
  }
28435
29680
  ]
28436
29681
  }
28437
29682
  },
28438
29683
  "modifiers": {
28439
- "hiddenPath": "$service:himiBookingService.isLoading"
29684
+ "hiddenPath": "$service:himiBookingService.hideContent",
29685
+ "padding": {
29686
+ "top": 20
29687
+ }
28440
29688
  }
28441
29689
  },
28442
29690
  {
@@ -28518,9 +29766,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28518
29766
  "token": "surfacePrimary"
28519
29767
  },
28520
29768
  "padding": {
28521
- "leading": 16,
28522
- "trailing": 16,
28523
- "top": 18,
29769
+ "leading": 20,
29770
+ "trailing": 20,
29771
+ "top": 0,
28524
29772
  "bottom": 24
28525
29773
  },
28526
29774
  "onAppear": {
@@ -28535,13 +29783,119 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28535
29783
  "declaredCapabilities": [
28536
29784
  "wix_api",
28537
29785
  "share",
28538
- "local_database"
29786
+ "local_database",
29787
+ "open_url"
28539
29788
  ],
28540
29789
  "minBinaryVersion": "0.1.0",
28541
29790
  "bundleVersion": "0.0.1"
28542
29791
  },
28543
29792
  "input": {
28544
29793
  "id": "__HIMI_ID__"
29794
+ },
29795
+ "topBar": {
29796
+ "actions": [
29797
+ {
29798
+ "id": "share",
29799
+ "icon": "share",
29800
+ "accessibilityLabel": "Share",
29801
+ "onTap": {
29802
+ "actionId": "tier5.himiBookingService.share"
29803
+ }
29804
+ }
29805
+ ]
29806
+ },
29807
+ "stickyFooter": {
29808
+ "id": "himi_service.footer",
29809
+ "body": {
29810
+ "package": "himalaya",
29811
+ "type": "VStack",
29812
+ "props": {
29813
+ "spacing": 0,
29814
+ "alignment": "leading",
29815
+ "children": [
29816
+ {
29817
+ "id": "",
29818
+ "body": {
29819
+ "package": "himalaya",
29820
+ "type": "Divider",
29821
+ "props": {}
29822
+ }
29823
+ },
29824
+ {
29825
+ "id": "",
29826
+ "body": {
29827
+ "package": "himalaya",
29828
+ "type": "VStack",
29829
+ "props": {
29830
+ "spacing": 0,
29831
+ "children": [
29832
+ {
29833
+ "id": "himi_service.choose_time",
29834
+ "body": {
29835
+ "package": "himalaya",
29836
+ "type": "Button",
29837
+ "props": {
29838
+ "title": "Choose a Time",
29839
+ "style": "primary",
29840
+ "fullWidth": true,
29841
+ "action": {
29842
+ "actionId": "tier5.himiBookingService.chooseTime"
29843
+ }
29844
+ }
29845
+ },
29846
+ "modifiers": {
29847
+ "cornerRadius": 8,
29848
+ "pressFeedback": "scale",
29849
+ "haptic": "medium",
29850
+ "height": 48,
29851
+ "hiddenPath": "$service:himiBookingService.requestToBook"
29852
+ }
29853
+ },
29854
+ {
29855
+ "id": "himi_service.request",
29856
+ "body": {
29857
+ "package": "himalaya",
29858
+ "type": "Button",
29859
+ "props": {
29860
+ "title": "Request to Book",
29861
+ "style": "primary",
29862
+ "fullWidth": true,
29863
+ "action": {
29864
+ "actionId": "tier5.himiBookingService.chooseTime"
29865
+ }
29866
+ }
29867
+ },
29868
+ "modifiers": {
29869
+ "cornerRadius": 8,
29870
+ "pressFeedback": "scale",
29871
+ "haptic": "medium",
29872
+ "height": 48,
29873
+ "hiddenPath": "$service:himiBookingService.notRequestToBook"
29874
+ }
29875
+ }
29876
+ ]
29877
+ }
29878
+ },
29879
+ "modifiers": {
29880
+ "fillMaxWidth": true,
29881
+ "padding": {
29882
+ "leading": 16,
29883
+ "trailing": 16,
29884
+ "top": 12,
29885
+ "bottom": 12
29886
+ }
29887
+ }
29888
+ }
29889
+ ]
29890
+ }
29891
+ },
29892
+ "modifiers": {
29893
+ "fillMaxWidth": true,
29894
+ "background": {
29895
+ "token": "surfacePrimary"
29896
+ },
29897
+ "hiddenPath": "$service:himiBookingService.hideFooter"
29898
+ }
28545
29899
  }
28546
29900
  } },
28547
29901
  { pattern: "^himi_time(?:[_/](.+))?$", display: "himi_time[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_time_"}, template: {