@moku-labs/game 0.15.28 → 0.15.30
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/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 +3 -3
- package/dist/app.mjs +1 -1
- package/dist/assets.d.mts +1 -1
- package/dist/{commands-BJ4gG5WZ.d.mts → commands-BUfZJUx6.d.mts} +31 -31
- package/dist/control.d.mts +4 -4
- package/dist/control.mjs +2 -2
- package/dist/{define-CVYadV_I.d.mts → define-CE1uxbe9.d.mts} +2 -2
- package/dist/{headless-DBYmnluy.d.mts → headless-f31cEZ7f.d.mts} +1 -1
- package/dist/{index-Dn_v0Fqs.d.mts → index-B2GejbLf.d.mts} +26 -23
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +16 -16
- package/dist/inspect.mjs +2 -2
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{run-DRcc2SKF.mjs → run-DyL8rl2P.mjs} +15 -43
- package/dist/{runtime-DnjJ4Zo9.d.mts → runtime-HwTBjkIL.d.mts} +1 -1
- package/dist/{session-CeKgO2hy.mjs → session-DuZfGZWk.mjs} +20 -1
- package/dist/{sources-ncFMQIus.mjs → sources-DM5Zcl4o.mjs} +8 -17
- package/dist/{src-DPvSTM8O.mjs → src-B4JjsuEy.mjs} +1704 -603
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-bEJEga5m.d.mts → types-BAp9HdR4.d.mts} +10 -2
- package/dist/{types-Bsa1nFyU.d.mts → types-BWRJcZ3n.d.mts} +4 -4
- package/dist/{types-DTetCcBC.d.mts → types-CgE5L_7f.d.mts} +2 -2
- package/dist/{types-C_nC_M4p.d.mts → types-D27I4Q7b.d.mts} +312 -22
- package/dist/{types-C76NQm-h.d.mts → types-DjQkfbfZ.d.mts} +2 -2
- package/dist/{visual-BMRHt4IB.d.mts → visual-f6mtELhG.d.mts} +6 -6
- package/dist/visual.d.mts +1 -1
- package/dist/visual.mjs +2 -2
- package/llms.txt +12 -11
- package/package.json +1 -1
package/dist/app/page.d.mts
CHANGED
package/dist/app/page.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as systemSource, t as memory } from "../memory-CWlqhS7l.mjs";
|
|
2
2
|
import { t as applyTo } from "../drafts-BawpSaVp.mjs";
|
|
3
3
|
import { i as isControl } from "../dev-BNndV-hU.mjs";
|
|
4
|
-
import { n as read, r as watch, t as sources } from "../sources-
|
|
4
|
+
import { n as read, r as watch, t as sources } from "../sources-DM5Zcl4o.mjs";
|
|
5
5
|
import { t as resolveConfig } from "../config-B87aFTW-.mjs";
|
|
6
6
|
//#region src/app/save.ts
|
|
7
7
|
/**
|
package/dist/app/system.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ht as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-
|
|
1
|
+
import { Mr as PlayerStateProvider } from "../types-D27I4Q7b.mjs";
|
|
2
|
+
import { ht as PlatformProvider } from "../index-B2GejbLf.mjs";
|
|
3
|
+
import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-BWRJcZ3n.mjs";
|
|
4
4
|
import { Back, Haptics, KeepAwake, Lifecycle, Store } from "@moku-labs/system";
|
|
5
5
|
|
|
6
6
|
//#region src/app/system.d.ts
|
package/dist/app.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { U as StringTable } from "./types-
|
|
3
|
-
import { a as GameHandle, c as MemoryProvider, d as SaveKind, f as Scenario, g as SystemName, i as GameDefinition, l as PageAgent, n as GameApp, o as GamePluginConfigs, p as ScreenSeams, r as GameConfig, s as HeadlessSeams, v as WithGameState } from "./types-
|
|
1
|
+
import { Dr as Json } from "./types-D27I4Q7b.mjs";
|
|
2
|
+
import { U as StringTable } from "./types-BAp9HdR4.mjs";
|
|
3
|
+
import { a as GameHandle, c as MemoryProvider, d as SaveKind, f as Scenario, g as SystemName, i as GameDefinition, l as PageAgent, n as GameApp, o as GamePluginConfigs, p as ScreenSeams, r as GameConfig, s as HeadlessSeams, v as WithGameState } from "./types-BWRJcZ3n.mjs";
|
|
4
4
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
5
5
|
|
|
6
6
|
//#region src/app/define.d.ts
|
package/dist/app.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-
|
|
1
|
+
import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-B4JjsuEy.mjs";
|
|
2
2
|
import { t as memory } from "./memory-CWlqhS7l.mjs";
|
|
3
3
|
import { n as isFakeClock, t as fakeClock } from "./fake-6mazmHK3.mjs";
|
|
4
4
|
//#region src/app/define.ts
|
package/dist/assets.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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 { $r as Time, D as DebugSwitches, Ir as Snapshot, Rr as StoreApi, Vr as Api, Y as Api$1, Yr as FrameRate, ar as FlowState, nn as Api$2, nr as Bookmark, ot as Captured, w as ScenesApi } from "./types-D27I4Q7b.mjs";
|
|
2
|
+
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-DjQkfbfZ.mjs";
|
|
3
|
+
import { N as InputApi } from "./types-BAp9HdR4.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-f31cEZ7f.mjs";
|
|
5
|
+
import { n as Command, r as ControlApp } from "./types-CgE5L_7f.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/flow/doors/commands.d.ts
|
|
8
8
|
/**
|
|
@@ -19,8 +19,8 @@ import { n as Command, r as ControlApp } from "./types-DTetCcBC.mjs";
|
|
|
19
19
|
*/
|
|
20
20
|
declare const commands: Readonly<{
|
|
21
21
|
answer: Command<{
|
|
22
|
-
intent: "string";
|
|
23
|
-
payload: "json?";
|
|
22
|
+
readonly intent: "string";
|
|
23
|
+
readonly payload: "json?";
|
|
24
24
|
}, boolean, ControlApp>;
|
|
25
25
|
tap: Command<{
|
|
26
26
|
key: "string?";
|
|
@@ -32,23 +32,23 @@ declare const commands: Readonly<{
|
|
|
32
32
|
readonly ui: Pick<UiApi, "find">;
|
|
33
33
|
}>;
|
|
34
34
|
drag: Command<{
|
|
35
|
-
from: "json";
|
|
36
|
-
to: "json";
|
|
35
|
+
readonly from: "json";
|
|
36
|
+
readonly to: "json";
|
|
37
37
|
}, boolean, HeadlessApp & {
|
|
38
38
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
39
39
|
} & {
|
|
40
40
|
readonly input: InputApi;
|
|
41
41
|
}>;
|
|
42
42
|
key: Command<{
|
|
43
|
-
key: "string";
|
|
44
|
-
shift: "boolean?";
|
|
43
|
+
readonly key: "string";
|
|
44
|
+
readonly shift: "boolean?";
|
|
45
45
|
}, boolean, HeadlessApp & {
|
|
46
46
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
47
47
|
} & {
|
|
48
48
|
readonly input: InputApi;
|
|
49
49
|
}>;
|
|
50
50
|
walk: Command<{
|
|
51
|
-
route: "json";
|
|
51
|
+
readonly route: "json";
|
|
52
52
|
}, FlowState, ControlApp>;
|
|
53
53
|
bookmark: Command<{}, Bookmark, HeadlessApp & {
|
|
54
54
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
@@ -56,8 +56,8 @@ declare const commands: Readonly<{
|
|
|
56
56
|
readonly scenes?: ScenesApi;
|
|
57
57
|
}>;
|
|
58
58
|
restore: Command<{
|
|
59
|
-
bookmark: "json?";
|
|
60
|
-
repro: "json?";
|
|
59
|
+
readonly bookmark: "json?";
|
|
60
|
+
readonly repro: "json?";
|
|
61
61
|
}, FlowState, HeadlessApp & {
|
|
62
62
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
63
63
|
} & {
|
|
@@ -73,7 +73,7 @@ declare const commands: Readonly<{
|
|
|
73
73
|
};
|
|
74
74
|
}>;
|
|
75
75
|
saveImport: Command<{
|
|
76
|
-
save: "json";
|
|
76
|
+
readonly save: "json";
|
|
77
77
|
}, {
|
|
78
78
|
restored: boolean;
|
|
79
79
|
}, HeadlessApp & {
|
|
@@ -86,8 +86,8 @@ declare const commands: Readonly<{
|
|
|
86
86
|
};
|
|
87
87
|
}>;
|
|
88
88
|
step: Command<{
|
|
89
|
-
frames: "number";
|
|
90
|
-
deltaMs: "number?";
|
|
89
|
+
readonly frames: "number";
|
|
90
|
+
readonly deltaMs: "number?";
|
|
91
91
|
}, Readonly<Time>, ControlApp>;
|
|
92
92
|
pause: Command<{}, boolean, HeadlessApp & {
|
|
93
93
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
@@ -100,10 +100,10 @@ declare const commands: Readonly<{
|
|
|
100
100
|
readonly lifecycle: Api;
|
|
101
101
|
}>;
|
|
102
102
|
capture: Command<{
|
|
103
|
-
legend: "boolean?";
|
|
104
|
-
layers: "json?";
|
|
105
|
-
sheet: "json?";
|
|
106
|
-
diff: "json?";
|
|
103
|
+
readonly legend: "boolean?";
|
|
104
|
+
readonly layers: "json?";
|
|
105
|
+
readonly sheet: "json?";
|
|
106
|
+
readonly diff: "json?";
|
|
107
107
|
}, Captured | undefined, HeadlessApp & {
|
|
108
108
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
109
109
|
} & {
|
|
@@ -112,10 +112,10 @@ declare const commands: Readonly<{
|
|
|
112
112
|
readonly world: Api$2;
|
|
113
113
|
}>;
|
|
114
114
|
debug: Command<{
|
|
115
|
-
nineSlice: "boolean?";
|
|
116
|
-
verifyFrames: "boolean?";
|
|
117
|
-
kept: "boolean?";
|
|
118
|
-
overdraw: "boolean?";
|
|
115
|
+
readonly nineSlice: "boolean?";
|
|
116
|
+
readonly verifyFrames: "boolean?";
|
|
117
|
+
readonly kept: "boolean?";
|
|
118
|
+
readonly overdraw: "boolean?";
|
|
119
119
|
}, DebugSwitches, HeadlessApp & {
|
|
120
120
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
121
121
|
} & {
|
|
@@ -145,28 +145,28 @@ declare const commands: Readonly<{
|
|
|
145
145
|
readonly ui: Pick<UiApi, "scroll">;
|
|
146
146
|
}>;
|
|
147
147
|
timeScale: Command<{
|
|
148
|
-
scale: "number";
|
|
148
|
+
readonly scale: "number";
|
|
149
149
|
}, Readonly<Time>, ControlApp>;
|
|
150
150
|
frameRate: Command<{
|
|
151
|
-
fps: "number?";
|
|
151
|
+
readonly fps: "number?";
|
|
152
152
|
}, Readonly<FrameRate>, ControlApp>;
|
|
153
153
|
mute: Command<{
|
|
154
|
-
muted: "boolean";
|
|
154
|
+
readonly muted: "boolean";
|
|
155
155
|
}, boolean, HeadlessApp & {
|
|
156
156
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
157
157
|
} & {
|
|
158
158
|
readonly audio?: AudioApi;
|
|
159
159
|
}>;
|
|
160
160
|
trace: Command<{
|
|
161
|
-
path: "json";
|
|
161
|
+
readonly path: "json";
|
|
162
162
|
}, boolean, HeadlessApp & {
|
|
163
163
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
164
164
|
} & {
|
|
165
165
|
readonly input: InputApi;
|
|
166
166
|
}>;
|
|
167
167
|
filter: Command<{
|
|
168
|
-
kind: "string";
|
|
169
|
-
on: "boolean";
|
|
168
|
+
readonly kind: "string";
|
|
169
|
+
readonly on: "boolean";
|
|
170
170
|
}, readonly string[], HeadlessApp & {
|
|
171
171
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
172
172
|
} & {
|
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-f31cEZ7f.mjs";
|
|
2
|
+
import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-CgE5L_7f.mjs";
|
|
3
|
+
import { t as commands } from "./commands-BUfZJUx6.mjs";
|
|
4
|
+
import { t as defineCommand } from "./define-CE1uxbe9.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/flow/doors/dev.d.ts
|
|
7
7
|
/**
|
package/dist/control.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as controlRefused, t as controlReadOnly } from "./dev-BNndV-hU.mjs";
|
|
2
|
-
import { s as defineCommand } from "./session-
|
|
3
|
-
import { n as commands, t as run } from "./run-
|
|
2
|
+
import { s as defineCommand } from "./session-DuZfGZWk.mjs";
|
|
3
|
+
import { n as commands, t as run } from "./run-DyL8rl2P.mjs";
|
|
4
4
|
export { commands, controlReadOnly, controlRefused, defineCommand, run };
|
|
@@ -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-f31cEZ7f.mjs";
|
|
2
|
+
import { c as Source, n as Command, o as InputSchema } from "./types-CgE5L_7f.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/flow/doors/define.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Br as RngState, Dr as Json, Ln as Api$1, _r as Answer, ar as FlowState, cr as RouteStep, or as JournalEntry, qr as Api } from "./types-D27I4Q7b.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$
|
|
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$
|
|
1
|
+
import { $n as FeaturePlugin, An as NumericFields, B as ShapeValue, Bn as EmitterIdOf, C as SceneSpec, Cn as TagType, Dr as Json, Dt as PassKind, En as Ease, F as NineSliceValue, Gn as TextStylesOf, Gr as State$4, Hn as HudKeysOf, Hr as Config$4, Jr as Config$8, K as TransformValue, L as OverlayValue, Ln as Api$2, Mn as ProjectionSpec, N as HudPartValue, Nn as ReducedMotion, Or as Root, Qn as FeatureDescription, Qr as ThermalReading, Rn as BundlesOf, Rr as StoreApi, S as SceneDefinition, Sn as SystemFor, Sr as State$2, T as State$7, Tn as DescriptionNode, Tr as Config$5, U as SpriteOptions, Ur as Events, Vn as GameTypes, Vr as Api$3, W as SpriteValue, Wn as State$3, Wr as PauseReason, X as Config$6, Xr as RateChange, Y as Api$4, Zr as State$8, _ as AnySceneProjection, _n as Mut, _r as Answer, _t as FrameRing, a as Config$1, an as State$9, bn as ResourceType, br as Config$2, c as LoadBundles, dr as Descriptor, dt as ViewportSize, er as FeatureTree, f as ReadyBundles, fn as ComponentType, fr as Effect, gt as FrameRecord, hr as Hint, i as BundleSpec, jn as ProjectionMotion, jr as Patch, kr as State$5, l as LoadReason, lr as SceneIdOf, m as Tier, mr as GuideOptions, ni as Events$1, nn as Api$6, o as DefineBundles, p as State$1, pn as ComponentValue, pr as EffectOptions, q as sprite, qn as defineFlow, qr as Api$5, r as BundleMap, ri as Require, rn as Config$9, rr as DefineNode, rt as State$6, t as Api, ti as Config$10, u as LoadResult, un as ComponentHandle, v as Config$7, vn as Narrowed, vr as Api$1, w as ScenesApi, x as LayerMap, xn as SystemDefinition, y as DefineScene, yn as QueryTerm, zn as Config$3, zr as RngApi } from "./types-D27I4Q7b.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-DjQkfbfZ.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-BAp9HdR4.mjs";
|
|
4
4
|
import { Log } from "@moku-labs/common/browser";
|
|
5
5
|
import { PluginCtx } from "@moku-labs/core";
|
|
6
6
|
|
|
@@ -151,7 +151,7 @@ type ProjectionFor<Player, Session> = <const LayerName extends string, const Lif
|
|
|
151
151
|
* app.anim.play(coinsFly, { from: purse, to: counter }).marks(); // []: the first frame is next
|
|
152
152
|
* ```
|
|
153
153
|
*/
|
|
154
|
-
declare const animPlugin: import("@moku-labs/core").PluginInstance<"anim", Config$
|
|
154
|
+
declare const animPlugin: import("@moku-labs/core").PluginInstance<"anim", Config$11, State$10, AnimApi, {
|
|
155
155
|
"anim:mark": {
|
|
156
156
|
animation: string;
|
|
157
157
|
mark: string;
|
|
@@ -217,7 +217,7 @@ declare const assetsPlugin: import("@moku-labs/core").PluginInstance<"assets", C
|
|
|
217
217
|
* });
|
|
218
218
|
* ```
|
|
219
219
|
*/
|
|
220
|
-
declare const audioPlugin: import("@moku-labs/core").PluginInstance<"audio", Config$
|
|
220
|
+
declare const audioPlugin: import("@moku-labs/core").PluginInstance<"audio", Config$12, State$11, AudioApi, {}> & Record<never, never>;
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/plugins/clock/index.d.ts
|
|
223
223
|
/**
|
|
@@ -263,7 +263,7 @@ declare const debugPlugin: import("@moku-labs/core").PluginInstance<"debug", Rec
|
|
|
263
263
|
* app.effects.stats(); // { particles: 0, emitters: 0, filters: 0, renderPasses: 0 }: nothing runs before start
|
|
264
264
|
* ```
|
|
265
265
|
*/
|
|
266
|
-
declare const effectsPlugin: import("@moku-labs/core").PluginInstance<"effects", Config$
|
|
266
|
+
declare const effectsPlugin: import("@moku-labs/core").PluginInstance<"effects", Config$13, State$12, EffectsApi, {}> & Record<never, never>;
|
|
267
267
|
//#endregion
|
|
268
268
|
//#region src/plugins/flow/index.d.ts
|
|
269
269
|
/**
|
|
@@ -327,7 +327,7 @@ declare const flowPlugin: import("@moku-labs/core").PluginInstance<"flow", Confi
|
|
|
327
327
|
* await app.assets.load("ep01"); // resolves after strings.ep01 of the loaded locales arrived
|
|
328
328
|
* ```
|
|
329
329
|
*/
|
|
330
|
-
declare const i18nPlugin: import("@moku-labs/core").PluginInstance<"i18n", Config$
|
|
330
|
+
declare const i18nPlugin: import("@moku-labs/core").PluginInstance<"i18n", Config$15, State$14, I18nApi, {
|
|
331
331
|
"i18n:locale-changed": {
|
|
332
332
|
locale: string;
|
|
333
333
|
};
|
|
@@ -352,7 +352,7 @@ declare const i18nPlugin: import("@moku-labs/core").PluginInstance<"i18n", Confi
|
|
|
352
352
|
* });
|
|
353
353
|
* ```
|
|
354
354
|
*/
|
|
355
|
-
declare const inputPlugin: import("@moku-labs/core").PluginInstance<"input", Config$
|
|
355
|
+
declare const inputPlugin: import("@moku-labs/core").PluginInstance<"input", Config$16, State$15, InputApi, {}> & Record<never, never>;
|
|
356
356
|
//#endregion
|
|
357
357
|
//#region src/plugins/lifecycle/index.d.ts
|
|
358
358
|
/**
|
|
@@ -597,9 +597,12 @@ declare const rendererPlugin: import("@moku-labs/core").PluginInstance<"renderer
|
|
|
597
597
|
* layers: { room: {} },
|
|
598
598
|
* projections: [wardRoom]
|
|
599
599
|
* });
|
|
600
|
+
*
|
|
601
|
+
* // A game gives the next scene a fixed 3 ms of each frame (half of it by default) while the old one stays on the screen.
|
|
602
|
+
* createApp({ plugins: [...screen, boardFeature], pluginConfigs: { scenes: { buildMs: 3 } } });
|
|
600
603
|
* ```
|
|
601
604
|
*/
|
|
602
|
-
declare const scenesPlugin: import("@moku-labs/core").PluginInstance<"scenes",
|
|
605
|
+
declare const scenesPlugin: import("@moku-labs/core").PluginInstance<"scenes", Config$7, State$7, ScenesApi, {
|
|
603
606
|
"scenes:changed": {
|
|
604
607
|
from: string | undefined;
|
|
605
608
|
to: string;
|
|
@@ -624,7 +627,7 @@ declare const scenesPlugin: import("@moku-labs/core").PluginInstance<"scenes", R
|
|
|
624
627
|
* app.text.styles(); // ["body", "digits", "hud.digits"]
|
|
625
628
|
* ```
|
|
626
629
|
*/
|
|
627
|
-
declare const textPlugin: import("@moku-labs/core").PluginInstance<"text", Config$
|
|
630
|
+
declare const textPlugin: import("@moku-labs/core").PluginInstance<"text", Config$17, State$16, TextApi, {}> & Record<never, never>;
|
|
628
631
|
//#endregion
|
|
629
632
|
//#region src/plugins/time/index.d.ts
|
|
630
633
|
/**
|
|
@@ -639,7 +642,7 @@ declare const textPlugin: import("@moku-labs/core").PluginInstance<"text", Confi
|
|
|
639
642
|
* });
|
|
640
643
|
* ```
|
|
641
644
|
*/
|
|
642
|
-
declare const timePlugin: import("@moku-labs/core").PluginInstance<"time", Config$
|
|
645
|
+
declare const timePlugin: import("@moku-labs/core").PluginInstance<"time", Config$8, State$8, Api$5, {
|
|
643
646
|
"time:thermal": ThermalReading;
|
|
644
647
|
"time:rate": RateChange;
|
|
645
648
|
}> & Record<never, never>;
|
|
@@ -660,7 +663,7 @@ declare const timePlugin: import("@moku-labs/core").PluginInstance<"time", Confi
|
|
|
660
663
|
* app.input.tap(app.ui.find("claim") ?? 0);
|
|
661
664
|
* ```
|
|
662
665
|
*/
|
|
663
|
-
declare const uiPlugin: import("@moku-labs/core").PluginInstance<"ui", Config$
|
|
666
|
+
declare const uiPlugin: import("@moku-labs/core").PluginInstance<"ui", Config$14, State$13, UiApi, {}> & Record<never, never>;
|
|
664
667
|
//#endregion
|
|
665
668
|
//#region src/plugins/world/index.d.ts
|
|
666
669
|
/**
|
|
@@ -676,7 +679,7 @@ declare const uiPlugin: import("@moku-labs/core").PluginInstance<"ui", Config$13
|
|
|
676
679
|
* app.world.projection.entityOf("board.items", "i7"); // 1048576
|
|
677
680
|
* ```
|
|
678
681
|
*/
|
|
679
|
-
declare const worldPlugin: import("@moku-labs/core").PluginInstance<"world", Config$
|
|
682
|
+
declare const worldPlugin: import("@moku-labs/core").PluginInstance<"world", Config$9, State$9, Api$6, {
|
|
680
683
|
"world:reconciled": {
|
|
681
684
|
mode: "play" | "direct";
|
|
682
685
|
projections: number;
|
|
@@ -1734,7 +1737,7 @@ declare function defineEmitter(id: string, config: EmitterConfig): EmitterDefini
|
|
|
1734
1737
|
* });
|
|
1735
1738
|
* ```
|
|
1736
1739
|
*/
|
|
1737
|
-
declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs/core").AnyPluginInstance[] = readonly []>(options?: import("@moku-labs/core").CreateAppOptions<Config$
|
|
1740
|
+
declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs/core").AnyPluginInstance[] = readonly []>(options?: import("@moku-labs/core").CreateAppOptions<Config$10, Events$1, (import("@moku-labs/core").PluginInstance<"time", Config$8, State$8, Api$5, {
|
|
1738
1741
|
"time:thermal": ThermalReading;
|
|
1739
1742
|
"time:rate": RateChange;
|
|
1740
1743
|
}> & Record<never, never>) | (import("@moku-labs/core").PluginInstance<"lifecycle", Config$4, State$4, Api$3, {
|
|
@@ -1779,7 +1782,7 @@ declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs
|
|
|
1779
1782
|
rolledBackTo: string;
|
|
1780
1783
|
retry: boolean;
|
|
1781
1784
|
};
|
|
1782
|
-
}> & Record<never, never>) | ExtraPlugins[number], [...ExtraPlugins], import("@moku-labs/core").CoreApisFromTuple<[import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common/browser").LogConfig, import("@moku-labs/common/browser").LogState, import("@moku-labs/common/browser").LogApi>, import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common/browser").EnvConfig, import("@moku-labs/common/browser").EnvState, import("@moku-labs/common/browser").EnvApi>]>, import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common/browser").LogConfig, import("@moku-labs/common/browser").LogState, import("@moku-labs/common/browser").LogApi> | import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common/browser").EnvConfig, import("@moku-labs/common/browser").EnvState, import("@moku-labs/common/browser").EnvApi>> | undefined) => import("@moku-labs/core").App<Config$
|
|
1785
|
+
}> & Record<never, never>) | ExtraPlugins[number], [...ExtraPlugins], import("@moku-labs/core").CoreApisFromTuple<[import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common/browser").LogConfig, import("@moku-labs/common/browser").LogState, import("@moku-labs/common/browser").LogApi>, import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common/browser").EnvConfig, import("@moku-labs/common/browser").EnvState, import("@moku-labs/common/browser").EnvApi>]>, import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common/browser").LogConfig, import("@moku-labs/common/browser").LogState, import("@moku-labs/common/browser").LogApi> | import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common/browser").EnvConfig, import("@moku-labs/common/browser").EnvState, import("@moku-labs/common/browser").EnvApi>> | undefined) => import("@moku-labs/core").App<Config$10, Events$1, (import("@moku-labs/core").PluginInstance<"time", Config$8, State$8, Api$5, {
|
|
1783
1786
|
"time:thermal": ThermalReading;
|
|
1784
1787
|
"time:rate": RateChange;
|
|
1785
1788
|
}> & Record<never, never>) | (import("@moku-labs/core").PluginInstance<"lifecycle", Config$4, State$4, Api$3, {
|
|
@@ -1837,7 +1840,7 @@ declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs
|
|
|
1837
1840
|
* });
|
|
1838
1841
|
* ```
|
|
1839
1842
|
*/
|
|
1840
|
-
declare const createPlugin: import("@moku-labs/core").BoundCreatePluginFunction<Config$
|
|
1843
|
+
declare const createPlugin: import("@moku-labs/core").BoundCreatePluginFunction<Config$10, Events$1, import("@moku-labs/core").CoreApisFromTuple<[import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common/browser").LogConfig, import("@moku-labs/common/browser").LogState, import("@moku-labs/common/browser").LogApi>, import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common/browser").EnvConfig, import("@moku-labs/common/browser").EnvState, import("@moku-labs/common/browser").EnvApi>]>>;
|
|
1841
1844
|
/**
|
|
1842
1845
|
* Binds the authoring helpers to the types of one game: "createApp for a game". Each plugin binds
|
|
1843
1846
|
* its own helpers (`flowFor`, `projectionFor`, `systemsFor`, `componentsFor`, `bundlesFor`,
|
|
@@ -1860,7 +1863,7 @@ declare function defineGame<Types extends GameTypes>(): {
|
|
|
1860
1863
|
readonly textures: readonly Types["assets"][];
|
|
1861
1864
|
}) => EmitterDefinition;
|
|
1862
1865
|
Emitter: Narrowed<EmitterValue, {
|
|
1863
|
-
effect?: EmitterIdOf<Types>;
|
|
1866
|
+
effect?: "" | EmitterIdOf<Types>;
|
|
1864
1867
|
active?: boolean;
|
|
1865
1868
|
}>;
|
|
1866
1869
|
Displacement: Narrowed<DisplacementValue, Partial<Omit<DisplacementValue, "map">> & {
|
|
@@ -1939,7 +1942,7 @@ declare function defineGame<Types extends GameTypes>(): {
|
|
|
1939
1942
|
* createApp({ plugins: [...screen, boardFeature], pluginConfigs: { renderer: { mount: "#game" } } });
|
|
1940
1943
|
* ```
|
|
1941
1944
|
*/
|
|
1942
|
-
declare const screen: readonly [import("@moku-labs/core").PluginInstance<"world", Config$
|
|
1945
|
+
declare const screen: readonly [import("@moku-labs/core").PluginInstance<"world", Config$9, State$9, Api$6, {
|
|
1943
1946
|
"world:reconciled": {
|
|
1944
1947
|
mode: "play" | "direct";
|
|
1945
1948
|
projections: number;
|
|
@@ -1956,7 +1959,7 @@ declare const screen: readonly [import("@moku-labs/core").PluginInstance<"world"
|
|
|
1956
1959
|
kind: "webgpu" | "webgl";
|
|
1957
1960
|
reason: string;
|
|
1958
1961
|
};
|
|
1959
|
-
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"input", Config$
|
|
1962
|
+
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"input", Config$16, State$15, InputApi, {}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"assets", Config$1, State$1, Api, {
|
|
1960
1963
|
"assets:bundle-loaded": {
|
|
1961
1964
|
bundle: string;
|
|
1962
1965
|
tier: Tier;
|
|
@@ -1979,13 +1982,13 @@ declare const screen: readonly [import("@moku-labs/core").PluginInstance<"world"
|
|
|
1979
1982
|
bundle: string;
|
|
1980
1983
|
keys: readonly string[];
|
|
1981
1984
|
};
|
|
1982
|
-
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"scenes",
|
|
1985
|
+
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"scenes", Config$7, State$7, ScenesApi, {
|
|
1983
1986
|
"scenes:changed": {
|
|
1984
1987
|
from: string | undefined;
|
|
1985
1988
|
to: string;
|
|
1986
1989
|
music: string | undefined;
|
|
1987
1990
|
};
|
|
1988
|
-
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"anim", Config$
|
|
1991
|
+
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"anim", Config$11, State$10, AnimApi, {
|
|
1989
1992
|
"anim:mark": {
|
|
1990
1993
|
animation: string;
|
|
1991
1994
|
mark: string;
|
|
@@ -1993,10 +1996,10 @@ declare const screen: readonly [import("@moku-labs/core").PluginInstance<"world"
|
|
|
1993
1996
|
"anim:finished": {
|
|
1994
1997
|
animation: string;
|
|
1995
1998
|
};
|
|
1996
|
-
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"i18n", Config$
|
|
1999
|
+
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"i18n", Config$15, State$14, I18nApi, {
|
|
1997
2000
|
"i18n:locale-changed": {
|
|
1998
2001
|
locale: string;
|
|
1999
2002
|
};
|
|
2000
|
-
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"text", Config$
|
|
2003
|
+
}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"text", Config$17, State$16, TextApi, {}> & Record<never, never>, import("@moku-labs/core").PluginInstance<"ui", Config$14, State$13, UiApi, {}> & Record<never, never>];
|
|
2001
2004
|
//#endregion
|
|
2002
2005
|
export { system as $, Draggable as A, Text as At, Touchable as B, AnimPlayer as C, debugPlugin as Ct, defineBundles as D, animPlugin as Dt, defineScene as E, assetsPlugin as Et, PointerOver as F, Exiting as G, Traced as H, Pressable as I, Order as J, Layer as K, Pressed as L, Held as M, defineTextStyles as Mt, Hovered as N, label as Nt, load as O, projection as Ot, Pointer as P, resource as Q, Swipeable as R, defineMotion as S, effectsPlugin as St, Frames as T, audioPlugin as Tt, PASS_KINDS as U, Traceable as V, frameAt as W, component as X, Tree as Y, mut as Z, defineStyle as _, modelPlugin as _t, defineEmitter as a, defineFeature as at, messageDuration as b, i18nPlugin as bt, Alpha as c, uiPlugin as ct, Displacement as d, scenesPlugin as dt, tag as et, Glow as f, rendererPlugin as ft, resolve as g, types_d_exports as gt, music as h, PlatformProvider as ht, screen as i, schedule as it, DropTarget as j, bind as jt, ready as k, Countdown as kt, Blur as l, timePlugin as lt, Outline as m, BackResult as mt, createPlugin as n, guide as nt, Emitter as o, flattenFeatures as ot, Noise as p, platformPlugin as pt, Now as q, defineGame as r, hint as rt, defineFilter as s, worldPlugin as st, createApp as t, defineEffect as tt, ColorMatrix as u, textPlugin as ut, tr as v, lifecyclePlugin as vt, Animation as w, clockPlugin as wt, cubicBezier as x, flowPlugin as xt, messageArgument as y, inputPlugin as yt, Tappable as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $
|
|
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 { $t as ShaderWhat, Ar as types_d_exports$10, At as PerfChange, Bt as PerfLongFrameLine, Cr as types_d_exports$3, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Et as PROBLEM_RULES, Fr as SaveUnreadableError, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jn as exit, Jt as PoolTrimDetail, Kn as types_d_exports$6, Kr as types_d_exports$9, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rt as PerfHeaderLine, St as OverlayWhat, Tn as DescriptionNode, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xn as to, Xt as ProblemRule, Yn as slot, Yt as ProblemEventDetail, Z as MonitorConfig, Zn as type, Zt as SHADER_WHATS, _t as FrameRing, at as types_d_exports$12, bt as MonitorSections, ei as types_d_exports$15, en as WarmDetail, g as types_d_exports$1, gt as FrameRecord, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mt as FrameReadResult, nt as PoolTrim, on as types_d_exports$17, pt as FrameColumns, q as sprite, qt as PerfThermalLine, st as MonitorCounts, tn as DEMAND_REASONS, vt as LongFrameEntry, wt as PERF_GAP_BUCKETS, xt as OverlayEventDetail, yt as MONITOR_SECTIONS, z as Shape, zt as PerfLogLine } from "./types-D27I4Q7b.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-DjQkfbfZ.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-BAp9HdR4.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-B2GejbLf.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, 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, 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, SHADER_WHATS, SaveUnreadableError, 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, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, 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 flowPlugin, 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 worldPlugin, 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 DEMAND_REASONS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as modelPlugin, at as use, b as types_exports$17, bt as Traced, c as hint, cn as timePlugin, ct as Draggable, d as defineScene, dt as Hovered, 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 type, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as clockPlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as slot, nt as stagger, o as defineEffect, on as SaveUnreadableError, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as to, rt as stopSfx, s as guide, sn as lifecyclePlugin, st as inputPlugin, t as createApp, tn as exit, tt as spawned, u as projection, 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 flowPlugin, 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 worldPlugin, 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 DEMAND_REASONS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as modelPlugin, at as use, b as types_exports$17, bt as Traced, c as hint, cn as timePlugin, ct as Draggable, d as defineScene, dt as Hovered, 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 type, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as clockPlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as slot, nt as stagger, o as defineEffect, on as SaveUnreadableError, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as to, rt as stopSfx, s as guide, sn as lifecyclePlugin, st as inputPlugin, t as createApp, tn as exit, tt as spawned, u as projection, 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-B4JjsuEy.mjs";
|
|
2
2
|
import { $ as component, H as Shape, I as Display, J as Exiting, L as HudPart, Q as Tree, R as NineSlice, S as bind, T as label, U as Sprite, V as Parent, W as Transform, X as Now, Y as Layer, Z as Order, b as Countdown, d as LocalWrite, et as mut, g as popup, it as tag, l as DebugTrigger, nt as system, p as ScrollState, q as sprite, s as Box, tt as resource, v as defineTokens, w as defineTextStyles, x as Text, y as defineStyle, z as Overlay } from "./visual-ClVRMUAi.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, 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, 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 { Ir as Snapshot, Un as Position, Y as Api$2, ct as RenderStats, dn as ComponentSchema, gn as FrameDiff, h as Usage, hn as EntitySnapshot, in as Explained, ir as FlowGraph, it as Under, nn as Api$1, or as JournalEntry, t as Api$3, wr as Api } from "./types-D27I4Q7b.mjs";
|
|
2
|
+
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-DjQkfbfZ.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-BAp9HdR4.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-f31cEZ7f.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-CgE5L_7f.mjs";
|
|
6
|
+
import { n as defineSource } from "./define-CE1uxbe9.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/flow/doors/read.d.ts
|
|
9
9
|
/**
|
|
@@ -56,7 +56,7 @@ declare const sources: Readonly<{
|
|
|
56
56
|
graph: Source<{}, FlowGraph, HeadlessApp>;
|
|
57
57
|
position: Source<{}, Position, HeadlessApp>;
|
|
58
58
|
history: Source<{
|
|
59
|
-
last: "number?";
|
|
59
|
+
readonly last: "number?";
|
|
60
60
|
}, readonly JournalEntry[], HeadlessApp>;
|
|
61
61
|
tainted: Source<{}, boolean, HeadlessApp>;
|
|
62
62
|
cheats: Source<{}, readonly CheatEntry[], HeadlessApp>;
|
|
@@ -64,8 +64,8 @@ declare const sources: Readonly<{
|
|
|
64
64
|
readonly model: Api;
|
|
65
65
|
}>;
|
|
66
66
|
entities: Source<{
|
|
67
|
-
owner: "string?";
|
|
68
|
-
component: "string?";
|
|
67
|
+
readonly owner: "string?";
|
|
68
|
+
readonly component: "string?";
|
|
69
69
|
}, EntitySnapshot[], HeadlessApp & {
|
|
70
70
|
readonly world: Api$1;
|
|
71
71
|
}>;
|
|
@@ -92,7 +92,7 @@ declare const sources: Readonly<{
|
|
|
92
92
|
readonly renderer: Api$2;
|
|
93
93
|
}>;
|
|
94
94
|
sounds: Source<{
|
|
95
|
-
last: "number?";
|
|
95
|
+
readonly last: "number?";
|
|
96
96
|
}, readonly SoundEntry[], HeadlessApp & {
|
|
97
97
|
readonly audio?: AudioApi;
|
|
98
98
|
}>;
|
|
@@ -112,18 +112,18 @@ declare const sources: Readonly<{
|
|
|
112
112
|
readonly assets: Api$3;
|
|
113
113
|
}>;
|
|
114
114
|
log: Source<{
|
|
115
|
-
level: "string?";
|
|
115
|
+
readonly level: "string?";
|
|
116
116
|
}, readonly import("@moku-labs/common/browser").LogEntry[], HeadlessApp & {
|
|
117
117
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
118
118
|
}>;
|
|
119
119
|
explain: Source<{
|
|
120
|
-
entity: "number";
|
|
120
|
+
readonly entity: "number";
|
|
121
121
|
}, Explained | undefined, HeadlessApp & {
|
|
122
122
|
readonly world: Api$1;
|
|
123
123
|
}>;
|
|
124
124
|
diff: Source<{
|
|
125
|
-
from: "number";
|
|
126
|
-
to: "number";
|
|
125
|
+
readonly from: "number";
|
|
126
|
+
readonly to: "number";
|
|
127
127
|
}, FrameDiff, HeadlessApp & {
|
|
128
128
|
readonly world: Api$1;
|
|
129
129
|
}>;
|
|
@@ -131,8 +131,8 @@ declare const sources: Readonly<{
|
|
|
131
131
|
readonly world: Api$1;
|
|
132
132
|
}>;
|
|
133
133
|
at: Source<{
|
|
134
|
-
x: "number";
|
|
135
|
-
y: "number";
|
|
134
|
+
readonly x: "number";
|
|
135
|
+
readonly y: "number";
|
|
136
136
|
}, readonly Under[], HeadlessApp & {
|
|
137
137
|
readonly renderer: Api$2;
|
|
138
138
|
readonly world: Api$1;
|
package/dist/inspect.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as defineSource } from "./session-
|
|
2
|
-
import { n as read, r as watch, t as sources } from "./sources-
|
|
1
|
+
import { c as defineSource } from "./session-DuZfGZWk.mjs";
|
|
2
|
+
import { n as read, r as watch, t as sources } from "./sources-DM5Zcl4o.mjs";
|
|
3
3
|
import "./inspect-la_KkjCS.mjs";
|
|
4
4
|
export { defineSource, read, sources, watch };
|
|
@@ -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-HwTBjkIL.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-HwTBjkIL.mjs";
|
|
2
2
|
export { Fragment, type JSX, jsx, jsxs };
|