@moku-labs/game 0.15.94 → 0.15.95
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-B05keaNh.d.mts → commands-DcGoU3wp.d.mts} +5 -5
- package/dist/control.d.mts +4 -4
- package/dist/{define-C5oKi9M2.d.mts → define-CZ1_l9Hn.d.mts} +2 -2
- package/dist/{headless-rXLWKvZq.d.mts → headless-9UyUfvF5.d.mts} +1 -1
- package/dist/{index-DuiCPP3n.d.mts → index-B8XphAxo.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-DGpGGQAh.d.mts → runtime-DsAz7KUU.d.mts} +1 -1
- package/dist/{src-CkBzjWRd.mjs → src-D-i4qig2.mjs} +68 -38
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-CA98KS-U.d.mts → types-0QTB6RV7.d.mts} +4 -4
- package/dist/{types-CSkVNKPZ.d.mts → types-B-n_yE-i.d.mts} +2 -2
- package/dist/{types-D33h-CNj.d.mts → types-CenejHAB.d.mts} +13 -4
- package/dist/{types-DhCTe-kr.d.mts → types-D8tWWOCK.d.mts} +1 -1
- package/dist/{types-BrEqXapX.d.mts → types-Dhnc_iQk.d.mts} +7 -5
- package/dist/{visual-BfN2jgqg.d.mts → visual-B0ZwgkDL.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 { qr as PlayerStateProvider } from "../types-
|
|
2
|
-
import { gt as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-
|
|
1
|
+
import { qr as PlayerStateProvider } from "../types-CenejHAB.mjs";
|
|
2
|
+
import { gt as PlatformProvider } from "../index-B8XphAxo.mjs";
|
|
3
|
+
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-0QTB6RV7.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 { Hr as Json } from "./types-
|
|
2
|
-
import { q 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 { Hr as Json } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { q as StringTable } from "./types-D8tWWOCK.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-0QTB6RV7.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-D-i4qig2.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 { $r as StoreApi, D as DebugSwitches, In as FlowState, Nn as Bookmark, Or as Api$2, Z as Api$1, Zr as Snapshot, ft as Captured, mi as Time, ni as Api, ui as FrameRate, w as ScenesApi } from "./types-
|
|
2
|
-
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-
|
|
3
|
-
import { L 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 StoreApi, D as DebugSwitches, In as FlowState, Nn as Bookmark, Or as Api$2, Z as Api$1, Zr as Snapshot, ft as Captured, mi as Time, ni as Api, ui as FrameRate, w as ScenesApi } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-Dhnc_iQk.mjs";
|
|
3
|
+
import { L as InputApi } from "./types-D8tWWOCK.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-9UyUfvF5.mjs";
|
|
5
|
+
import { i as ControlApp, r as Command } from "./types-B-n_yE-i.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 { 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-9UyUfvF5.mjs";
|
|
2
|
+
import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-B-n_yE-i.mjs";
|
|
3
|
+
import { t as commands } from "./commands-DcGoU3wp.mjs";
|
|
4
|
+
import { t as defineCommand } from "./define-CZ1_l9Hn.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-9UyUfvF5.mjs";
|
|
2
|
+
import { l as Source, r as Command, s as InputSchema } from "./types-B-n_yE-i.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/flow/doors/define.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Hr as Json, In as FlowState, Jn as Answer, Ln as JournalEntry, ci as Api, fn as Api$1, ti as RngState, zn as RouteStep } from "./types-
|
|
1
|
+
import { Hr as Json, In as FlowState, Jn as Answer, Ln as JournalEntry, ci as Api, fn as Api$1, ti as RngState, zn as RouteStep } from "./types-CenejHAB.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/flow/headless.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $n as Ease, $r as StoreApi, An as FeaturePlugin, Bn as SceneIdOf, Br as Config$5, C as SceneSpec, Cr as QueryTerm, Dr as TagType, Er as SystemFor, F as HudPartValue, Fr as Config$2, Ft as PassKind, G as SpriteOptions, Gn as GuideOptions, H as ShapeValue, Hn as Descriptor, Hr as Json, J as TransformValue, K as SpriteValue, Kn as Hint, Kr as Patch, L as NineSliceValue, Lr as State$2, Nr as Api$1, Or as Api$6, Pn as DefineNode, Q as Config$6, Qn as DescriptionNode, S as SceneDefinition, Sr as Narrowed, T as State$7, Tr as SystemDefinition, Tt as FrameRing, Un as Effect, Ur as Root, Wn as EffectOptions, Wr as State$5, Y as sprite, Yn as Answered, Z as Api$4, _ as AnySceneProjection, _i as Events$1, _n as HudKeysOf, _r as ComponentValue, _t as ViewportSize, a as Config$1, ai as PauseReason, ar as ProjectionSpec, bn as TextFormatsOf, c as LoadBundles, ci as Api$5, di as RateChange, ei as RngApi, f as ReadyBundles, fi as State$8, fn as Api$2, gi as Config$10, gn as GameTypes, gr as ComponentType, hn as EmitterIdOf, i as BundleSpec, ii as Events, ir as ProjectionMotion, jn as FeatureTree, jr as State$9, kn as FeatureDescription, kr as Config$9, l as LoadReason, li as Config$8, m as Tier, mn as Config$3, mr as ComponentHandle, ni as Api$3, o as DefineBundles, oi as State$4, or as ReducedMotion, p as State$1, pi as ThermalReading, pn as BundlesOf, r as BundleMap, ri as Config$4, rr as NumericFields, st as State$6, t as Api, u as LoadResult, v as Config$7, vi as Require, w as ScenesApi, wn as defineFlow, wr as ResourceType, wt as FrameRecord, x as LayerMap, xn as TextStylesOf, xr as Mut, y as DefineScene, yn as State$3, z as OverlayValue } 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 { $ as Style, A as TextFormats, B as Argument, C as Point, E as TextBind, F as defineComponent, G as Part, H as I18nApi, I as Config$16, J as TextKey, K as State$14, L as InputApi, M as TextStyles, N as TextValue, Q as ResolvedStyle, R as State$15, T as TextApi, U as IntlKit, V as Config$15, W as Message, Y as TypedTr, Z as IsFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as TextStyleInput, k as TextFormatFunction, s as PopupComponent, tt as WhenFlags, v as BindField, w as State$16, x as CountdownValue, y as BindOptions } from "./types-
|
|
1
|
+
import { $n as Ease, $r as StoreApi, An as FeaturePlugin, Bn as SceneIdOf, Br as Config$5, C as SceneSpec, Cr as QueryTerm, Dr as TagType, Er as SystemFor, F as HudPartValue, Fr as Config$2, Ft as PassKind, G as SpriteOptions, Gn as GuideOptions, H as ShapeValue, Hn as Descriptor, Hr as Json, J as TransformValue, K as SpriteValue, Kn as Hint, Kr as Patch, L as NineSliceValue, Lr as State$2, Nr as Api$1, Or as Api$6, Pn as DefineNode, Q as Config$6, Qn as DescriptionNode, S as SceneDefinition, Sr as Narrowed, T as State$7, Tr as SystemDefinition, Tt as FrameRing, Un as Effect, Ur as Root, Wn as EffectOptions, Wr as State$5, Y as sprite, Yn as Answered, Z as Api$4, _ as AnySceneProjection, _i as Events$1, _n as HudKeysOf, _r as ComponentValue, _t as ViewportSize, a as Config$1, ai as PauseReason, ar as ProjectionSpec, bn as TextFormatsOf, c as LoadBundles, ci as Api$5, di as RateChange, ei as RngApi, f as ReadyBundles, fi as State$8, fn as Api$2, gi as Config$10, gn as GameTypes, gr as ComponentType, hn as EmitterIdOf, i as BundleSpec, ii as Events, ir as ProjectionMotion, jn as FeatureTree, jr as State$9, kn as FeatureDescription, kr as Config$9, l as LoadReason, li as Config$8, m as Tier, mn as Config$3, mr as ComponentHandle, ni as Api$3, o as DefineBundles, oi as State$4, or as ReducedMotion, p as State$1, pi as ThermalReading, pn as BundlesOf, r as BundleMap, ri as Config$4, rr as NumericFields, st as State$6, t as Api, u as LoadResult, v as Config$7, vi as Require, w as ScenesApi, wn as defineFlow, wr as ResourceType, wt as FrameRecord, x as LayerMap, xn as TextStylesOf, xr as Mut, y as DefineScene, yn as State$3, z as OverlayValue } from "./types-CenejHAB.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-Dhnc_iQk.mjs";
|
|
3
|
+
import { $ as Style, A as TextFormats, B as Argument, C as Point, E as TextBind, F as defineComponent, G as Part, H as I18nApi, I as Config$16, J as TextKey, K as State$14, L as InputApi, M as TextStyles, N as TextValue, Q as ResolvedStyle, R as State$15, T as TextApi, U as IntlKit, V as Config$15, W as Message, Y as TypedTr, Z as IsFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as TextStyleInput, k as TextFormatFunction, s as PopupComponent, tt as WhenFlags, v as BindField, w as State$16, x as CountdownValue, y as BindOptions } from "./types-D8tWWOCK.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 { $ as MonitorConfig, $t as PerfStartupLine, At as OverlayWhat, B as Parent, Bt as PerfCollectorLine, Cn as contribution, Ct as FrameReadout, Dn as to, Dt as MONITOR_SECTIONS, E as types_d_exports$13, En as slot, Et as LongFrameEntry, F as HudPartValue, Ft as PassKind, Gr as types_d_exports$10, Gt as PerfGapLine, Ht as PerfDisplay, I as NineSlice, It as PassRecord, Jt as PerfLongFrameLine, Kt as PerfHeaderLine, Lt as PerfCause, M as WhyEntry, Mr as types_d_exports$17, Mt as PERF_GAP_BUCKETS, N as Display, Nt as PERF_LOG_VERSION, On as type, Ot as MonitorSections, P as HudPart, Pt as PROBLEM_RULES, Qn as DescriptionNode, Qt as PerfSpikeLine, R as Overlay, Rr as types_d_exports$3, Rt as PerfChange, Sn as types_d_exports$6, St as FrameReadResult, Tn as exit, Tt as FrameRing, U as Sprite, Ut as PerfEventLine, V as Shape, Vt as PerfCounts, W as SpriteBlend, Wt as PerfEventName, X as AdaptiveScale, Xn as AnchorTarget, Xr as SaveUnreadableError, Xt as PerfMeasured, Y as sprite, Yt as PerfMarkLine, Zt as PerfSampleLine, an as SHADER_WHATS, bt as WhyLive, cn as WarmDetail, dn as DEMAND_REASONS, dt as ShotsConfig, en as PerfTelemetryLine, g as types_d_exports$1, hi as types_d_exports$15, in as ProblemRule, jt as PERF_CAUSES, kt as OverlayEventDetail, ln as CANVAS_RESTARTS, lt as types_d_exports$12, nn as PoolTrimDetail, on as ShaderEventDetail, ot as PoolTrim, pt as MonitorCounts, q as Transform, qt as PerfLogLine, rn as ProblemEventDetail, si as types_d_exports$9, sn as ShaderWhat, sr as SceneSwitch, tn as PerfThermalLine, un as CanvasRestart, ut as ShotsApi, wt as FrameRecord, xt as FrameColumns, yt as RetakeWhy, z as OverlayValue, zt as PerfChangeEntry } 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 TextFormats, D as TextFormat, F as defineComponent, O as TextFormatAnswer, P as types_d_exports$14, S as FormattedNumber, X as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, k as TextFormatFunction, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions, z as types_d_exports$8 } from "./types-
|
|
4
|
-
import { $ as resource, A as Draggable, At as Countdown, B as Tappable, C as AnimPlayer, Ct as effectsPlugin, D as defineBundles, Dt as assetsPlugin, E as defineScene, Et as audioPlugin, F as PointerOver, Ft as label, G as frameAt, H as Traceable, I as Pressable, J as Now, K as Exiting, L as Pressed, M as Held, Mt as bind, N as Hovered, Nt as defineTextFormats, O as load, Ot as animPlugin, P as Pointer, Pt as defineTextStyles, Q as mut, R as Swipeable, S as defineMotion, St as flowPlugin, T as Frames, Tt as clockPlugin, U as Traced, V as Touchable, W as PASS_KINDS, X as Tree, Y as Order, Z as component, _ as defineStyle, _t as types_d_exports$11, a as defineEmitter, at as schedule, b as messageDuration, bt as inputPlugin, c as Alpha, ct as worldPlugin, d as Displacement, dt as textPlugin, et as system, f as Glow, ft as scenesPlugin, g as resolve, gt as PlatformProvider, h as music, ht as BackResult, i as screen, it as hint, j as DropTarget, jt as Text, k as ready, kt as projection, l as Blur, lt as uiPlugin, m as Outline, mt as platformPlugin, n as createPlugin, nt as defineEffect, o as Emitter, ot as defineFeature, p as Noise, pt as rendererPlugin, q as Layer, r as defineGame, rt as guide, s as defineFilter, st as flattenFeatures, t as createApp, tt as tag, u as ColorMatrix, ut as timePlugin, v as tr, vt as modelPlugin, w as Animation, wt as debugPlugin, x as cubicBezier, xt as i18nPlugin, y as messageArgument, yt as lifecyclePlugin, z as TapValue } from "./index-
|
|
1
|
+
import { $ as MonitorConfig, $t as PerfStartupLine, At as OverlayWhat, B as Parent, Bt as PerfCollectorLine, Cn as contribution, Ct as FrameReadout, Dn as to, Dt as MONITOR_SECTIONS, E as types_d_exports$13, En as slot, Et as LongFrameEntry, F as HudPartValue, Ft as PassKind, Gr as types_d_exports$10, Gt as PerfGapLine, Ht as PerfDisplay, I as NineSlice, It as PassRecord, Jt as PerfLongFrameLine, Kt as PerfHeaderLine, Lt as PerfCause, M as WhyEntry, Mr as types_d_exports$17, Mt as PERF_GAP_BUCKETS, N as Display, Nt as PERF_LOG_VERSION, On as type, Ot as MonitorSections, P as HudPart, Pt as PROBLEM_RULES, Qn as DescriptionNode, Qt as PerfSpikeLine, R as Overlay, Rr as types_d_exports$3, Rt as PerfChange, Sn as types_d_exports$6, St as FrameReadResult, Tn as exit, Tt as FrameRing, U as Sprite, Ut as PerfEventLine, V as Shape, Vt as PerfCounts, W as SpriteBlend, Wt as PerfEventName, X as AdaptiveScale, Xn as AnchorTarget, Xr as SaveUnreadableError, Xt as PerfMeasured, Y as sprite, Yt as PerfMarkLine, Zt as PerfSampleLine, an as SHADER_WHATS, bt as WhyLive, cn as WarmDetail, dn as DEMAND_REASONS, dt as ShotsConfig, en as PerfTelemetryLine, g as types_d_exports$1, hi as types_d_exports$15, in as ProblemRule, jt as PERF_CAUSES, kt as OverlayEventDetail, ln as CANVAS_RESTARTS, lt as types_d_exports$12, nn as PoolTrimDetail, on as ShaderEventDetail, ot as PoolTrim, pt as MonitorCounts, q as Transform, qt as PerfLogLine, rn as ProblemEventDetail, si as types_d_exports$9, sn as ShaderWhat, sr as SceneSwitch, tn as PerfThermalLine, un as CanvasRestart, ut as ShotsApi, wt as FrameRecord, xt as FrameColumns, yt as RetakeWhy, z as OverlayValue, zt as PerfChangeEntry } from "./types-CenejHAB.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-Dhnc_iQk.mjs";
|
|
3
|
+
import { A as TextFormats, D as TextFormat, F as defineComponent, O as TextFormatAnswer, P as types_d_exports$14, S as FormattedNumber, X as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, k as TextFormatFunction, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions, z as types_d_exports$8 } from "./types-D8tWWOCK.mjs";
|
|
4
|
+
import { $ as resource, A as Draggable, At as Countdown, B as Tappable, C as AnimPlayer, Ct as effectsPlugin, D as defineBundles, Dt as assetsPlugin, E as defineScene, Et as audioPlugin, F as PointerOver, Ft as label, G as frameAt, H as Traceable, I as Pressable, J as Now, K as Exiting, L as Pressed, M as Held, Mt as bind, N as Hovered, Nt as defineTextFormats, O as load, Ot as animPlugin, P as Pointer, Pt as defineTextStyles, Q as mut, R as Swipeable, S as defineMotion, St as flowPlugin, T as Frames, Tt as clockPlugin, U as Traced, V as Touchable, W as PASS_KINDS, X as Tree, Y as Order, Z as component, _ as defineStyle, _t as types_d_exports$11, a as defineEmitter, at as schedule, b as messageDuration, bt as inputPlugin, c as Alpha, ct as worldPlugin, d as Displacement, dt as textPlugin, et as system, f as Glow, ft as scenesPlugin, g as resolve, gt as PlatformProvider, h as music, ht as BackResult, i as screen, it as hint, j as DropTarget, jt as Text, k as ready, kt as projection, l as Blur, lt as uiPlugin, m as Outline, mt as platformPlugin, n as createPlugin, nt as defineEffect, o as Emitter, ot as defineFeature, p as Noise, pt as rendererPlugin, q as Layer, r as defineGame, rt as guide, s as defineFilter, st as flattenFeatures, t as createApp, tt as tag, u as ColorMatrix, ut as timePlugin, v as tr, vt as modelPlugin, w as Animation, wt as debugPlugin, x as cubicBezier, xt as i18nPlugin, y as messageArgument, yt as lifecyclePlugin, z as TapValue } from "./index-B8XphAxo.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, type BackResult, type BindOptions, Blur, Box, CANVAS_RESTARTS, type CanvasRestart, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, types_d_exports$6 as Flow, type FormattedNumber, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, type RetakeWhy, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, type ShotsApi, type ShotsConfig, Sprite, type SpriteBlend, Swipeable, type TapValue, Tappable, Text, type TextFormat, type TextFormatAnswer, type TextFormatFunction, type TextFormats, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, type WarmDetail, type WhyEntry, type WhyLive, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, 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 sfx, $t as worldPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as DEMAND_REASONS, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-
|
|
1
|
+
import { $ as sfx, $t as worldPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as DEMAND_REASONS, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-D-i4qig2.mjs";
|
|
2
2
|
import { $ as Shape, A as Countdown, F as defineTextStyles, I as label, J as HudPart, M as bind, P as defineTextFormats, Q as Parent, S as popup, T as defineStyle, X as Overlay, Y as NineSlice, _ as LocalWrite, at as Exiting, ct as Order, dt as mut, et as Sprite, ft as resource, h as DebugTrigger, ht as tag, it as sprite, j as Text, lt as Tree, ot as Layer, p as Box, pt as system, q as Display, st as Now, tt as Transform, ut as component, w as defineTokens, y as ScrollState } from "./visual-Cl7Q7pO9.mjs";
|
|
3
3
|
import { t as defineComponent } from "./component-DGg5DqKK.mjs";
|
|
4
4
|
export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, types_exports$6 as Flow, Frames, Glow, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, 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 { Ar as Explained, Fn as FlowGraph, Ln as JournalEntry, Or as Api$1, Z as Api$2, Zr as Snapshot, br as FrameDiff, ct as Under, h as Usage, hr as ComponentSchema, mt as RenderStats, t as Api$3, vn as Position, yr as EntitySnapshot, zr as Api } 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 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 { Ar as Explained, Fn as FlowGraph, Ln as JournalEntry, Or as Api$1, Z as Api$2, Zr as Snapshot, br as FrameDiff, ct as Under, h as Usage, hr as ComponentSchema, mt as RenderStats, t as Api$3, vn as Position, yr as EntitySnapshot, zr as Api } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-Dhnc_iQk.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-D8tWWOCK.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-9UyUfvF5.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-B-n_yE-i.mjs";
|
|
6
|
+
import { n as defineSource } from "./define-CZ1_l9Hn.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-DsAz7KUU.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-DsAz7KUU.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-D8tWWOCK.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. */
|
|
@@ -17949,6 +17949,16 @@ function setOrigins(slots, x, y) {
|
|
|
17949
17949
|
}
|
|
17950
17950
|
}
|
|
17951
17951
|
/**
|
|
17952
|
+
* Tells whether a record's filters read where its picture is drawn on the canvas: a placed filter, or a body that reads
|
|
17953
|
+
* the screen. Such a record is never drawn scaled, owes its output to a move and steps as a placed one does.
|
|
17954
|
+
*
|
|
17955
|
+
* @param record - The record.
|
|
17956
|
+
* @returns True for a `"placed"` or a `"screen"` record.
|
|
17957
|
+
*/
|
|
17958
|
+
function readsPlace(record) {
|
|
17959
|
+
return record.category !== "local";
|
|
17960
|
+
}
|
|
17961
|
+
/**
|
|
17952
17962
|
* Stage 3, the filter output: the stand-in, carrying the record's filters, is rendered at `M3 = translate(Ps, Ps)`
|
|
17953
17963
|
* into the output texture. A placed filter's origin gets the picture's canvas origin first, `O + Δ`; a local one
|
|
17954
17964
|
* writes nothing.
|
|
@@ -17969,7 +17979,7 @@ function renderStage3(kctx, pixi, matrices, record, now) {
|
|
|
17969
17979
|
const output = outputOf(kctx, pixi, record, now.r, now.P);
|
|
17970
17980
|
const standIn = standInOf(pixi, record);
|
|
17971
17981
|
const Ps = key[KEY.Ps] ?? 0;
|
|
17972
|
-
if (record
|
|
17982
|
+
if (readsPlace(record)) setOrigins(record.slots, (key[KEY.X0] ?? 0) - Ps + now.tx - (key[KEY.tx] ?? 0), (key[KEY.Y0] ?? 0) - Ps + now.ty - (key[KEY.ty] ?? 0));
|
|
17973
17983
|
matrices.m3.set(1, 0, 0, 1, Ps, Ps);
|
|
17974
17984
|
if (!kctx.host.renderTo(standIn, output, matrices.m3, true)) return false;
|
|
17975
17985
|
key[KEY.r] = now.r;
|
|
@@ -19163,6 +19173,7 @@ const WHY = {
|
|
|
19163
19173
|
off: 1,
|
|
19164
19174
|
backdrop: 2,
|
|
19165
19175
|
filterBlend: 3,
|
|
19176
|
+
cacheFalse: 4,
|
|
19166
19177
|
hidden: 5,
|
|
19167
19178
|
fadedOut: 6,
|
|
19168
19179
|
topBlend: 7,
|
|
@@ -19405,16 +19416,16 @@ function drawnAnyway(kctx, node) {
|
|
|
19405
19416
|
return node.renderable || kctx.sync.hiddenOnlyAmong(kctx.hidden, node, DRAWN_ANYWAY);
|
|
19406
19417
|
}
|
|
19407
19418
|
/**
|
|
19408
|
-
* Tells whether an ancestor filters a
|
|
19409
|
-
* position of a placed filter is then relative to that filter's texture.
|
|
19419
|
+
* Tells whether an ancestor filters a record's view whose filters read their place: a filter of its own or its kept
|
|
19420
|
+
* picture. Live, the canvas position of a placed filter is then relative to that filter's texture.
|
|
19410
19421
|
*
|
|
19411
19422
|
* @param kctx - The kept context.
|
|
19412
19423
|
* @param record - The record.
|
|
19413
19424
|
* @param node - The ancestor.
|
|
19414
|
-
* @returns True when the record
|
|
19425
|
+
* @returns True when the record reads its place and the ancestor filters it.
|
|
19415
19426
|
*/
|
|
19416
19427
|
function filtersPlaced(kctx, record, node) {
|
|
19417
|
-
return record
|
|
19428
|
+
return readsPlace(record) && (holdsFilters(node) || kctx.state.byTop.get(node)?.mode === "kept");
|
|
19418
19429
|
}
|
|
19419
19430
|
/**
|
|
19420
19431
|
* Tells whether an ancestor draws what is under it as a picture would: visible, untinted, blending normally, drawn (an
|
|
@@ -19459,8 +19470,8 @@ function ancestorsWhy(kctx, record, stage, stack) {
|
|
|
19459
19470
|
}
|
|
19460
19471
|
/**
|
|
19461
19472
|
* Whether a record may be kept this frame (P4.1): the switch on, an enabled filter, filters that draw like a picture, a
|
|
19462
|
-
* top and a visual that blend normally (the visual sits inside the
|
|
19463
|
-
* drawn, ancestors that draw it as a picture would.
|
|
19473
|
+
* body that reads the screen only on its quad, a top and a visual that blend normally (the visual sits inside the
|
|
19474
|
+
* wrapper of a kept bare view, D4), a top that is drawn, ancestors that draw it as a picture would.
|
|
19464
19475
|
*
|
|
19465
19476
|
* @param kctx - The kept context.
|
|
19466
19477
|
* @param record - The record.
|
|
@@ -19473,6 +19484,7 @@ function eligible(kctx, record, view, stack) {
|
|
|
19473
19484
|
if (!keepingOn(kctx) || stage === void 0 || stack.enabled === 0) return WHY.off;
|
|
19474
19485
|
const filters = filtersWhy(record.slots);
|
|
19475
19486
|
if (filters !== 0) return filters;
|
|
19487
|
+
if (record.category === "screen" && !shadeFits(kctx, record, stack)) return WHY.cacheFalse;
|
|
19476
19488
|
const picture = pictureWhy(record.top, view);
|
|
19477
19489
|
if (picture !== 0) return picture;
|
|
19478
19490
|
if (!topDrawn(kctx.sync, view)) return WHY.hidden;
|
|
@@ -19981,9 +19993,20 @@ function renderStages(kctx, pixi, matrices, record, view, now) {
|
|
|
19981
19993
|
return ok;
|
|
19982
19994
|
}
|
|
19983
19995
|
/**
|
|
19996
|
+
* Tells whether the record being stepped may be kept on its mesh alone: a placed view under a filter (`NOW.under`), where
|
|
19997
|
+
* a stage 3 picture would hold the wrong place, or a body that reads the screen, whose stage 3 would read the picture's
|
|
19998
|
+
* target. Its first take goes on the mesh, and it does not count its way there.
|
|
19999
|
+
*
|
|
20000
|
+
* @param record - The record.
|
|
20001
|
+
* @returns True when it may draw no other way.
|
|
20002
|
+
*/
|
|
20003
|
+
function quadOnly(record) {
|
|
20004
|
+
return NOW.under || record.category === "screen";
|
|
20005
|
+
}
|
|
20006
|
+
/**
|
|
19984
20007
|
* Settles what a take draws through, before its output: a stack that stopped fitting leaves before anything is drawn
|
|
19985
|
-
* for it, and the frame draws a sprite of stage 3. Under a filter
|
|
19986
|
-
* goes on the mesh; the sprite a mesh takes the place of may not exist yet.
|
|
20008
|
+
* for it, and the frame draws a sprite of stage 3. Under a filter, and for a body that reads the screen, there is no
|
|
20009
|
+
* sprite to draw, so a picture that rendered goes on the mesh; the sprite a mesh takes the place of may not exist yet.
|
|
19987
20010
|
*
|
|
19988
20011
|
* @param kctx - The kept context.
|
|
19989
20012
|
* @param pixi - The module that draws.
|
|
@@ -19993,7 +20016,7 @@ function renderStages(kctx, pixi, matrices, record, view, now) {
|
|
|
19993
20016
|
function meshForTake(kctx, pixi, record, ok) {
|
|
19994
20017
|
if (record.shaded && !shadeFits(kctx, record, NOW)) leaveShade(record);
|
|
19995
20018
|
const quad = enabledSlot(record.slots)?.quad;
|
|
19996
|
-
if (!ok || !
|
|
20019
|
+
if (!ok || !quadOnly(record) || record.shaded || quad === void 0) return;
|
|
19997
20020
|
quadDrawing(pixi, record, record.s3 ?? pixi.Texture.EMPTY);
|
|
19998
20021
|
enterShade(kctx, pixi, record, quad, NOW);
|
|
19999
20022
|
}
|
|
@@ -20089,7 +20112,7 @@ function scaledQuad(key, Ps, inverse, local) {
|
|
|
20089
20112
|
*/
|
|
20090
20113
|
function scalable(record, stepped) {
|
|
20091
20114
|
const { key } = record;
|
|
20092
|
-
if (record.dirtyS1 || record.cut || record
|
|
20115
|
+
if (record.dirtyS1 || record.cut || readsPlace(record) || !stepped && key[KEY.rs] !== NOW.rs) return false;
|
|
20093
20116
|
const taken = Math.abs((key[KEY.a] ?? 1) * (key[KEY.d] ?? 1) - (key[KEY.b] ?? 0) * (key[KEY.c] ?? 0));
|
|
20094
20117
|
const now = Math.abs(NOW.a * NOW.d - NOW.b * NOW.c);
|
|
20095
20118
|
const limit = 4;
|
|
@@ -20241,14 +20264,14 @@ function wrapBare(kctx, record, view) {
|
|
|
20241
20264
|
/**
|
|
20242
20265
|
* Tells whether a move of a live record's linear part or stack resolution resets its still frames (F113): a zoom or a
|
|
20243
20266
|
* turn of an ancestor does not, the picture is taken at it and drawn scaled (F67). It does for a new stack resolution,
|
|
20244
|
-
* a `"placed"`
|
|
20245
|
-
* canvas at its last take or refusal (never drawn scaled either).
|
|
20267
|
+
* a record that reads its place, `"placed"` or `"screen"` (never drawn scaled), a calm one (a picture that churned
|
|
20268
|
+
* waits for real rest) and one cut to the canvas at its last take or refusal (never drawn scaled either).
|
|
20246
20269
|
*
|
|
20247
20270
|
* @param record - The record, live, whose linear part or stack resolution moved since the last frame.
|
|
20248
20271
|
* @returns True when the move resets its still frames.
|
|
20249
20272
|
*/
|
|
20250
20273
|
function linearResets(record) {
|
|
20251
|
-
return record.key[KEY.seenRs] !== NOW.rs || record
|
|
20274
|
+
return record.key[KEY.seenRs] !== NOW.rs || readsPlace(record) || record.calm || record.cut;
|
|
20252
20275
|
}
|
|
20253
20276
|
/**
|
|
20254
20277
|
* The still frames a live record waits before it is taken: eight after churning, none for a stack drawn direct (its
|
|
@@ -20374,7 +20397,8 @@ function retakeOrGoLive(kctx, pixi, matrices, record, view, why) {
|
|
|
20374
20397
|
/**
|
|
20375
20398
|
* A stage-1 change of a kept record (P4.3): retaken, or after three in a row drawn live and calm, so it stands still
|
|
20376
20399
|
* for eight frames before the next take. Under a filter it is always retaken: live, a body that reads its place reads
|
|
20377
|
-
* another one, and a glow would jump; only a refused take or an eviction goes live there.
|
|
20400
|
+
* another one, and a glow would jump; only a refused take or an eviction goes live there. A body that reads the screen
|
|
20401
|
+
* churns as any record does: live, it reads the same canvas.
|
|
20378
20402
|
*
|
|
20379
20403
|
* @param kctx - The kept context.
|
|
20380
20404
|
* @param pixi - The module that draws.
|
|
@@ -20405,7 +20429,7 @@ function churn(kctx, pixi, matrices, record, view, why) {
|
|
|
20405
20429
|
function retakeWhy(record, stepped) {
|
|
20406
20430
|
if (!stepped && record.key[KEY.rs] !== NOW.rs) return RETAKE.resolution;
|
|
20407
20431
|
if (record.dirtyS1) return RETAKE.mark;
|
|
20408
|
-
return record.cut || record
|
|
20432
|
+
return record.cut || readsPlace(record) ? RETAKE.placedMove : RETAKE.scaleLimit;
|
|
20409
20433
|
}
|
|
20410
20434
|
/**
|
|
20411
20435
|
* What a refresh of a kept record owes itself to, read before the render writes its keys. Under `hold` the resolution
|
|
@@ -20464,14 +20488,14 @@ function canvasChanged(kctx, key) {
|
|
|
20464
20488
|
/**
|
|
20465
20489
|
* Tells whether a step of the renderer resolution passed over a kept picture (F126): drawn at another resolution than
|
|
20466
20490
|
* the canvas, with a stack that followed the canvas there: a resolution of its own, or `"inherit"`. A picture cut to the
|
|
20467
|
-
* canvas or
|
|
20468
|
-
* are no step: their change is read as a change of the stack.
|
|
20491
|
+
* canvas or one that reads its place, a filter that wrote its own resolution and a mixed stack whose fixed resolution
|
|
20492
|
+
* the step crossed are no step: their change is read as a change of the stack.
|
|
20469
20493
|
*
|
|
20470
20494
|
* @param record - The record, kept.
|
|
20471
20495
|
* @returns True when the picture was stepped over.
|
|
20472
20496
|
*/
|
|
20473
20497
|
function resolutionStepped(record) {
|
|
20474
|
-
if (record.cut || record
|
|
20498
|
+
if (record.cut || readsPlace(record)) return false;
|
|
20475
20499
|
const { key } = record;
|
|
20476
20500
|
const drawn = drawnResolution(key, record.direct);
|
|
20477
20501
|
if (drawn === NOW.r) return false;
|
|
@@ -20617,7 +20641,7 @@ function outputOwed(record, hold) {
|
|
|
20617
20641
|
const { key } = record;
|
|
20618
20642
|
const resolutionOwed = !hold && NOW.r !== key[KEY.r];
|
|
20619
20643
|
const paddingOwed = hold && record.direct ? NOW.P !== 0 : NOW.P !== key[KEY.P];
|
|
20620
|
-
const placedMoved = record
|
|
20644
|
+
const placedMoved = readsPlace(record) && (NOW.tx !== key[KEY.s3Tx] || NOW.ty !== key[KEY.s3Ty]);
|
|
20621
20645
|
return record.dirtyS3 || resolutionOwed || paddingOwed || placedMoved;
|
|
20622
20646
|
}
|
|
20623
20647
|
/**
|
|
@@ -20669,7 +20693,7 @@ function refreshOutput(kctx, pixi, matrices, record, view, hold) {
|
|
|
20669
20693
|
const fits = shadeFits(kctx, record, NOW);
|
|
20670
20694
|
const unfit = record.shaded && !fits;
|
|
20671
20695
|
if (unfit) leaveShade(record);
|
|
20672
|
-
const unplaced = unfit ||
|
|
20696
|
+
const unplaced = unfit || quadOnly(record) && !record.shaded;
|
|
20673
20697
|
const owed = Math.max(stagesOwed(record, hold), unplaced ? OWED.output : OWED.none);
|
|
20674
20698
|
if (owed === OWED.none) return leaveAtRest(kctx, pixi, matrices, record, view, hold);
|
|
20675
20699
|
const chain = owed === OWED.chain;
|
|
@@ -20727,8 +20751,8 @@ function redrawShade(kctx, pixi, matrices, record) {
|
|
|
20727
20751
|
/**
|
|
20728
20752
|
* Counts an output owed by a record on its sprite, and puts the record on its mesh when it is due: stage 3 alone was owed
|
|
20729
20753
|
* more than `QUAD_AFTER` times without a gap of `CALM_AFTER` frames, and it fits. The gap rule, not a reset on a quiet
|
|
20730
|
-
* frame: a tween that writes every second frame reaches the mode. Under a filter
|
|
20731
|
-
* way. A shaded record counts nothing.
|
|
20754
|
+
* frame: a tween that writes every second frame reaches the mode. Under a filter and for a body that reads the screen
|
|
20755
|
+
* nothing is counted: it may draw no other way. A shaded record counts nothing.
|
|
20732
20756
|
*
|
|
20733
20757
|
* @param kctx - The kept context.
|
|
20734
20758
|
* @param pixi - The module that draws.
|
|
@@ -20743,25 +20767,28 @@ function enterShadeWhenDue(kctx, pixi, record, owed, fits) {
|
|
|
20743
20767
|
record.outputRuns = frame - record.outputAt > 8 ? 1 : record.outputRuns + 1;
|
|
20744
20768
|
record.outputAt = frame;
|
|
20745
20769
|
const quad = enabledSlot(record.slots)?.quad;
|
|
20746
|
-
if (!(
|
|
20770
|
+
if (!(quadOnly(record) || owed === OWED.output && record.outputRuns > 2) || !fits || quad === void 0) return false;
|
|
20747
20771
|
return enterShade(kctx, pixi, record, quad, NOW);
|
|
20748
20772
|
}
|
|
20749
20773
|
/**
|
|
20750
|
-
* Tells whether a shaded record went `QUAD_CALM` drawn frames without a change: it is due to leave.
|
|
20774
|
+
* Tells whether a shaded record went `QUAD_CALM` drawn frames without a change: it is due to leave. A body that reads the
|
|
20775
|
+
* screen never is: it is kept on its mesh alone, so a calm frame does not step it.
|
|
20751
20776
|
*
|
|
20752
20777
|
* @param state - The kept state.
|
|
20753
20778
|
* @param record - The record.
|
|
20754
20779
|
* @returns True when it is.
|
|
20755
20780
|
*/
|
|
20756
20781
|
function shadedCalm(state, record) {
|
|
20757
|
-
|
|
20782
|
+
const rested = state.frame - record.shadedAt >= 30;
|
|
20783
|
+
return record.shaded && record.category !== "screen" && rested;
|
|
20758
20784
|
}
|
|
20759
20785
|
/**
|
|
20760
20786
|
* A shaded record that owes nothing and stood `QUAD_CALM` frames goes back to its sprite (F126 stage 2): a resting mesh
|
|
20761
20787
|
* runs the whole body every frame. Under `limitLeft`, shared with the refining and the settle, it stays shaded in a frame
|
|
20762
20788
|
* the limit is spent. It counts as a refresh. The pixels do not change, so the pass marks nothing above; a stack whose
|
|
20763
20789
|
* resolution moved under a held step is taken whole, as `refresh` takes it, and that does change them. Under a filter
|
|
20764
|
-
* it stays: its clock starts over, so a calm frame leaves it alone until it comes round again.
|
|
20790
|
+
* it stays: its clock starts over, so a calm frame leaves it alone until it comes round again. A body that reads the
|
|
20791
|
+
* screen is never due (`shadedCalm`).
|
|
20765
20792
|
*
|
|
20766
20793
|
* @param kctx - The kept context.
|
|
20767
20794
|
* @param pixi - The module that draws.
|
|
@@ -21132,9 +21159,9 @@ function passOffOrigin(kctx, pixi, node, filters) {
|
|
|
21132
21159
|
return passStart(tx + box.x0, resolution, padding, clipped) !== 0 || passStart(ty + box.y0, resolution, padding, clipped) !== 0;
|
|
21133
21160
|
}
|
|
21134
21161
|
/**
|
|
21135
|
-
* Tells whether a shaded
|
|
21136
|
-
* reads a place relative to that pass's texture; on the mesh it reads the canvas (spec 23 P8.3). The two differ
|
|
21137
|
-
* origin by design, not by a stale picture. Only the closest filter counts: Pixi offsets by that one alone. Read with
|
|
21162
|
+
* Tells whether a shaded record that reads its place hangs under a filter whose pass starts off the canvas origin. Live,
|
|
21163
|
+
* its body reads a place relative to that pass's texture; on the mesh it reads the canvas (spec 23 P8.3). The two differ
|
|
21164
|
+
* by that origin by design, not by a stale picture. Only the closest filter counts: Pixi offsets by that one alone. Read with
|
|
21138
21165
|
* every picture live: a kept ancestor's filters are back on its top, and the views are back in the tree.
|
|
21139
21166
|
*
|
|
21140
21167
|
* @param kctx - The kept context.
|
|
@@ -21143,7 +21170,7 @@ function passOffOrigin(kctx, pixi, node, filters) {
|
|
|
21143
21170
|
*/
|
|
21144
21171
|
function placeDiffers(kctx, record) {
|
|
21145
21172
|
const pixi = kctx.host.pixi();
|
|
21146
|
-
if (!record.shaded || record
|
|
21173
|
+
if (!record.shaded || !readsPlace(record) || pixi === void 0) return false;
|
|
21147
21174
|
for (let node = record.top.parent; node !== null; node = node.parent) {
|
|
21148
21175
|
const filters = node.filters?.filter((filter) => filter.enabled) ?? [];
|
|
21149
21176
|
if (filters.length > 0) return passOffOrigin(kctx, pixi, node, filters);
|
|
@@ -21404,20 +21431,23 @@ function whyReport(kctx) {
|
|
|
21404
21431
|
/** What `why()` answers in every build but an agent build. */
|
|
21405
21432
|
const NO_WHY = Object.freeze([]);
|
|
21406
21433
|
/**
|
|
21407
|
-
* The category a slot list lets the cache keep it under: the worst of its slots, `undefined` for an empty list, a
|
|
21408
|
-
*
|
|
21434
|
+
* The category a slot list lets the cache keep it under: the worst of its slots, `undefined` for an empty list, a slot
|
|
21435
|
+
* that names none (a game's own slot is drawn live) or a `"screen"` slot without a quad. A body that reads the screen is
|
|
21436
|
+
* kept only while it runs on its quad (F126 stage 2).
|
|
21409
21437
|
*
|
|
21410
21438
|
* @param slots - The slots.
|
|
21411
|
-
* @returns `"local"`, `"placed"`, or `undefined` when no record is kept.
|
|
21439
|
+
* @returns `"local"`, `"placed"`, `"screen"`, or `undefined` when no record is kept.
|
|
21412
21440
|
*/
|
|
21413
21441
|
function categoryOf(slots) {
|
|
21414
21442
|
if (slots.length === 0) return void 0;
|
|
21415
|
-
let
|
|
21443
|
+
let worst = "local";
|
|
21416
21444
|
for (const slot of slots) {
|
|
21417
|
-
|
|
21418
|
-
if (slot.cache ===
|
|
21445
|
+
const drawnLive = slot.cache === "screen" && slot.quad === void 0;
|
|
21446
|
+
if (slot.cache === void 0 || drawnLive) return void 0;
|
|
21447
|
+
if (slot.cache === "screen") worst = "screen";
|
|
21448
|
+
else if (slot.cache === "placed" && worst === "local") worst = "placed";
|
|
21419
21449
|
}
|
|
21420
|
-
return
|
|
21450
|
+
return worst;
|
|
21421
21451
|
}
|
|
21422
21452
|
/**
|
|
21423
21453
|
* The depth of a node under the stage: its count of parents.
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { An as FeaturePlugin, Hn as Descriptor, Hr as Json, Ir as FakeClock, Kn as Hint, Mn as AnyFlow, Pr as ClockSource, Rn as NodeTable, qn 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 { An as FeaturePlugin, Hn as Descriptor, Hr as Json, Ir as FakeClock, Kn as Hint, Mn as AnyFlow, Pr as ClockSource, Rn as NodeTable, qn as NodeFx } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { t as createApp } from "./index-B8XphAxo.mjs";
|
|
3
|
+
import { b as memory, x as saveOf, y as WithGameState } from "./types-0QTB6RV7.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-9UyUfvF5.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 { m as flattenFeatures, on as type, rn as exit, t as createApp, tn as refuseStart } from "./src-
|
|
1
|
+
import { m as flattenFeatures, on as type, rn as exit, t as createApp, tn as refuseStart } from "./src-D-i4qig2.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,7 +1,7 @@
|
|
|
1
|
-
import { An as FeaturePlugin, Br as Config, Hr as Json, Ir as FakeClock, Jr as ProviderCall, Mn as AnyFlow, Pr as ClockSource, Q as Config$2, Qr as SnapshotOf, Vn as TypeTag, Yr as SaveDoc, a as Config$3, d as Manifest, ht as Orientation, mn as Config$1, n as AssetsIo, nt as PixiModule, qr as PlayerStateProvider } from "./types-
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
3
|
-
import { H as I18nApi, J as TextKey, q as StringTable } from "./types-
|
|
4
|
-
import { Ct as effectsPlugin, Et as audioPlugin, gt as PlatformProvider, i as screen, mt as platformPlugin, t as createApp } from "./index-
|
|
1
|
+
import { An as FeaturePlugin, Br as Config, Hr as Json, Ir as FakeClock, Jr as ProviderCall, Mn as AnyFlow, Pr as ClockSource, Q as Config$2, Qr as SnapshotOf, Vn as TypeTag, Yr as SaveDoc, a as Config$3, d as Manifest, ht as Orientation, mn as Config$1, n as AssetsIo, nt as PixiModule, qr as PlayerStateProvider } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-Dhnc_iQk.mjs";
|
|
3
|
+
import { H as I18nApi, J as TextKey, q as StringTable } from "./types-D8tWWOCK.mjs";
|
|
4
|
+
import { Ct as effectsPlugin, Et as audioPlugin, gt as PlatformProvider, i as screen, mt as platformPlugin, t as createApp } from "./index-B8XphAxo.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 { Hr as Json, Zr as Snapshot } from "./types-
|
|
2
|
-
import { t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Hr as Json, Zr as Snapshot } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { t as HeadlessApp } from "./headless-9UyUfvF5.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/flow/doors/types.d.ts
|
|
@@ -8801,7 +8801,8 @@ type FilterGlobals = {
|
|
|
8801
8801
|
//#region src/plugins/renderer/kept/types.d.ts
|
|
8802
8802
|
/**
|
|
8803
8803
|
* What a slot's filter lets the cache do with it: `"local"` (kept anywhere), `"placed"` (kept with its canvas origin
|
|
8804
|
-
* through `canvasPixel`), `"screen"` (
|
|
8804
|
+
* through `canvasPixel`), `"screen"` (a body that reads the screen: its subtree picture is kept while the body runs on
|
|
8805
|
+
* its quad, on WebGPU; drawn live otherwise).
|
|
8805
8806
|
*
|
|
8806
8807
|
* @example
|
|
8807
8808
|
* ```ts
|
|
@@ -8942,8 +8943,12 @@ type KeptRecord = {
|
|
|
8942
8943
|
top: PixiContainer; /** True when the top was a render group before the cache rendered it (then it stays one at release). */
|
|
8943
8944
|
wasGroup: boolean;
|
|
8944
8945
|
mode: KeptMode; /** The slots last handed over by effects (sync/filters), the record's own copy of the reference. */
|
|
8945
|
-
slots: readonly FilterSlot[];
|
|
8946
|
-
|
|
8946
|
+
slots: readonly FilterSlot[];
|
|
8947
|
+
/**
|
|
8948
|
+
* The worst category of the slots (P4.1). A `"screen"` record is kept only on its quad, from its first take on, and
|
|
8949
|
+
* never leaves it at rest; a `"screen"` slot without a quad makes no record.
|
|
8950
|
+
*/
|
|
8951
|
+
category: FilterCache; /** Sprite(stage 1): carries the filters while kept (P3.3). */
|
|
8947
8952
|
standIn: PixiSprite | undefined; /** A second Sprite(stage 1) whose filters are [keeper] only (P3.2). */
|
|
8948
8953
|
keeperStandIn: PixiSprite | undefined; /** Sprite(stage 3), in the tree beside the top; the mesh of `shade` while the record is shaded. */
|
|
8949
8954
|
quad: KeptQuad | undefined; /** What the record draws through while shaded; made at its first entry, kept while the record lives. */
|
|
@@ -11645,7 +11650,11 @@ type FilterSlot = {
|
|
|
11645
11650
|
filter: PixiFilter;
|
|
11646
11651
|
passes: number; /** The filter kind id, for the performance log; optional: a slot without it counts as "other". */
|
|
11647
11652
|
kind?: string; /** The stages of a filter's inputs and the seam of the kept-picture cache; filled by effects, left out by a game. */
|
|
11648
|
-
inputs?: FilterSlotInputs;
|
|
11653
|
+
inputs?: FilterSlotInputs;
|
|
11654
|
+
/**
|
|
11655
|
+
* What the kept-picture cache may do with the filter; left out, the view is drawn live. A `"screen"` slot is kept only
|
|
11656
|
+
* on its `quad`: without one the view is drawn live too.
|
|
11657
|
+
*/
|
|
11649
11658
|
cache?: FilterCache; /** The filter's `keptOrigin` uniform, which the renderer sets to the canvas origin of a picture. */
|
|
11650
11659
|
origin?: Float32Array;
|
|
11651
11660
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as Ease, Dr as TagType, Hn as Descriptor, Hr as Json, J as TransformValue, Kn as Hint, Nr as Api$5, Or as Api$2, Xn as AnchorTarget, Yn as Answered, Z as Api$3, Zn as ChangeHook, _t as ViewportSize, ci as Api, dr as AnyComponent, er as Motion, fn as Api$1, fr as AnyComponentType, gr as ComponentType, ir as ProjectionMotion, nr as MotionHandle, or as ReducedMotion, pr as AnyComponentValue, rr as NumericFields, s as Events$1, t as Api$4, tr as MotionCause, ur as ViewHandle, vi as Require, vr as Entity } from "./types-
|
|
1
|
+
import { $n as Ease, Dr as TagType, Hn as Descriptor, Hr as Json, J as TransformValue, Kn as Hint, Nr as Api$5, Or as Api$2, Xn as AnchorTarget, Yn as Answered, Z as Api$3, Zn as ChangeHook, _t as ViewportSize, ci as Api, dr as AnyComponent, er as Motion, fn as Api$1, fr as AnyComponentType, gr as ComponentType, ir as ProjectionMotion, nr as MotionHandle, or as ReducedMotion, pr as AnyComponentValue, rr as NumericFields, s as Events$1, t as Api$4, tr as MotionCause, ur as ViewHandle, vi as Require, vr as Entity } from "./types-CenejHAB.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,5 +1,5 @@
|
|
|
1
|
-
import { $n as Ease, A as FilterSlotQuad, Hn as Descriptor, Hr as Json, O as FilterSlot, Or as Api$3, Vn as TypeTag, Vr as Events$3, Xn as AnchorTarget, Z as Api$4, _i as Events$2, at as PixiUniformGroup, b as Events$4, ci as Api$1, cr as TrackOptions, dr as AnyComponent, et as PixiFilter, fn as Api$2, gr as ComponentType, gt as Point, ii as Events$5, it as PixiTexture, j as SyncApi, k as FilterSlotInputs, lr as TrackSegment, mr as ComponentHandle, nr as MotionHandle, nt as PixiModule, or as ReducedMotion, pr as AnyComponentValue, rr as NumericFields, rt as PixiSprite, s as Events$1, t as Api$5, tt as PixiGpuProgram, vi as Require, vr as Entity, vt as FilterCache, zr as Api$6 } from "./types-
|
|
2
|
-
import { H as I18nApi, L as InputApi, T as TextApi, c as UiNode, et as StylesState, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion } from "./types-
|
|
1
|
+
import { $n as Ease, A as FilterSlotQuad, Hn as Descriptor, Hr as Json, O as FilterSlot, Or as Api$3, Vn as TypeTag, Vr as Events$3, Xn as AnchorTarget, Z as Api$4, _i as Events$2, at as PixiUniformGroup, b as Events$4, ci as Api$1, cr as TrackOptions, dr as AnyComponent, et as PixiFilter, fn as Api$2, gr as ComponentType, gt as Point, ii as Events$5, it as PixiTexture, j as SyncApi, k as FilterSlotInputs, lr as TrackSegment, mr as ComponentHandle, nr as MotionHandle, nt as PixiModule, or as ReducedMotion, pr as AnyComponentValue, rr as NumericFields, rt as PixiSprite, s as Events$1, t as Api$5, tt as PixiGpuProgram, vi as Require, vr as Entity, vt as FilterCache, zr as Api$6 } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { H as I18nApi, L as InputApi, T as TextApi, c as UiNode, et as StylesState, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion } from "./types-D8tWWOCK.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
import { PluginCtx } from "@moku-labs/core";
|
|
5
5
|
|
|
@@ -1475,9 +1475,11 @@ type FilterSpec<Uniforms extends Record<string, UniformDeclaration>> = {
|
|
|
1475
1475
|
* default) keeps it as a picture, also while the view moves; `"placed"` keeps it with its canvas origin, for a body
|
|
1476
1476
|
* that reads where it is drawn through `canvasPixel(uv)` (a body that calls the helper is placed by itself); set
|
|
1477
1477
|
* `false` for a body whose look depends on where the view is drawn in a way the engine cannot see (a time read from
|
|
1478
|
-
* a texture, a hash of the screen position):
|
|
1479
|
-
*
|
|
1480
|
-
*
|
|
1478
|
+
* a texture, a hash of the screen position): no output of it is kept. On WebGPU the view's subtree picture is kept
|
|
1479
|
+
* and the body runs on its quad in every frame, the canvas place in `uOutputFrame.xy`; on WebGL, or when it does not
|
|
1480
|
+
* fit the quad, it is drawn live in every frame. A body that reads `uGlobalFrame`, `@builtin(position)`,
|
|
1481
|
+
* `gl_FragCoord`, `uOutputTexture` or the origin of `uOutputFrame` and declares nothing is treated as `false`, and a
|
|
1482
|
+
* dev build warns once: declare `cache: false`.
|
|
1481
1483
|
*/
|
|
1482
1484
|
readonly cache?: "local" | "placed" | false;
|
|
1483
1485
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Nr as Api$4, Or as Api$1, Z as Api, ni as Api$3, zr as Api$2 } from "./types-
|
|
2
|
-
import { P as AnimApi, r as UiApi } from "./types-
|
|
3
|
-
import { L 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 { Nr as Api$4, Or as Api$1, Z as Api, ni as Api$3, zr as Api$2 } from "./types-CenejHAB.mjs";
|
|
2
|
+
import { P as AnimApi, r as UiApi } from "./types-Dhnc_iQk.mjs";
|
|
3
|
+
import { L as InputApi } from "./types-D8tWWOCK.mjs";
|
|
4
|
+
import { r as Repro } from "./headless-9UyUfvF5.mjs";
|
|
5
|
+
import { i as ControlApp, o as InputOf } from "./types-B-n_yE-i.mjs";
|
|
6
|
+
import { t as commands } from "./commands-DcGoU3wp.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-B0ZwgkDL.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 };
|