@wix/himalaya-cli 0.2053.0 → 0.2054.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +31 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +12 -0
  3. package/dist/cli.mjs +6 -2
  4. package/fixtures/wix-canned.json +1 -0
  5. package/guides/sdk-reference.json +35 -1
  6. package/package.json +2 -2
  7. package/templates/bare-fashion/tier5-src/_shared/about-text.ts +8 -0
  8. package/templates/bare-fashion/tier5-src/_shared/detail-presence.ts +51 -0
  9. package/templates/bare-fashion/tier5-src/_shared/owner-editor-value.ts +164 -0
  10. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  11. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  12. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  13. package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  14. package/templates/beauty-salon/config.ts +7 -0
  15. package/templates/beauty-salon/dev/index.ts +436 -1
  16. package/templates/beauty-salon/himalaya.content.json +3 -0
  17. package/templates/beauty-salon/l10n/ar.json +28 -0
  18. package/templates/beauty-salon/l10n/cs.json +28 -0
  19. package/templates/beauty-salon/l10n/da.json +28 -0
  20. package/templates/beauty-salon/l10n/de.json +28 -0
  21. package/templates/beauty-salon/l10n/el.json +28 -0
  22. package/templates/beauty-salon/l10n/en.json +22 -1
  23. package/templates/beauty-salon/l10n/es.json +28 -0
  24. package/templates/beauty-salon/l10n/fi.json +28 -0
  25. package/templates/beauty-salon/l10n/fr.json +28 -0
  26. package/templates/beauty-salon/l10n/he.json +23 -0
  27. package/templates/beauty-salon/l10n/hu.json +28 -0
  28. package/templates/beauty-salon/l10n/id.json +28 -0
  29. package/templates/beauty-salon/l10n/it.json +28 -0
  30. package/templates/beauty-salon/l10n/ja.json +28 -0
  31. package/templates/beauty-salon/l10n/ko.json +28 -0
  32. package/templates/beauty-salon/l10n/lt.json +28 -0
  33. package/templates/beauty-salon/l10n/nl.json +28 -0
  34. package/templates/beauty-salon/l10n/no.json +28 -0
  35. package/templates/beauty-salon/l10n/pl.json +28 -0
  36. package/templates/beauty-salon/l10n/pt.json +28 -0
  37. package/templates/beauty-salon/l10n/ru.json +28 -0
  38. package/templates/beauty-salon/l10n/sv.json +28 -0
  39. package/templates/beauty-salon/l10n/th.json +28 -0
  40. package/templates/beauty-salon/l10n/tr.json +28 -0
  41. package/templates/beauty-salon/l10n/uk.json +28 -0
  42. package/templates/beauty-salon/l10n/vi.json +28 -0
  43. package/templates/beauty-salon/l10n/zh.json +28 -0
  44. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  45. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  46. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  47. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  48. package/templates/branded-lite/config.ts +7 -0
  49. package/templates/branded-lite/dev/index.ts +436 -1
  50. package/templates/branded-lite/himalaya.content.json +3 -0
  51. package/templates/branded-lite/l10n/ar.json +28 -0
  52. package/templates/branded-lite/l10n/cs.json +28 -0
  53. package/templates/branded-lite/l10n/da.json +28 -0
  54. package/templates/branded-lite/l10n/de.json +28 -0
  55. package/templates/branded-lite/l10n/el.json +28 -0
  56. package/templates/branded-lite/l10n/en.json +22 -1
  57. package/templates/branded-lite/l10n/es.json +28 -0
  58. package/templates/branded-lite/l10n/fi.json +28 -0
  59. package/templates/branded-lite/l10n/fr.json +28 -0
  60. package/templates/branded-lite/l10n/he.json +23 -0
  61. package/templates/branded-lite/l10n/hu.json +28 -0
  62. package/templates/branded-lite/l10n/id.json +28 -0
  63. package/templates/branded-lite/l10n/it.json +28 -0
  64. package/templates/branded-lite/l10n/ja.json +28 -0
  65. package/templates/branded-lite/l10n/ko.json +28 -0
  66. package/templates/branded-lite/l10n/lt.json +28 -0
  67. package/templates/branded-lite/l10n/nl.json +28 -0
  68. package/templates/branded-lite/l10n/no.json +28 -0
  69. package/templates/branded-lite/l10n/pl.json +28 -0
  70. package/templates/branded-lite/l10n/pt.json +28 -0
  71. package/templates/branded-lite/l10n/ru.json +28 -0
  72. package/templates/branded-lite/l10n/sv.json +28 -0
  73. package/templates/branded-lite/l10n/th.json +28 -0
  74. package/templates/branded-lite/l10n/tr.json +28 -0
  75. package/templates/branded-lite/l10n/uk.json +28 -0
  76. package/templates/branded-lite/l10n/vi.json +28 -0
  77. package/templates/branded-lite/l10n/zh.json +28 -0
  78. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  79. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  80. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  81. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  82. package/templates/brandy/tier5-src/_shared/about-text.ts +8 -0
  83. package/templates/brandy/tier5-src/_shared/owner-editor-value.ts +164 -0
  84. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  85. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  86. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  87. package/templates/brandy/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  88. package/templates/community-club/config.ts +7 -0
  89. package/templates/community-club/dev/index.ts +436 -1
  90. package/templates/community-club/himalaya.content.json +3 -0
  91. package/templates/community-club/l10n/ar.json +28 -0
  92. package/templates/community-club/l10n/cs.json +28 -0
  93. package/templates/community-club/l10n/da.json +28 -0
  94. package/templates/community-club/l10n/de.json +28 -0
  95. package/templates/community-club/l10n/el.json +28 -0
  96. package/templates/community-club/l10n/en.json +22 -1
  97. package/templates/community-club/l10n/es.json +28 -0
  98. package/templates/community-club/l10n/fi.json +28 -0
  99. package/templates/community-club/l10n/fr.json +28 -0
  100. package/templates/community-club/l10n/he.json +23 -0
  101. package/templates/community-club/l10n/hu.json +28 -0
  102. package/templates/community-club/l10n/id.json +28 -0
  103. package/templates/community-club/l10n/it.json +28 -0
  104. package/templates/community-club/l10n/ja.json +28 -0
  105. package/templates/community-club/l10n/ko.json +28 -0
  106. package/templates/community-club/l10n/lt.json +28 -0
  107. package/templates/community-club/l10n/nl.json +28 -0
  108. package/templates/community-club/l10n/no.json +28 -0
  109. package/templates/community-club/l10n/pl.json +28 -0
  110. package/templates/community-club/l10n/pt.json +28 -0
  111. package/templates/community-club/l10n/ru.json +28 -0
  112. package/templates/community-club/l10n/sv.json +28 -0
  113. package/templates/community-club/l10n/th.json +28 -0
  114. package/templates/community-club/l10n/tr.json +28 -0
  115. package/templates/community-club/l10n/uk.json +28 -0
  116. package/templates/community-club/l10n/vi.json +28 -0
  117. package/templates/community-club/l10n/zh.json +28 -0
  118. package/templates/community-club/tier5-src/_shared/owner-editor-value.ts +164 -0
  119. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  120. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  121. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  122. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  123. package/templates/conference/tier5-src/_shared/about-text.ts +8 -0
  124. package/templates/conference/tier5-src/_shared/detail-presence.ts +51 -0
  125. package/templates/conference/tier5-src/_shared/owner-editor-value.ts +164 -0
  126. package/templates/conference/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  127. package/templates/conference/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  128. package/templates/conference/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  129. package/templates/conference/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  130. package/templates/events-meetups/config.ts +7 -0
  131. package/templates/events-meetups/dev/index.ts +436 -1
  132. package/templates/events-meetups/himalaya.content.json +3 -0
  133. package/templates/events-meetups/l10n/ar.json +28 -0
  134. package/templates/events-meetups/l10n/cs.json +28 -0
  135. package/templates/events-meetups/l10n/da.json +28 -0
  136. package/templates/events-meetups/l10n/de.json +28 -0
  137. package/templates/events-meetups/l10n/el.json +28 -0
  138. package/templates/events-meetups/l10n/en.json +22 -1
  139. package/templates/events-meetups/l10n/es.json +28 -0
  140. package/templates/events-meetups/l10n/fi.json +28 -0
  141. package/templates/events-meetups/l10n/fr.json +28 -0
  142. package/templates/events-meetups/l10n/he.json +23 -0
  143. package/templates/events-meetups/l10n/hu.json +28 -0
  144. package/templates/events-meetups/l10n/id.json +28 -0
  145. package/templates/events-meetups/l10n/it.json +28 -0
  146. package/templates/events-meetups/l10n/ja.json +28 -0
  147. package/templates/events-meetups/l10n/ko.json +28 -0
  148. package/templates/events-meetups/l10n/lt.json +28 -0
  149. package/templates/events-meetups/l10n/nl.json +28 -0
  150. package/templates/events-meetups/l10n/no.json +28 -0
  151. package/templates/events-meetups/l10n/pl.json +28 -0
  152. package/templates/events-meetups/l10n/pt.json +28 -0
  153. package/templates/events-meetups/l10n/ru.json +28 -0
  154. package/templates/events-meetups/l10n/sv.json +28 -0
  155. package/templates/events-meetups/l10n/th.json +28 -0
  156. package/templates/events-meetups/l10n/tr.json +28 -0
  157. package/templates/events-meetups/l10n/uk.json +28 -0
  158. package/templates/events-meetups/l10n/vi.json +28 -0
  159. package/templates/events-meetups/l10n/zh.json +28 -0
  160. package/templates/events-meetups/tier5-src/_shared/owner-editor-value.ts +164 -0
  161. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  162. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  163. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  164. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  165. package/templates/fitness-gym/tier5-src/_shared/about-text.ts +8 -0
  166. package/templates/fitness-gym/tier5-src/_shared/owner-editor-value.ts +164 -0
  167. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  168. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  169. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  170. package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  171. package/templates/gym-fitness/config.ts +7 -0
  172. package/templates/gym-fitness/dev/index.ts +436 -1
  173. package/templates/gym-fitness/himalaya.content.json +3 -0
  174. package/templates/gym-fitness/l10n/ar.json +28 -0
  175. package/templates/gym-fitness/l10n/cs.json +28 -0
  176. package/templates/gym-fitness/l10n/da.json +28 -0
  177. package/templates/gym-fitness/l10n/de.json +28 -0
  178. package/templates/gym-fitness/l10n/el.json +28 -0
  179. package/templates/gym-fitness/l10n/en.json +22 -1
  180. package/templates/gym-fitness/l10n/es.json +28 -0
  181. package/templates/gym-fitness/l10n/fi.json +28 -0
  182. package/templates/gym-fitness/l10n/fr.json +28 -0
  183. package/templates/gym-fitness/l10n/he.json +23 -0
  184. package/templates/gym-fitness/l10n/hu.json +28 -0
  185. package/templates/gym-fitness/l10n/id.json +28 -0
  186. package/templates/gym-fitness/l10n/it.json +28 -0
  187. package/templates/gym-fitness/l10n/ja.json +28 -0
  188. package/templates/gym-fitness/l10n/ko.json +28 -0
  189. package/templates/gym-fitness/l10n/lt.json +28 -0
  190. package/templates/gym-fitness/l10n/nl.json +28 -0
  191. package/templates/gym-fitness/l10n/no.json +28 -0
  192. package/templates/gym-fitness/l10n/pl.json +28 -0
  193. package/templates/gym-fitness/l10n/pt.json +28 -0
  194. package/templates/gym-fitness/l10n/ru.json +28 -0
  195. package/templates/gym-fitness/l10n/sv.json +28 -0
  196. package/templates/gym-fitness/l10n/th.json +28 -0
  197. package/templates/gym-fitness/l10n/tr.json +28 -0
  198. package/templates/gym-fitness/l10n/uk.json +28 -0
  199. package/templates/gym-fitness/l10n/vi.json +28 -0
  200. package/templates/gym-fitness/l10n/zh.json +28 -0
  201. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  202. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  203. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  204. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  205. package/templates/medical-services/tier5-src/_shared/about-text.ts +8 -0
  206. package/templates/medical-services/tier5-src/_shared/detail-presence.ts +51 -0
  207. package/templates/medical-services/tier5-src/_shared/owner-editor-value.ts +164 -0
  208. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  209. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  210. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  211. package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  212. package/templates/nonprofit-cause/config.ts +7 -0
  213. package/templates/nonprofit-cause/dev/index.ts +436 -1
  214. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  215. package/templates/nonprofit-cause/l10n/ar.json +28 -0
  216. package/templates/nonprofit-cause/l10n/cs.json +28 -0
  217. package/templates/nonprofit-cause/l10n/da.json +28 -0
  218. package/templates/nonprofit-cause/l10n/de.json +28 -0
  219. package/templates/nonprofit-cause/l10n/el.json +28 -0
  220. package/templates/nonprofit-cause/l10n/en.json +22 -1
  221. package/templates/nonprofit-cause/l10n/es.json +28 -0
  222. package/templates/nonprofit-cause/l10n/fi.json +28 -0
  223. package/templates/nonprofit-cause/l10n/fr.json +28 -0
  224. package/templates/nonprofit-cause/l10n/he.json +23 -0
  225. package/templates/nonprofit-cause/l10n/hu.json +28 -0
  226. package/templates/nonprofit-cause/l10n/id.json +28 -0
  227. package/templates/nonprofit-cause/l10n/it.json +28 -0
  228. package/templates/nonprofit-cause/l10n/ja.json +28 -0
  229. package/templates/nonprofit-cause/l10n/ko.json +28 -0
  230. package/templates/nonprofit-cause/l10n/lt.json +28 -0
  231. package/templates/nonprofit-cause/l10n/nl.json +28 -0
  232. package/templates/nonprofit-cause/l10n/no.json +28 -0
  233. package/templates/nonprofit-cause/l10n/pl.json +28 -0
  234. package/templates/nonprofit-cause/l10n/pt.json +28 -0
  235. package/templates/nonprofit-cause/l10n/ru.json +28 -0
  236. package/templates/nonprofit-cause/l10n/sv.json +28 -0
  237. package/templates/nonprofit-cause/l10n/th.json +28 -0
  238. package/templates/nonprofit-cause/l10n/tr.json +28 -0
  239. package/templates/nonprofit-cause/l10n/uk.json +28 -0
  240. package/templates/nonprofit-cause/l10n/vi.json +28 -0
  241. package/templates/nonprofit-cause/l10n/zh.json +28 -0
  242. package/templates/nonprofit-cause/tier5-src/_shared/owner-editor-value.ts +164 -0
  243. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  244. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  245. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  246. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  247. package/templates/personal-fitness-trainer/dev/index.ts +1 -10
  248. package/templates/personal-fitness-trainer/tier5-src/_shared/owner-editor-value.ts +164 -0
  249. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  250. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  251. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  252. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  253. package/templates/podcast-creator/config.ts +7 -0
  254. package/templates/podcast-creator/dev/index.ts +436 -1
  255. package/templates/podcast-creator/himalaya.content.json +3 -0
  256. package/templates/podcast-creator/l10n/ar.json +28 -0
  257. package/templates/podcast-creator/l10n/cs.json +28 -0
  258. package/templates/podcast-creator/l10n/da.json +28 -0
  259. package/templates/podcast-creator/l10n/de.json +28 -0
  260. package/templates/podcast-creator/l10n/el.json +28 -0
  261. package/templates/podcast-creator/l10n/en.json +22 -1
  262. package/templates/podcast-creator/l10n/es.json +28 -0
  263. package/templates/podcast-creator/l10n/fi.json +28 -0
  264. package/templates/podcast-creator/l10n/fr.json +28 -0
  265. package/templates/podcast-creator/l10n/he.json +23 -0
  266. package/templates/podcast-creator/l10n/hu.json +28 -0
  267. package/templates/podcast-creator/l10n/id.json +28 -0
  268. package/templates/podcast-creator/l10n/it.json +28 -0
  269. package/templates/podcast-creator/l10n/ja.json +28 -0
  270. package/templates/podcast-creator/l10n/ko.json +28 -0
  271. package/templates/podcast-creator/l10n/lt.json +28 -0
  272. package/templates/podcast-creator/l10n/nl.json +28 -0
  273. package/templates/podcast-creator/l10n/no.json +28 -0
  274. package/templates/podcast-creator/l10n/pl.json +28 -0
  275. package/templates/podcast-creator/l10n/pt.json +28 -0
  276. package/templates/podcast-creator/l10n/ru.json +28 -0
  277. package/templates/podcast-creator/l10n/sv.json +28 -0
  278. package/templates/podcast-creator/l10n/th.json +28 -0
  279. package/templates/podcast-creator/l10n/tr.json +28 -0
  280. package/templates/podcast-creator/l10n/uk.json +28 -0
  281. package/templates/podcast-creator/l10n/vi.json +28 -0
  282. package/templates/podcast-creator/l10n/zh.json +28 -0
  283. package/templates/podcast-creator/tier5-src/_shared/owner-editor-value.ts +164 -0
  284. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  285. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  286. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  287. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  288. package/templates/portfolio-creative/config.ts +7 -0
  289. package/templates/portfolio-creative/dev/index.ts +436 -1
  290. package/templates/portfolio-creative/himalaya.content.json +3 -0
  291. package/templates/portfolio-creative/l10n/ar.json +28 -0
  292. package/templates/portfolio-creative/l10n/cs.json +28 -0
  293. package/templates/portfolio-creative/l10n/da.json +28 -0
  294. package/templates/portfolio-creative/l10n/de.json +28 -0
  295. package/templates/portfolio-creative/l10n/el.json +28 -0
  296. package/templates/portfolio-creative/l10n/en.json +22 -1
  297. package/templates/portfolio-creative/l10n/es.json +28 -0
  298. package/templates/portfolio-creative/l10n/fi.json +28 -0
  299. package/templates/portfolio-creative/l10n/fr.json +28 -0
  300. package/templates/portfolio-creative/l10n/he.json +23 -0
  301. package/templates/portfolio-creative/l10n/hu.json +28 -0
  302. package/templates/portfolio-creative/l10n/id.json +28 -0
  303. package/templates/portfolio-creative/l10n/it.json +28 -0
  304. package/templates/portfolio-creative/l10n/ja.json +28 -0
  305. package/templates/portfolio-creative/l10n/ko.json +28 -0
  306. package/templates/portfolio-creative/l10n/lt.json +28 -0
  307. package/templates/portfolio-creative/l10n/nl.json +28 -0
  308. package/templates/portfolio-creative/l10n/no.json +28 -0
  309. package/templates/portfolio-creative/l10n/pl.json +28 -0
  310. package/templates/portfolio-creative/l10n/pt.json +28 -0
  311. package/templates/portfolio-creative/l10n/ru.json +28 -0
  312. package/templates/portfolio-creative/l10n/sv.json +28 -0
  313. package/templates/portfolio-creative/l10n/th.json +28 -0
  314. package/templates/portfolio-creative/l10n/tr.json +28 -0
  315. package/templates/portfolio-creative/l10n/uk.json +28 -0
  316. package/templates/portfolio-creative/l10n/vi.json +28 -0
  317. package/templates/portfolio-creative/l10n/zh.json +28 -0
  318. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  319. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  320. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  321. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  322. package/templates/professional-services/tier5-src/_shared/about-text.ts +8 -0
  323. package/templates/professional-services/tier5-src/_shared/owner-editor-value.ts +164 -0
  324. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  325. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  326. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  327. package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  328. package/templates/restaurant/config.ts +7 -0
  329. package/templates/restaurant/dev/index.ts +436 -1
  330. package/templates/restaurant/himalaya.content.json +3 -0
  331. package/templates/restaurant/l10n/ar.json +28 -0
  332. package/templates/restaurant/l10n/cs.json +28 -0
  333. package/templates/restaurant/l10n/da.json +28 -0
  334. package/templates/restaurant/l10n/de.json +28 -0
  335. package/templates/restaurant/l10n/el.json +28 -0
  336. package/templates/restaurant/l10n/en.json +22 -1
  337. package/templates/restaurant/l10n/es.json +28 -0
  338. package/templates/restaurant/l10n/fi.json +28 -0
  339. package/templates/restaurant/l10n/fr.json +28 -0
  340. package/templates/restaurant/l10n/he.json +23 -0
  341. package/templates/restaurant/l10n/hu.json +28 -0
  342. package/templates/restaurant/l10n/id.json +28 -0
  343. package/templates/restaurant/l10n/it.json +28 -0
  344. package/templates/restaurant/l10n/ja.json +28 -0
  345. package/templates/restaurant/l10n/ko.json +28 -0
  346. package/templates/restaurant/l10n/lt.json +28 -0
  347. package/templates/restaurant/l10n/nl.json +28 -0
  348. package/templates/restaurant/l10n/no.json +28 -0
  349. package/templates/restaurant/l10n/pl.json +28 -0
  350. package/templates/restaurant/l10n/pt.json +28 -0
  351. package/templates/restaurant/l10n/ru.json +28 -0
  352. package/templates/restaurant/l10n/sv.json +28 -0
  353. package/templates/restaurant/l10n/th.json +28 -0
  354. package/templates/restaurant/l10n/tr.json +28 -0
  355. package/templates/restaurant/l10n/uk.json +28 -0
  356. package/templates/restaurant/l10n/vi.json +28 -0
  357. package/templates/restaurant/l10n/zh.json +28 -0
  358. package/templates/restaurant/tier5-src/_shared/owner-editor-value.ts +164 -0
  359. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  360. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  361. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  362. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  363. package/templates/retail-store/config.ts +7 -0
  364. package/templates/retail-store/dev/index.ts +436 -1
  365. package/templates/retail-store/himalaya.content.json +3 -0
  366. package/templates/retail-store/l10n/ar.json +28 -0
  367. package/templates/retail-store/l10n/cs.json +28 -0
  368. package/templates/retail-store/l10n/da.json +28 -0
  369. package/templates/retail-store/l10n/de.json +28 -0
  370. package/templates/retail-store/l10n/el.json +28 -0
  371. package/templates/retail-store/l10n/en.json +22 -1
  372. package/templates/retail-store/l10n/es.json +28 -0
  373. package/templates/retail-store/l10n/fi.json +28 -0
  374. package/templates/retail-store/l10n/fr.json +28 -0
  375. package/templates/retail-store/l10n/he.json +23 -0
  376. package/templates/retail-store/l10n/hu.json +28 -0
  377. package/templates/retail-store/l10n/id.json +28 -0
  378. package/templates/retail-store/l10n/it.json +28 -0
  379. package/templates/retail-store/l10n/ja.json +28 -0
  380. package/templates/retail-store/l10n/ko.json +28 -0
  381. package/templates/retail-store/l10n/lt.json +28 -0
  382. package/templates/retail-store/l10n/nl.json +28 -0
  383. package/templates/retail-store/l10n/no.json +28 -0
  384. package/templates/retail-store/l10n/pl.json +28 -0
  385. package/templates/retail-store/l10n/pt.json +28 -0
  386. package/templates/retail-store/l10n/ru.json +28 -0
  387. package/templates/retail-store/l10n/sv.json +28 -0
  388. package/templates/retail-store/l10n/th.json +28 -0
  389. package/templates/retail-store/l10n/tr.json +28 -0
  390. package/templates/retail-store/l10n/uk.json +28 -0
  391. package/templates/retail-store/l10n/vi.json +28 -0
  392. package/templates/retail-store/l10n/zh.json +28 -0
  393. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  394. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  395. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  396. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  397. package/templates/salon-spa/tier5-src/_shared/about-text.ts +8 -0
  398. package/templates/salon-spa/tier5-src/_shared/owner-editor-value.ts +164 -0
  399. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  400. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  401. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  402. package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  403. package/templates/wholesale-store/tier5-src/_shared/about-text.ts +8 -0
  404. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  405. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  406. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  407. package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
  408. package/templates/yoga-studio/config.ts +7 -0
  409. package/templates/yoga-studio/dev/index.ts +436 -1
  410. package/templates/yoga-studio/himalaya.content.json +3 -0
  411. package/templates/yoga-studio/l10n/ar.json +28 -0
  412. package/templates/yoga-studio/l10n/cs.json +28 -0
  413. package/templates/yoga-studio/l10n/da.json +28 -0
  414. package/templates/yoga-studio/l10n/de.json +28 -0
  415. package/templates/yoga-studio/l10n/el.json +28 -0
  416. package/templates/yoga-studio/l10n/en.json +22 -1
  417. package/templates/yoga-studio/l10n/es.json +28 -0
  418. package/templates/yoga-studio/l10n/fi.json +28 -0
  419. package/templates/yoga-studio/l10n/fr.json +28 -0
  420. package/templates/yoga-studio/l10n/he.json +23 -0
  421. package/templates/yoga-studio/l10n/hu.json +28 -0
  422. package/templates/yoga-studio/l10n/id.json +28 -0
  423. package/templates/yoga-studio/l10n/it.json +28 -0
  424. package/templates/yoga-studio/l10n/ja.json +28 -0
  425. package/templates/yoga-studio/l10n/ko.json +28 -0
  426. package/templates/yoga-studio/l10n/lt.json +28 -0
  427. package/templates/yoga-studio/l10n/nl.json +28 -0
  428. package/templates/yoga-studio/l10n/no.json +28 -0
  429. package/templates/yoga-studio/l10n/pl.json +28 -0
  430. package/templates/yoga-studio/l10n/pt.json +28 -0
  431. package/templates/yoga-studio/l10n/ru.json +28 -0
  432. package/templates/yoga-studio/l10n/sv.json +28 -0
  433. package/templates/yoga-studio/l10n/th.json +28 -0
  434. package/templates/yoga-studio/l10n/tr.json +28 -0
  435. package/templates/yoga-studio/l10n/uk.json +28 -0
  436. package/templates/yoga-studio/l10n/vi.json +28 -0
  437. package/templates/yoga-studio/l10n/zh.json +28 -0
  438. package/templates/yoga-studio/tier5-src/_shared/owner-editor-value.ts +164 -0
  439. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
  440. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
  441. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
  442. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "Seguidores",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "Sobre mim",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "Escreva algumas palavras sobre você.",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "Atualize o app para editar seu texto Sobre mim.",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "Mostrar tudo ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "Adicionar sobre mim",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "Seu texto Sobre mim não foi salvo. Tente novamente.",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "O texto é longo demais. Encurte-o e tente novamente.",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "Подписчики",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "Обо мне",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "Напишите пару слов о себе.",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "Обновите приложение, чтобы изменить текст о себе.",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "Показать все ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "Добавить информацию о себе",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "Текст о себе не сохранён. Попробуйте ещё раз.",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "Текст слишком длинный. Сократите его и попробуйте ещё раз.",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "Följare",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "Om mig",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "Skriv några ord om dig själv.",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "Uppdatera appen för att redigera din Om mig-text.",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "Visa alla ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "Lägg till om mig",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "Din Om mig-text sparades inte. Försök igen.",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "Texten är för lång. Gör den kortare och försök igen.",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "ผู้ติดตาม",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "เกี่ยวกับฉัน",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "เขียนเกี่ยวกับตัวคุณสักเล็กน้อย",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "อัปเดตแอปเพื่อแก้ไขข้อความเกี่ยวกับคุณ",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "ดูทั้งหมด ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "เพิ่มข้อมูลเกี่ยวกับฉัน",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "ไม่ได้บันทึกข้อความเกี่ยวกับคุณ โปรดลองอีกครั้ง",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "ข้อความยาวเกินไป โปรดย่อให้สั้นลงแล้วลองอีกครั้ง",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "Takipçiler",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "Hakkımda",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "Kendinle ilgili birkaç kelime yaz.",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "Hakkımda metnini düzenlemek için uygulamayı güncelle.",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "Tümünü göster ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "Hakkımda ekle",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "Hakkımda metnin kaydedilmedi. Tekrar dene.",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "Metin çok uzun. Kısaltıp tekrar dene.",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "Підписники",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "Про мене",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "Напишіть кілька слів про себе.",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "Оновіть застосунок, щоб редагувати текст про себе.",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "Показати все ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "Додати інформацію про себе",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "Текст про себе не збережено. Спробуйте ще раз.",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "Текст задовгий. Скоротіть його та спробуйте ще раз.",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "Người theo dõi",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "Giới thiệu về tôi",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "Viết vài dòng về bạn.",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "Cập nhật ứng dụng để chỉnh sửa phần giới thiệu.",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "Xem tất cả ({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "Thêm giới thiệu về tôi",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "Phần giới thiệu của bạn chưa được lưu. Hãy thử lại.",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "Văn bản quá dài. Hãy rút ngắn rồi thử lại.",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -1784,6 +1784,24 @@
