@wardic/dom 1.1.0 → 1.1.2
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/DomProjectionSystem.js +3 -3
- package/dist/DomProjectionSystem.js.map +1 -1
- package/dist/FlushGate.d.ts +6 -6
- package/dist/FlushGate.d.ts.map +1 -1
- package/dist/FlushGate.js +7 -5
- package/dist/FlushGate.js.map +1 -1
- package/dist/ReorderController.js +3 -3
- package/dist/ReorderController.js.map +1 -1
- package/dist/Report.d.ts +1 -1
- package/dist/Report.d.ts.map +1 -1
- package/dist/Report.js +3 -2
- package/dist/Report.js.map +1 -1
- package/dist/Style.d.ts +2 -1
- package/dist/Style.d.ts.map +1 -1
- package/dist/Style.js +3 -1
- package/dist/Style.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/batch-handoff.d.ts +25 -0
- package/dist/internal/batch-handoff.d.ts.map +1 -0
- package/dist/internal/batch-handoff.js +64 -0
- package/dist/internal/batch-handoff.js.map +1 -0
- package/dist/internal/gate-environment.d.ts +4 -0
- package/dist/internal/gate-environment.d.ts.map +1 -0
- package/dist/internal/gate-environment.js +21 -0
- package/dist/internal/gate-environment.js.map +1 -0
- package/dist/internal/projection.js +14 -14
- package/dist/internal/projection.js.map +1 -1
- package/dist/internal/reorder.d.ts +2 -2
- package/dist/internal/reorder.d.ts.map +1 -1
- package/dist/internal/reorder.js +2 -2
- package/dist/internal/reorder.js.map +1 -1
- package/dist/internal/starting-style.d.ts +0 -83
- package/dist/internal/starting-style.d.ts.map +1 -1
- package/dist/internal/starting-style.js +16 -143
- package/dist/internal/starting-style.js.map +1 -1
- package/dist/unstable/AppearAnimations.d.ts +191 -0
- package/dist/unstable/AppearAnimations.d.ts.map +1 -0
- package/dist/unstable/AppearAnimations.js +561 -0
- package/dist/unstable/AppearAnimations.js.map +1 -0
- package/dist/unstable/BatchMembers.d.ts +513 -0
- package/dist/unstable/BatchMembers.d.ts.map +1 -0
- package/dist/unstable/BatchMembers.js +2490 -0
- package/dist/unstable/BatchMembers.js.map +1 -0
- package/dist/unstable/DomValues.d.ts +25 -0
- package/dist/unstable/DomValues.d.ts.map +1 -0
- package/dist/unstable/DomValues.js +45 -0
- package/dist/unstable/DomValues.js.map +1 -0
- package/dist/unstable/DragConstraints.d.ts +48 -0
- package/dist/unstable/DragConstraints.d.ts.map +1 -0
- package/dist/unstable/DragConstraints.js +49 -0
- package/dist/unstable/DragConstraints.js.map +1 -0
- package/dist/unstable/DragControls.d.ts +50 -0
- package/dist/unstable/DragControls.d.ts.map +1 -0
- package/dist/unstable/DragControls.js +55 -0
- package/dist/unstable/DragControls.js.map +1 -0
- package/dist/unstable/DragDefaults.d.ts +34 -0
- package/dist/unstable/DragDefaults.d.ts.map +1 -0
- package/dist/unstable/DragDefaults.js +47 -0
- package/dist/unstable/DragDefaults.js.map +1 -0
- package/dist/unstable/DragTrack.d.ts +236 -0
- package/dist/unstable/DragTrack.d.ts.map +1 -0
- package/dist/unstable/DragTrack.js +646 -0
- package/dist/unstable/DragTrack.js.map +1 -0
- package/dist/unstable/DragTransition.d.ts +22 -0
- package/dist/unstable/DragTransition.d.ts.map +1 -0
- package/dist/unstable/DragTransition.js +31 -0
- package/dist/unstable/DragTransition.js.map +1 -0
- package/dist/unstable/ElementSetup.d.ts +144 -0
- package/dist/unstable/ElementSetup.d.ts.map +1 -0
- package/dist/unstable/ElementSetup.js +297 -0
- package/dist/unstable/ElementSetup.js.map +1 -0
- package/dist/unstable/Feature.d.ts +221 -0
- package/dist/unstable/Feature.d.ts.map +1 -0
- package/dist/unstable/Feature.js +281 -0
- package/dist/unstable/Feature.js.map +1 -0
- package/dist/unstable/GestureFeatures.d.ts +30 -0
- package/dist/unstable/GestureFeatures.d.ts.map +1 -0
- package/dist/unstable/GestureFeatures.js +32 -0
- package/dist/unstable/GestureFeatures.js.map +1 -0
- package/dist/unstable/GestureInfo.d.ts +61 -0
- package/dist/unstable/GestureInfo.d.ts.map +1 -0
- package/dist/unstable/GestureInfo.js +23 -0
- package/dist/unstable/GestureInfo.js.map +1 -0
- package/dist/unstable/Imperative.d.ts +214 -0
- package/dist/unstable/Imperative.d.ts.map +1 -0
- package/dist/unstable/Imperative.js +768 -0
- package/dist/unstable/Imperative.js.map +1 -0
- package/dist/unstable/Instant.d.ts +46 -0
- package/dist/unstable/Instant.d.ts.map +1 -0
- package/dist/unstable/Instant.js +49 -0
- package/dist/unstable/Instant.js.map +1 -0
- package/dist/unstable/LayoutGroup.d.ts +14 -0
- package/dist/unstable/LayoutGroup.d.ts.map +1 -0
- package/dist/unstable/LayoutGroup.js +31 -0
- package/dist/unstable/LayoutGroup.js.map +1 -0
- package/dist/unstable/LayoutMember.d.ts +127 -0
- package/dist/unstable/LayoutMember.d.ts.map +1 -0
- package/dist/unstable/LayoutMember.js +176 -0
- package/dist/unstable/LayoutMember.js.map +1 -0
- package/dist/unstable/LiveStyle.d.ts +171 -0
- package/dist/unstable/LiveStyle.d.ts.map +1 -0
- package/dist/unstable/LiveStyle.js +329 -0
- package/dist/unstable/LiveStyle.js.map +1 -0
- package/dist/unstable/MemberHold.d.ts +3 -0
- package/dist/unstable/MemberHold.d.ts.map +1 -0
- package/dist/unstable/MemberHold.js +223 -0
- package/dist/unstable/MemberHold.js.map +1 -0
- package/dist/unstable/OwnerScope.d.ts +16 -0
- package/dist/unstable/OwnerScope.d.ts.map +1 -0
- package/dist/unstable/OwnerScope.js +35 -0
- package/dist/unstable/OwnerScope.js.map +1 -0
- package/dist/unstable/PresenceController.d.ts +128 -0
- package/dist/unstable/PresenceController.d.ts.map +1 -0
- package/dist/unstable/PresenceController.js +1427 -0
- package/dist/unstable/PresenceController.js.map +1 -0
- package/dist/unstable/Press.d.ts +26 -0
- package/dist/unstable/Press.d.ts.map +1 -0
- package/dist/unstable/Press.js +19 -0
- package/dist/unstable/Press.js.map +1 -0
- package/dist/unstable/ServerInterpolators.d.ts +17 -0
- package/dist/unstable/ServerInterpolators.d.ts.map +1 -0
- package/dist/unstable/ServerInterpolators.js +20 -0
- package/dist/unstable/ServerInterpolators.js.map +1 -0
- package/dist/unstable/WardConfig.d.ts +567 -0
- package/dist/unstable/WardConfig.d.ts.map +1 -0
- package/dist/unstable/WardConfig.js +2 -0
- package/dist/unstable/WardConfig.js.map +1 -0
- package/dist/unstable/features/All.d.ts +24 -0
- package/dist/unstable/features/All.d.ts.map +1 -0
- package/dist/unstable/features/All.js +20 -0
- package/dist/unstable/features/All.js.map +1 -0
- package/dist/unstable/features/Colors.d.ts +12 -0
- package/dist/unstable/features/Colors.d.ts.map +1 -0
- package/dist/unstable/features/Colors.js +38 -0
- package/dist/unstable/features/Colors.js.map +1 -0
- package/dist/unstable/features/DomAnimation.d.ts +16 -0
- package/dist/unstable/features/DomAnimation.d.ts.map +1 -0
- package/dist/unstable/features/DomAnimation.js +19 -0
- package/dist/unstable/features/DomAnimation.js.map +1 -0
- package/dist/unstable/features/DomMax.d.ts +12 -0
- package/dist/unstable/features/DomMax.d.ts.map +1 -0
- package/dist/unstable/features/DomMax.js +14 -0
- package/dist/unstable/features/DomMax.js.map +1 -0
- package/dist/unstable/features/Drag.d.ts +5 -0
- package/dist/unstable/features/Drag.d.ts.map +1 -0
- package/dist/unstable/features/Drag.js +32 -0
- package/dist/unstable/features/Drag.js.map +1 -0
- package/dist/unstable/features/Focus.d.ts +5 -0
- package/dist/unstable/features/Focus.d.ts.map +1 -0
- package/dist/unstable/features/Focus.js +20 -0
- package/dist/unstable/features/Focus.js.map +1 -0
- package/dist/unstable/features/Hover.d.ts +5 -0
- package/dist/unstable/features/Hover.d.ts.map +1 -0
- package/dist/unstable/features/Hover.js +20 -0
- package/dist/unstable/features/Hover.js.map +1 -0
- package/dist/unstable/features/InView.d.ts +5 -0
- package/dist/unstable/features/InView.d.ts.map +1 -0
- package/dist/unstable/features/InView.js +20 -0
- package/dist/unstable/features/InView.js.map +1 -0
- package/dist/unstable/features/Input.d.ts +28 -0
- package/dist/unstable/features/Input.d.ts.map +1 -0
- package/dist/unstable/features/Input.js +31 -0
- package/dist/unstable/features/Input.js.map +1 -0
- package/dist/unstable/features/Keys.d.ts +95 -0
- package/dist/unstable/features/Keys.d.ts.map +1 -0
- package/dist/unstable/features/Keys.js +44 -0
- package/dist/unstable/features/Keys.js.map +1 -0
- package/dist/unstable/features/Layout.d.ts +43 -0
- package/dist/unstable/features/Layout.d.ts.map +1 -0
- package/dist/unstable/features/Layout.js +44 -0
- package/dist/unstable/features/Layout.js.map +1 -0
- package/dist/unstable/features/Pan.d.ts +5 -0
- package/dist/unstable/features/Pan.d.ts.map +1 -0
- package/dist/unstable/features/Pan.js +20 -0
- package/dist/unstable/features/Pan.js.map +1 -0
- package/dist/unstable/features/Press.d.ts +13 -0
- package/dist/unstable/features/Press.d.ts.map +1 -0
- package/dist/unstable/features/Press.js +10 -0
- package/dist/unstable/features/Press.js.map +1 -0
- package/dist/unstable/features/Scroll.d.ts +20 -0
- package/dist/unstable/features/Scroll.d.ts.map +1 -0
- package/dist/unstable/features/Scroll.js +34 -0
- package/dist/unstable/features/Scroll.js.map +1 -0
- package/dist/unstable/features/TimelineKeys.d.ts +7 -0
- package/dist/unstable/features/TimelineKeys.d.ts.map +1 -0
- package/dist/unstable/features/TimelineKeys.js +103 -0
- package/dist/unstable/features/TimelineKeys.js.map +1 -0
- package/package.json +4 -3
- package/src/DomProjectionSystem.ts +3 -3
- package/src/FlushGate.ts +11 -9
- package/src/ReorderController.ts +3 -3
- package/src/Report.ts +3 -7
- package/src/Style.ts +4 -1
- package/src/index.ts +1 -1
- package/src/internal/batch-handoff.ts +75 -0
- package/src/internal/gate-environment.ts +21 -0
- package/src/internal/projection.ts +14 -14
- package/src/internal/reorder.ts +4 -4
- package/src/internal/starting-style.ts +5 -204
- package/src/unstable/AppearAnimations.ts +837 -0
- package/src/unstable/BatchMembers.ts +3085 -0
- package/src/unstable/DomValues.ts +53 -0
- package/src/unstable/DragConstraints.ts +107 -0
- package/src/unstable/DragControls.ts +98 -0
- package/src/unstable/DragDefaults.ts +57 -0
- package/src/unstable/DragTrack.ts +959 -0
- package/src/unstable/DragTransition.ts +46 -0
- package/src/unstable/ElementSetup.ts +411 -0
- package/src/unstable/Feature.ts +494 -0
- package/src/unstable/GestureFeatures.ts +38 -0
- package/src/unstable/GestureInfo.ts +85 -0
- package/src/unstable/Imperative.ts +1037 -0
- package/src/unstable/Instant.ts +93 -0
- package/src/unstable/LayoutGroup.ts +36 -0
- package/src/unstable/LayoutMember.ts +319 -0
- package/src/unstable/LiveStyle.ts +497 -0
- package/src/unstable/MemberHold.ts +211 -0
- package/src/unstable/OwnerScope.ts +35 -0
- package/src/unstable/PresenceController.ts +1747 -0
- package/src/unstable/Press.ts +43 -0
- package/src/unstable/ServerInterpolators.ts +39 -0
- package/src/unstable/WardConfig.ts +704 -0
- package/src/unstable/features/All.ts +39 -0
- package/src/unstable/features/Colors.ts +40 -0
- package/src/unstable/features/DomAnimation.ts +19 -0
- package/src/unstable/features/DomMax.ts +14 -0
- package/src/unstable/features/Drag.ts +34 -0
- package/src/unstable/features/Focus.ts +21 -0
- package/src/unstable/features/Hover.ts +21 -0
- package/src/unstable/features/InView.ts +21 -0
- package/src/unstable/features/Input.ts +37 -0
- package/src/unstable/features/Keys.ts +124 -0
- package/src/unstable/features/Layout.ts +75 -0
- package/src/unstable/features/Pan.ts +21 -0
- package/src/unstable/features/Press.ts +21 -0
- package/src/unstable/features/Scroll.ts +35 -0
- package/src/unstable/features/TimelineKeys.ts +115 -0
- package/dist/internal/gate.d.ts +0 -199
- package/dist/internal/gate.d.ts.map +0 -1
- package/dist/internal/gate.js +0 -570
- package/dist/internal/gate.js.map +0 -1
- package/dist/internal/report.d.ts +0 -30
- package/dist/internal/report.d.ts.map +0 -1
- package/dist/internal/report.js +0 -60
- package/dist/internal/report.js.map +0 -1
- package/dist/internal/runner.d.ts +0 -22
- package/dist/internal/runner.d.ts.map +0 -1
- package/dist/internal/runner.js +0 -62
- package/dist/internal/runner.js.map +0 -1
- package/src/internal/gate.ts +0 -706
- package/src/internal/report.ts +0 -69
- package/src/internal/runner.ts +0 -78
|
@@ -18,7 +18,7 @@ import * as Layer from "effect/Layer";
|
|
|
18
18
|
import * as FlushGate from "./FlushGate.js";
|
|
19
19
|
import { PassEnds } from "./internal/pass-ends.js";
|
|
20
20
|
import * as internal from "./internal/projection.js";
|
|
21
|
-
import
|
|
21
|
+
import * as WardicServices from "@wardic/core/unstable/WardicServices";
|
|
22
22
|
import { ProjectionSystem } from "./ProjectionSystem.js";
|
|
23
23
|
/**
|
|
24
24
|
* Build the engine over `sink`, the context's Frame loop and Renderer, in the current Scope: what
|
|
@@ -28,11 +28,11 @@ import { ProjectionSystem } from "./ProjectionSystem.js";
|
|
|
28
28
|
// The context holds the internal `PassEnds` too (internal/pass-ends.ts, #618), the engine's own, so a
|
|
29
29
|
// ProjectionSystem a binding wraps or replaces in its context still has its Reorder controller hear
|
|
30
30
|
// each Measure pass. Its runner forks on Effect's default scheduler, whatever call built the Layer
|
|
31
|
-
// (`
|
|
31
|
+
// (core's `unstable/WardicServices`).
|
|
32
32
|
export const make =
|
|
33
33
|
/*#__PURE__*/ Effect.fnUntraced(function* (sink, options = {}) {
|
|
34
34
|
// Typed without `dispose` and `onPassEnd`: the Scope ends it, and `PassEnds` hands the other out.
|
|
35
|
-
const system = internal.makeProjectionSystem(yield* makeRunner(), sink, options);
|
|
35
|
+
const system = internal.makeProjectionSystem(yield* WardicServices.makeRunner(), sink, options);
|
|
36
36
|
yield* Effect.addFinalizer(() => Effect.sync(system.dispose));
|
|
37
37
|
return Context.make(ProjectionSystem, system).pipe(Context.add(PassEnds, { onPassEnd: system.onPassEnd }));
|
|
38
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomProjectionSystem.js","sourceRoot":"","sources":["../src/DomProjectionSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,8FAA8F;AAC9F,sGAAsG;AACt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C,OAAO,CAAC,CAAC,CAAA;IAC7D,OAAO,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,MAAe,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC,CAAA;AACrH,CAAC,CAAC,CAAA;AAEJ,yHAAyH;AACzH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,OAAO,GAAY,EAAE,EAAmF,EAAE,CAC9H,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA"}
|
package/dist/FlushGate.d.ts
CHANGED
|
@@ -16,16 +16,16 @@ import * as Context from "effect/Context";
|
|
|
16
16
|
import * as Effect from "effect/Effect";
|
|
17
17
|
import * as Layer from "effect/Layer";
|
|
18
18
|
import type * as Scope from "effect/Scope";
|
|
19
|
-
import * as
|
|
19
|
+
import * as CoreFlushGate from "@wardic/core/unstable/FlushGate";
|
|
20
20
|
/** The gate: what a binding registers its elements with and writes their values into. */
|
|
21
|
-
export type Shape =
|
|
21
|
+
export type Shape = CoreFlushGate.Shape;
|
|
22
22
|
/** An element's commit target and hooks, given to `register`. */
|
|
23
|
-
export type Sink =
|
|
23
|
+
export type Sink = CoreFlushGate.Sink;
|
|
24
24
|
/** What a binding hands its gate: the `batch` a frame's Starting-style switches run in. */
|
|
25
|
-
export type Options =
|
|
25
|
+
export type Options = CoreFlushGate.FlushGateOptions;
|
|
26
26
|
/** The services a gate needs from its Environment. */
|
|
27
|
-
export type Services =
|
|
28
|
-
declare const FlushGate_base: Context.ServiceClass<FlushGate, "@wardic/dom/FlushGate", Shape>;
|
|
27
|
+
export type Services = CoreFlushGate.FlushGateServices;
|
|
28
|
+
declare const FlushGate_base: Context.ServiceClass<FlushGate, "@wardic/dom/FlushGate", CoreFlushGate.Shape>;
|
|
29
29
|
/** The Environment's Flush gate. */
|
|
30
30
|
export declare class FlushGate extends FlushGate_base {
|
|
31
31
|
}
|
package/dist/FlushGate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlushGate.d.ts","sourceRoot":"","sources":["../src/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;
|
|
1
|
+
{"version":3,"file":"FlushGate.d.ts","sourceRoot":"","sources":["../src/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAQH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAErC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,aAAa,MAAM,iCAAiC,CAAA;AAIhE,yFAAyF;AACzF,MAAM,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAA;AAEvC,iEAAiE;AACjE,MAAM,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAA;AAErC,2FAA2F;AAC3F,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC,gBAAgB,CAAA;AAEpD,sDAAsD;AACtD,MAAM,MAAM,QAAQ,GAAG,aAAa,CAAC,iBAAiB,CAAA;;AAEtD,oCAAoC;AACpC,qBAAa,SAAU,SAAQ,cAA4D;CAAG;AAE9F;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAC,KAAK,CAOvF,CAAA;AAEJ,wEAAwE;AACxE,eAAO,MAAM,KAAK,YAAa,OAAO,KAAG,KAAK,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAA2C,CAAA;AAO1H;;;;GAIG;AAEH,eAAO,MAAM,KAAK,EAAE,KAQlB,CAAA;AAEF,oFAAoF;AACpF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAiD,CAAA"}
|
package/dist/FlushGate.js
CHANGED
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
// the Frame loop, cancels a pending frame and clears what it held. Its members are plain functions, called
|
|
18
18
|
// per element and per frame. `make` is the scoped constructor, for a binding that wires it itself. `inert`
|
|
19
19
|
// (ADR-0021, decision 9): a value for a binding whose server builds no runtime, or `layerInert` for one
|
|
20
|
-
// whose server runs an Effect program.
|
|
20
|
+
// whose server runs an Effect program. #672: the gate itself is core's `unstable/FlushGate`; this module gives it
|
|
21
|
+
// the DOM's edges (`DOM_GATE`) and its service.
|
|
21
22
|
import * as Context from "effect/Context";
|
|
22
23
|
import * as Effect from "effect/Effect";
|
|
23
24
|
import * as Layer from "effect/Layer";
|
|
24
25
|
import * as Atom from "effect/reactivity/Atom";
|
|
25
|
-
import * as
|
|
26
|
-
import {
|
|
26
|
+
import * as CoreFlushGate from "@wardic/core/unstable/FlushGate";
|
|
27
|
+
import { DOM_GATE } from "./internal/gate-environment.js";
|
|
28
|
+
import * as WardicServices from "@wardic/core/unstable/WardicServices";
|
|
27
29
|
/** The Environment's Flush gate. */
|
|
28
30
|
export class FlushGate extends Context.Service()("@wardic/dom/FlushGate") {
|
|
29
31
|
}
|
|
@@ -33,8 +35,8 @@ export class FlushGate extends Context.Service()("@wardic/dom/FlushGate") {
|
|
|
33
35
|
*/
|
|
34
36
|
export const make = Effect.fnUntraced(function* (options) {
|
|
35
37
|
// The gate itself, typed without `dispose`: the Scope ends it. Its runner forks on Effect's
|
|
36
|
-
// default scheduler, whatever call built the Layer (`
|
|
37
|
-
const gate =
|
|
38
|
+
// default scheduler, whatever call built the Layer (core's `unstable/WardicServices`).
|
|
39
|
+
const gate = CoreFlushGate.makeFlushGate(yield* WardicServices.makeRunner(), options, DOM_GATE);
|
|
38
40
|
yield* Effect.addFinalizer(() => Effect.sync(gate.dispose));
|
|
39
41
|
return gate;
|
|
40
42
|
});
|
package/dist/FlushGate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlushGate.js","sourceRoot":"","sources":["../src/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,wGAAwG;AACxG,
|
|
1
|
+
{"version":3,"file":"FlushGate.js","sourceRoot":"","sources":["../src/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,wGAAwG;AACxG,kHAAkH;AAClH,gDAAgD;AAChD,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAE9C,OAAO,KAAK,aAAa,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AACzD,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAA;AActE,oCAAoC;AACpC,MAAM,OAAO,SAAU,SAAQ,OAAO,CAAC,OAAO,EAAoB,CAAC,uBAAuB,CAAC;CAAG;AAE9F;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAA8E,MAAM,CAAC,UAAU,CAC9G,QAAQ,CAAC,EAAE,OAAgB;IACzB,4FAA4F;IAC5F,uFAAuF;IACvF,MAAM,IAAI,GAAG,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,UAAU,EAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IACzG,KAAK,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3D,OAAO,IAAI,CAAA;AACb,CAAC,CAAC,CAAA;AAEJ,wEAAwE;AACxE,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,OAAgB,EAA2C,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;AAE1H,MAAM,IAAI,GAAG,GAAS,EAAE,GAAE,CAAC,CAAA;AAE3B,8GAA8G;AAC9G,MAAM,QAAQ,GAAuB,aAAa,CAAC,IAAI,CAAC,IAAI,CAAU,SAAS,CAAC,CAAA;AAEhF;;;;GAIG;AACH,wBAAwB;AACxB,MAAM,CAAC,MAAM,KAAK,GAAU,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACtD,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI;IACpB,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ;IACvB,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA;AAEF,oFAAoF;AACpF,MAAM,CAAC,MAAM,UAAU,GAA2B,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA"}
|
|
@@ -28,7 +28,7 @@ import * as Effect from "effect/Effect";
|
|
|
28
28
|
import { constVoid } from "effect/Function";
|
|
29
29
|
import { PassEnds } from "./internal/pass-ends.js";
|
|
30
30
|
import * as internal from "./internal/reorder.js";
|
|
31
|
-
import
|
|
31
|
+
import * as WardicServices from "@wardic/core/unstable/WardicServices";
|
|
32
32
|
import * as ProjectionSystem from "./ProjectionSystem.js";
|
|
33
33
|
export { DEFAULT_REORDER_INSTRUCTIONS as DEFAULT_INSTRUCTIONS, REORDER_GROUP_STYLE as GROUP_STYLE, } from "./internal/reorder.js";
|
|
34
34
|
/**
|
|
@@ -39,7 +39,7 @@ export const make = Effect.fnUntraced(function* (options) {
|
|
|
39
39
|
const projection = yield* ProjectionSystem.ProjectionSystem;
|
|
40
40
|
const passEnds = yield* PassEnds;
|
|
41
41
|
const announcer = yield* Announcer.Announcer;
|
|
42
|
-
const controller = internal.makeReorderController({ runtime: yield* makeRunner(), layOut: () => projection.notify(), announce: announcer.announce, onLaidOut: passEnds.onPassEnd }, options);
|
|
42
|
+
const controller = internal.makeReorderController({ runtime: yield* WardicServices.makeRunner(), layOut: () => projection.notify(), announce: announcer.announce, onLaidOut: passEnds.onPassEnd }, options);
|
|
43
43
|
yield* Effect.addFinalizer(() => Effect.sync(controller.dispose));
|
|
44
44
|
return controller;
|
|
45
45
|
});
|
|
@@ -55,7 +55,7 @@ export const makePlaced = Effect.fnUntraced(function* (options) {
|
|
|
55
55
|
// What hears the binding's placing: the controller's own, once, until it's disposed.
|
|
56
56
|
let laidOut = constVoid;
|
|
57
57
|
const controller = internal.makeReorderController({
|
|
58
|
-
runtime: yield* makeRunner(),
|
|
58
|
+
runtime: yield* WardicServices.makeRunner(),
|
|
59
59
|
// The binding places its items on a change of `values` itself.
|
|
60
60
|
layOut: constVoid,
|
|
61
61
|
announce: announcer.announce,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReorderController.js","sourceRoot":"","sources":["../src/ReorderController.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,yGAAyG;AACzG,4GAA4G;AAC5G,yGAAyG;AACzG,yGAAyG;AACzG,6GAA6G;AAC7G,0DAA0D;AAC1D,6FAA6F;AAC7F,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AA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CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
*
|
|
9
9
|
* yield* Report.failure("wardic: an animation failed", cause)
|
|
10
10
|
*/
|
|
11
|
-
export {
|
|
11
|
+
export { failure, debugKept, debugOf, type DebugLog } from "@wardic/core/unstable/Report";
|
|
12
12
|
//# sourceMappingURL=Report.d.ts.map
|
package/dist/Report.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../src/Report.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../src/Report.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAA"}
|
package/dist/Report.js
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* yield* Report.failure("wardic: an animation failed", cause)
|
|
10
10
|
*/
|
|
11
|
-
// `@wardic/dom/Report` (#132, ADR-0041): ADR-0030, decision 4.
|
|
12
|
-
|
|
11
|
+
// `@wardic/dom/Report` (#132, ADR-0041): ADR-0030, decision 4. Core's since #672 (ADR-0030's
|
|
12
|
+
// *Amendment (#672)*): the spine reports from core once it's lifted there; this stays its Tier 2 face.
|
|
13
|
+
export { failure, debugKept, debugOf } from "@wardic/core/unstable/Report";
|
|
13
14
|
//# sourceMappingURL=Report.js.map
|
package/dist/Report.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../src/Report.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH
|
|
1
|
+
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../src/Report.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,6FAA6F;AAC7F,uGAAuG;AACvG,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAiB,MAAM,8BAA8B,CAAA"}
|
package/dist/Style.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* const start = Style.resolveInitial({ initial: { opacity: 0, y: 8 }, animate: { opacity: 1, y: 0 } })
|
|
11
11
|
* Style.starting(undefined, start) // { style: { transform: "translateY(8px)", opacity: 0 }, attrs: {} }
|
|
12
12
|
*/
|
|
13
|
-
export {
|
|
13
|
+
export { resolveInitial, type InitialConfig, keyframesOf, splitValues, type SplitValues, type StopAt, type Stops, toValues, valuesAt, } from "@wardic/core/unstable/Stops";
|
|
14
|
+
export { startingStyle as starting, type StyleInput as Input, type StyleRecord as Style, over, without, heldTouches, } from "./internal/starting-style.ts";
|
|
14
15
|
export { dragDefaultStyle as dragDefaults, type DragDefaultStyle as DragDefaults, DRAG_DEFAULT_ATTRIBUTES, reorderTouchAction, } from "./internal/drag-defaults.ts";
|
|
15
16
|
//# sourceMappingURL=Style.d.ts.map
|
package/dist/Style.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Style.d.ts","sourceRoot":"","sources":["../src/Style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"Style.d.ts","sourceRoot":"","sources":["../src/Style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EACL,cAAc,EACd,KAAK,aAAa,EAClB,WAAW,EACX,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,KAAK,EACV,QAAQ,EACR,QAAQ,GACT,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,aAAa,IAAI,QAAQ,EACzB,KAAK,UAAU,IAAI,KAAK,EACxB,KAAK,WAAW,IAAI,KAAK,EACzB,IAAI,EACJ,OAAO,EACP,WAAW,GACZ,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,gBAAgB,IAAI,YAAY,EAChC,KAAK,gBAAgB,IAAI,YAAY,EACrC,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,6BAA6B,CAAA"}
|
package/dist/Style.js
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
*/
|
|
13
13
|
// `@wardic/dom/Style` (#132, ADR-0041): the **Starting style**, the merges of an app's style with
|
|
14
14
|
// Wardic's, and a drag element's defaults (ADR-0019, ADR-0021, ADR-0034).
|
|
15
|
-
|
|
15
|
+
// Its starting values (`toValues`, `resolveInitial`, the Keyframes' stops) are core's `unstable/Stops` since #672.
|
|
16
|
+
export { resolveInitial, keyframesOf, splitValues, toValues, valuesAt, } from "@wardic/core/unstable/Stops";
|
|
17
|
+
export { startingStyle as starting, over, without, heldTouches, } from "./internal/starting-style.js";
|
|
16
18
|
export { dragDefaultStyle as dragDefaults, DRAG_DEFAULT_ATTRIBUTES, reorderTouchAction, } from "./internal/drag-defaults.js";
|
|
17
19
|
//# sourceMappingURL=Style.js.map
|
package/dist/Style.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Style.js","sourceRoot":"","sources":["../src/Style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,kGAAkG;AAClG,0EAA0E;AAC1E,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"Style.js","sourceRoot":"","sources":["../src/Style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,kGAAkG;AAClG,0EAA0E;AAC1E,mHAAmH;AACnH,OAAO,EACL,cAAc,EAEd,WAAW,EACX,WAAW,EAIX,QAAQ,EACR,QAAQ,GACT,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,aAAa,IAAI,QAAQ,EAGzB,IAAI,EACJ,OAAO,EACP,WAAW,GACZ,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,gBAAgB,IAAI,YAAY,EAEhC,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,6BAA6B,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ import type * as RefreshFrameSource from "@wardic/core/RefreshFrameSource";
|
|
|
28
28
|
import type * as Renderer from "@wardic/core/Renderer";
|
|
29
29
|
import * as Layer from "effect/Layer";
|
|
30
30
|
import * as AtomRegistry from "effect/reactivity/AtomRegistry";
|
|
31
|
-
export declare const VERSION = "1.1.
|
|
31
|
+
export declare const VERSION = "1.1.2";
|
|
32
32
|
export * as DomBatch from "./DomBatch.ts";
|
|
33
33
|
export * as DomClock from "./DomClock.ts";
|
|
34
34
|
export * as DomInput from "./DomInput.ts";
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import * as DomInterpolators from "./DomInterpolators.js";
|
|
|
8
8
|
import * as DomPositionalKeys from "./DomPositionalKeys.js";
|
|
9
9
|
import * as DomProbe from "./DomProbe.js";
|
|
10
10
|
import * as DomRenderer from "./DomRenderer.js";
|
|
11
|
-
export const VERSION = "1.1.
|
|
11
|
+
export const VERSION = "1.1.2";
|
|
12
12
|
export * as DomBatch from "./DomBatch.js";
|
|
13
13
|
export * as DomClock from "./DomClock.js";
|
|
14
14
|
export * as DomInput from "./DomInput.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as Option from "effect/Option";
|
|
2
|
+
import type * as WardicServices from "@wardic/core/unstable/WardicServices";
|
|
3
|
+
/** A Batch's members running their Appear animation, as its Handoff reads them. */
|
|
4
|
+
export interface HandoffMembers {
|
|
5
|
+
/** Their slots: each one's taken over, or let go, at the change's first step. */
|
|
6
|
+
readonly appearing: ReadonlySet<number>;
|
|
7
|
+
/** A slot's element, where it has one. */
|
|
8
|
+
readonly elementOf: (slot: number) => Element | undefined;
|
|
9
|
+
/** In development, a member's own transitions' key, which its animation's rule is checked against (Q9). */
|
|
10
|
+
readonly keyOf: ((slot: number) => Option.Option<string>) | undefined;
|
|
11
|
+
/** Where a rule another set of transitions named is noted, at Debug. */
|
|
12
|
+
readonly runtime: WardicServices.Runner<WardicServices.WardicServices>;
|
|
13
|
+
/** Each member let go of its animation, once the step's starts are done: none waits for a step then. */
|
|
14
|
+
readonly release: () => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The Handoff's `startAt`, every change's until the first one's first step: a member running its Appear
|
|
18
|
+
* animation started where that has got to; any other, `NaN`, from its start. At the first member's first step, in the frame that draws it, every such
|
|
19
|
+
* member's time is read with the page's animations, all before any is let go: a release between two reads
|
|
20
|
+
* would have the second work the page's style out again. They're let go once the step's starts are done,
|
|
21
|
+
* in its task, so no paint falls between. In development, each rule is checked once against the member's
|
|
22
|
+
* own transitions (ADR-0044 decision 6): another is noted, and taken over all the same.
|
|
23
|
+
*/
|
|
24
|
+
export declare const startAtOf: (members: HandoffMembers) => ((slot: number) => number);
|
|
25
|
+
//# sourceMappingURL=batch-handoff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-handoff.d.ts","sourceRoot":"","sources":["../../src/internal/batch-handoff.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAGvC,OAAO,KAAK,KAAK,cAAc,MAAM,sCAAsC,CAAA;AAE3E,mFAAmF;AACnF,MAAM,WAAW,cAAc;IAC7B,iFAAiF;IACjF,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACvC,0CAA0C;IAC1C,QAAQ,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAAG,SAAS,CAAA;IACzD,2GAA2G;IAC3G,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAA;IACrE,wEAAwE;IACxE,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;IACtE,wGAAwG;IACxG,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAC7B;AAKD;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,YAAa,cAAc,KAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CA+B5E,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Batch's Handoff (#706, ADR-0044 *Amendment (#706)*): its members' Appear animations read where they've
|
|
3
|
+
* got to, and let go, at the first step of the first change after they arrive. Loaded with `import()` the
|
|
4
|
+
* first time a hydrating Batch has a member running one (Q11), so a Batch that never takes one over ships
|
|
5
|
+
* none of it. Every DOM binding's Batch loads it.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
// #672 (PR 5): solid's `batch-handoff.ts`, moved to dom's internal modules with the Batch, its one importer,
|
|
10
|
+
// which loads it at the page's first Handoff.
|
|
11
|
+
import * as Appear from "../Appear.js";
|
|
12
|
+
import * as Effect from "effect/Effect";
|
|
13
|
+
import * as Iter from "effect/Iterable";
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import * as Predicate from "effect/Predicate";
|
|
16
|
+
import * as AppearAnimations from "../unstable/AppearAnimations.js";
|
|
17
|
+
/** A member's rule sampled from other transitions than the client's (ADR-0044 decision 6): noted, and taken over all the same. */
|
|
18
|
+
const MISMATCH = /*#__PURE__*/ Effect.logDebug("wardic.hydration: a Batch member's Appear animation was sampled from other transitions than the client's; it goes on from the same time");
|
|
19
|
+
/**
|
|
20
|
+
* The Handoff's `startAt`, every change's until the first one's first step: a member running its Appear
|
|
21
|
+
* animation started where that has got to; any other, `NaN`, from its start. At the first member's first step, in the frame that draws it, every such
|
|
22
|
+
* member's time is read with the page's animations, all before any is let go: a release between two reads
|
|
23
|
+
* would have the second work the page's style out again. They're let go once the step's starts are done,
|
|
24
|
+
* in its task, so no paint falls between. In development, each rule is checked once against the member's
|
|
25
|
+
* own transitions (ADR-0044 decision 6): another is noted, and taken over all the same.
|
|
26
|
+
*/
|
|
27
|
+
export const startAtOf = (members) => {
|
|
28
|
+
let times = undefined;
|
|
29
|
+
/** Every such member's time, read at once. */
|
|
30
|
+
const timesNow = () => {
|
|
31
|
+
const read = new Map();
|
|
32
|
+
const checked = new Set();
|
|
33
|
+
const keyOf = members.keyOf;
|
|
34
|
+
// Once a Handoff, over its members (#665's per-member site): reads alone.
|
|
35
|
+
Iter.forEach(members.appearing, (slot) => {
|
|
36
|
+
const el = members.elementOf(slot);
|
|
37
|
+
if (Predicate.isUndefined(el))
|
|
38
|
+
return;
|
|
39
|
+
const animation = AppearAnimations.pageAnimationsOf(el).get(el);
|
|
40
|
+
if (Predicate.isUndefined(animation))
|
|
41
|
+
return;
|
|
42
|
+
const name = animation.animationName;
|
|
43
|
+
if (Predicate.isNotUndefined(keyOf) && !checked.has(name)) {
|
|
44
|
+
checked.add(name);
|
|
45
|
+
if (!Option.exists(keyOf(slot), (key) => Appear.matchesBatch(animation, key)))
|
|
46
|
+
members.runtime.runFork(MISMATCH);
|
|
47
|
+
}
|
|
48
|
+
read.set(slot, Appear.elapsedOf(animation));
|
|
49
|
+
});
|
|
50
|
+
// Every one let go once this step's starts are done, a member it didn't move among them.
|
|
51
|
+
queueMicrotask(members.release);
|
|
52
|
+
return read;
|
|
53
|
+
};
|
|
54
|
+
// Per member at the change's first step: statements.
|
|
55
|
+
return (slot) => {
|
|
56
|
+
if (Predicate.isUndefined(times))
|
|
57
|
+
times = timesNow();
|
|
58
|
+
const time = times.get(slot);
|
|
59
|
+
if (Predicate.isUndefined(time))
|
|
60
|
+
return Number.NaN;
|
|
61
|
+
return time;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=batch-handoff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-handoff.js","sourceRoot":"","sources":["../../src/internal/batch-handoff.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,6GAA6G;AAC7G,8CAA8C;AAC9C,OAAO,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AAC,GAAG,CAAC,IAAI,CAAC,CAAA;gBACjB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;oBAAE,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;YAClH,CAAC;YACD,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAA;QAC7C,CAAC,CAAC,CAAA;QACF,yFAAyF;QACzF,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAC/B,OAAO,IAAI,CAAA;IACb,CAAC,CAAA;IACD,qDAAqD;IACrD,OAAO,CAAC,IAAI,EAAE,EAAE;QACd,IAAI,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC;YAAE,KAAK,GAAG,QAAQ,EAAE,CAAA;QACpD,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAC5B,IAAI,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC;YAAE,OAAO,MAAM,CAAC,GAAG,CAAA;QAClD,OAAO,IAAI,CAAA;IACb,CAAC,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gate-environment.d.ts","sourceRoot":"","sources":["../../src/internal/gate-environment.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAYjE,8EAA8E;AAC9E,eAAO,MAAM,QAAQ,EAAE,SAAS,CAAC,eAA8D,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DOM's edges of the Flush gate (#672): an element's own inline value for a patch key, and the
|
|
3
|
+
* key the DOM's renderer reserves for an element's Transform template. `FlushGate.make` gives them to
|
|
4
|
+
* the gate it builds.
|
|
5
|
+
*/
|
|
6
|
+
// #672 (PR2-Q1): out of `gate.ts`, so the gate reads no DOM and moves to core as it is.
|
|
7
|
+
import * as Predicate from "effect/Predicate";
|
|
8
|
+
import { TEMPLATE_KEY } from "./renderer.js";
|
|
9
|
+
import { dashCase } from "./svg.js";
|
|
10
|
+
/** The element's inline value for a patch key, before the gate writes it (`""` for none, or a target with no style). */
|
|
11
|
+
const valueBeforeOf = (target, key) => {
|
|
12
|
+
if (Predicate.isNullish(target))
|
|
13
|
+
return "";
|
|
14
|
+
const style = target.style;
|
|
15
|
+
if (Predicate.isUndefined(style))
|
|
16
|
+
return "";
|
|
17
|
+
return style.getPropertyValue(dashCase(key));
|
|
18
|
+
};
|
|
19
|
+
/** The DOM's: its inline style, and its renderer's Transform template key. */
|
|
20
|
+
export const DOM_GATE = { valueBeforeOf, templateKey: TEMPLATE_KEY };
|
|
21
|
+
//# sourceMappingURL=gate-environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gate-environment.js","sourceRoot":"","sources":["../../src/internal/gate-environment.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wFAAwF;AACxF,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAA;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAEnC,wHAAwH;AACxH,MAAM,aAAa,GAAG,CAAC,MAAe,EAAE,GAAW,EAAU,EAAE;IAC7D,IAAI,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC;QAAE,OAAO,EAAE,CAAA;IAC1C,MAAM,KAAK,GAAI,MAAmD,CAAC,KAAK,CAAA;IACxE,IAAI,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAA;IAC3C,OAAO,KAAK,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAA;AAC9C,CAAC,CAAA;AAED,8EAA8E;AAC9E,MAAM,CAAC,MAAM,QAAQ,GAA8B,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -95,7 +95,7 @@ import { holdTransform, isHoldable, isScrollRoot, measureDocumentScroll, measure
|
|
|
95
95
|
import { DEFAULT_DRAG_TRANSITION, DEFAULT_LAYOUT_TRANSITION } from "./projection-defaults.js";
|
|
96
96
|
import { counted, watchPage } from "./content-watch.js";
|
|
97
97
|
import { pending as appearRuns } from "./appear-slot.js";
|
|
98
|
-
import
|
|
98
|
+
import * as Report from "@wardic/core/unstable/Report";
|
|
99
99
|
import { blendRadius, borderRadiusCorrector, isUnitScale, SCALE_CORRECTORS, scaleRadius, ZERO_RADIUS } from "./scale-correction.js";
|
|
100
100
|
import { dashCase } from "./svg.js";
|
|
101
101
|
/** How many pass -> flush rounds one Measure pass runs before the rest waits for the next task (ADR-0018). */
|
|
@@ -680,7 +680,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
680
680
|
return { position: 0, elapsed: 0, spring: Spring.init({}), timing, started: false, landed: false, curve: curveOf(node) };
|
|
681
681
|
}
|
|
682
682
|
catch (defect) {
|
|
683
|
-
runtime.runFork(
|
|
683
|
+
runtime.runFork(Report.failure("wardic.projection: layout transition rejected", Cause.die(defect)));
|
|
684
684
|
return landedFlight();
|
|
685
685
|
}
|
|
686
686
|
},
|
|
@@ -721,7 +721,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
721
721
|
return releaseFrom(offset, velocity, transition);
|
|
722
722
|
}
|
|
723
723
|
catch (defect) {
|
|
724
|
-
runtime.runFork(
|
|
724
|
+
runtime.runFork(Report.failure("wardic.projection: drag transition rejected", Cause.die(defect)));
|
|
725
725
|
return releaseFrom(ZERO_POINT, ZERO_POINT, DEFAULT_DRAG_TRANSITION);
|
|
726
726
|
}
|
|
727
727
|
};
|
|
@@ -855,7 +855,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
855
855
|
* the logger is at Debug (observability convention: `wardic.*` + annotated debug
|
|
856
856
|
* logs on lifecycle; the per-frame derive/step hot path stays SILENT).
|
|
857
857
|
*/
|
|
858
|
-
const debug = debugOf(runtime, "wardic.projection");
|
|
858
|
+
const debug = Report.debugOf(runtime, "wardic.projection");
|
|
859
859
|
/**
|
|
860
860
|
* Run `expire` at the end of the current task — the next microtask checkpoint,
|
|
861
861
|
* before any timer, frame or later task — on a traced, interruptible fiber
|
|
@@ -868,7 +868,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
868
868
|
* `expire` returns the outcome attributes, annotated onto `span` before it ends.
|
|
869
869
|
*/
|
|
870
870
|
const endOfTask = (span, attributes, expire) => {
|
|
871
|
-
FiberSet.addUnsafe(taskFibers, runtime.runFork(Microtask.next.pipe(Effect.map(expire), Effect.flatMap((outcome) => Effect.annotateCurrentSpan(outcome)), Effect.tapCause((cause) =>
|
|
871
|
+
FiberSet.addUnsafe(taskFibers, runtime.runFork(Microtask.next.pipe(Effect.map(expire), Effect.flatMap((outcome) => Effect.annotateCurrentSpan(outcome)), Effect.tapCause((cause) => Report.failure(`wardic.projection: ${span} failed`, cause)),
|
|
872
872
|
// The app's to give, with no call-site stack (#746; ADR-0040, decision 2).
|
|
873
873
|
Spans.withSpan(span, { attributes }))));
|
|
874
874
|
};
|
|
@@ -2718,7 +2718,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
2718
2718
|
hook();
|
|
2719
2719
|
}
|
|
2720
2720
|
catch (defect) {
|
|
2721
|
-
runtime.runFork(
|
|
2721
|
+
runtime.runFork(Report.failure(`wardic.projection: an ${name} failed`, Cause.die(defect)));
|
|
2722
2722
|
}
|
|
2723
2723
|
};
|
|
2724
2724
|
/**
|
|
@@ -3290,7 +3290,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
3290
3290
|
listener();
|
|
3291
3291
|
}
|
|
3292
3292
|
catch (defect) {
|
|
3293
|
-
runtime.runFork(
|
|
3293
|
+
runtime.runFork(Report.failure("wardic.projection: pass-end listener failed", Cause.die(defect)));
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
3296
|
// This task's Declared layout changes settle once the flights this pass started have ended (#191).
|
|
@@ -3396,7 +3396,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
3396
3396
|
}
|
|
3397
3397
|
passQueued = true;
|
|
3398
3398
|
passAfterTick = after;
|
|
3399
|
-
FiberSet.addUnsafe(taskFibers, runtime.runFork(Microtask.next.pipe(Effect.andThen(measurePass), Effect.tapCause((cause) =>
|
|
3399
|
+
FiberSet.addUnsafe(taskFibers, runtime.runFork(Microtask.next.pipe(Effect.andThen(measurePass), Effect.tapCause((cause) => Report.failure("wardic.projection: measure pass failed", cause)))));
|
|
3400
3400
|
};
|
|
3401
3401
|
/** Call an app's `callback` (#191): one that throws is reported, and the engine goes on. */
|
|
3402
3402
|
const callApp = (callback, name) => {
|
|
@@ -3404,7 +3404,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
3404
3404
|
callback();
|
|
3405
3405
|
}
|
|
3406
3406
|
catch (defect) {
|
|
3407
|
-
runtime.runFork(
|
|
3407
|
+
runtime.runFork(Report.failure(`wardic.projection: ${name} failed`, Cause.die(defect)));
|
|
3408
3408
|
}
|
|
3409
3409
|
};
|
|
3410
3410
|
/** The app's callback, if it gave one: called as {@link callApp} calls it. */
|
|
@@ -3508,7 +3508,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
3508
3508
|
return;
|
|
3509
3509
|
const measure = Bool.match(passQueued, { onTrue: () => measurePass, onFalse: () => declaredMeasure });
|
|
3510
3510
|
const due = passQueued;
|
|
3511
|
-
runtime.runSync(measure.pipe(Effect.catchCause((cause) =>
|
|
3511
|
+
runtime.runSync(measure.pipe(Effect.catchCause((cause) => Report.failure("wardic.projection: animateLayout's measure failed", cause))));
|
|
3512
3512
|
// The pass that ran was due at the end of the task: its queued fiber runs that pass now, after the callback.
|
|
3513
3513
|
if (due)
|
|
3514
3514
|
passQueued = true;
|
|
@@ -4023,7 +4023,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
4023
4023
|
const runBlockedPass = () => {
|
|
4024
4024
|
if (!resizeBlocked || inPass || disposed)
|
|
4025
4025
|
return;
|
|
4026
|
-
FiberSet.addUnsafe(taskFibers, runtime.runFork(measurePass.pipe(Effect.tapCause((cause) =>
|
|
4026
|
+
FiberSet.addUnsafe(taskFibers, runtime.runFork(measurePass.pipe(Effect.tapCause((cause) => Report.failure("wardic.projection: blocked pass failed", cause)))));
|
|
4027
4027
|
};
|
|
4028
4028
|
/** A flight from where its origin was seen at the page's scroll `scroll`, until its first frame (#480). */
|
|
4029
4029
|
const seenFrom = (node, scroll) => {
|
|
@@ -4159,12 +4159,12 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
4159
4159
|
* The coordinator's end, told apart (ADR-0027, decision 7): a settle, or an
|
|
4160
4160
|
* interruption (a stop outside its step, the system's dispose), is nothing; anything
|
|
4161
4161
|
* else (a step that threw, the Frame loop's own failure) is logged and reported
|
|
4162
|
-
* (`
|
|
4162
|
+
* (`Report.failure`, ADR-0030 decision 4). Its nodes then wait where the last step left
|
|
4163
4163
|
* them, and the next trigger starts a fresh run.
|
|
4164
4164
|
*/
|
|
4165
4165
|
const coordinatorEnded = (exit) => Exit.match(exit, {
|
|
4166
4166
|
onSuccess: () => Effect.void,
|
|
4167
|
-
onFailure: (cause) =>
|
|
4167
|
+
onFailure: (cause) => Report.failure("wardic.projection: coordinator failed", cause).pipe(Effect.annotateLogs({ active: active.size })),
|
|
4168
4168
|
});
|
|
4169
4169
|
/** Whether the coordinator's run is on the Frame loop: its fiber is still in the handle. */
|
|
4170
4170
|
const coordinating = () => Match.value(coordinator.state).pipe(Match.tag("Open", (state) => Predicate.isNotUndefined(state.fiber)), Match.tag("Closed", () => false), Match.exhaustive);
|
|
@@ -4741,7 +4741,7 @@ export const makeProjectionSystem = (runtime, sink, options = {}) => {
|
|
|
4741
4741
|
return;
|
|
4742
4742
|
refreshing = true;
|
|
4743
4743
|
refreshResized = resized;
|
|
4744
|
-
runtime.runSync(measurePass.pipe(Effect.catchCause((cause) =>
|
|
4744
|
+
runtime.runSync(measurePass.pipe(Effect.catchCause((cause) => Report.failure("wardic.projection: refresh failed", cause))));
|
|
4745
4745
|
};
|
|
4746
4746
|
/**
|
|
4747
4747
|
* Whether the engine has already measured `entry`'s size (#21, ADR-0018 *Amendment (#21)*): its
|