@wix/himalaya-cli 0.1810.0 → 0.1811.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.
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{09e39aeb032cda05611bd7c888d3ae818f2fa89fc69705221b2dfcdf5ce5d704.bin → 35916cad4faec46ac3f7d6cb11b049d75faef382fcbc2c8697128937d73732cc.bin} +1 -1
- package/dist/browser-plane/sw.js +1 -1
- package/dist/cli.mjs +64 -39
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -4411,6 +4411,7 @@ var init_himi_package = __esm({
|
|
|
4411
4411
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
4412
4412
|
var init_icon_catalog_generated = __esm({
|
|
4413
4413
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
4414
|
+
"use strict";
|
|
4414
4415
|
init_define_HHP_CATALOG();
|
|
4415
4416
|
ICON_VIEW_BOX = 24;
|
|
4416
4417
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -42326,6 +42327,7 @@ function shouldRevealError(args) {
|
|
|
42326
42327
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
|
|
42327
42328
|
var init_validation = __esm({
|
|
42328
42329
|
"../../core/ts/src/validation.ts"() {
|
|
42330
|
+
"use strict";
|
|
42329
42331
|
init_define_HHP_CATALOG();
|
|
42330
42332
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
42331
42333
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
@@ -141007,6 +141009,8 @@ var init_renderNode = __esm({
|
|
|
141007
141009
|
},
|
|
141008
141010
|
style: frameStyle
|
|
141009
141011
|
};
|
|
141012
|
+
const tabTarget = primary && htmlStr == null && urlFrame && urlStr ? classifyEmbedUrl(urlStr) : null;
|
|
141013
|
+
const openInTabHref = tabTarget && (tabTarget.protocol === "https:" || tabTarget.protocol === "http:") ? tabTarget.absolute ? tabTarget.href : urlStr : void 0;
|
|
141010
141014
|
const showLoading = !loaded2 && (config.loadingText != null || config.showProgressBar) && (htmlStr != null || urlFrame != null);
|
|
141011
141015
|
const rawBand = config.coverBandColor ?? props2.coverBandColor;
|
|
141012
141016
|
const bandColor = typeof rawBand === "string" && rawBand.length > 0 ? rawBand : void 0;
|
|
@@ -141028,6 +141032,27 @@ var init_renderNode = __esm({
|
|
|
141028
141032
|
load: bridgeLoad.current
|
|
141029
141033
|
}
|
|
141030
141034
|
) }) : null,
|
|
141035
|
+
openInTabHref ? (
|
|
141036
|
+
// A primary page often refuses to be framed (CSP frame-ancestors / X-Frame-Options: a base44
|
|
141037
|
+
// game, most third-party sites), and a cross-origin refusal is not observable — the frame
|
|
141038
|
+
// still fires `load` on the browser's error page. So a primary url page always carries this
|
|
141039
|
+
// way out, the web analogue of the native site menu's "Open in browser".
|
|
141040
|
+
/* @__PURE__ */ jsxs11(
|
|
141041
|
+
"a",
|
|
141042
|
+
{
|
|
141043
|
+
"data-testid": "webview-open-in-tab",
|
|
141044
|
+
href: openInTabHref,
|
|
141045
|
+
target: "_blank",
|
|
141046
|
+
rel: "noopener noreferrer",
|
|
141047
|
+
"aria-label": "Open in a new tab",
|
|
141048
|
+
style: { position: "absolute", right: 12, bottom: 12, zIndex: 2, display: "inline-flex", alignItems: "center", gap: 6, padding: "6px 12px", borderRadius: 999, background: "rgba(19,23,30,0.78)", color: "#fff", textDecoration: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(13), fontWeight: 600, boxShadow: "0 2px 8px rgba(0,0,0,0.25)" },
|
|
141049
|
+
children: [
|
|
141050
|
+
/* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: "\u2197" }),
|
|
141051
|
+
"Open in new tab"
|
|
141052
|
+
]
|
|
141053
|
+
}
|
|
141054
|
+
)
|
|
141055
|
+
) : null,
|
|
141031
141056
|
showLoading ? /* @__PURE__ */ jsxs11("div", { "data-testid": "webview-loading", role: "status", "aria-live": "polite", "aria-label": config.loadingText ? void 0 : "Loading", style: { position: "absolute", left: 0, right: 0, top: bandColor ? 8 : 0, bottom: 0, display: "grid", placeItems: "center", pointerEvents: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(13), color: ctx.color("textSecondary", "#666") }, children: [
|
|
141032
141057
|
config.showProgressBar ? /* @__PURE__ */ jsx14("div", { "aria-hidden": "true", style: { position: "absolute", left: 0, top: 0, height: 3, width: "40%", background: ctx.color("accentPrimary", "#116DFF") } }) : null,
|
|
141033
141058
|
config.loadingText ?? null
|
|
@@ -252641,52 +252666,52 @@ var init_preview_assets_generated = __esm({
|
|
|
252641
252666
|
init_define_HHP_CATALOG();
|
|
252642
252667
|
init_preview_assets_format();
|
|
252643
252668
|
PREVIEW_ASSET_MANIFEST = [
|
|
252644
|
-
{ key: "assets/DashboardHost-
|
|
252645
|
-
{ key: "assets/DevDrawer-
|
|
252646
|
-
{ key: "assets/IdiomCompare-
|
|
252647
|
-
{ key: "assets/LightboxViewer-
|
|
252648
|
-
{ key: "assets/OfflineReadingBar-
|
|
252649
|
-
{ key: "assets/PhonePreviewControl-
|
|
252650
|
-
{ key: "assets/SchemeCompare-
|
|
252651
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
252669
|
+
{ key: "assets/DashboardHost-RcxWq2tv.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "79b2089838557e9a971be07895d34861223ec816dc2e1ca21b5efaae5ae3cc2b" },
|
|
252670
|
+
{ key: "assets/DevDrawer-1X-wgPir.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "23fd6100e1ed6a811057faf4852121f57e8b73f4312987c15825feb26611af05" },
|
|
252671
|
+
{ key: "assets/IdiomCompare-CxZnLgwy.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "7b2688afc8ec7b7ae7ea84f728f8f8ec7682673cf5edfb0e21b69674fb0fc03f" },
|
|
252672
|
+
{ key: "assets/LightboxViewer-DhwtIR1A.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 17382, sha256: "2900d2dad92bffe15720b1406c88fcb764d4bfe0845f3fec3064044f8fd7469e" },
|
|
252673
|
+
{ key: "assets/OfflineReadingBar-BTi8DcnC.js", contentType: "application/javascript; charset=utf-8", offset: 39084, length: 1646, sha256: "f7f301eab669c5b56e8e0dbfa24632c08115de3e3f2c612de28dd5784a9ee24a" },
|
|
252674
|
+
{ key: "assets/PhonePreviewControl-Bg3QMT3j.js", contentType: "application/javascript; charset=utf-8", offset: 40730, length: 37851, sha256: "6a8dbdfe98640c5373e59c11fa792a1e238d029316d8177d14b28d0edd5424cd" },
|
|
252675
|
+
{ key: "assets/SchemeCompare-BTWomOWv.js", contentType: "application/javascript; charset=utf-8", offset: 78581, length: 1858, sha256: "8cc05e544ef131689ad36ad6779c1f5e9c7f5e5f570470645300f02092728525" },
|
|
252676
|
+
{ key: "assets/WixFrogTelemetrySink-D00UyDRh.js", contentType: "application/javascript; charset=utf-8", offset: 80439, length: 3515, sha256: "161a3997b3feea322a31d9b4258d0157871214d25c3f37ce97824285ce9a4c07" },
|
|
252652
252677
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 83954, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
252653
252678
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 86146, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
252654
|
-
{ key: "assets/catalogFontFaces-
|
|
252679
|
+
{ key: "assets/catalogFontFaces-DyO25PaR.js", contentType: "application/javascript; charset=utf-8", offset: 121772, length: 1111, sha256: "c30f7f96337f5517cb54cf15ef305b99b5ac12c697c72aa5764354ef577c54b4" },
|
|
252655
252680
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 122883, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
252656
|
-
{ key: "assets/files-transfer-
|
|
252681
|
+
{ key: "assets/files-transfer-BkiJe7gM.js", contentType: "application/javascript; charset=utf-8", offset: 125450, length: 6446, sha256: "f272ff420ea916ef282c4b216d27780f92d542010a16196e1b2d56b5bbb63fc3" },
|
|
252657
252682
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 131896, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
252658
|
-
{ key: "assets/frogApiRules-
|
|
252683
|
+
{ key: "assets/frogApiRules-D-fJ2JK1.js", contentType: "application/javascript; charset=utf-8", offset: 133068, length: 2207, sha256: "080192f1bcd8ae67054d6dfa89debfb39848077bbcaf52d7c64b8c9113d430a0" },
|
|
252659
252684
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 135275, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
252660
252685
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 136342, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
252661
252686
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 142920, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
252662
|
-
{ key: "assets/index-
|
|
252663
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252664
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252665
|
-
{ key: "assets/pdf-
|
|
252666
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252667
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
252668
|
-
{ key: "assets/pdfDocument-
|
|
252669
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252670
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
252671
|
-
{ key: "assets/webviewBridgeHost-
|
|
252672
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
252673
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
252674
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
252675
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
252676
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
252677
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
252678
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
252679
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
252680
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
252681
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
252682
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
252683
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
252684
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252685
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
252686
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
252687
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
252688
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
252689
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
252687
|
+
{ key: "assets/index-Bi0XP2kS.js", contentType: "application/javascript; charset=utf-8", offset: 145624, length: 1609661, sha256: "30ba7711ce1122de83d9ad40b6d3e5dfd8b32f93c07a20192a12a37a99f247ba" },
|
|
252688
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1755285, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
252689
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1763036, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
252690
|
+
{ key: "assets/pdf-ddP2ZRr6.js", contentType: "application/javascript; charset=utf-8", offset: 1773567, length: 488215, sha256: "35916cad4faec46ac3f7d6cb11b049d75faef382fcbc2c8697128937d73732cc" },
|
|
252691
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2261782, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
252692
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2261872, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
252693
|
+
{ key: "assets/pdfDocument-mjfWc1dB.js", contentType: "application/javascript; charset=utf-8", offset: 3578906, length: 3470, sha256: "73a6df3b52e6a2d92a6d2cc029d3b13f0c317da54df16c4775f9e5d91ede19fc" },
|
|
252694
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3582376, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
252695
|
+
{ key: "assets/scrollLinkedRuntime-By-cmwRw.js", contentType: "application/javascript; charset=utf-8", offset: 3584642, length: 2278, sha256: "5991ccc689877a2cac507d196a4537d880e5431f6f30d99a0bc760c8c2e9be18" },
|
|
252696
|
+
{ key: "assets/webviewBridgeHost-6a5lwF5g.js", contentType: "application/javascript; charset=utf-8", offset: 3586920, length: 9889, sha256: "e12ae25599e2e896bf838a2043a8905b7e66aec76b91578408a0c5668ffdd81e" },
|
|
252697
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3596809, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
252698
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3601419, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
252699
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4090003, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
252700
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4180927, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
252701
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4271911, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
252702
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4362891, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
252703
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4453763, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
252704
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4544743, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
252705
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4653379, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
252706
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4762463, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
252707
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4871511, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
252708
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4979211, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
252709
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5067319, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
252710
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5074137, length: 4924, sha256: "af679eaa559278d1e7fc729d8fc32c88806cebc073eb5aa305c728b4e506f85b" },
|
|
252711
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5079061, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
252712
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5090518, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
252713
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5091689, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
252714
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5115992, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
252690
252715
|
];
|
|
252691
252716
|
}
|
|
252692
252717
|
});
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1811.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "9763183ca175f36ef8ca05736860ee42922934eb994122a4334b9ec6"
|
|
86
86
|
}
|