@wix/himalaya-cli 0.1582.0 → 0.1584.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 (336) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +8 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/blog-v3/src/extensions.d.ts +2 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +2 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/index.d.ts +3 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/groups/src/extensions.d.ts +15 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/loyalty/src/extensions.d.ts +13 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +19 -4
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -1
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +5 -1
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +3 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +4 -2
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-groups.mjs +5 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-loyalty.mjs +4 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +10 -3
  17. package/dist/cli.mjs +1098 -702
  18. package/dist/preview-assets.generated.bin +0 -0
  19. package/fixtures/wix-canned.json +25 -0
  20. package/guides/component-reference.json +4 -3
  21. package/guides/component-reference.md +24 -2
  22. package/guides/one-app-to-himi-app.md +52 -1
  23. package/guides/sdk-reference.json +37 -9
  24. package/guides/wix-api-usage.md +9 -0
  25. package/package.json +2 -2
  26. package/templates/beauty-salon/config.ts +27 -1
  27. package/templates/beauty-salon/dev/index.ts +2285 -757
  28. package/templates/beauty-salon/himalaya.content.json +3 -0
  29. package/templates/beauty-salon/tier5-src/_shared/booking-location.ts +147 -0
  30. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +222 -0
  31. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  32. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +19 -3
  33. package/templates/beauty-salon/tier5-src/_shared/himi-restaurants.ts +2 -1
  34. package/templates/beauty-salon/tier5-src/_shared/owner-editor-value.ts +164 -0
  35. package/templates/beauty-salon/tier5-src/_shared/store-product-info.ts +50 -0
  36. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +21 -8
  37. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +277 -14
  38. package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +351 -92
  39. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -5
  40. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  41. package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +3 -2
  42. package/templates/beauty-salon/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  43. package/templates/beauty-salon/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  44. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +14 -3
  45. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  46. package/templates/beauty-salon/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  47. package/templates/beauty-salon-owner/dev/index.ts +129 -66
  48. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +19 -3
  49. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  50. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  51. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  52. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  53. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  54. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  55. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  56. package/templates/branded-lite/config.ts +29 -1
  57. package/templates/branded-lite/dev/index.ts +8371 -5565
  58. package/templates/branded-lite/himalaya.content.json +3 -0
  59. package/templates/branded-lite/l10n/en.json +2 -2
  60. package/templates/branded-lite/tier5-src/_shared/booking-location.ts +147 -0
  61. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +222 -0
  62. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  63. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +19 -3
  64. package/templates/branded-lite/tier5-src/_shared/event-registration.ts +86 -0
  65. package/templates/branded-lite/tier5-src/_shared/himi-restaurants.ts +2 -1
  66. package/templates/branded-lite/tier5-src/_shared/owner-editor-value.ts +164 -0
  67. package/templates/branded-lite/tier5-src/_shared/store-product-info.ts +50 -0
  68. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +21 -8
  69. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +277 -14
  70. package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +351 -92
  71. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -5
  72. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  73. package/templates/branded-lite/tier5-src/himi-branded-lite-badges/index.ts +2 -1
  74. package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +3 -2
  75. package/templates/branded-lite/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  76. package/templates/branded-lite/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  77. package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/index.ts +115 -49
  78. package/templates/branded-lite/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  79. package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +2 -1
  80. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio/index.ts +2 -1
  81. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -2
  82. package/templates/branded-lite/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  83. package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +21 -11
  84. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +2 -1
  85. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +12 -86
  86. package/templates/branded-lite/tier5-src/himi-events-list/index.ts +47 -6
  87. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +13 -3
  88. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +3 -2
  89. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +53 -37
  90. package/templates/branded-lite/tier5-src/wix-spaces-members/index.ts +100 -34
  91. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  92. package/templates/branded-lite/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  93. package/templates/community-club/config.ts +36 -1
  94. package/templates/community-club/dev/index.ts +1930 -401
  95. package/templates/community-club/himalaya.content.json +6 -0
  96. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  97. package/templates/community-club/tier5-src/_shared/collection-contract.ts +19 -3
  98. package/templates/community-club/tier5-src/_shared/event-registration.ts +86 -0
  99. package/templates/community-club/tier5-src/_shared/himi-restaurants.ts +2 -1
  100. package/templates/community-club/tier5-src/himi-blog-post/index.ts +21 -8
  101. package/templates/community-club/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  102. package/templates/community-club/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  103. package/templates/community-club/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  104. package/templates/community-club/tier5-src/himi-events-detail/index.ts +12 -86
  105. package/templates/community-club/tier5-src/himi-events-list/index.ts +47 -6
  106. package/templates/community-club/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  107. package/templates/community-club-owner/dev/index.ts +53 -1
  108. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +19 -3
  109. package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  110. package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  111. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  112. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  113. package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  114. package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  115. package/templates/community-club-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  116. package/templates/events-meetups/config.ts +36 -1
  117. package/templates/events-meetups/dev/index.ts +1930 -401
  118. package/templates/events-meetups/himalaya.content.json +6 -0
  119. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  120. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +19 -3
  121. package/templates/events-meetups/tier5-src/_shared/event-registration.ts +86 -0
  122. package/templates/events-meetups/tier5-src/_shared/himi-restaurants.ts +2 -1
  123. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +21 -8
  124. package/templates/events-meetups/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  125. package/templates/events-meetups/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  126. package/templates/events-meetups/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  127. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +12 -86
  128. package/templates/events-meetups/tier5-src/himi-events-list/index.ts +47 -6
  129. package/templates/events-meetups/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  130. package/templates/events-meetups-owner/dev/index.ts +6 -0
  131. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +19 -3
  132. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  133. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  134. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  135. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  136. package/templates/gym-fitness/config.ts +27 -1
  137. package/templates/gym-fitness/dev/index.ts +2803 -844
  138. package/templates/gym-fitness/himalaya.content.json +3 -0
  139. package/templates/gym-fitness/tier5-src/_shared/booking-location.ts +147 -0
  140. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +222 -0
  141. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  142. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +19 -3
  143. package/templates/gym-fitness/tier5-src/_shared/event-registration.ts +86 -0
  144. package/templates/gym-fitness/tier5-src/_shared/himi-restaurants.ts +2 -1
  145. package/templates/gym-fitness/tier5-src/_shared/owner-editor-value.ts +164 -0
  146. package/templates/gym-fitness/tier5-src/_shared/store-product-info.ts +50 -0
  147. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +21 -8
  148. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +277 -14
  149. package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +351 -92
  150. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -5
  151. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  152. package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +3 -2
  153. package/templates/gym-fitness/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  154. package/templates/gym-fitness/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  155. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +12 -86
  156. package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +47 -6
  157. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +14 -3
  158. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  159. package/templates/gym-fitness/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  160. package/templates/gym-fitness-owner/dev/index.ts +132 -66
  161. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +19 -3
  162. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  163. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  164. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  165. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  166. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  167. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  168. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  169. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  170. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  171. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  172. package/templates/nonprofit-cause/config.ts +36 -1
  173. package/templates/nonprofit-cause/dev/index.ts +1925 -396
  174. package/templates/nonprofit-cause/himalaya.content.json +6 -0
  175. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  176. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +19 -3
  177. package/templates/nonprofit-cause/tier5-src/_shared/event-registration.ts +86 -0
  178. package/templates/nonprofit-cause/tier5-src/_shared/himi-restaurants.ts +2 -1
  179. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +21 -8
  180. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  181. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  182. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  183. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  184. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +12 -86
  185. package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +47 -6
  186. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  187. package/templates/nonprofit-cause/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  188. package/templates/nonprofit-cause-owner/dev/index.ts +85 -65
  189. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +19 -3
  190. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-rich-guard.ts +27 -0
  191. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  192. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  193. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  194. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  195. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  196. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  197. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  198. package/templates/owner-lite/dev/index.ts +132 -66
  199. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +19 -3
  200. package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +16 -8
  201. package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  202. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +4 -2
  203. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +7 -0
  204. package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +39 -6
  205. package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  206. package/templates/owner-lite/tier5-src/himi-owner-lite-products/index.ts +7 -4
  207. package/templates/owner-lite/tier5-src/himi-owner-lite-service/index.ts +38 -7
  208. package/templates/owner-lite/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  209. package/templates/owner-lite/tier5-src/himi-owner-lite-services/index.ts +4 -2
  210. package/templates/podcast-creator/config.ts +27 -1
  211. package/templates/podcast-creator/dev/index.ts +1051 -158
  212. package/templates/podcast-creator/himalaya.content.json +3 -0
  213. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  214. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +19 -3
  215. package/templates/podcast-creator/tier5-src/_shared/event-registration.ts +86 -0
  216. package/templates/podcast-creator/tier5-src/_shared/himi-restaurants.ts +2 -1
  217. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +21 -8
  218. package/templates/podcast-creator/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  219. package/templates/podcast-creator/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  220. package/templates/podcast-creator/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  221. package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +2 -1
  222. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +12 -86
  223. package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +47 -6
  224. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  225. package/templates/podcast-creator/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  226. package/templates/podcast-creator-owner/dev/index.ts +53 -1
  227. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +19 -3
  228. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  229. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  230. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  231. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  232. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  233. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  234. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  235. package/templates/portfolio-creative/config.ts +27 -1
  236. package/templates/portfolio-creative/dev/index.ts +1305 -468
  237. package/templates/portfolio-creative/himalaya.content.json +3 -0
  238. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  239. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +19 -3
  240. package/templates/portfolio-creative/tier5-src/_shared/event-registration.ts +86 -0
  241. package/templates/portfolio-creative/tier5-src/_shared/himi-restaurants.ts +2 -1
  242. package/templates/portfolio-creative/tier5-src/_shared/owner-editor-value.ts +164 -0
  243. package/templates/portfolio-creative/tier5-src/_shared/store-product-info.ts +50 -0
  244. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +21 -8
  245. package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +3 -2
  246. package/templates/portfolio-creative/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  247. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio/index.ts +2 -1
  248. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -2
  249. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +12 -86
  250. package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +47 -6
  251. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +14 -3
  252. package/templates/portfolio-creative/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  253. package/templates/portfolio-creative-owner/dev/index.ts +129 -66
  254. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +19 -3
  255. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  256. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  257. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  258. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  259. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  260. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  261. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  262. package/templates/restaurant/config.ts +27 -1
  263. package/templates/restaurant/dev/index.ts +1051 -158
  264. package/templates/restaurant/himalaya.content.json +3 -0
  265. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  266. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +19 -3
  267. package/templates/restaurant/tier5-src/_shared/event-registration.ts +86 -0
  268. package/templates/restaurant/tier5-src/_shared/himi-restaurants.ts +2 -1
  269. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +21 -8
  270. package/templates/restaurant/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  271. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +12 -86
  272. package/templates/restaurant/tier5-src/himi-events-list/index.ts +47 -6
  273. package/templates/restaurant/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  274. package/templates/restaurant-owner/dev/index.ts +132 -66
  275. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +19 -3
  276. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  277. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  278. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  279. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  280. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  281. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  282. package/templates/restaurant-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  283. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  284. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  285. package/templates/restaurant-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  286. package/templates/retail-store/config.ts +27 -1
  287. package/templates/retail-store/dev/index.ts +597 -191
  288. package/templates/retail-store/himalaya.content.json +3 -0
  289. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  290. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +19 -3
  291. package/templates/retail-store/tier5-src/_shared/himi-restaurants.ts +2 -1
  292. package/templates/retail-store/tier5-src/_shared/owner-editor-value.ts +164 -0
  293. package/templates/retail-store/tier5-src/_shared/store-product-info.ts +50 -0
  294. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +21 -8
  295. package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +3 -2
  296. package/templates/retail-store/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  297. package/templates/retail-store/tier5-src/himi-store-product/index.ts +13 -3
  298. package/templates/retail-store/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  299. package/templates/retail-store-owner/dev/index.ts +50 -1
  300. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +19 -3
  301. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  302. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  303. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  304. package/templates/retail-store-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  305. package/templates/yoga-studio/config.ts +27 -1
  306. package/templates/yoga-studio/dev/index.ts +2996 -877
  307. package/templates/yoga-studio/himalaya.content.json +3 -0
  308. package/templates/yoga-studio/tier5-src/_shared/booking-location.ts +147 -0
  309. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +222 -0
  310. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  311. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +19 -3
  312. package/templates/yoga-studio/tier5-src/_shared/event-registration.ts +86 -0
  313. package/templates/yoga-studio/tier5-src/_shared/himi-restaurants.ts +2 -1
  314. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +21 -8
  315. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +277 -14
  316. package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +351 -92
  317. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -5
  318. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  319. package/templates/yoga-studio/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  320. package/templates/yoga-studio/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  321. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  322. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +21 -11
  323. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +12 -86
  324. package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +47 -6
  325. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  326. package/templates/yoga-studio/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  327. package/templates/yoga-studio-owner/dev/index.ts +85 -65
  328. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +19 -3
  329. package/templates/yoga-studio-owner/tier5-src/_shared/owner-rich-guard.ts +27 -0
  330. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  331. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  332. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  333. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  334. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  335. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  336. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
