@wix/himalaya-cli 0.2051.0 → 0.2053.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 (366) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/display.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1 -1
  3. package/guides/sdk-reference.json +1 -1
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/dev/index.ts +1109 -147
  6. package/templates/beauty-salon/l10n/ar.json +122 -6
  7. package/templates/beauty-salon/l10n/cs.json +122 -6
  8. package/templates/beauty-salon/l10n/da.json +122 -6
  9. package/templates/beauty-salon/l10n/de.json +122 -6
  10. package/templates/beauty-salon/l10n/el.json +122 -6
  11. package/templates/beauty-salon/l10n/en.json +81 -9
  12. package/templates/beauty-salon/l10n/es.json +122 -6
  13. package/templates/beauty-salon/l10n/fi.json +122 -6
  14. package/templates/beauty-salon/l10n/fr.json +122 -6
  15. package/templates/beauty-salon/l10n/he.json +100 -5
  16. package/templates/beauty-salon/l10n/hu.json +122 -6
  17. package/templates/beauty-salon/l10n/id.json +122 -6
  18. package/templates/beauty-salon/l10n/it.json +122 -6
  19. package/templates/beauty-salon/l10n/ja.json +122 -6
  20. package/templates/beauty-salon/l10n/ko.json +122 -6
  21. package/templates/beauty-salon/l10n/lt.json +122 -6
  22. package/templates/beauty-salon/l10n/nl.json +122 -6
  23. package/templates/beauty-salon/l10n/no.json +122 -6
  24. package/templates/beauty-salon/l10n/pl.json +122 -6
  25. package/templates/beauty-salon/l10n/pt.json +122 -6
  26. package/templates/beauty-salon/l10n/ru.json +122 -6
  27. package/templates/beauty-salon/l10n/sv.json +122 -6
  28. package/templates/beauty-salon/l10n/th.json +122 -6
  29. package/templates/beauty-salon/l10n/tr.json +122 -6
  30. package/templates/beauty-salon/l10n/uk.json +122 -6
  31. package/templates/beauty-salon/l10n/vi.json +122 -6
  32. package/templates/beauty-salon/l10n/zh.json +122 -6
  33. package/templates/beauty-salon/tier5-src/_shared/about-text.ts +8 -0
  34. package/templates/beauty-salon/tier5-src/_shared/himi-store-search.ts +77 -0
  35. package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +22 -8
  36. package/templates/beauty-salon/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  37. package/templates/branded-lite/dev/index.ts +1589 -143
  38. package/templates/branded-lite/l10n/ar.json +46 -6
  39. package/templates/branded-lite/l10n/cs.json +46 -6
  40. package/templates/branded-lite/l10n/da.json +46 -6
  41. package/templates/branded-lite/l10n/de.json +46 -6
  42. package/templates/branded-lite/l10n/el.json +46 -6
  43. package/templates/branded-lite/l10n/en.json +46 -11
  44. package/templates/branded-lite/l10n/es.json +46 -6
  45. package/templates/branded-lite/l10n/fi.json +46 -6
  46. package/templates/branded-lite/l10n/fr.json +46 -6
  47. package/templates/branded-lite/l10n/he.json +38 -5
  48. package/templates/branded-lite/l10n/hu.json +46 -6
  49. package/templates/branded-lite/l10n/id.json +46 -6
  50. package/templates/branded-lite/l10n/it.json +46 -6
  51. package/templates/branded-lite/l10n/ja.json +46 -6
  52. package/templates/branded-lite/l10n/ko.json +46 -6
  53. package/templates/branded-lite/l10n/lt.json +46 -6
  54. package/templates/branded-lite/l10n/nl.json +46 -6
  55. package/templates/branded-lite/l10n/no.json +46 -6
  56. package/templates/branded-lite/l10n/pl.json +46 -6
  57. package/templates/branded-lite/l10n/pt.json +46 -6
  58. package/templates/branded-lite/l10n/ru.json +46 -6
  59. package/templates/branded-lite/l10n/sv.json +46 -6
  60. package/templates/branded-lite/l10n/th.json +46 -6
  61. package/templates/branded-lite/l10n/tr.json +46 -6
  62. package/templates/branded-lite/l10n/uk.json +46 -6
  63. package/templates/branded-lite/l10n/vi.json +46 -6
  64. package/templates/branded-lite/l10n/zh.json +46 -6
  65. package/templates/branded-lite/tier5-src/_shared/about-text.ts +8 -0
  66. package/templates/branded-lite/tier5-src/_shared/himi-store-search.ts +77 -0
  67. package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +22 -8
  68. package/templates/branded-lite/tier5-src/himi-branded-lite-shop/index.ts +31 -14
  69. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +247 -34
  70. package/templates/community-club/dev/index.ts +1362 -155
  71. package/templates/community-club/l10n/ar.json +123 -12
  72. package/templates/community-club/l10n/cs.json +123 -12
  73. package/templates/community-club/l10n/da.json +123 -12
  74. package/templates/community-club/l10n/de.json +123 -12
  75. package/templates/community-club/l10n/el.json +123 -12
  76. package/templates/community-club/l10n/en.json +86 -15
  77. package/templates/community-club/l10n/es.json +123 -12
  78. package/templates/community-club/l10n/fi.json +123 -12
  79. package/templates/community-club/l10n/fr.json +123 -12
  80. package/templates/community-club/l10n/he.json +102 -10
  81. package/templates/community-club/l10n/hu.json +123 -12
  82. package/templates/community-club/l10n/id.json +123 -12
  83. package/templates/community-club/l10n/it.json +123 -12
  84. package/templates/community-club/l10n/ja.json +123 -12
  85. package/templates/community-club/l10n/ko.json +123 -12
  86. package/templates/community-club/l10n/lt.json +123 -12
  87. package/templates/community-club/l10n/nl.json +123 -12
  88. package/templates/community-club/l10n/no.json +123 -12
  89. package/templates/community-club/l10n/pl.json +123 -12
  90. package/templates/community-club/l10n/pt.json +123 -12
  91. package/templates/community-club/l10n/ru.json +123 -12
  92. package/templates/community-club/l10n/sv.json +123 -12
  93. package/templates/community-club/l10n/th.json +123 -12
  94. package/templates/community-club/l10n/tr.json +123 -12
  95. package/templates/community-club/l10n/uk.json +123 -12
  96. package/templates/community-club/l10n/vi.json +123 -12
  97. package/templates/community-club/l10n/zh.json +123 -12
  98. package/templates/community-club/tier5-src/_shared/about-text.ts +8 -0
  99. package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
  100. package/templates/community-club/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  101. package/templates/events-meetups/dev/index.ts +1362 -155
  102. package/templates/events-meetups/l10n/ar.json +123 -12
  103. package/templates/events-meetups/l10n/cs.json +123 -12
  104. package/templates/events-meetups/l10n/da.json +123 -12
  105. package/templates/events-meetups/l10n/de.json +123 -12
  106. package/templates/events-meetups/l10n/el.json +123 -12
  107. package/templates/events-meetups/l10n/en.json +86 -15
  108. package/templates/events-meetups/l10n/es.json +123 -12
  109. package/templates/events-meetups/l10n/fi.json +123 -12
  110. package/templates/events-meetups/l10n/fr.json +123 -12
  111. package/templates/events-meetups/l10n/he.json +102 -10
  112. package/templates/events-meetups/l10n/hu.json +123 -12
  113. package/templates/events-meetups/l10n/id.json +123 -12
  114. package/templates/events-meetups/l10n/it.json +123 -12
  115. package/templates/events-meetups/l10n/ja.json +123 -12
  116. package/templates/events-meetups/l10n/ko.json +123 -12
  117. package/templates/events-meetups/l10n/lt.json +123 -12
  118. package/templates/events-meetups/l10n/nl.json +123 -12
  119. package/templates/events-meetups/l10n/no.json +123 -12
  120. package/templates/events-meetups/l10n/pl.json +123 -12
  121. package/templates/events-meetups/l10n/pt.json +123 -12
  122. package/templates/events-meetups/l10n/ru.json +123 -12
  123. package/templates/events-meetups/l10n/sv.json +123 -12
  124. package/templates/events-meetups/l10n/th.json +123 -12
  125. package/templates/events-meetups/l10n/tr.json +123 -12
  126. package/templates/events-meetups/l10n/uk.json +123 -12
  127. package/templates/events-meetups/l10n/vi.json +123 -12
  128. package/templates/events-meetups/l10n/zh.json +123 -12
  129. package/templates/events-meetups/tier5-src/_shared/about-text.ts +8 -0
  130. package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
  131. package/templates/events-meetups/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  132. package/templates/gym-fitness/dev/index.ts +1109 -147
  133. package/templates/gym-fitness/l10n/ar.json +122 -6
  134. package/templates/gym-fitness/l10n/cs.json +122 -6
  135. package/templates/gym-fitness/l10n/da.json +122 -6
  136. package/templates/gym-fitness/l10n/de.json +122 -6
  137. package/templates/gym-fitness/l10n/el.json +122 -6
  138. package/templates/gym-fitness/l10n/en.json +81 -9
  139. package/templates/gym-fitness/l10n/es.json +122 -6
  140. package/templates/gym-fitness/l10n/fi.json +122 -6
  141. package/templates/gym-fitness/l10n/fr.json +122 -6
  142. package/templates/gym-fitness/l10n/he.json +100 -5
  143. package/templates/gym-fitness/l10n/hu.json +122 -6
  144. package/templates/gym-fitness/l10n/id.json +122 -6
  145. package/templates/gym-fitness/l10n/it.json +122 -6
  146. package/templates/gym-fitness/l10n/ja.json +122 -6
  147. package/templates/gym-fitness/l10n/ko.json +122 -6
  148. package/templates/gym-fitness/l10n/lt.json +122 -6
  149. package/templates/gym-fitness/l10n/nl.json +122 -6
  150. package/templates/gym-fitness/l10n/no.json +122 -6
  151. package/templates/gym-fitness/l10n/pl.json +122 -6
  152. package/templates/gym-fitness/l10n/pt.json +122 -6
  153. package/templates/gym-fitness/l10n/ru.json +122 -6
  154. package/templates/gym-fitness/l10n/sv.json +122 -6
  155. package/templates/gym-fitness/l10n/th.json +122 -6
  156. package/templates/gym-fitness/l10n/tr.json +122 -6
  157. package/templates/gym-fitness/l10n/uk.json +122 -6
  158. package/templates/gym-fitness/l10n/vi.json +122 -6
  159. package/templates/gym-fitness/l10n/zh.json +122 -6
  160. package/templates/gym-fitness/tier5-src/_shared/about-text.ts +8 -0
  161. package/templates/gym-fitness/tier5-src/_shared/himi-store-search.ts +77 -0
  162. package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +22 -8
  163. package/templates/gym-fitness/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  164. package/templates/nonprofit-cause/dev/index.ts +1360 -153
  165. package/templates/nonprofit-cause/l10n/ar.json +123 -6
  166. package/templates/nonprofit-cause/l10n/cs.json +123 -6
  167. package/templates/nonprofit-cause/l10n/da.json +123 -6
  168. package/templates/nonprofit-cause/l10n/de.json +123 -6
  169. package/templates/nonprofit-cause/l10n/el.json +123 -6
  170. package/templates/nonprofit-cause/l10n/en.json +86 -9
  171. package/templates/nonprofit-cause/l10n/es.json +123 -6
  172. package/templates/nonprofit-cause/l10n/fi.json +123 -6
  173. package/templates/nonprofit-cause/l10n/fr.json +123 -6
  174. package/templates/nonprofit-cause/l10n/he.json +102 -5
  175. package/templates/nonprofit-cause/l10n/hu.json +123 -6
  176. package/templates/nonprofit-cause/l10n/id.json +123 -6
  177. package/templates/nonprofit-cause/l10n/it.json +123 -6
  178. package/templates/nonprofit-cause/l10n/ja.json +123 -6
  179. package/templates/nonprofit-cause/l10n/ko.json +123 -6
  180. package/templates/nonprofit-cause/l10n/lt.json +123 -6
  181. package/templates/nonprofit-cause/l10n/nl.json +123 -6
  182. package/templates/nonprofit-cause/l10n/no.json +123 -6
  183. package/templates/nonprofit-cause/l10n/pl.json +123 -6
  184. package/templates/nonprofit-cause/l10n/pt.json +123 -6
  185. package/templates/nonprofit-cause/l10n/ru.json +123 -6
  186. package/templates/nonprofit-cause/l10n/sv.json +123 -6
  187. package/templates/nonprofit-cause/l10n/th.json +123 -6
  188. package/templates/nonprofit-cause/l10n/tr.json +123 -6
  189. package/templates/nonprofit-cause/l10n/uk.json +123 -6
  190. package/templates/nonprofit-cause/l10n/vi.json +123 -6
  191. package/templates/nonprofit-cause/l10n/zh.json +123 -6
  192. package/templates/nonprofit-cause/tier5-src/_shared/about-text.ts +8 -0
  193. package/templates/nonprofit-cause/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  194. package/templates/personal-fitness-trainer/dev/index.ts +650 -75
  195. package/templates/personal-fitness-trainer/tier5-src/_shared/about-text.ts +8 -0
  196. package/templates/personal-fitness-trainer/tier5-src/_shared/group-member-count.ts +15 -0
  197. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-media.ts +33 -0
  198. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  199. package/templates/personal-fitness-trainer/tokens.json +6 -0
  200. package/templates/podcast-creator/dev/index.ts +1115 -153
  201. package/templates/podcast-creator/l10n/ar.json +117 -6
  202. package/templates/podcast-creator/l10n/cs.json +117 -6
  203. package/templates/podcast-creator/l10n/da.json +117 -6
  204. package/templates/podcast-creator/l10n/de.json +117 -6
  205. package/templates/podcast-creator/l10n/el.json +117 -6
  206. package/templates/podcast-creator/l10n/en.json +81 -9
  207. package/templates/podcast-creator/l10n/es.json +117 -6
  208. package/templates/podcast-creator/l10n/fi.json +117 -6
  209. package/templates/podcast-creator/l10n/fr.json +117 -6
  210. package/templates/podcast-creator/l10n/he.json +96 -5
  211. package/templates/podcast-creator/l10n/hu.json +117 -6
  212. package/templates/podcast-creator/l10n/id.json +117 -6
  213. package/templates/podcast-creator/l10n/it.json +117 -6
  214. package/templates/podcast-creator/l10n/ja.json +117 -6
  215. package/templates/podcast-creator/l10n/ko.json +117 -6
  216. package/templates/podcast-creator/l10n/lt.json +117 -6
  217. package/templates/podcast-creator/l10n/nl.json +117 -6
  218. package/templates/podcast-creator/l10n/no.json +117 -6
  219. package/templates/podcast-creator/l10n/pl.json +117 -6
  220. package/templates/podcast-creator/l10n/pt.json +117 -6
  221. package/templates/podcast-creator/l10n/ru.json +117 -6
  222. package/templates/podcast-creator/l10n/sv.json +117 -6
  223. package/templates/podcast-creator/l10n/th.json +117 -6
  224. package/templates/podcast-creator/l10n/tr.json +117 -6
  225. package/templates/podcast-creator/l10n/uk.json +117 -6
  226. package/templates/podcast-creator/l10n/vi.json +117 -6
  227. package/templates/podcast-creator/l10n/zh.json +117 -6
  228. package/templates/podcast-creator/tier5-src/_shared/about-text.ts +8 -0
  229. package/templates/podcast-creator/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  230. package/templates/portfolio-creative/dev/index.ts +1113 -151
  231. package/templates/portfolio-creative/l10n/ar.json +122 -12
  232. package/templates/portfolio-creative/l10n/cs.json +122 -12
  233. package/templates/portfolio-creative/l10n/da.json +122 -12
  234. package/templates/portfolio-creative/l10n/de.json +122 -12
  235. package/templates/portfolio-creative/l10n/el.json +122 -12
  236. package/templates/portfolio-creative/l10n/en.json +81 -15
  237. package/templates/portfolio-creative/l10n/es.json +122 -12
  238. package/templates/portfolio-creative/l10n/fi.json +122 -12
  239. package/templates/portfolio-creative/l10n/fr.json +122 -12
  240. package/templates/portfolio-creative/l10n/he.json +100 -10
  241. package/templates/portfolio-creative/l10n/hu.json +122 -12
  242. package/templates/portfolio-creative/l10n/id.json +122 -12
  243. package/templates/portfolio-creative/l10n/it.json +122 -12
  244. package/templates/portfolio-creative/l10n/ja.json +122 -12
  245. package/templates/portfolio-creative/l10n/ko.json +122 -12
  246. package/templates/portfolio-creative/l10n/lt.json +122 -12
  247. package/templates/portfolio-creative/l10n/nl.json +122 -12
  248. package/templates/portfolio-creative/l10n/no.json +122 -12
  249. package/templates/portfolio-creative/l10n/pl.json +122 -12
  250. package/templates/portfolio-creative/l10n/pt.json +122 -12
  251. package/templates/portfolio-creative/l10n/ru.json +122 -12
  252. package/templates/portfolio-creative/l10n/sv.json +122 -12
  253. package/templates/portfolio-creative/l10n/th.json +122 -12
  254. package/templates/portfolio-creative/l10n/tr.json +122 -12
  255. package/templates/portfolio-creative/l10n/uk.json +122 -12
  256. package/templates/portfolio-creative/l10n/vi.json +122 -12
  257. package/templates/portfolio-creative/l10n/zh.json +122 -12
  258. package/templates/portfolio-creative/tier5-src/_shared/about-text.ts +8 -0
  259. package/templates/portfolio-creative/tier5-src/_shared/himi-store-search.ts +77 -0
  260. package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +22 -8
  261. package/templates/portfolio-creative/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  262. package/templates/restaurant/dev/index.ts +1114 -152
  263. package/templates/restaurant/l10n/ar.json +117 -6
  264. package/templates/restaurant/l10n/cs.json +117 -6
  265. package/templates/restaurant/l10n/da.json +117 -6
  266. package/templates/restaurant/l10n/de.json +117 -6
  267. package/templates/restaurant/l10n/el.json +117 -6
  268. package/templates/restaurant/l10n/en.json +81 -9
  269. package/templates/restaurant/l10n/es.json +117 -6
  270. package/templates/restaurant/l10n/fi.json +117 -6
  271. package/templates/restaurant/l10n/fr.json +117 -6
  272. package/templates/restaurant/l10n/he.json +96 -5
  273. package/templates/restaurant/l10n/hu.json +117 -6
  274. package/templates/restaurant/l10n/id.json +117 -6
  275. package/templates/restaurant/l10n/it.json +117 -6
  276. package/templates/restaurant/l10n/ja.json +117 -6
  277. package/templates/restaurant/l10n/ko.json +117 -6
  278. package/templates/restaurant/l10n/lt.json +117 -6
  279. package/templates/restaurant/l10n/nl.json +117 -6
  280. package/templates/restaurant/l10n/no.json +117 -6
  281. package/templates/restaurant/l10n/pl.json +117 -6
  282. package/templates/restaurant/l10n/pt.json +117 -6
  283. package/templates/restaurant/l10n/ru.json +117 -6
  284. package/templates/restaurant/l10n/sv.json +117 -6
  285. package/templates/restaurant/l10n/th.json +117 -6
  286. package/templates/restaurant/l10n/tr.json +117 -6
  287. package/templates/restaurant/l10n/uk.json +117 -6
  288. package/templates/restaurant/l10n/vi.json +117 -6
  289. package/templates/restaurant/l10n/zh.json +117 -6
  290. package/templates/restaurant/tier5-src/_shared/about-text.ts +8 -0
  291. package/templates/restaurant/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  292. package/templates/retail-store/dev/index.ts +1115 -153
  293. package/templates/retail-store/l10n/ar.json +122 -12
  294. package/templates/retail-store/l10n/cs.json +122 -12
  295. package/templates/retail-store/l10n/da.json +122 -12
  296. package/templates/retail-store/l10n/de.json +122 -12
  297. package/templates/retail-store/l10n/el.json +122 -12
  298. package/templates/retail-store/l10n/en.json +81 -15
  299. package/templates/retail-store/l10n/es.json +122 -12
  300. package/templates/retail-store/l10n/fi.json +122 -12
  301. package/templates/retail-store/l10n/fr.json +122 -12
  302. package/templates/retail-store/l10n/he.json +100 -10
  303. package/templates/retail-store/l10n/hu.json +122 -12
  304. package/templates/retail-store/l10n/id.json +122 -12
  305. package/templates/retail-store/l10n/it.json +122 -12
  306. package/templates/retail-store/l10n/ja.json +122 -12
  307. package/templates/retail-store/l10n/ko.json +122 -12
  308. package/templates/retail-store/l10n/lt.json +122 -12
  309. package/templates/retail-store/l10n/nl.json +122 -12
  310. package/templates/retail-store/l10n/no.json +122 -12
  311. package/templates/retail-store/l10n/pl.json +122 -12
  312. package/templates/retail-store/l10n/pt.json +122 -12
  313. package/templates/retail-store/l10n/ru.json +122 -12
  314. package/templates/retail-store/l10n/sv.json +122 -12
  315. package/templates/retail-store/l10n/th.json +122 -12
  316. package/templates/retail-store/l10n/tr.json +122 -12
  317. package/templates/retail-store/l10n/uk.json +122 -12
  318. package/templates/retail-store/l10n/vi.json +122 -12
  319. package/templates/retail-store/l10n/zh.json +122 -12
  320. package/templates/retail-store/tier5-src/_shared/about-text.ts +8 -0
  321. package/templates/retail-store/tier5-src/_shared/himi-store-search.ts +77 -0
  322. package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +22 -8
  323. package/templates/retail-store/tier5-src/himi-branded-lite-shop/index.ts +31 -14
  324. package/templates/retail-store/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  325. package/templates/yoga-studio/dev/index.ts +1109 -147
  326. package/templates/yoga-studio/l10n/ar.json +117 -6
  327. package/templates/yoga-studio/l10n/cs.json +117 -6
  328. package/templates/yoga-studio/l10n/da.json +117 -6
  329. package/templates/yoga-studio/l10n/de.json +117 -6
  330. package/templates/yoga-studio/l10n/el.json +117 -6
  331. package/templates/yoga-studio/l10n/en.json +81 -9
  332. package/templates/yoga-studio/l10n/es.json +117 -6
  333. package/templates/yoga-studio/l10n/fi.json +117 -6
  334. package/templates/yoga-studio/l10n/fr.json +117 -6
  335. package/templates/yoga-studio/l10n/he.json +96 -5
  336. package/templates/yoga-studio/l10n/hu.json +117 -6
  337. package/templates/yoga-studio/l10n/id.json +117 -6
  338. package/templates/yoga-studio/l10n/it.json +117 -6
  339. package/templates/yoga-studio/l10n/ja.json +117 -6
  340. package/templates/yoga-studio/l10n/ko.json +117 -6
  341. package/templates/yoga-studio/l10n/lt.json +117 -6
  342. package/templates/yoga-studio/l10n/nl.json +117 -6
  343. package/templates/yoga-studio/l10n/no.json +117 -6
  344. package/templates/yoga-studio/l10n/pl.json +117 -6
  345. package/templates/yoga-studio/l10n/pt.json +117 -6
  346. package/templates/yoga-studio/l10n/ru.json +117 -6
  347. package/templates/yoga-studio/l10n/sv.json +117 -6
  348. package/templates/yoga-studio/l10n/th.json +117 -6
  349. package/templates/yoga-studio/l10n/tr.json +117 -6
  350. package/templates/yoga-studio/l10n/uk.json +117 -6
  351. package/templates/yoga-studio/l10n/vi.json +117 -6
  352. package/templates/yoga-studio/l10n/zh.json +117 -6
  353. package/templates/yoga-studio/tier5-src/_shared/about-text.ts +8 -0
  354. package/templates/yoga-studio/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  355. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  356. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  357. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  358. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  359. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  360. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  361. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  362. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  363. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  364. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  365. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  366. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +0 -119
