@wix/himalaya-cli 0.1866.0 → 0.1867.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 (390) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +17 -7
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +55 -11
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +55 -11
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin → 4a8928bb82fc0db03269e14445bfc09155ceb3cde1f268162ac70b7ceb097b1f.bin} +1 -1
  7. package/dist/browser-plane/sw.js +9 -9
  8. package/dist/cli.mjs +44 -42
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/designing-himi-screens.md +1 -0
  11. package/package.json +2 -2
  12. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  13. package/templates/beauty-salon/dev/index.ts +122 -8
  14. package/templates/beauty-salon/l10n/ar.json +5 -0
  15. package/templates/beauty-salon/l10n/cs.json +5 -0
  16. package/templates/beauty-salon/l10n/da.json +5 -0
  17. package/templates/beauty-salon/l10n/de.json +5 -0
  18. package/templates/beauty-salon/l10n/el.json +5 -0
  19. package/templates/beauty-salon/l10n/en.json +1 -1
  20. package/templates/beauty-salon/l10n/es.json +5 -0
  21. package/templates/beauty-salon/l10n/fi.json +5 -0
  22. package/templates/beauty-salon/l10n/fr.json +5 -0
  23. package/templates/beauty-salon/l10n/he.json +4 -0
  24. package/templates/beauty-salon/l10n/hu.json +5 -0
  25. package/templates/beauty-salon/l10n/id.json +5 -0
  26. package/templates/beauty-salon/l10n/it.json +5 -0
  27. package/templates/beauty-salon/l10n/ja.json +5 -0
  28. package/templates/beauty-salon/l10n/ko.json +5 -0
  29. package/templates/beauty-salon/l10n/lt.json +5 -0
  30. package/templates/beauty-salon/l10n/nl.json +5 -0
  31. package/templates/beauty-salon/l10n/no.json +5 -0
  32. package/templates/beauty-salon/l10n/pl.json +5 -0
  33. package/templates/beauty-salon/l10n/pt.json +5 -0
  34. package/templates/beauty-salon/l10n/ru.json +5 -0
  35. package/templates/beauty-salon/l10n/sv.json +5 -0
  36. package/templates/beauty-salon/l10n/th.json +5 -0
  37. package/templates/beauty-salon/l10n/tr.json +5 -0
  38. package/templates/beauty-salon/l10n/uk.json +5 -0
  39. package/templates/beauty-salon/l10n/vi.json +5 -0
  40. package/templates/beauty-salon/l10n/zh.json +5 -0
  41. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  42. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  43. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  44. package/templates/branded-lite/dev/index.ts +732 -583
  45. package/templates/branded-lite/l10n/ar.json +5 -0
  46. package/templates/branded-lite/l10n/cs.json +5 -0
  47. package/templates/branded-lite/l10n/da.json +5 -0
  48. package/templates/branded-lite/l10n/de.json +5 -0
  49. package/templates/branded-lite/l10n/el.json +5 -0
  50. package/templates/branded-lite/l10n/en.json +2 -2
  51. package/templates/branded-lite/l10n/es.json +5 -0
  52. package/templates/branded-lite/l10n/fi.json +5 -0
  53. package/templates/branded-lite/l10n/fr.json +5 -0
  54. package/templates/branded-lite/l10n/he.json +4 -0
  55. package/templates/branded-lite/l10n/hu.json +5 -0
  56. package/templates/branded-lite/l10n/id.json +5 -0
  57. package/templates/branded-lite/l10n/it.json +5 -0
  58. package/templates/branded-lite/l10n/ja.json +5 -0
  59. package/templates/branded-lite/l10n/ko.json +5 -0
  60. package/templates/branded-lite/l10n/lt.json +5 -0
  61. package/templates/branded-lite/l10n/nl.json +5 -0
  62. package/templates/branded-lite/l10n/no.json +5 -0
  63. package/templates/branded-lite/l10n/pl.json +5 -0
  64. package/templates/branded-lite/l10n/pt.json +5 -0
  65. package/templates/branded-lite/l10n/ru.json +5 -0
  66. package/templates/branded-lite/l10n/sv.json +5 -0
  67. package/templates/branded-lite/l10n/th.json +5 -0
  68. package/templates/branded-lite/l10n/tr.json +5 -0
  69. package/templates/branded-lite/l10n/uk.json +5 -0
  70. package/templates/branded-lite/l10n/vi.json +5 -0
  71. package/templates/branded-lite/l10n/zh.json +5 -0
  72. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  73. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  74. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  75. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  76. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  77. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  78. package/templates/community-club/dev/index.ts +122 -8
  79. package/templates/community-club/l10n/ar.json +10 -0
  80. package/templates/community-club/l10n/cs.json +10 -0
  81. package/templates/community-club/l10n/da.json +10 -0
  82. package/templates/community-club/l10n/de.json +10 -0
  83. package/templates/community-club/l10n/el.json +10 -0
  84. package/templates/community-club/l10n/en.json +1 -1
  85. package/templates/community-club/l10n/es.json +10 -0
  86. package/templates/community-club/l10n/fi.json +10 -0
  87. package/templates/community-club/l10n/fr.json +10 -0
  88. package/templates/community-club/l10n/he.json +8 -0
  89. package/templates/community-club/l10n/hu.json +10 -0
  90. package/templates/community-club/l10n/id.json +10 -0
  91. package/templates/community-club/l10n/it.json +10 -0
  92. package/templates/community-club/l10n/ja.json +10 -0
  93. package/templates/community-club/l10n/ko.json +10 -0
  94. package/templates/community-club/l10n/lt.json +10 -0
  95. package/templates/community-club/l10n/nl.json +10 -0
  96. package/templates/community-club/l10n/no.json +10 -0
  97. package/templates/community-club/l10n/pl.json +10 -0
  98. package/templates/community-club/l10n/pt.json +10 -0
  99. package/templates/community-club/l10n/ru.json +10 -0
  100. package/templates/community-club/l10n/sv.json +10 -0
  101. package/templates/community-club/l10n/th.json +10 -0
  102. package/templates/community-club/l10n/tr.json +10 -0
  103. package/templates/community-club/l10n/uk.json +10 -0
  104. package/templates/community-club/l10n/vi.json +10 -0
  105. package/templates/community-club/l10n/zh.json +10 -0
  106. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  107. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  108. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  109. package/templates/conference/dev/index.ts +744 -595
  110. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  111. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  112. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  113. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  114. package/templates/events-meetups/dev/index.ts +122 -8
  115. package/templates/events-meetups/l10n/ar.json +10 -0
  116. package/templates/events-meetups/l10n/cs.json +10 -0
  117. package/templates/events-meetups/l10n/da.json +10 -0
  118. package/templates/events-meetups/l10n/de.json +10 -0
  119. package/templates/events-meetups/l10n/el.json +10 -0
  120. package/templates/events-meetups/l10n/en.json +1 -1
  121. package/templates/events-meetups/l10n/es.json +10 -0
  122. package/templates/events-meetups/l10n/fi.json +10 -0
  123. package/templates/events-meetups/l10n/fr.json +10 -0
  124. package/templates/events-meetups/l10n/he.json +8 -0
  125. package/templates/events-meetups/l10n/hu.json +10 -0
  126. package/templates/events-meetups/l10n/id.json +10 -0
  127. package/templates/events-meetups/l10n/it.json +10 -0
  128. package/templates/events-meetups/l10n/ja.json +10 -0
  129. package/templates/events-meetups/l10n/ko.json +10 -0
  130. package/templates/events-meetups/l10n/lt.json +10 -0
  131. package/templates/events-meetups/l10n/nl.json +10 -0
  132. package/templates/events-meetups/l10n/no.json +10 -0
  133. package/templates/events-meetups/l10n/pl.json +10 -0
  134. package/templates/events-meetups/l10n/pt.json +10 -0
  135. package/templates/events-meetups/l10n/ru.json +10 -0
  136. package/templates/events-meetups/l10n/sv.json +10 -0
  137. package/templates/events-meetups/l10n/th.json +10 -0
  138. package/templates/events-meetups/l10n/tr.json +10 -0
  139. package/templates/events-meetups/l10n/uk.json +10 -0
  140. package/templates/events-meetups/l10n/vi.json +10 -0
  141. package/templates/events-meetups/l10n/zh.json +10 -0
  142. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  143. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  144. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  145. package/templates/fitness-gym/dev/index.ts +743 -507
  146. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  147. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  148. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  149. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  150. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  151. package/templates/gym-fitness/dev/index.ts +122 -8
  152. package/templates/gym-fitness/l10n/ar.json +5 -0
  153. package/templates/gym-fitness/l10n/cs.json +5 -0
  154. package/templates/gym-fitness/l10n/da.json +5 -0
  155. package/templates/gym-fitness/l10n/de.json +5 -0
  156. package/templates/gym-fitness/l10n/el.json +5 -0
  157. package/templates/gym-fitness/l10n/en.json +1 -1
  158. package/templates/gym-fitness/l10n/es.json +5 -0
  159. package/templates/gym-fitness/l10n/fi.json +5 -0
  160. package/templates/gym-fitness/l10n/fr.json +5 -0
  161. package/templates/gym-fitness/l10n/he.json +4 -0
  162. package/templates/gym-fitness/l10n/hu.json +5 -0
  163. package/templates/gym-fitness/l10n/id.json +5 -0
  164. package/templates/gym-fitness/l10n/it.json +5 -0
  165. package/templates/gym-fitness/l10n/ja.json +5 -0
  166. package/templates/gym-fitness/l10n/ko.json +5 -0
  167. package/templates/gym-fitness/l10n/lt.json +5 -0
  168. package/templates/gym-fitness/l10n/nl.json +5 -0
  169. package/templates/gym-fitness/l10n/no.json +5 -0
  170. package/templates/gym-fitness/l10n/pl.json +5 -0
  171. package/templates/gym-fitness/l10n/pt.json +5 -0
  172. package/templates/gym-fitness/l10n/ru.json +5 -0
  173. package/templates/gym-fitness/l10n/sv.json +5 -0
  174. package/templates/gym-fitness/l10n/th.json +5 -0
  175. package/templates/gym-fitness/l10n/tr.json +5 -0
  176. package/templates/gym-fitness/l10n/uk.json +5 -0
  177. package/templates/gym-fitness/l10n/vi.json +5 -0
  178. package/templates/gym-fitness/l10n/zh.json +5 -0
  179. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  180. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  181. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  182. package/templates/medical-services/dev/index.ts +747 -595
  183. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  184. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  185. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  186. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  187. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  188. package/templates/nonprofit-cause/dev/index.ts +122 -8
  189. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  190. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  191. package/templates/nonprofit-cause/l10n/da.json +10 -0
  192. package/templates/nonprofit-cause/l10n/de.json +10 -0
  193. package/templates/nonprofit-cause/l10n/el.json +10 -0
  194. package/templates/nonprofit-cause/l10n/en.json +1 -1
  195. package/templates/nonprofit-cause/l10n/es.json +10 -0
  196. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  197. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  198. package/templates/nonprofit-cause/l10n/he.json +8 -0
  199. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  200. package/templates/nonprofit-cause/l10n/id.json +10 -0
  201. package/templates/nonprofit-cause/l10n/it.json +10 -0
  202. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  203. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  204. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  205. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  206. package/templates/nonprofit-cause/l10n/no.json +10 -0
  207. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  208. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  209. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  210. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  211. package/templates/nonprofit-cause/l10n/th.json +10 -0
  212. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  213. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  214. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  215. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  216. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  217. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  218. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  219. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  220. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  221. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  222. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  223. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  224. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  225. package/templates/podcast-creator/dev/index.ts +122 -8
  226. package/templates/podcast-creator/l10n/ar.json +10 -0
  227. package/templates/podcast-creator/l10n/cs.json +10 -0
  228. package/templates/podcast-creator/l10n/da.json +10 -0
  229. package/templates/podcast-creator/l10n/de.json +10 -0
  230. package/templates/podcast-creator/l10n/el.json +10 -0
  231. package/templates/podcast-creator/l10n/en.json +1 -1
  232. package/templates/podcast-creator/l10n/es.json +10 -0
  233. package/templates/podcast-creator/l10n/fi.json +10 -0
  234. package/templates/podcast-creator/l10n/fr.json +10 -0
  235. package/templates/podcast-creator/l10n/he.json +8 -0
  236. package/templates/podcast-creator/l10n/hu.json +10 -0
  237. package/templates/podcast-creator/l10n/id.json +10 -0
  238. package/templates/podcast-creator/l10n/it.json +10 -0
  239. package/templates/podcast-creator/l10n/ja.json +10 -0
  240. package/templates/podcast-creator/l10n/ko.json +10 -0
  241. package/templates/podcast-creator/l10n/lt.json +10 -0
  242. package/templates/podcast-creator/l10n/nl.json +10 -0
  243. package/templates/podcast-creator/l10n/no.json +10 -0
  244. package/templates/podcast-creator/l10n/pl.json +10 -0
  245. package/templates/podcast-creator/l10n/pt.json +10 -0
  246. package/templates/podcast-creator/l10n/ru.json +10 -0
  247. package/templates/podcast-creator/l10n/sv.json +10 -0
  248. package/templates/podcast-creator/l10n/th.json +10 -0
  249. package/templates/podcast-creator/l10n/tr.json +10 -0
  250. package/templates/podcast-creator/l10n/uk.json +10 -0
  251. package/templates/podcast-creator/l10n/vi.json +10 -0
  252. package/templates/podcast-creator/l10n/zh.json +10 -0
  253. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  254. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  255. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  256. package/templates/portfolio-creative/dev/index.ts +122 -8
  257. package/templates/portfolio-creative/l10n/ar.json +10 -0
  258. package/templates/portfolio-creative/l10n/cs.json +10 -0
  259. package/templates/portfolio-creative/l10n/da.json +10 -0
  260. package/templates/portfolio-creative/l10n/de.json +10 -0
  261. package/templates/portfolio-creative/l10n/el.json +10 -0
  262. package/templates/portfolio-creative/l10n/en.json +1 -1
  263. package/templates/portfolio-creative/l10n/es.json +10 -0
  264. package/templates/portfolio-creative/l10n/fi.json +10 -0
  265. package/templates/portfolio-creative/l10n/fr.json +10 -0
  266. package/templates/portfolio-creative/l10n/he.json +8 -0
  267. package/templates/portfolio-creative/l10n/hu.json +10 -0
  268. package/templates/portfolio-creative/l10n/id.json +10 -0
  269. package/templates/portfolio-creative/l10n/it.json +10 -0
  270. package/templates/portfolio-creative/l10n/ja.json +10 -0
  271. package/templates/portfolio-creative/l10n/ko.json +10 -0
  272. package/templates/portfolio-creative/l10n/lt.json +10 -0
  273. package/templates/portfolio-creative/l10n/nl.json +10 -0
  274. package/templates/portfolio-creative/l10n/no.json +10 -0
  275. package/templates/portfolio-creative/l10n/pl.json +10 -0
  276. package/templates/portfolio-creative/l10n/pt.json +10 -0
  277. package/templates/portfolio-creative/l10n/ru.json +10 -0
  278. package/templates/portfolio-creative/l10n/sv.json +10 -0
  279. package/templates/portfolio-creative/l10n/th.json +10 -0
  280. package/templates/portfolio-creative/l10n/tr.json +10 -0
  281. package/templates/portfolio-creative/l10n/uk.json +10 -0
  282. package/templates/portfolio-creative/l10n/vi.json +10 -0
  283. package/templates/portfolio-creative/l10n/zh.json +10 -0
  284. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  285. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  286. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  287. package/templates/restaurant/dev/index.ts +122 -8
  288. package/templates/restaurant/l10n/ar.json +10 -0
  289. package/templates/restaurant/l10n/cs.json +10 -0
  290. package/templates/restaurant/l10n/da.json +10 -0
  291. package/templates/restaurant/l10n/de.json +10 -0
  292. package/templates/restaurant/l10n/el.json +10 -0
  293. package/templates/restaurant/l10n/en.json +1 -1
  294. package/templates/restaurant/l10n/es.json +10 -0
  295. package/templates/restaurant/l10n/fi.json +10 -0
  296. package/templates/restaurant/l10n/fr.json +10 -0
  297. package/templates/restaurant/l10n/he.json +8 -0
  298. package/templates/restaurant/l10n/hu.json +10 -0
  299. package/templates/restaurant/l10n/id.json +10 -0
  300. package/templates/restaurant/l10n/it.json +10 -0
  301. package/templates/restaurant/l10n/ja.json +10 -0
  302. package/templates/restaurant/l10n/ko.json +10 -0
  303. package/templates/restaurant/l10n/lt.json +10 -0
  304. package/templates/restaurant/l10n/nl.json +10 -0
  305. package/templates/restaurant/l10n/no.json +10 -0
  306. package/templates/restaurant/l10n/pl.json +10 -0
  307. package/templates/restaurant/l10n/pt.json +10 -0
  308. package/templates/restaurant/l10n/ru.json +10 -0
  309. package/templates/restaurant/l10n/sv.json +10 -0
  310. package/templates/restaurant/l10n/th.json +10 -0
  311. package/templates/restaurant/l10n/tr.json +10 -0
  312. package/templates/restaurant/l10n/uk.json +10 -0
  313. package/templates/restaurant/l10n/vi.json +10 -0
  314. package/templates/restaurant/l10n/zh.json +10 -0
  315. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  316. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  317. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  318. package/templates/retail-store/dev/index.ts +122 -8
  319. package/templates/retail-store/l10n/ar.json +10 -0
  320. package/templates/retail-store/l10n/cs.json +10 -0
  321. package/templates/retail-store/l10n/da.json +10 -0
  322. package/templates/retail-store/l10n/de.json +10 -0
  323. package/templates/retail-store/l10n/el.json +10 -0
  324. package/templates/retail-store/l10n/en.json +1 -1
  325. package/templates/retail-store/l10n/es.json +10 -0
  326. package/templates/retail-store/l10n/fi.json +10 -0
  327. package/templates/retail-store/l10n/fr.json +10 -0
  328. package/templates/retail-store/l10n/he.json +8 -0
  329. package/templates/retail-store/l10n/hu.json +10 -0
  330. package/templates/retail-store/l10n/id.json +10 -0
  331. package/templates/retail-store/l10n/it.json +10 -0
  332. package/templates/retail-store/l10n/ja.json +10 -0
  333. package/templates/retail-store/l10n/ko.json +10 -0
  334. package/templates/retail-store/l10n/lt.json +10 -0
  335. package/templates/retail-store/l10n/nl.json +10 -0
  336. package/templates/retail-store/l10n/no.json +10 -0
  337. package/templates/retail-store/l10n/pl.json +10 -0
  338. package/templates/retail-store/l10n/pt.json +10 -0
  339. package/templates/retail-store/l10n/ru.json +10 -0
  340. package/templates/retail-store/l10n/sv.json +10 -0
  341. package/templates/retail-store/l10n/th.json +10 -0
  342. package/templates/retail-store/l10n/tr.json +10 -0
  343. package/templates/retail-store/l10n/uk.json +10 -0
  344. package/templates/retail-store/l10n/vi.json +10 -0
  345. package/templates/retail-store/l10n/zh.json +10 -0
  346. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  347. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  348. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  349. package/templates/salon-spa/dev/index.ts +744 -595
  350. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  351. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  352. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  353. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  354. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  355. package/templates/wholesale-store/dev/index.ts +751 -602
  356. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  357. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  358. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  359. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  360. package/templates/yoga-studio/dev/index.ts +122 -8
  361. package/templates/yoga-studio/l10n/ar.json +5 -0
  362. package/templates/yoga-studio/l10n/cs.json +5 -0
  363. package/templates/yoga-studio/l10n/da.json +5 -0
  364. package/templates/yoga-studio/l10n/de.json +5 -0
  365. package/templates/yoga-studio/l10n/el.json +5 -0
  366. package/templates/yoga-studio/l10n/en.json +1 -1
  367. package/templates/yoga-studio/l10n/es.json +5 -0
  368. package/templates/yoga-studio/l10n/fi.json +5 -0
  369. package/templates/yoga-studio/l10n/fr.json +5 -0
  370. package/templates/yoga-studio/l10n/he.json +4 -0
  371. package/templates/yoga-studio/l10n/hu.json +5 -0
  372. package/templates/yoga-studio/l10n/id.json +5 -0
  373. package/templates/yoga-studio/l10n/it.json +5 -0
  374. package/templates/yoga-studio/l10n/ja.json +5 -0
  375. package/templates/yoga-studio/l10n/ko.json +5 -0
  376. package/templates/yoga-studio/l10n/lt.json +5 -0
  377. package/templates/yoga-studio/l10n/nl.json +5 -0
  378. package/templates/yoga-studio/l10n/no.json +5 -0
  379. package/templates/yoga-studio/l10n/pl.json +5 -0
  380. package/templates/yoga-studio/l10n/pt.json +5 -0
  381. package/templates/yoga-studio/l10n/ru.json +5 -0
  382. package/templates/yoga-studio/l10n/sv.json +5 -0
  383. package/templates/yoga-studio/l10n/th.json +5 -0
  384. package/templates/yoga-studio/l10n/tr.json +5 -0
  385. package/templates/yoga-studio/l10n/uk.json +5 -0
  386. package/templates/yoga-studio/l10n/vi.json +5 -0
  387. package/templates/yoga-studio/l10n/zh.json +5 -0
  388. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  389. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  390. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -12226,6 +12226,67 @@ const SCREENS = runtimeSetting({
12226
12226
  "spacing": 12,
12227
12227
  "alignment": "leading",
12228
12228
  "children": [
12229
+ {
12230
+ "id": "himi_sign_in.loading",
12231
+ "body": {
12232
+ "package": "himalaya",
12233
+ "type": "VStack",
12234
+ "props": {
12235
+ "spacing": 12,
12236
+ "alignment": "leading",
12237
+ "children": [
12238
+ {
12239
+ "id": "",
12240
+ "body": {
12241
+ "package": "himalaya",
12242
+ "type": "Skeleton",
12243
+ "props": {
12244
+ "width": 160,
12245
+ "height": 28,
12246
+ "cornerRadius": 6
12247
+ }
12248
+ }
12249
+ },
12250
+ {
12251
+ "id": "",
12252
+ "body": {
12253
+ "package": "himalaya",
12254
+ "type": "Skeleton",
12255
+ "props": {
12256
+ "height": 52,
12257
+ "cornerRadius": 8
12258
+ }
12259
+ }
12260
+ },
12261
+ {
12262
+ "id": "",
12263
+ "body": {
12264
+ "package": "himalaya",
12265
+ "type": "Skeleton",
12266
+ "props": {
12267
+ "height": 52,
12268
+ "cornerRadius": 8
12269
+ }
12270
+ }
12271
+ },
12272
+ {
12273
+ "id": "",
12274
+ "body": {
12275
+ "package": "himalaya",
12276
+ "type": "Skeleton",
12277
+ "props": {
12278
+ "height": 48,
12279
+ "cornerRadius": 24
12280
+ }
12281
+ }
12282
+ }
12283
+ ]
12284
+ }
12285
+ },
12286
+ "modifiers": {
12287
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
12288
+ }
12289
+ },
12229
12290
  {
12230
12291
  "id": "",
12231
12292
  "body": {
@@ -12486,7 +12547,6 @@ const SCREENS = runtimeSetting({
12486
12547
  "keyboard": "email",
12487
12548
  "contentType": "username",
12488
12549
  "validation": {
12489
- "required": true,
12490
12550
  "type": "email",
12491
12551
  "mode": "on_blur"
12492
12552
  },
@@ -12536,26 +12596,27 @@ const SCREENS = runtimeSetting({
12536
12596
  }
12537
12597
  },
12538
12598
  {
12539
- "id": "",
12599
+ "id": "himi_sign_in.message",
12540
12600
  "body": {
12541
12601
  "package": "himalaya",
12542
12602
  "type": "Text",
12543
12603
  "props": {
12544
- "text": "$service:himiStoreAccount.busyMessage",
12604
+ "text": "$service:himiStoreAccount.errorMessage",
12545
12605
  "style": "footnote",
12606
+ "color": "danger",
12546
12607
  "collapseWhenEmpty": true
12547
12608
  }
12548
12609
  }
12549
12610
  },
12550
12611
  {
12551
- "id": "himi_sign_in.message",
12612
+ "id": "himi_sign_in.notice",
12552
12613
  "body": {
12553
12614
  "package": "himalaya",
12554
12615
  "type": "Text",
12555
12616
  "props": {
12556
- "text": "$service:himiStoreAccount.message",
12617
+ "text": "$service:himiStoreAccount.noticeMessage",
12557
12618
  "style": "footnote",
12558
- "color": "textPrimary",
12619
+ "color": "success",
12559
12620
  "collapseWhenEmpty": true
12560
12621
  }
12561
12622
  }
@@ -12697,7 +12758,60 @@ const SCREENS = runtimeSetting({
12697
12758
  }
12698
12759
  },
12699
12760
  "modifiers": {
12700
- "hiddenPath": "$service:himiStoreAccount.isMember"
12761
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
12762
+ }
12763
+ },
12764
+ {
12765
+ "id": "",
12766
+ "body": {
12767
+ "package": "himalaya",
12768
+ "type": "VStack",
12769
+ "props": {
12770
+ "spacing": 12,
12771
+ "alignment": "leading",
12772
+ "children": [
12773
+ {
12774
+ "id": "himi_sign_in.pending_title",
12775
+ "body": {
12776
+ "package": "himalaya",
12777
+ "type": "Text",
12778
+ "props": {
12779
+ "text": "$service:himiStoreAccount.pendingTitle",
12780
+ "style": "title1"
12781
+ }
12782
+ }
12783
+ },
12784
+ {
12785
+ "id": "himi_sign_in.pending_body",
12786
+ "body": {
12787
+ "package": "himalaya",
12788
+ "type": "Text",
12789
+ "props": {
12790
+ "text": "$service:himiStoreAccount.pendingBody",
12791
+ "style": "body"
12792
+ }
12793
+ }
12794
+ },
12795
+ {
12796
+ "id": "himi_sign_in.pending_back",
12797
+ "body": {
12798
+ "package": "himalaya",
12799
+ "type": "Button",
12800
+ "props": {
12801
+ "title": "Back to sign in",
12802
+ "style": "secondary",
12803
+ "fullWidth": true,
12804
+ "action": {
12805
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
12806
+ }
12807
+ }
12808
+ }
12809
+ }
12810
+ ]
12811
+ }
12812
+ },
12813
+ "modifiers": {
12814
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
12701
12815
  }
12702
12816
  },
12703
12817
  {
@@ -12739,7 +12853,7 @@ const SCREENS = runtimeSetting({
12739
12853
  }
12740
12854
  },
12741
12855
  "modifiers": {
12742
- "hiddenPath": "$service:himiStoreAccount.notMember"
12856
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
12743
12857
  }
12744
12858
  }
12745
12859
  ]
@@ -97110,6 +97224,9 @@ const SCREENS = runtimeSetting({
97110
97224
  "screenId": "himi_business_chat",
97111
97225
  "renderer": "sdui_intent",
97112
97226
  "title": "__HIMI_APP_NAME__",
97227
+ "topBar": {
97228
+ "subtitlePath": "$service:businessChat.hostedName"
97229
+ },
97113
97230
  "schemaVersion": 1,
97114
97231
  "cacheControl": {
97115
97232
  "maxAge": 0,
@@ -97130,179 +97247,172 @@ const SCREENS = runtimeSetting({
97130
97247
  "props": {
97131
97248
  "children": [
97132
97249
  {
97133
- "id": "himi_business_chat.loading_text",
97250
+ "id": "himi_business_chat.skeleton_1",
97134
97251
  "body": {
97135
97252
  "package": "himalaya",
97136
- "type": "Text",
97137
- "props": {
97138
- "text": "$t:common.detailLoadingText",
97139
- "style": "body",
97140
- "color": "textSecondary",
97141
- "collapseWhenEmpty": true,
97142
- "textDirection": "auto"
97143
- }
97144
- },
97145
- "modifiers": {}
97146
- },
97147
- {
97148
- "id": "himi_business_chat.loading_row_1",
97149
- "body": {
97150
- "package": "himalaya",
97151
- "type": "Skeleton",
97152
- "props": {
97153
- "height": 62,
97154
- "cornerRadius": 16
97155
- }
97156
- },
97157
- "modifiers": {}
97158
- },
97159
- {
97160
- "id": "himi_business_chat.loading_row_2",
97161
- "body": {
97162
- "package": "himalaya",
97163
- "type": "Skeleton",
97164
- "props": {
97165
- "height": 84,
97166
- "cornerRadius": 16
97167
- }
97168
- },
97169
- "modifiers": {}
97170
- }
97171
- ],
97172
- "spacing": 12,
97173
- "alignment": "leading"
97174
- }
97175
- },
97176
- "modifiers": {
97177
- "fillMaxWidth": true,
97178
- "padding": {
97179
- "leading": 16,
97180
- "trailing": 16,
97181
- "top": 20,
97182
- "bottom": 8
97183
- },
97184
- "hiddenPath": "$service:businessChat.loadingHidden"
97185
- }
97186
- },
97187
- {
97188
- "id": "himi_business_chat.error",
97189
- "body": {
97190
- "package": "himalaya",
97191
- "type": "VStack",
97192
- "props": {
97193
- "children": [
97194
- {
97195
- "id": "himi_business_chat.error_text",
97196
- "body": {
97197
- "package": "himalaya",
97198
- "type": "Text",
97253
+ "type": "HStack",
97199
97254
  "props": {
97200
- "text": "$service:businessChat.errorText",
97201
- "style": "body",
97202
- "color": "danger",
97203
- "collapseWhenEmpty": true,
97204
- "textDirection": "auto"
97255
+ "children": [
97256
+ {
97257
+ "id": "himi_business_chat.skeleton_1.avatar",
97258
+ "body": {
97259
+ "package": "himalaya",
97260
+ "type": "Skeleton",
97261
+ "props": {
97262
+ "width": 32,
97263
+ "height": 32,
97264
+ "cornerRadius": 999
97265
+ }
97266
+ },
97267
+ "modifiers": {}
97268
+ },
97269
+ {
97270
+ "id": "himi_business_chat.skeleton_1.bubble",
97271
+ "body": {
97272
+ "package": "himalaya",
97273
+ "type": "Skeleton",
97274
+ "props": {
97275
+ "width": 220,
97276
+ "height": 52,
97277
+ "cornerRadius": 12
97278
+ }
97279
+ },
97280
+ "modifiers": {}
97281
+ },
97282
+ {
97283
+ "id": "himi_business_chat.skeleton_1.spacer",
97284
+ "body": {
97285
+ "package": "himalaya",
97286
+ "type": "Spacer",
97287
+ "props": {}
97288
+ },
97289
+ "modifiers": {}
97290
+ }
97291
+ ],
97292
+ "spacing": 8,
97293
+ "alignment": "leading"
97205
97294
  }
97206
97295
  },
97207
- "modifiers": {}
97208
- },
97209
- {
97210
- "id": "himi_business_chat.load_failure",
97211
- "body": {
97212
- "package": "himalaya",
97213
- "type": "Text",
97214
- "props": {
97215
- "text": "$service:businessChat.loadFailure",
97216
- "style": "caption",
97217
- "color": "textSecondary",
97218
- "collapseWhenEmpty": true,
97219
- "textDirection": "auto"
97296
+ "modifiers": {
97297
+ "fillMaxWidth": true,
97298
+ "padding": {
97299
+ "leading": 20,
97300
+ "trailing": 20,
97301
+ "top": 4,
97302
+ "bottom": 4
97220
97303
  }
97221
- },
97222
- "modifiers": {}
97304
+ }
97223
97305
  },
97224
97306
  {
97225
- "id": "himi_business_chat.sign_in",
97307
+ "id": "himi_business_chat.skeleton_2",
97226
97308
  "body": {
97227
97309
  "package": "himalaya",
97228
- "type": "Button",
97310
+ "type": "HStack",
97229
97311
  "props": {
97230
- "title": "$t:account.signInCta",
97231
- "leadingIcon": "person",
97232
- "style": "primary",
97233
- "size": "md",
97234
- "fullWidth": false,
97235
- "action": {
97236
- "actionId": "himi.open",
97237
- "params": {
97238
- "screenId": "himi_sign_in",
97239
- "mode": "signin",
97240
- "returnScreenId": "himi_business_chat",
97241
- "modal": "1",
97242
- "sheetStyle": "page"
97312
+ "children": [
97313
+ {
97314
+ "id": "himi_business_chat.skeleton_2.spacer",
97315
+ "body": {
97316
+ "package": "himalaya",
97317
+ "type": "Spacer",
97318
+ "props": {}
97319
+ },
97320
+ "modifiers": {}
97243
97321
  },
97244
- "presentation": "sheet"
97245
- }
97322
+ {
97323
+ "id": "himi_business_chat.skeleton_2.bubble",
97324
+ "body": {
97325
+ "package": "himalaya",
97326
+ "type": "Skeleton",
97327
+ "props": {
97328
+ "width": 180,
97329
+ "height": 52,
97330
+ "cornerRadius": 12
97331
+ }
97332
+ },
97333
+ "modifiers": {}
97334
+ }
97335
+ ],
97336
+ "spacing": 8,
97337
+ "alignment": "leading"
97246
97338
  }
97247
97339
  },
97248
97340
  "modifiers": {
97249
- "hiddenPath": "$service:businessChat.notGuest"
97341
+ "fillMaxWidth": true,
97342
+ "padding": {
97343
+ "leading": 20,
97344
+ "trailing": 20,
97345
+ "top": 4,
97346
+ "bottom": 4
97347
+ }
97250
97348
  }
97251
97349
  },
97252
97350
  {
97253
- "id": "himi_business_chat.retry",
97351
+ "id": "himi_business_chat.skeleton_3",
97254
97352
  "body": {
97255
97353
  "package": "himalaya",
97256
- "type": "Button",
97354
+ "type": "HStack",
97257
97355
  "props": {
97258
- "title": "$t:common.retryCta",
97259
- "action": {
97260
- "actionId": "tier5.businessChat.init"
97261
- },
97262
- "style": "secondary",
97263
- "size": "md",
97264
- "fullWidth": false
97356
+ "children": [
97357
+ {
97358
+ "id": "himi_business_chat.skeleton_3.avatar",
97359
+ "body": {
97360
+ "package": "himalaya",
97361
+ "type": "Skeleton",
97362
+ "props": {
97363
+ "width": 32,
97364
+ "height": 32,
97365
+ "cornerRadius": 999
97366
+ }
97367
+ },
97368
+ "modifiers": {}
97369
+ },
97370
+ {
97371
+ "id": "himi_business_chat.skeleton_3.bubble",
97372
+ "body": {
97373
+ "package": "himalaya",
97374
+ "type": "Skeleton",
97375
+ "props": {
97376
+ "width": 230,
97377
+ "height": 52,
97378
+ "cornerRadius": 12
97379
+ }
97380
+ },
97381
+ "modifiers": {}
97382
+ },
97383
+ {
97384
+ "id": "himi_business_chat.skeleton_3.spacer",
97385
+ "body": {
97386
+ "package": "himalaya",
97387
+ "type": "Spacer",
97388
+ "props": {}
97389
+ },
97390
+ "modifiers": {}
97391
+ }
97392
+ ],
97393
+ "spacing": 8,
97394
+ "alignment": "leading"
97265
97395
  }
97266
97396
  },
97267
97397
  "modifiers": {
97268
- "hiddenPath": "$service:businessChat.isGuest"
97398
+ "fillMaxWidth": true,
97399
+ "padding": {
97400
+ "leading": 20,
97401
+ "trailing": 20,
97402
+ "top": 4,
97403
+ "bottom": 4
97404
+ }
97269
97405
  }
97270
97406
  }
97271
97407
  ],
97272
- "spacing": 8,
97408
+ "spacing": 0,
97273
97409
  "alignment": "leading"
97274
97410
  }
97275
97411
  },
97276
97412
  "modifiers": {
97277
97413
  "fillMaxWidth": true,
97278
- "padding": {
97279
- "leading": 16,
97280
- "trailing": 16,
97281
- "top": 12,
97282
- "bottom": 8
97283
- },
97284
- "hiddenPath": "$service:businessChat.noError"
97285
- }
97286
- },
97287
- {
97288
- "id": "himi_business_chat.empty",
97289
- "body": {
97290
- "package": "himalaya",
97291
- "type": "EmptyState",
97292
- "props": {
97293
- "title": "$t:businessChat.emptyTitle",
97294
- "subtitle": "$t:chatThread.emptySubtitle",
97295
- "icon": "chat"
97296
- }
97297
- },
97298
- "modifiers": {
97299
- "padding": {
97300
- "leading": 16,
97301
- "trailing": 16,
97302
- "top": 24,
97303
- "bottom": 24
97304
- },
97305
- "hiddenPath": "$service:businessChat.noEmpty"
97414
+ "accessibilityLabel": "$t:common.detailLoadingText",
97415
+ "hiddenPath": "$service:businessChat.loadingHidden"
97306
97416
  }
97307
97417
  },
97308
97418
  {
@@ -97344,7 +97454,7 @@ const SCREENS = runtimeSetting({
97344
97454
  "props": {
97345
97455
  "text": "$item.dayLabel",
97346
97456
  "style": "caption",
97347
- "color": "textSecondary",
97457
+ "color": "textTertiary",
97348
97458
  "collapseWhenEmpty": true,
97349
97459
  "textDirection": "auto"
97350
97460
  }
@@ -97368,10 +97478,8 @@ const SCREENS = runtimeSetting({
97368
97478
  "modifiers": {
97369
97479
  "fillMaxWidth": true,
97370
97480
  "padding": {
97371
- "leading": 12,
97372
- "trailing": 12,
97373
- "top": 12,
97374
- "bottom": 4
97481
+ "top": 8,
97482
+ "bottom": 8
97375
97483
  },
97376
97484
  "hiddenPath": "$item.dayHidden"
97377
97485
  }
@@ -97384,21 +97492,36 @@ const SCREENS = runtimeSetting({
97384
97492
  "props": {
97385
97493
  "children": [
97386
97494
  {
97387
- "id": "himi_business_chat.avatar_$item.id",
97495
+ "id": "himi_business_chat.avatar_slot_$item.id",
97388
97496
  "body": {
97389
97497
  "package": "himalaya",
97390
- "type": "Image",
97498
+ "type": "VStack",
97391
97499
  "props": {
97392
- "initials": "$service:businessChat.businessInitials",
97393
- "width": 30,
97394
- "height": 30,
97395
- "contentMode": "fill",
97396
- "shape": "circle",
97397
- "contentDescription": "$service:businessChat.businessName"
97500
+ "children": [
97501
+ {
97502
+ "id": "himi_business_chat.avatar_$item.id",
97503
+ "body": {
97504
+ "package": "himalaya",
97505
+ "type": "Avatar",
97506
+ "props": {
97507
+ "imageUrl": "",
97508
+ "initials": "$service:businessChat.businessInitials",
97509
+ "size": 32
97510
+ }
97511
+ },
97512
+ "modifiers": {
97513
+ "accessibilityLabel": "$service:businessChat.businessName",
97514
+ "hiddenPath": "$item.hideAvatar"
97515
+ }
97516
+ }
97517
+ ],
97518
+ "spacing": 0,
97519
+ "alignment": "leading"
97398
97520
  }
97399
97521
  },
97400
97522
  "modifiers": {
97401
- "accessibilityLabel": "$service:businessChat.businessName"
97523
+ "fillMaxWidth": false,
97524
+ "width": 32
97402
97525
  }
97403
97526
  },
97404
97527
  {
@@ -97415,42 +97538,6 @@ const SCREENS = runtimeSetting({
97415
97538
  "type": "VStack",
97416
97539
  "props": {
97417
97540
  "children": [
97418
- {
97419
- "id": "himi_business_chat.incoming_sender_$item.id",
97420
- "body": {
97421
- "package": "himalaya",
97422
- "type": "Text",
97423
- "props": {
97424
- "text": "__HIMI_APP_NAME__",
97425
- "style": "caption",
97426
- "color": "accentPrimary",
97427
- "collapseWhenEmpty": true,
97428
- "textDirection": "auto",
97429
- "maxLines": 1
97430
- }
97431
- },
97432
- "modifiers": {
97433
- "hiddenPath": "$service:businessChat.hasHostedName"
97434
- }
97435
- },
97436
- {
97437
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
97438
- "body": {
97439
- "package": "himalaya",
97440
- "type": "Text",
97441
- "props": {
97442
- "text": "$service:businessChat.hostedName",
97443
- "style": "caption",
97444
- "color": "accentPrimary",
97445
- "collapseWhenEmpty": true,
97446
- "textDirection": "auto",
97447
- "maxLines": 1
97448
- }
97449
- },
97450
- "modifiers": {
97451
- "hiddenPath": "$service:businessChat.noHostedName"
97452
- }
97453
- },
97454
97541
  {
97455
97542
  "id": "himi_business_chat.staff_badge_$item.id",
97456
97543
  "body": {
@@ -97460,6 +97547,7 @@ const SCREENS = runtimeSetting({
97460
97547
  "text": "$item.senderBadge",
97461
97548
  "style": "caption",
97462
97549
  "color": "accentPrimary",
97550
+ "maxLines": 1,
97463
97551
  "collapseWhenEmpty": true
97464
97552
  }
97465
97553
  },
@@ -97467,12 +97555,12 @@ const SCREENS = runtimeSetting({
97467
97555
  "background": {
97468
97556
  "token": "accentSurface"
97469
97557
  },
97470
- "cornerRadius": 12,
97558
+ "cornerRadius": 8,
97471
97559
  "padding": {
97472
- "leading": 10,
97473
- "trailing": 10,
97474
- "top": 3,
97475
- "bottom": 3
97560
+ "leading": 8,
97561
+ "trailing": 8,
97562
+ "top": 4,
97563
+ "bottom": 4
97476
97564
  }
97477
97565
  }
97478
97566
  },
@@ -97503,7 +97591,7 @@ const SCREENS = runtimeSetting({
97503
97591
  "type": "Text",
97504
97592
  "props": {
97505
97593
  "text": "$item.bodyMarkdown",
97506
- "style": "caption",
97594
+ "style": "footnoteRegular",
97507
97595
  "color": "textPrimary",
97508
97596
  "collapseWhenEmpty": true,
97509
97597
  "textDirection": "auto",
@@ -97583,7 +97671,7 @@ const SCREENS = runtimeSetting({
97583
97671
  }
97584
97672
  }
97585
97673
  ],
97586
- "spacing": 6
97674
+ "spacing": 4
97587
97675
  }
97588
97676
  },
97589
97677
  "modifiers": {
@@ -97619,7 +97707,7 @@ const SCREENS = runtimeSetting({
97619
97707
  "type": "Text",
97620
97708
  "props": {
97621
97709
  "text": "$item.label",
97622
- "style": "body",
97710
+ "style": "footnoteRegular",
97623
97711
  "color": "accentPrimary",
97624
97712
  "collapseWhenEmpty": true,
97625
97713
  "textDirection": "auto"
@@ -97634,12 +97722,12 @@ const SCREENS = runtimeSetting({
97634
97722
  },
97635
97723
  "modifiers": {
97636
97724
  "fillMaxWidth": true,
97637
- "cornerRadius": 16,
97725
+ "cornerRadius": 12,
97638
97726
  "padding": {
97639
- "leading": 14,
97640
- "trailing": 14,
97641
- "top": 10,
97642
- "bottom": 10
97727
+ "leading": 12,
97728
+ "trailing": 12,
97729
+ "top": 8,
97730
+ "bottom": 8
97643
97731
  },
97644
97732
  "background": {
97645
97733
  "token": "accentSurface"
@@ -97669,8 +97757,8 @@ const SCREENS = runtimeSetting({
97669
97757
  "type": "Text",
97670
97758
  "props": {
97671
97759
  "text": "$item.label",
97672
- "style": "body",
97673
- "color": "textSecondary",
97760
+ "style": "footnoteRegular",
97761
+ "color": "textTertiary",
97674
97762
  "collapseWhenEmpty": true,
97675
97763
  "textDirection": "auto"
97676
97764
  }
@@ -97684,15 +97772,15 @@ const SCREENS = runtimeSetting({
97684
97772
  },
97685
97773
  "modifiers": {
97686
97774
  "fillMaxWidth": true,
97687
- "cornerRadius": 16,
97775
+ "cornerRadius": 12,
97688
97776
  "padding": {
97689
- "leading": 14,
97690
- "trailing": 14,
97691
- "top": 10,
97692
- "bottom": 10
97777
+ "leading": 12,
97778
+ "trailing": 12,
97779
+ "top": 8,
97780
+ "bottom": 8
97693
97781
  },
97694
97782
  "background": {
97695
- "token": "surfaceElevated"
97783
+ "token": "surfacePrimary"
97696
97784
  },
97697
97785
  "hiddenPath": "$item.enabled"
97698
97786
  }
@@ -97707,51 +97795,30 @@ const SCREENS = runtimeSetting({
97707
97795
  }
97708
97796
  }
97709
97797
  ],
97710
- "spacing": 6,
97798
+ "spacing": 4,
97711
97799
  "horizontal": false
97712
97800
  }
97713
97801
  },
97714
97802
  "modifiers": {
97715
97803
  "fillMaxWidth": true
97716
97804
  }
97717
- },
97718
- {
97719
- "id": "himi_business_chat.incoming_time_$item.id",
97720
- "body": {
97721
- "package": "himalaya",
97722
- "type": "Text",
97723
- "props": {
97724
- "text": "$item.when",
97725
- "style": "caption",
97726
- "color": "textSecondary",
97727
- "collapseWhenEmpty": true,
97728
- "textDirection": "auto"
97729
- }
97730
- },
97731
- "modifiers": {}
97732
97805
  }
97733
97806
  ],
97734
- "spacing": 5,
97807
+ "spacing": 4,
97735
97808
  "alignment": "leading"
97736
97809
  }
97737
97810
  },
97738
97811
  "modifiers": {
97739
- "fillMaxWidth": true,
97812
+ "fillMaxWidth": false,
97740
97813
  "background": {
97741
- "token": "surfaceElevated"
97742
- },
97743
- "border": {
97744
- "width": 1,
97745
- "color": {
97746
- "token": "border"
97747
- }
97814
+ "token": "surfaceSecondary"
97748
97815
  },
97749
- "cornerRadius": 16,
97816
+ "cornerRadius": 12,
97750
97817
  "padding": {
97751
- "leading": 8,
97752
- "trailing": 8,
97753
- "top": 8,
97754
- "bottom": 8
97818
+ "leading": 16,
97819
+ "trailing": 16,
97820
+ "top": 16,
97821
+ "bottom": 16
97755
97822
  },
97756
97823
  "maxWidth": 300,
97757
97824
  "hiddenPath": "$item.isCard"
@@ -97764,42 +97831,6 @@ const SCREENS = runtimeSetting({
97764
97831
  "type": "VStack",
97765
97832
  "props": {
97766
97833
  "children": [
97767
- {
97768
- "id": "himi_business_chat.card_sender_$item.id",
97769
- "body": {
97770
- "package": "himalaya",
97771
- "type": "Text",
97772
- "props": {
97773
- "text": "__HIMI_APP_NAME__",
97774
- "style": "caption",
97775
- "color": "accentPrimary",
97776
- "collapseWhenEmpty": true,
97777
- "textDirection": "auto",
97778
- "maxLines": 1
97779
- }
97780
- },
97781
- "modifiers": {
97782
- "hiddenPath": "$service:businessChat.hasHostedName"
97783
- }
97784
- },
97785
- {
97786
- "id": "himi_business_chat.card_sender_hosted_$item.id",
97787
- "body": {
97788
- "package": "himalaya",
97789
- "type": "Text",
97790
- "props": {
97791
- "text": "$service:businessChat.hostedName",
97792
- "style": "caption",
97793
- "color": "accentPrimary",
97794
- "collapseWhenEmpty": true,
97795
- "textDirection": "auto",
97796
- "maxLines": 1
97797
- }
97798
- },
97799
- "modifiers": {
97800
- "hiddenPath": "$service:businessChat.noHostedName"
97801
- }
97802
- },
97803
97834
  {
97804
97835
  "id": "himi_business_chat.card_badge_$item.id",
97805
97836
  "body": {
@@ -97809,6 +97840,7 @@ const SCREENS = runtimeSetting({
97809
97840
  "text": "$item.senderBadge",
97810
97841
  "style": "caption",
97811
97842
  "color": "accentPrimary",
97843
+ "maxLines": 1,
97812
97844
  "collapseWhenEmpty": true
97813
97845
  }
97814
97846
  },
@@ -97816,12 +97848,12 @@ const SCREENS = runtimeSetting({
97816
97848
  "background": {
97817
97849
  "token": "accentSurface"
97818
97850
  },
97819
- "cornerRadius": 12,
97851
+ "cornerRadius": 8,
97820
97852
  "padding": {
97821
- "leading": 10,
97822
- "trailing": 10,
97823
- "top": 3,
97824
- "bottom": 3
97853
+ "leading": 8,
97854
+ "trailing": 8,
97855
+ "top": 4,
97856
+ "bottom": 4
97825
97857
  }
97826
97858
  }
97827
97859
  },
@@ -97866,7 +97898,7 @@ const SCREENS = runtimeSetting({
97866
97898
  "type": "Text",
97867
97899
  "props": {
97868
97900
  "text": "$item.cardTitle",
97869
- "style": "body",
97901
+ "style": "footnote",
97870
97902
  "color": "textPrimary",
97871
97903
  "collapseWhenEmpty": true,
97872
97904
  "textDirection": "auto",
@@ -97883,8 +97915,8 @@ const SCREENS = runtimeSetting({
97883
97915
  "type": "Text",
97884
97916
  "props": {
97885
97917
  "text": "$item.cardDetail",
97886
- "style": "body",
97887
- "color": "textPrimary",
97918
+ "style": "footnoteRegular",
97919
+ "color": "textSecondary",
97888
97920
  "collapseWhenEmpty": true,
97889
97921
  "textDirection": "auto",
97890
97922
  "markdown": true,
@@ -97933,7 +97965,7 @@ const SCREENS = runtimeSetting({
97933
97965
  "type": "Text",
97934
97966
  "props": {
97935
97967
  "text": "$item.couponCode",
97936
- "style": "title3",
97968
+ "style": "bodyEmphasis",
97937
97969
  "color": "accentPrimary",
97938
97970
  "collapseWhenEmpty": true,
97939
97971
  "textDirection": "auto"
@@ -97942,7 +97974,7 @@ const SCREENS = runtimeSetting({
97942
97974
  "modifiers": {}
97943
97975
  }
97944
97976
  ],
97945
- "spacing": 2,
97977
+ "spacing": 4,
97946
97978
  "alignment": "center"
97947
97979
  }
97948
97980
  },
@@ -97951,7 +97983,7 @@ const SCREENS = runtimeSetting({
97951
97983
  "background": {
97952
97984
  "token": "accentSurface"
97953
97985
  },
97954
- "cornerRadius": 12,
97986
+ "cornerRadius": 8,
97955
97987
  "border": {
97956
97988
  "width": 1,
97957
97989
  "color": {
@@ -97959,10 +97991,10 @@ const SCREENS = runtimeSetting({
97959
97991
  }
97960
97992
  },
97961
97993
  "padding": {
97962
- "leading": 14,
97963
- "trailing": 14,
97964
- "top": 10,
97965
- "bottom": 10
97994
+ "leading": 12,
97995
+ "trailing": 12,
97996
+ "top": 8,
97997
+ "bottom": 8
97966
97998
  },
97967
97999
  "hiddenPath": "$item.noCoupon"
97968
98000
  }
@@ -98037,7 +98069,7 @@ const SCREENS = runtimeSetting({
98037
98069
  }
98038
98070
  }
98039
98071
  ],
98040
- "spacing": 6
98072
+ "spacing": 4
98041
98073
  }
98042
98074
  },
98043
98075
  "modifiers": {
@@ -98074,7 +98106,7 @@ const SCREENS = runtimeSetting({
98074
98106
  "type": "Text",
98075
98107
  "props": {
98076
98108
  "text": "$item.label",
98077
- "style": "body",
98109
+ "style": "footnoteRegular",
98078
98110
  "color": "accentPrimary",
98079
98111
  "collapseWhenEmpty": true,
98080
98112
  "textDirection": "auto"
@@ -98089,12 +98121,12 @@ const SCREENS = runtimeSetting({
98089
98121
  },
98090
98122
  "modifiers": {
98091
98123
  "fillMaxWidth": true,
98092
- "cornerRadius": 16,
98124
+ "cornerRadius": 12,
98093
98125
  "padding": {
98094
- "leading": 14,
98095
- "trailing": 14,
98096
- "top": 10,
98097
- "bottom": 10
98126
+ "leading": 12,
98127
+ "trailing": 12,
98128
+ "top": 8,
98129
+ "bottom": 8
98098
98130
  },
98099
98131
  "background": {
98100
98132
  "token": "accentSurface"
@@ -98124,8 +98156,8 @@ const SCREENS = runtimeSetting({
98124
98156
  "type": "Text",
98125
98157
  "props": {
98126
98158
  "text": "$item.label",
98127
- "style": "body",
98128
- "color": "textSecondary",
98159
+ "style": "footnoteRegular",
98160
+ "color": "textTertiary",
98129
98161
  "collapseWhenEmpty": true,
98130
98162
  "textDirection": "auto"
98131
98163
  }
@@ -98139,15 +98171,15 @@ const SCREENS = runtimeSetting({
98139
98171
  },
98140
98172
  "modifiers": {
98141
98173
  "fillMaxWidth": true,
98142
- "cornerRadius": 16,
98174
+ "cornerRadius": 12,
98143
98175
  "padding": {
98144
- "leading": 14,
98145
- "trailing": 14,
98146
- "top": 10,
98147
- "bottom": 10
98176
+ "leading": 12,
98177
+ "trailing": 12,
98178
+ "top": 8,
98179
+ "bottom": 8
98148
98180
  },
98149
98181
  "background": {
98150
- "token": "surfaceElevated"
98182
+ "token": "surfacePrimary"
98151
98183
  },
98152
98184
  "hiddenPath": "$item.enabled"
98153
98185
  }
@@ -98162,7 +98194,7 @@ const SCREENS = runtimeSetting({
98162
98194
  }
98163
98195
  }
98164
98196
  ],
98165
- "spacing": 6,
98197
+ "spacing": 4,
98166
98198
  "horizontal": false
98167
98199
  }
98168
98200
  },
@@ -98179,7 +98211,7 @@ const SCREENS = runtimeSetting({
98179
98211
  "modifiers": {
98180
98212
  "fillMaxWidth": true,
98181
98213
  "background": {
98182
- "token": "surfaceElevated"
98214
+ "token": "surfacePrimary"
98183
98215
  },
98184
98216
  "border": {
98185
98217
  "width": 1,
@@ -98187,33 +98219,18 @@ const SCREENS = runtimeSetting({
98187
98219
  "token": "border"
98188
98220
  }
98189
98221
  },
98190
- "cornerRadius": 8,
98222
+ "cornerRadius": 12,
98191
98223
  "padding": {
98192
98224
  "leading": 12,
98193
98225
  "trailing": 12,
98194
98226
  "top": 12,
98195
- "bottom": 8
98227
+ "bottom": 12
98196
98228
  },
98197
- "maxWidth": 270
98229
+ "maxWidth": 300
98198
98230
  }
98199
- },
98200
- {
98201
- "id": "himi_business_chat.card_time_$item.id",
98202
- "body": {
98203
- "package": "himalaya",
98204
- "type": "Text",
98205
- "props": {
98206
- "text": "$item.when",
98207
- "style": "caption",
98208
- "color": "textSecondary",
98209
- "collapseWhenEmpty": true,
98210
- "textDirection": "auto"
98211
- }
98212
- },
98213
- "modifiers": {}
98214
98231
  }
98215
98232
  ],
98216
- "spacing": 7,
98233
+ "spacing": 4,
98217
98234
  "alignment": "leading"
98218
98235
  }
98219
98236
  },
@@ -98221,14 +98238,29 @@ const SCREENS = runtimeSetting({
98221
98238
  "fillMaxWidth": true,
98222
98239
  "hiddenPath": "$item.notCard"
98223
98240
  }
98241
+ },
98242
+ {
98243
+ "id": "himi_business_chat.incoming_time_$item.id",
98244
+ "body": {
98245
+ "package": "himalaya",
98246
+ "type": "Text",
98247
+ "props": {
98248
+ "text": "$item.when",
98249
+ "style": "caption",
98250
+ "color": "textTertiary",
98251
+ "collapseWhenEmpty": true,
98252
+ "textDirection": "auto"
98253
+ }
98254
+ },
98255
+ "modifiers": {}
98224
98256
  }
98225
98257
  ],
98226
- "spacing": 0,
98258
+ "spacing": 4,
98227
98259
  "alignment": "leading"
98228
98260
  }
98229
98261
  },
98230
98262
  "modifiers": {
98231
- "fillMaxWidth": true
98263
+ "fillMaxWidth": false
98232
98264
  }
98233
98265
  },
98234
98266
  {
@@ -98241,7 +98273,7 @@ const SCREENS = runtimeSetting({
98241
98273
  "modifiers": {}
98242
98274
  }
98243
98275
  ],
98244
- "spacing": 6,
98276
+ "spacing": 8,
98245
98277
  "alignment": "leading"
98246
98278
  }
98247
98279
  },
@@ -98267,63 +98299,75 @@ const SCREENS = runtimeSetting({
98267
98299
  "modifiers": {}
98268
98300
  },
98269
98301
  {
98270
- "id": "himi_business_chat.outgoing_bubble_$item.id",
98302
+ "id": "himi_business_chat.outgoing_message_$item.id",
98271
98303
  "body": {
98272
98304
  "package": "himalaya",
98273
98305
  "type": "VStack",
98274
98306
  "props": {
98275
98307
  "children": [
98276
98308
  {
98277
- "id": "himi_business_chat.outgoing_sender_$item.id",
98309
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
98278
98310
  "body": {
98279
98311
  "package": "himalaya",
98280
- "type": "Text",
98281
- "props": {
98282
- "text": "$item.senderName",
98283
- "style": "caption",
98284
- "color": "textOnAccent",
98285
- "collapseWhenEmpty": true,
98286
- "textDirection": "auto"
98287
- }
98288
- },
98289
- "modifiers": {}
98290
- },
98291
- {
98292
- "id": "himi_business_chat.outgoing_attachment_$item.id",
98293
- "body": {
98294
- "package": "himalaya",
98295
- "type": "Image",
98312
+ "type": "VStack",
98296
98313
  "props": {
98297
- "url": "$item.imageUrl",
98298
- "fillWidth": true,
98299
- "aspectRatio": 1.5,
98300
- "contentMode": "fit",
98301
- "contentDescription": "$item.imageDescription"
98314
+ "children": [
98315
+ {
98316
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
98317
+ "body": {
98318
+ "package": "himalaya",
98319
+ "type": "Image",
98320
+ "props": {
98321
+ "url": "$item.imageUrl",
98322
+ "fillWidth": true,
98323
+ "aspectRatio": 1.5,
98324
+ "contentMode": "fit",
98325
+ "contentDescription": "$item.imageDescription"
98326
+ }
98327
+ },
98328
+ "modifiers": {
98329
+ "fillMaxWidth": true,
98330
+ "cornerRadius": 12,
98331
+ "accessibilityLabel": "$item.imageDescription",
98332
+ "hiddenPath": "$item.noImage"
98333
+ }
98334
+ },
98335
+ {
98336
+ "id": "himi_business_chat.outgoing_text_$item.id",
98337
+ "body": {
98338
+ "package": "himalaya",
98339
+ "type": "Text",
98340
+ "props": {
98341
+ "text": "$item.bodyText",
98342
+ "style": "footnoteRegular",
98343
+ "color": "textPrimary",
98344
+ "collapseWhenEmpty": true,
98345
+ "textDirection": "auto",
98346
+ "maxLines": 1000
98347
+ }
98348
+ },
98349
+ "modifiers": {}
98350
+ }
98351
+ ],
98352
+ "spacing": 4,
98353
+ "alignment": "leading"
98302
98354
  }
98303
98355
  },
98304
98356
  "modifiers": {
98305
- "fillMaxWidth": true,
98357
+ "fillMaxWidth": false,
98358
+ "background": {
98359
+ "token": "accentSurface"
98360
+ },
98306
98361
  "cornerRadius": 12,
98307
- "accessibilityLabel": "$item.imageDescription",
98308
- "hiddenPath": "$item.noImage"
98362
+ "padding": {
98363
+ "leading": 16,
98364
+ "trailing": 16,
98365
+ "top": 16,
98366
+ "bottom": 16
98367
+ },
98368
+ "maxWidth": 300
98309
98369
  }
98310
98370
  },
98311
- {
98312
- "id": "himi_business_chat.outgoing_text_$item.id",
98313
- "body": {
98314
- "package": "himalaya",
98315
- "type": "Text",
98316
- "props": {
98317
- "text": "$item.bodyText",
98318
- "style": "caption",
98319
- "color": "textOnAccent",
98320
- "collapseWhenEmpty": true,
98321
- "textDirection": "auto",
98322
- "maxLines": 1000
98323
- }
98324
- },
98325
- "modifiers": {}
98326
- },
98327
98371
  {
98328
98372
  "id": "himi_business_chat.outgoing_time_$item.id",
98329
98373
  "body": {
@@ -98332,7 +98376,7 @@ const SCREENS = runtimeSetting({
98332
98376
  "props": {
98333
98377
  "text": "$item.when",
98334
98378
  "style": "caption",
98335
- "color": "textOnAccent",
98379
+ "color": "textTertiary",
98336
98380
  "collapseWhenEmpty": true,
98337
98381
  "textDirection": "auto"
98338
98382
  }
@@ -98340,27 +98384,16 @@ const SCREENS = runtimeSetting({
98340
98384
  "modifiers": {}
98341
98385
  }
98342
98386
  ],
98343
- "spacing": 5,
98344
- "alignment": "leading"
98387
+ "spacing": 4,
98388
+ "alignment": "trailing"
98345
98389
  }
98346
98390
  },
98347
98391
  "modifiers": {
98348
- "fillMaxWidth": true,
98349
- "background": {
98350
- "token": "accentPrimary"
98351
- },
98352
- "cornerRadius": 16,
98353
- "padding": {
98354
- "leading": 8,
98355
- "trailing": 8,
98356
- "top": 8,
98357
- "bottom": 8
98358
- },
98359
- "maxWidth": 300
98392
+ "fillMaxWidth": false
98360
98393
  }
98361
98394
  }
98362
98395
  ],
98363
- "spacing": 6,
98396
+ "spacing": 8,
98364
98397
  "alignment": "leading"
98365
98398
  }
98366
98399
  },
@@ -98370,15 +98403,15 @@ const SCREENS = runtimeSetting({
98370
98403
  }
98371
98404
  }
98372
98405
  ],
98373
- "spacing": 4,
98406
+ "spacing": 8,
98374
98407
  "alignment": "leading"
98375
98408
  }
98376
98409
  },
98377
98410
  "modifiers": {
98378
98411
  "fillMaxWidth": true,
98379
98412
  "padding": {
98380
- "leading": 8,
98381
- "trailing": 8,
98413
+ "leading": 20,
98414
+ "trailing": 20,
98382
98415
  "top": 4,
98383
98416
  "bottom": 4
98384
98417
  }
@@ -98389,6 +98422,142 @@ const SCREENS = runtimeSetting({
98389
98422
  }
98390
98423
  },
98391
98424
  "modifiers": {}
98425
+ },
98426
+ {
98427
+ "id": "himi_business_chat.states",
98428
+ "body": {
98429
+ "package": "himalaya",
98430
+ "type": "VStack",
98431
+ "props": {
98432
+ "children": [
98433
+ {
98434
+ "id": "himi_business_chat.states_top",
98435
+ "body": {
98436
+ "package": "himalaya",
98437
+ "type": "Spacer",
98438
+ "props": {}
98439
+ },
98440
+ "modifiers": {}
98441
+ },
98442
+ {
98443
+ "id": "himi_business_chat.error",
98444
+ "body": {
98445
+ "package": "himalaya",
98446
+ "type": "VStack",
98447
+ "props": {
98448
+ "children": [
98449
+ {
98450
+ "id": "himi_business_chat.error_group",
98451
+ "body": {
98452
+ "package": "himalaya",
98453
+ "type": "VStack",
98454
+ "props": {
98455
+ "children": [
98456
+ {
98457
+ "id": "himi_business_chat.load_error",
98458
+ "body": {
98459
+ "package": "himalaya",
98460
+ "type": "ErrorState",
98461
+ "props": {
98462
+ "variant": "server",
98463
+ "placement": "section",
98464
+ "title": "$t:chatThread.loadErrorTitle",
98465
+ "ctaLabel": "$t:common.retryCta",
98466
+ "cta": {
98467
+ "actionId": "tier5.businessChat.init"
98468
+ }
98469
+ }
98470
+ },
98471
+ "modifiers": {
98472
+ "hiddenPath": "$service:businessChat.isGuest"
98473
+ }
98474
+ }
98475
+ ],
98476
+ "spacing": 0,
98477
+ "alignment": "leading"
98478
+ }
98479
+ },
98480
+ "modifiers": {
98481
+ "fillMaxWidth": true,
98482
+ "hiddenPath": "$service:businessChat.hideLoadError"
98483
+ }
98484
+ }
98485
+ ],
98486
+ "spacing": 0,
98487
+ "alignment": "leading"
98488
+ }
98489
+ },
98490
+ "modifiers": {
98491
+ "fillMaxWidth": true
98492
+ }
98493
+ },
98494
+ {
98495
+ "id": "himi_business_chat.sign_in",
98496
+ "body": {
98497
+ "package": "himalaya",
98498
+ "type": "ErrorState",
98499
+ "props": {
98500
+ "variant": "signIn",
98501
+ "placement": "section",
98502
+ "title": "$t:businessChat.signInPrompt",
98503
+ "ctaLabel": "$t:account.signInCta",
98504
+ "cta": {
98505
+ "actionId": "himi.open",
98506
+ "params": {
98507
+ "screenId": "himi_sign_in",
98508
+ "mode": "signin",
98509
+ "returnScreenId": "himi_business_chat",
98510
+ "modal": "1",
98511
+ "sheetStyle": "page"
98512
+ },
98513
+ "presentation": "sheet"
98514
+ }
98515
+ }
98516
+ },
98517
+ "modifiers": {
98518
+ "hiddenPath": "$service:businessChat.notGuest"
98519
+ }
98520
+ },
98521
+ {
98522
+ "id": "himi_business_chat.empty",
98523
+ "body": {
98524
+ "package": "himalaya",
98525
+ "type": "EmptyState",
98526
+ "props": {
98527
+ "icon": "chat",
98528
+ "title": "$t:businessChat.emptyTitle",
98529
+ "subtitle": "$t:chatThread.emptySubtitle"
98530
+ }
98531
+ },
98532
+ "modifiers": {
98533
+ "padding": {
98534
+ "leading": 20,
98535
+ "trailing": 20,
98536
+ "top": 24,
98537
+ "bottom": 24
98538
+ },
98539
+ "hiddenPath": "$service:businessChat.noEmpty"
98540
+ }
98541
+ },
98542
+ {
98543
+ "id": "himi_business_chat.states_bottom",
98544
+ "body": {
98545
+ "package": "himalaya",
98546
+ "type": "Spacer",
98547
+ "props": {}
98548
+ },
98549
+ "modifiers": {}
98550
+ }
98551
+ ],
98552
+ "spacing": 0,
98553
+ "alignment": "center"
98554
+ }
98555
+ },
98556
+ "modifiers": {
98557
+ "fillMaxWidth": true,
98558
+ "weight": 1,
98559
+ "hiddenPath": "$service:businessChat.hasMessages"
98560
+ }
98392
98561
  }
98393
98562
  ],
98394
98563
  "spacing": 0,
@@ -98398,7 +98567,7 @@ const SCREENS = runtimeSetting({
98398
98567
  "modifiers": {
98399
98568
  "fillMaxWidth": true,
98400
98569
  "background": {
98401
- "token": "surfaceSecondary"
98570
+ "token": "surfacePrimary"
98402
98571
  },
98403
98572
  "onAppear": {
98404
98573
  "actionId": "tier5.businessChat.init",
@@ -98456,94 +98625,6 @@ const SCREENS = runtimeSetting({
98456
98625
  "minBinaryVersion": "0.1.0",
98457
98626
  "bundleVersion": "0.1.0"
98458
98627
  },
98459
- "stickyHeader": {
98460
- "id": "himi_business_chat.header",
98461
- "body": {
98462
- "package": "himalaya",
98463
- "type": "HStack",
98464
- "props": {
98465
- "children": [
98466
- {
98467
- "id": "himi_business_chat.header_title",
98468
- "body": {
98469
- "package": "himalaya",
98470
- "type": "Text",
98471
- "props": {
98472
- "text": "__HIMI_APP_NAME__",
98473
- "style": "title3",
98474
- "color": "textOnAccent",
98475
- "collapseWhenEmpty": true,
98476
- "textDirection": "auto",
98477
- "maxLines": 1
98478
- }
98479
- },
98480
- "modifiers": {
98481
- "hiddenPath": "$service:businessChat.hasHostedName"
98482
- }
98483
- },
98484
- {
98485
- "id": "himi_business_chat.header_title_hosted",
98486
- "body": {
98487
- "package": "himalaya",
98488
- "type": "Text",
98489
- "props": {
98490
- "text": "$service:businessChat.hostedName",
98491
- "style": "title3",
98492
- "color": "textOnAccent",
98493
- "collapseWhenEmpty": true,
98494
- "textDirection": "auto",
98495
- "maxLines": 1
98496
- }
98497
- },
98498
- "modifiers": {
98499
- "hiddenPath": "$service:businessChat.noHostedName"
98500
- }
98501
- },
98502
- {
98503
- "id": "himi_business_chat.header_spacer",
98504
- "body": {
98505
- "package": "himalaya",
98506
- "type": "Spacer",
98507
- "props": {}
98508
- },
98509
- "modifiers": {}
98510
- },
98511
- {
98512
- "id": "himi_business_chat.live_status",
98513
- "body": {
98514
- "package": "himalaya",
98515
- "type": "Text",
98516
- "props": {
98517
- "text": "$service:businessChat.liveLabel",
98518
- "style": "caption",
98519
- "color": "textOnAccent",
98520
- "collapseWhenEmpty": true,
98521
- "textDirection": "auto",
98522
- "maxLines": 1
98523
- }
98524
- },
98525
- "modifiers": {
98526
- "hiddenPath": "$service:businessChat.noActiveRoom"
98527
- }
98528
- }
98529
- ],
98530
- "spacing": 8,
98531
- "alignment": "leading"
98532
- }
98533
- },
98534
- "modifiers": {
98535
- "fillMaxWidth": true,
98536
- "background": {
98537
- "token": "accentPrimary"
98538
- },
98539
- "padding": {
98540
- "leading": 16,
98541
- "trailing": 16,
98542
- "top": 12,
98543
- "bottom": 12
98544
- }
98545
- }
98546
- },
98547
98628
  "stickyFooter": {
98548
98629
  "id": "himi_business_chat.footer",
98549
98630
  "body": {
@@ -98580,7 +98661,7 @@ const SCREENS = runtimeSetting({
98580
98661
  "type": "Text",
98581
98662
  "props": {
98582
98663
  "text": "$item.label",
98583
- "style": "caption",
98664
+ "style": "footnote",
98584
98665
  "color": "accentPrimary",
98585
98666
  "collapseWhenEmpty": true,
98586
98667
  "textDirection": "auto",
@@ -98596,12 +98677,12 @@ const SCREENS = runtimeSetting({
98596
98677
  },
98597
98678
  "modifiers": {
98598
98679
  "fillMaxWidth": false,
98599
- "cornerRadius": 12,
98680
+ "cornerRadius": 999,
98600
98681
  "padding": {
98601
- "leading": 10,
98602
- "trailing": 10,
98603
- "top": 5,
98604
- "bottom": 5
98682
+ "leading": 12,
98683
+ "trailing": 12,
98684
+ "top": 8,
98685
+ "bottom": 8
98605
98686
  },
98606
98687
  "background": {
98607
98688
  "token": "accentSurface"
@@ -98631,8 +98712,8 @@ const SCREENS = runtimeSetting({
98631
98712
  "type": "Text",
98632
98713
  "props": {
98633
98714
  "text": "$item.label",
98634
- "style": "caption",
98635
- "color": "textSecondary",
98715
+ "style": "footnote",
98716
+ "color": "textTertiary",
98636
98717
  "collapseWhenEmpty": true,
98637
98718
  "textDirection": "auto",
98638
98719
  "maxLines": 1
@@ -98647,12 +98728,12 @@ const SCREENS = runtimeSetting({
98647
98728
  },
98648
98729
  "modifiers": {
98649
98730
  "fillMaxWidth": false,
98650
- "cornerRadius": 12,
98731
+ "cornerRadius": 999,
98651
98732
  "padding": {
98652
- "leading": 10,
98653
- "trailing": 10,
98654
- "top": 5,
98655
- "bottom": 5
98733
+ "leading": 12,
98734
+ "trailing": 12,
98735
+ "top": 8,
98736
+ "bottom": 8
98656
98737
  },
98657
98738
  "background": {
98658
98739
  "token": "surfaceSecondary"
@@ -98676,7 +98757,116 @@ const SCREENS = runtimeSetting({
98676
98757
  },
98677
98758
  "modifiers": {
98678
98759
  "fillMaxWidth": true,
98679
- "hiddenPath": "$service:businessChat.noQuickReplies"
98760
+ "hiddenPath": "$service:businessChat.noQuickReplies",
98761
+ "padding": {
98762
+ "leading": 20,
98763
+ "trailing": 20,
98764
+ "top": 8,
98765
+ "bottom": 8
98766
+ }
98767
+ }
98768
+ },
98769
+ {
98770
+ "id": "himi_business_chat.divider",
98771
+ "body": {
98772
+ "package": "himalaya",
98773
+ "type": "Divider",
98774
+ "props": {}
98775
+ }
98776
+ },
98777
+ {
98778
+ "id": "himi_business_chat.live_status",
98779
+ "body": {
98780
+ "package": "himalaya",
98781
+ "type": "Text",
98782
+ "props": {
98783
+ "text": "$service:businessChat.liveLabel",
98784
+ "style": "caption",
98785
+ "color": "textSecondary",
98786
+ "collapseWhenEmpty": true,
98787
+ "textDirection": "auto",
98788
+ "maxLines": 3
98789
+ }
98790
+ },
98791
+ "modifiers": {
98792
+ "hiddenPath": "$service:businessChat.noLiveLabel",
98793
+ "padding": {
98794
+ "leading": 20,
98795
+ "trailing": 20,
98796
+ "top": 8
98797
+ }
98798
+ }
98799
+ },
98800
+ {
98801
+ "id": "himi_business_chat.notice",
98802
+ "body": {
98803
+ "package": "himalaya",
98804
+ "type": "Text",
98805
+ "props": {
98806
+ "text": "$service:businessChat.noticeText",
98807
+ "style": "caption",
98808
+ "color": "danger",
98809
+ "collapseWhenEmpty": true,
98810
+ "textDirection": "auto",
98811
+ "maxLines": 3
98812
+ }
98813
+ },
98814
+ "modifiers": {
98815
+ "hiddenPath": "$service:businessChat.noErrorNotice",
98816
+ "padding": {
98817
+ "leading": 20,
98818
+ "trailing": 20,
98819
+ "top": 8
98820
+ }
98821
+ }
98822
+ },
98823
+ {
98824
+ "id": "himi_business_chat.notice_info",
98825
+ "body": {
98826
+ "package": "himalaya",
98827
+ "type": "Text",
98828
+ "props": {
98829
+ "text": "$service:businessChat.noticeText",
98830
+ "style": "caption",
98831
+ "color": "textSecondary",
98832
+ "collapseWhenEmpty": true,
98833
+ "textDirection": "auto",
98834
+ "maxLines": 3
98835
+ }
98836
+ },
98837
+ "modifiers": {
98838
+ "hiddenPath": "$service:businessChat.noInfoNotice",
98839
+ "padding": {
98840
+ "leading": 20,
98841
+ "trailing": 20,
98842
+ "top": 8
98843
+ }
98844
+ }
98845
+ },
98846
+ {
98847
+ "id": "himi_business_chat.retry",
98848
+ "body": {
98849
+ "package": "himalaya",
98850
+ "type": "Text",
98851
+ "props": {
98852
+ "text": "$t:common.retryCta",
98853
+ "style": "footnote",
98854
+ "color": "accentPrimary",
98855
+ "collapseWhenEmpty": true,
98856
+ "textDirection": "auto"
98857
+ }
98858
+ },
98859
+ "modifiers": {
98860
+ "onTap": {
98861
+ "actionId": "tier5.businessChat.init"
98862
+ },
98863
+ "accessibilityRole": "button",
98864
+ "padding": {
98865
+ "leading": 20,
98866
+ "trailing": 20,
98867
+ "top": 4
98868
+ },
98869
+ "hiddenPath": "$service:businessChat.retryHidden"
98680
98870
  }
98681
98871
  },
98682
98872
  {
@@ -98687,72 +98877,37 @@ const SCREENS = runtimeSetting({
98687
98877
  "props": {
98688
98878
  "children": [
98689
98879
  {
98690
- "id": "himi_business_chat.draft_shell",
98880
+ "id": "himi_business_chat.draft",
98691
98881
  "body": {
98692
98882
  "package": "himalaya",
98693
- "type": "ZStack",
98883
+ "type": "TextField",
98694
98884
  "props": {
98695
- "alignment": "center",
98696
- "children": [
98697
- {
98698
- "id": "himi_business_chat.draft_outline",
98699
- "body": {
98700
- "package": "himalaya",
98701
- "type": "VStack",
98702
- "props": {
98703
- "children": [],
98704
- "spacing": 0,
98705
- "alignment": "leading"
98706
- }
98707
- },
98708
- "modifiers": {
98709
- "fillMaxWidth": true,
98710
- "height": 40,
98711
- "background": {
98712
- "token": "surfacePrimary"
98713
- },
98714
- "cornerRadius": 20,
98715
- "border": {
98716
- "width": 1,
98717
- "color": {
98718
- "token": "border"
98719
- }
98720
- }
98721
- }
98722
- },
98723
- {
98724
- "id": "himi_business_chat.draft",
98725
- "body": {
98726
- "package": "himalaya",
98727
- "type": "TextField",
98728
- "props": {
98729
- "valuePath": "$service:businessChat.draft",
98730
- "onChange": {
98731
- "actionId": "tier5.businessChat.setDraft"
98732
- },
98733
- "placeholder": "$t:chatThread.composerPlaceholder",
98734
- "maxLength": 4000,
98735
- "multilineMaxLines": 1,
98736
- "borderless": true
98737
- }
98738
- },
98739
- "modifiers": {
98740
- "fillMaxWidth": true,
98741
- "accessibilityLabel": "$t:chatThread.composerLabel",
98742
- "padding": {
98743
- "leading": 8,
98744
- "trailing": 8,
98745
- "top": 0,
98746
- "bottom": 0
98747
- }
98748
- }
98749
- }
98750
- ]
98885
+ "valuePath": "$service:businessChat.draft",
98886
+ "onChange": {
98887
+ "actionId": "tier5.businessChat.setDraft"
98888
+ },
98889
+ "onSubmit": {
98890
+ "actionId": "tier5.businessChat.send"
98891
+ },
98892
+ "submitLabel": "send",
98893
+ "placeholder": "$t:chatThread.composerPlaceholder",
98894
+ "maxLength": 4000,
98895
+ "multilineMaxLines": 1,
98896
+ "borderless": true
98751
98897
  }
98752
98898
  },
98753
98899
  "modifiers": {
98754
98900
  "weight": 1,
98755
- "fillMaxWidth": true
98901
+ "height": 44,
98902
+ "accessibilityLabel": "$t:chatThread.composerLabel",
98903
+ "background": {
98904
+ "token": "surfaceSecondary"
98905
+ },
98906
+ "cornerRadius": 999,
98907
+ "padding": {
98908
+ "leading": 16,
98909
+ "trailing": 8
98910
+ }
98756
98911
  }
98757
98912
  },
98758
98913
  {
@@ -98776,11 +98931,11 @@ const SCREENS = runtimeSetting({
98776
98931
  },
98777
98932
  "modifiers": {
98778
98933
  "accessibilityRole": "decorative",
98779
- "width": 40,
98780
- "height": 40,
98781
- "cornerRadius": 20,
98934
+ "width": 44,
98935
+ "height": 44,
98936
+ "cornerRadius": 999,
98782
98937
  "background": {
98783
- "token": "surfaceSecondary"
98938
+ "token": "surfaceTertiary"
98784
98939
  }
98785
98940
  }
98786
98941
  },
@@ -98797,9 +98952,9 @@ const SCREENS = runtimeSetting({
98797
98952
  },
98798
98953
  "modifiers": {
98799
98954
  "accessibilityRole": "button",
98800
- "width": 40,
98801
- "height": 40,
98802
- "cornerRadius": 20,
98955
+ "width": 44,
98956
+ "height": 44,
98957
+ "cornerRadius": 999,
98803
98958
  "background": {
98804
98959
  "token": "accentPrimary"
98805
98960
  },
@@ -98814,22 +98969,22 @@ const SCREENS = runtimeSetting({
98814
98969
  }
98815
98970
  },
98816
98971
  "modifiers": {
98817
- "width": 40,
98818
- "height": 40
98972
+ "width": 44,
98973
+ "height": 44
98819
98974
  }
98820
98975
  }
98821
98976
  ],
98822
- "spacing": 6,
98977
+ "spacing": 8,
98823
98978
  "alignment": "center"
98824
98979
  }
98825
98980
  },
98826
98981
  "modifiers": {
98827
98982
  "fillMaxWidth": true,
98828
98983
  "padding": {
98829
- "leading": 8,
98830
- "trailing": 8,
98831
- "top": 0,
98832
- "bottom": 0
98984
+ "leading": 20,
98985
+ "trailing": 20,
98986
+ "top": 8,
98987
+ "bottom": 8
98833
98988
  }
98834
98989
  }
98835
98990
  }
@@ -98843,12 +98998,6 @@ const SCREENS = runtimeSetting({
98843
98998
  "hiddenPath": "$service:businessChat.isGuest",
98844
98999
  "background": {
98845
99000
  "token": "surfacePrimary"
98846
- },
98847
- "padding": {
98848
- "leading": 0,
98849
- "trailing": 0,
98850
- "top": 4,
98851
- "bottom": 0
98852
99001
  }
98853
99002
  }
98854
99003
  },