@wix/himalaya-cli 0.2005.0 → 0.2007.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 (360) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/provisioning-facts.d.ts +1 -1
  2. package/dist/cli.mjs +2 -2
  3. package/package.json +2 -2
  4. package/templates/bare-fashion/tier5-src/_shared/open-web-link.ts +22 -0
  5. package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +30 -19
  6. package/templates/beauty-salon/dev/index.ts +231 -139
  7. package/templates/beauty-salon/l10n/ar.json +6 -12
  8. package/templates/beauty-salon/l10n/cs.json +6 -12
  9. package/templates/beauty-salon/l10n/da.json +6 -12
  10. package/templates/beauty-salon/l10n/de.json +6 -12
  11. package/templates/beauty-salon/l10n/el.json +6 -12
  12. package/templates/beauty-salon/l10n/en.json +11 -18
  13. package/templates/beauty-salon/l10n/es.json +6 -12
  14. package/templates/beauty-salon/l10n/fi.json +6 -12
  15. package/templates/beauty-salon/l10n/fr.json +6 -12
  16. package/templates/beauty-salon/l10n/he.json +6 -10
  17. package/templates/beauty-salon/l10n/hu.json +6 -12
  18. package/templates/beauty-salon/l10n/id.json +6 -12
  19. package/templates/beauty-salon/l10n/it.json +6 -12
  20. package/templates/beauty-salon/l10n/ja.json +6 -12
  21. package/templates/beauty-salon/l10n/ko.json +6 -12
  22. package/templates/beauty-salon/l10n/lt.json +6 -12
  23. package/templates/beauty-salon/l10n/nl.json +6 -12
  24. package/templates/beauty-salon/l10n/no.json +6 -12
  25. package/templates/beauty-salon/l10n/pl.json +6 -12
  26. package/templates/beauty-salon/l10n/pt.json +6 -12
  27. package/templates/beauty-salon/l10n/ru.json +6 -12
  28. package/templates/beauty-salon/l10n/sv.json +6 -12
  29. package/templates/beauty-salon/l10n/th.json +6 -12
  30. package/templates/beauty-salon/l10n/tr.json +6 -12
  31. package/templates/beauty-salon/l10n/uk.json +6 -12
  32. package/templates/beauty-salon/l10n/vi.json +6 -12
  33. package/templates/beauty-salon/l10n/zh.json +6 -12
  34. package/templates/beauty-salon/tier5-src/_shared/open-web-link.ts +22 -0
  35. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +6 -0
  36. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +8 -0
  37. package/templates/beauty-salon/tier5-src/himi-branded-lite-info/index.ts +30 -19
  38. package/templates/branded-lite/dev/index.ts +229 -137
  39. package/templates/branded-lite/l10n/ar.json +0 -12
  40. package/templates/branded-lite/l10n/cs.json +0 -12
  41. package/templates/branded-lite/l10n/da.json +0 -12
  42. package/templates/branded-lite/l10n/de.json +0 -12
  43. package/templates/branded-lite/l10n/el.json +0 -12
  44. package/templates/branded-lite/l10n/en.json +4 -18
  45. package/templates/branded-lite/l10n/es.json +0 -12
  46. package/templates/branded-lite/l10n/fi.json +0 -12
  47. package/templates/branded-lite/l10n/fr.json +0 -12
  48. package/templates/branded-lite/l10n/he.json +0 -10
  49. package/templates/branded-lite/l10n/hu.json +0 -12
  50. package/templates/branded-lite/l10n/id.json +0 -12
  51. package/templates/branded-lite/l10n/it.json +0 -12
  52. package/templates/branded-lite/l10n/ja.json +0 -12
  53. package/templates/branded-lite/l10n/ko.json +0 -12
  54. package/templates/branded-lite/l10n/lt.json +0 -12
  55. package/templates/branded-lite/l10n/nl.json +0 -12
  56. package/templates/branded-lite/l10n/no.json +0 -12
  57. package/templates/branded-lite/l10n/pl.json +0 -12
  58. package/templates/branded-lite/l10n/pt.json +0 -12
  59. package/templates/branded-lite/l10n/ru.json +0 -12
  60. package/templates/branded-lite/l10n/sv.json +0 -12
  61. package/templates/branded-lite/l10n/th.json +0 -12
  62. package/templates/branded-lite/l10n/tr.json +0 -12
  63. package/templates/branded-lite/l10n/uk.json +0 -12
  64. package/templates/branded-lite/l10n/vi.json +0 -12
  65. package/templates/branded-lite/l10n/zh.json +0 -12
  66. package/templates/branded-lite/tier5-src/_shared/open-web-link.ts +22 -0
  67. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +6 -0
  68. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +8 -0
  69. package/templates/branded-lite/tier5-src/himi-branded-lite-info/index.ts +30 -19
  70. package/templates/community-club/dev/index.ts +229 -137
  71. package/templates/community-club/l10n/ar.json +6 -12
  72. package/templates/community-club/l10n/cs.json +6 -12
  73. package/templates/community-club/l10n/da.json +6 -12
  74. package/templates/community-club/l10n/de.json +6 -12
  75. package/templates/community-club/l10n/el.json +6 -12
  76. package/templates/community-club/l10n/en.json +11 -18
  77. package/templates/community-club/l10n/es.json +6 -12
  78. package/templates/community-club/l10n/fi.json +6 -12
  79. package/templates/community-club/l10n/fr.json +6 -12
  80. package/templates/community-club/l10n/he.json +6 -10
  81. package/templates/community-club/l10n/hu.json +6 -12
  82. package/templates/community-club/l10n/id.json +6 -12
  83. package/templates/community-club/l10n/it.json +6 -12
  84. package/templates/community-club/l10n/ja.json +6 -12
  85. package/templates/community-club/l10n/ko.json +6 -12
  86. package/templates/community-club/l10n/lt.json +6 -12
  87. package/templates/community-club/l10n/nl.json +6 -12
  88. package/templates/community-club/l10n/no.json +6 -12
  89. package/templates/community-club/l10n/pl.json +6 -12
  90. package/templates/community-club/l10n/pt.json +6 -12
  91. package/templates/community-club/l10n/ru.json +6 -12
  92. package/templates/community-club/l10n/sv.json +6 -12
  93. package/templates/community-club/l10n/th.json +6 -12
  94. package/templates/community-club/l10n/tr.json +6 -12
  95. package/templates/community-club/l10n/uk.json +6 -12
  96. package/templates/community-club/l10n/vi.json +6 -12
  97. package/templates/community-club/l10n/zh.json +6 -12
  98. package/templates/community-club/tier5-src/_shared/open-web-link.ts +22 -0
  99. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +8 -0
  100. package/templates/community-club/tier5-src/himi-branded-lite-info/index.ts +30 -19
  101. package/templates/events-meetups/dev/index.ts +229 -137
  102. package/templates/events-meetups/l10n/ar.json +6 -12
  103. package/templates/events-meetups/l10n/cs.json +6 -12
  104. package/templates/events-meetups/l10n/da.json +6 -12
  105. package/templates/events-meetups/l10n/de.json +6 -12
  106. package/templates/events-meetups/l10n/el.json +6 -12
  107. package/templates/events-meetups/l10n/en.json +11 -18
  108. package/templates/events-meetups/l10n/es.json +6 -12
  109. package/templates/events-meetups/l10n/fi.json +6 -12
  110. package/templates/events-meetups/l10n/fr.json +6 -12
  111. package/templates/events-meetups/l10n/he.json +6 -10
  112. package/templates/events-meetups/l10n/hu.json +6 -12
  113. package/templates/events-meetups/l10n/id.json +6 -12
  114. package/templates/events-meetups/l10n/it.json +6 -12
  115. package/templates/events-meetups/l10n/ja.json +6 -12
  116. package/templates/events-meetups/l10n/ko.json +6 -12
  117. package/templates/events-meetups/l10n/lt.json +6 -12
  118. package/templates/events-meetups/l10n/nl.json +6 -12
  119. package/templates/events-meetups/l10n/no.json +6 -12
  120. package/templates/events-meetups/l10n/pl.json +6 -12
  121. package/templates/events-meetups/l10n/pt.json +6 -12
  122. package/templates/events-meetups/l10n/ru.json +6 -12
  123. package/templates/events-meetups/l10n/sv.json +6 -12
  124. package/templates/events-meetups/l10n/th.json +6 -12
  125. package/templates/events-meetups/l10n/tr.json +6 -12
  126. package/templates/events-meetups/l10n/uk.json +6 -12
  127. package/templates/events-meetups/l10n/vi.json +6 -12
  128. package/templates/events-meetups/l10n/zh.json +6 -12
  129. package/templates/events-meetups/tier5-src/_shared/open-web-link.ts +22 -0
  130. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +8 -0
  131. package/templates/events-meetups/tier5-src/himi-branded-lite-info/index.ts +30 -19
  132. package/templates/fitness-gym/tier5-src/_shared/open-web-link.ts +22 -0
  133. package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +6 -0
  134. package/templates/gym-fitness/dev/index.ts +231 -139
  135. package/templates/gym-fitness/l10n/ar.json +6 -12
  136. package/templates/gym-fitness/l10n/cs.json +6 -12
  137. package/templates/gym-fitness/l10n/da.json +6 -12
  138. package/templates/gym-fitness/l10n/de.json +6 -12
  139. package/templates/gym-fitness/l10n/el.json +6 -12
  140. package/templates/gym-fitness/l10n/en.json +11 -18
  141. package/templates/gym-fitness/l10n/es.json +6 -12
  142. package/templates/gym-fitness/l10n/fi.json +6 -12
  143. package/templates/gym-fitness/l10n/fr.json +6 -12
  144. package/templates/gym-fitness/l10n/he.json +6 -10
  145. package/templates/gym-fitness/l10n/hu.json +6 -12
  146. package/templates/gym-fitness/l10n/id.json +6 -12
  147. package/templates/gym-fitness/l10n/it.json +6 -12
  148. package/templates/gym-fitness/l10n/ja.json +6 -12
  149. package/templates/gym-fitness/l10n/ko.json +6 -12
  150. package/templates/gym-fitness/l10n/lt.json +6 -12
  151. package/templates/gym-fitness/l10n/nl.json +6 -12
  152. package/templates/gym-fitness/l10n/no.json +6 -12
  153. package/templates/gym-fitness/l10n/pl.json +6 -12
  154. package/templates/gym-fitness/l10n/pt.json +6 -12
  155. package/templates/gym-fitness/l10n/ru.json +6 -12
  156. package/templates/gym-fitness/l10n/sv.json +6 -12
  157. package/templates/gym-fitness/l10n/th.json +6 -12
  158. package/templates/gym-fitness/l10n/tr.json +6 -12
  159. package/templates/gym-fitness/l10n/uk.json +6 -12
  160. package/templates/gym-fitness/l10n/vi.json +6 -12
  161. package/templates/gym-fitness/l10n/zh.json +6 -12
  162. package/templates/gym-fitness/tier5-src/_shared/open-web-link.ts +22 -0
  163. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +6 -0
  164. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +8 -0
  165. package/templates/gym-fitness/tier5-src/himi-branded-lite-info/index.ts +30 -19
  166. package/templates/medical-services/tier5-src/_shared/open-web-link.ts +22 -0
  167. package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +6 -0
  168. package/templates/nonprofit-cause/dev/index.ts +229 -137
  169. package/templates/nonprofit-cause/l10n/ar.json +6 -12
  170. package/templates/nonprofit-cause/l10n/cs.json +6 -12
  171. package/templates/nonprofit-cause/l10n/da.json +6 -12
  172. package/templates/nonprofit-cause/l10n/de.json +6 -12
  173. package/templates/nonprofit-cause/l10n/el.json +6 -12
  174. package/templates/nonprofit-cause/l10n/en.json +11 -18
  175. package/templates/nonprofit-cause/l10n/es.json +6 -12
  176. package/templates/nonprofit-cause/l10n/fi.json +6 -12
  177. package/templates/nonprofit-cause/l10n/fr.json +6 -12
  178. package/templates/nonprofit-cause/l10n/he.json +6 -10
  179. package/templates/nonprofit-cause/l10n/hu.json +6 -12
  180. package/templates/nonprofit-cause/l10n/id.json +6 -12
  181. package/templates/nonprofit-cause/l10n/it.json +6 -12
  182. package/templates/nonprofit-cause/l10n/ja.json +6 -12
  183. package/templates/nonprofit-cause/l10n/ko.json +6 -12
  184. package/templates/nonprofit-cause/l10n/lt.json +6 -12
  185. package/templates/nonprofit-cause/l10n/nl.json +6 -12
  186. package/templates/nonprofit-cause/l10n/no.json +6 -12
  187. package/templates/nonprofit-cause/l10n/pl.json +6 -12
  188. package/templates/nonprofit-cause/l10n/pt.json +6 -12
  189. package/templates/nonprofit-cause/l10n/ru.json +6 -12
  190. package/templates/nonprofit-cause/l10n/sv.json +6 -12
  191. package/templates/nonprofit-cause/l10n/th.json +6 -12
  192. package/templates/nonprofit-cause/l10n/tr.json +6 -12
  193. package/templates/nonprofit-cause/l10n/uk.json +6 -12
  194. package/templates/nonprofit-cause/l10n/vi.json +6 -12
  195. package/templates/nonprofit-cause/l10n/zh.json +6 -12
  196. package/templates/nonprofit-cause/tier5-src/_shared/open-web-link.ts +22 -0
  197. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +8 -0
  198. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-info/index.ts +30 -19
  199. package/templates/personal-fitness-trainer/tier5-src/_shared/open-web-link.ts +22 -0
  200. package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +6 -0
  201. package/templates/podcast-creator/dev/index.ts +229 -137
  202. package/templates/podcast-creator/l10n/ar.json +6 -12
  203. package/templates/podcast-creator/l10n/cs.json +6 -12
  204. package/templates/podcast-creator/l10n/da.json +6 -12
  205. package/templates/podcast-creator/l10n/de.json +6 -12
  206. package/templates/podcast-creator/l10n/el.json +6 -12
  207. package/templates/podcast-creator/l10n/en.json +11 -18
  208. package/templates/podcast-creator/l10n/es.json +6 -12
  209. package/templates/podcast-creator/l10n/fi.json +6 -12
  210. package/templates/podcast-creator/l10n/fr.json +6 -12
  211. package/templates/podcast-creator/l10n/he.json +6 -10
  212. package/templates/podcast-creator/l10n/hu.json +6 -12
  213. package/templates/podcast-creator/l10n/id.json +6 -12
  214. package/templates/podcast-creator/l10n/it.json +6 -12
  215. package/templates/podcast-creator/l10n/ja.json +6 -12
  216. package/templates/podcast-creator/l10n/ko.json +6 -12
  217. package/templates/podcast-creator/l10n/lt.json +6 -12
  218. package/templates/podcast-creator/l10n/nl.json +6 -12
  219. package/templates/podcast-creator/l10n/no.json +6 -12
  220. package/templates/podcast-creator/l10n/pl.json +6 -12
  221. package/templates/podcast-creator/l10n/pt.json +6 -12
  222. package/templates/podcast-creator/l10n/ru.json +6 -12
  223. package/templates/podcast-creator/l10n/sv.json +6 -12
  224. package/templates/podcast-creator/l10n/th.json +6 -12
  225. package/templates/podcast-creator/l10n/tr.json +6 -12
  226. package/templates/podcast-creator/l10n/uk.json +6 -12
  227. package/templates/podcast-creator/l10n/vi.json +6 -12
  228. package/templates/podcast-creator/l10n/zh.json +6 -12
  229. package/templates/podcast-creator/tier5-src/_shared/open-web-link.ts +22 -0
  230. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +8 -0
  231. package/templates/podcast-creator/tier5-src/himi-branded-lite-info/index.ts +30 -19
  232. package/templates/portfolio-creative/dev/index.ts +231 -139
  233. package/templates/portfolio-creative/l10n/ar.json +0 -12
  234. package/templates/portfolio-creative/l10n/cs.json +0 -12
  235. package/templates/portfolio-creative/l10n/da.json +0 -12
  236. package/templates/portfolio-creative/l10n/de.json +0 -12
  237. package/templates/portfolio-creative/l10n/el.json +0 -12
  238. package/templates/portfolio-creative/l10n/en.json +4 -18
  239. package/templates/portfolio-creative/l10n/es.json +0 -12
  240. package/templates/portfolio-creative/l10n/fi.json +0 -12
  241. package/templates/portfolio-creative/l10n/fr.json +0 -12
  242. package/templates/portfolio-creative/l10n/he.json +0 -10
  243. package/templates/portfolio-creative/l10n/hu.json +0 -12
  244. package/templates/portfolio-creative/l10n/id.json +0 -12
  245. package/templates/portfolio-creative/l10n/it.json +0 -12
  246. package/templates/portfolio-creative/l10n/ja.json +0 -12
  247. package/templates/portfolio-creative/l10n/ko.json +0 -12
  248. package/templates/portfolio-creative/l10n/lt.json +0 -12
  249. package/templates/portfolio-creative/l10n/nl.json +0 -12
  250. package/templates/portfolio-creative/l10n/no.json +0 -12
  251. package/templates/portfolio-creative/l10n/pl.json +0 -12
  252. package/templates/portfolio-creative/l10n/pt.json +0 -12
  253. package/templates/portfolio-creative/l10n/ru.json +0 -12
  254. package/templates/portfolio-creative/l10n/sv.json +0 -12
  255. package/templates/portfolio-creative/l10n/th.json +0 -12
  256. package/templates/portfolio-creative/l10n/tr.json +0 -12
  257. package/templates/portfolio-creative/l10n/uk.json +0 -12
  258. package/templates/portfolio-creative/l10n/vi.json +0 -12
  259. package/templates/portfolio-creative/l10n/zh.json +0 -12
  260. package/templates/portfolio-creative/tier5-src/_shared/open-web-link.ts +22 -0
  261. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +8 -0
  262. package/templates/portfolio-creative/tier5-src/himi-branded-lite-info/index.ts +30 -19
  263. package/templates/professional-services/tier5-src/_shared/open-web-link.ts +22 -0
  264. package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +6 -0
  265. package/templates/restaurant/dev/index.ts +229 -137
  266. package/templates/restaurant/l10n/ar.json +6 -12
  267. package/templates/restaurant/l10n/cs.json +6 -12
  268. package/templates/restaurant/l10n/da.json +6 -12
  269. package/templates/restaurant/l10n/de.json +6 -12
  270. package/templates/restaurant/l10n/el.json +6 -12
  271. package/templates/restaurant/l10n/en.json +11 -18
  272. package/templates/restaurant/l10n/es.json +6 -12
  273. package/templates/restaurant/l10n/fi.json +6 -12
  274. package/templates/restaurant/l10n/fr.json +6 -12
  275. package/templates/restaurant/l10n/he.json +6 -10
  276. package/templates/restaurant/l10n/hu.json +6 -12
  277. package/templates/restaurant/l10n/id.json +6 -12
  278. package/templates/restaurant/l10n/it.json +6 -12
  279. package/templates/restaurant/l10n/ja.json +6 -12
  280. package/templates/restaurant/l10n/ko.json +6 -12
  281. package/templates/restaurant/l10n/lt.json +6 -12
  282. package/templates/restaurant/l10n/nl.json +6 -12
  283. package/templates/restaurant/l10n/no.json +6 -12
  284. package/templates/restaurant/l10n/pl.json +6 -12
  285. package/templates/restaurant/l10n/pt.json +6 -12
  286. package/templates/restaurant/l10n/ru.json +6 -12
  287. package/templates/restaurant/l10n/sv.json +6 -12
  288. package/templates/restaurant/l10n/th.json +6 -12
  289. package/templates/restaurant/l10n/tr.json +6 -12
  290. package/templates/restaurant/l10n/uk.json +6 -12
  291. package/templates/restaurant/l10n/vi.json +6 -12
  292. package/templates/restaurant/l10n/zh.json +6 -12
  293. package/templates/restaurant/tier5-src/_shared/open-web-link.ts +22 -0
  294. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +8 -0
  295. package/templates/restaurant/tier5-src/himi-branded-lite-info/index.ts +30 -19
  296. package/templates/retail-store/dev/index.ts +229 -137
  297. package/templates/retail-store/l10n/ar.json +6 -12
  298. package/templates/retail-store/l10n/cs.json +6 -12
  299. package/templates/retail-store/l10n/da.json +6 -12
  300. package/templates/retail-store/l10n/de.json +6 -12
  301. package/templates/retail-store/l10n/el.json +6 -12
  302. package/templates/retail-store/l10n/en.json +11 -18
  303. package/templates/retail-store/l10n/es.json +6 -12
  304. package/templates/retail-store/l10n/fi.json +6 -12
  305. package/templates/retail-store/l10n/fr.json +6 -12
  306. package/templates/retail-store/l10n/he.json +6 -10
  307. package/templates/retail-store/l10n/hu.json +6 -12
  308. package/templates/retail-store/l10n/id.json +6 -12
  309. package/templates/retail-store/l10n/it.json +6 -12
  310. package/templates/retail-store/l10n/ja.json +6 -12
  311. package/templates/retail-store/l10n/ko.json +6 -12
  312. package/templates/retail-store/l10n/lt.json +6 -12
  313. package/templates/retail-store/l10n/nl.json +6 -12
  314. package/templates/retail-store/l10n/no.json +6 -12
  315. package/templates/retail-store/l10n/pl.json +6 -12
  316. package/templates/retail-store/l10n/pt.json +6 -12
  317. package/templates/retail-store/l10n/ru.json +6 -12
  318. package/templates/retail-store/l10n/sv.json +6 -12
  319. package/templates/retail-store/l10n/th.json +6 -12
  320. package/templates/retail-store/l10n/tr.json +6 -12
  321. package/templates/retail-store/l10n/uk.json +6 -12
  322. package/templates/retail-store/l10n/vi.json +6 -12
  323. package/templates/retail-store/l10n/zh.json +6 -12
  324. package/templates/retail-store/tier5-src/_shared/open-web-link.ts +22 -0
  325. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +8 -0
  326. package/templates/retail-store/tier5-src/himi-branded-lite-info/index.ts +30 -19
  327. package/templates/salon-spa/tier5-src/_shared/open-web-link.ts +22 -0
  328. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +6 -0
  329. package/templates/yoga-studio/dev/index.ts +231 -139
  330. package/templates/yoga-studio/l10n/ar.json +6 -12
  331. package/templates/yoga-studio/l10n/cs.json +6 -12
  332. package/templates/yoga-studio/l10n/da.json +6 -12
  333. package/templates/yoga-studio/l10n/de.json +6 -12
  334. package/templates/yoga-studio/l10n/el.json +6 -12
  335. package/templates/yoga-studio/l10n/en.json +11 -18
  336. package/templates/yoga-studio/l10n/es.json +6 -12
  337. package/templates/yoga-studio/l10n/fi.json +6 -12
  338. package/templates/yoga-studio/l10n/fr.json +6 -12
  339. package/templates/yoga-studio/l10n/he.json +6 -10
  340. package/templates/yoga-studio/l10n/hu.json +6 -12
  341. package/templates/yoga-studio/l10n/id.json +6 -12
  342. package/templates/yoga-studio/l10n/it.json +6 -12
  343. package/templates/yoga-studio/l10n/ja.json +6 -12
  344. package/templates/yoga-studio/l10n/ko.json +6 -12
  345. package/templates/yoga-studio/l10n/lt.json +6 -12
  346. package/templates/yoga-studio/l10n/nl.json +6 -12
  347. package/templates/yoga-studio/l10n/no.json +6 -12
  348. package/templates/yoga-studio/l10n/pl.json +6 -12
  349. package/templates/yoga-studio/l10n/pt.json +6 -12
  350. package/templates/yoga-studio/l10n/ru.json +6 -12
  351. package/templates/yoga-studio/l10n/sv.json +6 -12
  352. package/templates/yoga-studio/l10n/th.json +6 -12
  353. package/templates/yoga-studio/l10n/tr.json +6 -12
  354. package/templates/yoga-studio/l10n/uk.json +6 -12
  355. package/templates/yoga-studio/l10n/vi.json +6 -12
  356. package/templates/yoga-studio/l10n/zh.json +6 -12
  357. package/templates/yoga-studio/tier5-src/_shared/open-web-link.ts +22 -0
  358. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +6 -0
  359. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +8 -0
  360. package/templates/yoga-studio/tier5-src/himi-branded-lite-info/index.ts +30 -19