1784
1784
  "translation": "粉丝",
1785
1785
  "origin": "machine"
1786
1786
  },
1787
+ "h_e3ba4ef34d29": {
1788
+ "key": "accountSettings.aboutTitle",
1789
+ "source": "About me",
1790
+ "translation": "关于我",
1791
+ "origin": "machine"
1792
+ },
1793
+ "h_e4b6fe395c9e": {
1794
+ "key": "accountSettings.aboutPlaceholder",
1795
+ "source": "Write a few words about yourself.",
1796
+ "translation": "写几句关于你自己的话。",
1797
+ "origin": "machine"
1798
+ },
1799
+ "h_69484f7432fa": {
1800
+ "key": "accountSettings.aboutEditorUnavailable",
1801
+ "source": "Update the app to edit your About text.",
1802
+ "translation": "请更新应用以编辑你的自我介绍。",
1803
+ "origin": "machine"
1804
+ },
1787
1805
  "h_1e9b74b4dda5": {
1788
1806
  "source": "Show all ({count})",
1789
1807
  "translation": "查看全部({count})",
@@ -3908,6 +3926,16 @@
3908
3926
  "source": "Add about me",
3909
3927
  "translation": "添加自我介绍",
3910
3928
  "origin": "machine"
3929
+ },
3930
+ "h_7ce6d254ef39": {
3931
+ "source": "Your About text was not saved. Try again.",
3932
+ "translation": "你的自我介绍未保存。请重试。",
3933
+ "origin": "machine"
3934
+ },
3935
+ "h_dfe016a30f1c": {
3936
+ "source": "Your text is too long. Make it shorter and try again.",
3937
+ "translation": "文字过长。请缩短后重试。",
3938
+ "origin": "machine"
3911
3939
  }
