@wix/himalaya-cli 0.1846.0 → 0.1847.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 (359) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{eb70dc1091aa56bf8d8fca29b72373878c37c3c61df14ea288f3954a2073b6a0.bin → 33204224f8dccbd7094c8b6cb3df3995758bb67e81b987f4e6843897987e39f9.bin} +1 -1
  7. package/dist/browser-plane/sw.js +8 -8
  8. package/dist/cli.mjs +132 -45
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/component-index.md +1 -1
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +3 -0
  13. package/guides/designing-himi-screens.md +1 -0
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/dev/index.ts +82 -0
  16. package/templates/beauty-salon/l10n/ar.json +33 -0
  17. package/templates/beauty-salon/l10n/cs.json +33 -0
  18. package/templates/beauty-salon/l10n/da.json +33 -0
  19. package/templates/beauty-salon/l10n/de.json +33 -0
  20. package/templates/beauty-salon/l10n/el.json +33 -0
  21. package/templates/beauty-salon/l10n/en.json +22 -1
  22. package/templates/beauty-salon/l10n/es.json +33 -0
  23. package/templates/beauty-salon/l10n/fi.json +33 -0
  24. package/templates/beauty-salon/l10n/fr.json +33 -0
  25. package/templates/beauty-salon/l10n/he.json +27 -0
  26. package/templates/beauty-salon/l10n/hu.json +33 -0
  27. package/templates/beauty-salon/l10n/id.json +33 -0
  28. package/templates/beauty-salon/l10n/it.json +33 -0
  29. package/templates/beauty-salon/l10n/ja.json +33 -0
  30. package/templates/beauty-salon/l10n/ko.json +33 -0
  31. package/templates/beauty-salon/l10n/lt.json +33 -0
  32. package/templates/beauty-salon/l10n/nl.json +33 -0
  33. package/templates/beauty-salon/l10n/no.json +33 -0
  34. package/templates/beauty-salon/l10n/pl.json +33 -0
  35. package/templates/beauty-salon/l10n/pt.json +33 -0
  36. package/templates/beauty-salon/l10n/ru.json +33 -0
  37. package/templates/beauty-salon/l10n/sv.json +33 -0
  38. package/templates/beauty-salon/l10n/th.json +33 -0
  39. package/templates/beauty-salon/l10n/tr.json +33 -0
  40. package/templates/beauty-salon/l10n/uk.json +33 -0
  41. package/templates/beauty-salon/l10n/vi.json +33 -0
  42. package/templates/beauty-salon/l10n/zh.json +33 -0
  43. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +26 -11
  44. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +127 -18
  45. package/templates/branded-lite/dev/index.ts +83 -1
  46. package/templates/branded-lite/l10n/ar.json +33 -0
  47. package/templates/branded-lite/l10n/cs.json +33 -0
  48. package/templates/branded-lite/l10n/da.json +33 -0
  49. package/templates/branded-lite/l10n/de.json +33 -0
  50. package/templates/branded-lite/l10n/el.json +33 -0
  51. package/templates/branded-lite/l10n/en.json +22 -1
  52. package/templates/branded-lite/l10n/es.json +33 -0
  53. package/templates/branded-lite/l10n/fi.json +33 -0
  54. package/templates/branded-lite/l10n/fr.json +33 -0
  55. package/templates/branded-lite/l10n/he.json +27 -0
  56. package/templates/branded-lite/l10n/hu.json +33 -0
  57. package/templates/branded-lite/l10n/id.json +33 -0
  58. package/templates/branded-lite/l10n/it.json +33 -0
  59. package/templates/branded-lite/l10n/ja.json +33 -0
  60. package/templates/branded-lite/l10n/ko.json +33 -0
  61. package/templates/branded-lite/l10n/lt.json +33 -0
  62. package/templates/branded-lite/l10n/nl.json +33 -0
  63. package/templates/branded-lite/l10n/no.json +33 -0
  64. package/templates/branded-lite/l10n/pl.json +33 -0
  65. package/templates/branded-lite/l10n/pt.json +33 -0
  66. package/templates/branded-lite/l10n/ru.json +33 -0
  67. package/templates/branded-lite/l10n/sv.json +33 -0
  68. package/templates/branded-lite/l10n/th.json +33 -0
  69. package/templates/branded-lite/l10n/tr.json +33 -0
  70. package/templates/branded-lite/l10n/uk.json +33 -0
  71. package/templates/branded-lite/l10n/vi.json +33 -0
  72. package/templates/branded-lite/l10n/zh.json +33 -0
  73. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +26 -11
  74. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +127 -18
  75. package/templates/brandy/tier5-src/_shared/himi-account.ts +26 -11
  76. package/templates/brandy/tier5-src/himi-store-account/index.ts +127 -18
  77. package/templates/community-club/dev/index.ts +82 -0
  78. package/templates/community-club/l10n/ar.json +33 -0
  79. package/templates/community-club/l10n/cs.json +33 -0
  80. package/templates/community-club/l10n/da.json +33 -0
  81. package/templates/community-club/l10n/de.json +33 -0
  82. package/templates/community-club/l10n/el.json +33 -0
  83. package/templates/community-club/l10n/en.json +22 -1
  84. package/templates/community-club/l10n/es.json +33 -0
  85. package/templates/community-club/l10n/fi.json +33 -0
  86. package/templates/community-club/l10n/fr.json +33 -0
  87. package/templates/community-club/l10n/he.json +27 -0
  88. package/templates/community-club/l10n/hu.json +33 -0
  89. package/templates/community-club/l10n/id.json +33 -0
  90. package/templates/community-club/l10n/it.json +33 -0
  91. package/templates/community-club/l10n/ja.json +33 -0
  92. package/templates/community-club/l10n/ko.json +33 -0
  93. package/templates/community-club/l10n/lt.json +33 -0
  94. package/templates/community-club/l10n/nl.json +33 -0
  95. package/templates/community-club/l10n/no.json +33 -0
  96. package/templates/community-club/l10n/pl.json +33 -0
  97. package/templates/community-club/l10n/pt.json +33 -0
  98. package/templates/community-club/l10n/ru.json +33 -0
  99. package/templates/community-club/l10n/sv.json +33 -0
  100. package/templates/community-club/l10n/th.json +33 -0
  101. package/templates/community-club/l10n/tr.json +33 -0
  102. package/templates/community-club/l10n/uk.json +33 -0
  103. package/templates/community-club/l10n/vi.json +33 -0
  104. package/templates/community-club/l10n/zh.json +33 -0
  105. package/templates/community-club/tier5-src/_shared/himi-account.ts +26 -11
  106. package/templates/community-club/tier5-src/himi-store-account/index.ts +127 -18
  107. package/templates/conference/tier5-src/_shared/himi-account.ts +26 -11
  108. package/templates/conference/tier5-src/himi-store-account/index.ts +127 -18
  109. package/templates/events-meetups/dev/index.ts +82 -0
  110. package/templates/events-meetups/l10n/ar.json +33 -0
  111. package/templates/events-meetups/l10n/cs.json +33 -0
  112. package/templates/events-meetups/l10n/da.json +33 -0
  113. package/templates/events-meetups/l10n/de.json +33 -0
  114. package/templates/events-meetups/l10n/el.json +33 -0
  115. package/templates/events-meetups/l10n/en.json +22 -1
  116. package/templates/events-meetups/l10n/es.json +33 -0
  117. package/templates/events-meetups/l10n/fi.json +33 -0
  118. package/templates/events-meetups/l10n/fr.json +33 -0
  119. package/templates/events-meetups/l10n/he.json +27 -0
  120. package/templates/events-meetups/l10n/hu.json +33 -0
  121. package/templates/events-meetups/l10n/id.json +33 -0
  122. package/templates/events-meetups/l10n/it.json +33 -0
  123. package/templates/events-meetups/l10n/ja.json +33 -0
  124. package/templates/events-meetups/l10n/ko.json +33 -0
  125. package/templates/events-meetups/l10n/lt.json +33 -0
  126. package/templates/events-meetups/l10n/nl.json +33 -0
  127. package/templates/events-meetups/l10n/no.json +33 -0
  128. package/templates/events-meetups/l10n/pl.json +33 -0
  129. package/templates/events-meetups/l10n/pt.json +33 -0
  130. package/templates/events-meetups/l10n/ru.json +33 -0
  131. package/templates/events-meetups/l10n/sv.json +33 -0
  132. package/templates/events-meetups/l10n/th.json +33 -0
  133. package/templates/events-meetups/l10n/tr.json +33 -0
  134. package/templates/events-meetups/l10n/uk.json +33 -0
  135. package/templates/events-meetups/l10n/vi.json +33 -0
  136. package/templates/events-meetups/l10n/zh.json +33 -0
  137. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +26 -11
  138. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +127 -18
  139. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +26 -11
  140. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +127 -18
  141. package/templates/gym-fitness/dev/index.ts +82 -0
  142. package/templates/gym-fitness/l10n/ar.json +33 -0
  143. package/templates/gym-fitness/l10n/cs.json +33 -0
  144. package/templates/gym-fitness/l10n/da.json +33 -0
  145. package/templates/gym-fitness/l10n/de.json +33 -0
  146. package/templates/gym-fitness/l10n/el.json +33 -0
  147. package/templates/gym-fitness/l10n/en.json +22 -1
  148. package/templates/gym-fitness/l10n/es.json +33 -0
  149. package/templates/gym-fitness/l10n/fi.json +33 -0
  150. package/templates/gym-fitness/l10n/fr.json +33 -0
  151. package/templates/gym-fitness/l10n/he.json +27 -0
  152. package/templates/gym-fitness/l10n/hu.json +33 -0
  153. package/templates/gym-fitness/l10n/id.json +33 -0
  154. package/templates/gym-fitness/l10n/it.json +33 -0
  155. package/templates/gym-fitness/l10n/ja.json +33 -0
  156. package/templates/gym-fitness/l10n/ko.json +33 -0
  157. package/templates/gym-fitness/l10n/lt.json +33 -0
  158. package/templates/gym-fitness/l10n/nl.json +33 -0
  159. package/templates/gym-fitness/l10n/no.json +33 -0
  160. package/templates/gym-fitness/l10n/pl.json +33 -0
  161. package/templates/gym-fitness/l10n/pt.json +33 -0
  162. package/templates/gym-fitness/l10n/ru.json +33 -0
  163. package/templates/gym-fitness/l10n/sv.json +33 -0
  164. package/templates/gym-fitness/l10n/th.json +33 -0
  165. package/templates/gym-fitness/l10n/tr.json +33 -0
  166. package/templates/gym-fitness/l10n/uk.json +33 -0
  167. package/templates/gym-fitness/l10n/vi.json +33 -0
  168. package/templates/gym-fitness/l10n/zh.json +33 -0
  169. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +26 -11
  170. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +127 -18
  171. package/templates/medical-services/tier5-src/_shared/himi-account.ts +26 -11
  172. package/templates/medical-services/tier5-src/himi-store-account/index.ts +127 -18
  173. package/templates/nonprofit-cause/dev/index.ts +82 -0
  174. package/templates/nonprofit-cause/l10n/ar.json +33 -0
  175. package/templates/nonprofit-cause/l10n/cs.json +33 -0
  176. package/templates/nonprofit-cause/l10n/da.json +33 -0
  177. package/templates/nonprofit-cause/l10n/de.json +33 -0
  178. package/templates/nonprofit-cause/l10n/el.json +33 -0
  179. package/templates/nonprofit-cause/l10n/en.json +22 -1
  180. package/templates/nonprofit-cause/l10n/es.json +33 -0
  181. package/templates/nonprofit-cause/l10n/fi.json +33 -0
  182. package/templates/nonprofit-cause/l10n/fr.json +33 -0
  183. package/templates/nonprofit-cause/l10n/he.json +27 -0
  184. package/templates/nonprofit-cause/l10n/hu.json +33 -0
  185. package/templates/nonprofit-cause/l10n/id.json +33 -0
  186. package/templates/nonprofit-cause/l10n/it.json +33 -0
  187. package/templates/nonprofit-cause/l10n/ja.json +33 -0
  188. package/templates/nonprofit-cause/l10n/ko.json +33 -0
  189. package/templates/nonprofit-cause/l10n/lt.json +33 -0
  190. package/templates/nonprofit-cause/l10n/nl.json +33 -0
  191. package/templates/nonprofit-cause/l10n/no.json +33 -0
  192. package/templates/nonprofit-cause/l10n/pl.json +33 -0
  193. package/templates/nonprofit-cause/l10n/pt.json +33 -0
  194. package/templates/nonprofit-cause/l10n/ru.json +33 -0
  195. package/templates/nonprofit-cause/l10n/sv.json +33 -0
  196. package/templates/nonprofit-cause/l10n/th.json +33 -0
  197. package/templates/nonprofit-cause/l10n/tr.json +33 -0
  198. package/templates/nonprofit-cause/l10n/uk.json +33 -0
  199. package/templates/nonprofit-cause/l10n/vi.json +33 -0
  200. package/templates/nonprofit-cause/l10n/zh.json +33 -0
  201. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +26 -11
  202. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +127 -18
  203. package/templates/personal-fitness-trainer/dev/index.ts +2 -0
  204. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +26 -11
  205. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +127 -18
  206. package/templates/podcast-creator/dev/index.ts +82 -0
  207. package/templates/podcast-creator/l10n/ar.json +33 -0
  208. package/templates/podcast-creator/l10n/cs.json +33 -0
  209. package/templates/podcast-creator/l10n/da.json +33 -0
  210. package/templates/podcast-creator/l10n/de.json +33 -0
  211. package/templates/podcast-creator/l10n/el.json +33 -0
  212. package/templates/podcast-creator/l10n/en.json +22 -1
  213. package/templates/podcast-creator/l10n/es.json +33 -0
  214. package/templates/podcast-creator/l10n/fi.json +33 -0
  215. package/templates/podcast-creator/l10n/fr.json +33 -0
  216. package/templates/podcast-creator/l10n/he.json +27 -0
  217. package/templates/podcast-creator/l10n/hu.json +33 -0
  218. package/templates/podcast-creator/l10n/id.json +33 -0
  219. package/templates/podcast-creator/l10n/it.json +33 -0
  220. package/templates/podcast-creator/l10n/ja.json +33 -0
  221. package/templates/podcast-creator/l10n/ko.json +33 -0
  222. package/templates/podcast-creator/l10n/lt.json +33 -0
  223. package/templates/podcast-creator/l10n/nl.json +33 -0
  224. package/templates/podcast-creator/l10n/no.json +33 -0
  225. package/templates/podcast-creator/l10n/pl.json +33 -0
  226. package/templates/podcast-creator/l10n/pt.json +33 -0
  227. package/templates/podcast-creator/l10n/ru.json +33 -0
  228. package/templates/podcast-creator/l10n/sv.json +33 -0
  229. package/templates/podcast-creator/l10n/th.json +33 -0
  230. package/templates/podcast-creator/l10n/tr.json +33 -0
  231. package/templates/podcast-creator/l10n/uk.json +33 -0
  232. package/templates/podcast-creator/l10n/vi.json +33 -0
  233. package/templates/podcast-creator/l10n/zh.json +33 -0
  234. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +26 -11
  235. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +127 -18
  236. package/templates/portfolio-creative/dev/index.ts +82 -0
  237. package/templates/portfolio-creative/l10n/ar.json +33 -0
  238. package/templates/portfolio-creative/l10n/cs.json +33 -0
  239. package/templates/portfolio-creative/l10n/da.json +33 -0
  240. package/templates/portfolio-creative/l10n/de.json +33 -0
  241. package/templates/portfolio-creative/l10n/el.json +33 -0
  242. package/templates/portfolio-creative/l10n/en.json +22 -1
  243. package/templates/portfolio-creative/l10n/es.json +33 -0
  244. package/templates/portfolio-creative/l10n/fi.json +33 -0
  245. package/templates/portfolio-creative/l10n/fr.json +33 -0
  246. package/templates/portfolio-creative/l10n/he.json +27 -0
  247. package/templates/portfolio-creative/l10n/hu.json +33 -0
  248. package/templates/portfolio-creative/l10n/id.json +33 -0
  249. package/templates/portfolio-creative/l10n/it.json +33 -0
  250. package/templates/portfolio-creative/l10n/ja.json +33 -0
  251. package/templates/portfolio-creative/l10n/ko.json +33 -0
  252. package/templates/portfolio-creative/l10n/lt.json +33 -0
  253. package/templates/portfolio-creative/l10n/nl.json +33 -0
  254. package/templates/portfolio-creative/l10n/no.json +33 -0
  255. package/templates/portfolio-creative/l10n/pl.json +33 -0
  256. package/templates/portfolio-creative/l10n/pt.json +33 -0
  257. package/templates/portfolio-creative/l10n/ru.json +33 -0
  258. package/templates/portfolio-creative/l10n/sv.json +33 -0
  259. package/templates/portfolio-creative/l10n/th.json +33 -0
  260. package/templates/portfolio-creative/l10n/tr.json +33 -0
  261. package/templates/portfolio-creative/l10n/uk.json +33 -0
  262. package/templates/portfolio-creative/l10n/vi.json +33 -0
  263. package/templates/portfolio-creative/l10n/zh.json +33 -0
  264. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +26 -11
  265. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +127 -18
  266. package/templates/restaurant/dev/index.ts +82 -0
  267. package/templates/restaurant/l10n/ar.json +33 -0
  268. package/templates/restaurant/l10n/cs.json +33 -0
  269. package/templates/restaurant/l10n/da.json +33 -0
  270. package/templates/restaurant/l10n/de.json +33 -0
  271. package/templates/restaurant/l10n/el.json +33 -0
  272. package/templates/restaurant/l10n/en.json +22 -1
  273. package/templates/restaurant/l10n/es.json +33 -0
  274. package/templates/restaurant/l10n/fi.json +33 -0
  275. package/templates/restaurant/l10n/fr.json +33 -0
  276. package/templates/restaurant/l10n/he.json +27 -0
  277. package/templates/restaurant/l10n/hu.json +33 -0
  278. package/templates/restaurant/l10n/id.json +33 -0
  279. package/templates/restaurant/l10n/it.json +33 -0
  280. package/templates/restaurant/l10n/ja.json +33 -0
  281. package/templates/restaurant/l10n/ko.json +33 -0
  282. package/templates/restaurant/l10n/lt.json +33 -0
  283. package/templates/restaurant/l10n/nl.json +33 -0
  284. package/templates/restaurant/l10n/no.json +33 -0
  285. package/templates/restaurant/l10n/pl.json +33 -0
  286. package/templates/restaurant/l10n/pt.json +33 -0
  287. package/templates/restaurant/l10n/ru.json +33 -0
  288. package/templates/restaurant/l10n/sv.json +33 -0
  289. package/templates/restaurant/l10n/th.json +33 -0
  290. package/templates/restaurant/l10n/tr.json +33 -0
  291. package/templates/restaurant/l10n/uk.json +33 -0
  292. package/templates/restaurant/l10n/vi.json +33 -0
  293. package/templates/restaurant/l10n/zh.json +33 -0
  294. package/templates/restaurant/tier5-src/_shared/himi-account.ts +26 -11
  295. package/templates/restaurant/tier5-src/himi-store-account/index.ts +127 -18
  296. package/templates/retail-store/dev/index.ts +82 -0
  297. package/templates/retail-store/l10n/ar.json +33 -0
  298. package/templates/retail-store/l10n/cs.json +33 -0
  299. package/templates/retail-store/l10n/da.json +33 -0
  300. package/templates/retail-store/l10n/de.json +33 -0
  301. package/templates/retail-store/l10n/el.json +33 -0
  302. package/templates/retail-store/l10n/en.json +22 -1
  303. package/templates/retail-store/l10n/es.json +33 -0
  304. package/templates/retail-store/l10n/fi.json +33 -0
  305. package/templates/retail-store/l10n/fr.json +33 -0
  306. package/templates/retail-store/l10n/he.json +27 -0
  307. package/templates/retail-store/l10n/hu.json +33 -0
  308. package/templates/retail-store/l10n/id.json +33 -0
  309. package/templates/retail-store/l10n/it.json +33 -0
  310. package/templates/retail-store/l10n/ja.json +33 -0
  311. package/templates/retail-store/l10n/ko.json +33 -0
  312. package/templates/retail-store/l10n/lt.json +33 -0
  313. package/templates/retail-store/l10n/nl.json +33 -0
  314. package/templates/retail-store/l10n/no.json +33 -0
  315. package/templates/retail-store/l10n/pl.json +33 -0
  316. package/templates/retail-store/l10n/pt.json +33 -0
  317. package/templates/retail-store/l10n/ru.json +33 -0
  318. package/templates/retail-store/l10n/sv.json +33 -0
  319. package/templates/retail-store/l10n/th.json +33 -0
  320. package/templates/retail-store/l10n/tr.json +33 -0
  321. package/templates/retail-store/l10n/uk.json +33 -0
  322. package/templates/retail-store/l10n/vi.json +33 -0
  323. package/templates/retail-store/l10n/zh.json +33 -0
  324. package/templates/retail-store/tier5-src/_shared/himi-account.ts +26 -11
  325. package/templates/retail-store/tier5-src/himi-store-account/index.ts +127 -18
  326. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +26 -11
  327. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +127 -18
  328. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +26 -11
  329. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +127 -18
  330. package/templates/yoga-studio/dev/index.ts +82 -0
  331. package/templates/yoga-studio/l10n/ar.json +33 -0
  332. package/templates/yoga-studio/l10n/cs.json +33 -0
  333. package/templates/yoga-studio/l10n/da.json +33 -0
  334. package/templates/yoga-studio/l10n/de.json +33 -0
  335. package/templates/yoga-studio/l10n/el.json +33 -0
  336. package/templates/yoga-studio/l10n/en.json +22 -1
  337. package/templates/yoga-studio/l10n/es.json +33 -0
  338. package/templates/yoga-studio/l10n/fi.json +33 -0
  339. package/templates/yoga-studio/l10n/fr.json +33 -0
  340. package/templates/yoga-studio/l10n/he.json +27 -0
  341. package/templates/yoga-studio/l10n/hu.json +33 -0
  342. package/templates/yoga-studio/l10n/id.json +33 -0
  343. package/templates/yoga-studio/l10n/it.json +33 -0
  344. package/templates/yoga-studio/l10n/ja.json +33 -0
  345. package/templates/yoga-studio/l10n/ko.json +33 -0
  346. package/templates/yoga-studio/l10n/lt.json +33 -0
  347. package/templates/yoga-studio/l10n/nl.json +33 -0
  348. package/templates/yoga-studio/l10n/no.json +33 -0
  349. package/templates/yoga-studio/l10n/pl.json +33 -0
  350. package/templates/yoga-studio/l10n/pt.json +33 -0
  351. package/templates/yoga-studio/l10n/ru.json +33 -0
  352. package/templates/yoga-studio/l10n/sv.json +33 -0
  353. package/templates/yoga-studio/l10n/th.json +33 -0
  354. package/templates/yoga-studio/l10n/tr.json +33 -0
  355. package/templates/yoga-studio/l10n/uk.json +33 -0
  356. package/templates/yoga-studio/l10n/vi.json +33 -0
  357. package/templates/yoga-studio/l10n/zh.json +33 -0
  358. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +26 -11
  359. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +127 -18