@@ -794,12 +794,6 @@
794
794
  "translation": "Layout",
795
795
  "origin": "machine"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "App e suporte",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "Salvar",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "Suporte",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "Comunidade",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "Contate-nos",
1401
+ "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_CONTACT_SETTINGS_GET_IN_TOUCH_TITLE"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "Макет",
795
795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_WEB_VIEW_SETTINGS_LAYOUT"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "Приложение и поддержка",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "Сохранить",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "Поддержка",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "Сообщество",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "Свяжитесь с нами",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "Layout",
795
795
  "origin": "machine"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "Appen och support",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "Spara",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "Support",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "Community",
1407
1395
  "origin": "machine"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "Kontakta oss",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "การจัดวาง",
795
795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_WEB_VIEW_SETTINGS_LAYOUT"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "แอปและการสนับสนุน",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "บันทึก",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "การสนับสนุน",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "ชุมชน",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "ติดต่อเรา",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "Düzen",
795
795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_WEB_VIEW_SETTINGS_LAYOUT"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "Uygulama ve destek",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "Kaydet",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "Destek",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "Topluluk",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "İletişime geçin",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "Макет",
795
795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_WEB_VIEW_SETTINGS_LAYOUT"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "Додаток і підтримка",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "Зберегти",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "Підтримка",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "Спільнота",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "Зв'яжіться з нами",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "Bố cục",
795
795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_WEB_VIEW_SETTINGS_LAYOUT"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "Ứng dụng và hỗ trợ",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "Lưu",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "Hỗ trợ",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "Cộng đồng",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "Liên hệ",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -794,12 +794,6 @@
794
794
  "translation": "版面配置",
