@wix/himalaya-cli 0.1583.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 (304) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/blog-v3/src/extensions.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +2 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/index.d.ts +3 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/groups/src/extensions.d.ts +15 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/loyalty/src/extensions.d.ts +13 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +19 -4
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +3 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +4 -2
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-groups.mjs +5 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-loyalty.mjs +4 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +10 -3
  12. package/dist/cli.mjs +247 -186
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/fixtures/wix-canned.json +25 -0
  15. package/guides/one-app-to-himi-app.md +52 -1
  16. package/guides/sdk-reference.json +37 -9
  17. package/guides/wix-api-usage.md +9 -0
  18. package/package.json +2 -2
  19. package/templates/beauty-salon/config.ts +7 -0
  20. package/templates/beauty-salon/dev/index.ts +758 -352
  21. package/templates/beauty-salon/himalaya.content.json +3 -0
  22. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  23. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +19 -3
  24. package/templates/beauty-salon/tier5-src/_shared/himi-restaurants.ts +2 -1
  25. package/templates/beauty-salon/tier5-src/_shared/owner-editor-value.ts +164 -0
  26. package/templates/beauty-salon/tier5-src/_shared/store-product-info.ts +50 -0
  27. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +21 -8
  28. package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +3 -2
  29. package/templates/beauty-salon/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  30. package/templates/beauty-salon/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  31. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +14 -3
  32. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  33. package/templates/beauty-salon/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  34. package/templates/beauty-salon-owner/dev/index.ts +129 -66
  35. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +19 -3
  36. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  37. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  38. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  39. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  40. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  41. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  42. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  43. package/templates/branded-lite/config.ts +9 -0
  44. package/templates/branded-lite/dev/index.ts +4988 -3304
  45. package/templates/branded-lite/himalaya.content.json +3 -0
  46. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  47. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +19 -3
  48. package/templates/branded-lite/tier5-src/_shared/event-registration.ts +86 -0
  49. package/templates/branded-lite/tier5-src/_shared/himi-restaurants.ts +2 -1
  50. package/templates/branded-lite/tier5-src/_shared/owner-editor-value.ts +164 -0
  51. package/templates/branded-lite/tier5-src/_shared/store-product-info.ts +50 -0
  52. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +21 -8
  53. package/templates/branded-lite/tier5-src/himi-branded-lite-badges/index.ts +2 -1
  54. package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +3 -2
  55. package/templates/branded-lite/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  56. package/templates/branded-lite/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  57. package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/index.ts +115 -49
  58. package/templates/branded-lite/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  59. package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +2 -1
  60. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio/index.ts +2 -1
  61. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -2
  62. package/templates/branded-lite/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  63. package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +21 -11
  64. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +2 -1
  65. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +12 -86
  66. package/templates/branded-lite/tier5-src/himi-events-list/index.ts +47 -6
  67. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +13 -3
  68. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +3 -2
  69. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +53 -37
  70. package/templates/branded-lite/tier5-src/wix-spaces-members/index.ts +100 -34
  71. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  72. package/templates/branded-lite/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  73. package/templates/community-club/config.ts +16 -0
  74. package/templates/community-club/dev/index.ts +1930 -401
  75. package/templates/community-club/himalaya.content.json +6 -0
  76. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  77. package/templates/community-club/tier5-src/_shared/collection-contract.ts +19 -3
  78. package/templates/community-club/tier5-src/_shared/event-registration.ts +86 -0
  79. package/templates/community-club/tier5-src/_shared/himi-restaurants.ts +2 -1
  80. package/templates/community-club/tier5-src/himi-blog-post/index.ts +21 -8
  81. package/templates/community-club/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  82. package/templates/community-club/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  83. package/templates/community-club/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  84. package/templates/community-club/tier5-src/himi-events-detail/index.ts +12 -86
  85. package/templates/community-club/tier5-src/himi-events-list/index.ts +47 -6
  86. package/templates/community-club/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  87. package/templates/community-club-owner/dev/index.ts +53 -1
  88. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +19 -3
  89. package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  90. package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  91. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  92. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  93. package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  94. package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  95. package/templates/community-club-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  96. package/templates/events-meetups/config.ts +16 -0
  97. package/templates/events-meetups/dev/index.ts +1930 -401
  98. package/templates/events-meetups/himalaya.content.json +6 -0
  99. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  100. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +19 -3
  101. package/templates/events-meetups/tier5-src/_shared/event-registration.ts +86 -0
  102. package/templates/events-meetups/tier5-src/_shared/himi-restaurants.ts +2 -1
  103. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +21 -8
  104. package/templates/events-meetups/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  105. package/templates/events-meetups/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  106. package/templates/events-meetups/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  107. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +12 -86
  108. package/templates/events-meetups/tier5-src/himi-events-list/index.ts +47 -6
  109. package/templates/events-meetups/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  110. package/templates/events-meetups-owner/dev/index.ts +6 -0
  111. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +19 -3
  112. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  113. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  114. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  115. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  116. package/templates/gym-fitness/config.ts +7 -0
  117. package/templates/gym-fitness/dev/index.ts +1115 -278
  118. package/templates/gym-fitness/himalaya.content.json +3 -0
  119. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  120. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +19 -3
  121. package/templates/gym-fitness/tier5-src/_shared/event-registration.ts +86 -0
  122. package/templates/gym-fitness/tier5-src/_shared/himi-restaurants.ts +2 -1
  123. package/templates/gym-fitness/tier5-src/_shared/owner-editor-value.ts +164 -0
  124. package/templates/gym-fitness/tier5-src/_shared/store-product-info.ts +50 -0
  125. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +21 -8
  126. package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +3 -2
  127. package/templates/gym-fitness/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  128. package/templates/gym-fitness/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  129. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +12 -86
  130. package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +47 -6
  131. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +14 -3
  132. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  133. package/templates/gym-fitness/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  134. package/templates/gym-fitness-owner/dev/index.ts +132 -66
  135. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +19 -3
  136. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  137. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  138. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  139. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  140. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  141. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  142. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  143. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  144. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  145. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  146. package/templates/nonprofit-cause/config.ts +16 -0
  147. package/templates/nonprofit-cause/dev/index.ts +1925 -396
  148. package/templates/nonprofit-cause/himalaya.content.json +6 -0
  149. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  150. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +19 -3
  151. package/templates/nonprofit-cause/tier5-src/_shared/event-registration.ts +86 -0
  152. package/templates/nonprofit-cause/tier5-src/_shared/himi-restaurants.ts +2 -1
  153. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +21 -8
  154. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  155. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  156. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  157. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  158. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +12 -86
  159. package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +47 -6
  160. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  161. package/templates/nonprofit-cause/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  162. package/templates/nonprofit-cause-owner/dev/index.ts +85 -65
  163. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +19 -3
  164. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-rich-guard.ts +27 -0
  165. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  166. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  167. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  168. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  169. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  170. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  171. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  172. package/templates/owner-lite/dev/index.ts +132 -66
  173. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +19 -3
  174. package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +16 -8
  175. package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  176. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +4 -2
  177. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +7 -0
  178. package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +39 -6
  179. package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  180. package/templates/owner-lite/tier5-src/himi-owner-lite-products/index.ts +7 -4
  181. package/templates/owner-lite/tier5-src/himi-owner-lite-service/index.ts +38 -7
  182. package/templates/owner-lite/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  183. package/templates/owner-lite/tier5-src/himi-owner-lite-services/index.ts +4 -2
  184. package/templates/podcast-creator/config.ts +7 -0
  185. package/templates/podcast-creator/dev/index.ts +1051 -158
  186. package/templates/podcast-creator/himalaya.content.json +3 -0
  187. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  188. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +19 -3
  189. package/templates/podcast-creator/tier5-src/_shared/event-registration.ts +86 -0
  190. package/templates/podcast-creator/tier5-src/_shared/himi-restaurants.ts +2 -1
  191. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +21 -8
  192. package/templates/podcast-creator/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  193. package/templates/podcast-creator/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  194. package/templates/podcast-creator/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  195. package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +2 -1
  196. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +12 -86
  197. package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +47 -6
  198. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  199. package/templates/podcast-creator/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  200. package/templates/podcast-creator-owner/dev/index.ts +53 -1
  201. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +19 -3
  202. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  203. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  204. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  205. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  206. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  207. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  208. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  209. package/templates/portfolio-creative/config.ts +7 -0
  210. package/templates/portfolio-creative/dev/index.ts +1305 -468
  211. package/templates/portfolio-creative/himalaya.content.json +3 -0
  212. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  213. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +19 -3
  214. package/templates/portfolio-creative/tier5-src/_shared/event-registration.ts +86 -0
  215. package/templates/portfolio-creative/tier5-src/_shared/himi-restaurants.ts +2 -1
  216. package/templates/portfolio-creative/tier5-src/_shared/owner-editor-value.ts +164 -0
  217. package/templates/portfolio-creative/tier5-src/_shared/store-product-info.ts +50 -0
  218. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +21 -8
  219. package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +3 -2
  220. package/templates/portfolio-creative/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  221. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio/index.ts +2 -1
  222. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -2
  223. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +12 -86
  224. package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +47 -6
  225. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +14 -3
  226. package/templates/portfolio-creative/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  227. package/templates/portfolio-creative-owner/dev/index.ts +129 -66
  228. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +19 -3
  229. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  230. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  231. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  232. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  233. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  234. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  235. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  236. package/templates/restaurant/config.ts +7 -0
  237. package/templates/restaurant/dev/index.ts +1051 -158
  238. package/templates/restaurant/himalaya.content.json +3 -0
  239. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  240. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +19 -3
  241. package/templates/restaurant/tier5-src/_shared/event-registration.ts +86 -0
  242. package/templates/restaurant/tier5-src/_shared/himi-restaurants.ts +2 -1
  243. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +21 -8
  244. package/templates/restaurant/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  245. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +12 -86
  246. package/templates/restaurant/tier5-src/himi-events-list/index.ts +47 -6
  247. package/templates/restaurant/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  248. package/templates/restaurant-owner/dev/index.ts +132 -66
  249. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +19 -3
  250. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  251. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  252. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  253. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  254. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  255. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  256. package/templates/restaurant-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  257. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  258. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  259. package/templates/restaurant-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  260. package/templates/retail-store/config.ts +7 -0
  261. package/templates/retail-store/dev/index.ts +597 -191
  262. package/templates/retail-store/himalaya.content.json +3 -0
  263. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  264. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +19 -3
  265. package/templates/retail-store/tier5-src/_shared/himi-restaurants.ts +2 -1
  266. package/templates/retail-store/tier5-src/_shared/owner-editor-value.ts +164 -0
  267. package/templates/retail-store/tier5-src/_shared/store-product-info.ts +50 -0
  268. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +21 -8
  269. package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +3 -2
  270. package/templates/retail-store/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  271. package/templates/retail-store/tier5-src/himi-store-product/index.ts +13 -3
  272. package/templates/retail-store/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  273. package/templates/retail-store-owner/dev/index.ts +50 -1
  274. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +19 -3
  275. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  276. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  277. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  278. package/templates/retail-store-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  279. package/templates/yoga-studio/config.ts +7 -0
  280. package/templates/yoga-studio/dev/index.ts +1107 -110
  281. package/templates/yoga-studio/himalaya.content.json +3 -0
  282. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  283. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +19 -3
  284. package/templates/yoga-studio/tier5-src/_shared/event-registration.ts +86 -0
  285. package/templates/yoga-studio/tier5-src/_shared/himi-restaurants.ts +2 -1
  286. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +21 -8
  287. package/templates/yoga-studio/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  288. package/templates/yoga-studio/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  289. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  290. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +21 -11
  291. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +12 -86
  292. package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +47 -6
  293. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  294. package/templates/yoga-studio/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  295. package/templates/yoga-studio-owner/dev/index.ts +85 -65
  296. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +19 -3
  297. package/templates/yoga-studio-owner/tier5-src/_shared/owner-rich-guard.ts +27 -0
  298. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  299. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  300. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  301. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  302. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  303. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  304. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
