@wix/himalaya-cli 0.1870.0 → 0.1872.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 (497) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/portfolio/src/index.d.ts +19 -0
  3. package/dist/cli.mjs +90 -39
  4. package/fixtures/wix-canned.json +8 -0
  5. package/guides/android-ux.md +3 -2
  6. package/guides/designing-himi-screens.md +10 -4
  7. package/guides/ios-ux.md +3 -2
  8. package/guides/release-notes.md +18 -0
  9. package/guides/sdk-reference.json +8 -1
  10. package/package.json +2 -2
  11. package/template-icons/professional-services.png +0 -0
  12. package/templates/bare-fashion/config.ts +37 -2
  13. package/templates/bare-fashion/dev/index.ts +4006 -48
  14. package/templates/bare-fashion/himalaya.content.json +15 -0
  15. package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +6 -1
  16. package/templates/bare-fashion/tier5-src/_shared/member-account-routes.ts +56 -0
  17. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
  18. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
  19. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
  20. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
  21. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
  22. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
  23. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +6 -1
  24. package/templates/beauty-salon/tier5-src/_shared/himi-events.ts +27 -0
  25. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +6 -1
  26. package/templates/beauty-salon-owner/tier5-src/_shared/himi-events.ts +27 -0
  27. package/templates/branded-lite/dev/index.ts +22 -1
  28. package/templates/branded-lite/l10n/ar.json +10 -0
  29. package/templates/branded-lite/l10n/cs.json +10 -0
  30. package/templates/branded-lite/l10n/da.json +10 -0
  31. package/templates/branded-lite/l10n/de.json +10 -0
  32. package/templates/branded-lite/l10n/el.json +10 -0
  33. package/templates/branded-lite/l10n/es.json +10 -0
  34. package/templates/branded-lite/l10n/fi.json +10 -0
  35. package/templates/branded-lite/l10n/fr.json +10 -0
  36. package/templates/branded-lite/l10n/he.json +8 -0
  37. package/templates/branded-lite/l10n/hu.json +10 -0
  38. package/templates/branded-lite/l10n/id.json +10 -0
  39. package/templates/branded-lite/l10n/it.json +10 -0
  40. package/templates/branded-lite/l10n/ja.json +10 -0
  41. package/templates/branded-lite/l10n/ko.json +10 -0
  42. package/templates/branded-lite/l10n/lt.json +10 -0
  43. package/templates/branded-lite/l10n/nl.json +10 -0
  44. package/templates/branded-lite/l10n/no.json +10 -0
  45. package/templates/branded-lite/l10n/pl.json +10 -0
  46. package/templates/branded-lite/l10n/pt.json +10 -0
  47. package/templates/branded-lite/l10n/ru.json +10 -0
  48. package/templates/branded-lite/l10n/sv.json +10 -0
  49. package/templates/branded-lite/l10n/th.json +10 -0
  50. package/templates/branded-lite/l10n/tr.json +10 -0
  51. package/templates/branded-lite/l10n/uk.json +10 -0
  52. package/templates/branded-lite/l10n/vi.json +10 -0
  53. package/templates/branded-lite/l10n/zh.json +10 -0
  54. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +6 -1
  55. package/templates/branded-lite/tier5-src/_shared/himi-events.ts +27 -0
  56. package/templates/branded-lite/tier5-src/_shared/portfolio-details.ts +70 -0
  57. package/templates/branded-lite/tier5-src/himi-branded-lite-coupons/index.ts +13 -2
  58. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio/index.ts +90 -9
  59. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +53 -4
  60. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +3 -1
  61. package/templates/branded-lite/tier5-src/himi-events-list/index.ts +38 -8
  62. package/templates/branded-lite/tier5-src/himi-events-my-events/index.ts +4 -2
  63. package/templates/brandy/tier5-src/_shared/collection-contract.ts +6 -1
  64. package/templates/community-club/dev/index.ts +20 -0
  65. package/templates/community-club/l10n/ar.json +10 -0
  66. package/templates/community-club/l10n/cs.json +10 -0
  67. package/templates/community-club/l10n/da.json +10 -0
  68. package/templates/community-club/l10n/de.json +10 -0
  69. package/templates/community-club/l10n/el.json +10 -0
  70. package/templates/community-club/l10n/es.json +10 -0
  71. package/templates/community-club/l10n/fi.json +10 -0
  72. package/templates/community-club/l10n/fr.json +10 -0
  73. package/templates/community-club/l10n/he.json +8 -0
  74. package/templates/community-club/l10n/hu.json +10 -0
  75. package/templates/community-club/l10n/id.json +10 -0
  76. package/templates/community-club/l10n/it.json +10 -0
  77. package/templates/community-club/l10n/ja.json +10 -0
  78. package/templates/community-club/l10n/ko.json +10 -0
  79. package/templates/community-club/l10n/lt.json +10 -0
  80. package/templates/community-club/l10n/nl.json +10 -0
  81. package/templates/community-club/l10n/no.json +10 -0
  82. package/templates/community-club/l10n/pl.json +10 -0
  83. package/templates/community-club/l10n/pt.json +10 -0
  84. package/templates/community-club/l10n/ru.json +10 -0
  85. package/templates/community-club/l10n/sv.json +10 -0
  86. package/templates/community-club/l10n/th.json +10 -0
  87. package/templates/community-club/l10n/tr.json +10 -0
  88. package/templates/community-club/l10n/uk.json +10 -0
  89. package/templates/community-club/l10n/vi.json +10 -0
  90. package/templates/community-club/l10n/zh.json +10 -0
  91. package/templates/community-club/tier5-src/_shared/collection-contract.ts +6 -1
  92. package/templates/community-club/tier5-src/_shared/himi-events.ts +27 -0
  93. package/templates/community-club/tier5-src/himi-events-detail/index.ts +3 -1
  94. package/templates/community-club/tier5-src/himi-events-list/index.ts +38 -8
  95. package/templates/community-club/tier5-src/himi-events-my-events/index.ts +4 -2
  96. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +6 -1
  97. package/templates/community-club-owner/tier5-src/_shared/himi-events.ts +27 -0
  98. package/templates/conference/config.ts +43 -1
  99. package/templates/conference/dev/index.ts +4147 -0
  100. package/templates/conference/himalaya.content.json +18 -0
  101. package/templates/conference/tier5-src/_shared/collection-contract.ts +6 -1
  102. package/templates/conference/tier5-src/_shared/himi-events.ts +27 -0
  103. package/templates/conference/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
  104. package/templates/conference/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
  105. package/templates/conference/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
  106. package/templates/conference/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
  107. package/templates/conference/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
  108. package/templates/conference/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
  109. package/templates/conference/tier5-src/himi-events-detail/index.ts +3 -1
  110. package/templates/conference/tier5-src/himi-events-list/index.ts +38 -8
  111. package/templates/conference/tier5-src/himi-events-my-events/index.ts +4 -2
  112. package/templates/conference/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  113. package/templates/events-meetups/dev/index.ts +20 -0
  114. package/templates/events-meetups/l10n/ar.json +10 -0
  115. package/templates/events-meetups/l10n/cs.json +10 -0
  116. package/templates/events-meetups/l10n/da.json +10 -0
  117. package/templates/events-meetups/l10n/de.json +10 -0
  118. package/templates/events-meetups/l10n/el.json +10 -0
  119. package/templates/events-meetups/l10n/es.json +10 -0
  120. package/templates/events-meetups/l10n/fi.json +10 -0
  121. package/templates/events-meetups/l10n/fr.json +10 -0
  122. package/templates/events-meetups/l10n/he.json +8 -0
  123. package/templates/events-meetups/l10n/hu.json +10 -0
  124. package/templates/events-meetups/l10n/id.json +10 -0
  125. package/templates/events-meetups/l10n/it.json +10 -0
  126. package/templates/events-meetups/l10n/ja.json +10 -0
  127. package/templates/events-meetups/l10n/ko.json +10 -0
  128. package/templates/events-meetups/l10n/lt.json +10 -0
  129. package/templates/events-meetups/l10n/nl.json +10 -0
  130. package/templates/events-meetups/l10n/no.json +10 -0
  131. package/templates/events-meetups/l10n/pl.json +10 -0
  132. package/templates/events-meetups/l10n/pt.json +10 -0
  133. package/templates/events-meetups/l10n/ru.json +10 -0
  134. package/templates/events-meetups/l10n/sv.json +10 -0
  135. package/templates/events-meetups/l10n/th.json +10 -0
  136. package/templates/events-meetups/l10n/tr.json +10 -0
  137. package/templates/events-meetups/l10n/uk.json +10 -0
  138. package/templates/events-meetups/l10n/vi.json +10 -0
  139. package/templates/events-meetups/l10n/zh.json +10 -0
  140. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +6 -1
  141. package/templates/events-meetups/tier5-src/_shared/himi-events.ts +27 -0
  142. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +3 -1
  143. package/templates/events-meetups/tier5-src/himi-events-list/index.ts +38 -8
  144. package/templates/events-meetups/tier5-src/himi-events-my-events/index.ts +4 -2
  145. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +6 -1
  146. package/templates/events-meetups-owner/tier5-src/_shared/himi-events.ts +27 -0
  147. package/templates/fitness-gym/tier5-src/_shared/collection-contract.ts +6 -1
  148. package/templates/gym-fitness/dev/index.ts +20 -0
  149. package/templates/gym-fitness/l10n/ar.json +10 -0
  150. package/templates/gym-fitness/l10n/cs.json +10 -0
  151. package/templates/gym-fitness/l10n/da.json +10 -0
  152. package/templates/gym-fitness/l10n/de.json +10 -0
  153. package/templates/gym-fitness/l10n/el.json +10 -0
  154. package/templates/gym-fitness/l10n/es.json +10 -0
  155. package/templates/gym-fitness/l10n/fi.json +10 -0
  156. package/templates/gym-fitness/l10n/fr.json +10 -0
  157. package/templates/gym-fitness/l10n/he.json +8 -0
  158. package/templates/gym-fitness/l10n/hu.json +10 -0
  159. package/templates/gym-fitness/l10n/id.json +10 -0
  160. package/templates/gym-fitness/l10n/it.json +10 -0
  161. package/templates/gym-fitness/l10n/ja.json +10 -0
  162. package/templates/gym-fitness/l10n/ko.json +10 -0
  163. package/templates/gym-fitness/l10n/lt.json +10 -0
  164. package/templates/gym-fitness/l10n/nl.json +10 -0
  165. package/templates/gym-fitness/l10n/no.json +10 -0
  166. package/templates/gym-fitness/l10n/pl.json +10 -0
  167. package/templates/gym-fitness/l10n/pt.json +10 -0
  168. package/templates/gym-fitness/l10n/ru.json +10 -0
  169. package/templates/gym-fitness/l10n/sv.json +10 -0
  170. package/templates/gym-fitness/l10n/th.json +10 -0
  171. package/templates/gym-fitness/l10n/tr.json +10 -0
  172. package/templates/gym-fitness/l10n/uk.json +10 -0
  173. package/templates/gym-fitness/l10n/vi.json +10 -0
  174. package/templates/gym-fitness/l10n/zh.json +10 -0
  175. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +6 -1
  176. package/templates/gym-fitness/tier5-src/_shared/himi-events.ts +27 -0
  177. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +3 -1
  178. package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +38 -8
  179. package/templates/gym-fitness/tier5-src/himi-events-my-events/index.ts +4 -2
  180. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +6 -1
  181. package/templates/gym-fitness-owner/tier5-src/_shared/himi-events.ts +27 -0
  182. package/templates/medical-services/config.ts +42 -0
  183. package/templates/medical-services/dev/index.ts +4136 -0
  184. package/templates/medical-services/himalaya.content.json +18 -0
  185. package/templates/medical-services/tier5-src/_shared/collection-contract.ts +6 -1
  186. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
  187. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
  188. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
  189. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
  190. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
  191. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
  192. package/templates/medical-services/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  193. package/templates/nonprofit-cause/dev/index.ts +20 -0
  194. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  195. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  196. package/templates/nonprofit-cause/l10n/da.json +10 -0
  197. package/templates/nonprofit-cause/l10n/de.json +10 -0
  198. package/templates/nonprofit-cause/l10n/el.json +10 -0
  199. package/templates/nonprofit-cause/l10n/es.json +10 -0
  200. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  201. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  202. package/templates/nonprofit-cause/l10n/he.json +8 -0
  203. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  204. package/templates/nonprofit-cause/l10n/id.json +10 -0
  205. package/templates/nonprofit-cause/l10n/it.json +10 -0
  206. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  207. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  208. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  209. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  210. package/templates/nonprofit-cause/l10n/no.json +10 -0
  211. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  212. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  213. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  214. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  215. package/templates/nonprofit-cause/l10n/th.json +10 -0
  216. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  217. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  218. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  219. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  220. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +6 -1
  221. package/templates/nonprofit-cause/tier5-src/_shared/himi-events.ts +27 -0
  222. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +3 -1
  223. package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +38 -8
  224. package/templates/nonprofit-cause/tier5-src/himi-events-my-events/index.ts +4 -2
  225. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +6 -1
  226. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-events.ts +27 -0
  227. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +6 -1
  228. package/templates/owner-lite/tier5-src/_shared/himi-events.ts +27 -0
  229. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-contract.ts +6 -1
  230. package/templates/podcast-creator/dev/index.ts +20 -0
  231. package/templates/podcast-creator/l10n/ar.json +10 -0
  232. package/templates/podcast-creator/l10n/cs.json +10 -0
  233. package/templates/podcast-creator/l10n/da.json +10 -0
  234. package/templates/podcast-creator/l10n/de.json +10 -0
  235. package/templates/podcast-creator/l10n/el.json +10 -0
  236. package/templates/podcast-creator/l10n/es.json +10 -0
  237. package/templates/podcast-creator/l10n/fi.json +10 -0
  238. package/templates/podcast-creator/l10n/fr.json +10 -0
  239. package/templates/podcast-creator/l10n/he.json +8 -0
  240. package/templates/podcast-creator/l10n/hu.json +10 -0
  241. package/templates/podcast-creator/l10n/id.json +10 -0
  242. package/templates/podcast-creator/l10n/it.json +10 -0
  243. package/templates/podcast-creator/l10n/ja.json +10 -0
  244. package/templates/podcast-creator/l10n/ko.json +10 -0
  245. package/templates/podcast-creator/l10n/lt.json +10 -0
  246. package/templates/podcast-creator/l10n/nl.json +10 -0
  247. package/templates/podcast-creator/l10n/no.json +10 -0
  248. package/templates/podcast-creator/l10n/pl.json +10 -0
  249. package/templates/podcast-creator/l10n/pt.json +10 -0
  250. package/templates/podcast-creator/l10n/ru.json +10 -0
  251. package/templates/podcast-creator/l10n/sv.json +10 -0
  252. package/templates/podcast-creator/l10n/th.json +10 -0
  253. package/templates/podcast-creator/l10n/tr.json +10 -0
  254. package/templates/podcast-creator/l10n/uk.json +10 -0
  255. package/templates/podcast-creator/l10n/vi.json +10 -0
  256. package/templates/podcast-creator/l10n/zh.json +10 -0
  257. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +6 -1
  258. package/templates/podcast-creator/tier5-src/_shared/himi-events.ts +27 -0
  259. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +3 -1
  260. package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +38 -8
  261. package/templates/podcast-creator/tier5-src/himi-events-my-events/index.ts +4 -2
  262. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +6 -1
  263. package/templates/podcast-creator-owner/tier5-src/_shared/himi-events.ts +27 -0
  264. package/templates/portfolio-creative/dev/index.ts +22 -1
  265. package/templates/portfolio-creative/l10n/ar.json +10 -0
  266. package/templates/portfolio-creative/l10n/cs.json +10 -0
  267. package/templates/portfolio-creative/l10n/da.json +10 -0
  268. package/templates/portfolio-creative/l10n/de.json +10 -0
  269. package/templates/portfolio-creative/l10n/el.json +10 -0
  270. package/templates/portfolio-creative/l10n/es.json +10 -0
  271. package/templates/portfolio-creative/l10n/fi.json +10 -0
  272. package/templates/portfolio-creative/l10n/fr.json +10 -0
  273. package/templates/portfolio-creative/l10n/he.json +8 -0
  274. package/templates/portfolio-creative/l10n/hu.json +10 -0
  275. package/templates/portfolio-creative/l10n/id.json +10 -0
  276. package/templates/portfolio-creative/l10n/it.json +10 -0
  277. package/templates/portfolio-creative/l10n/ja.json +10 -0
  278. package/templates/portfolio-creative/l10n/ko.json +10 -0
  279. package/templates/portfolio-creative/l10n/lt.json +10 -0
  280. package/templates/portfolio-creative/l10n/nl.json +10 -0
  281. package/templates/portfolio-creative/l10n/no.json +10 -0
  282. package/templates/portfolio-creative/l10n/pl.json +10 -0
  283. package/templates/portfolio-creative/l10n/pt.json +10 -0
  284. package/templates/portfolio-creative/l10n/ru.json +10 -0
  285. package/templates/portfolio-creative/l10n/sv.json +10 -0
  286. package/templates/portfolio-creative/l10n/th.json +10 -0
  287. package/templates/portfolio-creative/l10n/tr.json +10 -0
  288. package/templates/portfolio-creative/l10n/uk.json +10 -0
  289. package/templates/portfolio-creative/l10n/vi.json +10 -0
  290. package/templates/portfolio-creative/l10n/zh.json +10 -0
  291. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +6 -1
  292. package/templates/portfolio-creative/tier5-src/_shared/himi-events.ts +27 -0
  293. package/templates/portfolio-creative/tier5-src/_shared/portfolio-details.ts +70 -0
  294. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio/index.ts +90 -9
  295. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +53 -4
  296. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +3 -1
  297. package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +38 -8
  298. package/templates/portfolio-creative/tier5-src/himi-events-my-events/index.ts +4 -2
  299. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +6 -1
  300. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-events.ts +27 -0
  301. package/templates/professional-services/README.md +55 -0
  302. package/templates/professional-services/config.ts +436 -0
  303. package/templates/professional-services/dev/index.ts +44772 -0
  304. package/templates/professional-services/himalaya.content.json +100 -0
  305. package/templates/professional-services/himalaya.template.json +16 -0
  306. package/templates/professional-services/icon.png +0 -0
  307. package/templates/professional-services/platforms.json +1 -0
  308. package/templates/professional-services/tier5-src/_shared/app-locale.ts +70 -0
  309. package/templates/professional-services/tier5-src/_shared/booking-location.ts +147 -0
  310. package/templates/professional-services/tier5-src/_shared/booking-session.ts +224 -0
  311. package/templates/professional-services/tier5-src/_shared/branded-lite-hosted.ts +282 -0
  312. package/templates/professional-services/tier5-src/_shared/branded-load-state.ts +109 -0
  313. package/templates/professional-services/tier5-src/_shared/business-chat-copy.ts +40 -0
  314. package/templates/professional-services/tier5-src/_shared/business-chat-history.ts +51 -0
  315. package/templates/professional-services/tier5-src/_shared/business-chat-message-model.ts +177 -0
  316. package/templates/professional-services/tier5-src/_shared/business-chat-model.ts +56 -0
  317. package/templates/professional-services/tier5-src/_shared/business-chat-presenter.ts +587 -0
  318. package/templates/professional-services/tier5-src/_shared/business-chat-transport.ts +164 -0
  319. package/templates/professional-services/tier5-src/_shared/chat-live.ts +242 -0
  320. package/templates/professional-services/tier5-src/_shared/collection-contract.ts +232 -0
  321. package/templates/professional-services/tier5-src/_shared/collection-query.ts +201 -0
  322. package/templates/professional-services/tier5-src/_shared/collection-service.ts +429 -0
  323. package/templates/professional-services/tier5-src/_shared/detail-presence.ts +51 -0
  324. package/templates/professional-services/tier5-src/_shared/engine-intl.ts +538 -0
  325. package/templates/professional-services/tier5-src/_shared/event-registration.ts +86 -0
  326. package/templates/professional-services/tier5-src/_shared/events-inline-options.ts +77 -0
  327. package/templates/professional-services/tier5-src/_shared/faq-list.ts +405 -0
  328. package/templates/professional-services/tier5-src/_shared/featured-event.ts +63 -0
  329. package/templates/professional-services/tier5-src/_shared/group-member-count.ts +15 -0
  330. package/templates/professional-services/tier5-src/_shared/group-privacy.ts +14 -0
  331. package/templates/professional-services/tier5-src/_shared/guest-sign-in.ts +36 -0
  332. package/templates/professional-services/tier5-src/_shared/himi-account.ts +222 -0
  333. package/templates/professional-services/tier5-src/_shared/himi-blog-hidden.ts +66 -0
  334. package/templates/professional-services/tier5-src/_shared/himi-blog-post-row.ts +214 -0
  335. package/templates/professional-services/tier5-src/_shared/himi-blog-saved.ts +64 -0
  336. package/templates/professional-services/tier5-src/_shared/himi-booking-saved.ts +88 -0
  337. package/templates/professional-services/tier5-src/_shared/himi-bookings.ts +318 -0
  338. package/templates/professional-services/tier5-src/_shared/himi-copy.ts +123 -0
  339. package/templates/professional-services/tier5-src/_shared/himi-events.ts +92 -0
  340. package/templates/professional-services/tier5-src/_shared/himi-media.ts +33 -0
  341. package/templates/professional-services/tier5-src/_shared/himi-store.ts +7 -0
  342. package/templates/professional-services/tier5-src/_shared/himi-text.ts +24 -0
  343. package/templates/professional-services/tier5-src/_shared/host-events.ts +66 -0
  344. package/templates/professional-services/tier5-src/_shared/hosted-checkout.ts +70 -0
  345. package/templates/professional-services/tier5-src/_shared/iap-attendance-form.ts +106 -0
  346. package/templates/professional-services/tier5-src/_shared/iap-attendance-purchase.ts +235 -0
  347. package/templates/professional-services/tier5-src/_shared/iap-attendance.ts +38 -0
  348. package/templates/professional-services/tier5-src/_shared/iap-worker.ts +127 -0
  349. package/templates/professional-services/tier5-src/_shared/inbox-rooms.ts +163 -0
  350. package/templates/professional-services/tier5-src/_shared/local-preferences.ts +38 -0
  351. package/templates/professional-services/tier5-src/_shared/member-access.ts +63 -0
  352. package/templates/professional-services/tier5-src/_shared/member-account-routes.ts +56 -0
  353. package/templates/professional-services/tier5-src/_shared/member-avatar.ts +76 -0
  354. package/templates/professional-services/tier5-src/_shared/member-bookings.ts +107 -0
  355. package/templates/professional-services/tier5-src/_shared/member-read.ts +82 -0
  356. package/templates/professional-services/tier5-src/_shared/member-screen.ts +99 -0
  357. package/templates/professional-services/tier5-src/_shared/notification-target.ts +141 -0
  358. package/templates/professional-services/tier5-src/_shared/offset-page.ts +10 -0
  359. package/templates/professional-services/tier5-src/_shared/online-actions.ts +76 -0
  360. package/templates/professional-services/tier5-src/_shared/owner-load-error.ts +348 -0
  361. package/templates/professional-services/tier5-src/_shared/payment-setup.ts +6 -0
  362. package/templates/professional-services/tier5-src/_shared/portfolio-details.ts +70 -0
  363. package/templates/professional-services/tier5-src/_shared/pricing-plan-display.ts +64 -0
  364. package/templates/professional-services/tier5-src/_shared/relative-time.ts +21 -0
  365. package/templates/professional-services/tier5-src/_shared/result-snackbar.ts +26 -0
  366. package/templates/professional-services/tier5-src/_shared/rich-body.ts +78 -0
  367. package/templates/professional-services/tier5-src/_shared/rich-content-link.ts +34 -0
  368. package/templates/professional-services/tier5-src/_shared/sign-in-sheet.ts +18 -0
  369. package/templates/professional-services/tier5-src/_shared/staff-name.ts +18 -0
  370. package/templates/professional-services/tier5-src/_shared/weekly-goal.ts +111 -0
  371. package/templates/professional-services/tier5-src/_shared/wix-bi.ts +85 -0
  372. package/templates/professional-services/tier5-src/_shared/wix-member-links.ts +114 -0
  373. package/templates/professional-services/tier5-src/_shared/wix-service-price.ts +146 -0
  374. package/templates/professional-services/tier5-src/business-chat/index.ts +797 -0
  375. package/templates/professional-services/tier5-src/business-contact/index.ts +6 -0
  376. package/templates/professional-services/tier5-src/himi-blog-feed/index.ts +444 -0
  377. package/templates/professional-services/tier5-src/himi-blog-post/index.ts +1239 -0
  378. package/templates/professional-services/tier5-src/himi-booking-account/index.ts +278 -0
  379. package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +475 -0
  380. package/templates/professional-services/tier5-src/himi-booking-service/index.ts +1197 -0
  381. package/templates/professional-services/tier5-src/himi-booking-services/index.ts +795 -0
  382. package/templates/professional-services/tier5-src/himi-booking-time/index.ts +1840 -0
  383. package/templates/professional-services/tier5-src/himi-branded-lite-coupons/index.ts +96 -0
  384. package/templates/professional-services/tier5-src/himi-branded-lite-faq/index.ts +6 -0
  385. package/templates/professional-services/tier5-src/himi-branded-lite-file-share/index.ts +12 -0
  386. package/templates/professional-services/tier5-src/himi-branded-lite-group/index.ts +310 -0
  387. package/templates/professional-services/tier5-src/himi-branded-lite-group-about/index.ts +240 -0
  388. package/templates/professional-services/tier5-src/himi-branded-lite-my-groups/index.ts +237 -0
  389. package/templates/professional-services/tier5-src/himi-branded-lite-notifications/index.ts +263 -0
  390. package/templates/professional-services/tier5-src/himi-branded-lite-plans/index.ts +498 -0
  391. package/templates/professional-services/tier5-src/himi-branded-lite-portfolio/index.ts +136 -0
  392. package/templates/professional-services/tier5-src/himi-branded-lite-portfolio-project/index.ts +198 -0
  393. package/templates/professional-services/tier5-src/himi-events-detail/index.ts +1306 -0
  394. package/templates/professional-services/tier5-src/himi-events-list/index.ts +171 -0
  395. package/templates/professional-services/tier5-src/himi-events-my-events/index.ts +227 -0
  396. package/templates/professional-services/tier5-src/himi-events-rsvp/index.ts +230 -0
  397. package/templates/professional-services/tier5-src/himi-professional-services-community/index.ts +318 -0
  398. package/templates/professional-services/tier5-src/himi-professional-services-home/index.ts +772 -0
  399. package/templates/professional-services/tier5-src/himi-store-account/index.ts +1514 -0
  400. package/templates/professional-services/tier5-src/wix-spaces-coupon-detail/index.ts +43 -0
  401. package/templates/professional-services/tier5-src/wix-spaces-my-subscriptions/index.ts +89 -0
  402. package/templates/professional-services/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
  403. package/templates/professional-services/tokens.json +456 -0
  404. package/templates/restaurant/dev/index.ts +20 -0
  405. package/templates/restaurant/l10n/ar.json +10 -0
  406. package/templates/restaurant/l10n/cs.json +10 -0
  407. package/templates/restaurant/l10n/da.json +10 -0
  408. package/templates/restaurant/l10n/de.json +10 -0
  409. package/templates/restaurant/l10n/el.json +10 -0
  410. package/templates/restaurant/l10n/es.json +10 -0
  411. package/templates/restaurant/l10n/fi.json +10 -0
  412. package/templates/restaurant/l10n/fr.json +10 -0
  413. package/templates/restaurant/l10n/he.json +8 -0
  414. package/templates/restaurant/l10n/hu.json +10 -0
  415. package/templates/restaurant/l10n/id.json +10 -0
  416. package/templates/restaurant/l10n/it.json +10 -0
  417. package/templates/restaurant/l10n/ja.json +10 -0
  418. package/templates/restaurant/l10n/ko.json +10 -0
  419. package/templates/restaurant/l10n/lt.json +10 -0
  420. package/templates/restaurant/l10n/nl.json +10 -0
  421. package/templates/restaurant/l10n/no.json +10 -0
  422. package/templates/restaurant/l10n/pl.json +10 -0
  423. package/templates/restaurant/l10n/pt.json +10 -0
  424. package/templates/restaurant/l10n/ru.json +10 -0
  425. package/templates/restaurant/l10n/sv.json +10 -0
  426. package/templates/restaurant/l10n/th.json +10 -0
  427. package/templates/restaurant/l10n/tr.json +10 -0
  428. package/templates/restaurant/l10n/uk.json +10 -0
  429. package/templates/restaurant/l10n/vi.json +10 -0
  430. package/templates/restaurant/l10n/zh.json +10 -0
  431. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +6 -1
  432. package/templates/restaurant/tier5-src/_shared/himi-events.ts +27 -0
  433. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +3 -1
  434. package/templates/restaurant/tier5-src/himi-events-list/index.ts +38 -8
  435. package/templates/restaurant/tier5-src/himi-events-my-events/index.ts +4 -2
  436. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +6 -1
  437. package/templates/restaurant-owner/tier5-src/_shared/himi-events.ts +27 -0
  438. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +6 -1
  439. package/templates/retail-store/tier5-src/_shared/himi-events.ts +27 -0
  440. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +6 -1
  441. package/templates/retail-store-owner/tier5-src/_shared/himi-events.ts +27 -0
  442. package/templates/salon-spa/config.ts +42 -0
  443. package/templates/salon-spa/dev/index.ts +4136 -0
  444. package/templates/salon-spa/himalaya.content.json +18 -0
  445. package/templates/salon-spa/tier5-src/_shared/collection-contract.ts +6 -1
  446. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
  447. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
  448. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
  449. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
  450. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
  451. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
  452. package/templates/salon-spa/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  453. package/templates/wholesale-store/config.ts +43 -1
  454. package/templates/wholesale-store/dev/index.ts +4136 -0
  455. package/templates/wholesale-store/himalaya.content.json +18 -0
  456. package/templates/wholesale-store/tier5-src/_shared/collection-contract.ts +6 -1
  457. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
  458. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
  459. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
  460. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
  461. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
  462. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
  463. package/templates/wholesale-store/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  464. package/templates/yoga-studio/dev/index.ts +20 -0
  465. package/templates/yoga-studio/l10n/ar.json +10 -0
  466. package/templates/yoga-studio/l10n/cs.json +10 -0
  467. package/templates/yoga-studio/l10n/da.json +10 -0
  468. package/templates/yoga-studio/l10n/de.json +10 -0
  469. package/templates/yoga-studio/l10n/el.json +10 -0
  470. package/templates/yoga-studio/l10n/es.json +10 -0
  471. package/templates/yoga-studio/l10n/fi.json +10 -0
  472. package/templates/yoga-studio/l10n/fr.json +10 -0
  473. package/templates/yoga-studio/l10n/he.json +8 -0
  474. package/templates/yoga-studio/l10n/hu.json +10 -0
  475. package/templates/yoga-studio/l10n/id.json +10 -0
  476. package/templates/yoga-studio/l10n/it.json +10 -0
  477. package/templates/yoga-studio/l10n/ja.json +10 -0
  478. package/templates/yoga-studio/l10n/ko.json +10 -0
  479. package/templates/yoga-studio/l10n/lt.json +10 -0
  480. package/templates/yoga-studio/l10n/nl.json +10 -0
  481. package/templates/yoga-studio/l10n/no.json +10 -0
  482. package/templates/yoga-studio/l10n/pl.json +10 -0
  483. package/templates/yoga-studio/l10n/pt.json +10 -0
  484. package/templates/yoga-studio/l10n/ru.json +10 -0
  485. package/templates/yoga-studio/l10n/sv.json +10 -0
  486. package/templates/yoga-studio/l10n/th.json +10 -0
  487. package/templates/yoga-studio/l10n/tr.json +10 -0
  488. package/templates/yoga-studio/l10n/uk.json +10 -0
  489. package/templates/yoga-studio/l10n/vi.json +10 -0
  490. package/templates/yoga-studio/l10n/zh.json +10 -0
  491. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +6 -1
  492. package/templates/yoga-studio/tier5-src/_shared/himi-events.ts +27 -0
  493. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +3 -1
  494. package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +38 -8
  495. package/templates/yoga-studio/tier5-src/himi-events-my-events/index.ts +4 -2
  496. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +6 -1
  497. package/templates/yoga-studio-owner/tier5-src/_shared/himi-events.ts +27 -0
