@wix/himalaya-cli 0.1829.0 → 0.1830.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/{4342c013d2d1938e1fd0eb5ad8808d0a7425d67ea080f4ce615db01a7671e842.bin → 990204a4cb9e61e96206131bbaeb9401543753fd5301735b5029eb6906921329.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +68 -51
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/push-cli-onboarding.md +5 -0
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +25 -2
- package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/branded-lite/dev/index.ts +25 -2
- package/templates/branded-lite/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/brandy/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/community-club/dev/index.ts +25 -2
- package/templates/community-club/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/conference/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/events-meetups/dev/index.ts +25 -2
- package/templates/events-meetups/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/gym-fitness/dev/index.ts +25 -2
- package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/medical-services/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/nonprofit-cause/dev/index.ts +25 -2
- package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/personal-fitness-trainer/dev/index.ts +23 -1
- package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/podcast-creator/dev/index.ts +25 -2
- package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/portfolio-creative/dev/index.ts +25 -2
- package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/restaurant/dev/index.ts +25 -2
- package/templates/restaurant/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/retail-store/dev/index.ts +25 -2
- package/templates/retail-store/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/salon-spa/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +49 -10
- package/templates/yoga-studio/dev/index.ts +25 -2
- package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +49 -10
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;
|
|
@@ -26747,7 +26748,7 @@ var init_validate_descriptor_core = __esm({
|
|
|
26747
26748
|
TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS = /* @__PURE__ */ new Set(["single", "drawer", "sidebar"]);
|
|
26748
26749
|
ORIENTATION_NAMES = ["portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"];
|
|
26749
26750
|
DEFAULT_ENVELOPE = { phone: ["portrait"], tablet: ORIENTATION_NAMES };
|
|
26750
|
-
BUTTON_STYLES = /* @__PURE__ */ new Set(["filled", "tonal", "outlined", "text", "elevated", "bordered", "prominent", "plain", "glass", "primary", "secondary", "tertiary", "link", "destructive"]);
|
|
26751
|
+
BUTTON_STYLES = /* @__PURE__ */ new Set(["filled", "tonal", "outlined", "text", "elevated", "bordered", "prominent", "plain", "glass", "primary", "secondary", "tertiary", "link", "destructive", "appleSignIn"]);
|
|
26751
26752
|
PROP_VALUE_ENUMS = {
|
|
26752
26753
|
"Video.contentMode": ["fit", "fill"],
|
|
26753
26754
|
"Skeleton.style": ["static", "shimmer"],
|
|
@@ -29617,7 +29618,7 @@ var init_player_host_manifest = __esm({
|
|
|
29617
29618
|
"../../apps/himi-player/player-host-manifest.ts"() {
|
|
29618
29619
|
init_define_HHP_CATALOG();
|
|
29619
29620
|
PLAYER_HOST_MANIFEST = {
|
|
29620
|
-
"version": "1.
|
|
29621
|
+
"version": "1.10.0",
|
|
29621
29622
|
"capabilities": [
|
|
29622
29623
|
"animation",
|
|
29623
29624
|
"app_info",
|
|
@@ -137491,6 +137492,16 @@ function spacingToken(ctx, [name, fallback]) {
|
|
|
137491
137492
|
const v2 = ctx.tokens?.spacing?.[name];
|
|
137492
137493
|
return typeof v2 === "number" && Number.isFinite(v2) ? Math.max(0, v2) : fallback;
|
|
137493
137494
|
}
|
|
137495
|
+
function darkSurface(hex2, fallback) {
|
|
137496
|
+
const m2 = /^#?([0-9a-f]{6})/i.exec(hex2.trim());
|
|
137497
|
+
if (!m2) return fallback;
|
|
137498
|
+
const rgb = parseInt(m2[1], 16);
|
|
137499
|
+
const ch2 = (shift) => {
|
|
137500
|
+
const c2 = (rgb >> shift & 255) / 255;
|
|
137501
|
+
return c2 <= 0.03928 ? c2 / 12.92 : ((c2 + 0.055) / 1.055) ** 2.4;
|
|
137502
|
+
};
|
|
137503
|
+
return 0.2126 * ch2(16) + 0.7152 * ch2(8) + 0.0722 * ch2(0) < 0.179;
|
|
137504
|
+
}
|
|
137494
137505
|
function otpInputEdit(previous, raw, length2) {
|
|
137495
137506
|
const next = raw.replace(/\s+/g, "").slice(0, Math.max(length2, 0));
|
|
137496
137507
|
const changed = next !== previous;
|
|
@@ -143114,8 +143125,10 @@ var init_renderNode = __esm({
|
|
|
143114
143125
|
const outlined = borderWidth > 0;
|
|
143115
143126
|
const roleAccent = destructive ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF");
|
|
143116
143127
|
const builtInFill = primary ? roleAccent : variant === "tonal" ? rgba(roleAccent, 0.12) : variant === "glass" ? rgba(C2("surfacePrimary", "#ffffff"), 0.65) : variant === "elevated" ? C2("surfacePrimary", "#ffffff") : "transparent";
|
|
143117
|
-
const
|
|
143118
|
-
const
|
|
143128
|
+
const appleSignIn = buttonStyle === "appleSignIn";
|
|
143129
|
+
const appleDark = appleSignIn && darkSurface(C2("surfacePrimary", ""), ctx.scheme !== "light");
|
|
143130
|
+
const accent = appleSignIn ? appleDark ? "#FFFFFF" : "#000000" : bt2.fill != null ? C2(bt2.fill, builtInFill) : builtInFill;
|
|
143131
|
+
const filled2 = appleSignIn || primary || variant === "tonal" || variant === "elevated" || variant === "glass" || bt2.fill != null;
|
|
143119
143132
|
const boundDisabled = useResolvedScalar(props2.disabledPath, ctx);
|
|
143120
143133
|
const workerTap = useWorkerTap(props2.action);
|
|
143121
143134
|
const boundLoading = useResolvedScalar(props2.loadingPath, ctx);
|
|
@@ -143126,9 +143139,9 @@ var init_renderNode = __esm({
|
|
|
143126
143139
|
ctx.onAction(workerTap.tapped(resolveItemDeep2(props2.action, ctx)));
|
|
143127
143140
|
} : void 0;
|
|
143128
143141
|
const builtInFg = primary ? C2("textOnAccent", "#fff") : destructive ? C2("danger", "#E62214") : accentTextColor(ctx);
|
|
143129
|
-
const fg = bt2.label != null ? C2(bt2.label, builtInFg) : builtInFg;
|
|
143142
|
+
const fg = appleSignIn ? appleDark ? "#000000" : "#FFFFFF" : bt2.label != null ? C2(bt2.label, builtInFg) : builtInFg;
|
|
143130
143143
|
const outlineColor = bt2.border != null ? C2(bt2.border, fg) : fg;
|
|
143131
|
-
const pillRadius = props2.cornerRadius != null ? props2.cornerRadius : bt2.radius ?? ctx.radius("pill", 24);
|
|
143144
|
+
const pillRadius = appleSignIn && props2.cornerRadius == null && bt2.radius == null ? 8 : props2.cornerRadius != null ? props2.cornerRadius : bt2.radius ?? ctx.radius("pill", 24);
|
|
143132
143145
|
const vPad = props2.iconOnly ? 11 : bt2.paddingV ?? (props2.size === "sm" ? 8 : props2.size === "lg" ? 16 : 13);
|
|
143133
143146
|
const hPadBase = props2.iconOnly ? 11 : props2.size === "sm" ? 13 : props2.size === "lg" ? 22 : 16;
|
|
143134
143147
|
const hPad = props2.iconOnly ? 11 : bt2.paddingH ?? Math.min(Math.max(hPadBase, pillRadius), vPad + 8);
|
|
@@ -178764,14 +178777,17 @@ function renderSignInStatus(http3) {
|
|
|
178764
178777
|
const code2 = typeof entry.code === "string" && CODE.test(entry.code) ? entry.code : reported ? void 0 : "sign_in_not_reported";
|
|
178765
178778
|
return [name, { state, ...code2 ? { code: code2 } : {} }];
|
|
178766
178779
|
}));
|
|
178780
|
+
const iosGoogleHidden = readiness(social.iosGoogleHidden);
|
|
178767
178781
|
const hints = Object.entries(checks).flatMap(([name, check]) => {
|
|
178768
178782
|
const hint = "code" in check && check.code ? SOCIAL_HINTS[check.code] : void 0;
|
|
178769
178783
|
return hint ? [`${name} ${check.code}: ${hint}`] : [];
|
|
178770
178784
|
});
|
|
178785
|
+
if (iosGoogleHidden === true) hints.unshift(IOS_GOOGLE_HIDDEN_HINT);
|
|
178771
178786
|
return {
|
|
178772
178787
|
appleReady: readiness(social.appleReady),
|
|
178773
178788
|
googleIosReady: readiness(social.googleIosReady),
|
|
178774
178789
|
googleAndroidReady: readiness(social.googleAndroidReady),
|
|
178790
|
+
iosGoogleHidden,
|
|
178775
178791
|
checks,
|
|
178776
178792
|
hints
|
|
178777
178793
|
};
|
|
@@ -179014,7 +179030,7 @@ async function offerPushSetup(options2) {
|
|
|
179014
179030
|
return { status: "needs_attention", resume: resume(contentDir2) };
|
|
179015
179031
|
}
|
|
179016
179032
|
}
|
|
179017
|
-
var text8, obj2, STATES, CHECKS, CHECK_STATES, SOCIAL_CHECKS, CODE, STAGES, ERROR_CODES, PROMPTS, later, resume, readiness, SOCIAL_HINTS;
|
|
179033
|
+
var text8, obj2, STATES, CHECKS, CHECK_STATES, SOCIAL_CHECKS, CODE, STAGES, ERROR_CODES, PROMPTS, later, resume, readiness, SOCIAL_HINTS, IOS_GOOGLE_HIDDEN_HINT;
|
|
179018
179034
|
var init_notify_setup = __esm({
|
|
179019
179035
|
"src/notify-setup.ts"() {
|
|
179020
179036
|
init_define_HHP_CATALOG();
|
|
@@ -179051,6 +179067,7 @@ var init_notify_setup = __esm({
|
|
|
179051
179067
|
SOCIAL_HINTS = {
|
|
179052
179068
|
ios_client_missing: "the app's Branded Firebase project has no iOS app, so there is no iOS Google client to bake. Ask the Branded team to add an iOS app in the Firebase project (the step wix-private/branded-apps#2399 once ran) or add one by hand in the Firebase console, then have Branded run Sync social login for the site. Until then iOS builds ship without Google sign-in; Android and Apple are unaffected."
|
|
179053
179069
|
};
|
|
179070
|
+
IOS_GOOGLE_HIDDEN_HINT = "Google is on but Apple is not, so Google is hidden on iOS: the App Store requires Sign in with Apple beside any other sign-in. Fix the Apple checks above (the Apple connection on the app's bundle ID, and Sign in with Apple on its App ID).";
|
|
179054
179071
|
}
|
|
179055
179072
|
});
|
|
179056
179073
|
|
|
@@ -179102,20 +179119,20 @@ function textOn(color) {
|
|
|
179102
179119
|
const blackContrast = (luminance2 + 0.05) / 0.05;
|
|
179103
179120
|
return whiteContrast >= blackContrast ? "#FFFFFF" : "#000000";
|
|
179104
179121
|
}
|
|
179105
|
-
function tuneDarkAccent(brand,
|
|
179122
|
+
function tuneDarkAccent(brand, darkSurface2, lightSurface) {
|
|
179106
179123
|
const kitInherentlyDark = lstar(lightSurface) < 50;
|
|
179107
|
-
if (kitInherentlyDark && contrastRatio4(brand,
|
|
179124
|
+
if (kitInherentlyDark && contrastRatio4(brand, darkSurface2) >= DARK_ARM_TARGET_CONTRAST && lstar(brand) <= DARK_ARM_LSTAR_CAP) {
|
|
179108
179125
|
return brand;
|
|
179109
179126
|
}
|
|
179110
179127
|
let lift = DARK_ARM_MIN_LIFT;
|
|
179111
179128
|
let candidate = mix2(brand, "#FFFFFF", 1 - lift);
|
|
179112
|
-
while (contrastRatio4(candidate,
|
|
179129
|
+
while (contrastRatio4(candidate, darkSurface2) < DARK_ARM_TARGET_CONTRAST && lift < 0.6) {
|
|
179113
179130
|
lift += 0.04;
|
|
179114
179131
|
candidate = mix2(brand, "#FFFFFF", 1 - lift);
|
|
179115
179132
|
}
|
|
179116
179133
|
while (lstar(candidate) > DARK_ARM_LSTAR_CAP) {
|
|
179117
179134
|
const darker = mix2(candidate, "#000000", 0.94);
|
|
179118
|
-
if (contrastRatio4(darker,
|
|
179135
|
+
if (contrastRatio4(darker, darkSurface2) < DARK_ARM_FLOOR_CONTRAST) break;
|
|
179119
179136
|
candidate = darker;
|
|
179120
179137
|
}
|
|
179121
179138
|
return candidate;
|
|
@@ -253946,52 +253963,52 @@ var init_preview_assets_generated = __esm({
|
|
|
253946
253963
|
init_define_HHP_CATALOG();
|
|
253947
253964
|
init_preview_assets_format();
|
|
253948
253965
|
PREVIEW_ASSET_MANIFEST = [
|
|
253949
|
-
{ key: "assets/DashboardHost-
|
|
253950
|
-
{ key: "assets/DevDrawer-
|
|
253951
|
-
{ key: "assets/IdiomCompare-
|
|
253952
|
-
{ key: "assets/LightboxViewer-
|
|
253953
|
-
{ key: "assets/OfflineReadingBar-
|
|
253954
|
-
{ key: "assets/PhonePreviewControl-
|
|
253955
|
-
{ key: "assets/SchemeCompare-
|
|
253956
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
253966
|
+
{ key: "assets/DashboardHost-BCUXqbsI.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "809969351d64a24fb9e2bd357a033eba20aa2c0a8a8ae765b3d348a7562c339b" },
|
|
253967
|
+
{ key: "assets/DevDrawer-vP9rQXg2.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "d9ad6e8ef813b1138d49b41a0611963c415366b52cf27d5e4ee7d75bd3801170" },
|
|
253968
|
+
{ key: "assets/IdiomCompare-humI7fIQ.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "2e5153b2a7249a74fbc811a1f00e363aff341048cd939666a3428716365f5849" },
|
|
253969
|
+
{ key: "assets/LightboxViewer-bK06jmom.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15615, sha256: "8b9ec9223ad43927df216796f40d6ce7348ef00de720adfdfef7e96d0c167e27" },
|
|
253970
|
+
{ key: "assets/OfflineReadingBar-BE2OBW8d.js", contentType: "application/javascript; charset=utf-8", offset: 37317, length: 1646, sha256: "e5a3382aa783118e30b128a43ba17698a7c2081276c5e303549d098da3eaf98d" },
|
|
253971
|
+
{ key: "assets/PhonePreviewControl-DThaKdtA.js", contentType: "application/javascript; charset=utf-8", offset: 38963, length: 37851, sha256: "01fa68a526d91cebad425b6a7f72a86b5c7ccc39e548235987b6f52c8f374c0d" },
|
|
253972
|
+
{ key: "assets/SchemeCompare-DOyzZgHq.js", contentType: "application/javascript; charset=utf-8", offset: 76814, length: 1858, sha256: "94b40e4dbc36d7e18b19b06168a29522dee357d2bd5316606ea35ce084cac1de" },
|
|
253973
|
+
{ key: "assets/WixFrogTelemetrySink-DGeWfHbs.js", contentType: "application/javascript; charset=utf-8", offset: 78672, length: 3515, sha256: "66ee8cd3a0bbdd5e58b85d05664be62aa9583fa0fe062133b35d89e2e024d64f" },
|
|
253957
253974
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 82187, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
253958
253975
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 84379, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
253959
|
-
{ key: "assets/catalogFontFaces-
|
|
253976
|
+
{ key: "assets/catalogFontFaces-BpZN5m9g.js", contentType: "application/javascript; charset=utf-8", offset: 120005, length: 1111, sha256: "c19456c6daffb905c7204a0d776783b5be37ef942b6208dfab9055aaf74d47b3" },
|
|
253960
253977
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 121116, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
253961
|
-
{ key: "assets/files-transfer-
|
|
253978
|
+
{ key: "assets/files-transfer-DeQURUid.js", contentType: "application/javascript; charset=utf-8", offset: 123683, length: 6446, sha256: "912065efee33f3a20d7b599483e15cf382768b175212b31e8e883854d823fb97" },
|
|
253962
253979
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 130129, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
253963
|
-
{ key: "assets/frogApiRules-
|
|
253980
|
+
{ key: "assets/frogApiRules-AAsNmByP.js", contentType: "application/javascript; charset=utf-8", offset: 131301, length: 2207, sha256: "614ffbbe32c8b86fef3f0a59fc0c07a902115bb9b95904d17fe4f74d3a1734f7" },
|
|
253964
253981
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 133508, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
253965
253982
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 134575, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
253966
253983
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 141153, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
253967
|
-
{ key: "assets/index-
|
|
253968
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253969
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253970
|
-
{ key: "assets/pdf-
|
|
253971
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253972
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
253973
|
-
{ key: "assets/pdfDocument-
|
|
253974
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253975
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
253976
|
-
{ key: "assets/webviewBridgeHost-
|
|
253977
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
253978
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
253979
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
253980
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
253981
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
253982
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
253983
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
253984
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
253985
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
253986
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
253987
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
253988
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
253989
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253990
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
253991
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
253992
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
253993
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
253994
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
253984
|
+
{ key: "assets/index-CRq9xY87.js", contentType: "application/javascript; charset=utf-8", offset: 143857, length: 1637475, sha256: "19918d652b49ec94b9ae8d0e5a55dee647bc6bbb568f6b9d9f08f47316df0823" },
|
|
253985
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1781332, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
253986
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1789083, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
253987
|
+
{ key: "assets/pdf-BcWLi349.js", contentType: "application/javascript; charset=utf-8", offset: 1799614, length: 488215, sha256: "990204a4cb9e61e96206131bbaeb9401543753fd5301735b5029eb6906921329" },
|
|
253988
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2287829, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
253989
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2287919, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
253990
|
+
{ key: "assets/pdfDocument-CtE-3Ark.js", contentType: "application/javascript; charset=utf-8", offset: 3604953, length: 3470, sha256: "5dc3d00ccba01e3ce27e695cdcc13cb57bde76e1f425dde949d66d21df0a4153" },
|
|
253991
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3608423, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
253992
|
+
{ key: "assets/scrollLinkedRuntime-D7ka8xfF.js", contentType: "application/javascript; charset=utf-8", offset: 3610689, length: 2278, sha256: "aa54ce63bf6ad14ff28a249d0cdb0109009ab7faf15f216c2ef897d4beb8f95c" },
|
|
253993
|
+
{ key: "assets/webviewBridgeHost-SWiUqok-.js", contentType: "application/javascript; charset=utf-8", offset: 3612967, length: 9889, sha256: "1b12d5db37df998cbdeda9b8262291ea97430ccfeccdc67ca86ce58c766cb473" },
|
|
253994
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3622856, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
253995
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3627466, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
253996
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4116050, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
253997
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4206974, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
253998
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4297958, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
253999
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4388938, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
254000
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4479810, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
254001
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4570790, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
254002
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4679426, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
254003
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4788510, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
254004
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4897558, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
254005
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5005258, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
254006
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5093366, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
254007
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5100184, length: 4924, sha256: "2ff9ee383e7a741657738109f9c3786b45d424772e1dc1862def224742468400" },
|
|
254008
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5105108, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
254009
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5116565, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
254010
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5117736, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
254011
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5142039, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
253995
254012
|
];
|
|
253996
254013
|
}
|
|
253997
254014
|
});
|
|
@@ -278040,7 +278057,7 @@ var init_spaces_host_manifest = __esm({
|
|
|
278040
278057
|
"../../apps/himi-spaces-lite/spaces-host-manifest.ts"() {
|
|
278041
278058
|
init_define_HHP_CATALOG();
|
|
278042
278059
|
SPACES_HOST_MANIFEST = {
|
|
278043
|
-
"version": "1.
|
|
278060
|
+
"version": "1.10.0",
|
|
278044
278061
|
"capabilities": [
|
|
278045
278062
|
"animation",
|
|
278046
278063
|
"app_info",
|
|
Binary file
|
|
@@ -117,6 +117,11 @@ App Store profile stored on the site grants Sign in with Apple. It is `false` wh
|
|
|
117
117
|
is missing or on another bundle. Otherwise it is `null` when there is no stored profile for the
|
|
118
118
|
bundle (`apple_capability_unreadable`), or when that profile lacks Sign in with Apple
|
|
119
119
|
(`stored_profile_lacks_apple_sign_in`), because the binary may be signed with another profile.
|
|
120
|
+
`signIn.iosGoogleHidden` is `true` when Google is set up for iOS but the Apple connection is missing: the iOS
|
|
121
|
+
app shows Google only beside Sign in with Apple, because the App Store requires it (guideline 4.8),
|
|
122
|
+
so Google is hidden on iOS while that connection is missing, and `signIn.hints` says so first. It is
|
|
123
|
+
`null` otherwise, never `false`: the site's record says nothing about the app binary, and a binary
|
|
124
|
+
built without Sign in with Apple hides Google on iOS too.
|
|
120
125
|
`signIn.hints` says who can fix what the owner cannot: for `ios_client_missing`, the Branded team
|
|
121
126
|
(or a person in the Firebase console) must add an iOS app to the app's Firebase project and sync
|
|
122
127
|
social login.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1830.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": "6116d7d0146254a204d86519691bacb34145ad4cb7d4270eda5f3ad9"
|
|
86
86
|
}
|
|
@@ -8337,6 +8337,28 @@ const SCREENS = runtimeSetting({
|
|
|
8337
8337
|
"children": [
|
|
8338
8338
|
{
|
|
8339
8339
|
"id": "himi_sign_in.social_apple",
|
|
8340
|
+
"body": {
|
|
8341
|
+
"package": "himalaya",
|
|
8342
|
+
"type": "Button",
|
|
8343
|
+
"props": {
|
|
8344
|
+
"title": "Continue with Apple",
|
|
8345
|
+
"style": "appleSignIn",
|
|
8346
|
+
"fullWidth": true,
|
|
8347
|
+
"disabledPath": "$service:himiStoreAccount.authBusy",
|
|
8348
|
+
"action": {
|
|
8349
|
+
"actionId": "tier5.himiStoreAccount.signInWithSocial",
|
|
8350
|
+
"params": {
|
|
8351
|
+
"provider": "apple"
|
|
8352
|
+
}
|
|
8353
|
+
}
|
|
8354
|
+
}
|
|
8355
|
+
},
|
|
8356
|
+
"modifiers": {
|
|
8357
|
+
"hiddenPath": "$service:himiStoreAccount.hideAppleSystemButton"
|
|
8358
|
+
}
|
|
8359
|
+
},
|
|
8360
|
+
{
|
|
8361
|
+
"id": "himi_sign_in.social_apple_legacy",
|
|
8340
8362
|
"body": {
|
|
8341
8363
|
"package": "himalaya",
|
|
8342
8364
|
"type": "Button",
|
|
@@ -8354,7 +8376,7 @@ const SCREENS = runtimeSetting({
|
|
|
8354
8376
|
}
|
|
8355
8377
|
},
|
|
8356
8378
|
"modifiers": {
|
|
8357
|
-
"hiddenPath": "$service:himiStoreAccount.
|
|
8379
|
+
"hiddenPath": "$service:himiStoreAccount.hideAppleLegacyButton"
|
|
8358
8380
|
}
|
|
8359
8381
|
},
|
|
8360
8382
|
{
|
|
@@ -8797,7 +8819,8 @@ const SCREENS = runtimeSetting({
|
|
|
8797
8819
|
"integrity": "",
|
|
8798
8820
|
"contentType": "application/javascript+ts-bundle",
|
|
8799
8821
|
"declaredCapabilities": [
|
|
8800
|
-
"wix_api"
|
|
8822
|
+
"wix_api",
|
|
8823
|
+
"app_info"
|
|
8801
8824
|
],
|
|
8802
8825
|
"minBinaryVersion": "1.7.0",
|
|
8803
8826
|
"bundleVersion": "0.0.1"
|
|
@@ -11,11 +11,12 @@ import { authFailure, authMessage, identityErrors, type AuthOperation } from "@h
|
|
|
11
11
|
// real Sites List, and per-call site scope via `site.forSite`).
|
|
12
12
|
import { defineService, navigate } from "@himalaya/state";
|
|
13
13
|
import { dispatch } from "@himalaya/dispatch";
|
|
14
|
+
import { get as getAppInfo } from "@himalaya/app-info";
|
|
14
15
|
import { getCurrentCart, searchOrders, type WixOrder } from "@himalaya/wix-ecom";
|
|
15
16
|
import { guestProfile, loadMemberProfile, signedInEmail, strOf, fmtDate, titleCase, type AccountActivityRow } from "../_shared/himi-account";
|
|
16
17
|
import { stashCopy, copyParam, copyTemplate } from "../_shared/himi-copy.js";
|
|
17
18
|
import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
|
|
18
|
-
import { memberAccountRoutes } from "../_shared/member-account-routes.js";
|
|
19
|
+
import { atLeast, memberAccountRoutes } from "../_shared/member-account-routes.js";
|
|
19
20
|
import { CONTINUATION_BUDGET_MS, memberScreenTarget, within } from "../_shared/member-screen.js";
|
|
20
21
|
import { createIapCommerce, onlineProgramOrders, pricingPlanOrders, storesProductOrders } from "@himalaya/iap-checkout";
|
|
21
22
|
import { IAP_RESTORE_KEYS, NO_IAP_RESTORE, createIapRestore, resetUnhydratedKeysOnOlderRuntime, type IapRestoreFields } from "../_shared/iap-worker.js";
|
|
@@ -413,15 +414,44 @@ const translated = (key: string) => copyParam(key, authMessage(key));
|
|
|
413
414
|
const SOCIAL_PROVIDERS = ["apple", "google"] as const;
|
|
414
415
|
type SocialProvider = typeof SOCIAL_PROVIDERS[number];
|
|
415
416
|
let socialProviders: SocialProvider[] = [];
|
|
417
|
+
/** The first runtime that draws the Button style `appleSignIn`. Below it an Apple-platform host draws an
|
|
418
|
+
* unknown style as bare text, so the screen shows its older outlined Apple button there. */
|
|
419
|
+
export const APPLE_SIGN_IN_STYLE_MIN_BINARY = "1.10.0";
|
|
420
|
+
let appleButtonLegacy = false;
|
|
421
|
+
let hostInfo: Awaited<ReturnType<typeof getAppInfo>> | undefined;
|
|
416
422
|
|
|
417
|
-
|
|
423
|
+
/** `answered`: the host listed a provider, even one this screen then hides; only a host that listed
|
|
424
|
+
* none may still be booting its auth, so only that one is polled again. */
|
|
425
|
+
type SocialProvidersRead = { ok: true; providers: SocialProvider[]; appleButtonLegacy: boolean; answered: boolean } | { ok: false };
|
|
418
426
|
|
|
419
427
|
/** The providers the host offers: site enables it, binary configured, platform supports it. */
|
|
420
428
|
async function readSocialProviders(): Promise<SocialProvidersRead> {
|
|
421
429
|
try {
|
|
422
|
-
const raw = await dispatch("himi.wix.socialProviders") as { payload?: { providers?: unknown }; providers?: unknown } | null;
|
|
430
|
+
const raw = await dispatch("himi.wix.socialProviders") as { payload?: { providers?: unknown; answered?: unknown }; providers?: unknown; answered?: unknown } | null;
|
|
423
431
|
const listed = raw?.payload?.providers ?? raw?.providers;
|
|
424
|
-
|
|
432
|
+
// iOS says the site answered even when its App Review rule left nothing to show; such a [] is final.
|
|
433
|
+
const hostAnswered = (raw?.payload?.answered ?? raw?.answered) === true;
|
|
434
|
+
const providers = Array.isArray(listed) ? SOCIAL_PROVIDERS.filter((p) => listed.includes(p)) : [];
|
|
435
|
+
const read = providers.length ? await getAppInfo().catch(() => undefined) : undefined;
|
|
436
|
+
// A host's platform and runtime do not change: once named, a later failed lookup keeps them.
|
|
437
|
+
if (read && read.platform !== "unknown") hostInfo = read;
|
|
438
|
+
const info = read && read.platform !== "unknown" ? read : hostInfo ?? read;
|
|
439
|
+
const platform = info?.platform;
|
|
440
|
+
// App Review 4.8: on iOS, Google only beside Apple. A current iOS host already answers so; an installed
|
|
441
|
+
// older one still gets this screen over the air and can answer Google alone. Fails closed: only a
|
|
442
|
+
// host that says it is Android or web (neither reviewed by Apple) keeps Google alone, since one that
|
|
443
|
+
// refuses app_info could be iOS. macOS stays covered: App Review applies to Mac apps too.
|
|
444
|
+
if (providers.includes("google") && !providers.includes("apple") && platform !== "android" && platform !== "web") {
|
|
445
|
+
// A lookup that failed outright may be transient: hide Google now, and ask again on the poll.
|
|
446
|
+
return { ok: true, providers: [], appleButtonLegacy: false, answered: info !== undefined };
|
|
447
|
+
}
|
|
448
|
+
// Apple's button only where the host is known to draw it: Android and web always do, an Apple
|
|
449
|
+
// platform from APPLE_SIGN_IN_STYLE_MIN_BINARY; a host that does not say gets the older button.
|
|
450
|
+
const drawsAppleStyle = platform === "android" || platform === "web"
|
|
451
|
+
|| ((platform === "ios" || platform === "macos") && atLeast(info?.binaryVersion ?? "", APPLE_SIGN_IN_STYLE_MIN_BINARY));
|
|
452
|
+
const legacy = !drawsAppleStyle;
|
|
453
|
+
// Listed providers whose platform lookup failed are polled again, so a current host is not left on the older button.
|
|
454
|
+
return { ok: true, providers, appleButtonLegacy: legacy, answered: providers.length > 0 ? info !== undefined : hostAnswered };
|
|
425
455
|
} catch {
|
|
426
456
|
return { ok: false };
|
|
427
457
|
}
|
|
@@ -430,7 +460,7 @@ async function readSocialProviders(): Promise<SocialProvidersRead> {
|
|
|
430
460
|
/** A failed read keeps what the last read showed: a blip must not take the buttons away. A host
|
|
431
461
|
* without the action (web, an older binary) never answers, so it never shows any. */
|
|
432
462
|
function applySocialProviders(read: SocialProvidersRead): void {
|
|
433
|
-
if (read.ok) socialProviders = read.providers;
|
|
463
|
+
if (read.ok) { socialProviders = read.providers; appleButtonLegacy = read.appleButtonLegacy; }
|
|
434
464
|
}
|
|
435
465
|
|
|
436
466
|
// Which member flows this binding can run (the host's `himi.wix.memberFlows`). A One App binding with no Headless OAuth client
|
|
@@ -475,14 +505,15 @@ function armFlowsRetry(read: MemberFlowsRead): void {
|
|
|
475
505
|
}
|
|
476
506
|
|
|
477
507
|
function armSocialRetry(read: SocialProvidersRead): void {
|
|
478
|
-
if (read.ok) socialRetriesLeft = read.
|
|
508
|
+
if (read.ok) socialRetriesLeft = read.answered ? 0 : SOCIAL_RETRIES;
|
|
479
509
|
}
|
|
480
510
|
|
|
481
511
|
async function refreshSocial(): Promise<S> {
|
|
482
512
|
if (socialRetriesLeft > 0) {
|
|
483
513
|
socialRetriesLeft -= 1;
|
|
484
|
-
|
|
485
|
-
|
|
514
|
+
const read = await readSocialProviders();
|
|
515
|
+
applySocialProviders(read);
|
|
516
|
+
if (read.ok && read.answered) socialRetriesLeft = 0;
|
|
486
517
|
}
|
|
487
518
|
if (flowsRetriesLeft > 0) {
|
|
488
519
|
flowsRetriesLeft -= 1;
|
|
@@ -709,6 +740,10 @@ interface S extends IapRestoreFields {
|
|
|
709
740
|
hideShowRegister: boolean;
|
|
710
741
|
hideShowRecovery: boolean;
|
|
711
742
|
hideAppleSignIn: boolean;
|
|
743
|
+
/** Apple's appleSignIn button: hidden without Apple, or on a runtime that cannot draw it. */
|
|
744
|
+
hideAppleSystemButton: boolean;
|
|
745
|
+
/** The older outlined Apple button, shown only on such a runtime. */
|
|
746
|
+
hideAppleLegacyButton: boolean;
|
|
712
747
|
hideGoogleSignIn: boolean;
|
|
713
748
|
/** The social block and its "or" divider: no provider to show, or resetting a password. */
|
|
714
749
|
hideSocialSignIn: boolean;
|
|
@@ -802,6 +837,8 @@ function derive(s: S): S {
|
|
|
802
837
|
hideShowRegister: isRegistering || isRecovering || !signUpAvailable,
|
|
803
838
|
hideShowRecovery: isRegistering || isRecovering || !passwordResetAvailable,
|
|
804
839
|
hideAppleSignIn: !socialProviders.includes("apple"),
|
|
840
|
+
hideAppleSystemButton: !socialProviders.includes("apple") || appleButtonLegacy,
|
|
841
|
+
hideAppleLegacyButton: !socialProviders.includes("apple") || !appleButtonLegacy,
|
|
805
842
|
hideGoogleSignIn: !socialProviders.includes("google"),
|
|
806
843
|
hideSocialSignIn: isRecovering || socialProviders.length === 0,
|
|
807
844
|
hasActivity,
|
|
@@ -973,7 +1010,7 @@ const svc = defineService<S, {
|
|
|
973
1010
|
restorePublish: (s: S) => S;
|
|
974
1011
|
iapRestore: (s: S) => Promise<undefined>;
|
|
975
1012
|
}>("himiStoreAccount", {
|
|
976
|
-
notHydrated: ["message", "hideMessage", "messageKind", "resetSent", "password", "authBusy", "hideAppleSignIn", "hideGoogleSignIn", "hideSocialSignIn", "emailError", "passwordError", "passwordFocus", "lastNameFocus", "emailFocus", ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, ...IAP_RESTORE_KEYS],
|
|
1013
|
+
notHydrated: ["message", "hideMessage", "messageKind", "resetSent", "password", "authBusy", "hideAppleSignIn", "hideAppleSystemButton", "hideAppleLegacyButton", "hideGoogleSignIn", "hideSocialSignIn", "emailError", "passwordError", "passwordFocus", "lastNameFocus", "emailFocus", ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, ...IAP_RESTORE_KEYS],
|
|
977
1014
|
state: derive({
|
|
978
1015
|
status: "loading",
|
|
979
1016
|
isMember: false,
|
|
@@ -1018,6 +1055,8 @@ const svc = defineService<S, {
|
|
|
1018
1055
|
hideShowRegister: false,
|
|
1019
1056
|
hideShowRecovery: false,
|
|
1020
1057
|
hideAppleSignIn: true,
|
|
1058
|
+
hideAppleSystemButton: true,
|
|
1059
|
+
hideAppleLegacyButton: true,
|
|
1021
1060
|
hideGoogleSignIn: true,
|
|
1022
1061
|
hideSocialSignIn: true,
|
|
1023
1062
|
activityTitle: "Previous orders",
|
|
@@ -1159,7 +1198,7 @@ const svc = defineService<S, {
|
|
|
1159
1198
|
},
|
|
1160
1199
|
});
|
|
1161
1200
|
|
|
1162
|
-
resetUnhydratedKeysOnOlderRuntime(svc, derive({ ...svc.getState(), ...NO_IAP_RESTORE, ...NO_VISIT, ...NO_FOCUS_ALL, message: "", resetSent: false, passwordFocus: "", isRegistering: ROUTE_ASKS_REGISTER }), ["message", "hideMessage", "messageKind", "resetSent", "hideAppleSignIn", "hideGoogleSignIn", "hideSocialSignIn", ...IAP_RESTORE_KEYS, ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, "lastNameFocus", "emailFocus", "passwordFocus"]);
|
|
1201
|
+
resetUnhydratedKeysOnOlderRuntime(svc, derive({ ...svc.getState(), ...NO_IAP_RESTORE, ...NO_VISIT, ...NO_FOCUS_ALL, message: "", resetSent: false, passwordFocus: "", isRegistering: ROUTE_ASKS_REGISTER }), ["message", "hideMessage", "messageKind", "resetSent", "hideAppleSignIn", "hideAppleSystemButton", "hideAppleLegacyButton", "hideGoogleSignIn", "hideSocialSignIn", ...IAP_RESTORE_KEYS, ...VISIT_KEYS, ...VISIT_DERIVED_KEYS, "lastNameFocus", "emailFocus", "passwordFocus"]);
|
|
1163
1202
|
// `boot` tells settle this is not a visit: the host drops this call's navigation, and the
|
|
1164
1203
|
// appear refresh does the visit's moves.
|
|
1165
1204
|
svc.load({ boot: "1" });
|
|
@@ -9836,6 +9836,28 @@ const SCREENS = runtimeSetting({
|
|
|
9836
9836
|
"children": [
|
|
9837
9837
|
{
|
|
9838
9838
|
"id": "himi_sign_in.social_apple",
|
|
9839
|
+
"body": {
|
|
9840
|
+
"package": "himalaya",
|
|
9841
|
+
"type": "Button",
|
|
9842
|
+
"props": {
|
|
9843
|
+
"title": "Continue with Apple",
|
|
9844
|
+
"style": "appleSignIn",
|
|
9845
|
+
"fullWidth": true,
|
|
9846
|
+
"disabledPath": "$service:himiStoreAccount.authBusy",
|
|
9847
|
+
"action": {
|
|
9848
|
+
"actionId": "tier5.himiStoreAccount.signInWithSocial",
|
|
9849
|
+
"params": {
|
|
9850
|
+
"provider": "apple"
|
|
9851
|
+
}
|
|
9852
|
+
}
|
|
9853
|
+
}
|
|
9854
|
+
},
|
|
9855
|
+
"modifiers": {
|
|
9856
|
+
"hiddenPath": "$service:himiStoreAccount.hideAppleSystemButton"
|
|
9857
|
+
}
|
|
9858
|
+
},
|
|
9859
|
+
{
|
|
9860
|
+
"id": "himi_sign_in.social_apple_legacy",
|
|
9839
9861
|
"body": {
|
|
9840
9862
|
"package": "himalaya",
|
|
9841
9863
|
"type": "Button",
|
|
@@ -9853,7 +9875,7 @@ const SCREENS = runtimeSetting({
|
|
|
9853
9875
|
}
|
|
9854
9876
|
},
|
|
9855
9877
|
"modifiers": {
|
|
9856
|
-
"hiddenPath": "$service:himiStoreAccount.
|
|
9878
|
+
"hiddenPath": "$service:himiStoreAccount.hideAppleLegacyButton"
|
|
9857
9879
|
}
|
|
9858
9880
|
},
|
|
9859
9881
|
{
|
|
@@ -10295,7 +10317,8 @@ const SCREENS = runtimeSetting({
|
|
|
10295
10317
|
"integrity": "",
|
|
10296
10318
|
"contentType": "application/javascript+ts-bundle",
|
|
10297
10319
|
"declaredCapabilities": [
|
|
10298
|
-
"wix_api"
|
|
10320
|
+
"wix_api",
|
|
10321
|
+
"app_info"
|
|
10299
10322
|
],
|
|
10300
10323
|
"minBinaryVersion": "1.7.0",
|
|
10301
10324
|
"bundleVersion": "0.0.1"
|