@@ -13,7 +13,7 @@ import { defineService, navigate } from "@himalaya/state";
13
13
  import { dispatch } from "@himalaya/dispatch";
14
14
  import { get as getAppInfo } from "@himalaya/app-info";
15
15
  import { getCurrentCart, searchOrders, type WixOrder } from "@himalaya/wix-ecom";
16
- import { guestProfile, loadMemberProfile, signedInEmail, strOf, fmtDate, titleCase, type AccountActivityRow } from "../_shared/himi-account";
16
+ import { guestProfile, loadMemberProfile, memberIdentity, signedInEmail, strOf, fmtDate, titleCase, type AccountActivityRow } from "../_shared/himi-account";
17
17
  import { stashCopy, copyParam, copyTemplate } from "../_shared/himi-copy.js";
18
18
  import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
19
19
  import { atLeast, memberAccountRoutes } from "../_shared/member-account-routes.js";
@@ -303,11 +303,21 @@ let signInPresentationRequested: "" | "sheet" | "full_screen" = "";
303
303
  let signInStyleRequested: "page" | "" = "";
304
304
  /** Account only: its tab, where a member screen opens after a modal sign-in. */
305
305
  let signInReturnTabRequested = "";
306
+ /** Bumped by Dismiss (before and after the host forgets): a probe that was in flight across a Dismiss
307
+ * read the notice before it was dismissed and must not bring it back. A probe started after it reads
308
+ * the host, which has forgotten, so nothing here outlives that one race. */
309
+ let sessionEndedDismissals = 0;
310
+ /** Bumped by every email edit: a value typed back to what it was is still an edit. */
311
+ let emailEdits = 0;
306
312
  let standaloneRequested = false;
