@wix/himalaya-cli 0.2004.0 → 0.2006.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 (485) 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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
  26. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
  27. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
  28. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
  29. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
  30. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
  31. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
  32. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
  33. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
  34. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
  35. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
  36. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
  37. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
  38. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
  39. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
  40. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
  41. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
  42. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
  43. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
  44. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
  45. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
  46. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
  47. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
  48. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
  49. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
  50. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
  51. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
  52. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
  53. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
  54. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
  55. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
  56. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
  57. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
  58. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
  59. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
  60. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
  61. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
  62. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
  63. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
  64. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
  65. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
  66. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
  67. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
  68. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
  69. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
  70. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
  71. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
  72. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
  73. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
  74. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
  75. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
  76. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
  77. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
  78. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
  79. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
  80. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
  81. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
  82. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
  83. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
  84. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
  85. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
  86. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
  87. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
  88. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
  89. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
  90. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
  91. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
  92. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
  93. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
  94. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
  95. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
  96. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
  97. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
  98. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
  99. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
  100. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
  101. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
  102. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
  103. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
  104. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
  105. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
  106. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
  107. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
  108. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
  109. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
  110. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
  111. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
  112. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
  113. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
  114. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
  115. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
  116. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
  117. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
  118. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
  119. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
  120. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
  121. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
  122. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
  123. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
  124. package/dist/cli.mjs +9 -10
  125. package/guides/importable-sdks.md +1 -0
  126. package/guides/sdk-reference.json +15672 -8927
  127. package/guides/wix-api-usage.md +28 -0
  128. package/package.json +2 -2
  129. package/templates/bare-fashion/tier5-src/_shared/open-web-link.ts +22 -0
  130. package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +30 -19
  131. package/templates/beauty-salon/dev/index.ts +231 -139
  132. package/templates/beauty-salon/l10n/ar.json +6 -12
  133. package/templates/beauty-salon/l10n/cs.json +6 -12
  134. package/templates/beauty-salon/l10n/da.json +6 -12
  135. package/templates/beauty-salon/l10n/de.json +6 -12
  136. package/templates/beauty-salon/l10n/el.json +6 -12
  137. package/templates/beauty-salon/l10n/en.json +11 -18
  138. package/templates/beauty-salon/l10n/es.json +6 -12
  139. package/templates/beauty-salon/l10n/fi.json +6 -12
  140. package/templates/beauty-salon/l10n/fr.json +6 -12
  141. package/templates/beauty-salon/l10n/he.json +6 -10
  142. package/templates/beauty-salon/l10n/hu.json +6 -12
  143. package/templates/beauty-salon/l10n/id.json +6 -12
  144. package/templates/beauty-salon/l10n/it.json +6 -12
  145. package/templates/beauty-salon/l10n/ja.json +6 -12
  146. package/templates/beauty-salon/l10n/ko.json +6 -12
  147. package/templates/beauty-salon/l10n/lt.json +6 -12
  148. package/templates/beauty-salon/l10n/nl.json +6 -12
  149. package/templates/beauty-salon/l10n/no.json +6 -12
  150. package/templates/beauty-salon/l10n/pl.json +6 -12
  151. package/templates/beauty-salon/l10n/pt.json +6 -12
  152. package/templates/beauty-salon/l10n/ru.json +6 -12
  153. package/templates/beauty-salon/l10n/sv.json +6 -12
  154. package/templates/beauty-salon/l10n/th.json +6 -12
  155. package/templates/beauty-salon/l10n/tr.json +6 -12
  156. package/templates/beauty-salon/l10n/uk.json +6 -12
  157. package/templates/beauty-salon/l10n/vi.json +6 -12
  158. package/templates/beauty-salon/l10n/zh.json +6 -12
  159. package/templates/beauty-salon/tier5-src/_shared/open-web-link.ts +22 -0
  160. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +6 -0
  161. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +8 -0
  162. package/templates/beauty-salon/tier5-src/himi-branded-lite-info/index.ts +30 -19
  163. package/templates/branded-lite/dev/index.ts +229 -137
  164. package/templates/branded-lite/l10n/ar.json +0 -12
  165. package/templates/branded-lite/l10n/cs.json +0 -12
  166. package/templates/branded-lite/l10n/da.json +0 -12
  167. package/templates/branded-lite/l10n/de.json +0 -12
  168. package/templates/branded-lite/l10n/el.json +0 -12
  169. package/templates/branded-lite/l10n/en.json +4 -18
  170. package/templates/branded-lite/l10n/es.json +0 -12
  171. package/templates/branded-lite/l10n/fi.json +0 -12
  172. package/templates/branded-lite/l10n/fr.json +0 -12
  173. package/templates/branded-lite/l10n/he.json +0 -10
  174. package/templates/branded-lite/l10n/hu.json +0 -12
  175. package/templates/branded-lite/l10n/id.json +0 -12
  176. package/templates/branded-lite/l10n/it.json +0 -12
  177. package/templates/branded-lite/l10n/ja.json +0 -12
  178. package/templates/branded-lite/l10n/ko.json +0 -12
  179. package/templates/branded-lite/l10n/lt.json +0 -12
  180. package/templates/branded-lite/l10n/nl.json +0 -12
  181. package/templates/branded-lite/l10n/no.json +0 -12
  182. package/templates/branded-lite/l10n/pl.json +0 -12
  183. package/templates/branded-lite/l10n/pt.json +0 -12
  184. package/templates/branded-lite/l10n/ru.json +0 -12
  185. package/templates/branded-lite/l10n/sv.json +0 -12
  186. package/templates/branded-lite/l10n/th.json +0 -12
  187. package/templates/branded-lite/l10n/tr.json +0 -12
  188. package/templates/branded-lite/l10n/uk.json +0 -12
  189. package/templates/branded-lite/l10n/vi.json +0 -12
  190. package/templates/branded-lite/l10n/zh.json +0 -12
  191. package/templates/branded-lite/tier5-src/_shared/open-web-link.ts +22 -0
  192. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +6 -0
  193. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +8 -0
  194. package/templates/branded-lite/tier5-src/himi-branded-lite-info/index.ts +30 -19
  195. package/templates/community-club/dev/index.ts +229 -137
  196. package/templates/community-club/l10n/ar.json +6 -12
  197. package/templates/community-club/l10n/cs.json +6 -12
  198. package/templates/community-club/l10n/da.json +6 -12
  199. package/templates/community-club/l10n/de.json +6 -12
  200. package/templates/community-club/l10n/el.json +6 -12
  201. package/templates/community-club/l10n/en.json +11 -18
  202. package/templates/community-club/l10n/es.json +6 -12
  203. package/templates/community-club/l10n/fi.json +6 -12
  204. package/templates/community-club/l10n/fr.json +6 -12
  205. package/templates/community-club/l10n/he.json +6 -10
  206. package/templates/community-club/l10n/hu.json +6 -12
  207. package/templates/community-club/l10n/id.json +6 -12
  208. package/templates/community-club/l10n/it.json +6 -12
  209. package/templates/community-club/l10n/ja.json +6 -12
  210. package/templates/community-club/l10n/ko.json +6 -12
  211. package/templates/community-club/l10n/lt.json +6 -12
  212. package/templates/community-club/l10n/nl.json +6 -12
  213. package/templates/community-club/l10n/no.json +6 -12
  214. package/templates/community-club/l10n/pl.json +6 -12
  215. package/templates/community-club/l10n/pt.json +6 -12
  216. package/templates/community-club/l10n/ru.json +6 -12
  217. package/templates/community-club/l10n/sv.json +6 -12
  218. package/templates/community-club/l10n/th.json +6 -12
  219. package/templates/community-club/l10n/tr.json +6 -12
  220. package/templates/community-club/l10n/uk.json +6 -12
  221. package/templates/community-club/l10n/vi.json +6 -12
  222. package/templates/community-club/l10n/zh.json +6 -12
  223. package/templates/community-club/tier5-src/_shared/open-web-link.ts +22 -0
  224. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +8 -0
  225. package/templates/community-club/tier5-src/himi-branded-lite-info/index.ts +30 -19
  226. package/templates/events-meetups/dev/index.ts +229 -137
  227. package/templates/events-meetups/l10n/ar.json +6 -12
  228. package/templates/events-meetups/l10n/cs.json +6 -12
  229. package/templates/events-meetups/l10n/da.json +6 -12
  230. package/templates/events-meetups/l10n/de.json +6 -12
  231. package/templates/events-meetups/l10n/el.json +6 -12
  232. package/templates/events-meetups/l10n/en.json +11 -18
  233. package/templates/events-meetups/l10n/es.json +6 -12
  234. package/templates/events-meetups/l10n/fi.json +6 -12
  235. package/templates/events-meetups/l10n/fr.json +6 -12
  236. package/templates/events-meetups/l10n/he.json +6 -10
  237. package/templates/events-meetups/l10n/hu.json +6 -12
  238. package/templates/events-meetups/l10n/id.json +6 -12
  239. package/templates/events-meetups/l10n/it.json +6 -12
  240. package/templates/events-meetups/l10n/ja.json +6 -12
  241. package/templates/events-meetups/l10n/ko.json +6 -12
  242. package/templates/events-meetups/l10n/lt.json +6 -12
  243. package/templates/events-meetups/l10n/nl.json +6 -12
  244. package/templates/events-meetups/l10n/no.json +6 -12
  245. package/templates/events-meetups/l10n/pl.json +6 -12
  246. package/templates/events-meetups/l10n/pt.json +6 -12
  247. package/templates/events-meetups/l10n/ru.json +6 -12
  248. package/templates/events-meetups/l10n/sv.json +6 -12
  249. package/templates/events-meetups/l10n/th.json +6 -12
  250. package/templates/events-meetups/l10n/tr.json +6 -12
  251. package/templates/events-meetups/l10n/uk.json +6 -12
  252. package/templates/events-meetups/l10n/vi.json +6 -12
  253. package/templates/events-meetups/l10n/zh.json +6 -12
  254. package/templates/events-meetups/tier5-src/_shared/open-web-link.ts +22 -0
  255. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +8 -0
  256. package/templates/events-meetups/tier5-src/himi-branded-lite-info/index.ts +30 -19
  257. package/templates/fitness-gym/tier5-src/_shared/open-web-link.ts +22 -0
  258. package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +6 -0
  259. package/templates/gym-fitness/dev/index.ts +231 -139
  260. package/templates/gym-fitness/l10n/ar.json +6 -12
  261. package/templates/gym-fitness/l10n/cs.json +6 -12
  262. package/templates/gym-fitness/l10n/da.json +6 -12
  263. package/templates/gym-fitness/l10n/de.json +6 -12
  264. package/templates/gym-fitness/l10n/el.json +6 -12
  265. package/templates/gym-fitness/l10n/en.json +11 -18
  266. package/templates/gym-fitness/l10n/es.json +6 -12
  267. package/templates/gym-fitness/l10n/fi.json +6 -12
  268. package/templates/gym-fitness/l10n/fr.json +6 -12
  269. package/templates/gym-fitness/l10n/he.json +6 -10
  270. package/templates/gym-fitness/l10n/hu.json +6 -12
  271. package/templates/gym-fitness/l10n/id.json +6 -12
  272. package/templates/gym-fitness/l10n/it.json +6 -12
  273. package/templates/gym-fitness/l10n/ja.json +6 -12
  274. package/templates/gym-fitness/l10n/ko.json +6 -12
  275. package/templates/gym-fitness/l10n/lt.json +6 -12
  276. package/templates/gym-fitness/l10n/nl.json +6 -12
  277. package/templates/gym-fitness/l10n/no.json +6 -12
  278. package/templates/gym-fitness/l10n/pl.json +6 -12
  279. package/templates/gym-fitness/l10n/pt.json +6 -12
  280. package/templates/gym-fitness/l10n/ru.json +6 -12
  281. package/templates/gym-fitness/l10n/sv.json +6 -12
  282. package/templates/gym-fitness/l10n/th.json +6 -12
  283. package/templates/gym-fitness/l10n/tr.json +6 -12
  284. package/templates/gym-fitness/l10n/uk.json +6 -12
  285. package/templates/gym-fitness/l10n/vi.json +6 -12
  286. package/templates/gym-fitness/l10n/zh.json +6 -12
  287. package/templates/gym-fitness/tier5-src/_shared/open-web-link.ts +22 -0
  288. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +6 -0
  289. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +8 -0
  290. package/templates/gym-fitness/tier5-src/himi-branded-lite-info/index.ts +30 -19
  291. package/templates/medical-services/tier5-src/_shared/open-web-link.ts +22 -0
  292. package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +6 -0
  293. package/templates/nonprofit-cause/dev/index.ts +229 -137
  294. package/templates/nonprofit-cause/l10n/ar.json +6 -12
  295. package/templates/nonprofit-cause/l10n/cs.json +6 -12
  296. package/templates/nonprofit-cause/l10n/da.json +6 -12
  297. package/templates/nonprofit-cause/l10n/de.json +6 -12
  298. package/templates/nonprofit-cause/l10n/el.json +6 -12
  299. package/templates/nonprofit-cause/l10n/en.json +11 -18
  300. package/templates/nonprofit-cause/l10n/es.json +6 -12
  301. package/templates/nonprofit-cause/l10n/fi.json +6 -12
  302. package/templates/nonprofit-cause/l10n/fr.json +6 -12
  303. package/templates/nonprofit-cause/l10n/he.json +6 -10
  304. package/templates/nonprofit-cause/l10n/hu.json +6 -12
  305. package/templates/nonprofit-cause/l10n/id.json +6 -12
  306. package/templates/nonprofit-cause/l10n/it.json +6 -12
  307. package/templates/nonprofit-cause/l10n/ja.json +6 -12
  308. package/templates/nonprofit-cause/l10n/ko.json +6 -12
  309. package/templates/nonprofit-cause/l10n/lt.json +6 -12
  310. package/templates/nonprofit-cause/l10n/nl.json +6 -12
  311. package/templates/nonprofit-cause/l10n/no.json +6 -12
  312. package/templates/nonprofit-cause/l10n/pl.json +6 -12
  313. package/templates/nonprofit-cause/l10n/pt.json +6 -12
  314. package/templates/nonprofit-cause/l10n/ru.json +6 -12
  315. package/templates/nonprofit-cause/l10n/sv.json +6 -12
  316. package/templates/nonprofit-cause/l10n/th.json +6 -12
  317. package/templates/nonprofit-cause/l10n/tr.json +6 -12
  318. package/templates/nonprofit-cause/l10n/uk.json +6 -12
  319. package/templates/nonprofit-cause/l10n/vi.json +6 -12
  320. package/templates/nonprofit-cause/l10n/zh.json +6 -12
  321. package/templates/nonprofit-cause/tier5-src/_shared/open-web-link.ts +22 -0
  322. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +8 -0
  323. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-info/index.ts +30 -19
  324. package/templates/personal-fitness-trainer/tier5-src/_shared/open-web-link.ts +22 -0
  325. package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +6 -0
  326. package/templates/podcast-creator/dev/index.ts +229 -137
  327. package/templates/podcast-creator/l10n/ar.json +6 -12
  328. package/templates/podcast-creator/l10n/cs.json +6 -12
  329. package/templates/podcast-creator/l10n/da.json +6 -12
  330. package/templates/podcast-creator/l10n/de.json +6 -12
  331. package/templates/podcast-creator/l10n/el.json +6 -12
  332. package/templates/podcast-creator/l10n/en.json +11 -18
  333. package/templates/podcast-creator/l10n/es.json +6 -12
  334. package/templates/podcast-creator/l10n/fi.json +6 -12
  335. package/templates/podcast-creator/l10n/fr.json +6 -12
  336. package/templates/podcast-creator/l10n/he.json +6 -10
  337. package/templates/podcast-creator/l10n/hu.json +6 -12
  338. package/templates/podcast-creator/l10n/id.json +6 -12
  339. package/templates/podcast-creator/l10n/it.json +6 -12
  340. package/templates/podcast-creator/l10n/ja.json +6 -12
  341. package/templates/podcast-creator/l10n/ko.json +6 -12
  342. package/templates/podcast-creator/l10n/lt.json +6 -12
  343. package/templates/podcast-creator/l10n/nl.json +6 -12
  344. package/templates/podcast-creator/l10n/no.json +6 -12
  345. package/templates/podcast-creator/l10n/pl.json +6 -12
  346. package/templates/podcast-creator/l10n/pt.json +6 -12
  347. package/templates/podcast-creator/l10n/ru.json +6 -12
  348. package/templates/podcast-creator/l10n/sv.json +6 -12
  349. package/templates/podcast-creator/l10n/th.json +6 -12
  350. package/templates/podcast-creator/l10n/tr.json +6 -12
  351. package/templates/podcast-creator/l10n/uk.json +6 -12
  352. package/templates/podcast-creator/l10n/vi.json +6 -12
  353. package/templates/podcast-creator/l10n/zh.json +6 -12
  354. package/templates/podcast-creator/tier5-src/_shared/open-web-link.ts +22 -0
  355. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +8 -0
  356. package/templates/podcast-creator/tier5-src/himi-branded-lite-info/index.ts +30 -19
  357. package/templates/portfolio-creative/dev/index.ts +231 -139
  358. package/templates/portfolio-creative/l10n/ar.json +0 -12
  359. package/templates/portfolio-creative/l10n/cs.json +0 -12
  360. package/templates/portfolio-creative/l10n/da.json +0 -12
  361. package/templates/portfolio-creative/l10n/de.json +0 -12
  362. package/templates/portfolio-creative/l10n/el.json +0 -12
  363. package/templates/portfolio-creative/l10n/en.json +4 -18
  364. package/templates/portfolio-creative/l10n/es.json +0 -12
  365. package/templates/portfolio-creative/l10n/fi.json +0 -12
  366. package/templates/portfolio-creative/l10n/fr.json +0 -12
  367. package/templates/portfolio-creative/l10n/he.json +0 -10
  368. package/templates/portfolio-creative/l10n/hu.json +0 -12
  369. package/templates/portfolio-creative/l10n/id.json +0 -12
  370. package/templates/portfolio-creative/l10n/it.json +0 -12
  371. package/templates/portfolio-creative/l10n/ja.json +0 -12
  372. package/templates/portfolio-creative/l10n/ko.json +0 -12
  373. package/templates/portfolio-creative/l10n/lt.json +0 -12
  374. package/templates/portfolio-creative/l10n/nl.json +0 -12
  375. package/templates/portfolio-creative/l10n/no.json +0 -12
  376. package/templates/portfolio-creative/l10n/pl.json +0 -12
  377. package/templates/portfolio-creative/l10n/pt.json +0 -12
  378. package/templates/portfolio-creative/l10n/ru.json +0 -12
  379. package/templates/portfolio-creative/l10n/sv.json +0 -12
  380. package/templates/portfolio-creative/l10n/th.json +0 -12
  381. package/templates/portfolio-creative/l10n/tr.json +0 -12
  382. package/templates/portfolio-creative/l10n/uk.json +0 -12
  383. package/templates/portfolio-creative/l10n/vi.json +0 -12
  384. package/templates/portfolio-creative/l10n/zh.json +0 -12
  385. package/templates/portfolio-creative/tier5-src/_shared/open-web-link.ts +22 -0
  386. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +8 -0
  387. package/templates/portfolio-creative/tier5-src/himi-branded-lite-info/index.ts +30 -19
  388. package/templates/professional-services/tier5-src/_shared/open-web-link.ts +22 -0
  389. package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +6 -0
  390. package/templates/restaurant/dev/index.ts +229 -137
  391. package/templates/restaurant/l10n/ar.json +6 -12
  392. package/templates/restaurant/l10n/cs.json +6 -12
  393. package/templates/restaurant/l10n/da.json +6 -12
  394. package/templates/restaurant/l10n/de.json +6 -12
  395. package/templates/restaurant/l10n/el.json +6 -12
  396. package/templates/restaurant/l10n/en.json +11 -18
  397. package/templates/restaurant/l10n/es.json +6 -12
  398. package/templates/restaurant/l10n/fi.json +6 -12
  399. package/templates/restaurant/l10n/fr.json +6 -12
  400. package/templates/restaurant/l10n/he.json +6 -10
  401. package/templates/restaurant/l10n/hu.json +6 -12
  402. package/templates/restaurant/l10n/id.json +6 -12
  403. package/templates/restaurant/l10n/it.json +6 -12
  404. package/templates/restaurant/l10n/ja.json +6 -12
  405. package/templates/restaurant/l10n/ko.json +6 -12
  406. package/templates/restaurant/l10n/lt.json +6 -12
  407. package/templates/restaurant/l10n/nl.json +6 -12
  408. package/templates/restaurant/l10n/no.json +6 -12
  409. package/templates/restaurant/l10n/pl.json +6 -12
  410. package/templates/restaurant/l10n/pt.json +6 -12
  411. package/templates/restaurant/l10n/ru.json +6 -12
  412. package/templates/restaurant/l10n/sv.json +6 -12
  413. package/templates/restaurant/l10n/th.json +6 -12
  414. package/templates/restaurant/l10n/tr.json +6 -12
  415. package/templates/restaurant/l10n/uk.json +6 -12
  416. package/templates/restaurant/l10n/vi.json +6 -12
  417. package/templates/restaurant/l10n/zh.json +6 -12
  418. package/templates/restaurant/tier5-src/_shared/open-web-link.ts +22 -0
  419. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +8 -0
  420. package/templates/restaurant/tier5-src/himi-branded-lite-info/index.ts +30 -19
  421. package/templates/retail-store/dev/index.ts +229 -137
  422. package/templates/retail-store/l10n/ar.json +6 -12
  423. package/templates/retail-store/l10n/cs.json +6 -12
  424. package/templates/retail-store/l10n/da.json +6 -12
  425. package/templates/retail-store/l10n/de.json +6 -12
  426. package/templates/retail-store/l10n/el.json +6 -12
  427. package/templates/retail-store/l10n/en.json +11 -18
  428. package/templates/retail-store/l10n/es.json +6 -12
  429. package/templates/retail-store/l10n/fi.json +6 -12
  430. package/templates/retail-store/l10n/fr.json +6 -12
  431. package/templates/retail-store/l10n/he.json +6 -10
  432. package/templates/retail-store/l10n/hu.json +6 -12
  433. package/templates/retail-store/l10n/id.json +6 -12
  434. package/templates/retail-store/l10n/it.json +6 -12
  435. package/templates/retail-store/l10n/ja.json +6 -12
  436. package/templates/retail-store/l10n/ko.json +6 -12
  437. package/templates/retail-store/l10n/lt.json +6 -12
  438. package/templates/retail-store/l10n/nl.json +6 -12
  439. package/templates/retail-store/l10n/no.json +6 -12
  440. package/templates/retail-store/l10n/pl.json +6 -12
  441. package/templates/retail-store/l10n/pt.json +6 -12
  442. package/templates/retail-store/l10n/ru.json +6 -12
  443. package/templates/retail-store/l10n/sv.json +6 -12
  444. package/templates/retail-store/l10n/th.json +6 -12
  445. package/templates/retail-store/l10n/tr.json +6 -12
  446. package/templates/retail-store/l10n/uk.json +6 -12
  447. package/templates/retail-store/l10n/vi.json +6 -12
  448. package/templates/retail-store/l10n/zh.json +6 -12
  449. package/templates/retail-store/tier5-src/_shared/open-web-link.ts +22 -0
  450. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +8 -0
  451. package/templates/retail-store/tier5-src/himi-branded-lite-info/index.ts +30 -19
  452. package/templates/salon-spa/tier5-src/_shared/open-web-link.ts +22 -0
  453. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +6 -0
  454. package/templates/yoga-studio/dev/index.ts +231 -139
  455. package/templates/yoga-studio/l10n/ar.json +6 -12
  456. package/templates/yoga-studio/l10n/cs.json +6 -12
  457. package/templates/yoga-studio/l10n/da.json +6 -12
  458. package/templates/yoga-studio/l10n/de.json +6 -12
  459. package/templates/yoga-studio/l10n/el.json +6 -12
  460. package/templates/yoga-studio/l10n/en.json +11 -18
  461. package/templates/yoga-studio/l10n/es.json +6 -12
  462. package/templates/yoga-studio/l10n/fi.json +6 -12
  463. package/templates/yoga-studio/l10n/fr.json +6 -12
  464. package/templates/yoga-studio/l10n/he.json +6 -10
  465. package/templates/yoga-studio/l10n/hu.json +6 -12
  466. package/templates/yoga-studio/l10n/id.json +6 -12
  467. package/templates/yoga-studio/l10n/it.json +6 -12
  468. package/templates/yoga-studio/l10n/ja.json +6 -12
  469. package/templates/yoga-studio/l10n/ko.json +6 -12
  470. package/templates/yoga-studio/l10n/lt.json +6 -12
  471. package/templates/yoga-studio/l10n/nl.json +6 -12
  472. package/templates/yoga-studio/l10n/no.json +6 -12
  473. package/templates/yoga-studio/l10n/pl.json +6 -12
  474. package/templates/yoga-studio/l10n/pt.json +6 -12
  475. package/templates/yoga-studio/l10n/ru.json +6 -12
  476. package/templates/yoga-studio/l10n/sv.json +6 -12
  477. package/templates/yoga-studio/l10n/th.json +6 -12
  478. package/templates/yoga-studio/l10n/tr.json +6 -12
  479. package/templates/yoga-studio/l10n/uk.json +6 -12
  480. package/templates/yoga-studio/l10n/vi.json +6 -12
  481. package/templates/yoga-studio/l10n/zh.json +6 -12
  482. package/templates/yoga-studio/tier5-src/_shared/open-web-link.ts +22 -0
  483. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +6 -0
  484. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +8 -0
  485. package/templates/yoga-studio/tier5-src/himi-branded-lite-info/index.ts +30 -19
