@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
@@ -8,7 +8,7 @@
8
8
  // failure is split by field so the error lands under the field Wix rejected. A full success closes
9
9
  // the modal with a snackbar; a field error keeps it open; a server error shows a banner and keeps
10
10
  // every change.
11
- import { defineService } from "@himalaya/state";
11
+ import { defineService, navigate } from "@himalaya/state";
12
12
  import { snackbar } from "@himalaya/ui";
13
13
  import { deleteMemberPhones, getMyMember, listCustomFields, updateMember } from "@himalaya/wix-members";
14
14
  import { generateMemberPhotoUploadUrl } from "@himalaya/wix-site-media";
@@ -16,8 +16,8 @@ import { memberAccess } from "../_shared/member-access.js";
16
16
  import { MEMBER_PHOTO_UPLOAD_TARGET, isMemberPhotoUploadTarget, memberAccountRoutes } from "../_shared/member-account-routes.js";
17
17
  import { copyParam, stashCopy } from "../_shared/himi-copy.js";
18
18
  import {
19
- clean, currentMemberRecordMatches, fetchMember, isSignedOut, loadErrorVariant, memberInitials, rawText,
20
- signedOutError, type WixMemberRecord, type WixMemberResponse,
19
+ aboutPreviewText, clean, currentMemberRecordMatches, fetchMember, isSignedOut, loadErrorVariant, memberInitials, rawText,
20
+ readMyAbout, sameAccess, signedOutError, type WixMemberRecord, type WixMemberResponse,
21
21
  } from "./shared.js";
22
22
 
23
23
  type SiteFieldType = "TEXT" | "NUMBER" | "DATE" | "URL";
@@ -101,6 +101,11 @@ interface S extends ProfileValues {
101
101
  /** There is a photo (saved or just picked) that Remove photo would clear. */
102
102
  canRemovePhoto: boolean;
103
103
  noRemovePhoto: boolean;
104
+ /** The About me field: the start of the member's About as plain text ("" for none — the field
105
+ * then shows its placeholder). The text itself is edited in the About me sheet, not here. */
106
+ aboutPreview: string;
107
+ noAboutPreview: boolean;
108
+ hasAboutPreview: boolean;
104
109
  }
105
110
 
106
111
  const BLANK: ProfileValues = { displayName: "", title: "", firstName: "", lastName: "", phone: "", memberImage: "", memberImageId: "", memberInitials: "M", custom: {} };
@@ -148,6 +153,9 @@ const EMPTY: S = {
148
153
  photoRemoved: false,
149
154
  canRemovePhoto: false,
150
155
  noRemovePhoto: true,
156
+ aboutPreview: "",
157
+ noAboutPreview: true,
158
+ hasAboutPreview: false,
151
159
  };
152
160
 
153
161
  // ---- The site's field list ----
@@ -527,6 +535,17 @@ function loaded(member: WixMemberRecord, email: string, scope: string, siteField
527
535
  });
528
536
  }
529
537
 
538
+ /** The About me field's preview fields. A failed About read shows the placeholder: the sheet itself says
539
+ * why it cannot load, and this field is only a door to it. */
540
+ async function aboutPreviewFields(): Promise<Pick<S, "aboutPreview" | "noAboutPreview" | "hasAboutPreview">> {
541
+ const aboutPreview = aboutPreviewText(await readMyAbout().catch(() => null));
542
+ return { aboutPreview, noAboutPreview: !aboutPreview, hasAboutPreview: !!aboutPreview };
543
+ }
544
+
545
+ /** Set when the About me field opens its sheet over this modal. The next appear is the way back from
546
+ * that sheet, so it keeps the member's unsaved draft and refreshes only the About preview. */
547
+ let openingAbout = false;
548
+
530
549
  function loadFailed(error: unknown): S {
531
550
  return derive({ ...EMPTY, phase: isSignedOut(error) ? "signedOut" : "error", errorVariant: loadErrorVariant(error) });
532
551
  }
