peachsim 0.1.675 → 0.1.677
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/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +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/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +1 -1
- 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 +33 -19
- package/dist-lib/menu.cjs +43 -1
- package/dist-lib/menu.mjs +40 -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 +1 -1
- 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/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/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.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 +1 -1
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/kotlin/AppSources/android/content/Context.kt +6 -0
- package/kotlin/AppSources/android/content/res/Resources.kt +16 -0
- package/kotlin/AppSources/androidx/compose/ui/platform/AndroidCompositionLocals.kt +10 -2
- package/kotlin/AppSources/androidx/compose/ui/res/ColorResources.kt +16 -0
- package/kotlin/AppSources/androidx/compose/ui/res/StringResources.kt +11 -26
- package/kotlin/fixtures/kotlin-app-variants/Colors.kt +41 -0
- package/package.json +1 -1
- package/src/android-theme.ts +32 -16
- package/src/kotlin-app.ts +69 -31
- package/src/kotlin-host.ts +44 -33
- package/src/menu.ts +48 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (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);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/host/fetch-proxy-overrides.ts
|
|
4
4
|
var FETCH_PROXY_BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -470,35 +470,51 @@ function appResourceSources(app) {
|
|
|
470
470
|
)}"`;
|
|
471
471
|
const field = (name) => `\`${name.replace(/[.-]/g, "_")}\``;
|
|
472
472
|
const id = (type, entry) => `0x7f${type.toString(16).padStart(2, "0")}${entry.toString(16).padStart(4, "0")}`;
|
|
473
|
+
const localized = (resources, render) => resources.map((resource) => ({
|
|
474
|
+
name: resource.name,
|
|
475
|
+
init: `mapOf(${Object.entries(resource.values).map(([locale, value]) => `${literal(locale)} to ${render(value)}`).join(", ")})`
|
|
476
|
+
}));
|
|
477
|
+
const argb = (value) => `0x${value.toString(16).padStart(8, "0").toUpperCase()}.toInt()`;
|
|
473
478
|
const kinds = [
|
|
474
479
|
{
|
|
475
480
|
type: "string",
|
|
476
481
|
table: "peachAppStrings",
|
|
477
|
-
value: "String",
|
|
478
|
-
|
|
482
|
+
value: "Map<String, String>",
|
|
483
|
+
entries: localized(app.strings.strings, literal)
|
|
479
484
|
},
|
|
480
485
|
{
|
|
481
486
|
type: "plurals",
|
|
482
487
|
table: "peachAppPlurals",
|
|
483
|
-
value: "Map<String, String
|
|
484
|
-
|
|
488
|
+
value: "Map<String, Map<String, String>>",
|
|
489
|
+
entries: localized(
|
|
490
|
+
app.strings.plurals,
|
|
491
|
+
(items) => `mapOf(${Object.entries(items).map(([quantity, text]) => `${literal(quantity)} to ${literal(text ?? "")}`).join(", ")})`
|
|
492
|
+
)
|
|
485
493
|
},
|
|
486
494
|
{
|
|
487
495
|
type: "array",
|
|
488
496
|
table: "peachAppArrays",
|
|
489
|
-
value: "List<String
|
|
490
|
-
|
|
497
|
+
value: "Map<String, List<String>>",
|
|
498
|
+
entries: localized(
|
|
499
|
+
app.strings.arrays,
|
|
500
|
+
(items) => `listOf(${items.map(literal).join(", ")})`
|
|
501
|
+
)
|
|
502
|
+
},
|
|
503
|
+
// the day and the night ARGB
|
|
504
|
+
{
|
|
505
|
+
type: "color",
|
|
506
|
+
table: "peachAppColors",
|
|
507
|
+
value: "IntArray",
|
|
508
|
+
entries: app.colors.map((color) => ({
|
|
509
|
+
name: color.name,
|
|
510
|
+
init: `intArrayOf(${argb(color.day)}, ${argb(color.night)})`
|
|
511
|
+
}))
|
|
491
512
|
}
|
|
492
513
|
].map((kind, index) => ({
|
|
493
514
|
...kind,
|
|
494
|
-
entries: kind.
|
|
495
|
-
|
|
496
|
-
id: id(index + 1,
|
|
497
|
-
values: Object.entries(resource.values).map(
|
|
498
|
-
([locale, value]) => `${literal(locale)} to ${typeof value === "string" ? literal(value) : Array.isArray(value) ? `listOf(${value.map(literal).join(", ")})` : `mapOf(${Object.entries(value).map(
|
|
499
|
-
([quantity, text]) => `${literal(quantity)} to ${literal(text ?? "")}`
|
|
500
|
-
).join(", ")})`}`
|
|
501
|
-
)
|
|
515
|
+
entries: kind.entries.map((entry, number) => ({
|
|
516
|
+
...entry,
|
|
517
|
+
id: id(index + 1, number)
|
|
502
518
|
}))
|
|
503
519
|
}));
|
|
504
520
|
return {
|
|
@@ -520,10 +536,8 @@ function appResourceSources(app) {
|
|
|
520
536
|
"package dev.peach.app",
|
|
521
537
|
"",
|
|
522
538
|
...kinds.flatMap((kind) => [
|
|
523
|
-
`internal val ${kind.table}: Map<Int,
|
|
524
|
-
...kind.entries.map(
|
|
525
|
-
(entry) => ` ${entry.id} to mapOf(${entry.values.join(", ")}),`
|
|
526
|
-
),
|
|
539
|
+
`internal val ${kind.table}: Map<Int, ${kind.value}> = mapOf(`,
|
|
540
|
+
...kind.entries.map((entry) => ` ${entry.id} to ${entry.init},`),
|
|
527
541
|
")",
|
|
528
542
|
""
|
|
529
543
|
])
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -28,6 +28,8 @@ __export(menu_exports, {
|
|
|
28
28
|
SOOTSIM_RENDER_RESOLUTION_LABELS: () => SOOTSIM_RENDER_RESOLUTION_LABELS,
|
|
29
29
|
SOOTSIM_RENDER_RESOLUTION_LEVELS: () => SOOTSIM_RENDER_RESOLUTION_LEVELS,
|
|
30
30
|
SOOTSIM_SHELL_COMMAND_NAME: () => SOOTSIM_SHELL_COMMAND_NAME,
|
|
31
|
+
SOOTSIM_STAGE_BACKGROUNDS: () => SOOTSIM_STAGE_BACKGROUNDS,
|
|
32
|
+
SOOTSIM_STAGE_BACKGROUND_LABELS: () => SOOTSIM_STAGE_BACKGROUND_LABELS,
|
|
31
33
|
buildSootSimDeviceChoiceDefs: () => buildSootSimDeviceChoiceDefs,
|
|
32
34
|
buildSootSimMenuDefs: () => buildSootSimMenuDefs,
|
|
33
35
|
formatAccelerator: () => formatAccelerator,
|
|
@@ -37,6 +39,7 @@ __export(menu_exports, {
|
|
|
37
39
|
getShortcutDocSectionsFromDefs: () => getShortcutDocSectionsFromDefs,
|
|
38
40
|
isSootSimAmbientGlowLevel: () => isSootSimAmbientGlowLevel,
|
|
39
41
|
isSootSimRenderResolution: () => isSootSimRenderResolution,
|
|
42
|
+
isSootSimStageBackground: () => isSootSimStageBackground,
|
|
40
43
|
matchesAccelerator: () => matchesAccelerator
|
|
41
44
|
});
|
|
42
45
|
module.exports = __toCommonJS(menu_exports);
|
|
@@ -64,6 +67,16 @@ var SOOTSIM_AMBIENT_GLOW_LABELS = {
|
|
|
64
67
|
soft: "Soft",
|
|
65
68
|
full: "Full"
|
|
66
69
|
};
|
|
70
|
+
var SOOTSIM_STAGE_BACKGROUNDS = ["system", "light", "dark", "gray"];
|
|
71
|
+
function isSootSimStageBackground(value) {
|
|
72
|
+
return value === "system" || value === "light" || value === "dark" || value === "gray";
|
|
73
|
+
}
|
|
74
|
+
var SOOTSIM_STAGE_BACKGROUND_LABELS = {
|
|
75
|
+
system: "System",
|
|
76
|
+
light: "Light",
|
|
77
|
+
dark: "Dark",
|
|
78
|
+
gray: "Gray"
|
|
79
|
+
};
|
|
67
80
|
var SOOTSIM_RENDER_RESOLUTION_LEVELS = ["high", "medium", "low"];
|
|
68
81
|
function isSootSimRenderResolution(value) {
|
|
69
82
|
return value === "high" || value === "medium" || value === "low";
|
|
@@ -459,6 +472,32 @@ function windowMenu(state) {
|
|
|
459
472
|
actionPayload: level
|
|
460
473
|
}))
|
|
461
474
|
},
|
|
475
|
+
{
|
|
476
|
+
// browser only, with the glow: the stage, its dropped wallpaper and
|
|
477
|
+
// the glow all live around the device in the browser shell. the
|
|
478
|
+
// wallpaper actions run in the shell, which owns the image.
|
|
479
|
+
label: "Background",
|
|
480
|
+
hiddenIn: "electron",
|
|
481
|
+
items: [
|
|
482
|
+
...SOOTSIM_STAGE_BACKGROUNDS.map((background) => ({
|
|
483
|
+
label: SOOTSIM_STAGE_BACKGROUND_LABELS[background],
|
|
484
|
+
type: "radio",
|
|
485
|
+
checked: state.stageBackground === background,
|
|
486
|
+
action: "set-stage-background",
|
|
487
|
+
actionPayload: background
|
|
488
|
+
})),
|
|
489
|
+
{ type: "separator" },
|
|
490
|
+
{
|
|
491
|
+
label: "Checker",
|
|
492
|
+
type: "checkbox",
|
|
493
|
+
checked: state.stageChecker,
|
|
494
|
+
action: "toggle-stage-checker"
|
|
495
|
+
},
|
|
496
|
+
{ type: "separator" },
|
|
497
|
+
{ label: "Choose Wallpaper\u2026", action: "choose-wallpaper" },
|
|
498
|
+
{ label: "Clear Wallpaper", action: "clear-wallpaper" }
|
|
499
|
+
]
|
|
500
|
+
},
|
|
462
501
|
{
|
|
463
502
|
// every host: the level only changes backing-store sizes, so the
|
|
464
503
|
// device-shaped electron window shows it the same as the browser.
|
|
@@ -685,6 +724,8 @@ function matchesAccelerator(event, accelerator) {
|
|
|
685
724
|
SOOTSIM_RENDER_RESOLUTION_LABELS,
|
|
686
725
|
SOOTSIM_RENDER_RESOLUTION_LEVELS,
|
|
687
726
|
SOOTSIM_SHELL_COMMAND_NAME,
|
|
727
|
+
SOOTSIM_STAGE_BACKGROUNDS,
|
|
728
|
+
SOOTSIM_STAGE_BACKGROUND_LABELS,
|
|
688
729
|
buildSootSimDeviceChoiceDefs,
|
|
689
730
|
buildSootSimMenuDefs,
|
|
690
731
|
formatAccelerator,
|
|
@@ -694,5 +735,6 @@ function matchesAccelerator(event, accelerator) {
|
|
|
694
735
|
getShortcutDocSectionsFromDefs,
|
|
695
736
|
isSootSimAmbientGlowLevel,
|
|
696
737
|
isSootSimRenderResolution,
|
|
738
|
+
isSootSimStageBackground,
|
|
697
739
|
matchesAccelerator
|
|
698
740
|
});
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/public-brand.ts
|
|
4
4
|
var name = "Peach";
|
|
@@ -23,6 +23,16 @@ var SOOTSIM_AMBIENT_GLOW_LABELS = {
|
|
|
23
23
|
soft: "Soft",
|
|
24
24
|
full: "Full"
|
|
25
25
|
};
|
|
26
|
+
var SOOTSIM_STAGE_BACKGROUNDS = ["system", "light", "dark", "gray"];
|
|
27
|
+
function isSootSimStageBackground(value) {
|
|
28
|
+
return value === "system" || value === "light" || value === "dark" || value === "gray";
|
|
29
|
+
}
|
|
30
|
+
var SOOTSIM_STAGE_BACKGROUND_LABELS = {
|
|
31
|
+
system: "System",
|
|
32
|
+
light: "Light",
|
|
33
|
+
dark: "Dark",
|
|
34
|
+
gray: "Gray"
|
|
35
|
+
};
|
|
26
36
|
var SOOTSIM_RENDER_RESOLUTION_LEVELS = ["high", "medium", "low"];
|
|
27
37
|
function isSootSimRenderResolution(value) {
|
|
28
38
|
return value === "high" || value === "medium" || value === "low";
|
|
@@ -418,6 +428,32 @@ function windowMenu(state) {
|
|
|
418
428
|
actionPayload: level
|
|
419
429
|
}))
|
|
420
430
|
},
|
|
431
|
+
{
|
|
432
|
+
// browser only, with the glow: the stage, its dropped wallpaper and
|
|
433
|
+
// the glow all live around the device in the browser shell. the
|
|
434
|
+
// wallpaper actions run in the shell, which owns the image.
|
|
435
|
+
label: "Background",
|
|
436
|
+
hiddenIn: "electron",
|
|
437
|
+
items: [
|
|
438
|
+
...SOOTSIM_STAGE_BACKGROUNDS.map((background) => ({
|
|
439
|
+
label: SOOTSIM_STAGE_BACKGROUND_LABELS[background],
|
|
440
|
+
type: "radio",
|
|
441
|
+
checked: state.stageBackground === background,
|
|
442
|
+
action: "set-stage-background",
|
|
443
|
+
actionPayload: background
|
|
444
|
+
})),
|
|
445
|
+
{ type: "separator" },
|
|
446
|
+
{
|
|
447
|
+
label: "Checker",
|
|
448
|
+
type: "checkbox",
|
|
449
|
+
checked: state.stageChecker,
|
|
450
|
+
action: "toggle-stage-checker"
|
|
451
|
+
},
|
|
452
|
+
{ type: "separator" },
|
|
453
|
+
{ label: "Choose Wallpaper\u2026", action: "choose-wallpaper" },
|
|
454
|
+
{ label: "Clear Wallpaper", action: "clear-wallpaper" }
|
|
455
|
+
]
|
|
456
|
+
},
|
|
421
457
|
{
|
|
422
458
|
// every host: the level only changes backing-store sizes, so the
|
|
423
459
|
// device-shaped electron window shows it the same as the browser.
|
|
@@ -643,6 +679,8 @@ export {
|
|
|
643
679
|
SOOTSIM_RENDER_RESOLUTION_LABELS,
|
|
644
680
|
SOOTSIM_RENDER_RESOLUTION_LEVELS,
|
|
645
681
|
SOOTSIM_SHELL_COMMAND_NAME,
|
|
682
|
+
SOOTSIM_STAGE_BACKGROUNDS,
|
|
683
|
+
SOOTSIM_STAGE_BACKGROUND_LABELS,
|
|
646
684
|
buildSootSimDeviceChoiceDefs,
|
|
647
685
|
buildSootSimMenuDefs,
|
|
648
686
|
formatAccelerator,
|
|
@@ -652,5 +690,6 @@ export {
|
|
|
652
690
|
getShortcutDocSectionsFromDefs,
|
|
653
691
|
isSootSimAmbientGlowLevel,
|
|
654
692
|
isSootSimRenderResolution,
|
|
693
|
+
isSootSimStageBackground,
|
|
655
694
|
matchesAccelerator
|
|
656
695
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.677 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|