@moku-labs/game 0.15.72 → 0.15.74
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-DISL7dJK.d.mts → commands-D1tuKnq1.d.mts} +5 -5
- package/dist/control.d.mts +4 -4
- package/dist/{define-CiND07-J.d.mts → define-C9Xx5ABN.d.mts} +2 -2
- package/dist/{headless-DOodj3tR.d.mts → headless-D3iIdUix.d.mts} +1 -1
- package/dist/{index-HOyIg4Mb.d.mts → index-D-e-E3NV.d.mts} +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +6 -6
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-wRgeALZM.d.mts → runtime-B8PDY99M.d.mts} +1 -1
- package/dist/{src-CcqRw6N0.mjs → src-D36RV9tq.mjs} +139 -23
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-BW6A3mBQ.d.mts → types-BipKDDAU.d.mts} +2 -2
- package/dist/{types-C_2rOCXV.d.mts → types-Bk0UQUq-.d.mts} +4 -4
- package/dist/{types-uZt-ompE.d.mts → types-D090j5P7.d.mts} +8 -1
- package/dist/{types-DU2_qIzE.d.mts → types-DU7VUsD9.d.mts} +2 -2
- package/dist/{types-8-dd6MmX.d.mts → types-eDu74x6O.d.mts} +1 -1
- package/dist/{visual-C3zvIXTR.d.mts → visual-44HdrQrw.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 { Fr as PlayerStateProvider } from "../types-
|
|
2
|
-
import { ht as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-
|
|
1
|
+
import { Fr as PlayerStateProvider } from "../types-D090j5P7.mjs";
|
|
2
|
+
import { ht as PlatformProvider } from "../index-D-e-E3NV.mjs";
|
|
3
|
+
import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-Bk0UQUq-.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 { Ar as Json } from "./types-
|
|
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 { Ar as Json } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { U as StringTable } from "./types-eDu74x6O.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-Bk0UQUq-.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-D36RV9tq.mjs";
|
|
2
2
|
import { t as memory } from "./memory-CWlqhS7l.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 { D as DebugSwitches, Qr as FrameRate, Sn as Bookmark, Tn as FlowState, Vr as StoreApi, Wr as Api, Y as Api$1, gr as Api$2, ni as Time, ot as Captured, w as ScenesApi, zr as Snapshot } from "./types-
|
|
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 { D as DebugSwitches, Qr as FrameRate, Sn as Bookmark, Tn as FlowState, Vr as StoreApi, Wr as Api, Y as Api$1, gr as Api$2, ni as Time, ot as Captured, w as ScenesApi, zr as Snapshot } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-BipKDDAU.mjs";
|
|
3
|
+
import { N as InputApi } from "./types-eDu74x6O.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-D3iIdUix.mjs";
|
|
5
|
+
import { n as Command, r as ControlApp } from "./types-DU7VUsD9.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/flow/doors/commands.d.ts
|
|
8
8
|
/**
|
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-D3iIdUix.mjs";
|
|
2
|
+
import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DU7VUsD9.mjs";
|
|
3
|
+
import { t as commands } from "./commands-D1tuKnq1.mjs";
|
|
4
|
+
import { t as defineCommand } from "./define-C9Xx5ABN.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/flow/doors/dev.d.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as HeadlessApp } from "./headless-
|
|
2
|
-
import { c as Source, n as Command, o as InputSchema } from "./types-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-D3iIdUix.mjs";
|
|
2
|
+
import { c as Source, n as Command, o as InputSchema } from "./types-DU7VUsD9.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/flow/doors/define.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as Json, En as JournalEntry, Ln as Answer, On as RouteStep, Tn as FlowState, Ur as RngState, Xr as Api, nn as Api$1 } from "./types-
|
|
1
|
+
import { Ar as Json, En as JournalEntry, Ln as Answer, On as RouteStep, Tn as FlowState, Ur as RngState, Xr as Api, nn as Api$1 } from "./types-D090j5P7.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/flow/headless.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $r as RateChange, Ar as Json, B as ShapeValue, Bn as DescriptionNode, C as SceneSpec, Cn as DefineNode, Cr as Config$2, Dt as PassKind, F as NineSliceValue, Fn as Hint, Gn as NumericFields, Gr as Config$4, Hr as RngApi, Jn as ReducedMotion, Jr as State$4, K as TransformValue, Kn as ProjectionMotion, Kr as Events, L as OverlayValue, Ln as Answer, Mn as Effect, Mr as State$5, N as HudPartValue, Nn as EffectOptions, Or as Config$5, Pn as GuideOptions, Pr as Patch, S as SceneDefinition, T as State$7, Tr as State$2, U as SpriteOptions, Vn as Ease, Vr as StoreApi, W as SpriteValue, Wr as Api$3, X as Config$6, Xr as Api$5, Y as Api$4, Zr as Config$8, _ as AnySceneProjection, _r as Config$9, _t as FrameRing, a as Config$1, ai as Events$1, an as EmitterIdOf, ar as ComponentValue, bn as FeatureTree, c as LoadBundles, dr as QueryTerm, dt as ViewportSize, ei as State$8, f as ReadyBundles, fr as ResourceType, gr as Api$6, gt as FrameRecord, hr as TagType, i as BundleSpec, ii as Config$10, in as Config$3, ir as ComponentType, jn as Descriptor, jr as Root, kn as SceneIdOf, l as LoadReason, ln as State$3, lr as Mut, m as Tier, mr as SystemFor, nn as Api$2, nr as ComponentHandle, o as DefineBundles, oi as Require, on as GameTypes, p as State$1, pn as defineFlow, pr as SystemDefinition, q as sprite, qn as ProjectionSpec, qr as PauseReason, r as BundleMap, rn as BundlesOf, rt as State$6, sn as HudKeysOf, t as Api, ti as ThermalReading, u as LoadResult, un as TextStylesOf, ur as Narrowed, v as Config$7, vn as FeatureDescription, w as ScenesApi, x as LayerMap, xr as Api$1, y as DefineScene, yn as FeaturePlugin, yr as State$9 } from "./types-
|
|
2
|
-
import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-
|
|
3
|
-
import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-
|
|
1
|
+
import { $r as RateChange, Ar as Json, B as ShapeValue, Bn as DescriptionNode, C as SceneSpec, Cn as DefineNode, Cr as Config$2, Dt as PassKind, F as NineSliceValue, Fn as Hint, Gn as NumericFields, Gr as Config$4, Hr as RngApi, Jn as ReducedMotion, Jr as State$4, K as TransformValue, Kn as ProjectionMotion, Kr as Events, L as OverlayValue, Ln as Answer, Mn as Effect, Mr as State$5, N as HudPartValue, Nn as EffectOptions, Or as Config$5, Pn as GuideOptions, Pr as Patch, S as SceneDefinition, T as State$7, Tr as State$2, U as SpriteOptions, Vn as Ease, Vr as StoreApi, W as SpriteValue, Wr as Api$3, X as Config$6, Xr as Api$5, Y as Api$4, Zr as Config$8, _ as AnySceneProjection, _r as Config$9, _t as FrameRing, a as Config$1, ai as Events$1, an as EmitterIdOf, ar as ComponentValue, bn as FeatureTree, c as LoadBundles, dr as QueryTerm, dt as ViewportSize, ei as State$8, f as ReadyBundles, fr as ResourceType, gr as Api$6, gt as FrameRecord, hr as TagType, i as BundleSpec, ii as Config$10, in as Config$3, ir as ComponentType, jn as Descriptor, jr as Root, kn as SceneIdOf, l as LoadReason, ln as State$3, lr as Mut, m as Tier, mr as SystemFor, nn as Api$2, nr as ComponentHandle, o as DefineBundles, oi as Require, on as GameTypes, p as State$1, pn as defineFlow, pr as SystemDefinition, q as sprite, qn as ProjectionSpec, qr as PauseReason, r as BundleMap, rn as BundlesOf, rt as State$6, sn as HudKeysOf, t as Api, ti as ThermalReading, u as LoadResult, un as TextStylesOf, ur as Narrowed, v as Config$7, vn as FeatureDescription, w as ScenesApi, x as LayerMap, xr as Api$1, y as DefineScene, yn as FeaturePlugin, yr as State$9 } from "./types-D090j5P7.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-BipKDDAU.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-eDu74x6O.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 ShaderWhat, At as PerfChange, Bn as DescriptionNode, Bt as PerfLongFrameLine, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Er as types_d_exports$3, Et as PROBLEM_RULES, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jt as PoolTrimDetail, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nr as types_d_exports$10, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rn as AnchorTarget, Rr as SaveUnreadableError, Rt as PerfHeaderLine, St as OverlayWhat, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xt as ProblemRule, Yn as SceneSwitch, Yr as types_d_exports$9, Yt as ProblemEventDetail, Z as MonitorConfig, Zt as SHADER_WHATS, _n as type, _t as FrameRing, at as types_d_exports$12, br as types_d_exports$17, bt as MonitorSections, dn as types_d_exports$6, en as WarmDetail, fn as contribution, g as types_d_exports$1, gn as to, gt as FrameRecord, hn as slot, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mn as exit, mt as FrameReadResult, nt as PoolTrim, pt as FrameColumns, q as sprite, qt as PerfThermalLine, ri as types_d_exports$15, 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-
|
|
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, At as PerfChange, Bn as DescriptionNode, Bt as PerfLongFrameLine, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Er as types_d_exports$3, Et as PROBLEM_RULES, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jt as PoolTrimDetail, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nr as types_d_exports$10, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rn as AnchorTarget, Rr as SaveUnreadableError, Rt as PerfHeaderLine, St as OverlayWhat, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xt as ProblemRule, Yn as SceneSwitch, Yr as types_d_exports$9, Yt as ProblemEventDetail, Z as MonitorConfig, Zt as SHADER_WHATS, _n as type, _t as FrameRing, at as types_d_exports$12, br as types_d_exports$17, bt as MonitorSections, dn as types_d_exports$6, en as WarmDetail, fn as contribution, g as types_d_exports$1, gn as to, gt as FrameRecord, hn as slot, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mn as exit, mt as FrameReadResult, nt as PoolTrim, pt as FrameColumns, q as sprite, qt as PerfThermalLine, ri as types_d_exports$15, 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-D090j5P7.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-BipKDDAU.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-eDu74x6O.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-D-e-E3NV.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, type BackResult, type BindOptions, Blur, Box, 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, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Sprite, type SpriteBlend, Swipeable, Tappable, Text, type TextFormat, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, type WarmDetail, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as sfx, $t as 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 type, at as use, b as types_exports$17, bt as Traced, c as hint, cn as lifecyclePlugin, 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 to, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as timePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as exit, nt as stagger, o as defineEffect, on as modelPlugin, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as slot, rt as stopSfx, s as guide, sn as SaveUnreadableError, st as inputPlugin, t as createApp, tn as contribution, tt as spawned, u as projection, un as clockPlugin, 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 type, at as use, b as types_exports$17, bt as Traced, c as hint, cn as lifecyclePlugin, 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 to, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as timePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as exit, nt as stagger, o as defineEffect, on as modelPlugin, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as slot, rt as stopSfx, s as guide, sn as SaveUnreadableError, st as inputPlugin, t as createApp, tn as contribution, tt as spawned, u as projection, un as clockPlugin, 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-D36RV9tq.mjs";
|
|
2
2
|
import { $ as Layer, B as Display, C as defineStyle, E as bind, G as Parent, H as NineSlice, J as Transform, K as Shape, O as defineTextStyles, Q as Exiting, S as defineTokens, T as Text, U as Overlay, V as HudPart, Z as sprite, _ as ScrollState, at as resource, b as popup, ct as tag, d as Box, et as Now, h as LocalWrite, it as mut, k as label, nt as Tree, ot as system, p as DebugTrigger, q as Sprite, rt as component, tt as Order, w as Countdown } from "./visual-B7TxMv1J.mjs";
|
|
3
3
|
import { t as defineComponent } from "./component-DGg5DqKK.mjs";
|
|
4
4
|
export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Blur, Box, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, types_exports$6 as Flow, Frames, Glow, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/inspect.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dr as Api, En as JournalEntry, Y as Api$2, cn as Position, cr as FrameDiff, ct as RenderStats, gr as Api$1, h as Usage, it as Under, rr as ComponentSchema, sr as EntitySnapshot, t as Api$3, vr as Explained, wn as FlowGraph, zr as Snapshot } from "./types-
|
|
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 { Dr as Api, En as JournalEntry, Y as Api$2, cn as Position, cr as FrameDiff, ct as RenderStats, gr as Api$1, h as Usage, it as Under, rr as ComponentSchema, sr as EntitySnapshot, t as Api$3, vr as Explained, wn as FlowGraph, zr as Snapshot } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-BipKDDAU.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-eDu74x6O.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-D3iIdUix.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-DU7VUsD9.mjs";
|
|
6
|
+
import { n as defineSource } from "./define-C9Xx5ABN.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/flow/doors/read.d.ts
|
|
9
9
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-
|
|
1
|
+
import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-B8PDY99M.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-B8PDY99M.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-eDu74x6O.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. */
|
|
@@ -17440,6 +17440,11 @@ function fitTexture(kctx, pixi, current, size, label) {
|
|
|
17440
17440
|
if (source.width !== width || source.height !== height || source.resolution !== resolution) current.resize(width, height, resolution);
|
|
17441
17441
|
return current;
|
|
17442
17442
|
}
|
|
17443
|
+
const pooled = fromPool(kctx, size);
|
|
17444
|
+
if (pooled !== void 0) {
|
|
17445
|
+
pooled.source.label = label;
|
|
17446
|
+
return pooled;
|
|
17447
|
+
}
|
|
17443
17448
|
const texture = pixi.RenderTexture.create({
|
|
17444
17449
|
width,
|
|
17445
17450
|
height,
|
|
@@ -17454,6 +17459,70 @@ function fitTexture(kctx, pixi, current, size, label) {
|
|
|
17454
17459
|
return texture;
|
|
17455
17460
|
}
|
|
17456
17461
|
/**
|
|
17462
|
+
* Takes a texture of the asked size out of the pool (F119): the first one of the same CSS size and resolution, its
|
|
17463
|
+
* bytes no longer the pool's. The last one fills its place: the pool keeps no order.
|
|
17464
|
+
*
|
|
17465
|
+
* @param kctx - The kept context.
|
|
17466
|
+
* @param size - CSS px and texels per CSS px.
|
|
17467
|
+
* @param size.width - CSS width.
|
|
17468
|
+
* @param size.height - CSS height.
|
|
17469
|
+
* @param size.resolution - Texels per CSS px.
|
|
17470
|
+
* @returns The texture, or `undefined` when none fits.
|
|
17471
|
+
*/
|
|
17472
|
+
function fromPool(kctx, size) {
|
|
17473
|
+
const { pool } = kctx.state;
|
|
17474
|
+
for (let index = 0; index < pool.length; index += 1) {
|
|
17475
|
+
const texture = pool[index];
|
|
17476
|
+
if (texture === void 0) continue;
|
|
17477
|
+
const { source } = texture;
|
|
17478
|
+
if (source.width !== size.width || source.height !== size.height) continue;
|
|
17479
|
+
if (source.resolution !== size.resolution) continue;
|
|
17480
|
+
const last = pool.pop();
|
|
17481
|
+
if (last !== void 0 && last !== texture) pool[index] = last;
|
|
17482
|
+
unpool(kctx, texture);
|
|
17483
|
+
return texture;
|
|
17484
|
+
}
|
|
17485
|
+
}
|
|
17486
|
+
/**
|
|
17487
|
+
* Puts a texture of a record whose view left into the pool (F119), for the next take of its size: a scene that leaves
|
|
17488
|
+
* and comes back makes no render target. Its bytes count in the budget until it is taken or dropped.
|
|
17489
|
+
*
|
|
17490
|
+
* @param kctx - The kept context.
|
|
17491
|
+
* @param texture - The texture.
|
|
17492
|
+
*/
|
|
17493
|
+
function poolTexture(kctx, texture) {
|
|
17494
|
+
if (texture.destroyed) return;
|
|
17495
|
+
const { source } = texture;
|
|
17496
|
+
const bytes = textureBytes(source.width, source.height, source.resolution);
|
|
17497
|
+
kctx.state.pool.push(texture);
|
|
17498
|
+
kctx.state.bytes += bytes;
|
|
17499
|
+
kctx.state.poolBytes += bytes;
|
|
17500
|
+
}
|
|
17501
|
+
/**
|
|
17502
|
+
* Gives back the bytes of a texture that left the pool.
|
|
17503
|
+
*
|
|
17504
|
+
* @param kctx - The kept context.
|
|
17505
|
+
* @param texture - The texture.
|
|
17506
|
+
*/
|
|
17507
|
+
function unpool(kctx, texture) {
|
|
17508
|
+
const { source } = texture;
|
|
17509
|
+
const bytes = textureBytes(source.width, source.height, source.resolution);
|
|
17510
|
+
kctx.state.bytes -= bytes;
|
|
17511
|
+
kctx.state.poolBytes -= bytes;
|
|
17512
|
+
}
|
|
17513
|
+
/**
|
|
17514
|
+
* Destroys every texture of the pool and gives its bytes back: room for a take, a reset.
|
|
17515
|
+
*
|
|
17516
|
+
* @param kctx - The kept context.
|
|
17517
|
+
*/
|
|
17518
|
+
function emptyPool$1(kctx) {
|
|
17519
|
+
const { state } = kctx;
|
|
17520
|
+
for (let texture = state.pool.pop(); texture !== void 0; texture = state.pool.pop()) {
|
|
17521
|
+
unpool(kctx, texture);
|
|
17522
|
+
dropTexture(kctx, texture);
|
|
17523
|
+
}
|
|
17524
|
+
}
|
|
17525
|
+
/**
|
|
17457
17526
|
* Destroys a texture of the module: out of `host.keep`, then its source.
|
|
17458
17527
|
*
|
|
17459
17528
|
* @param kctx - The kept context.
|
|
@@ -17527,7 +17596,11 @@ function renderStage1(kctx, pixi, matrices, record) {
|
|
|
17527
17596
|
record.s1 = s1;
|
|
17528
17597
|
matrices.m1.set(key[KEY.a] ?? 1, key[KEY.b] ?? 0, key[KEY.c] ?? 0, key[KEY.d] ?? 1, (key[KEY.tx] ?? 0) - (key[KEY.X0] ?? 0), (key[KEY.ty] ?? 0) - (key[KEY.Y0] ?? 0));
|
|
17529
17598
|
const group = top.isRenderGroup;
|
|
17530
|
-
|
|
17599
|
+
const alpha = top.alpha;
|
|
17600
|
+
if (alpha !== 1) top.alpha = 1;
|
|
17601
|
+
const rendered = kctx.host.renderTo(top, s1, matrices.m1, true);
|
|
17602
|
+
if (alpha !== 1) top.alpha = alpha;
|
|
17603
|
+
if (!rendered) return false;
|
|
17531
17604
|
if (!group && !record.wasGroup) kctx.state.madeGroups.add(top);
|
|
17532
17605
|
record.s1Version += 1;
|
|
17533
17606
|
kctx.state.takesOpen += 1;
|
|
@@ -17748,7 +17821,7 @@ function renderStage3(kctx, pixi, matrices, record, now) {
|
|
|
17748
17821
|
/**
|
|
17749
17822
|
* @file renderer/kept — the budget of the kept pictures (P6): `renderer.keptMb` MiB, estimated at four bytes a texel.
|
|
17750
17823
|
* Before a take that would pass it, the pictures not drawn in this frame are evicted, the least recently drawn first
|
|
17751
|
-
* (the spare of a released range before them); a range whose sprite is placed and a picture drawn in this frame are
|
|
17824
|
+
* (the pool of left views' textures and the spare of a released range before them); a range whose sprite is placed and a picture drawn in this frame are
|
|
17752
17825
|
* never evicted. An eviction draws the view live and destroys its textures; the record keeps its place.
|
|
17753
17826
|
*/
|
|
17754
17827
|
/**
|
|
@@ -17789,6 +17862,7 @@ function oldest(kctx, taking) {
|
|
|
17789
17862
|
function makeRoom(kctx, extra, taking, goLive) {
|
|
17790
17863
|
const { state } = kctx;
|
|
17791
17864
|
if (fits(kctx, extra)) return true;
|
|
17865
|
+
emptyPool$1(kctx);
|
|
17792
17866
|
if (state.spare !== void 0) {
|
|
17793
17867
|
const { source } = state.spare;
|
|
17794
17868
|
state.bytes -= textureBytes(source.width, source.height, source.resolution);
|
|
@@ -18255,6 +18329,14 @@ function emptyRecords() {
|
|
|
18255
18329
|
return [];
|
|
18256
18330
|
}
|
|
18257
18331
|
/**
|
|
18332
|
+
* Creates an empty texture list. Same reason as `emptyRecords`.
|
|
18333
|
+
*
|
|
18334
|
+
* @returns An empty list.
|
|
18335
|
+
*/
|
|
18336
|
+
function emptyTextures() {
|
|
18337
|
+
return [];
|
|
18338
|
+
}
|
|
18339
|
+
/**
|
|
18258
18340
|
* Creates an empty map. Same reason as `emptyRecords`.
|
|
18259
18341
|
*
|
|
18260
18342
|
* @returns An empty map.
|
|
@@ -18292,6 +18374,8 @@ function createKeptState(config) {
|
|
|
18292
18374
|
byTop: emptyMap$8(),
|
|
18293
18375
|
ranges: emptyMap$8(),
|
|
18294
18376
|
spare: void 0,
|
|
18377
|
+
pool: emptyTextures(),
|
|
18378
|
+
poolBytes: 0,
|
|
18295
18379
|
madeGroups: emptyWeakSet$2(),
|
|
18296
18380
|
frame: 0,
|
|
18297
18381
|
unsorted: false,
|
|
@@ -18311,7 +18395,8 @@ function createKeptState(config) {
|
|
|
18311
18395
|
flushPasses: 0,
|
|
18312
18396
|
calm: false,
|
|
18313
18397
|
firstTakes: 0,
|
|
18314
|
-
alphaDue: false
|
|
18398
|
+
alphaDue: false,
|
|
18399
|
+
liveWaiting: 0
|
|
18315
18400
|
};
|
|
18316
18401
|
}
|
|
18317
18402
|
/**
|
|
@@ -18382,6 +18467,9 @@ function stopKept(state) {
|
|
|
18382
18467
|
for (const range of state.ranges.values()) destroyRange(range, destroyTexture$1);
|
|
18383
18468
|
if (state.spare !== void 0) destroyWhole(state.spare);
|
|
18384
18469
|
state.spare = void 0;
|
|
18470
|
+
for (const texture of state.pool) destroyTexture$1(texture);
|
|
18471
|
+
state.pool.length = 0;
|
|
18472
|
+
state.poolBytes = 0;
|
|
18385
18473
|
state.records.length = 0;
|
|
18386
18474
|
state.byEntity.clear();
|
|
18387
18475
|
state.byTop.clear();
|
|
@@ -18397,6 +18485,7 @@ function stopKept(state) {
|
|
|
18397
18485
|
state.drawnPictures = 0;
|
|
18398
18486
|
state.firstTakes = 0;
|
|
18399
18487
|
state.alphaDue = false;
|
|
18488
|
+
state.liveWaiting = 0;
|
|
18400
18489
|
state.warnedBudget = false;
|
|
18401
18490
|
state.warnedBlend.clear();
|
|
18402
18491
|
state.verifySkipped = 0;
|
|
@@ -18501,25 +18590,43 @@ function drawsDirectAt(stack, resolution) {
|
|
|
18501
18590
|
return !Number.isNaN(stack.alpha) && stack.P === 0 && stack.rs === resolution;
|
|
18502
18591
|
}
|
|
18503
18592
|
/**
|
|
18504
|
-
* Tells whether a take the budget refused still does not fit (P6.3).
|
|
18593
|
+
* Tells whether a take the budget refused still does not fit (P6.3); the pool's bytes are the take's to have (F119).
|
|
18505
18594
|
*
|
|
18506
18595
|
* @param state - The kept state.
|
|
18507
18596
|
* @param record - The record.
|
|
18508
18597
|
* @returns True when it still does not fit.
|
|
18509
18598
|
*/
|
|
18510
18599
|
function refusalHolds(state, record) {
|
|
18511
|
-
return record.refused > 0 && state.bytes + record.refused - record.bytes > state.budget;
|
|
18600
|
+
return record.refused > 0 && state.bytes - state.poolBytes + record.refused - record.bytes > state.budget;
|
|
18512
18601
|
}
|
|
18513
18602
|
/**
|
|
18514
|
-
* Tells whether a first take waits for the next frame (F114): a stack drawn direct never does;
|
|
18515
|
-
* this frame
|
|
18603
|
+
* Tells whether a first take waits for the next frame (F114): a stack drawn direct never does; a view drawn live while
|
|
18604
|
+
* a crowd of them waits only when `CROWD_TAKES` were taken in this frame already (F119); any other waits when this
|
|
18605
|
+
* frame took one already or an alpha is due.
|
|
18516
18606
|
*
|
|
18517
18607
|
* @param state - The kept state.
|
|
18518
18608
|
* @param direct - The stack draws direct.
|
|
18609
|
+
* @param live - The view is drawn live in this frame.
|
|
18519
18610
|
* @returns True when it waits.
|
|
18520
18611
|
*/
|
|
18521
|
-
function heldBack(state, direct) {
|
|
18522
|
-
|
|
18612
|
+
function heldBack(state, direct, live) {
|
|
18613
|
+
if (direct) return false;
|
|
18614
|
+
if (live && state.liveWaiting >= 4) return state.firstTakes >= 10;
|
|
18615
|
+
return state.firstTakes > 0 || state.alphaDue;
|
|
18616
|
+
}
|
|
18617
|
+
/**
|
|
18618
|
+
* Tells whether a view is drawn live in the stage pass of this frame (F119): every ancestor up to the stage is
|
|
18619
|
+
* renderable, none drawn through an overlay's range picture or a kept ancestor's picture. Waiting, it costs a filter
|
|
18620
|
+
* pass on the canvas; its take costs about the same, in small targets before the stage pass.
|
|
18621
|
+
*
|
|
18622
|
+
* @param kctx - The kept context.
|
|
18623
|
+
* @param record - The record.
|
|
18624
|
+
* @returns True when it is drawn live.
|
|
18625
|
+
*/
|
|
18626
|
+
function drawnLive(kctx, record) {
|
|
18627
|
+
const stage = kctx.host.stage();
|
|
18628
|
+
for (let node = record.top.parent; node !== stage; node = node.parent) if (node === null || !node.renderable) return false;
|
|
18629
|
+
return true;
|
|
18523
18630
|
}
|
|
18524
18631
|
/**
|
|
18525
18632
|
* Tells whether a blend mode draws over what is under it as a picture does.
|
|
@@ -18851,7 +18958,7 @@ function dropRecord$1(kctx, record, view, putBack) {
|
|
|
18851
18958
|
const { state } = kctx;
|
|
18852
18959
|
if (record.mode === "kept") goLive(kctx, record, view, putBack);
|
|
18853
18960
|
endLoan(record.s2Of);
|
|
18854
|
-
destroyRecord(record, (texture) =>
|
|
18961
|
+
destroyRecord(record, (texture) => poolTexture(kctx, texture));
|
|
18855
18962
|
ungroup(kctx, record);
|
|
18856
18963
|
state.bytes -= record.bytes;
|
|
18857
18964
|
record.bytes = 0;
|
|
@@ -19224,7 +19331,7 @@ function placeQuad(sync, pixi, matrices, record, view) {
|
|
|
19224
19331
|
const { top, key } = record;
|
|
19225
19332
|
const parent = top.parent;
|
|
19226
19333
|
const output = (record.direct ? record.s1 : record.s3) ?? pixi.Texture.EMPTY;
|
|
19227
|
-
const alpha = record.direct ? NOW.alpha : 1;
|
|
19334
|
+
const alpha = (record.direct ? NOW.alpha : 1) * top.alpha;
|
|
19228
19335
|
if (record.quad === void 0 || record.quad.destroyed) {
|
|
19229
19336
|
record.quad = new pixi.Sprite(output);
|
|
19230
19337
|
record.quad.label = `kept:${labelOf$3(top)}`;
|
|
@@ -19381,7 +19488,7 @@ function stepLive(kctx, pixi, matrices, record, view) {
|
|
|
19381
19488
|
if (changed || record.still < waitOf(record) || record.idle) return;
|
|
19382
19489
|
if (refusalHolds(state, record)) return;
|
|
19383
19490
|
if (blendedBelow(kctx, record)) return;
|
|
19384
|
-
if (heldBack(state, drawsDirect(NOW))) return;
|
|
19491
|
+
if (heldBack(state, drawsDirect(NOW), drawnLive(kctx, record))) return;
|
|
19385
19492
|
wrapBare(kctx, record, view);
|
|
19386
19493
|
if (!takePicture(kctx, pixi, matrices, record, view, NOW, turned)) {
|
|
19387
19494
|
record.still = 0;
|
|
@@ -19577,6 +19684,7 @@ function stepCalm(kctx, record) {
|
|
|
19577
19684
|
* Marks, before the step, the live records drawn direct that may be taken in this flush (F114): eligible, nothing
|
|
19578
19685
|
* changed under them. An alpha take costs one pass and its live draw two, so while one is due no other first take
|
|
19579
19686
|
* happens in this frame. A record due once that did not end its step kept is not due again until a change under it.
|
|
19687
|
+
* The others drawn live are counted: a first take among a crowd of them is not spread (F119).
|
|
19580
19688
|
*
|
|
19581
19689
|
* @param kctx - The kept context.
|
|
19582
19690
|
* @param pixi - The module that draws.
|
|
@@ -19585,13 +19693,16 @@ function markAlphaDue(kctx, pixi) {
|
|
|
19585
19693
|
const { state } = kctx;
|
|
19586
19694
|
const resolution = kctx.host.resolution();
|
|
19587
19695
|
state.alphaDue = false;
|
|
19696
|
+
state.liveWaiting = 0;
|
|
19588
19697
|
for (let index = 0; index < state.records.length; index += 1) {
|
|
19589
19698
|
const record = state.records[index];
|
|
19590
19699
|
const view = record === void 0 ? void 0 : kctx.ctx.state.sync.views.get(record.entity);
|
|
19591
19700
|
if (record === void 0 || view === void 0 || !mayBeDue(kctx, record)) continue;
|
|
19592
19701
|
readStack(record.slots, resolution, pixi.AlphaFilter, DUE);
|
|
19593
|
-
|
|
19702
|
+
const direct = drawsDirectAt(DUE, resolution);
|
|
19703
|
+
record.alphaDue = direct && eligible(kctx, record, view, DUE);
|
|
19594
19704
|
state.alphaDue ||= record.alphaDue;
|
|
19705
|
+
if (!direct && drawnLive(kctx, record)) state.liveWaiting += 1;
|
|
19595
19706
|
}
|
|
19596
19707
|
}
|
|
19597
19708
|
/**
|
|
@@ -19749,14 +19860,15 @@ function offGrid(kctx, record) {
|
|
|
19749
19860
|
return world.a !== key[KEY.a] || world.b !== key[KEY.b] || world.c !== key[KEY.c] || world.d !== key[KEY.d] || !onGrid(world.tx - (key[KEY.tx] ?? 0), rs, r) || !onGrid(world.ty - (key[KEY.ty] ?? 0), rs, r);
|
|
19750
19861
|
}
|
|
19751
19862
|
/**
|
|
19752
|
-
* Tells whether a kept record
|
|
19753
|
-
* `F(A·x)`, which differ by design for a filter that is not alpha-linear, not by a stale
|
|
19863
|
+
* Tells whether a kept record is translucent, by its top's own alpha (F120) or an ancestor's (F113): its quad draws
|
|
19864
|
+
* `A·F(x)` where live draws `F(A·x)`, which differ by design for a filter that is not alpha-linear, not by a stale
|
|
19865
|
+
* picture.
|
|
19754
19866
|
*
|
|
19755
19867
|
* @param record - The record, kept.
|
|
19756
|
-
* @returns True when an ancestor's
|
|
19868
|
+
* @returns True when the top's alpha or an ancestor's is under 1.
|
|
19757
19869
|
*/
|
|
19758
|
-
function
|
|
19759
|
-
for (let node = record.top
|
|
19870
|
+
function faded(record) {
|
|
19871
|
+
for (let node = record.top; node !== null; node = node.parent) if (node.alpha < 1) return true;
|
|
19760
19872
|
return false;
|
|
19761
19873
|
}
|
|
19762
19874
|
/**
|
|
@@ -19848,8 +19960,8 @@ function logStale(kctx, pixels, records, ranges) {
|
|
|
19848
19960
|
}
|
|
19849
19961
|
/**
|
|
19850
19962
|
* The pixel leg after a drawn frame: the picture as drawn against the same frame with every picture live. Frames in
|
|
19851
|
-
* which a picture moves off its grid or hangs under a translucent ancestor (F113) are
|
|
19852
|
-
* under opaque ancestors every picture is compared.
|
|
19963
|
+
* which a picture moves off its grid, is translucent itself (F120) or hangs under a translucent ancestor (F113) are
|
|
19964
|
+
* skipped and counted; at rest, opaque, under opaque ancestors every picture is compared.
|
|
19853
19965
|
*
|
|
19854
19966
|
* @param kctx - The kept context.
|
|
19855
19967
|
* @param bypass - Draws every kept record live (true) or as its picture again (false).
|
|
@@ -19860,7 +19972,7 @@ function verifyPictures(kctx, bypass, recover) {
|
|
|
19860
19972
|
const records = shownRecords(kctx);
|
|
19861
19973
|
const ranges = [...state.ranges.values()].filter((range) => range.sprite !== void 0);
|
|
19862
19974
|
if (records.length === 0 && ranges.length === 0) return;
|
|
19863
|
-
if (records.some((record) => offGrid(kctx, record) ||
|
|
19975
|
+
if (records.some((record) => offGrid(kctx, record) || faded(record))) {
|
|
19864
19976
|
state.verifySkipped += 1;
|
|
19865
19977
|
return;
|
|
19866
19978
|
}
|
|
@@ -20151,7 +20263,9 @@ function createKeptApi(ctx, deps) {
|
|
|
20151
20263
|
dropTexture(kctx, state.spare);
|
|
20152
20264
|
state.spare = void 0;
|
|
20153
20265
|
}
|
|
20266
|
+
emptyPool$1(kctx);
|
|
20154
20267
|
state.bytes = 0;
|
|
20268
|
+
state.poolBytes = 0;
|
|
20155
20269
|
state.drawnPictures = 0;
|
|
20156
20270
|
}
|
|
20157
20271
|
};
|
|
@@ -30184,7 +30298,9 @@ function ownsAlpha(view) {
|
|
|
30184
30298
|
* Writes the alpha of a built-in visual. It fades the entity's whole subtree: on a view with a
|
|
30185
30299
|
* wrapper it goes on the wrapper, over the visual and the children, and the visual inside stays
|
|
30186
30300
|
* at 1, so the alpha is applied once. A view without a wrapper keeps it on its object. Only a
|
|
30187
|
-
* value that differs from what Pixi holds is written, and the entity is marked before
|
|
30301
|
+
* value that differs from what Pixi holds is written, and the entity is marked before, as a move
|
|
30302
|
+
* of its top (F120): a kept picture of the view is taken without its top's alpha, and its quad
|
|
30303
|
+
* draws it at that alpha, as a move draws it at another place. A view
|
|
30188
30304
|
* drawn at alpha 0, its HUD factor counted, is not drawn at all (spec 26 B9): it leaves Pixi's
|
|
30189
30305
|
* build, its bounds and the passes of its filters, with its subtree.
|
|
30190
30306
|
*
|
|
@@ -30198,7 +30314,7 @@ function applyAlpha(sctx, entity, view, look) {
|
|
|
30198
30314
|
const target = view.wrapper ?? view.object;
|
|
30199
30315
|
const drawn = look.alpha * view.hud;
|
|
30200
30316
|
if (target.alpha !== drawn) {
|
|
30201
|
-
|
|
30317
|
+
markMoved(sctx, entity);
|
|
30202
30318
|
target.alpha = drawn;
|
|
30203
30319
|
}
|
|
30204
30320
|
if (view.wrapper !== void 0 && view.object.alpha !== 1) {
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as saveOf, v as WithGameState, y as memory } 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 { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { t as createApp } from "./index-D-e-E3NV.mjs";
|
|
3
|
+
import { b as saveOf, v as WithGameState, y as memory } from "./types-Bk0UQUq-.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-D3iIdUix.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 { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-
|
|
1
|
+
import { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-D36RV9tq.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-CWlqhS7l.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-CCiUwvlp.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-
|
|
2
|
-
import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-
|
|
1
|
+
import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-eDu74x6O.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
import { PluginCtx } from "@moku-labs/core";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as PixiModule, An as TypeTag, Ar as Json, Br as SnapshotOf, Fr as PlayerStateProvider, Ir as ProviderCall, Lr as SaveDoc, Or as Config, Sr as ClockSource, X as Config$2, a as Config$3, d as Manifest, in as Config$1, lt as Orientation, n as AssetsIo, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
3
|
-
import { R as I18nApi, U as StringTable, W as TextKey } from "./types-
|
|
4
|
-
import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-
|
|
1
|
+
import { $ as PixiModule, An as TypeTag, Ar as Json, Br as SnapshotOf, Fr as PlayerStateProvider, Ir as ProviderCall, Lr as SaveDoc, Or as Config, Sr as ClockSource, X as Config$2, a as Config$3, d as Manifest, in as Config$1, lt as Orientation, n as AssetsIo, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-BipKDDAU.mjs";
|
|
3
|
+
import { R as I18nApi, U as StringTable, W as TextKey } from "./types-eDu74x6O.mjs";
|
|
4
|
+
import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-D-e-E3NV.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/model/store/providers/memory.d.ts
|
|
@@ -8845,6 +8845,12 @@ type KeptState = {
|
|
|
8845
8845
|
byTop: Map<PixiContainer, KeptRecord>;
|
|
8846
8846
|
ranges: Map<Entity, RangeRecord>; /** A canvas-sized texture a released range left, reused by the next take of the same size (LRU-evictable, P6). */
|
|
8847
8847
|
spare: PixiRenderTexture | undefined;
|
|
8848
|
+
/**
|
|
8849
|
+
* The textures of records whose views left, reused by the next take of the same size (F119); counted in `bytes`,
|
|
8850
|
+
* destroyed first when a take needs room.
|
|
8851
|
+
*/
|
|
8852
|
+
pool: PixiRenderTexture[]; /** The bytes of `pool`, a part of `bytes`: a take may have them (P6.3). */
|
|
8853
|
+
poolBytes: number;
|
|
8848
8854
|
/**
|
|
8849
8855
|
* Containers the cache made render groups; a pooled object leaves one (P9.3). The stage root a range picture makes
|
|
8850
8856
|
* one stays one (P7.5).
|
|
@@ -8873,7 +8879,8 @@ type KeptState = {
|
|
|
8873
8879
|
*/
|
|
8874
8880
|
calm: boolean; /** First takes in this flush (F114): every one counts; a stack drawn direct is never held back by the count. */
|
|
8875
8881
|
firstTakes: number; /** A record drawn direct is due in this flush: the first takes of the others wait for the next (F114). */
|
|
8876
|
-
alphaDue: boolean;
|
|
8882
|
+
alphaDue: boolean; /** Live records drawn live with a filter in this flush (F119): from `CROWD` on, their first takes do not wait. */
|
|
8883
|
+
liveWaiting: number;
|
|
8877
8884
|
};
|
|
8878
8885
|
//#endregion
|
|
8879
8886
|
//#region src/plugins/renderer/viewport/types.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as Json, zr as Snapshot } from "./types-
|
|
2
|
-
import { t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Ar as Json, zr as Snapshot } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { t as HeadlessApp } from "./headless-D3iIdUix.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/flow/doors/types.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as AnyComponent, Ar as Json, Fn as Hint, Gn as NumericFields, Hn as Motion, Jn as ReducedMotion, K as TransformValue, Kn as ProjectionMotion, Ln as Answer, Qn as ViewHandle, Rn as AnchorTarget, Un as MotionCause, Vn as Ease, Wn as MotionHandle, Xr as Api, Y as Api$3, dt as ViewportSize, er as AnyComponentType, gr as Api$2, hr as TagType, ir as ComponentType, jn as Descriptor, nn as Api$1, oi as Require, or as Entity, s as Events$1, t as Api$4, tr as AnyComponentValue, xr as Api$5, zn as ChangeHook } from "./types-
|
|
1
|
+
import { $n as AnyComponent, Ar as Json, Fn as Hint, Gn as NumericFields, Hn as Motion, Jn as ReducedMotion, K as TransformValue, Kn as ProjectionMotion, Ln as Answer, Qn as ViewHandle, Rn as AnchorTarget, Un as MotionCause, Vn as Ease, Wn as MotionHandle, Xr as Api, Y as Api$3, dt as ViewportSize, er as AnyComponentType, gr as Api$2, hr as TagType, ir as ComponentType, jn as Descriptor, nn as Api$1, oi as Require, or as Entity, s as Events$1, t as Api$4, tr as AnyComponentValue, xr as Api$5, zn as ChangeHook } from "./types-D090j5P7.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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dr as Api$2, Wr as Api$3, Y as Api, gr as Api$1, xr as Api$4 } from "./types-
|
|
2
|
-
import { P as AnimApi, r as UiApi } from "./types-
|
|
3
|
-
import { N as InputApi } from "./types-
|
|
4
|
-
import { r as Repro } from "./headless-
|
|
5
|
-
import { a as InputOf, r as ControlApp } from "./types-
|
|
6
|
-
import { t as commands } from "./commands-
|
|
1
|
+
import { Dr as Api$2, Wr as Api$3, Y as Api, gr as Api$1, xr as Api$4 } from "./types-D090j5P7.mjs";
|
|
2
|
+
import { P as AnimApi, r as UiApi } from "./types-BipKDDAU.mjs";
|
|
3
|
+
import { N as InputApi } from "./types-eDu74x6O.mjs";
|
|
4
|
+
import { r as Repro } from "./headless-D3iIdUix.mjs";
|
|
5
|
+
import { a as InputOf, r as ControlApp } from "./types-DU7VUsD9.mjs";
|
|
6
|
+
import { t as commands } from "./commands-D1tuKnq1.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-44HdrQrw.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 };
|