@@ -9,6 +9,7 @@ import { detailInputId, presence, presenceAfterError, type PresenceFlags } from
9
9
  import { stashCopy, copyParam, copyTemplate } from "../_shared/himi-copy.js";
10
10
  import { FACETS_BOOT, PAGE_SIZE, applyFacets, currencyOf, facetActions, idOf, readViewPrefs, tagFields, toRows, toggleSaved, type FacetState } from "../_shared/himi-store-facets.js";
11
11
  import { refreshSavedThen } from "../_shared/himi-store-saved.js";
12
+ import { createStoreSearch } from "../_shared/himi-store-search.js";
12
13
  import { withIapPresentation } from "../_shared/iap-presentation.js";
13
14
 
14
15
  interface State extends FacetState, PresenceFlags {
@@ -46,12 +47,18 @@ const products = createCollectionQuery<StoreProduct>({
46
47
  },
47
48
  }, () => { void svc.productsChanged(); });
48
49
 
50
+ // The search field asks Wix which of the category's products match (any word, name or
51
+ // description), like Shop; offline or on a failure, the names on the device.
52
+ const search = createStoreSearch(() => { void svc.searchLanded(); });
53
+
49
54
  function derive(s: State): State {
50
55
  const page = products.getState();
51
56
  const source = s.found ? page.items : [];
52
- const query = s.query.trim().toLowerCase();
53
57
  const rows = toRows(source);
54
- const next = applyFacets(s, query ? rows.filter(row => row.name.includes(query)) : rows, source.map(currencyOf).find(Boolean));
58
+ const found = search.match(rows, categoryId, s.found ? s.query : "");
59
+ const next = applyFacets(s, found.rows, source.map(currencyOf).find(Boolean));
60
+ // While Wix answers with no name match on screen yet, the skeleton, never "no matches".
61
+ const waiting = found.searching && next.matched === 0;
55
62
  const pending = s.found && (page.status === "idle" || page.status === "loading" || page.loadingMore || (!!page.nextCursor && !page.pageError));
56
63
  const firstError = s.found && page.status === "error";
57
64
  const loaded = s.hasLoadedProducts || page.status === "ready";
@@ -68,12 +75,12 @@ function derive(s: State): State {
68
75
  opt1Chips: next.opt1Chips.map(c => ({ ...c, selected: next.opt1Selected.includes(c.id) })),
69
76
  opt2Chips: next.opt2Chips.map(c => ({ ...c, selected: next.opt2Selected.includes(c.id) })),
70
77
  opt3Chips: next.opt3Chips.map(c => ({ ...c, selected: next.opt3Selected.includes(c.id) })),
71
- countLabel: s.found && page.status === "ready" ? copyTemplate("collection.resultCount", "{count} products", { count: next.matched }) : "",
78
+ countLabel: s.found && page.status === "ready" && !found.searching ? copyTemplate("collection.resultCount", "{count} products", { count: next.matched }) : "",
72
79
  // Searching a partially loaded category must not replace its content with
73
80
  // a first-load skeleton just because the current pages have no match yet.
74
81
  hasLoadedProducts: loaded,
75
- isLoading: pending && !loaded,
76
- notLoading: !(pending && !loaded),
82
+ isLoading: (pending && !loaded) || waiting,
83
+ notLoading: !(pending && !loaded) && !waiting,
77
84
  nextCursor: next.nextCursor || (!scanning && !page.pageError ? page.nextCursor : ""),
78
85
  noMore: next.noMore && (scanning || !page.nextCursor || page.pageError),
79
86
  pendingProducts: pending,
@@ -81,8 +88,11 @@ function derive(s: State): State {
81
88
  noPageError: !s.found || !page.pageError,
82
89
  noRefreshError: !refreshFailed || !s.found || !loaded || page.pageError,
83
90
  // A filtered first page isn't proof of no matches while later pages load.
84
- noEmpty: !s.found || pending || firstError || page.pageError || next.results.length > 0,
85
- emptyText: copyParam("collection.productsEmptyBody", "Try another search or browse a different category."),
91
+ noEmpty: !s.found || pending || waiting || firstError || page.pageError || next.results.length > 0,
92
+ // Offline or a failed search is not "nothing matches": say only the names were searched.
93
+ emptyText: found.unavailable && s.query.trim()
94
+ ? copyTemplate("collection.searchUnavailable", "Search isn’t available right now. No product names match “{query}”.", { query: s.query.trim() })
95
+ : copyParam("collection.productsEmptyBody", "Try another search or browse a different category."),
86
96
  };
87
97
  }
88
98
 
@@ -112,6 +122,8 @@ const actions = {
112
122
  stashCopy(arg);
113
123
  // Hearts follow the signed-in member's account wishlist, read beside the products.
114
124
  refreshSavedThen(() => svc.savedChanged());
125
+ // A load (onAppear, pull to refresh, the error banner) asks a failed search again.
126
+ search.reset();
115
127
  const version = ++loadVersion;
116
128
  const id = detailInputId();
117
129
  if (!id) return derive({ ...s, ...presence("missing"), loadId: version });
@@ -155,6 +167,8 @@ const actions = {
155
167
  });
156
168
  },
