@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
@@ -3772,7 +3772,7 @@ const SCREENS = runtimeSetting({
3772
3772
  "package": "himalaya",
3773
3773
  "type": "Text",
3774
3774
  "props": {
3775
- "text": "Settings",
3775
+ "text": "Appearance",
3776
3776
  "style": "body",
3777
3777
  "maxLines": 1
3778
3778
  }
@@ -3804,7 +3804,88 @@ const SCREENS = runtimeSetting({
3804
3804
  "pressFeedback": "highlight",
3805
3805
  "haptic": "light",
3806
3806
  "accessibilityRole": "button",
3807
- "accessibilityLabel": "Settings"
3807
+ "accessibilityLabel": "Appearance"
3808
+ }
3809
+ },
3810
+ {
3811
+ "id": "himi_account.notification_settings",
3812
+ "body": {
3813
+ "package": "himalaya",
3814
+ "type": "HStack",
3815
+ "props": {
3816
+ "spacing": 12,
3817
+ "alignment": "center",
3818
+ "children": [
3819
+ {
3820
+ "id": "",
3821
+ "body": {
3822
+ "package": "himalaya",
3823
+ "type": "ZStack",
3824
+ "props": {
3825
+ "alignment": "center",
3826
+ "children": [
3827
+ {
3828
+ "id": "",
3829
+ "body": {
3830
+ "package": "himalaya",
3831
+ "type": "Icon",
3832
+ "props": {
3833
+ "name": "bell",
3834
+ "size": 20,
3835
+ "tint": "textPrimary"
3836
+ }
3837
+ },
3838
+ "modifiers": {
3839
+ "accessibilityRole": "decorative"
3840
+ }
3841
+ }
3842
+ ]
3843
+ }
3844
+ },
3845
+ "modifiers": {
3846
+ "width": 24,
3847
+ "height": 24
3848
+ }
3849
+ },
3850
+ {
3851
+ "id": "",
3852
+ "body": {
3853
+ "package": "himalaya",
3854
+ "type": "Text",
3855
+ "props": {
3856
+ "text": "Notification Settings",
3857
+ "style": "body",
3858
+ "maxLines": 1
3859
+ }
3860
+ }
3861
+ },
3862
+ {
3863
+ "id": "",
3864
+ "body": {
3865
+ "package": "himalaya",
3866
+ "type": "Spacer",
3867
+ "props": {}
3868
+ }
3869
+ }
3870
+ ]
3871
+ }
3872
+ },
3873
+ "modifiers": {
3874
+ "fillMaxWidth": true,
3875
+ "padding": {
3876
+ "top": 12,
3877
+ "bottom": 12
3878
+ },
3879
+ "onTap": {
3880
+ "actionId": "himi.open",
3881
+ "params": {
3882
+ "screenId": "himi_notif_settings"
3883
+ }
3884
+ },
3885
+ "pressFeedback": "highlight",
3886
+ "haptic": "light",
3887
+ "accessibilityRole": "button",
3888
+ "accessibilityLabel": "Notification Settings"
3808
3889
  }
3809
3890
  },
3810
3891
  {
@@ -7045,8 +7126,8 @@ const SCREENS = runtimeSetting({
7045
7126
  "bundleVersion": "0.0.1"
7046
7127
  }
7047
7128
  },
7048
- "himi_view_profile": {
7049
- "screenId": "himi_view_profile",
7129
+ "himi_notif_settings": {
7130
+ "screenId": "himi_notif_settings",
7050
7131
  "renderer": "sdui_intent",
7051
7132
  "title": "",
7052
7133
  "schemaVersion": 1,
@@ -7055,183 +7136,317 @@ const SCREENS = runtimeSetting({
7055
7136
  "staleWhileRevalidate": 0
7056
7137
  },
7057
7138
  "payload": {
7058
- "id": "himi_view_profile.root",
7139
+ "id": "himi_notif_settings.root",
7059
7140
  "body": {
7060
7141
  "package": "himalaya",
7061
7142
  "type": "VStack",
7062
7143
  "props": {
7063
- "spacing": 8,
7064
- "alignment": "center",
7144
+ "spacing": 16,
7145
+ "alignment": "leading",
7065
7146
  "children": [
7066
7147
  {
7067
- "id": "himi_view_profile.loading",
7148
+ "id": "himi_notif_settings.title",
7068
7149
  "body": {
7069
7150
  "package": "himalaya",
7070
7151
  "type": "Text",
7071
7152
  "props": {
7072
- "text": "Loading…",
7153
+ "text": "Notification Settings",
7154
+ "style": "title1"
7155
+ }
7156
+ }
7157
+ },
7158
+ {
7159
+ "id": "",
7160
+ "body": {
7161
+ "package": "himalaya",
7162
+ "type": "Text",
7163
+ "props": {
7164
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
7073
7165
  "style": "body",
7074
7166
  "color": "textSecondary"
7075
7167
  }
7076
7168
  },
7077
7169
  "modifiers": {
7078
- "hiddenPath": "$service:spacesViewProfile.hideLoading"
7170
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
7079
7171
  }
7080
7172
  },
7081
7173
  {
7082
7174
  "id": "",
7175
+ "body": {
7176
+ "package": "himalaya",
7177
+ "type": "Text",
7178
+ "props": {
7179
+ "text": "Example topics — your notification preferences will appear here.",
7180
+ "style": "body",
7181
+ "color": "textSecondary"
7182
+ }
7183
+ },
7184
+ "modifiers": {
7185
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
7186
+ }
7187
+ },
7188
+ {
7189
+ "id": "himi_notif_settings.sample_banner",
7190
+ "body": {
7191
+ "package": "himalaya",
7192
+ "type": "Banner",
7193
+ "props": {
7194
+ "severity": "warning",
7195
+ "title": "Sample content",
7196
+ "message": "These are example settings — none are configured yet."
7197
+ }
7198
+ },
7199
+ "modifiers": {
7200
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
7201
+ }
7202
+ },
7203
+ {
7204
+ "id": "himi_notif_settings.unavailable_banner",
7205
+ "body": {
7206
+ "package": "himalaya",
7207
+ "type": "Banner",
7208
+ "props": {
7209
+ "severity": "warning",
7210
+ "title": "Sample content",
7211
+ "message": "Your notification settings couldn't be loaded."
7212
+ }
7213
+ },
7214
+ "modifiers": {
7215
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
7216
+ }
7217
+ },
7218
+ {
7219
+ "id": "himi_notif_settings.action_message",
7220
+ "body": {
7221
+ "package": "himalaya",
7222
+ "type": "Text",
7223
+ "props": {
7224
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
7225
+ "style": "body",
7226
+ "color": "textSecondary",
7227
+ "collapseWhenEmpty": true
7228
+ }
7229
+ }
7230
+ },
7231
+ {
7232
+ "id": "himi_notif_settings.loading",
7233
+ "body": {
7234
+ "package": "himalaya",
7235
+ "type": "Skeleton",
7236
+ "props": {
7237
+ "height": 72,
7238
+ "cornerRadius": 12,
7239
+ "count": 3
7240
+ }
7241
+ },
7242
+ "modifiers": {
7243
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
7244
+ }
7245
+ },
7246
+ {
7247
+ "id": "himi_notif_settings.error",
7083
7248
  "body": {
7084
7249
  "package": "himalaya",
7085
7250
  "type": "VStack",
7086
7251
  "props": {
7087
7252
  "spacing": 8,
7088
- "alignment": "center",
7253
+ "alignment": "leading",
7089
7254
  "children": [
7090
7255
  {
7091
- "id": "himi_view_profile.avatar",
7092
- "body": {
7093
- "package": "himalaya",
7094
- "type": "ZStack",
7095
- "props": {
7096
- "alignment": "center",
7097
- "children": [
7098
- {
7099
- "id": "",
7100
- "body": {
7101
- "package": "himalaya",
7102
- "type": "Icon",
7103
- "props": {
7104
- "name": "photo",
7105
- "size": 28,
7106
- "tint": "accentPrimary"
7107
- }
7108
- },
7109
- "modifiers": {
7110
- "accessibilityRole": "decorative"
7111
- }
7112
- }
7113
- ]
7114
- }
7115
- },
7116
- "modifiers": {
7117
- "width": 96,
7118
- "height": 96,
7119
- "background": {
7120
- "token": "accentSurface"
7121
- },
7122
- "cornerRadius": 16
7123
- }
7124
- },
7125
- {
7126
- "id": "himi_view_profile.name",
7256
+ "id": "",
7127
7257
  "body": {
7128
7258
  "package": "himalaya",
7129
7259
  "type": "Text",
7130
7260
  "props": {
7131
- "text": "$service:spacesViewProfile.name",
7132
- "style": "title1"
7261
+ "text": "$service:himiBrandedNotifSettings.error",
7262
+ "style": "bodyEmphasis",
7263
+ "collapseWhenEmpty": true
7133
7264
  }
7134
7265
  }
7135
7266
  },
7136
7267
  {
7137
- "id": "",
7268
+ "id": "himi_notif_settings.retry",
7138
7269
  "body": {
7139
7270
  "package": "himalaya",
7140
- "type": "Text",
7271
+ "type": "Button",
7141
7272
  "props": {
7142
- "text": "$service:spacesViewProfile.handle",
7143
- "style": "footnote",
7144
- "color": "textSecondary",
7145
- "collapseWhenEmpty": true
7273
+ "title": "Try again",
7274
+ "style": "secondary",
7275
+ "action": {
7276
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7277
+ }
7146
7278
  }
7279
+ },
7280
+ "modifiers": {
7281
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
7147
7282
  }
7148
7283
  },
7149
7284
  {
7150
- "id": "",
7285
+ "id": "himi_notif_settings.sign_in",
7151
7286
  "body": {
7152
7287
  "package": "himalaya",
7153
- "type": "Text",
7288
+ "type": "Button",
7154
7289
  "props": {
7155
- "text": "$service:spacesViewProfile.about",
7156
- "style": "body",
7157
- "collapseWhenEmpty": true
7290
+ "title": "Sign in",
7291
+ "style": "primary",
7292
+ "leadingIcon": "person",
7293
+ "action": {
7294
+ "actionId": "himi.open",
7295
+ "params": {
7296
+ "screenId": "himi_sign_in",
7297
+ "returnScreenId": "himi_notif_settings",
7298
+ "modal": "1"
7299
+ },
7300
+ "presentation": "sheet"
7301
+ }
7158
7302
  }
7303
+ },
7304
+ "modifiers": {
7305
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
7159
7306
  }
7160
7307
  }
7161
7308
  ]
7162
7309
  }
7163
7310
  },
7164
7311
  "modifiers": {
7165
- "hiddenPath": "$service:spacesViewProfile.profileHidden"
7312
+ "background": {
7313
+ "token": "surfaceElevated"
7314
+ },
7315
+ "border": {
7316
+ "width": 1,
7317
+ "color": {
7318
+ "token": "border"
7319
+ }
7320
+ },
7321
+ "cornerRadius": 4,
7322
+ "padding": {
7323
+ "leading": 16,
7324
+ "trailing": 16,
7325
+ "top": 16,
7326
+ "bottom": 16
7327
+ },
7328
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
7166
7329
  }
7167
7330
  },
7168
7331
  {
7169
- "id": "himi_view_profile.member_gate",
7332
+ "id": "himi_notif_settings.rows",
7170
7333
  "body": {
7171
7334
  "package": "himalaya",
7172
- "type": "VStack",
7335
+ "type": "Grid",
7173
7336
  "props": {
7337
+ "columns": 1,
7174
7338
  "spacing": 10,
7175
- "alignment": "center",
7176
- "children": [
7339
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
7340
+ "items": [
7177
7341
  {
7178
7342
  "id": "",
7179
7343
  "body": {
7180
7344
  "package": "himalaya",
7181
- "type": "Icon",
7345
+ "type": "VStack",
7182
7346
  "props": {
7183
- "name": "person",
7184
- "size": 28,
7185
- "tint": "accentPrimary"
7186
- }
7187
- },
7188
- "modifiers": {
7189
- "accessibilityRole": "decorative"
7190
- }
7191
- },
7192
- {
7193
- "id": "himi_view_profile.member_gate_title",
7194
- "body": {
7195
- "package": "himalaya",
7196
- "type": "Text",
7197
- "props": {
7198
- "text": "Sign in to view your profile",
7199
- "style": "bodyEmphasis"
7200
- }
7201
- }
7202
- },
7203
- {
7204
- "id": "",
7205
- "body": {
7206
- "package": "himalaya",
7207
- "type": "Text",
7208
- "props": {
7209
- "text": "Your public profile appears here after you sign in.",
7210
- "style": "footnote",
7211
- "color": "textSecondary"
7212
- }
7213
- }
7214
- },
7215
- {
7216
- "id": "himi_view_profile.member_gate_signin",
7217
- "body": {
7218
- "package": "himalaya",
7219
- "type": "Button",
7220
- "props": {
7221
- "title": "Sign in",
7222
- "style": "primary",
7223
- "fullWidth": true,
7224
- "action": {
7225
- "actionId": "himi.open",
7226
- "params": {
7227
- "screenId": "himi_sign_in",
7228
- "mode": "signin",
7229
- "intent": "profile",
7230
- "returnScreenId": "himi_view_profile",
7231
- "modal": "1"
7347
+ "spacing": 2,
7348
+ "alignment": "leading",
7349
+ "children": [
7350
+ {
7351
+ "id": "himi_notif_settings.topic.$item.id",
7352
+ "body": {
7353
+ "package": "himalaya",
7354
+ "type": "Toggle",
7355
+ "props": {
7356
+ "label": "$item.name",
7357
+ "valuePath": "$item.on",
7358
+ "onChange": {
7359
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
7360
+ "params": {
7361
+ "id": "$item.id"
7362
+ }
7363
+ }
7364
+ }
7365
+ },
7366
+ "modifiers": {
7367
+ "hiddenPath": "$item.locked"
7368
+ }
7232
7369
  },
7233
- "presentation": "sheet"
7370
+ {
7371
+ "id": "himi_notif_settings.locked_topic.$item.id",
7372
+ "body": {
7373
+ "package": "himalaya",
7374
+ "type": "HStack",
7375
+ "props": {
7376
+ "spacing": 12,
7377
+ "children": [
7378
+ {
7379
+ "id": "",
7380
+ "body": {
7381
+ "package": "himalaya",
7382
+ "type": "Text",
7383
+ "props": {
7384
+ "text": "$item.name",
7385
+ "style": "body",
7386
+ "maxLines": 2
7387
+ }
7388
+ }
7389
+ },
7390
+ {
7391
+ "id": "",
7392
+ "body": {
7393
+ "package": "himalaya",
7394
+ "type": "Spacer",
7395
+ "props": {}
7396
+ }
7397
+ },
7398
+ {
7399
+ "id": "",
7400
+ "body": {
7401
+ "package": "himalaya",
7402
+ "type": "Text",
7403
+ "props": {
7404
+ "text": "$item.stateLabel",
7405
+ "style": "footnote",
7406
+ "color": "textSecondary",
7407
+ "maxLines": 1
7408
+ }
7409
+ }
7410
+ }
7411
+ ]
7412
+ }
7413
+ },
7414
+ "modifiers": {
7415
+ "hiddenPath": "$item.notLocked"
7416
+ }
7417
+ },
7418
+ {
7419
+ "id": "",
7420
+ "body": {
7421
+ "package": "himalaya",
7422
+ "type": "Text",
7423
+ "props": {
7424
+ "text": "$item.note",
7425
+ "style": "footnote",
7426
+ "color": "textSecondary",
7427
+ "collapseWhenEmpty": true
7428
+ }
7429
+ }
7430
+ }
7431
+ ]
7432
+ }
7433
+ },
7434
+ "modifiers": {
7435
+ "background": {
7436
+ "token": "surfaceElevated"
7437
+ },
7438
+ "border": {
7439
+ "width": 1,
7440
+ "color": {
7441
+ "token": "border"
7234
7442
  }
7443
+ },
7444
+ "cornerRadius": 8,
7445
+ "padding": {
7446
+ "leading": 14,
7447
+ "trailing": 14,
7448
+ "top": 12,
7449
+ "bottom": 12
7235
7450
  }
7236
7451
  }
7237
7452
  }
@@ -7239,24 +7454,28 @@ const SCREENS = runtimeSetting({
7239
7454
  }
7240
7455
  },
7241
7456
  "modifiers": {
7242
- "background": {
7243
- "token": "surfaceElevated"
7244
- },
7245
- "border": {
7246
- "width": 1,
7247
- "color": {
7248
- "token": "border"
7249
- }
7250
- },
7251
- "cornerRadius": 16,
7457
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
7458
+ }
7459
+ },
7460
+ {
7461
+ "id": "",
7462
+ "body": {
7463
+ "package": "himalaya",
7464
+ "type": "Text",
7465
+ "props": {
7466
+ "text": "$service:himiBrandedNotifSettings.emptyText",
7467
+ "style": "body",
7468
+ "color": "textSecondary",
7469
+ "collapseWhenEmpty": true
7470
+ }
7471
+ },
7472
+ "modifiers": {
7252
7473
  "padding": {
7253
- "leading": 16,
7254
- "trailing": 16,
7255
- "top": 20,
7256
- "bottom": 20
7257
- },
7258
- "fillMaxWidth": true,
7259
- "hiddenPath": "$service:spacesViewProfile.noSignIn"
7474
+ "leading": 8,
7475
+ "trailing": 8,
7476
+ "top": 8,
7477
+ "bottom": 0
7478
+ }
7260
7479
  }
7261
7480
  }
7262
7481
  ]
@@ -7273,12 +7492,12 @@ const SCREENS = runtimeSetting({
7273
7492
  "bottom": 28
7274
7493
  },
7275
7494
  "onAppear": {
7276
- "actionId": "tier5.spacesViewProfile.load"
7495
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7277
7496
  }
7278
7497
  }
7279
7498
  },
7280
7499
  "logicBundle": {
7281
- "url": "http://localhost:8190/v1/bundles/wix-spaces-view-profile?integrity=",
7500
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-notifsettings?integrity=",
7282
7501
  "integrity": "",
7283
7502
  "contentType": "application/javascript+ts-bundle",
7284
7503
  "declaredCapabilities": [
@@ -7288,8 +7507,8 @@ const SCREENS = runtimeSetting({
7288
7507
  "bundleVersion": "0.0.1"
7289
7508
  }
7290
7509
  },
7291
- "himi_delete_account": {
7292
- "screenId": "himi_delete_account",
7510
+ "himi_view_profile": {
7511
+ "screenId": "himi_view_profile",
7293
7512
  "renderer": "sdui_intent",
7294
7513
  "title": "",
7295
7514
  "schemaVersion": 1,
@@ -7298,64 +7517,307 @@ const SCREENS = runtimeSetting({
7298
7517
  "staleWhileRevalidate": 0
7299
7518
  },
7300
7519
  "payload": {
7301
- "id": "himi_delete_account.root",
7520
+ "id": "himi_view_profile.root",
7302
7521
  "body": {
7303
7522
  "package": "himalaya",
7304
7523
  "type": "VStack",
7305
7524
  "props": {
7306
- "spacing": 16,
7307
- "alignment": "leading",
7525
+ "spacing": 8,
7526
+ "alignment": "center",
7308
7527
  "children": [
7528
+ {
7529
+ "id": "himi_view_profile.loading",
7530
+ "body": {
7531
+ "package": "himalaya",
7532
+ "type": "Text",
7533
+ "props": {
7534
+ "text": "Loading…",
7535
+ "style": "body",
7536
+ "color": "textSecondary"
7537
+ }
7538
+ },
7539
+ "modifiers": {
7540
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
7541
+ }
7542
+ },
7309
7543
  {
7310
7544
  "id": "",
7311
7545
  "body": {
7312
7546
  "package": "himalaya",
7313
- "type": "HStack",
7547
+ "type": "VStack",
7314
7548
  "props": {
7315
- "spacing": 10,
7549
+ "spacing": 8,
7550
+ "alignment": "center",
7316
7551
  "children": [
7317
7552
  {
7318
- "id": "",
7553
+ "id": "himi_view_profile.avatar",
7319
7554
  "body": {
7320
7555
  "package": "himalaya",
7321
- "type": "Icon",
7556
+ "type": "ZStack",
7322
7557
  "props": {
7323
- "name": "trash",
7324
- "size": 24,
7325
- "tint": "danger"
7558
+ "alignment": "center",
7559
+ "children": [
7560
+ {
7561
+ "id": "",
7562
+ "body": {
7563
+ "package": "himalaya",
7564
+ "type": "Icon",
7565
+ "props": {
7566
+ "name": "photo",
7567
+ "size": 28,
7568
+ "tint": "accentPrimary"
7569
+ }
7570
+ },
7571
+ "modifiers": {
7572
+ "accessibilityRole": "decorative"
7573
+ }
7574
+ }
7575
+ ]
7326
7576
  }
7327
7577
  },
7328
7578
  "modifiers": {
7329
- "accessibilityRole": "decorative"
7579
+ "width": 96,
7580
+ "height": 96,
7581
+ "background": {
7582
+ "token": "accentSurface"
7583
+ },
7584
+ "cornerRadius": 16
7330
7585
  }
7331
7586
  },
7332
7587
  {
7333
- "id": "himi_delete_account.title",
7588
+ "id": "himi_view_profile.name",
7334
7589
  "body": {
7335
7590
  "package": "himalaya",
7336
7591
  "type": "Text",
7337
7592
  "props": {
7338
- "text": "$service:spacesDeleteAccount.title",
7593
+ "text": "$service:spacesViewProfile.name",
7339
7594
  "style": "title1"
7340
7595
  }
7341
7596
  }
7342
- }
7343
- ]
7344
- }
7345
- }
7346
- },
7347
- {
7348
- "id": "",
7349
- "body": {
7350
- "package": "himalaya",
7351
- "type": "Text",
7352
- "props": {
7353
- "text": "$service:spacesDeleteAccount.body",
7354
- "style": "body",
7355
- "color": "textSecondary"
7356
- }
7357
- }
7358
- },
7597
+ },
7598
+ {
7599
+ "id": "",
7600
+ "body": {
7601
+ "package": "himalaya",
7602
+ "type": "Text",
7603
+ "props": {
7604
+ "text": "$service:spacesViewProfile.handle",
7605
+ "style": "footnote",
7606
+ "color": "textSecondary",
7607
+ "collapseWhenEmpty": true
7608
+ }
7609
+ }
7610
+ },
7611
+ {
7612
+ "id": "",
7613
+ "body": {
7614
+ "package": "himalaya",
7615
+ "type": "Text",
7616
+ "props": {
7617
+ "text": "$service:spacesViewProfile.about",
7618
+ "style": "body",
7619
+ "collapseWhenEmpty": true
7620
+ }
7621
+ }
7622
+ }
7623
+ ]
7624
+ }
7625
+ },
7626
+ "modifiers": {
7627
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
7628
+ }
7629
+ },
7630
+ {
7631
+ "id": "himi_view_profile.member_gate",
7632
+ "body": {
7633
+ "package": "himalaya",
7634
+ "type": "VStack",
7635
+ "props": {
7636
+ "spacing": 10,
7637
+ "alignment": "center",
7638
+ "children": [
7639
+ {
7640
+ "id": "",
7641
+ "body": {
7642
+ "package": "himalaya",
7643
+ "type": "Icon",
7644
+ "props": {
7645
+ "name": "person",
7646
+ "size": 28,
7647
+ "tint": "accentPrimary"
7648
+ }
7649
+ },
7650
+ "modifiers": {
7651
+ "accessibilityRole": "decorative"
7652
+ }
7653
+ },
7654
+ {
7655
+ "id": "himi_view_profile.member_gate_title",
7656
+ "body": {
7657
+ "package": "himalaya",
7658
+ "type": "Text",
7659
+ "props": {
7660
+ "text": "Sign in to view your profile",
7661
+ "style": "bodyEmphasis"
7662
+ }
7663
+ }
7664
+ },
7665
+ {
7666
+ "id": "",
7667
+ "body": {
7668
+ "package": "himalaya",
7669
+ "type": "Text",
7670
+ "props": {
7671
+ "text": "Your public profile appears here after you sign in.",
7672
+ "style": "footnote",
7673
+ "color": "textSecondary"
7674
+ }
7675
+ }
7676
+ },
7677
+ {
7678
+ "id": "himi_view_profile.member_gate_signin",
7679
+ "body": {
7680
+ "package": "himalaya",
7681
+ "type": "Button",
7682
+ "props": {
7683
+ "title": "Sign in",
7684
+ "style": "primary",
7685
+ "fullWidth": true,
7686
+ "action": {
7687
+ "actionId": "himi.open",
7688
+ "params": {
7689
+ "screenId": "himi_sign_in",
7690
+ "mode": "signin",
7691
+ "intent": "profile",
7692
+ "returnScreenId": "himi_view_profile",
7693
+ "modal": "1"
7694
+ },
7695
+ "presentation": "sheet"
7696
+ }
7697
+ }
7698
+ }
7699
+ }
7700
+ ]
7701
+ }
7702
+ },
7703
+ "modifiers": {
7704
+ "background": {
7705
+ "token": "surfaceElevated"
7706
+ },
7707
+ "border": {
7708
+ "width": 1,
7709
+ "color": {
7710
+ "token": "border"
7711
+ }
7712
+ },
7713
+ "cornerRadius": 16,
7714
+ "padding": {
7715
+ "leading": 16,
7716
+ "trailing": 16,
7717
+ "top": 20,
7718
+ "bottom": 20
7719
+ },
7720
+ "fillMaxWidth": true,
7721
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
7722
+ }
7723
+ }
7724
+ ]
7725
+ }
7726
+ },
7727
+ "modifiers": {
7728
+ "background": {
7729
+ "token": "surfacePrimary"
7730
+ },
7731
+ "padding": {
7732
+ "leading": 16,
7733
+ "trailing": 16,
7734
+ "top": 18,
7735
+ "bottom": 28
7736
+ },
7737
+ "onAppear": {
7738
+ "actionId": "tier5.spacesViewProfile.load"
7739
+ }
7740
+ }
7741
+ },
7742
+ "logicBundle": {
7743
+ "url": "http://localhost:8190/v1/bundles/wix-spaces-view-profile?integrity=",
7744
+ "integrity": "",
7745
+ "contentType": "application/javascript+ts-bundle",
7746
+ "declaredCapabilities": [
7747
+ "wix_api"
7748
+ ],
7749
+ "minBinaryVersion": "0.1.0",
7750
+ "bundleVersion": "0.0.1"
7751
+ }
7752
+ },
7753
+ "himi_delete_account": {
7754
+ "screenId": "himi_delete_account",
7755
+ "renderer": "sdui_intent",
7756
+ "title": "",
7757
+ "schemaVersion": 1,
7758
+ "cacheControl": {
7759
+ "maxAge": 0,
7760
+ "staleWhileRevalidate": 0
7761
+ },
7762
+ "payload": {
7763
+ "id": "himi_delete_account.root",
7764
+ "body": {
7765
+ "package": "himalaya",
7766
+ "type": "VStack",
7767
+ "props": {
7768
+ "spacing": 16,
7769
+ "alignment": "leading",
7770
+ "children": [
7771
+ {
7772
+ "id": "",
7773
+ "body": {
7774
+ "package": "himalaya",
7775
+ "type": "HStack",
7776
+ "props": {
7777
+ "spacing": 10,
7778
+ "children": [
7779
+ {
7780
+ "id": "",
7781
+ "body": {
7782
+ "package": "himalaya",
7783
+ "type": "Icon",
7784
+ "props": {
7785
+ "name": "trash",
7786
+ "size": 24,
7787
+ "tint": "danger"
7788
+ }
7789
+ },
7790
+ "modifiers": {
7791
+ "accessibilityRole": "decorative"
7792
+ }
7793
+ },
7794
+ {
7795
+ "id": "himi_delete_account.title",
7796
+ "body": {
7797
+ "package": "himalaya",
7798
+ "type": "Text",
7799
+ "props": {
7800
+ "text": "$service:spacesDeleteAccount.title",
7801
+ "style": "title1"
7802
+ }
7803
+ }
7804
+ }
7805
+ ]
7806
+ }
7807
+ }
7808
+ },
7809
+ {
7810
+ "id": "",
7811
+ "body": {
7812
+ "package": "himalaya",
7813
+ "type": "Text",
7814
+ "props": {
7815
+ "text": "$service:spacesDeleteAccount.body",
7816
+ "style": "body",
7817
+ "color": "textSecondary"
7818
+ }
7819
+ }
7820
+ },
7359
7821
  {
7360
7822
  "id": "himi_delete_account.message",
7361
7823
  "body": {
@@ -8843,149 +9305,40 @@ const SCREENS = runtimeSetting({
8843
9305
  "alignment": "leading",
8844
9306
  "children": [
8845
9307
  {
8846
- "id": "",
9308
+ "id": "himi_services.offline",
9309
+ "body": {
9310
+ "package": "himalaya",
9311
+ "type": "Text",
9312
+ "props": {
9313
+ "text": "Showing saved services. They may be out of date.",
9314
+ "style": "caption",
9315
+ "color": "textSecondary"
9316
+ }
9317
+ },
9318
+ "modifiers": {
9319
+ "padding": {
9320
+ "leading": 20,
9321
+ "trailing": 20,
9322
+ "top": 12,
9323
+ "bottom": 0
9324
+ },
9325
+ "hiddenPath": "$service:himiBookingServices.collection.noOffline"
9326
+ }
9327
+ },
9328
+ {
9329
+ "id": "himi_services.retry_group",
8847
9330
  "body": {
8848
9331
  "package": "himalaya",
8849
9332
  "type": "VStack",
8850
9333
  "props": {
8851
- "spacing": 4,
9334
+ "spacing": 0,
8852
9335
  "alignment": "leading",
8853
9336
  "children": [
8854
9337
  {
8855
- "id": "himi_services.title",
9338
+ "id": "himi_services.retry.block",
8856
9339
  "body": {
8857
9340
  "package": "himalaya",
8858
- "type": "Text",
8859
- "props": {
8860
- "text": "Services",
8861
- "style": "title1"
8862
- }
8863
- }
8864
- },
8865
- {
8866
- "id": "himi_services.subtitle",
8867
- "body": {
8868
- "package": "himalaya",
8869
- "type": "Text",
8870
- "props": {
8871
- "text": "Find a class and reserve your spot.",
8872
- "style": "body",
8873
- "color": "textSecondary"
8874
- }
8875
- }
8876
- }
8877
- ]
8878
- }
8879
- },
8880
- "modifiers": {
8881
- "padding": {
8882
- "leading": 20,
8883
- "trailing": 20,
8884
- "top": 0,
8885
- "bottom": 0
8886
- }
8887
- }
8888
- },
8889
- {
8890
- "id": "",
8891
- "body": {
8892
- "package": "himalaya",
8893
- "type": "VStack",
8894
- "props": {
8895
- "spacing": 0,
8896
- "alignment": "leading",
8897
- "children": [
8898
- {
8899
- "id": "himi_services.search",
8900
- "body": {
8901
- "package": "himalaya",
8902
- "type": "SearchField",
8903
- "props": {
8904
- "placeholder": "Search services",
8905
- "value": "$service:himiBookingServices.collection.query",
8906
- "debounceMs": 200,
8907
- "onChange": {
8908
- "actionId": "tier5.himiBookingServices.search"
8909
- }
8910
- }
8911
- }
8912
- }
8913
- ]
8914
- }
8915
- },
8916
- "modifiers": {
8917
- "padding": {
8918
- "leading": 20,
8919
- "trailing": 20,
8920
- "top": 16,
8921
- "bottom": 0
8922
- },
8923
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
8924
- }
8925
- },
8926
- {
8927
- "id": "himi_services.categories",
8928
- "body": {
8929
- "package": "himalaya",
8930
- "type": "FilterChips",
8931
- "props": {
8932
- "chips": [],
8933
- "optionsPath": "$service:himiBookingServices.categoryChips",
8934
- "selectedIds": [
8935
- "$service:himiBookingServices.collection.filter"
8936
- ],
8937
- "multiSelect": false,
8938
- "onChange": {
8939
- "actionId": "tier5.himiBookingServices.collectionFilter"
8940
- }
8941
- }
8942
- },
8943
- "modifiers": {
8944
- "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
8945
- "padding": {
8946
- "leading": 20,
8947
- "trailing": 20,
8948
- "top": 12,
8949
- "bottom": 0
8950
- },
8951
- "hiddenPath": "$service:himiBookingServices.hideCategories"
8952
- }
8953
- },
8954
- {
8955
- "id": "himi_services.offline",
8956
- "body": {
8957
- "package": "himalaya",
8958
- "type": "Text",
8959
- "props": {
8960
- "text": "Showing saved services. They may be out of date.",
8961
- "style": "caption",
8962
- "color": "textSecondary"
8963
- }
8964
- },
8965
- "modifiers": {
8966
- "padding": {
8967
- "leading": 20,
8968
- "trailing": 20,
8969
- "top": 12,
8970
- "bottom": 0
8971
- },
8972
- "hiddenPath": "$service:himiBookingServices.collection.noOffline"
8973
- }
8974
- },
8975
- {
8976
- "id": "himi_services.retry_group",
8977
- "body": {
8978
- "package": "himalaya",
8979
- "type": "VStack",
8980
- "props": {
8981
- "spacing": 0,
8982
- "alignment": "leading",
8983
- "children": [
8984
- {
8985
- "id": "himi_services.retry.block",
8986
- "body": {
8987
- "package": "himalaya",
8988
- "type": "VStack",
9341
+ "type": "VStack",
8989
9342
  "props": {
8990
9343
  "spacing": 12,
8991
9344
  "alignment": "leading",
@@ -9103,6 +9456,48 @@ const SCREENS = runtimeSetting({
9103
9456
  "spacing": 0,
9104
9457
  "alignment": "leading",
9105
9458
  "children": [
9459
+ {
9460
+ "id": "himi_services.skeleton_title",
9461
+ "body": {
9462
+ "package": "himalaya",
9463
+ "type": "VStack",
9464
+ "props": {
9465
+ "spacing": 0,
9466
+ "alignment": "leading",
9467
+ "children": [
9468
+ {
9469
+ "id": "",
9470
+ "body": {
9471
+ "package": "himalaya",
9472
+ "type": "Skeleton",
9473
+ "props": {
9474
+ "width": 120,
9475
+ "height": 20,
9476
+ "cornerRadius": 4
9477
+ }
9478
+ },
9479
+ "modifiers": {
9480
+ "width": 120,
9481
+ "height": 20,
9482
+ "background": {
9483
+ "token": "surfaceSecondary"
9484
+ },
9485
+ "cornerRadius": 4,
9486
+ "accessibilityRole": "decorative"
9487
+ }
9488
+ }
9489
+ ]
9490
+ }
9491
+ },
9492
+ "modifiers": {
9493
+ "padding": {
9494
+ "leading": 20,
9495
+ "trailing": 20,
9496
+ "top": 20,
9497
+ "bottom": 4
9498
+ }
9499
+ }
9500
+ },
9106
9501
  {
9107
9502
  "id": "himi_services.skeleton_1",
9108
9503
  "body": {
@@ -9814,7 +10209,7 @@ const SCREENS = runtimeSetting({
9814
10209
  "padding": {
9815
10210
  "leading": 0,
9816
10211
  "trailing": 0,
9817
- "top": 12,
10212
+ "top": 0,
9818
10213
  "bottom": 0
9819
10214
  },
9820
10215
  "hiddenPath": "$service:himiBookingServices.collection.noLoading"
@@ -9827,7 +10222,7 @@ const SCREENS = runtimeSetting({
9827
10222
  "type": "LazyList",
9828
10223
  "props": {
9829
10224
  "spacing": 0,
9830
- "itemsPath": "$service:himiBookingServices.collection.items",
10225
+ "itemsPath": "$service:himiBookingServices.listRows",
9831
10226
  "onPullToRefresh": {
9832
10227
  "actionId": "tier5.himiBookingServices.refresh"
9833
10228
  },
@@ -9836,13 +10231,17 @@ const SCREENS = runtimeSetting({
9836
10231
  "onLoadMore": {
9837
10232
  "actionId": "tier5.himiBookingServices.loadMore"
9838
10233
  },
9839
- "pageSize": 50
10234
+ "pageSize": 100
9840
10235
  },
9841
10236
  "staggerMs": 30,
9842
10237
  "animateItems": true,
10238
+ "scrollToItemPath": "$service:himiBookingServices.scrollTo",
10239
+ "onTopItemChange": {
10240
+ "actionId": "tier5.himiBookingServices.topItemChanged"
10241
+ },
9843
10242
  "items": [
9844
10243
  {
9845
- "id": "himi_services.row.$item.id",
10244
+ "id": "himi_services.item.$item.id",
9846
10245
  "body": {
9847
10246
  "package": "himalaya",
9848
10247
  "type": "VStack",
@@ -9851,47 +10250,75 @@ const SCREENS = runtimeSetting({
9851
10250
  "alignment": "leading",
9852
10251
  "children": [
9853
10252
  {
9854
- "id": "",
10253
+ "id": "himi_services.section.$item.id",
9855
10254
  "body": {
9856
10255
  "package": "himalaya",
9857
10256
  "type": "HStack",
9858
10257
  "props": {
9859
- "spacing": 14,
10258
+ "spacing": 0,
9860
10259
  "alignment": "center",
9861
10260
  "children": [
9862
10261
  {
9863
- "id": "himi_services.row.$item.id/image",
10262
+ "id": "",
9864
10263
  "body": {
9865
10264
  "package": "himalaya",
9866
- "type": "Image",
10265
+ "type": "Text",
9867
10266
  "props": {
9868
- "url": "$item.image",
9869
- "width": 72,
9870
- "height": 72,
9871
- "contentMode": "fill"
10267
+ "text": "$item.sectionTitle",
10268
+ "style": "title3",
10269
+ "maxLines": 2
9872
10270
  }
9873
- },
9874
- "modifiers": {
9875
- "accessibilityRole": "decorative",
9876
- "cornerRadius": 8,
9877
- "hiddenPath": "$item.noImage"
9878
10271
  }
9879
10272
  },
9880
10273
  {
9881
10274
  "id": "",
9882
10275
  "body": {
9883
10276
  "package": "himalaya",
9884
- "type": "ZStack",
10277
+ "type": "Spacer",
10278
+ "props": {}
10279
+ }
10280
+ }
10281
+ ]
10282
+ }
10283
+ },
10284
+ "modifiers": {
10285
+ "fillMaxWidth": true,
10286
+ "padding": {
10287
+ "leading": 20,
10288
+ "trailing": 20,
10289
+ "top": 20,
10290
+ "bottom": 4
10291
+ },
10292
+ "accessibilityRole": "heading",
10293
+ "accessibilityLabel": "$item.sectionTitle",
10294
+ "hiddenPath": "$item.notSection"
10295
+ }
10296
+ },
10297
+ {
10298
+ "id": "himi_services.row.$item.id",
10299
+ "body": {
10300
+ "package": "himalaya",
10301
+ "type": "VStack",
10302
+ "props": {
10303
+ "spacing": 0,
10304
+ "alignment": "leading",
10305
+ "children": [
10306
+ {
10307
+ "id": "",
10308
+ "body": {
10309
+ "package": "himalaya",
10310
+ "type": "HStack",
9885
10311
  "props": {
10312
+ "spacing": 14,
9886
10313
  "alignment": "center",
9887
10314
  "children": [
9888
10315
  {
9889
- "id": "",
10316
+ "id": "himi_services.row.$item.id/image",
9890
10317
  "body": {
9891
10318
  "package": "himalaya",
9892
10319
  "type": "Image",
9893
10320
  "props": {
9894
- "url": "",
10321
+ "url": "$item.image",
9895
10322
  "width": 72,
9896
10323
  "height": 72,
9897
10324
  "contentMode": "fill"
@@ -9900,158 +10327,204 @@ const SCREENS = runtimeSetting({
9900
10327
  "modifiers": {
9901
10328
  "accessibilityRole": "decorative",
9902
10329
  "cornerRadius": 8,
9903
- "background": {
9904
- "token": "surfaceSecondary"
9905
- }
10330
+ "hiddenPath": "$item.noImage"
9906
10331
  }
9907
10332
  },
9908
10333
  {
9909
10334
  "id": "",
9910
10335
  "body": {
9911
10336
  "package": "himalaya",
9912
- "type": "Icon",
10337
+ "type": "ZStack",
9913
10338
  "props": {
9914
- "name": "image",
9915
- "size": 24,
9916
- "tint": "accentPrimary"
10339
+ "alignment": "center",
10340
+ "children": [
10341
+ {
10342
+ "id": "",
10343
+ "body": {
10344
+ "package": "himalaya",
10345
+ "type": "Image",
10346
+ "props": {
10347
+ "url": "",
10348
+ "width": 72,
10349
+ "height": 72,
10350
+ "contentMode": "fill"
10351
+ }
10352
+ },
10353
+ "modifiers": {
10354
+ "accessibilityRole": "decorative",
10355
+ "cornerRadius": 8,
10356
+ "background": {
10357
+ "token": "surfaceSecondary"
10358
+ }
10359
+ }
10360
+ },
10361
+ {
10362
+ "id": "",
10363
+ "body": {
10364
+ "package": "himalaya",
10365
+ "type": "Icon",
10366
+ "props": {
10367
+ "name": "image",
10368
+ "size": 24,
10369
+ "tint": "accentPrimary"
10370
+ }
10371
+ },
10372
+ "modifiers": {
10373
+ "accessibilityRole": "decorative"
10374
+ }
10375
+ }
10376
+ ]
9917
10377
  }
9918
10378
  },
9919
10379
  "modifiers": {
9920
- "accessibilityRole": "decorative"
10380
+ "width": 72,
10381
+ "height": 72,
10382
+ "hiddenPath": "$item.hasImage"
9921
10383
  }
9922
- }
9923
- ]
9924
- }
9925
- },
9926
- "modifiers": {
9927
- "width": 72,
9928
- "height": 72,
9929
- "hiddenPath": "$item.hasImage"
9930
- }
9931
- },
9932
- {
9933
- "id": "",
9934
- "body": {
9935
- "package": "himalaya",
9936
- "type": "VStack",
9937
- "props": {
9938
- "spacing": 3,
9939
- "alignment": "leading",
9940
- "children": [
10384
+ },
9941
10385
  {
9942
10386
  "id": "",
9943
10387
  "body": {
9944
10388
  "package": "himalaya",
9945
- "type": "Text",
10389
+ "type": "VStack",
9946
10390
  "props": {
9947
- "text": "$item.typeTag",
9948
- "style": "caption",
9949
- "color": "textSecondary",
9950
- "maxLines": 1
10391
+ "spacing": 3,
10392
+ "alignment": "leading",
10393
+ "children": [
10394
+ {
10395
+ "id": "",
10396
+ "body": {
10397
+ "package": "himalaya",
10398
+ "type": "Text",
10399
+ "props": {
10400
+ "text": "$item.typeTag",
10401
+ "style": "caption",
10402
+ "color": "textSecondary",
10403
+ "maxLines": 1
10404
+ }
10405
+ },
10406
+ "modifiers": {
10407
+ "background": {
10408
+ "token": "surfaceTertiary"
10409
+ },
10410
+ "cornerRadius": 4,
10411
+ "padding": {
10412
+ "leading": 8,
10413
+ "trailing": 8,
10414
+ "top": 2,
10415
+ "bottom": 2
10416
+ },
10417
+ "hiddenPath": "$item.noTypeTag"
10418
+ }
10419
+ },
10420
+ {
10421
+ "id": "himi_services.row.$item.id/ended",
10422
+ "body": {
10423
+ "package": "himalaya",
10424
+ "type": "Text",
10425
+ "props": {
10426
+ "text": "$item.endedText",
10427
+ "style": "caption",
10428
+ "color": "textSecondary",
10429
+ "maxLines": 1,
10430
+ "collapseWhenEmpty": true
10431
+ }
10432
+ }
10433
+ },
10434
+ {
10435
+ "id": "",
10436
+ "body": {
10437
+ "package": "himalaya",
10438
+ "type": "Text",
10439
+ "props": {
10440
+ "text": "$item.name",
10441
+ "style": "bodyEmphasis",
10442
+ "maxLines": 2
10443
+ }
10444
+ }
10445
+ },
10446
+ {
10447
+ "id": "",
10448
+ "body": {
10449
+ "package": "himalaya",
10450
+ "type": "Text",
10451
+ "props": {
10452
+ "text": "$item.tagline",
10453
+ "style": "caption",
10454
+ "color": "textSecondary",
10455
+ "maxLines": 2,
10456
+ "collapseWhenEmpty": true
10457
+ }
10458
+ }
10459
+ },
10460
+ {
10461
+ "id": "",
10462
+ "body": {
10463
+ "package": "himalaya",
10464
+ "type": "Text",
10465
+ "props": {
10466
+ "text": "$item.meta",
10467
+ "style": "footnote",
10468
+ "color": "textSecondary",
10469
+ "maxLines": 2,
10470
+ "collapseWhenEmpty": true
10471
+ }
10472
+ }
10473
+ }
10474
+ ]
9951
10475
  }
9952
10476
  },
9953
10477
  "modifiers": {
9954
- "background": {
9955
- "token": "surfaceTertiary"
9956
- },
9957
- "cornerRadius": 4,
9958
- "padding": {
9959
- "leading": 8,
9960
- "trailing": 8,
9961
- "top": 2,
9962
- "bottom": 2
9963
- },
9964
- "hiddenPath": "$item.noTypeTag"
9965
- }
9966
- },
9967
- {
9968
- "id": "himi_services.row.$item.id/ended",
9969
- "body": {
9970
- "package": "himalaya",
9971
- "type": "Text",
9972
- "props": {
9973
- "text": "$item.endedText",
9974
- "style": "caption",
9975
- "color": "textSecondary",
9976
- "maxLines": 1,
9977
- "collapseWhenEmpty": true
9978
- }
9979
- }
9980
- },
9981
- {
9982
- "id": "",
9983
- "body": {
9984
- "package": "himalaya",
9985
- "type": "Text",
9986
- "props": {
9987
- "text": "$item.name",
9988
- "style": "bodyEmphasis",
9989
- "maxLines": 2
9990
- }
9991
- }
9992
- },
9993
- {
9994
- "id": "",
9995
- "body": {
9996
- "package": "himalaya",
9997
- "type": "Text",
9998
- "props": {
9999
- "text": "$item.tagline",
10000
- "style": "caption",
10001
- "color": "textSecondary",
10002
- "maxLines": 2,
10003
- "collapseWhenEmpty": true
10004
- }
10478
+ "weight": 1
10005
10479
  }
10006
10480
  },
10007
10481
  {
10008
- "id": "",
10009
- "body": {
10010
- "package": "himalaya",
10011
- "type": "Text",
10012
- "props": {
10013
- "text": "$item.meta",
10014
- "style": "footnote",
10015
- "color": "textSecondary",
10016
- "maxLines": 2,
10017
- "collapseWhenEmpty": true
10018
- }
10019
- }
10020
- }
10021
- ]
10022
- }
10023
- },
10024
- "modifiers": {
10025
- "weight": 1
10026
- }
10027
- },
10028
- {
10029
- "id": "himi_services.row.$item.id/book",
10030
- "body": {
10031
- "package": "himalaya",
10032
- "type": "VStack",
10033
- "props": {
10034
- "spacing": 0,
10035
- "children": [
10036
- {
10037
- "id": "",
10482
+ "id": "himi_services.row.$item.id/book",
10038
10483
  "body": {
10039
10484
  "package": "himalaya",
10040
- "type": "HStack",
10485
+ "type": "VStack",
10041
10486
  "props": {
10042
10487
  "spacing": 0,
10043
- "alignment": "center",
10044
10488
  "children": [
10045
10489
  {
10046
10490
  "id": "",
10047
10491
  "body": {
10048
10492
  "package": "himalaya",
10049
- "type": "Text",
10493
+ "type": "HStack",
10050
10494
  "props": {
10051
- "text": "$item.bookCta",
10052
- "style": "footnote",
10053
- "color": "textPrimary",
10054
- "maxLines": 1
10495
+ "spacing": 0,
10496
+ "alignment": "center",
10497
+ "children": [
10498
+ {
10499
+ "id": "",
10500
+ "body": {
10501
+ "package": "himalaya",
10502
+ "type": "Text",
10503
+ "props": {
10504
+ "text": "$item.bookCta",
10505
+ "style": "footnote",
10506
+ "color": "textPrimary",
10507
+ "maxLines": 1
10508
+ }
10509
+ }
10510
+ }
10511
+ ]
10512
+ }
10513
+ },
10514
+ "modifiers": {
10515
+ "height": 36,
10516
+ "padding": {
10517
+ "leading": 16,
10518
+ "trailing": 16,
10519
+ "top": 0,
10520
+ "bottom": 0
10521
+ },
10522
+ "cornerRadius": 18,
10523
+ "border": {
10524
+ "width": 1,
10525
+ "color": {
10526
+ "token": "textPrimary"
10527
+ }
10055
10528
  }
10056
10529
  }
10057
10530
  }
@@ -10059,81 +10532,69 @@ const SCREENS = runtimeSetting({
10059
10532
  }
10060
10533
  },
10061
10534
  "modifiers": {
10062
- "height": 36,
10063
10535
  "padding": {
10064
- "leading": 16,
10065
- "trailing": 16,
10066
- "top": 0,
10067
- "bottom": 0
10536
+ "leading": 0,
10537
+ "trailing": 0,
10538
+ "top": 4,
10539
+ "bottom": 4
10068
10540
  },
10069
- "cornerRadius": 18,
10070
- "border": {
10071
- "width": 1,
10072
- "color": {
10073
- "token": "textPrimary"
10541
+ "onTap": {
10542
+ "actionId": "himi.open",
10543
+ "params": {
10544
+ "screenId": "himi_time",
10545
+ "id": "$item.id"
10074
10546
  }
10075
- }
10547
+ },
10548
+ "accessibilityRole": "button",
10549
+ "accessibilityLabel": "$item.bookA11y",
10550
+ "pressFeedback": "scale",
10551
+ "haptic": "light",
10552
+ "hiddenPath": "$item.noBook"
10076
10553
  }
10077
10554
  }
10078
10555
  ]
10079
10556
  }
10080
10557
  },
10081
10558
  "modifiers": {
10559
+ "fillMaxWidth": true,
10082
10560
  "padding": {
10083
- "leading": 0,
10084
- "trailing": 0,
10085
- "top": 4,
10086
- "bottom": 4
10087
- },
10088
- "onTap": {
10089
- "actionId": "himi.open",
10090
- "params": {
10091
- "screenId": "himi_time",
10092
- "id": "$item.id"
10093
- }
10094
- },
10095
- "accessibilityRole": "button",
10096
- "accessibilityLabel": "$item.bookA11y",
10097
- "pressFeedback": "scale",
10098
- "haptic": "light",
10099
- "hiddenPath": "$item.noBook"
10561
+ "leading": 20,
10562
+ "trailing": 20,
10563
+ "top": 14,
10564
+ "bottom": 14
10565
+ }
10566
+ }
10567
+ },
10568
+ {
10569
+ "id": "",
10570
+ "body": {
10571
+ "package": "himalaya",
10572
+ "type": "Divider",
10573
+ "props": {}
10100
10574
  }
10101
10575
  }
10102
10576
  ]
10103
10577
  }
10104
10578
  },
10105
10579
  "modifiers": {
10106
- "fillMaxWidth": true,
10107
- "padding": {
10108
- "leading": 20,
10109
- "trailing": 20,
10110
- "top": 14,
10111
- "bottom": 14
10112
- }
10113
- }
10114
- },
10115
- {
10116
- "id": "",
10117
- "body": {
10118
- "package": "himalaya",
10119
- "type": "Divider",
10120
- "props": {}
10580
+ "onTap": {
10581
+ "actionId": "himi.open",
10582
+ "params": {
10583
+ "screenId": "$item.detailScreenId",
10584
+ "id": "$item.id"
10585
+ }
10586
+ },
10587
+ "pressFeedback": "highlight",
10588
+ "haptic": "light",
10589
+ "accessibilityLabel": "$item.a11y",
10590
+ "hiddenPath": "$item.isSection"
10121
10591
  }
10122
10592
  }
10123
10593
  ]
10124
10594
  }
10125
10595
  },
10126
10596
  "modifiers": {
10127
- "onTap": {
10128
- "actionId": "himi.open",
10129
- "params": {
10130
- "screenId": "$item.detailScreenId",
10131
- "id": "$item.id"
10132
- }
10133
- },
10134
- "pressFeedback": "highlight",
10135
- "haptic": "light",
10136
- "accessibilityLabel": "$item.a11y",
10597
+ "fillMaxWidth": true,
10137
10598
  "transition": {
10138
10599
  "enter": "fadeSlide",
10139
10600
  "direction": "up",
@@ -10146,12 +10607,483 @@ const SCREENS = runtimeSetting({
10146
10607
  },
10147
10608
  "modifiers": {
10148
10609
  "padding": {
10149
- "leading": 0,
10150
- "trailing": 0,
10151
- "top": 12,
10610
+ "leading": 0,
10611
+ "trailing": 0,
10612
+ "top": 0,
10613
+ "bottom": 0
10614
+ },
10615
+ "hiddenPath": "$service:himiBookingServices.hideRows"
10616
+ }
10617
+ },
10618
+ {
10619
+ "id": "",
10620
+ "body": {
10621
+ "package": "himalaya",
10622
+ "type": "VStack",
10623
+ "props": {
10624
+ "spacing": 8,
10625
+ "alignment": "leading",
10626
+ "children": [
10627
+ {
10628
+ "id": "",
10629
+ "body": {
10630
+ "package": "himalaya",
10631
+ "type": "Text",
10632
+ "props": {
10633
+ "text": "More services did not load.",
10634
+ "style": "caption",
10635
+ "color": "textSecondary"
10636
+ }
10637
+ }
10638
+ },
10639
+ {
10640
+ "id": "himi_services.retry_page",
10641
+ "body": {
10642
+ "package": "himalaya",
10643
+ "type": "Button",
10644
+ "props": {
10645
+ "title": "Try again",
10646
+ "style": "secondary",
10647
+ "action": {
10648
+ "actionId": "tier5.himiBookingServices.retry"
10649
+ }
10650
+ }
10651
+ }
10652
+ }
10653
+ ]
10654
+ }
10655
+ },
10656
+ "modifiers": {
10657
+ "padding": {
10658
+ "leading": 20,
10659
+ "trailing": 20,
10660
+ "top": 12,
10661
+ "bottom": 0
10662
+ },
10663
+ "hiddenPath": "$service:himiBookingServices.collection.noPageError"
10664
+ }
10665
+ },
10666
+ {
10667
+ "id": "himi_services.empty_source",
10668
+ "body": {
10669
+ "package": "himalaya",
10670
+ "type": "VStack",
10671
+ "props": {
10672
+ "spacing": 10,
10673
+ "alignment": "center",
10674
+ "children": [
10675
+ {
10676
+ "id": "",
10677
+ "body": {
10678
+ "package": "himalaya",
10679
+ "type": "Icon",
10680
+ "props": {
10681
+ "name": "calendar",
10682
+ "size": 28,
10683
+ "tint": "textTertiary"
10684
+ }
10685
+ },
10686
+ "modifiers": {
10687
+ "accessibilityRole": "decorative"
10688
+ }
10689
+ },
10690
+ {
10691
+ "id": "",
10692
+ "body": {
10693
+ "package": "himalaya",
10694
+ "type": "Text",
10695
+ "props": {
10696
+ "text": "$service:himiBookingServices.collection.emptySourceText",
10697
+ "style": "body",
10698
+ "color": "textSecondary",
10699
+ "textAlign": "center"
10700
+ }
10701
+ }
10702
+ }
10703
+ ]
10704
+ }
10705
+ },
10706
+ "modifiers": {
10707
+ "fillMaxWidth": true,
10708
+ "padding": {
10709
+ "leading": 20,
10710
+ "trailing": 20,
10711
+ "top": 40,
10712
+ "bottom": 0
10713
+ },
10714
+ "transition": {
10715
+ "enter": "fade",
10716
+ "exit": "fade"
10717
+ },
10718
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
10719
+ }
10720
+ },
10721
+ {
10722
+ "id": "himi_services.empty",
10723
+ "body": {
10724
+ "package": "himalaya",
10725
+ "type": "VStack",
10726
+ "props": {
10727
+ "spacing": 16,
10728
+ "alignment": "center",
10729
+ "children": [
10730
+ {
10731
+ "id": "himi_services.no_match_text",
10732
+ "body": {
10733
+ "package": "himalaya",
10734
+ "type": "Text",
10735
+ "props": {
10736
+ "text": "$service:himiBookingServices.noMatchText",
10737
+ "style": "body",
10738
+ "color": "textSecondary",
10739
+ "textAlign": "center"
10740
+ }
10741
+ }
10742
+ },
10743
+ {
10744
+ "id": "himi_services.empty.cta",
10745
+ "body": {
10746
+ "package": "himalaya",
10747
+ "type": "Button",
10748
+ "props": {
10749
+ "title": "Clear Search",
10750
+ "style": "secondary",
10751
+ "action": {
10752
+ "actionId": "tier5.himiBookingServices.search",
10753
+ "params": {
10754
+ "value": ""
10755
+ }
10756
+ }
10757
+ }
10758
+ },
10759
+ "modifiers": {
10760
+ "hiddenPath": "$service:himiBookingServices.noQuery"
10761
+ }
10762
+ }
10763
+ ]
10764
+ }
10765
+ },
10766
+ "modifiers": {
10767
+ "fillMaxWidth": true,
10768
+ "padding": {
10769
+ "leading": 20,
10770
+ "trailing": 20,
10771
+ "top": 40,
10772
+ "bottom": 0
10773
+ },
10774
+ "transition": {
10775
+ "enter": "fade",
10776
+ "exit": "fade"
10777
+ },
10778
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
10779
+ }
10780
+ },
10781
+ {
10782
+ "id": "himi_services.location_empty",
10783
+ "body": {
10784
+ "package": "himalaya",
10785
+ "type": "VStack",
10786
+ "props": {
10787
+ "spacing": 16,
10788
+ "alignment": "center",
10789
+ "children": [
10790
+ {
10791
+ "id": "himi_services.location_empty_text",
10792
+ "body": {
10793
+ "package": "himalaya",
10794
+ "type": "Text",
10795
+ "props": {
10796
+ "text": "$service:himiBookingServices.locationEmptyText",
10797
+ "style": "body",
10798
+ "color": "textSecondary",
10799
+ "textAlign": "center"
10800
+ }
10801
+ }
10802
+ },
10803
+ {
10804
+ "id": "himi_services.all_locations",
10805
+ "body": {
10806
+ "package": "himalaya",
10807
+ "type": "Button",
10808
+ "props": {
10809
+ "title": "Show all locations",
10810
+ "style": "secondary",
10811
+ "action": {
10812
+ "actionId": "tier5.himiBookingServices.selectLocation",
10813
+ "params": {
10814
+ "locationId": ""
10815
+ }
10816
+ }
10817
+ }
10818
+ }
10819
+ }
10820
+ ]
10821
+ }
10822
+ },
10823
+ "modifiers": {
10824
+ "fillMaxWidth": true,
10825
+ "padding": {
10826
+ "leading": 20,
10827
+ "trailing": 20,
10828
+ "top": 40,
10829
+ "bottom": 0
10830
+ },
10831
+ "transition": {
10832
+ "enter": "fade",
10833
+ "exit": "fade"
10834
+ },
10835
+ "hiddenPath": "$service:himiBookingServices.notLocationEmpty"
10836
+ }
10837
+ },
10838
+ {
10839
+ "id": "himi_services.location_sheet",
10840
+ "body": {
10841
+ "package": "himalaya",
10842
+ "type": "BottomSheet",
10843
+ "props": {
10844
+ "presentedPath": "$service:himiBookingServices.locationSheetOpen",
10845
+ "dismissible": true,
10846
+ "showGrabber": true,
10847
+ "onDismiss": {
10848
+ "actionId": "tier5.himiBookingServices.closeLocations"
10849
+ },
10850
+ "content": {
10851
+ "id": "",
10852
+ "body": {
10853
+ "package": "himalaya",
10854
+ "type": "VStack",
10855
+ "props": {
10856
+ "spacing": 8,
10857
+ "alignment": "leading",
10858
+ "children": [
10859
+ {
10860
+ "id": "",
10861
+ "body": {
10862
+ "package": "himalaya",
10863
+ "type": "Text",
10864
+ "props": {
10865
+ "text": "Choose a location",
10866
+ "style": "title3"
10867
+ }
10868
+ }
10869
+ },
10870
+ {
10871
+ "id": "himi_services.location_options",
10872
+ "body": {
10873
+ "package": "himalaya",
10874
+ "type": "Grid",
10875
+ "props": {
10876
+ "columns": 1,
10877
+ "spacing": 0,
10878
+ "itemsPath": "$service:himiBookingServices.locationOptions",
10879
+ "items": [
10880
+ {
10881
+ "id": "",
10882
+ "body": {
10883
+ "package": "himalaya",
10884
+ "type": "VStack",
10885
+ "props": {
10886
+ "spacing": 0,
10887
+ "children": [
10888
+ {
10889
+ "id": "",
10890
+ "body": {
10891
+ "package": "himalaya",
10892
+ "type": "HStack",
10893
+ "props": {
10894
+ "spacing": 12,
10895
+ "alignment": "center",
10896
+ "children": [
10897
+ {
10898
+ "id": "",
10899
+ "body": {
10900
+ "package": "himalaya",
10901
+ "type": "VStack",
10902
+ "props": {
10903
+ "spacing": 2,
10904
+ "alignment": "leading",
10905
+ "children": [
10906
+ {
10907
+ "id": "",
10908
+ "body": {
10909
+ "package": "himalaya",
10910
+ "type": "Text",
10911
+ "props": {
10912
+ "text": "$item.label",
10913
+ "style": "body",
10914
+ "maxLines": 2
10915
+ }
10916
+ }
10917
+ },
10918
+ {
10919
+ "id": "",
10920
+ "body": {
10921
+ "package": "himalaya",
10922
+ "type": "Text",
10923
+ "props": {
10924
+ "text": "$item.sub",
10925
+ "style": "caption",
10926
+ "color": "textSecondary",
10927
+ "maxLines": 2
10928
+ }
10929
+ },
10930
+ "modifiers": {
10931
+ "hiddenPath": "$item.noSub"
10932
+ }
10933
+ }
10934
+ ]
10935
+ }
10936
+ }
10937
+ },
10938
+ {
10939
+ "id": "",
10940
+ "body": {
10941
+ "package": "himalaya",
10942
+ "type": "Spacer",
10943
+ "props": {}
10944
+ }
10945
+ },
10946
+ {
10947
+ "id": "",
10948
+ "body": {
10949
+ "package": "himalaya",
10950
+ "type": "Icon",
10951
+ "props": {
10952
+ "name": "check",
10953
+ "size": 20,
10954
+ "tint": "accentPrimary"
10955
+ }
10956
+ },
10957
+ "modifiers": {
10958
+ "accessibilityRole": "decorative",
10959
+ "hiddenPath": "$item.notSelected"
10960
+ }
10961
+ }
10962
+ ]
10963
+ }
10964
+ },
10965
+ "modifiers": {
10966
+ "fillMaxWidth": true,
10967
+ "padding": {
10968
+ "top": 15,
10969
+ "bottom": 15
10970
+ }
10971
+ }
10972
+ },
10973
+ {
10974
+ "id": "",
10975
+ "body": {
10976
+ "package": "himalaya",
10977
+ "type": "Divider",
10978
+ "props": {}
10979
+ }
10980
+ }
10981
+ ]
10982
+ }
10983
+ },
10984
+ "modifiers": {
10985
+ "fillMaxWidth": true,
10986
+ "onTap": {
10987
+ "actionId": "tier5.himiBookingServices.selectLocation",
10988
+ "params": {
10989
+ "locationId": "$item.id"
10990
+ }
10991
+ },
10992
+ "pressFeedback": "highlight",
10993
+ "accessibilityRole": "button",
10994
+ "accessibilityLabel": "$item.a11y"
10995
+ }
10996
+ }
10997
+ ]
10998
+ }
10999
+ }
11000
+ }
11001
+ ]
11002
+ }
11003
+ },
11004
+ "modifiers": {
11005
+ "padding": {
11006
+ "leading": 20,
11007
+ "trailing": 20,
11008
+ "top": 8,
11009
+ "bottom": 24
11010
+ }
11011
+ }
11012
+ }
11013
+ }
11014
+ }
11015
+ }
11016
+ ]
11017
+ }
11018
+ },
11019
+ "modifiers": {
11020
+ "background": {
11021
+ "token": "surfacePrimary"
11022
+ },
11023
+ "padding": {
11024
+ "leading": 0,
11025
+ "trailing": 0,
11026
+ "bottom": 24
11027
+ },
11028
+ "onAppear": {
11029
+ "actionId": "tier5.himiBookingServices.load",
11030
+ "params": {
11031
+ "copy": "{\"services.subtitle\":\"Find a class and reserve your spot.\"}"
11032
+ }
11033
+ }
11034
+ }
11035
+ },
11036
+ "logicBundle": {
11037
+ "url": "http://localhost:8190/v1/bundles/himi-booking-services",
11038
+ "integrity": "",
11039
+ "contentType": "application/javascript+ts-bundle",
11040
+ "declaredCapabilities": [
11041
+ "wix_api",
11042
+ "local_database",
11043
+ "app_info"
11044
+ ],
11045
+ "minBinaryVersion": "0.1.0",
11046
+ "bundleVersion": "0.0.1"
11047
+ },
11048
+ "stickyHeader": {
11049
+ "id": "himi_services.header",
11050
+ "body": {
11051
+ "package": "himalaya",
11052
+ "type": "VStack",
11053
+ "props": {
11054
+ "spacing": 0,
11055
+ "alignment": "leading",
11056
+ "children": [
11057
+ {
11058
+ "id": "",
11059
+ "body": {
11060
+ "package": "himalaya",
11061
+ "type": "VStack",
11062
+ "props": {
11063
+ "spacing": 4,
11064
+ "alignment": "leading",
11065
+ "children": [
11066
+ {
11067
+ "id": "himi_services.title",
11068
+ "body": {
11069
+ "package": "himalaya",
11070
+ "type": "Text",
11071
+ "props": {
11072
+ "text": "Services",
11073
+ "style": "title1"
11074
+ }
11075
+ }
11076
+ }
11077
+ ]
11078
+ }
11079
+ },
11080
+ "modifiers": {
11081
+ "padding": {
11082
+ "leading": 20,
11083
+ "trailing": 20,
11084
+ "top": 0,
10152
11085
  "bottom": 0
10153
- },
10154
- "hiddenPath": "$service:himiBookingServices.hideRows"
11086
+ }
10155
11087
  }
10156
11088
  },
10157
11089
  {
@@ -10160,31 +11092,20 @@ const SCREENS = runtimeSetting({
10160
11092
  "package": "himalaya",
10161
11093
  "type": "VStack",
10162
11094
  "props": {
10163
- "spacing": 8,
11095
+ "spacing": 0,
10164
11096
  "alignment": "leading",
10165
11097
  "children": [
10166
11098
  {
10167
- "id": "",
10168
- "body": {
10169
- "package": "himalaya",
10170
- "type": "Text",
10171
- "props": {
10172
- "text": "More services did not load.",
10173
- "style": "caption",
10174
- "color": "textSecondary"
10175
- }
10176
- }
10177
- },
10178
- {
10179
- "id": "himi_services.retry_page",
11099
+ "id": "himi_services.search",
10180
11100
  "body": {
10181
11101
  "package": "himalaya",
10182
- "type": "Button",
11102
+ "type": "SearchField",
10183
11103
  "props": {
10184
- "title": "Try again",
10185
- "style": "secondary",
10186
- "action": {
10187
- "actionId": "tier5.himiBookingServices.retry"
11104
+ "placeholder": "Search services",
11105
+ "value": "$service:himiBookingServices.collection.query",
11106
+ "debounceMs": 200,
11107
+ "onChange": {
11108
+ "actionId": "tier5.himiBookingServices.search"
10188
11109
  }
10189
11110
  }
10190
11111
  }
@@ -10196,147 +11117,64 @@ const SCREENS = runtimeSetting({
10196
11117
  "padding": {
10197
11118
  "leading": 20,
10198
11119
  "trailing": 20,
10199
- "top": 12,
11120
+ "top": 16,
10200
11121
  "bottom": 0
10201
11122
  },
10202
- "hiddenPath": "$service:himiBookingServices.collection.noPageError"
11123
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
10203
11124
  }
10204
11125
  },
10205
11126
  {
10206
- "id": "himi_services.empty_source",
11127
+ "id": "himi_services.categories",
10207
11128
  "body": {
10208
11129
  "package": "himalaya",
10209
- "type": "VStack",
11130
+ "type": "FilterChips",
10210
11131
  "props": {
10211
- "spacing": 10,
10212
- "alignment": "center",
10213
- "children": [
10214
- {
10215
- "id": "",
10216
- "body": {
10217
- "package": "himalaya",
10218
- "type": "Icon",
10219
- "props": {
10220
- "name": "calendar",
10221
- "size": 28,
10222
- "tint": "textTertiary"
10223
- }
10224
- },
10225
- "modifiers": {
10226
- "accessibilityRole": "decorative"
10227
- }
10228
- },
10229
- {
10230
- "id": "",
10231
- "body": {
10232
- "package": "himalaya",
10233
- "type": "Text",
10234
- "props": {
10235
- "text": "$service:himiBookingServices.collection.emptySourceText",
10236
- "style": "body",
10237
- "color": "textSecondary",
10238
- "textAlign": "center"
10239
- }
10240
- }
10241
- }
10242
- ]
11132
+ "chips": [],
11133
+ "optionsPath": "$service:himiBookingServices.categoryChips",
11134
+ "selectedIds": [
11135
+ "$service:himiBookingServices.activeCategory"
11136
+ ],
11137
+ "multiSelect": false,
11138
+ "onChange": {
11139
+ "actionId": "tier5.himiBookingServices.scrollToCategory"
11140
+ }
10243
11141
  }
10244
11142
  },
10245
11143
  "modifiers": {
10246
- "fillMaxWidth": true,
11144
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
10247
11145
  "padding": {
10248
11146
  "leading": 20,
10249
11147
  "trailing": 20,
10250
- "top": 40,
11148
+ "top": 12,
10251
11149
  "bottom": 0
10252
11150
  },
10253
- "transition": {
10254
- "enter": "fade",
10255
- "exit": "fade"
10256
- },
10257
- "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
11151
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
10258
11152
  }
10259
11153
  },
10260
11154
  {
10261
- "id": "himi_services.empty",
11155
+ "id": "",
10262
11156
  "body": {
10263
11157
  "package": "himalaya",
10264
11158
  "type": "VStack",
10265
11159
  "props": {
10266
- "spacing": 16,
10267
- "alignment": "center",
11160
+ "spacing": 0,
10268
11161
  "children": [
10269
11162
  {
10270
- "id": "himi_services.no_match_text",
10271
- "body": {
10272
- "package": "himalaya",
10273
- "type": "Text",
10274
- "props": {
10275
- "text": "$service:himiBookingServices.noMatchText",
10276
- "style": "body",
10277
- "color": "textSecondary",
10278
- "textAlign": "center"
10279
- }
10280
- }
10281
- },
10282
- {
10283
- "id": "himi_services.empty.cta",
10284
- "body": {
10285
- "package": "himalaya",
10286
- "type": "Button",
10287
- "props": {
10288
- "title": "Clear Search",
10289
- "style": "secondary",
10290
- "action": {
10291
- "actionId": "tier5.himiBookingServices.search",
10292
- "params": {
10293
- "value": ""
10294
- }
10295
- }
10296
- }
10297
- },
10298
- "modifiers": {
10299
- "hiddenPath": "$service:himiBookingServices.noQuery"
10300
- }
10301
- },
10302
- {
10303
- "id": "himi_services.empty.show_all",
11163
+ "id": "",
10304
11164
  "body": {
10305
11165
  "package": "himalaya",
10306
- "type": "Button",
10307
- "props": {
10308
- "title": "Show All",
10309
- "style": "secondary",
10310
- "action": {
10311
- "actionId": "tier5.himiBookingServices.collectionFilter",
10312
- "args": {
10313
- "selectedIds": [
10314
- "all"
10315
- ]
10316
- }
10317
- }
10318
- }
10319
- },
10320
- "modifiers": {
10321
- "hiddenPath": "$service:himiBookingServices.hasQuery"
11166
+ "type": "Divider",
11167
+ "props": {}
10322
11168
  }
10323
11169
  }
10324
11170
  ]
10325
11171
  }
10326
11172
  },
10327
11173
  "modifiers": {
10328
- "fillMaxWidth": true,
10329
11174
  "padding": {
10330
- "leading": 20,
10331
- "trailing": 20,
10332
- "top": 40,
10333
- "bottom": 0
10334
- },
10335
- "transition": {
10336
- "enter": "fade",
10337
- "exit": "fade"
11175
+ "top": 12
10338
11176
  },
10339
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
11177
+ "fillMaxWidth": true
10340
11178
  }
10341
11179
  }
10342
11180
  ]
@@ -10347,46 +11185,25 @@ const SCREENS = runtimeSetting({
10347
11185
  "token": "surfacePrimary"
10348
11186
  },
10349
11187
  "padding": {
10350
- "leading": 0,
10351
- "trailing": 0,
10352
- "top": 18,
10353
- "bottom": 24
11188
+ "top": 18
10354
11189
  },
10355
- "onAppear": {
10356
- "actionId": "tier5.himiBookingServices.load",
10357
- "params": {
10358
- "copy": "{\"services.subtitle\":\"Find a class and reserve your spot.\"}"
10359
- }
10360
- }
11190
+ "fillMaxWidth": true
10361
11191
  }
10362
11192
  },
10363
- "logicBundle": {
10364
- "url": "http://localhost:8190/v1/bundles/himi-booking-services",
10365
- "integrity": "",
10366
- "contentType": "application/javascript+ts-bundle",
10367
- "declaredCapabilities": [
10368
- "wix_api",
10369
- "local_database"
10370
- ],
10371
- "minBinaryVersion": "0.1.0",
10372
- "bundleVersion": "0.0.1"
10373
- },
10374
11193
  "topBar": {
10375
11194
  "actions": [
10376
11195
  {
10377
- "id": "bookings",
10378
- "icon": "calendar",
10379
- "accessibilityLabel": "My Bookings",
11196
+ "id": "location",
11197
+ "icon": "location",
11198
+ "accessibilityLabel": "Choose a location",
10380
11199
  "onTap": {
10381
- "actionId": "himi.open",
10382
- "params": {
10383
- "screenId": "himi_bookings"
10384
- }
10385
- }
11200
+ "actionId": "tier5.himiBookingServices.openLocations"
11201
+ },
11202
+ "hiddenPath": "$service:brandedLiteNav.noLocationMenu"
10386
11203
  },
10387
11204
  {
10388
11205
  "id": "agenda",
10389
- "icon": "list",
11206
+ "icon": "calendar",
10390
11207
  "accessibilityLabel": "Agenda",
10391
11208
  "onTap": {
10392
11209
  "actionId": "himi.open",
@@ -10513,29 +11330,45 @@ const SCREENS = runtimeSetting({
10513
11330
  }
10514
11331
  },
10515
11332
  {
10516
- "id": "himi_bookings.tabs",
11333
+ "id": "",
10517
11334
  "body": {
10518
11335
  "package": "himalaya",
10519
- "type": "SegmentedControl",
11336
+ "type": "VStack",
10520
11337
  "props": {
10521
- "options": [
10522
- {
10523
- "id": "upcoming",
10524
- "label": "Upcoming"
10525
- },
10526
- {
10527
- "id": "past",
10528
- "label": "Past"
10529
- },
11338
+ "spacing": 0,
11339
+ "alignment": "leading",
11340
+ "children": [
10530
11341
  {
10531
- "id": "cancelled",
10532
- "label": "Canceled"
11342
+ "id": "himi_bookings.tabs",
11343
+ "body": {
11344
+ "package": "himalaya",
11345
+ "type": "SegmentedControl",
11346
+ "props": {
11347
+ "options": [
11348
+ {
11349
+ "id": "upcoming",
11350
+ "label": "Upcoming"
11351
+ },
11352
+ {
11353
+ "id": "past",
11354
+ "label": "Past"
11355
+ },
11356
+ {
11357
+ "id": "cancelled",
11358
+ "label": "Canceled"
11359
+ }
11360
+ ],
11361
+ "selectedId": "$service:himiBookingBookings.tab",
11362
+ "onChange": {
11363
+ "actionId": "tier5.himiBookingBookings.selectTab"
11364
+ }
11365
+ }
11366
+ },
11367
+ "modifiers": {
11368
+ "fillMaxWidth": true
11369
+ }
10533
11370
  }
10534
- ],
10535
- "selectedId": "$service:himiBookingBookings.tab",
10536
- "onChange": {
10537
- "actionId": "tier5.himiBookingBookings.selectTab"
10538
- }
11371
+ ]
10539
11372
  }
10540
11373
  },
10541
11374
  "modifiers": {
@@ -12807,8 +13640,8 @@ const SCREENS = runtimeSetting({
12807
13640
  },
12808
13641
  "modifiers": {
12809
13642
  "padding": {
12810
- "leading": 20,
12811
- "trailing": 20,
13643
+ "leading": 16,
13644
+ "trailing": 16,
12812
13645
  "top": 14,
12813
13646
  "bottom": 14
12814
13647
  },
@@ -12914,8 +13747,8 @@ const SCREENS = runtimeSetting({
12914
13747
  },
12915
13748
  "modifiers": {
12916
13749
  "padding": {
12917
- "leading": 20,
12918
- "trailing": 20,
13750
+ "leading": 16,
13751
+ "trailing": 16,
12919
13752
  "top": 14,
12920
13753
  "bottom": 14
12921
13754
  },
@@ -13021,8 +13854,8 @@ const SCREENS = runtimeSetting({
13021
13854
  },
13022
13855
  "modifiers": {
13023
13856
  "padding": {
13024
- "leading": 20,
13025
- "trailing": 20,
13857
+ "leading": 16,
13858
+ "trailing": 16,
13026
13859
  "top": 14,
13027
13860
  "bottom": 14
13028
13861
  },
@@ -13293,7 +14126,9 @@ const SCREENS = runtimeSetting({
13293
14126
  "actionId": "himi.open",
13294
14127
  "params": {
13295
14128
  "screenId": "himi_service",
13296
- "id": "$item.serviceId"
14129
+ "id": "$item.serviceId",
14130
+ "sessionId": "$item.sessionId",
14131
+ "start": "$item.start"
13297
14132
  }
13298
14133
  },
13299
14134
  "pressFeedback": "highlight",
@@ -13460,7 +14295,9 @@ const SCREENS = runtimeSetting({
13460
14295
  "actionId": "himi.open",
13461
14296
  "params": {
13462
14297
  "screenId": "himi_service",
13463
- "id": "$item.serviceId"
14298
+ "id": "$item.serviceId",
14299
+ "sessionId": "$item.sessionId",
14300
+ "start": "$item.start"
13464
14301
  }
13465
14302
  },
13466
14303
  "accessibilityRole": "button",
@@ -13649,6 +14486,8 @@ const SCREENS = runtimeSetting({
13649
14486
  },
13650
14487
  "modifiers": {
13651
14488
  "padding": {
14489
+ "leading": 16,
14490
+ "trailing": 16,
13652
14491
  "top": 14,
13653
14492
  "bottom": 14
13654
14493
  },
@@ -13661,20 +14500,22 @@ const SCREENS = runtimeSetting({
13661
14500
  "package": "himalaya",
13662
14501
  "type": "Divider",
13663
14502
  "props": {}
14503
+ },
14504
+ "modifiers": {
14505
+ "hiddenPath": "$item.lastOfDay"
13664
14506
  }
13665
14507
  }
13666
14508
  ]
13667
14509
  }
13668
14510
  }
14511
+ },
14512
+ "onVisibleDateChange": {
14513
+ "actionId": "tier5.himiBrandedAgenda.visibleDate"
13669
14514
  }
13670
14515
  }
13671
14516
  },
13672
14517
  "modifiers": {
13673
14518
  "fillMaxWidth": true,
13674
- "padding": {
13675
- "leading": 20,
13676
- "trailing": 20
13677
- },
13678
14519
  "hiddenPath": "$service:himiBrandedAgenda.listHidden"
13679
14520
  }
13680
14521
  },
@@ -13757,11 +14598,46 @@ const SCREENS = runtimeSetting({
13757
14598
  "top": 48
13758
14599
  },
13759
14600
  "fillMaxWidth": true,
13760
- "hiddenPath": "$service:himiBrandedAgenda.notNoClasses"
14601
+ "hiddenPath": "$service:himiBrandedAgenda.notNoClasses"
14602
+ }
14603
+ },
14604
+ {
14605
+ "id": "himi_agenda.nothing_ahead",
14606
+ "body": {
14607
+ "package": "himalaya",
14608
+ "type": "VStack",
14609
+ "props": {
14610
+ "spacing": 22,
14611
+ "alignment": "center",
14612
+ "children": [
14613
+ {
14614
+ "id": "",
14615
+ "body": {
14616
+ "package": "himalaya",
14617
+ "type": "Text",
14618
+ "props": {
14619
+ "text": "There are no classes for 4 weeks from this day.",
14620
+ "style": "body",
14621
+ "color": "textPrimary",
14622
+ "textAlign": "center"
14623
+ }
14624
+ }
14625
+ }
14626
+ ]
14627
+ }
14628
+ },
14629
+ "modifiers": {
14630
+ "padding": {
14631
+ "leading": 28,
14632
+ "trailing": 28,
14633
+ "top": 48
14634
+ },
14635
+ "fillMaxWidth": true,
14636
+ "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
13761
14637
  }
13762
14638
  },
13763
14639
  {
13764
- "id": "himi_agenda.nothing_ahead",
14640
+ "id": "himi_agenda.location_empty",
13765
14641
  "body": {
13766
14642
  "package": "himalaya",
13767
14643
  "type": "VStack",
@@ -13775,12 +14651,29 @@ const SCREENS = runtimeSetting({
13775
14651
  "package": "himalaya",
13776
14652
  "type": "Text",
13777
14653
  "props": {
13778
- "text": "There are no classes for 4 weeks from this day.",
14654
+ "text": "No classes at this location in the coming weeks.",
13779
14655
  "style": "body",
13780
14656
  "color": "textPrimary",
13781
14657
  "textAlign": "center"
13782
14658
  }
13783
14659
  }
14660
+ },
14661
+ {
14662
+ "id": "himi_agenda.all_locations",
14663
+ "body": {
14664
+ "package": "himalaya",
14665
+ "type": "Button",
14666
+ "props": {
14667
+ "title": "Show all locations",
14668
+ "style": "secondary",
14669
+ "action": {
14670
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
14671
+ "params": {
14672
+ "locationId": ""
14673
+ }
14674
+ }
14675
+ }
14676
+ }
13784
14677
  }
13785
14678
  ]
13786
14679
  }
@@ -13792,7 +14685,7 @@ const SCREENS = runtimeSetting({
13792
14685
  "top": 48
13793
14686
  },
13794
14687
  "fillMaxWidth": true,
13795
- "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
14688
+ "hiddenPath": "$service:himiBrandedAgenda.notLocationEmpty"
13796
14689
  }
13797
14690
  },
13798
14691
  {
@@ -13899,7 +14792,9 @@ const SCREENS = runtimeSetting({
13899
14792
  "nav": {
13900
14793
  "screenId": "himi_service",
13901
14794
  "args": {
13902
- "id": "$service:himiBrandedAgenda.sheetServiceId"
14795
+ "id": "$service:himiBrandedAgenda.sheetServiceId",
14796
+ "sessionId": "$service:himiBrandedAgenda.sheetSessionId",
14797
+ "start": "$service:himiBrandedAgenda.sheetStart"
13903
14798
  }
13904
14799
  }
13905
14800
  }
@@ -13973,6 +14868,184 @@ const SCREENS = runtimeSetting({
13973
14868
  }
13974
14869
  }
13975
14870
  },
14871
+ {
14872
+ "id": "himi_agenda.location_sheet",
14873
+ "body": {
14874
+ "package": "himalaya",
14875
+ "type": "BottomSheet",
14876
+ "props": {
14877
+ "presentedPath": "$service:himiBrandedAgenda.locationSheetOpen",
14878
+ "dismissible": true,
14879
+ "showGrabber": true,
14880
+ "onDismiss": {
14881
+ "actionId": "tier5.himiBrandedAgenda.closeLocations"
14882
+ },
14883
+ "content": {
14884
+ "id": "",
14885
+ "body": {
14886
+ "package": "himalaya",
14887
+ "type": "VStack",
14888
+ "props": {
14889
+ "spacing": 8,
14890
+ "alignment": "leading",
14891
+ "children": [
14892
+ {
14893
+ "id": "",
14894
+ "body": {
14895
+ "package": "himalaya",
14896
+ "type": "Text",
14897
+ "props": {
14898
+ "text": "Choose a location",
14899
+ "style": "title3"
14900
+ }
14901
+ }
14902
+ },
14903
+ {
14904
+ "id": "himi_agenda.location_options",
14905
+ "body": {
14906
+ "package": "himalaya",
14907
+ "type": "Grid",
14908
+ "props": {
14909
+ "columns": 1,
14910
+ "spacing": 0,
14911
+ "itemsPath": "$service:himiBrandedAgenda.locationOptions",
14912
+ "items": [
14913
+ {
14914
+ "id": "",
14915
+ "body": {
14916
+ "package": "himalaya",
14917
+ "type": "VStack",
14918
+ "props": {
14919
+ "spacing": 0,
14920
+ "children": [
14921
+ {
14922
+ "id": "",
14923
+ "body": {
14924
+ "package": "himalaya",
14925
+ "type": "HStack",
14926
+ "props": {
14927
+ "spacing": 12,
14928
+ "alignment": "center",
14929
+ "children": [
14930
+ {
14931
+ "id": "",
14932
+ "body": {
14933
+ "package": "himalaya",
14934
+ "type": "VStack",
14935
+ "props": {
14936
+ "spacing": 2,
14937
+ "alignment": "leading",
14938
+ "children": [
14939
+ {
14940
+ "id": "",
14941
+ "body": {
14942
+ "package": "himalaya",
14943
+ "type": "Text",
14944
+ "props": {
14945
+ "text": "$item.label",
14946
+ "style": "body",
14947
+ "maxLines": 2
14948
+ }
14949
+ }
14950
+ },
14951
+ {
14952
+ "id": "",
14953
+ "body": {
14954
+ "package": "himalaya",
14955
+ "type": "Text",
14956
+ "props": {
14957
+ "text": "$item.sub",
14958
+ "style": "caption",
14959
+ "color": "textSecondary",
14960
+ "maxLines": 2
14961
+ }
14962
+ },
14963
+ "modifiers": {
14964
+ "hiddenPath": "$item.noSub"
14965
+ }
14966
+ }
14967
+ ]
14968
+ }
14969
+ }
14970
+ },
14971
+ {
14972
+ "id": "",
14973
+ "body": {
14974
+ "package": "himalaya",
14975
+ "type": "Spacer",
14976
+ "props": {}
14977
+ }
14978
+ },
14979
+ {
14980
+ "id": "",
14981
+ "body": {
14982
+ "package": "himalaya",
14983
+ "type": "Icon",
14984
+ "props": {
14985
+ "name": "check",
14986
+ "size": 20,
14987
+ "tint": "accentPrimary"
14988
+ }
14989
+ },
14990
+ "modifiers": {
14991
+ "accessibilityRole": "decorative",
14992
+ "hiddenPath": "$item.notSelected"
14993
+ }
14994
+ }
14995
+ ]
14996
+ }
14997
+ },
14998
+ "modifiers": {
14999
+ "fillMaxWidth": true,
15000
+ "padding": {
15001
+ "top": 15,
15002
+ "bottom": 15
15003
+ }
15004
+ }
15005
+ },
15006
+ {
15007
+ "id": "",
15008
+ "body": {
15009
+ "package": "himalaya",
15010
+ "type": "Divider",
15011
+ "props": {}
15012
+ }
15013
+ }
15014
+ ]
15015
+ }
15016
+ },
15017
+ "modifiers": {
15018
+ "fillMaxWidth": true,
15019
+ "onTap": {
15020
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
15021
+ "params": {
15022
+ "locationId": "$item.id"
15023
+ }
15024
+ },
15025
+ "pressFeedback": "highlight",
15026
+ "accessibilityRole": "button",
15027
+ "accessibilityLabel": "$item.a11y"
15028
+ }
15029
+ }
15030
+ ]
15031
+ }
15032
+ }
15033
+ }
15034
+ ]
15035
+ }
15036
+ },
15037
+ "modifiers": {
15038
+ "padding": {
15039
+ "leading": 20,
15040
+ "trailing": 20,
15041
+ "top": 8,
15042
+ "bottom": 24
15043
+ }
15044
+ }
15045
+ }
15046
+ }
15047
+ }
15048
+ },
13976
15049
  {
13977
15050
  "id": "himi_agenda.result",
13978
15051
  "body": {
@@ -14227,7 +15300,8 @@ const SCREENS = runtimeSetting({
14227
15300
  "wix_api",
14228
15301
  "app_info",
14229
15302
  "calendar",
14230
- "open_url"
15303
+ "open_url",
15304
+ "local_database"
14231
15305
  ],
14232
15306
  "minBinaryVersion": "0.1.0",
14233
15307
  "bundleVersion": "0.0.1"
@@ -14245,28 +15319,110 @@ const SCREENS = runtimeSetting({
14245
15319
  "alignment": "leading",
14246
15320
  "children": [
14247
15321
  {
14248
- "id": "himi_agenda.back",
15322
+ "id": "",
14249
15323
  "body": {
14250
15324
  "package": "himalaya",
14251
- "type": "Button",
15325
+ "type": "HStack",
14252
15326
  "props": {
14253
- "title": "Back",
14254
- "action": {
14255
- "actionId": "nav.back",
14256
- "presentation": "back"
14257
- },
14258
- "style": "tertiary",
14259
- "iconOnly": true,
14260
- "leadingIcon": "chevron_left",
14261
- "cornerRadius": 22,
14262
- "minHeight": 44
15327
+ "spacing": 0,
15328
+ "alignment": "center",
15329
+ "children": [
15330
+ {
15331
+ "id": "himi_agenda.back",
15332
+ "body": {
15333
+ "package": "himalaya",
15334
+ "type": "Button",
15335
+ "props": {
15336
+ "title": "Back",
15337
+ "action": {
15338
+ "actionId": "nav.back",
15339
+ "presentation": "back"
15340
+ },
15341
+ "style": "tertiary",
15342
+ "iconOnly": true,
15343
+ "leadingIcon": "chevron_left",
15344
+ "cornerRadius": 22,
15345
+ "minHeight": 44
15346
+ }
15347
+ },
15348
+ "modifiers": {
15349
+ "width": 44,
15350
+ "height": 44,
15351
+ "accessibilityLabel": "Back",
15352
+ "accessibilityRole": "button"
15353
+ }
15354
+ },
15355
+ {
15356
+ "id": "",
15357
+ "body": {
15358
+ "package": "himalaya",
15359
+ "type": "Spacer",
15360
+ "props": {}
15361
+ }
15362
+ },
15363
+ {
15364
+ "id": "himi_agenda.location",
15365
+ "body": {
15366
+ "package": "himalaya",
15367
+ "type": "ZStack",
15368
+ "props": {
15369
+ "children": [
15370
+ {
15371
+ "id": "",
15372
+ "body": {
15373
+ "package": "himalaya",
15374
+ "type": "Icon",
15375
+ "props": {
15376
+ "name": "location",
15377
+ "size": 22,
15378
+ "tint": "textPrimary"
15379
+ }
15380
+ },
15381
+ "modifiers": {
15382
+ "accessibilityRole": "decorative",
15383
+ "hiddenPath": "$service:himiBrandedAgenda.locationActive"
15384
+ }
15385
+ },
15386
+ {
15387
+ "id": "",
15388
+ "body": {
15389
+ "package": "himalaya",
15390
+ "type": "Icon",
15391
+ "props": {
15392
+ "name": "location",
15393
+ "size": 22,
15394
+ "tint": "accentPrimary"
15395
+ }
15396
+ },
15397
+ "modifiers": {
15398
+ "accessibilityRole": "decorative",
15399
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationActive"
15400
+ }
15401
+ }
15402
+ ]
15403
+ }
15404
+ },
15405
+ "modifiers": {
15406
+ "width": 44,
15407
+ "height": 44,
15408
+ "onTap": {
15409
+ "actionId": "tier5.himiBrandedAgenda.openLocations"
15410
+ },
15411
+ "pressFeedback": "highlight",
15412
+ "accessibilityRole": "button",
15413
+ "accessibilityLabel": "$service:himiBrandedAgenda.locationA11y",
15414
+ "accessibilityHint": "Choose a location",
15415
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationMenu"
15416
+ }
15417
+ }
15418
+ ]
14263
15419
  }
14264
15420
  },
14265
15421
  "modifiers": {
14266
- "width": 44,
14267
- "height": 44,
14268
- "accessibilityLabel": "Back",
14269
- "accessibilityRole": "button"
15422
+ "fillMaxWidth": true,
15423
+ "padding": {
15424
+ "trailing": 4
15425
+ }
14270
15426
  }
14271
15427
  },
14272
15428
  {
@@ -21943,14 +23099,74 @@ const SCREENS = runtimeSetting({
21943
23099
  "alignment": "leading",
21944
23100
  "children": [
21945
23101
  {
21946
- "id": "",
23102
+ "id": "himi_events.list.collection.list.$item.collectionId/heading",
21947
23103
  "body": {
21948
23104
  "package": "himalaya",
21949
- "type": "Text",
23105
+ "type": "HStack",
21950
23106
  "props": {
21951
- "text": "$item.collectionTitle",
21952
- "style": "bodyEmphasis",
21953
- "maxLines": 2
23107
+ "spacing": 0,
23108
+ "alignment": "center",
23109
+ "children": [
23110
+ {
23111
+ "id": "himi_events.list.collection.list.$item.collectionId/date-badge-group",
23112
+ "body": {
23113
+ "package": "himalaya",
23114
+ "type": "VStack",
23115
+ "props": {
23116
+ "spacing": 0,
23117
+ "children": [
23118
+ {
23119
+ "id": "himi_events.list.collection.list.$item.collectionId/date-badge",
23120
+ "body": {
23121
+ "package": "himalaya",
23122
+ "type": "Text",
23123
+ "props": {
23124
+ "text": "$item.dateBadge",
23125
+ "style": "bodyEmphasis",
23126
+ "maxLines": 2,
23127
+ "collapseWhenEmpty": true,
23128
+ "textAlign": "center"
23129
+ }
23130
+ },
23131
+ "modifiers": {
23132
+ "padding": {
23133
+ "leading": 8,
23134
+ "trailing": 8,
23135
+ "top": 8,
23136
+ "bottom": 8
23137
+ },
23138
+ "background": {
23139
+ "token": "surfaceSecondary"
23140
+ },
23141
+ "cornerRadius": 8
23142
+ }
23143
+ }
23144
+ ]
23145
+ }
23146
+ },
23147
+ "modifiers": {
23148
+ "padding": {
23149
+ "trailing": 8
23150
+ },
23151
+ "hiddenPath": "$item.noDateBadge"
23152
+ }
23153
+ },
23154
+ {
23155
+ "id": "",
23156
+ "body": {
23157
+ "package": "himalaya",
23158
+ "type": "Text",
23159
+ "props": {
23160
+ "text": "$item.collectionTitle",
23161
+ "style": "bodyEmphasis",
23162
+ "maxLines": 2
23163
+ }
23164
+ },
23165
+ "modifiers": {
23166
+ "weight": 1
23167
+ }
23168
+ }
23169
+ ]
21954
23170
  }
21955
23171
  }
21956
23172
  },
@@ -22042,21 +23258,36 @@ const SCREENS = runtimeSetting({
22042
23258
  "spacing": 0,
22043
23259
  "children": [
22044
23260
  {
22045
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
23261
+ "id": "",
22046
23262
  "body": {
22047
23263
  "package": "himalaya",
22048
- "type": "Button",
23264
+ "type": "HStack",
22049
23265
  "props": {
22050
- "title": "Register",
22051
- "style": "secondary",
22052
- "fullWidth": false,
22053
- "action": {
22054
- "actionId": "himi.open",
22055
- "params": {
22056
- "screenId": "$item.detailScreenId",
22057
- "id": "$item.id"
23266
+ "spacing": 0,
23267
+ "children": [
23268
+ {
23269
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
23270
+ "body": {
23271
+ "package": "himalaya",
23272
+ "type": "Button",
23273
+ "props": {
23274
+ "title": "$item.actionLabel",
23275
+ "style": "secondary",
23276
+ "fullWidth": false,
23277
+ "action": {
23278
+ "actionId": "himi.open",
23279
+ "params": {
23280
+ "screenId": "$item.detailScreenId",
23281
+ "id": "$item.id"
23282
+ }
23283
+ }
23284
+ }
23285
+ },
23286
+ "modifiers": {
23287
+ "hiddenPath": "$item.noAction"
23288
+ }
22058
23289
  }
22059
- }
23290
+ ]
22060
23291
  }
22061
23292
  },
22062
23293
  "modifiers": {
@@ -22135,6 +23366,17 @@ const SCREENS = runtimeSetting({
22135
23366
  }
22136
23367
  }
22137
23368
  },
23369
+ {
23370
+ "id": "share",
23371
+ "label": "Share",
23372
+ "icon": "share",
23373
+ "action": {
23374
+ "actionId": "tier5.himiEvents.share",
23375
+ "params": {
23376
+ "id": "$item.collectionId"
23377
+ }
23378
+ }
23379
+ },
22138
23380
  {
22139
23381
  "id": "open",
22140
23382
  "label": "Open details",
@@ -22247,9 +23489,9 @@ const SCREENS = runtimeSetting({
22247
23489
  "package": "himalaya",
22248
23490
  "type": "Grid",
22249
23491
  "props": {
22250
- "columns": 2,
22251
- "columnsMedium": 3,
22252
- "columnsExpanded": 4,
23492
+ "columns": 1,
23493
+ "columnsMedium": 2,
23494
+ "columnsExpanded": 3,
22253
23495
  "spacing": 12,
22254
23496
  "staggerMs": 30,
22255
23497
  "itemsPath": "$service:himiEvents.collection.items",
@@ -22340,14 +23582,74 @@ const SCREENS = runtimeSetting({
22340
23582
  "alignment": "leading",
22341
23583
  "children": [
22342
23584
  {
22343
- "id": "",
23585
+ "id": "himi_events.list.collection.grid.$item.collectionId/heading",
22344
23586
  "body": {
22345
23587
  "package": "himalaya",
22346
- "type": "Text",
23588
+ "type": "HStack",
22347
23589
  "props": {
22348
- "text": "$item.collectionTitle",
22349
- "style": "bodyEmphasis",
22350
- "maxLines": 2
23590
+ "spacing": 0,
23591
+ "alignment": "center",
23592
+ "children": [
23593
+ {
23594
+ "id": "himi_events.list.collection.grid.$item.collectionId/date-badge-group",
23595
+ "body": {
23596
+ "package": "himalaya",
23597
+ "type": "VStack",
23598
+ "props": {
23599
+ "spacing": 0,
23600
+ "children": [
23601
+ {
23602
+ "id": "himi_events.list.collection.grid.$item.collectionId/date-badge",
23603
+ "body": {
23604
+ "package": "himalaya",
23605
+ "type": "Text",
23606
+ "props": {
23607
+ "text": "$item.dateBadge",
23608
+ "style": "bodyEmphasis",
23609
+ "maxLines": 2,
23610
+ "collapseWhenEmpty": true,
23611
+ "textAlign": "center"
23612
+ }
23613
+ },
23614
+ "modifiers": {
23615
+ "padding": {
23616
+ "leading": 8,
23617
+ "trailing": 8,
23618
+ "top": 8,
23619
+ "bottom": 8
23620
+ },
23621
+ "background": {
23622
+ "token": "surfaceSecondary"
23623
+ },
23624
+ "cornerRadius": 8
23625
+ }
23626
+ }
23627
+ ]
23628
+ }
23629
+ },
23630
+ "modifiers": {
23631
+ "padding": {
23632
+ "trailing": 8
23633
+ },
23634
+ "hiddenPath": "$item.noDateBadge"
23635
+ }
23636
+ },
23637
+ {
23638
+ "id": "",
23639
+ "body": {
23640
+ "package": "himalaya",
23641
+ "type": "Text",
23642
+ "props": {
23643
+ "text": "$item.collectionTitle",
23644
+ "style": "bodyEmphasis",
23645
+ "maxLines": 2
23646
+ }
23647
+ },
23648
+ "modifiers": {
23649
+ "weight": 1
23650
+ }
23651
+ }
23652
+ ]
22351
23653
  }
22352
23654
  }
22353
23655
  },
@@ -22477,21 +23779,36 @@ const SCREENS = runtimeSetting({
22477
23779
  }
22478
23780
  },
22479
23781
  {
22480
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
23782
+ "id": "",
22481
23783
  "body": {
22482
23784
  "package": "himalaya",
22483
- "type": "Button",
23785
+ "type": "HStack",
22484
23786
  "props": {
22485
- "title": "Register",
22486
- "style": "secondary",
22487
- "fullWidth": false,
22488
- "action": {
22489
- "actionId": "himi.open",
22490
- "params": {
22491
- "screenId": "$item.detailScreenId",
22492
- "id": "$item.id"
23787
+ "spacing": 0,
23788
+ "children": [
23789
+ {
23790
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
23791
+ "body": {
23792
+ "package": "himalaya",
23793
+ "type": "Button",
23794
+ "props": {
23795
+ "title": "$item.actionLabel",
23796
+ "style": "secondary",
23797
+ "fullWidth": false,
23798
+ "action": {
23799
+ "actionId": "himi.open",
23800
+ "params": {
23801
+ "screenId": "$item.detailScreenId",
23802
+ "id": "$item.id"
23803
+ }
23804
+ }
23805
+ }
23806
+ },
23807
+ "modifiers": {
23808
+ "hiddenPath": "$item.noAction"
23809
+ }
22493
23810
  }
22494
- }
23811
+ ]
22495
23812
  }
22496
23813
  },
22497
23814
  "modifiers": {
@@ -22552,6 +23869,17 @@ const SCREENS = runtimeSetting({
22552
23869
  }
22553
23870
  }
22554
23871
  },
23872
+ {
23873
+ "id": "share",
23874
+ "label": "Share",
23875
+ "icon": "share",
23876
+ "action": {
23877
+ "actionId": "tier5.himiEvents.share",
23878
+ "params": {
23879
+ "id": "$item.collectionId"
23880
+ }
23881
+ }
23882
+ },
22555
23883
  {
22556
23884
  "id": "open",
22557
23885
  "label": "Open details",
@@ -22726,14 +24054,74 @@ const SCREENS = runtimeSetting({
22726
24054
  "alignment": "leading",
22727
24055
  "children": [
22728
24056
  {
22729
- "id": "",
24057
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/heading",
22730
24058
  "body": {
22731
24059
  "package": "himalaya",
22732
- "type": "Text",
24060
+ "type": "HStack",
22733
24061
  "props": {
22734
- "text": "$item.collectionTitle",
22735
- "style": "bodyEmphasis",
22736
- "maxLines": 2
24062
+ "spacing": 0,
24063
+ "alignment": "center",
24064
+ "children": [
24065
+ {
24066
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/date-badge-group",
24067
+ "body": {
24068
+ "package": "himalaya",
24069
+ "type": "VStack",
24070
+ "props": {
24071
+ "spacing": 0,
24072
+ "children": [
24073
+ {
24074
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/date-badge",
24075
+ "body": {
24076
+ "package": "himalaya",
24077
+ "type": "Text",
24078
+ "props": {
24079
+ "text": "$item.dateBadge",
24080
+ "style": "bodyEmphasis",
24081
+ "maxLines": 2,
24082
+ "collapseWhenEmpty": true,
24083
+ "textAlign": "center"
24084
+ }
24085
+ },
24086
+ "modifiers": {
24087
+ "padding": {
24088
+ "leading": 8,
24089
+ "trailing": 8,
24090
+ "top": 8,
24091
+ "bottom": 8
24092
+ },
24093
+ "background": {
24094
+ "token": "surfaceSecondary"
24095
+ },
24096
+ "cornerRadius": 8
24097
+ }
24098
+ }
24099
+ ]
24100
+ }
24101
+ },
24102
+ "modifiers": {
24103
+ "padding": {
24104
+ "trailing": 8
24105
+ },
24106
+ "hiddenPath": "$item.noDateBadge"
24107
+ }
24108
+ },
24109
+ {
24110
+ "id": "",
24111
+ "body": {
24112
+ "package": "himalaya",
24113
+ "type": "Text",
24114
+ "props": {
24115
+ "text": "$item.collectionTitle",
24116
+ "style": "bodyEmphasis",
24117
+ "maxLines": 2
24118
+ }
24119
+ },
24120
+ "modifiers": {
24121
+ "weight": 1
24122
+ }
24123
+ }
24124
+ ]
22737
24125
  }
22738
24126
  }
22739
24127
  },
@@ -22825,21 +24213,36 @@ const SCREENS = runtimeSetting({
22825
24213
  "spacing": 0,
22826
24214
  "children": [
22827
24215
  {
22828
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
24216
+ "id": "",
22829
24217
  "body": {
22830
24218
  "package": "himalaya",
22831
- "type": "Button",
24219
+ "type": "HStack",
22832
24220
  "props": {
22833
- "title": "Register",
22834
- "style": "secondary",
22835
- "fullWidth": false,
22836
- "action": {
22837
- "actionId": "himi.open",
22838
- "params": {
22839
- "screenId": "$item.detailScreenId",
22840
- "id": "$item.id"
24221
+ "spacing": 0,
24222
+ "children": [
24223
+ {
24224
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
24225
+ "body": {
24226
+ "package": "himalaya",
24227
+ "type": "Button",
24228
+ "props": {
24229
+ "title": "$item.actionLabel",
24230
+ "style": "secondary",
24231
+ "fullWidth": false,
24232
+ "action": {
24233
+ "actionId": "himi.open",
24234
+ "params": {
24235
+ "screenId": "$item.detailScreenId",
24236
+ "id": "$item.id"
24237
+ }
24238
+ }
24239
+ }
24240
+ },
24241
+ "modifiers": {
24242
+ "hiddenPath": "$item.noAction"
24243
+ }
22841
24244
  }
22842
- }
24245
+ ]
22843
24246
  }
22844
24247
  },
22845
24248
  "modifiers": {
@@ -22908,11 +24311,22 @@ const SCREENS = runtimeSetting({
22908
24311
  }
22909
24312
  },
22910
24313
  {
22911
- "id": "save",
22912
- "label": "$item.collectionSaveLabel",
22913
- "icon": "bookmark",
24314
+ "id": "save",
24315
+ "label": "$item.collectionSaveLabel",
24316
+ "icon": "bookmark",
24317
+ "action": {
24318
+ "actionId": "tier5.himiEvents.collectionSave",
24319
+ "params": {
24320
+ "id": "$item.collectionId"
24321
+ }
24322
+ }
24323
+ },
24324
+ {
24325
+ "id": "share",
24326
+ "label": "Share",
24327
+ "icon": "share",
22914
24328
  "action": {
22915
- "actionId": "tier5.himiEvents.collectionSave",
24329
+ "actionId": "tier5.himiEvents.share",
22916
24330
  "params": {
22917
24331
  "id": "$item.collectionId"
22918
24332
  }
@@ -23030,9 +24444,9 @@ const SCREENS = runtimeSetting({
23030
24444
  "package": "himalaya",
23031
24445
  "type": "Grid",
23032
24446
  "props": {
23033
- "columns": 2,
23034
- "columnsMedium": 3,
23035
- "columnsExpanded": 4,
24447
+ "columns": 1,
24448
+ "columnsMedium": 2,
24449
+ "columnsExpanded": 3,
23036
24450
  "spacing": 8,
23037
24451
  "staggerMs": 30,
23038
24452
  "itemsPath": "$service:himiEvents.collection.items",
@@ -23123,14 +24537,74 @@ const SCREENS = runtimeSetting({
23123
24537
  "alignment": "leading",
23124
24538
  "children": [
23125
24539
  {
23126
- "id": "",
24540
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/heading",
23127
24541
  "body": {
23128
24542
  "package": "himalaya",
23129
- "type": "Text",
24543
+ "type": "HStack",
23130
24544
  "props": {
23131
- "text": "$item.collectionTitle",
23132
- "style": "bodyEmphasis",
23133
- "maxLines": 2
24545
+ "spacing": 0,
24546
+ "alignment": "center",
24547
+ "children": [
24548
+ {
24549
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/date-badge-group",
24550
+ "body": {
24551
+ "package": "himalaya",
24552
+ "type": "VStack",
24553
+ "props": {
24554
+ "spacing": 0,
24555
+ "children": [
24556
+ {
24557
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/date-badge",
24558
+ "body": {
24559
+ "package": "himalaya",
24560
+ "type": "Text",
24561
+ "props": {
24562
+ "text": "$item.dateBadge",
24563
+ "style": "bodyEmphasis",
24564
+ "maxLines": 2,
24565
+ "collapseWhenEmpty": true,
24566
+ "textAlign": "center"
24567
+ }
24568
+ },
24569
+ "modifiers": {
24570
+ "padding": {
24571
+ "leading": 8,
24572
+ "trailing": 8,
24573
+ "top": 8,
24574
+ "bottom": 8
24575
+ },
24576
+ "background": {
24577
+ "token": "surfaceSecondary"
24578
+ },
24579
+ "cornerRadius": 8
24580
+ }
24581
+ }
24582
+ ]
24583
+ }
24584
+ },
24585
+ "modifiers": {
24586
+ "padding": {
24587
+ "trailing": 8
24588
+ },
24589
+ "hiddenPath": "$item.noDateBadge"
24590
+ }
24591
+ },
24592
+ {
24593
+ "id": "",
24594
+ "body": {
24595
+ "package": "himalaya",
24596
+ "type": "Text",
24597
+ "props": {
24598
+ "text": "$item.collectionTitle",
24599
+ "style": "bodyEmphasis",
24600
+ "maxLines": 2
24601
+ }
24602
+ },
24603
+ "modifiers": {
24604
+ "weight": 1
24605
+ }
24606
+ }
24607
+ ]
23134
24608
  }
23135
24609
  }
23136
24610
  },
@@ -23260,21 +24734,36 @@ const SCREENS = runtimeSetting({
23260
24734
  }
23261
24735
  },
23262
24736
  {
23263
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
24737
+ "id": "",
23264
24738
  "body": {
23265
24739
  "package": "himalaya",
23266
- "type": "Button",
24740
+ "type": "HStack",
23267
24741
  "props": {
23268
- "title": "Register",
23269
- "style": "secondary",
23270
- "fullWidth": false,
23271
- "action": {
23272
- "actionId": "himi.open",
23273
- "params": {
23274
- "screenId": "$item.detailScreenId",
23275
- "id": "$item.id"
24742
+ "spacing": 0,
24743
+ "children": [
24744
+ {
24745
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
24746
+ "body": {
24747
+ "package": "himalaya",
24748
+ "type": "Button",
24749
+ "props": {
24750
+ "title": "$item.actionLabel",
24751
+ "style": "secondary",
24752
+ "fullWidth": false,
24753
+ "action": {
24754
+ "actionId": "himi.open",
24755
+ "params": {
24756
+ "screenId": "$item.detailScreenId",
24757
+ "id": "$item.id"
24758
+ }
24759
+ }
24760
+ }
24761
+ },
24762
+ "modifiers": {
24763
+ "hiddenPath": "$item.noAction"
24764
+ }
23276
24765
  }
23277
- }
24766
+ ]
23278
24767
  }
23279
24768
  },
23280
24769
  "modifiers": {
@@ -23335,6 +24824,17 @@ const SCREENS = runtimeSetting({
23335
24824
  }
23336
24825
  }
23337
24826
  },
24827
+ {
24828
+ "id": "share",
24829
+ "label": "Share",
24830
+ "icon": "share",
24831
+ "action": {
24832
+ "actionId": "tier5.himiEvents.share",
24833
+ "params": {
24834
+ "id": "$item.collectionId"
24835
+ }
24836
+ }
24837
+ },
23338
24838
  {
23339
24839
  "id": "open",
23340
24840
  "label": "Open details",
@@ -23876,14 +25376,74 @@ const SCREENS = runtimeSetting({
23876
25376
  "alignment": "leading",
23877
25377
  "children": [
23878
25378
  {
23879
- "id": "",
25379
+ "id": "himi_events.list.collection.preview.$item.collectionId/heading",
23880
25380
  "body": {
23881
25381
  "package": "himalaya",
23882
- "type": "Text",
25382
+ "type": "HStack",
23883
25383
  "props": {
23884
- "text": "$item.collectionTitle",
23885
- "style": "bodyEmphasis",
23886
- "maxLines": 2
25384
+ "spacing": 0,
25385
+ "alignment": "center",
25386
+ "children": [
25387
+ {
25388
+ "id": "himi_events.list.collection.preview.$item.collectionId/date-badge-group",
25389
+ "body": {
25390
+ "package": "himalaya",
25391
+ "type": "VStack",
25392
+ "props": {
25393
+ "spacing": 0,
25394
+ "children": [
25395
+ {
25396
+ "id": "himi_events.list.collection.preview.$item.collectionId/date-badge",
25397
+ "body": {
25398
+ "package": "himalaya",
25399
+ "type": "Text",
25400
+ "props": {
25401
+ "text": "$item.dateBadge",
25402
+ "style": "bodyEmphasis",
25403
+ "maxLines": 2,
25404
+ "collapseWhenEmpty": true,
25405
+ "textAlign": "center"
25406
+ }
25407
+ },
25408
+ "modifiers": {
25409
+ "padding": {
25410
+ "leading": 8,
25411
+ "trailing": 8,
25412
+ "top": 8,
25413
+ "bottom": 8
25414
+ },
25415
+ "background": {
25416
+ "token": "surfaceSecondary"
25417
+ },
25418
+ "cornerRadius": 8
25419
+ }
25420
+ }
25421
+ ]
25422
+ }
25423
+ },
25424
+ "modifiers": {
25425
+ "padding": {
25426
+ "trailing": 8
25427
+ },
25428
+ "hiddenPath": "$item.noDateBadge"
25429
+ }
25430
+ },
25431
+ {
25432
+ "id": "",
25433
+ "body": {
25434
+ "package": "himalaya",
25435
+ "type": "Text",
25436
+ "props": {
25437
+ "text": "$item.collectionTitle",
25438
+ "style": "bodyEmphasis",
25439
+ "maxLines": 2
25440
+ }
25441
+ },
25442
+ "modifiers": {
25443
+ "weight": 1
25444
+ }
25445
+ }
25446
+ ]
23887
25447
  }
23888
25448
  }
23889
25449
  },
@@ -24013,21 +25573,36 @@ const SCREENS = runtimeSetting({
24013
25573
  }
24014
25574
  },
24015
25575
  {
24016
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
25576
+ "id": "",
24017
25577
  "body": {
24018
25578
  "package": "himalaya",
24019
- "type": "Button",
25579
+ "type": "HStack",
24020
25580
  "props": {
24021
- "title": "Register",
24022
- "style": "secondary",
24023
- "fullWidth": false,
24024
- "action": {
24025
- "actionId": "himi.open",
24026
- "params": {
24027
- "screenId": "$item.detailScreenId",
24028
- "id": "$item.id"
25581
+ "spacing": 0,
25582
+ "children": [
25583
+ {
25584
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
25585
+ "body": {
25586
+ "package": "himalaya",
25587
+ "type": "Button",
25588
+ "props": {
25589
+ "title": "$item.actionLabel",
25590
+ "style": "secondary",
25591
+ "fullWidth": false,
25592
+ "action": {
25593
+ "actionId": "himi.open",
25594
+ "params": {
25595
+ "screenId": "$item.detailScreenId",
25596
+ "id": "$item.id"
25597
+ }
25598
+ }
25599
+ }
25600
+ },
25601
+ "modifiers": {
25602
+ "hiddenPath": "$item.noAction"
25603
+ }
24029
25604
  }
24030
- }
25605
+ ]
24031
25606
  }
24032
25607
  },
24033
25608
  "modifiers": {
@@ -24088,6 +25663,17 @@ const SCREENS = runtimeSetting({
24088
25663
  }
24089
25664
  }
24090
25665
  },
25666
+ {
25667
+ "id": "share",
25668
+ "label": "Share",
25669
+ "icon": "share",
25670
+ "action": {
25671
+ "actionId": "tier5.himiEvents.share",
25672
+ "params": {
25673
+ "id": "$item.collectionId"
25674
+ }
25675
+ }
25676
+ },
24091
25677
  {
24092
25678
  "id": "open",
24093
25679
  "label": "Open details",
@@ -24287,7 +25873,8 @@ const SCREENS = runtimeSetting({
24287
25873
  "contentType": "application/javascript+ts-bundle",
24288
25874
  "declaredCapabilities": [
24289
25875
  "wix_api",
24290
- "local_database"
25876
+ "local_database",
25877
+ "share"
24291
25878
  ],
24292
25879
  "minBinaryVersion": "0.1.0",
24293
25880
  "bundleVersion": "0.0.1"
@@ -28778,7 +30365,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28778
30365
  "alignment": "leading",
28779
30366
  "children": [
28780
30367
  {
28781
- "id": "",
30368
+ "id": "himi_service.title",
30369
+ "body": {
30370
+ "package": "himalaya",
30371
+ "type": "Text",
30372
+ "props": {
30373
+ "text": "$service:himiBookingService.name",
30374
+ "style": "pageTitle",
30375
+ "maxLines": 3,
30376
+ "collapseWhenEmpty": true
30377
+ }
30378
+ }
30379
+ },
30380
+ {
30381
+ "id": "himi_service.session_when",
28782
30382
  "body": {
28783
30383
  "package": "himalaya",
28784
30384
  "type": "HStack",
@@ -28787,62 +30387,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28787
30387
  "alignment": "center",
28788
30388
  "children": [
28789
30389
  {
28790
- "id": "himi_service.category",
30390
+ "id": "",
28791
30391
  "body": {
28792
30392
  "package": "himalaya",
28793
- "type": "Text",
30393
+ "type": "Icon",
28794
30394
  "props": {
28795
- "text": "$service:himiBookingService.category",
28796
- "style": "footnote",
28797
- "color": "textSecondary",
28798
- "maxLines": 1
30395
+ "name": "calendar",
30396
+ "size": 20,
30397
+ "tint": "textSecondary"
28799
30398
  }
28800
30399
  },
28801
30400
  "modifiers": {
28802
- "hiddenPath": "$service:himiBookingService.noCategory"
30401
+ "accessibilityRole": "decorative"
28803
30402
  }
28804
30403
  },
28805
30404
  {
28806
- "id": "himi_service.type_tag",
30405
+ "id": "",
28807
30406
  "body": {
28808
30407
  "package": "himalaya",
28809
30408
  "type": "Text",
28810
30409
  "props": {
28811
- "text": "$service:himiBookingService.typeTag",
28812
- "style": "caption",
28813
- "color": "textSecondary",
28814
- "maxLines": 1
30410
+ "text": "$service:himiBookingService.sessionWhen",
30411
+ "style": "bodyEmphasis",
30412
+ "maxLines": 2
28815
30413
  }
28816
30414
  },
28817
30415
  "modifiers": {
28818
- "background": {
28819
- "token": "surfaceTertiary"
28820
- },
28821
- "cornerRadius": 4,
28822
- "padding": {
28823
- "leading": 8,
28824
- "trailing": 8,
28825
- "top": 2,
28826
- "bottom": 2
28827
- },
28828
- "hiddenPath": "$service:himiBookingService.noTypeTag"
30416
+ "weight": 1
30417
+ }
30418
+ },
30419
+ {
30420
+ "id": "himi_service.change_time",
30421
+ "body": {
30422
+ "package": "himalaya",
30423
+ "type": "Button",
30424
+ "props": {
30425
+ "title": "Change Time",
30426
+ "style": "tertiary",
30427
+ "size": "sm",
30428
+ "action": {
30429
+ "actionId": "tier5.himiBookingService.changeTime"
30430
+ }
30431
+ }
30432
+ },
30433
+ "modifiers": {
30434
+ "hiddenPath": "$service:himiBookingService.noChangeTime"
28829
30435
  }
28830
30436
  }
28831
30437
  ]
28832
30438
  }
28833
- }
28834
- },
28835
- {
28836
- "id": "himi_service.title",
28837
- "body": {
28838
- "package": "himalaya",
28839
- "type": "Text",
28840
- "props": {
28841
- "text": "$service:himiBookingService.name",
28842
- "style": "pageTitle",
28843
- "maxLines": 3,
28844
- "collapseWhenEmpty": true
28845
- }
30439
+ },
30440
+ "modifiers": {
30441
+ "fillMaxWidth": true,
30442
+ "hiddenPath": "$service:himiBookingService.noSession"
28846
30443
  }
28847
30444
  },
28848
30445
  {
@@ -28953,6 +30550,104 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28953
30550
  "spacing": 16,
28954
30551
  "alignment": "leading",
28955
30552
  "children": [
30553
+ {
30554
+ "id": "himi_service.session",
30555
+ "body": {
30556
+ "package": "himalaya",
30557
+ "type": "HStack",
30558
+ "props": {
30559
+ "spacing": 12,
30560
+ "alignment": "center",
30561
+ "children": [
30562
+ {
30563
+ "id": "",
30564
+ "body": {
30565
+ "package": "himalaya",
30566
+ "type": "ZStack",
30567
+ "props": {
30568
+ "alignment": "center",
30569
+ "children": [
30570
+ {
30571
+ "id": "",
30572
+ "body": {
30573
+ "package": "himalaya",
30574
+ "type": "Icon",
30575
+ "props": {
30576
+ "name": "calendar",
30577
+ "size": 20,
30578
+ "tint": "textSecondary"
30579
+ }
30580
+ },
30581
+ "modifiers": {
30582
+ "accessibilityRole": "decorative"
30583
+ }
30584
+ }
30585
+ ]
30586
+ }
30587
+ },
30588
+ "modifiers": {
30589
+ "width": 20,
30590
+ "height": 20
30591
+ }
30592
+ },
30593
+ {
30594
+ "id": "",
30595
+ "body": {
30596
+ "package": "himalaya",
30597
+ "type": "VStack",
30598
+ "props": {
30599
+ "spacing": 2,
30600
+ "alignment": "leading",
30601
+ "children": [
30602
+ {
30603
+ "id": "",
30604
+ "body": {
30605
+ "package": "himalaya",
30606
+ "type": "Text",
30607
+ "props": {
30608
+ "text": "$service:himiBookingService.sessionDate",
30609
+ "style": "body",
30610
+ "color": "textPrimary",
30611
+ "maxLines": 2
30612
+ }
30613
+ }
30614
+ },
30615
+ {
30616
+ "id": "",
30617
+ "body": {
30618
+ "package": "himalaya",
30619
+ "type": "Text",
30620
+ "props": {
30621
+ "text": "$service:himiBookingService.sessionTime",
30622
+ "style": "caption",
30623
+ "color": "textSecondary",
30624
+ "maxLines": 1,
30625
+ "collapseWhenEmpty": true
30626
+ }
30627
+ }
30628
+ }
30629
+ ]
30630
+ }
30631
+ }
30632
+ },
30633
+ {
30634
+ "id": "",
30635
+ "body": {
30636
+ "package": "himalaya",
30637
+ "type": "Spacer",
30638
+ "props": {}
30639
+ }
30640
+ }
30641
+ ]
30642
+ }
30643
+ },
30644
+ "modifiers": {
30645
+ "fillMaxWidth": true,
30646
+ "accessibilityLabel": "$service:himiBookingService.sessionDate",
30647
+ "accessibilityValue": "$service:himiBookingService.sessionTime",
30648
+ "hiddenPath": "$service:himiBookingService.noSession"
30649
+ }
30650
+ },
28956
30651
  {
28957
30652
  "id": "himi_service.course_dates",
28958
30653
  "body": {
@@ -30351,7 +32046,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30351
32046
  "bottom": 24
30352
32047
  },
30353
32048
  "onAppear": {
30354
- "actionId": "tier5.himiBookingService.load"
32049
+ "actionId": "tier5.himiBookingService.load",
32050
+ "params": {
32051
+ "signInScreenId": "himi_sign_in",
32052
+ "signInPresentation": "sheet"
32053
+ }
30355
32054
  }
30356
32055
  }
30357
32056
  },
@@ -30408,6 +32107,77 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30408
32107
  "props": {
30409
32108
  "spacing": 0,
30410
32109
  "children": [
32110
+ {
32111
+ "id": "himi_service.session_message",
32112
+ "body": {
32113
+ "package": "himalaya",
32114
+ "type": "HStack",
32115
+ "props": {
32116
+ "spacing": 8,
32117
+ "alignment": "center",
32118
+ "children": [
32119
+ {
32120
+ "id": "",
32121
+ "body": {
32122
+ "package": "himalaya",
32123
+ "type": "Icon",
32124
+ "props": {
32125
+ "name": "check",
32126
+ "size": 20,
32127
+ "tint": "success"
32128
+ }
32129
+ },
32130
+ "modifiers": {
32131
+ "accessibilityRole": "decorative",
32132
+ "hiddenPath": "$service:himiBookingService.sessionMessageFailed"
32133
+ }
32134
+ },
32135
+ {
32136
+ "id": "",
32137
+ "body": {
32138
+ "package": "himalaya",
32139
+ "type": "Icon",
32140
+ "props": {
32141
+ "name": "info",
32142
+ "size": 20,
32143
+ "tint": "accentPrimary"
32144
+ }
32145
+ },
32146
+ "modifiers": {
32147
+ "accessibilityRole": "decorative",
32148
+ "hiddenPath": "$service:himiBookingService.sessionMessageOk"
32149
+ }
32150
+ },
32151
+ {
32152
+ "id": "",
32153
+ "body": {
32154
+ "package": "himalaya",
32155
+ "type": "Text",
32156
+ "props": {
32157
+ "text": "$service:himiBookingService.sessionMessage",
32158
+ "style": "footnote",
32159
+ "color": "textPrimary",
32160
+ "maxLines": 2
32161
+ }
32162
+ },
32163
+ "modifiers": {
32164
+ "weight": 1,
32165
+ "announce": {
32166
+ "politeness": "polite"
32167
+ }
32168
+ }
32169
+ }
32170
+ ]
32171
+ }
32172
+ },
32173
+ "modifiers": {
32174
+ "fillMaxWidth": true,
32175
+ "padding": {
32176
+ "bottom": 12
32177
+ },
32178
+ "hiddenPath": "$service:himiBookingService.noSessionMessage"
32179
+ }
32180
+ },
30411
32181
  {
30412
32182
  "id": "himi_service.choose_time",
30413
32183
  "body": {
@@ -30489,49 +32259,294 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30489
32259
  }
30490
32260
  },
30491
32261
  "modifiers": {
30492
- "cornerRadius": 8,
30493
- "pressFeedback": "scale",
30494
- "haptic": "medium",
30495
- "height": 48,
30496
- "hiddenPath": "$service:himiBookingService.noCourseCtaRequest"
32262
+ "cornerRadius": 8,
32263
+ "pressFeedback": "scale",
32264
+ "haptic": "medium",
32265
+ "height": 48,
32266
+ "hiddenPath": "$service:himiBookingService.noCourseCtaRequest"
32267
+ }
32268
+ },
32269
+ {
32270
+ "id": "himi_service.fully_booked",
32271
+ "body": {
32272
+ "package": "himalaya",
32273
+ "type": "Button",
32274
+ "props": {
32275
+ "title": "Fully Booked",
32276
+ "style": "primary",
32277
+ "fullWidth": true,
32278
+ "disabled": true,
32279
+ "action": {
32280
+ "actionId": "tier5.himiBookingService.chooseTime"
32281
+ }
32282
+ }
32283
+ },
32284
+ "modifiers": {
32285
+ "hiddenPath": "$service:himiBookingService.noCourseCtaFull"
32286
+ }
32287
+ },
32288
+ {
32289
+ "id": "himi_service.booking_closed",
32290
+ "body": {
32291
+ "package": "himalaya",
32292
+ "type": "Button",
32293
+ "props": {
32294
+ "title": "Booking Closed",
32295
+ "style": "primary",
32296
+ "fullWidth": true,
32297
+ "disabled": true,
32298
+ "action": {
32299
+ "actionId": "tier5.himiBookingService.chooseTime"
32300
+ }
32301
+ }
32302
+ },
32303
+ "modifiers": {
32304
+ "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
32305
+ }
32306
+ },
32307
+ {
32308
+ "id": "himi_service.session_book",
32309
+ "body": {
32310
+ "package": "himalaya",
32311
+ "type": "Button",
32312
+ "props": {
32313
+ "title": "Book",
32314
+ "style": "primary",
32315
+ "fullWidth": true,
32316
+ "action": {
32317
+ "actionId": "tier5.himiBookingService.book"
32318
+ }
32319
+ }
32320
+ },
32321
+ "modifiers": {
32322
+ "cornerRadius": 8,
32323
+ "pressFeedback": "scale",
32324
+ "haptic": "medium",
32325
+ "height": 48,
32326
+ "hiddenPath": "$service:himiBookingService.noSessionBook"
32327
+ }
32328
+ },
32329
+ {
32330
+ "id": "himi_service.session_request",
32331
+ "body": {
32332
+ "package": "himalaya",
32333
+ "type": "Button",
32334
+ "props": {
32335
+ "title": "Request to Book",
32336
+ "style": "primary",
32337
+ "fullWidth": true,
32338
+ "action": {
32339
+ "actionId": "tier5.himiBookingService.book"
32340
+ }
32341
+ }
32342
+ },
32343
+ "modifiers": {
32344
+ "cornerRadius": 8,
32345
+ "pressFeedback": "scale",
32346
+ "haptic": "medium",
32347
+ "height": 48,
32348
+ "hiddenPath": "$service:himiBookingService.noSessionRequest"
32349
+ }
32350
+ },
32351
+ {
32352
+ "id": "himi_service.session_waitlist",
32353
+ "body": {
32354
+ "package": "himalaya",
32355
+ "type": "Button",
32356
+ "props": {
32357
+ "title": "Join Waitlist",
32358
+ "style": "primary",
32359
+ "fullWidth": true,
32360
+ "action": {
32361
+ "actionId": "tier5.himiBookingService.joinWaitlist"
32362
+ }
32363
+ }
32364
+ },
32365
+ "modifiers": {
32366
+ "cornerRadius": 8,
32367
+ "pressFeedback": "scale",
32368
+ "haptic": "medium",
32369
+ "height": 48,
32370
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlist"
32371
+ }
32372
+ },
32373
+ {
32374
+ "id": "himi_service.session_closed",
32375
+ "body": {
32376
+ "package": "himalaya",
32377
+ "type": "VStack",
32378
+ "props": {
32379
+ "spacing": 8,
32380
+ "alignment": "center",
32381
+ "children": [
32382
+ {
32383
+ "id": "",
32384
+ "body": {
32385
+ "package": "himalaya",
32386
+ "type": "Text",
32387
+ "props": {
32388
+ "text": "$service:himiBookingService.closedLabel",
32389
+ "style": "footnote",
32390
+ "color": "textSecondary",
32391
+ "maxLines": 1,
32392
+ "textAlign": "center"
32393
+ }
32394
+ },
32395
+ "modifiers": {
32396
+ "accessibilityHidden": true
32397
+ }
32398
+ },
32399
+ {
32400
+ "id": "himi_service.session_book_closed",
32401
+ "body": {
32402
+ "package": "himalaya",
32403
+ "type": "Button",
32404
+ "props": {
32405
+ "title": "Book",
32406
+ "style": "primary",
32407
+ "fullWidth": true,
32408
+ "disabled": true,
32409
+ "action": {
32410
+ "actionId": "tier5.himiBookingService.book"
32411
+ }
32412
+ }
32413
+ },
32414
+ "modifiers": {
32415
+ "height": 48,
32416
+ "cornerRadius": 8,
32417
+ "accessibilityValue": "$service:himiBookingService.closedLabel"
32418
+ }
32419
+ }
32420
+ ]
32421
+ }
32422
+ },
32423
+ "modifiers": {
32424
+ "fillMaxWidth": true,
32425
+ "hiddenPath": "$service:himiBookingService.noSessionClosed"
30497
32426
  }
30498
32427
  },
30499
32428
  {
30500
- "id": "himi_service.fully_booked",
32429
+ "id": "himi_service.session_booked",
30501
32430
  "body": {
30502
32431
  "package": "himalaya",
30503
- "type": "Button",
32432
+ "type": "ZStack",
30504
32433
  "props": {
30505
- "title": "Fully Booked",
30506
- "style": "primary",
30507
- "fullWidth": true,
30508
- "disabled": true,
30509
- "action": {
30510
- "actionId": "tier5.himiBookingService.chooseTime"
30511
- }
32434
+ "alignment": "center",
32435
+ "children": [
32436
+ {
32437
+ "id": "",
32438
+ "body": {
32439
+ "package": "himalaya",
32440
+ "type": "HStack",
32441
+ "props": {
32442
+ "spacing": 8,
32443
+ "alignment": "center",
32444
+ "children": [
32445
+ {
32446
+ "id": "",
32447
+ "body": {
32448
+ "package": "himalaya",
32449
+ "type": "Icon",
32450
+ "props": {
32451
+ "name": "check",
32452
+ "size": 20,
32453
+ "tint": "success"
32454
+ }
32455
+ },
32456
+ "modifiers": {
32457
+ "accessibilityRole": "decorative"
32458
+ }
32459
+ },
32460
+ {
32461
+ "id": "",
32462
+ "body": {
32463
+ "package": "himalaya",
32464
+ "type": "Text",
32465
+ "props": {
32466
+ "text": "Booked",
32467
+ "style": "bodyEmphasis",
32468
+ "color": "textPrimary",
32469
+ "maxLines": 1
32470
+ }
32471
+ }
32472
+ }
32473
+ ]
32474
+ }
32475
+ }
32476
+ }
32477
+ ]
30512
32478
  }
30513
32479
  },
30514
32480
  "modifiers": {
30515
- "hiddenPath": "$service:himiBookingService.noCourseCtaFull"
32481
+ "fillMaxWidth": true,
32482
+ "height": 48,
32483
+ "background": {
32484
+ "token": "surfaceSecondary"
32485
+ },
32486
+ "cornerRadius": 8,
32487
+ "hiddenPath": "$service:himiBookingService.noSessionBooked"
30516
32488
  }
30517
32489
  },
30518
32490
  {
30519
- "id": "himi_service.booking_closed",
32491
+ "id": "himi_service.session_waitlisted",
30520
32492
  "body": {
30521
32493
  "package": "himalaya",
30522
- "type": "Button",
32494
+ "type": "ZStack",
30523
32495
  "props": {
30524
- "title": "Booking Closed",
30525
- "style": "primary",
30526
- "fullWidth": true,
30527
- "disabled": true,
30528
- "action": {
30529
- "actionId": "tier5.himiBookingService.chooseTime"
30530
- }
32496
+ "alignment": "center",
32497
+ "children": [
32498
+ {
32499
+ "id": "",
32500
+ "body": {
32501
+ "package": "himalaya",
32502
+ "type": "HStack",
32503
+ "props": {
32504
+ "spacing": 8,
32505
+ "alignment": "center",
32506
+ "children": [
32507
+ {
32508
+ "id": "",
32509
+ "body": {
32510
+ "package": "himalaya",
32511
+ "type": "Icon",
32512
+ "props": {
32513
+ "name": "clock",
32514
+ "size": 20,
32515
+ "tint": "textSecondary"
32516
+ }
32517
+ },
32518
+ "modifiers": {
32519
+ "accessibilityRole": "decorative"
32520
+ }
32521
+ },
32522
+ {
32523
+ "id": "",
32524
+ "body": {
32525
+ "package": "himalaya",
32526
+ "type": "Text",
32527
+ "props": {
32528
+ "text": "On waitlist",
32529
+ "style": "bodyEmphasis",
32530
+ "color": "textPrimary",
32531
+ "maxLines": 1
32532
+ }
32533
+ }
32534
+ }
32535
+ ]
32536
+ }
32537
+ }
32538
+ }
32539
+ ]
30531
32540
  }
30532
32541
  },
30533
32542
  "modifiers": {
30534
- "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
32543
+ "fillMaxWidth": true,
32544
+ "height": 48,
32545
+ "background": {
32546
+ "token": "surfaceSecondary"
32547
+ },
32548
+ "cornerRadius": 8,
32549
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlisted"
30535
32550
  }
30536
32551
  }
30537
32552
  ]
@@ -33415,6 +35430,41 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33415
35430
  "spacing": 8,
33416
35431
  "alignment": "leading",
33417
35432
  "children": [
35433
+ {
35434
+ "id": "himi_program.loading_media",
35435
+ "body": {
35436
+ "package": "himalaya",
35437
+ "type": "Skeleton",
35438
+ "props": {
35439
+ "height": 210,
35440
+ "cornerRadius": 8
35441
+ }
35442
+ }
35443
+ },
35444
+ {
35445
+ "id": "himi_program.loading_title",
35446
+ "body": {
35447
+ "package": "himalaya",
35448
+ "type": "Skeleton",
35449
+ "props": {
35450
+ "width": 220,
35451
+ "height": 24,
35452
+ "cornerRadius": 4
35453
+ }
35454
+ }
35455
+ },
35456
+ {
35457
+ "id": "himi_program.loading_facts",
35458
+ "body": {
35459
+ "package": "himalaya",
35460
+ "type": "Skeleton",
35461
+ "props": {
35462
+ "height": 52,
35463
+ "cornerRadius": 4,
35464
+ "count": 3
35465
+ }
35466
+ }
35467
+ },
33418
35468
  {
33419
35469
  "id": "",
33420
35470
  "body": {
@@ -33422,7 +35472,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33422
35472
  "type": "Text",
33423
35473
  "props": {
33424
35474
  "text": "Loading program...",
33425
- "style": "body",
35475
+ "style": "footnote",
33426
35476
  "color": "textSecondary"
33427
35477
  }
33428
35478
  }
@@ -33639,6 +35689,90 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33639
35689
  "hiddenPath": "$service:himiBrandedProgram.hidePriceRetry"
33640
35690
  }
33641
35691
  },
35692
+ {
35693
+ "id": "himi_program.facts",
35694
+ "body": {
35695
+ "package": "himalaya",
35696
+ "type": "Grid",
35697
+ "props": {
35698
+ "columns": 1,
35699
+ "spacing": 16,
35700
+ "itemsPath": "$service:himiBrandedProgram.facts",
35701
+ "items": [
35702
+ {
35703
+ "id": "himi_program.fact",
35704
+ "body": {
35705
+ "package": "himalaya",
35706
+ "type": "HStack",
35707
+ "props": {
35708
+ "spacing": 12,
35709
+ "alignment": "leading",
35710
+ "children": [
35711
+ {
35712
+ "id": "",
35713
+ "body": {
35714
+ "package": "himalaya",
35715
+ "type": "Icon",
35716
+ "props": {
35717
+ "name": "$item.icon",
35718
+ "size": 20,
35719
+ "tint": "textSecondary"
35720
+ }
35721
+ },
35722
+ "modifiers": {
35723
+ "accessibilityRole": "decorative"
35724
+ }
35725
+ },
35726
+ {
35727
+ "id": "",
35728
+ "body": {
35729
+ "package": "himalaya",
35730
+ "type": "VStack",
35731
+ "props": {
35732
+ "spacing": 4,
35733
+ "alignment": "leading",
35734
+ "children": [
35735
+ {
35736
+ "id": "",
35737
+ "body": {
35738
+ "package": "himalaya",
35739
+ "type": "Text",
35740
+ "props": {
35741
+ "text": "$item.title",
35742
+ "style": "bodyEmphasis"
35743
+ }
35744
+ }
35745
+ },
35746
+ {
35747
+ "id": "",
35748
+ "body": {
35749
+ "package": "himalaya",
35750
+ "type": "Text",
35751
+ "props": {
35752
+ "text": "$item.body",
35753
+ "style": "footnote",
35754
+ "color": "textSecondary"
35755
+ }
35756
+ }
35757
+ }
35758
+ ]
35759
+ }
35760
+ },
35761
+ "modifiers": {
35762
+ "fillMaxWidth": true
35763
+ }
35764
+ }
35765
+ ]
35766
+ }
35767
+ }
35768
+ }
35769
+ ]
35770
+ }
35771
+ },
35772
+ "modifiers": {
35773
+ "hiddenPath": "$service:himiBrandedProgram.hideFacts"
35774
+ }
35775
+ },
33642
35776
  {
33643
35777
  "id": "himi_program.description_rich",
33644
35778
  "body": {
@@ -33684,22 +35818,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
33684
35818
  }
33685
35819
  },
33686
35820
  "modifiers": {
33687
- "background": {
33688
- "token": "surfaceElevated"
33689
- },
33690
- "border": {
33691
- "width": 1,
33692
- "color": {
33693
- "token": "border"
33694
- }
33695
- },
33696
- "cornerRadius": 4,
33697
- "padding": {
33698
- "leading": 16,
33699
- "trailing": 16,
33700
- "top": 16,
33701
- "bottom": 16
33702
- },
35821
+ "fillMaxWidth": true,
33703
35822
  "hiddenPath": "$service:himiBrandedProgram.hideContent"
33704
35823
  }
33705
35824
  },