@wix/himalaya-cli 0.1492.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 (64) 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 +14 -2
  8. package/guides/sdk-reference.json +256 -11
  9. package/package.json +2 -2
  10. package/templates/beauty-salon/dev/index.ts +2273 -520
  11. package/templates/beauty-salon/himalaya.content.json +3 -0
  12. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  13. package/templates/beauty-salon/tier5-src/_shared/wix-service-price.ts +18 -0
  14. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +514 -117
  15. package/templates/beauty-salon/tier5-src/himi-branded-lite-place-summary/index.ts +208 -0
  16. package/templates/beauty-salon/tokens.json +6 -0
  17. package/templates/branded-lite/dev/index.ts +2037 -277
  18. package/templates/branded-lite/himalaya.content.json +3 -0
  19. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  20. package/templates/branded-lite/tier5-src/_shared/wix-service-price.ts +18 -0
  21. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +514 -117
  22. package/templates/branded-lite/tier5-src/himi-branded-lite-place-summary/index.ts +208 -0
  23. package/templates/branded-lite/tokens.json +1 -0
  24. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  25. package/templates/community-club/tier5-src/_shared/wix-service-price.ts +18 -0
  26. package/templates/community-club/tokens.json +6 -0
  27. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  28. package/templates/events-meetups/tier5-src/_shared/wix-service-price.ts +18 -0
  29. package/templates/events-meetups/tokens.json +6 -0
  30. package/templates/gym-fitness/dev/index.ts +2273 -520
  31. package/templates/gym-fitness/himalaya.content.json +3 -0
  32. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  33. package/templates/gym-fitness/tier5-src/_shared/wix-service-price.ts +18 -0
  34. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +514 -117
  35. package/templates/gym-fitness/tier5-src/himi-branded-lite-place-summary/index.ts +208 -0
  36. package/templates/gym-fitness/tokens.json +6 -0
  37. package/templates/nonprofit-cause/dev/index.ts +399 -0
  38. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  39. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  40. package/templates/nonprofit-cause/tier5-src/_shared/wix-service-price.ts +18 -0
  41. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-place-summary/index.ts +208 -0
  42. package/templates/nonprofit-cause/tokens.json +6 -0
  43. package/templates/podcast-creator/dev/index.ts +399 -0
  44. package/templates/podcast-creator/himalaya.content.json +3 -0
  45. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  46. package/templates/podcast-creator/tier5-src/_shared/wix-service-price.ts +18 -0
  47. package/templates/podcast-creator/tier5-src/himi-branded-lite-place-summary/index.ts +208 -0
  48. package/templates/podcast-creator/tokens.json +6 -0
  49. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  50. package/templates/portfolio-creative/tier5-src/_shared/wix-service-price.ts +18 -0
  51. package/templates/portfolio-creative/tokens.json +6 -0
  52. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  53. package/templates/restaurant/tier5-src/_shared/wix-service-price.ts +18 -0
  54. package/templates/restaurant/tokens.json +6 -0
  55. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  56. package/templates/retail-store/tier5-src/_shared/wix-service-price.ts +18 -0
  57. package/templates/retail-store/tokens.json +6 -0
  58. package/templates/yoga-studio/dev/index.ts +2868 -1115
  59. package/templates/yoga-studio/himalaya.content.json +3 -0
  60. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  61. package/templates/yoga-studio/tier5-src/_shared/wix-service-price.ts +18 -0
  62. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +514 -117
  63. package/templates/yoga-studio/tier5-src/himi-branded-lite-place-summary/index.ts +208 -0
  64. package/templates/yoga-studio/tokens.json +6 -0
@@ -7982,8 +7982,8 @@ const SCREENS = runtimeSetting({
7982
7982
  "bundleVersion": "0.0.1"
7983
7983
  }
7984
7984
  },
