@wix/himalaya-cli 0.1209.0 → 0.1211.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 (180) hide show
  1. package/dist/cli.mjs +112 -18
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/package.json +2 -2
  4. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +57 -16
  5. package/templates/beauty-salon-owner/dev/index.ts +80 -50
  6. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +31 -16
  7. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +57 -16
  8. package/templates/beauty-salon-owner/tier5-src/_shared/himi-text.ts +24 -0
  9. package/templates/beauty-salon-owner/tier5-src/_shared/owner-account.ts +4 -0
  10. package/templates/beauty-salon-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  11. package/templates/beauty-salon-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  12. package/templates/beauty-salon-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  13. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  14. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  15. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  16. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  17. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  18. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  19. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  20. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +57 -16
  21. package/templates/community-club/tier5-src/_shared/engine-intl.ts +57 -16
  22. package/templates/community-club-owner/dev/index.ts +80 -50
  23. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +31 -16
  24. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +57 -16
  25. package/templates/community-club-owner/tier5-src/_shared/himi-text.ts +24 -0
  26. package/templates/community-club-owner/tier5-src/_shared/owner-account.ts +4 -0
  27. package/templates/community-club-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  28. package/templates/community-club-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  29. package/templates/community-club-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  30. package/templates/community-club-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  31. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  32. package/templates/community-club-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  33. package/templates/community-club-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  34. package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  35. package/templates/community-club-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  36. package/templates/community-club-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  37. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +57 -16
  38. package/templates/events-meetups-owner/dev/index.ts +80 -50
  39. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +31 -16
  40. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +57 -16
  41. package/templates/events-meetups-owner/tier5-src/_shared/himi-text.ts +24 -0
  42. package/templates/events-meetups-owner/tier5-src/_shared/owner-account.ts +4 -0
  43. package/templates/events-meetups-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  44. package/templates/events-meetups-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  45. package/templates/events-meetups-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  46. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  47. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  48. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  49. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  50. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  51. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  52. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  53. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +57 -16
  54. package/templates/gym-fitness-owner/dev/index.ts +80 -50
  55. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +31 -16
  56. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +57 -16
  57. package/templates/gym-fitness-owner/tier5-src/_shared/himi-text.ts +24 -0
  58. package/templates/gym-fitness-owner/tier5-src/_shared/owner-account.ts +4 -0
  59. package/templates/gym-fitness-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  60. package/templates/gym-fitness-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  61. package/templates/gym-fitness-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  62. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  63. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  64. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  65. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  66. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  67. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  68. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  69. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +57 -16
  70. package/templates/nonprofit-cause-owner/dev/index.ts +80 -50
  71. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +31 -16
  72. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +57 -16
  73. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-text.ts +24 -0
  74. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-account.ts +4 -0
  75. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  76. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  77. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  78. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  79. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  80. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  81. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  82. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  83. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  84. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  85. package/templates/owner-lite/dev/index.ts +81 -51
  86. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +31 -16
  87. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +57 -16
  88. package/templates/owner-lite/tier5-src/_shared/himi-text.ts +24 -0
  89. package/templates/owner-lite/tier5-src/_shared/owner-account.ts +4 -0
  90. package/templates/owner-lite/tier5-src/_shared/owner-module-data.ts +105 -37
  91. package/templates/owner-lite/tier5-src/_shared/owner-selected-site.ts +103 -0
  92. package/templates/owner-lite/tier5-src/_shared/owner-site-pick.ts +74 -0
  93. package/templates/owner-lite/tier5-src/himi-owner-lite-account/index.ts +12 -2
  94. package/templates/owner-lite/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  95. package/templates/owner-lite/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  96. package/templates/owner-lite/tier5-src/himi-owner-lite-faq/index.ts +8 -2
  97. package/templates/owner-lite/tier5-src/himi-owner-lite-home/index.ts +29 -1
  98. package/templates/owner-lite/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  99. package/templates/owner-lite/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  100. package/templates/owner-lite/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  101. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +57 -16
  102. package/templates/podcast-creator-owner/dev/index.ts +80 -50
  103. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +31 -16
  104. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +57 -16
  105. package/templates/podcast-creator-owner/tier5-src/_shared/himi-text.ts +24 -0
  106. package/templates/podcast-creator-owner/tier5-src/_shared/owner-account.ts +4 -0
  107. package/templates/podcast-creator-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  108. package/templates/podcast-creator-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  109. package/templates/podcast-creator-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  110. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  111. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  112. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  113. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  114. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  115. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  116. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  117. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +57 -16
  118. package/templates/portfolio-creative-owner/dev/index.ts +80 -50
  119. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +31 -16
  120. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +57 -16
  121. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-text.ts +24 -0
  122. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-account.ts +4 -0
  123. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  124. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  125. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  126. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  127. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  128. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  129. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  130. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  131. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  132. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  133. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +57 -16
  134. package/templates/restaurant-owner/dev/index.ts +80 -50
  135. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +31 -16
  136. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +57 -16
  137. package/templates/restaurant-owner/tier5-src/_shared/himi-text.ts +24 -0
  138. package/templates/restaurant-owner/tier5-src/_shared/owner-account.ts +4 -0
  139. package/templates/restaurant-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  140. package/templates/restaurant-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  141. package/templates/restaurant-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  142. package/templates/restaurant-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  143. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  144. package/templates/restaurant-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  145. package/templates/restaurant-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  146. package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  147. package/templates/restaurant-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  148. package/templates/restaurant-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  149. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +57 -16
  150. package/templates/retail-store-owner/dev/index.ts +80 -50
  151. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +31 -16
  152. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +57 -16
  153. package/templates/retail-store-owner/tier5-src/_shared/himi-text.ts +24 -0
  154. package/templates/retail-store-owner/tier5-src/_shared/owner-account.ts +4 -0
  155. package/templates/retail-store-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  156. package/templates/retail-store-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  157. package/templates/retail-store-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  158. package/templates/retail-store-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  159. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  160. package/templates/retail-store-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  161. package/templates/retail-store-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  162. package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  163. package/templates/retail-store-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  164. package/templates/retail-store-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
  165. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +57 -16
  166. package/templates/yoga-studio-owner/dev/index.ts +80 -50
  167. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +31 -16
  168. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +57 -16
  169. package/templates/yoga-studio-owner/tier5-src/_shared/himi-text.ts +24 -0
  170. package/templates/yoga-studio-owner/tier5-src/_shared/owner-account.ts +4 -0
  171. package/templates/yoga-studio-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  172. package/templates/yoga-studio-owner/tier5-src/_shared/owner-selected-site.ts +103 -0
  173. package/templates/yoga-studio-owner/tier5-src/_shared/owner-site-pick.ts +74 -0
  174. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-account/index.ts +12 -2
  175. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  176. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-drawer/index.ts +21 -2
  177. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-home/index.ts +29 -1
  178. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/index.ts +25 -5
  179. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-overview/index.ts +8 -0
  180. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-sites/index.ts +14 -31
