@wix/himalaya-cli 0.1583.0 → 0.1585.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 (313) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +7 -4
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/bindings.d.ts +7 -6
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/blog-v3/src/extensions.d.ts +2 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +2 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/index.d.ts +3 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/groups/src/extensions.d.ts +15 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/loyalty/src/extensions.d.ts +13 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +19 -4
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +2 -2
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +8 -2
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +3 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +4 -2
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-groups.mjs +5 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-loyalty.mjs +4 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +10 -3
  16. package/dist/cli.mjs +2201 -1716
  17. package/dist/preview-assets.generated.bin +0 -0
  18. package/fixtures/wix-canned.json +25 -0
  19. package/guides/branded-lite-site-binding.md +7 -1
  20. package/guides/designing-himi-screens.md +47 -7
  21. package/guides/himi-skill.md +16 -0
  22. package/guides/index.json +1 -0
  23. package/guides/one-app-to-himi-app.md +52 -1
  24. package/guides/sdk-reference.json +37 -9
  25. package/guides/tier-5-add-a-screen.md +9 -0
  26. package/guides/wix-api-usage.md +9 -0
  27. package/package.json +2 -2
  28. package/templates/beauty-salon/config.ts +7 -0
  29. package/templates/beauty-salon/dev/index.ts +758 -352
  30. package/templates/beauty-salon/himalaya.content.json +3 -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-branded-lite-category/index.ts +3 -2
  38. package/templates/beauty-salon/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  39. package/templates/beauty-salon/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  40. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +14 -3
  41. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  42. package/templates/beauty-salon/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  43. package/templates/beauty-salon-owner/dev/index.ts +129 -66
  44. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +19 -3
  45. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  46. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  47. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  48. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  49. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  50. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  51. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  52. package/templates/branded-lite/config.ts +9 -0
  53. package/templates/branded-lite/dev/index.ts +4988 -3304
  54. package/templates/branded-lite/himalaya.content.json +3 -0
  55. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  56. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +19 -3
  57. package/templates/branded-lite/tier5-src/_shared/event-registration.ts +86 -0
  58. package/templates/branded-lite/tier5-src/_shared/himi-restaurants.ts +2 -1
  59. package/templates/branded-lite/tier5-src/_shared/owner-editor-value.ts +164 -0
  60. package/templates/branded-lite/tier5-src/_shared/store-product-info.ts +50 -0
  61. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +21 -8
  62. package/templates/branded-lite/tier5-src/himi-branded-lite-badges/index.ts +2 -1
  63. package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +3 -2
  64. package/templates/branded-lite/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  65. package/templates/branded-lite/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  66. package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/index.ts +115 -49
  67. package/templates/branded-lite/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  68. package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +2 -1
  69. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio/index.ts +2 -1
  70. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -2
  71. package/templates/branded-lite/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  72. package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +21 -11
  73. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +2 -1
  74. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +12 -86
  75. package/templates/branded-lite/tier5-src/himi-events-list/index.ts +47 -6
  76. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +13 -3
  77. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +3 -2
  78. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +53 -37
  79. package/templates/branded-lite/tier5-src/wix-spaces-members/index.ts +100 -34
  80. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  81. package/templates/branded-lite/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  82. package/templates/community-club/config.ts +16 -0
  83. package/templates/community-club/dev/index.ts +1930 -401
  84. package/templates/community-club/himalaya.content.json +6 -0
  85. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  86. package/templates/community-club/tier5-src/_shared/collection-contract.ts +19 -3
  87. package/templates/community-club/tier5-src/_shared/event-registration.ts +86 -0
  88. package/templates/community-club/tier5-src/_shared/himi-restaurants.ts +2 -1
  89. package/templates/community-club/tier5-src/himi-blog-post/index.ts +21 -8
  90. package/templates/community-club/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  91. package/templates/community-club/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  92. package/templates/community-club/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  93. package/templates/community-club/tier5-src/himi-events-detail/index.ts +12 -86
  94. package/templates/community-club/tier5-src/himi-events-list/index.ts +47 -6
  95. package/templates/community-club/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  96. package/templates/community-club-owner/dev/index.ts +53 -1
  97. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +19 -3
  98. package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  99. package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  100. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  101. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  102. package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  103. package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  104. package/templates/community-club-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  105. package/templates/events-meetups/config.ts +16 -0
  106. package/templates/events-meetups/dev/index.ts +1930 -401
  107. package/templates/events-meetups/himalaya.content.json +6 -0
  108. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  109. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +19 -3
  110. package/templates/events-meetups/tier5-src/_shared/event-registration.ts +86 -0
  111. package/templates/events-meetups/tier5-src/_shared/himi-restaurants.ts +2 -1
  112. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +21 -8
  113. package/templates/events-meetups/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  114. package/templates/events-meetups/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  115. package/templates/events-meetups/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  116. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +12 -86
  117. package/templates/events-meetups/tier5-src/himi-events-list/index.ts +47 -6
  118. package/templates/events-meetups/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  119. package/templates/events-meetups-owner/dev/index.ts +6 -0
  120. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +19 -3
  121. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  122. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  123. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  124. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  125. package/templates/gym-fitness/config.ts +7 -0
  126. package/templates/gym-fitness/dev/index.ts +1115 -278
  127. package/templates/gym-fitness/himalaya.content.json +3 -0
  128. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  129. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +19 -3
  130. package/templates/gym-fitness/tier5-src/_shared/event-registration.ts +86 -0
  131. package/templates/gym-fitness/tier5-src/_shared/himi-restaurants.ts +2 -1
  132. package/templates/gym-fitness/tier5-src/_shared/owner-editor-value.ts +164 -0
  133. package/templates/gym-fitness/tier5-src/_shared/store-product-info.ts +50 -0
  134. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +21 -8
  135. package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +3 -2
  136. package/templates/gym-fitness/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  137. package/templates/gym-fitness/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  138. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +12 -86
  139. package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +47 -6
  140. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +14 -3
  141. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  142. package/templates/gym-fitness/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  143. package/templates/gym-fitness-owner/dev/index.ts +132 -66
  144. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +19 -3
  145. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  146. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  147. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  148. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  149. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  150. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  151. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  152. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  153. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  154. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  155. package/templates/nonprofit-cause/config.ts +16 -0
  156. package/templates/nonprofit-cause/dev/index.ts +1925 -396
  157. package/templates/nonprofit-cause/himalaya.content.json +6 -0
  158. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  159. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +19 -3
  160. package/templates/nonprofit-cause/tier5-src/_shared/event-registration.ts +86 -0
  161. package/templates/nonprofit-cause/tier5-src/_shared/himi-restaurants.ts +2 -1
  162. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +21 -8
  163. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  164. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group-about/index.ts +243 -0
  165. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  166. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  167. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +12 -86
  168. package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +47 -6
  169. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  170. package/templates/nonprofit-cause/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  171. package/templates/nonprofit-cause-owner/dev/index.ts +85 -65
  172. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +19 -3
  173. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-rich-guard.ts +27 -0
  174. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  175. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  176. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  177. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  178. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  179. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  180. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  181. package/templates/owner-lite/dev/index.ts +132 -66
  182. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +19 -3
  183. package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +16 -8
  184. package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  185. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +4 -2
  186. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +7 -0
  187. package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +39 -6
  188. package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  189. package/templates/owner-lite/tier5-src/himi-owner-lite-products/index.ts +7 -4
  190. package/templates/owner-lite/tier5-src/himi-owner-lite-service/index.ts +38 -7
  191. package/templates/owner-lite/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  192. package/templates/owner-lite/tier5-src/himi-owner-lite-services/index.ts +4 -2
  193. package/templates/podcast-creator/config.ts +7 -0
  194. package/templates/podcast-creator/dev/index.ts +1051 -158
  195. package/templates/podcast-creator/himalaya.content.json +3 -0
  196. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  197. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +19 -3
  198. package/templates/podcast-creator/tier5-src/_shared/event-registration.ts +86 -0
  199. package/templates/podcast-creator/tier5-src/_shared/himi-restaurants.ts +2 -1
  200. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +21 -8
  201. package/templates/podcast-creator/tier5-src/himi-branded-lite-feed/index.ts +4 -3
  202. package/templates/podcast-creator/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  203. package/templates/podcast-creator/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  204. package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +2 -1
  205. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +12 -86
  206. package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +47 -6
  207. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  208. package/templates/podcast-creator/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  209. package/templates/podcast-creator-owner/dev/index.ts +53 -1
  210. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +19 -3
  211. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  212. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  213. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  214. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  215. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  216. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  217. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  218. package/templates/portfolio-creative/config.ts +7 -0
  219. package/templates/portfolio-creative/dev/index.ts +1305 -468
  220. package/templates/portfolio-creative/himalaya.content.json +3 -0
  221. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  222. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +19 -3
  223. package/templates/portfolio-creative/tier5-src/_shared/event-registration.ts +86 -0
  224. package/templates/portfolio-creative/tier5-src/_shared/himi-restaurants.ts +2 -1
  225. package/templates/portfolio-creative/tier5-src/_shared/owner-editor-value.ts +164 -0
  226. package/templates/portfolio-creative/tier5-src/_shared/store-product-info.ts +50 -0
  227. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +21 -8
  228. package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +3 -2
  229. package/templates/portfolio-creative/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  230. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio/index.ts +2 -1
  231. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -2
  232. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +12 -86
  233. package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +47 -6
  234. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +14 -3
  235. package/templates/portfolio-creative/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  236. package/templates/portfolio-creative-owner/dev/index.ts +129 -66
  237. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +19 -3
  238. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  239. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  240. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  241. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  242. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  243. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  244. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  245. package/templates/restaurant/config.ts +7 -0
  246. package/templates/restaurant/dev/index.ts +1051 -158
  247. package/templates/restaurant/himalaya.content.json +3 -0
  248. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  249. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +19 -3
  250. package/templates/restaurant/tier5-src/_shared/event-registration.ts +86 -0
  251. package/templates/restaurant/tier5-src/_shared/himi-restaurants.ts +2 -1
  252. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +21 -8
  253. package/templates/restaurant/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  254. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +12 -86
  255. package/templates/restaurant/tier5-src/himi-events-list/index.ts +47 -6
  256. package/templates/restaurant/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  257. package/templates/restaurant-owner/dev/index.ts +132 -66
  258. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +19 -3
  259. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  260. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  261. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  262. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  263. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  264. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  265. package/templates/restaurant-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  266. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  267. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  268. package/templates/restaurant-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
  269. package/templates/retail-store/config.ts +7 -0
  270. package/templates/retail-store/dev/index.ts +597 -191
  271. package/templates/retail-store/himalaya.content.json +3 -0
  272. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  273. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +19 -3
  274. package/templates/retail-store/tier5-src/_shared/himi-restaurants.ts +2 -1
  275. package/templates/retail-store/tier5-src/_shared/owner-editor-value.ts +164 -0
  276. package/templates/retail-store/tier5-src/_shared/store-product-info.ts +50 -0
  277. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +21 -8
  278. package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +3 -2
  279. package/templates/retail-store/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  280. package/templates/retail-store/tier5-src/himi-store-product/index.ts +13 -3
  281. package/templates/retail-store/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  282. package/templates/retail-store-owner/dev/index.ts +50 -1
  283. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +19 -3
  284. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  285. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +39 -6
  286. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +14 -8
  287. package/templates/retail-store-owner/tier5-src/himi-owner-lite-products/index.ts +7 -4
  288. package/templates/yoga-studio/config.ts +7 -0
  289. package/templates/yoga-studio/dev/index.ts +1107 -110
  290. package/templates/yoga-studio/himalaya.content.json +3 -0
  291. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -1
  292. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +19 -3
  293. package/templates/yoga-studio/tier5-src/_shared/event-registration.ts +86 -0
  294. package/templates/yoga-studio/tier5-src/_shared/himi-restaurants.ts +2 -1
  295. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +21 -8
  296. package/templates/yoga-studio/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  297. package/templates/yoga-studio/tier5-src/himi-branded-lite-plans/index.ts +2 -1
  298. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  299. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +21 -11
  300. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +12 -86
  301. package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +47 -6
  302. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +2 -1
  303. package/templates/yoga-studio/tier5-src/wix-spaces-whats-new/index.ts +2 -1
  304. package/templates/yoga-studio-owner/dev/index.ts +85 -65
  305. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +19 -3
  306. package/templates/yoga-studio-owner/tier5-src/_shared/owner-rich-guard.ts +27 -0
  307. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +16 -8
  308. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +16 -7
  309. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +4 -2
  310. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +7 -0
  311. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service/index.ts +38 -7
  312. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service-form/index.ts +53 -7
  313. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-services/index.ts +4 -2
