@glissade/core 0.11.0 → 0.12.0-pre.0
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/clips.d.ts +114 -0
- package/dist/clips.js +208 -0
- package/dist/cmap.js +112 -0
- package/dist/font-ingest.d.ts +154 -0
- package/dist/font-ingest.js +282 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.js +3 -112
- package/dist/sidecar.d.ts +5 -470
- package/dist/sidecar.js +2 -967
- package/dist/studioHost.d.ts +4 -1
- package/dist/studioHost.js +2 -1
- package/dist/targetRef.d.ts +33 -0
- package/dist/targetRef.js +992 -0
- package/dist/timeline.d.ts +138 -0
- package/dist/track.d.ts +329 -0
- package/package.json +12 -1
package/dist/studioHost.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as EaseSpec, T as ValueTypeId, t as Key } from "./track.js";
|
|
2
|
+
import { a as isEditableNodeId, s as targetNodeId } from "./targetRef.js";
|
|
3
|
+
import { l as Timeline } from "./timeline.js";
|
|
4
|
+
import { a as SidecarOrphan, r as SidecarDoc } from "./sidecar.js";
|
|
2
5
|
|
|
3
6
|
//#region src/timelinePatch.d.ts
|
|
4
7
|
|
package/dist/studioHost.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as targetNodeId, r as isEditableNodeId } from "./targetRef.js";
|
|
2
|
+
import { a as hashKeys, l as normalizeEditedKeys, n as assignKeyIds } from "./sidecar.js";
|
|
2
3
|
//#region src/timelinePatch.ts
|
|
3
4
|
/** Unambiguous composite map key (no control-char separators). */
|
|
4
5
|
function refKey(timelineId, name) {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/targetRef.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Target references (DESIGN.md §2.6): the builder accepts either a canonical
|
|
4
|
+
* target string ('circle/opacity') or a property signal that carries its own
|
|
5
|
+
* path — attached by the scene package at node construction via TARGET_PATH.
|
|
6
|
+
*/
|
|
7
|
+
declare const TARGET_PATH: unique symbol;
|
|
8
|
+
interface TargetCarrier {
|
|
9
|
+
[TARGET_PATH]?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A target string, or any object carrying TARGET_PATH (property signals of
|
|
13
|
+
* id-bearing nodes). Typed as `object` because signals are callables and the
|
|
14
|
+
* symbol prop is attached dynamically; resolution is checked at build time.
|
|
15
|
+
*/
|
|
16
|
+
type TweenTarget = string | object;
|
|
17
|
+
declare class UnresolvableTargetError extends Error {
|
|
18
|
+
constructor(message?: string);
|
|
19
|
+
}
|
|
20
|
+
/** The node-id portion of a canonical `nodeId/prop.path` target. */
|
|
21
|
+
declare function targetNodeId(target: string): string;
|
|
22
|
+
/**
|
|
23
|
+
* The single editable-host rule (§6.4 sub-decision, the 0.9 locked predicate):
|
|
24
|
+
* only a node with an EXPLICIT, non-structural id can host an editable or
|
|
25
|
+
* editor-created track. Structural fallback ids (`~Type.ordinal`, §6.5) are
|
|
26
|
+
* inspection-only and reorder-fragile, so they are never editable nor valid
|
|
27
|
+
* track targets. Lives here (the addressing module) so the builder guard, the
|
|
28
|
+
* scene, and the studio host all share ONE definition.
|
|
29
|
+
*/
|
|
30
|
+
declare function isEditableNodeId(id: string | undefined | null): id is string;
|
|
31
|
+
declare function resolveTweenTarget(target: TweenTarget): string;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { isEditableNodeId as a, UnresolvableTargetError as i, TargetCarrier as n, resolveTweenTarget as o, TweenTarget as r, targetNodeId as s, TARGET_PATH as t };
|