@wix/himalaya-cli 0.2052.0 → 0.2054.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 (483) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +31 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +12 -0
  3. package/dist/cli.mjs +8 -3
  4. package/fixtures/wix-canned.json +1 -0
  5. package/guides/sdk-reference.json +35 -1
  6. package/package.json +2 -2
  7. package/templates/bare-fashion/tier5-src/_shared/about-text.ts +8 -0
  8. package/templates/bare-fashion/tier5-src/_shared/detail-presence.ts +51 -0
  9. package/templates/bare-fashion/tier5-src/_shared/owner-editor-value.ts +164 -0
  10. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  11. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  12. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  13. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  14. package/templates/beauty-salon/config.ts +7 -0
  15. package/templates/beauty-salon/dev/index.ts +1568 -171
  16. package/templates/beauty-salon/himalaya.content.json +3 -0
  17. package/templates/beauty-salon/l10n/ar.json +150 -6
  18. package/templates/beauty-salon/l10n/cs.json +150 -6
  19. package/templates/beauty-salon/l10n/da.json +150 -6
  20. package/templates/beauty-salon/l10n/de.json +150 -6
  21. package/templates/beauty-salon/l10n/el.json +150 -6
  22. package/templates/beauty-salon/l10n/en.json +102 -9
  23. package/templates/beauty-salon/l10n/es.json +150 -6
  24. package/templates/beauty-salon/l10n/fi.json +150 -6
  25. package/templates/beauty-salon/l10n/fr.json +150 -6
  26. package/templates/beauty-salon/l10n/he.json +119 -5
  27. package/templates/beauty-salon/l10n/hu.json +150 -6
  28. package/templates/beauty-salon/l10n/id.json +150 -6
  29. package/templates/beauty-salon/l10n/it.json +150 -6
  30. package/templates/beauty-salon/l10n/ja.json +150 -6
  31. package/templates/beauty-salon/l10n/ko.json +150 -6
  32. package/templates/beauty-salon/l10n/lt.json +150 -6
  33. package/templates/beauty-salon/l10n/nl.json +150 -6
  34. package/templates/beauty-salon/l10n/no.json +150 -6
  35. package/templates/beauty-salon/l10n/pl.json +150 -6
  36. package/templates/beauty-salon/l10n/pt.json +150 -6
  37. package/templates/beauty-salon/l10n/ru.json +150 -6
  38. package/templates/beauty-salon/l10n/sv.json +150 -6
  39. package/templates/beauty-salon/l10n/th.json +150 -6
  40. package/templates/beauty-salon/l10n/tr.json +150 -6
  41. package/templates/beauty-salon/l10n/uk.json +150 -6
  42. package/templates/beauty-salon/l10n/vi.json +150 -6
  43. package/templates/beauty-salon/l10n/zh.json +150 -6
  44. package/templates/beauty-salon/tier5-src/_shared/about-text.ts +8 -0
  45. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  46. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  47. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  48. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  49. package/templates/beauty-salon/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  50. package/templates/branded-lite/config.ts +7 -0
  51. package/templates/branded-lite/dev/index.ts +2048 -167
  52. package/templates/branded-lite/himalaya.content.json +3 -0
  53. package/templates/branded-lite/l10n/ar.json +74 -6
  54. package/templates/branded-lite/l10n/cs.json +74 -6
  55. package/templates/branded-lite/l10n/da.json +74 -6
  56. package/templates/branded-lite/l10n/de.json +74 -6
  57. package/templates/branded-lite/l10n/el.json +74 -6
  58. package/templates/branded-lite/l10n/en.json +67 -11
  59. package/templates/branded-lite/l10n/es.json +74 -6
  60. package/templates/branded-lite/l10n/fi.json +74 -6
  61. package/templates/branded-lite/l10n/fr.json +74 -6
  62. package/templates/branded-lite/l10n/he.json +57 -5
  63. package/templates/branded-lite/l10n/hu.json +74 -6
  64. package/templates/branded-lite/l10n/id.json +74 -6
  65. package/templates/branded-lite/l10n/it.json +74 -6
  66. package/templates/branded-lite/l10n/ja.json +74 -6
  67. package/templates/branded-lite/l10n/ko.json +74 -6
  68. package/templates/branded-lite/l10n/lt.json +74 -6
  69. package/templates/branded-lite/l10n/nl.json +74 -6
  70. package/templates/branded-lite/l10n/no.json +74 -6
  71. package/templates/branded-lite/l10n/pl.json +74 -6
  72. package/templates/branded-lite/l10n/pt.json +74 -6
  73. package/templates/branded-lite/l10n/ru.json +74 -6
  74. package/templates/branded-lite/l10n/sv.json +74 -6
  75. package/templates/branded-lite/l10n/th.json +74 -6
  76. package/templates/branded-lite/l10n/tr.json +74 -6
  77. package/templates/branded-lite/l10n/uk.json +74 -6
  78. package/templates/branded-lite/l10n/vi.json +74 -6
  79. package/templates/branded-lite/l10n/zh.json +74 -6
  80. package/templates/branded-lite/tier5-src/_shared/about-text.ts +8 -0
  81. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  82. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  83. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  84. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  85. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +247 -34
  86. package/templates/brandy/tier5-src/_shared/about-text.ts +8 -0
  87. package/templates/brandy/tier5-src/_shared/owner-editor-value.ts +164 -0
  88. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  89. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  90. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  91. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  92. package/templates/community-club/config.ts +7 -0
  93. package/templates/community-club/dev/index.ts +1813 -171
  94. package/templates/community-club/himalaya.content.json +3 -0
  95. package/templates/community-club/l10n/ar.json +151 -12
  96. package/templates/community-club/l10n/cs.json +151 -12
  97. package/templates/community-club/l10n/da.json +151 -12
  98. package/templates/community-club/l10n/de.json +151 -12
  99. package/templates/community-club/l10n/el.json +151 -12
  100. package/templates/community-club/l10n/en.json +107 -15
  101. package/templates/community-club/l10n/es.json +151 -12
  102. package/templates/community-club/l10n/fi.json +151 -12
  103. package/templates/community-club/l10n/fr.json +151 -12
  104. package/templates/community-club/l10n/he.json +125 -10
  105. package/templates/community-club/l10n/hu.json +151 -12
  106. package/templates/community-club/l10n/id.json +151 -12
  107. package/templates/community-club/l10n/it.json +151 -12
  108. package/templates/community-club/l10n/ja.json +151 -12
  109. package/templates/community-club/l10n/ko.json +151 -12
  110. package/templates/community-club/l10n/lt.json +151 -12
  111. package/templates/community-club/l10n/nl.json +151 -12
  112. package/templates/community-club/l10n/no.json +151 -12
  113. package/templates/community-club/l10n/pl.json +151 -12
  114. package/templates/community-club/l10n/pt.json +151 -12
  115. package/templates/community-club/l10n/ru.json +151 -12
  116. package/templates/community-club/l10n/sv.json +151 -12
  117. package/templates/community-club/l10n/th.json +151 -12
  118. package/templates/community-club/l10n/tr.json +151 -12
  119. package/templates/community-club/l10n/uk.json +151 -12
  120. package/templates/community-club/l10n/vi.json +151 -12
  121. package/templates/community-club/l10n/zh.json +151 -12
  122. package/templates/community-club/tier5-src/_shared/about-text.ts +8 -0
  123. package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
  124. package/templates/community-club/tier5-src/_shared/owner-editor-value.ts +164 -0
  125. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  126. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  127. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  128. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  129. package/templates/community-club/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  130. package/templates/conference/tier5-src/_shared/about-text.ts +8 -0
  131. package/templates/conference/tier5-src/_shared/detail-presence.ts +51 -0
  132. package/templates/conference/tier5-src/_shared/owner-editor-value.ts +164 -0
  133. package/templates/conference/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  134. package/templates/conference/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  135. package/templates/conference/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  136. package/templates/conference/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  137. package/templates/events-meetups/config.ts +7 -0
  138. package/templates/events-meetups/dev/index.ts +1817 -175
  139. package/templates/events-meetups/himalaya.content.json +3 -0
  140. package/templates/events-meetups/l10n/ar.json +151 -12
  141. package/templates/events-meetups/l10n/cs.json +151 -12
  142. package/templates/events-meetups/l10n/da.json +151 -12
  143. package/templates/events-meetups/l10n/de.json +151 -12
  144. package/templates/events-meetups/l10n/el.json +151 -12
  145. package/templates/events-meetups/l10n/en.json +107 -15
  146. package/templates/events-meetups/l10n/es.json +151 -12
  147. package/templates/events-meetups/l10n/fi.json +151 -12
  148. package/templates/events-meetups/l10n/fr.json +151 -12
  149. package/templates/events-meetups/l10n/he.json +125 -10
  150. package/templates/events-meetups/l10n/hu.json +151 -12
  151. package/templates/events-meetups/l10n/id.json +151 -12
  152. package/templates/events-meetups/l10n/it.json +151 -12
  153. package/templates/events-meetups/l10n/ja.json +151 -12
  154. package/templates/events-meetups/l10n/ko.json +151 -12
  155. package/templates/events-meetups/l10n/lt.json +151 -12
  156. package/templates/events-meetups/l10n/nl.json +151 -12
  157. package/templates/events-meetups/l10n/no.json +151 -12
  158. package/templates/events-meetups/l10n/pl.json +151 -12
  159. package/templates/events-meetups/l10n/pt.json +151 -12
  160. package/templates/events-meetups/l10n/ru.json +151 -12
  161. package/templates/events-meetups/l10n/sv.json +151 -12
  162. package/templates/events-meetups/l10n/th.json +151 -12
  163. package/templates/events-meetups/l10n/tr.json +151 -12
  164. package/templates/events-meetups/l10n/uk.json +151 -12
  165. package/templates/events-meetups/l10n/vi.json +151 -12
  166. package/templates/events-meetups/l10n/zh.json +151 -12
  167. package/templates/events-meetups/tier5-src/_shared/about-text.ts +8 -0
  168. package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
  169. package/templates/events-meetups/tier5-src/_shared/owner-editor-value.ts +164 -0
  170. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  171. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  172. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  173. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  174. package/templates/events-meetups/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  175. package/templates/fitness-gym/tier5-src/_shared/about-text.ts +8 -0
  176. package/templates/fitness-gym/tier5-src/_shared/owner-editor-value.ts +164 -0
  177. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  178. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  179. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  180. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  181. package/templates/gym-fitness/config.ts +7 -0
  182. package/templates/gym-fitness/dev/index.ts +1568 -171
  183. package/templates/gym-fitness/himalaya.content.json +3 -0
  184. package/templates/gym-fitness/l10n/ar.json +150 -6
  185. package/templates/gym-fitness/l10n/cs.json +150 -6
  186. package/templates/gym-fitness/l10n/da.json +150 -6
  187. package/templates/gym-fitness/l10n/de.json +150 -6
  188. package/templates/gym-fitness/l10n/el.json +150 -6
  189. package/templates/gym-fitness/l10n/en.json +102 -9
  190. package/templates/gym-fitness/l10n/es.json +150 -6
  191. package/templates/gym-fitness/l10n/fi.json +150 -6
  192. package/templates/gym-fitness/l10n/fr.json +150 -6
  193. package/templates/gym-fitness/l10n/he.json +119 -5
  194. package/templates/gym-fitness/l10n/hu.json +150 -6
  195. package/templates/gym-fitness/l10n/id.json +150 -6
  196. package/templates/gym-fitness/l10n/it.json +150 -6
  197. package/templates/gym-fitness/l10n/ja.json +150 -6
  198. package/templates/gym-fitness/l10n/ko.json +150 -6
  199. package/templates/gym-fitness/l10n/lt.json +150 -6
  200. package/templates/gym-fitness/l10n/nl.json +150 -6
  201. package/templates/gym-fitness/l10n/no.json +150 -6
  202. package/templates/gym-fitness/l10n/pl.json +150 -6
  203. package/templates/gym-fitness/l10n/pt.json +150 -6
  204. package/templates/gym-fitness/l10n/ru.json +150 -6
  205. package/templates/gym-fitness/l10n/sv.json +150 -6
  206. package/templates/gym-fitness/l10n/th.json +150 -6
  207. package/templates/gym-fitness/l10n/tr.json +150 -6
  208. package/templates/gym-fitness/l10n/uk.json +150 -6
  209. package/templates/gym-fitness/l10n/vi.json +150 -6
  210. package/templates/gym-fitness/l10n/zh.json +150 -6
  211. package/templates/gym-fitness/tier5-src/_shared/about-text.ts +8 -0
  212. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  213. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  214. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  215. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  216. package/templates/gym-fitness/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  217. package/templates/medical-services/tier5-src/_shared/about-text.ts +8 -0
  218. package/templates/medical-services/tier5-src/_shared/detail-presence.ts +51 -0
  219. package/templates/medical-services/tier5-src/_shared/owner-editor-value.ts +164 -0
  220. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  221. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  222. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  223. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  224. package/templates/nonprofit-cause/config.ts +7 -0
  225. package/templates/nonprofit-cause/dev/index.ts +1816 -174
  226. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  227. package/templates/nonprofit-cause/l10n/ar.json +151 -6
  228. package/templates/nonprofit-cause/l10n/cs.json +151 -6
  229. package/templates/nonprofit-cause/l10n/da.json +151 -6
  230. package/templates/nonprofit-cause/l10n/de.json +151 -6
  231. package/templates/nonprofit-cause/l10n/el.json +151 -6
  232. package/templates/nonprofit-cause/l10n/en.json +107 -9
  233. package/templates/nonprofit-cause/l10n/es.json +151 -6
  234. package/templates/nonprofit-cause/l10n/fi.json +151 -6
  235. package/templates/nonprofit-cause/l10n/fr.json +151 -6
  236. package/templates/nonprofit-cause/l10n/he.json +125 -5
  237. package/templates/nonprofit-cause/l10n/hu.json +151 -6
  238. package/templates/nonprofit-cause/l10n/id.json +151 -6
  239. package/templates/nonprofit-cause/l10n/it.json +151 -6
  240. package/templates/nonprofit-cause/l10n/ja.json +151 -6
  241. package/templates/nonprofit-cause/l10n/ko.json +151 -6
  242. package/templates/nonprofit-cause/l10n/lt.json +151 -6
  243. package/templates/nonprofit-cause/l10n/nl.json +151 -6
  244. package/templates/nonprofit-cause/l10n/no.json +151 -6
  245. package/templates/nonprofit-cause/l10n/pl.json +151 -6
  246. package/templates/nonprofit-cause/l10n/pt.json +151 -6
  247. package/templates/nonprofit-cause/l10n/ru.json +151 -6
  248. package/templates/nonprofit-cause/l10n/sv.json +151 -6
  249. package/templates/nonprofit-cause/l10n/th.json +151 -6
  250. package/templates/nonprofit-cause/l10n/tr.json +151 -6
  251. package/templates/nonprofit-cause/l10n/uk.json +151 -6
  252. package/templates/nonprofit-cause/l10n/vi.json +151 -6
  253. package/templates/nonprofit-cause/l10n/zh.json +151 -6
  254. package/templates/nonprofit-cause/tier5-src/_shared/about-text.ts +8 -0
  255. package/templates/nonprofit-cause/tier5-src/_shared/owner-editor-value.ts +164 -0
  256. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  257. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  258. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  259. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  260. package/templates/nonprofit-cause/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  261. package/templates/personal-fitness-trainer/dev/index.ts +641 -75
  262. package/templates/personal-fitness-trainer/tier5-src/_shared/about-text.ts +8 -0
  263. package/templates/personal-fitness-trainer/tier5-src/_shared/group-member-count.ts +15 -0
  264. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-media.ts +33 -0
  265. package/templates/personal-fitness-trainer/tier5-src/_shared/owner-editor-value.ts +164 -0
  266. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  267. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  268. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  269. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  270. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  271. package/templates/personal-fitness-trainer/tokens.json +6 -0
  272. package/templates/podcast-creator/config.ts +7 -0
  273. package/templates/podcast-creator/dev/index.ts +1571 -174
  274. package/templates/podcast-creator/himalaya.content.json +3 -0
  275. package/templates/podcast-creator/l10n/ar.json +145 -6
  276. package/templates/podcast-creator/l10n/cs.json +145 -6
  277. package/templates/podcast-creator/l10n/da.json +145 -6
  278. package/templates/podcast-creator/l10n/de.json +145 -6
  279. package/templates/podcast-creator/l10n/el.json +145 -6
  280. package/templates/podcast-creator/l10n/en.json +102 -9
  281. package/templates/podcast-creator/l10n/es.json +145 -6
  282. package/templates/podcast-creator/l10n/fi.json +145 -6
  283. package/templates/podcast-creator/l10n/fr.json +145 -6
  284. package/templates/podcast-creator/l10n/he.json +119 -5
  285. package/templates/podcast-creator/l10n/hu.json +145 -6
  286. package/templates/podcast-creator/l10n/id.json +145 -6
  287. package/templates/podcast-creator/l10n/it.json +145 -6
  288. package/templates/podcast-creator/l10n/ja.json +145 -6
  289. package/templates/podcast-creator/l10n/ko.json +145 -6
  290. package/templates/podcast-creator/l10n/lt.json +145 -6
  291. package/templates/podcast-creator/l10n/nl.json +145 -6
  292. package/templates/podcast-creator/l10n/no.json +145 -6
  293. package/templates/podcast-creator/l10n/pl.json +145 -6
  294. package/templates/podcast-creator/l10n/pt.json +145 -6
  295. package/templates/podcast-creator/l10n/ru.json +145 -6
  296. package/templates/podcast-creator/l10n/sv.json +145 -6
  297. package/templates/podcast-creator/l10n/th.json +145 -6
  298. package/templates/podcast-creator/l10n/tr.json +145 -6
  299. package/templates/podcast-creator/l10n/uk.json +145 -6
  300. package/templates/podcast-creator/l10n/vi.json +145 -6
  301. package/templates/podcast-creator/l10n/zh.json +145 -6
  302. package/templates/podcast-creator/tier5-src/_shared/about-text.ts +8 -0
  303. package/templates/podcast-creator/tier5-src/_shared/owner-editor-value.ts +164 -0
  304. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  305. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  306. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  307. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  308. package/templates/podcast-creator/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  309. package/templates/portfolio-creative/config.ts +7 -0
  310. package/templates/portfolio-creative/dev/index.ts +1571 -174
  311. package/templates/portfolio-creative/himalaya.content.json +3 -0
  312. package/templates/portfolio-creative/l10n/ar.json +150 -12
  313. package/templates/portfolio-creative/l10n/cs.json +150 -12
  314. package/templates/portfolio-creative/l10n/da.json +150 -12
  315. package/templates/portfolio-creative/l10n/de.json +150 -12
  316. package/templates/portfolio-creative/l10n/el.json +150 -12
  317. package/templates/portfolio-creative/l10n/en.json +102 -15
  318. package/templates/portfolio-creative/l10n/es.json +150 -12
  319. package/templates/portfolio-creative/l10n/fi.json +150 -12
  320. package/templates/portfolio-creative/l10n/fr.json +150 -12
  321. package/templates/portfolio-creative/l10n/he.json +119 -10
  322. package/templates/portfolio-creative/l10n/hu.json +150 -12
  323. package/templates/portfolio-creative/l10n/id.json +150 -12
  324. package/templates/portfolio-creative/l10n/it.json +150 -12
  325. package/templates/portfolio-creative/l10n/ja.json +150 -12
  326. package/templates/portfolio-creative/l10n/ko.json +150 -12
  327. package/templates/portfolio-creative/l10n/lt.json +150 -12
  328. package/templates/portfolio-creative/l10n/nl.json +150 -12
  329. package/templates/portfolio-creative/l10n/no.json +150 -12
  330. package/templates/portfolio-creative/l10n/pl.json +150 -12
  331. package/templates/portfolio-creative/l10n/pt.json +150 -12
  332. package/templates/portfolio-creative/l10n/ru.json +150 -12
  333. package/templates/portfolio-creative/l10n/sv.json +150 -12
  334. package/templates/portfolio-creative/l10n/th.json +150 -12
  335. package/templates/portfolio-creative/l10n/tr.json +150 -12
  336. package/templates/portfolio-creative/l10n/uk.json +150 -12
  337. package/templates/portfolio-creative/l10n/vi.json +150 -12
  338. package/templates/portfolio-creative/l10n/zh.json +150 -12
  339. package/templates/portfolio-creative/tier5-src/_shared/about-text.ts +8 -0
  340. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  341. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  342. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  343. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  344. package/templates/portfolio-creative/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  345. package/templates/professional-services/tier5-src/_shared/about-text.ts +8 -0
  346. package/templates/professional-services/tier5-src/_shared/owner-editor-value.ts +164 -0
  347. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  348. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  349. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  350. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  351. package/templates/restaurant/config.ts +7 -0
  352. package/templates/restaurant/dev/index.ts +1571 -174
  353. package/templates/restaurant/himalaya.content.json +3 -0
  354. package/templates/restaurant/l10n/ar.json +145 -6
  355. package/templates/restaurant/l10n/cs.json +145 -6
  356. package/templates/restaurant/l10n/da.json +145 -6
  357. package/templates/restaurant/l10n/de.json +145 -6
  358. package/templates/restaurant/l10n/el.json +145 -6
  359. package/templates/restaurant/l10n/en.json +102 -9
  360. package/templates/restaurant/l10n/es.json +145 -6
  361. package/templates/restaurant/l10n/fi.json +145 -6
  362. package/templates/restaurant/l10n/fr.json +145 -6
  363. package/templates/restaurant/l10n/he.json +119 -5
  364. package/templates/restaurant/l10n/hu.json +145 -6
  365. package/templates/restaurant/l10n/id.json +145 -6
  366. package/templates/restaurant/l10n/it.json +145 -6
  367. package/templates/restaurant/l10n/ja.json +145 -6
  368. package/templates/restaurant/l10n/ko.json +145 -6
  369. package/templates/restaurant/l10n/lt.json +145 -6
  370. package/templates/restaurant/l10n/nl.json +145 -6
  371. package/templates/restaurant/l10n/no.json +145 -6
  372. package/templates/restaurant/l10n/pl.json +145 -6
  373. package/templates/restaurant/l10n/pt.json +145 -6
  374. package/templates/restaurant/l10n/ru.json +145 -6
  375. package/templates/restaurant/l10n/sv.json +145 -6
  376. package/templates/restaurant/l10n/th.json +145 -6
  377. package/templates/restaurant/l10n/tr.json +145 -6
  378. package/templates/restaurant/l10n/uk.json +145 -6
  379. package/templates/restaurant/l10n/vi.json +145 -6
  380. package/templates/restaurant/l10n/zh.json +145 -6
  381. package/templates/restaurant/tier5-src/_shared/about-text.ts +8 -0
  382. package/templates/restaurant/tier5-src/_shared/owner-editor-value.ts +164 -0
  383. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  384. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  385. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  386. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  387. package/templates/restaurant/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  388. package/templates/retail-store/config.ts +7 -0
  389. package/templates/retail-store/dev/index.ts +1572 -175
  390. package/templates/retail-store/himalaya.content.json +3 -0
  391. package/templates/retail-store/l10n/ar.json +150 -12
  392. package/templates/retail-store/l10n/cs.json +150 -12
  393. package/templates/retail-store/l10n/da.json +150 -12
  394. package/templates/retail-store/l10n/de.json +150 -12
  395. package/templates/retail-store/l10n/el.json +150 -12
  396. package/templates/retail-store/l10n/en.json +102 -15
  397. package/templates/retail-store/l10n/es.json +150 -12
  398. package/templates/retail-store/l10n/fi.json +150 -12
  399. package/templates/retail-store/l10n/fr.json +150 -12
  400. package/templates/retail-store/l10n/he.json +119 -10
  401. package/templates/retail-store/l10n/hu.json +150 -12
  402. package/templates/retail-store/l10n/id.json +150 -12
  403. package/templates/retail-store/l10n/it.json +150 -12
  404. package/templates/retail-store/l10n/ja.json +150 -12
  405. package/templates/retail-store/l10n/ko.json +150 -12
  406. package/templates/retail-store/l10n/lt.json +150 -12
  407. package/templates/retail-store/l10n/nl.json +150 -12
  408. package/templates/retail-store/l10n/no.json +150 -12
  409. package/templates/retail-store/l10n/pl.json +150 -12
  410. package/templates/retail-store/l10n/pt.json +150 -12
  411. package/templates/retail-store/l10n/ru.json +150 -12
  412. package/templates/retail-store/l10n/sv.json +150 -12
  413. package/templates/retail-store/l10n/th.json +150 -12
  414. package/templates/retail-store/l10n/tr.json +150 -12
  415. package/templates/retail-store/l10n/uk.json +150 -12
  416. package/templates/retail-store/l10n/vi.json +150 -12
  417. package/templates/retail-store/l10n/zh.json +150 -12
  418. package/templates/retail-store/tier5-src/_shared/about-text.ts +8 -0
  419. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  420. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  421. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  422. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  423. package/templates/retail-store/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  424. package/templates/salon-spa/tier5-src/_shared/about-text.ts +8 -0
  425. package/templates/salon-spa/tier5-src/_shared/owner-editor-value.ts +164 -0
  426. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  427. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  428. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  429. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  430. package/templates/wholesale-store/tier5-src/_shared/about-text.ts +8 -0
  431. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  432. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  433. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  434. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  435. package/templates/yoga-studio/config.ts +7 -0
  436. package/templates/yoga-studio/dev/index.ts +1567 -170
  437. package/templates/yoga-studio/himalaya.content.json +3 -0
  438. package/templates/yoga-studio/l10n/ar.json +145 -6
  439. package/templates/yoga-studio/l10n/cs.json +145 -6
  440. package/templates/yoga-studio/l10n/da.json +145 -6
  441. package/templates/yoga-studio/l10n/de.json +145 -6
  442. package/templates/yoga-studio/l10n/el.json +145 -6
  443. package/templates/yoga-studio/l10n/en.json +102 -9
  444. package/templates/yoga-studio/l10n/es.json +145 -6
  445. package/templates/yoga-studio/l10n/fi.json +145 -6
  446. package/templates/yoga-studio/l10n/fr.json +145 -6
  447. package/templates/yoga-studio/l10n/he.json +119 -5
  448. package/templates/yoga-studio/l10n/hu.json +145 -6
  449. package/templates/yoga-studio/l10n/id.json +145 -6
  450. package/templates/yoga-studio/l10n/it.json +145 -6
  451. package/templates/yoga-studio/l10n/ja.json +145 -6
  452. package/templates/yoga-studio/l10n/ko.json +145 -6
  453. package/templates/yoga-studio/l10n/lt.json +145 -6
  454. package/templates/yoga-studio/l10n/nl.json +145 -6
  455. package/templates/yoga-studio/l10n/no.json +145 -6
  456. package/templates/yoga-studio/l10n/pl.json +145 -6
  457. package/templates/yoga-studio/l10n/pt.json +145 -6
  458. package/templates/yoga-studio/l10n/ru.json +145 -6
  459. package/templates/yoga-studio/l10n/sv.json +145 -6
  460. package/templates/yoga-studio/l10n/th.json +145 -6
  461. package/templates/yoga-studio/l10n/tr.json +145 -6
  462. package/templates/yoga-studio/l10n/uk.json +145 -6
  463. package/templates/yoga-studio/l10n/vi.json +145 -6
  464. package/templates/yoga-studio/l10n/zh.json +145 -6
  465. package/templates/yoga-studio/tier5-src/_shared/about-text.ts +8 -0
  466. package/templates/yoga-studio/tier5-src/_shared/owner-editor-value.ts +164 -0
  467. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  468. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  469. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  470. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  471. package/templates/yoga-studio/tier5-src/wix-spaces-member-detail/index.ts +769 -0
  472. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  473. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  474. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  475. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  476. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  477. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  478. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  479. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  480. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  481. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  482. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +0 -119
  483. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +0 -119