307
313
  let pollIdentityRequested = false;
308
314
  // iOS can start the arg-less boot load after the appear refresh that asks for the row; the
309
315
  // newer boot probe must not land, or be kept, without it.
310
316
  let restorePurchasesRequested = false;
317
+ /** An app's sign-in form that carries the ended-session notice (appear param `sessionEndedNotice: "1"`).
318
+ * Only that form gets the signed-out headline, whose copy only that app's pack translates, and the ended
319
+ * session's address, which only its email field shows, so no form submits it unseen. */
320
+ let sessionEndedNoticeRequested = false;
311
321
  // Bumped by every mode switch, so a dropped probe never puts back a mode the visitor left.
312
322
  let modeSwitches = 0;
313
323
 
@@ -349,6 +359,7 @@ function appearConfig(s: S, arg: unknown): AppearConfig {
349
359
  standaloneRequested ||= s.standalone || appearing || (!routeInputConsumed && !!routeInput().mode);
350
360
  pollIdentityRequested ||= s.pollIdentity || strField(arg, "pollIdentity") === "1";
351
361
  restorePurchasesRequested ||= s.restorePurchases || strField(arg, "restorePurchases") === "1";
362
+ sessionEndedNoticeRequested ||= strField(arg, "sessionEndedNotice") === "1";
352
363
  // The form opens on the mode its route asked for each time it appears, sign-in by
353
364
  // default: a pooled worker reopened with the same params must not open on the mode the
354
365
  // last visit toggled to.
@@ -364,7 +375,7 @@ function appearConfig(s: S, arg: unknown): AppearConfig {
364
375
  const visit: Partial<S> = appearing
365
376
  // The route's own intent and return path too: a dropped probe must not keep the last
366
377
  // visit's (an abandoned gate) for the next Sign in to resume.
367
- ? { email: "", firstName: "", lastName: "", password: "", emailError: "", passwordError: "", message: "", lastNameFocus: "", emailFocus: "", passwordFocus: "", ...authIntentFromArg(arg, NO_VISIT) }
378
+ ? { email: "", emailTyped: false, firstName: "", lastName: "", password: "", emailError: "", passwordError: "", message: "", lastNameFocus: "", emailFocus: "", passwordFocus: "", ...authIntentFromArg(arg, NO_VISIT) }
368
379
  : {};
369
380
  return { mode, visit };
370
381
  }
@@ -381,17 +392,28 @@ async function freshProbe(s: S, arg?: unknown): Promise<{ next: S; latest: boole
381
392
  const revision = editRevision;
382
393
  const switches = modeSwitches;
383
394
  const visits = visitsApplied;
395
+ const emailsAtStart = emailEdits;
384
396
  const config = appearConfig(s, arg);
385
397
  const next = await probe(s, arg, config);
386
398
  if (authInFlight || revision !== editRevision || seq < appliedSeq || visits !== visitsApplied) {
387
399
  const current = svc.getState();
388
400
  const mode = authInFlight || switches !== modeSwitches ? {} : config.mode;
389
401
  // The new visit's clean form, except for what the visitor typed since it appeared.
390
- const visit = Object.fromEntries(Object.entries(config.visit)
391
- .filter(([key]) => current[key as keyof S] === s[key as keyof S]));
402
+ // The email field and its `emailTyped` marker stay as they are after any edit during this probe,
403
+ // even one that typed the same address back.
404
+ const untouched = (key: keyof S) => current[key] === s[key] && (key !== "email" && key !== "emailTyped" || emailsAtStart === emailEdits);
405
+ const visit = Object.fromEntries(Object.entries(config.visit).filter(([key]) => untouched(key as keyof S)));
392
406
  // Dropped only because a visit reset landed meanwhile: this is still the newest probe, so
393
407
  // it may still move a member off the form (the reset's own probe was not the newest).
394
408
  const latest = !authInFlight && revision === editRevision && seq >= appliedSeq && seq === probeSeq;
409
+ // The newest probe's ended-session read still counts when an edit dropped it: the signed-out
410
+ // headline, and the pre-fill for an email the reset empties. An older probe's read never does.
411
+ if (seq === probeSeq) {
412
+ Object.assign(visit, { sessionEnded: next.sessionEnded });
413
+ // The pre-fill lands on an email nobody edited during this probe that is (or is being reset to) empty.
414
+ const emptyUntouched = emailsAtStart === emailEdits && ("email" in visit || !current.email);
415
+ if (next.sessionEnded && next.email && emptyUntouched) Object.assign(visit, { email: next.email, emailTyped: next.emailTyped });
416
+ }
395
417
  const kept = derive({ ...current, ...appearBase(), ...mode, ...visit });
396
418
  // The reset still landed even though its probe was dropped. Invalidate arg-less loads
397
419
  // that started from the previous visit's state before they can restore its return path.
@@ -521,8 +543,22 @@ async function refreshSocial(): Promise<S> {
521
543
  applyMemberFlows(flows);
522
544
  if (flows.ok || !flows.notReady) flowsRetriesLeft = 0;
523
545
  }
546
+ const ended = await lateSessionEnded();
524
547
  const current = svc.getState();
525
- return derive({ ...current, ...(socialRetriesLeft > 0 || flowsRetriesLeft > 0 ? {} : { _poll: { id: SOCIAL_POLL.id, stop: true } }) });
548
+ return derive({ ...current, ...ended(current), ...(socialRetriesLeft > 0 || flowsRetriesLeft > 0 ? {} : { _poll: { id: SOCIAL_POLL.id, stop: true } }) });
549
+ }
550
+
551
+ /** This poll runs while the host's auth is not wired yet (a cold launch straight into the form), so the
552
+ * form's own identity reads may have seen no ended session: ask again until it is. */
553
+ async function lateSessionEnded(): Promise<(s: S) => Partial<S>> {
554
+ const before = svc.getState();
555
+ if (!standaloneRequested || before.isMember || before.sessionEnded) return () => ({});
556
+ const dismissals = sessionEndedDismissals;
557
+ const identity = await memberIdentity();
558
+ return (s) => {
559
+ if (identity.signedIn || !identity.sessionEnded || dismissals !== sessionEndedDismissals || s.isMember) return {};
560
+ return { sessionEnded: true, ...(s.email || s.emailTyped ? {} : endedSessionEmail(true, false, identity.lastEmail)) };
561
+ };
526
562
  }
527
563
 
528
564
  function socialCancelled(raw: unknown): boolean {
@@ -649,6 +685,21 @@ function authHeadline(s: S, isRegistering: boolean, isRecovering: boolean): { au
649
685
  authBody: copyParam("storeAccount.authBodyRegister", "Create a member account to continue — cart, bookings, RSVPs, and memberships stay with you."),
650
686
  };
651
687
  }
688
+ const contextual = intentHeadline(s);
689
+ if (s.sessionEnded && sessionEndedNoticeRequested) {
690
+ // A gate's own title stays ("Sign in to book"); the body says why they are signing in again.
691
+ return contextual
692
+ ? { authTitle: contextual.authTitle, authBody: copyParam("storeAccount.sessionEndedBodyContext", "You've been signed out. Sign in again, then we’ll bring you back.") }
693
+ : sessionEndedHeadline();
694
+ }
695
+ return contextual ?? {
696
+ authTitle: copyParam("storeAccount.authTitle", "Welcome"),
697
+ authBody: copyParam("storeAccount.authBody", "Sign in to continue — cart, bookings, RSVPs, and memberships stay with you."),
698
+ };
699
+ }
700
+
701
+ /** A mid-flow gate's headline (`authIntent`), or null for a plain sign-in. */
702
+ function intentHeadline(s: S): { authTitle: string; authBody: string } | null {
652
703
  switch (s.authIntent) {
653
704
  case "join_group":
654
705
  return {
@@ -673,13 +724,18 @@ function authHeadline(s: S, isRegistering: boolean, isRecovering: boolean): { au
673
724
  authBody: copyParam("storeAccount.authBodyPost", "Sign in to join the conversation, then we’ll bring you back."),
674
725
  };
675
726
  default:
676
- return {
677
- authTitle: copyParam("storeAccount.authTitle", "Welcome"),
678
- authBody: copyParam("storeAccount.authBody", "Sign in to continue — cart, bookings, RSVPs, and memberships stay with you."),
679
- };
727
+ return null;
680
728
  }
681
729
  }
682
730
 
731
+ /** The member's session ended on its own: the form says why they are signing in again. */
732
+ function sessionEndedHeadline(): { authTitle: string; authBody: string } {
733
+ return {
734
+ authTitle: copyParam("storeAccount.sessionEndedTitle", "You've been signed out"),
735
+ authBody: copyParam("storeAccount.sessionEndedBody", "Sign in again to get back to your cart, orders, and bookings."),
736
+ };
737
+ }
738
+
683
739
  interface S extends IapRestoreFields {
684
740
  status: "loading" | "ready";
685
741
  isMember: boolean;
@@ -784,6 +840,13 @@ interface S extends IapRestoreFields {
784
840
  standalone: boolean;
785
841
  /** Account only (appear param `pollIdentity: "1"`): re-read the session on a timer. */
786
842
  pollIdentity: boolean;
843
+ /** The host says this visitor's member session ended on its own (`himi.wix.memberIdentity`'s
844
+ * `sessionEnded`): never after their own sign-out, gone once they sign in or dismiss it. */
845
+ sessionEnded: boolean;
846
+ /** Account's "You've been signed out" notice: hidden for a member, while loading, and with no ended session. */
847
+ hideSessionEnded: boolean;
848
+ /** The visitor edited the email field in this visit (a clear included): no pre-fill replaces it. */
849
+ emailTyped?: boolean;
787
850
  }
788
851
 
789
852
  // Restore purchases (App Review 3.1.1) for every vertical the app sells through the App Store. The
@@ -824,6 +887,7 @@ function derive(s: S): S {
824
887
  greetingFirstName: name,
825
888
  hideGuest: loading || !!s.isMember,
826
889
  hideMember: loading || !s.isMember,
890
+ hideSessionEnded: loading || !!s.isMember || !s.sessionEnded,
827
891
  password: "",
828
892
  busyMessage: s.authBusy ? translated("auth.feedback.busy") : "",
829
893
  isLoading: s.status === "loading",
@@ -906,6 +970,7 @@ async function cartItemCount(known: number): Promise<number> {
906
970
  }
907
971
 
908
972
  async function probe(s: S, arg?: unknown, config: AppearConfig = appearConfig(s, arg)): Promise<S> {
973
+ const dismissalsAtStart = sessionEndedDismissals;
909
974
  memberAccountLinksRequested ||= s.memberAccountLinks || strField(arg, "memberAccountLinks") === "1";
910
975
  // A new visit to the form reads its intent and return path from its own route only: the
911
976
  // last visit's (an abandoned gate) must not be resumed by a plain sign-in.
@@ -917,7 +982,8 @@ async function probe(s: S, arg?: unknown, config: AppearConfig = appearConfig(s,
917
982
  const cartCountRead = cartCountRequested ? cartItemCount(s.cartCount ?? 0) : Promise.resolve(s.cartCount ?? 0);
918
983
  const socialRead: Promise<SocialProvidersRead> = standaloneRequested ? readSocialProviders() : Promise.resolve({ ok: false });
919
984
  const flowsRead: Promise<MemberFlowsRead> = standaloneRequested ? readMemberFlows() : Promise.resolve({ ok: false, notReady: false });
920
- const profile = await loadMemberProfile(copyParam("storeAccount.guestDetail", "Sign in to keep your cart and orders connected."));
985
+ const identity = await memberIdentity();
986
+ const profile = await loadMemberProfile(copyParam("storeAccount.guestDetail", "Sign in to keep your cart and orders connected."), identity);
921
987
  const social = await socialRead;
922
988
  applySocialProviders(social);
923
989
  const flows = await flowsRead;
@@ -938,6 +1004,8 @@ async function probe(s: S, arg?: unknown, config: AppearConfig = appearConfig(s,
938
1004
  }
939
1005
  }
940
1006
  const cartCount = await cartCountRead;
1007
+ // After every await: a Dismiss that landed meanwhile wins over this probe's earlier read.
1008
+ const sessionEnded = !profile.isMember && identity.sessionEnded && dismissalsAtStart === sessionEndedDismissals;
941
1009
  return derive({
942
1010
  ...s,
943
1011
  ...intent,
@@ -953,11 +1021,15 @@ async function probe(s: S, arg?: unknown, config: AppearConfig = appearConfig(s,
953
1021
  hasMemberImage: profile.hasMemberImage,
954
1022
  noMemberImage: profile.noMemberImage,
955
1023
  email: profile.memberEmail || s.email,
1024
+ sessionEnded,
956
1025
  message: "",
957
1026
  memberAccountLinks,
958
1027
  ...appearBase(),
959
1028
  ...config.mode,
960
1029
  ...config.visit,
1030
+ // After the visit reset: the ended session's email fills an empty or still-pre-filled field,
1031
+ // never what was typed.
1032
+ ...endedSessionEmail(sessionEnded, config.visit.email === "" ? false : !!s.emailTyped, identity.lastEmail),
961
1033
  noMemberAddresses: !routes.addresses,
962
1034
  noMemberWallet: !routes.wallet,
963
1035
  activityRows,
@@ -971,6 +1043,12 @@ async function probe(s: S, arg?: unknown, config: AppearConfig = appearConfig(s,
971
1043
  });
972
1044
  }
973
1045
 
1046
+ /** An ended session's email fills the field until the visitor edits it in this visit (`setEmail`, a
1047
+ * clear included); state, so a discarded probe changes nothing. */
1048
+ function endedSessionEmail(sessionEnded: boolean, typed: boolean, lastEmail: string): Partial<S> {
1049
+ return sessionEnded && !typed && sessionEndedNoticeRequested ? { email: lastEmail } : {};
1050
+ }
1051
+
974
1052
  function completedAuth(s: S): S {
975
1053
  return derive({
976
1054
  ...s,
@@ -989,6 +1067,7 @@ const svc = defineService<S, {
989
1067
  submit: (s: S) => Promise<S | undefined>;
990
1068
  load: (s: S, arg?: unknown) => Promise<S>;
991
1069
  refresh: (s: S, arg?: unknown) => Promise<S>;
1070
+ clearFormEmail: (s: S) => S;
992
1071
  setEmail: (s: S, arg?: unknown) => S;
993
1072
  setPassword: (s: S, arg?: unknown) => S;
994
1073
  setFirstName: (s: S, arg?: unknown) => S;
@@ -1004,13 +1083,18 @@ const svc = defineService<S, {
1004
1083
  signInWithSocial: (s: S, arg?: unknown) => Promise<S | undefined>;
1005
1084
  refreshSocial: (s: S) => Promise<S>;
1006
1085
  signOut: (s: S) => Promise<S>;
1086
+ dismissSessionEnded: (s: S) => Promise<S>;
1007
1087
  sync: (s: S) => Promise<S | undefined>;
1008
1088
  openMember: (s: S, arg?: unknown) => Promise<S>;
1009
1089
  leave: (s: S) => S;
1010
1090
  restorePublish: (s: S) => S;
1011
1091
  iapRestore: (s: S) => Promise<undefined>;
1012
1092
  }>("himiStoreAccount", {
1013
- notHydrated: ["message", "hideMessage", "messageKind", "resetSent", "password", "authBusy", "hideAppleSignIn", "hideAppleSystemButton", "hideAppleLegacyButton", "hideGoogleSignIn", "hideSocialSignIn", "emailError", "passwordError", "passwordFocus", "lastNameFocus", "emailFocus", ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, ...IAP_RESTORE_KEYS],
1093
+ // The form's email is never stored: after an ended session it is the former member's address, and a
1094
+ // visitor's snapshot is the shared `default` account's.
1095
+ // Nor the headline: a stored "You've been signed out" would paint again after a dismissal.
1096
+ notPersisted: ["email", "emailTyped", "authTitle", "authBody"],
1097
+ notHydrated: ["sessionEnded", "hideSessionEnded", "email", "emailTyped", "message", "hideMessage", "messageKind", "resetSent", "password", "authBusy", "hideAppleSignIn", "hideAppleSystemButton", "hideAppleLegacyButton", "hideGoogleSignIn", "hideSocialSignIn", "emailError", "passwordError", "passwordFocus", "lastNameFocus", "emailFocus", ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, ...IAP_RESTORE_KEYS],
1014
1098
  state: derive({
1015
1099
  status: "loading",
1016
1100
  isMember: false,
@@ -1077,22 +1161,39 @@ const svc = defineService<S, {
1077
1161
  signInScreen: "",
1078
1162
  standalone: false,
1079
1163
  pollIdentity: false,
1164
+ sessionEnded: false,
1165
+ hideSessionEnded: true,
1080
1166
  ...NO_IAP_RESTORE,
1081
1167
  }),
1082
1168
  actions: {
1083
1169
  submit: (s): Promise<S | undefined> => s.isRecovering ? svc.resetPassword() : authenticate(s, s.isRegistering ? "register" : "signIn"),
1084
1170
  beginAuth: (s) => derive({ ...s, authBusy: true, message: "", emailError: "", passwordError: "" }),
1085
1171
  load: async (s, arg): Promise<S> => { stashScreenCopy(arg); return afterProbe(await freshProbe(s, arg), arg); },
1086
- refresh: async (s, arg): Promise<S> => { stashScreenCopy(arg); return afterProbe(await freshProbe(s, arg), arg); },
1172
+ refresh: async (s, arg): Promise<S> => {
1173
+ stashScreenCopy(arg);
1174
+ // A new visit to the form: its bound email field must not show the last visitor's address, nor its
1175
+ // headline the last visit's notice, while this visit's identity read is still on its way.
1176
+ const reopened = strField(arg, "standalone") === "1" && (!!s.email || !!s.emailTyped || !!s.sessionEnded);
1177
+ if (reopened) await svc.clearFormEmail();
1178
+ const start = reopened ? svc.getState() : s;
1179
+ return afterProbe(await freshProbe(start, arg), arg);
1180
+ },
1181
+ // Also drops any probe still in flight: it started before this visit and would put the old address back.
1182
+ // And the last visit's notice: this visit's read says whether the session ended (it may have been dismissed).
1183
+ clearFormEmail: (s) => { visitsApplied++; return derive({ ...s, email: "", emailTyped: false, sessionEnded: false }); },
1087
1184
  // Idle ticks return undefined, so an unchanged session costs no re-render.
1088
1185
  sync: async (s): Promise<S | undefined> => {
1089
1186
  if (authInFlight) return undefined;
1090
- const email = (await signedInEmail()).toLowerCase();
1187
+ const identity = await memberIdentity();
1188
+ const email = identity.email.toLowerCase();
1091
1189
  // An empty read during a poll is a failed read as often as a sign-out (a network blip,
1092
1190
  // a 5xx): it never turns a member into a guest. Account's own Sign out, and the next
1093
- // appear refresh, handle a real sign-out.
1094
- if (!email && s.isMember) return undefined;
1095
- if (email === s.memberEmail.toLowerCase() && !!email === s.isMember) return undefined;
1191
+ // appear refresh, handle a real sign-out. A host that says the session ENDED is not a
1192
+ // failed read: the member is a visitor now and is told so.
1193
+ if (!email && s.isMember && !identity.sessionEnded) return undefined;
1194
+ // A notice that arrived after the last paint (the provider was wired after Account first read
1195
+ // identity) is a change too.
1196
+ if (email === s.memberEmail.toLowerCase() && !!email === s.isMember && identity.sessionEnded === !!s.sessionEnded) return undefined;
1096
1197
  const r = await freshProbe(s);
1097
1198
  return "next" in r ? r.next : undefined;
1098
1199
  },
@@ -1116,7 +1217,7 @@ const svc = defineService<S, {
1116
1217
  // A setter given the value it already has is not an edit: a hidden form's secure field
1117
1218
  // clears itself on unmount (setPassword("")), and counting that would drop the probe
1118
1219
  // that is about to move a member off the form.
1119
- setEmail: (s, arg) => { if (strOf(arg).trim() === s.email) return s; editRevision++; const next = { ...s, ...TYPED, email: strOf(arg).trim(), message: "" }; return derive({ ...next, emailError: s.emailError ? (identityErrors({ email: next.email }, "reset").email ? translated(identityErrors({ email: next.email }, "reset").email!) : "") : "" }); },
1220
+ setEmail: (s, arg) => { if (strOf(arg).trim() === s.email) return s; editRevision++; const next = { ...s, ...TYPED, email: strOf(arg).trim(), emailTyped: true, message: "" }; emailEdits++; return derive({ ...next, emailError: s.emailError ? (identityErrors({ email: next.email }, "reset").email ? translated(identityErrors({ email: next.email }, "reset").email!) : "") : "" }); },
1120
1221
  setPassword: (s, arg) => { if (strOf(arg) === passwordDraft) return s; editRevision++; passwordDraft = strOf(arg); return derive({ ...s, ...TYPED, message: "", passwordError: s.passwordError && !passwordDraft ? translated("auth.validation.passwordRequired") : "" }); },
1121
1222
  setFirstName: (s, arg) => { if (strOf(arg) === s.firstName) return s; editRevision++; return derive({ ...s, ...TYPED, firstName: strOf(arg), message: "" }); },
1122
1223
  setLastName: (s, arg) => { if (strOf(arg) === s.lastName) return s; editRevision++; return derive({ ...s, ...TYPED, lastName: strOf(arg), message: "" }); },
@@ -1171,6 +1272,7 @@ const svc = defineService<S, {
1171
1272
  ...guest,
1172
1273
  status: "ready" as const,
1173
1274
  isMember: false,
1275
+ sessionEnded: false,
1174
1276
  isRegistering: false,
1175
1277
  isRecovering: false,
1176
1278
  message: "",
@@ -1193,12 +1295,19 @@ const svc = defineService<S, {
1193
1295
  };
1194
1296
  return derive(cleared);
1195
1297
  },
1298
+ // The notice's dismiss: hidden at once, and the host forgets it (an older host has no such verb).
1299
+ dismissSessionEnded: async (): Promise<S> => {
1300
+ sessionEndedDismissals++;
1301
+ try { await dispatch("himi.wix.dismissSessionEnded"); } catch { /* ignore */ }
1302
+ sessionEndedDismissals++;
1303
+ return derive({ ...svc.getState(), sessionEnded: false });
1304
+ },
1196
1305
  restorePublish: (s) => derive(s),
1197
1306
  iapRestore: async () => { await restore.run(); return undefined; },
1198
1307
  },
1199
1308
  });
1200
1309
 
1201
- resetUnhydratedKeysOnOlderRuntime(svc, derive({ ...svc.getState(), ...NO_IAP_RESTORE, ...NO_VISIT, ...NO_FOCUS_ALL, message: "", resetSent: false, passwordFocus: "", isRegistering: ROUTE_ASKS_REGISTER }), ["message", "hideMessage", "messageKind", "resetSent", "hideAppleSignIn", "hideAppleSystemButton", "hideAppleLegacyButton", "hideGoogleSignIn", "hideSocialSignIn", ...IAP_RESTORE_KEYS, ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, "lastNameFocus", "emailFocus", "passwordFocus"]);
1310
+ resetUnhydratedKeysOnOlderRuntime(svc, derive({ ...svc.getState(), ...NO_IAP_RESTORE, ...NO_VISIT, ...NO_FOCUS_ALL, message: "", resetSent: false, passwordFocus: "", isRegistering: ROUTE_ASKS_REGISTER, sessionEnded: false }), ["sessionEnded", "hideSessionEnded", "message", "hideMessage", "messageKind", "resetSent", "hideAppleSignIn", "hideAppleSystemButton", "hideAppleLegacyButton", "hideGoogleSignIn", "hideSocialSignIn", ...IAP_RESTORE_KEYS, ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, "lastNameFocus", "emailFocus", "passwordFocus"]);
1202
1311
  // `boot` tells settle this is not a visit: the host drops this call's navigation, and the
1203
1312
  // appear refresh does the visit's moves.
1204
1313
  svc.load({ boot: "1" });
@@ -2633,6 +2633,86 @@ const SCREENS = runtimeSetting({
2633
2633
  "spacing": 0,
2634
2634
  "alignment": "leading",
2635
2635
  "children": [
2636
+ {
2637
+ "id": "himi_account.session_ended",
2638
+ "body": {
2639
+ "package": "himalaya",
2640
+ "type": "VStack",
2641
+ "props": {
2642
+ "spacing": 4,
2643
+ "alignment": "leading",
2644
+ "children": [
2645
+ {
2646
+ "id": "himi_account.session_ended_banner",
2647
+ "body": {
2648
+ "package": "himalaya",
2649
+ "type": "Banner",
2650
+ "props": {
2651
+ "severity": "info",
2652
+ "title": "You've been signed out.",
2653
+ "message": "Sign in again."
2654
+ }
2655
+ }
2656
+ },
2657
+ {
2658
+ "id": "",
2659
+ "body": {
2660
+ "package": "himalaya",
2661
+ "type": "HStack",
2662
+ "props": {
2663
+ "spacing": 8,
2664
+ "alignment": "center",
2665
+ "children": [
2666
+ {
2667
+ "id": "himi_account.session_ended_signin",
2668
+ "body": {
2669
+ "package": "himalaya",
2670
+ "type": "Button",
2671
+ "props": {
2672
+ "title": "Sign in",
2673
+ "style": "primary",
2674
+ "action": {
2675
+ "actionId": "himi.open",
2676
+ "params": {
2677
+ "screenId": "himi_sign_in",
2678
+ "mode": "signin",
2679
+ "modal": "1",
2680
+ "sheetStyle": "page"
2681
+ },
2682
+ "presentation": "sheet"
2683
+ }
2684
+ }
2685
+ }
2686
+ },
2687
+ {
2688
+ "id": "himi_account.session_ended_dismiss",
2689
+ "body": {
2690
+ "package": "himalaya",
2691
+ "type": "Button",
2692
+ "props": {
2693
+ "title": "Dismiss",
2694
+ "style": "plain",
2695
+ "action": {
2696
+ "actionId": "tier5.himiStoreAccount.dismissSessionEnded"
2697
+ }
2698
+ }
2699
+ }
2700
+ }
2701
+ ]
2702
+ }
2703
+ }
2704
+ }
2705
+ ]
2706
+ }
2707
+ },
2708
+ "modifiers": {
2709
+ "fillMaxWidth": true,
2710
+ "padding": {
2711
+ "bottom": 16
2712
+ },
2713
+ "hiddenPath": "$service:himiStoreAccount.hideSessionEnded"
2714
+ }
2715
+ },
2636
2716
  {
2637
2717
  "id": "himi_account.title",
2638
2718
  "body": {
@@ -8045,6 +8125,7 @@ const SCREENS = runtimeSetting({
8045
8125
  },
8046
8126
  "autoCapitalization": "none",
8047
8127
  "focusPath": "$service:himiStoreAccount.emailFocus",
8128
+ "valuePath": "$service:himiStoreAccount.email",
8048
8129
  "onChange": {
8049
8130
  "actionId": "tier5.himiStoreAccount.setEmail"
8050
8131
  }
@@ -8306,6 +8387,7 @@ const SCREENS = runtimeSetting({
8306
8387
  "actionId": "tier5.himiStoreAccount.refresh",
8307
8388
  "params": {
8308
8389
  "standalone": "1",
8390
+ "sessionEndedNotice": "1",
8309
8391
  "copy": "{\"account.subtitle\":\"RSVPs, groups and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — RSVPs and groups stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — RSVPs and groups stay with you.\"}"
8310
8392
  }
8311
8393
  }
@@ -1322,6 +1322,24 @@
1322
1322
  "translation": "تم حفظ اختياراتك أدناه، لكن لن يصل أي شيء حتى يتم السماح بالإشعارات على هذا الهاتف.",
1323
1323
  "origin": "machine"
1324
1324
  },
1325
+ "h_6d78b9cbbce4": {
1326
+ "key": "account.sessionEndedTitle",
1327
+ "source": "You've been signed out.",
1328
+ "translation": "تم تسجيل خروجك.",
1329
+ "origin": "machine"
1330
+ },
1331
+ "h_7ac02c7b6f0e": {
1332
+ "key": "account.sessionEndedBody",
1333
+ "source": "Sign in again.",
1334
+ "translation": "سجّل الدخول مرة أخرى.",
1335
+ "origin": "machine"
1336
+ },
1337
+ "h_70afe9eff3f2": {
1338
+ "key": "account.sessionEndedDismiss",
1339
+ "source": "Dismiss",
1340
+ "translation": "إغلاق",
1341
+ "origin": "machine"
1342
+ },
1325
1343
  "h_1e9b74b4dda5": {
1326
1344
  "source": "Show all ({count})",
1327
1345
  "translation": "عرض الكل ({count})",
@@ -3021,6 +3039,21 @@
3021
3039
  "source": "Change notifications for this app in your phone's settings.",
3022
3040
  "translation": "غيّر إشعارات هذا التطبيق من إعدادات هاتفك.",
3023
3041
  "origin": "machine"
3042
+ },
3043
+ "h_7dece819a35c": {
3044
+ "source": "You've been signed out",
3045
+ "translation": "تم تسجيل خروجك",
3046
+ "origin": "machine"
3047
+ },
3048
+ "h_cf70d2b54929": {
3049
+ "source": "Sign in again to get back to your cart, orders, and bookings.",
3050
+ "translation": "سجّل الدخول مرة أخرى للعودة إلى سلة التسوق والطلبات والحجوزات.",
3051
+ "origin": "machine"
3052
+ },
3053
+ "h_2c06d2d00d31": {
3054
+ "source": "You've been signed out. Sign in again, then we’ll bring you back.",
3055
+ "translation": "تم تسجيل خروجك. سجّل الدخول مرة أخرى، ثم سنعيدك إلى هنا.",
3056
+ "origin": "machine"
3024
3057
  }
3025
3058
  }
3026
3059
  }
@@ -1322,6 +1322,24 @@
1322
1322
  "translation": "Vaše volby níže jsou uložené, ale nic nedorazí, dokud nebudou oznámení v tomto telefonu povolena.",
1323
1323
  "origin": "machine"
1324
1324
  },
1325
+ "h_6d78b9cbbce4": {
1326
+ "key": "account.sessionEndedTitle",
1327
+ "source": "You've been signed out.",
1328
+ "translation": "Byli jste odhlášeni.",
1329
+ "origin": "machine"
1330
+ },
1331
+ "h_7ac02c7b6f0e": {
1332
+ "key": "account.sessionEndedBody",
1333
+ "source": "Sign in again.",
1334
+ "translation": "Přihlaste se znovu.",
1335
+ "origin": "machine"
1336
+ },
1337
+ "h_70afe9eff3f2": {
1338
+ "key": "account.sessionEndedDismiss",
1339
+ "source": "Dismiss",
1340
+ "translation": "Zavřít",
1341
+ "origin": "machine"
1342
+ },
1325
1343
  "h_1e9b74b4dda5": {
1326
1344
  "source": "Show all ({count})",
1327
1345
  "translation": "Zobrazit vše ({count})",
@@ -3021,6 +3039,21 @@
3021
3039
  "source": "Change notifications for this app in your phone's settings.",
3022
3040
  "translation": "Oznámení této aplikace změníte v nastavení telefonu.",
3023
3041
  "origin": "machine"
3042
+ },
3043
+ "h_7dece819a35c": {
3044
+ "source": "You've been signed out",
3045
+ "translation": "Byli jste odhlášeni",
3046
+ "origin": "machine"
3047
+ },
3048
+ "h_cf70d2b54929": {
3049
+ "source": "Sign in again to get back to your cart, orders, and bookings.",
3050
+ "translation": "Přihlaste se znovu a vraťte se ke košíku, objednávkám a rezervacím.",
3051
+ "origin": "machine"
3052
+ },
3053
+ "h_2c06d2d00d31": {
3054
+ "source": "You've been signed out. Sign in again, then we’ll bring you back.",
3055
+ "translation": "Byli jste odhlášeni. Přihlaste se znovu a vrátíme vás zpět.",
3056
+ "origin": "machine"
3024
3057
  }
3025
3058
  }
3026
3059
  }
@@ -1322,6 +1322,24 @@
1322
1322
  "translation": "Dine valg nedenfor er gemt, men intet kommer frem, før notifikationer er tilladt på denne telefon.",
1323
1323
  "origin": "machine"
1324
1324
  },
1325
+ "h_6d78b9cbbce4": {
1326
+ "key": "account.sessionEndedTitle",
1327
+ "source": "You've been signed out.",
1328
+ "translation": "Du er blevet logget ud.",
1329
+ "origin": "machine"
1330
+ },
1331
+ "h_7ac02c7b6f0e": {
1332
+ "key": "account.sessionEndedBody",
1333
+ "source": "Sign in again.",
1334
+ "translation": "Log ind igen.",
1335
+ "origin": "machine"
1336
+ },
1337
+ "h_70afe9eff3f2": {
1338
+ "key": "account.sessionEndedDismiss",
1339
+ "source": "Dismiss",
1340
+ "translation": "Luk",
1341
+ "origin": "machine"
1342
+ },
1325
1343
  "h_1e9b74b4dda5": {
1326
1344
  "source": "Show all ({count})",
1327
1345
  "translation": "Vis alle ({count})",
@@ -3021,6 +3039,21 @@
3021
3039
  "source": "Change notifications for this app in your phone's settings.",
3022
3040
  "translation": "Skift notifikationer for denne app i telefonens indstillinger.",
3023
3041
  "origin": "machine"
3042
+ },
3043
+ "h_7dece819a35c": {
3044
+ "source": "You've been signed out",
3045
+ "translation": "Du er blevet logget ud",
3046
+ "origin": "machine"
3047
+ },
3048
+ "h_cf70d2b54929": {
3049
+ "source": "Sign in again to get back to your cart, orders, and bookings.",
3050
+ "translation": "Log ind igen for at komme tilbage til din kurv, dine ordrer og bookinger.",
3051
+ "origin": "machine"
3052
+ },
3053
+ "h_2c06d2d00d31": {
3054
+ "source": "You've been signed out. Sign in again, then we’ll bring you back.",
3055
+ "translation": "Du er blevet logget ud. Log ind igen, så sender vi dig tilbage.",
3056
+ "origin": "machine"
3024
3057
  }
3025
3058
  }
3026
3059
  }
@@ -1322,6 +1322,24 @@
1322
1322
  "translation": "Deine Auswahl unten ist gespeichert, aber es kommt nichts an, bis Benachrichtigungen auf diesem Telefon erlaubt sind.",
1323
1323
  "origin": "machine"
1324
1324
  },
1325
+ "h_6d78b9cbbce4": {
1326
+ "key": "account.sessionEndedTitle",
1327
+ "source": "You've been signed out.",
1328
+ "translation": "Du wurdest abgemeldet.",
1329
+ "origin": "machine"
1330
+ },
1331
+ "h_7ac02c7b6f0e": {
1332
+ "key": "account.sessionEndedBody",
1333
+ "source": "Sign in again.",
1334
+ "translation": "Melde dich erneut an.",
1335
+ "origin": "machine"
1336
+ },
1337
+ "h_70afe9eff3f2": {
1338
+ "key": "account.sessionEndedDismiss",
1339
+ "source": "Dismiss",
1340
+ "translation": "Schließen",
1341
+ "origin": "machine"
1342
+ },
1325
1343
  "h_1e9b74b4dda5": {
1326
1344
  "source": "Show all ({count})",
1327
1345
  "translation": "Alle anzeigen ({count})",
@@ -3021,6 +3039,21 @@
3021
3039
  "source": "Change notifications for this app in your phone's settings.",
3022
3040
  "translation": "Ändere die Benachrichtigungen dieser App in den Einstellungen deines Telefons.",
3023
3041
  "origin": "machine"
3042
+ },
3043
+ "h_7dece819a35c": {
3044
+ "source": "You've been signed out",
3045
+ "translation": "Du wurdest abgemeldet",
3046
+ "origin": "machine"
3047
+ },
3048
+ "h_cf70d2b54929": {
3049
+ "source": "Sign in again to get back to your cart, orders, and bookings.",
3050
+ "translation": "Melde dich erneut an, um zu deinem Warenkorb, deinen Bestellungen und Buchungen zurückzukehren.",
3051
+ "origin": "machine"
3052
+ },
3053
+ "h_2c06d2d00d31": {
3054
+ "source": "You've been signed out. Sign in again, then we’ll bring you back.",
3055
+ "translation": "Du wurdest abgemeldet. Melde dich erneut an, dann bringen wir dich zurück.",
3056
+ "origin": "machine"
3024
3057
  }
3025
3058
  }
3026
3059
  }