@moku-labs/game 0.15.141 → 0.15.143
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/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-D_8wnIPb.d.mts → commands-DLHoLKme.d.mts} +6 -6
- package/dist/control.d.mts +4 -4
- package/dist/{define-BOkBbW3j.d.mts → define-Yco7v9wv.d.mts} +2 -2
- package/dist/{headless-C-huIWPC.d.mts → headless-Def8N-1F.d.mts} +1 -1
- package/dist/{index-rvnfyiZw.d.mts → index-bracik73.d.mts} +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +7 -7
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-CPXrJn3t.d.mts → runtime-BMasjfv7.d.mts} +1 -1
- package/dist/{src-CzPMxbo7.mjs → src-Dq7gGhN4.mjs} +178 -23
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-DfA-806E.d.mts → types-BFoRyZqu.d.mts} +8 -1
- package/dist/{types-FYvXlCW6.d.mts → types-Bj1uc5Qt.d.mts} +2 -2
- package/dist/{types-bwV1xlDq.d.mts → types-CwQ1ySw5.d.mts} +5 -3
- package/dist/{types-CZ_MHxvp.d.mts → types-DY1ck0TP.d.mts} +4 -4
- package/dist/{types-B6aCYfGI.d.mts → types-Dp8LeQTw.d.mts} +2 -2
- package/dist/{visual-C2tJVmd6.d.mts → visual-CfI3T3Am.d.mts} +6 -6
- package/dist/visual.d.mts +1 -1
- package/package.json +1 -1
package/dist/app/page.d.mts
CHANGED
package/dist/app/system.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Yr as PlayerStateProvider } from "../types-
|
|
2
|
-
import { Et as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-
|
|
1
|
+
import { Yr as PlayerStateProvider } from "../types-BFoRyZqu.mjs";
|
|
2
|
+
import { Et as PlatformProvider } from "../index-bracik73.mjs";
|
|
3
|
+
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-DY1ck0TP.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 { Wr as Json } from "./types-
|
|
2
|
-
import { J as StringTable } from "./types-
|
|
3
|
-
import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-
|
|
1
|
+
import { Wr as Json } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { J as StringTable } from "./types-CwQ1ySw5.mjs";
|
|
3
|
+
import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-DY1ck0TP.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 { Gt as audioPlugin, Pt as effectsPlugin, Q as platformPlugin, i as screen, t as createApp, w as flattenFeatures } from "./src-
|
|
1
|
+
import { Gt as audioPlugin, Pt as effectsPlugin, Q as platformPlugin, i as screen, t as createApp, w as flattenFeatures } from "./src-Dq7gGhN4.mjs";
|
|
2
2
|
import { t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock, r as isFakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
//#region src/app/define.ts
|
package/dist/assets.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $r as Snapshot, Ar as Api$3, Fn as Bookmark, Fr as Api, O as DebugSwitches, Q as Api$2, Rn as FlowState, fi as FrameRate, gi as Time, ii as Api$1, mt as Captured, ti as StoreApi, w as ScenesApi } from "./types-
|
|
2
|
-
import { W as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-
|
|
3
|
-
import { R as InputApi } from "./types-
|
|
4
|
-
import { t as HeadlessApp } from "./headless-
|
|
5
|
-
import { i as ControlApp, r as Command } from "./types-
|
|
1
|
+
import { $r as Snapshot, Ar as Api$3, Fn as Bookmark, Fr as Api, O as DebugSwitches, Q as Api$2, Rn as FlowState, fi as FrameRate, gi as Time, ii as Api$1, mt as Captured, ti as StoreApi, w as ScenesApi } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { W as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-Bj1uc5Qt.mjs";
|
|
3
|
+
import { R as InputApi } from "./types-CwQ1ySw5.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-Def8N-1F.mjs";
|
|
5
|
+
import { i as ControlApp, r as Command } from "./types-Dp8LeQTw.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/flow/doors/commands.d.ts
|
|
8
8
|
/**
|
|
@@ -151,8 +151,8 @@ declare const commands: Readonly<{
|
|
|
151
151
|
readonly ui: Pick<UiApi, "fill">;
|
|
152
152
|
}>;
|
|
153
153
|
scroll: Command<{
|
|
154
|
-
readonly key: "string";
|
|
155
154
|
readonly to: "number";
|
|
155
|
+
readonly key: "string";
|
|
156
156
|
}, boolean, HeadlessApp & {
|
|
157
157
|
readonly log: import("@moku-labs/common/browser").LogApi;
|
|
158
158
|
} & {
|
package/dist/control.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as HeadlessApp } from "./headless-
|
|
2
|
-
import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-
|
|
3
|
-
import { t as commands } from "./commands-
|
|
4
|
-
import { t as defineCommand } from "./define-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-Def8N-1F.mjs";
|
|
2
|
+
import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-Dp8LeQTw.mjs";
|
|
3
|
+
import { t as commands } from "./commands-DLHoLKme.mjs";
|
|
4
|
+
import { t as defineCommand } from "./define-Yco7v9wv.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 { l as Source, r as Command, s as InputSchema } from "./types-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-Def8N-1F.mjs";
|
|
2
|
+
import { l as Source, r as Command, s as InputSchema } from "./types-Dp8LeQTw.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/flow/doors/define.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rn as FlowState, Vn as RouteStep, Wr as Json, Xn as Answer, mn as Api$1, ri as RngState, ui as Api, zn as JournalEntry } from "./types-
|
|
1
|
+
import { Rn as FlowState, Vn as RouteStep, Wr as Json, Xn as Answer, mn as Api$1, ri as RngState, ui as Api, zn as JournalEntry } from "./types-BFoRyZqu.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/flow/headless.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as Config$6, Ar as Api$6, B as OverlayValue, C as SceneSpec, Cn as TextStylesOf, Cr as Mut, Dr as SystemDefinition, Dt as FrameRing, En as defineFlow, Er as ResourceType, Et as FrameRecord, Fr as Api$1, Gn as Effect, Gr as Root, Hn as SceneIdOf, Hr as Config$5, I as HudPartValue, In as DefineNode, Jn as Hint, Jr as Patch, K as SpriteOptions, Kn as EffectOptions, Kr as State$5, Lr as Config$2, Lt as PassKind, Mn as FeaturePlugin, Nn as FeatureTree, Nr as State$9, Or as SystemFor, Q as Api$4, R as NineSliceValue, S as SceneDefinition, Sn as TextFormatsOf, T as State$7, Tr as QueryTerm, U as ShapeValue, Wn as Descriptor, Wr as Json, X as sprite, Y as TransformValue, Zn as Answered, _ as AnySceneProjection, _n as EmitterIdOf, a as Config$1, ai as Config$4, ar as NumericFields, bi as Require, c as LoadBundles, ci as State$4, cr as ReducedMotion, di as Config$8, er as DescriptionNode, f as ReadyBundles, gn as Config$3, gr as ComponentHandle, hi as ThermalReading, hn as BundlesOf, i as BundleSpec, ii as Api$3, jn as FeatureDescription, jr as Config$9, kr as TagType, l as LoadReason, lt as State$6, m as Tier, mi as State$8, mn as Api$2, ni as RngApi, o as DefineBundles, oi as Events, or as ProjectionMotion, p as State$1, pi as RateChange, q as SpriteValue, qn as GuideOptions, r as BundleMap, si as PauseReason, sr as ProjectionSpec, t as Api, ti as StoreApi, tr as Ease, u as LoadResult, ui as Api$5, v as Config$7, vi as Config$10, vn as GameTypes, vr as ComponentType, w as ScenesApi, wr as Narrowed, x as LayerMap, xn as State$3, y as DefineScene, yi as Events$1, yn as HudKeysOf, yr as ComponentValue, yt as ViewportSize, zr as State$2 } from "./types-
|
|
2
|
-
import { $ as HapticKind, A as EmitterDefinition, B as GlowValue, C as FoldValue, D as ShineValue, E as RevealRoundValue, F as DisplacementValue, G as AnimPlayerValue, H as OutlineValue, J as MotionKeyframe, K as Config$11, L as FilterComponent, M as AlphaValue, N as BlurValue, O as VignetteValue, P as ColorMatrixValue, R as FilterSpec, S as FlashValue, T as RevealLineValue, U as UniformDeclaration, V as NoiseValue, W as AnimApi, X as Target, Y as State$10, _ as State$12, a as AudioApi, b as BloomValue, bt as OverlayApi, c as MusicDescriptor, d as State$11, et as SfxDescriptor, f as VolumesFor, h as EffectsApi, j as EmitterValue, k as EmitterConfig, l as MusicOptions, lt as play, m as Config$13, n as State$13, q as FramesValue, r as UiApi, rt as defineAnimation, s as Config$12, t as Config$14, tt as Step, w as GradeValue, x as DissolveValue, y as AuraValue, z as FilterValueOf } from "./types-
|
|
3
|
-
import { $ as ResolvedStyle, A as TextFormats, C as Point, E as TextBind, G as Message, H as Config$15, I as defineComponent, K as Part, L as Config$16, M as TextStyleInput, N as TextStyles, P as TextValue, Q as IsFlags, R as InputApi, T as TextApi, U as I18nApi, V as Argument, W as IntlKit, X as TypedTr, Y as TextKey, b as Config$17, et as Style, g as IntrinsicElementsFor, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, nt as TextTagStyle, q as State$14, rt as WhenFlags, s as PopupComponent, v as BindField, w as State$16, x as CountdownValue, y as BindOptions, z as State$15 } from "./types-
|
|
1
|
+
import { $ as Config$6, Ar as Api$6, B as OverlayValue, C as SceneSpec, Cn as TextStylesOf, Cr as Mut, Dr as SystemDefinition, Dt as FrameRing, En as defineFlow, Er as ResourceType, Et as FrameRecord, Fr as Api$1, Gn as Effect, Gr as Root, Hn as SceneIdOf, Hr as Config$5, I as HudPartValue, In as DefineNode, Jn as Hint, Jr as Patch, K as SpriteOptions, Kn as EffectOptions, Kr as State$5, Lr as Config$2, Lt as PassKind, Mn as FeaturePlugin, Nn as FeatureTree, Nr as State$9, Or as SystemFor, Q as Api$4, R as NineSliceValue, S as SceneDefinition, Sn as TextFormatsOf, T as State$7, Tr as QueryTerm, U as ShapeValue, Wn as Descriptor, Wr as Json, X as sprite, Y as TransformValue, Zn as Answered, _ as AnySceneProjection, _n as EmitterIdOf, a as Config$1, ai as Config$4, ar as NumericFields, bi as Require, c as LoadBundles, ci as State$4, cr as ReducedMotion, di as Config$8, er as DescriptionNode, f as ReadyBundles, gn as Config$3, gr as ComponentHandle, hi as ThermalReading, hn as BundlesOf, i as BundleSpec, ii as Api$3, jn as FeatureDescription, jr as Config$9, kr as TagType, l as LoadReason, lt as State$6, m as Tier, mi as State$8, mn as Api$2, ni as RngApi, o as DefineBundles, oi as Events, or as ProjectionMotion, p as State$1, pi as RateChange, q as SpriteValue, qn as GuideOptions, r as BundleMap, si as PauseReason, sr as ProjectionSpec, t as Api, ti as StoreApi, tr as Ease, u as LoadResult, ui as Api$5, v as Config$7, vi as Config$10, vn as GameTypes, vr as ComponentType, w as ScenesApi, wr as Narrowed, x as LayerMap, xn as State$3, y as DefineScene, yi as Events$1, yn as HudKeysOf, yr as ComponentValue, yt as ViewportSize, zr as State$2 } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { $ as HapticKind, A as EmitterDefinition, B as GlowValue, C as FoldValue, D as ShineValue, E as RevealRoundValue, F as DisplacementValue, G as AnimPlayerValue, H as OutlineValue, J as MotionKeyframe, K as Config$11, L as FilterComponent, M as AlphaValue, N as BlurValue, O as VignetteValue, P as ColorMatrixValue, R as FilterSpec, S as FlashValue, T as RevealLineValue, U as UniformDeclaration, V as NoiseValue, W as AnimApi, X as Target, Y as State$10, _ as State$12, a as AudioApi, b as BloomValue, bt as OverlayApi, c as MusicDescriptor, d as State$11, et as SfxDescriptor, f as VolumesFor, h as EffectsApi, j as EmitterValue, k as EmitterConfig, l as MusicOptions, lt as play, m as Config$13, n as State$13, q as FramesValue, r as UiApi, rt as defineAnimation, s as Config$12, t as Config$14, tt as Step, w as GradeValue, x as DissolveValue, y as AuraValue, z as FilterValueOf } from "./types-Bj1uc5Qt.mjs";
|
|
3
|
+
import { $ as ResolvedStyle, A as TextFormats, C as Point, E as TextBind, G as Message, H as Config$15, I as defineComponent, K as Part, L as Config$16, M as TextStyleInput, N as TextStyles, P as TextValue, Q as IsFlags, R as InputApi, T as TextApi, U as I18nApi, V as Argument, W as IntlKit, X as TypedTr, Y as TextKey, b as Config$17, et as Style, g as IntrinsicElementsFor, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, nt as TextTagStyle, q as State$14, rt as WhenFlags, s as PopupComponent, v as BindField, w as State$16, x as CountdownValue, y as BindOptions, z as State$15 } from "./types-CwQ1ySw5.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 PerfSampleLine, An as type, At as MonitorSections, B as OverlayValue, Br as types_d_exports$3, Bt as PerfChange, Ct as FrameColumns, Dn as exit, Dt as FrameRing, E as types_d_exports$13, Et as FrameRecord, F as HudPart, Ft as PERF_LOG_VERSION, G as SpriteBlend, Gt as PerfEventLine, H as Shape, Ht as PerfCollectorLine, I as HudPartValue, It as PROBLEM_RULES, J as Transform, Jt as PerfHeaderLine, Kt as PerfEventName, L as NineSlice, Lt as PassKind, Mt as OverlayWhat, N as WhyEntry, Nt as PERF_CAUSES, On as slot, Ot as LongFrameEntry, P as Display, Pr as types_d_exports$17, Pt as PERF_GAP_BUCKETS, Qn as AnchorTarget, Qr as SaveUnreadableError, Qt as PerfMeasured, Rt as PassRecord, St as WhyLive, Tn as contribution, Tt as FrameReadout, Ut as PerfCounts, V as Parent, Vt as PerfChangeEntry, W as Sprite, Wt as PerfDisplay, X as sprite, Xt as PerfLongFrameLine, Yt as PerfLogLine, Z as AdaptiveScale, Zt as PerfMarkLine, _i as types_d_exports$15, an as ProblemEventDetail, cn as ShaderEventDetail, ct as PoolTrim, dn as CANVAS_RESTARTS, dt as types_d_exports$12, en as PerfSpikeLine, er as DescriptionNode, et as MonitorConfig, fn as CanvasRestart, ft as ShotsApi, g as types_d_exports$1, ht as MonitorCounts, in as PoolTrimDetail, jt as OverlayEventDetail, kn as to, kt as MONITOR_SECTIONS, li as types_d_exports$9, ln as ShaderWhat, lr as SceneSwitch, nn as PerfTelemetryLine, on as ProblemRule, pn as DEMAND_REASONS, pt as ShotsConfig, qr as types_d_exports$10, qt as PerfGapLine, rn as PerfThermalLine, sn as SHADER_WHATS, tn as PerfStartupLine, un as WarmDetail, wn as types_d_exports$6, wt as FrameReadResult, xt as RetakeWhy, z as Overlay, zt as PerfCause } from "./types-
|
|
2
|
-
import { $ as HapticKind, C as FoldValue, D as ShineValue, E as RevealRoundValue, I as FilterArea, O as VignetteValue, Q as types_d_exports, S as FlashValue, T as RevealLineValue, _t as tween, at as frames, b as BloomValue, ct as parallel, dt as set, ft as sfx, gt as stopSfx, ht as stagger, i as types_d_exports$16, it as external, lt as play, mt as spawned, nt as HAPTIC_KINDS, ot as haptic, p as types_d_exports$2, pt as spawn, rt as defineAnimation, st as mark, ut as sequence, v as types_d_exports$5, vt as use, w as GradeValue, x as DissolveValue, xt as types_d_exports$4, y as AuraValue, yt as wait } from "./types-
|
|
3
|
-
import { A as TextFormats, B as types_d_exports$8, D as TextFormat, F as types_d_exports$14, I as defineComponent, O as TextFormatAnswer, S as FormattedNumber, Z as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, m as popup, nt as TextTagStyle, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-
|
|
4
|
-
import { $ as Traced, A as messageDuration, At as inputPlugin, B as Draggable, Bt as Countdown, C as Noise, Ct as rendererPlugin, D as defineStyle, Dt as types_d_exports$11, E as resolve, Et as PlatformProvider, F as Frames, Ft as clockPlugin, G as PointerOver, Gt as label, H as Held, Ht as bind, I as defineScene, It as audioPlugin, J as Swipeable, K as Pressable, L as defineBundles, Lt as assetsPlugin, M as defineMotion, Mt as flowPlugin, N as AnimPlayer, Nt as effectsPlugin, O as tr, Ot as modelPlugin, P as Animation, Pt as debugPlugin, Q as Traceable, R as load, Rt as animPlugin, S as Glow, St as scenesPlugin, T as music, Tt as BackResult, U as Hovered, Ut as defineTextFormats, V as DropTarget, Vt as Text, W as Pointer, Wt as defineTextStyles, X as Tappable, Y as TapValue, Z as Touchable, _ as defineFilter, _t as flattenFeatures, a as defineEmitter, at as Order, b as ColorMatrix, bt as timePlugin, c as Shine, ct as mut, d as Grade, dt as tag, et as PASS_KINDS, f as Fold, ft as defineEffect, g as Aura, gt as defineFeature, h as Bloom, ht as schedule, i as screen, it as Now, j as cubicBezier, jt as i18nPlugin, k as messageArgument, kt as lifecyclePlugin, l as RevealRound, lt as resource, m as Dissolve, mt as hint, n as createPlugin, nt as Exiting, o as Emitter, ot as Tree, p as Flash, pt as guide, q as Pressed, r as defineGame, rt as Layer, s as Vignette, st as component, t as createApp, tt as frameAt, u as RevealLine, ut as system, v as Alpha, vt as worldPlugin, w as Outline, wt as platformPlugin, x as Displacement, xt as textPlugin, y as Blur, yt as uiPlugin, z as ready, zt as projection } from "./index-
|
|
1
|
+
import { $t as PerfSampleLine, An as type, At as MonitorSections, B as OverlayValue, Br as types_d_exports$3, Bt as PerfChange, Ct as FrameColumns, Dn as exit, Dt as FrameRing, E as types_d_exports$13, Et as FrameRecord, F as HudPart, Ft as PERF_LOG_VERSION, G as SpriteBlend, Gt as PerfEventLine, H as Shape, Ht as PerfCollectorLine, I as HudPartValue, It as PROBLEM_RULES, J as Transform, Jt as PerfHeaderLine, Kt as PerfEventName, L as NineSlice, Lt as PassKind, Mt as OverlayWhat, N as WhyEntry, Nt as PERF_CAUSES, On as slot, Ot as LongFrameEntry, P as Display, Pr as types_d_exports$17, Pt as PERF_GAP_BUCKETS, Qn as AnchorTarget, Qr as SaveUnreadableError, Qt as PerfMeasured, Rt as PassRecord, St as WhyLive, Tn as contribution, Tt as FrameReadout, Ut as PerfCounts, V as Parent, Vt as PerfChangeEntry, W as Sprite, Wt as PerfDisplay, X as sprite, Xt as PerfLongFrameLine, Yt as PerfLogLine, Z as AdaptiveScale, Zt as PerfMarkLine, _i as types_d_exports$15, an as ProblemEventDetail, cn as ShaderEventDetail, ct as PoolTrim, dn as CANVAS_RESTARTS, dt as types_d_exports$12, en as PerfSpikeLine, er as DescriptionNode, et as MonitorConfig, fn as CanvasRestart, ft as ShotsApi, g as types_d_exports$1, ht as MonitorCounts, in as PoolTrimDetail, jt as OverlayEventDetail, kn as to, kt as MONITOR_SECTIONS, li as types_d_exports$9, ln as ShaderWhat, lr as SceneSwitch, nn as PerfTelemetryLine, on as ProblemRule, pn as DEMAND_REASONS, pt as ShotsConfig, qr as types_d_exports$10, qt as PerfGapLine, rn as PerfThermalLine, sn as SHADER_WHATS, tn as PerfStartupLine, un as WarmDetail, wn as types_d_exports$6, wt as FrameReadResult, xt as RetakeWhy, z as Overlay, zt as PerfCause } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { $ as HapticKind, C as FoldValue, D as ShineValue, E as RevealRoundValue, I as FilterArea, O as VignetteValue, Q as types_d_exports, S as FlashValue, T as RevealLineValue, _t as tween, at as frames, b as BloomValue, ct as parallel, dt as set, ft as sfx, gt as stopSfx, ht as stagger, i as types_d_exports$16, it as external, lt as play, mt as spawned, nt as HAPTIC_KINDS, ot as haptic, p as types_d_exports$2, pt as spawn, rt as defineAnimation, st as mark, ut as sequence, v as types_d_exports$5, vt as use, w as GradeValue, x as DissolveValue, xt as types_d_exports$4, y as AuraValue, yt as wait } from "./types-Bj1uc5Qt.mjs";
|
|
3
|
+
import { A as TextFormats, B as types_d_exports$8, D as TextFormat, F as types_d_exports$14, I as defineComponent, O as TextFormatAnswer, S as FormattedNumber, Z as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, m as popup, nt as TextTagStyle, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-CwQ1ySw5.mjs";
|
|
4
|
+
import { $ as Traced, A as messageDuration, At as inputPlugin, B as Draggable, Bt as Countdown, C as Noise, Ct as rendererPlugin, D as defineStyle, Dt as types_d_exports$11, E as resolve, Et as PlatformProvider, F as Frames, Ft as clockPlugin, G as PointerOver, Gt as label, H as Held, Ht as bind, I as defineScene, It as audioPlugin, J as Swipeable, K as Pressable, L as defineBundles, Lt as assetsPlugin, M as defineMotion, Mt as flowPlugin, N as AnimPlayer, Nt as effectsPlugin, O as tr, Ot as modelPlugin, P as Animation, Pt as debugPlugin, Q as Traceable, R as load, Rt as animPlugin, S as Glow, St as scenesPlugin, T as music, Tt as BackResult, U as Hovered, Ut as defineTextFormats, V as DropTarget, Vt as Text, W as Pointer, Wt as defineTextStyles, X as Tappable, Y as TapValue, Z as Touchable, _ as defineFilter, _t as flattenFeatures, a as defineEmitter, at as Order, b as ColorMatrix, bt as timePlugin, c as Shine, ct as mut, d as Grade, dt as tag, et as PASS_KINDS, f as Fold, ft as defineEffect, g as Aura, gt as defineFeature, h as Bloom, ht as schedule, i as screen, it as Now, j as cubicBezier, jt as i18nPlugin, k as messageArgument, kt as lifecyclePlugin, l as RevealRound, lt as resource, m as Dissolve, mt as hint, n as createPlugin, nt as Exiting, o as Emitter, ot as Tree, p as Flash, pt as guide, q as Pressed, r as defineGame, rt as Layer, s as Vignette, st as component, t as createApp, tt as frameAt, u as RevealLine, ut as system, v as Alpha, vt as worldPlugin, w as Outline, wt as platformPlugin, x as Displacement, xt as textPlugin, y as Blur, yt as uiPlugin, z as ready, zt as projection } from "./index-bracik73.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, Aura, type AuraValue, type BackResult, type BindOptions, Bloom, type BloomValue, 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, Dissolve, type DissolveValue, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, Flash, type FlashValue, types_d_exports$6 as Flow, Fold, type FoldValue, type FormattedNumber, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, Grade, type GradeValue, 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, RevealLine, type RevealLineValue, RevealRound, type RevealRoundValue, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Shine, type ShineValue, type ShotsApi, type ShotsConfig, Sprite, type SpriteBlend, Swipeable, type TapValue, Tappable, Text, type TextFormat, type TextFormatAnswer, type TextFormatFunction, type TextFormats, type TextRunStyle, type TextTagStyle, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, Vignette, type VignetteValue, 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, defineTextFormats, 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 HAPTIC_KINDS, $t as PASS_KINDS, A as types_exports$17, At as Traced, B as types_exports$7, Bt as Glow, C as defineFeature, Ct as PointerOver, D as defineBundles, Dt as Tappable, E as music, Et as Swipeable, F as types_exports$12, Ft as Emitter, G as types_exports$2, Gt as audioPlugin, H as types_exports$5, Ht as Outline, I as types_exports$11, It as Alpha, J as uiPlugin, Jt as animPlugin, K as types_exports$1, Kt as scenesPlugin, L as types_exports$10, Lt as Blur, M as types_exports$15, Mt as messageArgument, N as types_exports$14, Nt as messageDuration, O as load, Ot as Touchable, P as types_exports$13, Pt as effectsPlugin, Q as platformPlugin, Qt as rendererPlugin, R as types_exports$9, Rt as ColorMatrix, S as tr, St as Pointer, T as defineEmitter, Tt as Pressed, U as types_exports$4, Ut as defineFilter, V as types_exports$6, Vt as Noise, W as types_exports$3, Wt as debugPlugin, X as defineMotion, Xt as Animation, Y as resolve, Yt as AnimPlayer, Z as textPlugin, Zt as Frames, _ as guide, _n as modelPlugin, _t as inputPlugin, a as Vignette, an as PROBLEM_RULES, at as parallel, b as projection, bn as lifecyclePlugin, bt as Held, c as RevealLine, cn as DEMAND_REASONS, ct as set, d as Flash, dt as spawned, en as frameAt, et as defineAnimation, f as Dissolve, fn as contribution, ft as stagger, g as defineEffect, gn as type, gt as wait, h as cubicBezier, hn as to, ht as use, i as screen, in as PERF_LOG_VERSION, it as mark, j as types_exports$16, jt as i18nPlugin, k as ready, kt as Traceable, l as Grade, ln as worldPlugin, lt as sfx, m as Aura, mn as slot, mt as tween, n as createPlugin, nn as PERF_CAUSES, nt as frames, o as Shine, on as SHADER_WHATS, ot as play, p as Bloom, pn as exit, pt as stopSfx, q as types_exports, qt as assetsPlugin, r as defineGame, rn as PERF_GAP_BUCKETS, rt as haptic, s as RevealRound, sn as CANVAS_RESTARTS, st as sequence, t as createApp, tn as MONITOR_SECTIONS, tt as external, u as Fold, un as flowPlugin, ut as spawn, v as hint, vn as SaveUnreadableError, vt as Draggable, w as flattenFeatures, wt as Pressable, x as defineScene, xn as timePlugin, xt as Hovered, y as schedule, yn as clockPlugin, yt as DropTarget, z as types_exports$8, zt as Displacement } from "./src-
|
|
1
|
+
import { $ as HAPTIC_KINDS, $t as PASS_KINDS, A as types_exports$17, At as Traced, B as types_exports$7, Bt as Glow, C as defineFeature, Ct as PointerOver, D as defineBundles, Dt as Tappable, E as music, Et as Swipeable, F as types_exports$12, Ft as Emitter, G as types_exports$2, Gt as audioPlugin, H as types_exports$5, Ht as Outline, I as types_exports$11, It as Alpha, J as uiPlugin, Jt as animPlugin, K as types_exports$1, Kt as scenesPlugin, L as types_exports$10, Lt as Blur, M as types_exports$15, Mt as messageArgument, N as types_exports$14, Nt as messageDuration, O as load, Ot as Touchable, P as types_exports$13, Pt as effectsPlugin, Q as platformPlugin, Qt as rendererPlugin, R as types_exports$9, Rt as ColorMatrix, S as tr, St as Pointer, T as defineEmitter, Tt as Pressed, U as types_exports$4, Ut as defineFilter, V as types_exports$6, Vt as Noise, W as types_exports$3, Wt as debugPlugin, X as defineMotion, Xt as Animation, Y as resolve, Yt as AnimPlayer, Z as textPlugin, Zt as Frames, _ as guide, _n as modelPlugin, _t as inputPlugin, a as Vignette, an as PROBLEM_RULES, at as parallel, b as projection, bn as lifecyclePlugin, bt as Held, c as RevealLine, cn as DEMAND_REASONS, ct as set, d as Flash, dt as spawned, en as frameAt, et as defineAnimation, f as Dissolve, fn as contribution, ft as stagger, g as defineEffect, gn as type, gt as wait, h as cubicBezier, hn as to, ht as use, i as screen, in as PERF_LOG_VERSION, it as mark, j as types_exports$16, jt as i18nPlugin, k as ready, kt as Traceable, l as Grade, ln as worldPlugin, lt as sfx, m as Aura, mn as slot, mt as tween, n as createPlugin, nn as PERF_CAUSES, nt as frames, o as Shine, on as SHADER_WHATS, ot as play, p as Bloom, pn as exit, pt as stopSfx, q as types_exports, qt as assetsPlugin, r as defineGame, rn as PERF_GAP_BUCKETS, rt as haptic, s as RevealRound, sn as CANVAS_RESTARTS, st as sequence, t as createApp, tn as MONITOR_SECTIONS, tt as external, u as Fold, un as flowPlugin, ut as spawn, v as hint, vn as SaveUnreadableError, vt as Draggable, w as flattenFeatures, wt as Pressable, x as defineScene, xn as timePlugin, xt as Hovered, y as schedule, yn as clockPlugin, yt as DropTarget, z as types_exports$8, zt as Displacement } from "./src-Dq7gGhN4.mjs";
|
|
2
2
|
import { $ as Overlay, D as defineStyle, E as defineTokens, L as defineTextFormats, M as Countdown, N as Text, P as bind, Q as NineSlice, R as defineTextStyles, X as Display, Z as HudPart, _ as DebugTrigger, ct as Exiting, dt as Order, ft as Tree, gt as system, h as Box, ht as resource, it as Transform, lt as Layer, mt as mut, nt as Shape, pt as component, rt as Sprite, st as sprite, tt as Parent, ut as Now, vt as tag, w as popup, x as ScrollState, y as LocalWrite, z as label } from "./visual-x0TPowBE.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, Aura, Bloom, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Dissolve, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, Flash, types_exports$6 as Flow, Fold, Frames, Glow, Grade, 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, RevealLine, RevealRound, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Shine, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, Vignette, 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, defineTextFormats, 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 { $r as Snapshot, Ar as Api$1, Ln as FlowGraph, Mr as Explained, Q as Api$2, Sr as FrameDiff, Vr as Api, _r as ComponentSchema, bn as Position, gt as RenderStats, h as Usage, t as Api$3, ut as Under, xr as EntitySnapshot, zn as JournalEntry } from "./types-
|
|
2
|
-
import { W as AnimApi, Z as TimelinesSnapshot, 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 InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-
|
|
6
|
-
import { n as defineSource } from "./define-
|
|
1
|
+
import { $r as Snapshot, Ar as Api$1, Ln as FlowGraph, Mr as Explained, Q as Api$2, Sr as FrameDiff, Vr as Api, _r as ComponentSchema, bn as Position, gt as RenderStats, h as Usage, t as Api$3, ut as Under, xr as EntitySnapshot, zn as JournalEntry } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { W as AnimApi, Z as TimelinesSnapshot, a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-Bj1uc5Qt.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-CwQ1ySw5.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-Def8N-1F.mjs";
|
|
5
|
+
import { a as InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-Dp8LeQTw.mjs";
|
|
6
|
+
import { n as defineSource } from "./define-Yco7v9wv.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/flow/doors/read.d.ts
|
|
9
9
|
/**
|
|
@@ -122,8 +122,8 @@ declare const sources: Readonly<{
|
|
|
122
122
|
readonly world: Api$1;
|
|
123
123
|
}>;
|
|
124
124
|
diff: Source<{
|
|
125
|
-
readonly to: "number";
|
|
126
125
|
readonly from: "number";
|
|
126
|
+
readonly to: "number";
|
|
127
127
|
}, FrameDiff, HeadlessApp & {
|
|
128
128
|
readonly world: Api$1;
|
|
129
129
|
}>;
|
|
@@ -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-BMasjfv7.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-BMasjfv7.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-CwQ1ySw5.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. */
|
|
@@ -44539,13 +44539,6 @@ function startPreload(ctx) {
|
|
|
44539
44539
|
//#endregion
|
|
44540
44540
|
//#region src/plugins/assets/ready.ts
|
|
44541
44541
|
/**
|
|
44542
|
-
* @file assets plugin — a bundle ready to show. `warm` loads a bundle and puts its textures on the
|
|
44543
|
-
* GPU before a scene shows them (F60): on a Galaxy A26 the frame that showed 6 cold textures took
|
|
44544
|
-
* 55 ms, 8 ms once they were uploaded before. The `ready` effect lets a node rest on that work and
|
|
44545
|
-
* stay answerable (F52). Nothing here is on the frame path: one promise per bundle, and the inbox
|
|
44546
|
-
* event is posted from a promise.
|
|
44547
|
-
*/
|
|
44548
|
-
/**
|
|
44549
44542
|
* Runs one warm: loads the bundle when it is not loaded, then hands every texture and atlas page
|
|
44550
44543
|
* of it to the renderer's upload queue. The answer of the upload is not read: when the renderer
|
|
44551
44544
|
* could not upload, the first draw does. A failure drops the entry, so the next `warm` tries again.
|
|
@@ -44648,8 +44641,9 @@ function ageReadyWaiting(state) {
|
|
|
44648
44641
|
* The handler of the `ready` effect (F52). Headless it answers `true` before any name check, as the
|
|
44649
44642
|
* `load` effect does. Every bundle there: `true`, and nothing is posted. Otherwise it starts the
|
|
44650
44643
|
* warm of each bundle that is not there, answers `false`, and posts `{ type: "ready" }` into
|
|
44651
|
-
* `flow.inbox` once all of them settled
|
|
44652
|
-
*
|
|
44644
|
+
* `flow.inbox` once all of them settled, for the rest this ask leads to only (F204, `settleAsk`):
|
|
44645
|
+
* a `ready` nobody rests on would end the next wait at once. The posting does not wait on the
|
|
44646
|
+
* node's signal: the warm is shared work. A bundle it answers `false` for is
|
|
44653
44647
|
* rested on (`readyWaiting`) until a `ready` finds it there: neither the budget nor the `"leave"`
|
|
44654
44648
|
* release of the rest in between takes it, else the node that asks again finds it gone and the two
|
|
44655
44649
|
* nodes cycle forever (F190). `ageReadyWaiting` ends the hold of one nobody asks for again.
|
|
@@ -44667,9 +44661,84 @@ function answerReady(ctx, bundles) {
|
|
|
44667
44661
|
for (const name of bundles) if (missing.includes(name)) state.readyWaiting.set(name, 0);
|
|
44668
44662
|
else state.readyWaiting.delete(name);
|
|
44669
44663
|
if (missing.length === 0) return true;
|
|
44670
|
-
|
|
44664
|
+
const ask = beginAsk(ctx);
|
|
44665
|
+
Promise.all(missing.map((name) => warmForReady(ctx, name))).then(() => settleAsk(ctx, ask));
|
|
44671
44666
|
return false;
|
|
44672
44667
|
}
|
|
44668
|
+
/**
|
|
44669
|
+
* Tells whether a rest node takes the inbox event `ready`. The graph's validation makes every `inbox` type an
|
|
44670
|
+
* outcome, so a rest without the outcome `ready` never takes it.
|
|
44671
|
+
*
|
|
44672
|
+
* @param ctx - Domain context of the plugin.
|
|
44673
|
+
* @param node - The node entered.
|
|
44674
|
+
* @returns True when the node is a rest with the outcome `ready`.
|
|
44675
|
+
*/
|
|
44676
|
+
function takesReady(ctx, node) {
|
|
44677
|
+
if (!node.rest) return false;
|
|
44678
|
+
return ctx.deps.flow.describe().flows[node.flow]?.nodes[node.node]?.outcomes.includes("ready") === true;
|
|
44679
|
+
}
|
|
44680
|
+
/**
|
|
44681
|
+
* Records a `ready` ask answered `false` as the latest one (F204). Its event belongs to one rest: the rest whose body
|
|
44682
|
+
* asked, or else the first rest entered after the ask.
|
|
44683
|
+
*
|
|
44684
|
+
* @param ctx - Domain context of the plugin.
|
|
44685
|
+
* @returns The number of this ask.
|
|
44686
|
+
*/
|
|
44687
|
+
function beginAsk(ctx) {
|
|
44688
|
+
const state = ctx.state;
|
|
44689
|
+
const current = state.current;
|
|
44690
|
+
state.readyAsk += 1;
|
|
44691
|
+
state.readyHeld = false;
|
|
44692
|
+
if (current?.rest === true) state.readyPlace = takesReady(ctx, current) ? "at" : "gone";
|
|
44693
|
+
else state.readyPlace = "before";
|
|
44694
|
+
return state.readyAsk;
|
|
44695
|
+
}
|
|
44696
|
+
/**
|
|
44697
|
+
* Posts `{ type: "ready" }` for an ask whose bundles settled, when its rest takes it now (F204). A newer ask owns the
|
|
44698
|
+
* event; an ask whose rest is not entered yet holds it for that rest; an ask whose rest was left, or does not list
|
|
44699
|
+
* `ready`, posts nothing, so no later rest ends at once on it.
|
|
44700
|
+
*
|
|
44701
|
+
* @param ctx - Domain context of the plugin.
|
|
44702
|
+
* @param ask - The number `beginAsk` gave the ask.
|
|
44703
|
+
*/
|
|
44704
|
+
function settleAsk(ctx, ask) {
|
|
44705
|
+
const state = ctx.state;
|
|
44706
|
+
if (ask !== state.readyAsk) return;
|
|
44707
|
+
if (state.readyPlace === "before") {
|
|
44708
|
+
state.readyHeld = true;
|
|
44709
|
+
return;
|
|
44710
|
+
}
|
|
44711
|
+
if (state.readyPlace !== "at") return;
|
|
44712
|
+
state.readyPlace = "gone";
|
|
44713
|
+
ctx.deps.flow.inbox.post({ type: "ready" });
|
|
44714
|
+
}
|
|
44715
|
+
/**
|
|
44716
|
+
* Moves the latest `false` ask past one entered node (F204), from the `load` stage of every node. The first rest
|
|
44717
|
+
* entered after a transit node's ask is its rest: one that lists `ready` gets the held event now and waits for it
|
|
44718
|
+
* otherwise; one that does not ends the ask. Any node entered after that rest ends it too. Allocates nothing: it runs
|
|
44719
|
+
* on every node the graph enters.
|
|
44720
|
+
*
|
|
44721
|
+
* @param ctx - Domain context of the plugin.
|
|
44722
|
+
* @param node - The node entered.
|
|
44723
|
+
*/
|
|
44724
|
+
function passReadyNode(ctx, node) {
|
|
44725
|
+
const state = ctx.state;
|
|
44726
|
+
if (state.readyPlace === "gone") return;
|
|
44727
|
+
if (state.readyPlace === "at") {
|
|
44728
|
+
state.readyPlace = "gone";
|
|
44729
|
+
return;
|
|
44730
|
+
}
|
|
44731
|
+
if (!node.rest) return;
|
|
44732
|
+
if (!takesReady(ctx, node)) {
|
|
44733
|
+
state.readyPlace = "gone";
|
|
44734
|
+
return;
|
|
44735
|
+
}
|
|
44736
|
+
state.readyPlace = "at";
|
|
44737
|
+
if (!state.readyHeld) return;
|
|
44738
|
+
state.readyHeld = false;
|
|
44739
|
+
state.readyPlace = "gone";
|
|
44740
|
+
ctx.deps.flow.inbox.post({ type: "ready" });
|
|
44741
|
+
}
|
|
44673
44742
|
//#endregion
|
|
44674
44743
|
//#region src/plugins/assets/lifecycle.ts
|
|
44675
44744
|
/**
|
|
@@ -44763,7 +44832,8 @@ function releaseMarkedRest(ctx, run) {
|
|
|
44763
44832
|
* The `load` stage of entering a node: the bundles of the node become the pinned set, the release
|
|
44764
44833
|
* a rest marked runs, and in live mode the node waits for its bundles. A bundle the preload did not
|
|
44765
44834
|
* reach is a dev warning, except a `"leave"` bundle, which the preload skips on purpose, and the
|
|
44766
|
-
* bundles of a node entered before any live rest, which no preload could reach (F117).
|
|
44835
|
+
* bundles of a node entered before any live rest, which no preload could reach (F117). The latest
|
|
44836
|
+
* `ready` ask that answered `false` moves past the node (F204).
|
|
44767
44837
|
*
|
|
44768
44838
|
* @param ctx - Domain context of the plugin.
|
|
44769
44839
|
* @param node - The node being entered.
|
|
@@ -44777,6 +44847,7 @@ async function enterNode(ctx, node, run) {
|
|
|
44777
44847
|
state.pinned = new Set(bundles);
|
|
44778
44848
|
if (node.scene !== void 0 && state.scenes.has(node.scene)) state.sceneId = node.scene;
|
|
44779
44849
|
releaseMarkedRest(ctx, run);
|
|
44850
|
+
passReadyNode(ctx, node);
|
|
44780
44851
|
if (state.io === void 0 || run.mode === "fast") return;
|
|
44781
44852
|
for (const name of bundles) {
|
|
44782
44853
|
const isLeaving = state.manifest.bundles[name]?.release === "leave";
|
|
@@ -45758,6 +45829,9 @@ function createAssetsState() {
|
|
|
45758
45829
|
budgetUnloaded: emptySet$2(),
|
|
45759
45830
|
reloadHeld: emptySet$2(),
|
|
45760
45831
|
readyWaiting: emptyMap$3(),
|
|
45832
|
+
readyAsk: 0,
|
|
45833
|
+
readyPlace: "gone",
|
|
45834
|
+
readyHeld: false,
|
|
45761
45835
|
thrashWarned: emptySet$2(),
|
|
45762
45836
|
scenes: emptyMap$3(),
|
|
45763
45837
|
featureOfFlow: emptyMap$3(),
|
|
@@ -68077,6 +68151,7 @@ function createParts(ctx, reconcile) {
|
|
|
68077
68151
|
const lookup = (entity) => state.elements.get(entity);
|
|
68078
68152
|
let entered = 0;
|
|
68079
68153
|
let spent = false;
|
|
68154
|
+
let spentFrom = 0;
|
|
68080
68155
|
let unitRan = false;
|
|
68081
68156
|
let applied = 0;
|
|
68082
68157
|
let landed = false;
|
|
@@ -68144,31 +68219,49 @@ function createParts(ctx, reconcile) {
|
|
|
68144
68219
|
function parks() {
|
|
68145
68220
|
if (reconcile.isMoving()) return false;
|
|
68146
68221
|
entered += 1;
|
|
68147
|
-
if (!spent)
|
|
68222
|
+
if (!spent) {
|
|
68223
|
+
spent = spentAt(entered);
|
|
68224
|
+
spentFrom = entered;
|
|
68225
|
+
}
|
|
68148
68226
|
return spent;
|
|
68149
68227
|
}
|
|
68150
68228
|
/**
|
|
68151
|
-
*
|
|
68152
|
-
*
|
|
68153
|
-
*
|
|
68229
|
+
* Tells whether the rest of a child list of a root built aside waits for a later frame: once the
|
|
68230
|
+
* budget was read spent, `CLOCK_EVERY` more elements are made, so a short list ends, and then the
|
|
68231
|
+
* rest of every list in work waits (F201: the 120 cards of a shop's track were made in one frame
|
|
68232
|
+
* past its budget). A row a range change scrolls in never waits: the range step runs before any
|
|
68233
|
+
* root of the frame is diffed, and `parks` reads no budget while it moves.
|
|
68234
|
+
*
|
|
68235
|
+
* @returns True when the next child of the list waits.
|
|
68236
|
+
*/
|
|
68237
|
+
function stops() {
|
|
68238
|
+
return spent && entered - spentFrom >= CLOCK_EVERY;
|
|
68239
|
+
}
|
|
68240
|
+
/**
|
|
68241
|
+
* Leaves the children of a new element of a root built aside for a later frame, from the node at
|
|
68242
|
+
* `from` on: all of them, or the rest of a list past the budget. The children made before stay.
|
|
68243
|
+
* The part is queued behind the root's other parts, with the cause of the diff running now.
|
|
68154
68244
|
*
|
|
68155
68245
|
* @param root - The root built aside.
|
|
68156
68246
|
* @param element - The element that entered.
|
|
68157
68247
|
* @param nodes - The children it would have diffed.
|
|
68158
68248
|
* @param instance - The identity of the nearest component instance.
|
|
68249
|
+
* @param from - The first node that waits.
|
|
68159
68250
|
*/
|
|
68160
|
-
function park(root, element, nodes, instance) {
|
|
68251
|
+
function park(root, element, nodes, instance, from) {
|
|
68161
68252
|
const cause = state.building;
|
|
68162
68253
|
const part = parkedPool.pop() ?? {
|
|
68163
68254
|
element,
|
|
68164
68255
|
nodes,
|
|
68165
68256
|
instance,
|
|
68166
|
-
cause
|
|
68257
|
+
cause,
|
|
68258
|
+
from
|
|
68167
68259
|
};
|
|
68168
68260
|
part.element = element;
|
|
68169
68261
|
part.nodes = nodes;
|
|
68170
68262
|
part.instance = instance;
|
|
68171
68263
|
part.cause = cause;
|
|
68264
|
+
part.from = from;
|
|
68172
68265
|
root.parked ??= [];
|
|
68173
68266
|
root.parked.push(part);
|
|
68174
68267
|
track(root);
|
|
@@ -68206,7 +68299,7 @@ function createParts(ctx, reconcile) {
|
|
|
68206
68299
|
unitRan = true;
|
|
68207
68300
|
state.building = part.cause;
|
|
68208
68301
|
try {
|
|
68209
|
-
reconcile.
|
|
68302
|
+
reconcile.enterChildren(root, element, part.nodes, part.instance, part.from);
|
|
68210
68303
|
} catch (error) {
|
|
68211
68304
|
ctx.log.error("ui:root-failed", { root: root.name }, asError(error));
|
|
68212
68305
|
} finally {
|
|
@@ -68391,6 +68484,7 @@ function createParts(ctx, reconcile) {
|
|
|
68391
68484
|
beginSolve,
|
|
68392
68485
|
hasLanded,
|
|
68393
68486
|
parks,
|
|
68487
|
+
stops,
|
|
68394
68488
|
park,
|
|
68395
68489
|
waits,
|
|
68396
68490
|
working,
|
|
@@ -69517,7 +69611,7 @@ function createReconciler(ctx, modules, fields) {
|
|
|
69517
69611
|
despawnTree
|
|
69518
69612
|
});
|
|
69519
69613
|
const parts = createParts(ctx, {
|
|
69520
|
-
|
|
69614
|
+
enterChildren,
|
|
69521
69615
|
applyElement,
|
|
69522
69616
|
isMoving: range.isMoving
|
|
69523
69617
|
});
|
|
@@ -69681,7 +69775,8 @@ function createReconciler(ctx, modules, fields) {
|
|
|
69681
69775
|
rowHeight: range.rowHeightOf(parent, node)
|
|
69682
69776
|
};
|
|
69683
69777
|
const nodes = childrenOf(node, range.slotsFor(element), element.scroll?.axis);
|
|
69684
|
-
if (aside && parts.parks() && nodes.length > 0) parts.park(root, element, nodes, instance);
|
|
69778
|
+
if (aside && parts.parks() && nodes.length > 0) parts.park(root, element, nodes, instance, 0);
|
|
69779
|
+
else if (aside) enterChildren(root, element, nodes, instance, 0);
|
|
69685
69780
|
else diffChildren(root, element, nodes, instance);
|
|
69686
69781
|
root.needsSolve = true;
|
|
69687
69782
|
return entity;
|
|
@@ -69725,10 +69820,13 @@ function createReconciler(ctx, modules, fields) {
|
|
|
69725
69820
|
*
|
|
69726
69821
|
* @param parent - The element whose children were diffed.
|
|
69727
69822
|
* @param next - Its children of this render, in markup order.
|
|
69823
|
+
* @param start - The first child whose place may have changed: 0, or the first one the rest of a
|
|
69824
|
+
* list made in parts added.
|
|
69728
69825
|
*/
|
|
69729
|
-
function placeChildren(parent, next) {
|
|
69730
|
-
for (
|
|
69731
|
-
const
|
|
69826
|
+
function placeChildren(parent, next, start = 0) {
|
|
69827
|
+
for (let index = start; index < next.length; index += 1) {
|
|
69828
|
+
const entity = next[index];
|
|
69829
|
+
const element = entity === void 0 ? void 0 : state.elements.get(entity);
|
|
69732
69830
|
if (element === void 0 || element.index === index) continue;
|
|
69733
69831
|
element.index = index;
|
|
69734
69832
|
if (element.live) writeOrder(element);
|
|
@@ -70162,6 +70260,42 @@ function createReconciler(ctx, modules, fields) {
|
|
|
70162
70260
|
root.needsSolve = true;
|
|
70163
70261
|
}
|
|
70164
70262
|
/**
|
|
70263
|
+
* Makes the children of a new element of a root built aside from the node at `from` on, after the
|
|
70264
|
+
* ones made before, and places only those it made: the ones before keep their places and their
|
|
70265
|
+
* Yoga nodes. While the root is built aside the rest of the list waits in its queue once the
|
|
70266
|
+
* frame's budget is spent (F201: a shop's track of 120 cards was made in one frame past its
|
|
70267
|
+
* budget); the first child of a call is always made, so a list always moves. A root shown
|
|
70268
|
+
* meanwhile makes the rest at once. A new element has no old children to leave, so nothing leaves
|
|
70269
|
+
* here.
|
|
70270
|
+
*
|
|
70271
|
+
* @param root - The root built aside, or shown while its parts waited.
|
|
70272
|
+
* @param parent - The new element whose children are made.
|
|
70273
|
+
* @param nodes - Its children of the render it entered with.
|
|
70274
|
+
* @param instance - The identity of the nearest component instance.
|
|
70275
|
+
* @param from - The first node not made yet.
|
|
70276
|
+
*/
|
|
70277
|
+
function enterChildren(root, parent, nodes, instance, from) {
|
|
70278
|
+
if (from >= nodes.length) return;
|
|
70279
|
+
const aside = isAside(root.entity);
|
|
70280
|
+
const start = parent.children.length;
|
|
70281
|
+
const next = [...parent.children];
|
|
70282
|
+
for (let index = from; index < nodes.length; index += 1) {
|
|
70283
|
+
const node = nodes[index];
|
|
70284
|
+
if (node === void 0) continue;
|
|
70285
|
+
if (index > from && aside && parts.stops()) {
|
|
70286
|
+
parts.park(root, parent, nodes, instance, index);
|
|
70287
|
+
break;
|
|
70288
|
+
}
|
|
70289
|
+
const entity = diffNode(root, parent, node, index, identityOf(parent.identity, node, index), instance);
|
|
70290
|
+
if (entity !== void 0) next.push(entity);
|
|
70291
|
+
}
|
|
70292
|
+
if (next.length === start) return;
|
|
70293
|
+
parent.children = next;
|
|
70294
|
+
placeChildren(parent, next, start);
|
|
70295
|
+
modules.layout.append(parent, next.slice(start).map((entity) => state.elements.get(entity)).filter((element) => isElement(element)));
|
|
70296
|
+
root.needsSolve = true;
|
|
70297
|
+
}
|
|
70298
|
+
/**
|
|
70165
70299
|
* Takes out every old child of an element whose identity no node of this render has: its exit
|
|
70166
70300
|
* starts, and everything under it plays its own, before a new child enters.
|
|
70167
70301
|
*
|
|
@@ -72216,6 +72350,26 @@ function placeChildren(state, parent, children) {
|
|
|
72216
72350
|
index += 1;
|
|
72217
72351
|
}
|
|
72218
72352
|
}
|
|
72353
|
+
/**
|
|
72354
|
+
* Puts new children after the ones a parent's node holds, in order, and touches none of those: the
|
|
72355
|
+
* rest of a list made in parts costs one insert a child, where `placeChildren` takes out and puts
|
|
72356
|
+
* back every child placed before (F201). An `<anchor>` is left out, as `placeChildren` leaves it.
|
|
72357
|
+
*
|
|
72358
|
+
* @param state - The layout state.
|
|
72359
|
+
* @param parent - The element whose child list grew at its end.
|
|
72360
|
+
* @param children - The new children only, in child order.
|
|
72361
|
+
*/
|
|
72362
|
+
function appendChildren(state, parent, children) {
|
|
72363
|
+
const node = state.byEntity.get(parent.entity);
|
|
72364
|
+
if (node === void 0) return;
|
|
72365
|
+
let index = node.getChildCount();
|
|
72366
|
+
for (const child of children) {
|
|
72367
|
+
const childNode = state.byEntity.get(child.entity);
|
|
72368
|
+
if (childNode === void 0 || child.type === "anchor") continue;
|
|
72369
|
+
node.insertChild(childNode, index);
|
|
72370
|
+
index += 1;
|
|
72371
|
+
}
|
|
72372
|
+
}
|
|
72219
72373
|
//#endregion
|
|
72220
72374
|
//#region src/plugins/ui/layout/exit.ts
|
|
72221
72375
|
/**
|
|
@@ -74160,6 +74314,7 @@ function createLayoutApi(ctx) {
|
|
|
74160
74314
|
iconLineMoved: () => iconLineMoved(state, source),
|
|
74161
74315
|
markMeasured: (element) => markMeasured(state, element),
|
|
74162
74316
|
place: (parent, children) => placeChildren(state, parent, children),
|
|
74317
|
+
append: (parent, children) => appendChildren(state, parent, children),
|
|
74163
74318
|
free: (element) => freeNode(state, element),
|
|
74164
74319
|
solve: (rootElement, size, lookup) => solveRoot(state, rootElement, size, lookup),
|
|
74165
74320
|
contentRect: (element) => contentRectOf(state, element, contentBox),
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bn as NodeTable, Ir as ClockSource, Jn as Hint, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Wn as Descriptor, Wr as Json, Yn as NodeFx } from "./types-
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as memory, x as saveOf, y as WithGameState } from "./types-
|
|
4
|
-
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Bn as NodeTable, Ir as ClockSource, Jn as Hint, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Wn as Descriptor, Wr as Json, Yn as NodeFx } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { t as createApp } from "./index-bracik73.mjs";
|
|
3
|
+
import { b as memory, x as saveOf, y as WithGameState } from "./types-DY1ck0TP.mjs";
|
|
4
|
+
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-Def8N-1F.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/clock/fake.d.ts
|
package/dist/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-
|
|
1
|
+
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-Dq7gGhN4.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-BuXptVI_.mjs";
|
|
@@ -14631,7 +14631,14 @@ type State = {
|
|
|
14631
14631
|
* waits on cannot take them before the node asks again (F190). A bundle no `ready` asked for again by its second
|
|
14632
14632
|
* rest is let go: the node it was asked for was left another way (Back).
|
|
14633
14633
|
*/
|
|
14634
|
-
readyWaiting: Map<string, number>; /**
|
|
14634
|
+
readyWaiting: Map<string, number>; /** How many `ready` asks answered `false` so far: only the latest one posts its inbox event (F204). */
|
|
14635
|
+
readyAsk: number;
|
|
14636
|
+
/**
|
|
14637
|
+
* Where the rest of the latest `false` ask stands: `"before"` it is entered (a transit node asked), `"at"` it (it is
|
|
14638
|
+
* the active node and lists `ready`), or `"gone"` (posted, left, or a rest that does not list `ready`) (F204).
|
|
14639
|
+
*/
|
|
14640
|
+
readyPlace: "before" | "at" | "gone"; /** The bundles of that ask settled before its rest was entered: the rest gets the event on entry (F204). */
|
|
14641
|
+
readyHeld: boolean; /** Bundles the "asked again" warning named already: one line per bundle per session (F184). */
|
|
14635
14642
|
thrashWarned: Set<string>; /** Scene id to its declaration, read from the `scenes` key of `flow.features`. */
|
|
14636
14643
|
scenes: Map<string, SceneDefinition>; /** Flow id to the feature that owns it, read from the `flows` key of `flow.features`. */
|
|
14637
14644
|
featureOfFlow: Map<string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as FilterSlotInputs, Ar as Api$3, M as SyncApi, Q as Api$4, Qn as AnchorTarget, Un as TypeTag, Ur as Events$3, Vr as Api$6, Wn as Descriptor, Wr as Json, ar as NumericFields, at as PixiSprite, b as Events$4, bi as Require, br as Entity, bt as FilterCache, cr as ReducedMotion, dr as TrackSegment, gr as ComponentHandle, hr as AnyComponentValue, ir as MotionHandle, it as PixiModule, j as FilterSlotQuad, k as FilterSlot, mn as Api$2, nt as PixiFilter, oi as Events$5, ot as PixiTexture, pr as AnyComponent, rt as PixiGpuProgram, s as Events$1, st as PixiUniformGroup, t as Api$5, tr as Ease, ui as Api$1, ur as TrackOptions, vr as ComponentType, vt as Point, yi as Events$2 } from "./types-
|
|
2
|
-
import { R as InputApi, T as TextApi, U as I18nApi, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, tt as StylesState } from "./types-
|
|
1
|
+
import { A as FilterSlotInputs, Ar as Api$3, M as SyncApi, Q as Api$4, Qn as AnchorTarget, Un as TypeTag, Ur as Events$3, Vr as Api$6, Wn as Descriptor, Wr as Json, ar as NumericFields, at as PixiSprite, b as Events$4, bi as Require, br as Entity, bt as FilterCache, cr as ReducedMotion, dr as TrackSegment, gr as ComponentHandle, hr as AnyComponentValue, ir as MotionHandle, it as PixiModule, j as FilterSlotQuad, k as FilterSlot, mn as Api$2, nt as PixiFilter, oi as Events$5, ot as PixiTexture, pr as AnyComponent, rt as PixiGpuProgram, s as Events$1, st as PixiUniformGroup, t as Api$5, tr as Ease, ui as Api$1, ur as TrackOptions, vr as ComponentType, vt as Point, yi as Events$2 } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { R as InputApi, T as TextApi, U as I18nApi, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, tt as StylesState } from "./types-CwQ1ySw5.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
import { PluginCtx } from "@moku-labs/core";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as ChangeHook, Ar as Api$2, D as AxisPose, Fr as Api$5, Jn as Hint, Q as Api$3, Qn as AnchorTarget, Wn as Descriptor, Wr as Json, Y as TransformValue, Zn as Answered, ar as NumericFields, bi as Require, br as Entity, cr as ReducedMotion, fr as ViewHandle, hr as AnyComponentValue, ir as MotionHandle, it as PixiModule, kr as TagType, mn as Api$1, mr as AnyComponentType, nr as Motion, or as ProjectionMotion, pr as AnyComponent, rr as MotionCause, s as Events$1, t as Api$4, tr as Ease, tt as PixiContainer, ui as Api, vr as ComponentType, yt as ViewportSize } from "./types-
|
|
1
|
+
import { $n as ChangeHook, Ar as Api$2, D as AxisPose, Fr as Api$5, Jn as Hint, Q as Api$3, Qn as AnchorTarget, Wn as Descriptor, Wr as Json, Y as TransformValue, Zn as Answered, ar as NumericFields, bi as Require, br as Entity, cr as ReducedMotion, fr as ViewHandle, hr as AnyComponentValue, ir as MotionHandle, it as PixiModule, kr as TagType, mn as Api$1, mr as AnyComponentType, nr as Motion, or as ProjectionMotion, pr as AnyComponent, rr as MotionCause, s as Events$1, t as Api$4, tr as Ease, tt as PixiContainer, ui as Api, vr as ComponentType, yt as ViewportSize } from "./types-BFoRyZqu.mjs";
|
|
2
2
|
import { Log } from "@moku-labs/common/browser";
|
|
3
3
|
import { PluginCtx } from "@moku-labs/core";
|
|
4
4
|
import { Node, Yoga } from "yoga-layout/load";
|
|
@@ -3382,14 +3382,16 @@ type PopupLink = {
|
|
|
3382
3382
|
};
|
|
3383
3383
|
/**
|
|
3384
3384
|
* One part of a root built aside that waits for a later frame (spec 33 A2): an element that exists
|
|
3385
|
-
* and whose children were not
|
|
3386
|
-
*
|
|
3385
|
+
* and whose children were not all made yet, the nodes it would have diffed, the first of them that
|
|
3386
|
+
* waits (0, or the rest of a long list past the budget, F201), the nearest component instance and
|
|
3387
|
+
* the cause its children enter with. Back in the pool it holds no element.
|
|
3387
3388
|
*/
|
|
3388
3389
|
type Parked = {
|
|
3389
3390
|
element: Element | undefined;
|
|
3390
3391
|
nodes: readonly DescriptionNode[];
|
|
3391
3392
|
instance: string | undefined;
|
|
3392
3393
|
cause: MotionCause | undefined;
|
|
3394
|
+
from: number;
|
|
3393
3395
|
};
|
|
3394
3396
|
/**
|
|
3395
3397
|
* The application of a solved root built aside, in parts (spec 33 A6): the elements still to
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as Config$2, Hr as Config, Ir as ClockSource, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Un as TypeTag, Wr as Json, Xr as ProviderCall, Yr as PlayerStateProvider, Zr as SaveDoc, _t as Orientation, a as Config$3, d as Manifest, ei as SnapshotOf, gn as Config$1, it as PixiModule, n as AssetsIo } from "./types-
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
3
|
-
import { J as StringTable, U as I18nApi, Y as TextKey } from "./types-
|
|
4
|
-
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-
|
|
1
|
+
import { $ as Config$2, Hr as Config, Ir as ClockSource, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Un as TypeTag, Wr as Json, Xr as ProviderCall, Yr as PlayerStateProvider, Zr as SaveDoc, _t as Orientation, a as Config$3, d as Manifest, ei as SnapshotOf, gn as Config$1, it as PixiModule, n as AssetsIo } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-Bj1uc5Qt.mjs";
|
|
3
|
+
import { J as StringTable, U as I18nApi, Y as TextKey } from "./types-CwQ1ySw5.mjs";
|
|
4
|
+
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-bracik73.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/model/store/providers/memory.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $r as Snapshot, Wr as Json } from "./types-
|
|
2
|
-
import { t as HeadlessApp } from "./headless-
|
|
1
|
+
import { $r as Snapshot, Wr as Json } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { t as HeadlessApp } from "./headless-Def8N-1F.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/flow/doors/types.d.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Ar as Api$1, Fr as Api$4, Q as Api, Vr as Api$2, ii as Api$3 } from "./types-
|
|
2
|
-
import { W as AnimApi, r as UiApi } from "./types-
|
|
3
|
-
import { R as InputApi } from "./types-
|
|
4
|
-
import { r as Repro } from "./headless-
|
|
5
|
-
import { i as ControlApp, o as InputOf } from "./types-
|
|
6
|
-
import { t as commands } from "./commands-
|
|
1
|
+
import { Ar as Api$1, Fr as Api$4, Q as Api, Vr as Api$2, ii as Api$3 } from "./types-BFoRyZqu.mjs";
|
|
2
|
+
import { W as AnimApi, r as UiApi } from "./types-Bj1uc5Qt.mjs";
|
|
3
|
+
import { R as InputApi } from "./types-CwQ1ySw5.mjs";
|
|
4
|
+
import { r as Repro } from "./headless-Def8N-1F.mjs";
|
|
5
|
+
import { i as ControlApp, o as InputOf } from "./types-Dp8LeQTw.mjs";
|
|
6
|
+
import { t as commands } from "./commands-DLHoLKme.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/visual/types.d.ts
|
|
9
9
|
/** The base commands of the `/control` door, keyed by their short names. */
|
package/dist/visual.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-
|
|
1
|
+
import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-CfI3T3Am.mjs";
|
|
2
2
|
export { type CheckpointResult, type VisualApp, type VisualOptions, type VisualPage, type VisualRenderer, type VisualReport, type VisualSetup, type VisualStart, type VisualStep, type VisualTest, type VisualTestResult, type VisualTolerance, defineVisualTest, parseVisualArgv, runVisualTests };
|