795
795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:SECTION_WEB_VIEW_SETTINGS_LAYOUT"
796
796
  },
797
- "h_9a88b3e90f67": {
798
- "key": "appInfo.title",
799
- "source": "App & support",
800
- "translation": "應用程式與支援",
801
- "origin": "machine"
802
- },
803
797
  "h_9be70f66f8dd": {
804
798
  "key": "order.taxLabel",
805
799
  "source": "Tax",
@@ -1328,12 +1322,6 @@
1328
1322
  "translation": "儲存",
1329
1323
  "origin": "one-app:wix-one-app-pos:pos.addNoteToSale.navigation.button.save"
1330
1324
  },
1331
- "h_f32d5a3b17e6": {
1332
- "key": "appInfo.supportLink",
1333
- "source": "Support",
1334
- "translation": "支援",
1335
- "origin": "machine"
1336
- },
1337
1325
  "h_f3d57b2c0235": {
1338
1326
  "key": "subscriptionDetail.notFoundTitle",
1339
1327
  "source": "Subscription not found",
@@ -1406,6 +1394,12 @@
1406
1394
  "translation": "社群",
1407
1395
  "origin": "one-app:mobile-apps-studio-platform:studio.discover.header-chips.community"
1408
1396
  },
1397
+ "h_c49bb4c2424d": {
1398
+ "key": "home.contactCta",
1399
+ "source": "Get in touch",
1400
+ "translation": "與我們聯繫",
1401
+ "origin": "machine"
1402
+ },
1409
1403
  "h_a733b809d2f1": {
1410
1404
  "key": "mySubscriptions.active",
1411
1405
  "source": "Active",
@@ -0,0 +1,22 @@
1
+ import { open } from "@himalaya/open-url";
2
+
3
+ /** What happened to a web-link tap: the link opened, it is not a web link, or the host failed to open it. */
4
+ export type WebLinkResult = "opened" | "unavailable" | "failed";
5
+
6
+ /** The `url` an action argument carries, or "". */
7
+ export function linkUrlFrom(arg: unknown): string {
8
+ return typeof arg === "object" && arg !== null && typeof (arg as { url?: unknown }).url === "string"
9
+ ? (arg as { url: string }).url
10
+ : "";
11
+ }
12
+
13
+ /** Open an http(s) link in the in-app browser. Anything else (javascript:, a blank value) is refused
14
+ * before it reaches the host. Never throws. */
15
+ export async function openWebLink(url: string): Promise<WebLinkResult> {
16
+ if (!/^https?:\/\//i.test(url)) return "unavailable";
17
+ try {
18
+ return (await open(url, "in_app_browser")).opened ? "opened" : "failed";
19
+ } catch {
20
+ return "failed";
21
+ }
22
+ }
@@ -5,6 +5,7 @@ import { open } from "@himalaya/open-url";
5
5
  import { wixMediaUrl, WIX_LIST_IMAGE } from "@himalaya/wix-media";
6
6
  import { navigate } from "@himalaya/state";
7
7
  import { copyParam, copyTemplate } from "../_shared/himi-copy.js";
8
+ import { linkUrlFrom, openWebLink } from "../_shared/open-web-link.js";
8
9
  import { readResultSnackbar, resultSnackbarOn, showResultSnackbar } from "../_shared/result-snackbar.js";
9
10
  import { memberAccess, assertMemberAccess, memberAccessChanged, memberAccessDenied, type MemberAccess } from "../_shared/member-access.js";
10
11
  import { fetchMemberBookings, UNCONFIRMED_STATUSES, bookingDurationText, bookingMinutes, bookingStatusLabel, canAddBookingToCalendar, canCancelBooking, hasBookingDirections, type MemberBookingRow } from "../_shared/member-bookings.js";
@@ -434,6 +435,11 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
434
435
  } catch { /* the result sheet says so below */ }
435
436
  return showResult(s, copyParam("bookings.mapsFailed", "Couldn't open maps."), false);
436
437
  },
