@wix/himalaya-cli 0.1865.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 (393) 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 +55 -42
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/designing-himi-screens.md +1 -0
  11. package/guides/one-app-to-himi-app.md +1 -0
  12. package/package.json +2 -2
  13. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  14. package/templates/beauty-salon/dev/index.ts +122 -8
  15. package/templates/beauty-salon/l10n/ar.json +5 -0
  16. package/templates/beauty-salon/l10n/cs.json +5 -0
  17. package/templates/beauty-salon/l10n/da.json +5 -0
  18. package/templates/beauty-salon/l10n/de.json +5 -0
  19. package/templates/beauty-salon/l10n/el.json +5 -0
  20. package/templates/beauty-salon/l10n/en.json +1 -1
  21. package/templates/beauty-salon/l10n/es.json +5 -0
  22. package/templates/beauty-salon/l10n/fi.json +5 -0
  23. package/templates/beauty-salon/l10n/fr.json +5 -0
  24. package/templates/beauty-salon/l10n/he.json +4 -0
  25. package/templates/beauty-salon/l10n/hu.json +5 -0
  26. package/templates/beauty-salon/l10n/id.json +5 -0
  27. package/templates/beauty-salon/l10n/it.json +5 -0
  28. package/templates/beauty-salon/l10n/ja.json +5 -0
  29. package/templates/beauty-salon/l10n/ko.json +5 -0
  30. package/templates/beauty-salon/l10n/lt.json +5 -0
  31. package/templates/beauty-salon/l10n/nl.json +5 -0
  32. package/templates/beauty-salon/l10n/no.json +5 -0
  33. package/templates/beauty-salon/l10n/pl.json +5 -0
  34. package/templates/beauty-salon/l10n/pt.json +5 -0
  35. package/templates/beauty-salon/l10n/ru.json +5 -0
  36. package/templates/beauty-salon/l10n/sv.json +5 -0
  37. package/templates/beauty-salon/l10n/th.json +5 -0
  38. package/templates/beauty-salon/l10n/tr.json +5 -0
  39. package/templates/beauty-salon/l10n/uk.json +5 -0
  40. package/templates/beauty-salon/l10n/vi.json +5 -0
  41. package/templates/beauty-salon/l10n/zh.json +5 -0
  42. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  43. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  44. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  45. package/templates/branded-lite/dev/index.ts +732 -583
  46. package/templates/branded-lite/l10n/ar.json +5 -0
  47. package/templates/branded-lite/l10n/cs.json +5 -0
  48. package/templates/branded-lite/l10n/da.json +5 -0
  49. package/templates/branded-lite/l10n/de.json +5 -0
  50. package/templates/branded-lite/l10n/el.json +5 -0
  51. package/templates/branded-lite/l10n/en.json +2 -2
  52. package/templates/branded-lite/l10n/es.json +5 -0
  53. package/templates/branded-lite/l10n/fi.json +5 -0
  54. package/templates/branded-lite/l10n/fr.json +5 -0
  55. package/templates/branded-lite/l10n/he.json +4 -0
  56. package/templates/branded-lite/l10n/hu.json +5 -0
  57. package/templates/branded-lite/l10n/id.json +5 -0
  58. package/templates/branded-lite/l10n/it.json +5 -0
  59. package/templates/branded-lite/l10n/ja.json +5 -0
  60. package/templates/branded-lite/l10n/ko.json +5 -0
  61. package/templates/branded-lite/l10n/lt.json +5 -0
  62. package/templates/branded-lite/l10n/nl.json +5 -0
  63. package/templates/branded-lite/l10n/no.json +5 -0
  64. package/templates/branded-lite/l10n/pl.json +5 -0
  65. package/templates/branded-lite/l10n/pt.json +5 -0
  66. package/templates/branded-lite/l10n/ru.json +5 -0
  67. package/templates/branded-lite/l10n/sv.json +5 -0
  68. package/templates/branded-lite/l10n/th.json +5 -0
  69. package/templates/branded-lite/l10n/tr.json +5 -0
  70. package/templates/branded-lite/l10n/uk.json +5 -0
  71. package/templates/branded-lite/l10n/vi.json +5 -0
  72. package/templates/branded-lite/l10n/zh.json +5 -0
  73. package/templates/branded-lite/recipes/galleries-collage.json +379 -0
  74. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  75. package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +61 -13
  76. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  77. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  78. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  79. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  80. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  81. package/templates/community-club/dev/index.ts +122 -8
  82. package/templates/community-club/l10n/ar.json +10 -0
  83. package/templates/community-club/l10n/cs.json +10 -0
  84. package/templates/community-club/l10n/da.json +10 -0
  85. package/templates/community-club/l10n/de.json +10 -0
  86. package/templates/community-club/l10n/el.json +10 -0
  87. package/templates/community-club/l10n/en.json +1 -1
  88. package/templates/community-club/l10n/es.json +10 -0
  89. package/templates/community-club/l10n/fi.json +10 -0
  90. package/templates/community-club/l10n/fr.json +10 -0
  91. package/templates/community-club/l10n/he.json +8 -0
  92. package/templates/community-club/l10n/hu.json +10 -0
  93. package/templates/community-club/l10n/id.json +10 -0
  94. package/templates/community-club/l10n/it.json +10 -0
  95. package/templates/community-club/l10n/ja.json +10 -0
  96. package/templates/community-club/l10n/ko.json +10 -0
  97. package/templates/community-club/l10n/lt.json +10 -0
  98. package/templates/community-club/l10n/nl.json +10 -0
  99. package/templates/community-club/l10n/no.json +10 -0
  100. package/templates/community-club/l10n/pl.json +10 -0
  101. package/templates/community-club/l10n/pt.json +10 -0
  102. package/templates/community-club/l10n/ru.json +10 -0
  103. package/templates/community-club/l10n/sv.json +10 -0
  104. package/templates/community-club/l10n/th.json +10 -0
  105. package/templates/community-club/l10n/tr.json +10 -0
  106. package/templates/community-club/l10n/uk.json +10 -0
  107. package/templates/community-club/l10n/vi.json +10 -0
  108. package/templates/community-club/l10n/zh.json +10 -0
  109. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  110. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  111. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  112. package/templates/conference/dev/index.ts +744 -595
  113. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  114. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  115. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  116. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  117. package/templates/events-meetups/dev/index.ts +122 -8
  118. package/templates/events-meetups/l10n/ar.json +10 -0
  119. package/templates/events-meetups/l10n/cs.json +10 -0
  120. package/templates/events-meetups/l10n/da.json +10 -0
  121. package/templates/events-meetups/l10n/de.json +10 -0
  122. package/templates/events-meetups/l10n/el.json +10 -0
  123. package/templates/events-meetups/l10n/en.json +1 -1
  124. package/templates/events-meetups/l10n/es.json +10 -0
  125. package/templates/events-meetups/l10n/fi.json +10 -0
  126. package/templates/events-meetups/l10n/fr.json +10 -0
  127. package/templates/events-meetups/l10n/he.json +8 -0
  128. package/templates/events-meetups/l10n/hu.json +10 -0
  129. package/templates/events-meetups/l10n/id.json +10 -0
  130. package/templates/events-meetups/l10n/it.json +10 -0
  131. package/templates/events-meetups/l10n/ja.json +10 -0
  132. package/templates/events-meetups/l10n/ko.json +10 -0
  133. package/templates/events-meetups/l10n/lt.json +10 -0
  134. package/templates/events-meetups/l10n/nl.json +10 -0
  135. package/templates/events-meetups/l10n/no.json +10 -0
  136. package/templates/events-meetups/l10n/pl.json +10 -0
  137. package/templates/events-meetups/l10n/pt.json +10 -0
  138. package/templates/events-meetups/l10n/ru.json +10 -0
  139. package/templates/events-meetups/l10n/sv.json +10 -0
  140. package/templates/events-meetups/l10n/th.json +10 -0
  141. package/templates/events-meetups/l10n/tr.json +10 -0
  142. package/templates/events-meetups/l10n/uk.json +10 -0
  143. package/templates/events-meetups/l10n/vi.json +10 -0
  144. package/templates/events-meetups/l10n/zh.json +10 -0
  145. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  146. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  147. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  148. package/templates/fitness-gym/dev/index.ts +743 -507
  149. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  150. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  151. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  152. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  153. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  154. package/templates/gym-fitness/dev/index.ts +122 -8
  155. package/templates/gym-fitness/l10n/ar.json +5 -0
  156. package/templates/gym-fitness/l10n/cs.json +5 -0
  157. package/templates/gym-fitness/l10n/da.json +5 -0
  158. package/templates/gym-fitness/l10n/de.json +5 -0
  159. package/templates/gym-fitness/l10n/el.json +5 -0
  160. package/templates/gym-fitness/l10n/en.json +1 -1
  161. package/templates/gym-fitness/l10n/es.json +5 -0
  162. package/templates/gym-fitness/l10n/fi.json +5 -0
  163. package/templates/gym-fitness/l10n/fr.json +5 -0
  164. package/templates/gym-fitness/l10n/he.json +4 -0
  165. package/templates/gym-fitness/l10n/hu.json +5 -0
  166. package/templates/gym-fitness/l10n/id.json +5 -0
  167. package/templates/gym-fitness/l10n/it.json +5 -0
  168. package/templates/gym-fitness/l10n/ja.json +5 -0
  169. package/templates/gym-fitness/l10n/ko.json +5 -0
  170. package/templates/gym-fitness/l10n/lt.json +5 -0
  171. package/templates/gym-fitness/l10n/nl.json +5 -0
  172. package/templates/gym-fitness/l10n/no.json +5 -0
  173. package/templates/gym-fitness/l10n/pl.json +5 -0
  174. package/templates/gym-fitness/l10n/pt.json +5 -0
  175. package/templates/gym-fitness/l10n/ru.json +5 -0
  176. package/templates/gym-fitness/l10n/sv.json +5 -0
  177. package/templates/gym-fitness/l10n/th.json +5 -0
  178. package/templates/gym-fitness/l10n/tr.json +5 -0
  179. package/templates/gym-fitness/l10n/uk.json +5 -0
  180. package/templates/gym-fitness/l10n/vi.json +5 -0
  181. package/templates/gym-fitness/l10n/zh.json +5 -0
  182. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  183. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  184. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  185. package/templates/medical-services/dev/index.ts +747 -595
  186. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  187. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  188. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  189. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  190. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  191. package/templates/nonprofit-cause/dev/index.ts +122 -8
  192. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  193. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  194. package/templates/nonprofit-cause/l10n/da.json +10 -0
  195. package/templates/nonprofit-cause/l10n/de.json +10 -0
  196. package/templates/nonprofit-cause/l10n/el.json +10 -0
  197. package/templates/nonprofit-cause/l10n/en.json +1 -1
  198. package/templates/nonprofit-cause/l10n/es.json +10 -0
  199. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  200. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  201. package/templates/nonprofit-cause/l10n/he.json +8 -0
  202. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  203. package/templates/nonprofit-cause/l10n/id.json +10 -0
  204. package/templates/nonprofit-cause/l10n/it.json +10 -0
  205. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  206. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  207. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  208. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  209. package/templates/nonprofit-cause/l10n/no.json +10 -0
  210. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  211. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  212. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  213. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  214. package/templates/nonprofit-cause/l10n/th.json +10 -0
  215. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  216. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  217. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  218. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  219. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  220. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  221. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  222. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  223. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  224. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  225. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  226. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  227. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  228. package/templates/podcast-creator/dev/index.ts +122 -8
  229. package/templates/podcast-creator/l10n/ar.json +10 -0
  230. package/templates/podcast-creator/l10n/cs.json +10 -0
  231. package/templates/podcast-creator/l10n/da.json +10 -0
  232. package/templates/podcast-creator/l10n/de.json +10 -0
  233. package/templates/podcast-creator/l10n/el.json +10 -0
  234. package/templates/podcast-creator/l10n/en.json +1 -1
  235. package/templates/podcast-creator/l10n/es.json +10 -0
  236. package/templates/podcast-creator/l10n/fi.json +10 -0
  237. package/templates/podcast-creator/l10n/fr.json +10 -0
  238. package/templates/podcast-creator/l10n/he.json +8 -0
  239. package/templates/podcast-creator/l10n/hu.json +10 -0
  240. package/templates/podcast-creator/l10n/id.json +10 -0
  241. package/templates/podcast-creator/l10n/it.json +10 -0
  242. package/templates/podcast-creator/l10n/ja.json +10 -0
  243. package/templates/podcast-creator/l10n/ko.json +10 -0
  244. package/templates/podcast-creator/l10n/lt.json +10 -0
  245. package/templates/podcast-creator/l10n/nl.json +10 -0
  246. package/templates/podcast-creator/l10n/no.json +10 -0
  247. package/templates/podcast-creator/l10n/pl.json +10 -0
  248. package/templates/podcast-creator/l10n/pt.json +10 -0
  249. package/templates/podcast-creator/l10n/ru.json +10 -0
  250. package/templates/podcast-creator/l10n/sv.json +10 -0
  251. package/templates/podcast-creator/l10n/th.json +10 -0
  252. package/templates/podcast-creator/l10n/tr.json +10 -0
  253. package/templates/podcast-creator/l10n/uk.json +10 -0
  254. package/templates/podcast-creator/l10n/vi.json +10 -0
  255. package/templates/podcast-creator/l10n/zh.json +10 -0
  256. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  257. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  258. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  259. package/templates/portfolio-creative/dev/index.ts +122 -8
  260. package/templates/portfolio-creative/l10n/ar.json +10 -0
  261. package/templates/portfolio-creative/l10n/cs.json +10 -0
  262. package/templates/portfolio-creative/l10n/da.json +10 -0
  263. package/templates/portfolio-creative/l10n/de.json +10 -0
  264. package/templates/portfolio-creative/l10n/el.json +10 -0
  265. package/templates/portfolio-creative/l10n/en.json +1 -1
  266. package/templates/portfolio-creative/l10n/es.json +10 -0
  267. package/templates/portfolio-creative/l10n/fi.json +10 -0
  268. package/templates/portfolio-creative/l10n/fr.json +10 -0
  269. package/templates/portfolio-creative/l10n/he.json +8 -0
  270. package/templates/portfolio-creative/l10n/hu.json +10 -0
  271. package/templates/portfolio-creative/l10n/id.json +10 -0
  272. package/templates/portfolio-creative/l10n/it.json +10 -0
  273. package/templates/portfolio-creative/l10n/ja.json +10 -0
  274. package/templates/portfolio-creative/l10n/ko.json +10 -0
  275. package/templates/portfolio-creative/l10n/lt.json +10 -0
  276. package/templates/portfolio-creative/l10n/nl.json +10 -0
  277. package/templates/portfolio-creative/l10n/no.json +10 -0
  278. package/templates/portfolio-creative/l10n/pl.json +10 -0
  279. package/templates/portfolio-creative/l10n/pt.json +10 -0
  280. package/templates/portfolio-creative/l10n/ru.json +10 -0
  281. package/templates/portfolio-creative/l10n/sv.json +10 -0
  282. package/templates/portfolio-creative/l10n/th.json +10 -0
  283. package/templates/portfolio-creative/l10n/tr.json +10 -0
  284. package/templates/portfolio-creative/l10n/uk.json +10 -0
  285. package/templates/portfolio-creative/l10n/vi.json +10 -0
  286. package/templates/portfolio-creative/l10n/zh.json +10 -0
  287. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  288. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  289. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  290. package/templates/restaurant/dev/index.ts +122 -8
  291. package/templates/restaurant/l10n/ar.json +10 -0
  292. package/templates/restaurant/l10n/cs.json +10 -0
  293. package/templates/restaurant/l10n/da.json +10 -0
  294. package/templates/restaurant/l10n/de.json +10 -0
  295. package/templates/restaurant/l10n/el.json +10 -0
  296. package/templates/restaurant/l10n/en.json +1 -1
  297. package/templates/restaurant/l10n/es.json +10 -0
  298. package/templates/restaurant/l10n/fi.json +10 -0
  299. package/templates/restaurant/l10n/fr.json +10 -0
  300. package/templates/restaurant/l10n/he.json +8 -0
  301. package/templates/restaurant/l10n/hu.json +10 -0
  302. package/templates/restaurant/l10n/id.json +10 -0
  303. package/templates/restaurant/l10n/it.json +10 -0
  304. package/templates/restaurant/l10n/ja.json +10 -0
  305. package/templates/restaurant/l10n/ko.json +10 -0
  306. package/templates/restaurant/l10n/lt.json +10 -0
  307. package/templates/restaurant/l10n/nl.json +10 -0
  308. package/templates/restaurant/l10n/no.json +10 -0
  309. package/templates/restaurant/l10n/pl.json +10 -0
  310. package/templates/restaurant/l10n/pt.json +10 -0
  311. package/templates/restaurant/l10n/ru.json +10 -0
  312. package/templates/restaurant/l10n/sv.json +10 -0
  313. package/templates/restaurant/l10n/th.json +10 -0
  314. package/templates/restaurant/l10n/tr.json +10 -0
  315. package/templates/restaurant/l10n/uk.json +10 -0
  316. package/templates/restaurant/l10n/vi.json +10 -0
  317. package/templates/restaurant/l10n/zh.json +10 -0
  318. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  319. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  320. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  321. package/templates/retail-store/dev/index.ts +122 -8
  322. package/templates/retail-store/l10n/ar.json +10 -0
  323. package/templates/retail-store/l10n/cs.json +10 -0
  324. package/templates/retail-store/l10n/da.json +10 -0
  325. package/templates/retail-store/l10n/de.json +10 -0
  326. package/templates/retail-store/l10n/el.json +10 -0
  327. package/templates/retail-store/l10n/en.json +1 -1
  328. package/templates/retail-store/l10n/es.json +10 -0
  329. package/templates/retail-store/l10n/fi.json +10 -0
  330. package/templates/retail-store/l10n/fr.json +10 -0
  331. package/templates/retail-store/l10n/he.json +8 -0
  332. package/templates/retail-store/l10n/hu.json +10 -0
  333. package/templates/retail-store/l10n/id.json +10 -0
  334. package/templates/retail-store/l10n/it.json +10 -0
  335. package/templates/retail-store/l10n/ja.json +10 -0
  336. package/templates/retail-store/l10n/ko.json +10 -0
  337. package/templates/retail-store/l10n/lt.json +10 -0
  338. package/templates/retail-store/l10n/nl.json +10 -0
  339. package/templates/retail-store/l10n/no.json +10 -0
  340. package/templates/retail-store/l10n/pl.json +10 -0
  341. package/templates/retail-store/l10n/pt.json +10 -0
  342. package/templates/retail-store/l10n/ru.json +10 -0
  343. package/templates/retail-store/l10n/sv.json +10 -0
  344. package/templates/retail-store/l10n/th.json +10 -0
  345. package/templates/retail-store/l10n/tr.json +10 -0
  346. package/templates/retail-store/l10n/uk.json +10 -0
  347. package/templates/retail-store/l10n/vi.json +10 -0
  348. package/templates/retail-store/l10n/zh.json +10 -0
  349. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  350. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  351. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  352. package/templates/salon-spa/dev/index.ts +744 -595
  353. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  354. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  355. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  356. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  357. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  358. package/templates/wholesale-store/dev/index.ts +751 -602
  359. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  360. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  361. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  362. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  363. package/templates/yoga-studio/dev/index.ts +122 -8
  364. package/templates/yoga-studio/l10n/ar.json +5 -0
  365. package/templates/yoga-studio/l10n/cs.json +5 -0
  366. package/templates/yoga-studio/l10n/da.json +5 -0
  367. package/templates/yoga-studio/l10n/de.json +5 -0
  368. package/templates/yoga-studio/l10n/el.json +5 -0
  369. package/templates/yoga-studio/l10n/en.json +1 -1
  370. package/templates/yoga-studio/l10n/es.json +5 -0
  371. package/templates/yoga-studio/l10n/fi.json +5 -0
  372. package/templates/yoga-studio/l10n/fr.json +5 -0
  373. package/templates/yoga-studio/l10n/he.json +4 -0
  374. package/templates/yoga-studio/l10n/hu.json +5 -0
  375. package/templates/yoga-studio/l10n/id.json +5 -0
  376. package/templates/yoga-studio/l10n/it.json +5 -0
  377. package/templates/yoga-studio/l10n/ja.json +5 -0
  378. package/templates/yoga-studio/l10n/ko.json +5 -0
  379. package/templates/yoga-studio/l10n/lt.json +5 -0
  380. package/templates/yoga-studio/l10n/nl.json +5 -0
  381. package/templates/yoga-studio/l10n/no.json +5 -0
  382. package/templates/yoga-studio/l10n/pl.json +5 -0
  383. package/templates/yoga-studio/l10n/pt.json +5 -0
  384. package/templates/yoga-studio/l10n/ru.json +5 -0
  385. package/templates/yoga-studio/l10n/sv.json +5 -0
  386. package/templates/yoga-studio/l10n/th.json +5 -0
  387. package/templates/yoga-studio/l10n/tr.json +5 -0
  388. package/templates/yoga-studio/l10n/uk.json +5 -0
  389. package/templates/yoga-studio/l10n/vi.json +5 -0
  390. package/templates/yoga-studio/l10n/zh.json +5 -0
  391. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  392. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  393. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -6522,6 +6522,67 @@ const SCREENS = runtimeSetting({
6522
6522
  "spacing": 12,
6523
6523
  "alignment": "leading",
6524
6524
  "children": [
6525
+ {
6526
+ "id": "himi_sign_in.loading",
6527
+ "body": {
6528
+ "package": "himalaya",
6529
+ "type": "VStack",
6530
+ "props": {
6531
+ "spacing": 12,
6532
+ "alignment": "leading",
6533
+ "children": [
6534
+ {
6535
+ "id": "",
6536
+ "body": {
6537
+ "package": "himalaya",
6538
+ "type": "Skeleton",
6539
+ "props": {
6540
+ "width": 160,
6541
+ "height": 28,
6542
+ "cornerRadius": 6
6543
+ }
6544
+ }
6545
+ },
6546
+ {
6547
+ "id": "",
6548
+ "body": {
6549
+ "package": "himalaya",
6550
+ "type": "Skeleton",
6551
+ "props": {
6552
+ "height": 52,
6553
+ "cornerRadius": 8
6554
+ }
6555
+ }
6556
+ },
6557
+ {
6558
+ "id": "",
6559
+ "body": {
6560
+ "package": "himalaya",
6561
+ "type": "Skeleton",
6562
+ "props": {
6563
+ "height": 52,
6564
+ "cornerRadius": 8
6565
+ }
6566
+ }
6567
+ },
6568
+ {
6569
+ "id": "",
6570
+ "body": {
6571
+ "package": "himalaya",
6572
+ "type": "Skeleton",
6573
+ "props": {
6574
+ "height": 48,
6575
+ "cornerRadius": 24
6576
+ }
6577
+ }
6578
+ }
6579
+ ]
6580
+ }
6581
+ },
6582
+ "modifiers": {
6583
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
6584
+ }
6585
+ },
6525
6586
  {
6526
6587
  "id": "",
6527
6588
  "body": {
@@ -6621,7 +6682,6 @@ const SCREENS = runtimeSetting({
6621
6682
  "placeholder": "Email",
6622
6683
  "keyboard": "email",
6623
6684
  "validation": {
6624
- "required": true,
6625
6685
  "type": "email",
6626
6686
  "mode": "on_blur"
6627
6687
  },
@@ -6669,26 +6729,27 @@ const SCREENS = runtimeSetting({
6669
6729
  }
6670
6730
  },
6671
6731
  {
6672
- "id": "",
6732
+ "id": "himi_sign_in.message",
6673
6733
  "body": {
6674
6734
  "package": "himalaya",
6675
6735
  "type": "Text",
6676
6736
  "props": {
6677
- "text": "$service:himiStoreAccount.busyMessage",
6737
+ "text": "$service:himiStoreAccount.errorMessage",
6678
6738
  "style": "footnote",
6739
+ "color": "danger",
6679
6740
  "collapseWhenEmpty": true
6680
6741
  }
6681
6742
  }
6682
6743
  },
6683
6744
  {
6684
- "id": "himi_sign_in.message",
6745
+ "id": "himi_sign_in.notice",
6685
6746
  "body": {
6686
6747
  "package": "himalaya",
6687
6748
  "type": "Text",
6688
6749
  "props": {
6689
- "text": "$service:himiStoreAccount.message",
6750
+ "text": "$service:himiStoreAccount.noticeMessage",
6690
6751
  "style": "footnote",
6691
- "color": "textPrimary",
6752
+ "color": "success",
6692
6753
  "collapseWhenEmpty": true
6693
6754
  }
6694
6755
  }
@@ -6830,7 +6891,60 @@ const SCREENS = runtimeSetting({
6830
6891
  }
6831
6892
  },
6832
6893
  "modifiers": {
6833
- "hiddenPath": "$service:himiStoreAccount.isMember"
6894
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
6895
+ }
6896
+ },
6897
+ {
6898
+ "id": "",
6899
+ "body": {
6900
+ "package": "himalaya",
6901
+ "type": "VStack",
6902
+ "props": {
6903
+ "spacing": 12,
6904
+ "alignment": "leading",
6905
+ "children": [
6906
+ {
6907
+ "id": "himi_sign_in.pending_title",
6908
+ "body": {
6909
+ "package": "himalaya",
6910
+ "type": "Text",
6911
+ "props": {
6912
+ "text": "$service:himiStoreAccount.pendingTitle",
6913
+ "style": "title1"
6914
+ }
6915
+ }
6916
+ },
6917
+ {
6918
+ "id": "himi_sign_in.pending_body",
6919
+ "body": {
6920
+ "package": "himalaya",
6921
+ "type": "Text",
6922
+ "props": {
6923
+ "text": "$service:himiStoreAccount.pendingBody",
6924
+ "style": "body"
6925
+ }
6926
+ }
6927
+ },
6928
+ {
6929
+ "id": "himi_sign_in.pending_back",
6930
+ "body": {
6931
+ "package": "himalaya",
6932
+ "type": "Button",
6933
+ "props": {
6934
+ "title": "Back to Sign In",
6935
+ "style": "secondary",
6936
+ "fullWidth": true,
6937
+ "action": {
6938
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
6939
+ }
6940
+ }
6941
+ }
6942
+ }
6943
+ ]
6944
+ }
6945
+ },
6946
+ "modifiers": {
6947
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
6834
6948
  }
6835
6949
  },
6836
6950
  {
@@ -6872,7 +6986,7 @@ const SCREENS = runtimeSetting({
6872
6986
  }
6873
6987
  },
6874
6988
  "modifiers": {
6875
- "hiddenPath": "$service:himiStoreAccount.notMember"
6989
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
6876
6990
  }
6877
6991
  }
6878
6992
  ]
@@ -8566,6 +8680,10 @@ const SCREENS = runtimeSetting({
8566
8680
  "screenId": "himi_business_chat",
8567
8681
  "renderer": "sdui_intent",
8568
8682
  "title": "Bulk quotes & help",
8683
+ "topBar": {
8684
+ "subtitle": "Selcore",
8685
+ "subtitlePath": "$service:businessChat.businessName"
8686
+ },
8569
8687
  "schemaVersion": 1,
8570
8688
  "cacheControl": {
8571
8689
  "maxAge": 0,
@@ -8586,192 +8704,187 @@ const SCREENS = runtimeSetting({
8586
8704
  "props": {
8587
8705
  "children": [
8588
8706
  {
8589
- "id": "himi_business_chat.loading_text",
8707
+ "id": "himi_business_chat.skeleton_1",
8590
8708
  "body": {
8591
8709
  "package": "himalaya",
8592
- "type": "Text",
8710
+ "type": "HStack",
8593
8711
  "props": {
8594
- "text": "Loading your conversation…",
8595
- "style": "body",
8596
- "color": "textSecondary",
8597
- "collapseWhenEmpty": true,
8598
- "textDirection": "auto"
8712
+ "children": [
8713
+ {
8714
+ "id": "himi_business_chat.skeleton_1.avatar",
8715
+ "body": {
8716
+ "package": "himalaya",
8717
+ "type": "Skeleton",
8718
+ "props": {
8719
+ "width": 32,
8720
+ "height": 32,
8721
+ "cornerRadius": 999
8722
+ }
8723
+ },
8724
+ "modifiers": {}
8725
+ },
8726
+ {
8727
+ "id": "himi_business_chat.skeleton_1.bubble",
8728
+ "body": {
8729
+ "package": "himalaya",
8730
+ "type": "Skeleton",
8731
+ "props": {
8732
+ "width": 220,
8733
+ "height": 52,
8734
+ "cornerRadius": 12
8735
+ }
8736
+ },
8737
+ "modifiers": {}
8738
+ },
8739
+ {
8740
+ "id": "himi_business_chat.skeleton_1.spacer",
8741
+ "body": {
8742
+ "package": "himalaya",
8743
+ "type": "Spacer",
8744
+ "props": {}
8745
+ },
8746
+ "modifiers": {}
8747
+ }
8748
+ ],
8749
+ "spacing": 8,
8750
+ "alignment": "leading"
8599
8751
  }
8600
8752
  },
8601
- "modifiers": {}
8753
+ "modifiers": {
8754
+ "fillMaxWidth": true,
8755
+ "padding": {
8756
+ "leading": 20,
8757
+ "trailing": 20,
8758
+ "top": 4,
8759
+ "bottom": 4
8760
+ }
8761
+ }
8602
8762
  },
8603
8763
  {
8604
- "id": "himi_business_chat.loading_row_1",
8764
+ "id": "himi_business_chat.skeleton_2",
8605
8765
  "body": {
8606
8766
  "package": "himalaya",
8607
- "type": "Skeleton",
8767
+ "type": "HStack",
8608
8768
  "props": {
8609
- "height": 62,
8610
- "cornerRadius": 16
8769
+ "children": [
8770
+ {
8771
+ "id": "himi_business_chat.skeleton_2.spacer",
8772
+ "body": {
8773
+ "package": "himalaya",
8774
+ "type": "Spacer",
8775
+ "props": {}
8776
+ },
8777
+ "modifiers": {}
8778
+ },
8779
+ {
8780
+ "id": "himi_business_chat.skeleton_2.bubble",
8781
+ "body": {
8782
+ "package": "himalaya",
8783
+ "type": "Skeleton",
8784
+ "props": {
8785
+ "width": 180,
8786
+ "height": 52,
8787
+ "cornerRadius": 12
8788
+ }
8789
+ },
8790
+ "modifiers": {}
8791
+ }
8792
+ ],
8793
+ "spacing": 8,
8794
+ "alignment": "leading"
8611
8795
  }
8612
8796
  },
8613
- "modifiers": {}
8797
+ "modifiers": {
8798
+ "fillMaxWidth": true,
8799
+ "padding": {
8800
+ "leading": 20,
8801
+ "trailing": 20,
8802
+ "top": 4,
8803
+ "bottom": 4
8804
+ }
8805
+ }
8614
8806
  },
8615
8807
  {
8616
- "id": "himi_business_chat.loading_row_2",
8808
+ "id": "himi_business_chat.skeleton_3",
8617
8809
  "body": {
8618
8810
  "package": "himalaya",
8619
- "type": "Skeleton",
8811
+ "type": "HStack",
8620
8812
  "props": {
8621
- "height": 84,
8622
- "cornerRadius": 16
8813
+ "children": [
8814
+ {
8815
+ "id": "himi_business_chat.skeleton_3.avatar",
8816
+ "body": {
8817
+ "package": "himalaya",
8818
+ "type": "Skeleton",
8819
+ "props": {
8820
+ "width": 32,
8821
+ "height": 32,
8822
+ "cornerRadius": 999
8823
+ }
8824
+ },
8825
+ "modifiers": {}
8826
+ },
8827
+ {
8828
+ "id": "himi_business_chat.skeleton_3.bubble",
8829
+ "body": {
8830
+ "package": "himalaya",
8831
+ "type": "Skeleton",
8832
+ "props": {
8833
+ "width": 230,
8834
+ "height": 52,
8835
+ "cornerRadius": 12
8836
+ }
8837
+ },
8838
+ "modifiers": {}
8839
+ },
8840
+ {
8841
+ "id": "himi_business_chat.skeleton_3.spacer",
8842
+ "body": {
8843
+ "package": "himalaya",
8844
+ "type": "Spacer",
8845
+ "props": {}
8846
+ },
8847
+ "modifiers": {}
8848
+ }
8849
+ ],
8850
+ "spacing": 8,
8851
+ "alignment": "leading"
8623
8852
  }
8624
8853
  },
8625
- "modifiers": {}
8854
+ "modifiers": {
8855
+ "fillMaxWidth": true,
8856
+ "padding": {
8857
+ "leading": 20,
8858
+ "trailing": 20,
8859
+ "top": 4,
8860
+ "bottom": 4
8861
+ }
8862
+ }
8626
8863
  }
8627
8864
  ],
8628
- "spacing": 12,
8865
+ "spacing": 0,
8629
8866
  "alignment": "leading"
8630
8867
  }
8631
8868
  },
8632
8869
  "modifiers": {
8633
8870
  "fillMaxWidth": true,
8634
- "padding": {
8635
- "leading": 16,
8636
- "trailing": 16,
8637
- "top": 20,
8638
- "bottom": 8
8639
- },
8871
+ "accessibilityLabel": "Loading your conversation…",
8640
8872
  "hiddenPath": "$service:businessChat.loadingHidden"
8641
8873
  }
8642
8874
  },
8643
8875
  {
8644
- "id": "himi_business_chat.error",
8876
+ "id": "himi_business_chat.messages",
8645
8877
  "body": {
8646
8878
  "package": "himalaya",
8647
- "type": "VStack",
8879
+ "type": "LazyList",
8648
8880
  "props": {
8649
- "children": [
8650
- {
8651
- "id": "himi_business_chat.error_text",
8652
- "body": {
8653
- "package": "himalaya",
8654
- "type": "Text",
8655
- "props": {
8656
- "text": "$service:businessChat.errorText",
8657
- "style": "body",
8658
- "color": "danger",
8659
- "collapseWhenEmpty": true,
8660
- "textDirection": "auto"
8661
- }
8662
- },
8663
- "modifiers": {}
8664
- },
8665
- {
8666
- "id": "himi_business_chat.load_failure",
8667
- "body": {
8668
- "package": "himalaya",
8669
- "type": "Text",
8670
- "props": {
8671
- "text": "$service:businessChat.loadFailure",
8672
- "style": "caption",
8673
- "color": "textSecondary",
8674
- "collapseWhenEmpty": true,
8675
- "textDirection": "auto"
8676
- }
8677
- },
8678
- "modifiers": {}
8679
- },
8881
+ "itemsPath": "$service:businessChat.messages",
8882
+ "items": [
8680
8883
  {
8681
- "id": "himi_business_chat.sign_in",
8884
+ "id": "himi_business_chat.message_$item.id",
8682
8885
  "body": {
8683
8886
  "package": "himalaya",
8684
- "type": "Button",
8685
- "props": {
8686
- "title": "Sign In",
8687
- "leadingIcon": "person",
8688
- "style": "primary",
8689
- "size": "md",
8690
- "fullWidth": false,
8691
- "action": {
8692
- "actionId": "himi.open",
8693
- "params": {
8694
- "screenId": "himi_sign_in",
8695
- "mode": "signin",
8696
- "modal": "1"
8697
- },
8698
- "presentation": "sheet"
8699
- }
8700
- }
8701
- },
8702
- "modifiers": {
8703
- "hiddenPath": "$service:businessChat.notGuest"
8704
- }
8705
- },
8706
- {
8707
- "id": "himi_business_chat.retry",
8708
- "body": {
8709
- "package": "himalaya",
8710
- "type": "Button",
8711
- "props": {
8712
- "title": "Try Again",
8713
- "action": {
8714
- "actionId": "tier5.businessChat.init"
8715
- },
8716
- "style": "secondary",
8717
- "size": "md",
8718
- "fullWidth": false
8719
- }
8720
- },
8721
- "modifiers": {
8722
- "hiddenPath": "$service:businessChat.isGuest"
8723
- }
8724
- }
8725
- ],
8726
- "spacing": 8,
8727
- "alignment": "leading"
8728
- }
8729
- },
8730
- "modifiers": {
8731
- "fillMaxWidth": true,
8732
- "padding": {
8733
- "leading": 16,
8734
- "trailing": 16,
8735
- "top": 12,
8736
- "bottom": 8
8737
- },
8738
- "hiddenPath": "$service:businessChat.noError"
8739
- }
8740
- },
8741
- {
8742
- "id": "himi_business_chat.empty",
8743
- "body": {
8744
- "package": "himalaya",
8745
- "type": "EmptyState",
8746
- "props": {
8747
- "title": "Message the store",
8748
- "subtitle": "Ask for a bulk quote, stock levels or delivery times.",
8749
- "icon": "chat"
8750
- }
8751
- },
8752
- "modifiers": {
8753
- "padding": {
8754
- "leading": 16,
8755
- "trailing": 16,
8756
- "top": 24,
8757
- "bottom": 24
8758
- },
8759
- "hiddenPath": "$service:businessChat.noEmpty"
8760
- }
8761
- },
8762
- {
8763
- "id": "himi_business_chat.messages",
8764
- "body": {
8765
- "package": "himalaya",
8766
- "type": "LazyList",
8767
- "props": {
8768
- "itemsPath": "$service:businessChat.messages",
8769
- "items": [
8770
- {
8771
- "id": "himi_business_chat.message_$item.id",
8772
- "body": {
8773
- "package": "himalaya",
8774
- "type": "VStack",
8887
+ "type": "VStack",
8775
8888
  "props": {
8776
8889
  "children": [
8777
8890
  {
@@ -8798,7 +8911,7 @@ const SCREENS = runtimeSetting({
8798
8911
  "props": {
8799
8912
  "text": "$item.dayLabel",
8800
8913
  "style": "caption",
8801
- "color": "textSecondary",
8914
+ "color": "textTertiary",
8802
8915
  "collapseWhenEmpty": true,
8803
8916
  "textDirection": "auto"
8804
8917
  }
@@ -8822,10 +8935,8 @@ const SCREENS = runtimeSetting({
8822
8935
  "modifiers": {
8823
8936
  "fillMaxWidth": true,
8824
8937
  "padding": {
8825
- "leading": 12,
8826
- "trailing": 12,
8827
- "top": 12,
8828
- "bottom": 4
8938
+ "top": 8,
8939
+ "bottom": 8
8829
8940
  },
8830
8941
  "hiddenPath": "$item.dayHidden"
8831
8942
  }
@@ -8838,21 +8949,36 @@ const SCREENS = runtimeSetting({
8838
8949
  "props": {
8839
8950
  "children": [
8840
8951
  {
8841
- "id": "himi_business_chat.avatar_$item.id",
8952
+ "id": "himi_business_chat.avatar_slot_$item.id",
8842
8953
  "body": {
8843
8954
  "package": "himalaya",
8844
- "type": "Image",
8955
+ "type": "VStack",
8845
8956
  "props": {
8846
- "initials": "$service:businessChat.businessInitials",
8847
- "width": 30,
8848
- "height": 30,
8849
- "contentMode": "fill",
8850
- "shape": "circle",
8851
- "contentDescription": "$service:businessChat.businessName"
8957
+ "children": [
8958
+ {
8959
+ "id": "himi_business_chat.avatar_$item.id",
8960
+ "body": {
8961
+ "package": "himalaya",
8962
+ "type": "Avatar",
8963
+ "props": {
8964
+ "imageUrl": "",
8965
+ "initials": "$service:businessChat.businessInitials",
8966
+ "size": 32
8967
+ }
8968
+ },
8969
+ "modifiers": {
8970
+ "accessibilityLabel": "$service:businessChat.businessName",
8971
+ "hiddenPath": "$item.hideAvatar"
8972
+ }
8973
+ }
8974
+ ],
8975
+ "spacing": 0,
8976
+ "alignment": "leading"
8852
8977
  }
8853
8978
  },
8854
8979
  "modifiers": {
8855
- "accessibilityLabel": "$service:businessChat.businessName"
8980
+ "fillMaxWidth": false,
8981
+ "width": 32
8856
8982
  }
8857
8983
  },
8858
8984
  {
@@ -8869,42 +8995,6 @@ const SCREENS = runtimeSetting({
8869
8995
  "type": "VStack",
8870
8996
  "props": {
8871
8997
  "children": [
8872
- {
8873
- "id": "himi_business_chat.incoming_sender_$item.id",
8874
- "body": {
8875
- "package": "himalaya",
8876
- "type": "Text",
8877
- "props": {
8878
- "text": "Selcore",
8879
- "style": "caption",
8880
- "color": "accentPrimary",
8881
- "collapseWhenEmpty": true,
8882
- "textDirection": "auto",
8883
- "maxLines": 1
8884
- }
8885
- },
8886
- "modifiers": {
8887
- "hiddenPath": "$service:businessChat.hasHostedName"
8888
- }
8889
- },
8890
- {
8891
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
8892
- "body": {
8893
- "package": "himalaya",
8894
- "type": "Text",
8895
- "props": {
8896
- "text": "$service:businessChat.hostedName",
8897
- "style": "caption",
8898
- "color": "accentPrimary",
8899
- "collapseWhenEmpty": true,
8900
- "textDirection": "auto",
8901
- "maxLines": 1
8902
- }
8903
- },
8904
- "modifiers": {
8905
- "hiddenPath": "$service:businessChat.noHostedName"
8906
- }
8907
- },
8908
8998
  {
8909
8999
  "id": "himi_business_chat.staff_badge_$item.id",
8910
9000
  "body": {
@@ -8914,6 +9004,7 @@ const SCREENS = runtimeSetting({
8914
9004
  "text": "$item.senderBadge",
8915
9005
  "style": "caption",
8916
9006
  "color": "accentPrimary",
9007
+ "maxLines": 1,
8917
9008
  "collapseWhenEmpty": true
8918
9009
  }
8919
9010
  },
@@ -8921,12 +9012,12 @@ const SCREENS = runtimeSetting({
8921
9012
  "background": {
8922
9013
  "token": "accentSurface"
8923
9014
  },
8924
- "cornerRadius": 12,
9015
+ "cornerRadius": 8,
8925
9016
  "padding": {
8926
- "leading": 10,
8927
- "trailing": 10,
8928
- "top": 3,
8929
- "bottom": 3
9017
+ "leading": 8,
9018
+ "trailing": 8,
9019
+ "top": 4,
9020
+ "bottom": 4
8930
9021
  }
8931
9022
  }
8932
9023
  },
@@ -8957,7 +9048,7 @@ const SCREENS = runtimeSetting({
8957
9048
  "type": "Text",
8958
9049
  "props": {
8959
9050
  "text": "$item.bodyMarkdown",
8960
- "style": "caption",
9051
+ "style": "footnoteRegular",
8961
9052
  "color": "textPrimary",
8962
9053
  "collapseWhenEmpty": true,
8963
9054
  "textDirection": "auto",
@@ -9037,7 +9128,7 @@ const SCREENS = runtimeSetting({
9037
9128
  }
9038
9129
  }
9039
9130
  ],
9040
- "spacing": 6
9131
+ "spacing": 4
9041
9132
  }
9042
9133
  },
9043
9134
  "modifiers": {
@@ -9073,7 +9164,7 @@ const SCREENS = runtimeSetting({
9073
9164
  "type": "Text",
9074
9165
  "props": {
9075
9166
  "text": "$item.label",
9076
- "style": "body",
9167
+ "style": "footnoteRegular",
9077
9168
  "color": "accentPrimary",
9078
9169
  "collapseWhenEmpty": true,
9079
9170
  "textDirection": "auto"
@@ -9088,12 +9179,12 @@ const SCREENS = runtimeSetting({
9088
9179
  },
9089
9180
  "modifiers": {
9090
9181
  "fillMaxWidth": true,
9091
- "cornerRadius": 16,
9182
+ "cornerRadius": 12,
9092
9183
  "padding": {
9093
- "leading": 14,
9094
- "trailing": 14,
9095
- "top": 10,
9096
- "bottom": 10
9184
+ "leading": 12,
9185
+ "trailing": 12,
9186
+ "top": 8,
9187
+ "bottom": 8
9097
9188
  },
9098
9189
  "background": {
9099
9190
  "token": "accentSurface"
@@ -9123,8 +9214,8 @@ const SCREENS = runtimeSetting({
9123
9214
  "type": "Text",
9124
9215
  "props": {
9125
9216
  "text": "$item.label",
9126
- "style": "body",
9127
- "color": "textSecondary",
9217
+ "style": "footnoteRegular",
9218
+ "color": "textTertiary",
9128
9219
  "collapseWhenEmpty": true,
9129
9220
  "textDirection": "auto"
9130
9221
  }
@@ -9138,15 +9229,15 @@ const SCREENS = runtimeSetting({
9138
9229
  },
9139
9230
  "modifiers": {
9140
9231
  "fillMaxWidth": true,
9141
- "cornerRadius": 16,
9232
+ "cornerRadius": 12,
9142
9233
  "padding": {
9143
- "leading": 14,
9144
- "trailing": 14,
9145
- "top": 10,
9146
- "bottom": 10
9234
+ "leading": 12,
9235
+ "trailing": 12,
9236
+ "top": 8,
9237
+ "bottom": 8
9147
9238
  },
9148
9239
  "background": {
9149
- "token": "surfaceElevated"
9240
+ "token": "surfacePrimary"
9150
9241
  },
9151
9242
  "hiddenPath": "$item.enabled"
9152
9243
  }
@@ -9161,51 +9252,30 @@ const SCREENS = runtimeSetting({
9161
9252
  }
9162
9253
  }
9163
9254
  ],
9164
- "spacing": 6,
9255
+ "spacing": 4,
9165
9256
  "horizontal": false
9166
9257
  }
9167
9258
  },
9168
9259
  "modifiers": {
9169
9260
  "fillMaxWidth": true
9170
9261
  }
9171
- },
9172
- {
9173
- "id": "himi_business_chat.incoming_time_$item.id",
9174
- "body": {
9175
- "package": "himalaya",
9176
- "type": "Text",
9177
- "props": {
9178
- "text": "$item.when",
9179
- "style": "caption",
9180
- "color": "textSecondary",
9181
- "collapseWhenEmpty": true,
9182
- "textDirection": "auto"
9183
- }
9184
- },
9185
- "modifiers": {}
9186
9262
  }
9187
9263
  ],
9188
- "spacing": 5,
9264
+ "spacing": 4,
9189
9265
  "alignment": "leading"
9190
9266
  }
9191
9267
  },
9192
9268
  "modifiers": {
9193
- "fillMaxWidth": true,
9269
+ "fillMaxWidth": false,
9194
9270
  "background": {
9195
- "token": "surfaceElevated"
9196
- },
9197
- "border": {
9198
- "width": 1,
9199
- "color": {
9200
- "token": "border"
9201
- }
9271
+ "token": "surfaceSecondary"
9202
9272
  },
9203
- "cornerRadius": 16,
9273
+ "cornerRadius": 12,
9204
9274
  "padding": {
9205
- "leading": 8,
9206
- "trailing": 8,
9207
- "top": 8,
9208
- "bottom": 8
9275
+ "leading": 16,
9276
+ "trailing": 16,
9277
+ "top": 16,
9278
+ "bottom": 16
9209
9279
  },
9210
9280
  "maxWidth": 300,
9211
9281
  "hiddenPath": "$item.isCard"
@@ -9218,42 +9288,6 @@ const SCREENS = runtimeSetting({
9218
9288
  "type": "VStack",
9219
9289
  "props": {
9220
9290
  "children": [
9221
- {
9222
- "id": "himi_business_chat.card_sender_$item.id",
9223
- "body": {
9224
- "package": "himalaya",
9225
- "type": "Text",
9226
- "props": {
9227
- "text": "Selcore",
9228
- "style": "caption",
9229
- "color": "accentPrimary",
9230
- "collapseWhenEmpty": true,
9231
- "textDirection": "auto",
9232
- "maxLines": 1
9233
- }
9234
- },
9235
- "modifiers": {
9236
- "hiddenPath": "$service:businessChat.hasHostedName"
9237
- }
9238
- },
9239
- {
9240
- "id": "himi_business_chat.card_sender_hosted_$item.id",
9241
- "body": {
9242
- "package": "himalaya",
9243
- "type": "Text",
9244
- "props": {
9245
- "text": "$service:businessChat.hostedName",
9246
- "style": "caption",
9247
- "color": "accentPrimary",
9248
- "collapseWhenEmpty": true,
9249
- "textDirection": "auto",
9250
- "maxLines": 1
9251
- }
9252
- },
9253
- "modifiers": {
9254
- "hiddenPath": "$service:businessChat.noHostedName"
9255
- }
9256
- },
9257
9291
  {
9258
9292
  "id": "himi_business_chat.card_badge_$item.id",
9259
9293
  "body": {
@@ -9263,6 +9297,7 @@ const SCREENS = runtimeSetting({
9263
9297
  "text": "$item.senderBadge",
9264
9298
  "style": "caption",
9265
9299
  "color": "accentPrimary",
9300
+ "maxLines": 1,
9266
9301
  "collapseWhenEmpty": true
9267
9302
  }
9268
9303
  },
@@ -9270,12 +9305,12 @@ const SCREENS = runtimeSetting({
9270
9305
  "background": {
9271
9306
  "token": "accentSurface"
9272
9307
  },
9273
- "cornerRadius": 12,
9308
+ "cornerRadius": 8,
9274
9309
  "padding": {
9275
- "leading": 10,
9276
- "trailing": 10,
9277
- "top": 3,
9278
- "bottom": 3
9310
+ "leading": 8,
9311
+ "trailing": 8,
9312
+ "top": 4,
9313
+ "bottom": 4
9279
9314
  }
9280
9315
  }
9281
9316
  },
@@ -9320,7 +9355,7 @@ const SCREENS = runtimeSetting({
9320
9355
  "type": "Text",
9321
9356
  "props": {
9322
9357
  "text": "$item.cardTitle",
9323
- "style": "body",
9358
+ "style": "footnote",
9324
9359
  "color": "textPrimary",
9325
9360
  "collapseWhenEmpty": true,
9326
9361
  "textDirection": "auto",
@@ -9337,8 +9372,8 @@ const SCREENS = runtimeSetting({
9337
9372
  "type": "Text",
9338
9373
  "props": {
9339
9374
  "text": "$item.cardDetail",
9340
- "style": "body",
9341
- "color": "textPrimary",
9375
+ "style": "footnoteRegular",
9376
+ "color": "textSecondary",
9342
9377
  "collapseWhenEmpty": true,
9343
9378
  "textDirection": "auto",
9344
9379
  "markdown": true,
@@ -9387,7 +9422,7 @@ const SCREENS = runtimeSetting({
9387
9422
  "type": "Text",
9388
9423
  "props": {
9389
9424
  "text": "$item.couponCode",
9390
- "style": "title3",
9425
+ "style": "bodyEmphasis",
9391
9426
  "color": "accentPrimary",
9392
9427
  "collapseWhenEmpty": true,
9393
9428
  "textDirection": "auto"
@@ -9396,7 +9431,7 @@ const SCREENS = runtimeSetting({
9396
9431
  "modifiers": {}
9397
9432
  }
9398
9433
  ],
9399
- "spacing": 2,
9434
+ "spacing": 4,
9400
9435
  "alignment": "center"
9401
9436
  }
9402
9437
  },
@@ -9405,7 +9440,7 @@ const SCREENS = runtimeSetting({
9405
9440
  "background": {
9406
9441
  "token": "accentSurface"
9407
9442
  },
9408
- "cornerRadius": 12,
9443
+ "cornerRadius": 8,
9409
9444
  "border": {
9410
9445
  "width": 1,
9411
9446
  "color": {
@@ -9413,10 +9448,10 @@ const SCREENS = runtimeSetting({
9413
9448
  }
9414
9449
  },
9415
9450
  "padding": {
9416
- "leading": 14,
9417
- "trailing": 14,
9418
- "top": 10,
9419
- "bottom": 10
9451
+ "leading": 12,
9452
+ "trailing": 12,
9453
+ "top": 8,
9454
+ "bottom": 8
9420
9455
  },
9421
9456
  "hiddenPath": "$item.noCoupon"
9422
9457
  }
@@ -9491,7 +9526,7 @@ const SCREENS = runtimeSetting({
9491
9526
  }
9492
9527
  }
9493
9528
  ],
9494
- "spacing": 6
9529
+ "spacing": 4
9495
9530
  }
9496
9531
  },
9497
9532
  "modifiers": {
@@ -9528,7 +9563,7 @@ const SCREENS = runtimeSetting({
9528
9563
  "type": "Text",
9529
9564
  "props": {
9530
9565
  "text": "$item.label",
9531
- "style": "body",
9566
+ "style": "footnoteRegular",
9532
9567
  "color": "accentPrimary",
9533
9568
  "collapseWhenEmpty": true,
9534
9569
  "textDirection": "auto"
@@ -9543,12 +9578,12 @@ const SCREENS = runtimeSetting({
9543
9578
  },
9544
9579
  "modifiers": {
9545
9580
  "fillMaxWidth": true,
9546
- "cornerRadius": 16,
9581
+ "cornerRadius": 12,
9547
9582
  "padding": {
9548
- "leading": 14,
9549
- "trailing": 14,
9550
- "top": 10,
9551
- "bottom": 10
9583
+ "leading": 12,
9584
+ "trailing": 12,
9585
+ "top": 8,
9586
+ "bottom": 8
9552
9587
  },
9553
9588
  "background": {
9554
9589
  "token": "accentSurface"
@@ -9578,8 +9613,8 @@ const SCREENS = runtimeSetting({
9578
9613
  "type": "Text",
9579
9614
  "props": {
9580
9615
  "text": "$item.label",
9581
- "style": "body",
9582
- "color": "textSecondary",
9616
+ "style": "footnoteRegular",
9617
+ "color": "textTertiary",
9583
9618
  "collapseWhenEmpty": true,
9584
9619
  "textDirection": "auto"
9585
9620
  }
@@ -9593,15 +9628,15 @@ const SCREENS = runtimeSetting({
9593
9628
  },
9594
9629
  "modifiers": {
9595
9630
  "fillMaxWidth": true,
9596
- "cornerRadius": 16,
9631
+ "cornerRadius": 12,
9597
9632
  "padding": {
9598
- "leading": 14,
9599
- "trailing": 14,
9600
- "top": 10,
9601
- "bottom": 10
9633
+ "leading": 12,
9634
+ "trailing": 12,
9635
+ "top": 8,
9636
+ "bottom": 8
9602
9637
  },
9603
9638
  "background": {
9604
- "token": "surfaceElevated"
9639
+ "token": "surfacePrimary"
9605
9640
  },
9606
9641
  "hiddenPath": "$item.enabled"
9607
9642
  }
@@ -9616,7 +9651,7 @@ const SCREENS = runtimeSetting({
9616
9651
  }
9617
9652
  }
9618
9653
  ],
9619
- "spacing": 6,
9654
+ "spacing": 4,
9620
9655
  "horizontal": false
9621
9656
  }
9622
9657
  },
@@ -9633,7 +9668,7 @@ const SCREENS = runtimeSetting({
9633
9668
  "modifiers": {
9634
9669
  "fillMaxWidth": true,
9635
9670
  "background": {
9636
- "token": "surfaceElevated"
9671
+ "token": "surfacePrimary"
9637
9672
  },
9638
9673
  "border": {
9639
9674
  "width": 1,
@@ -9641,33 +9676,18 @@ const SCREENS = runtimeSetting({
9641
9676
  "token": "border"
9642
9677
  }
9643
9678
  },
9644
- "cornerRadius": 8,
9679
+ "cornerRadius": 12,
9645
9680
  "padding": {
9646
9681
  "leading": 12,
9647
9682
  "trailing": 12,
9648
9683
  "top": 12,
9649
- "bottom": 8
9684
+ "bottom": 12
9650
9685
  },
9651
- "maxWidth": 270
9686
+ "maxWidth": 300
9652
9687
  }
9653
- },
9654
- {
9655
- "id": "himi_business_chat.card_time_$item.id",
9656
- "body": {
9657
- "package": "himalaya",
9658
- "type": "Text",
9659
- "props": {
9660
- "text": "$item.when",
9661
- "style": "caption",
9662
- "color": "textSecondary",
9663
- "collapseWhenEmpty": true,
9664
- "textDirection": "auto"
9665
- }
9666
- },
9667
- "modifiers": {}
9668
9688
  }
9669
9689
  ],
9670
- "spacing": 7,
9690
+ "spacing": 4,
9671
9691
  "alignment": "leading"
9672
9692
  }
9673
9693
  },
@@ -9675,14 +9695,29 @@ const SCREENS = runtimeSetting({
9675
9695
  "fillMaxWidth": true,
9676
9696
  "hiddenPath": "$item.notCard"
9677
9697
  }
9698
+ },
9699
+ {
9700
+ "id": "himi_business_chat.incoming_time_$item.id",
9701
+ "body": {
9702
+ "package": "himalaya",
9703
+ "type": "Text",
9704
+ "props": {
9705
+ "text": "$item.when",
9706
+ "style": "caption",
9707
+ "color": "textTertiary",
9708
+ "collapseWhenEmpty": true,
9709
+ "textDirection": "auto"
9710
+ }
9711
+ },
9712
+ "modifiers": {}
9678
9713
  }
9679
9714
  ],
9680
- "spacing": 0,
9715
+ "spacing": 4,
9681
9716
  "alignment": "leading"
9682
9717
  }
9683
9718
  },
9684
9719
  "modifiers": {
9685
- "fillMaxWidth": true
9720
+ "fillMaxWidth": false
9686
9721
  }
9687
9722
  },
9688
9723
  {
@@ -9695,7 +9730,7 @@ const SCREENS = runtimeSetting({
9695
9730
  "modifiers": {}
9696
9731
  }
9697
9732
  ],
9698
- "spacing": 6,
9733
+ "spacing": 8,
9699
9734
  "alignment": "leading"
9700
9735
  }
9701
9736
  },
@@ -9721,72 +9756,84 @@ const SCREENS = runtimeSetting({
9721
9756
  "modifiers": {}
9722
9757
  },
9723
9758
  {
9724
- "id": "himi_business_chat.outgoing_bubble_$item.id",
9759
+ "id": "himi_business_chat.outgoing_message_$item.id",
9725
9760
  "body": {
9726
9761
  "package": "himalaya",
9727
9762
  "type": "VStack",
9728
9763
  "props": {
9729
9764
  "children": [
9730
9765
  {
9731
- "id": "himi_business_chat.outgoing_sender_$item.id",
9732
- "body": {
9733
- "package": "himalaya",
9734
- "type": "Text",
9735
- "props": {
9736
- "text": "$item.senderName",
9737
- "style": "caption",
9738
- "color": "textOnAccent",
9739
- "collapseWhenEmpty": true,
9740
- "textDirection": "auto"
9741
- }
9742
- },
9743
- "modifiers": {}
9744
- },
9745
- {
9746
- "id": "himi_business_chat.outgoing_attachment_$item.id",
9747
- "body": {
9748
- "package": "himalaya",
9749
- "type": "Image",
9750
- "props": {
9751
- "url": "$item.imageUrl",
9752
- "fillWidth": true,
9753
- "aspectRatio": 1.5,
9754
- "contentMode": "fit",
9755
- "contentDescription": "$item.imageDescription"
9756
- }
9757
- },
9758
- "modifiers": {
9759
- "fillMaxWidth": true,
9760
- "cornerRadius": 12,
9761
- "accessibilityLabel": "$item.imageDescription",
9762
- "hiddenPath": "$item.noImage"
9763
- }
9764
- },
9765
- {
9766
- "id": "himi_business_chat.outgoing_text_$item.id",
9766
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
9767
9767
  "body": {
9768
9768
  "package": "himalaya",
9769
- "type": "Text",
9769
+ "type": "VStack",
9770
9770
  "props": {
9771
- "text": "$item.bodyText",
9772
- "style": "caption",
9773
- "color": "textOnAccent",
9774
- "collapseWhenEmpty": true,
9775
- "textDirection": "auto",
9776
- "maxLines": 1000
9777
- }
9778
- },
9779
- "modifiers": {}
9780
- },
9781
- {
9782
- "id": "himi_business_chat.outgoing_time_$item.id",
9783
- "body": {
9784
- "package": "himalaya",
9771
+ "children": [
9772
+ {
9773
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
9774
+ "body": {
9775
+ "package": "himalaya",
9776
+ "type": "Image",
9777
+ "props": {
9778
+ "url": "$item.imageUrl",
9779
+ "fillWidth": true,
9780
+ "aspectRatio": 1.5,
9781
+ "contentMode": "fit",
9782
+ "contentDescription": "$item.imageDescription"
9783
+ }
9784
+ },
9785
+ "modifiers": {
9786
+ "fillMaxWidth": true,
9787
+ "cornerRadius": 12,
9788
+ "accessibilityLabel": "$item.imageDescription",
9789
+ "hiddenPath": "$item.noImage"
9790
+ }
9791
+ },
9792
+ {
9793
+ "id": "himi_business_chat.outgoing_text_$item.id",
9794
+ "body": {
9795
+ "package": "himalaya",
9796
+ "type": "Text",
9797
+ "props": {
9798
+ "text": "$item.bodyText",
9799
+ "style": "footnoteRegular",
9800
+ "color": "textPrimary",
9801
+ "collapseWhenEmpty": true,
9802
+ "textDirection": "auto",
9803
+ "maxLines": 1000
9804
+ }
9805
+ },
9806
+ "modifiers": {}
9807
+ }
9808
+ ],
9809
+ "spacing": 4,
9810
+ "alignment": "leading"
9811
+ }
9812
+ },
9813
+ "modifiers": {
9814
+ "fillMaxWidth": false,
9815
+ "background": {
9816
+ "token": "accentSurface"
9817
+ },
9818
+ "cornerRadius": 12,
9819
+ "padding": {
9820
+ "leading": 16,
9821
+ "trailing": 16,
9822
+ "top": 16,
9823
+ "bottom": 16
9824
+ },
9825
+ "maxWidth": 300
9826
+ }
9827
+ },
9828
+ {
9829
+ "id": "himi_business_chat.outgoing_time_$item.id",
9830
+ "body": {
9831
+ "package": "himalaya",
9785
9832
  "type": "Text",
9786
9833
  "props": {
9787
9834
  "text": "$item.when",
9788
9835
  "style": "caption",
9789
- "color": "textOnAccent",
9836
+ "color": "textTertiary",
9790
9837
  "collapseWhenEmpty": true,
9791
9838
  "textDirection": "auto"
9792
9839
  }
@@ -9794,27 +9841,16 @@ const SCREENS = runtimeSetting({
9794
9841
  "modifiers": {}
9795
9842
  }
9796
9843
  ],
9797
- "spacing": 5,
9798
- "alignment": "leading"
9844
+ "spacing": 4,
9845
+ "alignment": "trailing"
9799
9846
  }
9800
9847
  },
9801
9848
  "modifiers": {
9802
- "fillMaxWidth": true,
9803
- "background": {
9804
- "token": "accentPrimary"
9805
- },
9806
- "cornerRadius": 16,
9807
- "padding": {
9808
- "leading": 8,
9809
- "trailing": 8,
9810
- "top": 8,
9811
- "bottom": 8
9812
- },
9813
- "maxWidth": 300
9849
+ "fillMaxWidth": false
9814
9850
  }
9815
9851
  }
9816
9852
  ],
9817
- "spacing": 6,
9853
+ "spacing": 8,
9818
9854
  "alignment": "leading"
9819
9855
  }
9820
9856
  },
@@ -9824,15 +9860,15 @@ const SCREENS = runtimeSetting({
9824
9860
  }
9825
9861
  }
9826
9862
  ],
9827
- "spacing": 4,
9863
+ "spacing": 8,
9828
9864
  "alignment": "leading"
9829
9865
  }
9830
9866
  },
9831
9867
  "modifiers": {
9832
9868
  "fillMaxWidth": true,
9833
9869
  "padding": {
9834
- "leading": 8,
9835
- "trailing": 8,
9870
+ "leading": 20,
9871
+ "trailing": 20,
9836
9872
  "top": 4,
9837
9873
  "bottom": 4
9838
9874
  }
@@ -9843,6 +9879,139 @@ const SCREENS = runtimeSetting({
9843
9879
  }
9844
9880
  },
9845
9881
  "modifiers": {}
9882
+ },
9883
+ {
9884
+ "id": "himi_business_chat.states",
9885
+ "body": {
9886
+ "package": "himalaya",
9887
+ "type": "VStack",
9888
+ "props": {
9889
+ "children": [
9890
+ {
9891
+ "id": "himi_business_chat.states_top",
9892
+ "body": {
9893
+ "package": "himalaya",
9894
+ "type": "Spacer",
9895
+ "props": {}
9896
+ },
9897
+ "modifiers": {}
9898
+ },
9899
+ {
9900
+ "id": "himi_business_chat.error",
9901
+ "body": {
9902
+ "package": "himalaya",
9903
+ "type": "VStack",
9904
+ "props": {
9905
+ "children": [
9906
+ {
9907
+ "id": "himi_business_chat.error_group",
9908
+ "body": {
9909
+ "package": "himalaya",
9910
+ "type": "VStack",
9911
+ "props": {
9912
+ "children": [
9913
+ {
9914
+ "id": "himi_business_chat.load_error",
9915
+ "body": {
9916
+ "package": "himalaya",
9917
+ "type": "ErrorState",
9918
+ "props": {
9919
+ "variant": "server",
9920
+ "placement": "section",
9921
+ "ctaLabel": "Try Again",
9922
+ "cta": {
9923
+ "actionId": "tier5.businessChat.init"
9924
+ }
9925
+ }
9926
+ },
9927
+ "modifiers": {
9928
+ "hiddenPath": "$service:businessChat.isGuest"
9929
+ }
9930
+ }
9931
+ ],
9932
+ "spacing": 0,
9933
+ "alignment": "leading"
9934
+ }
9935
+ },
9936
+ "modifiers": {
9937
+ "fillMaxWidth": true,
9938
+ "hiddenPath": "$service:businessChat.hideLoadError"
9939
+ }
9940
+ }
9941
+ ],
9942
+ "spacing": 0,
9943
+ "alignment": "leading"
9944
+ }
9945
+ },
9946
+ "modifiers": {
9947
+ "fillMaxWidth": true
9948
+ }
9949
+ },
9950
+ {
9951
+ "id": "himi_business_chat.sign_in",
9952
+ "body": {
9953
+ "package": "himalaya",
9954
+ "type": "ErrorState",
9955
+ "props": {
9956
+ "variant": "signIn",
9957
+ "placement": "section",
9958
+ "title": "Sign in to message the store.",
9959
+ "ctaLabel": "Sign In",
9960
+ "cta": {
9961
+ "actionId": "himi.open",
9962
+ "params": {
9963
+ "screenId": "himi_sign_in",
9964
+ "mode": "signin",
9965
+ "modal": "1"
9966
+ },
9967
+ "presentation": "sheet"
9968
+ }
9969
+ }
9970
+ },
9971
+ "modifiers": {
9972
+ "hiddenPath": "$service:businessChat.notGuest"
9973
+ }
9974
+ },
9975
+ {
9976
+ "id": "himi_business_chat.empty",
9977
+ "body": {
9978
+ "package": "himalaya",
9979
+ "type": "EmptyState",
9980
+ "props": {
9981
+ "icon": "chat",
9982
+ "title": "Message the store",
9983
+ "subtitle": "Ask for a bulk quote, stock levels or delivery times."
9984
+ }
9985
+ },
9986
+ "modifiers": {
9987
+ "padding": {
9988
+ "leading": 20,
9989
+ "trailing": 20,
9990
+ "top": 24,
9991
+ "bottom": 24
9992
+ },
9993
+ "hiddenPath": "$service:businessChat.noEmpty"
9994
+ }
9995
+ },
9996
+ {
9997
+ "id": "himi_business_chat.states_bottom",
9998
+ "body": {
9999
+ "package": "himalaya",
10000
+ "type": "Spacer",
10001
+ "props": {}
10002
+ },
10003
+ "modifiers": {}
10004
+ }
10005
+ ],
10006
+ "spacing": 0,
10007
+ "alignment": "center"
10008
+ }
10009
+ },
10010
+ "modifiers": {
10011
+ "fillMaxWidth": true,
10012
+ "weight": 1,
10013
+ "hiddenPath": "$service:businessChat.hasMessages"
10014
+ }
9846
10015
  }
9847
10016
  ],
9848
10017
  "spacing": 0,
@@ -9852,7 +10021,7 @@ const SCREENS = runtimeSetting({
9852
10021
  "modifiers": {
9853
10022
  "fillMaxWidth": true,
9854
10023
  "background": {
9855
- "token": "surfaceSecondary"
10024
+ "token": "surfacePrimary"
9856
10025
  },
9857
10026
  "onAppear": {
9858
10027
  "actionId": "tier5.businessChat.init",
@@ -9909,94 +10078,6 @@ const SCREENS = runtimeSetting({
9909
10078
  "minBinaryVersion": "0.1.0",
9910
10079
  "bundleVersion": "0.1.0"
9911
10080
  },
9912
- "stickyHeader": {
9913
- "id": "himi_business_chat.header",
9914
- "body": {
9915
- "package": "himalaya",
9916
- "type": "HStack",
9917
- "props": {
9918
- "children": [
9919
- {
9920
- "id": "himi_business_chat.header_title",
9921
- "body": {
9922
- "package": "himalaya",
9923
- "type": "Text",
9924
- "props": {
9925
- "text": "Selcore",
9926
- "style": "title3",
9927
- "color": "accentText",
9928
- "collapseWhenEmpty": true,
9929
- "textDirection": "auto",
9930
- "maxLines": 1
9931
- }
9932
- },
9933
- "modifiers": {
9934
- "hiddenPath": "$service:businessChat.hasHostedName"
9935
- }
9936
- },
9937
- {
9938
- "id": "himi_business_chat.header_title_hosted",
9939
- "body": {
9940
- "package": "himalaya",
9941
- "type": "Text",
9942
- "props": {
9943
- "text": "$service:businessChat.hostedName",
9944
- "style": "title3",
9945
- "color": "accentText",
9946
- "collapseWhenEmpty": true,
9947
- "textDirection": "auto",
9948
- "maxLines": 1
9949
- }
9950
- },
9951
- "modifiers": {
9952
- "hiddenPath": "$service:businessChat.noHostedName"
9953
- }
9954
- },
9955
- {
9956
- "id": "himi_business_chat.header_spacer",
9957
- "body": {
9958
- "package": "himalaya",
9959
- "type": "Spacer",
9960
- "props": {}
9961
- },
9962
- "modifiers": {}
9963
- },
9964
- {
9965
- "id": "himi_business_chat.live_status",
9966
- "body": {
9967
- "package": "himalaya",
9968
- "type": "Text",
9969
- "props": {
9970
- "text": "$service:businessChat.liveLabel",
9971
- "style": "caption",
9972
- "color": "accentText",
9973
- "collapseWhenEmpty": true,
9974
- "textDirection": "auto",
9975
- "maxLines": 1
9976
- }
9977
- },
9978
- "modifiers": {
9979
- "hiddenPath": "$service:businessChat.noActiveRoom"
9980
- }
9981
- }
9982
- ],
9983
- "spacing": 8,
9984
- "alignment": "leading"
9985
- }
9986
- },
9987
- "modifiers": {
9988
- "fillMaxWidth": true,
9989
- "background": {
9990
- "token": "accentSurface"
9991
- },
9992
- "padding": {
9993
- "leading": 16,
9994
- "trailing": 16,
9995
- "top": 12,
9996
- "bottom": 12
9997
- }
9998
- }
9999
- },
10000
10081
  "stickyFooter": {
10001
10082
  "id": "himi_business_chat.footer",
10002
10083
  "body": {
@@ -10033,7 +10114,7 @@ const SCREENS = runtimeSetting({
10033
10114
  "type": "Text",
10034
10115
  "props": {
10035
10116
  "text": "$item.label",
10036
- "style": "caption",
10117
+ "style": "footnote",
10037
10118
  "color": "accentPrimary",
10038
10119
  "collapseWhenEmpty": true,
10039
10120
  "textDirection": "auto",
@@ -10049,12 +10130,12 @@ const SCREENS = runtimeSetting({
10049
10130
  },
10050
10131
  "modifiers": {
10051
10132
  "fillMaxWidth": false,
10052
- "cornerRadius": 12,
10133
+ "cornerRadius": 999,
10053
10134
  "padding": {
10054
- "leading": 10,
10055
- "trailing": 10,
10056
- "top": 5,
10057
- "bottom": 5
10135
+ "leading": 12,
10136
+ "trailing": 12,
10137
+ "top": 8,
10138
+ "bottom": 8
10058
10139
  },
10059
10140
  "background": {
10060
10141
  "token": "accentSurface"
@@ -10084,8 +10165,8 @@ const SCREENS = runtimeSetting({
10084
10165
  "type": "Text",
10085
10166
  "props": {
10086
10167
  "text": "$item.label",
10087
- "style": "caption",
10088
- "color": "textSecondary",
10168
+ "style": "footnote",
10169
+ "color": "textTertiary",
10089
10170
  "collapseWhenEmpty": true,
10090
10171
  "textDirection": "auto",
10091
10172
  "maxLines": 1
@@ -10100,12 +10181,12 @@ const SCREENS = runtimeSetting({
10100
10181
  },
10101
10182
  "modifiers": {
10102
10183
  "fillMaxWidth": false,
10103
- "cornerRadius": 12,
10184
+ "cornerRadius": 999,
10104
10185
  "padding": {
10105
- "leading": 10,
10106
- "trailing": 10,
10107
- "top": 5,
10108
- "bottom": 5
10186
+ "leading": 12,
10187
+ "trailing": 12,
10188
+ "top": 8,
10189
+ "bottom": 8
10109
10190
  },
10110
10191
  "background": {
10111
10192
  "token": "surfaceSecondary"
@@ -10129,7 +10210,116 @@ const SCREENS = runtimeSetting({
10129
10210
  },
10130
10211
  "modifiers": {
10131
10212
  "fillMaxWidth": true,
10132
- "hiddenPath": "$service:businessChat.noQuickReplies"
10213
+ "hiddenPath": "$service:businessChat.noQuickReplies",
10214
+ "padding": {
10215
+ "leading": 20,
10216
+ "trailing": 20,
10217
+ "top": 8,
10218
+ "bottom": 8
10219
+ }
10220
+ }
10221
+ },
10222
+ {
10223
+ "id": "himi_business_chat.divider",
10224
+ "body": {
10225
+ "package": "himalaya",
10226
+ "type": "Divider",
10227
+ "props": {}
10228
+ }
10229
+ },
10230
+ {
10231
+ "id": "himi_business_chat.live_status",
10232
+ "body": {
10233
+ "package": "himalaya",
10234
+ "type": "Text",
10235
+ "props": {
10236
+ "text": "$service:businessChat.liveLabel",
10237
+ "style": "caption",
10238
+ "color": "textSecondary",
10239
+ "collapseWhenEmpty": true,
10240
+ "textDirection": "auto",
10241
+ "maxLines": 3
10242
+ }
10243
+ },
10244
+ "modifiers": {
10245
+ "hiddenPath": "$service:businessChat.noLiveLabel",
10246
+ "padding": {
10247
+ "leading": 20,
10248
+ "trailing": 20,
10249
+ "top": 8
10250
+ }
10251
+ }
10252
+ },
10253
+ {
10254
+ "id": "himi_business_chat.notice",
10255
+ "body": {
10256
+ "package": "himalaya",
10257
+ "type": "Text",
10258
+ "props": {
10259
+ "text": "$service:businessChat.noticeText",
10260
+ "style": "caption",
10261
+ "color": "danger",
10262
+ "collapseWhenEmpty": true,
10263
+ "textDirection": "auto",
10264
+ "maxLines": 3
10265
+ }
10266
+ },
10267
+ "modifiers": {
10268
+ "hiddenPath": "$service:businessChat.noErrorNotice",
10269
+ "padding": {
10270
+ "leading": 20,
10271
+ "trailing": 20,
10272
+ "top": 8
10273
+ }
10274
+ }
10275
+ },
10276
+ {
10277
+ "id": "himi_business_chat.notice_info",
10278
+ "body": {
10279
+ "package": "himalaya",
10280
+ "type": "Text",
10281
+ "props": {
10282
+ "text": "$service:businessChat.noticeText",
10283
+ "style": "caption",
10284
+ "color": "textSecondary",
10285
+ "collapseWhenEmpty": true,
10286
+ "textDirection": "auto",
10287
+ "maxLines": 3
10288
+ }
10289
+ },
10290
+ "modifiers": {
10291
+ "hiddenPath": "$service:businessChat.noInfoNotice",
10292
+ "padding": {
10293
+ "leading": 20,
10294
+ "trailing": 20,
10295
+ "top": 8
10296
+ }
10297
+ }
10298
+ },
10299
+ {
10300
+ "id": "himi_business_chat.retry",
10301
+ "body": {
10302
+ "package": "himalaya",
10303
+ "type": "Text",
10304
+ "props": {
10305
+ "text": "Try Again",
10306
+ "style": "footnote",
10307
+ "color": "accentPrimary",
10308
+ "collapseWhenEmpty": true,
10309
+ "textDirection": "auto"
10310
+ }
10311
+ },
10312
+ "modifiers": {
10313
+ "onTap": {
10314
+ "actionId": "tier5.businessChat.init"
10315
+ },
10316
+ "accessibilityRole": "button",
10317
+ "padding": {
10318
+ "leading": 20,
10319
+ "trailing": 20,
10320
+ "top": 4
10321
+ },
10322
+ "hiddenPath": "$service:businessChat.retryHidden"
10133
10323
  }
10134
10324
  },
10135
10325
  {
@@ -10140,72 +10330,37 @@ const SCREENS = runtimeSetting({
10140
10330
  "props": {
10141
10331
  "children": [
10142
10332
  {
10143
- "id": "himi_business_chat.draft_shell",
10333
+ "id": "himi_business_chat.draft",
10144
10334
  "body": {
10145
10335
  "package": "himalaya",
10146
- "type": "ZStack",
10336
+ "type": "TextField",
10147
10337
  "props": {
10148
- "alignment": "center",
10149
- "children": [
10150
- {
10151
- "id": "himi_business_chat.draft_outline",
10152
- "body": {
10153
- "package": "himalaya",
10154
- "type": "VStack",
10155
- "props": {
10156
- "children": [],
10157
- "spacing": 0,
10158
- "alignment": "leading"
10159
- }
10160
- },
10161
- "modifiers": {
10162
- "fillMaxWidth": true,
10163
- "height": 40,
10164
- "background": {
10165
- "token": "surfacePrimary"
10166
- },
10167
- "cornerRadius": 20,
10168
- "border": {
10169
- "width": 1,
10170
- "color": {
10171
- "token": "border"
10172
- }
10173
- }
10174
- }
10175
- },
10176
- {
10177
- "id": "himi_business_chat.draft",
10178
- "body": {
10179
- "package": "himalaya",
10180
- "type": "TextField",
10181
- "props": {
10182
- "valuePath": "$service:businessChat.draft",
10183
- "onChange": {
10184
- "actionId": "tier5.businessChat.setDraft"
10185
- },
10186
- "placeholder": "Products and quantities you need…",
10187
- "maxLength": 4000,
10188
- "multilineMaxLines": 1,
10189
- "borderless": true
10190
- }
10191
- },
10192
- "modifiers": {
10193
- "fillMaxWidth": true,
10194
- "accessibilityLabel": "Type your message",
10195
- "padding": {
10196
- "leading": 8,
10197
- "trailing": 8,
10198
- "top": 0,
10199
- "bottom": 0
10200
- }
10201
- }
10202
- }
10203
- ]
10338
+ "valuePath": "$service:businessChat.draft",
10339
+ "onChange": {
10340
+ "actionId": "tier5.businessChat.setDraft"
10341
+ },
10342
+ "onSubmit": {
10343
+ "actionId": "tier5.businessChat.send"
10344
+ },
10345
+ "submitLabel": "send",
10346
+ "placeholder": "Products and quantities you need…",
10347
+ "maxLength": 4000,
10348
+ "multilineMaxLines": 1,
10349
+ "borderless": true
10204
10350
  }
10205
10351
  },
10206
10352
  "modifiers": {
10207
10353
  "weight": 1,
10208
- "fillMaxWidth": true
10354
+ "height": 44,
10355
+ "accessibilityLabel": "Type your message",
10356
+ "background": {
10357
+ "token": "surfaceSecondary"
10358
+ },
10359
+ "cornerRadius": 999,
10360
+ "padding": {
10361
+ "leading": 16,
10362
+ "trailing": 8
10363
+ }
10209
10364
  }
10210
10365
  },
10211
10366
  {
@@ -10229,11 +10384,11 @@ const SCREENS = runtimeSetting({
10229
10384
  },
10230
10385
  "modifiers": {
10231
10386
  "accessibilityRole": "decorative",
10232
- "width": 40,
10233
- "height": 40,
10234
- "cornerRadius": 20,
10387
+ "width": 44,
10388
+ "height": 44,
10389
+ "cornerRadius": 999,
10235
10390
  "background": {
10236
- "token": "surfaceSecondary"
10391
+ "token": "surfaceTertiary"
10237
10392
  }
10238
10393
  }
10239
10394
  },
@@ -10250,9 +10405,9 @@ const SCREENS = runtimeSetting({
10250
10405
  },
10251
10406
  "modifiers": {
10252
10407
  "accessibilityRole": "button",
10253
- "width": 40,
10254
- "height": 40,
10255
- "cornerRadius": 20,
10408
+ "width": 44,
10409
+ "height": 44,
10410
+ "cornerRadius": 999,
10256
10411
  "background": {
10257
10412
  "token": "accentPrimary"
10258
10413
  },
@@ -10267,22 +10422,22 @@ const SCREENS = runtimeSetting({
10267
10422
  }
10268
10423
  },
10269
10424
  "modifiers": {
10270
- "width": 40,
10271
- "height": 40
10425
+ "width": 44,
10426
+ "height": 44
10272
10427
  }
10273
10428
  }
10274
10429
  ],
10275
- "spacing": 6,
10430
+ "spacing": 8,
10276
10431
  "alignment": "center"
10277
10432
  }
10278
10433
  },
10279
10434
  "modifiers": {
10280
10435
  "fillMaxWidth": true,
10281
10436
  "padding": {
10282
- "leading": 8,
10283
- "trailing": 8,
10284
- "top": 0,
10285
- "bottom": 0
10437
+ "leading": 20,
10438
+ "trailing": 20,
10439
+ "top": 8,
10440
+ "bottom": 8
10286
10441
  }
10287
10442
  }
10288
10443
  }
@@ -10296,12 +10451,6 @@ const SCREENS = runtimeSetting({
10296
10451
  "hiddenPath": "$service:businessChat.isGuest",
10297
10452
  "background": {
10298
10453
  "token": "surfacePrimary"
10299
- },
10300
- "padding": {
10301
- "leading": 0,
10302
- "trailing": 0,
10303
- "top": 4,
10304
- "bottom": 0
10305
10454
  }
10306
10455
  }
10307
10456
  },