@wix/himalaya-cli 0.1869.0 → 0.1871.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 (337) hide show
  1. package/dist/browser-plane/assets.json +5 -5
  2. package/dist/browser-plane/preview-deferred/{fb2b059338baac28265ef57c60a2934572de24f5f84471859dd358f474ca6d4a.bin → ab91dfb9c348c8c78f942a5b88ba90df456c5b436e135d97791d5dd95d6a40dc.bin} +1 -1
  3. package/dist/browser-plane/sw.js +9 -9
  4. package/dist/cli.mjs +40 -41
  5. package/dist/preview-assets.generated.bin +0 -0
  6. package/guides/android-ux.md +3 -2
  7. package/guides/designing-himi-screens.md +10 -4
  8. package/guides/ios-ux.md +3 -2
  9. package/guides/release-notes.md +28 -0
  10. package/package.json +2 -2
  11. package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +6 -1
  12. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +6 -1
  13. package/templates/beauty-salon/tier5-src/_shared/himi-events.ts +27 -0
  14. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +6 -1
  15. package/templates/beauty-salon-owner/tier5-src/_shared/himi-events.ts +27 -0
  16. package/templates/branded-lite/dev/index.ts +20 -0
  17. package/templates/branded-lite/l10n/ar.json +10 -0
  18. package/templates/branded-lite/l10n/cs.json +10 -0
  19. package/templates/branded-lite/l10n/da.json +10 -0
  20. package/templates/branded-lite/l10n/de.json +10 -0
  21. package/templates/branded-lite/l10n/el.json +10 -0
  22. package/templates/branded-lite/l10n/es.json +10 -0
  23. package/templates/branded-lite/l10n/fi.json +10 -0
  24. package/templates/branded-lite/l10n/fr.json +10 -0
  25. package/templates/branded-lite/l10n/he.json +8 -0
  26. package/templates/branded-lite/l10n/hu.json +10 -0
  27. package/templates/branded-lite/l10n/id.json +10 -0
  28. package/templates/branded-lite/l10n/it.json +10 -0
  29. package/templates/branded-lite/l10n/ja.json +10 -0
  30. package/templates/branded-lite/l10n/ko.json +10 -0
  31. package/templates/branded-lite/l10n/lt.json +10 -0
  32. package/templates/branded-lite/l10n/nl.json +10 -0
  33. package/templates/branded-lite/l10n/no.json +10 -0
  34. package/templates/branded-lite/l10n/pl.json +10 -0
  35. package/templates/branded-lite/l10n/pt.json +10 -0
  36. package/templates/branded-lite/l10n/ru.json +10 -0
  37. package/templates/branded-lite/l10n/sv.json +10 -0
  38. package/templates/branded-lite/l10n/th.json +10 -0
  39. package/templates/branded-lite/l10n/tr.json +10 -0
  40. package/templates/branded-lite/l10n/uk.json +10 -0
  41. package/templates/branded-lite/l10n/vi.json +10 -0
  42. package/templates/branded-lite/l10n/zh.json +10 -0
  43. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +6 -1
  44. package/templates/branded-lite/tier5-src/_shared/himi-events.ts +27 -0
  45. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +3 -1
  46. package/templates/branded-lite/tier5-src/himi-events-list/index.ts +33 -7
  47. package/templates/branded-lite/tier5-src/himi-events-my-events/index.ts +4 -2
  48. package/templates/brandy/tier5-src/_shared/collection-contract.ts +6 -1
  49. package/templates/community-club/dev/index.ts +20 -0
  50. package/templates/community-club/l10n/ar.json +10 -0
  51. package/templates/community-club/l10n/cs.json +10 -0
  52. package/templates/community-club/l10n/da.json +10 -0
  53. package/templates/community-club/l10n/de.json +10 -0
  54. package/templates/community-club/l10n/el.json +10 -0
  55. package/templates/community-club/l10n/es.json +10 -0
  56. package/templates/community-club/l10n/fi.json +10 -0
  57. package/templates/community-club/l10n/fr.json +10 -0
  58. package/templates/community-club/l10n/he.json +8 -0
  59. package/templates/community-club/l10n/hu.json +10 -0
  60. package/templates/community-club/l10n/id.json +10 -0
  61. package/templates/community-club/l10n/it.json +10 -0
  62. package/templates/community-club/l10n/ja.json +10 -0
  63. package/templates/community-club/l10n/ko.json +10 -0
  64. package/templates/community-club/l10n/lt.json +10 -0
  65. package/templates/community-club/l10n/nl.json +10 -0
  66. package/templates/community-club/l10n/no.json +10 -0
  67. package/templates/community-club/l10n/pl.json +10 -0
  68. package/templates/community-club/l10n/pt.json +10 -0
  69. package/templates/community-club/l10n/ru.json +10 -0
  70. package/templates/community-club/l10n/sv.json +10 -0
  71. package/templates/community-club/l10n/th.json +10 -0
  72. package/templates/community-club/l10n/tr.json +10 -0
  73. package/templates/community-club/l10n/uk.json +10 -0
  74. package/templates/community-club/l10n/vi.json +10 -0
  75. package/templates/community-club/l10n/zh.json +10 -0
  76. package/templates/community-club/tier5-src/_shared/collection-contract.ts +6 -1
  77. package/templates/community-club/tier5-src/_shared/himi-events.ts +27 -0
  78. package/templates/community-club/tier5-src/himi-events-detail/index.ts +3 -1
  79. package/templates/community-club/tier5-src/himi-events-list/index.ts +33 -7
  80. package/templates/community-club/tier5-src/himi-events-my-events/index.ts +4 -2
  81. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +6 -1
  82. package/templates/community-club-owner/tier5-src/_shared/himi-events.ts +27 -0
  83. package/templates/conference/dev/index.ts +20 -0
  84. package/templates/conference/tier5-src/_shared/collection-contract.ts +6 -1
  85. package/templates/conference/tier5-src/_shared/himi-events.ts +27 -0
  86. package/templates/conference/tier5-src/himi-events-detail/index.ts +3 -1
  87. package/templates/conference/tier5-src/himi-events-list/index.ts +33 -7
  88. package/templates/conference/tier5-src/himi-events-my-events/index.ts +4 -2
  89. package/templates/events-meetups/dev/index.ts +20 -0
  90. package/templates/events-meetups/l10n/ar.json +10 -0
  91. package/templates/events-meetups/l10n/cs.json +10 -0
  92. package/templates/events-meetups/l10n/da.json +10 -0
  93. package/templates/events-meetups/l10n/de.json +10 -0
  94. package/templates/events-meetups/l10n/el.json +10 -0
  95. package/templates/events-meetups/l10n/es.json +10 -0
  96. package/templates/events-meetups/l10n/fi.json +10 -0
  97. package/templates/events-meetups/l10n/fr.json +10 -0
  98. package/templates/events-meetups/l10n/he.json +8 -0
  99. package/templates/events-meetups/l10n/hu.json +10 -0
  100. package/templates/events-meetups/l10n/id.json +10 -0
  101. package/templates/events-meetups/l10n/it.json +10 -0
  102. package/templates/events-meetups/l10n/ja.json +10 -0
  103. package/templates/events-meetups/l10n/ko.json +10 -0
  104. package/templates/events-meetups/l10n/lt.json +10 -0
  105. package/templates/events-meetups/l10n/nl.json +10 -0
  106. package/templates/events-meetups/l10n/no.json +10 -0
  107. package/templates/events-meetups/l10n/pl.json +10 -0
  108. package/templates/events-meetups/l10n/pt.json +10 -0
  109. package/templates/events-meetups/l10n/ru.json +10 -0
  110. package/templates/events-meetups/l10n/sv.json +10 -0
  111. package/templates/events-meetups/l10n/th.json +10 -0
  112. package/templates/events-meetups/l10n/tr.json +10 -0
  113. package/templates/events-meetups/l10n/uk.json +10 -0
  114. package/templates/events-meetups/l10n/vi.json +10 -0
  115. package/templates/events-meetups/l10n/zh.json +10 -0
  116. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +6 -1
  117. package/templates/events-meetups/tier5-src/_shared/himi-events.ts +27 -0
  118. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +3 -1
  119. package/templates/events-meetups/tier5-src/himi-events-list/index.ts +33 -7
  120. package/templates/events-meetups/tier5-src/himi-events-my-events/index.ts +4 -2
  121. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +6 -1
  122. package/templates/events-meetups-owner/tier5-src/_shared/himi-events.ts +27 -0
  123. package/templates/fitness-gym/tier5-src/_shared/collection-contract.ts +6 -1
  124. package/templates/gym-fitness/dev/index.ts +20 -0
  125. package/templates/gym-fitness/l10n/ar.json +10 -0
  126. package/templates/gym-fitness/l10n/cs.json +10 -0
  127. package/templates/gym-fitness/l10n/da.json +10 -0
  128. package/templates/gym-fitness/l10n/de.json +10 -0
  129. package/templates/gym-fitness/l10n/el.json +10 -0
  130. package/templates/gym-fitness/l10n/es.json +10 -0
  131. package/templates/gym-fitness/l10n/fi.json +10 -0
  132. package/templates/gym-fitness/l10n/fr.json +10 -0
  133. package/templates/gym-fitness/l10n/he.json +8 -0
  134. package/templates/gym-fitness/l10n/hu.json +10 -0
  135. package/templates/gym-fitness/l10n/id.json +10 -0
  136. package/templates/gym-fitness/l10n/it.json +10 -0
  137. package/templates/gym-fitness/l10n/ja.json +10 -0
  138. package/templates/gym-fitness/l10n/ko.json +10 -0
  139. package/templates/gym-fitness/l10n/lt.json +10 -0
  140. package/templates/gym-fitness/l10n/nl.json +10 -0
  141. package/templates/gym-fitness/l10n/no.json +10 -0
  142. package/templates/gym-fitness/l10n/pl.json +10 -0
  143. package/templates/gym-fitness/l10n/pt.json +10 -0
  144. package/templates/gym-fitness/l10n/ru.json +10 -0
  145. package/templates/gym-fitness/l10n/sv.json +10 -0
  146. package/templates/gym-fitness/l10n/th.json +10 -0
  147. package/templates/gym-fitness/l10n/tr.json +10 -0
  148. package/templates/gym-fitness/l10n/uk.json +10 -0
  149. package/templates/gym-fitness/l10n/vi.json +10 -0
  150. package/templates/gym-fitness/l10n/zh.json +10 -0
  151. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +6 -1
  152. package/templates/gym-fitness/tier5-src/_shared/himi-events.ts +27 -0
  153. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +3 -1
  154. package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +33 -7
  155. package/templates/gym-fitness/tier5-src/himi-events-my-events/index.ts +4 -2
  156. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +6 -1
  157. package/templates/gym-fitness-owner/tier5-src/_shared/himi-events.ts +27 -0
  158. package/templates/medical-services/tier5-src/_shared/collection-contract.ts +6 -1
  159. package/templates/nonprofit-cause/dev/index.ts +20 -0
  160. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  161. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  162. package/templates/nonprofit-cause/l10n/da.json +10 -0
  163. package/templates/nonprofit-cause/l10n/de.json +10 -0
  164. package/templates/nonprofit-cause/l10n/el.json +10 -0
  165. package/templates/nonprofit-cause/l10n/es.json +10 -0
  166. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  167. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  168. package/templates/nonprofit-cause/l10n/he.json +8 -0
  169. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  170. package/templates/nonprofit-cause/l10n/id.json +10 -0
  171. package/templates/nonprofit-cause/l10n/it.json +10 -0
  172. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  173. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  174. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  175. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  176. package/templates/nonprofit-cause/l10n/no.json +10 -0
  177. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  178. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  179. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  180. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  181. package/templates/nonprofit-cause/l10n/th.json +10 -0
  182. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  183. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  184. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  185. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  186. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +6 -1
  187. package/templates/nonprofit-cause/tier5-src/_shared/himi-events.ts +27 -0
  188. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +3 -1
  189. package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +33 -7
  190. package/templates/nonprofit-cause/tier5-src/himi-events-my-events/index.ts +4 -2
  191. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +6 -1
  192. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-events.ts +27 -0
  193. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +6 -1
  194. package/templates/owner-lite/tier5-src/_shared/himi-events.ts +27 -0
  195. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-contract.ts +6 -1
  196. package/templates/podcast-creator/dev/index.ts +20 -0
  197. package/templates/podcast-creator/l10n/ar.json +10 -0
  198. package/templates/podcast-creator/l10n/cs.json +10 -0
  199. package/templates/podcast-creator/l10n/da.json +10 -0
  200. package/templates/podcast-creator/l10n/de.json +10 -0
  201. package/templates/podcast-creator/l10n/el.json +10 -0
  202. package/templates/podcast-creator/l10n/es.json +10 -0
  203. package/templates/podcast-creator/l10n/fi.json +10 -0
  204. package/templates/podcast-creator/l10n/fr.json +10 -0
  205. package/templates/podcast-creator/l10n/he.json +8 -0
  206. package/templates/podcast-creator/l10n/hu.json +10 -0
  207. package/templates/podcast-creator/l10n/id.json +10 -0
  208. package/templates/podcast-creator/l10n/it.json +10 -0
  209. package/templates/podcast-creator/l10n/ja.json +10 -0
  210. package/templates/podcast-creator/l10n/ko.json +10 -0
  211. package/templates/podcast-creator/l10n/lt.json +10 -0
  212. package/templates/podcast-creator/l10n/nl.json +10 -0
  213. package/templates/podcast-creator/l10n/no.json +10 -0
  214. package/templates/podcast-creator/l10n/pl.json +10 -0
  215. package/templates/podcast-creator/l10n/pt.json +10 -0
  216. package/templates/podcast-creator/l10n/ru.json +10 -0
  217. package/templates/podcast-creator/l10n/sv.json +10 -0
  218. package/templates/podcast-creator/l10n/th.json +10 -0
  219. package/templates/podcast-creator/l10n/tr.json +10 -0
  220. package/templates/podcast-creator/l10n/uk.json +10 -0
  221. package/templates/podcast-creator/l10n/vi.json +10 -0
  222. package/templates/podcast-creator/l10n/zh.json +10 -0
  223. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +6 -1
  224. package/templates/podcast-creator/tier5-src/_shared/himi-events.ts +27 -0
  225. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +3 -1
  226. package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +33 -7
  227. package/templates/podcast-creator/tier5-src/himi-events-my-events/index.ts +4 -2
  228. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +6 -1
  229. package/templates/podcast-creator-owner/tier5-src/_shared/himi-events.ts +27 -0
  230. package/templates/portfolio-creative/dev/index.ts +20 -0
  231. package/templates/portfolio-creative/l10n/ar.json +10 -0
  232. package/templates/portfolio-creative/l10n/cs.json +10 -0
  233. package/templates/portfolio-creative/l10n/da.json +10 -0
  234. package/templates/portfolio-creative/l10n/de.json +10 -0
  235. package/templates/portfolio-creative/l10n/el.json +10 -0
  236. package/templates/portfolio-creative/l10n/es.json +10 -0
  237. package/templates/portfolio-creative/l10n/fi.json +10 -0
  238. package/templates/portfolio-creative/l10n/fr.json +10 -0
  239. package/templates/portfolio-creative/l10n/he.json +8 -0
  240. package/templates/portfolio-creative/l10n/hu.json +10 -0
  241. package/templates/portfolio-creative/l10n/id.json +10 -0
  242. package/templates/portfolio-creative/l10n/it.json +10 -0
  243. package/templates/portfolio-creative/l10n/ja.json +10 -0
  244. package/templates/portfolio-creative/l10n/ko.json +10 -0
  245. package/templates/portfolio-creative/l10n/lt.json +10 -0
  246. package/templates/portfolio-creative/l10n/nl.json +10 -0
  247. package/templates/portfolio-creative/l10n/no.json +10 -0
  248. package/templates/portfolio-creative/l10n/pl.json +10 -0
  249. package/templates/portfolio-creative/l10n/pt.json +10 -0
  250. package/templates/portfolio-creative/l10n/ru.json +10 -0
  251. package/templates/portfolio-creative/l10n/sv.json +10 -0
  252. package/templates/portfolio-creative/l10n/th.json +10 -0
  253. package/templates/portfolio-creative/l10n/tr.json +10 -0
  254. package/templates/portfolio-creative/l10n/uk.json +10 -0
  255. package/templates/portfolio-creative/l10n/vi.json +10 -0
  256. package/templates/portfolio-creative/l10n/zh.json +10 -0
  257. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +6 -1
  258. package/templates/portfolio-creative/tier5-src/_shared/himi-events.ts +27 -0
  259. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +3 -1
  260. package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +33 -7
  261. package/templates/portfolio-creative/tier5-src/himi-events-my-events/index.ts +4 -2
  262. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +6 -1
  263. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-events.ts +27 -0
  264. package/templates/restaurant/dev/index.ts +20 -0
  265. package/templates/restaurant/l10n/ar.json +10 -0
  266. package/templates/restaurant/l10n/cs.json +10 -0
  267. package/templates/restaurant/l10n/da.json +10 -0
  268. package/templates/restaurant/l10n/de.json +10 -0
  269. package/templates/restaurant/l10n/el.json +10 -0
  270. package/templates/restaurant/l10n/es.json +10 -0
  271. package/templates/restaurant/l10n/fi.json +10 -0
  272. package/templates/restaurant/l10n/fr.json +10 -0
  273. package/templates/restaurant/l10n/he.json +8 -0
  274. package/templates/restaurant/l10n/hu.json +10 -0
  275. package/templates/restaurant/l10n/id.json +10 -0
  276. package/templates/restaurant/l10n/it.json +10 -0
  277. package/templates/restaurant/l10n/ja.json +10 -0
  278. package/templates/restaurant/l10n/ko.json +10 -0
  279. package/templates/restaurant/l10n/lt.json +10 -0
  280. package/templates/restaurant/l10n/nl.json +10 -0
  281. package/templates/restaurant/l10n/no.json +10 -0
  282. package/templates/restaurant/l10n/pl.json +10 -0
  283. package/templates/restaurant/l10n/pt.json +10 -0
  284. package/templates/restaurant/l10n/ru.json +10 -0
  285. package/templates/restaurant/l10n/sv.json +10 -0
  286. package/templates/restaurant/l10n/th.json +10 -0
  287. package/templates/restaurant/l10n/tr.json +10 -0
  288. package/templates/restaurant/l10n/uk.json +10 -0
  289. package/templates/restaurant/l10n/vi.json +10 -0
  290. package/templates/restaurant/l10n/zh.json +10 -0
  291. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +6 -1
  292. package/templates/restaurant/tier5-src/_shared/himi-events.ts +27 -0
  293. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +3 -1
  294. package/templates/restaurant/tier5-src/himi-events-list/index.ts +33 -7
  295. package/templates/restaurant/tier5-src/himi-events-my-events/index.ts +4 -2
  296. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +6 -1
  297. package/templates/restaurant-owner/tier5-src/_shared/himi-events.ts +27 -0
  298. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +6 -1
  299. package/templates/retail-store/tier5-src/_shared/himi-events.ts +27 -0
  300. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +6 -1
  301. package/templates/retail-store-owner/tier5-src/_shared/himi-events.ts +27 -0
  302. package/templates/salon-spa/tier5-src/_shared/collection-contract.ts +6 -1
  303. package/templates/wholesale-store/tier5-src/_shared/collection-contract.ts +6 -1
  304. package/templates/yoga-studio/dev/index.ts +20 -0
  305. package/templates/yoga-studio/l10n/ar.json +10 -0
  306. package/templates/yoga-studio/l10n/cs.json +10 -0
  307. package/templates/yoga-studio/l10n/da.json +10 -0
  308. package/templates/yoga-studio/l10n/de.json +10 -0
  309. package/templates/yoga-studio/l10n/el.json +10 -0
  310. package/templates/yoga-studio/l10n/es.json +10 -0
  311. package/templates/yoga-studio/l10n/fi.json +10 -0
  312. package/templates/yoga-studio/l10n/fr.json +10 -0
  313. package/templates/yoga-studio/l10n/he.json +8 -0
  314. package/templates/yoga-studio/l10n/hu.json +10 -0
  315. package/templates/yoga-studio/l10n/id.json +10 -0
  316. package/templates/yoga-studio/l10n/it.json +10 -0
  317. package/templates/yoga-studio/l10n/ja.json +10 -0
  318. package/templates/yoga-studio/l10n/ko.json +10 -0
  319. package/templates/yoga-studio/l10n/lt.json +10 -0
  320. package/templates/yoga-studio/l10n/nl.json +10 -0
  321. package/templates/yoga-studio/l10n/no.json +10 -0
  322. package/templates/yoga-studio/l10n/pl.json +10 -0
  323. package/templates/yoga-studio/l10n/pt.json +10 -0
  324. package/templates/yoga-studio/l10n/ru.json +10 -0
  325. package/templates/yoga-studio/l10n/sv.json +10 -0
  326. package/templates/yoga-studio/l10n/th.json +10 -0
  327. package/templates/yoga-studio/l10n/tr.json +10 -0
  328. package/templates/yoga-studio/l10n/uk.json +10 -0
  329. package/templates/yoga-studio/l10n/vi.json +10 -0
  330. package/templates/yoga-studio/l10n/zh.json +10 -0
  331. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +6 -1
  332. package/templates/yoga-studio/tier5-src/_shared/himi-events.ts +27 -0
  333. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +3 -1
  334. package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +33 -7
  335. package/templates/yoga-studio/tier5-src/himi-events-my-events/index.ts +4 -2
  336. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +6 -1
  337. package/templates/yoga-studio-owner/tier5-src/_shared/himi-events.ts +27 -0