@@ -1,119 +0,0 @@
1
- // Tier-5 bundle: Wix Spaces clone — View Profile (member's own public profile).
2
- // Prefer site Members Area (`GET /members/v1/members/my`) + session email; never
3
- // paint the seeded "apptestercoowner" demo identity when the session is a real
4
- // member (or a guest — show honesty instead).
5
- import { defineService } from "@himalaya/state";
6
- import { memberAccess } from "../_shared/member-access.js";
7
- import { getMyData, displayName } from "@himalaya/wix-users";
8
-
9
- // `needsSignIn` / `noSignIn` drive the shared member gate: a guest gets the
10
- // gate with a Sign in button and no placeholder profile. `profileHidden` stays true until
11
- // `load` has resolved a member, so a guest never glimpses the placeholder avatar while
12
- // the membership check is still running; `hideLoading` is false for exactly that moment,
13
- // so the screen shows a loading line instead of going blank.
14
- interface S { status: "loading" | "ready"; name: string; handle: string; about: string; initial: string; photo: string; needsSignIn: boolean; noSignIn: boolean; profileHidden: boolean; hideLoading: boolean; hideError: boolean; hideAbout: boolean }
15
-
16
- const EMPTY: S = {
17
- status: "loading",
18
- name: "",
19
- handle: "",
20
- about: "No info to display.",
21
- initial: "?",
22
- photo: "",
23
- needsSignIn: false,
24
- noSignIn: true,
25
- profileHidden: true,
26
- hideLoading: false,
27
- hideError: true,
28
- hideAbout: false,
29
- };
30
-
31
- // The SAME member check create-post and orders use (`memberAccess`: the host's
32
- // memberIdentity, falling back to wix-users only on hosts that predate that action), so
33
- // one shared gate never gives two answers in one app.
34
- async function sessionEmail(): Promise<string> {
35
- return (await memberAccess()).email;
36
- }
37
-
38
- function wixApi() {
39
- return (globalThis as { himalaya?: { wixApi?: { call: (m: string, p: string, b?: unknown) => Promise<unknown> } } }).himalaya?.wixApi;
40
- }
41
-
42
- function fromParts(name: string, handleRaw: string, about: string, photo = ""): S {
43
- const clean = name.trim();
44
- const handle = "@" + (handleRaw || clean || "member").replace(/\s+/g, "").replace(/^@+/, "").toLowerCase();
45
- const initial = (clean.split(/\s+/).filter(Boolean).map((w) => w[0]).join("").slice(0, 2) || "?").toUpperCase();
46
- return { status: "ready", name: clean || "Member", handle, about: about || "No info to display.", initial, photo, needsSignIn: false, noSignIn: true, profileHidden: false, hideLoading: true, hideError: true, hideAbout: false };
47
- }
48
-
49
- async function readProfile(): Promise<S> {
50
- const email = await sessionEmail();
51
- if (!email) {
52
- return {
53
- status: "ready",
54
- // Kept for hosts without the shared member gate (the Spaces clone renders these
55
- // fields directly); branded-lite hides the profile block behind `profileHidden`.
56
- name: "Sign in to view your profile",
57
- handle: "",
58
- about: "Your public profile is available after you sign in from Account.",
59
- initial: "?",
60
- photo: "",
61
- needsSignIn: true,
62
- noSignIn: false,
63
- profileHidden: true,
64
- hideLoading: true,
65
- hideError: true,
66
- hideAbout: false,
67
- };
68
- }
69
- try {
70
- const api = wixApi();
71
- if (api) {
72
- const res = (await api.call("GET", "/members/v1/members/my?fieldSet=FULL")) as {
73
- member?: {
74
- loginEmail?: string;
75
- contact?: { firstName?: string; lastName?: string };
76
- profile?: { nickname?: string; slug?: string; title?: string; photo?: { url?: string } };
77
- };
78
- };
79
- const m = res.member;
80
- if (m) {
81
- const nick = m.profile?.nickname?.trim() || "";
82
- const full = [m.contact?.firstName, m.contact?.lastName].filter(Boolean).join(" ").trim();
83
- const name = full || nick || m.loginEmail || email;
84
- const slug = m.profile?.slug || nick || name;
85
- const about = m.profile?.title || "No info to display.";
86
- return fromParts(name, slug, about, m.profile?.photo?.url || "");
87
- }
88
- }
89
- } catch { /* fall through to users my-data / email */ }
90
- try {
91
- const d = await getMyData();
92
- const name = displayName(d) || email;
93
- const dd = d as unknown as { nickname?: string; slug?: string; about?: string; aboutPlain?: string; profile?: { photo?: { url?: string } }; photo?: { url?: string } };
94
- return fromParts(
95
- name,
96
- dd.slug || dd.nickname || name,
97
- dd.aboutPlain || dd.about || "No info to display.",
98
- dd.profile?.photo?.url || dd.photo?.url || "",
99
- );
100
- } catch {
101
- // Session identity is still known; missing profile data is not an empty biography.
102
- return { ...fromParts(email, email.split("@")[0] || email, ""), about: "Profile details could not be loaded. Please try again.", hideError: false, hideAbout: true };
103
- }
104
- }
105
- let generation = 0;
106
- const svc = defineService<S, { load: (s: S) => Promise<S | undefined> }>("spacesViewProfile", {
107
- state: { ...EMPTY },
108
- notHydrated: Object.keys(EMPTY) as (keyof S & string)[],
109
- actions: {
110
- load: async () => {
111
- const request = ++generation;
112
- const next = await readProfile();
113
- return request === generation ? next : undefined;
114
- },
115
- },
116
- });
117
- if (!(globalThis as { himalaya?: { hydrationOptOut?: boolean } }).himalaya?.hydrationOptOut) Object.assign(svc.getState(), EMPTY);
118
- void svc.load();
119
- export { svc };
@@ -1,119 +0,0 @@
1
- // Tier-5 bundle: Wix Spaces clone — View Profile (member's own public profile).
2
- // Prefer site Members Area (`GET /members/v1/members/my`) + session email; never
3
- // paint the seeded "apptestercoowner" demo identity when the session is a real
4
- // member (or a guest — show honesty instead).
5
- import { defineService } from "@himalaya/state";
6
- import { memberAccess } from "../_shared/member-access.js";
7
- import { getMyData, displayName } from "@himalaya/wix-users";
8
-
9
- // `needsSignIn` / `noSignIn` drive the shared member gate: a guest gets the
10
- // gate with a Sign in button and no placeholder profile. `profileHidden` stays true until
11
- // `load` has resolved a member, so a guest never glimpses the placeholder avatar while
12
- // the membership check is still running; `hideLoading` is false for exactly that moment,
13
- // so the screen shows a loading line instead of going blank.
14
- interface S { status: "loading" | "ready"; name: string; handle: string; about: string; initial: string; photo: string; needsSignIn: boolean; noSignIn: boolean; profileHidden: boolean; hideLoading: boolean; hideError: boolean; hideAbout: boolean }
15
-
16
- const EMPTY: S = {
17
- status: "loading",
18
- name: "",
19
- handle: "",
20
- about: "No info to display.",
21
- initial: "?",
22
- photo: "",
23
- needsSignIn: false,
24
- noSignIn: true,
25
- profileHidden: true,
26
- hideLoading: false,
27
- hideError: true,
28
- hideAbout: false,
29
- };
30
-
31
- // The SAME member check create-post and orders use (`memberAccess`: the host's
32
- // memberIdentity, falling back to wix-users only on hosts that predate that action), so
33
- // one shared gate never gives two answers in one app.
34
- async function sessionEmail(): Promise<string> {
35
- return (await memberAccess()).email;
36
- }
37
-
38
- function wixApi() {
39
- return (globalThis as { himalaya?: { wixApi?: { call: (m: string, p: string, b?: unknown) => Promise<unknown> } } }).himalaya?.wixApi;
40
- }
41
-
42
- function fromParts(name: string, handleRaw: string, about: string, photo = ""): S {
43
- const clean = name.trim();
44
- const handle = "@" + (handleRaw || clean || "member").replace(/\s+/g, "").replace(/^@+/, "").toLowerCase();
45
- const initial = (clean.split(/\s+/).filter(Boolean).map((w) => w[0]).join("").slice(0, 2) || "?").toUpperCase();
46
- return { status: "ready", name: clean || "Member", handle, about: about || "No info to display.", initial, photo, needsSignIn: false, noSignIn: true, profileHidden: false, hideLoading: true, hideError: true, hideAbout: false };
47
- }
48
-
49
- async function readProfile(): Promise<S> {
50
- const email = await sessionEmail();
51
- if (!email) {
52
- return {
53
- status: "ready",
54
- // Kept for hosts without the shared member gate (the Spaces clone renders these
55
- // fields directly); branded-lite hides the profile block behind `profileHidden`.
56
- name: "Sign in to view your profile",
57
- handle: "",
58
- about: "Your public profile is available after you sign in from Account.",
59
- initial: "?",
60
- photo: "",
61
- needsSignIn: true,
62
- noSignIn: false,
63
- profileHidden: true,
64
- hideLoading: true,
65
- hideError: true,
66
- hideAbout: false,
67
- };
68
- }
69
- try {
70
- const api = wixApi();
71
- if (api) {
72
- const res = (await api.call("GET", "/members/v1/members/my?fieldSet=FULL")) as {
73
- member?: {
74
- loginEmail?: string;
75
- contact?: { firstName?: string; lastName?: string };
76
- profile?: { nickname?: string; slug?: string; title?: string; photo?: { url?: string } };
77
- };
78
- };
79
- const m = res.member;
80
- if (m) {
81
- const nick = m.profile?.nickname?.trim() || "";
82
- const full = [m.contact?.firstName, m.contact?.lastName].filter(Boolean).join(" ").trim();
83
- const name = full || nick || m.loginEmail || email;
84
- const slug = m.profile?.slug || nick || name;
85
- const about = m.profile?.title || "No info to display.";
86
- return fromParts(name, slug, about, m.profile?.photo?.url || "");
87
- }
88
- }
89
- } catch { /* fall through to users my-data / email */ }
90
- try {
91
- const d = await getMyData();
92
- const name = displayName(d) || email;
93
- const dd = d as unknown as { nickname?: string; slug?: string; about?: string; aboutPlain?: string; profile?: { photo?: { url?: string } }; photo?: { url?: string } };
94
- return fromParts(
95
- name,
96
- dd.slug || dd.nickname || name,
97
- dd.aboutPlain || dd.about || "No info to display.",
98
- dd.profile?.photo?.url || dd.photo?.url || "",
99
- );
100
- } catch {
101
- // Session identity is still known; missing profile data is not an empty biography.
102
- return { ...fromParts(email, email.split("@")[0] || email, ""), about: "Profile details could not be loaded. Please try again.", hideError: false, hideAbout: true };
103
- }
104
- }
105
- let generation = 0;
106
- const svc = defineService<S, { load: (s: S) => Promise<S | undefined> }>("spacesViewProfile", {
107
- state: { ...EMPTY },
108
- notHydrated: Object.keys(EMPTY) as (keyof S & string)[],
109
- actions: {
110
- load: async () => {
111
- const request = ++generation;
112
- const next = await readProfile();
113
- return request === generation ? next : undefined;
114
- },
115
- },
116
- });
117
- if (!(globalThis as { himalaya?: { hydrationOptOut?: boolean } }).himalaya?.hydrationOptOut) Object.assign(svc.getState(), EMPTY);
118
- void svc.load();
119
- export { svc };