@@ -3983,7 +3983,7 @@ const SCREENS = runtimeSetting({
3983
3983
  "package": "himalaya",
3984
3984
  "type": "Text",
3985
3985
  "props": {
3986
- "text": "Settings",
3986
+ "text": "Appearance",
3987
3987
  "style": "body",
3988
3988
  "maxLines": 1
3989
3989
  }
@@ -4015,7 +4015,88 @@ const SCREENS = runtimeSetting({
4015
4015
  "pressFeedback": "highlight",
4016
4016
  "haptic": "light",
4017
4017
  "accessibilityRole": "button",
4018
- "accessibilityLabel": "Settings"
4018
+ "accessibilityLabel": "Appearance"
4019
+ }
4020
+ },
4021
+ {
4022
+ "id": "himi_account.notification_settings",
4023
+ "body": {
4024
+ "package": "himalaya",
4025
+ "type": "HStack",
4026
+ "props": {
4027
+ "spacing": 12,
4028
+ "alignment": "center",
4029
+ "children": [
4030
+ {
4031
+ "id": "",
4032
+ "body": {
4033
+ "package": "himalaya",
4034
+ "type": "ZStack",
4035
+ "props": {
4036
+ "alignment": "center",
4037
+ "children": [
4038
+ {
4039
+ "id": "",
4040
+ "body": {
4041
+ "package": "himalaya",
4042
+ "type": "Icon",
4043
+ "props": {
4044
+ "name": "bell",
4045
+ "size": 20,
4046
+ "tint": "textPrimary"
4047
+ }
4048
+ },
4049
+ "modifiers": {
4050
+ "accessibilityRole": "decorative"
4051
+ }
4052
+ }
4053
+ ]
4054
+ }
4055
+ },
4056
+ "modifiers": {
4057
+ "width": 24,
4058
+ "height": 24
4059
+ }
4060
+ },
4061
+ {
4062
+ "id": "",
4063
+ "body": {
4064
+ "package": "himalaya",
4065
+ "type": "Text",
4066
+ "props": {
4067
+ "text": "Notification Settings",
4068
+ "style": "body",
4069
+ "maxLines": 1
4070
+ }
4071
+ }
4072
+ },
4073
+ {
4074
+ "id": "",
4075
+ "body": {
4076
+ "package": "himalaya",
4077
+ "type": "Spacer",
4078
+ "props": {}
4079
+ }
4080
+ }
4081
+ ]
4082
+ }
4083
+ },
4084
+ "modifiers": {
4085
+ "fillMaxWidth": true,
4086
+ "padding": {
4087
+ "top": 12,
4088
+ "bottom": 12
4089
+ },
4090
+ "onTap": {
4091
+ "actionId": "himi.open",
4092
+ "params": {
4093
+ "screenId": "himi_notif_settings"
4094
+ }
4095
+ },
4096
+ "pressFeedback": "highlight",
4097
+ "haptic": "light",
4098
+ "accessibilityRole": "button",
4099
+ "accessibilityLabel": "Notification Settings"
4019
4100
  }
4020
4101
  },
4021
4102
  {
@@ -7276,8 +7357,8 @@ const SCREENS = runtimeSetting({
7276
7357
  "bundleVersion": "0.0.1"
7277
7358
  }
7278
7359
  },
7279
- "himi_view_profile": {
7280
- "screenId": "himi_view_profile",
7360
+ "himi_notif_settings": {
7361
+ "screenId": "himi_notif_settings",
7281
7362
  "renderer": "sdui_intent",
7282
7363
  "title": "",
7283
7364
  "schemaVersion": 1,
@@ -7286,183 +7367,317 @@ const SCREENS = runtimeSetting({
7286
7367
  "staleWhileRevalidate": 0
7287
7368
  },
7288
7369
  "payload": {
7289
- "id": "himi_view_profile.root",
7370
+ "id": "himi_notif_settings.root",
7290
7371
  "body": {
7291
7372
  "package": "himalaya",
7292
7373
  "type": "VStack",
7293
7374
  "props": {
7294
- "spacing": 8,
7295
- "alignment": "center",
7375
+ "spacing": 16,
7376
+ "alignment": "leading",
7296
7377
  "children": [
7297
7378
  {
7298
- "id": "himi_view_profile.loading",
7379
+ "id": "himi_notif_settings.title",
7299
7380
  "body": {
7300
7381
  "package": "himalaya",
7301
7382
  "type": "Text",
7302
7383
  "props": {
7303
- "text": "Loading…",
7384
+ "text": "Notification Settings",
7385
+ "style": "title1"
7386
+ }
7387
+ }
7388
+ },
7389
+ {
7390
+ "id": "",
7391
+ "body": {
7392
+ "package": "himalaya",
7393
+ "type": "Text",
7394
+ "props": {
7395
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
7304
7396
  "style": "body",
7305
7397
  "color": "textSecondary"
7306
7398
  }
7307
7399
  },
7308
7400
  "modifiers": {
7309
- "hiddenPath": "$service:spacesViewProfile.hideLoading"
7401
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
7310
7402
  }
7311
7403
  },
7312
7404
  {
7313
7405
  "id": "",
7406
+ "body": {
7407
+ "package": "himalaya",
7408
+ "type": "Text",
7409
+ "props": {
7410
+ "text": "Example topics — your notification preferences will appear here.",
7411
+ "style": "body",
7412
+ "color": "textSecondary"
7413
+ }
7414
+ },
7415
+ "modifiers": {
7416
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
7417
+ }
7418
+ },
7419
+ {
7420
+ "id": "himi_notif_settings.sample_banner",
7421
+ "body": {
7422
+ "package": "himalaya",
7423
+ "type": "Banner",
7424
+ "props": {
7425
+ "severity": "warning",
7426
+ "title": "Sample content",
7427
+ "message": "These are example settings — none are configured yet."
7428
+ }
7429
+ },
7430
+ "modifiers": {
7431
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
7432
+ }
7433
+ },
7434
+ {
7435
+ "id": "himi_notif_settings.unavailable_banner",
7436
+ "body": {
7437
+ "package": "himalaya",
7438
+ "type": "Banner",
7439
+ "props": {
7440
+ "severity": "warning",
7441
+ "title": "Sample content",
7442
+ "message": "Your notification settings couldn't be loaded."
7443
+ }
7444
+ },
7445
+ "modifiers": {
7446
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
7447
+ }
7448
+ },
7449
+ {
7450
+ "id": "himi_notif_settings.action_message",
7451
+ "body": {
7452
+ "package": "himalaya",
7453
+ "type": "Text",
7454
+ "props": {
7455
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
7456
+ "style": "body",
7457
+ "color": "textSecondary",
7458
+ "collapseWhenEmpty": true
7459
+ }
7460
+ }
7461
+ },
7462
+ {
7463
+ "id": "himi_notif_settings.loading",
7464
+ "body": {
7465
+ "package": "himalaya",
7466
+ "type": "Skeleton",
7467
+ "props": {
7468
+ "height": 72,
7469
+ "cornerRadius": 12,
7470
+ "count": 3
7471
+ }
7472
+ },
7473
+ "modifiers": {
7474
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
7475
+ }
7476
+ },
7477
+ {
7478
+ "id": "himi_notif_settings.error",
7314
7479
  "body": {
7315
7480
  "package": "himalaya",
7316
7481
  "type": "VStack",
7317
7482
  "props": {
7318
7483
  "spacing": 8,
7319
- "alignment": "center",
7484
+ "alignment": "leading",
7320
7485
  "children": [
7321
7486
  {
7322
- "id": "himi_view_profile.avatar",
7323
- "body": {
7324
- "package": "himalaya",
7325
- "type": "ZStack",
7326
- "props": {
7327
- "alignment": "center",
7328
- "children": [
7329
- {
7330
- "id": "",
7331
- "body": {
7332
- "package": "himalaya",
7333
- "type": "Icon",
7334
- "props": {
7335
- "name": "photo",
7336
- "size": 28,
7337
- "tint": "accentPrimary"
7338
- }
7339
- },
7340
- "modifiers": {
7341
- "accessibilityRole": "decorative"
7342
- }
7343
- }
7344
- ]
7345
- }
7346
- },
7347
- "modifiers": {
7348
- "width": 96,
7349
- "height": 96,
7350
- "background": {
7351
- "token": "accentSurface"
7352
- },
7353
- "cornerRadius": 16
7354
- }
7355
- },
7356
- {
7357
- "id": "himi_view_profile.name",
7487
+ "id": "",
7358
7488
  "body": {
7359
7489
  "package": "himalaya",
7360
7490
  "type": "Text",
7361
7491
  "props": {
7362
- "text": "$service:spacesViewProfile.name",
7363
- "style": "title1"
7492
+ "text": "$service:himiBrandedNotifSettings.error",
7493
+ "style": "bodyEmphasis",
7494
+ "collapseWhenEmpty": true
7364
7495
  }
7365
7496
  }
7366
7497
  },
7367
7498
  {
7368
- "id": "",
7499
+ "id": "himi_notif_settings.retry",
7369
7500
  "body": {
7370
7501
  "package": "himalaya",
7371
- "type": "Text",
7502
+ "type": "Button",
7372
7503
  "props": {
7373
- "text": "$service:spacesViewProfile.handle",
7374
- "style": "footnote",
7375
- "color": "textSecondary",
7376
- "collapseWhenEmpty": true
7504
+ "title": "Try again",
7505
+ "style": "secondary",
7506
+ "action": {
7507
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7508
+ }
7377
7509
  }
7510
+ },
7511
+ "modifiers": {
7512
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
7378
7513
  }
7379
7514
  },
7380
7515
  {
7381
- "id": "",
7516
+ "id": "himi_notif_settings.sign_in",
7382
7517
  "body": {
7383
7518
  "package": "himalaya",
7384
- "type": "Text",
7519
+ "type": "Button",
7385
7520
  "props": {
7386
- "text": "$service:spacesViewProfile.about",
7387
- "style": "body",
7388
- "collapseWhenEmpty": true
7521
+ "title": "Sign in",
7522
+ "style": "primary",
7523
+ "leadingIcon": "person",
7524
+ "action": {
7525
+ "actionId": "himi.open",
7526
+ "params": {
7527
+ "screenId": "himi_sign_in",
7528
+ "returnScreenId": "himi_notif_settings",
7529
+ "modal": "1"
7530
+ },
7531
+ "presentation": "sheet"
7532
+ }
7389
7533
  }
7534
+ },
7535
+ "modifiers": {
7536
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
7390
7537
  }
7391
7538
  }
7392
7539
  ]
7393
7540
  }
7394
7541
  },
7395
7542
  "modifiers": {
7396
- "hiddenPath": "$service:spacesViewProfile.profileHidden"
7543
+ "background": {
7544
+ "token": "surfaceElevated"
7545
+ },
7546
+ "border": {
7547
+ "width": 1,
7548
+ "color": {
7549
+ "token": "border"
7550
+ }
7551
+ },
7552
+ "cornerRadius": 4,
7553
+ "padding": {
7554
+ "leading": 16,
7555
+ "trailing": 16,
7556
+ "top": 16,
7557
+ "bottom": 16
7558
+ },
7559
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
7397
7560
  }
7398
7561
  },
7399
7562
  {
7400
- "id": "himi_view_profile.member_gate",
7563
+ "id": "himi_notif_settings.rows",
7401
7564
  "body": {
7402
7565
  "package": "himalaya",
7403
- "type": "VStack",
7566
+ "type": "Grid",
7404
7567
  "props": {
7568
+ "columns": 1,
7405
7569
  "spacing": 10,
7406
- "alignment": "center",
7407
- "children": [
7570
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
7571
+ "items": [
7408
7572
  {
7409
7573
  "id": "",
7410
7574
  "body": {
7411
7575
  "package": "himalaya",
7412
- "type": "Icon",
7576
+ "type": "VStack",
7413
7577
  "props": {
7414
- "name": "person",
7415
- "size": 28,
7416
- "tint": "accentPrimary"
7578
+ "spacing": 2,
7579
+ "alignment": "leading",
7580
+ "children": [
7581
+ {
7582
+ "id": "himi_notif_settings.topic.$item.id",
7583
+ "body": {
7584
+ "package": "himalaya",
7585
+ "type": "Toggle",
7586
+ "props": {
7587
+ "label": "$item.name",
7588
+ "valuePath": "$item.on",
7589
+ "onChange": {
7590
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
7591
+ "params": {
7592
+ "id": "$item.id"
7593
+ }
7594
+ }
7595
+ }
7596
+ },
7597
+ "modifiers": {
7598
+ "hiddenPath": "$item.locked"
7599
+ }
7600
+ },
7601
+ {
7602
+ "id": "himi_notif_settings.locked_topic.$item.id",
7603
+ "body": {
7604
+ "package": "himalaya",
7605
+ "type": "HStack",
7606
+ "props": {
7607
+ "spacing": 12,
7608
+ "children": [
7609
+ {
7610
+ "id": "",
7611
+ "body": {
7612
+ "package": "himalaya",
7613
+ "type": "Text",
7614
+ "props": {
7615
+ "text": "$item.name",
7616
+ "style": "body",
7617
+ "maxLines": 2
7618
+ }
7619
+ }
7620
+ },
7621
+ {
7622
+ "id": "",
7623
+ "body": {
7624
+ "package": "himalaya",
7625
+ "type": "Spacer",
7626
+ "props": {}
7627
+ }
7628
+ },
7629
+ {
7630
+ "id": "",
7631
+ "body": {
7632
+ "package": "himalaya",
7633
+ "type": "Text",
7634
+ "props": {
7635
+ "text": "$item.stateLabel",
7636
+ "style": "footnote",
7637
+ "color": "textSecondary",
7638
+ "maxLines": 1
7639
+ }
7640
+ }
7641
+ }
7642
+ ]
7643
+ }
7644
+ },
7645
+ "modifiers": {
7646
+ "hiddenPath": "$item.notLocked"
7647
+ }
7648
+ },
7649
+ {
7650
+ "id": "",
7651
+ "body": {
7652
+ "package": "himalaya",
7653
+ "type": "Text",
7654
+ "props": {
7655
+ "text": "$item.note",
7656
+ "style": "footnote",
7657
+ "color": "textSecondary",
7658
+ "collapseWhenEmpty": true
7659
+ }
7660
+ }
7661
+ }
7662
+ ]
7417
7663
  }
7418
7664
  },
7419
7665
  "modifiers": {
7420
- "accessibilityRole": "decorative"
7421
- }
7422
- },
7423
- {
7424
- "id": "himi_view_profile.member_gate_title",
7425
- "body": {
7426
- "package": "himalaya",
7427
- "type": "Text",
7428
- "props": {
7429
- "text": "Sign in to view your profile",
7430
- "style": "bodyEmphasis"
7431
- }
7432
- }
7433
- },
7434
- {
7435
- "id": "",
7436
- "body": {
7437
- "package": "himalaya",
7438
- "type": "Text",
7439
- "props": {
7440
- "text": "Your public profile appears here after you sign in.",
7441
- "style": "footnote",
7442
- "color": "textSecondary"
7443
- }
7444
- }
7445
- },
7446
- {
7447
- "id": "himi_view_profile.member_gate_signin",
7448
- "body": {
7449
- "package": "himalaya",
7450
- "type": "Button",
7451
- "props": {
7452
- "title": "Sign in",
7453
- "style": "primary",
7454
- "fullWidth": true,
7455
- "action": {
7456
- "actionId": "himi.open",
7457
- "params": {
7458
- "screenId": "himi_sign_in",
7459
- "mode": "signin",
7460
- "intent": "profile",
7461
- "returnScreenId": "himi_view_profile",
7462
- "modal": "1"
7463
- },
7464
- "presentation": "sheet"
7666
+ "background": {
7667
+ "token": "surfaceElevated"
7668
+ },
7669
+ "border": {
7670
+ "width": 1,
7671
+ "color": {
7672
+ "token": "border"
7465
7673
  }
7674
+ },
7675
+ "cornerRadius": 8,
7676
+ "padding": {
7677
+ "leading": 14,
7678
+ "trailing": 14,
7679
+ "top": 12,
7680
+ "bottom": 12
7466
7681
  }
7467
7682
  }
7468
7683
  }
@@ -7470,24 +7685,28 @@ const SCREENS = runtimeSetting({
7470
7685
  }
7471
7686
  },
7472
7687
  "modifiers": {
7473
- "background": {
7474
- "token": "surfaceElevated"
7475
- },
7476
- "border": {
7477
- "width": 1,
7478
- "color": {
7479
- "token": "border"
7480
- }
7481
- },
7482
- "cornerRadius": 16,
7688
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
7689
+ }
7690
+ },
7691
+ {
7692
+ "id": "",
7693
+ "body": {
7694
+ "package": "himalaya",
7695
+ "type": "Text",
7696
+ "props": {
7697
+ "text": "$service:himiBrandedNotifSettings.emptyText",
7698
+ "style": "body",
7699
+ "color": "textSecondary",
7700
+ "collapseWhenEmpty": true
7701
+ }
7702
+ },
7703
+ "modifiers": {
7483
7704
  "padding": {
7484
- "leading": 16,
7485
- "trailing": 16,
7486
- "top": 20,
7487
- "bottom": 20
7488
- },
7489
- "fillMaxWidth": true,
7490
- "hiddenPath": "$service:spacesViewProfile.noSignIn"
7705
+ "leading": 8,
7706
+ "trailing": 8,
7707
+ "top": 8,
7708
+ "bottom": 0
7709
+ }
7491
7710
  }
7492
7711
  }
7493
7712
  ]
@@ -7504,12 +7723,12 @@ const SCREENS = runtimeSetting({
7504
7723
  "bottom": 28
7505
7724
  },
7506
7725
  "onAppear": {
7507
- "actionId": "tier5.spacesViewProfile.load"
7726
+ "actionId": "tier5.himiBrandedNotifSettings.load"
7508
7727
  }
7509
7728
  }
7510
7729
  },
7511
7730
  "logicBundle": {
7512
- "url": "http://localhost:8190/v1/bundles/wix-spaces-view-profile?integrity=",
7731
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-notifsettings?integrity=",
7513
7732
  "integrity": "",
7514
7733
  "contentType": "application/javascript+ts-bundle",
7515
7734
  "declaredCapabilities": [
@@ -7519,8 +7738,8 @@ const SCREENS = runtimeSetting({
7519
7738
  "bundleVersion": "0.0.1"
7520
7739
  }
7521
7740
  },
7522
- "himi_delete_account": {
7523
- "screenId": "himi_delete_account",
7741
+ "himi_view_profile": {
7742
+ "screenId": "himi_view_profile",
7524
7743
  "renderer": "sdui_intent",
7525
7744
  "title": "",
7526
7745
  "schemaVersion": 1,
@@ -7529,62 +7748,305 @@ const SCREENS = runtimeSetting({
7529
7748
  "staleWhileRevalidate": 0
7530
7749
  },
7531
7750
  "payload": {
7532
- "id": "himi_delete_account.root",
7751
+ "id": "himi_view_profile.root",
7533
7752
  "body": {
7534
7753
  "package": "himalaya",
7535
7754
  "type": "VStack",
7536
7755
  "props": {
7537
- "spacing": 16,
7538
- "alignment": "leading",
7756
+ "spacing": 8,
7757
+ "alignment": "center",
7539
7758
  "children": [
7759
+ {
7760
+ "id": "himi_view_profile.loading",
7761
+ "body": {
7762
+ "package": "himalaya",
7763
+ "type": "Text",
7764
+ "props": {
7765
+ "text": "Loading…",
7766
+ "style": "body",
7767
+ "color": "textSecondary"
7768
+ }
7769
+ },
7770
+ "modifiers": {
7771
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
7772
+ }
7773
+ },
7540
7774
  {
7541
7775
  "id": "",
7542
7776
  "body": {
7543
7777
  "package": "himalaya",
7544
- "type": "HStack",
7778
+ "type": "VStack",
7545
7779
  "props": {
7546
- "spacing": 10,
7780
+ "spacing": 8,
7781
+ "alignment": "center",
7547
7782
  "children": [
7548
7783
  {
7549
- "id": "",
7784
+ "id": "himi_view_profile.avatar",
7550
7785
  "body": {
7551
7786
  "package": "himalaya",
7552
- "type": "Icon",
7787
+ "type": "ZStack",
7553
7788
  "props": {
7554
- "name": "trash",
7555
- "size": 24,
7556
- "tint": "danger"
7789
+ "alignment": "center",
7790
+ "children": [
7791
+ {
7792
+ "id": "",
7793
+ "body": {
7794
+ "package": "himalaya",
7795
+ "type": "Icon",
7796
+ "props": {
7797
+ "name": "photo",
7798
+ "size": 28,
7799
+ "tint": "accentPrimary"
7800
+ }
7801
+ },
7802
+ "modifiers": {
7803
+ "accessibilityRole": "decorative"
7804
+ }
7805
+ }
7806
+ ]
7557
7807
  }
7558
7808
  },
7559
7809
  "modifiers": {
7560
- "accessibilityRole": "decorative"
7810
+ "width": 96,
7811
+ "height": 96,
7812
+ "background": {
7813
+ "token": "accentSurface"
7814
+ },
7815
+ "cornerRadius": 16
7561
7816
  }
7562
7817
  },
7563
7818
  {
7564
- "id": "himi_delete_account.title",
7819
+ "id": "himi_view_profile.name",
7565
7820
  "body": {
7566
7821
  "package": "himalaya",
7567
7822
  "type": "Text",
7568
7823
  "props": {
7569
- "text": "$service:spacesDeleteAccount.title",
7824
+ "text": "$service:spacesViewProfile.name",
7570
7825
  "style": "title1"
7571
7826
  }
7572
7827
  }
7573
- }
7574
- ]
7575
- }
7576
- }
7577
- },
7578
- {
7579
- "id": "",
7580
- "body": {
7581
- "package": "himalaya",
7582
- "type": "Text",
7583
- "props": {
7584
- "text": "$service:spacesDeleteAccount.body",
7585
- "style": "body",
7586
- "color": "textSecondary"
7587
- }
7828
+ },
7829
+ {
7830
+ "id": "",
7831
+ "body": {
7832
+ "package": "himalaya",
7833
+ "type": "Text",
7834
+ "props": {
7835
+ "text": "$service:spacesViewProfile.handle",
7836
+ "style": "footnote",
7837
+ "color": "textSecondary",
7838
+ "collapseWhenEmpty": true
7839
+ }
7840
+ }
7841
+ },
7842
+ {
7843
+ "id": "",
7844
+ "body": {
7845
+ "package": "himalaya",
7846
+ "type": "Text",
7847
+ "props": {
7848
+ "text": "$service:spacesViewProfile.about",
7849
+ "style": "body",
7850
+ "collapseWhenEmpty": true
7851
+ }
7852
+ }
7853
+ }
7854
+ ]
7855
+ }
7856
+ },
7857
+ "modifiers": {
7858
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
7859
+ }
7860
+ },
7861
+ {
7862
+ "id": "himi_view_profile.member_gate",
7863
+ "body": {
7864
+ "package": "himalaya",
7865
+ "type": "VStack",
7866
+ "props": {
7867
+ "spacing": 10,
7868
+ "alignment": "center",
7869
+ "children": [
7870
+ {
7871
+ "id": "",
7872
+ "body": {
7873
+ "package": "himalaya",
7874
+ "type": "Icon",
7875
+ "props": {
7876
+ "name": "person",
7877
+ "size": 28,
7878
+ "tint": "accentPrimary"
7879
+ }
7880
+ },
7881
+ "modifiers": {
7882
+ "accessibilityRole": "decorative"
7883
+ }
7884
+ },
7885
+ {
7886
+ "id": "himi_view_profile.member_gate_title",
7887
+ "body": {
7888
+ "package": "himalaya",
7889
+ "type": "Text",
7890
+ "props": {
7891
+ "text": "Sign in to view your profile",
7892
+ "style": "bodyEmphasis"
7893
+ }
7894
+ }
7895
+ },
7896
+ {
7897
+ "id": "",
7898
+ "body": {
7899
+ "package": "himalaya",
7900
+ "type": "Text",
7901
+ "props": {
7902
+ "text": "Your public profile appears here after you sign in.",
7903
+ "style": "footnote",
7904
+ "color": "textSecondary"
7905
+ }
7906
+ }
7907
+ },
7908
+ {
7909
+ "id": "himi_view_profile.member_gate_signin",
7910
+ "body": {
7911
+ "package": "himalaya",
7912
+ "type": "Button",
7913
+ "props": {
7914
+ "title": "Sign in",
7915
+ "style": "primary",
7916
+ "fullWidth": true,
7917
+ "action": {
7918
+ "actionId": "himi.open",
7919
+ "params": {
7920
+ "screenId": "himi_sign_in",
7921
+ "mode": "signin",
7922
+ "intent": "profile",
7923
+ "returnScreenId": "himi_view_profile",
7924
+ "modal": "1"
7925
+ },
7926
+ "presentation": "sheet"
7927
+ }
7928
+ }
7929
+ }
7930
+ }
7931
+ ]
7932
+ }
7933
+ },
7934
+ "modifiers": {
7935
+ "background": {
7936
+ "token": "surfaceElevated"
7937
+ },
7938
+ "border": {
7939
+ "width": 1,
7940
+ "color": {
7941
+ "token": "border"
7942
+ }
7943
+ },
7944
+ "cornerRadius": 16,
7945
+ "padding": {
7946
+ "leading": 16,
7947
+ "trailing": 16,
7948
+ "top": 20,
7949
+ "bottom": 20
7950
+ },
7951
+ "fillMaxWidth": true,
7952
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
7953
+ }
7954
+ }
7955
+ ]
7956
+ }
7957
+ },
7958
+ "modifiers": {
7959
+ "background": {
7960
+ "token": "surfacePrimary"
7961
+ },
7962
+ "padding": {
7963
+ "leading": 16,
7964
+ "trailing": 16,
7965
+ "top": 18,
7966
+ "bottom": 28
7967
+ },
7968
+ "onAppear": {
7969
+ "actionId": "tier5.spacesViewProfile.load"
7970
+ }
7971
+ }
7972
+ },
7973
+ "logicBundle": {
7974
+ "url": "http://localhost:8190/v1/bundles/wix-spaces-view-profile?integrity=",
7975
+ "integrity": "",
7976
+ "contentType": "application/javascript+ts-bundle",
7977
+ "declaredCapabilities": [
7978
+ "wix_api"
7979
+ ],
7980
+ "minBinaryVersion": "0.1.0",
7981
+ "bundleVersion": "0.0.1"
7982
+ }
7983
+ },
7984
+ "himi_delete_account": {
7985
+ "screenId": "himi_delete_account",
7986
+ "renderer": "sdui_intent",
7987
+ "title": "",
7988
+ "schemaVersion": 1,
7989
+ "cacheControl": {
7990
+ "maxAge": 0,
7991
+ "staleWhileRevalidate": 0
7992
+ },
7993
+ "payload": {
7994
+ "id": "himi_delete_account.root",
7995
+ "body": {
7996
+ "package": "himalaya",
7997
+ "type": "VStack",
7998
+ "props": {
7999
+ "spacing": 16,
8000
+ "alignment": "leading",
8001
+ "children": [
8002
+ {
8003
+ "id": "",
8004
+ "body": {
8005
+ "package": "himalaya",
8006
+ "type": "HStack",
8007
+ "props": {
8008
+ "spacing": 10,
8009
+ "children": [
8010
+ {
8011
+ "id": "",
8012
+ "body": {
8013
+ "package": "himalaya",
8014
+ "type": "Icon",
8015
+ "props": {
8016
+ "name": "trash",
8017
+ "size": 24,
8018
+ "tint": "danger"
8019
+ }
8020
+ },
8021
+ "modifiers": {
8022
+ "accessibilityRole": "decorative"
8023
+ }
8024
+ },
8025
+ {
8026
+ "id": "himi_delete_account.title",
8027
+ "body": {
8028
+ "package": "himalaya",
8029
+ "type": "Text",
8030
+ "props": {
8031
+ "text": "$service:spacesDeleteAccount.title",
8032
+ "style": "title1"
8033
+ }
8034
+ }
8035
+ }
8036
+ ]
8037
+ }
8038
+ }
8039
+ },
8040
+ {
8041
+ "id": "",
8042
+ "body": {
8043
+ "package": "himalaya",
8044
+ "type": "Text",
8045
+ "props": {
8046
+ "text": "$service:spacesDeleteAccount.body",
8047
+ "style": "body",
8048
+ "color": "textSecondary"
8049
+ }
7588
8050
  }
7589
8051
  },
7590
8052
  {
@@ -34558,234 +35020,178 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
34558
35020
  }
34559
35021
  },
34560
35022
  {
34561
- "id": "himi_product.return_policy",
35023
+ "id": "himi_product.info_sections",
34562
35024
  "body": {
34563
35025
  "package": "himalaya",
34564
- "type": "VStack",
35026
+ "type": "LazyList",
34565
35027
  "props": {
34566
- "spacing": 0,
34567
- "alignment": "leading",
34568
- "children": [
35028
+ "itemsPath": "$service:himiStoreProduct.infoSections",
35029
+ "items": [
34569
35030
  {
34570
- "id": "himi_product.return_policy.header",
35031
+ "id": "himi_product.info_$item.id",
34571
35032
  "body": {
34572
35033
  "package": "himalaya",
34573
- "type": "HStack",
35034
+ "type": "VStack",
34574
35035
  "props": {
34575
- "spacing": 12,
35036
+ "spacing": 0,
35037
+ "alignment": "leading",
34576
35038
  "children": [
34577
35039
  {
34578
35040
  "id": "",
34579
35041
  "body": {
34580
35042
  "package": "himalaya",
34581
- "type": "Text",
34582
- "props": {
34583
- "text": "Return & refund policy",
34584
- "style": "body",
34585
- "maxLines": 2
34586
- }
34587
- }
34588
- },
34589
- {
34590
- "id": "",
34591
- "body": {
34592
- "package": "himalaya",
34593
- "type": "Spacer",
34594
- "props": {}
34595
- }
34596
- },
34597
- {
34598
- "id": "",
34599
- "body": {
34600
- "package": "himalaya",
34601
- "type": "Icon",
35043
+ "type": "HStack",
34602
35044
  "props": {
34603
- "name": "chevron_down",
34604
- "size": 16,
34605
- "tint": "textSecondary"
35045
+ "spacing": 12,
35046
+ "children": [
35047
+ {
35048
+ "id": "",
35049
+ "body": {
35050
+ "package": "himalaya",
35051
+ "type": "Text",
35052
+ "props": {
35053
+ "text": "$item.title",
35054
+ "style": "body"
35055
+ }
35056
+ }
35057
+ },
35058
+ {
35059
+ "id": "",
35060
+ "body": {
35061
+ "package": "himalaya",
35062
+ "type": "Spacer",
35063
+ "props": {}
35064
+ }
35065
+ },
35066
+ {
35067
+ "id": "",
35068
+ "body": {
35069
+ "package": "himalaya",
35070
+ "type": "Icon",
35071
+ "props": {
35072
+ "name": "chevron_down",
35073
+ "size": 16,
35074
+ "tint": "textSecondary"
35075
+ }
35076
+ },
35077
+ "modifiers": {
35078
+ "accessibilityRole": "decorative",
35079
+ "hiddenPath": "$item.expanded"
35080
+ }
35081
+ },
35082
+ {
35083
+ "id": "",
35084
+ "body": {
35085
+ "package": "himalaya",
35086
+ "type": "Icon",
35087
+ "props": {
35088
+ "name": "chevron_up",
35089
+ "size": 16,
35090
+ "tint": "textSecondary"
35091
+ }
35092
+ },
35093
+ "modifiers": {
35094
+ "accessibilityRole": "decorative",
35095
+ "hiddenPath": "$item.collapsed"
35096
+ }
35097
+ }
35098
+ ]
34606
35099
  }
34607
35100
  },
34608
35101
  "modifiers": {
34609
- "accessibilityRole": "decorative",
34610
- "hiddenPath": "$service:himiStoreProduct.returnPolicyExpanded"
35102
+ "fillMaxWidth": true,
35103
+ "padding": {
35104
+ "top": 16,
35105
+ "bottom": 16
35106
+ },
35107
+ "onTap": {
35108
+ "actionId": "tier5.himiStoreProduct.toggleInfoSection",
35109
+ "params": {
35110
+ "id": "$item.id"
35111
+ }
35112
+ },
35113
+ "pressFeedback": "highlight",
35114
+ "accessibilityRole": "button",
35115
+ "accessibilityLabel": "$item.title",
35116
+ "hiddenPath": "$item.noTitle"
34611
35117
  }
34612
35118
  },
34613
35119
  {
34614
35120
  "id": "",
34615
35121
  "body": {
34616
35122
  "package": "himalaya",
34617
- "type": "Icon",
35123
+ "type": "VStack",
34618
35124
  "props": {
34619
- "name": "chevron_up",
34620
- "size": 16,
34621
- "tint": "textSecondary"
35125
+ "spacing": 0,
35126
+ "alignment": "leading",
35127
+ "children": [
35128
+ {
35129
+ "id": "himi_product.info_body_$item.id",
35130
+ "body": {
35131
+ "package": "himalaya",
35132
+ "type": "RichContent",
35133
+ "props": {
35134
+ "documentJsonPath": "$item.bodyJson",
35135
+ "onLink": {
35136
+ "actionId": "tier5.himiStoreProduct.openLink"
35137
+ },
35138
+ "fallback": {
35139
+ "id": "",
35140
+ "body": {
35141
+ "package": "himalaya",
35142
+ "type": "Text",
35143
+ "props": {
35144
+ "text": "$item.body",
35145
+ "style": "body",
35146
+ "color": "textSecondary",
35147
+ "collapseWhenEmpty": true
35148
+ }
35149
+ }
35150
+ }
35151
+ }
35152
+ }
35153
+ },
35154
+ {
35155
+ "id": "",
35156
+ "body": {
35157
+ "package": "himalaya",
35158
+ "type": "Text",
35159
+ "props": {
35160
+ "text": "$item.body",
35161
+ "style": "body",
35162
+ "color": "textSecondary",
35163
+ "collapseWhenEmpty": true
35164
+ }
35165
+ },
35166
+ "modifiers": {
35167
+ "hiddenPath": "$item.hasBodyJson"
35168
+ }
35169
+ }
35170
+ ]
34622
35171
  }
34623
35172
  },
34624
35173
  "modifiers": {
34625
- "accessibilityRole": "decorative",
34626
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
34627
- }
34628
- }
34629
- ]
34630
- }
34631
- },
34632
- "modifiers": {
34633
- "fillMaxWidth": true,
34634
- "padding": {
34635
- "top": 18,
34636
- "bottom": 18
34637
- },
34638
- "onTap": {
34639
- "actionId": "tier5.himiStoreProduct.toggleReturnPolicy"
34640
- },
34641
- "pressFeedback": "highlight",
34642
- "accessibilityRole": "button",
34643
- "accessibilityLabel": "Return & refund policy"
34644
- }
34645
- },
34646
- {
34647
- "id": "",
34648
- "body": {
34649
- "package": "himalaya",
34650
- "type": "Text",
34651
- "props": {
34652
- "text": "$service:himiStoreProduct.returnPolicyBody",
34653
- "style": "body",
34654
- "color": "textSecondary"
34655
- }
34656
- },
34657
- "modifiers": {
34658
- "padding": {
34659
- "bottom": 18
34660
- },
34661
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
34662
- }
34663
- },
34664
- {
34665
- "id": "",
34666
- "body": {
34667
- "package": "himalaya",
34668
- "type": "Divider",
34669
- "props": {}
34670
- }
34671
- }
34672
- ]
34673
- }
34674
- }
34675
- },
34676
- {
34677
- "id": "himi_product.shipping_info",
34678
- "body": {
34679
- "package": "himalaya",
34680
- "type": "VStack",
34681
- "props": {
34682
- "spacing": 0,
34683
- "alignment": "leading",
34684
- "children": [
34685
- {
34686
- "id": "himi_product.shipping_info.header",
34687
- "body": {
34688
- "package": "himalaya",
34689
- "type": "HStack",
34690
- "props": {
34691
- "spacing": 12,
34692
- "children": [
34693
- {
34694
- "id": "",
34695
- "body": {
34696
- "package": "himalaya",
34697
- "type": "Text",
34698
- "props": {
34699
- "text": "Shipping info",
34700
- "style": "body",
34701
- "maxLines": 2
34702
- }
35174
+ "padding": {
35175
+ "bottom": 16
35176
+ },
35177
+ "fillMaxWidth": true,
35178
+ "hiddenPath": "$item.collapsed"
34703
35179
  }
34704
35180
  },
34705
35181
  {
34706
35182
  "id": "",
34707
35183
  "body": {
34708
35184
  "package": "himalaya",
34709
- "type": "Spacer",
35185
+ "type": "Divider",
34710
35186
  "props": {}
34711
35187
  }
34712
- },
34713
- {
34714
- "id": "",
34715
- "body": {
34716
- "package": "himalaya",
34717
- "type": "Icon",
34718
- "props": {
34719
- "name": "chevron_down",
34720
- "size": 16,
34721
- "tint": "textSecondary"
34722
- }
34723
- },
34724
- "modifiers": {
34725
- "accessibilityRole": "decorative",
34726
- "hiddenPath": "$service:himiStoreProduct.shippingInfoExpanded"
34727
- }
34728
- },
34729
- {
34730
- "id": "",
34731
- "body": {
34732
- "package": "himalaya",
34733
- "type": "Icon",
34734
- "props": {
34735
- "name": "chevron_up",
34736
- "size": 16,
34737
- "tint": "textSecondary"
34738
- }
34739
- },
34740
- "modifiers": {
34741
- "accessibilityRole": "decorative",
34742
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
34743
- }
34744
35188
  }
34745
35189
  ]
34746
35190
  }
34747
- },
34748
- "modifiers": {
34749
- "fillMaxWidth": true,
34750
- "padding": {
34751
- "top": 18,
34752
- "bottom": 18
34753
- },
34754
- "onTap": {
34755
- "actionId": "tier5.himiStoreProduct.toggleShippingInfo"
34756
- },
34757
- "pressFeedback": "highlight",
34758
- "accessibilityRole": "button",
34759
- "accessibilityLabel": "Shipping info"
34760
- }
34761
- },
34762
- {
34763
- "id": "",
34764
- "body": {
34765
- "package": "himalaya",
34766
- "type": "Text",
34767
- "props": {
34768
- "text": "$service:himiStoreProduct.shippingInfoBody",
34769
- "style": "body",
34770
- "color": "textSecondary"
34771
- }
34772
- },
34773
- "modifiers": {
34774
- "padding": {
34775
- "bottom": 18
34776
- },
34777
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
34778
- }
34779
- },
34780
- {
34781
- "id": "",
34782
- "body": {
34783
- "package": "himalaya",
34784
- "type": "Divider",
34785
- "props": {}
34786
35191
  }
34787
35192
  }
34788
- ]
35193
+ ],
35194
+ "spacing": 0
34789
35195
  }
34790
35196
  }
34791
35197
  }