3912
3940
  }
3913
3941
  }
@@ -0,0 +1,164 @@
1
+ // [rico] #3371 — how an owner form reads a RichContentEditor out of `submit(s, values)`.
2
+ //
3
+ // The editor writes its Ricos document into the Form's value bag as a JSON STRING under its `name`,
4
+ // on every change and again on blur. The value is ABSENT when the editor never became ready (the
5
+ // engine page is not bundled, failed, or timed out): the stored body must then stay exactly as it is
6
+ // (user decision, 2026-09-26 — save everything but the body). A document is written exactly as the
7
+ // editor produced it: never re-encoded (encodeRichContent is the VIEWER's; it rewrites media ids and
8
+ // drops nodes the owner never touched).
9
+ // Inside the platform source this import is a relative path, so node test runs resolve it; an app's
10
+ // copy imports "@himalaya/wix-rich-content".
11
+ import { parseRicosJson, isPlainRicos, richContentOverLimits, type RicosDocument } from "@himalaya/wix-rich-content";
12
+
13
+ export type EditorValue =
14
+ | { kind: "absent" } // leave the stored body untouched
15
+ | { kind: "unchanged" } // byte-identical to the seed: nothing to write
16
+ | { kind: "doc"; doc: RicosDocument; json: string } // write `doc`; `json` is the editor's own string
17
+ | { kind: "too_large" } // past the rich-content limits: save the rest, say why
18
+ | { kind: "invalid" }; // not a Ricos document: refuse, write nothing
19
+
20
+ const TEXT_ONLY = new Set(["PARAGRAPH", "TEXT", "HEADING", "BULLETED_LIST", "ORDERED_LIST", "LIST_ITEM", "BLOCKQUOTE", "CODE_BLOCK"]);
21
+ /** No visible text and no non-text node (an image, a divider, an embed…): an empty body. */
22
+ export function isEmptyDocument(doc: RicosDocument): boolean {
23
+ const empty = (nodes: RicosDocument["nodes"] | undefined): boolean => (nodes ?? []).every((n) =>
24
+ TEXT_ONLY.has(String(n?.type)) && !String(n.textData?.text ?? "").trim() && empty(n.nodes));
25
+ return empty(doc.nodes);
26
+ }
27
+
28
+ /** A Ricos JSON string checked as every viewer would: the limits first, then the shape. */
29
+ function checkedDocument(raw: string): EditorValue {
30
+ // Every viewer renders a body past the limits as its fallback, so it is never written. One parse
31
+ // feeds both checks; a string past the byte limit is refused before it is parsed at all.
32
+ if (richContentOverLimits(raw, null) === "too_large") return { kind: "too_large" };
33
+ const doc = parseRicosJson(raw);
34
+ if (!doc) return { kind: "invalid" };
35
+ return richContentOverLimits(raw, doc) ? { kind: "too_large" } : { kind: "doc", doc, json: raw };
36
+ }
37
+
38
+ /** `raw` is `values[name]`; `seededJson` is the string the form published as the editor's seed. */
39
+ export function editorValue(raw: unknown, seededJson: string): EditorValue {
40
+ if (typeof raw !== "string" || raw === "") return { kind: "absent" };
41
+ if (seededJson !== "" && raw === seededJson) return { kind: "unchanged" };
42
+ const checked = checkedDocument(raw);
43
+ // An empty editor over no body (a record that had none) writes nothing, rather than an empty document.
44
+ if (checked.kind === "doc" && seededJson === "" && isEmptyDocument(checked.doc)) return { kind: "unchanged" };
45
+ return checked;
46
+ }
47
+
48
+ // ── The per-field editor machinery every owner form shares (post body, event / product description,
49
+ // FAQ answer). Each form keeps `<key>Json` (the seed), `<key>Pending` and `<key>Dirty` in its state.
50
+
51
+ /** `<key>Pending`: until this run's load lands, the descriptor hides the editor — it seeds ONCE, so a
52
+ * provisional editor the owner typed into would keep that text over the real document.
53
+ * `<key>Dirty`: the editor's on_change fired since the field was loaded or saved. Once ready the bag
54
+ * ALWAYS holds a document — the engine's own re-serialization of the seed, not byte-equal to it — so
55
+ * only this says the owner edited the field. Every arm fires a pending on_change before it releases a
56
+ * Form submit, so an edit made inside the debounce window is reported before the submit reads it. */
57
+ export interface EditorGate { pending: boolean; dirty: boolean }
58
+
59
+ /** What a live submit does with `values[name]`: only an edit the editor reported counts. */
60
+ export function editorSubmitValue(raw: unknown, seededJson: string, gate: EditorGate): EditorValue {
61
+ return gate.pending || !gate.dirty ? { kind: "absent" } : editorValue(raw, seededJson);
62
+ }
63
+
64
+ /** A queued write's document. A replay runs in a FRESH worker with no editor, so the string is checked
65
+ * again (shape and limits); "absent" when the item carries none. Never "unchanged": it was an edit. */
66
+ export function queuedDocument(raw: unknown): EditorValue {
67
+ return typeof raw === "string" && raw !== "" ? checkedDocument(raw) : { kind: "absent" };
68
+ }
69
+
70
+ /** The editor's on_change: the field is now edited, and a confirmation of an earlier save is stale.
71
+ * No timing window: an arm fires the pending on_change BEFORE it releases a submit, so any on_change
72
+ * that arrives after a save carries an edit that save did not write. */
73
+ export function editorChanged<S extends { status: string; savedMessage: string }>(s: S): Pick<S, "status" | "savedMessage"> {
74
+ return { status: s.status === "saved" ? "idle" : s.status, savedMessage: "" };
75
+ }
76
+
77
+ /** The offline cache's verdict on the stored body (`<key>Protected`): rich unless KNOWN plain. From the
78
+ * document when the form knows it; otherwise plain only when the record was loaded as plain. A bundle
79
+ * rolled back past the editor reads this flag to decide whether its plain field may overwrite the body. */
80
+ export function cachedRichVerdict(doc: RicosDocument | null, knownPlain: boolean): "true" | "false" {
81
+ if (doc) return isPlainRicos(doc) ? "false" : "true";
82
+ return knownPlain ? "false" : "true";
83
+ }
84
+
85
+ /** The keys of one editor field that describe THIS run, never the last one: the seed (`<key>Json`),
86
+ * the load gate (`<key>Pending`), the edit flag (`<key>Dirty`) and its counter (`<key>Edits`). A form
87
+ * lists them in `defineService(name, { notHydrated })`, so a cold boot takes their DECLARED values: the
88
+ * editor seeds once, and a persisted seed would be painted as its content and saved back over a newer
89
+ * record. */
90
+ export function editorRunKeys<K extends string>(key: K): [`${K}Json`, `${K}Pending`, `${K}Dirty`, `${K}Edits`] {
91
+ return [`${key}Json`, `${key}Pending`, `${key}Dirty`, `${key}Edits`];
92
+ }
93
+
94
+ /** Does the form already hold `target` with its editor run in progress? A `load` for it then keeps the form as
95
+ * it is: on the way back to a warm worker (its refresh and onAppear) a re-read would race an edit in flight and
96
+ * reset the reported edit, and the editor, which seeds once, would show another document than the state holds.
97
+ * An edit form holds its record once the editor loaded; a create form holds a draft once the owner edited. */
98
+ export function holdsLoadedForm(state: object, target: { id: string; mode: string }, key: string): boolean {
99
+ const s = state as Record<string, unknown>;
100
+ if (s.status === 'error' || s.error || s.mode !== target.mode || (s.id ?? '') !== target.id) return false;
101
+ return target.mode === 'create' ? s[`${key}Dirty`] === true || Number(s[`${key}Edits`] ?? 0) > 0 : s[`${key}Pending`] === false;
102
+ }
103
+
104
+ /** The same keys on a runtime that ignores `notHydrated` (a binary from before #3644, still served new
105
+ * bundles over the air): reset them in place, before any action runs. A no-op where the runtime
106
+ * honours the option (`himalaya.hydrationOptOut`). */
107
+ export function resetHydratedEditorOnOlderRuntime(svc: unknown, key: string, pendingAtBoot: boolean, extra: Record<string, unknown> = {}): void {
108
+ if ((globalThis as { himalaya?: { hydrationOptOut?: unknown } }).himalaya?.hydrationOptOut === true) return;
109
+ const booted = (svc as { getState?: () => Record<string, unknown> | undefined }).getState?.();
110
+ if (!booted || typeof booted !== "object") return;
111
+ if (booted[`${key}Json`]) booted[`${key}Json`] = "";
112
+ booted[`${key}Pending`] = pendingAtBoot;
113
+ booted[`${key}Dirty`] = false;
114
+ booted[`${key}Edits`] = 0;
115
+ Object.assign(booted, extra);
116
+ }
117
+
118
+ /** What an awaited save leaves the field as, read from the LIVE state when it lands. An on_change that
119
+ * arrived while the save was in flight (`<key>Edits` moved) is an edit the save did not write: the
120
+ * field stays dirty and the save's confirmation is stale. Otherwise a save that wrote the field
121
+ * re-bases it as saved. `live` is the service's state now (none, or one that never moved: the start state). */
122
+ export function editorAfterSave(key: string, start: Record<string, unknown>, live: Record<string, unknown> | undefined, wrote: boolean):
123
+ { dirty: boolean; edits: number; editedDuringSave: boolean } {
124
+ const atStart = Number(start[`${key}Edits`] ?? 0);
125
+ const now = Number(live?.[`${key}Edits`] ?? atStart);
126
+ // Only a counter that MOVED ON counts; one behind the start is a host that does not apply results.
127
+ const editedDuringSave = now > atStart;
128
+ return editedDuringSave
129
+ ? { dirty: true, edits: now, editedDuringSave }
130
+ : { dirty: wrote ? false : Boolean(start[`${key}Dirty`]), edits: atStart, editedDuringSave };
131
+ }
132
+
133
+ /** The live state of a service handle, when the runtime gives one. */
134
+ export function liveState(svc: unknown): Record<string, unknown> | undefined {
135
+ const st = (svc as { getState?: () => unknown } | undefined)?.getState?.();
136
+ return st && typeof st === "object" ? st as Record<string, unknown> : undefined;
137
+ }
138
+
139
+ /** An awaited action's result, laid over the LIVE state: only the keys the action CHANGED (against the
140
+ * state it started from) are written, so anything the owner did while it awaited — an edit, a field in
141
+ * the details sheet, closing the sheet — survives a save that lands after it, success or failure. A
142
+ * key both changed goes to the action. Where the host gives no live state, the result as it is. */
143
+ /** An awaited load's result, unless the form moved to another record while it read. On a warm return the host's bare
144
+ * refresh and the screen's onAppear run together: after a save the refresh fetches the record just saved while the
145
+ * onAppear of a create screen opens a blank form, and the refresh landing last turned the new form into that record's
146
+ * edit. Nothing lands then (`undefined`, the runtime's no-op), nor from a load that changes nothing: started with the
147
+ * same state as the onAppear, it would put back the record that one replaced. A load for the record the form still
148
+ * holds lands as it is; so does any load where the host gives no live state. */
149
+ export function landsOnLive<S extends object>(svc: unknown, start: S, result: S): S | undefined {
150
+ if (result === start) return undefined;
151
+ const now = liveState(svc);
152
+ if (!now || now === start) return result;
153
+ const s0 = start as Record<string, unknown>;
154
+ return now.id !== s0.id || now.mode !== s0.mode ? undefined : result;
155
+ }
156
+
157
+ export function settleOverLive<S extends object>(svc: unknown, start: S, result: S): S {
158
+ const now = liveState(svc) as S | undefined;
159
+ if (!now || now === start || now === result) return result;
160
+ const out = { ...now } as Record<string, unknown>;
161
+ const r = result as Record<string, unknown>, s0 = start as Record<string, unknown>;
162
+ for (const k of Object.keys(r)) if (!Object.is(r[k], s0[k])) out[k] = r[k];
163
+ return out as S;
164
+ }
@@ -0,0 +1,134 @@
1
+ // About me — the member's "About" text, edited in the REC editor (RichContentEditor) in its own page
2
+ // sheet: Personal info's "About me" field and the profile's "Add about me" open it. The editor gives
3
+ // its document only to its Form (`submit(s, values)`, under `values.about`), so this sheet saves with
4
+ // the Form's own Save, not a top-bar Save. A member with no About gets one created on the first Save;
5
+ // otherwise the record is updated with the revision this visit read.
6
+ import { defineService, navigate } from "@himalaya/state";
7
+ import { snackbar } from "@himalaya/ui";
8
+ import { createMemberAbout, updateMemberAbout } from "@himalaya/wix-members";
9
+ import { copyParam, stashCopy } from "../_shared/himi-copy.js";
10
+ import { editorSubmitValue } from "../_shared/owner-editor-value.js";
11
+ import { businessNameOf, fetchMember, isSignedOut, loadErrorVariant, readMyAbout, sameAccess, signedOutError } from "./shared.js";
12
+
13
+ interface S {
14
+ phase: "loading" | "ready" | "error" | "signedOut";
15
+ errorVariant: "offline" | "server";
16
+ businessName: string;
17
+ memberEmail: string;
18
+ memberScope: string;
19
+ /** The member's About record ("" when they have none yet: Save creates it). */
20
+ aboutId: string;
21
+ revision: string;
22
+ /** The About's owner, as read: an update must send it back. */
23
+ aboutMemberId: string;
24
+ /** The editor's seed: the About as a Ricos JSON string, "" for none. */
25
+ aboutJson: string;
26
+ /** Until this visit's read lands the editor stays hidden: it seeds ONCE, so text typed into a provisional
27
+ * editor would be kept over the real document and saved back over it. */
28
+ aboutPending: boolean;
29
+ /** The editor reported an edit since the load: only then does Save write (and ✕ ask to discard). */
30
+ aboutDirty: boolean;
31
+ saving: boolean;
32
+ saveError: string;
33
+ noSaveError: boolean;
34
+ }
35
+
36
+ const EMPTY: S = {
37
+ phase: "loading", errorVariant: "server", businessName: "", memberEmail: "", memberScope: "",
38
+ aboutId: "", revision: "", aboutMemberId: "", aboutJson: "", aboutPending: true, aboutDirty: false, saving: false, saveError: "", noSaveError: true,
39
+ };
40
+
41
+ let loadVersion = 0;
42
+ /** Counts the editor's reported edits, so a save can tell whether the member typed more while it was writing. */
43
+ let editVersion = 0;
44
+
45
+ const svc = defineService<S, {
46
+ load: (s: S, arg?: unknown) => Promise<S>;
47
+ showLoading: (s: S) => S;
48
+ begin: (s: S, patch: Partial<S>) => S;
49
+ aboutChanged: (s: S) => S;
50
+ submit: (s: S, values?: Record<string, unknown>) => Promise<S | undefined>;
51
+ }>("himiBrandedAccountAbout", {
52
+ state: { ...EMPTY },
53
+ // Every value is per visit: a reopened sheet starts from the member's record, never a draft.
54
+ notHydrated: Object.keys(EMPTY) as (keyof S)[],
55
+ notPersisted: Object.keys(EMPTY) as (keyof S)[],
56
+ actions: {
57
+ showLoading: (s) => ({ ...EMPTY, businessName: s.businessName }),
58
+ begin: (s, patch) => ({ ...s, ...patch, noSaveError: !(patch.saveError ?? s.saveError) }),
59
+ load: async (_s, arg): Promise<S> => {
60
+ const version = ++loadVersion;
61
+ stashCopy(arg);
62
+ const businessName = businessNameOf(arg) || svc.getState().businessName;
63
+ if (svc.getState().phase !== "loading") await svc.showLoading();
64
+ try {
65
+ const [{ email, scope, member }, about] = await Promise.all([fetchMember(), readMyAbout()]);
66
+ if (version !== loadVersion) return svc.getState();
67
+ if (!(await sameAccess(email, scope))) throw signedOutError();
68
+ return {
69
+ ...EMPTY, phase: "ready", businessName, memberEmail: email, memberScope: scope,
70
+ aboutId: about?.id ?? "", revision: about?.revision ?? "", aboutMemberId: about?.memberId || member.id,
71
+ aboutJson: about ? JSON.stringify(about.content) : "", aboutPending: false,
72
+ };
73
+ } catch (error) {
74
+ if (version !== loadVersion) return svc.getState();
75
+ return { ...EMPTY, businessName, phase: isSignedOut(error) ? "signedOut" : "error", errorVariant: loadErrorVariant(error) };
76
+ }
77
+ },
78
+ // The editor's onChange (debounced, never the document): the text is edited.
79
+ aboutChanged: (s) => {
80
+ if (s.phase !== "ready" || s.aboutPending) return s;
81
+ editVersion += 1;
82
+ return { ...s, aboutDirty: true, saveError: "", noSaveError: true };
83
+ },
84
+ submit: async (s, values): Promise<S | undefined> => {
85
+ if (s.phase !== "ready" || s.saving) return undefined;
86
+ const value = editorSubmitValue(values?.about, s.aboutJson, { pending: s.aboutPending, dirty: s.aboutDirty });
87
+ // Nothing to write — no edit, the same text, or no editor on this app version: just close.
88
+ if (value.kind === "absent" || value.kind === "unchanged") return navigate(s, { presentation: "dismiss" });
89
+ if (value.kind === "too_large") return { ...s, saveError: copyParam("accountSettings.aboutTooLong", "Your text is too long. Make it shorter and try again."), noSaveError: false };
90
+ if (value.kind === "invalid") return { ...s, saveError: copyParam("accountSettings.aboutSaveError", "Your About text was not saved. Try again."), noSaveError: false };
91
+ await svc.begin({ saving: true, saveError: "" });
92
+ const editsAtSubmit = editVersion;
93
+ const signedOut: S = { ...EMPTY, businessName: s.businessName, phase: "signedOut" };
94
+ try {
95
+ if (!(await sameAccess(s.memberEmail, s.memberScope))) throw signedOutError();
96
+ const content = value.doc as unknown as Record<string, unknown>;
97
+ const saved = s.aboutId
98
+ ? await updateMemberAbout(s.aboutId, { memberAbout: { id: s.aboutId, revision: s.revision, memberId: s.aboutMemberId, content } })
99
+ : await createMemberAbout({ memberAbout: { content } });
100
+ if (!saved.memberAbout?.id) throw new Error("The About update was not confirmed.");
101
+ if (!(await sameAccess(s.memberEmail, s.memberScope))) throw signedOutError();
102
+ // The member typed more while this wrote: keep the sheet and that text. The saved record is the new base,
103
+ // so the next Save updates it (its id and revision) and writes only if the text differs from what was saved.
104
+ if (editVersion !== editsAtSubmit) {
105
+ const record = saved.memberAbout;
106
+ return {
107
+ ...svc.getState(), saving: false, aboutDirty: true, aboutId: record.id ?? "", revision: record.revision ?? "",
108
+ aboutMemberId: record.memberId || s.aboutMemberId, aboutJson: JSON.stringify(record.content ?? content),
109
+ };
110
+ }
111
+ void snackbar({ message: copyParam("accountSettings.savedToast", "Your changes are saved."), tone: "info" }).catch(() => undefined);
112
+ return navigate({ ...EMPTY, businessName: s.businessName }, { presentation: "dismiss" });
113
+ } catch (error) {
114
+ // The member changed mid-save: show none of the previous member's text, only Sign in.
115
+ if (isSignedOut(error)) return signedOut;
116
+ // The editor keeps the member's text: only the banner says the save failed. The record is read again, so
117
+ // Save again sends its current revision (changed on the website, or by an update whose answer was lost)
118
+ // and updates a record whose create answer was lost instead of creating a second one.
119
+ const fresh = await readMyAbout().catch(() => undefined);
120
+ // A member who changed during that read sees Sign in, never the previous member's text.
121
+ if (!(await sameAccess(s.memberEmail, s.memberScope).catch(() => false))) return signedOut;
122
+ const record = fresh === undefined ? {}
123
+ : { aboutId: fresh?.id ?? "", revision: fresh?.revision ?? "", aboutMemberId: fresh?.memberId || s.aboutMemberId };
124
+ return { ...svc.getState(), ...record, saving: false, saveError: copyParam("accountSettings.aboutSaveError", "Your About text was not saved. Try again."), noSaveError: false };
125
+ }
126
+ },
127
+ },
128
+ });
129
+
130
+ // A host older than `hydrationOptOut` ignores notHydrated/notPersisted and restores the whole snapshot: reset it
131
+ // at boot, so no member's About text or identity from an earlier session can show before `load`.
132
+ if (!(globalThis as { himalaya?: { hydrationOptOut?: boolean } }).himalaya?.hydrationOptOut) Object.assign(svc.getState(), EMPTY);
133
+
134
+ export { svc as about };