@@ -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) => {
@@ -2417,7 +2417,8 @@ const SCREENS = runtimeSetting({
2417
2417
  "wix_api",
2418
2418
  "iap",
2419
2419
  "app_info",
2420
- "push"
2420
+ "push",
2421
+ "open_url"
2421
2422
  ],
2422
2423
  "minBinaryVersion": "0.2.0",
2423
2424
  "bundleVersion": "0.0.1"
@@ -8588,7 +8589,7 @@ const SCREENS = runtimeSetting({
8588
8589
  "himi_app_info": {
8589
8590
  "screenId": "himi_app_info",
8590
8591
  "renderer": "sdui_intent",
8591
- "title": "",
8592
+ "title": "About",
8592
8593
  "schemaVersion": 1,
8593
8594
  "cacheControl": {
8594
8595
  "maxAge": 0,
@@ -8600,55 +8601,45 @@ const SCREENS = runtimeSetting({
8600
8601
  "package": "himalaya",
8601
8602
  "type": "VStack",
8602
8603
  "props": {
8603
- "spacing": 16,
8604
+ "spacing": 0,
8604
8605
  "alignment": "leading",
8605
8606
  "children": [
8606
- {
8607
- "id": "himi_app_info.title",
8608
- "body": {
8609
- "package": "himalaya",
8610
- "type": "Text",
8611
- "props": {
8612
- "text": "App & support",
8613
- "style": "title1"
8614
- }
8615
- }
8616
- },
8617
8607
  {
8618
8608
  "id": "himi_app_info.identity",
8619
8609
  "body": {
8620
8610
  "package": "himalaya",
8621
8611
  "type": "VStack",
8622
8612
  "props": {
8623
- "spacing": 8,
8613
+ "spacing": 4,
8624
8614
  "alignment": "leading",
8625
8615
  "children": [
8626
8616
  {
8627
- "id": "",
8628
- "body": {
8629
- "package": "himalaya",
8630
- "type": "Icon",
8631
- "props": {
8632
- "name": "info",
8633
- "size": 28,
8634
- "tint": "accentPrimary"
8635
- }
8636
- },
8637
- "modifiers": {
8638
- "accessibilityRole": "decorative"
8639
- }
8640
- },
8641
- {
8642
- "id": "",
8617
+ "id": "himi_app_info.title",
8643
8618
  "body": {
8644
8619
  "package": "himalaya",
8645
8620
  "type": "Text",
8646
8621
  "props": {
8647
8622
  "text": "__HIMI_APP_NAME__",
8648
- "style": "title2"
8623
+ "style": "screenTitle"
8649
8624
  }
8650
8625
  }
8651
- },
8626
+ }
8627
+ ]
8628
+ }
8629
+ },
8630
+ "modifiers": {
8631
+ "fillMaxWidth": true
8632
+ }
8633
+ },
8634
+ {
8635
+ "id": "himi_app_info.about",
8636
+ "body": {
8637
+ "package": "himalaya",
8638
+ "type": "VStack",
8639
+ "props": {
8640
+ "spacing": 16,
8641
+ "alignment": "leading",
8642
+ "children": [
8652
8643
  {
8653
8644
  "id": "",
8654
8645
  "body": {
@@ -8665,160 +8656,238 @@ const SCREENS = runtimeSetting({
8665
8656
  }
8666
8657
  },
8667
8658
  "modifiers": {
8668
- "background": {
8669
- "token": "surfaceElevated"
8670
- },
8671
- "border": {
8672
- "width": 1,
8673
- "color": {
8674
- "token": "border"
8675
- }
8676
- },
8677
- "cornerRadius": 4,
8659
+ "fillMaxWidth": true,
8678
8660
  "padding": {
8679
- "leading": 16,
8680
- "trailing": 16,
8681
- "top": 16,
8682
- "bottom": 16
8661
+ "top": 20
8683
8662
  }
8684
8663
  }
8685
8664
  },
8686
8665
  {
8687
- "id": "",
8666
+ "id": "himi_app_info.links",
8688
8667
  "body": {
8689
8668
  "package": "himalaya",
8690
8669
  "type": "VStack",
8691
8670
  "props": {
8692
- "spacing": 10,
8671
+ "spacing": 0,
8693
8672
  "alignment": "leading",
8694
8673
  "children": [
8695
8674
  {
8696
- "id": "himi_app_info.support",
8675
+ "id": "",
8697
8676
  "body": {
8698
8677
  "package": "himalaya",
8699
- "type": "Button",
8678
+ "type": "VStack",
8700
8679
  "props": {
8701
- "title": "Support",
8702
- "style": "secondary",
8703
- "fullWidth": true,
8704
- "trailingIcon": "chevron_right",
8705
- "action": {
8706
- "actionId": "tier5.himiBrandedInfo.open",
8707
- "params": {
8708
- "url": "https://www.wix.com/support"
8709
- }
8710
- }
8680
+ "spacing": 0,
8681
+ "children": []
8711
8682
  }
8683
+ },
8684
+ "modifiers": {
8685
+ "height": 1,
8686
+ "fillMaxWidth": true,
8687
+ "background": {
8688
+ "token": "border"
8689
+ },
8690
+ "accessibilityRole": "decorative"
8712
8691
  }
8713
8692
  },
8714
8693
  {
8715
8694
  "id": "himi_app_info.privacy",
8716
8695
  "body": {
8717
8696
  "package": "himalaya",
8718
- "type": "Button",
8697
+ "type": "HStack",
8719
8698
  "props": {
8720
- "title": "Privacy policy",
8721
- "style": "secondary",
8722
- "fullWidth": true,
8723
- "trailingIcon": "chevron_right",
8724
- "action": {
8725
- "actionId": "tier5.himiBrandedInfo.open",
8726
- "params": {
8727
- "url": "https://www.wix.com/about/privacy"
8699
+ "spacing": 0,
8700
+ "alignment": "center",
8701
+ "children": [
8702
+ {
8703
+ "id": "",
8704
+ "body": {
8705
+ "package": "himalaya",
8706
+ "type": "Text",
8707
+ "props": {
8708
+ "text": "Privacy policy",
8709
+ "style": "footnote"
8710
+ }
8711
+ },
8712
+ "modifiers": {
8713
+ "weight": 1
8714
+ }
8728
8715
  }
8716
+ ]
8717
+ }
8718
+ },
8719
+ "modifiers": {
8720
+ "fillMaxWidth": true,
8721
+ "minHeight": 44,
8722
+ "padding": {
8723
+ "top": 12,
8724
+ "bottom": 12
8725
+ },
8726
+ "onTap": {
8727
+ "actionId": "tier5.himiBrandedInfo.open",
8728
+ "params": {
8729
+ "url": "https://www.wix.com/about/privacy"
8729
8730
  }
8731
+ },
8732
+ "pressFeedback": "highlight",
8733
+ "accessibilityRole": "button",
8734
+ "accessibilityLabel": "Privacy policy"
8735
+ }
8736
+ },
8737
+ {
8738
+ "id": "",
8739
+ "body": {
8740
+ "package": "himalaya",
8741
+ "type": "VStack",
8742
+ "props": {
8743
+ "spacing": 0,
8744
+ "children": []
8730
8745
  }
8746
+ },
8747
+ "modifiers": {
8748
+ "height": 1,
8749
+ "fillMaxWidth": true,
8750
+ "background": {
8751
+ "token": "border"
8752
+ },
8753
+ "accessibilityRole": "decorative"
8731
8754
  }
8732
8755
  },
8733
8756
  {
8734
8757
  "id": "himi_app_info.terms",
8735
8758
  "body": {
8736
8759
  "package": "himalaya",
8737
- "type": "Button",
8760
+ "type": "HStack",
8738
8761
  "props": {
8739
- "title": "Terms of use",
8740
- "style": "secondary",
8741
- "fullWidth": true,
8742
- "trailingIcon": "chevron_right",
8743
- "action": {
8744
- "actionId": "tier5.himiBrandedInfo.open",
8745
- "params": {
8746
- "url": "https://www.wix.com/about/terms-of-use"
8762
+ "spacing": 0,
8763
+ "alignment": "center",
8764
+ "children": [
8765
+ {
8766
+ "id": "",
8767
+ "body": {
8768
+ "package": "himalaya",
8769
+ "type": "Text",
8770
+ "props": {
8771
+ "text": "Terms of use",
8772
+ "style": "footnote"
8773
+ }
8774
+ },
8775
+ "modifiers": {
8776
+ "weight": 1
8777
+ }
8747
8778
  }
8779
+ ]
8780
+ }
8781
+ },
8782
+ "modifiers": {
8783
+ "fillMaxWidth": true,
8784
+ "minHeight": 44,
8785
+ "padding": {
8786
+ "top": 12,
8787
+ "bottom": 12
8788
+ },
8789
+ "onTap": {
8790
+ "actionId": "tier5.himiBrandedInfo.open",
8791
+ "params": {
8792
+ "url": "https://www.wix.com/about/terms-of-use"
8748
8793
  }
8794
+ },
8795
+ "pressFeedback": "highlight",
8796
+ "accessibilityRole": "button",
8797
+ "accessibilityLabel": "Terms of use"
8798
+ }
8799
+ },
8800
+ {
8801
+ "id": "",
8802
+ "body": {
8803
+ "package": "himalaya",
8804
+ "type": "VStack",
8805
+ "props": {
8806
+ "spacing": 0,
8807
+ "children": []
8749
8808
  }
8809
+ },
8810
+ "modifiers": {
8811
+ "height": 1,
8812
+ "fillMaxWidth": true,
8813
+ "background": {
8814
+ "token": "border"
8815
+ },
8816
+ "accessibilityRole": "decorative"
8750
8817
  }
8751
8818
  }
8752
8819
  ]
8753
8820
  }
8821
+ },
8822
+ "modifiers": {
8823
+ "fillMaxWidth": true,
8824
+ "padding": {
8825
+ "top": 24
8826
+ }
8754
8827
  }
8755
8828
  },
8756
8829
  {
8757
- "id": "himi_app_info.build",
8830
+ "id": "himi_app_info.message",
8758
8831
  "body": {
8759
8832
  "package": "himalaya",
8760
- "type": "VStack",
8833
+ "type": "Text",
8761
8834
  "props": {
8762
- "spacing": 8,
8763
- "alignment": "leading",
8835
+ "text": "$service:himiBrandedInfo.message",
8836
+ "style": "footnoteRegular",
8837
+ "color": "textSecondary",
8838
+ "collapseWhenEmpty": true
8839
+ }
8840
+ },
8841
+ "modifiers": {
8842
+ "padding": {
8843
+ "top": 12
8844
+ }
8845
+ }
8846
+ },
8847
+ {
8848
+ "id": "himi_app_info.version",
8849
+ "body": {
8850
+ "package": "himalaya",
8851
+ "type": "HStack",
8852
+ "props": {
8853
+ "spacing": 4,
8854
+ "alignment": "center",
8764
8855
  "children": [
8765
8856
  {
8766
- "id": "himi_app_info.version",
8767
- "body": {
8768
- "package": "himalaya",
8769
- "type": "LabeledContent",
8770
- "props": {
8771
- "label": "Version",
8772
- "value": "$service:himiBrandedInfo.version"
8773
- }
8774
- }
8775
- },
8776
- {
8777
- "id": "himi_app_info.release",
8857
+ "id": "",
8778
8858
  "body": {
8779
8859
  "package": "himalaya",
8780
8860
  "type": "Text",
8781
8861
  "props": {
8782
- "text": "$service:himiBrandedInfo.releaseLine",
8783
- "style": "footnote",
8784
- "color": "textSecondary",
8785
- "collapseWhenEmpty": true
8862
+ "text": "Version",
8863
+ "style": "caption",
8864
+ "color": "textTertiary"
8786
8865
  }
8787
8866
  }
8788
8867
  },
8789
8868
  {
8790
- "id": "himi_app_info.runtime",
8869
+ "id": "himi_app_info.version_text",
8791
8870
  "body": {
8792
8871
  "package": "himalaya",
8793
8872
  "type": "Text",
8794
8873
  "props": {
8795
- "text": "$service:himiBrandedInfo.runtimeLine",
8874
+ "text": "$service:himiBrandedInfo.versionText",
8796
8875
  "style": "caption",
8797
- "color": "textTertiary",
8798
- "collapseWhenEmpty": true
8876
+ "color": "textTertiary"
8799
8877
  }
8878
+ },
8879
+ "modifiers": {
8880
+ "weight": 1
8800
8881
  }
8801
8882
  }
8802
8883
  ]
8803
8884
  }
8804
8885
  },
8805
8886
  "modifiers": {
8806
- "background": {
8807
- "token": "surfaceElevated"
8808
- },
8809
- "border": {
8810
- "width": 1,
8811
- "color": {
8812
- "token": "border"
8813
- }
8814
- },
8815
- "cornerRadius": 4,
8816
8887
  "padding": {
8817
- "leading": 16,
8818
- "trailing": 16,
8819
- "top": 16,
8820
- "bottom": 16
8821
- }
8888
+ "top": 24
8889
+ },
8890
+ "hiddenPath": "$service:himiBrandedInfo.noVersion"
8822
8891
  }
8823
8892
  },
8824
8893
  {
@@ -8827,9 +8896,28 @@ const SCREENS = runtimeSetting({
8827
8896
  "package": "himalaya",
8828
8897
  "type": "VStack",
8829
8898
  "props": {
8830
- "spacing": 10,
8899
+ "spacing": 12,
8831
8900
  "alignment": "leading",
8832
8901
  "children": [
8902
+ {
8903
+ "id": "",
8904
+ "body": {
8905
+ "package": "himalaya",
8906
+ "type": "VStack",
8907
+ "props": {
8908
+ "spacing": 0,
8909
+ "children": []
8910
+ }
8911
+ },
8912
+ "modifiers": {
8913
+ "height": 1,
8914
+ "fillMaxWidth": true,
8915
+ "background": {
8916
+ "token": "border"
8917
+ },
8918
+ "accessibilityRole": "decorative"
8919
+ }
8920
+ },
8833
8921
  {
8834
8922
  "id": "",
8835
8923
  "body": {
@@ -8872,7 +8960,7 @@ const SCREENS = runtimeSetting({
8872
8960
  "package": "himalaya",
8873
8961
  "type": "HStack",
8874
8962
  "props": {
8875
- "spacing": 10,
8963
+ "spacing": 12,
8876
8964
  "children": [
8877
8965
  {
8878
8966
  "id": "himi_app_info.releases_load",
@@ -8963,26 +9051,30 @@ const SCREENS = runtimeSetting({
8963
9051
  ]
8964
9052
  }
8965
9053
  }
9054
+ },
9055
+ {
9056
+ "id": "himi_app_info.runtime",
9057
+ "body": {
9058
+ "package": "himalaya",
9059
+ "type": "Text",
9060
+ "props": {
9061
+ "text": "$service:himiBrandedInfo.runtimeLine",
9062
+ "style": "caption",
9063
+ "color": "textTertiary",
9064
+ "collapseWhenEmpty": true
9065
+ }
9066
+ }
8966
9067
  }
8967
9068
  ]
8968
9069
  }
8969
9070
  },
8970
9071
  "modifiers": {
9072
+ "fillMaxWidth": true,
9073
+ "padding": {
9074
+ "top": 24
9075
+ },
8971
9076
  "hiddenPath": "$service:himiBrandedInfo.pickerHidden"
8972
9077
  }
8973
- },
8974
- {
8975
- "id": "",
8976
- "body": {
8977
- "package": "himalaya",
8978
- "type": "Text",
8979
- "props": {
8980
- "text": "$service:himiBrandedInfo.message",
8981
- "style": "footnote",
8982
- "color": "textSecondary",
8983
- "collapseWhenEmpty": true
8984
- }
8985
- }
8986
9078
  }
8987
9079
  ]
8988
9080
  }
@@ -8992,10 +9084,10 @@ const SCREENS = runtimeSetting({
8992
9084
  "token": "surfacePrimary"
8993
9085
  },
8994
9086
  "padding": {
8995
- "leading": 16,
8996
- "trailing": 16,
8997
- "top": 18,
8998
- "bottom": 28
9087
+ "leading": 20,
9088
+ "trailing": 20,
9089
+ "top": 24,
9090
+ "bottom": 24
8999
9091
  },
9000
9092
  "onAppear": {
9001
9093
  "actionId": "tier5.himiBrandedInfo.load"