package/dist/cli.mjs CHANGED
@@ -4452,7 +4452,6 @@ var init_himi_package = __esm({
4452
4452
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
4453
4453
  var init_icon_catalog_generated = __esm({
4454
4454
  "../../core/ts/src/icon-catalog.generated.ts"() {
4455
- "use strict";
4456
4455
  init_define_HHP_CATALOG();
4457
4456
  ICON_VIEW_BOX = 24;
4458
4457
  ICON_STROKE_WIDTH = 2;
@@ -261857,53 +261856,53 @@ var init_preview_assets_generated = __esm({
261857
261856
  init_define_HHP_CATALOG();
261858
261857
  init_preview_assets_format();
261859
261858
  PREVIEW_ASSET_MANIFEST = [
261860
- { key: "assets/DashboardHost-BVJh15w-.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "d2e1f6708163f175ba23fbdb043df59e6dab640b5db452d1a69400241c67159d" },
261861
- { key: "assets/DevDrawer-i8c4Z1B1.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "d4f1d0b96234810b4c7488bdfbd087e08faa85cf1e2b49bc4ce7be2f9f3e3a68" },
261862
- { key: "assets/IdiomCompare-DThpbYev.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "cfb7080a3b2bfbdc36ba125059cec24533d9ce7309f7623ef12c35f3741b6a97" },
261863
- { key: "assets/LightboxViewer-Bd3lwe-8.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15926, sha256: "753be49c0a23220f9b6e223daf629bb5184f6f879facb477a495f15006e04b70" },
261864
- { key: "assets/OfflineReadingBar-Dk7Fq2ds.js", contentType: "application/javascript; charset=utf-8", offset: 37628, length: 1695, sha256: "9ba50065f1cf2e2a0a91d304e416b866f0facae097fbe300ca1e67bb6fbd8e56" },
261865
- { key: "assets/PhonePreviewControl-BYVVXLL4.js", contentType: "application/javascript; charset=utf-8", offset: 39323, length: 37851, sha256: "af25e4c3024cad3cef844de64113ac7177a42713d068fd3fdc982cace1399fd8" },
261866
- { key: "assets/SchemeCompare-CQLa33ST.js", contentType: "application/javascript; charset=utf-8", offset: 77174, length: 1858, sha256: "0ad12f52a03719555713063ffd9e4ddfeebebe37f7993073cde426785123b399" },
261867
- { key: "assets/TopBarSearchStates-OpowNK-p.js", contentType: "application/javascript; charset=utf-8", offset: 79032, length: 4068, sha256: "7847d2794a1b4854068cc598678177392b5617d669faf8bfe04f97002a17fd21" },
261868
- { key: "assets/WixFrogTelemetrySink-B85Scz-Q.js", contentType: "application/javascript; charset=utf-8", offset: 83100, length: 3515, sha256: "0bd38f3de2373cd1f6e8b908d9d3d43e50da4d58b4a3b5e22698194c0c37c6da" },
261859
+ { key: "assets/DashboardHost-C4vAs1nO.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "c7b1ba7bfdd0085595e4a1e9a36118b54887ba3df962ca4f57b40ff4056d6845" },
261860
+ { key: "assets/DevDrawer-n_G2Mh-z.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "132922f84e0d730599912918b739b566bcb573593ac4a5d655bc953ce8dc662c" },
261861
+ { key: "assets/IdiomCompare-CIj-7eVc.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "33234fda77a8c20c9df562d158cfe388b5c81fdb882e3e60e67aeded70f30cbe" },
261862
+ { key: "assets/LightboxViewer-3z0h2M7k.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15926, sha256: "a122699f50c4173bbe53ff71bc8db44e4fe4811e93ebe7d6bb3673009ebf1afb" },
261863
+ { key: "assets/OfflineReadingBar-BjAxp8Ua.js", contentType: "application/javascript; charset=utf-8", offset: 37628, length: 1695, sha256: "cac99daf1a3c91636869ccabc0cf55aff9443898d7783525a9a9dd59939f781c" },
261864
+ { key: "assets/PhonePreviewControl-C8KMYzC_.js", contentType: "application/javascript; charset=utf-8", offset: 39323, length: 37851, sha256: "31bc14a9894a9fd9a505b57c1b917222586c8f5a8fc37705af06a9b316421c7f" },
261865
+ { key: "assets/SchemeCompare-eYqNkS-4.js", contentType: "application/javascript; charset=utf-8", offset: 77174, length: 1858, sha256: "291902f0971cde565b20c19e2ad6a87d93ebb90b3f07e756f811f3f10ebd130d" },
261866
+ { key: "assets/TopBarSearchStates-C8C5ICiB.js", contentType: "application/javascript; charset=utf-8", offset: 79032, length: 4068, sha256: "31cac0f604b7f8adca1c72c769499ee573bf467ebe036b3bd512e9da531f824d" },
261867
+ { key: "assets/WixFrogTelemetrySink-swd9s0Oa.js", contentType: "application/javascript; charset=utf-8", offset: 83100, length: 3515, sha256: "34bf6f1379633daf14e775cfc5c5e4e3e33fe1e5e914a60399c2acd8ae2599ec" },
261869
261868
  { key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86615, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
261870
261869
  { key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88807, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
261871
- { key: "assets/catalogFontFaces-CkG68R-d.js", contentType: "application/javascript; charset=utf-8", offset: 124433, length: 1111, sha256: "5261e735efaa2de2d002bb4664fbdfc262ab74b97730622ec2bd7414fea5205e" },
261870
+ { key: "assets/catalogFontFaces-CB0zkM4F.js", contentType: "application/javascript; charset=utf-8", offset: 124433, length: 1111, sha256: "fd903d90b4a843d8040d604d26eca072d44f8df8610706396b4da6b166e9f4b5" },
261872
261871
  { key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125544, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
261873
- { key: "assets/files-transfer-D_MFiKlG.js", contentType: "application/javascript; charset=utf-8", offset: 128111, length: 6446, sha256: "0aed8f8511354cf4413b3c571bbb2d133dbdb58bb7c244fe2b43a30a65ea83cf" },
261872
+ { key: "assets/files-transfer-e0f5jZmX.js", contentType: "application/javascript; charset=utf-8", offset: 128111, length: 6446, sha256: "28690474fb1e7cf4538c6b225929d3898858acce0c4f6950d93dcf0646a84c9d" },
261874
261873
  { key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 134557, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
261875
- { key: "assets/frogApiRules-C2aWecIO.js", contentType: "application/javascript; charset=utf-8", offset: 135729, length: 2207, sha256: "701a7911c52d6d986b3caed8b778c7a3e896a2f1fca1482e9afdc0f70bb4ed42" },
261874
+ { key: "assets/frogApiRules--sWf1hJe.js", contentType: "application/javascript; charset=utf-8", offset: 135729, length: 2207, sha256: "d7d65ff6b1dfa607f254f46741f0cb1102ec262ffeb7f9d30a9952502e24c2a3" },
261876
261875
  { key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 137936, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
261877
261876
  { key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 139003, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
261878
261877
  { key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 145581, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
261879
- { key: "assets/index-vWgTeHlf.js", contentType: "application/javascript; charset=utf-8", offset: 148285, length: 1692322, sha256: "d194e0a6e37ee774dc524a9b1200500eadf82652631b4dfdc3f5de0dbde20aa1" },
261880
- { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1840607, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
261881
- { key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1848358, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
261882
- { key: "assets/pdf-Ek6tZ1GT.js", contentType: "application/javascript; charset=utf-8", offset: 1858889, length: 488215, sha256: "fb2b059338baac28265ef57c60a2934572de24f5f84471859dd358f474ca6d4a" },
261883
- { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2347104, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
261884
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2347194, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
261885
- { key: "assets/pdfDocument-npoho8mc.js", contentType: "application/javascript; charset=utf-8", offset: 3664228, length: 3836, sha256: "67412406953ebd48b2108077f3a8ff6c921e4093f6dd890678de9d9ae57c0f73" },
261886
- { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3668064, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
261887
- { key: "assets/scrollLinkedRuntime-DqtEZy9j.js", contentType: "application/javascript; charset=utf-8", offset: 3670330, length: 2278, sha256: "9f6277e6afcfd2e968724b02724c164e2e27af615a5111d8dd771440785c6397" },
261888
- { key: "assets/webviewBridgeHost-BTYIZ7G0.js", contentType: "application/javascript; charset=utf-8", offset: 3672608, length: 9889, sha256: "c54655d89933a80d45cfdee7c7b99c327c2122eeb354adba139639e53cd3dccb" },
261889
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3682497, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
261890
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3687107, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
261891
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4175691, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
261892
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4266615, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
261893
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4357599, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
261894
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4448579, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
261895
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4539451, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
261896
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4630431, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
261897
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4739067, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
261898
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4848151, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
261899
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4957199, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
261900
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5064899, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
261901
- { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5153007, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
261902
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5159825, length: 4924, sha256: "ad869ef567268f4d019ce294176be4e6245db11ca5f9a2698250ee70a3b6b50c" },
261903
- { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5164749, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
261904
- { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5176206, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
261905
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5177377, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
261906
- { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5201680, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
261878
+ { key: "assets/index-C5_BUGLr.js", contentType: "application/javascript; charset=utf-8", offset: 148285, length: 1693858, sha256: "610a1be03061a30e0b8d3d2f9f778db825fe2b42b68932e9f8eaf33473ae4c92" },
261879
+ { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1842143, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
261880
+ { key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1849894, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
261881
+ { key: "assets/pdf-D32ogDIk.js", contentType: "application/javascript; charset=utf-8", offset: 1860425, length: 488215, sha256: "ab91dfb9c348c8c78f942a5b88ba90df456c5b436e135d97791d5dd95d6a40dc" },
261882
+ { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2348640, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
261883
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2348730, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
261884
+ { key: "assets/pdfDocument-CnxCXgpr.js", contentType: "application/javascript; charset=utf-8", offset: 3665764, length: 3836, sha256: "5024445d957c33df0ded9daef902eaf83dbbd278eff806a92ce9115ff6494e77" },
261885
+ { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3669600, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
261886
+ { key: "assets/scrollLinkedRuntime-C1HfWW3o.js", contentType: "application/javascript; charset=utf-8", offset: 3671866, length: 2278, sha256: "7229c80b4896b4c1b40cad372f415e4d73436121f6f186c67503318851fd0ede" },
261887
+ { key: "assets/webviewBridgeHost-CABVFzEB.js", contentType: "application/javascript; charset=utf-8", offset: 3674144, length: 9889, sha256: "d51daad9caa02a6fe6a5eaec3711baab63e9ca6a97dc51073b8a3740b96ca1e3" },
261888
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3684033, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
261889
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3688643, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
261890
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4177227, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
261891
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4268151, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
261892
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4359135, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
261893
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4450115, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
261894
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4540987, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
261895
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4631967, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
261896
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4740603, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
261897
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4849687, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
261898
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4958735, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
261899
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5066435, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
261900
+ { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5154543, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
261901
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5161361, length: 4924, sha256: "6e354a30167b7c4e111c6f901d78d9b4a21849bc2e9685a268299553458ae883" },
261902
+ { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5166285, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
261903
+ { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5177742, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
261904
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5178913, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
261905
+ { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5203216, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
261907
261906
  ];
261908
261907
  }
261909
261908
  });
Binary file
@@ -13,7 +13,8 @@ Material 3. Three things are native without any work from you, and you should no
13
13
  - **Chrome the shell draws:** the navigation bar at the bottom, the top app bar and its title,
14
14
  system and predictive Back, the search bar, bottom sheets and dialogs.
15
15
  - **Controls the renderer draws:** `Toggle` is a Material switch, `SegmentedControl` a
16
- segmented button, `Picker`/`DatePicker`/`Menu`/`BottomSheet`/`AlertDialog` the Material ones.
16
+ segmented button, `Picker`/`DatePicker`/`Menu`/`BottomSheet` the Material ones, and so is the
17
+ `alert` presentation. The `AlertDialog` component is only an inline preview.
17
18
  - **Your type scale:** typography tokens are emitted in `sp` and follow the user's font scale.
18
19
 
19
20
  One thing it **cannot** do: give Android a different layout from iPhone. Lists and cards draw the
@@ -43,7 +44,7 @@ A list or a grid looks the same in the iPhone PNG. That is one descriptor, not a
43
44
  | Lists and grouped content | List rows with supporting text; group related settings under a header. | `LazyList` of `ListItem` rows for a schedule or a service menu; `Section` (`header`, optional `inset: true`) for a group. Do not wrap each row in a `Card`. One featured object may be a single `Card`. Choices that may not fit the width, such as times, go in a `LazyList` with `horizontal: true`. The same structure renders on iPhone. | [Lists](https://m3.material.io/components/lists/guidelines) |
44
45
  | On/off, one of a few, pick a date | Switch, segmented button, menu or dialog picker. | `Toggle` (`label`, `value`): the `label` is the row drawn beside the switch. `SegmentedControl` with `options: [{ id, label }]` — `label` is required, and `title` on an option fails native decode and drops the whole screen. `Picker`, `DatePicker`. Group the rows in a `Section`, not a `Card`. | [Switch](https://m3.material.io/components/switch/guidelines), [Segmented buttons](https://m3.material.io/components/segmented-buttons/guidelines) |
45
46
  | A short task on top of a screen | A modal bottom sheet, dismissed by Back or the scrim. | `BottomSheet`. A new destination is a navigation instead. | [Bottom sheets](https://m3.material.io/components/bottom-sheets/guidelines) |
46
- | Destructive or blocking decision | A dialog that names the action. | `AlertDialog`; confirm or offer undo. | [Dialogs](https://m3.material.io/components/dialogs/guidelines) |
47
+ | Destructive or blocking decision | A dialog that names the action. | The `alert` presentation (`himi.open` with `presentation: "alert"`), never the inline `AlertDialog` component; confirm or offer undo. | [Dialogs](https://m3.material.io/components/dialogs/guidelines) |
47
48
  | Success | A snackbar above the navigation bar. | `ui.snackbar` from the worker. | [Snackbar](https://m3.material.io/components/snackbar/guidelines) |
48
49
  | Search | A search bar in the top app bar, or a dedicated search screen. | `topBar.searchable` plus the page's own `SearchField` (or the row that holds it) with `hiddenPath: "$env:topBarSearch"`. The standard app shell draws that field; only a host with a native search handler hides it for the bar. A dedicated screen when search starts a new task (`himi docs recipe-search`). | [Search](https://m3.material.io/components/search/guidelines) |
49
50
  | Tablets, foldables, wide windows | List and detail side by side from the expanded width class (840dp and wider); a readable column for reading. | `Grid` `columns: 1, columnsMedium: 2` to put parts side by side from 600dp (a tablet in portrait); `SplitView` only from 840dp. The tablet shell does not apply `contentMaxWidth`, so the screen changes shape itself (`designing-himi-screens`). Render at 834px and 840px or wider, and record the choice. | [Adaptive layouts](https://developer.android.com/design/ui/mobile/guides/layout-and-content/adapt-layout) |
@@ -391,9 +391,15 @@ scroll. *Reach for `SegmentedControl` for 2–4 in-content modes; `Tabs`/tab-bar
391
391
  > explicit `PageControl` if the dots need to read.
392
392
 
393
393
  **Feedback & overlays** — `Banner` for a persistent inline message (with a retry action when a refresh fails over content you kept; a screen with nothing to show uses an `ErrorState`, see §5);
394
- `Snackbar` for a transient confirmation; `AlertDialog` for a blocking decision (up to three `buttons`
395
- — "Save / Discard / Cancel" — with roles `default` / `cancel` / `destructive`; a worker's
396
- `ui.alert({ buttons })` resolves `{ buttonId }`). Alerts share one slot: a second one replaces what
394
+ `Snackbar` for a transient confirmation; an alert for a blocking decision, such as a destructive
395
+ confirm (Sign out, Cancel booking). Raise the alert with the `alert` presentation verb — a button
396
+ action `{ actionId: "himi.open", presentation: "alert", args: { title, message, destructive: true,
397
+ confirmLabel, cancelLabel, confirmActionId } }` — or with `ui.alert` from a worker (up to three
398
+ `buttons` — "Save / Discard / Cancel" — with roles `default` / `cancel` / `destructive`;
399
+ `ui.alert({ buttons })` resolves `{ buttonId }`). The confirm button calls `confirmActionId`
400
+ directly, so the worker needs no "dialog open" flag. The `AlertDialog` COMPONENT is only an inline
401
+ preview: it draws where you place it, like the `Snackbar` component, and never floats over the
402
+ screen. Never use it for a blocking decision, and never show it behind a flag to fake a dialog. Alerts share one slot: a second one replaces what
397
403
  is up, and a second worker `ui.alert` rejects `ui_busy`. If your app can raise alerts from several places at
398
404
  once (an error from a refresh while a first-run dialog is open), set `navigation: { presentationQueue: true }`
399
405
  in `config.ts`: then they show one at a time in order, each worker call waiting for its own answer
@@ -403,7 +409,7 @@ gradient, an image), set `surface: "none"` so the sheet adds no padding or panel
403
409
  fills it to the edges, and `presentation: "full_screen"` for a cover over the whole window. The system-bar insets
404
410
  are added inside the content root's own padding, so its background runs under the bars and its children stay
405
411
  clear of them; `Tooltip`/`Popover` for a small anchored hint. *Reach for `Snackbar`, not
406
- `AlertDialog`, to confirm a completed action — don't block on success.* The `Snackbar` COMPONENT draws
412
+ an alert, to confirm a completed action — don't block on success.* The `Snackbar` COMPONENT draws
407
413
  inline where you place it; for a transient toast that floats at the bottom of the screen — an app
408
414
  error after a failed action, say — use the `snackbar` presentation verb or `ui.snackbar({ message,
409
415
  tone: "danger" })` from a worker: it floats above the tab bar, animates in and out, queues, honours
package/guides/ios-ux.md CHANGED
@@ -13,7 +13,8 @@ native on iPhone without any work from you, and you should not redraw them:
13
13
  - **Chrome the shell draws:** the tab bar, the navigation bar and its title, Back and the edge
14
14
  swipe, the search field in the bar, sheets and alerts.
15
15
  - **Controls the renderer draws:** `Toggle` is a `UISwitch`, `SegmentedControl` is a segmented
16
- control, `Picker`/`DatePicker`/`Menu`/`BottomSheet`/`AlertDialog` are the system ones.
16
+ control, `Picker`/`DatePicker`/`Menu`/`BottomSheet` are the system ones, and so is the `alert`
17
+ presentation. The `AlertDialog` component is only an inline preview.
17
18
  - **Your type scale:** typography tokens scale with Dynamic Type.
18
19
 
19
20
  One thing it **cannot** do: give iPhone a different layout from Android. Lists and cards draw the
@@ -42,7 +43,7 @@ Android PNG. That is one descriptor, not a failed render.
42
43
  | Long collections without photos (schedule, services, settings-like lists) | A plain scrolling list; the row is the tap target. | Root `LazyList` of `ListItem` rows; one primary action per row at most; `pagination` for more. A class and a service are `ListItem`s, not one `Card` each. One featured object may be a single `Card`. Choices that may not fit the width, such as times, go in a `LazyList` with `horizontal: true`, so the last choice is reachable at 390 points. | [Lists and tables](https://developer.apple.com/design/human-interface-guidelines/lists-and-tables) |
43
44
  | On/off, one of a few, pick a date | The system switch, segmented control, picker. | `Toggle` (`label`, `value`): the `label` is the row drawn beside the switch. `SegmentedControl` with `options: [{ id, label }]` — `label` is required, and `title` on an option fails native decode and drops the whole screen. `Picker`, `DatePicker`. Never a row of buttons or a drawn switch. | [Toggles](https://developer.apple.com/design/human-interface-guidelines/toggles), [Segmented controls](https://developer.apple.com/design/human-interface-guidelines/segmented-controls) |
44
45
  | A short task on top of a screen | A sheet; Cancel and Done in its bar. | `BottomSheet`. A new destination is a push instead. | [Sheets](https://developer.apple.com/design/human-interface-guidelines/sheets) |
45
- | Destructive or blocking decision | An alert, with the destructive button styled as such. | `AlertDialog`, or a `ToolbarItem` with `role: "destructive"`. Confirm or offer undo. | [Alerts](https://developer.apple.com/design/human-interface-guidelines/alerts) |
46
+ | Destructive or blocking decision | An alert, with the destructive button styled as such. | The `alert` presentation (`himi.open` with `presentation: "alert"`), never the inline `AlertDialog` component; or a `ToolbarItem` with `role: "destructive"`. Confirm or offer undo. | [Alerts](https://developer.apple.com/design/human-interface-guidelines/alerts) |
46
47
  | Success | Brief, non-blocking feedback. | `ui.snackbar` from the worker, not an alert. | [Feedback](https://developer.apple.com/design/human-interface-guidelines/feedback) |
47
48
  | Search | A search field in the navigation bar. | `topBar.searchable` plus the page's own `SearchField` (or the row that holds it) with `hiddenPath: "$env:topBarSearch"`. The standard app shell draws that field; only a host with a native search handler hides it for the bar. A dedicated search screen when search starts a new task (`himi docs recipe-search`). | [Search fields](https://developer.apple.com/design/human-interface-guidelines/search-fields) |
48
49
  | iPad and wide windows | Sidebar or split view for collections; a readable column for reading. | `Grid` `columns: 1, columnsMedium: 2` to put parts side by side from 600 points; `SplitView` only from 840 points (an iPad in landscape; it stacks in portrait). The iPad shell does not apply `contentMaxWidth`, so the screen changes shape itself (`designing-himi-screens`). Render at 834px and record the choice. | [Split views](https://developer.apple.com/design/human-interface-guidelines/split-views) |
@@ -28,6 +28,34 @@ areas, always in the same order, so you can skim for the one you care about.
28
28
  and `widgets check` passes only when every placement passed them. A source with no custom widget is unchanged.
29
29
  See `himi docs one-app-to-himi-app`, "Custom widgets". (#6460)
30
30
 
31
+ ### Authoring screens
32
+
33
+ - **Long lists scroll smoothly on Android however far down you are.** A bound list or grid nested in a screen's
34
+ scroll (where template lists sit) used to lay out and draw every row it had built, so each scroll frame got
35
+ slower as you scrolled: 300 rows down, a frame took 60–70 ms of main-thread work on an emulator. It now lays out
36
+ and draws only the rows within two screens of the visible ones, about 10 ms a frame at any depth. Rows keep their
37
+ state while off screen. (#6454)
38
+ - **Apps open faster on Android, and the first screen paints sooner on iOS too.** The launch no longer decodes
39
+ every cached screen to check the seed (iOS and Android), the WebView that runs workers starts loading as the app
40
+ starts instead of when the first screen composes, and cached screens are read off the main thread, one file per
41
+ screen. Branded Lite on an emulator shows its splash content in about 520 ms instead of about 810 ms, and has
42
+ every call of its home screen answered about 340 ms sooner. On iOS a `Text` with a template re-renders only when
43
+ one of its values changes. (#6454)
44
+
45
+ ### Logic, data & SDKs
46
+
47
+ - **Identical reads in flight go out once, on iOS, Android and the web.** When several workers, or a worker and
48
+ the runtime, ask for the same thing at the same moment (the current cart on launch, for example), they now share
49
+ one request and each gets its own copy of the answer. Only reads are shared (`GET`/`HEAD`, and Wix queries such
50
+ as `/query`, `/search`, `/list`), and only between callers with the same credentials, cookies included; a write
51
+ is never shared, and a read that starts after any write, sign-in or sign-out waits for its own answer. Nothing is
52
+ cached by this: the next call after the answer goes to the network. Branded Lite's cold launch sends 15 requests
53
+ instead of 17, and a return from the background 1 instead of 2. (#6454)
54
+ - **Workers start their screen's calls sooner on Android.** A screen's first action is sent as soon as its worker's
55
+ scripts are issued instead of after the boot reports back, and a spare worker is prepared between short frames,
56
+ so an animated screen no longer holds it back: Branded Lite's home sends its calls about 30 ms sooner. App-service
57
+ state is written once per burst of changes, as on iOS and the web. (#6454)
58
+
31
59
  ### Preview, push & release
32
60
 
33
61
  - **Your AI tool can work on an app you built elsewhere, and cancel a build.** The hosted connector (the one
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1869.0",
3
+ "version": "0.1871.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "0f1aa31ca876109a3cc59f3f334c652b9a5a29a80e6893a18a158fd0"
85
+ "falconPackageHash": "3efd4fe0da48ed3bdbf7ecd298a27783f806dcdd18d8c7064e5162ff"
86
86
  }
@@ -61,6 +61,11 @@ export interface CollectionConfig {
61
61
  * card the overflow's items were unreachable AND the wrong pattern: shoppers
62
62
  * expect a heart, not a 3-item menu two taps deep. */
63
63
  favoriteToggle?: boolean;
64
+ /** A button in the EMPTY-SOURCE state that moves the list to another view of the same source (Events: "See past
65
+ * events" when Upcoming is empty and Past is not). `labelPath` and `hiddenPath` are top-level STATE fields the domain
66
+ * sets (the label through its copy, hidden until the domain knows the other view has rows); the tap sets the list's
67
+ * filter to `filter` (`collectionCriteria`), which must be one of `filterValues`. */
68
+ emptySourceAction?: { labelPath: string; hiddenPath: string; filter: string };
64
69
  /** A state field the DOMAIN narrows `rows` by (e.g. a category picker). While it is set,
65
70
  * zero rows is a filtered result, not an empty source. */
66
71
  narrowedBy?: string;
@@ -81,7 +86,7 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
81
86
  himiBookingBookings: { rows: 'rows', title: 'title', subtitle: 'subtitle', metadata: ['status'], view: 'list', backendQuery: true,
82
87
  defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search by booking ID', countNoun: ['booking', 'bookings'], filterValues: ['Upcoming', 'Past', 'Cancelled'],
83
88
  sortLabels: { default: 'Soonest', az: 'Oldest', za: 'Latest' } },
84
- himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast' },
89
+ himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast', emptySourceAction: { labelPath: 'pastEventsLabel', hiddenPath: 'noPastEvents', filter: 'value:Past' } },
85
90
  himiOwnerLiteProducts: { rows: 'products', title: 'name', subtitle: 'price', image: 'image', view: 'grid', backendQuery: true, countNoun: ['product', 'products'] },
86
91
  himiOwnerModules: { instanceInput: 'module', rows: 'rows', title: 'title', subtitle: 'subtitle', image: 'image', filter: 'statusLabel', view: 'list', paged: true, reviewAction: 'prepareRecord', reviewSelectedAction: 'prepareSelected' },
87
92
  himiOwnerLiteServices: { rows: 'services', title: 'name', subtitle: 'subtitle', view: 'list', backendQuery: true, searchPlaceholder: 'Service name starts with…' },
@@ -61,6 +61,11 @@ export interface CollectionConfig {
61
61
  * card the overflow's items were unreachable AND the wrong pattern: shoppers
62
62
  * expect a heart, not a 3-item menu two taps deep. */
63
63
  favoriteToggle?: boolean;
64
+ /** A button in the EMPTY-SOURCE state that moves the list to another view of the same source (Events: "See past
65
+ * events" when Upcoming is empty and Past is not). `labelPath` and `hiddenPath` are top-level STATE fields the domain
66
+ * sets (the label through its copy, hidden until the domain knows the other view has rows); the tap sets the list's
67
+ * filter to `filter` (`collectionCriteria`), which must be one of `filterValues`. */
68
+ emptySourceAction?: { labelPath: string; hiddenPath: string; filter: string };
64
69
  /** A state field the DOMAIN narrows `rows` by (e.g. a category picker). While it is set,
65
70
  * zero rows is a filtered result, not an empty source. */
66
71
  narrowedBy?: string;
@@ -81,7 +86,7 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
81
86
  himiBookingBookings: { rows: 'rows', title: 'title', subtitle: 'subtitle', metadata: ['status'], view: 'list', backendQuery: true,
82
87
  defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search by booking ID', countNoun: ['booking', 'bookings'], filterValues: ['Upcoming', 'Past', 'Cancelled'],
83
88
  sortLabels: { default: 'Soonest', az: 'Oldest', za: 'Latest' } },
84
- himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast' },
89
+ himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast', emptySourceAction: { labelPath: 'pastEventsLabel', hiddenPath: 'noPastEvents', filter: 'value:Past' } },
85
90
  himiOwnerLiteProducts: { rows: 'products', title: 'name', subtitle: 'price', image: 'image', view: 'grid', backendQuery: true, countNoun: ['product', 'products'] },
86
91
  himiOwnerModules: { instanceInput: 'module', rows: 'rows', title: 'title', subtitle: 'subtitle', image: 'image', filter: 'statusLabel', view: 'list', paged: true, reviewAction: 'prepareRecord', reviewSelectedAction: 'prepareSelected' },
87
92
  himiOwnerLiteServices: { rows: 'services', title: 'name', subtitle: 'subtitle', view: 'list', backendQuery: true, searchPlaceholder: 'Service name starts with…' },
@@ -11,6 +11,33 @@ export * from "@himalaya/wix-events";
11
11
  // (`globalThis.himalaya.storage` / `.input`), which a published, brand-scrubbed SDK
12
12
  // package must not reference. The himi-events-* bundles import these from this module.
13
13
 
14
+ import { eventEndMillis, eventStartMillis, type WixEvent } from "@himalaya/wix-events";
15
+
16
+ /** The event's own times, kept on the row the `events` local-db store holds (written by the list AND the detail), so a
17
+ * reader can tell at READ time whether the event has finished. The row's `statusLabel` / `isPast` were decided when the
18
+ * row was written, and the label is localized copy (`events.past`): a row stored the day before its event ended still
19
+ * says "not past" today. ISO strings, "" when the event has no such time. */
20
+ export interface EventCacheTimes { startsAt: string; endsAt: string }
21
+
22
+ export function eventCacheTimes(e: WixEvent): EventCacheTimes {
23
+ const iso = (ms: number | undefined) => (ms === undefined ? "" : new Date(ms).toISOString());
24
+ return { startsAt: iso(eventStartMillis(e)), endsAt: iso(eventEndMillis(e)) };
25
+ }
26
+
27
+ /** Would the live Upcoming read return the event of this CACHED row, at `now`? That read asks for a start or an end at
28
+ * or after now, so: its end when it has one, else its start, not before `now` (the `eventIsPast` rule, inverted), read from
29
+ * the row's own stored times. Everything the live read cannot return is `false`, so a cached paint never shows a row that
30
+ * the live answer then removes: a row written before the times were stored (no `startsAt` / `endsAt`), an undated event
31
+ * (to be announced: no time matches the query), and a time that does not parse. */
32
+ export function cachedEventUpcoming(row: unknown, now: number = Date.now()): boolean {
33
+ const r = (row && typeof row === "object" ? row : {}) as Partial<EventCacheTimes>;
34
+ if (typeof r.startsAt !== "string" || typeof r.endsAt !== "string") return false;
35
+ const at = r.endsAt || r.startsAt;
36
+ if (!at) return false;
37
+ const ms = new Date(at).getTime();
38
+ return !Number.isNaN(ms) && ms >= now;
39
+ }
40
+
14
41
  interface StorageLike {
15
42
  getItem(key: string): string | null;
16
43
  setItem(key: string, value: string): void;
@@ -61,6 +61,11 @@ export interface CollectionConfig {
61
61
  * card the overflow's items were unreachable AND the wrong pattern: shoppers
62
62
  * expect a heart, not a 3-item menu two taps deep. */
63
63
  favoriteToggle?: boolean;
64
+ /** A button in the EMPTY-SOURCE state that moves the list to another view of the same source (Events: "See past
65
+ * events" when Upcoming is empty and Past is not). `labelPath` and `hiddenPath` are top-level STATE fields the domain
66
+ * sets (the label through its copy, hidden until the domain knows the other view has rows); the tap sets the list's
67
+ * filter to `filter` (`collectionCriteria`), which must be one of `filterValues`. */
68
+ emptySourceAction?: { labelPath: string; hiddenPath: string; filter: string };
64
69
  /** A state field the DOMAIN narrows `rows` by (e.g. a category picker). While it is set,
65
70
  * zero rows is a filtered result, not an empty source. */
66
71
  narrowedBy?: string;
@@ -81,7 +86,7 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
81
86
  himiBookingBookings: { rows: 'rows', title: 'title', subtitle: 'subtitle', metadata: ['status'], view: 'list', backendQuery: true,
82
87
  defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search by booking ID', countNoun: ['booking', 'bookings'], filterValues: ['Upcoming', 'Past', 'Cancelled'],
83
88
  sortLabels: { default: 'Soonest', az: 'Oldest', za: 'Latest' } },
84
- himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast' },
89
+ himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast', emptySourceAction: { labelPath: 'pastEventsLabel', hiddenPath: 'noPastEvents', filter: 'value:Past' } },
85
90
  himiOwnerLiteProducts: { rows: 'products', title: 'name', subtitle: 'price', image: 'image', view: 'grid', backendQuery: true, countNoun: ['product', 'products'] },
86
91
  himiOwnerModules: { instanceInput: 'module', rows: 'rows', title: 'title', subtitle: 'subtitle', image: 'image', filter: 'statusLabel', view: 'list', paged: true, reviewAction: 'prepareRecord', reviewSelectedAction: 'prepareSelected' },
87
92
  himiOwnerLiteServices: { rows: 'services', title: 'name', subtitle: 'subtitle', view: 'list', backendQuery: true, searchPlaceholder: 'Service name starts with…' },
@@ -11,6 +11,33 @@ export * from "@himalaya/wix-events";
11
11
  // (`globalThis.himalaya.storage` / `.input`), which a published, brand-scrubbed SDK
12
12
  // package must not reference. The himi-events-* bundles import these from this module.
13
13
 
14
+ import { eventEndMillis, eventStartMillis, type WixEvent } from "@himalaya/wix-events";
15
+
16
+ /** The event's own times, kept on the row the `events` local-db store holds (written by the list AND the detail), so a
17
+ * reader can tell at READ time whether the event has finished. The row's `statusLabel` / `isPast` were decided when the
18
+ * row was written, and the label is localized copy (`events.past`): a row stored the day before its event ended still
19
+ * says "not past" today. ISO strings, "" when the event has no such time. */
20
+ export interface EventCacheTimes { startsAt: string; endsAt: string }
21
+
22
+ export function eventCacheTimes(e: WixEvent): EventCacheTimes {
23
+ const iso = (ms: number | undefined) => (ms === undefined ? "" : new Date(ms).toISOString());
24
+ return { startsAt: iso(eventStartMillis(e)), endsAt: iso(eventEndMillis(e)) };
25
+ }
26
+
27
+ /** Would the live Upcoming read return the event of this CACHED row, at `now`? That read asks for a start or an end at
28
+ * or after now, so: its end when it has one, else its start, not before `now` (the `eventIsPast` rule, inverted), read from
29
+ * the row's own stored times. Everything the live read cannot return is `false`, so a cached paint never shows a row that
30
+ * the live answer then removes: a row written before the times were stored (no `startsAt` / `endsAt`), an undated event
31
+ * (to be announced: no time matches the query), and a time that does not parse. */
32
+ export function cachedEventUpcoming(row: unknown, now: number = Date.now()): boolean {
33
+ const r = (row && typeof row === "object" ? row : {}) as Partial<EventCacheTimes>;
34
+ if (typeof r.startsAt !== "string" || typeof r.endsAt !== "string") return false;
35
+ const at = r.endsAt || r.startsAt;
36
+ if (!at) return false;
37
+ const ms = new Date(at).getTime();
38
+ return !Number.isNaN(ms) && ms >= now;
39
+ }
40
+
14
41
  interface StorageLike {
15
42
  getItem(key: string): string | null;
16
43
  setItem(key: string, value: string): void;
@@ -70891,6 +70891,26 @@ const SCREENS = runtimeSetting({
70891
70891
  "color": "textSecondary"
70892
70892
  }
70893
70893
  }
70894
+ },
70895
+ {
70896
+ "id": "himi_events.list.collection.empty-source-action",
70897
+ "body": {
70898
+ "package": "himalaya",
70899
+ "type": "Button",
70900
+ "props": {
70901
+ "title": "$service:himiEvents.pastEventsLabel",
70902
+ "style": "secondary",
70903
+ "action": {
70904
+ "actionId": "tier5.himiEvents.collectionCriteria",
70905
+ "params": {
70906
+ "filter": "value:Past"
70907
+ }
70908
+ }
70909
+ }
70910
+ },
70911
+ "modifiers": {
70912
+ "hiddenPath": "$service:himiEvents.noPastEvents"
70913
+ }
70894
70914
  }
70895
70915
  ]
70896
70916
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "أرسلنا رابط إعادة التعيين إلى {email}. تحقّق من بريدك الوارد.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "لا توجد فعاليات قادمة",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "عرض الفعاليات السابقة",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Odkaz pro obnovení jsme poslali na {email}. Zkontrolujte svou doručenou poštu.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "Žádné nadcházející akce",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Zobrazit minulé akce",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Vi har sendt et nulstillingslink til {email}. Tjek din indbakke.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "Ingen kommende begivenheder",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Se tidligere begivenheder",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Wir haben einen Link zum Zurücksetzen an {email} gesendet. Sieh in deinem Posteingang nach.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "Keine bevorstehenden Veranstaltungen",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Vergangene Veranstaltungen ansehen",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Στείλαμε έναν σύνδεσμο επαναφοράς στο {email}. Ελέγξτε τα εισερχόμενά σας.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "Δεν υπάρχουν επερχόμενες εκδηλώσεις",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Δείτε προηγούμενες εκδηλώσεις",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Enviamos un enlace de restablecimiento a {email}. Revisa tu bandeja de entrada.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "No hay próximos eventos",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Ver eventos pasados",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Lähetimme nollauslinkin osoitteeseen {email}. Tarkista saapuneet viestit.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "Ei tulevia tapahtumia",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Näytä menneet tapahtumat",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -9951,6 +9951,16 @@
9951
9951
  "source": "We sent a reset link to {email}. Check your inbox.",
9952
9952
  "translation": "Nous avons envoyé un lien de réinitialisation à {email}. Consultez votre boîte de réception.",
9953
9953
  "origin": "machine"
9954
+ },
9955
+ "h_b488b5ca6950": {
9956
+ "source": "No upcoming events",
9957
+ "translation": "Aucun événement à venir",
9958
+ "origin": "machine"
9959
+ },
9960
+ "h_3c9db6753588": {
9961
+ "source": "See past events",
9962
+ "translation": "Voir les événements passés",
9963
+ "origin": "machine"
9954
9964
  }
9955
9965
  }
9956
9966
  }
@@ -8141,6 +8141,14 @@
8141
8141
  "h_0d27866cd8c7": {
8142
8142
  "source": "{n, plural, one {Session attended in total} other {Sessions attended in total}}",
8143
8143
  "translation": "{n, plural, one {מפגש שהשתתפתי בו בסך הכול} other {מפגשים שהשתתפתי בהם בסך הכול}}"
8144
+ },
8145
+ "h_b488b5ca6950": {
8146
+ "source": "No upcoming events",
8147
+ "translation": "אין אירועים קרובים"
8148
+ },
8149
+ "h_3c9db6753588": {
8150
+ "source": "See past events",
8151
+ "translation": "לאירועים שעברו"
8144
8152
  }
8145
8153
  }
8146
8154
  }