@@ -2926,7 +2926,7 @@ const SCREENS = runtimeSetting({
2926
2926
  "package": "himalaya",
2927
2927
  "type": "Text",
2928
2928
  "props": {
2929
- "text": "Settings",
2929
+ "text": "Appearance",
2930
2930
  "style": "body",
2931
2931
  "maxLines": 1
2932
2932
  }
@@ -2958,7 +2958,88 @@ const SCREENS = runtimeSetting({
2958
2958
  "pressFeedback": "highlight",
2959
2959
  "haptic": "light",
2960
2960
  "accessibilityRole": "button",
2961
- "accessibilityLabel": "Settings"
2961
+ "accessibilityLabel": "Appearance"
2962
+ }
2963
+ },
2964
+ {
2965
+ "id": "himi_account.notification_settings",
2966
+ "body": {
2967
+ "package": "himalaya",
2968
+ "type": "HStack",
2969
+ "props": {
2970
+ "spacing": 12,
2971
+ "alignment": "center",
2972
+ "children": [
2973
+ {
2974
+ "id": "",
2975
+ "body": {
2976
+ "package": "himalaya",
2977
+ "type": "ZStack",
2978
+ "props": {
2979
+ "alignment": "center",
2980
+ "children": [
2981
+ {
2982
+ "id": "",
2983
+ "body": {
2984
+ "package": "himalaya",
2985
+ "type": "Icon",
2986
+ "props": {
2987
+ "name": "bell",
2988
+ "size": 20,
2989
+ "tint": "textPrimary"
2990
+ }
2991
+ },
2992
+ "modifiers": {
2993
+ "accessibilityRole": "decorative"
2994
+ }
2995
+ }
2996
+ ]
2997
+ }
2998
+ },
2999
+ "modifiers": {
3000
+ "width": 24,
3001
+ "height": 24
3002
+ }
3003
+ },
3004
+ {
3005
+ "id": "",
3006
+ "body": {
3007
+ "package": "himalaya",
3008
+ "type": "Text",
3009
+ "props": {
3010
+ "text": "Notification Settings",
3011
+ "style": "body",
3012
+ "maxLines": 1
3013
+ }
3014
+ }
3015
+ },
3016
+ {
3017
+ "id": "",
3018
+ "body": {
3019
+ "package": "himalaya",
3020
+ "type": "Spacer",
3021
+ "props": {}
3022
+ }
3023
+ }
3024
+ ]
3025
+ }
3026
+ },
3027
+ "modifiers": {
3028
+ "fillMaxWidth": true,
3029
+ "padding": {
3030
+ "top": 12,
3031
+ "bottom": 12
3032
+ },
3033
+ "onTap": {
3034
+ "actionId": "himi.open",
3035
+ "params": {
3036
+ "screenId": "himi_notif_settings"
3037
+ }
3038
+ },
3039
+ "pressFeedback": "highlight",
3040
+ "haptic": "light",
3041
+ "accessibilityRole": "button",
3042
+ "accessibilityLabel": "Notification Settings"
2962
3043
  }
2963
3044
  },
2964
3045
  {
@@ -6219,6 +6300,387 @@ const SCREENS = runtimeSetting({
6219
6300
  "bundleVersion": "0.0.1"
6220
6301
  }
6221
6302
  },
6303
+ "himi_notif_settings": {
6304
+ "screenId": "himi_notif_settings",
6305
+ "renderer": "sdui_intent",
6306
+ "title": "",
6307
+ "schemaVersion": 1,
6308
+ "cacheControl": {
6309
+ "maxAge": 0,
6310
+ "staleWhileRevalidate": 0
6311
+ },
6312
+ "payload": {
6313
+ "id": "himi_notif_settings.root",
6314
+ "body": {
6315
+ "package": "himalaya",
6316
+ "type": "VStack",
6317
+ "props": {
6318
+ "spacing": 16,
6319
+ "alignment": "leading",
6320
+ "children": [
6321
+ {
6322
+ "id": "himi_notif_settings.title",
6323
+ "body": {
6324
+ "package": "himalaya",
6325
+ "type": "Text",
6326
+ "props": {
6327
+ "text": "Notification Settings",
6328
+ "style": "title1"
6329
+ }
6330
+ }
6331
+ },
6332
+ {
6333
+ "id": "",
6334
+ "body": {
6335
+ "package": "himalaya",
6336
+ "type": "Text",
6337
+ "props": {
6338
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
6339
+ "style": "body",
6340
+ "color": "textSecondary"
6341
+ }
6342
+ },
6343
+ "modifiers": {
6344
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
6345
+ }
6346
+ },
6347
+ {
6348
+ "id": "",
6349
+ "body": {
6350
+ "package": "himalaya",
6351
+ "type": "Text",
6352
+ "props": {
6353
+ "text": "Example topics — your notification preferences will appear here.",
6354
+ "style": "body",
6355
+ "color": "textSecondary"
6356
+ }
6357
+ },
6358
+ "modifiers": {
6359
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
6360
+ }
6361
+ },
6362
+ {
6363
+ "id": "himi_notif_settings.sample_banner",
6364
+ "body": {
6365
+ "package": "himalaya",
6366
+ "type": "Banner",
6367
+ "props": {
6368
+ "severity": "warning",
6369
+ "title": "Sample content",
6370
+ "message": "These are example settings — none are configured yet."
6371
+ }
6372
+ },
6373
+ "modifiers": {
6374
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
6375
+ }
6376
+ },
6377
+ {
6378
+ "id": "himi_notif_settings.unavailable_banner",
6379
+ "body": {
6380
+ "package": "himalaya",
6381
+ "type": "Banner",
6382
+ "props": {
6383
+ "severity": "warning",
6384
+ "title": "Sample content",
6385
+ "message": "Your notification settings couldn't be loaded."
6386
+ }
6387
+ },
6388
+ "modifiers": {
6389
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
6390
+ }
6391
+ },
6392
+ {
6393
+ "id": "himi_notif_settings.action_message",
6394
+ "body": {
6395
+ "package": "himalaya",
6396
+ "type": "Text",
6397
+ "props": {
6398
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
6399
+ "style": "body",
6400
+ "color": "textSecondary",
6401
+ "collapseWhenEmpty": true
6402
+ }
6403
+ }
6404
+ },
6405
+ {
6406
+ "id": "himi_notif_settings.loading",
6407
+ "body": {
6408
+ "package": "himalaya",
6409
+ "type": "Skeleton",
6410
+ "props": {
6411
+ "height": 72,
6412
+ "cornerRadius": 12,
6413
+ "count": 3
6414
+ }
6415
+ },
6416
+ "modifiers": {
6417
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
6418
+ }
6419
+ },
6420
+ {
6421
+ "id": "himi_notif_settings.error",
6422
+ "body": {
6423
+ "package": "himalaya",
6424
+ "type": "VStack",
6425
+ "props": {
6426
+ "spacing": 8,
6427
+ "alignment": "leading",
6428
+ "children": [
6429
+ {
6430
+ "id": "",
6431
+ "body": {
6432
+ "package": "himalaya",
6433
+ "type": "Text",
6434
+ "props": {
6435
+ "text": "$service:himiBrandedNotifSettings.error",
6436
+ "style": "bodyEmphasis",
6437
+ "collapseWhenEmpty": true
6438
+ }
6439
+ }
6440
+ },
6441
+ {
6442
+ "id": "himi_notif_settings.retry",
6443
+ "body": {
6444
+ "package": "himalaya",
6445
+ "type": "Button",
6446
+ "props": {
6447
+ "title": "Try again",
6448
+ "style": "secondary",
6449
+ "action": {
6450
+ "actionId": "tier5.himiBrandedNotifSettings.load"
6451
+ }
6452
+ }
6453
+ },
6454
+ "modifiers": {
6455
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
6456
+ }
6457
+ },
6458
+ {
6459
+ "id": "himi_notif_settings.sign_in",
6460
+ "body": {
6461
+ "package": "himalaya",
6462
+ "type": "Button",
6463
+ "props": {
6464
+ "title": "Sign in",
6465
+ "style": "primary",
6466
+ "leadingIcon": "person",
6467
+ "action": {
6468
+ "actionId": "himi.open",
6469
+ "params": {
6470
+ "screenId": "himi_sign_in",
6471
+ "returnScreenId": "himi_notif_settings",
6472
+ "modal": "1"
6473
+ },
6474
+ "presentation": "sheet"
6475
+ }
6476
+ }
6477
+ },
6478
+ "modifiers": {
6479
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
6480
+ }
6481
+ }
6482
+ ]
6483
+ }
6484
+ },
6485
+ "modifiers": {
6486
+ "background": {
6487
+ "token": "surfaceElevated"
6488
+ },
6489
+ "border": {
6490
+ "width": 1,
6491
+ "color": {
6492
+ "token": "border"
6493
+ }
6494
+ },
6495
+ "cornerRadius": 4,
6496
+ "padding": {
6497
+ "leading": 16,
6498
+ "trailing": 16,
6499
+ "top": 16,
6500
+ "bottom": 16
6501
+ },
6502
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
6503
+ }
6504
+ },
6505
+ {
6506
+ "id": "himi_notif_settings.rows",
6507
+ "body": {
6508
+ "package": "himalaya",
6509
+ "type": "Grid",
6510
+ "props": {
6511
+ "columns": 1,
6512
+ "spacing": 10,
6513
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
6514
+ "items": [
6515
+ {
6516
+ "id": "",
6517
+ "body": {
6518
+ "package": "himalaya",
6519
+ "type": "VStack",
6520
+ "props": {
6521
+ "spacing": 2,
6522
+ "alignment": "leading",
6523
+ "children": [
6524
+ {
6525
+ "id": "himi_notif_settings.topic.$item.id",
6526
+ "body": {
6527
+ "package": "himalaya",
6528
+ "type": "Toggle",
6529
+ "props": {
6530
+ "label": "$item.name",
6531
+ "valuePath": "$item.on",
6532
+ "onChange": {
6533
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
6534
+ "params": {
6535
+ "id": "$item.id"
6536
+ }
6537
+ }
6538
+ }
6539
+ },
6540
+ "modifiers": {
6541
+ "hiddenPath": "$item.locked"
6542
+ }
6543
+ },
6544
+ {
6545
+ "id": "himi_notif_settings.locked_topic.$item.id",
6546
+ "body": {
6547
+ "package": "himalaya",
6548
+ "type": "HStack",
6549
+ "props": {
6550
+ "spacing": 12,
6551
+ "children": [
6552
+ {
6553
+ "id": "",
6554
+ "body": {
6555
+ "package": "himalaya",
6556
+ "type": "Text",
6557
+ "props": {
6558
+ "text": "$item.name",
6559
+ "style": "body",
6560
+ "maxLines": 2
6561
+ }
6562
+ }
6563
+ },
6564
+ {
6565
+ "id": "",
6566
+ "body": {
6567
+ "package": "himalaya",
6568
+ "type": "Spacer",
6569
+ "props": {}
6570
+ }
6571
+ },
6572
+ {
6573
+ "id": "",
6574
+ "body": {
6575
+ "package": "himalaya",
6576
+ "type": "Text",
6577
+ "props": {
6578
+ "text": "$item.stateLabel",
6579
+ "style": "footnote",
6580
+ "color": "textSecondary",
6581
+ "maxLines": 1
6582
+ }
6583
+ }
6584
+ }
6585
+ ]
6586
+ }
6587
+ },
6588
+ "modifiers": {
6589
+ "hiddenPath": "$item.notLocked"
6590
+ }
6591
+ },
6592
+ {
6593
+ "id": "",
6594
+ "body": {
6595
+ "package": "himalaya",
6596
+ "type": "Text",
6597
+ "props": {
6598
+ "text": "$item.note",
6599
+ "style": "footnote",
6600
+ "color": "textSecondary",
6601
+ "collapseWhenEmpty": true
6602
+ }
6603
+ }
6604
+ }
6605
+ ]
6606
+ }
6607
+ },
6608
+ "modifiers": {
6609
+ "background": {
6610
+ "token": "surfaceElevated"
6611
+ },
6612
+ "border": {
6613
+ "width": 1,
6614
+ "color": {
6615
+ "token": "border"
6616
+ }
6617
+ },
6618
+ "cornerRadius": 8,
6619
+ "padding": {
6620
+ "leading": 14,
6621
+ "trailing": 14,
6622
+ "top": 12,
6623
+ "bottom": 12
6624
+ }
6625
+ }
6626
+ }
6627
+ ]
6628
+ }
6629
+ },
6630
+ "modifiers": {
6631
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
6632
+ }
6633
+ },
6634
+ {
6635
+ "id": "",
6636
+ "body": {
6637
+ "package": "himalaya",
6638
+ "type": "Text",
6639
+ "props": {
6640
+ "text": "$service:himiBrandedNotifSettings.emptyText",
6641
+ "style": "body",
6642
+ "color": "textSecondary",
6643
+ "collapseWhenEmpty": true
6644
+ }
6645
+ },
6646
+ "modifiers": {
6647
+ "padding": {
6648
+ "leading": 8,
6649
+ "trailing": 8,
6650
+ "top": 8,
6651
+ "bottom": 0
6652
+ }
6653
+ }
6654
+ }
6655
+ ]
6656
+ }
6657
+ },
6658
+ "modifiers": {
6659
+ "background": {
6660
+ "token": "surfacePrimary"
6661
+ },
6662
+ "padding": {
6663
+ "leading": 16,
6664
+ "trailing": 16,
6665
+ "top": 18,
6666
+ "bottom": 28
6667
+ },
6668
+ "onAppear": {
6669
+ "actionId": "tier5.himiBrandedNotifSettings.load"
6670
+ }
6671
+ }
6672
+ },
6673
+ "logicBundle": {
6674
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-notifsettings?integrity=",
6675
+ "integrity": "",
6676
+ "contentType": "application/javascript+ts-bundle",
6677
+ "declaredCapabilities": [
6678
+ "wix_api"
6679
+ ],
6680
+ "minBinaryVersion": "0.1.0",
6681
+ "bundleVersion": "0.0.1"
6682
+ }
6683
+ },
6222
6684
  "himi_view_profile": {
6223
6685
  "screenId": "himi_view_profile",
6224
6686
  "renderer": "sdui_intent",
@@ -23748,234 +24210,178 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23748
24210
  }
23749
24211
  },
23750
24212
  {
23751
- "id": "himi_product.return_policy",
24213
+ "id": "himi_product.info_sections",
23752
24214
  "body": {
23753
24215
  "package": "himalaya",
23754
- "type": "VStack",
24216
+ "type": "LazyList",
23755
24217
  "props": {
23756
- "spacing": 0,
23757
- "alignment": "leading",
23758
- "children": [
24218
+ "itemsPath": "$service:himiStoreProduct.infoSections",
24219
+ "items": [
23759
24220
  {
23760
- "id": "himi_product.return_policy.header",
24221
+ "id": "himi_product.info_$item.id",
23761
24222
  "body": {
23762
24223
  "package": "himalaya",
23763
- "type": "HStack",
24224
+ "type": "VStack",
23764
24225
  "props": {
23765
- "spacing": 12,
24226
+ "spacing": 0,
24227
+ "alignment": "leading",
23766
24228
  "children": [
23767
24229
  {
23768
24230
  "id": "",
23769
24231
  "body": {
23770
24232
  "package": "himalaya",
23771
- "type": "Text",
23772
- "props": {
23773
- "text": "Return & refund policy",
23774
- "style": "body",
23775
- "maxLines": 2
23776
- }
23777
- }
23778
- },
23779
- {
23780
- "id": "",
23781
- "body": {
23782
- "package": "himalaya",
23783
- "type": "Spacer",
23784
- "props": {}
23785
- }
23786
- },
23787
- {
23788
- "id": "",
23789
- "body": {
23790
- "package": "himalaya",
23791
- "type": "Icon",
24233
+ "type": "HStack",
23792
24234
  "props": {
23793
- "name": "chevron_down",
23794
- "size": 16,
23795
- "tint": "textSecondary"
24235
+ "spacing": 12,
24236
+ "children": [
24237
+ {
24238
+ "id": "",
24239
+ "body": {
24240
+ "package": "himalaya",
24241
+ "type": "Text",
24242
+ "props": {
24243
+ "text": "$item.title",
24244
+ "style": "body"
24245
+ }
24246
+ }
24247
+ },
24248
+ {
24249
+ "id": "",
24250
+ "body": {
24251
+ "package": "himalaya",
24252
+ "type": "Spacer",
24253
+ "props": {}
24254
+ }
24255
+ },
24256
+ {
24257
+ "id": "",
24258
+ "body": {
24259
+ "package": "himalaya",
24260
+ "type": "Icon",
24261
+ "props": {
24262
+ "name": "chevron_down",
24263
+ "size": 16,
24264
+ "tint": "textSecondary"
24265
+ }
24266
+ },
24267
+ "modifiers": {
24268
+ "accessibilityRole": "decorative",
24269
+ "hiddenPath": "$item.expanded"
24270
+ }
24271
+ },
24272
+ {
24273
+ "id": "",
24274
+ "body": {
24275
+ "package": "himalaya",
24276
+ "type": "Icon",
24277
+ "props": {
24278
+ "name": "chevron_up",
24279
+ "size": 16,
24280
+ "tint": "textSecondary"
24281
+ }
24282
+ },
24283
+ "modifiers": {
24284
+ "accessibilityRole": "decorative",
24285
+ "hiddenPath": "$item.collapsed"
24286
+ }
24287
+ }
24288
+ ]
23796
24289
  }
23797
24290
  },
23798
24291
  "modifiers": {
23799
- "accessibilityRole": "decorative",
23800
- "hiddenPath": "$service:himiStoreProduct.returnPolicyExpanded"
24292
+ "fillMaxWidth": true,
24293
+ "padding": {
24294
+ "top": 16,
24295
+ "bottom": 16
24296
+ },
24297
+ "onTap": {
24298
+ "actionId": "tier5.himiStoreProduct.toggleInfoSection",
24299
+ "params": {
24300
+ "id": "$item.id"
24301
+ }
24302
+ },
24303
+ "pressFeedback": "highlight",
24304
+ "accessibilityRole": "button",
24305
+ "accessibilityLabel": "$item.title",
24306
+ "hiddenPath": "$item.noTitle"
23801
24307
  }
23802
24308
  },
23803
24309
  {
23804
24310
  "id": "",
23805
24311
  "body": {
23806
24312
  "package": "himalaya",
23807
- "type": "Icon",
24313
+ "type": "VStack",
23808
24314
  "props": {
23809
- "name": "chevron_up",
23810
- "size": 16,
23811
- "tint": "textSecondary"
24315
+ "spacing": 0,
24316
+ "alignment": "leading",
24317
+ "children": [
24318
+ {
24319
+ "id": "himi_product.info_body_$item.id",
24320
+ "body": {
24321
+ "package": "himalaya",
24322
+ "type": "RichContent",
24323
+ "props": {
24324
+ "documentJsonPath": "$item.bodyJson",
24325
+ "onLink": {
24326
+ "actionId": "tier5.himiStoreProduct.openLink"
24327
+ },
24328
+ "fallback": {
24329
+ "id": "",
24330
+ "body": {
24331
+ "package": "himalaya",
24332
+ "type": "Text",
24333
+ "props": {
24334
+ "text": "$item.body",
24335
+ "style": "body",
24336
+ "color": "textSecondary",
24337
+ "collapseWhenEmpty": true
24338
+ }
24339
+ }
24340
+ }
24341
+ }
24342
+ }
24343
+ },
24344
+ {
24345
+ "id": "",
24346
+ "body": {
24347
+ "package": "himalaya",
24348
+ "type": "Text",
24349
+ "props": {
24350
+ "text": "$item.body",
24351
+ "style": "body",
24352
+ "color": "textSecondary",
24353
+ "collapseWhenEmpty": true
24354
+ }
24355
+ },
24356
+ "modifiers": {
24357
+ "hiddenPath": "$item.hasBodyJson"
24358
+ }
24359
+ }
24360
+ ]
23812
24361
  }
23813
24362
  },
23814
24363
  "modifiers": {
23815
- "accessibilityRole": "decorative",
23816
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
23817
- }
23818
- }
23819
- ]
23820
- }
23821
- },
23822
- "modifiers": {
23823
- "fillMaxWidth": true,
23824
- "padding": {
23825
- "top": 18,
23826
- "bottom": 18
23827
- },
23828
- "onTap": {
23829
- "actionId": "tier5.himiStoreProduct.toggleReturnPolicy"
23830
- },
23831
- "pressFeedback": "highlight",
23832
- "accessibilityRole": "button",
23833
- "accessibilityLabel": "Return & refund policy"
23834
- }
23835
- },
23836
- {
23837
- "id": "",
23838
- "body": {
23839
- "package": "himalaya",
23840
- "type": "Text",
23841
- "props": {
23842
- "text": "$service:himiStoreProduct.returnPolicyBody",
23843
- "style": "body",
23844
- "color": "textSecondary"
23845
- }
23846
- },
23847
- "modifiers": {
23848
- "padding": {
23849
- "bottom": 18
23850
- },
23851
- "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
23852
- }
23853
- },
23854
- {
23855
- "id": "",
23856
- "body": {
23857
- "package": "himalaya",
23858
- "type": "Divider",
23859
- "props": {}
23860
- }
23861
- }
23862
- ]
23863
- }
23864
- }
23865
- },
23866
- {
23867
- "id": "himi_product.shipping_info",
23868
- "body": {
23869
- "package": "himalaya",
23870
- "type": "VStack",
23871
- "props": {
23872
- "spacing": 0,
23873
- "alignment": "leading",
23874
- "children": [
23875
- {
23876
- "id": "himi_product.shipping_info.header",
23877
- "body": {
23878
- "package": "himalaya",
23879
- "type": "HStack",
23880
- "props": {
23881
- "spacing": 12,
23882
- "children": [
23883
- {
23884
- "id": "",
23885
- "body": {
23886
- "package": "himalaya",
23887
- "type": "Text",
23888
- "props": {
23889
- "text": "Shipping info",
23890
- "style": "body",
23891
- "maxLines": 2
23892
- }
24364
+ "padding": {
24365
+ "bottom": 16
24366
+ },
24367
+ "fillMaxWidth": true,
24368
+ "hiddenPath": "$item.collapsed"
23893
24369
  }
23894
24370
  },
23895
24371
  {
23896
24372
  "id": "",
23897
24373
  "body": {
23898
24374
  "package": "himalaya",
23899
- "type": "Spacer",
24375
+ "type": "Divider",
23900
24376
  "props": {}
23901
24377
  }
23902
- },
23903
- {
23904
- "id": "",
23905
- "body": {
23906
- "package": "himalaya",
23907
- "type": "Icon",
23908
- "props": {
23909
- "name": "chevron_down",
23910
- "size": 16,
23911
- "tint": "textSecondary"
23912
- }
23913
- },
23914
- "modifiers": {
23915
- "accessibilityRole": "decorative",
23916
- "hiddenPath": "$service:himiStoreProduct.shippingInfoExpanded"
23917
- }
23918
- },
23919
- {
23920
- "id": "",
23921
- "body": {
23922
- "package": "himalaya",
23923
- "type": "Icon",
23924
- "props": {
23925
- "name": "chevron_up",
23926
- "size": 16,
23927
- "tint": "textSecondary"
23928
- }
23929
- },
23930
- "modifiers": {
23931
- "accessibilityRole": "decorative",
23932
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
23933
- }
23934
24378
  }
23935
24379
  ]
23936
24380
  }
23937
- },
23938
- "modifiers": {
23939
- "fillMaxWidth": true,
23940
- "padding": {
23941
- "top": 18,
23942
- "bottom": 18
23943
- },
23944
- "onTap": {
23945
- "actionId": "tier5.himiStoreProduct.toggleShippingInfo"
23946
- },
23947
- "pressFeedback": "highlight",
23948
- "accessibilityRole": "button",
23949
- "accessibilityLabel": "Shipping info"
23950
- }
23951
- },
23952
- {
23953
- "id": "",
23954
- "body": {
23955
- "package": "himalaya",
23956
- "type": "Text",
23957
- "props": {
23958
- "text": "$service:himiStoreProduct.shippingInfoBody",
23959
- "style": "body",
23960
- "color": "textSecondary"
23961
- }
23962
- },
23963
- "modifiers": {
23964
- "padding": {
23965
- "bottom": 18
23966
- },
23967
- "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
23968
- }
23969
- },
23970
- {
23971
- "id": "",
23972
- "body": {
23973
- "package": "himalaya",
23974
- "type": "Divider",
23975
- "props": {}
23976
24381
  }
23977
24382
  }
23978
- ]
24383
+ ],
24384
+ "spacing": 0
23979
24385
  }
23980
24386
  }
23981
24387
  }