@wix/himalaya-cli 0.1615.0 → 0.1617.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 (57) hide show
  1. package/dist/cli.mjs +37 -36
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/guides/tier-5-add-a-screen.md +1 -1
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/dev/index.ts +37 -18
  6. package/templates/beauty-salon/tier5-src/_shared/sign-in-sheet.ts +18 -0
  7. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +8 -3
  8. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +7 -2
  9. package/templates/beauty-salon/tier5-src/himi-branded-lite-place-summary/index.ts +7 -2
  10. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +8 -2
  11. package/templates/branded-lite/dev/index.ts +95 -47
  12. package/templates/branded-lite/tier5-src/_shared/sign-in-sheet.ts +18 -0
  13. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +8 -3
  14. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +7 -2
  15. package/templates/branded-lite/tier5-src/himi-branded-lite-place-summary/index.ts +7 -2
  16. package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +7 -2
  17. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +8 -2
  18. package/templates/community-club/dev/index.ts +27 -13
  19. package/templates/community-club/tier5-src/_shared/sign-in-sheet.ts +18 -0
  20. package/templates/community-club/tier5-src/himi-store-account/index.ts +8 -2
  21. package/templates/events-meetups/dev/index.ts +25 -12
  22. package/templates/events-meetups/tier5-src/_shared/sign-in-sheet.ts +18 -0
  23. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +8 -2
  24. package/templates/gym-fitness/dev/index.ts +41 -20
  25. package/templates/gym-fitness/tier5-src/_shared/sign-in-sheet.ts +18 -0
  26. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +8 -3
  27. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +7 -2
  28. package/templates/gym-fitness/tier5-src/himi-branded-lite-place-summary/index.ts +7 -2
  29. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +8 -2
  30. package/templates/nonprofit-cause/dev/index.ts +31 -15
  31. package/templates/nonprofit-cause/tier5-src/_shared/sign-in-sheet.ts +18 -0
  32. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-place-summary/index.ts +7 -2
  33. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +8 -2
  34. package/templates/podcast-creator/dev/index.ts +29 -14
  35. package/templates/podcast-creator/tier5-src/_shared/sign-in-sheet.ts +18 -0
  36. package/templates/podcast-creator/tier5-src/himi-branded-lite-place-summary/index.ts +7 -2
  37. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +8 -2
  38. package/templates/portfolio-creative/dev/index.ts +31 -15
  39. package/templates/portfolio-creative/tier5-src/_shared/sign-in-sheet.ts +18 -0
  40. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +8 -2
  41. package/templates/restaurant/dev/index.ts +27 -13
  42. package/templates/restaurant/tier5-src/_shared/sign-in-sheet.ts +18 -0
  43. package/templates/restaurant/tier5-src/himi-store-account/index.ts +8 -2
  44. package/templates/retail-store/dev/index.ts +25 -12
  45. package/templates/retail-store/tier5-src/_shared/sign-in-sheet.ts +18 -0
  46. package/templates/retail-store/tier5-src/himi-store-account/index.ts +8 -2
  47. package/templates/salon-spa/tier5-src/_shared/sign-in-sheet.ts +18 -0
  48. package/templates/salon-spa/tier5-src/himi-booking-service/index.ts +8 -3
  49. package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +7 -2
  50. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +8 -2
  51. package/templates/yoga-studio/dev/index.ts +37 -18
  52. package/templates/yoga-studio/tier5-src/_shared/sign-in-sheet.ts +18 -0
  53. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +8 -3
  54. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +7 -2
  55. package/templates/yoga-studio/tier5-src/himi-branded-lite-place-summary/index.ts +7 -2
  56. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +7 -2
  57. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +8 -2
package/dist/cli.mjs CHANGED
@@ -15190,6 +15190,7 @@ function webViewOriginAllowed(url, origins) {
15190
15190
  }
15191
15191
  var init_webview_origin = __esm({
15192
15192
  "../../core/ts/src/webview-origin.ts"() {
15193
+ "use strict";
15193
15194
  init_define_HHP_CATALOG();
15194
15195
  }
15195
15196
  });