438
+ // "Contact Us" in an app with no contact screen: the business's support page, in the in-app browser.
439
+ async openSupport(s, arg): Promise<S> {
440
+ if (await openWebLink(linkUrlFrom(arg)) === "opened") return s;
441
+ return showResult(s, copyParam("bookings.linkOpenFailed", "This link could not be opened."), false);
442
+ },
437
443
  },
438
444
  });
439
445
 
@@ -29,6 +29,7 @@ import { formatServicePrice } from "../_shared/wix-service-price.js";
29
29
  import { cleanTitle, initials } from "../_shared/himi-text.js";
30
30
  import { LAYOUT_KEY, type LayoutId, recommendLayout, resolveLayout } from "../_shared/himi-layouts.js";
31
31
  import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
32
+ import { linkUrlFrom, openWebLink } from "../_shared/open-web-link.js";
32
33
  import { groupMemberCount } from "../_shared/group-member-count.js";
33
34
  import { parseWeeklyGoal, resolveFirstWeekday, weekStartMs, weeklyGoalProgress, weeklySessionsFromPages, type Weekday } from "../_shared/weekly-goal.js";
34
35
  import { isBridgeUnavailable } from "../_shared/owner-load-error.js";
@@ -1428,6 +1429,7 @@ const svc = defineService<State, {
1428
1429
  checkPushAsk: (state: State, arg?: unknown) => Promise<State | undefined>;
1429
1430
  turnOnPush: (state: State) => Promise<State | undefined>;
1430
1431
  dismissPushAsk: (state: State) => State;
1432
+ openSupport: (state: State, arg?: unknown) => Promise<State | undefined>;
1431
1433
  clearPersonal: (state: State) => State;
1432
1434
  memberProgramsLoaded: (state: State, arg: { generation: number; rows: MemberProgramCard[]; attempt?: number }) => State | undefined;
1433
1435
  openShopCategory: (state: State, arg?: unknown) => State;
@@ -1518,6 +1520,12 @@ const svc = defineService<State, {
1518
1520
  rememberPushAskAnswered();
1519
1521
  return derive({ ...state, pushAskHidden: true });
1520
1522
  },
1523
+ // "Get in touch" in an app with no contact screen: the support page in the in-app browser.
1524
+ // Home has no place for a failure line; the state does not change either way.
1525
+ openSupport: async (_state, arg) => {
1526
+ await openWebLink(linkUrlFrom(arg));
1527
+ return undefined;
1528
+ },
1521
1529
  },