157
169
  productsChanged: (s: State) => s.loadId === loadVersion ? derive(s) : undefined,
170
+ // Wix answered the newest search text (an older text's answer never dispatches).
171
+ searchLanded: (s: State) => derive(s),
158
172
  search: (s: State, arg?: { value?: string }) => derive({ ...s, query: (arg?.value ?? "").slice(0, 256), visible: PAGE_SIZE, cursorEpoch: s.cursorEpoch + 1 }),
159
173
  toggleSave: async (s: State, arg?: unknown): Promise<State> => { try { await toggleSaved(s.results, idOf(arg)); } catch { return s; } return derive(svc.getState() as State); },
160
174
  // The signed-in member's saved list landed: re-mark the hearts.
@@ -179,7 +193,7 @@ const actions = {
179
193
  await products.loadMore();
180
194
  return undefined;
181
195
  },
182
- retry: async () => { refreshFailed = false; await products.retry(); await readRemaining(loadVersion); return undefined; },
196
+ retry: async () => { refreshFailed = false; search.reset(); await products.retry(); await readRemaining(loadVersion); return undefined; },
183
197
  };
184
198
  const register = withIapPresentation<State>({
185
199
  prefix: "category",
@@ -4,9 +4,10 @@
4
4
  // of product cards with a saved-products heart, and a live cart count for the top bar.
5
5
  //
6
6
  // The scope is one category (or All), fetched from Wix; sort and filters then narrow
7
- // it on the device (../_shared/himi-store-facets.ts). The search field narrows it on
8
- // the device too, by product name. The first page paints as soon as it lands; later
9
- // pages join it in the background.
7
+ // it on the device (../_shared/himi-store-facets.ts). The search field asks Wix which
8
+ // products of the scope match, by any word in the name or description, and falls back to
9
+ // the names on the device offline (../_shared/himi-store-search.ts). The first page paints
10
+ // as soon as it lands; later pages join it in the background.
10
11
  //
11
12
  // Opened with `category` = a category id or name; absent ⇒ All.
12
13
  import { getCurrentCart } from "@himalaya/wix-ecom";
@@ -21,6 +22,7 @@ import {
21
22
  type FacetState, type Option, type Row,
22
23
  } from "../_shared/himi-store-facets.js";
23
24
  import { refreshSavedThen } from "../_shared/himi-store-saved.js";
25
+ import { createStoreSearch } from "../_shared/himi-store-search.js";
24
26
 
25
27
  const ALL = "all";
26
28
  const PAGE = 100;
@@ -43,7 +45,7 @@ interface S extends FacetState {
43
45
  categorySelected: string;
44
46
  /** The scope generation this state was derived for — see `committed`. */
45
47
  scopeGen: number;
46
- /** The search field's text; matches product names within the category. */
48
+ /** The search field's text; Wix matches it within the category (names on the device offline). */
47
49
  query: string;
48
50
  /** The chip row: All plus one chip per store category, with its selected state. */
49
51
  categoryOptions: Option[];
@@ -169,21 +171,26 @@ function reconcileCategories(): { invalidatedSelection: boolean; intentVersion:
169
171
  return { invalidatedSelection, intentVersion: categoryIntentVersion };
170
172
  }
171
173
 
174
+ /** The answer for the newest search text landed (or failed): re-derive the page as it is now. */
175
+ const search = createStoreSearch(() => { void svc.searchLanded(); });
176
+
172
177
  function derive(s: S): S {
173
178
  // The field keeps exactly what the shopper typed (a trailing space included); the match trims.
174
179
  const typed = s.query.trim();
175
- const q = typed.toLowerCase();
176
- const next = applyFacets(s, q ? rows.filter((r) => r.name.includes(q)) : rows, currency);
180
+ const found = search.match(rows, s.categorySelected === ALL ? "" : s.categorySelected, s.query);
181
+ const next = applyFacets(s, found.rows, currency);
177
182
  const n = next.matched;
178
- const ready = s.status === "ready";
183
+ // While Wix answers, the name matches show; with none yet, the skeleton, never "no matches".
184
+ const waiting = found.searching && n === 0;
185
+ const ready = s.status === "ready" && !waiting;
179
186
  const readMessage = !s.readStatus.hasSnapshot && s.readStatus.offline
180
187
  ? "This content isn’t available offline. Connect to load it."
181
188
  : s.readStatus.error || "";
182
189
  const choices = [{ id: ALL, label: copyParam("shop.allChip", "All") }, ...categories.map((c) => ({ id: c.id, label: c.name }))];
183
190
  return {
184
191
  ...next,
185
- isLoading: s.status === "loading",
186
- notLoading: s.status !== "loading",
192
+ isLoading: s.status === "loading" || waiting,
193
+ notLoading: s.status !== "loading" && !waiting,
187
194
  isErrored: s.status === "error",
188
195
  notErrored: s.status !== "error",
189
196
  // The shared shell owns offline/stale messages; this former local-DB note stays hidden.
@@ -191,10 +198,14 @@ function derive(s: S): S {
191
198
  readMessage, noReadMessage: !readMessage, hasReadMessage: !!readMessage,
192
199
  categoryOptions: choices.map((c) => option(c, c.id === s.categorySelected)),
193
200
  hideCategories: categories.length === 0,
194
- countLabel: ready ? countText(n) : "",
201
+ // A count that grows when the answer lands would read as a wrong count: none until then.
202
+ countLabel: ready && !found.searching ? countText(n) : "",
195
203
  noEmpty: !ready || n > 0,
204
+ // Offline or a failed search is not "nothing matches": say only the names were searched.
196
205
  emptyText: typed
197
- ? copyTemplate("shop.noQueryMatch", "No products match “{query}”.", { query: typed })
206
+ ? found.unavailable
207
+ ? copyTemplate("shop.searchUnavailable", "Search isn’t available right now. No product names match “{query}”.", { query: typed })
208
+ : copyTemplate("shop.noQueryMatch", "No products match “{query}”.", { query: typed })
198
209
  : next.activeFilters
199
210
  ? copyParam("shop.noMatchText", "No products match these filters.")
200
211
  : s.categorySelected !== ALL
@@ -613,7 +624,7 @@ const BOOT: S = derive({
613
624
  });
614
625
 
615
626
  const facets = facetActions<S>(derive);
616
- const CONTENT = ["readChanged", "load", "refresh", "retry", "loaded", "scopeLanded", "scopeGrew", "selectCategory", "search", "toggleSave", "loadMore", ...Object.keys(facets)];
627
+ const CONTENT = ["readChanged", "load", "refresh", "retry", "loaded", "scopeLanded", "scopeGrew", "selectCategory", "search", "searchLanded", "toggleSave", "loadMore", ...Object.keys(facets)];
617
628
  const register = withIapPresentation<S>({
618
629
  // Restored from the last run, these painted a state this boot has not reached: a count over
619
630
  // no cards, an open sheet, a stale scope generation that defeats `committed`, a search
@@ -677,12 +688,15 @@ const svc = register<S, Record<string, A>>("himiBrandedShop", {
677
688
  load: (s, arg) => load(s, arg),
678
689
  // Pull to refresh: the categories and the scope again, from Wix.
679
690
  refresh: async (s, arg) => {
691
+ // A pull to refresh asks the search again too (a failed one gets its retry here).
692
+ search.reset();
680
693
  const next = await load(s, arg, true);
681
694
  // The result owns its scope; another action may have changed the globals during load.
682
695
  return next ? settledWithin(next, next.categorySelected, next.scopeGen) : undefined;
683
696
  },
684
- retry: (s) => settledWithin(showScope(s, s.categorySelected, true), s.categorySelected, generation),
685
- recover: async () => { await fetchScope(selectedCategory, generation, true); return undefined; },
697
+ // Retry and reconnect recovery ask a failed search again too, like a pull to refresh.
698
+ retry: (s) => { search.reset(); return settledWithin(showScope(s, s.categorySelected, true), s.categorySelected, generation); },
699
+ recover: async () => { search.reset(); await fetchScope(selectedCategory, generation, true); return undefined; },
686
700
  readChanged: (s, arg) => {
687
701
  if (!arg || typeof arg !== 'object') return undefined;
688
702
  const value = arg as { gen: number; category: string; readStatus: ReadStatus };
@@ -736,6 +750,8 @@ const svc = register<S, Record<string, A>>("himiBrandedShop", {
736
750
  if (query === s.query) return s;
737
751
  return derive({ ...s, query, ...(query.trim() === s.query.trim() ? {} : { visible: PAGE_SIZE, cursorEpoch: s.cursorEpoch + 1 }) });
738
752
  },
753
+ // Wix answered the newest search text (an older text's answer never dispatches).
754
+ searchLanded: (s) => derive(s),
739
755
  toggleSave: async (s, arg): Promise<S> => {
740
756
  try { await toggleSaved(s.results, idOf(arg)); } catch { return s; }
741
757
  // The page as it is now: other actions may have run while the save was on the wire.
@@ -755,6 +771,7 @@ const svc = register<S, Record<string, A>>("himiBrandedShop", {
755
771
  rows = []; currency = undefined; categories = []; categoriesAuthoritative = false;
756
772
  scopes.clear(); pendingScopes.clear(); pendingRefreshScopes.clear();
757
773
  loadedCartCount = 0; pendingAuxiliary = undefined; pendingCategoriesRead = undefined;
774
+ search.reset();
758
775
  void svc.identityChanged();
759
776
  });
760
777
  svc.load();