@wix/himalaya-cli 0.1866.0 → 0.1868.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 (401) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +17 -7
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +1 -44
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/overlapping-panel-header.d.ts +30 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +55 -11
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +217 -155
  9. package/dist/browser-plane/assets.json +5 -5
  10. package/dist/browser-plane/preview-deferred/{a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin → 606c83075130fbcd609b5aabaa1e6bac0bfb27bd362d1ce8eb5cbcb266e1f682.bin} +1 -1
  11. package/dist/browser-plane/sw.js +8 -8
  12. package/dist/cli.mjs +6179 -5817
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/guides/component-index.md +1 -1
  15. package/guides/component-reference.json +1 -1
  16. package/guides/component-reference.md +4 -0
  17. package/guides/designing-himi-screens.md +5 -0
  18. package/guides/one-app-to-himi-app.md +13 -7
  19. package/guides/one-app-viewer.md +3 -1
  20. package/guides/release-notes.md +13 -0
  21. package/guides/sdk-reference.json +0 -21
  22. package/package.json +2 -2
  23. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  24. package/templates/beauty-salon/dev/index.ts +122 -8
  25. package/templates/beauty-salon/l10n/ar.json +5 -0
  26. package/templates/beauty-salon/l10n/cs.json +5 -0
  27. package/templates/beauty-salon/l10n/da.json +5 -0
  28. package/templates/beauty-salon/l10n/de.json +5 -0
  29. package/templates/beauty-salon/l10n/el.json +5 -0
  30. package/templates/beauty-salon/l10n/en.json +1 -1
  31. package/templates/beauty-salon/l10n/es.json +5 -0
  32. package/templates/beauty-salon/l10n/fi.json +5 -0
  33. package/templates/beauty-salon/l10n/fr.json +5 -0
  34. package/templates/beauty-salon/l10n/he.json +4 -0
  35. package/templates/beauty-salon/l10n/hu.json +5 -0
  36. package/templates/beauty-salon/l10n/id.json +5 -0
  37. package/templates/beauty-salon/l10n/it.json +5 -0
  38. package/templates/beauty-salon/l10n/ja.json +5 -0
  39. package/templates/beauty-salon/l10n/ko.json +5 -0
  40. package/templates/beauty-salon/l10n/lt.json +5 -0
  41. package/templates/beauty-salon/l10n/nl.json +5 -0
  42. package/templates/beauty-salon/l10n/no.json +5 -0
  43. package/templates/beauty-salon/l10n/pl.json +5 -0
  44. package/templates/beauty-salon/l10n/pt.json +5 -0
  45. package/templates/beauty-salon/l10n/ru.json +5 -0
  46. package/templates/beauty-salon/l10n/sv.json +5 -0
  47. package/templates/beauty-salon/l10n/th.json +5 -0
  48. package/templates/beauty-salon/l10n/tr.json +5 -0
  49. package/templates/beauty-salon/l10n/uk.json +5 -0
  50. package/templates/beauty-salon/l10n/vi.json +5 -0
  51. package/templates/beauty-salon/l10n/zh.json +5 -0
  52. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  53. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  54. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  55. package/templates/branded-lite/dev/index.ts +732 -583
  56. package/templates/branded-lite/l10n/ar.json +5 -0
  57. package/templates/branded-lite/l10n/cs.json +5 -0
  58. package/templates/branded-lite/l10n/da.json +5 -0
  59. package/templates/branded-lite/l10n/de.json +5 -0
  60. package/templates/branded-lite/l10n/el.json +5 -0
  61. package/templates/branded-lite/l10n/en.json +2 -2
  62. package/templates/branded-lite/l10n/es.json +5 -0
  63. package/templates/branded-lite/l10n/fi.json +5 -0
  64. package/templates/branded-lite/l10n/fr.json +5 -0
  65. package/templates/branded-lite/l10n/he.json +4 -0
  66. package/templates/branded-lite/l10n/hu.json +5 -0
  67. package/templates/branded-lite/l10n/id.json +5 -0
  68. package/templates/branded-lite/l10n/it.json +5 -0
  69. package/templates/branded-lite/l10n/ja.json +5 -0
  70. package/templates/branded-lite/l10n/ko.json +5 -0
  71. package/templates/branded-lite/l10n/lt.json +5 -0
  72. package/templates/branded-lite/l10n/nl.json +5 -0
  73. package/templates/branded-lite/l10n/no.json +5 -0
  74. package/templates/branded-lite/l10n/pl.json +5 -0
  75. package/templates/branded-lite/l10n/pt.json +5 -0
  76. package/templates/branded-lite/l10n/ru.json +5 -0
  77. package/templates/branded-lite/l10n/sv.json +5 -0
  78. package/templates/branded-lite/l10n/th.json +5 -0
  79. package/templates/branded-lite/l10n/tr.json +5 -0
  80. package/templates/branded-lite/l10n/uk.json +5 -0
  81. package/templates/branded-lite/l10n/vi.json +5 -0
  82. package/templates/branded-lite/l10n/zh.json +5 -0
  83. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  84. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  85. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  86. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  87. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  88. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  89. package/templates/community-club/dev/index.ts +122 -8
  90. package/templates/community-club/l10n/ar.json +10 -0
  91. package/templates/community-club/l10n/cs.json +10 -0
  92. package/templates/community-club/l10n/da.json +10 -0
  93. package/templates/community-club/l10n/de.json +10 -0
  94. package/templates/community-club/l10n/el.json +10 -0
  95. package/templates/community-club/l10n/en.json +1 -1
  96. package/templates/community-club/l10n/es.json +10 -0
  97. package/templates/community-club/l10n/fi.json +10 -0
  98. package/templates/community-club/l10n/fr.json +10 -0
  99. package/templates/community-club/l10n/he.json +8 -0
  100. package/templates/community-club/l10n/hu.json +10 -0
  101. package/templates/community-club/l10n/id.json +10 -0
  102. package/templates/community-club/l10n/it.json +10 -0
  103. package/templates/community-club/l10n/ja.json +10 -0
  104. package/templates/community-club/l10n/ko.json +10 -0
  105. package/templates/community-club/l10n/lt.json +10 -0
  106. package/templates/community-club/l10n/nl.json +10 -0
  107. package/templates/community-club/l10n/no.json +10 -0
  108. package/templates/community-club/l10n/pl.json +10 -0
  109. package/templates/community-club/l10n/pt.json +10 -0
  110. package/templates/community-club/l10n/ru.json +10 -0
  111. package/templates/community-club/l10n/sv.json +10 -0
  112. package/templates/community-club/l10n/th.json +10 -0
  113. package/templates/community-club/l10n/tr.json +10 -0
  114. package/templates/community-club/l10n/uk.json +10 -0
  115. package/templates/community-club/l10n/vi.json +10 -0
  116. package/templates/community-club/l10n/zh.json +10 -0
  117. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  118. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  119. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  120. package/templates/conference/dev/index.ts +744 -595
  121. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  122. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  123. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  124. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  125. package/templates/events-meetups/dev/index.ts +122 -8
  126. package/templates/events-meetups/l10n/ar.json +10 -0
  127. package/templates/events-meetups/l10n/cs.json +10 -0
  128. package/templates/events-meetups/l10n/da.json +10 -0
  129. package/templates/events-meetups/l10n/de.json +10 -0
  130. package/templates/events-meetups/l10n/el.json +10 -0
  131. package/templates/events-meetups/l10n/en.json +1 -1
  132. package/templates/events-meetups/l10n/es.json +10 -0
  133. package/templates/events-meetups/l10n/fi.json +10 -0
  134. package/templates/events-meetups/l10n/fr.json +10 -0
  135. package/templates/events-meetups/l10n/he.json +8 -0
  136. package/templates/events-meetups/l10n/hu.json +10 -0
  137. package/templates/events-meetups/l10n/id.json +10 -0
  138. package/templates/events-meetups/l10n/it.json +10 -0
  139. package/templates/events-meetups/l10n/ja.json +10 -0
  140. package/templates/events-meetups/l10n/ko.json +10 -0
  141. package/templates/events-meetups/l10n/lt.json +10 -0
  142. package/templates/events-meetups/l10n/nl.json +10 -0
  143. package/templates/events-meetups/l10n/no.json +10 -0
  144. package/templates/events-meetups/l10n/pl.json +10 -0
  145. package/templates/events-meetups/l10n/pt.json +10 -0
  146. package/templates/events-meetups/l10n/ru.json +10 -0
  147. package/templates/events-meetups/l10n/sv.json +10 -0
  148. package/templates/events-meetups/l10n/th.json +10 -0
  149. package/templates/events-meetups/l10n/tr.json +10 -0
  150. package/templates/events-meetups/l10n/uk.json +10 -0
  151. package/templates/events-meetups/l10n/vi.json +10 -0
  152. package/templates/events-meetups/l10n/zh.json +10 -0
  153. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  154. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  155. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  156. package/templates/fitness-gym/dev/index.ts +743 -507
  157. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  158. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  159. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  160. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  161. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  162. package/templates/gym-fitness/dev/index.ts +122 -8
  163. package/templates/gym-fitness/l10n/ar.json +5 -0
  164. package/templates/gym-fitness/l10n/cs.json +5 -0
  165. package/templates/gym-fitness/l10n/da.json +5 -0
  166. package/templates/gym-fitness/l10n/de.json +5 -0
  167. package/templates/gym-fitness/l10n/el.json +5 -0
  168. package/templates/gym-fitness/l10n/en.json +1 -1
  169. package/templates/gym-fitness/l10n/es.json +5 -0
  170. package/templates/gym-fitness/l10n/fi.json +5 -0
  171. package/templates/gym-fitness/l10n/fr.json +5 -0
  172. package/templates/gym-fitness/l10n/he.json +4 -0
  173. package/templates/gym-fitness/l10n/hu.json +5 -0
  174. package/templates/gym-fitness/l10n/id.json +5 -0
  175. package/templates/gym-fitness/l10n/it.json +5 -0
  176. package/templates/gym-fitness/l10n/ja.json +5 -0
  177. package/templates/gym-fitness/l10n/ko.json +5 -0
  178. package/templates/gym-fitness/l10n/lt.json +5 -0
  179. package/templates/gym-fitness/l10n/nl.json +5 -0
  180. package/templates/gym-fitness/l10n/no.json +5 -0
  181. package/templates/gym-fitness/l10n/pl.json +5 -0
  182. package/templates/gym-fitness/l10n/pt.json +5 -0
  183. package/templates/gym-fitness/l10n/ru.json +5 -0
  184. package/templates/gym-fitness/l10n/sv.json +5 -0
  185. package/templates/gym-fitness/l10n/th.json +5 -0
  186. package/templates/gym-fitness/l10n/tr.json +5 -0
  187. package/templates/gym-fitness/l10n/uk.json +5 -0
  188. package/templates/gym-fitness/l10n/vi.json +5 -0
  189. package/templates/gym-fitness/l10n/zh.json +5 -0
  190. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  191. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  192. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  193. package/templates/medical-services/dev/index.ts +747 -595
  194. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  195. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  196. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  197. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  198. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  199. package/templates/nonprofit-cause/dev/index.ts +122 -8
  200. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  201. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  202. package/templates/nonprofit-cause/l10n/da.json +10 -0
  203. package/templates/nonprofit-cause/l10n/de.json +10 -0
  204. package/templates/nonprofit-cause/l10n/el.json +10 -0
  205. package/templates/nonprofit-cause/l10n/en.json +1 -1
  206. package/templates/nonprofit-cause/l10n/es.json +10 -0
  207. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  208. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  209. package/templates/nonprofit-cause/l10n/he.json +8 -0
  210. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  211. package/templates/nonprofit-cause/l10n/id.json +10 -0
  212. package/templates/nonprofit-cause/l10n/it.json +10 -0
  213. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  214. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  215. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  216. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  217. package/templates/nonprofit-cause/l10n/no.json +10 -0
  218. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  219. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  220. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  221. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  222. package/templates/nonprofit-cause/l10n/th.json +10 -0
  223. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  224. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  225. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  226. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  227. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  228. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  229. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  230. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  231. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  232. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  233. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  234. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  235. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  236. package/templates/podcast-creator/dev/index.ts +122 -8
  237. package/templates/podcast-creator/l10n/ar.json +10 -0
  238. package/templates/podcast-creator/l10n/cs.json +10 -0
  239. package/templates/podcast-creator/l10n/da.json +10 -0
  240. package/templates/podcast-creator/l10n/de.json +10 -0
  241. package/templates/podcast-creator/l10n/el.json +10 -0
  242. package/templates/podcast-creator/l10n/en.json +1 -1
  243. package/templates/podcast-creator/l10n/es.json +10 -0
  244. package/templates/podcast-creator/l10n/fi.json +10 -0
  245. package/templates/podcast-creator/l10n/fr.json +10 -0
  246. package/templates/podcast-creator/l10n/he.json +8 -0
  247. package/templates/podcast-creator/l10n/hu.json +10 -0
  248. package/templates/podcast-creator/l10n/id.json +10 -0
  249. package/templates/podcast-creator/l10n/it.json +10 -0
  250. package/templates/podcast-creator/l10n/ja.json +10 -0
  251. package/templates/podcast-creator/l10n/ko.json +10 -0
  252. package/templates/podcast-creator/l10n/lt.json +10 -0
  253. package/templates/podcast-creator/l10n/nl.json +10 -0
  254. package/templates/podcast-creator/l10n/no.json +10 -0
  255. package/templates/podcast-creator/l10n/pl.json +10 -0
  256. package/templates/podcast-creator/l10n/pt.json +10 -0
  257. package/templates/podcast-creator/l10n/ru.json +10 -0
  258. package/templates/podcast-creator/l10n/sv.json +10 -0
  259. package/templates/podcast-creator/l10n/th.json +10 -0
  260. package/templates/podcast-creator/l10n/tr.json +10 -0
  261. package/templates/podcast-creator/l10n/uk.json +10 -0
  262. package/templates/podcast-creator/l10n/vi.json +10 -0
  263. package/templates/podcast-creator/l10n/zh.json +10 -0
  264. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  265. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  266. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  267. package/templates/portfolio-creative/dev/index.ts +122 -8
  268. package/templates/portfolio-creative/l10n/ar.json +10 -0
  269. package/templates/portfolio-creative/l10n/cs.json +10 -0
  270. package/templates/portfolio-creative/l10n/da.json +10 -0
  271. package/templates/portfolio-creative/l10n/de.json +10 -0
  272. package/templates/portfolio-creative/l10n/el.json +10 -0
  273. package/templates/portfolio-creative/l10n/en.json +1 -1
  274. package/templates/portfolio-creative/l10n/es.json +10 -0
  275. package/templates/portfolio-creative/l10n/fi.json +10 -0
  276. package/templates/portfolio-creative/l10n/fr.json +10 -0
  277. package/templates/portfolio-creative/l10n/he.json +8 -0
  278. package/templates/portfolio-creative/l10n/hu.json +10 -0
  279. package/templates/portfolio-creative/l10n/id.json +10 -0
  280. package/templates/portfolio-creative/l10n/it.json +10 -0
  281. package/templates/portfolio-creative/l10n/ja.json +10 -0
  282. package/templates/portfolio-creative/l10n/ko.json +10 -0
  283. package/templates/portfolio-creative/l10n/lt.json +10 -0
  284. package/templates/portfolio-creative/l10n/nl.json +10 -0
  285. package/templates/portfolio-creative/l10n/no.json +10 -0
  286. package/templates/portfolio-creative/l10n/pl.json +10 -0
  287. package/templates/portfolio-creative/l10n/pt.json +10 -0
  288. package/templates/portfolio-creative/l10n/ru.json +10 -0
  289. package/templates/portfolio-creative/l10n/sv.json +10 -0
  290. package/templates/portfolio-creative/l10n/th.json +10 -0
  291. package/templates/portfolio-creative/l10n/tr.json +10 -0
  292. package/templates/portfolio-creative/l10n/uk.json +10 -0
  293. package/templates/portfolio-creative/l10n/vi.json +10 -0
  294. package/templates/portfolio-creative/l10n/zh.json +10 -0
  295. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  296. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  297. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  298. package/templates/restaurant/dev/index.ts +122 -8
  299. package/templates/restaurant/l10n/ar.json +10 -0
  300. package/templates/restaurant/l10n/cs.json +10 -0
  301. package/templates/restaurant/l10n/da.json +10 -0
  302. package/templates/restaurant/l10n/de.json +10 -0
  303. package/templates/restaurant/l10n/el.json +10 -0
  304. package/templates/restaurant/l10n/en.json +1 -1
  305. package/templates/restaurant/l10n/es.json +10 -0
  306. package/templates/restaurant/l10n/fi.json +10 -0
  307. package/templates/restaurant/l10n/fr.json +10 -0
  308. package/templates/restaurant/l10n/he.json +8 -0
  309. package/templates/restaurant/l10n/hu.json +10 -0
  310. package/templates/restaurant/l10n/id.json +10 -0
  311. package/templates/restaurant/l10n/it.json +10 -0
  312. package/templates/restaurant/l10n/ja.json +10 -0
  313. package/templates/restaurant/l10n/ko.json +10 -0
  314. package/templates/restaurant/l10n/lt.json +10 -0
  315. package/templates/restaurant/l10n/nl.json +10 -0
  316. package/templates/restaurant/l10n/no.json +10 -0
  317. package/templates/restaurant/l10n/pl.json +10 -0
  318. package/templates/restaurant/l10n/pt.json +10 -0
  319. package/templates/restaurant/l10n/ru.json +10 -0
  320. package/templates/restaurant/l10n/sv.json +10 -0
  321. package/templates/restaurant/l10n/th.json +10 -0
  322. package/templates/restaurant/l10n/tr.json +10 -0
  323. package/templates/restaurant/l10n/uk.json +10 -0
  324. package/templates/restaurant/l10n/vi.json +10 -0
  325. package/templates/restaurant/l10n/zh.json +10 -0
  326. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  327. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  328. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  329. package/templates/retail-store/dev/index.ts +122 -8
  330. package/templates/retail-store/l10n/ar.json +10 -0
  331. package/templates/retail-store/l10n/cs.json +10 -0
  332. package/templates/retail-store/l10n/da.json +10 -0
  333. package/templates/retail-store/l10n/de.json +10 -0
  334. package/templates/retail-store/l10n/el.json +10 -0
  335. package/templates/retail-store/l10n/en.json +1 -1
  336. package/templates/retail-store/l10n/es.json +10 -0
  337. package/templates/retail-store/l10n/fi.json +10 -0
  338. package/templates/retail-store/l10n/fr.json +10 -0
  339. package/templates/retail-store/l10n/he.json +8 -0
  340. package/templates/retail-store/l10n/hu.json +10 -0
  341. package/templates/retail-store/l10n/id.json +10 -0
  342. package/templates/retail-store/l10n/it.json +10 -0
  343. package/templates/retail-store/l10n/ja.json +10 -0
  344. package/templates/retail-store/l10n/ko.json +10 -0
  345. package/templates/retail-store/l10n/lt.json +10 -0
  346. package/templates/retail-store/l10n/nl.json +10 -0
  347. package/templates/retail-store/l10n/no.json +10 -0
  348. package/templates/retail-store/l10n/pl.json +10 -0
  349. package/templates/retail-store/l10n/pt.json +10 -0
  350. package/templates/retail-store/l10n/ru.json +10 -0
  351. package/templates/retail-store/l10n/sv.json +10 -0
  352. package/templates/retail-store/l10n/th.json +10 -0
  353. package/templates/retail-store/l10n/tr.json +10 -0
  354. package/templates/retail-store/l10n/uk.json +10 -0
  355. package/templates/retail-store/l10n/vi.json +10 -0
  356. package/templates/retail-store/l10n/zh.json +10 -0
  357. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  358. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  359. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  360. package/templates/salon-spa/dev/index.ts +744 -595
  361. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  362. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  363. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  364. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  365. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  366. package/templates/wholesale-store/dev/index.ts +751 -602
  367. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  368. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  369. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  370. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  371. package/templates/yoga-studio/dev/index.ts +122 -8
  372. package/templates/yoga-studio/l10n/ar.json +5 -0
  373. package/templates/yoga-studio/l10n/cs.json +5 -0
  374. package/templates/yoga-studio/l10n/da.json +5 -0
  375. package/templates/yoga-studio/l10n/de.json +5 -0
  376. package/templates/yoga-studio/l10n/el.json +5 -0
  377. package/templates/yoga-studio/l10n/en.json +1 -1
  378. package/templates/yoga-studio/l10n/es.json +5 -0
  379. package/templates/yoga-studio/l10n/fi.json +5 -0
  380. package/templates/yoga-studio/l10n/fr.json +5 -0
  381. package/templates/yoga-studio/l10n/he.json +4 -0
  382. package/templates/yoga-studio/l10n/hu.json +5 -0
  383. package/templates/yoga-studio/l10n/id.json +5 -0
  384. package/templates/yoga-studio/l10n/it.json +5 -0
  385. package/templates/yoga-studio/l10n/ja.json +5 -0
  386. package/templates/yoga-studio/l10n/ko.json +5 -0
  387. package/templates/yoga-studio/l10n/lt.json +5 -0
  388. package/templates/yoga-studio/l10n/nl.json +5 -0
  389. package/templates/yoga-studio/l10n/no.json +5 -0
  390. package/templates/yoga-studio/l10n/pl.json +5 -0
  391. package/templates/yoga-studio/l10n/pt.json +5 -0
  392. package/templates/yoga-studio/l10n/ru.json +5 -0
  393. package/templates/yoga-studio/l10n/sv.json +5 -0
  394. package/templates/yoga-studio/l10n/th.json +5 -0
  395. package/templates/yoga-studio/l10n/tr.json +5 -0
  396. package/templates/yoga-studio/l10n/uk.json +5 -0
  397. package/templates/yoga-studio/l10n/vi.json +5 -0
  398. package/templates/yoga-studio/l10n/zh.json +5 -0
  399. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  400. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  401. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "Não foi possível carregar os posts salvos.",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "Aprovação pendente",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "Pago",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "Você foi desconectado. Entre novamente e levaremos você de volta.",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "Enviamos um link de redefinição para {email}. Verifique sua caixa de entrada.",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "Не удалось загрузить сохраненные посты.",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "Ожидает подтверждения",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "Оплачен",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "Вы вышли из аккаунта. Войдите снова, и мы вернём вас обратно.",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "Мы отправили ссылку для сброса на {email}. Проверьте входящие.",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "Det gick inte att läsa in sparade inlägg.",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "Väntar på godkännande",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "Betald",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "Du har loggats ut. Logga in igen så tar vi dig tillbaka.",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "Vi har skickat en återställningslänk till {email}. Kolla din inkorg.",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "โหลดโพสต์ที่บันทึกไว้ไม่ได้",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "รอการอนุมัติ",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "ชำระเงินแล้ว",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "คุณออกจากระบบแล้ว ลงชื่อเข้าใช้อีกครั้ง แล้วเราจะพาคุณกลับมา",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "เราส่งลิงก์รีเซ็ตไปที่ {email} แล้ว ตรวจสอบกล่องจดหมายของคุณ",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "Kaydedilen gönderiler yüklenemedi.",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "Onay Beklemede",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "Ödendi",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "Oturumunuz kapatıldı. Tekrar giriş yapın, sizi geri götüreceğiz.",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "{email} adresine bir sıfırlama bağlantısı gönderdik. Gelen kutunuzu kontrol edin.",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "Не вдалося завантажити збережені пости.",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "Запити на розгляді",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "Оплачено",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "Ви вийшли з облікового запису. Увійдіть знову, і ми повернемо вас назад.",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "Ми надіслали посилання для скидання на {email}. Перевірте вхідні.",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "Không thể tải các bài đăng đã lưu.",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "Chờ chấp thuận",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "Đã thanh toán",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "Bạn đã bị đăng xuất. Hãy đăng nhập lại, rồi chúng tôi sẽ đưa bạn quay lại.",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "Chúng tôi đã gửi liên kết đặt lại đến {email}. Hãy kiểm tra hộp thư của bạn.",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -3202,6 +3202,11 @@