@@ -3983,7 +3983,7 @@ const SCREENS = runtimeSetting({
3983
3983
  "package": "himalaya",
3984
3984
  "type": "Text",
3985
3985
  "props": {
3986
- "text": "Settings",
3986
+ "text": "Appearance",
3987
3987
  "style": "body",
3988
3988
  "maxLines": 1
3989
3989
  }
@@ -4015,7 +4015,88 @@ const SCREENS = runtimeSetting({
4015
4015
  "pressFeedback": "highlight",
4016
4016
  "haptic": "light",
4017
4017
  "accessibilityRole": "button",
4018
- "accessibilityLabel": "Settings"
4018
+ "accessibilityLabel": "Appearance"
4019
+ }
4020
+ },
4021
+ {
4022
+ "id": "himi_account.notification_settings",
4023
+ "body": {
4024
+ "package": "himalaya",
4025
+ "type": "HStack",
4026
+ "props": {
4027
+ "spacing": 12,
4028
+ "alignment": "center",
4029
+ "children": [
4030
+ {
4031
+ "id": "",
4032
+ "body": {
4033
+ "package": "himalaya",
4034
+ "type": "ZStack",
4035
+ "props": {
4036
+ "alignment": "center",
4037
+ "children": [
4038
+ {
4039
+ "id": "",
4040
+ "body": {
4041
+ "package": "himalaya",
4042
+ "type": "Icon",
4043
+ "props": {
4044
+ "name": "bell",
4045
+ "size": 20,
4046
+ "tint": "textPrimary"
4047
+ }
4048
+ },
4049
+ "modifiers": {
4050
+ "accessibilityRole": "decorative"
4051
+ }
4052
+ }
4053
+ ]
4054
+ }
4055
+ },
4056
+ "modifiers": {
4057
+ "width": 24,
4058
+ "height": 24
4059
+ }
4060
+ },
4061
+ {
4062
+ "id": "",
4063
+ "body": {
4064
+ "package": "himalaya",
4065
+ "type": "Text",
4066
+ "props": {
4067
+ "text": "Notification Settings",
4068
+ "style": "body",
4069
+ "maxLines": 1
4070
+ }
4071
+ }
4072
+ },
4073
+ {
4074
+ "id": "",
4075
+ "body": {
4076
+ "package": "himalaya",
4077
+ "type": "Spacer",
4078
+ "props": {}
4079
+ }
4080
+ }
4081
+ ]
4082
+ }
4083
+ },
4084
+ "modifiers": {
4085
+ "fillMaxWidth": true,
4086
+ "padding": {
4087
+ "top": 12,
4088
+ "bottom": 12
4089
+ },
4090
+ "onTap": {
4091
+ "actionId": "himi.open",
4092
+ "params": {
4093
+ "screenId": "himi_notif_settings"
4094
+ }
4095
+ },
4096
+ "pressFeedback": "highlight",
4097
+ "haptic": "light",
4098
+ "accessibilityRole": "button",
4099
+ "accessibilityLabel": "Notification Settings"
4019
4100
  }
4020
4101
  },
4021
4102
  {
@@ -7276,6 +7357,387 @@ const SCREENS = runtimeSetting({
7276
7357
  "bundleVersion": "0.0.1"
7277
7358
  }
7278
7359
  },
7360
+ "himi_notif_settings": {
7361
+ "screenId": "himi_notif_settings",
7362
+ "renderer": "sdui_intent",
7363
+ "title": "",
7364
+ "schemaVersion": 1,
7365
+ "cacheControl": {
7366
+ "maxAge": 0,
7367
+ "staleWhileRevalidate": 0
7368
+ },
7369
+ "payload": {
7370
+ "id": "himi_notif_settings.root",
7371
+ "body": {
7372
+ "package": "himalaya",
7373
+ "type": "VStack",
7374
+ "props": {
7375
+ "spacing": 16,
7376
+ "alignment": "leading",
7377
+ "children": [
7378
+ {
7379
+ "id": "himi_notif_settings.title",
7380
+ "body": {
7381
+ "package": "himalaya",
7382
+ "type": "Text",
7383
+ "props": {
7384
+ "text": "Notification Settings",
7385
+ "style": "title1"
7386
+ }
7387
+ }
7388
+ },
7389
+ {
7390
+ "id": "",
7391
+ "body": {
7392
+ "package": "himalaya",
7393
+ "type": "Text",
7394
+ "props": {
7395
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
7396
+ "style": "body",
7397
+ "color": "textSecondary"
7398
+ }
7399
+ },
7400
+ "modifiers": {
7401
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
7402
+ }
7403
+ },
7404
+ {
7405
+ "id": "",
7406
+ "body": {
7407
+ "package": "himalaya",
7408
+ "type": "Text",
7409
+ "props": {
7410
+ "text": "Example topics — your notification preferences will appear here.",
7411
+ "style": "body",
7412
+ "color": "textSecondary"
7413
+ }
7414
+ },
7415
+ "modifiers": {
7416
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
7417
+ }
7418
+ },
7419
+ {
7420
+ "id": "himi_notif_settings.sample_banner",
7421
+ "body": {
7422
+ "package": "himalaya",
7423
+ "type": "Banner",
7424
+ "props": {
7425
+ "severity": "warning",
7426
+ "title": "Sample content",
7427
+ "message": "These are example settings — none are configured yet."
7428
+ }
7429
+ },
7430
+ "modifiers": {
7431
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
7432
+ }
7433
+ },
7434
+ {
7435
+ "id": "himi_notif_settings.unavailable_banner",
7436
+ "body": {
7437
+ "package": "himalaya",
7438
+ "type": "Banner",
7439
+ "props": {
7440
+ "severity": "warning",
7441
+ "title": "Sample content",
7442
+ "message": "Your notification settings couldn't be loaded."
7443
+ }
7444
+ },
7445
+ "modifiers": {
7446
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
7447
+ }
7448
+ },
7449
+ {
7450
+ "id": "himi_notif_settings.action_message",
7451
+ "body": {
7452
+ "package": "himalaya",
7453
+ "type": "Text",
7454
+ "props": {
7455
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
7456
+ "style": "body",
7457
+ "color": "textSecondary",
7458
+ "collapseWhenEmpty": true
7459
+ }
7460
+ }
7461
+ },
7462
+ {
7463
+ "id": "himi_notif_settings.loading",
7464
+ "body": {
7465
+ "package": "himalaya",
7466
+ "type": "Skeleton",
7467
+ "props": {
7468
+ "height": 72,
7469
+ "cornerRadius": 12,
7470
+ "count": 3
7471
+ }
7472
+ },
7473
+ "modifiers": {
7474
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
7475
+ }
7476
+ },
7477
+ {
7478
+ "id": "himi_notif_settings.error",
7479
+ "body": {
7480
+ "package": "himalaya",
7481
+ "type": "VStack",
7482
+ "props": {
7483
+ "spacing": 8,
7484
+ "alignment": "leading",
7485
+ "children": [
7486
+ {
7487
+ "id": "",
7488
+ "body": {
7489
+ "package": "himalaya",
7490
+ "type": "Text",
7491
+ "props": {
7492
+ "text": "$service:himiBrandedNotifSettings.error",
7493
+ "style": "bodyEmphasis",
7494
+ "collapseWhenEmpty": true
7495
+ }
7496
+ }
7497
+ },
7498
+ {
7499
+ "id": "himi_notif_settings.retry",
7500
+ "body": {
7501
+ "package": "himalaya",
7502
+ "type": "Button",
7503
+ "props": {
7504
+ "title": "Try again",
7505
+ "style": "secondary",
7506
+ "action": {
7507
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7508
+ }
7509
+ }
7510
+ },
7511
+ "modifiers": {
7512
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
7513
+ }
7514
+ },
7515
+ {
7516
+ "id": "himi_notif_settings.sign_in",
7517
+ "body": {
7518
+ "package": "himalaya",
7519
+ "type": "Button",
7520
+ "props": {
7521
+ "title": "Sign in",
7522
+ "style": "primary",
7523
+ "leadingIcon": "person",
7524
+ "action": {
7525
+ "actionId": "himi.open",
7526
+ "params": {
7527
+ "screenId": "himi_sign_in",
7528
+ "returnScreenId": "himi_notif_settings",
7529
+ "modal": "1"
7530
+ },
7531
+ "presentation": "sheet"
7532
+ }
7533
+ }
7534
+ },
7535
+ "modifiers": {
7536
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
7537
+ }
7538
+ }
7539
+ ]
7540
+ }
7541
+ },
7542
+ "modifiers": {
7543
+ "background": {
7544
+ "token": "surfaceElevated"
7545
+ },
7546
+ "border": {
7547
+ "width": 1,
7548
+ "color": {
7549
+ "token": "border"
7550
+ }
7551
+ },
7552
+ "cornerRadius": 4,
7553
+ "padding": {
7554
+ "leading": 16,
7555
+ "trailing": 16,
7556
+ "top": 16,
7557
+ "bottom": 16
7558
+ },
7559
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
7560
+ }
7561
+ },
7562
+ {
7563
+ "id": "himi_notif_settings.rows",
7564
+ "body": {
7565
+ "package": "himalaya",
7566
+ "type": "Grid",
7567
+ "props": {
7568
+ "columns": 1,
7569
+ "spacing": 10,
7570
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
7571
+ "items": [
7572
+ {
7573
+ "id": "",
7574
+ "body": {
7575
+ "package": "himalaya",
7576
+ "type": "VStack",
7577
+ "props": {
7578
+ "spacing": 2,
7579
+ "alignment": "leading",
7580
+ "children": [
7581
+ {
7582
+ "id": "himi_notif_settings.topic.$item.id",
7583
+ "body": {
7584
+ "package": "himalaya",
7585
+ "type": "Toggle",
7586
+ "props": {
7587
+ "label": "$item.name",
7588
+ "valuePath": "$item.on",
7589
+ "onChange": {
7590
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
7591
+ "params": {
7592
+ "id": "$item.id"
7593
+ }
7594
+ }
7595
+ }
7596
+ },
7597
+ "modifiers": {
7598
+ "hiddenPath": "$item.locked"
7599
+ }
7600
+ },
7601
+ {
7602
+ "id": "himi_notif_settings.locked_topic.$item.id",
7603
+ "body": {
7604
+ "package": "himalaya",
7605
+ "type": "HStack",
7606
+ "props": {
7607
+ "spacing": 12,
7608
+ "children": [
7609
+ {
7610
+ "id": "",
7611
+ "body": {
7612
+ "package": "himalaya",
7613
+ "type": "Text",
7614
+ "props": {
7615
+ "text": "$item.name",
7616
+ "style": "body",
7617
+ "maxLines": 2
7618
+ }
7619
+ }
7620
+ },
7621
+ {
7622
+ "id": "",
7623
+ "body": {
7624
+ "package": "himalaya",
7625
+ "type": "Spacer",
7626
+ "props": {}
7627
+ }
7628
+ },
7629
+ {
7630
+ "id": "",
7631
+ "body": {
7632
+ "package": "himalaya",
7633
+ "type": "Text",
7634
+ "props": {
7635
+ "text": "$item.stateLabel",
7636
+ "style": "footnote",
7637
+ "color": "textSecondary",
7638
+ "maxLines": 1
7639
+ }
7640
+ }
7641
+ }
7642
+ ]
7643
+ }
7644
+ },
7645
+ "modifiers": {
7646
+ "hiddenPath": "$item.notLocked"
7647
+ }
7648
+ },
7649
+ {
7650
+ "id": "",
7651
+ "body": {
7652
+ "package": "himalaya",
7653
+ "type": "Text",
7654
+ "props": {
7655
+ "text": "$item.note",
7656
+ "style": "footnote",
7657
+ "color": "textSecondary",
7658
+ "collapseWhenEmpty": true
7659
+ }
7660
+ }
7661
+ }
7662
+ ]
7663
+ }
7664
+ },
7665
+ "modifiers": {
7666
+ "background": {
7667
+ "token": "surfaceElevated"
7668
+ },
7669
+ "border": {
7670
+ "width": 1,
7671
+ "color": {
7672
+ "token": "border"
7673
+ }
7674
+ },
7675
+ "cornerRadius": 8,
7676
+ "padding": {
7677
+ "leading": 14,
7678
+ "trailing": 14,
7679
+ "top": 12,
7680
+ "bottom": 12
7681
+ }
7682
+ }
7683
+ }
7684
+ ]
7685
+ }
7686
+ },
7687
+ "modifiers": {
7688
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
7689
+ }
7690
+ },
7691
+ {
7692
+ "id": "",
7693
+ "body": {
7694
+ "package": "himalaya",
7695
+ "type": "Text",
7696
+ "props": {
7697
+ "text": "$service:himiBrandedNotifSettings.emptyText",
7698
+ "style": "body",
7699
+ "color": "textSecondary",
7700
+ "collapseWhenEmpty": true
7701
+ }
7702
+ },
7703
+ "modifiers": {
7704
+ "padding": {
7705
+ "leading": 8,
7706
+ "trailing": 8,
7707
+ "top": 8,
7708
+ "bottom": 0
7709
+ }
7710
+ }
7711
+ }
7712
+ ]
7713
+ }
7714
+ },
7715
+ "modifiers": {
7716
+ "background": {
7717
+ "token": "surfacePrimary"
7718
+ },
7719
+ "padding": {
7720
+ "leading": 16,
7721
+ "trailing": 16,
7722
+ "top": 18,
7723
+ "bottom": 28
7724
+ },
7725
+ "onAppear": {
7726
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7727
+ }
7728
+ }
7729
+ },
7730
+ "logicBundle": {
7731
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-notifsettings?integrity=",
7732
+ "integrity": "",
7733
+ "contentType": "application/javascript+ts-bundle",
7734
+ "declaredCapabilities": [
7735
+ "wix_api"
7736
+ ],
7737
+ "minBinaryVersion": "0.1.0",
7738
+ "bundleVersion": "0.0.1"
7739
+ }
7740
+ },
7279
7741
  "himi_view_profile": {
7280
7742
  "screenId": "himi_view_profile",
7281
7743
  "renderer": "sdui_intent",
@@ -19766,115 +20228,6 @@ const SCREENS = runtimeSetting({
19766
20228
  "spacing": 0,
19767
20229
  "alignment": "leading",
19768
20230
  "children": [
19769
- {
19770
- "id": "",
19771
- "body": {
19772
- "package": "himalaya",
19773
- "type": "VStack",
19774
- "props": {
19775
- "spacing": 4,
19776
- "alignment": "leading",
19777
- "children": [
19778
- {
19779
- "id": "himi_services.title",
19780
- "body": {
19781
- "package": "himalaya",
19782
- "type": "Text",
19783
- "props": {
19784
- "text": "Services",
19785
- "style": "title1"
19786
- }
19787
- }
19788
- },
19789
- {
19790
- "id": "himi_services.subtitle",
19791
- "body": {
19792
- "package": "himalaya",
19793
- "type": "Text",
19794
- "props": {
19795
- "text": "Find a treatment and book your visit.",
19796
- "style": "body",
19797
- "color": "textSecondary"
19798
- }
19799
- }
19800
- }
19801
- ]
19802
- }
19803
- },
19804
- "modifiers": {
19805
- "padding": {
19806
- "leading": 20,
19807
- "trailing": 20,
19808
- "top": 0,
19809
- "bottom": 0
19810
- }
19811
- }
19812
- },
19813
- {
19814
- "id": "",
19815
- "body": {
19816
- "package": "himalaya",
19817
- "type": "VStack",
19818
- "props": {
19819
- "spacing": 0,
19820
- "alignment": "leading",
19821
- "children": [
19822
- {
19823
- "id": "himi_services.search",
19824
- "body": {
19825
- "package": "himalaya",
19826
- "type": "SearchField",
19827
- "props": {
19828
- "placeholder": "Search services",
19829
- "value": "$service:himiBookingServices.collection.query",
19830
- "debounceMs": 200,
19831
- "onChange": {
19832
- "actionId": "tier5.himiBookingServices.search"
19833
- }
19834
- }
19835
- }
19836
- }
19837
- ]
19838
- }
19839
- },
19840
- "modifiers": {
19841
- "padding": {
19842
- "leading": 20,
19843
- "trailing": 20,
19844
- "top": 16,
19845
- "bottom": 0
19846
- },
19847
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
19848
- }
19849
- },
19850
- {
19851
- "id": "himi_services.categories",
19852
- "body": {
19853
- "package": "himalaya",
19854
- "type": "FilterChips",
19855
- "props": {
19856
- "chips": [],
19857
- "optionsPath": "$service:himiBookingServices.categoryChips",
19858
- "selectedIds": [
19859
- "$service:himiBookingServices.collection.filter"
19860
- ],
19861
- "multiSelect": false,
19862
- "onChange": {
19863
- "actionId": "tier5.himiBookingServices.collectionFilter"
19864
- }
19865
- }
19866
- },
19867
- "modifiers": {
19868
- "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
19869
- "padding": {
19870
- "leading": 20,
19871
- "trailing": 20,
19872
- "top": 12,
19873
- "bottom": 0
19874
- },
19875
- "hiddenPath": "$service:himiBookingServices.hideCategories"
19876
- }
19877
- },
19878
20231
  {
19879
20232
  "id": "himi_services.offline",
19880
20233
  "body": {
@@ -20028,7 +20381,7 @@ const SCREENS = runtimeSetting({
20028
20381
  "alignment": "leading",
20029
20382
  "children": [
20030
20383
  {
20031
- "id": "himi_services.skeleton_1",
20384
+ "id": "himi_services.skeleton_title",
20032
20385
  "body": {
20033
20386
  "package": "himalaya",
20034
20387
  "type": "VStack",
@@ -20040,171 +20393,37 @@ const SCREENS = runtimeSetting({
20040
20393
  "id": "",
20041
20394
  "body": {
20042
20395
  "package": "himalaya",
20043
- "type": "HStack",
20396
+ "type": "Skeleton",
20044
20397
  "props": {
20045
- "spacing": 14,
20046
- "alignment": "center",
20047
- "children": [
20048
- {
20049
- "id": "",
20050
- "body": {
20051
- "package": "himalaya",
20052
- "type": "Skeleton",
20053
- "props": {
20054
- "height": 72,
20055
- "cornerRadius": 8
20056
- }
20057
- },
20058
- "modifiers": {
20059
- "width": 72,
20060
- "height": 72,
20061
- "background": {
20062
- "token": "surfaceSecondary"
20063
- },
20064
- "cornerRadius": 8,
20065
- "accessibilityRole": "decorative"
20066
- }
20067
- },
20068
- {
20069
- "id": "",
20070
- "body": {
20071
- "package": "himalaya",
20072
- "type": "VStack",
20073
- "props": {
20074
- "spacing": 8,
20075
- "alignment": "leading",
20076
- "children": [
20077
- {
20078
- "id": "",
20079
- "body": {
20080
- "package": "himalaya",
20081
- "type": "HStack",
20082
- "props": {
20083
- "spacing": 0,
20084
- "children": [
20085
- {
20086
- "id": "",
20087
- "body": {
20088
- "package": "himalaya",
20089
- "type": "Skeleton",
20090
- "props": {
20091
- "height": 16,
20092
- "cornerRadius": 4
20093
- }
20094
- },
20095
- "modifiers": {
20096
- "height": 16,
20097
- "fillMaxWidth": true,
20098
- "background": {
20099
- "token": "surfaceSecondary"
20100
- },
20101
- "cornerRadius": 4,
20102
- "accessibilityRole": "decorative",
20103
- "weight": 3
20104
- }
20105
- },
20106
- {
20107
- "id": "",
20108
- "body": {
20109
- "package": "himalaya",
20110
- "type": "Spacer",
20111
- "props": {}
20112
- },
20113
- "modifiers": {
20114
- "weight": 2
20115
- }
20116
- }
20117
- ]
20118
- }
20119
- },
20120
- "modifiers": {
20121
- "fillMaxWidth": true
20122
- }
20123
- },
20124
- {
20125
- "id": "",
20126
- "body": {
20127
- "package": "himalaya",
20128
- "type": "HStack",
20129
- "props": {
20130
- "spacing": 0,
20131
- "children": [
20132
- {
20133
- "id": "",
20134
- "body": {
20135
- "package": "himalaya",
20136
- "type": "Skeleton",
20137
- "props": {
20138
- "height": 14,
20139
- "cornerRadius": 4
20140
- }
20141
- },
20142
- "modifiers": {
20143
- "height": 14,
20144
- "fillMaxWidth": true,
20145
- "background": {
20146
- "token": "surfaceSecondary"
20147
- },
20148
- "cornerRadius": 4,
20149
- "accessibilityRole": "decorative",
20150
- "weight": 2
20151
- }
20152
- },
20153
- {
20154
- "id": "",
20155
- "body": {
20156
- "package": "himalaya",
20157
- "type": "Spacer",
20158
- "props": {}
20159
- },
20160
- "modifiers": {
20161
- "weight": 3
20162
- }
20163
- }
20164
- ]
20165
- }
20166
- },
20167
- "modifiers": {
20168
- "fillMaxWidth": true
20169
- }
20170
- }
20171
- ]
20172
- }
20173
- },
20174
- "modifiers": {
20175
- "weight": 1
20176
- }
20177
- }
20178
- ]
20398
+ "width": 120,
20399
+ "height": 20,
20400
+ "cornerRadius": 4
20179
20401
  }
20180
20402
  },
20181
20403
  "modifiers": {
20182
- "fillMaxWidth": true,
20183
- "padding": {
20184
- "leading": 20,
20185
- "trailing": 20,
20186
- "top": 14,
20187
- "bottom": 14
20188
- }
20189
- }
20190
- },
20191
- {
20192
- "id": "",
20193
- "body": {
20194
- "package": "himalaya",
20195
- "type": "Divider",
20196
- "props": {}
20404
+ "width": 120,
20405
+ "height": 20,
20406
+ "background": {
20407
+ "token": "surfaceSecondary"
20408
+ },
20409
+ "cornerRadius": 4,
20410
+ "accessibilityRole": "decorative"
20197
20411
  }
20198
20412
  }
20199
20413
  ]
20200
20414
  }
20201
20415
  },
20202
20416
  "modifiers": {
20203
- "fillMaxWidth": true
20417
+ "padding": {
20418
+ "leading": 20,
20419
+ "trailing": 20,
20420
+ "top": 20,
20421
+ "bottom": 4
20422
+ }
20204
20423
  }
20205
20424
  },
20206
20425
  {
20207
- "id": "himi_services.skeleton_2",
20426
+ "id": "himi_services.skeleton_1",
20208
20427
  "body": {
20209
20428
  "package": "himalaya",
20210
20429
  "type": "VStack",
@@ -20380,7 +20599,7 @@ const SCREENS = runtimeSetting({
20380
20599
  }
20381
20600
  },
20382
20601
  {
20383
- "id": "himi_services.skeleton_3",
20602
+ "id": "himi_services.skeleton_2",
20384
20603
  "body": {
20385
20604
  "package": "himalaya",
20386
20605
  "type": "VStack",
@@ -20556,7 +20775,183 @@ const SCREENS = runtimeSetting({
20556
20775
  }
20557
20776
  },
20558
20777
  {
20559
- "id": "himi_services.skeleton_4",
20778
+ "id": "himi_services.skeleton_3",
20779
+ "body": {
20780
+ "package": "himalaya",
20781
+ "type": "VStack",
20782
+ "props": {
20783
+ "spacing": 0,
20784
+ "alignment": "leading",
20785
+ "children": [
20786
+ {
20787
+ "id": "",
20788
+ "body": {
20789
+ "package": "himalaya",
20790
+ "type": "HStack",
20791
+ "props": {
20792
+ "spacing": 14,
20793
+ "alignment": "center",
20794
+ "children": [
20795
+ {
20796
+ "id": "",
20797
+ "body": {
20798
+ "package": "himalaya",
20799
+ "type": "Skeleton",
20800
+ "props": {
20801
+ "height": 72,
20802
+ "cornerRadius": 8
20803
+ }
20804
+ },
20805
+ "modifiers": {
20806
+ "width": 72,
20807
+ "height": 72,
20808
+ "background": {
20809
+ "token": "surfaceSecondary"
20810
+ },
20811
+ "cornerRadius": 8,
20812
+ "accessibilityRole": "decorative"
20813
+ }
20814
+ },
20815
+ {
20816
+ "id": "",
20817
+ "body": {
20818
+ "package": "himalaya",
20819
+ "type": "VStack",
20820
+ "props": {
20821
+ "spacing": 8,
20822
+ "alignment": "leading",
20823
+ "children": [
20824
+ {
20825
+ "id": "",
20826
+ "body": {
20827
+ "package": "himalaya",
20828
+ "type": "HStack",
20829
+ "props": {
20830
+ "spacing": 0,
20831
+ "children": [
20832
+ {
20833
+ "id": "",
20834
+ "body": {
20835
+ "package": "himalaya",
20836
+ "type": "Skeleton",
20837
+ "props": {
20838
+ "height": 16,
20839
+ "cornerRadius": 4
20840
+ }
20841
+ },
20842
+ "modifiers": {
20843
+ "height": 16,
20844
+ "fillMaxWidth": true,
20845
+ "background": {
20846
+ "token": "surfaceSecondary"
20847
+ },
20848
+ "cornerRadius": 4,
20849
+ "accessibilityRole": "decorative",
20850
+ "weight": 3
20851
+ }
20852
+ },
20853
+ {
20854
+ "id": "",
20855
+ "body": {
20856
+ "package": "himalaya",
20857
+ "type": "Spacer",
20858
+ "props": {}
20859
+ },
20860
+ "modifiers": {
20861
+ "weight": 2
20862
+ }
20863
+ }
20864
+ ]
20865
+ }
20866
+ },
20867
+ "modifiers": {
20868
+ "fillMaxWidth": true
20869
+ }
20870
+ },
20871
+ {
20872
+ "id": "",
20873
+ "body": {
20874
+ "package": "himalaya",
20875
+ "type": "HStack",
20876
+ "props": {
20877
+ "spacing": 0,
20878
+ "children": [
20879
+ {
20880
+ "id": "",
20881
+ "body": {
20882
+ "package": "himalaya",
20883
+ "type": "Skeleton",
20884
+ "props": {
20885
+ "height": 14,
20886
+ "cornerRadius": 4
20887
+ }
20888
+ },
20889
+ "modifiers": {
20890
+ "height": 14,
20891
+ "fillMaxWidth": true,
20892
+ "background": {
20893
+ "token": "surfaceSecondary"
20894
+ },
20895
+ "cornerRadius": 4,
20896
+ "accessibilityRole": "decorative",
20897
+ "weight": 2
20898
+ }
20899
+ },
20900
+ {
20901
+ "id": "",
20902
+ "body": {
20903
+ "package": "himalaya",
20904
+ "type": "Spacer",
20905
+ "props": {}
20906
+ },
20907
+ "modifiers": {
20908
+ "weight": 3
20909
+ }
20910
+ }
20911
+ ]
20912
+ }
20913
+ },
20914
+ "modifiers": {
20915
+ "fillMaxWidth": true
20916
+ }
20917
+ }
20918
+ ]
20919
+ }
20920
+ },
20921
+ "modifiers": {
20922
+ "weight": 1
20923
+ }
20924
+ }
20925
+ ]
20926
+ }
20927
+ },
20928
+ "modifiers": {
20929
+ "fillMaxWidth": true,
20930
+ "padding": {
20931
+ "leading": 20,
20932
+ "trailing": 20,
20933
+ "top": 14,
20934
+ "bottom": 14
20935
+ }
20936
+ }
20937
+ },
20938
+ {
20939
+ "id": "",
20940
+ "body": {
20941
+ "package": "himalaya",
20942
+ "type": "Divider",
20943
+ "props": {}
20944
+ }
20945
+ }
20946
+ ]
20947
+ }
20948
+ },
20949
+ "modifiers": {
20950
+ "fillMaxWidth": true
20951
+ }
20952
+ },
20953
+ {
20954
+ "id": "himi_services.skeleton_4",
20560
20955
  "body": {
20561
20956
  "package": "himalaya",
20562
20957
  "type": "VStack",
@@ -20738,7 +21133,7 @@ const SCREENS = runtimeSetting({
20738
21133
  "padding": {
20739
21134
  "leading": 0,
20740
21135
  "trailing": 0,
20741
- "top": 12,
21136
+ "top": 0,
20742
21137
  "bottom": 0
20743
21138
  },
20744
21139
  "hiddenPath": "$service:himiBookingServices.collection.noLoading"
@@ -20751,7 +21146,7 @@ const SCREENS = runtimeSetting({
20751
21146
  "type": "LazyList",
20752
21147
  "props": {
20753
21148
  "spacing": 0,
20754
- "itemsPath": "$service:himiBookingServices.collection.items",
21149
+ "itemsPath": "$service:himiBookingServices.listRows",
20755
21150
  "onPullToRefresh": {
20756
21151
  "actionId": "tier5.himiBookingServices.refresh"
20757
21152
  },
@@ -20760,13 +21155,17 @@ const SCREENS = runtimeSetting({
20760
21155
  "onLoadMore": {
20761
21156
  "actionId": "tier5.himiBookingServices.loadMore"
20762
21157
  },
20763
- "pageSize": 50
21158
+ "pageSize": 100
20764
21159
  },
20765
21160
  "staggerMs": 30,
20766
21161
  "animateItems": true,
21162
+ "scrollToItemPath": "$service:himiBookingServices.scrollTo",
21163
+ "onTopItemChange": {
21164
+ "actionId": "tier5.himiBookingServices.topItemChanged"
21165
+ },
20767
21166
  "items": [
20768
21167
  {
20769
- "id": "himi_services.row.$item.id",
21168
+ "id": "himi_services.item.$item.id",
20770
21169
  "body": {
20771
21170
  "package": "himalaya",
20772
21171
  "type": "VStack",
@@ -20775,47 +21174,75 @@ const SCREENS = runtimeSetting({
20775
21174
  "alignment": "leading",
20776
21175
  "children": [
20777
21176
  {
20778
- "id": "",
21177
+ "id": "himi_services.section.$item.id",
20779
21178
  "body": {
20780
21179
  "package": "himalaya",
20781
21180
  "type": "HStack",
20782
21181
  "props": {
20783
- "spacing": 14,
21182
+ "spacing": 0,
20784
21183
  "alignment": "center",
20785
21184
  "children": [
20786
21185
  {
20787
- "id": "himi_services.row.$item.id/image",
21186
+ "id": "",
20788
21187
  "body": {
20789
21188
  "package": "himalaya",
20790
- "type": "Image",
21189
+ "type": "Text",
20791
21190
  "props": {
20792
- "url": "$item.image",
20793
- "width": 72,
20794
- "height": 72,
20795
- "contentMode": "fill"
21191
+ "text": "$item.sectionTitle",
21192
+ "style": "title3",
21193
+ "maxLines": 2
20796
21194
  }
20797
- },
20798
- "modifiers": {
20799
- "accessibilityRole": "decorative",
20800
- "cornerRadius": 8,
20801
- "hiddenPath": "$item.noImage"
20802
21195
  }
20803
21196
  },
20804
21197
  {
20805
21198
  "id": "",
20806
21199
  "body": {
20807
21200
  "package": "himalaya",
20808
- "type": "ZStack",
21201
+ "type": "Spacer",
21202
+ "props": {}
21203
+ }
21204
+ }
21205
+ ]
21206
+ }
21207
+ },
21208
+ "modifiers": {
21209
+ "fillMaxWidth": true,
21210
+ "padding": {
21211
+ "leading": 20,
21212
+ "trailing": 20,
21213
+ "top": 20,
21214
+ "bottom": 4
21215
+ },
21216
+ "accessibilityRole": "heading",
21217
+ "accessibilityLabel": "$item.sectionTitle",
21218
+ "hiddenPath": "$item.notSection"
21219
+ }
21220
+ },
21221
+ {
21222
+ "id": "himi_services.row.$item.id",
21223
+ "body": {
21224
+ "package": "himalaya",
21225
+ "type": "VStack",
21226
+ "props": {
21227
+ "spacing": 0,
21228
+ "alignment": "leading",
21229
+ "children": [
21230
+ {
21231
+ "id": "",
21232
+ "body": {
21233
+ "package": "himalaya",
21234
+ "type": "HStack",
20809
21235
  "props": {
21236
+ "spacing": 14,
20810
21237
  "alignment": "center",
20811
21238
  "children": [
20812
21239
  {
20813
- "id": "",
21240
+ "id": "himi_services.row.$item.id/image",
20814
21241
  "body": {
20815
21242
  "package": "himalaya",
20816
21243
  "type": "Image",
20817
21244
  "props": {
20818
- "url": "",
21245
+ "url": "$item.image",
20819
21246
  "width": 72,
20820
21247
  "height": 72,
20821
21248
  "contentMode": "fill"
@@ -20824,158 +21251,204 @@ const SCREENS = runtimeSetting({
20824
21251
  "modifiers": {
20825
21252
  "accessibilityRole": "decorative",
20826
21253
  "cornerRadius": 8,
20827
- "background": {
20828
- "token": "surfaceSecondary"
20829
- }
21254
+ "hiddenPath": "$item.noImage"
20830
21255
  }
20831
21256
  },
20832
21257
  {
20833
21258
  "id": "",
20834
21259
  "body": {
20835
21260
  "package": "himalaya",
20836
- "type": "Icon",
21261
+ "type": "ZStack",
20837
21262
  "props": {
20838
- "name": "image",
20839
- "size": 24,
20840
- "tint": "accentPrimary"
21263
+ "alignment": "center",
21264
+ "children": [
21265
+ {
21266
+ "id": "",
21267
+ "body": {
21268
+ "package": "himalaya",
21269
+ "type": "Image",
21270
+ "props": {
21271
+ "url": "",
21272
+ "width": 72,
21273
+ "height": 72,
21274
+ "contentMode": "fill"
21275
+ }
21276
+ },
21277
+ "modifiers": {
21278
+ "accessibilityRole": "decorative",
21279
+ "cornerRadius": 8,
21280
+ "background": {
21281
+ "token": "surfaceSecondary"
21282
+ }
21283
+ }
21284
+ },
21285
+ {
21286
+ "id": "",
21287
+ "body": {
21288
+ "package": "himalaya",
21289
+ "type": "Icon",
21290
+ "props": {
21291
+ "name": "image",
21292
+ "size": 24,
21293
+ "tint": "accentPrimary"
21294
+ }
21295
+ },
21296
+ "modifiers": {
21297
+ "accessibilityRole": "decorative"
21298
+ }
21299
+ }
21300
+ ]
20841
21301
  }
20842
21302
  },
20843
21303
  "modifiers": {
20844
- "accessibilityRole": "decorative"
21304
+ "width": 72,
21305
+ "height": 72,
21306
+ "hiddenPath": "$item.hasImage"
20845
21307
  }
20846
- }
20847
- ]
20848
- }
20849
- },
20850
- "modifiers": {
20851
- "width": 72,
20852
- "height": 72,
20853
- "hiddenPath": "$item.hasImage"
20854
- }
20855
- },
20856
- {
20857
- "id": "",
20858
- "body": {
20859
- "package": "himalaya",
20860
- "type": "VStack",
20861
- "props": {
20862
- "spacing": 3,
20863
- "alignment": "leading",
20864
- "children": [
21308
+ },
20865
21309
  {
20866
21310
  "id": "",
20867
21311
  "body": {
20868
21312
  "package": "himalaya",
20869
- "type": "Text",
21313
+ "type": "VStack",
20870
21314
  "props": {
20871
- "text": "$item.typeTag",
20872
- "style": "caption",
20873
- "color": "textSecondary",
20874
- "maxLines": 1
21315
+ "spacing": 3,
21316
+ "alignment": "leading",
21317
+ "children": [
21318
+ {
21319
+ "id": "",
21320
+ "body": {
21321
+ "package": "himalaya",
21322
+ "type": "Text",
21323
+ "props": {
21324
+ "text": "$item.typeTag",
21325
+ "style": "caption",
21326
+ "color": "textSecondary",
21327
+ "maxLines": 1
21328
+ }
21329
+ },
21330
+ "modifiers": {
21331
+ "background": {
21332
+ "token": "surfaceTertiary"
21333
+ },
21334
+ "cornerRadius": 4,
21335
+ "padding": {
21336
+ "leading": 8,
21337
+ "trailing": 8,
21338
+ "top": 2,
21339
+ "bottom": 2
21340
+ },
21341
+ "hiddenPath": "$item.noTypeTag"
21342
+ }
21343
+ },
21344
+ {
21345
+ "id": "himi_services.row.$item.id/ended",
21346
+ "body": {
21347
+ "package": "himalaya",
21348
+ "type": "Text",
21349
+ "props": {
21350
+ "text": "$item.endedText",
21351
+ "style": "caption",
21352
+ "color": "textSecondary",
21353
+ "maxLines": 1,
21354
+ "collapseWhenEmpty": true
21355
+ }
21356
+ }
21357
+ },
21358
+ {
21359
+ "id": "",
21360
+ "body": {
21361
+ "package": "himalaya",
21362
+ "type": "Text",
21363
+ "props": {
21364
+ "text": "$item.name",
21365
+ "style": "bodyEmphasis",
21366
+ "maxLines": 2
21367
+ }
21368
+ }
21369
+ },
21370
+ {
21371
+ "id": "",
21372
+ "body": {
21373
+ "package": "himalaya",
21374
+ "type": "Text",
21375
+ "props": {
21376
+ "text": "$item.tagline",
21377
+ "style": "caption",
21378
+ "color": "textSecondary",
21379
+ "maxLines": 2,
21380
+ "collapseWhenEmpty": true
21381
+ }
21382
+ }
21383
+ },
21384
+ {
21385
+ "id": "",
21386
+ "body": {
21387
+ "package": "himalaya",
21388
+ "type": "Text",
21389
+ "props": {
21390
+ "text": "$item.meta",
21391
+ "style": "footnote",
21392
+ "color": "textSecondary",
21393
+ "maxLines": 2,
21394
+ "collapseWhenEmpty": true
21395
+ }
21396
+ }
21397
+ }
21398
+ ]
20875
21399
  }
20876
21400
  },
20877
21401
  "modifiers": {
20878
- "background": {
20879
- "token": "surfaceTertiary"
20880
- },
20881
- "cornerRadius": 4,
20882
- "padding": {
20883
- "leading": 8,
20884
- "trailing": 8,
20885
- "top": 2,
20886
- "bottom": 2
20887
- },
20888
- "hiddenPath": "$item.noTypeTag"
20889
- }
20890
- },
20891
- {
20892
- "id": "himi_services.row.$item.id/ended",
20893
- "body": {
20894
- "package": "himalaya",
20895
- "type": "Text",
20896
- "props": {
20897
- "text": "$item.endedText",
20898
- "style": "caption",
20899
- "color": "textSecondary",
20900
- "maxLines": 1,
20901
- "collapseWhenEmpty": true
20902
- }
20903
- }
20904
- },
20905
- {
20906
- "id": "",
20907
- "body": {
20908
- "package": "himalaya",
20909
- "type": "Text",
20910
- "props": {
20911
- "text": "$item.name",
20912
- "style": "bodyEmphasis",
20913
- "maxLines": 2
20914
- }
20915
- }
20916
- },
20917
- {
20918
- "id": "",
20919
- "body": {
20920
- "package": "himalaya",
20921
- "type": "Text",
20922
- "props": {
20923
- "text": "$item.tagline",
20924
- "style": "caption",
20925
- "color": "textSecondary",
20926
- "maxLines": 2,
20927
- "collapseWhenEmpty": true
20928
- }
21402
+ "weight": 1
20929
21403
  }
20930
21404
  },
20931
21405
  {
20932
- "id": "",
21406
+ "id": "himi_services.row.$item.id/book",
20933
21407
  "body": {
20934
21408
  "package": "himalaya",
20935
- "type": "Text",
20936
- "props": {
20937
- "text": "$item.meta",
20938
- "style": "footnote",
20939
- "color": "textSecondary",
20940
- "maxLines": 2,
20941
- "collapseWhenEmpty": true
20942
- }
20943
- }
20944
- }
20945
- ]
20946
- }
20947
- },
20948
- "modifiers": {
20949
- "weight": 1
20950
- }
20951
- },
20952
- {
20953
- "id": "himi_services.row.$item.id/book",
20954
- "body": {
20955
- "package": "himalaya",
20956
- "type": "VStack",
20957
- "props": {
20958
- "spacing": 0,
20959
- "children": [
20960
- {
20961
- "id": "",
20962
- "body": {
20963
- "package": "himalaya",
20964
- "type": "HStack",
21409
+ "type": "VStack",
20965
21410
  "props": {
20966
21411
  "spacing": 0,
20967
- "alignment": "center",
20968
21412
  "children": [
20969
21413
  {
20970
21414
  "id": "",
20971
21415
  "body": {
20972
21416
  "package": "himalaya",
20973
- "type": "Text",
21417
+ "type": "HStack",
20974
21418
  "props": {
20975
- "text": "$item.bookCta",
20976
- "style": "footnote",
20977
- "color": "textPrimary",
20978
- "maxLines": 1
21419
+ "spacing": 0,
21420
+ "alignment": "center",
21421
+ "children": [
21422
+ {
21423
+ "id": "",
21424
+ "body": {
21425
+ "package": "himalaya",
21426
+ "type": "Text",
21427
+ "props": {
21428
+ "text": "$item.bookCta",
21429
+ "style": "footnote",
21430
+ "color": "textPrimary",
21431
+ "maxLines": 1
21432
+ }
21433
+ }
21434
+ }
21435
+ ]
21436
+ }
21437
+ },
21438
+ "modifiers": {
21439
+ "height": 36,
21440
+ "padding": {
21441
+ "leading": 16,
21442
+ "trailing": 16,
21443
+ "top": 0,
21444
+ "bottom": 0
21445
+ },
21446
+ "cornerRadius": 18,
21447
+ "border": {
21448
+ "width": 1,
21449
+ "color": {
21450
+ "token": "textPrimary"
21451
+ }
20979
21452
  }
20980
21453
  }
20981
21454
  }
@@ -20983,81 +21456,69 @@ const SCREENS = runtimeSetting({
20983
21456
  }
20984
21457
  },
20985
21458
  "modifiers": {
20986
- "height": 36,
20987
21459
  "padding": {
20988
- "leading": 16,
20989
- "trailing": 16,
20990
- "top": 0,
20991
- "bottom": 0
21460
+ "leading": 0,
21461
+ "trailing": 0,
21462
+ "top": 4,
21463
+ "bottom": 4
20992
21464
  },
20993
- "cornerRadius": 18,
20994
- "border": {
20995
- "width": 1,
20996
- "color": {
20997
- "token": "textPrimary"
21465
+ "onTap": {
21466
+ "actionId": "himi.open",
21467
+ "params": {
21468
+ "screenId": "himi_time",
21469
+ "id": "$item.id"
20998
21470
  }
20999
- }
21471
+ },
21472
+ "accessibilityRole": "button",
21473
+ "accessibilityLabel": "$item.bookA11y",
21474
+ "pressFeedback": "scale",
21475
+ "haptic": "light",
21476
+ "hiddenPath": "$item.noBook"
21000
21477
  }
21001
21478
  }
21002
21479
  ]
21003
21480
  }
21004
21481
  },
21005
21482
  "modifiers": {
21483
+ "fillMaxWidth": true,
21006
21484
  "padding": {
21007
- "leading": 0,
21008
- "trailing": 0,
21009
- "top": 4,
21010
- "bottom": 4
21011
- },
21012
- "onTap": {
21013
- "actionId": "himi.open",
21014
- "params": {
21015
- "screenId": "himi_time",
21016
- "id": "$item.id"
21017
- }
21018
- },
21019
- "accessibilityRole": "button",
21020
- "accessibilityLabel": "$item.bookA11y",
21021
- "pressFeedback": "scale",
21022
- "haptic": "light",
21023
- "hiddenPath": "$item.noBook"
21485
+ "leading": 20,
21486
+ "trailing": 20,
21487
+ "top": 14,
21488
+ "bottom": 14
21489
+ }
21490
+ }
21491
+ },
21492
+ {
21493
+ "id": "",
21494
+ "body": {
21495
+ "package": "himalaya",
21496
+ "type": "Divider",
21497
+ "props": {}
21024
21498
  }
21025
21499
  }
21026
21500
  ]
21027
21501
  }
21028
21502
  },
21029
21503
  "modifiers": {
21030
- "fillMaxWidth": true,
21031
- "padding": {
21032
- "leading": 20,
21033
- "trailing": 20,
21034
- "top": 14,
21035
- "bottom": 14
21036
- }
21037
- }
21038
- },
21039
- {
21040
- "id": "",
21041
- "body": {
21042
- "package": "himalaya",
21043
- "type": "Divider",
21044
- "props": {}
21504
+ "onTap": {
21505
+ "actionId": "himi.open",
21506
+ "params": {
21507
+ "screenId": "$item.detailScreenId",
21508
+ "id": "$item.id"
21509
+ }
21510
+ },
21511
+ "pressFeedback": "highlight",
21512
+ "haptic": "light",
21513
+ "accessibilityLabel": "$item.a11y",
21514
+ "hiddenPath": "$item.isSection"
21045
21515
  }
21046
21516
  }
21047
21517
  ]
21048
21518
  }
21049
21519
  },
21050
21520
  "modifiers": {
21051
- "onTap": {
21052
- "actionId": "himi.open",
21053
- "params": {
21054
- "screenId": "$item.detailScreenId",
21055
- "id": "$item.id"
21056
- }
21057
- },
21058
- "pressFeedback": "highlight",
21059
- "haptic": "light",
21060
- "accessibilityLabel": "$item.a11y",
21521
+ "fillMaxWidth": true,
21061
21522
  "transition": {
21062
21523
  "enter": "fadeSlide",
21063
21524
  "direction": "up",
@@ -21072,7 +21533,7 @@ const SCREENS = runtimeSetting({
21072
21533
  "padding": {
21073
21534
  "leading": 0,
21074
21535
  "trailing": 0,
21075
- "top": 12,
21536
+ "top": 0,
21076
21537
  "bottom": 0
21077
21538
  },
21078
21539
  "hiddenPath": "$service:himiBookingServices.hideRows"
@@ -21222,27 +21683,62 @@ const SCREENS = runtimeSetting({
21222
21683
  "modifiers": {
21223
21684
  "hiddenPath": "$service:himiBookingServices.noQuery"
21224
21685
  }
21686
+ }
21687
+ ]
21688
+ }
21689
+ },
21690
+ "modifiers": {
21691
+ "fillMaxWidth": true,
21692
+ "padding": {
21693
+ "leading": 20,
21694
+ "trailing": 20,
21695
+ "top": 40,
21696
+ "bottom": 0
21697
+ },
21698
+ "transition": {
21699
+ "enter": "fade",
21700
+ "exit": "fade"
21701
+ },
21702
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21703
+ }
21704
+ },
21705
+ {
21706
+ "id": "himi_services.location_empty",
21707
+ "body": {
21708
+ "package": "himalaya",
21709
+ "type": "VStack",
21710
+ "props": {
21711
+ "spacing": 16,
21712
+ "alignment": "center",
21713
+ "children": [
21714
+ {
21715
+ "id": "himi_services.location_empty_text",
21716
+ "body": {
21717
+ "package": "himalaya",
21718
+ "type": "Text",
21719
+ "props": {
21720
+ "text": "$service:himiBookingServices.locationEmptyText",
21721
+ "style": "body",
21722
+ "color": "textSecondary",
21723
+ "textAlign": "center"
21724
+ }
21725
+ }
21225
21726
  },
21226
21727
  {
21227
- "id": "himi_services.empty.show_all",
21728
+ "id": "himi_services.all_locations",
21228
21729
  "body": {
21229
21730
  "package": "himalaya",
21230
21731
  "type": "Button",
21231
21732
  "props": {
21232
- "title": "Show All",
21733
+ "title": "Show all locations",
21233
21734
  "style": "secondary",
21234
21735
  "action": {
21235
- "actionId": "tier5.himiBookingServices.collectionFilter",
21236
- "args": {
21237
- "selectedIds": [
21238
- "all"
21239
- ]
21736
+ "actionId": "tier5.himiBookingServices.selectLocation",
21737
+ "params": {
21738
+ "locationId": ""
21240
21739
  }
21241
21740
  }
21242
21741
  }
21243
- },
21244
- "modifiers": {
21245
- "hiddenPath": "$service:himiBookingServices.hasQuery"
21246
21742
  }
21247
21743
  }
21248
21744
  ]
@@ -21260,7 +21756,185 @@ const SCREENS = runtimeSetting({
21260
21756
  "enter": "fade",
21261
21757
  "exit": "fade"
21262
21758
  },
21263
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21759
+ "hiddenPath": "$service:himiBookingServices.notLocationEmpty"
21760
+ }
21761
+ },
21762
+ {
21763
+ "id": "himi_services.location_sheet",
21764
+ "body": {
21765
+ "package": "himalaya",
21766
+ "type": "BottomSheet",
21767
+ "props": {
21768
+ "presentedPath": "$service:himiBookingServices.locationSheetOpen",
21769
+ "dismissible": true,
21770
+ "showGrabber": true,
21771
+ "onDismiss": {
21772
+ "actionId": "tier5.himiBookingServices.closeLocations"
21773
+ },
21774
+ "content": {
21775
+ "id": "",
21776
+ "body": {
21777
+ "package": "himalaya",
21778
+ "type": "VStack",
21779
+ "props": {
21780
+ "spacing": 8,
21781
+ "alignment": "leading",
21782
+ "children": [
21783
+ {
21784
+ "id": "",
21785
+ "body": {
21786
+ "package": "himalaya",
21787
+ "type": "Text",
21788
+ "props": {
21789
+ "text": "Choose a location",
21790
+ "style": "title3"
21791
+ }
21792
+ }
21793
+ },
21794
+ {
21795
+ "id": "himi_services.location_options",
21796
+ "body": {
21797
+ "package": "himalaya",
21798
+ "type": "Grid",
21799
+ "props": {
21800
+ "columns": 1,
21801
+ "spacing": 0,
21802
+ "itemsPath": "$service:himiBookingServices.locationOptions",
21803
+ "items": [
21804
+ {
21805
+ "id": "",
21806
+ "body": {
21807
+ "package": "himalaya",
21808
+ "type": "VStack",
21809
+ "props": {
21810
+ "spacing": 0,
21811
+ "children": [
21812
+ {
21813
+ "id": "",
21814
+ "body": {
21815
+ "package": "himalaya",
21816
+ "type": "HStack",
21817
+ "props": {
21818
+ "spacing": 12,
21819
+ "alignment": "center",
21820
+ "children": [
21821
+ {
21822
+ "id": "",
21823
+ "body": {
21824
+ "package": "himalaya",
21825
+ "type": "VStack",
21826
+ "props": {
21827
+ "spacing": 2,
21828
+ "alignment": "leading",
21829
+ "children": [
21830
+ {
21831
+ "id": "",
21832
+ "body": {
21833
+ "package": "himalaya",
21834
+ "type": "Text",
21835
+ "props": {
21836
+ "text": "$item.label",
21837
+ "style": "body",
21838
+ "maxLines": 2
21839
+ }
21840
+ }
21841
+ },
21842
+ {
21843
+ "id": "",
21844
+ "body": {
21845
+ "package": "himalaya",
21846
+ "type": "Text",
21847
+ "props": {
21848
+ "text": "$item.sub",
21849
+ "style": "caption",
21850
+ "color": "textSecondary",
21851
+ "maxLines": 2
21852
+ }
21853
+ },
21854
+ "modifiers": {
21855
+ "hiddenPath": "$item.noSub"
21856
+ }
21857
+ }
21858
+ ]
21859
+ }
21860
+ }
21861
+ },
21862
+ {
21863
+ "id": "",
21864
+ "body": {
21865
+ "package": "himalaya",
21866
+ "type": "Spacer",
21867
+ "props": {}
21868
+ }
21869
+ },
21870
+ {
21871
+ "id": "",
21872
+ "body": {
21873
+ "package": "himalaya",
21874
+ "type": "Icon",
21875
+ "props": {
21876
+ "name": "check",
21877
+ "size": 20,
21878
+ "tint": "accentPrimary"
21879
+ }
21880
+ },
21881
+ "modifiers": {
21882
+ "accessibilityRole": "decorative",
21883
+ "hiddenPath": "$item.notSelected"
21884
+ }
21885
+ }
21886
+ ]
21887
+ }
21888
+ },
21889
+ "modifiers": {
21890
+ "fillMaxWidth": true,
21891
+ "padding": {
21892
+ "top": 15,
21893
+ "bottom": 15
21894
+ }
21895
+ }
21896
+ },
21897
+ {
21898
+ "id": "",
21899
+ "body": {
21900
+ "package": "himalaya",
21901
+ "type": "Divider",
21902
+ "props": {}
21903
+ }
21904
+ }
21905
+ ]
21906
+ }
21907
+ },
21908
+ "modifiers": {
21909
+ "fillMaxWidth": true,
21910
+ "onTap": {
21911
+ "actionId": "tier5.himiBookingServices.selectLocation",
21912
+ "params": {
21913
+ "locationId": "$item.id"
21914
+ }
21915
+ },
21916
+ "pressFeedback": "highlight",
21917
+ "accessibilityRole": "button",
21918
+ "accessibilityLabel": "$item.a11y"
21919
+ }
21920
+ }
21921
+ ]
21922
+ }
21923
+ }
21924
+ }
21925
+ ]
21926
+ }
21927
+ },
21928
+ "modifiers": {
21929
+ "padding": {
21930
+ "leading": 20,
21931
+ "trailing": 20,
21932
+ "top": 8,
21933
+ "bottom": 24
21934
+ }
21935
+ }
21936
+ }
21937
+ }
21264
21938
  }
21265
21939
  }
21266
21940
  ]
@@ -21273,7 +21947,6 @@ const SCREENS = runtimeSetting({
21273
21947
  "padding": {
21274
21948
  "leading": 0,
21275
21949
  "trailing": 0,
21276
- "top": 18,
21277
21950
  "bottom": 24
21278
21951
  },
21279
21952
  "onAppear": {
@@ -21290,27 +21963,171 @@ const SCREENS = runtimeSetting({
21290
21963
  "contentType": "application/javascript+ts-bundle",
21291
21964
  "declaredCapabilities": [
21292
21965
  "wix_api",
21293
- "local_database"
21966
+ "local_database",
21967
+ "app_info"
21294
21968
  ],
21295
21969
  "minBinaryVersion": "0.1.0",
21296
21970
  "bundleVersion": "0.0.1"
21297
21971
  },
21972
+ "stickyHeader": {
21973
+ "id": "himi_services.header",
21974
+ "body": {
21975
+ "package": "himalaya",
21976
+ "type": "VStack",
21977
+ "props": {
21978
+ "spacing": 0,
21979
+ "alignment": "leading",
21980
+ "children": [
21981
+ {
21982
+ "id": "",
21983
+ "body": {
21984
+ "package": "himalaya",
21985
+ "type": "VStack",
21986
+ "props": {
21987
+ "spacing": 4,
21988
+ "alignment": "leading",
21989
+ "children": [
21990
+ {
21991
+ "id": "himi_services.title",
21992
+ "body": {
21993
+ "package": "himalaya",
21994
+ "type": "Text",
21995
+ "props": {
21996
+ "text": "Services",
21997
+ "style": "title1"
21998
+ }
21999
+ }
22000
+ }
22001
+ ]
22002
+ }
22003
+ },
22004
+ "modifiers": {
22005
+ "padding": {
22006
+ "leading": 20,
22007
+ "trailing": 20,
22008
+ "top": 0,
22009
+ "bottom": 0
22010
+ }
22011
+ }
22012
+ },
22013
+ {
22014
+ "id": "",
22015
+ "body": {
22016
+ "package": "himalaya",
22017
+ "type": "VStack",
22018
+ "props": {
22019
+ "spacing": 0,
22020
+ "alignment": "leading",
22021
+ "children": [
22022
+ {
22023
+ "id": "himi_services.search",
22024
+ "body": {
22025
+ "package": "himalaya",
22026
+ "type": "SearchField",
22027
+ "props": {
22028
+ "placeholder": "Search services",
22029
+ "value": "$service:himiBookingServices.collection.query",
22030
+ "debounceMs": 200,
22031
+ "onChange": {
22032
+ "actionId": "tier5.himiBookingServices.search"
22033
+ }
22034
+ }
22035
+ }
22036
+ }
22037
+ ]
22038
+ }
22039
+ },
22040
+ "modifiers": {
22041
+ "padding": {
22042
+ "leading": 20,
22043
+ "trailing": 20,
22044
+ "top": 16,
22045
+ "bottom": 0
22046
+ },
22047
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
22048
+ }
22049
+ },
22050
+ {
22051
+ "id": "himi_services.categories",
22052
+ "body": {
22053
+ "package": "himalaya",
22054
+ "type": "FilterChips",
22055
+ "props": {
22056
+ "chips": [],
22057
+ "optionsPath": "$service:himiBookingServices.categoryChips",
22058
+ "selectedIds": [
22059
+ "$service:himiBookingServices.activeCategory"
22060
+ ],
22061
+ "multiSelect": false,
22062
+ "onChange": {
22063
+ "actionId": "tier5.himiBookingServices.scrollToCategory"
22064
+ }
22065
+ }
22066
+ },
22067
+ "modifiers": {
22068
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
22069
+ "padding": {
22070
+ "leading": 20,
22071
+ "trailing": 20,
22072
+ "top": 12,
22073
+ "bottom": 0
22074
+ },
22075
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
22076
+ }
22077
+ },
22078
+ {
22079
+ "id": "",
22080
+ "body": {
22081
+ "package": "himalaya",
22082
+ "type": "VStack",
22083
+ "props": {
22084
+ "spacing": 0,
22085
+ "children": [
22086
+ {
22087
+ "id": "",
22088
+ "body": {
22089
+ "package": "himalaya",
22090
+ "type": "Divider",
22091
+ "props": {}
22092
+ }
22093
+ }
22094
+ ]
22095
+ }
22096
+ },
22097
+ "modifiers": {
22098
+ "padding": {
22099
+ "top": 12
22100
+ },
22101
+ "fillMaxWidth": true
22102
+ }
22103
+ }
22104
+ ]
22105
+ }
22106
+ },
22107
+ "modifiers": {
22108
+ "background": {
22109
+ "token": "surfacePrimary"
22110
+ },
22111
+ "padding": {
22112
+ "top": 18
22113
+ },
22114
+ "fillMaxWidth": true
22115
+ }
22116
+ },
21298
22117
  "topBar": {
21299
22118
  "actions": [
21300
22119
  {
21301
- "id": "bookings",
21302
- "icon": "calendar",
21303
- "accessibilityLabel": "My Bookings",
22120
+ "id": "location",
22121
+ "icon": "location",
22122
+ "accessibilityLabel": "Choose a location",
21304
22123
  "onTap": {
21305
- "actionId": "himi.open",
21306
- "params": {
21307
- "screenId": "himi_bookings"
21308
- }
21309
- }
22124
+ "actionId": "tier5.himiBookingServices.openLocations"
22125
+ },
22126
+ "hiddenPath": "$service:brandedLiteNav.noLocationMenu"
21310
22127
  },
21311
22128
  {
21312
22129
  "id": "agenda",
21313
- "icon": "list",
22130
+ "icon": "calendar",
21314
22131
  "accessibilityLabel": "Agenda",
21315
22132
  "onTap": {
21316
22133
  "actionId": "himi.open",
@@ -21365,29 +22182,45 @@ const SCREENS = runtimeSetting({
21365
22182
  }
21366
22183
  },
21367
22184
  {
21368
- "id": "himi_bookings.tabs",
22185
+ "id": "",
21369
22186
  "body": {
21370
22187
  "package": "himalaya",
21371
- "type": "SegmentedControl",
22188
+ "type": "VStack",
21372
22189
  "props": {
21373
- "options": [
21374
- {
21375
- "id": "upcoming",
21376
- "label": "Upcoming"
21377
- },
21378
- {
21379
- "id": "past",
21380
- "label": "Past"
21381
- },
22190
+ "spacing": 0,
22191
+ "alignment": "leading",
22192
+ "children": [
21382
22193
  {
21383
- "id": "cancelled",
21384
- "label": "Canceled"
22194
+ "id": "himi_bookings.tabs",
22195
+ "body": {
22196
+ "package": "himalaya",
22197
+ "type": "SegmentedControl",
22198
+ "props": {
22199
+ "options": [
22200
+ {
22201
+ "id": "upcoming",
22202
+ "label": "Upcoming"
22203
+ },
22204
+ {
22205
+ "id": "past",
22206
+ "label": "Past"
22207
+ },
22208
+ {
22209
+ "id": "cancelled",
22210
+ "label": "Canceled"
22211
+ }
22212
+ ],
22213
+ "selectedId": "$service:himiBookingBookings.tab",
22214
+ "onChange": {
22215
+ "actionId": "tier5.himiBookingBookings.selectTab"
22216
+ }
22217
+ }
22218
+ },
22219
+ "modifiers": {
22220
+ "fillMaxWidth": true
22221
+ }
21385
22222
  }
21386
- ],
21387
- "selectedId": "$service:himiBookingBookings.tab",
21388
- "onChange": {
21389
- "actionId": "tier5.himiBookingBookings.selectTab"
21390
- }
22223
+ ]
21391
22224
  }
21392
22225
  },
21393
22226
  "modifiers": {
@@ -23656,8 +24489,8 @@ const SCREENS = runtimeSetting({
23656
24489
  },
23657
24490
  "modifiers": {
23658
24491
  "padding": {
23659
- "leading": 20,
23660
- "trailing": 20,
24492
+ "leading": 16,
24493
+ "trailing": 16,
23661
24494
  "top": 14,
23662
24495
  "bottom": 14
23663
24496
  },
@@ -23763,8 +24596,8 @@ const SCREENS = runtimeSetting({
23763
24596
  },
23764
24597
  "modifiers": {
23765
24598
  "padding": {
23766
- "leading": 20,
23767
- "trailing": 20,
24599
+ "leading": 16,
24600
+ "trailing": 16,
23768
24601
  "top": 14,
23769
24602
  "bottom": 14
23770
24603
  },
@@ -23870,8 +24703,8 @@ const SCREENS = runtimeSetting({
23870
24703
  },
23871
24704
  "modifiers": {
23872
24705
  "padding": {
23873
- "leading": 20,
23874
- "trailing": 20,
24706
+ "leading": 16,
24707
+ "trailing": 16,
23875
24708
  "top": 14,
23876
24709
  "bottom": 14
23877
24710
  },
@@ -24142,7 +24975,9 @@ const SCREENS = runtimeSetting({
24142
24975
  "actionId": "himi.open",
24143
24976
  "params": {
24144
24977
  "screenId": "himi_service",
24145
- "id": "$item.serviceId"
24978
+ "id": "$item.serviceId",
24979
+ "sessionId": "$item.sessionId",
24980
+ "start": "$item.start"
24146
24981
  }
24147
24982
  },
24148
24983
  "pressFeedback": "highlight",
@@ -24309,7 +25144,9 @@ const SCREENS = runtimeSetting({
24309
25144
  "actionId": "himi.open",
24310
25145
  "params": {
24311
25146
  "screenId": "himi_service",
24312
- "id": "$item.serviceId"
25147
+ "id": "$item.serviceId",
25148
+ "sessionId": "$item.sessionId",
25149
+ "start": "$item.start"
24313
25150
  }
24314
25151
  },
24315
25152
  "accessibilityRole": "button",
@@ -24498,6 +25335,8 @@ const SCREENS = runtimeSetting({
24498
25335
  },
24499
25336
  "modifiers": {
24500
25337
  "padding": {
25338
+ "leading": 16,
25339
+ "trailing": 16,
24501
25340
  "top": 14,
24502
25341
  "bottom": 14
24503
25342
  },
@@ -24510,20 +25349,22 @@ const SCREENS = runtimeSetting({
24510
25349
  "package": "himalaya",
24511
25350
  "type": "Divider",
24512
25351
  "props": {}
25352
+ },
25353
+ "modifiers": {
25354
+ "hiddenPath": "$item.lastOfDay"
24513
25355
  }
24514
25356
  }
24515
25357
  ]
24516
25358
  }
24517
25359
  }
25360
+ },
25361
+ "onVisibleDateChange": {
25362
+ "actionId": "tier5.himiBrandedAgenda.visibleDate"
24518
25363
  }
24519
25364
  }
24520
25365
  },
24521
25366
  "modifiers": {
24522
25367
  "fillMaxWidth": true,
24523
- "padding": {
24524
- "leading": 20,
24525
- "trailing": 20
24526
- },
24527
25368
  "hiddenPath": "$service:himiBrandedAgenda.listHidden"
24528
25369
  }
24529
25370
  },
@@ -24644,6 +25485,58 @@ const SCREENS = runtimeSetting({
24644
25485
  "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
24645
25486
  }
24646
25487
  },
25488
+ {
25489
+ "id": "himi_agenda.location_empty",
25490
+ "body": {
25491
+ "package": "himalaya",
25492
+ "type": "VStack",
25493
+ "props": {
25494
+ "spacing": 22,
25495
+ "alignment": "center",
25496
+ "children": [
25497
+ {
25498
+ "id": "",
25499
+ "body": {
25500
+ "package": "himalaya",
25501
+ "type": "Text",
25502
+ "props": {
25503
+ "text": "No classes at this location in the coming weeks.",
25504
+ "style": "body",
25505
+ "color": "textPrimary",
25506
+ "textAlign": "center"
25507
+ }
25508
+ }
25509
+ },
25510
+ {
25511
+ "id": "himi_agenda.all_locations",
25512
+ "body": {
25513
+ "package": "himalaya",
25514
+ "type": "Button",
25515
+ "props": {
25516
+ "title": "Show all locations",
25517
+ "style": "secondary",
25518
+ "action": {
25519
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25520
+ "params": {
25521
+ "locationId": ""
25522
+ }
25523
+ }
25524
+ }
25525
+ }
25526
+ }
25527
+ ]
25528
+ }
25529
+ },
25530
+ "modifiers": {
25531
+ "padding": {
25532
+ "leading": 28,
25533
+ "trailing": 28,
25534
+ "top": 48
25535
+ },
25536
+ "fillMaxWidth": true,
25537
+ "hiddenPath": "$service:himiBrandedAgenda.notLocationEmpty"
25538
+ }
25539
+ },
24647
25540
  {
24648
25541
  "id": "himi_agenda.sheet",
24649
25542
  "body": {
@@ -24748,7 +25641,9 @@ const SCREENS = runtimeSetting({
24748
25641
  "nav": {
24749
25642
  "screenId": "himi_service",
24750
25643
  "args": {
24751
- "id": "$service:himiBrandedAgenda.sheetServiceId"
25644
+ "id": "$service:himiBrandedAgenda.sheetServiceId",
25645
+ "sessionId": "$service:himiBrandedAgenda.sheetSessionId",
25646
+ "start": "$service:himiBrandedAgenda.sheetStart"
24752
25647
  }
24753
25648
  }
24754
25649
  }
@@ -24822,6 +25717,184 @@ const SCREENS = runtimeSetting({
24822
25717
  }
24823
25718
  }
24824
25719
  },
25720
+ {
25721
+ "id": "himi_agenda.location_sheet",
25722
+ "body": {
25723
+ "package": "himalaya",
25724
+ "type": "BottomSheet",
25725
+ "props": {
25726
+ "presentedPath": "$service:himiBrandedAgenda.locationSheetOpen",
25727
+ "dismissible": true,
25728
+ "showGrabber": true,
25729
+ "onDismiss": {
25730
+ "actionId": "tier5.himiBrandedAgenda.closeLocations"
25731
+ },
25732
+ "content": {
25733
+ "id": "",
25734
+ "body": {
25735
+ "package": "himalaya",
25736
+ "type": "VStack",
25737
+ "props": {
25738
+ "spacing": 8,
25739
+ "alignment": "leading",
25740
+ "children": [
25741
+ {
25742
+ "id": "",
25743
+ "body": {
25744
+ "package": "himalaya",
25745
+ "type": "Text",
25746
+ "props": {
25747
+ "text": "Choose a location",
25748
+ "style": "title3"
25749
+ }
25750
+ }
25751
+ },
25752
+ {
25753
+ "id": "himi_agenda.location_options",
25754
+ "body": {
25755
+ "package": "himalaya",
25756
+ "type": "Grid",
25757
+ "props": {
25758
+ "columns": 1,
25759
+ "spacing": 0,
25760
+ "itemsPath": "$service:himiBrandedAgenda.locationOptions",
25761
+ "items": [
25762
+ {
25763
+ "id": "",
25764
+ "body": {
25765
+ "package": "himalaya",
25766
+ "type": "VStack",
25767
+ "props": {
25768
+ "spacing": 0,
25769
+ "children": [
25770
+ {
25771
+ "id": "",
25772
+ "body": {
25773
+ "package": "himalaya",
25774
+ "type": "HStack",
25775
+ "props": {
25776
+ "spacing": 12,
25777
+ "alignment": "center",
25778
+ "children": [
25779
+ {
25780
+ "id": "",
25781
+ "body": {
25782
+ "package": "himalaya",
25783
+ "type": "VStack",
25784
+ "props": {
25785
+ "spacing": 2,
25786
+ "alignment": "leading",
25787
+ "children": [
25788
+ {
25789
+ "id": "",
25790
+ "body": {
25791
+ "package": "himalaya",
25792
+ "type": "Text",
25793
+ "props": {
25794
+ "text": "$item.label",
25795
+ "style": "body",
25796
+ "maxLines": 2
25797
+ }
25798
+ }
25799
+ },
25800
+ {
25801
+ "id": "",
25802
+ "body": {
25803
+ "package": "himalaya",
25804
+ "type": "Text",
25805
+ "props": {
25806
+ "text": "$item.sub",
25807
+ "style": "caption",
25808
+ "color": "textSecondary",
25809
+ "maxLines": 2
25810
+ }
25811
+ },
25812
+ "modifiers": {
25813
+ "hiddenPath": "$item.noSub"
25814
+ }
25815
+ }
25816
+ ]
25817
+ }
25818
+ }
25819
+ },
25820
+ {
25821
+ "id": "",
25822
+ "body": {
25823
+ "package": "himalaya",
25824
+ "type": "Spacer",
25825
+ "props": {}
25826
+ }
25827
+ },
25828
+ {
25829
+ "id": "",
25830
+ "body": {
25831
+ "package": "himalaya",
25832
+ "type": "Icon",
25833
+ "props": {
25834
+ "name": "check",
25835
+ "size": 20,
25836
+ "tint": "accentPrimary"
25837
+ }
25838
+ },
25839
+ "modifiers": {
25840
+ "accessibilityRole": "decorative",
25841
+ "hiddenPath": "$item.notSelected"
25842
+ }
25843
+ }
25844
+ ]
25845
+ }
25846
+ },
25847
+ "modifiers": {
25848
+ "fillMaxWidth": true,
25849
+ "padding": {
25850
+ "top": 15,
25851
+ "bottom": 15
25852
+ }
25853
+ }
25854
+ },
25855
+ {
25856
+ "id": "",
25857
+ "body": {
25858
+ "package": "himalaya",
25859
+ "type": "Divider",
25860
+ "props": {}
25861
+ }
25862
+ }
25863
+ ]
25864
+ }
25865
+ },
25866
+ "modifiers": {
25867
+ "fillMaxWidth": true,
25868
+ "onTap": {
25869
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25870
+ "params": {
25871
+ "locationId": "$item.id"
25872
+ }
25873
+ },
25874
+ "pressFeedback": "highlight",
25875
+ "accessibilityRole": "button",
25876
+ "accessibilityLabel": "$item.a11y"
25877
+ }
25878
+ }
25879
+ ]
25880
+ }
25881
+ }
25882
+ }
25883
+ ]
25884
+ }
25885
+ },
25886
+ "modifiers": {
25887
+ "padding": {
25888
+ "leading": 20,
25889
+ "trailing": 20,
25890
+ "top": 8,
25891
+ "bottom": 24
25892
+ }
25893
+ }
25894
+ }
25895
+ }
25896
+ }
25897
+ },
24825
25898
  {
24826
25899
  "id": "himi_agenda.result",
24827
25900
  "body": {
@@ -25076,7 +26149,8 @@ const SCREENS = runtimeSetting({
25076
26149
  "wix_api",
25077
26150
  "app_info",
25078
26151
  "calendar",
25079
- "open_url"
26152
+ "open_url",
26153
+ "local_database"
25080
26154
  ],
25081
26155
  "minBinaryVersion": "0.1.0",
25082
26156
  "bundleVersion": "0.0.1"
@@ -25094,28 +26168,110 @@ const SCREENS = runtimeSetting({
25094
26168
  "alignment": "leading",
25095
26169
  "children": [
25096
26170
  {
25097
- "id": "himi_agenda.back",
26171
+ "id": "",
25098
26172
  "body": {
25099
26173
  "package": "himalaya",
25100
- "type": "Button",
26174
+ "type": "HStack",
25101
26175
  "props": {
25102
- "title": "Back",
25103
- "action": {
25104
- "actionId": "nav.back",
25105
- "presentation": "back"
25106
- },
25107
- "style": "tertiary",
25108
- "iconOnly": true,
25109
- "leadingIcon": "chevron_left",
25110
- "cornerRadius": 22,
25111
- "minHeight": 44
26176
+ "spacing": 0,
26177
+ "alignment": "center",
26178
+ "children": [
26179
+ {
26180
+ "id": "himi_agenda.back",
26181
+ "body": {
26182
+ "package": "himalaya",
26183
+ "type": "Button",
26184
+ "props": {
26185
+ "title": "Back",
26186
+ "action": {
26187
+ "actionId": "nav.back",
26188
+ "presentation": "back"
26189
+ },
26190
+ "style": "tertiary",
26191
+ "iconOnly": true,
26192
+ "leadingIcon": "chevron_left",
26193
+ "cornerRadius": 22,
26194
+ "minHeight": 44
26195
+ }
26196
+ },
26197
+ "modifiers": {
26198
+ "width": 44,
26199
+ "height": 44,
26200
+ "accessibilityLabel": "Back",
26201
+ "accessibilityRole": "button"
26202
+ }
26203
+ },
26204
+ {
26205
+ "id": "",
26206
+ "body": {
26207
+ "package": "himalaya",
26208
+ "type": "Spacer",
26209
+ "props": {}
26210
+ }
26211
+ },
26212
+ {
26213
+ "id": "himi_agenda.location",
26214
+ "body": {
26215
+ "package": "himalaya",
26216
+ "type": "ZStack",
26217
+ "props": {
26218
+ "children": [
26219
+ {
26220
+ "id": "",
26221
+ "body": {
26222
+ "package": "himalaya",
26223
+ "type": "Icon",
26224
+ "props": {
26225
+ "name": "location",
26226
+ "size": 22,
26227
+ "tint": "textPrimary"
26228
+ }
26229
+ },
26230
+ "modifiers": {
26231
+ "accessibilityRole": "decorative",
26232
+ "hiddenPath": "$service:himiBrandedAgenda.locationActive"
26233
+ }
26234
+ },
26235
+ {
26236
+ "id": "",
26237
+ "body": {
26238
+ "package": "himalaya",
26239
+ "type": "Icon",
26240
+ "props": {
26241
+ "name": "location",
26242
+ "size": 22,
26243
+ "tint": "accentPrimary"
26244
+ }
26245
+ },
26246
+ "modifiers": {
26247
+ "accessibilityRole": "decorative",
26248
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationActive"
26249
+ }
26250
+ }
26251
+ ]
26252
+ }
26253
+ },
26254
+ "modifiers": {
26255
+ "width": 44,
26256
+ "height": 44,
26257
+ "onTap": {
26258
+ "actionId": "tier5.himiBrandedAgenda.openLocations"
26259
+ },
26260
+ "pressFeedback": "highlight",
26261
+ "accessibilityRole": "button",
26262
+ "accessibilityLabel": "$service:himiBrandedAgenda.locationA11y",
26263
+ "accessibilityHint": "Choose a location",
26264
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationMenu"
26265
+ }
26266
+ }
26267
+ ]
25112
26268
  }
25113
26269
  },
25114
26270
  "modifiers": {
25115
- "width": 44,
25116
- "height": 44,
25117
- "accessibilityLabel": "Back",
25118
- "accessibilityRole": "button"
26271
+ "fillMaxWidth": true,
26272
+ "padding": {
26273
+ "trailing": 4
26274
+ }
25119
26275
  }
25120
26276
  },
25121
26277
  {
@@ -33864,234 +35020,178 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33864
35020
  }
33865
35021
  },
33866
35022
  {
33867
- "id": "himi_product.return_policy",
35023
+ "id": "himi_product.info_sections",
33868
35024
  "body": {
33869
35025
  "package": "himalaya",
33870
- "type": "VStack",
35026
+ "type": "LazyList",
33871
35027
  "props": {
33872
- "spacing": 0,
33873
- "alignment": "leading",
33874
- "children": [
35028
+ "itemsPath": "$service:himiStoreProduct.infoSections",
35029
+ "items": [
33875
35030
  {
33876
- "id": "himi_product.return_policy.header",
35031
+ "id": "himi_product.info_$item.id",
33877
35032
  "body": {
33878
35033
  "package": "himalaya",
33879
- "type": "HStack",
35034
+ "type": "VStack",
33880
35035
  "props": {
33881
- "spacing": 12,
35036
+ "spacing": 0,
35037
+ "alignment": "leading",
33882
35038
  "children": [
33883
35039
  {
33884
35040
  "id": "",
33885
35041
  "body": {
33886
35042
  "package": "himalaya",
33887
- "type": "Text",
33888
- "props": {
33889
- "text": "Return & refund policy",
33890
- "style": "body",
33891
- "maxLines": 2
33892
- }
33893
- }
33894
- },
33895
- {
33896
- "id": "",
33897
- "body": {
33898
- "package": "himalaya",
33899
- "type": "Spacer",
33900
- "props": {}
33901
- }
33902
- },
33903
- {
33904
- "id": "",
33905
- "body": {
33906
- "package": "himalaya",
33907
- "type": "Icon",
35043
+ "type": "HStack",
33908
35044
  "props": {
33909
- "name": "chevron_down",
33910
- "size": 16,
33911
- "tint": "textSecondary"
35045
+ "spacing": 12,
35046
+ "children": [
35047
+ {
35048
+ "id": "",
35049
+ "body": {
35050
+ "package": "himalaya",
35051
+ "type": "Text",
35052
+ "props": {
35053
+ "text": "$item.title",
35054
+ "style": "body"
35055
+ }
35056
+ }
35057
+ },
35058
+ {
35059
+ "id": "",
35060
+ "body": {
35061
+ "package": "himalaya",
35062
+ "type": "Spacer",
35063
+ "props": {}
35064
+ }
35065
+ },
35066
+ {
35067
+ "id": "",
35068
+ "body": {
35069
+ "package": "himalaya",
35070
+ "type": "Icon",
35071
+ "props": {
35072
+ "name": "chevron_down",
35073
+ "size": 16,
35074
+ "tint": "textSecondary"
35075
+ }
35076
+ },
35077
+ "modifiers": {
35078
+ "accessibilityRole": "decorative",
35079
+ "hiddenPath": "$item.expanded"
35080
+ }
35081
+ },
35082
+ {
35083
+ "id": "",
35084
+ "body": {
35085
+ "package": "himalaya",
35086
+ "type": "Icon",
35087
+ "props": {
35088
+ "name": "chevron_up",
35089
+ "size": 16,
35090
+ "tint": "textSecondary"
35091
+ }
35092
+ },
35093
+ "modifiers": {
35094
+ "accessibilityRole": "decorative",
35095
+ "hiddenPath": "$item.collapsed"
35096
+ }
35097
+ }
35098
+ ]
33912
35099
  }
33913
35100
  },
33914
35101
  "modifiers": {
33915
- "accessibilityRole": "decorative",
33916
- "hiddenPath": "$service:himiStoreProduct.returnPolicyExpanded"
35102
+ "fillMaxWidth": true,
35103
+ "padding": {
35104
+ "top": 16,
35105
+ "bottom": 16
35106
+ },
35107
+ "onTap": {
35108
+ "actionId": "tier5.himiStoreProduct.toggleInfoSection",
35109
+ "params": {
35110
+ "id": "$item.id"
35111
+ }
35112
+ },
35113
+ "pressFeedback": "highlight",
35114
+ "accessibilityRole": "button",
35115
+ "accessibilityLabel": "$item.title",
35116
+ "hiddenPath": "$item.noTitle"
33917
35117
  }
33918
35118
  },
33919
35119
  {
33920
35120
  "id": "",
33921
35121
  "body": {
33922
35122
  "package": "himalaya",
33923
- "type": "Icon",
35123
+ "type": "VStack",
33924
35124
  "props": {
33925
- "name": "chevron_up",
33926
- "size": 16,
33927
- "tint": "textSecondary"
35125
+ "spacing": 0,
35126
+ "alignment": "leading",
35127
+ "children": [
35128
+ {
35129
+ "id": "himi_product.info_body_$item.id",
35130
+ "body": {
35131
+ "package": "himalaya",
35132
+ "type": "RichContent",
35133
+ "props": {
35134
+ "documentJsonPath": "$item.bodyJson",
35135
+ "onLink": {
35136
+ "actionId": "tier5.himiStoreProduct.openLink"
35137
+ },
35138
+ "fallback": {
35139
+ "id": "",
35140
+ "body": {
35141
+ "package": "himalaya",
35142
+ "type": "Text",
35143
+ "props": {
35144
+ "text": "$item.body",
35145
+ "style": "body",
35146
+ "color": "textSecondary",
35147
+ "collapseWhenEmpty": true
35148
+ }
35149
+ }
35150
+ }
35151
+ }
35152
+ }
35153
+ },
35154
+ {
35155
+ "id": "",
35156
+ "body": {
35157
+ "package": "himalaya",
35158
+ "type": "Text",
35159
+ "props": {
35160
+ "text": "$item.body",
35161
+ "style": "body",
35162
+ "color": "textSecondary",
35163
+ "collapseWhenEmpty": true
35164
+ }
35165
+ },
35166
+ "modifiers": {
35167
+ "hiddenPath": "$item.hasBodyJson"
35168
+ }
35169
+ }
35170
+ ]
33928
35171
  }
33929
35172
  },
33930
35173
  "modifiers": {
33931
- "accessibilityRole": "decorative",
33932
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
33933
- }
33934
- }
33935
- ]
33936
- }
33937
- },
33938
- "modifiers": {
33939
- "fillMaxWidth": true,
33940
- "padding": {
33941
- "top": 18,
33942
- "bottom": 18
33943
- },
33944
- "onTap": {
33945
- "actionId": "tier5.himiStoreProduct.toggleReturnPolicy"
33946
- },
33947
- "pressFeedback": "highlight",
33948
- "accessibilityRole": "button",
33949
- "accessibilityLabel": "Return & refund policy"
33950
- }
33951
- },
33952
- {
33953
- "id": "",
33954
- "body": {
33955
- "package": "himalaya",
33956
- "type": "Text",
33957
- "props": {
33958
- "text": "$service:himiStoreProduct.returnPolicyBody",
33959
- "style": "body",
33960
- "color": "textSecondary"
33961
- }
33962
- },
33963
- "modifiers": {
33964
- "padding": {
33965
- "bottom": 18
33966
- },
33967
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
33968
- }
33969
- },
33970
- {
33971
- "id": "",
33972
- "body": {
33973
- "package": "himalaya",
33974
- "type": "Divider",
33975
- "props": {}
33976
- }
33977
- }
33978
- ]
33979
- }
33980
- }
33981
- },
33982
- {
33983
- "id": "himi_product.shipping_info",
33984
- "body": {
33985
- "package": "himalaya",
33986
- "type": "VStack",
33987
- "props": {
33988
- "spacing": 0,
33989
- "alignment": "leading",
33990
- "children": [
33991
- {
33992
- "id": "himi_product.shipping_info.header",
33993
- "body": {
33994
- "package": "himalaya",
33995
- "type": "HStack",
33996
- "props": {
33997
- "spacing": 12,
33998
- "children": [
33999
- {
34000
- "id": "",
34001
- "body": {
34002
- "package": "himalaya",
34003
- "type": "Text",
34004
- "props": {
34005
- "text": "Shipping info",
34006
- "style": "body",
34007
- "maxLines": 2
34008
- }
35174
+ "padding": {
35175
+ "bottom": 16
35176
+ },
35177
+ "fillMaxWidth": true,
35178
+ "hiddenPath": "$item.collapsed"
34009
35179
  }
34010
35180
  },
34011
35181
  {
34012
35182
  "id": "",
34013
35183
  "body": {
34014
35184
  "package": "himalaya",
34015
- "type": "Spacer",
35185
+ "type": "Divider",
34016
35186
  "props": {}
34017
35187
  }
34018
- },
34019
- {
34020
- "id": "",
34021
- "body": {
34022
- "package": "himalaya",
34023
- "type": "Icon",
34024
- "props": {
34025
- "name": "chevron_down",
34026
- "size": 16,
34027
- "tint": "textSecondary"
34028
- }
34029
- },
34030
- "modifiers": {
34031
- "accessibilityRole": "decorative",
34032
- "hiddenPath": "$service:himiStoreProduct.shippingInfoExpanded"
34033
- }
34034
- },
34035
- {
34036
- "id": "",
34037
- "body": {
34038
- "package": "himalaya",
34039
- "type": "Icon",
34040
- "props": {
34041
- "name": "chevron_up",
34042
- "size": 16,
34043
- "tint": "textSecondary"
34044
- }
34045
- },
34046
- "modifiers": {
34047
- "accessibilityRole": "decorative",
34048
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
34049
- }
34050
35188
  }
34051
35189
  ]
34052
35190
  }
34053
- },
34054
- "modifiers": {
34055
- "fillMaxWidth": true,
34056
- "padding": {
34057
- "top": 18,
34058
- "bottom": 18
34059
- },
34060
- "onTap": {
34061
- "actionId": "tier5.himiStoreProduct.toggleShippingInfo"
34062
- },
34063
- "pressFeedback": "highlight",
34064
- "accessibilityRole": "button",
34065
- "accessibilityLabel": "Shipping info"
34066
- }
34067
- },
34068
- {
34069
- "id": "",
34070
- "body": {
34071
- "package": "himalaya",
34072
- "type": "Text",
34073
- "props": {
34074
- "text": "$service:himiStoreProduct.shippingInfoBody",
34075
- "style": "body",
34076
- "color": "textSecondary"
34077
- }
34078
- },
34079
- "modifiers": {
34080
- "padding": {
34081
- "bottom": 18
34082
- },
34083
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
34084
- }
34085
- },
34086
- {
34087
- "id": "",
34088
- "body": {
34089
- "package": "himalaya",
34090
- "type": "Divider",
34091
- "props": {}
34092
35191
  }
34093
35192
  }
34094
- ]
35193
+ ],
35194
+ "spacing": 0
34095
35195
  }
34096
35196
  }
34097
35197
  }
@@ -35381,7 +36481,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35381
36481
  "alignment": "leading",
35382
36482
  "children": [
35383
36483
  {
35384
- "id": "",
36484
+ "id": "himi_service.title",
36485
+ "body": {
36486
+ "package": "himalaya",
36487
+ "type": "Text",
36488
+ "props": {
36489
+ "text": "$service:himiBookingService.name",
36490
+ "style": "pageTitle",
36491
+ "maxLines": 3,
36492
+ "collapseWhenEmpty": true
36493
+ }
36494
+ }
36495
+ },
36496
+ {
36497
+ "id": "himi_service.session_when",
35385
36498
  "body": {
35386
36499
  "package": "himalaya",
35387
36500
  "type": "HStack",
@@ -35390,62 +36503,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35390
36503
  "alignment": "center",
35391
36504
  "children": [
35392
36505
  {
35393
- "id": "himi_service.category",
36506
+ "id": "",
35394
36507
  "body": {
35395
36508
  "package": "himalaya",
35396
- "type": "Text",
36509
+ "type": "Icon",
35397
36510
  "props": {
35398
- "text": "$service:himiBookingService.category",
35399
- "style": "footnote",
35400
- "color": "textSecondary",
35401
- "maxLines": 1
36511
+ "name": "calendar",
36512
+ "size": 20,
36513
+ "tint": "textSecondary"
35402
36514
  }
35403
36515
  },
35404
36516
  "modifiers": {
35405
- "hiddenPath": "$service:himiBookingService.noCategory"
36517
+ "accessibilityRole": "decorative"
35406
36518
  }
35407
36519
  },
35408
36520
  {
35409
- "id": "himi_service.type_tag",
36521
+ "id": "",
35410
36522
  "body": {
35411
36523
  "package": "himalaya",
35412
36524
  "type": "Text",
35413
36525
  "props": {
35414
- "text": "$service:himiBookingService.typeTag",
35415
- "style": "caption",
35416
- "color": "textSecondary",
35417
- "maxLines": 1
36526
+ "text": "$service:himiBookingService.sessionWhen",
36527
+ "style": "bodyEmphasis",
36528
+ "maxLines": 2
35418
36529
  }
35419
36530
  },
35420
36531
  "modifiers": {
35421
- "background": {
35422
- "token": "surfaceTertiary"
35423
- },
35424
- "cornerRadius": 4,
35425
- "padding": {
35426
- "leading": 8,
35427
- "trailing": 8,
35428
- "top": 2,
35429
- "bottom": 2
35430
- },
35431
- "hiddenPath": "$service:himiBookingService.noTypeTag"
36532
+ "weight": 1
36533
+ }
36534
+ },
36535
+ {
36536
+ "id": "himi_service.change_time",
36537
+ "body": {
36538
+ "package": "himalaya",
36539
+ "type": "Button",
36540
+ "props": {
36541
+ "title": "Change Time",
36542
+ "style": "tertiary",
36543
+ "size": "sm",
36544
+ "action": {
36545
+ "actionId": "tier5.himiBookingService.changeTime"
36546
+ }
36547
+ }
36548
+ },
36549
+ "modifiers": {
36550
+ "hiddenPath": "$service:himiBookingService.noChangeTime"
35432
36551
  }
35433
36552
  }
35434
36553
  ]
35435
36554
  }
35436
- }
35437
- },
35438
- {
35439
- "id": "himi_service.title",
35440
- "body": {
35441
- "package": "himalaya",
35442
- "type": "Text",
35443
- "props": {
35444
- "text": "$service:himiBookingService.name",
35445
- "style": "pageTitle",
35446
- "maxLines": 3,
35447
- "collapseWhenEmpty": true
35448
- }
36555
+ },
36556
+ "modifiers": {
36557
+ "fillMaxWidth": true,
36558
+ "hiddenPath": "$service:himiBookingService.noSession"
35449
36559
  }
35450
36560
  },
35451
36561
  {
@@ -35556,6 +36666,104 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35556
36666
  "spacing": 16,
35557
36667
  "alignment": "leading",
35558
36668
  "children": [
36669
+ {
36670
+ "id": "himi_service.session",
36671
+ "body": {
36672
+ "package": "himalaya",
36673
+ "type": "HStack",
36674
+ "props": {
36675
+ "spacing": 12,
36676
+ "alignment": "center",
36677
+ "children": [
36678
+ {
36679
+ "id": "",
36680
+ "body": {
36681
+ "package": "himalaya",
36682
+ "type": "ZStack",
36683
+ "props": {
36684
+ "alignment": "center",
36685
+ "children": [
36686
+ {
36687
+ "id": "",
36688
+ "body": {
36689
+ "package": "himalaya",
36690
+ "type": "Icon",
36691
+ "props": {
36692
+ "name": "calendar",
36693
+ "size": 20,
36694
+ "tint": "textSecondary"
36695
+ }
36696
+ },
36697
+ "modifiers": {
36698
+ "accessibilityRole": "decorative"
36699
+ }
36700
+ }
36701
+ ]
36702
+ }
36703
+ },
36704
+ "modifiers": {
36705
+ "width": 20,
36706
+ "height": 20
36707
+ }
36708
+ },
36709
+ {
36710
+ "id": "",
36711
+ "body": {
36712
+ "package": "himalaya",
36713
+ "type": "VStack",
36714
+ "props": {
36715
+ "spacing": 2,
36716
+ "alignment": "leading",
36717
+ "children": [
36718
+ {
36719
+ "id": "",
36720
+ "body": {
36721
+ "package": "himalaya",
36722
+ "type": "Text",
36723
+ "props": {
36724
+ "text": "$service:himiBookingService.sessionDate",
36725
+ "style": "body",
36726
+ "color": "textPrimary",
36727
+ "maxLines": 2
36728
+ }
36729
+ }
36730
+ },
36731
+ {
36732
+ "id": "",
36733
+ "body": {
36734
+ "package": "himalaya",
36735
+ "type": "Text",
36736
+ "props": {
36737
+ "text": "$service:himiBookingService.sessionTime",
36738
+ "style": "caption",
36739
+ "color": "textSecondary",
36740
+ "maxLines": 1,
36741
+ "collapseWhenEmpty": true
36742
+ }
36743
+ }
36744
+ }
36745
+ ]
36746
+ }
36747
+ }
36748
+ },
36749
+ {
36750
+ "id": "",
36751
+ "body": {
36752
+ "package": "himalaya",
36753
+ "type": "Spacer",
36754
+ "props": {}
36755
+ }
36756
+ }
36757
+ ]
36758
+ }
36759
+ },
36760
+ "modifiers": {
36761
+ "fillMaxWidth": true,
36762
+ "accessibilityLabel": "$service:himiBookingService.sessionDate",
36763
+ "accessibilityValue": "$service:himiBookingService.sessionTime",
36764
+ "hiddenPath": "$service:himiBookingService.noSession"
36765
+ }
36766
+ },
35559
36767
  {
35560
36768
  "id": "himi_service.course_dates",
35561
36769
  "body": {
@@ -36954,7 +38162,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36954
38162
  "bottom": 24
36955
38163
  },
36956
38164
  "onAppear": {
36957
- "actionId": "tier5.himiBookingService.load"
38165
+ "actionId": "tier5.himiBookingService.load",
38166
+ "params": {
38167
+ "signInScreenId": "himi_sign_in",
38168
+ "signInPresentation": "sheet"
38169
+ }
36958
38170
  }
36959
38171
  }
36960
38172
  },
@@ -37011,6 +38223,77 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37011
38223
  "props": {
37012
38224
  "spacing": 0,
37013
38225
  "children": [
38226
+ {
38227
+ "id": "himi_service.session_message",
38228
+ "body": {
38229
+ "package": "himalaya",
38230
+ "type": "HStack",
38231
+ "props": {
38232
+ "spacing": 8,
38233
+ "alignment": "center",
38234
+ "children": [
38235
+ {
38236
+ "id": "",
38237
+ "body": {
38238
+ "package": "himalaya",
38239
+ "type": "Icon",
38240
+ "props": {
38241
+ "name": "check",
38242
+ "size": 20,
38243
+ "tint": "success"
38244
+ }
38245
+ },
38246
+ "modifiers": {
38247
+ "accessibilityRole": "decorative",
38248
+ "hiddenPath": "$service:himiBookingService.sessionMessageFailed"
38249
+ }
38250
+ },
38251
+ {
38252
+ "id": "",
38253
+ "body": {
38254
+ "package": "himalaya",
38255
+ "type": "Icon",
38256
+ "props": {
38257
+ "name": "info",
38258
+ "size": 20,
38259
+ "tint": "accentPrimary"
38260
+ }
38261
+ },
38262
+ "modifiers": {
38263
+ "accessibilityRole": "decorative",
38264
+ "hiddenPath": "$service:himiBookingService.sessionMessageOk"
38265
+ }
38266
+ },
38267
+ {
38268
+ "id": "",
38269
+ "body": {
38270
+ "package": "himalaya",
38271
+ "type": "Text",
38272
+ "props": {
38273
+ "text": "$service:himiBookingService.sessionMessage",
38274
+ "style": "footnote",
38275
+ "color": "textPrimary",
38276
+ "maxLines": 2
38277
+ }
38278
+ },
38279
+ "modifiers": {
38280
+ "weight": 1,
38281
+ "announce": {
38282
+ "politeness": "polite"
38283
+ }
38284
+ }
38285
+ }
38286
+ ]
38287
+ }
38288
+ },
38289
+ "modifiers": {
38290
+ "fillMaxWidth": true,
38291
+ "padding": {
38292
+ "bottom": 12
38293
+ },
38294
+ "hiddenPath": "$service:himiBookingService.noSessionMessage"
38295
+ }
38296
+ },
37014
38297
  {
37015
38298
  "id": "himi_service.choose_time",
37016
38299
  "body": {
@@ -37136,6 +38419,251 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37136
38419
  "modifiers": {
37137
38420
  "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
37138
38421
  }
38422
+ },
38423
+ {
38424
+ "id": "himi_service.session_book",
38425
+ "body": {
38426
+ "package": "himalaya",
38427
+ "type": "Button",
38428
+ "props": {
38429
+ "title": "Book",
38430
+ "style": "primary",
38431
+ "fullWidth": true,
38432
+ "action": {
38433
+ "actionId": "tier5.himiBookingService.book"
38434
+ }
38435
+ }
38436
+ },
38437
+ "modifiers": {
38438
+ "cornerRadius": 8,
38439
+ "pressFeedback": "scale",
38440
+ "haptic": "medium",
38441
+ "height": 48,
38442
+ "hiddenPath": "$service:himiBookingService.noSessionBook"
38443
+ }
38444
+ },
38445
+ {
38446
+ "id": "himi_service.session_request",
38447
+ "body": {
38448
+ "package": "himalaya",
38449
+ "type": "Button",
38450
+ "props": {
38451
+ "title": "Request to Book",
38452
+ "style": "primary",
38453
+ "fullWidth": true,
38454
+ "action": {
38455
+ "actionId": "tier5.himiBookingService.book"
38456
+ }
38457
+ }
38458
+ },
38459
+ "modifiers": {
38460
+ "cornerRadius": 8,
38461
+ "pressFeedback": "scale",
38462
+ "haptic": "medium",
38463
+ "height": 48,
38464
+ "hiddenPath": "$service:himiBookingService.noSessionRequest"
38465
+ }
38466
+ },
38467
+ {
38468
+ "id": "himi_service.session_waitlist",
38469
+ "body": {
38470
+ "package": "himalaya",
38471
+ "type": "Button",
38472
+ "props": {
38473
+ "title": "Join Waitlist",
38474
+ "style": "primary",
38475
+ "fullWidth": true,
38476
+ "action": {
38477
+ "actionId": "tier5.himiBookingService.joinWaitlist"
38478
+ }
38479
+ }
38480
+ },
38481
+ "modifiers": {
38482
+ "cornerRadius": 8,
38483
+ "pressFeedback": "scale",
38484
+ "haptic": "medium",
38485
+ "height": 48,
38486
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlist"
38487
+ }
38488
+ },
38489
+ {
38490
+ "id": "himi_service.session_closed",
38491
+ "body": {
38492
+ "package": "himalaya",
38493
+ "type": "VStack",
38494
+ "props": {
38495
+ "spacing": 8,
38496
+ "alignment": "center",
38497
+ "children": [
38498
+ {
38499
+ "id": "",
38500
+ "body": {
38501
+ "package": "himalaya",
38502
+ "type": "Text",
38503
+ "props": {
38504
+ "text": "$service:himiBookingService.closedLabel",
38505
+ "style": "footnote",
38506
+ "color": "textSecondary",
38507
+ "maxLines": 1,
38508
+ "textAlign": "center"
38509
+ }
38510
+ },
38511
+ "modifiers": {
38512
+ "accessibilityHidden": true
38513
+ }
38514
+ },
38515
+ {
38516
+ "id": "himi_service.session_book_closed",
38517
+ "body": {
38518
+ "package": "himalaya",
38519
+ "type": "Button",
38520
+ "props": {
38521
+ "title": "Book",
38522
+ "style": "primary",
38523
+ "fullWidth": true,
38524
+ "disabled": true,
38525
+ "action": {
38526
+ "actionId": "tier5.himiBookingService.book"
38527
+ }
38528
+ }
38529
+ },
38530
+ "modifiers": {
38531
+ "height": 48,
38532
+ "cornerRadius": 8,
38533
+ "accessibilityValue": "$service:himiBookingService.closedLabel"
38534
+ }
38535
+ }
38536
+ ]
38537
+ }
38538
+ },
38539
+ "modifiers": {
38540
+ "fillMaxWidth": true,
38541
+ "hiddenPath": "$service:himiBookingService.noSessionClosed"
38542
+ }
38543
+ },
38544
+ {
38545
+ "id": "himi_service.session_booked",
38546
+ "body": {
38547
+ "package": "himalaya",
38548
+ "type": "ZStack",
38549
+ "props": {
38550
+ "alignment": "center",
38551
+ "children": [
38552
+ {
38553
+ "id": "",
38554
+ "body": {
38555
+ "package": "himalaya",
38556
+ "type": "HStack",
38557
+ "props": {
38558
+ "spacing": 8,
38559
+ "alignment": "center",
38560
+ "children": [
38561
+ {
38562
+ "id": "",
38563
+ "body": {
38564
+ "package": "himalaya",
38565
+ "type": "Icon",
38566
+ "props": {
38567
+ "name": "check",
38568
+ "size": 20,
38569
+ "tint": "success"
38570
+ }
38571
+ },
38572
+ "modifiers": {
38573
+ "accessibilityRole": "decorative"
38574
+ }
38575
+ },
38576
+ {
38577
+ "id": "",
38578
+ "body": {
38579
+ "package": "himalaya",
38580
+ "type": "Text",
38581
+ "props": {
38582
+ "text": "Booked",
38583
+ "style": "bodyEmphasis",
38584
+ "color": "textPrimary",
38585
+ "maxLines": 1
38586
+ }
38587
+ }
38588
+ }
38589
+ ]
38590
+ }
38591
+ }
38592
+ }
38593
+ ]
38594
+ }
38595
+ },
38596
+ "modifiers": {
38597
+ "fillMaxWidth": true,
38598
+ "height": 48,
38599
+ "background": {
38600
+ "token": "surfaceSecondary"
38601
+ },
38602
+ "cornerRadius": 8,
38603
+ "hiddenPath": "$service:himiBookingService.noSessionBooked"
38604
+ }
38605
+ },
38606
+ {
38607
+ "id": "himi_service.session_waitlisted",
38608
+ "body": {
38609
+ "package": "himalaya",
38610
+ "type": "ZStack",
38611
+ "props": {
38612
+ "alignment": "center",
38613
+ "children": [
38614
+ {
38615
+ "id": "",
38616
+ "body": {
38617
+ "package": "himalaya",
38618
+ "type": "HStack",
38619
+ "props": {
38620
+ "spacing": 8,
38621
+ "alignment": "center",
38622
+ "children": [
38623
+ {
38624
+ "id": "",
38625
+ "body": {
38626
+ "package": "himalaya",
38627
+ "type": "Icon",
38628
+ "props": {
38629
+ "name": "clock",
38630
+ "size": 20,
38631
+ "tint": "textSecondary"
38632
+ }
38633
+ },
38634
+ "modifiers": {
38635
+ "accessibilityRole": "decorative"
38636
+ }
38637
+ },
38638
+ {
38639
+ "id": "",
38640
+ "body": {
38641
+ "package": "himalaya",
38642
+ "type": "Text",
38643
+ "props": {
38644
+ "text": "On waitlist",
38645
+ "style": "bodyEmphasis",
38646
+ "color": "textPrimary",
38647
+ "maxLines": 1
38648
+ }
38649
+ }
38650
+ }
38651
+ ]
38652
+ }
38653
+ }
38654
+ }
38655
+ ]
38656
+ }
38657
+ },
38658
+ "modifiers": {
38659
+ "fillMaxWidth": true,
38660
+ "height": 48,
38661
+ "background": {
38662
+ "token": "surfaceSecondary"
38663
+ },
38664
+ "cornerRadius": 8,
38665
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlisted"
38666
+ }
37139
38667
  }
37140
38668
  ]
37141
38669
  }