@moku-labs/game 0.15.84 → 0.15.86
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/README.md +2 -1
- package/dist/app/page.d.mts +1 -1
- package/dist/app/page.mjs +1 -1
- package/dist/app/system.d.mts +3 -3
- package/dist/app.d.mts +4 -4
- package/dist/app.mjs +1 -1
- package/dist/assets.d.mts +1 -1
- package/dist/cli.mjs +519 -185
- package/dist/{commands-DKjkHK5b.d.mts → commands-CeBF2nRY.d.mts} +5 -5
- package/dist/{config-HpC-p8Ow.mjs → config-Cn1VZ-tx.mjs} +77 -4
- package/dist/control.d.mts +4 -4
- package/dist/{define-DcB9KOfh.d.mts → define-N-2nQNK_.d.mts} +2 -2
- package/dist/{headless-B8JIqsZk.d.mts → headless-DtDdn5gg.d.mts} +1 -1
- package/dist/{index-DTHVVLFB.d.mts → index-Bn0pFiae.d.mts} +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +6 -6
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-B3CsJr_p.d.mts → runtime-DOvgFNLH.d.mts} +1 -1
- package/dist/{src-D1J2QlGK.mjs → src-BFa-zMmW.mjs} +1132 -89
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-DJCC9CAp.d.mts → types-C5gLBKbm.d.mts} +16 -6
- package/dist/{types-DfHytzox.d.mts → types-CbVXXqPs.d.mts} +130 -16
- package/dist/{types-D-5dwalj.d.mts → types-CyPbo757.d.mts} +45 -7
- package/dist/{types-DsRV-ph1.d.mts → types-DNWWlVky.d.mts} +2 -2
- package/dist/{types-CPWi_CLI.d.mts → types-OBpR0u05.d.mts} +1 -1
- package/dist/{visual-B76IxxTL.d.mts → visual-Di8ecxYD.d.mts} +6 -6
- package/dist/visual.d.mts +1 -1
- package/llms.txt +3 -2
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { An as
|
|
2
|
-
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-
|
|
3
|
-
import { N as InputApi } from "./types-
|
|
4
|
-
import { t as HeadlessApp } from "./headless-
|
|
5
|
-
import { n as Command, r as ControlApp } from "./types-
|
|
1
|
+
import { An as Bookmark, D as DebugSwitches, Nn as FlowState, Qr as Api, Yr as StoreApi, Z as Api$1, oi as FrameRate, qr as Snapshot, ui as Time, ut as Captured, w as ScenesApi, wr as Api$2 } from "./types-CbVXXqPs.mjs";
|
|
2
|
+
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-C5gLBKbm.mjs";
|
|
3
|
+
import { N as InputApi } from "./types-OBpR0u05.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-DtDdn5gg.mjs";
|
|
5
|
+
import { n as Command, r as ControlApp } from "./types-DNWWlVky.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/flow/doors/commands.d.ts
|
|
8
8
|
/**
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
const BOOT_WIDTH = "40vmin";
|
|
4
4
|
/** The fade of a boot picture whose config names none, ms. */
|
|
5
5
|
const BOOT_FADE_MS = 300;
|
|
6
|
+
/** The strings a `native.signing.android` cannot go without. */
|
|
7
|
+
const ANDROID_SIGNING_FIELDS = [
|
|
8
|
+
"keystorePath",
|
|
9
|
+
"keystorePasswordEnv",
|
|
10
|
+
"keyAlias"
|
|
11
|
+
];
|
|
12
|
+
/** An iOS version as native takes it: `26.0` or `26.0.1`. */
|
|
13
|
+
const IOS_VERSION = /^\d+\.\d+(\.\d+)?$/;
|
|
6
14
|
/**
|
|
7
15
|
* The save kinds a config may name.
|
|
8
16
|
*
|
|
@@ -55,12 +63,74 @@ function overlayStarts() {
|
|
|
55
63
|
]);
|
|
56
64
|
}
|
|
57
65
|
/**
|
|
66
|
+
* Tells whether a field of a config is a string with something in it.
|
|
67
|
+
*
|
|
68
|
+
* @param value - The field, unchecked.
|
|
69
|
+
* @returns False for a missing field, an empty string and any other type.
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* isFilled(""); // false
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
function isFilled(value) {
|
|
76
|
+
return typeof value === "string" && value !== "";
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Finds the first value under an `Info.plist` value that a plist cannot hold.
|
|
80
|
+
*
|
|
81
|
+
* @param value - The value, unchecked.
|
|
82
|
+
* @param at - Its dotted path.
|
|
83
|
+
* @returns The path of the bad value, or `undefined` when all of it is fine.
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* badPlistValue({ a: [true, 7] }, "Key"); // "Key.a.1"
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
function badPlistValue(value, at) {
|
|
90
|
+
if (typeof value === "string" || typeof value === "boolean") return void 0;
|
|
91
|
+
if (!(value instanceof Object)) return at;
|
|
92
|
+
for (const [key, child] of Object.entries(value)) {
|
|
93
|
+
const bad = badPlistValue(child, `${at}.${key}`);
|
|
94
|
+
if (bad !== void 0) return bad;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Throws for a half-filled `native.signing`.
|
|
99
|
+
*
|
|
100
|
+
* @param signing - `native.signing` of the config.
|
|
101
|
+
* @throws {Error} When `android` misses one of its required strings, or `apple` has no `teamId`.
|
|
102
|
+
*/
|
|
103
|
+
function checkSigning(signing) {
|
|
104
|
+
const android = signing?.android;
|
|
105
|
+
const missing = ANDROID_SIGNING_FIELDS.find((field) => !isFilled(android?.[field]));
|
|
106
|
+
if (android !== void 0 && missing !== void 0) throw new Error(`[game] config.native.signing.android has no ${missing}.\n Name keystorePath, keystorePasswordEnv and keyAlias.`);
|
|
107
|
+
if (signing?.apple !== void 0 && !isFilled(signing.apple.teamId)) throw new Error("[game] config.native.signing.apple has no teamId.\n Name the Apple Developer team id.");
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Throws for a value of `native.ios` that would fail deep in a build.
|
|
111
|
+
*
|
|
112
|
+
* @param ios - `native.ios` of the config.
|
|
113
|
+
* @throws {Error} When `minimumVersion` is no iOS version, or a value of `infoPlist`, at any depth,
|
|
114
|
+
* is no plist value.
|
|
115
|
+
*/
|
|
116
|
+
function checkIos(ios) {
|
|
117
|
+
const minimum = ios?.minimumVersion;
|
|
118
|
+
const isIosVersion = typeof minimum === "string" && IOS_VERSION.test(minimum);
|
|
119
|
+
if (minimum !== void 0 && !isIosVersion) throw new Error(`[game] config.native.ios.minimumVersion is ${JSON.stringify(minimum)}.\n Use a version such as "26.0" or "26.0.1".`);
|
|
120
|
+
for (const [key, value] of Object.entries(ios?.infoPlist ?? {})) {
|
|
121
|
+
const bad = badPlistValue(value, key);
|
|
122
|
+
if (bad === void 0) continue;
|
|
123
|
+
throw new Error(`[game] config.native.ios.infoPlist.${bad} is not a plist value.\n Use a string, a boolean, an array or an object.`);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
58
127
|
* Throws for the first value of a config that TypeScript would have refused.
|
|
59
128
|
*
|
|
60
129
|
* @param config - The default export of `config.ts`.
|
|
61
130
|
* @throws {Error} When `save` is not a save kind, a `system` name is not wired, the title is empty,
|
|
62
|
-
* `debug.overlay` is not a start mode, `page.boot` has no image,
|
|
63
|
-
* or more.
|
|
131
|
+
* `debug.overlay` is not a start mode, `page.boot` has no image, `page.boot.fadeMs` is not a finite number of 0
|
|
132
|
+
* or more, `native.signing` is half filled, `native.ios.minimumVersion` is no iOS version, or a value of
|
|
133
|
+
* `native.ios.infoPlist` is no plist value.
|
|
64
134
|
*/
|
|
65
135
|
function checkConfig(config) {
|
|
66
136
|
if (config.save !== void 0 && !saveKinds().has(config.save)) throw new Error(`[game] config.save is "${config.save}".\n Use "memory", "local" or "store".`);
|
|
@@ -74,6 +144,8 @@ function checkConfig(config) {
|
|
|
74
144
|
if (config.page.boot !== void 0 && (typeof image !== "string" || image === "")) throw new Error("[game] config.page.boot has no image.\n Name a picture file of the game in page.boot.image.");
|
|
75
145
|
const fadeMs = config.page.boot?.fadeMs;
|
|
76
146
|
if (fadeMs !== void 0 && !(Number.isFinite(fadeMs) && fadeMs >= 0)) throw new Error(`[game] config.page.boot.fadeMs is ${String(fadeMs)}.\n Use a number of milliseconds, 0 or more.`);
|
|
147
|
+
checkSigning(config.native?.signing);
|
|
148
|
+
checkIos(config.native?.ios);
|
|
77
149
|
}
|
|
78
150
|
/**
|
|
79
151
|
* Fills the defaults of `page.boot`: the width `"40vmin"`, the fade 300 ms.
|
|
@@ -101,8 +173,9 @@ function resolveBoot(boot) {
|
|
|
101
173
|
* @param config - The default export of `config.ts`.
|
|
102
174
|
* @returns The config with every field set.
|
|
103
175
|
* @throws {Error} When `save` is not a save kind, a `system` name is not wired, the title is empty,
|
|
104
|
-
* `debug.overlay` is not a start mode, `page.boot` has no image,
|
|
105
|
-
* or more.
|
|
176
|
+
* `debug.overlay` is not a start mode, `page.boot` has no image, `page.boot.fadeMs` is not a finite number of 0
|
|
177
|
+
* or more, `native.signing` is half filled, `native.ios.minimumVersion` is no iOS version, or a value of
|
|
178
|
+
* `native.ios.infoPlist` is no plist value.
|
|
106
179
|
* @example
|
|
107
180
|
* ```ts
|
|
108
181
|
* resolveConfig({ page: { title: "T" } }).save; // "memory"
|
package/dist/control.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as HeadlessApp } from "./headless-
|
|
2
|
-
import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-
|
|
3
|
-
import { t as commands } from "./commands-
|
|
4
|
-
import { t as defineCommand } from "./define-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-DtDdn5gg.mjs";
|
|
2
|
+
import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DNWWlVky.mjs";
|
|
3
|
+
import { t as commands } from "./commands-CeBF2nRY.mjs";
|
|
4
|
+
import { t as defineCommand } from "./define-N-2nQNK_.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/flow/doors/dev.d.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as HeadlessApp } from "./headless-
|
|
2
|
-
import { c as Source, n as Command, o as InputSchema } from "./types-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-DtDdn5gg.mjs";
|
|
2
|
+
import { c as Source, n as Command, o as InputSchema } from "./types-DNWWlVky.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/flow/doors/define.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gn as Answer, In as RouteStep, Nn as FlowState, Pn as JournalEntry, Rr as Json, Zr as RngState, ii as Api, un as Api$1 } from "./types-CbVXXqPs.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/flow/headless.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-
|
|
3
|
-
import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-
|
|
1
|
+
import { $n as NumericFields, $r as Config$4, Bn as Effect, Br as State$5, C as SceneSpec, Cr as TagType, Ct as FrameRing, Dn as FeaturePlugin, Dr as State$9, En as FeatureDescription, F as HudPartValue, G as SpriteOptions, Gn as Answer, H as ShapeValue, Hn as GuideOptions, Hr as Patch, Ir as Config$5, J as TransformValue, Jn as DescriptionNode, K as SpriteValue, L as NineSliceValue, Ln as SceneIdOf, Nr as State$2, Nt as PassKind, On as FeatureTree, Q as Config$6, Qr as Api$3, Rr as Json, S as SceneDefinition, Sr as SystemFor, St as FrameRecord, T as State$7, Tr as Config$9, Un as Hint, Vn as EffectOptions, Xr as RngApi, Y as sprite, Yn as Ease, Yr as StoreApi, Z as Api$4, _ as AnySceneProjection, _n as State$3, _r as Mut, a as Config$1, ai as Config$8, br as ResourceType, c as LoadBundles, ci as State$8, dn as BundlesOf, ei as Events, er as ProjectionMotion, f as ReadyBundles, fi as Config$10, fn as Config$3, fr as ComponentType, hn as HudKeysOf, ht as ViewportSize, i as BundleSpec, ii as Api$5, jn as DefineNode, jr as Config$2, kr as Api$1, l as LoadReason, li as ThermalReading, m as Tier, mi as Require, mn as GameTypes, ni as State$4, nr as ReducedMotion, o as DefineBundles, p as State$1, pi as Events$1, pn as EmitterIdOf, pr as ComponentValue, r as BundleMap, si as RateChange, st as State$6, t as Api, ti as PauseReason, tr as ProjectionSpec, u as LoadResult, un as Api$2, ur as ComponentHandle, v as Config$7, vn as TextStylesOf, vr as Narrowed, w as ScenesApi, wr as Api$6, x as LayerMap, xn as defineFlow, xr as SystemDefinition, y as DefineScene, yr as QueryTerm, z as OverlayValue, zn as Descriptor, zr as Root } from "./types-CbVXXqPs.mjs";
|
|
2
|
+
import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-C5gLBKbm.mjs";
|
|
3
|
+
import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-OBpR0u05.mjs";
|
|
4
4
|
import { Log } from "@moku-labs/common/browser";
|
|
5
5
|
import { PluginCtx } from "@moku-labs/core";
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as
|
|
2
|
-
import { $ as sequence, E as FilterArea, G as HAPTIC_KINDS, H as HapticKind, J as frames, K as defineAnimation, Q as play, V as types_d_exports, X as mark, Y as haptic, Z as parallel, at as stopSfx, ct as wait, et as set, i as types_d_exports$16, it as stagger, nt as spawn, ot as tween, p as types_d_exports$2, q as external, rt as spawned, st as use, tt as sfx, ut as types_d_exports$4, v as types_d_exports$5 } from "./types-
|
|
3
|
-
import { A as types_d_exports$14, E as TextFormat, F as types_d_exports$8, K as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as defineComponent, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-
|
|
4
|
-
import { $ as system, A as Draggable, At as Text, B as Touchable, C as AnimPlayer, Ct as debugPlugin, D as defineBundles, Dt as animPlugin, E as defineScene, Et as assetsPlugin, F as PointerOver, G as Exiting, H as Traced, I as Pressable, J as Order, K as Layer, L as Pressed, M as Held, Mt as defineTextStyles, N as Hovered, Nt as label, O as load, Ot as projection, P as Pointer, Q as resource, R as Swipeable, S as defineMotion, St as effectsPlugin, T as Frames, Tt as audioPlugin, U as PASS_KINDS, V as Traceable, W as frameAt, X as component, Y as Tree, Z as mut, _ as defineStyle, _t as modelPlugin, a as defineEmitter, at as defineFeature, b as messageDuration, bt as i18nPlugin, c as Alpha, ct as uiPlugin, d as Displacement, dt as scenesPlugin, et as tag, f as Glow, ft as rendererPlugin, g as resolve, gt as types_d_exports$11, h as music, ht as PlatformProvider, i as screen, it as schedule, j as DropTarget, jt as bind, k as ready, kt as Countdown, l as Blur, lt as timePlugin, m as Outline, mt as BackResult, n as createPlugin, nt as guide, o as Emitter, ot as flattenFeatures, p as Noise, pt as platformPlugin, q as Now, r as defineGame, rt as hint, s as defineFilter, st as worldPlugin, t as createApp, tt as defineEffect, u as ColorMatrix, ut as textPlugin, v as tr, vt as lifecyclePlugin, w as Animation, wt as clockPlugin, x as cubicBezier, xt as flowPlugin, y as messageArgument, yt as inputPlugin, z as Tappable } from "./index-
|
|
1
|
+
import { $ as MonitorConfig, $t as PerfThermalLine, At as PERF_GAP_BUCKETS, B as Parent, Bt as PerfDisplay, Cn as slot, Ct as FrameRing, Dt as OverlayEventDetail, E as types_d_exports$13, Et as MonitorSections, F as HudPartValue, Ft as PerfCause, Gt as PerfLogLine, Ht as PerfEventName, I as NineSlice, It as PerfChange, Jn as DescriptionNode, Jt as PerfMeasured, Kn as AnchorTarget, Kr as SaveUnreadableError, Kt as PerfLongFrameLine, Lt as PerfChangeEntry, M as WhyEntry, Mt as PROBLEM_RULES, N as Display, Nt as PassKind, Or as types_d_exports$17, Ot as OverlayWhat, P as HudPart, Pr as types_d_exports$3, Pt as PassRecord, Qt as PerfTelemetryLine, R as Overlay, Rt as PerfCollectorLine, Sn as exit, St as FrameRecord, Tn as type, Tt as MONITOR_SECTIONS, U as Sprite, Ut as PerfGapLine, V as Shape, Vr as types_d_exports$10, Vt as PerfEventLine, W as SpriteBlend, Wt as PerfHeaderLine, X as AdaptiveScale, Xt as PerfSpikeLine, Y as sprite, Yt as PerfSampleLine, Zt as PerfStartupLine, _t as RetakeWhy, an as ShaderWhat, bn as contribution, bt as FrameReadResult, cn as CanvasRestart, di as types_d_exports$15, dt as MonitorCounts, en as PoolTrimDetail, g as types_d_exports$1, in as ShaderEventDetail, jt as PERF_LOG_VERSION, kt as PERF_CAUSES, ln as DEMAND_REASONS, lt as types_d_exports$12, nn as ProblemRule, on as WarmDetail, ot as PoolTrim, q as Transform, qt as PerfMarkLine, ri as types_d_exports$9, rn as SHADER_WHATS, rr as SceneSwitch, sn as CANVAS_RESTARTS, tn as ProblemEventDetail, vt as WhyLive, wn as to, wt as LongFrameEntry, xt as FrameReadout, yn as types_d_exports$6, yt as FrameColumns, z as OverlayValue, zt as PerfCounts } from "./types-CbVXXqPs.mjs";
|
|
2
|
+
import { $ as sequence, E as FilterArea, G as HAPTIC_KINDS, H as HapticKind, J as frames, K as defineAnimation, Q as play, V as types_d_exports, X as mark, Y as haptic, Z as parallel, at as stopSfx, ct as wait, et as set, i as types_d_exports$16, it as stagger, nt as spawn, ot as tween, p as types_d_exports$2, q as external, rt as spawned, st as use, tt as sfx, ut as types_d_exports$4, v as types_d_exports$5 } from "./types-C5gLBKbm.mjs";
|
|
3
|
+
import { A as types_d_exports$14, E as TextFormat, F as types_d_exports$8, K as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as defineComponent, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-OBpR0u05.mjs";
|
|
4
|
+
import { $ as system, A as Draggable, At as Text, B as Touchable, C as AnimPlayer, Ct as debugPlugin, D as defineBundles, Dt as animPlugin, E as defineScene, Et as assetsPlugin, F as PointerOver, G as Exiting, H as Traced, I as Pressable, J as Order, K as Layer, L as Pressed, M as Held, Mt as defineTextStyles, N as Hovered, Nt as label, O as load, Ot as projection, P as Pointer, Q as resource, R as Swipeable, S as defineMotion, St as effectsPlugin, T as Frames, Tt as audioPlugin, U as PASS_KINDS, V as Traceable, W as frameAt, X as component, Y as Tree, Z as mut, _ as defineStyle, _t as modelPlugin, a as defineEmitter, at as defineFeature, b as messageDuration, bt as i18nPlugin, c as Alpha, ct as uiPlugin, d as Displacement, dt as scenesPlugin, et as tag, f as Glow, ft as rendererPlugin, g as resolve, gt as types_d_exports$11, h as music, ht as PlatformProvider, i as screen, it as schedule, j as DropTarget, jt as bind, k as ready, kt as Countdown, l as Blur, lt as timePlugin, m as Outline, mt as BackResult, n as createPlugin, nt as guide, o as Emitter, ot as flattenFeatures, p as Noise, pt as platformPlugin, q as Now, r as defineGame, rt as hint, s as defineFilter, st as worldPlugin, t as createApp, tt as defineEffect, u as ColorMatrix, ut as textPlugin, v as tr, vt as lifecyclePlugin, w as Animation, wt as clockPlugin, x as cubicBezier, xt as flowPlugin, y as messageArgument, yt as inputPlugin, z as Tappable } from "./index-Bn0pFiae.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, type BackResult, type BindOptions, Blur, Box, CANVAS_RESTARTS, type CanvasRestart, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, types_d_exports$6 as Flow, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, type RetakeWhy, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Sprite, type SpriteBlend, Swipeable, Tappable, Text, type TextFormat, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, type WarmDetail, type WhyEntry, type WhyLive, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as sfx, $t as worldPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as DEMAND_REASONS, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-
|
|
1
|
+
import { $ as sfx, $t as worldPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as DEMAND_REASONS, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-BFa-zMmW.mjs";
|
|
2
2
|
import { $ as Layer, B as Display, C as defineStyle, E as bind, G as Parent, H as NineSlice, J as Transform, K as Shape, O as defineTextStyles, Q as Exiting, S as defineTokens, T as Text, U as Overlay, V as HudPart, Z as sprite, _ as ScrollState, at as resource, b as popup, ct as tag, d as Box, et as Now, h as LocalWrite, it as mut, k as label, nt as Tree, ot as system, p as DebugTrigger, q as Sprite, rt as component, tt as Order, w as Countdown } from "./visual-B7TxMv1J.mjs";
|
|
3
3
|
import { t as defineComponent } from "./component-DGg5DqKK.mjs";
|
|
4
4
|
export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, types_exports$6 as Flow, Frames, Glow, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/inspect.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-
|
|
3
|
-
import { c as UiNode } from "./types-
|
|
4
|
-
import { t as HeadlessApp } from "./headless-
|
|
5
|
-
import { a as InputOf, c as Source, i as InputArguments, l as WatchApp, o as InputSchema, t as CheatEntry, u as WatchInput } from "./types-
|
|
6
|
-
import { n as defineSource } from "./define-
|
|
1
|
+
import { Er as Explained, Fr as Api, Mn as FlowGraph, Pn as JournalEntry, Z as Api$2, ct as Under, dr as ComponentSchema, ft as RenderStats, gn as Position, gr as FrameDiff, h as Usage, hr as EntitySnapshot, qr as Snapshot, t as Api$3, wr as Api$1 } from "./types-CbVXXqPs.mjs";
|
|
2
|
+
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-C5gLBKbm.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-OBpR0u05.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-DtDdn5gg.mjs";
|
|
5
|
+
import { a as InputOf, c as Source, i as InputArguments, l as WatchApp, o as InputSchema, t as CheatEntry, u as WatchInput } from "./types-DNWWlVky.mjs";
|
|
6
|
+
import { n as defineSource } from "./define-N-2nQNK_.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/flow/doors/read.d.ts
|
|
9
9
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-
|
|
1
|
+
import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-DOvgFNLH.mjs";
|
|
2
2
|
export { Fragment, type JSX, jsx, jsxDEV, jsxs };
|
package/dist/jsx-runtime.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-
|
|
1
|
+
import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-DOvgFNLH.mjs";
|
|
2
2
|
export { Fragment, type JSX, jsx, jsxs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-
|
|
1
|
+
import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-OBpR0u05.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/ui/jsx/runtime.d.ts
|
|
4
4
|
/** What the compiler passes as props: the children plus whatever the tag declared. */
|