3202
3202
  "translation": "無法載入已儲存的文章。",
3203
3203
  "origin": "machine"
3204
3204
  },
3205
+ "h_25d1b4bbf113": {
3206
+ "source": "Pending approval",
3207
+ "translation": "待核准",
3208
+ "origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
3209
+ },
3205
3210
  "h_dc9d4584a554": {
3206
3211
  "source": "Paid",
3207
3212
  "translation": "已付款",
@@ -4081,6 +4086,11 @@
4081
4086
  "source": "You've been signed out. Sign in again, then we’ll bring you back.",
4082
4087
  "translation": "您已退出登录。请重新登录,然后我们会带您返回。",
4083
4088
  "origin": "machine"
4089
+ },
4090
+ "h_617d49f47351": {
4091
+ "source": "We sent a reset link to {email}. Check your inbox.",
4092
+ "translation": "我們已將重設連結寄到 {email}。請查看收件匣。",
4093
+ "origin": "machine"
4084
4094
  }
4085
4095
  }
4086
4096
  }
@@ -87,9 +87,22 @@ function profileFromData(data: WixMyData, fallbackEmail = ""): AccountProfile {
87
87
 
88
88
  /** The signed-in site member's name and photo from their member record, or undefined when it
89
89
  * cannot be read or names nobody (the caller then shows the email). */
90
+ /** The host refused a read because the signed-in principal changed while it was in flight. Right
91
+ * after a sign-in on Android, the account screen's first read races the session switch this way. */
92
+ const PRINCIPAL_CHANGED = /PRINCIPAL_CHANGED/;
93
+
90
94
  async function siteMemberProfile(email: string): Promise<AccountProfile | undefined> {
91
95
  try {
92
- const member = (await getMyMember({ fieldsets: ["FULL"] }))?.member;
96
+ const read = () => getMyMember({ fieldsets: ["FULL"] });
97
+ // Asked again once, as the member who is signed in now; otherwise a fresh sign-in shows the
98
+ // member's email where their name belongs until the next refresh. Only for the same member:
99
+ // the name must never come from another account than `email`.
100
+ const member = (await read().catch(async (error: unknown) => {
101
+ if (!PRINCIPAL_CHANGED.test(String((error as { message?: unknown })?.message ?? error))) throw error;
102
+ const now = await memberIdentity();
103
+ if (!now.signedIn || (email && now.email !== email)) throw error;
104
+ return read();
105
+ }))?.member;
93
106
  const name = [member?.contact?.firstName, member?.contact?.lastName].map((part) => (part ?? "").trim()).filter(Boolean).join(" ")
94
107
  || (member?.profile?.nickname ?? "").trim();
95
108
  if (!name) return undefined;