peachsim 0.1.2302 → 0.1.2303
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-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +124 -23
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +123 -22
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +124 -23
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +3 -3
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +124 -23
- package/dist-lib/swift-compile.cjs +3 -17
- package/dist-lib/swift-compile.mjs +3 -16
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +75 -18
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +5 -20
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +15 -2
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Modules/module.modulemap +52 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewController.h +1 -1
- package/src/core-data-model.ts +92 -3
- package/src/expo-native-workspace.ts +26 -2
- package/src/swift-compile.ts +1 -25
- package/src/swift-packages.ts +22 -1
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -56248,18 +56248,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
56248
56248
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
56249
56249
|
return out;
|
|
56250
56250
|
}
|
|
56251
|
-
function lowerNSValueTimeBox(source) {
|
|
56252
|
-
const masked = swiftCodeMask(source);
|
|
56253
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
56254
|
-
const edits = [];
|
|
56255
|
-
let hit;
|
|
56256
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
56257
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
56258
|
-
let out = source;
|
|
56259
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
56260
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
56261
|
-
return out;
|
|
56262
|
-
}
|
|
56263
56251
|
function swiftCodeMask(source) {
|
|
56264
56252
|
const chars = source.split("");
|
|
56265
56253
|
const blank = (from, to) => {
|
|
@@ -56471,7 +56459,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
56471
56459
|
continue;
|
|
56472
56460
|
}
|
|
56473
56461
|
}
|
|
56474
|
-
return
|
|
56462
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
56475
56463
|
}
|
|
56476
56464
|
function swiftSourceClosure(files2, roots) {
|
|
56477
56465
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -59933,7 +59921,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
59933
59921
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
59934
59922
|
MULTI_MANIFEST_VERSION = 68;
|
|
59935
59923
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
59936
|
-
compilerSourceDigest = true ? "
|
|
59924
|
+
compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
59937
59925
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
59938
59926
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
59939
59927
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -65276,6 +65264,29 @@ var init_workspace_root = __esm({
|
|
|
65276
65264
|
});
|
|
65277
65265
|
|
|
65278
65266
|
// src/expo-native-workspace.ts
|
|
65267
|
+
function cleanWorkspaceGitEnv() {
|
|
65268
|
+
const env = { ...process.env };
|
|
65269
|
+
for (const key2 of [
|
|
65270
|
+
"GIT_DIR",
|
|
65271
|
+
"GIT_COMMON_DIR",
|
|
65272
|
+
"GIT_WORK_TREE",
|
|
65273
|
+
"GIT_INDEX_FILE",
|
|
65274
|
+
"GIT_OBJECT_DIRECTORY",
|
|
65275
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
65276
|
+
"GIT_PREFIX",
|
|
65277
|
+
"GIT_SHALLOW_FILE",
|
|
65278
|
+
"GIT_GRAFT_FILE",
|
|
65279
|
+
"GIT_NAMESPACE",
|
|
65280
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
65281
|
+
"GIT_CONFIG",
|
|
65282
|
+
"GIT_CEILING_DIRECTORIES",
|
|
65283
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
65284
|
+
"GIT_SUPER_PREFIX"
|
|
65285
|
+
]) {
|
|
65286
|
+
delete env[key2];
|
|
65287
|
+
}
|
|
65288
|
+
return { ...env, ...isolatedGitEnv };
|
|
65289
|
+
}
|
|
65279
65290
|
function reactNativePodsEnvironment() {
|
|
65280
65291
|
return {
|
|
65281
65292
|
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
|
|
@@ -65713,7 +65724,7 @@ function nativeWorkspacesDir(root) {
|
|
|
65713
65724
|
function trackedSourceEntries(root, work) {
|
|
65714
65725
|
const listed = (0, import_node_child_process39.spawnSync)("git", ["ls-files", "--stage", "-z"], {
|
|
65715
65726
|
cwd: root,
|
|
65716
|
-
env:
|
|
65727
|
+
env: cleanWorkspaceGitEnv(),
|
|
65717
65728
|
maxBuffer: 256 * 1024 * 1024
|
|
65718
65729
|
});
|
|
65719
65730
|
if (listed.status !== 0) return [];
|
|
@@ -65724,7 +65735,7 @@ function trackedSourceEntries(root, work) {
|
|
|
65724
65735
|
}
|
|
65725
65736
|
function initializeWorkspaceGit(root, work) {
|
|
65726
65737
|
requireNativeGit();
|
|
65727
|
-
const env =
|
|
65738
|
+
const env = cleanWorkspaceGitEnv();
|
|
65728
65739
|
(0, import_node_child_process39.execFileSync)("git", ["init", "--quiet"], { cwd: work, env });
|
|
65729
65740
|
(0, import_node_child_process39.execFileSync)(
|
|
65730
65741
|
"git",
|
|
@@ -66602,7 +66613,7 @@ var init_swift_standin_digest = __esm({
|
|
|
66602
66613
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
66603
66614
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
66604
66615
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
66605
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
66616
|
+
STANDIN_SOURCE_DIGEST = true ? "ef95f9c4acc6f2d45a1510da2a7e3653243ffb1335362bc0d4996631fc6f0df3" : standinSourceDigest();
|
|
66606
66617
|
}
|
|
66607
66618
|
});
|
|
66608
66619
|
|
|
@@ -67081,7 +67092,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
67081
67092
|
servedExpoSwift: () => servedExpoSwift
|
|
67082
67093
|
});
|
|
67083
67094
|
function expoNativeCompilerDigestValue() {
|
|
67084
|
-
return true ? "
|
|
67095
|
+
return true ? "5bd208e7dcf4c6f40ee2cb35f3bc1f4c710be71d38a0d00ba5f8702ca05da987" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
67085
67096
|
}
|
|
67086
67097
|
function readSources(value) {
|
|
67087
67098
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -68067,9 +68078,30 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
|
|
|
68067
68078
|
if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
|
|
68068
68079
|
requireNativeGit();
|
|
68069
68080
|
const key2 = checkoutKey(dir, pin2);
|
|
68081
|
+
const gitEnv = { ...process.env };
|
|
68082
|
+
for (const name3 of [
|
|
68083
|
+
"GIT_DIR",
|
|
68084
|
+
"GIT_COMMON_DIR",
|
|
68085
|
+
"GIT_WORK_TREE",
|
|
68086
|
+
"GIT_INDEX_FILE",
|
|
68087
|
+
"GIT_OBJECT_DIRECTORY",
|
|
68088
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
68089
|
+
"GIT_PREFIX",
|
|
68090
|
+
"GIT_SHALLOW_FILE",
|
|
68091
|
+
"GIT_GRAFT_FILE",
|
|
68092
|
+
"GIT_NAMESPACE",
|
|
68093
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
68094
|
+
"GIT_CONFIG",
|
|
68095
|
+
"GIT_CEILING_DIRECTORIES",
|
|
68096
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
68097
|
+
"GIT_SUPER_PREFIX"
|
|
68098
|
+
]) {
|
|
68099
|
+
delete gitEnv[name3];
|
|
68100
|
+
}
|
|
68101
|
+
gitEnv.GIT_TERMINAL_PROMPT = "0";
|
|
68070
68102
|
const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
|
|
68071
68103
|
encoding: "utf8",
|
|
68072
|
-
env:
|
|
68104
|
+
env: gitEnv,
|
|
68073
68105
|
signal
|
|
68074
68106
|
})).stdout.trim();
|
|
68075
68107
|
const lock = async () => {
|
|
@@ -75704,7 +75736,51 @@ function userInfo(source, owner) {
|
|
|
75704
75736
|
]);
|
|
75705
75737
|
return source.tools < 11 && owner.attrs.syncable !== "YES" ? [...entries, ["com.apple.syncservices.Syncable", "NO"]] : entries;
|
|
75706
75738
|
}
|
|
75739
|
+
function decimal(text6) {
|
|
75740
|
+
const match = /^([+-]?)(\d*)(?:\.(\d*))?(?:[eE]([+-]?\d+))?$/.exec(text6);
|
|
75741
|
+
if (!match) return null;
|
|
75742
|
+
const [, sign, whole = "", fraction = "", power] = match;
|
|
75743
|
+
if (whole + fraction === "") return null;
|
|
75744
|
+
let mantissa = BigInt(whole + fraction);
|
|
75745
|
+
let exponent = Number(power ?? 0) - fraction.length;
|
|
75746
|
+
if (mantissa === 0n) {
|
|
75747
|
+
if (power !== void 0) return null;
|
|
75748
|
+
const zero = {
|
|
75749
|
+
kind: "decimal",
|
|
75750
|
+
length: 0,
|
|
75751
|
+
negative: false,
|
|
75752
|
+
compact: false,
|
|
75753
|
+
mantissa: Buffer.alloc(16)
|
|
75754
|
+
};
|
|
75755
|
+
return { ...zero, exponent: sign === "-" ? 0 : exponent };
|
|
75756
|
+
}
|
|
75757
|
+
while (mantissa % 10n === 0n) {
|
|
75758
|
+
mantissa /= 10n;
|
|
75759
|
+
exponent++;
|
|
75760
|
+
}
|
|
75761
|
+
if (mantissa >> 128n !== 0n || exponent < -128 || exponent > 127) return null;
|
|
75762
|
+
const words2 = Buffer.alloc(16);
|
|
75763
|
+
let length = 0;
|
|
75764
|
+
for (let word = 0; word < 8; word++) {
|
|
75765
|
+
const value = Number(mantissa >> BigInt(16 * word) & 0xffffn);
|
|
75766
|
+
words2.writeUInt16LE(value, 2 * word);
|
|
75767
|
+
if (value !== 0) length = word + 1;
|
|
75768
|
+
}
|
|
75769
|
+
return {
|
|
75770
|
+
kind: "decimal",
|
|
75771
|
+
exponent,
|
|
75772
|
+
length,
|
|
75773
|
+
negative: sign === "-",
|
|
75774
|
+
compact: true,
|
|
75775
|
+
mantissa: words2
|
|
75776
|
+
};
|
|
75777
|
+
}
|
|
75707
75778
|
function defaultValue(model, member, type) {
|
|
75779
|
+
const interval = member.attrs.defaultDateTimeInterval;
|
|
75780
|
+
if (type === "Date" && interval !== void 0 && Number.isFinite(Number(interval)))
|
|
75781
|
+
return { kind: "date", time: Math.floor(Number(interval) / 60) * 60 };
|
|
75782
|
+
if (interval !== void 0)
|
|
75783
|
+
refuse3(model, `${member.attrs.name} has the ${type} date interval ${interval}`);
|
|
75708
75784
|
const text6 = member.attrs.defaultValueString;
|
|
75709
75785
|
if (text6 === void 0) return null;
|
|
75710
75786
|
if (type.startsWith("Integer ") && /^-?\d+$/.test(text6)) return Number(text6);
|
|
@@ -75712,6 +75788,8 @@ function defaultValue(model, member, type) {
|
|
|
75712
75788
|
return Number(text6);
|
|
75713
75789
|
if (type === "Boolean" && (text6 === "YES" || text6 === "NO")) return text6 === "YES";
|
|
75714
75790
|
if (type === "String") return text6;
|
|
75791
|
+
const scanned = type === "Decimal" ? decimal(text6) : null;
|
|
75792
|
+
if (scanned) return scanned;
|
|
75715
75793
|
refuse3(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text6)}`);
|
|
75716
75794
|
}
|
|
75717
75795
|
function attribute(source, member) {
|
|
@@ -75721,6 +75799,7 @@ function attribute(source, member) {
|
|
|
75721
75799
|
"transient",
|
|
75722
75800
|
"attributeType",
|
|
75723
75801
|
"defaultValueString",
|
|
75802
|
+
"defaultDateTimeInterval",
|
|
75724
75803
|
"usesScalarValueType",
|
|
75725
75804
|
"customClassName",
|
|
75726
75805
|
"valueTransformerName",
|
|
@@ -75880,6 +75959,20 @@ function readModel(model, contents) {
|
|
|
75880
75959
|
versionIdentifiers: [tag.attrs.userDefinedModelVersionIdentifier ?? ""]
|
|
75881
75960
|
};
|
|
75882
75961
|
}
|
|
75962
|
+
function archiveDefault(archive, value) {
|
|
75963
|
+
if (value === null) return NULL;
|
|
75964
|
+
if (typeof value !== "object") return archive.add(value);
|
|
75965
|
+
if (value.kind === "date")
|
|
75966
|
+
return archive.fill(archive.reserve(), "NSDate", { "NS.time": value.time });
|
|
75967
|
+
return archive.fill(archive.reserve(), "NSDecimalNumberPlaceholder", {
|
|
75968
|
+
"NS.compact": value.compact,
|
|
75969
|
+
"NS.exponent": value.exponent,
|
|
75970
|
+
"NS.length": value.length,
|
|
75971
|
+
"NS.mantissa": value.mantissa,
|
|
75972
|
+
"NS.mantissa.bo": 1,
|
|
75973
|
+
"NS.negative": value.negative
|
|
75974
|
+
});
|
|
75975
|
+
}
|
|
75883
75976
|
function archiveModel(model) {
|
|
75884
75977
|
const archive = new KeyedArchive();
|
|
75885
75978
|
const modelIndex = archive.reserve();
|
|
@@ -75910,7 +76003,7 @@ function archiveModel(model) {
|
|
|
75910
76003
|
...shared,
|
|
75911
76004
|
NSAttributeType: property2.type,
|
|
75912
76005
|
NSAttributeValueClassName: archive.string(property2.className),
|
|
75913
|
-
NSDefaultValue:
|
|
76006
|
+
NSDefaultValue: archiveDefault(archive, property2.defaultValue),
|
|
75914
76007
|
NSFlagsKey: property2.flags,
|
|
75915
76008
|
NSValueTransformerName: archive.string(property2.transformer),
|
|
75916
76009
|
...property2.transient ? { NSIsTransient: true } : {},
|
|
@@ -76152,7 +76245,15 @@ var init_core_data_model = __esm({
|
|
|
76152
76245
|
NSMutableDictionary: ["NSMutableDictionary", "NSDictionary", "NSObject"],
|
|
76153
76246
|
NSArray: ["NSArray", "NSObject"],
|
|
76154
76247
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
76155
|
-
NSSet: ["NSSet", "NSObject"]
|
|
76248
|
+
NSSet: ["NSSet", "NSObject"],
|
|
76249
|
+
NSDate: ["NSDate", "NSObject"],
|
|
76250
|
+
NSDecimalNumberPlaceholder: [
|
|
76251
|
+
"NSDecimalNumberPlaceholder",
|
|
76252
|
+
"NSDecimalNumber",
|
|
76253
|
+
"NSNumber",
|
|
76254
|
+
"NSValue",
|
|
76255
|
+
"NSObject"
|
|
76256
|
+
]
|
|
76156
76257
|
};
|
|
76157
76258
|
KeyedArchive = class {
|
|
76158
76259
|
objects = ["$null"];
|
|
@@ -88832,7 +88933,7 @@ var init_nitro_superset = __esm({
|
|
|
88832
88933
|
init_nitroContract();
|
|
88833
88934
|
init_swift_standin_digest();
|
|
88834
88935
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
88835
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
88936
|
+
NITRO_COMPILER_DIGEST = true ? "126453654de14cf4360c172356a3cda16aef0d1f777bca9a2acdb84662397b64" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
88836
88937
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
88837
88938
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
88838
88939
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -46,7 +46,6 @@ __export(swift_compile_exports, {
|
|
|
46
46
|
foundationOwnerOf: () => foundationOwnerOf,
|
|
47
47
|
frameworkLinkClosure: () => frameworkLinkClosure,
|
|
48
48
|
lowerAVAssetURLCluster: () => lowerAVAssetURLCluster,
|
|
49
|
-
lowerNSValueTimeBox: () => lowerNSValueTimeBox,
|
|
50
49
|
missingSwiftModules: () => missingSwiftModules,
|
|
51
50
|
neutralizedNativeMain: () => neutralizedNativeMain,
|
|
52
51
|
objcApplicationMainCall: () => objcApplicationMainCall,
|
|
@@ -13501,7 +13500,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13501
13500
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13502
13501
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13503
13502
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13504
|
-
var compilerSourceDigest = true ? "
|
|
13503
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13505
13504
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13506
13505
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
13507
13506
|
hash.update(`swift-compile
|
|
@@ -14050,18 +14049,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
14050
14049
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14051
14050
|
return out;
|
|
14052
14051
|
}
|
|
14053
|
-
function lowerNSValueTimeBox(source) {
|
|
14054
|
-
const masked = swiftCodeMask(source);
|
|
14055
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
14056
|
-
const edits = [];
|
|
14057
|
-
let hit;
|
|
14058
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
14059
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
14060
|
-
let out = source;
|
|
14061
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
14062
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14063
|
-
return out;
|
|
14064
|
-
}
|
|
14065
14052
|
function swiftCodeMask(source) {
|
|
14066
14053
|
const chars = source.split("");
|
|
14067
14054
|
const blank = (from, to) => {
|
|
@@ -14784,7 +14771,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
14784
14771
|
continue;
|
|
14785
14772
|
}
|
|
14786
14773
|
}
|
|
14787
|
-
return
|
|
14774
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
14788
14775
|
}
|
|
14789
14776
|
function swiftSourceClosure(files, roots) {
|
|
14790
14777
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -18104,7 +18091,6 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
18104
18091
|
foundationOwnerOf,
|
|
18105
18092
|
frameworkLinkClosure,
|
|
18106
18093
|
lowerAVAssetURLCluster,
|
|
18107
|
-
lowerNSValueTimeBox,
|
|
18108
18094
|
missingSwiftModules,
|
|
18109
18095
|
neutralizedNativeMain,
|
|
18110
18096
|
objcApplicationMainCall,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -13487,7 +13487,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13487
13487
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13488
13488
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13489
13489
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13490
|
-
var compilerSourceDigest = true ? "
|
|
13490
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13491
13491
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13492
13492
|
const hash = createHash13("sha256");
|
|
13493
13493
|
hash.update(`swift-compile
|
|
@@ -14036,18 +14036,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
14036
14036
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14037
14037
|
return out;
|
|
14038
14038
|
}
|
|
14039
|
-
function lowerNSValueTimeBox(source) {
|
|
14040
|
-
const masked = swiftCodeMask(source);
|
|
14041
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
14042
|
-
const edits = [];
|
|
14043
|
-
let hit;
|
|
14044
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
14045
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
14046
|
-
let out = source;
|
|
14047
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
14048
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14049
|
-
return out;
|
|
14050
|
-
}
|
|
14051
14039
|
function swiftCodeMask(source) {
|
|
14052
14040
|
const chars = source.split("");
|
|
14053
14041
|
const blank = (from, to) => {
|
|
@@ -14770,7 +14758,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
14770
14758
|
continue;
|
|
14771
14759
|
}
|
|
14772
14760
|
}
|
|
14773
|
-
return
|
|
14761
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
14774
14762
|
}
|
|
14775
14763
|
function swiftSourceClosure(files, roots) {
|
|
14776
14764
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -18089,7 +18077,6 @@ export {
|
|
|
18089
18077
|
foundationOwnerOf,
|
|
18090
18078
|
frameworkLinkClosure,
|
|
18091
18079
|
lowerAVAssetURLCluster,
|
|
18092
|
-
lowerNSValueTimeBox,
|
|
18093
18080
|
missingSwiftModules,
|
|
18094
18081
|
neutralizedNativeMain,
|
|
18095
18082
|
objcApplicationMainCall,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -18314,7 +18314,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18314
18314
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18315
18315
|
var MULTI_MANIFEST_VERSION = 68;
|
|
18316
18316
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18317
|
-
var compilerSourceDigest = true ? "
|
|
18317
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18318
18318
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18319
18319
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
18320
18320
|
hash.update(`swift-compile
|
|
@@ -18863,18 +18863,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
18863
18863
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
18864
18864
|
return out;
|
|
18865
18865
|
}
|
|
18866
|
-
function lowerNSValueTimeBox(source) {
|
|
18867
|
-
const masked = swiftCodeMask(source);
|
|
18868
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
18869
|
-
const edits = [];
|
|
18870
|
-
let hit;
|
|
18871
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
18872
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
18873
|
-
let out = source;
|
|
18874
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
18875
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
18876
|
-
return out;
|
|
18877
|
-
}
|
|
18878
18866
|
function swiftCodeMask(source) {
|
|
18879
18867
|
const chars = source.split("");
|
|
18880
18868
|
const blank = (from, to) => {
|
|
@@ -19597,7 +19585,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
19597
19585
|
continue;
|
|
19598
19586
|
}
|
|
19599
19587
|
}
|
|
19600
|
-
return
|
|
19588
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
19601
19589
|
}
|
|
19602
19590
|
function swiftApplicationEntry(file, source) {
|
|
19603
19591
|
const code = [...swiftConditionalLines(swiftCodeMask(source))].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
@@ -24302,7 +24290,51 @@ function userInfo(source, owner) {
|
|
|
24302
24290
|
]);
|
|
24303
24291
|
return source.tools < 11 && owner.attrs.syncable !== "YES" ? [...entries, ["com.apple.syncservices.Syncable", "NO"]] : entries;
|
|
24304
24292
|
}
|
|
24293
|
+
function decimal(text5) {
|
|
24294
|
+
const match = /^([+-]?)(\d*)(?:\.(\d*))?(?:[eE]([+-]?\d+))?$/.exec(text5);
|
|
24295
|
+
if (!match) return null;
|
|
24296
|
+
const [, sign, whole = "", fraction = "", power] = match;
|
|
24297
|
+
if (whole + fraction === "") return null;
|
|
24298
|
+
let mantissa = BigInt(whole + fraction);
|
|
24299
|
+
let exponent = Number(power ?? 0) - fraction.length;
|
|
24300
|
+
if (mantissa === 0n) {
|
|
24301
|
+
if (power !== void 0) return null;
|
|
24302
|
+
const zero = {
|
|
24303
|
+
kind: "decimal",
|
|
24304
|
+
length: 0,
|
|
24305
|
+
negative: false,
|
|
24306
|
+
compact: false,
|
|
24307
|
+
mantissa: Buffer.alloc(16)
|
|
24308
|
+
};
|
|
24309
|
+
return { ...zero, exponent: sign === "-" ? 0 : exponent };
|
|
24310
|
+
}
|
|
24311
|
+
while (mantissa % 10n === 0n) {
|
|
24312
|
+
mantissa /= 10n;
|
|
24313
|
+
exponent++;
|
|
24314
|
+
}
|
|
24315
|
+
if (mantissa >> 128n !== 0n || exponent < -128 || exponent > 127) return null;
|
|
24316
|
+
const words2 = Buffer.alloc(16);
|
|
24317
|
+
let length = 0;
|
|
24318
|
+
for (let word = 0; word < 8; word++) {
|
|
24319
|
+
const value = Number(mantissa >> BigInt(16 * word) & 0xffffn);
|
|
24320
|
+
words2.writeUInt16LE(value, 2 * word);
|
|
24321
|
+
if (value !== 0) length = word + 1;
|
|
24322
|
+
}
|
|
24323
|
+
return {
|
|
24324
|
+
kind: "decimal",
|
|
24325
|
+
exponent,
|
|
24326
|
+
length,
|
|
24327
|
+
negative: sign === "-",
|
|
24328
|
+
compact: true,
|
|
24329
|
+
mantissa: words2
|
|
24330
|
+
};
|
|
24331
|
+
}
|
|
24305
24332
|
function defaultValue(model, member, type) {
|
|
24333
|
+
const interval = member.attrs.defaultDateTimeInterval;
|
|
24334
|
+
if (type === "Date" && interval !== void 0 && Number.isFinite(Number(interval)))
|
|
24335
|
+
return { kind: "date", time: Math.floor(Number(interval) / 60) * 60 };
|
|
24336
|
+
if (interval !== void 0)
|
|
24337
|
+
refuse2(model, `${member.attrs.name} has the ${type} date interval ${interval}`);
|
|
24306
24338
|
const text5 = member.attrs.defaultValueString;
|
|
24307
24339
|
if (text5 === void 0) return null;
|
|
24308
24340
|
if (type.startsWith("Integer ") && /^-?\d+$/.test(text5)) return Number(text5);
|
|
@@ -24310,6 +24342,8 @@ function defaultValue(model, member, type) {
|
|
|
24310
24342
|
return Number(text5);
|
|
24311
24343
|
if (type === "Boolean" && (text5 === "YES" || text5 === "NO")) return text5 === "YES";
|
|
24312
24344
|
if (type === "String") return text5;
|
|
24345
|
+
const scanned = type === "Decimal" ? decimal(text5) : null;
|
|
24346
|
+
if (scanned) return scanned;
|
|
24313
24347
|
refuse2(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text5)}`);
|
|
24314
24348
|
}
|
|
24315
24349
|
var common = (source, member) => ({
|
|
@@ -24326,6 +24360,7 @@ function attribute(source, member) {
|
|
|
24326
24360
|
"transient",
|
|
24327
24361
|
"attributeType",
|
|
24328
24362
|
"defaultValueString",
|
|
24363
|
+
"defaultDateTimeInterval",
|
|
24329
24364
|
"usesScalarValueType",
|
|
24330
24365
|
"customClassName",
|
|
24331
24366
|
"valueTransformerName",
|
|
@@ -24502,7 +24537,15 @@ var classChains = {
|
|
|
24502
24537
|
NSMutableDictionary: ["NSMutableDictionary", "NSDictionary", "NSObject"],
|
|
24503
24538
|
NSArray: ["NSArray", "NSObject"],
|
|
24504
24539
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
24505
|
-
NSSet: ["NSSet", "NSObject"]
|
|
24540
|
+
NSSet: ["NSSet", "NSObject"],
|
|
24541
|
+
NSDate: ["NSDate", "NSObject"],
|
|
24542
|
+
NSDecimalNumberPlaceholder: [
|
|
24543
|
+
"NSDecimalNumberPlaceholder",
|
|
24544
|
+
"NSDecimalNumber",
|
|
24545
|
+
"NSNumber",
|
|
24546
|
+
"NSValue",
|
|
24547
|
+
"NSObject"
|
|
24548
|
+
]
|
|
24506
24549
|
};
|
|
24507
24550
|
var KeyedArchive = class {
|
|
24508
24551
|
objects = ["$null"];
|
|
@@ -24551,6 +24594,20 @@ var KeyedArchive = class {
|
|
|
24551
24594
|
});
|
|
24552
24595
|
}
|
|
24553
24596
|
};
|
|
24597
|
+
function archiveDefault(archive, value) {
|
|
24598
|
+
if (value === null) return NULL;
|
|
24599
|
+
if (typeof value !== "object") return archive.add(value);
|
|
24600
|
+
if (value.kind === "date")
|
|
24601
|
+
return archive.fill(archive.reserve(), "NSDate", { "NS.time": value.time });
|
|
24602
|
+
return archive.fill(archive.reserve(), "NSDecimalNumberPlaceholder", {
|
|
24603
|
+
"NS.compact": value.compact,
|
|
24604
|
+
"NS.exponent": value.exponent,
|
|
24605
|
+
"NS.length": value.length,
|
|
24606
|
+
"NS.mantissa": value.mantissa,
|
|
24607
|
+
"NS.mantissa.bo": 1,
|
|
24608
|
+
"NS.negative": value.negative
|
|
24609
|
+
});
|
|
24610
|
+
}
|
|
24554
24611
|
function archiveModel(model) {
|
|
24555
24612
|
const archive = new KeyedArchive();
|
|
24556
24613
|
const modelIndex = archive.reserve();
|
|
@@ -24581,7 +24638,7 @@ function archiveModel(model) {
|
|
|
24581
24638
|
...shared,
|
|
24582
24639
|
NSAttributeType: property.type,
|
|
24583
24640
|
NSAttributeValueClassName: archive.string(property.className),
|
|
24584
|
-
NSDefaultValue:
|
|
24641
|
+
NSDefaultValue: archiveDefault(archive, property.defaultValue),
|
|
24585
24642
|
NSFlagsKey: property.flags,
|
|
24586
24643
|
NSValueTransformerName: archive.string(property.transformer),
|
|
24587
24644
|
...property.transient ? { NSIsTransient: true } : {},
|
|
@@ -32549,7 +32606,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32549
32606
|
return hash.digest("hex");
|
|
32550
32607
|
}
|
|
32551
32608
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32552
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32609
|
+
var STANDIN_SOURCE_DIGEST = true ? "ef95f9c4acc6f2d45a1510da2a7e3653243ffb1335362bc0d4996631fc6f0df3" : standinSourceDigest();
|
|
32553
32610
|
|
|
32554
32611
|
// src/swift-standins.ts
|
|
32555
32612
|
var import_node_child_process31 = require("node:child_process");
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -3105,7 +3105,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3105
3105
|
var init_swift_standin_digest = __esm({
|
|
3106
3106
|
"src/swift-standin-digest.ts"() {
|
|
3107
3107
|
"use strict";
|
|
3108
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3108
|
+
STANDIN_SOURCE_DIGEST = true ? "ef95f9c4acc6f2d45a1510da2a7e3653243ffb1335362bc0d4996631fc6f0df3" : standinSourceDigest();
|
|
3109
3109
|
}
|
|
3110
3110
|
});
|
|
3111
3111
|
|
|
@@ -4758,7 +4758,7 @@ var init_swift_compile = __esm({
|
|
|
4758
4758
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4759
4759
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4760
4760
|
).join("");
|
|
4761
|
-
compilerSourceDigest = true ? "
|
|
4761
|
+
compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4762
4762
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4763
4763
|
"CFAllocator",
|
|
4764
4764
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts
CHANGED
|
@@ -48,9 +48,7 @@ interface HandlerEntry {
|
|
|
48
48
|
cleanupConsumed: boolean;
|
|
49
49
|
cleanupRuns: number;
|
|
50
50
|
activationCount: number;
|
|
51
|
-
yieldedToDescendantScroll: boolean;
|
|
52
51
|
simultaneousNativeScroll: boolean;
|
|
53
|
-
onExternalStateChange: ((newState: number) => void) | null;
|
|
54
52
|
pointerHandlers: {
|
|
55
53
|
onDown: (event: SeamPointerEvent) => void;
|
|
56
54
|
onMove: (event: SeamPointerEvent) => void;
|
|
@@ -89,24 +87,11 @@ export declare function emitStateChangeDirect(event: GestureEvent): void;
|
|
|
89
87
|
export declare function setNodeResolver(fn: ((handlerTag: number, viewTag: number) => unknown) | null): void;
|
|
90
88
|
export declare function setStateChangeInterceptor(fn: ((event: GestureEvent, emit: (event: GestureEvent) => void) => void) | null): void;
|
|
91
89
|
export declare function hitSlopContainsLocalPoint(hitSlop: unknown, localX: number, localY: number, width: number, height: number): boolean;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
lastT: number;
|
|
98
|
-
velocityX: number;
|
|
99
|
-
velocityY: number;
|
|
100
|
-
velocitySamples: Array<{
|
|
101
|
-
x: number;
|
|
102
|
-
y: number;
|
|
103
|
-
t: number;
|
|
104
|
-
}>;
|
|
105
|
-
active: boolean;
|
|
106
|
-
pastHysteresis: boolean;
|
|
107
|
-
prevCount: number;
|
|
108
|
-
}
|
|
109
|
-
export declare function estimatePanVelocity(samples: PanRecognizerState['velocitySamples']): {
|
|
90
|
+
export declare function estimatePanVelocity(samples: Array<{
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
t: number;
|
|
94
|
+
}>): {
|
|
110
95
|
x: number;
|
|
111
96
|
y: number;
|
|
112
97
|
};
|