7985
- "himi_services": {
7986
- "screenId": "himi_services",
7985
+ "himi_place_summary": {
7986
+ "screenId": "himi_place_summary",
7987
7987
  "renderer": "sdui_intent",
7988
7988
  "title": "",
7989
7989
  "schemaVersion": 1,
@@ -7992,31 +7992,40 @@ const SCREENS = runtimeSetting({
7992
7992
  "staleWhileRevalidate": 0
7993
7993
  },
7994
7994
  "payload": {
7995
- "id": "himi_services.root",
7995
+ "id": "himi_place_summary.root",
7996
7996
  "body": {
7997
7997
  "package": "himalaya",
7998
7998
  "type": "VStack",
7999
7999
  "props": {
8000
- "spacing": 16,
8000
+ "spacing": 10,
8001
8001
  "alignment": "leading",
8002
8002
  "children": [
8003
8003
  {
8004
- "id": "",
8004
+ "id": "himi_place_summary.loading",
8005
8005
  "body": {
8006
8006
  "package": "himalaya",
8007
- "type": "VStack",
8007
+ "type": "HStack",
8008
8008
  "props": {
8009
- "spacing": 4,
8010
- "alignment": "leading",
8009
+ "spacing": 12,
8011
8010
  "children": [
8012
8011
  {
8013
- "id": "himi_services.title",
8012
+ "id": "",
8014
8013
  "body": {
8015
8014
  "package": "himalaya",
8016
- "type": "Text",
8015
+ "type": "Icon",
8017
8016
  "props": {
8018
- "text": "Services",
8019
- "style": "title1"
8017
+ "name": "calendar",
8018
+ "size": 18,
8019
+ "tint": "accentPrimary"
8020
+ }
8021
+ },
8022
+ "modifiers": {
8023
+ "accessibilityRole": "decorative",
8024
+ "width": 36,
8025
+ "height": 36,
8026
+ "cornerRadius": 10,
8027
+ "background": {
8028
+ "token": "accentSurface"
8020
8029
  }
8021
8030
  }
8022
8031
  },
@@ -8026,74 +8035,93 @@ const SCREENS = runtimeSetting({
8026
8035
  "package": "himalaya",
8027
8036
  "type": "Text",
8028
8037
  "props": {
8029
- "text": "Find a class and reserve your spot.",
8030
- "style": "body",
8031
- "color": "textSecondary"
8038
+ "text": "Loading your summary…",
8039
+ "style": "footnote",
8040
+ "color": "textSecondary",
8041
+ "maxLines": 1
8032
8042
  }
8033
8043
  }
8034
8044
  }
8035
8045
  ]
8036
8046
  }
8037
- }
8038
- },
8039
- {
8040
- "id": "himi_services.search",
8041
- "body": {
8042
- "package": "himalaya",
8043
- "type": "SearchField",
8044
- "props": {
8045
- "placeholder": "Search services",
8046
- "debounceMs": 200,
8047
- "onChange": {
8048
- "actionId": "tier5.himiBookingServices.collectionSearch"
8049
- },
8050
- "value": "$service:himiBookingServices.collection.query"
8051
- }
8052
8047
  },
8053
8048
  "modifiers": {
8054
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
8049
+ "hiddenPath": "$service:himiPlaceSummary.notLoading"
8055
8050
  }
8056
8051
  },
8057
8052
  {
8058
- "id": "himi_services.retry.block",
8053
+ "id": "",
8059
8054
  "body": {
8060
8055
  "package": "himalaya",
8061
- "type": "VStack",
8056
+ "type": "HStack",
8062
8057
  "props": {
8063
8058
  "spacing": 12,
8064
- "alignment": "leading",
8065
8059
  "children": [
8066
8060
  {
8067
8061
  "id": "",
8068
8062
  "body": {
8069
8063
  "package": "himalaya",
8070
- "type": "HStack",
8064
+ "type": "Icon",
8071
8065
  "props": {
8072
- "spacing": 10,
8066
+ "name": "calendar",
8067
+ "size": 18,
8068
+ "tint": "accentPrimary"
8069
+ }
8070
+ },
8071
+ "modifiers": {
8072
+ "accessibilityRole": "decorative",
8073
+ "width": 36,
8074
+ "height": 36,
8075
+ "cornerRadius": 10,
8076
+ "background": {
8077
+ "token": "accentSurface"
8078
+ }
8079
+ }
8080
+ },
8081
+ {
8082
+ "id": "",
8083
+ "body": {
8084
+ "package": "himalaya",
8085
+ "type": "VStack",
8086
+ "props": {
8087
+ "spacing": 2,
8088
+ "alignment": "leading",
8073
8089
  "children": [
8074
8090
  {
8075
8091
  "id": "",
8076
8092
  "body": {
8077
8093
  "package": "himalaya",
8078
- "type": "Icon",
8094
+ "type": "Text",
8079
8095
  "props": {
8080
- "name": "warning",
8081
- "size": 18,
8082
- "tint": "accentPrimary"
8096
+ "text": "Next booking",
8097
+ "style": "caption",
8098
+ "color": "textSecondary",
8099
+ "maxLines": 1
8083
8100
  }
8084
- },
8085
- "modifiers": {
8086
- "accessibilityRole": "decorative"
8087
8101
  }
8088
8102
  },
8089
8103
  {
8090
- "id": "",
8104
+ "id": "himi_place_summary.booking_title",
8091
8105
  "body": {
8092
8106
  "package": "himalaya",
8093
8107
  "type": "Text",
8094
8108
  "props": {
8095
- "text": "Something did not load.",
8096
- "style": "bodyEmphasis"
8109
+ "text": "$service:himiPlaceSummary.bookingTitle",
8110
+ "style": "bodyEmphasis",
8111
+ "maxLines": 1
8112
+ }
8113
+ }
8114
+ },
8115
+ {
8116
+ "id": "himi_place_summary.booking_when",
8117
+ "body": {
8118
+ "package": "himalaya",
8119
+ "type": "Text",
8120
+ "props": {
8121
+ "text": "$service:himiPlaceSummary.bookingWhen",
8122
+ "style": "footnote",
8123
+ "color": "accentPrimary",
8124
+ "maxLines": 1
8097
8125
  }
8098
8126
  }
8099
8127
  }
@@ -8105,238 +8133,609 @@ const SCREENS = runtimeSetting({
8105
8133
  "id": "",
8106
8134
  "body": {
8107
8135
  "package": "himalaya",
8108
- "type": "Text",
8109
- "props": {
8110
- "text": "Try again when the connection settles.",
8111
- "style": "body",
8112
- "color": "textSecondary"
8113
- }
8136
+ "type": "Spacer",
8137
+ "props": {}
8114
8138
  }
8115
8139
  },
8116
8140
  {
8117
- "id": "himi_services.retry",
8141
+ "id": "",
8118
8142
  "body": {
8119
8143
  "package": "himalaya",
8120
- "type": "Button",
8144
+ "type": "Icon",
8121
8145
  "props": {
8122
- "title": "Try again",
8123
- "style": "secondary",
8124
- "action": {
8125
- "actionId": "tier5.himiBookingServices.load"
8126
- }
8146
+ "name": "chevron_right",
8147
+ "size": 14,
8148
+ "tint": "textTertiary"
8127
8149
  }
8150
+ },
8151
+ "modifiers": {
8152
+ "accessibilityRole": "decorative"
8128
8153
  }
8129
8154
  }
8130
8155
  ]
8131
8156
  }
8132
8157
  },
8133
8158
  "modifiers": {
8134
- "background": {
8135
- "token": "surfaceElevated"
8136
- },
8137
- "border": {
8138
- "width": 1,
8139
- "color": {
8140
- "token": "border"
8159
+ "fillMaxWidth": true,
8160
+ "onTap": {
8161
+ "actionId": "himi.open",
8162
+ "params": {
8163
+ "screenId": "himi_bookings",
8164
+ "date": "$service:himiPlaceSummary.bookingDay",
8165
+ "bookingId": "$service:himiPlaceSummary.bookingId"
8141
8166
  }
8142
8167
  },
8143
- "cornerRadius": 8,
8144
- "padding": {
8145
- "leading": 14,
8146
- "trailing": 14,
8147
- "top": 14,
8148
- "bottom": 14
8149
- },
8150
- "transition": {
8151
- "enter": "fade",
8152
- "exit": "fade"
8153
- },
8154
- "hiddenPath": "$service:himiBookingServices.notErrored"
8168
+ "pressFeedback": "scale",
8169
+ "haptic": "light",
8170
+ "accessibilityLabel": "$service:himiPlaceSummary.bookingA11y",
8171
+ "hiddenPath": "$service:himiPlaceSummary.noBooking"
8155
8172
  }
8156
8173
  },
8157
8174
  {
8158
8175
  "id": "",
8159
8176
  "body": {
8160
8177
  "package": "himalaya",
8161
- "type": "VStack",
8178
+ "type": "HStack",
8162
8179
  "props": {
8163
- "spacing": 10,
8180
+ "spacing": 12,
8164
8181
  "children": [
8165
8182
  {
8166
- "id": "himi_services.skeleton_1",
8183
+ "id": "",
8167
8184
  "body": {
8168
8185
  "package": "himalaya",
8169
- "type": "Skeleton",
8186
+ "type": "Icon",
8170
8187
  "props": {
8171
- "height": 88,
8172
- "cornerRadius": 8
8188
+ "name": "calendar",
8189
+ "size": 18,
8190
+ "tint": "accentPrimary"
8173
8191
  }
8174
8192
  },
8175
8193
  "modifiers": {
8176
- "height": 88,
8194
+ "accessibilityRole": "decorative",
8195
+ "width": 36,
8196
+ "height": 36,
8197
+ "cornerRadius": 10,
8177
8198
  "background": {
8178
- "token": "surfaceSecondary"
8179
- },
8180
- "cornerRadius": 8,
8181
- "accessibilityRole": "decorative"
8182
- }
8183
- },
8184
- {
8185
- "id": "himi_services.skeleton_2",
8186
- "body": {
8187
- "package": "himalaya",
8188
- "type": "Skeleton",
8189
- "props": {
8190
- "height": 88,
8191
- "cornerRadius": 8
8199
+ "token": "accentSurface"
8192
8200
  }
8193
- },
8194
- "modifiers": {
8195
- "height": 88,
8196
- "background": {
8197
- "token": "surfaceSecondary"
8198
- },
8199
- "cornerRadius": 8,
8200
- "accessibilityRole": "decorative"
8201
8201
  }
8202
8202
  },
8203
8203
  {
8204
- "id": "himi_services.skeleton_3",
8204
+ "id": "",
8205
8205
  "body": {
8206
8206
  "package": "himalaya",
8207
- "type": "Skeleton",
8207
+ "type": "VStack",
8208
8208
  "props": {
8209
- "height": 88,
8210
- "cornerRadius": 8
8209
+ "spacing": 2,
8210
+ "alignment": "leading",
8211
+ "children": [
8212
+ {
8213
+ "id": "himi_place_summary.message_title",
8214
+ "body": {
8215
+ "package": "himalaya",
8216
+ "type": "Text",
8217
+ "props": {
8218
+ "text": "$service:himiPlaceSummary.messageTitle",
8219
+ "style": "bodyEmphasis",
8220
+ "maxLines": 1
8221
+ }
8222
+ }
8223
+ },
8224
+ {
8225
+ "id": "himi_place_summary.message_body",
8226
+ "body": {
8227
+ "package": "himalaya",
8228
+ "type": "Text",
8229
+ "props": {
8230
+ "text": "$service:himiPlaceSummary.messageBody",
8231
+ "style": "footnote",
8232
+ "color": "textSecondary",
8233
+ "maxLines": 2,
8234
+ "collapseWhenEmpty": true
8235
+ }
8236
+ }
8237
+ }
8238
+ ]
8211
8239
  }
8212
- },
8213
- "modifiers": {
8214
- "height": 88,
8215
- "background": {
8216
- "token": "surfaceSecondary"
8217
- },
8218
- "cornerRadius": 8,
8219
- "accessibilityRole": "decorative"
8220
8240
  }
8221
8241
  }
8222
8242
  ]
8223
8243
  }
8224
8244
  },
8225
8245
  "modifiers": {
8226
- "hiddenPath": "$service:himiBookingServices.notLoading"
8246
+ "hiddenPath": "$service:himiPlaceSummary.noMessage"
8227
8247
  }
8228
8248
  },
8229
8249
  {
8230
8250
  "id": "",
8231
8251
  "body": {
8232
8252
  "package": "himalaya",
8233
- "type": "VStack",
8253
+ "type": "HStack",
8234
8254
  "props": {
8235
- "spacing": 12,
8255
+ "spacing": 8,
8236
8256
  "children": [
8237
8257
  {
8238
- "id": "himi_services.list.collection.toolbar",
8258
+ "id": "",
8239
8259
  "body": {
8240
8260
  "package": "himalaya",
8241
- "type": "VStack",
8261
+ "type": "Icon",
8242
8262
  "props": {
8243
- "spacing": 0,
8244
- "children": [
8245
- {
8246
- "id": "himi_services.list.collection.loading",
8247
- "body": {
8248
- "package": "himalaya",
8249
- "type": "Skeleton",
8250
- "props": {
8251
- "height": 72,
8252
- "cornerRadius": 12,
8253
- "count": 3
8254
- }
8255
- },
8256
- "modifiers": {
8257
- "hiddenPath": "$service:himiBookingServices.collection.noLoading",
8258
- "padding": {
8259
- "bottom": 12
8260
- }
8261
- }
8262
- },
8263
- {
8264
- "id": "",
8265
- "body": {
8266
- "package": "himalaya",
8267
- "type": "HStack",
8268
- "props": {
8269
- "spacing": 8,
8270
- "children": [
8271
- {
8272
- "id": "himi_services.list.collection.view",
8273
- "body": {
8274
- "package": "himalaya",
8275
- "type": "SegmentedControl",
8276
- "props": {
8277
- "options": [
8278
- {
8279
- "id": "list",
8280
- "label": "List"
8281
- },
8282
- {
8283
- "id": "grid",
8284
- "label": "Grid"
8285
- }
8286
- ],
8287
- "selectedId": "$service:himiBookingServices.collection.view",
8288
- "onChange": {
8289
- "actionId": "tier5.himiBookingServices.collectionView"
8290
- }
8291
- }
8292
- },
8293
- "modifiers": {
8294
- "weight": 1
8295
- }
8296
- },
8297
- {
8298
- "id": "himi_services.list.collection.refine",
8299
- "body": {
8300
- "package": "himalaya",
8301
- "type": "Button",
8302
- "props": {
8303
- "title": "Refine",
8304
- "style": "plain",
8305
- "fullWidth": false,
8306
- "action": {
8307
- "actionId": "tier5.himiBookingServices.collectionFilters"
8308
- },
8309
- "leadingIcon": "filter"
8310
- }
8311
- }
8312
- }
8313
- ]
8263
+ "name": "star",
8264
+ "size": 14,
8265
+ "tint": "accentPrimary"
8266
+ }
8267
+ },
8268
+ "modifiers": {
8269
+ "accessibilityRole": "decorative"
8270
+ }
8271
+ },
8272
+ {
8273
+ "id": "himi_place_summary.plan_name",
8274
+ "body": {
8275
+ "package": "himalaya",
8276
+ "type": "Text",
8277
+ "props": {
8278
+ "text": "$service:himiPlaceSummary.planName",
8279
+ "style": "footnote",
8280
+ "maxLines": 1
8281
+ }
8282
+ }
8283
+ },
8284
+ {
8285
+ "id": "",
8286
+ "body": {
8287
+ "package": "himalaya",
8288
+ "type": "Spacer",
8289
+ "props": {}
8290
+ }
8291
+ },
8292
+ {
8293
+ "id": "himi_place_summary.plan_detail",
8294
+ "body": {
8295
+ "package": "himalaya",
8296
+ "type": "Text",
8297
+ "props": {
8298
+ "text": "$service:himiPlaceSummary.planDetail",
8299
+ "style": "caption",
8300
+ "color": "textSecondary",
8301
+ "maxLines": 1
8302
+ }
8303
+ }
8304
+ }
8305
+ ]
8306
+ }
8307
+ },
8308
+ "modifiers": {
8309
+ "hiddenPath": "$service:himiPlaceSummary.noPlan"
8310
+ }
8311
+ },
8312
+ {
8313
+ "id": "himi_place_summary.cta",
8314
+ "body": {
8315
+ "package": "himalaya",
8316
+ "type": "Button",
8317
+ "props": {
8318
+ "title": "$service:himiPlaceSummary.ctaLabel",
8319
+ "style": "primary",
8320
+ "size": "sm",
8321
+ "fullWidth": true,
8322
+ "action": {
8323
+ "actionId": "himi.open",
8324
+ "params": {
8325
+ "screenId": "$service:himiPlaceSummary.ctaScreenId",
8326
+ "mode": "$service:himiPlaceSummary.ctaMode"
8327
+ }
8328
+ }
8329
+ }
8330
+ },
8331
+ "modifiers": {
8332
+ "hiddenPath": "$service:himiPlaceSummary.hideCta"
8333
+ }
8334
+ },
8335
+ {
8336
+ "id": "himi_place_summary.retry",
8337
+ "body": {
8338
+ "package": "himalaya",
8339
+ "type": "Button",
8340
+ "props": {
8341
+ "title": "Try again",
8342
+ "style": "secondary",
8343
+ "size": "sm",
8344
+ "fullWidth": true,
8345
+ "action": {
8346
+ "actionId": "tier5.himiPlaceSummary.retry"
8347
+ }
8348
+ }
8349
+ },
8350
+ "modifiers": {
8351
+ "hiddenPath": "$service:himiPlaceSummary.notErrored"
8352
+ }
8353
+ }
8354
+ ]
8355
+ }
8356
+ },
8357
+ "modifiers": {
8358
+ "padding": {
8359
+ "leading": 14,
8360
+ "trailing": 14,
8361
+ "top": 14,
8362
+ "bottom": 14
8363
+ },
8364
+ "fillMaxWidth": true,
8365
+ "onAppear": {
8366
+ "actionId": "tier5.himiPlaceSummary.load",
8367
+ "params": {
8368
+ "verticals": "[\"bookings\",\"programs\",\"plans\",\"events\",\"blog\"]"
8369
+ }
8370
+ }
8371
+ }
8372
+ },
8373
+ "logicBundle": {
8374
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-place-summary?integrity=",
8375
+ "integrity": "",
8376
+ "contentType": "application/javascript+ts-bundle",
8377
+ "declaredCapabilities": [
8378
+ "wix_api"
8379
+ ],
8380
+ "minBinaryVersion": "0.1.0",
8381
+ "bundleVersion": "0.0.1"
8382
+ }
8383
+ },
8384
+ "himi_services": {
8385
+ "screenId": "himi_services",
8386
+ "renderer": "sdui_intent",
8387
+ "title": "",
8388
+ "schemaVersion": 1,
8389
+ "cacheControl": {
8390
+ "maxAge": 0,
8391
+ "staleWhileRevalidate": 0
8392
+ },
8393
+ "payload": {
8394
+ "id": "himi_services.root",
8395
+ "body": {
8396
+ "package": "himalaya",
8397
+ "type": "VStack",
8398
+ "props": {
8399
+ "spacing": 16,
8400
+ "alignment": "leading",
8401
+ "children": [
8402
+ {
8403
+ "id": "",
8404
+ "body": {
8405
+ "package": "himalaya",
8406
+ "type": "VStack",
8407
+ "props": {
8408
+ "spacing": 4,
8409
+ "alignment": "leading",
8410
+ "children": [
8411
+ {
8412
+ "id": "himi_services.title",
8413
+ "body": {
8414
+ "package": "himalaya",
8415
+ "type": "Text",
8416
+ "props": {
8417
+ "text": "Services",
8418
+ "style": "title1"
8419
+ }
8420
+ }
8421
+ },
8422
+ {
8423
+ "id": "",
8424
+ "body": {
8425
+ "package": "himalaya",
8426
+ "type": "Text",
8427
+ "props": {
8428
+ "text": "Find a class and reserve your spot.",
8429
+ "style": "body",
8430
+ "color": "textSecondary"
8431
+ }
8432
+ }
8433
+ }
8434
+ ]
8435
+ }
8436
+ }
8437
+ },
8438
+ {
8439
+ "id": "himi_services.search",
8440
+ "body": {
8441
+ "package": "himalaya",
8442
+ "type": "SearchField",
8443
+ "props": {
8444
+ "placeholder": "Search services",
8445
+ "debounceMs": 200,
8446
+ "onChange": {
8447
+ "actionId": "tier5.himiBookingServices.collectionSearch"
8448
+ },
8449
+ "value": "$service:himiBookingServices.collection.query"
8450
+ }
8451
+ },
8452
+ "modifiers": {
8453
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
8454
+ }
8455
+ },
8456
+ {
8457
+ "id": "himi_services.retry.block",
8458
+ "body": {
8459
+ "package": "himalaya",
8460
+ "type": "VStack",
8461
+ "props": {
8462
+ "spacing": 12,
8463
+ "alignment": "leading",
8464
+ "children": [
8465
+ {
8466
+ "id": "",
8467
+ "body": {
8468
+ "package": "himalaya",
8469
+ "type": "HStack",
8470
+ "props": {
8471
+ "spacing": 10,
8472
+ "children": [
8473
+ {
8474
+ "id": "",
8475
+ "body": {
8476
+ "package": "himalaya",
8477
+ "type": "Icon",
8478
+ "props": {
8479
+ "name": "warning",
8480
+ "size": 18,
8481
+ "tint": "accentPrimary"
8314
8482
  }
8315
8483
  },
8316
8484
  "modifiers": {
8317
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
8318
- "padding": {
8319
- "bottom": 12
8320
- }
8485
+ "accessibilityRole": "decorative"
8321
8486
  }
8322
8487
  },
8323
8488
  {
8324
8489
  "id": "",
8325
8490
  "body": {
8326
8491
  "package": "himalaya",
8327
- "type": "HStack",
8492
+ "type": "Text",
8328
8493
  "props": {
8329
- "spacing": 8,
8330
- "children": [
8331
- {
8332
- "id": "himi_services.list.collection.filters",
8333
- "body": {
8334
- "package": "himalaya",
8335
- "type": "FilterChips",
8336
- "props": {
8337
- "chips": [
8338
- {
8339
- "id": "all",
8494
+ "text": "Something did not load.",
8495
+ "style": "bodyEmphasis"
8496
+ }
8497
+ }
8498
+ }
8499
+ ]
8500
+ }
8501
+ }
8502
+ },
8503
+ {
8504
+ "id": "",
8505
+ "body": {
8506
+ "package": "himalaya",
8507
+ "type": "Text",
8508
+ "props": {
8509
+ "text": "Try again when the connection settles.",
8510
+ "style": "body",
8511
+ "color": "textSecondary"
8512
+ }
8513
+ }
8514
+ },
8515
+ {
8516
+ "id": "himi_services.retry",
8517
+ "body": {
8518
+ "package": "himalaya",
8519
+ "type": "Button",
8520
+ "props": {
8521
+ "title": "Try again",
8522
+ "style": "secondary",
8523
+ "action": {
8524
+ "actionId": "tier5.himiBookingServices.load"
8525
+ }
8526
+ }
8527
+ }
8528
+ }
8529
+ ]
8530
+ }
8531
+ },
8532
+ "modifiers": {
8533
+ "background": {
8534
+ "token": "surfaceElevated"
8535
+ },
8536
+ "border": {
8537
+ "width": 1,
8538
+ "color": {
8539
+ "token": "border"
8540
+ }
8541
+ },
8542
+ "cornerRadius": 8,
8543
+ "padding": {
8544
+ "leading": 14,
8545
+ "trailing": 14,
8546
+ "top": 14,
8547
+ "bottom": 14
8548
+ },
8549
+ "transition": {
8550
+ "enter": "fade",
8551
+ "exit": "fade"
8552
+ },
8553
+ "hiddenPath": "$service:himiBookingServices.notErrored"
8554
+ }
8555
+ },
8556
+ {
8557
+ "id": "",
8558
+ "body": {
8559
+ "package": "himalaya",
8560
+ "type": "VStack",
8561
+ "props": {
8562
+ "spacing": 10,
8563
+ "children": [
8564
+ {
8565
+ "id": "himi_services.skeleton_1",
8566
+ "body": {
8567
+ "package": "himalaya",
8568
+ "type": "Skeleton",
8569
+ "props": {
8570
+ "height": 88,
8571
+ "cornerRadius": 8
8572
+ }
8573
+ },
8574
+ "modifiers": {
8575
+ "height": 88,
8576
+ "background": {
8577
+ "token": "surfaceSecondary"
8578
+ },
8579
+ "cornerRadius": 8,
8580
+ "accessibilityRole": "decorative"
8581
+ }
8582
+ },
8583
+ {
8584
+ "id": "himi_services.skeleton_2",
8585
+ "body": {
8586
+ "package": "himalaya",
8587
+ "type": "Skeleton",
8588
+ "props": {
8589
+ "height": 88,
8590
+ "cornerRadius": 8
8591
+ }
8592
+ },
8593
+ "modifiers": {
8594
+ "height": 88,
8595
+ "background": {
8596
+ "token": "surfaceSecondary"
8597
+ },
8598
+ "cornerRadius": 8,
8599
+ "accessibilityRole": "decorative"
8600
+ }
8601
+ },
8602
+ {
8603
+ "id": "himi_services.skeleton_3",
8604
+ "body": {
8605
+ "package": "himalaya",
8606
+ "type": "Skeleton",
8607
+ "props": {
8608
+ "height": 88,
8609
+ "cornerRadius": 8
8610
+ }
8611
+ },
8612
+ "modifiers": {
8613
+ "height": 88,
8614
+ "background": {
8615
+ "token": "surfaceSecondary"
8616
+ },
8617
+ "cornerRadius": 8,
8618
+ "accessibilityRole": "decorative"
8619
+ }
8620
+ }
8621
+ ]
8622
+ }
8623
+ },
8624
+ "modifiers": {
8625
+ "hiddenPath": "$service:himiBookingServices.notLoading"
8626
+ }
8627
+ },
8628
+ {
8629
+ "id": "",
8630
+ "body": {
8631
+ "package": "himalaya",
8632
+ "type": "VStack",
8633
+ "props": {
8634
+ "spacing": 12,
8635
+ "children": [
8636
+ {
8637
+ "id": "himi_services.list.collection.toolbar",
8638
+ "body": {
8639
+ "package": "himalaya",
8640
+ "type": "VStack",
8641
+ "props": {
8642
+ "spacing": 0,
8643
+ "children": [
8644
+ {
8645
+ "id": "himi_services.list.collection.loading",
8646
+ "body": {
8647
+ "package": "himalaya",
8648
+ "type": "Skeleton",
8649
+ "props": {
8650
+ "height": 72,
8651
+ "cornerRadius": 12,
8652
+ "count": 3
8653
+ }
8654
+ },
8655
+ "modifiers": {
8656
+ "hiddenPath": "$service:himiBookingServices.collection.noLoading",
8657
+ "padding": {
8658
+ "bottom": 12
8659
+ }
8660
+ }
8661
+ },
8662
+ {
8663
+ "id": "",
8664
+ "body": {
8665
+ "package": "himalaya",
8666
+ "type": "HStack",
8667
+ "props": {
8668
+ "spacing": 8,
8669
+ "children": [
8670
+ {
8671
+ "id": "himi_services.list.collection.view",
8672
+ "body": {
8673
+ "package": "himalaya",
8674
+ "type": "SegmentedControl",
8675
+ "props": {
8676
+ "options": [
8677
+ {
8678
+ "id": "list",
8679
+ "label": "List"
8680
+ },
8681
+ {
8682
+ "id": "grid",
8683
+ "label": "Grid"
8684
+ }
8685
+ ],
8686
+ "selectedId": "$service:himiBookingServices.collection.view",
8687
+ "onChange": {
8688
+ "actionId": "tier5.himiBookingServices.collectionView"
8689
+ }
8690
+ }
8691
+ },
8692
+ "modifiers": {
8693
+ "weight": 1
8694
+ }
8695
+ },
8696
+ {
8697
+ "id": "himi_services.list.collection.refine",
8698
+ "body": {
8699
+ "package": "himalaya",
8700
+ "type": "Button",
8701
+ "props": {
8702
+ "title": "Refine",
8703
+ "style": "plain",
8704
+ "fullWidth": false,
8705
+ "action": {
8706
+ "actionId": "tier5.himiBookingServices.collectionFilters"
8707
+ },
8708
+ "leadingIcon": "filter"
8709
+ }
8710
+ }
8711
+ }
8712
+ ]
8713
+ }
8714
+ },
8715
+ "modifiers": {
8716
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
8717
+ "padding": {
8718
+ "bottom": 12
8719
+ }
8720
+ }
8721
+ },
8722
+ {
8723
+ "id": "",
8724
+ "body": {
8725
+ "package": "himalaya",
8726
+ "type": "HStack",
8727
+ "props": {
8728
+ "spacing": 8,
8729
+ "children": [
8730
+ {
8731
+ "id": "himi_services.list.collection.filters",
8732
+ "body": {
8733
+ "package": "himalaya",
8734
+ "type": "FilterChips",
8735
+ "props": {
8736
+ "chips": [
8737
+ {
8738
+ "id": "all",
8340
8739
  "label": "All"
8341
8740
  },
8342
8741
  {
@@ -26928,251 +27327,1366 @@ const SCREENS = runtimeSetting({
26928
27327
  ]
26929
27328
  }
26930
27329
  },
26931
- "modifiers": {
26932
- "padding": {
26933
- "leading": 20,
26934
- "trailing": 20,
26935
- "top": 20,
26936
- "bottom": 24
27330
+ "modifiers": {
27331
+ "padding": {
27332
+ "leading": 20,
27333
+ "trailing": 20,
27334
+ "top": 20,
27335
+ "bottom": 24
27336
+ }
27337
+ }
27338
+ }
27339
+ }
27340
+ }
27341
+ }
27342
+ ]
27343
+ }
27344
+ }
27345
+ }
27346
+ ]
27347
+ }
27348
+ },
27349
+ "modifiers": {
27350
+ "hiddenPath": "$service:himiBlogFeed.isLoading"
27351
+ }
27352
+ },
27353
+ {
27354
+ "id": "",
27355
+ "body": {
27356
+ "package": "himalaya",
27357
+ "type": "VStack",
27358
+ "props": {
27359
+ "spacing": 12,
27360
+ "alignment": "center",
27361
+ "children": [
27362
+ {
27363
+ "id": "",
27364
+ "body": {
27365
+ "package": "himalaya",
27366
+ "type": "Icon",
27367
+ "props": {
27368
+ "name": "newspaper",
27369
+ "size": 34,
27370
+ "tint": "textTertiary"
27371
+ }
27372
+ },
27373
+ "modifiers": {
27374
+ "accessibilityRole": "decorative"
27375
+ }
27376
+ },
27377
+ {
27378
+ "id": "",
27379
+ "body": {
27380
+ "package": "himalaya",
27381
+ "type": "Text",
27382
+ "props": {
27383
+ "text": "$service:himiBlogFeed.emptyText",
27384
+ "style": "bodyEmphasis",
27385
+ "color": "textSecondary",
27386
+ "collapseWhenEmpty": true
27387
+ }
27388
+ }
27389
+ },
27390
+ {
27391
+ "id": "himi_blog.empty.cta",
27392
+ "body": {
27393
+ "package": "himalaya",
27394
+ "type": "Button",
27395
+ "props": {
27396
+ "title": "Clear filters",
27397
+ "style": "secondary",
27398
+ "action": {
27399
+ "actionId": "tier5.himiBlogFeed.clearFilters"
27400
+ }
27401
+ }
27402
+ }
27403
+ }
27404
+ ]
27405
+ }
27406
+ },
27407
+ "modifiers": {
27408
+ "padding": {
27409
+ "leading": 24,
27410
+ "trailing": 24,
27411
+ "top": 24,
27412
+ "bottom": 24
27413
+ },
27414
+ "transition": {
27415
+ "enter": "fade",
27416
+ "exit": "fade"
27417
+ },
27418
+ "hiddenPath": "$service:himiBlogFeed.noEmpty"
27419
+ }
27420
+ }
27421
+ ]
27422
+ }
27423
+ },
27424
+ "modifiers": {
27425
+ "background": {
27426
+ "token": "surfacePrimary"
27427
+ },
27428
+ "padding": {
27429
+ "leading": 16,
27430
+ "trailing": 16,
27431
+ "top": 18,
27432
+ "bottom": 24
27433
+ },
27434
+ "onAppear": {
27435
+ "actionId": "tier5.himiBlogFeed.load",
27436
+ "params": {
27437
+ "copy": "{\"blog.subtitle\":\"Notes on practice and wellbeing from the studio.\"}"
27438
+ }
27439
+ }
27440
+ }
27441
+ },
27442
+ "logicBundle": {
27443
+ "url": "http://localhost:8190/v1/bundles/himi-blog-feed",
27444
+ "integrity": "",
27445
+ "contentType": "application/javascript+ts-bundle",
27446
+ "declaredCapabilities": [
27447
+ "wix_api",
27448
+ "local_database"
27449
+ ],
27450
+ "minBinaryVersion": "0.1.0",
27451
+ "bundleVersion": "0.0.1"
27452
+ },
27453
+ "topBar": {
27454
+ "actions": [
27455
+ {
27456
+ "id": "account",
27457
+ "icon": "person",
27458
+ "accessibilityLabel": "Account",
27459
+ "onTap": {
27460
+ "actionId": "himi.open",
27461
+ "params": {
27462
+ "screenId": "himi_account"
27463
+ }
27464
+ }
27465
+ },
27466
+ {
27467
+ "id": "compose",
27468
+ "icon": "plus",
27469
+ "accessibilityLabel": "New post",
27470
+ "onTap": {
27471
+ "actionId": "himi.open",
27472
+ "params": {
27473
+ "screenId": "himi_create_post"
27474
+ }
27475
+ }
27476
+ }
27477
+ ]
27478
+ }
27479
+ },
27480
+ "himi_saved": {
27481
+ "screenId": "himi_saved",
27482
+ "renderer": "sdui_intent",
27483
+ "title": "Saved",
27484
+ "schemaVersion": 1,
27485
+ "cacheControl": {
27486
+ "maxAge": 0,
27487
+ "staleWhileRevalidate": 0
27488
+ },
27489
+ "payload": {
27490
+ "id": "himi_saved.root",
27491
+ "body": {
27492
+ "package": "himalaya",
27493
+ "type": "VStack",
27494
+ "props": {
27495
+ "spacing": 16,
27496
+ "alignment": "leading",
27497
+ "children": [
27498
+ {
27499
+ "id": "",
27500
+ "body": {
27501
+ "package": "himalaya",
27502
+ "type": "VStack",
27503
+ "props": {
27504
+ "spacing": 4,
27505
+ "alignment": "leading",
27506
+ "children": [
27507
+ {
27508
+ "id": "himi_saved.title",
27509
+ "body": {
27510
+ "package": "himalaya",
27511
+ "type": "Text",
27512
+ "props": {
27513
+ "text": "Saved",
27514
+ "style": "title1"
27515
+ }
27516
+ }
27517
+ },
27518
+ {
27519
+ "id": "",
27520
+ "body": {
27521
+ "package": "himalaya",
27522
+ "type": "Text",
27523
+ "props": {
27524
+ "text": "Posts you have saved to read later.",
27525
+ "style": "body",
27526
+ "color": "textSecondary"
27527
+ }
27528
+ }
27529
+ }
27530
+ ]
27531
+ }
27532
+ }
27533
+ },
27534
+ {
27535
+ "id": "himi_saved.retry.block",
27536
+ "body": {
27537
+ "package": "himalaya",
27538
+ "type": "VStack",
27539
+ "props": {
27540
+ "spacing": 12,
27541
+ "alignment": "leading",
27542
+ "children": [
27543
+ {
27544
+ "id": "",
27545
+ "body": {
27546
+ "package": "himalaya",
27547
+ "type": "HStack",
27548
+ "props": {
27549
+ "spacing": 10,
27550
+ "children": [
27551
+ {
27552
+ "id": "",
27553
+ "body": {
27554
+ "package": "himalaya",
27555
+ "type": "Icon",
27556
+ "props": {
27557
+ "name": "warning",
27558
+ "size": 18,
27559
+ "tint": "accentPrimary"
27560
+ }
27561
+ },
27562
+ "modifiers": {
27563
+ "accessibilityRole": "decorative"
27564
+ }
27565
+ },
27566
+ {
27567
+ "id": "",
27568
+ "body": {
27569
+ "package": "himalaya",
27570
+ "type": "Text",
27571
+ "props": {
27572
+ "text": "Something did not load.",
27573
+ "style": "bodyEmphasis"
27574
+ }
27575
+ }
27576
+ }
27577
+ ]
27578
+ }
27579
+ }
27580
+ },
27581
+ {
27582
+ "id": "",
27583
+ "body": {
27584
+ "package": "himalaya",
27585
+ "type": "Text",
27586
+ "props": {
27587
+ "text": "Try again when the connection settles.",
27588
+ "style": "body",
27589
+ "color": "textSecondary"
27590
+ }
27591
+ }
27592
+ },
27593
+ {
27594
+ "id": "himi_saved.retry",
27595
+ "body": {
27596
+ "package": "himalaya",
27597
+ "type": "Button",
27598
+ "props": {
27599
+ "title": "Try again",
27600
+ "style": "secondary",
27601
+ "action": {
27602
+ "actionId": "tier5.himiBlogSaved.retry"
27603
+ }
27604
+ }
27605
+ }
27606
+ }
27607
+ ]
27608
+ }
27609
+ },
27610
+ "modifiers": {
27611
+ "background": {
27612
+ "token": "surfaceElevated"
27613
+ },
27614
+ "border": {
27615
+ "width": 1,
27616
+ "color": {
27617
+ "token": "border"
27618
+ }
27619
+ },
27620
+ "cornerRadius": 8,
27621
+ "padding": {
27622
+ "leading": 14,
27623
+ "trailing": 14,
27624
+ "top": 14,
27625
+ "bottom": 14
27626
+ },
27627
+ "transition": {
27628
+ "enter": "fade",
27629
+ "exit": "fade"
27630
+ },
27631
+ "hiddenPath": "$service:himiBlogSaved.notErrored"
27632
+ }
27633
+ },
27634
+ {
27635
+ "id": "",
27636
+ "body": {
27637
+ "package": "himalaya",
27638
+ "type": "VStack",
27639
+ "props": {
27640
+ "spacing": 10,
27641
+ "children": [
27642
+ {
27643
+ "id": "himi_saved.skeleton_1",
27644
+ "body": {
27645
+ "package": "himalaya",
27646
+ "type": "Skeleton",
27647
+ "props": {
27648
+ "height": 72,
27649
+ "cornerRadius": 8
27650
+ }
27651
+ },
27652
+ "modifiers": {
27653
+ "height": 72,
27654
+ "background": {
27655
+ "token": "surfaceSecondary"
27656
+ },
27657
+ "cornerRadius": 8,
27658
+ "accessibilityRole": "decorative"
27659
+ }
27660
+ },
27661
+ {
27662
+ "id": "himi_saved.skeleton_2",
27663
+ "body": {
27664
+ "package": "himalaya",
27665
+ "type": "Skeleton",
27666
+ "props": {
27667
+ "height": 72,
27668
+ "cornerRadius": 8
27669
+ }
27670
+ },
27671
+ "modifiers": {
27672
+ "height": 72,
27673
+ "background": {
27674
+ "token": "surfaceSecondary"
27675
+ },
27676
+ "cornerRadius": 8,
27677
+ "accessibilityRole": "decorative"
27678
+ }
27679
+ }
27680
+ ]
27681
+ }
27682
+ },
27683
+ "modifiers": {
27684
+ "hiddenPath": "$service:himiBlogSaved.notLoading"
27685
+ }
27686
+ },
27687
+ {
27688
+ "id": "",
27689
+ "body": {
27690
+ "package": "himalaya",
27691
+ "type": "VStack",
27692
+ "props": {
27693
+ "spacing": 12,
27694
+ "alignment": "leading",
27695
+ "children": [
27696
+ {
27697
+ "id": "himi_saved.list",
27698
+ "body": {
27699
+ "package": "himalaya",
27700
+ "type": "Grid",
27701
+ "props": {
27702
+ "columns": 1,
27703
+ "spacing": 10,
27704
+ "itemsPath": "$service:himiBlogSaved.posts",
27705
+ "items": [
27706
+ {
27707
+ "id": "",
27708
+ "body": {
27709
+ "package": "himalaya",
27710
+ "type": "HStack",
27711
+ "props": {
27712
+ "spacing": 12,
27713
+ "children": [
27714
+ {
27715
+ "id": "",
27716
+ "body": {
27717
+ "package": "himalaya",
27718
+ "type": "Image",
27719
+ "props": {
27720
+ "url": "$item.cover",
27721
+ "width": 56,
27722
+ "height": 56,
27723
+ "contentMode": "fill",
27724
+ "contentDescription": "$item.title"
27725
+ }
27726
+ },
27727
+ "modifiers": {
27728
+ "cornerRadius": 8,
27729
+ "hiddenPath": "$item.noCover"
27730
+ }
27731
+ },
27732
+ {
27733
+ "id": "",
27734
+ "body": {
27735
+ "package": "himalaya",
27736
+ "type": "ZStack",
27737
+ "props": {
27738
+ "alignment": "center",
27739
+ "children": [
27740
+ {
27741
+ "id": "",
27742
+ "body": {
27743
+ "package": "himalaya",
27744
+ "type": "Text",
27745
+ "props": {
27746
+ "text": "$item.initial",
27747
+ "style": "title2",
27748
+ "color": "textOnAccent"
27749
+ }
27750
+ }
27751
+ }
27752
+ ]
27753
+ }
27754
+ },
27755
+ "modifiers": {
27756
+ "width": 56,
27757
+ "height": 56,
27758
+ "background": {
27759
+ "token": "accentSecondary"
27760
+ },
27761
+ "cornerRadius": 8,
27762
+ "hiddenPath": "$item.hasCover"
27763
+ }
27764
+ },
27765
+ {
27766
+ "id": "",
27767
+ "body": {
27768
+ "package": "himalaya",
27769
+ "type": "VStack",
27770
+ "props": {
27771
+ "spacing": 4,
27772
+ "alignment": "leading",
27773
+ "children": [
27774
+ {
27775
+ "id": "",
27776
+ "body": {
27777
+ "package": "himalaya",
27778
+ "type": "Text",
27779
+ "props": {
27780
+ "text": "$item.title",
27781
+ "style": "bodyEmphasis",
27782
+ "maxLines": 2
27783
+ }
27784
+ }
27785
+ },
27786
+ {
27787
+ "id": "",
27788
+ "body": {
27789
+ "package": "himalaya",
27790
+ "type": "Text",
27791
+ "props": {
27792
+ "text": "$item.excerpt",
27793
+ "style": "footnote",
27794
+ "color": "textSecondary",
27795
+ "maxLines": 2,
27796
+ "collapseWhenEmpty": true
27797
+ }
27798
+ }
27799
+ },
27800
+ {
27801
+ "id": "",
27802
+ "body": {
27803
+ "package": "himalaya",
27804
+ "type": "Text",
27805
+ "props": {
27806
+ "text": "$item.meta",
27807
+ "style": "caption",
27808
+ "color": "textTertiary",
27809
+ "maxLines": 1,
27810
+ "collapseWhenEmpty": true
27811
+ }
27812
+ }
27813
+ }
27814
+ ]
27815
+ }
27816
+ }
27817
+ },
27818
+ {
27819
+ "id": "",
27820
+ "body": {
27821
+ "package": "himalaya",
27822
+ "type": "Spacer",
27823
+ "props": {}
27824
+ }
27825
+ },
27826
+ {
27827
+ "id": "himi_saved.unsave",
27828
+ "body": {
27829
+ "package": "himalaya",
27830
+ "type": "Icon",
27831
+ "props": {
27832
+ "name": "bookmark",
27833
+ "size": 18,
27834
+ "tint": "accentPrimary"
27835
+ }
27836
+ },
27837
+ "modifiers": {
27838
+ "accessibilityRole": "button",
27839
+ "padding": {
27840
+ "leading": 8,
27841
+ "trailing": 8,
27842
+ "top": 8,
27843
+ "bottom": 8
27844
+ },
27845
+ "onTap": {
27846
+ "actionId": "tier5.himiBlogSaved.remove",
27847
+ "params": {
27848
+ "id": "$item.id"
27849
+ }
27850
+ },
27851
+ "pressFeedback": "scale",
27852
+ "haptic": "light",
27853
+ "accessibilityLabel": "Remove from saved"
27854
+ }
27855
+ },
27856
+ {
27857
+ "id": "",
27858
+ "body": {
27859
+ "package": "himalaya",
27860
+ "type": "Icon",
27861
+ "props": {
27862
+ "name": "chevron_right",
27863
+ "size": 16,
27864
+ "tint": "textTertiary"
27865
+ }
27866
+ },
27867
+ "modifiers": {
27868
+ "accessibilityRole": "decorative"
27869
+ }
27870
+ }
27871
+ ]
27872
+ }
27873
+ },
27874
+ "modifiers": {
27875
+ "background": {
27876
+ "token": "surfaceElevated"
27877
+ },
27878
+ "border": {
27879
+ "width": 1,
27880
+ "color": {
27881
+ "token": "border"
27882
+ }
27883
+ },
27884
+ "cornerRadius": 8,
27885
+ "padding": {
27886
+ "leading": 12,
27887
+ "trailing": 12,
27888
+ "top": 12,
27889
+ "bottom": 12
27890
+ },
27891
+ "onTap": {
27892
+ "actionId": "himi.open",
27893
+ "params": {
27894
+ "screenId": "$item.detailScreenId",
27895
+ "id": "$item.id"
27896
+ }
27897
+ },
27898
+ "pressFeedback": "scale",
27899
+ "haptic": "light"
27900
+ }
27901
+ }
27902
+ ]
27903
+ }
27904
+ }
27905
+ }
27906
+ ]
27907
+ }
27908
+ },
27909
+ "modifiers": {
27910
+ "hiddenPath": "$service:himiBlogSaved.isLoading"
27911
+ }
27912
+ },
27913
+ {
27914
+ "id": "",
27915
+ "body": {
27916
+ "package": "himalaya",
27917
+ "type": "VStack",
27918
+ "props": {
27919
+ "spacing": 12,
27920
+ "alignment": "center",
27921
+ "children": [
27922
+ {
27923
+ "id": "",
27924
+ "body": {
27925
+ "package": "himalaya",
27926
+ "type": "Icon",
27927
+ "props": {
27928
+ "name": "bookmark",
27929
+ "size": 34,
27930
+ "tint": "textTertiary"
27931
+ }
27932
+ },
27933
+ "modifiers": {
27934
+ "accessibilityRole": "decorative"
27935
+ }
27936
+ },
27937
+ {
27938
+ "id": "",
27939
+ "body": {
27940
+ "package": "himalaya",
27941
+ "type": "Text",
27942
+ "props": {
27943
+ "text": "$service:himiBlogSaved.emptyText",
27944
+ "style": "bodyEmphasis",
27945
+ "color": "textSecondary",
27946
+ "collapseWhenEmpty": true
27947
+ }
27948
+ }
27949
+ },
27950
+ {
27951
+ "id": "himi_saved.empty.cta",
27952
+ "body": {
27953
+ "package": "himalaya",
27954
+ "type": "Button",
27955
+ "props": {
27956
+ "title": "Browse Blog",
27957
+ "style": "secondary",
27958
+ "action": {
27959
+ "actionId": "himi.open",
27960
+ "params": {
27961
+ "screenId": "himi_blog"
27962
+ }
27963
+ }
27964
+ }
27965
+ }
27966
+ }
27967
+ ]
27968
+ }
27969
+ },
27970
+ "modifiers": {
27971
+ "padding": {
27972
+ "leading": 24,
27973
+ "trailing": 24,
27974
+ "top": 24,
27975
+ "bottom": 24
27976
+ },
27977
+ "transition": {
27978
+ "enter": "fade",
27979
+ "exit": "fade"
27980
+ },
27981
+ "hiddenPath": "$service:himiBlogSaved.noEmpty"
27982
+ }
27983
+ }
27984
+ ]
27985
+ }
27986
+ },
27987
+ "modifiers": {
27988
+ "background": {
27989
+ "token": "surfacePrimary"
27990
+ },
27991
+ "padding": {
27992
+ "leading": 16,
27993
+ "trailing": 16,
27994
+ "top": 18,
27995
+ "bottom": 24
27996
+ },
27997
+ "onAppear": {
27998
+ "actionId": "tier5.himiBlogSaved.refresh"
27999
+ }
28000
+ }
28001
+ },
28002
+ "logicBundle": {
28003
+ "url": "http://localhost:8190/v1/bundles/himi-blog-saved",
28004
+ "integrity": "",
28005
+ "contentType": "application/javascript+ts-bundle",
28006
+ "declaredCapabilities": [
28007
+ "wix_api",
28008
+ "local_database"
28009
+ ],
28010
+ "minBinaryVersion": "0.1.0",
28011
+ "bundleVersion": "0.0.1"
28012
+ }
28013
+ },
28014
+ }) as Record<string, unknown>;
28015
+
28016
+ // The language destination stays registered for deep links and future translations. Keep its
28017
+ // account entry out of a single-language app; adding a locale to config.locale.translations
28018
+ // makes the same entry visible after the app config reloads.
28019
+ const localeConfig = config.locale as { default?: string; translations?: readonly string[] } | undefined;
28020
+ const configuredLocales = new Set([localeConfig?.default ?? "en", ...(localeConfig?.translations ?? [])]);
28021
+ if (localeConfig && configuredLocales.size <= 1) {
28022
+ const removeLanguageEntry = (value: unknown): unknown => {
28023
+ if (Array.isArray(value)) return value.flatMap((child) => {
28024
+ const next = removeLanguageEntry(child);
28025
+ return next === undefined ? [] : [next];
28026
+ });
28027
+ if (!value || typeof value !== "object") return value;
28028
+ const node = value as Record<string, unknown>;
28029
+ if (node.id === "himi_account.language") return undefined;
28030
+ return Object.fromEntries(Object.entries(node).map(([key, child]) => [key, removeLanguageEntry(child)]));
28031
+ };
28032
+ const account = SCREENS["himi_account"] as { payload?: unknown } | undefined;
28033
+ if (account?.payload) account.payload = removeLanguageEntry(account.payload);
28034
+ }
28035
+ interface LiveSeed { path: string; body: unknown; listKey: string; prefix: string; limit?: number }
28036
+ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; staticSeedIds?: string[]; template: unknown }[] = [
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
+ "screenId": "himi_service___HIMI_ID__",
28039
+ "renderer": "sdui_intent",
28040
+ "title": "",
28041
+ "schemaVersion": 1,
28042
+ "cacheControl": {
28043
+ "maxAge": 0,
28044
+ "staleWhileRevalidate": 0
28045
+ },
28046
+ "payload": {
28047
+ "id": "himi_service.root",
28048
+ "body": {
28049
+ "package": "himalaya",
28050
+ "type": "VStack",
28051
+ "props": {
28052
+ "spacing": 0,
28053
+ "alignment": "leading",
28054
+ "children": [
28055
+ {
28056
+ "id": "",
28057
+ "body": {
28058
+ "package": "himalaya",
28059
+ "type": "VStack",
28060
+ "props": {
28061
+ "spacing": 0,
28062
+ "children": [
28063
+ {
28064
+ "id": "himi_service.retry.block",
28065
+ "body": {
28066
+ "package": "himalaya",
28067
+ "type": "VStack",
28068
+ "props": {
28069
+ "spacing": 12,
28070
+ "alignment": "leading",
28071
+ "children": [
28072
+ {
28073
+ "id": "",
28074
+ "body": {
28075
+ "package": "himalaya",
28076
+ "type": "HStack",
28077
+ "props": {
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
+ ]
28107
+ }
28108
+ }
28109
+ },
28110
+ {
28111
+ "id": "",
28112
+ "body": {
28113
+ "package": "himalaya",
28114
+ "type": "Text",
28115
+ "props": {
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
+ }
28133
+ }
28134
+ }
28135
+ }
28136
+ ]
28137
+ }
28138
+ },
28139
+ "modifiers": {
28140
+ "background": {
28141
+ "token": "surfaceElevated"
28142
+ },
28143
+ "border": {
28144
+ "width": 1,
28145
+ "color": {
28146
+ "token": "border"
28147
+ }
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"
28161
+ }
28162
+ }
28163
+ ]
28164
+ }
28165
+ },
28166
+ "modifiers": {
28167
+ "fillMaxWidth": true,
28168
+ "padding": {
28169
+ "top": 20
28170
+ },
28171
+ "hiddenPath": "$service:himiBookingService.notErrored"
28172
+ }
28173
+ },
28174
+ {
28175
+ "id": "",
28176
+ "body": {
28177
+ "package": "himalaya",
28178
+ "type": "VStack",
28179
+ "props": {
28180
+ "spacing": 24,
28181
+ "alignment": "leading",
28182
+ "children": [
28183
+ {
28184
+ "id": "himi_service.skeleton_media",
28185
+ "body": {
28186
+ "package": "himalaya",
28187
+ "type": "Skeleton",
28188
+ "props": {
28189
+ "height": 219,
28190
+ "cornerRadius": 16
28191
+ }
28192
+ },
28193
+ "modifiers": {
28194
+ "height": 219,
28195
+ "fillMaxWidth": true,
28196
+ "background": {
28197
+ "token": "surfaceSecondary"
28198
+ },
28199
+ "cornerRadius": 16,
28200
+ "accessibilityRole": "decorative"
28201
+ }
28202
+ },
28203
+ {
28204
+ "id": "",
28205
+ "body": {
28206
+ "package": "himalaya",
28207
+ "type": "VStack",
28208
+ "props": {
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
+ ]
28296
+ }
28297
+ }
28298
+ },
28299
+ {
28300
+ "id": "",
28301
+ "body": {
28302
+ "package": "himalaya",
28303
+ "type": "Divider",
28304
+ "props": {}
28305
+ }
28306
+ },
28307
+ {
28308
+ "id": "",
28309
+ "body": {
28310
+ "package": "himalaya",
28311
+ "type": "VStack",
28312
+ "props": {
28313
+ "spacing": 16,
28314
+ "alignment": "leading",
28315
+ "children": [
28316
+ {
28317
+ "id": "",
28318
+ "body": {
28319
+ "package": "himalaya",
28320
+ "type": "HStack",
28321
+ "props": {
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"
26937
28469
  }
26938
28470
  }
26939
- }
28471
+ ]
26940
28472
  }
26941
28473
  }
26942
28474
  }
26943
28475
  ]
26944
28476
  }
26945
28477
  }
26946
- }
26947
- ]
26948
- }
26949
- },
26950
- "modifiers": {
26951
- "hiddenPath": "$service:himiBlogFeed.isLoading"
26952
- }
26953
- },
26954
- {
26955
- "id": "",
26956
- "body": {
26957
- "package": "himalaya",
26958
- "type": "VStack",
26959
- "props": {
26960
- "spacing": 12,
26961
- "alignment": "center",
26962
- "children": [
26963
- {
26964
- "id": "",
26965
- "body": {
26966
- "package": "himalaya",
26967
- "type": "Icon",
26968
- "props": {
26969
- "name": "newspaper",
26970
- "size": 34,
26971
- "tint": "textTertiary"
26972
- }
26973
- },
26974
- "modifiers": {
26975
- "accessibilityRole": "decorative"
26976
- }
26977
- },
26978
- {
26979
- "id": "",
26980
- "body": {
26981
- "package": "himalaya",
26982
- "type": "Text",
26983
- "props": {
26984
- "text": "$service:himiBlogFeed.emptyText",
26985
- "style": "bodyEmphasis",
26986
- "color": "textSecondary",
26987
- "collapseWhenEmpty": true
26988
- }
26989
- }
26990
- },
26991
- {
26992
- "id": "himi_blog.empty.cta",
26993
- "body": {
26994
- "package": "himalaya",
26995
- "type": "Button",
26996
- "props": {
26997
- "title": "Clear filters",
26998
- "style": "secondary",
26999
- "action": {
27000
- "actionId": "tier5.himiBlogFeed.clearFilters"
27001
- }
27002
- }
27003
- }
27004
- }
27005
- ]
27006
- }
27007
- },
27008
- "modifiers": {
27009
- "padding": {
27010
- "leading": 24,
27011
- "trailing": 24,
27012
- "top": 24,
27013
- "bottom": 24
27014
- },
27015
- "transition": {
27016
- "enter": "fade",
27017
- "exit": "fade"
27018
- },
27019
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
27020
- }
27021
- }
27022
- ]
27023
- }
27024
- },
27025
- "modifiers": {
27026
- "background": {
27027
- "token": "surfacePrimary"
27028
- },
27029
- "padding": {
27030
- "leading": 16,
27031
- "trailing": 16,
27032
- "top": 18,
27033
- "bottom": 24
27034
- },
27035
- "onAppear": {
27036
- "actionId": "tier5.himiBlogFeed.load",
27037
- "params": {
27038
- "copy": "{\"blog.subtitle\":\"Notes on practice and wellbeing from the studio.\"}"
27039
- }
27040
- }
27041
- }
27042
- },
27043
- "logicBundle": {
27044
- "url": "http://localhost:8190/v1/bundles/himi-blog-feed",
27045
- "integrity": "",
27046
- "contentType": "application/javascript+ts-bundle",
27047
- "declaredCapabilities": [
27048
- "wix_api",
27049
- "local_database"
27050
- ],
27051
- "minBinaryVersion": "0.1.0",
27052
- "bundleVersion": "0.0.1"
27053
- },
27054
- "topBar": {
27055
- "actions": [
27056
- {
27057
- "id": "account",
27058
- "icon": "person",
27059
- "accessibilityLabel": "Account",
27060
- "onTap": {
27061
- "actionId": "himi.open",
27062
- "params": {
27063
- "screenId": "himi_account"
27064
- }
27065
- }
27066
- },
27067
- {
27068
- "id": "compose",
27069
- "icon": "plus",
27070
- "accessibilityLabel": "New post",
27071
- "onTap": {
27072
- "actionId": "himi.open",
27073
- "params": {
27074
- "screenId": "himi_create_post"
27075
- }
27076
- }
27077
- }
27078
- ]
27079
- }
27080
- },
27081
- "himi_saved": {
27082
- "screenId": "himi_saved",
27083
- "renderer": "sdui_intent",
27084
- "title": "Saved",
27085
- "schemaVersion": 1,
27086
- "cacheControl": {
27087
- "maxAge": 0,
27088
- "staleWhileRevalidate": 0
27089
- },
27090
- "payload": {
27091
- "id": "himi_saved.root",
27092
- "body": {
27093
- "package": "himalaya",
27094
- "type": "VStack",
27095
- "props": {
27096
- "spacing": 16,
27097
- "alignment": "leading",
27098
- "children": [
27099
- {
27100
- "id": "",
27101
- "body": {
27102
- "package": "himalaya",
27103
- "type": "VStack",
27104
- "props": {
27105
- "spacing": 4,
27106
- "alignment": "leading",
27107
- "children": [
27108
- {
27109
- "id": "himi_saved.title",
27110
- "body": {
27111
- "package": "himalaya",
27112
- "type": "Text",
27113
- "props": {
27114
- "text": "Saved",
27115
- "style": "title1"
27116
- }
27117
- }
27118
28478
  },
27119
28479
  {
27120
28480
  "id": "",
27121
28481
  "body": {
27122
28482
  "package": "himalaya",
27123
- "type": "Text",
28483
+ "type": "VStack",
27124
28484
  "props": {
27125
- "text": "Posts you have saved to read later.",
27126
- "style": "body",
27127
- "color": "textSecondary"
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
+ },
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,
28520
+ "fillMaxWidth": true,
28521
+ "background": {
28522
+ "token": "surfaceSecondary"
28523
+ },
28524
+ "cornerRadius": 8,
28525
+ "accessibilityRole": "decorative"
28526
+ }
28527
+ },
28528
+ {
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
+ ]
27128
28569
  }
27129
28570
  }
27130
28571
  }
27131
28572
  ]
27132
28573
  }
28574
+ },
28575
+ "modifiers": {
28576
+ "fillMaxWidth": true,
28577
+ "padding": {
28578
+ "top": 20
28579
+ },
28580
+ "hiddenPath": "$service:himiBookingService.notLoading"
27133
28581
  }
27134
28582
  },
27135
28583
  {
27136
- "id": "himi_saved.retry.block",
28584
+ "id": "himi_service.content",
27137
28585
  "body": {
27138
28586
  "package": "himalaya",
27139
28587
  "type": "VStack",
27140
28588
  "props": {
27141
- "spacing": 12,
28589
+ "spacing": 24,
27142
28590
  "alignment": "leading",
27143
28591
  "children": [
27144
28592
  {
27145
- "id": "",
28593
+ "id": "himi_service.media",
27146
28594
  "body": {
27147
28595
  "package": "himalaya",
27148
- "type": "HStack",
28596
+ "type": "VStack",
27149
28597
  "props": {
27150
- "spacing": 10,
28598
+ "spacing": 0,
28599
+ "alignment": "leading",
27151
28600
  "children": [
27152
28601
  {
27153
- "id": "",
28602
+ "id": "himi_service.gallery",
27154
28603
  "body": {
27155
28604
  "package": "himalaya",
27156
- "type": "Icon",
28605
+ "type": "Carousel",
27157
28606
  "props": {
27158
- "name": "warning",
27159
- "size": 18,
27160
- "tint": "accentPrimary"
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
+ ]
27161
28629
  }
27162
28630
  },
27163
28631
  "modifiers": {
27164
- "accessibilityRole": "decorative"
28632
+ "fillMaxWidth": true,
28633
+ "hiddenPath": "$service:himiBookingService.noGallery"
27165
28634
  }
27166
28635
  },
27167
28636
  {
27168
- "id": "",
28637
+ "id": "himi_service.image",
27169
28638
  "body": {
27170
28639
  "package": "himalaya",
27171
- "type": "Text",
28640
+ "type": "Image",
27172
28641
  "props": {
27173
- "text": "Something did not load.",
27174
- "style": "bodyEmphasis"
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",
28658
+ "body": {
28659
+ "package": "himalaya",
28660
+ "type": "ZStack",
28661
+ "props": {
28662
+ "alignment": "center",
28663
+ "children": [
28664
+ {
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
+ ]
27175
28680
  }
28681
+ },
28682
+ "modifiers": {
28683
+ "height": 219,
28684
+ "cornerRadius": 16,
28685
+ "fillMaxWidth": true,
28686
+ "background": {
28687
+ "token": "surfaceSecondary"
28688
+ },
28689
+ "hiddenPath": "$service:himiBookingService.hasImage"
27176
28690
  }
27177
28691
  }
27178
28692
  ]
@@ -27180,221 +28694,705 @@ const SCREENS = runtimeSetting({
27180
28694
  }
27181
28695
  },
27182
28696
  {
27183
- "id": "",
27184
- "body": {
27185
- "package": "himalaya",
27186
- "type": "Text",
27187
- "props": {
27188
- "text": "Try again when the connection settles.",
27189
- "style": "body",
27190
- "color": "textSecondary"
27191
- }
27192
- }
27193
- },
27194
- {
27195
- "id": "himi_saved.retry",
27196
- "body": {
27197
- "package": "himalaya",
27198
- "type": "Button",
27199
- "props": {
27200
- "title": "Try again",
27201
- "style": "secondary",
27202
- "action": {
27203
- "actionId": "tier5.himiBlogSaved.retry"
27204
- }
27205
- }
27206
- }
27207
- }
27208
- ]
27209
- }
27210
- },
27211
- "modifiers": {
27212
- "background": {
27213
- "token": "surfaceElevated"
27214
- },
27215
- "border": {
27216
- "width": 1,
27217
- "color": {
27218
- "token": "border"
27219
- }
27220
- },
27221
- "cornerRadius": 8,
27222
- "padding": {
27223
- "leading": 14,
27224
- "trailing": 14,
27225
- "top": 14,
27226
- "bottom": 14
27227
- },
27228
- "transition": {
27229
- "enter": "fade",
27230
- "exit": "fade"
27231
- },
27232
- "hiddenPath": "$service:himiBlogSaved.notErrored"
27233
- }
27234
- },
27235
- {
27236
- "id": "",
27237
- "body": {
27238
- "package": "himalaya",
27239
- "type": "VStack",
27240
- "props": {
27241
- "spacing": 10,
27242
- "children": [
27243
- {
27244
- "id": "himi_saved.skeleton_1",
28697
+ "id": "himi_service.header",
27245
28698
  "body": {
27246
28699
  "package": "himalaya",
27247
- "type": "Skeleton",
28700
+ "type": "VStack",
27248
28701
  "props": {
27249
- "height": 72,
27250
- "cornerRadius": 8
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
+ ]
27251
28813
  }
27252
- },
27253
- "modifiers": {
27254
- "height": 72,
27255
- "background": {
27256
- "token": "surfaceSecondary"
27257
- },
27258
- "cornerRadius": 8,
27259
- "accessibilityRole": "decorative"
27260
28814
  }
27261
28815
  },
27262
28816
  {
27263
- "id": "himi_saved.skeleton_2",
27264
- "body": {
27265
- "package": "himalaya",
27266
- "type": "Skeleton",
27267
- "props": {
27268
- "height": 72,
27269
- "cornerRadius": 8
27270
- }
27271
- },
27272
- "modifiers": {
27273
- "height": 72,
27274
- "background": {
27275
- "token": "surfaceSecondary"
27276
- },
27277
- "cornerRadius": 8,
27278
- "accessibilityRole": "decorative"
27279
- }
27280
- }
27281
- ]
27282
- }
27283
- },
27284
- "modifiers": {
27285
- "hiddenPath": "$service:himiBlogSaved.notLoading"
27286
- }
27287
- },
27288
- {
27289
- "id": "",
27290
- "body": {
27291
- "package": "himalaya",
27292
- "type": "VStack",
27293
- "props": {
27294
- "spacing": 12,
27295
- "alignment": "leading",
27296
- "children": [
27297
- {
27298
- "id": "himi_saved.list",
28817
+ "id": "himi_service.facts_section",
27299
28818
  "body": {
27300
28819
  "package": "himalaya",
27301
- "type": "Grid",
28820
+ "type": "VStack",
27302
28821
  "props": {
27303
- "columns": 1,
27304
- "spacing": 10,
27305
- "itemsPath": "$service:himiBlogSaved.posts",
27306
- "items": [
28822
+ "spacing": 24,
28823
+ "alignment": "leading",
28824
+ "children": [
27307
28825
  {
27308
28826
  "id": "",
27309
28827
  "body": {
27310
28828
  "package": "himalaya",
27311
- "type": "HStack",
28829
+ "type": "Divider",
28830
+ "props": {}
28831
+ }
28832
+ },
28833
+ {
28834
+ "id": "himi_service.facts",
28835
+ "body": {
28836
+ "package": "himalaya",
28837
+ "type": "VStack",
27312
28838
  "props": {
27313
- "spacing": 12,
28839
+ "spacing": 16,
28840
+ "alignment": "leading",
27314
28841
  "children": [
27315
28842
  {
27316
- "id": "",
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",
27317
29127
  "body": {
27318
29128
  "package": "himalaya",
27319
- "type": "Image",
29129
+ "type": "HStack",
27320
29130
  "props": {
27321
- "url": "$item.cover",
27322
- "width": 56,
27323
- "height": 56,
27324
- "contentMode": "fill",
27325
- "contentDescription": "$item.title"
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
+ ]
27326
29199
  }
27327
29200
  },
27328
29201
  "modifiers": {
27329
- "cornerRadius": 8,
27330
- "hiddenPath": "$item.noCover"
29202
+ "fillMaxWidth": true,
29203
+ "accessibilityLabel": "Online session",
29204
+ "hiddenPath": "$service:himiBookingService.noOnline"
27331
29205
  }
27332
29206
  },
27333
29207
  {
27334
- "id": "",
29208
+ "id": "himi_service.staff",
27335
29209
  "body": {
27336
29210
  "package": "himalaya",
27337
- "type": "ZStack",
29211
+ "type": "HStack",
27338
29212
  "props": {
29213
+ "spacing": 12,
27339
29214
  "alignment": "center",
27340
29215
  "children": [
27341
29216
  {
27342
29217
  "id": "",
27343
29218
  "body": {
27344
29219
  "package": "himalaya",
27345
- "type": "Text",
29220
+ "type": "ZStack",
27346
29221
  "props": {
27347
- "text": "$item.initial",
27348
- "style": "title2",
27349
- "color": "textOnAccent"
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
+ ]
27350
29300
  }
27351
29301
  }
29302
+ },
29303
+ {
29304
+ "id": "",
29305
+ "body": {
29306
+ "package": "himalaya",
29307
+ "type": "Spacer",
29308
+ "props": {}
29309
+ }
27352
29310
  }
27353
29311
  ]
27354
29312
  }
27355
29313
  },
27356
29314
  "modifiers": {
27357
- "width": 56,
27358
- "height": 56,
27359
- "background": {
27360
- "token": "accentSecondary"
27361
- },
27362
- "cornerRadius": 8,
27363
- "hiddenPath": "$item.hasCover"
29315
+ "fillMaxWidth": true,
29316
+ "accessibilityLabel": "$service:himiBookingService.staffText",
29317
+ "hiddenPath": "$service:himiBookingService.noStaff"
27364
29318
  }
27365
29319
  },
27366
29320
  {
27367
- "id": "",
29321
+ "id": "himi_service.pay",
27368
29322
  "body": {
27369
29323
  "package": "himalaya",
27370
- "type": "VStack",
29324
+ "type": "HStack",
27371
29325
  "props": {
27372
- "spacing": 4,
27373
- "alignment": "leading",
29326
+ "spacing": 12,
29327
+ "alignment": "center",
27374
29328
  "children": [
27375
29329
  {
27376
29330
  "id": "",
27377
29331
  "body": {
27378
29332
  "package": "himalaya",
27379
- "type": "Text",
29333
+ "type": "ZStack",
27380
29334
  "props": {
27381
- "text": "$item.title",
27382
- "style": "bodyEmphasis",
27383
- "maxLines": 2
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
+ ]
27384
29353
  }
29354
+ },
29355
+ "modifiers": {
29356
+ "width": 20,
29357
+ "height": 20
27385
29358
  }
27386
29359
  },
27387
29360
  {
27388
29361
  "id": "",
27389
29362
  "body": {
27390
29363
  "package": "himalaya",
27391
- "type": "Text",
29364
+ "type": "VStack",
27392
29365
  "props": {
27393
- "text": "$item.excerpt",
27394
- "style": "footnote",
27395
- "color": "textSecondary",
27396
- "maxLines": 2,
27397
- "collapseWhenEmpty": true
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
+ ]
27398
29396
  }
27399
29397
  }
27400
29398
  },
@@ -27402,642 +29400,291 @@ const SCREENS = runtimeSetting({
27402
29400
  "id": "",
27403
29401
  "body": {
27404
29402
  "package": "himalaya",
27405
- "type": "Text",
27406
- "props": {
27407
- "text": "$item.meta",
27408
- "style": "caption",
27409
- "color": "textTertiary",
27410
- "maxLines": 1,
27411
- "collapseWhenEmpty": true
27412
- }
29403
+ "type": "Spacer",
29404
+ "props": {}
27413
29405
  }
27414
29406
  }
27415
29407
  ]
27416
29408
  }
27417
- }
27418
- },
27419
- {
27420
- "id": "",
27421
- "body": {
27422
- "package": "himalaya",
27423
- "type": "Spacer",
27424
- "props": {}
27425
- }
27426
- },
27427
- {
27428
- "id": "himi_saved.unsave",
27429
- "body": {
27430
- "package": "himalaya",
27431
- "type": "Icon",
27432
- "props": {
27433
- "name": "bookmark",
27434
- "size": 18,
27435
- "tint": "accentPrimary"
27436
- }
27437
- },
27438
- "modifiers": {
27439
- "accessibilityRole": "button",
27440
- "padding": {
27441
- "leading": 8,
27442
- "trailing": 8,
27443
- "top": 8,
27444
- "bottom": 8
27445
- },
27446
- "onTap": {
27447
- "actionId": "tier5.himiBlogSaved.remove",
27448
- "params": {
27449
- "id": "$item.id"
27450
- }
27451
- },
27452
- "pressFeedback": "scale",
27453
- "haptic": "light",
27454
- "accessibilityLabel": "Remove from saved"
27455
- }
27456
- },
27457
- {
27458
- "id": "",
27459
- "body": {
27460
- "package": "himalaya",
27461
- "type": "Icon",
27462
- "props": {
27463
- "name": "chevron_right",
27464
- "size": 16,
27465
- "tint": "textTertiary"
27466
- }
27467
29409
  },
27468
29410
  "modifiers": {
27469
- "accessibilityRole": "decorative"
29411
+ "fillMaxWidth": true,
29412
+ "accessibilityLabel": "$service:himiBookingService.payText",
29413
+ "accessibilityValue": "$service:himiBookingService.paySub",
29414
+ "hiddenPath": "$service:himiBookingService.noPay"
27470
29415
  }
27471
29416
  }
27472
29417
  ]
27473
29418
  }
27474
- },
27475
- "modifiers": {
27476
- "background": {
27477
- "token": "surfaceElevated"
27478
- },
27479
- "border": {
27480
- "width": 1,
27481
- "color": {
27482
- "token": "border"
27483
- }
27484
- },
27485
- "cornerRadius": 8,
27486
- "padding": {
27487
- "leading": 12,
27488
- "trailing": 12,
27489
- "top": 12,
27490
- "bottom": 12
27491
- },
27492
- "onTap": {
27493
- "actionId": "himi.open",
27494
- "params": {
27495
- "screenId": "$item.detailScreenId",
27496
- "id": "$item.id"
27497
- }
27498
- },
27499
- "pressFeedback": "scale",
27500
- "haptic": "light"
27501
29419
  }
27502
29420
  }
27503
29421
  ]
27504
- }
27505
- }
27506
- }
27507
- ]
27508
- }
27509
- },
27510
- "modifiers": {
27511
- "hiddenPath": "$service:himiBlogSaved.isLoading"
27512
- }
27513
- },
27514
- {
27515
- "id": "",
27516
- "body": {
27517
- "package": "himalaya",
27518
- "type": "VStack",
27519
- "props": {
27520
- "spacing": 12,
27521
- "alignment": "center",
27522
- "children": [
27523
- {
27524
- "id": "",
27525
- "body": {
27526
- "package": "himalaya",
27527
- "type": "Icon",
27528
- "props": {
27529
- "name": "bookmark",
27530
- "size": 34,
27531
- "tint": "textTertiary"
27532
- }
27533
- },
27534
- "modifiers": {
27535
- "accessibilityRole": "decorative"
27536
- }
27537
- },
27538
- {
27539
- "id": "",
27540
- "body": {
27541
- "package": "himalaya",
27542
- "type": "Text",
27543
- "props": {
27544
- "text": "$service:himiBlogSaved.emptyText",
27545
- "style": "bodyEmphasis",
27546
- "color": "textSecondary",
27547
- "collapseWhenEmpty": true
27548
- }
27549
- }
27550
- },
27551
- {
27552
- "id": "himi_saved.empty.cta",
27553
- "body": {
27554
- "package": "himalaya",
27555
- "type": "Button",
27556
- "props": {
27557
- "title": "Browse Blog",
27558
- "style": "secondary",
27559
- "action": {
27560
- "actionId": "himi.open",
27561
- "params": {
27562
- "screenId": "himi_blog"
27563
- }
27564
- }
27565
- }
27566
- }
27567
- }
27568
- ]
27569
- }
27570
- },
27571
- "modifiers": {
27572
- "padding": {
27573
- "leading": 24,
27574
- "trailing": 24,
27575
- "top": 24,
27576
- "bottom": 24
27577
- },
27578
- "transition": {
27579
- "enter": "fade",
27580
- "exit": "fade"
27581
- },
27582
- "hiddenPath": "$service:himiBlogSaved.noEmpty"
27583
- }
27584
- }
27585
- ]
27586
- }
27587
- },
27588
- "modifiers": {
27589
- "background": {
27590
- "token": "surfacePrimary"
27591
- },
27592
- "padding": {
27593
- "leading": 16,
27594
- "trailing": 16,
27595
- "top": 18,
27596
- "bottom": 24
27597
- },
27598
- "onAppear": {
27599
- "actionId": "tier5.himiBlogSaved.refresh"
27600
- }
27601
- }
27602
- },
27603
- "logicBundle": {
27604
- "url": "http://localhost:8190/v1/bundles/himi-blog-saved",
27605
- "integrity": "",
27606
- "contentType": "application/javascript+ts-bundle",
27607
- "declaredCapabilities": [
27608
- "wix_api",
27609
- "local_database"
27610
- ],
27611
- "minBinaryVersion": "0.1.0",
27612
- "bundleVersion": "0.0.1"
27613
- }
27614
- },
27615
- }) as Record<string, unknown>;
27616
-
27617
- // The language destination stays registered for deep links and future translations. Keep its
27618
- // account entry out of a single-language app; adding a locale to config.locale.translations
27619
- // makes the same entry visible after the app config reloads.
27620
- const localeConfig = config.locale as { default?: string; translations?: readonly string[] } | undefined;
27621
- const configuredLocales = new Set([localeConfig?.default ?? "en", ...(localeConfig?.translations ?? [])]);
27622
- if (localeConfig && configuredLocales.size <= 1) {
27623
- const removeLanguageEntry = (value: unknown): unknown => {
27624
- if (Array.isArray(value)) return value.flatMap((child) => {
27625
- const next = removeLanguageEntry(child);
27626
- return next === undefined ? [] : [next];
27627
- });
27628
- if (!value || typeof value !== "object") return value;
27629
- const node = value as Record<string, unknown>;
27630
- if (node.id === "himi_account.language") return undefined;
27631
- return Object.fromEntries(Object.entries(node).map(([key, child]) => [key, removeLanguageEntry(child)]));
27632
- };
27633
- const account = SCREENS["himi_account"] as { payload?: unknown } | undefined;
27634
- if (account?.payload) account.payload = removeLanguageEntry(account.payload);
27635
- }
27636
- interface LiveSeed { path: string; body: unknown; listKey: string; prefix: string; limit?: number }
27637
- const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; staticSeedIds?: string[]; template: unknown }[] = [
27638
- { pattern: "^himi_service(?:[_/](.+))?$", display: "himi_service[_{id}]", liveSeed: {"path":"/bookings/v2/services/query","body":{"query":{"paging":{"limit":50}}},"listKey":"services","prefix":"himi_service_"}, template: {
27639
- "screenId": "himi_service___HIMI_ID__",
27640
- "renderer": "sdui_intent",
27641
- "title": "Service",
27642
- "schemaVersion": 1,
27643
- "cacheControl": {
27644
- "maxAge": 0,
27645
- "staleWhileRevalidate": 0
27646
- },
27647
- "payload": {
27648
- "id": "himi_service.root",
27649
- "body": {
27650
- "package": "himalaya",
27651
- "type": "VStack",
27652
- "props": {
27653
- "spacing": 16,
27654
- "alignment": "leading",
27655
- "children": [
27656
- {
27657
- "id": "himi_service.retry.block",
27658
- "body": {
27659
- "package": "himalaya",
27660
- "type": "VStack",
27661
- "props": {
27662
- "spacing": 12,
27663
- "alignment": "leading",
27664
- "children": [
29422
+ }
29423
+ },
29424
+ "modifiers": {
29425
+ "hiddenPath": "$service:himiBookingService.noFacts"
29426
+ }
29427
+ },
27665
29428
  {
27666
- "id": "",
29429
+ "id": "himi_service.about_section",
27667
29430
  "body": {
27668
29431
  "package": "himalaya",
27669
- "type": "HStack",
29432
+ "type": "VStack",
27670
29433
  "props": {
27671
- "spacing": 10,
29434
+ "spacing": 24,
29435
+ "alignment": "leading",
27672
29436
  "children": [
27673
29437
  {
27674
29438
  "id": "",
27675
29439
  "body": {
27676
29440
  "package": "himalaya",
27677
- "type": "Icon",
27678
- "props": {
27679
- "name": "warning",
27680
- "size": 18,
27681
- "tint": "accentPrimary"
27682
- }
27683
- },
27684
- "modifiers": {
27685
- "accessibilityRole": "decorative"
29441
+ "type": "Divider",
29442
+ "props": {}
27686
29443
  }
27687
29444
  },
27688
29445
  {
27689
29446
  "id": "",
27690
29447
  "body": {
27691
29448
  "package": "himalaya",
27692
- "type": "Text",
29449
+ "type": "VStack",
27693
29450
  "props": {
27694
- "text": "Something did not load.",
27695
- "style": "bodyEmphasis"
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
+ ]
27696
29479
  }
27697
29480
  }
27698
29481
  }
27699
29482
  ]
27700
29483
  }
27701
- }
27702
- },
27703
- {
27704
- "id": "",
27705
- "body": {
27706
- "package": "himalaya",
27707
- "type": "Text",
27708
- "props": {
27709
- "text": "Try again when the connection settles.",
27710
- "style": "body",
27711
- "color": "textSecondary"
27712
- }
27713
- }
27714
- },
27715
- {
27716
- "id": "himi_service.retry",
27717
- "body": {
27718
- "package": "himalaya",
27719
- "type": "Button",
27720
- "props": {
27721
- "title": "Try again",
27722
- "style": "secondary",
27723
- "action": {
27724
- "actionId": "tier5.himiBookingService.load"
27725
- }
27726
- }
27727
- }
27728
- }
27729
- ]
27730
- }
27731
- },
27732
- "modifiers": {
27733
- "background": {
27734
- "token": "surfaceElevated"
27735
- },
27736
- "border": {
27737
- "width": 1,
27738
- "color": {
27739
- "token": "border"
27740
- }
27741
- },
27742
- "cornerRadius": 8,
27743
- "padding": {
27744
- "leading": 14,
27745
- "trailing": 14,
27746
- "top": 14,
27747
- "bottom": 14
27748
- },
27749
- "transition": {
27750
- "enter": "fade",
27751
- "exit": "fade"
27752
- },
27753
- "hiddenPath": "$service:himiBookingService.notErrored"
27754
- }
27755
- },
27756
- {
27757
- "id": "",
27758
- "body": {
27759
- "package": "himalaya",
27760
- "type": "VStack",
27761
- "props": {
27762
- "spacing": 12,
27763
- "children": [
27764
- {
27765
- "id": "himi_service.skeleton_media",
27766
- "body": {
27767
- "package": "himalaya",
27768
- "type": "Skeleton",
27769
- "props": {
27770
- "height": 180,
27771
- "cornerRadius": 8
27772
- }
27773
- },
27774
- "modifiers": {
27775
- "height": 180,
27776
- "background": {
27777
- "token": "surfaceSecondary"
27778
- },
27779
- "cornerRadius": 8,
27780
- "accessibilityRole": "decorative"
27781
- }
27782
- },
27783
- {
27784
- "id": "himi_service.skeleton_title",
27785
- "body": {
27786
- "package": "himalaya",
27787
- "type": "Skeleton",
27788
- "props": {
27789
- "height": 24,
27790
- "cornerRadius": 8
27791
- }
27792
29484
  },
27793
29485
  "modifiers": {
27794
- "height": 24,
27795
- "background": {
27796
- "token": "surfaceSecondary"
27797
- },
27798
- "cornerRadius": 8,
27799
- "accessibilityRole": "decorative"
29486
+ "hiddenPath": "$service:himiBookingService.noAbout"
27800
29487
  }
27801
29488
  },
27802
29489
  {
27803
- "id": "himi_service.skeleton_body",
27804
- "body": {
27805
- "package": "himalaya",
27806
- "type": "Skeleton",
27807
- "props": {
27808
- "height": 80,
27809
- "cornerRadius": 8
27810
- }
27811
- },
27812
- "modifiers": {
27813
- "height": 80,
27814
- "background": {
27815
- "token": "surfaceSecondary"
27816
- },
27817
- "cornerRadius": 8,
27818
- "accessibilityRole": "decorative"
27819
- }
27820
- }
27821
- ]
27822
- }
27823
- },
27824
- "modifiers": {
27825
- "hiddenPath": "$service:himiBookingService.notLoading"
27826
- }
27827
- },
27828
- {
27829
- "id": "",
27830
- "body": {
27831
- "package": "himalaya",
27832
- "type": "VStack",
27833
- "props": {
27834
- "spacing": 16,
27835
- "alignment": "leading",
27836
- "children": [
27837
- {
27838
- "id": "himi_service.summary",
29490
+ "id": "himi_service.policy_section",
27839
29491
  "body": {
27840
29492
  "package": "himalaya",
27841
29493
  "type": "VStack",
27842
29494
  "props": {
27843
- "spacing": 12,
29495
+ "spacing": 24,
27844
29496
  "alignment": "leading",
27845
29497
  "children": [
27846
29498
  {
27847
29499
  "id": "",
27848
29500
  "body": {
27849
29501
  "package": "himalaya",
27850
- "type": "Image",
27851
- "props": {
27852
- "url": "$service:himiBookingService.image",
27853
- "fillWidth": true,
27854
- "height": 210,
27855
- "contentMode": "fill",
27856
- "contentDescription": "$service:himiBookingService.name"
27857
- }
27858
- },
27859
- "modifiers": {
27860
- "cornerRadius": 8,
27861
- "fillMaxWidth": true,
27862
- "hiddenPath": "$service:himiBookingService.noImage"
29502
+ "type": "Divider",
29503
+ "props": {}
27863
29504
  }
27864
29505
  },
27865
29506
  {
27866
- "id": "",
29507
+ "id": "himi_service.policy",
27867
29508
  "body": {
27868
29509
  "package": "himalaya",
27869
- "type": "ZStack",
29510
+ "type": "VStack",
27870
29511
  "props": {
27871
- "alignment": "center",
29512
+ "spacing": 0,
29513
+ "alignment": "leading",
27872
29514
  "children": [
27873
29515
  {
27874
- "id": "",
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",
27875
29595
  "body": {
27876
29596
  "package": "himalaya",
27877
- "type": "Text",
29597
+ "type": "LazyList",
27878
29598
  "props": {
27879
- "text": "$service:himiBookingService.initial",
27880
- "style": "display",
27881
- "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
+ ]
27882
29646
  }
29647
+ },
29648
+ "modifiers": {
29649
+ "padding": {
29650
+ "top": 16
29651
+ },
29652
+ "hiddenPath": "$service:himiBookingService.policyCollapsed"
27883
29653
  }
27884
29654
  }
27885
29655
  ]
27886
29656
  }
27887
- },
27888
- "modifiers": {
27889
- "fillMaxWidth": true,
27890
- "height": 160,
27891
- "background": {
27892
- "token": "accentPrimary"
27893
- },
27894
- "cornerRadius": 8,
27895
- "hiddenPath": "$service:himiBookingService.hasImage"
27896
- }
27897
- },
27898
- {
27899
- "id": "",
27900
- "body": {
27901
- "package": "himalaya",
27902
- "type": "Text",
27903
- "props": {
27904
- "text": "$service:himiBookingService.name",
27905
- "style": "title2",
27906
- "maxLines": 2,
27907
- "collapseWhenEmpty": true
27908
- }
27909
- }
27910
- },
27911
- {
27912
- "id": "",
27913
- "body": {
27914
- "package": "himalaya",
27915
- "type": "Divider",
27916
- "props": {}
27917
- }
27918
- },
27919
- {
27920
- "id": "himi_service.price",
27921
- "body": {
27922
- "package": "himalaya",
27923
- "type": "LabeledContent",
27924
- "props": {
27925
- "label": "Price",
27926
- "value": "$service:himiBookingService.price"
27927
- }
27928
- },
27929
- "modifiers": {
27930
- "hiddenPath": "$service:himiBookingService.noPrice"
27931
- }
27932
- },
27933
- {
27934
- "id": "himi_service.duration",
27935
- "body": {
27936
- "package": "himalaya",
27937
- "type": "LabeledContent",
27938
- "props": {
27939
- "label": "Duration",
27940
- "value": "$service:himiBookingService.duration"
27941
- }
27942
- },
27943
- "modifiers": {
27944
- "hiddenPath": "$service:himiBookingService.noDuration"
27945
- }
27946
- },
27947
- {
27948
- "id": "himi_service.category",
27949
- "body": {
27950
- "package": "himalaya",
27951
- "type": "LabeledContent",
27952
- "props": {
27953
- "label": "Category",
27954
- "value": "$service:himiBookingService.category"
27955
- }
27956
- },
27957
- "modifiers": {
27958
- "hiddenPath": "$service:himiBookingService.noCategory"
27959
- }
27960
- },
27961
- {
27962
- "id": "",
27963
- "body": {
27964
- "package": "himalaya",
27965
- "type": "Text",
27966
- "props": {
27967
- "text": "$service:himiBookingService.description",
27968
- "style": "body",
27969
- "color": "textSecondary",
27970
- "collapseWhenEmpty": true
27971
- }
27972
29657
  }
27973
29658
  }
27974
29659
  ]
27975
29660
  }
27976
29661
  },
27977
29662
  "modifiers": {
27978
- "background": {
27979
- "token": "surfaceElevated"
27980
- },
27981
- "border": {
27982
- "width": 1,
27983
- "color": {
27984
- "token": "border"
27985
- }
27986
- },
27987
- "cornerRadius": 8,
27988
- "padding": {
27989
- "leading": 14,
27990
- "trailing": 14,
27991
- "top": 14,
27992
- "bottom": 14
27993
- }
29663
+ "hiddenPath": "$service:himiBookingService.noPolicy"
27994
29664
  }
27995
29665
  },
27996
29666
  {
27997
- "id": "himi_service.choose_time",
29667
+ "id": "himi_service.not_bookable",
27998
29668
  "body": {
27999
29669
  "package": "himalaya",
28000
- "type": "Button",
29670
+ "type": "Banner",
28001
29671
  "props": {
28002
- "title": "Choose a time",
28003
- "style": "primary",
28004
- "fullWidth": true,
28005
- "action": {
28006
- "actionId": "himi.open",
28007
- "params": {
28008
- "screenId": "himi_time",
28009
- "id": "$service:himiBookingService.id"
28010
- }
28011
- }
29672
+ "severity": "info",
29673
+ "title": "This service isn't available for online booking. Contact us to book it."
28012
29674
  }
28013
29675
  },
28014
29676
  "modifiers": {
28015
- "cornerRadius": 8,
28016
- "pressFeedback": "scale",
28017
- "haptic": "medium"
28018
- }
28019
- },
28020
- {
28021
- "id": "himi_service.share",
28022
- "body": {
28023
- "package": "himalaya",
28024
- "type": "Button",
28025
- "props": {
28026
- "title": "Share",
28027
- "style": "secondary",
28028
- "fullWidth": true,
28029
- "leadingIcon": "share",
28030
- "action": {
28031
- "actionId": "tier5.himiBookingService.share"
28032
- }
28033
- }
29677
+ "hiddenPath": "$service:himiBookingService.bookableOnline"
28034
29678
  }
28035
29679
  }
28036
29680
  ]
28037
29681
  }
28038
29682
  },
28039
29683
  "modifiers": {
28040
- "hiddenPath": "$service:himiBookingService.isLoading"
29684
+ "hiddenPath": "$service:himiBookingService.hideContent",
29685
+ "padding": {
29686
+ "top": 20
29687
+ }
28041
29688
  }
28042
29689
  },
28043
29690
  {
@@ -28119,9 +29766,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28119
29766
  "token": "surfacePrimary"
28120
29767
  },
28121
29768
  "padding": {
28122
- "leading": 16,
28123
- "trailing": 16,
28124
- "top": 18,
29769
+ "leading": 20,
29770
+ "trailing": 20,
29771
+ "top": 0,
28125
29772
  "bottom": 24
28126
29773
  },
28127
29774
  "onAppear": {
@@ -28136,13 +29783,119 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28136
29783
  "declaredCapabilities": [
28137
29784
  "wix_api",
28138
29785
  "share",
28139
- "local_database"
29786
+ "local_database",
29787
+ "open_url"
28140
29788
  ],
28141
29789
  "minBinaryVersion": "0.1.0",
28142
29790
  "bundleVersion": "0.0.1"
28143
29791
  },
28144
29792
  "input": {
28145
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
+ }
28146
29899
  }
28147
29900
  } },
28148
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: {