1522
1530
  });
1523
1531
 
@@ -1,10 +1,11 @@
1
1
  import { defineService } from "@himalaya/state";
2
- import { open as openUrl } from "@himalaya/open-url";
2
+ import { linkUrlFrom, openWebLink } from "../_shared/open-web-link.js";
3
3
  import { get as getAppInfo, type AppInfo } from "@himalaya/app-info";
4
4
  import { available as pickerAvailable, active as activeRelease, list as listReleases, select as selectRelease } from "@himalaya/release-control";
5
5
  import { copyParam, stashCopy } from "../_shared/himi-copy.js";
6
+ import { hostSiteFromInput } from "../_shared/branded-lite-hosted.js";
6
7
 
7
- // The App & support screen's worker. Besides opening the support/privacy/terms links it:
8
+ // The About screen's worker. Besides opening the privacy/terms links it:
8
9
  //
9
10
  // • reads this app's REAL version + OTA release through @himalaya/app-info rather than letting
10
11
  // the descriptor bake a literal — the mistake every other app's About screen makes (demo-app
@@ -29,6 +30,13 @@ interface State {
29
30
  version: string;
30
31
  /** "Release 89e391d84" in prod, "" on the dev-server (there is no release). */
31
32
  releaseLine: string;
33
+ /** The value beside the baked "Version" label: "0.2.0 (2) · Release 89e391d84", or "" until loaded.
34
+ * The numbers sit in LTR isolates so RTL text keeps their order ("(2) 0.2.0" otherwise). */
35
+ versionText: string;
36
+ /** Hides the version row until a version is read (true in the baked first frame). */
37
+ noVersion: boolean;
38
+ /** A hosted build's site name — the screen title there, because the baked one is the shell's. */
39
+ hostedName: string;
32
40
  /** "HimalayaCore 1.1.0" — the min_binary_version basis, a developer-facing number. */
33
41
  runtimeLine: string;
34
42
  /** True only on a build that opted into the picker. */
@@ -45,12 +53,6 @@ interface State {
45
53
  pickerBusy: boolean;
46
54
  }
47
55
 
48
- function urlFrom(arg: unknown): string {
49
- return typeof arg === "object" && arg !== null && typeof (arg as { url?: unknown }).url === "string"
50
- ? (arg as { url: string }).url
51
- : "";
52
- }
53
-
54
56
  function idFrom(arg: unknown): string {
55
57
  return typeof arg === "object" && arg !== null && typeof (arg as { id?: unknown }).id === "string"
56
58
  ? (arg as { id: string }).id
@@ -68,7 +70,20 @@ function formatVersion(info: AppInfo): string {
68
70
  /** `Release <id>` (+ ` · pinned`), or "" when there is no release (the dev-server). */
69
71
  function formatRelease(releaseId: string | null, pinned: boolean): string {
70
72
  if (!releaseId) return "";
71
- return `${copyParam("appInfo.releaseLabel", "Release")} ${releaseId}${pinned ? " · pinned" : ""}`;
73
+ return `${copyParam("appInfo.releaseLabel", "Release")} ${ltr(releaseId)}${pinned ? " · pinned" : ""}`;
74
+ }
75
+
76
+ /** A left-to-right isolate (U+2066 … U+2069): digits and ids keep their order inside right-to-left
77
+ * text. Built from char codes so the source holds no invisible bidi characters. */
78
+ const LRI = String.fromCharCode(0x2066);
79
+ const PDI = String.fromCharCode(0x2069);
80
+ const ltr = (value: string): string => `${LRI}${value}${PDI}`;
81
+
82
+ /** `0.2.0 (2)`, plus ` · <release line>` when there is one; "" with no version. The descriptor
83
+ * bakes the translated "Version" label beside it. */
84
+ function formatVersionText(version: string, releaseLine: string): string {
85
+ if (!version) return "";
86
+ return releaseLine ? `${ltr(version)} · ${releaseLine}` : ltr(version);
72
87
  }
73
88
 
74
89
  /** `2026-07-27` from an ISO timestamp — the date is what a QA person picks by; the clock time
@@ -86,7 +101,8 @@ const svc = defineService<State, {
86
101
  resetRelease: (state: State, arg?: unknown) => Promise<State>;
87
102
  }>("himiBrandedInfo", {
88
103
  state: {
89
- message: "", version: "", releaseLine: "", runtimeLine: "",
104
+ message: "", version: "", releaseLine: "", runtimeLine: "", versionText: "", noVersion: true,
105
+ hostedName: (hostSiteFromInput((globalThis as { himalaya?: { input?: unknown } }).himalaya?.input)?.name ?? "").trim(),
90
106
  pickerAvailable: false, pickerHidden: true, releases: [], pickerMessage: "", pickerBusy: false,
91
107
  },
92
108
  actions: {
@@ -127,19 +143,14 @@ const svc = defineService<State, {
127
143
  } catch {
128
144
  next = { ...next, pickerAvailable: false, pickerHidden: true, runtimeLine: "" };
129
145
  }
130
- return next;
146
+ return { ...next, versionText: formatVersionText(next.version, next.releaseLine), noVersion: !next.version };
131
147
  },
132
148
 
133
149
  open: async (state, arg) => {
134
150
  stashCopy(arg);
135
- const url = urlFrom(arg);
136
- if (!/^https?:\/\//i.test(url)) return { ...state, message: copyParam("appInfo.linkUnavailableMessage", "This link is unavailable.") };
137
- try {
138
- const result = await openUrl(url, "in_app_browser");
139
- return { ...state, message: result.opened ? "" : copyParam("appInfo.linkOpenFailedMessage", "This link could not be opened.") };
140
- } catch {
141
- return { ...state, message: copyParam("appInfo.linkOpenFailedMessage", "This link could not be opened.") };
142
- }
151
+ const result = await openWebLink(linkUrlFrom(arg));
152
+ if (result === "unavailable") return { ...state, message: copyParam("appInfo.linkUnavailableMessage", "This link is unavailable.") };
153
+ return { ...state, message: result === "opened" ? "" : copyParam("appInfo.linkOpenFailedMessage", "This link could not be opened.") };
143
154
  },
144
155
 
145
156
  loadReleases: async (state, arg) => {