@@ -555,6 +574,7 @@ const svc = defineService<S, {
555
574
  save: (s: S) => Promise<Result | undefined>;
556
575
  showLoading: (s: S) => S;
557
576
  begin: (s: S, patch: Partial<S>) => S;
577
+ openAbout: (s: S) => S;
558
578
  }>("himiBrandedAccountPersonal", {
559
579
  state: { ...EMPTY },
560
580
  // Every value is per visit: a reopened modal starts from the member's record, never a draft.
@@ -564,16 +584,35 @@ const svc = defineService<S, {
564
584
  // Internal: publish a state while an action awaits (the skeleton on reload, the Save spinner).
565
585
  showLoading: () => derive({ ...EMPTY }),
566
586
  begin: (s, patch) => derive({ ...s, ...patch }),
587
+ // The About me field: the About text has its own sheet (the REC editor saves only through its own Form).
588
+ openAbout: (s) => {
589
+ openingAbout = s.phase === "ready";
590
+ return navigate(s, { screenId: "himi_account_about", presentation: "sheet", args: { sheetStyle: "page" } });
591
+ },
567
592
  // Every appear starts over: the shell's Discard closes the modal without telling the worker,
568
593
  // and a pooled worker comes back with the draft it had.
569
594
  load: async (_s, arg): Promise<S> => {
570
595
  const version = ++loadVersion;
596
+ const returningFromAbout = openingAbout;
597
+ openingAbout = false;
598
+ // Back from the About me sheet with unsaved edits here: keep them; only the About preview is new.
599
+ // (Without edits a full reload loses nothing, and also picks up a change made elsewhere.)
600
+ // Only for the same member: one who changed while the sheet was open gets the full load, not the old draft.
601
+ // A record check that cannot run (offline) falls back to the session's email and scope: only a confirmed
602
+ // change drops the draft.
603
+ const current = svc.getState();
604
+ const sameMember = () => currentMemberRecordMatches(current.memberEmail, current.memberScope, current.memberId)
605
+ .catch(() => sameAccess(current.memberEmail, current.memberScope).catch(() => false));
606
+ if (returningFromAbout && current.phase === "ready" && current.dirty && await sameMember()) {
607
+ const preview = await aboutPreviewFields();
608
+ return version === loadVersion ? derive({ ...svc.getState(), ...preview }) : svc.getState() as S;
609
+ }
571
610
  photoUploadVersion += 1;
572
611
  stashCopy(arg);
573
612
  if (svc.getState().phase !== "loading") await svc.showLoading();
574
613
  try {
575
614
  const { email, scope, member } = await fetchMember();
576
- const [routes, site] = await Promise.all([memberAccountRoutes(), readSiteFields()]);
615
+ const [routes, site, preview] = await Promise.all([memberAccountRoutes(), readSiteFields(), aboutPreviewFields()]);
577
616
  if (version !== loadVersion) return svc.getState() as S;
578
617
  if (!(await currentMemberRecordMatches(email, scope, clean(member.id)))) throw signedOutError();
579
618
  if (version !== loadVersion) return svc.getState() as S;
@@ -582,7 +621,7 @@ const svc = defineService<S, {
582
621
  // to the app's member-photo route as the member does the upload, with no site code: migrated apps have none.
583
622
  const viaRoute = !functionName && routes.memberPhotoRoute;
584
623
  const available = (!!functionName && routes.mediaField) || viaRoute;
585
- return derive({ ...loaded(member, email, scope, site.fields, site.hasPhone), photoUploadFunctionName: functionName, photoUploadViaRoute: viaRoute, photoUploadAvailable: available });
624
+ return derive({ ...loaded(member, email, scope, site.fields, site.hasPhone), ...preview, photoUploadFunctionName: functionName, photoUploadViaRoute: viaRoute, photoUploadAvailable: available });
586
625
  } catch (error) {
587
626
  if (version !== loadVersion) return svc.getState() as S;
588
627
  return loadFailed(error);
@@ -3,9 +3,11 @@
3
3
  // own worker and loads the member itself: nothing here is shared state, only the checks.
4
4
  import { dispatch } from "@himalaya/dispatch";
5
5
  import { classifyLoadError } from "@himalaya/state";
6
- import { getMyMember } from "@himalaya/wix-members";
6
+ import { getMyMember, getMyMemberAbout } from "@himalaya/wix-members";
7
7
  import { getMyData } from "@himalaya/wix-users";
8
+ import { aboutPlainText } from "../_shared/about-text.js";
8
9
  import { hostSiteFromInput } from "../_shared/branded-lite-hosted.js";
10
+ import { isNotFoundError } from "../_shared/detail-presence.js";
9
11
  import { memberAccess } from "../_shared/member-access.js";
10
12
  import type { MemberAccountRoutes } from "../_shared/member-account-routes.js";
11
13
 
@@ -93,6 +95,24 @@ export async function memberIdentityState(): Promise<"member" | "guest" | "unava
93
95
  }
94
96
  }
95
97
 
98
+ export interface MyAbout { id: string; revision: string; memberId: string; content: Record<string, unknown> }
99
+
100
+ /** The signed-in member's own "About", or null when they never wrote one (Wix answers NOT_FOUND). */
101
+ export async function readMyAbout(): Promise<MyAbout | null> {
102
+ try {
103
+ const about = (await getMyMemberAbout()).memberAbout;
104
+ return about?.id ? { id: about.id, revision: clean(about.revision), memberId: clean(about.memberId), content: about.content ?? {} } : null;
105
+ } catch (error) {
106
+ if (isNotFoundError(error)) return null;
107
+ throw error;
108
+ }
109
+ }
110
+
111
+ /** The About as plain text, one line per non-empty block, for a short preview. "" for no text. */
112
+ export function aboutPreviewText(about: MyAbout | null): string {
113
+ return about ? aboutPlainText(about.content) : "";
114
+ }
115
+
96
116
  /** Same identity by email and scope alone (no network). */
97
117
  export async function sameAccess(email: string, scope: string): Promise<boolean> {
98
118
  const current = await memberAccess();
@@ -140,6 +140,13 @@ export default defineApp({
140
140
  "parentScreenId": "himi_account_settings",
141
141
  "tabId": "profile"
142
142
  },
143
+ {
144
+ "screenId": "himi_account_about",
145
+ "isPublic": false,
146
+ "paramKeys": [],
147
+ "parentScreenId": "himi_account_personal_info",
148
+ "tabId": "profile"
149
+ },
143
150
  {
144
151
  "screenId": "himi_view_profile",
145
152
  "isPublic": false,
@@ -5479,6 +5479,140 @@ const SCREENS = runtimeSetting({
5479
5479
  ]
5480
5480
  }
5481
5481
  }
5482
+ },
5483
+ {
5484
+ "id": "himi_account_personal_info.about.group",
5485
+ "body": {
5486
+ "package": "himalaya",
5487
+ "type": "VStack",
5488
+ "props": {
5489
+ "spacing": 6,
5490
+ "alignment": "leading",
5491
+ "children": [
5492
+ {
5493
+ "id": "",
5494
+ "body": {
5495
+ "package": "himalaya",
5496
+ "type": "Text",
5497
+ "props": {
5498
+ "text": "About me",
5499
+ "style": "footnote",
5500
+ "color": "textSecondary"
5501
+ }
5502
+ }
5503
+ },
5504
+ {
5505
+ "id": "",
5506
+ "body": {
5507
+ "package": "himalaya",
5508
+ "type": "HStack",
5509
+ "props": {
5510
+ "spacing": 12,
5511
+ "alignment": "center",
5512
+ "children": [
5513
+ {
5514
+ "id": "",
5515
+ "body": {
5516
+ "package": "himalaya",
5517
+ "type": "VStack",
5518
+ "props": {
5519
+ "spacing": 0,
5520
+ "alignment": "leading",
5521
+ "children": [
5522
+ {
5523
+ "id": "himi_account_personal_info.about_preview",
5524
+ "body": {
5525
+ "package": "himalaya",
5526
+ "type": "Text",
5527
+ "props": {
5528
+ "text": "$service:himiBrandedAccountPersonal.aboutPreview",
5529
+ "style": "footnoteRegular",
5530
+ "maxLines": 2
5531
+ }
5532
+ },
5533
+ "modifiers": {
5534
+ "hiddenPath": "$service:himiBrandedAccountPersonal.noAboutPreview"
5535
+ }
5536
+ },
5537
+ {
5538
+ "id": "himi_account_personal_info.about_placeholder",
5539
+ "body": {
5540
+ "package": "himalaya",
5541
+ "type": "Text",
5542
+ "props": {
5543
+ "text": "Write a few words about yourself.",
5544
+ "style": "footnoteRegular",
5545
+ "color": "textTertiary"
5546
+ }
5547
+ },
5548
+ "modifiers": {
5549
+ "hiddenPath": "$service:himiBrandedAccountPersonal.hasAboutPreview"
5550
+ }
5551
+ }
5552
+ ]
5553
+ }
5554
+ },
5555
+ "modifiers": {
5556
+ "weight": 1
5557
+ }
5558
+ },
5559
+ {
5560
+ "id": "",
5561
+ "body": {
5562
+ "package": "himalaya",
5563
+ "type": "Icon",
5564
+ "props": {
5565
+ "name": "chevron_right",
5566
+ "size": 16,
5567
+ "tint": "textSecondary"
5568
+ }
5569
+ },
5570
+ "modifiers": {
5571
+ "accessibilityRole": "decorative"
5572
+ }
5573
+ }
5574
+ ]
5575
+ }
5576
+ },
5577
+ "modifiers": {
5578
+ "fillMaxWidth": true,
5579
+ "border": {
5580
+ "width": 1,
5581
+ "color": {
5582
+ "token": "border"
5583
+ }
5584
+ },
5585
+ "cornerRadius": 8,
5586
+ "padding": {
5587
+ "leading": 16,
5588
+ "trailing": 16,
5589
+ "top": 14,
5590
+ "bottom": 14
5591
+ },
5592
+ "onTap": {
5593
+ "actionId": "tier5.himiBrandedAccountPersonal.openAbout"
5594
+ },
5595
+ "pressFeedback": "highlight",
5596
+ "haptic": "light",
5597
+ "accessibilityRole": "button",
5598
+ "accessibilityLabel": "About me"
5599
+ }
5600
+ },
5601
+ {
5602
+ "id": "",
5603
+ "body": {
5604
+ "package": "himalaya",
5605
+ "type": "Text",
5606
+ "props": {
5607
+ "text": "Shows on your profile.",
5608
+ "style": "caption",
5609
+ "color": "textSecondary"
5610
+ }
5611
+ }
5612
+ }
5613
+ ]
5614
+ }
5615
+ }
5482
5616
  }
5483
5617
  ]
5484
5618
  }
@@ -8042,6 +8176,307 @@ const SCREENS = runtimeSetting({
8042
8176
  "subtitlePath": "$service:himiBrandedAccountSettings.businessName"
8043
8177
  }
8044
8178
  },
8179
+ "himi_account_about": {
8180
+ "screenId": "himi_account_about",
8181
+ "renderer": "sdui_intent",
8182
+ "title": "About me",
8183
+ "schemaVersion": 1,
8184
+ "cacheControl": {
8185
+ "maxAge": 0,
8186
+ "staleWhileRevalidate": 0
8187
+ },
8188
+ "payload": {
8189
+ "id": "himi_account_about.root",
8190
+ "body": {
8191
+ "package": "himalaya",
8192
+ "type": "VStack",
8193
+ "props": {
8194
+ "spacing": 0,
8195
+ "alignment": "leading",
8196
+ "children": [
8197
+ {
8198
+ "id": "himi_account_about.state",
8199
+ "body": {
8200
+ "package": "himalaya",
8201
+ "type": "FragmentSlot",
8202
+ "props": {
8203
+ "casePath": "$service:himiBrandedAccountAbout.phase",
8204
+ "defaultCase": "loading",
8205
+ "cases": [
8206
+ {
8207
+ "id": "loading",
8208
+ "content": {
8209
+ "id": "himi_account_about.loading",
8210
+ "body": {
8211
+ "package": "himalaya",
8212
+ "type": "VStack",
8213
+ "props": {
8214
+ "spacing": 24,
8215
+ "alignment": "leading",
8216
+ "children": [
8217
+ {
8218
+ "id": "himi_account_about.skeleton.editor",
8219
+ "body": {
8220
+ "package": "himalaya",
8221
+ "type": "Skeleton",
8222
+ "props": {
8223
+ "height": 240,
8224
+ "cornerRadius": 8
8225
+ }
8226
+ },
8227
+ "modifiers": {
8228
+ "height": 240,
8229
+ "background": {
8230
+ "token": "surfaceSecondary"
8231
+ },
8232
+ "cornerRadius": 8,
8233
+ "accessibilityRole": "decorative"
8234
+ }
8235
+ },
8236
+ {
8237
+ "id": "himi_account_about.skeleton.save",
8238
+ "body": {
8239
+ "package": "himalaya",
8240
+ "type": "Skeleton",
8241
+ "props": {
8242
+ "height": 48,
8243
+ "cornerRadius": 8
8244
+ }
8245
+ },
8246
+ "modifiers": {
8247
+ "height": 48,
8248
+ "background": {
8249
+ "token": "surfaceSecondary"
8250
+ },
8251
+ "cornerRadius": 8,
8252
+ "accessibilityRole": "decorative"
8253
+ }
8254
+ }
8255
+ ]
8256
+ }
8257
+ },
8258
+ "modifiers": {
8259
+ "fillMaxWidth": true,
8260
+ "padding": {
8261
+ "leading": 16,
8262
+ "trailing": 16,
8263
+ "top": 24,
8264
+ "bottom": 24
8265
+ }
8266
+ }
8267
+ }
8268
+ },
8269
+ {
8270
+ "id": "error",
8271
+ "content": {
8272
+ "id": "himi_account_about.error",
8273
+ "body": {
8274
+ "package": "himalaya",
8275
+ "type": "ErrorState",
8276
+ "props": {
8277
+ "variantPath": "$service:himiBrandedAccountAbout.errorVariant",
8278
+ "placement": "screen",
8279
+ "ctaLabel": "Try again",
8280
+ "cta": {
8281
+ "actionId": "tier5.himiBrandedAccountAbout.load",
8282
+ "params": {
8283
+ "businessName": "__HIMI_APP_NAME__"
8284
+ }
8285
+ }
8286
+ }
8287
+ }
8288
+ }
8289
+ },
8290
+ {
8291
+ "id": "signedOut",
8292
+ "content": {
8293
+ "id": "himi_account_about.sign_in",
8294
+ "body": {
8295
+ "package": "himalaya",
8296
+ "type": "ErrorState",
8297
+ "props": {
8298
+ "variant": "signIn",
8299
+ "placement": "screen",
8300
+ "title": "Sign in to manage your account",
8301
+ "body": "Change your profile, login and privacy settings after you sign in.",
8302
+ "ctaLabel": "Sign in",
8303
+ "cta": {
8304
+ "actionId": "himi.open",
8305
+ "params": {
8306
+ "screenId": "himi_sign_in",
8307
+ "mode": "signin",
8308
+ "returnScreenId": "himi_account_settings",
8309
+ "modal": "1",
8310
+ "sheetStyle": "page"
8311
+ },
8312
+ "presentation": "sheet"
8313
+ }
8314
+ }
8315
+ }
8316
+ }
8317
+ },
8318
+ {
8319
+ "id": "ready",
8320
+ "content": {
8321
+ "id": "himi_account_about.ready",
8322
+ "body": {
8323
+ "package": "himalaya",
8324
+ "type": "VStack",
8325
+ "props": {
8326
+ "spacing": 0,
8327
+ "alignment": "leading",
8328
+ "children": [
8329
+ {
8330
+ "id": "himi_account_about.save_error",
8331
+ "body": {
8332
+ "package": "himalaya",
8333
+ "type": "Banner",
8334
+ "props": {
8335
+ "severity": "danger",
8336
+ "title": "$service:himiBrandedAccountAbout.saveError"
8337
+ }
8338
+ },
8339
+ "modifiers": {
8340
+ "padding": {
8341
+ "leading": 20,
8342
+ "trailing": 20,
8343
+ "top": 16
8344
+ },
8345
+ "hiddenPath": "$service:himiBrandedAccountAbout.noSaveError"
8346
+ }
8347
+ },
8348
+ {
8349
+ "id": "himi_account_about.form",
8350
+ "body": {
8351
+ "package": "himalaya",
8352
+ "type": "Form",
8353
+ "props": {
8354
+ "id": "aboutForm",
8355
+ "fields": [
8356
+ {
8357
+ "id": "himi_account_about.editor",
8358
+ "body": {
8359
+ "package": "himalaya",
8360
+ "type": "RichContentEditor",
8361
+ "props": {
8362
+ "name": "about",
8363
+ "documentPath": "$service:himiBrandedAccountAbout.aboutJson",
8364
+ "placeholder": "Write a few words about yourself.",
8365
+ "tools": [
8366
+ "bold",
8367
+ "italic",
8368
+ "underline",
8369
+ "bullet",
8370
+ "ordered",
8371
+ "link",
8372
+ "undo",
8373
+ "redo"
8374
+ ],
8375
+ "onChange": {
8376
+ "actionId": "tier5.himiBrandedAccountAbout.aboutChanged"
8377
+ },
8378
+ "minHeight": 240,
8379
+ "fallback": {
8380
+ "id": "himi_account_about.editor_unavailable",
8381
+ "body": {
8382
+ "package": "himalaya",
8383
+ "type": "Text",
8384
+ "props": {
8385
+ "text": "Update the app to edit your About text.",
8386
+ "style": "footnoteRegular",
8387
+ "color": "textSecondary"
8388
+ }
8389
+ }
8390
+ }
8391
+ }
8392
+ },
8393
+ "modifiers": {
8394
+ "fillMaxWidth": true,
8395
+ "border": {
8396
+ "width": 1,
8397
+ "color": {
8398
+ "token": "border"
8399
+ }
8400
+ },
8401
+ "cornerRadius": 8,
8402
+ "hiddenPath": "$service:himiBrandedAccountAbout.aboutPending"
8403
+ }
8404
+ }
8405
+ ],
8406
+ "submitButton": {
8407
+ "id": "himi_account_about.save",
8408
+ "body": {
8409
+ "package": "himalaya",
8410
+ "type": "Button",
8411
+ "props": {
8412
+ "title": "Save",
8413
+ "style": "primary",
8414
+ "fullWidth": true,
8415
+ "disabledPath": "$service:himiBrandedAccountAbout.saving",
8416
+ "action": {
8417
+ "actionId": "tier5.himiBrandedAccountAbout.submit"
8418
+ }
8419
+ }
8420
+ }
8421
+ }
8422
+ }
8423
+ },
8424
+ "modifiers": {
8425
+ "fillMaxWidth": true,
8426
+ "padding": {
8427
+ "leading": 20,
8428
+ "trailing": 20,
8429
+ "top": 24,
8430
+ "bottom": 24
8431
+ }
8432
+ }
8433
+ }
8434
+ ]
8435
+ }
8436
+ }
8437
+ }
8438
+ }
8439
+ ]
8440
+ }
8441
+ }
8442
+ }
8443
+ ]
8444
+ }
8445
+ },
8446
+ "modifiers": {
8447
+ "background": {
8448
+ "token": "surfacePrimary"
8449
+ },
8450
+ "padding": {
8451
+ "bottom": 24
8452
+ },
8453
+ "onAppear": {
8454
+ "actionId": "tier5.himiBrandedAccountAbout.load",
8455
+ "params": {
8456
+ "businessName": "__HIMI_APP_NAME__"
8457
+ }
8458
+ }
8459
+ }
8460
+ },
8461
+ "logicBundle": {
8462
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
8463
+ "integrity": "",
8464
+ "contentType": "application/javascript+ts-bundle",
8465
+ "declaredCapabilities": [
8466
+ "wix_api",
8467
+ "app_info",
8468
+ "ui",
8469
+ "open_url"
8470
+ ],
8471
+ "minBinaryVersion": "0.1.0",
8472
+ "bundleVersion": "0.0.1"
8473
+ },
8474
+ "topBar": {
8475
+ "subtitle": "__HIMI_APP_NAME__",
8476
+ "subtitlePath": "$service:himiBrandedAccountSettings.businessName",
8477
+ "dirtyPath": "$service:himiBrandedAccountAbout.aboutDirty"
8478
+ }
8479
+ },
8045
8480
  "himi_sign_in": {
8046
8481
  "screenId": "himi_sign_in",
8047
8482
  "renderer": "sdui_intent",
@@ -10849,7 +11284,7 @@ const SCREENS = runtimeSetting({
10849
11284
  "actionId": "himi.open",
10850
11285
  "presentation": "sheet",
10851
11286
  "params": {
10852
- "screenId": "himi_account_personal_info",
11287
+ "screenId": "himi_account_about",
10853
11288
  "sheetStyle": "page"
10854
11289
  }
10855
11290
  }
@@ -4,6 +4,9 @@
4
4
  "himi_account": {
5
5
  "displayName": "Profile"
6
6
  },
7
+ "himi_account_about": {
8
+ "displayName": "About me"
9
+ },
7
10
  "himi_account_change_password": {
8
11
  "displayName": "Change password"
9
12
  },