@wix/himalaya-cli 0.1866.0 → 0.1868.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +17 -7
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +1 -44
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/overlapping-panel-header.d.ts +30 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +55 -11
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +217 -155
  9. package/dist/browser-plane/assets.json +5 -5
  10. package/dist/browser-plane/preview-deferred/{a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin → 606c83075130fbcd609b5aabaa1e6bac0bfb27bd362d1ce8eb5cbcb266e1f682.bin} +1 -1
  11. package/dist/browser-plane/sw.js +8 -8
  12. package/dist/cli.mjs +6179 -5817
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/guides/component-index.md +1 -1
  15. package/guides/component-reference.json +1 -1
  16. package/guides/component-reference.md +4 -0
  17. package/guides/designing-himi-screens.md +5 -0
  18. package/guides/one-app-to-himi-app.md +13 -7
  19. package/guides/one-app-viewer.md +3 -1
  20. package/guides/release-notes.md +13 -0
  21. package/guides/sdk-reference.json +0 -21
  22. package/package.json +2 -2
  23. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  24. package/templates/beauty-salon/dev/index.ts +122 -8
  25. package/templates/beauty-salon/l10n/ar.json +5 -0
  26. package/templates/beauty-salon/l10n/cs.json +5 -0
  27. package/templates/beauty-salon/l10n/da.json +5 -0
  28. package/templates/beauty-salon/l10n/de.json +5 -0
  29. package/templates/beauty-salon/l10n/el.json +5 -0
  30. package/templates/beauty-salon/l10n/en.json +1 -1
  31. package/templates/beauty-salon/l10n/es.json +5 -0
  32. package/templates/beauty-salon/l10n/fi.json +5 -0
  33. package/templates/beauty-salon/l10n/fr.json +5 -0
  34. package/templates/beauty-salon/l10n/he.json +4 -0
  35. package/templates/beauty-salon/l10n/hu.json +5 -0
  36. package/templates/beauty-salon/l10n/id.json +5 -0
  37. package/templates/beauty-salon/l10n/it.json +5 -0
  38. package/templates/beauty-salon/l10n/ja.json +5 -0
  39. package/templates/beauty-salon/l10n/ko.json +5 -0
  40. package/templates/beauty-salon/l10n/lt.json +5 -0
  41. package/templates/beauty-salon/l10n/nl.json +5 -0
  42. package/templates/beauty-salon/l10n/no.json +5 -0
  43. package/templates/beauty-salon/l10n/pl.json +5 -0
  44. package/templates/beauty-salon/l10n/pt.json +5 -0
  45. package/templates/beauty-salon/l10n/ru.json +5 -0
  46. package/templates/beauty-salon/l10n/sv.json +5 -0
  47. package/templates/beauty-salon/l10n/th.json +5 -0
  48. package/templates/beauty-salon/l10n/tr.json +5 -0
  49. package/templates/beauty-salon/l10n/uk.json +5 -0
  50. package/templates/beauty-salon/l10n/vi.json +5 -0
  51. package/templates/beauty-salon/l10n/zh.json +5 -0
  52. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  53. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  54. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  55. package/templates/branded-lite/dev/index.ts +732 -583
  56. package/templates/branded-lite/l10n/ar.json +5 -0
  57. package/templates/branded-lite/l10n/cs.json +5 -0
  58. package/templates/branded-lite/l10n/da.json +5 -0
  59. package/templates/branded-lite/l10n/de.json +5 -0
  60. package/templates/branded-lite/l10n/el.json +5 -0
  61. package/templates/branded-lite/l10n/en.json +2 -2
  62. package/templates/branded-lite/l10n/es.json +5 -0
  63. package/templates/branded-lite/l10n/fi.json +5 -0
  64. package/templates/branded-lite/l10n/fr.json +5 -0
  65. package/templates/branded-lite/l10n/he.json +4 -0
  66. package/templates/branded-lite/l10n/hu.json +5 -0
  67. package/templates/branded-lite/l10n/id.json +5 -0
  68. package/templates/branded-lite/l10n/it.json +5 -0
  69. package/templates/branded-lite/l10n/ja.json +5 -0
  70. package/templates/branded-lite/l10n/ko.json +5 -0
  71. package/templates/branded-lite/l10n/lt.json +5 -0
  72. package/templates/branded-lite/l10n/nl.json +5 -0
  73. package/templates/branded-lite/l10n/no.json +5 -0
  74. package/templates/branded-lite/l10n/pl.json +5 -0
  75. package/templates/branded-lite/l10n/pt.json +5 -0
  76. package/templates/branded-lite/l10n/ru.json +5 -0
  77. package/templates/branded-lite/l10n/sv.json +5 -0
  78. package/templates/branded-lite/l10n/th.json +5 -0
  79. package/templates/branded-lite/l10n/tr.json +5 -0
  80. package/templates/branded-lite/l10n/uk.json +5 -0
  81. package/templates/branded-lite/l10n/vi.json +5 -0
  82. package/templates/branded-lite/l10n/zh.json +5 -0
  83. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  84. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  85. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  86. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  87. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  88. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  89. package/templates/community-club/dev/index.ts +122 -8
  90. package/templates/community-club/l10n/ar.json +10 -0
  91. package/templates/community-club/l10n/cs.json +10 -0
  92. package/templates/community-club/l10n/da.json +10 -0
  93. package/templates/community-club/l10n/de.json +10 -0
  94. package/templates/community-club/l10n/el.json +10 -0
  95. package/templates/community-club/l10n/en.json +1 -1
  96. package/templates/community-club/l10n/es.json +10 -0
  97. package/templates/community-club/l10n/fi.json +10 -0
  98. package/templates/community-club/l10n/fr.json +10 -0
  99. package/templates/community-club/l10n/he.json +8 -0
  100. package/templates/community-club/l10n/hu.json +10 -0
  101. package/templates/community-club/l10n/id.json +10 -0
  102. package/templates/community-club/l10n/it.json +10 -0
  103. package/templates/community-club/l10n/ja.json +10 -0
  104. package/templates/community-club/l10n/ko.json +10 -0
  105. package/templates/community-club/l10n/lt.json +10 -0
  106. package/templates/community-club/l10n/nl.json +10 -0
  107. package/templates/community-club/l10n/no.json +10 -0
  108. package/templates/community-club/l10n/pl.json +10 -0
  109. package/templates/community-club/l10n/pt.json +10 -0
  110. package/templates/community-club/l10n/ru.json +10 -0
  111. package/templates/community-club/l10n/sv.json +10 -0
  112. package/templates/community-club/l10n/th.json +10 -0
  113. package/templates/community-club/l10n/tr.json +10 -0
  114. package/templates/community-club/l10n/uk.json +10 -0
  115. package/templates/community-club/l10n/vi.json +10 -0
  116. package/templates/community-club/l10n/zh.json +10 -0
  117. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  118. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  119. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  120. package/templates/conference/dev/index.ts +744 -595
  121. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  122. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  123. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  124. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  125. package/templates/events-meetups/dev/index.ts +122 -8
  126. package/templates/events-meetups/l10n/ar.json +10 -0
  127. package/templates/events-meetups/l10n/cs.json +10 -0
  128. package/templates/events-meetups/l10n/da.json +10 -0
  129. package/templates/events-meetups/l10n/de.json +10 -0
  130. package/templates/events-meetups/l10n/el.json +10 -0
  131. package/templates/events-meetups/l10n/en.json +1 -1
  132. package/templates/events-meetups/l10n/es.json +10 -0
  133. package/templates/events-meetups/l10n/fi.json +10 -0
  134. package/templates/events-meetups/l10n/fr.json +10 -0
  135. package/templates/events-meetups/l10n/he.json +8 -0
  136. package/templates/events-meetups/l10n/hu.json +10 -0
  137. package/templates/events-meetups/l10n/id.json +10 -0
  138. package/templates/events-meetups/l10n/it.json +10 -0
  139. package/templates/events-meetups/l10n/ja.json +10 -0
  140. package/templates/events-meetups/l10n/ko.json +10 -0
  141. package/templates/events-meetups/l10n/lt.json +10 -0
  142. package/templates/events-meetups/l10n/nl.json +10 -0
  143. package/templates/events-meetups/l10n/no.json +10 -0
  144. package/templates/events-meetups/l10n/pl.json +10 -0
  145. package/templates/events-meetups/l10n/pt.json +10 -0
  146. package/templates/events-meetups/l10n/ru.json +10 -0
  147. package/templates/events-meetups/l10n/sv.json +10 -0
  148. package/templates/events-meetups/l10n/th.json +10 -0
  149. package/templates/events-meetups/l10n/tr.json +10 -0
  150. package/templates/events-meetups/l10n/uk.json +10 -0
  151. package/templates/events-meetups/l10n/vi.json +10 -0
  152. package/templates/events-meetups/l10n/zh.json +10 -0
  153. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  154. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  155. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  156. package/templates/fitness-gym/dev/index.ts +743 -507
  157. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  158. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  159. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  160. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  161. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  162. package/templates/gym-fitness/dev/index.ts +122 -8
  163. package/templates/gym-fitness/l10n/ar.json +5 -0
  164. package/templates/gym-fitness/l10n/cs.json +5 -0
  165. package/templates/gym-fitness/l10n/da.json +5 -0
  166. package/templates/gym-fitness/l10n/de.json +5 -0
  167. package/templates/gym-fitness/l10n/el.json +5 -0
  168. package/templates/gym-fitness/l10n/en.json +1 -1
  169. package/templates/gym-fitness/l10n/es.json +5 -0
  170. package/templates/gym-fitness/l10n/fi.json +5 -0
  171. package/templates/gym-fitness/l10n/fr.json +5 -0
  172. package/templates/gym-fitness/l10n/he.json +4 -0
  173. package/templates/gym-fitness/l10n/hu.json +5 -0
  174. package/templates/gym-fitness/l10n/id.json +5 -0
  175. package/templates/gym-fitness/l10n/it.json +5 -0
  176. package/templates/gym-fitness/l10n/ja.json +5 -0
  177. package/templates/gym-fitness/l10n/ko.json +5 -0
  178. package/templates/gym-fitness/l10n/lt.json +5 -0
  179. package/templates/gym-fitness/l10n/nl.json +5 -0
  180. package/templates/gym-fitness/l10n/no.json +5 -0
  181. package/templates/gym-fitness/l10n/pl.json +5 -0
  182. package/templates/gym-fitness/l10n/pt.json +5 -0
  183. package/templates/gym-fitness/l10n/ru.json +5 -0
  184. package/templates/gym-fitness/l10n/sv.json +5 -0
  185. package/templates/gym-fitness/l10n/th.json +5 -0
  186. package/templates/gym-fitness/l10n/tr.json +5 -0
  187. package/templates/gym-fitness/l10n/uk.json +5 -0
  188. package/templates/gym-fitness/l10n/vi.json +5 -0
  189. package/templates/gym-fitness/l10n/zh.json +5 -0
  190. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  191. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  192. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  193. package/templates/medical-services/dev/index.ts +747 -595
  194. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  195. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  196. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  197. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  198. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  199. package/templates/nonprofit-cause/dev/index.ts +122 -8
  200. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  201. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  202. package/templates/nonprofit-cause/l10n/da.json +10 -0
  203. package/templates/nonprofit-cause/l10n/de.json +10 -0
  204. package/templates/nonprofit-cause/l10n/el.json +10 -0
  205. package/templates/nonprofit-cause/l10n/en.json +1 -1
  206. package/templates/nonprofit-cause/l10n/es.json +10 -0
  207. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  208. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  209. package/templates/nonprofit-cause/l10n/he.json +8 -0
  210. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  211. package/templates/nonprofit-cause/l10n/id.json +10 -0
  212. package/templates/nonprofit-cause/l10n/it.json +10 -0
  213. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  214. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  215. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  216. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  217. package/templates/nonprofit-cause/l10n/no.json +10 -0
  218. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  219. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  220. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  221. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  222. package/templates/nonprofit-cause/l10n/th.json +10 -0
  223. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  224. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  225. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  226. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  227. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  228. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  229. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  230. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  231. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  232. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  233. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  234. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  235. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  236. package/templates/podcast-creator/dev/index.ts +122 -8
  237. package/templates/podcast-creator/l10n/ar.json +10 -0
  238. package/templates/podcast-creator/l10n/cs.json +10 -0
  239. package/templates/podcast-creator/l10n/da.json +10 -0
  240. package/templates/podcast-creator/l10n/de.json +10 -0
  241. package/templates/podcast-creator/l10n/el.json +10 -0
  242. package/templates/podcast-creator/l10n/en.json +1 -1
  243. package/templates/podcast-creator/l10n/es.json +10 -0
  244. package/templates/podcast-creator/l10n/fi.json +10 -0
  245. package/templates/podcast-creator/l10n/fr.json +10 -0
  246. package/templates/podcast-creator/l10n/he.json +8 -0
  247. package/templates/podcast-creator/l10n/hu.json +10 -0
  248. package/templates/podcast-creator/l10n/id.json +10 -0
  249. package/templates/podcast-creator/l10n/it.json +10 -0
  250. package/templates/podcast-creator/l10n/ja.json +10 -0
  251. package/templates/podcast-creator/l10n/ko.json +10 -0
  252. package/templates/podcast-creator/l10n/lt.json +10 -0
  253. package/templates/podcast-creator/l10n/nl.json +10 -0
  254. package/templates/podcast-creator/l10n/no.json +10 -0
  255. package/templates/podcast-creator/l10n/pl.json +10 -0
  256. package/templates/podcast-creator/l10n/pt.json +10 -0
  257. package/templates/podcast-creator/l10n/ru.json +10 -0
  258. package/templates/podcast-creator/l10n/sv.json +10 -0
  259. package/templates/podcast-creator/l10n/th.json +10 -0
  260. package/templates/podcast-creator/l10n/tr.json +10 -0
  261. package/templates/podcast-creator/l10n/uk.json +10 -0
  262. package/templates/podcast-creator/l10n/vi.json +10 -0
  263. package/templates/podcast-creator/l10n/zh.json +10 -0
  264. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  265. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  266. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  267. package/templates/portfolio-creative/dev/index.ts +122 -8
  268. package/templates/portfolio-creative/l10n/ar.json +10 -0
  269. package/templates/portfolio-creative/l10n/cs.json +10 -0
  270. package/templates/portfolio-creative/l10n/da.json +10 -0
  271. package/templates/portfolio-creative/l10n/de.json +10 -0
  272. package/templates/portfolio-creative/l10n/el.json +10 -0
  273. package/templates/portfolio-creative/l10n/en.json +1 -1
  274. package/templates/portfolio-creative/l10n/es.json +10 -0
  275. package/templates/portfolio-creative/l10n/fi.json +10 -0
  276. package/templates/portfolio-creative/l10n/fr.json +10 -0
  277. package/templates/portfolio-creative/l10n/he.json +8 -0
  278. package/templates/portfolio-creative/l10n/hu.json +10 -0
  279. package/templates/portfolio-creative/l10n/id.json +10 -0
  280. package/templates/portfolio-creative/l10n/it.json +10 -0
  281. package/templates/portfolio-creative/l10n/ja.json +10 -0
  282. package/templates/portfolio-creative/l10n/ko.json +10 -0
  283. package/templates/portfolio-creative/l10n/lt.json +10 -0
  284. package/templates/portfolio-creative/l10n/nl.json +10 -0
  285. package/templates/portfolio-creative/l10n/no.json +10 -0
  286. package/templates/portfolio-creative/l10n/pl.json +10 -0
  287. package/templates/portfolio-creative/l10n/pt.json +10 -0
  288. package/templates/portfolio-creative/l10n/ru.json +10 -0
  289. package/templates/portfolio-creative/l10n/sv.json +10 -0
  290. package/templates/portfolio-creative/l10n/th.json +10 -0
  291. package/templates/portfolio-creative/l10n/tr.json +10 -0
  292. package/templates/portfolio-creative/l10n/uk.json +10 -0
  293. package/templates/portfolio-creative/l10n/vi.json +10 -0
  294. package/templates/portfolio-creative/l10n/zh.json +10 -0
  295. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  296. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  297. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  298. package/templates/restaurant/dev/index.ts +122 -8
  299. package/templates/restaurant/l10n/ar.json +10 -0
  300. package/templates/restaurant/l10n/cs.json +10 -0
  301. package/templates/restaurant/l10n/da.json +10 -0
  302. package/templates/restaurant/l10n/de.json +10 -0
  303. package/templates/restaurant/l10n/el.json +10 -0
  304. package/templates/restaurant/l10n/en.json +1 -1
  305. package/templates/restaurant/l10n/es.json +10 -0
  306. package/templates/restaurant/l10n/fi.json +10 -0
  307. package/templates/restaurant/l10n/fr.json +10 -0
  308. package/templates/restaurant/l10n/he.json +8 -0
  309. package/templates/restaurant/l10n/hu.json +10 -0
  310. package/templates/restaurant/l10n/id.json +10 -0
  311. package/templates/restaurant/l10n/it.json +10 -0
  312. package/templates/restaurant/l10n/ja.json +10 -0
  313. package/templates/restaurant/l10n/ko.json +10 -0
  314. package/templates/restaurant/l10n/lt.json +10 -0
  315. package/templates/restaurant/l10n/nl.json +10 -0
  316. package/templates/restaurant/l10n/no.json +10 -0
  317. package/templates/restaurant/l10n/pl.json +10 -0
  318. package/templates/restaurant/l10n/pt.json +10 -0
  319. package/templates/restaurant/l10n/ru.json +10 -0
  320. package/templates/restaurant/l10n/sv.json +10 -0
  321. package/templates/restaurant/l10n/th.json +10 -0
  322. package/templates/restaurant/l10n/tr.json +10 -0
  323. package/templates/restaurant/l10n/uk.json +10 -0
  324. package/templates/restaurant/l10n/vi.json +10 -0
  325. package/templates/restaurant/l10n/zh.json +10 -0
  326. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  327. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  328. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  329. package/templates/retail-store/dev/index.ts +122 -8
  330. package/templates/retail-store/l10n/ar.json +10 -0
  331. package/templates/retail-store/l10n/cs.json +10 -0
  332. package/templates/retail-store/l10n/da.json +10 -0
  333. package/templates/retail-store/l10n/de.json +10 -0
  334. package/templates/retail-store/l10n/el.json +10 -0
  335. package/templates/retail-store/l10n/en.json +1 -1
  336. package/templates/retail-store/l10n/es.json +10 -0
  337. package/templates/retail-store/l10n/fi.json +10 -0
  338. package/templates/retail-store/l10n/fr.json +10 -0
  339. package/templates/retail-store/l10n/he.json +8 -0
  340. package/templates/retail-store/l10n/hu.json +10 -0
  341. package/templates/retail-store/l10n/id.json +10 -0
  342. package/templates/retail-store/l10n/it.json +10 -0
  343. package/templates/retail-store/l10n/ja.json +10 -0
  344. package/templates/retail-store/l10n/ko.json +10 -0
  345. package/templates/retail-store/l10n/lt.json +10 -0
  346. package/templates/retail-store/l10n/nl.json +10 -0
  347. package/templates/retail-store/l10n/no.json +10 -0
  348. package/templates/retail-store/l10n/pl.json +10 -0
  349. package/templates/retail-store/l10n/pt.json +10 -0
  350. package/templates/retail-store/l10n/ru.json +10 -0
  351. package/templates/retail-store/l10n/sv.json +10 -0
  352. package/templates/retail-store/l10n/th.json +10 -0
  353. package/templates/retail-store/l10n/tr.json +10 -0
  354. package/templates/retail-store/l10n/uk.json +10 -0
  355. package/templates/retail-store/l10n/vi.json +10 -0
  356. package/templates/retail-store/l10n/zh.json +10 -0
  357. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  358. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  359. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  360. package/templates/salon-spa/dev/index.ts +744 -595
  361. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  362. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  363. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  364. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  365. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  366. package/templates/wholesale-store/dev/index.ts +751 -602
  367. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  368. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  369. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  370. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  371. package/templates/yoga-studio/dev/index.ts +122 -8
  372. package/templates/yoga-studio/l10n/ar.json +5 -0
  373. package/templates/yoga-studio/l10n/cs.json +5 -0
  374. package/templates/yoga-studio/l10n/da.json +5 -0
  375. package/templates/yoga-studio/l10n/de.json +5 -0
  376. package/templates/yoga-studio/l10n/el.json +5 -0
  377. package/templates/yoga-studio/l10n/en.json +1 -1
  378. package/templates/yoga-studio/l10n/es.json +5 -0
  379. package/templates/yoga-studio/l10n/fi.json +5 -0
  380. package/templates/yoga-studio/l10n/fr.json +5 -0
  381. package/templates/yoga-studio/l10n/he.json +4 -0
  382. package/templates/yoga-studio/l10n/hu.json +5 -0
  383. package/templates/yoga-studio/l10n/id.json +5 -0
  384. package/templates/yoga-studio/l10n/it.json +5 -0
  385. package/templates/yoga-studio/l10n/ja.json +5 -0
  386. package/templates/yoga-studio/l10n/ko.json +5 -0
  387. package/templates/yoga-studio/l10n/lt.json +5 -0
  388. package/templates/yoga-studio/l10n/nl.json +5 -0
  389. package/templates/yoga-studio/l10n/no.json +5 -0
  390. package/templates/yoga-studio/l10n/pl.json +5 -0
  391. package/templates/yoga-studio/l10n/pt.json +5 -0
  392. package/templates/yoga-studio/l10n/ru.json +5 -0
  393. package/templates/yoga-studio/l10n/sv.json +5 -0
  394. package/templates/yoga-studio/l10n/th.json +5 -0
  395. package/templates/yoga-studio/l10n/tr.json +5 -0
  396. package/templates/yoga-studio/l10n/uk.json +5 -0
  397. package/templates/yoga-studio/l10n/vi.json +5 -0
  398. package/templates/yoga-studio/l10n/zh.json +5 -0
  399. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  400. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  401. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -11563,6 +11563,67 @@ const SCREENS = runtimeSetting({
11563
11563
  "spacing": 12,
11564
11564
  "alignment": "leading",
11565
11565
  "children": [
11566
+ {
11567
+ "id": "himi_sign_in.loading",
11568
+ "body": {
11569
+ "package": "himalaya",
11570
+ "type": "VStack",
11571
+ "props": {
11572
+ "spacing": 12,
11573
+ "alignment": "leading",
11574
+ "children": [
11575
+ {
11576
+ "id": "",
11577
+ "body": {
11578
+ "package": "himalaya",
11579
+ "type": "Skeleton",
11580
+ "props": {
11581
+ "width": 160,
11582
+ "height": 28,
11583
+ "cornerRadius": 6
11584
+ }
11585
+ }
11586
+ },
11587
+ {
11588
+ "id": "",
11589
+ "body": {
11590
+ "package": "himalaya",
11591
+ "type": "Skeleton",
11592
+ "props": {
11593
+ "height": 52,
11594
+ "cornerRadius": 8
11595
+ }
11596
+ }
11597
+ },
11598
+ {
11599
+ "id": "",
11600
+ "body": {
11601
+ "package": "himalaya",
11602
+ "type": "Skeleton",
11603
+ "props": {
11604
+ "height": 52,
11605
+ "cornerRadius": 8
11606
+ }
11607
+ }
11608
+ },
11609
+ {
11610
+ "id": "",
11611
+ "body": {
11612
+ "package": "himalaya",
11613
+ "type": "Skeleton",
11614
+ "props": {
11615
+ "height": 48,
11616
+ "cornerRadius": 24
11617
+ }
11618
+ }
11619
+ }
11620
+ ]
11621
+ }
11622
+ },
11623
+ "modifiers": {
11624
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
11625
+ }
11626
+ },
11566
11627
  {
11567
11628
  "id": "",
11568
11629
  "body": {
@@ -11662,7 +11723,6 @@ const SCREENS = runtimeSetting({
11662
11723
  "placeholder": "Email",
11663
11724
  "keyboard": "email",
11664
11725
  "validation": {
11665
- "required": true,
11666
11726
  "type": "email",
11667
11727
  "mode": "on_blur"
11668
11728
  },
@@ -11710,26 +11770,27 @@ const SCREENS = runtimeSetting({
11710
11770
  }
11711
11771
  },
11712
11772
  {
11713
- "id": "",
11773
+ "id": "himi_sign_in.message",
11714
11774
  "body": {
11715
11775
  "package": "himalaya",
11716
11776
  "type": "Text",
11717
11777
  "props": {
11718
- "text": "$service:himiStoreAccount.busyMessage",
11778
+ "text": "$service:himiStoreAccount.errorMessage",
11719
11779
  "style": "footnote",
11780
+ "color": "danger",
11720
11781
  "collapseWhenEmpty": true
11721
11782
  }
11722
11783
  }
11723
11784
  },
11724
11785
  {
11725
- "id": "himi_sign_in.message",
11786
+ "id": "himi_sign_in.notice",
11726
11787
  "body": {
11727
11788
  "package": "himalaya",
11728
11789
  "type": "Text",
11729
11790
  "props": {
11730
- "text": "$service:himiStoreAccount.message",
11791
+ "text": "$service:himiStoreAccount.noticeMessage",
11731
11792
  "style": "footnote",
11732
- "color": "textPrimary",
11793
+ "color": "success",
11733
11794
  "collapseWhenEmpty": true
11734
11795
  }
11735
11796
  }
@@ -11871,7 +11932,60 @@ const SCREENS = runtimeSetting({
11871
11932
  }
11872
11933
  },
11873
11934
  "modifiers": {
11874
- "hiddenPath": "$service:himiStoreAccount.isMember"
11935
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
11936
+ }
11937
+ },
11938
+ {
11939
+ "id": "",
11940
+ "body": {
11941
+ "package": "himalaya",
11942
+ "type": "VStack",
11943
+ "props": {
11944
+ "spacing": 12,
11945
+ "alignment": "leading",
11946
+ "children": [
11947
+ {
11948
+ "id": "himi_sign_in.pending_title",
11949
+ "body": {
11950
+ "package": "himalaya",
11951
+ "type": "Text",
11952
+ "props": {
11953
+ "text": "$service:himiStoreAccount.pendingTitle",
11954
+ "style": "title1"
11955
+ }
11956
+ }
11957
+ },
11958
+ {
11959
+ "id": "himi_sign_in.pending_body",
11960
+ "body": {
11961
+ "package": "himalaya",
11962
+ "type": "Text",
11963
+ "props": {
11964
+ "text": "$service:himiStoreAccount.pendingBody",
11965
+ "style": "body"
11966
+ }
11967
+ }
11968
+ },
11969
+ {
11970
+ "id": "himi_sign_in.pending_back",
11971
+ "body": {
11972
+ "package": "himalaya",
11973
+ "type": "Button",
11974
+ "props": {
11975
+ "title": "Back to Sign In",
11976
+ "style": "secondary",
11977
+ "fullWidth": true,
11978
+ "action": {
11979
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
11980
+ }
11981
+ }
11982
+ }
11983
+ }
11984
+ ]
11985
+ }
11986
+ },
11987
+ "modifiers": {
11988
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
11875
11989
  }
11876
11990
  },
11877
11991
  {
@@ -11913,7 +12027,7 @@ const SCREENS = runtimeSetting({
11913
12027
  }
11914
12028
  },
11915
12029
  "modifiers": {
11916
- "hiddenPath": "$service:himiStoreAccount.notMember"
12030
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
11917
12031
  }
11918
12032
  }
11919
12033
  ]
@@ -11955,6 +12069,10 @@ const SCREENS = runtimeSetting({
11955
12069
  "screenId": "himi_business_chat",
11956
12070
  "renderer": "sdui_intent",
11957
12071
  "title": "Message the organizers",
12072
+ "topBar": {
12073
+ "subtitle": "CRTVTY/CON",
12074
+ "subtitlePath": "$service:businessChat.businessName"
12075
+ },
11958
12076
  "schemaVersion": 1,
11959
12077
  "cacheControl": {
11960
12078
  "maxAge": 0,
@@ -11975,192 +12093,187 @@ const SCREENS = runtimeSetting({
11975
12093
  "props": {
11976
12094
  "children": [
11977
12095
  {
11978
- "id": "himi_business_chat.loading_text",
12096
+ "id": "himi_business_chat.skeleton_1",
11979
12097
  "body": {
11980
12098
  "package": "himalaya",
11981
- "type": "Text",
12099
+ "type": "HStack",
11982
12100
  "props": {
11983
- "text": "Loading your conversation…",
11984
- "style": "body",
11985
- "color": "textSecondary",
11986
- "collapseWhenEmpty": true,
11987
- "textDirection": "auto"
12101
+ "children": [
12102
+ {
12103
+ "id": "himi_business_chat.skeleton_1.avatar",
12104
+ "body": {
12105
+ "package": "himalaya",
12106
+ "type": "Skeleton",
12107
+ "props": {
12108
+ "width": 32,
12109
+ "height": 32,
12110
+ "cornerRadius": 999
12111
+ }
12112
+ },
12113
+ "modifiers": {}
12114
+ },
12115
+ {
12116
+ "id": "himi_business_chat.skeleton_1.bubble",
12117
+ "body": {
12118
+ "package": "himalaya",
12119
+ "type": "Skeleton",
12120
+ "props": {
12121
+ "width": 220,
12122
+ "height": 52,
12123
+ "cornerRadius": 12
12124
+ }
12125
+ },
12126
+ "modifiers": {}
12127
+ },
12128
+ {
12129
+ "id": "himi_business_chat.skeleton_1.spacer",
12130
+ "body": {
12131
+ "package": "himalaya",
12132
+ "type": "Spacer",
12133
+ "props": {}
12134
+ },
12135
+ "modifiers": {}
12136
+ }
12137
+ ],
12138
+ "spacing": 8,
12139
+ "alignment": "leading"
11988
12140
  }
11989
12141
  },
11990
- "modifiers": {}
12142
+ "modifiers": {
12143
+ "fillMaxWidth": true,
12144
+ "padding": {
12145
+ "leading": 20,
12146
+ "trailing": 20,
12147
+ "top": 4,
12148
+ "bottom": 4
12149
+ }
12150
+ }
11991
12151
  },
11992
12152
  {
11993
- "id": "himi_business_chat.loading_row_1",
12153
+ "id": "himi_business_chat.skeleton_2",
11994
12154
  "body": {
11995
12155
  "package": "himalaya",
11996
- "type": "Skeleton",
12156
+ "type": "HStack",
11997
12157
  "props": {
11998
- "height": 62,
11999
- "cornerRadius": 16
12158
+ "children": [
12159
+ {
12160
+ "id": "himi_business_chat.skeleton_2.spacer",
12161
+ "body": {
12162
+ "package": "himalaya",
12163
+ "type": "Spacer",
12164
+ "props": {}
12165
+ },
12166
+ "modifiers": {}
12167
+ },
12168
+ {
12169
+ "id": "himi_business_chat.skeleton_2.bubble",
12170
+ "body": {
12171
+ "package": "himalaya",
12172
+ "type": "Skeleton",
12173
+ "props": {
12174
+ "width": 180,
12175
+ "height": 52,
12176
+ "cornerRadius": 12
12177
+ }
12178
+ },
12179
+ "modifiers": {}
12180
+ }
12181
+ ],
12182
+ "spacing": 8,
12183
+ "alignment": "leading"
12000
12184
  }
12001
12185
  },
12002
- "modifiers": {}
12186
+ "modifiers": {
12187
+ "fillMaxWidth": true,
12188
+ "padding": {
12189
+ "leading": 20,
12190
+ "trailing": 20,
12191
+ "top": 4,
12192
+ "bottom": 4
12193
+ }
12194
+ }
12003
12195
  },
12004
12196
  {
12005
- "id": "himi_business_chat.loading_row_2",
12197
+ "id": "himi_business_chat.skeleton_3",
12006
12198
  "body": {
12007
12199
  "package": "himalaya",
12008
- "type": "Skeleton",
12200
+ "type": "HStack",
12009
12201
  "props": {
12010
- "height": 84,
12011
- "cornerRadius": 16
12202
+ "children": [
12203
+ {
12204
+ "id": "himi_business_chat.skeleton_3.avatar",
12205
+ "body": {
12206
+ "package": "himalaya",
12207
+ "type": "Skeleton",
12208
+ "props": {
12209
+ "width": 32,
12210
+ "height": 32,
12211
+ "cornerRadius": 999
12212
+ }
12213
+ },
12214
+ "modifiers": {}
12215
+ },
12216
+ {
12217
+ "id": "himi_business_chat.skeleton_3.bubble",
12218
+ "body": {
12219
+ "package": "himalaya",
12220
+ "type": "Skeleton",
12221
+ "props": {
12222
+ "width": 230,
12223
+ "height": 52,
12224
+ "cornerRadius": 12
12225
+ }
12226
+ },
12227
+ "modifiers": {}
12228
+ },
12229
+ {
12230
+ "id": "himi_business_chat.skeleton_3.spacer",
12231
+ "body": {
12232
+ "package": "himalaya",
12233
+ "type": "Spacer",
12234
+ "props": {}
12235
+ },
12236
+ "modifiers": {}
12237
+ }
12238
+ ],
12239
+ "spacing": 8,
12240
+ "alignment": "leading"
12012
12241
  }
12013
12242
  },
12014
- "modifiers": {}
12243
+ "modifiers": {
12244
+ "fillMaxWidth": true,
12245
+ "padding": {
12246
+ "leading": 20,
12247
+ "trailing": 20,
12248
+ "top": 4,
12249
+ "bottom": 4
12250
+ }
12251
+ }
12015
12252
  }
12016
12253
  ],
12017
- "spacing": 12,
12254
+ "spacing": 0,
12018
12255
  "alignment": "leading"
12019
12256
  }
12020
12257
  },
12021
12258
  "modifiers": {
12022
12259
  "fillMaxWidth": true,
12023
- "padding": {
12024
- "leading": 16,
12025
- "trailing": 16,
12026
- "top": 20,
12027
- "bottom": 8
12028
- },
12260
+ "accessibilityLabel": "Loading your conversation…",
12029
12261
  "hiddenPath": "$service:businessChat.loadingHidden"
12030
12262
  }
12031
12263
  },
12032
12264
  {
12033
- "id": "himi_business_chat.error",
12265
+ "id": "himi_business_chat.messages",
12034
12266
  "body": {
12035
12267
  "package": "himalaya",
12036
- "type": "VStack",
12268
+ "type": "LazyList",
12037
12269
  "props": {
12038
- "children": [
12039
- {
12040
- "id": "himi_business_chat.error_text",
12041
- "body": {
12042
- "package": "himalaya",
12043
- "type": "Text",
12044
- "props": {
12045
- "text": "$service:businessChat.errorText",
12046
- "style": "body",
12047
- "color": "danger",
12048
- "collapseWhenEmpty": true,
12049
- "textDirection": "auto"
12050
- }
12051
- },
12052
- "modifiers": {}
12053
- },
12054
- {
12055
- "id": "himi_business_chat.load_failure",
12056
- "body": {
12057
- "package": "himalaya",
12058
- "type": "Text",
12059
- "props": {
12060
- "text": "$service:businessChat.loadFailure",
12061
- "style": "caption",
12062
- "color": "textSecondary",
12063
- "collapseWhenEmpty": true,
12064
- "textDirection": "auto"
12065
- }
12066
- },
12067
- "modifiers": {}
12068
- },
12270
+ "itemsPath": "$service:businessChat.messages",
12271
+ "items": [
12069
12272
  {
12070
- "id": "himi_business_chat.sign_in",
12273
+ "id": "himi_business_chat.message_$item.id",
12071
12274
  "body": {
12072
12275
  "package": "himalaya",
12073
- "type": "Button",
12074
- "props": {
12075
- "title": "Sign In",
12076
- "leadingIcon": "person",
12077
- "style": "primary",
12078
- "size": "md",
12079
- "fullWidth": false,
12080
- "action": {
12081
- "actionId": "himi.open",
12082
- "params": {
12083
- "screenId": "himi_sign_in",
12084
- "mode": "signin",
12085
- "modal": "1"
12086
- },
12087
- "presentation": "sheet"
12088
- }
12089
- }
12090
- },
12091
- "modifiers": {
12092
- "hiddenPath": "$service:businessChat.notGuest"
12093
- }
12094
- },
12095
- {
12096
- "id": "himi_business_chat.retry",
12097
- "body": {
12098
- "package": "himalaya",
12099
- "type": "Button",
12100
- "props": {
12101
- "title": "Try Again",
12102
- "action": {
12103
- "actionId": "tier5.businessChat.init"
12104
- },
12105
- "style": "secondary",
12106
- "size": "md",
12107
- "fullWidth": false
12108
- }
12109
- },
12110
- "modifiers": {
12111
- "hiddenPath": "$service:businessChat.isGuest"
12112
- }
12113
- }
12114
- ],
12115
- "spacing": 8,
12116
- "alignment": "leading"
12117
- }
12118
- },
12119
- "modifiers": {
12120
- "fillMaxWidth": true,
12121
- "padding": {
12122
- "leading": 16,
12123
- "trailing": 16,
12124
- "top": 12,
12125
- "bottom": 8
12126
- },
12127
- "hiddenPath": "$service:businessChat.noError"
12128
- }
12129
- },
12130
- {
12131
- "id": "himi_business_chat.empty",
12132
- "body": {
12133
- "package": "himalaya",
12134
- "type": "EmptyState",
12135
- "props": {
12136
- "title": "Message the organizers",
12137
- "subtitle": "Ask about tickets, the venue or the agenda.",
12138
- "icon": "chat"
12139
- }
12140
- },
12141
- "modifiers": {
12142
- "padding": {
12143
- "leading": 16,
12144
- "trailing": 16,
12145
- "top": 24,
12146
- "bottom": 24
12147
- },
12148
- "hiddenPath": "$service:businessChat.noEmpty"
12149
- }
12150
- },
12151
- {
12152
- "id": "himi_business_chat.messages",
12153
- "body": {
12154
- "package": "himalaya",
12155
- "type": "LazyList",
12156
- "props": {
12157
- "itemsPath": "$service:businessChat.messages",
12158
- "items": [
12159
- {
12160
- "id": "himi_business_chat.message_$item.id",
12161
- "body": {
12162
- "package": "himalaya",
12163
- "type": "VStack",
12276
+ "type": "VStack",
12164
12277
  "props": {
12165
12278
  "children": [
12166
12279
  {
@@ -12187,7 +12300,7 @@ const SCREENS = runtimeSetting({
12187
12300
  "props": {
12188
12301
  "text": "$item.dayLabel",
12189
12302
  "style": "caption",
12190
- "color": "textSecondary",
12303
+ "color": "textTertiary",
12191
12304
  "collapseWhenEmpty": true,
12192
12305
  "textDirection": "auto"
12193
12306
  }
@@ -12211,10 +12324,8 @@ const SCREENS = runtimeSetting({
12211
12324
  "modifiers": {
12212
12325
  "fillMaxWidth": true,
12213
12326
  "padding": {
12214
- "leading": 12,
12215
- "trailing": 12,
12216
- "top": 12,
12217
- "bottom": 4
12327
+ "top": 8,
12328
+ "bottom": 8
12218
12329
  },
12219
12330
  "hiddenPath": "$item.dayHidden"
12220
12331
  }
@@ -12227,21 +12338,36 @@ const SCREENS = runtimeSetting({
12227
12338
  "props": {
12228
12339
  "children": [
12229
12340
  {
12230
- "id": "himi_business_chat.avatar_$item.id",
12341
+ "id": "himi_business_chat.avatar_slot_$item.id",
12231
12342
  "body": {
12232
12343
  "package": "himalaya",
12233
- "type": "Image",
12344
+ "type": "VStack",
12234
12345
  "props": {
12235
- "initials": "$service:businessChat.businessInitials",
12236
- "width": 30,
12237
- "height": 30,
12238
- "contentMode": "fill",
12239
- "shape": "circle",
12240
- "contentDescription": "$service:businessChat.businessName"
12346
+ "children": [
12347
+ {
12348
+ "id": "himi_business_chat.avatar_$item.id",
12349
+ "body": {
12350
+ "package": "himalaya",
12351
+ "type": "Avatar",
12352
+ "props": {
12353
+ "imageUrl": "",
12354
+ "initials": "$service:businessChat.businessInitials",
12355
+ "size": 32
12356
+ }
12357
+ },
12358
+ "modifiers": {
12359
+ "accessibilityLabel": "$service:businessChat.businessName",
12360
+ "hiddenPath": "$item.hideAvatar"
12361
+ }
12362
+ }
12363
+ ],
12364
+ "spacing": 0,
12365
+ "alignment": "leading"
12241
12366
  }
12242
12367
  },
12243
12368
  "modifiers": {
12244
- "accessibilityLabel": "$service:businessChat.businessName"
12369
+ "fillMaxWidth": false,
12370
+ "width": 32
12245
12371
  }
12246
12372
  },
12247
12373
  {
@@ -12258,42 +12384,6 @@ const SCREENS = runtimeSetting({
12258
12384
  "type": "VStack",
12259
12385
  "props": {
12260
12386
  "children": [
12261
- {
12262
- "id": "himi_business_chat.incoming_sender_$item.id",
12263
- "body": {
12264
- "package": "himalaya",
12265
- "type": "Text",
12266
- "props": {
12267
- "text": "CRTVTY/CON",
12268
- "style": "caption",
12269
- "color": "accentPrimary",
12270
- "collapseWhenEmpty": true,
12271
- "textDirection": "auto",
12272
- "maxLines": 1
12273
- }
12274
- },
12275
- "modifiers": {
12276
- "hiddenPath": "$service:businessChat.hasHostedName"
12277
- }
12278
- },
12279
- {
12280
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
12281
- "body": {
12282
- "package": "himalaya",
12283
- "type": "Text",
12284
- "props": {
12285
- "text": "$service:businessChat.hostedName",
12286
- "style": "caption",
12287
- "color": "accentPrimary",
12288
- "collapseWhenEmpty": true,
12289
- "textDirection": "auto",
12290
- "maxLines": 1
12291
- }
12292
- },
12293
- "modifiers": {
12294
- "hiddenPath": "$service:businessChat.noHostedName"
12295
- }
12296
- },
12297
12387
  {
12298
12388
  "id": "himi_business_chat.staff_badge_$item.id",
12299
12389
  "body": {
@@ -12303,6 +12393,7 @@ const SCREENS = runtimeSetting({
12303
12393
  "text": "$item.senderBadge",
12304
12394
  "style": "caption",
12305
12395
  "color": "accentPrimary",
12396
+ "maxLines": 1,
12306
12397
  "collapseWhenEmpty": true
12307
12398
  }
12308
12399
  },
@@ -12310,12 +12401,12 @@ const SCREENS = runtimeSetting({
12310
12401
  "background": {
12311
12402
  "token": "accentSurface"
12312
12403
  },
12313
- "cornerRadius": 12,
12404
+ "cornerRadius": 8,
12314
12405
  "padding": {
12315
- "leading": 10,
12316
- "trailing": 10,
12317
- "top": 3,
12318
- "bottom": 3
12406
+ "leading": 8,
12407
+ "trailing": 8,
12408
+ "top": 4,
12409
+ "bottom": 4
12319
12410
  }
12320
12411
  }
12321
12412
  },
@@ -12346,7 +12437,7 @@ const SCREENS = runtimeSetting({
12346
12437
  "type": "Text",
12347
12438
  "props": {
12348
12439
  "text": "$item.bodyMarkdown",
12349
- "style": "caption",
12440
+ "style": "footnote",
12350
12441
  "color": "textPrimary",
12351
12442
  "collapseWhenEmpty": true,
12352
12443
  "textDirection": "auto",
@@ -12426,7 +12517,7 @@ const SCREENS = runtimeSetting({
12426
12517
  }
12427
12518
  }
12428
12519
  ],
12429
- "spacing": 6
12520
+ "spacing": 4
12430
12521
  }
12431
12522
  },
12432
12523
  "modifiers": {
@@ -12462,7 +12553,7 @@ const SCREENS = runtimeSetting({
12462
12553
  "type": "Text",
12463
12554
  "props": {
12464
12555
  "text": "$item.label",
12465
- "style": "body",
12556
+ "style": "footnote",
12466
12557
  "color": "accentPrimary",
12467
12558
  "collapseWhenEmpty": true,
12468
12559
  "textDirection": "auto"
@@ -12477,12 +12568,12 @@ const SCREENS = runtimeSetting({
12477
12568
  },
12478
12569
  "modifiers": {
12479
12570
  "fillMaxWidth": true,
12480
- "cornerRadius": 16,
12571
+ "cornerRadius": 12,
12481
12572
  "padding": {
12482
- "leading": 14,
12483
- "trailing": 14,
12484
- "top": 10,
12485
- "bottom": 10
12573
+ "leading": 12,
12574
+ "trailing": 12,
12575
+ "top": 8,
12576
+ "bottom": 8
12486
12577
  },
12487
12578
  "background": {
12488
12579
  "token": "accentSurface"
@@ -12512,8 +12603,8 @@ const SCREENS = runtimeSetting({
12512
12603
  "type": "Text",
12513
12604
  "props": {
12514
12605
  "text": "$item.label",
12515
- "style": "body",
12516
- "color": "textSecondary",
12606
+ "style": "footnote",
12607
+ "color": "textTertiary",
12517
12608
  "collapseWhenEmpty": true,
12518
12609
  "textDirection": "auto"
12519
12610
  }
@@ -12527,15 +12618,15 @@ const SCREENS = runtimeSetting({
12527
12618
  },
12528
12619
  "modifiers": {
12529
12620
  "fillMaxWidth": true,
12530
- "cornerRadius": 16,
12621
+ "cornerRadius": 12,
12531
12622
  "padding": {
12532
- "leading": 14,
12533
- "trailing": 14,
12534
- "top": 10,
12535
- "bottom": 10
12623
+ "leading": 12,
12624
+ "trailing": 12,
12625
+ "top": 8,
12626
+ "bottom": 8
12536
12627
  },
12537
12628
  "background": {
12538
- "token": "surfaceElevated"
12629
+ "token": "surfacePrimary"
12539
12630
  },
12540
12631
  "hiddenPath": "$item.enabled"
12541
12632
  }
@@ -12550,51 +12641,30 @@ const SCREENS = runtimeSetting({
12550
12641
  }
12551
12642
  }
12552
12643
  ],
12553
- "spacing": 6,
12644
+ "spacing": 4,
12554
12645
  "horizontal": false
12555
12646
  }
12556
12647
  },
12557
12648
  "modifiers": {
12558
12649
  "fillMaxWidth": true
12559
12650
  }
12560
- },
12561
- {
12562
- "id": "himi_business_chat.incoming_time_$item.id",
12563
- "body": {
12564
- "package": "himalaya",
12565
- "type": "Text",
12566
- "props": {
12567
- "text": "$item.when",
12568
- "style": "caption",
12569
- "color": "textSecondary",
12570
- "collapseWhenEmpty": true,
12571
- "textDirection": "auto"
12572
- }
12573
- },
12574
- "modifiers": {}
12575
12651
  }
12576
12652
  ],
12577
- "spacing": 5,
12653
+ "spacing": 4,
12578
12654
  "alignment": "leading"
12579
12655
  }
12580
12656
  },
12581
12657
  "modifiers": {
12582
- "fillMaxWidth": true,
12658
+ "fillMaxWidth": false,
12583
12659
  "background": {
12584
- "token": "surfaceElevated"
12585
- },
12586
- "border": {
12587
- "width": 1,
12588
- "color": {
12589
- "token": "border"
12590
- }
12660
+ "token": "surfaceSecondary"
12591
12661
  },
12592
- "cornerRadius": 16,
12662
+ "cornerRadius": 12,
12593
12663
  "padding": {
12594
- "leading": 8,
12595
- "trailing": 8,
12596
- "top": 8,
12597
- "bottom": 8
12664
+ "leading": 16,
12665
+ "trailing": 16,
12666
+ "top": 16,
12667
+ "bottom": 16
12598
12668
  },
12599
12669
  "maxWidth": 300,
12600
12670
  "hiddenPath": "$item.isCard"
@@ -12607,42 +12677,6 @@ const SCREENS = runtimeSetting({
12607
12677
  "type": "VStack",
12608
12678
  "props": {
12609
12679
  "children": [
12610
- {
12611
- "id": "himi_business_chat.card_sender_$item.id",
12612
- "body": {
12613
- "package": "himalaya",
12614
- "type": "Text",
12615
- "props": {
12616
- "text": "CRTVTY/CON",
12617
- "style": "caption",
12618
- "color": "accentPrimary",
12619
- "collapseWhenEmpty": true,
12620
- "textDirection": "auto",
12621
- "maxLines": 1
12622
- }
12623
- },
12624
- "modifiers": {
12625
- "hiddenPath": "$service:businessChat.hasHostedName"
12626
- }
12627
- },
12628
- {
12629
- "id": "himi_business_chat.card_sender_hosted_$item.id",
12630
- "body": {
12631
- "package": "himalaya",
12632
- "type": "Text",
12633
- "props": {
12634
- "text": "$service:businessChat.hostedName",
12635
- "style": "caption",
12636
- "color": "accentPrimary",
12637
- "collapseWhenEmpty": true,
12638
- "textDirection": "auto",
12639
- "maxLines": 1
12640
- }
12641
- },
12642
- "modifiers": {
12643
- "hiddenPath": "$service:businessChat.noHostedName"
12644
- }
12645
- },
12646
12680
  {
12647
12681
  "id": "himi_business_chat.card_badge_$item.id",
12648
12682
  "body": {
@@ -12652,6 +12686,7 @@ const SCREENS = runtimeSetting({
12652
12686
  "text": "$item.senderBadge",
12653
12687
  "style": "caption",
12654
12688
  "color": "accentPrimary",
12689
+ "maxLines": 1,
12655
12690
  "collapseWhenEmpty": true
12656
12691
  }
12657
12692
  },
@@ -12659,12 +12694,12 @@ const SCREENS = runtimeSetting({
12659
12694
  "background": {
12660
12695
  "token": "accentSurface"
12661
12696
  },
12662
- "cornerRadius": 12,
12697
+ "cornerRadius": 8,
12663
12698
  "padding": {
12664
- "leading": 10,
12665
- "trailing": 10,
12666
- "top": 3,
12667
- "bottom": 3
12699
+ "leading": 8,
12700
+ "trailing": 8,
12701
+ "top": 4,
12702
+ "bottom": 4
12668
12703
  }
12669
12704
  }
12670
12705
  },
@@ -12709,7 +12744,7 @@ const SCREENS = runtimeSetting({
12709
12744
  "type": "Text",
12710
12745
  "props": {
12711
12746
  "text": "$item.cardTitle",
12712
- "style": "body",
12747
+ "style": "footnote",
12713
12748
  "color": "textPrimary",
12714
12749
  "collapseWhenEmpty": true,
12715
12750
  "textDirection": "auto",
@@ -12726,8 +12761,8 @@ const SCREENS = runtimeSetting({
12726
12761
  "type": "Text",
12727
12762
  "props": {
12728
12763
  "text": "$item.cardDetail",
12729
- "style": "body",
12730
- "color": "textPrimary",
12764
+ "style": "footnote",
12765
+ "color": "textSecondary",
12731
12766
  "collapseWhenEmpty": true,
12732
12767
  "textDirection": "auto",
12733
12768
  "markdown": true,
@@ -12776,7 +12811,7 @@ const SCREENS = runtimeSetting({
12776
12811
  "type": "Text",
12777
12812
  "props": {
12778
12813
  "text": "$item.couponCode",
12779
- "style": "title3",
12814
+ "style": "bodyEmphasis",
12780
12815
  "color": "accentPrimary",
12781
12816
  "collapseWhenEmpty": true,
12782
12817
  "textDirection": "auto"
@@ -12785,7 +12820,7 @@ const SCREENS = runtimeSetting({
12785
12820
  "modifiers": {}
12786
12821
  }
12787
12822
  ],
12788
- "spacing": 2,
12823
+ "spacing": 4,
12789
12824
  "alignment": "center"
12790
12825
  }
12791
12826
  },
@@ -12794,7 +12829,7 @@ const SCREENS = runtimeSetting({
12794
12829
  "background": {
12795
12830
  "token": "accentSurface"
12796
12831
  },
12797
- "cornerRadius": 12,
12832
+ "cornerRadius": 8,
12798
12833
  "border": {
12799
12834
  "width": 1,
12800
12835
  "color": {
@@ -12802,10 +12837,10 @@ const SCREENS = runtimeSetting({
12802
12837
  }
12803
12838
  },
12804
12839
  "padding": {
12805
- "leading": 14,
12806
- "trailing": 14,
12807
- "top": 10,
12808
- "bottom": 10
12840
+ "leading": 12,
12841
+ "trailing": 12,
12842
+ "top": 8,
12843
+ "bottom": 8
12809
12844
  },
12810
12845
  "hiddenPath": "$item.noCoupon"
12811
12846
  }
@@ -12880,7 +12915,7 @@ const SCREENS = runtimeSetting({
12880
12915
  }
12881
12916
  }
12882
12917
  ],
12883
- "spacing": 6
12918
+ "spacing": 4
12884
12919
  }
12885
12920
  },
12886
12921
  "modifiers": {
@@ -12917,7 +12952,7 @@ const SCREENS = runtimeSetting({
12917
12952
  "type": "Text",
12918
12953
  "props": {
12919
12954
  "text": "$item.label",
12920
- "style": "body",
12955
+ "style": "footnote",
12921
12956
  "color": "accentPrimary",
12922
12957
  "collapseWhenEmpty": true,
12923
12958
  "textDirection": "auto"
@@ -12932,12 +12967,12 @@ const SCREENS = runtimeSetting({
12932
12967
  },
12933
12968
  "modifiers": {
12934
12969
  "fillMaxWidth": true,
12935
- "cornerRadius": 16,
12970
+ "cornerRadius": 12,
12936
12971
  "padding": {
12937
- "leading": 14,
12938
- "trailing": 14,
12939
- "top": 10,
12940
- "bottom": 10
12972
+ "leading": 12,
12973
+ "trailing": 12,
12974
+ "top": 8,
12975
+ "bottom": 8
12941
12976
  },
12942
12977
  "background": {
12943
12978
  "token": "accentSurface"
@@ -12967,8 +13002,8 @@ const SCREENS = runtimeSetting({
12967
13002
  "type": "Text",
12968
13003
  "props": {
12969
13004
  "text": "$item.label",
12970
- "style": "body",
12971
- "color": "textSecondary",
13005
+ "style": "footnote",
13006
+ "color": "textTertiary",
12972
13007
  "collapseWhenEmpty": true,
12973
13008
  "textDirection": "auto"
12974
13009
  }
@@ -12982,15 +13017,15 @@ const SCREENS = runtimeSetting({
12982
13017
  },
12983
13018
  "modifiers": {
12984
13019
  "fillMaxWidth": true,
12985
- "cornerRadius": 16,
13020
+ "cornerRadius": 12,
12986
13021
  "padding": {
12987
- "leading": 14,
12988
- "trailing": 14,
12989
- "top": 10,
12990
- "bottom": 10
13022
+ "leading": 12,
13023
+ "trailing": 12,
13024
+ "top": 8,
13025
+ "bottom": 8
12991
13026
  },
12992
13027
  "background": {
12993
- "token": "surfaceElevated"
13028
+ "token": "surfacePrimary"
12994
13029
  },
12995
13030
  "hiddenPath": "$item.enabled"
12996
13031
  }
@@ -13005,7 +13040,7 @@ const SCREENS = runtimeSetting({
13005
13040
  }
13006
13041
  }
13007
13042
  ],
13008
- "spacing": 6,
13043
+ "spacing": 4,
13009
13044
  "horizontal": false
13010
13045
  }
13011
13046
  },
@@ -13022,7 +13057,7 @@ const SCREENS = runtimeSetting({
13022
13057
  "modifiers": {
13023
13058
  "fillMaxWidth": true,
13024
13059
  "background": {
13025
- "token": "surfaceElevated"
13060
+ "token": "surfacePrimary"
13026
13061
  },
13027
13062
  "border": {
13028
13063
  "width": 1,
@@ -13030,33 +13065,18 @@ const SCREENS = runtimeSetting({
13030
13065
  "token": "border"
13031
13066
  }
13032
13067
  },
13033
- "cornerRadius": 8,
13068
+ "cornerRadius": 12,
13034
13069
  "padding": {
13035
13070
  "leading": 12,
13036
13071
  "trailing": 12,
13037
13072
  "top": 12,
13038
- "bottom": 8
13073
+ "bottom": 12
13039
13074
  },
13040
- "maxWidth": 270
13075
+ "maxWidth": 300
13041
13076
  }
13042
- },
13043
- {
13044
- "id": "himi_business_chat.card_time_$item.id",
13045
- "body": {
13046
- "package": "himalaya",
13047
- "type": "Text",
13048
- "props": {
13049
- "text": "$item.when",
13050
- "style": "caption",
13051
- "color": "textSecondary",
13052
- "collapseWhenEmpty": true,
13053
- "textDirection": "auto"
13054
- }
13055
- },
13056
- "modifiers": {}
13057
13077
  }
13058
13078
  ],
13059
- "spacing": 7,
13079
+ "spacing": 4,
13060
13080
  "alignment": "leading"
13061
13081
  }
13062
13082
  },
@@ -13064,14 +13084,29 @@ const SCREENS = runtimeSetting({
13064
13084
  "fillMaxWidth": true,
13065
13085
  "hiddenPath": "$item.notCard"
13066
13086
  }
13087
+ },
13088
+ {
13089
+ "id": "himi_business_chat.incoming_time_$item.id",
13090
+ "body": {
13091
+ "package": "himalaya",
13092
+ "type": "Text",
13093
+ "props": {
13094
+ "text": "$item.when",
13095
+ "style": "caption",
13096
+ "color": "textTertiary",
13097
+ "collapseWhenEmpty": true,
13098
+ "textDirection": "auto"
13099
+ }
13100
+ },
13101
+ "modifiers": {}
13067
13102
  }
13068
13103
  ],
13069
- "spacing": 0,
13104
+ "spacing": 4,
13070
13105
  "alignment": "leading"
13071
13106
  }
13072
13107
  },
13073
13108
  "modifiers": {
13074
- "fillMaxWidth": true
13109
+ "fillMaxWidth": false
13075
13110
  }
13076
13111
  },
13077
13112
  {
@@ -13084,7 +13119,7 @@ const SCREENS = runtimeSetting({
13084
13119
  "modifiers": {}
13085
13120
  }
13086
13121
  ],
13087
- "spacing": 6,
13122
+ "spacing": 8,
13088
13123
  "alignment": "leading"
13089
13124
  }
13090
13125
  },
@@ -13110,62 +13145,74 @@ const SCREENS = runtimeSetting({
13110
13145
  "modifiers": {}
13111
13146
  },
13112
13147
  {
13113
- "id": "himi_business_chat.outgoing_bubble_$item.id",
13148
+ "id": "himi_business_chat.outgoing_message_$item.id",
13114
13149
  "body": {
13115
13150
  "package": "himalaya",
13116
13151
  "type": "VStack",
13117
13152
  "props": {
13118
13153
  "children": [
13119
13154
  {
13120
- "id": "himi_business_chat.outgoing_sender_$item.id",
13121
- "body": {
13122
- "package": "himalaya",
13123
- "type": "Text",
13124
- "props": {
13125
- "text": "$item.senderName",
13126
- "style": "caption",
13127
- "color": "textOnAccent",
13128
- "collapseWhenEmpty": true,
13129
- "textDirection": "auto"
13130
- }
13131
- },
13132
- "modifiers": {}
13133
- },
13134
- {
13135
- "id": "himi_business_chat.outgoing_attachment_$item.id",
13136
- "body": {
13137
- "package": "himalaya",
13138
- "type": "Image",
13139
- "props": {
13140
- "url": "$item.imageUrl",
13141
- "fillWidth": true,
13142
- "aspectRatio": 1.5,
13143
- "contentMode": "fit",
13144
- "contentDescription": "$item.imageDescription"
13145
- }
13146
- },
13147
- "modifiers": {
13148
- "fillMaxWidth": true,
13149
- "cornerRadius": 12,
13150
- "accessibilityLabel": "$item.imageDescription",
13151
- "hiddenPath": "$item.noImage"
13152
- }
13153
- },
13154
- {
13155
- "id": "himi_business_chat.outgoing_text_$item.id",
13155
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
13156
13156
  "body": {
13157
13157
  "package": "himalaya",
13158
- "type": "Text",
13158
+ "type": "VStack",
13159
13159
  "props": {
13160
- "text": "$item.bodyText",
13161
- "style": "caption",
13162
- "color": "textOnAccent",
13163
- "collapseWhenEmpty": true,
13164
- "textDirection": "auto",
13165
- "maxLines": 1000
13160
+ "children": [
13161
+ {
13162
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
13163
+ "body": {
13164
+ "package": "himalaya",
13165
+ "type": "Image",
13166
+ "props": {
13167
+ "url": "$item.imageUrl",
13168
+ "fillWidth": true,
13169
+ "aspectRatio": 1.5,
13170
+ "contentMode": "fit",
13171
+ "contentDescription": "$item.imageDescription"
13172
+ }
13173
+ },
13174
+ "modifiers": {
13175
+ "fillMaxWidth": true,
13176
+ "cornerRadius": 12,
13177
+ "accessibilityLabel": "$item.imageDescription",
13178
+ "hiddenPath": "$item.noImage"
13179
+ }
13180
+ },
13181
+ {
13182
+ "id": "himi_business_chat.outgoing_text_$item.id",
13183
+ "body": {
13184
+ "package": "himalaya",
13185
+ "type": "Text",
13186
+ "props": {
13187
+ "text": "$item.bodyText",
13188
+ "style": "footnote",
13189
+ "color": "textPrimary",
13190
+ "collapseWhenEmpty": true,
13191
+ "textDirection": "auto",
13192
+ "maxLines": 1000
13193
+ }
13194
+ },
13195
+ "modifiers": {}
13196
+ }
13197
+ ],
13198
+ "spacing": 4,
13199
+ "alignment": "leading"
13166
13200
  }
13167
13201
  },
13168
- "modifiers": {}
13202
+ "modifiers": {
13203
+ "fillMaxWidth": false,
13204
+ "background": {
13205
+ "token": "accentSurface"
13206
+ },
13207
+ "cornerRadius": 12,
13208
+ "padding": {
13209
+ "leading": 16,
13210
+ "trailing": 16,
13211
+ "top": 16,
13212
+ "bottom": 16
13213
+ },
13214
+ "maxWidth": 300
13215
+ }
13169
13216
  },
13170
13217
  {
13171
13218
  "id": "himi_business_chat.outgoing_time_$item.id",
@@ -13175,7 +13222,7 @@ const SCREENS = runtimeSetting({
13175
13222
  "props": {
13176
13223
  "text": "$item.when",
13177
13224
  "style": "caption",
13178
- "color": "textOnAccent",
13225
+ "color": "textTertiary",
13179
13226
  "collapseWhenEmpty": true,
13180
13227
  "textDirection": "auto"
13181
13228
  }
@@ -13183,27 +13230,16 @@ const SCREENS = runtimeSetting({
13183
13230
  "modifiers": {}
13184
13231
  }
13185
13232
  ],
13186
- "spacing": 5,
13187
- "alignment": "leading"
13233
+ "spacing": 4,
13234
+ "alignment": "trailing"
13188
13235
  }
13189
13236
  },
13190
13237
  "modifiers": {
13191
- "fillMaxWidth": true,
13192
- "background": {
13193
- "token": "accentPrimary"
13194
- },
13195
- "cornerRadius": 16,
13196
- "padding": {
13197
- "leading": 8,
13198
- "trailing": 8,
13199
- "top": 8,
13200
- "bottom": 8
13201
- },
13202
- "maxWidth": 300
13238
+ "fillMaxWidth": false
13203
13239
  }
13204
13240
  }
13205
13241
  ],
13206
- "spacing": 6,
13242
+ "spacing": 8,
13207
13243
  "alignment": "leading"
13208
13244
  }
13209
13245
  },
@@ -13213,15 +13249,15 @@ const SCREENS = runtimeSetting({
13213
13249
  }
13214
13250
  }
13215
13251
  ],
13216
- "spacing": 4,
13252
+ "spacing": 8,
13217
13253
  "alignment": "leading"
13218
13254
  }
13219
13255
  },
13220
13256
  "modifiers": {
13221
13257
  "fillMaxWidth": true,
13222
13258
  "padding": {
13223
- "leading": 8,
13224
- "trailing": 8,
13259
+ "leading": 20,
13260
+ "trailing": 20,
13225
13261
  "top": 4,
13226
13262
  "bottom": 4
13227
13263
  }
@@ -13232,6 +13268,139 @@ const SCREENS = runtimeSetting({
13232
13268
  }
13233
13269
  },
13234
13270
  "modifiers": {}
13271
+ },
13272
+ {
13273
+ "id": "himi_business_chat.states",
13274
+ "body": {
13275
+ "package": "himalaya",
13276
+ "type": "VStack",
13277
+ "props": {
13278
+ "children": [
13279
+ {
13280
+ "id": "himi_business_chat.states_top",
13281
+ "body": {
13282
+ "package": "himalaya",
13283
+ "type": "Spacer",
13284
+ "props": {}
13285
+ },
13286
+ "modifiers": {}
13287
+ },
13288
+ {
13289
+ "id": "himi_business_chat.error",
13290
+ "body": {
13291
+ "package": "himalaya",
13292
+ "type": "VStack",
13293
+ "props": {
13294
+ "children": [
13295
+ {
13296
+ "id": "himi_business_chat.error_group",
13297
+ "body": {
13298
+ "package": "himalaya",
13299
+ "type": "VStack",
13300
+ "props": {
13301
+ "children": [
13302
+ {
13303
+ "id": "himi_business_chat.load_error",
13304
+ "body": {
13305
+ "package": "himalaya",
13306
+ "type": "ErrorState",
13307
+ "props": {
13308
+ "variant": "server",
13309
+ "placement": "section",
13310
+ "ctaLabel": "Try Again",
13311
+ "cta": {
13312
+ "actionId": "tier5.businessChat.init"
13313
+ }
13314
+ }
13315
+ },
13316
+ "modifiers": {
13317
+ "hiddenPath": "$service:businessChat.isGuest"
13318
+ }
13319
+ }
13320
+ ],
13321
+ "spacing": 0,
13322
+ "alignment": "leading"
13323
+ }
13324
+ },
13325
+ "modifiers": {
13326
+ "fillMaxWidth": true,
13327
+ "hiddenPath": "$service:businessChat.hideLoadError"
13328
+ }
13329
+ }
13330
+ ],
13331
+ "spacing": 0,
13332
+ "alignment": "leading"
13333
+ }
13334
+ },
13335
+ "modifiers": {
13336
+ "fillMaxWidth": true
13337
+ }
13338
+ },
13339
+ {
13340
+ "id": "himi_business_chat.sign_in",
13341
+ "body": {
13342
+ "package": "himalaya",
13343
+ "type": "ErrorState",
13344
+ "props": {
13345
+ "variant": "signIn",
13346
+ "placement": "section",
13347
+ "title": "Sign in to message the organizers.",
13348
+ "ctaLabel": "Sign In",
13349
+ "cta": {
13350
+ "actionId": "himi.open",
13351
+ "params": {
13352
+ "screenId": "himi_sign_in",
13353
+ "mode": "signin",
13354
+ "modal": "1"
13355
+ },
13356
+ "presentation": "sheet"
13357
+ }
13358
+ }
13359
+ },
13360
+ "modifiers": {
13361
+ "hiddenPath": "$service:businessChat.notGuest"
13362
+ }
13363
+ },
13364
+ {
13365
+ "id": "himi_business_chat.empty",
13366
+ "body": {
13367
+ "package": "himalaya",
13368
+ "type": "EmptyState",
13369
+ "props": {
13370
+ "icon": "chat",
13371
+ "title": "Message the organizers",
13372
+ "subtitle": "Ask about tickets, the venue or the agenda."
13373
+ }
13374
+ },
13375
+ "modifiers": {
13376
+ "padding": {
13377
+ "leading": 20,
13378
+ "trailing": 20,
13379
+ "top": 24,
13380
+ "bottom": 24
13381
+ },
13382
+ "hiddenPath": "$service:businessChat.noEmpty"
13383
+ }
13384
+ },
13385
+ {
13386
+ "id": "himi_business_chat.states_bottom",
13387
+ "body": {
13388
+ "package": "himalaya",
13389
+ "type": "Spacer",
13390
+ "props": {}
13391
+ },
13392
+ "modifiers": {}
13393
+ }
13394
+ ],
13395
+ "spacing": 0,
13396
+ "alignment": "center"
13397
+ }
13398
+ },
13399
+ "modifiers": {
13400
+ "fillMaxWidth": true,
13401
+ "weight": 1,
13402
+ "hiddenPath": "$service:businessChat.hasMessages"
13403
+ }
13235
13404
  }
13236
13405
  ],
13237
13406
  "spacing": 0,
@@ -13241,7 +13410,7 @@ const SCREENS = runtimeSetting({
13241
13410
  "modifiers": {
13242
13411
  "fillMaxWidth": true,
13243
13412
  "background": {
13244
- "token": "surfaceSecondary"
13413
+ "token": "surfacePrimary"
13245
13414
  },
13246
13415
  "onAppear": {
13247
13416
  "actionId": "tier5.businessChat.init",
@@ -13299,94 +13468,6 @@ const SCREENS = runtimeSetting({
13299
13468
  "minBinaryVersion": "0.1.0",
13300
13469
  "bundleVersion": "0.1.0"
13301
13470
  },
13302
- "stickyHeader": {
13303
- "id": "himi_business_chat.header",
13304
- "body": {
13305
- "package": "himalaya",
13306
- "type": "HStack",
13307
- "props": {
13308
- "children": [
13309
- {
13310
- "id": "himi_business_chat.header_title",
13311
- "body": {
13312
- "package": "himalaya",
13313
- "type": "Text",
13314
- "props": {
13315
- "text": "CRTVTY/CON",
13316
- "style": "title3",
13317
- "color": "textOnAccent",
13318
- "collapseWhenEmpty": true,
13319
- "textDirection": "auto",
13320
- "maxLines": 1
13321
- }
13322
- },
13323
- "modifiers": {
13324
- "hiddenPath": "$service:businessChat.hasHostedName"
13325
- }
13326
- },
13327
- {
13328
- "id": "himi_business_chat.header_title_hosted",
13329
- "body": {
13330
- "package": "himalaya",
13331
- "type": "Text",
13332
- "props": {
13333
- "text": "$service:businessChat.hostedName",
13334
- "style": "title3",
13335
- "color": "textOnAccent",
13336
- "collapseWhenEmpty": true,
13337
- "textDirection": "auto",
13338
- "maxLines": 1
13339
- }
13340
- },
13341
- "modifiers": {
13342
- "hiddenPath": "$service:businessChat.noHostedName"
13343
- }
13344
- },
13345
- {
13346
- "id": "himi_business_chat.header_spacer",
13347
- "body": {
13348
- "package": "himalaya",
13349
- "type": "Spacer",
13350
- "props": {}
13351
- },
13352
- "modifiers": {}
13353
- },
13354
- {
13355
- "id": "himi_business_chat.live_status",
13356
- "body": {
13357
- "package": "himalaya",
13358
- "type": "Text",
13359
- "props": {
13360
- "text": "$service:businessChat.liveLabel",
13361
- "style": "caption",
13362
- "color": "textOnAccent",
13363
- "collapseWhenEmpty": true,
13364
- "textDirection": "auto",
13365
- "maxLines": 1
13366
- }
13367
- },
13368
- "modifiers": {
13369
- "hiddenPath": "$service:businessChat.noActiveRoom"
13370
- }
13371
- }
13372
- ],
13373
- "spacing": 8,
13374
- "alignment": "leading"
13375
- }
13376
- },
13377
- "modifiers": {
13378
- "fillMaxWidth": true,
13379
- "background": {
13380
- "token": "accentPrimary"
13381
- },
13382
- "padding": {
13383
- "leading": 16,
13384
- "trailing": 16,
13385
- "top": 12,
13386
- "bottom": 12
13387
- }
13388
- }
13389
- },
13390
13471
  "stickyFooter": {
13391
13472
  "id": "himi_business_chat.footer",
13392
13473
  "body": {
@@ -13423,7 +13504,7 @@ const SCREENS = runtimeSetting({
13423
13504
  "type": "Text",
13424
13505
  "props": {
13425
13506
  "text": "$item.label",
13426
- "style": "caption",
13507
+ "style": "footnote",
13427
13508
  "color": "accentPrimary",
13428
13509
  "collapseWhenEmpty": true,
13429
13510
  "textDirection": "auto",
@@ -13439,12 +13520,12 @@ const SCREENS = runtimeSetting({
13439
13520
  },
13440
13521
  "modifiers": {
13441
13522
  "fillMaxWidth": false,
13442
- "cornerRadius": 12,
13523
+ "cornerRadius": 999,
13443
13524
  "padding": {
13444
- "leading": 10,
13445
- "trailing": 10,
13446
- "top": 5,
13447
- "bottom": 5
13525
+ "leading": 12,
13526
+ "trailing": 12,
13527
+ "top": 8,
13528
+ "bottom": 8
13448
13529
  },
13449
13530
  "background": {
13450
13531
  "token": "accentSurface"
@@ -13474,8 +13555,8 @@ const SCREENS = runtimeSetting({
13474
13555
  "type": "Text",
13475
13556
  "props": {
13476
13557
  "text": "$item.label",
13477
- "style": "caption",
13478
- "color": "textSecondary",
13558
+ "style": "footnote",
13559
+ "color": "textTertiary",
13479
13560
  "collapseWhenEmpty": true,
13480
13561
  "textDirection": "auto",
13481
13562
  "maxLines": 1
@@ -13490,12 +13571,12 @@ const SCREENS = runtimeSetting({
13490
13571
  },
13491
13572
  "modifiers": {
13492
13573
  "fillMaxWidth": false,
13493
- "cornerRadius": 12,
13574
+ "cornerRadius": 999,
13494
13575
  "padding": {
13495
- "leading": 10,
13496
- "trailing": 10,
13497
- "top": 5,
13498
- "bottom": 5
13576
+ "leading": 12,
13577
+ "trailing": 12,
13578
+ "top": 8,
13579
+ "bottom": 8
13499
13580
  },
13500
13581
  "background": {
13501
13582
  "token": "surfaceSecondary"
@@ -13519,7 +13600,116 @@ const SCREENS = runtimeSetting({
13519
13600
  },
13520
13601
  "modifiers": {
13521
13602
  "fillMaxWidth": true,
13522
- "hiddenPath": "$service:businessChat.noQuickReplies"
13603
+ "hiddenPath": "$service:businessChat.noQuickReplies",
13604
+ "padding": {
13605
+ "leading": 20,
13606
+ "trailing": 20,
13607
+ "top": 8,
13608
+ "bottom": 8
13609
+ }
13610
+ }
13611
+ },
13612
+ {
13613
+ "id": "himi_business_chat.divider",
13614
+ "body": {
13615
+ "package": "himalaya",
13616
+ "type": "Divider",
13617
+ "props": {}
13618
+ }
13619
+ },
13620
+ {
13621
+ "id": "himi_business_chat.live_status",
13622
+ "body": {
13623
+ "package": "himalaya",
13624
+ "type": "Text",
13625
+ "props": {
13626
+ "text": "$service:businessChat.liveLabel",
13627
+ "style": "caption",
13628
+ "color": "textSecondary",
13629
+ "collapseWhenEmpty": true,
13630
+ "textDirection": "auto",
13631
+ "maxLines": 3
13632
+ }
13633
+ },
13634
+ "modifiers": {
13635
+ "hiddenPath": "$service:businessChat.noLiveLabel",
13636
+ "padding": {
13637
+ "leading": 20,
13638
+ "trailing": 20,
13639
+ "top": 8
13640
+ }
13641
+ }
13642
+ },
13643
+ {
13644
+ "id": "himi_business_chat.notice",
13645
+ "body": {
13646
+ "package": "himalaya",
13647
+ "type": "Text",
13648
+ "props": {
13649
+ "text": "$service:businessChat.noticeText",
13650
+ "style": "caption",
13651
+ "color": "danger",
13652
+ "collapseWhenEmpty": true,
13653
+ "textDirection": "auto",
13654
+ "maxLines": 3
13655
+ }
13656
+ },
13657
+ "modifiers": {
13658
+ "hiddenPath": "$service:businessChat.noErrorNotice",
13659
+ "padding": {
13660
+ "leading": 20,
13661
+ "trailing": 20,
13662
+ "top": 8
13663
+ }
13664
+ }
13665
+ },
13666
+ {
13667
+ "id": "himi_business_chat.notice_info",
13668
+ "body": {
13669
+ "package": "himalaya",
13670
+ "type": "Text",
13671
+ "props": {
13672
+ "text": "$service:businessChat.noticeText",
13673
+ "style": "caption",
13674
+ "color": "textSecondary",
13675
+ "collapseWhenEmpty": true,
13676
+ "textDirection": "auto",
13677
+ "maxLines": 3
13678
+ }
13679
+ },
13680
+ "modifiers": {
13681
+ "hiddenPath": "$service:businessChat.noInfoNotice",
13682
+ "padding": {
13683
+ "leading": 20,
13684
+ "trailing": 20,
13685
+ "top": 8
13686
+ }
13687
+ }
13688
+ },
13689
+ {
13690
+ "id": "himi_business_chat.retry",
13691
+ "body": {
13692
+ "package": "himalaya",
13693
+ "type": "Text",
13694
+ "props": {
13695
+ "text": "Try Again",
13696
+ "style": "footnote",
13697
+ "color": "accentPrimary",
13698
+ "collapseWhenEmpty": true,
13699
+ "textDirection": "auto"
13700
+ }
13701
+ },
13702
+ "modifiers": {
13703
+ "onTap": {
13704
+ "actionId": "tier5.businessChat.init"
13705
+ },
13706
+ "accessibilityRole": "button",
13707
+ "padding": {
13708
+ "leading": 20,
13709
+ "trailing": 20,
13710
+ "top": 4
13711
+ },
13712
+ "hiddenPath": "$service:businessChat.retryHidden"
13523
13713
  }
13524
13714
  },
13525
13715
  {
@@ -13530,72 +13720,37 @@ const SCREENS = runtimeSetting({
13530
13720
  "props": {
13531
13721
  "children": [
13532
13722
  {
13533
- "id": "himi_business_chat.draft_shell",
13723
+ "id": "himi_business_chat.draft",
13534
13724
  "body": {
13535
13725
  "package": "himalaya",
13536
- "type": "ZStack",
13726
+ "type": "TextField",
13537
13727
  "props": {
13538
- "alignment": "center",
13539
- "children": [
13540
- {
13541
- "id": "himi_business_chat.draft_outline",
13542
- "body": {
13543
- "package": "himalaya",
13544
- "type": "VStack",
13545
- "props": {
13546
- "children": [],
13547
- "spacing": 0,
13548
- "alignment": "leading"
13549
- }
13550
- },
13551
- "modifiers": {
13552
- "fillMaxWidth": true,
13553
- "height": 40,
13554
- "background": {
13555
- "token": "surfacePrimary"
13556
- },
13557
- "cornerRadius": 20,
13558
- "border": {
13559
- "width": 1,
13560
- "color": {
13561
- "token": "border"
13562
- }
13563
- }
13564
- }
13565
- },
13566
- {
13567
- "id": "himi_business_chat.draft",
13568
- "body": {
13569
- "package": "himalaya",
13570
- "type": "TextField",
13571
- "props": {
13572
- "valuePath": "$service:businessChat.draft",
13573
- "onChange": {
13574
- "actionId": "tier5.businessChat.setDraft"
13575
- },
13576
- "placeholder": "Type your message…",
13577
- "maxLength": 4000,
13578
- "multilineMaxLines": 1,
13579
- "borderless": true
13580
- }
13581
- },
13582
- "modifiers": {
13583
- "fillMaxWidth": true,
13584
- "accessibilityLabel": "Type your message",
13585
- "padding": {
13586
- "leading": 8,
13587
- "trailing": 8,
13588
- "top": 0,
13589
- "bottom": 0
13590
- }
13591
- }
13592
- }
13593
- ]
13728
+ "valuePath": "$service:businessChat.draft",
13729
+ "onChange": {
13730
+ "actionId": "tier5.businessChat.setDraft"
13731
+ },
13732
+ "onSubmit": {
13733
+ "actionId": "tier5.businessChat.send"
13734
+ },
13735
+ "submitLabel": "send",
13736
+ "placeholder": "Type your message…",
13737
+ "maxLength": 4000,
13738
+ "multilineMaxLines": 1,
13739
+ "borderless": true
13594
13740
  }
13595
13741
  },
13596
13742
  "modifiers": {
13597
13743
  "weight": 1,
13598
- "fillMaxWidth": true
13744
+ "height": 44,
13745
+ "accessibilityLabel": "Type your message",
13746
+ "background": {
13747
+ "token": "surfaceSecondary"
13748
+ },
13749
+ "cornerRadius": 999,
13750
+ "padding": {
13751
+ "leading": 16,
13752
+ "trailing": 8
13753
+ }
13599
13754
  }
13600
13755
  },
13601
13756
  {
@@ -13619,11 +13774,11 @@ const SCREENS = runtimeSetting({
13619
13774
  },
13620
13775
  "modifiers": {
13621
13776
  "accessibilityRole": "decorative",
13622
- "width": 40,
13623
- "height": 40,
13624
- "cornerRadius": 20,
13777
+ "width": 44,
13778
+ "height": 44,
13779
+ "cornerRadius": 999,
13625
13780
  "background": {
13626
- "token": "surfaceSecondary"
13781
+ "token": "surfaceTertiary"
13627
13782
  }
13628
13783
  }
13629
13784
  },
@@ -13640,9 +13795,9 @@ const SCREENS = runtimeSetting({
13640
13795
  },
13641
13796
  "modifiers": {
13642
13797
  "accessibilityRole": "button",
13643
- "width": 40,
13644
- "height": 40,
13645
- "cornerRadius": 20,
13798
+ "width": 44,
13799
+ "height": 44,
13800
+ "cornerRadius": 999,
13646
13801
  "background": {
13647
13802
  "token": "accentPrimary"
13648
13803
  },
@@ -13657,22 +13812,22 @@ const SCREENS = runtimeSetting({
13657
13812
  }
13658
13813
  },
13659
13814
  "modifiers": {
13660
- "width": 40,
13661
- "height": 40
13815
+ "width": 44,
13816
+ "height": 44
13662
13817
  }
13663
13818
  }
13664
13819
  ],
13665
- "spacing": 6,
13820
+ "spacing": 8,
13666
13821
  "alignment": "center"
13667
13822
  }
13668
13823
  },
13669
13824
  "modifiers": {
13670
13825
  "fillMaxWidth": true,
13671
13826
  "padding": {
13672
- "leading": 8,
13673
- "trailing": 8,
13674
- "top": 0,
13675
- "bottom": 0
13827
+ "leading": 20,
13828
+ "trailing": 20,
13829
+ "top": 8,
13830
+ "bottom": 8
13676
13831
  }
13677
13832
  }
13678
13833
  }
@@ -13686,12 +13841,6 @@ const SCREENS = runtimeSetting({
13686
13841
  "hiddenPath": "$service:businessChat.isGuest",
13687
13842
  "background": {
13688
13843
  "token": "surfacePrimary"
13689
- },
13690
- "padding": {
13691
- "leading": 0,
13692
- "trailing": 0,
13693
- "top": 4,
13694
- "bottom": 0
13695
13844
  }
13696
13845
  }
13697
13846
  },