@moku-labs/game 0.15.116 → 0.15.118
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 +2 -2
- package/dist/app.d.mts +2 -2
- package/dist/app.mjs +1 -1
- package/dist/{commands-CiHOKtJB.d.mts → commands-B16wtdhf.d.mts} +2 -2
- package/dist/control.d.mts +1 -1
- package/dist/{index-DXUwkf7I.d.mts → index-Fth_AFjs.d.mts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +2 -2
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-hro6J1Bi.d.mts → runtime-DylBqKWf.d.mts} +1 -1
- package/dist/{src-DK7VPqPx.mjs → src-CvM4Qhtr.mjs} +230 -64
- package/dist/testing.d.mts +2 -2
- package/dist/testing.mjs +1 -1
- package/dist/{types-3QDrFkdS.d.mts → types-CMFC7k5L.d.mts} +115 -15
- package/dist/{types-Di4cy3n_.d.mts → types-DIdCmTQx.d.mts} +1 -1
- package/dist/{types-UKjkRtLZ.d.mts → types-ktcMr5ce.d.mts} +3 -3
- package/dist/{visual-BLd_9BvB.d.mts → visual-m6n16q7E.d.mts} +3 -3
- 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
1
|
import { Jr as PlayerStateProvider } from "../types-BUR4LWSa.mjs";
|
|
2
|
-
import { Et as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-
|
|
2
|
+
import { Et as PlatformProvider } from "../index-Fth_AFjs.mjs";
|
|
3
|
+
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-ktcMr5ce.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
1
|
import { Ur as Json } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { J as StringTable } from "./types-
|
|
3
|
-
import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-
|
|
2
|
+
import { J as StringTable } from "./types-CMFC7k5L.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-ktcMr5ce.mjs";
|
|
4
4
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
5
5
|
|
|
6
6
|
//#region src/app/define.d.ts
|
package/dist/app.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as audioPlugin, Pt as effectsPlugin, Q as platformPlugin, i as screen, t as createApp, w as flattenFeatures } from "./src-
|
|
1
|
+
import { Gt as audioPlugin, Pt as effectsPlugin, Q as platformPlugin, i as screen, t as createApp, w as flattenFeatures } from "./src-CvM4Qhtr.mjs";
|
|
2
2
|
import { t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock, r as isFakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
//#region src/app/define.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as DebugSwitches, Ln as FlowState, Pn as Bookmark, Pr as Api, Qr as Snapshot, Z as Api$2, di as FrameRate, ei as StoreApi, hi as Time, kr as Api$3, pt as Captured, ri as Api$1, w as ScenesApi } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { W as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-
|
|
3
|
-
import { R as InputApi } from "./types-
|
|
2
|
+
import { W as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-DIdCmTQx.mjs";
|
|
3
|
+
import { R as InputApi } from "./types-CMFC7k5L.mjs";
|
|
4
4
|
import { t as HeadlessApp } from "./headless-C5kxf9oU.mjs";
|
|
5
5
|
import { i as ControlApp, r as Command } from "./types-CATC2vK8.mjs";
|
|
6
6
|
|
package/dist/control.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as HeadlessApp } from "./headless-C5kxf9oU.mjs";
|
|
2
2
|
import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-CATC2vK8.mjs";
|
|
3
|
-
import { t as commands } from "./commands-
|
|
3
|
+
import { t as commands } from "./commands-B16wtdhf.mjs";
|
|
4
4
|
import { t as defineCommand } from "./define-OPEOQ5MS.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/flow/doors/dev.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $n as DescriptionNode, An as FeatureDescription, Ar as Config$9, C as SceneSpec, Cr as Narrowed, Dr as SystemFor, Er as SystemDefinition, Et as FrameRing, F as HudPartValue, Fn as DefineNode, G as SpriteOptions, Gn as EffectOptions, Gr as State$5, H as ShapeValue, Ir as Config$2, It as PassKind, J as TransformValue, K as SpriteValue, Kn as GuideOptions, L as NineSliceValue, Mn as FeatureTree, Mr as State$9, Or as TagType, Pr as Api$1, Q as Config$6, Rr as State$2, S as SceneDefinition, Sn as TextStylesOf, Sr as Mut, T as State$7, Tn as defineFlow, Tr as ResourceType, Tt as FrameRecord, Un as Descriptor, Ur as Json, Vn as SceneIdOf, Vr as Config$5, Wn as Effect, Wr as Root, Xn as Answered, Y as sprite, Z as Api$4, _ as AnySceneProjection, _i as Config$10, _n as GameTypes, _r as ComponentType, a as Config$1, ai as Events, ar as ProjectionMotion, bn as State$3, c as LoadBundles, ct as State$6, ei as StoreApi, er as Ease, f as ReadyBundles, fi as RateChange, gn as EmitterIdOf, hn as Config$3, hr as ComponentHandle, i as BundleSpec, ii as Config$4, ir as NumericFields, jn as FeaturePlugin, kr as Api$6, l as LoadReason, li as Api$5, m as Tier, mi as ThermalReading, mn as BundlesOf, o as DefineBundles, oi as PauseReason, or as ProjectionSpec, p as State$1, pi as State$8, pn as Api$2, qn as Hint, qr as Patch, r as BundleMap, ri as Api$3, si as State$4, sr as ReducedMotion, t as Api, ti as RngApi, u as LoadResult, ui as Config$8, v as Config$7, vi as Events$1, vn as HudKeysOf, vr as ComponentValue, vt as ViewportSize, w as ScenesApi, wr as QueryTerm, x as LayerMap, xn as TextFormatsOf, y as DefineScene, yi as Require, z as OverlayValue } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { $ as SfxDescriptor, A as EmitterDefinition, B as GlowValue, C as FoldValue, D as ShineValue, E as RevealRoundValue, F as DisplacementValue, G as AnimPlayerValue, H as OutlineValue, J as MotionKeyframe, K as Config$11, L as FilterComponent, M as AlphaValue, N as BlurValue, O as VignetteValue, P as ColorMatrixValue, Q as HapticKind, R as FilterSpec, S as FlashValue, T as RevealLineValue, U as UniformDeclaration, V as NoiseValue, W as AnimApi, X as Target, Y as State$10, _ as State$12, a as AudioApi, b as BloomValue, c as MusicDescriptor, ct as play, d as State$11, et as Step, f as VolumesFor, h as EffectsApi, j as EmitterValue, k as EmitterConfig, l as MusicOptions, m as Config$13, n as State$13, nt as defineAnimation, q as FramesValue, r as UiApi, s as Config$12, t as Config$14, w as GradeValue, x as DissolveValue, y as AuraValue, yt as OverlayApi, z as FilterValueOf } from "./types-
|
|
3
|
-
import { $ as ResolvedStyle, A as TextFormats, C as Point, E as TextBind, G as Message, H as Config$15, I as defineComponent, K as Part, L as Config$16, M as TextStyleInput, N as TextStyles, P as TextValue, Q as IsFlags, R as InputApi, T as TextApi, U as I18nApi, V as Argument, W as IntlKit, X as TypedTr, Y as TextKey, b as Config$17, et as Style, g as IntrinsicElementsFor, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, nt as WhenFlags, q as State$14, s as PopupComponent, v as BindField, w as State$16, x as CountdownValue, y as BindOptions, z as State$15 } from "./types-
|
|
2
|
+
import { $ as SfxDescriptor, A as EmitterDefinition, B as GlowValue, C as FoldValue, D as ShineValue, E as RevealRoundValue, F as DisplacementValue, G as AnimPlayerValue, H as OutlineValue, J as MotionKeyframe, K as Config$11, L as FilterComponent, M as AlphaValue, N as BlurValue, O as VignetteValue, P as ColorMatrixValue, Q as HapticKind, R as FilterSpec, S as FlashValue, T as RevealLineValue, U as UniformDeclaration, V as NoiseValue, W as AnimApi, X as Target, Y as State$10, _ as State$12, a as AudioApi, b as BloomValue, c as MusicDescriptor, ct as play, d as State$11, et as Step, f as VolumesFor, h as EffectsApi, j as EmitterValue, k as EmitterConfig, l as MusicOptions, m as Config$13, n as State$13, nt as defineAnimation, q as FramesValue, r as UiApi, s as Config$12, t as Config$14, w as GradeValue, x as DissolveValue, y as AuraValue, yt as OverlayApi, z as FilterValueOf } from "./types-DIdCmTQx.mjs";
|
|
3
|
+
import { $ as ResolvedStyle, A as TextFormats, C as Point, E as TextBind, G as Message, H as Config$15, I as defineComponent, K as Part, L as Config$16, M as TextStyleInput, N as TextStyles, P as TextValue, Q as IsFlags, R as InputApi, T as TextApi, U as I18nApi, V as Argument, W as IntlKit, X as TypedTr, Y as TextKey, b as Config$17, et as Style, g as IntrinsicElementsFor, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, nt as WhenFlags, q as State$14, s as PopupComponent, v as BindField, w as State$16, x as CountdownValue, y as BindOptions, z as State$15 } from "./types-CMFC7k5L.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
1
|
import { $ as MonitorConfig, $n as DescriptionNode, $t as PerfSpikeLine, At as OverlayEventDetail, B as Parent, Bt as PerfChangeEntry, Cn as types_d_exports$6, Ct as FrameReadResult, Dn as slot, Dt as LongFrameEntry, E as types_d_exports$13, En as exit, Et as FrameRing, F as HudPartValue, Ft as PROBLEM_RULES, Gt as PerfEventName, Ht as PerfCounts, I as NineSlice, It as PassKind, Jt as PerfLogLine, Kr as types_d_exports$10, Kt as PerfGapLine, Lt as PassRecord, M as WhyEntry, Mt as PERF_CAUSES, N as Display, Nr as types_d_exports$17, Nt as PERF_GAP_BUCKETS, On as to, Ot as MONITOR_SECTIONS, P as HudPart, Pt as PERF_LOG_VERSION, Qt as PerfSampleLine, R as Overlay, Rt as PerfCause, St as FrameColumns, Tt as FrameRecord, U as Sprite, Ut as PerfDisplay, V as Shape, Vt as PerfCollectorLine, W as SpriteBlend, Wt as PerfEventLine, X as AdaptiveScale, Xt as PerfMarkLine, Y as sprite, Yt as PerfLongFrameLine, Zn as AnchorTarget, Zr as SaveUnreadableError, Zt as PerfMeasured, an as ProblemRule, bt as RetakeWhy, ci as types_d_exports$9, cn as ShaderWhat, cr as SceneSwitch, dn as CanvasRestart, dt as ShotsApi, en as PerfStartupLine, fn as DEMAND_REASONS, ft as ShotsConfig, g as types_d_exports$1, gi as types_d_exports$15, in as ProblemEventDetail, jt as OverlayWhat, kn as type, kt as MonitorSections, ln as WarmDetail, mt as MonitorCounts, nn as PerfThermalLine, on as SHADER_WHATS, q as Transform, qt as PerfHeaderLine, rn as PoolTrimDetail, sn as ShaderEventDetail, st as PoolTrim, tn as PerfTelemetryLine, un as CANVAS_RESTARTS, ut as types_d_exports$12, wn as contribution, wt as FrameReadout, xt as WhyLive, z as OverlayValue, zr as types_d_exports$3, zt as PerfChange } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { C as FoldValue, D as ShineValue, E as RevealRoundValue, I as FilterArea, O as VignetteValue, Q as HapticKind, S as FlashValue, T as RevealLineValue, Z as types_d_exports, _t as use, at as haptic, b as BloomValue, bt as types_d_exports$4, ct as play, dt as sfx, ft as spawn, gt as tween, ht as stopSfx, i as types_d_exports$16, it as frames, lt as sequence, mt as stagger, nt as defineAnimation, ot as mark, p as types_d_exports$2, pt as spawned, rt as external, st as parallel, tt as HAPTIC_KINDS, ut as set, v as types_d_exports$5, vt as wait, w as GradeValue, x as DissolveValue, y as AuraValue } from "./types-
|
|
3
|
-
import { A as TextFormats, B as types_d_exports$8, D as TextFormat, F as types_d_exports$14, I as defineComponent, O as TextFormatAnswer, S as FormattedNumber, Z as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-
|
|
4
|
-
import { $ as Traced, A as messageDuration, At as inputPlugin, B as Draggable, Bt as Countdown, C as Noise, Ct as rendererPlugin, D as defineStyle, Dt as types_d_exports$11, E as resolve, Et as PlatformProvider, F as Frames, Ft as clockPlugin, G as PointerOver, Gt as label, H as Held, Ht as bind, I as defineScene, It as audioPlugin, J as Swipeable, K as Pressable, L as defineBundles, Lt as assetsPlugin, M as defineMotion, Mt as flowPlugin, N as AnimPlayer, Nt as effectsPlugin, O as tr, Ot as modelPlugin, P as Animation, Pt as debugPlugin, Q as Traceable, R as load, Rt as animPlugin, S as Glow, St as scenesPlugin, T as music, Tt as BackResult, U as Hovered, Ut as defineTextFormats, V as DropTarget, Vt as Text, W as Pointer, Wt as defineTextStyles, X as Tappable, Y as TapValue, Z as Touchable, _ as defineFilter, _t as flattenFeatures, a as defineEmitter, at as Order, b as ColorMatrix, bt as timePlugin, c as Shine, ct as mut, d as Grade, dt as tag, et as PASS_KINDS, f as Fold, ft as defineEffect, g as Aura, gt as defineFeature, h as Bloom, ht as schedule, i as screen, it as Now, j as cubicBezier, jt as i18nPlugin, k as messageArgument, kt as lifecyclePlugin, l as RevealRound, lt as resource, m as Dissolve, mt as hint, n as createPlugin, nt as Exiting, o as Emitter, ot as Tree, p as Flash, pt as guide, q as Pressed, r as defineGame, rt as Layer, s as Vignette, st as component, t as createApp, tt as frameAt, u as RevealLine, ut as system, v as Alpha, vt as worldPlugin, w as Outline, wt as platformPlugin, x as Displacement, xt as textPlugin, y as Blur, yt as uiPlugin, z as ready, zt as projection } from "./index-
|
|
2
|
+
import { C as FoldValue, D as ShineValue, E as RevealRoundValue, I as FilterArea, O as VignetteValue, Q as HapticKind, S as FlashValue, T as RevealLineValue, Z as types_d_exports, _t as use, at as haptic, b as BloomValue, bt as types_d_exports$4, ct as play, dt as sfx, ft as spawn, gt as tween, ht as stopSfx, i as types_d_exports$16, it as frames, lt as sequence, mt as stagger, nt as defineAnimation, ot as mark, p as types_d_exports$2, pt as spawned, rt as external, st as parallel, tt as HAPTIC_KINDS, ut as set, v as types_d_exports$5, vt as wait, w as GradeValue, x as DissolveValue, y as AuraValue } from "./types-DIdCmTQx.mjs";
|
|
3
|
+
import { A as TextFormats, B as types_d_exports$8, D as TextFormat, F as types_d_exports$14, I as defineComponent, O as TextFormatAnswer, S as FormattedNumber, Z as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-CMFC7k5L.mjs";
|
|
4
|
+
import { $ as Traced, A as messageDuration, At as inputPlugin, B as Draggable, Bt as Countdown, C as Noise, Ct as rendererPlugin, D as defineStyle, Dt as types_d_exports$11, E as resolve, Et as PlatformProvider, F as Frames, Ft as clockPlugin, G as PointerOver, Gt as label, H as Held, Ht as bind, I as defineScene, It as audioPlugin, J as Swipeable, K as Pressable, L as defineBundles, Lt as assetsPlugin, M as defineMotion, Mt as flowPlugin, N as AnimPlayer, Nt as effectsPlugin, O as tr, Ot as modelPlugin, P as Animation, Pt as debugPlugin, Q as Traceable, R as load, Rt as animPlugin, S as Glow, St as scenesPlugin, T as music, Tt as BackResult, U as Hovered, Ut as defineTextFormats, V as DropTarget, Vt as Text, W as Pointer, Wt as defineTextStyles, X as Tappable, Y as TapValue, Z as Touchable, _ as defineFilter, _t as flattenFeatures, a as defineEmitter, at as Order, b as ColorMatrix, bt as timePlugin, c as Shine, ct as mut, d as Grade, dt as tag, et as PASS_KINDS, f as Fold, ft as defineEffect, g as Aura, gt as defineFeature, h as Bloom, ht as schedule, i as screen, it as Now, j as cubicBezier, jt as i18nPlugin, k as messageArgument, kt as lifecyclePlugin, l as RevealRound, lt as resource, m as Dissolve, mt as hint, n as createPlugin, nt as Exiting, o as Emitter, ot as Tree, p as Flash, pt as guide, q as Pressed, r as defineGame, rt as Layer, s as Vignette, st as component, t as createApp, tt as frameAt, u as RevealLine, ut as system, v as Alpha, vt as worldPlugin, w as Outline, wt as platformPlugin, x as Displacement, xt as textPlugin, y as Blur, yt as uiPlugin, z as ready, zt as projection } from "./index-Fth_AFjs.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, Aura, type AuraValue, type BackResult, type BindOptions, Bloom, type BloomValue, Blur, Box, CANVAS_RESTARTS, type CanvasRestart, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Dissolve, type DissolveValue, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, Flash, type FlashValue, types_d_exports$6 as Flow, Fold, type FoldValue, type FormattedNumber, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, Grade, type GradeValue, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, type RetakeWhy, RevealLine, type RevealLineValue, RevealRound, type RevealRoundValue, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Shine, type ShineValue, type ShotsApi, type ShotsConfig, Sprite, type SpriteBlend, Swipeable, type TapValue, Tappable, Text, type TextFormat, type TextFormatAnswer, type TextFormatFunction, type TextFormats, type TextRunStyle, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, Vignette, type VignetteValue, type WarmDetail, type WhyEntry, type WhyLive, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as HAPTIC_KINDS, $t as PASS_KINDS, A as types_exports$17, At as Traced, B as types_exports$7, Bt as Glow, C as defineFeature, Ct as PointerOver, D as defineBundles, Dt as Tappable, E as music, Et as Swipeable, F as types_exports$12, Ft as Emitter, G as types_exports$2, Gt as audioPlugin, H as types_exports$5, Ht as Outline, I as types_exports$11, It as Alpha, J as uiPlugin, Jt as animPlugin, K as types_exports$1, Kt as scenesPlugin, L as types_exports$10, Lt as Blur, M as types_exports$15, Mt as messageArgument, N as types_exports$14, Nt as messageDuration, O as load, Ot as Touchable, P as types_exports$13, Pt as effectsPlugin, Q as platformPlugin, Qt as rendererPlugin, R as types_exports$9, Rt as ColorMatrix, S as tr, St as Pointer, T as defineEmitter, Tt as Pressed, U as types_exports$4, Ut as defineFilter, V as types_exports$6, Vt as Noise, W as types_exports$3, Wt as debugPlugin, X as defineMotion, Xt as Animation, Y as resolve, Yt as AnimPlayer, Z as textPlugin, Zt as Frames, _ as guide, _n as modelPlugin, _t as inputPlugin, a as Vignette, an as PROBLEM_RULES, at as parallel, b as projection, bn as lifecyclePlugin, bt as Held, c as RevealLine, cn as DEMAND_REASONS, ct as set, d as Flash, dt as spawned, en as frameAt, et as defineAnimation, f as Dissolve, fn as contribution, ft as stagger, g as defineEffect, gn as type, gt as wait, h as cubicBezier, hn as to, ht as use, i as screen, in as PERF_LOG_VERSION, it as mark, j as types_exports$16, jt as i18nPlugin, k as ready, kt as Traceable, l as Grade, ln as worldPlugin, lt as sfx, m as Aura, mn as slot, mt as tween, n as createPlugin, nn as PERF_CAUSES, nt as frames, o as Shine, on as SHADER_WHATS, ot as play, p as Bloom, pn as exit, pt as stopSfx, q as types_exports, qt as assetsPlugin, r as defineGame, rn as PERF_GAP_BUCKETS, rt as haptic, s as RevealRound, sn as CANVAS_RESTARTS, st as sequence, t as createApp, tn as MONITOR_SECTIONS, tt as external, u as Fold, un as flowPlugin, ut as spawn, v as hint, vn as SaveUnreadableError, vt as Draggable, w as flattenFeatures, wt as Pressable, x as defineScene, xn as timePlugin, xt as Hovered, y as schedule, yn as clockPlugin, yt as DropTarget, z as types_exports$8, zt as Displacement } from "./src-
|
|
1
|
+
import { $ as HAPTIC_KINDS, $t as PASS_KINDS, A as types_exports$17, At as Traced, B as types_exports$7, Bt as Glow, C as defineFeature, Ct as PointerOver, D as defineBundles, Dt as Tappable, E as music, Et as Swipeable, F as types_exports$12, Ft as Emitter, G as types_exports$2, Gt as audioPlugin, H as types_exports$5, Ht as Outline, I as types_exports$11, It as Alpha, J as uiPlugin, Jt as animPlugin, K as types_exports$1, Kt as scenesPlugin, L as types_exports$10, Lt as Blur, M as types_exports$15, Mt as messageArgument, N as types_exports$14, Nt as messageDuration, O as load, Ot as Touchable, P as types_exports$13, Pt as effectsPlugin, Q as platformPlugin, Qt as rendererPlugin, R as types_exports$9, Rt as ColorMatrix, S as tr, St as Pointer, T as defineEmitter, Tt as Pressed, U as types_exports$4, Ut as defineFilter, V as types_exports$6, Vt as Noise, W as types_exports$3, Wt as debugPlugin, X as defineMotion, Xt as Animation, Y as resolve, Yt as AnimPlayer, Z as textPlugin, Zt as Frames, _ as guide, _n as modelPlugin, _t as inputPlugin, a as Vignette, an as PROBLEM_RULES, at as parallel, b as projection, bn as lifecyclePlugin, bt as Held, c as RevealLine, cn as DEMAND_REASONS, ct as set, d as Flash, dt as spawned, en as frameAt, et as defineAnimation, f as Dissolve, fn as contribution, ft as stagger, g as defineEffect, gn as type, gt as wait, h as cubicBezier, hn as to, ht as use, i as screen, in as PERF_LOG_VERSION, it as mark, j as types_exports$16, jt as i18nPlugin, k as ready, kt as Traceable, l as Grade, ln as worldPlugin, lt as sfx, m as Aura, mn as slot, mt as tween, n as createPlugin, nn as PERF_CAUSES, nt as frames, o as Shine, on as SHADER_WHATS, ot as play, p as Bloom, pn as exit, pt as stopSfx, q as types_exports, qt as assetsPlugin, r as defineGame, rn as PERF_GAP_BUCKETS, rt as haptic, s as RevealRound, sn as CANVAS_RESTARTS, st as sequence, t as createApp, tn as MONITOR_SECTIONS, tt as external, u as Fold, un as flowPlugin, ut as spawn, v as hint, vn as SaveUnreadableError, vt as Draggable, w as flattenFeatures, wt as Pressable, x as defineScene, xn as timePlugin, xt as Hovered, y as schedule, yn as clockPlugin, yt as DropTarget, z as types_exports$8, zt as Displacement } from "./src-CvM4Qhtr.mjs";
|
|
2
2
|
import { $ as Parent, A as Countdown, F as defineTextFormats, I as defineTextStyles, J as Display, L as label, M as bind, S as popup, T as defineStyle, X as NineSlice, Y as HudPart, Z as Overlay, _ as LocalWrite, at as sprite, ct as Now, dt as component, et as Shape, ft as mut, gt as tag, h as DebugTrigger, j as Text, lt as Order, mt as system, nt as Transform, ot as Exiting, p as Box, pt as resource, st as Layer, tt as Sprite, ut as Tree, w as defineTokens, y as ScrollState } from "./visual-CvFDvkA_.mjs";
|
|
3
3
|
import { t as defineComponent } from "./component-DGg5DqKK.mjs";
|
|
4
4
|
export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Aura, Bloom, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Dissolve, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, Flash, types_exports$6 as Flow, Fold, Frames, Glow, Grade, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, RevealLine, RevealRound, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Shine, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, Vignette, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/inspect.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Br as Api, In as FlowGraph, Qr as Snapshot, Rn as JournalEntry, Z as Api$2, br as EntitySnapshot, gr as ComponentSchema, h as Usage, ht as RenderStats, jr as Explained, kr as Api$1, lt as Under, t as Api$3, xr as FrameDiff, yn as Position } from "./types-BUR4LWSa.mjs";
|
|
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-
|
|
2
|
+
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-DIdCmTQx.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-CMFC7k5L.mjs";
|
|
4
4
|
import { t as HeadlessApp } from "./headless-C5kxf9oU.mjs";
|
|
5
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-CATC2vK8.mjs";
|
|
6
6
|
import { n as defineSource } from "./define-OPEOQ5MS.mjs";
|
|
@@ -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-DylBqKWf.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-DylBqKWf.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-CMFC7k5L.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. */
|
|
@@ -55689,7 +55689,9 @@ const PointerOver = /*#__PURE__*/ tag("PointerOver");
|
|
|
55689
55689
|
* On every ui scroll container, internal: ui writes it, input reads it, a game never sees it. A
|
|
55690
55690
|
* press that leaves the tap slop along `axis` goes from the pressed view to the innermost scroll
|
|
55691
55691
|
* of that axis the view hangs in by its `Parent` chain; a finger that lands on a view inside a
|
|
55692
|
-
* scroll that is `moving` stops it and answers nothing.
|
|
55692
|
+
* scroll that is `moving` stops it and answers nothing. A `locked` scroll takes neither: the
|
|
55693
|
+
* hand-off ends there with the press caught and given to no one, the view under a finger keeps
|
|
55694
|
+
* the press while the scroll moves, and a press held on it is dropped.
|
|
55693
55695
|
*/
|
|
55694
55696
|
const Scrollable = /*#__PURE__*/ component("Scrollable", scrollableDefaults);
|
|
55695
55697
|
/**
|
|
@@ -55944,8 +55946,9 @@ function submitBlocked(ctx) {
|
|
|
55944
55946
|
* which answers `undefined` without a DOM, and every accept function refuses a view that is
|
|
55945
55947
|
* already playing its exit. A trace takes a cell only inside a circle smaller than its box. The
|
|
55946
55948
|
* scroll a press belongs to is found up the pressed view's own `Parent` chain, never under the
|
|
55947
|
-
* point: a view drawn over a scroll from another root keeps its press
|
|
55948
|
-
* stands, a point outside its window finds no view at
|
|
55949
|
+
* point: a view drawn over a scroll from another root keeps its press; a scroll its `locked` prop
|
|
55950
|
+
* holds takes none. While the lock of a guide stands, a point outside its window finds no view at
|
|
55951
|
+
* all.
|
|
55949
55952
|
*/
|
|
55950
55953
|
/** How deep a `Parent` chain is followed; deeper is treated as a loop. */
|
|
55951
55954
|
const MAX_DEPTH$2 = 32;
|
|
@@ -56048,11 +56051,32 @@ function findPressed(ctx, x, y) {
|
|
|
56048
56051
|
return ctx.deps.renderer.sync.hitTest(x, y, (entity) => acceptPress(ctx, entity));
|
|
56049
56052
|
}
|
|
56050
56053
|
/**
|
|
56054
|
+
* Tells whether a view is a scroll its `locked` prop holds (F177): the finger neither moves nor
|
|
56055
|
+
* stops it. Reads only, allocates nothing.
|
|
56056
|
+
*
|
|
56057
|
+
* @param ctx - Domain context of the input plugin.
|
|
56058
|
+
* @param entity - The view.
|
|
56059
|
+
* @returns True when it carries a `Scrollable` with `locked` true.
|
|
56060
|
+
*/
|
|
56061
|
+
function isLockedScroll(ctx, entity) {
|
|
56062
|
+
return ctx.deps.world.ecs.get(entity, Scrollable)?.locked === true;
|
|
56063
|
+
}
|
|
56064
|
+
/**
|
|
56065
|
+
* Tells whether a `Scrollable` value glides now and its `locked` prop does not hold it.
|
|
56066
|
+
*
|
|
56067
|
+
* @param scrollable - The view's `Scrollable` value, or `undefined` for a view that has none.
|
|
56068
|
+
* @returns True for a moving scroll that is not locked.
|
|
56069
|
+
*/
|
|
56070
|
+
function isMovingUnlocked(scrollable) {
|
|
56071
|
+
return scrollable?.moving === true && scrollable.locked !== true;
|
|
56072
|
+
}
|
|
56073
|
+
/**
|
|
56051
56074
|
* The innermost scroll a view sits in that moves now: the view itself or the nearest ancestor of
|
|
56052
|
-
* its `Parent` chain that carries a `Scrollable` with `moving` true
|
|
56053
|
-
* finger that lands on the view stops that scroll. A
|
|
56054
|
-
*
|
|
56055
|
-
*
|
|
56075
|
+
* its `Parent` chain that carries a `Scrollable` with `moving` true, is not locked and is not on
|
|
56076
|
+
* its way out. A finger that lands on the view stops that scroll. A locked scroll is passed over:
|
|
56077
|
+
* the walk goes on up the chain, and with no other scroll moving the view under the finger takes
|
|
56078
|
+
* the press as on a still scroll. A view of another root drawn over the scroll, a HUD button or a
|
|
56079
|
+
* popup, hangs in no chain of it, so it keeps its press. Reads only, allocates nothing.
|
|
56056
56080
|
*
|
|
56057
56081
|
* @param ctx - Domain context of the input plugin.
|
|
56058
56082
|
* @param entity - The view the hit test found under the finger.
|
|
@@ -56062,7 +56086,7 @@ function movingScrollOf(ctx, entity) {
|
|
|
56062
56086
|
const { ecs } = ctx.deps.world;
|
|
56063
56087
|
let current = entity;
|
|
56064
56088
|
for (let depth = 0; depth < MAX_DEPTH$2 && current !== 0; depth += 1) {
|
|
56065
|
-
if (ecs.get(current, Scrollable)
|
|
56089
|
+
if (isMovingUnlocked(ecs.get(current, Scrollable)) && !ecs.has(current, Exiting)) return current;
|
|
56066
56090
|
current = parentOf$1(ecs, current);
|
|
56067
56091
|
}
|
|
56068
56092
|
}
|
|
@@ -57247,12 +57271,42 @@ function onDown(ctx, pointer, point, sample) {
|
|
|
57247
57271
|
if (ecs.has(entity, Draggable) && ecs.has(entity, Swipeable)) ctx.log.warn("input: Draggable wins over Swipeable", { view: ctx.state.key });
|
|
57248
57272
|
}
|
|
57249
57273
|
/**
|
|
57274
|
+
* Lets the press go with no answer while the finger stays followed: the pressed view loses
|
|
57275
|
+
* `Pressed`, and the press is caught and belongs to no view, so a later move hands nothing on and
|
|
57276
|
+
* the release answers nothing and runs no listener.
|
|
57277
|
+
*
|
|
57278
|
+
* @param ctx - Domain context of the input plugin.
|
|
57279
|
+
*/
|
|
57280
|
+
function dropPress(ctx) {
|
|
57281
|
+
const { entity } = ctx.state;
|
|
57282
|
+
if (entity !== void 0) ctx.deps.world.ecs.untag(entity, Pressed);
|
|
57283
|
+
ctx.state.caught = true;
|
|
57284
|
+
ctx.state.entity = void 0;
|
|
57285
|
+
ctx.state.key = void 0;
|
|
57286
|
+
}
|
|
57287
|
+
/**
|
|
57288
|
+
* Drops a press held on a scroll its `locked` prop holds (F177), after the samples are drained: a
|
|
57289
|
+
* press that landed on its own background, or one it held when the lock came. The finger stays
|
|
57290
|
+
* followed until it lifts, so an unlock before the lift gives the scroll nothing. A press on a view
|
|
57291
|
+
* inside the scroll is that view's and stays.
|
|
57292
|
+
*
|
|
57293
|
+
* @param ctx - Domain context of the input plugin.
|
|
57294
|
+
*/
|
|
57295
|
+
function dropLockedPress(ctx) {
|
|
57296
|
+
const { entity, phase } = ctx.state;
|
|
57297
|
+
if (phase !== "pressed" || entity === void 0 || !isLockedScroll(ctx, entity)) return;
|
|
57298
|
+
dropPress(ctx);
|
|
57299
|
+
}
|
|
57300
|
+
/**
|
|
57250
57301
|
* The press just left the tap slop: it goes to the scroll it pans, the innermost `Scrollable` of
|
|
57251
57302
|
* the pressed view's own `Parent` chain (the view itself included) that moves on the dominant axis
|
|
57252
57303
|
* of the move. The view loses `Pressed`, and the press is marked caught: it is a scroll gesture
|
|
57253
|
-
* now, so its release answers nothing, also when the finger came back inside the slop. A
|
|
57254
|
-
*
|
|
57255
|
-
*
|
|
57304
|
+
* now, so its release answers nothing, also when the finger came back inside the slop. A locked
|
|
57305
|
+
* scroll does nothing with it: the press is dropped and no scroll is pressed, also not one of the
|
|
57306
|
+
* same axis around it. A press that sits on a locked scroll's own background is dropped the same
|
|
57307
|
+
* way, whatever axis the move has. A draggable or swipeable view keeps its gesture, a caught press keeps its
|
|
57308
|
+
* scroll, and a view that sits in no scroll of that axis keeps its press, also a popup button
|
|
57309
|
+
* drawn over a list.
|
|
57256
57310
|
*
|
|
57257
57311
|
* @param ctx - Domain context of the input plugin.
|
|
57258
57312
|
* @param point - Where the finger is, in reference units.
|
|
@@ -57262,9 +57316,17 @@ function handOff(ctx, point) {
|
|
|
57262
57316
|
const { ecs } = ctx.deps.world;
|
|
57263
57317
|
if (entity === void 0 || caught) return;
|
|
57264
57318
|
if (ecs.has(entity, Draggable) || ecs.has(entity, Swipeable)) return;
|
|
57319
|
+
if (isLockedScroll(ctx, entity)) {
|
|
57320
|
+
dropPress(ctx);
|
|
57321
|
+
return;
|
|
57322
|
+
}
|
|
57265
57323
|
const scroll = scrollOnAxisOf(ctx, entity, axisOf$1(start, point));
|
|
57266
57324
|
if (scroll === void 0 || scroll === entity) return;
|
|
57267
57325
|
lostPress(ctx, "scroll");
|
|
57326
|
+
if (isLockedScroll(ctx, scroll)) {
|
|
57327
|
+
dropPress(ctx);
|
|
57328
|
+
return;
|
|
57329
|
+
}
|
|
57268
57330
|
ecs.untag(entity, Pressed);
|
|
57269
57331
|
ctx.state.caught = true;
|
|
57270
57332
|
press(ctx, scroll);
|
|
@@ -57597,7 +57659,8 @@ function clearJust(pointer) {
|
|
|
57597
57659
|
* (F61): the pressed view is tagged and a release answers the gate now, so the press look starts
|
|
57598
57660
|
* in the next frame and a node that awaits nothing commits before it. The first resolve after a
|
|
57599
57661
|
* frame clears that frame's flags; the next frame step keeps the ones it wrote. Only a live world
|
|
57600
|
-
* resolves early: fast and paused leave the samples to the frame step, as before.
|
|
57662
|
+
* resolves early: fast and paused leave the samples to the frame step, as before. A press that
|
|
57663
|
+
* landed on a locked scroll is dropped here, before any system sees it.
|
|
57601
57664
|
*
|
|
57602
57665
|
* @param ctx - Domain context of the input plugin.
|
|
57603
57666
|
*/
|
|
@@ -57611,6 +57674,7 @@ function resolveEarly(ctx) {
|
|
|
57611
57674
|
}
|
|
57612
57675
|
ctx.state.samples = [];
|
|
57613
57676
|
drainSamples(ctx, pointer, queue);
|
|
57677
|
+
dropLockedPress(ctx);
|
|
57614
57678
|
syncCursor(ctx);
|
|
57615
57679
|
pointer.id = ctx.state.pointerId ?? -1;
|
|
57616
57680
|
}
|
|
@@ -57618,6 +57682,7 @@ function resolveEarly(ctx) {
|
|
|
57618
57682
|
* The one frame step of the plugin, registered with `time.onFrame("input")` in `onInit`, so it
|
|
57619
57683
|
* runs before the `world` callback of the same phase: `Pointer`, `Held`, `Hovered` and `Pressed`
|
|
57620
57684
|
* are fresh when game systems of phase `input` read them.
|
|
57685
|
+
* A press held on a locked scroll is dropped once the samples are drained.
|
|
57621
57686
|
* The canvas cursor is set right after the hover. `Pointer.id` is written last, once per step: the
|
|
57622
57687
|
* followed `pointerId`, `-1` when no pointer is followed.
|
|
57623
57688
|
*
|
|
@@ -57644,6 +57709,7 @@ function stepGestures(ctx, time) {
|
|
|
57644
57709
|
else clearJust(pointer);
|
|
57645
57710
|
ctx.state.samples = [];
|
|
57646
57711
|
drainSamples(ctx, pointer, queue);
|
|
57712
|
+
dropLockedPress(ctx);
|
|
57647
57713
|
syncCursor(ctx);
|
|
57648
57714
|
advanceTime(ctx, pointer, time.delta);
|
|
57649
57715
|
if (ctx.state.phase === "dragging") followDrag(ctx, pointer);
|
|
@@ -64189,6 +64255,9 @@ function scrollMotionOf(node) {
|
|
|
64189
64255
|
pointer: 0,
|
|
64190
64256
|
start: 0,
|
|
64191
64257
|
seen: 0,
|
|
64258
|
+
aim: void 0,
|
|
64259
|
+
glideMs: NaN,
|
|
64260
|
+
locked: false,
|
|
64192
64261
|
placed: false,
|
|
64193
64262
|
atProp: false
|
|
64194
64263
|
};
|
|
@@ -67689,7 +67758,8 @@ function answerOf(node) {
|
|
|
67689
67758
|
* The input components of an element: a button answers the gate, writes local state, or only
|
|
67690
67759
|
* swallows the tap; a panel swallows the tap too, so nothing under it answers; a text field takes
|
|
67691
67760
|
* the tap that starts its editing; a scroll container takes the press that moves its content and
|
|
67692
|
-
* carries where it stands, on the axis it spawned with
|
|
67761
|
+
* carries where it stands, on the axis it spawned with, locked from the start when its first render
|
|
67762
|
+
* says `locked`. A button of a covered popup answers
|
|
67693
67763
|
* nothing, so only the top popup answers the gate. A button with the `escape` prop that answers
|
|
67694
67764
|
* also carries `Escapable`, the control the Escape key taps.
|
|
67695
67765
|
*
|
|
@@ -67700,13 +67770,18 @@ function inputOf(element) {
|
|
|
67700
67770
|
const { type, node, is } = element;
|
|
67701
67771
|
if (type === "scroll") {
|
|
67702
67772
|
const axis = element.scroll?.axis ?? "y";
|
|
67773
|
+
const scrollable = node.props.locked === true ? Scrollable({
|
|
67774
|
+
axis,
|
|
67775
|
+
moving: false,
|
|
67776
|
+
locked: true
|
|
67777
|
+
}) : Scrollable({
|
|
67778
|
+
axis,
|
|
67779
|
+
moving: false
|
|
67780
|
+
});
|
|
67703
67781
|
return [
|
|
67704
67782
|
Touchable(),
|
|
67705
67783
|
Scroll({ axis }),
|
|
67706
|
-
|
|
67707
|
-
axis,
|
|
67708
|
-
moving: false
|
|
67709
|
-
}),
|
|
67784
|
+
scrollable,
|
|
67710
67785
|
ScrollState()
|
|
67711
67786
|
];
|
|
67712
67787
|
}
|
|
@@ -71584,10 +71659,14 @@ function createPopupHandler(ctx, state, jsx) {
|
|
|
71584
71659
|
/**
|
|
71585
71660
|
* @file ui/layout — scroll. A scroll container moves its content on its axis: with the finger,
|
|
71586
71661
|
* then in a fling that slows down, or in a glide to a `snap` stop; it starts at its `offset`
|
|
71587
|
-
* prop, glides when the prop
|
|
71588
|
-
*
|
|
71589
|
-
*
|
|
71590
|
-
*
|
|
71662
|
+
* prop, glides there again when the prop or its `aim` changes (in `glideMs` when it gives one),
|
|
71663
|
+
* stands there at once with `jump`, and stays inside the range every solve gives it, with hard
|
|
71664
|
+
* edges. While its `locked` prop is true (F177) the finger neither moves nor stops it: a finger on
|
|
71665
|
+
* it counts as none, a finger that holds it when the lock comes is let go with no velocity, and the
|
|
71666
|
+
* props still move it. The content moves by one `Transform` write on the axis: no solve, no motion,
|
|
71667
|
+
* the children keep their rects. `Scroll` holds the offset the way the windowed range is cut with
|
|
71668
|
+
* (0 and below), `ScrollState` the way a game reads it (0 to `max`), `Scrollable` whether it moves
|
|
71669
|
+
* and whether it is locked, for `input`.
|
|
71591
71670
|
* The exact numbers live on the element's `scroll` record and the samples of the press in the
|
|
71592
71671
|
* layout state, written in place; the components get whole reference units. A frame allocates
|
|
71593
71672
|
* nothing.
|
|
@@ -71676,7 +71755,8 @@ function askedOffsetOf(container) {
|
|
|
71676
71755
|
return typeof offset === "number" && Number.isFinite(offset) ? offset : 0;
|
|
71677
71756
|
}
|
|
71678
71757
|
/**
|
|
71679
|
-
* Whether the scroll's last render asks
|
|
71758
|
+
* Whether the scroll's last render asks it to stand at its `offset` prop at once: a new prop or a
|
|
71759
|
+
* new `aim` stands there instead of gliding, and a glide to the prop that runs ends at its target.
|
|
71680
71760
|
*
|
|
71681
71761
|
* @param container - The scroll element.
|
|
71682
71762
|
* @returns True when its `jump` prop is true.
|
|
@@ -71685,6 +71765,38 @@ function jumpsOf(container) {
|
|
|
71685
71765
|
return container.node.props.jump === true;
|
|
71686
71766
|
}
|
|
71687
71767
|
/**
|
|
71768
|
+
* The `glideMs` prop of the scroll's last render: the length of a glide to the prop, `NaN` when
|
|
71769
|
+
* it is left out or is no finite number of 0 or more.
|
|
71770
|
+
*
|
|
71771
|
+
* @param container - The scroll element.
|
|
71772
|
+
* @returns The length in ms, or `NaN` for the default length.
|
|
71773
|
+
*/
|
|
71774
|
+
function glideMsOf(container) {
|
|
71775
|
+
const glideMs = container.node.props.glideMs;
|
|
71776
|
+
return typeof glideMs === "number" && Number.isFinite(glideMs) && glideMs >= 0 ? glideMs : NaN;
|
|
71777
|
+
}
|
|
71778
|
+
/**
|
|
71779
|
+
* The `aim` prop of the scroll's last render: a string or a finite number is kept, any other
|
|
71780
|
+
* value is none.
|
|
71781
|
+
*
|
|
71782
|
+
* @param container - The scroll element.
|
|
71783
|
+
* @returns The aim, or `undefined`.
|
|
71784
|
+
*/
|
|
71785
|
+
function aimOf(container) {
|
|
71786
|
+
const aim = container.node.props.aim;
|
|
71787
|
+
if (typeof aim === "string") return aim;
|
|
71788
|
+
return typeof aim === "number" && Number.isFinite(aim) ? aim : void 0;
|
|
71789
|
+
}
|
|
71790
|
+
/**
|
|
71791
|
+
* Whether the scroll's last render keeps the finger from moving it: only the value `true` locks.
|
|
71792
|
+
*
|
|
71793
|
+
* @param container - The scroll element.
|
|
71794
|
+
* @returns True when its `locked` prop is true.
|
|
71795
|
+
*/
|
|
71796
|
+
function lockedOf(container) {
|
|
71797
|
+
return container.node.props.locked === true;
|
|
71798
|
+
}
|
|
71799
|
+
/**
|
|
71688
71800
|
* The `snap` prop of the scroll's last render.
|
|
71689
71801
|
*
|
|
71690
71802
|
* @param container - The scroll element.
|
|
@@ -71730,16 +71842,19 @@ function stop(motion) {
|
|
|
71730
71842
|
motion.velocity = 0;
|
|
71731
71843
|
}
|
|
71732
71844
|
/**
|
|
71733
|
-
* Starts a glide to an offset, kept inside the range, on the curve `1 − (1 − p)³`
|
|
71734
|
-
* `min(620, 260 + distance × 1.1)` ms
|
|
71845
|
+
* Starts a glide to an offset, kept inside the range, on the curve `1 − (1 − p)³` from where the
|
|
71846
|
+
* scroll stands, over `length` ms, or `min(620, 260 + distance × 1.1)` ms when `length` is `NaN`.
|
|
71847
|
+
* A scroll already there stops instead; a length of 0 stands it there at once.
|
|
71735
71848
|
*
|
|
71736
71849
|
* @param motion - Its motion.
|
|
71737
71850
|
* @param target - Where it goes, from the start.
|
|
71851
|
+
* @param length - How long the glide lasts, in ms; `NaN` for the default length.
|
|
71738
71852
|
*/
|
|
71739
|
-
function glideTo(motion, target) {
|
|
71853
|
+
function glideTo(motion, target, length) {
|
|
71740
71854
|
const to = within(target, motion.max);
|
|
71741
71855
|
const distance = Math.abs(to - motion.offset);
|
|
71742
|
-
if (distance === 0) {
|
|
71856
|
+
if (distance === 0 || length === 0) {
|
|
71857
|
+
motion.offset = to;
|
|
71743
71858
|
stop(motion);
|
|
71744
71859
|
return;
|
|
71745
71860
|
}
|
|
@@ -71748,7 +71863,7 @@ function glideTo(motion, target) {
|
|
|
71748
71863
|
motion.from = motion.offset;
|
|
71749
71864
|
motion.to = to;
|
|
71750
71865
|
motion.elapsed = 0;
|
|
71751
|
-
motion.duration = Math.min(GLIDE_MAX_MS, GLIDE_MS + distance * GLIDE_MS_PER_UNIT);
|
|
71866
|
+
motion.duration = Number.isNaN(length) ? Math.min(GLIDE_MAX_MS, GLIDE_MS + distance * GLIDE_MS_PER_UNIT) : length;
|
|
71752
71867
|
}
|
|
71753
71868
|
/**
|
|
71754
71869
|
* Where a sample of the press starts in the ring: `back` samples before the newest one, 0 being
|
|
@@ -71819,7 +71934,7 @@ function releaseVelocity(state) {
|
|
|
71819
71934
|
/**
|
|
71820
71935
|
* Lets go of a scroll the finger held. With `snap` it glides to the stop nearest to where its
|
|
71821
71936
|
* velocity carries in 260 ms; without, it flings, or stands when it was let go too slowly. A
|
|
71822
|
-
* press whose samples a later press took
|
|
71937
|
+
* press whose samples a later press took, and a press a lock let go, let go with no velocity.
|
|
71823
71938
|
*
|
|
71824
71939
|
* @param state - The layout state, which keeps the samples of the press.
|
|
71825
71940
|
* @param container - The scroll that was held.
|
|
@@ -71830,7 +71945,7 @@ function letGo$1(state, container, motion, owned) {
|
|
|
71830
71945
|
const velocity = owned ? releaseVelocity(state) : 0;
|
|
71831
71946
|
const snap = snapOf(container);
|
|
71832
71947
|
if (snap !== void 0) {
|
|
71833
|
-
glideTo(motion, nearestStop(snap, motion.offset + velocity * PROJECT_MS, motion.max, motion.offset));
|
|
71948
|
+
glideTo(motion, nearestStop(snap, motion.offset + velocity * PROJECT_MS, motion.max, motion.offset), NaN);
|
|
71834
71949
|
return;
|
|
71835
71950
|
}
|
|
71836
71951
|
if (Math.abs(velocity) < STOP_SPEED) {
|
|
@@ -71902,9 +72017,33 @@ function moveContent(ctx, state, container, content, motion) {
|
|
|
71902
72017
|
ecs.set(content.entity, Transform, state.scrollPatches.y);
|
|
71903
72018
|
}
|
|
71904
72019
|
/**
|
|
72020
|
+
* Writes `Scrollable` when `moving` or `locked` changed, in one write: with `locked` once the lock
|
|
72021
|
+
* differs from the world's, with `moving` alone otherwise, so a scroll never locked keeps a
|
|
72022
|
+
* `Scrollable` without the field. Nothing when both are the same.
|
|
72023
|
+
*
|
|
72024
|
+
* @param ctx - Domain context of the ui plugin.
|
|
72025
|
+
* @param state - The layout state, which keeps the patches.
|
|
72026
|
+
* @param container - The scroll element.
|
|
72027
|
+
* @param moving - Whether it moves now.
|
|
72028
|
+
* @param locked - Whether its `locked` prop holds.
|
|
72029
|
+
*/
|
|
72030
|
+
function writeScrollable(ctx, state, container, moving, locked) {
|
|
72031
|
+
const ecs = ctx.deps.world.ecs;
|
|
72032
|
+
const scrollable = ecs.get(container.entity, Scrollable);
|
|
72033
|
+
if (scrollable === void 0) return;
|
|
72034
|
+
if (scrollable.locked === true !== locked) {
|
|
72035
|
+
state.scrollPatches.scrollLock.moving = moving;
|
|
72036
|
+
state.scrollPatches.scrollLock.locked = locked;
|
|
72037
|
+
ecs.set(container.entity, Scrollable, state.scrollPatches.scrollLock);
|
|
72038
|
+
} else if (scrollable.moving !== moving) {
|
|
72039
|
+
state.scrollPatches.scrollable.moving = moving;
|
|
72040
|
+
ecs.set(container.entity, Scrollable, state.scrollPatches.scrollable);
|
|
72041
|
+
}
|
|
72042
|
+
}
|
|
72043
|
+
/**
|
|
71905
72044
|
* Writes what changed of a scroll, in whole units: `Scroll` when its offset or range moved,
|
|
71906
|
-
* `ScrollState` when the offset, `max` or `moving` changed, `Scrollable` when `moving`
|
|
71907
|
-
* the content's pose. A frame where nothing changed writes nothing.
|
|
72045
|
+
* `ScrollState` when the offset, `max` or `moving` changed, `Scrollable` when `moving` or `locked`
|
|
72046
|
+
* did, and the content's pose. A frame where nothing changed writes nothing.
|
|
71908
72047
|
*
|
|
71909
72048
|
* @param ctx - Domain context of the ui plugin.
|
|
71910
72049
|
* @param state - The layout state, which keeps the patches.
|
|
@@ -71919,7 +72058,6 @@ function show(ctx, state, container, content, motion) {
|
|
|
71919
72058
|
const moving = motion.mode !== "still";
|
|
71920
72059
|
const scroll = ecs.get(container.entity, Scroll);
|
|
71921
72060
|
const shown = ecs.get(container.entity, ScrollState);
|
|
71922
|
-
const scrollable = ecs.get(container.entity, Scrollable);
|
|
71923
72061
|
const rangeMoved = scroll !== void 0 && (scroll.offset !== 0 - offset || scroll.min !== 0 - motion.max);
|
|
71924
72062
|
const stateMoved = shown !== void 0 && (shown.offset !== offset || shown.max !== motion.max || shown.moving !== moving);
|
|
71925
72063
|
if (rangeMoved) {
|
|
@@ -71933,10 +72071,7 @@ function show(ctx, state, container, content, motion) {
|
|
|
71933
72071
|
patches.state.moving = moving;
|
|
71934
72072
|
ecs.set(container.entity, ScrollState, patches.state);
|
|
71935
72073
|
}
|
|
71936
|
-
|
|
71937
|
-
patches.scrollable.moving = moving;
|
|
71938
|
-
ecs.set(container.entity, Scrollable, patches.scrollable);
|
|
71939
|
-
}
|
|
72074
|
+
writeScrollable(ctx, state, container, moving, motion.locked);
|
|
71940
72075
|
moveContent(ctx, state, container, content, motion);
|
|
71941
72076
|
}
|
|
71942
72077
|
/**
|
|
@@ -71952,8 +72087,9 @@ function isIdle(motion, pressed) {
|
|
|
71952
72087
|
}
|
|
71953
72088
|
/**
|
|
71954
72089
|
* Moves one scroll by the frame: the finger while it is pressed, the release when it lets go,
|
|
71955
|
-
* then a fling or a glide, and writes what changed.
|
|
71956
|
-
*
|
|
72090
|
+
* then a fling or a glide, and writes what changed. `Pressed` on a locked scroll counts as no
|
|
72091
|
+
* finger: `input` drops that press at its next step, and the settle of the lock already let a held
|
|
72092
|
+
* scroll go. A still scroll no finger is on costs a tag check, a locked one a flag check more.
|
|
71957
72093
|
*
|
|
71958
72094
|
* @param ctx - Domain context of the ui plugin.
|
|
71959
72095
|
* @param state - The layout state.
|
|
@@ -71965,10 +72101,10 @@ function isIdle(motion, pressed) {
|
|
|
71965
72101
|
*/
|
|
71966
72102
|
function stepOne(ctx, state, container, lookup, pointer, time) {
|
|
71967
72103
|
const ecs = ctx.deps.world.ecs;
|
|
71968
|
-
const
|
|
72104
|
+
const motion = container.scroll;
|
|
72105
|
+
const pressed = ecs.has(container.entity, Pressed) && motion?.locked !== true;
|
|
71969
72106
|
const released = !pressed && state.scrolling === container.entity;
|
|
71970
72107
|
if (released) state.scrolling = void 0;
|
|
71971
|
-
const motion = container.scroll;
|
|
71972
72108
|
if (motion === void 0 || isIdle(motion, pressed)) return false;
|
|
71973
72109
|
const content = contentOf(container, lookup);
|
|
71974
72110
|
if (content === void 0 || !ecs.has(container.entity, Scroll)) return false;
|
|
@@ -72002,9 +72138,9 @@ function stepScroll(ctx, state, containers, lookup, time) {
|
|
|
72002
72138
|
/**
|
|
72003
72139
|
* Takes a new range: the offset keeps inside it at once, and so does a running glide. A scroll
|
|
72004
72140
|
* that follows its `offset` prop goes on following it in the new range: standing, it stands at
|
|
72005
|
-
* the prop at once; gliding to it, it
|
|
72006
|
-
* was too short for is reached once the content
|
|
72007
|
-
* arrives.
|
|
72141
|
+
* the prop at once; gliding to it, it starts the glide again from where it is, over the `glideMs`
|
|
72142
|
+
* of the last settle. So a prop the first range was too short for is reached once the content
|
|
72143
|
+
* grows, a text measured again when its font arrives.
|
|
72008
72144
|
*
|
|
72009
72145
|
* @param motion - The motion of the scroll.
|
|
72010
72146
|
* @param max - The largest offset the solve gives it now.
|
|
@@ -72016,13 +72152,14 @@ function resize(motion, max) {
|
|
|
72016
72152
|
motion.from = within(motion.from, max);
|
|
72017
72153
|
motion.to = within(motion.to, max);
|
|
72018
72154
|
if (!motion.atProp) return;
|
|
72019
|
-
if (motion.mode === "glide") glideTo(motion, motion.seen);
|
|
72155
|
+
if (motion.mode === "glide") glideTo(motion, motion.seen, motion.glideMs);
|
|
72020
72156
|
else motion.offset = within(motion.seen, max);
|
|
72021
72157
|
}
|
|
72022
72158
|
/**
|
|
72023
72159
|
* Puts a scroll the solve just spawned at its `offset` prop, inside its range, and lets it follow
|
|
72024
|
-
* the prop from there. Its
|
|
72025
|
-
*
|
|
72160
|
+
* the prop from there. Its `aim`, `glideMs` and `locked` are recorded: the first `aim` moves
|
|
72161
|
+
* nothing more, and the first `Scrollable` already carries the lock. Its spawn waits in the queue
|
|
72162
|
+
* of the phase: these values replace the queued ones at the flush, before the first draw.
|
|
72026
72163
|
*
|
|
72027
72164
|
* @param ctx - Domain context of the ui plugin.
|
|
72028
72165
|
* @param container - The scroll element, live since this solve.
|
|
@@ -72036,6 +72173,9 @@ function place$1(ctx, container, content, motion) {
|
|
|
72036
72173
|
motion.atProp = true;
|
|
72037
72174
|
motion.max = maxOf(container, content, motion.axis);
|
|
72038
72175
|
motion.seen = askedOffsetOf(container);
|
|
72176
|
+
motion.aim = aimOf(container);
|
|
72177
|
+
motion.glideMs = glideMsOf(container);
|
|
72178
|
+
motion.locked = lockedOf(container);
|
|
72039
72179
|
motion.offset = within(motion.seen, motion.max);
|
|
72040
72180
|
const offset = Math.round(motion.offset);
|
|
72041
72181
|
const pose = motion.axis === "x" ? {
|
|
@@ -72058,27 +72198,31 @@ function place$1(ctx, container, content, motion) {
|
|
|
72058
72198
|
ecs.add(content.entity, Transform(pose));
|
|
72059
72199
|
}
|
|
72060
72200
|
/**
|
|
72061
|
-
*
|
|
72062
|
-
*
|
|
72063
|
-
*
|
|
72201
|
+
* Follows the `offset` prop again, after a new prop or a new `aim`: with `jump` the scroll stands
|
|
72202
|
+
* at it at once and stops, without it glides there from where it stands, over `glideMs`, even out
|
|
72203
|
+
* of a running glide, fling or snap glide; either way it follows the prop from then on. A scroll
|
|
72204
|
+
* the finger holds only remembers it.
|
|
72064
72205
|
*
|
|
72065
|
-
* @param motion - The motion of the scroll, its range already the
|
|
72206
|
+
* @param motion - The motion of the scroll, its range and `glideMs` already the ones of this solve.
|
|
72066
72207
|
* @param container - The scroll element.
|
|
72067
|
-
* @param asked - The
|
|
72208
|
+
* @param asked - The `offset` prop, from the start.
|
|
72068
72209
|
*/
|
|
72069
72210
|
function followOffset(motion, container, asked) {
|
|
72070
72211
|
if (motion.mode === "held") return;
|
|
72071
72212
|
if (jumpsOf(container)) {
|
|
72072
72213
|
motion.offset = within(asked, motion.max);
|
|
72073
72214
|
stop(motion);
|
|
72074
|
-
} else glideTo(motion, asked);
|
|
72215
|
+
} else glideTo(motion, asked, motion.glideMs);
|
|
72075
72216
|
motion.atProp = true;
|
|
72076
72217
|
}
|
|
72077
72218
|
/**
|
|
72078
|
-
* Settles a placed scroll on what the solve and the render of this frame gave it:
|
|
72079
|
-
* once, then a glide to a new `offset` prop
|
|
72080
|
-
*
|
|
72081
|
-
*
|
|
72219
|
+
* Settles a placed scroll on what the solve and the render of this frame gave it: its `glideMs`,
|
|
72220
|
+
* a new range at once, then a glide to a new `offset` prop or to the same one under a new `aim`,
|
|
72221
|
+
* which the scroll follows from then on. With `jump` it stands at the prop at once instead, in the
|
|
72222
|
+
* solve that gave the content its new rects; a glide to the prop that runs, the one a new range
|
|
72223
|
+
* re-aimed too, ends at its target. A scroll the finger holds only remembers the prop and the aim,
|
|
72224
|
+
* unless this render locks it: the finger is let go first, with no velocity, so a new prop or aim
|
|
72225
|
+
* of the same render is followed, and a prop only remembered before is not.
|
|
72082
72226
|
*
|
|
72083
72227
|
* @param ctx - Domain context of the ui plugin.
|
|
72084
72228
|
* @param state - The layout state, which keeps the patches.
|
|
@@ -72087,12 +72231,25 @@ function followOffset(motion, container, asked) {
|
|
|
72087
72231
|
* @param motion - Its motion, placed.
|
|
72088
72232
|
*/
|
|
72089
72233
|
function settle(ctx, state, container, content, motion) {
|
|
72234
|
+
motion.glideMs = glideMsOf(container);
|
|
72235
|
+
motion.locked = lockedOf(container);
|
|
72090
72236
|
resize(motion, maxOf(container, content, motion.axis));
|
|
72237
|
+
if (motion.locked && motion.mode === "held") {
|
|
72238
|
+
if (state.scrolling === container.entity) state.scrolling = void 0;
|
|
72239
|
+
letGo$1(state, container, motion, false);
|
|
72240
|
+
}
|
|
72091
72241
|
const asked = askedOffsetOf(container);
|
|
72092
|
-
|
|
72242
|
+
const aim = aimOf(container);
|
|
72243
|
+
const aimed = !Object.is(aim, motion.aim);
|
|
72244
|
+
if (aimed) motion.aim = aim;
|
|
72245
|
+
if (asked !== motion.seen || aimed) {
|
|
72093
72246
|
motion.seen = asked;
|
|
72094
72247
|
followOffset(motion, container, asked);
|
|
72095
72248
|
}
|
|
72249
|
+
if (jumpsOf(container) && motion.atProp && motion.mode === "glide") {
|
|
72250
|
+
motion.offset = motion.to;
|
|
72251
|
+
stop(motion);
|
|
72252
|
+
}
|
|
72096
72253
|
show(ctx, state, container, content, motion);
|
|
72097
72254
|
}
|
|
72098
72255
|
/**
|
|
@@ -72111,12 +72268,14 @@ function standAtTarget(ctx, state, container, content, motion) {
|
|
|
72111
72268
|
}
|
|
72112
72269
|
/**
|
|
72113
72270
|
* Settles every scroll on what the solve and the render of this frame gave it. A scroll the solve
|
|
72114
|
-
* just spawned takes its place at its `offset` prop
|
|
72115
|
-
* once, a running glide's target too, and glides to a new `offset` prop
|
|
72116
|
-
*
|
|
72117
|
-
*
|
|
72118
|
-
*
|
|
72119
|
-
*
|
|
72271
|
+
* just spawned takes its place at its `offset` prop and records its `aim`. A placed one keeps
|
|
72272
|
+
* inside a new range at once, a running glide's target too, and glides to a new `offset` prop, or
|
|
72273
|
+
* to the same one under a new `aim`, in `glideMs` when it gives one; the same value and aim on a
|
|
72274
|
+
* re-render do nothing, `jump` ends a glide to the prop at its target, and a scroll the finger
|
|
72275
|
+
* holds only remembers the prop and the aim; a render that locks it lets the finger go first. A
|
|
72276
|
+
* scroll nobody sees yet (`stands`: a root built aside or held warm) stands at its target at once
|
|
72277
|
+
* instead of gliding, so no glide plays hidden or at its open. A scroll left moving wakes the loop
|
|
72278
|
+
* the way `stepScroll` does: not at a time scale of 0, where it stands.
|
|
72120
72279
|
*
|
|
72121
72280
|
* @param ctx - Domain context of the ui plugin.
|
|
72122
72281
|
* @param state - The layout state, which keeps the patches.
|
|
@@ -72140,7 +72299,9 @@ function settleScroll(ctx, state, containers, lookup, time, stands) {
|
|
|
72140
72299
|
}
|
|
72141
72300
|
/**
|
|
72142
72301
|
* Re-clamps a live windowed scroll to the content height of its new rows before its range is
|
|
72143
|
-
* cut, so a list that shrank below the window moves up in the same frame.
|
|
72302
|
+
* cut, so a list that shrank below the window moves up in the same frame. A glide to the prop
|
|
72303
|
+
* that the new range re-aims starts again from where the list stands, over the `glideMs` of this
|
|
72304
|
+
* render.
|
|
72144
72305
|
*
|
|
72145
72306
|
* @param ctx - Domain context of the ui plugin.
|
|
72146
72307
|
* @param state - The layout state, which keeps the patches.
|
|
@@ -72153,6 +72314,7 @@ function clampScroll(ctx, state, container, contentHeight, lookup) {
|
|
|
72153
72314
|
const motion = container.scroll;
|
|
72154
72315
|
const content = contentOf(container, lookup);
|
|
72155
72316
|
if (motion === void 0 || !motion.placed || content === void 0) return 0;
|
|
72317
|
+
motion.glideMs = glideMsOf(container);
|
|
72156
72318
|
resize(motion, extent(contentHeight, container.rect.h));
|
|
72157
72319
|
show(ctx, state, container, content, motion);
|
|
72158
72320
|
return 0 - Math.round(motion.offset);
|
|
@@ -74319,6 +74481,10 @@ function scrollPatches() {
|
|
|
74319
74481
|
moving: false
|
|
74320
74482
|
},
|
|
74321
74483
|
scrollable: { moving: false },
|
|
74484
|
+
scrollLock: {
|
|
74485
|
+
moving: false,
|
|
74486
|
+
locked: false
|
|
74487
|
+
},
|
|
74322
74488
|
x: { x: 0 },
|
|
74323
74489
|
y: { y: 0 }
|
|
74324
74490
|
};
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fr as ClockSource, Jn as NodeFx, Lr as FakeClock, Nn as AnyFlow, Un as Descriptor, Ur as Json, jn as FeaturePlugin, qn as Hint, zn as NodeTable } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as memory, x as saveOf, y as WithGameState } from "./types-
|
|
2
|
+
import { t as createApp } from "./index-Fth_AFjs.mjs";
|
|
3
|
+
import { b as memory, x as saveOf, y as WithGameState } from "./types-ktcMr5ce.mjs";
|
|
4
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-C5kxf9oU.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
package/dist/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-
|
|
1
|
+
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-CvM4Qhtr.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-CCiUwvlp.mjs";
|
|
@@ -1058,7 +1058,8 @@ type State$1 = {
|
|
|
1058
1058
|
moved: boolean;
|
|
1059
1059
|
/**
|
|
1060
1060
|
* The press belongs to a scroll: it landed on a moving one and stopped it, or it was handed to
|
|
1061
|
-
* one past the tap slop
|
|
1061
|
+
* one past the tap slop, or a locked one dropped it (F177), which leaves no pressed entity. Its
|
|
1062
|
+
* release answers nothing and runs no `onTap` listener.
|
|
1062
1063
|
*/
|
|
1063
1064
|
caught: boolean; /** The pressed or held entity. */
|
|
1064
1065
|
entity: Entity | undefined; /** The projection key of `entity`, read once at press time. */
|
|
@@ -2338,8 +2339,9 @@ type ScrollSnap = readonly number[] & Brand<"ScrollSnap">;
|
|
|
2338
2339
|
/**
|
|
2339
2340
|
* How far a scroll stands from its start, in reference units, kept inside 0 to `max`; 0 when
|
|
2340
2341
|
* left out. The first frame draws it there. A later render with another value glides there on
|
|
2341
|
-
* the curve
|
|
2342
|
-
* moved stays where it was left
|
|
2342
|
+
* the curve `1 − (1 − p)³`, in `min(620, 260 + distance × 1.1)` ms or in `glideMs`. The same value
|
|
2343
|
+
* with the same `aim` changes nothing, so a scroll the finger moved stays where it was left; a new
|
|
2344
|
+
* `aim` glides it back to the value.
|
|
2343
2345
|
*
|
|
2344
2346
|
* @example
|
|
2345
2347
|
* ```tsx
|
|
@@ -2352,11 +2354,12 @@ type ScrollSnap = readonly number[] & Brand<"ScrollSnap">;
|
|
|
2352
2354
|
*/
|
|
2353
2355
|
type ScrollOffset = number & Brand<"ScrollOffset">;
|
|
2354
2356
|
/**
|
|
2355
|
-
* Whether a new `offset` prop of this render stands
|
|
2356
|
-
* solve as the content's new rects, so content that moved inside the track
|
|
2357
|
-
* by as much keep what the player sees in place. A running fling or glide
|
|
2358
|
-
* says `moving: false`. A
|
|
2359
|
-
*
|
|
2357
|
+
* Whether a new `offset` prop or a new `aim` of this render stands at the prop at once instead of
|
|
2358
|
+
* gliding: in the same solve as the content's new rects, so content that moved inside the track
|
|
2359
|
+
* and an offset that moves by as much keep what the player sees in place. A running fling or glide
|
|
2360
|
+
* stops and `ScrollState` says `moving: false`. A glide to the prop that runs ends at its target in
|
|
2361
|
+
* the render that turns `jump` on, with the same `offset`. A scroll the finger holds only remembers
|
|
2362
|
+
* the prop; left out or false, a new prop glides. A `snap` release always glides.
|
|
2360
2363
|
*
|
|
2361
2364
|
* @example
|
|
2362
2365
|
* ```tsx
|
|
@@ -2366,9 +2369,82 @@ type ScrollOffset = number & Brand<"ScrollOffset">;
|
|
|
2366
2369
|
* <row key="track" style={{ width: 778, height: 120 }} />
|
|
2367
2370
|
* </scroll>;
|
|
2368
2371
|
* // the frame of that render: ScrollState { offset: 82, max: 472, moving: false }
|
|
2372
|
+
*
|
|
2373
|
+
* // The strip glides 0 to 390 in 620 ms; 150 ms in, the player skips: the same offset with jump.
|
|
2374
|
+
* <scroll key="strip" axis="x" offset={390} jump style={{ width: 306, height: 120 }}>
|
|
2375
|
+
* <row key="track" style={{ width: 696, height: 120 }} />
|
|
2376
|
+
* </scroll>;
|
|
2377
|
+
* // the frame of that render: ScrollState { offset: 390, max: 390, moving: false }
|
|
2369
2378
|
* ```
|
|
2370
2379
|
*/
|
|
2371
2380
|
type ScrollJump = boolean & Brand<"ScrollJump">;
|
|
2381
|
+
/**
|
|
2382
|
+
* How long every glide to the `offset` prop lasts, in ms, on the curve `1 − (1 − p)³`: a new
|
|
2383
|
+
* `offset`, a new `aim`, and a glide to the prop that a new range re-aims, which starts again from
|
|
2384
|
+
* where the scroll stands. 0 stands at the prop at once, as `jump`. Left out, not a number, `NaN`,
|
|
2385
|
+
* `Infinity` or below 0: `min(620, 260 + distance × 1.1)`. A `snap` glide after a release keeps
|
|
2386
|
+
* that default. A new value alone leaves a running glide as it is; it applies from the next glide
|
|
2387
|
+
* to the prop.
|
|
2388
|
+
*
|
|
2389
|
+
* @example
|
|
2390
|
+
* ```tsx
|
|
2391
|
+
* // The strip stands on 318; the game moves it to the next order in exactly 150 ms.
|
|
2392
|
+
* <scroll key="strip" axis="x" offset={390} glideMs={150} style={{ width: 306, height: 120 }}>
|
|
2393
|
+
* <row key="track" style={{ width: 696, height: 120 }} />
|
|
2394
|
+
* </scroll>;
|
|
2395
|
+
* // 75 ms in: ScrollState { offset: 381, max: 390, moving: true }
|
|
2396
|
+
* // 150 ms in: ScrollState { offset: 390, max: 390, moving: false }
|
|
2397
|
+
* ```
|
|
2398
|
+
*/
|
|
2399
|
+
type ScrollGlideMs = number & Brand<"ScrollGlideMs">;
|
|
2400
|
+
/**
|
|
2401
|
+
* What the `offset` prop aims at, a string or a finite number: a new value follows the prop again
|
|
2402
|
+
* from where the scroll stands, even when the offset is the same. A scroll the finger moved glides
|
|
2403
|
+
* back to its offset; a running glide, fling or snap glide starts again toward it, in `glideMs`;
|
|
2404
|
+
* with `jump` it stands there at once. Compared with `Object.is`; any other value (`NaN`,
|
|
2405
|
+
* `Infinity`, an object, a boolean) counts as left out, and leaving it out after a value is a
|
|
2406
|
+
* change too. The same value on a re-render does nothing. A scroll the finger holds only remembers
|
|
2407
|
+
* it: the release glides to a stop or flings, as without it.
|
|
2408
|
+
*
|
|
2409
|
+
* @example
|
|
2410
|
+
* ```tsx
|
|
2411
|
+
* // The player dragged the strip to 390. The game skips to the next order, which is also at 0.
|
|
2412
|
+
* <scroll key="strip" axis="x" offset={0} aim="order-7" style={{ width: 306, height: 120 }}>
|
|
2413
|
+
* <row key="track" style={{ width: 696, height: 120 }} />
|
|
2414
|
+
* </scroll>;
|
|
2415
|
+
* // the render before said aim="order-6": the strip glides 390 → 0 and stands on 0
|
|
2416
|
+
* ```
|
|
2417
|
+
*/
|
|
2418
|
+
type ScrollAim = (string | number) & Brand<"ScrollAim">;
|
|
2419
|
+
/**
|
|
2420
|
+
* Keeps the finger from moving the scroll while it is `true` (F177); any other value leaves it
|
|
2421
|
+
* unlocked. A drag on it or on a view inside it moves nothing, its release neither flings nor
|
|
2422
|
+
* snaps, and a finger that lands while it glides or flings does not stop it. The views inside keep
|
|
2423
|
+
* their taps: a press that drifts past the tap slop answers none. A finger that holds the scroll
|
|
2424
|
+
* when the lock comes is let go with no velocity: with `snap` it glides to the stop nearest to
|
|
2425
|
+
* where it stands, and the finger takes it again only after a new press. `offset`, `aim`, `jump`
|
|
2426
|
+
* and `glideMs` move it as before. A scroll of the same axis around it does not take the pan.
|
|
2427
|
+
*
|
|
2428
|
+
* @example
|
|
2429
|
+
* ```tsx
|
|
2430
|
+
* // A delivery plays on the order strip, which stands on 318: the game moves it to the delivered
|
|
2431
|
+
* // order in 150 ms, and the player can tap the cards but not scroll them.
|
|
2432
|
+
* <scroll
|
|
2433
|
+
* key="strip"
|
|
2434
|
+
* axis="x"
|
|
2435
|
+
* snap={[0, 318, 390]}
|
|
2436
|
+
* offset={390}
|
|
2437
|
+
* glideMs={150}
|
|
2438
|
+
* locked
|
|
2439
|
+
* style={{ width: 306, height: 120 }}
|
|
2440
|
+
* >
|
|
2441
|
+
* <row key="track" style={{ width: 696, height: 120 }} />
|
|
2442
|
+
* </scroll>;
|
|
2443
|
+
* // 150 ms in: ScrollState { offset: 390, max: 390, moving: false }
|
|
2444
|
+
* // a drag on the strip after that: the same ScrollState in every frame, and no tap
|
|
2445
|
+
* ```
|
|
2446
|
+
*/
|
|
2447
|
+
type ScrollLocked = boolean & Brand<"ScrollLocked">;
|
|
2372
2448
|
/** How many rows a windowed scroll has. */
|
|
2373
2449
|
type ScrollRows = number & Brand<"ScrollRows">;
|
|
2374
2450
|
/** The height of every row, in reference units; above 0. */
|
|
@@ -2547,8 +2623,9 @@ type ScrollWindowForm = {
|
|
|
2547
2623
|
/**
|
|
2548
2624
|
* What a scroll container takes: children for a short list, or `rows`, `rowHeight` and `row` for
|
|
2549
2625
|
* a long one, whose rows exist only in the window; the `axis` it moves on, the `snap` stops a
|
|
2550
|
-
* release glides to, the `offset` it stands at,
|
|
2551
|
-
* (`jump`)
|
|
2626
|
+
* release glides to, the `offset` it stands at, how long a glide to it lasts (`glideMs`), what it
|
|
2627
|
+
* aims at (`aim`), whether a new `offset` stands there at once (`jump`), and whether the finger
|
|
2628
|
+
* is kept from moving it (`locked`).
|
|
2552
2629
|
*
|
|
2553
2630
|
* @example
|
|
2554
2631
|
* ```ts
|
|
@@ -2557,6 +2634,12 @@ type ScrollWindowForm = {
|
|
|
2557
2634
|
* const strip: ScrollProps = { axis: "x", snap: [0, 318, 390], offset: 318 };
|
|
2558
2635
|
* // A first tile of 82 u came in at the start of the track: the strip stands on 82 at once.
|
|
2559
2636
|
* const shifted: ScrollProps = { axis: "x", offset: 82, jump: true };
|
|
2637
|
+
* // From 318, the next order: the strip glides to 390 in exactly 150 ms.
|
|
2638
|
+
* const quick: ScrollProps = { axis: "x", offset: 390, glideMs: 150 };
|
|
2639
|
+
* // The next order is at 0 too: a strip the player dragged to 390 glides back to 0.
|
|
2640
|
+
* const next: ScrollProps = { axis: "x", offset: 0, aim: "order-7" };
|
|
2641
|
+
* // A delivery plays: the strip stands on 390 and no finger moves it.
|
|
2642
|
+
* const delivering: ScrollProps = { axis: "x", offset: 390, locked: true };
|
|
2560
2643
|
* // 1000 orders of 120 u in a 1600 u list: rows 0 to 18 exist at offset 0.
|
|
2561
2644
|
* const orders: ScrollProps = {
|
|
2562
2645
|
* style: { height: 1600 },
|
|
@@ -2570,7 +2653,10 @@ type ScrollProps = CommonProps & {
|
|
|
2570
2653
|
axis?: ScrollAxis;
|
|
2571
2654
|
snap?: ScrollSnap;
|
|
2572
2655
|
offset?: ScrollOffset;
|
|
2656
|
+
glideMs?: ScrollGlideMs;
|
|
2657
|
+
aim?: ScrollAim;
|
|
2573
2658
|
jump?: ScrollJump;
|
|
2659
|
+
locked?: ScrollLocked;
|
|
2574
2660
|
} & (ScrollChildForm | ScrollWindowForm);
|
|
2575
2661
|
/**
|
|
2576
2662
|
* What a text field takes. `local` is required: every keystroke writes that field of the local
|
|
@@ -2843,7 +2929,9 @@ type Rect = {
|
|
|
2843
2929
|
};
|
|
2844
2930
|
/**
|
|
2845
2931
|
* The patches the scroll step writes with, one object each, filled in place: a frame builds none.
|
|
2846
|
-
* Every number in them is a whole reference unit.
|
|
2932
|
+
* Every number in them is a whole reference unit. `Scrollable` has two: `scrollable` when only
|
|
2933
|
+
* `moving` changed, `scrollLock` when `locked` did, so a scroll never locked keeps a `Scrollable`
|
|
2934
|
+
* with no `locked` field.
|
|
2847
2935
|
*/
|
|
2848
2936
|
type ScrollPatches = {
|
|
2849
2937
|
scroll: {
|
|
@@ -2858,6 +2946,10 @@ type ScrollPatches = {
|
|
|
2858
2946
|
scrollable: {
|
|
2859
2947
|
moving: boolean;
|
|
2860
2948
|
};
|
|
2949
|
+
scrollLock: {
|
|
2950
|
+
moving: boolean;
|
|
2951
|
+
locked: boolean;
|
|
2952
|
+
};
|
|
2861
2953
|
x: {
|
|
2862
2954
|
x: number;
|
|
2863
2955
|
};
|
|
@@ -3094,10 +3186,15 @@ type ScrollWindow = {
|
|
|
3094
3186
|
* positive toward `max`. A glide runs from `from` to `to` over `duration` ms, `elapsed` of them
|
|
3095
3187
|
* gone. `pointer` and `start` are the finger on the axis and the offset where the press began.
|
|
3096
3188
|
* `seen` is the `offset` prop of the last render, 0 when it is left out; `placed` turns true when
|
|
3097
|
-
* the first solve put the scroll at it. `
|
|
3098
|
-
*
|
|
3099
|
-
*
|
|
3100
|
-
*
|
|
3189
|
+
* the first solve put the scroll at it. `aim` is the `aim` prop of the last render, a string or a
|
|
3190
|
+
* finite number, `undefined` for any other value; a new one follows the prop again. `glideMs` is
|
|
3191
|
+
* the `glideMs` prop of the last settle, `NaN` when it gives no length: a glide to the prop that a
|
|
3192
|
+
* new range re-aims takes it. `atProp` is true while the scroll follows that prop: it stands at it
|
|
3193
|
+
* or glides to it, so a new range puts it at the prop again. The first place and a glide to a new
|
|
3194
|
+
* prop set it; a press and `app.ui.scroll` clear it, and a fling or a snap glide only comes after a
|
|
3195
|
+
* press. `locked` is the `locked` prop of the last place or settle, true only for the value `true`
|
|
3196
|
+
* (F177): the finger neither moves nor stops the scroll, the program still does. Plain values
|
|
3197
|
+
* written in place: a frame allocates nothing.
|
|
3101
3198
|
*/
|
|
3102
3199
|
type ScrollMotion = {
|
|
3103
3200
|
axis: "x" | "y";
|
|
@@ -3112,6 +3209,9 @@ type ScrollMotion = {
|
|
|
3112
3209
|
pointer: number;
|
|
3113
3210
|
start: number;
|
|
3114
3211
|
seen: number;
|
|
3212
|
+
aim: string | number | undefined;
|
|
3213
|
+
glideMs: number;
|
|
3214
|
+
locked: boolean;
|
|
3115
3215
|
placed: boolean;
|
|
3116
3216
|
atProp: boolean;
|
|
3117
3217
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as FilterSlotQuad, Br as Api$6, Hn as TypeTag, Hr as Events$3, O as FilterSlot, Un as Descriptor, Ur as Json, Z as Api$4, Zn as AnchorTarget, _r as ComponentType, _t as Point, ai as Events$5, at as PixiTexture, b as Events$4, er as Ease, fr as AnyComponent, hr as ComponentHandle, ir as NumericFields, it as PixiSprite, j as SyncApi, k as FilterSlotInputs, kr as Api$3, li as Api$1, lr as TrackOptions, mr as AnyComponentValue, nt as PixiGpuProgram, ot as PixiUniformGroup, pn as Api$2, rr as MotionHandle, rt as PixiModule, s as Events$1, sr as ReducedMotion, t as Api$5, tt as PixiFilter, ur as TrackSegment, vi as Events$2, yi as Require, yr as Entity, yt as FilterCache } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { R as InputApi, T as TextApi, U as I18nApi, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, tt as StylesState } from "./types-
|
|
2
|
+
import { R as InputApi, T as TextApi, U as I18nApi, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, tt as StylesState } from "./types-CMFC7k5L.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
1
|
import { $r as SnapshotOf, Fr as ClockSource, Hn as TypeTag, Jr as PlayerStateProvider, Lr as FakeClock, Nn as AnyFlow, Q as Config$2, Ur as Json, Vr as Config, Xr as SaveDoc, Yr as ProviderCall, a as Config$3, d as Manifest, gt as Orientation, hn as Config$1, jn as FeaturePlugin, n as AssetsIo, rt as PixiModule } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
3
|
-
import { J as StringTable, U as I18nApi, Y as TextKey } from "./types-
|
|
4
|
-
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-DIdCmTQx.mjs";
|
|
3
|
+
import { J as StringTable, U as I18nApi, Y as TextKey } from "./types-CMFC7k5L.mjs";
|
|
4
|
+
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-Fth_AFjs.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/model/store/providers/memory.d.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Br as Api$2, Pr as Api$4, Z as Api, kr as Api$1, ri as Api$3 } from "./types-BUR4LWSa.mjs";
|
|
2
|
-
import { W as AnimApi, r as UiApi } from "./types-
|
|
3
|
-
import { R as InputApi } from "./types-
|
|
2
|
+
import { W as AnimApi, r as UiApi } from "./types-DIdCmTQx.mjs";
|
|
3
|
+
import { R as InputApi } from "./types-CMFC7k5L.mjs";
|
|
4
4
|
import { r as Repro } from "./headless-C5kxf9oU.mjs";
|
|
5
5
|
import { i as ControlApp, o as InputOf } from "./types-CATC2vK8.mjs";
|
|
6
|
-
import { t as commands } from "./commands-
|
|
6
|
+
import { t as commands } from "./commands-B16wtdhf.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-m6n16q7E.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 };
|