@@ -0,0 +1,139 @@
1
+ // Privacy — the Public profile switch and the blocked members list. The switch saves at once
2
+ // (joinCommunity / leaveCommunity), so this modal has no Save. Turning it off asks first, because
3
+ // the member also leaves the site's community; turning it on does not. A member record with no
4
+ // privacy status shows no switch, only a notice.
5
+ import { defineService } from "@himalaya/state";
6
+ import { alert } from "@himalaya/ui";
7
+ import { getMyMember, joinCommunity, leaveCommunity } from "@himalaya/wix-members";
8
+ import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
9
+ import { svc as blockedMembers } from "./blocked-members.js";
10
+ import {
11
+ businessNameOf, clean, fetchMember, isSignedOut, loadErrorVariant, sameAccess, signedOutError, type WixMemberResponse,
12
+ } from "./shared.js";
13
+
14
+ interface S {
15
+ phase: "loading" | "ready" | "error" | "signedOut";
16
+ errorVariant: "offline" | "server";
17
+ memberId: string;
18
+ memberEmail: string;
19
+ memberScope: string;
20
+ businessName: string;
21
+ /** "Choose if other members of {business} can see your profile." */
22
+ description: string;
23
+ /** The API returned PUBLIC or PRIVATE. Otherwise the switch is replaced by a notice. */
24
+ privacyKnown: boolean;
25
+ privacyUnknown: boolean;
26
+ isPublic: boolean;
27
+ statusLine: string;
28
+ busy: boolean;
29
+ /** A switch change that did not save. */
30
+ errorText: string;
31
+ noErrorText: boolean;
32
+ }
33
+
34
+ const EMPTY: S = {
35
+ phase: "loading", errorVariant: "server", memberId: "", memberEmail: "", memberScope: "", businessName: "",
36
+ description: "", privacyKnown: false, privacyUnknown: true, isPublic: false, statusLine: "", busy: false,
37
+ errorText: "", noErrorText: true,
38
+ };
39
+
40
+ function statusLine(isPublic: boolean): string {
41
+ return isPublic
42
+ ? copyParam("accountSettings.publicProfileOn", "Other members can see your profile.")
43
+ : copyParam("accountSettings.publicProfileOff", "Only you can see your profile.");
44
+ }
45
+
46
+ function withStatus(s: S, privacyStatus: unknown): S {
47
+ const status = clean(privacyStatus).toUpperCase();
48
+ const known = status === "PUBLIC" || status === "PRIVATE";
49
+ const isPublic = status === "PUBLIC";
50
+ return { ...s, privacyKnown: known, privacyUnknown: !known, isPublic, statusLine: known ? statusLine(isPublic) : "" };
51
+ }
52
+
53
+ let loadVersion = 0;
54
+ let mutationInFlight = false;
55
+ /** The member moved the switch again while a change was saving. That move is not saved, so the
56
+ * switch must be drawn again from the result, or it keeps showing the dropped position. */
57
+ let flipDropped = false;
58
+
59
+ const svc = defineService<S, {
60
+ load: (s: S, arg?: unknown) => Promise<S>;
61
+ showLoading: (s: S) => S;
62
+ begin: (s: S, patch: Partial<S>) => S;
63
+ setPublic: (s: S, arg?: unknown) => Promise<S | undefined>;
64
+ }>("himiBrandedAccountPrivacy", {
65
+ state: { ...EMPTY },
66
+ notHydrated: Object.keys(EMPTY) as (keyof S)[],
67
+ notPersisted: Object.keys(EMPTY) as (keyof S)[],
68
+ actions: {
69
+ showLoading: (s) => ({ ...EMPTY, businessName: s.businessName, description: s.description }),
70
+ begin: (s, patch) => ({ ...s, ...patch, noErrorText: !(patch.errorText ?? s.errorText) }),
71
+ load: async (_s, arg): Promise<S> => {
72
+ const version = ++loadVersion;
73
+ stashCopy(arg);
74
+ const businessName = businessNameOf(arg) || svc.getState().businessName;
75
+ const description = copyTemplate("accountSettings.privacyDescription", "Choose if other members of {business} can see your profile.", { business: businessName });
76
+ if (svc.getState().phase !== "loading") await svc.showLoading();
77
+ // The blocked members section loads with the modal; its own onAppear does the same on a device.
78
+ void blockedMembers.load(arg).catch(() => undefined);
79
+ try {
80
+ const { member, email, scope } = await fetchMember();
81
+ if (version !== loadVersion) return svc.getState();
82
+ return withStatus({ ...EMPTY, phase: "ready", memberId: clean(member.id), memberEmail: email, memberScope: scope, businessName, description }, member.privacyStatus);
83
+ } catch (error) {
84
+ if (version !== loadVersion) return svc.getState();
85
+ return { ...EMPTY, businessName, description, phase: isSignedOut(error) ? "signedOut" : "error", errorVariant: loadErrorVariant(error) };
86
+ }
87
+ },
88
+ setPublic: async (s, arg): Promise<S | undefined> => {
89
+ if (s.phase !== "ready" || !s.privacyKnown || !s.memberId) return undefined;
90
+ if (mutationInFlight) { flipDropped = true; return undefined; }
91
+ const value = (arg as { value?: unknown } | undefined)?.value;
92
+ const wantPublic = value === true || value === "true";
93
+ if (wantPublic === s.isPublic) return undefined;
94
+ flipDropped = false;
95
+ // Draw the switch from `final`; after a dropped move, flip it first so the host redraws it.
96
+ const settle = async (final: S): Promise<S> => {
97
+ if (flipDropped) { flipDropped = false; await svc.begin({ isPublic: !final.isPublic }); }
98
+ return final;
99
+ };
100
+ mutationInFlight = true;
101
+ try {
102
+ // The switch already moved: follow it, so that a Cancel below moves it back.
103
+ await svc.begin({ isPublic: wantPublic, errorText: "" });
104
+ if (!wantPublic) {
105
+ let confirmed = false;
106
+ try {
107
+ const answer = await alert({
108
+ title: copyParam("accountSettings.makePrivateTitle", "Make your profile private?"),
109
+ message: copyTemplate("accountSettings.makePrivateBody", "Other members can't see your profile. You also leave the community of {business}.", { business: s.businessName }),
110
+ confirmLabel: copyParam("accountSettings.makePrivateConfirm", "Make private"),
111
+ cancelLabel: copyParam("common.cancelCta", "Cancel"),
112
+ });
113
+ confirmed = answer.confirmed;
114
+ } catch { /* no presenter: nothing was confirmed */ }
115
+ // Cancel: the switch and its status line go back to public together.
116
+ if (!confirmed) return await settle({ ...svc.getState(), isPublic: true, statusLine: statusLine(true) });
117
+ }
118
+ await svc.begin({ busy: true });
119
+ if (!(await sameAccess(s.memberEmail, s.memberScope))) throw signedOutError();
120
+ const response = wantPublic ? await joinCommunity() : await leaveCommunity();
121
+ if (response.member?.id !== s.memberId || !response.member.privacyStatus) throw new Error("The profile privacy update was not confirmed for this member.");
122
+ const refreshed = await getMyMember({ fieldsets: ["FULL"] }) as WixMemberResponse;
123
+ if (refreshed.member?.id !== s.memberId || !(await sameAccess(s.memberEmail, s.memberScope))) throw signedOutError();
124
+ // A stale read or a rejected write leaves the OLD status in the readback: that is not a save.
125
+ const status = clean(refreshed.member.privacyStatus).toUpperCase();
126
+ if (status !== (wantPublic ? "PUBLIC" : "PRIVATE")) throw new Error("The profile privacy update was not confirmed by the readback.");
127
+ return await settle({ ...withStatus(svc.getState(), status), busy: false, errorText: "", noErrorText: true });
128
+ } catch (error) {
129
+ // The member changed mid-save: show none of the previous member's privacy, only Sign in.
130
+ if (isSignedOut(error)) return { ...EMPTY, businessName: s.businessName, description: s.description, phase: "signedOut" };
131
+ const latest = svc.getState();
132
+ return await settle({ ...latest, isPublic: s.isPublic, statusLine: statusLine(s.isPublic), busy: false,
133
+ errorText: copyParam("accountSettings.privacyError", "Your privacy setting was not updated."), noErrorText: false });
134
+ } finally { mutationInFlight = false; }
135
+ },
136
+ },
137
+ });
138
+
139
+ export { svc as privacy };
@@ -0,0 +1,136 @@
1
+ // Shared by the Account settings menu and its three modals (Personal info, Login info with its
2
+ // Change password step, Privacy). Each modal is its own screen, so each boots this bundle in its
3
+ // own worker and loads the member itself: nothing here is shared state, only the checks.
4
+ import { dispatch } from "@himalaya/dispatch";
5
+ import { classifyLoadError } from "@himalaya/state";
6
+ import { getMyMember } from "@himalaya/wix-members";
7
+ import { getMyData } from "@himalaya/wix-users";
8
+ import { hostSiteFromInput } from "../_shared/branded-lite-hosted.js";
9
+ import { memberAccess } from "../_shared/member-access.js";
10
+ import type { MemberAccountRoutes } from "../_shared/member-account-routes.js";
11
+
12
+ export type WixMemberRecord = {
13
+ id?: string;
14
+ loginEmail?: string;
15
+ contact?: {
16
+ firstName?: string;
17
+ lastName?: string;
18
+ phones?: string[];
19
+ birthdate?: string;
20
+ company?: string;
21
+ jobTitle?: string;
22
+ customFields?: Record<string, { name?: string; value?: unknown } | undefined>;
23
+ };
24
+ profile?: { nickname?: string; title?: string; slug?: string; photo?: { id?: string; url?: string } };
25
+ privacyStatus?: string;
26
+ };
27
+ export type WixMemberResponse = { member?: WixMemberRecord };
28
+
29
+ export function rawText(value: unknown): string { return typeof value === "string" ? value : ""; }
30
+ export function clean(value: unknown): string { return rawText(value).trim(); }
31
+
32
+ export function signedOutError(): Error {
33
+ return Object.assign(new Error("signed_out"), { code: "signed_out" });
34
+ }
35
+ export function isSignedOut(error: unknown): boolean {
36
+ return (error as { code?: string } | null)?.code === "signed_out";
37
+ }
38
+
39
+ /** The load-error variant the modals' ErrorState draws: `offline` only when the request never left. */
40
+ export function loadErrorVariant(error: unknown): "offline" | "server" {
41
+ return classifyLoadError(error) === "offline" ? "offline" : "server";
42
+ }
43
+
44
+ /** The site a hosted build was opened for (`himalaya.input.__himiHostSite`), or "" when the build
45
+ * is not hosted. A hosted build serves many businesses, so this wins over the build's own name. */
46
+ export const hostedBusinessName = clean(hostSiteFromInput((globalThis as { himalaya?: { input?: unknown } }).himalaya?.input)?.name);
47
+
48
+ /** The business name each modal shows as its subtitle and in its copy: the hosted site's, else the
49
+ * descriptor param (the build's own business). */
50
+ export function businessNameOf(arg: unknown): string {
51
+ return hostedBusinessName || clean((arg as { businessName?: unknown } | undefined)?.businessName);
52
+ }
53
+
54
+ /** The signed-in member's own record, read with the member's token, and the identity it was read for. */
55
+ export async function fetchMember(siteUrlInput?: unknown): Promise<{ email: string; scope: string; siteUrl: string; member: WixMemberRecord & { id: string } }> {
56
+ const access = await memberAccess();
57
+ if (!access.email) throw signedOutError();
58
+ const response = await getMyMember({ fieldsets: ["FULL"] }) as WixMemberResponse;
59
+ if (!response.member?.id) throw new Error("The signed-in member profile is unavailable.");
60
+ const after = await memberAccess();
61
+ if (!after.email || after.email !== access.email || after.scope !== access.scope) throw signedOutError();
62
+ const siteUrl = clean(siteUrlInput).replace(/\/$/, "");
63
+ return { email: access.email, scope: access.scope, siteUrl, member: response.member as WixMemberRecord & { id: string } };
64
+ }
65
+
66
+ /** The same member is still signed in, by email, scope and member id. */
67
+ export async function currentMemberRecordMatches(email: string, scope: string, memberId: string): Promise<boolean> {
68
+ const before = await memberAccess();
69
+ if (!before.email || before.email !== email || before.scope !== scope) return false;
70
+ const response = await getMyMember({ fieldsets: ["FULL"] }) as WixMemberResponse;
71
+ const after = await memberAccess();
72
+ return response.member?.id === memberId && after.email === email && after.scope === scope;
73
+ }
74
+
75
+ /** Who is signed in: a member, nobody, or `unavailable` when the host could not say at all.
76
+ * `memberAccess()` reads both failures as "nobody"; the menu must not ask a member to sign in
77
+ * because the identity read failed. Older hosts without `memberIdentity` answer through
78
+ * wix-users (the same rung memberAccess uses); a host that fails both ways is unavailable. */
79
+ export async function memberIdentityState(): Promise<"member" | "guest" | "unavailable"> {
80
+ let raw: unknown;
81
+ let unavailable = false;
82
+ try { raw = await dispatch("himi.wix.memberIdentity"); }
83
+ catch { unavailable = true; }
84
+ const value = raw as { email?: unknown; signedIn?: unknown; payload?: { email?: unknown; signedIn?: unknown } } | null;
85
+ // A host can say a member is signed in before it has the email.
86
+ if (clean(value?.email ?? value?.payload?.email) || (value?.signedIn ?? value?.payload?.signedIn) === true) return "member";
87
+ if (!unavailable) return "guest";
88
+ try {
89
+ const profile = await getMyData();
90
+ return clean(profile.email ?? profile.contactEmail) ? "member" : "guest";
91
+ } catch {
92
+ return "unavailable";
93
+ }
94
+ }
95
+
96
+ /** Same identity by email and scope alone (no network). */
97
+ export async function sameAccess(email: string, scope: string): Promise<boolean> {
98
+ const current = await memberAccess();
99
+ return !!current.email && current.email === email && current.scope === scope;
100
+ }
101
+
102
+ /** An http(s) URL split at its authority (between `//` and the first `/`, `?` or `#`). A worker has
103
+ * no URL global, so the authority is split by hand. */
104
+ const HTTP_URL = /^https?:\/\/([^/?#]*)(?:[/?#]\S*)?$/i;
105
+ /** A website handoff needs a real http(s) site: the documented placeholder (example.com) never counts,
106
+ * and neither does a URL with userinfo (`https://shop.acme.com@evil.example` opens evil.example). */
107
+ export function siteHandoffAvailable(siteUrl: string): boolean {
108
+ const match = HTTP_URL.exec(siteUrl);
109
+ if (!match || siteUrl.includes("\\")) return false;
110
+ const authority = match[1];
111
+ if (authority.includes("@")) return false;
112
+ const host = authority.replace(/:\d+$/, "").toLowerCase();
113
+ if (!host || /[\s:]/.test(host)) return false;
114
+ return host !== "example.com" && !host.endsWith(".example.com");
115
+ }
116
+
117
+ export function memberInitials(firstName: string, lastName: string, nickname: string): string {
118
+ return ([firstName[0], lastName[0]].filter(Boolean).join("") || nickname.slice(0, 1) || "M").toUpperCase();
119
+ }
120
+
121
+ /** Login info's Password section.
122
+ * - `row`: this app changes the password (a native app on HimalayaCore 1.5.0 or later).
123
+ * - `notice-preview`: the web host, a preview of the app.
124
+ * - `notice-here`: inside another Wix app, an older binary, or an unknown platform and version. */
125
+ export type PasswordMode = "row" | "notice-preview" | "notice-here";
126
+ export function passwordMode(routes: Pick<MemberAccountRoutes, "passwordCredentials" | "webPreview">): PasswordMode {
127
+ if (routes.passwordCredentials) return "row";
128
+ return routes.webPreview ? "notice-preview" : "notice-here";
129
+ }
130
+
131
+ /** The case the Password section draws: the mode, and for a notice whether it links the website. */
132
+ export function passwordCase(mode: PasswordMode, siteLink: boolean): string {
133
+ if (mode === "row") return "row";
134
+ const base = mode === "notice-preview" ? "preview" : "here";
135
+ return siteLink ? `${base}-link` : base;
136
+ }
@@ -28,6 +28,7 @@ import {
28
28
  eventImage,
29
29
  eventLocation,
30
30
  eventAddress,
31
+ eventCacheTimes,
31
32
  eventMapUrl,
32
33
  eventStartMillis,
33
34
  eventWhen,
@@ -1057,7 +1058,8 @@ const svc: ReturnType<typeof defineService<S, DetailActions>> = defineService<S,
1057
1058
  if (kind === "tickets" && !await priceTicket(e, selectedTicketId, selectionVersion)) return undefined;
1058
1059
  // Write-through: cache the fetched row (same EventRow shape as the list) so a
1059
1060
  // later offline open of this detail can fall back to it.
1060
- await writeCachedRow(normalizeEvent(e));
1061
+ // Its own times ride along, so the list can tell later whether the event is still upcoming (`cachedEventUpcoming`).
1062
+ await writeCachedRow({ ...normalizeEvent(e), ...eventCacheTimes(e) });
1061
1063
  const image = eventImage(e);
1062
1064
  const title = e.title || "";
1063
1065
  const dates = detailDate(e);
@@ -2,11 +2,12 @@
2
2
  import { defineBackendCollection } from "../_shared/collection-service.js";
3
3
  import { queryEvents, type WixEvent } from "@himalaya/wix-events";
4
4
  import { getAll, upsert, type DbEntity } from "@himalaya/local-db";
5
- import { normalizeEvent, type EventRow } from "../_shared/himi-events";
5
+ import { cachedEventUpcoming, eventCacheTimes, normalizeEvent, type EventRow } from "../_shared/himi-events";
6
6
  import { offsetPage } from "../_shared/offset-page.js";
7
7
  import { copyParam } from "../_shared/himi-copy.js";
8
8
  import { eventPageUrlOf, registrationUi } from "../_shared/event-registration.js";
9
9
  import { share as shareSheet } from "@himalaya/share";
10
+ import { memberAvatarSource } from "../_shared/member-avatar.js";
10
11
  import { eventsSelectionFilter, eventsSelectionFromScope, eventsSelectionOf, eventsSelectionScope, type EventsSelection } from "../_shared/events-inline-options.js";
11
12
 
12
13
  // Offline-first (data-offline): the public events list is a read-through catalog —
@@ -54,12 +55,28 @@ async function writeCached(rows: EventRow[]): Promise<void> {
54
55
 
55
56
  interface S {
56
57
  status: "loading" | "ready";
58
+ /** The signed-in member's photo and initials, for a screen that asks for its top-bar avatar. */
59
+ memberImage: string; memberInitials: string;
57
60
  query: string; all: ListEventRow[]; results: ListEventRow[]; emptyText: string; countLabel: string;
58
61
  errored: boolean; notErrored: boolean; isLoading: boolean; notLoading: boolean; noEmpty: boolean;
62
+ /** Upcoming is empty but the site has past events: the empty state says "No upcoming events" and offers
63
+ * `pastEventsLabel` ("See past events"), which switches the list to Past. */
64
+ pastEventsLabel: string; noPastEvents: boolean;
59
65
  nextCursor?: string; complete?: boolean; total?: number; loadingMore?: boolean; pageError?: boolean; fromCache?: boolean;
60
66
  }
61
67
  let queryNow = new Date().toISOString();
62
68
 
69
+ /** Does the site (within the list's selection) have at least one past event? A one-row read of the Past filter, made only
70
+ * when Upcoming is empty. A failed read answers no: the empty state is then the plain one it always was. */
71
+ async function pastEventsExist(scope: string | undefined): Promise<boolean> {
72
+ try {
73
+ const filter: Record<string, unknown> = { status: { $ne: "DRAFT" }, "dateAndTimeSettings.startDate": { $lt: queryNow },
74
+ ...eventsSelectionFilter(eventsSelectionFromScope(scope)) };
75
+ const res = await queryEvents({ limit: 1, offset: 0, query: { filter } });
76
+ return (res.events ?? []).length > 0;
77
+ } catch { return false; }
78
+ }
79
+
63
80
  // A link may open the list on some events only (`categoryIds` / `eventIds`, comma-separated: a See All from a section the app owner
64
81
  // limited to a category). It is the selection of the visit that opened the screen: a visit that names none is the full list again.
65
82
  // A route value is user-controllable text, so only well-formed ids are read (`eventsSelectionIds`). The selection is part of the
@@ -71,22 +88,27 @@ function readSelection(arg?: unknown): EventsSelection {
71
88
  }
72
89
  const svc = defineBackendCollection<S, ListEventRow>("himiEvents", {
73
90
  restorePagesOnLoad: true,
91
+ memberAvatar: memberAvatarSource,
74
92
  onLoad(arg) { selection = readSelection(arg); },
75
93
  scope: () => eventsSelectionScope(selection),
76
- state: { status: "loading", query: "", all: [], results: [], emptyText: "", countLabel: "", errored: false, notErrored: true,
77
- isLoading: true, notLoading: false, noEmpty: true },
94
+ state: { status: "loading", memberImage: "", memberInitials: "", query: "", all: [], results: [], emptyText: "", countLabel: "", errored: false, notErrored: true,
95
+ isLoading: true, notLoading: false, noEmpty: true, pastEventsLabel: "", noPastEvents: true },
78
96
  source: {
79
97
  id: row => row.id,
80
98
  errorMessage: () => copyParam("events.errorText", "Events could not be loaded."),
81
99
  async cached(criteria) {
82
100
  // The list now OPENS on Upcoming, so the default view must keep its offline-first paint:
83
- // serve the cache for it too, minus the rows that have finished.
101
+ // serve the cache for it too, but only the rows the live Upcoming read would return. That is read from the row's own
102
+ // times against NOW (`cachedEventUpcoming`, the `eventIsPast` rule), never from its stored "Past" label: that
103
+ // label was decided when the row was written (a row cached the day before its event ended says "not past"
104
+ // forever) and is localized copy. Painting such a row and then losing it to the live read was the flash.
84
105
  const upcoming = criteria.filter === "value:Upcoming";
85
106
  // The cache holds the whole catalog: a list limited to some events must not paint rows outside the selection first.
86
107
  if (criteria.scope) return undefined;
87
108
  if (criteria.query || (criteria.filter !== "all" && !upcoming) || criteria.sort !== "default") return undefined;
88
109
  const rows = await readCached();
89
- return { items: upcoming ? rows.filter((row) => row.statusLabel !== "Past") : rows, nextCursor: "", metadata: { fromCache: true } };
110
+ const now = Date.now();
111
+ return { items: upcoming ? rows.filter((row) => cachedEventUpcoming(row, now)) : rows, nextCursor: "", metadata: { fromCache: true } };
90
112
  },
91
113
  async fetch(criteria, cursor) {
92
114
  if (!cursor) queryNow = new Date().toISOString();
@@ -113,18 +135,26 @@ const svc = defineBackendCollection<S, ListEventRow>("himiEvents", {
113
135
  const res = await queryEvents({ limit: 50, offset: Number(cursor || 0), fields: ["DETAILS", "REGISTRATION", "URLS"], query: { filter,
114
136
  sort: [{ fieldName: criteria.sort === "default" ? "dateAndTimeSettings.startDate" : "title", order: criteria.sort === "za" ? "DESC" : "ASC" }, { fieldName: "id", order: "ASC" }] } });
115
137
  const raw = res.events ?? [];
116
- const items = raw.filter(row => !!row.id).map(row => withRegistration(row, withDateBadge(normalizeEvent(row))));
138
+ const items = raw.filter(row => !!row.id).map(row => ({ ...withRegistration(row, withDateBadge(normalizeEvent(row))), ...eventCacheTimes(row) }));
117
139
  await writeCached(items);
118
140
  const metadata = (res as { pagingMetadata?: { total?: number } }).pagingMetadata;
119
- return { items, ...offsetPage(cursor, raw.length, 50, metadata), metadata: { fromCache: false } };
141
+ // Upcoming came back empty: ask whether ANY past event exists (one row, same selection), so the empty state can
142
+ // say "No upcoming events" and offer Past instead of "Nothing here yet" over a site that has events. Only for
143
+ // the un-searched first page: a search with no match is the shared "No matching items" state.
144
+ const hasPast = criteria.filter === "value:Upcoming" && !cursor && !criteria.query && raw.length === 0
145
+ ? await pastEventsExist(criteria.scope) : false;
146
+ return { items, ...offsetPage(cursor, raw.length, 50, metadata), metadata: { fromCache: false, hasPast } };
120
147
  },
121
148
  },
122
149
  apply(s, page) {
123
150
  const loading = page.status === "loading", errored = page.status === "error";
151
+ const pastOnly = !loading && !errored && page.items.length === 0 && page.criteria.filter === "value:Upcoming" && page.metadata?.hasPast === true;
124
152
  return { ...s, status: loading ? "loading" : "ready", query: page.criteria.query, all: page.items, results: page.items,
125
153
  nextCursor: page.nextCursor, complete: page.complete, total: page.total, loadingMore: page.loadingMore, pageError: page.pageError,
126
154
  fromCache: page.metadata?.fromCache === true, errored, notErrored: !errored, isLoading: loading, notLoading: !loading,
127
- noEmpty: true, countLabel: "", emptyText: errored ? copyParam("events.errorText", "Events could not be loaded.") : "" };
155
+ noEmpty: true, countLabel: "",
156
+ emptyText: errored ? copyParam("events.errorText", "Events could not be loaded.") : pastOnly ? copyParam("events.noUpcoming", "No upcoming events") : "",
157
+ pastEventsLabel: pastOnly ? copyParam("events.seePast", "See past events") : "", noPastEvents: !pastOnly };
128
158
  },
129
159
  actions: {
130
160
  // Share a card's event: its title and date line, plus the event page when the payload carried one.
@@ -3,7 +3,7 @@ import { defineService } from "@himalaya/state";
3
3
  import { dispatch } from "@himalaya/dispatch";
4
4
  import { queryEvents, type WixEvent } from "@himalaya/wix-events";
5
5
  import { getAll, upsert, type DbEntity } from "@himalaya/local-db";
6
- import { confirmedRsvpIds, eventStartMillis, normalizeEvent, type EventRow } from "../_shared/himi-events";
6
+ import { confirmedRsvpIds, eventCacheTimes, eventStartMillis, normalizeEvent, type EventRow } from "../_shared/himi-events";
7
7
  import { stashCopy, copyParam, copyTemplate } from "../_shared/himi-copy.js";
8
8
  import { memberAccess } from "../_shared/member-access.js";
9
9
  import { readAccess, assertReadAccess, readAccessDenied, readSignInFlags, NO_READ_SIGN_IN } from "../_shared/member-read.js";
@@ -86,7 +86,9 @@ function imminentLabel(start: number | undefined): string {
86
86
 
87
87
  function cachedEventRow(event: WixEvent): CachedEventRow {
88
88
  const row = normalizeEvent(event);
89
- return { ...row, startMillis: eventStartMillis(event), canonicalStatus: row.status };
89
+ // The `events` store is shared with the Events list, which paints a row in Upcoming only when its stored times
90
+ // (`eventCacheTimes`) prove the event has not ended: an upsert without them would hide the row there.
91
+ return { ...row, ...eventCacheTimes(event), startMillis: eventStartMillis(event), canonicalStatus: row.status };
90
92
  }
91
93
 
92
94
  function displayEventRow(event: CachedEventRow): CachedEventRow {
@@ -0,0 +1,59 @@
1
+ // Tier-5 bundle: Wix Spaces clone — Delete my account.
2
+ // Confirm calls DELETE /members/v1/members/my then signs out. Failures surface
3
+ // in `message` so the UI can keep the confirmation (no silent no-op).
4
+ import { defineService } from "@himalaya/state";
5
+ import { dispatch } from "@himalaya/dispatch";
6
+
7
+ interface S {
8
+ status: "ready";
9
+ title: string;
10
+ body: string;
11
+ cta: string;
12
+ message: string;
13
+ done: boolean;
14
+ notDone: boolean;
15
+ }
16
+
17
+ function wixApi() {
18
+ return (globalThis as { himalaya?: { wixApi?: { call: (m: string, p: string, b?: unknown) => Promise<unknown> } } }).himalaya?.wixApi;
19
+ }
20
+
21
+ const svc = defineService<S, { confirm: (s: S) => Promise<S> }>("spacesDeleteAccount", {
22
+ state: {
23
+ status: "ready",
24
+ title: "Delete your account",
25
+ body: "This will permanently delete your membership on this site. This action can't be undone.",
26
+ cta: "Delete Account",
27
+ message: "",
28
+ done: false,
29
+ notDone: true,
30
+ },
31
+ actions: {
32
+ confirm: async (s) => {
33
+ try {
34
+ const api = wixApi();
35
+ if (!api) throw new Error("wixApi unavailable");
36
+ await api.call("DELETE", "/members/v1/members/my");
37
+ try { await dispatch("himi.wix.signOut"); } catch { /* best-effort */ }
38
+ return {
39
+ ...s,
40
+ message: "Your membership was deleted. You’ve been signed out.",
41
+ done: true,
42
+ notDone: false,
43
+ cta: "Done",
44
+ };
45
+ } catch (err) {
46
+ const msg = String((err as { message?: unknown })?.message ?? err ?? "Delete failed");
47
+ return {
48
+ ...s,
49
+ message: /403|FORBIDDEN|permission|denied/i.test(msg)
50
+ ? "This site doesn’t allow members to delete their own account from the app."
51
+ : "Couldn’t delete the account. Try again or contact the site owner.",
52
+ done: false,
53
+ notDone: true,
54
+ };
55
+ }
56
+ },
57
+ },
58
+ });
59
+ export { svc };
@@ -12371,6 +12371,26 @@ const SCREENS = runtimeSetting({
12371
12371
  "color": "textSecondary"
12372
12372
  }
12373
12373
  }
12374
+ },
12375
+ {
12376
+ "id": "himi_events.list.collection.empty-source-action",
12377
+ "body": {
12378
+ "package": "himalaya",
12379
+ "type": "Button",
12380
+ "props": {
12381
+ "title": "$service:himiEvents.pastEventsLabel",
12382
+ "style": "secondary",
12383
+ "action": {
12384
+ "actionId": "tier5.himiEvents.collectionCriteria",
12385
+ "params": {
12386
+ "filter": "value:Past"
12387
+ }
12388
+ }
12389
+ }
12390
+ },
12391
+ "modifiers": {
12392
+ "hiddenPath": "$service:himiEvents.noPastEvents"
12393
+ }
12374
12394
  }
12375
12395
  ]
12376
12396
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "أرسلنا رابط إعادة التعيين إلى {email}. تحقّق من بريدك الوارد.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "لا توجد فعاليات قادمة",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "عرض الفعاليات السابقة",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "Odkaz pro obnovení jsme poslali na {email}. Zkontrolujte svou doručenou poštu.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "Žádné nadcházející akce",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "Zobrazit minulé akce",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "Vi har sendt et nulstillingslink til {email}. Tjek din indbakke.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "Ingen kommende begivenheder",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "Se tidligere begivenheder",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "Wir haben einen Link zum Zurücksetzen an {email} gesendet. Sieh in deinem Posteingang nach.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "Keine bevorstehenden Veranstaltungen",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "Vergangene Veranstaltungen ansehen",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "Στείλαμε έναν σύνδεσμο επαναφοράς στο {email}. Ελέγξτε τα εισερχόμενά σας.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "Δεν υπάρχουν επερχόμενες εκδηλώσεις",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "Δείτε προηγούμενες εκδηλώσεις",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "Enviamos un enlace de restablecimiento a {email}. Revisa tu bandeja de entrada.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "No hay próximos eventos",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "Ver eventos pasados",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }
@@ -3086,6 +3086,16 @@
3086
3086
  "source": "We sent a reset link to {email}. Check your inbox.",
3087
3087
  "translation": "Lähetimme nollauslinkin osoitteeseen {email}. Tarkista saapuneet viestit.",
3088
3088
  "origin": "machine"
3089
+ },
3090
+ "h_b488b5ca6950": {
3091
+ "source": "No upcoming events",
3092
+ "translation": "Ei tulevia tapahtumia",
3093
+ "origin": "machine"
3094
+ },
3095
+ "h_3c9db6753588": {
3096
+ "source": "See past events",
3097
+ "translation": "Näytä menneet tapahtumat",
3098
+ "origin": "machine"
3089
3099
  }
3090
3100
  }
3091
3101
  }