@wix/himalaya-cli 0.1918.0 → 0.1920.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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +6 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{f49f080474576cc282d00b55aa2661b18ec25fd0def3772c29bb773887a0fda2.bin → d9e187d7c90304afc1cc68bdb1391f0827037645d3f6f22f7fcfd63b01daee18.bin} +1 -1
- package/dist/browser-plane/sw.js +10 -10
- package/dist/cli.mjs +131 -49
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/sdk-reference.json +1 -1
- package/guides/splash-screens.md +11 -3
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -3963,6 +3963,7 @@ var init_himi_package = __esm({
|
|
|
3963
3963
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
3964
3964
|
var init_icon_catalog_generated = __esm({
|
|
3965
3965
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
3966
|
+
"use strict";
|
|
3966
3967
|
init_define_HHP_CATALOG();
|
|
3967
3968
|
ICON_VIEW_BOX = 24;
|
|
3968
3969
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -23810,6 +23811,7 @@ __export(validate_descriptor_core_exports, {
|
|
|
23810
23811
|
DEVICE_STRIPPED_HOST_GLOBALS: () => DEVICE_STRIPPED_HOST_GLOBALS,
|
|
23811
23812
|
DEVICE_WITHHELD: () => DEVICE_WITHHELD,
|
|
23812
23813
|
EMBEDDED_BINDING: () => EMBEDDED_BINDING,
|
|
23814
|
+
INPUT_READS_MAX_KEYS: () => INPUT_READS_MAX_KEYS,
|
|
23813
23815
|
INTEGER_MODIFIERS: () => INTEGER_MODIFIERS,
|
|
23814
23816
|
INTEGER_PROPS: () => INTEGER_PROPS,
|
|
23815
23817
|
KNOWN_PROPS: () => KNOWN_PROPS,
|
|
@@ -23862,9 +23864,11 @@ __export(validate_descriptor_core_exports, {
|
|
|
23862
23864
|
pinnedIntrinsicsSource: () => pinnedIntrinsicsSource,
|
|
23863
23865
|
rawJsonDepthFinding: () => rawJsonDepthFinding,
|
|
23864
23866
|
realmInstallsIntl: () => realmInstallsIntl,
|
|
23867
|
+
recordInputKey: () => recordInputKey,
|
|
23865
23868
|
resolveActionEvaluator: () => resolveActionEvaluator,
|
|
23866
23869
|
resolveBootEvaluator: () => resolveBootEvaluator,
|
|
23867
23870
|
resolveEvaluator: () => resolveEvaluator,
|
|
23871
|
+
sandboxInputReads: () => sandboxInputReads,
|
|
23868
23872
|
screenDepthFindings: () => screenDepthFindings,
|
|
23869
23873
|
scrollBindingFindings: () => scrollBindingFindings,
|
|
23870
23874
|
serviceOnlyBindingValues: () => serviceOnlyBindingValues,
|
|
@@ -23959,6 +23963,37 @@ function webCrypto() {
|
|
|
23959
23963
|
...HOST_CRYPTO.subtle ? { subtle: subtleFacade(HOST_CRYPTO.subtle) } : {}
|
|
23960
23964
|
});
|
|
23961
23965
|
}
|
|
23966
|
+
function sandboxInputReads(sandbox) {
|
|
23967
|
+
return INPUT_READS.get(sandbox);
|
|
23968
|
+
}
|
|
23969
|
+
function recordingInput(input, keys2) {
|
|
23970
|
+
const note = (k3) => {
|
|
23971
|
+
if (typeof k3 === "string") recordInputKey(keys2, k3);
|
|
23972
|
+
};
|
|
23973
|
+
return new Proxy(input, {
|
|
23974
|
+
get: (t2, k3) => {
|
|
23975
|
+
note(k3);
|
|
23976
|
+
return Reflect.get(t2, k3);
|
|
23977
|
+
},
|
|
23978
|
+
has: (t2, k3) => {
|
|
23979
|
+
note(k3);
|
|
23980
|
+
return Reflect.has(t2, k3);
|
|
23981
|
+
},
|
|
23982
|
+
getOwnPropertyDescriptor: (t2, k3) => {
|
|
23983
|
+
note(k3);
|
|
23984
|
+
return Reflect.getOwnPropertyDescriptor(t2, k3);
|
|
23985
|
+
},
|
|
23986
|
+
ownKeys: (t2) => {
|
|
23987
|
+
keys2.add("*");
|
|
23988
|
+
return Reflect.ownKeys(t2);
|
|
23989
|
+
}
|
|
23990
|
+
});
|
|
23991
|
+
}
|
|
23992
|
+
function recordInputKey(keys2, key4) {
|
|
23993
|
+
if (keys2.has("*") || keys2.has(key4)) return;
|
|
23994
|
+
if (keys2.size >= INPUT_READS_MAX_KEYS) keys2.add("*");
|
|
23995
|
+
else keys2.add(key4);
|
|
23996
|
+
}
|
|
23962
23997
|
function runBundleSandbox(bundleJs, opts) {
|
|
23963
23998
|
const services2 = {};
|
|
23964
23999
|
const actions = {};
|
|
@@ -23983,7 +24018,7 @@ function runBundleSandbox(bundleJs, opts) {
|
|
|
23983
24018
|
// screen). Seeding the actual baked object makes the dry-run faithful — it exercises
|
|
23984
24019
|
// what ships — instead of falling through to the capability proxy. Always an object,
|
|
23985
24020
|
// mirroring the host: a worker reading an absent key gets `undefined`, like on device.
|
|
23986
|
-
input: opts.input ?? {},
|
|
24021
|
+
input: opts.inputReads ? recordingInput(opts.input ?? {}, opts.inputReads.keys) : opts.input ?? {},
|
|
23987
24022
|
defineService: (name, def2) => {
|
|
23988
24023
|
const serviceName2 = String(name);
|
|
23989
24024
|
const defState = def2?.state;
|
|
@@ -24064,7 +24099,10 @@ function runBundleSandbox(bundleJs, opts) {
|
|
|
24064
24099
|
const l10n = opts.l10n;
|
|
24065
24100
|
if (l10n) sandbox.__himalaya_l10n = createL10nLookup(() => l10n.data, () => l10n.granted);
|
|
24066
24101
|
try {
|
|
24067
|
-
resolveBootEvaluator(opts.evaluator)
|
|
24102
|
+
const bootRealm = resolveBootEvaluator(opts.evaluator);
|
|
24103
|
+
const reads3 = opts.inputReads ? { raw: opts.input ?? {}, keys: opts.inputReads.keys, consumed: false } : void 0;
|
|
24104
|
+
if (reads3) INPUT_READS.set(sandbox, reads3);
|
|
24105
|
+
bootRealm.run(bundleJs, sandbox, {
|
|
24068
24106
|
timeoutMs: opts.timeoutMs ?? BOOT_EVAL_TIMEOUT_MS,
|
|
24069
24107
|
filename: "himi-bundle.js",
|
|
24070
24108
|
captureConsole: Boolean(opts.captureConsole),
|
|
@@ -24074,6 +24112,7 @@ function runBundleSandbox(bundleJs, opts) {
|
|
|
24074
24112
|
...opts.seed === void 0 ? {} : { seed: opts.seed },
|
|
24075
24113
|
...opts.mirrorRandom ? { mirrorRandom: true } : {}
|
|
24076
24114
|
});
|
|
24115
|
+
if (opts.inputReads && reads3) opts.inputReads.observed = bootRealm.evaluatesSandboxDirectly === true || reads3.consumed;
|
|
24077
24116
|
return { services: services2, actions, exports: exports2, console: consoleLines, threw: null };
|
|
24078
24117
|
} catch (err) {
|
|
24079
24118
|
if (opts.rethrow) throw err;
|
|
@@ -27276,7 +27315,7 @@ function validateAppWebViewInstances(screens, opts) {
|
|
|
27276
27315
|
];
|
|
27277
27316
|
return webViewEmbeddedIssues(findings).map((issue3, i2) => ({ ...issue3, screenId: findings[i2].screenId }));
|
|
27278
27317
|
}
|
|
27279
|
-
var CRAWL_BLOCKING_PASSES, BOOT_EVAL_TIMEOUT_MS, BUNDLE_FILENAME, HOST_CRYPTO, hostGetRandomValues, hostRandomUUID, hostAtob, hostBtoa, SUBTLE_METHODS, DRIFT_PROBES, DEVICE_NETWORK_WITHHELD, DEVICE_STRIPPED_HOST_GLOBALS, DEVICE_WITHHELD, DEVICE_PARITY_CANDIDATES, DEVICE_PARITY_WITHHELD, defaultEvaluator, bootEvaluator, actionEvaluator, NATIVE_PROP_ENUMS, ROW_FIELD_BINDING, TEXT_FIELD_CONTENT_TYPES, KNOWN_PROPS, IN_ARRAY_BINDING_PROPS, SERVICE_SIGIL, INTEGER_PROPS, NESTED_COMPONENT_SLOTS, NESTED_SLOT_DECODE_KILL, NATIVE_REQUIRED_PROPS, bareNestedClass, NATIVE_NESTED_CLASSES, NATIVE_MODIFIERS_CLASS, NATIVE_NESTED_SCALARS, NATIVE_DESCRIPTOR_CLASS, NATIVE_DESCRIPTOR_NESTED, NATIVE_NESTED_PROPS, LENIENT_TOP_BAR_BLOCKS, MODIFIER_KEYS, INTEGER_MODIFIERS, MODIFIER_KINDS, SCHEMA_SCORED_NODES, CORE_PACKAGES, LEGACY_UNSCORED_KEYS, DYNAMIC_PLACEHOLDER, LITERAL_ONLY_PROPS, SERVICE_ONLY_BINDING_PROPS, WHOLE_VALUE_BINDING, EMBEDDED_BINDING, OPTIONS_BINDING_PROPS, EDITOR_SERVICE_NAME, SHEET_PLACEMENTS, UNSAFE_TO_RECURSE_DEPTH, TOP_BAR_TRAILING_LIMIT, TOP_BAR_NON_TRAILING, TOP_BAR_TITLE_ALIGN_VALUES, TOP_BAR_TITLE_DISPLAY_VALUES, TOP_BAR_COVER_TONE_VALUES, TOP_BAR_SCROLL_STYLES, TOP_BAR_SEARCH_BINDINGS, TOP_BAR_SEARCH_GATE, PRESS_PROPS, PRESS_OWNING_SLOTS, TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS, ORIENTATION_NAMES, DEFAULT_ENVELOPE, BUTTON_STYLES, PROP_VALUE_ENUMS, PROP_VALUE_DEFAULTS, EMPTY_STATE_ACTION_STYLES, EMPTY_STATE_ACTION_SIZES;
|
|
27318
|
+
var CRAWL_BLOCKING_PASSES, BOOT_EVAL_TIMEOUT_MS, BUNDLE_FILENAME, HOST_CRYPTO, hostGetRandomValues, hostRandomUUID, hostAtob, hostBtoa, SUBTLE_METHODS, INPUT_READS, INPUT_READS_MAX_KEYS, DRIFT_PROBES, DEVICE_NETWORK_WITHHELD, DEVICE_STRIPPED_HOST_GLOBALS, DEVICE_WITHHELD, DEVICE_PARITY_CANDIDATES, DEVICE_PARITY_WITHHELD, defaultEvaluator, bootEvaluator, actionEvaluator, NATIVE_PROP_ENUMS, ROW_FIELD_BINDING, TEXT_FIELD_CONTENT_TYPES, KNOWN_PROPS, IN_ARRAY_BINDING_PROPS, SERVICE_SIGIL, INTEGER_PROPS, NESTED_COMPONENT_SLOTS, NESTED_SLOT_DECODE_KILL, NATIVE_REQUIRED_PROPS, bareNestedClass, NATIVE_NESTED_CLASSES, NATIVE_MODIFIERS_CLASS, NATIVE_NESTED_SCALARS, NATIVE_DESCRIPTOR_CLASS, NATIVE_DESCRIPTOR_NESTED, NATIVE_NESTED_PROPS, LENIENT_TOP_BAR_BLOCKS, MODIFIER_KEYS, INTEGER_MODIFIERS, MODIFIER_KINDS, SCHEMA_SCORED_NODES, CORE_PACKAGES, LEGACY_UNSCORED_KEYS, DYNAMIC_PLACEHOLDER, LITERAL_ONLY_PROPS, SERVICE_ONLY_BINDING_PROPS, WHOLE_VALUE_BINDING, EMBEDDED_BINDING, OPTIONS_BINDING_PROPS, EDITOR_SERVICE_NAME, SHEET_PLACEMENTS, UNSAFE_TO_RECURSE_DEPTH, TOP_BAR_TRAILING_LIMIT, TOP_BAR_NON_TRAILING, TOP_BAR_TITLE_ALIGN_VALUES, TOP_BAR_TITLE_DISPLAY_VALUES, TOP_BAR_COVER_TONE_VALUES, TOP_BAR_SCROLL_STYLES, TOP_BAR_SEARCH_BINDINGS, TOP_BAR_SEARCH_GATE, PRESS_PROPS, PRESS_OWNING_SLOTS, TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS, ORIENTATION_NAMES, DEFAULT_ENVELOPE, BUTTON_STYLES, PROP_VALUE_ENUMS, PROP_VALUE_DEFAULTS, EMPTY_STATE_ACTION_STYLES, EMPTY_STATE_ACTION_SIZES;
|
|
27280
27319
|
var init_validate_descriptor_core = __esm({
|
|
27281
27320
|
"../../core/dev-server/src/validate-descriptor.core.ts"() {
|
|
27282
27321
|
init_define_HHP_CATALOG();
|
|
@@ -27348,6 +27387,8 @@ var init_validate_descriptor_core = __esm({
|
|
|
27348
27387
|
"wrapKey",
|
|
27349
27388
|
"unwrapKey"
|
|
27350
27389
|
];
|
|
27390
|
+
INPUT_READS = /* @__PURE__ */ new WeakMap();
|
|
27391
|
+
INPUT_READS_MAX_KEYS = 64;
|
|
27351
27392
|
DRIFT_PROBES = [
|
|
27352
27393
|
{ clock: Date.UTC(2020, 0, 1, 12, 0, 0, 0), seed: 1 },
|
|
27353
27394
|
// a Wednesday, the 1st/2nd, everywhere in -11h…+14h
|
|
@@ -28885,7 +28926,19 @@ ${opts.sharedStorage ? ` storage: {
|
|
|
28885
28926
|
// a bundle reading \`himalaya.input.admin\` would see \`true\` \u2014 where \`node:vm\` and the device
|
|
28886
28927
|
// (which both reach this object through \`JSON.parse\`) keep \`__proto__\` as an own data property
|
|
28887
28928
|
// and report \`undefined\`. Author-time input is untrusted, so it must not become syntax.
|
|
28888
|
-
input:
|
|
28929
|
+
input: ${opts.recordInput ? `(function (o) {
|
|
28930
|
+
var rec = globalThis.__himi_input_read;
|
|
28931
|
+
try { delete globalThis.__himi_input_read; } catch (e) {}
|
|
28932
|
+
if (typeof rec !== "function") return o;
|
|
28933
|
+
// Captured now: the device-parity sweep may remove these globals before the bundle runs.
|
|
28934
|
+
var gopd = Object.getOwnPropertyDescriptor, ownKeysOf = Reflect.ownKeys;
|
|
28935
|
+
return new Proxy(o, {
|
|
28936
|
+
get: function (t, k) { if (typeof k === "string") rec(k); return t[k]; },
|
|
28937
|
+
has: function (t, k) { if (typeof k === "string") rec(k); return k in t; },
|
|
28938
|
+
getOwnPropertyDescriptor: function (t, k) { if (typeof k === "string") rec(k); return gopd(t, k); },
|
|
28939
|
+
ownKeys: function (t) { rec("*"); return ownKeysOf(t); },
|
|
28940
|
+
});
|
|
28941
|
+
})(JSON.parse(${JSON.stringify(inputJson(opts.input))}))` : `JSON.parse(${JSON.stringify(inputJson(opts.input))})`},${opts.capabilities ? `
|
|
28889
28942
|
capabilities: JSON.parse(${JSON.stringify(JSON.stringify(opts.capabilities.filter((c2) => typeof c2 === "string")))}),` : ""}
|
|
28890
28943
|
defineService: function (name, def) {
|
|
28891
28944
|
var serviceName = String(name);
|
|
@@ -29246,11 +29299,25 @@ async function createQuickJsEvaluator(options2 = {}) {
|
|
|
29246
29299
|
});
|
|
29247
29300
|
ctx.setProp(ctx.global, "__himalaya_native_random", random);
|
|
29248
29301
|
random.dispose();
|
|
29302
|
+
const inputReads = sandboxInputReads(sandbox);
|
|
29303
|
+
if (inputReads) {
|
|
29304
|
+
inputReads.consumed = true;
|
|
29305
|
+
const read2 = ctx.newFunction("__himi_input_read", (keyHandle) => {
|
|
29306
|
+
const key4 = ctx.getString(keyHandle);
|
|
29307
|
+
if (key4 === "*") inputReads.keys.add("*");
|
|
29308
|
+
else recordInputKey(inputReads.keys, key4);
|
|
29309
|
+
});
|
|
29310
|
+
ctx.setProp(ctx.global, "__himi_input_read", read2);
|
|
29311
|
+
read2.dispose();
|
|
29312
|
+
}
|
|
29249
29313
|
const pre = ctx.evalCode(
|
|
29250
29314
|
// A per-run clock/seed (#3049's drift probe) wins over the realm-wide pinned clock. Built
|
|
29251
29315
|
// in the guest from the guest's own intrinsics, like every realm's (`pinnedIntrinsicsSource`).
|
|
29252
29316
|
preludeFor({
|
|
29253
|
-
input:
|
|
29317
|
+
// The raw input when the bake records reads: the sandbox's own `input` is a host recorder, and copying it
|
|
29318
|
+
// (an enumeration) would mark every key read.
|
|
29319
|
+
input: inputReads ? inputReads.raw : himalaya?.input ?? {},
|
|
29320
|
+
...inputReads ? { recordInput: true } : {},
|
|
29254
29321
|
online: connectivityOnline(himalaya),
|
|
29255
29322
|
// `in`, never a read: an absent key on the sandbox proxy answers the inert stub.
|
|
29256
29323
|
...himalaya && "capabilities" in himalaya && Array.isArray(himalaya.capabilities) ? { capabilities: himalaya.capabilities } : {},
|
|
@@ -31836,6 +31903,7 @@ __export(validate_descriptor_exports, {
|
|
|
31836
31903
|
DEVICE_STRIPPED_HOST_GLOBALS: () => DEVICE_STRIPPED_HOST_GLOBALS,
|
|
31837
31904
|
DEVICE_WITHHELD: () => DEVICE_WITHHELD,
|
|
31838
31905
|
EMBEDDED_BINDING: () => EMBEDDED_BINDING,
|
|
31906
|
+
INPUT_READS_MAX_KEYS: () => INPUT_READS_MAX_KEYS,
|
|
31839
31907
|
INTEGER_MODIFIERS: () => INTEGER_MODIFIERS,
|
|
31840
31908
|
INTEGER_PROPS: () => INTEGER_PROPS,
|
|
31841
31909
|
KNOWN_PROPS: () => KNOWN_PROPS,
|
|
@@ -31898,10 +31966,12 @@ __export(validate_descriptor_exports, {
|
|
|
31898
31966
|
readBuiltBundle: () => readBuiltBundle,
|
|
31899
31967
|
readBuiltBundleMap: () => readBuiltBundleMap,
|
|
31900
31968
|
realmInstallsIntl: () => realmInstallsIntl,
|
|
31969
|
+
recordInputKey: () => recordInputKey,
|
|
31901
31970
|
registeredActions: () => registeredActions,
|
|
31902
31971
|
resolveActionEvaluator: () => resolveActionEvaluator,
|
|
31903
31972
|
resolveBootEvaluator: () => resolveBootEvaluator,
|
|
31904
31973
|
resolveEvaluator: () => resolveEvaluator,
|
|
31974
|
+
sandboxInputReads: () => sandboxInputReads,
|
|
31905
31975
|
screenDepthFindings: () => screenDepthFindings,
|
|
31906
31976
|
scrollBindingFindings: () => scrollBindingFindings,
|
|
31907
31977
|
serviceOnlyBindingValues: () => serviceOnlyBindingValues,
|
|
@@ -32067,6 +32137,7 @@ var init_validate_descriptor = __esm({
|
|
|
32067
32137
|
setDeclaredNavigationAnalyzer((source2) => literalTargets(source2, navigationCompiler("typescript")));
|
|
32068
32138
|
setFixedNavigationAnalyzer((source2) => fixedNavigations(source2, navigationCompiler("typescript")));
|
|
32069
32139
|
nodeVmEvaluator = {
|
|
32140
|
+
evaluatesSandboxDirectly: true,
|
|
32070
32141
|
run(code3, sandbox, opts) {
|
|
32071
32142
|
const context = createContext(sandbox);
|
|
32072
32143
|
if (opts.deviceParity) {
|
|
@@ -153515,6 +153586,7 @@ var init_widgets = __esm({
|
|
|
153515
153586
|
var boot_state_exports = {};
|
|
153516
153587
|
__export(boot_state_exports, {
|
|
153517
153588
|
BOOT_STATE_CACHE_MAX: () => BOOT_STATE_CACHE_MAX,
|
|
153589
|
+
BOOT_STATE_INPUT_KEYS: () => BOOT_STATE_INPUT_KEYS,
|
|
153518
153590
|
BOOT_STATE_MAX_BYTES: () => BOOT_STATE_MAX_BYTES,
|
|
153519
153591
|
BOOT_STATE_STORAGE_KEYS: () => BOOT_STATE_STORAGE_KEYS,
|
|
153520
153592
|
attachBootState: () => attachBootState,
|
|
@@ -153537,10 +153609,12 @@ function bakeBootState(bundleJs, input, opts = {}) {
|
|
|
153537
153609
|
const read2 = /* @__PURE__ */ new Set();
|
|
153538
153610
|
const storage = { getItem: (key4) => (read2.add(String(key4)), null), setItem: () => {
|
|
153539
153611
|
} };
|
|
153612
|
+
const inputReads = { keys: /* @__PURE__ */ new Set(), observed: false };
|
|
153613
|
+
const probedReads = { keys: /* @__PURE__ */ new Set(), observed: false };
|
|
153540
153614
|
try {
|
|
153541
153615
|
const granted = opts.l10n === true;
|
|
153542
|
-
services2 = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT }, storage, l10n: bootL10n(granted, false) });
|
|
153543
|
-
probed = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT, ...NAV_INPUT_PROBE }, storage, l10n: bootL10n(granted, true) });
|
|
153616
|
+
services2 = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT }, storage, l10n: bootL10n(granted, false), inputReads });
|
|
153617
|
+
probed = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT, ...NAV_INPUT_PROBE }, storage, l10n: bootL10n(granted, true), inputReads: probedReads });
|
|
153544
153618
|
drifting = nondeterministicServicesOrNull(bundleJs, { input: { ...input, ...UNHOSTED_INPUT }, storage, l10n: bootL10n(granted, false) });
|
|
153545
153619
|
} catch {
|
|
153546
153620
|
return null;
|
|
@@ -153550,7 +153624,7 @@ function bakeBootState(bundleJs, input, opts = {}) {
|
|
|
153550
153624
|
const omitted = [];
|
|
153551
153625
|
for (const [name, state] of Object.entries(services2)) {
|
|
153552
153626
|
const probe2 = probed[name];
|
|
153553
|
-
if (name === BOOT_STATE_STORAGE_KEYS || drifting.includes(name) || !isRecord5(state) || !isRecord5(probe2)) {
|
|
153627
|
+
if (name === BOOT_STATE_STORAGE_KEYS || name === BOOT_STATE_INPUT_KEYS || drifting.includes(name) || !isRecord5(state) || !isRecord5(probe2)) {
|
|
153554
153628
|
omitted.push(name);
|
|
153555
153629
|
continue;
|
|
153556
153630
|
}
|
|
@@ -153567,6 +153641,13 @@ function bakeBootState(bundleJs, input, opts = {}) {
|
|
|
153567
153641
|
return { state: null, omitted, services: defined3 };
|
|
153568
153642
|
}
|
|
153569
153643
|
if (new TextEncoder().encode(json9).length > BOOT_STATE_MAX_BYTES) return { state: null, omitted, services: defined3 };
|
|
153644
|
+
if (inputReads.observed && probedReads.observed) {
|
|
153645
|
+
const keys2 = /* @__PURE__ */ new Set([...inputReads.keys, ...probedReads.keys]);
|
|
153646
|
+
kept[BOOT_STATE_INPUT_KEYS] = keys2.has("*") || keys2.size > INPUT_READS_MAX_KEYS ? ["*"] : [...keys2].sort();
|
|
153647
|
+
const withList = JSON.stringify(kept);
|
|
153648
|
+
if (new TextEncoder().encode(withList).length <= BOOT_STATE_MAX_BYTES) json9 = withList;
|
|
153649
|
+
else delete kept[BOOT_STATE_INPUT_KEYS];
|
|
153650
|
+
}
|
|
153570
153651
|
return { state: JSON.parse(json9), omitted, services: defined3 };
|
|
153571
153652
|
}
|
|
153572
153653
|
function computeBootState(bundleJs, input, opts = {}) {
|
|
@@ -153653,7 +153734,7 @@ ${input ? JSON.stringify(input) : ""}`;
|
|
|
153653
153734
|
if (!bake.state || bindsOmittedPath(descriptor, bake.omitted, bake.state) || gatesUnbakedPath(descriptor, bake.state, bake.services)) return;
|
|
153654
153735
|
descriptor.logicBundle = { ...lb, bootState: bake.state };
|
|
153655
153736
|
}
|
|
153656
|
-
var BOOT_STATE_MAX_BYTES, cache2, BOOT_STATE_CACHE_MAX, PROBE, NAV_INPUT_PROBE, UNHOSTED_INPUT, BOOT_STATE_STORAGE_KEYS;
|
|
153737
|
+
var BOOT_STATE_MAX_BYTES, cache2, BOOT_STATE_CACHE_MAX, PROBE, NAV_INPUT_PROBE, UNHOSTED_INPUT, BOOT_STATE_STORAGE_KEYS, BOOT_STATE_INPUT_KEYS;
|
|
153657
153738
|
var init_boot_state = __esm({
|
|
153658
153739
|
"../../core/dev-server/src/boot-state.ts"() {
|
|
153659
153740
|
init_define_HHP_CATALOG();
|
|
@@ -153672,6 +153753,7 @@ var init_boot_state = __esm({
|
|
|
153672
153753
|
};
|
|
153673
153754
|
UNHOSTED_INPUT = { __himiHostSite: "" };
|
|
153674
153755
|
BOOT_STATE_STORAGE_KEYS = "__himiStorageKeys";
|
|
153756
|
+
BOOT_STATE_INPUT_KEYS = "__himiInputKeys";
|
|
153675
153757
|
}
|
|
153676
153758
|
});
|
|
153677
153759
|
|
|
@@ -273753,54 +273835,54 @@ var init_preview_assets_generated = __esm({
|
|
|
273753
273835
|
init_define_HHP_CATALOG();
|
|
273754
273836
|
init_preview_assets_format();
|
|
273755
273837
|
PREVIEW_ASSET_MANIFEST = [
|
|
273756
|
-
{ key: "assets/DashboardHost-
|
|
273757
|
-
{ key: "assets/DevDrawer-
|
|
273758
|
-
{ key: "assets/IdiomCompare-
|
|
273759
|
-
{ key: "assets/LightboxViewer-
|
|
273760
|
-
{ key: "assets/OfflineReadingBar-
|
|
273761
|
-
{ key: "assets/PhonePreviewControl-
|
|
273762
|
-
{ key: "assets/SchemeCompare-
|
|
273763
|
-
{ key: "assets/TopBarSearchStates-
|
|
273764
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
273838
|
+
{ key: "assets/DashboardHost-DRzuRzFV.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "a7b5747485b4a5c0ce27958672e30daab39b4804b6801e6893b42e3ac8eb1205" },
|
|
273839
|
+
{ key: "assets/DevDrawer-Ddo_w5cV.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "604870d9a718be2f12f54b7118d0755b4e71ef32a2beb08e379d95190aeaf5dc" },
|
|
273840
|
+
{ key: "assets/IdiomCompare-BowYYNeA.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "b73dbaffb68a1d2eee6323b18f8322722da6972de2d85684403be14da34faf17" },
|
|
273841
|
+
{ key: "assets/LightboxViewer-CNyEF9vT.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15965, sha256: "6e96d36e864b0fc662dcfec06001d06f84f2eec4a89871ab2d3a26a0aa9c8280" },
|
|
273842
|
+
{ key: "assets/OfflineReadingBar-CWFrYWmi.js", contentType: "application/javascript; charset=utf-8", offset: 37667, length: 1761, sha256: "119f38f1657967d7e91f0591f82912e73bc5d121151d39e142de21b7c2246ee8" },
|
|
273843
|
+
{ key: "assets/PhonePreviewControl-jPbzphJW.js", contentType: "application/javascript; charset=utf-8", offset: 39428, length: 37851, sha256: "51c29c72fec6d55bbe65a66c3c619336f70f6459e5466d86c37b6e7bb7cb8d98" },
|
|
273844
|
+
{ key: "assets/SchemeCompare-CnuL3Sp4.js", contentType: "application/javascript; charset=utf-8", offset: 77279, length: 1858, sha256: "e2b10897973552551baf64ee77a41b2f46ba734bd42d3ae435c6903dbdc01264" },
|
|
273845
|
+
{ key: "assets/TopBarSearchStates-5anV9m_T.js", contentType: "application/javascript; charset=utf-8", offset: 79137, length: 4068, sha256: "9bf95313823cbf3c12043b62e16c3504ce39448f6514d73aa962ef125099cc84" },
|
|
273846
|
+
{ key: "assets/WixFrogTelemetrySink-BdUzNsrK.js", contentType: "application/javascript; charset=utf-8", offset: 83205, length: 3515, sha256: "4a62b04bf8faf44558415ec8f7bbd0e546373a42f5d2aceb16c0ac38b1ece1fe" },
|
|
273765
273847
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86720, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
273766
273848
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88912, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
273767
|
-
{ key: "assets/catalogFontFaces-
|
|
273849
|
+
{ key: "assets/catalogFontFaces-LdNRIXip.js", contentType: "application/javascript; charset=utf-8", offset: 124538, length: 1111, sha256: "0cb93c57cf0bc43836644093723f808904f4d4a984b67200df550630da1e0d45" },
|
|
273768
273850
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125649, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
273769
|
-
{ key: "assets/files-transfer-
|
|
273851
|
+
{ key: "assets/files-transfer-C7mGMZ_W.js", contentType: "application/javascript; charset=utf-8", offset: 128216, length: 6446, sha256: "c95f58576e3020a9779783485b5456fd203b3c75de9d922096f55f1816b9db3a" },
|
|
273770
273852
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 134662, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
273771
|
-
{ key: "assets/frogApiRules-
|
|
273853
|
+
{ key: "assets/frogApiRules-CTC2Feua.js", contentType: "application/javascript; charset=utf-8", offset: 135834, length: 2207, sha256: "00e725e6c6f5e1d5b17bb68f205a1a9e87c311703388f10d907c673716a9bb48" },
|
|
273772
273854
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 138041, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
273773
273855
|
{ key: "assets/glassPreviewBrowser-OVmIRgHt.js", contentType: "application/javascript; charset=utf-8", offset: 139108, length: 6800, sha256: "3671697a4f66a1f5f68610fab57d590630be70be934f59675ef1bda9a96e6fe3" },
|
|
273774
273856
|
{ key: "assets/godot-pack-cache-Cuhrw41M.js", contentType: "application/javascript; charset=utf-8", offset: 145908, length: 1626, sha256: "70b16367b8938ebd6eb8494a2b472171dd2acdcb452c52f35f140eb8ede9c0b7" },
|
|
273775
273857
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 147534, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
273776
|
-
{ key: "assets/index-
|
|
273777
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273778
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273779
|
-
{ key: "assets/pdf-
|
|
273780
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273781
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
273782
|
-
{ key: "assets/pdfDocument-
|
|
273783
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273784
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
273785
|
-
{ key: "assets/webviewBridgeHost-
|
|
273786
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
273787
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
273788
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
273789
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
273790
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
273791
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
273792
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
273793
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
273794
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
273795
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
273796
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
273797
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
273798
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273799
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
273800
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
273801
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
273802
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
273803
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
273858
|
+
{ key: "assets/index-dp3rjJG4.js", contentType: "application/javascript; charset=utf-8", offset: 150238, length: 1735833, sha256: "691a240bd226380bd57781972200963d51d8033c707769c52270606eff52eb6d" },
|
|
273859
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1886071, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
273860
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1893822, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
273861
|
+
{ key: "assets/pdf-CS2sEXK4.js", contentType: "application/javascript; charset=utf-8", offset: 1904353, length: 488215, sha256: "d9e187d7c90304afc1cc68bdb1391f0827037645d3f6f22f7fcfd63b01daee18" },
|
|
273862
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2392568, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
273863
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2392658, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
273864
|
+
{ key: "assets/pdfDocument-SLNMZohE.js", contentType: "application/javascript; charset=utf-8", offset: 3709692, length: 3836, sha256: "23903adfbb7bc914d4e38ce97e23bc50db0807486a2c95a22b8a550d56ceece1" },
|
|
273865
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3713528, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
273866
|
+
{ key: "assets/scrollLinkedRuntime-CDdIruYy.js", contentType: "application/javascript; charset=utf-8", offset: 3715794, length: 2278, sha256: "f85098efa86dfe5ea42bfe059f16be0cbdd468546d1e617adec54e1e4a9b6131" },
|
|
273867
|
+
{ key: "assets/webviewBridgeHost-C8RYMXEA.js", contentType: "application/javascript; charset=utf-8", offset: 3718072, length: 9890, sha256: "381b6346d835ff0b4a1fdbee15a42fae9b1b8f3150661326e69b36e715118ed6" },
|
|
273868
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3727962, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
273869
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3732572, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
273870
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4221156, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
273871
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4312080, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
273872
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4403064, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
273873
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4494044, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
273874
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4584916, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
273875
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4675896, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
273876
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4784532, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
273877
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4893616, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
273878
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 5002664, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
273879
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5110364, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
273880
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5198472, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
273881
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5205290, length: 4924, sha256: "9e53a84eff9e7f716fd31a18756e203c00e4d85daec4a637795f9e815e2a821e" },
|
|
273882
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5210214, length: 15585, sha256: "98ec60ef8f9568532f0746d1092b5c76f1c52d718365c586c8bade8f62c7c5eb" },
|
|
273883
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5225799, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
273884
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5226970, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
273885
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5251273, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
273804
273886
|
];
|
|
273805
273887
|
}
|
|
273806
273888
|
});
|
|
Binary file
|
|
@@ -1618,7 +1618,7 @@
|
|
|
1618
1618
|
"name": "SplashConfig",
|
|
1619
1619
|
"kind": "interface",
|
|
1620
1620
|
"jsdoc": "/**\n * The IN-APP splash — the brand surface between the OS splash handing off and the\n * app being ready. The *OS* splash is generated at build time from the same\n * `splash` block in config.ts and can never be OTA (iOS reads `UILaunchScreen`\n * before any app code runs); this layer is OTA. Artwork stays baked in the binary\n * — `logoAsset` / `backgroundImageAsset` name a baked asset, so only the\n * composition travels.\n */",
|
|
1621
|
-
"decl": "export interface SplashConfig {\n /** Master switch / kill-switch. Absent or false ⇒ no surface. */\n enabled?: boolean;\n /** Background color TOKEN name (e.g. \"accentPrimary\"). */\n backgroundColor?: TokenName;\n /** Gradient token name; wins over `backgroundColor`. */\n backgroundGradient?: TokenName;\n /** BAKED asset name for a full-bleed background image; wins over color/gradient. */\n backgroundImageAsset?: string;\n /** BAKED asset name for the centered logo (e.g. \"LaunchLogo\"). */\n logoAsset?: string;\n /** Logo width in pt/dp. 0 / absent ⇒ 96. */\n logoWidth?: number;\n /** Optional wordmark line. NOTE: a literal string, so an OTA edit bypasses\n * localization (same caveat as `NavTabItem.label`). */\n caption?: string;\n /** Typography token for the caption. Absent ⇒ \"title1\". */\n captionStyle?: TokenName;\n /** Color token for the caption. Absent ⇒ \"textOnAccent\". */\n captionColor?: TokenName;\n /** Absent / unknown ⇒ \"centered\". */\n layout?: SplashLayout;\n /** Anti-flash floor, ms. Clamped client-side to [0, 2000]. */\n minVisibleMs?: number;\n /** Hard ceiling on the readiness hold, ms — a stuck boot can never wedge the\n * UI. 0 / absent ⇒ 3000. Clamped client-side to [0, 8000]. */\n maxHoldMs?: number;\n /** What readiness waits for beyond the seed. Absent / \"\" ⇒ the first\n * screen's paint, where the shell mounts its content under the splash (every shell\n * built on `HimalayaLaunchGate` / `awaitingFirstScreen`), else the seed alone.\n * \"seeded\" ⇒ the seed alone, always. \"first_content\" ⇒ the first WebView page (a\n * site shell). All still under `maxHoldMs`. Unknown coalesces to \"\" on device. */\n readySignal?: SplashReadySignal;\n}",
|
|
1621
|
+
"decl": "export interface SplashConfig {\n /** Master switch / kill-switch. Absent or false ⇒ no surface. */\n enabled?: boolean;\n /** Background color TOKEN name (e.g. \"accentPrimary\"). */\n backgroundColor?: TokenName;\n /** Gradient token name; wins over `backgroundColor`. */\n backgroundGradient?: TokenName;\n /** BAKED asset name for a full-bleed background image; wins over color/gradient. */\n backgroundImageAsset?: string;\n /** BAKED asset name for the centered logo (e.g. \"LaunchLogo\"). */\n logoAsset?: string;\n /** Logo width in pt/dp. 0 / absent ⇒ 96. */\n logoWidth?: number;\n /** Optional wordmark line. NOTE: a literal string, so an OTA edit bypasses\n * localization (same caveat as `NavTabItem.label`). */\n caption?: string;\n /** Typography token for the caption. Absent ⇒ \"title1\". */\n captionStyle?: TokenName;\n /** Color token for the caption. Absent ⇒ \"textOnAccent\". */\n captionColor?: TokenName;\n /** Absent / unknown ⇒ \"centered\". */\n layout?: SplashLayout;\n /** Anti-flash floor, ms. Clamped client-side to [0, 2000]. */\n minVisibleMs?: number;\n /** Hard ceiling on the readiness hold, ms — a stuck boot can never wedge the\n * UI. 0 / absent ⇒ 3000. Clamped client-side to [0, 8000]. */\n maxHoldMs?: number;\n /** What readiness waits for beyond the seed. Absent / \"\" ⇒ the first\n * screen's paint, where the shell mounts its content under the splash (every shell\n * built on `HimalayaLaunchGate` / `awaitingFirstScreen`), else the seed alone.\n * \"seeded\" ⇒ the seed alone, always. \"first_content\" ⇒ the first WebView page (a\n * site shell). All still under `maxHoldMs`. Unknown coalesces to \"\" on device. */\n readySignal?: SplashReadySignal;\n /** #4675 — how the surface leaves once the app is ready. Absent / \"fade\" ⇒ a short crossfade into the first\n * screen. \"cut\" ⇒ gone on the next frame, as a React Native app that hides its splash does. Unknown fades. */\n exitTransition?: SplashExitTransition;\n}",
|
|
1622
1622
|
"verificationChecked": true
|
|
1623
1623
|
},
|
|
1624
1624
|
{
|
package/guides/splash-screens.md
CHANGED
|
@@ -150,6 +150,7 @@ splash: {
|
|
|
150
150
|
minVisibleMs: 600, // anti-flash floor, clamped ≤ 2000
|
|
151
151
|
maxHoldMs: 3000, // hard ceiling, clamped ≤ 8000
|
|
152
152
|
readySignal: "", // "" | "seeded" | "first_content" — see "Readiness, not a timer"
|
|
153
|
+
exitTransition: "", // "" / "fade" (crossfade) | "cut" (gone on the next frame); unknown fades
|
|
153
154
|
}
|
|
154
155
|
```
|
|
155
156
|
|
|
@@ -167,8 +168,8 @@ A `splashScreenId` pointing at an OTA descriptor fails at exactly the moment it'
|
|
|
167
168
|
render the generic `ProgressView` + literal `"Loading…"` on precisely the launch we're fixing.
|
|
168
169
|
It would also invert boot ordering (`applyProdServeFromCache` and `LocaleStore.initShared` must
|
|
169
170
|
precede any fetch) and put descriptor-shaped payload inside `NavigationConfig`, where a single
|
|
170
|
-
strict-decode throw disables **all** OTA. Proto field
|
|
171
|
-
(13 is `ready_signal`).
|
|
171
|
+
strict-decode throw disables **all** OTA. Proto field 15+ is reserved should that ever change
|
|
172
|
+
(13 is `ready_signal`, 14 is `exit_transition`).
|
|
172
173
|
|
|
173
174
|
### Readiness, not a timer
|
|
174
175
|
|
|
@@ -236,7 +237,14 @@ Two seams, and only one of them needs work:
|
|
|
236
237
|
The *content* also eases in, so `HimalayaSplashView` / `HimalayaSplash` ease the
|
|
237
238
|
logo and caption in over `contentFadeInMs`.
|
|
238
239
|
- **In-app surface → real content.** Fades out over a fixed `exitFadeMs` (350 ms), via
|
|
239
|
-
`.splashExitAnimation(ready:)` on iOS and `HimalayaSplashHost` on Android.
|
|
240
|
+
`.splashExitAnimation(ready:splash:)` on iOS and `HimalayaSplashHost` on Android. `exitTransition: "cut"`
|
|
241
|
+
drops the fade on every gate (iOS, Android, the web host's `LaunchGate`, and branded-lite's own), so the
|
|
242
|
+
first screen shows on the next frame, as a React Native app that hides its splash does. A shell with its
|
|
243
|
+
own gate passes its `SplashConfig` to `splashExitAnimation(ready:splash:)` so the config drives the exit.
|
|
244
|
+
|
|
245
|
+
The splash content is centred on the **whole screen** on every surface (iOS ignores the vertical safe-area
|
|
246
|
+
insets for it), so an app's own launch storyboard should centre its logo on the root view, not the safe
|
|
247
|
+
area, or the logo jumps at the handoff.
|
|
240
248
|
|
|
241
249
|
**`contentFadeInMs` is derived, not configured: half of `minVisibleMs`, and zero when
|
|
242
250
|
that is zero.** The two are coupled — a fade that outlasts the floor means the surface is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1920.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": "56870e5bd6cfa91e2eef0efec71392c881b20c1dce52014f99e3c96e"
|
|
86
86
|
}
|