package/dist/cli.mjs CHANGED
@@ -9325,7 +9325,7 @@ async function bootBundleWorker(bundleJs, opts) {
9325
9325
  input: opts.input ?? {},
9326
9326
  wixApi,
9327
9327
  // v1 best-effort stubs — a visitor-scoped load() reads Wix, not device-local state.
9328
- storage: { get: () => "", set: () => {
9328
+ storage: opts.storage ? { get: (k) => opts.storage.getItem(k) ?? "", set: (k, v) => opts.storage.setItem(k, v), getItem: (k) => opts.storage.getItem(k), setItem: (k, v) => opts.storage.setItem(k, v) } : { get: () => "", set: () => {
9329
9329
  }, getItem: () => null, setItem: () => {
9330
9330
  } },
9331
9331
  dispatch: dispatchHost,
@@ -9500,7 +9500,12 @@ async function bootBundleWorker(bundleJs, opts) {
9500
9500
  if (typeof v === "string" && k !== "screenId") args[k] = v;
9501
9501
  }
9502
9502
  }
9503
- navDirectives.push({ screenId: nav.screenId, args });
9503
+ const verb = nav.presentation;
9504
+ navDirectives.push({
9505
+ screenId: nav.screenId,
9506
+ args,
9507
+ ...verb === "push" || verb === "replace" ? { presentation: verb } : {}
9508
+ });
9504
9509
  }
9505
9510
  if ("_nav" in rec || "_stream" in rec || "_poll" in rec || "_error" in rec) {
9506
9511
  const stripped = {};
@@ -20347,6 +20352,89 @@ var init_agent_context = __esm({
20347
20352
  }
20348
20353
  });
20349
20354
 
20355
+ // ../../apps/himi-player/player-host-manifest.ts
20356
+ var PLAYER_HOST_MANIFEST;
20357
+ var init_player_host_manifest = __esm({
20358
+ "../../apps/himi-player/player-host-manifest.ts"() {
20359
+ PLAYER_HOST_MANIFEST = {
20360
+ "version": "1.2.0",
20361
+ "capabilities": [
20362
+ "app_info",
20363
+ "audio_record",
20364
+ "audio_record_background",
20365
+ "base44",
20366
+ "biometrics",
20367
+ "browser_auth",
20368
+ "calendar",
20369
+ "calls",
20370
+ "camera",
20371
+ "clipboard",
20372
+ "contacts",
20373
+ "file_picker",
20374
+ "files",
20375
+ "godot",
20376
+ "haptic",
20377
+ "haptics",
20378
+ "himi_apps",
20379
+ "iap",
20380
+ "keyboard",
20381
+ "live_activity",
20382
+ "local_database",
20383
+ "location",
20384
+ "media_playback",
20385
+ "motion",
20386
+ "on_device_ai",
20387
+ "open_url",
20388
+ "pdf",
20389
+ "photos",
20390
+ "presigned_upload",
20391
+ "push",
20392
+ "release_control",
20393
+ "secure_storage",
20394
+ "share",
20395
+ "speaker_diarization",
20396
+ "speech",
20397
+ "stream",
20398
+ "wix_api",
20399
+ "wix_cashier",
20400
+ "wix_platform"
20401
+ ],
20402
+ "unlinked": {
20403
+ "web": [],
20404
+ "ios": [
20405
+ "base44",
20406
+ "godot"
20407
+ ],
20408
+ "macos": [
20409
+ "base44",
20410
+ "godot"
20411
+ ],
20412
+ "android": [
20413
+ "base44",
20414
+ "godot"
20415
+ ]
20416
+ },
20417
+ "nativeComponents": [
20418
+ "template.HimiPlayerCard",
20419
+ "himi_player.HimiPlayerCard"
20420
+ ],
20421
+ "authProviders": [
20422
+ "generic-oauth",
20423
+ "wix-api-key",
20424
+ "wix-consumer",
20425
+ "wix-owner"
20426
+ ],
20427
+ "nativeActions": [
20428
+ "himi.signOut",
20429
+ "himi_player.clear_cache",
20430
+ "himi_player.diagnostics",
20431
+ "himi_player.sign_out",
20432
+ "template.greet"
20433
+ ]
20434
+ };
20435
+ }
20436
+ });
20437
+
20350
20438
  // ../../core/dev-server/src/validate-descriptor.ts
20351
20439
  var validate_descriptor_exports = {};
20352
20440
  __export(validate_descriptor_exports, {
@@ -20396,6 +20484,7 @@ __export(validate_descriptor_exports, {
20396
20484
  pinnedIntrinsicsSource: () => pinnedIntrinsicsSource,
20397
20485
  readBuiltBundle: () => readBuiltBundle,
20398
20486
  readBuiltBundleMap: () => readBuiltBundleMap,
20487
+ registeredActions: () => registeredActions,
20399
20488
  resolveActionEvaluator: () => resolveActionEvaluator,
20400
20489
  resolveBootEvaluator: () => resolveBootEvaluator,
20401
20490
  resolveEvaluator: () => resolveEvaluator,
@@ -20476,6 +20565,9 @@ function registeredActions(source) {
20476
20565
  }
20477
20566
  function discoverNativeActions(appDir3) {
20478
20567
  const roots = NATIVE_SOURCE_ROOTS.filter(({ directory }) => existsSync30(resolve22(appDir3, directory)));
20568
+ if (roots.length === 0 && existsSync30(resolve22(appDir3, "himalaya.content.json"))) {
20569
+ return { registered: new Set(PLAYER_HOST_MANIFEST.nativeActions), searched: [PLAYER_HOST_SEARCHED] };
20570
+ }
20479
20571
  const sources = roots.flatMap(({ directory, extension, buildDirMaxDepth }) => nativeSourceFiles(resolve22(appDir3, directory), extension, buildDirMaxDepth));
20480
20572
  const registered = sources.flatMap((source) => {
20481
20573
  let text8;
@@ -20492,9 +20584,10 @@ function discoverNativeActions(appDir3) {
20492
20584
  searched: roots.map(({ searched }) => searched)
20493
20585
  };
20494
20586
  }
20495
- var nodeVmEvaluator, navContractMemo, NATIVE_SCRATCH_DIRS, BUILD_OUTPUT_DIR, VANISHED, vanished, NATIVE_SOURCE_ROOTS;
20587
+ var nodeVmEvaluator, navContractMemo, NATIVE_SCRATCH_DIRS, BUILD_OUTPUT_DIR, VANISHED, vanished, NATIVE_SOURCE_ROOTS, PLAYER_HOST_SEARCHED;
20496
20588
  var init_validate_descriptor = __esm({
20497
20589
  "../../core/dev-server/src/validate-descriptor.ts"() {
20590
+ init_player_host_manifest();
20498
20591
  init_validate_descriptor_core();
20499
20592
  init_validate_descriptor_core();
20500
20593
  nodeVmEvaluator = {
@@ -20531,6 +20624,7 @@ var init_validate_descriptor = __esm({
20531
20624
  { directory: "android", extension: ".kt", searched: "android/**/*.kt", buildDirMaxDepth: 2 },
20532
20625
  { directory: "macos", extension: ".swift", searched: "macos/**/*.swift", buildDirMaxDepth: 1 }
20533
20626
  ];
20627
+ PLAYER_HOST_SEARCHED = "Himi Player host (iOS \u2229 Android boots)";
20534
20628
  }
20535
20629
  });
20536
20630
 
@@ -62545,21 +62639,21 @@ var init_preview_assets_generated = __esm({
62545
62639
  "../../packages/serve/src/preview-assets.generated.ts"() {
62546
62640
  init_preview_assets_format();
62547
62641
  PREVIEW_ASSET_MANIFEST = [
62548
- { key: "assets/index-CXBIpW9-.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1184501, sha256: "357512bb05a06af050c627136be9ae99d02af24fec488e064d1ed1fee8bd81ba" },
62549
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 1184509, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
62550
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 1189119, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
62551
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 1677703, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
62552
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1768627, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
62553
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1859611, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
62554
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1950591, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
62555
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 2041463, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
62556
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 2132443, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
62557
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 2241079, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
62558
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 2350163, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
62559
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 2459211, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
62560
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 2566911, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
62561
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 2655019, length: 4947, sha256: "8dcb67c0875b3c17b64bc9438aa2a1d4c3f88e85d71d300200ee59e7d9c45b4a" },
62562
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 2659966, length: 17344, sha256: "d057298d75e7373e5e2c4d11b7d1bcbea88e03af555ba63d97641c78509c58e4" }
62642
+ { key: "assets/index-CRDm5E9l.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1184658, sha256: "e00b8e526ebcd4dd07db3a03ee7bb81e401575c162498b42bb9aca49d60a6918" },
62643
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 1184666, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
62644
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 1189276, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
62645
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 1677860, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
62646
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1768784, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
62647
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1859768, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
62648
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1950748, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
62649
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 2041620, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
62650
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 2132600, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
62651
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 2241236, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
62652
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 2350320, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
62653
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 2459368, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
62654
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 2567068, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
62655
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 2655176, length: 4947, sha256: "094afa56a8e94767674ee8fd7ca3290f67f64930f8e2c6cc874d6d101e35fd7d" },
62656
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 2660123, length: 17344, sha256: "d057298d75e7373e5e2c4d11b7d1bcbea88e03af555ba63d97641c78509c58e4" }
62563
62657
  ];
62564
62658
  }
62565
62659
  });
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1209.0",
3
+ "version": "0.1211.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -67,5 +67,5 @@
67
67
  "artifactId": "himalaya-cli"
68
68
  }
69
69
  },
70
- "falconPackageHash": "1ae40b04cb6baf101dd7dc87865cc311769eb4e7e3509c3574cd159e"
70
+ "falconPackageHash": "e396c1bc4ed2c787b443d9987dc1a0b6f0fb7ada7b1f8cf2ed2b2439"
71
71
  }
@@ -48,6 +48,36 @@ const MONTHS_LONG = [
48
48
  "July", "August", "September", "October", "November", "December",
49
49
  ] as const;
50
50
 
51
+ /**
52
+ * A DateTimeFormat for `timeZone` when one is given and this engine knows it. An unknown or
53
+ * malformed IANA id is a RangeError in ECMA-402; these helpers never throw, so it degrades to
54
+ * the device zone rather than killing the screen. Without Intl there is no zone database at all,
55
+ * and the fallbacks below render in the device zone for the same reason.
56
+ *
57
+ * Formatters are memoised per (locale, zone, options): a management page formats several dates
58
+ * per row, and building a DateTimeFormat (or throwing on a bad zone) each time is not free on
59
+ * JSC or QuickJS. Only call it where `hasIntl()` holds — every caller does.
60
+ */
61
+ const FORMATTERS = new Map<string, Intl.DateTimeFormat>();
62
+ function dateFormat(locale: string, options: Intl.DateTimeFormatOptions, timeZone?: string): Intl.DateTimeFormat {
63
+ const key = `${locale}|${timeZone ?? ""}|${JSON.stringify(options)}`;
64
+ let formatter = FORMATTERS.get(key);
65
+ if (!formatter) {
66
+ if (hasIntl()) {
67
+ if (timeZone) {
68
+ try {
69
+ formatter = new Intl.DateTimeFormat(locale, { ...options, timeZone });
70
+ } catch {
71
+ /* unknown zone: device zone below, remembered under this key */
72
+ }
73
+ }
74
+ formatter ??= new Intl.DateTimeFormat(locale, options);
75
+ FORMATTERS.set(key, formatter);
76
+ }
77
+ }
78
+ return formatter as Intl.DateTimeFormat;
79
+ }
80
+
51
81
  // The four shapes below are not invented — they are the option bags this corpus actually uses,
52
82
  // counted across every bundle: "Jan 5, 2026" (33 sites), "Jan 5" (11), "Mon, Jan 5, 3:07 PM" (8)
53
83
  // and "Jan 5, 3:07 PM" (4). Naming them means a conversion is a one-line swap rather than a
@@ -55,46 +85,46 @@ const MONTHS_LONG = [
55
85
  // ECMA-402 in engine-intl-fallback.test.ts.
56
86
 
57
87
  /** `{ month: "short", day: "numeric", year: "numeric" }` — "Jan 5, 2026". */
58
- export function formatDateMedium(date: Date, locale = "en-US"): string {
88
+ export function formatDateMedium(date: Date, locale = "en-US", timeZone?: string): string {
59
89
  if (hasIntl()) {
60
- return new Intl.DateTimeFormat(locale, { month: "short", day: "numeric", year: "numeric" }).format(date);
90
+ return dateFormat(locale, { month: "short", day: "numeric", year: "numeric" }, timeZone).format(date);
61
91
  }
62
92
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
63
93
  }
64
94
 
65
95
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
66
- export function formatMonthDay(date: Date, locale = "en-US"): string {
96
+ export function formatMonthDay(date: Date, locale = "en-US", timeZone?: string): string {
67
97
  if (hasIntl()) {
68
- return new Intl.DateTimeFormat(locale, { month: "short", day: "numeric" }).format(date);
98
+ return dateFormat(locale, { month: "short", day: "numeric" }, timeZone).format(date);
69
99
  }
70
100
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}`;
71
101
  }
72
102
 
73
103
  /** `{ month: "long", day: "numeric" }` — "January 5". */
74
- export function formatMonthDayLong(date: Date, locale = "en-US"): string {
104
+ export function formatMonthDayLong(date: Date, locale = "en-US", timeZone?: string): string {
75
105
  if (hasIntl()) {
76
- return new Intl.DateTimeFormat(locale, { month: "long", day: "numeric" }).format(date);
106
+ return dateFormat(locale, { month: "long", day: "numeric" }, timeZone).format(date);
77
107
  }
78
108
  return `${MONTHS_LONG[date.getMonth()]} ${date.getDate()}`;
79
109
  }
80
110
 
81
111
  /** `{ weekday: "short", month: "short", day: "numeric", hour: "numeric", minute: "2-digit" }`
82
112
  * — "Mon, Jan 5, 3:07 PM". */
83
- export function formatWeekdayDateTime(date: Date, locale = "en-US"): string {
113
+ export function formatWeekdayDateTime(date: Date, locale = "en-US", timeZone?: string): string {
84
114
  if (hasIntl()) {
85
- return new Intl.DateTimeFormat(locale, {
115
+ return dateFormat(locale, {
86
116
  weekday: "short", month: "short", day: "numeric", hour: "numeric", minute: "2-digit",
87
- }).format(date);
117
+ }, timeZone).format(date);
88
118
  }
89
119
  return `${WEEKDAYS_SHORT[date.getDay()]}, ${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${clock12(date)}`;
90
120
  }
91
121
 
92
122
  /** `{ month: "short", day: "numeric", hour: "numeric", minute: "2-digit" }` — "Jan 5, 3:07 PM". */
93
- export function formatMonthDayTime(date: Date, locale = "en-US"): string {
123
+ export function formatMonthDayTime(date: Date, locale = "en-US", timeZone?: string): string {
94
124
  if (hasIntl()) {
95
- return new Intl.DateTimeFormat(locale, {
125
+ return dateFormat(locale, {
96
126
  month: "short", day: "numeric", hour: "numeric", minute: "2-digit",
97
- }).format(date);
127
+ }, timeZone).format(date);
98
128
  }
99
129
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${clock12(date)}`;
100
130
  }
@@ -380,9 +410,9 @@ export function normalizeFormattedPrice(formatted: string): string {
380
410
  return `${m[1]}${m[3]}${m[2]}`;
381
411
  }
382
412
 
383
- function clockParts(d: Date, locale: string): { time: string; meridiem: string } {
413
+ function clockParts(d: Date, locale: string, timeZone?: string): { time: string; meridiem: string } {
384
414
  const full = hasIntl()
385
- ? new Intl.DateTimeFormat(locale, { hour: "numeric", minute: "2-digit", hour12: true }).format(d)
415
+ ? dateFormat(locale, { hour: "numeric", minute: "2-digit", hour12: true }, timeZone).format(d)
386
416
  : clock12(d);
387
417
  // ICU puts a narrow no-break space before the meridiem; normalize so callers can split on it.
388
418
  const clean = full.replace(/[  ]/g, " ");
@@ -391,8 +421,8 @@ function clockParts(d: Date, locale: string): { time: string; meridiem: string }
391
421
  }
392
422
 
393
423
  /** "8:00 PM" — the one clock every customer screen uses (12-hour, en-US shape). */
394
- export function formatClock(date: Date, locale = "en-US"): string {
395
- const { time, meridiem } = clockParts(date, locale);
424
+ export function formatClock(date: Date, locale = "en-US", timeZone?: string): string {
425
+ const { time, meridiem } = clockParts(date, locale, timeZone);
396
426
  return meridiem ? `${time} ${meridiem}` : time;
397
427
  }
398
428
 
@@ -403,3 +433,14 @@ export function isPastDate(iso: string | undefined | null, now: number = Date.no
403
433
  const t = Date.parse(iso);
404
434
  return !Number.isNaN(t) && t < now;
405
435
  }
436
+
437
+ /** The calendar day `date` falls on in `timeZone` (device zone when absent, unknown, or when
438
+ * the engine has no Intl), as `YYYY-MM-DD`. For "is this today / this year" comparisons. */
439
+ export function calendarDay(date: Date, timeZone?: string): string {
440
+ if (hasIntl()) {
441
+ const parts = dateFormat("en-CA", { year: "numeric", month: "2-digit", day: "2-digit" }, timeZone).formatToParts(date);
442
+ const get = (type: string) => parts.find((p) => p.type === type)?.value ?? "";
443
+ return `${get("year")}-${get("month")}-${get("day")}`;
444
+ }
445
+ return `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())}`;
446
+ }
@@ -48568,7 +48568,7 @@ const SCREENS = runtimeSetting({
48568
48568
  "package": "himalaya",
48569
48569
  "type": "Text",
48570
48570
  "props": {
48571
- "text": "__HIMI_APP_NAME__",
48571
+ "text": "$service:himiOwnerLiteHome.businessName",
48572
48572
  "style": "footnote",
48573
48573
  "color": "textSecondary",
48574
48574
  "collapseWhenEmpty": true
@@ -48953,7 +48953,7 @@ const SCREENS = runtimeSetting({
48953
48953
  }
48954
48954
  },
48955
48955
  "modifiers": {
48956
- "hiddenPath": "$service:himiOwnerLiteHome.hideContent"
48956
+ "hiddenPath": "$service:himiOwnerLiteHome.hideSourceFailures"
48957
48957
  }
48958
48958
  },
48959
48959
  {
@@ -50706,7 +50706,8 @@ const SCREENS = runtimeSetting({
50706
50706
  "params": {
50707
50707
  "copy": "{\"ownerHome.acrossBusiness\":\"Across the salon\",\"ownerHome.briefCta\":\"Show me the chair\",\"ownerHome.briefSubtitle\":\"Who’s in the chair, where the gaps are, and which retail lines are down to the last tube.\",\"ownerHome.briefTitle\":\"Today at the salon\",\"ownerHome.errorLabel\":\"Couldn’t load today’s chair\",\"ownerHome.headerSubtitle\":\"Salon owner · today’s chair\",\"ownerHome.openManage\":\"Open the salon\",\"ownerHome.ordersDaily\":\"Retail sales · daily\",\"ownerHome.statAppointments\":\"Booked in\",\"ownerHome.statOrders\":\"Retail orders\",\"ownerHome.statPosts\":\"Salon notes\",\"ownerHome.statProducts\":\"Retail lines\",\"ownerHome.statRevenue\":\"Takings\",\"ownerHome.statSites\":\"Salons\",\"ownerHome.switchBusiness\":\"Switch salon\"}",
50708
50708
  "homeModules": "[{\"id\":\"attention\",\"label\":\"Needs attention\",\"dataSource\":\"owner-today\",\"emptyWhen\":[\"hideContent\"]},{\"id\":\"schedule\",\"label\":\"Up next\",\"dataSource\":\"owner-schedule\",\"emptyWhen\":[\"hideContent\"]},{\"id\":\"shortcuts\",\"label\":\"Quick actions\",\"dataSource\":\"owner-actions\"},{\"id\":\"metrics\",\"label\":\"Business overview\",\"dataSource\":\"dashboard\",\"emptyWhen\":[\"hideContent\"]},{\"id\":\"brief\",\"label\":\"Daily brief\",\"dataSource\":\"brief\"}]",
50709
- "enabledSources": "[\"products\",\"posts\",\"sites\",\"orders\",\"bookings\",\"members\",\"reviews\",\"reservations\"]"
50709
+ "enabledSources": "[\"products\",\"posts\",\"sites\",\"orders\",\"bookings\",\"members\",\"reviews\",\"reservations\"]",
50710
+ "businessName": "__HIMI_APP_NAME__"
50710
50711
  }
50711
50712
  }
50712
50713
  }
@@ -50775,7 +50776,7 @@ const SCREENS = runtimeSetting({
50775
50776
  "package": "himalaya",
50776
50777
  "type": "Text",
50777
50778
  "props": {
50778
- "text": "__HIMI_APP_NAME__",
50779
+ "text": "$service:himiOwnerLiteManage.businessName",
50779
50780
  "style": "footnote",
50780
50781
  "color": "textSecondary",
50781
50782
  "collapseWhenEmpty": true
@@ -50968,7 +50969,8 @@ const SCREENS = runtimeSetting({
50968
50969
  "props": {
50969
50970
  "text": "$service:himiOwnerLiteManage.summary",
50970
50971
  "style": "caption",
50971
- "color": "textSecondary"
50972
+ "color": "textSecondary",
50973
+ "collapseWhenEmpty": true
50972
50974
  }
50973
50975
  }
50974
50976
  },
@@ -51563,6 +51565,9 @@ const SCREENS = runtimeSetting({
51563
51565
  }
51564
51566
  ]
51565
51567
  }
51568
+ },
51569
+ "modifiers": {
51570
+ "hiddenPath": "$service:himiOwnerLiteManage.noSections"
51566
51571
  }
51567
51572
  },
51568
51573
  {
@@ -51946,7 +51951,8 @@ const SCREENS = runtimeSetting({
51946
51951
  "actionId": "tier5.himiOwnerLiteManage.load",
51947
51952
  "params": {
51948
51953
  "areas": "[{\"id\":\"store\",\"title\":\"Retail\",\"subtitle\":\"Products, inventory and sales\",\"groupId\":\"commerce\",\"group\":\"Commerce\",\"screenId\":\"himi_owner_lite_products\",\"icon\":\"bag\",\"metricKey\":\"products\",\"countLabel\":\"products\",\"createScreenId\":\"himi_owner_lite_product_new\",\"createLabel\":\"Create product\"},{\"id\":\"himi_owner_lite_orders\",\"title\":\"Retail orders\",\"subtitle\":\"Review and complete customer orders\",\"groupId\":\"commerce\",\"group\":\"Commerce\",\"screenId\":\"himi_owner_lite_orders\",\"icon\":\"cart\",\"metricKey\":\"orders\",\"countLabel\":\"orders\"},{\"id\":\"bookings\",\"title\":\"Treatments\",\"subtitle\":\"Services and your schedule\",\"groupId\":\"scheduling\",\"group\":\"Scheduling\",\"screenId\":\"himi_owner_lite_services\",\"icon\":\"calendar\",\"metricKey\":\"services\",\"countLabel\":\"services\"},{\"id\":\"himi_owner_lite_appointments\",\"title\":\"The chair\",\"subtitle\":\"Your upcoming appointments\",\"groupId\":\"scheduling\",\"group\":\"Scheduling\",\"screenId\":\"himi_owner_lite_appointments\",\"icon\":\"clock\",\"metricKey\":\"appointments\",\"countLabel\":\"appointments\"},{\"id\":\"blog\",\"title\":\"Salon notes\",\"subtitle\":\"Stories and publishing\",\"groupId\":\"content\",\"group\":\"Content\",\"screenId\":\"himi_owner_lite_posts\",\"icon\":\"newspaper\",\"metricKey\":\"posts\",\"countLabel\":\"posts\",\"createScreenId\":\"himi_owner_lite_post_new\",\"createLabel\":\"Write post\"},{\"id\":\"coupons\",\"title\":\"Coupons\",\"subtitle\":\"Offers, codes and usage\",\"groupId\":\"commerce\",\"group\":\"Commerce\",\"screenId\":\"himi_owner_lite_module_coupons\",\"icon\":\"tag\",\"metricKey\":\"module:coupons\",\"countLabel\":\"coupons\"},{\"id\":\"invoices\",\"title\":\"Invoices\",\"subtitle\":\"Customers, balances and payment status\",\"groupId\":\"commerce\",\"group\":\"Commerce\",\"screenId\":\"himi_owner_lite_module_invoices\",\"icon\":\"document\",\"metricKey\":\"module:invoices\",\"countLabel\":\"invoices\"},{\"id\":\"giftCards\",\"title\":\"Gift cards\",\"subtitle\":\"Balances, recipients and expiration\",\"groupId\":\"commerce\",\"group\":\"Commerce\",\"screenId\":\"himi_owner_lite_module_giftCards\",\"icon\":\"ticket\",\"metricKey\":\"module:giftCards\",\"countLabel\":\"gift cards\"},{\"id\":\"contacts\",\"title\":\"Contacts\",\"subtitle\":\"Your customer relationships\",\"groupId\":\"people-and-community\",\"group\":\"People and community\",\"screenId\":\"himi_owner_lite_module_contacts\",\"icon\":\"person\",\"metricKey\":\"module:contacts\",\"countLabel\":\"contacts\"},{\"id\":\"members\",\"title\":\"Members\",\"subtitle\":\"Membership access and profiles\",\"groupId\":\"people-and-community\",\"group\":\"People and community\",\"screenId\":\"himi_owner_lite_module_members\",\"icon\":\"person\",\"metricKey\":\"module:members\",\"countLabel\":\"members\"},{\"id\":\"groups\",\"title\":\"Groups\",\"subtitle\":\"Communities and conversations\",\"groupId\":\"people-and-community\",\"group\":\"People and community\",\"screenId\":\"himi_owner_lite_module_groups\",\"icon\":\"person\",\"metricKey\":\"module:groups\",\"countLabel\":\"groups\"},{\"id\":\"reviews\",\"title\":\"Reviews\",\"subtitle\":\"Published and pending customer feedback\",\"groupId\":\"people-and-community\",\"group\":\"People and community\",\"screenId\":\"himi_owner_lite_module_reviews\",\"icon\":\"star\",\"metricKey\":\"module:reviews\",\"countLabel\":\"reviews\"},{\"id\":\"plans\",\"title\":\"Plans\",\"subtitle\":\"Pricing, benefits and visibility\",\"groupId\":\"membership-and-learning\",\"group\":\"Membership and learning\",\"screenId\":\"himi_owner_lite_module_plans\",\"icon\":\"bookmark\",\"metricKey\":\"module:plans\",\"countLabel\":\"plans\"},{\"id\":\"subscriptions\",\"title\":\"Subscriptions\",\"subtitle\":\"Member plans and subscription status\",\"groupId\":\"membership-and-learning\",\"group\":\"Membership and learning\",\"screenId\":\"himi_owner_lite_module_subscriptions\",\"icon\":\"bookmark\",\"metricKey\":\"module:subscriptions\",\"countLabel\":\"subscriptions\"},{\"id\":\"programs\",\"title\":\"Programs\",\"subtitle\":\"Learning experiences and participation\",\"groupId\":\"membership-and-learning\",\"group\":\"Membership and learning\",\"screenId\":\"himi_owner_lite_module_programs\",\"icon\":\"play\",\"metricKey\":\"module:programs\",\"countLabel\":\"programs\"},{\"id\":\"badges\",\"title\":\"Badges\",\"subtitle\":\"Recognition, access and member badges\",\"groupId\":\"membership-and-learning\",\"group\":\"Membership and learning\",\"screenId\":\"himi_owner_lite_module_badges\",\"icon\":\"star\",\"metricKey\":\"module:badges\",\"countLabel\":\"badges\"},{\"id\":\"reservations\",\"title\":\"Reservations\",\"subtitle\":\"Guests, tables and arrival times\",\"groupId\":\"scheduling\",\"group\":\"Scheduling\",\"screenId\":\"himi_owner_lite_module_reservations\",\"icon\":\"calendar\",\"metricKey\":\"module:reservations\",\"countLabel\":\"reservations\"},{\"id\":\"forms\",\"title\":\"Forms\",\"subtitle\":\"Forms and their configuration\",\"groupId\":\"content\",\"group\":\"Content\",\"screenId\":\"himi_owner_lite_module_forms\",\"icon\":\"document\",\"metricKey\":\"module:forms\",\"countLabel\":\"forms\"},{\"id\":\"portfolio\",\"title\":\"Portfolio\",\"subtitle\":\"Projects, stories and galleries\",\"groupId\":\"content\",\"group\":\"Content\",\"screenId\":\"himi_owner_lite_module_portfolio\",\"icon\":\"image\",\"metricKey\":\"module:portfolio\",\"countLabel\":\"portfolio\"},{\"id\":\"donationCampaigns\",\"title\":\"Donation campaigns\",\"subtitle\":\"Campaign goals, status and fundraising\",\"groupId\":\"content\",\"group\":\"Content\",\"screenId\":\"himi_owner_lite_module_donationCampaigns\",\"icon\":\"heart\",\"metricKey\":\"module:donationCampaigns\",\"countLabel\":\"donation campaigns\"}]",
51949
- "copy": "{\"ownerManage.blogLabel\":\"Salon notes\",\"ownerManage.bookingsLabel\":\"Treatments\",\"ownerManage.storeLabel\":\"Retail\",\"ownerManage.title\":\"Salon\"}"
51954
+ "copy": "{\"ownerManage.blogLabel\":\"Salon notes\",\"ownerManage.bookingsLabel\":\"Treatments\",\"ownerManage.storeLabel\":\"Retail\",\"ownerManage.title\":\"Salon\"}",
51955
+ "businessName": "__HIMI_APP_NAME__"
51950
51956
  }
51951
51957
  }
51952
51958
  }
@@ -52065,7 +52071,7 @@ const SCREENS = runtimeSetting({
52065
52071
  "package": "himalaya",
52066
52072
  "type": "Text",
52067
52073
  "props": {
52068
- "text": "__HIMI_APP_NAME__",
52074
+ "text": "$service:himiOwnerLiteAccount.businessName",
52069
52075
  "style": "bodyEmphasis",
52070
52076
  "maxLines": 1
52071
52077
  }
@@ -52328,6 +52334,7 @@ const SCREENS = runtimeSetting({
52328
52334
  "supportUrl": "https://www.wix.com/support",
52329
52335
  "privacyUrl": "https://www.wix.com/about/privacy",
52330
52336
  "termsUrl": "https://www.wix.com/about/terms-of-use",
52337
+ "businessName": "__HIMI_APP_NAME__",
52331
52338
  "copy": "{\"ownerAccount.roleValue\":\"Salon owner\",\"ownerAccount.subtitle\":\"Salon owner\"}"
52332
52339
  }
52333
52340
  }
@@ -52875,7 +52882,10 @@ const SCREENS = runtimeSetting({
52875
52882
  },
52876
52883
  "fillMaxWidth": true,
52877
52884
  "onAppear": {
52878
- "actionId": "tier5.drawer.syncActive"
52885
+ "actionId": "tier5.drawer.refresh",
52886
+ "params": {
52887
+ "businessName": "__HIMI_APP_NAME__"
52888
+ }
52879
52889
  }
52880
52890
  }
52881
52891
  },
@@ -56397,7 +56407,7 @@ const SCREENS = runtimeSetting({
56397
56407
  "package": "himalaya",
56398
56408
  "type": "HStack",
56399
56409
  "props": {
56400
- "spacing": 16,
56410
+ "spacing": 0,
56401
56411
  "children": [
56402
56412
  {
56403
56413
  "id": "",
@@ -56408,43 +56418,57 @@ const SCREENS = runtimeSetting({
56408
56418
  }
56409
56419
  },
56410
56420
  {
56411
- "id": "himi_owner_lite_aria.history",
56412
- "body": {
56413
- "package": "himalaya",
56414
- "type": "Text",
56415
- "props": {
56416
- "text": "History",
56417
- "style": "bodyEmphasis",
56418
- "color": "accentPrimary",
56419
- "maxLines": 1
56420
- }
56421
- },
56422
- "modifiers": {
56423
- "onTap": {
56424
- "actionId": "himi.open",
56425
- "params": {
56426
- "screenId": "himi_owner_lite_aria_history"
56427
- }
56428
- }
56429
- }
56430
- },
56431
- {
56432
- "id": "himi_owner_lite_aria.newchat",
56421
+ "id": "",
56433
56422
  "body": {
56434
56423
  "package": "himalaya",
56435
- "type": "Icon",
56424
+ "type": "HStack",
56436
56425
  "props": {
56437
- "name": "edit",
56438
- "size": 22,
56439
- "tint": "accentPrimary"
56426
+ "spacing": 16,
56427
+ "children": [
56428
+ {
56429
+ "id": "himi_owner_lite_aria.history",
56430
+ "body": {
56431
+ "package": "himalaya",
56432
+ "type": "Text",
56433
+ "props": {
56434
+ "text": "History",
56435
+ "style": "bodyEmphasis",
56436
+ "color": "accentPrimary",
56437
+ "maxLines": 1
56438
+ }
56439
+ },
56440
+ "modifiers": {
56441
+ "onTap": {
56442
+ "actionId": "himi.open",
56443
+ "params": {
56444
+ "screenId": "himi_owner_lite_aria_history"
56445
+ }
56446
+ }
56447
+ }
56448
+ },
56449
+ {
56450
+ "id": "himi_owner_lite_aria.newchat",
56451
+ "body": {
56452
+ "package": "himalaya",
56453
+ "type": "Icon",
56454
+ "props": {
56455
+ "name": "edit",
56456
+ "size": 22,
56457
+ "tint": "accentPrimary"
56458
+ }
56459
+ },
56460
+ "modifiers": {
56461
+ "onTap": {
56462
+ "actionId": "tier5.himiOwnerLiteAria.newChat"
56463
+ },
56464
+ "accessibilityLabel": "New chat",
56465
+ "accessibilityRole": "button",
56466
+ "width": 44,
56467
+ "height": 44
56468
+ }
56469
+ }
56470
+ ]
56440
56471
  }
56441
- },
56442
- "modifiers": {
56443
- "onTap": {
56444
- "actionId": "tier5.himiOwnerLiteAria.newChat"
56445
- },
56446
- "accessibilityLabel": "New chat",
56447
- "accessibilityRole": "button"
56448
56472
  }
56449
56473
  }
56450
56474
  ]
@@ -56805,6 +56829,9 @@ const SCREENS = runtimeSetting({
56805
56829
  }
56806
56830
  ]
56807
56831
  }
56832
+ },
56833
+ "modifiers": {
56834
+ "hiddenPath": "$service:himiOwnerLiteAria.messagesHidden"
56808
56835
  }
56809
56836
  },
56810
56837
  {
@@ -57103,7 +57130,8 @@ const SCREENS = runtimeSetting({
57103
57130
  "text": "$service:himiOwnerLiteAria.error",
57104
57131
  "style": "footnote",
57105
57132
  "color": "danger",
57106
- "maxLines": 3
57133
+ "maxLines": 3,
57134
+ "collapseWhenEmpty": true
57107
57135
  }
57108
57136
  },
57109
57137
  "modifiers": {
@@ -61340,6 +61368,9 @@ const SCREENS = runtimeSetting({
61340
61368
  }
61341
61369
  ]
61342
61370
  }
61371
+ },
61372
+ "modifiers": {
61373
+ "hiddenPath": "$service:himiOwnerLiteAriaHistory.itemsHidden"
61343
61374
  }
61344
61375
  }
61345
61376
  ]
@@ -61846,10 +61877,10 @@ const SCREENS = runtimeSetting({
61846
61877
  },
61847
61878
  "fillMaxWidth": true,
61848
61879
  "onTap": {
61849
- "actionId": "himi.open",
61880
+ "actionId": "tier5.himiOwnerLiteSites.pick",
61850
61881
  "params": {
61851
- "screenId": "himi_owner_lite_home",
61852
- "business": "$item.id"
61882
+ "id": "$item.id",
61883
+ "name": "$item.name"
61853
61884
  }
61854
61885
  },
61855
61886
  "pressFeedback": "scale",
@@ -61946,7 +61977,6 @@ const SCREENS = runtimeSetting({
61946
61977
  "contentType": "application/javascript+ts-bundle",
61947
61978
  "declaredCapabilities": [
61948
61979
  "wix_api",
61949
- "wix_platform",
61950
61980
  "local_database"
61951
61981
  ],
61952
61982
  "minBinaryVersion": "0.1.0",
@@ -62407,10 +62437,10 @@ const SCREENS = runtimeSetting({
62407
62437
  },
62408
62438
  "fillMaxWidth": true,
62409
62439
  "onTap": {
62410
- "actionId": "himi.open",
62440
+ "actionId": "tier5.himiOwnerLiteOverview.pick",
62411
62441
  "params": {
62412
- "screenId": "himi_owner_lite_home",
62413
- "business": "$item.id"
62442
+ "id": "$item.id",
62443
+ "name": "$item.name"
62414
62444
  }
62415
62445
  },
62416
62446
  "pressFeedback": "scale",