@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
@@ -4153,7 +4153,7 @@ const SCREENS = runtimeSetting({
4153
4153
  "package": "himalaya",
4154
4154
  "type": "Text",
4155
4155
  "props": {
4156
- "text": "Settings",
4156
+ "text": "Appearance",
4157
4157
  "style": "body",
4158
4158
  "maxLines": 1
4159
4159
  }
@@ -4185,7 +4185,88 @@ const SCREENS = runtimeSetting({
4185
4185
  "pressFeedback": "highlight",
4186
4186
  "haptic": "light",
4187
4187
  "accessibilityRole": "button",
4188
- "accessibilityLabel": "Settings"
4188
+ "accessibilityLabel": "Appearance"
4189
+ }
4190
+ },
4191
+ {
4192
+ "id": "himi_account.notification_settings",
4193
+ "body": {
4194
+ "package": "himalaya",
4195
+ "type": "HStack",
4196
+ "props": {
4197
+ "spacing": 12,
4198
+ "alignment": "center",
4199
+ "children": [
4200
+ {
4201
+ "id": "",
4202
+ "body": {
4203
+ "package": "himalaya",
4204
+ "type": "ZStack",
4205
+ "props": {
4206
+ "alignment": "center",
4207
+ "children": [
4208
+ {
4209
+ "id": "",
4210
+ "body": {
4211
+ "package": "himalaya",
4212
+ "type": "Icon",
4213
+ "props": {
4214
+ "name": "bell",
4215
+ "size": 20,
4216
+ "tint": "textPrimary"
4217
+ }
4218
+ },
4219
+ "modifiers": {
4220
+ "accessibilityRole": "decorative"
4221
+ }
4222
+ }
4223
+ ]
4224
+ }
4225
+ },
4226
+ "modifiers": {
4227
+ "width": 24,
4228
+ "height": 24
4229
+ }
4230
+ },
4231
+ {
4232
+ "id": "",
4233
+ "body": {
4234
+ "package": "himalaya",
4235
+ "type": "Text",
4236
+ "props": {
4237
+ "text": "Notification Settings",
4238
+ "style": "body",
4239
+ "maxLines": 1
4240
+ }
4241
+ }
4242
+ },
4243
+ {
4244
+ "id": "",
4245
+ "body": {
4246
+ "package": "himalaya",
4247
+ "type": "Spacer",
4248
+ "props": {}
4249
+ }
4250
+ }
4251
+ ]
4252
+ }
4253
+ },
4254
+ "modifiers": {
4255
+ "fillMaxWidth": true,
4256
+ "padding": {
4257
+ "top": 12,
4258
+ "bottom": 12
4259
+ },
4260
+ "onTap": {
4261
+ "actionId": "himi.open",
4262
+ "params": {
4263
+ "screenId": "himi_notif_settings"
4264
+ }
4265
+ },
4266
+ "pressFeedback": "highlight",
4267
+ "haptic": "light",
4268
+ "accessibilityRole": "button",
4269
+ "accessibilityLabel": "Notification Settings"
4189
4270
  }
4190
4271
  },
4191
4272
  {
@@ -7446,6 +7527,387 @@ const SCREENS = runtimeSetting({
7446
7527
  "bundleVersion": "0.0.1"
7447
7528
  }
7448
7529
  },
7530
+ "himi_notif_settings": {
7531
+ "screenId": "himi_notif_settings",
7532
+ "renderer": "sdui_intent",
7533
+ "title": "",
7534
+ "schemaVersion": 1,
7535
+ "cacheControl": {
7536
+ "maxAge": 0,
7537
+ "staleWhileRevalidate": 0
7538
+ },
7539
+ "payload": {
7540
+ "id": "himi_notif_settings.root",
7541
+ "body": {
7542
+ "package": "himalaya",
7543
+ "type": "VStack",
7544
+ "props": {
7545
+ "spacing": 16,
7546
+ "alignment": "leading",
7547
+ "children": [
7548
+ {
7549
+ "id": "himi_notif_settings.title",
7550
+ "body": {
7551
+ "package": "himalaya",
7552
+ "type": "Text",
7553
+ "props": {
7554
+ "text": "Notification Settings",
7555
+ "style": "title1"
7556
+ }
7557
+ }
7558
+ },
7559
+ {
7560
+ "id": "",
7561
+ "body": {
7562
+ "package": "himalaya",
7563
+ "type": "Text",
7564
+ "props": {
7565
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
7566
+ "style": "body",
7567
+ "color": "textSecondary"
7568
+ }
7569
+ },
7570
+ "modifiers": {
7571
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
7572
+ }
7573
+ },
7574
+ {
7575
+ "id": "",
7576
+ "body": {
7577
+ "package": "himalaya",
7578
+ "type": "Text",
7579
+ "props": {
7580
+ "text": "Example topics — your notification preferences will appear here.",
7581
+ "style": "body",
7582
+ "color": "textSecondary"
7583
+ }
7584
+ },
7585
+ "modifiers": {
7586
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
7587
+ }
7588
+ },
7589
+ {
7590
+ "id": "himi_notif_settings.sample_banner",
7591
+ "body": {
7592
+ "package": "himalaya",
7593
+ "type": "Banner",
7594
+ "props": {
7595
+ "severity": "warning",
7596
+ "title": "Sample content",
7597
+ "message": "These are example settings — none are configured yet."
7598
+ }
7599
+ },
7600
+ "modifiers": {
7601
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
7602
+ }
7603
+ },
7604
+ {
7605
+ "id": "himi_notif_settings.unavailable_banner",
7606
+ "body": {
7607
+ "package": "himalaya",
7608
+ "type": "Banner",
7609
+ "props": {
7610
+ "severity": "warning",
7611
+ "title": "Sample content",
7612
+ "message": "Your notification settings couldn't be loaded."
7613
+ }
7614
+ },
7615
+ "modifiers": {
7616
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
7617
+ }
7618
+ },
7619
+ {
7620
+ "id": "himi_notif_settings.action_message",
7621
+ "body": {
7622
+ "package": "himalaya",
7623
+ "type": "Text",
7624
+ "props": {
7625
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
7626
+ "style": "body",
7627
+ "color": "textSecondary",
7628
+ "collapseWhenEmpty": true
7629
+ }
7630
+ }
7631
+ },
7632
+ {
7633
+ "id": "himi_notif_settings.loading",
7634
+ "body": {
7635
+ "package": "himalaya",
7636
+ "type": "Skeleton",
7637
+ "props": {
7638
+ "height": 72,
7639
+ "cornerRadius": 12,
7640
+ "count": 3
7641
+ }
7642
+ },
7643
+ "modifiers": {
7644
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
7645
+ }
7646
+ },
7647
+ {
7648
+ "id": "himi_notif_settings.error",
7649
+ "body": {
7650
+ "package": "himalaya",
7651
+ "type": "VStack",
7652
+ "props": {
7653
+ "spacing": 8,
7654
+ "alignment": "leading",
7655
+ "children": [
7656
+ {
7657
+ "id": "",
7658
+ "body": {
7659
+ "package": "himalaya",
7660
+ "type": "Text",
7661
+ "props": {
7662
+ "text": "$service:himiBrandedNotifSettings.error",
7663
+ "style": "bodyEmphasis",
7664
+ "collapseWhenEmpty": true
7665
+ }
7666
+ }
7667
+ },
7668
+ {
7669
+ "id": "himi_notif_settings.retry",
7670
+ "body": {
7671
+ "package": "himalaya",
7672
+ "type": "Button",
7673
+ "props": {
7674
+ "title": "Try again",
7675
+ "style": "secondary",
7676
+ "action": {
7677
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7678
+ }
7679
+ }
7680
+ },
7681
+ "modifiers": {
7682
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
7683
+ }
7684
+ },
7685
+ {
7686
+ "id": "himi_notif_settings.sign_in",
7687
+ "body": {
7688
+ "package": "himalaya",
7689
+ "type": "Button",
7690
+ "props": {
7691
+ "title": "Sign in",
7692
+ "style": "primary",
7693
+ "leadingIcon": "person",
7694
+ "action": {
7695
+ "actionId": "himi.open",
7696
+ "params": {
7697
+ "screenId": "himi_sign_in",
7698
+ "returnScreenId": "himi_notif_settings",
7699
+ "modal": "1"
7700
+ },
7701
+ "presentation": "sheet"
7702
+ }
7703
+ }
7704
+ },
7705
+ "modifiers": {
7706
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
7707
+ }
7708
+ }
7709
+ ]
7710
+ }
7711
+ },
7712
+ "modifiers": {
7713
+ "background": {
7714
+ "token": "surfaceElevated"
7715
+ },
7716
+ "border": {
7717
+ "width": 1,
7718
+ "color": {
7719
+ "token": "border"
7720
+ }
7721
+ },
7722
+ "cornerRadius": 4,
7723
+ "padding": {
7724
+ "leading": 16,
7725
+ "trailing": 16,
7726
+ "top": 16,
7727
+ "bottom": 16
7728
+ },
7729
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
7730
+ }
7731
+ },
7732
+ {
7733
+ "id": "himi_notif_settings.rows",
7734
+ "body": {
7735
+ "package": "himalaya",
7736
+ "type": "Grid",
7737
+ "props": {
7738
+ "columns": 1,
7739
+ "spacing": 10,
7740
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
7741
+ "items": [
7742
+ {
7743
+ "id": "",
7744
+ "body": {
7745
+ "package": "himalaya",
7746
+ "type": "VStack",
7747
+ "props": {
7748
+ "spacing": 2,
7749
+ "alignment": "leading",
7750
+ "children": [
7751
+ {
7752
+ "id": "himi_notif_settings.topic.$item.id",
7753
+ "body": {
7754
+ "package": "himalaya",
7755
+ "type": "Toggle",
7756
+ "props": {
7757
+ "label": "$item.name",
7758
+ "valuePath": "$item.on",
7759
+ "onChange": {
7760
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
7761
+ "params": {
7762
+ "id": "$item.id"
7763
+ }
7764
+ }
7765
+ }
7766
+ },
7767
+ "modifiers": {
7768
+ "hiddenPath": "$item.locked"
7769
+ }
7770
+ },
7771
+ {
7772
+ "id": "himi_notif_settings.locked_topic.$item.id",
7773
+ "body": {
7774
+ "package": "himalaya",
7775
+ "type": "HStack",
7776
+ "props": {
7777
+ "spacing": 12,
7778
+ "children": [
7779
+ {
7780
+ "id": "",
7781
+ "body": {
7782
+ "package": "himalaya",
7783
+ "type": "Text",
7784
+ "props": {
7785
+ "text": "$item.name",
7786
+ "style": "body",
7787
+ "maxLines": 2
7788
+ }
7789
+ }
7790
+ },
7791
+ {
7792
+ "id": "",
7793
+ "body": {
7794
+ "package": "himalaya",
7795
+ "type": "Spacer",
7796
+ "props": {}
7797
+ }
7798
+ },
7799
+ {
7800
+ "id": "",
7801
+ "body": {
7802
+ "package": "himalaya",
7803
+ "type": "Text",
7804
+ "props": {
7805
+ "text": "$item.stateLabel",
7806
+ "style": "footnote",
7807
+ "color": "textSecondary",
7808
+ "maxLines": 1
7809
+ }
7810
+ }
7811
+ }
7812
+ ]
7813
+ }
7814
+ },
7815
+ "modifiers": {
7816
+ "hiddenPath": "$item.notLocked"
7817
+ }
7818
+ },
7819
+ {
7820
+ "id": "",
7821
+ "body": {
7822
+ "package": "himalaya",
7823
+ "type": "Text",
7824
+ "props": {
7825
+ "text": "$item.note",
7826
+ "style": "footnote",
7827
+ "color": "textSecondary",
7828
+ "collapseWhenEmpty": true
7829
+ }
7830
+ }
7831
+ }
7832
+ ]
7833
+ }
7834
+ },
7835
+ "modifiers": {
7836
+ "background": {
7837
+ "token": "surfaceElevated"
7838
+ },
7839
+ "border": {
7840
+ "width": 1,
7841
+ "color": {
7842
+ "token": "border"
7843
+ }
7844
+ },
7845
+ "cornerRadius": 8,
7846
+ "padding": {
7847
+ "leading": 14,
7848
+ "trailing": 14,
7849
+ "top": 12,
7850
+ "bottom": 12
7851
+ }
7852
+ }
7853
+ }
7854
+ ]
7855
+ }
7856
+ },
7857
+ "modifiers": {
7858
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
7859
+ }
7860
+ },
7861
+ {
7862
+ "id": "",
7863
+ "body": {
7864
+ "package": "himalaya",
7865
+ "type": "Text",
7866
+ "props": {
7867
+ "text": "$service:himiBrandedNotifSettings.emptyText",
7868
+ "style": "body",
7869
+ "color": "textSecondary",
7870
+ "collapseWhenEmpty": true
7871
+ }
7872
+ },
7873
+ "modifiers": {
7874
+ "padding": {
7875
+ "leading": 8,
7876
+ "trailing": 8,
7877
+ "top": 8,
7878
+ "bottom": 0
7879
+ }
7880
+ }
7881
+ }
7882
+ ]
7883
+ }
7884
+ },
7885
+ "modifiers": {
7886
+ "background": {
7887
+ "token": "surfacePrimary"
7888
+ },
7889
+ "padding": {
7890
+ "leading": 16,
7891
+ "trailing": 16,
7892
+ "top": 18,
7893
+ "bottom": 28
7894
+ },
7895
+ "onAppear": {
7896
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7897
+ }
7898
+ }
7899
+ },
7900
+ "logicBundle": {
7901
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-notifsettings?integrity=",
7902
+ "integrity": "",
7903
+ "contentType": "application/javascript+ts-bundle",
7904
+ "declaredCapabilities": [
7905
+ "wix_api"
7906
+ ],
7907
+ "minBinaryVersion": "0.1.0",
7908
+ "bundleVersion": "0.0.1"
7909
+ }
7910
+ },
7449
7911
  "himi_view_profile": {
7450
7912
  "screenId": "himi_view_profile",
7451
7913
  "renderer": "sdui_intent",
@@ -19936,115 +20398,6 @@ const SCREENS = runtimeSetting({
19936
20398
  "spacing": 0,
19937
20399
  "alignment": "leading",
19938
20400
  "children": [
19939
- {
19940
- "id": "",
19941
- "body": {
19942
- "package": "himalaya",
19943
- "type": "VStack",
19944
- "props": {
19945
- "spacing": 4,
19946
- "alignment": "leading",
19947
- "children": [
19948
- {
19949
- "id": "himi_services.title",
19950
- "body": {
19951
- "package": "himalaya",
19952
- "type": "Text",
19953
- "props": {
19954
- "text": "Services",
19955
- "style": "title1"
19956
- }
19957
- }
19958
- },
19959
- {
19960
- "id": "himi_services.subtitle",
19961
- "body": {
19962
- "package": "himalaya",
19963
- "type": "Text",
19964
- "props": {
19965
- "text": "Find a class and book your spot.",
19966
- "style": "body",
19967
- "color": "textSecondary"
19968
- }
19969
- }
19970
- }
19971
- ]
19972
- }
19973
- },
19974
- "modifiers": {
19975
- "padding": {
19976
- "leading": 20,
19977
- "trailing": 20,
19978
- "top": 0,
19979
- "bottom": 0
19980
- }
19981
- }
19982
- },
19983
- {
19984
- "id": "",
19985
- "body": {
19986
- "package": "himalaya",
19987
- "type": "VStack",
19988
- "props": {
19989
- "spacing": 0,
19990
- "alignment": "leading",
19991
- "children": [
19992
- {
19993
- "id": "himi_services.search",
19994
- "body": {
19995
- "package": "himalaya",
19996
- "type": "SearchField",
19997
- "props": {
19998
- "placeholder": "Search services",
19999
- "value": "$service:himiBookingServices.collection.query",
20000
- "debounceMs": 200,
20001
- "onChange": {
20002
- "actionId": "tier5.himiBookingServices.search"
20003
- }
20004
- }
20005
- }
20006
- }
20007
- ]
20008
- }
20009
- },
20010
- "modifiers": {
20011
- "padding": {
20012
- "leading": 20,
20013
- "trailing": 20,
20014
- "top": 16,
20015
- "bottom": 0
20016
- },
20017
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
20018
- }
20019
- },
20020
- {
20021
- "id": "himi_services.categories",
20022
- "body": {
20023
- "package": "himalaya",
20024
- "type": "FilterChips",
20025
- "props": {
20026
- "chips": [],
20027
- "optionsPath": "$service:himiBookingServices.categoryChips",
20028
- "selectedIds": [
20029
- "$service:himiBookingServices.collection.filter"
20030
- ],
20031
- "multiSelect": false,
20032
- "onChange": {
20033
- "actionId": "tier5.himiBookingServices.collectionFilter"
20034
- }
20035
- }
20036
- },
20037
- "modifiers": {
20038
- "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
20039
- "padding": {
20040
- "leading": 20,
20041
- "trailing": 20,
20042
- "top": 12,
20043
- "bottom": 0
20044
- },
20045
- "hiddenPath": "$service:himiBookingServices.hideCategories"
20046
- }
20047
- },
20048
20401
  {
20049
20402
  "id": "himi_services.offline",
20050
20403
  "body": {
@@ -20198,7 +20551,7 @@ const SCREENS = runtimeSetting({
20198
20551
  "alignment": "leading",
20199
20552
  "children": [
20200
20553
  {
20201
- "id": "himi_services.skeleton_1",
20554
+ "id": "himi_services.skeleton_title",
20202
20555
  "body": {
20203
20556
  "package": "himalaya",
20204
20557
  "type": "VStack",
@@ -20210,171 +20563,37 @@ const SCREENS = runtimeSetting({
20210
20563
  "id": "",
20211
20564
  "body": {
20212
20565
  "package": "himalaya",
20213
- "type": "HStack",
20566
+ "type": "Skeleton",
20214
20567
  "props": {
20215
- "spacing": 14,
20216
- "alignment": "center",
20217
- "children": [
20218
- {
20219
- "id": "",
20220
- "body": {
20221
- "package": "himalaya",
20222
- "type": "Skeleton",
20223
- "props": {
20224
- "height": 72,
20225
- "cornerRadius": 8
20226
- }
20227
- },
20228
- "modifiers": {
20229
- "width": 72,
20230
- "height": 72,
20231
- "background": {
20232
- "token": "surfaceSecondary"
20233
- },
20234
- "cornerRadius": 8,
20235
- "accessibilityRole": "decorative"
20236
- }
20237
- },
20238
- {
20239
- "id": "",
20240
- "body": {
20241
- "package": "himalaya",
20242
- "type": "VStack",
20243
- "props": {
20244
- "spacing": 8,
20245
- "alignment": "leading",
20246
- "children": [
20247
- {
20248
- "id": "",
20249
- "body": {
20250
- "package": "himalaya",
20251
- "type": "HStack",
20252
- "props": {
20253
- "spacing": 0,
20254
- "children": [
20255
- {
20256
- "id": "",
20257
- "body": {
20258
- "package": "himalaya",
20259
- "type": "Skeleton",
20260
- "props": {
20261
- "height": 16,
20262
- "cornerRadius": 4
20263
- }
20264
- },
20265
- "modifiers": {
20266
- "height": 16,
20267
- "fillMaxWidth": true,
20268
- "background": {
20269
- "token": "surfaceSecondary"
20270
- },
20271
- "cornerRadius": 4,
20272
- "accessibilityRole": "decorative",
20273
- "weight": 3
20274
- }
20275
- },
20276
- {
20277
- "id": "",
20278
- "body": {
20279
- "package": "himalaya",
20280
- "type": "Spacer",
20281
- "props": {}
20282
- },
20283
- "modifiers": {
20284
- "weight": 2
20285
- }
20286
- }
20287
- ]
20288
- }
20289
- },
20290
- "modifiers": {
20291
- "fillMaxWidth": true
20292
- }
20293
- },
20294
- {
20295
- "id": "",
20296
- "body": {
20297
- "package": "himalaya",
20298
- "type": "HStack",
20299
- "props": {
20300
- "spacing": 0,
20301
- "children": [
20302
- {
20303
- "id": "",
20304
- "body": {
20305
- "package": "himalaya",
20306
- "type": "Skeleton",
20307
- "props": {
20308
- "height": 14,
20309
- "cornerRadius": 4
20310
- }
20311
- },
20312
- "modifiers": {
20313
- "height": 14,
20314
- "fillMaxWidth": true,
20315
- "background": {
20316
- "token": "surfaceSecondary"
20317
- },
20318
- "cornerRadius": 4,
20319
- "accessibilityRole": "decorative",
20320
- "weight": 2
20321
- }
20322
- },
20323
- {
20324
- "id": "",
20325
- "body": {
20326
- "package": "himalaya",
20327
- "type": "Spacer",
20328
- "props": {}
20329
- },
20330
- "modifiers": {
20331
- "weight": 3
20332
- }
20333
- }
20334
- ]
20335
- }
20336
- },
20337
- "modifiers": {
20338
- "fillMaxWidth": true
20339
- }
20340
- }
20341
- ]
20342
- }
20343
- },
20344
- "modifiers": {
20345
- "weight": 1
20346
- }
20347
- }
20348
- ]
20568
+ "width": 120,
20569
+ "height": 20,
20570
+ "cornerRadius": 4
20349
20571
  }
20350
20572
  },
20351
20573
  "modifiers": {
20352
- "fillMaxWidth": true,
20353
- "padding": {
20354
- "leading": 20,
20355
- "trailing": 20,
20356
- "top": 14,
20357
- "bottom": 14
20358
- }
20359
- }
20360
- },
20361
- {
20362
- "id": "",
20363
- "body": {
20364
- "package": "himalaya",
20365
- "type": "Divider",
20366
- "props": {}
20574
+ "width": 120,
20575
+ "height": 20,
20576
+ "background": {
20577
+ "token": "surfaceSecondary"
20578
+ },
20579
+ "cornerRadius": 4,
20580
+ "accessibilityRole": "decorative"
20367
20581
  }
20368
20582
  }
20369
20583
  ]
20370
20584
  }
20371
20585
  },
20372
20586
  "modifiers": {
20373
- "fillMaxWidth": true
20587
+ "padding": {
20588
+ "leading": 20,
20589
+ "trailing": 20,
20590
+ "top": 20,
20591
+ "bottom": 4
20592
+ }
20374
20593
  }
20375
20594
  },
20376
20595
  {
20377
- "id": "himi_services.skeleton_2",
20596
+ "id": "himi_services.skeleton_1",
20378
20597
  "body": {
20379
20598
  "package": "himalaya",
20380
20599
  "type": "VStack",
@@ -20550,7 +20769,7 @@ const SCREENS = runtimeSetting({
20550
20769
  }
20551
20770
  },
20552
20771
  {
20553
- "id": "himi_services.skeleton_3",
20772
+ "id": "himi_services.skeleton_2",
20554
20773
  "body": {
20555
20774
  "package": "himalaya",
20556
20775
  "type": "VStack",
@@ -20726,7 +20945,183 @@ const SCREENS = runtimeSetting({
20726
20945
  }
20727
20946
  },
20728
20947
  {
20729
- "id": "himi_services.skeleton_4",
20948
+ "id": "himi_services.skeleton_3",
20949
+ "body": {
20950
+ "package": "himalaya",
20951
+ "type": "VStack",
20952
+ "props": {
20953
+ "spacing": 0,
20954
+ "alignment": "leading",
20955
+ "children": [
20956
+ {
20957
+ "id": "",
20958
+ "body": {
20959
+ "package": "himalaya",
20960
+ "type": "HStack",
20961
+ "props": {
20962
+ "spacing": 14,
20963
+ "alignment": "center",
20964
+ "children": [
20965
+ {
20966
+ "id": "",
20967
+ "body": {
20968
+ "package": "himalaya",
20969
+ "type": "Skeleton",
20970
+ "props": {
20971
+ "height": 72,
20972
+ "cornerRadius": 8
20973
+ }
20974
+ },
20975
+ "modifiers": {
20976
+ "width": 72,
20977
+ "height": 72,
20978
+ "background": {
20979
+ "token": "surfaceSecondary"
20980
+ },
20981
+ "cornerRadius": 8,
20982
+ "accessibilityRole": "decorative"
20983
+ }
20984
+ },
20985
+ {
20986
+ "id": "",
20987
+ "body": {
20988
+ "package": "himalaya",
20989
+ "type": "VStack",
20990
+ "props": {
20991
+ "spacing": 8,
20992
+ "alignment": "leading",
20993
+ "children": [
20994
+ {
20995
+ "id": "",
20996
+ "body": {
20997
+ "package": "himalaya",
20998
+ "type": "HStack",
20999
+ "props": {
21000
+ "spacing": 0,
21001
+ "children": [
21002
+ {
21003
+ "id": "",
21004
+ "body": {
21005
+ "package": "himalaya",
21006
+ "type": "Skeleton",
21007
+ "props": {
21008
+ "height": 16,
21009
+ "cornerRadius": 4
21010
+ }
21011
+ },
21012
+ "modifiers": {
21013
+ "height": 16,
21014
+ "fillMaxWidth": true,
21015
+ "background": {
21016
+ "token": "surfaceSecondary"
21017
+ },
21018
+ "cornerRadius": 4,
21019
+ "accessibilityRole": "decorative",
21020
+ "weight": 3
21021
+ }
21022
+ },
21023
+ {
21024
+ "id": "",
21025
+ "body": {
21026
+ "package": "himalaya",
21027
+ "type": "Spacer",
21028
+ "props": {}
21029
+ },
21030
+ "modifiers": {
21031
+ "weight": 2
21032
+ }
21033
+ }
21034
+ ]
21035
+ }
21036
+ },
21037
+ "modifiers": {
21038
+ "fillMaxWidth": true
21039
+ }
21040
+ },
21041
+ {
21042
+ "id": "",
21043
+ "body": {
21044
+ "package": "himalaya",
21045
+ "type": "HStack",
21046
+ "props": {
21047
+ "spacing": 0,
21048
+ "children": [
21049
+ {
21050
+ "id": "",
21051
+ "body": {
21052
+ "package": "himalaya",
21053
+ "type": "Skeleton",
21054
+ "props": {
21055
+ "height": 14,
21056
+ "cornerRadius": 4
21057
+ }
21058
+ },
21059
+ "modifiers": {
21060
+ "height": 14,
21061
+ "fillMaxWidth": true,
21062
+ "background": {
21063
+ "token": "surfaceSecondary"
21064
+ },
21065
+ "cornerRadius": 4,
21066
+ "accessibilityRole": "decorative",
21067
+ "weight": 2
21068
+ }
21069
+ },
21070
+ {
21071
+ "id": "",
21072
+ "body": {
21073
+ "package": "himalaya",
21074
+ "type": "Spacer",
21075
+ "props": {}
21076
+ },
21077
+ "modifiers": {
21078
+ "weight": 3
21079
+ }
21080
+ }
21081
+ ]
21082
+ }
21083
+ },
21084
+ "modifiers": {
21085
+ "fillMaxWidth": true
21086
+ }
21087
+ }
21088
+ ]
21089
+ }
21090
+ },
21091
+ "modifiers": {
21092
+ "weight": 1
21093
+ }
21094
+ }
21095
+ ]
21096
+ }
21097
+ },
21098
+ "modifiers": {
21099
+ "fillMaxWidth": true,
21100
+ "padding": {
21101
+ "leading": 20,
21102
+ "trailing": 20,
21103
+ "top": 14,
21104
+ "bottom": 14
21105
+ }
21106
+ }
21107
+ },
21108
+ {
21109
+ "id": "",
21110
+ "body": {
21111
+ "package": "himalaya",
21112
+ "type": "Divider",
21113
+ "props": {}
21114
+ }
21115
+ }
21116
+ ]
21117
+ }
21118
+ },
21119
+ "modifiers": {
21120
+ "fillMaxWidth": true
21121
+ }
21122
+ },
21123
+ {
21124
+ "id": "himi_services.skeleton_4",
20730
21125
  "body": {
20731
21126
  "package": "himalaya",
20732
21127
  "type": "VStack",
@@ -20908,7 +21303,7 @@ const SCREENS = runtimeSetting({
20908
21303
  "padding": {
20909
21304
  "leading": 0,
20910
21305
  "trailing": 0,
20911
- "top": 12,
21306
+ "top": 0,
20912
21307
  "bottom": 0
20913
21308
  },
20914
21309
  "hiddenPath": "$service:himiBookingServices.collection.noLoading"
@@ -20921,7 +21316,7 @@ const SCREENS = runtimeSetting({
20921
21316
  "type": "LazyList",
20922
21317
  "props": {
20923
21318
  "spacing": 0,
20924
- "itemsPath": "$service:himiBookingServices.collection.items",
21319
+ "itemsPath": "$service:himiBookingServices.listRows",
20925
21320
  "onPullToRefresh": {
20926
21321
  "actionId": "tier5.himiBookingServices.refresh"
20927
21322
  },
@@ -20930,13 +21325,17 @@ const SCREENS = runtimeSetting({
20930
21325
  "onLoadMore": {
20931
21326
  "actionId": "tier5.himiBookingServices.loadMore"
20932
21327
  },
20933
- "pageSize": 50
21328
+ "pageSize": 100
20934
21329
  },
20935
21330
  "staggerMs": 30,
20936
21331
  "animateItems": true,
21332
+ "scrollToItemPath": "$service:himiBookingServices.scrollTo",
21333
+ "onTopItemChange": {
21334
+ "actionId": "tier5.himiBookingServices.topItemChanged"
21335
+ },
20937
21336
  "items": [
20938
21337
  {
20939
- "id": "himi_services.row.$item.id",
21338
+ "id": "himi_services.item.$item.id",
20940
21339
  "body": {
20941
21340
  "package": "himalaya",
20942
21341
  "type": "VStack",
@@ -20945,47 +21344,75 @@ const SCREENS = runtimeSetting({
20945
21344
  "alignment": "leading",
20946
21345
  "children": [
20947
21346
  {
20948
- "id": "",
21347
+ "id": "himi_services.section.$item.id",
20949
21348
  "body": {
20950
21349
  "package": "himalaya",
20951
21350
  "type": "HStack",
20952
21351
  "props": {
20953
- "spacing": 14,
21352
+ "spacing": 0,
20954
21353
  "alignment": "center",
20955
21354
  "children": [
20956
21355
  {
20957
- "id": "himi_services.row.$item.id/image",
21356
+ "id": "",
20958
21357
  "body": {
20959
21358
  "package": "himalaya",
20960
- "type": "Image",
21359
+ "type": "Text",
20961
21360
  "props": {
20962
- "url": "$item.image",
20963
- "width": 72,
20964
- "height": 72,
20965
- "contentMode": "fill"
21361
+ "text": "$item.sectionTitle",
21362
+ "style": "title3",
21363
+ "maxLines": 2
20966
21364
  }
20967
- },
20968
- "modifiers": {
20969
- "accessibilityRole": "decorative",
20970
- "cornerRadius": 8,
20971
- "hiddenPath": "$item.noImage"
20972
21365
  }
20973
21366
  },
20974
21367
  {
20975
21368
  "id": "",
20976
21369
  "body": {
20977
21370
  "package": "himalaya",
20978
- "type": "ZStack",
21371
+ "type": "Spacer",
21372
+ "props": {}
21373
+ }
21374
+ }
21375
+ ]
21376
+ }
21377
+ },
21378
+ "modifiers": {
21379
+ "fillMaxWidth": true,
21380
+ "padding": {
21381
+ "leading": 20,
21382
+ "trailing": 20,
21383
+ "top": 20,
21384
+ "bottom": 4
21385
+ },
21386
+ "accessibilityRole": "heading",
21387
+ "accessibilityLabel": "$item.sectionTitle",
21388
+ "hiddenPath": "$item.notSection"
21389
+ }
21390
+ },
21391
+ {
21392
+ "id": "himi_services.row.$item.id",
21393
+ "body": {
21394
+ "package": "himalaya",
21395
+ "type": "VStack",
21396
+ "props": {
21397
+ "spacing": 0,
21398
+ "alignment": "leading",
21399
+ "children": [
21400
+ {
21401
+ "id": "",
21402
+ "body": {
21403
+ "package": "himalaya",
21404
+ "type": "HStack",
20979
21405
  "props": {
21406
+ "spacing": 14,
20980
21407
  "alignment": "center",
20981
21408
  "children": [
20982
21409
  {
20983
- "id": "",
21410
+ "id": "himi_services.row.$item.id/image",
20984
21411
  "body": {
20985
21412
  "package": "himalaya",
20986
21413
  "type": "Image",
20987
21414
  "props": {
20988
- "url": "",
21415
+ "url": "$item.image",
20989
21416
  "width": 72,
20990
21417
  "height": 72,
20991
21418
  "contentMode": "fill"
@@ -20994,158 +21421,204 @@ const SCREENS = runtimeSetting({
20994
21421
  "modifiers": {
20995
21422
  "accessibilityRole": "decorative",
20996
21423
  "cornerRadius": 8,
20997
- "background": {
20998
- "token": "surfaceSecondary"
20999
- }
21424
+ "hiddenPath": "$item.noImage"
21000
21425
  }
21001
21426
  },
21002
21427
  {
21003
21428
  "id": "",
21004
21429
  "body": {
21005
21430
  "package": "himalaya",
21006
- "type": "Icon",
21431
+ "type": "ZStack",
21007
21432
  "props": {
21008
- "name": "image",
21009
- "size": 24,
21010
- "tint": "accentPrimary"
21433
+ "alignment": "center",
21434
+ "children": [
21435
+ {
21436
+ "id": "",
21437
+ "body": {
21438
+ "package": "himalaya",
21439
+ "type": "Image",
21440
+ "props": {
21441
+ "url": "",
21442
+ "width": 72,
21443
+ "height": 72,
21444
+ "contentMode": "fill"
21445
+ }
21446
+ },
21447
+ "modifiers": {
21448
+ "accessibilityRole": "decorative",
21449
+ "cornerRadius": 8,
21450
+ "background": {
21451
+ "token": "surfaceSecondary"
21452
+ }
21453
+ }
21454
+ },
21455
+ {
21456
+ "id": "",
21457
+ "body": {
21458
+ "package": "himalaya",
21459
+ "type": "Icon",
21460
+ "props": {
21461
+ "name": "image",
21462
+ "size": 24,
21463
+ "tint": "accentPrimary"
21464
+ }
21465
+ },
21466
+ "modifiers": {
21467
+ "accessibilityRole": "decorative"
21468
+ }
21469
+ }
21470
+ ]
21011
21471
  }
21012
21472
  },
21013
21473
  "modifiers": {
21014
- "accessibilityRole": "decorative"
21474
+ "width": 72,
21475
+ "height": 72,
21476
+ "hiddenPath": "$item.hasImage"
21015
21477
  }
21016
- }
21017
- ]
21018
- }
21019
- },
21020
- "modifiers": {
21021
- "width": 72,
21022
- "height": 72,
21023
- "hiddenPath": "$item.hasImage"
21024
- }
21025
- },
21026
- {
21027
- "id": "",
21028
- "body": {
21029
- "package": "himalaya",
21030
- "type": "VStack",
21031
- "props": {
21032
- "spacing": 3,
21033
- "alignment": "leading",
21034
- "children": [
21478
+ },
21035
21479
  {
21036
21480
  "id": "",
21037
21481
  "body": {
21038
21482
  "package": "himalaya",
21039
- "type": "Text",
21483
+ "type": "VStack",
21040
21484
  "props": {
21041
- "text": "$item.typeTag",
21042
- "style": "caption",
21043
- "color": "textSecondary",
21044
- "maxLines": 1
21485
+ "spacing": 3,
21486
+ "alignment": "leading",
21487
+ "children": [
21488
+ {
21489
+ "id": "",
21490
+ "body": {
21491
+ "package": "himalaya",
21492
+ "type": "Text",
21493
+ "props": {
21494
+ "text": "$item.typeTag",
21495
+ "style": "caption",
21496
+ "color": "textSecondary",
21497
+ "maxLines": 1
21498
+ }
21499
+ },
21500
+ "modifiers": {
21501
+ "background": {
21502
+ "token": "surfaceTertiary"
21503
+ },
21504
+ "cornerRadius": 4,
21505
+ "padding": {
21506
+ "leading": 8,
21507
+ "trailing": 8,
21508
+ "top": 2,
21509
+ "bottom": 2
21510
+ },
21511
+ "hiddenPath": "$item.noTypeTag"
21512
+ }
21513
+ },
21514
+ {
21515
+ "id": "himi_services.row.$item.id/ended",
21516
+ "body": {
21517
+ "package": "himalaya",
21518
+ "type": "Text",
21519
+ "props": {
21520
+ "text": "$item.endedText",
21521
+ "style": "caption",
21522
+ "color": "textSecondary",
21523
+ "maxLines": 1,
21524
+ "collapseWhenEmpty": true
21525
+ }
21526
+ }
21527
+ },
21528
+ {
21529
+ "id": "",
21530
+ "body": {
21531
+ "package": "himalaya",
21532
+ "type": "Text",
21533
+ "props": {
21534
+ "text": "$item.name",
21535
+ "style": "bodyEmphasis",
21536
+ "maxLines": 2
21537
+ }
21538
+ }
21539
+ },
21540
+ {
21541
+ "id": "",
21542
+ "body": {
21543
+ "package": "himalaya",
21544
+ "type": "Text",
21545
+ "props": {
21546
+ "text": "$item.tagline",
21547
+ "style": "caption",
21548
+ "color": "textSecondary",
21549
+ "maxLines": 2,
21550
+ "collapseWhenEmpty": true
21551
+ }
21552
+ }
21553
+ },
21554
+ {
21555
+ "id": "",
21556
+ "body": {
21557
+ "package": "himalaya",
21558
+ "type": "Text",
21559
+ "props": {
21560
+ "text": "$item.meta",
21561
+ "style": "footnote",
21562
+ "color": "textSecondary",
21563
+ "maxLines": 2,
21564
+ "collapseWhenEmpty": true
21565
+ }
21566
+ }
21567
+ }
21568
+ ]
21045
21569
  }
21046
21570
  },
21047
21571
  "modifiers": {
21048
- "background": {
21049
- "token": "surfaceTertiary"
21050
- },
21051
- "cornerRadius": 4,
21052
- "padding": {
21053
- "leading": 8,
21054
- "trailing": 8,
21055
- "top": 2,
21056
- "bottom": 2
21057
- },
21058
- "hiddenPath": "$item.noTypeTag"
21059
- }
21060
- },
21061
- {
21062
- "id": "himi_services.row.$item.id/ended",
21063
- "body": {
21064
- "package": "himalaya",
21065
- "type": "Text",
21066
- "props": {
21067
- "text": "$item.endedText",
21068
- "style": "caption",
21069
- "color": "textSecondary",
21070
- "maxLines": 1,
21071
- "collapseWhenEmpty": true
21072
- }
21073
- }
21074
- },
21075
- {
21076
- "id": "",
21077
- "body": {
21078
- "package": "himalaya",
21079
- "type": "Text",
21080
- "props": {
21081
- "text": "$item.name",
21082
- "style": "bodyEmphasis",
21083
- "maxLines": 2
21084
- }
21085
- }
21086
- },
21087
- {
21088
- "id": "",
21089
- "body": {
21090
- "package": "himalaya",
21091
- "type": "Text",
21092
- "props": {
21093
- "text": "$item.tagline",
21094
- "style": "caption",
21095
- "color": "textSecondary",
21096
- "maxLines": 2,
21097
- "collapseWhenEmpty": true
21098
- }
21572
+ "weight": 1
21099
21573
  }
21100
21574
  },
21101
21575
  {
21102
- "id": "",
21576
+ "id": "himi_services.row.$item.id/book",
21103
21577
  "body": {
21104
21578
  "package": "himalaya",
21105
- "type": "Text",
21106
- "props": {
21107
- "text": "$item.meta",
21108
- "style": "footnote",
21109
- "color": "textSecondary",
21110
- "maxLines": 2,
21111
- "collapseWhenEmpty": true
21112
- }
21113
- }
21114
- }
21115
- ]
21116
- }
21117
- },
21118
- "modifiers": {
21119
- "weight": 1
21120
- }
21121
- },
21122
- {
21123
- "id": "himi_services.row.$item.id/book",
21124
- "body": {
21125
- "package": "himalaya",
21126
- "type": "VStack",
21127
- "props": {
21128
- "spacing": 0,
21129
- "children": [
21130
- {
21131
- "id": "",
21132
- "body": {
21133
- "package": "himalaya",
21134
- "type": "HStack",
21579
+ "type": "VStack",
21135
21580
  "props": {
21136
21581
  "spacing": 0,
21137
- "alignment": "center",
21138
21582
  "children": [
21139
21583
  {
21140
21584
  "id": "",
21141
21585
  "body": {
21142
21586
  "package": "himalaya",
21143
- "type": "Text",
21587
+ "type": "HStack",
21144
21588
  "props": {
21145
- "text": "$item.bookCta",
21146
- "style": "footnote",
21147
- "color": "textPrimary",
21148
- "maxLines": 1
21589
+ "spacing": 0,
21590
+ "alignment": "center",
21591
+ "children": [
21592
+ {
21593
+ "id": "",
21594
+ "body": {
21595
+ "package": "himalaya",
21596
+ "type": "Text",
21597
+ "props": {
21598
+ "text": "$item.bookCta",
21599
+ "style": "footnote",
21600
+ "color": "textPrimary",
21601
+ "maxLines": 1
21602
+ }
21603
+ }
21604
+ }
21605
+ ]
21606
+ }
21607
+ },
21608
+ "modifiers": {
21609
+ "height": 36,
21610
+ "padding": {
21611
+ "leading": 16,
21612
+ "trailing": 16,
21613
+ "top": 0,
21614
+ "bottom": 0
21615
+ },
21616
+ "cornerRadius": 18,
21617
+ "border": {
21618
+ "width": 1,
21619
+ "color": {
21620
+ "token": "textPrimary"
21621
+ }
21149
21622
  }
21150
21623
  }
21151
21624
  }
@@ -21153,81 +21626,69 @@ const SCREENS = runtimeSetting({
21153
21626
  }
21154
21627
  },
21155
21628
  "modifiers": {
21156
- "height": 36,
21157
21629
  "padding": {
21158
- "leading": 16,
21159
- "trailing": 16,
21160
- "top": 0,
21161
- "bottom": 0
21630
+ "leading": 0,
21631
+ "trailing": 0,
21632
+ "top": 4,
21633
+ "bottom": 4
21162
21634
  },
21163
- "cornerRadius": 18,
21164
- "border": {
21165
- "width": 1,
21166
- "color": {
21167
- "token": "textPrimary"
21635
+ "onTap": {
21636
+ "actionId": "himi.open",
21637
+ "params": {
21638
+ "screenId": "himi_time",
21639
+ "id": "$item.id"
21168
21640
  }
21169
- }
21641
+ },
21642
+ "accessibilityRole": "button",
21643
+ "accessibilityLabel": "$item.bookA11y",
21644
+ "pressFeedback": "scale",
21645
+ "haptic": "light",
21646
+ "hiddenPath": "$item.noBook"
21170
21647
  }
21171
21648
  }
21172
21649
  ]
21173
21650
  }
21174
21651
  },
21175
21652
  "modifiers": {
21653
+ "fillMaxWidth": true,
21176
21654
  "padding": {
21177
- "leading": 0,
21178
- "trailing": 0,
21179
- "top": 4,
21180
- "bottom": 4
21181
- },
21182
- "onTap": {
21183
- "actionId": "himi.open",
21184
- "params": {
21185
- "screenId": "himi_time",
21186
- "id": "$item.id"
21187
- }
21188
- },
21189
- "accessibilityRole": "button",
21190
- "accessibilityLabel": "$item.bookA11y",
21191
- "pressFeedback": "scale",
21192
- "haptic": "light",
21193
- "hiddenPath": "$item.noBook"
21655
+ "leading": 20,
21656
+ "trailing": 20,
21657
+ "top": 14,
21658
+ "bottom": 14
21659
+ }
21660
+ }
21661
+ },
21662
+ {
21663
+ "id": "",
21664
+ "body": {
21665
+ "package": "himalaya",
21666
+ "type": "Divider",
21667
+ "props": {}
21194
21668
  }
21195
21669
  }
21196
21670
  ]
21197
21671
  }
21198
21672
  },
21199
21673
  "modifiers": {
21200
- "fillMaxWidth": true,
21201
- "padding": {
21202
- "leading": 20,
21203
- "trailing": 20,
21204
- "top": 14,
21205
- "bottom": 14
21206
- }
21207
- }
21208
- },
21209
- {
21210
- "id": "",
21211
- "body": {
21212
- "package": "himalaya",
21213
- "type": "Divider",
21214
- "props": {}
21674
+ "onTap": {
21675
+ "actionId": "himi.open",
21676
+ "params": {
21677
+ "screenId": "$item.detailScreenId",
21678
+ "id": "$item.id"
21679
+ }
21680
+ },
21681
+ "pressFeedback": "highlight",
21682
+ "haptic": "light",
21683
+ "accessibilityLabel": "$item.a11y",
21684
+ "hiddenPath": "$item.isSection"
21215
21685
  }
21216
21686
  }
21217
21687
  ]
21218
21688
  }
21219
21689
  },
21220
21690
  "modifiers": {
21221
- "onTap": {
21222
- "actionId": "himi.open",
21223
- "params": {
21224
- "screenId": "$item.detailScreenId",
21225
- "id": "$item.id"
21226
- }
21227
- },
21228
- "pressFeedback": "highlight",
21229
- "haptic": "light",
21230
- "accessibilityLabel": "$item.a11y",
21691
+ "fillMaxWidth": true,
21231
21692
  "transition": {
21232
21693
  "enter": "fadeSlide",
21233
21694
  "direction": "up",
@@ -21242,7 +21703,7 @@ const SCREENS = runtimeSetting({
21242
21703
  "padding": {
21243
21704
  "leading": 0,
21244
21705
  "trailing": 0,
21245
- "top": 12,
21706
+ "top": 0,
21246
21707
  "bottom": 0
21247
21708
  },
21248
21709
  "hiddenPath": "$service:himiBookingServices.hideRows"
@@ -21392,27 +21853,62 @@ const SCREENS = runtimeSetting({
21392
21853
  "modifiers": {
21393
21854
  "hiddenPath": "$service:himiBookingServices.noQuery"
21394
21855
  }
21856
+ }
21857
+ ]
21858
+ }
21859
+ },
21860
+ "modifiers": {
21861
+ "fillMaxWidth": true,
21862
+ "padding": {
21863
+ "leading": 20,
21864
+ "trailing": 20,
21865
+ "top": 40,
21866
+ "bottom": 0
21867
+ },
21868
+ "transition": {
21869
+ "enter": "fade",
21870
+ "exit": "fade"
21871
+ },
21872
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21873
+ }
21874
+ },
21875
+ {
21876
+ "id": "himi_services.location_empty",
21877
+ "body": {
21878
+ "package": "himalaya",
21879
+ "type": "VStack",
21880
+ "props": {
21881
+ "spacing": 16,
21882
+ "alignment": "center",
21883
+ "children": [
21884
+ {
21885
+ "id": "himi_services.location_empty_text",
21886
+ "body": {
21887
+ "package": "himalaya",
21888
+ "type": "Text",
21889
+ "props": {
21890
+ "text": "$service:himiBookingServices.locationEmptyText",
21891
+ "style": "body",
21892
+ "color": "textSecondary",
21893
+ "textAlign": "center"
21894
+ }
21895
+ }
21395
21896
  },
21396
21897
  {
21397
- "id": "himi_services.empty.show_all",
21898
+ "id": "himi_services.all_locations",
21398
21899
  "body": {
21399
21900
  "package": "himalaya",
21400
21901
  "type": "Button",
21401
21902
  "props": {
21402
- "title": "Show All",
21903
+ "title": "Show all locations",
21403
21904
  "style": "secondary",
21404
21905
  "action": {
21405
- "actionId": "tier5.himiBookingServices.collectionFilter",
21406
- "args": {
21407
- "selectedIds": [
21408
- "all"
21409
- ]
21906
+ "actionId": "tier5.himiBookingServices.selectLocation",
21907
+ "params": {
21908
+ "locationId": ""
21410
21909
  }
21411
21910
  }
21412
21911
  }
21413
- },
21414
- "modifiers": {
21415
- "hiddenPath": "$service:himiBookingServices.hasQuery"
21416
21912
  }
21417
21913
  }
21418
21914
  ]
@@ -21430,7 +21926,185 @@ const SCREENS = runtimeSetting({
21430
21926
  "enter": "fade",
21431
21927
  "exit": "fade"
21432
21928
  },
21433
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21929
+ "hiddenPath": "$service:himiBookingServices.notLocationEmpty"
21930
+ }
21931
+ },
21932
+ {
21933
+ "id": "himi_services.location_sheet",
21934
+ "body": {
21935
+ "package": "himalaya",
21936
+ "type": "BottomSheet",
21937
+ "props": {
21938
+ "presentedPath": "$service:himiBookingServices.locationSheetOpen",
21939
+ "dismissible": true,
21940
+ "showGrabber": true,
21941
+ "onDismiss": {
21942
+ "actionId": "tier5.himiBookingServices.closeLocations"
21943
+ },
21944
+ "content": {
21945
+ "id": "",
21946
+ "body": {
21947
+ "package": "himalaya",
21948
+ "type": "VStack",
21949
+ "props": {
21950
+ "spacing": 8,
21951
+ "alignment": "leading",
21952
+ "children": [
21953
+ {
21954
+ "id": "",
21955
+ "body": {
21956
+ "package": "himalaya",
21957
+ "type": "Text",
21958
+ "props": {
21959
+ "text": "Choose a location",
21960
+ "style": "title3"
21961
+ }
21962
+ }
21963
+ },
21964
+ {
21965
+ "id": "himi_services.location_options",
21966
+ "body": {
21967
+ "package": "himalaya",
21968
+ "type": "Grid",
21969
+ "props": {
21970
+ "columns": 1,
21971
+ "spacing": 0,
21972
+ "itemsPath": "$service:himiBookingServices.locationOptions",
21973
+ "items": [
21974
+ {
21975
+ "id": "",
21976
+ "body": {
21977
+ "package": "himalaya",
21978
+ "type": "VStack",
21979
+ "props": {
21980
+ "spacing": 0,
21981
+ "children": [
21982
+ {
21983
+ "id": "",
21984
+ "body": {
21985
+ "package": "himalaya",
21986
+ "type": "HStack",
21987
+ "props": {
21988
+ "spacing": 12,
21989
+ "alignment": "center",
21990
+ "children": [
21991
+ {
21992
+ "id": "",
21993
+ "body": {
21994
+ "package": "himalaya",
21995
+ "type": "VStack",
21996
+ "props": {
21997
+ "spacing": 2,
21998
+ "alignment": "leading",
21999
+ "children": [
22000
+ {
22001
+ "id": "",
22002
+ "body": {
22003
+ "package": "himalaya",
22004
+ "type": "Text",
22005
+ "props": {
22006
+ "text": "$item.label",
22007
+ "style": "body",
22008
+ "maxLines": 2
22009
+ }
22010
+ }
22011
+ },
22012
+ {
22013
+ "id": "",
22014
+ "body": {
22015
+ "package": "himalaya",
22016
+ "type": "Text",
22017
+ "props": {
22018
+ "text": "$item.sub",
22019
+ "style": "caption",
22020
+ "color": "textSecondary",
22021
+ "maxLines": 2
22022
+ }
22023
+ },
22024
+ "modifiers": {
22025
+ "hiddenPath": "$item.noSub"
22026
+ }
22027
+ }
22028
+ ]
22029
+ }
22030
+ }
22031
+ },
22032
+ {
22033
+ "id": "",
22034
+ "body": {
22035
+ "package": "himalaya",
22036
+ "type": "Spacer",
22037
+ "props": {}
22038
+ }
22039
+ },
22040
+ {
22041
+ "id": "",
22042
+ "body": {
22043
+ "package": "himalaya",
22044
+ "type": "Icon",
22045
+ "props": {
22046
+ "name": "check",
22047
+ "size": 20,
22048
+ "tint": "accentPrimary"
22049
+ }
22050
+ },
22051
+ "modifiers": {
22052
+ "accessibilityRole": "decorative",
22053
+ "hiddenPath": "$item.notSelected"
22054
+ }
22055
+ }
22056
+ ]
22057
+ }
22058
+ },
22059
+ "modifiers": {
22060
+ "fillMaxWidth": true,
22061
+ "padding": {
22062
+ "top": 15,
22063
+ "bottom": 15
22064
+ }
22065
+ }
22066
+ },
22067
+ {
22068
+ "id": "",
22069
+ "body": {
22070
+ "package": "himalaya",
22071
+ "type": "Divider",
22072
+ "props": {}
22073
+ }
22074
+ }
22075
+ ]
22076
+ }
22077
+ },
22078
+ "modifiers": {
22079
+ "fillMaxWidth": true,
22080
+ "onTap": {
22081
+ "actionId": "tier5.himiBookingServices.selectLocation",
22082
+ "params": {
22083
+ "locationId": "$item.id"
22084
+ }
22085
+ },
22086
+ "pressFeedback": "highlight",
22087
+ "accessibilityRole": "button",
22088
+ "accessibilityLabel": "$item.a11y"
22089
+ }
22090
+ }
22091
+ ]
22092
+ }
22093
+ }
22094
+ }
22095
+ ]
22096
+ }
22097
+ },
22098
+ "modifiers": {
22099
+ "padding": {
22100
+ "leading": 20,
22101
+ "trailing": 20,
22102
+ "top": 8,
22103
+ "bottom": 24
22104
+ }
22105
+ }
22106
+ }
22107
+ }
21434
22108
  }
21435
22109
  }
21436
22110
  ]
@@ -21443,7 +22117,6 @@ const SCREENS = runtimeSetting({
21443
22117
  "padding": {
21444
22118
  "leading": 0,
21445
22119
  "trailing": 0,
21446
- "top": 18,
21447
22120
  "bottom": 24
21448
22121
  },
21449
22122
  "onAppear": {
@@ -21460,27 +22133,171 @@ const SCREENS = runtimeSetting({
21460
22133
  "contentType": "application/javascript+ts-bundle",
21461
22134
  "declaredCapabilities": [
21462
22135
  "wix_api",
21463
- "local_database"
22136
+ "local_database",
22137
+ "app_info"
21464
22138
  ],
21465
22139
  "minBinaryVersion": "0.1.0",
21466
22140
  "bundleVersion": "0.0.1"
21467
22141
  },
22142
+ "stickyHeader": {
22143
+ "id": "himi_services.header",
22144
+ "body": {
22145
+ "package": "himalaya",
22146
+ "type": "VStack",
22147
+ "props": {
22148
+ "spacing": 0,
22149
+ "alignment": "leading",
22150
+ "children": [
22151
+ {
22152
+ "id": "",
22153
+ "body": {
22154
+ "package": "himalaya",
22155
+ "type": "VStack",
22156
+ "props": {
22157
+ "spacing": 4,
22158
+ "alignment": "leading",
22159
+ "children": [
22160
+ {
22161
+ "id": "himi_services.title",
22162
+ "body": {
22163
+ "package": "himalaya",
22164
+ "type": "Text",
22165
+ "props": {
22166
+ "text": "Services",
22167
+ "style": "title1"
22168
+ }
22169
+ }
22170
+ }
22171
+ ]
22172
+ }
22173
+ },
22174
+ "modifiers": {
22175
+ "padding": {
22176
+ "leading": 20,
22177
+ "trailing": 20,
22178
+ "top": 0,
22179
+ "bottom": 0
22180
+ }
22181
+ }
22182
+ },
22183
+ {
22184
+ "id": "",
22185
+ "body": {
22186
+ "package": "himalaya",
22187
+ "type": "VStack",
22188
+ "props": {
22189
+ "spacing": 0,
22190
+ "alignment": "leading",
22191
+ "children": [
22192
+ {
22193
+ "id": "himi_services.search",
22194
+ "body": {
22195
+ "package": "himalaya",
22196
+ "type": "SearchField",
22197
+ "props": {
22198
+ "placeholder": "Search services",
22199
+ "value": "$service:himiBookingServices.collection.query",
22200
+ "debounceMs": 200,
22201
+ "onChange": {
22202
+ "actionId": "tier5.himiBookingServices.search"
22203
+ }
22204
+ }
22205
+ }
22206
+ }
22207
+ ]
22208
+ }
22209
+ },
22210
+ "modifiers": {
22211
+ "padding": {
22212
+ "leading": 20,
22213
+ "trailing": 20,
22214
+ "top": 16,
22215
+ "bottom": 0
22216
+ },
22217
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
22218
+ }
22219
+ },
22220
+ {
22221
+ "id": "himi_services.categories",
22222
+ "body": {
22223
+ "package": "himalaya",
22224
+ "type": "FilterChips",
22225
+ "props": {
22226
+ "chips": [],
22227
+ "optionsPath": "$service:himiBookingServices.categoryChips",
22228
+ "selectedIds": [
22229
+ "$service:himiBookingServices.activeCategory"
22230
+ ],
22231
+ "multiSelect": false,
22232
+ "onChange": {
22233
+ "actionId": "tier5.himiBookingServices.scrollToCategory"
22234
+ }
22235
+ }
22236
+ },
22237
+ "modifiers": {
22238
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
22239
+ "padding": {
22240
+ "leading": 20,
22241
+ "trailing": 20,
22242
+ "top": 12,
22243
+ "bottom": 0
22244
+ },
22245
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
22246
+ }
22247
+ },
22248
+ {
22249
+ "id": "",
22250
+ "body": {
22251
+ "package": "himalaya",
22252
+ "type": "VStack",
22253
+ "props": {
22254
+ "spacing": 0,
22255
+ "children": [
22256
+ {
22257
+ "id": "",
22258
+ "body": {
22259
+ "package": "himalaya",
22260
+ "type": "Divider",
22261
+ "props": {}
22262
+ }
22263
+ }
22264
+ ]
22265
+ }
22266
+ },
22267
+ "modifiers": {
22268
+ "padding": {
22269
+ "top": 12
22270
+ },
22271
+ "fillMaxWidth": true
22272
+ }
22273
+ }
22274
+ ]
22275
+ }
22276
+ },
22277
+ "modifiers": {
22278
+ "background": {
22279
+ "token": "surfacePrimary"
22280
+ },
22281
+ "padding": {
22282
+ "top": 18
22283
+ },
22284
+ "fillMaxWidth": true
22285
+ }
22286
+ },
21468
22287
  "topBar": {
21469
22288
  "actions": [
21470
22289
  {
21471
- "id": "bookings",
21472
- "icon": "calendar",
21473
- "accessibilityLabel": "My Bookings",
22290
+ "id": "location",
22291
+ "icon": "location",
22292
+ "accessibilityLabel": "Choose a location",
21474
22293
  "onTap": {
21475
- "actionId": "himi.open",
21476
- "params": {
21477
- "screenId": "himi_bookings"
21478
- }
21479
- }
22294
+ "actionId": "tier5.himiBookingServices.openLocations"
22295
+ },
22296
+ "hiddenPath": "$service:brandedLiteNav.noLocationMenu"
21480
22297
  },
21481
22298
  {
21482
22299
  "id": "agenda",
21483
- "icon": "list",
22300
+ "icon": "calendar",
21484
22301
  "accessibilityLabel": "Agenda",
21485
22302
  "onTap": {
21486
22303
  "actionId": "himi.open",
@@ -21607,29 +22424,45 @@ const SCREENS = runtimeSetting({
21607
22424
  }
21608
22425
  },
21609
22426
  {
21610
- "id": "himi_bookings.tabs",
22427
+ "id": "",
21611
22428
  "body": {
21612
22429
  "package": "himalaya",
21613
- "type": "SegmentedControl",
22430
+ "type": "VStack",
21614
22431
  "props": {
21615
- "options": [
21616
- {
21617
- "id": "upcoming",
21618
- "label": "Upcoming"
21619
- },
21620
- {
21621
- "id": "past",
21622
- "label": "Past"
21623
- },
22432
+ "spacing": 0,
22433
+ "alignment": "leading",
22434
+ "children": [
21624
22435
  {
21625
- "id": "cancelled",
21626
- "label": "Canceled"
22436
+ "id": "himi_bookings.tabs",
22437
+ "body": {
22438
+ "package": "himalaya",
22439
+ "type": "SegmentedControl",
22440
+ "props": {
22441
+ "options": [
22442
+ {
22443
+ "id": "upcoming",
22444
+ "label": "Upcoming"
22445
+ },
22446
+ {
22447
+ "id": "past",
22448
+ "label": "Past"
22449
+ },
22450
+ {
22451
+ "id": "cancelled",
22452
+ "label": "Canceled"
22453
+ }
22454
+ ],
22455
+ "selectedId": "$service:himiBookingBookings.tab",
22456
+ "onChange": {
22457
+ "actionId": "tier5.himiBookingBookings.selectTab"
22458
+ }
22459
+ }
22460
+ },
22461
+ "modifiers": {
22462
+ "fillMaxWidth": true
22463
+ }
21627
22464
  }
21628
- ],
21629
- "selectedId": "$service:himiBookingBookings.tab",
21630
- "onChange": {
21631
- "actionId": "tier5.himiBookingBookings.selectTab"
21632
- }
22465
+ ]
21633
22466
  }
21634
22467
  },
21635
22468
  "modifiers": {
@@ -23901,8 +24734,8 @@ const SCREENS = runtimeSetting({
23901
24734
  },
23902
24735
  "modifiers": {
23903
24736
  "padding": {
23904
- "leading": 20,
23905
- "trailing": 20,
24737
+ "leading": 16,
24738
+ "trailing": 16,
23906
24739
  "top": 14,
23907
24740
  "bottom": 14
23908
24741
  },
@@ -24008,8 +24841,8 @@ const SCREENS = runtimeSetting({
24008
24841
  },
24009
24842
  "modifiers": {
24010
24843
  "padding": {
24011
- "leading": 20,
24012
- "trailing": 20,
24844
+ "leading": 16,
24845
+ "trailing": 16,
24013
24846
  "top": 14,
24014
24847
  "bottom": 14
24015
24848
  },
@@ -24115,8 +24948,8 @@ const SCREENS = runtimeSetting({
24115
24948
  },
24116
24949
  "modifiers": {
24117
24950
  "padding": {
24118
- "leading": 20,
24119
- "trailing": 20,
24951
+ "leading": 16,
24952
+ "trailing": 16,
24120
24953
  "top": 14,
24121
24954
  "bottom": 14
24122
24955
  },
@@ -24387,7 +25220,9 @@ const SCREENS = runtimeSetting({
24387
25220
  "actionId": "himi.open",
24388
25221
  "params": {
24389
25222
  "screenId": "himi_service",
24390
- "id": "$item.serviceId"
25223
+ "id": "$item.serviceId",
25224
+ "sessionId": "$item.sessionId",
25225
+ "start": "$item.start"
24391
25226
  }
24392
25227
  },
24393
25228
  "pressFeedback": "highlight",
@@ -24554,7 +25389,9 @@ const SCREENS = runtimeSetting({
24554
25389
  "actionId": "himi.open",
24555
25390
  "params": {
24556
25391
  "screenId": "himi_service",
24557
- "id": "$item.serviceId"
25392
+ "id": "$item.serviceId",
25393
+ "sessionId": "$item.sessionId",
25394
+ "start": "$item.start"
24558
25395
  }
24559
25396
  },
24560
25397
  "accessibilityRole": "button",
@@ -24743,6 +25580,8 @@ const SCREENS = runtimeSetting({
24743
25580
  },
24744
25581
  "modifiers": {
24745
25582
  "padding": {
25583
+ "leading": 16,
25584
+ "trailing": 16,
24746
25585
  "top": 14,
24747
25586
  "bottom": 14
24748
25587
  },
@@ -24755,20 +25594,22 @@ const SCREENS = runtimeSetting({
24755
25594
  "package": "himalaya",
24756
25595
  "type": "Divider",
24757
25596
  "props": {}
25597
+ },
25598
+ "modifiers": {
25599
+ "hiddenPath": "$item.lastOfDay"
24758
25600
  }
24759
25601
  }
24760
25602
  ]
24761
25603
  }
24762
25604
  }
25605
+ },
25606
+ "onVisibleDateChange": {
25607
+ "actionId": "tier5.himiBrandedAgenda.visibleDate"
24763
25608
  }
24764
25609
  }
24765
25610
  },
24766
25611
  "modifiers": {
24767
25612
  "fillMaxWidth": true,
24768
- "padding": {
24769
- "leading": 20,
24770
- "trailing": 20
24771
- },
24772
25613
  "hiddenPath": "$service:himiBrandedAgenda.listHidden"
24773
25614
  }
24774
25615
  },
@@ -24889,6 +25730,58 @@ const SCREENS = runtimeSetting({
24889
25730
  "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
24890
25731
  }
24891
25732
  },
25733
+ {
25734
+ "id": "himi_agenda.location_empty",
25735
+ "body": {
25736
+ "package": "himalaya",
25737
+ "type": "VStack",
25738
+ "props": {
25739
+ "spacing": 22,
25740
+ "alignment": "center",
25741
+ "children": [
25742
+ {
25743
+ "id": "",
25744
+ "body": {
25745
+ "package": "himalaya",
25746
+ "type": "Text",
25747
+ "props": {
25748
+ "text": "No classes at this location in the coming weeks.",
25749
+ "style": "body",
25750
+ "color": "textPrimary",
25751
+ "textAlign": "center"
25752
+ }
25753
+ }
25754
+ },
25755
+ {
25756
+ "id": "himi_agenda.all_locations",
25757
+ "body": {
25758
+ "package": "himalaya",
25759
+ "type": "Button",
25760
+ "props": {
25761
+ "title": "Show all locations",
25762
+ "style": "secondary",
25763
+ "action": {
25764
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
25765
+ "params": {
25766
+ "locationId": ""
25767
+ }
25768
+ }
25769
+ }
25770
+ }
25771
+ }
25772
+ ]
25773
+ }
25774
+ },
25775
+ "modifiers": {
25776
+ "padding": {
25777
+ "leading": 28,
25778
+ "trailing": 28,
25779
+ "top": 48
25780
+ },
25781
+ "fillMaxWidth": true,
25782
+ "hiddenPath": "$service:himiBrandedAgenda.notLocationEmpty"
25783
+ }
25784
+ },
24892
25785
  {
24893
25786
  "id": "himi_agenda.sheet",
24894
25787
  "body": {
@@ -24993,7 +25886,9 @@ const SCREENS = runtimeSetting({
24993
25886
  "nav": {
24994
25887
  "screenId": "himi_service",
24995
25888
  "args": {
24996
- "id": "$service:himiBrandedAgenda.sheetServiceId"
25889
+ "id": "$service:himiBrandedAgenda.sheetServiceId",
25890
+ "sessionId": "$service:himiBrandedAgenda.sheetSessionId",
25891
+ "start": "$service:himiBrandedAgenda.sheetStart"
24997
25892
  }
24998
25893
  }
24999
25894
  }
@@ -25067,6 +25962,184 @@ const SCREENS = runtimeSetting({
25067
25962
  }
25068
25963
  }
25069
25964
  },
25965
+ {
25966
+ "id": "himi_agenda.location_sheet",
25967
+ "body": {
25968
+ "package": "himalaya",
25969
+ "type": "BottomSheet",
25970
+ "props": {
25971
+ "presentedPath": "$service:himiBrandedAgenda.locationSheetOpen",
25972
+ "dismissible": true,
25973
+ "showGrabber": true,
25974
+ "onDismiss": {
25975
+ "actionId": "tier5.himiBrandedAgenda.closeLocations"
25976
+ },
25977
+ "content": {
25978
+ "id": "",
25979
+ "body": {
25980
+ "package": "himalaya",
25981
+ "type": "VStack",
25982
+ "props": {
25983
+ "spacing": 8,
25984
+ "alignment": "leading",
25985
+ "children": [
25986
+ {
25987
+ "id": "",
25988
+ "body": {
25989
+ "package": "himalaya",
25990
+ "type": "Text",
25991
+ "props": {
25992
+ "text": "Choose a location",
25993
+ "style": "title3"
25994
+ }
25995
+ }
25996
+ },
25997
+ {
25998
+ "id": "himi_agenda.location_options",
25999
+ "body": {
26000
+ "package": "himalaya",
26001
+ "type": "Grid",
26002
+ "props": {
26003
+ "columns": 1,
26004
+ "spacing": 0,
26005
+ "itemsPath": "$service:himiBrandedAgenda.locationOptions",
26006
+ "items": [
26007
+ {
26008
+ "id": "",
26009
+ "body": {
26010
+ "package": "himalaya",
26011
+ "type": "VStack",
26012
+ "props": {
26013
+ "spacing": 0,
26014
+ "children": [
26015
+ {
26016
+ "id": "",
26017
+ "body": {
26018
+ "package": "himalaya",
26019
+ "type": "HStack",
26020
+ "props": {
26021
+ "spacing": 12,
26022
+ "alignment": "center",
26023
+ "children": [
26024
+ {
26025
+ "id": "",
26026
+ "body": {
26027
+ "package": "himalaya",
26028
+ "type": "VStack",
26029
+ "props": {
26030
+ "spacing": 2,
26031
+ "alignment": "leading",
26032
+ "children": [
26033
+ {
26034
+ "id": "",
26035
+ "body": {
26036
+ "package": "himalaya",
26037
+ "type": "Text",
26038
+ "props": {
26039
+ "text": "$item.label",
26040
+ "style": "body",
26041
+ "maxLines": 2
26042
+ }
26043
+ }
26044
+ },
26045
+ {
26046
+ "id": "",
26047
+ "body": {
26048
+ "package": "himalaya",
26049
+ "type": "Text",
26050
+ "props": {
26051
+ "text": "$item.sub",
26052
+ "style": "caption",
26053
+ "color": "textSecondary",
26054
+ "maxLines": 2
26055
+ }
26056
+ },
26057
+ "modifiers": {
26058
+ "hiddenPath": "$item.noSub"
26059
+ }
26060
+ }
26061
+ ]
26062
+ }
26063
+ }
26064
+ },
26065
+ {
26066
+ "id": "",
26067
+ "body": {
26068
+ "package": "himalaya",
26069
+ "type": "Spacer",
26070
+ "props": {}
26071
+ }
26072
+ },
26073
+ {
26074
+ "id": "",
26075
+ "body": {
26076
+ "package": "himalaya",
26077
+ "type": "Icon",
26078
+ "props": {
26079
+ "name": "check",
26080
+ "size": 20,
26081
+ "tint": "accentPrimary"
26082
+ }
26083
+ },
26084
+ "modifiers": {
26085
+ "accessibilityRole": "decorative",
26086
+ "hiddenPath": "$item.notSelected"
26087
+ }
26088
+ }
26089
+ ]
26090
+ }
26091
+ },
26092
+ "modifiers": {
26093
+ "fillMaxWidth": true,
26094
+ "padding": {
26095
+ "top": 15,
26096
+ "bottom": 15
26097
+ }
26098
+ }
26099
+ },
26100
+ {
26101
+ "id": "",
26102
+ "body": {
26103
+ "package": "himalaya",
26104
+ "type": "Divider",
26105
+ "props": {}
26106
+ }
26107
+ }
26108
+ ]
26109
+ }
26110
+ },
26111
+ "modifiers": {
26112
+ "fillMaxWidth": true,
26113
+ "onTap": {
26114
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
26115
+ "params": {
26116
+ "locationId": "$item.id"
26117
+ }
26118
+ },
26119
+ "pressFeedback": "highlight",
26120
+ "accessibilityRole": "button",
26121
+ "accessibilityLabel": "$item.a11y"
26122
+ }
26123
+ }
26124
+ ]
26125
+ }
26126
+ }
26127
+ }
26128
+ ]
26129
+ }
26130
+ },
26131
+ "modifiers": {
26132
+ "padding": {
26133
+ "leading": 20,
26134
+ "trailing": 20,
26135
+ "top": 8,
26136
+ "bottom": 24
26137
+ }
26138
+ }
26139
+ }
26140
+ }
26141
+ }
26142
+ },
25070
26143
  {
25071
26144
  "id": "himi_agenda.result",
25072
26145
  "body": {
@@ -25321,7 +26394,8 @@ const SCREENS = runtimeSetting({
25321
26394
  "wix_api",
25322
26395
  "app_info",
25323
26396
  "calendar",
25324
- "open_url"
26397
+ "open_url",
26398
+ "local_database"
25325
26399
  ],
25326
26400
  "minBinaryVersion": "0.1.0",
25327
26401
  "bundleVersion": "0.0.1"
@@ -25339,28 +26413,110 @@ const SCREENS = runtimeSetting({
25339
26413
  "alignment": "leading",
25340
26414
  "children": [
25341
26415
  {
25342
- "id": "himi_agenda.back",
26416
+ "id": "",
25343
26417
  "body": {
25344
26418
  "package": "himalaya",
25345
- "type": "Button",
26419
+ "type": "HStack",
25346
26420
  "props": {
25347
- "title": "Back",
25348
- "action": {
25349
- "actionId": "nav.back",
25350
- "presentation": "back"
25351
- },
25352
- "style": "tertiary",
25353
- "iconOnly": true,
25354
- "leadingIcon": "chevron_left",
25355
- "cornerRadius": 22,
25356
- "minHeight": 44
26421
+ "spacing": 0,
26422
+ "alignment": "center",
26423
+ "children": [
26424
+ {
26425
+ "id": "himi_agenda.back",
26426
+ "body": {
26427
+ "package": "himalaya",
26428
+ "type": "Button",
26429
+ "props": {
26430
+ "title": "Back",
26431
+ "action": {
26432
+ "actionId": "nav.back",
26433
+ "presentation": "back"
26434
+ },
26435
+ "style": "tertiary",
26436
+ "iconOnly": true,
26437
+ "leadingIcon": "chevron_left",
26438
+ "cornerRadius": 22,
26439
+ "minHeight": 44
26440
+ }
26441
+ },
26442
+ "modifiers": {
26443
+ "width": 44,
26444
+ "height": 44,
26445
+ "accessibilityLabel": "Back",
26446
+ "accessibilityRole": "button"
26447
+ }
26448
+ },
26449
+ {
26450
+ "id": "",
26451
+ "body": {
26452
+ "package": "himalaya",
26453
+ "type": "Spacer",
26454
+ "props": {}
26455
+ }
26456
+ },
26457
+ {
26458
+ "id": "himi_agenda.location",
26459
+ "body": {
26460
+ "package": "himalaya",
26461
+ "type": "ZStack",
26462
+ "props": {
26463
+ "children": [
26464
+ {
26465
+ "id": "",
26466
+ "body": {
26467
+ "package": "himalaya",
26468
+ "type": "Icon",
26469
+ "props": {
26470
+ "name": "location",
26471
+ "size": 22,
26472
+ "tint": "textPrimary"
26473
+ }
26474
+ },
26475
+ "modifiers": {
26476
+ "accessibilityRole": "decorative",
26477
+ "hiddenPath": "$service:himiBrandedAgenda.locationActive"
26478
+ }
26479
+ },
26480
+ {
26481
+ "id": "",
26482
+ "body": {
26483
+ "package": "himalaya",
26484
+ "type": "Icon",
26485
+ "props": {
26486
+ "name": "location",
26487
+ "size": 22,
26488
+ "tint": "accentPrimary"
26489
+ }
26490
+ },
26491
+ "modifiers": {
26492
+ "accessibilityRole": "decorative",
26493
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationActive"
26494
+ }
26495
+ }
26496
+ ]
26497
+ }
26498
+ },
26499
+ "modifiers": {
26500
+ "width": 44,
26501
+ "height": 44,
26502
+ "onTap": {
26503
+ "actionId": "tier5.himiBrandedAgenda.openLocations"
26504
+ },
26505
+ "pressFeedback": "highlight",
26506
+ "accessibilityRole": "button",
26507
+ "accessibilityLabel": "$service:himiBrandedAgenda.locationA11y",
26508
+ "accessibilityHint": "Choose a location",
26509
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationMenu"
26510
+ }
26511
+ }
26512
+ ]
25357
26513
  }
25358
26514
  },
25359
26515
  "modifiers": {
25360
- "width": 44,
25361
- "height": 44,
25362
- "accessibilityLabel": "Back",
25363
- "accessibilityRole": "button"
26516
+ "fillMaxWidth": true,
26517
+ "padding": {
26518
+ "trailing": 4
26519
+ }
25364
26520
  }
25365
26521
  },
25366
26522
  {
@@ -29592,14 +30748,74 @@ const SCREENS = runtimeSetting({
29592
30748
  "alignment": "leading",
29593
30749
  "children": [
29594
30750
  {
29595
- "id": "",
30751
+ "id": "himi_events.list.collection.list.$item.collectionId/heading",
29596
30752
  "body": {
29597
30753
  "package": "himalaya",
29598
- "type": "Text",
30754
+ "type": "HStack",
29599
30755
  "props": {
29600
- "text": "$item.collectionTitle",
29601
- "style": "bodyEmphasis",
29602
- "maxLines": 2
30756
+ "spacing": 0,
30757
+ "alignment": "center",
30758
+ "children": [
30759
+ {
30760
+ "id": "himi_events.list.collection.list.$item.collectionId/date-badge-group",
30761
+ "body": {
30762
+ "package": "himalaya",
30763
+ "type": "VStack",
30764
+ "props": {
30765
+ "spacing": 0,
30766
+ "children": [
30767
+ {
30768
+ "id": "himi_events.list.collection.list.$item.collectionId/date-badge",
30769
+ "body": {
30770
+ "package": "himalaya",
30771
+ "type": "Text",
30772
+ "props": {
30773
+ "text": "$item.dateBadge",
30774
+ "style": "bodyEmphasis",
30775
+ "maxLines": 2,
30776
+ "collapseWhenEmpty": true,
30777
+ "textAlign": "center"
30778
+ }
30779
+ },
30780
+ "modifiers": {
30781
+ "padding": {
30782
+ "leading": 8,
30783
+ "trailing": 8,
30784
+ "top": 8,
30785
+ "bottom": 8
30786
+ },
30787
+ "background": {
30788
+ "token": "surfaceSecondary"
30789
+ },
30790
+ "cornerRadius": 8
30791
+ }
30792
+ }
30793
+ ]
30794
+ }
30795
+ },
30796
+ "modifiers": {
30797
+ "padding": {
30798
+ "trailing": 8
30799
+ },
30800
+ "hiddenPath": "$item.noDateBadge"
30801
+ }
30802
+ },
30803
+ {
30804
+ "id": "",
30805
+ "body": {
30806
+ "package": "himalaya",
30807
+ "type": "Text",
30808
+ "props": {
30809
+ "text": "$item.collectionTitle",
30810
+ "style": "bodyEmphasis",
30811
+ "maxLines": 2
30812
+ }
30813
+ },
30814
+ "modifiers": {
30815
+ "weight": 1
30816
+ }
30817
+ }
30818
+ ]
29603
30819
  }
29604
30820
  }
29605
30821
  },
@@ -29691,21 +30907,36 @@ const SCREENS = runtimeSetting({
29691
30907
  "spacing": 0,
29692
30908
  "children": [
29693
30909
  {
29694
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
30910
+ "id": "",
29695
30911
  "body": {
29696
30912
  "package": "himalaya",
29697
- "type": "Button",
30913
+ "type": "HStack",
29698
30914
  "props": {
29699
- "title": "Register",
29700
- "style": "secondary",
29701
- "fullWidth": false,
29702
- "action": {
29703
- "actionId": "himi.open",
29704
- "params": {
29705
- "screenId": "$item.detailScreenId",
29706
- "id": "$item.id"
30915
+ "spacing": 0,
30916
+ "children": [
30917
+ {
30918
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
30919
+ "body": {
30920
+ "package": "himalaya",
30921
+ "type": "Button",
30922
+ "props": {
30923
+ "title": "$item.actionLabel",
30924
+ "style": "secondary",
30925
+ "fullWidth": false,
30926
+ "action": {
30927
+ "actionId": "himi.open",
30928
+ "params": {
30929
+ "screenId": "$item.detailScreenId",
30930
+ "id": "$item.id"
30931
+ }
30932
+ }
30933
+ }
30934
+ },
30935
+ "modifiers": {
30936
+ "hiddenPath": "$item.noAction"
30937
+ }
29707
30938
  }
29708
- }
30939
+ ]
29709
30940
  }
29710
30941
  },
29711
30942
  "modifiers": {
@@ -29784,6 +31015,17 @@ const SCREENS = runtimeSetting({
29784
31015
  }
29785
31016
  }
29786
31017
  },
31018
+ {
31019
+ "id": "share",
31020
+ "label": "Share",
31021
+ "icon": "share",
31022
+ "action": {
31023
+ "actionId": "tier5.himiEvents.share",
31024
+ "params": {
31025
+ "id": "$item.collectionId"
31026
+ }
31027
+ }
31028
+ },
29787
31029
  {
29788
31030
  "id": "open",
29789
31031
  "label": "Open details",
@@ -29896,9 +31138,9 @@ const SCREENS = runtimeSetting({
29896
31138
  "package": "himalaya",
29897
31139
  "type": "Grid",
29898
31140
  "props": {
29899
- "columns": 2,
29900
- "columnsMedium": 3,
29901
- "columnsExpanded": 4,
31141
+ "columns": 1,
31142
+ "columnsMedium": 2,
31143
+ "columnsExpanded": 3,
29902
31144
  "spacing": 12,
29903
31145
  "staggerMs": 30,
29904
31146
  "itemsPath": "$service:himiEvents.collection.items",
@@ -29989,14 +31231,74 @@ const SCREENS = runtimeSetting({
29989
31231
  "alignment": "leading",
29990
31232
  "children": [
29991
31233
  {
29992
- "id": "",
31234
+ "id": "himi_events.list.collection.grid.$item.collectionId/heading",
29993
31235
  "body": {
29994
31236
  "package": "himalaya",
29995
- "type": "Text",
31237
+ "type": "HStack",
29996
31238
  "props": {
29997
- "text": "$item.collectionTitle",
29998
- "style": "bodyEmphasis",
29999
- "maxLines": 2
31239
+ "spacing": 0,
31240
+ "alignment": "center",
31241
+ "children": [
31242
+ {
31243
+ "id": "himi_events.list.collection.grid.$item.collectionId/date-badge-group",
31244
+ "body": {
31245
+ "package": "himalaya",
31246
+ "type": "VStack",
31247
+ "props": {
31248
+ "spacing": 0,
31249
+ "children": [
31250
+ {
31251
+ "id": "himi_events.list.collection.grid.$item.collectionId/date-badge",
31252
+ "body": {
31253
+ "package": "himalaya",
31254
+ "type": "Text",
31255
+ "props": {
31256
+ "text": "$item.dateBadge",
31257
+ "style": "bodyEmphasis",
31258
+ "maxLines": 2,
31259
+ "collapseWhenEmpty": true,
31260
+ "textAlign": "center"
31261
+ }
31262
+ },
31263
+ "modifiers": {
31264
+ "padding": {
31265
+ "leading": 8,
31266
+ "trailing": 8,
31267
+ "top": 8,
31268
+ "bottom": 8
31269
+ },
31270
+ "background": {
31271
+ "token": "surfaceSecondary"
31272
+ },
31273
+ "cornerRadius": 8
31274
+ }
31275
+ }
31276
+ ]
31277
+ }
31278
+ },
31279
+ "modifiers": {
31280
+ "padding": {
31281
+ "trailing": 8
31282
+ },
31283
+ "hiddenPath": "$item.noDateBadge"
31284
+ }
31285
+ },
31286
+ {
31287
+ "id": "",
31288
+ "body": {
31289
+ "package": "himalaya",
31290
+ "type": "Text",
31291
+ "props": {
31292
+ "text": "$item.collectionTitle",
31293
+ "style": "bodyEmphasis",
31294
+ "maxLines": 2
31295
+ }
31296
+ },
31297
+ "modifiers": {
31298
+ "weight": 1
31299
+ }
31300
+ }
31301
+ ]
30000
31302
  }
30001
31303
  }
30002
31304
  },
@@ -30126,21 +31428,36 @@ const SCREENS = runtimeSetting({
30126
31428
  }
30127
31429
  },
30128
31430
  {
30129
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
31431
+ "id": "",
30130
31432
  "body": {
30131
31433
  "package": "himalaya",
30132
- "type": "Button",
31434
+ "type": "HStack",
30133
31435
  "props": {
30134
- "title": "Register",
30135
- "style": "secondary",
30136
- "fullWidth": false,
30137
- "action": {
30138
- "actionId": "himi.open",
30139
- "params": {
30140
- "screenId": "$item.detailScreenId",
30141
- "id": "$item.id"
31436
+ "spacing": 0,
31437
+ "children": [
31438
+ {
31439
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
31440
+ "body": {
31441
+ "package": "himalaya",
31442
+ "type": "Button",
31443
+ "props": {
31444
+ "title": "$item.actionLabel",
31445
+ "style": "secondary",
31446
+ "fullWidth": false,
31447
+ "action": {
31448
+ "actionId": "himi.open",
31449
+ "params": {
31450
+ "screenId": "$item.detailScreenId",
31451
+ "id": "$item.id"
31452
+ }
31453
+ }
31454
+ }
31455
+ },
31456
+ "modifiers": {
31457
+ "hiddenPath": "$item.noAction"
31458
+ }
30142
31459
  }
30143
- }
31460
+ ]
30144
31461
  }
30145
31462
  },
30146
31463
  "modifiers": {
@@ -30201,6 +31518,17 @@ const SCREENS = runtimeSetting({
30201
31518
  }
30202
31519
  }
30203
31520
  },
31521
+ {
31522
+ "id": "share",
31523
+ "label": "Share",
31524
+ "icon": "share",
31525
+ "action": {
31526
+ "actionId": "tier5.himiEvents.share",
31527
+ "params": {
31528
+ "id": "$item.collectionId"
31529
+ }
31530
+ }
31531
+ },
30204
31532
  {
30205
31533
  "id": "open",
30206
31534
  "label": "Open details",
@@ -30375,14 +31703,74 @@ const SCREENS = runtimeSetting({
30375
31703
  "alignment": "leading",
30376
31704
  "children": [
30377
31705
  {
30378
- "id": "",
31706
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/heading",
30379
31707
  "body": {
30380
31708
  "package": "himalaya",
30381
- "type": "Text",
31709
+ "type": "HStack",
30382
31710
  "props": {
30383
- "text": "$item.collectionTitle",
30384
- "style": "bodyEmphasis",
30385
- "maxLines": 2
31711
+ "spacing": 0,
31712
+ "alignment": "center",
31713
+ "children": [
31714
+ {
31715
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/date-badge-group",
31716
+ "body": {
31717
+ "package": "himalaya",
31718
+ "type": "VStack",
31719
+ "props": {
31720
+ "spacing": 0,
31721
+ "children": [
31722
+ {
31723
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/date-badge",
31724
+ "body": {
31725
+ "package": "himalaya",
31726
+ "type": "Text",
31727
+ "props": {
31728
+ "text": "$item.dateBadge",
31729
+ "style": "bodyEmphasis",
31730
+ "maxLines": 2,
31731
+ "collapseWhenEmpty": true,
31732
+ "textAlign": "center"
31733
+ }
31734
+ },
31735
+ "modifiers": {
31736
+ "padding": {
31737
+ "leading": 8,
31738
+ "trailing": 8,
31739
+ "top": 8,
31740
+ "bottom": 8
31741
+ },
31742
+ "background": {
31743
+ "token": "surfaceSecondary"
31744
+ },
31745
+ "cornerRadius": 8
31746
+ }
31747
+ }
31748
+ ]
31749
+ }
31750
+ },
31751
+ "modifiers": {
31752
+ "padding": {
31753
+ "trailing": 8
31754
+ },
31755
+ "hiddenPath": "$item.noDateBadge"
31756
+ }
31757
+ },
31758
+ {
31759
+ "id": "",
31760
+ "body": {
31761
+ "package": "himalaya",
31762
+ "type": "Text",
31763
+ "props": {
31764
+ "text": "$item.collectionTitle",
31765
+ "style": "bodyEmphasis",
31766
+ "maxLines": 2
31767
+ }
31768
+ },
31769
+ "modifiers": {
31770
+ "weight": 1
31771
+ }
31772
+ }
31773
+ ]
30386
31774
  }
30387
31775
  }
30388
31776
  },
@@ -30474,21 +31862,36 @@ const SCREENS = runtimeSetting({
30474
31862
  "spacing": 0,
30475
31863
  "children": [
30476
31864
  {
30477
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
31865
+ "id": "",
30478
31866
  "body": {
30479
31867
  "package": "himalaya",
30480
- "type": "Button",
31868
+ "type": "HStack",
30481
31869
  "props": {
30482
- "title": "Register",
30483
- "style": "secondary",
30484
- "fullWidth": false,
30485
- "action": {
30486
- "actionId": "himi.open",
30487
- "params": {
30488
- "screenId": "$item.detailScreenId",
30489
- "id": "$item.id"
31870
+ "spacing": 0,
31871
+ "children": [
31872
+ {
31873
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
31874
+ "body": {
31875
+ "package": "himalaya",
31876
+ "type": "Button",
31877
+ "props": {
31878
+ "title": "$item.actionLabel",
31879
+ "style": "secondary",
31880
+ "fullWidth": false,
31881
+ "action": {
31882
+ "actionId": "himi.open",
31883
+ "params": {
31884
+ "screenId": "$item.detailScreenId",
31885
+ "id": "$item.id"
31886
+ }
31887
+ }
31888
+ }
31889
+ },
31890
+ "modifiers": {
31891
+ "hiddenPath": "$item.noAction"
31892
+ }
30490
31893
  }
30491
- }
31894
+ ]
30492
31895
  }
30493
31896
  },
30494
31897
  "modifiers": {
@@ -30567,6 +31970,17 @@ const SCREENS = runtimeSetting({
30567
31970
  }
30568
31971
  }
30569
31972
  },
31973
+ {
31974
+ "id": "share",
31975
+ "label": "Share",
31976
+ "icon": "share",
31977
+ "action": {
31978
+ "actionId": "tier5.himiEvents.share",
31979
+ "params": {
31980
+ "id": "$item.collectionId"
31981
+ }
31982
+ }
31983
+ },
30570
31984
  {
30571
31985
  "id": "open",
30572
31986
  "label": "Open details",
@@ -30679,9 +32093,9 @@ const SCREENS = runtimeSetting({
30679
32093
  "package": "himalaya",
30680
32094
  "type": "Grid",
30681
32095
  "props": {
30682
- "columns": 2,
30683
- "columnsMedium": 3,
30684
- "columnsExpanded": 4,
32096
+ "columns": 1,
32097
+ "columnsMedium": 2,
32098
+ "columnsExpanded": 3,
30685
32099
  "spacing": 8,
30686
32100
  "staggerMs": 30,
30687
32101
  "itemsPath": "$service:himiEvents.collection.items",
@@ -30772,14 +32186,74 @@ const SCREENS = runtimeSetting({
30772
32186
  "alignment": "leading",
30773
32187
  "children": [
30774
32188
  {
30775
- "id": "",
32189
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/heading",
30776
32190
  "body": {
30777
32191
  "package": "himalaya",
30778
- "type": "Text",
32192
+ "type": "HStack",
30779
32193
  "props": {
30780
- "text": "$item.collectionTitle",
30781
- "style": "bodyEmphasis",
30782
- "maxLines": 2
32194
+ "spacing": 0,
32195
+ "alignment": "center",
32196
+ "children": [
32197
+ {
32198
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/date-badge-group",
32199
+ "body": {
32200
+ "package": "himalaya",
32201
+ "type": "VStack",
32202
+ "props": {
32203
+ "spacing": 0,
32204
+ "children": [
32205
+ {
32206
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/date-badge",
32207
+ "body": {
32208
+ "package": "himalaya",
32209
+ "type": "Text",
32210
+ "props": {
32211
+ "text": "$item.dateBadge",
32212
+ "style": "bodyEmphasis",
32213
+ "maxLines": 2,
32214
+ "collapseWhenEmpty": true,
32215
+ "textAlign": "center"
32216
+ }
32217
+ },
32218
+ "modifiers": {
32219
+ "padding": {
32220
+ "leading": 8,
32221
+ "trailing": 8,
32222
+ "top": 8,
32223
+ "bottom": 8
32224
+ },
32225
+ "background": {
32226
+ "token": "surfaceSecondary"
32227
+ },
32228
+ "cornerRadius": 8
32229
+ }
32230
+ }
32231
+ ]
32232
+ }
32233
+ },
32234
+ "modifiers": {
32235
+ "padding": {
32236
+ "trailing": 8
32237
+ },
32238
+ "hiddenPath": "$item.noDateBadge"
32239
+ }
32240
+ },
32241
+ {
32242
+ "id": "",
32243
+ "body": {
32244
+ "package": "himalaya",
32245
+ "type": "Text",
32246
+ "props": {
32247
+ "text": "$item.collectionTitle",
32248
+ "style": "bodyEmphasis",
32249
+ "maxLines": 2
32250
+ }
32251
+ },
32252
+ "modifiers": {
32253
+ "weight": 1
32254
+ }
32255
+ }
32256
+ ]
30783
32257
  }
30784
32258
  }
30785
32259
  },
@@ -30909,21 +32383,36 @@ const SCREENS = runtimeSetting({
30909
32383
  }
30910
32384
  },
30911
32385
  {
30912
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
32386
+ "id": "",
30913
32387
  "body": {
30914
32388
  "package": "himalaya",
30915
- "type": "Button",
32389
+ "type": "HStack",
30916
32390
  "props": {
30917
- "title": "Register",
30918
- "style": "secondary",
30919
- "fullWidth": false,
30920
- "action": {
30921
- "actionId": "himi.open",
30922
- "params": {
30923
- "screenId": "$item.detailScreenId",
30924
- "id": "$item.id"
32391
+ "spacing": 0,
32392
+ "children": [
32393
+ {
32394
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
32395
+ "body": {
32396
+ "package": "himalaya",
32397
+ "type": "Button",
32398
+ "props": {
32399
+ "title": "$item.actionLabel",
32400
+ "style": "secondary",
32401
+ "fullWidth": false,
32402
+ "action": {
32403
+ "actionId": "himi.open",
32404
+ "params": {
32405
+ "screenId": "$item.detailScreenId",
32406
+ "id": "$item.id"
32407
+ }
32408
+ }
32409
+ }
32410
+ },
32411
+ "modifiers": {
32412
+ "hiddenPath": "$item.noAction"
32413
+ }
30925
32414
  }
30926
- }
32415
+ ]
30927
32416
  }
30928
32417
  },
30929
32418
  "modifiers": {
@@ -30984,6 +32473,17 @@ const SCREENS = runtimeSetting({
30984
32473
  }
30985
32474
  }
30986
32475
  },
32476
+ {
32477
+ "id": "share",
32478
+ "label": "Share",
32479
+ "icon": "share",
32480
+ "action": {
32481
+ "actionId": "tier5.himiEvents.share",
32482
+ "params": {
32483
+ "id": "$item.collectionId"
32484
+ }
32485
+ }
32486
+ },
30987
32487
  {
30988
32488
  "id": "open",
30989
32489
  "label": "Open details",
@@ -31525,14 +33025,74 @@ const SCREENS = runtimeSetting({
31525
33025
  "alignment": "leading",
31526
33026
  "children": [
31527
33027
  {
31528
- "id": "",
33028
+ "id": "himi_events.list.collection.preview.$item.collectionId/heading",
31529
33029
  "body": {
31530
33030
  "package": "himalaya",
31531
- "type": "Text",
33031
+ "type": "HStack",
31532
33032
  "props": {
31533
- "text": "$item.collectionTitle",
31534
- "style": "bodyEmphasis",
31535
- "maxLines": 2
33033
+ "spacing": 0,
33034
+ "alignment": "center",
33035
+ "children": [
33036
+ {
33037
+ "id": "himi_events.list.collection.preview.$item.collectionId/date-badge-group",
33038
+ "body": {
33039
+ "package": "himalaya",
33040
+ "type": "VStack",
33041
+ "props": {
33042
+ "spacing": 0,
33043
+ "children": [
33044
+ {
33045
+ "id": "himi_events.list.collection.preview.$item.collectionId/date-badge",
33046
+ "body": {
33047
+ "package": "himalaya",
33048
+ "type": "Text",
33049
+ "props": {
33050
+ "text": "$item.dateBadge",
33051
+ "style": "bodyEmphasis",
33052
+ "maxLines": 2,
33053
+ "collapseWhenEmpty": true,
33054
+ "textAlign": "center"
33055
+ }
33056
+ },
33057
+ "modifiers": {
33058
+ "padding": {
33059
+ "leading": 8,
33060
+ "trailing": 8,
33061
+ "top": 8,
33062
+ "bottom": 8
33063
+ },
33064
+ "background": {
33065
+ "token": "surfaceSecondary"
33066
+ },
33067
+ "cornerRadius": 8
33068
+ }
33069
+ }
33070
+ ]
33071
+ }
33072
+ },
33073
+ "modifiers": {
33074
+ "padding": {
33075
+ "trailing": 8
33076
+ },
33077
+ "hiddenPath": "$item.noDateBadge"
33078
+ }
33079
+ },
33080
+ {
33081
+ "id": "",
33082
+ "body": {
33083
+ "package": "himalaya",
33084
+ "type": "Text",
33085
+ "props": {
33086
+ "text": "$item.collectionTitle",
33087
+ "style": "bodyEmphasis",
33088
+ "maxLines": 2
33089
+ }
33090
+ },
33091
+ "modifiers": {
33092
+ "weight": 1
33093
+ }
33094
+ }
33095
+ ]
31536
33096
  }
31537
33097
  }
31538
33098
  },
@@ -31662,21 +33222,36 @@ const SCREENS = runtimeSetting({
31662
33222
  }
31663
33223
  },
31664
33224
  {
31665
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
33225
+ "id": "",
31666
33226
  "body": {
31667
33227
  "package": "himalaya",
31668
- "type": "Button",
33228
+ "type": "HStack",
31669
33229
  "props": {
31670
- "title": "Register",
31671
- "style": "secondary",
31672
- "fullWidth": false,
31673
- "action": {
31674
- "actionId": "himi.open",
31675
- "params": {
31676
- "screenId": "$item.detailScreenId",
31677
- "id": "$item.id"
33230
+ "spacing": 0,
33231
+ "children": [
33232
+ {
33233
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
33234
+ "body": {
33235
+ "package": "himalaya",
33236
+ "type": "Button",
33237
+ "props": {
33238
+ "title": "$item.actionLabel",
33239
+ "style": "secondary",
33240
+ "fullWidth": false,
33241
+ "action": {
33242
+ "actionId": "himi.open",
33243
+ "params": {
33244
+ "screenId": "$item.detailScreenId",
33245
+ "id": "$item.id"
33246
+ }
33247
+ }
33248
+ }
33249
+ },
33250
+ "modifiers": {
33251
+ "hiddenPath": "$item.noAction"
33252
+ }
31678
33253
  }
31679
- }
33254
+ ]
31680
33255
  }
31681
33256
  },
31682
33257
  "modifiers": {
@@ -31737,6 +33312,17 @@ const SCREENS = runtimeSetting({
31737
33312
  }
31738
33313
  }
31739
33314
  },
33315
+ {
33316
+ "id": "share",
33317
+ "label": "Share",
33318
+ "icon": "share",
33319
+ "action": {
33320
+ "actionId": "tier5.himiEvents.share",
33321
+ "params": {
33322
+ "id": "$item.collectionId"
33323
+ }
33324
+ }
33325
+ },
31740
33326
  {
31741
33327
  "id": "open",
31742
33328
  "label": "Open details",
@@ -31936,7 +33522,8 @@ const SCREENS = runtimeSetting({
31936
33522
  "contentType": "application/javascript+ts-bundle",
31937
33523
  "declaredCapabilities": [
31938
33524
  "wix_api",
31939
- "local_database"
33525
+ "local_database",
33526
+ "share"
31940
33527
  ],
31941
33528
  "minBinaryVersion": "0.1.0",
31942
33529
  "bundleVersion": "0.0.1"
@@ -38490,234 +40077,178 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
38490
40077
  }
38491
40078
  },
38492
40079
  {
38493
- "id": "himi_product.return_policy",
40080
+ "id": "himi_product.info_sections",
38494
40081
  "body": {
38495
40082
  "package": "himalaya",
38496
- "type": "VStack",
40083
+ "type": "LazyList",
38497
40084
  "props": {
38498
- "spacing": 0,
38499
- "alignment": "leading",
38500
- "children": [
40085
+ "itemsPath": "$service:himiStoreProduct.infoSections",
40086
+ "items": [
38501
40087
  {
38502
- "id": "himi_product.return_policy.header",
40088
+ "id": "himi_product.info_$item.id",
38503
40089
  "body": {
38504
40090
  "package": "himalaya",
38505
- "type": "HStack",
40091
+ "type": "VStack",
38506
40092
  "props": {
38507
- "spacing": 12,
40093
+ "spacing": 0,
40094
+ "alignment": "leading",
38508
40095
  "children": [
38509
40096
  {
38510
40097
  "id": "",
38511
40098
  "body": {
38512
40099
  "package": "himalaya",
38513
- "type": "Text",
38514
- "props": {
38515
- "text": "Return & refund policy",
38516
- "style": "body",
38517
- "maxLines": 2
38518
- }
38519
- }
38520
- },
38521
- {
38522
- "id": "",
38523
- "body": {
38524
- "package": "himalaya",
38525
- "type": "Spacer",
38526
- "props": {}
38527
- }
38528
- },
38529
- {
38530
- "id": "",
38531
- "body": {
38532
- "package": "himalaya",
38533
- "type": "Icon",
40100
+ "type": "HStack",
38534
40101
  "props": {
38535
- "name": "chevron_down",
38536
- "size": 16,
38537
- "tint": "textSecondary"
40102
+ "spacing": 12,
40103
+ "children": [
40104
+ {
40105
+ "id": "",
40106
+ "body": {
40107
+ "package": "himalaya",
40108
+ "type": "Text",
40109
+ "props": {
40110
+ "text": "$item.title",
40111
+ "style": "body"
40112
+ }
40113
+ }
40114
+ },
40115
+ {
40116
+ "id": "",
40117
+ "body": {
40118
+ "package": "himalaya",
40119
+ "type": "Spacer",
40120
+ "props": {}
40121
+ }
40122
+ },
40123
+ {
40124
+ "id": "",
40125
+ "body": {
40126
+ "package": "himalaya",
40127
+ "type": "Icon",
40128
+ "props": {
40129
+ "name": "chevron_down",
40130
+ "size": 16,
40131
+ "tint": "textSecondary"
40132
+ }
40133
+ },
40134
+ "modifiers": {
40135
+ "accessibilityRole": "decorative",
40136
+ "hiddenPath": "$item.expanded"
40137
+ }
40138
+ },
40139
+ {
40140
+ "id": "",
40141
+ "body": {
40142
+ "package": "himalaya",
40143
+ "type": "Icon",
40144
+ "props": {
40145
+ "name": "chevron_up",
40146
+ "size": 16,
40147
+ "tint": "textSecondary"
40148
+ }
40149
+ },
40150
+ "modifiers": {
40151
+ "accessibilityRole": "decorative",
40152
+ "hiddenPath": "$item.collapsed"
40153
+ }
40154
+ }
40155
+ ]
38538
40156
  }
38539
40157
  },
38540
40158
  "modifiers": {
38541
- "accessibilityRole": "decorative",
38542
- "hiddenPath": "$service:himiStoreProduct.returnPolicyExpanded"
40159
+ "fillMaxWidth": true,
40160
+ "padding": {
40161
+ "top": 16,
40162
+ "bottom": 16
40163
+ },
40164
+ "onTap": {
40165
+ "actionId": "tier5.himiStoreProduct.toggleInfoSection",
40166
+ "params": {
40167
+ "id": "$item.id"
40168
+ }
40169
+ },
40170
+ "pressFeedback": "highlight",
40171
+ "accessibilityRole": "button",
40172
+ "accessibilityLabel": "$item.title",
40173
+ "hiddenPath": "$item.noTitle"
38543
40174
  }
38544
40175
  },
38545
40176
  {
38546
40177
  "id": "",
38547
40178
  "body": {
38548
40179
  "package": "himalaya",
38549
- "type": "Icon",
40180
+ "type": "VStack",
38550
40181
  "props": {
38551
- "name": "chevron_up",
38552
- "size": 16,
38553
- "tint": "textSecondary"
40182
+ "spacing": 0,
40183
+ "alignment": "leading",
40184
+ "children": [
40185
+ {
40186
+ "id": "himi_product.info_body_$item.id",
40187
+ "body": {
40188
+ "package": "himalaya",
40189
+ "type": "RichContent",
40190
+ "props": {
40191
+ "documentJsonPath": "$item.bodyJson",
40192
+ "onLink": {
40193
+ "actionId": "tier5.himiStoreProduct.openLink"
40194
+ },
40195
+ "fallback": {
40196
+ "id": "",
40197
+ "body": {
40198
+ "package": "himalaya",
40199
+ "type": "Text",
40200
+ "props": {
40201
+ "text": "$item.body",
40202
+ "style": "body",
40203
+ "color": "textSecondary",
40204
+ "collapseWhenEmpty": true
40205
+ }
40206
+ }
40207
+ }
40208
+ }
40209
+ }
40210
+ },
40211
+ {
40212
+ "id": "",
40213
+ "body": {
40214
+ "package": "himalaya",
40215
+ "type": "Text",
40216
+ "props": {
40217
+ "text": "$item.body",
40218
+ "style": "body",
40219
+ "color": "textSecondary",
40220
+ "collapseWhenEmpty": true
40221
+ }
40222
+ },
40223
+ "modifiers": {
40224
+ "hiddenPath": "$item.hasBodyJson"
40225
+ }
40226
+ }
40227
+ ]
38554
40228
  }
38555
40229
  },
38556
40230
  "modifiers": {
38557
- "accessibilityRole": "decorative",
38558
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
38559
- }
38560
- }
38561
- ]
38562
- }
38563
- },
38564
- "modifiers": {
38565
- "fillMaxWidth": true,
38566
- "padding": {
38567
- "top": 18,
38568
- "bottom": 18
38569
- },
38570
- "onTap": {
38571
- "actionId": "tier5.himiStoreProduct.toggleReturnPolicy"
38572
- },
38573
- "pressFeedback": "highlight",
38574
- "accessibilityRole": "button",
38575
- "accessibilityLabel": "Return & refund policy"
38576
- }
38577
- },
38578
- {
38579
- "id": "",
38580
- "body": {
38581
- "package": "himalaya",
38582
- "type": "Text",
38583
- "props": {
38584
- "text": "$service:himiStoreProduct.returnPolicyBody",
38585
- "style": "body",
38586
- "color": "textSecondary"
38587
- }
38588
- },
38589
- "modifiers": {
38590
- "padding": {
38591
- "bottom": 18
38592
- },
38593
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
38594
- }
38595
- },
38596
- {
38597
- "id": "",
38598
- "body": {
38599
- "package": "himalaya",
38600
- "type": "Divider",
38601
- "props": {}
38602
- }
38603
- }
38604
- ]
38605
- }
38606
- }
38607
- },
38608
- {
38609
- "id": "himi_product.shipping_info",
38610
- "body": {
38611
- "package": "himalaya",
38612
- "type": "VStack",
38613
- "props": {
38614
- "spacing": 0,
38615
- "alignment": "leading",
38616
- "children": [
38617
- {
38618
- "id": "himi_product.shipping_info.header",
38619
- "body": {
38620
- "package": "himalaya",
38621
- "type": "HStack",
38622
- "props": {
38623
- "spacing": 12,
38624
- "children": [
38625
- {
38626
- "id": "",
38627
- "body": {
38628
- "package": "himalaya",
38629
- "type": "Text",
38630
- "props": {
38631
- "text": "Shipping info",
38632
- "style": "body",
38633
- "maxLines": 2
38634
- }
40231
+ "padding": {
40232
+ "bottom": 16
40233
+ },
40234
+ "fillMaxWidth": true,
40235
+ "hiddenPath": "$item.collapsed"
38635
40236
  }
38636
40237
  },
38637
40238
  {
38638
40239
  "id": "",
38639
40240
  "body": {
38640
40241
  "package": "himalaya",
38641
- "type": "Spacer",
40242
+ "type": "Divider",
38642
40243
  "props": {}
38643
40244
  }
38644
- },
38645
- {
38646
- "id": "",
38647
- "body": {
38648
- "package": "himalaya",
38649
- "type": "Icon",
38650
- "props": {
38651
- "name": "chevron_down",
38652
- "size": 16,
38653
- "tint": "textSecondary"
38654
- }
38655
- },
38656
- "modifiers": {
38657
- "accessibilityRole": "decorative",
38658
- "hiddenPath": "$service:himiStoreProduct.shippingInfoExpanded"
38659
- }
38660
- },
38661
- {
38662
- "id": "",
38663
- "body": {
38664
- "package": "himalaya",
38665
- "type": "Icon",
38666
- "props": {
38667
- "name": "chevron_up",
38668
- "size": 16,
38669
- "tint": "textSecondary"
38670
- }
38671
- },
38672
- "modifiers": {
38673
- "accessibilityRole": "decorative",
38674
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
38675
- }
38676
40245
  }
38677
40246
  ]
38678
40247
  }
38679
- },
38680
- "modifiers": {
38681
- "fillMaxWidth": true,
38682
- "padding": {
38683
- "top": 18,
38684
- "bottom": 18
38685
- },
38686
- "onTap": {
38687
- "actionId": "tier5.himiStoreProduct.toggleShippingInfo"
38688
- },
38689
- "pressFeedback": "highlight",
38690
- "accessibilityRole": "button",
38691
- "accessibilityLabel": "Shipping info"
38692
- }
38693
- },
38694
- {
38695
- "id": "",
38696
- "body": {
38697
- "package": "himalaya",
38698
- "type": "Text",
38699
- "props": {
38700
- "text": "$service:himiStoreProduct.shippingInfoBody",
38701
- "style": "body",
38702
- "color": "textSecondary"
38703
- }
38704
- },
38705
- "modifiers": {
38706
- "padding": {
38707
- "bottom": 18
38708
- },
38709
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
38710
- }
38711
- },
38712
- {
38713
- "id": "",
38714
- "body": {
38715
- "package": "himalaya",
38716
- "type": "Divider",
38717
- "props": {}
38718
40248
  }
38719
40249
  }
38720
- ]
40250
+ ],
40251
+ "spacing": 0
38721
40252
  }
38722
40253
  }
38723
40254
  }
@@ -40007,7 +41538,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40007
41538
  "alignment": "leading",
40008
41539
  "children": [
40009
41540
  {
40010
- "id": "",
41541
+ "id": "himi_service.title",
41542
+ "body": {
41543
+ "package": "himalaya",
41544
+ "type": "Text",
41545
+ "props": {
41546
+ "text": "$service:himiBookingService.name",
41547
+ "style": "pageTitle",
41548
+ "maxLines": 3,
41549
+ "collapseWhenEmpty": true
41550
+ }
41551
+ }
41552
+ },
41553
+ {
41554
+ "id": "himi_service.session_when",
40011
41555
  "body": {
40012
41556
  "package": "himalaya",
40013
41557
  "type": "HStack",
@@ -40016,62 +41560,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40016
41560
  "alignment": "center",
40017
41561
  "children": [
40018
41562
  {
40019
- "id": "himi_service.category",
41563
+ "id": "",
40020
41564
  "body": {
40021
41565
  "package": "himalaya",
40022
- "type": "Text",
41566
+ "type": "Icon",
40023
41567
  "props": {
40024
- "text": "$service:himiBookingService.category",
40025
- "style": "footnote",
40026
- "color": "textSecondary",
40027
- "maxLines": 1
41568
+ "name": "calendar",
41569
+ "size": 20,
41570
+ "tint": "textSecondary"
40028
41571
  }
40029
41572
  },
40030
41573
  "modifiers": {
40031
- "hiddenPath": "$service:himiBookingService.noCategory"
41574
+ "accessibilityRole": "decorative"
40032
41575
  }
40033
41576
  },
40034
41577
  {
40035
- "id": "himi_service.type_tag",
41578
+ "id": "",
40036
41579
  "body": {
40037
41580
  "package": "himalaya",
40038
41581
  "type": "Text",
40039
41582
  "props": {
40040
- "text": "$service:himiBookingService.typeTag",
40041
- "style": "caption",
40042
- "color": "textSecondary",
40043
- "maxLines": 1
41583
+ "text": "$service:himiBookingService.sessionWhen",
41584
+ "style": "bodyEmphasis",
41585
+ "maxLines": 2
40044
41586
  }
40045
41587
  },
40046
41588
  "modifiers": {
40047
- "background": {
40048
- "token": "surfaceTertiary"
40049
- },
40050
- "cornerRadius": 4,
40051
- "padding": {
40052
- "leading": 8,
40053
- "trailing": 8,
40054
- "top": 2,
40055
- "bottom": 2
40056
- },
40057
- "hiddenPath": "$service:himiBookingService.noTypeTag"
41589
+ "weight": 1
41590
+ }
41591
+ },
41592
+ {
41593
+ "id": "himi_service.change_time",
41594
+ "body": {
41595
+ "package": "himalaya",
41596
+ "type": "Button",
41597
+ "props": {
41598
+ "title": "Change Time",
41599
+ "style": "tertiary",
41600
+ "size": "sm",
41601
+ "action": {
41602
+ "actionId": "tier5.himiBookingService.changeTime"
41603
+ }
41604
+ }
41605
+ },
41606
+ "modifiers": {
41607
+ "hiddenPath": "$service:himiBookingService.noChangeTime"
40058
41608
  }
40059
41609
  }
40060
41610
  ]
40061
41611
  }
40062
- }
40063
- },
40064
- {
40065
- "id": "himi_service.title",
40066
- "body": {
40067
- "package": "himalaya",
40068
- "type": "Text",
40069
- "props": {
40070
- "text": "$service:himiBookingService.name",
40071
- "style": "pageTitle",
40072
- "maxLines": 3,
40073
- "collapseWhenEmpty": true
40074
- }
41612
+ },
41613
+ "modifiers": {
41614
+ "fillMaxWidth": true,
41615
+ "hiddenPath": "$service:himiBookingService.noSession"
40075
41616
  }
40076
41617
  },
40077
41618
  {
@@ -40182,6 +41723,104 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40182
41723
  "spacing": 16,
40183
41724
  "alignment": "leading",
40184
41725
  "children": [
41726
+ {
41727
+ "id": "himi_service.session",
41728
+ "body": {
41729
+ "package": "himalaya",
41730
+ "type": "HStack",
41731
+ "props": {
41732
+ "spacing": 12,
41733
+ "alignment": "center",
41734
+ "children": [
41735
+ {
41736
+ "id": "",
41737
+ "body": {
41738
+ "package": "himalaya",
41739
+ "type": "ZStack",
41740
+ "props": {
41741
+ "alignment": "center",
41742
+ "children": [
41743
+ {
41744
+ "id": "",
41745
+ "body": {
41746
+ "package": "himalaya",
41747
+ "type": "Icon",
41748
+ "props": {
41749
+ "name": "calendar",
41750
+ "size": 20,
41751
+ "tint": "textSecondary"
41752
+ }
41753
+ },
41754
+ "modifiers": {
41755
+ "accessibilityRole": "decorative"
41756
+ }
41757
+ }
41758
+ ]
41759
+ }
41760
+ },
41761
+ "modifiers": {
41762
+ "width": 20,
41763
+ "height": 20
41764
+ }
41765
+ },
41766
+ {
41767
+ "id": "",
41768
+ "body": {
41769
+ "package": "himalaya",
41770
+ "type": "VStack",
41771
+ "props": {
41772
+ "spacing": 2,
41773
+ "alignment": "leading",
41774
+ "children": [
41775
+ {
41776
+ "id": "",
41777
+ "body": {
41778
+ "package": "himalaya",
41779
+ "type": "Text",
41780
+ "props": {
41781
+ "text": "$service:himiBookingService.sessionDate",
41782
+ "style": "body",
41783
+ "color": "textPrimary",
41784
+ "maxLines": 2
41785
+ }
41786
+ }
41787
+ },
41788
+ {
41789
+ "id": "",
41790
+ "body": {
41791
+ "package": "himalaya",
41792
+ "type": "Text",
41793
+ "props": {
41794
+ "text": "$service:himiBookingService.sessionTime",
41795
+ "style": "caption",
41796
+ "color": "textSecondary",
41797
+ "maxLines": 1,
41798
+ "collapseWhenEmpty": true
41799
+ }
41800
+ }
41801
+ }
41802
+ ]
41803
+ }
41804
+ }
41805
+ },
41806
+ {
41807
+ "id": "",
41808
+ "body": {
41809
+ "package": "himalaya",
41810
+ "type": "Spacer",
41811
+ "props": {}
41812
+ }
41813
+ }
41814
+ ]
41815
+ }
41816
+ },
41817
+ "modifiers": {
41818
+ "fillMaxWidth": true,
41819
+ "accessibilityLabel": "$service:himiBookingService.sessionDate",
41820
+ "accessibilityValue": "$service:himiBookingService.sessionTime",
41821
+ "hiddenPath": "$service:himiBookingService.noSession"
41822
+ }
41823
+ },
40185
41824
  {
40186
41825
  "id": "himi_service.course_dates",
40187
41826
  "body": {
@@ -41580,7 +43219,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41580
43219
  "bottom": 24
41581
43220
  },
41582
43221
  "onAppear": {
41583
- "actionId": "tier5.himiBookingService.load"
43222
+ "actionId": "tier5.himiBookingService.load",
43223
+ "params": {
43224
+ "signInScreenId": "himi_sign_in",
43225
+ "signInPresentation": "sheet"
43226
+ }
41584
43227
  }
41585
43228
  }
41586
43229
  },
@@ -41637,6 +43280,77 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41637
43280
  "props": {
41638
43281
  "spacing": 0,
41639
43282
  "children": [
43283
+ {
43284
+ "id": "himi_service.session_message",
43285
+ "body": {
43286
+ "package": "himalaya",
43287
+ "type": "HStack",
43288
+ "props": {
43289
+ "spacing": 8,
43290
+ "alignment": "center",
43291
+ "children": [
43292
+ {
43293
+ "id": "",
43294
+ "body": {
43295
+ "package": "himalaya",
43296
+ "type": "Icon",
43297
+ "props": {
43298
+ "name": "check",
43299
+ "size": 20,
43300
+ "tint": "success"
43301
+ }
43302
+ },
43303
+ "modifiers": {
43304
+ "accessibilityRole": "decorative",
43305
+ "hiddenPath": "$service:himiBookingService.sessionMessageFailed"
43306
+ }
43307
+ },
43308
+ {
43309
+ "id": "",
43310
+ "body": {
43311
+ "package": "himalaya",
43312
+ "type": "Icon",
43313
+ "props": {
43314
+ "name": "info",
43315
+ "size": 20,
43316
+ "tint": "accentPrimary"
43317
+ }
43318
+ },
43319
+ "modifiers": {
43320
+ "accessibilityRole": "decorative",
43321
+ "hiddenPath": "$service:himiBookingService.sessionMessageOk"
43322
+ }
43323
+ },
43324
+ {
43325
+ "id": "",
43326
+ "body": {
43327
+ "package": "himalaya",
43328
+ "type": "Text",
43329
+ "props": {
43330
+ "text": "$service:himiBookingService.sessionMessage",
43331
+ "style": "footnote",
43332
+ "color": "textPrimary",
43333
+ "maxLines": 2
43334
+ }
43335
+ },
43336
+ "modifiers": {
43337
+ "weight": 1,
43338
+ "announce": {
43339
+ "politeness": "polite"
43340
+ }
43341
+ }
43342
+ }
43343
+ ]
43344
+ }
43345
+ },
43346
+ "modifiers": {
43347
+ "fillMaxWidth": true,
43348
+ "padding": {
43349
+ "bottom": 12
43350
+ },
43351
+ "hiddenPath": "$service:himiBookingService.noSessionMessage"
43352
+ }
43353
+ },
41640
43354
  {
41641
43355
  "id": "himi_service.choose_time",
41642
43356
  "body": {
@@ -41762,6 +43476,251 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41762
43476
  "modifiers": {
41763
43477
  "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
41764
43478
  }
43479
+ },
43480
+ {
43481
+ "id": "himi_service.session_book",
43482
+ "body": {
43483
+ "package": "himalaya",
43484
+ "type": "Button",
43485
+ "props": {
43486
+ "title": "Book",
43487
+ "style": "primary",
43488
+ "fullWidth": true,
43489
+ "action": {
43490
+ "actionId": "tier5.himiBookingService.book"
43491
+ }
43492
+ }
43493
+ },
43494
+ "modifiers": {
43495
+ "cornerRadius": 8,
43496
+ "pressFeedback": "scale",
43497
+ "haptic": "medium",
43498
+ "height": 48,
43499
+ "hiddenPath": "$service:himiBookingService.noSessionBook"
43500
+ }
43501
+ },
43502
+ {
43503
+ "id": "himi_service.session_request",
43504
+ "body": {
43505
+ "package": "himalaya",
43506
+ "type": "Button",
43507
+ "props": {
43508
+ "title": "Request to Book",
43509
+ "style": "primary",
43510
+ "fullWidth": true,
43511
+ "action": {
43512
+ "actionId": "tier5.himiBookingService.book"
43513
+ }
43514
+ }
43515
+ },
43516
+ "modifiers": {
43517
+ "cornerRadius": 8,
43518
+ "pressFeedback": "scale",
43519
+ "haptic": "medium",
43520
+ "height": 48,
43521
+ "hiddenPath": "$service:himiBookingService.noSessionRequest"
43522
+ }
43523
+ },
43524
+ {
43525
+ "id": "himi_service.session_waitlist",
43526
+ "body": {
43527
+ "package": "himalaya",
43528
+ "type": "Button",
43529
+ "props": {
43530
+ "title": "Join Waitlist",
43531
+ "style": "primary",
43532
+ "fullWidth": true,
43533
+ "action": {
43534
+ "actionId": "tier5.himiBookingService.joinWaitlist"
43535
+ }
43536
+ }
43537
+ },
43538
+ "modifiers": {
43539
+ "cornerRadius": 8,
43540
+ "pressFeedback": "scale",
43541
+ "haptic": "medium",
43542
+ "height": 48,
43543
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlist"
43544
+ }
43545
+ },
43546
+ {
43547
+ "id": "himi_service.session_closed",
43548
+ "body": {
43549
+ "package": "himalaya",
43550
+ "type": "VStack",
43551
+ "props": {
43552
+ "spacing": 8,
43553
+ "alignment": "center",
43554
+ "children": [
43555
+ {
43556
+ "id": "",
43557
+ "body": {
43558
+ "package": "himalaya",
43559
+ "type": "Text",
43560
+ "props": {
43561
+ "text": "$service:himiBookingService.closedLabel",
43562
+ "style": "footnote",
43563
+ "color": "textSecondary",
43564
+ "maxLines": 1,
43565
+ "textAlign": "center"
43566
+ }
43567
+ },
43568
+ "modifiers": {
43569
+ "accessibilityHidden": true
43570
+ }
43571
+ },
43572
+ {
43573
+ "id": "himi_service.session_book_closed",
43574
+ "body": {
43575
+ "package": "himalaya",
43576
+ "type": "Button",
43577
+ "props": {
43578
+ "title": "Book",
43579
+ "style": "primary",
43580
+ "fullWidth": true,
43581
+ "disabled": true,
43582
+ "action": {
43583
+ "actionId": "tier5.himiBookingService.book"
43584
+ }
43585
+ }
43586
+ },
43587
+ "modifiers": {
43588
+ "height": 48,
43589
+ "cornerRadius": 8,
43590
+ "accessibilityValue": "$service:himiBookingService.closedLabel"
43591
+ }
43592
+ }
43593
+ ]
43594
+ }
43595
+ },
43596
+ "modifiers": {
43597
+ "fillMaxWidth": true,
43598
+ "hiddenPath": "$service:himiBookingService.noSessionClosed"
43599
+ }
43600
+ },
43601
+ {
43602
+ "id": "himi_service.session_booked",
43603
+ "body": {
43604
+ "package": "himalaya",
43605
+ "type": "ZStack",
43606
+ "props": {
43607
+ "alignment": "center",
43608
+ "children": [
43609
+ {
43610
+ "id": "",
43611
+ "body": {
43612
+ "package": "himalaya",
43613
+ "type": "HStack",
43614
+ "props": {
43615
+ "spacing": 8,
43616
+ "alignment": "center",
43617
+ "children": [
43618
+ {
43619
+ "id": "",
43620
+ "body": {
43621
+ "package": "himalaya",
43622
+ "type": "Icon",
43623
+ "props": {
43624
+ "name": "check",
43625
+ "size": 20,
43626
+ "tint": "success"
43627
+ }
43628
+ },
43629
+ "modifiers": {
43630
+ "accessibilityRole": "decorative"
43631
+ }
43632
+ },
43633
+ {
43634
+ "id": "",
43635
+ "body": {
43636
+ "package": "himalaya",
43637
+ "type": "Text",
43638
+ "props": {
43639
+ "text": "Booked",
43640
+ "style": "bodyEmphasis",
43641
+ "color": "textPrimary",
43642
+ "maxLines": 1
43643
+ }
43644
+ }
43645
+ }
43646
+ ]
43647
+ }
43648
+ }
43649
+ }
43650
+ ]
43651
+ }
43652
+ },
43653
+ "modifiers": {
43654
+ "fillMaxWidth": true,
43655
+ "height": 48,
43656
+ "background": {
43657
+ "token": "surfaceSecondary"
43658
+ },
43659
+ "cornerRadius": 8,
43660
+ "hiddenPath": "$service:himiBookingService.noSessionBooked"
43661
+ }
43662
+ },
43663
+ {
43664
+ "id": "himi_service.session_waitlisted",
43665
+ "body": {
43666
+ "package": "himalaya",
43667
+ "type": "ZStack",
43668
+ "props": {
43669
+ "alignment": "center",
43670
+ "children": [
43671
+ {
43672
+ "id": "",
43673
+ "body": {
43674
+ "package": "himalaya",
43675
+ "type": "HStack",
43676
+ "props": {
43677
+ "spacing": 8,
43678
+ "alignment": "center",
43679
+ "children": [
43680
+ {
43681
+ "id": "",
43682
+ "body": {
43683
+ "package": "himalaya",
43684
+ "type": "Icon",
43685
+ "props": {
43686
+ "name": "clock",
43687
+ "size": 20,
43688
+ "tint": "textSecondary"
43689
+ }
43690
+ },
43691
+ "modifiers": {
43692
+ "accessibilityRole": "decorative"
43693
+ }
43694
+ },
43695
+ {
43696
+ "id": "",
43697
+ "body": {
43698
+ "package": "himalaya",
43699
+ "type": "Text",
43700
+ "props": {
43701
+ "text": "On waitlist",
43702
+ "style": "bodyEmphasis",
43703
+ "color": "textPrimary",
43704
+ "maxLines": 1
43705
+ }
43706
+ }
43707
+ }
43708
+ ]
43709
+ }
43710
+ }
43711
+ }
43712
+ ]
43713
+ }
43714
+ },
43715
+ "modifiers": {
43716
+ "fillMaxWidth": true,
43717
+ "height": 48,
43718
+ "background": {
43719
+ "token": "surfaceSecondary"
43720
+ },
43721
+ "cornerRadius": 8,
43722
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlisted"
43723
+ }
41765
43724
  }
41766
43725
  ]
41767
43726
  }