@@ -184969,46 +184970,46 @@ var init_preview_assets_generated = __esm({
184969
184970
  init_define_HHP_CATALOG();
184970
184971
  init_preview_assets_format();
184971
184972
  PREVIEW_ASSET_MANIFEST = [
184972
- { key: "assets/DashboardHost-3gsTgUB9.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2971, sha256: "ccc102ae2be3072f5b7298a5f79cacd148c1e9a283f18e5921af205a53172bd1" },
184973
- { key: "assets/DevDrawer-CwVEuTur.js", contentType: "application/javascript; charset=utf-8", offset: 2979, length: 16783, sha256: "ebc3214e2edbc7570e3ac558ac984cef001872a880970a99fa44b26be791992e" },
184974
- { key: "assets/IdiomCompare-BoaQOK5M.js", contentType: "application/javascript; charset=utf-8", offset: 19762, length: 1926, sha256: "abc579bdc3a253acc52bd32fb053e557012bd1e000c6c42e3fd72e0c1311f357" },
184975
- { key: "assets/LightboxViewer--lNQ7NIj.js", contentType: "application/javascript; charset=utf-8", offset: 21688, length: 8171, sha256: "a14ca36f17e8a8e29b00a66f39615048b581bfbca6430d30430a54eb2a52950f" },
184976
- { key: "assets/OfflineReadingBar-AT-uikhL.js", contentType: "application/javascript; charset=utf-8", offset: 29859, length: 1707, sha256: "f517ab243df6e2369f4e662d899a8615f5ff6f02eaa3c301e064d950718945b4" },
184977
- { key: "assets/PhonePreviewControl-Cfp_CLtT.js", contentType: "application/javascript; charset=utf-8", offset: 31566, length: 37851, sha256: "06bfbe4ee553f3982a44120f3d916bc733d99c7b529950f45dad3262a0e20b77" },
184978
- { key: "assets/SchemeCompare-CrGqEhYr.js", contentType: "application/javascript; charset=utf-8", offset: 69417, length: 1858, sha256: "6dd637143847ddbced59b327baaf5467a7a3ca63a93c5ef8d536df37cf4671d0" },
184979
- { key: "assets/WixFrogTelemetrySink-DVnUtztk.js", contentType: "application/javascript; charset=utf-8", offset: 71275, length: 3165, sha256: "d882f5f08bd59d88bcd7a26a0c625cd82662339eecbb13be88ca230f388a8b37" },
184973
+ { key: "assets/DashboardHost-DZfga_Mg.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2971, sha256: "eef5b24050725a9b8b39eb6e487f05000eea83200ac9c64deb430b6873568d93" },
184974
+ { key: "assets/DevDrawer-CzsFts_h.js", contentType: "application/javascript; charset=utf-8", offset: 2979, length: 16783, sha256: "3c8ef361603fee9a5acf1b86e7e5212b5006981e81d37131564f3ad3ce80b139" },
184975
+ { key: "assets/IdiomCompare-CyjKAdmn.js", contentType: "application/javascript; charset=utf-8", offset: 19762, length: 1926, sha256: "9dfb8c777df2bd2e22135173eb812b93c55815b48a0d4112eb88953d63702802" },
184976
+ { key: "assets/LightboxViewer-BAQeI4NZ.js", contentType: "application/javascript; charset=utf-8", offset: 21688, length: 8171, sha256: "54633b9b530b0f8b553db4fb6785bf394ca483b237f4c48c54c18fcfc4ff2056" },
184977
+ { key: "assets/OfflineReadingBar-B8NEJTXu.js", contentType: "application/javascript; charset=utf-8", offset: 29859, length: 1707, sha256: "fff3bd54174644aa002daf6b8001d080114e2645893c36d33f39cfb3f13e9178" },
184978
+ { key: "assets/PhonePreviewControl-DiL1I50l.js", contentType: "application/javascript; charset=utf-8", offset: 31566, length: 37851, sha256: "197df14a08d207346ff35777449a019b9777e1965bb01e61f755dcc85f408cf0" },
184979
+ { key: "assets/SchemeCompare-Beom-WcH.js", contentType: "application/javascript; charset=utf-8", offset: 69417, length: 1858, sha256: "0864ad2781a11099b797897059ae3e48ef7a9519939939a616ec3292adfc602e" },
184980
+ { key: "assets/WixFrogTelemetrySink-DDMg2oXn.js", contentType: "application/javascript; charset=utf-8", offset: 71275, length: 3165, sha256: "42cffcb9c55bb10a75e496c9627186e5d30f5c9eaac00faa0d139aba8b873fb8" },
184980
184981
  { key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 74440, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
184981
184982
  { key: "assets/catalog-CAoUWITw.js", contentType: "application/javascript; charset=utf-8", offset: 76632, length: 26046, sha256: "4c270ca3051f77d761aef1297125e02339d48493dd2b84a0cacf0faf41aa8cb3" },
184982
- { key: "assets/catalogFontFaces-BOE7optU.js", contentType: "application/javascript; charset=utf-8", offset: 102678, length: 1111, sha256: "7b83ba034fc4b09e0c3731d2977d8ac48a12a3e46fa3a3383541d167cd7caa3f" },
184983
- { key: "assets/files-transfer-D2m-6sv8.js", contentType: "application/javascript; charset=utf-8", offset: 103789, length: 6446, sha256: "29aab69e2292eaf4f74e60b812aa6c7bd198d59bb6b45b057b69788e19912e94" },
184983
+ { key: "assets/catalogFontFaces-BHv6w0dL.js", contentType: "application/javascript; charset=utf-8", offset: 102678, length: 1111, sha256: "e603318f29c01e52ed721dd23fa9a5a1ab1dd0cecff88dcc3d2830363ec5a872" },
184984
+ { key: "assets/files-transfer-BD4mpV3w.js", contentType: "application/javascript; charset=utf-8", offset: 103789, length: 6446, sha256: "4b93f287d89f30bc6fd4a930a2376db3611a7b6a6c5e499041907fab11490a56" },
184984
184985
  { key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 110235, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
184985
184986
  { key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 116813, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
184986
- { key: "assets/index-48LXBr-k.js", contentType: "application/javascript; charset=utf-8", offset: 119517, length: 1505466, sha256: "da28ff94b8bd197873bf78378caa997d5325d052830890d0f9cc5fd5c02ded08" },
184987
- { key: "assets/jsx-runtime-CY_jTiqj.js", contentType: "application/javascript; charset=utf-8", offset: 1624983, length: 7624, sha256: "29dfba5b56f79a0b84d6b04d84d87617454baeba03c225f682ab2ab7ae2d5016" },
184988
- { key: "assets/pdf-3Rf3E3pE.js", contentType: "application/javascript; charset=utf-8", offset: 1632607, length: 488215, sha256: "514d227d462e697aecbae58f1b2b5bab5ad3847656b9257ef0037b3efdbceada" },
184989
- { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2120822, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
184990
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2120912, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
184991
- { key: "assets/pdfDocument-BgmzreFf.js", contentType: "application/javascript; charset=utf-8", offset: 3437946, length: 3470, sha256: "ca223b966552c7e8b0a76558c5c9b54755c62fc3faa11e19f66e73b3bbaa1423" },
184992
- { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3441416, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
184993
- { key: "assets/webviewBridgeHost-Droi-XuB.js", contentType: "application/javascript; charset=utf-8", offset: 3443682, length: 9888, sha256: "08bd776c6cef081f30b5ae82fb466d29e5175ec33d22811c65d8dd35924c2345" },
184994
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3453570, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
184995
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3458180, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
184996
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3946764, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
184997
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4037688, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
184998
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4128672, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
184999
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4219652, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
185000
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4310524, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
185001
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4401504, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
185002
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4510140, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
185003
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4619224, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
185004
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4728272, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
185005
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4835972, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
185006
- { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 4924080, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
185007
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 4930898, length: 4924, sha256: "1491906e0c9cc7184e38934ad525bde7a16834831ddb8340eeb4504d7c10b6af" },
185008
- { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 4935822, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
185009
- { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 4947279, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
185010
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4948450, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
185011
- { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 4971497, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
184987
+ { key: "assets/index-Ba_s-ONu.js", contentType: "application/javascript; charset=utf-8", offset: 119517, length: 1505552, sha256: "1f4382e2f713a51a83be334871404d275940dce6bc621f089f330f67101160e2" },
184988
+ { key: "assets/jsx-runtime-CY_jTiqj.js", contentType: "application/javascript; charset=utf-8", offset: 1625069, length: 7624, sha256: "29dfba5b56f79a0b84d6b04d84d87617454baeba03c225f682ab2ab7ae2d5016" },
184989
+ { key: "assets/pdf-rRcqQHkZ.js", contentType: "application/javascript; charset=utf-8", offset: 1632693, length: 488215, sha256: "22adff7dd27347af4c39596d13f2dc7caac277cbb638000a08c9220ecea253e3" },
184990
+ { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2120908, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
184991
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2120998, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
184992
+ { key: "assets/pdfDocument-Qi4z2flR.js", contentType: "application/javascript; charset=utf-8", offset: 3438032, length: 3470, sha256: "40f386f0a999d641b913ff22ceefe6e1c657e3e6db3556ae8833fba02b744871" },
184993
+ { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3441502, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
184994
+ { key: "assets/webviewBridgeHost-C7cClnZm.js", contentType: "application/javascript; charset=utf-8", offset: 3443768, length: 9888, sha256: "823b57760171956d5082e4d87b9d71cee9686ac456b1b2ac40f07bba8fd3a9af" },
184995
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3453656, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
184996
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3458266, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
184997
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3946850, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
184998
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4037774, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
184999
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4128758, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
185000
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4219738, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
185001
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4310610, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
185002
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4401590, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
185003
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4510226, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
185004
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4619310, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
185005
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4728358, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
185006
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4836058, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
185007
+ { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 4924166, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
185008
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 4930984, length: 4924, sha256: "228782296705b6da666bbea178ce6f23c24a109e46c4d6c26657b27324c832d1" },
185009
+ { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 4935908, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
185010
+ { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 4947365, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
185011
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4948536, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
185012
+ { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 4971583, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
185012
185013
  ];
185013
185014
  }
185014
185015
  });
Binary file
@@ -848,7 +848,7 @@ a tapped `himi.open` would — including the `args` arriving as `himalaya.input`
848
848
 
849
849
  | `_nav` | What the host does |
850
850
  |---|---|
851
- | `{ screenId, args?, presentation? }` | Opens the screen. `presentation` is `push` (the default), `replace`, `sheet` or `full_screen` — the same verbs a descriptor action uses. |
851
+ | `{ screenId, args?, presentation? }` | Opens the screen. `presentation` is `push` (the default), `replace`, `sheet` or `full_screen` — the same verbs a descriptor action uses. A `sheet` with `sheetStyle: "page"` in its args (or a descriptor action's params) is a modal page, such as a sign-in form: iOS shows its sheet, while Android, web and React Native, whose sheet is a bottom drawer, open it full screen with a Close button. |
852
852
  | `{ presentation: "back" }` or `{ presentation: "dismiss" }` | `back` pops the current screen; `dismiss` closes the open sheet or full-screen cover. No target. |
853
853
  | `{ tab: "<tabId>", reset?: true, screenId?, args? }` | Switches to that tab — a `tabBar` item, or a sidebar-rail item on a wide layout. With `reset: true` it then pops that tab to its root. With `screenId` it then pushes that screen, with `args`, onto **that** tab's stack. |
854
854
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1615.0",
3
+ "version": "0.1617.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": [
@@ -72,5 +72,5 @@
72
72
  "artifactId": "himalaya-cli"
73
73
  }
74
74
  },
75
- "falconPackageHash": "16f0d18dbd708953827546385ed370640a8dc38276cb7033d3cc5068"
75
+ "falconPackageHash": "ca22226ed33669cefe5f25805d924885e9f4472817b9be7ad316e2d1"
76
76
  }
@@ -2841,7 +2841,8 @@ const SCREENS = runtimeSetting({
2841
2841
  "params": {
2842
2842
  "screenId": "himi_sign_in",
2843
2843
  "mode": "signin",
2844
- "modal": "1"
2844
+ "modal": "1",
2845
+ "sheetStyle": "page"
2845
2846
  },
2846
2847
  "presentation": "sheet"
2847
2848
  }
@@ -2862,7 +2863,8 @@ const SCREENS = runtimeSetting({
2862
2863
  "params": {
2863
2864
  "screenId": "himi_sign_in",
2864
2865
  "mode": "register",
2865
- "modal": "1"
2866
+ "modal": "1",
2867
+ "sheetStyle": "page"
2866
2868
  },
2867
2869
  "presentation": "sheet"
2868
2870
  }
@@ -4229,6 +4231,7 @@ const SCREENS = runtimeSetting({
4229
4231
  "restorePurchases": "1",
4230
4232
  "signInScreen": "himi_sign_in",
4231
4233
  "signInPresentation": "sheet",
4234
+ "signInSheetStyle": "page",
4232
4235
  "signInReturnTab": "profile",
4233
4236
  "pollIdentity": "1",
4234
4237
  "cartCount": "1",
@@ -4506,7 +4509,8 @@ const SCREENS = runtimeSetting({
4506
4509
  "screenId": "himi_sign_in",
4507
4510
  "mode": "signin",
4508
4511
  "returnScreenId": "himi_account_settings",
4509
- "modal": "1"
4512
+ "modal": "1",
4513
+ "sheetStyle": "page"
4510
4514
  },
4511
4515
  "presentation": "sheet"
4512
4516
  }
@@ -7526,7 +7530,8 @@ const SCREENS = runtimeSetting({
7526
7530
  "params": {
7527
7531
  "screenId": "himi_sign_in",
7528
7532
  "returnScreenId": "himi_notif_settings",
7529
- "modal": "1"
7533
+ "modal": "1",
7534
+ "sheetStyle": "page"
7530
7535
  },
7531
7536
  "presentation": "sheet"
7532
7537
  }
@@ -7921,7 +7926,8 @@ const SCREENS = runtimeSetting({
7921
7926
  "mode": "signin",
7922
7927
  "intent": "profile",
7923
7928
  "returnScreenId": "himi_view_profile",
7924
- "modal": "1"
7929
+ "modal": "1",
7930
+ "sheetStyle": "page"
7925
7931
  },
7926
7932
  "presentation": "sheet"
7927
7933
  }
@@ -17421,7 +17427,8 @@ const SCREENS = runtimeSetting({
17421
17427
  "mode": "signin",
17422
17428
  "intent": "orders",
17423
17429
  "returnScreenId": "himi_orders",
17424
- "modal": "1"
17430
+ "modal": "1",
17431
+ "sheetStyle": "page"
17425
17432
  },
17426
17433
  "presentation": "sheet"
17427
17434
  }
@@ -18158,7 +18165,8 @@ const SCREENS = runtimeSetting({
18158
18165
  "mode": "signin",
18159
18166
  "intent": "addresses",
18160
18167
  "returnScreenId": "himi_addresses",
18161
- "modal": "1"
18168
+ "modal": "1",
18169
+ "sheetStyle": "page"
18162
18170
  },
18163
18171
  "presentation": "sheet"
18164
18172
  }
@@ -19217,7 +19225,8 @@ const SCREENS = runtimeSetting({
19217
19225
  "mode": "signin",
19218
19226
  "intent": "addresses",
19219
19227
  "returnScreenId": "himi_address",
19220
- "modal": "1"
19228
+ "modal": "1",
19229
+ "sheetStyle": "page"
19221
19230
  },
19222
19231
  "presentation": "sheet"
19223
19232
  }
@@ -19890,7 +19899,8 @@ const SCREENS = runtimeSetting({
19890
19899
  "mode": "signin",
19891
19900
  "intent": "wallet",
19892
19901
  "returnScreenId": "himi_wallet",
19893
- "modal": "1"
19902
+ "modal": "1",
19903
+ "sheetStyle": "page"
19894
19904
  },
19895
19905
  "presentation": "sheet"
19896
19906
  }
@@ -20402,7 +20412,8 @@ const SCREENS = runtimeSetting({
20402
20412
  "actionId": "tier5.himiPlaceSummary.load",
20403
20413
  "params": {
20404
20414
  "verticals": "[\"store\",\"bookings\",\"plans\",\"blog\"]",
20405
- "signInPresentation": "sheet"
20415
+ "signInPresentation": "sheet",
20416
+ "signInSheetStyle": "page"
20406
20417
  }
20407
20418
  }
20408
20419
  }
@@ -23234,7 +23245,8 @@ const SCREENS = runtimeSetting({
23234
23245
  "screenId": "himi_sign_in",
23235
23246
  "mode": "signin",
23236
23247
  "returnScreenId": "himi_bookings",
23237
- "modal": "1"
23248
+ "modal": "1",
23249
+ "sheetStyle": "page"
23238
23250
  },
23239
23251
  "presentation": "sheet"
23240
23252
  },
@@ -26344,7 +26356,8 @@ const SCREENS = runtimeSetting({
26344
26356
  "actionId": "tier5.himiBrandedAgenda.load",
26345
26357
  "params": {
26346
26358
  "firstWeekday": "0",
26347
- "signInPresentation": "sheet"
26359
+ "signInPresentation": "sheet",
26360
+ "signInSheetStyle": "page"
26348
26361
  }
26349
26362
  }
26350
26363
  }
@@ -29487,7 +29500,8 @@ const SCREENS = runtimeSetting({
29487
29500
  "params": {
29488
29501
  "screenId": "himi_sign_in",
29489
29502
  "mode": "signin",
29490
- "modal": "1"
29503
+ "modal": "1",
29504
+ "sheetStyle": "page"
29491
29505
  },
29492
29506
  "presentation": "sheet"
29493
29507
  }
@@ -29875,7 +29889,8 @@ const SCREENS = runtimeSetting({
29875
29889
  "mode": "signin",
29876
29890
  "intent": "post",
29877
29891
  "returnScreenId": "himi_create_post",
29878
- "modal": "1"
29892
+ "modal": "1",
29893
+ "sheetStyle": "page"
29879
29894
  },
29880
29895
  "presentation": "sheet"
29881
29896
  }
@@ -34208,7 +34223,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
34208
34223
  "screenId": "himi_sign_in",
34209
34224
  "returnScreenId": "himi_order",
34210
34225
  "returnId": "$service:himiBrandedOrder.id",
34211
- "modal": "1"
34226
+ "modal": "1",
34227
+ "sheetStyle": "page"
34212
34228
  },
34213
34229
  "presentation": "sheet"
34214
34230
  }
@@ -38373,7 +38389,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
38373
38389
  "actionId": "tier5.himiBookingService.load",
38374
38390
  "params": {
38375
38391
  "signInScreenId": "himi_sign_in",
38376
- "signInPresentation": "sheet"
38392
+ "signInPresentation": "sheet",
38393
+ "signInSheetStyle": "page"
38377
38394
  }
38378
38395
  }
38379
38396
  }
@@ -41601,7 +41618,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41601
41618
  "screenId": "himi_sign_in",
41602
41619
  "mode": "signin",
41603
41620
  "intent": "book",
41604
- "modal": "1"
41621
+ "modal": "1",
41622
+ "sheetStyle": "page"
41605
41623
  },
41606
41624
  "presentation": "sheet"
41607
41625
  }
@@ -41854,7 +41872,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41854
41872
  "params": {
41855
41873
  "screenId": "himi_sign_in",
41856
41874
  "mode": "signin",
41857
- "modal": "1"
41875
+ "modal": "1",
41876
+ "sheetStyle": "page"
41858
41877
  },
41859
41878
  "presentation": "sheet"
41860
41879
  }
@@ -0,0 +1,18 @@
1
+ // A sign-in sheet can be a form page rather than a drawer. `sheetStyle: "page"` keeps the iOS sheet
2
+ // and opens a full-screen modal on Android and web, whose sheet is a bottom drawer. A host older
3
+ // than the param ignores it and draws its own sheet.
4
+ //
5
+ // Opt-in per app: the app passes `signInSheetStyle: "page"` beside `signInPresentation`. These
6
+ // workers are shared (Salon & Spa runs them too), and an app that opens its other sign-ins as a
7
+ // plain sheet must not get a page from some of them and a drawer from the rest.
8
+
9
+ /** The app's `signInSheetStyle` param, read beside `signInPresentation`: "page", else "". */
10
+ export function signInPageStyle(value: unknown): "page" | "" {
11
+ return value === "page" ? "page" : "";
12
+ }
13
+
14
+ /** The nav args a sign-in opened with `presentation` adds: `sheetStyle` on a sheet the app asked
15
+ * to open as a page, else none. */
16
+ export function signInSheetStyle(presentation: string | undefined, style: "page" | ""): { sheetStyle?: "page" } {
17
+ return presentation === "sheet" && style === "page" ? { sheetStyle: "page" } : {};
18
+ }
@@ -13,6 +13,7 @@ import { addDays, dayKey, dayLabel, timeLabel } from "@himalaya/time";
13
13
  import { getService, queryServiceAvailability, registerToWaitlist, type WixAvailabilityEntry, type WixService, type WixServiceAddress, type WixServiceBookingPolicy } from "@himalaya/wix-bookings";
14
14
  import { getMyMember } from "@himalaya/wix-members";
15
15
  import { memberAccess, type MemberAccess } from "../_shared/member-access.js";
16
+ import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
16
17
  import { placesIn, sessionControl, sessionOf, type MemberPlace, type Session, type SessionControl } from "../_shared/booking-session.js";
17
18
  import { categoryName, courseDatesText, courseReadWindows, courseSessionsAvailability, courseWindowOpen, serviceDurationText, servicePriceLine, slotStartInstant, type BookingLabel, type ServicePriceLine } from "../_shared/himi-bookings.js";
18
19
  import { formatServiceMoney, serviceCurrency } from "../_shared/wix-service-price.js";
@@ -723,10 +724,14 @@ const sameMember = (a: MemberAccess | undefined, b: MemberAccess | undefined): b
723
724
  * appear (or tap) params — Branded Lite passes `himi_sign_in` as a sheet. */
724
725
  let signInScreenId = "";
725
726
  let signInPresentation: "" | "sheet" | "full_screen" = "";
727
+ let signInStyle: "page" | "" = "";
726
728
  function rememberSignIn(arg: unknown): void {
727
- const a = (arg ?? {}) as { signInScreenId?: unknown; signInPresentation?: unknown };
729
+ const a = (arg ?? {}) as { signInScreenId?: unknown; signInPresentation?: unknown; signInSheetStyle?: unknown };
728
730
  if (typeof a.signInScreenId === "string" && a.signInScreenId.trim()) signInScreenId = a.signInScreenId.trim();
729
- if (a.signInPresentation === "sheet" || a.signInPresentation === "full_screen") signInPresentation = a.signInPresentation;
731
+ if (a.signInPresentation === "sheet" || a.signInPresentation === "full_screen") {
732
+ signInPresentation = a.signInPresentation;
733
+ signInStyle = signInPageStyle(a.signInSheetStyle);
734
+ }
730
735
  }
731
736
 
732
737
  // ---- State -----------------------------------------------------------------------
@@ -1130,7 +1135,7 @@ const svc = defineService<S, {
1130
1135
  // joins the waitlist itself. A sign-in sheet only closes, and this screen loads again.
1131
1136
  if (!signInScreenId) return navigate(s, { screenId: "himi_time", args: { id: s.id, start: s.sessionStart, sessionId: s.sessionId } });
1132
1137
  return navigate(s, signInPresentation
1133
- ? { screenId: signInScreenId, presentation: signInPresentation, args: { mode: "signin", modal: "1" } }
1138
+ ? { screenId: signInScreenId, presentation: signInPresentation, args: { mode: "signin", modal: "1", ...signInSheetStyle(signInPresentation, signInStyle) } }
1134
1139
  : { screenId: signInScreenId, args: { mode: "signin" } });
1135
1140
  }
1136
1141
  const name = await memberName();
@@ -28,6 +28,7 @@ import {
28
28
  queryServices, registerToWaitlist, type WixAvailabilityEntry, type WixBooking, type WixService,
29
29
  } from "@himalaya/wix-bookings";
30
30
  import { getMyMember } from "@himalaya/wix-members";
31
+ import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
31
32
  import { LOADING, loadFailed, type LoadFlags } from "../_shared/branded-load-state.js";
32
33
  import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
33
34
  import { slotStartInstant } from "../_shared/himi-bookings.js";
@@ -650,6 +651,7 @@ async function settled(next: S | undefined): Promise<S | undefined> {
650
651
 
651
652
  /** How the app opens its sign-in screen, from the appear params ("" = push). */
652
653
  let signInPresentation: "" | "sheet" | "full_screen" = "";
654
+ let signInStyle: "page" | "" = "";
653
655
  /** The app's sign-in screen (`signInScreenId` appear param): Branded Lite's `himi_sign_in` by
654
656
  * default; an app with no such screen names its own (salon-spa: the Profile tab, `himi_account`). */
655
657
  let signInScreenId = "himi_sign_in";
@@ -680,7 +682,10 @@ const svc = defineService<S, {
680
682
  load: async (s, p) => {
681
683
  stashCopy(p);
682
684
  const presentation = argOf(p, "signInPresentation");
683
- if (presentation === "sheet" || presentation === "full_screen") signInPresentation = presentation;
685
+ if (presentation === "sheet" || presentation === "full_screen") {
686
+ signInPresentation = presentation;
687
+ signInStyle = signInPageStyle(argOf(p, "signInSheetStyle"));
688
+ }
684
689
  const signInScreen = argOf(p, "signInScreenId");
685
690
  if (/^[a-z][a-z0-9_]{0,63}$/.test(signInScreen)) signInScreenId = signInScreen;
686
691
  const fw = Number(argOf(p, "firstWeekday") || s.firstWeekday);
@@ -883,7 +888,7 @@ const svc = defineService<S, {
883
888
  busy = false;
884
889
  // As a modal it only closes, and this screen loads again (its re-appearance reload).
885
890
  return navigate(s, signInPresentation
886
- ? { screenId: signInScreenId, presentation: signInPresentation, args: { mode: "signin", modal: "1" } }
891
+ ? { screenId: signInScreenId, presentation: signInPresentation, args: { mode: "signin", modal: "1", ...signInSheetStyle(signInPresentation, signInStyle) } }
887
892
  : { screenId: signInScreenId, args: { mode: "signin", returnScreenId: "himi_agenda" } });
888
893
  }
889
894
  const name = await memberName();
@@ -13,6 +13,7 @@ import { defineService, navigate } from "@himalaya/state";
13
13
  import { listMyPlanOrders, type WixPlanOrder } from "@himalaya/wix-pricing-plans";
14
14
  import { fetchMemberBookings, type MemberBookingRow } from "../_shared/member-bookings.js";
15
15
  import { memberAccess, assertMemberAccess, memberAccessDenied, type MemberAccess } from "../_shared/member-access.js";
16
+ import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
16
17
  import { hostSiteFromInput } from "../_shared/branded-lite-hosted.js";
17
18
  import { formatDateMedium } from "../_shared/engine-intl.js";
18
19
  import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
@@ -53,6 +54,7 @@ const SIGN_IN_SCREEN = "himi_sign_in";
53
54
 
54
55
  let stashedVerticals: string[] | null = null;
55
56
  let signInPresentation: "sheet" | "full_screen" | undefined;
57
+ let signInStyle: "page" | "" = "";
56
58
  let generation = 0;
57
59
 
58
60
  function appearVerticals(arg: unknown): string[] {
@@ -192,7 +194,10 @@ async function read(arg: unknown, again = true): Promise<PlaceSummaryState> {
192
194
  async function load(_s: PlaceSummaryState, arg?: unknown): Promise<PlaceSummaryState | undefined> {
193
195
  stashCopy(arg);
194
196
  const presentation = arg && typeof arg === "object" ? (arg as Record<string, unknown>).signInPresentation : undefined;
195
- if (presentation === "sheet" || presentation === "full_screen") signInPresentation = presentation;
197
+ if (presentation === "sheet" || presentation === "full_screen") {
198
+ signInPresentation = presentation;
199
+ signInStyle = signInPageStyle((arg as Record<string, unknown>).signInSheetStyle);
200
+ }
196
201
  const mine = ++generation;
197
202
  const next = await read(arg);
198
203
  return mine === generation ? next : undefined;
@@ -211,7 +216,7 @@ const svc = defineService<PlaceSummaryState, {
211
216
  if (s.hideCta || !s.ctaScreenId) return s;
212
217
  // No return path: the tile is embedded, so the form closes over its host.
213
218
  return navigate(s, s.ctaScreenId === SIGN_IN_SCREEN && signInPresentation
214
- ? { screenId: SIGN_IN_SCREEN, presentation: signInPresentation, args: { mode: "signin", modal: "1" } }
219
+ ? { screenId: SIGN_IN_SCREEN, presentation: signInPresentation, args: { mode: "signin", modal: "1", ...signInSheetStyle(signInPresentation, signInStyle) } }
215
220
  : { screenId: s.ctaScreenId, args: { mode: s.ctaMode } });
216
221
  },
217
222
  },
@@ -14,6 +14,7 @@ import { dispatch } from "@himalaya/dispatch";
14
14
  import { getCurrentCart, searchOrders, type WixOrder } from "@himalaya/wix-ecom";
15
15
  import { guestProfile, loadMemberProfile, signedInEmail, strOf, fmtDate, titleCase, type AccountActivityRow } from "../_shared/himi-account";
16
16
  import { stashCopy, copyParam, copyTemplate } from "../_shared/himi-copy.js";
17
+ import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
17
18
  import { memberAccountRoutes } from "../_shared/member-account-routes.js";
18
19
  import { createIapCommerce, onlineProgramOrders, pricingPlanOrders, storesAppleSalesEnabled, storesProductOrders } from "@himalaya/iap-checkout";
19
20
  import { IAP_RESTORE_KEYS, NO_IAP_RESTORE, createIapRestore, resetUnhydratedKeysOnOlderRuntime, type IapRestoreFields } from "../_shared/iap-worker.js";
@@ -143,7 +144,7 @@ function openSignIn(next: S, args: Record<string, string>, after: { screenId: st
143
144
  if (after.args?.channelId) back.returnChannelId = after.args.channelId;
144
145
  }
145
146
  if (!presentation) return navigate(next, { screenId, args: { ...args, ...back } });
146
- const modalArgs: Record<string, string> = { ...args, modal: "1" };
147
+ const modalArgs: Record<string, string> = { ...args, modal: "1", ...signInSheetStyle(presentation, signInStyleRequested) };
147
148
  // With no tab to open it on, a modal has no way to the member screen: it only closes.
148
149
  if (after && signInReturnTabRequested) Object.assign(modalArgs, back, { returnTab: signInReturnTabRequested });
149
150
  return navigate(next, { screenId, presentation, args: modalArgs });
@@ -231,6 +232,8 @@ let appliedSeq = 0;
231
232
  let signInScreenRequested = "";
232
233
  /** Account only: how it opens the standalone sign-in screen ("" = push). */
233
234
  let signInPresentationRequested: "" | "sheet" | "full_screen" = "";
235
+ /** Account only: `signInSheetStyle`, "page" when the app opens that sheet as a full page. */
236
+ let signInStyleRequested: "page" | "" = "";
234
237
  /** Account only: its tab, where a member screen opens after a modal sign-in. */
235
238
  let signInReturnTabRequested = "";
236
239
  let standaloneRequested = false;
@@ -268,7 +271,10 @@ function appearConfig(s: S, arg: unknown): AppearConfig {
268
271
  }
269
272
  signInScreenRequested ||= strField(arg, "signInScreen") || s.signInScreen;
270
273
  const presentation = strField(arg, "signInPresentation");
271
- if (presentation === "sheet" || presentation === "full_screen") signInPresentationRequested = presentation;
274
+ if (presentation === "sheet" || presentation === "full_screen") {
275
+ signInPresentationRequested = presentation;
276
+ signInStyleRequested = signInPageStyle(strField(arg, "signInSheetStyle"));
277
+ }
272
278
  signInReturnTabRequested ||= strField(arg, "signInReturnTab");
273
279
  // Only the sign-in screen's route carries `mode`, so it marks the form from the boot load on.
274
280
  standaloneRequested ||= s.standalone || appearing || (!routeInputConsumed && !!routeInput().mode);